(self.webpackChunkextract_css=self.webpackChunkextract_css||[]).push([[52730],{326511:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0;var S;(function(v){v.MAIN_CONTENT=1,v.CONTENT_COLLECTION=1,v.PAGE=2,v.SPLASH_PAGE=3,v.CONTENT_ITEM=50,v.NOT_FOUND=100,v.ERROR=101,v.SEARCH=102,v.LOCK_SCREEN=103,v.POPUP_OVERLAY=104,v.PROTECTED_CONTENT=105,v.MEMBER_AREA_ACCESS_DENIED=106,v.PAYWALL=107,v.SHOW_CART=200,v.CHECKOUT=201,v.ORDER_CONFIRMED=202,v.DONATE=203,v.CONTRIBUTION_CONFIRMED=204,v.COMMERCE_CART_V2=205,v.SUBSCRIPTION_CONFIRMED=206,v.ORDER_RECEIVED=207,v.MEMBERSHIP_CONFIRMED=208,v.REVIEWS_REQUEST=209,v.DIGITAL_PRODUCT_COMPOSER_PREVIEW=210,v.ORDER_STATUS=211,v.NEWSLETTER_UNSUBSCRIBE=300,v.COMMERCE_EMAIL_PREVIEW=301,v.SSO_PAGE=400})(S||(S={}));var B=S;x.default=B,se.exports=x.default},806516:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0;var S;(function(v){v.EXPIRED=1,v.PASTDUE=2,v.TRIAL=3,v.BETA=4,v.REMOVED=5,v.INTERNAL=6,v.COMPED=7,v.PAID=8,v.V5_LINKED=11,v.ACTIVE_PARKING_PAGE=12,v.RESOLD=13,v.RESOLD_GRACE_PERIOD=14,v.ENTERPRISE=15})(S||(S={}));var B=S;x.default=B,se.exports=x.default},192628:function(se,x,S){"use strict";var B=S(870752),v={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},k={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},G={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},L={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},M={};M[B.ForwardRef]=G,M[B.Memo]=L;function C(s){return B.isMemo(s)?L:M[s.$$typeof]||v}var O=Object.defineProperty,D=Object.getOwnPropertyNames,N=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,w=Object.getPrototypeOf,b=Object.prototype;function u(s,c,R){if(typeof c!="string"){if(b){var g=w(c);g&&g!==b&&u(s,g,R)}var f=D(c);N&&(f=f.concat(N(c)));for(var d=C(s),i=C(c),a=0;a<f.length;++a){var o=f[a];if(!k[o]&&!(R&&R[o])&&!(i&&i[o])&&!(d&&d[o])){var l=m(c,o);try{O(s,o,l)}catch(y){}}}}return s}se.exports=u},139e3:function(se){"use strict";/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var x=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;function v(G){if(G==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(G)}function k(){try{if(!Object.assign)return!1;var G=new String("abc");if(G[5]="de",Object.getOwnPropertyNames(G)[0]==="5")return!1;for(var L={},M=0;M<10;M++)L["_"+String.fromCharCode(M)]=M;var C=Object.getOwnPropertyNames(L).map(function(D){return L[D]});if(C.join("")!=="0123456789")return!1;var O={};return"abcdefghijklmnopqrst".split("").forEach(function(D){O[D]=D}),Object.keys(Object.assign({},O)).join("")==="abcdefghijklmnopqrst"}catch(D){return!1}}se.exports=k()?Object.assign:function(G,L){for(var M,C=v(G),O,D=1;D<arguments.length;D++){M=Object(arguments[D]);for(var N in M)S.call(M,N)&&(C[N]=M[N]);if(x){O=x(M);for(var m=0;m<O.length;m++)B.call(M,O[m])&&(C[O[m]]=M[O[m]])}}return C}},760636:function(se){var x=se.exports={},S,B;function v(){throw new Error("setTimeout has not been defined")}function k(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?S=setTimeout:S=v}catch(u){S=v}try{typeof clearTimeout=="function"?B=clearTimeout:B=k}catch(u){B=k}})();function G(u){if(S===setTimeout)return setTimeout(u,0);if((S===v||!S)&&setTimeout)return S=setTimeout,setTimeout(u,0);try{return S(u,0)}catch(s){try{return S.call(null,u,0)}catch(c){return S.call(this,u,0)}}}function L(u){if(B===clearTimeout)return clearTimeout(u);if((B===k||!B)&&clearTimeout)return B=clearTimeout,clearTimeout(u);try{return B(u)}catch(s){try{return B.call(null,u)}catch(c){return B.call(this,u)}}}var M=[],C=!1,O,D=-1;function N(){!C||!O||(C=!1,O.length?M=O.concat(M):D=-1,M.length&&m())}function m(){if(!C){var u=G(N);C=!0;for(var s=M.length;s;){for(O=M,M=[];++D<s;)O&&O[D].run();D=-1,s=M.length}O=null,C=!1,L(u)}}x.nextTick=function(u){var s=new Array(arguments.length-1);if(arguments.length>1)for(var c=1;c<arguments.length;c++)s[c-1]=arguments[c];M.push(new w(u,s)),M.length===1&&!C&&G(m)};function w(u,s){this.fun=u,this.array=s}w.prototype.run=function(){this.fun.apply(null,this.array)},x.title="browser",x.browser=!0,x.env={},x.argv=[],x.version="",x.versions={};function b(){}x.on=b,x.addListener=b,x.once=b,x.off=b,x.removeListener=b,x.removeAllListeners=b,x.emit=b,x.prependListener=b,x.prependOnceListener=b,x.listeners=function(u){return[]},x.binding=function(u){throw new Error("process.binding is not supported")},x.cwd=function(){return"/"},x.chdir=function(u){throw new Error("process.chdir is not supported")},x.umask=function(){return 0}},739847:function(se,x){"use strict";/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var S=typeof Symbol=="function"&&Symbol.for,B=S?Symbol.for("react.element"):60103,v=S?Symbol.for("react.portal"):60106,k=S?Symbol.for("react.fragment"):60107,G=S?Symbol.for("react.strict_mode"):60108,L=S?Symbol.for("react.profiler"):60114,M=S?Symbol.for("react.provider"):60109,C=S?Symbol.for("react.context"):60110,O=S?Symbol.for("react.async_mode"):60111,D=S?Symbol.for("react.concurrent_mode"):60111,N=S?Symbol.for("react.forward_ref"):60112,m=S?Symbol.for("react.suspense"):60113,w=S?Symbol.for("react.suspense_list"):60120,b=S?Symbol.for("react.memo"):60115,u=S?Symbol.for("react.lazy"):60116,s=S?Symbol.for("react.block"):60121,c=S?Symbol.for("react.fundamental"):60117,R=S?Symbol.for("react.responder"):60118,g=S?Symbol.for("react.scope"):60119;function f(i){if(typeof i=="object"&&i!==null){var a=i.$$typeof;switch(a){case B:switch(i=i.type,i){case O:case D:case k:case L:case G:case m:return i;default:switch(i=i&&i.$$typeof,i){case C:case N:case u:case b:case M:return i;default:return a}}case v:return a}}}function d(i){return f(i)===D}x.AsyncMode=O,x.ConcurrentMode=D,x.ContextConsumer=C,x.ContextProvider=M,x.Element=B,x.ForwardRef=N,x.Fragment=k,x.Lazy=u,x.Memo=b,x.Portal=v,x.Profiler=L,x.StrictMode=G,x.Suspense=m,x.isAsyncMode=function(i){return d(i)||f(i)===O},x.isConcurrentMode=d,x.isContextConsumer=function(i){return f(i)===C},x.isContextProvider=function(i){return f(i)===M},x.isElement=function(i){return typeof i=="object"&&i!==null&&i.$$typeof===B},x.isForwardRef=function(i){return f(i)===N},x.isFragment=function(i){return f(i)===k},x.isLazy=function(i){return f(i)===u},x.isMemo=function(i){return f(i)===b},x.isPortal=function(i){return f(i)===v},x.isProfiler=function(i){return f(i)===L},x.isStrictMode=function(i){return f(i)===G},x.isSuspense=function(i){return f(i)===m},x.isValidElementType=function(i){return typeof i=="string"||typeof i=="function"||i===k||i===D||i===L||i===G||i===m||i===w||typeof i=="object"&&i!==null&&(i.$$typeof===u||i.$$typeof===b||i.$$typeof===M||i.$$typeof===C||i.$$typeof===N||i.$$typeof===c||i.$$typeof===R||i.$$typeof===g||i.$$typeof===s)},x.typeOf=f},870752:function(se,x,S){"use strict";se.exports=S(739847)},713320:function(se,x,S){"use strict";/** @license React v16.14.0
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var B=S(139e3),v=typeof Symbol=="function"&&Symbol.for,k=v?Symbol.for("react.element"):60103,G=v?Symbol.for("react.portal"):60106,L=v?Symbol.for("react.fragment"):60107,M=v?Symbol.for("react.strict_mode"):60108,C=v?Symbol.for("react.profiler"):60114,O=v?Symbol.for("react.provider"):60109,D=v?Symbol.for("react.context"):60110,N=v?Symbol.for("react.forward_ref"):60112,m=v?Symbol.for("react.suspense"):60113,w=v?Symbol.for("react.memo"):60115,b=v?Symbol.for("react.lazy"):60116,u=typeof Symbol=="function"&&Symbol.iterator;function s(Y){for(var re="https://reactjs.org/docs/error-decoder.html?invariant="+Y,ae=1;ae<arguments.length;ae++)re+="&args[]="+encodeURIComponent(arguments[ae]);return"Minified React error #"+Y+"; visit "+re+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var c={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},R={};function g(Y,re,ae){this.props=Y,this.context=re,this.refs=R,this.updater=ae||c}g.prototype.isReactComponent={},g.prototype.setState=function(Y,re){if(typeof Y!="object"&&typeof Y!="function"&&Y!=null)throw Error(s(85));this.updater.enqueueSetState(this,Y,re,"setState")},g.prototype.forceUpdate=function(Y){this.updater.enqueueForceUpdate(this,Y,"forceUpdate")};function f(){}f.prototype=g.prototype;function d(Y,re,ae){this.props=Y,this.context=re,this.refs=R,this.updater=ae||c}var i=d.prototype=new f;i.constructor=d,B(i,g.prototype),i.isPureReactComponent=!0;var a={current:null},o=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function y(Y,re,ae){var pe,ve={},we=null,Pe=null;if(re!=null)for(pe in re.ref!==void 0&&(Pe=re.ref),re.key!==void 0&&(we=""+re.key),re)o.call(re,pe)&&!l.hasOwnProperty(pe)&&(ve[pe]=re[pe]);var ce=arguments.length-2;if(ce===1)ve.children=ae;else if(1<ce){for(var be=Array(ce),Ee=0;Ee<ce;Ee++)be[Ee]=arguments[Ee+2];ve.children=be}if(Y&&Y.defaultProps)for(pe in ce=Y.defaultProps,ce)ve[pe]===void 0&&(ve[pe]=ce[pe]);return{$$typeof:k,type:Y,key:we,ref:Pe,props:ve,_owner:a.current}}function p(Y,re){return{$$typeof:k,type:Y.type,key:re,ref:Y.ref,props:Y.props,_owner:Y._owner}}function I(Y){return typeof Y=="object"&&Y!==null&&Y.$$typeof===k}function P(Y){var re={"=":"=0",":":"=2"};return"$"+(""+Y).replace(/[=:]/g,function(ae){return re[ae]})}var h=/\/+/g,_=[];function T(Y,re,ae,pe){if(_.length){var ve=_.pop();return ve.result=Y,ve.keyPrefix=re,ve.func=ae,ve.context=pe,ve.count=0,ve}return{result:Y,keyPrefix:re,func:ae,context:pe,count:0}}function A(Y){Y.result=null,Y.keyPrefix=null,Y.func=null,Y.context=null,Y.count=0,10>_.length&&_.push(Y)}function U(Y,re,ae,pe){var ve=typeof Y;(ve==="undefined"||ve==="boolean")&&(Y=null);var we=!1;if(Y===null)we=!0;else switch(ve){case"string":case"number":we=!0;break;case"object":switch(Y.$$typeof){case k:case G:we=!0}}if(we)return ae(pe,Y,re===""?"."+F(Y,0):re),1;if(we=0,re=re===""?".":re+":",Array.isArray(Y))for(var Pe=0;Pe<Y.length;Pe++){ve=Y[Pe];var ce=re+F(ve,Pe);we+=U(ve,ce,ae,pe)}else if(Y===null||typeof Y!="object"?ce=null:(ce=u&&Y[u]||Y["@@iterator"],ce=typeof ce=="function"?ce:null),typeof ce=="function")for(Y=ce.call(Y),Pe=0;!(ve=Y.next()).done;)ve=ve.value,ce=re+F(ve,Pe++),we+=U(ve,ce,ae,pe);else if(ve==="object")throw ae=""+Y,Error(s(31,ae==="[object Object]"?"object with keys {"+Object.keys(Y).join(", ")+"}":ae,""));return we}function H(Y,re,ae){return Y==null?0:U(Y,"",re,ae)}function F(Y,re){return typeof Y=="object"&&Y!==null&&Y.key!=null?P(Y.key):re.toString(36)}function z(Y,re){Y.func.call(Y.context,re,Y.count++)}function Z(Y,re,ae){var pe=Y.result,ve=Y.keyPrefix;Y=Y.func.call(Y.context,re,Y.count++),Array.isArray(Y)?ee(Y,pe,ae,function(we){return we}):Y!=null&&(I(Y)&&(Y=p(Y,ve+(!Y.key||re&&re.key===Y.key?"":(""+Y.key).replace(h,"$&/")+"/")+ae)),pe.push(Y))}function ee(Y,re,ae,pe,ve){var we="";ae!=null&&(we=(""+ae).replace(h,"$&/")+"/"),re=T(re,we,pe,ve),H(Y,Z,re),A(re)}var ne={current:null};function W(){var Y=ne.current;if(Y===null)throw Error(s(321));return Y}var X={ReactCurrentDispatcher:ne,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:a,IsSomeRendererActing:{current:!1},assign:B};x.Children={map:function(Y,re,ae){if(Y==null)return Y;var pe=[];return ee(Y,pe,null,re,ae),pe},forEach:function(Y,re,ae){if(Y==null)return Y;re=T(null,null,re,ae),H(Y,z,re),A(re)},count:function(Y){return H(Y,function(){return null},null)},toArray:function(Y){var re=[];return ee(Y,re,null,function(ae){return ae}),re},only:function(Y){if(!I(Y))throw Error(s(143));return Y}},x.Component=g,x.Fragment=L,x.Profiler=C,x.PureComponent=d,x.StrictMode=M,x.Suspense=m,x.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=X,x.cloneElement=function(Y,re,ae){if(Y==null)throw Error(s(267,Y));var pe=B({},Y.props),ve=Y.key,we=Y.ref,Pe=Y._owner;if(re!=null){if(re.ref!==void 0&&(we=re.ref,Pe=a.current),re.key!==void 0&&(ve=""+re.key),Y.type&&Y.type.defaultProps)var ce=Y.type.defaultProps;for(be in re)o.call(re,be)&&!l.hasOwnProperty(be)&&(pe[be]=re[be]===void 0&&ce!==void 0?ce[be]:re[be])}var be=arguments.length-2;if(be===1)pe.children=ae;else if(1<be){ce=Array(be);for(var Ee=0;Ee<be;Ee++)ce[Ee]=arguments[Ee+2];pe.children=ce}return{$$typeof:k,type:Y.type,key:ve,ref:we,props:pe,_owner:Pe}},x.createContext=function(Y,re){return re===void 0&&(re=null),Y={$$typeof:D,_calculateChangedBits:re,_currentValue:Y,_currentValue2:Y,_threadCount:0,Provider:null,Consumer:null},Y.Provider={$$typeof:O,_context:Y},Y.Consumer=Y},x.createElement=y,x.createFactory=function(Y){var re=y.bind(null,Y);return re.type=Y,re},x.createRef=function(){return{current:null}},x.forwardRef=function(Y){return{$$typeof:N,render:Y}},x.isValidElement=I,x.lazy=function(Y){return{$$typeof:b,_ctor:Y,_status:-1,_result:null}},x.memo=function(Y,re){return{$$typeof:w,type:Y,compare:re===void 0?null:re}},x.useCallback=function(Y,re){return W().useCallback(Y,re)},x.useContext=function(Y,re){return W().useContext(Y,re)},x.useDebugValue=function(){},x.useEffect=function(Y,re){return W().useEffect(Y,re)},x.useImperativeHandle=function(Y,re,ae){return W().useImperativeHandle(Y,re,ae)},x.useLayoutEffect=function(Y,re){return W().useLayoutEffect(Y,re)},x.useMemo=function(Y,re){return W().useMemo(Y,re)},x.useReducer=function(Y,re,ae){return W().useReducer(Y,re,ae)},x.useRef=function(Y){return W().useRef(Y)},x.useState=function(Y){return W().useState(Y)},x.version="16.14.0"},508669:function(se,x,S){"use strict";se.exports=S(713320)},21968:function(se,x,S){"use strict";var B;B={value:!0};var v=S(317500),k=C(S(806516)),G=C(S(326511)),L=S(895265);function M(i,a,o){return a in i?Object.defineProperty(i,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[a]=o,i}function C(i){return i&&i.__esModule?i:{default:i}}function O(i){for(var a=1;a<arguments.length;a++){var o=arguments[a]!=null?arguments[a]:{},l=Object.keys(o);typeof Object.getOwnPropertySymbols=="function"&&(l=l.concat(Object.getOwnPropertySymbols(o).filter(function(y){return Object.getOwnPropertyDescriptor(o,y).enumerable}))),l.forEach(function(y){M(i,y,o[y])})}return i}var D=window.Static&&window.Static.SQUARESPACE_CONTEXT,N=window.top!==window,m=Object.freeze(M({},G.default.COMMERCE_CART_V2,"commerce-cart"));function w(){var i=window.location&&window.location.pathname||"";return!N&&/^\/config(\/.*)?$/.test(i)}function b(){return{inFrame:N,templateId:D.templateId||"",impersonatedSession:!!D.impersonatedSession,pageType:typeof D.pageType=="number"?D.pageType:-1}}function u(){var i=D.website,a=i===void 0?{}:i;return{authenticUrl:a.authenticUrl||"",cloneable:!!a.cloneable,developerMode:!!a.developerMode,isHstsEnabled:!!a.isHstsEnabled,language:a.language||"",timeZone:a.timeZone||"",websiteId:a.id||"",websiteType:a.websiteType||-1}}function s(){var i=D.websiteSettings,a=i===void 0?{}:i;return{ampEnabled:!!a.ampEnabled}}function c(){var i=D.collection,a=i===void 0?{}:i;return{collectionType:a.type||-1}}function R(){return window.Squarespace&&"SECTION_CONTEXT"in window.Squarespace}function g(){return D.hasOwnProperty("templateVersion")?D.templateVersion.replace(".","_"):R()?"8":null}function f(i){var a=w(),o=m[D.pageType],l={appName:o||"v".concat(i,"-").concat(a?"config":"user-sites"),context:O({},b(),u(),s(),c()),captureException:function(h,_){(0,L.withScope)(function(T){T.setTag("product_area","rum-collector"),_!==void 0&&T.setExtra("extras",_),(0,L.captureException)(h)})}};if(a){var y=D.website.siteStatus.value===k.default.INTERNAL,p=D.authenticatedAccount,I=p.createdOn,P=p.id;l.context.isInternal=y,l.context.createdOn=I,l.context.memberId=P}return l}function d(){if(D){var i=g();if(i===null)return;var a=f(i);(0,v.init)(a)}}d()},895265:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(f,d){for(var i in d)Object.defineProperty(f,i,{enumerable:!0,get:d[i]})}B(x,{addBreadcrumb:function(){return D},captureMessage:function(){return N},captureException:function(){return m},captureEvent:function(){return w},configureScope:function(){return b},withScope:function(){return u},isSentryConnected:function(){return g}});var v=S(902149);function k(f,d){(d==null||d>f.length)&&(d=f.length);for(var i=0,a=new Array(d);i<d;i++)a[i]=f[i];return a}function G(f){if(Array.isArray(f))return k(f)}function L(f){if(typeof Symbol!="undefined"&&f[Symbol.iterator]!=null||f["@@iterator"]!=null)return Array.from(f)}function M(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function C(f){return G(f)||L(f)||O(f)||M()}function O(f,d){if(!!f){if(typeof f=="string")return k(f,d);var i=Object.prototype.toString.call(f).slice(8,-1);if(i==="Object"&&f.constructor&&(i=f.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return k(f,d)}}var D,N,m,w,b,u,s=function(f){return function(d){for(var i=arguments.length,a=new Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];var l;return(l=console).log.apply(l,["[Sentry][".concat(f,"] ").concat(d)].concat(C(a))),"some-error-identifier"}},c=!1,R=function(f){var d=f.category,i=f.message;console.log("[Sentry][addBreadcrumb] (".concat(d,") ").concat(i))},g=!1;window.SQUARESPACE_SENTRY?(g=!0,D=window.SQUARESPACE_SENTRY.addBreadcrumb,N=window.SQUARESPACE_SENTRY.captureMessage,m=window.SQUARESPACE_SENTRY.captureException,w=window.SQUARESPACE_SENTRY.captureEvent,b=window.SQUARESPACE_SENTRY.configureScope,u=window.SQUARESPACE_SENTRY.withScope):(console.warn("SENTRY WAS __NOT__ INITIALIZED. Logs will be forwarded to console instead."),D=c?R:function(){},N=s("captureMessage"),m=s("captureException"),w=s("captureEvent"),b=function(){},u=function(f){var d=new v.Scope;console.log("[Sentry][withScope]",d),f(d)})},756382:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"BrowserClient",{enumerable:!0,get:function(){return R}});var B=S(951787),v=S(788894),k=S(596939),G=S(588040),L=S(770331);function M(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function C(g,f){if(!(g instanceof f))throw new TypeError("Cannot call a class as a function")}function O(g,f,d){return typeof Reflect!="undefined"&&Reflect.get?O=Reflect.get:O=function(a,o,l){var y=b(a,o);if(!!y){var p=Object.getOwnPropertyDescriptor(y,o);return p.get?p.get.call(l):p.value}},O(g,f,d||g)}function D(g){return D=Object.setPrototypeOf?Object.getPrototypeOf:function(d){return d.__proto__||Object.getPrototypeOf(d)},D(g)}function N(g,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(f&&f.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),f&&w(g,f)}function m(g,f){return f&&(u(f)==="object"||typeof f=="function")?f:M(g)}function w(g,f){return w=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},w(g,f)}function b(g,f){for(;!Object.prototype.hasOwnProperty.call(g,f)&&(g=D(g),g!==null););return g}var u=function(g){return g&&typeof Symbol!="undefined"&&g.constructor===Symbol?"symbol":typeof g};function s(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(g){return!1}}function c(g){var f=s();return function(){var i=D(g),a;if(f){var o=D(this).constructor;a=Reflect.construct(i,arguments,o)}else a=i.apply(this,arguments);return m(this,a)}}var R=function(g){"use strict";N(d,g);var f=c(d);function d(a){C(this,d);var o,l=G.WINDOW.SENTRY_SDK_SOURCE||(0,v.getSDKSource)();return a._metadata=a._metadata||{},a._metadata.sdk=a._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"".concat(l,":@sentry/browser"),version:B.SDK_VERSION}],version:B.SDK_VERSION},o=f.call(this,a),a.sendClientReports&&G.WINDOW.document&&G.WINDOW.document.addEventListener("visibilitychange",function(){G.WINDOW.document.visibilityState==="hidden"&&o._flushOutcomes()}),o}var i=d.prototype;return i.eventFromException=function(o,l){return(0,k.eventFromException)(this._options.stackParser,o,l,this._options.attachStacktrace)},i.eventFromMessage=function(o){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"info",y=arguments.length>2?arguments[2]:void 0;return(0,k.eventFromMessage)(this._options.stackParser,o,l,y,this._options.attachStacktrace)},i.captureUserFeedback=function(o){if(!this._isEnabled()){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.warn("SDK not enabled, will not capture user feedback.");return}var l=(0,L.createUserFeedbackEnvelope)(o,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(l)},i._prepareEvent=function(o,l,y){return o.platform=o.platform||"javascript",O(D(d.prototype),"_prepareEvent",this).call(this,o,l,y)},i._flushOutcomes=function(){var o=this._clearOutcomes();if(o.length===0){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("No outcomes to send");return}if(!this._dsn){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("No dsn provided, will not send outcomes");return}(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("Sending outcomes:",o);var l=(0,v.createClientReportEnvelope)(o,this._options.tunnel&&(0,v.dsnToString)(this._dsn));this._sendEnvelope(l)},d}(B.BaseClient)},596939:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(i,a){for(var o in a)Object.defineProperty(i,o,{enumerable:!0,get:a[o]})}B(x,{eventFromError:function(){return N},eventFromException:function(){return s},eventFromMessage:function(){return c},eventFromPlainObject:function(){return D},eventFromString:function(){return g},eventFromUnknownInput:function(){return R},exceptionFromError:function(){return O},parseStackFrames:function(){return m}});var v=S(951787),k=S(788894);function G(i,a,o){return a in i?Object.defineProperty(i,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[a]=o,i}function L(i){for(var a=1;a<arguments.length;a++){var o=arguments[a]!=null?arguments[a]:{},l=Object.keys(o);typeof Object.getOwnPropertySymbols=="function"&&(l=l.concat(Object.getOwnPropertySymbols(o).filter(function(y){return Object.getOwnPropertyDescriptor(o,y).enumerable}))),l.forEach(function(y){G(i,y,o[y])})}return i}function M(i,a){var o=Object.keys(i);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(i);a&&(l=l.filter(function(y){return Object.getOwnPropertyDescriptor(i,y).enumerable})),o.push.apply(o,l)}return o}function C(i,a){return a=a!=null?a:{},Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(a)):M(Object(a)).forEach(function(o){Object.defineProperty(i,o,Object.getOwnPropertyDescriptor(a,o))}),i}function O(i,a){var o=m(i,a),l={type:a&&a.name,value:u(a)};return o.length&&(l.stacktrace={frames:o}),l.type===void 0&&l.value===""&&(l.value="Unrecoverable error caught"),l}function D(i,a,o,l){var y=(0,v.getCurrentHub)(),p=y.getClient(),I=p&&p.getOptions().normalizeDepth,P={exception:{values:[{type:(0,k.isEvent)(a)?a.constructor.name:l?"UnhandledRejection":"Error",value:f(a,{isUnhandledRejection:l})}]},extra:{__serialized__:(0,k.normalizeToSize)(a,I)}};if(o){var h=m(i,o);h.length&&(P.exception.values[0].stacktrace={frames:h})}return P}function N(i,a){return{exception:{values:[O(i,a)]}}}function m(i,a){var o=a.stacktrace||a.stack||"",l=b(a);try{return i(o,l)}catch(y){}return[]}var w=/Minified React error #\d+;/i;function b(i){if(i){if(typeof i.framesToPop=="number")return i.framesToPop;if(w.test(i.message))return 1}return 0}function u(i){var a=i&&i.message;return a?a.error&&typeof a.error.message=="string"?a.error.message:a:"No error message"}function s(i,a,o,l){var y=o&&o.syntheticException||void 0,p=R(i,a,y,l);return(0,k.addExceptionMechanism)(p),p.level="error",o&&o.event_id&&(p.event_id=o.event_id),(0,k.resolvedSyncPromise)(p)}function c(i,a){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"info",l=arguments.length>3?arguments[3]:void 0,y=arguments.length>4?arguments[4]:void 0,p=l&&l.syntheticException||void 0,I=g(i,a,p,y);return I.level=o,l&&l.event_id&&(I.event_id=l.event_id),(0,k.resolvedSyncPromise)(I)}function R(i,a,o,l,y){var p;if((0,k.isErrorEvent)(a)&&a.error){var I=a;return N(i,I.error)}if((0,k.isDOMError)(a)||(0,k.isDOMException)(a)){var P=a;if("stack"in a)p=N(i,a);else{var h=P.name||((0,k.isDOMError)(P)?"DOMError":"DOMException"),_=P.message?"".concat(h,": ").concat(P.message):h;p=g(i,_,o,l),(0,k.addExceptionTypeValue)(p,_)}return"code"in P&&(p.tags=C(L({},p.tags),{"DOMException.code":"".concat(P.code)})),p}if((0,k.isError)(a))return N(i,a);if((0,k.isPlainObject)(a)||(0,k.isEvent)(a)){var T=a;return p=D(i,T,o,y),(0,k.addExceptionMechanism)(p,{synthetic:!0}),p}return p=g(i,a,o,l),(0,k.addExceptionTypeValue)(p,"".concat(a),void 0),(0,k.addExceptionMechanism)(p,{synthetic:!0}),p}function g(i,a,o,l){var y={message:a};if(l&&o){var p=m(i,o);p.length&&(y.exception={values:[{value:a,stacktrace:{frames:p}}]})}return y}function f(i,a){var o=a.isUnhandledRejection,l=(0,k.extractExceptionKeysForMessage)(i),y=o?"promise rejection":"exception";if((0,k.isErrorEvent)(i))return"Event `ErrorEvent` captured as ".concat(y," with message `").concat(i.message,"`");if((0,k.isEvent)(i)){var p=d(i);return"Event `".concat(p,"` (type=").concat(i.type,") captured as ").concat(y)}return"Object captured as ".concat(y," with keys: ").concat(l)}function d(i){try{var a=Object.getPrototypeOf(i);return a?a.constructor.name:void 0}catch(o){}}},588040:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(b,u){for(var s in u)Object.defineProperty(b,s,{enumerable:!0,get:u[s]})}B(x,{WINDOW:function(){return O},ignoreNextOnError:function(){return m},shouldIgnoreOnError:function(){return N},wrap:function(){return w}});var v=S(951787),k=S(788894);function G(b,u,s){return u in b?Object.defineProperty(b,u,{value:s,enumerable:!0,configurable:!0,writable:!0}):b[u]=s,b}function L(b){for(var u=1;u<arguments.length;u++){var s=arguments[u]!=null?arguments[u]:{},c=Object.keys(s);typeof Object.getOwnPropertySymbols=="function"&&(c=c.concat(Object.getOwnPropertySymbols(s).filter(function(R){return Object.getOwnPropertyDescriptor(s,R).enumerable}))),c.forEach(function(R){G(b,R,s[R])})}return b}function M(b,u){var s=Object.keys(b);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(b);u&&(c=c.filter(function(R){return Object.getOwnPropertyDescriptor(b,R).enumerable})),s.push.apply(s,c)}return s}function C(b,u){return u=u!=null?u:{},Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(u)):M(Object(u)).forEach(function(s){Object.defineProperty(b,s,Object.getOwnPropertyDescriptor(u,s))}),b}var O=k.GLOBAL_OBJ,D=0;function N(){return D>0}function m(){D++,setTimeout(function(){D--})}function w(b){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0;if(typeof b!="function")return b;try{var c=b.__sentry_wrapped__;if(c)return c;if((0,k.getOriginalFunction)(b))return b}catch(d){return b}var R=function(){var i=Array.prototype.slice.call(arguments);try{s&&typeof s=="function"&&s.apply(this,arguments);var a=i.map(function(o){return w(o,u)});return b.apply(this,a)}catch(o){throw m(),(0,v.withScope)(function(l){l.addEventProcessor(function(y){return u.mechanism&&((0,k.addExceptionTypeValue)(y,void 0,void 0),(0,k.addExceptionMechanism)(y,u.mechanism)),y.extra=C(L({},y.extra),{arguments:i}),y}),(0,v.captureException)(o)}),o}};try{for(var g in b)Object.prototype.hasOwnProperty.call(b,g)&&(R[g]=b[g])}catch(d){}(0,k.markFunctionWrapped)(R,b),(0,k.addNonEnumerableProperty)(b,"__sentry_wrapped__",R);try{var f=Object.getOwnPropertyDescriptor(R,"name");f.configurable&&Object.defineProperty(R,"name",{get:function(){return b.name}})}catch(d){}return R}},280105:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(h,_){for(var T in _)Object.defineProperty(h,T,{enumerable:!0,get:_[T]})}B(x,{FunctionToString:function(){return v.FunctionToString},Hub:function(){return v.Hub},InboundFilters:function(){return v.InboundFilters},ModuleMetadata:function(){return v.ModuleMetadata},SDK_VERSION:function(){return v.SDK_VERSION},Scope:function(){return v.Scope},addBreadcrumb:function(){return v.addBreadcrumb},addGlobalEventProcessor:function(){return v.addGlobalEventProcessor},addIntegration:function(){return v.addIntegration},addTracingExtensions:function(){return v.addTracingExtensions},captureEvent:function(){return v.captureEvent},captureException:function(){return v.captureException},captureMessage:function(){return v.captureMessage},close:function(){return v.close},configureScope:function(){return v.configureScope},continueTrace:function(){return v.continueTrace},createTransport:function(){return v.createTransport},extractTraceparentData:function(){return v.extractTraceparentData},flush:function(){return v.flush},getActiveSpan:function(){return v.getActiveSpan},getActiveTransaction:function(){return v.getActiveTransaction},getCurrentHub:function(){return v.getCurrentHub},getHubFromCarrier:function(){return v.getHubFromCarrier},lastEventId:function(){return v.lastEventId},makeMain:function(){return v.makeMain},makeMultiplexedTransport:function(){return v.makeMultiplexedTransport},setContext:function(){return v.setContext},setExtra:function(){return v.setExtra},setExtras:function(){return v.setExtras},setMeasurement:function(){return v.setMeasurement},setTag:function(){return v.setTag},setTags:function(){return v.setTags},setUser:function(){return v.setUser},spanStatusfromHttpCode:function(){return v.spanStatusfromHttpCode},startInactiveSpan:function(){return v.startInactiveSpan},startSpan:function(){return v.startSpan},startSpanManual:function(){return v.startSpanManual},startTransaction:function(){return v.startTransaction},trace:function(){return v.trace},withScope:function(){return v.withScope},WINDOW:function(){return k.WINDOW},BrowserClient:function(){return G.BrowserClient},makeFetchTransport:function(){return L.makeFetchTransport},makeXHRTransport:function(){return M.makeXHRTransport},chromeStackLineParser:function(){return C.chromeStackLineParser},defaultStackLineParsers:function(){return C.defaultStackLineParsers},defaultStackParser:function(){return C.defaultStackParser},geckoStackLineParser:function(){return C.geckoStackLineParser},opera10StackLineParser:function(){return C.opera10StackLineParser},opera11StackLineParser:function(){return C.opera11StackLineParser},winjsStackLineParser:function(){return C.winjsStackLineParser},eventFromException:function(){return O.eventFromException},eventFromMessage:function(){return O.eventFromMessage},exceptionFromError:function(){return O.exceptionFromError},createUserFeedbackEnvelope:function(){return D.createUserFeedbackEnvelope},captureUserFeedback:function(){return N.captureUserFeedback},defaultIntegrations:function(){return N.defaultIntegrations},forceLoad:function(){return N.forceLoad},init:function(){return N.init},onLoad:function(){return N.onLoad},showReportDialog:function(){return N.showReportDialog},wrap:function(){return N.wrap},Replay:function(){return w.Replay},BrowserTracing:function(){return b.BrowserTracing},defaultRequestInstrumentationOptions:function(){return b.defaultRequestInstrumentationOptions},instrumentOutgoingRequests:function(){return b.instrumentOutgoingRequests},makeBrowserOfflineTransport:function(){return u.makeBrowserOfflineTransport},onProfilingStartRouteTransaction:function(){return s.onProfilingStartRouteTransaction},BrowserProfilingIntegration:function(){return c.BrowserProfilingIntegration},GlobalHandlers:function(){return R.GlobalHandlers},TryCatch:function(){return g.TryCatch},Breadcrumbs:function(){return f.Breadcrumbs},LinkedErrors:function(){return d.LinkedErrors},HttpContext:function(){return i.HttpContext},Dedupe:function(){return a.Dedupe},Integrations:function(){return P}});var v=S(951787),k=S(588040),G=S(756382),L=S(760929),M=S(695114),C=S(838662),O=S(596939),D=S(770331),N=S(471240),m=y(S(13449)),w=S(864731),b=S(199009),u=S(27978),s=S(995203),c=S(25431),R=S(68557),g=S(661973),f=S(723992),d=S(581756),i=S(40818),a=S(326063);function o(h,_,T){return _ in h?Object.defineProperty(h,_,{value:T,enumerable:!0,configurable:!0,writable:!0}):h[_]=T,h}function l(h){if(typeof WeakMap!="function")return null;var _=new WeakMap,T=new WeakMap;return(l=function(A){return A?T:_})(h)}function y(h,_){if(!_&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var T=l(_);if(T&&T.has(h))return T.get(h);var A={},U=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var H in h)if(H!=="default"&&Object.prototype.hasOwnProperty.call(h,H)){var F=U?Object.getOwnPropertyDescriptor(h,H):null;F&&(F.get||F.set)?Object.defineProperty(A,H,F):A[H]=h[H]}return A.default=h,T&&T.set(h,A),A}function p(h){for(var _=1;_<arguments.length;_++){var T=arguments[_]!=null?arguments[_]:{},A=Object.keys(T);typeof Object.getOwnPropertySymbols=="function"&&(A=A.concat(Object.getOwnPropertySymbols(T).filter(function(U){return Object.getOwnPropertyDescriptor(T,U).enumerable}))),A.forEach(function(U){o(h,U,T[U])})}return h}var I={};k.WINDOW.Sentry&&k.WINDOW.Sentry.Integrations&&(I=k.WINDOW.Sentry.Integrations);var P=p({},I,v.Integrations,m)},723992:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"Breadcrumbs",{enumerable:!0,get:function(){return N}});var B=S(951787),v=S(788894),k=S(588040);function G(g,f){if(!(g instanceof f))throw new TypeError("Cannot call a class as a function")}function L(g,f,d){return f in g?Object.defineProperty(g,f,{value:d,enumerable:!0,configurable:!0,writable:!0}):g[f]=d,g}function M(g){for(var f=1;f<arguments.length;f++){var d=arguments[f]!=null?arguments[f]:{},i=Object.keys(d);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(d).filter(function(a){return Object.getOwnPropertyDescriptor(d,a).enumerable}))),i.forEach(function(a){L(g,a,d[a])})}return g}function C(g,f){var d=Object.keys(g);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(g);f&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(g,a).enumerable})),d.push.apply(d,i)}return d}function O(g,f){return f=f!=null?f:{},Object.getOwnPropertyDescriptors?Object.defineProperties(g,Object.getOwnPropertyDescriptors(f)):C(Object(f)).forEach(function(d){Object.defineProperty(g,d,Object.getOwnPropertyDescriptor(f,d))}),g}var D=1024,N=function(){"use strict";function g(d){G(this,g),this.name=g.id,this.options=M({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},d)}var f=g.prototype;return f.setupOnce=function(){if(this.options.console&&(0,v.addInstrumentationHandler)("console",b),this.options.dom&&(0,v.addInstrumentationHandler)("dom",w(this.options.dom)),this.options.xhr&&(0,v.addInstrumentationHandler)("xhr",u),this.options.fetch&&(0,v.addInstrumentationHandler)("fetch",s),this.options.history&&(0,v.addInstrumentationHandler)("history",c),this.options.sentry){var i=(0,B.getCurrentHub)().getClient();i&&i.on&&i.on("beforeSendEvent",m)}},g.__initStatic=function(){this.id="Breadcrumbs"},g}();N.__initStatic();function m(g){(0,B.getCurrentHub)().addBreadcrumb({category:"sentry.".concat(g.type==="transaction"?"transaction":"event"),event_id:g.event_id,level:g.level,message:(0,v.getEventDescription)(g)},{event:g})}function w(g){var f=function(i){var a,o=typeof g=="object"?g.serializeAttribute:void 0,l=typeof g=="object"&&typeof g.maxStringLength=="number"?g.maxStringLength:void 0;l&&l>D&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.warn("`dom.maxStringLength` cannot exceed ".concat(D,", but a value of ").concat(l," was configured. Sentry will use ").concat(D," instead.")),l=D),typeof o=="string"&&(o=[o]);try{var y=i.event;a=R(y)?(0,v.htmlTreeAsString)(y.target,{keyAttrs:o,maxStringLength:l}):(0,v.htmlTreeAsString)(y,{keyAttrs:o,maxStringLength:l})}catch(p){a="<unknown>"}a.length!==0&&(0,B.getCurrentHub)().addBreadcrumb({category:"ui.".concat(i.name),message:a},{event:i.event,name:i.name,global:i.global})};return f}function b(g){var f={category:"console",data:{arguments:g.args,logger:"console"},level:(0,v.severityLevelFromString)(g.level),message:(0,v.safeJoin)(g.args," ")};if(g.level==="assert")if(g.args[0]===!1)f.message="Assertion failed: ".concat((0,v.safeJoin)(g.args.slice(1)," ")||"console.assert"),f.data.arguments=g.args.slice(1);else return;(0,B.getCurrentHub)().addBreadcrumb(f,{input:g.args,level:g.level})}function u(g){var f=g.startTimestamp,d=g.endTimestamp,i=g.xhr[v.SENTRY_XHR_DATA_KEY];if(!(!f||!d||!i)){var a=i.method,o=i.url,l=i.status_code,y=i.body,p={method:a,url:o,status_code:l},I={xhr:g.xhr,input:y,startTimestamp:f,endTimestamp:d};(0,B.getCurrentHub)().addBreadcrumb({category:"xhr",data:p,type:"http"},I)}}function s(g){var f=g.startTimestamp,d=g.endTimestamp;if(!!d&&!(g.fetchData.url.match(/sentry_key/)&&g.fetchData.method==="POST"))if(g.error){var i=g.fetchData,a={data:g.error,input:g.args,startTimestamp:f,endTimestamp:d};(0,B.getCurrentHub)().addBreadcrumb({category:"fetch",data:i,level:"error",type:"http"},a)}else{var o=O(M({},g.fetchData),{status_code:g.response&&g.response.status}),l={input:g.args,response:g.response,startTimestamp:f,endTimestamp:d};(0,B.getCurrentHub)().addBreadcrumb({category:"fetch",data:o,type:"http"},l)}}function c(g){var f=g.from,d=g.to,i=(0,v.parseUrl)(k.WINDOW.location.href),a=(0,v.parseUrl)(f),o=(0,v.parseUrl)(d);a.path||(a=i),i.protocol===o.protocol&&i.host===o.host&&(d=o.relative),i.protocol===a.protocol&&i.host===a.host&&(f=a.relative),(0,B.getCurrentHub)().addBreadcrumb({category:"navigation",data:{from:f,to:d}})}function R(g){return!!g&&!!g.target}},326063:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"Dedupe",{enumerable:!0,get:function(){return k}});var B=S(788894);function v(m,w){if(!(m instanceof w))throw new TypeError("Cannot call a class as a function")}var k=function(){"use strict";function m(){v(this,m),this.name=m.id}var w=m.prototype;return w.setupOnce=function(u,s){},w.processEvent=function(u){if(u.type)return u;try{if(G(u,this._previousEvent))return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(s){}return this._previousEvent=u},m.__initStatic=function(){this.id="Dedupe"},m}();k.__initStatic();function G(m,w){return w?!!(L(m,w)||M(m,w)):!1}function L(m,w){var b=m.message,u=w.message;return!(!b&&!u||b&&!u||!b&&u||b!==u||!O(m,w)||!C(m,w))}function M(m,w){var b=D(w),u=D(m);return!(!b||!u||b.type!==u.type||b.value!==u.value||!O(m,w)||!C(m,w))}function C(m,w){var b=N(m),u=N(w);if(!b&&!u)return!0;if(b&&!u||!b&&u||(b=b,u=u,u.length!==b.length))return!1;for(var s=0;s<u.length;s++){var c=u[s],R=b[s];if(c.filename!==R.filename||c.lineno!==R.lineno||c.colno!==R.colno||c.function!==R.function)return!1}return!0}function O(m,w){var b=m.fingerprint,u=w.fingerprint;if(!b&&!u)return!0;if(b&&!u||!b&&u)return!1;b=b,u=u;try{return b.join("")===u.join("")}catch(s){return!1}}function D(m){return m.exception&&m.exception.values&&m.exception.values[0]}function N(m){var w=m.exception;if(w)try{return w.values[0].stacktrace.frames}catch(b){return}}},68557:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"GlobalHandlers",{enumerable:!0,get:function(){return u}});var B=S(951787),v=S(788894),k=S(596939),G=S(588040);function L(o,l){(l==null||l>o.length)&&(l=o.length);for(var y=0,p=new Array(l);y<l;y++)p[y]=o[y];return p}function M(o){if(Array.isArray(o))return o}function C(o,l){if(!(o instanceof l))throw new TypeError("Cannot call a class as a function")}function O(o,l,y){return l in o?Object.defineProperty(o,l,{value:y,enumerable:!0,configurable:!0,writable:!0}):o[l]=y,o}function D(o,l){var y=o==null?null:typeof Symbol!="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(y!=null){var p=[],I=!0,P=!1,h,_;try{for(y=y.call(o);!(I=(h=y.next()).done)&&(p.push(h.value),!(l&&p.length===l));I=!0);}catch(T){P=!0,_=T}finally{try{!I&&y.return!=null&&y.return()}finally{if(P)throw _}}return p}}function N(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(o){for(var l=1;l<arguments.length;l++){var y=arguments[l]!=null?arguments[l]:{},p=Object.keys(y);typeof Object.getOwnPropertySymbols=="function"&&(p=p.concat(Object.getOwnPropertySymbols(y).filter(function(I){return Object.getOwnPropertyDescriptor(y,I).enumerable}))),p.forEach(function(I){O(o,I,y[I])})}return o}function w(o,l){return M(o)||D(o,l)||b(o,l)||N()}function b(o,l){if(!!o){if(typeof o=="string")return L(o,l);var y=Object.prototype.toString.call(o).slice(8,-1);if(y==="Object"&&o.constructor&&(y=o.constructor.name),y==="Map"||y==="Set")return Array.from(y);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return L(o,l)}}var u=function(){"use strict";function o(y){C(this,o),this.name=o.id,this._options=m({onerror:!0,onunhandledrejection:!0},y),this._installFunc={onerror:s,onunhandledrejection:c}}var l=o.prototype;return l.setupOnce=function(){Error.stackTraceLimit=50;var p=this._options;for(var I in p){var P=this._installFunc[I];P&&p[I]&&(d(I),P(),this._installFunc[I]=void 0)}},o.__initStatic=function(){this.id="GlobalHandlers"},o}();u.__initStatic();function s(){(0,v.addInstrumentationHandler)("error",function(o){var l=w(a(),3),y=l[0],p=l[1],I=l[2];if(!!y.getIntegration(u)){var P=o.msg,h=o.url,_=o.line,T=o.column,A=o.error;if(!((0,G.shouldIgnoreOnError)()||A&&A.__sentry_own_request__)){var U=A===void 0&&(0,v.isString)(P)?g(P,h,_,T):f((0,k.eventFromUnknownInput)(p,A||P,void 0,I,!1),h,_,T);U.level="error",i(y,A,U,"onerror")}}})}function c(){(0,v.addInstrumentationHandler)("unhandledrejection",function(o){var l=w(a(),3),y=l[0],p=l[1],I=l[2];if(!!y.getIntegration(u)){var P=o;try{"reason"in o?P=o.reason:"detail"in o&&"reason"in o.detail&&(P=o.detail.reason)}catch(_){}if((0,G.shouldIgnoreOnError)()||P&&P.__sentry_own_request__)return!0;var h=(0,v.isPrimitive)(P)?R(P):(0,k.eventFromUnknownInput)(p,P,void 0,I,!0);h.level="error",i(y,P,h,"onunhandledrejection")}})}function R(o){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: ".concat(String(o))}]}}}function g(o,l,y,p){var I=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i,P=(0,v.isErrorEvent)(o)?o.message:o,h="Error",_=P.match(I);_&&(h=_[1],P=_[2]);var T={exception:{values:[{type:h,value:P}]}};return f(T,l,y,p)}function f(o,l,y,p){var I=o.exception=o.exception||{},P=I.values=I.values||[],h=P[0]=P[0]||{},_=h.stacktrace=h.stacktrace||{},T=_.frames=_.frames||[],A=isNaN(parseInt(p,10))?void 0:p,U=isNaN(parseInt(y,10))?void 0:y,H=(0,v.isString)(l)&&l.length>0?l:(0,v.getLocationHref)();return T.length===0&&T.push({colno:A,filename:H,function:"?",in_app:!0,lineno:U}),o}function d(o){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("Global Handler attached: ".concat(o))}function i(o,l,y,p){(0,v.addExceptionMechanism)(y,{handled:!1,type:p}),o.captureEvent(y,{originalException:l})}function a(){var o=(0,B.getCurrentHub)(),l=o.getClient(),y=l&&l.getOptions()||{stackParser:function(){return[]},attachStacktrace:!1};return[o,y.stackParser,y.attachStacktrace]}},40818:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"HttpContext",{enumerable:!0,get:function(){return C}});var B=S(588040);function v(O,D){if(!(O instanceof D))throw new TypeError("Cannot call a class as a function")}function k(O,D,N){return D in O?Object.defineProperty(O,D,{value:N,enumerable:!0,configurable:!0,writable:!0}):O[D]=N,O}function G(O){for(var D=1;D<arguments.length;D++){var N=arguments[D]!=null?arguments[D]:{},m=Object.keys(N);typeof Object.getOwnPropertySymbols=="function"&&(m=m.concat(Object.getOwnPropertySymbols(N).filter(function(w){return Object.getOwnPropertyDescriptor(N,w).enumerable}))),m.forEach(function(w){k(O,w,N[w])})}return O}function L(O,D){var N=Object.keys(O);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(O);D&&(m=m.filter(function(w){return Object.getOwnPropertyDescriptor(O,w).enumerable})),N.push.apply(N,m)}return N}function M(O,D){return D=D!=null?D:{},Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(D)):L(Object(D)).forEach(function(N){Object.defineProperty(O,N,Object.getOwnPropertyDescriptor(D,N))}),O}var C=function(){"use strict";function O(){v(this,O),this.name=O.id}var D=O.prototype;return D.setupOnce=function(){},D.preprocessEvent=function(m){if(!(!B.WINDOW.navigator&&!B.WINDOW.location&&!B.WINDOW.document)){var w=m.request&&m.request.url||B.WINDOW.location&&B.WINDOW.location.href,b=(B.WINDOW.document||{}).referrer,u=(B.WINDOW.navigator||{}).userAgent,s=G({},m.request&&m.request.headers,b&&{Referer:b},u&&{"User-Agent":u}),c=M(G({},m.request,w&&{url:w}),{headers:s});m.request=c}},O.__initStatic=function(){this.id="HttpContext"},O}();C.__initStatic()},13449:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(O,D){for(var N in D)Object.defineProperty(O,N,{enumerable:!0,get:D[N]})}B(x,{GlobalHandlers:function(){return v.GlobalHandlers},TryCatch:function(){return k.TryCatch},Breadcrumbs:function(){return G.Breadcrumbs},LinkedErrors:function(){return L.LinkedErrors},HttpContext:function(){return M.HttpContext},Dedupe:function(){return C.Dedupe}});var v=S(68557),k=S(661973),G=S(723992),L=S(581756),M=S(40818),C=S(326063)},581756:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"LinkedErrors",{enumerable:!0,get:function(){return M}});var B=S(788894),v=S(596939);function k(C,O){if(!(C instanceof O))throw new TypeError("Cannot call a class as a function")}var G="cause",L=5,M=function(){"use strict";function C(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};k(this,C),this.name=C.id,this._key=D.key||G,this._limit=D.limit||L}var O=C.prototype;return O.setupOnce=function(){},O.preprocessEvent=function(N,m,w){var b=w.getOptions();(0,B.applyAggregateErrorsToEvent)(v.exceptionFromError,b.stackParser,b.maxValueLength,this._key,this._limit,N,m)},C.__initStatic=function(){this.id="LinkedErrors"},C}();M.__initStatic()},661973:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"TryCatch",{enumerable:!0,get:function(){return C}});var B=S(788894),v=S(588040);function k(w,b){if(!(w instanceof b))throw new TypeError("Cannot call a class as a function")}function G(w,b,u){return b in w?Object.defineProperty(w,b,{value:u,enumerable:!0,configurable:!0,writable:!0}):w[b]=u,w}function L(w){for(var b=1;b<arguments.length;b++){var u=arguments[b]!=null?arguments[b]:{},s=Object.keys(u);typeof Object.getOwnPropertySymbols=="function"&&(s=s.concat(Object.getOwnPropertySymbols(u).filter(function(c){return Object.getOwnPropertyDescriptor(u,c).enumerable}))),s.forEach(function(c){G(w,c,u[c])})}return w}var M=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],C=function(){"use strict";function w(u){k(this,w),this.name=w.id,this._options=L({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},u)}var b=w.prototype;return b.setupOnce=function(){this._options.setTimeout&&(0,B.fill)(v.WINDOW,"setTimeout",O),this._options.setInterval&&(0,B.fill)(v.WINDOW,"setInterval",O),this._options.requestAnimationFrame&&(0,B.fill)(v.WINDOW,"requestAnimationFrame",D),this._options.XMLHttpRequest&&"XMLHttpRequest"in v.WINDOW&&(0,B.fill)(XMLHttpRequest.prototype,"send",N);var s=this._options.eventTarget;if(s){var c=Array.isArray(s)?s:M;c.forEach(m)}},w.__initStatic=function(){this.id="TryCatch"},w}();C.__initStatic();function O(w){return function(){for(var b=arguments.length,u=new Array(b),s=0;s<b;s++)u[s]=arguments[s];var c=u[0];return u[0]=(0,v.wrap)(c,{mechanism:{data:{function:(0,B.getFunctionName)(w)},handled:!1,type:"instrument"}}),w.apply(this,u)}}function D(w){return function(b){return w.apply(this,[(0,v.wrap)(b,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,B.getFunctionName)(w)},handled:!1,type:"instrument"}})])}}function N(w){return function(){for(var b=arguments.length,u=new Array(b),s=0;s<b;s++)u[s]=arguments[s];var c=this,R=["onload","onerror","onprogress","onreadystatechange"];return R.forEach(function(g){g in c&&typeof c[g]=="function"&&(0,B.fill)(c,g,function(f){var d={mechanism:{data:{function:g,handler:(0,B.getFunctionName)(f)},handled:!1,type:"instrument"}},i=(0,B.getOriginalFunction)(f);return i&&(d.mechanism.data.handler=(0,B.getFunctionName)(i)),(0,v.wrap)(f,d)})}),w.apply(this,u)}}function m(w){var b=v.WINDOW,u=b[w]&&b[w].prototype;!u||!u.hasOwnProperty||!u.hasOwnProperty("addEventListener")||((0,B.fill)(u,"addEventListener",function(s){return function(c,R,g){try{typeof R.handleEvent=="function"&&(R.handleEvent=(0,v.wrap)(R.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,B.getFunctionName)(R),target:w},handled:!1,type:"instrument"}}))}catch(f){}return s.apply(this,[c,(0,v.wrap)(R,{mechanism:{data:{function:"addEventListener",handler:(0,B.getFunctionName)(R),target:w},handled:!1,type:"instrument"}}),g])}}),(0,B.fill)(u,"removeEventListener",function(s){return function(c,R,g){var f=R;try{var d=f&&f.__sentry_wrapped__;d&&s.call(this,c,d,g)}catch(i){}return s.call(this,c,f,g)}}))}},995203:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(N,m){for(var w in m)Object.defineProperty(N,w,{enumerable:!0,get:m[w]})}B(x,{onProfilingStartRouteTransaction:function(){return O},startProfileForTransaction:function(){return D}});var v=S(788894),k=S(588040),G=S(369544);function L(N,m,w,b,u,s,c){try{var R=N[s](c),g=R.value}catch(f){w(f);return}R.done?m(g):Promise.resolve(g).then(b,u)}function M(N){return function(){var m=this,w=arguments;return new Promise(function(b,u){var s=N.apply(m,w);function c(g){L(s,b,u,c,R,"next",g)}function R(g){L(s,b,u,c,R,"throw",g)}c(void 0)})}}var C=function(N,m){var w,b,u,s,c={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return s={next:R(0),throw:R(1),return:R(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function R(f){return function(d){return g([f,d])}}function g(f){if(w)throw new TypeError("Generator is already executing.");for(;c;)try{if(w=1,b&&(u=f[0]&2?b.return:f[0]?b.throw||((u=b.return)&&u.call(b),0):b.next)&&!(u=u.call(b,f[1])).done)return u;switch(b=0,u&&(f=[f[0]&2,u.value]),f[0]){case 0:case 1:u=f;break;case 4:return c.label++,{value:f[1],done:!1};case 5:c.label++,b=f[1],f=[0];continue;case 7:f=c.ops.pop(),c.trys.pop();continue;default:if(u=c.trys,!(u=u.length>0&&u[u.length-1])&&(f[0]===6||f[0]===2)){c=0;continue}if(f[0]===3&&(!u||f[1]>u[0]&&f[1]<u[3])){c.label=f[1];break}if(f[0]===6&&c.label<u[1]){c.label=u[1],u=f;break}if(u&&c.label<u[2]){c.label=u[2],c.ops.push(f);break}u[2]&&c.ops.pop(),c.trys.pop();continue}f=m.call(N,c)}catch(d){f=[6,d],b=0}finally{w=u=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}};function O(N){return N?(0,G.shouldProfileTransaction)(N)?D(N):N:((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("[Profiling] Transaction is undefined, skipping profiling"),N)}function D(N){var m=function(){return N?(s().then(function(){N.setContext("profile",{profile_id:u,start_timestamp:w}),g()},function(){g()}),N):g()},w;(0,G.isAutomatedPageLoadTransaction)(N)&&(w=(0,v.timestampInSeconds)()*1e3);var b=(0,G.startJSSelfProfile)();if(!b)return N;(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("[Profiling] started profiling transaction: ".concat(N.name||N.description));var u=(0,v.uuid4)();function s(){return c.apply(this,arguments)}function c(){return c=M(function(){return C(this,function(f){return N?b?[2,b.stop().then(function(d){return R&&(k.WINDOW.clearTimeout(R),R=void 0),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("[Profiling] stopped profiling of transaction: ".concat(N.name||N.description)),d?((0,G.addProfileToGlobalCache)(u,d),null):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("[Profiling] profiler returned null profile for: ".concat(N.name||N.description),"this may indicate an overlapping transaction or a call to stopProfiling with a profile title that was never started"),null)}).catch(function(d){return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("[Profiling] error while stopping profiler:",d),null})]:[2,null]:[2,null]})}),c.apply(this,arguments)}var R=k.WINDOW.setTimeout(function(){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("[Profiling] max profile duration elapsed, stopping profiling for:",N.name||N.description),s()},G.MAX_PROFILE_DURATION_MS),g=N.finish.bind(N);return N.finish=m,N}},25431:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"BrowserProfilingIntegration",{enumerable:!0,get:function(){return L}});var B=S(788894),v=S(995203),k=S(369544);function G(M,C){if(!(M instanceof C))throw new TypeError("Cannot call a class as a function")}var L=function(){"use strict";function M(){G(this,M),this.name=M.id}var C=M.prototype;return C.setupOnce=function(D,N){this.getCurrentHub=N;var m=this.getCurrentHub(),w=m.getClient(),b=m.getScope(),u=b.getTransaction();u&&(0,k.isAutomatedPageLoadTransaction)(u)&&(0,k.shouldProfileTransaction)(u)&&(0,v.startProfileForTransaction)(u),w&&typeof w.on=="function"?(w.on("startTransaction",function(s){(0,k.shouldProfileTransaction)(s)&&(0,v.startProfileForTransaction)(s)}),w.on("beforeEnvelope",function(s){if(!!(0,k.getActiveProfilesCount)()){var c=(0,k.findProfiledTransactionsFromEnvelope)(s);if(!!c.length){var R=[],g=!0,f=!1,d=void 0;try{for(var i=c[Symbol.iterator](),a;!(g=(a=i.next()).done);g=!0){var o=a.value,l=o&&o.contexts,y=l&&l.profile&&l.profile.profile_id,p=l&&l.profile&&l.profile.start_timestamp;if(typeof y!="string"){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.log("[Profiling] cannot find profile for a transaction without a profile context");continue}if(!y){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.log("[Profiling] cannot find profile for a transaction without a profile context");continue}l&&l.profile&&delete l.profile;var I=(0,k.takeProfileFromGlobalCache)(y);if(!I){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.log("[Profiling] Could not retrieve profile for transaction: ".concat(y));continue}var P=(0,k.createProfilingEvent)(y,p,I,o);P&&R.push(P)}}catch(h){f=!0,d=h}finally{try{!g&&i.return!=null&&i.return()}finally{if(f)throw d}}(0,k.addProfilesToEnvelope)(s,R)}}})):B.logger.warn("[Profiling] Client does not support hooks, profiling will be disabled")},M.__initStatic=function(){this.id="BrowserProfilingIntegration"},M}();L.__initStatic()},369544:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(W,X){for(var Y in X)Object.defineProperty(W,Y,{enumerable:!0,get:X[Y]})}B(x,{MAX_PROFILE_DURATION_MS:function(){return T},addProfileToGlobalCache:function(){return ne},addProfilesToEnvelope:function(){return l},applyDebugMetadata:function(){return I},convertJSSelfProfileToSampledFormat:function(){return o},createProfilePayload:function(){return i},createProfilingEvent:function(){return F},enrichWithThreadInformation:function(){return f},findProfiledTransactionsFromEnvelope:function(){return y},getActiveProfilesCount:function(){return Z},isAutomatedPageLoadTransaction:function(){return a},isValidSampleRate:function(){return P},shouldProfileTransaction:function(){return H},startJSSelfProfile:function(){return U},takeProfileFromGlobalCache:function(){return ee}});var v=S(951787),k=S(788894),G=S(588040);function L(W,X,Y){return X in W?Object.defineProperty(W,X,{value:Y,enumerable:!0,configurable:!0,writable:!0}):W[X]=Y,W}var M=function(W){return W&&typeof Symbol!="undefined"&&W.constructor===Symbol?"symbol":typeof W},C=1e6,O=String(0),D="main",N="",m="",w="",b=G.WINDOW.navigator&&G.WINDOW.navigator.userAgent||"",u="",s=G.WINDOW.navigator&&G.WINDOW.navigator.language||G.WINDOW.navigator&&G.WINDOW.navigator.languages&&G.WINDOW.navigator.languages[0]||"";function c(W){return typeof W=="object"&&W!==null&&"getHighEntropyValues"in W}var R=G.WINDOW.navigator&&G.WINDOW.navigator.userAgentData;c(R)&&R.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then(function(W){if(N=W.platform||"",w=W.architecture||"",u=W.model||"",m=W.platformVersion||"",W.fullVersionList&&W.fullVersionList.length>0){var X=W.fullVersionList[W.fullVersionList.length-1];b="".concat(X.brand," ").concat(X.version)}}).catch(function(W){});function g(W){return!("thread_metadata"in W)}function f(W){return g(W)?o(W):W}function d(W){var X=W&&W.contexts&&W.contexts.trace&&W.contexts.trace.trace_id;return typeof X=="string"&&X.length!==32&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.log("[Profiling] Invalid traceId: ".concat(X," on profiled event")),typeof X!="string"?"":X}function i(W,X,Y,re){if(re.type!=="transaction")throw new TypeError("Profiling events may only be attached to transactions, this should never occur.");if(Y==null)throw new TypeError("Cannot construct profiling event envelope without a valid profile. Got ".concat(Y," instead."));var ae=d(re),pe=f(Y),ve=X||(typeof re.start_timestamp=="number"?re.start_timestamp*1e3:Date.now()),we=typeof re.timestamp=="number"?re.timestamp*1e3:Date.now(),Pe={event_id:W,timestamp:new Date(ve).toISOString(),platform:"javascript",version:"1",release:re.release||"",environment:re.environment||v.DEFAULT_ENVIRONMENT,runtime:{name:"javascript",version:G.WINDOW.navigator.userAgent},os:{name:N,version:m,build_number:b},device:{locale:s,model:u,manufacturer:b,architecture:w,is_emulator:!1},debug_meta:{images:I(Y.resources)},profile:pe,transactions:[{name:re.transaction||"",id:re.event_id||(0,k.uuid4)(),trace_id:ae,active_thread_id:O,relative_start_ns:"0",relative_end_ns:((we-ve)*1e6).toFixed(0)}]};return Pe}function a(W){return W.op==="pageload"}function o(W){var X=void 0,Y=0,re={samples:[],stacks:[],frames:[],thread_metadata:L({},O,{name:D})};if(!W.samples.length)return re;for(var ae=W.samples[0].timestamp,pe=typeof performance.timeOrigin=="number"?performance.timeOrigin:k.browserPerformanceTimeOrigin||0,ve=pe-(k.browserPerformanceTimeOrigin||pe),we=0;we<W.samples.length;we++){var Pe=W.samples[we];if(Pe.stackId===void 0){X===void 0&&(X=Y,re.stacks[X]=[],Y++),re.samples[we]={elapsed_since_start_ns:((Pe.timestamp+ve-ae)*C).toFixed(0),stack_id:X,thread_id:O};continue}for(var ce=W.stacks[Pe.stackId],be=[];ce;){be.push(ce.frameId);var Ee=W.frames[ce.frameId];re.frames[ce.frameId]===void 0&&(re.frames[ce.frameId]={function:Ee.name,abs_path:typeof Ee.resourceId=="number"?W.resources[Ee.resourceId]:void 0,lineno:Ee.line,colno:Ee.column}),ce=ce.parentId===void 0?void 0:W.stacks[ce.parentId]}var Ie={elapsed_since_start_ns:((Pe.timestamp+ve-ae)*C).toFixed(0),stack_id:Y,thread_id:O};re.stacks[Y]=be,re.samples[we]=Ie,Y++}return re}function l(W,X){if(!X.length)return W;var Y=!0,re=!1,ae=void 0;try{for(var pe=X[Symbol.iterator](),ve;!(Y=(ve=pe.next()).done);Y=!0){var we=ve.value;W[1].push([{type:"profile"},we])}}catch(Pe){re=!0,ae=Pe}finally{try{!Y&&pe.return!=null&&pe.return()}finally{if(re)throw ae}}return W}function y(W){var X=[];return(0,k.forEachEnvelopeItem)(W,function(Y,re){if(re==="transaction")for(var ae=1;ae<Y.length;ae++){var pe=Y[ae];pe&&pe.contexts&&pe.contexts.profile&&pe.contexts.profile.profile_id&&X.push(Y[ae])}}),X}var p=new WeakMap;function I(W){var X=k.GLOBAL_OBJ._sentryDebugIds;if(!X)return[];var Y=(0,v.getCurrentHub)();if(!Y)return[];var re=Y.getClient();if(!re)return[];var ae=re.getOptions();if(!ae)return[];var pe=ae.stackParser;if(!pe)return[];var ve,we=p.get(pe);we?ve=we:(ve=new Map,p.set(pe,ve));var Pe=Object.keys(X).reduce(function(Le,et){var ot,nt=ve.get(et);nt?ot=nt:(ot=pe(et),ve.set(et,ot));for(var ct=ot.length-1;ct>=0;ct--){var gt=ot[ct],mt=gt&&gt.filename;if(gt&&mt){Le[mt]=X[et];break}}return Le},{}),ce=[],be=!0,Ee=!1,Ie=void 0;try{for(var De=W[Symbol.iterator](),Be;!(be=(Be=De.next()).done);be=!0){var $e=Be.value;$e&&Pe[$e]&&ce.push({type:"sourcemap",code_file:$e,debug_id:Pe[$e]})}}catch(Le){Ee=!0,Ie=Le}finally{try{!be&&De.return!=null&&De.return()}finally{if(Ee)throw Ie}}return ce}function P(W){return typeof W!="number"&&typeof W!="boolean"||typeof W=="number"&&isNaN(W)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.warn("[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ".concat(JSON.stringify(W)," of type ").concat(JSON.stringify(typeof W=="undefined"?"undefined":M(W)),".")),!1):W===!0||W===!1?!0:W<0||W>1?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.warn("[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ".concat(W,".")),!1):!0}function h(W){return W.samples.length<2?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.log("[Profiling] Discarding profile because it contains less than 2 samples"),!1):W.frames.length?!0:((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.log("[Profiling] Discarding profile because it contains no frames"),!1)}var _=!1,T=3e4;function A(W){return typeof W=="function"}function U(){var W=G.WINDOW.Profiler;if(!A(W)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object.");return}var X=10,Y=Math.floor(T/X);try{return new W({sampleInterval:X,maxBufferSize:Y})}catch(re){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&(k.logger.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),k.logger.log("[Profiling] Disabling profiling for current user session.")),_=!0}}function H(W){if(_)return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if(!W.sampled)return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.log("[Profiling] Discarding profile because transaction was not sampled."),!1;var X=(0,v.getCurrentHub)().getClient(),Y=X&&X.getOptions();if(!Y)return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.log("[Profiling] Profiling disabled, no options found."),!1;var re=Y.profilesSampleRate;if(!P(re))return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.warn("[Profiling] Discarding profile because of invalid sample rate."),!1;if(!re)return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),!1;var ae=re===!0?!0:Math.random()<re;return ae?!0:((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.log("[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ".concat(Number(re),")")),!1)}function F(W,X,Y,re){return h(Y)?i(W,X,Y,re):null}var z=new Map;function Z(){return z.size}function ee(W){var X=z.get(W);return X&&z.delete(W),X}function ne(W,X){if(z.set(W,X),z.size>30){var Y=z.keys().next().value;z.delete(Y)}}},471240:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(P,h){for(var _ in h)Object.defineProperty(P,_,{enumerable:!0,get:h[_]})}B(x,{captureUserFeedback:function(){return I},defaultIntegrations:function(){return f},forceLoad:function(){return a},init:function(){return d},onLoad:function(){return o},showReportDialog:function(){return i},wrap:function(){return l}});var v=S(951787),k=S(788894),G=S(756382),L=S(588040),M=S(68557),C=S(661973),O=S(723992),D=S(581756),N=S(40818),m=S(326063),w=S(838662),b=S(760929),u=S(695114);function s(P,h,_){return h in P?Object.defineProperty(P,h,{value:_,enumerable:!0,configurable:!0,writable:!0}):P[h]=_,P}function c(P){for(var h=1;h<arguments.length;h++){var _=arguments[h]!=null?arguments[h]:{},T=Object.keys(_);typeof Object.getOwnPropertySymbols=="function"&&(T=T.concat(Object.getOwnPropertySymbols(_).filter(function(A){return Object.getOwnPropertyDescriptor(_,A).enumerable}))),T.forEach(function(A){s(P,A,_[A])})}return P}function R(P,h){var _=Object.keys(P);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(P);h&&(T=T.filter(function(A){return Object.getOwnPropertyDescriptor(P,A).enumerable})),_.push.apply(_,T)}return _}function g(P,h){return h=h!=null?h:{},Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(h)):R(Object(h)).forEach(function(_){Object.defineProperty(P,_,Object.getOwnPropertyDescriptor(h,_))}),P}var f=[new v.Integrations.InboundFilters,new v.Integrations.FunctionToString,new C.TryCatch,new O.Breadcrumbs,new M.GlobalHandlers,new D.LinkedErrors,new m.Dedupe,new N.HttpContext];function d(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};P.defaultIntegrations===void 0&&(P.defaultIntegrations=f),P.release===void 0&&(typeof __SENTRY_RELEASE__=="string"&&(P.release=__SENTRY_RELEASE__),L.WINDOW.SENTRY_RELEASE&&L.WINDOW.SENTRY_RELEASE.id&&(P.release=L.WINDOW.SENTRY_RELEASE.id)),P.autoSessionTracking===void 0&&(P.autoSessionTracking=!0),P.sendClientReports===void 0&&(P.sendClientReports=!0);var h=g(c({},P),{stackParser:(0,k.stackParserFromStackParserOptions)(P.stackParser||w.defaultStackParser),integrations:(0,v.getIntegrationsToSetup)(P),transport:P.transport||((0,k.supportsFetch)()?b.makeFetchTransport:u.makeXHRTransport)});(0,v.initAndBind)(G.BrowserClient,h),P.autoSessionTracking&&p()}function i(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:(0,v.getCurrentHub)();if(!L.WINDOW.document){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.error("Global document not defined in showReportDialog call");return}var _=h.getStackTop(),T=_.client,A=_.scope,U=P.dsn||T&&T.getDsn();if(!U){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.error("DSN not configured for showReportDialog call");return}A&&(P.user=c({},A.getUser(),P.user)),P.eventId||(P.eventId=h.lastEventId());var H=L.WINDOW.document.createElement("script");H.async=!0,H.crossOrigin="anonymous",H.src=(0,v.getReportDialogEndpoint)(U,P),P.onLoad&&(H.onload=P.onLoad);var F=L.WINDOW.document.head||L.WINDOW.document.body;F?F.appendChild(H):(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.error("Not injecting report dialog. No injection point found in HTML")}function a(){}function o(P){P()}function l(P){return(0,L.wrap)(P)()}function y(P){P.startSession({ignoreDuration:!0}),P.captureSession()}function p(){if(typeof L.WINDOW.document=="undefined"){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}var P=(0,v.getCurrentHub)();!P.captureSession||(y(P),(0,k.addInstrumentationHandler)("history",function(h){var _=h.from,T=h.to;_===void 0||_===T||y((0,v.getCurrentHub)())}))}function I(P){var h=(0,v.getCurrentHub)().getClient();h&&h.captureUserFeedback(P)}},838662:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(W,X){for(var Y in X)Object.defineProperty(W,Y,{enumerable:!0,get:X[Y]})}B(x,{chromeStackLineParser:function(){return o},defaultStackLineParsers:function(){return Z},defaultStackParser:function(){return ee},geckoStackLineParser:function(){return I},opera10StackLineParser:function(){return U},opera11StackLineParser:function(){return z},winjsStackLineParser:function(){return _}});var v=S(788894);function k(W,X){(X==null||X>W.length)&&(X=W.length);for(var Y=0,re=new Array(X);Y<X;Y++)re[Y]=W[Y];return re}function G(W){if(Array.isArray(W))return W}function L(W){if(Array.isArray(W))return k(W)}function M(W){if(typeof Symbol!="undefined"&&W[Symbol.iterator]!=null||W["@@iterator"]!=null)return Array.from(W)}function C(W,X){var Y=W==null?null:typeof Symbol!="undefined"&&W[Symbol.iterator]||W["@@iterator"];if(Y!=null){var re=[],ae=!0,pe=!1,ve,we;try{for(Y=Y.call(W);!(ae=(ve=Y.next()).done)&&(re.push(ve.value),!(X&&re.length===X));ae=!0);}catch(Pe){pe=!0,we=Pe}finally{try{!ae&&Y.return!=null&&Y.return()}finally{if(pe)throw we}}return re}}function O(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function D(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function N(W,X){return G(W)||C(W,X)||w(W,X)||O()}function m(W){return L(W)||M(W)||w(W)||D()}function w(W,X){if(!!W){if(typeof W=="string")return k(W,X);var Y=Object.prototype.toString.call(W).slice(8,-1);if(Y==="Object"&&W.constructor&&(Y=W.constructor.name),Y==="Map"||Y==="Set")return Array.from(Y);if(Y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Y))return k(W,X)}}var b="?",u=10,s=20,c=30,R=40,g=50;function f(W,X,Y,re){var ae={filename:W,function:X,in_app:!0};return Y!==void 0&&(ae.lineno=Y),re!==void 0&&(ae.colno=re),ae}var d=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,i=/\((\S*)(?::(\d+))(?::(\d+))\)/,a=function(W){var X=d.exec(W);if(X){var Y=X[2]&&X[2].indexOf("eval")===0;if(Y){var re=i.exec(X[2]);re&&(X[2]=re[1],X[3]=re[2],X[4]=re[3])}var ae=N(ne(X[1]||b,X[2]),2),pe=ae[0],ve=ae[1];return f(ve,pe,X[3]?+X[3]:void 0,X[4]?+X[4]:void 0)}},o=[c,a],l=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,y=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,p=function(W){var X=l.exec(W);if(X){var Y=X[3]&&X[3].indexOf(" > eval")>-1;if(Y){var re=y.exec(X[3]);re&&(X[1]=X[1]||"eval",X[3]=re[1],X[4]=re[2],X[5]="")}var ae=X[3],pe=X[1]||b,ve;return ve=N(ne(pe,ae),2),pe=ve[0],ae=ve[1],f(ae,pe,X[4]?+X[4]:void 0,X[5]?+X[5]:void 0)}},I=[g,p],P=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,h=function(W){var X=P.exec(W);return X?f(X[2],X[1]||b,+X[3],X[4]?+X[4]:void 0):void 0},_=[R,h],T=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,A=function(W){var X=T.exec(W);return X?f(X[2],X[3]||b,+X[1]):void 0},U=[u,A],H=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,F=function(W){var X=H.exec(W);return X?f(X[5],X[3]||X[4]||b,+X[1],+X[2]):void 0},z=[s,F],Z=[o,I,_],ee=v.createStackParser.apply(void 0,m(Z)),ne=function(W,X){var Y=W.indexOf("safari-extension")!==-1,re=W.indexOf("safari-web-extension")!==-1;return Y||re?[W.indexOf("@")!==-1?W.split("@")[0]:b,Y?"safari-extension:".concat(X):"safari-web-extension:".concat(X)]:[W,X]}},760929:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"makeFetchTransport",{enumerable:!0,get:function(){return M}});var B=S(951787),v=S(788894),k=S(392693);function G(C,O,D){return O in C?Object.defineProperty(C,O,{value:D,enumerable:!0,configurable:!0,writable:!0}):C[O]=D,C}function L(C){for(var O=1;O<arguments.length;O++){var D=arguments[O]!=null?arguments[O]:{},N=Object.keys(D);typeof Object.getOwnPropertySymbols=="function"&&(N=N.concat(Object.getOwnPropertySymbols(D).filter(function(m){return Object.getOwnPropertyDescriptor(D,m).enumerable}))),N.forEach(function(m){G(C,m,D[m])})}return C}function M(C){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:(0,k.getNativeFetchImplementation)(),D=function(b){var u=b.body.length;N+=u,m++;var s=L({body:b.body,method:"POST",referrerPolicy:"origin",headers:C.headers,keepalive:N<=6e4&&m<15},C.fetchOptions);try{return O(C.url,s).then(function(c){return N-=u,m--,{statusCode:c.status,headers:{"x-sentry-rate-limits":c.headers.get("X-Sentry-Rate-Limits"),"retry-after":c.headers.get("Retry-After")}}})}catch(c){return(0,k.clearCachedFetchImplementation)(),N-=u,m--,(0,v.rejectedSyncPromise)(c)}},N=0,m=0;return(0,B.createTransport)(C,D)}},27978:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(y,p){for(var I in p)Object.defineProperty(y,I,{enumerable:!0,get:p[I]})}B(x,{createStore:function(){return g},insert:function(){return d},makeBrowserOfflineTransport:function(){return l},pop:function(){return i}});var v=S(951787),k=S(788894);function G(y,p){(p==null||p>y.length)&&(p=y.length);for(var I=0,P=new Array(p);I<p;I++)P[I]=y[I];return P}function L(y){if(Array.isArray(y))return G(y)}function M(y,p,I,P,h,_,T){try{var A=y[_](T),U=A.value}catch(H){I(H);return}A.done?p(U):Promise.resolve(U).then(P,h)}function C(y){return function(){var p=this,I=arguments;return new Promise(function(P,h){var _=y.apply(p,I);function T(U){M(_,P,h,T,A,"next",U)}function A(U){M(_,P,h,T,A,"throw",U)}T(void 0)})}}function O(y,p,I){return p in y?Object.defineProperty(y,p,{value:I,enumerable:!0,configurable:!0,writable:!0}):y[p]=I,y}function D(y){if(typeof Symbol!="undefined"&&y[Symbol.iterator]!=null||y["@@iterator"]!=null)return Array.from(y)}function N(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(y){for(var p=1;p<arguments.length;p++){var I=arguments[p]!=null?arguments[p]:{},P=Object.keys(I);typeof Object.getOwnPropertySymbols=="function"&&(P=P.concat(Object.getOwnPropertySymbols(I).filter(function(h){return Object.getOwnPropertyDescriptor(I,h).enumerable}))),P.forEach(function(h){O(y,h,I[h])})}return y}function w(y,p){var I=Object.keys(y);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(y);p&&(P=P.filter(function(h){return Object.getOwnPropertyDescriptor(y,h).enumerable})),I.push.apply(I,P)}return I}function b(y,p){return p=p!=null?p:{},Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(p)):w(Object(p)).forEach(function(I){Object.defineProperty(y,I,Object.getOwnPropertyDescriptor(p,I))}),y}function u(y){return L(y)||D(y)||s(y)||N()}function s(y,p){if(!!y){if(typeof y=="string")return G(y,p);var I=Object.prototype.toString.call(y).slice(8,-1);if(I==="Object"&&y.constructor&&(I=y.constructor.name),I==="Map"||I==="Set")return Array.from(I);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return G(y,p)}}var c=function(y,p){var I,P,h,_,T={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]};return _={next:A(0),throw:A(1),return:A(2)},typeof Symbol=="function"&&(_[Symbol.iterator]=function(){return this}),_;function A(H){return function(F){return U([H,F])}}function U(H){if(I)throw new TypeError("Generator is already executing.");for(;T;)try{if(I=1,P&&(h=H[0]&2?P.return:H[0]?P.throw||((h=P.return)&&h.call(P),0):P.next)&&!(h=h.call(P,H[1])).done)return h;switch(P=0,h&&(H=[H[0]&2,h.value]),H[0]){case 0:case 1:h=H;break;case 4:return T.label++,{value:H[1],done:!1};case 5:T.label++,P=H[1],H=[0];continue;case 7:H=T.ops.pop(),T.trys.pop();continue;default:if(h=T.trys,!(h=h.length>0&&h[h.length-1])&&(H[0]===6||H[0]===2)){T=0;continue}if(H[0]===3&&(!h||H[1]>h[0]&&H[1]<h[3])){T.label=H[1];break}if(H[0]===6&&T.label<h[1]){T.label=h[1],h=H;break}if(h&&T.label<h[2]){T.label=h[2],T.ops.push(H);break}h[2]&&T.ops.pop(),T.trys.pop();continue}H=p.call(y,T)}catch(F){H=[6,F],P=0}finally{I=h=0}if(H[0]&5)throw H[1];return{value:H[0]?H[1]:void 0,done:!0}}};function R(y){return new Promise(function(p,I){y.oncomplete=y.onsuccess=function(){return p(y.result)},y.onabort=y.onerror=function(){return I(y.error)}})}function g(y,p){var I=indexedDB.open(y);I.onupgradeneeded=function(){return I.result.createObjectStore(p)};var P=R(I);return function(h){return P.then(function(_){return h(_.transaction(p,"readwrite").objectStore(p))})}}function f(y){return R(y.getAllKeys())}function d(y,p,I){return y(function(P){return f(P).then(function(h){var _;if(!(h.length>=I))return P.put(p,(_=Math).max.apply(_,u(h).concat([0]))+1),R(P.transaction)})})}function i(y){return y(function(p){return f(p).then(function(I){if(I.length!==0)return R(p.get(I[0])).then(function(P){return p.delete(I[0]),R(p.transaction).then(function(){return P})})})})}function a(y){var p=function(){return I==null&&(I=g(y.dbName||"sentry-offline",y.storeName||"queue")),I},I;return{insert:function(){var P=C(function(h){var _,T;return c(this,function(A){switch(A.label){case 0:return A.trys.push([0,3,,4]),[4,(0,k.serializeEnvelope)(h,y.textEncoder)];case 1:return _=A.sent(),[4,d(p(),_,y.maxQueueSize||30)];case 2:return A.sent(),[3,4];case 3:return T=A.sent(),[3,4];case 4:return[2]}})});return function(h){return P.apply(this,arguments)}}(),pop:C(function(){var P,h;return c(this,function(_){switch(_.label){case 0:return _.trys.push([0,2,,3]),[4,i(p())];case 1:return P=_.sent(),P?[2,(0,k.parseEnvelope)(P,y.textEncoder||new TextEncoder,y.textDecoder||new TextDecoder)]:[3,3];case 2:return h=_.sent(),[3,3];case 3:return[2,void 0]}})})}}function o(y){return function(p){return y(b(m({},p),{createStore:a}))}}function l(y){return o((0,v.makeOfflineTransport)(y))}},392693:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(C,O){for(var D in O)Object.defineProperty(C,D,{enumerable:!0,get:O[D]})}B(x,{clearCachedFetchImplementation:function(){return M},getNativeFetchImplementation:function(){return L}});var v=S(788894),k=S(588040),G=void 0;function L(){if(G)return G;if((0,v.isNativeFetch)(k.WINDOW.fetch))return G=k.WINDOW.fetch.bind(k.WINDOW);var C=k.WINDOW.document,O=k.WINDOW.fetch;if(C&&typeof C.createElement=="function")try{var D=C.createElement("iframe");D.hidden=!0,C.head.appendChild(D);var N=D.contentWindow;N&&N.fetch&&(O=N.fetch),C.head.removeChild(D)}catch(m){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",m)}return G=O.bind(k.WINDOW)}function M(){G=void 0}},695114:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"makeXHRTransport",{enumerable:!0,get:function(){return G}});var B=S(951787),v=S(788894),k=4;function G(L){var M=function(O){return new v.SyncPromise(function(D,N){var m=new XMLHttpRequest;m.onerror=N,m.onreadystatechange=function(){m.readyState===k&&D({statusCode:m.status,headers:{"x-sentry-rate-limits":m.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":m.getResponseHeader("Retry-After")}})},m.open("POST",L.url);for(var w in L.headers)Object.prototype.hasOwnProperty.call(L.headers,w)&&m.setRequestHeader(w,L.headers[w]);m.send(O.body)})};return(0,B.createTransport)(L,M)}},770331:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"createUserFeedbackEnvelope",{enumerable:!0,get:function(){return G}});var B=S(788894);function v(M,C,O){return C in M?Object.defineProperty(M,C,{value:O,enumerable:!0,configurable:!0,writable:!0}):M[C]=O,M}function k(M){for(var C=1;C<arguments.length;C++){var O=arguments[C]!=null?arguments[C]:{},D=Object.keys(O);typeof Object.getOwnPropertySymbols=="function"&&(D=D.concat(Object.getOwnPropertySymbols(O).filter(function(N){return Object.getOwnPropertyDescriptor(O,N).enumerable}))),D.forEach(function(N){v(M,N,O[N])})}return M}function G(M,C){var O=C.metadata,D=C.tunnel,N=C.dsn,m=k({event_id:M.event_id,sent_at:new Date().toISOString()},O&&O.sdk&&{sdk:{name:O.sdk.name,version:O.sdk.version}},!!D&&!!N&&{dsn:(0,B.dsnToString)(N)}),w=L(M);return(0,B.createEnvelope)(m,[w])}function L(M){var C={type:"user_report"};return[C,M]}},324010:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(m,w){for(var b in w)Object.defineProperty(m,b,{enumerable:!0,get:w[b]})}B(x,{getEnvelopeEndpointWithUrlEncodedAuth:function(){return D},getReportDialogEndpoint:function(){return N}});var v=S(788894);function k(m,w,b){return w in m?Object.defineProperty(m,w,{value:b,enumerable:!0,configurable:!0,writable:!0}):m[w]=b,m}function G(m){for(var w=1;w<arguments.length;w++){var b=arguments[w]!=null?arguments[w]:{},u=Object.keys(b);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(b).filter(function(s){return Object.getOwnPropertyDescriptor(b,s).enumerable}))),u.forEach(function(s){k(m,s,b[s])})}return m}var L="7";function M(m){var w=m.protocol?"".concat(m.protocol,":"):"",b=m.port?":".concat(m.port):"";return"".concat(w,"//").concat(m.host).concat(b).concat(m.path?"/".concat(m.path):"","/api/")}function C(m){return"".concat(M(m)).concat(m.projectId,"/envelope/")}function O(m,w){return(0,v.urlEncode)(G({sentry_key:m.publicKey,sentry_version:L},w&&{sentry_client:"".concat(w.name,"/").concat(w.version)}))}function D(m){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=typeof w=="string"?w:w.tunnel,u=typeof w=="string"||!w._metadata?void 0:w._metadata.sdk;return b||"".concat(C(m),"?").concat(O(m,u))}function N(m,w){var b=(0,v.makeDsn)(m);if(!b)return"";var u="".concat(M(b),"embed/error-page/"),s="dsn=".concat((0,v.dsnToString)(b));for(var c in w)if(c!=="dsn")if(c==="user"){var R=w.user;if(!R)continue;R.name&&(s+="&name=".concat(encodeURIComponent(R.name))),R.email&&(s+="&email=".concat(encodeURIComponent(R.email)))}else s+="&".concat(encodeURIComponent(c),"=").concat(encodeURIComponent(w[c]));return"".concat(u,"?").concat(s)}},855440:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"BaseClient",{enumerable:!0,get:function(){return y}});var B=S(788894),v=S(324010),k=S(282651),G=S(397421),L=S(704577),M=S(735996),C=S(810501);function O(_,T){(T==null||T>_.length)&&(T=_.length);for(var A=0,U=new Array(T);A<T;A++)U[A]=_[A];return U}function D(_){if(Array.isArray(_))return _}function N(_){if(Array.isArray(_))return O(_)}function m(_,T){if(!(_ instanceof T))throw new TypeError("Cannot call a class as a function")}function w(_,T,A){return T in _?Object.defineProperty(_,T,{value:A,enumerable:!0,configurable:!0,writable:!0}):_[T]=A,_}function b(_,T){return T!=null&&typeof Symbol!="undefined"&&T[Symbol.hasInstance]?!!T[Symbol.hasInstance](_):_ instanceof T}function u(_){if(typeof Symbol!="undefined"&&_[Symbol.iterator]!=null||_["@@iterator"]!=null)return Array.from(_)}function s(_,T){var A=_==null?null:typeof Symbol!="undefined"&&_[Symbol.iterator]||_["@@iterator"];if(A!=null){var U=[],H=!0,F=!1,z,Z;try{for(A=A.call(_);!(H=(z=A.next()).done)&&(U.push(z.value),!(T&&U.length===T));H=!0);}catch(ee){F=!0,Z=ee}finally{try{!H&&A.return!=null&&A.return()}finally{if(F)throw Z}}return U}}function c(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function R(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(_){for(var T=1;T<arguments.length;T++){var A=arguments[T]!=null?arguments[T]:{},U=Object.keys(A);typeof Object.getOwnPropertySymbols=="function"&&(U=U.concat(Object.getOwnPropertySymbols(A).filter(function(H){return Object.getOwnPropertyDescriptor(A,H).enumerable}))),U.forEach(function(H){w(_,H,A[H])})}return _}function f(_,T){var A=Object.keys(_);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(_);T&&(U=U.filter(function(H){return Object.getOwnPropertyDescriptor(_,H).enumerable})),A.push.apply(A,U)}return A}function d(_,T){return T=T!=null?T:{},Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(T)):f(Object(T)).forEach(function(A){Object.defineProperty(_,A,Object.getOwnPropertyDescriptor(T,A))}),_}function i(_,T){return D(_)||s(_,T)||o(_,T)||c()}function a(_){return N(_)||u(_)||o(_)||R()}function o(_,T){if(!!_){if(typeof _=="string")return O(_,T);var A=Object.prototype.toString.call(_).slice(8,-1);if(A==="Object"&&_.constructor&&(A=_.constructor.name),A==="Map"||A==="Set")return Array.from(A);if(A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return O(_,T)}}var l="Not capturing exception because it's already been captured.",y=function(){"use strict";function _(A){if(m(this,_),this._options=A,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],A.dsn?this._dsn=(0,B.makeDsn)(A.dsn):(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.warn("No DSN provided, client will not send events."),this._dsn){var U=(0,v.getEnvelopeEndpointWithUrlEncodedAuth)(this._dsn,A);this._transport=A.transport(d(g({recordDroppedEvent:this.recordDroppedEvent.bind(this)},A.transportOptions),{url:U}))}}var T=_.prototype;return T.captureException=function(U,H,F){var z=this;if((0,B.checkOrSetAlreadyCaught)(U)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.log(l);return}var Z=H&&H.event_id;return this._process(this.eventFromException(U,H).then(function(ee){return z._captureEvent(ee,H,F)}).then(function(ee){Z=ee})),Z},T.captureMessage=function(U,H,F,z){var Z=this,ee=F&&F.event_id,ne=(0,B.isPrimitive)(U)?this.eventFromMessage(String(U),H,F):this.eventFromException(U,F);return this._process(ne.then(function(W){return Z._captureEvent(W,F,z)}).then(function(W){ee=W})),ee},T.captureEvent=function(U,H,F){if(H&&H.originalException&&(0,B.checkOrSetAlreadyCaught)(H.originalException)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.log(l);return}var z=H&&H.event_id;return this._process(this._captureEvent(U,H,F).then(function(Z){z=Z})),z},T.captureSession=function(U){typeof U.release!="string"?(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.warn("Discarded session because of missing or non-string release"):(this.sendSession(U),(0,L.updateSession)(U,{init:!1}))},T.getDsn=function(){return this._dsn},T.getOptions=function(){return this._options},T.getSdkMetadata=function(){return this._options._metadata},T.getTransport=function(){return this._transport},T.flush=function(U){var H=this._transport;return H?this._isClientDoneProcessing(U).then(function(F){return H.flush(U).then(function(z){return F&&z})}):(0,B.resolvedSyncPromise)(!0)},T.close=function(U){var H=this;return this.flush(U).then(function(F){return H.getOptions().enabled=!1,F})},T.getEventProcessors=function(){return this._eventProcessors},T.addEventProcessor=function(U){this._eventProcessors.push(U)},T.setupIntegrations=function(U){(U&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&(this._integrations=(0,G.setupIntegrations)(this,this._options.integrations),this._integrationsInitialized=!0)},T.getIntegrationById=function(U){return this._integrations[U]},T.getIntegration=function(U){try{return this._integrations[U.id]||null}catch(H){return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.warn("Cannot retrieve integration ".concat(U.id," from the current Client")),null}},T.addIntegration=function(U){(0,G.setupIntegration)(this,U,this._integrations)},T.sendEvent=function(U){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},F=this;this.emit("beforeSendEvent",U,H);var z=(0,k.createEventEnvelope)(U,this._dsn,this._options._metadata,this._options.tunnel),Z=!0,ee=!1,ne=void 0;try{for(var W=(H.attachments||[])[Symbol.iterator](),X;!(Z=(X=W.next()).done);Z=!0){var Y=X.value;z=(0,B.addItemToEnvelope)(z,(0,B.createAttachmentEnvelopeItem)(Y,this._options.transportOptions&&this._options.transportOptions.textEncoder))}}catch(ae){ee=!0,ne=ae}finally{try{!Z&&W.return!=null&&W.return()}finally{if(ee)throw ne}}var re=this._sendEnvelope(z);re&&re.then(function(ae){return F.emit("afterSendEvent",U,ae)},null)},T.sendSession=function(U){var H=(0,k.createSessionEnvelope)(U,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(H)},T.recordDroppedEvent=function(U,H,F){if(this._options.sendClientReports){var z="".concat(U,":").concat(H);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.log('Adding outcome: "'.concat(z,'"')),this._outcomes[z]=this._outcomes[z]+1||1}},T.on=function(U,H){this._hooks[U]||(this._hooks[U]=[]),this._hooks[U].push(H)},T.emit=function(U){for(var H=arguments.length,F=new Array(H>1?H-1:0),z=1;z<H;z++)F[z-1]=arguments[z];this._hooks[U]&&this._hooks[U].forEach(function(Z){return Z.apply(void 0,a(F))})},T._updateSessionFromEvent=function(U,H){var F=!1,z=!1,Z=H.exception&&H.exception.values;if(Z){z=!0;var ee=!0,ne=!1,W=void 0;try{for(var X=Z[Symbol.iterator](),Y;!(ee=(Y=X.next()).done);ee=!0){var re=Y.value,ae=re.mechanism;if(ae&&ae.handled===!1){F=!0;break}}}catch(we){ne=!0,W=we}finally{try{!ee&&X.return!=null&&X.return()}finally{if(ne)throw W}}}var pe=U.status==="ok",ve=pe&&U.errors===0||pe&&F;ve&&((0,L.updateSession)(U,d(g({},F&&{status:"crashed"}),{errors:U.errors||Number(z||F)})),this.captureSession(U))},T._isClientDoneProcessing=function(U){var H=this;return new B.SyncPromise(function(F){var z=0,Z=1,ee=setInterval(function(){H._numProcessing==0?(clearInterval(ee),F(!0)):(z+=Z,U&&z>=U&&(clearInterval(ee),F(!1)))},Z)})},T._isEnabled=function(){return this.getOptions().enabled!==!1&&this._transport!==void 0},T._prepareEvent=function(U,H,F){var z=this,Z=this.getOptions(),ee=Object.keys(this._integrations);return!H.integrations&&ee.length>0&&(H.integrations=ee),this.emit("preprocessEvent",U,H),(0,C.prepareEvent)(Z,U,H,F,this).then(function(ne){if(ne===null)return ne;var W=(ne.sdkProcessingMetadata||{}).propagationContext,X=ne.contexts&&ne.contexts.trace;if(!X&&W){var Y=W.traceId,re=W.spanId,ae=W.parentSpanId,pe=W.dsc;ne.contexts=g({trace:{trace_id:Y,span_id:re,parent_span_id:ae}},ne.contexts);var ve=pe||(0,M.getDynamicSamplingContextFromClient)(Y,z,F);ne.sdkProcessingMetadata=g({dynamicSamplingContext:ve},ne.sdkProcessingMetadata)}return ne})},T._captureEvent=function(U){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},F=arguments.length>2?arguments[2]:void 0;return this._processEvent(U,H,F).then(function(z){return z.event_id},function(z){if(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__){var Z=z;Z.logLevel==="log"?B.logger.log(Z.message):B.logger.warn(Z)}})},T._processEvent=function(U,H,F){var z=this,Z=this.getOptions(),ee=Z.sampleRate,ne=h(U),W=P(U),X=U.type||"error",Y="before send for type `".concat(X,"`");if(W&&typeof ee=="number"&&Math.random()>ee)return this.recordDroppedEvent("sample_rate","error",U),(0,B.rejectedSyncPromise)(new B.SentryError("Discarding event because it's not included in the random sample (sampling rate = ".concat(ee,")"),"log"));var re=X==="replay_event"?"replay":X;return this._prepareEvent(U,H,F).then(function(ae){if(ae===null)throw z.recordDroppedEvent("event_processor",re,U),new B.SentryError("An event processor returned `null`, will not send event.","log");var pe=H.data&&H.data.__sentry__===!0;if(pe)return ae;var ve=I(Z,ae,H);return p(ve,Y)}).then(function(ae){if(ae===null)throw z.recordDroppedEvent("before_send",re,U),new B.SentryError("".concat(Y," returned `null`, will not send event."),"log");var pe=F&&F.getSession();!ne&&pe&&z._updateSessionFromEvent(pe,ae);var ve=ae.transaction_info;if(ne&&ve&&ae.transaction!==U.transaction){var we="custom";ae.transaction_info=d(g({},ve),{source:we})}return z.sendEvent(ae,H),ae}).then(null,function(ae){throw b(ae,B.SentryError)?ae:(z.captureException(ae,{data:{__sentry__:!0},originalException:ae}),new B.SentryError("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ".concat(ae)))})},T._process=function(U){var H=this;this._numProcessing++,U.then(function(F){return H._numProcessing--,F},function(F){return H._numProcessing--,F})},T._sendEnvelope=function(U){if(this.emit("beforeEnvelope",U),this._isEnabled()&&this._transport)return this._transport.send(U).then(null,function(H){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.error("Error while sending event:",H)});(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.error("Transport disabled")},T._clearOutcomes=function(){var U=this._outcomes;return this._outcomes={},Object.keys(U).map(function(H){var F=i(H.split(":"),2),z=F[0],Z=F[1];return{reason:z,category:Z,quantity:U[H]}})},_}();function p(_,T){var A="".concat(T," must return `null` or a valid event.");if((0,B.isThenable)(_))return _.then(function(U){if(!(0,B.isPlainObject)(U)&&U!==null)throw new B.SentryError(A);return U},function(U){throw new B.SentryError("".concat(T," rejected with ").concat(U))});if(!(0,B.isPlainObject)(_)&&_!==null)throw new B.SentryError(A);return _}function I(_,T,A){var U=_.beforeSend,H=_.beforeSendTransaction;return P(T)&&U?U(T,A):h(T)&&H?H(T,A):T}function P(_){return _.type===void 0}function h(_){return _.type==="transaction"}},222919:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"createCheckInEnvelope",{enumerable:!0,get:function(){return v}});var B=S(788894);function v(G,L,M,C,O){var D={sent_at:new Date().toISOString()};M&&M.sdk&&(D.sdk={name:M.sdk.name,version:M.sdk.version}),!!C&&!!O&&(D.dsn=(0,B.dsnToString)(O)),L&&(D.trace=(0,B.dropUndefinedKeys)(L));var N=k(G);return(0,B.createEnvelope)(D,[N])}function k(G){var L={type:"check_in"};return[L,G]}},939395:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"DEFAULT_ENVIRONMENT",{enumerable:!0,get:function(){return S}});var S="production"},282651:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(u,s){for(var c in s)Object.defineProperty(u,c,{enumerable:!0,get:s[c]})}B(x,{createEventEnvelope:function(){return b},createSessionEnvelope:function(){return w}});var v=S(788894);function k(u,s){(s==null||s>u.length)&&(s=u.length);for(var c=0,R=new Array(s);c<s;c++)R[c]=u[c];return R}function G(u){if(Array.isArray(u))return k(u)}function L(u,s,c){return s in u?Object.defineProperty(u,s,{value:c,enumerable:!0,configurable:!0,writable:!0}):u[s]=c,u}function M(u){if(typeof Symbol!="undefined"&&u[Symbol.iterator]!=null||u["@@iterator"]!=null)return Array.from(u)}function C(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function O(u){for(var s=1;s<arguments.length;s++){var c=arguments[s]!=null?arguments[s]:{},R=Object.keys(c);typeof Object.getOwnPropertySymbols=="function"&&(R=R.concat(Object.getOwnPropertySymbols(c).filter(function(g){return Object.getOwnPropertyDescriptor(c,g).enumerable}))),R.forEach(function(g){L(u,g,c[g])})}return u}function D(u){return G(u)||M(u)||N(u)||C()}function N(u,s){if(!!u){if(typeof u=="string")return k(u,s);var c=Object.prototype.toString.call(u).slice(8,-1);if(c==="Object"&&u.constructor&&(c=u.constructor.name),c==="Map"||c==="Set")return Array.from(c);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return k(u,s)}}function m(u,s){return s&&(u.sdk=u.sdk||{},u.sdk.name=u.sdk.name||s.name,u.sdk.version=u.sdk.version||s.version,u.sdk.integrations=D(u.sdk.integrations||[]).concat(D(s.integrations||[])),u.sdk.packages=D(u.sdk.packages||[]).concat(D(s.packages||[]))),u}function w(u,s,c,R){var g=(0,v.getSdkMetadataForEnvelopeHeader)(c),f=O({sent_at:new Date().toISOString()},g&&{sdk:g},!!R&&s&&{dsn:(0,v.dsnToString)(s)}),d="aggregates"in u?[{type:"sessions"},u]:[{type:"session"},u.toJSON()];return(0,v.createEnvelope)(f,[d])}function b(u,s,c,R){var g=(0,v.getSdkMetadataForEnvelopeHeader)(c),f=u.type&&u.type!=="replay_event"?u.type:"event";m(u,c&&c.sdk);var d=(0,v.createEventEnvelopeHeaders)(u,g,R,s);delete u.sdkProcessingMetadata;var i=[{type:f},u];return(0,v.createEnvelope)(d,[i])}},514271:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(O,D){for(var N in D)Object.defineProperty(O,N,{enumerable:!0,get:D[N]})}B(x,{addGlobalEventProcessor:function(){return M},getGlobalEventProcessors:function(){return L},notifyEventProcessors:function(){return C}});var v=S(788894);function k(O,D,N){return D in O?Object.defineProperty(O,D,{value:N,enumerable:!0,configurable:!0,writable:!0}):O[D]=N,O}function G(O){for(var D=1;D<arguments.length;D++){var N=arguments[D]!=null?arguments[D]:{},m=Object.keys(N);typeof Object.getOwnPropertySymbols=="function"&&(m=m.concat(Object.getOwnPropertySymbols(N).filter(function(w){return Object.getOwnPropertyDescriptor(N,w).enumerable}))),m.forEach(function(w){k(O,w,N[w])})}return O}function L(){return(0,v.getGlobalSingleton)("globalEventProcessors",function(){return[]})}function M(O){L().push(O)}function C(O,D,N){var m=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return new v.SyncPromise(function(w,b){var u=O[m];if(D===null||typeof u!="function")w(D);else{var s=u(G({},D),N);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&u.id&&s===null&&v.logger.log('Event processor "'.concat(u.id,'" dropped event')),(0,v.isThenable)(s)?s.then(function(c){return C(O,c,N,m+1).then(w)}).then(null,b):C(O,s,N,m+1).then(w).then(null,b)}})}},197012:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(h,_){for(var T in _)Object.defineProperty(h,T,{enumerable:!0,get:_[T]})}B(x,{addBreadcrumb:function(){return b},captureCheckIn:function(){return a},captureEvent:function(){return m},captureException:function(){return D},captureMessage:function(){return N},close:function(){return p},configureScope:function(){return w},flush:function(){return l},lastEventId:function(){return P},setContext:function(){return u},setExtra:function(){return c},setExtras:function(){return s},setTag:function(){return g},setTags:function(){return R},setUser:function(){return f},startTransaction:function(){return i},withMonitor:function(){return o},withScope:function(){return d}});var v=S(788894),k=S(329391);function G(h,_,T,A,U,H,F){try{var z=h[H](F),Z=z.value}catch(ee){T(ee);return}z.done?_(Z):Promise.resolve(Z).then(A,U)}function L(h){return function(){var _=this,T=arguments;return new Promise(function(A,U){var H=h.apply(_,T);function F(Z){G(H,A,U,F,z,"next",Z)}function z(Z){G(H,A,U,F,z,"throw",Z)}F(void 0)})}}function M(h,_,T){return _ in h?Object.defineProperty(h,_,{value:T,enumerable:!0,configurable:!0,writable:!0}):h[_]=T,h}function C(h){for(var _=1;_<arguments.length;_++){var T=arguments[_]!=null?arguments[_]:{},A=Object.keys(T);typeof Object.getOwnPropertySymbols=="function"&&(A=A.concat(Object.getOwnPropertySymbols(T).filter(function(U){return Object.getOwnPropertyDescriptor(T,U).enumerable}))),A.forEach(function(U){M(h,U,T[U])})}return h}var O=function(h,_){var T,A,U,H,F={label:0,sent:function(){if(U[0]&1)throw U[1];return U[1]},trys:[],ops:[]};return H={next:z(0),throw:z(1),return:z(2)},typeof Symbol=="function"&&(H[Symbol.iterator]=function(){return this}),H;function z(ee){return function(ne){return Z([ee,ne])}}function Z(ee){if(T)throw new TypeError("Generator is already executing.");for(;F;)try{if(T=1,A&&(U=ee[0]&2?A.return:ee[0]?A.throw||((U=A.return)&&U.call(A),0):A.next)&&!(U=U.call(A,ee[1])).done)return U;switch(A=0,U&&(ee=[ee[0]&2,U.value]),ee[0]){case 0:case 1:U=ee;break;case 4:return F.label++,{value:ee[1],done:!1};case 5:F.label++,A=ee[1],ee=[0];continue;case 7:ee=F.ops.pop(),F.trys.pop();continue;default:if(U=F.trys,!(U=U.length>0&&U[U.length-1])&&(ee[0]===6||ee[0]===2)){F=0;continue}if(ee[0]===3&&(!U||ee[1]>U[0]&&ee[1]<U[3])){F.label=ee[1];break}if(ee[0]===6&&F.label<U[1]){F.label=U[1],U=ee;break}if(U&&F.label<U[2]){F.label=U[2],F.ops.push(ee);break}U[2]&&F.ops.pop(),F.trys.pop();continue}ee=_.call(h,F)}catch(ne){ee=[6,ne],A=0}finally{T=U=0}if(ee[0]&5)throw ee[1];return{value:ee[0]?ee[1]:void 0,done:!0}}};function D(h,_){return(0,k.getCurrentHub)().captureException(h,{captureContext:_})}function N(h,_){var T=typeof _=="string"?_:void 0,A=typeof _!="string"?{captureContext:_}:void 0;return(0,k.getCurrentHub)().captureMessage(h,T,A)}function m(h,_){return(0,k.getCurrentHub)().captureEvent(h,_)}function w(h){(0,k.getCurrentHub)().configureScope(h)}function b(h){(0,k.getCurrentHub)().addBreadcrumb(h)}function u(h,_){(0,k.getCurrentHub)().setContext(h,_)}function s(h){(0,k.getCurrentHub)().setExtras(h)}function c(h,_){(0,k.getCurrentHub)().setExtra(h,_)}function R(h){(0,k.getCurrentHub)().setTags(h)}function g(h,_){(0,k.getCurrentHub)().setTag(h,_)}function f(h){(0,k.getCurrentHub)().setUser(h)}function d(h){(0,k.getCurrentHub)().withScope(h)}function i(h,_){return(0,k.getCurrentHub)().startTransaction(C({},h),_)}function a(h,_){var T=(0,k.getCurrentHub)(),A=T.getScope(),U=T.getClient();if(!U)(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.warn("Cannot capture check-in. No client defined.");else if(!U.captureCheckIn)(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.warn("Cannot capture check-in. Client does not support sending check-ins.");else return U.captureCheckIn(h,_,A);return(0,v.uuid4)()}function o(h,_,T){var A=function(Z){a({monitorSlug:h,status:Z,checkInId:U,duration:(0,v.timestampInSeconds)()-H})},U=a({monitorSlug:h,status:"in_progress"},T),H=(0,v.timestampInSeconds)(),F;try{F=_()}catch(z){throw A("error"),z}return(0,v.isThenable)(F)?Promise.resolve(F).then(function(){A("ok")},function(){A("error")}):A("ok"),F}function l(h){return y.apply(this,arguments)}function y(){return y=L(function(h){var _;return O(this,function(T){return _=(0,k.getCurrentHub)().getClient(),_?[2,_.flush(h)]:((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.warn("Cannot flush events. No client defined."),[2,Promise.resolve(!1)])})}),y.apply(this,arguments)}function p(h){return I.apply(this,arguments)}function I(){return I=L(function(h){var _;return O(this,function(T){return _=(0,k.getCurrentHub)().getClient(),_?[2,_.close(h)]:((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.warn("Cannot flush events and disable SDK. No client defined."),[2,Promise.resolve(!1)])})}),I.apply(this,arguments)}function P(){return(0,k.getCurrentHub)().lastEventId()}},329391:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(l,y){for(var p in y)Object.defineProperty(l,p,{enumerable:!0,get:y[p]})}B(x,{API_VERSION:function(){return m},Hub:function(){return b},ensureHubOnCarrier:function(){return g},getCurrentHub:function(){return c},getHubFromCarrier:function(){return a},getMainCarrier:function(){return u},makeMain:function(){return s},runWithAsyncContext:function(){return d},setAsyncContextStrategy:function(){return f},setHubOnCarrier:function(){return o}});var v=S(788894),k=S(939395),G=S(526266),L=S(704577);function M(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")}function C(l,y,p){return y in l?Object.defineProperty(l,y,{value:p,enumerable:!0,configurable:!0,writable:!0}):l[y]=p,l}function O(l){for(var y=1;y<arguments.length;y++){var p=arguments[y]!=null?arguments[y]:{},I=Object.keys(p);typeof Object.getOwnPropertySymbols=="function"&&(I=I.concat(Object.getOwnPropertySymbols(p).filter(function(P){return Object.getOwnPropertyDescriptor(p,P).enumerable}))),I.forEach(function(P){C(l,P,p[P])})}return l}function D(l,y){var p=Object.keys(l);if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(l);y&&(I=I.filter(function(P){return Object.getOwnPropertyDescriptor(l,P).enumerable})),p.push.apply(p,I)}return p}function N(l,y){return y=y!=null?y:{},Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(y)):D(Object(y)).forEach(function(p){Object.defineProperty(l,p,Object.getOwnPropertyDescriptor(y,p))}),l}var m=4,w=100,b=function(){"use strict";function l(p){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new G.Scope,P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:m;M(this,l),this._version=P,this._stack=[{scope:I}],p&&this.bindClient(p)}var y=l.prototype;return y.isOlderThan=function(I){return this._version<I},y.bindClient=function(I){var P=this.getStackTop();P.client=I,I&&I.setupIntegrations&&I.setupIntegrations()},y.pushScope=function(){var I=G.Scope.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:I}),I},y.popScope=function(){return this.getStack().length<=1?!1:!!this.getStack().pop()},y.withScope=function(I){var P=this.pushScope();try{I(P)}finally{this.popScope()}},y.getClient=function(){return this.getStackTop().client},y.getScope=function(){return this.getStackTop().scope},y.getStack=function(){return this._stack},y.getStackTop=function(){return this._stack[this._stack.length-1]},y.captureException=function(I,P){var h=this._lastEventId=P&&P.event_id?P.event_id:(0,v.uuid4)(),_=new Error("Sentry syntheticException");return this._withClient(function(T,A){T.captureException(I,N(O({originalException:I,syntheticException:_},P),{event_id:h}),A)}),h},y.captureMessage=function(I,P,h){var _=this._lastEventId=h&&h.event_id?h.event_id:(0,v.uuid4)(),T=new Error(I);return this._withClient(function(A,U){A.captureMessage(I,P,N(O({originalException:I,syntheticException:T},h),{event_id:_}),U)}),_},y.captureEvent=function(I,P){var h=P&&P.event_id?P.event_id:(0,v.uuid4)();return I.type||(this._lastEventId=h),this._withClient(function(_,T){_.captureEvent(I,N(O({},P),{event_id:h}),T)}),h},y.lastEventId=function(){return this._lastEventId},y.addBreadcrumb=function(I,P){var h=this.getStackTop(),_=h.scope,T=h.client;if(!!T){var A=T.getOptions&&T.getOptions()||{},U=A.beforeBreadcrumb,H=U===void 0?null:U,F=A.maxBreadcrumbs,z=F===void 0?w:F;if(!(z<=0)){var Z=(0,v.dateTimestampInSeconds)(),ee=O({timestamp:Z},I),ne=H?(0,v.consoleSandbox)(function(){return H(ee,P)}):ee;ne!==null&&(T.emit&&T.emit("beforeAddBreadcrumb",ne,P),_.addBreadcrumb(ne,z))}}},y.setUser=function(I){this.getScope().setUser(I)},y.setTags=function(I){this.getScope().setTags(I)},y.setExtras=function(I){this.getScope().setExtras(I)},y.setTag=function(I,P){this.getScope().setTag(I,P)},y.setExtra=function(I,P){this.getScope().setExtra(I,P)},y.setContext=function(I,P){this.getScope().setContext(I,P)},y.configureScope=function(I){var P=this.getStackTop(),h=P.scope,_=P.client;_&&I(h)},y.run=function(I){var P=s(this);try{I(this)}finally{s(P)}},y.getIntegration=function(I){var P=this.getClient();if(!P)return null;try{return P.getIntegration(I)}catch(h){return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.warn("Cannot retrieve integration ".concat(I.id," from the current Hub")),null}},y.startTransaction=function(I,P){var h=this._callExtensionMethod("startTransaction",I,P);if((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&!h){var _=this.getClient();console.warn(_?"Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n":"Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")}return h},y.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},y.captureSession=function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(I)return this.endSession();this._sendSessionUpdate()},y.endSession=function(){var I=this.getStackTop(),P=I.scope,h=P.getSession();h&&(0,L.closeSession)(h),this._sendSessionUpdate(),P.setSession()},y.startSession=function(I){var P=this.getStackTop(),h=P.scope,_=P.client,T=_&&_.getOptions()||{},A=T.release,U=T.environment,H=U===void 0?k.DEFAULT_ENVIRONMENT:U,F=(v.GLOBAL_OBJ.navigator||{}).userAgent,z=(0,L.makeSession)(O({release:A,environment:H,user:h.getUser()},F&&{userAgent:F},I)),Z=h.getSession&&h.getSession();return Z&&Z.status==="ok"&&(0,L.updateSession)(Z,{status:"exited"}),this.endSession(),h.setSession(z),z},y.shouldSendDefaultPii=function(){var I=this.getClient(),P=I&&I.getOptions();return Boolean(P&&P.sendDefaultPii)},y._sendSessionUpdate=function(){var I=this.getStackTop(),P=I.scope,h=I.client,_=P.getSession();_&&h&&h.captureSession&&h.captureSession(_)},y._withClient=function(I){var P=this.getStackTop(),h=P.scope,_=P.client;_&&I(_,h)},y._callExtensionMethod=function(I){for(var P=arguments.length,h=new Array(P>1?P-1:0),_=1;_<P;_++)h[_-1]=arguments[_];var T=u(),A=T.__SENTRY__;if(A&&A.extensions&&typeof A.extensions[I]=="function")return A.extensions[I].apply(this,h);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.warn("Extension method ".concat(I," couldn't be found, doing nothing."))},l}();function u(){return v.GLOBAL_OBJ.__SENTRY__=v.GLOBAL_OBJ.__SENTRY__||{extensions:{},hub:void 0},v.GLOBAL_OBJ}function s(l){var y=u(),p=a(y);return o(y,l),p}function c(){var l=u();if(l.__SENTRY__&&l.__SENTRY__.acs){var y=l.__SENTRY__.acs.getCurrentHub();if(y)return y}return R(l)}function R(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:u();return(!i(l)||a(l).isOlderThan(m))&&o(l,new b),a(l)}function g(l){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:R();if(!i(l)||a(l).isOlderThan(m)){var p=y.getStackTop();o(l,new b(p.client,G.Scope.clone(p.scope)))}}function f(l){var y=u();y.__SENTRY__=y.__SENTRY__||{},y.__SENTRY__.acs=l}function d(l){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},p=u();return p.__SENTRY__&&p.__SENTRY__.acs?p.__SENTRY__.acs.runWithAsyncContext(l,y):l()}function i(l){return!!(l&&l.__SENTRY__&&l.__SENTRY__.hub)}function a(l){return(0,v.getGlobalSingleton)("hub",function(){return new b},l)}function o(l,y){if(!l)return!1;var p=l.__SENTRY__=l.__SENTRY__||{};return p.hub=y,!0}},951787:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(ne,W){for(var X in W)Object.defineProperty(ne,X,{enumerable:!0,get:W[X]})}B(x,{addTracingExtensions:function(){return v.addTracingExtensions},startIdleTransaction:function(){return v.startIdleTransaction},IdleTransaction:function(){return k.IdleTransaction},TRACING_DEFAULTS:function(){return k.TRACING_DEFAULTS},Span:function(){return G.Span},spanStatusfromHttpCode:function(){return G.spanStatusfromHttpCode},Transaction:function(){return L.Transaction},getActiveTransaction:function(){return M.getActiveTransaction},SpanStatus:function(){return C.SpanStatus},continueTrace:function(){return O.continueTrace},getActiveSpan:function(){return O.getActiveSpan},startActiveSpan:function(){return O.startActiveSpan},startInactiveSpan:function(){return O.startInactiveSpan},startSpan:function(){return O.startSpan},startSpanManual:function(){return O.startSpanManual},trace:function(){return O.trace},getDynamicSamplingContextFromClient:function(){return D.getDynamicSamplingContextFromClient},setMeasurement:function(){return N.setMeasurement},addBreadcrumb:function(){return m.addBreadcrumb},captureCheckIn:function(){return m.captureCheckIn},captureEvent:function(){return m.captureEvent},captureException:function(){return m.captureException},captureMessage:function(){return m.captureMessage},close:function(){return m.close},configureScope:function(){return m.configureScope},flush:function(){return m.flush},lastEventId:function(){return m.lastEventId},setContext:function(){return m.setContext},setExtra:function(){return m.setExtra},setExtras:function(){return m.setExtras},setTag:function(){return m.setTag},setTags:function(){return m.setTags},setUser:function(){return m.setUser},startTransaction:function(){return m.startTransaction},withMonitor:function(){return m.withMonitor},withScope:function(){return m.withScope},Hub:function(){return w.Hub},ensureHubOnCarrier:function(){return w.ensureHubOnCarrier},getCurrentHub:function(){return w.getCurrentHub},getHubFromCarrier:function(){return w.getHubFromCarrier},getMainCarrier:function(){return w.getMainCarrier},makeMain:function(){return w.makeMain},runWithAsyncContext:function(){return w.runWithAsyncContext},setAsyncContextStrategy:function(){return w.setAsyncContextStrategy},setHubOnCarrier:function(){return w.setHubOnCarrier},closeSession:function(){return b.closeSession},makeSession:function(){return b.makeSession},updateSession:function(){return b.updateSession},SessionFlusher:function(){return u.SessionFlusher},Scope:function(){return s.Scope},addGlobalEventProcessor:function(){return c.addGlobalEventProcessor},getEnvelopeEndpointWithUrlEncodedAuth:function(){return R.getEnvelopeEndpointWithUrlEncodedAuth},getReportDialogEndpoint:function(){return R.getReportDialogEndpoint},BaseClient:function(){return g.BaseClient},ServerRuntimeClient:function(){return f.ServerRuntimeClient},initAndBind:function(){return d.initAndBind},createTransport:function(){return i.createTransport},makeOfflineTransport:function(){return a.makeOfflineTransport},makeMultiplexedTransport:function(){return o.makeMultiplexedTransport},SDK_VERSION:function(){return l.SDK_VERSION},addIntegration:function(){return y.addIntegration},getIntegrationsToSetup:function(){return y.getIntegrationsToSetup},Integrations:function(){return p},prepareEvent:function(){return I.prepareEvent},createCheckInEnvelope:function(){return P.createCheckInEnvelope},hasTracingEnabled:function(){return h.hasTracingEnabled},isSentryRequestUrl:function(){return _.isSentryRequestUrl},DEFAULT_ENVIRONMENT:function(){return T.DEFAULT_ENVIRONMENT},ModuleMetadata:function(){return A.ModuleMetadata},FunctionToString:function(){return U.FunctionToString},InboundFilters:function(){return H.InboundFilters},LinkedErrors:function(){return F.LinkedErrors},extractTraceparentData:function(){return z.extractTraceparentData}});var v=S(231069),k=S(791821),G=S(685560),L=S(610526),M=S(390468),C=S(597047),O=S(486273),D=S(735996),N=S(178063),m=S(197012),w=S(329391),b=S(704577),u=S(414259),s=S(526266),c=S(514271),R=S(324010),g=S(855440),f=S(800393),d=S(390065),i=S(85806),a=S(360644),o=S(477971),l=S(689789),y=S(397421),p=ee(S(51850)),I=S(810501),P=S(222919),h=S(704503),_=S(499642),T=S(939395),A=S(929667),U=S(554875),H=S(731877),F=S(918276),z=S(788894);function Z(ne){if(typeof WeakMap!="function")return null;var W=new WeakMap,X=new WeakMap;return(Z=function(Y){return Y?X:W})(ne)}function ee(ne,W){if(!W&&ne&&ne.__esModule)return ne;if(ne===null||typeof ne!="object"&&typeof ne!="function")return{default:ne};var X=Z(W);if(X&&X.has(ne))return X.get(ne);var Y={},re=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ae in ne)if(ae!=="default"&&Object.prototype.hasOwnProperty.call(ne,ae)){var pe=re?Object.getOwnPropertyDescriptor(ne,ae):null;pe&&(pe.get||pe.set)?Object.defineProperty(Y,ae,pe):Y[ae]=ne[ae]}return Y.default=ne,X&&X.set(ne,Y),Y}},397421:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(a,o){for(var l in o)Object.defineProperty(a,l,{enumerable:!0,get:o[l]})}B(x,{addIntegration:function(){return d},getIntegrationsToSetup:function(){return R},installedIntegrations:function(){return s},setupIntegration:function(){return f},setupIntegrations:function(){return g}});var v=S(788894),k=S(514271),G=S(329391);function L(a,o){(o==null||o>a.length)&&(o=a.length);for(var l=0,y=new Array(o);l<o;l++)y[l]=a[l];return y}function M(a){if(Array.isArray(a))return a}function C(a){if(Array.isArray(a))return L(a)}function O(a){if(typeof Symbol!="undefined"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function D(a,o){var l=a==null?null:typeof Symbol!="undefined"&&a[Symbol.iterator]||a["@@iterator"];if(l!=null){var y=[],p=!0,I=!1,P,h;try{for(l=l.call(a);!(p=(P=l.next()).done)&&(y.push(P.value),!(o&&y.length===o));p=!0);}catch(_){I=!0,h=_}finally{try{!p&&l.return!=null&&l.return()}finally{if(I)throw h}}return y}}function N(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function w(a,o){return M(a)||D(a,o)||u(a,o)||N()}function b(a){return C(a)||O(a)||u(a)||m()}function u(a,o){if(!!a){if(typeof a=="string")return L(a,o);var l=Object.prototype.toString.call(a).slice(8,-1);if(l==="Object"&&a.constructor&&(l=a.constructor.name),l==="Map"||l==="Set")return Array.from(l);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return L(a,o)}}var s=[];function c(a){var o={};return a.forEach(function(l){var y=l.name,p=o[y];p&&!p.isDefaultInstance&&l.isDefaultInstance||(o[y]=l)}),Object.keys(o).map(function(l){return o[l]})}function R(a){var o=a.defaultIntegrations||[],l=a.integrations;o.forEach(function(_){_.isDefaultInstance=!0});var y;Array.isArray(l)?y=b(o).concat(b(l)):typeof l=="function"?y=(0,v.arrayify)(l(o)):y=o;var p=c(y),I=i(p,function(_){return _.name==="Debug"});if(I!==-1){var P=w(p.splice(I,1),1),h=P[0];p.push(h)}return p}function g(a,o){var l={};return o.forEach(function(y){y&&f(a,y,l)}),l}function f(a,o,l){if(l[o.name]=o,s.indexOf(o.name)===-1&&(o.setupOnce(k.addGlobalEventProcessor,G.getCurrentHub),s.push(o.name)),a.on&&typeof o.preprocessEvent=="function"){var y=o.preprocessEvent.bind(o);a.on("preprocessEvent",function(P,h){return y(P,h,a)})}if(a.addEventProcessor&&typeof o.processEvent=="function"){var p=o.processEvent.bind(o),I=Object.assign(function(P,h){return p(P,h,a)},{id:o.name});a.addEventProcessor(I)}(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("Integration installed: ".concat(o.name))}function d(a){var o=(0,G.getCurrentHub)().getClient();if(!o||!o.addIntegration){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.warn('Cannot add integration "'.concat(a.name,'" because no SDK Client is available.'));return}o.addIntegration(a)}function i(a,o){for(var l=0;l<a.length;l++)if(o(a[l])===!0)return l;return-1}},554875:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"FunctionToString",{enumerable:!0,get:function(){return G}});var B=S(788894);function v(L,M){if(!(L instanceof M))throw new TypeError("Cannot call a class as a function")}var k,G=function(){"use strict";function L(){v(this,L),this.name=L.id}var M=L.prototype;return M.setupOnce=function(){k=Function.prototype.toString;try{Function.prototype.toString=function(){for(var O=arguments.length,D=new Array(O),N=0;N<O;N++)D[N]=arguments[N];var m=(0,B.getOriginalFunction)(this)||this;return k.apply(m,D)}}catch(O){}},L.__initStatic=function(){this.id="FunctionToString"},L}();G.__initStatic()},731877:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(o,l){for(var y in l)Object.defineProperty(o,y,{enumerable:!0,get:l[y]})}B(x,{InboundFilters:function(){return w},_mergeOptions:function(){return b},_shouldDropEvent:function(){return u}});var v=S(788894);function k(o,l){(l==null||l>o.length)&&(l=o.length);for(var y=0,p=new Array(l);y<l;y++)p[y]=o[y];return p}function G(o){if(Array.isArray(o))return k(o)}function L(o,l){if(!(o instanceof l))throw new TypeError("Cannot call a class as a function")}function M(o){if(typeof Symbol!="undefined"&&o[Symbol.iterator]!=null||o["@@iterator"]!=null)return Array.from(o)}function C(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function O(o){return G(o)||M(o)||D(o)||C()}function D(o,l){if(!!o){if(typeof o=="string")return k(o,l);var y=Object.prototype.toString.call(o).slice(8,-1);if(y==="Object"&&o.constructor&&(y=o.constructor.name),y==="Map"||y==="Set")return Array.from(y);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return k(o,l)}}var N=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],m=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],w=function(){"use strict";function o(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};L(this,o),this.name=o.id,this._options=y}var l=o.prototype;return l.setupOnce=function(p,I){},l.processEvent=function(p,I,P){var h=P.getOptions(),_=b(this._options,h);return u(p,_)?null:p},o.__initStatic=function(){this.id="InboundFilters"},o}();w.__initStatic();function b(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{allowUrls:O(o.allowUrls||[]).concat(O(l.allowUrls||[])),denyUrls:O(o.denyUrls||[]).concat(O(l.denyUrls||[])),ignoreErrors:O(o.ignoreErrors||[]).concat(O(l.ignoreErrors||[]),O(o.disableErrorDefaults?[]:N)),ignoreTransactions:O(o.ignoreTransactions||[]).concat(O(l.ignoreTransactions||[]),O(o.disableTransactionDefaults?[]:m)),ignoreInternal:o.ignoreInternal!==void 0?o.ignoreInternal:!0}}function u(o,l){return l.ignoreInternal&&d(o)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.warn("Event dropped due to being internal Sentry Error.\nEvent: ".concat((0,v.getEventDescription)(o))),!0):s(o,l.ignoreErrors)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: ".concat((0,v.getEventDescription)(o))),!0):c(o,l.ignoreTransactions)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.warn("Event dropped due to being matched by `ignoreTransactions` option.\nEvent: ".concat((0,v.getEventDescription)(o))),!0):R(o,l.denyUrls)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: ".concat((0,v.getEventDescription)(o),".\nUrl: ").concat(a(o))),!0):g(o,l.allowUrls)?!1:((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: ".concat((0,v.getEventDescription)(o),".\nUrl: ").concat(a(o))),!0)}function s(o,l){return o.type||!l||!l.length?!1:f(o).some(function(y){return(0,v.stringMatchesSomePattern)(y,l)})}function c(o,l){if(o.type!=="transaction"||!l||!l.length)return!1;var y=o.transaction;return y?(0,v.stringMatchesSomePattern)(y,l):!1}function R(o,l){if(!l||!l.length)return!1;var y=a(o);return y?(0,v.stringMatchesSomePattern)(y,l):!1}function g(o,l){if(!l||!l.length)return!0;var y=a(o);return y?(0,v.stringMatchesSomePattern)(y,l):!0}function f(o){var l=[];o.message&&l.push(o.message);var y;try{y=o.exception.values[o.exception.values.length-1]}catch(p){}return y&&y.value&&(l.push(y.value),y.type&&l.push("".concat(y.type,": ").concat(y.value))),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&l.length===0&&v.logger.error("Could not extract message for event ".concat((0,v.getEventDescription)(o))),l}function d(o){try{return o.exception.values[0].type==="SentryError"}catch(l){}return!1}function i(){for(var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=o.length-1;l>=0;l--){var y=o[l];if(y&&y.filename!=="<anonymous>"&&y.filename!=="[native code]")return y.filename||null}return null}function a(o){try{var l;try{l=o.exception.values[0].stacktrace.frames}catch(y){}return l?i(l):null}catch(y){return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.error("Cannot extract url for event ".concat((0,v.getEventDescription)(o))),null}}},51850:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(L,M){for(var C in M)Object.defineProperty(L,C,{enumerable:!0,get:M[C]})}B(x,{FunctionToString:function(){return v.FunctionToString},InboundFilters:function(){return k.InboundFilters},LinkedErrors:function(){return G.LinkedErrors}});var v=S(554875),k=S(731877),G=S(918276)},918276:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"LinkedErrors",{enumerable:!0,get:function(){return L}});var B=S(788894);function v(M,C){if(!(M instanceof C))throw new TypeError("Cannot call a class as a function")}var k="cause",G=5,L=function(){"use strict";function M(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};v(this,M),this._key=O.key||k,this._limit=O.limit||G,this.name=M.id}var C=M.prototype;return C.setupOnce=function(){},C.preprocessEvent=function(D,N,m){var w=m.getOptions();(0,B.applyAggregateErrorsToEvent)(B.exceptionFromError,w.stackParser,w.maxValueLength,this._key,this._limit,D,N)},M.__initStatic=function(){this.id="LinkedErrors"},M}();L.__initStatic()},929667:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"ModuleMetadata",{enumerable:!0,get:function(){return G}});var B=S(788894),v=S(366924);function k(L,M){if(!(L instanceof M))throw new TypeError("Cannot call a class as a function")}var G=function(){"use strict";function L(){k(this,L),this.name=L.id}var M=L.prototype;return M.setupOnce=function(O,D){var N=D().getClient();if(!(!N||typeof N.on!="function")){N.on("beforeEnvelope",function(w){(0,B.forEachEnvelopeItem)(w,function(b,u){if(u==="event"){var s=Array.isArray(b)?b[1]:void 0;s&&((0,v.stripMetadataFromStackFrames)(s),b[1]=s)}})});var m=N.getOptions().stackParser;O(function(w){return(0,v.addMetadataToStackFrames)(m,w),w})}},L.__initStatic=function(){this.id="ModuleMetadata"},L}();G.__initStatic()},366924:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(D,N){for(var m in N)Object.defineProperty(D,m,{enumerable:!0,get:N[m]})}B(x,{addMetadataToStackFrames:function(){return C},getMetadataForUrl:function(){return M},stripMetadataFromStackFrames:function(){return O}});var v=S(788894),k=new Map,G=new Set;function L(D){if(!!v.GLOBAL_OBJ._sentryModuleMetadata){var N=!0,m=!1,w=void 0;try{for(var b=Object.keys(v.GLOBAL_OBJ._sentryModuleMetadata)[Symbol.iterator](),u;!(N=(u=b.next()).done);N=!0){var s=u.value,c=v.GLOBAL_OBJ._sentryModuleMetadata[s];if(!G.has(s)){G.add(s);var R=D(s),g=!0,f=!1,d=void 0;try{for(var i=R.reverse()[Symbol.iterator](),a;!(g=(a=i.next()).done);g=!0){var o=a.value;if(o.filename){k.set(o.filename,c);break}}}catch(l){f=!0,d=l}finally{try{!g&&i.return!=null&&i.return()}finally{if(f)throw d}}}}}catch(l){m=!0,w=l}finally{try{!N&&b.return!=null&&b.return()}finally{if(m)throw w}}}}function M(D,N){return L(D),k.get(N)}function C(D,N){try{N.exception.values.forEach(function(m){if(!!m.stacktrace){var w=!0,b=!1,u=void 0;try{for(var s=(m.stacktrace.frames||[])[Symbol.iterator](),c;!(w=(c=s.next()).done);w=!0){var R=c.value;if(!!R.filename){var g=M(D,R.filename);g&&(R.module_metadata=g)}}}catch(f){b=!0,u=f}finally{try{!w&&s.return!=null&&s.return()}finally{if(b)throw u}}}})}catch(m){}}function O(D){try{D.exception.values.forEach(function(N){if(!!N.stacktrace){var m=!0,w=!1,b=void 0;try{for(var u=(N.stacktrace.frames||[])[Symbol.iterator](),s;!(m=(s=u.next()).done);m=!0){var c=s.value;delete c.module_metadata}}catch(R){w=!0,b=R}finally{try{!m&&u.return!=null&&u.return()}finally{if(w)throw b}}}})}catch(N){}}},526266:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"Scope",{enumerable:!0,get:function(){return R}});var B=S(788894),v=S(514271),k=S(704577);function G(f,d){(d==null||d>f.length)&&(d=f.length);for(var i=0,a=new Array(d);i<d;i++)a[i]=f[i];return a}function L(f){if(Array.isArray(f))return G(f)}function M(f,d){if(!(f instanceof d))throw new TypeError("Cannot call a class as a function")}function C(f,d,i){return d in f?Object.defineProperty(f,d,{value:i,enumerable:!0,configurable:!0,writable:!0}):f[d]=i,f}function O(f,d){return d!=null&&typeof Symbol!="undefined"&&d[Symbol.hasInstance]?!!d[Symbol.hasInstance](f):f instanceof d}function D(f){if(typeof Symbol!="undefined"&&f[Symbol.iterator]!=null||f["@@iterator"]!=null)return Array.from(f)}function N(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(f){for(var d=1;d<arguments.length;d++){var i=arguments[d]!=null?arguments[d]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(o){return Object.getOwnPropertyDescriptor(i,o).enumerable}))),a.forEach(function(o){C(f,o,i[o])})}return f}function w(f,d){var i=Object.keys(f);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(f);d&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(f,o).enumerable})),i.push.apply(i,a)}return i}function b(f,d){return d=d!=null?d:{},Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(d)):w(Object(d)).forEach(function(i){Object.defineProperty(f,i,Object.getOwnPropertyDescriptor(d,i))}),f}function u(f){return L(f)||D(f)||s(f)||N()}function s(f,d){if(!!f){if(typeof f=="string")return G(f,d);var i=Object.prototype.toString.call(f).slice(8,-1);if(i==="Object"&&f.constructor&&(i=f.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return G(f,d)}}var c=100,R=function(){"use strict";function f(){M(this,f),this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=g()}var d=f.prototype;return d.addScopeListener=function(a){this._scopeListeners.push(a)},d.addEventProcessor=function(a){return this._eventProcessors.push(a),this},d.setUser=function(a){return this._user=a||{},this._session&&(0,k.updateSession)(this._session,{user:a}),this._notifyScopeListeners(),this},d.getUser=function(){return this._user},d.getRequestSession=function(){return this._requestSession},d.setRequestSession=function(a){return this._requestSession=a,this},d.setTags=function(a){return this._tags=m({},this._tags,a),this._notifyScopeListeners(),this},d.setTag=function(a,o){return this._tags=b(m({},this._tags),C({},a,o)),this._notifyScopeListeners(),this},d.setExtras=function(a){return this._extra=m({},this._extra,a),this._notifyScopeListeners(),this},d.setExtra=function(a,o){return this._extra=b(m({},this._extra),C({},a,o)),this._notifyScopeListeners(),this},d.setFingerprint=function(a){return this._fingerprint=a,this._notifyScopeListeners(),this},d.setLevel=function(a){return this._level=a,this._notifyScopeListeners(),this},d.setTransactionName=function(a){return this._transactionName=a,this._notifyScopeListeners(),this},d.setContext=function(a,o){return o===null?delete this._contexts[a]:this._contexts[a]=o,this._notifyScopeListeners(),this},d.setSpan=function(a){return this._span=a,this._notifyScopeListeners(),this},d.getSpan=function(){return this._span},d.getTransaction=function(){var a=this.getSpan();return a&&a.transaction},d.setSession=function(a){return a?this._session=a:delete this._session,this._notifyScopeListeners(),this},d.getSession=function(){return this._session},d.update=function(a){if(!a)return this;if(typeof a=="function"){var o=a(this);return O(o,f)?o:this}return O(a,f)?(this._tags=m({},this._tags,a._tags),this._extra=m({},this._extra,a._extra),this._contexts=m({},this._contexts,a._contexts),a._user&&Object.keys(a._user).length&&(this._user=a._user),a._level&&(this._level=a._level),a._fingerprint&&(this._fingerprint=a._fingerprint),a._requestSession&&(this._requestSession=a._requestSession),a._propagationContext&&(this._propagationContext=a._propagationContext)):(0,B.isPlainObject)(a)&&(a=a,this._tags=m({},this._tags,a.tags),this._extra=m({},this._extra,a.extra),this._contexts=m({},this._contexts,a.contexts),a.user&&(this._user=a.user),a.level&&(this._level=a.level),a.fingerprint&&(this._fingerprint=a.fingerprint),a.requestSession&&(this._requestSession=a.requestSession),a.propagationContext&&(this._propagationContext=a.propagationContext)),this},d.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=g(),this},d.addBreadcrumb=function(a,o){var l=typeof o=="number"?o:c;if(l<=0)return this;var y=m({timestamp:(0,B.dateTimestampInSeconds)()},a),p=this._breadcrumbs;return p.push(y),this._breadcrumbs=p.length>l?p.slice(-l):p,this._notifyScopeListeners(),this},d.getLastBreadcrumb=function(){return this._breadcrumbs[this._breadcrumbs.length-1]},d.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},d.addAttachment=function(a){return this._attachments.push(a),this},d.getAttachments=function(){return this._attachments},d.clearAttachments=function(){return this._attachments=[],this},d.applyToEvent=function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2?arguments[2]:void 0;if(this._extra&&Object.keys(this._extra).length&&(a.extra=m({},this._extra,a.extra)),this._tags&&Object.keys(this._tags).length&&(a.tags=m({},this._tags,a.tags)),this._user&&Object.keys(this._user).length&&(a.user=m({},this._user,a.user)),this._contexts&&Object.keys(this._contexts).length&&(a.contexts=m({},this._contexts,a.contexts)),this._level&&(a.level=this._level),this._transactionName&&(a.transaction=this._transactionName),this._span){a.contexts=m({trace:this._span.getTraceContext()},a.contexts);var y=this._span.transaction;if(y){a.sdkProcessingMetadata=m({dynamicSamplingContext:y.getDynamicSamplingContext()},a.sdkProcessingMetadata);var p=y.name;p&&(a.tags=m({transaction:p},a.tags))}}this._applyFingerprint(a);var I=this._getBreadcrumbs(),P=u(a.breadcrumbs||[]).concat(u(I));return a.breadcrumbs=P.length>0?P:void 0,a.sdkProcessingMetadata=b(m({},a.sdkProcessingMetadata,this._sdkProcessingMetadata),{propagationContext:this._propagationContext}),(0,v.notifyEventProcessors)(u(l||[]).concat(u((0,v.getGlobalEventProcessors)()),u(this._eventProcessors)),a,o)},d.setSDKProcessingMetadata=function(a){return this._sdkProcessingMetadata=m({},this._sdkProcessingMetadata,a),this},d.setPropagationContext=function(a){return this._propagationContext=a,this},d.getPropagationContext=function(){return this._propagationContext},d._getBreadcrumbs=function(){return this._breadcrumbs},d._notifyScopeListeners=function(){var a=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(function(o){o(a)}),this._notifyingListeners=!1)},d._applyFingerprint=function(a){a.fingerprint=a.fingerprint?(0,B.arrayify)(a.fingerprint):[],this._fingerprint&&(a.fingerprint=a.fingerprint.concat(this._fingerprint)),a.fingerprint&&!a.fingerprint.length&&delete a.fingerprint},f.clone=function(a){var o=new f;return a&&(o._breadcrumbs=u(a._breadcrumbs),o._tags=m({},a._tags),o._extra=m({},a._extra),o._contexts=m({},a._contexts),o._user=a._user,o._level=a._level,o._span=a._span,o._session=a._session,o._transactionName=a._transactionName,o._fingerprint=a._fingerprint,o._eventProcessors=u(a._eventProcessors),o._requestSession=a._requestSession,o._attachments=u(a._attachments),o._sdkProcessingMetadata=m({},a._sdkProcessingMetadata),o._propagationContext=m({},a._propagationContext)),o},f}();function g(){return{traceId:(0,B.uuid4)(),spanId:(0,B.uuid4)().substring(16)}}},390065:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"initAndBind",{enumerable:!0,get:function(){return k}});var B=S(788894),v=S(329391);function k(G,L){L.debug===!0&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?B.logger.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var M=(0,v.getCurrentHub)(),C=M.getScope();C.update(L.initialScope);var O=new G(L);M.bindClient(O)}},800393:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"ServerRuntimeClient",{enumerable:!0,get:function(){return h}});var B=S(788894),v=S(855440),k=S(222919),G=S(329391),L=S(414259),M=S(231069),C=S(735996);S(597047);function O(_,T){(T==null||T>_.length)&&(T=_.length);for(var A=0,U=new Array(T);A<T;A++)U[A]=_[A];return U}function D(_){if(Array.isArray(_))return _}function N(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function m(_,T){if(!(_ instanceof T))throw new TypeError("Cannot call a class as a function")}function w(_,T,A){return T in _?Object.defineProperty(_,T,{value:A,enumerable:!0,configurable:!0,writable:!0}):_[T]=A,_}function b(_,T,A){return typeof Reflect!="undefined"&&Reflect.get?b=Reflect.get:b=function(H,F,z){var Z=l(H,F);if(!!Z){var ee=Object.getOwnPropertyDescriptor(Z,F);return ee.get?ee.get.call(z):ee.value}},b(_,T,A||_)}function u(_){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(A){return A.__proto__||Object.getPrototypeOf(A)},u(_)}function s(_,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(T&&T.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),T&&a(_,T)}function c(_,T){var A=_==null?null:typeof Symbol!="undefined"&&_[Symbol.iterator]||_["@@iterator"];if(A!=null){var U=[],H=!0,F=!1,z,Z;try{for(A=A.call(_);!(H=(z=A.next()).done)&&(U.push(z.value),!(T&&U.length===T));H=!0);}catch(ee){F=!0,Z=ee}finally{try{!H&&A.return!=null&&A.return()}finally{if(F)throw Z}}return U}}function R(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(_){for(var T=1;T<arguments.length;T++){var A=arguments[T]!=null?arguments[T]:{},U=Object.keys(A);typeof Object.getOwnPropertySymbols=="function"&&(U=U.concat(Object.getOwnPropertySymbols(A).filter(function(H){return Object.getOwnPropertyDescriptor(A,H).enumerable}))),U.forEach(function(H){w(_,H,A[H])})}return _}function f(_,T){var A=Object.keys(_);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(_);T&&(U=U.filter(function(H){return Object.getOwnPropertyDescriptor(_,H).enumerable})),A.push.apply(A,U)}return A}function d(_,T){return T=T!=null?T:{},Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(T)):f(Object(T)).forEach(function(A){Object.defineProperty(_,A,Object.getOwnPropertyDescriptor(T,A))}),_}function i(_,T){return T&&(y(T)==="object"||typeof T=="function")?T:N(_)}function a(_,T){return a=Object.setPrototypeOf||function(U,H){return U.__proto__=H,U},a(_,T)}function o(_,T){return D(_)||c(_,T)||p(_,T)||R()}function l(_,T){for(;!Object.prototype.hasOwnProperty.call(_,T)&&(_=u(_),_!==null););return _}var y=function(_){return _&&typeof Symbol!="undefined"&&_.constructor===Symbol?"symbol":typeof _};function p(_,T){if(!!_){if(typeof _=="string")return O(_,T);var A=Object.prototype.toString.call(_).slice(8,-1);if(A==="Object"&&_.constructor&&(A=_.constructor.name),A==="Map"||A==="Set")return Array.from(A);if(A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return O(_,T)}}function I(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(_){return!1}}function P(_){var T=I();return function(){var U=u(_),H;if(T){var F=u(this).constructor;H=Reflect.construct(U,arguments,F)}else H=U.apply(this,arguments);return i(this,H)}}var h=function(_){"use strict";s(A,_);var T=P(A);function A(H){return m(this,A),(0,M.addTracingExtensions)(),T.call(this,H)}var U=A.prototype;return U.eventFromException=function(F,z){return(0,B.resolvedSyncPromise)((0,B.eventFromUnknownInput)(G.getCurrentHub,this._options.stackParser,F,z))},U.eventFromMessage=function(F){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"info",Z=arguments.length>2?arguments[2]:void 0;return(0,B.resolvedSyncPromise)((0,B.eventFromMessage)(this._options.stackParser,F,z,Z,this._options.attachStacktrace))},U.captureException=function(F,z,Z){if(this._options.autoSessionTracking&&this._sessionFlusher&&Z){var ee=Z.getRequestSession();ee&&ee.status==="ok"&&(ee.status="errored")}return b(u(A.prototype),"captureException",this).call(this,F,z,Z)},U.captureEvent=function(F,z,Z){if(this._options.autoSessionTracking&&this._sessionFlusher&&Z){var ee=F.type||"exception",ne=ee==="exception"&&F.exception&&F.exception.values&&F.exception.values.length>0;if(ne){var W=Z.getRequestSession();W&&W.status==="ok"&&(W.status="errored")}}return b(u(A.prototype),"captureEvent",this).call(this,F,z,Z)},U.close=function(F){return this._sessionFlusher&&this._sessionFlusher.close(),b(u(A.prototype),"close",this).call(this,F)},U.initSessionFlusher=function(){var F=this._options,z=F.release,Z=F.environment;z?this._sessionFlusher=new L.SessionFlusher(this,{release:z,environment:Z}):(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.warn("Cannot initialise an instance of SessionFlusher if no release is provided!")},U.captureCheckIn=function(F,z,Z){var ee=F.status!=="in_progress"&&F.checkInId?F.checkInId:(0,B.uuid4)();if(!this._isEnabled())return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.warn("SDK not enabled, will not capture checkin."),ee;var ne=this.getOptions(),W=ne.release,X=ne.environment,Y=ne.tunnel,re={check_in_id:ee,monitor_slug:F.monitorSlug,status:F.status,release:W,environment:X};F.status!=="in_progress"&&(re.duration=F.duration),z&&(re.monitor_config={schedule:z.schedule,checkin_margin:z.checkinMargin,max_runtime:z.maxRuntime,timezone:z.timezone});var ae=o(this._getTraceInfoFromScope(Z),2),pe=ae[0],ve=ae[1];ve&&(re.contexts={trace:ve});var we=(0,k.createCheckInEnvelope)(re,pe,this.getSdkMetadata(),Y,this.getDsn());return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.info("Sending checkin:",F.monitorSlug,F.status),this._sendEnvelope(we),ee},U._captureRequestSession=function(){this._sessionFlusher?this._sessionFlusher.incrementSessionStatusCount():(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.warn("Discarded request mode session because autoSessionTracking option was disabled")},U._prepareEvent=function(F,z,Z){return this._options.platform&&(F.platform=F.platform||this._options.platform),this._options.runtime&&(F.contexts=d(g({},F.contexts),{runtime:(F.contexts||{}).runtime||this._options.runtime})),this._options.serverName&&(F.server_name=F.server_name||this._options.serverName),b(u(A.prototype),"_prepareEvent",this).call(this,F,z,Z)},U._getTraceInfoFromScope=function(F){if(!F)return[void 0,void 0];var z=F.getSpan();if(z){var Z=z.transaction?z.transaction.getDynamicSamplingContext():void 0;return[Z,z.getTraceContext()]}var ee=F.getPropagationContext(),ne=ee.traceId,W=ee.spanId,X=ee.parentSpanId,Y=ee.dsc,re={trace_id:ne,span_id:W,parent_span_id:X};return Y?[Y,re]:[(0,C.getDynamicSamplingContextFromClient)(ne,this,F),re]},A}(v.BaseClient)},704577:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(C,O){for(var D in O)Object.defineProperty(C,D,{enumerable:!0,get:O[D]})}B(x,{closeSession:function(){return L},makeSession:function(){return k},updateSession:function(){return G}});var v=S(788894);function k(C){var O=(0,v.timestampInSeconds)(),D={sid:(0,v.uuid4)(),init:!0,timestamp:O,started:O,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:function(){return M(D)}};return C&&G(D,C),D}function G(C){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(O.user&&(!C.ipAddress&&O.user.ip_address&&(C.ipAddress=O.user.ip_address),!C.did&&!O.did&&(C.did=O.user.id||O.user.email||O.user.username)),C.timestamp=O.timestamp||(0,v.timestampInSeconds)(),O.abnormal_mechanism&&(C.abnormal_mechanism=O.abnormal_mechanism),O.ignoreDuration&&(C.ignoreDuration=O.ignoreDuration),O.sid&&(C.sid=O.sid.length===32?O.sid:(0,v.uuid4)()),O.init!==void 0&&(C.init=O.init),!C.did&&O.did&&(C.did="".concat(O.did)),typeof O.started=="number"&&(C.started=O.started),C.ignoreDuration)C.duration=void 0;else if(typeof O.duration=="number")C.duration=O.duration;else{var D=C.timestamp-C.started;C.duration=D>=0?D:0}O.release&&(C.release=O.release),O.environment&&(C.environment=O.environment),!C.ipAddress&&O.ipAddress&&(C.ipAddress=O.ipAddress),!C.userAgent&&O.userAgent&&(C.userAgent=O.userAgent),typeof O.errors=="number"&&(C.errors=O.errors),O.status&&(C.status=O.status)}function L(C,O){var D={};O?D={status:O}:C.status==="ok"&&(D={status:"exited"}),G(C,D)}function M(C){return(0,v.dropUndefinedKeys)({sid:"".concat(C.sid),init:C.init,started:new Date(C.started*1e3).toISOString(),timestamp:new Date(C.timestamp*1e3).toISOString(),status:C.status,errors:C.errors,did:typeof C.did=="number"||typeof C.did=="string"?"".concat(C.did):void 0,duration:C.duration,abnormal_mechanism:C.abnormal_mechanism,attrs:{release:C.release,environment:C.environment,ip_address:C.ipAddress,user_agent:C.userAgent}})}},414259:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"SessionFlusher",{enumerable:!0,get:function(){return G}});var B=S(788894),v=S(329391);function k(L,M){if(!(L instanceof M))throw new TypeError("Cannot call a class as a function")}var G=function(){"use strict";function L(C,O){var D=this;k(this,L),this._client=C,this.flushTimeout=60,this._pendingAggregates={},this._isEnabled=!0,this._intervalId=setInterval(function(){return D.flush()},this.flushTimeout*1e3),this._sessionAttrs=O}var M=L.prototype;return M.flush=function(){var O=this.getSessionAggregates();O.aggregates.length!==0&&(this._pendingAggregates={},this._client.sendSession(O))},M.getSessionAggregates=function(){var O=this,D=Object.keys(this._pendingAggregates).map(function(m){return O._pendingAggregates[parseInt(m)]}),N={attrs:this._sessionAttrs,aggregates:D};return(0,B.dropUndefinedKeys)(N)},M.close=function(){clearInterval(this._intervalId),this._isEnabled=!1,this.flush()},M.incrementSessionStatusCount=function(){if(!!this._isEnabled){var O=(0,v.getCurrentHub)().getScope(),D=O.getRequestSession();D&&D.status&&(this._incrementSessionStatusCount(D.status,new Date),O.setRequestSession(void 0))}},M._incrementSessionStatusCount=function(O,D){var N=new Date(D).setSeconds(0,0);this._pendingAggregates[N]=this._pendingAggregates[N]||{};var m=this._pendingAggregates[N];switch(m.started||(m.started=new Date(N).toISOString()),O){case"errored":return m.errored=(m.errored||0)+1,m.errored;case"ok":return m.exited=(m.exited||0)+1,m.exited;default:return m.crashed=(m.crashed||0)+1,m.crashed}},L}()},735996:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"getDynamicSamplingContextFromClient",{enumerable:!0,get:function(){return k}});var B=S(788894),v=S(939395);function k(G,L,M){var C=L.getOptions(),O=L.getDsn()||{},D=O.publicKey,N=M&&M.getUser()||{},m=N.segment,w=(0,B.dropUndefinedKeys)({environment:C.environment||v.DEFAULT_ENVIRONMENT,release:C.release,user_segment:m,public_key:D,trace_id:G});return L.emit&&L.emit("createDsc",w),w}},526092:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"registerErrorInstrumentation",{enumerable:!0,get:function(){return G}});var B=S(788894),v=S(390468),k=!1;function G(){k||(k=!0,(0,B.addInstrumentationHandler)("error",L),(0,B.addInstrumentationHandler)("unhandledrejection",L))}function L(){var M=(0,v.getActiveTransaction)();if(M){var C="internal_error";(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.log("[Tracing] Transaction: ".concat(C," -> Global error occured")),M.setStatus(C)}}L.tag="sentry_tracingErrorCallback"},231069:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(u,s){for(var c in s)Object.defineProperty(u,c,{enumerable:!0,get:s[c]})}B(x,{addTracingExtensions:function(){return b},startIdleTransaction:function(){return w}});var v=S(788894),k=S(329391),G=S(526092),L=S(791821),M=S(829869),C=S(610526);function O(u,s,c){return s in u?Object.defineProperty(u,s,{value:c,enumerable:!0,configurable:!0,writable:!0}):u[s]=c,u}function D(u){for(var s=1;s<arguments.length;s++){var c=arguments[s]!=null?arguments[s]:{},R=Object.keys(c);typeof Object.getOwnPropertySymbols=="function"&&(R=R.concat(Object.getOwnPropertySymbols(c).filter(function(g){return Object.getOwnPropertyDescriptor(c,g).enumerable}))),R.forEach(function(g){O(u,g,c[g])})}return u}function N(){var u=this.getScope(),s=u.getSpan();return s?{"sentry-trace":s.toTraceparent()}:{}}function m(u,s){var c=this.getClient(),R=c&&c.getOptions()||{},g=R.instrumenter||"sentry",f=u.instrumenter||"sentry";g!==f&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.error("A transaction was started with instrumenter=`".concat(f,"`, but the SDK is configured with the `").concat(g,"` instrumenter.\nThe transaction will not be sampled. Please use the ").concat(g," instrumentation to start transactions.")),u.sampled=!1);var d=new C.Transaction(u,this);return d=(0,M.sampleTransaction)(d,R,D({parentSampled:u.parentSampled,transactionContext:u},s)),d.sampled&&d.initSpanRecorder(R._experiments&&R._experiments.maxSpans),c&&c.emit&&c.emit("startTransaction",d),d}function w(u,s,c,R,g,f,d){var i=u.getClient(),a=i&&i.getOptions()||{},o=new L.IdleTransaction(s,u,c,R,d,g);return o=(0,M.sampleTransaction)(o,a,D({parentSampled:s.parentSampled,transactionContext:s},f)),o.sampled&&o.initSpanRecorder(a._experiments&&a._experiments.maxSpans),i&&i.emit&&i.emit("startTransaction",o),o}function b(){var u=(0,k.getMainCarrier)();!u.__SENTRY__||(u.__SENTRY__.extensions=u.__SENTRY__.extensions||{},u.__SENTRY__.extensions.startTransaction||(u.__SENTRY__.extensions.startTransaction=m),u.__SENTRY__.extensions.traceHeaders||(u.__SENTRY__.extensions.traceHeaders=N),(0,G.registerErrorInstrumentation)())}},791821:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(i,a){for(var o in a)Object.defineProperty(i,o,{enumerable:!0,get:a[o]})}B(x,{IdleTransaction:function(){return d},IdleTransactionSpanRecorder:function(){return f},TRACING_DEFAULTS:function(){return c}});var v=S(788894),k=S(685560),G=S(610526);function L(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function M(i,a){if(!(i instanceof a))throw new TypeError("Cannot call a class as a function")}function C(i,a,o){return typeof Reflect!="undefined"&&Reflect.get?C=Reflect.get:C=function(y,p,I){var P=w(y,p);if(!!P){var h=Object.getOwnPropertyDescriptor(P,p);return h.get?h.get.call(I):h.value}},C(i,a,o||i)}function O(i){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)},O(i)}function D(i,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(a&&a.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),a&&m(i,a)}function N(i,a){return a&&(b(a)==="object"||typeof a=="function")?a:L(i)}function m(i,a){return m=Object.setPrototypeOf||function(l,y){return l.__proto__=y,l},m(i,a)}function w(i,a){for(;!Object.prototype.hasOwnProperty.call(i,a)&&(i=O(i),i!==null););return i}var b=function(i){return i&&typeof Symbol!="undefined"&&i.constructor===Symbol?"symbol":typeof i};function u(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(i){return!1}}function s(i){var a=u();return function(){var l=O(i),y;if(a){var p=O(this).constructor;y=Reflect.construct(l,arguments,p)}else y=l.apply(this,arguments);return N(this,y)}}var c={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},R="finishReason",g=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"],f=function(i){"use strict";D(o,i);var a=s(o);function o(y,p,I,P){M(this,o);var h;return h=a.call(this,P),h._pushActivity=y,h._popActivity=p,h.transactionSpanId=I,h}var l=o.prototype;return l.add=function(p){var I=this;p.spanId!==this.transactionSpanId&&(p.finish=function(P){p.endTimestamp=typeof P=="number"?P:(0,v.timestampInSeconds)(),I._popActivity(p.spanId)},p.endTimestamp===void 0&&this._pushActivity(p.spanId)),C(O(o.prototype),"add",this).call(this,p)},o}(k.SpanRecorder),d=function(i){"use strict";D(o,i);var a=s(o);function o(y,p){var I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:c.idleTimeout,P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:c.finalTimeout,h=arguments.length>4&&arguments[4]!==void 0?arguments[4]:c.heartbeatInterval,_=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1;M(this,o);var T;return T=a.call(this,y,p),T._idleHub=p,T._idleTimeout=I,T._finalTimeout=P,T._heartbeatInterval=h,T._onScope=_,T.activities={},T._heartbeatCounter=0,T._finished=!1,T._idleTimeoutCanceledPermanently=!1,T._beforeFinishCallbacks=[],T._finishReason=g[4],_&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("Setting idle transaction on scope. Span ID: ".concat(T.spanId)),p.configureScope(function(A){return A.setSpan(L(T))})),T._restartIdleTimeout(),setTimeout(function(){T._finished||(T.setStatus("deadline_exceeded"),T._finishReason=g[3],T.finish())},T._finalTimeout),T}var l=o.prototype;return l.finish=function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:(0,v.timestampInSeconds)(),I=this;if(this._finished=!0,this.activities={},this.op==="ui.action.click"&&this.setTag(R,this._finishReason),this.spanRecorder){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("[Tracing] finishing IdleTransaction",new Date(p*1e3).toISOString(),this.op);var P=!0,h=!1,_=void 0;try{for(var T=this._beforeFinishCallbacks[Symbol.iterator](),A;!(P=(A=T.next()).done);P=!0){var U=A.value;U(this,p)}}catch(F){h=!0,_=F}finally{try{!P&&T.return!=null&&T.return()}finally{if(h)throw _}}this.spanRecorder.spans=this.spanRecorder.spans.filter(function(F){if(F.spanId===I.spanId)return!0;F.endTimestamp||(F.endTimestamp=p,F.setStatus("cancelled"),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(F,void 0,2)));var z=F.startTimestamp<p,Z=(I._finalTimeout+I._idleTimeout)/1e3,ee=F.endTimestamp-I.startTimestamp<Z;if(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__){var ne=JSON.stringify(F,void 0,2);z?ee||v.logger.log("[Tracing] discarding Span since it finished after Transaction final timeout",ne):v.logger.log("[Tracing] discarding Span since it happened after Transaction was finished",ne)}return z&&ee}),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("[Tracing] flushing IdleTransaction")}else(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("[Tracing] No active IdleTransaction");if(this._onScope){var H=this._idleHub.getScope();H.getTransaction()===this&&H.setSpan(void 0)}return C(O(o.prototype),"finish",this).call(this,p)},l.registerBeforeFinishCallback=function(p){this._beforeFinishCallbacks.push(p)},l.initSpanRecorder=function(p){var I=this;if(!this.spanRecorder){var P=function(_){I._finished||I._pushActivity(_)},h=function(_){I._finished||I._popActivity(_)};this.spanRecorder=new f(P,h,this.spanId,p),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)},l.cancelIdleTimeout=function(p){var I=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{restartOnChildSpanChange:!0}).restartOnChildSpanChange;this._idleTimeoutCanceledPermanently=I===!1,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,Object.keys(this.activities).length===0&&this._idleTimeoutCanceledPermanently&&(this._finishReason=g[5],this.finish(p)))},l.setFinishReason=function(p){this._finishReason=p},l._restartIdleTimeout=function(p){var I=this;this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout(function(){!I._finished&&Object.keys(I.activities).length===0&&(I._finishReason=g[1],I.finish(p))},this._idleTimeout)},l._pushActivity=function(p){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("[Tracing] pushActivity: ".concat(p)),this.activities[p]=!0,(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("[Tracing] new activities count",Object.keys(this.activities).length)},l._popActivity=function(p){if(this.activities[p]&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("[Tracing] popActivity ".concat(p)),delete this.activities[p],(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("[Tracing] new activities count",Object.keys(this.activities).length)),Object.keys(this.activities).length===0){var I=(0,v.timestampInSeconds)();this._idleTimeoutCanceledPermanently?(this._finishReason=g[5],this.finish(I)):this._restartIdleTimeout(I+this._idleTimeout/1e3)}},l._beat=function(){if(!this._finished){var p=Object.keys(this.activities).join("");p===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=p,this._heartbeatCounter>=3?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason=g[0],this.finish()):this._pingHeartbeat()}},l._pingHeartbeat=function(){var p=this;(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("pinging Heartbeat -> current counter: ".concat(this._heartbeatCounter)),setTimeout(function(){p._beat()},this._heartbeatInterval)},o}(G.Transaction)},178063:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"setMeasurement",{enumerable:!0,get:function(){return v}});var B=S(390468);function v(k,G,L){var M=(0,B.getActiveTransaction)();M&&M.setMeasurement(k,G,L)}},829869:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"sampleTransaction",{enumerable:!0,get:function(){return G}});var B=S(788894),v=S(704503),k=function(M){return M&&typeof Symbol!="undefined"&&M.constructor===Symbol?"symbol":typeof M};function G(M,C,O){if(!(0,v.hasTracingEnabled)(C))return M.sampled=!1,M;if(M.sampled!==void 0)return M.setMetadata({sampleRate:Number(M.sampled)}),M;var D;return typeof C.tracesSampler=="function"?(D=C.tracesSampler(O),M.setMetadata({sampleRate:Number(D)})):O.parentSampled!==void 0?D=O.parentSampled:typeof C.tracesSampleRate!="undefined"?(D=C.tracesSampleRate,M.setMetadata({sampleRate:Number(D)})):(D=1,M.setMetadata({sampleRate:D})),L(D)?D?(M.sampled=Math.random()<D,M.sampled?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.log("[Tracing] starting ".concat(M.op," transaction - ").concat(M.name)),M):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.log("[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ".concat(Number(D),")")),M)):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.log("[Tracing] Discarding transaction because ".concat(typeof C.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),M.sampled=!1,M):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.warn("[Tracing] Discarding transaction because of invalid sample rate."),M.sampled=!1,M)}function L(M){return(0,B.isNaN)(M)||!(typeof M=="number"||typeof M=="boolean")?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.warn("[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ".concat(JSON.stringify(M)," of type ").concat(JSON.stringify(typeof M=="undefined"?"undefined":k(M)),".")),!1):M<0||M>1?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.warn("[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ".concat(M,".")),!1):!0}},685560:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(b,u){for(var s in u)Object.defineProperty(b,s,{enumerable:!0,get:u[s]})}B(x,{Span:function(){return m},SpanRecorder:function(){return N},spanStatusfromHttpCode:function(){return w}});var v=S(788894);function k(b,u){if(!(b instanceof u))throw new TypeError("Cannot call a class as a function")}function G(b,u){for(var s=0;s<u.length;s++){var c=u[s];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(b,c.key,c)}}function L(b,u,s){return u&&G(b.prototype,u),s&&G(b,s),b}function M(b,u,s){return u in b?Object.defineProperty(b,u,{value:s,enumerable:!0,configurable:!0,writable:!0}):b[u]=s,b}function C(b){for(var u=1;u<arguments.length;u++){var s=arguments[u]!=null?arguments[u]:{},c=Object.keys(s);typeof Object.getOwnPropertySymbols=="function"&&(c=c.concat(Object.getOwnPropertySymbols(s).filter(function(R){return Object.getOwnPropertyDescriptor(s,R).enumerable}))),c.forEach(function(R){M(b,R,s[R])})}return b}function O(b,u){var s=Object.keys(b);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(b);u&&(c=c.filter(function(R){return Object.getOwnPropertyDescriptor(b,R).enumerable})),s.push.apply(s,c)}return s}function D(b,u){return u=u!=null?u:{},Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(u)):O(Object(u)).forEach(function(s){Object.defineProperty(b,s,Object.getOwnPropertyDescriptor(u,s))}),b}var N=function(){"use strict";function b(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1e3;k(this,b),this._maxlen=s,this.spans=[]}var u=b.prototype;return u.add=function(c){this.spans.length>this._maxlen?c.spanRecorder=void 0:this.spans.push(c)},b}(),m=function(){"use strict";function b(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};k(this,b),this.traceId=s.traceId||(0,v.uuid4)(),this.spanId=s.spanId||(0,v.uuid4)().substring(16),this.startTimestamp=s.startTimestamp||(0,v.timestampInSeconds)(),this.tags=s.tags||{},this.data=s.data||{},this.instrumenter=s.instrumenter||"sentry",this.origin=s.origin||"manual",s.parentSpanId&&(this.parentSpanId=s.parentSpanId),"sampled"in s&&(this.sampled=s.sampled),s.op&&(this.op=s.op),s.description&&(this.description=s.description),s.name&&(this.description=s.name),s.status&&(this.status=s.status),s.endTimestamp&&(this.endTimestamp=s.endTimestamp)}var u=b.prototype;return u.startChild=function(c){var R=new b(D(C({},c),{parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId}));if(R.spanRecorder=this.spanRecorder,R.spanRecorder&&R.spanRecorder.add(R),R.transaction=this.transaction,(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&R.transaction){var g=c&&c.op||"< unknown op >",f=R.transaction.name||"< unknown name >",d=R.transaction.spanId,i="[Tracing] Starting '".concat(g,"' span on transaction '").concat(f,"' (").concat(d,").");R.transaction.metadata.spanMetadata[R.spanId]={logMessage:i},v.logger.log(i)}return R},u.setTag=function(c,R){return this.tags=D(C({},this.tags),M({},c,R)),this},u.setData=function(c,R){return this.data=D(C({},this.data),M({},c,R)),this},u.setStatus=function(c){return this.status=c,this},u.setHttpStatus=function(c){this.setTag("http.status_code",String(c)),this.setData("http.response.status_code",c);var R=w(c);return R!=="unknown_error"&&this.setStatus(R),this},u.setName=function(c){this.description=c},u.isSuccess=function(){return this.status==="ok"},u.finish=function(c){if((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){var R=this.transaction.metadata.spanMetadata[this.spanId].logMessage;R&&v.logger.log(R.replace("Starting","Finishing"))}this.endTimestamp=typeof c=="number"?c:(0,v.timestampInSeconds)()},u.toTraceparent=function(){return(0,v.generateSentryTraceHeader)(this.traceId,this.spanId,this.sampled)},u.toContext=function(){return(0,v.dropUndefinedKeys)({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})},u.updateWithContext=function(c){return this.data=c.data||{},this.description=c.description,this.endTimestamp=c.endTimestamp,this.op=c.op,this.parentSpanId=c.parentSpanId,this.sampled=c.sampled,this.spanId=c.spanId||this.spanId,this.startTimestamp=c.startTimestamp||this.startTimestamp,this.status=c.status,this.tags=c.tags||{},this.traceId=c.traceId||this.traceId,this},u.getTraceContext=function(){return(0,v.dropUndefinedKeys)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})},u.toJSON=function(){return(0,v.dropUndefinedKeys)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId,origin:this.origin})},L(b,[{key:"name",get:function(){return this.description||""},set:function(c){this.setName(c)}}]),b}();function w(b){if(b<400&&b>=100)return"ok";if(b>=400&&b<500)switch(b){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(b>=500&&b<600)switch(b){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}},597047:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"SpanStatus",{enumerable:!0,get:function(){return S}});var S;(function(B){var v="ok";B.Ok=v;var k="deadline_exceeded";B.DeadlineExceeded=k;var G="unauthenticated";B.Unauthenticated=G;var L="permission_denied";B.PermissionDenied=L;var M="not_found";B.NotFound=M;var C="resource_exhausted";B.ResourceExhausted=C;var O="invalid_argument";B.InvalidArgument=O;var D="unimplemented";B.Unimplemented=D;var N="unavailable";B.Unavailable=N;var m="internal_error";B.InternalError=m;var w="unknown_error";B.UnknownError=w;var b="cancelled";B.Cancelled=b;var u="already_exists";B.AlreadyExists=u;var s="failed_precondition";B.FailedPrecondition=s;var c="aborted";B.Aborted=c;var R="out_of_range";B.OutOfRange=R;var g="data_loss";B.DataLoss=g})(S||(S={}))},486273:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(g,f){for(var d in f)Object.defineProperty(g,d,{enumerable:!0,get:f[d]})}B(x,{continueTrace:function(){return s},getActiveSpan:function(){return u},startActiveSpan:function(){return m},startInactiveSpan:function(){return b},startSpan:function(){return N},startSpanManual:function(){return w},trace:function(){return D}});var v=S(788894),k=S(329391),G=S(704503);function L(g,f,d){return f in g?Object.defineProperty(g,f,{value:d,enumerable:!0,configurable:!0,writable:!0}):g[f]=d,g}function M(g){for(var f=1;f<arguments.length;f++){var d=arguments[f]!=null?arguments[f]:{},i=Object.keys(d);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(d).filter(function(a){return Object.getOwnPropertyDescriptor(d,a).enumerable}))),i.forEach(function(a){L(g,a,d[a])})}return g}function C(g,f){var d=Object.keys(g);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(g);f&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(g,a).enumerable})),d.push.apply(d,i)}return d}function O(g,f){return f=f!=null?f:{},Object.getOwnPropertyDescriptors?Object.defineProperties(g,Object.getOwnPropertyDescriptors(f)):C(Object(f)).forEach(function(d){Object.defineProperty(g,d,Object.getOwnPropertyDescriptor(f,d))}),g}function D(g,f){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},i=function(){p&&p.finish(),o.getScope().setSpan(y)},a=R(g),o=(0,k.getCurrentHub)(),l=o.getScope(),y=l.getSpan(),p=c(o,y,a);l.setSpan(p);var I;try{I=f(p)}catch(P){throw p&&p.setStatus("internal_error"),d(P),i(),P}return(0,v.isThenable)(I)?Promise.resolve(I).then(function(){i()},function(P){p&&p.setStatus("internal_error"),d(P),i()}):i(),I}function N(g,f){var d=function(){y&&y.finish(),a.getScope().setSpan(l)},i=R(g),a=(0,k.getCurrentHub)(),o=a.getScope(),l=o.getSpan(),y=c(a,l,i);o.setSpan(y);var p;try{p=f(y)}catch(I){throw y&&y.setStatus("internal_error"),d(),I}return(0,v.isThenable)(p)?Promise.resolve(p).then(function(){d()},function(){y&&y.setStatus("internal_error"),d()}):d(),p}var m=N;function w(g,f){var d=function(){y&&y.finish(),a.getScope().setSpan(l)},i=R(g),a=(0,k.getCurrentHub)(),o=a.getScope(),l=o.getSpan(),y=c(a,l,i);o.setSpan(y);var p;try{p=f(y,d)}catch(I){throw y&&y.setStatus("internal_error"),I}return(0,v.isThenable)(p)&&Promise.resolve(p).then(void 0,function(){y&&y.setStatus("internal_error")}),p}function b(g){if(!!(0,G.hasTracingEnabled)()){var f=M({},g);f.name!==void 0&&f.description===void 0&&(f.description=f.name);var d=(0,k.getCurrentHub)(),i=u();return i?i.startChild(f):d.startTransaction(f)}}function u(){return(0,k.getCurrentHub)().getScope().getSpan()}function s(g,f){var d=g.sentryTrace,i=g.baggage,a=(0,k.getCurrentHub)(),o=a.getScope(),l=(0,v.tracingContextFromHeaders)(d,i),y=l.traceparentData,p=l.dynamicSamplingContext,I=l.propagationContext;o.setPropagationContext(I),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&y&&v.logger.log("[Tracing] Continuing trace ".concat(y.traceId,"."));var P=O(M({},y),{metadata:(0,v.dropUndefinedKeys)({dynamicSamplingContext:y&&!p?{}:p})});return f(P)}function c(g,f,d){if(!!(0,G.hasTracingEnabled)())return f?f.startChild(d):g.startTransaction(d)}function R(g){var f=M({},g);return f.name!==void 0&&f.description===void 0&&(f.description=f.name),f}},610526:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"Transaction",{enumerable:!0,get:function(){return a}});var B=S(788894),v=S(329391),k=S(735996),G=S(685560);function L(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function M(o,l){if(!(o instanceof l))throw new TypeError("Cannot call a class as a function")}function C(o,l){for(var y=0;y<l.length;y++){var p=l[y];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(o,p.key,p)}}function O(o,l,y){return l&&C(o.prototype,l),y&&C(o,y),o}function D(o,l,y){return l in o?Object.defineProperty(o,l,{value:y,enumerable:!0,configurable:!0,writable:!0}):o[l]=y,o}function N(o,l,y){return typeof Reflect!="undefined"&&Reflect.get?N=Reflect.get:N=function(I,P,h){var _=g(I,P);if(!!_){var T=Object.getOwnPropertyDescriptor(_,P);return T.get?T.get.call(h):T.value}},N(o,l,y||o)}function m(o){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(y){return y.__proto__||Object.getPrototypeOf(y)},m(o)}function w(o,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(l&&l.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),l&&R(o,l)}function b(o){for(var l=1;l<arguments.length;l++){var y=arguments[l]!=null?arguments[l]:{},p=Object.keys(y);typeof Object.getOwnPropertySymbols=="function"&&(p=p.concat(Object.getOwnPropertySymbols(y).filter(function(I){return Object.getOwnPropertyDescriptor(y,I).enumerable}))),p.forEach(function(I){D(o,I,y[I])})}return o}function u(o,l){var y=Object.keys(o);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(o);l&&(p=p.filter(function(I){return Object.getOwnPropertyDescriptor(o,I).enumerable})),y.push.apply(y,p)}return y}function s(o,l){return l=l!=null?l:{},Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(l)):u(Object(l)).forEach(function(y){Object.defineProperty(o,y,Object.getOwnPropertyDescriptor(l,y))}),o}function c(o,l){return l&&(f(l)==="object"||typeof l=="function")?l:L(o)}function R(o,l){return R=Object.setPrototypeOf||function(p,I){return p.__proto__=I,p},R(o,l)}function g(o,l){for(;!Object.prototype.hasOwnProperty.call(o,l)&&(o=m(o),o!==null););return o}var f=function(o){return o&&typeof Symbol!="undefined"&&o.constructor===Symbol?"symbol":typeof o};function d(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(o){return!1}}function i(o){var l=d();return function(){var p=m(o),I;if(l){var P=m(this).constructor;I=Reflect.construct(p,arguments,P)}else I=p.apply(this,arguments);return c(this,I)}}var a=function(o){"use strict";w(y,o);var l=i(y);function y(I,P){M(this,y);var h;h=l.call(this,I),delete h.description,h._measurements={},h._contexts={},h._hub=P||(0,v.getCurrentHub)(),h._name=I.name||"",h.metadata=s(b({source:"custom"},I.metadata),{spanMetadata:{}}),h._trimEnd=I.trimEnd,h.transaction=L(h);var _=h.metadata.dynamicSamplingContext;return _&&(h._frozenDynamicSamplingContext=b({},_)),h}var p=y.prototype;return p.setName=function(P){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"custom";this._name=P,this.metadata.source=h},p.initSpanRecorder=function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1e3;this.spanRecorder||(this.spanRecorder=new G.SpanRecorder(P)),this.spanRecorder.add(this)},p.setContext=function(P,h){h===null?delete this._contexts[P]:this._contexts[P]=h},p.setMeasurement=function(P,h){var _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";this._measurements[P]={value:h,unit:_}},p.setMetadata=function(P){this.metadata=b({},this.metadata,P)},p.finish=function(P){var h=this._finishTransaction(P);if(!!h)return this._hub.captureEvent(h)},p.toContext=function(){var P=N(m(y.prototype),"toContext",this).call(this);return(0,B.dropUndefinedKeys)(s(b({},P),{name:this.name,trimEnd:this._trimEnd}))},p.updateWithContext=function(P){return N(m(y.prototype),"updateWithContext",this).call(this,P),this.name=P.name||"",this._trimEnd=P.trimEnd,this},p.getDynamicSamplingContext=function(){if(this._frozenDynamicSamplingContext)return this._frozenDynamicSamplingContext;var P=this._hub||(0,v.getCurrentHub)(),h=P.getClient();if(!h)return{};var _=P.getScope(),T=(0,k.getDynamicSamplingContextFromClient)(this.traceId,h,_),A=this.metadata.sampleRate;A!==void 0&&(T.sample_rate="".concat(A));var U=this.metadata.source;return U&&U!=="url"&&(T.transaction=this.name),this.sampled!==void 0&&(T.sampled=String(this.sampled)),T},p.setHub=function(P){this._hub=P},p._finishTransaction=function(P){var h=this;if(this.endTimestamp===void 0){this.name||((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),N(m(y.prototype),"finish",this).call(this,P);var _=this._hub.getClient();if(_&&_.emit&&_.emit("finishTransaction",this),this.sampled!==!0){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),_&&_.recordDroppedEvent("sample_rate","transaction");return}var T=this.spanRecorder?this.spanRecorder.spans.filter(function(F){return F!==h&&F.endTimestamp}):[];this._trimEnd&&T.length>0&&(this.endTimestamp=T.reduce(function(F,z){return F.endTimestamp&&z.endTimestamp?F.endTimestamp>z.endTimestamp?F:z:F}).endTimestamp);var A=this.metadata,U=b({contexts:s(b({},this._contexts),{trace:this.getTraceContext()}),spans:T,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:s(b({},A),{dynamicSamplingContext:this.getDynamicSamplingContext()})},A.source&&{transaction_info:{source:A.source}}),H=Object.keys(this._measurements).length>0;return H&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),U.measurements=this._measurements),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.log("[Tracing] Finishing ".concat(this.op," transaction: ").concat(this.name,".")),U}},O(y,[{key:"name",get:function(){return this._name},set:function(P){this.setName(P)}}]),y}(G.Span)},390468:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(L,M){for(var C in M)Object.defineProperty(L,C,{enumerable:!0,get:M[C]})}B(x,{TRACEPARENT_REGEXP:function(){return k.TRACEPARENT_REGEXP},extractTraceparentData:function(){return k.extractTraceparentData},stripUrlQueryAndFragment:function(){return k.stripUrlQueryAndFragment},getActiveTransaction:function(){return G}});var v=S(329391),k=S(788894);function G(L){var M=L||(0,v.getCurrentHub)(),C=M.getScope();return C.getTransaction()}},85806:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(C,O){for(var D in O)Object.defineProperty(C,D,{enumerable:!0,get:O[D]})}B(x,{DEFAULT_TRANSPORT_BUFFER_SIZE:function(){return G},createTransport:function(){return L}});var v=S(788894);function k(C,O){return O!=null&&typeof Symbol!="undefined"&&O[Symbol.hasInstance]?!!O[Symbol.hasInstance](C):C instanceof O}var G=30;function L(C,O){var D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:(0,v.makePromiseBuffer)(C.bufferSize||G),N=function(u){var s=[];if((0,v.forEachEnvelopeItem)(u,function(f,d){var i=(0,v.envelopeItemTypeToDataCategory)(d);if((0,v.isRateLimited)(m,i)){var a=M(f,d);C.recordDroppedEvent("ratelimit_backoff",i,a)}else s.push(f)}),s.length===0)return(0,v.resolvedSyncPromise)();var c=(0,v.createEnvelope)(u[0],s),R=function(f){(0,v.forEachEnvelopeItem)(c,function(d,i){var a=M(d,i);C.recordDroppedEvent(f,(0,v.envelopeItemTypeToDataCategory)(i),a)})},g=function(){return O({body:(0,v.serializeEnvelope)(c,C.textEncoder)}).then(function(f){return f.statusCode!==void 0&&(f.statusCode<200||f.statusCode>=300)&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.warn("Sentry responded with status code ".concat(f.statusCode," to sent event.")),m=(0,v.updateRateLimits)(m,f),f},function(f){throw R("network_error"),f})};return D.add(g).then(function(f){return f},function(f){if(k(f,v.SentryError))return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.error("Skipped sending event because buffer is full."),R("queue_overflow"),(0,v.resolvedSyncPromise)();throw f})},m={},w=function(b){return D.drain(b)};return N.__sentry__baseTransport__=!0,{send:N,flush:w}}function M(C,O){if(!(O!=="event"&&O!=="transaction"))return Array.isArray(C)?C[1]:void 0}},477971:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(d,i){for(var a in i)Object.defineProperty(d,a,{enumerable:!0,get:i[a]})}B(x,{eventFromEnvelope:function(){return R},makeMultiplexedTransport:function(){return f}});var v=S(788894),k=S(324010);function G(d,i){(i==null||i>d.length)&&(i=d.length);for(var a=0,o=new Array(i);a<i;a++)o[a]=d[a];return o}function L(d){if(Array.isArray(d))return G(d)}function M(d,i,a,o,l,y,p){try{var I=d[y](p),P=I.value}catch(h){a(h);return}I.done?i(P):Promise.resolve(P).then(o,l)}function C(d){return function(){var i=this,a=arguments;return new Promise(function(o,l){var y=d.apply(i,a);function p(P){M(y,o,l,p,I,"next",P)}function I(P){M(y,o,l,p,I,"throw",P)}p(void 0)})}}function O(d,i,a){return i in d?Object.defineProperty(d,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):d[i]=a,d}function D(d){if(typeof Symbol!="undefined"&&d[Symbol.iterator]!=null||d["@@iterator"]!=null)return Array.from(d)}function N(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(d){for(var i=1;i<arguments.length;i++){var a=arguments[i]!=null?arguments[i]:{},o=Object.keys(a);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(a).filter(function(l){return Object.getOwnPropertyDescriptor(a,l).enumerable}))),o.forEach(function(l){O(d,l,a[l])})}return d}function w(d,i){var a=Object.keys(d);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(d);i&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(d,l).enumerable})),a.push.apply(a,o)}return a}function b(d,i){return i=i!=null?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(i)):w(Object(i)).forEach(function(a){Object.defineProperty(d,a,Object.getOwnPropertyDescriptor(i,a))}),d}function u(d){return L(d)||D(d)||s(d)||N()}function s(d,i){if(!!d){if(typeof d=="string")return G(d,i);var a=Object.prototype.toString.call(d).slice(8,-1);if(a==="Object"&&d.constructor&&(a=d.constructor.name),a==="Map"||a==="Set")return Array.from(a);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return G(d,i)}}var c=function(d,i){var a,o,l,y,p={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]};return y={next:I(0),throw:I(1),return:I(2)},typeof Symbol=="function"&&(y[Symbol.iterator]=function(){return this}),y;function I(h){return function(_){return P([h,_])}}function P(h){if(a)throw new TypeError("Generator is already executing.");for(;p;)try{if(a=1,o&&(l=h[0]&2?o.return:h[0]?o.throw||((l=o.return)&&l.call(o),0):o.next)&&!(l=l.call(o,h[1])).done)return l;switch(o=0,l&&(h=[h[0]&2,l.value]),h[0]){case 0:case 1:l=h;break;case 4:return p.label++,{value:h[1],done:!1};case 5:p.label++,o=h[1],h=[0];continue;case 7:h=p.ops.pop(),p.trys.pop();continue;default:if(l=p.trys,!(l=l.length>0&&l[l.length-1])&&(h[0]===6||h[0]===2)){p=0;continue}if(h[0]===3&&(!l||h[1]>l[0]&&h[1]<l[3])){p.label=h[1];break}if(h[0]===6&&p.label<l[1]){p.label=l[1],l=h;break}if(l&&p.label<l[2]){p.label=l[2],p.ops.push(h);break}l[2]&&p.ops.pop(),p.trys.pop();continue}h=i.call(d,p)}catch(_){h=[6,_],o=0}finally{a=l=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}};function R(d,i){var a;return(0,v.forEachEnvelopeItem)(d,function(o,l){return i.includes(l)&&(a=Array.isArray(o)?o[1]:void 0),!!a}),a}function g(d,i){return function(a){var o=d(a);return{send:function(){var l=C(function(y){var p;return c(this,function(I){return p=R(y,["event","transaction","profile","replay_event"]),p&&(p.release=i),[2,o.send(y)]})});return function(y){return l.apply(this,arguments)}}(),flush:function(l){return o.flush(l)}}}}function f(d,i){return function(a){var o=function(T,A){var U=A?"".concat(T,":").concat(A):T;if(!y[U]){var H=(0,v.dsnFromString)(T);if(!H)return;var F=(0,k.getEnvelopeEndpointWithUrlEncodedAuth)(H);y[U]=A?g(d,A)(b(m({},a),{url:F})):d(b(m({},a),{url:F}))}return y[U]},l=d(a),y={};function p(_){return I.apply(this,arguments)}function I(){return I=C(function(_){var T,A;function U(H){var F=H&&H.length?H:["event"];return R(_,F)}return c(this,function(H){switch(H.label){case 0:return T=i({envelope:_,getEvent:U}).map(function(F){return typeof F=="string"?o(F,void 0):o(F.dsn,F.release)}).filter(function(F){return!!F}),T.length===0&&T.push(l),[4,Promise.all(T.map(function(F){return F.send(_)}))];case 1:return A=H.sent(),[2,A[0]]}})}),I.apply(this,arguments)}function P(_){return h.apply(this,arguments)}function h(){return h=C(function(_){var T,A;return c(this,function(U){switch(U.label){case 0:return T=u(Object.keys(y).map(function(H){return y[H]})).concat([l]),[4,Promise.all(T.map(function(H){return H.flush(_)}))];case 1:return A=U.sent(),[2,A.every(function(H){return H})]}})}),h.apply(this,arguments)}return{send:p,flush:P}}}},360644:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(m,w){for(var b in w)Object.defineProperty(m,b,{enumerable:!0,get:w[b]})}B(x,{MIN_DELAY:function(){return M},START_DELAY:function(){return C},makeOfflineTransport:function(){return N}});var v=S(788894);function k(m,w,b,u,s,c,R){try{var g=m[c](R),f=g.value}catch(d){b(d);return}g.done?w(f):Promise.resolve(f).then(u,s)}function G(m){return function(){var w=this,b=arguments;return new Promise(function(u,s){var c=m.apply(w,b);function R(f){k(c,u,s,R,g,"next",f)}function g(f){k(c,u,s,R,g,"throw",f)}R(void 0)})}}var L=function(m,w){var b,u,s,c,R={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]};return c={next:g(0),throw:g(1),return:g(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function g(d){return function(i){return f([d,i])}}function f(d){if(b)throw new TypeError("Generator is already executing.");for(;R;)try{if(b=1,u&&(s=d[0]&2?u.return:d[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,d[1])).done)return s;switch(u=0,s&&(d=[d[0]&2,s.value]),d[0]){case 0:case 1:s=d;break;case 4:return R.label++,{value:d[1],done:!1};case 5:R.label++,u=d[1],d=[0];continue;case 7:d=R.ops.pop(),R.trys.pop();continue;default:if(s=R.trys,!(s=s.length>0&&s[s.length-1])&&(d[0]===6||d[0]===2)){R=0;continue}if(d[0]===3&&(!s||d[1]>s[0]&&d[1]<s[3])){R.label=d[1];break}if(d[0]===6&&R.label<s[1]){R.label=s[1],s=d;break}if(s&&R.label<s[2]){R.label=s[2],R.ops.push(d);break}s[2]&&R.ops.pop(),R.trys.pop();continue}d=w.call(m,R)}catch(i){d=[6,i],u=0}finally{b=s=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},M=100,C=5e3,O=36e5;function D(m,w){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.info("[Offline]: ".concat(m),w)}function N(m){return function(w){var b=function(o,l,y){return(0,v.envelopeContainsItemType)(o,["replay_event","replay_recording","client_report"])?!1:w.shouldStore?w.shouldStore(o,l,y):!0},u=function(o){!R||(f&&clearTimeout(f),f=setTimeout(G(function(){var l;return L(this,function(y){switch(y.label){case 0:return f=void 0,[4,R.pop()];case 1:return l=y.sent(),l&&(D("Attempting to send previously queued event"),d(l).catch(function(p){D("Failed to retry sending",p)})),[2]}})}),o),typeof f!="number"&&f.unref&&f.unref())},s=function(){f||(u(g),g=Math.min(g*2,O))},c=m(w),R=w.createStore?w.createStore(w):void 0,g=C,f;function d(a){return i.apply(this,arguments)}function i(){return i=G(function(a){var o,l,y,p;return L(this,function(I){switch(I.label){case 0:return I.trys.push([0,2,,8]),[4,c.send(a)];case 1:if(o=I.sent(),l=M,o){if(o.headers&&o.headers["retry-after"])l=(0,v.parseRetryAfterHeader)(o.headers["retry-after"]);else if((o.statusCode||0)>=400)return[2,o]}return u(l),g=C,[2,o];case 2:return y=I.sent(),p=R,p?[4,b(a,y,g)]:[3,4];case 3:p=I.sent(),I.label=4;case 4:return p?[4,R.insert(a)]:[3,6];case 5:return I.sent(),s(),D("Error sending. Event queued",y),[2,{}];case 6:throw y;case 7:return[3,8];case 8:return[2]}})}),i.apply(this,arguments)}return w.flushAtStartup&&s(),{send:d,flush:function(a){return c.flush(a)}}}}},704503:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"hasTracingEnabled",{enumerable:!0,get:function(){return v}});var B=S(329391);function v(k){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;var G=(0,B.getCurrentHub)().getClient(),L=k||G&&G.getOptions();return!!L&&(L.enableTracing||"tracesSampleRate"in L||"tracesSampler"in L)}},499642:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"isSentryRequestUrl",{enumerable:!0,get:function(){return S}});function S(G,L){var M=L.getClient(),C=M&&M.getDsn(),O=M&&M.getOptions().tunnel;return v(G,C)||B(G,O)}function B(G,L){return L?k(G)===k(L):!1}function v(G,L){return L?G.includes(L.host):!1}function k(G){return G[G.length-1]==="/"?G.slice(0,-1):G}},810501:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(o,l){for(var y in l)Object.defineProperty(o,y,{enumerable:!0,get:l[y]})}B(x,{applyDebugIds:function(){return f},applyDebugMeta:function(){return d},prepareEvent:function(){return c}});var v=S(788894),k=S(939395),G=S(514271),L=S(526266);function M(o,l){(l==null||l>o.length)&&(l=o.length);for(var y=0,p=new Array(l);y<l;y++)p[y]=o[y];return p}function C(o){if(Array.isArray(o))return M(o)}function O(o,l,y){return l in o?Object.defineProperty(o,l,{value:y,enumerable:!0,configurable:!0,writable:!0}):o[l]=y,o}function D(o){if(typeof Symbol!="undefined"&&o[Symbol.iterator]!=null||o["@@iterator"]!=null)return Array.from(o)}function N(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(o){for(var l=1;l<arguments.length;l++){var y=arguments[l]!=null?arguments[l]:{},p=Object.keys(y);typeof Object.getOwnPropertySymbols=="function"&&(p=p.concat(Object.getOwnPropertySymbols(y).filter(function(I){return Object.getOwnPropertyDescriptor(y,I).enumerable}))),p.forEach(function(I){O(o,I,y[I])})}return o}function w(o,l){var y=Object.keys(o);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(o);l&&(p=p.filter(function(I){return Object.getOwnPropertyDescriptor(o,I).enumerable})),y.push.apply(y,p)}return y}function b(o,l){return l=l!=null?l:{},Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(l)):w(Object(l)).forEach(function(y){Object.defineProperty(o,y,Object.getOwnPropertyDescriptor(l,y))}),o}function u(o){return C(o)||D(o)||s(o)||N()}function s(o,l){if(!!o){if(typeof o=="string")return M(o,l);var y=Object.prototype.toString.call(o).slice(8,-1);if(y==="Object"&&o.constructor&&(y=o.constructor.name),y==="Map"||y==="Set")return Array.from(y);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return M(o,l)}}function c(o,l,y,p,I){var P=o.normalizeDepth,h=P===void 0?3:P,_=o.normalizeMaxBreadth,T=_===void 0?1e3:_,A=b(m({},l),{event_id:l.event_id||y.event_id||(0,v.uuid4)(),timestamp:l.timestamp||(0,v.dateTimestampInSeconds)()}),U=y.integrations||o.integrations.map(function(ee){return ee.name});R(A,o),i(A,U),l.type===void 0&&f(A,o.stackParser);var H=p;y.captureContext&&(H=L.Scope.clone(H).update(y.captureContext));var F=(0,v.resolvedSyncPromise)(A),z=I&&I.getEventProcessors?I.getEventProcessors():[];if(H){if(H.getAttachments){var Z=u(y.attachments||[]).concat(u(H.getAttachments()));Z.length&&(y.attachments=Z)}F=H.applyToEvent(A,y,z)}else F=(0,G.notifyEventProcessors)(u(z).concat(u((0,G.getGlobalEventProcessors)())),A,y);return F.then(function(ee){return ee&&d(ee),typeof h=="number"&&h>0?a(ee,h,T):ee})}function R(o,l){var y=l.environment,p=l.release,I=l.dist,P=l.maxValueLength,h=P===void 0?250:P;"environment"in o||(o.environment="environment"in l?y:k.DEFAULT_ENVIRONMENT),o.release===void 0&&p!==void 0&&(o.release=p),o.dist===void 0&&I!==void 0&&(o.dist=I),o.message&&(o.message=(0,v.truncate)(o.message,h));var _=o.exception&&o.exception.values&&o.exception.values[0];_&&_.value&&(_.value=(0,v.truncate)(_.value,h));var T=o.request;T&&T.url&&(T.url=(0,v.truncate)(T.url,h))}var g=new WeakMap;function f(o,l){var y=v.GLOBAL_OBJ._sentryDebugIds;if(!!y){var p,I=g.get(l);I?p=I:(p=new Map,g.set(l,p));var P=Object.keys(y).reduce(function(h,_){var T,A=p.get(_);A?T=A:(T=l(_),p.set(_,T));for(var U=T.length-1;U>=0;U--){var H=T[U];if(H.filename){h[H.filename]=y[_];break}}return h},{});try{o.exception.values.forEach(function(h){h.stacktrace.frames.forEach(function(_){_.filename&&(_.debug_id=P[_.filename])})})}catch(h){}}}function d(o){var l={};try{o.exception.values.forEach(function(p){p.stacktrace.frames.forEach(function(I){I.debug_id&&(I.abs_path?l[I.abs_path]=I.debug_id:I.filename&&(l[I.filename]=I.debug_id),delete I.debug_id)})})}catch(p){}if(Object.keys(l).length!==0){o.debug_meta=o.debug_meta||{},o.debug_meta.images=o.debug_meta.images||[];var y=o.debug_meta.images;Object.keys(l).forEach(function(p){y.push({type:"sourcemap",code_file:p,debug_id:l[p]})})}}function i(o,l){l.length>0&&(o.sdk=o.sdk||{},o.sdk.integrations=u(o.sdk.integrations||[]).concat(u(l)))}function a(o,l,y){if(!o)return null;var p=m({},o,o.breadcrumbs&&{breadcrumbs:o.breadcrumbs.map(function(I){return m({},I,I.data&&{data:(0,v.normalize)(I.data,l,y)})})},o.user&&{user:(0,v.normalize)(o.user,l,y)},o.contexts&&{contexts:(0,v.normalize)(o.contexts,l,y)},o.extra&&{extra:(0,v.normalize)(o.extra,l,y)});return o.contexts&&o.contexts.trace&&p.contexts&&(p.contexts.trace=o.contexts.trace,o.contexts.trace.data&&(p.contexts.trace.data=(0,v.normalize)(o.contexts.trace.data,l,y))),o.spans&&(p.spans=o.spans.map(function(I){return I.data&&(I.data=(0,v.normalize)(I.data,l,y)),I})),p}},689789:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"SDK_VERSION",{enumerable:!0,get:function(){return S}});var S="7.77.0"},649016:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function S(G,L){for(var M in L)Object.defineProperty(G,M,{enumerable:!0,get:L[M]})}S(x,{REACT_MOUNT_OP:function(){return k},REACT_RENDER_OP:function(){return B},REACT_UPDATE_OP:function(){return v}});var B="ui.react.render",v="ui.react.update",k="ui.react.mount"},26080:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(h,_){for(var T in _)Object.defineProperty(h,T,{enumerable:!0,get:_[T]})}B(x,{ErrorBoundary:function(){return I},UNKNOWN_COMPONENT:function(){return l},isAtLeastReact17:function(){return o},withErrorBoundary:function(){return P}});var v=S(280105),k=S(788894),G=m(S(192628)),L=b(S(508669));function M(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function C(h,_){if(!(h instanceof _))throw new TypeError("Cannot call a class as a function")}function O(h,_,T){return _ in h?Object.defineProperty(h,_,{value:T,enumerable:!0,configurable:!0,writable:!0}):h[_]=T,h}function D(h){return D=Object.setPrototypeOf?Object.getPrototypeOf:function(T){return T.__proto__||Object.getPrototypeOf(T)},D(h)}function N(h,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function");h.prototype=Object.create(_&&_.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),_&&g(h,_)}function m(h){return h&&h.__esModule?h:{default:h}}function w(h){if(typeof WeakMap!="function")return null;var _=new WeakMap,T=new WeakMap;return(w=function(A){return A?T:_})(h)}function b(h,_){if(!_&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var T=w(_);if(T&&T.has(h))return T.get(h);var A={},U=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var H in h)if(H!=="default"&&Object.prototype.hasOwnProperty.call(h,H)){var F=U?Object.getOwnPropertyDescriptor(h,H):null;F&&(F.get||F.set)?Object.defineProperty(A,H,F):A[H]=h[H]}return A.default=h,T&&T.set(h,A),A}function u(h){for(var _=1;_<arguments.length;_++){var T=arguments[_]!=null?arguments[_]:{},A=Object.keys(T);typeof Object.getOwnPropertySymbols=="function"&&(A=A.concat(Object.getOwnPropertySymbols(T).filter(function(U){return Object.getOwnPropertyDescriptor(T,U).enumerable}))),A.forEach(function(U){O(h,U,T[U])})}return h}function s(h,_){var T=Object.keys(h);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(h);_&&(A=A.filter(function(U){return Object.getOwnPropertyDescriptor(h,U).enumerable})),T.push.apply(T,A)}return T}function c(h,_){return _=_!=null?_:{},Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(_)):s(Object(_)).forEach(function(T){Object.defineProperty(h,T,Object.getOwnPropertyDescriptor(_,T))}),h}function R(h,_){return _&&(f(_)==="object"||typeof _=="function")?_:M(h)}function g(h,_){return g=Object.setPrototypeOf||function(A,U){return A.__proto__=U,A},g(h,_)}var f=function(h){return h&&typeof Symbol!="undefined"&&h.constructor===Symbol?"symbol":typeof h};function d(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(h){return!1}}function i(h){var _=d();return function(){var A=D(h),U;if(_){var H=D(this).constructor;U=Reflect.construct(A,arguments,H)}else U=A.apply(this,arguments);return R(this,U)}}var a="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/errorboundary.tsx";function o(h){var _=h.match(/^([^.]+)/);return _!==null&&parseInt(_[0])>=17}var l="unknown",y={componentStack:null,error:null,eventId:null};function p(h,_){var T=new WeakMap;function A(U,H){if(!T.has(U)){if(U.cause)return T.set(U,!0),A(U.cause,H);U.cause=H}}A(h,_)}var I=function(h){"use strict";N(T,h);var _=i(T);function T(U){C(this,T);var H;H=_.call(this,U),T.prototype.__init.call(M(H)),H.state=y,H._openFallbackReportDialog=!0;var F=(0,v.getCurrentHub)().getClient();return F&&F.on&&U.showDialog&&(H._openFallbackReportDialog=!1,F.on("afterSendEvent",function(z){!z.type&&z.event_id===H._lastEventId&&(0,v.showReportDialog)(c(u({},U.dialogOptions),{eventId:H._lastEventId}))})),H}var A=T.prototype;return A.componentDidCatch=function(H,F){var z=F.componentStack,Z=this,ee=this.props,ne=ee.beforeCapture,W=ee.onError,X=ee.showDialog,Y=ee.dialogOptions;(0,v.withScope)(function(re){if(o(L.version)&&(0,k.isError)(H)){var ae=new Error(H.message);ae.name="React ErrorBoundary ".concat(H.name),ae.stack=z,p(H,ae)}ne&&ne(re,H,z),re.addEventProcessor(function(ve){return(0,k.addExceptionMechanism)(ve,{handled:!1}),ve});var pe=(0,v.captureException)(H,{contexts:{react:{componentStack:z}}});W&&W(H,z,pe),X&&(Z._lastEventId=pe,Z._openFallbackReportDialog&&(0,v.showReportDialog)(c(u({},Y),{eventId:pe}))),Z.setState({error:H,componentStack:z,eventId:pe})})},A.componentDidMount=function(){var H=this.props.onMount;H&&H()},A.componentWillUnmount=function(){var H=this.state,F=H.error,z=H.componentStack,Z=H.eventId,ee=this.props.onUnmount;ee&&ee(F,z,Z)},A.__init=function(){var H=this;this.resetErrorBoundary=function(){var F=H.props.onReset,z=H.state,Z=z.error,ee=z.componentStack,ne=z.eventId;F&&F(Z,ee,ne),H.setState(y)}},A.render=function(){var H=this.props,F=H.fallback,z=H.children,Z=this.state;if(Z.error){var ee=void 0;return typeof F=="function"?ee=F({error:Z.error,componentStack:Z.componentStack,resetError:this.resetErrorBoundary,eventId:Z.eventId}):ee=F,L.isValidElement(ee)?ee:(F&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.warn("fallback did not produce a valid ReactElement"),null)}return typeof z=="function"?z():z},T}(L.Component);function P(h,_){var T=this,A=h.displayName||h.name||l,U=function(H){return L.createElement(I,c(u({},_),{__self:T,__source:{fileName:a,lineNumber:234}}),L.createElement(h,c(u({},H),{__self:T,__source:{fileName:a,lineNumber:235}})))};return U.displayName="errorBoundary(".concat(A,")"),(0,G.default)(U,h),U}},902149:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(N,m){for(var w in m)Object.defineProperty(N,w,{enumerable:!0,get:m[w]})}B(x,{init:function(){return v.init},Profiler:function(){return k.Profiler},useProfiler:function(){return k.useProfiler},withProfiler:function(){return k.withProfiler},ErrorBoundary:function(){return G.ErrorBoundary},withErrorBoundary:function(){return G.withErrorBoundary},createReduxEnhancer:function(){return L.createReduxEnhancer},reactRouterV3Instrumentation:function(){return M.reactRouterV3Instrumentation},reactRouterV4Instrumentation:function(){return C.reactRouterV4Instrumentation},reactRouterV5Instrumentation:function(){return C.reactRouterV5Instrumentation},withSentryRouting:function(){return C.withSentryRouting},reactRouterV6Instrumentation:function(){return O.reactRouterV6Instrumentation},withSentryReactRouterV6Routing:function(){return O.withSentryReactRouterV6Routing},wrapCreateBrowserRouter:function(){return O.wrapCreateBrowserRouter},wrapUseRoutes:function(){return O.wrapUseRoutes}}),D(S(280105),x);var v=S(485503),k=S(736004),G=S(26080),L=S(876568),M=S(12659),C=S(265532),O=S(618995);function D(N,m){return Object.keys(N).forEach(function(w){w!=="default"&&!Object.prototype.hasOwnProperty.call(m,w)&&Object.defineProperty(m,w,{enumerable:!0,get:function(){return N[w]}})}),N}},736004:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(F,z){for(var Z in z)Object.defineProperty(F,Z,{enumerable:!0,get:z[Z]})}B(x,{Profiler:function(){return T},UNKNOWN_COMPONENT:function(){return _},getActiveTransaction:function(){return H},useProfiler:function(){return U},withProfiler:function(){return A}});var v=S(280105),k=S(788894),G=u(S(192628)),L=c(S(508669)),M=S(649016);function C(F,z){(z==null||z>F.length)&&(z=F.length);for(var Z=0,ee=new Array(z);Z<z;Z++)ee[Z]=F[Z];return ee}function O(F){if(Array.isArray(F))return F}function D(F){if(F===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return F}function N(F,z){if(!(F instanceof z))throw new TypeError("Cannot call a class as a function")}function m(F,z,Z){return z in F?Object.defineProperty(F,z,{value:Z,enumerable:!0,configurable:!0,writable:!0}):F[z]=Z,F}function w(F){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(Z){return Z.__proto__||Object.getPrototypeOf(Z)},w(F)}function b(F,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");F.prototype=Object.create(z&&z.prototype,{constructor:{value:F,writable:!0,configurable:!0}}),z&&o(F,z)}function u(F){return F&&F.__esModule?F:{default:F}}function s(F){if(typeof WeakMap!="function")return null;var z=new WeakMap,Z=new WeakMap;return(s=function(ee){return ee?Z:z})(F)}function c(F,z){if(!z&&F&&F.__esModule)return F;if(F===null||typeof F!="object"&&typeof F!="function")return{default:F};var Z=s(z);if(Z&&Z.has(F))return Z.get(F);var ee={},ne=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var W in F)if(W!=="default"&&Object.prototype.hasOwnProperty.call(F,W)){var X=ne?Object.getOwnPropertyDescriptor(F,W):null;X&&(X.get||X.set)?Object.defineProperty(ee,W,X):ee[W]=F[W]}return ee.default=F,Z&&Z.set(F,ee),ee}function R(F,z){var Z=F==null?null:typeof Symbol!="undefined"&&F[Symbol.iterator]||F["@@iterator"];if(Z!=null){var ee=[],ne=!0,W=!1,X,Y;try{for(Z=Z.call(F);!(ne=(X=Z.next()).done)&&(ee.push(X.value),!(z&&ee.length===z));ne=!0);}catch(re){W=!0,Y=re}finally{try{!ne&&Z.return!=null&&Z.return()}finally{if(W)throw Y}}return ee}}function g(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(F){for(var z=1;z<arguments.length;z++){var Z=arguments[z]!=null?arguments[z]:{},ee=Object.keys(Z);typeof Object.getOwnPropertySymbols=="function"&&(ee=ee.concat(Object.getOwnPropertySymbols(Z).filter(function(ne){return Object.getOwnPropertyDescriptor(Z,ne).enumerable}))),ee.forEach(function(ne){m(F,ne,Z[ne])})}return F}function d(F,z){var Z=Object.keys(F);if(Object.getOwnPropertySymbols){var ee=Object.getOwnPropertySymbols(F);z&&(ee=ee.filter(function(ne){return Object.getOwnPropertyDescriptor(F,ne).enumerable})),Z.push.apply(Z,ee)}return Z}function i(F,z){return z=z!=null?z:{},Object.getOwnPropertyDescriptors?Object.defineProperties(F,Object.getOwnPropertyDescriptors(z)):d(Object(z)).forEach(function(Z){Object.defineProperty(F,Z,Object.getOwnPropertyDescriptor(z,Z))}),F}function a(F,z){return z&&(y(z)==="object"||typeof z=="function")?z:D(F)}function o(F,z){return o=Object.setPrototypeOf||function(ee,ne){return ee.__proto__=ne,ee},o(F,z)}function l(F,z){return O(F)||R(F,z)||p(F,z)||g()}var y=function(F){return F&&typeof Symbol!="undefined"&&F.constructor===Symbol?"symbol":typeof F};function p(F,z){if(!!F){if(typeof F=="string")return C(F,z);var Z=Object.prototype.toString.call(F).slice(8,-1);if(Z==="Object"&&F.constructor&&(Z=F.constructor.name),Z==="Map"||Z==="Set")return Array.from(Z);if(Z==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Z))return C(F,z)}}function I(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(F){return!1}}function P(F){var z=I();return function(){var ee=w(F),ne;if(z){var W=w(this).constructor;ne=Reflect.construct(ee,arguments,W)}else ne=ee.apply(this,arguments);return a(this,ne)}}var h="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/profiler.tsx",_="unknown",T=function(F){"use strict";b(Z,F);var z=P(Z);function Z(ne){N(this,Z);var W;W=z.call(this,ne);var X=W.props,Y=X.name,re=X.disabled,ae=re===void 0?!1:re;if(ae)return a(W);var pe=H();return pe&&(W._mountSpan=pe.startChild({description:"<".concat(Y,">"),op:M.REACT_MOUNT_OP,origin:"auto.ui.react.profiler"})),W}var ee=Z.prototype;return ee.componentDidMount=function(){this._mountSpan&&this._mountSpan.finish()},ee.shouldComponentUpdate=function(W){var X=W.updateProps,Y=W.includeUpdates,re=Y===void 0?!0:Y,ae=this;if(re&&this._mountSpan&&X!==this.props.updateProps){var pe=Object.keys(X).filter(function(we){return X[we]!==ae.props.updateProps[we]});if(pe.length>0){var ve=(0,k.timestampInSeconds)();this._updateSpan=this._mountSpan.startChild({data:{changedProps:pe},description:"<".concat(this.props.name,">"),op:M.REACT_UPDATE_OP,origin:"auto.ui.react.profiler",startTimestamp:ve})}}return!0},ee.componentDidUpdate=function(){this._updateSpan&&(this._updateSpan.finish(),this._updateSpan=void 0)},ee.componentWillUnmount=function(){var W=this.props,X=W.name,Y=W.includeRender,re=Y===void 0?!0:Y;this._mountSpan&&re&&this._mountSpan.startChild({description:"<".concat(X,">"),endTimestamp:(0,k.timestampInSeconds)(),op:M.REACT_RENDER_OP,origin:"auto.ui.react.profiler",startTimestamp:this._mountSpan.endTimestamp})},ee.render=function(){return this.props.children},Z.__initStatic=function(){this.defaultProps={disabled:!1,includeRender:!0,includeUpdates:!0}},Z}(L.Component);T.__initStatic();function A(F,z){var Z=this,ee=z&&z.name||F.displayName||F.name||_,ne=function(W){return L.createElement(T,i(f({},z),{name:ee,updateProps:W,__self:Z,__source:{fileName:h,lineNumber:149}}),L.createElement(F,i(f({},W),{__self:Z,__source:{fileName:h,lineNumber:150}})))};return ne.displayName="profiler(".concat(ee,")"),(0,G.default)(ne,F),ne}function U(F){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{disabled:!1,hasRenderSpan:!0},Z=l(L.useState(function(){if(!(z&&z.disabled)){var ne=H();if(ne)return ne.startChild({description:"<".concat(F,">"),op:M.REACT_MOUNT_OP,origin:"auto.ui.react.profiler"})}}),1),ee=Z[0];L.useEffect(function(){return ee&&ee.finish(),function(){ee&&z.hasRenderSpan&&ee.startChild({description:"<".concat(F,">"),endTimestamp:(0,k.timestampInSeconds)(),op:M.REACT_RENDER_OP,origin:"auto.ui.react.profiler",startTimestamp:ee.endTimestamp})}},[])}function H(){var F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:(0,v.getCurrentHub)();if(F){var z=F.getScope();return z.getTransaction()}}},265532:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(p,I){for(var P in I)Object.defineProperty(p,P,{enumerable:!0,get:I[P]})}B(x,{reactRouterV4Instrumentation:function(){return d},reactRouterV5Instrumentation:function(){return i},withSentryRouting:function(){return y}});var v=S(280105),k=O(S(192628)),G=N(S(508669));function L(p,I){(I==null||I>p.length)&&(I=p.length);for(var P=0,h=new Array(I);P<I;P++)h[P]=p[P];return h}function M(p){if(Array.isArray(p))return p}function C(p,I,P){return I in p?Object.defineProperty(p,I,{value:P,enumerable:!0,configurable:!0,writable:!0}):p[I]=P,p}function O(p){return p&&p.__esModule?p:{default:p}}function D(p){if(typeof WeakMap!="function")return null;var I=new WeakMap,P=new WeakMap;return(D=function(h){return h?P:I})(p)}function N(p,I){if(!I&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var P=D(I);if(P&&P.has(p))return P.get(p);var h={},_=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in p)if(T!=="default"&&Object.prototype.hasOwnProperty.call(p,T)){var A=_?Object.getOwnPropertyDescriptor(p,T):null;A&&(A.get||A.set)?Object.defineProperty(h,T,A):h[T]=p[T]}return h.default=p,P&&P.set(p,h),h}function m(p,I){var P=p==null?null:typeof Symbol!="undefined"&&p[Symbol.iterator]||p["@@iterator"];if(P!=null){var h=[],_=!0,T=!1,A,U;try{for(P=P.call(p);!(_=(A=P.next()).done)&&(h.push(A.value),!(I&&h.length===I));_=!0);}catch(H){T=!0,U=H}finally{try{!_&&P.return!=null&&P.return()}finally{if(T)throw U}}return h}}function w(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(p){for(var I=1;I<arguments.length;I++){var P=arguments[I]!=null?arguments[I]:{},h=Object.keys(P);typeof Object.getOwnPropertySymbols=="function"&&(h=h.concat(Object.getOwnPropertySymbols(P).filter(function(_){return Object.getOwnPropertyDescriptor(P,_).enumerable}))),h.forEach(function(_){C(p,_,P[_])})}return p}function u(p,I){var P=Object.keys(p);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(p);I&&(h=h.filter(function(_){return Object.getOwnPropertyDescriptor(p,_).enumerable})),P.push.apply(P,h)}return P}function s(p,I){return I=I!=null?I:{},Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(I)):u(Object(I)).forEach(function(P){Object.defineProperty(p,P,Object.getOwnPropertyDescriptor(I,P))}),p}function c(p,I){return M(p)||m(p,I)||R(p,I)||w()}function R(p,I){if(!!p){if(typeof p=="string")return L(p,I);var P=Object.prototype.toString.call(p).slice(8,-1);if(P==="Object"&&p.constructor&&(P=p.constructor.name),P==="Map"||P==="Set")return Array.from(P);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return L(p,I)}}var g="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/reactrouter.tsx",f;function d(p,I,P){return a(p,"react-router-v4",I,P)}function i(p,I,P){return a(p,"react-router-v5",I,P)}function a(p,I){var P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],h=arguments.length>3?arguments[3]:void 0,_=function(){if(p&&p.location)return p.location.pathname;if(v.WINDOW&&v.WINDOW.location)return v.WINDOW.location.pathname},T=function(H){if(P.length===0||!h)return[H,"url"];for(var F=o(P,H,h),z=0;z<F.length;z++)if(F[z].match.isExact)return[F[z].match.path,"route"];return[H,"url"]},A={"routing.instrumentation":I};return function(U){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,z=_();if(H&&z){var Z=c(T(z),2),ee=Z[0],ne=Z[1];f=U({name:ee,op:"pageload",origin:"auto.pageload.react.reactrouter",tags:A,metadata:{source:ne}})}F&&p.listen&&p.listen(function(W,X){if(X&&(X==="PUSH"||X==="POP")){f&&f.finish();var Y=c(T(W.pathname),2),re=Y[0],ae=Y[1];f=U({name:re,op:"navigation",origin:"auto.navigation.react.reactrouter",tags:A,metadata:{source:ae}})}})}}function o(p,I,P){var h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[];return p.some(function(_){var T=_.path?P(I,_):h.length?h[h.length-1].match:l(I);return T&&(h.push({route:_,match:T}),_.routes&&o(_.routes,I,P,h)),!!T}),h}function l(p){return{path:"/",url:"/",params:{},isExact:p==="/"}}function y(p){var I=this,P=p.displayName||p.name,h=function(_){return f&&_&&_.computedMatch&&_.computedMatch.isExact&&f.setName(_.computedMatch.path,"route"),G.createElement(p,s(b({},_),{__self:I,__source:{fileName:g,lineNumber:174}}))};return h.displayName="sentryRoute(".concat(P,")"),(0,k.default)(h,p),h}},12659:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"reactRouterV3Instrumentation",{enumerable:!0,get:function(){return v}});var B=S(280105);function v(L,M,C){return function(O){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,m,w;D&&B.WINDOW&&B.WINDOW.location&&k(M,B.WINDOW.location,C,function(b){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"url";w=b,m=O({name:w,op:"pageload",origin:"auto.pageload.react.reactrouterv3",tags:{"routing.instrumentation":"react-router-v3"},metadata:{source:u}})}),N&&L.listen&&L.listen(function(b){if(b.action==="PUSH"||b.action==="POP"){m&&m.finish();var u={"routing.instrumentation":"react-router-v3"};w&&(u.from=w),k(M,b,C,function(s){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"url";w=s,m=O({name:w,op:"navigation",origin:"auto.navigation.react.reactrouterv3",tags:u,metadata:{source:c}})})}})}}function k(L,M,C,O){var D=M.pathname;C({location:M,routes:L},function(N,m,w){if(N||!w)return O(D);var b=G(w.routes||[]);return b.length===0||b==="/*"?O(D):(D=b,O(D,"route"))})}function G(L){if(!Array.isArray(L)||L.length===0)return"";for(var M=L.filter(function(N){return!!N.path}),C=-1,O=M.length-1;O>=0;O--){var D=M[O];if(D.path&&D.path.startsWith("/")){C=O;break}}return M.slice(C).filter(function(N){var m=N.path;return!!m}).map(function(N){var m=N.path;return m}).join("")}},618995:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(W,X){for(var Y in X)Object.defineProperty(W,Y,{enumerable:!0,get:X[Y]})}B(x,{reactRouterV6Instrumentation:function(){return U},withSentryReactRouterV6Routing:function(){return Z},wrapCreateBrowserRouter:function(){return ne},wrapUseRoutes:function(){return ee}});var v=S(280105),k=S(788894),G=N(S(192628)),L=w(S(508669));function M(W,X){(X==null||X>W.length)&&(X=W.length);for(var Y=0,re=new Array(X);Y<X;Y++)re[Y]=W[Y];return re}function C(W){if(Array.isArray(W))return W}function O(W){if(Array.isArray(W))return M(W)}function D(W,X,Y){return X in W?Object.defineProperty(W,X,{value:Y,enumerable:!0,configurable:!0,writable:!0}):W[X]=Y,W}function N(W){return W&&W.__esModule?W:{default:W}}function m(W){if(typeof WeakMap!="function")return null;var X=new WeakMap,Y=new WeakMap;return(m=function(re){return re?Y:X})(W)}function w(W,X){if(!X&&W&&W.__esModule)return W;if(W===null||typeof W!="object"&&typeof W!="function")return{default:W};var Y=m(X);if(Y&&Y.has(W))return Y.get(W);var re={},ae=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var pe in W)if(pe!=="default"&&Object.prototype.hasOwnProperty.call(W,pe)){var ve=ae?Object.getOwnPropertyDescriptor(W,pe):null;ve&&(ve.get||ve.set)?Object.defineProperty(re,pe,ve):re[pe]=W[pe]}return re.default=W,Y&&Y.set(W,re),re}function b(W){if(typeof Symbol!="undefined"&&W[Symbol.iterator]!=null||W["@@iterator"]!=null)return Array.from(W)}function u(W,X){var Y=W==null?null:typeof Symbol!="undefined"&&W[Symbol.iterator]||W["@@iterator"];if(Y!=null){var re=[],ae=!0,pe=!1,ve,we;try{for(Y=Y.call(W);!(ae=(ve=Y.next()).done)&&(re.push(ve.value),!(X&&re.length===X));ae=!0);}catch(Pe){pe=!0,we=Pe}finally{try{!ae&&Y.return!=null&&Y.return()}finally{if(pe)throw we}}return re}}function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function R(W){for(var X=1;X<arguments.length;X++){var Y=arguments[X]!=null?arguments[X]:{},re=Object.keys(Y);typeof Object.getOwnPropertySymbols=="function"&&(re=re.concat(Object.getOwnPropertySymbols(Y).filter(function(ae){return Object.getOwnPropertyDescriptor(Y,ae).enumerable}))),re.forEach(function(ae){D(W,ae,Y[ae])})}return W}function g(W,X){var Y=Object.keys(W);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(W);X&&(re=re.filter(function(ae){return Object.getOwnPropertyDescriptor(W,ae).enumerable})),Y.push.apply(Y,re)}return Y}function f(W,X){return X=X!=null?X:{},Object.getOwnPropertyDescriptors?Object.defineProperties(W,Object.getOwnPropertyDescriptors(X)):g(Object(X)).forEach(function(Y){Object.defineProperty(W,Y,Object.getOwnPropertyDescriptor(X,Y))}),W}function d(W,X){return C(W)||u(W,X)||a(W,X)||s()}function i(W){return O(W)||b(W)||a(W)||c()}function a(W,X){if(!!W){if(typeof W=="string")return M(W,X);var Y=Object.prototype.toString.call(W).slice(8,-1);if(Y==="Object"&&W.constructor&&(Y=W.constructor.name),Y==="Map"||Y==="Set")return Array.from(Y);if(Y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Y))return M(W,X)}}var o="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/reactrouterv6.tsx",l,y,p,I,P,h,_,T,A={"routing.instrumentation":"react-router-v6"};function U(W,X,Y,re,ae){return function(pe){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,Pe=v.WINDOW&&v.WINDOW.location&&v.WINDOW.location.pathname;ve&&Pe&&(l=pe({name:Pe,op:"pageload",origin:"auto.pageload.react.reactrouterv6",tags:A,metadata:{source:"url"}})),y=W,p=X,I=Y,h=ae,P=re,_=pe,T=we}}function H(W,X,Y){var re=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"";if(!W||W.length===0)return[X.pathname,"url"];var ae="";if(Y)for(var pe=0;pe<Y.length;pe++){var ve=Y[pe],we=ve.route;if(we){if(we.index)return[ve.pathname,"route"];var Pe=we.path;if(Pe){var ce=Pe[0]==="/"||ae[ae.length-1]==="/"?Pe:"/".concat(Pe);if(ae+=ce,re+ve.pathname===X.pathname)return(0,k.getNumberOfUrlSegments)(ae)!==(0,k.getNumberOfUrlSegments)(ve.pathname)&&ae.slice(-2)!=="/*"?[re+ce,"route"]:[re+ae,"route"]}}}return[X.pathname,"url"]}function F(W,X,Y,re){var ae=Array.isArray(Y)?Y:h(X,W,re);if(l&&ae){var pe;(pe=l).setName.apply(pe,i(H(X,W,ae,re)))}}function z(W,X,Y,re,ae){var pe=Array.isArray(re)?re:h(X,W,ae);if(T&&(Y==="PUSH"||Y==="POP")&&pe){l&&l.finish();var ve=d(H(X,W,pe,ae),2),we=ve[0],Pe=ve[1];l=_({name:we,op:"navigation",origin:"auto.navigation.react.reactrouterv6",tags:A,metadata:{source:Pe}})}}function Z(W){var X=this;if(!y||!p||!I||!P||!h||!_)return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.warn("reactRouterV6Instrumentation was unable to wrap Routes because of one or more missing parameters.\n      useEffect: ".concat(y,". useLocation: ").concat(p,". useNavigationType: ").concat(I,".\n      createRoutesFromChildren: ").concat(P,". matchRoutes: ").concat(h,". customStartTransaction: ").concat(_,".")),W;var Y=!0,re=function(ae){var pe=p(),ve=I();return y(function(){var we=P(ae.children);Y?(F(pe,we),Y=!1):z(pe,we,ve)},[pe,ve]),L.createElement(W,f(R({},ae),{__self:X,__source:{fileName:o,lineNumber:209}}))};return(0,G.default)(re,W),re}function ee(W){var X=this;if(!y||!p||!I||!h||!_)return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.warn("reactRouterV6Instrumentation was unable to wrap `useRoutes` because of one or more missing parameters."),W;var Y=!0,re=function(ae){var pe=ae.routes,ve=ae.locationArg,we=W(pe,ve),Pe=p(),ce=I(),be=typeof ve=="string"||ve&&ve.pathname?ve:Pe;return y(function(){var Ee=typeof be=="string"?{pathname:be}:be;Y?(F(Ee,pe),Y=!1):z(Ee,pe,ce)},[ce,be]),we};return function(ae,pe){return L.createElement(re,{routes:ae,locationArg:pe,__self:X,__source:{fileName:o,lineNumber:266}})}}function ne(W){return function(X,Y){var re=W(X,Y),ae=Y&&Y.basename;return re.state.historyAction==="POP"&&l&&F(re.state.location,X,void 0,ae),re.subscribe(function(pe){var ve=pe.location;T&&(pe.historyAction==="PUSH"||pe.historyAction==="POP")&&l&&z(ve,X,pe.historyAction,void 0,ae)}),re}}},876568:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"createReduxEnhancer",{enumerable:!0,get:function(){return u}});var B=S(280105),v=S(788894);function k(s,c){(c==null||c>s.length)&&(c=s.length);for(var R=0,g=new Array(c);R<c;R++)g[R]=s[R];return g}function G(s){if(Array.isArray(s))return k(s)}function L(s,c,R){return c in s?Object.defineProperty(s,c,{value:R,enumerable:!0,configurable:!0,writable:!0}):s[c]=R,s}function M(s){if(typeof Symbol!="undefined"&&s[Symbol.iterator]!=null||s["@@iterator"]!=null)return Array.from(s)}function C(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function O(s){for(var c=1;c<arguments.length;c++){var R=arguments[c]!=null?arguments[c]:{},g=Object.keys(R);typeof Object.getOwnPropertySymbols=="function"&&(g=g.concat(Object.getOwnPropertySymbols(R).filter(function(f){return Object.getOwnPropertyDescriptor(R,f).enumerable}))),g.forEach(function(f){L(s,f,R[f])})}return s}function D(s){return G(s)||M(s)||N(s)||C()}function N(s,c){if(!!s){if(typeof s=="string")return k(s,c);var R=Object.prototype.toString.call(s).slice(8,-1);if(R==="Object"&&s.constructor&&(R=s.constructor.name),R==="Map"||R==="Set")return Array.from(R);if(R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R))return k(s,c)}}var m="redux.action",w="info",b={attachReduxState:!0,actionTransformer:function(s){return s},stateTransformer:function(s){return s||null}};function u(s){var c=O({},b,s);return function(R){return function(g,f){c.attachReduxState&&(0,B.addGlobalEventProcessor)(function(i,a){try{i.type===void 0&&i.contexts.state.state.type==="redux"&&(a.attachments=D(a.attachments||[]).concat([{filename:"redux_state.json",data:JSON.stringify(i.contexts.state.state.value)}]))}catch(o){}return i});var d=function(i,a){var o=g(i,a);return(0,B.configureScope)(function(l){var y=c.actionTransformer(a);typeof y!="undefined"&&y!==null&&l.addBreadcrumb({category:m,data:y,type:w});var p=c.stateTransformer(o);if(typeof p!="undefined"&&p!==null){var I=(0,B.getCurrentHub)().getClient(),P=I&&I.getOptions(),h=P&&P.normalizeDepth||3,_={state:{type:"redux",value:p}};(0,v.addNonEnumerableProperty)(_,"__sentry_override_normalization_depth__",3+h),l.setContext("state",_)}else l.setContext("state",null);var T=c.configureScopeWithState;typeof T=="function"&&T(l,o)}),o};return R(d,f)}}}},485503:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"init",{enumerable:!0,get:function(){return G}});var B=S(280105);function v(L,M,C){return M in L?Object.defineProperty(L,M,{value:C,enumerable:!0,configurable:!0,writable:!0}):L[M]=C,L}function k(L){for(var M=1;M<arguments.length;M++){var C=arguments[M]!=null?arguments[M]:{},O=Object.keys(C);typeof Object.getOwnPropertySymbols=="function"&&(O=O.concat(Object.getOwnPropertySymbols(C).filter(function(D){return Object.getOwnPropertyDescriptor(C,D).enumerable}))),O.forEach(function(D){v(L,D,C[D])})}return L}function G(L){var M=k({_metadata:{}},L);M._metadata.sdk=M._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:B.SDK_VERSION}],version:B.SDK_VERSION},(0,B.init)(M)}},864731:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"Replay",{enumerable:!0,get:function(){return Ja}});var B=S(951787),v=S(788894),k=S(199009);function G(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function L(e){if(Array.isArray(e))return e}function M(e){if(Array.isArray(e))return G(e)}function C(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e,t,r,n,E,j,J){try{var V=e[j](J),Q=V.value}catch(te){r(te);return}V.done?t(Q):Promise.resolve(Q).then(n,E)}function D(e){return function(){var t=this,r=arguments;return new Promise(function(n,E){var j=e.apply(t,r);function J(Q){O(j,n,E,J,V,"next",Q)}function V(Q){O(j,n,E,J,V,"throw",Q)}J(void 0)})}}function N(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function w(e,t,r){return m()?w=Reflect.construct:w=function(E,j,J){var V=[null];V.push.apply(V,j);var Q=Function.bind.apply(E,V),te=new Q;return J&&P(te,J.prototype),te},w.apply(null,arguments)}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e,t,r){return t&&b(e.prototype,t),r&&b(e,r),e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},c(e)}function R(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P(e,t)}function g(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function f(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function d(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function i(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],E=!0,j=!1,J,V;try{for(r=r.call(e);!(E=(J=r.next()).done)&&(n.push(J.value),!(t&&n.length===t));E=!0);}catch(Q){j=!0,V=Q}finally{try{!E&&r.return!=null&&r.return()}finally{if(j)throw V}}return n}}function a(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(E){return Object.getOwnPropertyDescriptor(r,E).enumerable}))),n.forEach(function(E){s(e,E,r[E])})}return e}function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(E){return Object.getOwnPropertyDescriptor(e,E).enumerable})),r.push.apply(r,n)}return r}function p(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):y(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function I(e,t){return t&&(T(t)==="object"||typeof t=="function")?t:C(e)}function P(e,t){return P=Object.setPrototypeOf||function(n,E){return n.__proto__=E,n},P(e,t)}function h(e,t){return L(e)||i(e,t)||A(e,t)||a()}function _(e){return M(e)||d(e)||A(e)||o()}var T=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function A(e,t){if(!!e){if(typeof e=="string")return G(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return G(e,t)}}function U(e){var t=typeof Map=="function"?new Map:void 0;return U=function(n){if(n===null||!f(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,E)}function E(){return w(n,arguments,c(this).constructor)}return E.prototype=Object.create(n.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),P(E,n)},U(e)}function H(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F(e){var t=H();return function(){var n=c(e),E;if(t){var j=c(this).constructor;E=Reflect.construct(n,arguments,j)}else E=n.apply(this,arguments);return I(this,E)}}var z=function(e,t){var r,n,E,j,J={label:0,sent:function(){if(E[0]&1)throw E[1];return E[1]},trys:[],ops:[]};return j={next:V(0),throw:V(1),return:V(2)},typeof Symbol=="function"&&(j[Symbol.iterator]=function(){return this}),j;function V(te){return function(oe){return Q([te,oe])}}function Q(te){if(r)throw new TypeError("Generator is already executing.");for(;J;)try{if(r=1,n&&(E=te[0]&2?n.return:te[0]?n.throw||((E=n.return)&&E.call(n),0):n.next)&&!(E=E.call(n,te[1])).done)return E;switch(n=0,E&&(te=[te[0]&2,E.value]),te[0]){case 0:case 1:E=te;break;case 4:return J.label++,{value:te[1],done:!1};case 5:J.label++,n=te[1],te=[0];continue;case 7:te=J.ops.pop(),J.trys.pop();continue;default:if(E=J.trys,!(E=E.length>0&&E[E.length-1])&&(te[0]===6||te[0]===2)){J=0;continue}if(te[0]===3&&(!E||te[1]>E[0]&&te[1]<E[3])){J.label=te[1];break}if(te[0]===6&&J.label<E[1]){J.label=E[1],E=te;break}if(E&&J.label<E[2]){J.label=E[2],J.ops.push(te);break}E[2]&&J.ops.pop(),J.trys.pop();continue}te=t.call(e,J)}catch(oe){te=[6,oe],n=0}finally{r=E=0}if(te[0]&5)throw te[1];return{value:te[0]?te[1]:void 0,done:!0}}},Z=v.GLOBAL_OBJ,ee="sentryReplaySession",ne="replay_event",W="Unable to send Replay",X=3e5,Y=9e5,re=5e3,ae=5500,pe=6e4,ve=5e3,we=3,Pe=15e4,ce=5e3,be=3e3,Ee=300,Ie=2e7,De=4999,Be=15e3,$e=36e5,Le;(function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"})(Le||(Le={}));function et(e){return e.nodeType===e.ELEMENT_NODE}function ot(e){var t=e==null?void 0:e.host;return Boolean((t==null?void 0:t.shadowRoot)===e)}function nt(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function ct(e){return e.includes(" background-clip: text;")&&!e.includes(" -webkit-background-clip: text;")&&(e=e.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),e}function gt(e){var t=e.cssText;if(t.split('"').length<3)return t;var r=["@import","url(".concat(JSON.stringify(e.href),")")];return e.layerName===""?r.push("layer"):e.layerName&&r.push("layer(".concat(e.layerName,")")),e.supportsText&&r.push("supports(".concat(e.supportsText,")")),e.media.length&&r.push(e.media.mediaText),r.join(" ")+";"}function mt(e){try{var t=e.rules||e.cssRules;return t?ct(Array.from(t,Ft).join("")):null}catch(r){return null}}function Ft(e){var t;if(Yr(e))try{t=mt(e.styleSheet)||gt(e)}catch(r){}else if(Ut(e)&&e.selectorText.includes(":"))return Er(e.cssText);return t||e.cssText}function Er(e){var t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}function Yr(e){return"styleSheet"in e}function Ut(e){return"selectorText"in e}var nn=function(){"use strict";function e(){N(this,e),this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}var t=e.prototype;return t.getId=function(n){var E;if(!n)return-1;var j=(E=this.getMeta(n))===null||E===void 0?void 0:E.id;return j!=null?j:-1},t.getNode=function(n){return this.idNodeMap.get(n)||null},t.getIds=function(){return Array.from(this.idNodeMap.keys())},t.getMeta=function(n){return this.nodeMetaMap.get(n)||null},t.removeNodeFromMap=function(n){var E=this,j=this.getId(n);this.idNodeMap.delete(j),n.childNodes&&n.childNodes.forEach(function(J){return E.removeNodeFromMap(J)})},t.has=function(n){return this.idNodeMap.has(n)},t.hasNode=function(n){return this.nodeMetaMap.has(n)},t.add=function(n,E){var j=E.id;this.idNodeMap.set(j,n),this.nodeMetaMap.set(n,E)},t.replace=function(n,E){var j=this.getNode(n);if(j){var J=this.nodeMetaMap.get(j);J&&this.nodeMetaMap.set(E,J)}this.idNodeMap.set(n,E)},t.reset=function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap},e}();function an(){return new nn}function wt(e){var t=e.maskInputOptions,r=e.tagName,n=e.type;return r==="OPTION"&&(r="SELECT"),Boolean(t[r.toLowerCase()]||n&&t[n]||n==="password"||r==="INPUT"&&!n&&t.text)}function kt(e){var t=e.isMasked,r=e.element,n=e.value,E=e.maskInputFn,j=n||"";return t?(E&&(j=E(j,r)),"*".repeat(j.length)):j}function _t(e){return e.toLowerCase()}function Or(e){return e.toUpperCase()}var Tr="__rrweb_original__";function on(e){var t=e.getContext("2d");if(!t)return!0;for(var r=50,n=0;n<e.width;n+=r)for(var E=0;E<e.height;E+=r){var j=t.getImageData,J=Tr in j?j[Tr]:j,V=new Uint32Array(J.call(t,n,E,Math.min(r,e.width-n),Math.min(r,e.height-E)).data.buffer);if(V.some(function(Q){return Q!==0}))return!1}return!0}function Gt(e){var t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?_t(t):null}function wr(e,t,r){return t==="INPUT"&&(r==="radio"||r==="checkbox")?e.getAttribute("value")||"":e.value}var Jr=1,Rn=new RegExp("[^a-z0-9-_:]"),Ir=-2;function Cr(){return Jr++}function zr(e){if(g(e,HTMLFormElement))return"form";var t=_t(e.tagName);return Rn.test(t)?"div":t}function Pn(e){var t="";return e.indexOf("//")>-1?t=e.split("/").slice(0,3).join("/"):t=e.split("/")[0],t=t.split("?")[0],t}var Kt,un,yi=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Ar=/^(?:[a-z+]+:)?\/\//i,bi=/^www\..*/i,Dn=/^(data:)([^,]*),(.*)/i;function Rr(e,t){return(e||"").replace(yi,function(r,n,E,j,J,V){var Q=E||J||V,te=n||j||"";if(!Q)return r;if(Ar.test(Q)||bi.test(Q)||Dn.test(Q))return"url(".concat(te).concat(Q).concat(te,")");if(Q[0]==="/")return"url(".concat(te).concat(Pn(t)+Q).concat(te,")");var oe=t.split("/"),de=Q.split("/");oe.pop();var ue=!0,le=!1,Se=void 0;try{for(var me=de[Symbol.iterator](),ge;!(ue=(ge=me.next()).done);ue=!0){var he=ge.value;he!=="."&&(he===".."?oe.pop():oe.push(he))}}catch(ye){le=!0,Se=ye}finally{try{!ue&&me.return!=null&&me.return()}finally{if(le)throw Se}}return"url(".concat(te).concat(oe.join("/")).concat(te,")")})}var Si=/^[^ \t\n\r\u000c]+/,kn=/^[, \t\n\r\u000c]+/;function Nn(e,t){var r=function(oe){var de,ue=oe.exec(t.substring(n));return ue?(de=ue[0],n+=de.length,de):""};if(t.trim()==="")return t;for(var n=0,E=[];r(kn),!(n>=t.length);){var j=r(Si);if(j.slice(-1)===",")j=lr(e,j.substring(0,j.length-1)),E.push(j);else{var J="";j=lr(e,j);for(var V=!1;;){var Q=t.charAt(n);if(Q===""){E.push((j+J).trim());break}else if(V)Q===")"&&(V=!1);else if(Q===","){n+=1,E.push((j+J).trim());break}else Q==="("&&(V=!0);J+=Q,n+=1}}}return E.join(", ")}function lr(e,t){if(!t||t.trim()==="")return t;var r=e.createElement("a");return r.href=t,r.href}function xn(e){return Boolean(e.tagName==="svg"||e.ownerSVGElement)}function Pr(){var e=document.createElement("a");return e.href="",e.href}function Dr(e,t,r,n,E,j){return n&&(r==="src"||r==="href"&&!(t==="use"&&n[0]==="#")||r==="xlink:href"&&n[0]!=="#"||r==="background"&&(t==="table"||t==="td"||t==="th")?lr(e,n):r==="srcset"?Nn(e,n):r==="style"?Rr(n,Pr()):t==="object"&&r==="data"?lr(e,n):typeof j=="function"?j(r,n,E):n)}function Mn(e,t,r){return(e==="video"||e==="audio")&&t==="autoplay"}function jn(e,t,r,n){try{if(n&&e.matches(n))return!1;if(typeof t=="string"){if(e.classList.contains(t))return!0}else for(var E=e.classList.length;E--;){var j=e.classList[E];if(t.test(j))return!0}if(r)return e.matches(r)}catch(J){}return!1}function Ei(e,t){for(var r=e.classList.length;r--;){var n=e.classList[r];if(t.test(n))return!0}return!1}function Ht(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1/0,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return!e||e.nodeType!==e.ELEMENT_NODE||n>r?-1:t(e)?n:Ht(e.parentNode,t,r,n+1)}function Xt(e,t){return function(r){var n=r;if(n===null)return!1;if(e){if(typeof e=="string"){if(n.matches(".".concat(e)))return!0}else if(Ei(n,e))return!0}return!!(t&&n.matches(t))}}function Qt(e,t,r,n,E,j){try{var J=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(J===null)return!1;var V=-1,Q=-1;if(j){if(Q=Ht(J,Xt(n,E)),Q<0)return!0;V=Ht(J,Xt(t,r),Q>=0?Q:1/0)}else{if(V=Ht(J,Xt(t,r)),V<0)return!1;Q=Ht(J,Xt(n,E),V>=0?V:1/0)}return V>=0?Q>=0?V<=Q:!0:Q>=0?!1:!!j}catch(te){}return!!j}function Nt(e,t,r){var n=e.contentWindow;if(!!n){var E=!1,j;try{j=n.document.readyState}catch(Q){return}if(j!=="complete"){var J=setTimeout(function(){E||(t(),E=!0)},r);e.addEventListener("load",function(){clearTimeout(J),E=!0,t()});return}var V="about:blank";if(n.location.href!==V||e.src===V||e.src==="")return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}}function sn(e,t,r){var n=!1,E;try{E=e.sheet}catch(J){return}if(!E){var j=setTimeout(function(){n||(t(),n=!0)},r);e.addEventListener("load",function(){clearTimeout(j),n=!0,t()})}}function Un(e,t){var r=t.doc,n=t.mirror,E=t.blockClass,j=t.blockSelector,J=t.unblockSelector,V=t.maskAllText,Q=t.maskAttributeFn,te=t.maskTextClass,oe=t.unmaskTextClass,de=t.maskTextSelector,ue=t.unmaskTextSelector,le=t.inlineStylesheet,Se=t.maskInputOptions,me=Se===void 0?{}:Se,ge=t.maskTextFn,he=t.maskInputFn,ye=t.dataURLOptions,Te=ye===void 0?{}:ye,Ce=t.inlineImages,Ae=t.recordCanvas,Ue=t.keepIframeSrcFn,xe=t.newlyAddedElement,Ze=xe===void 0?!1:xe,Ne=Oi(r,n);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode!=="CSS1Compat"?{type:Le.Document,childNodes:[],compatMode:e.compatMode}:{type:Le.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:Le.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:Ne};case e.ELEMENT_NODE:return cn(e,{doc:r,blockClass:E,blockSelector:j,unblockSelector:J,inlineStylesheet:le,maskAttributeFn:Q,maskInputOptions:me,maskInputFn:he,dataURLOptions:Te,inlineImages:Ce,recordCanvas:Ae,keepIframeSrcFn:Ue,newlyAddedElement:Ze,rootId:Ne,maskAllText:V,maskTextClass:te,unmaskTextClass:oe,maskTextSelector:de,unmaskTextSelector:ue});case e.TEXT_NODE:return Bn(e,{maskAllText:V,maskTextClass:te,unmaskTextClass:oe,maskTextSelector:de,unmaskTextSelector:ue,maskTextFn:ge,maskInputOptions:me,maskInputFn:he,rootId:Ne});case e.CDATA_SECTION_NODE:return{type:Le.CDATA,textContent:"",rootId:Ne};case e.COMMENT_NODE:return{type:Le.Comment,textContent:e.textContent||"",rootId:Ne};default:return!1}}function Oi(e,t){if(!!t.hasNode(e)){var r=t.getId(e);return r===1?void 0:r}}function Bn(e,t){var r,n=t.maskAllText,E=t.maskTextClass,j=t.unmaskTextClass,J=t.maskTextSelector,V=t.unmaskTextSelector,Q=t.maskTextFn,te=t.maskInputOptions,oe=t.maskInputFn,de=t.rootId,ue=e.parentNode&&e.parentNode.tagName,le=e.textContent,Se=ue==="STYLE"?!0:void 0,me=ue==="SCRIPT"?!0:void 0,ge=ue==="TEXTAREA"?!0:void 0;if(Se&&le){try{e.nextSibling||e.previousSibling||((r=e.parentNode.sheet)===null||r===void 0?void 0:r.cssRules)&&(le=mt(e.parentNode.sheet))}catch(Te){console.warn("Cannot get CSS styles from text's parentNode. Error: ".concat(Te),e)}le=Rr(le,Pr())}me&&(le="SCRIPT_PLACEHOLDER");var he=Qt(e,E,J,j,V,n);if(!Se&&!me&&!ge&&le&&he&&(le=Q?Q(le):le.replace(/[\S]/g,"*")),ge&&le&&(te.textarea||he)&&(le=oe?oe(le,e.parentNode):le.replace(/[\S]/g,"*")),ue==="OPTION"&&le){var ye=wt({type:null,tagName:ue,maskInputOptions:te});le=kt({isMasked:Qt(e,E,J,j,V,ye),element:e,value:le,maskInputFn:oe})}return{type:Le.Text,textContent:le||"",isStyle:Se,rootId:de}}function cn(e,t){for(var r=t.doc,n=t.blockClass,E=t.blockSelector,j=t.unblockSelector,J=t.inlineStylesheet,V=t.maskInputOptions,Q=V===void 0?{}:V,te=t.maskAttributeFn,oe=t.maskInputFn,de=t.dataURLOptions,ue=de===void 0?{}:de,le=t.inlineImages,Se=t.recordCanvas,me=t.keepIframeSrcFn,ge=t.newlyAddedElement,he=ge===void 0?!1:ge,ye=t.rootId,Te=t.maskAllText,Ce=t.maskTextClass,Ae=t.unmaskTextClass,Ue=t.maskTextSelector,xe=t.unmaskTextSelector,Ze=jn(e,n,E,j),Ne=zr(e),Ge={},Ye=e.attributes.length,Xe=0;Xe<Ye;Xe++){var Fe=e.attributes[Xe];Mn(Ne,Fe.name,Fe.value)||(Ge[Fe.name]=Dr(r,Ne,_t(Fe.name),Fe.value,e,te))}if(Ne==="link"&&J){var lt=Array.from(r.styleSheets).find(function(Mt){return Mt.href===e.href}),qe=null;lt&&(qe=mt(lt)),qe&&(delete Ge.rel,delete Ge.href,Ge._cssText=Rr(qe,lt.href))}if(Ne==="style"&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){var je=mt(e.sheet);je&&(Ge._cssText=Rr(je,Pr()))}if(Ne==="input"||Ne==="textarea"||Ne==="select"||Ne==="option"){var Je=e,tt=Gt(Je),ft=wr(Je,Or(Ne),tt),at=Je.checked;if(tt!=="submit"&&tt!=="button"&&ft){var pt=Qt(Je,Ce,Ue,Ae,xe,wt({type:tt,tagName:Or(Ne),maskInputOptions:Q}));Ge.value=kt({isMasked:pt,element:Je,value:ft,maskInputFn:oe})}at&&(Ge.checked=at)}if(Ne==="option"&&(e.selected&&!Q.select?Ge.selected=!0:delete Ge.selected),Ne==="canvas"&&Se){if(e.__context==="2d")on(e)||(Ge.rr_dataURL=e.toDataURL(ue.type,ue.quality));else if(!("__context"in e)){var Rt=e.toDataURL(ue.type,ue.quality),Dt=document.createElement("canvas");Dt.width=e.width,Dt.height=e.height;var Et=Dt.toDataURL(ue.type,ue.quality);Rt!==Et&&(Ge.rr_dataURL=Rt)}}if(Ne==="img"&&le){Kt||(Kt=r.createElement("canvas"),un=Kt.getContext("2d"));var st=e,Ot=st.crossOrigin;st.crossOrigin="anonymous";var rt=function(){st.removeEventListener("load",rt);try{Kt.width=st.naturalWidth,Kt.height=st.naturalHeight,un.drawImage(st,0,0),Ge.rr_dataURL=Kt.toDataURL(ue.type,ue.quality)}catch(Mt){console.warn("Cannot inline img src=".concat(st.currentSrc,"! Error: ").concat(Mt))}Ot?Ge.crossOrigin=Ot:st.removeAttribute("crossorigin")};st.complete&&st.naturalWidth!==0?rt():st.addEventListener("load",rt)}if((Ne==="audio"||Ne==="video")&&(Ge.rr_mediaState=e.paused?"paused":"played",Ge.rr_mediaCurrentTime=e.currentTime),he||(e.scrollLeft&&(Ge.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(Ge.rr_scrollTop=e.scrollTop)),Ze){var Pt=e.getBoundingClientRect(),or=Pt.width,ur=Pt.height;Ge={class:Ge.class,rr_width:"".concat(or,"px"),rr_height:"".concat(ur,"px")}}Ne==="iframe"&&!me(Ge.src)&&(e.contentDocument||(Ge.rr_src=Ge.src),delete Ge.src);var Lt;try{customElements.get(Ne)&&(Lt=!0)}catch(Mt){}return{type:Le.Element,tagName:Ne,attributes:Ge,childNodes:[],isSVG:xn(e)||void 0,needBlock:Ze,rootId:ye,isCustom:Lt}}function it(e){return e==null?"":e.toLowerCase()}function Vr(e,t){if(t.comment&&e.type===Le.Comment)return!0;if(e.type===Le.Element){if(t.script&&(e.tagName==="script"||e.tagName==="link"&&(e.attributes.rel==="preload"||e.attributes.rel==="modulepreload")&&e.attributes.as==="script"||e.tagName==="link"&&e.attributes.rel==="prefetch"&&typeof e.attributes.href=="string"&&e.attributes.href.endsWith(".js")))return!0;if(t.headFavicon&&(e.tagName==="link"&&e.attributes.rel==="shortcut icon"||e.tagName==="meta"&&(it(e.attributes.name).match(/^msapplication-tile(image|color)$/)||it(e.attributes.name)==="application-name"||it(e.attributes.rel)==="icon"||it(e.attributes.rel)==="apple-touch-icon"||it(e.attributes.rel)==="shortcut icon")))return!0;if(e.tagName==="meta"){if(t.headMetaDescKeywords&&it(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(it(e.attributes.property).match(/^(og|twitter|fb):/)||it(e.attributes.name).match(/^(og|twitter):/)||it(e.attributes.name)==="pinterest"))return!0;if(t.headMetaRobots&&(it(e.attributes.name)==="robots"||it(e.attributes.name)==="googlebot"||it(e.attributes.name)==="bingbot"))return!0;if(t.headMetaHttpEquiv&&e.attributes["http-equiv"]!==void 0)return!0;if(t.headMetaAuthorship&&(it(e.attributes.name)==="author"||it(e.attributes.name)==="generator"||it(e.attributes.name)==="framework"||it(e.attributes.name)==="publisher"||it(e.attributes.name)==="progid"||it(e.attributes.property).match(/^article:/)||it(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&(it(e.attributes.name)==="google-site-verification"||it(e.attributes.name)==="yandex-verification"||it(e.attributes.name)==="csrf-token"||it(e.attributes.name)==="p:domain_verify"||it(e.attributes.name)==="verify-v1"||it(e.attributes.name)==="verification"||it(e.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function $t(e,t){var r=t.doc,n=t.mirror,E=t.blockClass,j=t.blockSelector,J=t.unblockSelector,V=t.maskAllText,Q=t.maskTextClass,te=t.unmaskTextClass,oe=t.maskTextSelector,de=t.unmaskTextSelector,ue=t.skipChild,le=ue===void 0?!1:ue,Se=t.inlineStylesheet,me=Se===void 0?!0:Se,ge=t.maskInputOptions,he=ge===void 0?{}:ge,ye=t.maskAttributeFn,Te=t.maskTextFn,Ce=t.maskInputFn,Ae=t.slimDOMOptions,Ue=t.dataURLOptions,xe=Ue===void 0?{}:Ue,Ze=t.inlineImages,Ne=Ze===void 0?!1:Ze,Ge=t.recordCanvas,Ye=Ge===void 0?!1:Ge,Xe=t.onSerialize,Fe=t.onIframeLoad,lt=t.iframeLoadTimeout,qe=lt===void 0?5e3:lt,je=t.onStylesheetLoad,Je=t.stylesheetLoadTimeout,tt=Je===void 0?5e3:Je,ft=t.keepIframeSrcFn,at=ft===void 0?function(){return!1}:ft,pt=t.newlyAddedElement,Rt=pt===void 0?!1:pt,Dt=t.preserveWhiteSpace,Et=Dt===void 0?!0:Dt,st=Un(e,{doc:r,mirror:n,blockClass:E,blockSelector:j,maskAllText:V,unblockSelector:J,maskTextClass:Q,unmaskTextClass:te,maskTextSelector:oe,unmaskTextSelector:de,inlineStylesheet:me,maskInputOptions:he,maskAttributeFn:ye,maskTextFn:Te,maskInputFn:Ce,dataURLOptions:xe,inlineImages:Ne,recordCanvas:Ye,keepIframeSrcFn:at,newlyAddedElement:Rt});if(!st)return console.warn(e,"not serialized"),null;var Ot;n.hasNode(e)?Ot=n.getId(e):Vr(st,Ae)||!Et&&st.type===Le.Text&&!st.isStyle&&!st.textContent.replace(/^\s+|\s+$/gm,"").length?Ot=Ir:Ot=Cr();var rt=Object.assign(st,{id:Ot});if(n.add(e,rt),Ot===Ir)return null;Xe&&Xe(e);var Pt=!le;if(rt.type===Le.Element){Pt=Pt&&!rt.needBlock,delete rt.needBlock;var or=e.shadowRoot;or&&nt(or)&&(rt.isShadowHost=!0)}if((rt.type===Le.Document||rt.type===Le.Element)&&Pt){Ae.headWhitespace&&rt.type===Le.Element&&rt.tagName==="head"&&(Et=!1);var ur={doc:r,mirror:n,blockClass:E,blockSelector:j,maskAllText:V,unblockSelector:J,maskTextClass:Q,unmaskTextClass:te,maskTextSelector:oe,unmaskTextSelector:de,skipChild:le,inlineStylesheet:me,maskInputOptions:he,maskAttributeFn:ye,maskTextFn:Te,maskInputFn:Ce,slimDOMOptions:Ae,dataURLOptions:xe,inlineImages:Ne,recordCanvas:Ye,preserveWhiteSpace:Et,onSerialize:Xe,onIframeLoad:Fe,iframeLoadTimeout:qe,onStylesheetLoad:je,stylesheetLoadTimeout:tt,keepIframeSrcFn:at},Lt=!0,Mt=!1,Br=void 0;try{for(var Vt=Array.from(e.childNodes)[Symbol.iterator](),Zt;!(Lt=(Zt=Vt.next()).done);Lt=!0){var Lr=Zt.value,vr=$t(Lr,ur);vr&&rt.childNodes.push(vr)}}catch(Tt){Mt=!0,Br=Tt}finally{try{!Lt&&Vt.return!=null&&Vt.return()}finally{if(Mt)throw Br}}if(et(e)&&e.shadowRoot){var sr=!0,rn=!1,Fr=void 0;try{for(var _r=Array.from(e.shadowRoot.childNodes)[Symbol.iterator](),yr;!(sr=(yr=_r.next()).done);sr=!0){var br=yr.value,cr=$t(br,ur);cr&&(nt(e.shadowRoot)&&(cr.isShadow=!0),rt.childNodes.push(cr))}}catch(Tt){rn=!0,Fr=Tt}finally{try{!sr&&_r.return!=null&&_r.return()}finally{if(rn)throw Fr}}}}return e.parentNode&&ot(e.parentNode)&&nt(e.parentNode)&&(rt.isShadow=!0),rt.type===Le.Element&&rt.tagName==="iframe"&&Nt(e,function(){var Tt=e.contentDocument;if(Tt&&Fe){var Gr=$t(Tt,{doc:Tt,mirror:n,blockClass:E,blockSelector:j,unblockSelector:J,maskAllText:V,maskTextClass:Q,unmaskTextClass:te,maskTextSelector:oe,unmaskTextSelector:de,skipChild:!1,inlineStylesheet:me,maskInputOptions:he,maskAttributeFn:ye,maskTextFn:Te,maskInputFn:Ce,slimDOMOptions:Ae,dataURLOptions:xe,inlineImages:Ne,recordCanvas:Ye,preserveWhiteSpace:Et,onSerialize:Xe,onIframeLoad:Fe,iframeLoadTimeout:qe,onStylesheetLoad:je,stylesheetLoadTimeout:tt,keepIframeSrcFn:at});Gr&&Fe(e,Gr)}},qe),rt.type===Le.Element&&rt.tagName==="link"&&rt.attributes.rel==="stylesheet"&&sn(e,function(){if(je){var Tt=$t(e,{doc:r,mirror:n,blockClass:E,blockSelector:j,unblockSelector:J,maskAllText:V,maskTextClass:Q,unmaskTextClass:te,maskTextSelector:oe,unmaskTextSelector:de,skipChild:!1,inlineStylesheet:me,maskInputOptions:he,maskAttributeFn:ye,maskTextFn:Te,maskInputFn:Ce,slimDOMOptions:Ae,dataURLOptions:xe,inlineImages:Ne,recordCanvas:Ye,preserveWhiteSpace:Et,onSerialize:Xe,onIframeLoad:Fe,iframeLoadTimeout:qe,onStylesheetLoad:je,stylesheetLoadTimeout:tt,keepIframeSrcFn:at});Tt&&je(e,Tt)}},tt),rt}function Ln(e,t){var r=t||{},n=r.mirror,E=n===void 0?new nn:n,j=r.blockClass,J=j===void 0?"rr-block":j,V=r.blockSelector,Q=V===void 0?null:V,te=r.unblockSelector,oe=te===void 0?null:te,de=r.maskAllText,ue=de===void 0?!1:de,le=r.maskTextClass,Se=le===void 0?"rr-mask":le,me=r.unmaskTextClass,ge=me===void 0?null:me,he=r.maskTextSelector,ye=he===void 0?null:he,Te=r.unmaskTextSelector,Ce=Te===void 0?null:Te,Ae=r.inlineStylesheet,Ue=Ae===void 0?!0:Ae,xe=r.inlineImages,Ze=xe===void 0?!1:xe,Ne=r.recordCanvas,Ge=Ne===void 0?!1:Ne,Ye=r.maskAllInputs,Xe=Ye===void 0?!1:Ye,Fe=r.maskAttributeFn,lt=r.maskTextFn,qe=r.maskInputFn,je=r.slimDOM,Je=je===void 0?!1:je,tt=r.dataURLOptions,ft=r.preserveWhiteSpace,at=r.onSerialize,pt=r.onIframeLoad,Rt=r.iframeLoadTimeout,Dt=r.onStylesheetLoad,Et=r.stylesheetLoadTimeout,st=r.keepIframeSrcFn,Ot=st===void 0?function(){return!1}:st,rt=Xe===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:Xe===!1?{}:Xe,Pt=Je===!0||Je==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:Je==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:Je===!1?{}:Je;return $t(e,{doc:e,mirror:E,blockClass:J,blockSelector:Q,unblockSelector:oe,maskAllText:ue,maskTextClass:Se,unmaskTextClass:ge,maskTextSelector:ye,unmaskTextSelector:Ce,skipChild:!1,inlineStylesheet:Ue,maskInputOptions:rt,maskAttributeFn:Fe,maskTextFn:lt,maskInputFn:qe,slimDOMOptions:Pt,dataURLOptions:tt,inlineImages:Ze,recordCanvas:Ge,preserveWhiteSpace:ft,onSerialize:at,onIframeLoad:pt,iframeLoadTimeout:Rt,onStylesheetLoad:Dt,stylesheetLoadTimeout:Et,keepIframeSrcFn:Ot,newlyAddedElement:!1})}function vt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:document,n={capture:!0,passive:!0};return r.addEventListener(e,t,n),function(){return r.removeEventListener(e,t,n)}}var qt="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",ln={map:{},getId:function(){return console.error(qt),-1},getNode:function(){return console.error(qt),null},removeNodeFromMap:function(){console.error(qt)},has:function(){return console.error(qt),!1},reset:function(){console.error(qt)}};typeof window!="undefined"&&window.Proxy&&window.Reflect&&(ln=new Proxy(ln,{get:function(t,r,n){return r==="map"&&console.error(qt),Reflect.get(t,r,n)}}));function kr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=null,E=0;return function(){for(var j=arguments.length,J=new Array(j),V=0;V<j;V++)J[V]=arguments[V];var Q=Date.now();!E&&r.leading===!1&&(E=Q);var te=t-(Q-E),oe=this;te<=0||te>t?(n&&(clearTimeout(n),n=null),E=Q,e.apply(oe,J)):!n&&r.trailing!==!1&&(n=setTimeout(function(){E=r.leading===!1?0:Date.now(),n=null,e.apply(oe,J)},te))}}function Zr(e,t,r,n){var E=arguments.length>4&&arguments[4]!==void 0?arguments[4]:window,j=E.Object.getOwnPropertyDescriptor(e,t);return E.Object.defineProperty(e,t,n?r:{set:function(V){var Q=this;setTimeout(function(){r.set.call(Q,V)},0),j&&j.set&&j.set.call(this,V)}}),function(){return Zr(e,t,j||{},!0)}}function er(e,t,r){try{if(!(t in e))return function(){};var n=e[t],E=r(n);return typeof E=="function"&&(E.prototype=E.prototype||{},Object.defineProperties(E,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=E,function(){e[t]=n}}catch(j){return function(){}}}var fr=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(fr=function(){return new Date().getTime()});function Fn(e){var t,r,n,E,j,J,V=e.document;return{left:V.scrollingElement?V.scrollingElement.scrollLeft:e.pageXOffset!==void 0?e.pageXOffset:(V==null?void 0:V.documentElement.scrollLeft)||((r=(t=V==null?void 0:V.body)===null||t===void 0?void 0:t.parentElement)===null||r===void 0?void 0:r.scrollLeft)||((n=V==null?void 0:V.body)===null||n===void 0?void 0:n.scrollLeft)||0,top:V.scrollingElement?V.scrollingElement.scrollTop:e.pageYOffset!==void 0?e.pageYOffset:(V==null?void 0:V.documentElement.scrollTop)||((j=(E=V==null?void 0:V.body)===null||E===void 0?void 0:E.parentElement)===null||j===void 0?void 0:j.scrollTop)||((J=V==null?void 0:V.body)===null||J===void 0?void 0:J.scrollTop)||0}}function Gn(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function fn(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function yt(e,t,r,n,E){if(!e)return!1;var j=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(!j)return!1;var J=Xt(t,r);if(!E){var V=n&&j.matches(n);return J(j)&&!V}var Q=Ht(j,J),te=-1;return Q<0?!1:(n&&(te=Ht(j,Xt(null,n))),Q>-1&&te<0?!0:Q<te)}function Hn(e,t){return t.getId(e)!==-1}function dn(e,t){return t.getId(e)===Ir}function pn(e,t){if(ot(e))return!1;var r=t.getId(e);return t.has(r)?e.parentNode&&e.parentNode.nodeType===e.DOCUMENT_NODE?!1:e.parentNode?pn(e.parentNode,t):!0:!0}function Kr(e){return Boolean(e.changedTouches)}function Ti(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window,t=this;"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=function(){for(var r=arguments.length,n=new Array(r),E=0;E<r;E++)n[E]=arguments[E];var j=n[0];if(!(0 in n))throw new TypeError("1 argument is required");do if(t===j)return!0;while(j=j&&j.parentNode);return!1})}function Wn(e,t){return Boolean(e.nodeName==="IFRAME"&&t.getMeta(e))}function Yn(e,t){return Boolean(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&t.getMeta(e))}function mn(e){return Boolean(e==null?void 0:e.shadowRoot)}var wi=function(){"use strict";function e(){N(this,e),this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}var t=e.prototype;return t.getId=function(n){var E;return(E=this.styleIDMap.get(n))!==null&&E!==void 0?E:-1},t.has=function(n){return this.styleIDMap.has(n)},t.add=function(n,E){if(this.has(n))return this.getId(n);var j;return E===void 0?j=this.id++:j=E,this.styleIDMap.set(n,j),this.idStyleMap.set(j,n),j},t.getStyle=function(n){return this.idStyleMap.get(n)||null},t.reset=function(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1},t.generateId=function(){return this.id++},e}();function Jn(e){var t,r,n=null;return((r=(t=e.getRootNode)===null||t===void 0?void 0:t.call(e))===null||r===void 0?void 0:r.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(n=e.getRootNode().host),n}function Ii(e){for(var t=e,r;r=Jn(t);)t=r;return t}function Ci(e){var t=e.ownerDocument;if(!t)return!1;var r=Ii(e);return t.contains(r)}function zn(e){var t=e.ownerDocument;return t?t.contains(e)||Ci(e):!1}var We=function(e){return e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e}(We||{}),Ke=function(e){return e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e}(Ke||{}),bt=function(e){return e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e}(bt||{}),St=function(e){return e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e}(St||{}),Wt=function(e){return e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e}(Wt||{});function hn(e){return"__ln"in e}var dr=function(){"use strict";function e(){N(this,e),this.length=0,this.head=null,this.tail=null}var t=e.prototype;return t.get=function(n){if(n>=this.length)throw new Error("Position outside of list range");for(var E=this.head,j=0;j<n;j++)E=(E==null?void 0:E.next)||null;return E},t.addNode=function(n){var E={value:n,previous:null,next:null};if(n.__ln=E,n.previousSibling&&hn(n.previousSibling)){var j=n.previousSibling.__ln.next;E.next=j,E.previous=n.previousSibling.__ln,n.previousSibling.__ln.next=E,j&&(j.previous=E)}else if(n.nextSibling&&hn(n.nextSibling)&&n.nextSibling.__ln.previous){var J=n.nextSibling.__ln.previous;E.previous=J,E.next=n.nextSibling.__ln,n.nextSibling.__ln.previous=E,J&&(J.next=E)}else this.head&&(this.head.previous=E),E.next=this.head,this.head=E;E.next===null&&(this.tail=E),this.length++},t.removeNode=function(n){var E=n.__ln;!this.head||(E.previous?(E.previous.next=E.next,E.next?E.next.previous=E.previous:this.tail=E.previous):(this.head=E.next,this.head?this.head.previous=null:this.tail=null),n.__ln&&delete n.__ln,this.length--)},e}(),gn=function(e,t){return"".concat(e,"@").concat(t)},Ai=function(){"use strict";function e(){var r=this;N(this,e),this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=function(n){n.forEach(r.processMutation),r.emit()},this.emit=function(){if(!(r.frozen||r.locked)){for(var n=[],E=new Set,j=new dr,J=function(je){for(var Je=je,tt=Ir;tt===Ir;)Je=Je&&Je.nextSibling,tt=Je&&r.mirror.getId(Je);return tt},V=function(je){if(!(!je.parentNode||!zn(je))){var Je=ot(je.parentNode)?r.mirror.getId(Jn(je)):r.mirror.getId(je.parentNode),tt=J(je);if(Je===-1||tt===-1)return j.addNode(je);var ft=$t(je,{doc:r.doc,mirror:r.mirror,blockClass:r.blockClass,blockSelector:r.blockSelector,maskAllText:r.maskAllText,unblockSelector:r.unblockSelector,maskTextClass:r.maskTextClass,unmaskTextClass:r.unmaskTextClass,maskTextSelector:r.maskTextSelector,unmaskTextSelector:r.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:r.inlineStylesheet,maskInputOptions:r.maskInputOptions,maskAttributeFn:r.maskAttributeFn,maskTextFn:r.maskTextFn,maskInputFn:r.maskInputFn,slimDOMOptions:r.slimDOMOptions,dataURLOptions:r.dataURLOptions,recordCanvas:r.recordCanvas,inlineImages:r.inlineImages,onSerialize:function(at){Wn(at,r.mirror)&&r.iframeManager.addIframe(at),Yn(at,r.mirror)&&r.stylesheetManager.trackLinkElement(at),mn(je)&&r.shadowDomManager.addShadowRoot(je.shadowRoot,r.doc)},onIframeLoad:function(at,pt){r.iframeManager.attachIframe(at,pt),r.shadowDomManager.observeAttachShadow(at)},onStylesheetLoad:function(at,pt){r.stylesheetManager.attachLinkElement(at,pt)}});ft&&(n.push({parentId:Je,nextId:tt,node:ft}),E.add(ft.id))}};r.mapRemoves.length;)r.mirror.removeNodeFromMap(r.mapRemoves.shift());var Q=!0,te=!1,oe=void 0;try{for(var de=r.movedSet[Symbol.iterator](),ue;!(Q=(ue=de.next()).done);Q=!0){var le=ue.value;Vn(r.removes,le,r.mirror)&&!r.movedSet.has(le.parentNode)||V(le)}}catch(je){te=!0,oe=je}finally{try{!Q&&de.return!=null&&de.return()}finally{if(te)throw oe}}var Se=!0,me=!1,ge=void 0;try{for(var he=r.addedSet[Symbol.iterator](),ye;!(Se=(ye=he.next()).done);Se=!0){var Te=ye.value;!Zn(r.droppedSet,Te)&&!Vn(r.removes,Te,r.mirror)||Zn(r.movedSet,Te)?V(Te):r.droppedSet.add(Te)}}catch(je){me=!0,ge=je}finally{try{!Se&&he.return!=null&&he.return()}finally{if(me)throw ge}}for(var Ce=null;j.length;){var Ae=null;if(Ce){var Ue=r.mirror.getId(Ce.value.parentNode),xe=J(Ce.value);Ue!==-1&&xe!==-1&&(Ae=Ce)}if(!Ae)for(var Ze=j.tail;Ze;){var Ne=Ze;if(Ze=Ze.previous,Ne){var Ge=r.mirror.getId(Ne.value.parentNode),Ye=J(Ne.value);if(Ye===-1)continue;if(Ge!==-1){Ae=Ne;break}else{var Xe=Ne.value;if(Xe.parentNode&&Xe.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var Fe=Xe.parentNode.host,lt=r.mirror.getId(Fe);if(lt!==-1){Ae=Ne;break}}}}}if(!Ae){for(;j.head;)j.removeNode(j.head.value);break}Ce=Ae.previous,j.removeNode(Ae.value),V(Ae.value)}var qe={texts:r.texts.map(function(je){return{id:r.mirror.getId(je.node),value:je.value}}).filter(function(je){return!E.has(je.id)}).filter(function(je){return r.mirror.has(je.id)}),attributes:r.attributes.map(function(je){var Je=je.attributes;if(typeof Je.style=="string"){var tt=JSON.stringify(je.styleDiff),ft=JSON.stringify(je._unchangedStyles);tt.length<Je.style.length&&(tt+ft).split("var(").length===Je.style.split("var(").length&&(Je.style=je.styleDiff)}return{id:r.mirror.getId(je.node),attributes:Je}}).filter(function(je){return!E.has(je.id)}).filter(function(je){return r.mirror.has(je.id)}),removes:r.removes,adds:n};!qe.texts.length&&!qe.attributes.length&&!qe.removes.length&&!qe.adds.length||(r.texts=[],r.attributes=[],r.removes=[],r.addedSet=new Set,r.movedSet=new Set,r.droppedSet=new Set,r.movedMap={},r.mutationCb(qe))}},this.processMutation=function(n){if(!dn(n.target,r.mirror)){var E;try{E=document.implementation.createHTMLDocument()}catch(Fe){E=r.doc}switch(n.type){case"characterData":{var j=n.target.textContent;!yt(n.target,r.blockClass,r.blockSelector,r.unblockSelector,!1)&&j!==n.oldValue&&r.texts.push({value:Qt(n.target,r.maskTextClass,r.maskTextSelector,r.unmaskTextClass,r.unmaskTextSelector,r.maskAllText)&&j?r.maskTextFn?r.maskTextFn(j):j.replace(/[\S]/g,"*"):j,node:n.target});break}case"attributes":{var J=n.target,V=n.attributeName,Q=n.target.getAttribute(V);if(V==="value"){var te=Gt(J),oe=J.tagName;Q=wr(J,oe,te);var de=wt({maskInputOptions:r.maskInputOptions,tagName:oe,type:te}),ue=Qt(n.target,r.maskTextClass,r.maskTextSelector,r.unmaskTextClass,r.unmaskTextSelector,de);Q=kt({isMasked:ue,element:J,value:Q,maskInputFn:r.maskInputFn})}if(yt(n.target,r.blockClass,r.blockSelector,r.unblockSelector,!1)||Q===n.oldValue)return;var le=r.attributes.find(function(Fe){return Fe.node===n.target});if(J.tagName==="IFRAME"&&V==="src"&&!r.keepIframeSrcFn(Q))if(!J.contentDocument)V="rr_src";else return;if(le||(le={node:n.target,attributes:{},styleDiff:{},_unchangedStyles:{}},r.attributes.push(le)),V==="type"&&J.tagName==="INPUT"&&(n.oldValue||"").toLowerCase()==="password"&&J.setAttribute("data-rr-is-password","true"),!Mn(J.tagName,V)&&(le.attributes[V]=Dr(r.doc,_t(J.tagName),_t(V),Q,J,r.maskAttributeFn),V==="style")){var Se=E.createElement("span");n.oldValue&&Se.setAttribute("style",n.oldValue);var me=!0,ge=!1,he=void 0;try{for(var ye=Array.from(J.style)[Symbol.iterator](),Te;!(me=(Te=ye.next()).done);me=!0){var Ce=Te.value,Ae=J.style.getPropertyValue(Ce),Ue=J.style.getPropertyPriority(Ce);Ae!==Se.style.getPropertyValue(Ce)||Ue!==Se.style.getPropertyPriority(Ce)?Ue===""?le.styleDiff[Ce]=Ae:le.styleDiff[Ce]=[Ae,Ue]:le._unchangedStyles[Ce]=[Ae,Ue]}}catch(Fe){ge=!0,he=Fe}finally{try{!me&&ye.return!=null&&ye.return()}finally{if(ge)throw he}}var xe=!0,Ze=!1,Ne=void 0;try{for(var Ge=Array.from(Se.style)[Symbol.iterator](),Ye;!(xe=(Ye=Ge.next()).done);xe=!0){var Xe=Ye.value;J.style.getPropertyValue(Xe)===""&&(le.styleDiff[Xe]=!1)}}catch(Fe){Ze=!0,Ne=Fe}finally{try{!xe&&Ge.return!=null&&Ge.return()}finally{if(Ze)throw Ne}}}break}case"childList":{if(yt(n.target,r.blockClass,r.blockSelector,r.unblockSelector,!0))return;n.addedNodes.forEach(function(Fe){return r.genAdds(Fe,n.target)}),n.removedNodes.forEach(function(Fe){var lt=r.mirror.getId(Fe),qe=ot(n.target)?r.mirror.getId(n.target.host):r.mirror.getId(n.target);yt(n.target,r.blockClass,r.blockSelector,r.unblockSelector,!1)||dn(Fe,r.mirror)||!Hn(Fe,r.mirror)||(r.addedSet.has(Fe)?(vn(r.addedSet,Fe),r.droppedSet.add(Fe)):r.addedSet.has(n.target)&&lt===-1||pn(n.target,r.mirror)||(r.movedSet.has(Fe)&&r.movedMap[gn(lt,qe)]?vn(r.movedSet,Fe):r.removes.push({parentId:qe,id:lt,isShadow:ot(n.target)&&nt(n.target)?!0:void 0})),r.mapRemoves.push(Fe))});break}}}},this.genAdds=function(n,E){if(!r.processedNodeManager.inOtherBuffer(n,r)&&!(r.addedSet.has(n)||r.movedSet.has(n))){if(r.mirror.hasNode(n)){if(dn(n,r.mirror))return;r.movedSet.add(n);var j=null;E&&r.mirror.hasNode(E)&&(j=r.mirror.getId(E)),j&&j!==-1&&(r.movedMap[gn(r.mirror.getId(n),j)]=!0)}else r.addedSet.add(n),r.droppedSet.delete(n);yt(n,r.blockClass,r.blockSelector,r.unblockSelector,!1)||(n.childNodes.forEach(function(J){return r.genAdds(J)}),mn(n)&&n.shadowRoot.childNodes.forEach(function(J){r.processedNodeManager.add(J,r),r.genAdds(J,n)}))}}}var t=e.prototype;return t.init=function(n){var E=this;["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(function(j){E[j]=n[j]})},t.freeze=function(){this.frozen=!0,this.canvasManager.freeze()},t.unfreeze=function(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()},t.isFrozen=function(){return this.frozen},t.lock=function(){this.locked=!0,this.canvasManager.lock()},t.unlock=function(){this.locked=!1,this.canvasManager.unlock(),this.emit()},t.reset=function(){this.shadowDomManager.reset(),this.canvasManager.reset()},e}();function vn(e,t){e.delete(t),t.childNodes.forEach(function(r){return vn(e,r)})}function Vn(e,t,r){return e.length===0?!1:_n(e,t,r)}function _n(e,t,r){var n=t.parentNode;if(!n)return!1;var E=r.getId(n);return e.some(function(j){return j.id===E})?!0:_n(e,n,r)}function Zn(e,t){return e.size===0?!1:Kn(e,t)}function Kn(e,t){var r=t.parentNode;return r?e.has(r)?!0:Kn(e,r):!1}var Nr;function Ri(e){Nr=e}function Xn(){Nr=void 0}var Ve=function(e){if(!Nr)return e;var t=function(){for(var r=arguments.length,n=new Array(r),E=0;E<r;E++)n[E]=arguments[E];try{return e.apply(void 0,_(n))}catch(j){if(Nr&&Nr(j)===!0)return function(){};throw j}};return t},Yt=[];function Jt(e){try{if("composedPath"in e){var t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(r){}return e&&e.target}function Qn(e,t){var r,n,E=new Ai;Yt.push(E),E.init(e);var j=window.MutationObserver||window.__rrMutationObserver,J=(n=(r=window==null?void 0:window.Zone)===null||r===void 0?void 0:r.__symbol__)===null||n===void 0?void 0:n.call(r,"MutationObserver");J&&window[J]&&(j=window[J]);var V=new j(Ve(function(Q){e.onMutation&&e.onMutation(Q)===!1||E.processMutations.bind(E)(Q)}));return V.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),V}function Pi(e){var t=e.mousemoveCb,r=e.sampling,n=e.doc,E=e.mirror;if(r.mousemove===!1)return function(){};var j=typeof r.mousemove=="number"?r.mousemove:50,J=typeof r.mousemoveCallback=="number"?r.mousemoveCallback:500,V=[],Q,te=kr(Ve(function(ue){var le=Date.now()-Q;t(V.map(function(Se){return Se.timeOffset-=le,Se}),ue),V=[],Q=null}),J),oe=Ve(kr(Ve(function(ue){var le=Jt(ue),Se=Kr(ue)?ue.changedTouches[0]:ue,me=Se.clientX,ge=Se.clientY;Q||(Q=fr()),V.push({x:me,y:ge,id:E.getId(le),timeOffset:fr()-Q}),te(typeof DragEvent!="undefined"&&g(ue,DragEvent)?Ke.Drag:g(ue,MouseEvent)?Ke.MouseMove:Ke.TouchMove)}),j,{trailing:!1})),de=[vt("mousemove",oe,n),vt("touchmove",oe,n),vt("drag",oe,n)];return Ve(function(){de.forEach(function(ue){return ue()})})}function $n(e){var t=e.mouseInteractionCb,r=e.doc,n=e.mirror,E=e.blockClass,j=e.blockSelector,J=e.unblockSelector,V=e.sampling;if(V.mouseInteraction===!1)return function(){};var Q=V.mouseInteraction===!0||V.mouseInteraction===void 0?{}:V.mouseInteraction,te=[],oe=null,de=function(ue){return function(le){var Se=Jt(le);if(!yt(Se,E,j,J,!0)){var me=null,ge=ue;if("pointerType"in le){switch(le.pointerType){case"mouse":me=St.Mouse;break;case"touch":me=St.Touch;break;case"pen":me=St.Pen;break}me===St.Touch?bt[ue]===bt.MouseDown?ge="TouchStart":bt[ue]===bt.MouseUp&&(ge="TouchEnd"):me===St.Pen}else Kr(le)&&(me=St.Touch);me!==null?(oe=me,(ge.startsWith("Touch")&&me===St.Touch||ge.startsWith("Mouse")&&me===St.Mouse)&&(me=null)):bt[ue]===bt.Click&&(me=oe,oe=null);var he=Kr(le)?le.changedTouches[0]:le;if(!!he){var ye=n.getId(Se),Te=he.clientX,Ce=he.clientY;Ve(t)(Object.assign({type:bt[ge],id:ye,x:Te,y:Ce},me!==null&&{pointerType:me}))}}}};return Object.keys(bt).filter(function(ue){return Number.isNaN(Number(ue))&&!ue.endsWith("_Departed")&&Q[ue]!==!1}).forEach(function(ue){var le=_t(ue),Se=de(ue);if(window.PointerEvent)switch(bt[ue]){case bt.MouseDown:case bt.MouseUp:le=le.replace("mouse","pointer");break;case bt.TouchStart:case bt.TouchEnd:return}te.push(vt(le,Se,r))}),Ve(function(){te.forEach(function(ue){return ue()})})}function qn(e){var t=e.scrollCb,r=e.doc,n=e.mirror,E=e.blockClass,j=e.blockSelector,J=e.unblockSelector,V=e.sampling,Q=Ve(kr(Ve(function(te){var oe=Jt(te);if(!(!oe||yt(oe,E,j,J,!0))){var de=n.getId(oe);if(oe===r&&r.defaultView){var ue=Fn(r.defaultView);t({id:de,x:ue.left,y:ue.top})}else t({id:de,x:oe.scrollLeft,y:oe.scrollTop})}}),V.scroll||100));return vt("scroll",Q,r)}function Di(e,t){var r=e.viewportResizeCb,n=t.win,E=-1,j=-1,J=Ve(kr(Ve(function(){var V=Gn(),Q=fn();(E!==V||j!==Q)&&(r({width:Number(Q),height:Number(V)}),E=V,j=Q)}),200));return vt("resize",J,n)}function ei(e,t){var r=Object.assign({},e);return t||delete r.userTriggered,r}var ki=["INPUT","TEXTAREA","SELECT"],ti=new WeakMap;function ri(e){var t=e.inputCb,r=e.doc,n=e.mirror,E=e.blockClass,j=e.blockSelector,J=e.unblockSelector,V=e.ignoreClass,Q=e.ignoreSelector,te=e.maskInputOptions,oe=e.maskInputFn,de=e.sampling,ue=e.userTriggeredOnInput,le=e.maskTextClass,Se=e.unmaskTextClass,me=e.maskTextSelector,ge=e.unmaskTextSelector,he=function(Ge){var Ye=Jt(Ge),Xe=Ge.isTrusted,Fe=Ye&&Or(Ye.tagName);if(Fe==="OPTION"&&(Ye=Ye.parentElement),!(!Ye||!Fe||ki.indexOf(Fe)<0||yt(Ye,E,j,J,!0))){var lt=Ye;if(!(lt.classList.contains(V)||Q&&lt.matches(Q))){var qe=Gt(Ye),je=wr(lt,Fe,qe),Je=!1,tt=wt({maskInputOptions:te,tagName:Fe,type:qe}),ft=Qt(Ye,le,me,Se,ge,tt);(qe==="radio"||qe==="checkbox")&&(Je=Ye.checked),je=kt({isMasked:ft,element:Ye,value:je,maskInputFn:oe}),ye(Ye,Ve(ei)({text:je,isChecked:Je,userTriggered:Xe},ue));var at=Ye.name;qe==="radio"&&at&&Je&&r.querySelectorAll('input[type="radio"][name="'.concat(at,'"]')).forEach(function(pt){if(pt!==Ye){var Rt=kt({isMasked:ft,element:pt,value:wr(pt,Fe,qe),maskInputFn:oe});ye(pt,Ve(ei)({text:Rt,isChecked:!Je,userTriggered:!1},ue))}})}}},ye=function(Ge,Ye){var Xe=ti.get(Ge);if(!Xe||Xe.text!==Ye.text||Xe.isChecked!==Ye.isChecked){ti.set(Ge,Ye);var Fe=n.getId(Ge);Ve(t)(Object.assign(Object.assign({},Ye),{id:Fe}))}},Te=de.input==="last"?["change"]:["input","change"],Ce=Te.map(function(Ne){return vt(Ne,Ve(he),r)}),Ae=r.defaultView;if(!Ae)return function(){Ce.forEach(function(Ne){return Ne()})};var Ue=Ae.Object.getOwnPropertyDescriptor(Ae.HTMLInputElement.prototype,"value"),xe=[[Ae.HTMLInputElement.prototype,"value"],[Ae.HTMLInputElement.prototype,"checked"],[Ae.HTMLSelectElement.prototype,"value"],[Ae.HTMLTextAreaElement.prototype,"value"],[Ae.HTMLSelectElement.prototype,"selectedIndex"],[Ae.HTMLOptionElement.prototype,"selected"]];if(Ue&&Ue.set){var Ze;(Ze=Ce).push.apply(Ze,_(xe.map(function(Ne){return Zr(Ne[0],Ne[1],{set:function(){Ve(he)({target:this,isTrusted:!1})}},!1,Ae)})))}return Ve(function(){Ce.forEach(function(Ne){return Ne()})})}function pr(e){var t=function(E,j){if(fe("CSSGroupingRule")&&g(E.parentRule,CSSGroupingRule)||fe("CSSMediaRule")&&g(E.parentRule,CSSMediaRule)||fe("CSSSupportsRule")&&g(E.parentRule,CSSSupportsRule)||fe("CSSConditionRule")&&g(E.parentRule,CSSConditionRule)){var J=Array.from(E.parentRule.cssRules),V=J.indexOf(E);j.unshift(V)}else if(E.parentStyleSheet){var Q=Array.from(E.parentStyleSheet.cssRules),te=Q.indexOf(E);j.unshift(te)}return j},r=[];return t(e,r)}function zt(e,t,r){var n,E;return e?(e.ownerNode?n=t.getId(e.ownerNode):E=r.getId(e),{styleId:E,id:n}):{}}function Ni(e,t){var r=e.styleSheetRuleCb,n=e.mirror,E=e.stylesheetManager,j=t.win;if(!j.CSSStyleSheet||!j.CSSStyleSheet.prototype)return function(){};var J=j.CSSStyleSheet.prototype.insertRule;j.CSSStyleSheet.prototype.insertRule=new Proxy(J,{apply:Ve(function(ue,le,Se){var me=h(Se,2),ge=me[0],he=me[1],ye=zt(le,n,E.styleMirror),Te=ye.id,Ce=ye.styleId;return(Te&&Te!==-1||Ce&&Ce!==-1)&&r({id:Te,styleId:Ce,adds:[{rule:ge,index:he}]}),ue.apply(le,Se)})});var V=j.CSSStyleSheet.prototype.deleteRule;j.CSSStyleSheet.prototype.deleteRule=new Proxy(V,{apply:Ve(function(ue,le,Se){var me=h(Se,1),ge=me[0],he=zt(le,n,E.styleMirror),ye=he.id,Te=he.styleId;return(ye&&ye!==-1||Te&&Te!==-1)&&r({id:ye,styleId:Te,removes:[{index:ge}]}),ue.apply(le,Se)})});var Q;j.CSSStyleSheet.prototype.replace&&(Q=j.CSSStyleSheet.prototype.replace,j.CSSStyleSheet.prototype.replace=new Proxy(Q,{apply:Ve(function(ue,le,Se){var me=h(Se,1),ge=me[0],he=zt(le,n,E.styleMirror),ye=he.id,Te=he.styleId;return(ye&&ye!==-1||Te&&Te!==-1)&&r({id:ye,styleId:Te,replace:ge}),ue.apply(le,Se)})}));var te;j.CSSStyleSheet.prototype.replaceSync&&(te=j.CSSStyleSheet.prototype.replaceSync,j.CSSStyleSheet.prototype.replaceSync=new Proxy(te,{apply:Ve(function(ue,le,Se){var me=h(Se,1),ge=me[0],he=zt(le,n,E.styleMirror),ye=he.id,Te=he.styleId;return(ye&&ye!==-1||Te&&Te!==-1)&&r({id:ye,styleId:Te,replaceSync:ge}),ue.apply(le,Se)})}));var oe={};_e("CSSGroupingRule")?oe.CSSGroupingRule=j.CSSGroupingRule:(_e("CSSMediaRule")&&(oe.CSSMediaRule=j.CSSMediaRule),_e("CSSConditionRule")&&(oe.CSSConditionRule=j.CSSConditionRule),_e("CSSSupportsRule")&&(oe.CSSSupportsRule=j.CSSSupportsRule));var de={};return Object.entries(oe).forEach(function(ue){var le=h(ue,2),Se=le[0],me=le[1];de[Se]={insertRule:me.prototype.insertRule,deleteRule:me.prototype.deleteRule},me.prototype.insertRule=new Proxy(de[Se].insertRule,{apply:Ve(function(ge,he,ye){var Te=h(ye,2),Ce=Te[0],Ae=Te[1],Ue=zt(he.parentStyleSheet,n,E.styleMirror),xe=Ue.id,Ze=Ue.styleId;return(xe&&xe!==-1||Ze&&Ze!==-1)&&r({id:xe,styleId:Ze,adds:[{rule:Ce,index:_(pr(he)).concat([Ae||0])}]}),ge.apply(he,ye)})}),me.prototype.deleteRule=new Proxy(de[Se].deleteRule,{apply:Ve(function(ge,he,ye){var Te=h(ye,1),Ce=Te[0],Ae=zt(he.parentStyleSheet,n,E.styleMirror),Ue=Ae.id,xe=Ae.styleId;return(Ue&&Ue!==-1||xe&&xe!==-1)&&r({id:Ue,styleId:xe,removes:[{index:_(pr(he)).concat([Ce])}]}),ge.apply(he,ye)})})}),Ve(function(){j.CSSStyleSheet.prototype.insertRule=J,j.CSSStyleSheet.prototype.deleteRule=V,Q&&(j.CSSStyleSheet.prototype.replace=Q),te&&(j.CSSStyleSheet.prototype.replaceSync=te),Object.entries(oe).forEach(function(ue){var le=h(ue,2),Se=le[0],me=le[1];me.prototype.insertRule=de[Se].insertRule,me.prototype.deleteRule=de[Se].deleteRule})})}function ni(e,t){var r=e.mirror,n=e.stylesheetManager,E,j,J,V=null;t.nodeName==="#document"?V=r.getId(t):V=r.getId(t.host);var Q=t.nodeName==="#document"?(E=t.defaultView)===null||E===void 0?void 0:E.Document:(J=(j=t.ownerDocument)===null||j===void 0?void 0:j.defaultView)===null||J===void 0?void 0:J.ShadowRoot,te=(Q==null?void 0:Q.prototype)?Object.getOwnPropertyDescriptor(Q==null?void 0:Q.prototype,"adoptedStyleSheets"):void 0;return V===null||V===-1||!Q||!te?function(){}:(Object.defineProperty(t,"adoptedStyleSheets",{configurable:te.configurable,enumerable:te.enumerable,get:function(){var de;return(de=te.get)===null||de===void 0?void 0:de.call(this)},set:function(de){var ue,le=(ue=te.set)===null||ue===void 0?void 0:ue.call(this,de);if(V!==null&&V!==-1)try{n.adoptStyleSheets(de,V)}catch(Se){}return le}}),Ve(function(){Object.defineProperty(t,"adoptedStyleSheets",{configurable:te.configurable,enumerable:te.enumerable,get:te.get,set:te.set})}))}function ii(e,t){var r=e.styleDeclarationCb,n=e.mirror,E=e.ignoreCSSAttributes,j=e.stylesheetManager,J=t.win,V=J.CSSStyleDeclaration.prototype.setProperty;J.CSSStyleDeclaration.prototype.setProperty=new Proxy(V,{apply:Ve(function(te,oe,de){var ue,le=h(de,3),Se=le[0],me=le[1],ge=le[2];if(E.has(Se))return V.apply(oe,[Se,me,ge]);var he=zt((ue=oe.parentRule)===null||ue===void 0?void 0:ue.parentStyleSheet,n,j.styleMirror),ye=he.id,Te=he.styleId;return(ye&&ye!==-1||Te&&Te!==-1)&&r({id:ye,styleId:Te,set:{property:Se,value:me,priority:ge},index:pr(oe.parentRule)}),te.apply(oe,de)})});var Q=J.CSSStyleDeclaration.prototype.removeProperty;return J.CSSStyleDeclaration.prototype.removeProperty=new Proxy(Q,{apply:Ve(function(te,oe,de){var ue,le=h(de,1),Se=le[0];if(E.has(Se))return Q.apply(oe,[Se]);var me=zt((ue=oe.parentRule)===null||ue===void 0?void 0:ue.parentStyleSheet,n,j.styleMirror),ge=me.id,he=me.styleId;return(ge&&ge!==-1||he&&he!==-1)&&r({id:ge,styleId:he,remove:{property:Se},index:pr(oe.parentRule)}),te.apply(oe,de)})}),Ve(function(){J.CSSStyleDeclaration.prototype.setProperty=V,J.CSSStyleDeclaration.prototype.removeProperty=Q})}function xi(e){var t=e.mediaInteractionCb,r=e.blockClass,n=e.blockSelector,E=e.unblockSelector,j=e.mirror,J=e.sampling,V=e.doc,Q=Ve(function(oe){return kr(Ve(function(de){var ue=Jt(de);if(!(!ue||yt(ue,r,n,E,!0))){var le=ue.currentTime,Se=ue.volume,me=ue.muted,ge=ue.playbackRate;t({type:oe,id:j.getId(ue),currentTime:le,volume:Se,muted:me,playbackRate:ge})}}),J.media||500)}),te=[vt("play",Q(0),V),vt("pause",Q(1),V),vt("seeked",Q(2),V),vt("volumechange",Q(3),V),vt("ratechange",Q(4),V)];return Ve(function(){te.forEach(function(oe){return oe()})})}function Mi(e){var t=e.fontCb,r=e.doc,n=r.defaultView;if(!n)return function(){};var E=[],j=new WeakMap,J=n.FontFace;n.FontFace=function(te,oe,de){var ue=new J(te,oe,de);return j.set(ue,{family:te,buffer:typeof oe!="string",descriptors:de,fontSource:typeof oe=="string"?oe:JSON.stringify(Array.from(new Uint8Array(oe)))}),ue};var V=er(r.fonts,"add",function(Q){return function(te){return setTimeout(Ve(function(){var oe=j.get(te);oe&&(t(oe),j.delete(te))}),0),Q.apply(this,[te])}});return E.push(function(){n.FontFace=J}),E.push(V),Ve(function(){E.forEach(function(Q){return Q()})})}function $(e){var t=e.doc,r=e.mirror,n=e.blockClass,E=e.blockSelector,j=e.unblockSelector,J=e.selectionCb,V=!0,Q=Ve(function(){var te=t.getSelection();if(!(!te||V&&(te==null?void 0:te.isCollapsed))){V=te.isCollapsed||!1;for(var oe=[],de=te.rangeCount||0,ue=0;ue<de;ue++){var le=te.getRangeAt(ue),Se=le.startContainer,me=le.startOffset,ge=le.endContainer,he=le.endOffset,ye=yt(Se,n,E,j,!0)||yt(ge,n,E,j,!0);ye||oe.push({start:r.getId(Se),startOffset:me,end:r.getId(ge),endOffset:he})}J({ranges:oe})}});return Q(),vt("selectionchange",Q)}function K(e){var t=e.doc,r=e.customElementCb,n=t.defaultView;if(!n||!n.customElements)return function(){};var E=er(n.customElements,"define",function(j){return function(J,V,Q){try{r({define:{name:J}})}catch(te){}return j.apply(this,[J,V,Q])}});return E}function q(e,t){var r=e.mutationCb,n=e.mousemoveCb,E=e.mouseInteractionCb,j=e.scrollCb,J=e.viewportResizeCb,V=e.inputCb,Q=e.mediaInteractionCb,te=e.styleSheetRuleCb,oe=e.styleDeclarationCb,de=e.canvasMutationCb,ue=e.fontCb,le=e.selectionCb,Se=e.customElementCb;e.mutationCb=function(){for(var me=arguments.length,ge=new Array(me),he=0;he<me;he++)ge[he]=arguments[he];if(t.mutation){var ye;(ye=t).mutation.apply(ye,_(ge))}r.apply(void 0,_(ge))},e.mousemoveCb=function(){for(var me=arguments.length,ge=new Array(me),he=0;he<me;he++)ge[he]=arguments[he];if(t.mousemove){var ye;(ye=t).mousemove.apply(ye,_(ge))}n.apply(void 0,_(ge))},e.mouseInteractionCb=function(){for(var me=arguments.length,ge=new Array(me),he=0;he<me;he++)ge[he]=arguments[he];if(t.mouseInteraction){var ye;(ye=t).mouseInteraction.apply(ye,_(ge))}E.apply(void 0,_(ge))},e.scrollCb=function(){for(var me=arguments.length,ge=new Array(me),he=0;he<me;he++)ge[he]=arguments[he];if(t.scroll){var ye;(ye=t).scroll.apply(ye,_(ge))}j.apply(void 0,_(ge))},e.viewportResizeCb=function(){for(var me=arguments.length,ge=new Array(me),he=0;he<me;he++)ge[he]=arguments[he];if(t.viewportResize){var ye;(ye=t).viewportResize.apply(ye,_(ge))}J.apply(void 0,_(ge))},e.inputCb=function(){for(var me=arguments.length,ge=new Array(me),he=0;he<me;he++)ge[he]=arguments[he];if(t.input){var ye;(ye=t).input.apply(ye,_(ge))}V.apply(void 0,_(ge))},e.mediaInteractionCb=function(){for(var me=arguments.length,ge=new Array(me),he=0;he<me;he++)ge[he]=arguments[he];if(t.mediaInteaction){var ye;(ye=t).mediaInteaction.apply(ye,_(ge))}Q.apply(void 0,_(ge))},e.styleSheetRuleCb=function(){for(var me=arguments.length,ge=new Array(me),he=0;he<me;he++)ge[he]=arguments[he];if(t.styleSheetRule){var ye;(ye=t).styleSheetRule.apply(ye,_(ge))}te.apply(void 0,_(ge))},e.styleDeclarationCb=function(){for(var me=arguments.length,ge=new Array(me),he=0;he<me;he++)ge[he]=arguments[he];if(t.styleDeclaration){var ye;(ye=t).styleDeclaration.apply(ye,_(ge))}oe.apply(void 0,_(ge))},e.canvasMutationCb=function(){for(var me=arguments.length,ge=new Array(me),he=0;he<me;he++)ge[he]=arguments[he];if(t.canvasMutation){var ye;(ye=t).canvasMutation.apply(ye,_(ge))}de.apply(void 0,_(ge))},e.fontCb=function(){for(var me=arguments.length,ge=new Array(me),he=0;he<me;he++)ge[he]=arguments[he];if(t.font){var ye;(ye=t).font.apply(ye,_(ge))}ue.apply(void 0,_(ge))},e.selectionCb=function(){for(var me=arguments.length,ge=new Array(me),he=0;he<me;he++)ge[he]=arguments[he];if(t.selection){var ye;(ye=t).selection.apply(ye,_(ge))}le.apply(void 0,_(ge))},e.customElementCb=function(){for(var me=arguments.length,ge=new Array(me),he=0;he<me;he++)ge[he]=arguments[he];if(t.customElement){var ye;(ye=t).customElement.apply(ye,_(ge))}Se.apply(void 0,_(ge))}}function ie(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.doc.defaultView;if(!r)return function(){};q(e,t);var n=Qn(e,e.doc),E=Pi(e),j=$n(e),J=qn(e),V=Di(e,{win:r}),Q=ri(e),te=xi(e),oe=Ni(e,{win:r}),de=ni(e,e.doc),ue=ii(e,{win:r}),le=e.collectFonts?Mi(e):function(){},Se=$(e),me=K(e),ge=[],he=!0,ye=!1,Te=void 0;try{for(var Ce=e.plugins[Symbol.iterator](),Ae;!(he=(Ae=Ce.next()).done);he=!0){var Ue=Ae.value;ge.push(Ue.observer(Ue.callback,r,Ue.options))}}catch(xe){ye=!0,Te=xe}finally{try{!he&&Ce.return!=null&&Ce.return()}finally{if(ye)throw Te}}return Ve(function(){Yt.forEach(function(xe){return xe.reset()}),n.disconnect(),E(),j(),J(),V(),Q(),te(),oe(),de(),ue(),le(),Se(),me(),ge.forEach(function(xe){return xe()})})}function fe(e){return typeof window[e]!="undefined"}function _e(e){return Boolean(typeof window[e]!="undefined"&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}var Oe=function(){"use strict";function e(r){N(this,e),this.generateIdFn=r,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}var t=e.prototype;return t.getId=function(n,E,j,J){var V=j||this.getIdToRemoteIdMap(n),Q=J||this.getRemoteIdToIdMap(n),te=V.get(E);return te||(te=this.generateIdFn(),V.set(E,te),Q.set(te,E)),te},t.getIds=function(n,E){var j=this,J=this.getIdToRemoteIdMap(n),V=this.getRemoteIdToIdMap(n);return E.map(function(Q){return j.getId(n,Q,J,V)})},t.getRemoteId=function(n,E,j){var J=j||this.getRemoteIdToIdMap(n);if(typeof E!="number")return E;var V=J.get(E);return V||-1},t.getRemoteIds=function(n,E){var j=this,J=this.getRemoteIdToIdMap(n);return E.map(function(V){return j.getRemoteId(n,V,J)})},t.reset=function(n){if(!n){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(n),this.iframeRemoteIdToIdMap.delete(n)},t.getIdToRemoteIdMap=function(n){var E=this.iframeIdToRemoteIdMap.get(n);return E||(E=new Map,this.iframeIdToRemoteIdMap.set(n,E)),E},t.getRemoteIdToIdMap=function(n){var E=this.iframeRemoteIdToIdMap.get(n);return E||(E=new Map,this.iframeRemoteIdToIdMap.set(n,E)),E},e}(),Re=function(){"use strict";function e(){N(this,e),this.crossOriginIframeMirror=new Oe(Cr),this.crossOriginIframeRootIdMap=new WeakMap}var t=e.prototype;return t.addIframe=function(){},t.addLoadListener=function(){},t.attachIframe=function(){},e}(),Me=function(){"use strict";function e(r){N(this,e),this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new Oe(Cr),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=r.mutationCb,this.wrappedEmit=r.wrappedEmit,this.stylesheetManager=r.stylesheetManager,this.recordCrossOriginIframes=r.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Oe(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=r.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}var t=e.prototype;return t.addIframe=function(n){this.iframes.set(n,!0),n.contentWindow&&this.crossOriginIframeMap.set(n.contentWindow,n)},t.addLoadListener=function(n){this.loadListener=n},t.attachIframe=function(n,E){var j;this.mutationCb({adds:[{parentId:this.mirror.getId(n),nextId:null,node:E}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),(j=this.loadListener)===null||j===void 0||j.call(this,n),n.contentDocument&&n.contentDocument.adoptedStyleSheets&&n.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(n.contentDocument.adoptedStyleSheets,this.mirror.getId(n.contentDocument))},t.handleMessage=function(n){var E=n;if(!(E.data.type!=="rrweb"||E.origin!==E.data.origin)){var j=n.source;if(!!j){var J=this.crossOriginIframeMap.get(n.source);if(!!J){var V=this.transformCrossOriginEvent(J,E.data.event);V&&this.wrappedEmit(V,E.data.isCheckout)}}}},t.transformCrossOriginEvent=function(n,E){var j=this,J;switch(E.type){case We.FullSnapshot:{this.crossOriginIframeMirror.reset(n),this.crossOriginIframeStyleMirror.reset(n),this.replaceIdOnNode(E.data.node,n);var V=E.data.node.id;return this.crossOriginIframeRootIdMap.set(n,V),this.patchRootIdOnNode(E.data.node,V),{timestamp:E.timestamp,type:We.IncrementalSnapshot,data:{source:Ke.Mutation,adds:[{parentId:this.mirror.getId(n),nextId:null,node:E.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case We.Meta:case We.Load:case We.DomContentLoaded:return!1;case We.Plugin:return E;case We.Custom:return this.replaceIds(E.data.payload,n,["id","parentId","previousId","nextId"]),E;case We.IncrementalSnapshot:switch(E.data.source){case Ke.Mutation:return E.data.adds.forEach(function(Q){j.replaceIds(Q,n,["parentId","nextId","previousId"]),j.replaceIdOnNode(Q.node,n);var te=j.crossOriginIframeRootIdMap.get(n);te&&j.patchRootIdOnNode(Q.node,te)}),E.data.removes.forEach(function(Q){j.replaceIds(Q,n,["parentId","id"])}),E.data.attributes.forEach(function(Q){j.replaceIds(Q,n,["id"])}),E.data.texts.forEach(function(Q){j.replaceIds(Q,n,["id"])}),E;case Ke.Drag:case Ke.TouchMove:case Ke.MouseMove:return E.data.positions.forEach(function(Q){j.replaceIds(Q,n,["id"])}),E;case Ke.ViewportResize:return!1;case Ke.MediaInteraction:case Ke.MouseInteraction:case Ke.Scroll:case Ke.CanvasMutation:case Ke.Input:return this.replaceIds(E.data,n,["id"]),E;case Ke.StyleSheetRule:case Ke.StyleDeclaration:return this.replaceIds(E.data,n,["id"]),this.replaceStyleIds(E.data,n,["styleId"]),E;case Ke.Font:return E;case Ke.Selection:return E.data.ranges.forEach(function(Q){j.replaceIds(Q,n,["start","end"])}),E;case Ke.AdoptedStyleSheet:return this.replaceIds(E.data,n,["id"]),this.replaceStyleIds(E.data,n,["styleIds"]),(J=E.data.styles)===null||J===void 0||J.forEach(function(Q){j.replaceStyleIds(Q,n,["styleId"])}),E}}return!1},t.replace=function(n,E,j,J){var V=!0,Q=!1,te=void 0;try{for(var oe=J[Symbol.iterator](),de;!(V=(de=oe.next()).done);V=!0){var ue=de.value;!Array.isArray(E[ue])&&typeof E[ue]!="number"||(Array.isArray(E[ue])?E[ue]=n.getIds(j,E[ue]):E[ue]=n.getId(j,E[ue]))}}catch(le){Q=!0,te=le}finally{try{!V&&oe.return!=null&&oe.return()}finally{if(Q)throw te}}return E},t.replaceIds=function(n,E,j){return this.replace(this.crossOriginIframeMirror,n,E,j)},t.replaceStyleIds=function(n,E,j){return this.replace(this.crossOriginIframeStyleMirror,n,E,j)},t.replaceIdOnNode=function(n,E){var j=this;this.replaceIds(n,E,["id","rootId"]),"childNodes"in n&&n.childNodes.forEach(function(J){j.replaceIdOnNode(J,E)})},t.patchRootIdOnNode=function(n,E){var j=this;n.type!==Le.Document&&!n.rootId&&(n.rootId=E),"childNodes"in n&&n.childNodes.forEach(function(J){j.patchRootIdOnNode(J,E)})},e}(),ke=function(){"use strict";function e(){N(this,e)}var t=e.prototype;return t.init=function(){},t.addShadowRoot=function(){},t.observeAttachShadow=function(){},t.reset=function(){},e}(),Qe=function(){"use strict";function e(r){N(this,e),this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=r.mutationCb,this.scrollCb=r.scrollCb,this.bypassOptions=r.bypassOptions,this.mirror=r.mirror,this.init()}var t=e.prototype;return t.init=function(){this.reset(),this.patchAttachShadow(Element,document)},t.addShadowRoot=function(n,E){var j=this;if(!!nt(n)&&!this.shadowDoms.has(n)){this.shadowDoms.add(n);var J=Qn(Object.assign(Object.assign({},this.bypassOptions),{doc:E,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),n);this.restoreHandlers.push(function(){return J.disconnect()}),this.restoreHandlers.push(qn(Object.assign(Object.assign({},this.bypassOptions),{scrollCb:this.scrollCb,doc:n,mirror:this.mirror}))),setTimeout(function(){n.adoptedStyleSheets&&n.adoptedStyleSheets.length>0&&j.bypassOptions.stylesheetManager.adoptStyleSheets(n.adoptedStyleSheets,j.mirror.getId(n.host)),j.restoreHandlers.push(ni({mirror:j.mirror,stylesheetManager:j.bypassOptions.stylesheetManager},n))},0)}},t.observeAttachShadow=function(n){!n.contentWindow||!n.contentDocument||this.patchAttachShadow(n.contentWindow.Element,n.contentDocument)},t.patchAttachShadow=function(n,E){var j=this;this.restoreHandlers.push(er(n.prototype,"attachShadow",function(J){return function(V){var Q=J.call(this,V);return this.shadowRoot&&zn(this)&&j.addShadowRoot(this.shadowRoot,E),Q}}))},t.reset=function(){this.restoreHandlers.forEach(function(n){try{n()}catch(E){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet},e}();/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */function ut(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,n=Object.getOwnPropertySymbols(e);E<n.length;E++)t.indexOf(n[E])<0&&Object.prototype.propertyIsEnumerable.call(e,n[E])&&(r[n[E]]=e[n[E]]);return r}function tr(e,t,r,n){var E=function(J){return g(J,r)?J:new r(function(V){V(J)})};return new(r||(r=Promise))(function(j,J){var V=function(de){try{te(n.next(de))}catch(ue){J(ue)}},Q=function(de){try{te(n.throw(de))}catch(ue){J(ue)}},te=function(de){de.done?j(de.value):E(de.value).then(V,Q)};te((n=n.apply(e,t||[])).next())})}for(var It="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Xr=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),xr=0;xr<It.length;xr++)Xr[It.charCodeAt(xr)]=xr;var yn=function(t){var r=new Uint8Array(t),n,E=r.length,j="";for(n=0;n<E;n+=3)j+=It[r[n]>>2],j+=It[(r[n]&3)<<4|r[n+1]>>4],j+=It[(r[n+1]&15)<<2|r[n+2]>>6],j+=It[r[n+2]&63];return E%3==2?j=j.substring(0,j.length-1)+"=":E%3==1&&(j=j.substring(0,j.length-2)+"=="),j},bn=new Map;function Sn(e,t){var r=bn.get(e);return r||(r=new Map,bn.set(e,r)),r.has(t)||r.set(t,[]),r.get(t)}var Mr=function(e,t,r){if(!(!e||!(Qr(e,t)||typeof e=="object"))){var n=e.constructor.name,E=Sn(r,n),j=E.indexOf(e);return j===-1&&(j=E.length,E.push(e)),j}};function jr(e,t,r){if(g(e,Array))return e.map(function(Se){return jr(Se,t,r)});if(e===null)return e;if(g(e,Float32Array)||g(e,Float64Array)||g(e,Int32Array)||g(e,Uint32Array)||g(e,Uint8Array)||g(e,Uint16Array)||g(e,Int16Array)||g(e,Int8Array)||g(e,Uint8ClampedArray)){var n=e.constructor.name;return{rr_type:n,args:[Object.values(e)]}}else if(g(e,ArrayBuffer)){var E=e.constructor.name,j=yn(e);return{rr_type:E,base64:j}}else if(g(e,DataView)){var J=e.constructor.name;return{rr_type:J,args:[jr(e.buffer,t,r),e.byteOffset,e.byteLength]}}else if(g(e,HTMLImageElement)){var V=e.constructor.name,Q=e.src;return{rr_type:V,src:Q}}else if(g(e,HTMLCanvasElement)){var te="HTMLImageElement",oe=e.toDataURL();return{rr_type:te,src:oe}}else if(g(e,ImageData)){var de=e.constructor.name;return{rr_type:de,args:[jr(e.data,t,r),e.width,e.height]}}else if(Qr(e,t)||typeof e=="object"){var ue=e.constructor.name,le=Mr(e,t,r);return{rr_type:ue,index:le}}return e}var ji=function(e,t,r){return _(e).map(function(n){return jr(n,t,r)})},Qr=function(e,t){var r=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"],n=r.filter(function(E){return typeof t[E]=="function"});return Boolean(n.find(function(E){return g(e,t[E])}))};function ai(e,t,r,n,E){var j=[],J=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype),V=!0,Q=!1,te=void 0;try{for(var oe=function(){var le=ue.value;try{if(typeof t.CanvasRenderingContext2D.prototype[le]!="function")return"continue";var Se=er(t.CanvasRenderingContext2D.prototype,le,function(ge){return function(){for(var he=arguments.length,ye=new Array(he),Te=0;Te<he;Te++)ye[Te]=arguments[Te];var Ce=this;return yt(this.canvas,r,n,E,!0)||setTimeout(function(){var Ae=ji(_(ye),t,Ce);e(Ce.canvas,{type:Wt["2D"],property:le,args:Ae})},0),ge.apply(this,ye)}});j.push(Se)}catch(ge){var me=Zr(t.CanvasRenderingContext2D.prototype,le,{set:function(ye){e(this.canvas,{type:Wt["2D"],property:le,args:[ye],setter:!0})}});j.push(me)}},de=J[Symbol.iterator](),ue;!(V=(ue=de.next()).done);V=!0)oe()}catch(le){Q=!0,te=le}finally{try{!V&&de.return!=null&&de.return()}finally{if(Q)throw te}}return function(){j.forEach(function(le){return le()})}}function Ui(e){return e==="experimental-webgl"?"webgl":e}function Ur(e,t,r,n,E){var j=[];try{var J=er(e.HTMLCanvasElement.prototype,"getContext",function(V){return function(Q){for(var te=arguments.length,oe=new Array(te>1?te-1:0),de=1;de<te;de++)oe[de-1]=arguments[de];if(!yt(this,t,r,n,!0)){var ue=Ui(Q);if("__context"in this||(this.__context=ue),E&&["webgl","webgl2"].includes(ue))if(oe[0]&&typeof oe[0]=="object"){var le=oe[0];le.preserveDrawingBuffer||(le.preserveDrawingBuffer=!0)}else oe.splice(0,1,{preserveDrawingBuffer:!0})}return V.apply(this,[Q].concat(_(oe)))}});j.push(J)}catch(V){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return function(){j.forEach(function(V){return V()})}}function pa(e,t,r,n,E,j,J,V){var Q=[],te=Object.getOwnPropertyNames(e),oe=!0,de=!1,ue=void 0;try{for(var le=function(){var ge=me.value;if(["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(ge))return"continue";try{if(typeof e[ge]!="function")return"continue";var he=er(e,ge,function(Te){return function(){for(var Ce=arguments.length,Ae=new Array(Ce),Ue=0;Ue<Ce;Ue++)Ae[Ue]=arguments[Ue];var xe=Te.apply(this,Ae);if(Mr(xe,V,this),"tagName"in this.canvas&&!yt(this.canvas,n,E,j,!0)){var Ze=ji(_(Ae),V,this),Ne={type:t,property:ge,args:Ze};r(this.canvas,Ne)}return xe}});Q.push(he)}catch(Te){var ye=Zr(e,ge,{set:function(Ae){r(this.canvas,{type:t,property:ge,args:[Ae],setter:!0})}});Q.push(ye)}},Se=te[Symbol.iterator](),me;!(oe=(me=Se.next()).done);oe=!0)le()}catch(ge){de=!0,ue=ge}finally{try{!oe&&Se.return!=null&&Se.return()}finally{if(de)throw ue}}return Q}function $a(e,t,r,n,E,j){var J,V=[];if((J=V).push.apply(J,_(pa(t.WebGLRenderingContext.prototype,Wt.WebGL,e,r,n,E,j,t))),typeof t.WebGL2RenderingContext!="undefined"){var Q;(Q=V).push.apply(Q,_(pa(t.WebGL2RenderingContext.prototype,Wt.WebGL2,e,r,n,E,j,t)))}return function(){V.forEach(function(te){return te()})}}function qa(e,t){var r=atob(e);if(t){for(var n=new Uint8Array(r.length),E=0,j=r.length;E<j;++E)n[E]=r.charCodeAt(E);return String.fromCharCode.apply(null,new Uint16Array(n.buffer))}return r}function eo(e,t,r){var n=t===void 0?null:t,E=r===void 0?!1:r,j=qa(e,E),J=j.indexOf("\n",10)+1,V=j.substring(J)+(n?"//# sourceMappingURL="+n:""),Q=new Blob([V],{type:"application/javascript"});return URL.createObjectURL(Q)}function to(e,t,r){var n;return function(j){return n=n||eo(e,t,r),new Worker(n,j)}}var ro=to(" ",null,!1),no=function(){"use strict";function e(){N(this,e)}var t=e.prototype;return t.reset=function(){},t.freeze=function(){},t.unfreeze=function(){},t.lock=function(){},t.unlock=function(){},e}(),io=function(){"use strict";function e(r){var n=this;N(this,e),this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=function(ue,le){var Se=n.rafStamps.invokeId&&n.rafStamps.latestId!==n.rafStamps.invokeId;(Se||!n.rafStamps.invokeId)&&(n.rafStamps.invokeId=n.rafStamps.latestId),n.pendingCanvasMutations.has(ue)||n.pendingCanvasMutations.set(ue,[]),n.pendingCanvasMutations.get(ue).push(le)};var E=r.sampling,j=E===void 0?"all":E,J=r.win,V=r.blockClass,Q=r.blockSelector,te=r.unblockSelector,oe=r.recordCanvas,de=r.dataURLOptions;this.mutationCb=r.mutationCb,this.mirror=r.mirror,oe&&j==="all"&&this.initCanvasMutationObserver(J,V,Q,te),oe&&typeof j=="number"&&this.initCanvasFPSObserver(j,J,V,Q,te,{dataURLOptions:de})}var t=e.prototype;return t.reset=function(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()},t.freeze=function(){this.frozen=!0},t.unfreeze=function(){this.frozen=!1},t.lock=function(){this.locked=!0},t.unlock=function(){this.locked=!1},t.initCanvasFPSObserver=function(n,E,j,J,V,Q){var te=this,oe=Ur(E,j,J,V,!0),de=new Map,ue=new ro;ue.onmessage=function(ye){var Te=ye.data.id;if(de.set(Te,!1),"base64"in ye.data){var Ce=ye.data,Ae=Ce.base64,Ue=Ce.type,xe=Ce.width,Ze=Ce.height;te.mutationCb({id:Te,type:Wt["2D"],commands:[{property:"clearRect",args:[0,0,xe,Ze]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:Ae}],type:Ue}]},0,0]}]})}};var le=1e3/n,Se=0,me,ge=function(){var ye=[];return E.document.querySelectorAll("canvas").forEach(function(Te){yt(Te,j,J,V,!0)||ye.push(Te)}),ye},he=function(ye){if(Se&&ye-Se<le){me=requestAnimationFrame(he);return}Se=ye,ge().forEach(function(Te){return tr(te,void 0,void 0,function(){var Ce,Ae,Ue,xe;return z(this,function(Ze){switch(Ze.label){case 0:return Ae=this.mirror.getId(Te),de.get(Ae)?[2]:(de.set(Ae,!0),["webgl","webgl2"].includes(Te.__context)&&(Ue=Te.getContext(Te.__context),((Ce=Ue==null?void 0:Ue.getContextAttributes())===null||Ce===void 0?void 0:Ce.preserveDrawingBuffer)===!1&&Ue.clear(Ue.COLOR_BUFFER_BIT)),[4,createImageBitmap(Te)]);case 1:return xe=Ze.sent(),ue.postMessage({id:Ae,bitmap:xe,width:Te.width,height:Te.height,dataURLOptions:Q.dataURLOptions},[xe]),[2]}})})}),me=requestAnimationFrame(he)};me=requestAnimationFrame(he),this.resetObservers=function(){oe(),cancelAnimationFrame(me)}},t.initCanvasMutationObserver=function(n,E,j,J){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var V=Ur(n,E,j,J,!1),Q=ai(this.processMutation.bind(this),n,E,j,J),te=$a(this.processMutation.bind(this),n,E,j,J,this.mirror);this.resetObservers=function(){V(),Q(),te()}},t.startPendingCanvasMutationFlusher=function(){var n=this;requestAnimationFrame(function(){return n.flushPendingCanvasMutations()})},t.startRAFTimestamping=function(){var n=this,E=function(j){n.rafStamps.latestId=j,requestAnimationFrame(E)};requestAnimationFrame(E)},t.flushPendingCanvasMutations=function(){var n=this;this.pendingCanvasMutations.forEach(function(E,j){var J=n.mirror.getId(j);n.flushPendingCanvasMutationFor(j,J)}),requestAnimationFrame(function(){return n.flushPendingCanvasMutations()})},t.flushPendingCanvasMutationFor=function(n,E){if(!(this.frozen||this.locked)){var j=this.pendingCanvasMutations.get(n);if(!(!j||E===-1)){var J=j.map(function(Q){var te=ut(Q,["type"]);return te}),V=j[0].type;this.mutationCb({id:E,type:V,commands:J}),this.pendingCanvasMutations.delete(n)}}},e}(),ao=function(){"use strict";function e(r){N(this,e),this.trackedLinkElements=new WeakSet,this.styleMirror=new wi,this.mutationCb=r.mutationCb,this.adoptedStyleSheetCb=r.adoptedStyleSheetCb}var t=e.prototype;return t.attachLinkElement=function(n,E){"_cssText"in E.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:E.id,attributes:E.attributes}]}),this.trackLinkElement(n)},t.trackLinkElement=function(n){this.trackedLinkElements.has(n)||(this.trackedLinkElements.add(n),this.trackStylesheetInLinkElement(n))},t.adoptStyleSheets=function(n,E){if(n.length!==0){var j={id:E,styleIds:[]},J=[],V=!0,Q=!1,te=void 0;try{for(var oe=n[Symbol.iterator](),de;!(V=(de=oe.next()).done);V=!0){var ue=de.value,le=void 0;this.styleMirror.has(ue)?le=this.styleMirror.getId(ue):(le=this.styleMirror.add(ue),J.push({styleId:le,rules:Array.from(ue.rules||CSSRule,function(Se,me){return{rule:Ft(Se),index:me}})})),j.styleIds.push(le)}}catch(Se){Q=!0,te=Se}finally{try{!V&&oe.return!=null&&oe.return()}finally{if(Q)throw te}}J.length>0&&(j.styles=J),this.adoptedStyleSheetCb(j)}},t.reset=function(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet},t.trackStylesheetInLinkElement=function(n){},e}(),oo=function(){"use strict";function e(){N(this,e),this.nodeMap=new WeakMap,this.loop=!0,this.periodicallyClear()}var t=e.prototype;return t.periodicallyClear=function(){var n=this;requestAnimationFrame(function(){n.clear(),n.loop&&n.periodicallyClear()})},t.inOtherBuffer=function(n,E){var j=this.nodeMap.get(n);return j&&Array.from(j).some(function(J){return J!==E})},t.add=function(n,E){this.nodeMap.set(n,(this.nodeMap.get(n)||new Set).add(E))},t.clear=function(){this.nodeMap=new WeakMap},t.destroy=function(){this.loop=!1},e}();function ht(e){return Object.assign(Object.assign({},e),{timestamp:fr()})}var dt,oi,Bi,ui=!1,Bt=an();function rr(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.emit,r=e.checkoutEveryNms,n=e.checkoutEveryNth,E=e.blockClass,j=E===void 0?"rr-block":E,J=e.blockSelector,V=J===void 0?null:J,Q=e.unblockSelector,te=Q===void 0?null:Q,oe=e.ignoreClass,de=oe===void 0?"rr-ignore":oe,ue=e.ignoreSelector,le=ue===void 0?null:ue,Se=e.maskAllText,me=Se===void 0?!1:Se,ge=e.maskTextClass,he=ge===void 0?"rr-mask":ge,ye=e.unmaskTextClass,Te=ye===void 0?null:ye,Ce=e.maskTextSelector,Ae=Ce===void 0?null:Ce,Ue=e.unmaskTextSelector,xe=Ue===void 0?null:Ue,Ze=e.inlineStylesheet,Ne=Ze===void 0?!0:Ze,Ge=e.maskAllInputs,Ye=e.maskInputOptions,Xe=e.slimDOMOptions,Fe=e.maskAttributeFn,lt=e.maskInputFn,qe=e.maskTextFn,je=e.hooks,Je=e.packFn,tt=e.sampling,ft=tt===void 0?{}:tt,at=e.dataURLOptions,pt=at===void 0?{}:at,Rt=e.mousemoveWait,Dt=e.recordCanvas,Et=Dt===void 0?!1:Dt,st=e.recordCrossOriginIframes,Ot=st===void 0?!1:st,rt=e.recordAfter,Pt=rt===void 0?e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load":rt,or=e.userTriggeredOnInput,ur=or===void 0?!1:or,Lt=e.collectFonts,Mt=Lt===void 0?!1:Lt,Br=e.inlineImages,Vt=Br===void 0?!1:Br,Zt=e.plugins,Lr=e.keepIframeSrcFn,vr=Lr===void 0?function(){return!1}:Lr,sr=e.ignoreCSSAttributes,rn=sr===void 0?new Set([]):sr,Fr=e.errorHandler,_r=e.onMutation;Ri(Fr);var yr=Ot?window.parent===window:!0,br=!1;if(!yr)try{window.parent.document&&(br=!1)}catch(ze){br=!0}if(yr&&!t)throw new Error("emit function is required");Rt!==void 0&&ft.mousemove===void 0&&(ft.mousemove=Rt),Bt.reset();var cr=Ge===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:Ye!==void 0?Ye:{},Tt=Xe===!0||Xe==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:Xe==="all",headMetaDescKeywords:Xe==="all"}:Xe||{};Ti();var Gr,Tn=0,wn=function(ze){var At=!0,He=!1,jt=void 0;try{for(var An=(Zt||[])[Symbol.iterator](),vi;!(At=(vi=An.next()).done);At=!0){var _i=vi.value;_i.eventProcessor&&(ze=_i.eventProcessor(ze))}}catch(ps){He=!0,jt=ps}finally{try{!At&&An.return!=null&&An.return()}finally{if(He)throw jt}}return Je&&!br&&(ze=Je(ze)),ze};dt=function(ze,At){var He;if(((He=Yt[0])===null||He===void 0?void 0:He.isFrozen())&&ze.type!==We.FullSnapshot&&!(ze.type===We.IncrementalSnapshot&&ze.data.source===Ke.Mutation)&&Yt.forEach(function(_i){return _i.unfreeze()}),yr)t==null||t(wn(ze),At);else if(br){var jt={type:"rrweb",event:wn(ze),origin:window.location.origin,isCheckout:At};window.parent.postMessage(jt,"*")}if(ze.type===We.FullSnapshot)Gr=ze,Tn=0;else if(ze.type===We.IncrementalSnapshot){if(ze.data.source===Ke.Mutation&&ze.data.isAttachIframe)return;Tn++;var An=n&&Tn>=n,vi=r&&ze.timestamp-Gr.timestamp>r;(An||vi)&&oi(!0)}};var Sr=function(ze){dt(ht({type:We.IncrementalSnapshot,data:Object.assign({source:Ke.Mutation},ze)}))},In=function(ze){return dt(ht({type:We.IncrementalSnapshot,data:Object.assign({source:Ke.Scroll},ze)}))},hi=function(ze){return dt(ht({type:We.IncrementalSnapshot,data:Object.assign({source:Ke.CanvasMutation},ze)}))},ds=function(ze){return dt(ht({type:We.IncrementalSnapshot,data:Object.assign({source:Ke.AdoptedStyleSheet},ze)}))},Hr=new ao({mutationCb:Sr,adoptedStyleSheetCb:ds}),Wr=typeof __RRWEB_EXCLUDE_IFRAME__=="boolean"&&__RRWEB_EXCLUDE_IFRAME__?new Re:new Me({mirror:Bt,mutationCb:Sr,stylesheetManager:Hr,recordCrossOriginIframes:Ot,wrappedEmit:dt}),ca=!0,Va=!1,Za=void 0;try{for(var la=(Zt||[])[Symbol.iterator](),Ka;!(ca=(Ka=la.next()).done);ca=!0){var Xa=Ka.value;Xa.getMirror&&Xa.getMirror({nodeMirror:Bt,crossOriginIframeMirror:Wr.crossOriginIframeMirror,crossOriginIframeStyleMirror:Wr.crossOriginIframeStyleMirror})}}catch(ze){Va=!0,Za=ze}finally{try{!ca&&la.return!=null&&la.return()}finally{if(Va)throw Za}}var fa=new oo;Bi=typeof __RRWEB_EXCLUDE_CANVAS__=="boolean"&&__RRWEB_EXCLUDE_CANVAS__?new no:new io({recordCanvas:Et,mutationCb:hi,win:window,blockClass:j,blockSelector:V,unblockSelector:te,mirror:Bt,sampling:ft.canvas,dataURLOptions:pt});var gi=typeof __RRWEB_EXCLUDE_SHADOW_DOM__=="boolean"&&__RRWEB_EXCLUDE_SHADOW_DOM__?new ke:new Qe({mutationCb:Sr,scrollCb:In,bypassOptions:{onMutation:_r,blockClass:j,blockSelector:V,unblockSelector:te,maskAllText:me,maskTextClass:he,unmaskTextClass:Te,maskTextSelector:Ae,unmaskTextSelector:xe,inlineStylesheet:Ne,maskInputOptions:cr,dataURLOptions:pt,maskAttributeFn:Fe,maskTextFn:qe,maskInputFn:lt,recordCanvas:Et,inlineImages:Vt,sampling:ft,slimDOMOptions:Tt,iframeManager:Wr,stylesheetManager:Hr,canvasManager:Bi,keepIframeSrcFn:vr,processedNodeManager:fa},mirror:Bt});oi=function(){var ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;dt(ht({type:We.Meta,data:{href:window.location.href,width:fn(),height:Gn()}}),ze),Hr.reset(),gi.init(),Yt.forEach(function(He){return He.lock()});var At=Ln(document,{mirror:Bt,blockClass:j,blockSelector:V,unblockSelector:te,maskAllText:me,maskTextClass:he,unmaskTextClass:Te,maskTextSelector:Ae,unmaskTextSelector:xe,inlineStylesheet:Ne,maskAllInputs:cr,maskAttributeFn:Fe,maskInputFn:lt,maskTextFn:qe,slimDOM:Tt,dataURLOptions:pt,recordCanvas:Et,inlineImages:Vt,onSerialize:function(He){Wn(He,Bt)&&Wr.addIframe(He),Yn(He,Bt)&&Hr.trackLinkElement(He),mn(He)&&gi.addShadowRoot(He.shadowRoot,document)},onIframeLoad:function(He,jt){Wr.attachIframe(He,jt),gi.observeAttachShadow(He)},onStylesheetLoad:function(He,jt){Hr.attachLinkElement(He,jt)},keepIframeSrcFn:vr});if(!At)return console.warn("Failed to snapshot the document");dt(ht({type:We.FullSnapshot,data:{node:At,initialOffset:Fn(window)}}),ze),Yt.forEach(function(He){return He.unlock()}),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Hr.adoptStyleSheets(document.adoptedStyleSheets,Bt.getId(document))};try{var Cn=[],Qa=function(ze){var At;return Ve(ie)({onMutation:_r,mutationCb:Sr,mousemoveCb:function(He,jt){return dt(ht({type:We.IncrementalSnapshot,data:{source:jt,positions:He}}))},mouseInteractionCb:function(He){return dt(ht({type:We.IncrementalSnapshot,data:Object.assign({source:Ke.MouseInteraction},He)}))},scrollCb:In,viewportResizeCb:function(He){return dt(ht({type:We.IncrementalSnapshot,data:Object.assign({source:Ke.ViewportResize},He)}))},inputCb:function(He){return dt(ht({type:We.IncrementalSnapshot,data:Object.assign({source:Ke.Input},He)}))},mediaInteractionCb:function(He){return dt(ht({type:We.IncrementalSnapshot,data:Object.assign({source:Ke.MediaInteraction},He)}))},styleSheetRuleCb:function(He){return dt(ht({type:We.IncrementalSnapshot,data:Object.assign({source:Ke.StyleSheetRule},He)}))},styleDeclarationCb:function(He){return dt(ht({type:We.IncrementalSnapshot,data:Object.assign({source:Ke.StyleDeclaration},He)}))},canvasMutationCb:hi,fontCb:function(He){return dt(ht({type:We.IncrementalSnapshot,data:Object.assign({source:Ke.Font},He)}))},selectionCb:function(He){dt(ht({type:We.IncrementalSnapshot,data:Object.assign({source:Ke.Selection},He)}))},customElementCb:function(He){dt(ht({type:We.IncrementalSnapshot,data:Object.assign({source:Ke.CustomElement},He)}))},blockClass:j,ignoreClass:de,ignoreSelector:le,maskAllText:me,maskTextClass:he,unmaskTextClass:Te,maskTextSelector:Ae,unmaskTextSelector:xe,maskInputOptions:cr,inlineStylesheet:Ne,sampling:ft,recordCanvas:Et,inlineImages:Vt,userTriggeredOnInput:ur,collectFonts:Mt,doc:ze,maskAttributeFn:Fe,maskInputFn:lt,maskTextFn:qe,keepIframeSrcFn:vr,blockSelector:V,unblockSelector:te,slimDOMOptions:Tt,dataURLOptions:pt,mirror:Bt,iframeManager:Wr,stylesheetManager:Hr,shadowDomManager:gi,processedNodeManager:fa,canvasManager:Bi,ignoreCSSAttributes:rn,plugins:((At=Zt==null?void 0:Zt.filter(function(He){return He.observer}))===null||At===void 0?void 0:At.map(function(He){return{observer:He.observer,options:He.options,callback:function(jt){return dt(ht({type:We.Plugin,data:{plugin:He.name,payload:jt}}))}}}))||[]},je)};Wr.addLoadListener(function(ze){try{Cn.push(Qa(ze.contentDocument))}catch(At){console.warn(At)}});var da=function(){oi(),Cn.push(Qa(document)),ui=!0};return document.readyState==="interactive"||document.readyState==="complete"?da():(Cn.push(vt("DOMContentLoaded",function(){dt(ht({type:We.DomContentLoaded,data:{}})),Pt==="DOMContentLoaded"&&da()})),Cn.push(vt("load",function(){dt(ht({type:We.Load,data:{}})),Pt==="load"&&da()},window))),function(){Cn.forEach(function(ze){return ze()}),fa.destroy(),ui=!1,Xn()}}catch(ze){console.warn(ze)}}rr.addCustomEvent=function(e,t){if(!ui)throw new Error("please add custom event after start recording");dt(ht({type:We.Custom,data:{tag:e,payload:t}}))},rr.freezePage=function(){Yt.forEach(function(e){return e.freeze()})},rr.takeFullSnapshot=function(e){if(!ui)throw new Error("please take full snapshot after start recording");oi(e)},rr.mirror=Bt;function Li(e){var t=e>9999999999;return t?e:e*1e3}function uo(e){var t=e>9999999999;return t?e/1e3:e}function si(e,t){t.category!=="sentry.transaction"&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(function(){return e.throttledAddEvent({type:We.Custom,timestamp:(t.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:(0,v.normalize)(t,10,1e3)}}),t.category==="console"}))}var so="button,a";function Fi(e){var t=ma(e);if(!t||!g(t,Element))return t;var r=t.closest(so);return r||t}function ma(e){return co(e)?e.target:e}function co(e){return typeof e=="object"&&!!e&&"target"in e}var mr;function lo(e){return mr||(mr=[],fo()),mr.push(e),function(){var t=mr?mr.indexOf(e):-1;t>-1&&mr.splice(t,1)}}function fo(){(0,v.fill)(Z,"open",function(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];if(mr)try{mr.forEach(function(E){return E()})}catch(E){}return e.apply(Z,r)}})}function po(e,t,r){e.handleClick(t,r)}var mo=function(){"use strict";function e(r,n){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:si;N(this,e),this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=n.timeout/1e3,this._threshold=n.threshold/1e3,this._scollTimeout=n.scrollTimeout/1e3,this._replay=r,this._ignoreSelector=n.ignoreSelector,this._addBreadcrumbEvent=E}var t=e.prototype;return t.addListeners=function(){var n=this,E=function(){n._lastMutation=ci()},j=function(){n._lastScroll=ci()},J=lo(function(){n._lastMutation=ci()}),V=function(te){if(!!te.target){var oe=Fi(te);oe&&n._handleMultiClick(oe)}},Q=new MutationObserver(E);Q.observe(Z.document.documentElement,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),Z.addEventListener("scroll",j,{passive:!0}),Z.addEventListener("click",V,{passive:!0}),this._teardown=function(){Z.removeEventListener("scroll",j),Z.removeEventListener("click",V),J(),Q.disconnect(),n._clicks=[],n._lastMutation=0,n._lastScroll=0}},t.removeListeners=function(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)},t.handleClick=function(n,E){if(!(go(E,this._ignoreSelector)||!vo(n))){var j={timestamp:uo(n.timestamp),clickBreadcrumb:n,clickCount:0,node:E};this._clicks.some(function(J){return J.node===j.node&&Math.abs(J.timestamp-j.timestamp)<1})||(this._clicks.push(j),this._clicks.length===1&&this._scheduleCheckClicks())}},t._handleMultiClick=function(n){this._getClicks(n).forEach(function(E){E.clickCount++})},t._getClicks=function(n){return this._clicks.filter(function(E){return E.node===n})},t._checkClicks=function(){var n=this,E=[],j=ci();this._clicks.forEach(function(le){!le.mutationAfter&&n._lastMutation&&(le.mutationAfter=le.timestamp<=n._lastMutation?n._lastMutation-le.timestamp:void 0),!le.scrollAfter&&n._lastScroll&&(le.scrollAfter=le.timestamp<=n._lastScroll?n._lastScroll-le.timestamp:void 0),le.timestamp+n._timeout<=j&&E.push(le)});var J=!0,V=!1,Q=void 0;try{for(var te=E[Symbol.iterator](),oe;!(J=(oe=te.next()).done);J=!0){var de=oe.value,ue=this._clicks.indexOf(de);ue>-1&&(this._generateBreadcrumbs(de),this._clicks.splice(ue,1))}}catch(le){V=!0,Q=le}finally{try{!J&&te.return!=null&&te.return()}finally{if(V)throw Q}}this._clicks.length&&this._scheduleCheckClicks()},t._generateBreadcrumbs=function(n){var E=this._replay,j=n.scrollAfter&&n.scrollAfter<=this._scollTimeout,J=n.mutationAfter&&n.mutationAfter<=this._threshold,V=!j&&!J,Q=n.clickCount,te=n.clickBreadcrumb;if(V){var oe=Math.min(n.mutationAfter||this._timeout,this._timeout)*1e3,de=oe<this._timeout*1e3?"mutation":"timeout",ue={type:"default",message:te.message,timestamp:te.timestamp,category:"ui.slowClickDetected",data:p(l({},te.data),{url:Z.location.href,route:E.getCurrentRoute(),timeAfterClickMs:oe,endReason:de,clickCount:Q||1})};this._addBreadcrumbEvent(E,ue);return}if(Q>1){var le={type:"default",message:te.message,timestamp:te.timestamp,category:"ui.multiClick",data:p(l({},te.data),{url:Z.location.href,route:E.getCurrentRoute(),clickCount:Q,metric:!0})};this._addBreadcrumbEvent(E,le)}},t._scheduleCheckClicks=function(){var n=this;this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=setTimeout(function(){return n._checkClicks()},1e3)},e}(),ho=["A","BUTTON","INPUT"];function go(e,t){return!!(!ho.includes(e.tagName)||e.tagName==="INPUT"&&!["submit","button"].includes(e.getAttribute("type")||"")||e.tagName==="A"&&(e.hasAttribute("download")||e.hasAttribute("target")&&e.getAttribute("target")!=="_self")||t&&e.matches(t))}function vo(e){return!!(e.data&&typeof e.data.nodeId=="number"&&e.timestamp)}function ci(){return Date.now()/1e3}function nr(e){return l({timestamp:Date.now()/1e3,type:"default"},e)}var li;(function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"})(li||(li={}));var _o=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled"]);function yo(e){var t={};for(var r in e)if(_o.has(r)){var n=r;(r==="data-testid"||r==="data-test-id")&&(n="testId"),t[n]=e[r]}return t}var bo=function(e){return function(t){if(!!e.isEnabled()){var r=So(t);if(!!r){var n=t.name==="click",E=n&&t.event;n&&e.clickDetector&&E&&!E.altKey&&!E.metaKey&&!E.ctrlKey&&!E.shiftKey&&po(e.clickDetector,r,Fi(t.event)),si(e,r)}}}};function ha(e,t){var r=rr.mirror.getId(e),n=r&&rr.mirror.getNode(r),E=n&&rr.mirror.getMeta(n),j=E&&Oo(E)?E:null;return{message:t,data:j?{nodeId:r,node:{id:r,tagName:j.tagName,textContent:Array.from(j.childNodes).map(function(J){return J.type===li.Text&&J.textContent}).filter(Boolean).map(function(J){return J.trim()}).join(""),attributes:yo(j.attributes)}}:{}}}function So(e){var t=Eo(e),r=t.target,n=t.message;return nr(l({category:"ui.".concat(e.name)},ha(r,n)))}function Eo(e){var t=e.name==="click",r,n=null;try{n=t?Fi(e.event):ma(e.event),r=(0,v.htmlTreeAsString)(n,{maxStringLength:200})||"<unknown>"}catch(E){r="<unknown>"}return{target:n,message:r}}function Oo(e){return e.type===li.Element}function To(e,t){if(!!e.isEnabled()){e.updateUserActivity();var r=wo(t);!r||si(e,r)}}function wo(e){var t=e.metaKey,r=e.shiftKey,n=e.ctrlKey,E=e.altKey,j=e.key,J=e.target;if(!J||Io(J)||!j)return null;var V=t||n||E,Q=j.length===1;if(!V&&Q)return null;var te=(0,v.htmlTreeAsString)(J,{maxStringLength:200})||"<unknown>",oe=ha(J,te);return nr({category:"ui.keyDown",message:te,data:p(l({},oe.data),{metaKey:t,shiftKey:r,ctrlKey:n,altKey:E,key:j})})}function Io(e){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable}var ga={resource:Do,paint:Ro,navigation:Po};function Co(e){return e.map(Ao).filter(Boolean)}function Ao(e){return ga[e.entryType]?ga[e.entryType](e):null}function $r(e){return((v.browserPerformanceTimeOrigin||Z.performance.timeOrigin)+e)/1e3}function Ro(e){var t=e.duration,r=e.entryType,n=e.name,E=e.startTime,j=$r(E);return{type:r,name:n,start:j,end:j+t,data:void 0}}function Po(e){var t=e.entryType,r=e.name,n=e.decodedBodySize,E=e.duration,j=e.domComplete,J=e.encodedBodySize,V=e.domContentLoadedEventStart,Q=e.domContentLoadedEventEnd,te=e.domInteractive,oe=e.loadEventStart,de=e.loadEventEnd,ue=e.redirectCount,le=e.startTime,Se=e.transferSize,me=e.type;return E===0?null:{type:"".concat(t,".").concat(me),start:$r(le),end:$r(j),name:r,data:{size:Se,decodedBodySize:n,encodedBodySize:J,duration:E,domInteractive:te,domContentLoadedEventStart:V,domContentLoadedEventEnd:Q,loadEventStart:oe,loadEventEnd:de,domComplete:j,redirectCount:ue}}}function Do(e){var t=e.entryType,r=e.initiatorType,n=e.name,E=e.responseEnd,j=e.startTime,J=e.decodedBodySize,V=e.encodedBodySize,Q=e.responseStatus,te=e.transferSize;return["fetch","xmlhttprequest"].includes(r)?null:{type:"".concat(t,".").concat(r),start:$r(j),end:$r(E),name:n,data:{size:te,statusCode:Q,decodedBodySize:J,encodedBodySize:V}}}function ko(e){var t=e.entries,r=t[t.length-1],n=r?r.element:void 0,E=e.value,j=$r(E),J={type:"largest-contentful-paint",name:"largest-contentful-paint",start:j,end:j,data:{value:E,size:E,nodeId:n?rr.mirror.getId(n):void 0}};return J}function No(e){var t=function(j){e.performanceEntries.includes(j)||e.performanceEntries.push(j)},r=function(j){var J=j.entries;J.forEach(t)},n=[];return["navigation","paint","resource"].forEach(function(E){n.push((0,k.addPerformanceInstrumentationHandler)(E,r))}),n.push((0,k.addLcpInstrumentationHandler)(function(E){var j=E.metric;e.replayPerformanceEntries.push(ko(j))})),function(){n.forEach(function(E){return E()})}}var xo='var t={},e={};function a(t){let e=t.length;for(;--e>=0;)t[e]=0}const s=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),r=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),n=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),i=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),_=new Array(576);a(_);const l=new Array(60);a(l);const h=new Array(512);a(h);const o=new Array(256);a(o);const d=new Array(29);a(d);const u=new Array(30);function f(t,e,a,s,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=s,this.max_length=r,this.has_stree=t&&t.length}let c,p,g;function w(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}a(u);const m=t=>t<256?h[t]:h[256+(t>>>7)],b=(t,e)=>{t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},y=(t,e,a)=>{t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,b(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},v=(t,e,a)=>{y(t,a[2*e],a[2*e+1])},z=(t,e)=>{let a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},k=(t,e,a)=>{const s=new Array(16);let r,n,i=0;for(r=1;r<=15;r++)i=i+a[r-1]<<1,s[r]=i;for(n=0;n<=e;n++){let e=t[2*n+1];0!==e&&(t[2*n]=z(s[e]++,e))}},x=t=>{let e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},A=t=>{t.bi_valid>8?b(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},E=(t,e,a,s)=>{const r=2*e,n=2*a;return t[r]<t[n]||t[r]===t[n]&&s[e]<=s[a]},Z=(t,e,a)=>{const s=t.heap[a];let r=a<<1;for(;r<=t.heap_len&&(r<t.heap_len&&E(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!E(e,s,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=s},S=(t,e,a)=>{let n,i,_,l,h=0;if(0!==t.sym_next)do{n=255&t.pending_buf[t.sym_buf+h++],n+=(255&t.pending_buf[t.sym_buf+h++])<<8,i=t.pending_buf[t.sym_buf+h++],0===n?v(t,i,e):(_=o[i],v(t,_+256+1,e),l=s[_],0!==l&&(i-=d[_],y(t,i,l)),n--,_=m(n),v(t,_,a),l=r[_],0!==l&&(n-=u[_],y(t,n,l)))}while(h<t.sym_next);v(t,256,e)},U=(t,e)=>{const a=e.dyn_tree,s=e.stat_desc.static_tree,r=e.stat_desc.has_stree,n=e.stat_desc.elems;let i,_,l,h=-1;for(t.heap_len=0,t.heap_max=573,i=0;i<n;i++)0!==a[2*i]?(t.heap[++t.heap_len]=h=i,t.depth[i]=0):a[2*i+1]=0;for(;t.heap_len<2;)l=t.heap[++t.heap_len]=h<2?++h:0,a[2*l]=1,t.depth[l]=0,t.opt_len--,r&&(t.static_len-=s[2*l+1]);for(e.max_code=h,i=t.heap_len>>1;i>=1;i--)Z(t,a,i);l=n;do{i=t.heap[1],t.heap[1]=t.heap[t.heap_len--],Z(t,a,1),_=t.heap[1],t.heap[--t.heap_max]=i,t.heap[--t.heap_max]=_,a[2*l]=a[2*i]+a[2*_],t.depth[l]=(t.depth[i]>=t.depth[_]?t.depth[i]:t.depth[_])+1,a[2*i+1]=a[2*_+1]=l,t.heap[1]=l++,Z(t,a,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],((t,e)=>{const a=e.dyn_tree,s=e.max_code,r=e.stat_desc.static_tree,n=e.stat_desc.has_stree,i=e.stat_desc.extra_bits,_=e.stat_desc.extra_base,l=e.stat_desc.max_length;let h,o,d,u,f,c,p=0;for(u=0;u<=15;u++)t.bl_count[u]=0;for(a[2*t.heap[t.heap_max]+1]=0,h=t.heap_max+1;h<573;h++)o=t.heap[h],u=a[2*a[2*o+1]+1]+1,u>l&&(u=l,p++),a[2*o+1]=u,o>s||(t.bl_count[u]++,f=0,o>=_&&(f=i[o-_]),c=a[2*o],t.opt_len+=c*(u+f),n&&(t.static_len+=c*(r[2*o+1]+f)));if(0!==p){do{for(u=l-1;0===t.bl_count[u];)u--;t.bl_count[u]--,t.bl_count[u+1]+=2,t.bl_count[l]--,p-=2}while(p>0);for(u=l;0!==u;u--)for(o=t.bl_count[u];0!==o;)d=t.heap[--h],d>s||(a[2*d+1]!==u&&(t.opt_len+=(u-a[2*d+1])*a[2*d],a[2*d+1]=u),o--)}})(t,e),k(a,h,t.bl_count)},R=(t,e,a)=>{let s,r,n=-1,i=e[1],_=0,l=7,h=4;for(0===i&&(l=138,h=3),e[2*(a+1)+1]=65535,s=0;s<=a;s++)r=i,i=e[2*(s+1)+1],++_<l&&r===i||(_<h?t.bl_tree[2*r]+=_:0!==r?(r!==n&&t.bl_tree[2*r]++,t.bl_tree[32]++):_<=10?t.bl_tree[34]++:t.bl_tree[36]++,_=0,n=r,0===i?(l=138,h=3):r===i?(l=6,h=3):(l=7,h=4))},L=(t,e,a)=>{let s,r,n=-1,i=e[1],_=0,l=7,h=4;for(0===i&&(l=138,h=3),s=0;s<=a;s++)if(r=i,i=e[2*(s+1)+1],!(++_<l&&r===i)){if(_<h)do{v(t,r,t.bl_tree)}while(0!=--_);else 0!==r?(r!==n&&(v(t,r,t.bl_tree),_--),v(t,16,t.bl_tree),y(t,_-3,2)):_<=10?(v(t,17,t.bl_tree),y(t,_-3,3)):(v(t,18,t.bl_tree),y(t,_-11,7));_=0,n=r,0===i?(l=138,h=3):r===i?(l=6,h=3):(l=7,h=4)}};let T=!1;const F=(t,e,a,s)=>{y(t,0+(s?1:0),3),A(t),b(t,a),b(t,~a),a&&t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a};e._tr_init=t=>{T||((()=>{let t,e,a,i,w;const m=new Array(16);for(a=0,i=0;i<28;i++)for(d[i]=a,t=0;t<1<<s[i];t++)o[a++]=i;for(o[a-1]=i,w=0,i=0;i<16;i++)for(u[i]=w,t=0;t<1<<r[i];t++)h[w++]=i;for(w>>=7;i<30;i++)for(u[i]=w<<7,t=0;t<1<<r[i]-7;t++)h[256+w++]=i;for(e=0;e<=15;e++)m[e]=0;for(t=0;t<=143;)_[2*t+1]=8,t++,m[8]++;for(;t<=255;)_[2*t+1]=9,t++,m[9]++;for(;t<=279;)_[2*t+1]=7,t++,m[7]++;for(;t<=287;)_[2*t+1]=8,t++,m[8]++;for(k(_,287,m),t=0;t<30;t++)l[2*t+1]=5,l[2*t]=z(t,5);c=new f(_,s,257,286,15),p=new f(l,r,0,30,15),g=new f(new Array(0),n,0,19,7)})(),T=!0),t.l_desc=new w(t.dyn_ltree,c),t.d_desc=new w(t.dyn_dtree,p),t.bl_desc=new w(t.bl_tree,g),t.bi_buf=0,t.bi_valid=0,x(t)},e._tr_stored_block=F,e._tr_flush_block=(t,e,a,s)=>{let r,n,h=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=(t=>{let e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0})(t)),U(t,t.l_desc),U(t,t.d_desc),h=(t=>{let e;for(R(t,t.dyn_ltree,t.l_desc.max_code),R(t,t.dyn_dtree,t.d_desc.max_code),U(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*i[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e})(t),r=t.opt_len+3+7>>>3,n=t.static_len+3+7>>>3,n<=r&&(r=n)):r=n=a+5,a+4<=r&&-1!==e?F(t,e,a,s):4===t.strategy||n===r?(y(t,2+(s?1:0),3),S(t,_,l)):(y(t,4+(s?1:0),3),((t,e,a,s)=>{let r;for(y(t,e-257,5),y(t,a-1,5),y(t,s-4,4),r=0;r<s;r++)y(t,t.bl_tree[2*i[r]+1],3);L(t,t.dyn_ltree,e-1),L(t,t.dyn_dtree,a-1)})(t,t.l_desc.max_code+1,t.d_desc.max_code+1,h+1),S(t,t.dyn_ltree,t.dyn_dtree)),x(t),s&&A(t)},e._tr_tally=(t,e,a)=>(t.pending_buf[t.sym_buf+t.sym_next++]=e,t.pending_buf[t.sym_buf+t.sym_next++]=e>>8,t.pending_buf[t.sym_buf+t.sym_next++]=a,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(o[a]+256+1)]++,t.dyn_dtree[2*m(e)]++),t.sym_next===t.sym_end),e._tr_align=t=>{y(t,2,3),v(t,256,_),(t=>{16===t.bi_valid?(b(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)})(t)};var O=(t,e,a,s)=>{let r=65535&t|0,n=t>>>16&65535|0,i=0;for(;0!==a;){i=a>2e3?2e3:a,a-=i;do{r=r+e[s++]|0,n=n+r|0}while(--i);r%=65521,n%=65521}return r|n<<16|0};const D=new Uint32Array((()=>{let t,e=[];for(var a=0;a<256;a++){t=a;for(var s=0;s<8;s++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e})());var N=(t,e,a,s)=>{const r=D,n=s+a;t^=-1;for(let a=s;a<n;a++)t=t>>>8^r[255&(t^e[a])];return-1^t},C={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},I={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:H,_tr_stored_block:B,_tr_flush_block:M,_tr_tally:P,_tr_align:Y}=e,K=O,j=N,G=C,{Z_NO_FLUSH:X,Z_PARTIAL_FLUSH:W,Z_FULL_FLUSH:q,Z_FINISH:J,Z_BLOCK:Q,Z_OK:V,Z_STREAM_END:$,Z_STREAM_ERROR:tt,Z_DATA_ERROR:et,Z_BUF_ERROR:at,Z_DEFAULT_COMPRESSION:st,Z_FILTERED:rt,Z_HUFFMAN_ONLY:nt,Z_RLE:it,Z_FIXED:_t,Z_DEFAULT_STRATEGY:lt,Z_UNKNOWN:ht,Z_DEFLATED:ot}=I,dt=(t,e)=>(t.msg=G[e],e),ut=t=>2*t-(t>4?9:0),ft=t=>{let e=t.length;for(;--e>=0;)t[e]=0},ct=t=>{let e,a,s,r=t.w_size;e=t.hash_size,s=e;do{a=t.head[--s],t.head[s]=a>=r?a-r:0}while(--e);e=r,s=e;do{a=t.prev[--s],t.prev[s]=a>=r?a-r:0}while(--e)};let pt=(t,e,a)=>(e<<t.hash_shift^a)&t.hash_mask;const gt=t=>{const e=t.state;let a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},wt=(t,e)=>{M(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,gt(t.strm)},mt=(t,e)=>{t.pending_buf[t.pending++]=e},bt=(t,e)=>{t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},yt=(t,e,a,s)=>{let r=t.avail_in;return r>s&&(r=s),0===r?0:(t.avail_in-=r,e.set(t.input.subarray(t.next_in,t.next_in+r),a),1===t.state.wrap?t.adler=K(t.adler,e,r,a):2===t.state.wrap&&(t.adler=j(t.adler,e,r,a)),t.next_in+=r,t.total_in+=r,r)},vt=(t,e)=>{let a,s,r=t.max_chain_length,n=t.strstart,i=t.prev_length,_=t.nice_match;const l=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,h=t.window,o=t.w_mask,d=t.prev,u=t.strstart+258;let f=h[n+i-1],c=h[n+i];t.prev_length>=t.good_match&&(r>>=2),_>t.lookahead&&(_=t.lookahead);do{if(a=e,h[a+i]===c&&h[a+i-1]===f&&h[a]===h[n]&&h[++a]===h[n+1]){n+=2,a++;do{}while(h[++n]===h[++a]&&h[++n]===h[++a]&&h[++n]===h[++a]&&h[++n]===h[++a]&&h[++n]===h[++a]&&h[++n]===h[++a]&&h[++n]===h[++a]&&h[++n]===h[++a]&&n<u);if(s=258-(u-n),n=u-258,s>i){if(t.match_start=e,i=s,s>=_)break;f=h[n+i-1],c=h[n+i]}}}while((e=d[e&o])>l&&0!=--r);return i<=t.lookahead?i:t.lookahead},zt=t=>{const e=t.w_size;let a,s,r;do{if(s=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-262)&&(t.window.set(t.window.subarray(e,e+e-s),0),t.match_start-=e,t.strstart-=e,t.block_start-=e,t.insert>t.strstart&&(t.insert=t.strstart),ct(t),s+=e),0===t.strm.avail_in)break;if(a=yt(t.strm,t.window,t.strstart+t.lookahead,s),t.lookahead+=a,t.lookahead+t.insert>=3)for(r=t.strstart-t.insert,t.ins_h=t.window[r],t.ins_h=pt(t,t.ins_h,t.window[r+1]);t.insert&&(t.ins_h=pt(t,t.ins_h,t.window[r+3-1]),t.prev[r&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=r,r++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)},kt=(t,e)=>{let a,s,r,n=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,i=0,_=t.strm.avail_in;do{if(a=65535,r=t.bi_valid+42>>3,t.strm.avail_out<r)break;if(r=t.strm.avail_out-r,s=t.strstart-t.block_start,a>s+t.strm.avail_in&&(a=s+t.strm.avail_in),a>r&&(a=r),a<n&&(0===a&&e!==J||e===X||a!==s+t.strm.avail_in))break;i=e===J&&a===s+t.strm.avail_in?1:0,B(t,0,0,i),t.pending_buf[t.pending-4]=a,t.pending_buf[t.pending-3]=a>>8,t.pending_buf[t.pending-2]=~a,t.pending_buf[t.pending-1]=~a>>8,gt(t.strm),s&&(s>a&&(s=a),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+s),t.strm.next_out),t.strm.next_out+=s,t.strm.avail_out-=s,t.strm.total_out+=s,t.block_start+=s,a-=s),a&&(yt(t.strm,t.strm.output,t.strm.next_out,a),t.strm.next_out+=a,t.strm.avail_out-=a,t.strm.total_out+=a)}while(0===i);return _-=t.strm.avail_in,_&&(_>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=_&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-_,t.strm.next_in),t.strstart),t.strstart+=_,t.insert+=_>t.w_size-t.insert?t.w_size-t.insert:_),t.block_start=t.strstart),t.high_water<t.strstart&&(t.high_water=t.strstart),i?4:e!==X&&e!==J&&0===t.strm.avail_in&&t.strstart===t.block_start?2:(r=t.window_size-t.strstart,t.strm.avail_in>r&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,r+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),r>t.strm.avail_in&&(r=t.strm.avail_in),r&&(yt(t.strm,t.window,t.strstart,r),t.strstart+=r,t.insert+=r>t.w_size-t.insert?t.w_size-t.insert:r),t.high_water<t.strstart&&(t.high_water=t.strstart),r=t.bi_valid+42>>3,r=t.pending_buf_size-r>65535?65535:t.pending_buf_size-r,n=r>t.w_size?t.w_size:r,s=t.strstart-t.block_start,(s>=n||(s||e===J)&&e!==X&&0===t.strm.avail_in&&s<=r)&&(a=s>r?r:s,i=e===J&&0===t.strm.avail_in&&a===s?1:0,B(t,t.block_start,a,i),t.block_start+=a,gt(t.strm)),i?3:1)},xt=(t,e)=>{let a,s;for(;;){if(t.lookahead<262){if(zt(t),t.lookahead<262&&e===X)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=pt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-262&&(t.match_length=vt(t,a)),t.match_length>=3)if(s=P(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=pt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=pt(t,t.ins_h,t.window[t.strstart+1]);else s=P(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(s&&(wt(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===J?(wt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(wt(t,!1),0===t.strm.avail_out)?1:2},At=(t,e)=>{let a,s,r;for(;;){if(t.lookahead<262){if(zt(t),t.lookahead<262&&e===X)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=pt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-262&&(t.match_length=vt(t,a),t.match_length<=5&&(t.strategy===rt||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,s=P(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=pt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,s&&(wt(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if(s=P(t,0,t.window[t.strstart-1]),s&&wt(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(s=P(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===J?(wt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(wt(t,!1),0===t.strm.avail_out)?1:2};function Et(t,e,a,s,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=s,this.func=r}const Zt=[new Et(0,0,0,0,kt),new Et(4,4,8,4,xt),new Et(4,5,16,8,xt),new Et(4,6,32,32,xt),new Et(4,4,16,16,At),new Et(8,16,32,32,At),new Et(8,16,128,128,At),new Et(8,32,128,256,At),new Et(32,128,258,1024,At),new Et(32,258,258,4096,At)];function St(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ot,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),ft(this.dyn_ltree),ft(this.dyn_dtree),ft(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),ft(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),ft(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Ut=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||42!==e.status&&57!==e.status&&69!==e.status&&73!==e.status&&91!==e.status&&103!==e.status&&113!==e.status&&666!==e.status?1:0},Rt=t=>{if(Ut(t))return dt(t,tt);t.total_in=t.total_out=0,t.data_type=ht;const e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=2===e.wrap?57:e.wrap?42:113,t.adler=2===e.wrap?0:1,e.last_flush=-2,H(e),V},Lt=t=>{const e=Rt(t);var a;return e===V&&((a=t.state).window_size=2*a.w_size,ft(a.head),a.max_lazy_match=Zt[a.level].max_lazy,a.good_match=Zt[a.level].good_length,a.nice_match=Zt[a.level].nice_length,a.max_chain_length=Zt[a.level].max_chain,a.strstart=0,a.block_start=0,a.lookahead=0,a.insert=0,a.match_length=a.prev_length=2,a.match_available=0,a.ins_h=0),e},Tt=(t,e,a,s,r,n)=>{if(!t)return tt;let i=1;if(e===st&&(e=6),s<0?(i=0,s=-s):s>15&&(i=2,s-=16),r<1||r>9||a!==ot||s<8||s>15||e<0||e>9||n<0||n>_t||8===s&&1!==i)return dt(t,tt);8===s&&(s=9);const _=new St;return t.state=_,_.strm=t,_.status=42,_.wrap=i,_.gzhead=null,_.w_bits=s,_.w_size=1<<_.w_bits,_.w_mask=_.w_size-1,_.hash_bits=r+7,_.hash_size=1<<_.hash_bits,_.hash_mask=_.hash_size-1,_.hash_shift=~~((_.hash_bits+3-1)/3),_.window=new Uint8Array(2*_.w_size),_.head=new Uint16Array(_.hash_size),_.prev=new Uint16Array(_.w_size),_.lit_bufsize=1<<r+6,_.pending_buf_size=4*_.lit_bufsize,_.pending_buf=new Uint8Array(_.pending_buf_size),_.sym_buf=_.lit_bufsize,_.sym_end=3*(_.lit_bufsize-1),_.level=e,_.strategy=n,_.method=a,Lt(t)};t.deflateInit=(t,e)=>Tt(t,e,ot,15,8,lt),t.deflateInit2=Tt,t.deflateReset=Lt,t.deflateResetKeep=Rt,t.deflateSetHeader=(t,e)=>Ut(t)||2!==t.state.wrap?tt:(t.state.gzhead=e,V),t.deflate=(t,e)=>{if(Ut(t)||e>Q||e<0)return t?dt(t,tt):tt;const a=t.state;if(!t.output||0!==t.avail_in&&!t.input||666===a.status&&e!==J)return dt(t,0===t.avail_out?at:tt);const s=a.last_flush;if(a.last_flush=e,0!==a.pending){if(gt(t),0===t.avail_out)return a.last_flush=-1,V}else if(0===t.avail_in&&ut(e)<=ut(s)&&e!==J)return dt(t,at);if(666===a.status&&0!==t.avail_in)return dt(t,at);if(42===a.status&&0===a.wrap&&(a.status=113),42===a.status){let e=ot+(a.w_bits-8<<4)<<8,s=-1;if(s=a.strategy>=nt||a.level<2?0:a.level<6?1:6===a.level?2:3,e|=s<<6,0!==a.strstart&&(e|=32),e+=31-e%31,bt(a,e),0!==a.strstart&&(bt(a,t.adler>>>16),bt(a,65535&t.adler)),t.adler=1,a.status=113,gt(t),0!==a.pending)return a.last_flush=-1,V}if(57===a.status)if(t.adler=0,mt(a,31),mt(a,139),mt(a,8),a.gzhead)mt(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),mt(a,255&a.gzhead.time),mt(a,a.gzhead.time>>8&255),mt(a,a.gzhead.time>>16&255),mt(a,a.gzhead.time>>24&255),mt(a,9===a.level?2:a.strategy>=nt||a.level<2?4:0),mt(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(mt(a,255&a.gzhead.extra.length),mt(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(t.adler=j(t.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69;else if(mt(a,0),mt(a,0),mt(a,0),mt(a,0),mt(a,0),mt(a,9===a.level?2:a.strategy>=nt||a.level<2?4:0),mt(a,3),a.status=113,gt(t),0!==a.pending)return a.last_flush=-1,V;if(69===a.status){if(a.gzhead.extra){let e=a.pending,s=(65535&a.gzhead.extra.length)-a.gzindex;for(;a.pending+s>a.pending_buf_size;){let r=a.pending_buf_size-a.pending;if(a.pending_buf.set(a.gzhead.extra.subarray(a.gzindex,a.gzindex+r),a.pending),a.pending=a.pending_buf_size,a.gzhead.hcrc&&a.pending>e&&(t.adler=j(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex+=r,gt(t),0!==a.pending)return a.last_flush=-1,V;e=0,s-=r}let r=new Uint8Array(a.gzhead.extra);a.pending_buf.set(r.subarray(a.gzindex,a.gzindex+s),a.pending),a.pending+=s,a.gzhead.hcrc&&a.pending>e&&(t.adler=j(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex=0}a.status=73}if(73===a.status){if(a.gzhead.name){let e,s=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>s&&(t.adler=j(t.adler,a.pending_buf,a.pending-s,s)),gt(t),0!==a.pending)return a.last_flush=-1,V;s=0}e=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,mt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>s&&(t.adler=j(t.adler,a.pending_buf,a.pending-s,s)),a.gzindex=0}a.status=91}if(91===a.status){if(a.gzhead.comment){let e,s=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>s&&(t.adler=j(t.adler,a.pending_buf,a.pending-s,s)),gt(t),0!==a.pending)return a.last_flush=-1,V;s=0}e=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,mt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>s&&(t.adler=j(t.adler,a.pending_buf,a.pending-s,s))}a.status=103}if(103===a.status){if(a.gzhead.hcrc){if(a.pending+2>a.pending_buf_size&&(gt(t),0!==a.pending))return a.last_flush=-1,V;mt(a,255&t.adler),mt(a,t.adler>>8&255),t.adler=0}if(a.status=113,gt(t),0!==a.pending)return a.last_flush=-1,V}if(0!==t.avail_in||0!==a.lookahead||e!==X&&666!==a.status){let s=0===a.level?kt(a,e):a.strategy===nt?((t,e)=>{let a;for(;;){if(0===t.lookahead&&(zt(t),0===t.lookahead)){if(e===X)return 1;break}if(t.match_length=0,a=P(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(wt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===J?(wt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(wt(t,!1),0===t.strm.avail_out)?1:2})(a,e):a.strategy===it?((t,e)=>{let a,s,r,n;const i=t.window;for(;;){if(t.lookahead<=258){if(zt(t),t.lookahead<=258&&e===X)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(r=t.strstart-1,s=i[r],s===i[++r]&&s===i[++r]&&s===i[++r])){n=t.strstart+258;do{}while(s===i[++r]&&s===i[++r]&&s===i[++r]&&s===i[++r]&&s===i[++r]&&s===i[++r]&&s===i[++r]&&s===i[++r]&&r<n);t.match_length=258-(n-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=P(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=P(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(wt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===J?(wt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(wt(t,!1),0===t.strm.avail_out)?1:2})(a,e):Zt[a.level].func(a,e);if(3!==s&&4!==s||(a.status=666),1===s||3===s)return 0===t.avail_out&&(a.last_flush=-1),V;if(2===s&&(e===W?Y(a):e!==Q&&(B(a,0,0,!1),e===q&&(ft(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),gt(t),0===t.avail_out))return a.last_flush=-1,V}return e!==J?V:a.wrap<=0?$:(2===a.wrap?(mt(a,255&t.adler),mt(a,t.adler>>8&255),mt(a,t.adler>>16&255),mt(a,t.adler>>24&255),mt(a,255&t.total_in),mt(a,t.total_in>>8&255),mt(a,t.total_in>>16&255),mt(a,t.total_in>>24&255)):(bt(a,t.adler>>>16),bt(a,65535&t.adler)),gt(t),a.wrap>0&&(a.wrap=-a.wrap),0!==a.pending?V:$)},t.deflateEnd=t=>{if(Ut(t))return tt;const e=t.state.status;return t.state=null,113===e?dt(t,et):V},t.deflateSetDictionary=(t,e)=>{let a=e.length;if(Ut(t))return tt;const s=t.state,r=s.wrap;if(2===r||1===r&&42!==s.status||s.lookahead)return tt;if(1===r&&(t.adler=K(t.adler,e,a,0)),s.wrap=0,a>=s.w_size){0===r&&(ft(s.head),s.strstart=0,s.block_start=0,s.insert=0);let t=new Uint8Array(s.w_size);t.set(e.subarray(a-s.w_size,a),0),e=t,a=s.w_size}const n=t.avail_in,i=t.next_in,_=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,zt(s);s.lookahead>=3;){let t=s.strstart,e=s.lookahead-2;do{s.ins_h=pt(s,s.ins_h,s.window[t+3-1]),s.prev[t&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=t,t++}while(--e);s.strstart=t,s.lookahead=2,zt(s)}return s.strstart+=s.lookahead,s.block_start=s.strstart,s.insert=s.lookahead,s.lookahead=0,s.match_length=s.prev_length=2,s.match_available=0,t.next_in=i,t.input=_,t.avail_in=n,s.wrap=r,V},t.deflateInfo="pako deflate (from Nodeca project)";var Ft={};const Ot=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);Ft.assign=function(t){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const a=e.shift();if(a){if("object"!=typeof a)throw new TypeError(a+"must be non-object");for(const e in a)Ot(a,e)&&(t[e]=a[e])}}return t},Ft.flattenChunks=t=>{let e=0;for(let a=0,s=t.length;a<s;a++)e+=t[a].length;const a=new Uint8Array(e);for(let e=0,s=0,r=t.length;e<r;e++){let r=t[e];a.set(r,s),s+=r.length}return a};var Dt={};let Nt=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Nt=!1}const Ct=new Uint8Array(256);for(let t=0;t<256;t++)Ct[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;Ct[254]=Ct[254]=1,Dt.string2buf=t=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,s,r,n,i=t.length,_=0;for(r=0;r<i;r++)a=t.charCodeAt(r),55296==(64512&a)&&r+1<i&&(s=t.charCodeAt(r+1),56320==(64512&s)&&(a=65536+(a-55296<<10)+(s-56320),r++)),_+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(_),n=0,r=0;n<_;r++)a=t.charCodeAt(r),55296==(64512&a)&&r+1<i&&(s=t.charCodeAt(r+1),56320==(64512&s)&&(a=65536+(a-55296<<10)+(s-56320),r++)),a<128?e[n++]=a:a<2048?(e[n++]=192|a>>>6,e[n++]=128|63&a):a<65536?(e[n++]=224|a>>>12,e[n++]=128|a>>>6&63,e[n++]=128|63&a):(e[n++]=240|a>>>18,e[n++]=128|a>>>12&63,e[n++]=128|a>>>6&63,e[n++]=128|63&a);return e};Dt.buf2string=(t,e)=>{const a=e||t.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(t.subarray(0,e));let s,r;const n=new Array(2*a);for(r=0,s=0;s<a;){let e=t[s++];if(e<128){n[r++]=e;continue}let i=Ct[e];if(i>4)n[r++]=65533,s+=i-1;else{for(e&=2===i?31:3===i?15:7;i>1&&s<a;)e=e<<6|63&t[s++],i--;i>1?n[r++]=65533:e<65536?n[r++]=e:(e-=65536,n[r++]=55296|e>>10&1023,n[r++]=56320|1023&e)}}return((t,e)=>{if(e<65534&&t.subarray&&Nt)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));let a="";for(let s=0;s<e;s++)a+=String.fromCharCode(t[s]);return a})(n,r)},Dt.utf8border=(t,e)=>{(e=e||t.length)>t.length&&(e=t.length);let a=e-1;for(;a>=0&&128==(192&t[a]);)a--;return a<0||0===a?e:a+Ct[t[a]]>e?a:e};const It=t,Ht=Ft,Bt=Dt,Mt=C,Pt=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},Yt=Object.prototype.toString,{Z_NO_FLUSH:Kt,Z_SYNC_FLUSH:jt,Z_FULL_FLUSH:Gt,Z_FINISH:Xt,Z_OK:Wt,Z_STREAM_END:qt,Z_DEFAULT_COMPRESSION:Jt,Z_DEFAULT_STRATEGY:Qt,Z_DEFLATED:Vt}=I;function $t(t){this.options=Ht.assign({level:Jt,method:Vt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Qt},t||{});let e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Pt,this.strm.avail_out=0;let a=It.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(a!==Wt)throw new Error(Mt[a]);if(e.header&&It.deflateSetHeader(this.strm,e.header),e.dictionary){let t;if(t="string"==typeof e.dictionary?Bt.string2buf(e.dictionary):"[object ArrayBuffer]"===Yt.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,a=It.deflateSetDictionary(this.strm,t),a!==Wt)throw new Error(Mt[a]);this._dict_set=!0}}$t.prototype.push=function(t,e){const a=this.strm,s=this.options.chunkSize;let r,n;if(this.ended)return!1;for(n=e===~~e?e:!0===e?Xt:Kt,"string"==typeof t?a.input=Bt.string2buf(t):"[object ArrayBuffer]"===Yt.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;)if(0===a.avail_out&&(a.output=new Uint8Array(s),a.next_out=0,a.avail_out=s),(n===jt||n===Gt)&&a.avail_out<=6)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else{if(r=It.deflate(a,n),r===qt)return a.next_out>0&&this.onData(a.output.subarray(0,a.next_out)),r=It.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===Wt;if(0!==a.avail_out){if(n>0&&a.next_out>0)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else if(0===a.avail_in)break}else this.onData(a.output)}return!0},$t.prototype.onData=function(t){this.chunks.push(t)},$t.prototype.onEnd=function(t){t===Wt&&(this.result=Ht.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};const te=$t,ee=function(t,e){const a=new $t(e);if(a.push(t,!0),a.err)throw a.msg||Mt[a.err];return a.result},ae=I;const se=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const e=this._hasEvents?",":"";this.deflate.push(e+t,ae.Z_SYNC_FLUSH),this._hasEvents=!0}finish(){if(this.deflate.push("]",ae.Z_FINISH),this.deflate.err)throw this.deflate.err;const t=this.deflate.result;return this._init(),t}_init(){this._hasEvents=!1,this.deflate=new te,this.deflate.push("[",ae.Z_NO_FLUSH)}},re={clear:()=>{se.clear()},addEvent:t=>se.addEvent(t),finish:()=>se.finish(),compress:t=>function(t){return ee(t)}(t)};addEventListener("message",(function(t){const e=t.data.method,a=t.data.id,s=t.data.arg;if(e in re&&"function"==typeof re[e])try{const t=re[e](s);postMessage({id:a,method:e,success:!0,response:t})}catch(t){postMessage({id:a,method:e,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});';function Mo(){var e=new Blob([xo]);return URL.createObjectURL(e)}function Ct(e,t){!(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)||(v.logger.info(e),t&&va(e))}function qr(e,t){!(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)||(v.logger.info(e),t&&setTimeout(function(){va(e)},0))}function va(e){var t=(0,B.getCurrentHub)();t.addBreadcrumb({category:"console",data:{logger:"replay"},level:"info",message:e},{level:"info"})}var Gi=function(e){"use strict";R(r,e);var t=F(r);function r(){return N(this,r),t.call(this,"Event buffer exceeded maximum size of ".concat(Ie,"."))}return r}(U(Error)),_a=function(){"use strict";function e(){N(this,e),this.events=[],this._totalSize=0,this.hasCheckout=!1}var t=e.prototype;return t.destroy=function(){this.events=[]},t.addEvent=function(n){var E=this;return D(function(){var j;return z(this,function(J){if(j=JSON.stringify(n).length,E._totalSize+=j,E._totalSize>Ie)throw new Gi;return E.events.push(n),[2]})})()},t.finish=function(){var n=this;return new Promise(function(E){var j=n.events;n.clear(),E(JSON.stringify(j))})},t.clear=function(){this.events=[],this._totalSize=0,this.hasCheckout=!1},t.getEarliestTimestamp=function(){var n=this.events.map(function(E){return E.timestamp}).sort()[0];return n?Li(n):null},u(e,[{key:"hasEvents",get:function(){return this.events.length>0}},{key:"type",get:function(){return"sync"}}]),e}(),jo=function(){"use strict";function e(r){N(this,e),this._worker=r,this._id=0}var t=e.prototype;return t.ensureReady=function(){var n=this;return this._ensureReadyPromise?this._ensureReadyPromise:(this._ensureReadyPromise=new Promise(function(E,j){n._worker.addEventListener("message",function(J){var V=J.data;V.success?E():j()},{once:!0}),n._worker.addEventListener("error",function(J){j(J)},{once:!0})}),this._ensureReadyPromise)},t.destroy=function(){Ct("[Replay] Destroying compression worker"),this._worker.terminate()},t.postMessage=function(n,E){var j=this,J=this._getAndIncrementId();return new Promise(function(V,Q){var te=function(oe){var de=oe.data,ue=de;if(ue.method===n&&ue.id===J){if(j._worker.removeEventListener("message",te),!ue.success){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.error("[Replay]",ue.response),Q(new Error("Error in compression worker"));return}V(ue.response)}};j._worker.addEventListener("message",te),j._worker.postMessage({id:J,method:n,arg:E})})},t._getAndIncrementId=function(){return this._id++},e}(),Uo=function(){"use strict";function e(r){N(this,e),this._worker=new jo(r),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1}var t=e.prototype;return t.ensureReady=function(){return this._worker.ensureReady()},t.destroy=function(){this._worker.destroy()},t.addEvent=function(n){var E=Li(n.timestamp);(!this._earliestTimestamp||E<this._earliestTimestamp)&&(this._earliestTimestamp=E);var j=JSON.stringify(n);return this._totalSize+=j.length,this._totalSize>Ie?Promise.reject(new Gi):this._sendEventToWorker(j)},t.finish=function(){return this._finishRequest()},t.clear=function(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear")},t.getEarliestTimestamp=function(){return this._earliestTimestamp},t._sendEventToWorker=function(n){return this._worker.postMessage("addEvent",n)},t._finishRequest=function(){var n=this;return D(function(){var E;return z(this,function(j){switch(j.label){case 0:return[4,n._worker.postMessage("finish")];case 1:return E=j.sent(),n._earliestTimestamp=null,n._totalSize=0,[2,E]}})})()},u(e,[{key:"hasEvents",get:function(){return!!this._earliestTimestamp}},{key:"type",get:function(){return"worker"}}]),e}(),Bo=function(){"use strict";function e(r){N(this,e),this._fallback=new _a,this._compression=new Uo(r),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}var t=e.prototype;return t.destroy=function(){this._fallback.destroy(),this._compression.destroy()},t.clear=function(){return this._used.clear()},t.getEarliestTimestamp=function(){return this._used.getEarliestTimestamp()},t.addEvent=function(n){return this._used.addEvent(n)},t.finish=function(){var n=this;return D(function(){return z(this,function(E){switch(E.label){case 0:return[4,n.ensureWorkerIsLoaded()];case 1:return E.sent(),[2,n._used.finish()]}})})()},t.ensureWorkerIsLoaded=function(){return this._ensureWorkerIsLoadedPromise},t._ensureWorkerIsLoaded=function(){var n=this;return D(function(){var E;return z(this,function(j){switch(j.label){case 0:return j.trys.push([0,2,,3]),[4,n._compression.ensureReady()];case 1:return j.sent(),[3,3];case 2:return E=j.sent(),Ct("[Replay] Failed to load the compression worker, falling back to simple buffer"),[2];case 3:return[4,n._switchToCompressionWorker()];case 4:return j.sent(),[2]}})})()},t._switchToCompressionWorker=function(){var n=this;return D(function(){var E,j,J,V,Q,te,oe,de,ue,le,Se;return z(this,function(me){switch(me.label){case 0:E=n._fallback,j=E.events,J=E.hasCheckout,V=[],Q=!0,te=!1,oe=void 0;try{for(de=j[Symbol.iterator]();!(Q=(ue=de.next()).done);Q=!0)le=ue.value,V.push(n._compression.addEvent(le))}catch(ge){te=!0,oe=ge}finally{try{!Q&&de.return!=null&&de.return()}finally{if(te)throw oe}}n._compression.hasCheckout=J,n._used=n._compression,me.label=1;case 1:return me.trys.push([1,3,,4]),[4,Promise.all(V)];case 2:return me.sent(),[3,4];case 3:return Se=me.sent(),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.warn("[Replay] Failed to add events when switching buffers.",Se),[3,4];case 4:return[2]}})})()},u(e,[{key:"type",get:function(){return this._used.type}},{key:"hasEvents",get:function(){return this._used.hasEvents}},{key:"hasCheckout",get:function(){return this._used.hasCheckout},set:function(n){this._used.hasCheckout=n}}]),e}();function Lo(e){var t=e.useCompression,r=e.workerUrl;if(t&&window.Worker){var n=Fo(r);if(n)return n}return Ct("[Replay] Using simple buffer"),new _a}function Fo(e){try{var t=e||Go();if(!t)return;Ct("[Replay] Using compression worker".concat(e?" from ".concat(e):""));var r=new Worker(t);return new Bo(r)}catch(n){Ct("[Replay] Failed to create compression worker")}}function Go(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__=="undefined"||!__SENTRY_EXCLUDE_REPLAY_WORKER__?Mo():""}function Hi(){try{return"sessionStorage"in Z&&!!Z.sessionStorage}catch(e){return!1}}function Ho(e){Wo(),e.session=void 0}function Wo(){if(!!Hi())try{Z.sessionStorage.removeItem(ee)}catch(e){}}function ya(e){return e===void 0?!1:Math.random()<e}function Wi(e){if(!!Hi())try{Z.sessionStorage.setItem(ee,JSON.stringify(e))}catch(t){}}function ba(e){var t=Date.now(),r=e.id||(0,v.uuid4)(),n=e.started||t,E=e.lastActivity||t,j=e.segmentId||0,J=e.sampled,V=e.previousSessionId;return{id:r,started:n,lastActivity:E,segmentId:j,sampled:J,previousSessionId:V}}function Yo(e,t){return ya(e)?"session":t?"buffer":!1}function Sa(e){var t=e.sessionSampleRate,r=e.allowBuffering,n=e.stickySession,E=n===void 0?!1:n,j=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).previousSessionId,J=Yo(t,r),V=ba({sampled:J,previousSessionId:j});return E&&Wi(V),V}function Jo(e){if(!Hi())return null;try{var t=Z.sessionStorage.getItem(ee);if(!t)return null;var r=JSON.parse(t);return qr("[Replay] Loading existing session",e),ba(r)}catch(n){return null}}function Yi(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:+new Date;return e===null||t===void 0||t<0?!0:t===0?!1:e+t<=r}function Ea(e,t){var r=t.maxReplayDuration,n=t.sessionIdleExpire,E=t.targetTime,j=E===void 0?Date.now():E;return Yi(e.started,r,j)||Yi(e.lastActivity,n,j)}function Oa(e,t){var r=t.sessionIdleExpire,n=t.maxReplayDuration;return!(!Ea(e,{sessionIdleExpire:r,maxReplayDuration:n})||e.sampled==="buffer"&&e.segmentId===0)}function Ji(e,t){var r=e.traceInternals,n=e.sessionIdleExpire,E=e.maxReplayDuration,j=e.previousSessionId,J=t.stickySession&&Jo(r);return J?Oa(J,{sessionIdleExpire:n,maxReplayDuration:E})?(qr("[Replay] Session in sessionStorage is expired, creating new one..."),Sa(t,{previousSessionId:J.id})):J:(qr("[Replay] Creating new session",r),Sa(t,{previousSessionId:j}))}var zo=5;function Vo(e){return e.type===We.Custom}function zi(e,t,r){return wa(e,t)?(Ta(e,t,r),!0):!1}function Zo(e,t,r){return wa(e,t)?Ta(e,t,r):Promise.resolve(null)}function Ta(e,t,r){return Vi.apply(this,arguments)}function Vi(){return Vi=D(function(e,t,r){var n,E,j,J,V;return z(this,function(Q){switch(Q.label){case 0:if(!e.eventBuffer)return[2,null];Q.label=1;case 1:return Q.trys.push([1,3,,5]),r&&e.recordingMode==="buffer"&&e.eventBuffer.clear(),r&&(e.eventBuffer.hasCheckout=!0),n=e.getOptions(),E=Ko(t,n.beforeAddRecordingEvent),E?[4,e.eventBuffer.addEvent(E)]:[2];case 2:return[2,Q.sent()];case 3:return j=Q.sent(),J=j&&g(j,Gi)?"addEventSizeExceeded":"addEvent",(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.error(j),[4,e.stop({reason:J})];case 4:return Q.sent(),V=(0,B.getCurrentHub)().getClient(),V&&V.recordDroppedEvent("internal_sdk_error","replay"),[3,5];case 5:return[2]}})}),Vi.apply(this,arguments)}function wa(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;var r=Li(t.timestamp);return r+e.timeouts.sessionIdlePause<Date.now()?!1:r>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration?(Ct("[Replay] Skipping event with timestamp ".concat(r," because it is after maxReplayDuration"),e.getOptions()._experiments.traceInternals),!1):!0}function Ko(e,t){try{if(typeof t=="function"&&Vo(e))return t(e)}catch(r){return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.error("[Replay] An error occured in the `beforeAddRecordingEvent` callback, skipping the event...",r),null}return e}function Ia(e){return!e.type}function Zi(e){return e.type==="transaction"}function Xo(e){return e.type==="replay_event"}function Ca(e){var t=qo();return function(r,n){if(!(!e.isEnabled()||!Ia(r)&&!Zi(r))){var E=n&&n.statusCode;if(!(t&&(!E||E<200||E>=300))){if(Zi(r)){Qo(e,r);return}$o(e,r)}}}}function Qo(e,t){var r=e.getContext();t.contexts&&t.contexts.trace&&t.contexts.trace.trace_id&&r.traceIds.size<100&&r.traceIds.add(t.contexts.trace.trace_id)}function $o(e,t){var r=e.getContext();t.event_id&&r.errorIds.size<100&&r.errorIds.add(t.event_id),e.recordingMode==="buffer"&&t.tags&&t.tags.replayId&&setTimeout(function(){e.sendBufferedReplayOrFlush()})}function qo(){var e=(0,B.getCurrentHub)().getClient();if(!e)return!1;var t=e.getTransport();return t&&t.send.__sentry__baseTransport__||!1}function eu(e,t){return e.type||!e.exception||!e.exception.values||!e.exception.values.length?!1:!!(t.originalException&&t.originalException.__rrweb__)}function tu(e,t){return e.recordingMode!=="buffer"||t.message===W||!t.exception||t.type?!1:ya(e.getOptions().errorSampleRate)}function ru(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=t?Ca(e):void 0;return Object.assign(function(n,E){if(!e.isEnabled())return n;if(Xo(n))return delete n.breadcrumbs,n;if(!Ia(n)&&!Zi(n))return n;var j=e.checkAndHandleExpiredSession();if(!j)return n;if(eu(n,E)&&!e.getOptions()._experiments.captureExceptions)return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("[Replay] Ignoring error from rrweb internals",n),null;var J=tu(e,n),V=J||e.recordingMode==="session";return V&&(n.tags=p(l({},n.tags),{replayId:e.getSessionId()})),r&&r(n,{statusCode:200}),n},{id:"Replay"})}function fi(e,t){return t.map(function(r){var n=r.type,E=r.start,j=r.end,J=r.name,V=r.data,Q=e.throttledAddEvent({type:We.Custom,timestamp:E,data:{tag:"performanceSpan",payload:{op:n,description:J,startTimestamp:E,endTimestamp:j,data:V}}});return typeof Q=="string"?Promise.resolve(null):Q})}function nu(e){var t=e.from,r=e.to,n=Date.now()/1e3;return{type:"navigation.push",start:n,end:n,name:r,data:{previous:t}}}function iu(e){return function(t){if(!!e.isEnabled()){var r=nu(t);r!==null&&(e.getContext().urls.push(r.name),e.triggerUserActivity(),e.addUpdate(function(){return fi(e,[r]),!1}))}}}function au(e,t){return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&e.getOptions()._experiments.traceInternals?!1:(0,B.isSentryRequestUrl)(t,(0,B.getCurrentHub)())}function di(e,t){!e.isEnabled()||t!==null&&(au(e,t.name)||e.addUpdate(function(){return fi(e,[t]),!0}))}function ou(e){var t=e.startTimestamp,r=e.endTimestamp,n=e.fetchData,E=e.response;if(!r)return null;var j=n.method,J=n.url;return{type:"resource.fetch",start:t/1e3,end:r/1e3,name:J,data:{method:j,statusCode:E?E.status:void 0}}}function uu(e){return function(t){if(!!e.isEnabled()){var r=ou(t);di(e,r)}}}function su(e){var t=e.startTimestamp,r=e.endTimestamp,n=e.xhr,E=n[v.SENTRY_XHR_DATA_KEY];if(!t||!r||!E)return null;var j=E.method,J=E.url,V=E.status_code;return J===void 0?null:{type:"resource.xhr",name:J,start:t/1e3,end:r/1e3,data:{method:j,statusCode:V}}}function cu(e){return function(t){if(!!e.isEnabled()){var r=su(t);di(e,r)}}}var hr=10,Ki=11,Xi=12,ir=13,Qi=14,en=15,ar=20,xt=21,$i=22,tn=23,Aa=["true","false","null"];function lu(e,t){if(!t.length)return e;var r=e,n=t.length-1,E=t[n];r=fu(r,E);for(var j=n;j>=0;j--){var J=t[j];switch(J){case hr:r="".concat(r,"}");break;case ar:r="".concat(r,"]");break}}return r}function fu(e,t){switch(t){case hr:return"".concat(e,'"~~":"~~"');case Ki:return"".concat(e,':"~~"');case Xi:return"".concat(e,'~~":"~~"');case ir:return mu(e);case Qi:return"".concat(e,'~~"');case en:return"".concat(e,',"~~":"~~"');case ar:return"".concat(e,'"~~"');case xt:return du(e);case $i:return"".concat(e,'~~"');case tn:return"".concat(e,',"~~"')}return e}function du(e){var t=pu(e);if(t>-1){var r=e.slice(t+1);return Aa.includes(r.trim())?"".concat(e,',"~~"'):"".concat(e.slice(0,t+1),'"~~"')}return e}function pu(e){for(var t=e.length-1;t>=0;t--){var r=e[t];if(r===","||r==="[")return t}return-1}function mu(e){var t=e.lastIndexOf(":"),r=e.slice(t+1);return Aa.includes(r.trim())?"".concat(e,',"~~":"~~"'):"".concat(e.slice(0,t+1),'"~~"')}function hu(e){for(var t=[],r=0;r<e.length;r++)gu(t,e,r);return t}function gu(e,t,r){var n=e[e.length-1],E=t[r],j=/\s/;if(!j.test(E)){if(E==='"'&&!Ra(t,r)){vu(e,n);return}switch(E){case"{":_u(e,n);break;case"[":yu(e,n);break;case":":bu(e,n);break;case",":Su(e,n);break;case"}":Eu(e,n);break;case"]":Ou(e,n);break}}}function vu(e,t){if(t===Qi){e.pop(),e.push(en);return}if(t===$i){e.pop(),e.push(tn);return}if(t===ir){e.push(Qi);return}if(t===xt){e.push($i);return}if(t===hr){e.push(Xi);return}if(t===Xi){e.pop(),e.push(Ki);return}}function _u(e,t){if(!t){e.push(hr);return}if(t===ir){e.push(hr);return}if(t===xt&&e.push(hr),t===ar){e.push(hr);return}}function yu(e,t){if(!t){e.push(ar),e.push(xt);return}if(t===ir){e.push(ar),e.push(xt);return}if(t===xt&&(e.push(ar),e.push(xt)),t===ar){e.push(ar),e.push(xt);return}}function bu(e,t){t===Ki&&(e.pop(),e.push(ir))}function Su(e,t){if(t===ir){e.pop();return}if(t===en){e.pop(),e.pop();return}if(t!==xt&&t===tn){e.pop();return}}function Eu(e,t){t===hr&&e.pop(),t===ir&&(e.pop(),e.pop()),t===en&&(e.pop(),e.pop(),e.pop()),e[e.length-1]===ir&&e.push(en),e[e.length-1]===xt&&e.push(tn)}function Ou(e,t){t===ar&&e.pop(),t===xt&&(e.pop(),e.pop()),t===tn&&(e.pop(),e.pop(),e.pop()),e[e.length-1]===ir&&e.push(en),e[e.length-1]===xt&&e.push(tn)}function Ra(e,t){var r=e[t-1];return r==="\\"&&!Ra(e,t-1)}function Pa(e){var t=hu(e);return lu(e,t)}function pi(e,t){if(!!e)try{if(typeof e=="string")return t.encode(e).length;if(g(e,URLSearchParams))return t.encode(e.toString()).length;if(g(e,FormData)){var r=xa(e);return t.encode(r).length}if(g(e,Blob))return e.size;if(g(e,ArrayBuffer))return e.byteLength}catch(n){}}function Da(e){if(!!e){var t=parseInt(e,10);return isNaN(t)?void 0:t}}function ka(e){if(typeof e=="string")return e;if(g(e,URLSearchParams))return e.toString();if(g(e,FormData))return xa(e)}function Na(e,t){if(!t)return null;var r=t.startTimestamp,n=t.endTimestamp,E=t.url,j=t.method,J=t.statusCode,V=t.request,Q=t.response,te={type:e,start:r/1e3,end:n/1e3,name:E,data:(0,v.dropUndefinedKeys)({method:j,statusCode:J,request:V,response:Q})};return te}function En(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function gr(e,t,r){if(!(!t&&Object.keys(e).length===0)){if(!t)return{headers:e};if(!r)return{headers:e,size:t};var n={headers:e,size:t},E=Tu(r),j=E.body,J=E.warnings;return n.body=j,J.length>0&&(n._meta={warnings:J}),n}}function qi(e,t){return Object.keys(e).reduce(function(r,n){var E=n.toLowerCase();return t.includes(E)&&e[n]&&(r[E]=e[n]),r},{})}function xa(e){return new URLSearchParams(e).toString()}function Tu(e){if(!e||typeof e!="string")return{body:e,warnings:[]};var t=e.length>Pe;if(wu(e))try{var r=t?Pa(e.slice(0,Pe)):e,n=JSON.parse(r);return{body:n,warnings:t?["JSON_TRUNCATED"]:[]}}catch(E){return{body:t?"".concat(e.slice(0,Pe),"\u2026"):e,warnings:t?["INVALID_JSON","TEXT_TRUNCATED"]:["INVALID_JSON"]}}return{body:t?"".concat(e.slice(0,Pe),"\u2026"):e,warnings:t?["TEXT_TRUNCATED"]:[]}}function wu(e){var t=e[0],r=e[e.length-1];return t==="["&&r==="]"||t==="{"&&r==="}"}function mi(e,t){var r=Iu(e);return(0,v.stringMatchesSomePattern)(r,t)}function Iu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Z.document.baseURI;if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(Z.location.origin))return e;var r=new URL(e,t);if(r.origin!==new URL(t).origin)return e;var n=r.href;return!e.endsWith("/")&&n.endsWith("/")?n.slice(0,-1):n}function Cu(e,t,r){return ea.apply(this,arguments)}function ea(){return ea=D(function(e,t,r){var n,E,j;return z(this,function(J){switch(J.label){case 0:return J.trys.push([0,2,,3]),[4,Ru(e,t,r)];case 1:return n=J.sent(),E=Na("resource.fetch",n),di(r.replay,E),[3,3];case 2:return j=J.sent(),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.error("[Replay] Failed to capture fetch breadcrumb",j),[3,3];case 3:return[2]}})}),ea.apply(this,arguments)}function Au(e,t,r){var n=t.input,E=t.response,j=Ma(n),J=pi(j,r.textEncoder),V=E?Da(E.headers.get("content-length")):void 0;J!==void 0&&(e.data.request_body_size=J),V!==void 0&&(e.data.response_body_size=V)}function Ru(e,t,r){return ta.apply(this,arguments)}function ta(){return ta=D(function(e,t,r){var n,E,j,J,V,Q,te,oe,de,ue,le,Se;return z(this,function(me){switch(me.label){case 0:return n=t.startTimestamp,E=t.endTimestamp,j=e.data,J=j.url,V=j.method,Q=j.status_code,te=Q===void 0?0:Q,oe=j.request_body_size,de=j.response_body_size,ue=mi(J,r.networkDetailAllowUrls)&&!mi(J,r.networkDetailDenyUrls),le=ue?Pu(r,t.input,oe):En(oe),[4,Du(ue,r,t.response,de)];case 1:return Se=me.sent(),[2,{startTimestamp:n,endTimestamp:E,url:J,method:V,statusCode:te,request:le,response:Se}]}})}),ta.apply(this,arguments)}function Pu(e,t,r){var n=e.networkCaptureBodies,E=e.networkRequestHeaders,j=Nu(t,E);if(!n)return gr(j,r,void 0);var J=Ma(t),V=ka(J);return gr(j,r,V)}function Du(e,t,r,n){return ra.apply(this,arguments)}function ra(){return ra=D(function(e,t,r,n){var E,j,J,V,Q,te,oe,de;return z(this,function(ue){switch(ue.label){case 0:if(E=t.networkCaptureBodies,j=t.textEncoder,J=t.networkResponseHeaders,!e&&n!==void 0)return[2,En(n)];if(V=ja(r.headers,J),!E&&n!==void 0)return[2,gr(V,n,void 0)];ue.label=1;case 1:return ue.trys.push([1,3,,4]),Q=r.clone(),[4,ku(Q)];case 2:return te=ue.sent(),oe=te&&te.length&&n===void 0?pi(te,j):n,e?E?[2,gr(V,oe,te)]:[2,gr(V,oe,void 0)]:[2,En(oe)];case 3:return de=ue.sent(),[2,gr(V,n,void 0)];case 4:return[2]}})}),ra.apply(this,arguments)}function ku(e){return na.apply(this,arguments)}function na(){return na=D(function(e){var t;return z(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,e.text()];case 1:return[2,r.sent()];case 2:return t=r.sent(),[2,void 0];case 3:return[2]}})}),na.apply(this,arguments)}function Ma(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(!(e.length!==2||typeof e[1]!="object"))return e[1].body}function ja(e,t){var r={};return t.forEach(function(n){e.get(n)&&(r[n]=e.get(n))}),r}function Nu(e,t){return e.length===1&&typeof e[0]!="string"?Ua(e[0],t):e.length===2?Ua(e[1],t):{}}function Ua(e,t){if(!e)return{};var r=e.headers;return r?g(r,Headers)?ja(r,t):Array.isArray(r)?{}:qi(r,t):{}}function xu(e,t,r){return ia.apply(this,arguments)}function ia(){return ia=D(function(e,t,r){var n,E;return z(this,function(j){try{n=ju(e,t,r),E=Na("resource.xhr",n),di(r.replay,E)}catch(J){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.error("[Replay] Failed to capture xhr breadcrumb",J)}return[2]})}),ia.apply(this,arguments)}function Mu(e,t,r){var n=t.xhr,E=t.input,j=pi(E,r.textEncoder),J=n.getResponseHeader("content-length")?Da(n.getResponseHeader("content-length")):pi(n.response,r.textEncoder);j!==void 0&&(e.data.request_body_size=j),J!==void 0&&(e.data.response_body_size=J)}function ju(e,t,r){var n=t.startTimestamp,E=t.endTimestamp,j=t.input,J=t.xhr,V=e.data,Q=V.url,te=V.method,oe=V.status_code,de=oe===void 0?0:oe,ue=V.request_body_size,le=V.response_body_size;if(!Q)return null;if(!mi(Q,r.networkDetailAllowUrls)||mi(Q,r.networkDetailDenyUrls)){var Se=En(ue),me=En(le);return{startTimestamp:n,endTimestamp:E,url:Q,method:te,statusCode:de,request:Se,response:me}}var ge=J[v.SENTRY_XHR_DATA_KEY],he=ge?qi(ge.request_headers,r.networkRequestHeaders):{},ye=qi(Uu(J),r.networkResponseHeaders),Te=gr(he,ue,r.networkCaptureBodies?ka(j):void 0),Ce=gr(ye,le,r.networkCaptureBodies?t.xhr.responseText:void 0);return{startTimestamp:n,endTimestamp:E,url:Q,method:te,statusCode:de,request:Te,response:Ce}}function Uu(e){var t=e.getAllResponseHeaders();return t?t.split("\r\n").reduce(function(r,n){var E=h(n.split(": "),2),j=E[0],J=E[1];return r[j.toLowerCase()]=J,r},{}):{}}function Bu(e){var t=(0,B.getCurrentHub)().getClient();try{var r=new TextEncoder,n=e.getOptions(),E=n.networkDetailAllowUrls,j=n.networkDetailDenyUrls,J=n.networkCaptureBodies,V=n.networkRequestHeaders,Q=n.networkResponseHeaders,te={replay:e,textEncoder:r,networkDetailAllowUrls:E,networkDetailDenyUrls:j,networkCaptureBodies:J,networkRequestHeaders:V,networkResponseHeaders:Q};t&&t.on?t.on("beforeAddBreadcrumb",function(oe,de){return Lu(te,oe,de)}):((0,v.addInstrumentationHandler)("fetch",uu(e)),(0,v.addInstrumentationHandler)("xhr",cu(e)))}catch(oe){}}function Lu(e,t,r){if(!!t.data)try{Fu(t)&&Hu(r)&&(Mu(t,r,e),xu(t,r,e)),Gu(t)&&Wu(r)&&(Au(t,r,e),Cu(t,r,e))}catch(n){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.warn("Error when enriching network breadcrumb")}}function Fu(e){return e.category==="xhr"}function Gu(e){return e.category==="fetch"}function Hu(e){return e&&e.xhr}function Wu(e){return e&&e.response}var Ba=null;function Yu(e){return!!e.category}var Ju=function(e){return function(t){if(!!e.isEnabled()){var r=zu(t);!r||si(e,r)}}};function zu(e){var t=e.getLastBreadcrumb&&e.getLastBreadcrumb();return Ba===t||!t||(Ba=t,!Yu(t)||["fetch","xhr","sentry.event","sentry.transaction"].includes(t.category)||t.category.startsWith("ui."))?null:t.category==="console"?Vu(t):nr(t)}function Vu(e){var t=e.data&&e.data.arguments;if(!Array.isArray(t)||t.length===0)return nr(e);var r=!1,n=t.map(function(E){if(!E)return E;if(typeof E=="string")return E.length>ce?(r=!0,"".concat(E.slice(0,ce),"\u2026")):E;if(typeof E=="object")try{var j=(0,v.normalize)(E,7),J=JSON.stringify(j);if(J.length>ce){var V=Pa(J.slice(0,ce)),Q=JSON.parse(V);return r=!0,Q}return j}catch(te){}return E});return nr(p(l({},e),{data:l(p(l({},e.data),{arguments:n}),r?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{})}))}function Zu(e){var t=(0,B.getCurrentHub)().getScope(),r=(0,B.getCurrentHub)().getClient();t.addScopeListener(Ju(e)),(0,v.addInstrumentationHandler)("dom",bo(e)),(0,v.addInstrumentationHandler)("history",iu(e)),Bu(e);var n=ru(e,!La(r));r&&r.addEventProcessor?r.addEventProcessor(n):(0,B.addGlobalEventProcessor)(n),La(r)&&(r.on("afterSendEvent",Ca(e)),r.on("createDsc",function(E){var j=e.getSessionId();if(j&&e.isEnabled()&&e.recordingMode==="session"){var J=e.checkAndHandleExpiredSession();J&&(E.replay_id=j)}}),r.on("startTransaction",function(E){e.lastTransaction=E}),r.on("finishTransaction",function(E){e.lastTransaction=E}))}function La(e){return!!(e&&e.on)}function Ku(e){return aa.apply(this,arguments)}function aa(){return aa=D(function(e){return z(this,function(t){try{return[2,Promise.all(fi(e,[Xu(Z.performance.memory)]))]}catch(r){return[2,[]]}return[2]})}),aa.apply(this,arguments)}function Xu(e){var t=e.jsHeapSizeLimit,r=e.totalJSHeapSize,n=e.usedJSHeapSize,E=Date.now()/1e3;return{type:"memory",name:"memory",start:E,end:E,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:r,usedJSHeapSize:n}}}}function Qu(e,t,r){var n=function(){return E(),V=e(),V},E=function(){Q!==void 0&&clearTimeout(Q),te!==void 0&&clearTimeout(te),Q=te=void 0},j=function(){return Q!==void 0||te!==void 0?n():V},J=function(){return Q&&clearTimeout(Q),Q=setTimeout(n,t),oe&&te===void 0&&(te=setTimeout(n,oe)),V},V,Q,te,oe=r&&r.maxWait?Math.max(r.maxWait,t):0;return J.cancel=E,J.flush=j,J}function $u(e){var t=!1;return function(r,n){if(!e.checkAndHandleExpiredSession()){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.warn("[Replay] Received replay event after session expired.");return}var E=n||!t;t=!0,e.addUpdate(function(){if(e.recordingMode==="buffer"&&E&&e.setInitialState(),!zi(e,r,E))return!0;if(!E)return!1;if(es(e,E),e.session&&e.session.previousSessionId)return!0;if(e.recordingMode==="buffer"&&e.session&&e.eventBuffer){var j=e.eventBuffer.getEarliestTimestamp();j&&(Ct("[Replay] Updating session start time to earliest event in buffer to ".concat(new Date(j)),e.getOptions()._experiments.traceInternals),e.session.started=j,e.getOptions().stickySession&&Wi(e.session))}return e.recordingMode==="session"&&e.flush(),!0})}}function qu(e){var t=e.getOptions();return{type:We.Custom,timestamp:Date.now(),data:{tag:"options",payload:{sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:e.eventBuffer?e.eventBuffer.type==="worker":!1,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}function es(e,t){!t||!e.session||e.session.segmentId!==0||zi(e,qu(e),!1)}function ts(e,t,r,n){return(0,v.createEnvelope)((0,v.createEventEnvelopeHeaders)(e,(0,v.getSdkMetadataForEnvelopeHeader)(e),n,r),[[{type:"replay_event"},e],[{type:"replay_recording",length:typeof t=="string"?new TextEncoder().encode(t).length:t.length},t]])}function rs(e){var t=e.recordingData,r=e.headers,n,E="".concat(JSON.stringify(r),"\n");if(typeof t=="string")n="".concat(E).concat(t);else{var j=new TextEncoder,J=j.encode(E);n=new Uint8Array(J.length+t.length),n.set(J),n.set(t,J.length)}return n}function ns(e){return oa.apply(this,arguments)}function oa(){return oa=D(function(e){var t,r,n,E,j,J,V,Q,te,oe,de;return z(this,function(ue){switch(ue.label){case 0:return t=e.client,r=e.scope,n=e.replayId,E=e.event,j=typeof t._integrations=="object"&&t._integrations!==null&&!Array.isArray(t._integrations)?Object.keys(t._integrations):void 0,J={event_id:n,integrations:j},t.emit&&t.emit("preprocessEvent",E,J),[4,(0,B.prepareEvent)(t.getOptions(),E,J,r,t)];case 1:return V=ue.sent(),V?(V.platform=V.platform||"javascript",Q=t.getSdkMetadata&&t.getSdkMetadata(),te=Q&&Q.sdk||{},oe=te.name,de=te.version,V.sdk=p(l({},V.sdk),{name:oe||"sentry.javascript.unknown",version:de||"0.0.0"}),[2,V]):[2,null]}})}),oa.apply(this,arguments)}function is(e){return ua.apply(this,arguments)}function ua(){return ua=D(function(e){var t,r,n,E,j,J,V,Q,te,oe,de,ue,le,Se,me,ge,he,ye,Te,Ce,Ae,Ue;return z(this,function(xe){switch(xe.label){case 0:return t=e.recordingData,r=e.replayId,n=e.segmentId,E=e.eventContext,j=e.timestamp,J=e.session,V=rs({recordingData:t,headers:{segment_id:n}}),Q=E.urls,te=E.errorIds,oe=E.traceIds,de=E.initialTimestamp,ue=(0,B.getCurrentHub)(),le=ue.getClient(),Se=ue.getScope(),me=le&&le.getTransport(),ge=le&&le.getDsn(),!le||!me||!ge||!J.sampled?[2]:(he={type:ne,replay_start_timestamp:de/1e3,timestamp:j/1e3,error_ids:te,trace_ids:oe,urls:Q,replay_id:r,segment_id:n,replay_type:J.sampled},[4,ns({scope:Se,client:le,replayId:r,event:he})]);case 1:if(ye=xe.sent(),!ye)return le.recordDroppedEvent("event_processor","replay",he),Ct("An event processor returned `null`, will not send event."),[2];delete ye.sdkProcessingMetadata,Te=ts(ye,V,ge,le.getOptions().tunnel),xe.label=2;case 2:return xe.trys.push([2,4,,5]),[4,me.send(Te)];case 3:return Ce=xe.sent(),[3,5];case 4:Ae=xe.sent(),Ue=new Error(W);try{Ue.cause=Ae}catch(Ze){}throw Ue;case 5:if(!Ce)return[2,Ce];if(typeof Ce.statusCode=="number"&&(Ce.statusCode<200||Ce.statusCode>=300))throw new Fa(Ce.statusCode);return[2,Ce]}})}),ua.apply(this,arguments)}var Fa=function(e){"use strict";R(r,e);var t=F(r);function r(n){return N(this,r),t.call(this,"Transport returned status code ".concat(n))}return r}(U(Error));function Ga(e){return sa.apply(this,arguments)}function sa(){return sa=D(function(e){var t,r,n,E,j,J=arguments;return z(this,function(V){switch(V.label){case 0:if(t=J.length>1&&J[1]!==void 0?J[1]:{count:0,interval:ve},r=e.recordingData,n=e.options,!r.length)return[2];V.label=1;case 1:return V.trys.push([1,3,,4]),[4,is(e)];case 2:return V.sent(),[2,!0];case 3:if(E=V.sent(),g(E,Fa))throw E;if((0,B.setContext)("Replays",{_retryCount:t.count}),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&n._experiments&&n._experiments.captureExceptions&&(0,B.captureException)(E),t.count>=we){j=new Error("".concat(W," - max retries exceeded"));try{j.cause=E}catch(Q){}throw j}return t.interval*=++t.count,[2,new Promise(function(Q,te){setTimeout(D(function(){var oe;return z(this,function(de){switch(de.label){case 0:return de.trys.push([0,2,,3]),[4,Ga(e,t)];case 1:return de.sent(),Q(!0),[3,3];case 2:return oe=de.sent(),te(oe),[3,3];case 3:return[2]}})}),t.interval)})];case 4:return[2]}})}),sa.apply(this,arguments)}var Ha="__THROTTLED",as="__SKIPPED";function os(e,t,r){var n=new Map,E=function(V){var Q=V-r;n.forEach(function(te,oe){oe<Q&&n.delete(oe)})},j=function(){return _(n.values()).reduce(function(V,Q){return V+Q},0)},J=!1;return function(){for(var V=arguments.length,Q=new Array(V),te=0;te<V;te++)Q[te]=arguments[te];var oe=Math.floor(Date.now()/1e3);if(E(oe),j()>=t){var de=J;return J=!0,de?as:Ha}J=!1;var ue=n.get(oe)||0;return n.set(oe,ue+1),e.apply(void 0,_(Q))}}var us=function(){"use strict";function e(r){var n=r.options,E=r.recordingOptions,j=this;N(this,e),e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this),e.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:X,sessionIdleExpire:Y},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=E,this._options=n,this._debouncedFlush=Qu(function(){return j._flush()},this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=os(function(oe,de){return Zo(j,oe,de)},300,5);var J=this.getOptions(),V=J.slowClickTimeout,Q=J.slowClickIgnoreSelectors,te=V?{threshold:Math.min(be,V),timeout:V,scrollTimeout:Ee,ignoreSelector:Q?Q.join(","):""}:void 0;te&&(this.clickDetector=new mo(this,te))}var t=e.prototype;return t.getContext=function(){return this._context},t.isEnabled=function(){return this._isEnabled},t.isPaused=function(){return this._isPaused},t.getOptions=function(){return this._options},t.initializeSampling=function(n){var E=this._options,j=E.errorSampleRate,J=E.sessionSampleRate;if(!(j<=0&&J<=0)){if(this._initializeSessionForSampling(n),!this.session){this._handleException(new Error("Unable to initialize and create session"));return}this.session.sampled!==!1&&(this.recordingMode=this.session.sampled==="buffer"&&this.session.segmentId===0?"buffer":"session",qr("[Replay] Starting replay in ".concat(this.recordingMode," mode"),this._options._experiments.traceInternals),this._initializeRecording())}},t.start=function(){if(this._isEnabled&&this.recordingMode==="session")throw new Error("Replay recording is already in progress");if(this._isEnabled&&this.recordingMode==="buffer")throw new Error("Replay buffering is in progress, call `flush()` to save the replay");qr("[Replay] Starting replay in session mode",this._options._experiments.traceInternals);var n=Ji({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=n,this._initializeRecording()},t.startBuffering=function(){if(this._isEnabled)throw new Error("Replay recording is already in progress");qr("[Replay] Starting replay in buffer mode",this._options._experiments.traceInternals);var n=Ji({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=n,this.recordingMode="buffer",this._initializeRecording()},t.startRecording=function(){try{this._stopRecording=rr(p(l({},this._recordingOptions,this.recordingMode==="buffer"&&{checkoutEveryNms:pe}),{emit:$u(this),onMutation:this._onMutationHandler}))}catch(n){this._handleException(n)}},t.stopRecording=function(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(n){return this._handleException(n),!1}},t.stop=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},E=n.forceFlush,j=E===void 0?!1:E,J=n.reason,V=this;return D(function(){var Q;return z(this,function(te){switch(te.label){case 0:if(!V._isEnabled)return[2];V._isEnabled=!1,te.label=1;case 1:return te.trys.push([1,4,,5]),Ct("[Replay] Stopping Replay".concat(J?" triggered by ".concat(J):""),V._options._experiments.traceInternals),V._removeListeners(),V.stopRecording(),V._debouncedFlush.cancel(),j?[4,V._flush({force:!0})]:[3,3];case 2:te.sent(),te.label=3;case 3:return V.eventBuffer&&V.eventBuffer.destroy(),V.eventBuffer=null,Ho(V),[3,5];case 4:return Q=te.sent(),V._handleException(Q),[3,5];case 5:return[2]}})})()},t.pause=function(){this._isPaused||(this._isPaused=!0,this.stopRecording(),Ct("[Replay] Pausing replay",this._options._experiments.traceInternals))},t.resume=function(){!this._isPaused||!this._checkSession()||(this._isPaused=!1,this.startRecording(),Ct("[Replay] Resuming replay",this._options._experiments.traceInternals))},t.sendBufferedReplayOrFlush=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},E=n.continueRecording,j=E===void 0?!0:E,J=this;return D(function(){var V,Q;return z(this,function(te){switch(te.label){case 0:return J.recordingMode==="session"?[2,J.flushImmediate()]:(V=Date.now(),Ct("[Replay] Converting buffer to session",J._options._experiments.traceInternals),[4,J.flushImmediate()]);case 1:return te.sent(),Q=J.stopRecording(),!j||!Q?[2]:J.recordingMode==="session"?[2]:(J.recordingMode="session",J.session&&(J._updateUserActivity(V),J._updateSessionActivity(V),J._maybeSaveSession()),J.startRecording(),[2])}})})()},t.addUpdate=function(n){var E=n();this.recordingMode!=="buffer"&&E!==!0&&this._debouncedFlush()},t.triggerUserActivity=function(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()},t.updateUserActivity=function(){this._updateUserActivity(),this._updateSessionActivity()},t.conditionalFlush=function(){return this.recordingMode==="buffer"?Promise.resolve():this.flushImmediate()},t.flush=function(){return this._debouncedFlush()},t.flushImmediate=function(){return this._debouncedFlush(),this._debouncedFlush.flush()},t.cancelFlush=function(){this._debouncedFlush.cancel()},t.getSessionId=function(){return this.session&&this.session.id},t.checkAndHandleExpiredSession=function(){if(this._lastActivity&&Yi(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&this.session.sampled==="session"){this.pause();return}return!!this._checkSession()},t.setInitialState=function(){var n="".concat(Z.location.pathname).concat(Z.location.hash).concat(Z.location.search),E="".concat(Z.location.origin).concat(n);this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=E,this._context.initialTimestamp=Date.now(),this._context.urls.push(E)},t.throttledAddEvent=function(n,E){var j=this,J=this._throttledAddEvent(n,E);if(J===Ha){var V=nr({category:"replay.throttled"});this.addUpdate(function(){return!zi(j,{type:zo,timestamp:V.timestamp||0,data:{tag:"breadcrumb",payload:V,metric:!0}})})}return J},t.getCurrentRoute=function(){var n=this.lastTransaction||(0,B.getCurrentHub)().getScope().getTransaction();if(!(!n||!["route","custom"].includes(n.metadata.source)))return n.name},t._initializeRecording=function(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=Lo({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()},t._handleException=function(n){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.error("[Replay]",n),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&this._options._experiments&&this._options._experiments.captureExceptions&&(0,B.captureException)(n)},t._initializeSessionForSampling=function(n){var E=this._options.errorSampleRate>0,j=Ji({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals,previousSessionId:n},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:E});this.session=j},t._checkSession=function(){if(!this.session)return!1;var n=this.session;return Oa(n,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})?(this._refreshSession(n),!1):!0},t._refreshSession=function(n){var E=this;return D(function(){return z(this,function(j){switch(j.label){case 0:return E._isEnabled?[4,E.stop({reason:"refresh session"})]:[2];case 1:return j.sent(),E.initializeSampling(n.id),[2]}})})()},t._addListeners=function(){try{Z.document.addEventListener("visibilitychange",this._handleVisibilityChange),Z.addEventListener("blur",this._handleWindowBlur),Z.addEventListener("focus",this._handleWindowFocus),Z.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(Zu(this),this._hasInitializedCoreListeners=!0)}catch(n){this._handleException(n)}this._performanceCleanupCallback=No(this)},t._removeListeners=function(){try{Z.document.removeEventListener("visibilitychange",this._handleVisibilityChange),Z.removeEventListener("blur",this._handleWindowBlur),Z.removeEventListener("focus",this._handleWindowFocus),Z.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(n){this._handleException(n)}},t.__init=function(){var n=this;this._handleVisibilityChange=function(){Z.document.visibilityState==="visible"?n._doChangeToForegroundTasks():n._doChangeToBackgroundTasks()}},t.__init2=function(){var n=this;this._handleWindowBlur=function(){var E=nr({category:"ui.blur"});n._doChangeToBackgroundTasks(E)}},t.__init3=function(){var n=this;this._handleWindowFocus=function(){var E=nr({category:"ui.focus"});n._doChangeToForegroundTasks(E)}},t.__init4=function(){var n=this;this._handleKeyboardEvent=function(E){To(n,E)}},t._doChangeToBackgroundTasks=function(n){if(!!this.session){var E=Ea(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire});E||(n&&this._createCustomBreadcrumb(n),this.conditionalFlush())}},t._doChangeToForegroundTasks=function(n){if(!!this.session){var E=this.checkAndHandleExpiredSession();if(!E){Ct("[Replay] Document has become active, but session has expired");return}n&&this._createCustomBreadcrumb(n)}},t._updateUserActivity=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Date.now();this._lastActivity=n},t._updateSessionActivity=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Date.now();this.session&&(this.session.lastActivity=n,this._maybeSaveSession())},t._createCustomBreadcrumb=function(n){var E=this;this.addUpdate(function(){E.throttledAddEvent({type:We.Custom,timestamp:n.timestamp||0,data:{tag:"breadcrumb",payload:n}})})},t._addPerformanceEntries=function(){var n=Co(this.performanceEntries).concat(this.replayPerformanceEntries);return this.performanceEntries=[],this.replayPerformanceEntries=[],Promise.all(fi(this,n))},t._clearContext=function(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]},t._updateInitialTimestampFromEventBuffer=function(){var n=this,E=n.session,j=n.eventBuffer;if(!(!E||!j)&&!E.segmentId){var J=j.getEarliestTimestamp();J&&J<this._context.initialTimestamp&&(this._context.initialTimestamp=J)}},t._popEventContext=function(){var n={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),n},t._runFlush=function(){var n=this;return D(function(){var E,j,J,V,Q,te,oe;return z(this,function(de){switch(de.label){case 0:return E=n.getSessionId(),!n.session||!n.eventBuffer||!E?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.error("[Replay] No session or eventBuffer found to flush."),[2]):[4,n._addPerformanceEntries()];case 1:return de.sent(),!n.eventBuffer||!n.eventBuffer.hasEvents?[2]:[4,Ku(n)];case 2:if(de.sent(),!n.eventBuffer)return[2];if(E!==n.getSessionId())return[2];de.label=3;case 3:if(de.trys.push([3,6,,7]),n._updateInitialTimestampFromEventBuffer(),j=Date.now(),j-n._context.initialTimestamp>n._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");return J=n._popEventContext(),V=n.session.segmentId++,n._maybeSaveSession(),[4,n.eventBuffer.finish()];case 4:return Q=de.sent(),[4,Ga({replayId:E,recordingData:Q,segmentId:V,eventContext:J,session:n.session,options:n.getOptions(),timestamp:j})];case 5:return de.sent(),[3,7];case 6:return te=de.sent(),n._handleException(te),n.stop({reason:"sendReplay"}),oe=(0,B.getCurrentHub)().getClient(),oe&&oe.recordDroppedEvent("send_error","replay"),[3,7];case 7:return[2]}})})()},t.__init5=function(){var n=this;this._flush=D(function(){var E,j,J,V,Q,te,oe,de,ue,le,Se=arguments;return z(this,function(me){switch(me.label){case 0:return E=Se.length>0&&Se[0]!==void 0?Se[0]:{},j=E.force,J=j===void 0?!1:j,!n._isEnabled&&!J?[2]:n.checkAndHandleExpiredSession()?n.session?(V=n.session.started,Q=Date.now(),te=Q-V,n._debouncedFlush.cancel(),oe=te<n._options.minReplayDuration,de=te>n._options.maxReplayDuration+5e3,oe||de?(Ct("[Replay] Session duration (".concat(Math.floor(te/1e3),"s) is too ").concat(oe?"short":"long",", not sending replay."),n._options._experiments.traceInternals),oe&&n._debouncedFlush(),[2]):(ue=n.eventBuffer,ue&&n.session.segmentId===0&&!ue.hasCheckout&&Ct("[Replay] Flushing initial segment without checkout.",n._options._experiments.traceInternals),n._flushLock?[3,2]:(n._flushLock=n._runFlush(),[4,n._flushLock]))):[2]:((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.error("[Replay] Attempting to finish replay event after session expired."),[2]);case 1:return me.sent(),n._flushLock=void 0,[2];case 2:return me.trys.push([2,4,5,6]),[4,n._flushLock];case 3:return me.sent(),[3,6];case 4:return le=me.sent(),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.error(le),[3,6];case 5:return n._debouncedFlush(),[7];case 6:return[2]}})})},t._maybeSaveSession=function(){this.session&&this._options.stickySession&&Wi(this.session)},t.__init6=function(){var n=this;this._onMutationHandler=function(E){var j=E.length,J=n._options.mutationLimit,V=n._options.mutationBreadcrumbLimit,Q=J&&j>J;if(j>V||Q){var te=nr({category:"replay.mutations",data:{count:j,limit:Q}});n._createCustomBreadcrumb(te)}return Q?(n.stop({reason:"mutationLimit",forceFlush:n.recordingMode==="session"}),!1):!0}},e}();function On(e,t,r,n){var E=typeof n=="string"?n.split(","):[],j=_(e).concat(_(E),_(t));return typeof r!="undefined"&&(typeof r=="string"&&j.push(".".concat(r)),console.warn("[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.")),j.join(",")}function ss(e){var t=e.mask,r=e.unmask,n=e.block,E=e.unblock,j=e.ignore,J=e.blockClass,V=e.blockSelector,Q=e.maskTextClass,te=e.maskTextSelector,oe=e.ignoreClass,de=['base[href="/"]'],ue=On(t,[".sentry-mask","[data-sentry-mask]"],Q,te),le=On(r,[".sentry-unmask","[data-sentry-unmask]"]),Se={maskTextSelector:ue,unmaskTextSelector:le,blockSelector:On(n,[".sentry-block","[data-sentry-block]"].concat(_(de)),J,V),unblockSelector:On(E,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:On(j,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'],oe)};return g(J,RegExp)&&(Se.blockClass=J),g(Q,RegExp)&&(Se.maskTextClass=Q),Se}function cs(e){var t=e.el,r=e.key,n=e.maskAttributes,E=e.maskAllText,j=e.privacyOptions,J=e.value;return!E||j.unmaskTextSelector&&t.matches(j.unmaskTextSelector)?J:n.includes(r)||r==="value"&&t.tagName==="INPUT"&&["submit","button"].includes(t.getAttribute("type")||"")?J.replace(/[\S]/g,"*"):J}var Wa='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',ls=["content-length","content-type","accept"],Ya=!1,Ja=function(){"use strict";function e(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=r.flushMinDelay,E=n===void 0?re:n,j=r.flushMaxDelay,J=j===void 0?ae:j,V=r.minReplayDuration,Q=V===void 0?De:V,te=r.maxReplayDuration,oe=te===void 0?$e:te,de=r.stickySession,ue=de===void 0?!0:de,le=r.useCompression,Se=le===void 0?!0:le,me=r.workerUrl,ge=r._experiments,he=ge===void 0?{}:ge,ye=r.sessionSampleRate,Te=r.errorSampleRate,Ce=r.maskAllText,Ae=Ce===void 0?!0:Ce,Ue=r.maskAllInputs,xe=Ue===void 0?!0:Ue,Ze=r.blockAllMedia,Ne=Ze===void 0?!0:Ze,Ge=r.mutationBreadcrumbLimit,Ye=Ge===void 0?750:Ge,Xe=r.mutationLimit,Fe=Xe===void 0?1e4:Xe,lt=r.slowClickTimeout,qe=lt===void 0?7e3:lt,je=r.slowClickIgnoreSelectors,Je=je===void 0?[]:je,tt=r.networkDetailAllowUrls,ft=tt===void 0?[]:tt,at=r.networkDetailDenyUrls,pt=at===void 0?[]:at,Rt=r.networkCaptureBodies,Dt=Rt===void 0?!0:Rt,Et=r.networkRequestHeaders,st=Et===void 0?[]:Et,Ot=r.networkResponseHeaders,rt=Ot===void 0?[]:Ot,Pt=r.mask,or=Pt===void 0?[]:Pt,ur=r.maskAttributes,Lt=ur===void 0?["title","placeholder"]:ur,Mt=r.unmask,Br=Mt===void 0?[]:Mt,Vt=r.block,Zt=Vt===void 0?[]:Vt,Lr=r.unblock,vr=Lr===void 0?[]:Lr,sr=r.ignore,rn=sr===void 0?[]:sr,Fr=r.maskFn,_r=r.beforeAddRecordingEvent,yr=r.blockClass,br=r.blockSelector,cr=r.maskInputOptions,Tt=r.maskTextClass,Gr=r.maskTextSelector,Tn=r.ignoreClass;N(this,e),this.name=e.id;var wn=ss({mask:or,unmask:Br,block:Zt,unblock:vr,ignore:rn,blockClass:yr,blockSelector:br,maskTextClass:Tt,maskTextSelector:Gr,ignoreClass:Tn});if(this._recordingOptions=p(l({maskAllInputs:xe,maskAllText:Ae,maskInputOptions:p(l({},cr||{}),{password:!0}),maskTextFn:Fr,maskInputFn:Fr,maskAttributeFn:function(Sr,In,hi){return cs({maskAttributes:Lt,maskAllText:Ae,privacyOptions:wn,key:Sr,value:In,el:hi})}},wn),{slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:function(Sr){try{Sr.__rrweb__=!0}catch(In){}}}),this._initialOptions={flushMinDelay:E,flushMaxDelay:J,minReplayDuration:Math.min(Q,Be),maxReplayDuration:Math.min(oe,$e),stickySession:ue,sessionSampleRate:ye,errorSampleRate:Te,useCompression:Se,workerUrl:me,blockAllMedia:Ne,maskAllInputs:xe,maskAllText:Ae,mutationBreadcrumbLimit:Ye,mutationLimit:Fe,slowClickTimeout:qe,slowClickIgnoreSelectors:Je,networkDetailAllowUrls:ft,networkDetailDenyUrls:pt,networkCaptureBodies:Dt,networkRequestHeaders:za(st),networkResponseHeaders:za(rt),beforeAddRecordingEvent:_r,_experiments:he},typeof ye=="number"&&(console.warn("[Replay] You are passing `sessionSampleRate` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure `replaysSessionSampleRate` directly in the SDK init options, e.g.:\nSentry.init({ replaysSessionSampleRate: ".concat(ye," })")),this._initialOptions.sessionSampleRate=ye),typeof Te=="number"&&(console.warn("[Replay] You are passing `errorSampleRate` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure `replaysOnErrorSampleRate` directly in the SDK init options, e.g.:\nSentry.init({ replaysOnErrorSampleRate: ".concat(Te," })")),this._initialOptions.errorSampleRate=Te),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?"".concat(this._recordingOptions.blockSelector,",").concat(Wa):Wa),this._isInitialized&&(0,v.isBrowser)())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}var t=e.prototype;return t.setupOnce=function(){var n=this;!(0,v.isBrowser)()||(this._setup(),setTimeout(function(){return n._initialize()}))},t.start=function(){!this._replay||this._replay.start()},t.startBuffering=function(){!this._replay||this._replay.startBuffering()},t.stop=function(){return this._replay?this._replay.stop({forceFlush:this._replay.recordingMode==="session"}):Promise.resolve()},t.flush=function(n){return!this._replay||!this._replay.isEnabled()?Promise.resolve():this._replay.sendBufferedReplayOrFlush(n)},t.getReplayId=function(){if(!(!this._replay||!this._replay.isEnabled()))return this._replay.getSessionId()},t._initialize=function(){!this._replay||this._replay.initializeSampling()},t._setup=function(){var n=fs(this._initialOptions);this._replay=new us({options:n,recordingOptions:this._recordingOptions})},e.__initStatic=function(){this.id="Replay"},u(e,[{key:"_isInitialized",get:function(){return Ya},set:function(n){Ya=n}}]),e}();Ja.__initStatic();function fs(e){var t=(0,B.getCurrentHub)().getClient(),r=t&&t.getOptions(),n=l({sessionSampleRate:0,errorSampleRate:0},(0,v.dropUndefinedKeys)(e));return r?(e.sessionSampleRate==null&&e.errorSampleRate==null&&r.replaysSessionSampleRate==null&&r.replaysOnErrorSampleRate==null&&console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set."),typeof r.replaysSessionSampleRate=="number"&&(n.sessionSampleRate=r.replaysSessionSampleRate),typeof r.replaysOnErrorSampleRate=="number"&&(n.errorSampleRate=r.replaysOnErrorSampleRate),n):(console.warn("SDK client is not available."),n)}function za(e){return _(ls).concat(_(e.map(function(t){return t.toLowerCase()})))}},439185:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"applyAggregateErrorsToEvent",{enumerable:!0,get:function(){return b}});var B=S(353307),v=S(331910);function k(g,f){(f==null||f>g.length)&&(f=g.length);for(var d=0,i=new Array(f);d<f;d++)i[d]=g[d];return i}function G(g){if(Array.isArray(g))return k(g)}function L(g,f,d){return f in g?Object.defineProperty(g,f,{value:d,enumerable:!0,configurable:!0,writable:!0}):g[f]=d,g}function M(g){if(typeof Symbol!="undefined"&&g[Symbol.iterator]!=null||g["@@iterator"]!=null)return Array.from(g)}function C(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function O(g){for(var f=1;f<arguments.length;f++){var d=arguments[f]!=null?arguments[f]:{},i=Object.keys(d);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(d).filter(function(a){return Object.getOwnPropertyDescriptor(d,a).enumerable}))),i.forEach(function(a){L(g,a,d[a])})}return g}function D(g,f){var d=Object.keys(g);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(g);f&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(g,a).enumerable})),d.push.apply(d,i)}return d}function N(g,f){return f=f!=null?f:{},Object.getOwnPropertyDescriptors?Object.defineProperties(g,Object.getOwnPropertyDescriptors(f)):D(Object(f)).forEach(function(d){Object.defineProperty(g,d,Object.getOwnPropertyDescriptor(f,d))}),g}function m(g){return G(g)||M(g)||w(g)||C()}function w(g,f){if(!!g){if(typeof g=="string")return k(g,f);var d=Object.prototype.toString.call(g).slice(8,-1);if(d==="Object"&&g.constructor&&(d=g.constructor.name),d==="Map"||d==="Set")return Array.from(d);if(d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d))return k(g,f)}}function b(g,f){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:250,i=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0,l=arguments.length>6?arguments[6]:void 0;if(!(!o.exception||!o.exception.values||!l||!(0,B.isInstanceOf)(l.originalException,Error))){var y=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;y&&(o.exception.values=R(u(g,f,a,l.originalException,i,o.exception.values,y,0),d))}}function u(g,f,d,i,a,o,l,y){if(o.length>=d+1)return o;var p=m(o);if((0,B.isInstanceOf)(i[a],Error)){s(l,y);var I=g(f,i[a]),P=p.length;c(I,a,P,y),p=u(g,f,d,i[a],a,[I].concat(m(p)),I,P)}return Array.isArray(i.errors)&&i.errors.forEach(function(h,_){if((0,B.isInstanceOf)(h,Error)){s(l,y);var T=g(f,h),A=p.length;c(T,"errors[".concat(_,"]"),A,y),p=u(g,f,d,h,a,[T].concat(m(p)),T,A)}}),p}function s(g,f){g.mechanism=g.mechanism||{type:"generic",handled:!0},g.mechanism=N(O({},g.mechanism),{is_exception_group:!0,exception_id:f})}function c(g,f,d,i){g.mechanism=g.mechanism||{type:"generic",handled:!0},g.mechanism=N(O({},g.mechanism),{type:"chained",source:f,exception_id:d,parent_id:i})}function R(g,f){return g.map(function(d){return d.value&&(d.value=(0,v.truncate)(d.value,f)),d})}},96394:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(u,s){for(var c in s)Object.defineProperty(u,c,{enumerable:!0,get:s[c]})}B(x,{createDebugPauseMessageHandler:function(){return b},watchdogTimer:function(){return m}});var v=S(698033),k=S(790461),G=S(699196);function L(u,s){(s==null||s>u.length)&&(s=u.length);for(var c=0,R=new Array(s);c<s;c++)R[c]=u[c];return R}function M(u){if(Array.isArray(u))return L(u)}function C(u){if(typeof Symbol!="undefined"&&u[Symbol.iterator]!=null||u["@@iterator"]!=null)return Array.from(u)}function O(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function D(u){return M(u)||C(u)||N(u)||O()}function N(u,s){if(!!u){if(typeof u=="string")return L(u,s);var c=Object.prototype.toString.call(u).slice(8,-1);if(c==="Object"&&u.constructor&&(c=u.constructor.name),c==="Map"||c==="Set")return Array.from(c);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return L(u,s)}}function m(u,s,c,R){var g=u(),f=!1,d=!0;return setInterval(function(){var i=g.getTimeMs();f===!1&&i>s+c&&(f=!0,d&&R()),i<s+c&&(f=!1)},20),{poll:function(){g.reset()},enabled:function(i){d=i}}}function w(u,s,c){var R=s?s.replace(/^file:\/\//,""):void 0,g=u.location.columnNumber?u.location.columnNumber+1:void 0,f=u.location.lineNumber?u.location.lineNumber+1:void 0;return(0,v.dropUndefinedKeys)({filename:R,module:c(R),function:u.functionName||"?",colno:g,lineno:f,in_app:R?(0,G.filenameIsInApp)(R):void 0})}function b(u,s,c){var R=new Map;return function(g){if(g.method==="Debugger.scriptParsed")R.set(g.params.scriptId,g.params.url);else if(g.method==="Debugger.paused"){var f=D(g.params.callFrames);u("Debugger.resume"),u("Debugger.disable");var d=(0,k.stripSentryFramesAndReverse)(f.map(function(i){return w(i,R.get(i.location.scriptId),s)}));c(d)}}}},237136:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(d,i){for(var a in i)Object.defineProperty(d,a,{enumerable:!0,get:i[a]})}B(x,{BAGGAGE_HEADER_NAME:function(){return w},MAX_BAGGAGE_STRING_LENGTH:function(){return s},SENTRY_BAGGAGE_KEY_PREFIX:function(){return b},SENTRY_BAGGAGE_KEY_PREFIX_REGEX:function(){return u},baggageHeaderToDynamicSamplingContext:function(){return c},dynamicSamplingContextToSentryBaggageHeader:function(){return R}});var v=S(353307),k=S(853108);function G(d,i){(i==null||i>d.length)&&(i=d.length);for(var a=0,o=new Array(i);a<i;a++)o[a]=d[a];return o}function L(d){if(Array.isArray(d))return d}function M(d,i,a){return i in d?Object.defineProperty(d,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):d[i]=a,d}function C(d,i){var a=d==null?null:typeof Symbol!="undefined"&&d[Symbol.iterator]||d["@@iterator"];if(a!=null){var o=[],l=!0,y=!1,p,I;try{for(a=a.call(d);!(l=(p=a.next()).done)&&(o.push(p.value),!(i&&o.length===i));l=!0);}catch(P){y=!0,I=P}finally{try{!l&&a.return!=null&&a.return()}finally{if(y)throw I}}return o}}function O(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function D(d){for(var i=1;i<arguments.length;i++){var a=arguments[i]!=null?arguments[i]:{},o=Object.keys(a);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(a).filter(function(l){return Object.getOwnPropertyDescriptor(a,l).enumerable}))),o.forEach(function(l){M(d,l,a[l])})}return d}function N(d,i){return L(d)||C(d,i)||m(d,i)||O()}function m(d,i){if(!!d){if(typeof d=="string")return G(d,i);var a=Object.prototype.toString.call(d).slice(8,-1);if(a==="Object"&&d.constructor&&(a=d.constructor.name),a==="Map"||a==="Set")return Array.from(a);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return G(d,i)}}var w="baggage",b="sentry-",u=/^sentry-/,s=8192;function c(d){if(!(!(0,v.isString)(d)&&!Array.isArray(d))){var i={};if(Array.isArray(d))i=d.reduce(function(o,l){var y=g(l);return D({},o,y)},{});else{if(!d)return;i=g(d)}var a=Object.entries(i).reduce(function(o,l){var y=N(l,2),p=y[0],I=y[1];if(p.match(u)){var P=p.slice(b.length);o[P]=I}return o},{});if(Object.keys(a).length>0)return a}}function R(d){if(!!d){var i=Object.entries(d).reduce(function(a,o){var l=N(o,2),y=l[0],p=l[1];return p&&(a["".concat(b).concat(y)]=p),a},{});return f(i)}}function g(d){return d.split(",").map(function(i){return i.split("=").map(function(a){return decodeURIComponent(a.trim())})}).reduce(function(i,a){var o=N(a,2),l=o[0],y=o[1];return i[l]=y,i},{})}function f(d){if(Object.keys(d).length!==0)return Object.entries(d).reduce(function(i,a,o){var l=N(a,2),y=l[0],p=l[1],I="".concat(encodeURIComponent(y),"=").concat(encodeURIComponent(p)),P=o===0?I:"".concat(i,",").concat(I);return P.length>s?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.warn("Not adding key: ".concat(y," with val: ").concat(p," to baggage header due to exceeding baggage size limits.")),i):P},"")}},699552:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(N,m){for(var w in m)Object.defineProperty(N,w,{enumerable:!0,get:m[w]})}B(x,{getDomElement:function(){return D},getLocationHref:function(){return O},htmlTreeAsString:function(){return M}});var v=S(353307),k=S(193844),G=(0,k.getGlobalObject)(),L=80;function M(N){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!N)return"<unknown>";try{for(var w=N,b=5,u=[],s=0,c=0,R=" > ",g=R.length,f,d=Array.isArray(m)?m:m.keyAttrs,i=!Array.isArray(m)&&m.maxStringLength||L;w&&s++<b&&(f=C(w,d),!(f==="html"||s>1&&c+u.length*g+f.length>=i));)u.push(f),c+=f.length,w=w.parentNode;return u.reverse().join(R)}catch(a){return"<unknown>"}}function C(N,m){var w=N,b=[],u,s,c,R,g;if(!w||!w.tagName)return"";b.push(w.tagName.toLowerCase());var f=m&&m.length?m.filter(function(i){return w.getAttribute(i)}).map(function(i){return[i,w.getAttribute(i)]}):null;if(f&&f.length)f.forEach(function(i){b.push("[".concat(i[0],'="').concat(i[1],'"]'))});else if(w.id&&b.push("#".concat(w.id)),u=w.className,u&&(0,v.isString)(u))for(s=u.split(/\s+/),g=0;g<s.length;g++)b.push(".".concat(s[g]));var d=["aria-label","type","name","title","alt"];for(g=0;g<d.length;g++)c=d[g],R=w.getAttribute(c),R&&b.push("[".concat(c,'="').concat(R,'"]'));return b.join("")}function O(){try{return G.document.location.href}catch(N){return""}}function D(N){return G.document&&G.document.querySelector?G.document.querySelector(N):null}},656815:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"_asyncNullishCoalesce",{enumerable:!0,get:function(){return L}});var B=S(349515);function v(C,O,D,N,m,w,b){try{var u=C[w](b),s=u.value}catch(c){D(c);return}u.done?O(s):Promise.resolve(s).then(N,m)}function k(C){return function(){var O=this,D=arguments;return new Promise(function(N,m){var w=C.apply(O,D);function b(s){v(w,N,m,b,u,"next",s)}function u(s){v(w,N,m,b,u,"throw",s)}b(void 0)})}}var G=function(C,O){var D,N,m,w,b={label:0,sent:function(){if(m[0]&1)throw m[1];return m[1]},trys:[],ops:[]};return w={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(w[Symbol.iterator]=function(){return this}),w;function u(c){return function(R){return s([c,R])}}function s(c){if(D)throw new TypeError("Generator is already executing.");for(;b;)try{if(D=1,N&&(m=c[0]&2?N.return:c[0]?N.throw||((m=N.return)&&m.call(N),0):N.next)&&!(m=m.call(N,c[1])).done)return m;switch(N=0,m&&(c=[c[0]&2,m.value]),c[0]){case 0:case 1:m=c;break;case 4:return b.label++,{value:c[1],done:!1};case 5:b.label++,N=c[1],c=[0];continue;case 7:c=b.ops.pop(),b.trys.pop();continue;default:if(m=b.trys,!(m=m.length>0&&m[m.length-1])&&(c[0]===6||c[0]===2)){b=0;continue}if(c[0]===3&&(!m||c[1]>m[0]&&c[1]<m[3])){b.label=c[1];break}if(c[0]===6&&b.label<m[1]){b.label=m[1],m=c;break}if(m&&b.label<m[2]){b.label=m[2],b.ops.push(c);break}m[2]&&b.ops.pop(),b.trys.pop();continue}c=O.call(C,b)}catch(R){c=[6,R],N=0}finally{D=m=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}};function L(C,O){return M.apply(this,arguments)}function M(){return M=k(function(C,O){return G(this,function(D){return[2,(0,B._nullishCoalesce)(C,O)]})}),M.apply(this,arguments)}},420406:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"_asyncOptionalChain",{enumerable:!0,get:function(){return D}});function S(m,w){(w==null||w>m.length)&&(w=m.length);for(var b=0,u=new Array(w);b<w;b++)u[b]=m[b];return u}function B(m){if(Array.isArray(m))return S(m)}function v(m,w,b,u,s,c,R){try{var g=m[c](R),f=g.value}catch(d){b(d);return}g.done?w(f):Promise.resolve(f).then(u,s)}function k(m){return function(){var w=this,b=arguments;return new Promise(function(u,s){var c=m.apply(w,b);function R(f){v(c,u,s,R,g,"next",f)}function g(f){v(c,u,s,R,g,"throw",f)}R(void 0)})}}function G(m){if(typeof Symbol!="undefined"&&m[Symbol.iterator]!=null||m["@@iterator"]!=null)return Array.from(m)}function L(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function M(m){return B(m)||G(m)||C(m)||L()}function C(m,w){if(!!m){if(typeof m=="string")return S(m,w);var b=Object.prototype.toString.call(m).slice(8,-1);if(b==="Object"&&m.constructor&&(b=m.constructor.name),b==="Map"||b==="Set")return Array.from(b);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return S(m,w)}}var O=function(m,w){var b,u,s,c,R={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]};return c={next:g(0),throw:g(1),return:g(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function g(d){return function(i){return f([d,i])}}function f(d){if(b)throw new TypeError("Generator is already executing.");for(;R;)try{if(b=1,u&&(s=d[0]&2?u.return:d[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,d[1])).done)return s;switch(u=0,s&&(d=[d[0]&2,s.value]),d[0]){case 0:case 1:s=d;break;case 4:return R.label++,{value:d[1],done:!1};case 5:R.label++,u=d[1],d=[0];continue;case 7:d=R.ops.pop(),R.trys.pop();continue;default:if(s=R.trys,!(s=s.length>0&&s[s.length-1])&&(d[0]===6||d[0]===2)){R=0;continue}if(d[0]===3&&(!s||d[1]>s[0]&&d[1]<s[3])){R.label=d[1];break}if(d[0]===6&&R.label<s[1]){R.label=s[1],s=d;break}if(s&&R.label<s[2]){R.label=s[2],R.ops.push(d);break}s[2]&&R.ops.pop(),R.trys.pop();continue}d=w.call(m,R)}catch(i){d=[6,i],u=0}finally{b=s=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}};function D(m){return N.apply(this,arguments)}function N(){return N=k(function(m){var w,b,u,s,c,R;return O(this,function(g){switch(g.label){case 0:w=void 0,b=m[0],u=1,g.label=1;case 1:return u<m.length?(s=m[u],c=m[u+1],u+=2,(s==="optionalAccess"||s==="optionalCall")&&b==null?[2]:s==="access"||s==="optionalAccess"?(w=b,[4,c(b)]):[3,3]):[3,6];case 2:return b=g.sent(),[3,5];case 3:return s==="call"||s==="optionalCall"?[4,c(function(){for(var f=arguments.length,d=new Array(f),i=0;i<f;i++)d[i]=arguments[i];return(R=b).call.apply(R,[w].concat(M(d)))})]:[3,5];case 4:b=g.sent(),w=void 0,g.label=5;case 5:return[3,1];case 6:return[2,b]}})}),N.apply(this,arguments)}},460443:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"_asyncOptionalChainDelete",{enumerable:!0,get:function(){return L}});var B=S(420406);function v(C,O,D,N,m,w,b){try{var u=C[w](b),s=u.value}catch(c){D(c);return}u.done?O(s):Promise.resolve(s).then(N,m)}function k(C){return function(){var O=this,D=arguments;return new Promise(function(N,m){var w=C.apply(O,D);function b(s){v(w,N,m,b,u,"next",s)}function u(s){v(w,N,m,b,u,"throw",s)}b(void 0)})}}var G=function(C,O){var D,N,m,w,b={label:0,sent:function(){if(m[0]&1)throw m[1];return m[1]},trys:[],ops:[]};return w={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(w[Symbol.iterator]=function(){return this}),w;function u(c){return function(R){return s([c,R])}}function s(c){if(D)throw new TypeError("Generator is already executing.");for(;b;)try{if(D=1,N&&(m=c[0]&2?N.return:c[0]?N.throw||((m=N.return)&&m.call(N),0):N.next)&&!(m=m.call(N,c[1])).done)return m;switch(N=0,m&&(c=[c[0]&2,m.value]),c[0]){case 0:case 1:m=c;break;case 4:return b.label++,{value:c[1],done:!1};case 5:b.label++,N=c[1],c=[0];continue;case 7:c=b.ops.pop(),b.trys.pop();continue;default:if(m=b.trys,!(m=m.length>0&&m[m.length-1])&&(c[0]===6||c[0]===2)){b=0;continue}if(c[0]===3&&(!m||c[1]>m[0]&&c[1]<m[3])){b.label=c[1];break}if(c[0]===6&&b.label<m[1]){b.label=m[1],m=c;break}if(m&&b.label<m[2]){b.label=m[2],b.ops.push(c);break}m[2]&&b.ops.pop(),b.trys.pop();continue}c=O.call(C,b)}catch(R){c=[6,R],N=0}finally{D=m=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}};function L(C){return M.apply(this,arguments)}function M(){return M=k(function(C){var O;return G(this,function(D){switch(D.label){case 0:return[4,(0,B._asyncOptionalChain)(C)];case 1:return O=D.sent(),[2,O==null?!0:O]}})}),M.apply(this,arguments)}},349515:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"_nullishCoalesce",{enumerable:!0,get:function(){return S}});function S(B,v){return B!=null?B:v()}},32159:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"_optionalChain",{enumerable:!0,get:function(){return M}});function S(C,O){(O==null||O>C.length)&&(O=C.length);for(var D=0,N=new Array(O);D<O;D++)N[D]=C[D];return N}function B(C){if(Array.isArray(C))return S(C)}function v(C){if(typeof Symbol!="undefined"&&C[Symbol.iterator]!=null||C["@@iterator"]!=null)return Array.from(C)}function k(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function G(C){return B(C)||v(C)||L(C)||k()}function L(C,O){if(!!C){if(typeof C=="string")return S(C,O);var D=Object.prototype.toString.call(C).slice(8,-1);if(D==="Object"&&C.constructor&&(D=C.constructor.name),D==="Map"||D==="Set")return Array.from(D);if(D==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return S(C,O)}}function M(C){for(var O=void 0,D=C[0],N=1;N<C.length;){var m=C[N],w=C[N+1];if(N+=2,(m==="optionalAccess"||m==="optionalCall")&&D==null)return;if(m==="access"||m==="optionalAccess")O=D,D=w(D);else if(m==="call"||m==="optionalCall"){var b;D=w(function(){for(var u=arguments.length,s=new Array(u),c=0;c<u;c++)s[c]=arguments[c];return(b=D).call.apply(b,[O].concat(G(s)))}),O=void 0}}return D}},878954:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"_optionalChainDelete",{enumerable:!0,get:function(){return v}});var B=S(32159);function v(k){var G=(0,B._optionalChain)(k);return G==null?!0:G}},658780:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(O,D){for(var N in D)Object.defineProperty(O,N,{enumerable:!0,get:D[N]})}B(x,{_asyncNullishCoalesce:function(){return v._asyncNullishCoalesce},_asyncOptionalChain:function(){return k._asyncOptionalChain},_asyncOptionalChainDelete:function(){return G._asyncOptionalChainDelete},_nullishCoalesce:function(){return L._nullishCoalesce},_optionalChain:function(){return M._optionalChain},_optionalChainDelete:function(){return C._optionalChainDelete}});var v=S(656815),k=S(420406),G=S(460443),L=S(349515),M=S(32159),C=S(878954)},16746:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"makeFifoCache",{enumerable:!0,get:function(){return S}});function S(B){var v=[],k={};return{add:function(L,M){for(;v.length>=B;){var C=v.shift();C!==void 0&&delete k[C]}k[L]&&this.delete(L),v.push(L),k[L]=M},clear:function(){k={},v=[]},get:function(L){return k[L]},size:function(){return v.length},delete:function(L){if(!k[L])return!1;delete k[L];for(var M=0;M<v.length;M++)if(v[M]===L){v.splice(M,1);break}return!0}}}},37250:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"createClientReportEnvelope",{enumerable:!0,get:function(){return k}});var B=S(683062),v=S(22195);function k(G,L,M){var C=[{type:"client_report"},{timestamp:M||(0,v.dateTimestampInSeconds)(),discarded_events:G}];return(0,B.createEnvelope)(L?{dsn:L}:{},[C])}},556864:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(c,R){for(var g in R)Object.defineProperty(c,g,{enumerable:!0,get:R[g]})}B(x,{dsnFromString:function(){return w},dsnToString:function(){return m},makeDsn:function(){return s}});var v=S(853108);function k(c,R){(R==null||R>c.length)&&(R=c.length);for(var g=0,f=new Array(R);g<R;g++)f[g]=c[g];return f}function G(c){if(Array.isArray(c))return c}function L(c,R){var g=c==null?null:typeof Symbol!="undefined"&&c[Symbol.iterator]||c["@@iterator"];if(g!=null){var f=[],d=!0,i=!1,a,o;try{for(g=g.call(c);!(d=(a=g.next()).done)&&(f.push(a.value),!(R&&f.length===R));d=!0);}catch(l){i=!0,o=l}finally{try{!d&&g.return!=null&&g.return()}finally{if(i)throw o}}return f}}function M(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function C(c,R){return G(c)||L(c,R)||O(c,R)||M()}function O(c,R){if(!!c){if(typeof c=="string")return k(c,R);var g=Object.prototype.toString.call(c).slice(8,-1);if(g==="Object"&&c.constructor&&(g=c.constructor.name),g==="Map"||g==="Set")return Array.from(g);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return k(c,R)}}var D=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function N(c){return c==="http"||c==="https"}function m(c){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,g=c.host,f=c.path,d=c.pass,i=c.port,a=c.projectId,o=c.protocol,l=c.publicKey;return"".concat(o,"://").concat(l).concat(R&&d?":".concat(d):"")+"@".concat(g).concat(i?":".concat(i):"","/").concat(f&&"".concat(f,"/")).concat(a)}function w(c){var R=D.exec(c);if(!R){console.error("Invalid Sentry Dsn: ".concat(c));return}var g=C(R.slice(1),6),f=g[0],d=g[1],i=g[2],a=i===void 0?"":i,o=g[3],l=g[4],y=l===void 0?"":l,p=g[5],I="",P=p,h=P.split("/");if(h.length>1&&(I=h.slice(0,-1).join("/"),P=h.pop()),P){var _=P.match(/^\d+/);_&&(P=_[0])}return b({host:o,pass:a,path:I,projectId:P,port:y,protocol:f,publicKey:d})}function b(c){return{protocol:c.protocol,publicKey:c.publicKey||"",pass:c.pass||"",host:c.host,port:c.port||"",path:c.path||"",projectId:c.projectId}}function u(c){if(!(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__))return!0;var R=c.port,g=c.projectId,f=c.protocol,d=["protocol","publicKey","host","projectId"],i=d.find(function(a){return c[a]?!1:(v.logger.error("Invalid Sentry Dsn: ".concat(a," missing")),!0)});return i?!1:g.match(/^\d+$/)?N(f)?R&&isNaN(parseInt(R,10))?(v.logger.error("Invalid Sentry Dsn: Invalid port ".concat(R)),!1):!0:(v.logger.error("Invalid Sentry Dsn: Invalid protocol ".concat(f)),!1):(v.logger.error("Invalid Sentry Dsn: Invalid projectId ".concat(g)),!1)}function s(c){var R=typeof c=="string"?w(c):b(c);if(!(!R||!u(R)))return R}},606459:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function S(k,G){for(var L in G)Object.defineProperty(k,L,{enumerable:!0,get:G[L]})}S(x,{getSDKSource:function(){return v},isBrowserBundle:function(){return B}});function B(){return typeof __SENTRY_BROWSER_BUNDLE__!="undefined"&&!!__SENTRY_BROWSER_BUNDLE__}function v(){return"npm"}},683062:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(T,A){for(var U in A)Object.defineProperty(T,U,{enumerable:!0,get:A[U]})}B(x,{addItemToEnvelope:function(){return f},createAttachmentEnvelopeItem:function(){return p},createEnvelope:function(){return g},createEventEnvelopeHeaders:function(){return _},envelopeContainsItemType:function(){return i},envelopeItemTypeToDataCategory:function(){return P},forEachEnvelopeItem:function(){return d},getSdkMetadataForEnvelopeHeader:function(){return h},parseEnvelope:function(){return y},serializeEnvelope:function(){return o}});var v=S(556864),k=S(109059),G=S(698033);function L(T,A){(A==null||A>T.length)&&(A=T.length);for(var U=0,H=new Array(A);U<A;U++)H[U]=T[U];return H}function M(T){if(Array.isArray(T))return T}function C(T){if(Array.isArray(T))return L(T)}function O(T,A,U){return A in T?Object.defineProperty(T,A,{value:U,enumerable:!0,configurable:!0,writable:!0}):T[A]=U,T}function D(T,A){return A!=null&&typeof Symbol!="undefined"&&A[Symbol.hasInstance]?!!A[Symbol.hasInstance](T):T instanceof A}function N(T){if(typeof Symbol!="undefined"&&T[Symbol.iterator]!=null||T["@@iterator"]!=null)return Array.from(T)}function m(T,A){var U=T==null?null:typeof Symbol!="undefined"&&T[Symbol.iterator]||T["@@iterator"];if(U!=null){var H=[],F=!0,z=!1,Z,ee;try{for(U=U.call(T);!(F=(Z=U.next()).done)&&(H.push(Z.value),!(A&&H.length===A));F=!0);}catch(ne){z=!0,ee=ne}finally{try{!F&&U.return!=null&&U.return()}finally{if(z)throw ee}}return H}}function w(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(T){for(var A=1;A<arguments.length;A++){var U=arguments[A]!=null?arguments[A]:{},H=Object.keys(U);typeof Object.getOwnPropertySymbols=="function"&&(H=H.concat(Object.getOwnPropertySymbols(U).filter(function(F){return Object.getOwnPropertyDescriptor(U,F).enumerable}))),H.forEach(function(F){O(T,F,U[F])})}return T}function s(T,A){return M(T)||m(T,A)||R(T,A)||w()}function c(T){return C(T)||N(T)||R(T)||b()}function R(T,A){if(!!T){if(typeof T=="string")return L(T,A);var U=Object.prototype.toString.call(T).slice(8,-1);if(U==="Object"&&T.constructor&&(U=T.constructor.name),U==="Map"||U==="Set")return Array.from(U);if(U==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(U))return L(T,A)}}function g(T){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return[T,A]}function f(T,A){var U=s(T,2),H=U[0],F=U[1];return[H,c(F).concat([A])]}function d(T,A){var U=T[1],H=!0,F=!1,z=void 0;try{for(var Z=U[Symbol.iterator](),ee;!(H=(ee=Z.next()).done);H=!0){var ne=ee.value,W=ne[0].type,X=A(ne,W);if(X)return!0}}catch(Y){F=!0,z=Y}finally{try{!H&&Z.return!=null&&Z.return()}finally{if(F)throw z}}return!1}function i(T,A){return d(T,function(U,H){return A.includes(H)})}function a(T,A){var U=A||new TextEncoder;return U.encode(T)}function o(T,A){var U=function(ce){typeof Z=="string"?Z=typeof ce=="string"?Z+ce:[a(Z,A),ce]:Z.push(typeof ce=="string"?a(ce,A):ce)},H=s(T,2),F=H[0],z=H[1],Z=JSON.stringify(F),ee=!0,ne=!1,W=void 0;try{for(var X=z[Symbol.iterator](),Y;!(ee=(Y=X.next()).done);ee=!0){var re=Y.value,ae=s(re,2),pe=ae[0],ve=ae[1];if(U("\n".concat(JSON.stringify(pe),"\n")),typeof ve=="string"||D(ve,Uint8Array))U(ve);else{var we=void 0;try{we=JSON.stringify(ve)}catch(Pe){we=JSON.stringify((0,k.normalize)(ve))}U(we)}}}catch(Pe){ne=!0,W=Pe}finally{try{!ee&&X.return!=null&&X.return()}finally{if(ne)throw W}}return typeof Z=="string"?Z:l(Z)}function l(T){var A=T.reduce(function(X,Y){return X+Y.length},0),U=new Uint8Array(A),H=0,F=!0,z=!1,Z=void 0;try{for(var ee=T[Symbol.iterator](),ne;!(F=(ne=ee.next()).done);F=!0){var W=ne.value;U.set(W,H),H+=W.length}}catch(X){z=!0,Z=X}finally{try{!F&&ee.return!=null&&ee.return()}finally{if(z)throw Z}}return U}function y(T,A,U){for(var H=function(Y){var re=z.subarray(0,Y);return z=z.subarray(Y+1),re},F=function(){var Y=z.indexOf(10);return Y<0&&(Y=z.length),JSON.parse(U.decode(H(Y)))},z=typeof T=="string"?A.encode(T):T,Z=F(),ee=[];z.length;){var ne=F(),W=typeof ne.length=="number"?ne.length:void 0;ee.push([ne,W?H(W):F()])}return[Z,ee]}function p(T,A){var U=typeof T.data=="string"?a(T.data,A):T.data;return[(0,G.dropUndefinedKeys)({type:"attachment",length:U.length,filename:T.filename,content_type:T.contentType,attachment_type:T.attachmentType}),U]}var I={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",statsd:"unknown"};function P(T){return I[T]}function h(T){if(!(!T||!T.sdk)){var A=T.sdk,U=A.name,H=A.version;return{name:U,version:H}}}function _(T,A,U,H){var F=T.sdkProcessingMetadata&&T.sdkProcessingMetadata.dynamicSamplingContext;return u({event_id:T.event_id,sent_at:new Date().toISOString()},A&&{sdk:A},!!U&&H&&{dsn:(0,v.dsnToString)(H)},F&&{trace:(0,G.dropUndefinedKeys)(u({},F))})}},708605:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"SentryError",{enumerable:!0,get:function(){return u}});function S(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function B(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")}function v(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(s){return!1}}function k(s,c,R){return v()?k=Reflect.construct:k=function(f,d,i){var a=[null];a.push.apply(a,d);var o=Function.bind.apply(f,a),l=new o;return i&&D(l,i.prototype),l},k.apply(null,arguments)}function G(s){return G=Object.setPrototypeOf?Object.getPrototypeOf:function(R){return R.__proto__||Object.getPrototypeOf(R)},G(s)}function L(s,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(c&&c.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),c&&D(s,c)}function M(s,c){return c!=null&&typeof Symbol!="undefined"&&c[Symbol.hasInstance]?!!c[Symbol.hasInstance](s):s instanceof c}function C(s){return Function.toString.call(s).indexOf("[native code]")!==-1}function O(s,c){return c&&(N(c)==="object"||typeof c=="function")?c:S(s)}function D(s,c){return D=Object.setPrototypeOf||function(g,f){return g.__proto__=f,g},D(s,c)}var N=function(s){return s&&typeof Symbol!="undefined"&&s.constructor===Symbol?"symbol":typeof s};function m(s){var c=typeof Map=="function"?new Map:void 0;return m=function(g){if(g===null||!C(g))return g;if(typeof g!="function")throw new TypeError("Super expression must either be null or a function");if(typeof c!="undefined"){if(c.has(g))return c.get(g);c.set(g,f)}function f(){return k(g,arguments,G(this).constructor)}return f.prototype=Object.create(g.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),D(f,g)},m(s)}function w(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(s){return!1}}function b(s){var c=w();return function(){var g=G(s),f;if(c){var d=G(this).constructor;f=Reflect.construct(g,arguments,d)}else f=g.apply(this,arguments);return O(this,f)}}var u=function(c){"use strict";L(g,c);var R=b(g);function g(f){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"warn";B(this,g);var i;return i=R.call(this,f),i.message=f,i.name=(M(this,g)?this.constructor:void 0).prototype.constructor.name,Object.setPrototypeOf(S(i),(M(this,g)?this.constructor:void 0).prototype),i.logLevel=d,i}return g}(m(Error))},141651:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(s,c){for(var R in c)Object.defineProperty(s,R,{enumerable:!0,get:c[R]})}B(x,{eventFromMessage:function(){return u},eventFromUnknownInput:function(){return b},exceptionFromError:function(){return m},parseStackFrames:function(){return N}});var v=S(353307),k=S(222217),G=S(109059),L=S(698033);function M(s,c,R){return c in s?Object.defineProperty(s,c,{value:R,enumerable:!0,configurable:!0,writable:!0}):s[c]=R,s}function C(s){for(var c=1;c<arguments.length;c++){var R=arguments[c]!=null?arguments[c]:{},g=Object.keys(R);typeof Object.getOwnPropertySymbols=="function"&&(g=g.concat(Object.getOwnPropertySymbols(R).filter(function(f){return Object.getOwnPropertyDescriptor(R,f).enumerable}))),g.forEach(function(f){M(s,f,R[f])})}return s}function O(s,c){var R=Object.keys(s);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(s);c&&(g=g.filter(function(f){return Object.getOwnPropertyDescriptor(s,f).enumerable})),R.push.apply(R,g)}return R}function D(s,c){return c=c!=null?c:{},Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(c)):O(Object(c)).forEach(function(R){Object.defineProperty(s,R,Object.getOwnPropertyDescriptor(c,R))}),s}function N(s,c){return s(c.stack||"",1)}function m(s,c){var R={type:c.name||c.constructor.name,value:c.message},g=N(s,c);return g.length&&(R.stacktrace={frames:g}),R}function w(s){if("name"in s&&typeof s.name=="string"){var c="'".concat(s.name,"' captured as exception");return"message"in s&&typeof s.message=="string"&&(c+=" with message '".concat(s.message,"'")),c}else return"message"in s&&typeof s.message=="string"?s.message:"Object captured as exception with keys: ".concat((0,L.extractExceptionKeysForMessage)(s))}function b(s,c,R,g){var f=R,d=g&&g.data&&g.data.mechanism,i=d||{handled:!0,type:"generic"};if(!(0,v.isError)(R)){if((0,v.isPlainObject)(R)){var a=s(),o=a.getClient(),l=o&&o.getOptions().normalizeDepth;a.configureScope(function(I){I.setExtra("__serialized__",(0,G.normalizeToSize)(R,l))});var y=w(R);f=g&&g.syntheticException||new Error(y),f.message=y}else f=g&&g.syntheticException||new Error(R),f.message=R;i.synthetic=!0}var p={exception:{values:[m(c,f)]}};return(0,k.addExceptionTypeValue)(p,void 0,void 0),(0,k.addExceptionMechanism)(p,i),D(C({},p),{event_id:g&&g.event_id})}function u(s,c){var R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"info",g=arguments.length>3?arguments[3]:void 0,f=arguments.length>4?arguments[4]:void 0,d={event_id:g&&g.event_id,level:R,message:c};if(f&&g&&g.syntheticException){var i=N(s,g.syntheticException);i.length&&(d.exception={values:[{value:c,stacktrace:{frames:i}}]})}return d}},788894:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(W,X){for(var Y in X)Object.defineProperty(W,Y,{enumerable:!0,get:X[Y]})}B(x,{applyAggregateErrorsToEvent:function(){return v.applyAggregateErrorsToEvent},getDomElement:function(){return k.getDomElement},getLocationHref:function(){return k.getLocationHref},htmlTreeAsString:function(){return k.htmlTreeAsString},dsnFromString:function(){return G.dsnFromString},dsnToString:function(){return G.dsnToString},makeDsn:function(){return G.makeDsn},SentryError:function(){return L.SentryError},GLOBAL_OBJ:function(){return M.GLOBAL_OBJ},getGlobalObject:function(){return M.getGlobalObject},getGlobalSingleton:function(){return M.getGlobalSingleton},SENTRY_XHR_DATA_KEY:function(){return C.SENTRY_XHR_DATA_KEY},addInstrumentationHandler:function(){return C.addInstrumentationHandler},instrumentDOM:function(){return C.instrumentDOM},instrumentXHR:function(){return C.instrumentXHR},parseFetchArgs:function(){return C.parseFetchArgs},resetInstrumentationHandlers:function(){return C.resetInstrumentationHandlers},isDOMError:function(){return O.isDOMError},isDOMException:function(){return O.isDOMException},isElement:function(){return O.isElement},isError:function(){return O.isError},isErrorEvent:function(){return O.isErrorEvent},isEvent:function(){return O.isEvent},isInstanceOf:function(){return O.isInstanceOf},isNaN:function(){return O.isNaN},isPlainObject:function(){return O.isPlainObject},isPrimitive:function(){return O.isPrimitive},isRegExp:function(){return O.isRegExp},isString:function(){return O.isString},isSyntheticEvent:function(){return O.isSyntheticEvent},isThenable:function(){return O.isThenable},isVueViewModel:function(){return O.isVueViewModel},isBrowser:function(){return D.isBrowser},CONSOLE_LEVELS:function(){return N.CONSOLE_LEVELS},consoleSandbox:function(){return N.consoleSandbox},logger:function(){return N.logger},originalConsoleMethods:function(){return N.originalConsoleMethods},memoBuilder:function(){return m.memoBuilder},addContextToFrame:function(){return w.addContextToFrame},addExceptionMechanism:function(){return w.addExceptionMechanism},addExceptionTypeValue:function(){return w.addExceptionTypeValue},arrayify:function(){return w.arrayify},checkOrSetAlreadyCaught:function(){return w.checkOrSetAlreadyCaught},getEventDescription:function(){return w.getEventDescription},parseSemver:function(){return w.parseSemver},uuid4:function(){return w.uuid4},dynamicRequire:function(){return b.dynamicRequire},isNodeEnv:function(){return b.isNodeEnv},loadModule:function(){return b.loadModule},normalize:function(){return u.normalize},normalizeToSize:function(){return u.normalizeToSize},walk:function(){return u.walk},addNonEnumerableProperty:function(){return s.addNonEnumerableProperty},convertToPlainObject:function(){return s.convertToPlainObject},dropUndefinedKeys:function(){return s.dropUndefinedKeys},extractExceptionKeysForMessage:function(){return s.extractExceptionKeysForMessage},fill:function(){return s.fill},getOriginalFunction:function(){return s.getOriginalFunction},markFunctionWrapped:function(){return s.markFunctionWrapped},objectify:function(){return s.objectify},urlEncode:function(){return s.urlEncode},basename:function(){return c.basename},dirname:function(){return c.dirname},isAbsolute:function(){return c.isAbsolute},join:function(){return c.join},normalizePath:function(){return c.normalizePath},relative:function(){return c.relative},resolve:function(){return c.resolve},makePromiseBuffer:function(){return R.makePromiseBuffer},addRequestDataToEvent:function(){return g.addRequestDataToEvent},addRequestDataToTransaction:function(){return g.addRequestDataToTransaction},extractPathForTransaction:function(){return g.extractPathForTransaction},extractRequestData:function(){return g.extractRequestData},severityFromString:function(){return f.severityFromString},severityLevelFromString:function(){return f.severityLevelFromString},validSeverityLevels:function(){return f.validSeverityLevels},createStackParser:function(){return d.createStackParser},getFunctionName:function(){return d.getFunctionName},nodeStackLineParser:function(){return d.nodeStackLineParser},stackParserFromStackParserOptions:function(){return d.stackParserFromStackParserOptions},stripSentryFramesAndReverse:function(){return d.stripSentryFramesAndReverse},isMatchingPattern:function(){return i.isMatchingPattern},safeJoin:function(){return i.safeJoin},snipLine:function(){return i.snipLine},stringMatchesSomePattern:function(){return i.stringMatchesSomePattern},truncate:function(){return i.truncate},isNativeFetch:function(){return a.isNativeFetch},supportsDOMError:function(){return a.supportsDOMError},supportsDOMException:function(){return a.supportsDOMException},supportsErrorEvent:function(){return a.supportsErrorEvent},supportsFetch:function(){return a.supportsFetch},supportsNativeFetch:function(){return a.supportsNativeFetch},supportsReferrerPolicy:function(){return a.supportsReferrerPolicy},supportsReportingObserver:function(){return a.supportsReportingObserver},SyncPromise:function(){return o.SyncPromise},rejectedSyncPromise:function(){return o.rejectedSyncPromise},resolvedSyncPromise:function(){return o.resolvedSyncPromise},_browserPerformanceTimeOriginMode:function(){return l._browserPerformanceTimeOriginMode},browserPerformanceTimeOrigin:function(){return l.browserPerformanceTimeOrigin},dateTimestampInSeconds:function(){return l.dateTimestampInSeconds},timestampInSeconds:function(){return l.timestampInSeconds},timestampWithMs:function(){return l.timestampWithMs},usingPerformanceAPI:function(){return l.usingPerformanceAPI},TRACEPARENT_REGEXP:function(){return y.TRACEPARENT_REGEXP},extractTraceparentData:function(){return y.extractTraceparentData},generateSentryTraceHeader:function(){return y.generateSentryTraceHeader},tracingContextFromHeaders:function(){return y.tracingContextFromHeaders},getSDKSource:function(){return p.getSDKSource},isBrowserBundle:function(){return p.isBrowserBundle},addItemToEnvelope:function(){return I.addItemToEnvelope},createAttachmentEnvelopeItem:function(){return I.createAttachmentEnvelopeItem},createEnvelope:function(){return I.createEnvelope},createEventEnvelopeHeaders:function(){return I.createEventEnvelopeHeaders},envelopeContainsItemType:function(){return I.envelopeContainsItemType},envelopeItemTypeToDataCategory:function(){return I.envelopeItemTypeToDataCategory},forEachEnvelopeItem:function(){return I.forEachEnvelopeItem},getSdkMetadataForEnvelopeHeader:function(){return I.getSdkMetadataForEnvelopeHeader},parseEnvelope:function(){return I.parseEnvelope},serializeEnvelope:function(){return I.serializeEnvelope},createClientReportEnvelope:function(){return P.createClientReportEnvelope},DEFAULT_RETRY_AFTER:function(){return h.DEFAULT_RETRY_AFTER},disabledUntil:function(){return h.disabledUntil},isRateLimited:function(){return h.isRateLimited},parseRetryAfterHeader:function(){return h.parseRetryAfterHeader},updateRateLimits:function(){return h.updateRateLimits},BAGGAGE_HEADER_NAME:function(){return _.BAGGAGE_HEADER_NAME},MAX_BAGGAGE_STRING_LENGTH:function(){return _.MAX_BAGGAGE_STRING_LENGTH},SENTRY_BAGGAGE_KEY_PREFIX:function(){return _.SENTRY_BAGGAGE_KEY_PREFIX},SENTRY_BAGGAGE_KEY_PREFIX_REGEX:function(){return _.SENTRY_BAGGAGE_KEY_PREFIX_REGEX},baggageHeaderToDynamicSamplingContext:function(){return _.baggageHeaderToDynamicSamplingContext},dynamicSamplingContextToSentryBaggageHeader:function(){return _.dynamicSamplingContextToSentryBaggageHeader},getNumberOfUrlSegments:function(){return T.getNumberOfUrlSegments},getSanitizedUrlString:function(){return T.getSanitizedUrlString},parseUrl:function(){return T.parseUrl},stripUrlQueryAndFragment:function(){return T.stripUrlQueryAndFragment},addOrUpdateIntegration:function(){return A.addOrUpdateIntegration},makeFifoCache:function(){return U.makeFifoCache},eventFromMessage:function(){return H.eventFromMessage},eventFromUnknownInput:function(){return H.eventFromUnknownInput},exceptionFromError:function(){return H.exceptionFromError},parseStackFrames:function(){return H.parseStackFrames},createDebugPauseMessageHandler:function(){return F.createDebugPauseMessageHandler},watchdogTimer:function(){return F.watchdogTimer},LRUMap:function(){return z.LRUMap},filenameIsInApp:function(){return Z.filenameIsInApp},escapeStringForRegex:function(){return ee.escapeStringForRegex},supportsHistory:function(){return ne.supportsHistory}});var v=S(439185),k=S(699552),G=S(556864),L=S(708605),M=S(193844),C=S(374673),O=S(353307),D=S(331319),N=S(853108),m=S(745487),w=S(222217),b=S(543858),u=S(109059),s=S(698033),c=S(661439),R=S(292182),g=S(595688),f=S(846843),d=S(790461),i=S(331910),a=S(939396),o=S(805390),l=S(22195),y=S(619367),p=S(606459),I=S(683062),P=S(37250),h=S(576373),_=S(237136),T=S(382184),A=S(683079),U=S(16746),H=S(141651),F=S(96394),z=S(126309),Z=S(699196),ee=S(183581),ne=S(530044)},374673:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(ce,be){for(var Ee in be)Object.defineProperty(ce,Ee,{enumerable:!0,get:be[Ee]})}B(x,{SENTRY_XHR_DATA_KEY:function(){return i},addInstrumentationHandler:function(){return y},instrumentDOM:function(){return ae},instrumentXHR:function(){return U},parseFetchArgs:function(){return A},resetInstrumentationHandlers:function(){return p}});var v=S(353307),k=S(853108),G=S(222217),L=S(698033),M=S(790461),C=S(939396),O=S(193844),D=S(530044);function N(ce,be){(be==null||be>ce.length)&&(be=ce.length);for(var Ee=0,Ie=new Array(be);Ee<be;Ee++)Ie[Ee]=ce[Ee];return Ie}function m(ce){if(Array.isArray(ce))return ce}function w(ce,be,Ee){return be in ce?Object.defineProperty(ce,be,{value:Ee,enumerable:!0,configurable:!0,writable:!0}):ce[be]=Ee,ce}function b(ce,be){var Ee=ce==null?null:typeof Symbol!="undefined"&&ce[Symbol.iterator]||ce["@@iterator"];if(Ee!=null){var Ie=[],De=!0,Be=!1,$e,Le;try{for(Ee=Ee.call(ce);!(De=($e=Ee.next()).done)&&(Ie.push($e.value),!(be&&Ie.length===be));De=!0);}catch(et){Be=!0,Le=et}finally{try{!De&&Ee.return!=null&&Ee.return()}finally{if(Be)throw Le}}return Ie}}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(ce){for(var be=1;be<arguments.length;be++){var Ee=arguments[be]!=null?arguments[be]:{},Ie=Object.keys(Ee);typeof Object.getOwnPropertySymbols=="function"&&(Ie=Ie.concat(Object.getOwnPropertySymbols(Ee).filter(function(De){return Object.getOwnPropertyDescriptor(Ee,De).enumerable}))),Ie.forEach(function(De){w(ce,De,Ee[De])})}return ce}function c(ce,be){var Ee=Object.keys(ce);if(Object.getOwnPropertySymbols){var Ie=Object.getOwnPropertySymbols(ce);be&&(Ie=Ie.filter(function(De){return Object.getOwnPropertyDescriptor(ce,De).enumerable})),Ee.push.apply(Ee,Ie)}return Ee}function R(ce,be){return be=be!=null?be:{},Object.getOwnPropertyDescriptors?Object.defineProperties(ce,Object.getOwnPropertyDescriptors(be)):c(Object(be)).forEach(function(Ee){Object.defineProperty(ce,Ee,Object.getOwnPropertyDescriptor(be,Ee))}),ce}function g(ce,be){return m(ce)||b(ce,be)||f(ce,be)||u()}function f(ce,be){if(!!ce){if(typeof ce=="string")return N(ce,be);var Ee=Object.prototype.toString.call(ce).slice(8,-1);if(Ee==="Object"&&ce.constructor&&(Ee=ce.constructor.name),Ee==="Map"||Ee==="Set")return Array.from(Ee);if(Ee==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ee))return N(ce,be)}}var d=(0,O.getGlobalObject)(),i="__sentry_xhr_v2__",a={},o={};function l(ce){if(!o[ce])switch(o[ce]=!0,ce){case"console":P();break;case"dom":ae();break;case"xhr":U();break;case"fetch":h();break;case"history":F();break;case"error":ve();break;case"unhandledrejection":Pe();break;default:(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.warn("unknown instrumentation type:",ce);return}}function y(ce,be){a[ce]=a[ce]||[],a[ce].push(be),l(ce)}function p(){Object.keys(a).forEach(function(ce){a[ce]=void 0})}function I(ce,be){if(!(!ce||!a[ce])){var Ee=!0,Ie=!1,De=void 0;try{for(var Be=(a[ce]||[])[Symbol.iterator](),$e;!(Ee=($e=Be.next()).done);Ee=!0){var Le=$e.value;try{Le(be)}catch(et){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.error("Error while triggering instrumentation handler.\nType: ".concat(ce,"\nName: ").concat((0,M.getFunctionName)(Le),"\nError:"),et)}}}catch(et){Ie=!0,De=et}finally{try{!Ee&&Be.return!=null&&Be.return()}finally{if(Ie)throw De}}}}function P(){"console"in O.GLOBAL_OBJ&&k.CONSOLE_LEVELS.forEach(function(ce){ce in O.GLOBAL_OBJ.console&&(0,L.fill)(O.GLOBAL_OBJ.console,ce,function(be){return k.originalConsoleMethods[ce]=be,function(){for(var Ee=arguments.length,Ie=new Array(Ee),De=0;De<Ee;De++)Ie[De]=arguments[De];I("console",{args:Ie,level:ce});var Be=k.originalConsoleMethods[ce];Be&&Be.apply(O.GLOBAL_OBJ.console,Ie)}})})}function h(){!(0,C.supportsNativeFetch)()||(0,L.fill)(O.GLOBAL_OBJ,"fetch",function(ce){return function(){for(var be=arguments.length,Ee=new Array(be),Ie=0;Ie<be;Ie++)Ee[Ie]=arguments[Ie];var De=A(Ee),Be=De.method,$e=De.url,Le={args:Ee,fetchData:{method:Be,url:$e},startTimestamp:Date.now()};return I("fetch",s({},Le)),ce.apply(O.GLOBAL_OBJ,Ee).then(function(et){return I("fetch",R(s({},Le),{endTimestamp:Date.now(),response:et})),et},function(et){throw I("fetch",R(s({},Le),{endTimestamp:Date.now(),error:et})),et})}})}function _(ce,be){return!!ce&&typeof ce=="object"&&!!ce[be]}function T(ce){return typeof ce=="string"?ce:ce?_(ce,"url")?ce.url:ce.toString?ce.toString():"":""}function A(ce){if(ce.length===0)return{method:"GET",url:""};if(ce.length===2){var be=g(ce,2),Ee=be[0],Ie=be[1];return{url:T(Ee),method:_(Ie,"method")?String(Ie.method).toUpperCase():"GET"}}var De=ce[0];return{url:T(De),method:_(De,"method")?String(De.method).toUpperCase():"GET"}}function U(){if(!!d.XMLHttpRequest){var ce=XMLHttpRequest.prototype;(0,L.fill)(ce,"open",function(be){return function(){for(var Ee=arguments.length,Ie=new Array(Ee),De=0;De<Ee;De++)Ie[De]=arguments[De];var Be=this,$e=Date.now(),Le=Ie[1],et=this[i]={method:(0,v.isString)(Ie[0])?Ie[0].toUpperCase():Ie[0],url:Ie[1],request_headers:{}};(0,v.isString)(Le)&&et.method==="POST"&&Le.match(/sentry_key/)&&(this.__sentry_own_request__=!0);var ot=function(){var nt=Be[i];if(!!nt&&Be.readyState===4){try{nt.status_code=Be.status}catch(ct){}I("xhr",{args:Ie,endTimestamp:Date.now(),startTimestamp:$e,xhr:Be})}};return"onreadystatechange"in this&&typeof this.onreadystatechange=="function"?(0,L.fill)(this,"onreadystatechange",function(nt){return function(){for(var ct=arguments.length,gt=new Array(ct),mt=0;mt<ct;mt++)gt[mt]=arguments[mt];return ot(),nt.apply(this,gt)}}):this.addEventListener("readystatechange",ot),(0,L.fill)(this,"setRequestHeader",function(nt){return function(){for(var ct=arguments.length,gt=new Array(ct),mt=0;mt<ct;mt++)gt[mt]=arguments[mt];var Ft=g(gt,2),Er=Ft[0],Yr=Ft[1],Ut=this[i];return Ut&&(Ut.request_headers[Er.toLowerCase()]=Yr),nt.apply(this,gt)}}),be.apply(this,Ie)}}),(0,L.fill)(ce,"send",function(be){return function(){for(var Ee=arguments.length,Ie=new Array(Ee),De=0;De<Ee;De++)Ie[De]=arguments[De];var Be=this[i];return Be&&Ie[0]!==void 0&&(Be.body=Ie[0]),I("xhr",{args:Ie,startTimestamp:Date.now(),xhr:this}),be.apply(this,Ie)}})}}var H;function F(){var ce=function(Ie){return function(){for(var De=arguments.length,Be=new Array(De),$e=0;$e<De;$e++)Be[$e]=arguments[$e];var Le=Be.length>2?Be[2]:void 0;if(Le){var et=H,ot=String(Le);H=ot,I("history",{from:et,to:ot})}return Ie.apply(this,Be)}};if(!!(0,D.supportsHistory)()){var be=d.onpopstate;d.onpopstate=function(){for(var Ee=arguments.length,Ie=new Array(Ee),De=0;De<Ee;De++)Ie[De]=arguments[De];var Be=d.location.href,$e=H;if(H=Be,I("history",{from:$e,to:Be}),be)try{return be.apply(this,Ie)}catch(Le){}},(0,L.fill)(d.history,"pushState",ce),(0,L.fill)(d.history,"replaceState",ce)}}var z=1e3,Z,ee,ne;function W(ce){if(ce.type!==ee)return!1;try{if(!ce.target||ce.target._sentryId!==ne)return!1}catch(be){}return!0}function X(ce,be){return ce!=="keypress"?!1:!be||!be.tagName?!0:!(be.tagName==="INPUT"||be.tagName==="TEXTAREA"||be.isContentEditable)}function Y(ce){try{return ce.target}catch(be){return null}}function re(ce){var be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return function(Ee){if(!(!Ee||Ee._sentryCaptured)){var Ie=Y(Ee);if(!X(Ee.type,Ie)){(0,L.addNonEnumerableProperty)(Ee,"_sentryCaptured",!0),Ie&&!Ie._sentryId&&(0,L.addNonEnumerableProperty)(Ie,"_sentryId",(0,G.uuid4)());var De=Ee.type==="keypress"?"input":Ee.type;W(Ee)||(ce({event:Ee,name:De,global:be}),ee=Ee.type,ne=Ie?Ie._sentryId:void 0),clearTimeout(Z),Z=d.setTimeout(function(){ne=void 0,ee=void 0},z)}}}}function ae(){if(!!d.document){var ce=I.bind(null,"dom"),be=re(ce,!0);d.document.addEventListener("click",be,!1),d.document.addEventListener("keypress",be,!1),["EventTarget","Node"].forEach(function(Ee){var Ie=d[Ee]&&d[Ee].prototype;!Ie||!Ie.hasOwnProperty||!Ie.hasOwnProperty("addEventListener")||((0,L.fill)(Ie,"addEventListener",function(De){return function(Be,$e,Le){if(Be==="click"||Be=="keypress")try{var et=this,ot=et.__sentry_instrumentation_handlers__=et.__sentry_instrumentation_handlers__||{},nt=ot[Be]=ot[Be]||{refCount:0};if(!nt.handler){var ct=re(ce);nt.handler=ct,De.call(this,Be,ct,Le)}nt.refCount++}catch(gt){}return De.call(this,Be,$e,Le)}}),(0,L.fill)(Ie,"removeEventListener",function(De){return function(Be,$e,Le){if(Be==="click"||Be=="keypress")try{var et=this,ot=et.__sentry_instrumentation_handlers__||{},nt=ot[Be];nt&&(nt.refCount--,nt.refCount<=0&&(De.call(this,Be,nt.handler,Le),nt.handler=void 0,delete ot[Be]),Object.keys(ot).length===0&&delete et.__sentry_instrumentation_handlers__)}catch(ct){}return De.call(this,Be,$e,Le)}}))})}}var pe=null;function ve(){pe=d.onerror,d.onerror=function(ce,be,Ee,Ie,De){return I("error",{column:Ie,error:De,line:Ee,msg:ce,url:be}),pe&&!pe.__SENTRY_LOADER__?pe.apply(this,arguments):!1},d.onerror.__SENTRY_INSTRUMENTED__=!0}var we=null;function Pe(){we=d.onunhandledrejection,d.onunhandledrejection=function(ce){return I("unhandledrejection",ce),we&&!we.__SENTRY_LOADER__?we.apply(this,arguments):!0},d.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}},353307:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function S(f,d){for(var i in d)Object.defineProperty(f,i,{enumerable:!0,get:d[i]})}S(x,{isDOMError:function(){return M},isDOMException:function(){return C},isElement:function(){return w},isError:function(){return k},isErrorEvent:function(){return L},isEvent:function(){return m},isInstanceOf:function(){return R},isNaN:function(){return c},isPlainObject:function(){return N},isPrimitive:function(){return D},isRegExp:function(){return b},isString:function(){return O},isSyntheticEvent:function(){return s},isThenable:function(){return u},isVueViewModel:function(){return g}});function B(f,d){return d!=null&&typeof Symbol!="undefined"&&d[Symbol.hasInstance]?!!d[Symbol.hasInstance](f):f instanceof d}var v=Object.prototype.toString;function k(f){switch(v.call(f)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return R(f,Error)}}function G(f,d){return v.call(f)==="[object ".concat(d,"]")}function L(f){return G(f,"ErrorEvent")}function M(f){return G(f,"DOMError")}function C(f){return G(f,"DOMException")}function O(f){return G(f,"String")}function D(f){return f===null||typeof f!="object"&&typeof f!="function"}function N(f){return G(f,"Object")}function m(f){return typeof Event!="undefined"&&R(f,Event)}function w(f){return typeof Element!="undefined"&&R(f,Element)}function b(f){return G(f,"RegExp")}function u(f){return Boolean(f&&f.then&&typeof f.then=="function")}function s(f){return N(f)&&"nativeEvent"in f&&"preventDefault"in f&&"stopPropagation"in f}function c(f){return typeof f=="number"&&f!==f}function R(f,d){try{return B(f,d)}catch(i){return!1}}function g(f){return!!(typeof f=="object"&&f!==null&&(f.__isVue||f._isVue))}},331319:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"isBrowser",{enumerable:!0,get:function(){return k}});var B=S(543858),v=S(193844);function k(){return typeof window!="undefined"&&(!(0,B.isNodeEnv)()||G())}function G(){return v.GLOBAL_OBJ.process!==void 0&&v.GLOBAL_OBJ.process.type==="renderer"}},853108:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(s,c){for(var R in c)Object.defineProperty(s,R,{enumerable:!0,get:c[R]})}B(x,{CONSOLE_LEVELS:function(){return N},consoleSandbox:function(){return w},logger:function(){return u},originalConsoleMethods:function(){return m}});var v=S(193844);function k(s,c){(c==null||c>s.length)&&(c=s.length);for(var R=0,g=new Array(c);R<c;R++)g[R]=s[R];return g}function G(s){if(Array.isArray(s))return k(s)}function L(s){if(typeof Symbol!="undefined"&&s[Symbol.iterator]!=null||s["@@iterator"]!=null)return Array.from(s)}function M(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function C(s){return G(s)||L(s)||O(s)||M()}function O(s,c){if(!!s){if(typeof s=="string")return k(s,c);var R=Object.prototype.toString.call(s).slice(8,-1);if(R==="Object"&&s.constructor&&(R=s.constructor.name),R==="Map"||R==="Set")return Array.from(R);if(R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R))return k(s,c)}}var D="Sentry Logger ",N=["debug","info","warn","error","log","assert","trace"],m={};function w(s){if(!("console"in v.GLOBAL_OBJ))return s();var c=v.GLOBAL_OBJ.console,R={},g=Object.keys(m);g.forEach(function(f){var d=m[f];R[f]=c[f],c[f]=d});try{return s()}finally{g.forEach(function(f){c[f]=R[f]})}}function b(){var s=!1,c={enable:function(){s=!0},disable:function(){s=!1},isEnabled:function(){return s}};return typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?N.forEach(function(R){c[R]=function(){for(var g=arguments.length,f=new Array(g),d=0;d<g;d++)f[d]=arguments[d];s&&w(function(){var i;(i=v.GLOBAL_OBJ.console)[R].apply(i,["".concat(D,"[").concat(R,"]:")].concat(C(f)))})}}):N.forEach(function(R){c[R]=function(){}}),c}var u=b()},126309:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"LRUMap",{enumerable:!0,get:function(){return k}});function S(G,L){if(!(G instanceof L))throw new TypeError("Cannot call a class as a function")}function B(G,L){for(var M=0;M<L.length;M++){var C=L[M];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(G,C.key,C)}}function v(G,L,M){return L&&B(G.prototype,L),M&&B(G,M),G}var k=function(){"use strict";function G(M){S(this,G),this._maxSize=M,this._cache=new Map}var L=G.prototype;return L.get=function(C){var O=this._cache.get(C);if(O!==void 0)return this._cache.delete(C),this._cache.set(C,O),O},L.set=function(C,O){this._cache.size>=this._maxSize&&this._cache.delete(this._cache.keys().next().value),this._cache.set(C,O)},L.remove=function(C){var O=this._cache.get(C);return O&&this._cache.delete(C),O},L.clear=function(){this._cache.clear()},L.keys=function(){return Array.from(this._cache.keys())},L.values=function(){var C=[];return this._cache.forEach(function(O){return C.push(O)}),C},v(G,[{key:"size",get:function(){return this._cache.size}}]),G}()},745487:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"memoBuilder",{enumerable:!0,get:function(){return S}});function S(){var B=function(M){if(k)return G.has(M)?!0:(G.add(M),!1);for(var C=0;C<G.length;C++){var O=G[C];if(O===M)return!0}return G.push(M),!1},v=function(M){if(k)G.delete(M);else for(var C=0;C<G.length;C++)if(G[C]===M){G.splice(C,1);break}},k=typeof WeakSet=="function",G=k?new WeakSet:[];return[B,v]}},222217:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(R,g){for(var f in g)Object.defineProperty(R,f,{enumerable:!0,get:g[f]})}B(x,{addContextToFrame:function(){return u},addExceptionMechanism:function(){return m},addExceptionTypeValue:function(){return N},arrayify:function(){return c},checkOrSetAlreadyCaught:function(){return s},getEventDescription:function(){return D},parseSemver:function(){return b},uuid4:function(){return C}});var v=S(698033),k=S(331910),G=S(193844);function L(R,g,f){return g in R?Object.defineProperty(R,g,{value:f,enumerable:!0,configurable:!0,writable:!0}):R[g]=f,R}function M(R){for(var g=1;g<arguments.length;g++){var f=arguments[g]!=null?arguments[g]:{},d=Object.keys(f);typeof Object.getOwnPropertySymbols=="function"&&(d=d.concat(Object.getOwnPropertySymbols(f).filter(function(i){return Object.getOwnPropertyDescriptor(f,i).enumerable}))),d.forEach(function(i){L(R,i,f[i])})}return R}function C(){var R=G.GLOBAL_OBJ,g=R.crypto||R.msCrypto,f=function(){return Math.random()*16};try{if(g&&g.randomUUID)return g.randomUUID().replace(/-/g,"");g&&g.getRandomValues&&(f=function(){return g.getRandomValues(new Uint8Array(1))[0]})}catch(d){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,function(d){return(d^(f()&15)>>d/4).toString(16)})}function O(R){return R.exception&&R.exception.values?R.exception.values[0]:void 0}function D(R){var g=R.message,f=R.event_id;if(g)return g;var d=O(R);return d?d.type&&d.value?"".concat(d.type,": ").concat(d.value):d.type||d.value||f||"<unknown>":f||"<unknown>"}function N(R,g,f){var d=R.exception=R.exception||{},i=d.values=d.values||[],a=i[0]=i[0]||{};a.value||(a.value=g||""),a.type||(a.type=f||"Error")}function m(R,g){var f=O(R);if(!!f){var d={type:"generic",handled:!0},i=f.mechanism;if(f.mechanism=M({},d,i,g),g&&"data"in g){var a=M({},i&&i.data,g.data);f.mechanism.data=a}}}var w=/^(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-]+)*))?$/;function b(R){var g=R.match(w)||[],f=parseInt(g[1],10),d=parseInt(g[2],10),i=parseInt(g[3],10);return{buildmetadata:g[5],major:isNaN(f)?void 0:f,minor:isNaN(d)?void 0:d,patch:isNaN(i)?void 0:i,prerelease:g[4]}}function u(R,g){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5;if(g.lineno!==void 0){var d=R.length,i=Math.max(Math.min(d-1,g.lineno-1),0);g.pre_context=R.slice(Math.max(0,i-f),i).map(function(a){return(0,k.snipLine)(a,0)}),g.context_line=(0,k.snipLine)(R[Math.min(d-1,i)],g.colno||0),g.post_context=R.slice(Math.min(i+1,d),i+1+f).map(function(a){return(0,k.snipLine)(a,0)})}}function s(R){if(R&&R.__sentry_captured__)return!0;try{(0,v.addNonEnumerableProperty)(R,"__sentry_captured__",!0)}catch(g){}return!1}function c(R){return Array.isArray(R)?R:[R]}},699196:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function S(k,G){for(var L in G)Object.defineProperty(k,L,{enumerable:!0,get:G[L]})}S(x,{filenameIsInApp:function(){return B},node:function(){return v}});function B(k){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,L=G||k&&!k.startsWith("/")&&!k.includes(":\\")&&!k.startsWith(".")&&!k.match(/^[a-zA-Z]([a-zA-Z0-9.\-+])*:\/\//);return!L&&k!==void 0&&!k.includes("node_modules/")}function v(k){var G=/^\s*[-]{4,}$/,L=/at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;return function(M){var C=M.match(L);if(C){var O,D,N,m,w;if(C[1]){N=C[1];var b=N.lastIndexOf(".");if(N[b-1]==="."&&b--,b>0){O=N.slice(0,b),D=N.slice(b+1);var u=O.indexOf(".Module");u>0&&(N=N.slice(u+1),O=O.slice(0,u))}m=void 0}D&&(m=O,w=D),D==="<anonymous>"&&(w=void 0,N=void 0),N===void 0&&(w=w||"<anonymous>",N=m?"".concat(m,".").concat(w):w);var s=C[2]&&C[2].startsWith("file://")?C[2].slice(7):C[2],c=C[5]==="native";return!s&&C[5]&&!c&&(s=C[5]),{filename:s,module:k?k(s):void 0,function:N,lineno:parseInt(C[3],10)||void 0,colno:parseInt(C[4],10)||void 0,in_app:B(s,c)}}if(M.match(G))return{filename:M}}}},543858:function(se,x,S){"use strict";se=S.nmd(se);var B=S(760636);Object.defineProperty(x,"__esModule",{value:!0});function v(C,O){for(var D in O)Object.defineProperty(C,D,{enumerable:!0,get:O[D]})}v(x,{dynamicRequire:function(){return L},isNodeEnv:function(){return G},loadModule:function(){return M}});var k=S(606459);function G(){return!(0,k.isBrowserBundle)()&&Object.prototype.toString.call(typeof B!="undefined"?B:0)==="[object process]"}function L(C,O){return C.require(O)}function M(C){var O;try{O=L(se,C)}catch(N){}try{var D=L(se,"process").cwd;O=L(se,"".concat(D(),"/node_modules/").concat(C))}catch(N){}return O}},109059:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(d,i){for(var a in i)Object.defineProperty(d,a,{enumerable:!0,get:i[a]})}B(x,{normalize:function(){return b},normalizeToSize:function(){return u},walk:function(){return s}});var v=S(353307),k=S(745487),G=S(698033),L=S(790461);function M(d,i){(i==null||i>d.length)&&(i=d.length);for(var a=0,o=new Array(i);a<i;a++)o[a]=d[a];return o}function C(d){if(Array.isArray(d))return d}function O(d,i){var a=d==null?null:typeof Symbol!="undefined"&&d[Symbol.iterator]||d["@@iterator"];if(a!=null){var o=[],l=!0,y=!1,p,I;try{for(a=a.call(d);!(l=(p=a.next()).done)&&(o.push(p.value),!(i&&o.length===i));l=!0);}catch(P){y=!0,I=P}finally{try{!l&&a.return!=null&&a.return()}finally{if(y)throw I}}return o}}function D(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function N(d,i){return C(d)||O(d,i)||w(d,i)||D()}var m=function(d){return d&&typeof Symbol!="undefined"&&d.constructor===Symbol?"symbol":typeof d};function w(d,i){if(!!d){if(typeof d=="string")return M(d,i);var a=Object.prototype.toString.call(d).slice(8,-1);if(a==="Object"&&d.constructor&&(a=d.constructor.name),a==="Map"||a==="Set")return Array.from(a);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return M(d,i)}}function b(d){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1/0;try{return s("",d,i,a)}catch(o){return{ERROR:"**non-serializable** (".concat(o,")")}}}function u(d){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:3,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:100*1024,o=b(d,i);return f(o)>a?u(d,i-1,a):o}function s(d,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1/0,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1/0,l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:(0,k.memoBuilder)(),y=N(l,2),p=y[0],I=y[1];if(i==null||["number","boolean","string"].includes(typeof i=="undefined"?"undefined":m(i))&&!(0,v.isNaN)(i))return i;var P=c(d,i);if(!P.startsWith("[object "))return P;if(i.__sentry_skip_normalization__)return i;var h=typeof i.__sentry_override_normalization_depth__=="number"?i.__sentry_override_normalization_depth__:a;if(h===0)return P.replace("object ","");if(p(i))return"[Circular ~]";var _=i;if(_&&typeof _.toJSON=="function")try{var T=_.toJSON();return s("",T,h-1,o,l)}catch(Z){}var A=Array.isArray(i)?[]:{},U=0,H=(0,G.convertToPlainObject)(i);for(var F in H)if(!!Object.prototype.hasOwnProperty.call(H,F)){if(U>=o){A[F]="[MaxProperties ~]";break}var z=H[F];A[F]=s(F,z,h-1,o,l),U++}return I(i),A}function c(d,i){try{if(d==="domain"&&i&&typeof i=="object"&&i._events)return"[Domain]";if(d==="domainEmitter")return"[DomainEmitter]";if(typeof S.g!="undefined"&&i===S.g)return"[Global]";if(typeof window!="undefined"&&i===window)return"[Window]";if(typeof document!="undefined"&&i===document)return"[Document]";if((0,v.isVueViewModel)(i))return"[VueViewModel]";if((0,v.isSyntheticEvent)(i))return"[SyntheticEvent]";if(typeof i=="number"&&i!==i)return"[NaN]";if(typeof i=="function")return"[Function: ".concat((0,L.getFunctionName)(i),"]");if((typeof i=="undefined"?"undefined":m(i))==="symbol")return"[".concat(String(i),"]");if((typeof i=="undefined"?"undefined":m(i))==="bigint")return"[BigInt: ".concat(String(i),"]");var a=R(i);return/^HTML(\w*)Element$/.test(a)?"[HTMLElement: ".concat(a,"]"):"[object ".concat(a,"]")}catch(o){return"**non-serializable** (".concat(o,")")}}function R(d){var i=Object.getPrototypeOf(d);return i?i.constructor.name:"null prototype"}function g(d){return~-encodeURI(d).split(/%..|./).length}function f(d){return g(JSON.stringify(d))}},698033:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(i,a){for(var o in a)Object.defineProperty(i,o,{enumerable:!0,get:a[o]})}B(x,{addNonEnumerableProperty:function(){return N},convertToPlainObject:function(){return u},dropUndefinedKeys:function(){return g},extractExceptionKeysForMessage:function(){return R},fill:function(){return D},getOriginalFunction:function(){return w},markFunctionWrapped:function(){return m},objectify:function(){return d},urlEncode:function(){return b}});var v=S(699552),k=S(353307),G=S(853108),L=S(331910);function M(i,a,o){return a in i?Object.defineProperty(i,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[a]=o,i}function C(i){for(var a=1;a<arguments.length;a++){var o=arguments[a]!=null?arguments[a]:{},l=Object.keys(o);typeof Object.getOwnPropertySymbols=="function"&&(l=l.concat(Object.getOwnPropertySymbols(o).filter(function(y){return Object.getOwnPropertyDescriptor(o,y).enumerable}))),l.forEach(function(y){M(i,y,o[y])})}return i}var O=function(i){return i&&typeof Symbol!="undefined"&&i.constructor===Symbol?"symbol":typeof i};function D(i,a,o){if(a in i){var l=i[a],y=o(l);typeof y=="function"&&m(y,l),i[a]=y}}function N(i,a,o){try{Object.defineProperty(i,a,{value:o,writable:!0,configurable:!0})}catch(l){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&G.logger.log('Failed to add non-enumerable property "'.concat(a,'" to object'),i)}}function m(i,a){try{var o=a.prototype||{};i.prototype=a.prototype=o,N(i,"__sentry_original__",a)}catch(l){}}function w(i){return i.__sentry_original__}function b(i){return Object.keys(i).map(function(a){return"".concat(encodeURIComponent(a),"=").concat(encodeURIComponent(i[a]))}).join("&")}function u(i){if((0,k.isError)(i))return C({message:i.message,name:i.name,stack:i.stack},c(i));if((0,k.isEvent)(i)){var a=C({type:i.type,target:s(i.target),currentTarget:s(i.currentTarget)},c(i));return typeof CustomEvent!="undefined"&&(0,k.isInstanceOf)(i,CustomEvent)&&(a.detail=i.detail),a}else return i}function s(i){try{return(0,k.isElement)(i)?(0,v.htmlTreeAsString)(i):Object.prototype.toString.call(i)}catch(a){return"<unknown>"}}function c(i){if(typeof i=="object"&&i!==null){var a={};for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(a[o]=i[o]);return a}else return{}}function R(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:40,o=Object.keys(u(i));if(o.sort(),!o.length)return"[object has no keys]";if(o[0].length>=a)return(0,L.truncate)(o[0],a);for(var l=o.length;l>0;l--){var y=o.slice(0,l).join(", ");if(!(y.length>a))return l===o.length?y:(0,L.truncate)(y,a)}return""}function g(i){var a=new Map;return f(i,a)}function f(i,a){if((0,k.isPlainObject)(i)){var o=a.get(i);if(o!==void 0)return o;var l={};a.set(i,l);var y=!0,p=!1,I=void 0;try{for(var P=Object.keys(i)[Symbol.iterator](),h;!(y=(h=P.next()).done);y=!0){var _=h.value;typeof i[_]!="undefined"&&(l[_]=f(i[_],a))}}catch(U){p=!0,I=U}finally{try{!y&&P.return!=null&&P.return()}finally{if(p)throw I}}return l}if(Array.isArray(i)){var T=a.get(i);if(T!==void 0)return T;var A=[];return a.set(i,A),i.forEach(function(U){A.push(f(U,a))}),A}return i}function d(i){var a;switch(!0){case i==null:a=new String(i);break;case((typeof i=="undefined"?"undefined":O(i))==="symbol"||(typeof i=="undefined"?"undefined":O(i))==="bigint"):a=Object(i);break;case(0,k.isPrimitive)(i):a=new i.constructor(i);break;default:a=i;break}return a}},661439:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function S(w,b){for(var u in b)Object.defineProperty(w,u,{enumerable:!0,get:b[u]})}S(x,{basename:function(){return m},dirname:function(){return N},isAbsolute:function(){return O},join:function(){return D},normalizePath:function(){return C},relative:function(){return M},resolve:function(){return G}});function B(w,b){for(var u=0,s=w.length-1;s>=0;s--){var c=w[s];c==="."?w.splice(s,1):c===".."?(w.splice(s,1),u++):u&&(w.splice(s,1),u--)}if(b)for(;u--;u)w.unshift("..");return w}var v=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function k(w){var b=w.length>1024?"<truncated>".concat(w.slice(-1024)):w,u=v.exec(b);return u?u.slice(1):[]}function G(){for(var w=arguments.length,b=new Array(w),u=0;u<w;u++)b[u]=arguments[u];for(var s="",c=!1,R=b.length-1;R>=-1&&!c;R--){var g=R>=0?b[R]:"/";!g||(s="".concat(g,"/").concat(s),c=g.charAt(0)==="/")}return s=B(s.split("/").filter(function(f){return!!f}),!c).join("/"),(c?"/":"")+s||"."}function L(w){for(var b=0;b<w.length&&w[b]==="";b++);for(var u=w.length-1;u>=0&&w[u]==="";u--);return b>u?[]:w.slice(b,u-b+1)}function M(w,b){w=G(w).slice(1),b=G(b).slice(1);for(var u=L(w.split("/")),s=L(b.split("/")),c=Math.min(u.length,s.length),R=c,g=0;g<c;g++)if(u[g]!==s[g]){R=g;break}for(var f=[],d=R;d<u.length;d++)f.push("..");return f=f.concat(s.slice(R)),f.join("/")}function C(w){var b=O(w),u=w.slice(-1)==="/",s=B(w.split("/").filter(function(c){return!!c}),!b).join("/");return!s&&!b&&(s="."),s&&u&&(s+="/"),(b?"/":"")+s}function O(w){return w.charAt(0)==="/"}function D(){for(var w=arguments.length,b=new Array(w),u=0;u<w;u++)b[u]=arguments[u];return C(b.join("/"))}function N(w){var b=k(w),u=b[0],s=b[1];return!u&&!s?".":(s&&(s=s.slice(0,s.length-1)),u+s)}function m(w,b){var u=k(w)[2];return b&&u.slice(b.length*-1)===b&&(u=u.slice(0,u.length-b.length)),u}},292182:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"makePromiseBuffer",{enumerable:!0,get:function(){return k}});var B=S(708605),v=S(805390);function k(G){var L=function(){return G===void 0||D.length<G},M=function(m){return D.splice(D.indexOf(m),1)[0]},C=function(m){if(!L())return(0,v.rejectedSyncPromise)(new B.SentryError("Not adding Promise because buffer limit was reached."));var w=m();return D.indexOf(w)===-1&&D.push(w),w.then(function(){return M(w)}).then(null,function(){return M(w).then(null,function(){})}),w},O=function(m){return new v.SyncPromise(function(w,b){var u=D.length;if(!u)return w(!0);var s=setTimeout(function(){m&&m>0&&w(!1)},m);D.forEach(function(c){(0,v.resolvedSyncPromise)(c).then(function(){--u||(clearTimeout(s),w(!0))},b)})})},D=[];return{$:D,add:C,drain:O}}},576373:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function S(u,s){for(var c in s)Object.defineProperty(u,c,{enumerable:!0,get:s[c]})}S(x,{DEFAULT_RETRY_AFTER:function(){return D},disabledUntil:function(){return m},isRateLimited:function(){return w},parseRetryAfterHeader:function(){return N},updateRateLimits:function(){return b}});function B(u,s){(s==null||s>u.length)&&(s=u.length);for(var c=0,R=new Array(s);c<s;c++)R[c]=u[c];return R}function v(u){if(Array.isArray(u))return u}function k(u,s,c){return s in u?Object.defineProperty(u,s,{value:c,enumerable:!0,configurable:!0,writable:!0}):u[s]=c,u}function G(u,s){var c=u==null?null:typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(c!=null){var R=[],g=!0,f=!1,d,i;try{for(c=c.call(u);!(g=(d=c.next()).done)&&(R.push(d.value),!(s&&R.length===s));g=!0);}catch(a){f=!0,i=a}finally{try{!g&&c.return!=null&&c.return()}finally{if(f)throw i}}return R}}function L(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function M(u){for(var s=1;s<arguments.length;s++){var c=arguments[s]!=null?arguments[s]:{},R=Object.keys(c);typeof Object.getOwnPropertySymbols=="function"&&(R=R.concat(Object.getOwnPropertySymbols(c).filter(function(g){return Object.getOwnPropertyDescriptor(c,g).enumerable}))),R.forEach(function(g){k(u,g,c[g])})}return u}function C(u,s){return v(u)||G(u,s)||O(u,s)||L()}function O(u,s){if(!!u){if(typeof u=="string")return B(u,s);var c=Object.prototype.toString.call(u).slice(8,-1);if(c==="Object"&&u.constructor&&(c=u.constructor.name),c==="Map"||c==="Set")return Array.from(c);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return B(u,s)}}var D=60*1e3;function N(u){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Date.now(),c=parseInt("".concat(u),10);if(!isNaN(c))return c*1e3;var R=Date.parse("".concat(u));return isNaN(R)?D:R-s}function m(u,s){return u[s]||u.all||0}function w(u,s){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Date.now();return m(u,s)>c}function b(u,s){var c=s.statusCode,R=s.headers,g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Date.now(),f=M({},u),d=R&&R["x-sentry-rate-limits"],i=R&&R["retry-after"];if(d){var a=!0,o=!1,l=void 0;try{for(var y=d.trim().split(",")[Symbol.iterator](),p;!(a=(p=y.next()).done);a=!0){var I=p.value,P=C(I.split(":",2),2),h=P[0],_=P[1],T=parseInt(h,10),A=(isNaN(T)?60:T)*1e3;if(!_)f.all=g+A;else{var U=!0,H=!1,F=void 0;try{for(var z=_.split(";")[Symbol.iterator](),Z;!(U=(Z=z.next()).done);U=!0){var ee=Z.value;f[ee]=g+A}}catch(ne){H=!0,F=ne}finally{try{!U&&z.return!=null&&z.return()}finally{if(H)throw F}}}}}catch(ne){o=!0,l=ne}finally{try{!a&&y.return!=null&&y.return()}finally{if(o)throw l}}}else i?f.all=g+N(i,g):c===429&&(f.all=g+60*1e3);return f}},595688:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(p,I){for(var P in I)Object.defineProperty(p,P,{enumerable:!0,get:I[P]})}B(x,{addRequestDataToEvent:function(){return l},addRequestDataToTransaction:function(){return f},extractPathForTransaction:function(){return d},extractRequestData:function(){return o}});var v=S(353307),k=S(109059),G=S(382184);function L(p,I){(I==null||I>p.length)&&(I=p.length);for(var P=0,h=new Array(I);P<I;P++)h[P]=p[P];return h}function M(p){if(Array.isArray(p))return L(p)}function C(p,I,P){return I in p?Object.defineProperty(p,I,{value:P,enumerable:!0,configurable:!0,writable:!0}):p[I]=P,p}function O(p){if(typeof Symbol!="undefined"&&p[Symbol.iterator]!=null||p["@@iterator"]!=null)return Array.from(p)}function D(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function N(p){for(var I=1;I<arguments.length;I++){var P=arguments[I]!=null?arguments[I]:{},h=Object.keys(P);typeof Object.getOwnPropertySymbols=="function"&&(h=h.concat(Object.getOwnPropertySymbols(P).filter(function(_){return Object.getOwnPropertyDescriptor(P,_).enumerable}))),h.forEach(function(_){C(p,_,P[_])})}return p}function m(p,I){var P=Object.keys(p);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(p);I&&(h=h.filter(function(_){return Object.getOwnPropertyDescriptor(p,_).enumerable})),P.push.apply(P,h)}return P}function w(p,I){return I=I!=null?I:{},Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(I)):m(Object(I)).forEach(function(P){Object.defineProperty(p,P,Object.getOwnPropertyDescriptor(I,P))}),p}function b(p){return M(p)||O(p)||s(p)||D()}var u=function(p){return p&&typeof Symbol!="undefined"&&p.constructor===Symbol?"symbol":typeof p};function s(p,I){if(!!p){if(typeof p=="string")return L(p,I);var P=Object.prototype.toString.call(p).slice(8,-1);if(P==="Object"&&p.constructor&&(P=p.constructor.name),P==="Map"||P==="Set")return Array.from(P);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return L(p,I)}}var c={ip:!1,request:!0,transaction:!0,user:!0},R=["cookies","data","headers","method","query_string","url"],g=["id","username","email"];function f(p,I,P){if(!!p){if(!p.metadata.source||p.metadata.source==="url"){var h;(h=p).setName.apply(h,b(d(I,{path:!0,method:!0})))}p.setData("url",I.originalUrl||I.url),I.baseUrl&&p.setData("baseUrl",I.baseUrl),p.setData("query",y(I,P))}}function d(p){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},P=p.method&&p.method.toUpperCase(),h="",_="url";I.customRoute||p.route?(h=I.customRoute||"".concat(p.baseUrl||"").concat(p.route&&p.route.path),_="route"):(p.originalUrl||p.url)&&(h=(0,G.stripUrlQueryAndFragment)(p.originalUrl||p.url||""));var T="";return I.method&&P&&(T+=P),I.method&&I.path&&(T+=" "),I.path&&h&&(T+=h),[T,_]}function i(p,I){switch(I){case"path":return d(p,{path:!0})[0];case"handler":return p.route&&p.route.stack&&p.route.stack[0]&&p.route.stack[0].name||"<anonymous>";case"methodPath":default:return d(p,{path:!0,method:!0})[0]}}function a(p,I){var P={},h=Array.isArray(I)?I:g;return h.forEach(function(_){p&&_ in p&&(P[_]=p[_])}),P}function o(p,I){var P=I||{},h=P.include,_=h===void 0?R:h,T=P.deps,A={},U=p.headers||{},H=p.method,F=p.hostname||p.host||U.host||"<no host>",z=p.protocol==="https"||p.socket&&p.socket.encrypted?"https":"http",Z=p.originalUrl||p.url||"",ee="".concat(z,"://").concat(F).concat(Z);return _.forEach(function(ne){switch(ne){case"headers":{A.headers=U;break}case"method":{A.method=H;break}case"url":{A.url=ee;break}case"cookies":{A.cookies=p.cookies||U.cookie&&T&&T.cookie&&T.cookie.parse(U.cookie)||{};break}case"query_string":{A.query_string=y(p,T);break}case"data":{if(H==="GET"||H==="HEAD")break;p.body!==void 0&&(A.data=(0,v.isString)(p.body)?p.body:JSON.stringify((0,k.normalize)(p.body)));break}default:({}).hasOwnProperty.call(p,ne)&&(A[ne]=p[ne])}}),A}function l(p,I,P){var h=N({},c,P&&P.include);if(h.request){var _=Array.isArray(h.request)?o(I,{include:h.request,deps:P&&P.deps}):o(I,{deps:P&&P.deps});p.request=N({},p.request,_)}if(h.user){var T=I.user&&(0,v.isPlainObject)(I.user)?a(I.user,h.user):{};Object.keys(T).length&&(p.user=N({},p.user,T))}if(h.ip){var A=I.ip||I.socket&&I.socket.remoteAddress;A&&(p.user=w(N({},p.user),{ip_address:A}))}return h.transaction&&!p.transaction&&(p.transaction=i(I,h.transaction)),p}function y(p,I){var P=p.originalUrl||p.url||"";if(!!P)return P.startsWith("/")&&(P="http://dogs.are.great".concat(P)),p.query||(typeof URL=="undefined"?"undefined":u(URL))!==void 0&&new URL(P).search.replace("?","")||I&&I.url&&I.url.parse(P).query||void 0}},846843:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function S(G,L){for(var M in L)Object.defineProperty(G,M,{enumerable:!0,get:L[M]})}S(x,{severityFromString:function(){return v},severityLevelFromString:function(){return k},validSeverityLevels:function(){return B}});var B=["fatal","error","warning","log","info","debug"];function v(G){return k(G)}function k(G){return G==="warn"?"warning":B.includes(G)?G:"log"}},790461:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(a,o){for(var l in o)Object.defineProperty(a,l,{enumerable:!0,get:o[l]})}B(x,{filenameIsInApp:function(){return v.filenameIsInApp},createStackParser:function(){return c},getFunctionName:function(){return d},nodeStackLineParser:function(){return i},stackParserFromStackParserOptions:function(){return R},stripSentryFramesAndReverse:function(){return g}});var v=S(699196);function k(a,o){(o==null||o>a.length)&&(o=a.length);for(var l=0,y=new Array(o);l<o;l++)y[l]=a[l];return y}function G(a){if(Array.isArray(a))return k(a)}function L(a,o,l){return o in a?Object.defineProperty(a,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[o]=l,a}function M(a){if(typeof Symbol!="undefined"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function C(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function O(a){for(var o=1;o<arguments.length;o++){var l=arguments[o]!=null?arguments[o]:{},y=Object.keys(l);typeof Object.getOwnPropertySymbols=="function"&&(y=y.concat(Object.getOwnPropertySymbols(l).filter(function(p){return Object.getOwnPropertyDescriptor(l,p).enumerable}))),y.forEach(function(p){L(a,p,l[p])})}return a}function D(a,o){var l=Object.keys(a);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(a);o&&(y=y.filter(function(p){return Object.getOwnPropertyDescriptor(a,p).enumerable})),l.push.apply(l,y)}return l}function N(a,o){return o=o!=null?o:{},Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(o)):D(Object(o)).forEach(function(l){Object.defineProperty(a,l,Object.getOwnPropertyDescriptor(o,l))}),a}function m(a){return G(a)||M(a)||w(a)||C()}function w(a,o){if(!!a){if(typeof a=="string")return k(a,o);var l=Object.prototype.toString.call(a).slice(8,-1);if(l==="Object"&&a.constructor&&(l=a.constructor.name),l==="Map"||l==="Set")return Array.from(l);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return k(a,o)}}var b=50,u=/\(error: (.*)\)/,s=/captureMessage|captureException/;function c(){for(var a=arguments.length,o=new Array(a),l=0;l<a;l++)o[l]=arguments[l];var y=o.sort(function(p,I){return p[0]-I[0]}).map(function(p){return p[1]});return function(p){for(var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,P=[],h=p.split("\n"),_=I;_<h.length;_++){var T=h[_];if(!(T.length>1024)){var A=u.test(T)?T.replace(u,"$1"):T;if(!A.match(/\S*Error: /)){var U=!0,H=!1,F=void 0;try{for(var z=y[Symbol.iterator](),Z;!(U=(Z=z.next()).done);U=!0){var ee=Z.value,ne=ee(A);if(ne){P.push(ne);break}}}catch(W){H=!0,F=W}finally{try{!U&&z.return!=null&&z.return()}finally{if(H)throw F}}if(P.length>=b)break}}}return g(P)}}function R(a){return Array.isArray(a)?c.apply(void 0,m(a)):a}function g(a){if(!a.length)return[];var o=Array.from(a);return/sentryWrapped/.test(o[o.length-1].function||"")&&o.pop(),o.reverse(),s.test(o[o.length-1].function||"")&&(o.pop(),s.test(o[o.length-1].function||"")&&o.pop()),o.slice(0,b).map(function(l){return N(O({},l),{filename:l.filename||o[o.length-1].filename,function:l.function||"?"})})}var f="<anonymous>";function d(a){try{return!a||typeof a!="function"?f:a.name||f}catch(o){return f}}function i(a){return[90,(0,v.node)(a)]}},331910:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(O,D){for(var N in D)Object.defineProperty(O,N,{enumerable:!0,get:D[N]})}B(x,{isMatchingPattern:function(){return M},safeJoin:function(){return L},snipLine:function(){return G},stringMatchesSomePattern:function(){return C},truncate:function(){return k}});var v=S(353307);function k(O){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return typeof O!="string"||D===0||O.length<=D?O:"".concat(O.slice(0,D),"...")}function G(O,D){var N=O,m=N.length;if(m<=150)return N;D>m&&(D=m);var w=Math.max(D-60,0);w<5&&(w=0);var b=Math.min(w+140,m);return b>m-5&&(b=m),b===m&&(w=Math.max(b-140,0)),N=N.slice(w,b),w>0&&(N="'{snip} ".concat(N)),b<m&&(N+=" {snip}"),N}function L(O,D){if(!Array.isArray(O))return"";for(var N=[],m=0;m<O.length;m++){var w=O[m];try{(0,v.isVueViewModel)(w)?N.push("[VueViewModel]"):N.push(String(w))}catch(b){N.push("[value cannot be serialized]")}}return N.join(D)}function M(O,D){var N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return(0,v.isString)(O)?(0,v.isRegExp)(D)?D.test(O):(0,v.isString)(D)?N?O===D:O.includes(D):!1:!1}function C(O){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return D.some(function(m){return M(O,m,N)})}},939396:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(b,u){for(var s in u)Object.defineProperty(b,s,{enumerable:!0,get:u[s]})}B(x,{isNativeFetch:function(){return D},supportsDOMError:function(){return M},supportsDOMException:function(){return C},supportsErrorEvent:function(){return L},supportsFetch:function(){return O},supportsNativeFetch:function(){return N},supportsReferrerPolicy:function(){return w},supportsReportingObserver:function(){return m}});var v=S(853108),k=S(193844),G=(0,k.getGlobalObject)();function L(){try{return new ErrorEvent(""),!0}catch(b){return!1}}function M(){try{return new DOMError(""),!0}catch(b){return!1}}function C(){try{return new DOMException(""),!0}catch(b){return!1}}function O(){if(!("fetch"in G))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(b){return!1}}function D(b){return b&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(b.toString())}function N(){if(!O())return!1;if(D(G.fetch))return!0;var b=!1,u=G.document;if(u&&typeof u.createElement=="function")try{var s=u.createElement("iframe");s.hidden=!0,u.head.appendChild(s),s.contentWindow&&s.contentWindow.fetch&&(b=D(s.contentWindow.fetch)),u.head.removeChild(s)}catch(c){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",c)}return b}function m(){return"ReportingObserver"in G}function w(){if(!O())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(b){return!1}}},805390:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(O,D){for(var N in D)Object.defineProperty(O,N,{enumerable:!0,get:D[N]})}B(x,{SyncPromise:function(){return C},rejectedSyncPromise:function(){return M},resolvedSyncPromise:function(){return L}});var v=S(353307);function k(O,D){if(!(O instanceof D))throw new TypeError("Cannot call a class as a function")}var G;(function(O){var D=0;O[O.PENDING=D]="PENDING";var N=1;O[O.RESOLVED=N]="RESOLVED";var m=2;O[O.REJECTED=m]="REJECTED"})(G||(G={}));function L(O){return new C(function(D){D(O)})}function M(O){return new C(function(D,N){N(O)})}var C=function(){"use strict";function O(N){k(this,O),O.prototype.__init.call(this),O.prototype.__init2.call(this),O.prototype.__init3.call(this),O.prototype.__init4.call(this),this._state=G.PENDING,this._handlers=[];try{N(this._resolve,this._reject)}catch(m){this._reject(m)}}var D=O.prototype;return D.then=function(m,w){var b=this;return new O(function(u,s){b._handlers.push([!1,function(c){if(!m)u(c);else try{u(m(c))}catch(R){s(R)}},function(c){if(!w)s(c);else try{u(w(c))}catch(R){s(R)}}]),b._executeHandlers()})},D.catch=function(m){return this.then(function(w){return w},m)},D.finally=function(m){var w=this;return new O(function(b,u){var s,c;return w.then(function(R){c=!1,s=R,m&&m()},function(R){c=!0,s=R,m&&m()}).then(function(){if(c){u(s);return}b(s)})})},D.__init=function(){var m=this;this._resolve=function(w){m._setResult(G.RESOLVED,w)}},D.__init2=function(){var m=this;this._reject=function(w){m._setResult(G.REJECTED,w)}},D.__init3=function(){var m=this;this._setResult=function(w,b){if(m._state===G.PENDING){if((0,v.isThenable)(b)){b.then(m._resolve,m._reject);return}m._state=w,m._value=b,m._executeHandlers()}}},D.__init4=function(){var m=this;this._executeHandlers=function(){if(m._state!==G.PENDING){var w=m._handlers.slice();m._handlers=[],w.forEach(function(b){b[0]||(m._state===G.RESOLVED&&b[1](m._value),m._state===G.REJECTED&&b[2](m._value),b[0]=!0)})}}},O}()},22195:function(se,x,S){"use strict";se=S.nmd(se),Object.defineProperty(x,"__esModule",{value:!0});function B(c,R){for(var g in R)Object.defineProperty(c,g,{enumerable:!0,get:R[g]})}B(x,{_browserPerformanceTimeOriginMode:function(){return u},browserPerformanceTimeOrigin:function(){return s},dateTimestampInSeconds:function(){return N},timestampInSeconds:function(){return m},timestampWithMs:function(){return w},usingPerformanceAPI:function(){return b}});var v=S(543858),k=S(193844),G=(0,k.getGlobalObject)(),L={nowSeconds:function(){return Date.now()/1e3}};function M(){var c=G.performance;if(!(!c||!c.now)){var R=Date.now()-c.now();return{now:function(){return c.now()},timeOrigin:R}}}function C(){try{var c=(0,v.dynamicRequire)(se,"perf_hooks");return c.performance}catch(R){return}}var O=(0,v.isNodeEnv)()?C():M(),D=O===void 0?L:{nowSeconds:function(){return(O.timeOrigin+O.now())/1e3}},N=L.nowSeconds.bind(L),m=D.nowSeconds.bind(D),w=m,b=O!==void 0,u,s=function(){var c=G.performance;if(!c||!c.now){u="none";return}var R=3600*1e3,g=c.now(),f=Date.now(),d=c.timeOrigin?Math.abs(c.timeOrigin+g-f):R,i=d<R,a=c.timing&&c.timing.navigationStart,o=typeof a=="number",l=o?Math.abs(a+g-f):R,y=l<R;return i||y?d<=l?(u="timeOrigin",c.timeOrigin):(u="navigationStart",a):(u="dateNow",f)}()},619367:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(O,D){for(var N in D)Object.defineProperty(O,N,{enumerable:!0,get:D[N]})}B(x,{TRACEPARENT_REGEXP:function(){return G},extractTraceparentData:function(){return L},generateSentryTraceHeader:function(){return C},tracingContextFromHeaders:function(){return M}});var v=S(237136),k=S(222217),G=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function L(O){if(!!O){var D=O.match(G);if(!!D){var N;return D[3]==="1"?N=!0:D[3]==="0"&&(N=!1),{traceId:D[1],parentSampled:N,parentSpanId:D[2]}}}}function M(O,D){var N=L(O),m=(0,v.baggageHeaderToDynamicSamplingContext)(D),w=N||{},b=w.traceId,u=w.parentSpanId,s=w.parentSampled,c={traceId:b||(0,k.uuid4)(),spanId:(0,k.uuid4)().substring(16),sampled:s};return u&&(c.parentSpanId=u),m&&(c.dsc=m),{traceparentData:N,dynamicSamplingContext:m,propagationContext:c}}function C(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:(0,k.uuid4)(),D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:(0,k.uuid4)().substring(16),N=arguments.length>2?arguments[2]:void 0,m="";return N!==void 0&&(m=N?"-1":"-0"),"".concat(O,"-").concat(D).concat(m)}},382184:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function S(L,M){for(var C in M)Object.defineProperty(L,C,{enumerable:!0,get:M[C]})}S(x,{getNumberOfUrlSegments:function(){return k},getSanitizedUrlString:function(){return G},parseUrl:function(){return B},stripUrlQueryAndFragment:function(){return v}});function B(L){if(!L)return{};var M=L.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!M)return{};var C=M[6]||"",O=M[8]||"";return{host:M[4],path:M[5],protocol:M[2],search:C,hash:O,relative:M[5]+C+O}}function v(L){return L.split(/[\?#]/,1)[0]}function k(L){return L.split(/\\?\//).filter(function(M){return M.length>0&&M!==","}).length}function G(L){var M=L.protocol,C=L.host,O=L.path,D=C&&C.replace(/^.*@/,"[filtered]:[filtered]@").replace(":80","").replace(":443","")||"";return"".concat(M?"".concat(M,"://"):"").concat(D).concat(O)}},683079:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"addOrUpdateIntegration",{enumerable:!0,get:function(){return m}});function S(u,s){(s==null||s>u.length)&&(s=u.length);for(var c=0,R=new Array(s);c<s;c++)R[c]=u[c];return R}function B(u){if(Array.isArray(u))return u}function v(u){if(Array.isArray(u))return S(u)}function k(u){if(typeof Symbol!="undefined"&&u[Symbol.iterator]!=null||u["@@iterator"]!=null)return Array.from(u)}function G(u,s){var c=u==null?null:typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(c!=null){var R=[],g=!0,f=!1,d,i;try{for(c=c.call(u);!(g=(d=c.next()).done)&&(R.push(d.value),!(s&&R.length===s));g=!0);}catch(a){f=!0,i=a}finally{try{!g&&c.return!=null&&c.return()}finally{if(f)throw i}}return R}}function L(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function M(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function C(u,s){return B(u)||G(u,s)||D(u,s)||L()}function O(u){return v(u)||k(u)||D(u)||M()}function D(u,s){if(!!u){if(typeof u=="string")return S(u,s);var c=Object.prototype.toString.call(u).slice(8,-1);if(c==="Object"&&u.constructor&&(c=u.constructor.name),c==="Map"||c==="Set")return Array.from(c);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return S(u,s)}}function N(u,s,c){var R=s.match(/([a-z_]+)\.(.*)/i);if(R===null)u[s]=c;else{var g=u[R[1]];N(g,R[2],c)}}function m(u,s){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Array.isArray(s)?w(u,s,c):b(u,s,c)}function w(u,s,c){var R=s.find(function(p){return p.name===u.name});if(R){var g=!0,f=!1,d=void 0;try{for(var i=Object.entries(c)[Symbol.iterator](),a;!(g=(a=i.next()).done);g=!0){var o=C(a.value,2),l=o[0],y=o[1];N(R,l,y)}}catch(p){f=!0,d=p}finally{try{!g&&i.return!=null&&i.return()}finally{if(f)throw d}}return s}return O(s).concat([u])}function b(u,s,c){var R=function(g){var f=s(g);if(u.allowExclusionByUser){var d=f.find(function(i){return i.name===u.name});if(!d)return f}return w(u,f,c)};return R}},183581:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"escapeStringForRegex",{enumerable:!0,get:function(){return S}});function S(B){return B.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},530044:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"supportsHistory",{enumerable:!0,get:function(){return k}});var B=S(193844),v=(0,B.getGlobalObject)();function k(){var G=v.chrome,L=G&&G.app&&G.app.runtime,M="history"in v&&!!v.history.pushState&&!!v.history.replaceState;return!L&&M}},193844:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(M,C){for(var O in C)Object.defineProperty(M,O,{enumerable:!0,get:C[O]})}B(x,{GLOBAL_OBJ:function(){return k},getGlobalObject:function(){return G},getGlobalSingleton:function(){return L}});function v(M){return M&&M.Math==Math?M:void 0}var k=typeof globalThis=="object"&&v(globalThis)||typeof window=="object"&&v(window)||typeof self=="object"&&v(self)||typeof S.g=="object"&&v(S.g)||function(){return this}()||{};function G(){return k}function L(M,C,O){var D=O||k,N=D.__SENTRY__=D.__SENTRY__||{},m=N[M]||(N[M]=C());return m}},722165:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"registerBackgroundTabDetection",{enumerable:!0,get:function(){return G}});var B=S(951787),v=S(788894),k=S(814234);function G(){k.WINDOW&&k.WINDOW.document?k.WINDOW.document.addEventListener("visibilitychange",function(){var L=(0,B.getActiveTransaction)();if(k.WINDOW.document.hidden&&L){var M="cancelled";(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("[Tracing] Transaction: ".concat(M," -> since tab moved to the background, op: ").concat(L.op)),L.status||L.setStatus(M),L.setTag("visibilitychange","document.hidden"),L.finish()}}):(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.warn("[Tracing] Could not set up background tab detection due to lack of global document")}},406110:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(g,f){for(var d in f)Object.defineProperty(g,d,{enumerable:!0,get:f[d]})}B(x,{BROWSER_TRACING_INTEGRATION_ID:function(){return u},BrowserTracing:function(){return c},getMetaContent:function(){return R}});var v=S(951787),k=S(788894),G=S(722165),L=S(707254),M=S(490068),C=S(114592),O=S(814234);function D(g,f){if(!(g instanceof f))throw new TypeError("Cannot call a class as a function")}function N(g,f,d){return f in g?Object.defineProperty(g,f,{value:d,enumerable:!0,configurable:!0,writable:!0}):g[f]=d,g}function m(g){for(var f=1;f<arguments.length;f++){var d=arguments[f]!=null?arguments[f]:{},i=Object.keys(d);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(d).filter(function(a){return Object.getOwnPropertyDescriptor(d,a).enumerable}))),i.forEach(function(a){N(g,a,d[a])})}return g}function w(g,f){var d=Object.keys(g);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(g);f&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(g,a).enumerable})),d.push.apply(d,i)}return d}function b(g,f){return f=f!=null?f:{},Object.getOwnPropertyDescriptors?Object.defineProperties(g,Object.getOwnPropertyDescriptors(f)):w(Object(f)).forEach(function(d){Object.defineProperty(g,d,Object.getOwnPropertyDescriptor(f,d))}),g}var u="BrowserTracing",s=m(b(m({},v.TRACING_DEFAULTS),{markBackgroundTransactions:!0,routingInstrumentation:C.instrumentRoutingWithDefaults,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,_experiments:{}}),M.defaultRequestInstrumentationOptions),c=function(){"use strict";function g(d){D(this,g),this.name=u,this._hasSetTracePropagationTargets=!1,(0,v.addTracingExtensions)(),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&(this._hasSetTracePropagationTargets=!!(d&&(d.tracePropagationTargets||d.tracingOrigins))),this.options=m({},s,d),this.options._experiments.enableLongTask!==void 0&&(this.options.enableLongTask=this.options._experiments.enableLongTask),d&&!d.tracePropagationTargets&&d.tracingOrigins&&(this.options.tracePropagationTargets=d.tracingOrigins),this._collectWebVitals=(0,L.startTrackingWebVitals)(),this.options.enableLongTask&&(0,L.startTrackingLongTasks)(),this.options._experiments.enableInteractions&&(0,L.startTrackingInteractions)()}var f=g.prototype;return f.setupOnce=function(i,a){var o=this;this._getCurrentHub=a;var l=a(),y=l.getClient(),p=y&&y.getOptions(),I=this.options,P=I.routingInstrumentation,h=I.startTransactionOnLocationChange,_=I.startTransactionOnPageLoad,T=I.markBackgroundTransactions,A=I.traceFetch,U=I.traceXHR,H=I.shouldCreateSpanForRequest,F=I.enableHTTPTimings,z=I._experiments,Z=p&&p.tracePropagationTargets,ee=Z||this.options.tracePropagationTargets;(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&this._hasSetTracePropagationTargets&&Z&&k.logger.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used."),P(function(ne){var W=o._createRouteTransaction(ne);return o.options._experiments.onStartRouteTransaction&&o.options._experiments.onStartRouteTransaction(W,ne,a),W},_,h),T&&(0,G.registerBackgroundTabDetection)(),z.enableInteractions&&this._registerInteractionListener(),(0,M.instrumentOutgoingRequests)({traceFetch:A,traceXHR:U,tracePropagationTargets:ee,shouldCreateSpanForRequest:H,enableHTTPTimings:F})},f._createRouteTransaction=function(i){var a=this;if(!this._getCurrentHub){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.warn("[Tracing] Did not create ".concat(i.op," transaction because _getCurrentHub is invalid."));return}var o=this._getCurrentHub(),l=this.options,y=l.beforeNavigate,p=l.idleTimeout,I=l.finalTimeout,P=l.heartbeatInterval,h=i.op==="pageload",_=h?R("sentry-trace"):"",T=h?R("baggage"):"",A=(0,k.tracingContextFromHeaders)(_,T),U=A.traceparentData,H=A.dynamicSamplingContext,F=A.propagationContext,z=b(m({},i,U),{metadata:b(m({},i.metadata),{dynamicSamplingContext:U&&!H?{}:H}),trimEnd:!0}),Z=typeof y=="function"?y(z):z,ee=Z===void 0?b(m({},z),{sampled:!1}):Z;ee.metadata=ee.name!==z.name?b(m({},ee.metadata),{source:"custom"}):ee.metadata,this._latestRouteName=ee.name,this._latestRouteSource=ee.metadata&&ee.metadata.source,ee.sampled===!1&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.log("[Tracing] Will not send ".concat(ee.op," transaction because of beforeNavigate.")),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.log("[Tracing] Starting ".concat(ee.op," transaction on scope"));var ne=O.WINDOW.location,W=(0,v.startIdleTransaction)(o,ee,p,I,!0,{location:ne},P),X=o.getScope();return h&&U?X.setPropagationContext(F):X.setPropagationContext({traceId:W.traceId,spanId:W.spanId,parentSpanId:W.parentSpanId,sampled:W.sampled}),W.registerBeforeFinishCallback(function(Y){a._collectWebVitals(),(0,L.addPerformanceEntries)(Y)}),W},f._registerInteractionListener=function(){var i=this,a,o=function(){var l=i.options,y=l.idleTimeout,p=l.finalTimeout,I=l.heartbeatInterval,P="ui.action.click",h=(0,v.getActiveTransaction)();if(h&&h.op&&["navigation","pageload"].includes(h.op)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.warn("[Tracing] Did not create ".concat(P," transaction because a pageload or navigation transaction is in progress."));return}if(a&&(a.setFinishReason("interactionInterrupted"),a.finish(),a=void 0),!i._getCurrentHub){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.warn("[Tracing] Did not create ".concat(P," transaction because _getCurrentHub is invalid."));return}if(!i._latestRouteName){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.warn("[Tracing] Did not create ".concat(P," transaction because _latestRouteName is missing."));return}var _=i._getCurrentHub(),T=O.WINDOW.location,A={name:i._latestRouteName,op:P,trimEnd:!0,metadata:{source:i._latestRouteSource||"url"}};a=(0,v.startIdleTransaction)(_,A,y,p,!0,{location:T},I)};["click"].forEach(function(l){addEventListener(l,o,{once:!1,capture:!0})})},g}();function R(g){var f=(0,k.getDomElement)("meta[name=".concat(g,"]"));return f?f.getAttribute("content"):void 0}},329258:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(l,y){for(var p in y)Object.defineProperty(l,p,{enumerable:!0,get:y[p]})}B(x,{addClsInstrumentationHandler:function(){return w},addFidInstrumentationHandler:function(){return u},addLcpInstrumentationHandler:function(){return b},addPerformanceInstrumentationHandler:function(){return s}});var v=S(788894),k=S(224577),G=S(729612),L=S(714014),M=S(909420),C={},O={},D,N,m;function w(l){return d("cls",l,R,D)}function b(l){return d("lcp",l,f,m)}function u(l){return d("fid",l,g,N)}function s(l,y){return a(l,y),O[l]||(i(l),O[l]=!0),o(l,y)}function c(l,y){var p=C[l];if(!(!p||!p.length)){var I=!0,P=!1,h=void 0;try{for(var _=p[Symbol.iterator](),T;!(I=(T=_.next()).done);I=!0){var A=T.value;try{A(y)}catch(U){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.error("Error while triggering instrumentation handler.\nType: ".concat(l,"\nName: ").concat((0,v.getFunctionName)(A),"\nError:"),U)}}}catch(U){P=!0,h=U}finally{try{!I&&_.return!=null&&_.return()}finally{if(P)throw h}}}}function R(){(0,k.onCLS)(function(l){c("cls",{metric:l}),D=l})}function g(){(0,G.onFID)(function(l){c("fid",{metric:l}),N=l})}function f(){(0,L.onLCP)(function(l){c("lcp",{metric:l}),m=l})}function d(l,y,p,I){return a(l,y),O[l]||(p(),O[l]=!0),I&&y({metric:I}),o(l,y)}function i(l){var y={};l==="event"&&(y.durationThreshold=0),(0,M.observe)(l,function(p){c(l,{entries:p})},y)}function a(l,y){C[l]=C[l]||[],C[l].push(y)}function o(l,y){return function(){var p=C[l];if(!!p){var I=p.indexOf(y);I!==-1&&p.splice(I,1)}}}},707254:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(P,h){for(var _ in h)Object.defineProperty(P,_,{enumerable:!0,get:h[_]})}B(x,{_addMeasureSpans:function(){return i},_addResourceSpans:function(){return y},addPerformanceEntries:function(){return d},startTrackingInteractions:function(){return c},startTrackingLongTasks:function(){return s},startTrackingWebVitals:function(){return u}});var v=S(951787),k=S(788894),G=S(329258),L=S(814234),M=S(269496),C=S(611127);function O(P){return P/1e3}function D(){return L.WINDOW&&L.WINDOW.addEventListener&&L.WINDOW.performance}var N=0,m={},w,b;function u(){var P=D();if(P&&k.browserPerformanceTimeOrigin){P.mark&&L.WINDOW.performance.mark("sentry-tracing-init");var h=f(),_=R(),T=g();return function(){h(),_(),T()}}return function(){}}function s(){(0,G.addPerformanceInstrumentationHandler)("longtask",function(P){var h=P.entries,_=!0,T=!1,A=void 0;try{for(var U=h[Symbol.iterator](),H;!(_=(H=U.next()).done);_=!0){var F=H.value,z=(0,v.getActiveTransaction)();if(!z)return;var Z=O(k.browserPerformanceTimeOrigin+F.startTime),ee=O(F.duration);z.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:Z,endTimestamp:Z+ee})}}catch(ne){T=!0,A=ne}finally{try{!_&&U.return!=null&&U.return()}finally{if(T)throw A}}})}function c(){(0,G.addPerformanceInstrumentationHandler)("event",function(P){var h=P.entries,_=!0,T=!1,A=void 0;try{for(var U=h[Symbol.iterator](),H;!(_=(H=U.next()).done);_=!0){var F=H.value,z=(0,v.getActiveTransaction)();if(!z)return;if(F.name==="click"){var Z=O(k.browserPerformanceTimeOrigin+F.startTime),ee=O(F.duration);z.startChild({description:(0,k.htmlTreeAsString)(F.target),op:"ui.interaction.".concat(F.name),origin:"auto.ui.browser.metrics",startTimestamp:Z,endTimestamp:Z+ee})}}}catch(ne){T=!0,A=ne}finally{try{!_&&U.return!=null&&U.return()}finally{if(T)throw A}}})}function R(){return(0,G.addClsInstrumentationHandler)(function(P){var h=P.metric,_=h.entries.pop();!_||((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.log("[Measurements] Adding CLS"),m.cls={value:h.value,unit:""},b=_)})}function g(){return(0,G.addLcpInstrumentationHandler)(function(P){var h=P.metric,_=h.entries.pop();!_||((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.log("[Measurements] Adding LCP"),m.lcp={value:h.value,unit:"millisecond"},w=_)})}function f(){return(0,G.addFidInstrumentationHandler)(function(P){var h=P.metric,_=h.entries.pop();if(!!_){var T=O(k.browserPerformanceTimeOrigin),A=O(_.startTime);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.log("[Measurements] Adding FID"),m.fid={value:h.value,unit:"millisecond"},m["mark.fid"]={value:T+A,unit:"second"}}})}function d(P){var h=D();if(!(!h||!L.WINDOW.performance.getEntries||!k.browserPerformanceTimeOrigin)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.log("[Tracing] Adding & adjusting spans using Performance API");var _=O(k.browserPerformanceTimeOrigin),T=h.getEntries(),A,U;if(T.slice(N).forEach(function(F){var z=O(F.startTime),Z=O(F.duration);if(!(P.op==="navigation"&&_+z<P.startTimestamp))switch(F.entryType){case"navigation":{a(P,F,_),A=_+O(F.responseStart),U=_+O(F.requestStart);break}case"mark":case"paint":case"measure":{i(P,F,z,Z,_);var ee=(0,M.getVisibilityWatcher)(),ne=F.startTime<ee.firstHiddenTime;F.name==="first-paint"&&ne&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.log("[Measurements] Adding FP"),m.fp={value:F.startTime,unit:"millisecond"}),F.name==="first-contentful-paint"&&ne&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.log("[Measurements] Adding FCP"),m.fcp={value:F.startTime,unit:"millisecond"});break}case"resource":{var W=F.name.replace(L.WINDOW.location.origin,"");y(P,F,W,z,Z,_);break}}}),N=Math.max(T.length-1,0),p(P),P.op==="pageload"){typeof A=="number"&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.log("[Measurements] Adding TTFB"),m.ttfb={value:(A-P.startTimestamp)*1e3,unit:"millisecond"},typeof U=="number"&&U<=A&&(m["ttfb.requestTime"]={value:(A-U)*1e3,unit:"millisecond"})),["fcp","fp","lcp"].forEach(function(F){if(!(!m[F]||_>=P.startTimestamp)){var z=m[F].value,Z=_+O(z),ee=Math.abs((Z-P.startTimestamp)*1e3),ne=ee-z;(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.log("[Measurements] Normalized ".concat(F," from ").concat(z," to ").concat(ee," (").concat(ne,")")),m[F].value=ee}});var H=m["mark.fid"];H&&m.fid&&((0,C._startChild)(P,{description:"first input delay",endTimestamp:H.value+O(m.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:H.value}),delete m["mark.fid"]),"fcp"in m||delete m.cls,Object.keys(m).forEach(function(F){P.setMeasurement(F,m[F].value,m[F].unit)}),I(P)}w=void 0,b=void 0,m={}}}function i(P,h,_,T,A){var U=A+_,H=U+T;return(0,C._startChild)(P,{description:h.name,endTimestamp:H,op:h.entryType,origin:"auto.resource.browser.metrics",startTimestamp:U}),U}function a(P,h,_){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(function(T){o(P,h,T,_)}),o(P,h,"secureConnection",_,"TLS/SSL","connectEnd"),o(P,h,"fetch",_,"cache","domainLookupStart"),o(P,h,"domainLookup",_,"DNS"),l(P,h,_)}function o(P,h,_,T,A,U){var H=U?h[U]:h["".concat(_,"End")],F=h["".concat(_,"Start")];!F||!H||(0,C._startChild)(P,{op:"browser",origin:"auto.browser.browser.metrics",description:A||_,startTimestamp:T+O(F),endTimestamp:T+O(H)})}function l(P,h,_){(0,C._startChild)(P,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:_+O(h.requestStart),endTimestamp:_+O(h.responseEnd)}),(0,C._startChild)(P,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:_+O(h.responseStart),endTimestamp:_+O(h.responseEnd)})}function y(P,h,_,T,A,U){if(!(h.initiatorType==="xmlhttprequest"||h.initiatorType==="fetch")){var H={};"transferSize"in h&&(H["http.response_transfer_size"]=h.transferSize),"encodedBodySize"in h&&(H["http.response_content_length"]=h.encodedBodySize),"decodedBodySize"in h&&(H["http.decoded_response_content_length"]=h.decodedBodySize),"renderBlockingStatus"in h&&(H["resource.render_blocking_status"]=h.renderBlockingStatus);var F=U+T,z=F+A;(0,C._startChild)(P,{description:_,endTimestamp:z,op:h.initiatorType?"resource.".concat(h.initiatorType):"resource.other",origin:"auto.resource.browser.metrics",startTimestamp:F,data:H})}}function p(P){var h=L.WINDOW.navigator;if(!!h){var _=h.connection;_&&(_.effectiveType&&P.setTag("effectiveConnectionType",_.effectiveType),_.type&&P.setTag("connectionType",_.type),(0,C.isMeasurementValue)(_.rtt)&&(m["connection.rtt"]={value:_.rtt,unit:"millisecond"})),(0,C.isMeasurementValue)(h.deviceMemory)&&P.setTag("deviceMemory","".concat(h.deviceMemory," GB")),(0,C.isMeasurementValue)(h.hardwareConcurrency)&&P.setTag("hardwareConcurrency",String(h.hardwareConcurrency))}}function I(P){w&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.log("[Measurements] Adding LCP Data"),w.element&&P.setTag("lcp.element",(0,k.htmlTreeAsString)(w.element)),w.id&&P.setTag("lcp.id",w.id),w.url&&P.setTag("lcp.url",w.url.trim().slice(0,200)),P.setTag("lcp.size",w.size)),b&&b.sources&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&k.logger.log("[Measurements] Adding CLS Data"),b.sources.forEach(function(h,_){return P.setTag("cls.source.".concat(_+1),(0,k.htmlTreeAsString)(h.node))}))}},611127:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function S(C,O){for(var D in O)Object.defineProperty(C,D,{enumerable:!0,get:O[D]})}S(x,{_startChild:function(){return M},isMeasurementValue:function(){return L}});function B(C,O,D){return O in C?Object.defineProperty(C,O,{value:D,enumerable:!0,configurable:!0,writable:!0}):C[O]=D,C}function v(C){for(var O=1;O<arguments.length;O++){var D=arguments[O]!=null?arguments[O]:{},N=Object.keys(D);typeof Object.getOwnPropertySymbols=="function"&&(N=N.concat(Object.getOwnPropertySymbols(D).filter(function(m){return Object.getOwnPropertyDescriptor(D,m).enumerable}))),N.forEach(function(m){B(C,m,D[m])})}return C}function k(C,O){if(C==null)return{};var D=G(C,O),N,m;if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(C);for(m=0;m<w.length;m++)N=w[m],!(O.indexOf(N)>=0)&&(!Object.prototype.propertyIsEnumerable.call(C,N)||(D[N]=C[N]))}return D}function G(C,O){if(C==null)return{};var D={},N=Object.keys(C),m,w;for(w=0;w<N.length;w++)m=N[w],!(O.indexOf(m)>=0)&&(D[m]=C[m]);return D}function L(C){return typeof C=="number"&&isFinite(C)}function M(C,O){var D=O.startTimestamp,N=k(O,["startTimestamp"]);return D&&C.startTimestamp>D&&(C.startTimestamp=D),C.startChild(v({startTimestamp:D},N))}},490068:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(A,U){for(var H in U)Object.defineProperty(A,H,{enumerable:!0,get:U[H]})}B(x,{DEFAULT_TRACE_PROPAGATION_TARGETS:function(){return f},addTracingHeadersToFetchRequest:function(){return h},defaultRequestInstrumentationOptions:function(){return d},extractNetworkProtocol:function(){return l},fetchCallback:function(){return P},instrumentOutgoingRequests:function(){return i},shouldAttachHeaders:function(){return I},xhrCallback:function(){return _}});var v=S(951787),k=S(788894),G=S(329258);function L(A,U){(U==null||U>A.length)&&(U=A.length);for(var H=0,F=new Array(U);H<U;H++)F[H]=A[H];return F}function M(A){if(Array.isArray(A))return A}function C(A){if(Array.isArray(A))return L(A)}function O(A,U,H){return U in A?Object.defineProperty(A,U,{value:H,enumerable:!0,configurable:!0,writable:!0}):A[U]=H,A}function D(A){if(typeof Symbol!="undefined"&&A[Symbol.iterator]!=null||A["@@iterator"]!=null)return Array.from(A)}function N(A,U){var H=A==null?null:typeof Symbol!="undefined"&&A[Symbol.iterator]||A["@@iterator"];if(H!=null){var F=[],z=!0,Z=!1,ee,ne;try{for(H=H.call(A);!(z=(ee=H.next()).done)&&(F.push(ee.value),!(U&&F.length===U));z=!0);}catch(W){Z=!0,ne=W}finally{try{!z&&H.return!=null&&H.return()}finally{if(Z)throw ne}}return F}}function m(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function w(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(A){for(var U=1;U<arguments.length;U++){var H=arguments[U]!=null?arguments[U]:{},F=Object.keys(H);typeof Object.getOwnPropertySymbols=="function"&&(F=F.concat(Object.getOwnPropertySymbols(H).filter(function(z){return Object.getOwnPropertyDescriptor(H,z).enumerable}))),F.forEach(function(z){O(A,z,H[z])})}return A}function u(A,U){var H=Object.keys(A);if(Object.getOwnPropertySymbols){var F=Object.getOwnPropertySymbols(A);U&&(F=F.filter(function(z){return Object.getOwnPropertyDescriptor(A,z).enumerable})),H.push.apply(H,F)}return H}function s(A,U){return U=U!=null?U:{},Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(U)):u(Object(U)).forEach(function(H){Object.defineProperty(A,H,Object.getOwnPropertyDescriptor(U,H))}),A}function c(A,U){return M(A)||N(A,U)||g(A,U)||m()}function R(A){return C(A)||D(A)||g(A)||w()}function g(A,U){if(!!A){if(typeof A=="string")return L(A,U);var H=Object.prototype.toString.call(A).slice(8,-1);if(H==="Object"&&A.constructor&&(H=A.constructor.name),H==="Map"||H==="Set")return Array.from(H);if(H==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(H))return L(A,U)}}var f=["localhost",/^\/(?!\/)/],d={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:f,tracePropagationTargets:f};function i(A){var U=b({traceFetch:d.traceFetch,traceXHR:d.traceXHR},A),H=U.traceFetch,F=U.traceXHR,z=U.tracePropagationTargets,Z=U.tracingOrigins,ee=U.shouldCreateSpanForRequest,ne=U.enableHTTPTimings,W=typeof ee=="function"?ee:function(re){return!0},X=function(re){return I(re,z||Z)},Y={};H&&(0,k.addInstrumentationHandler)("fetch",function(re){var ae=P(re,W,X,Y);ne&&ae&&o(ae)}),F&&(0,k.addInstrumentationHandler)("xhr",function(re){var ae=_(re,W,X,Y);ne&&ae&&o(ae)})}function a(A){return A.entryType==="resource"&&"initiatorType"in A&&typeof A.nextHopProtocol=="string"&&(A.initiatorType==="fetch"||A.initiatorType==="xmlhttprequest")}function o(A){var U=A.data.url;if(!!U)var H=(0,G.addPerformanceInstrumentationHandler)("resource",function(F){var z=F.entries;z.forEach(function(Z){if(a(Z)&&Z.name.endsWith(U)){var ee,ne=p(Z);ne.forEach(function(W){return(ee=A).setData.apply(ee,R(W))}),setTimeout(H)}})})}function l(A){var U="unknown",H="unknown",F="",z=!0,Z=!1,ee=void 0;try{for(var ne=A[Symbol.iterator](),W;!(z=(W=ne.next()).done);z=!0){var X=W.value;if(X==="/"){var Y;Y=c(A.split("/"),2),U=Y[0],H=Y[1];break}if(!isNaN(Number(X))){U=F==="h"?"http":F,H=A.split(F)[1];break}F+=X}}catch(re){Z=!0,ee=re}finally{try{!z&&ne.return!=null&&ne.return()}finally{if(Z)throw ee}}return F===A&&(U=F),{name:U,version:H}}function y(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return((k.browserPerformanceTimeOrigin||performance.timeOrigin)+A)/1e3}function p(A){var U=l(A.nextHopProtocol),H=U.name,F=U.version,z=[];return z.push(["network.protocol.version",F],["network.protocol.name",H]),k.browserPerformanceTimeOrigin?R(z).concat([["http.request.redirect_start",y(A.redirectStart)],["http.request.fetch_start",y(A.fetchStart)],["http.request.domain_lookup_start",y(A.domainLookupStart)],["http.request.domain_lookup_end",y(A.domainLookupEnd)],["http.request.connect_start",y(A.connectStart)],["http.request.secure_connection_start",y(A.secureConnectionStart)],["http.request.connection_end",y(A.connectEnd)],["http.request.request_start",y(A.requestStart)],["http.request.response_start",y(A.responseStart)],["http.request.response_end",y(A.responseEnd)]]):z}function I(A,U){return(0,k.stringMatchesSomePattern)(A,U||f)}function P(A,U,H,F){if(!(!(0,v.hasTracingEnabled)()||!A.fetchData)){var z=U(A.fetchData.url);if(A.endTimestamp&&z){var Z=A.fetchData.__span;if(!Z)return;var ee=F[Z];if(ee){if(A.response){ee.setHttpStatus(A.response.status);var ne=A.response&&A.response.headers&&A.response.headers.get("content-length"),W=parseInt(ne);W>0&&ee.setData("http.response_content_length",W)}else A.error&&ee.setStatus("internal_error");ee.finish(),delete F[Z]}return}var X=(0,v.getCurrentHub)(),Y=X.getScope(),re=X.getClient(),ae=Y.getSpan(),pe=A.fetchData,ve=pe.method,we=pe.url,Pe=z&&ae?ae.startChild({data:{url:we,type:"fetch","http.method":ve},description:"".concat(ve," ").concat(we),op:"http.client",origin:"auto.http.browser"}):void 0;if(Pe&&(A.fetchData.__span=Pe.spanId,F[Pe.spanId]=Pe),H(A.fetchData.url)&&re){var ce=A.args[0];A.args[1]=A.args[1]||{};var be=A.args[1];be.headers=h(ce,re,Y,be,Pe)}return Pe}}function h(A,U,H,F,z){var Z=z||H.getSpan(),ee=Z&&Z.transaction,ne=H.getPropagationContext(),W=ne.traceId,X=ne.sampled,Y=ne.dsc,re=Z?Z.toTraceparent():(0,k.generateSentryTraceHeader)(W,void 0,X),ae=ee?ee.getDynamicSamplingContext():Y||(0,v.getDynamicSamplingContextFromClient)(W,U,H),pe=(0,k.dynamicSamplingContextToSentryBaggageHeader)(ae),ve=typeof Request!="undefined"&&(0,k.isInstanceOf)(A,Request)?A.headers:F.headers;if(ve)if(typeof Headers!="undefined"&&(0,k.isInstanceOf)(ve,Headers)){var we=new Headers(ve);return we.append("sentry-trace",re),pe&&we.append(k.BAGGAGE_HEADER_NAME,pe),we}else if(Array.isArray(ve)){var Pe=R(ve).concat([["sentry-trace",re]]);return pe&&Pe.push([k.BAGGAGE_HEADER_NAME,pe]),Pe}else{var ce="baggage"in ve?ve.baggage:void 0,be=[];if(Array.isArray(ce)){var Ee;(Ee=be).push.apply(Ee,R(ce))}else ce&&be.push(ce);return pe&&be.push(pe),s(b({},ve),{"sentry-trace":re,baggage:be.length>0?be.join(","):void 0})}else return{"sentry-trace":re,baggage:pe}}function _(A,U,H,F){var z=A.xhr,Z=z&&z[k.SENTRY_XHR_DATA_KEY];if(!(!(0,v.hasTracingEnabled)()||z&&z.__sentry_own_request__||!z||!Z)){var ee=U(Z.url);if(A.endTimestamp&&ee){var ne=z.__sentry_xhr_span_id__;if(!ne)return;var W=F[ne];W&&(W.setHttpStatus(Z.status_code),W.finish(),delete F[ne]);return}var X=(0,v.getCurrentHub)(),Y=X.getScope(),re=Y.getSpan(),ae=ee&&re?re.startChild({data:s(b({},Z.data),{type:"xhr","http.method":Z.method,url:Z.url}),description:"".concat(Z.method," ").concat(Z.url),op:"http.client",origin:"auto.http.browser"}):void 0;if(ae&&(z.__sentry_xhr_span_id__=ae.spanId,F[z.__sentry_xhr_span_id__]=ae),z.setRequestHeader&&H(Z.url))if(ae){var pe=ae&&ae.transaction,ve=pe&&pe.getDynamicSamplingContext(),we=(0,k.dynamicSamplingContextToSentryBaggageHeader)(ve);T(z,ae.toTraceparent(),we)}else{var Pe=X.getClient(),ce=Y.getPropagationContext(),be=ce.traceId,Ee=ce.sampled,Ie=ce.dsc,De=(0,k.generateSentryTraceHeader)(be,void 0,Ee),Be=Ie||(Pe?(0,v.getDynamicSamplingContextFromClient)(be,Pe,Y):void 0),$e=(0,k.dynamicSamplingContextToSentryBaggageHeader)(Be);T(z,De,$e)}return ae}}function T(A,U,H){try{A.setRequestHeader("sentry-trace",U),H&&A.setRequestHeader(k.BAGGAGE_HEADER_NAME,H)}catch(F){}}},114592:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"instrumentRoutingWithDefaults",{enumerable:!0,get:function(){return k}});var B=S(788894),v=S(814234);function k(G){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!v.WINDOW||!v.WINDOW.location){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.warn("Could not initialize routing instrumentation due to invalid location");return}var C=v.WINDOW.location.href,O;L&&(O=G({name:v.WINDOW.location.pathname,startTimestamp:B.browserPerformanceTimeOrigin?B.browserPerformanceTimeOrigin/1e3:void 0,op:"pageload",origin:"auto.pageload.browser",metadata:{source:"url"}})),M&&(0,B.addInstrumentationHandler)("history",function(D){var N=D.to,m=D.from;if(m===void 0&&C&&C.indexOf(N)!==-1){C=void 0;return}m!==N&&(C=void 0,O&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&B.logger.log("[Tracing] Finishing current transaction with op: ".concat(O.op)),O.finish()),O=G({name:v.WINDOW.location.pathname,op:"navigation",origin:"auto.navigation.browser",metadata:{source:"url"}}))})}},814234:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"WINDOW",{enumerable:!0,get:function(){return v}});var B=S(788894),v=B.GLOBAL_OBJ},224577:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"onCLS",{enumerable:!0,get:function(){return L}});var B=S(360067),v=S(342174),k=S(909420),G=S(435689),L=function(M){var C=(0,v.initMetric)("CLS",0),O,D=0,N=[],m=function(u){u.forEach(function(s){if(!s.hadRecentInput){var c=N[0],R=N[N.length-1];D&&N.length!==0&&s.startTime-R.startTime<1e3&&s.startTime-c.startTime<5e3?(D+=s.value,N.push(s)):(D=s.value,N=[s]),D>C.value&&(C.value=D,C.entries=N,O&&O())}})},w=(0,k.observe)("layout-shift",m);if(w){O=(0,B.bindReporter)(M,C);var b=function(){m(w.takeRecords()),O(!0)};return(0,G.onHidden)(b),b}}},729612:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"onFID",{enumerable:!0,get:function(){return M}});var B=S(360067),v=S(269496),k=S(342174),G=S(909420),L=S(435689),M=function(C){var O=(0,v.getVisibilityWatcher)(),D=(0,k.initMetric)("FID"),N,m=function(u){u.startTime<O.firstHiddenTime&&(D.value=u.processingStart-u.startTime,D.entries.push(u),N(!0))},w=function(u){u.forEach(m)},b=(0,G.observe)("first-input",w);N=(0,B.bindReporter)(C,D),b&&(0,L.onHidden)(function(){w(b.takeRecords()),b.disconnect()},!0)}},714014:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"onLCP",{enumerable:!0,get:function(){return O}});var B=S(360067),v=S(490358),k=S(269496),G=S(342174),L=S(909420),M=S(435689),C={},O=function(D){var N=(0,k.getVisibilityWatcher)(),m=(0,G.initMetric)("LCP"),w,b=function(c){var R=c[c.length-1];if(R){var g=Math.max(R.startTime-(0,v.getActivationStart)(),0);g<N.firstHiddenTime&&(m.value=g,m.entries=[R],w())}},u=(0,L.observe)("largest-contentful-paint",b);if(u){w=(0,B.bindReporter)(D,m);var s=function(){C[m.id]||(b(u.takeRecords()),u.disconnect(),C[m.id]=!0,w(!0))};return["keydown","click"].forEach(function(c){addEventListener(c,s,{once:!0,capture:!0})}),(0,M.onHidden)(s,!0),s}}},360067:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"bindReporter",{enumerable:!0,get:function(){return S}});var S=function(B,v,k){var G,L;return function(M){v.value>=0&&(M||k)&&(L=v.value-(G||0),(L||G===void 0)&&(G=v.value,v.delta=L,B(v)))}}},850264:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"generateUniqueID",{enumerable:!0,get:function(){return S}});var S=function(){return"v3-".concat(Date.now(),"-").concat(Math.floor(Math.random()*(9e12-1))+1e12)}},490358:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"getActivationStart",{enumerable:!0,get:function(){return v}});var B=S(718223),v=function(){var k=(0,B.getNavigationEntry)();return k&&k.activationStart||0}},718223:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"getNavigationEntry",{enumerable:!0,get:function(){return k}});var B=S(814234),v=function(){var G=B.WINDOW.performance.timing,L=B.WINDOW.performance.navigation.type,M={entryType:"navigation",startTime:0,type:L==2?"back_forward":L===1?"reload":"navigate"};for(var C in G)C!=="navigationStart"&&C!=="toJSON"&&(M[C]=Math.max(G[C]-G.navigationStart,0));return M},k=function(){return B.WINDOW.__WEB_VITALS_POLYFILL__?B.WINDOW.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||v()):B.WINDOW.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]}},269496:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"getVisibilityWatcher",{enumerable:!0,get:function(){return M}});var B=S(814234),v=S(435689),k=-1,G=function(){return B.WINDOW.document.visibilityState==="hidden"&&!B.WINDOW.document.prerendering?0:1/0},L=function(){(0,v.onHidden)(function(C){var O=C.timeStamp;k=O},!0)},M=function(){return k<0&&(k=G(),L()),{get firstHiddenTime(){return k}}}},342174:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"initMetric",{enumerable:!0,get:function(){return L}});var B=S(814234),v=S(850264),k=S(490358),G=S(718223),L=function(M,C){var O=(0,G.getNavigationEntry)(),D="navigate";return O&&(B.WINDOW.document.prerendering||(0,k.getActivationStart)()>0?D="prerender":D=O.type.replace(/_/g,"-")),{name:M,value:typeof C=="undefined"?-1:C,rating:"good",delta:0,entries:[],id:(0,v.generateUniqueID)(),navigationType:D}}},909420:function(se,x){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"observe",{enumerable:!0,get:function(){return S}});var S=function(B,v,k){try{if(PerformanceObserver.supportedEntryTypes.includes(B)){var G=new PerformanceObserver(function(L){v(L.getEntries())});return G.observe(Object.assign({type:B,buffered:!0},k||{})),G}}catch(L){}}},435689:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"onHidden",{enumerable:!0,get:function(){return v}});var B=S(814234),v=function(k,G){var L=function(M){(M.type==="pagehide"||B.WINDOW.document.visibilityState==="hidden")&&(k(M),G&&(removeEventListener("visibilitychange",L,!0),removeEventListener("pagehide",L,!0)))};addEventListener("visibilitychange",L,!0),addEventListener("pagehide",L,!0)}},148380:function(se,x,S){"use strict";se=S.nmd(se),Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"addExtensionMethods",{enumerable:!0,get:function(){return N}});var B=S(951787),v=S(788894);function k(m,w){(w==null||w>m.length)&&(w=m.length);for(var b=0,u=new Array(w);b<w;b++)u[b]=m[b];return u}function G(m){if(Array.isArray(m))return k(m)}function L(m){if(typeof Symbol!="undefined"&&m[Symbol.iterator]!=null||m["@@iterator"]!=null)return Array.from(m)}function M(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function C(m){return G(m)||L(m)||O(m)||M()}function O(m,w){if(!!m){if(typeof m=="string")return k(m,w);var b=Object.prototype.toString.call(m).slice(8,-1);if(b==="Object"&&m.constructor&&(b=m.constructor.name),b==="Map"||b==="Set")return Array.from(b);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return k(m,w)}}function D(){var m=(0,B.getMainCarrier)();if(!!m.__SENTRY__){var w={mongodb:function(){var s=(0,v.dynamicRequire)(se,"./node/integrations/mongo");return new s.Mongo},mongoose:function(){var s=(0,v.dynamicRequire)(se,"./node/integrations/mongo");return new s.Mongo},mysql:function(){var s=(0,v.dynamicRequire)(se,"./node/integrations/mysql");return new s.Mysql},pg:function(){var s=(0,v.dynamicRequire)(se,"./node/integrations/postgres");return new s.Postgres}},b=Object.keys(w).filter(function(u){return!!(0,v.loadModule)(u)}).map(function(u){try{return w[u]()}catch(s){return}}).filter(function(u){return u});b.length>0&&(m.__SENTRY__.integrations=C(m.__SENTRY__.integrations||[]).concat(C(b)))}}function N(){(0,B.addTracingExtensions)(),(0,v.isNodeEnv)()&&D()}},199009:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0});function B(c,R){for(var g in R)Object.defineProperty(c,g,{enumerable:!0,get:R[g]})}B(x,{IdleTransaction:function(){return v.IdleTransaction},Span:function(){return v.Span},SpanStatus:function(){return v.SpanStatus},Transaction:function(){return v.Transaction},extractTraceparentData:function(){return v.extractTraceparentData},getActiveTransaction:function(){return v.getActiveTransaction},hasTracingEnabled:function(){return v.hasTracingEnabled},spanStatusfromHttpCode:function(){return v.spanStatusfromHttpCode},startIdleTransaction:function(){return v.startIdleTransaction},TRACEPARENT_REGEXP:function(){return k.TRACEPARENT_REGEXP},stripUrlQueryAndFragment:function(){return k.stripUrlQueryAndFragment},Express:function(){return G.Express},Postgres:function(){return L.Postgres},Mysql:function(){return M.Mysql},Mongo:function(){return C.Mongo},Prisma:function(){return O.Prisma},GraphQL:function(){return D.GraphQL},Apollo:function(){return N.Apollo},lazyLoadedNodePerformanceMonitoringIntegrations:function(){return m.lazyLoadedNodePerformanceMonitoringIntegrations},BROWSER_TRACING_INTEGRATION_ID:function(){return w.BROWSER_TRACING_INTEGRATION_ID},BrowserTracing:function(){return w.BrowserTracing},addTracingHeadersToFetchRequest:function(){return b.addTracingHeadersToFetchRequest},defaultRequestInstrumentationOptions:function(){return b.defaultRequestInstrumentationOptions},instrumentOutgoingRequests:function(){return b.instrumentOutgoingRequests},addClsInstrumentationHandler:function(){return u.addClsInstrumentationHandler},addFidInstrumentationHandler:function(){return u.addFidInstrumentationHandler},addLcpInstrumentationHandler:function(){return u.addLcpInstrumentationHandler},addPerformanceInstrumentationHandler:function(){return u.addPerformanceInstrumentationHandler},addExtensionMethods:function(){return s.addExtensionMethods}});var v=S(951787),k=S(788894),G=S(329576),L=S(568189),M=S(60283),C=S(154470),O=S(933909),D=S(591417),N=S(190506),m=S(630924),w=S(406110),b=S(490068),u=S(329258),s=S(148380)},190506:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"Apollo",{enumerable:!0,get:function(){return m}});var B=S(658780),v=S(788894),k=S(158020);function G(u,s){(s==null||s>u.length)&&(s=u.length);for(var c=0,R=new Array(s);c<s;c++)R[c]=u[c];return R}function L(u){if(Array.isArray(u))return G(u)}function M(u,s){if(!(u instanceof s))throw new TypeError("Cannot call a class as a function")}function C(u){if(typeof Symbol!="undefined"&&u[Symbol.iterator]!=null||u["@@iterator"]!=null)return Array.from(u)}function O(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function D(u){return L(u)||C(u)||N(u)||O()}function N(u,s){if(!!u){if(typeof u=="string")return G(u,s);var c=Object.prototype.toString.call(u).slice(8,-1);if(c==="Object"&&u.constructor&&(c=u.constructor.name),c==="Map"||c==="Set")return Array.from(c);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return G(u,s)}}var m=function(){"use strict";function u(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{useNestjs:!1};M(this,u),this.name=u.id,this._useNest=!!c.useNestjs}var s=u.prototype;return s.loadDependency=function(){return this._useNest?this._module=this._module||(0,v.loadModule)("@nestjs/graphql"):this._module=this._module||(0,v.loadModule)("apollo-server-core"),this._module},s.setupOnce=function(R,g){if((0,k.shouldDisableAutoInstrumentation)(g)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("Apollo Integration is skipped because of instrumenter configuration.");return}if(this._useNest){var f=this.loadDependency();if(!f){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.error("Apollo-NestJS Integration was unable to require @nestjs/graphql package.");return}(0,v.fill)(f.GraphQLFactory.prototype,"mergeWithSchema",function(i){return function(){for(var a=arguments.length,o=new Array(a),l=0;l<a;l++)o[l]=arguments[l];var y;return(0,v.fill)(this.resolversExplorerService,"explore",function(p){return function(){var I=(0,v.arrayify)(p.call(this)),P=w(I,g);return P}}),(y=i).call.apply(y,[this].concat(D(o)))}})}else{var d=this.loadDependency();if(!d){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.error("Apollo Integration was unable to require apollo-server-core package.");return}(0,v.fill)(d.ApolloServerBase.prototype,"constructSchema",function(i){return function(){if(!this.config.resolvers)return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&(this.config.schema?(v.logger.warn("Apollo integration is not able to trace `ApolloServer` instances constructed via `schema` property.If you are using NestJS with Apollo, please use `Sentry.Integrations.Apollo({ useNestjs: true })` instead."),v.logger.warn()):this.config.modules&&v.logger.warn("Apollo integration is not able to trace `ApolloServer` instances constructed via `modules` property."),v.logger.error("Skipping tracing as no resolvers found on the `ApolloServer` instance.")),i.call(this);var a=(0,v.arrayify)(this.config.resolvers);return this.config.resolvers=w(a,g),i.call(this)}})}},u.__initStatic=function(){this.id="Apollo"},u}();m.__initStatic();function w(u,s){return u.map(function(c){return Object.keys(c).forEach(function(R){Object.keys(c[R]).forEach(function(g){typeof c[R][g]=="function"&&b(c,R,g,s)})}),c})}function b(u,s,c,R){(0,v.fill)(u[s],c,function(g){return function(){for(var f=arguments.length,d=new Array(f),i=0;i<f;i++)d[i]=arguments[i];var a,o=R().getScope(),l=o.getSpan(),y=(0,B._optionalChain)([l,"optionalAccess",function(I){return I.startChild},"call",function(I){return I({description:"".concat(s,".").concat(c),op:"graphql.resolve",origin:"auto.graphql.apollo"})}]),p=(a=g).call.apply(a,[this].concat(D(d)));return(0,v.isThenable)(p)?p.then(function(I){return(0,B._optionalChain)([y,"optionalAccess",function(P){return P.finish},"call",function(P){return P()}]),I}):((0,B._optionalChain)([y,"optionalAccess",function(I){return I.finish},"call",function(I){return I()}]),p)}})}},329576:function(se,x,S){"use strict";var B=S(760636);Object.defineProperty(x,"__esModule",{value:!0});function v(h,_){for(var T in _)Object.defineProperty(h,T,{enumerable:!0,get:_[T]})}v(x,{Express:function(){return g},extractOriginalRoute:function(){return l},preventDuplicateSegments:function(){return P}});var k=S(658780),G=S(788894),L=S(158020);function M(h,_){(_==null||_>h.length)&&(_=h.length);for(var T=0,A=new Array(_);T<_;T++)A[T]=h[T];return A}function C(h){if(Array.isArray(h))return h}function O(h){if(Array.isArray(h))return M(h)}function D(h,_){if(!(h instanceof _))throw new TypeError("Cannot call a class as a function")}function N(h){if(typeof Symbol!="undefined"&&h[Symbol.iterator]!=null||h["@@iterator"]!=null)return Array.from(h)}function m(h,_){var T=h==null?null:typeof Symbol!="undefined"&&h[Symbol.iterator]||h["@@iterator"];if(T!=null){var A=[],U=!0,H=!1,F,z;try{for(T=T.call(h);!(U=(F=T.next()).done)&&(A.push(F.value),!(_&&A.length===_));U=!0);}catch(Z){H=!0,z=Z}finally{try{!U&&T.return!=null&&T.return()}finally{if(H)throw z}}return A}}function w(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(h,_){return C(h)||m(h,_)||R(h,_)||w()}function s(h){return C(h)||N(h)||R(h)||w()}function c(h){return O(h)||N(h)||R(h)||b()}function R(h,_){if(!!h){if(typeof h=="string")return M(h,_);var T=Object.prototype.toString.call(h).slice(8,-1);if(T==="Object"&&h.constructor&&(T=h.constructor.name),T==="Map"||T==="Set")return Array.from(T);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return M(h,_)}}var g=function(){"use strict";function h(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};D(this,h),this.name=h.id,this._router=T.router||T.app,this._methods=(Array.isArray(T.methods)?T.methods:[]).concat("use")}var _=h.prototype;return _.setupOnce=function(A,U){if(!this._router){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&G.logger.error("ExpressIntegration is missing an Express instance");return}if((0,L.shouldDisableAutoInstrumentation)(U)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&G.logger.log("Express Integration is skipped because of instrumenter configuration.");return}a(this._router,this._methods),o(this._router)},h.__initStatic=function(){this.id="Express"},h}();g.__initStatic();function f(h,_){var T=h.length;switch(T){case 2:return function(A,U){var H=U.__sentry_transaction;if(H){var F=H.startChild({description:h.name,op:"middleware.express.".concat(_),origin:"auto.middleware.express"});U.once("finish",function(){F.finish()})}return h.call(this,A,U)};case 3:return function(A,U,H){var F=U.__sentry_transaction,z=(0,k._optionalChain)([F,"optionalAccess",function(Z){return Z.startChild},"call",function(Z){return Z({description:h.name,op:"middleware.express.".concat(_),origin:"auto.middleware.express"})}]);h.call(this,A,U,function(){for(var Z=arguments.length,ee=new Array(Z),ne=0;ne<Z;ne++)ee[ne]=arguments[ne];var W;(0,k._optionalChain)([z,"optionalAccess",function(X){return X.finish},"call",function(X){return X()}]),(W=H).call.apply(W,[this].concat(c(ee)))})};case 4:return function(A,U,H,F){var z=H.__sentry_transaction,Z=(0,k._optionalChain)([z,"optionalAccess",function(ee){return ee.startChild},"call",function(ee){return ee({description:h.name,op:"middleware.express.".concat(_),origin:"auto.middleware.express"})}]);h.call(this,A,U,H,function(){for(var ee=arguments.length,ne=new Array(ee),W=0;W<ee;W++)ne[W]=arguments[W];var X;(0,k._optionalChain)([Z,"optionalAccess",function(Y){return Y.finish},"call",function(Y){return Y()}]),(X=F).call.apply(X,[this].concat(c(ne)))})};default:throw new Error("Express middleware takes 2-4 arguments. Got: ".concat(T))}}function d(h,_){return h.map(function(T){return typeof T=="function"?f(T,_):Array.isArray(T)?T.map(function(A){return typeof A=="function"?f(A,_):A}):T})}function i(h,_){var T=h[_];return h[_]=function(){for(var A=arguments.length,U=new Array(A),H=0;H<A;H++)U[H]=arguments[H];var F;return(F=T).call.apply(F,[this].concat(c(d(U,_))))},h}function a(h){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];_.forEach(function(T){return i(h,T)})}function o(h){var _="settings"in h;_&&h._router===void 0&&h.lazyrouter&&h.lazyrouter();var T=_?h._router:h;if(!T){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&G.logger.debug("Cannot instrument router for URL Parameterization (did not find a valid router)."),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&G.logger.debug("Routing instrumentation is currently only supported in Express 4.");return}var A=Object.getPrototypeOf(T),U=A.process_params;A.process_params=function(F,z,Z,ee,ne){Z._reconstructedRoute||(Z._reconstructedRoute="");var W=y(F),X=W.layerRoutePath,Y=W.isRegex,re=W.isArray,ae=W.numExtraSegments;(X||Y||re)&&(Z._hasParameters=!0);var pe;X?pe=X:pe=P(Z.originalUrl,Z._reconstructedRoute,F.path)||"";var ve=pe.split("/").filter(function(Ie){return Ie.length>0&&(Y||re||!Ie.includes("*"))}).join("/");ve&&ve.length>0&&(Z._reconstructedRoute+="/".concat(ve).concat(Y?"/":""));var we=(0,G.getNumberOfUrlSegments)((0,G.stripUrlQueryAndFragment)(Z.originalUrl||""))+ae,Pe=(0,G.getNumberOfUrlSegments)(Z._reconstructedRoute);if(we===Pe){Z._hasParameters||Z._reconstructedRoute!==Z.originalUrl&&(Z._reconstructedRoute=Z.originalUrl?(0,G.stripUrlQueryAndFragment)(Z.originalUrl):Z.originalUrl);var ce=ee.__sentry_transaction;if(ce&&ce.metadata.source!=="custom"){var be,Ee=Z._reconstructedRoute||"/";(be=ce).setName.apply(be,c((0,G.extractPathForTransaction)(Z,{path:!0,method:!0,customRoute:Ee})))}}return U.call(this,F,z,Z,ee,ne)}}var l=function(h,_,T){if(!(!h||!_||!T||Object.keys(T).length===0||!(0,k._optionalChain)([T,"access",function(ne){return ne[0]},"optionalAccess",function(ne){return ne.offset}]))){var A=T.sort(function(ne,W){return ne.offset-W.offset}),U=new RegExp(_,"".concat(_.flags,"d")),H=U.exec(h);if(!(!H||!H.indices)){var F=s(H.indices),z=F.slice(1);if(z.length===A.length){var Z=h,ee=0;return z.forEach(function(ne,W){if(ne){var X=u(ne,2),Y=X[0],re=X[1],ae=Z.substring(0,Y-ee),pe=":".concat(A[W].name),ve=Z.substring(re-ee);Z=ae+pe+ve,ee=ee+(re-Y-pe.length)}}),Z}}}};function y(h){var _=(0,k._optionalChain)([h,"access",function(Z){return Z.route},"optionalAccess",function(Z){return Z.path}]),T=(0,G.isRegExp)(_),A=Array.isArray(_);if(!_){var U=u(B.versions.node.split(".").map(Number),1),H=U[0];H>=16&&(_=l(h.path,h.regexp,h.keys))}if(!_)return{isRegex:T,isArray:A,numExtraSegments:0};var F=A?Math.max(p(_)-(0,G.getNumberOfUrlSegments)(h.path||""),0):0,z=I(A,_);return{layerRoutePath:z,isRegex:T,isArray:A,numExtraSegments:F}}function p(h){return h.reduce(function(_,T){return _+(0,G.getNumberOfUrlSegments)(T.toString())},0)}function I(h,_){return h?_.map(function(T){return T.toString()}).join(","):_&&_.toString()}function P(h,_,T){var A=(0,k._optionalChain)([h,"optionalAccess",function(z){return z.split},"call",function(z){return z("/")},"access",function(z){return z.filter},"call",function(z){return z(function(Z){return!!Z})}]),U=0,H=(0,k._optionalChain)([_,"optionalAccess",function(z){return z.split},"call",function(z){return z("/")},"access",function(z){return z.filter},"call",function(z){return z(function(Z){return!!Z})},"access",function(z){return z.length}])||0,F=(0,k._optionalChain)([T,"optionalAccess",function(z){return z.split},"call",function(z){return z("/")},"access",function(z){return z.filter},"call",function(z){return z(function(Z){return(0,k._optionalChain)([A,"optionalAccess",function(ee){return ee[H+U]}])===Z?(U+=1,!0):!1})},"access",function(z){return z.join},"call",function(z){return z("/")}]);return F}},591417:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"GraphQL",{enumerable:!0,get:function(){return m}});var B=S(658780),v=S(788894),k=S(158020);function G(w,b){(b==null||b>w.length)&&(b=w.length);for(var u=0,s=new Array(b);u<b;u++)s[u]=w[u];return s}function L(w){if(Array.isArray(w))return G(w)}function M(w,b){if(!(w instanceof b))throw new TypeError("Cannot call a class as a function")}function C(w){if(typeof Symbol!="undefined"&&w[Symbol.iterator]!=null||w["@@iterator"]!=null)return Array.from(w)}function O(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function D(w){return L(w)||C(w)||N(w)||O()}function N(w,b){if(!!w){if(typeof w=="string")return G(w,b);var u=Object.prototype.toString.call(w).slice(8,-1);if(u==="Object"&&w.constructor&&(u=w.constructor.name),u==="Map"||u==="Set")return Array.from(u);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return G(w,b)}}var m=function(){"use strict";function w(){M(this,w),this.name=w.id}var b=w.prototype;return b.loadDependency=function(){return this._module=this._module||(0,v.loadModule)("graphql/execution/execute.js")},b.setupOnce=function(s,c){if((0,k.shouldDisableAutoInstrumentation)(c)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("GraphQL Integration is skipped because of instrumenter configuration.");return}var R=this.loadDependency();if(!R){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.error("GraphQL Integration was unable to require graphql/execution package.");return}(0,v.fill)(R,"execute",function(g){return function(){for(var f=arguments.length,d=new Array(f),i=0;i<f;i++)d[i]=arguments[i];var a,o=c().getScope(),l=o.getSpan(),y=(0,B._optionalChain)([l,"optionalAccess",function(I){return I.startChild},"call",function(I){return I({description:"execute",op:"graphql.execute",origin:"auto.graphql.graphql"})}]);(0,B._optionalChain)([o,"optionalAccess",function(I){return I.setSpan},"call",function(I){return I(y)}]);var p=(a=g).call.apply(a,[this].concat(D(d)));return(0,v.isThenable)(p)?p.then(function(I){return(0,B._optionalChain)([y,"optionalAccess",function(P){return P.finish},"call",function(P){return P()}]),(0,B._optionalChain)([o,"optionalAccess",function(P){return P.setSpan},"call",function(P){return P(l)}]),I}):((0,B._optionalChain)([y,"optionalAccess",function(I){return I.finish},"call",function(I){return I()}]),(0,B._optionalChain)([o,"optionalAccess",function(I){return I.setSpan},"call",function(I){return I(l)}]),p)}})},w.__initStatic=function(){this.id="GraphQL"},w}();m.__initStatic()},630924:function(se,x,S){"use strict";se=S.nmd(se),Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"lazyLoadedNodePerformanceMonitoringIntegrations",{enumerable:!0,get:function(){return v}});var B=S(788894),v=[function(){var k=(0,B.dynamicRequire)(se,"./apollo");return new k.Apollo},function(){var k=(0,B.dynamicRequire)(se,"./apollo");return new k.Apollo({useNestjs:!0})},function(){var k=(0,B.dynamicRequire)(se,"./graphql");return new k.GraphQL},function(){var k=(0,B.dynamicRequire)(se,"./mongo");return new k.Mongo},function(){var k=(0,B.dynamicRequire)(se,"./mongo");return new k.Mongo({mongoose:!0})},function(){var k=(0,B.dynamicRequire)(se,"./mysql");return new k.Mysql},function(){var k=(0,B.dynamicRequire)(se,"./postgres");return new k.Postgres}]},154470:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"Mongo",{enumerable:!0,get:function(){return g}});var B=S(658780),v=S(788894),k=S(158020);function G(f,d){(d==null||d>f.length)&&(d=f.length);for(var i=0,a=new Array(d);i<d;i++)a[i]=f[i];return a}function L(f){if(Array.isArray(f))return f}function M(f){if(Array.isArray(f))return G(f)}function C(f,d){if(!(f instanceof d))throw new TypeError("Cannot call a class as a function")}function O(f){if(typeof Symbol!="undefined"&&f[Symbol.iterator]!=null||f["@@iterator"]!=null)return Array.from(f)}function D(f,d){var i=f==null?null:typeof Symbol!="undefined"&&f[Symbol.iterator]||f["@@iterator"];if(i!=null){var a=[],o=!0,l=!1,y,p;try{for(i=i.call(f);!(o=(y=i.next()).done)&&(a.push(y.value),!(d&&a.length===d));o=!0);}catch(I){l=!0,p=I}finally{try{!o&&i.return!=null&&i.return()}finally{if(l)throw p}}return a}}function N(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function w(f,d){return L(f)||D(f,d)||u(f,d)||N()}function b(f){return M(f)||O(f)||u(f)||m()}function u(f,d){if(!!f){if(typeof f=="string")return G(f,d);var i=Object.prototype.toString.call(f).slice(8,-1);if(i==="Object"&&f.constructor&&(i=f.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return G(f,d)}}var s=["aggregate","bulkWrite","countDocuments","createIndex","createIndexes","deleteMany","deleteOne","distinct","drop","dropIndex","dropIndexes","estimatedDocumentCount","find","findOne","findOneAndDelete","findOneAndReplace","findOneAndUpdate","indexes","indexExists","indexInformation","initializeOrderedBulkOp","insertMany","insertOne","isCapped","mapReduce","options","parallelCollectionScan","rename","replaceOne","stats","updateMany","updateOne"],c={bulkWrite:["operations"],countDocuments:["query"],createIndex:["fieldOrSpec"],createIndexes:["indexSpecs"],deleteMany:["filter"],deleteOne:["filter"],distinct:["key","query"],dropIndex:["indexName"],find:["query"],findOne:["query"],findOneAndDelete:["filter"],findOneAndReplace:["filter","replacement"],findOneAndUpdate:["filter","update"],indexExists:["indexes"],insertMany:["docs"],insertOne:["doc"],mapReduce:["map","reduce"],rename:["newName"],replaceOne:["filter","doc"],updateMany:["filter","update"],updateOne:["filter","update"]};function R(f){return f&&typeof f=="object"&&f.once&&typeof f.once=="function"}var g=function(){"use strict";function f(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};C(this,f),this.name=f.id,this._operations=Array.isArray(i.operations)?i.operations:s,this._describeOperations="describeOperations"in i?i.describeOperations:!0,this._useMongoose=!!i.useMongoose}var d=f.prototype;return d.loadDependency=function(){var a=this._useMongoose?"mongoose":"mongodb";return this._module=this._module||(0,v.loadModule)(a)},d.setupOnce=function(a,o){if((0,k.shouldDisableAutoInstrumentation)(o)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("Mongo Integration is skipped because of instrumenter configuration.");return}var l=this.loadDependency();if(!l){var y=this._useMongoose?"mongoose":"mongodb";(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.error("Mongo Integration was unable to require `".concat(y,"` package."));return}this._instrumentOperations(l.Collection,this._operations,o)},d._instrumentOperations=function(a,o,l){var y=this;o.forEach(function(p){return y._patchOperation(a,p,l)})},d._patchOperation=function(a,o,l){if(o in a.prototype){var y=this._getSpanContextFromOperationArguments.bind(this);(0,v.fill)(a.prototype,o,function(p){return function(){for(var I=arguments.length,P=new Array(I),h=0;h<I;h++)P[h]=arguments[h];var _=this,T,A=P[P.length-1],U=l().getScope(),H=U.getSpan();if(typeof A!="function"||o==="mapReduce"&&P.length===2){var F,z=(0,B._optionalChain)([H,"optionalAccess",function(W){return W.startChild},"call",function(W){return W(y(_,o,P))}]),Z=(F=p).call.apply(F,[this].concat(b(P)));if((0,v.isThenable)(Z))return Z.then(function(W){return(0,B._optionalChain)([z,"optionalAccess",function(X){return X.finish},"call",function(X){return X()}]),W});if(R(Z)){var ee=Z;try{ee.once("close",function(){(0,B._optionalChain)([z,"optionalAccess",function(W){return W.finish},"call",function(W){return W()}])})}catch(W){(0,B._optionalChain)([z,"optionalAccess",function(X){return X.finish},"call",function(X){return X()}])}return ee}else return(0,B._optionalChain)([z,"optionalAccess",function(W){return W.finish},"call",function(W){return W()}]),Z}var ne=(0,B._optionalChain)([H,"optionalAccess",function(W){return W.startChild},"call",function(W){return W(y(_,o,P.slice(0,-1)))}]);return(T=p).call.apply(T,[this].concat(b(P.slice(0,-1)),[function(W,X){(0,B._optionalChain)([ne,"optionalAccess",function(Y){return Y.finish},"call",function(Y){return Y()}]),A(W,X)}]))}})}},d._getSpanContextFromOperationArguments=function(a,o,l){var y={"db.system":"mongodb","db.name":a.dbName,"db.operation":o,"db.mongodb.collection":a.collectionName},p={op:"db",origin:"auto.db.mongo",description:o,data:y},I=c[o],P=Array.isArray(this._describeOperations)?this._describeOperations.includes(o):this._describeOperations;if(!I||!P)return p;try{if(o==="mapReduce"){var h=w(l,2),_=h[0],T=h[1];y[I[0]]=typeof _=="string"?_:_.name||"<anonymous>",y[I[1]]=typeof T=="string"?T:T.name||"<anonymous>"}else for(var A=0;A<I.length;A++)y["db.mongodb.".concat(I[A])]=JSON.stringify(l[A])}catch(U){}return p},f.__initStatic=function(){this.id="Mongo"},f}();g.__initStatic()},60283:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"Mysql",{enumerable:!0,get:function(){return L}});var B=S(658780),v=S(788894),k=S(158020);function G(M,C){if(!(M instanceof C))throw new TypeError("Cannot call a class as a function")}var L=function(){"use strict";function M(){G(this,M),this.name=M.id}var C=M.prototype;return C.loadDependency=function(){return this._module=this._module||(0,v.loadModule)("mysql/lib/Connection.js")},C.setupOnce=function(D,N){var m=function(){return u?{"server.address":u.host,"server.port":u.port,"db.user":u.user}:{}},w=function(c){if(!(!c||c.endTimestamp)){var R=m();Object.keys(R).forEach(function(g){c.setData(g,R[g])}),c.finish()}};if((0,k.shouldDisableAutoInstrumentation)(N)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("Mysql Integration is skipped because of instrumenter configuration.");return}var b=this.loadDependency();if(!b){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.error("Mysql Integration was unable to require `mysql` package.");return}var u=void 0;try{b.prototype.connect=new Proxy(b.prototype.connect,{apply:function(c,R,g){return u||(u=R.config),c.apply(R,g)}})}catch(s){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.error("Mysql Integration was unable to instrument `mysql` config.")}(0,v.fill)(b,"createQuery",function(s){return function(c,R,g){var f=N().getScope(),d=f.getSpan(),i=(0,B._optionalChain)([d,"optionalAccess",function(o){return o.startChild},"call",function(o){return o({description:typeof c=="string"?c:c.sql,op:"db",origin:"auto.db.mysql",data:{"db.system":"mysql"}})}]);if(typeof g=="function")return s.call(this,c,R,function(o,l,y){w(i),g(o,l,y)});if(typeof R=="function")return s.call(this,c,function(o,l,y){w(i),R(o,l,y)});var a=s.call(this,c,R);return a.on("end",function(){w(i)}),a}})},M.__initStatic=function(){this.id="Mysql"},M}();L.__initStatic()},568189:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"Postgres",{enumerable:!0,get:function(){return L}});var B=S(658780),v=S(788894),k=S(158020);function G(M,C){if(!(M instanceof C))throw new TypeError("Cannot call a class as a function")}var L=function(){"use strict";function M(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};G(this,M),this.name=M.id,this._usePgNative=!!O.usePgNative,this._module=O.module}var C=M.prototype;return C.loadDependency=function(){return this._module=this._module||(0,v.loadModule)("pg")},C.setupOnce=function(D,N){if((0,k.shouldDisableAutoInstrumentation)(N)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.log("Postgres Integration is skipped because of instrumenter configuration.");return}var m=this.loadDependency();if(!m){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.error("Postgres Integration was unable to require `pg` package.");return}var w=this._usePgNative?(0,B._optionalChain)([m,"access",function(b){return b.native},"optionalAccess",function(b){return b.Client}]):m.Client;if(!w){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.error("Postgres Integration was unable to access 'pg-native' bindings.");return}(0,v.fill)(w.prototype,"query",function(b){return function(u,s,c){var R=N().getScope(),g=R.getSpan(),f={"db.system":"postgresql"};try{this.database&&(f["db.name"]=this.database),this.host&&(f["server.address"]=this.host),this.port&&(f["server.port"]=this.port),this.user&&(f["db.user"]=this.user)}catch(a){}var d=(0,B._optionalChain)([g,"optionalAccess",function(a){return a.startChild},"call",function(a){return a({description:typeof u=="string"?u:u.text,op:"db",origin:"auto.db.postgres",data:f})}]);if(typeof c=="function")return b.call(this,u,s,function(a,o){(0,B._optionalChain)([d,"optionalAccess",function(l){return l.finish},"call",function(l){return l()}]),c(a,o)});if(typeof s=="function")return b.call(this,u,function(a,o){(0,B._optionalChain)([d,"optionalAccess",function(l){return l.finish},"call",function(l){return l()}]),s(a,o)});var i=typeof s!="undefined"?b.call(this,u,s):b.call(this,u);return(0,v.isThenable)(i)?i.then(function(a){return(0,B._optionalChain)([d,"optionalAccess",function(o){return o.finish},"call",function(o){return o()}]),a}):((0,B._optionalChain)([d,"optionalAccess",function(a){return a.finish},"call",function(a){return a()}]),i)}})},M.__initStatic=function(){this.id="Postgres"},M}();L.__initStatic()},933909:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"Prisma",{enumerable:!0,get:function(){return N}});var B=S(951787),v=S(788894),k=S(158020);function G(m,w){if(!(m instanceof w))throw new TypeError("Cannot call a class as a function")}function L(m,w,b){return w in m?Object.defineProperty(m,w,{value:b,enumerable:!0,configurable:!0,writable:!0}):m[w]=b,m}function M(m){for(var w=1;w<arguments.length;w++){var b=arguments[w]!=null?arguments[w]:{},u=Object.keys(b);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(b).filter(function(s){return Object.getOwnPropertyDescriptor(b,s).enumerable}))),u.forEach(function(s){L(m,s,b[s])})}return m}function C(m,w){var b=Object.keys(m);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(m);w&&(u=u.filter(function(s){return Object.getOwnPropertyDescriptor(m,s).enumerable})),b.push.apply(b,u)}return b}function O(m,w){return w=w!=null?w:{},Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(w)):C(Object(w)).forEach(function(b){Object.defineProperty(m,b,Object.getOwnPropertyDescriptor(w,b))}),m}function D(m){return!!m&&!!m.$use}var N=function(){"use strict";function m(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(G(this,m),this.name=m.id,D(b.client)&&!b.client._sentryInstrumented){(0,v.addNonEnumerableProperty)(b.client,"_sentryInstrumented",!0);var u={};try{var s=b.client._engineConfig;if(s){var c=s.activeProvider,R=s.clientVersion;c&&(u["db.system"]=c),R&&(u["db.prisma.version"]=R)}}catch(g){}b.client.$use(function(g,f){if((0,k.shouldDisableAutoInstrumentation)(B.getCurrentHub))return f(g);var d=g.action,i=g.model;return(0,B.trace)({name:i?"".concat(i," ").concat(d):d,op:"db.sql.prisma",origin:"auto.db.prisma",data:O(M({},u),{"db.operation":d})},function(){return f(g)})})}else(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&v.logger.warn("Unsupported Prisma client provided to PrismaIntegration. Provided client:",b.client)}var w=m.prototype;return w.setupOnce=function(){},m.__initStatic=function(){this.id="Prisma"},m}();N.__initStatic()},158020:function(se,x,S){"use strict";Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"shouldDisableAutoInstrumentation",{enumerable:!0,get:function(){return v}});var B=S(658780);function v(k){var G=(0,B._optionalChain)([k,"call",function(M){return M()},"access",function(M){return M.getClient},"call",function(M){return M()},"optionalAccess",function(M){return M.getOptions},"call",function(M){return M()}]),L=(0,B._optionalChain)([G,"optionalAccess",function(M){return M.instrumenter}])||"sentry";return L!=="sentry"}},317500:function(se){"use strict";function x($,K){(K==null||K>$.length)&&(K=$.length);for(var q=0,ie=new Array(K);q<K;q++)ie[q]=$[q];return ie}function S($){if(Array.isArray($))return $}function B($){if(Array.isArray($))return x($)}function v($,K,q,ie,fe,_e,Oe){try{var Re=$[_e](Oe),Me=Re.value}catch(ke){q(ke);return}Re.done?K(Me):Promise.resolve(Me).then(ie,fe)}function k($){return function(){var K=this,q=arguments;return new Promise(function(ie,fe){var _e=$.apply(K,q);function Oe(Me){v(_e,ie,fe,Oe,Re,"next",Me)}function Re(Me){v(_e,ie,fe,Oe,Re,"throw",Me)}Oe(void 0)})}}function G($,K,q){return K in $?Object.defineProperty($,K,{value:q,enumerable:!0,configurable:!0,writable:!0}):$[K]=q,$}function L($,K){return K!=null&&typeof Symbol!="undefined"&&K[Symbol.hasInstance]?!!K[Symbol.hasInstance]($):$ instanceof K}function M($){if(typeof Symbol!="undefined"&&$[Symbol.iterator]!=null||$["@@iterator"]!=null)return Array.from($)}function C($,K){var q=$==null?null:typeof Symbol!="undefined"&&$[Symbol.iterator]||$["@@iterator"];if(q!=null){var ie=[],fe=!0,_e=!1,Oe,Re;try{for(q=q.call($);!(fe=(Oe=q.next()).done)&&(ie.push(Oe.value),!(K&&ie.length===K));fe=!0);}catch(Me){_e=!0,Re=Me}finally{try{!fe&&q.return!=null&&q.return()}finally{if(_e)throw Re}}return ie}}function O(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function D(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function N($){for(var K=1;K<arguments.length;K++){var q=arguments[K]!=null?arguments[K]:{},ie=Object.keys(q);typeof Object.getOwnPropertySymbols=="function"&&(ie=ie.concat(Object.getOwnPropertySymbols(q).filter(function(fe){return Object.getOwnPropertyDescriptor(q,fe).enumerable}))),ie.forEach(function(fe){G($,fe,q[fe])})}return $}function m($,K){if($==null)return{};var q=w($,K),ie,fe;if(Object.getOwnPropertySymbols){var _e=Object.getOwnPropertySymbols($);for(fe=0;fe<_e.length;fe++)ie=_e[fe],!(K.indexOf(ie)>=0)&&(!Object.prototype.propertyIsEnumerable.call($,ie)||(q[ie]=$[ie]))}return q}function w($,K){if($==null)return{};var q={},ie=Object.keys($),fe,_e;for(_e=0;_e<ie.length;_e++)fe=ie[_e],!(K.indexOf(fe)>=0)&&(q[fe]=$[fe]);return q}function b($,K){return S($)||C($,K)||s($,K)||O()}function u($){return B($)||M($)||s($)||D()}function s($,K){if(!!$){if(typeof $=="string")return x($,K);var q=Object.prototype.toString.call($).slice(8,-1);if(q==="Object"&&$.constructor&&(q=$.constructor.name),q==="Map"||q==="Set")return Array.from(q);if(q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(q))return x($,K)}}function c($,K){var q,ie,fe,_e,Oe={label:0,sent:function(){if(fe[0]&1)throw fe[1];return fe[1]},trys:[],ops:[]};return _e={next:Re(0),throw:Re(1),return:Re(2)},typeof Symbol=="function"&&(_e[Symbol.iterator]=function(){return this}),_e;function Re(ke){return function(Qe){return Me([ke,Qe])}}function Me(ke){if(q)throw new TypeError("Generator is already executing.");for(;Oe;)try{if(q=1,ie&&(fe=ke[0]&2?ie.return:ke[0]?ie.throw||((fe=ie.return)&&fe.call(ie),0):ie.next)&&!(fe=fe.call(ie,ke[1])).done)return fe;switch(ie=0,fe&&(ke=[ke[0]&2,fe.value]),ke[0]){case 0:case 1:fe=ke;break;case 4:return Oe.label++,{value:ke[1],done:!1};case 5:Oe.label++,ie=ke[1],ke=[0];continue;case 7:ke=Oe.ops.pop(),Oe.trys.pop();continue;default:if(fe=Oe.trys,!(fe=fe.length>0&&fe[fe.length-1])&&(ke[0]===6||ke[0]===2)){Oe=0;continue}if(ke[0]===3&&(!fe||ke[1]>fe[0]&&ke[1]<fe[3])){Oe.label=ke[1];break}if(ke[0]===6&&Oe.label<fe[1]){Oe.label=fe[1],fe=ke;break}if(fe&&Oe.label<fe[2]){Oe.label=fe[2],Oe.ops.push(ke);break}fe[2]&&Oe.ops.pop(),Oe.trys.pop();continue}ke=K.call($,Oe)}catch(Qe){ke=[6,Qe],ie=0}finally{q=fe=0}if(ke[0]&5)throw ke[1];return{value:ke[0]?ke[1]:void 0,done:!0}}}var R=Object.defineProperty,g=Object.getOwnPropertyDescriptor,f=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,i=function($,K){return function(){return $&&(K=(0,$[f($)[0]])($=0)),K}},a=function($,K){for(var q in K)R($,q,{get:K[q],enumerable:!0})},o=function($,K,q,ie){if(K&&typeof K=="object"||typeof K=="function"){var fe=!0,_e=!1,Oe=void 0;try{for(var Re=function(){var Qe=ke.value;!d.call($,Qe)&&Qe!==q&&R($,Qe,{get:function(){return K[Qe]},enumerable:!(ie=g(K,Qe))||ie.enumerable})},Me=f(K)[Symbol.iterator](),ke;!(fe=(ke=Me.next()).done);fe=!0)Re()}catch(Qe){_e=!0,Oe=Qe}finally{try{!fe&&Me.return!=null&&Me.return()}finally{if(_e)throw Oe}}}return $},l=function($){return o(R({},"__esModule",{value:!0}),$)},y,p=i({"../../node_modules/.pnpm/nanoid@5.0.1/node_modules/nanoid/url-alphabet/index.js":function(){"use strict";y="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"}}),I={};a(I,{customAlphabet:function(){return _},customRandom:function(){return h},nanoid:function(){return T},random:function(){return P},urlAlphabet:function(){return y}});var P,h,_,T,A=i({"../../node_modules/.pnpm/nanoid@5.0.1/node_modules/nanoid/index.browser.js":function(){"use strict";p(),P=function($){return crypto.getRandomValues(new Uint8Array($))},h=function($,K,q){var ie=(2<<Math.log($.length-1)/Math.LN2)-1,fe=-~(1.6*ie*K/$.length);return function(){for(var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:K,Oe="";;)for(var Re=q(fe),Me=fe;Me--;)if(Oe+=$[Re[Me]&ie]||"",Oe.length===_e)return Oe}},_=function($){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:21;return h($,K,P)},T=function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:21;return crypto.getRandomValues(new Uint8Array($)).reduce(function(K,q){return q&=63,q<36?K+=q.toString(36):q<62?K+=(q-26).toString(36).toUpperCase():q>62?K+="-":K+="_",K},"")}}}),U={};a(U,{RUM_PREFIX:function(){return dr},default:function(){return Mi},getA11yData:function(){return fn},getCumulativeLayoutShift:function(){return $t},getDomainLookup:function(){return $e},getFirstContentfulPaint:function(){return Ln},getFirstInputDelay:function(){return vt},getInteractionToNextPaint:function(){return qt},getLargestContentfulPaint:function(){return ln},getNavigationTimingType:function(){return Le},getPerformanceMetrics:function(){return fr},getServerTiming:function(){return et},getTcpConnection:function(){return ot},getTlsNegotiation:function(){return nt},init:function(){return ri},mark:function(){return Ai},measure:function(){return vn},trackEventsV2Factory:function(){return ni},trackLoadPerformance:function(){return xi},trackSqspImages:function(){return bt}}),se.exports=l(U);var H={};a(H,{getCumulativeLayoutShift:function(){return $t},getDomainLookup:function(){return $e},getFirstContentfulPaint:function(){return Ln},getFirstInputDelay:function(){return vt},getInteractionToNextPaint:function(){return qt},getLargestContentfulPaint:function(){return ln},getNavigationTimingType:function(){return Le},getServerTiming:function(){return et},getTcpConnection:function(){return ot},getTlsNegotiation:function(){return nt}});var F="/api/1/performance/records",z="load",Z="visibilitychange",ee=["Tab","ArrowDown","ArrowLeft","ArrowRight","ArrowUp","End","Home","PageDown","PageUp"," ","Enter"],ne="SS_MID",W="SS_ANALYTICS_ID",X=3e4,Y=/(iPhone|iPod|iPad) OS ((1[0-2])|[2-9])_\d+.*AppleWebKit(?!.*Safari)/i,re="4.12.1",ae=function($){return function(){for(var K=arguments.length,q=new Array(K),ie=0;ie<K;ie++)q[ie]=arguments[ie];return new Promise(function(fe,_e){try{$.apply(void 0,[function(Oe){fe(Oe)}].concat(u(q)))}catch(Oe){_e(Oe)}})}},pe=function($){return ae(setTimeout)($)},ve=function(){return ae(function($){var K=function(q){(q.type==="pagehide"||document.visibilityState==="hidden")&&($(q),removeEventListener("visibilitychange",K,!0),removeEventListener("pagehide",K,!0))};window.addEventListener("visibilitychange",K,!0),window.addEventListener("pagehide",K,!0)})()},we=function($){document.readyState==="complete"?window.setTimeout($,0):window.addEventListener("pageshow",$,{once:!0})},Pe=function(){return ae(we)},ce=function(){var $={entryType:"navigation",startTime:0},K=performance.timing;for(var q in K)if(q!=="navigationStart"&&q!=="toJSON"){var ie=Math.max(K[q]-K.navigationStart,0);$[q]=ie}return $},be=function(){var $=k(function(){var K,q;return c(this,function(ie){switch(ie.label){case 0:return[4,Pe()];case 1:return ie.sent(),K=b(window.performance.getEntriesByType("navigation"),1),q=K[0],[2,q!=null?q:ce()]}})});return function(){return $.apply(this,arguments)}}(),Ee=function(){var $=k(function(K){var q,ie;return c(this,function(fe){switch(fe.label){case 0:return[4,be()];case 1:return q=fe.sent(),ie=q[K],typeof ie!="number"||ie<0||ie>2147483647?[2]:[2,Math.round(ie)]}})});return function(q){return $.apply(this,arguments)}}(),Ie=function(){var $=k(function(){var K;return c(this,function(q){switch(q.label){case 0:return[4,be()];case 1:return K=q.sent(),[2,K.serverTiming]}})});return function(){return $.apply(this,arguments)}}(),De=function(){var $=k(function(K){var q,ie;return c(this,function(fe){switch(fe.label){case 0:return[4,be()];case 1:return q=fe.sent(),ie=q[K],typeof ie!="string"?[2]:[2,ie]}})});return function(q){return $.apply(this,arguments)}}(),Be=function($,K){if(typeof $=="number"&&typeof K=="number"&&$>=K)return $-K},$e=function($){return Promise.all([Ee("domainLookupEnd"),Ee("domainLookupStart")]).then(function(K){var q=b(K,2),ie=q[0],fe=q[1];$({domainLookup:Be(ie,fe)})})},Le=function($){return De("type").then(function(K){$({navigationTimingType:K})})},et=function($){return Ie().then(function(K){$({serverTiming:JSON.stringify(K)})})},ot=function($){return Promise.all([Ee("connectEnd"),Ee("connectStart")]).then(function(K){var q=b(K,2),ie=q[0],fe=q[1];$({tcpConnection:Be(ie,fe)})})},nt=function($){return Promise.all([Ee("connectEnd"),Ee("secureConnectionStart")]).then(function(K){var q=b(K,2),ie=q[0],fe=q[1];$({tlsNegotiation:Be(ie,fe)})})},ct,gt,mt,Ft,Er,Yr=-1,Ut=function(K){addEventListener("pageshow",function(q){q.persisted&&(Yr=q.timeStamp,K(q))},!0)},nn=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},an=function(){var K=nn();return K&&K.activationStart||0},wt=function(K,q){var ie=nn(),fe="navigate";return Yr>=0?fe="back-forward-cache":ie&&(fe=document.prerendering||an()>0?"prerender":document.wasDiscarded?"restore":ie.type.replace(/_/g,"-")),{name:K,value:q===void 0?-1:q,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:fe}},kt=function(K,q,ie){try{if(PerformanceObserver.supportedEntryTypes.includes(K)){var fe=new PerformanceObserver(function(_e){Promise.resolve().then(function(){q(_e.getEntries())})});return fe.observe(Object.assign({type:K,buffered:!0},ie||{})),fe}}catch(_e){}},_t=function(K,q,ie,fe){var _e,Oe;return function(Re){q.value>=0&&(Re||fe)&&((Oe=q.value-(_e||0))||_e===void 0)&&(_e=q.value,q.delta=Oe,q.rating=function(Me,ke){return Me>ke[1]?"poor":Me>ke[0]?"needs-improvement":"good"}(q.value,ie),K(q))}},Or=function(K){requestAnimationFrame(function(){return requestAnimationFrame(function(){return K()})})},Tr=function(K){var q=function(fe){fe.type!=="pagehide"&&document.visibilityState!=="hidden"||K(fe)};addEventListener("visibilitychange",q,!0),addEventListener("pagehide",q,!0)},on=function(K){var q=!1;return function(ie){q||(K(ie),q=!0)}},Gt=-1,wr=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},Jr=function(K){document.visibilityState==="hidden"&&Gt>-1&&(Gt=K.type==="visibilitychange"?K.timeStamp:0,Ir())},Rn=function(){addEventListener("visibilitychange",Jr,!0),addEventListener("prerenderingchange",Jr,!0)},Ir=function(){removeEventListener("visibilitychange",Jr,!0),removeEventListener("prerenderingchange",Jr,!0)},Cr=function(){return Gt<0&&(Gt=wr(),Rn(),Ut(function(){setTimeout(function(){Gt=wr(),Rn()},0)})),{get firstHiddenTime(){return Gt}}},zr=function(K){document.prerendering?addEventListener("prerenderingchange",function(){return K()},!0):K()},Pn=[1800,3e3],Kt=function(K,q){q=q||{},zr(function(){var ie,fe=Cr(),_e=wt("FCP"),Oe=kt("paint",function(Re){Re.forEach(function(Me){Me.name==="first-contentful-paint"&&(Oe.disconnect(),Me.startTime<fe.firstHiddenTime&&(_e.value=Math.max(Me.startTime-an(),0),_e.entries.push(Me),ie(!0)))})});Oe&&(ie=_t(K,_e,Pn,q.reportAllChanges),Ut(function(Re){_e=wt("FCP"),ie=_t(K,_e,Pn,q.reportAllChanges),Or(function(){_e.value=performance.now()-Re.timeStamp,ie(!0)})}))})},un=[.1,.25],yi=function(K,q){q=q||{},Kt(on(function(){var ie,fe=wt("CLS",0),_e=0,Oe=[],Re=function(Qe){Qe.forEach(function(ut){if(!ut.hadRecentInput){var tr=Oe[0],It=Oe[Oe.length-1];_e&&ut.startTime-It.startTime<1e3&&ut.startTime-tr.startTime<5e3?(_e+=ut.value,Oe.push(ut)):(_e=ut.value,Oe=[ut])}}),_e>fe.value&&(fe.value=_e,fe.entries=Oe,ie())},Me=kt("layout-shift",Re);Me&&(ie=_t(K,fe,un,q.reportAllChanges),Tr(function(){Re(Me.takeRecords()),ie(!0)}),Ut(function(){_e=0,fe=wt("CLS",0),ie=_t(K,fe,un,q.reportAllChanges),Or(function(){return ie()})}),setTimeout(ie,0))}))},Ar={passive:!0,capture:!0},bi=new Date,Dn=function(K,q){ct||(ct=q,gt=K,mt=new Date,kn(removeEventListener),Rr())},Rr=function(){if(gt>=0&&gt<mt-bi){var K={entryType:"first-input",name:ct.type,target:ct.target,cancelable:ct.cancelable,startTime:ct.timeStamp,processingStart:ct.timeStamp+gt};Ft.forEach(function(q){q(K)}),Ft=[]}},Si=function(K){if(K.cancelable){var q=(K.timeStamp>1e12?new Date:performance.now())-K.timeStamp;K.type=="pointerdown"?function(ie,fe){var _e=function(){Dn(ie,fe),Re()},Oe=function(){Re()},Re=function(){removeEventListener("pointerup",_e,Ar),removeEventListener("pointercancel",Oe,Ar)};addEventListener("pointerup",_e,Ar),addEventListener("pointercancel",Oe,Ar)}(q,K):Dn(q,K)}},kn=function(K){["mousedown","keydown","touchstart","pointerdown"].forEach(function(q){return K(q,Si,Ar)})},Nn=[100,300],lr=function(K,q){q=q||{},zr(function(){var ie,fe=Cr(),_e=wt("FID"),Oe=function(Qe){Qe.startTime<fe.firstHiddenTime&&(_e.value=Qe.processingStart-Qe.startTime,_e.entries.push(Qe),ie(!0))},Re=function(Qe){Qe.forEach(Oe)},Me=kt("first-input",Re);ie=_t(K,_e,Nn,q.reportAllChanges),Me&&Tr(on(function(){Re(Me.takeRecords()),Me.disconnect()})),Me&&Ut(function(){var ke;_e=wt("FID"),ie=_t(K,_e,Nn,q.reportAllChanges),Ft=[],gt=-1,ct=null,kn(addEventListener),ke=Oe,Ft.push(ke),Rr()})})},xn=0,Pr=1/0,Dr=0,Mn=function(K){K.forEach(function(q){q.interactionId&&(Pr=Math.min(Pr,q.interactionId),Dr=Math.max(Dr,q.interactionId),xn=Dr?(Dr-Pr)/7+1:0)})},jn=function(){return Er?xn:performance.interactionCount||0},Ei=function(){"interactionCount"in performance||Er||(Er=kt("event",Mn,{type:"event",buffered:!0,durationThreshold:0}))},Ht=[200,500],Xt=0,Qt=function(){return jn()-Xt},Nt=[],sn={},Un=function(K){var q=Nt[Nt.length-1],ie=sn[K.interactionId];if(ie||Nt.length<10||K.duration>q.latency){if(ie)ie.entries.push(K),ie.latency=Math.max(ie.latency,K.duration);else{var fe={id:K.interactionId,latency:K.duration,entries:[K]};sn[fe.id]=fe,Nt.push(fe)}Nt.sort(function(_e,Oe){return Oe.latency-_e.latency}),Nt.splice(10).forEach(function(_e){delete sn[_e.id]})}},Oi=function(K,q){q=q||{},zr(function(){Ei();var ie,fe=wt("INP"),_e=function(Me){Me.forEach(function(ut){ut.interactionId&&Un(ut),ut.entryType==="first-input"&&!Nt.some(function(tr){return tr.entries.some(function(It){return ut.duration===It.duration&&ut.startTime===It.startTime})})&&Un(ut)});var ke,Qe=(ke=Math.min(Nt.length-1,Math.floor(Qt()/50)),Nt[ke]);Qe&&Qe.latency!==fe.value&&(fe.value=Qe.latency,fe.entries=Qe.entries,ie())},Oe=kt("event",_e,{durationThreshold:q.durationThreshold||40});ie=_t(K,fe,Ht,q.reportAllChanges),Oe&&(Oe.observe({type:"first-input",buffered:!0}),Tr(function(){_e(Oe.takeRecords()),fe.value<0&&Qt()>0&&(fe.value=0,fe.entries=[]),ie(!0)}),Ut(function(){Nt=[],Xt=jn(),fe=wt("INP"),ie=_t(K,fe,Ht,q.reportAllChanges)}))})},Bn=[2500,4e3],cn={},it=function(K,q){q=q||{},zr(function(){var ie,fe=Cr(),_e=wt("LCP"),Oe=function(Qe){var ut=Qe[Qe.length-1];ut&&ut.startTime<fe.firstHiddenTime&&(_e.value=Math.max(ut.startTime-an(),0),_e.entries=[ut],ie())},Re=kt("largest-contentful-paint",Oe);if(Re){ie=_t(K,_e,Bn,q.reportAllChanges);var Me=on(function(){cn[_e.id]||(Oe(Re.takeRecords()),Re.disconnect(),cn[_e.id]=!0,ie(!0))});["keydown","click"].forEach(function(ke){addEventListener(ke,Me,!0)}),Tr(Me),Ut(function(ke){_e=wt("LCP"),ie=_t(K,_e,Bn,q.reportAllChanges),Or(function(){_e.value=performance.now()-ke.timeStamp,cn[_e.id]=!0,ie(!0)})})}})},Vr=function($){return $?Math.round($.value):void 0},$t=function($){yi(function(K){var q;$({cumulativeLayoutShift:(q=K==null?void 0:K.value)!==null&&q!==void 0?q:void 0})},{reportAllChanges:!0})},Ln=function($){Kt(function(K){return $({firstContentfulPaint:Vr(K)})})},vt=function($){lr(function(K){return $({firstInputDelay:Vr(K)})})},qt=function($){Oi(function(K){return $({interactionToNextPaint:Vr(K)})})},ln=function($){it(function(K){return $({largestContentfulPaint:Vr(K)})})},kr=["connectEnd","connectStart","decodedBodySize","domComplete","domContentLoadedEventEnd","domContentLoadedEventStart","domInteractive","encodedBodySize","fetchStart","loadEventEnd","loadEventStart","redirectCount","redirectEnd","redirectStart","responseStart","responseEnd","responseStatus","secureConnectionStart","transferSize","unloadEventEnd","unloadEventStart","workerStart"],Zr=["initiatorType","nextHopProtocol"],er=function($,K){return function(){var q=k(function(ie){var fe,_e,Oe,Re,Me;return c(this,function(ke){switch(ke.label){case 0:return ke.trys.push([0,2,,3]),fe=[{},ie],[4,$(ie)];case 1:return K.apply(void 0,[G.apply(void 0,fe.concat([ke.sent()]))]),[3,3];case 2:return _e=ke.sent(),(Me=window)===null||Me===void 0||(Re=Me.SQUARESPACE_SENTRY)===null||Re===void 0||(Oe=Re.captureException)===null||Oe===void 0||Oe.call(Re,_e),[3,3];case 3:return[2]}})});return function(ie){return q.apply(this,arguments)}}()};function fr($){Object.values(H).forEach(function(){var K=k(function(q){var ie,fe,_e,Oe;return c(this,function(Re){switch(Re.label){case 0:return Re.trys.push([0,2,,3]),[4,q($)];case 1:return Re.sent(),[3,3];case 2:return ie=Re.sent(),(Oe=window)===null||Oe===void 0||(_e=Oe.SQUARESPACE_SENTRY)===null||_e===void 0||(fe=_e.captureException)===null||fe===void 0||fe.call(_e,ie),[3,3];case 3:return[2]}})});return function(q){return K.apply(this,arguments)}}()),kr.forEach(er(Ee,$)),Zr.forEach(er(De,$))}var Fn=["more","less","custom"],Gn=function(){var $;return($=Fn.find(function(K){return window.matchMedia("prefers-contrast: ".concat(K)).matches}))!==null&&$!==void 0?$:"no-preference"},fn=function(){var $;return{forceColors:window.matchMedia("(forced-colors: active)").matches,networkInformationType:($=navigator.connection)===null||$===void 0?void 0:$.type,prefersContrast:Gn(),prefersReducedMotion:window.matchMedia("(prefers-reduced-motion: reduce)").matches,primaryInputHasHover:window.matchMedia("(hover: hover)").matches,keyboardUsage:!1}},yt=function($){var K=fn(),q=function(){$(K,"a11y")},ie=function(fe){var _e;["INPUT","TEXTAREA"].includes((_e=fe.target)===null||_e===void 0?void 0:_e.tagName)||!ee.includes(fe.key)||(K.keyboardUsage=!0,q(),document.removeEventListener("keydown",ie))};document.addEventListener("keydown",ie),document.addEventListener(Z,function(){document.visibilityState==="hidden"&&q()})};function Hn($){var K=new RegExp("(^| )".concat($,"=([^;]+)")),q=document.cookie.match(K);return q?q[2]:""}function dn(){return!!(window.PerformanceMeasure&&window.PerformanceMark)}function pn(){if(!Object.prototype.hasOwnProperty.call(window,"PerformanceObserver"))return!1;try{var $=new window.PerformanceObserver(function(){return null});$.observe({entryTypes:["mark"]}),$.disconnect()}catch(K){return!1}return!0}function Kr(){var $;return typeof(($=window.navigator)===null||$===void 0?void 0:$.sendBeacon)=="function"&&!Y.test(window.navigator.userAgent)}function Ti(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},K,q,ie,fe,_e,Oe,Re;return{context:$,analyticsId:Hn(W),marketingId:Hn(ne),memberId:(ie=window.Static)===null||ie===void 0||(q=ie.SQUARESPACE_CONTEXT)===null||q===void 0||(K=q.authenticatedAccount)===null||K===void 0?void 0:K.id,version:re,downlink:(fe=navigator.connection)===null||fe===void 0?void 0:fe.downlink,effectiveType:(_e=navigator.connection)===null||_e===void 0?void 0:_e.effectiveType,rtt:(Oe=navigator.connection)===null||Oe===void 0?void 0:Oe.rtt,saveData:(Re=navigator.connection)===null||Re===void 0?void 0:Re.saveData,deliveryType:Kr()?"beacon":"xhr",devicePixelRatio:window.devicePixelRatio,screenHeight:window.screen.height,screenWidth:window.screen.width,viewportHeight:window.innerHeight,viewportWidth:window.innerWidth,deviceMemory:navigator.deviceMemory,hardwareConcurrency:navigator.hardwareConcurrency,hash:window.location.hash||"",hostname:window.location.hostname||"",pathname:window.location.pathname||"/"}}var Wn=function(){var $=k(function(K){var q,ie;return c(this,function(fe){switch(fe.label){case 0:return q=Ti(K),ie={},fr(function(_e){Object.assign(ie,_e)}),[4,Promise.race([pe(6e4),ve()])];case 1:return fe.sent(),[2,N({},q,ie)]}})});return function(q){return $.apply(this,arguments)}}(),Yn=function(){var $=k(function(K,q){var ie;return c(this,function(fe){switch(fe.label){case 0:return[4,Wn(q)];case 1:return ie=fe.sent(),K(ie,"page_speed"),[2]}})});return function(q,ie){return $.apply(this,arguments)}}(),mn=["media-www.sqspcdn.com","images.squarespace-cdn.com","static1.squarespace.com"],wi=function($){return mn.some(function(K){return $.includes(K)})},Jn=function($){return $.hasAttribute("data-loader")?2:$.hasAttribute("data-src")?1:0},Ii=function($,K){if($.hasAttribute("data-image-resolution")){var q;return Number((q=$.getAttribute("data-image-resolution"))===null||q===void 0?void 0:q.replace("w",""))}var ie=K.indexOf("format=");return ie!==-1?Number(K.slice(ie+7).replace(/w.*/,"")):NaN},Ci=function($,K,q){if(q===1&&L($,HTMLImageElement)&&$.naturalHeight===0){var ie=document.querySelector('div[style*="'.concat(K,'"]'));if(ie)return ie}return $},zn=function($){if(L($,HTMLImageElement)){var K=$.naturalHeight,q=$.naturalWidth,ie=$.width,fe=$.height;return{naturalHeight:K,naturalWidth:q,width:ie,height:fe}}var _e=$.getBoundingClientRect(),Oe=Math.floor(_e.width),Re=Math.floor(_e.height);return{naturalHeight:Re,naturalWidth:Oe}},We=function(){var $=k(function(K,q){var ie,fe,_e,Oe,Re,Me,ke,Qe,ut,tr,It,Xr,xr,yn,bn,Sn,Mr,jr;return c(this,function(ji){ie=Ii(q,K.name),fe=Jn(q),_e=q.getAttribute("data-loader"),Oe=q.getAttribute("elementtiming"),Re=K.toJSON(),Me=Re.serverTiming,ke=Re.workerTiming,Qe=m(Re,["serverTiming","workerTiming"]),ut=!0,tr=!1,It=void 0;try{for(Xr=Object.entries(Qe)[Symbol.iterator]();!(ut=(xr=Xr.next()).done);ut=!0)yn=b(xr.value,2),bn=yn[0],Sn=yn[1],typeof Sn=="number"&&(Qe[bn]=Math.floor(Sn))}catch(Qr){tr=!0,It=Qr}finally{try{!ut&&Xr.return!=null&&Xr.return()}finally{if(tr)throw It}}return Mr=Ci(q,K.name,fe),jr=zn(Mr),[2,new Promise(function(Qr){var ai=new IntersectionObserver(function(Ui){Ui.forEach(function(Ur){if(Ur.target===Mr)return ai.disconnect(),Qr(N({visibleOnLoad:Ur.isIntersecting,observationTime:Math.floor(Ur.time),intersectionRatio:Ur.intersectionRatio,squarespaceSize:ie,imageType:fe,imageLoaderType:_e,elementTiming:Oe},jr,Qe))})});ai.observe(Mr)})]})});return function(q,ie){return $.apply(this,arguments)}}(),Ke=function(){var $=k(function(K){var q,ie,fe,_e,Oe;return c(this,function(Re){switch(Re.label){case 0:return q=K.resource,ie=K.deliverMetrics,!(L(q,PerformanceResourceTiming)&&q.initiatorType==="img")||!wi(q.name)?[2]:(fe=q.name.replace(/\?.*/,""),_e=Array.from(document.querySelectorAll('img[src="'.concat(q.name,'"], img[data-src*="').concat(fe,'"], img[srcset*="').concat(q.name,'"]'))),document.querySelectorAll('picture > source[srcset*="'.concat(q.name,'"]')).forEach(function(Me){var ke=Me.parentElement;ke!==null&&_e.push(ke.lastElementChild)}),_e.length!==1?[2]:[4,We(q,_e[0])]);case 1:return Oe=Re.sent(),ie(Oe,"image"),[2]}})});return function(q){return $.apply(this,arguments)}}(),bt=function(){var $=k(function(K){var q,ie;return c(this,function(fe){return pn()?(q=function(_e){return Ke({resource:_e,deliverMetrics:K})},performance.getEntriesByType("resource").forEach(q),ie=new PerformanceObserver(function(_e){_e.getEntries().forEach(q)}),ie.observe({entryTypes:["resource"]}),[2]):[2]})});return function(q){return $.apply(this,arguments)}}(),St,Wt=function($){var K=$.spanName,q=$.tracer,ie=$.startTime,fe=$.spanAttributes,_e=fe===void 0?{}:fe;St===void 0&&(St=new Map);var Oe=q.startSpan(K,{startTime:ie});Oe.setAttributes(_e),St.set(K,Oe)},hn=function($){var K=$.spanName,q=$.spanAttributes,ie=q===void 0?{}:q,fe=$.updateName;if(!(St===void 0||!St.has(K))){var _e=St.get(K);_e.setAttributes(ie),fe!==void 0&&_e.updateName(fe),_e.end(),St.delete(K)}},dr="rum-",gn=function($){var K,q;typeof((q=window)===null||q===void 0||(K=q.SQUARESPACE_SENTRY)===null||K===void 0?void 0:K.captureException)=="function"?window.SQUARESPACE_SENTRY.captureException($):console.warn("@sqs/rum-collector: user timing exception: ".concat($))};function Ai($){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};try{if(!_n())return;var q=dr+$;window.performance.clearMarks(q);var ie=window.performance.mark(q,{detail:K.detail,startTime:K.startTime});if(K.tracer!==void 0){var fe=b(window.performance.getEntriesByName(q,"mark").slice(-1),1),_e=fe[0];Wt({spanName:q,tracer:K.tracer,startTime:_e.startTime,spanAttributes:K.spanAttributes})}return ie}catch(Oe){gn(Oe)}}function vn($){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{requireStart:!1};try{if(!(_n()&&Vn()))return;var q=dr+$,ie={detail:K.detail,duration:K.duration};if(K.start===void 0?window.performance.getEntriesByName(q,"mark").length>0&&(ie.start=q):typeof K.start=="string"?ie.start=dr+K.start:ie.start=K.start,ie.end=typeof K.end=="string"?dr+K.end:K.end,K.requireStart&&typeof ie.start!="string")return;if(K.tracer!==void 0){var fe=N({measureName:q},K.spanAttributes);if(typeof ie.start=="number")Wt({spanName:q,tracer:K.tracer,startTime:ie.start}),hn({spanName:q,spanAttributes:fe});else{var _e;if(window.performance.getEntriesByName((_e=ie.start)!==null&&_e!==void 0?_e:q,"mark").length===0){var Oe;Wt({spanName:(Oe=ie.start)!==null&&Oe!==void 0?Oe:q,tracer:K.tracer,startTime:0})}var Re;hn({spanName:(Re=ie.start)!==null&&Re!==void 0?Re:q,spanAttributes:fe,updateName:ie.start!==q?q:void 0})}}Kn(q,ie);var Me=Zn(q);return Me}catch(ke){gn(ke)}}function Vn(){return"performance"in window&&"getEntries"in window.performance&&"getEntriesByType"in window.performance&&"getEntriesByName"in window.performance}function _n(){return"mark"in window.performance&&"measure"in window.performance}function Zn($){var K=window.performance.getEntriesByName($,"measure");return K[K.length-1]}function Kn($,K){try{window.performance.measure($,K)}catch(fe){var q=typeof K.start=="string"?K.start:$,ie=typeof K.end=="string"?K.end:void 0;try{window.performance.measure($,q,ie)}catch(_e){if(!L(_e,DOMException))throw _e;try{window.performance.measure($,"navigationStart")}catch(Oe){if(!L(Oe,DOMException))throw Oe;window.performance.measure($)}}}}function Nr($){return typeof $=="string"&&$.substring(0,4)===dr}function Ri($){var K={};for(var q in $)typeof $[q]!="function"&&(K[q]=$[q]);return K}var Xn=new Set,Ve=function($){if(!!dn()){var K=function(ie){var fe=ie.map(Ri);fe.forEach(function(_e){if(!!Nr(_e.name)){var Oe="".concat(_e.name,"|").concat(_e.duration);Xn.has(Oe)||($(_e,"user"),Xn.add(Oe))}})};if(K(window.performance.getEntriesByType("measure")),pn()){var q=new window.PerformanceObserver(function(ie){return K(ie.getEntries())});q.observe({entryTypes:["measure"]})}else document.addEventListener(Z,function(){document.visibilityState==="hidden"&&K(window.performance.getEntriesByType("measure"))})}},Yt,Jt=[],Qn=function($){Jt.push($)};function Pi($,K){if(!(Kr()&&navigator.sendBeacon($,K))){var q=new XMLHttpRequest;q.open("POST",$,!0),q.setRequestHeader("Content-Type","text/plain;charset=UTF-8"),q.send(K)}}function $n($){if(Jt.length){var K=JSON.stringify(Jt);Pi($,K),Jt=[]}}function qn($){window.addEventListener(z,function(){Yt=window.setTimeout(function(){return $n($)},X)}),document.addEventListener(Z,function(){document.visibilityState==="hidden"&&(window.clearTimeout(Yt),$n($))})}function Di($){Qn(N({raw:!0},$))}var ei=function($,K){return function(q,ie){var fe={app:$,data:q,event:ie,pageLoadId:K,ts:Date.now()};Di(fe)}},ki=function($){return function(){for(var K=arguments.length,q=new Array(K),ie=0;ie<K;ie++)q[ie]=arguments[ie];$&&$.apply(void 0,u(q))}},ti=function($){var K={appName:$.appName||"",context:$.context||{},enabled:typeof $.enabled=="boolean"?$.enabled:!0,serviceURL:$.serviceURL||F,captureException:ki($.captureException)};return K};function ri($){return pr.apply(this,arguments)}function pr(){return pr=k(function($){var K,q,ie;return c(this,function(fe){switch(fe.label){case 0:return K=ti($),K.enabled?[4,Promise.resolve().then(function(){return A(),I})]:[2];case 1:q=fe.sent().nanoid();try{ie=ei(K.appName,q),Yn(ie,K.context),Ve(ie),bt(ie),yt(ie),qn(K.serviceURL)}catch(_e){K.captureException(_e,{pageLoadId:q,parsedOptions:K})}return[2]}})}),pr.apply(this,arguments)}var zt={action:"load",actor:"user",event_owner_team:"web_performance",event_source:"web",object_type:"website"},Ni=function(){var $=/^qa\d+.sqsp.net/g,K=/^stage.sqsp.net/g,q=/(dev.squarespace.net|localhost|127.0.0.1|0.0.0.0)/g,ie=window.location.hostname.substr(window.location.hostname.indexOf(".")+1);return K.test(ie)||$.test(ie)?"staging":q.test(ie)?"dev":"prod"},ni=function($){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ni();return new $({customSchemaName:"Performance",sourceEnvironment:K},zt)},ii=Object.freeze({cumulativeLayoutShift:"cumulative_layout_shift",decodedBodySize:"decoded_body_size_bytes",domContentLoadedEventEnd:"dom_content_loaded_event_end_ms",domContentLoadedEventStart:"dom_content_loaded_event_start_ms",domainLookup:"domain_lookup_ms",encodedBodySize:"encoded_body_size_bytes",firstContentfulPaint:"first_contentful_paint_ms",firstInputDelay:"first_input_delay_ms",interactionToNextPaint:"interaction_to_next_paint_ms",largestContentfulPaint:"largest_contentful_paint_ms",loadEventEnd:"load_event_end_ms",loadEventStart:"load_event_start_ms",responseStart:"response_start_ms",tcpConnection:"tcp_connection_ms",tlsNegotiation:"tls_negotiation_ms"}),xi=function(){var $=k(function(K){var q;return c(this,function(ie){switch(ie.label){case 0:return q={},fr(function(fe){Object.entries(fe).forEach(function(_e){var Oe=b(_e,2),Re=Oe[0],Me=Oe[1];Object.prototype.hasOwnProperty.call(ii,Re)&&(q[ii[Re]]=Me)})}),[4,Promise.race([pe(6e4),ve()])];case 1:return ie.sent(),K(q),[2]}})});return function(q){return $.apply(this,arguments)}}();function Mi(){for(var $=arguments.length,K=new Array($),q=0;q<$;q++)K[q]=arguments[q];return console.warn("@sqs/rum-collector default export is deprecated. Use named export `init` instead."),ri.apply(void 0,u(K))}}},function(se){var x=function(B){return se(se.s=B)},S=x(21968)}]);
//# sourceMappingURL=https://sourcemaps.squarespace.net/universal/scripts-compressed/performance-ae03c2b16f1917163935a-min.en-US.js.map