PageSourceSearch

https://www.waiterio.com/docs/assets/main.C-dGXvRm.js

js waiterio.com collected 2026-10-02 06:30:03 UTC 636,272 bytes, 470 lines download raw bytes

vendor: 19,761 bytes, line 1
1var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,a)=>(a=n==null?{}:e(i(n)),c(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),u=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.iterator;function p(e){return typeof e!=`object`||!e?null:(e=f&&e[f]||e[`@@iterator`],typeof e==`function`?e:null)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function _(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function v(){}v.prototype=_.prototype;function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}var b=y.prototype=new v;b.constructor=y,h(b,_.prototype),b.isPureReactComponent=!0;var x=Array.isArray,S={H:null,A:null,T:null,S:null,V:null},C=Object.prototype.hasOwnProperty;function ee(e,n,r,i,a,o){return r=o.ref,{$$typeof:t,type:e,key:n,ref:r===void 0?null:r,props:o}}function te(e,t){return ee(e.type,t,void 0,void 0,void 0,e.props)}function ne(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function re(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var ie=/\/+/g;function w(e,t){return typeof e==`object`&&e&&e.key!=null?re(``+e.key):t.toString(36)}function ae(){}function oe(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(ae,ae):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function T(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,T(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+w(e,0):a,x(o)?(i=``,c!=null&&(i=c.replace(ie,`$&/`)+`/`),T(o,r,i,``,function(e){return e})):o!=null&&(ne(o)&&(o=te(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(ie,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(x(e))for(var u=0;u<e.length;u++)a=e[u],s=l+w(a,u),c+=T(a,r,i,s,o);else if(u=p(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+w(a,u++),c+=T(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return T(oe(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function se(e,t,n){if(e==null)return e;var r=[],i=0;return T(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ce(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var le=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)};function E(){}e.Children={map:se,forEach:function(e,t,n){se(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return se(e,function(){t++}),t},toArray:function(e){return se(e,function(e){return e})||[]},only:function(e){if(!ne(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}},e.Component=_,e.Fragment=r,e.Profiler=a,e.PureComponent=y,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=S,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return S.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=h({},e.props),i=e.key,a=void 0;if(t!=null)for(o in t.ref!==void 0&&(a=void 0),t.key!==void 0&&(i=``+t.key),t)!C.call(t,o)||o===`key`||o===`__self`||o===`__source`||o===`ref`&&t.ref===void 0||(r[o]=t[o]);var o=arguments.length-2;if(o===1)r.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];r.children=s}return ee(e.type,i,void 0,void 0,a,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)C.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return ee(e,a,void 0,void 0,null,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=ne,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:ce}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=S.T,n={};S.T=n;try{var r=e(),i=S.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(E,le)}catch(e){le(e)}finally{S.T=t}},e.unstable_useCacheRefresh=function(){return S.H.useCacheRefresh()},e.use=function(e){return S.H.use(e)},e.useActionState=function(e,t,n){return S.H.useActionState(e,t,n)},e.useCallback=function(e,t){return S.H.useCallback(e,t)},e.useContext=function(e){return S.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return S.H.useDeferredValue(e,t)},e.useEffect=function(e,t,n){var r=S.H;if(typeof n==`function`)throw Error(`useEffect CRUD overload is not enabled in this build of React.`);return r.useEffect(e,t)},e.useId=function(){return S.H.useId()},e.useImperativeHandle=function(e,t,n){return S.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return S.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return S.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return S.H.useMemo(e,t)},e.useOptimistic=function(e,t){return S.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return S.H.useReducer(e,t,n)},e.useRef=function(e){return S.H.useRef(e)},e.useState=function(e){return S.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return S.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return S.H.useTransition()},e.version=`19.1.0`})),d=o(((e,t)=>{t.exports=u()})),f=o((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,S||(S=!0,ie());else{var t=n(l);t!==null&&oe(x,t.startTime-e)}}var S=!1,C=-1,ee=5,te=-1;function ne(){return g?!0:!(e.unstable_now()-te<ee)}function re(){if(g=!1,S){var t=e.unstable_now();te=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&ne());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&oe(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}}}finally{i?ie():S=!1}}}var ie;if(typeof y==`function`)ie=function(){y(re)};else if(typeof MessageChannel<`u`){var w=new MessageChannel,ae=w.port2;w.port1.onmessage=re,ie=function(){ae.postMessage(null)}}else ie=function(){_(re,0)};function oe(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):ee=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,oe(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,ie()))),r},e.unstable_shouldYield=ne,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),p=o(((e,t)=>{t.exports=f()})),m=o((e=>{var t=d();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`);function o(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var s=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return o(e,t,null,r)},e.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??i.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else i.d.m(e)},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},e.useFormStatus=function(){return s.H.useHostTransitionStatus()},e.version=`19.1.0`})),h=o(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=m()})),g=o((e=>{var t=p(),n=d(),r=h();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(o(e)!==e)throw Error(i(188))}function l(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return c(a),e;if(s===r)return c(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var l=!1,u=a.child;u;){if(u===n){l=!0,n=a,r=s;break}if(u===r){l=!0,r=a,n=s;break}u=u.sibling}if(!l){for(u=s.child;u;){if(u===n){l=!0,n=s,r=a;break}if(u===r){l=!0,r=s,n=a;break}u=u.sibling}if(!l)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function u(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=u(e),t!==null)return t;e=e.sibling}return null}var f=Object.assign,m=Symbol.for(`react.element`),g=Symbol.for(`react.transitional.element`),_=Symbol.for(`react.portal`),v=Symbol.for(`react.fragment`),y=Symbol.for(`react.strict_mode`),b=Symbol.for(`react.profiler`),x=Symbol.for(`react.provider`),S=Symbol.for(`react.consumer`),C=Symbol.for(`react.context`),ee=Symbol.for(`react.forward_ref`),te=Symbol.for(`react.suspense`),ne=Symbol.for(`react.suspense_list`),re=Symbol.for(`react.memo`),ie=Symbol.for(`react.lazy`),w=Symbol.for(`react.activity`),ae=Symbol.for(`react.memo_cache_sentinel`),oe=Symbol.iterator;function T(e){return typeof e!=`object`||!e?null:(e=oe&&e[oe]||e[`@@iterator`],typeof e==`function`?e:null)}var se=Symbol.for(`react.client.reference`);function ce(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===se?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case v:return`Fragment`;case b:return`Profiler`;case y:return`StrictMode`;case te:return`Suspense`;case ne:return`SuspenseList`;case w:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case _:return`Portal`;case C:return(e.displayName||`Context`)+`.Provider`;case S:return(e._context.displayName||`Context`)+`.Consumer`;case ee:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||``,e=e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case re:return t=e.displayName||null,t===null?ce(e.type)||`Memo`:t;case ie:t=e._payload,e=e._init;try{return ce(e(t))}catch{}}return null}var le=Array.isArray,E=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ue={pending:!1,data:null,method:null,action:null},de=[],fe=-1;function pe(e){return{current:e}}function me(e){0>fe||(e.current=de[fe],de[fe]=null,fe--)}function he(e,t){fe++,de[fe]=e.current,e.current=t}var ge=pe(null),_e=pe(null),ve=pe(null),ye=pe(null);function be(e,t){switch(he(ve,t),he(_e,e),he(ge,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Id(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Id(t),e=G(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}me(ge),he(ge,e)}function xe(){me(ge),me(_e),me(ve)}function Se(e){e.memoizedState!==null&&he(ye,e);var t=ge.current,n=G(t,e.type);t!==n&&(he(_e,e),he(ge,n))}function Ce(e){_e.current===e&&(me(ge),me(_e)),ye.current===e&&(me(ye),Hf._currentValue=ue)}var we=Object.prototype.hasOwnProperty,Te=t.unstable_scheduleCallback,Ee=t.unstable_cancelCallback,De=t.unstable_shouldYield,Oe=t.unstable_requestPaint,ke=t.unstable_now,Ae=t.unstable_getCurrentPriorityLevel,je=t.unstable_ImmediatePriority,Me=t.unstable_UserBlockingPriority,Ne=t.unstable_NormalPriority,Pe=t.unstable_LowPriority,Fe=t.unstable_IdlePriority,Ie=t.log,Le=t.unstable_setDisableYieldValue,Re=null,ze=null;function Be(e){if(typeof Ie==`function`&&Le(e),ze&&typeof ze.setStrictMode==`function`)try{ze.setStrictMode(Re,e)}
vendor: 4,336 bytes, line 1
1catch{}}var Ve=Math.clz32?Math.clz32:We,He=Math.log,Ue=Math.LN2;function We(e){return e>>>=0,e===0?32:31-(He(e)/Ue|0)|0}var Ge=256,Ke=4194304;function qe(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Je(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=qe(n))):i=qe(o):i=qe(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=qe(n))):i=qe(o)):i=qe(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function Ye(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Xe(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ze(){var e=Ge;return Ge<<=1,!(Ge&4194048)&&(Ge=256),e}function Qe(){var e=Ke;return Ke<<=1,!(Ke&62914560)&&(Ke=4194304),e}function $e(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function et(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function tt(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-Ve(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&nt(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function nt(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Ve(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&4194090}function rt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ve(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function it(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function at(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function ot(){var e=D.p;return e===0?(e=window.event,e===void 0?32:rp(e.type)):e}function st(e,t){var n=D.p;try{return D.p=e,t()}finally{D.p=n}}var ct=Math.random().toString(36).slice(2),lt=`__reactFiber$`+ct,ut=`__reactProps$`+ct,dt=`__reactContainer$`+ct,ft=`__reactEvents$`+ct,pt=`__reactListeners$`+ct,mt=`__reactHandles$`+ct,ht=`__reactResources$`+ct,gt=`__reactMarker$`+ct;function _t(e){delete e[lt],delete e[ut],delete e[ft],delete e[pt],delete e[mt]}function vt(e){var t=e[lt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[dt]||n[lt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ef(e);e!==null;){if(n=e[lt])return n;e=ef(e)}return t}e=n,n=e.parentNode}return null}function yt(e){if(e=e[lt]||e[dt]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function bt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function xt(e){var t=e[ht];return t||(t=e[ht]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function St(e){e[gt]=!0}var Ct=new Set,wt={};function Tt(e,t){Et(e,t),Et(e+`Capture`,t)}function Et(e,t){for(wt[e]=t,e=0;e<t.length;e++)Ct.add(t[e])}var Dt=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u
1037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),Ot={},kt={};function At(e){return we.call(kt,e)?!0:we.call(Ot,e)?!1:Dt.test(e)?kt[e]=!0:(Ot[e]=!0,!1)}function jt(e,t,n){if(At(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,``+n)}}function Mt(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,``+n)}}function Nt(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,``+r)}}var Pt,Ft;function It(e){if(Pt===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Pt=t&&t[1]||``,Ft=-1<e.stack.indexOf(`
2    at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
3`+Pt+e+Ft}var Lt=!1;function Rt(e,t){if(!e||Lt)return``;Lt=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}
vendor: 20,413 bytes, lines 3-8
3else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
4`),l=s.split(`
5`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
6`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{Lt=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?It(n):``}function zt(e){switch(e.tag){case 26:case 27:case 5:return It(e.type);case 16:return It(`Lazy`);case 13:return It(`Suspense`);case 19:return It(`SuspenseList`);case 0:case 15:return Rt(e.type,!1);case 11:return Rt(e.type.render,!1);case 1:return Rt(e.type,!0);case 31:return It(`Activity`);default:return``}}function Bt(e){try{var t=``;do t+=zt(e),e=e.return;while(e);return t}catch(e){return`
7Error generating stack: `+e.message+`
8`+e.stack}}function Vt(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Ht(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Ut(e){var t=Ht(e)?`checked`:`value`,n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=``+e[t];if(!e.hasOwnProperty(t)&&n!==void 0&&typeof n.get==`function`&&typeof n.set==`function`){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Wt(e){e._valueTracker||(e._valueTracker=Ut(e))}function Gt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Ht(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function Kt(e){if(e=e||(typeof document<`u`?document:void 0),e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}var qt=/[\n"\\]/g;function Jt(e){return e.replace(qt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Yt(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+Vt(t)):e.value!==``+Vt(t)&&(e.value=``+Vt(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Zt(e,o,Vt(n)):Zt(e,o,Vt(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+Vt(s):e.removeAttribute(`name`)}function Xt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null))return;n=n==null?``:``+Vt(n),t=t==null?n:``+Vt(t),s||t===e.value||(e.value=t),e.defaultValue=t}r=r??i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o)}function Zt(e,t,n){t===`number`&&Kt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function Qt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+Vt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function $t(e,t,n){if(t!=null&&(t=``+Vt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+Vt(n)}function en(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(le(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??(n=``),t=n}n=Vt(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r)}function tn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var nn=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function rn(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||nn.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function an(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&rn(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&rn(e,o,t[o])}function on(e){if(e.indexOf(`-`)===-1)return!1;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var sn=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),cn=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function ln(e){return cn.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}var un=null;function dn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var fn=null,pn=null;function mn(e){var t=yt(e);if(t&&(e=t.stateNode)){var n=e[ut]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Yt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+Jt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[ut]||null;if(!a)throw Error(i(90));Yt(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&Gt(r)}break a;case`textarea`:$t(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Qt(e,!!n.multiple,t,!1)}}}var hn=!1;function gn(e,t,n){if(hn)return e(t,n);hn=!0;try{return e(t)}finally{if(hn=!1,(fn!==null||pn!==null)&&(hu(),fn&&(t=fn,e=pn,pn=fn=null,mn(t),e)))for(t=0;t<e.length;t++)mn(e[t])}}function _n(e,t){var n=e.stateNode;if(n===null)return null;var r=n[ut]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=e!==`button`&&e!==`input`&&e!==`select`&&e!==`textarea`),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var vn=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),yn=!1;if(vn)try{var bn={};Object.defineProperty(bn,"passive",{get:function(){yn=!0}}),window.addEventListener(`test`,bn,bn),window.removeEventListener(`test`,bn,bn)}catch{yn=!1}var xn=null,Sn=null,Cn=null;function wn(){if(Cn)return Cn;var e,t=Sn,n=t.length,r,i=`value`in xn?xn.value:xn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return Cn=i.slice(e,1<r?1-r:void 0)}function Tn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function En(){return!0}function Dn(){return!1}function On(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?En:Dn,this.isPropagationStopped=Dn,this}return f(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=En)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=En)},persist:function(){},isPersistent:En}),t}var kn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},An=On(kn),jn=f({},kn,{view:0,detail:0}),Mn=On(jn),Nn,Pn,Fn,In=f({},jn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:qn,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==Fn&&(Fn&&e.type===`mousemove`?(Nn=e.screenX-Fn.screenX,Pn=e.screenY-Fn.screenY):Pn=Nn=0,Fn=e),Nn)},movementY:function(e){return`movementY`in e?e.movementY:Pn}}),Ln=On(In),Rn=On(f({},In,{dataTransfer:0})),zn=On(f({},jn,{relatedTarget:0})),Bn=On(f({},kn,{animationName:0,elapsedTime:0,pseudoElement:0})),Vn=On(f({},kn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Hn=On(f({},kn,{data:0})),Un={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Wn={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},Gn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Kn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Gn[e])?!!t[e]:!1}function qn(){return Kn}var Jn=On(f({},jn,{key:function(e){if(e.key){var t=Un[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=Tn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Wn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:qn,charCode:function(e){return e.type===`keypress`?Tn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?Tn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Yn=On(f({},In,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Xn=On(f({},jn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qn})),Zn=On(f({},kn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Qn=On(f({},In,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),$n=On(f({},kn,{newState:0,oldState:0})),er=[9,13,27,32],tr=vn&&`CompositionEvent`in window,nr=null;vn&&`documentMode`in document&&(nr=document.documentMode);var rr=vn&&`TextEvent`in window&&!nr,ir=vn&&(!tr||nr&&8<nr&&11>=nr),ar=` `,or=!1;function sr(e,t){switch(e){case`keyup`:return er.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function cr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var lr=!1;function ur(e,t){switch(e){case`compositionend`:return cr(t);case`keypress`:return t.which===32?(or=!0,ar):null;case`textInput`:return e=t.data,e===ar&&or?null:e;default:return null}}function dr(e,t){if(lr)return e===`compositionend`||!tr&&sr(e,t)?(e=wn(),Cn=Sn=xn=null,lr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return ir&&t.locale!==`ko`?null:t.data;default:return null}}var fr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!fr[e.type]:t===`textarea`}function mr(e,t,n,r){fn?pn?pn.push(r):pn=[r]:fn=r,t=xd(t,`onChange`),0<t.length&&(n=new An(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var hr=null,gr=null;function _r(e){md(e,0)}function vr(e){if(Gt(bt(e)))return e}function yr(e,t){if(e===`change`)return t}var br=!1;if(vn){var xr;if(vn){var Sr=`oninput`in document;if(!Sr){var Cr=document.createElement(`div`);Cr.setAttribute(`oninput`,`return;`),Sr=typeof Cr.oninput==`function`}xr=Sr}else xr=!1;br=xr&&(!document.documentMode||9<document.documentMode)}function wr(){hr&&(hr.detachEvent(`onpropertychange`,Tr),gr=hr=null)}function Tr(e){if(e.propertyName===`value`&&vr(gr)){var t=[];mr(t,gr,e,dn(e)),gn(_r,t)}}function Er(e,t,n){e===`focusin`?(wr(),hr=t,gr=n,hr.attachEvent(`onpropertychange`,Tr)):e===`focusout`&&wr()}function Dr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return vr(gr)}function Or(e,t){if(e===`click`)return vr(t)}function kr(e,t){if(e===`input`||e===`change`)return vr(t)}function Ar(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var jr=typeof Object.is==`function`?Object.is:Ar;function Mr(e,t){if(jr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!we.call(t,i)||!jr(e[i],t[i]))return!1}return!0}function O(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Nr(e,t){var n=O(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=O(n)}}function Pr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Pr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Fr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Kt(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Kt(e.document)}return t}function Ir(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Lr=vn&&`documentMode`in document&&11>=document.documentMode,Rr=null,zr=null,Br=null,Vr=!1;function Hr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Vr||Rr==null||Rr!==Kt(r)||(r=Rr,`selectionStart`in r&&Ir(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Br&&Mr(Br,r)||(Br=r,r=xd(zr,`onSelect`),0<r.length&&(t=new An(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Rr)))}function Ur(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Wr={animationend:Ur(`Animation`,`AnimationEnd`),animationiteration:Ur(`Animation`,`AnimationIteration`),animationstart:Ur(`Animation`,`AnimationStart`),transitionrun:Ur(`Transition`,`TransitionRun`),transitionstart:Ur(`Transition`,`TransitionStart`),transitioncancel:Ur(`Transition`,`TransitionCancel`),transitionend:Ur(`Transition`,`TransitionEnd`)},Gr={},Kr={};
vendor: 6,469 bytes, line 8
8vn&&(Kr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Wr.animationend.animation,delete Wr.animationiteration.animation,delete Wr.animationstart.animation),`TransitionEvent`in window||delete Wr.transitionend.transition);function qr(e){if(Gr[e])return Gr[e];if(!Wr[e])return e;var t=Wr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Kr)return Gr[e]=t[n];return e}var Jr=qr(`animationend`),Yr=qr(`animationiteration`),Xr=qr(`animationstart`),Zr=qr(`transitionrun`),Qr=qr(`transitionstart`),$r=qr(`transitioncancel`),ei=qr(`transitionend`),ti=new Map,ni=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);ni.push(`scrollEnd`);function ri(e,t){ti.set(e,t),Tt(t,[e])}var ii=new WeakMap;function ai(e,t){if(typeof e==`object`&&e){var n=ii.get(e);return n===void 0?(t={value:e,source:t,stack:Bt(t)},ii.set(e,t),t):n}return{value:e,source:t,stack:Bt(t)}}var oi=[],si=0,ci=0;function li(){for(var e=si,t=ci=si=0;t<e;){var n=oi[t];oi[t++]=null;var r=oi[t];oi[t++]=null;var i=oi[t];oi[t++]=null;var a=oi[t];if(oi[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&pi(n,i,a)}}function ui(e,t,n,r){oi[si++]=e,oi[si++]=t,oi[si++]=n,oi[si++]=r,ci|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function di(e,t,n,r){return ui(e,t,n,r),mi(e)}function fi(e,t){return ui(e,null,null,t),mi(e)}function pi(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-Ve(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function mi(e){if(50<ou)throw ou=0,su=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var k={};function A(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function j(e,t,n,r){return new A(e,t,n,r)}function M(e){return e=e.prototype,!(!e||!e.isReactComponent)}function hi(e,t){var n=e.alternate;return n===null?(n=j(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function gi(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function _i(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)M(e)&&(s=1);else if(typeof e==`string`)s=Mf(e,n,ge.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case w:return e=j(31,n,t,a),e.elementType=w,e.lanes=o,e;case v:return vi(n.children,a,o,t);case y:s=8,a|=24;break;case b:return e=j(12,n,t,a|2),e.elementType=b,e.lanes=o,e;case te:return e=j(13,n,t,a),e.elementType=te,e.lanes=o,e;case ne:return e=j(19,n,t,a),e.elementType=ne,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case x:case C:s=10;break a;case S:s=9;break a;case ee:s=11;break a;case re:s=14;break a;case ie:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=j(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function vi(e,t,n,r){return e=j(7,e,r,t),e.lanes=n,e}function yi(e,t,n){return e=j(6,e,null,t),e.lanes=n,e}function bi(e,t,n){return t=j(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var xi=[],Si=0,Ci=null,wi=0,Ti=[],Ei=0,Di=null,Oi=1,ki=``;function Ai(e,t){xi[Si++]=wi,xi[Si++]=Ci,Ci=e,wi=t}function ji(e,t,n){Ti[Ei++]=Oi,Ti[Ei++]=ki,Ti[Ei++]=Di,Di=e;var r=Oi;e=ki;var i=32-Ve(r)-1;r&=~(1<<i),n+=1;var a=32-Ve(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Oi=1<<32-Ve(t)+i|n<<i|r,ki=a+e}else Oi=1<<a|n<<i|r,ki=e}function Mi(e){e.return!==null&&(Ai(e,1),ji(e,1,0))}function Ni(e){for(;e===Ci;)Ci=xi[--Si],xi[Si]=null,wi=xi[--Si],xi[Si]=null;for(;e===Di;)Di=Ti[--Ei],Ti[Ei]=null,ki=Ti[--Ei],Ti[Ei]=null,Oi=Ti[--Ei],Ti[Ei]=null}var Pi=null,Fi=null,N=!1,Ii=null,Li=!1,Ri=Error(i(519));function zi(e){throw Gi(ai(Error(i(418,``)),e)),Ri}function Bi(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[lt]=e,t[ut]=r,n){case`dialog`:W(`cancel`,t),W(`close`,t);break;case`iframe`:case`object`:case`embed`:W(`load`,t);break;case`video`:case`audio`:for(n=0;n<fd.length;n++)W(fd[n],t);break;case`source`:W(`error`,t);break;case`img`:case`image`:case`link`:W(`error`,t),W(`load`,t);break;case`details`:W(`toggle`,t);break;case`input`:W(`invalid`,t),Xt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0),Wt(t);break;case`select`:W(`invalid`,t);break;case`textarea`:W(`invalid`,t),en(t,r.value,r.defaultValue,r.children),Wt(t)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.
vendor: 14,074 bytes, line 8
8suppressHydrationWarning||Dd(t.textContent,n)?(r.popover!=null&&(W(`beforetoggle`,t),W(`toggle`,t)),r.onScroll!=null&&W(`scroll`,t),r.onScrollEnd!=null&&W(`scrollend`,t),r.onClick!=null&&(t.onclick=Od),t=!0):t=!1,t||zi(e)}function Vi(e){for(Pi=e.return;Pi;)switch(Pi.tag){case 5:case 13:Li=!1;return;case 27:case 3:Li=!0;return;default:Pi=Pi.return}}function Hi(e){if(e!==Pi)return!1;if(!N)return Vi(e),N=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=n===`form`||n===`button`||Ld(e.type,e.memoizedProps)),n=!n),n&&Fi&&zi(e),Vi(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));a:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8)if(n=e.data,n===`/$`){if(t===0){Fi=Qd(e.nextSibling);break a}t--}else n!==`$`&&n!==`$!`&&n!==`$?`||t++;e=e.nextSibling}Fi=null}}else t===27?(t=Fi,Gd(e.type)?(e=$d,$d=null,Fi=e):Fi=t):Fi=Pi?Qd(e.stateNode.nextSibling):null;return!0}function Ui(){Fi=Pi=null,N=!1}function Wi(){var e=Ii;return e!==null&&(ql===null?ql=e:ql.push.apply(ql,e),Ii=null),e}function Gi(e){Ii===null?Ii=[e]:Ii.push(e)}var Ki=pe(null),qi=null,Ji=null;function Yi(e,t,n){he(Ki,t._currentValue),t._currentValue=n}function Xi(e){e._currentValue=Ki.current,me(Ki)}function Zi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function Qi(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Zi(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),Zi(s,n,e),s=null}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function $i(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;jr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===ye.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[Hf]:e.push(Hf))}a=a.return}e!==null&&Qi(t,e,n,r),t.flags|=262144}function ea(e){for(e=e.firstContext;e!==null;){if(!jr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ta(e){qi=e,Ji=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function na(e){return ia(qi,e)}function ra(e,t){return qi===null&&ta(e),ia(e,t)}function ia(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Ji===null){if(e===null)throw Error(i(308));Ji=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Ji=Ji.next=t;return n}var aa=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},oa=t.unstable_scheduleCallback,sa=t.unstable_NormalPriority,P={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ca(){return{controller:new aa,data:new Map,refCount:0}}function la(e){e.refCount--,e.refCount===0&&oa(sa,function(){e.controller.abort()})}var ua=null,da=0,fa=0,pa=null;function ma(e,t){if(ua===null){var n=ua=[];da=0,fa=od(),pa={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return da++,t.then(ha,ha),t}function ha(){if(--da===0&&ua!==null){pa!==null&&(pa.status=`fulfilled`);var e=ua;ua=null,fa=0,pa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function ga(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var _a=E.S;E.S=function(e,t){typeof t==`object`&&t&&typeof t.then==`function`&&ma(e,t),_a!==null&&_a(e,t)};var va=pe(null);function ya(){var e=va.current;return e===null?V.pooledCache:e}function ba(e,t){t===null?he(va,va.current):he(va,t.pool)}function xa(){var e=ya();return e===null?null:{parent:P._currentValue,pool:e}}var Sa=Error(i(460)),Ca=Error(i(474)),wa=Error(i(542)),Ta={then:function(){}};function Ea(e){return e=e.status,e===`fulfilled`||e===`rejected`}function Da(){}function Oa(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Da,Da),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,ja(e),e;default:if(typeof t.status==`string`)t.then(Da,Da);else{if(e=V,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,ja(e),e}throw ka=t,Sa}}var ka=null;function Aa(){if(ka===null)throw Error(i(459));var e=ka;return ka=null,e}function ja(e){if(e===Sa||e===wa)throw Error(i(483))}var Ma=!1;function Na(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Pa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Fa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ia(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Nl&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=mi(e),pi(e,null,n),t}return ui(e,r,t,n),mi(e)}function La(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,rt(e,n)}}function Ra(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var za=!1;function Ba(){if(za){var e=pa;if(e!==null)throw e}}function Va(e,t,n,r){za=!1;var i=e.updateQueue;Ma=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var p=s.lane&-536870913,m=p!==s.lane;if(m?(U&p)===p:(r&p)===p){p!==0&&p===fa&&(za=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;p=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,p);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,p=typeof h==`function`?h.call(_,d,p):h,p==null)break a;d=f({},d,p);break a;case 2:Ma=!0}}p=s.callback,p!==null&&(e.flags|=64,m&&(e.flags|=8192),m=i.callbacks,m===null?i.callbacks=[p]:m.push(p))}else m={lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=m,c=d):u=u.next=m,o|=p;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;m=s,s=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Vl|=o,e.lanes=o,e.memoizedState=d}}function Ha(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Ua(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Ha(n[e],t)}var Wa=pe(null),Ga=pe(0);function Ka(e,t){e=zl,he(Ga,e),he(Wa,t),zl=e|t.baseLanes}function qa(){he(Ga,zl),he(Wa,Wa.current)}function Ja(){zl=Ga.current,me(Wa),me(Ga)}var Ya=0,F=null,Xa=null,Za=null,Qa=!1,$a=!1,eo=!1,to=0,no=0,ro=null,io=0;function ao(){throw Error(i(321))}function oo(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!jr(e[n],t[n]))return!1;return!0}function so(e,t,n,r,i,a){return Ya=a,F=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,E.H=e===null||e.memoizedState===null?Cs:ws,eo=!1,a=n(r,i),eo=!1,$a&&(a=lo(t,n,r,i)),co(e),a}function co(e){E.H=Ss;var t=Xa!==null&&Xa.next!==null;if(Ya=0,Za=Xa=F=null,Qa=!1,no=0,ro=null,t)throw Error(i(300));e===null||ac||(e=e.dependencies,e!==null&&ea(e)&&(ac=!0))}function lo(e,t,n,r){F=e;var a=0;do{if($a&&(ro=null),no=0,$a=!1,25<=a)throw Error(i(301));if(a+=1,Za=Xa=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}E.H=Ts,o=t(n,r)}while($a);return o}function uo(){var e=E.H,t=e.useState()[0];return t=typeof t.then==`function`?vo(t):t,e=e.useState()[0],(Xa===null?null:Xa.memoizedState)!==e&&(F.flags|=1024),t}function fo(){var e=to!==0;return to=0,e}function po(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function mo(e){if(Qa){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Qa=!1}Ya=0,Za=Xa=F=null,$a=!1,no=to=0,ro=null}function ho(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Za===null?F.memoizedState=Za=e:Za=Za.next=e,Za}function go(){if(Xa===null){var e=F.alternate;e=e===null?null:e.memoizedState}else e=Xa.next;var t=Za===null?F.memoizedState:Za.next;if(t!==null)Za=t,Xa=e;else{if(e===null)throw F.alternate===null?Error(i(467)):Error(i(310));Xa=e,e={memoizedState:Xa.memoizedState,baseState:Xa.baseState,baseQueue:Xa.baseQueue,queue:Xa.queue,next:null},Za===null?F.memoizedState=Za=e:Za=Za.next=e}return Za}function _o(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function vo(e){var t=no;return no+=1,ro===null&&(ro=[]),e=Oa(ro,e,t),t=F,(Za===null?t.memoizedState:Za.next)===null&&(t=t.alternate,E.H=t===null||t.memoizedState===null?Cs:ws),e}function yo(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return vo(e);if(e.$$typeof===C)return na(e)}throw Error(i(438,String(e)))}function bo(e){var t=null,n=F.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=F.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??(t={data:[],index:0}),n===null&&(n=_o(),F.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=ae;return t.index++,n}function xo(e,t){return typeof t==`function`?t(e):t}function I(e){return So(go(),Xa,e)}function So(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(Ya&f)===f:(U&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===fa&&(d=!0);else if((Ya&p)===p){u=u.next,p===fa&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,F.lanes|=p,Vl|=p;f=u.action,eo&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,F.lanes|=f,Vl|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!jr(o,e.memoizedState)&&(ac=!0,d&&(n=pa,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Co(e){var t=go(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);jr(o,t.memoizedState)||(ac=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function wo(e,t,n){var r=F,a=go(),o=N;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!jr((Xa||a).memoizedState,n);if(s&&(a.memoizedState=n,ac=!0),a=a.queue,Jo(2048,8,Do.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||Za!==null&&Za.memoizedState.tag&1){if(r.flags|=2048,Wo(9,Go(),Eo.bind(null,r,a,n,t),null),V===null)throw Error(i(349));o||Ya&124||To(r,t,n)}return n}function To(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=F.updateQueue,t===null?(t=_o(),F.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Eo(e,t,n,r){t.value=n,t.getSnapshot=r,Oo(t)&&ko(e)}function Do(e,t,n){return n(function(){Oo(t)&&ko(e)})}function Oo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!jr(e,n)}catch{return!0}}function ko(e){var t=fi(e,2);t!==null&&uu(t,e,2)}function Ao(e){var t=ho();if(typeof e==`function`){var n=e;if(e=n(),eo){Be(!0);try{n()}finally{Be(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:xo,lastRenderedState:e},t}function jo(e,t,n,r){return e.baseState=n,So(e,Xa,typeof r==`function`?r:xo)}function Mo(e,t,n,r,a){if(ys(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};E.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,No(t,o)):(o.next=n.next,t.pending=n.next=o)}}function No(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=E.T,o={};
vendor: 2,697 bytes, line 8
8E.T=o;try{var s=n(i,r),c=E.S;c!==null&&c(o,s),Po(e,t,s)}catch(n){Io(e,t,n)}finally{E.T=a}}else try{a=n(i,r),Po(e,t,a)}catch(n){Io(e,t,n)}}function Po(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){Fo(e,t,n)},function(n){return Io(e,t,n)}):Fo(e,t,n)}function Fo(e,t,n){t.status=`fulfilled`,t.value=n,Lo(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,No(e,n)))}function Io(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,Lo(t),t=t.next;while(t!==r)}e.action=null}function Lo(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Ro(e,t){return t}function zo(e,t){if(N){var n=V.formState;if(n!==null){a:{var r=F;if(N){if(Fi){b:{for(var i=Fi,a=Li;i.nodeType!==8;){if(!a){i=null;break b}if(i=Qd(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){Fi=Qd(i.nextSibling),r=i.data===`F!`;break a}}zi(r)}r=!1}r&&(t=n[0])}}return n=ho(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ro,lastRenderedState:t},n.queue=r,n=gs.bind(null,F,r),r.dispatch=n,r=Ao(!1),a=vs.bind(null,F,!1,r.queue),r=ho(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Mo.bind(null,F,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function Bo(e){return Vo(go(),Xa,e)}function Vo(e,t,n){if(t=So(e,t,Ro)[0],e=I(xo)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=vo(t)}catch(e){throw e===Sa?wa:e}else r=t;t=go();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(F.flags|=2048,Wo(9,Go(),Ho.bind(null,i,n),null)),[r,a,e]}function Ho(e,t){e.action=t}function Uo(e){var t=go(),n=Xa;if(n!==null)return Vo(t,n,e);go(),t=t.memoizedState,n=go();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function Wo(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=F.updateQueue,t===null&&(t=_o(),F.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Go(){return{destroy:void 0,resource:void 0}}function Ko(){return go().memoizedState}function qo(e,t,n,r){var i=ho();r=r===void 0?null:r,F.flags|=e,i.memoizedState=Wo(1|t,Go(),n,r)}function Jo(e,t,n,r){var i=go();r=r===void 0?null:r;var a=i.memoizedState.inst;Xa!==null&&r!==null&&oo(r,Xa.memoizedState.deps)?i.memoizedState=Wo(t,a,n,r):(F.flags|=e,i.memoizedState=Wo(1|t,a,n,r))}function Yo(e,t){qo(8390656,8,e,t)}function Xo(e,t){Jo(2048,8,e,t)}function Zo(e,t){return Jo(4,2,e,t)}function Qo(e,t){return Jo(4,4,e,t)}function $o(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}
vendor: 19,628 bytes, line 8
8function es(e,t,n){n=n==null?null:n.concat([e]),Jo(4,4,$o.bind(null,t,e),n)}function ts(){}function ns(e,t){var n=go();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&oo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function rs(e,t){var n=go();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&oo(t,r[1]))return r[0];if(r=e(),eo){Be(!0);try{e()}finally{Be(!1)}}return n.memoizedState=[r,t],r}function is(e,t,n){return n===void 0||Ya&1073741824?e.memoizedState=t:(e.memoizedState=n,e=lu(),F.lanes|=e,Vl|=e,n)}function as(e,t,n,r){return jr(n,t)?n:Wa.current===null?Ya&42?(e=lu(),F.lanes|=e,Vl|=e,t):(ac=!0,e.memoizedState=n):(e=is(e,n,r),jr(e,t)||(ac=!0),e)}function os(e,t,n,r,i){var a=D.p;D.p=a!==0&&8>a?a:8;var o=E.T,s={};E.T=s,vs(e,!1,t,n);try{var c=i(),l=E.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?_s(e,t,ga(c,r),cu(e)):_s(e,t,r,cu(e))}catch(n){_s(e,t,{then:function(){},status:`rejected`,reason:n},cu())}finally{D.p=a,E.T=o}}function ss(){}function cs(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=ls(e).queue;os(e,a,t,ue,n===null?ss:function(){return us(e),n(r)})}function ls(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ue,baseState:ue,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:xo,lastRenderedState:ue},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:xo,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function us(e){var t=ls(e).next.queue;_s(e,t,{},cu())}function ds(){return na(Hf)}function fs(){return go().memoizedState}function ps(){return go().memoizedState}function ms(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=cu();e=Fa(n);var r=Ia(t,e,n);r!==null&&(uu(r,t,n),La(r,t,n)),t={cache:ca()},e.payload=t;return}t=t.return}}function hs(e,t,n){var r=cu();n={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},ys(e)?bs(t,n):(n=di(e,t,n,r),n!==null&&(uu(n,e,r),xs(n,t,r)))}function gs(e,t,n){_s(e,t,n,cu())}function _s(e,t,n,r){var i={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(ys(e))bs(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,jr(s,o))return ui(e,t,i,0),V===null&&li(),!1}catch{}if(n=di(e,t,i,r),n!==null)return uu(n,e,r),xs(n,t,r),!0}return!1}function vs(e,t,n,r){if(r={lane:2,revertLane:od(),action:r,hasEagerState:!1,eagerState:null,next:null},ys(e)){if(t)throw Error(i(479))}else t=di(e,n,r,2),t!==null&&uu(t,e,2)}function ys(e){var t=e.alternate;return e===F||t!==null&&t===F}function bs(e,t){$a=Qa=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function xs(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,rt(e,n)}}var Ss={readContext:na,use:yo,useCallback:ao,useContext:ao,useEffect:ao,useImperativeHandle:ao,useLayoutEffect:ao,useInsertionEffect:ao,useMemo:ao,useReducer:ao,useRef:ao,useState:ao,useDebugValue:ao,useDeferredValue:ao,useTransition:ao,useSyncExternalStore:ao,useId:ao,useHostTransitionStatus:ao,useFormState:ao,useActionState:ao,useOptimistic:ao,useMemoCache:ao,useCacheRefresh:ao},Cs={readContext:na,use:yo,useCallback:function(e,t){return ho().memoizedState=[e,t===void 0?null:t],e},useContext:na,useEffect:Yo,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),qo(4194308,4,$o.bind(null,t,e),n)},useLayoutEffect:function(e,t){return qo(4194308,4,e,t)},useInsertionEffect:function(e,t){qo(4,2,e,t)},useMemo:function(e,t){var n=ho();t=t===void 0?null:t;var r=e();if(eo){Be(!0);try{e()}finally{Be(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=ho();if(n!==void 0){var i=n(t);if(eo){Be(!0);try{n(t)}finally{Be(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=hs.bind(null,F,e),[r.memoizedState,e]},useRef:function(e){var t=ho();return e={current:e},t.memoizedState=e},useState:function(e){e=Ao(e);var t=e.queue,n=gs.bind(null,F,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:ts,useDeferredValue:function(e,t){return is(ho(),e,t)},useTransition:function(){var e=Ao(!1);return e=os.bind(null,F,e.queue,!0,!1),ho().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=F,a=ho();if(N){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),V===null)throw Error(i(349));U&124||To(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,Yo(Do.bind(null,r,o,e),[e]),r.flags|=2048,Wo(9,Go(),Eo.bind(null,r,o,n,t),null),n},useId:function(){var e=ho(),t=V.identifierPrefix;if(N){var n=ki,r=Oi;n=(r&~(1<<32-Ve(r)-1)).toString(32)+n,t=`«`+t+`R`+n,n=to++,0<n&&(t+=`H`+n.toString(32)),t+=`»`}else n=io++,t=`«`+t+`r`+n.toString(32)+`»`;return e.memoizedState=t},useHostTransitionStatus:ds,useFormState:zo,useActionState:zo,useOptimistic:function(e){var t=ho();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=vs.bind(null,F,!0,n),n.dispatch=t,[e,t]},useMemoCache:bo,useCacheRefresh:function(){return ho().memoizedState=ms.bind(null,F)}},ws={readContext:na,use:yo,useCallback:ns,useContext:na,useEffect:Xo,useImperativeHandle:es,useInsertionEffect:Zo,useLayoutEffect:Qo,useMemo:rs,useReducer:I,useRef:Ko,useState:function(){return I(xo)},useDebugValue:ts,useDeferredValue:function(e,t){return as(go(),Xa.memoizedState,e,t)},useTransition:function(){var e=I(xo)[0],t=go().memoizedState;return[typeof e==`boolean`?e:vo(e),t]},useSyncExternalStore:wo,useId:fs,useHostTransitionStatus:ds,useFormState:Bo,useActionState:Bo,useOptimistic:function(e,t){return jo(go(),Xa,e,t)},useMemoCache:bo,useCacheRefresh:ps},Ts={readContext:na,use:yo,useCallback:ns,useContext:na,useEffect:Xo,useImperativeHandle:es,useInsertionEffect:Zo,useLayoutEffect:Qo,useMemo:rs,useReducer:Co,useRef:Ko,useState:function(){return Co(xo)},useDebugValue:ts,useDeferredValue:function(e,t){var n=go();return Xa===null?is(n,e,t):as(n,Xa.memoizedState,e,t)},useTransition:function(){var e=Co(xo)[0],t=go().memoizedState;return[typeof e==`boolean`?e:vo(e),t]},useSyncExternalStore:wo,useId:fs,useHostTransitionStatus:ds,useFormState:Uo,useActionState:Uo,useOptimistic:function(e,t){var n=go();return Xa===null?(n.baseState=e,[e,n.queue.dispatch]):jo(n,Xa,e,t)},useMemoCache:bo,useCacheRefresh:ps},Es=null,Ds=0;function Os(e){var t=Ds;return Ds+=1,Es===null&&(Es=[]),Oa(Es,e,t)}function ks(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function As(e,t){throw t.$$typeof===m?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function js(e){var t=e._init;return t(e._payload)}function Ms(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=hi(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=yi(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===v?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===ie&&js(i)===t.type)?(t=a(t,n.props),ks(t,n),t.return=e,t):(t=_i(n.type,n.key,n.props,null,e.mode,r),ks(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=bi(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=vi(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=yi(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case g:return n=_i(t.type,t.key,t.props,null,e.mode,n),ks(n,t),n.return=e,n;case _:return t=bi(t,e.mode,n),t.return=e,t;case ie:var r=t._init;return t=r(t._payload),f(e,t,n)}if(le(t)||T(t))return t=vi(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,Os(t),n);if(t.$$typeof===C)return f(e,ra(e,t),n);As(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case g:return n.key===i?l(e,t,n,r):null;case _:return n.key===i?u(e,t,n,r):null;case ie:return i=n._init,n=i(n._payload),p(e,t,n,r)}if(le(n)||T(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,Os(n),r);if(n.$$typeof===C)return p(e,t,ra(e,n),r);As(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case g:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case _:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case ie:var a=r._init;return r=a(r._payload),m(e,t,n,r,i)}if(le(r)||T(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,Os(r),i);if(r.$$typeof===C)return m(e,t,n,ra(t,r),i);As(t,r)}return null}function h(i,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),N&&Ai(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return N&&Ai(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),N&&Ai(i,h),l}function y(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),N&&Ai(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return N&&Ai(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),N&&Ai(a,g),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===v&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case g:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===v){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===ie&&js(l)===r.type){n(e,r.sibling),c=a(r,o.props),ks(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===v?(c=vi(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=_i(o.type,o.key,o.props,null,e.mode,c),ks(c,o),c.return=e,e=c)}return s(e);case _:a:{for(l=o.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}else{n(e,r);break}else t(e,r);r=r.sibling}c=bi(o,e.mode,c),c.return=e,e=c}return s(e);case ie:return l=o._init,o=l(o._payload),b(e,r,o,c)}if(le(o))return h(e,r,o,c);if(T(o)){if(l=T(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),y(e,r,o,c)}if(typeof o.then==`function`)return b(e,r,Os(o),c);if(o.$$typeof===C)return b(e,r,ra(e,o),c);As(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=yi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Ds=0;var i=b(e,t,n,r);return Es=null,i}catch(t){if(t===Sa||t===wa)throw t;var a=j(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Ns=Ms(!0),Ps=Ms(!1),Fs=pe(null),Is=null;function Ls(e){var t=e.alternate;he(Vs,Vs.current&1),he(Fs,e),Is===null&&(t===null||Wa.current!==null||t.memoizedState!==null)&&(Is=e)}function Rs(e){if(e.tag===22){if(he(Vs,Vs.current),he(Fs,e),Is===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(Is=e)}}else zs(e)}function zs(){he(Vs,Vs.current),he(Fs,Fs.current)}function Bs(e){me(Fs),Is===e&&(Is=null),me(Vs)}var Vs=pe(0);function Hs(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data===`$?`||Xd(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Us(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:f({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ws={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=cu(),i=Fa(r);i.payload=t,n!=null&&(i.callback=n),t=Ia(e,i,r),t!==null&&(uu(t,e,r),La(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=cu(),i=Fa(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Ia(e,i,r),t!==null&&(uu(t,e,r),La(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=cu(),r=Fa(n);r.tag=2,t!=null&&(r.callback=t),t=Ia(e,r,n),t!==null&&(uu(t,e,n),La(t,e,n))}};function Gs(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Mr(n,r)||!Mr(i,a):!0}function Ks(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ws.enqueueReplaceState(t,t.state,null)}function qs(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=f({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}var Js=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)};function Ys(e){Js(e)}function Xs(e){console.error(e)}function Zs(e){Js(e)}function Qs(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function $s(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function ec(e,t,n){return n=Fa(n),n.tag=3,n.payload={element:null},n.callback=function(){Qs(e,t)},n}function tc(e){return e=Fa(e),e.tag=3,e}function nc(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){$s(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){$s(t,n,r),typeof i!=`function`&&(Ql===null?Ql=new Set([this]):Ql.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function rc(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&$i(t,n,a,!0),n=Fs.current,n!==null){switch(n.tag){case 13:return Is===null?xu():n.alternate===null&&Bl===0&&(Bl=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===Ta?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Bu(e,r,a)),!1;case 22:return n.flags|=65536,r===Ta?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),Bu(e,r,a)),!1}throw Error(i(435,n.tag))}return Bu(e,r,a),xu(),!1}if(N)return t=Fs.current,t===null?(r!==Ri&&(t=Error(i(423),{cause:r}),Gi(ai(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=ai(r,n),a=ec(e.stateNode,r,a),Ra(e,a),Bl!==4&&(Bl=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==Ri&&(e=Error(i(422),{cause:r}),Gi(ai(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=ai(o,n),Kl===null?Kl=[o]:Kl.push(o),Bl!==4&&(Bl=2),t===null)return!0;r=ai(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=ec(n.stateNode,r,e),Ra(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(Ql===null||!Ql.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=tc(a),nc(a,e,n,r),Ra(n,a),!1}n=n.return}while(n!==null);return!1}var ic=Error(i(461)),ac=!1;function oc(e,t,n,r){t.child=e===null?Ps(t,null,n,r):Ns(t,e.child,n,r)}function sc(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return ta(t),r=so(e,t,n,o,a,i),s=fo(),e!==null&&!ac?(po(e,t,i),Tc(e,t,i)):(N&&s&&Mi(t),t.flags|=1,oc(e,t,r,i),t.child)}function L(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!M(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,R(e,t,a,r,i)):(e=_i(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Ec(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Mr:n,n(o,r)&&e.ref===t.ref)return Tc(e,t,i)}return t.flags|=1,e=hi(a,r),e.ref=t.ref,e.return=t,t.child=e}function R(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Mr(a,r)&&e.ref===t.ref)if(ac=!1,t.pendingProps=r=a,Ec(e,i))e.flags&131072&&(ac=!0);else return t.lanes=e.lanes,Tc(e,t,i)}return dc(e,t,n,r,i)}function cc(e,t,n){var r=t.pendingProps,i=r.children,a=e===null?null:e.memoizedState;if(r.mode===`hidden`){if(t.flags&128){if(r=a===null?n:a.baseLanes|n,e!==null){for(i=t.child=e.child,a=0;i!==null;)a=a|i.lanes|i.childLanes,i=i.sibling;t.childLanes=a&~r}else t.childLanes=0,t.child=null;return lc(e,t,r,n)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&ba(t,a===null?null:a.cachePool),a===null?qa():Ka(t,a),Rs(t);else return t.lanes=t.childLanes=536870912,lc(e,t,a===null?n:a.baseLanes|n,n)}else a===null?(e!==null&&ba(t,null),qa(),zs(t)):(ba(t,a.cachePool),Ka(t,a),zs(t),t.memoizedState=null);return oc(e,t,i,n),t.child}function lc(e,t,n,r){var i=ya();return i=i===null?null:{parent:P._currentValue,pool:i},t.memoizedState={baseLanes:n,cachePool:i},e!==null&&ba(t,null),qa(),Rs(t),e!==null&&$i(e,t,r,!0),null}function uc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function dc(e,t,n,r,i){return ta(t),n=so(e,t,n,r,void 0,i),r=fo(),e!==null&&!ac?(po(e,t,i),Tc(e,t,i)):(N&&r&&Mi(t),t.flags|=1,oc(e,t,n,i),t.child)}function fc(e,t,n,r,i,a){return ta(t),t.updateQueue=null,n=lo(t,r,n,i),c
8o(e),r=fo(),e!==null&&!ac?(po(e,t,a),Tc(e,t,a)):(N&&r&&Mi(t),t.flags|=1,oc(e,t,n,a),t.child)}function pc(e,t,n,r,i){if(ta(t),t.stateNode===null){var a=k,o=n.contextType;typeof o==`object`&&o&&(a=na(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Ws,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Na(t),o=n.contextType,a.context=typeof o==`object`&&o?na(o):k,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Us(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&Ws.enqueueReplaceState(a,a.state,null),Va(t,r,a,i),Ba(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=qs(n,s);a.props=c;var l=a.context,u=n.contextType;o=k,typeof u==`object`&&u&&(o=na(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&Ks(t,a,r,o),Ma=!1;var f=t.memoizedState;a.state=f,Va(t,r,a,i),Ba(),l=t.memoizedState,s||f!==l||Ma?(typeof d==`function`&&(Us(t,n,d,r),l=t.memoizedState),(c=Ma||Gs(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Pa(e,t),o=t.memoizedProps,u=qs(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=k,typeof l==`object`&&l&&(c=na(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&Ks(t,a,r,c),Ma=!1,f=t.memoizedState,a.state=f,Va(t,r,a,i),Ba();var p=t.memoizedState;o!==d||f!==p||Ma||e!==null&&e.dependencies!==null&&ea(e.dependencies)?(typeof s==`function`&&(Us(t,n,s,r),p=t.memoizedState),(u=Ma||Gs(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&ea(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,uc(e,t),r=(t.flags&128)!=0,a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=Ns(t,e.child,null,i),t.child=Ns(t,null,n,i)):oc(e,t,n,i),t.memoizedState=a.state,e=t.child):e=Tc(e,t,i),e}function mc(e,t,n,r){return Ui(),t.flags|=256,oc(e,t,n,r),t.child}var hc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function gc(e){return{baseLanes:e,cachePool:xa()}}function _c(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=Wl),e}function vc(e,t,n){var r=t.pendingProps,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(Vs.current&2)!=0),s&&(a=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(N){if(a?Ls(t):zs(t),N){var c=Fi,l;if(l=c){c:{for(l=c,c=Li;l.nodeType!==8;){if(!c){c=null;break c}if(l=Qd(l.nextSibling),l===null){c=null;break c}}c=l}c===null?l=!1:(t.memoizedState={dehydrated:c,treeContext:Di===null?null:{id:Oi,overflow:ki},retryLane:536870912,hydrationErrors:null},l=j(18,null,null,0),l.stateNode=c,l.return=t,t.child=l,Pi=t,Fi=null,l=!0)}l||zi(t)}if(c=t.memoizedState,c!==null&&(c=c.dehydrated,c!==null))return Xd(c)?t.lanes=32:t.lanes=536870912,null;Bs(t)}return c=r.children,r=r.fallback,a?(zs(t),a=t.mode,c=bc({mode:`hidden`,children:c},a),r=vi(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,a=t.child,a.memoizedState=gc(n),a.childLanes=_c(e,s,n),t.memoizedState=hc,r):(Ls(t),yc(t,c))}if(l=e.memoizedState,l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(Ls(t),t.flags&=-257,t=xc(e,t,n)):t.memoizedState===null?(zs(t),a=r.fallback,
8c=t.mode,r=bc({mode:`visible`,children:r.children},c),a=vi(a,c,n,null),a.flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,Ns(t,e.child,null,n),r=t.child,r.memoizedState=gc(n),r.childLanes=_c(e,s,n),t.memoizedState=hc,t=a):(zs(t),t.child=e.child,t.flags|=128,t=null);else if(Ls(t),Xd(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,Gi({value:r,source:null,stack:null}),t=xc(e,t,n)}else if(ac||$i(e,t,n,!1),s=(n&e.childLanes)!==0,ac||s){if(s=V,s!==null&&(r=n&-n,r=r&42?1:it(r),r=(r&(s.suspendedLanes|n))===0?r:0,r!==0&&r!==l.retryLane))throw l.retryLane=r,fi(e,r),uu(s,e,r),ic;c.data===`$?`||xu(),t=xc(e,t,n)}else c.data===`$?`?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,Fi=Qd(c.nextSibling),Pi=t,N=!0,Ii=null,Li=!1,e!==null&&(Ti[Ei++]=Oi,Ti[Ei++]=ki,Ti[Ei++]=Di,Oi=e.id,ki=e.overflow,Di=t),t=yc(t,r.children),t.flags|=4096);return t}return a?(zs(t),a=r.fallback,c=t.mode,l=e.child,u=l.sibling,r=hi(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(a=vi(a,c,n,null),a.flags|=2):a=hi(u,a),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,c=e.child.memoizedState,c===null?c=gc(n):(l=c.cachePool,l===null?l=xa():(u=P._currentValue,l=l.parent===u?l:{parent:u,pool:u}),c={baseLanes:c.baseLanes|n,cachePool:l}),a.memoizedState=c,a.childLanes=_c(e,s,n),t.memoizedState=hc,r):(Ls(t),n=e.child,e=n.sibling,n=hi(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function yc(e,t){return t=bc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function bc(e,t){return e=j(22,e,null,t),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function xc(e,t,n){return Ns(t,e.child,null,n),e=yc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Sc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Zi(e.return,t,n)}function Cc(e,t,n,r,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function wc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(oc(e,t,r.children,n),r=Vs.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Sc(e,n,t);else if(e.tag===19)Sc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}switch(he(Vs,r),i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Hs(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Cc(t,!1,i,n,a);break;case`backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Hs(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Cc(t,!0,n,null,a);break;case`together`:Cc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Tc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Vl|=t.lanes,(n&t.childLanes)===0)if(e!==null){if($i(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=hi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=hi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Ec(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&ea(e))):!0}function Dc(e,t,n){switch(t.tag){case 3:be(t,t.stateNode.containerInfo),Yi(t,P,e.memoizedState.cache),Ui();break;case 27:case 5:Se(t);break;case 4:be(t,t.stateNode.containerInfo);break;case 10:Yi(t,t.type,t.memoizedProps.value);break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(Ls(t),e=Tc(e,t,n),e===null?null:e.sibling):vc(e,t,n):(Ls(t),t.flags|=128,null);Ls(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||($i(e,t,n,!1),r=(n&t.childLanes)!==0),i){if(r)return wc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),he(Vs,Vs.current),r)break;return null;case 22:case 23:return t.lanes=0,cc(e,t,n);case 24:Yi(t,P,e.memoizedState.cache)}return Tc(e,t,n)}
vendor: 4,912 bytes, line 8
8function Oc(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)ac=!0;else{if(!Ec(e,n)&&!(t.flags&128))return ac=!1,Dc(e,t,n);ac=!!(e.flags&131072)}else ac=!1,N&&t.flags&1048576&&ji(t,wi,t.index);switch(t.lanes=0,t.tag){case 16:a:{e=t.pendingProps;var r=t.elementType,a=r._init;if(r=a(r._payload),t.type=r,typeof r==`function`)M(r)?(e=qs(r,e),t.tag=1,t=pc(null,t,r,e,n)):(t.tag=0,t=dc(null,t,r,e,n));else{if(r!=null){if(a=r.$$typeof,a===ee){t.tag=11,t=sc(null,t,r,e,n);break a}else if(a===re){t.tag=14,t=L(null,t,r,e,n);break a}}throw t=ce(r)||r,Error(i(306,t,``))}}return t;case 0:return dc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=qs(r,t.pendingProps),pc(e,t,r,a,n);case 3:a:{if(be(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,Pa(e,t),Va(t,r,null,n);var s=t.memoizedState;if(r=s.cache,Yi(t,P,r),r!==o.cache&&Qi(t,[P],n,!0),Ba(),r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=mc(e,t,r,n);break a}else if(r!==a){a=ai(Error(i(424)),t),Gi(a),t=mc(e,t,r,n);break a}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(Fi=Qd(e.firstChild),Pi=t,N=!0,Ii=null,Li=!0,n=Ps(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Ui(),r===a){t=Tc(e,t,n);break a}oc(e,t,r,n)}t=t.child}return t;case 26:return uc(e,t),e===null?(n=yf(t.type,null,t.pendingProps,null))?t.memoizedState=n:N||(n=t.type,e=t.pendingProps,r=Fd(ve.current).createElement(n),r[lt]=t,r[ut]=e,jd(r,n,e),St(r),t.stateNode=r):t.memoizedState=yf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Se(t),e===null&&N&&(r=t.stateNode=tf(t.type,t.pendingProps,ve.current),Pi=t,Li=!0,a=Fi,Gd(t.type)?($d=a,Fi=Qd(r.firstChild)):Fi=a),oc(e,t,t.pendingProps.children,n),uc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&N&&((a=r=Fi)&&(r=Jd(r,t.type,t.pendingProps,Li),r===null?a=!1:(t.stateNode=r,Pi=t,Fi=Qd(r.firstChild),Li=!1,a=!0)),a||zi(t)),Se(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Ld(a,o)?r=null:s!==null&&Ld(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=so(e,t,uo,null,null,n),Hf._currentValue=a),uc(e,t),oc(e,t,r,n),t.child;case 6:return e===null&&N&&((e=n=Fi)&&(n=Yd(n,t.pendingProps,Li),n===null?e=!1:(t.stateNode=n,Pi=t,Fi=null,e=!0)),e||zi(t)),null;case 13:return vc(e,t,n);case 4:return be(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ns(t,null,r,n):oc(e,t,r,n),t.child;case 11:return sc(e,t,t.type,t.pendingProps,n);case 7:return oc(e,t,t.pendingProps,n),t.child;case 8:return oc(e,t,t.pendingProps.children,n),t.child;case 12:return oc(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,Yi(t,t.type,r.value),oc(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,ta(t),a=na(a),r=r(a),t.flags|=1,oc(e,t,r,n),t.child;case 14:return L(e,t,t.type,t.pendingProps,n);case 15:return R(e,t,t.type,t.pendingProps,n);case 19:return wc(e,t,n);case 31:return r=t.pendingProps,n=t.mode,r={mode:r.mode,children:r.children},e===null?(n=bc(r,n),n.ref=t.ref,t.child=n,n.return=t,t=n):(n=hi(e.child,r),n.ref=t.ref,t.child=n,n.return=t,t=n),t;case 22:return cc(e,t,n);case 24:return ta(t),r=na(P),e===null?(a=ya(),a===null&&(a=V,o=ca(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},Na(t),Yi(t,P,a)):((e.lanes&n)!==0&&(Pa(e,t),Va(t,null,null,n),Ba()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,Yi(t,P,r),r!==a.cache&&Qi(t,[P],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),Yi(t,P,r))),oc(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function kc(e){e.flags|=4}function Ac(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Nf(t)){if(t=Fs.current,t!==null&&((U&4194048)===U?Is!==null:(U&62914560)!==U&&!(U&536870912)||t!==Is))throw ka=Ta,Ca;e.flags|=8192}}function jc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:Qe(),e.lanes|=t,Gl|=t)}function Mc(e,t){if(!N)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Nc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}
8function Pc(e,t,n){var r=t.pendingProps;switch(Ni(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Nc(t),null;case 1:return Nc(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Xi(P),xe(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Hi(t)?kc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Wi())),Nc(t),null;case 26:return n=t.memoizedState,e===null?(kc(t),n===null?(Nc(t),t.flags&=-16777217):(Nc(t),Ac(t,n))):n?n===e.memoizedState?(Nc(t),t.flags&=-16777217):(kc(t),Nc(t),Ac(t,n)):(e.memoizedProps!==r&&kc(t),Nc(t),t.flags&=-16777217),null;case 27:Ce(t),n=ve.current;var a=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==r&&kc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Nc(t),null}e=ge.current,Hi(t)?Bi(t,e):(e=tf(a,r,n),t.stateNode=e,kc(t))}return Nc(t),null;case 5:if(Ce(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&kc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Nc(t),null}if(e=ge.current,Hi(t))Bi(t,e);else{switch(a=Fd(ve.current),e){case 1:e=a.createElementNS(`http://www.w3.org/2000/svg`,n);break;case 2:e=a.createElementNS(`http://www.w3.org/1998/Math/MathML`,n);break;default:switch(n){case`svg`:e=a.createElementNS(`http://www.w3.org/2000/svg`,n);break;case`math`:e=a.createElementNS(`http://www.w3.org/1998/Math/MathML`,n);break;case`script`:e=a.createElement(`div`),e.innerHTML=`<script><\/script>`,e=e.removeChild(e.firstChild);break;case`select`:e=typeof r.is==`string`?a.createElement(`select`,{is:r.is}):a.createElement(`select`),r.multiple?e.multiple=!0:r.size&&(e.size=r.size);break;default:e=typeof r.is==`string`?a.createElement(n,{is:r.is}):a.createElement(n)}}e[lt]=t,e[ut]=r;a:for(a=t.child;a!==null;){if(a.tag===5||a.tag===6)e.appendChild(a.stateNode);else if(a.tag!==4&&a.tag!==27&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===t)break a;for(;a.sibling===null;){if(a.return===null||a.return===t)break a;a=a.return}a.sibling.return=a.return,a=a.sibling}t.stateNode=e;a:switch(jd(e,n,r),n){case`button`:case`input`:case`select`:case`textarea`:e=!!r.autoFocus;break a;case`img`:e=!0;break a;default:e=!1}e&&kc(t)}}return Nc(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&kc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=ve.current,Hi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=Pi,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[lt]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Dd(e.nodeValue,n)),e||zi(t)}else e=Fd(e).createTextNode(r),e[lt]=t,t.stateNode=e}return Nc(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Hi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[lt]=t}else Ui(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Nc(t),a=!1}else a=Wi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(Bs(t),t):(Bs(t),null)}if(Bs(t),t.flags&128)return t.lanes=n,t;if(n=r!==null,e=e!==null&&e.memoizedState!==null,n){r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool);var o=null;r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)}return n!==e&&n&&(t.child.flags|=8192),jc(t,t.updateQueue),Nc(t),null;case 4:return xe(),e===null&&_d(t.stateNode.containerInfo),Nc(t),null;case 10:return Xi(t.type),Nc(t),null;case 19:if(me(Vs),a=t.memoizedState,a===null)return Nc(t),null;if(r=(t.flags&128)!=0,o=a.rendering,o===null)if(r)Mc(a,!1);else{if(Bl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Hs(e),o!==null){for(t.flags|=128,Mc(a,!1),e=o.updateQueue,t.updateQueue=e,jc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)gi(n,e),n=n.sibling;return he(Vs,Vs.current&1|2),t.child}e=e.sibling}a.tail!==null&&ke()>Xl&&(t.flags|=128,r=!0,Mc(a,!1),t.lanes=4194304)}else{if(!r)if(e=Hs(o),e!==null){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,jc(t,e),Mc(a,!0),a.tail===null&&a.tailMode===`hidden`&&!o.alternate&&!N)return Nc(t),null}else 2*ke()-a.renderingStartTime>Xl&&n!==536870912&&(t.flags|=128,r=!0,Mc(a,!1),t.lanes=4194304);a.isBackwards?(o.sibling=t.child,t.child=o):(e=a.last,e===null?t.child=o:e.sibling=o,a.last=o)}return a.tail===null?(Nc(t),null):(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=ke(),t.sibling=null,e=Vs.current,he(Vs,r?e&1|2:e&1),t);case 22:case 23:return Bs(t),Ja(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Nc(t),t.subtreeFlags&6&&(t.flags|=8192)):Nc(t),n=t.updateQueue,n!==null&&jc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&me(va),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Xi(P),Nc(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Fc(e,t){switch(Ni(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;
vendor: 5,495 bytes, line 8
8case 3:return Xi(P),xe(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ce(t),null;case 13:if(Bs(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Ui()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return me(Vs),null;case 4:return xe(),null;case 10:return Xi(t.type),null;case 22:case 23:return Bs(t),Ja(),e!==null&&me(va),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Xi(P),null;case 25:return null;default:return null}}function Ic(e,t){switch(Ni(t),t.tag){case 3:Xi(P),xe();break;case 26:case 27:case 5:Ce(t);break;case 4:xe();break;case 13:Bs(t);break;case 19:me(Vs);break;case 10:Xi(t.type);break;case 22:case 23:Bs(t),Ja(),e!==null&&me(va);break;case 24:Xi(P)}}function Lc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){zu(t,t.return,e)}}function z(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){zu(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){zu(t,t.return,e)}}function Rc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Ua(t,n)}catch(t){zu(e,e.return,t)}}}function zc(e,t,n){n.props=qs(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){zu(e,t,n)}}function Bc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){zu(e,t,n)}}function Vc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){zu(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){zu(e,t,n)}else n.current=null}function Hc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){zu(e,e.return,t)}}function Uc(e,t,n){try{var r=e.stateNode;Md(r,e.type,n,t),r[ut]=t}catch(t){zu(e,e.return,t)}}function Wc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Gd(e.type)||e.tag===4}function Gc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Wc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Gd(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Kc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Od));else if(r!==4&&(r===27&&Gd(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Kc(e,t,n),e=e.sibling;e!==null;)Kc(e,t,n),e=e.sibling}function qc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&Gd(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(qc(e,t,n),e=e.sibling;e!==null;)qc(e,t,n),e=e.sibling}function Jc(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);jd(t,r,n),t[lt]=e,t[ut]=n}catch(t){zu(e,e.return,t)}}var Yc=!1,Xc=!1,Zc=!1,Qc=typeof WeakSet==`function`?WeakSet:Set,B=null;function $c(e,t){if(e=e.containerInfo,Nd=Xf,e=Fr(e),Ir(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Pd={focusedElem:e,selectionRange:n},Xf=!1,B=t;B!==null;)if(t=B,e=t.child,t.subtreeFlags&1024&&e!==null)e.return=t,B=e;else for(;B!==null;){switch(t=B,o=t.alternate,e=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if(e&1024&&o!==null){e=void 0,n=t,a=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var h=qs(n.type,a,n.elementType===n.type);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){zu(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)qd(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:qd(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(i(163))}if(e=t.sibling,e!==null){e.return=t.return,B=e;break}B=t.return}}function el(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:ml(e,n),r&4&&Lc(5,n);break;case 1:if(ml(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){zu(n,n.return,e)}else{var i=qs(n.type,t.memoizedProps);t=t.memoizedState;
vendor: 5,213 bytes, line 8
8try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){zu(n,n.return,e)}}r&64&&Rc(n),r&512&&Bc(n,n.return);break;case 3:if(ml(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{Ua(e,t)}catch(e){zu(n,n.return,e)}}break;case 27:t===null&&r&4&&Jc(n);case 26:case 5:ml(e,n),t===null&&r&4&&Hc(n),r&512&&Bc(n,n.return);break;case 12:ml(e,n);break;case 13:ml(e,n),r&4&&ol(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Uu.bind(null,n),Zd(e,n))));break;case 22:if(r=n.memoizedState!==null||Yc,!r){t=t!==null&&t.memoizedState!==null||Xc,i=Yc;var a=Xc;Yc=r,(Xc=t)&&!a?gl(e,n,(n.subtreeFlags&8772)!=0):ml(e,n),Yc=i,Xc=a}break;case 30:break;default:ml(e,n)}}function tl(e){var t=e.alternate;t!==null&&(e.alternate=null,tl(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&_t(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var nl=null,rl=!1;function il(e,t,n){for(n=n.child;n!==null;)al(e,t,n),n=n.sibling}function al(e,t,n){if(ze&&typeof ze.onCommitFiberUnmount==`function`)try{ze.onCommitFiberUnmount(Re,n)}catch{}switch(n.tag){case 26:Xc||Vc(n,t),il(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Xc||Vc(n,t);var r=nl,i=rl;Gd(n.type)&&(nl=n.stateNode,rl=!1),il(e,t,n),nf(n.stateNode),nl=r,rl=i;break;case 5:Xc||Vc(n,t);case 6:if(r=nl,i=rl,nl=null,il(e,t,n),nl=r,rl=i,nl!==null)if(rl)try{(nl.nodeType===9?nl.body:nl.nodeName===`HTML`?nl.ownerDocument.body:nl).removeChild(n.stateNode)}catch(e){zu(n,t,e)}else try{nl.removeChild(n.stateNode)}catch(e){zu(n,t,e)}break;case 18:nl!==null&&(rl?(e=nl,Kd(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Sp(e)):Kd(nl,n.stateNode));break;case 4:r=nl,i=rl,nl=n.stateNode.containerInfo,rl=!0,il(e,t,n),nl=r,rl=i;break;case 0:case 11:case 14:case 15:Xc||z(2,n,t),Xc||z(4,n,t),il(e,t,n);break;case 1:Xc||(Vc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&zc(n,t,r)),il(e,t,n);break;case 21:il(e,t,n);break;case 22:Xc=(r=Xc)||n.memoizedState!==null,il(e,t,n),Xc=r;break;default:il(e,t,n)}}function ol(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Sp(e)}catch(e){zu(t,t.return,e)}}function sl(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Qc),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Qc),t;default:throw Error(i(435,e.tag))}}function cl(e,t){var n=sl(e);t.forEach(function(t){var r=Wu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}function ll(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var a=n[r],o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 27:if(Gd(c.type)){nl=c.stateNode,rl=!1;break a}break;case 5:nl=c.stateNode,rl=!1;break a;case 3:case 4:nl=c.stateNode.containerInfo,rl=!0;break a}c=c.return}if(nl===null)throw Error(i(160));al(o,s,a),nl=null,rl=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)dl(t,e),t=t.sibling}var ul=null;function dl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:ll(t,e),fl(e),r&4&&(z(3,e,e.return),Lc(3,e),z(5,e,e.return));break;case 1:ll(t,e),fl(e),r&512&&(Xc||n===null||Vc(n,n.return)),r&64&&Yc&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var a=ul;if(ll(t,e),fl(e),r&512&&(Xc||n===null||Vc(n,n.return)),r&4){var o=n===null?null:n.memoizedState;if(r=e.memoizedState,n===null)if(r===null)if(e.stateNode===null){a:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;b:switch(r){case`title`:o=a.getElementsByTagName(`title`)[0],(!o||o[gt]||o[lt]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector(`head > title`))),jd(o,r,n),o[lt]=e,St(o),r=o;break a;case`link`:var s=Af(`link`,`href`,a).get(r+(n.href||``));if(s){for(var c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&o.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&o.getAttribute(`title`)===(n.title==null?null:n.title)&&o.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(c,1);break b}}o=a.createElement(r),jd(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=Af(`meta`,`content`,a).get(r+(n.content||``))){for(c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`content`)===(n.content==null?null:``+n.content)&&o.getAttribute(`name`)===(n.name==null?null:n.name)&&o.getAttribute(`property`)===(n.property==null?null:n.property)&&o.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){s.splice(c,1);break b}}o=a.createElement(r),jd(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[lt]=e,St(o),r=o}e.stateNode=r}else jf(a,e.type,e.stateNode);else e.stateNode=Ef(a,r,e.memoizedProps);
vendor: 8,508 bytes, line 8
8else o===r?r===null&&e.stateNode!==null&&Uc(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?jf(a,e.type,e.stateNode):Ef(a,r,e.memoizedProps))}break;case 27:ll(t,e),fl(e),r&512&&(Xc||n===null||Vc(n,n.return)),n!==null&&r&4&&Uc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(ll(t,e),fl(e),r&512&&(Xc||n===null||Vc(n,n.return)),e.flags&32){a=e.stateNode;try{tn(a,``)}catch(t){zu(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,Uc(e,a,n===null?a:n.memoizedProps)),r&1024&&(Zc=!0);break;case 6:if(ll(t,e),fl(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){zu(e,e.return,t)}}break;case 3:if(kf=null,a=ul,ul=of(t.containerInfo),ll(t,e),ul=a,fl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Sp(t.containerInfo)}catch(t){zu(e,e.return,t)}Zc&&(Zc=!1,pl(e));break;case 4:r=ul,ul=of(e.stateNode.containerInfo),ll(t,e),fl(e),ul=r;break;case 12:ll(t,e),fl(e);break;case 13:ll(t,e),fl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Yl=ke()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,cl(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=Yc,d=Xc;if(Yc=u||a,Xc=d||l,ll(t,e),Xc=d,Yc=u,fl(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||Yc||Xc||hl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(o=l.stateNode,a)s=o.style,typeof s.setProperty==`function`?s.setProperty(`display`,`none`,`important`):s.display=`none`;else{c=l.stateNode;var f=l.memoizedProps.style,p=f!=null&&f.hasOwnProperty(`display`)?f.display:null;c.style.display=p==null||typeof p==`boolean`?``:(``+p).trim()}}catch(e){zu(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){zu(l,l.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,cl(e,n))));break;case 19:ll(t,e),fl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,cl(e,r)));break;case 30:break;case 21:break;default:ll(t,e),fl(e)}}function fl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Wc(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;qc(e,Gc(e),a);break;case 5:var o=n.stateNode;n.flags&32&&(tn(o,``),n.flags&=-33),qc(e,Gc(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;Kc(e,Gc(e),s);break;default:throw Error(i(161))}}catch(t){zu(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function pl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;pl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ml(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)el(e,t.alternate,t),t=t.sibling}function hl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:z(4,t,t.return),hl(t);break;case 1:Vc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&zc(t,t.return,n),hl(t);break;case 27:nf(t.stateNode);case 26:case 5:Vc(t,t.return),hl(t);break;case 22:t.memoizedState===null&&hl(t);break;case 30:hl(t);break;default:hl(t)}e=e.sibling}}function gl(e,t,n){for(n=n&&(t.subtreeFlags&8772)!=0,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:gl(i,a,n),Lc(4,a);break;case 1:if(gl(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){zu(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var c=i.shared.hiddenCallbacks;if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)Ha(c[i],s)}catch(e){zu(r,r.return,e)}}n&&o&64&&Rc(a),Bc(a,a.return);break;case 27:Jc(a);case 26:case 5:gl(i,a,n),n&&r===null&&o&4&&Hc(a),Bc(a,a.return);break;case 12:gl(i,a,n);break;case 13:gl(i,a,n),n&&o&4&&ol(i,a);break;case 22:a.memoizedState===null&&gl(i,a,n),Bc(a,a.return);break;case 30:break;default:gl(i,a,n)}t=t.sibling}}function _l(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&la(n))}function vl(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&la(e))}function yl(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)bl(e,t,n,r),t=t.sibling}function bl(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:yl(e,t,n,r),i&2048&&Lc(9,t);break;case 1:yl(e,t,n,r);break;case 3:yl(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&la(e)));break;case 12:if(i&2048){yl(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s==`function`&&s(o,t.alternate===null?`mount`:`update`,e.passiveEffectDuration,-0)}catch(e){zu(t,t.return,e)}}else yl(e,t,n,r);break;case 13:yl(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?yl(e,t,n,r):(a._visibility|=2,xl(e,t,n,r,(t.subtreeFlags&10256)!=0)):a._visibility&2?yl(e,t,n,r):Sl(e,t),i&2048&&_l(o,t);break;case 24:yl(e,t,n,r),i&2048&&vl(t.alternate,t);break;default:yl(e,t,n,r)}}function xl(e,t,n,r,i){for(i=i&&(t.subtreeFlags&10256)!=0,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:xl(a,o,s,c,i),Lc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,xl(a,o,s,c,i)):u._visibility&2?xl(a,o,s,c,i):Sl(a,o),i&&l&2048&&_l(o.alternate,o);break;case 24:xl(a,o,s,c,i),i&&l&2048&&vl(o.alternate,o);break;default:xl(a,o,s,c,i)}t=t.sibling}}function Sl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Sl(n,r),i&2048&&_l(r.alternate,r);break;case 24:Sl(n,r),i&2048&&vl(r.alternate,r);break;default:Sl(n,r)}t=t.sibling}}var Cl=8192;function wl(e){if(e.subtreeFlags&Cl)for(e=e.child;e!==null;)Tl(e),e=e.sibling}function Tl(e){switch(e.tag){case 26:wl(e),e.flags&Cl&&e.memoizedState!==null&&If(ul,e.memoizedState,e.memoizedProps);break;case 5:wl(e);break;case 3:case 4:var t=ul;ul=of(e.stateNode.containerInfo),wl(e),ul=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=Cl,Cl=16777216,wl(e),Cl=t):wl(e));break;default:wl(e)}}function El(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Dl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];B=r,Al(r,e)}El(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Ol(e),e=e.sibling}function Ol(e){switch(e.tag){case 0:case 11:case 15:Dl(e),e.flags&2048&&z(9,e,e.return);break;case 3:Dl(e);break;case 12:Dl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,kl(e)):Dl(e);break;default:Dl(e)}}function kl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];B=r,Al(r,e)}El(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:z(8,t,t.return),kl(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,kl(t));break;default:kl(t)}e=e.sibling}}function Al(e,t){for(;B!==null;){var n=B;switch(n.tag){case 0:case 11:case 15:z(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:la(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,B=r;else a:for(n=e;B!==null;){r=B;var i=r.sibling,a=r.return;if(tl(r),r===n){B=null;break a}if(i!==null){i.return=a,B=i;break a}B=a}}}var jl={getCacheForType:function(e){var t=na(P),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n}},Ml=typeof WeakMap==`function`?WeakMap:Map,Nl=0,V=null,H=null,U=0,Pl=0,Fl=null,Il=!1,Ll=!1,Rl=!1,zl=0,Bl=0,Vl=0,Hl=0,Ul=0,Wl=0,Gl=0,Kl=null,ql=null,Jl=!1,Yl=0,Xl=1/0,Zl=null,Ql=null,$l=0,eu=null,tu=null,nu=0,ru=0,iu=null,au=null,ou=0,su=null;function cu(){if(Nl&2&&U!==0)return U&-U;if(E.T!==null){var e=fa;return e===0?od():e}
vendor: 4,225 bytes, line 8
8return ot()}function lu(){Wl===0&&(Wl=!(U&536870912)||N?Ze():536870912);var e=Fs.current;return e!==null&&(e.flags|=32),Wl}function uu(e,t,n){(e===V&&(Pl===2||Pl===9)||e.cancelPendingCommit!==null)&&(_u(e,0),mu(e,U,Wl,!1)),et(e,n),(!(Nl&2)||e!==V)&&(e===V&&(!(Nl&2)&&(Hl|=n),Bl===4&&mu(e,U,Wl,!1)),Qu(e))}function du(e,t,n){if(Nl&6)throw Error(i(327));var r=!n&&(t&124)==0&&(t&e.expiredLanes)===0||Ye(e,t),a=r?wu(e,t):Su(e,t,!0),o=r;do{if(a===0){Ll&&!r&&mu(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!pu(n)){a=Su(e,t,!1),o=!1;continue}if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=Kl;var l=c.current.memoizedState.isDehydrated;if(l&&(_u(c,s).flags|=256),s=Su(c,s,!1),s!==2){if(Rl&&!l){c.errorRecoveryDisabledLanes|=o,Hl|=o,a=4;break a}o=ql,ql=a,o!==null&&(ql===null?ql=o:ql.push.apply(ql,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){_u(e,0),mu(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t)break;case 6:mu(r,t,Wl,!Il);break a;case 2:ql=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=Yl+300-ke(),10<a)){if(mu(r,t,Wl,!Il),Je(r,0,!0)!==0)break a;r.timeoutHandle=Bd(fu.bind(null,r,n,ql,Zl,Jl,t,Wl,Hl,Gl,Il,o,2,-0,0),a);break a}fu(r,n,ql,Zl,Jl,t,Wl,Hl,Gl,Il,o,0,-0,0)}}break}while(1);Qu(e)}function fu(e,t,n,r,i,a,o,s,c,l,u,d,f,p){if(e.timeoutHandle=-1,d=t.subtreeFlags,(d&8192||(d&16785408)==16785408)&&(Pf={stylesheets:null,count:0,unsuspend:Ff},Tl(t),d=Lf(),d!==null)){e.cancelPendingCommit=d(ju.bind(null,e,t,a,n,r,i,o,s,c,u,1,f,p)),mu(e,a,o,!l);return}ju(e,t,a,n,r,i,o,s,c)}function pu(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!jr(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function mu(e,t,n,r){t&=~Ul,t&=~Hl,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Ve(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&nt(e,n,t)}function hu(){return Nl&6?!0:($u(0,!1),!1)}function gu(){if(H!==null){if(Pl===0)var e=H.return;else e=H,Ji=qi=null,mo(e),Es=null,Ds=0,e=H;for(;e!==null;)Ic(e.alternate,e),e=e.return;H=null}}function _u(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,Vd(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),gu(),V=e,H=n=hi(e.current,null),U=t,Pl=0,Fl=null,Il=!1,Ll=Ye(e,t),Rl=!1,Gl=Wl=Ul=Hl=Vl=Bl=0,ql=Kl=null,Jl=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-Ve(r),a=1<<i;t|=e[i],r&=~a}return zl=t,li(),n}function vu(e,t){F=null,E.H=Ss,t===Sa||t===wa?(t=Aa(),Pl=3):t===Ca?(t=Aa(),Pl=4):Pl=t===ic?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Fl=t,H===null&&(Bl=1,Qs(e,ai(t,e.current)))}function yu(){var e=E.H;return E.H=Ss,e===null?Ss:e}function bu(){var e=E.A;return E.A=jl,e}function xu(){Bl=4,Il||(U&4194048)!==U&&Fs.current!==null||(Ll=!0),!(Vl&134217727)&&!(Hl&134217727)||V===null||mu(V,U,Wl,!1)}function Su(e,t,n){var r=Nl;Nl|=2;var i=yu(),a=bu();(V!==e||U!==t)&&(Zl=null,_u(e,t)),t=!1;var o=Bl;a:do try{if(Pl!==0&&H!==null){var s=H,c=Fl;switch(Pl){case 8:gu(),o=6;break a;case 3:case 2:case 9:case 6:Fs.current===null&&(t=!0);var l=Pl;if(Pl=0,Fl=null,Ou(e,s,c,l),n&&Ll){o=0;break a}break;default:l=Pl,Pl=0,Fl=null,Ou(e,s,c,l)}}Cu(),o=Bl;break}catch(t){vu(e,t)}while(1);return t&&e.shellSuspendCounter++,Ji=qi=null,Nl=r,E.H=i,E.A=a,H===null&&(V=null,U=0,li()),o}function Cu(){for(;H!==null;)Eu(H)}function wu(e,t){var n=Nl;Nl|=2;var r=yu(),a=bu();V!==e||U!==t?(Zl=null,Xl=ke()+500,_u(e,t)):Ll=Ye(e,t);a:do try{if(Pl!==0&&H!==null){t=H;var o=Fl;b:switch(Pl){case 1:Pl=0,Fl=null,Ou(e,t,o,1);break;case 2:case 9:if(Ea(o)){Pl=0,Fl=null,Du(t);break}t=function(){Pl!==2&&Pl!==9||V!==e||(Pl=7),Qu(e)},o.then(t,t);break a;case 3:Pl=7;break a;case 4:Pl=5;break a;case 7:Ea(o)?(Pl=0,Fl=null,Du(t)):(Pl=0,Fl=null,Ou(e,t,o,7));break;case 5:var s=null;
vendor: 9,003 bytes, line 8
8switch(H.tag){case 26:s=H.memoizedState;case 5:case 27:var c=H;if(!s||Nf(s)){Pl=0,Fl=null;var l=c.sibling;if(l!==null)H=l;else{var u=c.return;u===null?H=null:(H=u,ku(u))}break b}}Pl=0,Fl=null,Ou(e,t,o,5);break;case 6:Pl=0,Fl=null,Ou(e,t,o,6);break;case 8:gu(),Bl=6;break a;default:throw Error(i(462))}}Tu();break}catch(t){vu(e,t)}while(1);return Ji=qi=null,E.H=r,E.A=a,Nl=n,H===null?(V=null,U=0,li(),Bl):0}function Tu(){for(;H!==null&&!De();)Eu(H)}function Eu(e){var t=Oc(e.alternate,e,zl);e.memoizedProps=e.pendingProps,t===null?ku(e):H=t}function Du(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=fc(n,t,t.pendingProps,t.type,void 0,U);break;case 11:t=fc(n,t,t.pendingProps,t.type.render,t.ref,U);break;case 5:mo(t);default:Ic(n,t),t=H=gi(t,zl),t=Oc(n,t,zl)}e.memoizedProps=e.pendingProps,t===null?ku(e):H=t}function Ou(e,t,n,r){Ji=qi=null,mo(t),Es=null,Ds=0;var i=t.return;try{if(rc(e,i,t,n,U)){Bl=1,Qs(e,ai(n,e.current)),H=null;return}}catch(t){if(i!==null)throw H=i,t;Bl=1,Qs(e,ai(n,e.current)),H=null;return}t.flags&32768?(N||r===1?e=!0:Ll||U&536870912?e=!1:(Il=e=!0,(r===2||r===9||r===3||r===6)&&(r=Fs.current,r!==null&&r.tag===13&&(r.flags|=16384))),Au(t,e)):ku(t)}function ku(e){var t=e;do{if(t.flags&32768){Au(t,Il);return}e=t.return;var n=Pc(t.alternate,t,zl);if(n!==null){H=n;return}if(t=t.sibling,t!==null){H=t;return}H=t=e}while(t!==null);Bl===0&&(Bl=5)}function Au(e,t){do{var n=Fc(e.alternate,e);if(n!==null){n.flags&=32767,H=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){H=e;return}H=e=n}while(e!==null);Bl=6,H=null}function ju(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do Iu();while($l!==0);if(Nl&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=ci,tt(e,n,o,s,c,l),e===V&&(H=V=null,U=0),tu=t,eu=e,nu=n,ru=o,iu=a,au=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,Gu(Ne,function(){return Lu(!0),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=E.T,E.T=null,a=D.p,D.p=2,s=Nl,Nl|=4;try{$c(e,t,n)}finally{Nl=s,D.p=a,E.T=r}}$l=1,Mu(),Nu(),Pu()}}function Mu(){if($l===1){$l=0;var e=eu,t=tu,n=(t.flags&13878)!=0;if(t.subtreeFlags&13878||n){n=E.T,E.T=null;var r=D.p;D.p=2;var i=Nl;Nl|=4;try{dl(t,e);var a=Pd,o=Fr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&Pr(s.ownerDocument.documentElement,s)){if(c!==null&&Ir(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=Nr(s,h),v=Nr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}Xf=!!Nd,Pd=Nd=null}finally{Nl=i,D.p=r,E.T=n}}e.current=t,$l=2}}function Nu(){if($l===2){$l=0;var e=eu,t=tu,n=(t.flags&8772)!=0;if(t.subtreeFlags&8772||n){n=E.T,E.T=null;var r=D.p;D.p=2;var i=Nl;Nl|=4;try{el(e,t.alternate,t)}finally{Nl=i,D.p=r,E.T=n}}$l=3}}function Pu(){if($l===4||$l===3){$l=0,Oe();var e=eu,t=tu,n=nu,r=au;t.subtreeFlags&10256||t.flags&10256?$l=5:($l=0,tu=eu=null,Fu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(Ql=null),at(n),t=t.stateNode,ze&&typeof ze.onCommitFiberRoot==`function`)try{ze.onCommitFiberRoot(Re,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=E.T,i=D.p,D.p=2,E.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{E.T=t,D.p=i}}nu&3&&Iu(),Qu(e),i=e.pendingLanes,n&4194090&&i&42?e===su?ou++:(ou=0,su=e):ou=0,$u(0,!1)}}function Fu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,la(t)))}function Iu(e){return Mu(),Nu(),Pu(),Lu(e)}function Lu(){if($l!==5)return!1;var e=eu,t=ru;ru=0;var n=at(nu),r=E.T,a=D.p;try{D.p=32>n?32:n,E.T=null,n=iu,iu=null;var o=eu,s=nu;if($l=0,tu=eu=null,nu=0,Nl&6)throw Error(i(331));var c=Nl;if(Nl|=4,Ol(o.current),bl(o,o.current,s,n),Nl=c,$u(0,!1),ze&&typeof ze.onPostCommitFiberRoot==`function`)try{ze.onPostCommitFiberRoot(Re,o)}catch{}return!0}finally{D.p=a,E.T=r,Fu(e,t)}}function Ru(e,t,n){t=ai(n,t),t=ec(e.stateNode,t,2),e=Ia(e,t,2),e!==null&&(et(e,2),Qu(e))}function zu(e,t,n){if(e.tag===3)Ru(e,e,n);else for(;t!==null;){if(t.tag===3){Ru(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(Ql===null||!Ql.has(r))){e=ai(n,e),n=tc(2),r=Ia(t,n,2),r!==null&&(nc(n,r,t,e),et(r,2),Qu(r));break}}t=t.return}}function Bu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Ml;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Rl=!0,i.add(n),e=Vu.bind(null,e,t,n),t.then(e,e))}function Vu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,V===e&&(U&n)===n&&(Bl===4||Bl===3&&(U&62914560)===U&&300>ke()-Yl?!(Nl&2)&&_u(e,0):Ul|=n,Gl===U&&(Gl=0)),Qu(e)}function Hu(e,t){t===0&&(t=Qe()),e=fi(e,t),e!==null&&(et(e,t),Qu(e))}function Uu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Hu(e,n)}function Wu(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),Hu(e,n)}function Gu(e,t){return Te(e,t)}var Ku=null,qu=null,Ju=!1,Yu=!1,Xu=!1,Zu=0;function Qu(e){e!==qu&&e.next===null&&(qu===null?Ku=qu=e:qu=qu.next=e),Yu=!0,Ju||(Ju=!0,ad())}function $u(e,t){if(!Xu&&Yu){Xu=!0;do for(var n=!1,r=Ku;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-Ve(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,id(r,a))}else a=U,a=Je(r,r===V?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||Ye(r,a)||(n=!0,id(r,a));r=r.next}while(n);Xu=!1}}function ed(){td()}function td(){Yu=Ju=!1;var e=0;Zu!==0&&(zd()&&(e=Zu),Zu=0);for(var t=ke(),n=null,r=Ku;r!==null;){var i=r.next,a=nd(r,t);a===0?(r.next=null,n===null?Ku=i:n.next=i,i===null&&(qu=n)):(n=r,(e!==0||a&3)&&(Yu=!0)),r=i}$u(e,!1)}function nd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Ve(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Xe(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=V,n=U,n=Je(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(Pl===2||Pl===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Ee(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||Ye(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&Ee(r),at(n)){case 2:case 8:n=Me;break;case 32:n=Ne;break;case 268435456:n=Fe;break;default:n=Ne}return r=rd.bind(null,e),n=Te(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&Ee(r),e.callbackPriority=2,e.callbackNode=null,2}function rd(e,t){if($l!==0&&$l!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Iu(!0)&&e.callbackNode!==n)return null;var r=U;return r=Je(e,e===V?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(du(e,r,t),nd(e,ke()),e.callbackNode!=null&&e.callbackNode===n?rd.bind(null,e):null)}function id(e,t){if(Iu())return null;du(e,t,!0)}function ad(){Ud(function(){Nl&6?Te(je,ed):td()})}function od(){return Zu===0&&(Zu=Ze()),Zu}function sd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:ln(``+e)}function cd(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function ld(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=sd((i[ut]||null).action),o=r.submitter;o&&(t=(t=o[ut]||null)?sd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new An(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Zu!==0){var e=o?cd(i,o):new FormData(i);cs(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?cd(i,o):new FormData(i),cs(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var ud=0;ud<ni.length;ud++){var dd=ni[ud];ri(dd.toLowerCase(),`on`+(dd[0].toUpperCase()+dd.slice(1)))}
vendor: 18,058 bytes, lines 8-9
8ri(Jr,`onAnimationEnd`),ri(Yr,`onAnimationIteration`),ri(Xr,`onAnimationStart`),ri(`dblclick`,`onDoubleClick`),ri(`focusin`,`onFocus`),ri(`focusout`,`onBlur`),ri(Zr,`onTransitionRun`),ri(Qr,`onTransitionStart`),ri($r,`onTransitionCancel`),ri(ei,`onTransitionEnd`),Et(`onMouseEnter`,[`mouseout`,`mouseover`]),Et(`onMouseLeave`,[`mouseout`,`mouseover`]),Et(`onPointerEnter`,[`pointerout`,`pointerover`]),Et(`onPointerLeave`,[`pointerout`,`pointerover`]),Tt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Tt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Tt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Tt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Tt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Tt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var fd=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),pd=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(fd));function md(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Js(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Js(e)}i.currentTarget=null,a=c}}}}function W(e,t){var n=t[ft];n===void 0&&(n=t[ft]=new Set);var r=e+`__bubble`;n.has(r)||(vd(t,e,2,!1),n.add(r))}function hd(e,t,n){var r=0;t&&(r|=4),vd(n,e,r,t)}var gd=`_reactListening`+Math.random().toString(36).slice(2);function _d(e){if(!e[gd]){e[gd]=!0,Ct.forEach(function(t){t!==`selectionchange`&&(pd.has(t)||hd(t,!1,e),hd(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[gd]||(t[gd]=!0,hd(`selectionchange`,!1,t))}}function vd(e,t,n,r){switch(rp(t)){case 2:var i=Zf;break;case 8:i=Qf;break;default:i=$f}n=i.bind(null,t,n,e),i=void 0,!yn||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function yd(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=vt(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}gn(function(){var r=a,i=dn(n),s=[];a:{var c=ti.get(e);if(c!==void 0){var l=An,u=e;switch(e){case`keypress`:if(Tn(n)===0)break a;case`keydown`:case`keyup`:l=Jn;break;case`focusin`:u=`focus`,l=zn;break;case`focusout`:u=`blur`,l=zn;break;case`beforeblur`:case`afterblur`:l=zn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=Ln;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=Rn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Xn;break;case Jr:case Yr:case Xr:l=Bn;break;case ei:l=Zn;break;case`scroll`:case`scrollend`:l=Mn;break;case`wheel`:l=Qn;break;case`copy`:case`cut`:case`paste`:l=Vn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Yn;break;case`toggle`:case`beforetoggle`:l=$n}var d=(t&4)!=0,f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=_n(m,p),g!=null&&d.push(bd(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,l=e===`mouseout`||e===`pointerout`,c&&n!==un&&(u=n.relatedTarget||n.fromElement)&&(vt(u)||u[dt]))break a;if((l||c)&&(c=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,u=u?vt(u):null,u!==null&&(f=o(u),d=u.tag,u!==f||d!==5&&d!==27&&d!==6)&&(u=null)):(l=null,u=r),l!==u)){if(d=Ln,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Yn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:bt(l),h=u==null?c:bt(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,vt(i)===r&&(d=new d(p,m+`enter`,u,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,l&&u)b:{for(d=l,p=u,m=0,h=d;h;h=Sd(h))m++;for(h=0,g=p;g;g=Sd(g))h++;for(;0<m-h;)d=Sd(d),m--;for(;0<h-m;)p=Sd(p),h--;for(;m--;){if(d===p||p!==null&&d===p.alternate)break b;d=Sd(d),p=Sd(p)}d=null}else d=null;l!==null&&Cd(s,c,l,d,!1),u!==null&&f!==null&&Cd(s,f,u,d,!0)}}a:{if(c=r?bt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var _=yr;else if(pr(c))if(br)_=kr;else{_=Dr;var v=Er}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&on(r.elementType)&&(_=yr):_=Or;if(_&&(_=_(e,r))){mr(s,_,n,i);break a}v&&v(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Zt(c,`number`,c.value)}switch(v=r?bt(r):window,e){case`focusin`:(pr(v)||v.contentEditable===`true`)&&(Rr=v,zr=r,Br=null);break;case`focusout`:Br=zr=Rr=null;break;case`mousedown`:Vr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Vr=!1,Hr(s,n,i);break;case`selectionchange`:if(Lr)break;case`keydown`:case`keyup`:Hr(s,n,i)}var y;if(tr)b:{switch(e){case`compositionstart`:var b=`onCompositionStart`;break b;case`compositionend`:b=`onCompositionEnd`;break b;case`compositionupdate`:b=`onCompositionUpdate`;break b}b=void 0}else lr?sr(e,n)&&(b=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(b=`onCompositionStart`);b&&(ir&&n.locale!==`ko`&&(lr||b!==`onCompositionStart`?b===`onCompositionEnd`&&lr&&(y=wn()):(xn=i,Sn=`value`in xn?xn.value:xn.textContent,lr=!0)),v=xd(r,b),0<v.length&&(b=new Hn(b,e,null,n,i),s.push({event:b,listeners:v}),y?b.data=y:(y=cr(n),y!==null&&(b.data=y)))),(y=rr?ur(e,n):dr(e,n))&&(b=xd(r,`onBeforeInput`),0<b.length&&(v=new Hn(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:v,listeners:b}),v.data=y)),ld(s,e,r,n,i)}md(s,t)})}function bd(e,t,n){return{instance:e,listener:t,currentTarget:n}}function xd(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=_n(e,n),i!=null&&r.unshift(bd(e,i,a)),i=_n(e,t),i!=null&&r.push(bd(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Sd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Cd(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=_n(n,a),l!=null&&o.unshift(bd(n,l,c))):i||(l=_n(n,a),l!=null&&o.push(bd(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var wd=/\r\n?/g,Td=/\u0000|\uFFFD/g;function Ed(e){return(typeof e==`string`?e:``+e).replace(wd,`
9`).replace(Td,``)}function Dd(e,t){return t=Ed(t),Ed(e)===t}function Od(){}function kd(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||tn(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&tn(e,``+r);break;case`className`:Mt(e,`class`,r);break;case`tabIndex`:Mt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Mt(e,n,r);break;case`style`:an(e,r,o);break;case`data`:if(t!==`object`){Mt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=ln(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}else typeof o==`function`&&(n===`formAction`?(t!==`input`&&kd(e,t,`name`,a.name,a,null),kd(e,t,`formEncType`,a.formEncType,a,null),kd(e,t,`formMethod`,a.formMethod,a,null),kd(e,t,`formTarget`,a.formTarget,a,null)):(kd(e,t,`encType`,a.encType,a,null),kd(e,t,`method`,a.method,a,null),kd(e,t,`target`,a.target,a,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=ln(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=Od);break;case`onScroll`:r!=null&&W(`scroll`,e);break;case`onScrollEnd`:r!=null&&W(`scrollend`,e);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=ln(``+r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``+r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:W(`beforetoggle`,e),W(`toggle`,e),jt(e,`popover`,r);break;case`xlinkActuate`:Nt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Nt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Nt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Nt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Nt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Nt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Nt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Nt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Nt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:jt(e,`is`,r);break;case`innerText`:case`textContent`:break;default:(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)&&(n=sn.get(n)||n,jt(e,n,r))}}function Ad(e,t,n,r,a,o){switch(n){case`style`:an(e,r,o);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`children`:typeof r==`string`?tn(e,r):(typeof r==`number`||typeof r==`bigint`)&&tn(e,``+r);break;case`onScroll`:r!=null&&W(`scroll`,e);break;case`onScrollEnd`:r!=null&&W(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=Od);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!wt.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),t=n.slice(2,a?n.length-7:void 0),o=e[ut]||null,o=o==null?null:o[n],typeof o==`function`&&e.removeEventListener(t,o,a),typeof r==`function`)){typeof o!=`function`&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):jt(e,n,r)}}}function jd(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:W(`error`,e),W(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:kd(e,t,o,s,n,null)}}a&&kd(e,t,`srcSet`,n.srcSet,n,null),r&&kd(e,t,`src`,n.src,n,null);return;case`input`:W(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:kd(e,t,r,d,n,null)}}Xt(e,o,c,l,u,s,a,!1),Wt(e);return;case`select`:for(a in W(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:kd(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&Qt(e,!!r,n,!0):Qt(e,!!r,t,!1);return;case`textarea`:for(s in W(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:kd(e,t,s,c,n,null)}en(e,r,a,o),Wt(e);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:kd(e,t,l,r,n,null)}return;case`dialog`:W(`beforetoggle`,e),W(`toggle`,e),W(`cancel`,e),W(`close`,e);break;case`iframe`:case`object`:W(`load`,e);break;case`video`:case`audio`:for(r=0;r<fd.length;r++)W(fd[r],e);break;case`image`:W(`error`,e),W(`load`,e);break;case`details`:W(`toggle`,e);break;case`embed`:case`source`:case`link`:W(`error`,e),W(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:kd(e,t,u,r,n,null)}return;default:if(on(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&Ad(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&kd(e,t,c,r,n,null))}function Md(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||kd(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:o=m;break;case`name`:a=m;break;case`checked`:u=m;break;case`defaultChecked`:d=m;break;case`value`:s=m;break;case`defaultValue`:c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&kd(e,t,p,m,r,f)}}Yt(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||kd(e,t,o,null,r,l)}for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:p=o;break;case`defaultValue`:c=o;break;case`multiple`:s=o;default:o!==l&&kd(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?Qt(e,!!n,n?[]:``,!1):Qt(e,!!n,t,!0)):Qt(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:kd(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:p=a;break;case`defaultValue`:m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&kd(e,t,s,a,r,o)}$t(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:kd(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:kd(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&kd(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:kd(e,t,u,p,r,m)}return;default:if(on(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Ad(e,t,_,void 0,r,p);
vendor: 4,788 bytes, line 9
9for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||Ad(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&kd(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||kd(e,t,f,p,r,m)}var Nd=null,Pd=null;function Fd(e){return e.nodeType===9?e:e.ownerDocument}function Id(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function G(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function Ld(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Rd=null;function zd(){var e=window.event;return e&&e.type===`popstate`?e===Rd?!1:(Rd=e,!0):(Rd=null,!1)}var Bd=typeof setTimeout==`function`?setTimeout:void 0,Vd=typeof clearTimeout==`function`?clearTimeout:void 0,Hd=typeof Promise==`function`?Promise:void 0,Ud=typeof queueMicrotask==`function`?queueMicrotask:Hd===void 0?Bd:function(e){return Hd.resolve(null).then(e).catch(Wd)};function Wd(e){setTimeout(function(){throw e})}function Gd(e){return e===`head`}function Kd(e,t){var n=t,r=0,i=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&a.nodeType===8)if(n=a.data,n===`/$`){if(0<r&&8>r){n=r;var o=e.ownerDocument;if(n&1&&nf(o.documentElement),n&2&&nf(o.body),n&4)for(n=o.head,nf(n),o=n.firstChild;o;){var s=o.nextSibling,c=o.nodeName;o[gt]||c===`SCRIPT`||c===`STYLE`||c===`LINK`&&o.rel.toLowerCase()===`stylesheet`||n.removeChild(o),o=s}}if(i===0){e.removeChild(a),Sp(t);return}i--}else n===`$`||n===`$?`||n===`$!`?i++:r=n.charCodeAt(0)-48;else r=0;n=a}while(n);Sp(t)}function qd(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:qd(n),_t(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function Jd(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r)if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e;else if(!e[gt])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=Qd(e.nextSibling),e===null)break}return null}function Yd(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=Qd(e.nextSibling),e===null))return null;return e}function Xd(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState===`complete`}function Zd(e,t){var n=e.ownerDocument;if(e.data!==`$?`||n.readyState===`complete`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function Qd(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`F!`||t===`F`)break;if(t===`/$`)return null}}return e}var $d=null;function ef(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`){if(t===0)return e;t--}else n===`/$`&&t++}e=e.previousSibling}return null}function tf(e,t,n){switch(t=Fd(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function nf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);_t(e)}var rf=new Map,af=new Set;function of(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var sf=D.d;D.d={f:cf,r:lf,D:ff,C:pf,L:mf,m:hf,X:_f,S:gf,M:vf};function cf(){var e=sf.f(),t=hu();return e||t}function lf(e){var t=yt(e);t!==null&&t.tag===5&&t.type===`form`?us(t):sf.r(e)}var uf=typeof document>
vendor: 5,449 bytes, line 9
9`u`?null:document;function df(e,t,n){var r=uf;if(r&&typeof t==`string`&&t){var i=Jt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),af.has(i)||(af.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),jd(t,`link`,e),St(t),r.head.appendChild(t)))}}function ff(e){sf.D(e),df(`dns-prefetch`,e,null)}function pf(e,t){sf.C(e,t),df(`preconnect`,e,t)}function mf(e,t,n){sf.L(e,t,n);var r=uf;if(r&&e&&t){var i=`link[rel="preload"][as="`+Jt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Jt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Jt(n.imageSizes)+`"]`)):i+=`[href="`+Jt(e)+`"]`;var a=i;switch(t){case`style`:a=bf(e);break;case`script`:a=wf(e)}rf.has(a)||(e=f({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),rf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(xf(a))||t===`script`&&r.querySelector(Tf(a))||(t=r.createElement(`link`),jd(t,`link`,e),St(t),r.head.appendChild(t)))}}function hf(e,t){sf.m(e,t);var n=uf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Jt(r)+`"][href="`+Jt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=wf(e)}if(!rf.has(a)&&(e=f({rel:`modulepreload`,href:e},t),rf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Tf(a)))return}r=n.createElement(`link`),jd(r,`link`,e),St(r),n.head.appendChild(r)}}}function gf(e,t,n){sf.S(e,t,n);var r=uf;if(r&&e){var i=xt(r).hoistableStyles,a=bf(e);t=t||`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(xf(a)))s.loading=5;else{e=f({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=rf.get(a))&&Of(e,n);var c=o=r.createElement(`link`);St(c),jd(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Df(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function _f(e,t){sf.X(e,t);var n=uf;if(n&&e){var r=xt(n).hoistableScripts,i=wf(e),a=r.get(i);a||(a=n.querySelector(Tf(i)),a||(e=f({src:e,async:!0},t),(t=rf.get(i))&&K(e,t),a=n.createElement(`script`),St(a),jd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function vf(e,t){sf.M(e,t);var n=uf;if(n&&e){var r=xt(n).hoistableScripts,i=wf(e),a=r.get(i);a||(a=n.querySelector(Tf(i)),a||(e=f({src:e,async:!0,type:`module`},t),(t=rf.get(i))&&K(e,t),a=n.createElement(`script`),St(a),jd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function yf(e,t,n,r){var a=(a=ve.current)?of(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=bf(n.href),n=xt(a).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=bf(n.href);var o=xt(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(xf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),rf.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},rf.set(e,n),o||Cf(a,e,n,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=wf(n),n=xt(a).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function bf(e){return`href="`+Jt(e)+`"`}function xf(e){return`link[rel="stylesheet"][`+e+`]`}function Sf(e){return f({},e,{"data-precedence":e.precedence,precedence:null})}function Cf(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),jd(t,`link`,n),St(t),e.head.appendChild(t))}function wf(e){return`[src="`+Jt(e)+`"]`}function Tf(e){return`script[async]`+e}function Ef(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Jt(n.href)+`"]`);if(r)return t.instance=r,St(r),r;var a=f({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),St(r),jd(r,`style`,a),Df(r,n.precedence,e),t.instance=r;case`stylesheet`:a=bf(n.href);var o=e.querySelector(xf(a));if(o)return t.state.loading|=4,t.instance=o,St(o),o;r=Sf(n),(a=rf.get(a))&&Of(r,a),o=(e.ownerDocument||e).createElement(`link`),St(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),jd(o,`link`,r),t.state.loading|=4,Df(o,n.precedence,e),t.instance=o;case`script`:return o=wf(n.src),(a=e.querySelector(Tf(o)))?(t.instance=a,St(a),a):(r=n,(a=rf.get(o))&&(r=f({}
vendor: 12,291 bytes, line 9
9,n),K(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),St(a),jd(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Df(r,n.precedence,e));return t.instance}function Df(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Of(e,t){e.crossOrigin??(e.crossOrigin=t.crossOrigin),e.referrerPolicy??(e.referrerPolicy=t.referrerPolicy),e.title??(e.title=t.title)}function K(e,t){e.crossOrigin??(e.crossOrigin=t.crossOrigin),e.referrerPolicy??(e.referrerPolicy=t.referrerPolicy),e.integrity??(e.integrity=t.integrity)}var kf=null;function Af(e,t,n){if(kf===null){var r=new Map,i=kf=new Map;i.set(n,r)}else i=kf,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[gt]||a[lt]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function jf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Mf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Nf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}var Pf=null;function Ff(){}function If(e,t,n){if(Pf===null)throw Error(i(475));var r=Pf;if(t.type===`stylesheet`&&(typeof n.media!=`string`||!1!==matchMedia(n.media).matches)&&!(t.state.loading&4)){if(t.instance===null){var a=bf(n.href),o=e.querySelector(xf(a));if(o){e=o._p,typeof e==`object`&&e&&typeof e.then==`function`&&(r.count++,r=Rf.bind(r),e.then(r,r)),t.state.loading|=4,t.instance=o,St(o);return}o=e.ownerDocument||e,n=Sf(n),(a=rf.get(a))&&Of(n,a),o=o.createElement(`link`),St(o);var s=o;s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),jd(o,`link`,n),t.instance=o}r.stylesheets===null&&(r.stylesheets=new Map),r.stylesheets.set(t,e),(e=t.state.preload)&&!(t.state.loading&3)&&(r.count++,t=Rf.bind(r),e.addEventListener(`load`,t),e.addEventListener(`error`,t))}}function Lf(){if(Pf===null)throw Error(i(475));var e=Pf;return e.stylesheets&&e.count===0&&Bf(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&Bf(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}function Rf(){if(this.count--,this.count===0){if(this.stylesheets)Bf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var zf=null;function Bf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,zf=new Map,t.forEach(Vf,e),zf=null,Rf.call(e))}function Vf(e,t){if(!(t.state.loading&4)){var n=zf.get(e);if(n)var r=n.get(null);else{n=new Map,zf.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=Rf.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var Hf={$$typeof:C,Provider:null,Consumer:null,_currentValue:ue,_currentValue2:ue,_threadCount:0};function Uf(e,t,n,r,i,a,o,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=$e(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$e(0),this.hiddenUpdates=$e(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function Wf(e,t,n,r,i,a,o,s,c,l,u,d){return e=new Uf(e,t,n,o,s,c,l,d),t=1,!0===a&&(t|=24),a=j(3,null,null,t),e.current=a,a.stateNode=e,t=ca(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Na(a),e}function Gf(e){return e?(e=k,e):k}function Kf(e,t,n,r,i,a){i=Gf(i),r.context===null?r.context=i:r.pendingContext=i,r=Fa(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=Ia(e,r,t),n!==null&&(uu(n,e,t),La(n,e,t))}function qf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Jf(e,t){qf(e,t),(e=e.alternate)&&qf(e,t)}function Yf(e){if(e.tag===13){var t=fi(e,67108864);t!==null&&uu(t,e,67108864),Jf(e,67108864)}}var Xf=!0;function Zf(e,t,n,r){var i=E.T;E.T=null;var a=D.p;try{D.p=2,$f(e,t,n,r)}finally{D.p=a,E.T=i}}function Qf(e,t,n,r){var i=E.T;E.T=null;var a=D.p;try{D.p=8,$f(e,t,n,r)}finally{D.p=a,E.T=i}}function $f(e,t,n,r){if(Xf){var i=ep(r);if(i===null)yd(e,t,r,tp,n),fp(e,r);else if(mp(i,e,t,n,r))r.stopPropagation();else if(fp(e,r),t&4&&-1<dp.indexOf(e)){for(;i!==null;){var a=yt(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=qe(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-Ve(o);s.entanglements[1]|=c,o&=~c}Qu(a),!(Nl&6)&&(Xl=ke()+500,$u(0,!1))}}break;case 13:s=fi(a,2),s!==null&&uu(s,a,2),hu(),Jf(a,2)}if(a=ep(r),a===null&&yd(e,t,r,tp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else yd(e,t,r,null,n)}}function ep(e){return e=dn(e),np(e)}var tp=null;function np(e){if(tp=null,e=vt(e),e!==null){var t=o(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=s(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return tp=e,null}function rp(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`toggle`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 2;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(Ae()){case je:return 2;case Me:return 8;case Ne:case Pe:return 32;case Fe:return 268435456;default:return 32}default:return 32}}var ip=!1,ap=null,op=null,sp=null,cp=new Map,lp=new Map,up=[],dp=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset`.split(` `);function fp(e,t){switch(e){case`focusin`:case`focusout`:ap=null;break;case`dragenter`:case`dragleave`:op=null;break;case`mouseover`:case`mouseout`:sp=null;break;case`pointerover`:case`pointerout`:cp.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:lp.delete(t.pointerId)}}function pp(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=yt(t),t!==null&&Yf(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function mp(e,t,n,r,i){switch(t){case`focusin`:return ap=pp(ap,e,t,n,r,i),!0;case`dragenter`:return op=pp(op,e,t,n,r,i),!0;case`mouseover`:return sp=pp(sp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return cp.set(a,pp(cp.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,lp.set(a,pp(lp.get(a)||null,e,t,n,r,i)),!0}return!1}function hp(e){var t=vt(e.target);if(t!==null){var n=o(t);if(n!==null){if(t=n.tag,t===13){if(t=s(n),t!==null){e.blockedOn=t,st(e.priority,function(){if(n.tag===13){var e=cu();e=it(e);var t=fi(n,e);t!==null&&uu(t,n,e),Jf(n,e)}});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function gp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ep(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);un=r,n.target.dispatchEvent(r),un=null}else return t=yt(n),t!==null&&Yf(t),e.blockedOn=n,!1;t.shift()}return!0}function _p(e,t,n){gp(e)&&n.delete(t)}function vp(){ip=!1,ap!==null&&gp(ap)&&(ap=null),op!==null&&gp(op)&&(op=null),sp!==null&&gp(sp)&&(sp=null),cp.forEach(_p),lp.forEach(_p)}function yp(e,n){e.blockedOn===n&&(e.blockedOn=null,ip||(ip=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,vp)))}var bp=null;function xp(e){bp!==e&&(bp=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){bp===e&&(bp=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(np(r||n)===null)continue;break}var a=yt(n);a!==null&&(e.splice(t,3),t-=3,cs(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Sp(e){function t(t){return yp(t,e)}ap!==null&&yp(ap,e),op!==null&&yp(op,e),sp!==null&&yp(sp,e),cp.forEach(t),lp.forEach(t);for(var n=0;n<up.length;n++){var r=up[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<up.length&&(n=up[0],n.blockedOn===null);)hp(n),n.blockedOn===null&&up.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[ut]||null;if(typeof a==`function`)o||xp(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[ut]||null)s=o.formAction;else if(np(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),xp(n)}}}function Cp(e){this._internalRoot=e}wp.prototype.render=Cp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;Kf(n,cu(),e,t,null,null)},wp.prototype.unmount=Cp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Kf(e.current,2,null,e,null,null),hu(),t[dt]=null}};function wp(e){this._internalRoot=e}wp.prototype.unstable_scheduleHydration=function(e){if(e){var t=ot();e={blockedOn:null,target:e,priority:t};for(var n=0;n<up.length&&t!==0&&t<up[n].priority;n++);up.splice(n,0,e),n===0&&hp(e)}};var Tp=n.version;if(Tp!==`19.1.0`)throw Error(i(527,Tp,`19.1.0`));D.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=l(t),e=e===null?null:u(e),e=e===null?null:e.stateNode,e};var Ep={bundleType:0,version:`19.1.0`,rendererPackageName:`react-dom`,currentDispatcherRef:E,reconcilerVersion:`19.1.0`};
9if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Dp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Dp.isDisabled&&Dp.supportsFiber)try{Re=Dp.inject(Ep),ze=Dp}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=Ys,s=Xs,c=Zs,l=null;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(l=t.unstable_transitionCallbacks)),t=Wf(e,1,!1,null,null,n,r,o,s,c,l,null),e[dt]=t.current,_d(e),new Cp(t)}})),_=o(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=g()})),v=`modulepreload`,y=function(e){return`/`+e},b={},x=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=y(t,n),t=s(t),t in b)return;b[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:v,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},S=l(d(),1),C=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,ee=/^[\\/]{2}/;function te(e,t){return t+e.replace(/\\/g,`/`)}var ne=`popstate`;function re(e){return typeof e==`object`&&!!e&&`pathname`in e&&`search`in e&&`hash`in e&&`state`in e&&`key`in e}function ie(e={}){function t(e,t){let n=t.state?.masked,{pathname:r,search:i,hash:a}=n||e.location;return se(``,{pathname:r,search:i,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||`default`,n?{pathname:e.location.pathname,search:e.location.search,hash:e.location.hash}:void 0)}function n(e,t){return typeof t==`string`?t:ce(t)}return E(t,n,null,e)}function w(e,t){if(e===!1||e==null)throw Error(t)}function ae(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function oe(){return Math.random().toString(36).substring(2,10)}function T(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function se(e,t,n=null,r,i){return{pathname:typeof e==`string`?e:e.pathname,search:``,hash:``,...typeof t==`string`?le(t):t,state:n,key:t&&t.key||r||oe(),mask:i}}function ce({pathname:e=`/`,search:t=``,hash:n=``}){return t&&t!==`?`&&(e+=t.charAt(0)===`?`?t:`?`+t),n&&n!==`#`&&(e+=n.charAt(0)===`#`?n:`#`+n),e}function le(e){let t={};if(e){let n=e.indexOf(`#`);n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function E(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=`POP`,c=null,l=u();l??(l=0,o.replaceState({...o.state,idx:l},``));function u(){return(o.state||{idx:null}).idx}function d(){s=`POP`;let e=u(),t=e==null?null:e-l;l=e,c&&c({action:s,location:h.location,delta:t})}function f(e,t){s=`PUSH`;let r=re(e)?e:se(h.location,e,t);n&&n(r,e),l=u()+1;let d=T(r,l),f=h.createHref(r.mask||r);try{o.pushState(d,``,f)}catch(e){if(e instanceof DOMException&&e.name===`DataCloneError`)throw e;i.location.assign(f)}a&&c&&c({action:s,location:h.location,delta:1})}function p(e,t){s=`REPLACE`;let r=re(e)?e:se(h.location,e,t);n&&n(r,e),l=u();let i=T(r,l),d=h.createHref(r.mask||r);o.replaceState(i,``,d),a&&c&&c({action:s,location:h.location,delta:0})}function m(e){return D(i,e)}let h={get action(){return s},get location(){return e(i,o)},listen(e){if(c)throw Error(`A history only accepts one active listener`);return i.addEventListener(ne,d),c=e,()=>{i.removeEventListener(ne,d),c=null}},createHref(e){return t(i,e)},createURL:m,encodeLocation(e){let t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:f,replace:p,go(e){return o.go(e)}};return h}function D(e,t,n=!1){let r=`http://localhost`;e&&(r=e.location.origin===`null`?e.location.href:e.location.origin),w(r,`No window.location.(origin|href) available to create URL`);let i=typeof t==`string`?t:ce(t);return i=i.replace(/ $/,`%20`),!n&&ee.test(i)&&(i=r+i),new URL(i,r)}function ue(e,t,n=`/`){return de(e,t,n,!1)}function de(e,t,n,r,i){let a=Ae((typeof t==`string`?le(t):t).pathname||`/`,n);if(a==null)return null;let o=i??fe(e),s=null,c=ke(a);for(let e=0;s==null&&e<o.length;++e)s=Te(o[e],c,r);return s}function fe(e){let t=pe(e);return he(t),t}function pe(e,t=[],n=[],r=``,i=!1){let a=(e,a,o=i,s)=>{let c={relativePath:s===void 0?e.path||``:s,caseSensitive:e.caseSensitive===!0,childrenIndex:a,route:e};if(c.relativePath.startsWith(`/`)){if(!c.relativePath.startsWith(r)&&o)return;w(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}
9" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let l=Re([r,c.relativePath]),u=n.concat(c);e.children&&e.children.length>0&&(w(e.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),pe(e.children,t,u,l,o)),!(e.path==null&&!e.index)&&t.push({path:l,score:Ce(l,e.index),routesMeta:u.map((e,t)=>{let[n,r]=Oe(e.relativePath,e.caseSensitive,t===u.length-1);return{...e,matcher:n,compiledParams:r}})})};return e.forEach((e,t)=>{if(e.path===``||!e.path?.includes(`?`))a(e,t);else for(let n of me(e.path))a(e,t,!0,n)}),t}function me(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=me(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function he(e){e.sort((e,t)=>e.score===t.score?we(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var ge=/^:[\w-]+$/,_e=3,ve=2,ye=1,be=10,xe=-2,Se=e=>e===`*`;function Ce(e,t){let n=e.split(`/`),r=n.length;return n.some(Se)&&(r+=xe),t&&(r+=ve),n.filter(e=>!Se(e)).reduce((e,t)=>e+(ge.test(t)?_e:t===``?ye:be),r)}function we(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function Te(e,t,n=!1){let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e<r.length;++e){let s=r[e],c=e===r.length-1,l=a===`/`?t:t.slice(a.length)||`/`,u={path:s.relativePath,caseSensitive:s.caseSensitive,end:c},d=s.matcher&&s.compiledParams?De(u,l,s.matcher,s.compiledParams):Ee(u,l),f=s.route;if(!d&&c&&n&&!r[r.length-1].route.index&&(d=Ee({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!d)return null;
9Object.assign(i,d.params),o.push({params:i,pathname:Re([a,d.pathname]),pathnameBase:Be(Re([a,d.pathnameBase])),route:f}),d.pathnameBase!==`/`&&(a=Re([a,d.pathnameBase]))}return o}function Ee(e,t){typeof e==`string`&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=Oe(e.path,e.caseSensitive,e.end);return De(e,t,n,r)}function De(e,t,n,r){let i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,`$1`),s=i.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if(t===`*`){let e=s[r]||``;o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,`$1`)}let i=s[r];return n&&!i?e[t]=void 0:e[t]=(i||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function Oe(e,t=!1,n=!0){ae(e===`*`||!e.endsWith(`*`)||e.endsWith(`/*`),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,`/*`)}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,`/*`)}".`);let r=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^${}|()[\]]/g,`\\$&`).replace(/\/:([\w-]+)(\?)?/g,(e,t,n,i,a)=>{if(r.push({paramName:t,isOptional:n!=null}),n){let t=a.charAt(i+e.length);return t&&t!==`/`?`/([^\\/]*)`:`(?:/([^\\/]*))?`}return`/([^\\/]+)`}).replace(/\/([\w-]+)\?(\/|$)/g,`(/$1)?$2`);return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function ke(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return ae(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Ae(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}function je(e,t=`/`){let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?le(e):e,a;return n?(n=Le(n),a=n.startsWith(`/`)?Me(n.substring(1),`/`):Me(n,t)):a=t,{pathname:a,search:Ve(r),hash:He(i)}}function Me(e,t){let n=ze(t).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function Ne(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Pe(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function Fe(e){let t=Pe(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function Ie(e,t,n,r=!1){let i;typeof e==`string`?i=le(e):(i={...e},w(!i.pathname||!i.pathname.includes(`?`),Ne(`?`,`pathname`,`search`,i)),w(!i.pathname||!i.pathname.includes(`#`),Ne(`#`,`pathname`,`hash`,i)),w(!i.search||!i.search.includes(`#`),Ne(`#`,`search`,`hash`,i)));let a=e===``||i.pathname===``,o=a?`/`:i.pathname,s;if(o==null)s=n;else{let e=t.length-1;if(!r&&o.startsWith(`..`)){let t=o.split(`/`);for(;t[0]===`..`;)t.shift(),--e;i.pathname=t.join(`/`)}s=e>=0?t[e]:`/`}let c=je(i,s),l=o&&o!==`/`&&o.endsWith(`/`),u=(a||o===`.`)&&n.endsWith(`/`);return!c.pathname.endsWith(`/`)&&(l||u)&&(c.pathname+=`/`),c}var Le=e=>e.replace(/[\\/]{2,}/g,`/`),Re=e=>Le(e.join(`/`)),ze=e=>e.replace(/\/+$/,``),Be=e=>ze(e).replace(/^\/*/,`/`),Ve=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,He=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e,Ue=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||``,this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function We(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}function Ge(e){return Re(e.map(e=>e.route.path).filter(Boolean))||`/`}var Ke=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function qe(e,t){let n=e;if(typeof n!=`string`||!C.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(Ke)try{let e=new URL(window.location.href),r=ee.test(n)?new URL(te(n,e.protocol)):new URL(n),a=Ae(r.pathname,t);r.origin===e.origin&&a!=null?n=a+r.search+r.hash:i=!0}catch{ae(!1,`<Link to="${n}">
9 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);var Je=[`POST`,`PUT`,`PATCH`,`DELETE`];new Set(Je);var Ye=[`GET`,...Je];new Set(Ye);var Xe=[`about:`,`blob:`,`chrome:`,`chrome-untrusted:`,`content:`,`data:`,`devtools:`,`file:`,`filesystem:`,`javascript:`];function Ze(e){try{return Xe.includes(new URL(e).protocol)}catch{return!1}}var Qe=S.createContext(null);Qe.displayName=`DataRouter`;var $e=S.createContext(null);$e.displayName=`DataRouterState`;var et=S.createContext(!1);function tt(){return S.useContext(et)}var nt=S.createContext({isTransitioning:!1});nt.displayName=`ViewTransition`;var rt=S.createContext(new Map);rt.displayName=`Fetchers`;var it=S.createContext(null);it.displayName=`Await`;var at=S.createContext(null);at.displayName=`Navigation`;var ot=S.createContext(null);ot.displayName=`Location`;var st=S.createContext({outlet:null,matches:[],isDataRoute:!1});st.displayName=`Route`;var ct=S.createContext(null);ct.displayName=`RouteError`;var lt=`REACT_ROUTER_ERROR`,ut=`REDIRECT`,dt=`ROUTE_ERROR_RESPONSE`;function ft(e){if(e.startsWith(`${lt}:${ut}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`&&typeof t.location==`string`&&typeof t.reloadDocument==`boolean`&&typeof t.replace==`boolean`)return t}catch{}}function pt(e){if(e.startsWith(`${lt}:${dt}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`)return new Ue(t.status,t.statusText,t.data)}catch{}}function mt(e,{relative:t}={}){w(ht(),`useHref() may be used only in the context of a <Router> component.`);let{basename:n,navigator:r}=S.useContext(at),{hash:i,pathname:a,search:o}=St(e,{relative:t}),s=a;
9return n!==`/`&&(s=a===`/`?n:Re([n,a])),r.createHref({pathname:s,search:o,hash:i})}function ht(){return S.useContext(ot)!=null}function gt(){return w(ht(),`useLocation() may be used only in the context of a <Router> component.`),S.useContext(ot).location}var _t=`You should call navigate() in a React.useEffect(), not when your component is first rendered.`;function vt(e){S.useContext(at).static||S.useLayoutEffect(e)}function yt(){let{isDataRoute:e}=S.useContext(st);return e?zt():bt()}function bt(){w(ht(),`useNavigate() may be used only in the context of a <Router> component.`);let e=S.useContext(Qe),{basename:t,navigator:n}=S.useContext(at),{matches:r}=S.useContext(st),{pathname:i}=gt(),a=JSON.stringify(Fe(r)),o=S.useRef(!1);return vt(()=>{o.current=!0}),S.useCallback((r,s={})=>{if(ae(o.current,_t),!o.current)return;if(typeof r==`number`){n.go(r);return}let c=Ie(r,JSON.parse(a),i,s.relative===`path`);e==null&&t!==`/`&&(c.pathname=c.pathname===`/`?t:Re([t,c.pathname])),(s.replace?n.replace:n.push)(c,s.state,s)},[t,n,a,i,e])}S.createContext(null);function xt(){let{matches:e}=S.useContext(st);return e[e.length-1]?.params??{}}function St(e,{relative:t}={}){let{matches:n}=S.useContext(st),{pathname:r}=gt(),i=JSON.stringify(Fe(n));return S.useMemo(()=>Ie(e,JSON.parse(i),r,t===`path`),[e,i,r,t])}function Ct(e,t){return wt(e,t)}function wt(e,t,n){w(ht(),`useRoutes() may be used only in the context of a <Router> component.`);let{navigator:r}=S.useContext(at),{matches:i}=S.useContext(st),a=i[i.length-1],o=a?a.params:{},s=a?a.pathname:`/`,c=a?a.pathnameBase:`/`,l=a&&a.route;{let e=l&&l.path||``;Vt(s,!l||e.endsWith(`*`)||e.endsWith(`*?`),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${s}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
10
11Please change the parent <Route path="${e}"> to <Route path="${e===`/`?`*`:`${e}/*`}">.`)}let u=gt(),d;if(t){let e=typeof t==`string`?le(t):t;w(c===`/`||e.pathname?.startsWith(c),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${c}" but pathname "${e.pathname}" was given in the \`location\` prop.`),d=e}else d=u;let f=d.pathname||`/`,p=f;if(c!==`/`){let e=c.replace(/^\//,``).split(`/`);p=`/`+f.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let m=n&&n.state.matches.length?n.state.matches.map(e=>Object.assign(e,{route:n.manifest[e.route.id]||e.route})):ue(e,{pathname:p});ae(l||m!=null,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),ae(m==null||m[m.length-1].route.element!==void 0||m[m.length-1].route.Component!==void 0||m[m.length-1].route.lazy!==void 0,`Matched leaf route at location "${d.pathname}${d.search}${d.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let h=jt(m&&m.map(e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:Re([c,r.encodeLocation?r.encodeLocation(e.pathname.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?c:Re([c,r.encodeLocation?r.encodeLocation(e.pathnameBase.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathnameBase])})),i,n);return t&&h?S.createElement(ot.Provider,{value:{location:{pathname:`/`,search:``,hash:``,state:null,key:`default`,mask:void 0,...d},navigationType:`POP`}},h):h}function Tt(){let e=Rt(),t=We(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r=`rgba(200,200,200, 0.5)`,i={padding:`0.5rem`,backgroundColor:r},a={padding:`2px 4px`,backgroundColor:r},o=null;return console.error(`Error handled by React Router default ErrorBoundary:`,e),o=S.createElement(S.Fragment,null,S.createElement(`p`,null,`💿 Hey developer 👋`),S.createElement(`p`,null,`You can provide a way better UX than this when your app throws errors by providing your own `,S.createElement(`code`,{style:a},`ErrorBoundary`),` or`,` `,S.createElement(`code`,{style:a},`errorElement`),` prop on your route.`)),S.createElement(S.Fragment,null,S.createElement(`h2`,null,`Unexpected Application 
11Error!`),S.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?S.createElement(`pre`,{style:i},n):null,o)}var Et=S.createElement(Tt,null),Dt=class extends S.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error(`React Router caught the following error during render`,e)}render(){let e=this.state.error;if(this.context&&typeof e==`object`&&e&&`digest`in e&&typeof e.digest==`string`){let t=pt(e.digest);t&&(e=t)}let t=e===void 0?this.props.children:S.createElement(st.Provider,{value:this.props.routeContext},S.createElement(ct.Provider,{value:e,children:this.props.component}));return this.context?S.createElement(kt,{error:e},t):t}};Dt.contextType=et;var Ot=new WeakMap;function kt({children:e,error:t}){let{basename:n}=S.useContext(at);if(typeof t==`object`&&t&&`digest`in t&&typeof t.digest==`string`){let e=ft(t.digest);if(e){let r=Ot.get(t);if(r)throw r;let i=qe(e.location,n),a=i.absoluteURL||i.to;if(Ze(a))throw Error(`Invalid redirect location`);if(Ke&&!Ot.get(t))if(i.isExternal||e.reloadDocument)window.location.href=a;else{let n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:e.replace}));throw Ot.set(t,n),n}return S.createElement(`meta`,{httpEquiv:`refresh`,content:`0;url=${a}`})}}return e}function At({routeContext:e,match:t,children:n}){let r=S.useContext(Qe);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),S.createElement(st.Provider,{value:e},n)}function jt(e,t=[],n){let r=n?.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,a=r?.errors;if(a!=null){let e=i.findIndex(e=>e.route.id&&a?.[e.route.id]!==void 0);w(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(`,`)}`),i=i.slice(0,Math.min(i.length,e+1))}let o=!1,s=-1;if(n&&r){o=r.renderFallback;for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(s=e),t.route.id){let{loaderData:e,errors:a}=r,c=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!a||a[t.route.id]===void 0);if(t.route.lazy||c){n.isStatic&&(o=!0),i=s>=0?i.slice(0,s+1):[i[0]];break}}}}let c=n?.onError,l=r&&c?(e,t)=>{c(e,{location:r.location,params:r.matches?.[0]?.params??{},pattern:Ge(r.matches),errorInfo:t})}:void 0;return i.reduceRight((e,n,c)=>{let u,d=!1,f=null,p=null;r&&(u=a&&n.route.id?a[n.route.id]:void 0,f=n.route.errorElement||Et,o&&(s<0&&c===0?(Vt(`route-fallback`,!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):s===c&&(d=!0,p=n.route.hydrateFallbackElement||null)));let m=t.concat(i.slice(0,c+1)),h=()=>{let t;return t=u?f:d?p:n.route.Component?S.createElement(n.route.Component,null):n.route.element?n.route.element:e,S.createElement(At,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:r!=null},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||c===0)?S.createElement(Dt,{location:r.location,revalidation:r.revalidation,component:f,error:u,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0},onError:l}):h()},null)}function Mt(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Nt(e){let t=S.useContext(Qe);return w(t,Mt(e)),t}function Pt(e){let t=S.useContext($e);return w(t,Mt(e)),t}function Ft(e){let t=S.useContext(st);return w(t,Mt(e)),t}function It(e){let t=Ft(e),n=t.matches[t.matches.length-1];return w(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Lt(){return It(`useRouteId`)}function Rt(){let e=S.useContext(ct),t=Pt(`useRouteError`),n=It(`useRouteError`);return e===void 0?t.errors?.[n]:e}function zt(){let{router:e}=Nt(`useNavigate`),t=It(`useNavigate`),n=S.useRef(!1);return vt(()=>{n.current=!0}),S.useCallback(async(r,i={})=>{ae(n.current,_t),n.current&&(typeof r==`number`?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...i}))},[e,t])}var Bt={};function Vt(e,t,n){!t&&!Bt[e]&&(Bt[e]=!0,ae(!1,n))}S.memo(Ht);function Ht({routes:e,manifest:t,future:n,state:r,isStatic:i,onError:a}){return wt(e,void 0,{manifest:t,state:r,isStatic:i,onError:a,future:n})}function Ut({to:e,replace:t,state:n,relative:r}){w(ht(),`<Navigate> may be used only in the context of a <Router> component.`);let{static:i}=S.useContext(at);ae(!i,`<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.`);let{matches:a}=S.useContext(st),{pathname:o}=gt(),s=yt(),c=Ie(e,Fe(a),o,r===`path`),l=JSON.stringify(c);return S.useEffect(()=>{s(JSON.parse(l),{replace:t,state:n,relative:r})},[s,l,r,t,n]),null}function Wt({basename:e=`/`,children:t=null,location:n,navigationType:r=`POP`,navigator:i,static:a=!1,useTransitions:o}){w(!ht(),`You cannot render a <Router> inside another <Router>. You should never have more than one in your app.`);let s=e.replace(/^\/*/,`/`),c=S.useMemo(()=>({basename:s,navigator:i,static:a,useTransitions:o,future:{}}),[s,i,a,o]);typeof n==`string`&&(n=le(n));let{pathname:l=`/`,search:u=``,hash:d=``,state:f=null,key:p=`default`,mask:m}=n,h=S.useMemo(()=>{let e=Ae(l,s);return e==null?null:{location:{pathname:e,search:u,hash:d,state:f,key:p,mask:m},navigationType:r}},[s,l,u,d,f,p,r,m]);
11return ae(h!=null,`<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`),h==null?null:S.createElement(at.Provider,{value:c},S.createElement(ot.Provider,{children:t,value:h}))}S.Component;var Gt=`get`,Kt=`application/x-www-form-urlencoded`;function qt(e){return typeof HTMLElement<`u`&&e instanceof HTMLElement}function Jt(e){return qt(e)&&e.tagName.toLowerCase()===`button`}function Yt(e){return qt(e)&&e.tagName.toLowerCase()===`form`}function Xt(e){return qt(e)&&e.tagName.toLowerCase()===`input`}function Zt(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Qt(e,t){return e.button===0&&(!t||t===`_self`)&&!Zt(e)}var $t=null;function en(){if($t===null)try{new FormData(document.createElement(`form`),0),$t=!1}catch{$t=!0}return $t}var tn=new Set([`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`]);function nn(e){return e!=null&&!tn.has(e)?(ae(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Kt}"`),null):e}function rn(e,t){let n,r,i,a,o;if(Yt(e)){let o=e.getAttribute(`action`);r=o?Ae(o,t):null,n=e.getAttribute(`method`)||Gt,i=nn(e.getAttribute(`enctype`))||Kt,a=new FormData(e)}else if(Jt(e)||Xt(e)&&(e.type===`submit`||e.type===`image`)){let o=e.form;if(o==null)throw Error(`Cannot submit a <button> or <input type="submit"> without a <form>`);let s=e.getAttribute(`formaction`)||o.getAttribute(`action`);if(r=s?Ae(s,t):null,n=e.getAttribute(`formmethod`)||o.getAttribute(`method`)||Gt,i=nn(e.getAttribute(`formenctype`))||nn(o.getAttribute(`enctype`))||Kt,a=new FormData(o,e),!en()){let{name:t,type:n,value:r}=e;if(n===`image`){let e=t?`${t}.`:``;a.append(`${e}x`,`0`),a.append(`${e}y`,`0`)}else t&&a.append(t,r)}}else if(qt(e))throw Error(`Cannot submit element that is not <form>, <button>, or <input type="submit|image">`);else n=Gt,r=null,i=Kt,o=e;return a&&i===`text/plain`&&(o=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:o}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);function an(e,t){if(e===!1||e==null)throw Error(t)}function on(e,t,n,r){let i=typeof e==`string`?new URL(e,typeof window>`u`?`server://singlefetch/`:window.location.origin):e;return n?i.pathname.endsWith(`/`)?i.pathname=`${i.pathname}_.${r}`:i.pathname=`${i.pathname}.${r}`:i.pathname===`/`?i.pathname=`_root.${r}`:t&&Ae(i.pathname,t)===`/`?i.pathname=`${ze(t)}/_root.${r}`:i.pathname=`${ze(i.pathname)}.${r}`,i}async function sn(e,t){if(e.id in t)return t[e.id];try{let n=await x(()=>import(e.module),[]);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function cn(e){return e!=null&&typeof e.page==`string`}function ln(e){return e==null?!1:e.href==null?e.rel===`preload`&&typeof e.imageSrcSet==`string`&&typeof e.imageSizes==`string`:typeof e.rel==`string`&&typeof e.href==`string`}async function un(e,t,n){return hn((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await sn(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(ln).filter(e=>e.rel===`stylesheet`||e.rel===`preload`).map(e=>e.rel===`stylesheet`?{...e,rel:`prefetch`,as:`style`}:{...e,rel:`prefetch`}))}function dn(e,t,n,r,i,a){let o=(e,t)=>!n[t]||e.route.id!==n[t].route.id,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith(`*`)&&n[t].params[`*`]!==e.params[`*`];return a===`assets`?t.filter((e,t)=>o(e,t)||s(e,t)):a===`data`?t.filter((t,a)=>{let c=r.routes[t.route.id];if(!c||!c.hasLoader)return!1;if(o(t,a)||s(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if(typeof r==`boolean`)return r}return!0}):[]}function fn(e,t,{includeHydrateFallback:n}={}){return pn(e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let i=[r.module];return r.clientActionModule&&(i=i.concat(r.clientActionModule)),r.clientLoaderModule&&(i=i.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(i=i.concat(r.hydrateFallbackModule)),r.imports&&(i=i.concat(r.imports)),i}).flat(1))}function pn(e){return[...new Set(e)]}function mn(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function hn(e,t){let n=new Set,r=new Set(t);return e.reduce((e,i)=>{if(t&&!cn(i)&&i.as===`script`&&i.href&&r.has(i.href))return e;let a=JSON.stringify(mn(i));return n.has(a)||(n.add(a),e.push({key:a,link:i})),e},[])}function gn(){let e=S.useContext(Qe);return an(e,`You must render this element inside a <DataRouterContext.Provider> element`),e}function _n(){let e=S.useContext($e);return an(e,`You must render this element inside a <DataRouterStateContext.Provider> element`),e}var vn=S.createContext(void 0);vn.displayName=`FrameworkContext`;
11function yn(){let e=S.useContext(vn);return an(e,`You must render this element inside a <HydratedRouter> element`),e}function bn(e,t){let n=S.useContext(vn),[r,i]=S.useState(!1),[a,o]=S.useState(!1),{onFocus:s,onBlur:c,onMouseEnter:l,onMouseLeave:u,onTouchStart:d}=t,f=S.useRef(null);S.useEffect(()=>{if(e===`render`&&o(!0),e===`viewport`){let e=new IntersectionObserver(e=>{e.forEach(e=>{o(e.isIntersecting)})},{threshold:.5});return f.current&&e.observe(f.current),()=>{e.disconnect()}}},[e]),S.useEffect(()=>{if(r){let e=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(e)}}},[r]);let p=()=>{i(!0)},m=()=>{i(!1),o(!1)};return n?e===`intent`?[a,f,{onFocus:xn(s,p),onBlur:xn(c,m),onMouseEnter:xn(l,p),onMouseLeave:xn(u,m),onTouchStart:xn(d,p)}]:[a,f,{}]:[!1,f,{}]}function xn(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function Sn({page:e,...t}){let n=tt(),{nonce:r}=yn(),{router:i}=gn(),a=S.useMemo(()=>ue(i.routes,e,i.basename),[i.routes,e,i.basename]);return a?(t.nonce==null&&r&&(t={...t,nonce:r}),n?S.createElement(wn,{page:e,matches:a,...t}):S.createElement(Tn,{page:e,matches:a,...t})):null}function Cn(e){let{manifest:t,routeModules:n}=yn(),[r,i]=S.useState([]);return S.useEffect(()=>{let r=!1;
11return un(e,t,n).then(e=>{r||i(e)}),()=>{r=!0}},[e,t,n]),r}function wn({page:e,matches:t,...n}){let r=gt(),{future:i}=yn(),{basename:a}=gn(),o=S.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=on(e,a,i.v8_trailingSlashAwareDataRequests,`rsc`),o=!1,s=[];for(let e of t)typeof e.route.shouldRevalidate==`function`?o=!0:s.push(e.route.id);return o&&s.length>0&&n.searchParams.set(`_routes`,s.join(`,`)),[n.pathname+n.search]},[a,i.v8_trailingSlashAwareDataRequests,e,r,t]);return S.createElement(S.Fragment,null,o.map(e=>S.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})))}function Tn({page:e,matches:t,...n}){let r=gt(),{future:i,manifest:a,routeModules:o}=yn(),{basename:s}=gn(),{loaderData:c,matches:l}=_n(),u=S.useMemo(()=>dn(e,t,l,a,r,`data`),[e,t,l,a,r]),d=S.useMemo(()=>dn(e,t,l,a,r,`assets`),[e,t,l,a,r]),f=S.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,l=!1;if(t.forEach(e=>{let t=a.routes[e.route.id];!t||!t.hasLoader||(!u.some(t=>t.route.id===e.route.id)&&e.route.id in c&&o[e.route.id]?.shouldRevalidate||t.hasClientLoader?l=!0:n.add(e.route.id))}),n.size===0)return[];let d=on(e,s,i.v8_trailingSlashAwareDataRequests,`data`);return l&&n.size>0&&d.searchParams.set(`_routes`,t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(`,`)),[d.pathname+d.search]},[s,i.v8_trailingSlashAwareDataRequests,c,r,a,u,t,e,o]),p=S.useMemo(()=>fn(d,a),[d,a]),m=Cn(d);return S.createElement(S.Fragment,null,f.map(e=>S.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})),p.map(e=>S.createElement(`link`,{key:e,rel:`modulepreload`,href:e,...n})),m.map(({key:e,link:t})=>S.createElement(`link`,{key:e,nonce:n.nonce,...t,crossOrigin:t.crossOrigin??n.crossOrigin})))}function En(...e){return t=>{e.forEach(e=>{typeof e==`function`?e(t):e!=null&&(e.current=t)})}}S.Component;var Dn=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;try{Dn&&(window.__reactRouterVersion=`7.18.1`)}catch{}function On({basename:e,children:t,useTransitions:n,window:r}){let i=S.useRef();i.current??(i.current=ie({window:r,v5Compat:!0}));let a=i.current,[o,s]=S.useState({action:a.action,location:a.location}),c=S.useCallback(e=>{n===!1?s(e):S.startTransition(()=>s(e))},[n]);return S.useLayoutEffect(()=>a.listen(c),[a,c]),S.createElement(Wt,{basename:e,children:t,location:o.location,navigationType:o.action,navigator:a,useTransitions:n})}var kn=S.forwardRef(function({onClick:e,discover:t=`render`,prefetch:n=`none`,relative:r,reloadDocument:i,replace:a,mask:o,state:s,target:c,to:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m){let{basename:h,navigator:g,useTransitions:_}=S.useContext(at),v=typeof l==`string`&&C.test(l),y=qe(l,h);l=y.to;let b=mt(l,{relative:r}),x=gt(),ee=null;if(o){let e=Ie(o,[],x.mask?x.mask.pathname:`/`,!0);h!==`/`&&(e.pathname=e.pathname===`/`?h:Re([h,e.pathname])),ee=g.createHref(e)}let[te,ne,re]=bn(n,p),ie=Pn(l,{replace:a,mask:o,state:s,target:c,preventScrollReset:u,relative:r,viewTransition:d,defaultShouldRevalidate:f,useTransitions:_});function w(t){e&&e(t),t.defaultPrevented||ie(t)}let ae=!(y.isExternal||i),oe=S.createElement(`a`,{...p,...re,href:(ae?ee:void 0)||y.absoluteURL||b,onClick:ae?w:e,ref:En(m,ne),target:c,"data-discover":!v&&t===`render`?`true`:void 0});return te&&!v?S.createElement(S.Fragment,null,oe,S.createElement(Sn,{page:b})):oe});kn.displayName=`Link`;var An=S.forwardRef(function({"aria-current":e=`page`,caseSensitive:t=!1,className:n=``,end:r=!1,style:i,to:a,viewTransition:o,children:s,...c},l){let u=St(a,{relative:c.relative}),d=gt(),f=S.useContext($e),{navigator:p,basename:m}=S.useContext(at),h=f!=null&&zn(u)&&o===!0,g=p.encodeLocation?p.encodeLocation(u).pathname:u.pathname,_=d.pathname,v=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;t||(_=_.toLowerCase(),v=v?v.toLowerCase():null,g=g.toLowerCase()),v&&m&&(v=Ae(v,m)||v);let y=g!==`/`&&g.endsWith(`/`)?g.length-1:g.length,b=_===g||!r&&_.startsWith(g)&&_.charAt(y)===`/`,x=v!=null&&(v===g||!r&&v.startsWith(g)&&v.charAt(g.length)===`/`),C={isActive:b,isPending:x,isTransitioning:h},ee=b?e:void 0,te;te=typeof n==`function`?n(C):[n,b?`active`:null,x?`pending`:null,h?`transitioning`:null].filter(
11Boolean).join(` `);let ne=typeof i==`function`?i(C):i;return S.createElement(kn,{...c,"aria-current":ee,className:te,ref:l,style:ne,to:a,viewTransition:o},typeof s==`function`?s(C):s)});An.displayName=`NavLink`;var jn=S.forwardRef(({discover:e=`render`,fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:a,method:o=Gt,action:s,onSubmit:c,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m)=>{let{useTransitions:h}=S.useContext(at),g=Ln(),_=Rn(s,{relative:l}),v=o.toLowerCase()===`get`?`get`:`post`,y=typeof s==`string`&&C.test(s);return S.createElement(`form`,{ref:m,method:v,action:_,onSubmit:r?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,s=r?.getAttribute(`formmethod`)||o,p=()=>g(r||e.currentTarget,{fetcherKey:t,method:s,navigate:n,replace:i,state:a,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f});h&&n!==!1?S.startTransition(()=>p()):p()},...p,"data-discover":!y&&e===`render`?`true`:void 0})});jn.displayName=`Form`;function Mn(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Nn(e){let t=S.useContext(Qe);return w(t,Mn(e)),t}function Pn(e,{target:t,replace:n,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c,useTransitions:l}={}){let u=yt(),d=gt(),f=St(e,{relative:o});return S.useCallback(p=>{if(Qt(p,t)){p.preventDefault();let t=n===void 0?ce(d)===ce(f):n,m=()=>u(e,{replace:t,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c});l?S.startTransition(()=>m()):m()}},[d,u,f,n,r,i,t,e,a,o,s,c,l])}var Fn=0,In=()=>`__${String(++Fn)}__`;function Ln(){let{router:e}=Nn(`useSubmit`),{basename:t}=S.useContext(at),n=Lt(),r=e.fetch,i=e.navigate;return S.useCallback(async(e,a={})=>{let{action:o,method:s,encType:c,formData:l,body:u}=rn(e,t);if(a.navigate===!1){let e=a.fetcherKey||In();await r(e,n,a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,flushSync:a.flushSync})}else await i(a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,i,t,n])}function Rn(e,{relative:t}={}){let{basename:n}=S.useContext(at),r=S.useContext(st);w(r,`useFormAction must be used inside a RouteContext`);let[i]=r.matches.slice(-1),a={...St(e||`.`,{relative:t})},o=gt();if(e==null){a.search=o.search;let e=new URLSearchParams(a.search),t=e.getAll(`index`);if(t.some(e=>e===``)){e.delete(`index`),t.filter(e=>e).forEach(t=>e.append(`index`,t));let n=e.toString();a.search=n?`?${n}`:``}}return(!e||e===`.`)&&i.route.index&&(a.search=a.search?a.search.replace(/^\?/,`?index&`):`?index`),n!==`/`&&(a.pathname=a.pathname===`/`?n:Re([n,a.pathname])),ce(a)}function zn(e,{relative:t}={}){let n=S.useContext(nt);w(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Nn(`useViewTransitionState`),i=St(e,{relative:t});if(!n.isTransitioning)return!1;let a=Ae(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=Ae(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Ee(i.pathname,o)!=null||Ee(i.pathname,a)!=null}var Bn=_(),Vn=`development`,Hn=Function(`try {return this===window;}catch(e){ return false;}`)(),Un=Function(`try {return this===global;}catch(e){return false;}`)(),Wn=typeof process<`u`&&!!{}.VITEST_WORKER_ID,Gn=`production`,Kn=`staging`,qn=`testing`,Jn=`development`;if(Wn)Jn=qn;else if(Hn)if(window.WAITERIO_ENV)Jn=window.WAITERIO_ENV;else if(window.location.hostname.indexOf(`staging`)!==-1)Jn=Kn;else{let e=(window?.location?.hostname||``).split(`.`),t=e[e.length-1];(t===`com`||t===`io`||t===`cloud`||t===`style`||t===`support`)&&(Jn=Gn)}else Un&&{}.WAITERIO_ENV?Jn={}.WAITERIO_ENV:Un&&(Jn=`production`);var Yn=Jn,Xn=Yn===Vn;function Zn(){let e;return typeof window<`u`&&(e=window?.navigator?.languages?.[0],(!e||!e.length)&&(e=window?.navigator?.language||window?.navigator?.userLanguage),e===`fil`&&(e=`tl`),e&&e.length>=2&&(e=e.substring(0,2)),e===`in`?e=`id`:e===`ji`?e=`yi`:e===`jw`?e=`jv`:e===`iw`?e=`he`:(e===`nb`||e===`nn`)&&(e=`no`)),e}var Qn={authrice:{staging:`authrice-staging.com`,production:`authrice.com`},waiterio:{staging:`waiterio-staging.com`,production:`waiterio.com`},tiramisu:{staging:`tiramisu-staging.cloud`,production:`tiramisu.cloud`},imagelato:{staging:`imagelato-staging.com`,production:`imagelato.com`},metricsmage:{staging:`metricsmage-staging.com`,production:`metricsmage.com`},multilocale:{staging:`multilocale-staging.com`,production:`multilocale.com`},polyblog:{staging:`polyblog-staging.io`,production:`polyblog.io`},supovia:{staging:`supovia-staging.com`,production:`supovia.com`},croncool:{staging:`croncool-staging.com`,production:`cron.cool`},churncatcher:{staging:`churncatcher-staging.com`,production:`churncatcher.com`},dododentist:{staging:`dododentist-staging.com`,production:`dododentist.com`},appskyline:{staging:`appskyline-staging.com`,production:`appskyline.com`},veterical:{staging:`veterical-staging.com`,production:`veterical.com`},wapiworld:{staging:`wapiworld-staging.com`,production:`wapiworld.com`},prosperanova:{staging:`prosperanova-staging.com`,production:`prosperanova.com`},dbmuse:{staging:`dbmuse-staging.com`,production:`dbmuse.com`},gammainvestments:{staging:`gammainvestments-staging.cc`,production:`gammainvestments.cc`},invoicevista:{staging:``,production:`invoicevista.com`},iterola:{staging:`iterola-staging.com`,production:`iterola.com`},hairdora:{staging:`hairdora-staging.com`,production:`hairdora.com`},doctofam:{staging:`doctofam-staging.com`,production:`doctofam.com`},hotelumo:{staging:`hotelumo-staging.com`,production:`hotelumo.com`},barberbrio:{staging:`barberbrio-staging.com`,production:`barberbrio.com`},bonitabook:{staging:`bonitabook-staging.com`,production:`bonitabook.com`},gymflexa:{staging:`gymflexa-staging.com`,production:`gymflexa.c
11om`},opticalora:{staging:`opticalora-staging.com`,production:`opticalora.com`},mechaniczen:{staging:`mechaniczen-staging.com`,production:`mechaniczen.com`},pharmaphoria:{staging:`pharmaphoria-staging.com`,production:`pharmaphoria.com`},tutorializer:{staging:`tutorializer-staging.com`,production:`tutorializer.com`},pushello:{staging:`pushello-staging.com`,production:`pushello.com`},socketino:{staging:`socketino-staging.com`,production:`socketino.com`}},$n=Yn===Kn,er=Yn===qn,tr={authrice:1,waiterio:2,tiramisu:3,imagelato:4,metricsmage:5,multilocale:6,polyblog:7,supovia:11,croncool:16,churncatcher:21,dododentist:22,appskyline:23,veterical:24,wapiworld:25,prosperanova:26,dbmuse:27,gammainvestments:28,invoicevista:29,hairdora:30,doctofam:31,hotelumo:32,barberbrio:33,bonitabook:34,gymflexa:35,opticalora:36,mechaniczen:37,pharmaphoria:38,tutorializer:39,pushello:40,socketino:41,iterola:42},nr={www:1,app:2,api:3,whitelabel:6,analytics:7,tutorials:8,fastlane:9,workflows:10},rr={appskyline:{mcp:4,"analytics-mcp":5,images:12},authrice:{mcp:4},croncool:{mcp:4},dbmuse:{mcp:4},doctofam:{images:4,mcp:5,"analytics-mcp":11},dododentist:{images:4,mcp:5,"analytics-mcp":11,"receptionist-mcp":12},gymflexa:{images:4,mcp:5,"analytics-mcp":11},hairdora:{images:4,mcp:5,"analytics-mcp":11},hotelumo:{images:4,mcp:5,"analytics-mcp":11},imagelato:{mcp:4},invoicevista:{mcp:4,"analytics-mcp":5},metricsmage:{script:4,mcp:5},multilocale:{mcp:4,developers:5},polyblog:{mcp:4,"analytics-mcp":5},prosperanova:{mcp:4},pushello:{mcp:4},socketino:{mcp:4},supovia:{widget:4,images:5,intelligence:6,mascot:11,mcp:12,"analytics-mcp":13},tiramisu:{mcp:4},tutorializer:{mcp:4,"analytics-mcp":5},veterical:{images:4,mcp:5,"analytics-mcp":11},waiterio:{images:8,install:4,geo:5,tutorials:11,unsubscribe:13,blog:14,docs:15},wapiworld:{mcp:4}},ir=Object.keys(tr),ar={};for(let e=0;e<ir.length;e+=1){let t=ir[e];ar[t]={};let n=rr[t]??{},r={...nr,...n},i=Object.keys(r);for(let e=0;e<i.length;e+=1){let n=i[e],a=tr[t],o=r[n],s,c;if(o<10)s=`${a}${o}`,c=`${s}00`,s+=`${s.slice(-2)}`;else{let e=`${a}${o}`;c=`${e}0`,s=`${e}1`}ar[t][n]={client:s,server:c}}}var or=new Set([`app`,`intelligence`,`mascot`,`script`,`tutorials`,`widget`,`www`]);function sr(e){return or.has(e)?`client`:`server`}for(let e=0;e<ir.length;e+=1){let t=ir[e];ar[t].windows={cdpPort:String(9200+tr[t])}}function cr({product:e,service:t,client:n=!1,server:r=!1,subdomain:i,forcedEnvironment:a}){!t&&i&&(t=`whitelabel`),i||(i=t);let{staging:o,production:s}=Qn[e],c=`https://${i}.${o}`,l=`https://${i}.${s}`,u=l,d=`${e.toUpperCase()}_${t.toUpperCase()}_URL`;if(Hn&&window[d]===`{{{${d}}}}`&&delete window[d],Un&&{}[d]===`{{{${d}}}}`&&delete{}[d],Hn&&window[d])u=`${window[d]}`;else if(Un&&{}[d])u={}[d];else if(a===`production`)u=l;else if($n||a===`staging`)u=c;else if(Xn||er)if(Un){let i;i=n?`client`:r?`server`:sr(t),u=`http://localhost:${ar[e][t]?.[i]??ar[e][t]}`}else if(typeof window<`u`&&window.location){let a=window.location.hostname;if(/^\d{1,3}(\.\d{1,3}){3}$/.test(a)){let i;i=n?`client`:r?`server`:sr(t);let o=ar[e][t]?.[i]??ar[e][t];u=`${window.location.protocol?.replace(`:`,``)||`http`}://${a}:${o}`}else{let t=a.split(`.`),n=t.length>=3?t.slice(2).join(`.`):`localhost`;u=`${window.location.protocol?.replace(`:`,``)||(n===`localhost`?`http`:`https`)}://${i}.${e}.${n}`}}else u=`http://${i}.${e}.localhost`;return u}var lr=`multilocale`;function ur(e){return cr({product:lr,service:`api`,...e})}var dr=null;function fr(){return dr}function pr(e){e&&typeof e==`object`?(Object.keys(e).forEach(t=>{this[t]=e[t]}),typeof navigator<`u`&&typeof navigator.onLine==`boolean`&&!navigator.onLine?this.message=`No Internet connection`:e.message===`Failed to fetch`?this.message=`A network error occurred`:e.message?this.message=e.message:(e.status&&(this.message+=e.status,e.body&&(this.message+=` `)),e.body&&(typeof e.body==`object`?e.body.string?this.message+=e.body.string:this.message+=JSON.stringify(e.body):this.message+=e.body))):e&&typeof e==`string`?this.message=e:this.message=``,this.name=`ClientError`}pr.prototype=Error.prototype,pr.prototype.toString=function(){return this.message};function mr(e){let t=``;if(e?.method&&(t+=`${e.method} `),e?.url&&(t+=`${e.url} `),e?.status&&(t+=`${e.status} `),e?.name&&(t+=`${e.name} `),e?.message){let n=e.message;n=n.split(`
12`).map(e=>`\t${e}`).join(`
13`),t+=`\nMESSAGE\n${n}`}if(e?.stack){let n=e.stack;n=n.split(`
14`).map(e=>`\t${e}`).join(`
15`),t+=`\nSTACK\n${n}`}throw t=t.trim(),console.error(t),new pr(e)}function hr(e,t){return fetch(e).then(e=>e.ok?e.json():e.json().then(e=>{throw e})).catch(t||mr)}var gr=null;function _r(){let e;if(gr)try{e=JSON.parse(atob(gr.split(`.`)[1]))}catch(e){console.error(e)}return e}function vr(){let e=!0;try{let t=_r(),n=Math.floor(Date.now()/1e3);t.exp>n&&(e=!1)}catch(e){console.error(e)}return e}function yr(){return gr}function br(e){let t=e;gr!==t&&(gr=t)}var xr=null;function Sr(){let e=!0;try{if(xr){let t=JSON.parse(atob(xr.split(`.`)[1])),n=Math.floor(Date.now()/1e3);t.exp>n&&(e=!1)}}catch(e){console.error(e)}return e}function Cr(){return xr}function wr(e){xr=e}var Tr=!1;function Er(){typeof window<`u`&&!Tr&&(Tr=!0,window.location.href=`/logout`)}async function Dr(){let e=yr();
15if(e&&vr()){if(Sr())throw Er(),Error(`refresh token has expired`);{let t=Cr(),n=`${ur()}/api/refresh-access-token`,r;try{let e=await fetch(n,{method:`POST`,headers:{Authorization:`Token ${btoa(t)}`}});if(!e.ok){let t=await e.json().catch(()=>({}));if(e.status===401||/jwt expired/i.test(t.message||``)){Er();let n=Error(`refresh token rejected: ${t.message||e.statusText||e.status}`);throw n.status=e.status,n.cause=t,n}let n=Error(t.message||e.statusText||`${e.status}`);throw n.status=t.status||e.status,n.cause=t,n}r=await e.json()}catch(e){throw console.log(e),e}e=r.accessToken,t=r.refreshToken,br(e),wr(t)}}return e}async function Or(e,t){if(e.headers||(e.headers={}),e.headers.Accept=e.headers.Accept||`application/json`,e.headers[`Content-Type`]=e.headers[`Content-Type`]||`application/json`,!e.headers.Authorization){let t=fr();if(t)e.headers.Authorization=`Basic ${btoa(t)}`;else{let t=await Dr();e.headers.Authorization=`Token ${btoa(t||``)}`}}let n=`${ur()}/api/${e.url}`;return fetch(n,{method:e.method,headers:e.headers,body:JSON.stringify(e.body)}).then(e=>e.ok?e.json():e.url.startsWith(`https://s3.amazonaws.com`)?hr(e.url):e.json().then((t={})=>{throw t.status||(t.status=e.status),t.message||(t.message=e.statusText),t})).catch(r=>{if(e.retries>0){let i=e.retried||0;console.info(`retrying http ${e.method} ${n} after error ${r.toString()} (${e.retries} retries left)`);let a=4**i*1e3;return new Promise(e=>{setTimeout(e,a)}).then(()=>Or({...e,retries:e.retries-1,retried:i+1},t))}return t?t(r):mr(r)})}function kr(e,t){return e.method=`GET`,Or(e,t)}function Ar(e,t){let n=`phrases`;return n+=`?${new URLSearchParams(e).toString()}`,kr({retries:3,...t,url:n}).catch(e=>{throw Error(`Couldn't get phrases \n${e}`,{cause:e})})}var jr=e=>JSON.stringify(e).replaceAll(`<`,`\\u003c`).replaceAll(`\u2028`,`\\u2028`).replaceAll(`\u2029`,`\\u2029`),Mr=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),O=l(o(((e,t)=>{t.exports=Mr()}))(),1),Nr,Pr=new Set,Fr,Ir,Lr={},Rr,zr,Br,Vr={},Hr=e=>{let t={};typeof window<`u`&&window.__MULTILOCALE_CACHE__&&(t=window.__MULTILOCALE_CACHE__),typeof window>`u`&&(Lr={},Vr={},Br=void 0),Nr=e.defaultLanguage,Fr=e.organizationId,Ir=e.project,e.dictionaries?Lr=e.dictionaries:t?.dictionaries&&Object.keys(Lr).length===0&&(Lr=t.dictionaries)},Ur=()=>Nr,Wr=e=>(Pr.add(e),()=>Pr.delete(e)),Gr=Hr,Kr=e=>{let t;try{t=(0,S.useSyncExternalStore)(Wr,Ur,Ur)}catch{t=Ur()}let n=e||t||Zn()||`en`,r=typeof window<`u`,i=Lr[n]===void 0||r&&Lr[n]&&Object.keys(Lr[n]).length===0;if(Fr&&Ir&&!Br&&i&&!Vr[n]){Rr=!0;let e;Br=Promise.race([Ar({organizationId:Fr,language:n,project:Ir,fields:[`key`,`value`,`language`]},{retries:1}),new Promise((t,r)=>{e=setTimeout(()=>r(Error(`getPhrases timed out for ${n}`)),15e3)})]).then(t=>{clearTimeout(e),Lr[n]||(Lr[n]={}),t.forEach(e=>{Lr[e.language]||(Lr[e.language]={}),Lr[e.language][e.key]=e.value}),Vr[n]=!0,Br=null,Rr=!1}).catch(t=>(clearTimeout(e),zr=t,console.error(zr),Vr[n]=!0,Br=null,Rr=!1,Lr[n]||(Lr[n]={}),null))}if(Rr)throw Br;{let e=(e,t)=>{let r=``;return Lr?.[n]?.[e]?r=Lr[n][e]:t?.length>=0?r=t:e?.startsWith(`__`)&&e?.endsWith(`__`)||(r=e),r},t=(t,n)=>{let r=t?.toString?.();return r=r?.length?r:n||`An error occurred`,r=e(r,n),t?.variables&&Object.keys(t.variables||{}).forEach(n=>{r=r.replace(`{${n}}`,e(t.variables[n]))}),r+=t?.cause?.message?`:\n${e(t.cause.message)}`:``,r},r=(n,r)=>n&&n instanceof Error?t(n,r):n&&typeof n==`string`?e(n,r):r,i=()=>(0,O.jsx)(`script`,{dangerouslySetInnerHTML:{__html:`window.__MULTILOCALE_CACHE__ = ${jr({dictionaries:{[n]:Lr[n]}})};`}});return{language:n,t:r,translate:r,Cache:i,MultilocaleCache:i}}},qr=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Jr=typeof window>`u`||`Deno`in window;function Yr(){}function Xr(e,t){return typeof e==`function`?e(t):e}function Zr(e){return typeof e==`number`&&e>=0&&e!==1/0}function Qr(e,t){return Math.max(e+(t||0)-Date.now(),0)}function $r(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==ti(o,t.options))return!1}else if(!ri(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i!==void 0&&i!==t.state.fetchStatus||a&&!a(t))}function ei(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(ni(t.options.mutationKey)!==ni(a))return!1}else if(!ri(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function ti(e,t){return(t?.queryKeyHashFn||ni)(e)}function ni(e){return JSON.stringify(e,(e,t)=>si(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function ri(e,t){return e===t?!0:typeof e==typeof t&&e&&t&&typeof e==`object`&&typeof t==`object`?!Object.keys(t).some(n=>!ri(e[n],t[n])):!1}function ii(e,t){if(e===t)return e;let n=oi(e)&&oi(t);if(n||si(e)&&si(t)){let r=n?e.length:Object.keys(e).length,i=n?t:Object.keys(t),a=i.length,o=n?[]:{},s=0;for(let r=0;r<a;r++){let a=n?r:i[r];o[a]=ii(e[a],t[a]),o[a]===e[a]&&s++}return r===a&&s===r?e:o}return t}function ai(e,t){if(e&&!t||t&&!e)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function oi(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function si(e){if(!ci(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;
15return!(!ci(n)||!n.hasOwnProperty(`isPrototypeOf`))}function ci(e){return Object.prototype.toString.call(e)===`[object Object]`}function li(e){return new Promise(t=>{setTimeout(t,e)})}function ui(e){li(0).then(e)}function di(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:ii(e,t)}function fi(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function pi(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}function mi(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}function k(e,t,n){mi(e,t),t.set(e,n)}function A(e,t,n){if(typeof e==`function`?e===t:e.has(t))return arguments.length<3?t:n;throw TypeError(`Private element is not present on this object`)}function j(e,t,n){return e.set(A(e,t),n),n}function M(e,t){return e.get(A(e,t))}var hi,gi,_i,vi=new(hi=new WeakMap,gi=new WeakMap,_i=new WeakMap,class extends qr{constructor(){super(),k(this,hi,void 0),k(this,gi,void 0),k(this,_i,void 0),j(_i,this,e=>{if(!Jr&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}})}onSubscribe(){M(gi,this)||this.setEventListener(M(_i,this))}onUnsubscribe(){this.hasListeners()||(M(gi,this)?.call(this),j(gi,this,void 0))}setEventListener(e){j(_i,this,e),M(gi,this)?.call(this),j(gi,this,e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()}))}setFocused(e){M(hi,this)!==e&&(j(hi,this,e),this.onFocus())}onFocus(){this.listeners.forEach(e=>{e()})}isFocused(){return typeof M(hi,this)==`boolean`?M(hi,this):globalThis.document?.visibilityState!==`hidden`}}),yi,bi,xi,Si=new(yi=new WeakMap,bi=new WeakMap,xi=new WeakMap,class extends qr{constructor(){super(),k(this,yi,!0),k(this,bi,void 0),k(this,xi,void 0),j(xi,this,e=>{if(!Jr&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}})}onSubscribe(){M(bi,this)||this.setEventListener(M(xi,this))}onUnsubscribe(){this.hasListeners()||(M(bi,this)?.call(this),j(bi,this,void 0))}setEventListener(e){j(xi,this,e),M(bi,this)?.call(this),j(bi,this,e(this.setOnline.bind(this)))}setOnline(e){M(yi,this)!==e&&(j(yi,this,e),this.listeners.forEach(t=>{t(e)}))}isOnline(){return M(yi,this)}});function Ci(e){return Math.min(1e3*2**e,3e4)}function wi(e){return(e??`online`)!==`online`||Si.isOnline()}var Ti=class{constructor(e){this.revert=e?.revert,this.silent=e?.silent}};function Ei(e){return e instanceof Ti}function Di(e){let t=!1,n=0,r=!1,i,a,o,s=new Promise((e,t)=>{a=e,o=t}),c=t=>{r||(p(new Ti(t)),e.abort?.())},l=()=>{t=!0},u=()=>{t=!1},d=()=>!vi.isFocused()||e.networkMode!==`always`&&!Si.isOnline(),f=t=>{r||(r=!0,e.onSuccess?.(t),i?.(),a(t))},p=t=>{r||(r=!0,e.onError?.(t),i?.(),o(t))},m=()=>new Promise(t=>{i=e=>{let n=r||!d();return n&&t(e),n},e.onPause?.()}).then(()=>{i=void 0,r||e.onContinue?.()}),h=()=>{if(r)return;let i;try{i=e.fn()}catch(e){i=Promise.reject(e)}Promise.resolve(i).then(f).catch(i=>{if(r)return;let a=e.retry??(Jr?0:3),o=e.retryDelay??Ci,s=typeof o==`function`?o(n,i):o,c=a===!0||typeof a==`number`&&n<a||typeof a==`function`&&a(n,i);if(t||!c){p(i);return}n++,e.onFail?.(n,i),li(s).then(()=>{if(d())return m()}).then(()=>{t?p(i):h()})})};return wi(e.networkMode)?h():m().then(h),{promise:s,cancel:c,continue:()=>i?.()?s:Promise.resolve(),cancelRetry:l,continueRetry:u}}function Oi(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=e=>{let n;t++;try{n=e()}finally{t--,t||s()}return n},a=r=>{t?e.push(r):ui(()=>{n(r)})},o=e=>(...t)=>{a(()=>{e(...t)})},s=()=>{let t=e;e=[],t.length&&ui(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:i,batchCalls:o,schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e}}}var ki=Oi(),Ai,ji=(Ai=new WeakMap,class{constructor(){k(this,Ai,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Zr(this.gcTime)&&j(Ai,this,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Jr?1/0:300*1e3))}
15clearGcTimeout(){M(Ai,this)&&(clearTimeout(M(Ai,this)),j(Ai,this,void 0))}});function Mi(e,t){mi(e,t),t.add(e)}var Ni,Pi,Fi,N,Ii,Li,Ri,zi,Bi,Vi=(Ni=new WeakMap,Pi=new WeakMap,Fi=new WeakMap,N=new WeakMap,Ii=new WeakMap,Li=new WeakMap,Ri=new WeakMap,zi=new WeakMap,Bi=new WeakSet,class extends ji{constructor(e){super(),Mi(this,Bi),k(this,Ni,void 0),k(this,Pi,void 0),k(this,Fi,void 0),k(this,N,void 0),k(this,Ii,void 0),k(this,Li,void 0),k(this,Ri,void 0),k(this,zi,void 0),j(zi,this,!1),j(Ri,this,e.defaultOptions),A(Bi,this,Hi).call(this,e.options),j(Li,this,[]),j(Fi,this,e.cache),this.queryKey=e.queryKey,this.queryHash=e.queryHash,j(Ni,this,e.state||Wi(this.options)),this.state=M(Ni,this),this.scheduleGc()}get meta(){return this.options.meta}optionalRemove(){!M(Li,this).length&&this.state.fetchStatus===`idle`&&M(Fi,this).remove(this)}setData(e,t){let n=di(this.state.data,e,this.options);return A(Bi,this,Ui).call(this,{data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){A(Bi,this,Ui).call(this,{type:`setState`,state:e,setStateOptions:t})}cancel(e){let t=M(N,this);return M(Ii,this)?.cancel(e),t?t.then(Yr).catch(Yr):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(M(Ni,this))}isActive(){return M(Li,this).some(e=>e.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||M(Li,this).some(e=>e.getCurrentResult().isStale)}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!Qr(this.state.dataUpdatedAt,e)}onFocus(){M(Li,this).find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),M(Ii,this)?.continue()}onOnline(){M(Li,this).find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),M(Ii,this)?.continue()}addObserver(e){M(Li,this).includes(e)||(M(Li,this).push(e),this.clearGcTimeout(),M(Fi,this).notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){M(Li,this).includes(e)&&(j(Li,this,M(Li,this).filter(t=>t!==e)),M(Li,this).length||(M(Ii,this)&&(M(zi,this)?M(Ii,this).cancel({revert:!0}):M(Ii,this).cancelRetry()),this.scheduleGc()),M(Fi,this).notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return M(Li,this).length}invalidate(){this.state.isInvalidated||A(Bi,this,Ui).call(this,{type:`invalidate`})}fetch(e,t){if(this.state.fetchStatus!==`idle`){if(this.state.dataUpdatedAt&&t?.cancelRefetch)this.cancel({silent:!0});else if(M(N,this))return M(Ii,this)?.continueRetry(),M(N,this)}if(e&&A(Bi,this,Hi).call(this,e),!this.options.queryFn){let e=M(Li,this).find(e=>e.options.queryFn);e&&A(Bi,this,Hi).call(this,e.options)}let n=new AbortController,r={queryKey:this.queryKey,meta:this.meta},i=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(j(zi,this,!0),n.signal)})};i(r);let a={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>this.options.queryFn?(j(zi,this,!1),this.options.persister?this.options.persister(this.options.queryFn,r,this):this.options.queryFn(r)):Promise.reject(Error(`Missing queryFn: '${this.options.queryHash}'`))};i(a),this.options.behavior?.onFetch(a,this),j(Pi,this,this.state),(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&A(Bi,this,Ui).call(this,{type:`fetch`,meta:a.fetchOptions?.meta});let o=e=>{Ei(e)&&e.silent||A(Bi,this,Ui).call(this,{type:`error`,error:e}),Ei(e)||(M(Fi,this).config.onError?.(e,this),M(Fi,this).config.onSettled?.(this.state.data,e,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return j(Ii,this,Di({fn:a.fetchFn,abort:n.abort.bind(n),onSuccess:e=>{if(e===void 0){o(Error(`${this.queryHash} data is undefined`));return}this.setData(e),M(Fi,this).config.onSuccess?.(e,this),M(Fi,this).config.onSettled?.(e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:o,onFail:(e,t)=>{A(Bi,this,Ui).call(this,{type:`failed`,failureCount:e,error:t})},onPause:()=>{A(Bi,this,Ui).call(this,{type:`pause`})},onContinue:()=>{A(Bi,this,Ui).call(this,{type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode})),j(N,this,M(Ii,this).promise),M(N,this)}});function Hi(e){this.options={...M(Ri,this),...e},this.updateGcTime(this.options.gcTime)}function Ui(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:e.meta??null,fetchStatus:wi(this.options.networkMode)?`fetching`:`paused`,...!t.dataUpdatedAt&&{error:null,status:`pending`}};case`success`:return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:`success`,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};case`error`:let n=e.error;return Ei(n)&&n.revert&&M(Pi,this)?{...M(Pi,this),fetchStatus:`idle`}
15:{...t,error:n,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:`idle`,status:`error`};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),ki.batch(()=>{M(Li,this).forEach(e=>{e.onQueryUpdate()}),M(Fi,this).notify({query:this,type:`updated`,action:e})})}function Wi(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var Gi,Ki=(Gi=new WeakMap,class extends qr{constructor(e={}){super(),k(this,Gi,void 0),this.config=e,j(Gi,this,new Map)}build(e,t,n){let r=t.queryKey,i=t.queryHash??ti(r,t),a=this.get(i);return a||(a=new Vi({cache:this,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){M(Gi,this).has(e.queryHash)||(M(Gi,this).set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=M(Gi,this).get(e.queryHash);t&&(e.destroy(),t===e&&M(Gi,this).delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){ki.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return M(Gi,this).get(e)}getAll(){return[...M(Gi,this).values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>$r(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>$r(e,t)):t}notify(e){ki.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){ki.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){ki.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}}),qi,Ji,Yi,Xi,Zi,Qi=(qi=new WeakMap,Ji=new WeakMap,Yi=new WeakMap,Xi=new WeakMap,Zi=new WeakSet,class extends ji{constructor(e){super(),Mi(this,Zi),k(this,qi,void 0),k(this,Ji,void 0),k(this,Yi,void 0),k(this,Xi,void 0),this.mutationId=e.mutationId,j(Ji,this,e.defaultOptions),j(Yi,this,e.mutationCache),j(qi,this,[]),this.state=e.state||ea(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...M(Ji,this),...e},this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){M(qi,this).includes(e)||(M(qi,this).push(e),this.clearGcTimeout(),M(Yi,this).notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){j(qi,this,M(qi,this).filter(t=>t!==e)),this.scheduleGc(),M(Yi,this).notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){M(qi,this).length||(this.state.status===`pending`?this.scheduleGc():M(Yi,this).remove(this))}continue(){return M(Xi,this)?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>(j(Xi,this,Di({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{A(Zi,this,$i).call(this,{type:`failed`,failureCount:e,error:t})},onPause:()=>{A(Zi,this,$i).call(this,{type:`pause`})},onContinue:()=>{A(Zi,this,$i).call(this,{type:`continue`})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode})),M(Xi,this).promise),n=this.state.status===`pending`;try{if(!n){A(Zi,this,$i).call(this,{type:`pending`,variables:e}),await M(Yi,this).config.onMutate?.(e,this);let t=await this.options.onMutate?.(e);t!==this.state.context&&A(Zi,this,$i).call(this,{type:`pending`,context:t,variables:e})}let r=await t();return await M(Yi,this).config.onSuccess?.(r,e,this.state.context,this),await this.options.onSuccess?.(r,e,this.state.context),await M(Yi,this).config.onSettled?.(r,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(r,null,e,this.state.context),A(Zi,this,$i).call(this,{type:`success`,data:r}),r}catch(t){try{throw await M(Yi,this).config.onError?.(t,e,this.state.context,this),await this.options.onError?.(t,e,this.state.context),await M(Yi,this).config.onSettled?.(void 0,t,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,t,e,this.state.context),t}
15finally{A(Zi,this,$i).call(this,{type:`error`,error:t})}}}});function $i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!wi(this.options.networkMode),status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),ki.batch(()=>{M(qi,this).forEach(t=>{t.onMutationUpdate(e)}),M(Yi,this).notify({mutation:this,type:`updated`,action:e})})}function ea(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var ta,na,ra,ia=(ta=new WeakMap,na=new WeakMap,ra=new WeakMap,class extends qr{constructor(e={}){super(),k(this,ta,void 0),k(this,na,void 0),k(this,ra,void 0),this.config=e,j(ta,this,[]),j(na,this,0)}build(e,t,n){var r;let i=new Qi({mutationCache:this,mutationId:j(na,this,(r=M(na,this),++r)),options:e.defaultMutationOptions(t),state:n});return this.add(i),i}add(e){M(ta,this).push(e),this.notify({type:`added`,mutation:e})}remove(e){j(ta,this,M(ta,this).filter(t=>t!==e)),this.notify({type:`removed`,mutation:e})}clear(){ki.batch(()=>{M(ta,this).forEach(e=>{this.remove(e)})})}getAll(){return M(ta,this)}find(e){let t={exact:!0,...e};return M(ta,this).find(e=>ei(t,e))}findAll(e={}){return M(ta,this).filter(t=>ei(e,t))}notify(e){ki.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){return j(ra,this,(M(ra,this)??Promise.resolve()).then(()=>{let e=M(ta,this).filter(e=>
15e.state.isPaused);return ki.batch(()=>e.reduce((e,t)=>e.then(()=>t.continue().catch(Yr)),Promise.resolve()))}).then(()=>{j(ra,this,void 0)})),M(ra,this)}});function aa(e){return{onFetch:(t,n)=>{let r=async()=>{let n=t.options,r=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],a=t.state.data?.pageParams||[],o={pages:[],pageParams:[]},s=!1,c=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(t.signal.aborted?s=!0:t.signal.addEventListener(`abort`,()=>{s=!0}),t.signal)})},l=t.options.queryFn||(()=>Promise.reject(Error(`Missing queryFn: '${t.options.queryHash}'`))),u=async(e,n,r)=>{if(s)return Promise.reject();if(n==null&&e.pages.length)return Promise.resolve(e);let i={queryKey:t.queryKey,pageParam:n,direction:r?`backward`:`forward`,meta:t.options.meta};c(i);let a=await l(i),{maxPages:o}=t.options,u=r?pi:fi;return{pages:u(e.pages,a,o),pageParams:u(e.pageParams,n,o)}},d;if(r&&i.length){let e=r===`backward`,t=e?sa:oa,o={pages:i,pageParams:a};d=await u(o,t(n,o),e)}else{d=await u(o,a[0]??n.initialPageParam);let t=e??i.length;for(let e=1;e<t;e++){let e=oa(n,d);d=await u(d,e)}}return d};t.options.persister?t.fetchFn=()=>t.options.persister?.(r,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=r}}}function oa(e,{pages:t,pageParams:n}){let r=t.length-1;return e.getNextPageParam(t[r],t,n[r],n)}function sa(e,{pages:t,pageParams:n}){return e.getPreviousPageParam?.(t[0],t,n[0],n)}var P,ca,la,ua,da,fa,pa,ma,ha=(P=new WeakMap,ca=new WeakMap,la=new WeakMap,ua=new WeakMap,da=new WeakMap,fa=new WeakMap,pa=new WeakMap,ma=new WeakMap,class{constructor(e={}){k(this,P,void 0),k(this,ca,void 0),k(this,la,void 0),k(this,ua,void 0),k(this,da,void 0),k(this,fa,void 0),k(this,pa,void 0),k(this,ma,void 0),j(P,this,e.queryCache||new Ki),j(ca,this,e.mutationCache||new ia),j(la,this,e.defaultOptions||{}),j(ua,this,new Map),j(da,this,new Map),j(fa,this,0)}mount(){var e;j(fa,this,(e=M(fa,this),e++,e)),M(fa,this)===1&&(j(pa,this,vi.subscribe(()=>{vi.isFocused()&&(this.resumePausedMutations(),M(P,this).onFocus())})),j(ma,this,Si.subscribe(()=>{Si.isOnline()&&(this.resumePausedMutations(),M(P,this).onOnline())})))}unmount(){var e;j(fa,this,(e=M(fa,this),e--,e)),M(fa,this)===0&&(M(pa,this)?.call(this),j(pa,this,void 0),M(ma,this)?.call(this),j(ma,this,void 0))}isFetching(e){return M(P,this).findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return M(ca,this).findAll({...e,status:`pending`}).length}getQueryData(e){return M(P,this).find({queryKey:e})?.state.data}ensureQueryData(e){let t=this.getQueryData(e.queryKey);return t===void 0?this.fetchQuery(e):Promise.resolve(t)}getQueriesData(e){return this.getQueryCache().findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=M(P,this).find({queryKey:e})?.state.data,i=Xr(t,r);if(i===void 0)return;let a=this.defaultQueryOptions({queryKey:e});return M(P,this).build(this,a).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return ki.batch(()=>this.getQueryCache().findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){return M(P,this).find({queryKey:e})?.state}removeQueries(e){let t=M(P,this);ki.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=M(P,this),r={type:`active`,...e};return ki.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){let n={revert:!0,...t},r=ki.batch(()=>M(P,this).findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(Yr).catch(Yr)}invalidateQueries(e={},t={}){return ki.batch(()=>{if(M(P,this).findAll(e).forEach(e=>{e.invalidate()}),e.refetchType===`none`)return Promise.resolve();let n={...e,type:e.refetchType??e.type??`active`};return this.refetchQueries(n,t)})}refetchQueries(e={},t){let n={...t,cancelRefetch:t?.cancelRefetch??!0},r=ki.batch(()=>M(P,this).findAll(e).filter(e=>!e.isDisabled()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(Yr)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(Yr)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=M(P,this).build(this,t);return n.isStaleByTime(t.staleTime)?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Yr).catch(Yr)}
15fetchInfiniteQuery(e){return e.behavior=aa(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Yr).catch(Yr)}resumePausedMutations(){return M(ca,this).resumePausedMutations()}getQueryCache(){return M(P,this)}getMutationCache(){return M(ca,this)}getDefaultOptions(){return M(la,this)}setDefaultOptions(e){j(la,this,e)}setQueryDefaults(e,t){M(ua,this).set(ni(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...M(ua,this).values()],n={};return t.forEach(t=>{ri(e,t.queryKey)&&(n={...n,...t.defaultOptions})}),n}setMutationDefaults(e,t){M(da,this).set(ni(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...M(da,this).values()],n={};return t.forEach(t=>{ri(e,t.mutationKey)&&(n={...n,...t.defaultOptions})}),n}defaultQueryOptions(e){if(e?._defaulted)return e;let t={...M(la,this).queries,...e?.queryKey&&this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=ti(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),t.networkMode===void 0&&t.persister&&(t.networkMode=`offlineFirst`),t}defaultMutationOptions(e){return e?._defaulted?e:{...M(la,this).mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){M(P,this).clear(),M(ca,this).clear()}}),ga,_a,va,ya,ba,xa,Sa,Ca,wa,Ta,Ea,Da,Oa,ka,Aa,ja=(ga=new WeakMap,_a=new WeakMap,va=new WeakMap,ya=new WeakMap,ba=new WeakMap,xa=new WeakMap,Sa=new WeakMap,Ca=new WeakMap,wa=new WeakMap,Ta=new WeakMap,Ea=new WeakMap,Da=new WeakMap,Oa=new WeakMap,ka=new WeakMap,Aa=new WeakSet,class extends qr{constructor(e,t){super(),Mi(this,Aa),k(this,ga,void 0),k(this,_a,void 0),k(this,va,void 0),k(this,ya,void 0),k(this,ba,void 0),k(this,xa,void 0),k(this,Sa,void 0),k(this,Ca,void 0),k(this,wa,void 0),k(this,Ta,void 0),k(this,Ea,void 0),k(this,Da,void 0),k(this,Oa,void 0),k(this,ka,void 0),j(_a,this,void 0),j(va,this,void 0),j(ya,this,void 0),j(ka,this,new Set),j(ga,this,e),this.options=t,j(Sa,this,null),this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(M(_a,this).addObserver(this),Ha(M(_a,this),this.options)?A(Aa,this,Ma).call(this):this.updateResult(),A(Aa,this,Ia).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Ua(M(_a,this),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Ua(M(_a,this),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,A(Aa,this,La).call(this),A(Aa,this,Ra).call(this),M(_a,this).removeObserver(this)}setOptions(e,t){let n=this.options,r=M(_a,this);if(this.options=M(ga,this).defaultQueryOptions(e),ai(n,this.options)||M(ga,this).getQueryCache().notify({type:`observerOptionsUpdated`,query:M(_a,this),observer:this}),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`)throw Error(`Expected enabled to be a boolean`);this.options.queryKey||(this.options.queryKey=n.queryKey),A(Aa,this,za).call(this);let i=this.hasListeners();i&&Wa(M(_a,this),r,this.options,n)&&A(Aa,this,Ma).call(this),this.updateResult(t),i&&(M(_a,this)!==r||this.options.enabled!==n.enabled||this.options.staleTime!==n.staleTime)&&A(Aa,this,Na).call(this);let a=A(Aa,this,Pa).call(this);i&&(M(_a,this)!==r||this.options.enabled!==n.enabled||a!==M(Oa,this))&&A(Aa,this,Fa).call(this,a)}getOptimisticResult(e){let t=M(ga,this).getQueryCache().build(M(ga,this),e),n=this.createResult(t,e);return Ka(this,n)&&(j(ya,this,n),j(xa,this,this.options),j(ba,this,M(_a,this).state)),n}getCurrentResult(){return M(ya,this)}trackResult(e){let t={};return Object.keys(e).forEach(n=>{Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:()=>(M(ka,this).add(n),e[n])})}),t}getCurrentQuery(){return M(_a,this)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=M(ga,this).defaultQueryOptions(e),n=M(ga,this).getQueryCache().build(M(ga,this),t);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,t))}fetch(e){return A(Aa,this,Ma).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),M(ya,this)))}createResult(e,t){let n=M(_a,this),r=this.options,i=M(ya,this),a=M(ba,this),o=M(xa,this),s=e===n?M(va,this):e.state,{state:c}=e,{error:l,errorUpdatedAt:u,fetchStatus:d,status:f}=c,p=!1,m;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&Ha(e,t),o=i&&Wa(e,n,t,r);(a||o)&&(d=wi(e.options.networkMode)?`fetching`:`paused`,c.dataUpdatedAt||(f=`pending`)),t._optimisticResults===`isRestoring`&&(d=`
15idle`)}if(t.select&&c.data!==void 0)if(i&&c.data===a?.data&&t.select===M(Ca,this))m=M(wa,this);else try{j(Ca,this,t.select),m=t.select(c.data),m=di(i?.data,m,t),j(wa,this,m),j(Sa,this,null)}catch(e){j(Sa,this,e)}else m=c.data;if(t.placeholderData!==void 0&&m===void 0&&f===`pending`){let e;if(i?.isPlaceholderData&&t.placeholderData===o?.placeholderData)e=i.data;else if(e=typeof t.placeholderData==`function`?t.placeholderData(M(Ta,this)?.state.data,M(Ta,this)):t.placeholderData,t.select&&e!==void 0)try{e=t.select(e),j(Sa,this,null)}catch(e){j(Sa,this,e)}e!==void 0&&(f=`success`,m=di(i?.data,e,t),p=!0)}M(Sa,this)&&(l=M(Sa,this),m=M(wa,this),u=Date.now(),f=`error`);let h=d===`fetching`,g=f===`pending`,_=f===`error`,v=g&&h;return{status:f,fetchStatus:d,isPending:g,isSuccess:f===`success`,isError:_,isInitialLoading:v,isLoading:v,data:m,dataUpdatedAt:c.dataUpdatedAt,error:l,errorUpdatedAt:u,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>s.dataUpdateCount||c.errorUpdateCount>s.errorUpdateCount,isFetching:h,isRefetching:h&&!g,isLoadingError:_&&c.dataUpdatedAt===0,isPaused:d===`paused`,isPlaceholderData:p,isRefetchError:_&&c.dataUpdatedAt!==0,isStale:Ga(e,t),refetch:this.refetch}}updateResult(e){let t=M(ya,this),n=this.createResult(M(_a,this),this.options);if(j(ba,this,M(_a,this).state),j(xa,this,this.options),M(ba,this).data!==void 0&&j(Ta,this,M(_a,this)),ai(n,t))return;j(ya,this,n);let r={};e?.listeners!==!1&&(()=>{if(!t)return!0;let{notifyOnChangeProps:e}=this.options,n=typeof e==`function`?e():e;if(n===`all`||!n&&!M(ka,this).size)return!0;let r=new Set(n??M(ka,this));return this.options.throwOnError&&r.add(`error`),Object.keys(M(ya,this)).some(e=>{let n=e;return M(ya,this)[n]!==t[n]&&r.has(n)})})()&&(r.listeners=!0),A(Aa,this,Ba).call(this,{...r,...e})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&A(Aa,this,Ia).call(this)}});function Ma(e){A(Aa,this,za).call(this);let t=M(_a,this).fetch(this.options,e);return e?.throwOnError||(t=t.catch(Yr)),t}function Na(){if(A(Aa,this,La).call(this),Jr||M(ya,this).isStale||!Zr(this.options.staleTime))return;let e=Qr(M(ya,this).dataUpdatedAt,this.options.staleTime)+1;j(Ea,this,setTimeout(()=>{M(ya,this).isStale||this.updateResult()},e))}function Pa(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(M(_a,this)):this.options.refetchInterval)??!1}function Fa(e){A(Aa,this,Ra).call(this),j(Oa,this,e),!(Jr||this.options.enabled===!1||!Zr(M(Oa,this))||M(Oa,this)===0)&&j(Da,this,setInterval(()=>{(this.options.refetchIntervalInBackground||vi.isFocused())&&A(Aa,this,Ma).call(this)},M(Oa,this)))}function Ia(){A(Aa,this,Na).call(this),A(Aa,this,Fa).call(this,A(Aa,this,Pa).call(this))}function La(){M(Ea,this)&&(clearTimeout(M(Ea,this)),j(Ea,this,void 0))}function Ra(){M(Da,this)&&(clearInterval(M(Da,this)),j(Da,this,void 0))}function za(){let e=M(ga,this).getQueryCache().build(M(ga,this),this.options);if(e===M(_a,this))return;let t=M(_a,this);j(_a,this,e),j(va,this,e.state),this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}function Ba(e){ki.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(M(ya,this))}),M(ga,this).getQueryCache().notify({query:M(_a,this),type:`observerResultsUpdated`})})}function Va(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&(e.state.status!==`error`||t.retryOnMount!==!1)}function Ha(e,t){return Va(e,t)||e.state.dataUpdatedAt>0&&Ua(e,t,t.refetchOnMount)}function Ua(e,t,n){if(t.enabled!==!1){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&Ga(e,t)}return!1}function Wa(e,t,n,r){return n.enabled!==!1&&(e!==t||r.enabled===!1)&&(!n.suspense||e.state.status!==`error`)&&Ga(e,n)}function Ga(e,t){return e.isStaleByTime(t.staleTime)}function Ka(e,t){return!ai(e.getCurrentResult(),t)}function qa(e,t,n){if(typeof t!=`object`||!t)return;let r=e.getMutationCache(),i=e.getQueryCache(),a=t.mutations||[],o=t.queries||[];a.forEach(t=>{r.build(e,{...n?.defaultOptions?.mutations,mutationKey:t.mutationKey,meta:t.meta},t.state)}),o.forEach(({queryKey:t,state:r,queryHash:a,meta:o})=>{let s=i.get(a);if(s){if(s.state.dataUpdatedAt<r.dataUpdatedAt){let{fetchStatus:e,...t}=r;s.setState(t)}return}i.build(e,{...n?.defaultOptions?.queries,queryKey:t,queryHash:a,meta:o},{...r,fetchStatus:`idle`})})}var Ja=S.createContext(void 0),Ya=e=>{let t=S.useContext(Ja);if(e)return e;if(!t)throw Error(`No QueryClient set, use QueryClientProvider to set one`);return t},F=({client:e,children:t})=>(S.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),S.createElement(Ja.Provider,{value:e},t)),Xa=S.createContext(!1),Za=()=>S.useContext(Xa);Xa.Provider;function Qa(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}
15var $a=S.createContext(Qa()),eo=()=>S.useContext($a);function to(e,t){return typeof e==`function`?e(...t):!!e}var no=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},ro=e=>{S.useEffect(()=>{e.clearReset()},[e])},io=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&to(n,[e.error,r]),ao=e=>{e.suspense&&typeof e.staleTime!=`number`&&(e.staleTime=1e3)},oo=(e,t)=>e.isLoading&&e.isFetching&&!t,so=(e,t,n)=>e?.suspense&&oo(t,n),co=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function lo(e,t,n){let r=Ya(n),i=Za(),a=eo(),o=r.defaultQueryOptions(e);o._optimisticResults=i?`isRestoring`:`optimistic`,ao(o),no(o,a),ro(a);let[s]=S.useState(()=>new t(r,o)),c=s.getOptimisticResult(o);if(S.useSyncExternalStore(S.useCallback(e=>{let t=i?()=>void 0:s.subscribe(ki.batchCalls(e));return s.updateResult(),t},[s,i]),()=>s.getCurrentResult(),()=>s.getCurrentResult()),S.useEffect(()=>{s.setOptions(o,{listeners:!1})},[o,s]),so(o,c,i))throw co(o,s,a);if(io({result:c,errorResetBoundary:a,throwOnError:o.throwOnError,query:s.getCurrentQuery()}))throw c.error;return o.notifyOnChangeProps?c:s.trackResult(c)}function uo(e,t){return lo(e,ja,t)}function fo(){return new ha({defaultOptions:{queries:{suspense:!0}}})}var po=fo();typeof window<`u`&&window.__REACT_QUERY_STATE__&&qa(po,window.__REACT_QUERY_STATE__);var mo=({children:e,client:t=po})=>(0,O.jsx)(F,{client:t,children:e}),ho=!1;Hn&&window.IS_SCREENSHOTS===`{{{IS_SCREENSHOTS}}}`&&delete window.IS_SCREENSHOTS,Un&&{}.IS_SCREENSHOTS===`{{{IS_SCREENSHOTS}}}`&&delete{}.IS_SCREENSHOTS,Hn&&window.IS_SCREENSHOTS?ho=window.IS_SCREENSHOTS:Un&&{}.IS_SCREENSHOTS&&{}.IS_SCREENSHOTS!==`{{{IS_SCREENSHOTS}}}`&&(ho={}.IS_SCREENSHOTS);var go=ho;function _o(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function vo(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var yo=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(vo(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=_o(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++}
vendor: 10,077 bytes, line 15
15,t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),bo=`-ms-`,xo=`-moz-`,I=`-webkit-`,So=`comm`,Co=`rule`,wo=`decl`,To=`@import`,Eo=`@keyframes`,Do=`@layer`,Oo=Math.abs,ko=String.fromCharCode,Ao=Object.assign;function jo(e,t){return Io(e,0)^45?(((t<<2^Io(e,0))<<2^Io(e,1))<<2^Io(e,2))<<2^Io(e,3):0}function Mo(e){return e.trim()}function No(e,t){return(e=t.exec(e))?e[0]:e}function Po(e,t,n){return e.replace(t,n)}function Fo(e,t){return e.indexOf(t)}function Io(e,t){return e.charCodeAt(t)|0}function Lo(e,t,n){return e.slice(t,n)}function Ro(e){return e.length}function zo(e){return e.length}function Bo(e,t){return t.push(e),e}function Vo(e,t){return e.map(t).join(``)}var Ho=1,Uo=1,Wo=0,Go=0,Ko=0,qo=``;function Jo(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:Ho,column:Uo,length:o,return:``}}function Yo(e,t){return Ao(Jo(``,null,null,``,null,null,0),e,{length:-e.length},t)}function Xo(){return Ko}function Zo(){return Ko=Go>0?Io(qo,--Go):0,Uo--,Ko===10&&(Uo=1,Ho--),Ko}function Qo(){return Ko=Go<Wo?Io(qo,Go++):0,Uo++,Ko===10&&(Uo=1,Ho++),Ko}function $o(){return Io(qo,Go)}function es(){return Go}function ts(e,t){return Lo(qo,e,t)}function ns(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function rs(e){return Ho=Uo=1,Wo=Ro(qo=e),Go=0,[]}function is(e){return qo=``,e}function as(e){return Mo(ts(Go-1,cs(e===91?e+2:e===40?e+1:e)))}function os(e){for(;(Ko=$o())&&Ko<33;)Qo();return ns(e)>2||ns(Ko)>3?``:` `}function ss(e,t){for(;--t&&Qo()&&!(Ko<48||Ko>102||Ko>57&&Ko<65||Ko>70&&Ko<97););return ts(e,es()+(t<6&&$o()==32&&Qo()==32))}function cs(e){for(;Qo();)switch(Ko){case e:return Go;case 34:case 39:e!==34&&e!==39&&cs(Ko);break;case 40:e===41&&cs(e);break;case 92:Qo();break}return Go}function ls(e,t){for(;Qo()&&e+Ko!==57&&(e+Ko!==84||$o()!==47););return`/*`+ts(t,Go-1)+`*`+ko(e===47?e:Qo())}function us(e){for(;!ns($o());)Qo();return ts(e,Go)}function ds(e){return is(fs(``,null,null,null,[``],e=rs(e),0,[0],e))}function fs(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=Qo()){case 40:if(m!=108&&Io(C,d-1)==58){Fo(C+=Po(as(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=as(v);break;case 9:case 10:case 13:case 32:C+=os(m);break;case 92:C+=ss(es()-1,7);continue;case 47:switch($o()){case 42:case 47:Bo(ms(ls(Qo(),es()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=Ro(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=Po(C,/\f/g,``)),p>0&&Ro(C)-d&&Bo(p>32?hs(C+`;`,r,n,d-1):hs(Po(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(Bo(S=ps(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123)if(u===0)fs(C,t,S,S,b,a,d,s,x);else switch(f===99&&Io(C,3)===110?100:f){case 100:case 108:case 109:case 115:fs(e,S,S,r&&Bo(ps(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:fs(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+Ro(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&Zo()==125)continue}switch(C+=ko(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(Ro(C)-1)*_,_=1;break;case 64:$o()===45&&(C+=as(Qo())),f=$o(),u=d=Ro(y=C+=us(es())),v++;break;case 45:m===45&&Ro(C)==2&&(h=0)}}return a}function ps(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=zo(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=Lo(e,d+1,d=Oo(h=o[m])),y=e;_<p;++_)(y=Mo(h>0?f[_]+` `+v:Po(v,/&\f/g,f[_])))&&(c[g++]=y);return Jo(e,t,n,i===0?Co:s,c,l,u)}function ms(e,t,n){return Jo(e,t,n,So,ko(Xo()),Lo(e,2,-2),0)}function hs(e,t,n,r){return Jo(e,t,n,wo,Lo(e,0,r),Lo(e,r+1,-1),r)}function gs(e,t){for(var n=``,r=zo(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function _s(e,t,n,r){switch(e.type){case Do:if(e.children.length)break;case To:case wo:return e.return=e.return||e.value;case So:return``;case Eo:return e.return=e.value+`{`+gs(e.children,r)+`}`;case Co:e.value=e.props.join(`,`)}return Ro(n=gs(e.children,r))?e.return=e.value+`{`+n+`}`:``}function vs(e){var t=zo(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function ys(e){return function(t){t.root||(t=t.return)&&e(t)}}function bs(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var xs=function(e,t,n){for(var r=0,i=0;r=i,i=$o(),r===38&&i===12&&(t[n]=1),!ns(i);)Qo();return ts(e,Go)},Ss=function(e,t){var n=-1,r=44;do switch(ns(r)){case 0:r===38&&$o()===12&&(t[n]=1),e[n]+=xs(Go-1,t,n);break;case 2:e[n]+=as(r);break;case 4:if(r===44){e[++n]=$o()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=ko(r)}while(r=Qo());return e},Cs=function(e,t){return is(Ss(rs(e),t))},ws=new WeakMap,Ts=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!ws.get(n))&&!r){ws.set(e,!0);for(var i=[],a=Cs(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},Es=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function Ds(e,t){switch(jo(e,t)){case 5103:return I+`print-`+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return I+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return I+e+xo+e+bo+e+e;case 6828:case 4268:return I+e+bo+e+e;case 6165:return I+e+bo+`flex-`+e+e;case 5187:return I+e+Po(e,/(\w+).+(:[^]+)/,I+`box-$1$2`+bo+`flex-$1$2`)+e;case 5443:return I+e+bo+`flex-item-`+Po(e,/flex-|-self/,``)+e;case 4675:return I+e+bo+`flex-line-pack`+Po(e,/align-content|flex-|-self/,``)+e;case 5548:return I+e+bo+Po(e,`shrink`,`negative`)+e;case 5292:return I+e+bo+Po(e,`basis`,`preferred-size`)+e;case 6060:return I+`box-`+Po(e,`-grow`,``)+I+e+bo+Po(e,`grow`,`positive`)+e;case 4554:return I+Po(e,/([^-])(transform)/g,`$1`+I+`$2`)+e;case 6187:return Po(Po(Po(e,/(zoom-|grab)/,I+`$1`),/(image-set)/,I+`$1`),e,``)+e;case 5495:case 3959:return Po(e,/(image-set\([^]*)/,I+"$1$`$1");case 4968:return Po(Po(e,/(.+:)(flex-)?(.*)/,I+`box-pack:$3`+bo+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+I+e+e;case 4095:case 3583:case 4068:case 2532:return Po(e,/(.+)-inline(.+)/,I+`$1$2`)+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ro(e)-1-t>6)switch(Io(e,t+1)){case 109:if(Io(e,t+4)!==45)break;case 102:return Po(e,/(.+:)(.+)-([^]+)/,`$1`+I+`$2-$3$1`+xo+(Io(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~Fo(e,`stretch`)?Ds(Po(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(Io(e,t+1)!==115)break;case 6444:switch(Io(e,Ro(e)-3-(~Fo(e,`!important`)&&10))){case 107:return Po(e,`:`,`:`+I)+e;case 101:return Po(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+I+(Io(e,14)===45?`inline-`:``)+`box$3$1`+I+`$2$3$1`+bo+`$2box$3`)+e}break;case 5936:switch(Io(e,t+11)){case 114:return I+e+bo+Po(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return I+e+bo+Po(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return I+e+bo+Po(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return I+e+bo+e+e}return e}var Os=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case wo:e.return=Ds(e.value,e.length);break;case Eo:return gs([Yo(e,{value:Po(e.value,`@`,`@`+I)})],r);case Co:if(e.length)return Vo(e.props,function(t){switch(No(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return gs([Yo(e,{props:[Po(t,/:(read-\w+)/,`:`+xo+`$1`)]})],r);case`::placeholder`:return gs([Yo(e,{props:[Po(t,/:(plac\w+)/,`:`+I+`input-$1`)]}),Yo(e,{props:[Po(t,/:(plac\w+)/,`:`+xo+`$1`)]}),Yo(e,{props:[Po(t,/:(plac\w+)/,bo+`input-$1`)]})],r)}return``})}}],ks=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||Os,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[Ts,Es],l,u=[_s,ys(function(e){l.insert(e)})],d=vs(c.concat(r,u)),f=function(e){return gs(ds(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new yo({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p},As=o((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e=e&&e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.
vendor: 4,178 bytes, line 15
15Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),js=o(((e,t)=>{t.exports=As()})),Ms=o(((e,t)=>{var n=js(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h}));function Ns(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var Ps=function(e,t,n){var r=e.key+`-`+t.name;n===!1&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},Fs=function(e,t,n){Ps(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function Is(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Ls={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Rs=/[A-Z]|^ms/g,zs=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Bs=function(e){return e.charCodeAt(1)===45},Vs=function(e){return e!=null&&typeof e!=`boolean`},Hs=bs(function(e){return Bs(e)?e:e.replace(Rs,`-$&`).toLowerCase()}),Us=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(zs,function(e,t,n){return qs={name:t,styles:n,next:qs},t})}return Ls[e]!==1&&!Bs(e)&&typeof t==`number`&&t!==0?t+`px`:t};function Ws(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;
15if(i.anim===1)return qs={name:i.name,styles:i.styles,next:qs},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)qs={name:o.name,styles:o.styles,next:qs},o=o.next;return a.styles+`;`}return Gs(e,t,n);case`function`:if(e!==void 0){var s=qs,c=n(e);return qs=s,Ws(e,t,c)}break}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function Gs(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Ws(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:Vs(s)&&(r+=Hs(a)+`:`+Us(a,s)+`;`)}else if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)Vs(o[c])&&(r+=Hs(a)+`:`+Us(a,o[c])+`;`);else{var l=Ws(e,t,o);switch(a){case`animation`:case`animationName`:r+=Hs(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}return r}var Ks=/label:\s*([^\s;{]+)\s*(;|$)/g,qs;function Js(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;qs=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=Ws(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=Ws(n,t,e[o]),r&&(i+=a[o]);Ks.lastIndex=0;for(var s=``,c;(c=Ks.exec(i))!==null;)s+=`-`+c[1];return{name:Is(i)+s,styles:i,next:qs}}var Ys=function(e){return e()},Xs=S.useInsertionEffect?S.useInsertionEffect:!1,Zs=Xs||Ys,Qs=Xs||S.useLayoutEffect,$s=S.createContext(typeof HTMLElement<`u`?ks({key:`css`}):null);$s.Provider;var ec=function(e){return(0,S.forwardRef)(function(t,n){return e(t,(0,S.useContext)($s),n)})},tc=S.createContext({}),nc={}.hasOwnProperty,rc=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,ic=function(e,t){var n={};for(var r in t)nc.call(t,r)&&(n[r]=t[r]);return n[rc]=e,n},ac=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Ps(t,n,r),Zs(function(){return Fs(t,n,r)}),null},oc=ec(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[rc],a=[r],o=``;typeof e.className==`string`?o=Ns(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var s=Js(a,void 0,S.useContext(tc));o+=t.key+`-`+s.name;var c={};for(var l in e)nc.call(e,l)&&l!==`css`&&l!==rc&&(c[l]=e[l]);return c.className=o,n&&(c.ref=n),S.createElement(S.Fragment,null,S.createElement(ac,{cache:t,serialized:s,isStringTag:typeof i==`string`}),S.createElement(i,c))});Ms();var sc=O.Fragment,L=function(e,t,n){return nc.call(t,`css`)?O.jsx(oc,ic(e,t),n):O.jsx(e,t,n)},R=function(e,t,n){return nc.call(t,`css`)?O.jsxs(oc,ic(e,t),n):O.jsxs(e,t,n)},cc=({left:e,right:t})=>{t?(e=!1,t=!0):(e=!0,t=!1);let n=Yn,r=`transparent`,i=`transparent`;return n===`development`?(n=`DEV`,r=`yellow`,i=`black`):n===`staging`&&(n=`STAGE`,r=`blue`,i=`white`),Yn!==`production`&&!go&&L(`div`,{css:{color:i,background:r,textAlign:`center`,position:`fixed`,left:e?`-32px`:null,right:t?`-32px`:null,bottom:`-32px`,opacity:`0.6`,width:64,height:64,transform:`rotate(${t?`-45deg`:`45deg`})`,lineHeight:`16px`,fontSize:12,fontWeight:`bold`,textTransform:`uppercase`},children:n})},lc=Object.prototype.toString;function uc(e){switch(lc.call(e)){case`[object Error]`:case`[object Exception]`:case`[object DOMException]`:return!0;default:return Tc(e,Error)}}function dc(e,t){return lc.call(e)===`[object ${t}]`}function fc(e){return dc(e,`ErrorEvent`)}function pc(e){return dc(e,`DOMError`)}function mc(e){return dc(e,`DOMException`)}function hc(e){return dc(e,`String`)}function gc(e){return typeof e==`object`&&!!e&&`__sentry_template_string__`in e&&`__sentry_template_values__`in e}function _c(e){return e===null||gc(e)||typeof e!=`object`&&typeof e!=`function`}function vc(e){return dc(e,`Object`)}function yc(e){return typeof Event<`u`&&Tc(e,Event)}function bc(e){return typeof Element<`u`&&Tc(e,Element)}function xc(e){return dc(e,`RegExp`)}function Sc(e){return!!(e&&e.then&&typeof e.then==`function`)}function Cc(e){return vc(e)&&`nativeEvent`in e&&`preventDefault`in e&&`stopPropagation`in e}function wc(e){return typeof e==`number`&&e!==e}function Tc(e,t){try{return e instanceof t}catch{return!1}}function Ec(e){return!!(typeof e==`object`&&e&&(e.__isVue||e._isVue))}function Dc(e,t=0){return typeof e!=`string`||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function Oc(e,t){let n=e,r=n.length;if(r<=150)return n;t>r&&(t=r);let i=Math.max(t-60,0);i<5&&(i=0);let a=Math.min(i+140,r);return a>r-5&&(a=r),a===r&&(i=Math.max(a-140,0)),n=n.slice(i,a),i>0&&(n=`'{snip} ${n}`),a<r&&(n+=` {snip}`),n}function kc(e,t){if(!Array.isArray(e))return``;let n=[];for(let t=0;t<e.length;t++){let r=e[t];try{Ec(r)?n.push(`[VueViewModel]`):n.push(String(r))}catch{n.push(`[value cannot be serialized]`)}}return n.join(t)}function Ac(e,t,n=!1){return hc(e)?xc(t)?t.test(e):hc(t)?n?e===t:e.includes(t):!1:!1}function jc(e,t=[],n=!1){return t.some(t=>
vendor: 9,273 bytes, lines 15-16
15Ac(e,t,n))}function Mc(e,t,n=250,r,i,a,o){if(!a.exception||!a.exception.values||!o||!Tc(o.originalException,Error))return;let s=a.exception.values.length>0?a.exception.values[a.exception.values.length-1]:void 0;s&&(a.exception.values=Ic(Nc(e,t,i,o.originalException,r,a.exception.values,s,0),n))}function Nc(e,t,n,r,i,a,o,s){if(a.length>=n+1)return a;let c=[...a];if(Tc(r[i],Error)){Pc(o,s);let a=e(t,r[i]),l=c.length;Fc(a,i,l,s),c=Nc(e,t,n,r[i],i,[a,...c],a,l)}return Array.isArray(r.errors)&&r.errors.forEach((r,a)=>{if(Tc(r,Error)){Pc(o,s);let l=e(t,r),u=c.length;Fc(l,`errors[${a}]`,u,s),c=Nc(e,t,n,r,i,[l,...c],l,u)}}),c}function Pc(e,t){e.mechanism=e.mechanism||{type:`generic`,handled:!0},e.mechanism={...e.mechanism,...e.type===`AggregateError`&&{is_exception_group:!0},exception_id:t}}function Fc(e,t,n,r){e.mechanism=e.mechanism||{type:`generic`,handled:!0},e.mechanism={...e.mechanism,type:`chained`,source:t,exception_id:n,parent_id:r}}function Ic(e,t){return e.map(e=>(e.value&&(e.value=Dc(e.value,t)),e))}function Lc(e){return e&&e.Math==Math?e:void 0}var z=typeof globalThis==`object`&&Lc(globalThis)||typeof window==`object`&&Lc(window)||typeof self==`object`&&Lc(self)||typeof globalThis==`object`&&Lc(globalThis)||(function(){return this})()||{};function Rc(){return z}function zc(e,t,n){let r=n||z,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}var Bc=Rc(),Vc=80;function Hc(e,t={}){if(!e)return`<unknown>`;try{let n=e,r=[],i=0,a=0,o,s=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||Vc;for(;n&&i++<5&&(o=Uc(n,s),!(o===`html`||i>1&&a+r.length*3+o.length>=c));)r.push(o),a+=o.length,n=n.parentNode;return r.reverse().join(` > `)}catch{return`<unknown>`}}function Uc(e,t){let n=e,r=[],i,a,o,s,c;if(!n||!n.tagName)return``;if(Bc.HTMLElement&&n instanceof HTMLElement&&n.dataset&&n.dataset.sentryComponent)return n.dataset.sentryComponent;r.push(n.tagName.toLowerCase());let l=t&&t.length?t.filter(e=>n.getAttribute(e)).map(e=>[e,n.getAttribute(e)]):null;if(l&&l.length)l.forEach(e=>{r.push(`[${e[0]}="${e[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&hc(i))for(a=i.split(/\s+/),c=0;c<a.length;c++)r.push(`.${a[c]}`);let u=[`aria-label`,`type`,`name`,`title`,`alt`];for(c=0;c<u.length;c++)o=u[c],s=n.getAttribute(o),s&&r.push(`[${o}="${s}"]`);return r.join(``)}function Wc(){try{return Bc.document.location.href}catch{return``}}function Gc(e){return Bc.document&&Bc.document.querySelector?Bc.document.querySelector(e):null}function Kc(e){if(!Bc.HTMLElement)return null;let t=e;for(let e=0;e<5;e++){if(!t)return null;if(t instanceof HTMLElement&&t.dataset.sentryComponent)return t.dataset.sentryComponent;t=t.parentNode}return null}var qc=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,Jc=`Sentry Logger `,Yc=[`debug`,`info`,`warn`,`error`,`log`,`assert`,`trace`],Xc={};function Zc(e){if(!(`console`in z))return e();let t=z.console,n={},r=Object.keys(Xc);r.forEach(e=>{let r=Xc[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}function Qc(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return qc?Yc.forEach(n=>{t[n]=(...t)=>{e&&Zc(()=>{z.console[n](`${Jc}[${n}]:`,...t)})}}):Yc.forEach(e=>{t[e]=()=>void 0}),t}var B=Qc(),$c=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function el(e){return e===`http`||e===`https`}function tl(e,t=!1){let{host:n,path:r,pass:i,port:a,projectId:o,protocol:s,publicKey:c}=e;return`${s}://${c}${t&&i?`:${i}`:``}@${n}${a?`:${a}`:``}/${r&&`${r}/`}${o}`}function nl(e){let t=$c.exec(e);if(!t){Zc(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[n,r,i=``,a,o=``,s]=t.slice(1),c=``,l=s,u=l.split(`/`);if(u.length>1&&(c=u.slice(0,-1).join(`/`),l=u.pop()),l){let e=l.match(/^\d+/);e&&(l=e[0])}return rl({host:a,pass:i,path:c,projectId:l,port:o,protocol:n,publicKey:r})}function rl(e){return{protocol:e.protocol,publicKey:e.publicKey||``,pass:e.pass||``,host:e.host,port:e.port||``,path:e.path||``,projectId:e.projectId}}function il(e){if(!qc)return!0;let{port:t,projectId:n,protocol:r}=e;return[`protocol`,`publicKey`,`host`,`projectId`].find(t=>e[t]?!1:(B.error(`Invalid Sentry Dsn: ${t} missing`),!0))?!1:n.match(/^\d+$/)?el(r)?t&&isNaN(parseInt(t,10))?(B.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(B.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(B.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function al(e){let t=typeof e==`string`?nl(e):rl(e);if(!(!t||!il(t)))return t}var ol=class extends Error{constructor(e,t=`warn`){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}};function sl(e,t,n){if(!(t in e))return;let r=e[t],i=n(r);typeof i==`function`&&ll(i,r),e[t]=i}function cl(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{qc&&B.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function ll(e,t){try{e.prototype=t.prototype=t.prototype||{},cl(e,`__sentry_original__`,t)}catch{}}function ul(e){return e.__sentry_original__}function dl(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join(`&`)}function fl(e){if(uc(e))return{message:e.message,name:e.name,stack:e.stack,...ml(e)};if(yc(e)){let t={type:e.type,target:pl(e.target),currentTarget:pl(e.currentTarget),...ml(e)};return typeof CustomEvent<`u`&&Tc(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function pl(e){try{return bc(e)?Hc(e):Object.prototype.toString.call(e)}catch{return`<unknown>`}}function ml(e){if(typeof e==`object`&&e){let t={};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function hl(e,t=40){let n=Object.keys(fl(e));if(n.sort(),!n.length)return`[object has no keys]`;if(n[0].length>=t)return Dc(n[0],t);for(let e=n.length;e>0;e--){let r=n.slice(0,e).join(`, `);if(!(r.length>t))return e===n.length?r:Dc(r,t)}return``}function gl(e){return _l(e,new Map)}function _l(e,t){if(vl(e)){let n=t.get(e);if(n!==void 0)return n;let r={};t.set(e,r);for(let n of Object.keys(e))e[n]!==void 0&&(r[n]=_l(e[n],t));return r}if(Array.isArray(e)){let n=t.get(e);if(n!==void 0)return n;let r=[];return t.set(e,r),e.forEach(e=>{r.push(_l(e,t))}),r}return e}function vl(e){if(!vc(e))return!1;try{let t=Object.getPrototypeOf(e).constructor.name;return!t||t===`Object`}catch{return!0}}var yl=50,bl=/\(error: (.*)\)/,xl=/captureMessage|captureException/;function Sl(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0)=>{let r=[],i=e.split(`
16`);for(let e=n;e<i.length;e++){let n=i[e];if(n.length>1024)continue;let a=bl.test(n)?n.replace(bl,`$1`):n;if(!a.match(/\S*Error: /)){for(let e of t){let t=e(a);if(t){r.push(t);break}}if(r.length>=yl)break}}return wl(r)}}function Cl(e){return Array.isArray(e)?Sl(...e):e}function wl(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(t[t.length-1].function||``)&&t.pop(),t.reverse(),xl.test(t[t.length-1].function||``)&&(t.pop(),xl.test(t[t.length-1].function||``)&&t.pop()),t.slice(0,yl).map(e=>({...e,filename:e.filename||t[t.length-1].filename,function:e.function||`?`}))}var Tl=`<anonymous>`;function El(e){try{return!e||typeof e!=`function`?Tl:e.name||Tl}catch{return Tl}}var Dl={},Ol={};function kl(e,t){Dl[e]=Dl[e]||[],Dl[e].push(t)}function Al(e,t){Ol[e]||(t(),Ol[e]=!0)}function jl(e,t){let n=e&&Dl[e];if(n)for(let r of n)try{r(t)}catch(t){qc&&B.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${El(r)}\nError:`,t)}}function Ml(e){let t=`console`;kl(t,e),Al(t,Nl)}function Nl(){`console`in z&&Yc.forEach(function(e){e in z.console&&sl(z.console,e,function(t){return Xc[e]=t,function(...t){jl(`console`,{args:t,level:e});let n=Xc[e];n&&n.apply(z.console,t)}})})}function V(){let e=z,t=e.crypto||e.msCrypto,n=()=>Math.random()*16;try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,``);t&&t.getRandomValues&&(n=()=>{let e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch{}return`10000000100040008000100000000000`.replace(/[018]/g,e=>(e^(n()&15)>>e/4).toString(16))}function H(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function U(e){let{message:t,event_id:n}=e;if(t)return t;let r=H(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||`<unknown>`:n||`<unknown>`}function Pl(e,t,n){let r=e.exception=e.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{};a.value||(a.value=t||``),a.type||(a.type=n||`Error`)}function Fl(e,t){let n=H(e);if(!n)return;let r={type:`generic`,handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...t},t&&`data`in t){let e={...i&&i.data,...t.data};n.mechanism.data=e}}function Il(e,t,n=5){if(t.lineno===void 0)return;let r=e.length,i=Math.max(Math.min(r-1,t.lineno-1),0);t.pre_context=e.slice(Math.max(0,i-n),i).map(e=>Oc(e,0)),t.context_line=Oc(e[Math.min(r-1,i)],t.colno||0),t.post_context=e.slice(Math.min(i+1,r),i+1+n).map(e=>Oc(e,0))}function Ll(e){if(e&&e.__sentry_captured__)return!0;try{cl(e,`__sentry_captured__`,!0)}catch{}return!1}function Rl(e){return Array.isArray(e)?e:[e]}var zl=z,Bl=1e3,Vl,Hl,Ul;function Wl(e){kl(`dom`,e),Al(`dom`,Gl)}function Gl(){if(!zl.document)return;let e=jl.bind(null,`dom`),t=Jl(e,!0);zl.document.addEventListener(`click`,t,!1),zl.document.addEventListener(`ke
16ypress`,t,!1),[`EventTarget`,`Node`].forEach(t=>{let n=zl[t]&&zl[t].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty(`addEventListener`)||(sl(n,`addEventListener`,function(t){return function(n,r,i){if(n===`click`||n==`keypress`)try{let r=this,a=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},o=a[n]=a[n]||{refCount:0};if(!o.handler){let r=Jl(e);o.handler=r,t.call(this,n,r,i)}o.refCount++}catch{}return t.call(this,n,r,i)}}),sl(n,`removeEventListener`,function(e){return function(t,n,r){if(t===`click`||t==`keypress`)try{let n=this,i=n.__sentry_instrumentation_handlers__||{},a=i[t];a&&(a.refCount--,a.refCount<=0&&(e.call(this,t,a.handler,r),a.handler=void 0,delete i[t]),Object.keys(i).length===0&&delete n.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function Kl(e){if(e.type!==Hl)return!1;try{if(!e.target||e.target._sentryId!==Ul)return!1}catch{}return!0}function ql(e,t){return e===`keypress`?!t||!t.tagName||!(t.tagName===`INPUT`||t.tagName===`TEXTAREA`||t.isContentEditable):!1}function Jl(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;let r=Yl(n);if(ql(n.type,r))return;cl(n,`_sentryCaptured`,!0),r&&!r._sentryId&&cl(r,`_sentryId`,V());let i=n.type===`keypress`?`input`:n.type;Kl(n)||(e({event:n,name:i,global:t}),Hl=n.type,Ul=r?r._sentryId:void 0),clearTimeout(Vl),Vl=zl.setTimeout(()=>{Ul=void 0,Hl=void 0},Bl)}}function Yl(e){try{return e.target}catch{return null}}var Xl=Rc();function Zl(){if(!(`fetch`in Xl))return!1;try{return new Headers,new Request(`http://www.example.com`),new Response,!0}catch{return!1}}function Ql(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function $l(){if(typeof EdgeRuntime==`string`)return!0;if(!Zl())return!1;if(Ql(Xl.fetch))return!0;let e=!1,t=Xl.document;if(t&&typeof t.createElement==`function`)try{let n=t.createElement(`iframe`);
vendor: 3,857 bytes, line 16
16n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=Ql(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){qc&&B.warn(`Could not create sandbox iframe for pure fetch check, bailing to window.fetch: `,e)}return e}function eu(){return`ReportingObserver`in Xl}function tu(e){let t=`fetch`;kl(t,e),Al(t,nu)}function nu(){$l()&&sl(z,`fetch`,function(e){return function(...t){let{method:n,url:r}=au(t),i={args:t,fetchData:{method:n,url:r},startTimestamp:Date.now()};return jl(`fetch`,{...i}),e.apply(z,t).then(e=>(jl(`fetch`,{...i,endTimestamp:Date.now(),response:e}),e),e=>{throw jl(`fetch`,{...i,endTimestamp:Date.now(),error:e}),e})}})}function ru(e,t){return!!e&&typeof e==`object`&&!!e[t]}function iu(e){return typeof e==`string`?e:e?ru(e,`url`)?e.url:e.toString?e.toString():``:``}function au(e){if(e.length===0)return{method:`GET`,url:``};if(e.length===2){let[t,n]=e;return{url:iu(t),method:ru(n,`method`)?String(n.method).toUpperCase():`GET`}}let t=e[0];return{url:iu(t),method:ru(t,`method`)?String(t.method).toUpperCase():`GET`}}var ou=null;function su(e){let t=`error`;kl(t,e),Al(t,cu)}function cu(){ou=z.onerror,z.onerror=function(e,t,n,r,i){return jl(`error`,{column:r,error:i,line:n,msg:e,url:t}),ou&&!ou.__SENTRY_LOADER__?ou.apply(this,arguments):!1},z.onerror.__SENTRY_INSTRUMENTED__=!0}var lu=null;function uu(e){let t=`unhandledrejection`;kl(t,e),Al(t,du)}function du(){lu=z.onunhandledrejection,z.onunhandledrejection=function(e){return jl(`unhandledrejection`,e),lu&&!lu.__SENTRY_LOADER__?lu.apply(this,arguments):!0},z.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}var fu=Rc();function pu(){let e=fu.chrome,t=e&&e.app&&e.app.runtime,n=`history`in fu&&!!fu.history.pushState&&!!fu.history.replaceState;return!t&&n}var mu=z,hu;function gu(e){let t=`history`;kl(t,e),Al(t,_u)}function _u(){if(!pu())return;let e=mu.onpopstate;mu.onpopstate=function(...t){let n=mu.location.href,r=hu;if(hu=n,jl(`history`,{from:r,to:n}),e)try{return e.apply(this,t)}catch{}};function t(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let e=hu,t=String(n);hu=t,jl(`history`,{from:e,to:t})}return e.apply(this,t)}}sl(mu.history,`pushState`,t),sl(mu.history,`replaceState`,t)}var vu=z,yu=`__sentry_xhr_v3__`;function bu(e){kl(`xhr`,e),Al(`xhr`,xu)}function xu(){if(!vu.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;sl(e,`open`,function(e){return function(...t){let n=Date.now(),r=hc(t[0])?t[0].toUpperCase():void 0,i=Su(t[1]);if(!r||!i)return e.apply(this,t);this[yu]={method:r,url:i,request_headers:{}},r===`POST`&&i.match(/sentry_key/)&&(this.__sentry_own_request__=!0);let a=()=>{let e=this[yu];if(e&&this.readyState===4){try{e.status_code=this.status}catch{}jl(`xhr`,{args:[r,i],endTimestamp:Date.now(),startTimestamp:n,xhr:this})}};return`onreadystatechange`in this&&typeof this.onreadystatechange==`function`?sl(this,`onreadystatechange`,function(e){return function(...t){return a(),e.apply(this,t)}}):this.addEventListener(`readystatechange`,a),sl(this,`setRequestHeader`,function(e){return function(...t){let[n,r]=t,i=this[yu];return i&&hc(n)&&hc(r)&&(i.request_headers[n.toLowerCase()]=r),e.apply(this,t)}}),e.apply(this,t)}}),sl(e,`send`,function(e){return function(...t){let n=this[yu];return n?(t[0]!==void 0&&(n.body=t[0]),jl(`xhr`,{args:[n.method,n.url],startTimestamp:Date.now(),xhr:this}),e.apply(this,t)):e.apply(this,t)}})}function Su(e){if(hc(e))return e;try{return e.toString()}catch{}}function Cu(){return typeof __SENTRY_BROWSER_BUNDLE__<`u`&&!!__SENTRY_BROWSER_BUNDLE__}function wu(){return`npm`}function Tu(){return!Cu()&&Object.prototype.toString.call(typeof process<`u`?process:0)===`[object process]`}function Eu(){return typeof window<`u`&&(!Tu()||Du())}function Du(){return z.process!==void 0&&z.process.type===`renderer`}function Ou(){let e=typeof WeakSet==`function`,t=e?new WeakSet:[];
16function n(n){if(e)return t.has(n)?!0:(t.add(n),!1);for(let e=0;e<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1}function r(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}return[n,r]}function ku(e,t=100,n=1/0){try{return ju(``,e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function Au(e,t=3,n=100*1024){let r=ku(e,t);return Fu(r)>n?Au(e,t-1,n):r}function ju(e,t,n=1/0,r=1/0,i=Ou()){let[a,o]=i;if(t==null||[`number`,`boolean`,`string`].includes(typeof t)&&!wc(t))return t;let s=Mu(e,t);if(!s.startsWith(`[object `))return s;if(t.__sentry_skip_normalization__)return t;let c=typeof t.__sentry_override_normalization_depth__==`number`?t.__sentry_override_normalization_depth__:n;if(c===0)return s.replace(`object `,``);if(a(t))return`[Circular ~]`;let l=t;if(l&&typeof l.toJSON==`function`)try{return ju(``,l.toJSON(),c-1,r,i)}catch{}let u=Array.isArray(t)?[]:{},d=0,f=fl(t);for(let e in f){if(!Object.prototype.hasOwnProperty.call(f,e))continue;if(d>=r){u[e]=`[MaxProperties ~]`;break}let t=f[e];u[e]=ju(e,t,c-1,r,i),d++}return o(t),u}function Mu(e,t){try{if(e===`domain`&&t&&typeof t==`object`&&t._events)return`[Domain]`;if(e===`domainEmitter`)return`[DomainEmitter]`;if(typeof globalThis<`u`&&t===globalThis)return`[Global]`;if(typeof window<`u`&&t===window)return`[Window]`;if(typeof document<`u`&&t===document)return`[Document]`;if(Ec(t))return`[VueViewModel]`;if(Cc(t))return`[SyntheticEvent]`;if(typeof t==`number`&&t!==t)return`[NaN]`;if(typeof t==`function`)return`[Function: ${El(t)}]`;if(typeof t==`symbol`)return`[${String(t)}]`;if(typeof t==`bigint`)return`[BigInt: ${String(t)}]`;let n=Nu(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(e){return`**non-serializable** (${e})`}}function Nu(e){let t=Object.getPrototypeOf(e);return t?t.constructor.name:`null prototype`}function Pu(e){return~-encodeURI(e).split(/%..|./).length}function Fu(e){return Pu(JSON.stringify(e))}function Iu(e,t){let n=0;for(let t=e.length-1;t>=0;t--){let r=e[t];r===`.`?e.splice(t,1):r===`..`?(e.splice(t,1),n++):n&&(e.splice(t,1),n--)}if(t)for(;n--;)e.unshift(`..`);return e}var Lu=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function Ru(e){let t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,n=Lu.exec(t);return n?n.slice(1):[]}function zu(...e){let t=``,n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let i=r>=0?e[r]:`/`;i&&(t=`${i}/${t}`,n=i.charAt(0)===`/`)}return t=Iu(t.split(`/`).filter(e=>!!e),!n).join(`/`),(n?`/`:``)+t||`.`}function Bu(e){let t=0;for(;t<e.length&&e[t]===``;t++);let n=e.length-1;for(;n>=0&&e[n]===``;n--);return t>n?[]:e.slice(t,n-t+1)}function Vu(e,t){e=zu(e).slice(1),t=zu(t).slice(1);let n=Bu(e.split(`/`)),r=Bu(t.split(`/`)),i=Math.min(n.length,r.length),a=i;for(let e=0;e<i;e++)if(n[e]!==r[e]){a=e;break}let o=[];for(let e=a;e<n.length;e++)o.push(`..`);return o=o.concat(r.slice(a)),o.join(`/`)}function Hu(e,t){let n=Ru(e)[2];return t&&n.slice(t.length*-1)===t&&(n=n.slice(0,n.length-t.length)),n}var Uu;(function(e){e[e.PENDING=0]=`PENDING`,e[e.RESOLVED=1]=`RESOLVED`,e[e.REJECTED=2]=`REJECTED`})(Uu||(Uu={}));function Wu(e){return new Ku(t=>{t(e)})}function Gu(e){return new Ku((t,n)=>{n(e)})}var Ku=class e{constructor(t){e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),this._state=Uu.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(e){this._reject(e)}}then(t,n){return new e((e,r)=>{this._handlers.push([!1,n=>{if(!t)e(n);else try{e(t(n))}catch(e){r(e)}},t=>{if(!n)r(t);else try{e(n(t))}catch(e){r(e)}}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(t){return new e((e,n)=>{let r,i;return this.then(e=>{i=!1,r=e,t&&t()},e=>{i=!0,r=e,t&&t()}).then(()=>{if(i){n(r);return}e(r)})})}__init(){this._resolve=e=>{this._setResult(Uu.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(Uu.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{if(this._state===Uu.PENDING){if(Sc(t)){t.then(this._resolve,this._reject);return}this._state=e,this._value=t,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>
16{if(this._state===Uu.PENDING)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(this._state===Uu.RESOLVED&&e[1](this._value),this._state===Uu.REJECTED&&e[2](this._value),e[0]=!0)})}}};function qu(e){let t=[];function n(){return e===void 0||t.length<e}function r(e){return t.splice(t.indexOf(e),1)[0]}function i(e){if(!n())return Gu(new ol(`Not adding Promise because buffer limit was reached.`));let i=e();return t.indexOf(i)===-1&&t.push(i),i.then(()=>r(i)).then(null,()=>r(i).then(null,()=>{})),i}function a(e){return new Ku((n,r)=>{let i=t.length;if(!i)return n(!0);let a=setTimeout(()=>{e&&e>0&&n(!1)},e);t.forEach(e=>{Wu(e).then(()=>{--i||(clearTimeout(a),n(!0))},r)})})}return{$:t,add:i,drain:a}}function Ju(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||``,r=t[8]||``;return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function Yu(e){return e.split(/[\?#]/,1)[0]}var Xu=[`fatal`,`error`,`warning`,`log`,`info`,`debug`];function Zu(e){return e===`warn`?`warning`:Xu.includes(e)?e:`log`}var Qu=1e3;function $u(){return Date.now()/Qu}function ed(){let{performance:e}=z;if(!e||!e.now)return $u;let t=Date.now()-e.now(),n=e.timeOrigin==null?t:e.timeOrigin;return()=>(n+e.now())/Qu}var td=ed(),nd=(()=>{let{performance:e}=z;if(!e||!e.now)return;let t=3600*1e3,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,a=i<t,o=e.timing&&e.timing.navigationStart,s=typeof o==`number`?Math.abs(o+n-r):t;return a||s<t?i<=s?e.timeOrigin:o:r})(),rd=`baggage`,id=`sentry-`,ad=/^sentry-/;function od(e){if(!hc(e)&&!Array.isArray(e))return;let t={};if(Array.isArray(e))t=e.reduce((e,t)=>{let n=cd(t);for(let t of Object.keys(n))e[t]=n[t];return e},{});else{if(!e)return;t=cd(e)}let n=Object.entries(t).reduce((e,[t,n])=>{if(t.match(ad)){let r=t.slice(7);e[r]=n}return e},{});if(Object.keys(n).length>0)return n}function sd(e){if(e)return ld(Object.entries(e).reduce((e,[t,n])=>(n&&(e[`${id}${t}`]=n),e),{}))}function cd(e){return e.split(`,`).map(e=>e.split(`=`).map(e=>decodeURIComponent(e.trim()))).reduce((e,[t,n])=>(e[t]=n,e),{})}function ld(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((e,[t,n],r)=>{let i=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,a=r===0?i:`${e},${i}`;return a.length>8192?(qc&&B.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):a},``)}var ud=RegExp(`^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$`);function dd(e){if(!e)return;let t=e.match(ud);if(!t)return;let n;return t[3]===`1`?n=!0:t[3]===`0`&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function fd(e,t){let n=dd(e),r=od(t),{traceId:i,parentSpanId:a,parentSampled:o}=n||{};return n?{traceparentData:n,dynamicSamplingContext:r||{},propagationContext:{traceId:i||V(),parentSpanId:a||V().substring(16),spanId:V().substring(16),sampled:o,dsc:r||{}}}:{traceparentData:n,dynamicSamplingContext:void 0,propagationContext:{traceId:i||V(),spanId:V().substring(16)}}}function pd(e,t){let n=dd(e),r=od(t),{traceId:i,parentSpanId:a,parentSampled:o}=n||{};return n?{traceId:i||V(),parentSpanId:a||V().substring(16),spanId:V().substring(16),sampled:o,dsc:r||{}}:{traceId:i||V(),spanId:V().substring(16)}}function md(e=V(),t=V().substring(16),n){let r=``;return n!==void 0&&(r=n?`-1`:`-0`),`${e}-${t}${r}`}function W(e,t=[]){return[e,t]}function hd(e,t){let[n,r]=e;return[n,[...r,t]]}function gd(e,t){let n=e[1];for(let e of n){let n=e[0].type;if(t(e,n))return!0}return!1}function _d(e,t){return gd(e,(e,n)=>t.includes(n))}function vd(e,t){return(t||new TextEncoder).encode(e)}function yd(e,t){let[n,r]=e,i=JSON.stringify(n);function a(e){typeof i==`string`?i=typeof e==`string`?i+e:[vd(i,t),e]:i.push(typeof e==`string`?vd(e,t):e)}for(let e of r){let[t,n]=e;if(a(`\n${JSON.stringify(t)}\n`),typeof n==`string`||n instanceof Uint8Array)a(n);else{let e;try{e=JSON.stringify(n)}catch{e=JSON.stringify(ku(n))}a(e)}}return typeof i==`string`?i:bd(i)}function bd(e){let t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return n}
16function xd(e,t,n){let r=typeof e==`string`?t.encode(e):e;function i(e){let t=r.subarray(0,e);return r=r.subarray(e+1),t}function a(){let e=r.indexOf(10);return e<0&&(e=r.length),JSON.parse(n.decode(i(e)))}let o=a(),s=[];for(;r.length;){let e=a(),t=typeof e.length==`number`?e.length:void 0;s.push([e,t?i(t):a()])}return[o,s]}function Sd(e,t){let n=typeof e.data==`string`?vd(e.data,t):e.data;return[gl({type:`attachment`,length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}var Cd={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`,feedback:`feedback`,span:`span`,statsd:`metric_bucket`};function wd(e){return Cd[e]}function Td(e){if(!e||!e.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}function Ed(e,t,n,r){let i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:tl(r)},...i&&{trace:gl({...i})}}}function Dd(e,t,n){let r=[{type:`client_report`},{timestamp:n||$u(),discarded_events:e}];return W(t?{dsn:t}:{},[r])}var Od=60*1e3;function kd(e,t=Date.now()){let n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;let r=Date.parse(`${e}`);return isNaN(r)?Od:r-t}function Ad(e,t){return e[t]||e.all||0}function jd(e,t,n=Date.now()){return Ad(e,t)>n}function Md(e,{statusCode:t,headers:n},r=Date.now()){let i={...e},a=n&&n[`x-sentry-rate-limits`],o=n&&n[`retry-after`];if(a)for(let e of a.trim().split(`,`)){let[t,n,,,a]=e.split(`:`,5),o=parseInt(t,10),s=(isNaN(o)?60:o)*1e3;if(!n)i.all=r+s;else for(let e of n.split(`;`))e===`metric_bucket`?(!a||a.split(`;`).includes(`custom`))&&(i[e]=r+s):i[e]=r+s}else o?i.all=r+kd(o,r):t===429&&(i.all=r+60*1e3);return i}function Nd(e,t){return e(t.stack||``,1)}function Pd(e,t){let n={type:t.name||t.constructor.name,value:t.message},r=Nd(e,t);return r.length&&(n.stacktrace={frames:r}),n}function Fd(e,t){return e??t()}function Id(e){let t,n=e[0],r=1;for(;r<e.length;){let i=e[r],a=e[r+1];if(r+=2,(i===`optionalAccess`||i===`optionalCall`)&&n==null)return;i===`access`||i===`optionalAccess`?(t=n,n=a(n)):(i===`call`||i===`optionalCall`)&&(n=a((...e)=>n.call(t,...e)),t=void 0)}return n}var G=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,Ld=`production`;function Rd(){return zc(`globalEventProcessors`,()=>[])}function zd(e){Rd().push(e)}function Bd(e,t,n,r=0){return new Ku((i,a)=>{let o=e[r];if(t===null||typeof o!=`function`)i(t);else{let s=o({...t},n);G&&o.id&&s===null&&B.log(`Event processor "${o.id}" dropped event`),Sc(s)?s.then(t=>Bd(e,t,n,r+1).then(i)).then(null,a):Bd(e,s,n,r+1).then(i).then(null,a)}})}function Vd(e){let t=td(),n={sid:V(),init:!0,timestamp:t,started:t,duration:0,status:`ok`,errors:0,ignoreDuration:!1,toJSON:()=>Wd(n)};return e&&Hd(n,e),n}function Hd(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||td(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:V()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started==`number`&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration==`number`)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors==`number`&&(e.errors=t.errors),t.status&&(e.status=t.status)}function Ud(e,t){let n={};t?n={status:t}:e.status===`ok`&&(n={status:`exited`}),Hd(e,n)}function Wd(e){return gl({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did==`
16number`||typeof e.did==`string`?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}function Gd(e){let{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:a,status:o,tags:s,origin:c}=Yd(e);return gl({data:r,op:i,parent_span_id:a,span_id:t,status:o,tags:s,trace_id:n,origin:c})}function Kd(e){let{traceId:t,spanId:n}=e.spanContext();return md(t,n,Zd(e))}function qd(e){return typeof e==`number`?Jd(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?Jd(e.getTime()):td()}function Jd(e){return e>9999999999?e/1e3:e}function Yd(e){return Xd(e)?e.getSpanJSON():typeof e.toJSON==`function`?e.toJSON():{}}function Xd(e){return typeof e.getSpanJSON==`function`}function Zd(e){let{traceFlags:t}=e.spanContext();return!!(t&1)}function Qd(e,t,n,r,i,a){let{normalizeDepth:o=3,normalizeMaxBreadth:s=1e3}=e,c={...t,event_id:t.event_id||n.event_id||V(),timestamp:t.timestamp||$u()},l=n.integrations||e.integrations.map(e=>e.name);$d(c,e),rf(c,l),t.type===void 0&&tf(c,e.stackParser);let u=of(r,n.captureContext);n.mechanism&&Fl(c,n.mechanism);let d=i&&i.getEventProcessors?i.getEventProcessors():[],f=Yf().getScopeData();a&&zf(f,a.getScopeData()),u&&zf(f,u.getScopeData());let p=[...n.attachments||[],...f.attachments];return p.length&&(n.attachments=p),Rf(c,f),Bd([...d,...Rd(),...f.eventProcessors],c,n).then(e=>(e&&nf(e),typeof o==`number`&&o>0?af(e,o,s):e))}function $d(e,t){let{environment:n,release:r,dist:i,maxValueLength:a=250}=t;`environment`in e||(e.environment=`environment`in t?n:Ld),e.release===void 0&&r!==void 0&&(e.release=r),e.dist===void 0&&i!==void 0&&(e.dist=i),e.message&&(e.message=Dc(e.message,a));let o=e.exception&&e.exception.values&&e.exception.values[0];o&&o.value&&(o.value=Dc(o.value,a));let s=e.request;s&&s.url&&(s.url=Dc(s.url,a))}var ef=new WeakMap;function tf(e,t){let n=z._sentryDebugIds;if(!n)return;let r,i=ef.get(t);i?r=i:(r=new Map,ef.set(t,r));let a=Object.keys(n).reduce((e,i)=>{let a,o=r.get(i);o?a=o:(a=t(i),r.set(i,a));for(let t=a.length-1;t>=0;t--){let r=a[t];if(r.filename){e[r.filename]=n[i];break}}return e},{});try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.filename&&(e.debug_id=a[e.filename])})})}catch{}}function nf(e){let t={};try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})})}catch{}if(Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.keys(t).forEach(e=>{n.push({type:`sourcemap`,code_file:e,debug_id:t[e]})})}function rf(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function af(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:ku(e.data,t,n)}}))},...e.user&&{user:ku(e.user,t,n)},...e.contexts&&{contexts:ku(e.contexts,t,n)},...e.extra&&{extra:ku(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=ku(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>{let r=Yd(e).data;return r&&(e.data=ku(r,t,n)),e})),r}function of(e,t){if(!t)return e;let n=e?e.clone():new Jf;return n.update(t),n}function sf(e){if(e)return cf(e)||uf(e)?{captureContext:e}:e}function cf(e){return e instanceof Jf||typeof e==`function`}var lf=[`user`,`level`,`extra`,`contexts`,`tags`,`fingerprint`,`requestSession`,`propagationContext`];function uf(e){return Object.keys(e).some(e=>lf.includes(e))}function df(e,t){return rp().captureException(e,sf(t))}function ff(e,t){let n=typeof t==`string`?t:void 0,r=typeof t==`string`?void 0:{captureContext:t};return rp().captureMessage(e,n,r)}function pf(e,t){return rp().captureEvent(e,t)}function mf(e){rp().configureScope(e)}function hf(e,t){rp().addBreadcrumb(e,t)}function gf(e,t){rp().setContext(e,t)}function _f(e){rp().setExtras(e)}function vf(e,t){rp().setExtra(e,t)}function yf(e){rp().setTags(e)}function bf(e,t){rp().setTag(e,t)}function xf(e){rp().setUser(e)}function Sf(...e){let t=rp();if(e.length===2){let[n,r]=e;return n?t.withScope(()=>(t.getStackTop().scope=n,r(n))):t.withScope(r)}return t.withScope(e[0])}function Cf(e){return op(()=>e(ip()))}function wf(e,t){return Sf(n=>(n.setSpan(e),t(n)))}function Tf(e,t){return rp().startTransaction({...e},t)}async function Ef(e){let t=K();return t?t.flush(e):(G&&B.warn(`Cannot flush events. No client defined.`),Promise.resolve(!1))}async function Df(e){let t=K();return t?t.close(e):(G&&B.warn(`Cannot flush events and disable SDK. No client defined.`),Promise.resolve(!1))}function Of(){return rp().lastEventId()}function K(){return rp().getClient()}function kf(){return!!K()}function Af(){return rp().getScope()}function jf(e){let t=K(),n=ip(),r=Af(),{release:i,environment:a=Ld}=t&&t.getOptions()||{},{userAgent:o}=z.navigator||{},s=Vd({release:i,environment:a,user:r.getUser()||n.getUser(),...o&&{userAgent:o},...e}),c=n.getSession();return c&&c.status===`ok`&&Hd(c,{status:`exited`}),Mf(),n.setSession(s),r.setSession(s),s}function Mf(){let e=ip(),t=Af(),n=t.getSession()||e.getSession();n&&Ud(n),Nf(),e.setSession(),t.setSession()}function Nf(){let e=ip(),t=Af(),n=K(),r=t.getSession()||e.getSession();r&&n&&n.captureSession&&n.captureSession(r)}function Pf(e=!1){if(e){Mf();return}Nf()}function Ff(e){return e.transaction}function If(e,t,n){let r=t.getOptions(),{publicKey:i}=t.getDsn()||{},{segment:a}=n&&n.getUser()||{},o=gl({environment:r.environment||`production`,release:r.release,user_segment:a,public_key:i,trace_id:e});return t.emit&&t.emit(`createDsc`,o),o}function Lf(e){let t=K();if(!t)return{};let n=If(Yd(e).trace_id||``,t,Af()),r=Ff(e);
vendor: 10,138 bytes, line 16
16if(!r)return n;let i=r&&r._frozenDynamicSamplingContext;if(i)return i;let{sampleRate:a,source:o}=r.metadata;a!=null&&(n.sample_rate=`${a}`);let s=Yd(r);return o&&o!==`url`&&(n.transaction=s.description),n.sampled=String(Zd(r)),t.emit&&t.emit(`createDsc`,n),n}function Rf(e,t){let{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:a}=t;Vf(e,t),r&&Wf(e,r),Gf(e,n),Hf(e,i),Uf(e,a)}function zf(e,t){let{extra:n,tags:r,user:i,contexts:a,level:o,sdkProcessingMetadata:s,breadcrumbs:c,fingerprint:l,eventProcessors:u,attachments:d,propagationContext:f,transactionName:p,span:m}=t;Bf(e,`extra`,n),Bf(e,`tags`,r),Bf(e,`user`,i),Bf(e,`contexts`,a),Bf(e,`sdkProcessingMetadata`,s),o&&(e.level=o),p&&(e.transactionName=p),m&&(e.span=m),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),l.length&&(e.fingerprint=[...e.fingerprint,...l]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...f}}function Bf(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(let r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}}function Vf(e,t){let{extra:n,tags:r,user:i,contexts:a,level:o,transactionName:s}=t,c=gl(n);c&&Object.keys(c).length&&(e.extra={...c,...e.extra});let l=gl(r);l&&Object.keys(l).length&&(e.tags={...l,...e.tags});let u=gl(i);u&&Object.keys(u).length&&(e.user={...u,...e.user});let d=gl(a);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts}),o&&(e.level=o),s&&(e.transaction=s)}function Hf(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function Uf(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function Wf(e,t){e.contexts={trace:Gd(t),...e.contexts};let n=Ff(t);if(n){e.sdkProcessingMetadata={dynamicSamplingContext:Lf(t),...e.sdkProcessingMetadata};let r=Yd(n).description;r&&(e.tags={transaction:r,...e.tags})}}function Gf(e,t){e.fingerprint=e.fingerprint?Rl(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}var Kf=100,qf,Jf=class e{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=Xf()}static clone(t){return t?t.clone():new e}clone(){let t=new e;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},t._user=this._user,t._level=this._level,t._span=this._span,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t}setClient(e){this._client=e}getClient(){return this._client}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&Hd(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return t===null?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){let e=this._span;return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;let n=typeof t==`function`?t(this):t;if(n instanceof e){let e=n.getScopeData();this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&Object.keys(e.user).length&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint.length&&(this._fingerprint=e.fingerprint),n.getRequestSession()&&(this._requestSession=n.getRequestSession()),e.propagationContext&&(this._propagationContext=e.propagationContext)}else if(vc(n)){let e=t;this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession),e.propagationContext&&(this._propagationContext=e.propagationContext)}return this}clear(){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=Xf(),this}addBreadcrumb(e,t){let n=typeof t==`number`?t:Kf;if(n<=0)return this;let r={timestamp:$u(),...e},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>n?i.slice(-n):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){let{_breadcrumbs:e,_attachments:t,_contexts:n,_tags:r,_extra:i,_user:a,_level:o,_fingerprint:s,_eventProcessors:c,_propagationContext:l,_sdkProcessingMetadata:u,_transactionName:d,_span:f}=this;return{breadcrumbs:e,attachments:t,contexts:n,tags:r,extra:i,user:a,level:o,fingerprint:s||[],eventProcessors:c,propagationContext:l,sdkProcessingMetadata:u,transactionName:d,span:f}}applyToEvent(e,t={},n=[]){return Rf(e,this.getScopeData()),Bd([...n,...Rd(),...this._eventProcessors],e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t&&t.event_id?t.event_id:V();if(!this._client)return B.warn(`No client configured on scope - will not capture exception!`),n;let r=Error(`Sentry syntheticException`);return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){let r=n&&n.event_id?n.event_id:V();if(!this._client)return B.warn(`No client configured on scope - will not capture message!`),r;let i=Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){let n=t&&t.event_id?t.event_id:V();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(B.warn(`No client configured on scope - will not capture event!`),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}};function Yf(){return qf||(qf=new Jf),qf}function Xf(){return{traceId:V(),spanId:V().substring(16)}}var Zf=`7.120.3`,Qf=parseFloat(Zf),$f=100,ep=class{constructor(e,t,n,r=Qf){this._version=r;let i;t?i=t:(i=new Jf,i.setClient(e));let a;n?a=n:(a=new Jf,a.setClient(e)),this._stack=[{scope:i}],e&&this.bindClient(e),this._isolationScope=a}isOlderThan(e){return this._version<e}bindClient(e){let t=this.getStackTop();t.client=e,t.scope.setClient(e),e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){let e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return this.getStack().length<=1?!1:!!this.getStack().pop()}withScope(e){let t=this.pushScope(),n;try{n=e(t)}catch(e){throw this.popScope(),e}return Sc(n)?n.then(e=>(this.popScope(),e),e=>{throw this.popScope(),e}):(this.popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){let n=this._lastEventId=t&&t.event_id?t.event_id:V(),r=Error(`Sentry syntheticException`);return this.getScope().captureException(e,{originalException:e,syntheticException:r,...t,event_id:n}),n}captureMessage(e,t,n){let r=this._lastEventId=n&&n.event_id?n.event_id:V(),i=Error(e);return this.getScope().captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r}),r}captureEvent(e,t){let n=t&&t.event_id?t.event_id:V();return e.type||(this._lastEventId=n),this.getScope().captureEvent(e,{...t,event_id:n}),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){let{scope:n,client:r}=this.getStackTop();if(!r)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:a=$f}=r.getOptions&&r.getOptions()||{};if(a<=0)return;let o={timestamp:$u(),...e},s=i?Zc(()=>i(o,t)):o;s!==null&&(r.emit&&r.emit(`beforeAddBreadcrumb`,s,t),n.addBreadcrumb(s,a))}setUser(e){this.getScope().setUser(e),this.getIsolationScope().setUser(e)}setTags(e){this.getScope().setTags(e),this.getIsolationScope().setTags(e)}setExtras(e){this.getScope().setExtras(e),this.getIsolationScope().setExtras(e)}setTag(e,t){this.getScope().setTag(e,t),this.getIsolationScope().setTag(e,t)}setExtra(e,t){this.getScope().setExtra(e,t),this.getIsolationScope().setExtra(e,t)}
16setContext(e,t){this.getScope().setContext(e,t),this.getIsolationScope().setContext(e,t)}configureScope(e){let{scope:t,client:n}=this.getStackTop();n&&e(t)}run(e){let t=np(this);try{e(this)}finally{np(t)}}getIntegration(e){let t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch{return G&&B.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,t){let n=this._callExtensionMethod(`startTransaction`,e,t);return G&&!n&&(this.getClient()?B.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':
17Sentry.addTracingExtensions();
18Sentry.init({...});
19`):B.warn(`Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'`)),n}traceHeaders(){return this._callExtensionMethod(`traceHeaders`)}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){let e=this.getStackTop().scope,t=e.getSession();t&&Ud(t),this._sendSessionUpdate(),e.setSession()}startSession(e){let{scope:t,client:n}=this.getStackTop(),{release:r,environment:i=Ld}=n&&n.getOptions()||{},{userAgent:a}=z.navigator||{},o=Vd({release:r,environment:i,user:t.getUser(),...a&&{userAgent:a},...e}),s=t.getSession&&t.getSession();return s&&s.status===`ok`&&Hd(s,{status:`exited`}),this.endSession(),t.setSession(o),o}shouldSendDefaultPii(){let e=this.getClient(),t=e&&e.getOptions();return!!(t&&t.sendDefaultPii)}_sendSessionUpdate(){let{scope:e,client:t}=this.getStackTop(),n=e.getSession();n&&t&&t.captureSession&&t.captureSession(n)}_callExtensionMethod(e,...t){let n=tp().__SENTRY__;if(n&&n.extensions&&typeof n.extensions[e]==`function`)return n.extensions[e].apply(this,t);G&&B.warn(`Extension method ${e} couldn't be found, doing nothing.`)}};function tp(){return z.__SENTRY__=z.__SENTRY__||{extensions:{},hub:void 0},z}function np(e){let t=tp(),n=cp(t);return lp(t,e),n}function rp(){let e=tp();if(e.__SENTRY__&&e.__SENTRY__.acs){let t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return ap(e)}function ip(){return rp().getIsolationScope()}function ap(e=tp()){return(!sp(e)||cp(e).isOlderThan(Qf))&&lp(e,new ep),cp(e)}function op(e,t={}){let n=tp();return n.__SENTRY__&&n.__SENTRY__.acs?n.__SENTRY__.acs.runWithAsyncContext(e,t):e()}function sp(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function cp(e){return zc(`hub`,()=>new ep,e)}function lp(e,t){if(!e)return!1;let n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function up(e){return(e||rp()).getScope().getTransaction()}var dp=dd,fp=!1;function pp(){fp||(fp=!0,su(mp),uu(mp))}function mp(){let e=up();if(e){let t=`internal_error`;G&&B.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}mp.tag=`sentry_tracingErrorCallback`;var hp;(function(e){e.Ok=`ok`,e.DeadlineExceeded=`deadline_exceeded`,e.Unauthenticated=`unauthenticated`,e.PermissionDenied=`permission_denied`,e.NotFound=`not_found`,e.Re
19sourceExhausted=`resource_exhausted`,e.InvalidArgument=`invalid_argument`,e.Unimplemented=`unimplemented`,e.Unavailable=`unavailable`,e.InternalError=`internal_error`,e.UnknownError=`unknown_error`,e.Cancelled=`cancelled`,e.AlreadyExists=`already_exists`,e.FailedPrecondition=`failed_precondition`,e.Aborted=`aborted`,e.OutOfRange=`out_of_range`,e.DataLoss=`data_loss`})(hp||(hp={}));function gp(e){if(e<400&&e>=100)return`ok`;if(e>=400&&e<500)switch(e){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(e>=500&&e<600)switch(e){case 501:return`unimplemented`;case 503:return`unavailable`;case 504:return`deadline_exceeded`;default:return`internal_error`}return`unknown_error`}var _p=gp;function vp(e,t){e.setTag(`http.status_code`,String(t)),e.setData(`http.response.status_code`,t);let n=gp(t);n!==`unknown_error`&&e.setStatus(n)}function yp(e,t,n=()=>{}){let r;try{r=e()}catch(e){throw t(e),n(),e}return bp(r,t,n)}function bp(e,t,n){return Sc(e)?e.then(e=>(n(),e),e=>{throw t(e),n(),e}):(n(),e)}function xp(e){if(typeof __SENTRY_TRACING__==`boolean`&&!__SENTRY_TRACING__)return!1;let t=K(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||`tracesSampleRate`in n||`tracesSampler`in n)}function Sp(e,t,n=()=>{},r=()=>{}){let i=rp(),a=Af(),o=a.getSpan(),s=Op(i,{parentSpan:o,spanContext:kp(e),forceTransaction:!1,scope:a});return a.setSpan(s),yp(()=>t(s),e=>{s&&s.setStatus(`internal_error`),n(e,s)},()=>{s&&s.end(),a.setSpan(o),r()})}function Cp(e,t){let n=kp(e);return op(()=>Sf(e.scope,r=>{let i=rp(),a=r.getSpan(),o=e.onlyIfParent&&!a?void 0:Op(i,{parentSpan:a,spanContext:n,forceTransaction:e.forceTransaction,scope:r});return yp(()=>t(o),()=>{if(o){let{status:e}=Yd(o);(!e||e===`ok`)&&o.setStatus(`internal_error`)}},()=>o&&o.end())}))}function wp(e,t){let n=kp(e);return op(()=>Sf(e.scope,r=>{let i=rp(),a=r.getSpan(),o=e.onlyIfParent&&!a?void 0:Op(i,{parentSpan:a,spanContext:n,forceTransaction:e.forceTransaction,scope:r});function s(){o&&o.end()}return yp(()=>t(o,s),()=>{if(o&&o.isRecording()){let{status:e}=Yd(o);(!e||e===`ok`)&&o.setStatus(`internal_error`)}})}))}function Tp(e){if(!xp())return;let t=kp(e),n=rp(),r=e.scope?e.scope.getSpan():Ep();if(e.onlyIfParent&&!r)return;let i=(e.scope||Af()).clone();return Op(n,{parentSpan:r,spanContext:t,forceTransaction:e.forceTransaction,scope:i})}function Ep(){return Af().getSpan()}var Dp=({sentryTrace:e,baggage:t},n)=>{let r=Af(),{traceparentData:i,dynamicSamplingContext:a,propagationContext:o}=fd(e,t);r.setPropagationContext(o),G&&i&&B.log(`[Tracing] Continuing trace ${i.traceId}.`);let s={...i,metadata:gl({dynamicSamplingContext:a})};return n?op(()=>n(s)):s};function Op(e,{parentSpan:t,spanContext:n,forceTransaction:r,scope:i}){if(!xp())return;let a=ip(),o;if(t&&!r)o=t.startChild(n);else if(t){let r=Lf(t),{traceId:i,spanId:a}=t.spanContext(),s=Zd(t);o=e.startTransaction({traceId:i,parentSpanId:a,parentSampled:s,...n,metadata:{dynamicSamplingContext:r,...n.metadata}})}else{let{traceId:t,dsc:r,parentSpanId:s,sampled:c}={...a.getPropagationContext(),...i.getPropagationContext()};o=e.startTransaction({traceId:t,parentSpanId:s,parentSampled:c,...n,metadata:{dynamicSamplingContext:r,...n.metadata}})}return i.setSpan(o),Mp(o,i,a),o}function kp(e){if(e.startTime){let t={...e};return t.startTimestamp=qd(e.startTime),delete t.startTime,t}return e}var Ap=`_sentryScope`,jp=`_sentryIsolationScope`;function Mp(e,t,n){e&&(cl(e,jp,n),cl(e,Ap,t))}function Np(e){return{scope:e[Ap],isolationScope:e[jp]}}var Pp;function Fp(e){return Pp?Pp.get(e):void 0}function Ip(e){let t=Fp(e);if(!t)return;let n={};for(let[,[e,r]]of t)n[e]||(n[e]=[]),n[e].push(gl(r));return n}function Lp(e,t,n,r,i,a){let o=Ep();if(o){let s=Fp(o)||new Map,c=`${e}:${t}@${r}`,l=s.get(a);if(l){let[,e]=l;s.set(a,[c,{min:Math.min(e.min,n),max:Math.max(e.max,n),count:e.count+=1,sum:e.sum+=n,tags:e.tags}])}else s.set(a,[c,{min:n,max:n,count:1,sum:n,tags:i}]);Pp||(Pp=new WeakMap),Pp.set(o,s)}}var Rp=`sentry.source`,zp=`sentry.sample_rate`,Bp=`sentry.op`,Vp=`sentry.origin`,Hp=`profile_id`,Up=class{constructor(e=1e3){this._maxlen=e,this.spans=[]}add(e){this.spans.length>this._maxlen?e.spanRecorder=void 0:this.spans.push(e)}},Wp=class e{constructor(e={}){this._traceId=e.traceId||V(),this._spanId=e.spanId||V().substring(16),this._startTime=e.startTimestamp||td(),this.tags=e.tags?{...e.tags}:{},this.data=e.data?{...e.data}:{},this.instrumenter=e.instrumenter||`sentry`,this._attributes={},this.setAttributes({[Vp]:e.origin||`manual`,[Bp]:e.op,...e.attributes}),this._name=e.name||e.description,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),`sampled`in e&&(this._sampled=e.sampled),e.status&&(this._status=e.status),e.endTimestamp&&(this._endTime=e.endTimestamp),e.exclusiveTime!==void 0&&(this._exclusiveTime=e.exclusiveTime),this._measurements=e.measurements?{...e.measurements}:{}}get name(){return this._name||``}set name(e){this.updateName(e)}get description(){return this._name}set description(e){this._name=e}get traceId(){return this._traceId}set traceId(e){this._traceId=e}get spanId(){return this._spanId}set spanId(e){this._spanId=e}set parentSpanId(e){this._parentSpanId=e}get parentSpanId(){return this._parentSpanId}get sampled(){return this._sampled}set sampled(e){this._sampled=e}get attributes(){return this._attributes}set attributes(e){this._attributes=e}get startTimestamp(){return this._startTime}set startTimestamp(e){this._startTime=e}get endTimestamp(){return this._endTime}set endTimestamp(e){this._endTime=e}get status(){return this._status}set status(e){this._status=e}get op(){return this._attributes[Bp]}set op(e){this.setAttribute(Bp,e)}get origin(){return this._attributes[Vp]}set origin(e){this.setAttribute(Vp,e)}spanContext(){let{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:+!!n}}startChild(t){let n=new e({...t,parentSpanId:this._spanId,sampled:this._sampled,traceId:this._traceId});n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n);let r=Ff(this);if(n.transaction=r,G&&r){let e=`[Tracing] Starting '${t&&t.op||`< unknown op >`}' span on transaction '${Yd(n).description||`< unknown name >`}' (${r.spanContext().spanId}).`;B.log(e),this._logMessage=e}return n}setTag(e,t){return this.tags={...this.tags,[e]:t},this}setData(e,t){return this.data={...this.data,[e]:t},this}setAttribute(e,t){t===void 0?delete this._attributes[e]:this._attributes[e]=t}setAttributes(e){Object.keys(e).forEach(t=>this.setAttribute(t,e[t]))}setStatus(e){return this._status=e,this}setHttpStatus(e){return vp(this,e),this}setName(e){this.updateName(e)}updateName(e){return this._name=e,this}isSuccess(){return this._status===`ok`}finish(e){return this.end(e)}end(e){if(this._endTime)return;let t=Ff(this);if(G&&t&&t.spanContext().spanId!==this._spanId){let e=this._logMessage;e&&B.log(e.replace(`Starting`,`Finishing`))}this._endTime=qd(e)}toTraceparent(){return Kd(this)}toContext(){return gl({data:this._getData(),description:this._name,endTimestamp:this._endTime,op:this.op,parentSpanId:this._parentSpanId,sampled:this._sampled,spanId:this._spanId,startTimestamp:this._startTime,status:this._status,tags:this.tags,traceId:this._traceId})}updateWithContext(e){return this.data=e.data||{},this._name=e.name||e.description,this._endTime=e.endTimestamp,this.op=e.op,this._parentSpanId=e.parentSpanId,this._sampled=e.sampled,this._spanId=e.spanId||this._spanId,this._startTime=e.startTimestamp||this._startTime,this._status=e.status,this.tags=e.tags||{},this._traceId=e.traceId||this._traceId,this}getTraceContext(){return Gd(this)}getSpanJSON(){return gl({data:this._getData(),description:this._name,op:this._attributes[Bp],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:this._status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[Vp],_metrics_summary:Ip(this),profile_id:this._attributes[Hp],exclusive_time:this._exclusiveTime,measurements:Object.keys(this._measurements).length>0?this._measurements:void 0})}isRecording(){return!this._endTime&&!!this._sampled}
19toJSON(){return this.getSpanJSON()}_getData(){let{data:e,_attributes:t}=this,n=Object.keys(e).length>0,r=Object.keys(t).length>0;if(!(!n&&!r))return n&&r?{...e,...t}:n?e:t}},Gp=class extends Wp{constructor(e,t){super(e),this._contexts={},this._hub=t||rp(),this._name=e.name||``,this._metadata={...e.metadata},this._trimEnd=e.trimEnd,this.transaction=this;let n=this._metadata.dynamicSamplingContext;n&&(this._frozenDynamicSamplingContext={...n})}get name(){return this._name}set name(e){this.setName(e)}get metadata(){return{source:`custom`,spanMetadata:{},...this._metadata,...this._attributes[`sentry.source`]&&{source:this._attributes[`sentry.source`]},...this._attributes[`sentry.sample_rate`]&&{sampleRate:this._attributes[`sentry.sample_rate`]}}}set metadata(e){this._metadata=e}setName(e,t=`custom`){this._name=e,this.setAttribute(Rp,t)}updateName(e){return this._name=e,this}initSpanRecorder(e=1e3){this.spanRecorder||(this.spanRecorder=new Up(e)),this.spanRecorder.add(this)}setContext(e,t){t===null?delete this._contexts[e]:this._contexts[e]=t}setMeasurement(e,t,n=``){this._measurements[e]={value:t,unit:n}}setMetadata(e){this._metadata={...this._metadata,...e}}end(e){let t=qd(e),n=this._finishTransaction(t);if(n)return this._hub.captureEvent(n)}toContext(){return gl({...super.toContext(),name:this._name,trimEnd:this._trimEnd})}updateWithContext(e){return super.updateWithContext(e),this._name=e.name||``,this._trimEnd=e.trimEnd,this}getDynamicSamplingContext(){return Lf(this)}setHub(e){this._hub=e}getProfileId(){if(this._contexts!==void 0&&this._contexts.profile!==void 0)return this._contexts.profile.profile_id}_finishTransaction(e){if(this._endTime!==void 0)return;this._name||(G&&B.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name=`<unlabeled transaction>`),super.end(e);let t=this._hub.getClient();if(t&&t.emit&&t.emit(`finishTransaction`,this),this._sampled!==!0){G&&B.log(`[Tracing] Discarding transaction because its trace was not chosen to be sampled.`),t&&t.recordDroppedEvent(`sample_rate`,`transaction`);return}let n=this.spanRecorder?this.spanRecorder.spans.filter(e=>e!==this&&Yd(e).timestamp):[];if(this._trimEnd&&n.length>0){let e=n.map(e=>Yd(e).timestamp).filter(Boolean);this._endTime=e.reduce((e,t)=>e>t?e:t)}let{scope:r,isolationScope:i}=Np(this),{metadata:a}=this,{source:o}=a,s={contexts:{...this._contexts,trace:Gd(this)},spans:n,start_timestamp:this._startTime,tags:this.tags,timestamp:this._endTime,transaction:this._name,type:`transaction`,sdkProcessingMetadata:{...a,capturedSpanScope:r,capturedSpanIsolationScope:i,...gl({dynamicSamplingContext:Lf(this)})},_metrics_summary:Ip(this),...o&&{transaction_info:{source:o}}};return Object.keys(this._measurements).length>0&&(G&&B.log(`[Measurements] Adding measurements to transaction`,JSON.stringify(this._measurements,void 0,2)),s.measurements=this._measurements),G&&B.log(`[Tracing] Finishing ${this.op} transaction: ${this._name}.`),s}},Kp={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},qp=`finishReason`,Jp=[`heartbeatFailed`,`idleTimeout`,`documentHidden`,`finalTimeout`,`externalFinish`,`cancelled`],Yp=class extends Up{constructor(e,t,n,r){super(r),this._pushActivity=e,this._popActivity=t,this.transactionSpanId=n}add(e){if(e.spanContext().spanId!==this.transactionSpanId){let t=e.end;e.end=(...n)=>(this._popActivity(e.spanContext().spanId),t.apply(e,n)),Yd(e).timestamp===void 0&&this._pushActivity(e.spanContext().spanId)}super.add(e)}},Xp=class extends Gp{constructor(e,t,n=Kp.idleTimeout,r=Kp.finalTimeout,i=Kp.heartbeatInterval,a=!1,o=!1){super(e,t),this._idleHub=t,this._idleTimeout=n,this._finalTimeout=r,this._heartbeatInterval=i,this._onScope=a,this.activities={},this._heartbeatCounter=0,this._finished=!1,this._idleTimeoutCanceledPermanently=!1,this._beforeFinishCallbacks=[],this._finishReason=Jp[4],this._autoFinishAllowed=!o,a&&(G&&B.log(`Setting idle transaction on scope. Span ID: ${this.spanContext().spanId}`),t.getScope().setSpan(this)),o||this._restartIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus(`deadline_exceeded`),this._finishReason=Jp[3],this.end())},this._finalTimeout)}end(e){let t=qd(e);if(this._finished=!0,this.activities={},this.op===`ui.action.click`&&this.setAttribute(qp,this._finishReason),this.spanRecorder){G&&B.log(`[Tracing] finishing IdleTransaction`,new Date(t*1e3).toISOString(),this.op);for(let e of this._beforeFinishCallbacks)e(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter(e=>{if(e.spanContext().spanId===this.spanContext().spanId)return!0;Yd(e).timestamp||(e.setStatus(`cancelled`),e.end(t),G&&B.log(`[Tracing] cancelling span since transaction ended early`,JSON.stringify(e,void 0,2)));let{start_timestamp:n,timestamp:r}=Yd(e),i=n&&n<t,a=(this._finalTimeout+this._idleTimeout)/1e3,o=r&&n&&r-n<a;if(G){let t=JSON.stringify(e,void 0,2);i?o||B.log(`[Tracing] discarding Span since it finished after Transaction final timeout`,t):B.log(`[Tracing] discarding Span since it happened after Transaction was finished`,t)}return i&&o}),G&&B.log(`[Tracing] flushing IdleTransaction`)}else G&&B.log(`[Tracing] No active IdleTransaction`);if(this._onScope){let e=this._idleHub.getScope();e.getTransaction()===this&&e.setSpan(void 0)}return super.end(e)}registerBeforeFinishCallback(e){this._beforeFinishCallbacks.push(e)}initSpanRecorder(e){if(!this.spanRecorder){let t=e=>{this._finished||this._pushActivity(e)},n=e=>{this._finished||this._popActivity(e)};this.spanRecorder=new Yp(t,n,this.spanContext().spanId,e),G&&B.log(`Starting heartbeat`),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(e,{restartOnChildSpanChange:t}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=t===!1,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,Object.keys(this.activities).length===0&&this._idleTimeoutCanceledPermanently&&(this._finishReason=Jp[5],this.end(e)))}setFinishReason(e){this._finishReason=e}sendAutoFinishSignal(){this._autoFinishAllowed||(G&&B.log(`[Tracing] Received finish signal for idle transaction.`),this._restartIdleTimeout(),this._autoFinishAllowed=!0)}_restartIdleTimeout(e){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{!this._finished&&Object.keys(this.activities).length===0&&(this._finishReason=Jp[1],this.end(e))},this._idleTimeout)}
19_pushActivity(e){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),G&&B.log(`[Tracing] pushActivity: ${e}`),this.activities[e]=!0,G&&B.log(`[Tracing] new activities count`,Object.keys(this.activities).length)}_popActivity(e){if(this.activities[e]&&(G&&B.log(`[Tracing] popActivity ${e}`),delete this.activities[e],G&&B.log(`[Tracing] new activities count`,Object.keys(this.activities).length)),Object.keys(this.activities).length===0){let e=td();this._idleTimeoutCanceledPermanently?this._autoFinishAllowed&&(this._finishReason=Jp[5],this.end(e)):this._restartIdleTimeout(e+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;let e=Object.keys(this.activities).join(``);e===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=e,this._heartbeatCounter>=3?this._autoFinishAllowed&&(G&&B.log(`[Tracing] Transaction finished because of no change for 3 heart beats`),this.setStatus(`deadline_exceeded`),this._finishReason=Jp[0],this.end()):this._pingHeartbeat()}_pingHeartbeat(){G&&B.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},this._heartbeatInterval)}};function Zp(e,t,n){if(!xp(t))return e.sampled=!1,e;if(e.sampled!==void 0)return e.setAttribute(zp,Number(e.sampled)),e;let r;return typeof t.tracesSampler==`function`?(r=t.tracesSampler(n),e.setAttribute(zp,Number(r))):n.parentSampled===void 0?t.tracesSampleRate===void 0?(r=1,e.setAttribute(zp,r)):(r=t.tracesSampleRate,e.setAttribute(zp,Number(r))):r=n.parentSampled,Qp(r)?r?(e.sampled=Math.random()<r,e.sampled?(G&&B.log(`[Tracing] starting ${e.op} transaction - ${Yd(e).description}`),e):(G&&B.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),e)):(G&&B.log(`[Tracing] Discarding transaction because ${typeof t.tracesSampler==`function`?`tracesSampler returned 0 or false`:`a negative sampling decision was inherited or tracesSampleRate is set to 0`}`),e.sampled=!1,e):(G&&B.warn(`[Tracing] Discarding transaction because of invalid sample rate.`),e.sampled=!1,e)}function Qp(e){return wc(e)||typeof e!=`number`&&typeof e!=`boolean`?(G&&B.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):e<0||e>1?(G&&B.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function $p(){let e=this.getScope().getSpan();return e?{"sentry-trace":Kd(e)}:{}}function em(e,t){let n=this.getClient(),r=n&&n.getOptions()||{},i=r.instrumenter||`sentry`,a=e.instrumenter||`sentry`;i!==a&&(G&&B.error(`A transaction was started with instrumenter=\`${a}\`, but the SDK is configured with the \`${i}\` instrumenter.
20The transaction will not be sampled. Please use the ${i} instrumentation to start transactions.`),e.sampled=!1);let o=new Gp(e,this);return o=Zp(o,r,{name:e.name,parentSampled:e.parentSampled,transactionContext:e,attributes:{...e.data,...e.attributes},...t}),o.isRecording()&&o.initSpanRecorder(r._experiments&&r._experiments.maxSpans),n&&n.emit&&n.emit(`startTransaction`,o),o}function tm(e,t,n,r,i,a,o,s=!1){let c=e.getClient(),l=c&&c.getOptions()||{},u=new Xp(t,e,n,r,o,i,s);return u=Zp(u,l,{name:t.name,parentSampled:t.parentSampled,transactionContext:t,attributes:{...t.data,...t.attributes},...a}),u.isRecording()&&u.initSpanRecorder(l._experiments&&l._experiments.maxSpans),c&&c.emit&&c.emit(`startTransaction`,u),u}function nm(){let e=tp();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=em),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=$p),pp())}function rm(e,t,n){let r=up();r&&r.setMeasurement(e,t,n)}function im(e,t){return t?(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]],e):e}function am(e,t,n,r){let i=Td(n);return W({sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:tl(t)}},[`aggregates`in e?[{type:`sessions`},e]:[{type:`session`},e.toJSON()]])}function om(e,t,n,r){let i=Td(n),a=e.type&&e.type!==`replay_event`?e.type:`event`;im(e,n&&n.sdk);let o=Ed(e,i,r,t);return delete e.sdkProcessingMetadata,W(o,[[{type:a},e]])}var sm=`7`;function cm(e){let t=e.protocol?`${e.protocol}:`:``,n=e.port?`:${e.port}`:``;return`${t}//${e.host}${n}${e.path?`/${e.path}`:``}/api/`}function lm(e){return`${cm(e)}${e.projectId}/envelope/`}function um(e,t){return dl({sentry_key:e.publicKey,sentry_version:sm,...t&&{sentry_client:`${t.name}/${t.version}`}})}function dm(e,t={}){let n=typeof t==`string`?t:t.tunnel,r=typeof t==`string`||!t._metadata?void 0:t._metadata.sdk;return n||`${lm(e)}?${um(e,r)}`}function fm(e,t){let n=al(e);if(!n)return``;let r=`${cm(n)}embed/error-page/`,i=`dsn=${tl(n)}`;for(let e in t)if(e!==`dsn`&&e!==`onClose`)if(e===`user`){let e=t.user;if(!e)continue;e.name&&(i+=`&name=${encodeURIComponent(e.name)}
20`),e.email&&(i+=`&email=${encodeURIComponent(e.email)}`)}else i+=`&${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`;return`${r}?${i}`}var pm=[];function mm(e){let t={};return e.forEach(e=>{let{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.keys(t).map(e=>t[e])}function hm(e){let t=e.defaultIntegrations||[],n=e.integrations;t.forEach(e=>{e.isDefaultInstance=!0});let r;r=Array.isArray(n)?[...t,...n]:typeof n==`function`?Rl(n(t)):t;let i=mm(r),a=bm(i,e=>e.name===`Debug`);if(a!==-1){let[e]=i.splice(a,1);i.push(e)}return i}function gm(e,t){let n={};return t.forEach(t=>{t&&vm(e,t,n)}),n}function _m(e,t){for(let n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function vm(e,t,n){if(n[t.name]){G&&B.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,pm.indexOf(t.name)===-1&&(t.setupOnce(zd,rp),pm.push(t.name)),t.setup&&typeof t.setup==`function`&&t.setup(e),e.on&&typeof t.preprocessEvent==`function`){let n=t.preprocessEvent.bind(t);e.on(`preprocessEvent`,(t,r)=>n(t,r,e))}if(e.addEventProcessor&&typeof t.processEvent==`function`){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}G&&B.log(`Integration installed: ${t.name}`)}function ym(e){let t=K();if(!t||!t.addIntegration){G&&B.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`);return}t.addIntegration(e)}function bm(e,t){for(let n=0;n<e.length;n++)if(t(e[n])===!0)return n;return-1}function xm(e,t){return Object.assign(function(...e){return t(...e)},{id:e})}function Sm(e){return e}function Cm(e,t,n,r){return`${e}${t}${n}${Object.entries(gl(r)).sort((e,t)=>e[0].localeCompare(t[0]))}`}function wm(e){let t=0;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t=(t<<5)-t+r,t&=t}return t>>>0}function Tm(e){let t=``;for(let n of e){let e=Object.entries(n.tags),r=e.length>0?`|#${e.map(([e,t])=>`${e}:${t}`).join(`,`)}`:``;t+=`${n.name}@${n.unit}:${n.metric}|${n.metricType}${r}|T${n.timestamp}\n`}return t}function Em(e){return e.replace(/[^\w]+/gi,`_`)}function Dm(e){return e.replace(/[^\w\-.]+/gi,`_`)}function Om(e){return e.replace(/[^\w\-./]+/gi,``)}var km=[[`
21`,`\\n`],[`\r`,`\\r`],[`	`,`\\t`],[`\\`,`\\\\`],[`|`,`\\u{7c}`],[`,`,`\\u{2c}`]];function Am(e){for(let[t,n]of km)if(e===t)return n;return e}function jm(e){return[...e].reduce((e,t)=>e+Am(t),``)}function Mm(e){let t={};for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)){let r=Om(n);t[r]=jm(String(e[n]))}return t}function Nm(e,t,n,r){let i={sent_at:new Date().toISOString()};return n&&n.sdk&&(i.sdk={name:n.sdk.name,version:n.sdk.version}),r&&t&&(i.dsn=tl(t)),W(i,[Pm(e)])}function Pm(e){let t=Tm(e);return[{type:`statsd`,length:t.length},t]}var Fm=`Not capturing exception because it's already been captured.`,Im=class{constructor(e){if(this._options=e,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=al(e.dsn):G&&B.warn(`No DSN provided, client will not send events.`),this._dsn){let t=dm(this._dsn,e);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,n){if(Ll(e)){G&&B.log(Fm);return}let r=t&&t.event_id;return this._process(this.eventFromException(e,t).then(e=>this._captureEvent(e,t,n)).then(e=>{r=e})),r}captureMessage(e,t,n,r){let i=n&&n.event_id,a=gc(e)?e:String(e),o=_c(e)?this.eventFromMessage(a,t,n):this.eventFromException(e,n);return this._process(o.then(e=>this._captureEvent(e,n,r)).then(e=>{i=e})),i}captureEvent(e,t,n){if(t&&t.originalException&&Ll(t.originalException)){G&&B.log(Fm);return}let r=t&&t.event_id,i=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,t,i||n).then(e=>{r=e})),r}captureSession(e){typeof e.release==`string`?(this.sendSession(e),Hd(e,{init:!1})):G&&B.warn(`Discarded session because of missing or non-string release`)}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){let t=this._transport;return t?(this.metricsAggregator&&this.metricsAggregator.flush(),this._isCl
vendor: 4,765 bytes, line 21
21ientDoneProcessing(e).then(n=>t.flush(e).then(e=>n&&e))):Wu(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.metricsAggregator&&this.metricsAggregator.close(),e))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}setupIntegrations(e){(e&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&this._setupIntegrations()}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationById(e){return this.getIntegrationByName(e)}getIntegrationByName(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch{return G&&B.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}addIntegration(e){let t=this._integrations[e.name];vm(this,e,this._integrations),t||_m(this,[e])}sendEvent(e,t={}){this.emit(`beforeSendEvent`,e,t);let n=om(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])n=hd(n,Sd(e,this._options.transportOptions&&this._options.transportOptions.textEncoder));let r=this._sendEnvelope(n);r&&r.then(t=>this.emit(`afterSendEvent`,e,t),null)}sendSession(e){let t=am(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){let r=typeof n==`number`?n:1,i=`${e}:${t}`;G&&B.log(`Recording outcome: "${i}"${r>1?` (${r} times)`:``}`),this._outcomes[i]=(this._outcomes[i]||0)+r}}captureAggregateMetrics(e){G&&B.log(`Flushing aggregated metrics, number of metrics: ${e.length}`);let t=Nm(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}on(e,t){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t)}emit(e,...t){this._hooks[e]&&this._hooks[e].forEach(e=>e(...t))}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=gm(this,e),_m(this,e),this._integrationsInitialized=!0}_updateSessionFromEvent(e,t){let n=!1,r=!1,i=t.exception&&t.exception.values;if(i){r=!0;for(let e of i){let t=e.mechanism;if(t&&t.handled===!1){n=!0;break}}}let a=e.status===`ok`;(a&&e.errors===0||a&&n)&&(Hd(e,{...n&&{status:`crashed`},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new Ku(t=>{let n=0,r=setInterval(()=>{this._numProcessing==0?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))},1)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(e,t,n,r=ip()){let i=this.getOptions(),a=Object.keys(this._integrations);return!t.integrations&&a.length>0&&(t.integrations=a),this.emit(`preprocessEvent`,e,t),Qd(i,e,t,n,this,r).then(e=>{if(e===null)return e;let t={...r.getPropagationContext(),...n?n.getPropagationContext():void 0};if(!(e.contexts&&e.contexts.trace)&&t){let{traceId:r,spanId:i,parentSpanId:a,dsc:o}=t;e.contexts={trace:{trace_id:r,span_id:i,parent_span_id:a},...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:o||If(r,this,n),...e.sdkProcessingMetadata}}return e})}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then(e=>e.event_id,e=>{if(G){let t=e;t.logLevel===`log`?B.log(t.message):B.warn(t)}})}_processEvent(e,t,n){let r=this.getOptions(),{sampleRate:i}=r,a=Bm(e),o=zm(e),s=e.type||`error`,c=`before send for type \`${s}\``;if(o&&typeof i==`number`&&Math.random()>i)return this.recordDroppedEvent(`sample_rate`,`error`,e),Gu(new ol(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,`log`));let l=s===`replay_event`?`replay`:s,u=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,n,u).then(n=>{if(n===null)throw this.recordDroppedEvent(`event_processor`,l,e),new ol("An event processor returned `null`, will not send event.",`log`);return t.data&&t.data.__sentry__===!0?n:Lm(Rm(r,n,t),c)}).then(r=>{if(r===null){if(this.recordDroppedEvent(`before_send`,l,e),a){let t=1+(e.spans||[]).length;this.recordDroppedEvent(`before_send`,`span`,t)}throw new ol(`${c} returned \`null\`, will not send event.`,`log`)}let i=n&&n.getSession();if(!a&&i&&this._updateSessionFromEvent(i,r),a){let e=(r.sdkProcessingMetadata&&r.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(r.spans?r.spans.length:0);e>0&&this.recordDroppedEvent(`before_send`,`span`,e)}let o=r.transaction_info;return a&&o&&r.transaction!==e.transaction&&(r.transaction_info={...o,source:`custom`}),this.sendEvent(r,t),r}).then(null,e=>{throw e instanceof ol?e:(this.captureException(e,{data:{__sentry__:!0},originalException:e}),new ol(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`))})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}
21_sendEnvelope(e){if(this.emit(`beforeEnvelope`,e),this._isEnabled()&&this._transport)return this._transport.send(e).then(null,e=>{G&&B.error(`Error while sending event:`,e)});G&&B.error(`Transport disabled`)}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.keys(e).map(t=>{let[n,r]=t.split(`:`);return{reason:n,category:r,quantity:e[t]}})}};function Lm(e,t){let n=`${t} must return \`null\` or a valid event.`;if(Sc(e))return e.then(e=>{if(!vc(e)&&e!==null)throw new ol(n);return e},e=>{throw new ol(`${t} rejected with ${e}`)});if(!vc(e)&&e!==null)throw new ol(n);return e}function Rm(e,t,n){let{beforeSend:r,beforeSendTransaction:i}=e;if(zm(t)&&r)return r(t,n);if(Bm(t)&&i){if(t.spans){let e=t.spans.length;t.sdkProcessingMetadata={...t.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return i(t,n)}return t}function zm(e){return e.type===void 0}function Bm(e){return e.type===`transaction`}function Vm(e){let t=K();!t||!t.addEventProcessor||t.addEventProcessor(e)}var Hm=5e3,Um={c:class{constructor(e){this._value=e}get weight(){return 1}add(e){this._value+=e}toString(){return`${this._value}`}},g:class{constructor(e){this._last=e,this._min=e,this._max=e,this._sum=e,this._count=1}get weight(){return 5}add(e){this._last=e,e<this._min&&(this._min=e),e>this._max&&(this._max=e),this._sum+=e,this._count++}toString(){return`${this._last}:${this._min}:${this._max}:${this._sum}:${this._count}`}},d:class{constructor(e){this._value=[e]}get weight(){return this._value.length}add(e){this._value.push(e)}toString(){return this._value.join(`:`)}},s:class{constructor(e){this.first=e,this._value=new Set([e])}get weight(){return this._value.size}add(e){this._value.add(e)}toString(){return Array.from(this._value).map(e=>typeof e==`string`?wm(e):e).join(`:`)}}};function Wm(e,t){t.debug===!0&&(G?B.enable():Zc(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Af().update(t.initialScope);let n=new e(t);Gm(n),Km(n)}function Gm(e){let t=rp().getStackTop();t.client=e,t.scope.setClient(e)}function Km(e){e.init?e.init():e.setupIntegrations&&e.setupIntegrations()}function qm(e,t,n=qu(e.bufferSize||30)){let r={},i=e=>n.drain(e);function a(i){let a=[];if(gd(i,(t,n)=>{let i=wd(n);if(jd(r,i)){let r=Jm(t,n);e.recordDroppedEvent(`ratelimit_backoff`,i,r)}else a.push(t)}),a.length===0)return Wu();let o=W(i[0],a),s=t=>{gd(o,(n,r)=>{let i=Jm(n,r);e.recordDroppedEvent(t,wd(r),i)})};return n.add(()=>t({body:yd(o,e.textEncoder)}).then(e=>(e.statusCode!==void 0&&(e.statusCode<200||e.statusCode>=300)&&G&&B.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=Md(r,e),e),e=>{throw s(`network_error`),e})).then(e=>e,e=>{if(e instanceof ol)return G&&B.error(`Skipped sending event because buffer is full.`),s(`queue_overflow`),Wu();throw e})}return a.__sentry__baseTransport__=!0,{send:a,flush:i}}function Jm(e,t){if(t===`event`||t===`transaction`)return Array.isArray(e)?e[1]:void 0}var Ym=5e3,Xm=36e5;function Zm(e,t){G&&B.info(`[Offline]: ${e}`,t)}function Qm(e){return t=>{let n=e(t),r=t.createStore?t.createStore(t):void 0,i=Ym,a;function o(e,n,r){return _d(e,[`replay_event`,`replay_recording`,`client_report`])?!1:!t.shouldStore||t.shouldStore(e,n,r)}function s(e){r&&(a&&clearTimeout(a),a=setTimeout(async()=>{a=void 0;let e=await r.pop();e&&(Zm(`Attempting to send previously queued event`),l(e).catch(e=>{Zm(`Failed to retry sending`,e)}))},e),typeof a!=`number`&&a.unref&&a.unref())}function c(){a||(s(i),i=Math.min(i*2,Xm))}async function l(e){try{let t=await n.send(e),r=100;if(t){if(t.headers&&t.headers[`retry-after`])r=kd(t.headers[`retry-after`]);else if((t.statusCode||0)>=400)return t}return s(r),i=Ym,t}catch(t){if(r&&await o(e,t,i))return await r.insert(e),c(),Zm(`Error sending. Event queued`,t),{};throw t}}return t.flushAtStartup&&c(),{send:l,flush:e=>n.flush(e)}}}function $m(e,t){let n;return gd(e,(e,r)=>(t.includes(r)&&(n=Array.isArray(e)?e[1]:void 0),!!n)),n}function eh(e,t){return n=>{let r=e(n);return{...r,send:async e=>{let n=$m(e,[`event`,`transaction`,`profile`,`replay_event`]);return n&&(n.release=t),r.send(e)}}}}function th(e,t){return W(t?{...e[0],dsn:t}:e[0],e[1])}function nh(e,t){return n=>{let r=e(n),i=new Map;function a(t,r){let a=r?`${t}:${r}`:t,o=i.get(a);if(!o){let s=nl(t);if(!s)return;let c=dm(s,n.tunnel);o=r?eh(e,r)({...n,url:c}):e({...n,url:c}),i.set(a,o)}return[t,o]}async function o(e){function n(t){return $m(e,t&&t.length?t:[`event`])}let i=t({envelope:e,getEvent:n}).map(e=>typeof e==`string`?a(e,void 0):a(e.dsn,e.release)).filter(e=>!!e);return i.length===0&&i.push([``,r]),(await Promise.all(i.map(([t,n])=>n.send(th(e,t)))))[0]}async function s(e){let t=[await r.flush(e)];for(let[,n]of i)t.push(await n.flush(e));return t.every(e=>e)}return{send:o,flush:s}}}function rh(e,t){let n={sent_at:new Date().toISOString()};return t&&(n.dsn=tl(t)),W(n,e.map(ih))}function ih(e){return[{type:`span`},e]}function ah(e,t){let n=t&&lh(t)?t.getClient():t,r=n&&n.getDsn(),i=n&&n.getOptions().tunnel;return sh(e,r)||oh(e,i)}function oh(e,t){return t?ch(e)===ch(t):!1}function sh(e,t){return t?e.includes(t.host):!1}function ch(e){return e[e.length-1]===`/`?e.slice(0,-1):e}function lh(e){return e.getClient!==void 0}function uh(e,...t){let n=new String(String.raw(e,...t));
21return n.__sentry_template_string__=e.join(`\0`).replace(/%/g,`%%`).replace(/\0/g,`%s`),n.__sentry_template_values__=t,n}function dh(e,t,n=[t],r=`npm`){let i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map(e=>({name:`${r}:@sentry/${e}`,version:Zf})),version:Zf}),e._metadata=i}var fh=new Map,ph=new Set;function mh(e){if(z._sentryModuleMetadata)for(let t of Object.keys(z._sentryModuleMetadata)){let n=z._sentryModuleMetadata[t];if(ph.has(t))continue;ph.add(t);let r=e(t);for(let e of r.reverse())if(e.filename){fh.set(e.filename,n);break}}}function hh(e,t){return mh(e),fh.get(t)}function gh(e,t){try{t.exception.values.forEach(t=>{if(t.stacktrace)for(let n of t.stacktrace.frames||[]){if(!n.filename)continue;let t=hh(e,n.filename);t&&(n.module_metadata=t)}})}catch{}}function _h(e){try{e.exception.values.forEach(e=>{if(e.stacktrace)for(let t of e.stacktrace.frames||[])delete t.module_metadata})}catch{}}var vh=`ModuleMetadata`,yh=Sm((()=>({name:vh,setupOnce(){},setup(e){typeof e.on==`function`&&e.on(`beforeEnvelope`,e=>{gd(e,(e,t)=>{if(t===`event`){let t=Array.isArray(e)?e[1]:void 0;t&&(_h(t),e[1]=t)}})})},processEvent(e,t,n){let r=n.getOptions().stackParser;return gh(r,e),e}}))),bh=xm(vh,yh),xh=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/],Sh=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],Ch=`InboundFilters`,wh=Sm(((e={})=>({name:Ch,setupOnce(){},processEvent(t,n,r){return Dh(t,Eh(e,r.getOptions()))?null:t}}))),Th=xm(Ch,wh);function Eh(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:xh],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[],...e.disableTransactionDefaults?[]:Sh],ignoreInternal:e.ignoreInternal===void 0||e.ignoreInternal}}function Dh(e,t){return t.ignoreInternal&&Nh(e)?(G&&B.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${U(e)}`),!0):Oh(e,t.ignoreErrors)?(G&&B.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${U(e)}`),!0):kh(e,t.ignoreTransactions)?(G&&B.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${U(e)}`),!0):Ah(e,t.denyUrls)?(G&&B.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${U(e)}.\nUrl: ${Fh(e)}`),!0):jh(e,t.allowUrls)?!1:(G&&B.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${U(e)}.\nUrl: ${Fh(e)}`),!0)}function Oh(e,t){return e.type||!t||!t.length?!1:Mh(e).some(e=>jc(e,t))}function kh(e,t){if(e.type!==`transaction`||!t||!t.length)return!1;let n=e.transaction;return n?jc(n,t):!1}function Ah(e,t){if(!t||!t.length)return!1;let n=Fh(e);return n?jc(n,t):!1}function jh(e,t){if(!t||!t.length)return!0;let n=Fh(e);return!n||jc(n,t)}function Mh(e){let t=[];e.message&&t.push(e.message);let n;try{n=e.exception.values[e.exception.values.length-1]}catch{}return n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`)),G&&t.length===0&&B.error(`Could not extract message for event ${U(e)}`),t}function Nh(e){try{return e.exception.values[0].type===`SentryError`}catch{}return!1}function Ph(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&n.filename!==`<anonymous>`&&n.filename!==`[native code]`)return n.filename||null}return null}function Fh(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?Ph(t):null}catch{return G&&B.error(`Cannot extract url for event ${U(e)}`),null}}var Ih,Lh=`FunctionToString`,Rh=new WeakMap,zh=Sm((()=>({name:Lh,setupOnce(){Ih=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=ul(this),n=Rh.has(K())&&t!==void 0?t:this;return Ih.apply(n,e)}}catch{}},setup(e){Rh.set(e,!0)}}))),Bh=xm(Lh,zh),Vh=`cause`,Hh=5,Uh=`LinkedErrors`,Wh=xm(Uh,Sm(((e={})=>{let t=e.limit||Hh,n=e.key||Vh;return{name:Uh,setupOnce(){},preprocessEvent(e,r,i){let a=i.getOptions();Mc(Pd,a.stackParser,a.maxValueLength,n,t,e,r)}}}))),Gh=s({FunctionToString:()=>Bh,InboundFilters:()=>Th,LinkedErrors:()=>Wh}),Kh=class{constructor(e){this._client=e,this._buckets=new Map,this._interval=setInterval(()=>this.flush(),Hm)}add(e,t,n,r=`none`,i={},a=td()){let o=Math.floor(a),s=Dm(t),c=Mm(i),l=Em(r),u=Cm(e,s,l,c),d=this._buckets.get(u),f=d&&e===`s`?d.metric.weight:0;d?(d.metric.add(n),d.timestamp<o&&(d.timestamp=o)):(d={metric:new Um[e](n),timestamp:o,metricType:e,name:s,unit:l,tags:c}
21,this._buckets.set(u,d)),Lp(e,s,typeof n==`string`?d.metric.weight-f:n,l,i,u)}flush(){if(this._buckets.size!==0){if(this._client.captureAggregateMetrics){let e=Array.from(this._buckets).map(([,e])=>e);this._client.captureAggregateMetrics(e)}this._buckets.clear()}}close(){clearInterval(this._interval),this.flush()}},qh=`MetricsAggregator`,Jh=Sm((()=>({name:qh,setupOnce(){},setup(e){e.metricsAggregator=new Kh(e)}}))),Yh=xm(qh,Jh);function Xh(e,t,n,r={}){let i=K(),a=Af();if(i){if(!i.metricsAggregator){G&&B.warn(`No metrics aggregator enabled. Please add the MetricsAggregator integration to use metrics APIs`);return}let{unit:o,tags:s,timestamp:c}=r,{release:l,environment:u}=i.getOptions(),d=a.getTransaction(),f={};l&&(f.release=l),u&&(f.environment=u),d&&(f.transaction=Yd(d).description||``),G&&B.log(`Adding value of ${n} to ${e} metric ${t}`),i.metricsAggregator.add(e,t,n,o,{...f,...s},c)}}function Zh(e,t=1,n){Xh(`c`,e,t,n)}function Qh(e,t,n){Xh(`d`,e,t,n)}function $h(e,t,n){Xh(`s`,e,t,n)}function eg(e,t,n){Xh(`g`,e,t,n)}var tg={increment:Zh,distribution:Qh,set:$h,gauge:eg,MetricsAggregator:Yh,metricsAggregatorIntegration:Jh},ng=Gh,q=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,J=z;function rg(){J.document?J.document.addEventListener(`visibilitychange`,()=>{let e=up();if(J.document.hidden&&e){let t=`cancelled`,{op:n,status:r}=Yd(e);q&&B.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${n}`),r||e.setStatus(t),e.setTag(`visibilitychange`,`document.hidden`),e.end()}}):q&&B.warn(`[Tracing] Could not set up background tab detection due to lack of global document`)}var ig=(e,t,n)=>{let r,i;return a=>{t.value>=0&&(a||n)&&(i=t.value-(r||0),(i||r===void 0)&&(r=t.value,t.delta=i,e(t)))}},ag=()=>`v3-${Date.now()}-${Math.floor(Math.random()*8999999999999)+0xe8d4a51000}`,og=()=>{let e=J.performance.timing,t=J.performance.navigation.type,n={entryType:`navigation`,startTime:0,type:t==2?`back_forward`:t===1?`reload`:`navigate`};for(let t in e)t!==`navigationStart`&&t!==`toJSON`&&(n[t]=Math.max(e[t]-e.navigationStart,0));return n},sg=()=>J.__WEB_VITALS_POLYFILL__?J.performance&&(performance.getEntriesByType&&performance.getEntriesByType(`navigation`)[0]||og()):J.performance&&performance.getEntriesByType&&performance.getEntriesByType(`navigation`)[0],cg=()=>{let e=sg();return e&&e.activationStart||0},lg=(e,t)=>{let n=sg(),r=`navigate`;return n&&(r=J.document&&J.document.prerendering||cg()>0?`prerender`:n.type.replace(/_/g,`-`)),{name:e,value:t===void 0?-1:t,rating:`good`,delta:0,entries:[],id:ag(),navigationType:r}},ug=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{t(e.getEntries())});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch{}},dg=(e,t)=>{let n=r=>{(r.type===`pagehide`||J.document.visibilityState===`hidden`)&&(e(r),t&&(removeEventListener(`visibilitychange`,n,!0),removeEventListener(`pagehide`,n,!0)))};J.document&&(addEventListener(`visibilitychange`,n,!0),addEventListener(`pagehide`,n,!0))},fg=(e,t={})=>{let n=lg(`CLS`,0),r,i=0,a=[],o=e=>{e.forEach(e=>{if(!e.hadRecentInput){let t=a[0],o=a[a.length-1];i&&a.length!==0&&e.startTime-o.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,a.push(e)):(i=e.value,a=[e]),i>n.value&&(n.value=i,n.entries=a,r&&r())}})},s=ug(`layout-shift`,o);if(s){r=ig(e,n,t.reportAllChanges);let i=()=>{o(s.takeRecords()),r(!0)};return dg(i),i}},pg=-1,mg=()=>{J.document&&J.document.visibilityState&&(pg=J.document.visibilityState===`hidden`&&!J.document.prerendering?0:1/0)},hg=()=>{dg(({timeStamp:e})=>{pg=e},!0)},gg=()=>(pg<0&&(mg(),hg()),{get firstHiddenTime(){return pg}}),_g=e=>{let t=gg(),n=lg(`FID`),r,i=e=>{e.startTime<t.firstHiddenTime&&(n.value=e.processingStart-e.startTime,n.entries.push(e),r(!0))},a=e=>{e.forEach(i)},o=ug(`first-input`,a);r=ig(e,n),o&&dg(()=>{a(o.takeRecords()),o.disconnect()},!0)},vg=0,yg=1/0,bg=0,xg=e=>{e.forEach(e=>{e.interactionId&&(yg=Math.min(yg,e.interactionId),bg=Math.max(bg,e.interactionId),vg=bg?(bg-yg)/7+1:0)})},Sg,Cg=()=>Sg?vg:performance.interactionCount||0,wg=()=>{`interactionCount`in performance||Sg||(Sg=ug(`event`,xg,{type:`event`,buffered:!0,durationThreshold:0}))},Tg=()=>Cg(),Eg=10,Dg=[],Og={},kg=e=>{let t=Dg[Dg.length-1],n=Og[e.interactionId];if(n||Dg.length<Eg||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{let t={id:e.interactionId,latency:e.duration,entries:[e]};Og[t.id]=t,Dg.push(t)}Dg.sort((e,t)=>
21t.latency-e.latency),Dg.splice(Eg).forEach(e=>{delete Og[e.id]})}},Ag=()=>Dg[Math.min(Dg.length-1,Math.floor(Tg()/50))],jg=(e,t)=>{t=t||{},wg();let n=lg(`INP`),r,i=e=>{e.forEach(e=>{e.interactionId&&kg(e),e.entryType===`first-input`&&(Dg.some(t=>t.entries.some(t=>e.duration===t.duration&&e.startTime===t.startTime))||kg(e))});let t=Ag();t&&t.latency!==n.value&&(n.value=t.latency,n.entries=t.entries,r())},a=ug(`event`,i,{durationThreshold:t.durationThreshold||40});r=ig(e,n,t.reportAllChanges),a&&(a.observe({type:`first-input`,buffered:!0}),dg(()=>{i(a.takeRecords()),n.value<0&&Tg()>0&&(n.value=0,n.entries=[]),r(!0)}))},Mg={},Ng=e=>{let t=gg(),n=lg(`LCP`),r,i=e=>{let i=e[e.length-1];if(i){let e=Math.max(i.startTime-cg(),0);e<t.firstHiddenTime&&(n.value=e,n.entries=[i],r())}},a=ug(`largest-contentful-paint`,i);if(a){r=ig(e,n);let t=()=>{Mg[n.id]||(i(a.takeRecords()),a.disconnect(),Mg[n.id]=!0,r(!0))};return[`keydown`,`click`].forEach(e=>{J.document&&addEventListener(e,t,{once:!0,capture:!0})}),dg(t,!0),t}},Pg=e=>{J.document&&(J.document.prerendering?addEventListener(`prerenderingchange`,()=>Pg(e),!0):J.document.readyState===`complete`?setTimeout(e,0):addEventListener(`load`,()=>Pg(e),!0))},Fg=(e,t)=>{t=t||{};let n=lg(`TTFB`),r=ig(e,n,t.reportAllChanges);Pg(()=>{let e=sg();if(e){if(n.value=Math.max(e.responseStart-cg(),0),n.value<0||n.value>performance.now())return;n.entries=[e],r(!0)}})},Ig={},Lg={},Rg,zg,Bg,Vg,Hg;function Ug(e,t=!1){return t_(`cls`,e,Xg,Rg,t)}function Wg(e,t=!1){return t_(`lcp`,e,Qg,Bg,t)}function Gg(e){return t_(`ttfb`,e,$g,Vg)}function Kg(e){return t_(`fid`,e,Zg,zg)}function qg(e){return t_(`inp`,e,e_,Hg)}function Jg(e,t){return r_(e,t),Lg[e]||(n_(e),Lg[e]=!0),i_(e,t)}function Yg(e,t){let n=Ig[e];if(!(!n||!n.length))for(let r of n)try{r(t)}catch(t){q&&B.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${El(r)}\nError:`,t)}}function Xg(){return fg(e=>{Yg(`cls`,{metric:e}),Rg=e},{reportAllChanges:!0})}function Zg(){return _g(e=>{Yg(`fid`,{metric:e}),zg=e})}function Qg(){return Ng(e=>{Yg(`lcp`,{metric:e}),Bg=e})}function $g(){return Fg(e=>{Yg(`ttfb`,{metric:e}),Vg=e})}function e_(){return jg(e=>{Yg(`inp`,{metric:e}),Hg=e})}function t_(e,t,n,r,i=!1){r_(e,t);let a;return Lg[e]||(a=n(),Lg[e]=!0),r&&t({metric:r}),i_(e,t,i?a:void 0)}function n_(e){let t={};e===`event`&&(t.durationThreshold=0),ug(e,t=>{Yg(e,{entries:t})},t)}function r_(e,t){Ig[e]=Ig[e]||[],Ig[e].push(t)}function i_(e,t,n){return()=>{n&&n();let r=Ig[e];if(!r)return;let i=r.indexOf(t);i!==-1&&r.splice(i,1)}}function a_(e){return typeof e==`number`&&isFinite(e)}function o_(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}var s_=2147483647;function c_(e){return e/1e3}function l_(){return J&&J.addEventListener&&J.performance}var u_=0,d_={},f_,p_;function m_(){let e=l_();if(e&&nd){e.mark&&J.performance.mark(`sentry-tracing-init`);let t=b_(),n=v_(),r=y_(),i=x_();return()=>{t(),n(),r(),i()}}return()=>void 0}function h_(){Jg(`longtask`,({entries:e})=>{for(let t of e){let e=up();if(!e)return;let n=c_(nd+t.startTime),r=c_(t.duration);e.startChild({description:`Main UI thread blocked`,op:`ui.long-task`,origin:`auto.ui.browser.metrics`,startTimestamp:n,endTimestamp:n+r})}})}function g_(){Jg(`event`,({entries:e})=>{for(let t of e){let e=up();if(!e)return;if(t.name===`click`){let n=c_(nd+t.startTime),r=c_(t.duration),i={description:Hc(t.target),op:`ui.interaction.${t.name}`,origin:`auto.ui.browser.metrics`,startTimestamp:n,endTimestamp:n+r},a=Kc(t.target);a&&(i.attributes={"ui.component_name":a}),e.startChild(i)}}})}function __(e,t){if(l_()&&nd){let n=C_(e,t);return()=>{n()}}return()=>void 0}
21function v_(){return Ug(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(q&&B.log(`[Measurements] Adding CLS`),d_.cls={value:e.value,unit:``},p_=t)},!0)}function y_(){return Wg(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(q&&B.log(`[Measurements] Adding LCP`),d_.lcp={value:e.value,unit:`millisecond`},f_=t)},!0)}function b_(){return Kg(({metric:e})=>{let t=e.entries[e.entries.length-1];if(!t)return;let n=c_(nd),r=c_(t.startTime);q&&B.log(`[Measurements] Adding FID`),d_.fid={value:e.value,unit:`millisecond`},d_[`mark.fid`]={value:n+r,unit:`second`}})}function x_(){return Gg(({metric:e})=>{e.entries[e.entries.length-1]&&(q&&B.log(`[Measurements] Adding TTFB`),d_.ttfb={value:e.value,unit:`millisecond`})})}var S_={click:`click`,pointerdown:`click`,pointerup:`click`,mousedown:`click`,mouseup:`click`,touchstart:`click`,touchend:`click`,mouseover:`hover`,mouseout:`hover`,mouseenter:`hover`,mouseleave:`hover`,pointerover:`hover`,pointerout:`hover`,pointerenter:`hover`,pointerleave:`hover`,dragstart:`drag`,dragend:`drag`,drag:`drag`,dragenter:`drag`,dragleave:`drag`,dragover:`drag`,drop:`drag`,keydown:`press`,keyup:`press`,keypress:`press`,input:`press`};function C_(e,t){return qg(({metric:n})=>{if(n.value===void 0)return;let r=n.entries.find(e=>e.duration===n.value&&S_[e.name]!==void 0),i=K();if(!r||!i)return;let a=S_[r.name],o=i.getOptions(),s=c_(nd+r.startTime),c=c_(n.value),l=r.interactionId===void 0?void 0:e[r.interactionId];if(l===void 0)return;let{routeName:u,parentContext:d,activeTransaction:f,user:p,replayId:m}=l,h=p===void 0?void 0:p.email||p.id||p.ip_address,g=f===void 0?void 0:f.getProfileId(),_=new Wp({startTimestamp:s,endTimestamp:s+c,op:`ui.interaction.${a}`,name:Hc(r.target),attributes:{release:o.release,environment:o.environment,transaction:u,...h!==void 0&&h!==``?{user:h}:{},...g===void 0?{}:{profile_id:g},...m===void 0?{}:{replay_id:m}},exclusiveTime:n.value,measurements:{inp:{value:n.value,unit:`millisecond`}}}),v=P_(d,o,t);if(v&&Math.random()<v){let e=_?rh([_],i.getDsn()):void 0,t=i&&i.getTransport();t&&e&&t.send(e).then(null,e=>{q&&B.error(`Error while sending interaction:`,e)});return}})}function w_(e){let t=l_();if(!t||!J.performance.getEntries||!nd)return;q&&B.log(`[Tracing] Adding & adjusting spans using Performance API`);let n=c_(nd),r=t.getEntries(),{op:i,start_timestamp:a}=Yd(e);if(r.slice(u_).forEach(t=>{let r=c_(t.startTime),i=c_(t.duration);if(!(e.op===`navigation`&&a&&n+r<a))switch(t.entryType){case`navigation`:E_(e,t,n);break;case`mark`:case`paint`:case`measure`:{T_(e,t,r,i,n);let a=gg(),o=t.startTime<a.firstHiddenTime;t.name===`first-paint`&&o&&(q&&B.log(`[Measurements] Adding FP`),d_.fp={value:t.startTime,unit:`millisecond`}),t.name===`first-contentful-paint`&&o&&(q&&B.log(`[Measurements] Adding FCP`),d_.fcp={value:t.startTime,unit:`millisecond`});break}case`resource`:k_(e,t,t.name,r,i,n);break}}),u_=Math.max(r.length-1,0),A_(e),i===`pageload`){N_(d_),[`fcp`,`fp`,`lcp`].forEach(e=>{if(!d_[e]||!a||n>=a)return;let t=d_[e].value,r=n+c_(t),i=Math.abs((r-a)*1e3),o=i-t;q&&B.log(`[Measurements] Normalized ${e} from ${t} to ${i} (${o})`),d_[e].value=i});let t=d_[`mark.fid`];t&&d_.fid&&(o_(e,{description:`first input delay`,endTimestamp:t.value+c_(d_.fid.value),op:`ui.action`,origin:`auto.ui.browser.metrics`,startTimestamp:t.value}),delete d_[`mark.fid`]),`fcp`in d_||delete d_.cls,Object.keys(d_).forEach(e=>{rm(e,d_[e].value,d_[e].unit)}),j_(e)}f_=void 0,p_=void 0,d_={}}function T_(e,t,n,r,i){let a=i+n,o=a+r;return o_(e,{description:t.name,endTimestamp:o,op:t.entryType,origin:`auto.resource.browser.metrics`,startTimestamp:a}),a}function E_(e,t,n){[`unloadEvent`,`redirect`,`domContentLoadedEvent`,`loadEvent`,`connect`].forEach(r=>{D_(e,t,r,n)}),D_(e,t,`secureConnection`,n,`TLS/SSL`,`connectEnd`),D_(e,t,`fetch`,n,`cache`,`domainLookupStart`),D_(e,t,`domainLookup`,n,`DNS`),O_(e,t,n)}function D_(e,t,n,r,i,a){let o=a?t[a]:t[`${n}End`],s=t[`${n}Start`];!s||!o||o_(e,{op:`browser`,origin:`auto.browser.browser.metrics`,description:i||n,startTimestamp:r+c_(s),endTimestamp:r+c_(o)})}function O_(e,t,n){t.responseEnd&&(o_(e,{op:`browser`,origin:`auto.browser.browser.metrics`,description:`request`,startTimestamp:n+c_(t.requestStart),endTimestamp:n+c_(t.responseEnd)}),o_(e,{op:`browser`,origin:`auto.browser.browser.metrics`,description:`response`,startTimestamp:n+c_(t.responseStart),endTimestamp:n+c_(t.responseEnd)}))}function k_(e,t,n,r,i,a){if(t.initiatorType===`xmlhttprequest`||t.initiatorType===`fetch`)return;let o=Ju(n),s={};M_(s,t,`transferSize`,`http.response_transfer_size`),M_(s,t,`encodedBodySize`,`http.response_content_length`),M_(s,t,`decodedBodySize`,`http.decoded_response_content_length`),`renderBlockingStatus`in t&&(s[`resource.render_blocking_status`]=t.renderBlockingStatus),o.protocol&&(s[`url.scheme`]=o.protocol.split(`:`).pop()),o.host&&(s[`server.address`]=o.host),s[`url.same_origin`]=n.includes(J.location.origin);let c=a+r,l=c+i;o_(e,{description:n.replace(J.location.origin,``),endTimestamp:l,op:t.initiatorType?`resource.${t.initiatorType}`:`resource.other`,origin:`auto.resource.browser.metrics`,startTimestamp:c,data:s})}function A_(e){let t=J.navigator;if(!t)return;let n=t.connection;n&&(n.effectiveType&&e.setTag(`effectiveConnectionType`,n.effectiveType),n.type&&e.setTag(`connectionType`,n.type),a_(n.rtt)&&(d_[`connection.rtt`]={value:n.rtt,unit:`millisecond`})),a_(t.deviceMemory)&&e.setTag(`deviceMemory`,`${t.deviceMemory} GB`),a_(t.hardwareConcurrency)&&e.setTag(`hardwareConcurrency`,String(t.hardwareConcurrency))}function j_(e){f_&&(q&&B.log(`[Measurements] Adding LCP Data`),f_.element&&e.setTag(`lcp.element`,Hc(f_.element)),f_.id&&e.setTag(`lcp.id`,f_.id),f_.url&&e.setTag(`lcp.url`,f_.url.trim().slice(0,200)),e.setTag(`lcp.size`,f_.size)),p_&&p_.sources&&(q&&B.log(`[Measurements] Adding CLS Data`),p_.sources.forEac
21h((t,n)=>e.setTag(`cls.source.${n+1}`,Hc(t.node))))}function M_(e,t,n,r){let i=t[n];i!=null&&i<s_&&(e[r]=i)}function N_(e){let t=sg();if(!t)return;let{responseStart:n,requestStart:r}=t;r<=n&&(q&&B.log(`[Measurements] Adding TTFB Request Time`),e[`ttfb.requestTime`]={value:n-r,unit:`millisecond`})}function P_(e,t,n){if(!xp(t))return!1;let r;return r=e!==void 0&&typeof t.tracesSampler==`function`?t.tracesSampler({transactionContext:e,name:e.name,parentSampled:e.parentSampled,attributes:{...e.data,...e.attributes},location:J.location}):e!==void 0&&e.sampled!==void 0?e.sampled:t.tracesSampleRate===void 0?1:t.tracesSampleRate,Qp(r)?r===!0?n:r===!1?0:r*n:(q&&B.warn(`[Tracing] Discarding interaction span because of invalid sample rate.`),!1)}function F_(e,t,n,r,i=`auto.http.browser`){if(!xp()||!e.fetchData)return;let a=t(e.fetchData.url);if(e.endTimestamp&&a){let t=e.fetchData.__span;if(!t)return;let n=r[t];n&&(R_(n,e),delete r[t]);return}let o=Af(),s=K(),{method:c,url:l}=e.fetchData,u=L_(l),d=u?Ju(u).host:void 0,f=a?Tp({name:`${c} ${l}`,onlyIfParent:!0,attributes:{url:l,type:`fetch`,"http.method":c,"http.url":u,"server.address":d,[Vp]:i},op:`http.client`}):void 0;if(f&&(e.fetchData.__span=f.spanContext().spanId,r[f.spanContext().spanId]=f),n(e.fetchData.url)&&s){let t=e.args[0];e.args[1]=e.args[1]||{};let n=e.args[1];n.headers=I_(t,s,o,n,f)}return f}function I_(e,t,n,r,i){let a=i||n.getSpan(),{traceId:o,spanId:s,sampled:c,dsc:l}={...ip().getPropagationContext(),...n.getPropagationContext()},u=a?Kd(a):md(o,s,c),d=sd(l||(a?Lf(a):If(o,t,n))),f=r.headers||(typeof Request<`u`&&Tc(e,Request)?e.headers:void 0);if(!f)return{"sentry-trace":u,baggage:d};if(typeof Headers<`u`&&Tc(f,Headers)){let e=new Headers(f);return e.append(`sentry-trace`,u),d&&e.append(rd,d),e}else if(Array.isArray(f)){let e=[...f,[`sentry-trace`,u]];return d&&e.push([rd,d]),e}else{let e=`baggage`in f?f.baggage:void 0,t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),d&&t.push(d),{...f,"sentry-trace":u,baggage:t.length>0?t.join(`,`):void 0}}}function L_(e){try{return new URL(e).href}catch{return}}function R_(e,t){if(t.response){vp(e,t.response.status);let n=t.response&&t.response.headers&&t.response.headers.get(`content-length`);if(n){let t=parseInt(n);t>0&&e.setAttribute(`http.response_content_length`,t)}}else t.error&&e.setStatus(`internal_error`);e.end()}var z_=[`localhost`,/^\/(?!\/)/],B_={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:z_,tracePropagationTargets:z_};function V_(e){let{traceFetch:t,traceXHR:n,tracePropagationTargets:r,tracingOrigins:i,shouldCreateSpanForRequest:a,enableHTTPTimings:o}={traceFetch:B_.traceFetch,traceXHR:B_.traceXHR,...e},s=typeof a==`function`?a:e=>!0,c=e=>q_(e,r||i),l={};t&&tu(e=>{let t=F_(e,s,c,l);if(t){let n=X_(e.fetchData.url),r=n?Ju(n).host:void 0;t.setAttributes({"http.url":n,"server.address":r})}o&&t&&U_(t)}),n&&bu(e=>{let t=J_(e,s,c,l);o&&t&&U_(t)})}function H_(e){return e.entryType===`resource`&&`initiatorType`in e&&typeof e.nextHopProtocol==`string`&&(e.initiatorType===`fetch`||e.initiatorType===`xmlhttprequest`)}function U_(e){let{url:t}=Yd(e).data||{};if(!t||typeof t!=`string`)return;let n=Jg(`resource`,({entries:r})=>{r.forEach(r=>{H_(r)&&r.name.endsWith(t)&&(K_(r).forEach(t=>e.setAttribute(...t)),setTimeout(n))})})}function W_(e){let t=`unknown`,n=`unknown`,r=``;for(let i of e){if(i===`/`){[t,n]=e.split(`/`);break}if(!isNaN(Number(i))){t=r===`h`?`http`:r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}}function G_(e=0){return((nd||performance.timeOrigin)+e)/1e3}function K_(e){let{name:t,version:n}=W_(e.nextHopProtocol),r=[];return r.push([`network.protocol.version`,n],[`network.protocol.name`,t]),nd?[...r,[`http.request.redirect_start`,G_(e.redirectStart)],[`http.request.fetch_start`,G_(e.fetchStart)],[`http.request.domain_lookup_start`,G_(e.domainLookupStart)],[`http.request.domain_lookup_end`,G_(e.domainLookupEnd)],[`http.request.connect_start`,G_(e.connectStart)],[`http.request.secure_connection_start`,G_(e.secureConnectionStart)],[`http.request.connection_end`,G_(e.connectEnd)],[`http.request.request_start`,G_(e.requestStart)],[`http.request.response_start`,G_(e.responseStart)],[`http.request.response_end`,G_(e.responseEnd)]]:r}function q_(e,t){return jc(e,t||z_)}function J_(e,t,n,r){let i=e.xhr,a=i&&i.__sentry_xhr_v3__;
21if(!xp()||!i||i.__sentry_own_request__||!a)return;let o=t(a.url);if(e.endTimestamp&&o){let e=i.__sentry_xhr_span_id__;if(!e)return;let t=r[e];t&&a.status_code!==void 0&&(vp(t,a.status_code),t.end(),delete r[e]);return}let s=Af(),c=ip(),l=X_(a.url),u=l?Ju(l).host:void 0,d=o?Tp({name:`${a.method} ${a.url}`,onlyIfParent:!0,attributes:{type:`xhr`,"http.method":a.method,"http.url":l,url:a.url,"server.address":u,[Vp]:`auto.http.browser`},op:`http.client`}):void 0;d&&(i.__sentry_xhr_span_id__=d.spanContext().spanId,r[i.__sentry_xhr_span_id__]=d);let f=K();if(i.setRequestHeader&&n(a.url)&&f){let{traceId:e,spanId:t,sampled:n,dsc:r}={...c.getPropagationContext(),...s.getPropagationContext()};Y_(i,d?Kd(d):md(e,t,n),sd(r||(d?Lf(d):If(e,f,s))))}return d}function Y_(e,t,n){try{e.setRequestHeader(`sentry-trace`,t),n&&e.setRequestHeader(rd,n)}catch{}}function X_(e){try{return new URL(e,J.location.origin).href}catch{return}}function Z_(e,t=!0,n=!0){if(!J||!J.location){q&&B.warn(`Could not initialize routing instrumentation due to invalid location`);return}let r=J.location.href,i;t&&(i=e({name:J.location.pathname,startTimestamp:nd?nd/1e3:void 0,op:`pageload`,origin:`auto.pageload.browser`,metadata:{source:`url`}})),n&&gu(({to:t,from:n})=>{if(n===void 0&&r&&r.indexOf(t)!==-1){r=void 0;return}n!==t&&(r=void 0,i&&(q&&B.log(`[Tracing] Finishing current transaction with op: ${i.op}`),i.end()),i=e({name:J.location.pathname,op:`navigation`,origin:`auto.navigation.browser`,metadata:{source:`url`}}))})}var Q_=`BrowserTracing`,$_={...Kp,markBackgroundTransactions:!0,routingInstrumentation:Z_,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{},...B_},ev=10,tv=class{constructor(e){this.name=Q_,this._hasSetTracePropagationTargets=!1,nm(),q&&(this._hasSetTracePropagationTargets=!!(e&&(e.tracePropagationTargets||e.tracingOrigins))),this.options={...$_,...e},this.options._experiments.enableLongTask!==void 0&&(this.options.enableLongTask=this.options._experiments.enableLongTask),e&&!e.tracePropagationTargets&&e.tracingOrigins&&(this.options.tracePropagationTargets=e.tracingOrigins),this._collectWebVitals=m_(),this._interactionIdToRouteNameMapping={},this.options.enableInp&&__(this._interactionIdToRouteNameMapping,this.options.interactionsSampleRate),this.options.enableLongTask&&h_(),this.options._experiments.enableInteractions&&g_(),this._latestRoute={name:void 0,context:void 0}}setupOnce(e,t){this._getCurrentHub=t;let n=t().getClient(),r=n&&n.getOptions(),{routingInstrumentation:i,startTransactionOnLocationChange:a,startTransactionOnPageLoad:o,markBackgroundTransactions:s,traceFetch:c,traceXHR:l,shouldCreateSpanForRequest:u,enableHTTPTimings:d,_experiments:f}=this.options,p=r&&r.tracePropagationTargets,m=p||this.options.tracePropagationTargets;q&&this._hasSetTracePropagationTargets&&p&&B.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."),i(e=>{let n=this._createRouteTransaction(e);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(n,e,t),n},o,a),s&&rg(),f.enableInteractions&&this._registerInteractionListener(),this.options.enableInp&&this._registerInpInteractionListener(),V_({traceFetch:c,traceXHR:l,tracePropagationTargets:m,shouldCreateSpanForRequest:u,enableHTTPTimings:d})}_createRouteTransaction(e){if(!this._getCurrentHub){q&&B.warn(`[Tracing] Did not create ${e.op} transaction because _getCurrentHub is invalid.`);return}let t=this._getCurrentHub(),{beforeNavigate:n,idleTimeout:r,finalTimeout:i,heartbeatInterval:a}=this.options,o=e.op===`pageload`,s;if(o){let{traceId:t,dsc:n,parentSpanId:r,sampled:i}=pd(o?nv(`sentry-trace`):``,o?nv(`baggage`):void 0);s={traceId:t,parentSpanId:r,parentSampled:i,...e,metadata:{...e.metadata,dynamicSamplingContext:n},trimEnd:!0}}else s={trimEnd:!0,...e};let c=typeof n==`function`?n(s):s,l=c===void 0?{...s,sampled:!1}:c;l.metadata=l.name===s.name?l.metadata:{...l.metadata,source:`custom`},this._latestRoute.name=l.name,this._latestRoute.context=l,l.sampled===!1&&q&&B.log(`[Tracing] Will not send ${l.op} transaction because of beforeNavigate.`),q&&B.log(`[Tracing] Starting ${l.op} transaction on scope`);let{location:u}=J,d=tm(t,l,r,i,!0,{location:u},a,o);return o&&J.document&&(J.document.addEventListener(`readystatechange`,()=>{[`interactive`,`complete`].includes(J.document.readyState)&&d.sendAutoFinishSignal()}),[`interactive`,`complete`].includes(J.document.readyState)&&d.sendAutoFinishSignal()),d.registerBeforeFinishCallback(e=>{this._collectWebVitals(),w_(e)}),d}_registerInteractionListener(){let e,t=()=>{let{idleTimeout:t,finalTimeout:n,heartbeatInterval:r}=this.options,i=`ui.action.click`,a=up();if(a&&a.op&&[`navigation`,`pageload`].includes(a.op)){q&&B.warn(`[Tracing] Did not create ${i} transaction because a pageload or navigation transaction is in progress.`);return}if(e&&(e.setFinishReason(`interactionInterrupted`),e.end(),e=void 0),!this._getCurrentHub){q&&B.warn(`[Tracing] Did not create ${i}
21 transaction because _getCurrentHub is invalid.`);return}if(!this._latestRoute.name){q&&B.warn(`[Tracing] Did not create ${i} transaction because _latestRouteName is missing.`);return}let o=this._getCurrentHub(),{location:s}=J;e=tm(o,{name:this._latestRoute.name,op:i,trimEnd:!0,data:{[Rp]:this._latestRoute.context?rv(this._latestRoute.context):`url`}},t,n,!0,{location:s},r)};[`click`].forEach(e=>{J.document&&addEventListener(e,t,{once:!1,capture:!0})})}_registerInpInteractionListener(){let e=({entries:e})=>{let t=K(),n=t!==void 0&&t.getIntegrationByName!==void 0?t.getIntegrationByName(`Replay`):void 0,r=n===void 0?void 0:n.getReplayId(),i=up(),a=Af(),o=a===void 0?void 0:a.getUser();e.forEach(e=>{if(iv(e)){let t=e.interactionId;if(t===void 0)return;let n=this._interactionIdToRouteNameMapping[t],a=e.duration,s=e.startTime,c=Object.keys(this._interactionIdToRouteNameMapping),l=c.length>0?c.reduce((e,t)=>this._interactionIdToRouteNameMapping[e].duration<this._interactionIdToRouteNameMapping[t].duration?e:t):void 0;if(e.entryType===`first-input`&&c.map(e=>this._interactionIdToRouteNameMapping[e]).some(e=>e.duration===a&&e.startTime===s)||!t)return;if(n)n.duration=Math.max(n.duration,a);else if(c.length<ev||l===void 0||a>this._interactionIdToRouteNameMapping[l].duration){let e=this._latestRoute.name,n=this._latestRoute.context;e&&n&&(l&&Object.keys(this._interactionIdToRouteNameMapping).length>=ev&&delete this._interactionIdToRouteNameMapping[l],this._interactionIdToRouteNameMapping[t]={routeName:e,duration:a,parentContext:n,user:o,activeTransaction:i,replayId:r,startTime:s})}}})};Jg(`event`,e),Jg(`first-input`,e)}};function nv(e){let t=Gc(`meta[name=${e}]`);return t?t.getAttribute(`content`):void 0}function rv(e){let t=e.attributes&&e.attributes[`sentry.source`],n=e.data&&e.data[`sentry.source`],r=e.metadata&&e.metadata.source;return t||n||r}function iv(e){return`duration`in e}var av=`BrowserTracing`,ov={...Kp,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{},...B_},sv=((e={})=>{let t=q?!!(e.tracePropagationTargets||e.tracingOrigins):!1;nm(),!e.tracePropagationTargets&&e.tracingOrigins&&(e.tracePropagationTargets=e.tracingOrigins);let n={...ov,...e},r=m_(),i={};n.enableInp&&__(i,n.interactionsSampleRate),n.enableLongTask&&h_(),n._experiments.enableInteractions&&g_();let a={name:void 0,context:void 0};function o(e){let t=rp(),{beforeStartSpan:i,idleTimeout:o,finalTimeout:s,heartbeatInterval:c}=n,l=e.op===`pageload`,u;if(l){let{traceId:t,dsc:n,parentSpanId:r,sampled:i}=pd(l?uv(`sentry-trace`):``,l?uv(`baggage`):void 0);u={traceId:t,parentSpanId:r,parentSampled:i,...e,metadata:{...e.metadata,dynamicSamplingContext:n},trimEnd:!0}}else u={trimEnd:!0,...e};let d=i?i(u):u;d.metadata=d.name===u.name?d.metadata:{...d.metadata,source:`custom`},a.name=d.name,a.context=d,d.sampled===!1&&q&&B.log(`[Tracing] Will not send ${d.op} transaction because of beforeNavigate.`),q&&B.log(`[Tracing] Starting ${d.op} transaction on scope`);let{location:f}=J,p=tm(t,d,o,s,!0,{location:f},c,l);return l&&J.document&&(J.document.addEventListener(`readystatechange`,()=>{[`interactive`,`complete`].includes(J.document.readyState)&&p.sendAutoFinishSignal()}),[`interactive`,`complete`].includes(J.document.readyState)&&p.sendAutoFinishSignal()),p.registerBeforeFinishCallback(e=>{r(),w_(e)}),p}return{name:av,setupOnce:()=>{},afterAllSetup(e){let r=e.getOptions(),{markBackgroundSpan:s,traceFetch:c,traceXHR:l,shouldCreateSpanForRequest:u,enableHTTPTimings:d,_experiments:f}=n,p=r&&r.tracePropagationTargets,m=p||n.tracePropagationTargets;q&&t&&p&&B.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.");let h,g=J.location&&J.location.href;e.on&&(e.on(`startNavigationSpan`,e=>{h&&(q&&B.log(`[Tracing] Finishing current transaction with op: ${Yd(h).op}`),h.end()),h=o({op:`navigation`,...e})}),e.on(`startPageLoadSpan`,e=>{h&&(q&&B.log(`[Tracing] Finishing current transaction with op: ${Yd(h).op}`),h.end()),h=o({op:`pageload`,...e})})),n.instrumentPageLoad&&e.emit&&J.location&&cv(e,{name:J.location.pathname,startTimestamp:nd?nd/1e3:void 0,origin:`auto.pageload.browser`,attributes:{[Rp]:`url`}}),n.instrumentNavigation&&e.emit&&J.location&&gu(({to:t,from:n})=>{if(n===void 0&&g&&g.indexOf(t)!==-1){g=void 0;return}n!==t&&(g=void 0,lv(e,{name:J.location.pathname,origin:`auto.navigation.browser`,attributes:{[Rp]:`url`}}))}),s&&rg(),f.enableInteractions&&dv(n,a),n.enableInp&&mv(i,a),V_({traceFetch:c,traceXHR:l,tracePropagationTargets:m,shouldCreateSpanForRequest:u,enableHTTPTimings:d})},options:n}});function cv(e,t){if(!e.emit)return;e.emit(`startPageLoadSpan`,t);let n=Ep();return(n&&Yd(n).op)===`pageload`?n:void 0}function lv(e,t){if(!e.emit)return;e.emit(`startNavigationSpan`,t);let n=Ep();return(n&&Yd(n).op)===`navigation`?n:void 0}function uv(e){let t=Gc(`meta[name=${e}]`);return t?t.getAttribute(`content`):void 0}function dv(e,t){let n,r=()=>{let{idleTimeout:r,finalTimeout:i,heartbeatInterval:a}=e,o=`ui.action.click`,s=up();if(s&&s.op&&[`navigation`,`pageload`].includes(s.op)){q&&B.warn(`[Tracing] Did not create ${o} transaction because a pageload or navigation transaction is in progress.`);return}if(n&&(n.setFinishReason(`interactionInterrupted`),n.end(),n=void 0),!t.name){q&&B.warn(`[Tracing] Did not create ${o} transaction because _latestRouteName is missing.`);return}let{location:c}=J,l={name:t.name,op:o,trimEnd:!0,data:{[Rp]:t.context?hv(t.context):`url`}};n=tm(rp(),l,r,i,!0,{location:c},a)};
21[`click`].forEach(e=>{J.document&&addEventListener(e,r,{once:!1,capture:!0})})}function fv(e){return`duration`in e}var pv=10;function mv(e,t){let n=({entries:n})=>{let r=K(),i=r!==void 0&&r.getIntegrationByName!==void 0?r.getIntegrationByName(`Replay`):void 0,a=i===void 0?void 0:i.getReplayId(),o=up(),s=Af(),c=s===void 0?void 0:s.getUser();n.forEach(n=>{if(fv(n)){let r=n.interactionId;if(r===void 0)return;let i=e[r],s=n.duration,l=n.startTime,u=Object.keys(e),d=u.length>0?u.reduce((t,n)=>e[t].duration<e[n].duration?t:n):void 0;if(n.entryType===`first-input`&&u.map(t=>e[t]).some(e=>e.duration===s&&e.startTime===l)||!r)return;if(i)i.duration=Math.max(i.duration,s);else if(u.length<pv||d===void 0||s>e[d].duration){let n=t.name,i=t.context;n&&i&&(d&&Object.keys(e).length>=pv&&delete e[d],e[r]={routeName:n,duration:s,parentContext:i,user:c,activeTransaction:o,replayId:a,startTime:l})}}})};Jg(`event`,n),Jg(`first-input`,n)}function hv(e){let t=e.attributes&&e.attributes[`sentry.source`],n=e.data&&e.data[`sentry.source`],r=e.metadata&&e.metadata.source;return t||n||r}var Y=z,gv=0;function _v(){return gv>0}function vv(){gv++,setTimeout(()=>{gv--})}function yv(e,t={},n){if(typeof e!=`function`)return e;try{let t=e.__sentry_wrapped__;if(t)return typeof t==`function`?t:e;if(ul(e))return e}catch{return e}let r=function(){let r=Array.prototype.slice.call(arguments);try{n&&typeof n==`function`&&n.apply(this,arguments);let i=r.map(e=>yv(e,t));return e.apply(this,i)}catch(e){throw vv(),Sf(n=>{n.addEventProcessor(e=>(t.mechanism&&(Pl(e,void 0,void 0),Fl(e,t.mechanism)),e.extra={...e.extra,arguments:r},e)),df(e)}),e}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch{}ll(r,e),cl(e,`__sentry_wrapped__`,r);try{Object.getOwnPropertyDescriptor(r,`name`).configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}var X=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__;function bv(e,t){let n=Cv(e,t),r={type:t&&t.name,value:Ev(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===``&&(r.value=`Unrecoverable error caught`),r}function xv(e,t,n,r){let i=K(),a=i&&i.getOptions().normalizeDepth,o={exception:{values:[{type:yc(t)?t.constructor.name:r?`UnhandledRejection`:`Error`,value:jv(t,{isUnhandledRejection:r})}]},extra:{__serialized__:Au(t,a)}};if(n){let t=Cv(e,n);t.length&&(o.exception.values[0].stacktrace={frames:t})}return o}function Sv(e,t){return{exception:{values:[bv(e,t)]}}}function Cv(e,t){let n=t.stacktrace||t.stack||``,r=Tv(t);try{return e(n,r)}catch{}return[]}var wv=/Minified React error #\d+;/i;function Tv(e){if(e){if(typeof e.framesToPop==`number`)return e.framesToPop;if(wv.test(e.message))return 1}return 0}function Ev(e){let t=e&&e.message;return t?t.error&&typeof t.error.message==`string`?t.error.message:t:`No error message`}function Dv(e,t,n,r){let i=kv(e,t,n&&n.syntheticException||void 0,r);return Fl(i),i.level=`error`,n&&n.event_id&&(i.event_id=n.event_id),Wu(i)}function Ov(e,t,n=`info`,r,i){let a=Av(e,t,r&&r.syntheticException||void 0,i);return a.level=n,r&&r.event_id&&(a.event_id=r.event_id),Wu(a)}function kv(e,t,n,r,i){let a;if(fc(t)&&t.error)return Sv(e,t.error);if(pc(t)||mc(t)){let i=t;if(`stack`in t)a=Sv(e,t);else{let t=i.name||(pc(i)?`DOMError`:`DOMException`),o=i.message?`${t}: ${i.message}`:t;a=Av(e,o,n,r),Pl(a,o)}return`code`in i&&(a.tags={...a.tags,"DOMException.code":`${i.code}`}),a}return uc(t)?Sv(e,t):vc(t)||yc(t)?(a=xv(e,t,n,i),Fl(a,{synthetic:!0}),a):(a=Av(e,t,n,r),Pl(a,`${t}`,void 0),Fl(a,{synthetic:!0}),a)}function Av(e,t,n,r){let i={};if(r&&n){let r=Cv(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]})}if(gc(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function jv(e,{isUnhandledRejection:t}){let n=hl(e),r=t?`promise rejection`:`exception`;return fc(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:yc(e)?`Event \`${Mv(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function Mv(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function Nv(e,{metadata:t,tunnel:n,dsn:r}){return W({event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:tl(r)}},[Pv(e)])}function Pv(e){return[{type:`user_report`},e]}var Fv=class extends Im{constructor(e){dh(e,`browser`,[`browser`],Y.SENTRY_SDK_SOURCE||wu()),super(e),e.sendClientReports&&Y.document&&Y.document.addEventListener(`visibilitychange`,()=>{Y.document.visibilityState===`hidden`&&this._flushOutcomes()})}eventFromException(e,t){return Dv(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t=`info`,n){return Ov(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled()){X&&B.warn(`SDK not enabled, will not capture user feedback.`);return}let t=Nv(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||`javascript`,super._prepareEvent(e,t,n)}_flushOutcomes(){let e=this._clearOutcomes();if(e.length===0){X&&B.log(`No outcomes to send`);return}if(!this._dsn){X&&B.log(`No dsn provided, will not send outcomes`);return}X&&B.log(`Sending outcomes:`,e);let t=Dd(e,this._options.tunnel&&tl(this._dsn));this._sendEnvelope(t)}},Iv=void 0;function Lv(){if(Iv)return Iv;
vendor: 9,248 bytes, line 21
21if(Ql(Y.fetch))return Iv=Y.fetch.bind(Y);let e=Y.document,t=Y.fetch;if(e&&typeof e.createElement==`function`)try{let n=e.createElement(`iframe`);n.hidden=!0,e.head.appendChild(n);let r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(e){X&&B.warn(`Could not create sandbox iframe for pure fetch check, bailing to window.fetch: `,e)}return Iv=t.bind(Y)}function Rv(){Iv=void 0}function zv(e,t=Lv()){let n=0,r=0;function i(i){let a=i.body.length;n+=a,r++;let o={body:i.body,method:`POST`,referrerPolicy:`origin`,headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{return t(e.url,o).then(e=>(n-=a,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get(`X-Sentry-Rate-Limits`),"retry-after":e.headers.get(`Retry-After`)}}))}catch(e){return Rv(),n-=a,r--,Gu(e)}}return qm(e,i)}var Bv=4;function Vv(e){function t(t){return new Ku((n,r)=>{let i=new XMLHttpRequest;i.onerror=r,i.onreadystatechange=()=>{i.readyState===Bv&&n({statusCode:i.status,headers:{"x-sentry-rate-limits":i.getResponseHeader(`X-Sentry-Rate-Limits`),"retry-after":i.getResponseHeader(`Retry-After`)}})},i.open(`POST`,e.url);for(let t in e.headers)Object.prototype.hasOwnProperty.call(e.headers,t)&&i.setRequestHeader(t,e.headers[t]);i.send(t.body)})}return qm(e,t)}var Hv=`?`,Uv=10,Wv=20,Gv=30,Kv=40,qv=50;function Jv(e,t,n,r){let i={filename:e,function:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}var Yv=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Xv=/\((\S*)(?::(\d+))(?::(\d+))\)/,Zv=[Gv,e=>{let t=Yv.exec(e);if(t){if(t[2]&&t[2].indexOf(`eval`)===0){let e=Xv.exec(t[2]);e&&(t[2]=e[1],t[3]=e[2],t[4]=e[3])}let[e,n]=ly(t[1]||Hv,t[2]);return Jv(n,e,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],Qv=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,$v=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,ey=[qv,e=>{let t=Qv.exec(e);if(t){if(t[3]&&t[3].indexOf(` > eval`)>-1){let e=$v.exec(t[3]);e&&(t[1]=t[1]||`eval`,t[3]=e[1],t[4]=e[2],t[5]=``)}let e=t[3],n=t[1]||Hv;return[n,e]=ly(n,e),Jv(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],ty=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,ny=[Kv,e=>{let t=ty.exec(e);return t?Jv(t[2],t[1]||Hv,+t[3],t[4]?+t[4]:void 0):void 0}],ry=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,iy=[Uv,e=>{let t=ry.exec(e);return t?Jv(t[2],t[3]||Hv,+t[1]):void 0}],ay=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,oy=[Wv,e=>{let t=ay.exec(e);return t?Jv(t[5],t[3]||t[4]||Hv,+t[1],+t[2]):void 0}],sy=[Zv,ey,ny],cy=Sl(...sy),ly=(e,t)=>{let n=e.indexOf(`safari-extension`)!==-1,r=e.indexOf(`safari-web-extension`)!==-1;return n||r?[e.indexOf(`@`)===-1?Hv:e.split(`@`)[0],n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},uy=1024,dy=`Breadcrumbs`,fy=Sm(((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:dy,setupOnce(){},setup(e){t.console&&Ml(gy(e)),t.dom&&Wl(hy(e,t.dom)),t.xhr&&bu(_y(e)),t.fetch&&tu(vy(e)),t.history&&gu(yy(e)),t.sentry&&e.on&&e.on(`beforeSendEvent`,my(e))}}})),py=xm(dy,fy);function my(e){return function(t){K()===e&&hf({category:`sentry.${t.type===`transaction`?`transaction`:`event`}`,event_id:t.event_id,level:t.level,message:U(t)},{event:t})}}function hy(e,t){return function(n){if(K()!==e)return;let r,i,a=typeof t==`object`?t.serializeAttribute:void 0,o=typeof t==`object`&&typeof t.maxStringLength==`number`?t.maxStringLength:void 0;o&&o>uy&&(X&&B.warn(`\`dom.maxStringLength\` cannot exceed ${uy}, but a value of ${o} was configured. Sentry will use ${uy} instead.`),o=uy),typeof a==`string`&&(a=[a]);try{let e=n.event,t=by(e)?e.target:e;r=Hc(t,{keyAttrs:a,maxStringLength:o}),i=Kc(t)}catch{r=`<unknown>`}if(r.length===0)return;let s={category:`ui.${n.name}`,message:r};i&&(s.data={"ui.component_name":i}),hf(s,{event:n.event,name:n.name,global:n.global})}}function gy(e){return function(t){if(K()!==e)return;let n={category:`console`,data:{arguments:t.args,logger:`console`},level:Zu(t.level),message:kc(t.args,` `)};if(t.level===`assert`)if(t.args[0]===!1)n.message=`Assertion failed: ${kc(t.args.slice(1),` `)||`console.assert`}`,n.data.arguments=t.args.slice(1);else return;hf(n,{input:t.args,level:t.level})}}function _y(e){return function(t){if(K()!==e)return;let{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[yu];if(!n||!r||!i)return;let{method:a,url:o,status_code:s,body:c}=i,l={method:a,url:o,status_code:s},u={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r};hf({category:`xhr`,data:l,type:`http`},u)}}function vy(e){return function(t){if(K()!==e)return;let{startTimestamp:n,endTimestamp:r}=t;if(r&&!(t.fetchData.url.match(/sentry_key/)&&t.fetchData.method===`POST`))if(t.error){let e=t.fetchData,i={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r};hf({category:`fetch`,data:e,level:`error`,type:`http`},i)}else{let e=t.response,i={...t.fetchData,status_code:e&&e.status},a={input:t.args,response:e,startTimestamp:n,endTimestamp:r};hf({category:`fetch`,data:i,type:`http`},a)}}}function yy(e){return function(t){if(K()!==e)return;let n=t.from,r=t.to,i=Ju(Y.location.href),a=n?Ju(n):void 0,o=Ju(r);(!a||!a.path)&&(a=i),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),hf({category:`navigation`,data:{from:n,to:r}})}}function by(e){return!!e&&!!e.target}var xy=`Dedupe`,Sy=Sm((()=>{let e;return{name:xy,setupOnce(){},processEvent(t){if(t.type)return t;try{if(wy(t,e))return X&&B.warn(`Event dropped due to being a duplicate of previously captured event.`),null}catch{}return e=t}}})),Cy=xm(xy,Sy);function wy(e,t){return t?!!(Ty(e,t)||Ey(e,t)):!1}function Ty(e,t){let n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!Oy(e,t)||!Dy(e,t))}function Ey(e,t){let n=ky(t),r=ky(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!Oy(e,t)||!Dy(e,t))}function Dy(e,t){let n=Ay(e),r=Ay(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function Oy(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join(``)===r.join(``)}catch{return!1}}function ky(e){return e.exception&&e.exception.values&&e.exception.values[0]}function Ay(e){let t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch{return}}var jy=`GlobalHandlers`,My=Sm(((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:jy,setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(Py(e),By(`onerror`)),t.onunhandledrejection&&(Fy(e),By(`onunhandledrejection`))}}})),Ny=xm(jy,My);function Py(e){su(t=>{let{stackParser:n,attachStacktrace:r}=Vy();if(K()!==e||_v())return;let{msg:i,url:a,line:o,column:s,error:c}=t,l=c===void 0&&hc(i)?Ry(i,a,o,s):zy(kv(n,c||i,void 0,r,!1),a,o,s);l.level=`error`,pf(l,{originalException:c,mechanism:{handled:!1,type:`onerror`}})})}function Fy(e){uu(t=>{let{stackParser:n,attachStacktrace:r}=Vy();if(K()!==e||_v())return;let i=Iy(t),a=_c(i)?Ly(i):kv(n,i,void 0,r,!0);a.level=`error`,pf(a,{originalException:i,mechanism:{handled:!1,type:`onunhandledrejection`}})})}function Iy(e){if(_c(e))return e;let t=e;try{if(`reason`in t)return t.reason;if(`detail`in t&&`reason`in t.detail)return t.detail.reason}catch{}return e}function Ly(e){return{exception:{values:[{type:`UnhandledRejection`,value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function Ry(e,t,n,r){let i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i,a=fc(e)?e.message:e,o=`Error`,s=a.match(i);return s&&(o=s[1],a=s[2]),zy({exception:{values:[{type:o,value:a}]}},t,n,r)}function zy(e,t,n,r){let i=e.exception=e.exception||{},a=i.values=i.values||[],o=a[0]=a[0]||{},s=o.stacktrace=o.stacktrace||{},c=s.frames=s.frames||[],l=isNaN(parseInt(r,10))?void 0:r,u=isNaN(parseInt(n,10))?void 0:n,d=hc(t)&&t.length>0?t:Wc();return c.length===0&&c.push({colno:l,filename:d,function:`?`,in_app:!0,lineno:u}),e}function By(e){X&&B.log(`Global Handler attached: ${e}`)}function Vy(){let e=K();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}var Hy=`HttpContext`,Uy=Sm((()=>({name:Hy,setupOnce(){},preprocessEvent(e){if(!Y.navigator&&!Y.location&&!Y.document)return;let t=e.request&&e.request.url||Y.location&&Y.location.href,{referrer:n}=Y.document||{},{userAgent:r}=Y.navigator||{},i={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}};e.request={...e.request,...t&&{url:t},headers:i}}}))),Wy=xm(Hy,Uy),Gy=`cause`,Ky=5,qy=`LinkedErrors`,Jy=Sm(((e={})=>{let t=e.limit||Ky,n=e.key||Gy;return{name:qy,setupOnce(){},preprocessEvent(e,r,i){let a=i.getOptions();Mc(bv,a.stackParser,a.maxValueLength,n,t,e,r)}}})),Yy=xm(qy,Jy),Xy=`EventTarget.Window.Node.ApplicationCache.AudioTrackList.BroadcastChannel.ChannelMergerNode.CryptoOperation.EventSource.FileReader.HTMLUnknownElement.IDBDatabase.IDBRequest.IDBTransaction.Ke
21yOperation.MediaController.MessagePort.ModalWindow.Notification.SVGElementInstance.Screen.SharedWorker.TextTrack.TextTrackCue.TextTrackList.WebSocket.WebSocketWorker.Worker.XMLHttpRequest.XMLHttpRequestEventTarget.XMLHttpRequestUpload`.split(`.`),Zy=`TryCatch`,Qy=Sm(((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:Zy,setupOnce(){t.setTimeout&&sl(Y,`setTimeout`,eb),t.setInterval&&sl(Y,`setInterval`,eb),t.requestAnimationFrame&&sl(Y,`requestAnimationFrame`,tb),t.XMLHttpRequest&&`XMLHttpRequest`in Y&&sl(XMLHttpRequest.prototype,`send`,nb);let e=t.eventTarget;e&&(Array.isArray(e)?e:Xy).forEach(rb)}}})),$y=xm(Zy,Qy);function eb(e){return function(...t){let n=t[0];return t[0]=yv(n,{mechanism:{data:{function:El(e)},handled:!1,type:`instrument`}}),e.apply(this,t)}}function tb(e){return function(t){return e.apply(this,[yv(t,{mechanism:{data:{function:`requestAnimationFrame`,handler:El(e)},handled:!1,type:`instrument`}})])}}function nb(e){return function(...t){let n=this;return[`onload`,`onerror`,`onprogress`,`onreadystatechange`].forEach(e=>{e in n&&typeof n[e]==`function`&&sl(n,e,function(t){let n={mechanism:{data:{function:e,handler:El(t)},handled:!1,type:`instrument`}},r=ul(t);return r&&(n.mechanism.data.handler=El(r)),yv(t,n)})}),e.apply(this,t)}}function rb(e){let t=Y,n=t[e]&&t[e].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty(`addEventListener`)||(sl(n,`addEventListener`,function(t){return function(n,r,i){try{typeof r.handleEvent==`function`&&(r.handleEvent=yv(r.handleEvent,{mechanism:{data:{function:`handleEvent`,handler:El(r),target:e},handled:!1,type:`instrument`}}))}catch{}return t.apply(this,[n,yv(r,{mechanism:{data:{function:`addEventListener`,handler:El(r),target:e},handled:!1,type:`instrument`}}),i])}}),sl(n,`removeEventListener`,function(e){return function(t,n,r){let i=n;try{let n=i&&i.__sentry_wrapped__;n&&e.call(this,t,n,r)}catch{}return e.call(this,t,i,r)}}))}var ib=[wh(),zh(),Qy(),fy(),My(),Jy(),Sy(),Uy()];function ab(e){return[...ib]}function ob(e={}){e.defaultIntegrations===void 0&&(e.defaultIntegrations=ab()),e.release===void 0&&(typeof __SENTRY_RELEASE__==`string`&&(e.release=__SENTRY_RELEASE__),Y.SENTRY_RELEASE&&Y.SENTRY_RELEASE.id&&(e.release=Y.SENTRY_RELEASE.id)),e.autoSessionTracking===void 0&&(e.autoSessionTracking=!0),e.sendClientReports===void 0&&(e.sendClientReports=!0),Wm(Fv,{...e,stackParser:Cl(e.stackParser||cy),integrations:hm(e),transport:e.transport||(Zl()?zv:Vv)}),e.autoSessionTracking&&db()}var sb=(e={},t=rp())=>{if(!Y.document){X&&B.error(`Global document not defined in showReportDialog call`);return}let{client:n,scope:r}=t.getStackTop(),i=e.dsn||n&&n.getDsn();if(!i){X&&B.error(`DSN not configured for showReportDialog call`);return}r&&(e.user={...r.getUser(),...e.user}),e.eventId||(e.eventId=t.lastEventId());let a=Y.document.createElement(`script`);a.async=!0,a.crossOrigin=`anonymous`,a.src=fm(i,e),e.onLoad&&(a.onload=e.onLoad);let{onClose:o}=e;if(o){let e=t=>{if(t.data===`__sentry_reportdialog_closed__`)try{o()}finally{Y.removeEventListener(`message`,e)}};Y.addEventListener(`message`,e)}let s=Y.document.head||Y.document.body;s?s.appendChild(a):X&&B.error(`Not injecting report dialog. No injection point found in HTML`)};function cb(){}function lb(e){e()}function ub(e){return yv(e)()}function db(){if(Y.document===void 0){X&&B.warn(`Session tracking in non-browser environment with @sentry/browser is not supported.`);return}jf({ignoreDuration:!0}),Pf(),gu(({from:e,to:t})=>{e!==void 0&&e!==t&&(jf({ignoreDuration:!0}),Pf())})}function fb(e){let t=K();t&&t.captureUserFeedback(e)}var pb=s({Breadcrumbs:()=>py,Dedupe:()=>Cy,GlobalHandlers:()=>Ny,HttpContext:()=>Wy,LinkedErrors:()=>Yy,TryCatch:()=>$y}),mb=z,hb=`sentryReplaySession`,gb=`replay_event`,_b=`Unable to send Replay`,vb=3e5,yb=9e5,bb=5e3,xb=5500,Sb=6e4,Cb=5e3,wb=3,Tb=15e4,Eb=5e3,Db=3e3,Ob=300,kb=2e7,Ab=4999,jb=15e3,Mb=36e5;function Nb(e,t){return e??t()}function Pb(e){let t,n=e[0],r=1;for(;r<e.length;){let i=e[r],a=e[r+1];if(r+=2,(i===`optionalAccess`||i===`optionalCall`)&&n==null)return;i===`access`||i===`optionalAccess`?(t=n,n=a(n)):(i===`call`||i===`optionalCall`)&&(n=a((...e)=>n.call(t,...e)),t=void 0)}return n}var Fb;(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`})(Fb||(Fb={}));
21function Ib(e){return e.nodeType===e.ELEMENT_NODE}function Lb(e){return Pb([Pb([e,`optionalAccess`,e=>e.host]),`optionalAccess`,e=>e.shadowRoot])===e}function Rb(e){return Object.prototype.toString.call(e)===`[object ShadowRoot]`}function zb(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 Bb(e){let{cssText:t}=e;if(t.split(`"`).length<3)return t;let n=[`@import`,`url(${JSON.stringify(e.href)})`];return e.layerName===``?n.push(`layer`):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(` `)+`;`}function Vb(e){try{let t=e.rules||e.cssRules;return t?zb(Array.from(t,Hb).join(``)):null}catch{return null}}function Hb(e){let t;if(Wb(e))try{t=Vb(e.styleSheet)||Bb(e)}catch{}else if(Gb(e)&&e.selectorText.includes(`:`))return Ub(e.cssText);return t||e.cssText}function Ub(e){return e.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,`$1\\$2`)}function Wb(e){return`styleSheet`in e}function Gb(e){return`selectorText`in e}var Kb=class{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(e){return e?Nb(Pb([this,`access`,e=>e.getMeta,`call`,t=>t(e),`optionalAccess`,e=>e.id]),()=>-1):-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){let t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(e=>this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){let n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){let n=this.getNode(e);if(n){let e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}};function qb(){return new Kb}function Jb({maskInputOptions:e,tagName:t,type:n}){return t===`OPTION`&&(t=`SELECT`),!!(e[t.toLowerCase()]||n&&e[n]||n===`password`||t===`INPUT`&&!n&&e.text)}function Yb({isMasked:e,element:t,value:n,maskInputFn:r}){let i=n||``;return e?(r&&(i=r(i,t)),`*`.repeat(i.length)):i}function Xb(e){return e.toLowerCase()}function Zb(e){return e.toUpperCase()}var Qb=`__rrweb_original__`;function $b(e){let t=e.getContext(`2d`);if(!t)return!0;for(let n=0;n<e.width;n+=50)for(let r=0;r<e.height;r+=50){let i=t.getImageData,a=Qb in i?i[Qb]:i;if(new Uint32Array(a.call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some(e=>e!==0))return!1}return!0}function ex(e){let t=e.type;return e.hasAttribute(`data-rr-is-password`)?`password`:t?Xb(t):null}function tx(e,t,n){return t===`INPUT`&&(n===`radio`||n===`checkbox`)?e.getAttribute(`value`)||``:e.value}var nx=1,rx=RegExp(`[^a-z0-9-_:]`),ix=-2;function ax(){return nx++}function ox(e){if(e instanceof HTMLFormElement)return`form`;let t=Xb(e.tagName);return rx.test(t)?`div`:t}function sx(e){let t=``;return t=e.indexOf(`//`)>-1?e.split(`/`).slice(0,3).join(`/`):e.split(`/`)[0],t=t.split(`?`)[0],t}var cx,lx,ux=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,dx=/^(?:[a-z+]+:)?\/\//i,fx=/^www\..*/i,px=/^(data:)([^,]*),(.*)/i;function mx(e,t){return(e||``).replace(ux,(e,n,r,i,a,o)=>{let s=r||a||o,c=n||i||``;if(!s)return e;if(dx.test(s)||fx.test(s)||px.test(s))return`url(${c}${s}${c})`;if(s[0]===`/`)return`url(${c}${sx(t)+s}${c})`;let l=t.split(`/`),u=s.split(`/`);l.pop();for(let e of u)if(e===`.`)continue;else e===`..`?l.pop():l.push(e);return`url(${c}${l.join(`/`)}${c})`})}var hx=/^[^ \t\n\r\u000c]+/,gx=/^[, \t\n\r\u000c]+/;function _x(e,t){if(t.trim()===``)return t;let n=0;function r(e){let r,i=e.exec(t.substring(n));return i?(r=i[0],n+=r.length,r):``}let i=[];for(;r(gx),!(n>=t.length);){let a=r(hx);if(a.slice(-1)===`,`)a=vx(e,a.substring(0,a.length-1)),i.push(a);else{let r=``;a=vx(e,a);let o=!1;for(;;){let e=t.charAt(n);if(e===``){i.push((a+r).trim());break}else if(o)e===`)`&&(o=!1);else if(e===`,`){n+=1,i.push((a+r).trim());break}else e===`(`&&(o=!0);r+=e,n+=1}}}return i.join(`, `)}function vx(e,t){if(!t||t.trim()===``)return t;let n=e.createElement(`a`);return n.href=t,n.href}function yx(e){return!!(e.tagName===`svg`||e.ownerSVGElement)}function bx(){let e=document.createElement(`a`);return e.href=``,e.href}function xx(e,t,n,r,i,a){return r&&(n===`src`||n===`href`&&(t!==`use`||r[0]!==`#`)||n===`xlink:href`&&r[0]!==`#`||n===`background`&&(t===`table`||t===`td`||t===`th`)?vx(e,r):n===`srcset`?_x(e,r):n===`style`?mx(r,bx()):t===`object`&&n===`data`?vx(e,r):typeof a==`function`?a(n,r,i):r)}
21function Sx(e,t,n){return(e===`video`||e===`audio`)&&t===`autoplay`}function Cx(e,t,n,r){try{if(r&&e.matches(r))return!1;if(typeof t==`string`){if(e.classList.contains(t))return!0}else for(let n=e.classList.length;n--;){let r=e.classList[n];if(t.test(r))return!0}if(n)return e.matches(n)}catch{}return!1}function wx(e,t){for(let n=e.classList.length;n--;){let r=e.classList[n];if(t.test(r))return!0}return!1}function Tx(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:Tx(e.parentNode,t,n,r+1)}function Ex(e,t){return n=>{let r=n;if(r===null)return!1;try{if(e){if(typeof e==`string`){if(r.matches(`.${e}`))return!0}else if(wx(r,e))return!0}return!!(t&&r.matches(t))}catch{return!1}}}function Dx(e,t,n,r,i,a){try{let o=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(o===null)return!1;if(o.tagName===`INPUT`){let e=o.getAttribute(`autocomplete`);if([`current-password`,`new-password`,`cc-number`,`cc-exp`,`cc-exp-month`,`cc-exp-year`,`cc-csc`].includes(e))return!0}let s=-1,c=-1;if(a){if(c=Tx(o,Ex(r,i)),c<0)return!0;s=Tx(o,Ex(t,n),c>=0?c:1/0)}else{if(s=Tx(o,Ex(t,n)),s<0)return!1;c=Tx(o,Ex(r,i),s>=0?s:1/0)}return s>=0?c>=0?s<=c:!0:c>=0?!1:!!a}catch{}return!!a}function Ox(e,t,n){let r=e.contentWindow;if(!r)return;let i=!1,a;try{a=r.document.readyState}catch{return}if(a!==`complete`){let r=setTimeout(()=>{i||(t(),i=!0)},n);e.addEventListener(`load`,()=>{clearTimeout(r),i=!0,t()});return}let o=`about:blank`;if(r.location.href!==o||e.src===o||e.src===``)return setTimeout(t,0),e.addEventListener(`load`,t);e.addEventListener(`load`,t)}function kx(e,t,n){let r=!1,i;try{i=e.sheet}catch{return}if(i)return;let a=setTimeout(()=>{r||(t(),r=!0)},n);e.addEventListener(`load`,()=>{clearTimeout(a),r=!0,t()})}function Ax(e,t){let{doc:n,mirror:r,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:s,maskAttributeFn:c,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:f,inlineStylesheet:p,maskInputOptions:m={},maskTextFn:h,maskInputFn:g,dataURLOptions:_={},inlineImages:v,recordCanvas:y,keepIframeSrcFn:b,newlyAddedElement:x=!1}=t,S=jx(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode===`CSS1Compat`?{type:Fb.Document,childNodes:[]}:{type:Fb.Document,childNodes:[],compatMode:e.compatMode};case e.DOCUMENT_TYPE_NODE:return{type:Fb.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:S};case e.ELEMENT_NODE:return Nx(e,{doc:n,blockClass:i,blockSelector:a,unblockSelector:o,inlineStylesheet:p,maskAttributeFn:c,maskInputOptions:m,maskInputFn:g,dataURLOptions:_,inlineImages:v,recordCanvas:y,keepIframeSrcFn:b,newlyAddedElement:x,rootId:S,maskAllText:s,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:f});case e.TEXT_NODE:return Mx(e,{maskAllText:s,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:f,maskTextFn:h,maskInputOptions:m,maskInputFn:g,rootId:S});case e.CDATA_SECTION_NODE:return{type:Fb.CDATA,textContent:``,rootId:S};case e.COMMENT_NODE:return{type:Fb.Comment,textContent:e.textContent||``,rootId:S};default:return!1}}function jx(e,t){if(!t.hasNode(e))return;let n=t.getId(e);return n===1?void 0:n}function Mx(e,t){let{maskAllText:n,maskTextClass:r,unmaskTextClass:i,maskTextSelector:a,unmaskTextSelector:o,maskTextFn:s,maskInputOptions:c,maskInputFn:l,rootId:u}=t,d=e.parentNode&&e.parentNode.tagName,f=e.textContent,p=d===`STYLE`||void 0,m=d===`SCRIPT`||void 0,h=d===`TEXTAREA`||void 0;if(p&&f){try{e.nextSibling||e.previousSibling||Pb([e,`access`,e=>e.parentNode,`access`,e=>e.sheet,`optionalAccess`,e=>e.cssRules])&&(f=Vb(e.parentNode.sheet))}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}f=mx(f,bx())}m&&(f=`SCRIPT_PLACEHOLDER`);let g=Dx(e,r,a,i,o,n);return!p&&!m&&!h&&f&&g&&(f=s?s(f,e.parentElement):f.replace(/[\S]/g,`*`)),h&&f&&(c.textarea||g)&&(f=l?l(f,e.parentNode):f.replace(/[\S]/g,`*`)),d===`OPTION`&&f&&(f=Yb({isMasked:Dx(e,r,a,i,o,Jb({type:null,tagName:d,maskInputOptions:c})),element:e,value:f,maskInputFn:l})),{type:Fb.Text,textContent:f||``,isStyle:p,rootId:u}}function Nx(e,t){let{doc:n,blockClass:r,blockSelector:i,unblockSelector:a,inlineStylesheet:o,maskInputOptions:s={},maskAttributeFn:c,maskInputFn:l,dataURLOptions:u={},inlineImages:d,recordCanvas:f,keepIframeSrcFn:p,newlyAddedElement:m=!1,rootId:h,maskAllText:g,maskTextClass:_,unmaskTextClass:v,maskTextSelector:y,unmaskTextSelector:b}=t,x=Cx(e,r,i,a),S=ox(e),C={},ee=e.attributes.length;for(let t=0;t<ee;t++){let r=e.attributes[t];r.name&&!Sx(S,r.name,r.value)&&(C[r.name]=xx(n,S,Xb(r.name),r.value,e,c))}if(S===`link`&&o){let t=Array.from(n.styleSheets).find(t=>t.href===e.href),r=null;t&&(r=Vb(t)),r&&(delete C.rel,delete C.href,C._cssText=mx(r,t.href))}if(S===`style`&&e.sheet&&!(e.innerText||e.textContent||``).trim().length){let t=Vb(e.sheet);t&&(C._cssText=mx(t,bx()))}if(S===`input`||S===`textarea`||S===`select`||S===`option`){let t=e,n=ex(t),r=tx(t,Zb(S),n),i=t.checked;if(n!==`submit`&&n!==`button`&&r){let e=Dx(t,_,y,v,b,Jb({type:n,tagName:Zb(S),maskInputOptions:s}));C.value=Yb({isMasked:e,element:t,value:r,maskInputFn:l})}i&&(C.checked=i)}if(S===`option`&&(e.selected&&!s.select?C.selected=!0:delete C.selected),S===`canvas`&&f){if(e.__context===`2d`)$b(e)||(C.rr_dataURL=e.toDataURL(u.type,u.quality));else if(!(`__context`in e)){let t=e.toDataURL(u.type,u.quality),n=document.createElement(`canvas`);n.width=e.width,n.height=e.height,t!==n.toDataURL(u.type,u.quality)&&(C.rr_dataURL=t)}}if(S===`img`&&d){cx||(cx=n.createElement(`canvas`),lx=cx.getContext(`2d`));let t=e,r=t.crossOrigin;t.crossOrigin=`anonymous`;let i=()=>{t.removeEventListener(`load`,i);
21try{cx.width=t.naturalWidth,cx.height=t.naturalHeight,lx.drawImage(t,0,0),C.rr_dataURL=cx.toDataURL(u.type,u.quality)}catch(e){console.warn(`Cannot inline img src=${t.currentSrc}! Error: ${e}`)}r?C.crossOrigin=r:t.removeAttribute(`crossorigin`)};t.complete&&t.naturalWidth!==0?i():t.addEventListener(`load`,i)}if((S===`audio`||S===`video`)&&(C.rr_mediaState=e.paused?`paused`:`played`,C.rr_mediaCurrentTime=e.currentTime),m||(e.scrollLeft&&(C.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(C.rr_scrollTop=e.scrollTop)),x){let{width:t,height:n}=e.getBoundingClientRect();C={class:C.class,rr_width:`${t}px`,rr_height:`${n}px`}}S===`iframe`&&!p(C.src)&&(e.contentDocument||(C.rr_src=C.src),delete C.src);let te;try{customElements.get(S)&&(te=!0)}catch{}return{type:Fb.Element,tagName:S,attributes:C,childNodes:[],isSVG:yx(e)||void 0,needBlock:x,rootId:h,isCustom:te}}function Px(e){return e==null?``:e.toLowerCase()}function Fx(e,t){return!!(t.comment&&e.type===Fb.Comment||e.type===Fb.Element&&(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`))||t.headFavicon&&(e.tagName===`link`&&e.attributes.rel===`shortcut icon`||e.tagName===`meta`&&(Px(e.attributes.name).match(/^msapplication-tile(image|color)$/)||Px(e.attributes.name)===`application-name`||Px(e.attributes.rel)===`icon`||Px(e.attributes.rel)===`apple-touch-icon`||Px(e.attributes.rel)===`shortcut icon`))||e.tagName===`meta`&&(t.headMetaDescKeywords&&Px(e.attributes.name).match(/^description|keywords$/)||t.headMetaSocial&&(Px(e.attributes.property).match(/^(og|twitter|fb):/)||Px(e.attributes.name).match(/^(og|twitter):/)||Px(e.attributes.name)===`pinterest`)||t.headMetaRobots&&(Px(e.attributes.name)===`robots`||Px(e.attributes.name)===`googlebot`||Px(e.attributes.name)===`bingbot`)||t.headMetaHttpEquiv&&e.attributes[`http-equiv`]!==void 0||t.headMetaAuthorship&&(Px(e.attributes.name)===`author`||Px(e.attributes.name)===`generator`||Px(e.attributes.name)===`framework`||Px(e.attributes.name)===`publisher`||Px(e.attributes.name)===`progid`||Px(e.attributes.property).match(/^article:/)||Px(e.attributes.property).match(/^product:/))||t.headMetaVerification&&(Px(e.attributes.name)===`google-site-verification`||Px(e.attributes.name)===`yandex-verification`||Px(e.attributes.name)===`csrf-token`||Px(e.attributes.name)===`p:domain_verify`||Px(e.attributes.name)===`verify-v1`||Px(e.attributes.name)===`verification`||Px(e.attributes.name)===`shopify-checkout-api-token`))))}function Ix(e,t){let{doc:n,mirror:r,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:s,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:f=!1,inlineStylesheet:p=!0,maskInputOptions:m={},maskAttributeFn:h,maskTextFn:g,maskInputFn:_,slimDOMOptions:v,dataURLOptions:y={},inlineImages:b=!1,recordCanvas:x=!1,onSerialize:S,onIframeLoad:C,iframeLoadTimeout:ee=5e3,onStylesheetLoad:te,stylesheetLoadTimeout:ne=5e3,keepIframeSrcFn:re=()=>!1,newlyAddedElement:ie=!1}=t,{preserveWhiteSpace:w=!0}=t,ae=Ax(e,{doc:n,mirror:r,blockClass:i,blockSelector:a,maskAllText:s,unblockSelector:o,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:h,maskTextFn:g,maskInputFn:_,dataURLOptions:y,inlineImages:b,recordCanvas:x,keepIframeSrcFn:re,newlyAddedElement:ie});if(!ae)return console.warn(e,`not serialized`),null;let oe;oe=r.hasNode(e)?r.getId(e):Fx(ae,v)||!w&&ae.type===Fb.Text&&!ae.isStyle&&!ae.textContent.replace(/^\s+|\s+$/gm,``).length?ix:ax();let T=Object.assign(ae,{id:oe});if(r.add(e,T),oe===ix)return null;S&&S(e);let se=!f;if(T.type===Fb.Element){se=se&&!T.needBlock,delete T.needBlock;let t=e.shadowRoot;t&&Rb(t)&&(T.isShadowHost=!0)}if((T.type===Fb.Document||T.type===Fb.Element)&&se){v.headWhitespace&&T.type===Fb.Element&&T.tagName===`head`&&(w=!1);let t={doc:n,mirror:r,blockClass:i,blockSelector:a,maskAllText:s,unblockSelector:o,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:f,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:h,maskTextFn:g,maskInputFn:_,slimDOMOptions:v,dataURLOptions:y,inlineImages:b,recordCanvas:x,preserveWhiteSpace:w,onSerialize:S,onIframeLoad:C,iframeLoadTimeout:ee,onStylesheetLoad:te,stylesheetLoadTimeout:ne,keepIframeSrcFn:re};for(let n of Array.from(e.childNodes)){let e=Ix(n,t);e&&T.childNodes.push(e)}if(Ib(e)&&e.shadowRoot)for(let n of Array.from(e.shadowRoot.childNodes)){let r=Ix(n,t);r&&(Rb(e.shadowRoot)&&(r.isShadow=!0),T.childNodes.push(r))}}return e.parentNode&&Lb(e.parentNode)&&Rb(e.parentNode)&&(T.isShadow=!0),T.type===Fb.Element&&T.tagName===`iframe`&&Ox(e,()=>{let t=e.contentDocument;if(t&&C){let n=Ix(t,{doc:t,mirror:r,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:s,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:h,maskTextFn:g,maskInputFn:_,slimDOMOptions:v,dataURLOptions:y,inlineImages:b,recordCanvas:x,preserveWhiteSpace:w,onSerialize:S,onIframeLoad:C,iframeLoadTimeout:ee,onStylesheetLoad:te,stylesheetLoadTimeout:ne,keepIframeSrcFn:re});n&&C(e,n)}},ee),T.type===Fb.Element&&T.tagName===`link`&&T.attributes.rel===`stylesheet`&&kx(e,()=>{if(te){let t=Ix(e,{doc:n,mirror:r,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:s,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:h,maskTextFn:g,maskInputFn:_,slimDOMOptions:v,dataURLOptions:y,inlineImages:b,recordCanvas:x,preserveWhiteSpace:w,onSerialize:S,onIframeLoad:C,iframeLoadTimeout:ee,onStylesheetLoad:te,stylesheetLoadTimeout:ne,keepIframeSrcFn:re});t&&te(e,t)}},ne),T}function Lx(e,t){let{mirror:n=new Kb,blockClass:r=`rr-block`,blockSelector:i=null,unblockSelector:a=null,maskAllText:o=!1,maskTextClass:s=`rr-mask`,unmaskTextClass:c=null,maskTextSelector:l=null,unmaskTextSelector:u=null,inlineStylesheet:d=!0,inl
21ineImages:f=!1,recordCanvas:p=!1,maskAllInputs:m=!1,maskAttributeFn:h,maskTextFn:g,maskInputFn:_,slimDOM:v=!1,dataURLOptions:y,preserveWhiteSpace:b,onSerialize:x,onIframeLoad:S,iframeLoadTimeout:C,onStylesheetLoad:ee,stylesheetLoadTimeout:te,keepIframeSrcFn:ne=()=>!1}=t||{};return Ix(e,{doc:e,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,maskAllText:o,maskTextClass:s,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:d,maskInputOptions:m===!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}:m===!1?{}:m,maskAttributeFn:h,maskTextFn:g,maskInputFn:_,slimDOMOptions:v===!0||v===`all`?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:v===`all`,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:v===!1?{}:v,dataURLOptions:y,inlineImages:f,recordCanvas:p,preserveWhiteSpace:b,onSerialize:x,onIframeLoad:S,iframeLoadTimeout:C,onStylesheetLoad:ee,stylesheetLoadTimeout:te,keepIframeSrcFn:ne,newlyAddedElement:!1})}function Rx(e){let t,n=e[0],r=1;for(;r<e.length;){let i=e[r],a=e[r+1];if(r+=2,(i===`optionalAccess`||i===`optionalCall`)&&n==null)return;i===`access`||i===`optionalAccess`?(t=n,n=a(n)):(i===`call`||i===`optionalCall`)&&(n=a((...e)=>n.call(t,...e)),t=void 0)}return n}function zx(e,t,n=document){let r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}var Bx=`Please stop import mirror directly. Instead of that,\r
22now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
23or you can use record.mirror to access the mirror instance during recording.`,Vx={map:{},getId(){return console.error(Bx),-1},getNode(){return console.error(Bx),null},removeNodeFromMap(){console.error(Bx)},has(){return console.error(Bx),!1},reset(){console.error(Bx)}};typeof window<`u`&&window.Proxy&&window.Reflect&&(Vx=new Proxy(Vx,{get(e,t,n){return t===`map`&&console.error(Bx),Reflect.get(e,t,n)}}));function Hx(e,t,n={}){let r=null,i=0;return function(...a){let o=Date.now();!i&&n.leading===!1&&(i=o);let s=t-(o-i),c=this;s<=0||s>t?(r&&(mS(r),r=null),i=o,e.apply(c,a)):!r&&n.trailing!==!1&&(r=pS(()=>{i=n.leading===!1?0:Date.now(),r=null,e.apply(c,a)},s))}}function Ux(e,t,n,r,i=window){let a=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,r?n:{set(e){pS(()=>{n.set.call(this,e)},0),a&&a.set&&a.set.call(this,e)}}),()=>Ux(e,t,a||{},!0)}function Wx(e,t,n){try{if(!(t in e))return()=>{};let r=e[t],i=n(r);return typeof i==`function`&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,()=>{e[t]=r}}catch{return()=>{}}}var Gx=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(Gx=()=>new Date().getTime());function Kx(e){let t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:e.pageXOffset===void 0?Rx([t,`optionalAccess`,e=>e.documentElement,`access`,e=>e.scrollLeft])||Rx([t,`optionalAccess`,e=>e.body,`optionalAccess`,e=>e.parentElement,`optionalAccess`,e=>e.scrollLeft])||Rx([t,`optionalAccess`,e=>e.body,`optionalAccess`,e=>e.scrollLeft])||0:e.pageXOffset,top:t.scrollingElement?t.scrollingElement.scrollTop:e.pageYOffset===void 0?Rx([t,`optionalAccess`,e=>e.documentElement,`access`,e=>e.scrollTop])||Rx([t,`optionalAccess`,e=>e.body,`optionalAccess`,e=>e.parentElement,`optionalAccess`,e=>e.scrollTop])||Rx([t,`optionalAccess`,e=>e.body,`optionalAccess`,e=>e.scrollTop])||0:e.pageYOffset}}function qx(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function Jx(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Yx(e){return e?e.nodeType===e.ELEMENT_NODE?e:e.parentElement:null}function Xx(e,t,n,r,i){if(!e)return!1;let a=Yx(e);if(!a)return!1;let o=Ex(t,n);if(!i){let e=r&&a.matches(r);return o(a)&&!e}let s=Tx(a,o),c=-1;return s<0?!1:(r&&(c=Tx(a,Ex(null,r))),s>-1&&c<0||s<c)}function Zx(e,t){return t.getId(e)!==-1}function Qx(e,t){return t.getId(e)===ix}function $x(e,t){if(Lb(e))return!1;let n=t.getId(e);return t.has(n)?e.parentNode&&e.parentNode.nodeType===e.DOCUMENT_NODE?!1:!e.parentNode||$x(e.parentNode,t):!0}function eS(e){return!!e.changedTouches}function tS(e=window){`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=(...e)=>{let t=e[0];if(!(0 in e))throw TypeError(`1 argument is required`);do if(this===t)return!0;while(t=t&&t.parentNode);return!1})}function nS(e,t){return!!(e.nodeName===`IFRAME`&&t.getMeta(e))}function rS(e,t){return!!(e.nodeName===`LINK`&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute(`rel`)===`stylesheet`&&t.getMeta(e))}function iS(e){return!!Rx([e,`optionalAccess`,e=>e.shadowRoot])}var aS=class{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return Fd(this.styleIDMap.get(e),()=>-1)}has(e){return this.styleIDMap.has(e)}add(e,t){if(this.has(e))return this.getId(e);let n;return n=t===void 0?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}};function oS(e){let t=null;return Rx([e,`access`,e=>e.getRootNode,`optionalCall`,e=>e(),`optionalAccess`,e=>e.nodeType])===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function sS(e){let t=e,n;for(;n=oS(t);)t=n;return t}function cS(e){let t=e.ownerDocument;if(!t)return!1;let n=sS(e);return t.contains(n)}function lS(e){let t=e.ownerDocument;return t?t.contains(e)||cS(e):!1}var uS={};function dS(e){let t=uS[e];if(t)return t;let n=window.document,r=window[e];if(n&&typeof n.createElement==`function`)try{let t=n.createElement(`iframe`);t.hidden=!0,n.head.appendChild(t);let i=t.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(t)}catch{}return uS[e]=r.bind(window)}function fS(...e){return dS(`requestAnimationFrame`)(...e)}function pS(...e){return dS(`setTimeout`)(...e)}function mS(...e){return dS(`clearTimeout`)(...e)}var Z=(e=>(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))(Z||{}),Q=(e=>(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))(Q||{}),hS=(e=>(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))(hS||{}),gS=(e=>(e[e.Mouse=0]=`Mouse`,e[e.Pen=1]=`Pen`,e[e.Touch=2]=`Touch`,e))(gS||{});function _S(e){let t,n=e[0],r=1;for(;r<e.length;){let i=e[r],a=e[r+1];if(r+=2,(i===`optionalAccess`||i===`optionalCall`)&&n==null)return;i===`access`||i===`optionalAccess`?(t=n,n=a(n)):(i===`call`||i===`optionalCall`)&&(n=a((...e)=>n.call(t,...e)),t=void 0)}return n}function vS(e){return`__ln`in e}var yS=class{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw Error(`Position outside of list range`);let t=this.head;for(let n=0;n<e;n++)t=_S([t,`optionalAccess`,e=>e.next])||null;return t}addNode(e){let t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&vS(e.previousSibling)){let n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&
23(n.previous=t)}else if(e.nextSibling&&vS(e.nextSibling)&&e.nextSibling.__ln.previous){let n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;t.next===null&&(this.tail=t),this.length++}removeNode(e){let t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}},bS=(e,t)=>`${e}@${t}`,xS=class{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;let e=[],t=new Set,n=new yS,r=e=>{let t=e,n=ix;for(;n===ix;)t=t&&t.nextSibling,n=t&&this.mirror.getId(t);return n},i=i=>{if(!i.parentNode||!lS(i))return;let a=Lb(i.parentNode)?this.mirror.getId(oS(i)):this.mirror.getId(i.parentNode),o=r(i);if(a===-1||o===-1)return n.addNode(i);let s=Ix(i,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{nS(e,this.mirror)&&this.iframeManager.addIframe(e),rS(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),iS(i)&&this.shadowDomManager.addShadowRoot(i.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{this.iframeManager.attachIframe(e,t),this.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)}});s&&(e.push({parentId:a,nextId:o,node:s}),t.add(s.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let e of this.movedSet)CS(this.removes,e,this.mirror)&&!this.movedSet.has(e.parentNode)||i(e);for(let e of this.addedSet)!TS(this.droppedSet,e)&&!CS(this.removes,e,this.mirror)||TS(this.movedSet,e)?i(e):this.droppedSet.add(e);let a=null;for(;n.length;){let e=null;if(a){let t=this.mirror.getId(a.value.parentNode),n=r(a.value);t!==-1&&n!==-1&&(e=a)}if(!e){let t=n.tail;for(;t;){let n=t;if(t=t.previous,n){let t=this.mirror.getId(n.value.parentNode);if(r(n.value)===-1)continue;if(t!==-1){e=n;break}else{let t=n.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let r=t.parentNode.host;if(this.mirror.getId(r)!==-1){e=n;break}}}}}}if(!e){for(;n.head;)n.removeNode(n.head.value);break}a=e.previous,n.removeNode(e.value),i(e.value)}let o={texts:this.texts.map(e=>({id:this.mirror.getId(e.node),value:e.value})).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),attributes:this.attributes.map(e=>{let{attributes:t}=e;if(typeof t.style==`string`){let n=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);n.length<t.style.length&&(n+r).split(`var(`).length===t.style.split(`var(`).length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}}).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),removes:this.removes,adds:e};!o.texts.length&&!o.attributes.length&&!o.removes.length&&!o.adds.length||(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(o))},this.processMutation=e=>{if(!Qx(e.target,this.mirror))switch(e.type){case`characterData`:{let t=e.target.textContent;!Xx(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&t!==e.oldValue&&this.texts.push({value:Dx(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,Yx(e.target)):t.replace(/[\S]/g,`*`):t,node:e.target});break}case`attributes`:{let t=e.target,n=e.attributeName,r=e.target.getAttribute(n);if(n===`value`){let n=ex(t),i=t.tagName;r=tx(t,i,n);let a=Jb({maskInputOptions:this.maskInputOptions,tagName:i,type:n});r=Yb({isMasked:Dx(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,a),element:t,value:r,maskInputFn:this.maskInputFn})}if(Xx(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||r===e.oldValue)return;let i=this.attributeMap.get(e.target);if(t.tagName===`IFRAME`&&n===`src`&&!this.keepIframeSrcFn(r))if(!t.contentDocument)n=`rr_src`;else return;if(i||(i={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}}
23,this.attributes.push(i),this.attributeMap.set(e.target,i)),n===`type`&&t.tagName===`INPUT`&&(e.oldValue||``).toLowerCase()===`password`&&t.setAttribute(`data-rr-is-password`,`true`),!Sx(t.tagName,n)&&(i.attributes[n]=xx(this.doc,Xb(t.tagName),Xb(n),r,t,this.maskAttributeFn),n===`style`)){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}let n=this.unattachedDoc.createElement(`span`);e.oldValue&&n.setAttribute(`style`,e.oldValue);for(let e of Array.from(t.style)){let r=t.style.getPropertyValue(e),a=t.style.getPropertyPriority(e);r!==n.style.getPropertyValue(e)||a!==n.style.getPropertyPriority(e)?a===``?i.styleDiff[e]=r:i.styleDiff[e]=[r,a]:i._unchangedStyles[e]=[r,a]}for(let e of Array.from(n.style))t.style.getPropertyValue(e)===``&&(i.styleDiff[e]=!1)}break}case`childList`:if(Xx(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(t=>this.genAdds(t,e.target)),e.removedNodes.forEach(t=>{let n=this.mirror.getId(t),r=Lb(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);Xx(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||Qx(t,this.mirror)||!Zx(t,this.mirror)||(this.addedSet.has(t)?(SS(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&n===-1||$x(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[bS(n,r)]?SS(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:Lb(e.target)&&Rb(e.target)?!0:void 0})),this.mapRemoves.push(t))});break}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!(this.addedSet.has(e)||this.movedSet.has(e))){if(this.mirror.hasNode(e)){if(Qx(e,this.mirror))return;this.movedSet.add(e);let n=null;t&&this.mirror.hasNode(t)&&(n=this.mirror.getId(t)),n&&n!==-1&&(this.movedMap[bS(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);Xx(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(e.childNodes.forEach(e=>this.genAdds(e)),iS(e)&&e.shadowRoot.childNodes.forEach(t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)}))}}}init(e){`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`.split(`.`).forEach(t=>{this[t]=e[t]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}};function SS(e,t){e.delete(t),t.childNodes.forEach(t=>SS(e,t))}function CS(e,t,n){return e.length!==0&&wS(e,t,n)}function wS(e,t,n){let{parentNode:r}=t;if(!r)return!1;let i=n.getId(r);return e.some(e=>e.id===i)?!0:wS(e,r,n)}function TS(e,t){return e.size!==0&&ES(e,t)}function ES(e,t){let{parentNode:n}=t;return n?e.has(n)?!0:ES(e,n):!1}var DS;function OS(e){DS=e}function kS(){DS=void 0}var $=e=>DS?((...t)=>{try{return e(...t)}catch(e){if(DS&&DS(e)===!0)return()=>{};throw e}}):e;function AS(e){let t,n=e[0],r=1;for(;r<e.length;){let i=e[r],a=e[r+1];if(r+=2,(i===`optionalAccess`||i===`optionalCall`)&&n==null)return;i===`access`||i===`optionalAccess`?(t=n,n=a(n)):(i===`call`||i===`optionalCall`)&&(n=a((...e)=>n.call(t,...e)),t=void 0)}return n}var jS=[];function MS(e){try{if(`composedPath`in e){let t=e.composedPath();if(t.length)return t[0]}else if(`path`in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function NS(e,t){let n=new xS;jS.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver,i=AS([window,`optionalAccess`,e=>e.Zone,`optionalAccess`,e=>e.__symbol__,`optionalCall`,e=>e(`MutationObserver`)]);i&&window[i]&&(r=window[i]);let a=new r($(t=>{e.onMutation&&e.onMutation(t)===!1||n.processMutations.bind(n)(t)}));return a.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),a}function PS({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(t.mousemove===!1)return()=>{};let i=typeof t.mousemove==`number`?t.mousemove:50,a=typeof t.mousemoveCallback==`number`?t.mousemoveCallback:500,o=[],s,c=Hx($(t=>{let n=Date.now()-s;e(o.map(e=>(e.timeOffset-=n,e)),t),o=[],s=null}),a),l=$(Hx($(e=>{let t=MS(e),{clientX:n,clientY:i}=eS(e)?e.changedTouches[0]:e;s||(s=Gx()),o.push({x:n,y:i,id:r.getId(t),timeOffset:Gx()-s}),c(typeof DragEvent<`u`&&e instanceof DragEvent?Q.Drag:e instanceof MouseEvent?Q.MouseMove:Q.TouchMove)}),i,{trailing:!1})),u=[zx(`mousemove`,l,n),zx(`touchmove`,l,n),zx(`drag`,l,n)];return $(()=>
23{u.forEach(e=>e())})}function FS({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,sampling:o}){if(o.mouseInteraction===!1)return()=>{};let s=o.mouseInteraction===!0||o.mouseInteraction===void 0?{}:o.mouseInteraction,c=[],l=null,u=t=>o=>{let s=MS(o);if(Xx(s,r,i,a,!0))return;let c=null,u=t;if(`pointerType`in o){switch(o.pointerType){case`mouse`:c=gS.Mouse;break;case`touch`:c=gS.Touch;break;case`pen`:c=gS.Pen;break}c===gS.Touch?hS[t]===hS.MouseDown?u=`TouchStart`:hS[t]===hS.MouseUp&&(u=`TouchEnd`):gS.Pen}else eS(o)&&(c=gS.Touch);c===null?hS[t]===hS.Click&&(c=l,l=null):(l=c,(u.startsWith(`Touch`)&&c===gS.Touch||u.startsWith(`Mouse`)&&c===gS.Mouse)&&(c=null));let d=eS(o)?o.changedTouches[0]:o;if(!d)return;let f=n.getId(s),{clientX:p,clientY:m}=d;$(e)({type:hS[u],id:f,x:p,y:m,...c!==null&&{pointerType:c}})};return Object.keys(hS).filter(e=>Number.isNaN(Number(e))&&!e.endsWith(`_Departed`)&&s[e]!==!1).forEach(e=>{let n=Xb(e),r=u(e);if(window.PointerEvent)switch(hS[e]){case hS.MouseDown:case hS.MouseUp:n=n.replace(`mouse`,`pointer`);break;case hS.TouchStart:case hS.TouchEnd:return}c.push(zx(n,r,t))}),$(()=>{c.forEach(e=>e())})}function IS({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,sampling:o}){return zx(`scroll`,$(Hx($(o=>{let s=MS(o);if(!s||Xx(s,r,i,a,!0))return;let c=n.getId(s);if(s===t&&t.defaultView){let n=Kx(t.defaultView);e({id:c,x:n.left,y:n.top})}else e({id:c,x:s.scrollLeft,y:s.scrollTop})}),o.scroll||100)),t)}function LS({viewportResizeCb:e},{win:t}){let n=-1,r=-1;return zx(`resize`,$(Hx($(()=>{let t=qx(),i=Jx();(n!==t||r!==i)&&(e({width:Number(i),height:Number(t)}),n=t,r=i)}),200)),t)}var RS=[`INPUT`,`TEXTAREA`,`SELECT`],zS=new WeakMap;function BS({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,ignoreClass:o,ignoreSelector:s,maskInputOptions:c,maskInputFn:l,sampling:u,userTriggeredOnInput:d,maskTextClass:f,unmaskTextClass:p,maskTextSelector:m,unmaskTextSelector:h}){function g(e){let n=MS(e),u=e.isTrusted,g=n&&Zb(n.tagName);if(g===`OPTION`&&(n=n.parentElement),!n||!g||RS.indexOf(g)<0||Xx(n,r,i,a,!0))return;let v=n;if(v.classList.contains(o)||s&&v.matches(s))return;let y=ex(n),b=tx(v,g,y),x=!1,S=Jb({maskInputOptions:c,tagName:g,type:y}),C=Dx(n,f,m,p,h,S);(y===`radio`||y===`checkbox`)&&(x=n.checked),b=Yb({isMasked:C,element:n,value:b,maskInputFn:l}),_(n,d?{text:b,isChecked:x,userTriggered:u}:{text:b,isChecked:x});let ee=n.name;y===`radio`&&ee&&x&&t.querySelectorAll(`input[type="radio"][name="${ee}"]`).forEach(e=>{if(e!==n){let t=Yb({isMasked:C,element:e,value:tx(e,g,y),maskInputFn:l});_(e,d?{text:t,isChecked:!x,userTriggered:!1}:{text:t,isChecked:!x})}})}function _(t,r){let i=zS.get(t);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){zS.set(t,r);let i=n.getId(t);$(e)({...r,id:i})}}let v=(u.input===`last`?[`change`]:[`input`,`change`]).map(e=>zx(e,$(g),t)),y=t.defaultView;if(!y)return()=>{v.forEach(e=>e())};let b=y.Object.getOwnPropertyDescriptor(y.HTMLInputElement.prototype,`value`),x=[[y.HTMLInputElement.prototype,`value`],[y.HTMLInputElement.prototype,`checked`],[y.HTMLSelectElement.prototype,`value`],[y.HTMLTextAreaElement.prototype,`value`],[y.HTMLSelectElement.prototype,`selectedIndex`],[y.HTMLOptionElement.prototype,`selected`]];return b&&b.set&&v.push(...x.map(e=>Ux(e[0],e[1],{set(){$(g)({target:this,isTrusted:!1})}},!1,y))),$(()=>{v.forEach(e=>e())})}function VS(e){let t=[];function n(e,t){if(ZS(`CSSGroupingRule`)&&e.parentRule instanceof CSSGroupingRule||ZS(`CSSMediaRule`)&&e.parentRule instanceof CSSMediaRule||ZS(`CSSSupportsRule`)&&e.parentRule instanceof CSSSupportsRule||ZS(`CSSConditionRule`)&&e.parentRule instanceof CSSConditionRule){let n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else if(e.parentStyleSheet){let n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}return n(e,t)}function HS(e,t,n){let r,i;return e?(e.ownerNode?r=t.getId(e.ownerNode):i=n.getId(e),{styleId:i,id:r}):{}}function US({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};let i=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(i,{apply:$((r,i,a)=>{let[o,s]=a,{id:c,styleId:l}=HS(i,t,n.styleMirror);return(c&&c!==-1||l&&l!==-1)&&e({id:c,styleId:l,adds:[{rule:o,index:s}]}),r.apply(i,a)})});let a=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(a,{apply:$((r,i,a)=>{let[o]=a,{id:s,styleId:c}=HS(i,t,n.styleMirror);return(s&&s!==-1||c&&c!==-1)&&e({id:s,styleId:c,removes:[{index:o}]}),r.apply(i,a)})});let o;
23r.CSSStyleSheet.prototype.replace&&(o=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(o,{apply:$((r,i,a)=>{let[o]=a,{id:s,styleId:c}=HS(i,t,n.styleMirror);return(s&&s!==-1||c&&c!==-1)&&e({id:s,styleId:c,replace:o}),r.apply(i,a)})}));let s;r.CSSStyleSheet.prototype.replaceSync&&(s=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(s,{apply:$((r,i,a)=>{let[o]=a,{id:s,styleId:c}=HS(i,t,n.styleMirror);return(s&&s!==-1||c&&c!==-1)&&e({id:s,styleId:c,replaceSync:o}),r.apply(i,a)})}));let c={};QS(`CSSGroupingRule`)?c.CSSGroupingRule=r.CSSGroupingRule:(QS(`CSSMediaRule`)&&(c.CSSMediaRule=r.CSSMediaRule),QS(`CSSConditionRule`)&&(c.CSSConditionRule=r.CSSConditionRule),QS(`CSSSupportsRule`)&&(c.CSSSupportsRule=r.CSSSupportsRule));let l={};return Object.entries(c).forEach(([r,i])=>{l[r]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=new Proxy(l[r].insertRule,{apply:$((r,i,a)=>{let[o,s]=a,{id:c,styleId:l}=HS(i.parentStyleSheet,t,n.styleMirror);return(c&&c!==-1||l&&l!==-1)&&e({id:c,styleId:l,adds:[{rule:o,index:[...VS(i),s||0]}]}),r.apply(i,a)})}),i.prototype.deleteRule=new Proxy(l[r].deleteRule,{apply:$((r,i,a)=>{let[o]=a,{id:s,styleId:c}=HS(i.parentStyleSheet,t,n.styleMirror);return(s&&s!==-1||c&&c!==-1)&&e({id:s,styleId:c,removes:[{index:[...VS(i),o]}]}),r.apply(i,a)})})}),$(()=>{r.CSSStyleSheet.prototype.insertRule=i,r.CSSStyleSheet.prototype.deleteRule=a,o&&(r.CSSStyleSheet.prototype.replace=o),s&&(r.CSSStyleSheet.prototype.replaceSync=s),Object.entries(c).forEach(([e,t])=>{t.prototype.insertRule=l[e].insertRule,t.prototype.deleteRule=l[e].deleteRule})})}function WS({mirror:e,stylesheetManager:t},n){let r=null;r=n.nodeName===`#document`?e.getId(n):e.getId(n.host);let i=n.nodeName===`#document`?AS([n,`access`,e=>e.defaultView,`optionalAccess`,e=>e.Document]):AS([n,`access`,e=>e.ownerDocument,`optionalAccess`,e=>e.defaultView,`optionalAccess`,e=>e.ShadowRoot]),a=AS([i,`optionalAccess`,e=>e.prototype])?Object.getOwnPropertyDescriptor(AS([i,`optionalAccess`,e=>e.prototype]),`adoptedStyleSheets`):void 0;return r===null||r===-1||!i||!a?()=>{}:(Object.defineProperty(n,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get(){return AS([a,`access`,e=>e.get,`optionalAccess`,e=>e.call,`call`,e=>e(this)])},set(e){let n=AS([a,`access`,e=>e.set,`optionalAccess`,e=>e.call,`call`,t=>t(this,e)]);if(r!==null&&r!==-1)try{t.adoptStyleSheets(e,r)}catch{}return n}}),$(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get:a.get,set:a.set})}))}function GS({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:i}){let a=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(a,{apply:$((i,o,s)=>{let[c,l,u]=s;if(n.has(c))return a.apply(o,[c,l,u]);let{id:d,styleId:f}=HS(AS([o,`access`,e=>e.parentRule,`optionalAccess`,e=>e.parentStyleSheet]),t,r.styleMirror);return(d&&d!==-1||f&&f!==-1)&&e({id:d,styleId:f,set:{property:c,value:l,priority:u},index:VS(o.parentRule)}),i.apply(o,s)})});let o=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(o,{apply:$((i,a,s)=>{let[c]=s;if(n.has(c))return o.apply(a,[c]);let{id:l,styleId:u}=HS(AS([a,`access`,e=>e.parentRule,`optionalAccess`,e=>e.parentStyleSheet]),t,r.styleMirror);return(l&&l!==-1||u&&u!==-1)&&e({id:l,styleId:u,remove:{property:c},index:VS(a.parentRule)}),i.apply(a,s)})}),$(()=>{i.CSSStyleDeclaration.prototype.setProperty=a,i.CSSStyleDeclaration.prototype.removeProperty=o})}function KS({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:i,sampling:a,doc:o}){let s=$(o=>Hx($(a=>{let s=MS(a);if(!s||Xx(s,t,n,r,!0))return;let{currentTime:c,volume:l,muted:u,playbackRate:d}=s;e({type:o,id:i.getId(s),currentTime:c,volume:l,muted:u,playbackRate:d})}),a.media||500)),c=[zx(`play`,s(0),o),zx(`pause`,s(1),o),zx(`seeked`,s(2),o),zx(`volumechange`,s(3),o),zx(`ratechange`,s(4),o)];return $(()=>
23{c.forEach(e=>e())})}function qS({fontCb:e,doc:t}){let n=t.defaultView;if(!n)return()=>{};let r=[],i=new WeakMap,a=n.FontFace;n.FontFace=function(e,t,n){let r=new a(e,t,n);return i.set(r,{family:e,buffer:typeof t!=`string`,descriptors:n,fontSource:typeof t==`string`?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};let o=Wx(t.fonts,`add`,function(t){return function(n){return pS($(()=>{let t=i.get(n);t&&(e(t),i.delete(n))}),0),t.apply(this,[n])}});return r.push(()=>{n.FontFace=a}),r.push(o),$(()=>{r.forEach(e=>e())})}function JS(e){let{doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,selectionCb:o}=e,s=!0,c=$(()=>{let e=t.getSelection();if(!e||s&&AS([e,`optionalAccess`,e=>e.isCollapsed]))return;s=e.isCollapsed||!1;let c=[],l=e.rangeCount||0;for(let t=0;t<l;t++){let{startContainer:o,startOffset:s,endContainer:l,endOffset:u}=e.getRangeAt(t);Xx(o,r,i,a,!0)||Xx(l,r,i,a,!0)||c.push({start:n.getId(o),startOffset:s,end:n.getId(l),endOffset:u})}o({ranges:c})});return c(),zx(`selectionchange`,c)}function YS({doc:e,customElementCb:t}){let n=e.defaultView;return!n||!n.customElements?()=>{}:Wx(n.customElements,`define`,function(e){return function(n,r,i){try{t({define:{name:n}})}catch{}return e.apply(this,[n,r,i])}})}function XS(e,t={}){let n=e.doc.defaultView;if(!n)return()=>{};let r=NS(e,e.doc),i=PS(e),a=FS(e),o=IS(e),s=LS(e,{win:n}),c=BS(e),l=KS(e),u=US(e,{win:n}),d=WS(e,e.doc),f=GS(e,{win:n}),p=e.collectFonts?qS(e):()=>{},m=JS(e),h=YS(e),g=[];for(let t of e.plugins)g.push(t.observer(t.callback,n,t.options));return $(()=>{jS.forEach(e=>e.reset()),r.disconnect(),i(),a(),o(),s(),c(),l(),u(),d(),f(),p(),m(),h(),g.forEach(e=>e())})}function ZS(e){return window[e]!==void 0}function QS(e){return!!(window[e]!==void 0&&window[e].prototype&&`insertRule`in window[e].prototype&&`deleteRule`in window[e].prototype)}var $S=class{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,n,r){let i=n||this.getIdToRemoteIdMap(e),a=r||this.getRemoteIdToIdMap(e),o=i.get(t);return o||(o=this.generateIdFn(),i.set(t,o),a.set(o,t)),o}getIds(e,t){let n=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return t.map(t=>this.getId(e,t,n,r))}
23getRemoteId(e,t,n){let r=n||this.getRemoteIdToIdMap(e);return typeof t==`number`?r.get(t)||-1:t}getRemoteIds(e,t){let n=this.getRemoteIdToIdMap(e);return t.map(t=>this.getRemoteId(e,t,n))}reset(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}};function eC(e){let t,n=e[0],r=1;for(;r<e.length;){let i=e[r],a=e[r+1];if(r+=2,(i===`optionalAccess`||i===`optionalCall`)&&n==null)return;i===`access`||i===`optionalAccess`?(t=n,n=a(n)):(i===`call`||i===`optionalCall`)&&(n=a((...e)=>n.call(t,...e)),t=void 0)}return n}var tC=class{constructor(){this.crossOriginIframeMirror=new $S(ax),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}},nC=class{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new $S(ax),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new $S(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener(`message`,this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),eC([this,`access`,e=>e.loadListener,`optionalCall`,t=>t(e)]),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))}handleMessage(e){let t=e;if(t.data.type!==`rrweb`||t.origin!==t.data.origin||!e.source)return;let n=this.crossOriginIframeMap.get(e.source);if(!n)return;let r=this.transformCrossOriginEvent(n,t.data.event);r&&this.wrappedEmit(r,t.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case Z.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);let n=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(t.data.node,n),{timestamp:t.timestamp,type:Z.IncrementalSnapshot,data:{source:Q.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case Z.Meta:case Z.Load:case Z.DomContentLoaded:return!1;case Z.Plugin:return t;case Z.Custom:return this.replaceIds(t.data.payload,e,[`id`,`parentId`,`previousId`,`nextId`]),t;case Z.IncrementalSnapshot:switch(t.data.source){case Q.Mutation:return t.data.adds.forEach(t=>{this.replaceIds(t,e,[`parentId`,`nextId`,`previousId`]),this.replaceIdOnNode(t.node,e);let n=this.crossOriginIframeRootIdMap.get(e);n&&this.patchRootIdOnNode(t.node,n)}),t.data.removes.forEach(t=>{this.replaceIds(t,e,[`parentId`,`id`])}),t.data.attributes.forEach(t=>{this.replaceIds(t,e,[`id`])}),t.data.texts.forEach(t=>{this.replaceIds(t,e,[`id`])}),t;case Q.Drag:case Q.TouchMove:case Q.MouseMove:return t.data.positions.forEach(t=>{this.replaceIds(t,e,[`id`])}),t;case Q.ViewportResize:return!1;case Q.MediaInteraction:case Q.MouseInteraction:case Q.Scroll:case Q.CanvasMutation:case Q.Input:return this.replaceIds(t.data,e,[`id`]),t;case Q.StyleSheetRule:case Q.StyleDeclaration:return this.replaceIds(t.data,e,[`id`]),this.replaceStyleIds(t.data,e,[`styleId`]),t;case Q.Font:return t;case Q.Selection:return t.data.ranges.forEach(t=>{this.replaceIds(t,e,[`start`,`end`])}),t;case Q.AdoptedStyleSheet:return this.replaceIds(t.data,e,[`id`]),this.replaceStyleIds(t.data,e,[`styleIds`]),eC([t,`access`,e=>e.data,`access`,e=>e.styles,`optionalAccess`,e=>e.forEach,`call`,t=>t(t=>{this.replaceStyleIds(t,e,[`styleId`])})]),t}}return!1}replace(e,t,n,r){for(let i of r)!Array.isArray(t[i])&&typeof t[i]!=`number`||(Array.isArray(t[i])?t[i]=e.getIds(n,t[i]):t[i]=e.getId(n,t[i]));return t}replaceIds(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)}replaceStyleIds(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)}replaceIdOnNode(e,t){this.replaceIds(e,t,[`id`,`rootId`]),`childNodes`in e&&e.childNodes.forEac
23h(e=>{this.replaceIdOnNode(e,t)})}patchRootIdOnNode(e,t){e.type!==Fb.Document&&!e.rootId&&(e.rootId=t),`childNodes`in e&&e.childNodes.forEach(e=>{this.patchRootIdOnNode(e,t)})}},rC=class{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}},iC=class{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!Rb(e)||this.shadowDoms.has(e))return;this.shadowDoms.add(e);let n=NS({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=>n.disconnect()),this.restoreHandlers.push(IS({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),pS(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(WS({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){!e.contentWindow||!e.contentDocument||this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)}patchAttachShadow(e,t){let n=this;this.restoreHandlers.push(Wx(e.prototype,`attachShadow`,function(e){return function(r){let i=e.call(this,r);return this.shadowRoot&&lS(this)&&n.addShadowRoot(this.shadowRoot,t),i}}))}reset(){this.restoreHandlers.forEach(e=>{try{e()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet}},aC=class{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}},oC=class{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new aS,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){`_cssText`in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(e.length===0)return;let n={id:t,styleIds:[]},r=[];for(let t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),r.push({styleId:e,rules:Array.from(t.rules||CSSRule,(e,t)=>({rule:Hb(e),index:t}))})),n.styleIds.push(e)}r.length>0&&(n.styles=r),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}},sC=class{constructor(){this.nodeMap=new WeakMap,this.loop=!0,this.periodicallyClear()}periodicallyClear(){fS(()=>{this.clear(),this.loop&&this.periodicallyClear()})}inOtherBuffer(e,t){let n=this.nodeMap.get(e);return n&&Array.from(n).some(e=>e!==t)}add(e,t){this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}clear(){this.nodeMap=new WeakMap}destroy(){this.loop=!1}},cC,lC,uC=qb();function dC(e={}){let{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:i=`rr-block`,blockSelector:a=null,unblockSelector:o=null,ignoreClass:s=`rr-ignore`,ignoreSelector:c=null,maskAllText:l=!1,maskTextClass:u=`rr-mask`,unmaskTextClass:d=null,maskTextSelector:f=null,unmaskTextSelector:p=null,inlineStylesheet:m=!0,maskAllInputs:h,maskInputOptions:g,slimDOMOptions:_,maskAttributeFn:v,maskInputFn:y,maskTextFn:b,maxCanvasSize:x=null,packFn:S,sampling:C={},dataURLOptions:ee={},mousemoveWait:te,recordCanvas:ne=!1,recordCrossOriginIframes:re=!1,recordAfter:ie=e.recordAfter===`DOMContentLoaded`?e.recordAfter:`load`,userTriggeredOnInput:w=!1,collectFonts:ae=!1,inlineImages:oe=!1,plugins:T,keepIframeSrcFn:se=()=>!1,ignoreCSSAttributes:ce=new Set([]),errorHandler:le,onMutation:E,getCanvasManager:D}=e;OS(le);let ue=!re||window.parent===window,de=!1;if(!ue)try{window.parent.document&&(de=!1)}catch{de=!0}if(ue&&!t)throw Error(`emit function is required`);te!==void 0&&C.mousemove===void 0&&(C.mousemove=te),uC.reset();let fe=h===!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}:g===void 0?{}:g,pe=_===!0||_===`all`?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:_===`all`,headMetaDescKeywords:_===`all`}:_||{};tS();let me,he=0,ge=e=>{for(let t of T||[])t.eventProcessor&&(e=t.eventProcessor(e));return S&&!de&&(e=S(e)),e};cC=(e,i)=>{let a=e;if(a.timestamp=Gx(),Id([jS,`access`,e=>e[0],`optionalAccess`,e=>e.isFrozen,`call`,e=>e()])&&a.type!==Z.FullSnapshot&&(a.type!==Z.IncrementalSnapshot||a.data.source!==Q.Mutation)&&jS.forEach(e
23=>e.unfreeze()),ue)Id([t,`optionalCall`,e=>e(ge(a),i)]);else if(de){let e={type:`rrweb`,event:ge(a),origin:window.location.origin,isCheckout:i};window.parent.postMessage(e,`*`)}if(a.type===Z.FullSnapshot)me=a,he=0;else if(a.type===Z.IncrementalSnapshot){if(a.data.source===Q.Mutation&&a.data.isAttachIframe)return;he++;let e=r&&he>=r,t=n&&me&&a.timestamp-me.timestamp>n;(e||t)&&Te(!0)}};let _e=e=>{cC({type:Z.IncrementalSnapshot,data:{source:Q.Mutation,...e}})},ve=e=>cC({type:Z.IncrementalSnapshot,data:{source:Q.Scroll,...e}}),ye=e=>cC({type:Z.IncrementalSnapshot,data:{source:Q.CanvasMutation,...e}}),be=new oC({mutationCb:_e,adoptedStyleSheetCb:e=>cC({type:Z.IncrementalSnapshot,data:{source:Q.AdoptedStyleSheet,...e}})}),xe=typeof __RRWEB_EXCLUDE_IFRAME__==`boolean`&&__RRWEB_EXCLUDE_IFRAME__?new tC:new nC({mirror:uC,mutationCb:_e,stylesheetManager:be,recordCrossOriginIframes:re,wrappedEmit:cC});for(let e of T||[])e.getMirror&&e.getMirror({nodeMirror:uC,crossOriginIframeMirror:xe.crossOriginIframeMirror,crossOriginIframeStyleMirror:xe.crossOriginIframeStyleMirror});let Se=new sC,Ce=pC(D,{mirror:uC,win:window,mutationCb:e=>cC({type:Z.IncrementalSnapshot,data:{source:Q.CanvasMutation,...e}}),recordCanvas:ne,blockClass:i,blockSelector:a,unblockSelector:o,maxCanvasSize:x,sampling:C.canvas,dataURLOptions:ee,errorHandler:le}),we=typeof __RRWEB_EXCLUDE_SHADOW_DOM__==`boolean`&&__RRWEB_EXCLUDE_SHADOW_DOM__?new rC:new iC({mutationCb:_e,scrollCb:ve,bypassOptions:{onMutation:E,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:l,maskTextClass:u,unmaskTextClass:d,maskTextSelector:f,unmaskTextSelector:p,inlineStylesheet:m,maskInputOptions:fe,dataURLOptions:ee,maskAttributeFn:v,maskTextFn:b,maskInputFn:y,recordCanvas:ne,inlineImages:oe,sampling:C,slimDOMOptions:pe,iframeManager:xe,stylesheetManager:be,canvasManager:Ce,keepIframeSrcFn:se,processedNodeManager:Se},mirror:uC}),Te=(e=!1)=>{cC({type:Z.Meta,data:{href:window.location.href,width:Jx(),height:qx()}},e),be.reset(),we.init(),jS.forEach(e=>e.lock());let t=Lx(document,{mirror:uC,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:l,maskTextClass:u,unmaskTextClass:d,maskTextSelector:f,unmaskTextSelector:p,inlineStylesheet:m,maskAllInputs:fe,maskAttributeFn:v,maskInputFn:y,maskTextFn:b,slimDOM:pe,dataURLOptions:ee,recordCanvas:ne,inlineImages:oe,onSerialize:e=>{nS(e,uC)&&xe.addIframe(e),rS(e,uC)&&be.trackLinkElement(e),iS(e)&&we.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{xe.attachIframe(e,t),we.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{be.attachLinkElement(e,t)},keepIframeSrcFn:se});if(!t)return console.warn(`Failed to snapshot the document`);cC({type:Z.FullSnapshot,data:{node:t,initialOffset:Kx(window)}}),jS.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&be.adoptStyleSheets(document.adoptedStyleSheets,uC.getId(document))};lC=Te;try{let e=[],t=e=>$(XS)({onMutation:E,mutationCb:_e,mousemoveCb:(e,t)=>cC({type:Z.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>cC({type:Z.IncrementalSnapshot,data:{source:Q.MouseInteraction,...e}}),scrollCb:ve,viewportResizeCb:e=>cC({type:Z.IncrementalSnapshot,data:{source:Q.ViewportResize,...e}}),inputCb:e=>cC({type:Z.IncrementalSnapshot,data:{source:Q.Input,...e}}),mediaInteractionCb:e=>cC({type:Z.IncrementalSnapshot,data:{source:Q.MediaInteraction,...e}}),styleSheetRuleCb:e=>cC({type:Z.IncrementalSnapshot,data:{source:Q.StyleSheetRule,...e}}),styleDeclarationCb:e=>cC({type:Z.IncrementalSnapshot,data:{source:Q.StyleDeclaration,...e}}),canvasMutationCb:ye,fontCb:e=>cC({type:Z.IncrementalSnapshot,data:{source:Q.Font,...e}}),selectionCb:e=>{cC({type:Z.IncrementalSnapshot,data:{source:Q.Selection,...e}})},customElementCb:e=>{cC({type:Z.IncrementalSnapshot,data:{source:Q.CustomElement,...e}})},blockClass:i,ignoreClass:s,ignoreSelector:c,maskAllText:l,maskTextClass:u,unmaskTextClass:d,maskTextSelector:f,unmaskTextSelector:p,maskInputOptions:fe,inlineStylesheet:m,sampling:C,recordCanvas:ne,inlineImages:oe,userTriggeredOnInput:w,collectFonts:ae,doc:e,maskAttributeFn:v,maskInputFn:y,maskTextFn:b,keepIframeSrcFn:se,blockSelector:a,unblockSelector:o,slimDOMOptions:pe,dataURLOptions:ee,mirror:uC,iframeManager:xe,stylesheetManager:be,
23shadowDomManager:we,processedNodeManager:Se,canvasManager:Ce,ignoreCSSAttributes:ce,plugins:Id([T,`optionalAccess`,e=>e.filter,`call`,e=>e(e=>e.observer),`optionalAccess`,e=>e.map,`call`,e=>e(e=>({observer:e.observer,options:e.options,callback:t=>cC({type:Z.Plugin,data:{plugin:e.name,payload:t}})}))])||[]},{});xe.addLoadListener(n=>{try{e.push(t(n.contentDocument))}catch(e){console.warn(e)}});let n=()=>{Te(),e.push(t(document))};return document.readyState===`interactive`||document.readyState===`complete`?n():(e.push(zx(`DOMContentLoaded`,()=>{cC({type:Z.DomContentLoaded,data:{}}),ie===`DOMContentLoaded`&&n()})),e.push(zx(`load`,()=>{cC({type:Z.Load,data:{}}),ie===`load`&&n()},window))),()=>{e.forEach(e=>e()),Se.destroy(),lC=void 0,kS()}}catch(e){console.warn(e)}}function fC(e){if(!lC)throw Error(`please take full snapshot after start recording`);lC(e)}dC.mirror=uC,dC.takeFullSnapshot=fC;function pC(e,t){try{return e?e(t):new aC}catch{return console.warn(`Unable to initialize CanvasManager`),new aC}}var mC=3,hC=5;function gC(e){return e>9999999999?e:e*1e3}function _C(e){return e>9999999999?e/1e3:e}function vC(e,t){t.category!==`sentry.transaction`&&([`ui.click`,`ui.input`].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:Z.Custom,timestamp:(t.timestamp||0)*1e3,data:{tag:`breadcrumb`,payload:ku(t,10,1e3)}}),t.category===`console`)))}var yC=`button,a`;function bC(e){return e.closest(yC)||e}function xC(e){let t=SC(e);return!t||!(t instanceof Element)?t:bC(t)}function SC(e){return CC(e)?e.target:e}function CC(e){return typeof e==`object`&&!!e&&`target`in e}var wC;function TC(e){return wC||(wC=[],EC()),wC.push(e),()=>{let t=wC?wC.indexOf(e):-1;t>-1&&wC.splice(t,1)}}function EC(){sl(mb,`open`,function(e){return function(...t){if(wC)try{wC.forEach(e=>e())}catch{}return e.apply(mb,t)}})}function DC(e,t,n){e.handleClick(t,n)}var OC=class{constructor(e,t,n=vC){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){let e=TC(()=>{this._lastMutation=MC()});this._teardown=()=>{e(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){if(AC(t,this._ignoreSelector)||!jC(e))return;let n={timestamp:_C(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some(e=>e.node===n.node&&Math.abs(e.timestamp-n.timestamp)<1)||(this._clicks.push(n),this._clicks.length===1&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=_C(e)}registerScroll(e=Date.now()){this._lastScroll=_C(e)}registerClick(e){let t=bC(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach(e=>{e.clickCount++})}_getClicks(e){return this._clicks.filter(t=>t.node===e)}_checkClicks(){let e=[],t=MC();this._clicks.forEach(n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=t&&e.push(n)});for(let t of e){let e=this._clicks.indexOf(t);e>-1&&(this._generateBreadcrumbs(t),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){let t=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,i=!n&&!r,{clickCount:a,clickBreadcrumb:o}=e;if(i){let n=Math.min(e.mutationAfter||this._timeout,this._timeout)*1e3,r=n<this._timeout*1e3?`mutation`:`timeout`,i={type:`default`,message:o.message,timestamp:o.timestamp,category:`ui.slowClickDetected`,data:{...o.data,url:mb.location.href,route:t.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:a||1}};this._addBreadcrumbEvent(t,i);return}if(a>1){let e={type:`default`,message:o.message,timestamp:o.timestamp,category:`ui.multiClick`,data:{...o.data,url:mb.location.href,route:t.getCurrentRoute(),clickCount:a,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=setTimeout(()=>this._checkClicks(),1e3)}},kC=[`A`,`BUTTON`,`INPUT`];function AC(e,t){return!!(!kC.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))}
23function jC(e){return!!(e.data&&typeof e.data.nodeId==`number`&&e.timestamp)}function MC(){return Date.now()/1e3}function NC(e,t){try{if(!PC(t))return;let{source:n}=t.data;if(n===Q.Mutation&&e.registerMutation(t.timestamp),n===Q.Scroll&&e.registerScroll(t.timestamp),FC(t)){let{type:n,id:r}=t.data,i=dC.mirror.getNode(r);i instanceof HTMLElement&&n===hS.Click&&e.registerClick(i)}}catch{}}function PC(e){return e.type===mC}function FC(e){return e.data.source===Q.MouseInteraction}function IC(e){return{timestamp:Date.now()/1e3,type:`default`,...e}}var LC;(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`})(LC||(LC={}));var RC=new Set([`id`,`class`,`aria-label`,`role`,`name`,`alt`,`title`,`data-test-id`,`data-testid`,`disabled`,`aria-disabled`,`data-sentry-component`]);function zC(e){let t={};for(let n in e)if(RC.has(n)){let r=n;(n===`data-testid`||n===`data-test-id`)&&(r=`testId`),t[r]=e[n]}return t}var BC=e=>t=>{if(!e.isEnabled())return;let n=HC(t);if(!n)return;let r=t.name===`click`,i=r?t.event:void 0;r&&e.clickDetector&&i&&i.target&&!i.altKey&&!i.metaKey&&!i.ctrlKey&&!i.shiftKey&&DC(e.clickDetector,n,xC(t.event)),vC(e,n)};function VC(e,t){let n=dC.mirror.getId(e),r=n&&dC.mirror.getNode(n),i=r&&dC.mirror.getMeta(r),a=i&&WC(i)?i:null;return{message:t,data:a?{nodeId:n,node:{id:n,tagName:a.tagName,textContent:Array.from(a.childNodes).map(e=>e.type===LC.Text&&e.textContent).filter(Boolean).map(e=>e.trim()).join(``),attributes:zC(a.attributes)}}:{}}}function HC(e){let{target:t,message:n}=UC(e);return IC({category:`ui.${e.name}`,...VC(t,n)})}function UC(e){let t=e.name===`click`,n,r=null;try{r=t?xC(e.event):SC(e.event),n=Hc(r,{maxStringLength:200})||`<unknown>`}catch{n=`<unknown>`}return{target:r,message:n}}function WC(e){return e.type===LC.Element}function GC(e,t){if(!e.isEnabled())return;e.updateUserActivity();let n=KC(t);n&&vC(e,n)}function KC(e){let{metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:a,target:o}=e;if(!o||qC(o)||!a)return null;let s=t||r||i,c=a.length===1;if(!s&&c)return null;let l=Hc(o,{maxStringLength:200})||`<unknown>`;return IC({category:`ui.keyDown`,message:l,data:{...VC(o,l).data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:a}})}function qC(e){return e.tagName===`INPUT`||e.tagName===`TEXTAREA`||e.isContentEditable}var JC={resource:ew,paint:QC,navigation:$C};function YC(e){return e.map(XC).filter(Boolean)}function XC(e){return JC[e.entryType]?JC[e.entryType](e):null}function ZC(e){return((nd||mb.performance.timeOrigin)+e)/1e3}function QC(e){let{duration:t,entryType:n,name:r,startTime:i}=e,a=ZC(i);return{type:n,name:r,start:a,end:a+t,data:void 0}}function $C(e){let{entryType:t,name:n,decodedBodySize:r,duration:i,domComplete:a,encodedBodySize:o,domContentLoadedEventStart:s,domContentLoadedEventEnd:c,domInteractive:l,loadEventStart:u,loadEventEnd:d,redirectCount:f,startTime:p,transferSize:m,type:h}=e;return i===0?null:{type:`${t}.${h}`,start:ZC(p),end:ZC(a),name:n,data:{size:m,decodedBodySize:r,encodedBodySize:o,duration:i,domInteractive:l,domContentLoadedEventStart:s,domContentLoadedEventEnd:c,loadEventStart:u,loadEventEnd:d,domComplete:a,redirectCount:f}}}function ew(e){let{entryType:t,initiatorType:n,name:r,responseEnd:i,startTime:a,decodedBodySize:o,encodedBodySize:s,responseStatus:c,transferSize:l}=e;return[`fetch`,`xmlhttprequest`].includes(n)?null:{type:`${t}.${n}`,start:ZC(a),end:ZC(i),name:r,data:{size:l,statusCode:c,decodedBodySize:o,encodedBodySize:s}}}function tw(e){let t=e.entries,n=t[t.length-1],r=n?n.element:void 0,i=e.value,a=ZC(i);return{type:`largest-contentful-paint`,name:`largest-contentful-paint`,start:a,end:a,data:{value:i,size:i,nodeId:r?dC.mirror.getId(r):void 0}}}function nw(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function n({entries:e}){e.forEach(t)}let r=[];return[`navigation`,`paint`,`resource`].forEach(e=>{r.push(Jg(e,n))}),r.push(Wg(({metric:t})=>{e.replayPerformanceEntries.push(tw(t))})),()=>{r.forEach(e=>e())}}var rw=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,iw=`var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([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,0,0,0]),i=new t([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,0,0]),a=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=function(t,e){for(var i=new n(31),a=0;a<31;++a)i[a]=e+=1<<t[a-1];var s=new r(i[30]);for(a=1;a<30;++a)for(var o=i[a];o<i[a+1];++o)s[o]=o-i[a]<<5|a;return{b:i,r:s}
vendor: 5,353 bytes, line 23
23},o=s(e,2),f=o.b,h=o.r;f[28]=258,h[258]=28;for(var l=s(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,a=0,s=new n(r);a<i;++a)t[a]&&++s[t[a]-1];var o,f=new n(r);for(a=1;a<r;++a)f[a]=f[a-1]+s[a-1]<<1;if(e){o=new n(1<<r);var h=15-r;for(a=0;a<i;++a)if(t[a])for(var l=a<<4|t[a],c=r-t[a],v=f[t[a]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>h]=l}else for(o=new n(i),a=0;a<i;++a)t[a]&&(o[a]=u[f[t[a]-1]++]>>15-t[a]);return o},g=new t(288);for(c=0;c<144;++c)g[c]=8;for(c=144;c<256;++c)g[c]=9;for(c=256;c<280;++c)g[c]=7;for(c=280;c<288;++c)g[c]=8;var w=new t(32);for(c=0;c<32;++c)w[c]=5;var p=d(g,9,0),y=d(w,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==r||r<0)&&(r=0),(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},A=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},_=function(r,e){for(var i=[],a=0;a<r.length;++a)r[a]&&i.push({s:a,f:r[a]});var s=i.length,o=i.slice();if(!s)return{t:F,l:0};if(1==s){var f=new t(i[0].s+1);return f[i[0].s]=1,{t:f,l:1}}i.sort((function(t,n){return t.f-n.f})),i.push({s:-1,f:25001});var h=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:h.f+l.f,l:h,r:l};c!=s-1;)h=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:h.f+l.f,l:h,r:l};var d=o[0].s;for(a=1;a<s;++a)o[a].s>d&&(d=o[a].s);var g=new n(d+1),w=x(i[c-1],g,0);if(w>e){a=0;var p=0,y=w-e,m=1<<y;for(o.sort((function(t,n){return g[n.s]-g[t.s]||t.f-n.f}));a<s;++a){var b=o[a].s;if(!(g[b]>e))break;p+=m-(1<<w-g[b]),g[b]=e}for(p>>=y;p>0;){var M=o[a].s;g[M]<e?p-=1<<e-g[M]++-1:++a}for(;a>=0&&p;--a){var E=o[a].s;g[E]==e&&(--g[E],++p)}w=e}return{t:new t(g),l:w}},x=function(t,n,r){return-1==t.s?Math.max(x(t.l,n,r+1),x(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,a=t[0],s=1,o=function(t){e[i++]=t},f=1;f<=r;++f)if(t[f]==a&&f!=r)++s;else{if(!a&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(a),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(a);s=1,a=t[f]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var a=0;a<e;++a)t[i+a+4]=r[a];return 8*(i+4+e)},C=function(t,r,s,o,f,h,l,u,c,v,m){z(r,m++,s),++f[256];for(var b=_(f,15),M=b.t,E=b.l,x=_(h,15),C=x.t,U=x.l,F=D(M),I=F.c,S=F.n,L=D(C),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=_(q,7),H=G.t,J=G.l,K=19;K>4&&!H[a[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(f,g)+T(h,w)+l,X=T(f,M)+T(h,C)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(C,U,0),R=C;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[a[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=p,P=g,Q=y,R=w;for(B=0;B<u;++B){var rt=o[B];if(rt>255){A(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;A(r,m,Q[et]),m+=R[et],et>3&&(A(r,m,rt>>5&8191),m+=i[et])}else A(r,m,N[rt]),m+=P[rt]}return A(r,m,N[256]),m+P[256]},U=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,a=0|r.length,s=0;s!=a;){for(var o=Math.min(s+2655,a);s<o;++s)i+=e+=r[s];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(a,s,o,f,u){if(!u&&(u={l:1},s.dictionary)){var c=s.dictionary.subarray(-32768),v=new t(c.length+a.length);v.set(c),v.set(a,c.length),a=v,u.w=c.length}return function(a,s,o,f,u,c){var v=c.z||a.length,d=new t(f+v+5*(1+Math.ceil(v/7e3))+u),g=d.subarray(f,d.length-u),w=c.l,p=7&(c.r||0);if(s){p&&(g[0]=c.r>>3);for(var y=U[s-1],M=y>>13,E=8191&y,z=(1<<o)-1,A=c.p||new n(32768),_=c.h||new n(z+1),x=Math.ceil(o/3),D=2*x,T=function(t){return(a[t]^a[t+1]<<x^a[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=_[H];if(A[J]=K,_[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!w)){p=C(a,g,0,F,I,S,O,q,G,j-G,p),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(a[j+Q]==a[j+Q-W]){for(var $=0;$<Z&&a[j+$]==a[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;
23++P){var rt=j-W+P&32767,et=rt-A[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=A[J])&32767}if(R){F[q++]=268435456|h[Q]<<18|l[R];var it=31&h[Q],at=31&l[R];O+=e[it]+i[at],++I[257+it],++S[at],B=j+Q,++L}else F[q++]=a[j],++I[a[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=a[j],++I[a[j]];p=C(a,g,w,F,I,S,O,q,G,j-G,p),w||(c.r=7&p|g[p/8|0]<<3,p-=7,c.h=_,c.p=A,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+w;j+=65535){var st=j+65535;st>=v&&(g[p/8|0]=w,st=v),p=k(g,p+1,a.subarray(j,st))}c.i=v}return b(d,0,f+m(p)+u)}(a,null==s.level?6:s.level,null==s.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(a.length)))):12+s.mem,o,f,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var a=this.b.length-this.s.z;a&&(this.b.set(n.subarray(0,a),this.s.z),this.s.z=this.b.length,this.p(this.b,!1)),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(a),32768),this.s.z=n.length-a+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,a=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),s=a.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(a,n),O(a,s-8,r.d()),O(a,s-4,e),a}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(r){for(var e=new t(n.length),i=0;i<n.length;++i)e[i]=n.charCodeAt(i);return e}if(G)return G.encode(n);var a=n.length,s=new t(n.length+(n.length>>1)),o=0,f=function(t){s[o++]=t};for(i=0;i<a;++i){if(o+5>s.length){var h=new t(o+8+(a-i<<1));h.set(s),s=h}var l=n.charCodeAt(i);l<128||r?f(l):l<2048?(f(192|l>>6),f(128|63&l)):l>55295&&l<57344?(f(240|(l=65536+(1047552&l)|1023&n.charCodeAt(++i))>>18),f(128|l>>12&63),f(128|l>>6&63),f(128|63&l)):(f(224|l>>12),f(128|l>>6&63),f(128|63&l))}return b(s,0,o)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(let r=0,e=t.length;r<e;r++)n+=t[r].length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J(((t,n)=>{this.deflate.push(t,n)})),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});`;function aw(){let e=new Blob([iw]);return URL.createObjectURL(e)}function ow(e,t){rw&&(B.info(e),t&&cw(e))}function sw(e,t){rw&&(B.info(e),t&&setTimeout(()=>{cw(e)},0))}function cw(e){hf({category:`console`,data:{logger:`replay`},level:`info`,message:e},{level:`info`})}
23var lw=class extends Error{constructor(){super(`Event buffer exceeded maximum size of ${kb}.`)}},uw=class{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return`sync`}destroy(){this.events=[]}async addEvent(e){let t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>kb)throw new lw;this.events.push(e)}finish(){return new Promise(e=>{let t=this.events;this.clear(),e(JSON.stringify(t))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let e=this.events.map(e=>e.timestamp).sort()[0];return e?gC(e):null}},dw=class{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise((e,t)=>{this._worker.addEventListener(`message`,({data:n})=>{n.success?e():t()},{once:!0}),this._worker.addEventListener(`error`,e=>{t(e)},{once:!0})})),this._ensureReadyPromise}destroy(){ow(`[Replay] Destroying compression worker`),this._worker.terminate()}postMessage(e,t){let n=this._getAndIncrementId();return new Promise((r,i)=>{let a=({data:t})=>{let o=t;if(o.method===e&&o.id===n){if(this._worker.removeEventListener(`message`,a),!o.success){rw&&B.error(`[Replay]`,o.response),i(Error(`Error in compression worker`));return}r(o.response)}};this._worker.addEventListener(`message`,a),this._worker.postMessage({id:n,method:e,arg:t})})}_getAndIncrementId(){return this._id++}},fw=class{constructor(e){this._worker=new dw(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return`worker`}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){let t=gC(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);let n=JSON.stringify(e);return this._totalSize+=n.length,this._totalSize>kb?Promise.reject(new lw):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage(`clear`).then(null,e=>{rw&&B.warn(`[Replay] Sending "clear" message to worker failed`,e)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage(`addEvent`,e)}async _finishRequest(){let e=await this._worker.postMessage(`finish`);return this._earliestTimestamp=null,this._totalSize=0,e}},pw=class{constructor(e){this._fallback=new uw,this._compression=new fw(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch{ow(`[Replay] Failed to load the compression worker, falling back to simple buffer`);return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){let{events:e,hasCheckout:t}=this._fallback,n=[];for(let t of e)n.push(this._compression.addEvent(t));this._compression.hasCheckout=t,this._used=this._compression;try{await Promise.all(n)}catch(e){rw&&B.warn(`[Replay] Failed to add events when switching buffers.`,e)}}};function mw({useCompression:e,workerUrl:t}){if(e&&window.Worker){let e=hw(t);if(e)return e}return ow(`[Replay] Using simple buffer`),new uw}function hw(e){try{let t=e||gw();return t?(ow(`[Replay] Using compression worker${e?` from ${e}`:``}`),new pw(new Worker(t))):void 0}catch{ow(`[Replay] Failed to create compression worker`)}}function gw(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__>`u`||!__SENTRY_EXCLUDE_REPLAY_WORKER__?aw():``}function _w(){try{return`sessionStorage`in mb&&!!mb.sessionStorage}catch{return!1}}function vw(e){yw(),e.session=void 0}function yw(){if(_w())try{mb.sessionStorage.removeItem(hb)}catch{}}function bw(e){return e!==void 0&&Math.random()<e}function xw(e){let t=Date.now();return{id:e.id||V(),started:e.started||t,lastActivity:e.lastActivity||t,segmentId:e.segmentId||0,sampled:e.sampled,previousSessionId:e.previousSessionId}}function Sw(e){if(_w())try{mb.sessionStorage.setItem(hb,JSON.stringify(e))}catch{}}function Cw(e,t){return bw(e)?`session`:t?`buffer`:!1}function ww({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){let i=xw({sampled:Cw(e,t),previousSessionId:r});return n&&Sw(i),i}function Tw(e){if(!_w())return null;try{let t=mb.sessionStorage.getItem(hb);if(!t)return null;let n=JSON.parse(t);return sw(`[Replay] Loading existing session`,e),xw(n)}catch{return null}}function Ew(e,t,n=+new Date){return e===null||t===void 0||t<0||t!==0&&e+t<=n}function Dw(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return Ew(e.started,t,r)||Ew(e.lastActivity,n,r)}function Ow(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!(!Dw(e,{sessionIdleExpire:t,maxReplayDuration:n})||e.sampled===`buffer`&&e.segmentId===0)}function kw({traceInternals:e,sessionIdleExpire:t,maxReplayDuration:n,previousSessionId:r},i){let a=i.stickySession&&Tw(e);return a?Ow(a,{sessionIdleExpire:t,maxReplayDuration:n})?(sw(`[Replay] Session in sessionStorage is expired, creating new one...`),ww(i,{previousSessionId:a.id})):a:(sw(`[Replay] Creating new session`,e),ww(i,{previousSessionId:r}))}function Aw(e){return e.type===Z.Custom}function jw(e,t,n){return Pw(e,t)?(Nw(e,t,n),!0):!1}function Mw(e,t,n){return Pw(e,t)?Nw(e,t,n):Promise.resolve(null)}async function Nw(e,t,n){if(!e.eventBuffer)return null;try{n&&e.recordingMode===`buffer`&&e.eventBuffer.clear(),n&&(e.eventBuffer.hasCheckout=!0);let r=Fw(t,e.getOptions().beforeAddRecordingEvent);return r?await e.eventBuffer.addEvent(r):void 0}catch(t){let n=t&&t instanceof lw?`addEventSizeExceeded`:`addEvent`;rw&&B.error(t),await e.stop({reason:n});let r=K();r&&r.recordDroppedEvent(`internal_sdk_error`,`replay`)}}
23function Pw(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;let n=gC(t.timestamp);return n+e.timeouts.sessionIdlePause<Date.now()?!1:n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration?(ow(`[Replay] Skipping event with timestamp ${n} because it is after maxReplayDuration`,e.getOptions()._experiments.traceInternals),!1):!0}function Fw(e,t){try{if(typeof t==`function`&&Aw(e))return t(e)}catch(e){return rw&&B.error("[Replay] An error occured in the `beforeAddRecordingEvent` callback, skipping the event...",e),null}return e}function Iw(e){return!e.type}function Lw(e){return e.type===`transaction`}function Rw(e){return e.type===`replay_event`}function zw(e){return e.type===`feedback`}function Bw(e){let t=Uw();return(n,r)=>{if(!e.isEnabled()||!Iw(n)&&!Lw(n))return;let i=r&&r.statusCode;if(!(t&&(!i||i<200||i>=300))){if(Lw(n)){Vw(e,n);return}Hw(e,n)}}}function Vw(e,t){let n=e.getContext();t.contexts&&t.contexts.trace&&t.contexts.trace.trace_id&&n.traceIds.size<100&&n.traceIds.add(t.contexts.trace.trace_id)}function Hw(e,t){let n=e.getContext();if(t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id),e.recordingMode!==`buffer`||!t.tags||!t.tags.replayId)return;let{beforeErrorSampling:r}=e.getOptions();typeof r==`function`&&!r(t)||setTimeout(()=>{e.sendBufferedReplayOrFlush()})}function Uw(){let e=K();if(!e)return!1;let t=e.getTransport();return t&&t.send.__sentry__baseTransport__||!1}function Ww(e){return t=>{!e.isEnabled()||!Iw(t)||Gw(e,t)}}function Gw(e,t){let n=t.exception&&t.exception.values&&t.exception.values[0].value;typeof n==`string`&&(n.match(/reactjs\.org\/docs\/error-decoder\.html\?invariant=(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&vC(e,IC({category:`replay.hydrate-error`}))}function Kw(e,t){return e.type||!e.exception||!e.exception.values||!e.exception.values.length?!1:!!(t.originalException&&t.originalException.__rrweb__)}function qw(e,t){e.triggerUserActivity(),e.addUpdate(()=>t.timestamp?(e.throttledAddEvent({type:Z.Custom,timestamp:t.timestamp*1e3,data:{tag:`breadcrumb`,payload:{timestamp:t.timestamp,type:`default`,category:`sentry.feedback`,data:{feedbackId:t.event_id}}}}),!1):!0)}function Jw(e,t){return e.recordingMode!==`buffer`||t.message===_b||!t.exception||t.type?!1:bw(e.getOptions().errorSampleRate)}function Yw(e,t=!1){let n=t?Bw(e):void 0;return Object.assign((t,r)=>e.isEnabled()?Rw(t)?(delete t.breadcrumbs,t):!Iw(t)&&!Lw(t)&&!zw(t)||!e.checkAndHandleExpiredSession()?t:zw(t)?(e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),qw(e,t),t):Kw(t,r)&&!e.getOptions()._experiments.captureExceptions?(rw&&B.log(`[Replay] Ignoring error from rrweb internals`,t),null):((Jw(e,t)||e.recordingMode===`session`)&&(t.tags={...t.tags,replayId:e.getSessionId()}),n&&n(t,{statusCode:200}),t):t,{id:`Replay`})}function Xw(e,t){return t.map(({type:t,start:n,end:r,name:i,data:a})=>{let o=e.throttledAddEvent({type:Z.Custom,timestamp:n,data:{tag:`performanceSpan`,payload:{op:t,description:i,startTimestamp:n,endTimestamp:r,data:a}}});return typeof o==`string`?Promise.resolve(null):o})}function Zw(e){let{from:t,to:n}=e,r=Date.now()/1e3;return{type:`navigation.push`,start:r,end:r,name:n,data:{previous:t}}}function Qw(e){return t=>{if(!e.isEnabled())return;let n=Zw(t);n!==null&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(Xw(e,[n]),!1)))}}function $w(e,t){return rw&&e.getOptions()._experiments.traceInternals?!1:ah(t,K())}function eT(e,t){e.isEnabled()&&t!==null&&($w(e,t.name)||e.addUpdate(()=>(Xw(e,[t]),!0)))}function tT(e){let{startTimestamp:t,endTimestamp:n,fetchData:r,response:i}=e;if(!n)return null;let{method:a,url:o}=r;return{type:`resource.fetch`,start:t/1e3,end:n/1e3,name:o,data:{method:a,statusCode:i?i.status:void 0}}}function nT(e){return t=>{e.isEnabled()&&eT(e,tT(t))}}function rT(e){let{startTimestamp:t,endTimestamp:n,xhr:r}=e,i=r[yu];if(!t||!n||!i)return null;let{method:a,url:o,status_code:s}=i;return o===void 0?null:{type:`resource.xhr`,name:o,start:t/1e3,end:n/1e3,data:{method:a,statusCode:s}}}function iT(e){return t=>{e.isEnabled()&&eT(e,rT(t))}}function aT(e,t){if(e)try{if(typeof e==`string`)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){let n=pT(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function oT(e){if(!e)return;let t=parseInt(e,10);return isNaN(t)?void 0:t}function sT(e){try{if(typeof e==`string`)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[pT(e)];if(!e)return[void 0]}catch{return rw&&B.warn(`[Replay] Failed to serialize body`,e),[void 0,`BODY_PARSE_ERROR`]}return rw&&B.info(`[Replay] Skipping network body because of body type`,e),[void 0,`UNPARSEABLE_BODY_TYPE`]}function cT(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};let n={...e._meta};return n.warnings=[...n.warnings||[],t],e._meta=n,e}function lT(e,t){if(!t)return null;let{startTimestamp:n,endTimestamp:r,url:i,method:a,statusCode:o,request:s,response:c}=t;return{type:e,start:n/1e3,end:r/1e3,name:i,data:gl({method:a,statusCode:o,request:s,response:c})}}function uT(e){return{headers:{},size:e,_meta:{warnings:[`URL_SKIPPED`]}}}function dT(e,t,n){if(!t&&Object.keys(e).length===0)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};let r={headers:e,size:t},{body:i,warnings:a}=mT(n);return r.body=i,a&&a.length>0&&(r._meta={warnings:a}),r}function fT(e,t){return Object.keys(e).reduce((n,r)=>{let i=r.toLowerCase();return t.includes(i)&&e[r]&&(n[i]=e[r]),n},{})}function pT(e){return new URLSearchParams(e).toString()}function mT(e){if(!e||typeof e!=`string`)return{body:e};let t=e.length>Tb,n=hT(e);if(t){let t=e.slice(0,Tb);return n?{body:t,warnings:[`MAYBE_JSON_TRUNCATED`]}:{body:`${t}…`,warnings:[`TEXT_TRUNCATED`]}}if(n)try{return{body:JSON.parse(e)}}catch{}return{body:e}}function hT(e){let t=e[0],n=e[e.length-1];return t===`[`&&n===`]`||t===`{`&&n===`}`}function gT(e,t){return jc(_T(e),t)}function _T(e,t=mb.document.baseURI){if(e.startsWith(`http://`)||e.startsWith(`https://`)||e.startsWith(mb.location.origin))return e;let n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;let r=n.href;return!e.endsWith(`/`)&&r.endsWith(`/`)?r.slice(0,-1):r}async function vT(e,t,n){try{let r=lT(`resource.fetch`,await bT(e,t,n));eT(n.replay,r)}catch(e){rw&&B.error(`[Replay] Failed to capture fetch breadcrumb`,e)}}
23function yT(e,t,n){let{input:r,response:i}=t,a=aT(r?TT(r):void 0,n.textEncoder),o=i?oT(i.headers.get(`content-length`)):void 0;a!==void 0&&(e.data.request_body_size=a),o!==void 0&&(e.data.response_body_size=o)}async function bT(e,t,n){let r=Date.now(),{startTimestamp:i=r,endTimestamp:a=r}=t,{url:o,method:s,status_code:c=0,request_body_size:l,response_body_size:u}=e.data,d=gT(o,n.networkDetailAllowUrls)&&!gT(o,n.networkDetailDenyUrls);return{startTimestamp:i,endTimestamp:a,url:o,method:s,statusCode:c,request:d?xT(n,t.input,l):uT(l),response:await ST(d,n,t.response,u)}}function xT({networkCaptureBodies:e,networkRequestHeaders:t},n,r){let i=n?DT(n,t):{};if(!e)return dT(i,r,void 0);let[a,o]=sT(TT(n)),s=dT(i,r,a);return o?cT(s,o):s}async function ST(e,{networkCaptureBodies:t,textEncoder:n,networkResponseHeaders:r},i,a){if(!e&&a!==void 0)return uT(a);let o=i?ET(i.headers,r):{};if(!i||!t&&a!==void 0)return dT(o,a,void 0);let[s,c]=await wT(i),l=CT(s,{networkCaptureBodies:t,textEncoder:n,responseBodySize:a,captureDetails:e,headers:o});return c?cT(l,c):l}function CT(e,{networkCaptureBodies:t,textEncoder:n,responseBodySize:r,captureDetails:i,headers:a}){try{let o=e&&e.length&&r===void 0?aT(e,n):r;return i?t?dT(a,o,e):dT(a,o,void 0):uT(o)}catch(e){return rw&&B.warn(`[Replay] Failed to serialize response body`,e),dT(a,r,void 0)}}async function wT(e){let t=kT(e);if(!t)return[void 0,`BODY_PARSE_ERROR`];try{return[await AT(t)]}catch(e){return rw&&B.warn(`[Replay] Failed to get text body from response`,e),[void 0,`BODY_PARSE_ERROR`]}}function TT(e=[]){if(e.length===2&&typeof e[1]==`object`)return e[1].body}function ET(e,t){let n={};return t.forEach(t=>{e.get(t)&&(n[t]=e.get(t))}),n}function DT(e,t){return e.length===1&&typeof e[0]!=`string`?OT(e[0],t):e.length===2?OT(e[1],t):{}}function OT(e,t){if(!e)return{};let n=e.headers;return n?n instanceof Headers?ET(n,t):Array.isArray(n)?{}:fT(n,t):{}}function kT(e){try{return e.clone()}catch(e){rw&&B.warn(`[Replay] Failed to clone response body`,e)}}function AT(e){return new Promise((t,n)=>{let r=setTimeout(()=>n(Error(`Timeout while trying to read response body`)),500);jT(e).then(e=>t(e),e=>n(e)).finally(()=>clearTimeout(r))})}async function jT(e){return await e.text()}async function MT(e,t,n){try{let r=lT(`resource.xhr`,PT(e,t,n));eT(n.replay,r)}catch(e){rw&&B.error(`[Replay] Failed to capture xhr breadcrumb`,e)}}function NT(e,t,n){let{xhr:r,input:i}=t;if(!r)return;let a=aT(i,n.textEncoder),o=r.getResponseHeader(`content-length`)?oT(r.getResponseHeader(`content-length`)):RT(r.response,r.responseType,n.textEncoder);a!==void 0&&(e.data.request_body_size=a),o!==void 0&&(e.data.response_body_size=o)}function PT(e,t,n){let r=Date.now(),{startTimestamp:i=r,endTimestamp:a=r,input:o,xhr:s}=t,{url:c,method:l,status_code:u=0,request_body_size:d,response_body_size:f}=e.data;if(!c)return null;if(!s||!gT(c,n.networkDetailAllowUrls)||gT(c,n.networkDetailDenyUrls))return{startTimestamp:i,endTimestamp:a,url:c,method:l,statusCode:u,request:uT(d),response:uT(f)};let p=s[yu],m=p?fT(p.request_headers,n.networkRequestHeaders):{},h=fT(FT(s),n.networkResponseHeaders),[g,_]=n.networkCaptureBodies?sT(o):[void 0],[v,y]=n.networkCaptureBodies?IT(s):[void 0],b=dT(m,d,g),x=dT(h,f,v);return{startTimestamp:i,endTimestamp:a,url:c,method:l,statusCode:u,request:_?cT(b,_):b,response:y?cT(x,y):x}}function FT(e){let t=e.getAllResponseHeaders();return t?t.split(`\r
24`).reduce((e,t)=>{let[n,r]=t.split(`: `);return e[n.toLowerCase()]=r,e},{}):{}}function IT(e){let t=[];try{return[e.responseText]}catch(e){t.push(e)}try{return LT(e.response,e.responseType)}catch(e){t.push(e)}return rw&&B.warn(`[Replay] Failed to get xhr response body`,...t),[void 0]}function LT(e,t){try{if(typeof e==`string`)return[e];if(e instanceof Document)return[e.body.outerHTML];if(t===`json`&&e&&typeof e==`object`)return[JSON.stringify(e)];if(!e)return[void 0]}catch{return rw&&B.warn(`[Replay] Failed to serialize body`,e),[void 0,`BODY_PARSE_ERROR`]}return rw&&B.info(`[Replay] Skipping network body because of body type`,e),[void 0,`UNPARSEABLE_BODY_TYPE`]}function RT(e,t,n){try{return aT(t===`json`&&e&&typeof e==`object`?JSON.stringify(e):e,n)}catch{return}}function zT(e){let t=K();try{let n=new TextEncoder,{networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:a,networkRequestHeaders:o,networkResponseHeaders:s}=e.getOptions(),c={replay:e,textEncoder:n,networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:a,networkRequestHeaders:o,networkResponseHeaders:s};t&&t.on?t.on(`beforeAddBreadcrumb`,(e,t)=>BT(c,e,t)):(tu(nT(e)),bu(iT(e)))}catch{}}function BT(e,t,n){if(t.data)try{VT(t)&&UT(n)&&(NT(t,n,e),MT(t,n,e)),HT(t)&&WT(n)&&(yT(t,n,e),vT(t,n,e))}catch{rw&&B.warn(`Error when enriching network breadcrumb`)}}function VT(e){return e.category===`xhr`}function HT(e){return e.category===`fetch`}function UT(e){return e&&e.xhr}function WT(e){return e&&e.response}var GT=null;function KT(e){return!!e.category}var qT=e=>t=>{if(!e.isEnabled())return;let n=JT(t);n&&vC(e,n)};function JT(e){let t=e.getLastBreadcrumb&&e.getLastBreadcrumb();return GT===t||!t||(GT=t,!KT(t)||[`fetch`,`xhr`,`sentry.event`,`sentry.transaction`].includes(t.category)||t.category.startsWith(`ui.`))?null:t.category===`console`?YT(t):IC(t)}function YT(e){let t=e.data&&e.data.arguments;if(!Array.isArray(t)||t.length===0)return IC(e);let n=!1,r=t.map(e=>{if(!e)return e;if(typeof e==`string`)return e.length>Eb?(n=!0,`${e.slice(0,Eb)}…`):e;if(typeof e==`object`)try{let t=ku(e,7);return JSON.stringify(t).length>Eb?(n=!0,`${JSON.stringify(t,null,2).slice(0,Eb)}…`):t}catch{}return e});return IC({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:[`CONSOLE_ARG_TRUNCATED`]}}:{}}})}function XT(e){let t=Af(),n=K();t.addScopeListener(qT(e)),Wl(BC(e)),gu(Qw(e)),zT(e);let r=Yw(e,!ZT(n));n&&n.addEventProcessor?n.addEventProcessor(r):Vm(r),ZT(n)&&(n.on(`beforeSendEvent`,Ww(e)),n.on(`afterSendEvent`,Bw(e)),n.on(`createDsc`,t=>{let n=e.getSessionId();n&&e.isEnabled()&&e.recordingMode===`session`&&e.checkAndHandleExpiredSession()&&(t.replay_id=n)}),n.on(`startTransaction`,t=>{e.lastTransaction=t}),n.on(`finishTransaction`,t=>{e.lastTransaction=t}),n.on(`beforeSendFeedback`,(t,n)=>{let r=e.getSessionId();n&&n.includeReplay&&e.isEnabled()&&r&&t.contexts&&t.contexts.feedback&&(t.contexts.feedback.replay_id=r)}))}function ZT(e){return!!(e&&e.on)}async function QT(e){try{return Promise.all(Xw(e,[$T(mb.performance.memory)]))}catch{return[]}}function $T(e){let{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,i=Date.now()/1e3;return{type:`memory`,name:`memory`,start:i,end:i,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}
24function eE(e,t,n){let r,i,a,o=n&&n.maxWait?Math.max(n.maxWait,t):0;function s(){return c(),r=e(),r}function c(){i!==void 0&&clearTimeout(i),a!==void 0&&clearTimeout(a),i=a=void 0}function l(){return i!==void 0||a!==void 0?s():r}function u(){return i&&clearTimeout(i),i=setTimeout(s,t),o&&a===void 0&&(a=setTimeout(s,o)),r}return u.cancel=c,u.flush=l,u}function tE(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession()){rw&&B.warn(`[Replay] Received replay event after session expired.`);return}let i=r||!t;t=!0,e.clickDetector&&NC(e.clickDetector,n),e.addUpdate(()=>{if(e.recordingMode===`buffer`&&i&&e.setInitialState(),!jw(e,n,i))return!0;if(!i)return!1;if(rE(e,i),e.session&&e.session.previousSessionId)return!0;if(e.recordingMode===`buffer`&&e.session&&e.eventBuffer){let t=e.eventBuffer.getEarliestTimestamp();t&&(ow(`[Replay] Updating session start time to earliest event in buffer to ${new Date(t)}`,e.getOptions()._experiments.traceInternals),e.session.started=t,e.getOptions().stickySession&&Sw(e.session))}return e.recordingMode===`session`&&e.flush(),!0})}}function nE(e){let t=e.getOptions();return{type:Z.Custom,timestamp:Date.now(),data:{tag:`options`,payload:{shouldRecordCanvas:e.isRecordingCanvas(),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 rE(e,t){!t||!e.session||e.session.segmentId!==0||jw(e,nE(e),!1)}function iE(e,t,n,r){return W(Ed(e,Td(e),r,n),[[{type:`replay_event`},e],[{type:`replay_recording`,length:typeof t==`string`?new TextEncoder().encode(t).length:t.length},t]])}function aE({recordingData:e,headers:t}){let n,r=`${JSON.stringify(t)}
25`;if(typeof e==`string`)n=`${r}${e}`;else{let t=new TextEncoder().encode(r);n=new Uint8Array(t.length+e.length),n.set(t),n.set(e,t.length)}return n}async function oE({client:e,scope:t,replayId:n,event:r}){let i={event_id:n,integrations:typeof e._integrations==`object`&&e._integrations!==null&&!Array.isArray(e._integrations)?Object.keys(e._integrations):void 0};e.emit&&e.emit(`preprocessEvent`,r,i);let a=await Qd(e.getOptions(),r,i,t,e,ip());if(!a)return null;a.platform=a.platform||`javascript`;let o=e.getSdkMetadata&&e.getSdkMetadata(),{name:s,version:c}=o&&o.sdk||{};return a.sdk={...a.sdk,name:s||`sentry.javascript.unknown`,version:c||`0.0.0`},a}async function sE({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:i,session:a}){let o=aE({recordingData:e,headers:{segment_id:n}}),{urls:s,errorIds:c,traceIds:l,initialTimestamp:u}=r,d=K(),f=Af(),p=d&&d.getTransport(),m=d&&d.getDsn();if(!d||!p||!m||!a.sampled)return;let h={type:gb,replay_start_timestamp:u/1e3,timestamp:i/1e3,error_ids:c,trace_ids:l,urls:s,replay_id:t,segment_id:n,replay_type:a.sampled},g=await oE({scope:f,client:d,replayId:t,event:h});if(!g){d.recordDroppedEvent(`event_processor`,`replay`,h),ow("An event processor returned `null`, will not send event.");return}delete g.sdkProcessingMetadata;let _=iE(g,o,m,d.getOptions().tunnel),v;try{v=await p.send(_)}catch(e){let t=Error(_b);try{t.cause=e}catch{}throw t}if(!v)return v;if(typeof v.statusCode==`number`&&(v.statusCode<200||v.statusCode>=300))throw new cE(v.statusCode);let y=Md({},v);if(jd(y,`replay`))throw new lE(y);return v}var cE=class extends Error{constructor(e){super(`Transport returned status code ${e}`)}},lE=class extends Error{constructor(e){super(`Rate limit hit`),this.rateLimits=e}};async function uE(e,t={count:0,interval:Cb}){let{recordingData:n,options:r}=e;if(n.length)try{return await sE(e),!0}catch(n){if(n instanceof cE||n instanceof lE)throw n;if(gf(`Replays`,{_retryCount:t.count}),rw&&r._experiments&&r._experiments.captureExceptions&&df(n),t.count>=wb){let e=Error(`${_b} - max retries exceeded`);try{e.cause=n}catch{}throw e}return t.interval*=++t.count,new Promise((n,r)=>{setTimeout(async()=>{try{await uE(e,t),n(!0)}catch(e){r(e)}},t.interval)})}}var dE=`__THROTTLED`,fE=`__SKIPPED`;function pE(e,t,n){let r=new Map,i=e=>{let t=e-n;r.forEach((e,n)=>{n<t&&r.delete(n)})},a=()=>[...r.values()].reduce((e,t)=>
25e+t,0),o=!1;return(...n)=>{let s=Math.floor(Date.now()/1e3);if(i(s),a()>=t){let e=o;return o=!0,e?fE:dE}o=!1;let c=r.get(s)||0;return r.set(s,c+1),e(...n)}}var mE=class e{constructor({options:t,recordingOptions:n}){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:vb,sessionIdleExpire:yb},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=n,this._options=t,this._debouncedFlush=eE(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=pE((e,t)=>Mw(this,e,t),300,5);let{slowClickTimeout:r,slowClickIgnoreSelectors:i}=this.getOptions(),a=r?{threshold:Math.min(Db,r),timeout:r,scrollTimeout:Ob,ignoreSelector:i?i.join(`,`):``}:void 0;a&&(this.clickDetector=new OC(this,a))}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}initializeSampling(e){let{errorSampleRate:t,sessionSampleRate:n}=this._options;if(!(t<=0&&n<=0)){if(this._initializeSessionForSampling(e),!this.session){this._handleException(Error(`Unable to initialize and create session`));return}this.session.sampled!==!1&&(this.recordingMode=this.session.sampled===`buffer`&&this.session.segmentId===0?`buffer`:`session`,sw(`[Replay] Starting replay in ${this.recordingMode} mode`,this._options._experiments.traceInternals),this._initializeRecording())}}start(){if(this._isEnabled&&this.recordingMode===`session`)throw Error(`Replay recording is already in progress`);if(this._isEnabled&&this.recordingMode===`buffer`)throw Error("Replay buffering is in progress, call `flush()` to save the replay");sw(`[Replay] Starting replay in session mode`,this._options._experiments.traceInternals),this._updateUserActivity();let e=kw({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this._initializeRecording()}startBuffering(){if(this._isEnabled)throw Error(`Replay recording is already in progress`);sw(`[Replay] Starting replay in buffer mode`,this._options._experiments.traceInternals);let e=kw({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode=`buffer`,this._initializeRecording()}startRecording(){try{let e=this._canvas;this._stopRecording=dC({...this._recordingOptions,...this.recordingMode===`buffer`&&{checkoutEveryNms:Sb},emit:tE(this),onMutation:this._onMutationHandler,...e?{recordCanvas:e.recordCanvas,getCanvasManager:e.getCanvasManager,sampling:e.sampling,dataURLOptions:e.dataURLOptions}:{}})}catch(e){this._handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this._handleException(e),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(this._isEnabled){this._isEnabled=!1;try{ow(`[Replay] Stopping Replay${t?` triggered by ${t}`:``}`,this._options._experiments.traceInternals),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,vw(this)}catch(e){this._handleException(e)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),ow(`[Replay] Pausing replay`,this._options._experiments.traceInternals))}resume(){!this._isPaused||!this._checkSession()||(this._isPaused=!1,this.startRecording(),ow(`[Replay] Resuming replay`,this._options._experiments.traceInternals))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if(this.recordingMode===`session`)return this.flushImmediate();let t=Date.now();
25ow(`[Replay] Converting buffer to session`,this._options._experiments.traceInternals),await this.flushImmediate();let n=this.stopRecording();!e||!n||this.recordingMode!==`session`&&(this.recordingMode=`session`,this.session&&(this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording())}addUpdate(e){let t=e();this.recordingMode!==`buffer`&&t!==!0&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return this.recordingMode===`buffer`?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(){if(this._lastActivity&&Ew(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&this.session.sampled===`session`){this.pause();return}return!!this._checkSession()}setInitialState(){let e=`${mb.location.pathname}${mb.location.hash}${mb.location.search}`,t=`${mb.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){let n=this._throttledAddEvent(e,t);if(n===dE){let e=IC({category:`replay.throttled`});this.addUpdate(()=>!jw(this,{type:hC,timestamp:e.timestamp||0,data:{tag:`breadcrumb`,payload:e,metric:!0}}))}return n}getCurrentRoute(){let e=this.lastTransaction||Af().getTransaction(),t=(e&&Yd(e).data||{})[Rp];if(!(!e||!t||![`route`,`custom`].includes(t)))return Yd(e).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=mw({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_handleException(e){rw&&B.error(`[Replay]`,e),rw&&this._options._experiments&&this._options._experiments.captureExceptions&&df(e)}_initializeSessionForSampling(e){let t=this._options.errorSampleRate>0,n=kw({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=n}_checkSession(){if(!this.session)return!1;let e=this.session;return Ow(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})?(this._refreshSession(e),!1):!0}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:`refresh session`}),this.initializeSampling(e.id))}_addListeners(){try{mb.document.addEventListener(`visibilitychange`,this._handleVisibilityChange),mb.addEventListener(`blur`,this._handleWindowBlur),mb.addEventListener(`focus`,this._handleWindowFocus),mb.addEventListener(`keydown`,this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(XT(this),this._hasInitializedCoreListeners=!0)}catch(e){this._handleException(e)}this._performanceCleanupCallback=nw(this)}_removeListeners(){try{mb.document.removeEventListener(`visibilitychange`,this._handleVisibilityChange),mb.removeEventListener(`blur`,this._handleWindowBlur),mb.removeEventListener(`focus`,this._handleWindowFocus),mb.removeEventListener(`keydown`,this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this._handleException(e)}}__init(){this._handleVisibilityChange=()=>{mb.document.visibilityState===`visible`?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init2(){this._handleWindowBlur=()=>{let e=IC({category:`ui.blur`});
25this._doChangeToBackgroundTasks(e)}}__init3(){this._handleWindowFocus=()=>{let e=IC({category:`ui.focus`});this._doChangeToForegroundTasks(e)}}__init4(){this._handleKeyboardEvent=e=>{GC(this,e)}}_doChangeToBackgroundTasks(e){this.session&&(Dw(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush()))}_doChangeToForegroundTasks(e){if(this.session){if(!this.checkAndHandleExpiredSession()){ow(`[Replay] Document has become active, but session has expired`);return}e&&this._createCustomBreadcrumb(e)}}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{this.throttledAddEvent({type:Z.Custom,timestamp:e.timestamp||0,data:{tag:`breadcrumb`,payload:e}})})}_addPerformanceEntries(){let e=YC(this.performanceEntries).concat(this.replayPerformanceEntries);return this.performanceEntries=[],this.replayPerformanceEntries=[],Promise.all(Xw(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){let{session:e,eventBuffer:t}=this;if(!e||!t||e.segmentId)return;let n=t.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}
25_popEventContext(){let e={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(),e}async _runFlush(){let e=this.getSessionId();if(!this.session||!this.eventBuffer||!e){rw&&B.error(`[Replay] No session or eventBuffer found to flush.`);return}if(await this._addPerformanceEntries(),!(!this.eventBuffer||!this.eventBuffer.hasEvents)&&(await QT(this),this.eventBuffer&&e===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();let t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw Error(`Session is too long, not sending replay`);let n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession(),await uE({replayId:e,recordingData:await this.eventBuffer.finish(),segmentId:r,eventContext:n,session:this.session,options:this.getOptions(),timestamp:t})}catch(e){this._handleException(e),this.stop({reason:`sendReplay`});let t=K();t&&t.recordDroppedEvent(`send_error`,`replay`)}}__init5(){this._flush=async({force:e=!1}={})=>{if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession()){rw&&B.error(`[Replay] Attempting to finish replay event after session expired.`);return}if(!this.session)return;let t=this.session.started,n=Date.now()-t;this._debouncedFlush.cancel();let r=n<this._options.minReplayDuration,i=n>this._options.maxReplayDuration+5e3;if(r||i){ow(`[Replay] Session duration (${Math.floor(n/1e3)}s) is too ${r?`short`:`long`}, not sending replay.`,this._options._experiments.traceInternals),r&&this._debouncedFlush();return}let a=this.eventBuffer;if(a&&this.session.segmentId===0&&!a.hasCheckout&&ow(`[Replay] Flushing initial segment without checkout.`,this._options._experiments.traceInternals),!this._flushLock){this._flushLock=this._runFlush(),await this._flushLock,this._flushLock=void 0;return}try{await this._flushLock}catch(e){rw&&B.error(e)}finally{this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&Sw(this.session)}__init6(){this._onMutationHandler=e=>{let t=e.length,n=this._options.mutationLimit,r=this._options.mutationBreadcrumbLimit,i=n&&t>n;if(t>r||i){let e=IC({category:`replay.mutations`,data:{count:t,limit:i}});this._createCustomBreadcrumb(e)}return i?(this.stop({reason:`mutationLimit`,forceFlush:this.recordingMode===`session`}),!1):!0}}};function hE(e,t,n,r){let i=typeof r==`string`?r.split(`,`):[],a=[...e,...i,...t];return n!==void 0&&(typeof n==`string`&&a.push(`.${n}`),Zc(()=>{console.warn(`[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.`)})),a.join(`,`)}function gE({mask:e,unmask:t,block:n,unblock:r,ignore:i,blockClass:a,blockSelector:o,maskTextClass:s,maskTextSelector:c,ignoreClass:l}){let u={maskTextSelector:hE(e,[`.sentry-mask`,`[data-sentry-mask]`],s,c),unmaskTextSelector:hE(t,[`.sentry-unmask`,`[data-sentry-unmask]`]),blockSelector:hE(n,[`.sentry-block`,`[data-sentry-block]`,`base[href="/"]`],a,o),unblockSelector:hE(r,[`.sentry-unblock`,`[data-sentry-unblock]`]),ignoreSelector:hE(i,[`.sentry-ignore`,`[data-sentry-ignore]`,`input[type="file"]`],l)};return a instanceof RegExp&&(u.blockClass=a),s instanceof RegExp&&(u.maskTextClass=s),u}function _E({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:i,value:a}){return!r||i.unmaskTextSelector&&e.matches(i.unmaskTextSelector)?a:n.includes(t)||t===`value`&&e.tagName===`INPUT`&&[`submit`,`button`].includes(e.getAttribute(`type`)||``)?a.replace(/[\S]/g,`*`):a}var vE=`img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]`,yE=[`content-length`,`content-type`,`accept`],bE=!1,xE=(e=>new SE(e)),SE=class e{static __initStatic(){this.id=`Replay`}constructor({flushMinDelay:t=bb,flushMaxDelay:n=xb,minReplayDuration:r=Ab,maxReplayDuration:i=Mb,stickySession:a=!0,useCompression:o=!0,workerUrl:s,_experiments:c={},sessionSampleRate:l,errorSampleRate:u,maskAllText:d=!0,maskAllInputs:f=!0,blockAllMedia:p=!0,mutationBreadcrumbLimit:m=750,mutationLimit:h=1e4,slowClickTimeout:g=7e3,slowClickIgnoreSelectors:_=[],networkDetailAllowUrls:v=[],networkDetailDenyUrls:y=[],networkCaptureBodies:b=!0,networkRequestHeaders:x=[],networkResponseHeaders:S=[],mask:C=[],maskAttributes:ee=[`title`,`placeholder`],unmask:te=[],block:ne=[],unblock:re=[],ignore:ie=[],maskFn:w,beforeAddRecordingEvent:ae,beforeErrorSampling:oe,blockClass:T,blockSelector:se,maskInputOptions:ce,maskTextClass:le,maskTextSelector:E,ignoreClass:D}={}){this.name=e.id;let ue=gE({mask:C,unmask:te,block:ne,unblock:re,ignore:ie,blockClass:T,blockSelector:se,maskTextClass:le,maskTextSelector:E,ignoreClass:D});if(this._recordingOptions={maskAllInputs:f,maskAllText:d,maskInputOptions:{...ce||{},password:!0},maskTextFn:w,maskInputFn:w,maskAttributeFn:(e,t,n)=>_E({maskAttributes:ee,maskAllText:d,privacyOptions:ue,key:e,value:t,el:n}),...ue,slimDOMOptions:`all`,inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch{}}},this._initialOptions={flushMinDelay:t,flushMaxDelay:n,minReplayDuration:Math.min(r,jb),maxReplayDuration:Math.min(i,Mb),stickySession:a,sessionSampleRate:l,errorSampleRate:u,useCompression:o,workerUrl:s,blockAllMedia:p,maskAllInputs:f,maskAllText:d,mutationBreadcrumbLimit:m,mutationLimit:h,slowClickTimeout:g,slowClickIgnoreSelectors:_,networkDetailAllowUrls:v,networkDetailDenyUrls:y,networkCaptureBodies:b,networkRequestHeaders:wE(x),networkResponseHeaders:wE(S),beforeAddRecordingEvent:ae,beforeErrorSampling:oe,_experiments:c},typeof l==`number`&&(console.warn(`[Replay] You are passing \`sessionSampleRate\` to the Replay integration.
26This option is deprecated and will be removed soon.
27Instead, configure \`replaysSessionSampleRate\` directly in the SDK init options, e.g.:
28Sentry.init({ replaysSessionSampleRate: ${l} })`),this._initialOptions.sessionSampleRate=l),typeof u==`number`&&(console.warn(`[Replay] You are passing \`errorSampleRate\` to the Replay integration.
29This option is deprecated and will be removed soon.
30Instead, configure \`replaysOnErrorSampleRate\` directly in the SDK init options, e.g.:
31Sentry.init({ replaysOnErrorSampleRate: ${u} })`),this._initialOptions.errorSampleRate=u),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${vE}`:vE),this._isInitialized&&Eu())throw Error(`Multiple Sentry Session Replay instances are not supported`);this._isInitialized=!0}get _isInitialized(){return bE}set _isInitialized(e){bE=e}setupOnce(){Eu()&&(this._setup(),setTimeout(()=>this._initialize()))}start(){this._replay&&this._replay.start()}
31startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:this._replay.recordingMode===`session`}):Promise.resolve()}flush(e){return!this._replay||!this._replay.isEnabled()?Promise.resolve():this._replay.sendBufferedReplayOrFlush(e)}getReplayId(){if(!(!this._replay||!this._replay.isEnabled()))return this._replay.getSessionId()}_initialize(){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(),this._replay.initializeSampling())}_setup(){let e=CE(this._initialOptions);this._replay=new mE({options:e,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(){try{let e=K().getIntegrationByName(`ReplayCanvas`);if(!e)return;this._replay._canvas=e.getOptions()}catch{}}};SE.__initStatic();function CE(e){let t=K(),n=t&&t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...gl(e)};return n?(e.sessionSampleRate==null&&e.errorSampleRate==null&&n.replaysSessionSampleRate==null&&n.replaysOnErrorSampleRate==null&&Zc(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),typeof n.replaysSessionSampleRate==`number`&&(r.sessionSampleRate=n.replaysSessionSampleRate),typeof n.replaysOnErrorSampleRate==`number`&&(r.errorSampleRate=n.replaysOnErrorSampleRate),r):(Zc(()=>{console.warn(`SDK client is not available.`)}),r)}function wE(e){return[...yE,...e.map(e=>e.toLowerCase())]}function TE(){let e=K();return e&&e.getIntegrationByName&&e.getIntegrationByName(`Replay`)}var EE;(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`})(EE||(EE={}));function DE(e,t){for(let n=e.classList.length;n--;){let r=e.classList[n];if(t.test(r))return!0}return!1}function OE(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:OE(e.parentNode,t,n,r+1)}function kE(e,t){return n=>{let r=n;if(r===null)return!1;try{if(e){if(typeof e==`string`){if(r.matches(`.${e}`))return!0}else if(DE(r,e))return!0}return!!(t&&r.matches(t))}catch{return!1}}}var AE=`Please stop import mirror directly. Instead of that,\r
32now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
33or you can use record.mirror to access the mirror instance during recording.`,jE={map:{},getId(){return console.error(AE),-1},getNode(){return console.error(AE),null},removeNodeFromMap(){console.error(AE)},has(){return console.error(AE),!1},reset(){console.error(AE)}};typeof window<`u`&&window.Proxy&&window.Reflect&&(jE=new Proxy(jE,{get(e,t,n){return t===`map`&&console.error(AE),Reflect.get(e,t,n)}}));function ME(e,t,n,r,i=window){let a=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,r?n:{set(e){zE(()=>{n.set.call(this,e)},0),a&&a.set&&a.set.call(this,e)}}),()=>ME(e,t,a||{},!0)}function NE(e,t,n){try{if(!(t in e))return()=>{};let r=e[t],i=n(r);return typeof i==`function`&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,()=>{e[t]=r}}catch{return()=>{}}}/[1-9][0-9]{12}/.test(Date.now().toString());function PE(e){return e?e.nodeType===e.ELEMENT_NODE?e:e.parentElement:null}function FE(e,t,n,r,i){if(!e)return!1;let a=PE(e);if(!a)return!1;let o=kE(t,n);if(!i){let e=r&&a.matches(r);return o(a)&&!e}let s=OE(a,o),c=-1;return s<0?!1:(r&&(c=OE(a,kE(null,r))),s>-1&&c<0||s<c)}var IE={};function LE(e){let t=IE[e];if(t)return t;let n=window.document,r=window[e];if(n&&typeof n.createElement==`function`)try{let t=n.createElement(`iframe`);t.hidden=!0,n.head.appendChild(t);let i=t.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(t)}catch{}return IE[e]=r.bind(window)}function RE(...e){return LE(`requestAnimationFrame`)(...e)}function zE(...e){return LE(`setTimeout`)(...e)}var BE=(e=>(e[e[`2D`]=0]=`2D`,e[e.WebGL=1]=`WebGL`,e[e.WebGL2=2]=`WebGL2`,e))(BE||{}),VE;function HE(e){VE=e}for(var UE=e=>VE?((...t)=>{try{return e(...t)}catch(e){if(VE&&VE(e)===!0)return()=>{};throw e}}):e,WE=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
33+/`,GE=typeof Uint8Array>`u`?[]:new Uint8Array(256),KE=0;KE<WE.length;KE++)GE[WE.charCodeAt(KE)]=KE;var qE=function(e){var t=new Uint8Array(e),n,r=t.length,i=``;for(n=0;n<r;n+=3)i+=WE[t[n]>>2],i+=WE[(t[n]&3)<<4|t[n+1]>>4],i+=WE[(t[n+1]&15)<<2|t[n+2]>>6],i+=WE[t[n+2]&63];return r%3==2?i=i.substring(0,i.length-1)+`=`:r%3==1&&(i=i.substring(0,i.length-2)+`==`),i},JE=new Map;function YE(e,t){let n=JE.get(e);return n||(n=new Map,JE.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}var XE=(e,t,n)=>{if(!e||!($E(e,t)||typeof e==`object`))return;let r=e.constructor.name,i=YE(n,r),a=i.indexOf(e);return a===-1&&(a=i.length,i.push(e)),a};function ZE(e,t,n){if(e instanceof Array)return e.map(e=>ZE(e,t,n));if(e===null)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray)return{rr_type:e.constructor.name,args:[Object.values(e)]};if(e instanceof ArrayBuffer)return{rr_type:e.constructor.name,base64:qE(e)};if(e instanceof DataView)return{rr_type:e.constructor.name,args:[ZE(e.buffer,t,n),e.byteOffset,e.byteLength]};if(e instanceof HTMLImageElement){let t=e.constructor.name,{src:n}=e;return{rr_type:t,src:n}}else if(e instanceof HTMLCanvasElement)return{rr_type:`HTMLImageElement`,src:e.toDataURL()};else if(e instanceof ImageData)return{rr_type:e.constructor.name,args:[ZE(e.data,t,n),e.width,e.height]};else if($E(e,t)||typeof e==`object`)return{rr_type:e.constructor.name,index:XE(e,t,n)};return e}var QE=(e,t,n)=>e.map(e=>ZE(e,t,n)),$E=(e,t)=>!![`WebGLActiveInfo`,`WebGLBuffer`,`WebGLFramebuffer`,`WebGLProgram`,`WebGLRenderbuffer`,`WebGLShader`,`WebGLShaderPrecisionFormat`,`WebGLTexture`,`WebGLUniformLocation`,`WebGLVertexArrayObject`,`WebGLVertexArrayObjectOES`].filter(e=>typeof t[e]==`function`).find(n=>e instanceof t[n]);function eD(e,t,n,r,i){let a=[],o=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype);for(let s of o)try{if(typeof t.CanvasRenderingContext2D.prototype[s]!=`function`)continue;let o=NE(t.CanvasRenderingContext2D.prototype,s,function(a){return function(...o){return FE(this.canvas,n,r,i,!0)||zE(()=>{let n=QE(o,t,this);e(this.canvas,{type:BE[`2D`],property:s,args:n})},0),a.apply(this,o)}});a.push(o)}catch{let n=ME(t.CanvasRenderingContext2D.prototype,s,{set(t){e(this.canvas,{type:BE[`2D`],property:s,args:[t],setter:!0})}});a.push(n)}return()=>{a.forEach(e=>e())}}function tD(e){return e===`experimental-webgl`?`webgl`:e}function nD(e,t,n,r,i){let a=[];try{let o=NE(e.HTMLCanvasElement.prototype,`getContext`,function(e){return function(a,...o){if(!FE(this,t,n,r,!0)){let e=tD(a);if(`__context`in this||(this.__context=e),i&&[`webgl`,`webgl2`].includes(e))if(o[0]&&typeof o[0]==`object`){let e=o[0];e.preserveDrawingBuffer||(e.preserveDrawingBuffer=!0)}else o.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[a,...o])}});a.push(o)}catch{console.error(`failed to patch HTMLCanvasElement.prototype.getContext`)}return()=>{a.forEach(e=>e())}}function rD(e,t,n,r,i,a,o,s){let c=[],l=Object.getOwnPropertyNames(e);for(let o of l)if(![`isContextLost`,`canvas`,`drawingBufferWidth`,`drawingBufferHeight`].includes(o))try{if(typeof e[o]!=`function`)continue;let l=NE(e,o,function(e){return function(...c){let l=e.apply(this,c);if(XE(l,s,this),`tagName`in this.canvas&&!FE(this.canvas,r,i,a,!0)){let e=QE(c,s,this),r={type:t,property:o,args:e};n(this.canvas,r)}return l}});c.push(l)}catch{let r=ME(e,o,{set(e){n(this.canvas,{type:t,property:o,args:[e],setter:!0})}});c.push(r)}return c}function iD(e,t,n,r,i,a){let o=[];return o.push(...rD(t.WebGLRenderingContext.prototype,BE.WebGL,e,n,r,i,a,t)),t.WebGL2RenderingContext!==void 0&&o.push(...rD(t.WebGL2RenderingContext.prototype,BE.WebGL2,e,n,r,i,a,t)),()=>{o.forEach(e=>e())}}var aD=`for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t="undefined"==typeof Uint8Array?[]:new Uint8Array(256),a=0;a<64;a++)t[e.charCodeAt(a)]=a;var n=function(t){var a,n=new Uint8Array(t),r=n.length,s="";for(a=0;a<r;a+=3)s+=e[n[a]>>2],s+=e[(3&n[a])<<4|n[a+1]>>4],s+=e[(15&n[a+1])<<2|n[a+2]>>6],s+=e[63&n[a+2]];return r%3==2?s=s.substring(0,s.length-1)+"=":r%3==1&&(s=s.substring(0,s.length-2)+"=="),s};const r=new Map,s=new Map;const i=self;i.onmessage=async function(e){if(!("OffscreenCanvas"in globalThis))return i.postMessage({id:e.data.id});{const{id:t,bitmap:a,width:o,height:f,maxCanvasSize:c,dataURLOptions:g}=e.data,u=async function(e,t,a){const r=e+"-"+t;
33if("OffscreenCanvas"in globalThis){if(s.has(r))return s.get(r);const i=new OffscreenCanvas(e,t);i.getContext("2d");const o=await i.convertToBlob(a),f=await o.arrayBuffer(),c=n(f);return s.set(r,c),c}return""}(o,f,g),[h,d]=function(e,t,a){if(!a)return[e,t];const[n,r]=a;if(e<=n&&t<=r)return[e,t];let s=e,i=t;return s>n&&(i=Math.floor(n*t/e),s=n),i>r&&(s=Math.floor(r*e/t),i=r),[s,i]}(o,f,c),l=new OffscreenCanvas(h,d),w=l.getContext("bitmaprenderer"),p=h===o&&d===f?a:await createImageBitmap(a,{resizeWidth:h,resizeHeight:d,resizeQuality:"low"});w.transferFromImageBitmap(p),a.close();const y=await l.convertToBlob(g),v=y.type,b=await y.arrayBuffer(),m=n(b);if(p.close(),!r.has(t)&&await u===m)return r.set(t,m),i.postMessage({id:t});if(r.get(t)===m)return i.postMessage({id:t});i.postMessage({id:t,type:v,base64:m,width:o,height:f}),r.set(t,m)}};`;function oD(){let e=new Blob([aD]);return URL.createObjectURL(e)}var sD=class{reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=(e,t)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(t)};let{sampling:t=`all`,win:n,blockClass:r,blockSelector:i,unblockSelector:a,maxCanvasSize:o,recordCanvas:s,dataURLOptions:c,errorHandler:l}=e;this.mutationCb=e.mutationCb,this.mirror=e.mirror,this.options=e,l&&HE(l),!e.enableManualSnapshot&&UE(()=>{s&&t===`all`&&this.initCanvasMutationObserver(n,r,i,a),s&&typeof t==`number`&&this.initCanvasFPSObserver(t,n,r,i,a,o,{dataURLOptions:c})})()}initCanvasFPSObserver(e,t,n,r,i,a,o){let s=nD(t,n,r,i,!0),c=this.takeSnapshot(!1,e,t,n,r,i,a,o.dataURLOptions);this.resetObservers=()=>{s(),cancelAnimationFrame(c)}}initCanvasMutationObserver(e,t,n,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();let i=nD(e,t,n,r,!1),a=eD(this.processMutation.bind(this),e,t,n,r),o=iD(this.processMutation.bind(this),e,t,n,r,this.mirror);this.resetObservers=()=>{i(),a(),o()}}snapshot(e){let{options:t}=this,n=this.takeSnapshot(!0,t.sampling===`all`?2:t.sampling||2,t.win,t.blockClass,t.blockSelector,t.unblockSelector,t.maxCanvasSize,t.dataURLOptions,e);this.resetObservers=()=>{cancelAnimationFrame(n)}}takeSnapshot(e,t,n,r,i,a,o,s,c){let l=new Map,u=new Worker(oD());u.onmessage=e=>{let t=e.data,{id:n}=t;if(l.set(n,!1),!(`base64`in t))return;let{base64:r,type:i,width:a,height:o}=t;this.mutationCb({id:n,type:BE[`2D`],commands:[{property:`clearRect`,args:[0,0,a,o]},{property:`drawImage`,args:[{rr_type:`ImageBitmap`,args:[{rr_type:`Blob`,data:[{rr_type:`ArrayBuffer`,base64:r}],type:i}]},0,0,a,o]}]})};let d=1e3/t,f=0,p,m=e=>{if(e)return[e];let t=[];return n.document.querySelectorAll(`canvas`).forEach(e=>{FE(e,r,i,a,!0)||t.push(e)}),t},h=t=>{if(f&&t-f<d){p=RE(h);return}f=t,m(c).forEach(t=>{let n=this.mirror.getId(t);if(!l.get(n)&&!(!t.width||!t.height)){if(l.set(n,!0),!e&&[`webgl`,`webgl2`].includes(t.__context)){let e=t.getContext(t.__context);Id([e,`optionalAccess`,e=>e.getContextAttributes,`call`,e=>e(),`optionalAccess`,e=>e.preserveDrawingBuffer])===!1&&e.clear(e.COLOR_BUFFER_BIT)}createImageBitmap(t).then(e=>{u.postMessage({id:n,bitmap:e,width:t.width,height:t.height,dataURLOptions:s,maxCanvasSize:o},[e])}).catch(e=>{UE(()=>{throw e})()})}}),p=RE(h)};return p=RE(h),p}startPendingCanvasMutationFlusher(){RE(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){let e=t=>{this.rafStamps.latestId=t,RE(e)};RE(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((e,t)=>{let n=this.mirror.getId(t);this.flushPendingCanvasMutationFor(t,n)}),RE(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(e,t){if(this.frozen||this.locked)return;let n=this.pendingCanvasMutations.get(e);if(!n||t===-1)return;let r=n.map(e=>{let{type:t,...n}=e;return n}),{type:i}=n[0];this.mutationCb({id:t,type:i,commands:r}),this.pendingCanvasMutations.delete(e)}},cD={low:{sampling:{canvas:1},dataURLOptions:{type:`image/webp`,quality:.25}},medium:{sampling:{canvas:2},dataURLOptions:{type:`image/webp`,quality:.4}},high:{sampling:{canvas:4},dataURLOptions:{type:`image/webp`,quality:.5}}},lD=`ReplayCanvas`,uD=1280,dD=Sm(((e={})=>{let[t,n]=e.maxCanvasSize||[],r={quality:e.quality||`medium`,enableManualSnapshot:e.enableManualSnapshot,maxCanvasSize:[t?Math.min(t,uD):uD,n?Math.min(n,uD):uD]},i,a=new Promise(e=>i=e);return{name:lD,setupOnce(){},getOptions(){let{quality:e,enableManualSnapshot:t,maxCanvasSize:n}=r;return{enableManualSnapshot:t,recordCanvas:!0,getCanvasManager:e=>{let r=new sD({...e,enableManualSnapshot:t,maxCanvasSize:n,errorHandler:e=>{try{typeof e==`object`&&(e.__rrweb__=!0)}catch{}}});return i(r),r}
33,...cD[e||`medium`]||cD.medium}},async snapshot(e){(await a).snapshot(e)}}})),fD=xm(lD,dD),pD=z,mD=`#ffffff`,hD=`inherit`,gD=`rgba(108, 95, 199, 1)`,_D={fontFamily:`system-ui, 'Helvetica Neue', Arial, sans-serif`,fontSize:`14px`,background:mD,backgroundHover:`#f6f6f7`,foreground:`#2b2233`,border:`1.5px solid rgba(41, 35, 47, 0.13)`,borderRadius:`25px`,boxShadow:`0px 4px 24px 0px rgba(43, 34, 51, 0.12)`,success:`#268d75`,error:`#df3338`,submitBackground:`rgba(88, 74, 192, 1)`,submitBackgroundHover:gD,submitBorder:gD,submitOutlineFocus:`#29232f`,submitForeground:mD,submitForegroundHover:mD,cancelBackground:`transparent`,cancelBackgroundHover:`var(--background-hover)`,cancelBorder:`var(--border)`,cancelOutlineFocus:`var(--input-outline-focus)`,cancelForeground:`var(--foreground)`,cancelForegroundHover:`var(--foreground)`,inputBackground:hD,inputForeground:hD,inputBorder:`var(--border)`,inputOutlineFocus:gD,formBorderRadius:`20px`,formContentBorderRadius:`6px`},vD={light:_D,dark:{..._D,background:`#29232f`,backgroundHover:`#352f3b`,foreground:`#ebe6ef`,border:`1.5px solid rgba(235, 230, 239, 0.15)`,success:`#2da98c`,error:`#f55459`}},yD=`Report a Bug`,bD=`Cancel`,xD=`Send Bug Report`,SD=`Report a Bug`,CD=`[email protected]`,wD=`Email`,TD=`What's the bug? What did you expect?`,ED=`Description`,DD=`Your Name`,OD=`Name`,kD=`(required)`,AD=`Thank you for your report!`,jD=`widget`,MD=`api`;async function ND({client:e,scope:t,event:n}){let r={};e.emit&&e.emit(`preprocessEvent`,n,r);let i=await Qd(e.getOptions(),n,r,t,e,ip());return i===null?(e.recordDroppedEvent(`event_processor`,`feedback`,n),null):(i.platform=i.platform||`javascript`,i)}async function PD({feedback:{message:e,email:t,name:n,source:r,url:i}},{includeReplay:a=!0}={}){let o=K(),s=o&&o.getTransport(),c=o&&o.getDsn();if(!o||!s||!c)return;let l={contexts:{feedback:{contact_email:t,name:n,message:e,url:i,source:r}},type:`feedback`};return Sf(async e=>{e.clearBreadcrumbs(),[MD,jD].includes(String(r))&&e.setLevel(`info`);let t=await ND({scope:e,client:o,event:l});if(!t)return;o.emit&&o.emit(`beforeSendFeedback`,t,{includeReplay:!!a});let n=om(t,c,o.getOptions()._metadata,o.getOptions().tunnel),i;try{i=await s.send(n)}catch(e){let t=Error(`Unable to send Feedback`);try{t.cause=e}catch{}throw t}if(i){if(typeof i.statusCode==`number`&&(i.statusCode<200||i.statusCode>=300))throw Error(`Unable to send Feedback`);return i}})}function FD({name:e,email:t,message:n,source:r=MD,url:i=Wc()},a={}){if(!n)throw Error(`Unable to submit feedback with empty message`);return PD({feedback:{name:e,email:t,message:n,url:i,source:r}},a)}var ID=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__;function LD(e,t){return{...e,...t,themeDark:{...e.themeDark,...t.themeDark},themeLight:{...e.themeLight,...t.themeLight}}}function RD(e){let t=e.createElement(`style`);return t.textContent=`
34.widget__actor {
35  position: fixed;
36  left: var(--left);
37  right: var(--right);
38  bottom: var(--bottom);
39  top: var(--top);
40  z-index: var(--z-index);
41
42  line-height: 16px;
43
44  display: flex;
45  align-items: center;
46  gap: 8px;
47
48  border-radius: var(--border-radius);
49  cursor: pointer;
50  font-family: inherit;
51  font-size: var(--font-size);
52  font-weight: 600;
53  padding: 16px;
54  text-decoration: none;
55  z-index: 9000;
56
57  color: var(--foreground);
58  background-color: var(--background);
59  border: var(--border);
60  box-shadow: var(--box-shadow);
61  opacity: 1;
62  transition: opacity 0.1s ease-in-out;
63}
64
65.widget__actor:hover {
66  background-color: var(--background-hover);
67}
68
69.widget__actor svg {
70  width: 16px;
71  height: 16px;
72}
73
74.widget__actor--hidden {
75  opacity: 0;
76  pointer-events: none;
77  visibility: hidden;
78}
79
80.widget__actor__text {
81}
82
83@media (max-width: 600px) {
84  .widget__actor__text {
85    display: none;
86  }
87}
88
89.feedback-icon path {
90  fill: var(--foreground);
91}
92`,t}function zD(e){let t=e.createElement(`style`);return t.textContent=`
93.dialog {
94  line-height: 25px;
95  background-color: rgba(0, 0, 0, 0.05);
96  border: none;
97  position: fixed;
98  inset: 0;
99  z-index: 10000;
100  width: 100vw;
101  height: 100vh;
102  display: flex;
103  align-items: center;
104  justify-content: center;
105  opacity: 1;
106  transition: opacity 0.2s ease-in-out;
107}
108
109.dialog:not([open]) {
110  opacity: 0;
111  pointer-events: none;
112  visibility: hidden;
113}
114.dialog:not([open]) .dialog__content {
115  transform: translate(0, -16px) scale(0.98);
116}
117
118.dialog__content {
119  position: fixed;
120  left: var(--left);
121  right: var(--right);
122  bottom: var(--bottom);
123  top: var(--top);
124
125  border: var(--border);
126  border-radius: var(--form-border-radius);
127  background-color: var(--background);
128  color: var(--foreground);
129
130  width: 320px;
131  max-width: 100%;
132  max-height: calc(100% - 2rem);
133  display: flex;
134  flex-direction: column;
135  box-shadow: var(--box-shadow);
136  transition: transform 0.2s ease-in-out;
137  transform: translate(0, 0) scale(1);
138}
139
140.dialog__header {
141  display: flex;
142  align-items: center;
143  justify-content: space-between;
144  font-size: 20px;
145  font-weight: 600;
146  padding: 24px 24px 0 24px;
147  margin: 0;
148  margin-bottom: 16px;
149}
150
151.brand-link {
152  display: inline-flex;
153}
154
155.error {
156  color: var(--error);
157  margin-bottom: 16px;
158}
159
160.form {
161  display: grid;
162  overflow: auto;
163  flex-direction: column;
164  gap: 16px;
165  padding: 0 24px 24px;
166}
167
168.form__error-container {
169  color: var(--error);
170}
171
172.form__error-container--hidden {
173  display: none;
174}
175
176.form__label {
177  display: flex;
178  flex-direction: column;
179  gap: 4px;
180  margin: 0px;
181}
182
183.form__label__text {
184  display: grid;
185  gap: 4px;
186  align-items: center;
187  grid-auto-flow: column;
188  grid-auto-columns: max-content;
189}
190
191.form__label__text--required {
192  font-size: 0.85em;
193}
194
195.form__input {
196  line-height: inherit;
197  background-color: var(--input-background);
198  box-sizing: border-box;
199  border: var(--input-border);
200  border-radius: var(--form-content-border-radius);
201  color: var(--input-foreground);
202  font-family: inherit;
203  font-size: var(--font-size);
204  font-weight: 500;
205  padding: 6px 12px;
206}
207
208.form__input::placeholder {
209  color: var(--input-foreground);
210  opacity: 0.65;
211}
212
213.form__input:focus-visible {
214  outline: 1px auto var(--input-outline-focus);
215}
216
217.form__input--textarea {
218  font-family: inherit;
219  resize: vertical;
220}
221
222.btn-group {
223  display: grid;
224  gap: 8px;
225  margin-top: 8px;
226}
227
228.btn {
229  line-height: inherit;
230  border: var(--cancel-border);
231  border-radius: var(--form-content-border-radius);
232  cursor: pointer;
233  font-family: inherit;
234  font-size: var(--font-size);
235  font-weight: 600;
236  padding: 6px 16px;
237}
238.btn[disabled] {
239  opacity: 0.6;
240  pointer-events: none;
241}
242
243.btn--primary {
244  background-color: var(--submit-background);
245  border-color: var(--submit-border);
246  color: var(--submit-foreground);
247}
248.btn--primary:hover {
249  background-color: var(--submit-background-hover);
250  color: var(--submit-foreground-hover);
251}
252.btn--primary:focus-visible {
253  outline: 1px auto var(--submit-outline-focus);
254}
255
256.btn--default {
257  background-color: var(--cancel-background);
258  color: var(--cancel-foreground);
259  font-weight: 500;
260}
261.btn--default:hover {
262  background-color: var(--cancel-background-hover);
263  color: var(--cancel-foreground-hover);
264}
265.btn--default:focus-visible {
266  outline: 1px auto var(--cancel-outline-focus);
267}
268
269.success-message {
270  background-color: var(--background);
271  border: var(--border);
272  border-radius: var(--border-radius);
273  box-shadow: var(--box-shadow);
274  font-weight: 600;
275  color: var(--success);
276  padding: 12px 24px;
277  line-height: 25px;
278  display: grid;
279  align-items: center;
280  grid-auto-flow: column;
281  gap: 6px;
282  cursor: default;
283}
284
285.success-icon path {
286  fill: var(--success);
287}
288`,t}function BD(e){return`
289  --background: ${e.background};
290  --background-hover: ${e.backgroundHover};
291  --foreground: ${e.foreground};
292  --error: ${e.error};
293  --success: ${e.success};
294  --border: ${e.border};
295  --border-radius: ${e.borderRadius};
296  --box-shadow: ${e.boxShadow};
297
298  --submit-background: ${e.submitBackground};
299  --submit-background-hover: ${e.submitBackgroundHover};
300  --submit-border: ${e.submitBorder};
301  --submit-outline-focus: ${e.submitOutlineFocus};
302  --submit-foreground: ${e.submitForeground};
303  --submit-foreground-hover: ${e.submitForegroundHover};
304
305  --cancel-background: ${e.cancelBackground};
306  --cancel-background-hover: ${e.cancelBackgroundHover};
307  --cancel-border: ${e.cancelBorder};
308  --cancel-outline-focus: ${e.cancelOutlineFocus};
309  --cancel-foreground: ${e.cancelForeground};
310  --cancel-foreground-hover: ${e.cancelForegroundHover};
311
312  --input-background: ${e.inputBackground};
313  --input-foreground: ${e.inputForeground};
314  --input-border: ${e.inputBorder};
315  --input-outline-focus: ${e.inputOutlineFocus};
316
317  --form-border-radius: ${e.formBorderRadius};
318  --form-content-border-radius: ${e.formContentBorderRadius};
319  `}function VD(e,t,n){let r=e.createElement(`style`);return r.textContent=`
320:host {
321  --bottom: 1rem;
322  --right: 1rem;
323  --top: auto;
324  --left: auto;
325  --z-index: 100000;
326  --font-family: ${n.light.fontFamily};
327  --font-size: ${n.light.fontSize};
328
329  position: fixed;
330  left: var(--left);
331  right: var(--right);
332  bottom: var(--bottom);
333  top: var(--top);
334  z-index: var(--z-index);
335
336  font-family: var(--font-family);
337  font-size: var(--font-size);
338
339  ${BD(t===`dark`?n.dark:n.light)}
340}
341
342${t===`system`?`
343@media (prefers-color-scheme: dark) {
344  :host {
345    ${BD(n.dark)}
346  }
347}`:``}
348}`,r}function HD({id:e,colorScheme:t,themeDark:n,themeLight:r}){try{let i=pD.document,a=i.createElement(`div`);a.id=e;let o=a.attachShadow({mode:`open`});return o.appendChild(VD(i,t,{dark:n,light:r})),o.appendChild(zD(i)),{shadow:o,host:a}}catch{throw B.warn(`[Feedback] Browser does not support shadow DOM API`),Error(`Browser does not support shadow DOM API.`)}}async function UD(e,t,n){if(!e)return;let r=()=>{e&&e.showError(`There was a problem submitting feedback, please wait and try again.`)};e.hideError();try{return await FD({...t,source:jD},n)}catch(e){ID&&B.error(e),r()}}function WD(e,t){return Object.entries(t).forEach(([t,n])=>{e.setAttributeNS(null,t,n)}),e}var GD=20,KD=`http://www.w3.org/2000/svg`;function qD(){let e=e=>pD.document.createElementNS(KD,e),t=WD(e(`svg`),{class:`feedback-icon`,width:`${GD}`,height:`${GD}`,viewBox:`0 0 ${GD} ${GD}`,fill:`none`}),n=WD(e(`g`),{clipPath:`url(#clip0_57_80)`}),r=WD(e(`path`),{"fill-rule":`evenodd`,"clip-rule":`evenodd`,d:`M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.45
34856 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z`});t.appendChild(n).appendChild(r);let i=e(`defs`),a=WD(e(`clipPath`),{id:`clip0_57_80`}),o=WD(e(`rect`),{width:`${GD}`,height:`${GD}`,fill:`white`});return a.appendChild(o),i.appendChild(a),t.appendChild(i).appendChild(a).appendChild(o),{get el(){return t}}}function JD(e,t,...n){let r=pD.document.createElement(e);t&&Object.entries(t).forEach(([e,t])=>{e===`className`&&typeof t==`string`?r.setAttribute(`class`,t):typeof t==`boolean`&&t?r.setAttribute(e,``):typeof t==`string`?r.setAttribute(e,t):e.startsWith(`on`)&&typeof t==`function`&&r.addEventListener(e.substring(2).toLowerCase(),t)});for(let e of n)YD(r,e);return r}function YD(e,t){let n=pD.document;if(t!=null)if(Array.isArray(t))for(let n of t)YD(e,n);else t===!1||(typeof t==`string`?e.appendChild(n.createTextNode(t)):t instanceof Node?e.appendChild(t):e.appendChild(n.createTextNode(String(t))))}function XD({buttonLabel:e,onClick:t}){function n(e){t&&t(e)}let r=JD(`button`,{type:`button`,className:`widget__actor`,"aria-label":e,"aria-hidden":`false`},qD().el,e?JD(`span`,{className:`widget__actor__text`},e):null);return r.addEventListener(`click`,n),{get el(){return r},show:()=>{r.classList.remove(`widget__actor--hidden`),r.setAttribute(`aria-hidden`,`false`)},hide:()=>{r.classList.add(`widget__actor--hidden`),r.setAttribute(`aria-hidden`,`true`)}}}function ZD({label:e}){return{el:JD(`button`,{type:`submit`,className:`btn btn--primary`,"aria-label":e},e)}}function QD(e,t){let n=e.get(t);return typeof n==`string`?n.trim():``}function $D({nameLabel:e,namePlaceholder:t,emailLabel:n,emailPlaceholder:r,messageLabel:i,messagePlaceholder:a,isRequiredLabel:o,cancelButtonLabel:s,submitButtonLabel:c,showName:l,showEmail:u,isNameRequired:d,isEmailRequired:f,defaultName:p,defaultEmail:m,onCancel:h,onSubmit:g}){let{el:_}=ZD({label:c});function v(e){if(e.preventDefault(),e.target instanceof HTMLFormElement)try{if(g){let t=new FormData(e.target);g({name:QD(t,`name`),email:QD(t,`email`),message:QD(t,`message`)})}}catch{}}let y=JD(`div`,{className:`form__error-container form__error-container--hidden`,"aria-hidden":`true`});function b(e){y.textContent=e,y.classList.remove(`form__error-container--hidden`),y.setAttribute(`aria-hidden`,`false`)}function x(){y.textContent=``,y.classList.add(`form__error-container--hidden`),y.setAttribute(`aria-hidden`,`true`)}let S=JD(`input`,{id:`name`,type:l?`text`:`hidden`,"aria-hidden":l?`false`:`true`,name:`name`,required:d,className:`form__input`,placeholder:t,value:p}),C=JD(`input`,{id:`email`,type:u?`text`:`hidden`,"aria-hidden":u?`false`:`true`,name:`email`,required:f,className:`form__input`,placeholder:r,value:m}),ee=JD(`textarea`,{id:`message`,autoFocus:`true`,rows:`5`,name:`message`,required:!0,className:`form__input form__input--textarea`,placeholder:a}),te=JD(`button`,{type:`button`,className:`btn btn--default`,"aria-label":s,onClick:e=>{h&&h(e)}},s),ne=JD(`form`,{className:`form`,onSubmit:v},[y,l&&JD(`label`,{htmlFor:`name`,className:`form__label`},[JD(`span`,{className:`form__label__text`},e,d&&JD(`span`,{className:`form__label__text--required`},` ${o}`)),S]),!l&&S,u&&JD(`label`,{htmlFor:`email`,className:`form__label`},[JD(`span`,{className:`form__label__text`},n,f&&JD(`span`,{className:`form__label__text--required`},` ${o}`)),C]),!u&&C,JD(`label`,{htmlFor:`message`,className:`form__label`},[JD(`span`,{className:`form__label__text`},i,JD(`span`,{className:`form__label__text--required`},` ${o}`)),ee]),JD(`div`,{className:`btn-group`},[_,te])]);return{get el(){return ne},showError:b,hideError:x}}var eO=`http://www.w3.org/2000/svg`;function tO({colorScheme:e}){let t=e=>pD.document.createElementNS(eO,e),n=WD(t(`svg`),{class:`sentry-logo`,width:`32`,height:`30`,viewBox:`0 0 72 66`,fill:`none`}),r=WD(t(`path`),{transform:`translate(11, 11)`,d:`M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z`});n.append(r);let i=t(`defs`),a=t(`style`);return a.textContent=`
349    path {
350      fill: ${e===`dark`?`#fff`:`#362d59`};
351    }`,e===`system`&&(a.textContent+=`
352    @media (prefers-color-scheme: dark) {
353      path: {
354        fill: '#fff';
355      }
356    }
357    `),i.append(a),n.append(i),{get el(){return n}}}
357function nO({formTitle:e,showBranding:t,showName:n,showEmail:r,isNameRequired:i,isEmailRequired:a,colorScheme:o,defaultName:s,defaultEmail:c,onClosed:l,onCancel:u,onSubmit:d,...f}){let p=null;function m(){h(),l&&l()}function h(){p&&(p.open=!1)}function g(){p&&(p.open=!0)}function _(){return p&&p.open===!0||!1}let{el:v,showError:y,hideError:b}=$D({showEmail:r,showName:n,isEmailRequired:a,isNameRequired:i,defaultName:s,defaultEmail:c,onSubmit:d,onCancel:u,...f});return p=JD(`dialog`,{className:`dialog`,open:!0,onClick:m},JD(`div`,{className:`dialog__content`,onClick:e=>{e.stopPropagation()}},JD(`h2`,{className:`dialog__header`},e,t&&JD(`a`,{className:`brand-link`,target:`_blank`,href:`https://sentry.io/welcome/`,title:`Powered by Sentry`,rel:`noopener noreferrer`},tO({colorScheme:o}).el)),v)),{get el(){return p},showError:y,hideError:b,open:g,close:h,checkIsOpen:_}}var rO=16,iO=17,aO=`http://www.w3.org/2000/svg`;function oO(){let e=e=>pD.document.createElementNS(aO,e),t=WD(e(`svg`),{class:`success-icon`,width:`${rO}`,height:`${iO}`,viewBox:`0 0 ${rO} ${iO}`,fill:`none`}),n=WD(e(`g`),{clipPath:`url(#clip0_57_156)`}),r=WD(e(`path`),{"fill-rule":`evenodd`,"clip-rule":`evenodd`,d:`M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z`}),i=WD(e(`path`),{d:`M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173 10.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z`});t.appendChild(n).append(i,r);let a=e(`defs`),o=WD(e(`clipPath`),{id:`clip0_57_156`}),s=WD(e(`rect`),{width:`${rO}`,height:`${rO}`,fill:`white`,transform:`translate(0 0.5)`});return o.appendChild(s),a.appendChild(o),t.appendChild(a).appendChild(o).appendChild(s),{get el(){return t}}}function sO({message:e,onRemove:t}){function n(){r&&(r.remove(),t&&t())}let r=JD(`div`,{className:`success-message`,onClick:n},oO().el,e);return{el:r,remove:n}}function cO({shadow:e,options:{shouldCreateActor:t=!0,...n},attachTo:r}){let i,a,o=!1;function s(){if(e)try{let t=sO({message:n.successMessageText,onRemove:()=>{r&&clearTimeout(r),u()}});if(!t.el)throw Error(`Unable to show success message`);e.appendChild(t.el);let r=setTimeout(()=>{t&&t.remove()},5e3)}catch(e){B.error(e)}}async function c(e){if(!a)return;let t=[];if(n.isNameRequired&&!e.name&&t.push(n.nameLabel),n.isEmailRequired&&!e.email&&t.push(n.emailLabel),e.message||t.push(n.messageLabel),t.length>0){a.showError(`Please enter in the following required fields: ${t.join(`, `)}`);return}if(!await UD(a,e)){n.onSubmitError&&n.onSubmitError();return}h(),s(),n.onSubmitSuccess&&n.onSubmitSuccess()}function l(){let e=K(),t=e&&e.getIntegrationByName&&e.getIntegrationByName(`Replay`);t&&t.flush().catch(e=>{ID&&B.error(e)})}function u(){i&&i.show()}function d(){i&&i.hide()}function f(){i&&i.el&&i.el.remove()}function p(){try{if(a){a.open(),o=!0,n.onFormOpen&&n.onFormOpen(),l();return}let t=n.useSentryUser,r=Af(),i=r&&r.getUser();if(a=nO({colorScheme:n.colorScheme,showBranding:n.showBranding,showName:n.showName||n.isNameRequired,showEmail
357:n.showEmail||n.isEmailRequired,isNameRequired:n.isNameRequired,isEmailRequired:n.isEmailRequired,formTitle:n.formTitle,cancelButtonLabel:n.cancelButtonLabel,submitButtonLabel:n.submitButtonLabel,emailLabel:n.emailLabel,emailPlaceholder:n.emailPlaceholder,messageLabel:n.messageLabel,messagePlaceholder:n.messagePlaceholder,nameLabel:n.nameLabel,namePlaceholder:n.namePlaceholder,isRequiredLabel:n.isRequiredLabel,defaultName:t&&i&&i[t.name]||``,defaultEmail:t&&i&&i[t.email]||``,onClosed:()=>{u(),o=!1,n.onFormClose&&n.onFormClose()},onCancel:()=>{m(),u()},onSubmit:c}),!a.el)throw Error(`Unable to open Feedback dialog`);e.appendChild(a.el),d(),n.onFormOpen&&n.onFormOpen(),l()}catch(e){B.error(e)}}function m(){a&&(a.close(),o=!1,n.onFormClose&&n.onFormClose())}function h(){if(a){m();let e=a.el;e&&e.remove(),a=void 0}}function g(){o||p(),d()}return r?r.addEventListener(`click`,g):t&&(i=XD({buttonLabel:n.buttonLabel,onClick:g}),i.el&&e.appendChild(i.el)),{get actor(){return i},get dialog(){return a},showActor:u,hideActor:d,removeActor:f,openDialog:p,closeDialog:m,removeDialog:h}}var lO=pD.document,uO=(e=>new dO(e)),dO=class e{static __initStatic(){this.id=`Feedback`}constructor({autoInject:t=!0,id:n=`sentry-feedback`,isEmailRequired:r=!1,isNameRequired:i=!1,showBranding:a=!0,showEmail:o=!0,showName:s=!0,useSentryUser:c={email:`email`,name:`username`},themeDark:l,themeLight:u,colorScheme:d=`system`,buttonLabel:f=yD,cancelButtonLabel:p=bD,submitButtonLabel:m=xD,formTitle:h=SD,emailPlaceholder:g=CD,emailLabel:_=wD,messagePlaceholder:v=TD,messageLabel:y=ED,namePlaceholder:b=DD,nameLabel:x=OD,isRequiredLabel:S=kD,successMessageText:C=AD,onFormClose:ee,onFormOpen:te,onSubmitError:ne,onSubmitSuccess:re}={}){this.name=e.id,this._host=null,this._shadow=null,this._widget=null,this._widgets=new Set,this._hasInsertedActorStyles=!1,this.options={autoInject:t,showBranding:a,id:n,isEmailRequired:r,isNameRequired:i,showEmail:o,showName:s,useSentryUser:c,colorScheme:d,themeDark:{...vD.dark,...l},themeLight:{...vD.light,...u},buttonLabel:f,cancelButtonLabel:p,submitButtonLabel:m,formTitle:h,emailLabel:_,emailPlaceholder:g,messageLabel:y,messagePlaceholder:v,nameLabel:x,namePlaceholder:b,isRequiredLabel:S,successMessageText:C,onFormClose:ee,onFormOpen:te,onSubmitError:ne,onSubmitSuccess:re}}setupOnce(){if(Eu())try{this._cleanupWidgetIfExists();let{autoInject:e}=this.options;if(!e)return;this._createWidget(this.options)}catch(e){ID&&B.error(e)}}openDialog(){this._widget||this._createWidget({...this.options,shouldCreateActor:!1}),this._widget&&this._widget.openDialog()}closeDialog(){this._widget&&this._widget.closeDialog()}attachTo(e,t){try{let n=LD(this.options,t||{});return this._ensureShadowHost(n,({shadow:t})=>{let r=typeof e==`string`?lO.querySelector(e):typeof e.addEventListener==`function`?e:null;if(!r)return ID&&B.error(`[Feedback] Unable to attach to target element`),null;let i=cO({shadow:t,options:n,attachTo:r});return this._widgets.add(i),this._widget||(this._widget=i),i})}catch(e){return ID&&B.error(e),null}}createWidget(e){try{return this._createWidget(LD(this.options,e||{}))}catch(e){return ID&&B.error(e),null}}removeWidget(e){if(!e)return!1;try{if(this._widgets.has(e))return e.removeActor(),e.removeDialog(),this._widgets.delete(e),this._widget===e&&(this._widget=null),!0}catch(e){ID&&B.error(e)}return!1}getWidget(){return this._widget}remove(){this._host&&this._host.remove(),this._initialize()}_initialize(){this._host=null,this._shadow=null,this._widget=null,this._widgets=new Set,this._hasInsertedActorStyles=!1}_cleanupWidgetIfExists(){this._host&&this.remove();let e=lO.querySelector(`#${this.options.id}`);e&&e.remove()}_createWidget(e){return this._ensureShadowHost(e,({shadow:t})=>{let n=cO({shadow:t,options:e});return!this._hasInsertedActorStyles&&n.actor&&(t.appendChild(RD(lO)),this._hasInsertedActorStyles=!0),this._widgets.add(n),this._widget||(this._widget=n),n})}_ensureShadowHost(e,t){let n=!1;if(!this._shadow||!this._host){let{id:t,colorScheme:r,themeLight:i,themeDark:a}=e,{shadow:o,host:s}=HD({id:t,colorScheme:r,themeLight:i,themeDark:a});this._shadow=o,this._host=s,n=!0}this._host.dataset.sentryFeedbackColorscheme=e.colorScheme;let r=t({shadow:this._shadow,host:this._host});return n&&lO.body.appendChild(this._host),r}};dO.__initStatic();var fO=`CaptureConsole`,pO=Sm(((e={})=>{let t=e.levels||Yc;return{name:fO,setupOnce(){},setup(e){`console`in z&&Ml(({args:n,level:r})=>{K()!==e||!t.includes(r)||mO(n,r)})}}}));xm(fO,pO);function mO(e,t){let n={level:Zu(t),extra:{arguments:e}};Sf(r=>{if(r.addEventProcessor(e=>(e.logger=`console`,Fl(e,{handled:!1,type:`console`}),e)),t===`assert`&&e[0]===!1){let t=`Assertion failed: ${kc(e.slice(1),` `)||`console.assert`}`;r.setExtra(`arguments`,e.slice(1)),ff(t,n);return}let i=e.find(e=>e instanceof Error);if(t===`error`&&i){df(i,n);return}ff(kc(e,` `),n)})}var hO=`Debug`,gO=Sm(((e={})=>{let t={debugger:!1,stringify:!1,...e};return{name:hO,setupOnce(){},setup(e){e.on&&e.on(`beforeSendEvent`,(e,n)=>{if(t.debugger)debugger;Zc(()=>{t.stringify?(console.log(JSON.stringify(e,null,2)),n&&Object.keys(n).length&&console.log(JSON.stringify(n,null,2))):(console.log(e),n&&Object.keys(n).length&&console.log(n))})})}}}));xm(hO,gO);var _O=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,vO=`Dedupe`,yO=Sm((()=>{let e;return{name:vO,setupOnce(){},processEvent(t){if(t.type)return t;try{if(bO(t,e))return _O&&B.warn(`Event dropped due to being a duplicate of previously captured event.`),null}catch{}return e=t}}}));xm(vO,yO);function bO(e,t){return t?!!(xO(e,t)||SO(e,t)):!1}function xO(e,t){let n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!wO(e,t)||!CO(e,t))}function SO(e,t){let n=TO(t),r=TO(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!wO(e,t)||!CO(e,t))}function CO(e,t){let n=EO(e),r=EO(t);if(!n&&!r)return!0;
357if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function wO(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join(``)===r.join(``)}catch{return!1}}function TO(e){return e.exception&&e.exception.values&&e.exception.values[0]}function EO(e){let t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch{return}}var DO=`ExtraErrorData`,OO=Sm(((e={})=>{let t=e.depth||3,n=e.captureErrorCause||!1;return{name:DO,setupOnce(){},processEvent(e,r){return kO(e,r,t,n)}}}));xm(DO,OO);function kO(e,t={},n,r){if(!t.originalException||!uc(t.originalException))return e;let i=t.originalException.name||t.originalException.constructor.name,a=AO(t.originalException,r);if(a){let t={...e.contexts},r=ku(a,n);return vc(r)&&(cl(r,`__sentry_skip_normalization__`,!0),t[i]=r),{...e,contexts:t}}return e}function AO(e,t){try{let n=[`name`,`message`,`stack`,`line`,`column`,`fileName`,`lineNumber`,`columnNumber`,`toJSON`],r={};for(let t of Object.keys(e)){if(n.indexOf(t)!==-1)continue;let i=e[t];r[t]=uc(i)?i.toString():i}if(t&&e.cause!==void 0&&(r.cause=uc(e.cause)?e.cause.toString():e.cause),typeof e.toJSON==`function`){let t=e.toJSON();for(let e of Object.keys(t)){let n=t[e];r[e]=uc(n)?n.toString():n}}return r}catch(e){_O&&B.error(`Unable to extract extra data from the Error object:`,e)}return null}var jO=z,MO=`ReportingObserver`,NO=new WeakMap,PO=Sm(((e={})=>{let t=e.types||[`crash`,`deprecation`,`intervention`];function n(e){if(NO.has(K()))for(let t of e)Sf(e=>{e.setExtra(`url`,t.url);let n=`ReportingObserver [${t.type}]`,r=`No details available`;if(t.body){let n={};for(let e in t.body)n[e]=t.body[e];if(e.setExtra(`body`,n),t.type===`crash`){let e=t.body;r=[e.crashId||``,e.reason||``].join(` `).trim()||r}else r=t.body.message||r}ff(`${n}: ${r}`)})}return{name:MO,setupOnce(){eu()&&new jO.ReportingObserver(n,{buffered:!0,types:t}).observe()},setup(e){NO.set(e,!0)}}}));xm(MO,PO);var FO=`RewriteFrames`,IO=Sm(((e={})=>{let t=e.root,n=e.prefix||`app:///`,r=e.iteratee||(e=>{if(!e.filename)return e;let r=/^[a-zA-Z]:\\/.test(e.filename)||e.filename.includes(`\\`)&&!e.filename.includes(`/`),i=/^\//.test(e.filename);if(r||i){let i=r?e.filename.replace(/^[a-zA-Z]:/,``).replace(/\\/g,`/`):e.filename,a=t?Vu(t,i):Hu(i);e.filename=`${n}${a}`}return e});function i(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>({...e,...e.stacktrace&&{stacktrace:a(e.stacktrace)}}))}}}catch{return e}}function a(e){return{...e,frames:e&&e.frames&&e.frames.map(e=>r(e))}}return{name:FO,setupOnce(){},processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=i(t)),t}}}));xm(FO,IO);var LO=`SessionTiming`,RO=Sm((()=>{let e=Date.now();return{name:LO,setupOnce(){},processEvent(t){let n=Date.now();return{...t,extra:{...t.extra,"session:start":e,"session:duration":n-e,"session:end":n}}}}}));xm(LO,RO);var zO=`HttpClient`,BO=Sm(((e={})=>{let t={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:zO,setupOnce(){},setup(e){YO(e,t),XO(e,t)}}}));xm(zO,BO);function VO(e,t,n,r){if(ZO(e,n.status,n.url)){let e=$O(t,r),i,a,o,s;ek()&&([{headers:i,cookies:o},{headers:a,cookies:s}]=[{cookieHeader:`Cookie`,obj:e},{cookieHeader:`Set-Cookie`,obj:n}].map(({cookieHeader:e,obj:t})=>{let n=GO(t.headers),r;try{let t=n[e]||n[e.toLowerCase()]||void 0;t&&(r=WO(t))}catch{_O&&B.log(`Could not extract cookies from header ${e}`)}return{headers:n,cookies:r}})),pf(QO({url:e.url,method:e.method,status:n.status,requestHeaders:i,responseHeaders:a,requestCookies:o,responseCookies:s}))}}function HO(e,t,n,r){if(ZO(e,t.status,t.responseURL)){let e,i,a;if(ek()){try{let e=t.getResponseHeader(`Set-Cookie`)||t.getResponseHeader(`set-cookie`)||void 0;e&&(i=WO(e))}catch{_O&&B.log(`Could not extract cookies from response headers`)}try{a=KO(t)}catch{_O&&B.log(`Could not extract headers from response`)}e=r}pf(QO({url:t.responseURL,method:n,status:t.status,requestHeaders:e,responseHeaders:a,responseCookies:i}
357))}}function UO(e){if(e){let t=e[`Content-Length`]||e[`content-length`];if(t)return parseInt(t,10)}}function WO(e){return e.split(`; `).reduce((e,t)=>{let[n,r]=t.split(`=`);return e[n]=r,e},{})}function GO(e){let t={};return e.forEach((e,n)=>{t[n]=e}),t}function KO(e){let t=e.getAllResponseHeaders();return t?t.split(`\r
358`).reduce((e,t)=>{let[n,r]=t.split(`: `);return e[n]=r,e},{}):{}}function qO(e,t){return e.some(e=>typeof e==`string`?t.includes(e):e.test(t))}function JO(e,t){return e.some(e=>typeof e==`number`?e===t:t>=e[0]&&t<=e[1])}function YO(e,t){$l()&&tu(n=>{if(K()!==e)return;let{response:r,args:i}=n,[a,o]=i;r&&VO(t,a,r,o)})}function XO(e,t){`XMLHttpRequest`in z&&bu(n=>{if(K()!==e)return;let r=n.xhr,i=r[yu];if(!i)return;let{method:a,request_headers:o}=i;try{HO(t,r,a,o)}catch(e){_O&&B.warn(`Error while extracting response event form XHR response`,e)}})}function ZO(e,t,n){return JO(e.failedRequestStatusCodes,t)&&qO(e.failedRequestTargets,n)&&!ah(n,K())}function QO(e){let t=`HTTP Client Error with status code: ${e.status}`,n={message:t,exception:{values:[{type:`Error`,value:t}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:UO(e.responseHeaders)}}};return Fl(n,{type:`http.client`,handled:!1}),n}function $O(e,t){return!t&&e instanceof Request||e instanceof Request&&e.bodyUsed?e:new Request(e,t)}function ek(){let e=K();return e?!!e.getOptions().sendDefaultPii:!1}var tk=z,nk=7,rk=`ContextLines`,ik=Sm(((e={})=>{let t=e.frameContextLines==null?nk:e.frameContextLines;return{name:rk,setupOnce(){},processEvent(e){return ak(e,t)}}}));xm(rk,ik);function ak(e,t){let n=tk.document,r=tk.location&&Yu(tk.location.href);if(!n||!r)return e;let i=e.exception&&e.exception.values;if(!i||!i.length)return e;let a=n.documentElement.innerHTML;if(!a)return e;let o=[`<!DOCTYPE html>`,`<html>`,...a.split(`
359`),`</html>`];return i.forEach(e=>{let n=e.stacktrace;n&&n.frames&&(n.frames=n.frames.map(e=>ok(e,o,r,t)))}),e}function ok(e,t,n,r){return e.filename!==n||!e.lineno||!t.length||Il(t,e,r),e}function sk(e){return new Promise((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)})}function ck(e,t){let n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);let r=sk(n);return e=>r.then(n=>e(n.transaction(t,`readwrite`).objectStore(t)))}function lk(e){return sk(e.getAllKeys())}function uk(e,t,n){return e(e=>lk(e).then(r=>{if(!(r.length>=n))return e.put(t,Math.max(...r,0)+1),sk(e.transaction)}))}function dk(e){return e(e=>lk(e).then(t=>{if(t.length!==0)return sk(e.get(t[0])).then(n=>(e.delete(t[0]),sk(e.transaction).then(()=>n)))}))}function fk(e){let t;function n(){return t??(t=ck(e.dbName||`sentry-offline`,e.storeName||`queue`)),t}return{insert:async t=>{try{let r=await yd(t,e.textEncoder);await uk(n(),r,e.maxQueueSize||30)}catch{}},pop:async()=>{try{let t=await dk(n());if(t)return xd(t,e.textEncoder||new TextEncoder,e.textDecoder||new TextDecoder)}catch{}}}}function pk(e){return t=>e({...t,createStore:fk})}function mk(e){return pk(Qm(e))}var hk=1e6,gk=`0`,_k=`main`,vk=``,yk=``,bk=``,xk=Y.navigator&&Y.navigator.userAgent||``,Sk=``,Ck=Y.navigator&&Y.navigator.language||Y.navigator&&Y.navigator.languages&&Y.navigator.languages[0]||``;function wk(e){return typeof e==`object`&&!!e&&`getHighEntropyValues`in e}var Tk=Y.navigator&&Y.navigator.userAgentData;wk(Tk)&&Tk.getHighEntropyValues([`architecture`,`model`,`platform`,`platformVersion`,`fullVersionList`]).then(e=>{if(vk=e.platform||``,bk=e.architecture||``,Sk=e.model||``,yk=e.platformVersion||``,e.fullVersionList&&e.fullVersionList.length>0){let t=e.fullVersionList[e.fullVersionList.length-1];xk=`${t.brand} ${t.version}`}}).catch(e=>void 0);function Ek(e){return!(`thread_metadata`in e)}function Dk(e){return Ek(e)?jk(e):e}function Ok(e){let t=e&&e.contexts&&e.contexts.trace&&e.contexts.trace.trace_id;return typeof t==`string`&&t.length!==32&&X&&B.log(`[Profiling] Invalid traceId: ${t} on profiled event`),typeof t==`string`?t:``}function kk(e,t,n,r){if(r.type!==`transaction`)throw TypeError(`Profiling events may only be attached to transactions, this should never occur.`);if(n==null)throw TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${n} instead.`);let i=Ok(r),a=Dk(n),o=t||(typeof r.start_timestamp==`number`?r.start_timestamp*1e3:Date.now()),s=typeof r.timestamp==`number`?r.timestamp*1e3:Date.now();return{event_id:e,timestamp:new Date(o).toISOString(),platform:`javascript`,version:`1`,release:r.release||``,environment:r.environment||`production`,runtime:{name:`javascript`,version:Y.navigator.userAgent},os:{name:vk,version:yk,build_number:xk},device:{locale:Ck,model:Sk,manufacturer:xk,architecture:bk,is_emulator:!1},debug_meta:{images:Fk(n.resources)},profile:a,transactions:[{name:r.transaction||``,id:r.event_id||V(),trace_id:i,active_thread_id:gk,relative_start_ns:`0`,relative_end_ns:((s-o)*1e6).toFixed(0)}]}}function Ak(e){return e.op===`pageload`}function jk(e){let t,n=0,r={samples:[],stacks:[],frames:[],thread_metadata:{[gk]:{name:_k}}};if(!e.samples.length)return r;let i=e.samples[0].timestamp,a=typeof performance.timeOrigin==`number`?performance.timeOrigin:nd||0,o=a-(nd||a);for(let a=0;a<e.samples.length;a++){let s=e.samples[a];if(s.stackId===void 0){t===void 0&&(t=n,r.stacks[t]=[],n++),r.samples[a]={elapsed_since_start_ns:((s.timestamp+o-i)*hk).toFixed(0),stack_id:t,thread_id:gk};continue}let c=e.stacks[s.stackId],l=[];for(;c;){l.push(c.frameId);let t=e.frames[c.frameId];r.frames[c.frameId]===void 0&&(r.frames[c.frameId]={function:t.name,abs_path:typeof t.resourceId==`number`?e.resources[t.resourceId]:void 0,lineno:t.line,colno:t.column}),c=c.parentId===void 0?void 0:e.stacks[c.parentId]}let u={elapsed_since_start_ns:((s.timestamp+o-i)*hk).toFixed(0),stack_id:n,thread_id:gk};r.stacks[n]=l,r.samples[a]=u,n++}return r}function Mk(e,t){if(!t.length)return e;for(let n of t)e[1].push([{type:`profile`},n]);return e}function Nk(e){let t=[];return gd(e,(e,n)=>{if(n===`transaction`)for(let n=1;n<e.length;n++){let r=e[n];r&&r.contexts&&r.contexts.profile&&r.contexts.profile.profile_id&&t.pu
359sh(e[n])}}),t}var Pk=new WeakMap;function Fk(e){let t=z._sentryDebugIds;if(!t)return[];let n=K(),r=n&&n.getOptions(),i=r&&r.stackParser;if(!i)return[];let a,o=Pk.get(i);o?a=o:(a=new Map,Pk.set(i,a));let s=Object.keys(t).reduce((e,n)=>{let r,o=a.get(n);o?r=o:(r=i(n),a.set(n,r));for(let i=r.length-1;i>=0;i--){let a=r[i],o=a&&a.filename;if(a&&o){e[o]=t[n];break}}return e},{}),c=[];for(let t of e)t&&s[t]&&c.push({type:`sourcemap`,code_file:t,debug_id:s[t]});return c}function Ik(e){return typeof e!=`number`&&typeof e!=`boolean`||typeof e==`number`&&isNaN(e)?(X&&B.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):e===!0||e===!1?!0:e<0||e>1?(X&&B.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function Lk(e){return e.samples.length<2?(X&&B.log(`[Profiling] Discarding profile because it contains less than 2 samples`),!1):e.frames.length?!0:(X&&B.log(`[Profiling] Discarding profile because it contains no frames`),!1)}var Rk=!1,zk=3e4;function Bk(e){return typeof e==`function`}function Vk(){let e=Y.Profiler;if(!Bk(e)){X&&B.log(`[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object.`);return}let t=Math.floor(zk/10);try{return new e({sampleInterval:10,maxBufferSize:t})}catch{X&&(B.log(`[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header.`),B.log(`[Profiling] Disabling profiling for current user session.`)),Rk=!0}}function Hk(e){if(Rk)return X&&B.log(`[Profiling] Profiling has been disabled for the duration of the current user session.`),!1;if(!e.isRecording())return X&&B.log(`[Profiling] Discarding profile because transaction was not sampled.`),!1;let t=K(),n=t&&t.getOptions();if(!n)return X&&B.log(`[Profiling] Profiling disabled, no options found.`),!1;let r=n.profilesSampleRate;return Ik(r)?r?r===!0||Math.random()<r?!0:(X&&B.log(`[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ${Number(r)})`),!1):(X&&B.log(`[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0`),!1):(X&&B.warn(`[Profiling] Discarding profile because of invalid sample rate.`),!1)}function Uk(e,t,n,r){return Lk(n)?kk(e,t,n,r):null}var Wk=new Map;function Gk(){return Wk.size}function Kk(e){let t=Wk.get(e);return t&&Wk.delete(e),t}function qk(e,t){if(Wk.set(e,t),Wk.size>30){let e=Wk.keys().next().value;Wk.delete(e)}}function Jk(e){return e?Hk(e)?Yk(e):e:(X&&B.log(`[Profiling] Transaction is undefined, skipping profiling`),e)}function Yk(e){let t;Ak(e)&&(t=td()*1e3);let n=Vk();if(!n)return e;X&&B.log(`[Profiling] started profiling transaction: ${Yd(e).description}`);let r=V();async function i(){return!e||!n?null:n.stop().then(t=>(a&&(Y.clearTimeout(a),a=void 0),X&&B.log(`[Profiling] stopped profiling of transaction: ${Yd(e).description}`),t?(qk(r,t),null):(X&&B.log(`[Profiling] profiler returned null profile for: ${Yd(e).description}`,`this may indicate an overlapping transaction or a call to stopProfiling with a profile title that was never started`),null))).catch(e=>(X&&B.log(`[Profiling] error while stopping profiler:`,e),null))}let a=Y.setTimeout(()=>{X&&B.log(`[Profiling] max profile duration elapsed, stopping profiling for:`,Yd(e).description),i()},zk),o=e.end.bind(e);function s(){return e?(i().then(()=>{e.setContext(`profile`,{profile_id:r,start_timestamp:t}),o()},()=>{o()}),e):o()}return e.end=s,e}var Xk=`BrowserProfiling`,Zk=Sm((()=>({name:Xk,setupOnce(){},setup(e){let t=Af().getTransaction();if(t&&Ak(t)&&Hk(t)&&Yk(t),typeof e.on!=`function`){B.warn(`[Profiling] Client does not support hooks, profiling will be disabled`);return}e.on(`startTransaction`,e=>{Hk(e)&&Yk(e)}),e.on(`beforeEnvelope`,e=>{if(!Gk())return;let t=Nk(e);if(!t.length)return;let n=[];for(let e of t){let t=e&&e.contexts,r=t&&t.profile&&t.profile.profile_id,i=t&&t.profile&&t.profile.start_timestamp;if(typeof r!=`string`){X&&B.log(`[Profiling] cannot find profile for a transaction without a profile context`);continue}if(!r){X&&B.log(`[Profiling] cannot find profile for a transaction without a profile context`);continue}t&&t.profile&&delete t.profile;let a=Kk(r);if(!a){X&&B.log(`[Profiling] Could not retrieve profile for transaction: ${r}`);continue}let o=Uk(r,i,a,e);o&&n.push(o)}Mk(e,n)})}}))),Qk=xm(Xk,Zk),$k=s({Breadcrumbs:()=>py,BrowserClient:()=>Fv,BrowserProfilingIntegration:()=>Qk,BrowserTracing:()=>tv,Dedupe:()=>Cy,Feedback:()=>dO,FunctionToString:()=>Bh,GlobalHandlers:()=>Ny,HttpContext:()=>Wy,Hub:()=>ep,InboundFilters:()=>Th,Integrations:()=>tA,LinkedErrors:()=>Yy,ModuleMetadata:()=>bh,Replay:()=>SE,ReplayCanvas:()=>fD,SDK_VERSION:()=>Zf,SEMANTIC_ATTRIBUTE_SENTRY_OP:()=>Bp,SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN:()=>Vp,SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE:()=>zp,SEMANTIC_ATTRIBUTE_SENTRY_SOURCE:()=>Rp,Scope:()=>Jf,TryCatch:()=>$y,WINDOW:()=>Y,addBreadcrumb:()=>hf,addEventProcessor:()=>Vm,addGlobalEventProcessor:()=>zd,addIntegration:()=>ym,addTracingExtensions:()=>nm,breadcrumbsIntegration:()=>fy,browserApiErrorsIntegration:()=>Qy,browserProfilingIntegration:()=>Zk,browserTracingIntegration:()=>sv,captureConsoleIntegration:()=>pO,captureEvent:()=>pf,captureException:()=>df,captureMessage:()=>ff,captureSession:()=>Pf,captureUserFeedback:()=>fb,chromeStackLineParser:()=>Zv,close:()=>Df,configureScope:()=>mf,contextLinesIntegration:()=>ik,continueTrace:()=>Dp,createTransport:()=>qm,createUserFeedbackEnvelope:()=>Nv,debugIntegration:()=>gO,dedupeIntegration:()=>yO,defaultIntegrations:()=>ib,defaultRequestInstrumentationOptions:()=>B_,defaultStackLineParsers:()=>sy,defaultStackParser:()=>cy,endSession:()=>Mf,eventFromException:()=>Dv,eventFromMessage:()=>Ov,exceptionFromError:()=>bv,extraErrorDataIntegration:()=>OO,extractTraceparentData:()=>dp,feedbackIntegration:()=>uO,flush:()=>Ef,forceLoad:()=>cb,functionToStringIntegration:()=>zh,geckoStackLineParser:()=>ey,getActiveSpan:()=>Ep,getActiveTransaction:()=>up,getClient:()=>K,getCurrentHub:()=>rp,getCurrentScope:()=>Af,getDefaultIntegrations:()=>ab,getHubFromCarrier:()=>cp,getReplay:()=>TE,getSpanStatusFromHttpCode:()=>gp,globalHandlersIntegration:()=>My,httpClientIntegration:()=>BO,httpContextIntegration:()=>Uy,inboundFiltersIntegration:()=>wh,init:()=>
359ob,instrumentOutgoingRequests:()=>V_,isInitialized:()=>kf,lastEventId:()=>Of,linkedErrorsIntegration:()=>Jy,makeBrowserOfflineTransport:()=>mk,makeFetchTransport:()=>zv,makeMain:()=>np,makeMultiplexedTransport:()=>nh,makeXHRTransport:()=>Vv,metrics:()=>tg,moduleMetadataIntegration:()=>yh,onLoad:()=>lb,onProfilingStartRouteTransaction:()=>Jk,opera10StackLineParser:()=>iy,opera11StackLineParser:()=>oy,parameterize:()=>uh,replayCanvasIntegration:()=>dD,replayIntegration:()=>xE,reportingObserverIntegration:()=>PO,rewriteFramesIntegration:()=>IO,sendFeedback:()=>FD,sessionTimingIntegration:()=>RO,setContext:()=>gf,setCurrentClient:()=>Gm,setExtra:()=>vf,setExtras:()=>_f,setHttpStatus:()=>vp,setMeasurement:()=>rm,setTag:()=>bf,setTags:()=>yf,setUser:()=>xf,showReportDialog:()=>sb,spanStatusfromHttpCode:()=>_p,startBrowserTracingNavigationSpan:()=>lv,startBrowserTracingPageLoadSpan:()=>cv,startInactiveSpan:()=>Tp,startSession:()=>jf,startSpan:()=>Cp,startSpanManual:()=>wp,startTransaction:()=>Tf,trace:()=>Sp,winjsStackLineParser:()=>ny,withActiveSpan:()=>wf,withIsolationScope:()=>Cf,withScope:()=>Sf,wrap:()=>ub}),eA={};Y.Sentry&&Y.Sentry.Integrations&&(eA=Y.Sentry.Integrations);var tA={...eA,...ng,...pb},nA;function rA(){if(!nA&&!Xn&&!er){let e,t;typeof window<`u`&&(e=window.SENTRY_DSN,e||console.warn(`Missing window.SENTRY_DSN`),t=window.MONOREPO_VERSION||void 0),ob({dsn:e,environment:Yn,release:t}),nA=$k}return nA}function iA(e){let t=rA();if(t?.captureException&&t.captureException(e),typeof window<`u`)try{window.posthog?.captureException?.(e)}catch{}}var aA=({error:e,info:t})=>{let n,r;typeof window<`u`&&(n=new URL(window.location.href),r=n.searchParams.get(`again`));let i=!r,a=r&&r!==`downgrade`,o=r&&r===`downgrade`;return L(`div`,{css:{padding:16},children:R(`div`,{css:{display:`flex`,flexDirection:`column`,margin:`0 auto`,maxWidth:500},children:[i&&L(`h1`,{css:{textAlign:`center`},children:`Oops, something went wrong`}),a&&L(`h1`,{css:{textAlign:`center`},children:`Oops, I did it again`}),o&&L(`h1`,{css:{textAlign:`center`},children:`Hit me baby one more time`}),R(`p`,{children:[`The error:`,L(`br`,{}),e.toString()]}),i&&R(`form`,{children:[L(`input`,{type:`hidden`,name:`again`,value:`true`}),L(`button`,{type:`submit`,css:{width:`100%`,lineHeight:`48px`,textAlign:`center`,marginTop:8,textTransform:`uppercase`,cursor:`pointer`,backgroundColor:`var(--color-green, LimeGreen)`,color:`white`,fontSize:20,fontWeight:`bold`},children:`Try again`})]}),a&&R(`form`,{action:`/logout`,children:[L(`input`,{type:`hidden`,name:`again`,value:`downgrade`}),L(`button`,{type:`submit`,css:{width:`100%`,lineHeight:`48px`,textAlign:`center`,marginTop:8,textTransform:`uppercase`,cursor:`pointer`,backgroundColor:`var(--color-primary, DodgerBlue)`,color:`white`,fontSize:20,fontWeight:`bold`},children:`Logout`})]}),o&&L(`form`,{action:`/downgrade-version`,children:L(`button`,{type:`submit`,css:{width:`100%`,lineHeight:`48px`,textAlign:`center`,marginTop:8,textTransform:`uppercase`,cursor:`pointer`,backgroundColor:`var(--color-red, Tomato)`,color:`white`,fontSize:20,fontWeight:`bold`},children:`Downgrade version`})}),R(`p`,{css:{overflowWrap:`break-word`},children:[`Where it occured:`,L(`br`,{}),t.componentStack]})]})})},oA=class extends S.Component{constructor(e){super(e),this.state={hasError:!1}}componentDidCatch(e,t){let{onCatchError:n}=this.props;n?n(e):iA(e),this.setState({hasError:!0,error:e,info:t})}render(){let{hasError:e,error:t,info:n}=this.state,{FallbackComponent:r}=this.props;return e?L(r||aA,{error:t,info:n}):this.props.children}};function sA(e){if(typeof document<`u`){let t=`${e}=`,n=decodeURIComponent(document.cookie).split(`;`);for(let e=0;e<n.length;e+=1){let r=n[e];for(;r.charAt(0)===` `;)r=r.substring(1);if(r.indexOf(t)===0)return r.substring(t.length,r.length)}}return``}function cA(e){let t;return!e&&typeof window<`u`&&(e=window.location.hostname),e&&(t=e.replace(/.*\.([^.]*[^0-9][^.]*\.[^.]*[^.0-9][^.]*$)/,`$1`)),t}function lA(e,t){if(typeof document<`u`){let n=new Date;n.setTime(n.getTime()+365*24*60*60*1e3);let r=`expires=${n.toUTCString()}`,i=cA();document.cookie=`${e}=${encodeURIComponent(t)};${r};path=/;domain=${i};`}}var uA=()=>{if(typeof window<`u`){let e=sA(`referrer`),t=sA(`referrers`),n=window?.document?.referrer,r;
359typeof window<`u`&&(r=new URLSearchParams(window?.location?.search).get(`referrer`)||``,r=r.replace(/https?:\/\//,``).replace(/http?:\/\//,``).replace(/\/$/,``),r&&(n=decodeURIComponent(r))),n&&(n=n.replace(/https?:\/\//,``).replace(/http?:\/\//,``).replace(/\/$/,``)),e||lA(`referrer`,n),t?.includes(n)||(t+=(t?`,`:``)+n,lA(`referrers`,t))}},dA=()=>{let{pathname:e}=gt();return(0,S.useEffect)(()=>{typeof window<`u`&&window.scrollTo(0,0)},[e]),null},fA=function(e,t){var n=arguments;if(t==null||!nc.call(t,`css`))return S.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=oc,i[1]=ic(e,t);for(var a=2;a<r;a++)i[a]=n[a];return S.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(fA||(fA={}));var pA=ec(function(e,t){var n=e.styles,r=Js([n],void 0,S.useContext(tc)),i=S.useRef();return Qs(function(){var e=t.key+`-global`,n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,o=document.querySelector(`style[data-emotion="`+e+` `+r.name+`"]`);return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),o!==null&&(a=!0,o.setAttribute(`data-emotion`,e),n.hydrate([o])),i.current=[n,a],function(){n.flush()}},[t]),Qs(function(){var e=i.current,n=e[0];if(e[1]){e[1]=!1;return}r.next!==void 0&&Fs(t,r.next,!0),n.tags.length&&(n.before=n.tags[n.tags.length-1].nextElementSibling,n.flush()),t.insert(``,r,n,!1)},[t,r.name]),null});function mA(){return Js([...arguments])}var hA=`
360
361  :root {
362    --color-primary: #3f92d2;
363  }
364
365  body, html {
366    height: 100%;
367    width: 100%;
368    margin: 0;
369    outline: 0;
370    background: #f5f7fb;
371    color: #626262;
372    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
373  }
374
375  body, html, button {
376    font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';
377  }
378
379  h1, h2, h3 {
380    margin: 16px 0;
381  }
382
383  a {
384    color: inherit;
385    text-decoration: none;
386  }
387
388  #root:not(:empty) {
389    width: 100%;
390    height: 100%;
391  }
392
393  .loader:empty {
394
395    top: 50%;
396    margin: 0px auto;
397    transform: translateY(-50%);
398
399    border-radius: 50%;
400    width: 5em;
401    height: 5em;
402
403    font-size: 5px;
404    position: relative;
405    text-indent: -9999em;
406    border-top: 1.1em solid rgba(0, 0, 0, 0.2);
407    border-right: 1.1em solid rgba(0, 0, 0, 0.2);
408    border-bottom: 1.1em solid rgba(0, 0, 0, 0.2);
409    border-left: 1.1em solid rgba(67,147,208,1);
410    -webkit-transform: translateZ(0);
411    -ms-transform: translateZ(0);
412    transform: translateZ(0);
413    -webkit-animation: rotation 1.1s infinite linear;
414    animation: rotation 1.1s infinite linear;
415  }
416
417  @-webkit-keyframes rotation {
418
419    0% {
420      -webkit-transform: rotate(0deg);
421      transform: rotate(0deg);
422    }
423    100% {
424      -webkit-transform: rotate(360deg);
425      transform: rotate(360deg);
426    }
427
428  }
429
430  @keyframes rotation {
431
432    0% {
433      -webkit-transform: rotate(0deg);
434      transform: rotate(0deg);
435    }
436    100% {
437      -webkit-transform: rotate(360deg);
438      transform: rotate(360deg);
439    }
440
441  }
442
443`,gA=()=>(0,O.jsx)(pA,{styles:hA});function _A(e,t){let n;return e&&t&&(typeof e==`string`?n={path:e,element:(0,O.jsx)(t,{})}:typeof e==`object`&&(n={path:e.path,element:(0,O.jsx)(t,{...e.props})})),n}function vA({context:e,exportName:t}){let n=[],r=e.keys();for(let i=0;i<r.length;i+=1){let a=r[i],o=e(a),s;s=t?o[t]:o.default?o.default:o;let{path:c,paths:l}=o;c?n.push(_A(c,s)):l?l.forEach(e=>{n.push(_A(e,s))}):(a?.toLowerCase().endsWith(`page`)||a?.toLowerCase().endsWith(`index.jsx`))&&console.error(`${a} is missing export path or export paths`)}return n.filter(e=>e)}var yA={cs:`dokumentace`,da:`dokumentation`,de:`dokumentation`,el:`tekmiriosi`,en:`documentation`,es:`documentacion`,fr:`documentation`,id:`dokumentasi`,it:`documentazione`,nl:`documentatie`,pl:`dokumentacja`,pt:`documentacao`,ru:`dokumentatsiya`,th:`xeksar`,tl:`dokumentasyon`,tr:`belgeleme`},bA=s({default:()=>SA,paths:()=>xA}),xA=Object.keys(yA).map(e=>({path:`/docs/${e}/${yA[e]}/:slug/`,props:{locale:e}})),SA=({locale:e})=>{let{slug:t}=xt(),n=gt().search;return(0,O.jsx)(Ut,{exact:!0,to:`/docs/${e}/${t}${n}`})},CA=s({default:()=>TA,paths:()=>wA}),wA=Object.keys(yA).map(e=>({path:`/docs/${e}/${yA[e]}/`,props:{locale:e}})),TA=({locale:e})=>{let t=gt().search;return(0,O.jsx)(Ut,{exact:!0,to:`/docs/${e}/${t}`})},EA={organizationId:`ad217f061ce72100de5e8201`,websiteId:`59cb596168f5641edd0c
4435d06`}.websiteId,DA=`https://assets.waiterio.com/icons/favicon-196x196.png`,OA=`supovia`;function kA(e){return cr({product:OA,service:`api`,...e})}var AA=null;function jA(){return AA}var MA=null,NA=null,PA=()=>MA,FA=()=>NA;function IA(e){e&&typeof e==`object`?(Object.keys(e).forEach(t=>{this[t]=e[t]}),typeof navigator<`u`&&typeof navigator.onLine==`boolean`&&!navigator.onLine?this.message=`No Internet connection`:e.message===`Failed to fetch`?this.message=`A network error occurred`:e.message?this.message=e.message:(e.status&&(this.message+=e.status,e.body&&(this.message+=` `)),e.body&&(typeof e.body==`object`?e.body.string?this.message+=e.body.string:this.message+=JSON.stringify(e.body):this.message+=e.body))):e&&typeof e==`string`?this.message=e:this.message=``,this.name=`ClientError`}IA.prototype=Error.prototype,IA.prototype.toString=function(){return this.message};function LA(e){let t=``;if(e?.method&&(t+=`${e.method} `),e?.url&&(t+=`${e.url} `),e?.status&&(t+=`${e.status} `),e?.name&&(t+=`${e.name} `),e?.message){let n=e.message;n=n.split(`
444`).map(e=>`\t${e}`).join(`
445`),t+=`\nMESSAGE\n${n}`}if(e?.stack){let n=e.stack;n=n.split(`
446`).map(e=>`\t${e}`).join(`
447`),t+=`\nSTACK\n${n}`}throw t=t.trim(),console.error(t),new IA(e)}function RA(e,t){return fetch(e).then(e=>e.ok?e.json():e.json().then(e=>{throw e})).catch(t||LA)}var zA=null;function BA(){let e;if(zA)try{e=JSON.parse(atob(zA.split(`.`)[1]))}catch(e){console.error(e)}return e}function VA(){let e=!0;try{let t=BA(),n=Math.floor(Date.now()/1e3);t.exp>n&&(e=!1)}catch(e){console.error(e)}return e}function HA(){return zA}function UA(e){let t=e;zA!==t&&(zA=t)}var WA=null;function GA(){let e=!0;try{if(WA){let t=JSON.parse(atob(WA.split(`.`)[1])),n=Math.floor(Date.now()/1e3);t.exp>n&&(e=!1)}}catch(e){console.error(e)}return e}function KA(){return WA}function qA(e){WA=e}var JA=!1;function YA(){typeof window<`u`&&!JA&&(JA=!0,window.location.href=`/logout`)}async function XA(){let e=HA();if(e&&VA()){if(GA())throw YA(),Error(`refresh token has expired`);{let t=KA(),n=`${kA()}/api/refresh-access-token`,r;try{let e=await fetch(n,{method:`POST`,headers:{Authorization:`Token ${btoa(t)}`}});if(!e.ok){let t=await e.json().catch(()=>({}));if(e.status===401||/jwt expired/i.test(t.message||``)){let n=Error(`refresh token rejected: ${t.message||e.statusText||e.status}`);throw n.status=e.status,n.cause=t,n.terminal=!0,n}let n=Error(t.message||e.statusText||`${e.status}`);throw n.status=t.status||e.status,n.cause=t,n}r=await e.json()}catch(e){throw e.terminal&&YA(),console.log(e),e}e=r.accessToken,t=r.refreshToken,UA(e),qA(t)}}return e}async function ZA(e,t){let n=jA(),r=n?null:await XA();e.headers||(e.headers={}),e.headers.Accept=e.headers.Accept||`application/json`,e.headers[`Content-Type`]=e.headers[`Content-Type`]||`application/json`,e.headers.Authorization=e.headers.Authorization||(n?`Basic ${btoa(n)}`:`Token ${btoa(r||``)}`);let i=e.chatAccessToken===void 0?PA():e.chatAccessToken;i&&!e.headers[`X-Supovia-Authorization`]&&(e.headers[`X-Supovia-Authorization`]=`Bearer ${i}`);let a=e.chatEmbedOrigin===void 0?FA():e.chatEmbedOrigin;a&&!e.headers[`X-Supovia-Embed-Origin`]&&(e.headers[`X-Supovia-Embed-Origin`]=a);let o=`${kA()}/api/${e.url}`;return fetch(o,{method:e.method,headers:e.headers,body:JSON.stringify(e.body)}).then(e=>e.ok?e.json():e.url.startsWith(`https://s3.amazonaws.com`)?RA(e.url):e.json().then((t={})=>{throw t.status||(t.status=e.status),t.message||(t.message=e.statusText),t})).catch(n=>{if(e.retries>0){let r=e.retried||0;console.info(`retrying http ${e.method} ${o} after error ${n.toString()} (${e.retries} retries left)`);let i=4**r*1e3;return new Promise(e=>{setTimeout(e,i)}).then(()=>ZA({...e,retries:e.retries-1,retried:r+1},t))}return t?t(n):LA(n)})}function QA(e,t){return e.method=`GET`,ZA(e,t)}function $A(e){let t=`documents`;return t+=`?${new URLSearchParams(e).toString()}`,QA({url:t}).catch(e=>{throw Error(`Couldn't get documents : ${e}`,{cause:e})})}function ej(e,t){return uo({queryKey:[`documents`,{...e}],queryFn:()=>$A(e),...t})}var tj=mA`
448  label: d-none;
449  display: none !important;
450`,nj=mA`
451  label: d-lg-block;
452  @media (min-width: 992px) {
453    display: block !important;
454  }
455`,rj=mA`
456  label: d-lg-none;
457  @media (min-width: 992px) {
458    display: none !important;
459  }
460`,ij=e=>{let{className:t,width:n=24,height:r=24,onClick:i,style:a}=e,o=`icon-papillon`;return(0,O.jsx)(`svg`,{className:t,style:a,width:n,height:r,viewBox:`0 0 24 24`,onClick:i,"data-testid":e[`data-testid`]||o,children:(0,O.jsxs)(`g`,{"data-rebalance":`0.921`,transform:`translate(12 12) scale(0.921) translate(-12 -12)`,children:[(0,O.jsx)(`title`,{children:o}),(0,O.jsx)(`path`,{d:`M9.816 11.976c0-0.384 0-0.768 0-1.152 0-0.576 0.384-0.936 0.936-0.936 0.792 0 1.584 0 2.376 0 0.552 0 0.936 0.36 0.936 0.912 0 0.792 0 1.584 0 2.376 0 0.552-0.384 0.936-0.936 0.936-0.792 0-1.584 0-2.376 0-0.552 0-0.936-0.384-0.936-0.936 0-0.408 0-0.792 0-1.2zM13.656 12.768c1.176 0.432 2.328 0.84 3.504 1.248 0 0 0.024 0 0.024-0.024-0.432-0.192-0.864-0.384-1.296-0.6-0.72-0.312-1.416-0.648-2.112-0.96-0.192-0.072-0.12-0.192-0.144-0.312s0.048-0.168 0.144-0.216c1.752-0.792 3.504-1.608 5.256-2.4 0.048-0.024 0.096-0.048 0.12-0.096-1.824 0.648-3.672 1.296-5.544 1.944 0.024-0.48 0-0.96 0.072-1.416 0.096-0.624 0.504-1.032 1.104-1.224 1.224-0.432 2.448-0.84 3.696-1.272 1.152-0.384 2.328-0.792 3.504-1.2 0.216-0.072 0.408-0.048 0.528 0.144 0.168 0.24 0.336 0.48 0.456 0.744 0.36 0.816 0.552 1.68 0.696 2.568 0.168 1.080 0.24 2.184 0.168 3.288-0.096 1.248-0.264 2.496-0.744 3.648-0.12 0.264-0.264 0.504-0.456 0.744-0.168 0.24-0.408 0.312-0.72 0.216-2.496-0.648-4.872-1.608-7.152-2.808-0.192-0.096-0.36-0.24-0.528-0.36-0.408-0.336-0.624-0.792-0.6-1.344 
4600-0.072 0-0.168 0-0.264 0 0 0 0 0.024-0.048zM10.32 11.472c-1.872-0.648-3.696-1.296-5.544-1.944 0 0 0 0.024 0 0.024 0.096 0.048 0.216 0.096 0.336 0.144 1.68 0.792 3.384 1.56 5.064 2.328 0.096 0.048 0.12 0.096 0.144 0.192 0.024 0.216-0.072 0.288-0.24 0.36-1.056 0.48-2.112 0.984-3.168 1.464-0.048 0.024-0.096 0.048-0.144 0.096 1.176-0.408 2.352-0.816 3.528-1.248 0.072 0.624-0.048 1.176-0.528 1.584-0.168 0.168-0.384 0.312-0.6 0.432-2.28 1.2-4.656 2.16-7.152 2.808-0.288 0.072-0.504 0-0.696-0.192-0.288-0.312-0.456-0.672-0.576-1.056-0.312-0.864-0.48-1.752-0.576-2.664-0.096-0.936-0.096-1.872-0.024-2.808 0.12-1.248 0.312-2.496 0.792-3.696 0.096-0.24 0.24-0.48 0.384-0.696 0.216-0.288 0.36-0.336 0.72-0.216 2.376 0.816 4.728 1.632 7.104 2.448 0.768 0.24 1.152 0.816 1.176 1.608 0 0.336 0 0.672 0 1.032z`})]})})},aj={en:`English`,es:`Español`,zh:`中文`,af:`Afrikaans`,az:`Azərbaycanca`,id:`Bahasa Indonesia`,ms:`Bahasa Melayu`,jv:`Basa Jawa`,su:`Basa Sunda`,bs:`Bosanski`,ca:`Català`,ny:`Chi-Chewa`,cy:`Cymraeg`,da:`Dansk`,de:`Deutsch`,et:`Eesti`,eu:`Euskara`,tl:`Filipino`,fr:`Français`,fy:`Frysk`,ga:`Gaeilge`,sm:`Gagana Samoa`,gl:`Galego`,gd:`Gàidhlig`,hr:`Hrvatski jezik`,ig:`Igbo`,is:`Íslenska`,it:`Italiano`,sw:`Kiswahili`,ht:`Krèyol ayisyen`,ku:`Kurdî`,lv:`Latviešu`,lt:`Lietuvių`,lb:`Lëtzebuergesch`,hu:`Magyar`,mg:`Malagasy`,my:`Myanmasa`,mi:`Māori`,nl:`Nederlands`,no:`Norsk`,pa:`Panjabi`,pl:`Polski`,pt:`Português`,ro:`Română`,st:`Sesotho`,sq:`Shqip`,sk:`Slovenčina`,sl:`Slovenščina`,so:`Soomaaliga`,fi:`Suomi`,sv:`Svenska`,vi:`Tiếng Việt`,tr:`Türkçe`,yo:`Yorùbá`,sn:`chiShona`,xh:`isiXhosa`,zu:`isiZulu`,cs:`Čeština`,el:`ελληνικά`,uz:`Ўзбек`,be:`Беларуская`,bg:`Български`,ky:`Кыргызча`,mk:`Македонски`,mn:`Монгол`,ru:`Русский`,sr:`Српски`,tg:`Тоҷикӣ`,uk:`Українська`,kk:`Қазақша`,hy:`Հայերեն`,yi:`ייִדיש`,he:`עברית`,ur:`اردو`,ar:`العربية`,fa:`فارسی`,ha:`هَوُسَ`,ps:`پښتو`,ne:`नेपाली`,mr:`मराठ`,sd:`सिनधि`,hi:`हिन्दी`,bn:`বাংলা`,gu:`ગુજરાતી`,ta:`தமிழ்`,te:`తెలుగ`,kn:`ಕನ್ನಡ`,ml:`മലയാളം`,si:`සිංහල`,th:`ไทย`,lo:`ລາວ`,ka:`ქართული`,am:`አማርኛ`,km:`ភាសាខ្មែរ`,ja:`日本語`,ko:`한국어`},oj=e=>{let{className:t,width:n=24,height:r=24,onClick:i,style:a}=e,o=`icon-done`;return(0,O.jsx)(`svg`,{className:t,style:a,width:n,height:r,viewBox:`0 0 24 24`,onClick:i,"data-testid":e[`data-testid`]||o,children:(0,O.jsxs)(`g`,{"data-rebalance":`1.248`,transform:`translate(12 12) scale(1.248) translate(-12 -12)`,children:[(0,O.jsx)(`title`,{children:o}),(0,O.jsx)(`path`,{d:`M9 16.176l-4.176-4.176-1.416 1.416 5.592 5.592 12-12-1.416-1.416z`})]})})},sj=mA({"*:not(input, textarea)":{WebkitTouchCtextout:`none`,WebkitUserSelect:`none`,KhtmlUserSelect:`none`,MozUserSelect:`none`,MsUserSelect:`none`,userSelect:`none`},cursor:`default`}),cj=mA({display:`flex`,alignItems:`center`,alignContent:`center`,justifyContent:`center`,position:`fixed`,transform:`translate(0,0)`,width:`auto`,left:0,right:0,height:`auto`,top:0,bottom:0,zIndex:9990,background:`#transparent`,padding:`0 16px`}),lj=mA(sj,{boxSizing:`border-box`,width:`280px`,height:`auto`,maxHeight:`100%`,overflowX:`hidden`,overflowY:`auto`,position:`relative`,zIndex:9999,background:`#fefefe`}),uj=mA({display:`block`,position:`absolute`,width:`auto`,left:0,right:0,height:`auto`,top:0,bottom:0,boxSizing:`border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; -o-box-sizing: border-box`,zIndex:9995,backgroundColor:[`rgb(0,0,0)`,`rgba(0,0,0,0.4)`]}),dj=({children:e,close:t})=>R(`div`,{css:cj,children:[L(`div`,{css:lj,children:e}),L(`div`,{css:uj,onClick:e=>{e&&e.preventDefault(),t&&t()},"data-testid":`close-modal`})]}),fj=Object.keys(yA),pj=mA({fontSize:18,color:`#666`,padding:10,borderBottom:`1px solid #d3d3d3`,fill:`#4393d0`,display:`flex`,flex:1,flexDirection:`row`,justifyContent:`space-between`,":hover":{backgroundColor:`#4393d0`,color:`white`,cursor:`pointer`,fill:`white`}}
460),mj=({currentLocale:e,close:t})=>L(dj,{close:t,children:R(`div`,{css:{display:`flex`,flex:1,flexDirection:`column`,maxHeight:`80%`},children:[R(`div`,{css:pj,children:[L(`span`,{children:aj[e]}),L(oj,{})]}),fj.map(t=>t!==e&&L(`a`,{href:`/docs/${t}/`,css:pj,children:aj[t]},t))]})}),hj=mA({label:`navigation`,color:`white`,backgroundColor:`#4393d0`,display:`flex`,position:`fixed`,top:0,width:`100%`,padding:`10px 0px`,justifyContent:`space-between`,height:70,transition:`padding .4s ease-in-out`,zIndex:1e3}),gj=mA({label:`links`,display:`flex`,alignItems:`center`,paddingRight:100}),_j=mA({label:`link`,color:`white`,margin:`10px 15px`,fontSize:16,height:46,position:`relative`,":after":{content:`""`,position:`absolute`,top:30,left:0,width:0,height:2,backgroundColor:`white`,transition:`width .3s`},":hover:after":{width:`100%`,transition:`width .3s`}}),vj=({locale:e})=>{let{t}=Kr(e),n=aj[e],[r,i]=(0,S.useState)(),a=()=>{i(!r)};return R(`div`,{css:hj,children:[L(`a`,{href:`/${e}/`,children:L(ij,{width:`54`,height:`70`,css:{fill:`white`,paddingLeft:100}})}),R(`div`,{css:gj,children:[R(`div`,{children:[L(`a`,{css:_j,href:`/${e}/`,children:t(`Home`)}),L(`a`,{css:_j,href:`/blog/${e}/`,children:t(`Blog`)}),L(kn,{css:_j,to:`/docs/${e}/`,children:t(`Documentation`)}),L(`a`,{css:_j,href:`/${e}/pricing/`,children:t(`Pricing`)}),L(`a`,{css:_j,href:`/${e}/downloads/`,children:t(`Downloads`)}),L(`a`,{css:_j,href:`https://app.waiterio.com/signup`,children:t(`Sign up`)}),L(`a`,{css:[_j],href:`https://app.waiterio.com/login`,children:t(`Login`)}),R(`span`,{onClick:a,css:[_j,{marginRight:0,cursor:`pointer`}],children:[n,` ▼`]})]}),r&&L(mj,{currentLocale:e,close:a})]})]})},yj=mA({label:`navigation`,color:`white`,backgroundColor:`#4393d0`,display:`flex`,position:`fixed`,justifyContent:`space-between`,top:0,zIndex:1e3,width:`100%`,height:64}),bj=e=>mA({label:`links`,overflow:`hidden`,height:e?`100%`:`0px`,width:`100%`,visibility:e?`expanded`:`collapse`,display:`flex`,flexDirection:`column`,backgroundColor:`#4393d0`,position:`fixed`,top:64,left:0,zIndex:1e3,transition:`height 0.4s ease-in-out`}),xj=mA({label:`link`,color:`white`,fontSize:16,position:`relative`,height:15,cursor:`pointer`,borderBottom:`solid`,borderBottomWidth:1,borderBottomColor:`#DCDCDC`,padding:15,margin:`0px 20px`,paddingLeft:0}),Sj=mA({label:`drawer-container`,cursor:`pointer`,height:64,padding:`0px 20px`,position:`relative`,width:64}),Cj=e=>mA({label:`drawer-icon`,width:24,position:`absolute`,top:`40%`,":after, :before":{content:`''`,width:24,height:2,position:`absolute`,backgroundColor:`white`,transition:`.3s ease-in-out`,top:e?5:0,transform:e?`rotate(45deg)`:0},":before":{top:e?5:10,transform:e?`rotate(-45deg)`:0}}),wj=({locale:e=`en`})=>{let{t}=Kr(e),n=aj[e],[r,i]=(0,S.useState)(),[a,o]=(0,S.useState)(),s=()=>{i(!r)},c=()=>{o(!a)};return R(`div`,{css:yj,children:[L(`div`,{css:Sj,onClick:s,children:L(`div`,{css:Cj(r),"data-testid":`icon-drawer`})}),R(`div`,{css:bj(r),children:[L(`a`,{css:xj,href:`/${e}/`,children:t(`Home`)}),L(`a`,{css:xj,href:`/blog/${e}/`,children:t(`Blog`)}),L(kn,{css:xj,to:`/docs/${e}/`,children:t(`Documentation`)}),L(`a`,{css:xj,href:`/${e}/pricing/`,children:t(`Pricing`)}),L(`a`,{css:xj,href:`/${e}/downloads/`,children:t(`Downloads`)}),L(`a`,{css:xj,href:`https://app.waiterio.com/signup`,children:t(`Sign up`)}),L(`a`,{css:xj,href:`https://app.waiterio.com/login`,children:t(`Login`)}),L(`span`,{onClick:c,css:xj,children:n})]}),L(`a`,{href:`/${e}/`,css:{padding:10},children:L(ij,{width:`44`,height:`44`,css:{fill:`white`}})}),L(`div`,{css:{width:100}}),a&&L(mj,{currentLocale:e,close:c})]})},Tj=({locale:e})=>R(sc,{children:[L(`div`,{css:rj,children:L(wj,{locale:e})}),L(`div`,{css:[tj,nj],children:L(vj,{locale:e})})]}),Ej=e=>{let{className:t,width:n=24,height:r=24,onClick:i,style:a}=e,o=`icon-compass`;return(0,O.jsxs)(`svg`,{viewBox:`0 0 512 512`,width:n,height:r,className:t,style:a,onClick:i,"data-testid":e[`data-testid`]||o,children:[(0,O.jsx)(`title`,{children:o}),(0,O.jsxs)(`g`,{children:[(0,O.jsx)(`path`,{d:`M280.5,280.5l-49-49c-0.9-0.9-2.5-0.7-3.2,0.4l-49.5,98.5c-1.1,1.8,1,3.9,2.8,2.8l98.5-49.5
461            C281.2,283,281.4,281.4,280.5,280.5z`}),(0,O.jsx)(`path`,{d:`M256,48C141.1,48,48,141.1,48,256c0,114.9,93.1,208,208,208c114.9,0,208-93.1,208-208C464,141.1,370.9,48,256,48z
462            M296.6,297.3L137,377.8c-1.8,1.1-3.9-1-2.8-2.8l80.6-159.6c0.2-0.3,0.4-0.5,0.7-0.7L375,134.2c1.8-1.1,3.9,1,2.8,2.8l-80.6,159.6
463            C297.1,296.9,296.9,297.1,296.6,297.3z`})]})]})},Dj=e=>{let{className:t,width:n=24,height:r=24,onClick:i,style:a}=e,o=`icon-email`;return(0,O.jsx)(`svg`,{className:t,style:a,width:n,height:r,viewBox:`0 0 24 24`,onClick:i,"data-testid":e[`data-testid`]||o,children:(0,O.jsxs)(`g`,{"data-rebalance":`1.086`,transform:`translate(12 12) scale(1.086) translate(-12 -12)`,children:[(0,O.jsx)(`title`,{children:o}),(0,O.jsx)(`path`,{d:`M19.992 4.008h-15.984c-1.104 0-1.992 0.888-1.992 1.992l-0.024 12c0 1.104 0.912 1.992 2.016 1.992h15.984c1.104 0 2.016-0.888 2.016-1.992v-12c0-1.104-0.912-1.992-2.016-1.992zM19.992 7.992l-7.992 5.016-7.992-5.016v-1.992l7.992 4.992 7.992-4.992v1.992z`})]})})},Oj=e=>{let{className:t,width:n=24,height:r=24,onClick:i,style:a}=e,o=`icon-facebook`;
463return(0,O.jsxs)(`svg`,{viewBox:`64 64 384 384`,style:a,className:t,width:n,height:r,onClick:i,"data-testid":e[`data-testid`]||o,children:[(0,O.jsx)(`title`,{children:o}),(0,O.jsx)(`g`,{id:`Layer_1`}),(0,O.jsx)(`g`,{id:`Layer_2`,children:(0,O.jsx)(`path`,{d:`M426.8,64H85.2C73.5,64,64,73.5,64,85.2l0,341.6c0,11.7,9.5,21.2,21.2,21.2H256V296h-45.9v-56H256v-41.4
464          c0-49.6,34.4-76.6,78.7-76.6c21.2,0,44,1.6,49.3,2.3v51.8l-35.3,0c-24.1,0-28.7,11.4-28.7,28.2V240h57.4l-7.5,56H320v152h106.8
465          c11.7,0,21.2-9.5,21.2-21.2V85.2C448,73.5,438.5,64,426.8,64z`})})]})},kj=e=>{let{className:t,width:n=24,height:r=24,onClick:i,style:a}=e,o=`icon-linkedin`;return(0,O.jsxs)(`svg`,{viewBox:`64 64 384 384`,style:a,className:t,width:n,height:r,onClick:i,"data-testid":e[`data-testid`]||o,children:[(0,O.jsx)(`title`,{children:o}),(0,O.jsx)(`g`,{children:(0,O.jsx)(`path`,{d:`M417.2,64H96.8C79.3,64,64,76.6,64,93.9v321.1c0,17.4,15.3,32.9,32.8,32.9h320.3c17.6,0,30.8-15.6,30.8-32.9V93.9
466            C448,76.6,434.7,64,417.2,64z M183,384h-55V213h55V384z M157.4,187H157c-17.6,0-29-13.1-29-29.5c0-16.7,11.7-29.5,29.7-29.5
467            c18,0,29,12.7,29.4,29.5C187.1,173.9,175.7,187,157.4,187z M384,384h-55v-93.5c0-22.4-8-37.7-27.9-37.7
468            c-15.2,0-24.2,10.3-28.2,20.3c-1.5,3.6-1.9,8.5-1.9,13.5V384h-55V213h55v23.8c8-11.4,20.5-27.8,49.6-27.8
469            c36.1,0,63.4,23.8,63.4,75.1V384z`})})]})},Aj=e=>{let{className:t,width:n=24,height:r=24,onClick:i,style:a}=e,o=`icon-twitter`;return(0,O.jsxs)(`svg`,{viewBox:`0 0 1792 1792`,style:a,className:t,width:n,height:r,onClick:i,"data-testid":e[`data-testid`]||o,children:[(0,O.jsx)(`title`,{children:o}),(0,O.jsx)(`path`,{d:`M1684 408q-67 98-162 167 1 14 1 42 0 130-38 259.5t-115.5 248.5-184.5 210.5-258 146-323 54.5q-271 0-496-145 35 4 78 4 225 0 401-138-105-2-188-64.5t-114-159.5q33 5 61 5 43 0 85-11-112-23-185.5-111.5t-73.5-205.5v-4q68 38 146 41-66-44-105-115t-39-154q0-88 44-163 121 149 294.5 238.5t371.5 99.5q-8-38-8-74 0-134 94.5-228.5t228.5-94.5q140 0 236 102 109-21 205-78-37 115-142 178 93-10 186-50z`})]})},jj=mA({width:`100%`,padding:`60px 0px 0px`,backgroundColor:`white`}),Mj=mA({display:`flex`,justifyContent:`center`,flexWrap:`wrap`}),Nj=mA({display:`flex`,width:262,padding:`0px 15px`,marginBottom:30}),Pj=mA({color:`#333`,fontSize:24,margin:0,textTransform:`capitalize`}),Fj=mA({textAlign:`center`,width:44,height:44,border:`solid #666 0.5px`,borderRadius:28,margin:`0px 5px`,fill:`#666`,cursor:`pointer`,":hover":{background:`#3f92d2`,borderColor:`#3f92d2`,fill:`white`,transition:`background 0.5s, fill 0.5s`}}),Ij=mA({p:{marginTop:-4}}),Lj=mA({height:1,opacity:.2,margin:`0px 60px 8px 60px`}),Rj=mA({display:`flex`,justifyContent:`center`,alignItems:`center`,width:60,height:60,marginRight:20,backgroundColor:`#f4f4f4`,borderRadius:`50%`}),zj=({locale:e})=>{let{t}=Kr(e);return R(`div`,{css:jj,children:[R(`div`,{css:Mj,children:[R(`div`,{css:Nj,children:[L(`div`,{css:[Rj,{marginRight:19.5}],children:L(Ej,{ariaHidden:`true`,css:{width:26,height:26,fill:`#3f92d2`,marginBottom:1}})}),R(`div`,{css:{marginTop:-2},children:[L(`h4`,{css:[Pj,{paddingBottom:17}],children:t(`Address`)}),R(`div`,{css:Ij,children:[L(`p`,{children:`Waiterio LLC`}),L(`p`,{children:`30 N Gould St`}),L(`p`,{children:`Ste N`}),L(`p`,{children:`Sheridan, WY 82801`}),L(`p`,{children:`USA`})]})]})]}),R(`div`,{css:Nj,children:[L(`div`,{css:Rj,children:L(Dj,{ariaHidden:`true`,css:{width:24,height:24,fill:`#3f92d2`,marginBottom:1}})}),R(`div`,{children:[L(`h4`,{css:[Pj,{marginTop:-2,paddingBottom:11}],children:t(`Contact us`)}),L(`span`,{css:Ij,children:`[email protected]`})]})]}),R(`div`,{css:[Nj,{flexDirection:`column`}],children:[L(`h4`,{css:[Pj,{marginTop:-2,paddingBottom:8}],children:t(`Follow Us`)}),R(`div`,{css:{display:`flex`},children:[L(`div`,{css:Fj,onClick:()=>{window.location.href=`https://twitter.com/waiterio`},children:L(Aj,{ariaHidden:`true`,css:{marginTop:10,width:18,height:22}})}),L(`div`,{css:Fj,onClick:()=>{window.location.href=`https://www.facebook.com/waiterio`},children:L(Oj,{ariaHidden:`true`,css:{marginTop:12,width:22,height:22}})}),L(`div`,{css:Fj,onClick:()=>{window.location.href=`https://www.linkedin.com/company/waiter-io`},children:L(kj,{ariaHidden:`true`,css:{marginTop:12,width:22,height:22}})})]})]}),R(`div`,{css:[Nj,{flexDirection:`column`}],children:[L(`h4`,{css:[Pj,{marginTop:-2,paddingBottom:13}],children:t(`More Links`)}),R(`div`,{css:[Ij,{display:`flex`,flexDirection:`column`,color:`#3f92d2`}],children:[L(`a`,{href:`/privacy-policy`,children:t(`Privacy Policy`)}),L(`a`,{href:`/terms-and-conditions`,css:{marginTop:10},children:t(`Terms and Conditions`)})]})]})]}),L(`hr`,{css:Lj}),L(`div`,{css:{display:`flex`,justifyContent:`center`,padding:`20px 0px`,marginTop:-5},children:R(`span`,{css:Ij,children:[t(`Copyright`),` @`,` `,L(`a`,{href:`/`,css:{color:`#3f92d2`},children:`Waiterio`}),` `,`2013 - `,new Date().getFullYear()]})})]})},Bj=({headerStyle:e,children:t,locale:n=`en`})=>(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(Tj,{locale:n,style:e}),t,(0,O.jsx)(zj,{locale:n})]}),Vj=[`cs`,`da`,`de`,`el`,`en`,`es`,`fr`,`id`,`it`,`nl`,`pl`,`pt`,`ru`,`th`,`tl`,`tr`],Hj=s({Head:()=>Kj,default:()=>Jj,getStaticPaths:()=>Gj,paths:()=>qj}),Uj=mA({maxWidth:800,backgroundColor:`white`,margin:`15px auto 15px auto`,padding:`43.5px 87px`,h1:{fontSize:25.2,lineHeight:1.2,padding:`16px 0px`},"h2, h3, p, li, ul, i, b":{fontSize:21.6,lineHeight:1.2,textRendering:`optimizeLegibility`},"ol, ul":{paddingLeft:0},ol:{counterReset:`item`},"ol li":{counterIncrement:`item`,listStyle:`none inside`,listStylePosition:`inside`,textIndent:-35,paddingLeft:49.5,paddingBottom:14.5},"ol li:before":{content:`counter(item)`,paddingRight:14.5},"ul li":{counterIncrement:`item`,listStylePosition:`inside`,paddingLeft:14.5,paddingBottom:14.5},a:{textDecoration:`underline`,color:`#3f92d2`,cursor:`pointer`,"&:hover":{color:`#5cb85c`}},"@media (max-width: 768px)":{padding:20,fontSize:24}}),Wj=mA({flex:1,display:`flex`,alignItems:`center`,justifyContent:`center`,height:160,fontSize:36,color:`red`,padding:36}),Gj=async()=>(await $A({websiteId:EA,fields:[`_id`,`locale`,`slug`]})).map(({locale:e,slug:t})=>`/docs/${e}/${t}`).sort(),Kj=({locale:e})=>{let{slug:t}=xt(),{t:n}=Kr(e),{data:r}=ej({websiteId:EA,slug:t,fields:[`_id`,`creationTime`,`lastEditTime`,`title`,`slug`,`content`]}),i=r?.[0],a=`${n(`Documentation`)} | ${n(`Waiterio Restaurant POS`)}`;if(!i)return R(sc,{children:[L(`title`,{children:`${n(`Not found`)} | ${a}`}),L(`meta`,{name:`description`,content:a}),L(`meta`,{name:`robots`,content:`noindex, nofollow`})]});let o=i.title??``,s=`https://www.waiterio.com/docs/${e}/${i.slug}/`;return R(sc,{children:[L(`title`,{children:`${o} | ${a}`}),L(`link`,{rel:`canonical`,href:s}),L(`meta`,{name:`description`,content:a}),L(`meta`,{name:`robots`,content:`max-image-preview:large`}),L(`meta`,{name:`twitter:title`,content:o}),L(`meta`,{name:`twitter:description`,content:a}),L(`meta`,{name:`twitter:image`,content:DA}),L(`meta`,{property:`og:site_name`,content:o}),L(`meta`,{property:`og:title`,content:o}),L(`meta`,{property:`og:description`,content:a}),L(`meta`,{property:`og:type`,content:`article`}),L(`meta`,{property:`og:url`,content:`https://www.waiterio.com/docs/`}),L(`meta`,{property:`og:image`,content:DA}),L(`meta`,{itemProp:`name`,content:o}),L(`meta`,{itemProp:`description`,content:a}),L(`meta`,{itemProp:`image`,content:DA}),L(`script`,{type:`application/ld+json`,dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":`https://schema.org/`,"@type":`TechArticle`,headline:i.title,name:i.title,articleBody:i.content,inLanguage:e,url:s,mainEntityOfPage:s,datePublished:new Date(i.creationTime??null).toISOString(),dateModified:new Date(i.lastEditTime??null).toISOString(),author:{"@i
469d":`https://www.waiterio.com/#corporation`},publisher:{"@id":`https://www.waiterio.com/#corporation`}})}})]})},qj=Vj.map(e=>({path:`/docs/${e}/:slug/`,props:{locale:e}})),Jj=({locale:e})=>{let{slug:t}=xt(),{data:n,error:r,loading:i}=ej({websiteId:EA,slug:t,fields:[`_id`,`creationTime`,`lastEditTime`,`title`,`slug`,`content`]}),a=n?.[0];return R(Bj,{locale:e,children:[L(`div`,{css:{height:76,minHeight:76}}),n?.length===0&&L(Ut,{to:`/docs/${e}/not-found/`}),R(`div`,{css:{backgroundColor:`#f5f7fb`,display:`flex`,flexDirection:`column`,padding:16,margin:16},children:[a&&R(`div`,{css:Uj,children:[L(`h1`,{children:a.title}),L(`article`,{dangerouslySetInnerHTML:{__html:a.content}})]}),i&&L(`div`,{className:`loader`}),r&&L(`div`,{css:Wj,children:r})]})]})};function Yj(e,t,n,r){let i,a=!1,o=0;function s(){i&&clearTimeout(i)}function c(){s(),a=!0}typeof t!=`boolean`&&(r=n,n=t,t=void 0);function l(...c){let l=this,u=Date.now()-o;if(a)return;function d(){o=Date.now(),n.apply(l,c)}function f(){i=void 0}r&&!i&&d(),s(),r===void 0&&u>e?d():t!==!0&&(i=setTimeout(r?f:d,r===void 0?e-u:e))}return l.cancel=c,l}function Xj(e,t,n){return n===void 0?Yj(e,t,!1):Yj(e,n,t!==!1)}var Zj=e=>{let{className:t,width:n=24,height:r=24,onClick:i,style:a}=e,o=`icon-search`;return(0,O.jsx)(`svg`,{className:t,style:a,width:n,height:r,viewBox:`0 0 24 24`,onClick:i,"data-testid":e[`data-testid`]||o,children:(0,O.jsxs)(`g`,{"data-rebalance":`1.107`,transform:`translate(12 12) scale(1.107) translate(-12 -12)`,children:[(0,O.jsx)(`title`,{children:o}),(0,O.jsx)(`path`,{d:`M15.504 13.992h-0.792l-0.288-0.264c0.984-1.128 1.584-2.616 1.584-4.224 0-3.6-2.928-6.504-6.504-6.504s-6.504 2.904-6.504 6.504 2.904 6.504 6.504 6.504c1.608 0 3.096-0.6 4.224-1.584l0.264 0.288v0.792l5.016 4.992 1.488-1.488-4.992-5.016zM9.504 13.992c-2.496 0-4.512-2.016-4.512-4.488s2.016-4.512 4.512-4.512 4.488 2.016 4.488 4.512-2.016 4.488-4.488 4.488z`})]})})},Qj=e=>{let{className:t,width:n=24,height:r=24,onClick:i,style:a}=e,o=`icon-close`;return(0,O.jsx)(`svg`,{className:t,style:a,width:n,height:r,viewBox:`0 0 24 24`,onClick:i,"data-testid":e[`data-testid`]||o,children:(0,O.jsxs)(`g`,{"data-rebalance":`1.384`,transform:`translate(12 12) scale(1.384) translate(-12 -12)`,children:[(0,O.jsx)(`title`,{children:o}),(0,O.jsx)(`path`,{d:`M19.008 6.408l-1.416-1.416-5.592 5.592-5.592-5.592-1.416 1.416 5.592 5.592-5.592 5.592 1.416 1.416 5.592-5.592 5.592 5.592 1.416-1.416-5.592-5.592z`})]})})},$j=s({Head:()=>oM,SearchBar:()=>aM,default:()=>cM,paths:()=>sM}),eM=mA({display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`center`,backgroundColor:`var(--color-primary)`,height:300,padding:`0px 25px`}),tM=mA({cursor:`text`,boxShadow:`0px 1.5px 4px rgba(0,0,0,0.24)`,borderRadius:30,backgroundColor:`white`,display:`flex`,position:`relative`,justifyContent:`center`,alignItems:`center`,maxWidth:350,width:`100%`}),nM=mA({outline:`none`,border:0,borderRadius:30,fontSize:16,padding:20,maxWidth:200}),rM=mA({backgroundColor:`white`,cursor:`pointer`,display:`block`,maxWidth:500,margin:`20px auto`,boxShadow:`rgba(0, 0, 0, 0.24) 0px 1.5px 4px, rgba(0, 0, 0, 0.19) 0px 0.5px 2px`,padding:18,"&:hover":{backgroundColor:`#c2e9f7`}}),iM=mA({flex:1,display:`flex`,alignItems:`center`,justifyContent:`center`,height:160,fontSize:36,color:`red`,paddingBottom:36}),aM=({locale:e})=>{let{t}=Kr(e),[n,r]=(0,S.useState)(),[i,a]=(0,S.useState)(),o=(0,S.useRef)(null),s=async t=>{if(t.length){let n=await $A({websiteId:EA,locale:e,search:t,fields:[`_id`,`slug`,`title`]});n=n.map(t=>({...t,url:`/docs/${e}/${t.slug}/`})),r(n)}},c=Yj(500,s),l=Xj(500,s),u=()=>{a(``),r([])},d=async e=>{let t=e.target.value.toLowerCase();t.length?(a(t),t.length<4?c(t):l(t)):(a(t),r([]))},f=e=>{o.current&&!o.current.contains(e.target)&&r([])};return(0,S.useEffect)(()=>(document.addEventListener(`mousedown`,f),()=>{document.removeEventListener(`mousedown`,f)})),R(`label`,{ref:o,css:tM,children:[L(Zj,{width:24,height:24,css:{fill:`var(--color-primary)`}}),L(`input`,{value:i||``,placeholder:t(`Search documentation`),css:nM,onChange:d,onFocus:d,onKeyDown:e=>{e.key===`Escape`&&(a(``),r([]))}}),L(Qj,{height:20,width:20,css:{opacity:i?.5:0,cursor:`pointer`},onClick:u}),n&&L(`div`,{css:{boxShadow:`rgba(0, 0, 0, 0.24) 0px 1.5px 4px, rgba(0, 0, 0, 0.19) 0px 0.5px 2px`,width:`100%`,left:0,top:60,overflowY:`scroll`,position:`absolute`,cursor:`pointer`,maxWidth:400,maxHeight:400,backgroundColor:`white`},children:n.map(({_id:e,title:t,url:n})=>L(`a`,{href:n,css:{display:`block`,padding:15,":hover":{backgroundColor:`#c2e9f7`}},children:t},e))})]})},oM=({locale:e})=>{let{t}=Kr(e),n=t(`Documentation`),r=t(`Waiterio Restaurant POS`),i=`https://www.waiterio.com/docs/${e}/`;return R(sc,{children:[L(`title`,{children:`${n} | ${r}`}),L(`link`,{rel:`canonical`,href:i}),L(`meta`,{name:`description`,content:r}),L(`meta`,{name:`twitter:title`,content:n}),L(`meta`,{name:`twitter:description`,content:r}),L(`meta`,{name:`twitter:image`,content:DA}),L(`meta`,{property:`og:site_name`,content:n}),L(`meta`,{property:`og:title`,content:n}),L(`meta`,{property:`og:description`,content:r}),L(`meta`,{property:`og:type`,content:`article`}),L(`meta`,{property:`og:url`,content:`https://www.waiterio.com/docs/`}),L(`meta`,{property:`og:image`,content:DA}),L(`meta`,{itemProp:`name`,content:n}),L(`meta`,{itemProp:`description`,content:r}),L(`meta`,{itemProp:`image`,content:DA}),L(`script`,{type:`application/ld+json`,dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":`http://schema.org/`,"@type":`WebPage`,"@id":`https://www.waiterio.com/${e}/`,url:`https://www.waiterio.com/${e}/`,inLanguage:e,isPartOf:{"@id":`https://www.waiterio.com/${e}/#website`}
469,author:{"@id":`https://www.waiterio.com/#corporation`},publisher:{"@id":`https://www.waiterio.com/#corporation`},translationOfWork:{"@id":`https://www.waiterio.com/en/#website`},"@graph":[{"@type":`WebSite`,"@id":`https://www.waiterio.com/${e}/#website`,name:`Waiterio`,url:`https://www.waiterio.com/${e}/#website`,inLanguage:e,author:{"@id":`https://www.waiterio.com/#corporation`},publisher:{"@id":`https://www.waiterio.com/#corporation`}},{"@type":`Corporation`,"@id":`https://www.waiterio.com/#corporation`,name:`Waiterio`,url:`https://www.waiterio.com/#corporation`,sameAs:[`https://www.facebook.com/waiterio`,`https://www.linkedin.com/company/waiter-io`]}]})}})]})},sM=Vj.map(e=>({path:`/docs/${e}/`,props:{locale:e}})),cM=({locale:e})=>{let{t}=Kr(e),{data:n,error:r,loading:i}=ej({websiteId:EA,locale:e,fields:[`_id`,`slug`,`title`]});return n=n?.map(t=>({...t,url:`/docs/${e}/${t.slug}/`})),R(Bj,{locale:e,children:[R(`div`,{css:eM,children:[L(`h1`,{css:{color:`white`,padding:`30px 0px`},children:t(`Documentation`)}),L(aM,{locale:e})]}),n&&L(`div`,{css:{margin:`15px 30px`},children:n.map(({_id:e,url:t,title:n})=>L(kn,{css:rM,to:t,children:n},e))}),i&&L(`div`,{style:{marginBottom:30},className:`loader`}),r&&L(`div`,{css:iM,children:r})]})},lM=s({default:()=>dM,paths:()=>uM}),uM=[{path:`/`},{path:`/docs/`}],dM=()=>{let e=Zn()||`en`,t=gt().search;return(0,O.jsx)(Ut,{exact:!0,to:`/docs/${e}${t}`})},fM=s({Head:()=>mM,default:()=>hM,paths:()=>pM}),pM=Vj.map(e=>({path:`/docs/${e}/not-found/`,props:{locale:e}})).concat({path:`*`}),mM=({locale:e})=>{let{t}=Kr(e);return L(`title`,{children:`${t(`Page not found`)||` `} | ${t(`Documentation`)||` `} | ${t(`Waiterio Restaurant POS`)||` `}`})},hM=({locale:e=`en`})=>{let{t}=Kr(e);return L(Bj,{locale:e,children:L(`div`,{css:{minHeight:420,backgroundColor:`var(--color-primary)`,color:`white`,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:`46px`},children:t(`Page not found`)})})},gM=Object.assign({"./pages/DocsSlugDocumentRedirect.jsx":bA,"./pages/DocsSlugRedirect.jsx":CA,"./pages/DocumentPage.jsx":Hj,"./pages/DocumentsPage.jsx":$j,"./pages/HomeRedirect.jsx":lM,"./pages/NotFoundPage.jsx":fM}),_M=`./pages/`,vM=Object.keys(gM).map(e=>`./${e.slice(8)}`),yM=e=>gM[e.replace(/^\.\//,_M)];yM.keys=()=>vM,Gr({organizationId:`e395dba6a14d8af4c2d35890`,project:`waiterio-docs`}),(0,Bn.createRoot)(document.getElementById(`root`)).render((0,O.jsx)(oA,{children:(0,O.jsx)(On,{children:(0,O.jsx)(mo,{children:(0,O.jsxs)(S.Suspense,{children:[(0,O.jsx)(dA,{}),(0,O.jsx)(gA,{}),(0,O.jsx)(()=>Ct(vA({context:yM})),{}),(0,O.jsx)(uA,{}),(0,O.jsx)(cc,{})]})})})})),rA();
470//# sourceMappingURL=main.C-dGXvRm.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.