vendor: 9,057 bytes, lines 1-25
1var jx=Object.defineProperty;var Vx=(e,t,n)=>t in e?jx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Yn=(e,t,n)=>Vx(e,typeof t!="symbol"?t+"":t,n);function Hx(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in e)){const i=Object.getOwnPropertyDescriptor(r,s);i&&Object.defineProperty(e,s,i.get?i:{enumerable:!0,get:()=>r[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function Hs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var V_={exports:{}},mc={},H_={exports:{}},pe={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var za=Symbol.for("react.element"),Wx=Symbol.for("react.portal"),Gx=Symbol.for("react.fragment"),qx=Symbol.for("react.strict_mode"),Yx=Symbol.for("react.profiler"),Xx=Symbol.for("react.provider"),Kx=Symbol.for("react.context"),Zx=Symbol.for("react.forward_ref"),Qx=Symbol.for("react.suspense"),Jx=Symbol.for("react.memo"),ek=Symbol.for("react.lazy"),ig=Symbol.iterator;function tk(e){return e===null||typeof e!="object"?null:(e=ig&&e[ig]||e["@@iterator"],typeof e=="function"?e:null)}var W_={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},G_=Object.assign,q_={};function ao(e,t,n){this.props=e,this.context=t,this.refs=q_,this.updater=n||W_}ao.prototype.isReactComponent={};ao.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): 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")};ao.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Y_(){}Y_.prototype=ao.prototype;function ph(e,t,n){this.props=e,this.context=t,this.refs=q_,this.updater=n||W_}var hh=ph.prototype=new Y_;hh.constructor=ph;G_(hh,ao.prototype);hh.isPureReactComponent=!0;var og=Array.isArray,X_=Object.prototype.hasOwnProperty,mh={current:null},K_={key:!0,ref:!0,__self:!0,__source:!0};function Z_(e,t,n){var r,s={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)X_.call(t,r)&&!K_.hasOwnProperty(r)&&(s[r]=t[r]);var a=arguments.length-2;if(a===1)s.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];s.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)s[r]===void 0&&(s[r]=a[r]);return{$$typeof:za,type:e,key:i,ref:o,props:s,_owner:mh.current}}function nk(e,t){return{$$typeof:za,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function gh(e){return typeof e=="object"&&e!==null&&e.$$typeof===za}function rk(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var ag=/\/+/g;function md(e,t){return typeof e=="object"&&e!==null&&e.key!=null?rk(""+e.key):t.toString(36)}function $l(e,t,n,r,s){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case za:case Wx:o=!0}}if(o)return o=e,s=s(o),e=r===""?"."+md(o,0):r,og(s)?(n="",e!=null&&(n=e.replace(ag,"$&/")+"/"),$l(s,t,n,"",function(u){return u})):s!=null&&(gh(s)&&(s=nk(s,n+(!s.key||o&&o.key===s.key?"":(""+s.key).replace(ag,"$&/")+"/")+e)),t.push(s)),1;if(o=0,r=r===""?".":r+":",og(e))for(var a=0;a<e.length;a++){i=e[a];var l=r+md(i,a);o+=$l(i,t,n,l,s)}else if(l=tk(e),typeof l=="function")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=r+md(i,a++),o+=$l(i,t,n,l,s);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function nl(e,t,n){if(e==null)return e;var r=[],s=0;return $l(e,r,"","",function(i){return t.call(n,i,s++)}),r}function sk(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ct={current:null},Fl={transition:null},ik={ReactCurrentDispatcher:Ct,ReactCurrentBatchConfig:Fl,ReactCurrentOwner:mh};function Q_(){throw Error("act(...) is not supported in production builds of React.")}pe.Children={map:nl,forEach:function(e,t,n){nl(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return nl(e,function(){t++}),t},toArray:function(e){return nl(e,function(t){return t})||[]},only:function(e){if(!gh(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};pe.Component=ao;pe.Fragment=Gx;pe.Profiler=Yx;pe.PureComponent=ph;pe.StrictMode=qx;pe.Suspense=Qx;pe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ik;pe.act=Q_;pe.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=G_({},e.props),s=e.key,i=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,o=mh.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)X_.call(t,l)&&!K_.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:za,type:e.type,key:s,ref:i,props:r,_owner:o}};pe.createContext=function(e){return e={$$typeof:Kx,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Xx,_context:e},e.Consumer=e};pe.createElement=Z_;pe.createFactory=function(e){var t=Z_.bind(null,e);return t.type=e,t};pe.createRef=function(){return{current:null}};pe.forwardRef=function(e){return{$$typeof:Zx,render:e}};pe.isValidElement=gh;pe.lazy=function(e){return{$$typeof:ek,_payload:{_status:-1,_result:e},_init:sk}};pe.memo=function(e,t){return{$$typeof:Jx,type:e,compare:t===void 0?null:t}};pe.startTransition=function(e){var t=Fl.transition;Fl.transition={};try{e()}finally{Fl.transition=t}};pe.unstable_act=Q_;pe.useCallback=function(e,t){return Ct.current.useCallback(e,t)};pe.useContext=function(e){return Ct.current.useContext(e)};pe.useDebugValue=function(){};pe.useDeferredValue=function(e){return Ct.current.useDeferredValue(e)};pe.useEffect=function(e,t){return Ct.current.useEffect(e,t)};pe.useId=function(){return Ct.current.useId()};pe.useImperativeHandle=function(e,t,n){return Ct.current.useImperativeHandle(e,t,n)};pe.useInsertionEffect=function(e,t){return Ct.current.useInsertionEffect(e,t)};pe.useLayoutEffect=function(e,t){return Ct.current.useLayoutEffect(e,t)};pe.useMemo=function(e,t){return Ct.current.useMemo(e,t)};pe.useReducer=function(e,t,n){return Ct.current.useReducer(e,t,n)};pe.useRef=function(e){return Ct.current.useRef(e)};pe.useState=function(e){return Ct.current.useState(e)};pe.useSyncExternalStore=function(e,t,n){return Ct.current.useSyncExternalStore(e,t,n)};pe.useTransition=function(){return Ct.current.useTransition()};pe.version="18.3.1";H_.exports=pe;var M=H_.exports;const J=Hs(M),ok=Hx({__proto__:null,default:J},[M]);/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var ak=M,lk=Symbol.for("react.element"),uk=Symbol.for("react.fragment"),ck=Object.prototype.hasOwnProperty,dk=ak.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,fk={key:!0,ref:!0,__self:!0,__source:!0};function J_(e,t,n){var r,s={},i=null,o=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)ck.call(t,r)&&!fk.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)s[r]===void 0&&(s[r]=t[r]);return{$$typeof:lk,type:e,key:i,ref:o,props:s,_owner:dk.current}}mc.Fragment=uk;mc.jsx=J_;mc.jsxs=J_;V_.exports=mc;var KB=V_.exports,eS={exports:{}},Xt={},tS={exports:{}},nS={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */(function(e){function t(C,L){var H=C.length;C.push(L);e:for(;0<H;){var ue=H-1>>>1,Ne=C[ue];if(0<s(Ne,L))C[ue]=L,C[H]=Ne,H=ue;else break e}}function n(C){return C.length===0?null:C[0]}function r(C){if(C.length===0)return null;var L=C[0],H=C.pop();if(H!==L){C[0]=H;e:for(var ue=0,Ne=C.length,Qt=Ne>>>1;ue<Qt;){var ht=2*(ue+1)-1,hn=C[ht],Rt=ht+1,mn=C[Rt];if(0>
vendor: 10,332 bytes, lines 25-34
25s(hn,H))Rt<Ne&&0>s(mn,hn)?(C[ue]=mn,C[Rt]=H,ue=Rt):(C[ue]=hn,C[ht]=H,ue=ht);else if(Rt<Ne&&0>s(mn,H))C[ue]=mn,C[Rt]=H,ue=Rt;else break e}}return L}function s(C,L){var H=C.sortIndex-L.sortIndex;return H!==0?H:C.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var l=[],u=[],d=1,c=null,f=3,p=!1,y=!1,v=!1,S=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(C){for(var L=n(u);L!==null;){if(L.callback===null)r(u);else if(L.startTime<=C)r(u),L.sortIndex=L.expirationTime,t(l,L);else break;L=n(u)}}function _(C){if(v=!1,g(C),!y)if(n(l)!==null)y=!0,q(w);else{var L=n(u);L!==null&&V(_,L.startTime-C)}}function w(C,L){y=!1,v&&(v=!1,m(T),T=-1),p=!0;var H=f;try{for(g(L),c=n(l);c!==null&&(!(c.expirationTime>L)||C&&!P());){var ue=c.callback;if(typeof ue=="function"){c.callback=null,f=c.priorityLevel;var Ne=ue(c.expirationTime<=L);L=e.unstable_now(),typeof Ne=="function"?c.callback=Ne:c===n(l)&&r(l),g(L)}else r(l);c=n(l)}if(c!==null)var Qt=!0;else{var ht=n(u);ht!==null&&V(_,ht.startTime-L),Qt=!1}return Qt}finally{c=null,f=H,p=!1}}var x=!1,b=null,T=-1,R=5,k=-1;function P(){return!(e.unstable_now()-k<R)}function A(){if(b!==null){var C=e.unstable_now();k=C;var L=!0;try{L=b(!0,C)}finally{L?N():(x=!1,b=null)}}else x=!1}var N;if(typeof h=="function")N=function(){h(A)};else if(typeof MessageChannel<"u"){var z=new MessageChannel,G=z.port2;z.port1.onmessage=A,N=function(){G.postMessage(null)}}else N=function(){S(A,0)};function q(C){b=C,x||(x=!0,N())}function V(C,L){T=S(function(){C(e.unstable_now())},L)}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(C){C.callback=null},e.unstable_continueExecution=function(){y||p||(y=!0,q(w))},e.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<C?Math.floor(1e3/C):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(C){switch(f){case 1:case 2:case 3:var L=3;break;default:L=f}var H=f;f=L;try{return C()}finally{f=H}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(C,L){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var H=f;f=C;try{return L()}finally{f=H}},e.unstable_scheduleCallback=function(C,L,H){var ue=e.unstable_now();switch(typeof H=="object"&&H!==null?(H=H.delay,H=typeof H=="number"&&0<H?ue+H:ue):H=ue,C){case 1:var Ne=-1;break;case 2:Ne=250;break;case 5:Ne=1073741823;break;case 4:Ne=1e4;break;default:Ne=5e3}return Ne=H+Ne,C={id:d++,callback:L,priorityLevel:C,startTime:H,expirationTime:Ne,sortIndex:-1},H>ue?(C.sortIndex=H,t(u,C),n(l)===null&&C===n(u)&&(v?(m(T),T=-1):v=!0,V(_,H-ue))):(C.sortIndex=Ne,t(l,C),y||p||(y=!0,q(w))),C},e.unstable_shouldYield=P,e.unstable_wrapCallback=function(C){var L=f;return function(){var H=f;f=L;try{return C.apply(this,arguments)}finally{f=H}}}})(nS);tS.exports=nS;var pk=tS.exports;/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var hk=M,qt=pk;function D(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;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."}var rS=new Set,ua={};function Ws(e,t){Fi(e,t),Fi(e+"Capture",t)}function Fi(e,t){for(ua[e]=t,e=0;e<t.length;e++)rS.add(t[e])}var ar=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ef=Object.prototype.hasOwnProperty,mk=/^[: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][: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]*$/,lg={},ug={};function gk(e){return Ef.call(ug,e)?!0:Ef.call(lg,e)?!1:mk.test(e)?ug[e]=!0:(lg[e]=!0,!1)}function yk(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function vk(e,t,n,r){if(t===null||typeof t>"u"||yk(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function It(e,t,n,r,s,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var pt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){pt[e]=new It(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];pt[t]=new It(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){pt[e]=new It(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){pt[e]=new It(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){pt[e]=new It(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){pt[e]=new It(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){pt[e]=new It(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){pt[e]=new It(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){pt[e]=new It(e,5,!1,e.toLowerCase(),null,!1,!1)});var yh=/[\-:]([a-z])/g;function vh(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(yh,vh);pt[t]=new It(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(yh,vh);pt[t]=new It(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(yh,vh);pt[t]=new It(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){pt[e]=new It(e,1,!1,e.toLowerCase(),null,!1,!1)});pt.xlinkHref=new It("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){pt[e]=new It(e,1,!1,e.toLowerCase(),null,!0,!0)});function _h(e,t,n,r){var s=pt.hasOwnProperty(t)?pt[t]:null;(s!==null?s.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(vk(t,n,s,r)&&(n=null),r||s===null?gk(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):s.mustUseProperty?e[s.propertyName]=n===null?s.type===3?!1:"":n:(t=s.attributeName,r=s.attributeNamespace,n===null?e.removeAttribute(t):(s=s.type,n=s===3||s===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var _r=hk.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,rl=Symbol.for("react.element"),ci=Symbol.for("react.portal"),di=Symbol.for("react.fragment"),Sh=Symbol.for("react.strict_mode"),wf=Symbol.for("react.profiler"),sS=Symbol.for("react.provider"),iS=Symbol.for("react.context"),Eh=Symbol.for("react.forward_ref"),Tf=Symbol.for("react.suspense"),xf=Symbol.for("react.suspense_list"),wh=Symbol.for("react.memo"),Tr=Symbol.for("react.lazy"),oS=Symbol.for("react.offscreen"),cg=Symbol.iterator;function bo(e){return e===null||typeof e!="object"?null:(e=cg&&e[cg]||e["@@iterator"],typeof e=="function"?e:null)}var Ue=Object.assign,gd;function zo(e){if(gd===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);gd=t&&t[1]||""}return` 34`+gd+e}var yd=!1;function vd(e,t){if(!e||yd)return"";yd=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 14,090 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var s=u.stack.split(` 35`),i=r.stack.split(` 36`),o=s.length-1,a=i.length-1;1<=o&&0<=a&&s[o]!==i[a];)a--;for(;1<=o&&0<=a;o--,a--)if(s[o]!==i[a]){if(o!==1||a!==1)do if(o--,a--,0>a||s[o]!==i[a]){var l=` 37`+s[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=o&&0<=a);break}}}finally{yd=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?zo(e):""}function _k(e){switch(e.tag){case 5:return zo(e.type);case 16:return zo("Lazy");case 13:return zo("Suspense");case 19:return zo("SuspenseList");case 0:case 2:case 15:return e=vd(e.type,!1),e;case 11:return e=vd(e.type.render,!1),e;case 1:return e=vd(e.type,!0),e;default:return""}}function kf(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case di:return"Fragment";case ci:return"Portal";case wf:return"Profiler";case Sh:return"StrictMode";case Tf:return"Suspense";case xf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case iS:return(e.displayName||"Context")+".Consumer";case sS:return(e._context.displayName||"Context")+".Provider";case Eh:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case wh:return t=e.displayName||null,t!==null?t:kf(e.type)||"Memo";case Tr:t=e._payload,e=e._init;try{return kf(e(t))}catch{}}return null}function Sk(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return kf(t);case 8:return t===Sh?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Zr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function aS(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ek(e){var t=aS(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function sl(e){e._valueTracker||(e._valueTracker=Ek(e))}function lS(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=aS(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function fu(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function bf(e,t){var n=t.checked;return Ue({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function dg(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Zr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function uS(e,t){t=t.checked,t!=null&&_h(e,"checked",t,!1)}function Cf(e,t){uS(e,t);var n=Zr(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?If(e,t.type,n):t.hasOwnProperty("defaultValue")&&If(e,t.type,Zr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function fg(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function If(e,t,n){(t!=="number"||fu(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Bo=Array.isArray;function Ci(e,t,n,r){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Zr(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,r&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function Of(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(D(91));return Ue({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function pg(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(D(92));if(Bo(n)){if(1<n.length)throw Error(D(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Zr(n)}}function cS(e,t){var n=Zr(t.value),r=Zr(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function hg(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function dS(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Rf(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?dS(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var il,fS=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,s){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,s)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(il=il||document.createElement("div"),il.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=il.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ca(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ho={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},wk=["Webkit","ms","Moz","O"];Object.keys(Ho).forEach(function(e){wk.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ho[t]=Ho[e]})});function pS(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ho.hasOwnProperty(e)&&Ho[e]?(""+t).trim():t+"px"}function hS(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,s=pS(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,s):e[n]=s}}var Tk=Ue({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Af(e,t){if(t){if(Tk[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(D(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(D(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(D(61))}if(t.style!=null&&typeof t.style!="object")throw Error(D(62))}}function Mf(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 Pf=null;function Th(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Nf=null,Ii=null,Oi=null;function mg(e){if(e=ja(e)){if(typeof Nf!="function")throw Error(D(280));var t=e.stateNode;t&&(t=Sc(t),Nf(e.stateNode,e.type,t))}}function mS(e){Ii?Oi?Oi.push(e):Oi=[e]:Ii=e}function gS(){if(Ii){var e=Ii,t=Oi;if(Oi=Ii=null,mg(e),t)for(e=0;e<t.length;e++)mg(t[e])}}function yS(e,t){return e(t)}function vS(){}var _d=!1;function _S(e,t,n){if(_d)return e(t,n);_d=!0;try{return yS(e,t,n)}finally{_d=!1,(Ii!==null||Oi!==null)&&(vS(),gS())}}function da(e,t){var n=e.stateNode;if(n===null)return null;var r=Sc(n);if(r===null)return null;n=r[t];e: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 e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(D(231,t,typeof n));return n}var Lf=!1;if(ar)try{var Co={};Object.defineProperty(Co,"passive",{get:function(){Lf=!0}}),window.addEventListener("test",Co,Co),window.removeEventListener("test",Co,Co)}catch{Lf=!1}function xk(e,t,n,r,s,i,o,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var Wo=!1,pu=null,hu=!1,Df=null,kk={onError:function(e){Wo=!0,pu=e}};function bk(e,t,n,r,s,i,o,a,l){Wo=!1,pu=null,xk.apply(kk,arguments)}function Ck(e,t,n,r,s,i,o,a,l){if(bk.apply(this,arguments),Wo){if(Wo){var u=pu;Wo=!1,pu=null}else throw Error(D(198));hu||(hu=!0,Df=u)}}function Gs(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 SS(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 gg(e){if(Gs(e)!==e)throw Error(D(188))}function Ik(e){var t=e.alternate;if(!t){if(t=Gs(e),t===null)throw Error(D(188));return t!==e?null:e}for(var n=e,r=t;;){var s=n.return;if(s===null)break;var i=s.alternate;if(i===null){if(r=s.return,r!==null){n=r;continue}break}if(s.child===i.child){for(i=s.child;i;){if(i===n)return gg(s),e;if(i===r)return gg(s),t;i=i.sibling}throw Error(D(188))}if(n.return!==r.return)n=s,r=i;else{for(var o=!1,a=s.child;a;){if(a===n){o=!0,n=s,r=i;break}if(a===r){o=!0,r=s,n=i;break}a=a.sibling}if(!o){for(a=i.child;a;){if(a===n){o=!0,n=i,r=s;break}if(a===r){o=!0,r=i,n=s;break}a=a.sibling}if(!o)throw Error(D(189))}}if(n.alternate!==r)throw Error(D(190))}if(n.tag!==3)throw Error(D(188));return n.stateNode.current===n?e:t}function ES(e){return e=Ik(e),e!==null?wS(e):null}function wS(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=wS(e);if(t!==null)return t;e=e.sibling}return null}var TS=qt.unstable_scheduleCallback,yg=qt.unstable_cancelCallback,Ok=qt.unstable_shouldYield,Rk=qt.unstable_requestPaint,He=qt.unstable_now,Ak=qt.unstable_getCurrentPriorityLevel,xh=qt.unstable_ImmediatePriority,xS=qt.unstable_UserBlockingPriority,mu=qt.unstable_NormalPriority,Mk=qt.unstable_LowPriority,kS=qt.unstable_IdlePriority,gc=null,Vn=null;function Pk(e){if(Vn&&typeof Vn.onCommitFiberRoot=="function")try{Vn.onCommitFiberRoot(gc,e,void 0,(e.current.flags&128)===128)}catch{}}var On=Math.clz32?Math.clz32:Dk,Nk=Math.log,Lk=Math.LN2;function Dk(e){return e>>>=0,e===0?32:31-(Nk(e)/Lk|0)|0}var ol=64,al=4194304;function Uo(e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function gu(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,s=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~s;a!==0?r=Uo(a):(i&=o,i!==0&&(r=Uo(i)))}else o=n&~s,o!==0?r=Uo(o):i!==0&&(r=Uo(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&s)&&(s=r&-r,i=t&-t,s>=i||s===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-On(t),s=1<<n,r|=e[n],t&=~s;return r}function $k(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64: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:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Fk(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,s=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-On(i),a=1<<o,l=s[o];l===-1?(!(a&n)||a&r)&&(s[o]=$k(a,t)):l<=t&&(e.expiredLanes|=a),i&=~a}}function $f(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function bS(){var e=ol;return ol<<=1,!(ol&4194240)&&(ol=64),e}function Sd(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}
vendor: 3,030 bytes, line 37
37function Ba(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-On(t),e[t]=n}function zk(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var s=31-On(n),i=1<<s;t[s]=0,r[s]=-1,e[s]=-1,n&=~i}}function kh(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-On(n),s=1<<r;s&t|e[r]&t&&(e[r]|=t),n&=~s}}var xe=0;function CS(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var IS,bh,OS,RS,AS,Ff=!1,ll=[],zr=null,Br=null,Ur=null,fa=new Map,pa=new Map,Ar=[],Bk="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 submit".split(" ");function vg(e,t){switch(e){case"focusin":case"focusout":zr=null;break;case"dragenter":case"dragleave":Br=null;break;case"mouseover":case"mouseout":Ur=null;break;case"pointerover":case"pointerout":fa.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":pa.delete(t.pointerId)}}function Io(e,t,n,r,s,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[s]},t!==null&&(t=ja(t),t!==null&&bh(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function Uk(e,t,n,r,s){switch(t){case"focusin":return zr=Io(zr,e,t,n,r,s),!0;case"dragenter":return Br=Io(Br,e,t,n,r,s),!0;case"mouseover":return Ur=Io(Ur,e,t,n,r,s),!0;case"pointerover":var i=s.pointerId;return fa.set(i,Io(fa.get(i)||null,e,t,n,r,s)),!0;case"gotpointercapture":return i=s.pointerId,pa.set(i,Io(pa.get(i)||null,e,t,n,r,s)),!0}return!1}function MS(e){var t=ws(e.target);if(t!==null){var n=Gs(t);if(n!==null){if(t=n.tag,t===13){if(t=SS(n),t!==null){e.blockedOn=t,AS(e.priority,function(){OS(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function zl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=zf(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Pf=r,n.target.dispatchEvent(r),Pf=null}else return t=ja(n),t!==null&&bh(t),e.blockedOn=n,!1;t.shift()}return!0}function _g(e,t,n){zl(e)&&n.delete(t)}function jk(){Ff=!1,zr!==null&&zl(zr)&&(zr=null),Br!==null&&zl(Br)&&(Br=null),Ur!==null&&zl(Ur)&&(Ur=null),fa.forEach(_g),pa.forEach(_g)}function Oo(e,t){e.blockedOn===t&&(e.blockedOn=null,Ff||(Ff=!0,qt.unstable_scheduleCallback(qt.unstable_NormalPriority,jk)))}function ha(e){function t(s){return Oo(s,e)}if(0<ll.length){Oo(ll[0],e);for(var n=1;n<ll.length;n++){var r=ll[n];r.blockedOn===e&&(r.blockedOn=null)}}for(zr!==null&&Oo(zr,e),Br!==null&&Oo(Br,e),Ur!==null&&Oo(Ur,e),fa.forEach(t),pa.forEac
vendor: 11,458 bytes, line 37
37h(t),n=0;n<Ar.length;n++)r=Ar[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Ar.length&&(n=Ar[0],n.blockedOn===null);)MS(n),n.blockedOn===null&&Ar.shift()}var Ri=_r.ReactCurrentBatchConfig,yu=!0;function Vk(e,t,n,r){var s=xe,i=Ri.transition;Ri.transition=null;try{xe=1,Ch(e,t,n,r)}finally{xe=s,Ri.transition=i}}function Hk(e,t,n,r){var s=xe,i=Ri.transition;Ri.transition=null;try{xe=4,Ch(e,t,n,r)}finally{xe=s,Ri.transition=i}}function Ch(e,t,n,r){if(yu){var s=zf(e,t,n,r);if(s===null)Rd(e,t,r,vu,n),vg(e,r);else if(Uk(s,e,t,n,r))r.stopPropagation();else if(vg(e,r),t&4&&-1<Bk.indexOf(e)){for(;s!==null;){var i=ja(s);if(i!==null&&IS(i),i=zf(e,t,n,r),i===null&&Rd(e,t,r,vu,n),i===s)break;s=i}s!==null&&r.stopPropagation()}else Rd(e,t,r,null,n)}}var vu=null;function zf(e,t,n,r){if(vu=null,e=Th(r),e=ws(e),e!==null)if(t=Gs(e),t===null)e=null;else if(n=t.tag,n===13){if(e=SS(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 vu=e,null}function PS(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ak()){case xh:return 1;case xS:return 4;case mu:case Mk:return 16;case kS:return 536870912;default:return 16}default:return 16}}var Nr=null,Ih=null,Bl=null;function NS(){if(Bl)return Bl;var e,t=Ih,n=t.length,r,s="value"in Nr?Nr.value:Nr.textContent,i=s.length;for(e=0;e<n&&t[e]===s[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===s[i-r];r++);return Bl=s.slice(e,1<r?1-r:void 0)}function Ul(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 ul(){return!0}function Sg(){return!1}function Kt(e){function t(n,r,s,i,o){this._reactName=n,this._targetInst=s,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?ul:Sg,this.isPropagationStopped=Sg,this}return Ue(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=ul)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ul)},persist:function(){},isPersistent:ul}),t}var lo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Oh=Kt(lo),Ua=Ue({},lo,{view:0,detail:0}),Wk=Kt(Ua),Ed,wd,Ro,yc=Ue({},Ua,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Rh,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!==Ro&&(Ro&&e.type==="mousemove"?(Ed=e.screenX-Ro.screenX,wd=e.screenY-Ro.screenY):wd=Ed=0,Ro=e),Ed)},movementY:function(e){return"movementY"in e?e.movementY:wd}}),Eg=Kt(yc),Gk=Ue({},yc,{dataTransfer:0}),qk=Kt(Gk),Yk=Ue({},Ua,{relatedTarget:0}),Td=Kt(Yk),Xk=Ue({},lo,{animationName:0,elapsedTime:0,pseudoElement:0}),Kk=Kt(Xk),Zk=Ue({},lo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Qk=Kt(Zk),Jk=Ue({},lo,{data:0}),wg=Kt(Jk),e1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},t1={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"},n1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function r1(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=n1[e])?!!t[e]:!1}function Rh(){return r1}var s1=Ue({},Ua,{key:function(e){if(e.key){var t=e1[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ul(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?t1[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Rh,charCode:function(e){return e.type==="keypress"?Ul(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ul(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),i1=Kt(s1),o1=Ue({},yc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Tg=Kt(o1),a1=Ue({},Ua,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Rh}),l1=Kt(a1),u1=Ue({},lo,{propertyName:0,elapsedTime:0,pseudoElement:0}),c1=Kt(u1),d1=Ue({},yc,{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}),f1=Kt(d1),p1=[9,13,27,32],Ah=ar&&"CompositionEvent"in window,Go=null;ar&&"documentMode"in document&&(Go=document.documentMode);var h1=ar&&"TextEvent"in window&&!Go,LS=ar&&(!Ah||Go&&8<Go&&11>=Go),xg=" ",kg=!1;function DS(e,t){switch(e){case"keyup":return p1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $S(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var fi=!1;function m1(e,t){switch(e){case"compositionend":return $S(t);case"keypress":return t.which!==32?null:(kg=!0,xg);case"textInput":return e=t.data,e===xg&&kg?null:e;default:return null}}function g1(e,t){if(fi)return e==="compositionend"||!Ah&&DS(e,t)?(e=NS(),Bl=Ih=Nr=null,fi=!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 LS&&t.locale!=="ko"?null:t.data;default:return null}}var y1={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 bg(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!y1[e.type]:t==="textarea"}function FS(e,t,n,r){mS(r),t=_u(t,"onChange"),0<t.length&&(n=new Oh("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qo=null,ma=null;function v1(e){XS(e,0)}function vc(e){var t=mi(e);if(lS(t))return e}function _1(e,t){if(e==="change")return t}var zS=!1;if(ar){var xd;if(ar){var kd="oninput"in document;if(!kd){var Cg=document.createElement("div");Cg.setAttribute("oninput","return;"),kd=typeof Cg.oninput=="function"}xd=kd}else xd=!1;zS=xd&&(!document.documentMode||9<document.documentMode)}function Ig(){qo&&(qo.detachEvent("onpropertychange",BS),ma=qo=null)}function BS(e){if(e.propertyName==="value"&&vc(ma)){var t=[];FS(t,ma,e,Th(e)),_S(v1,t)}}function S1(e,t,n){e==="focusin"?(Ig(),qo=t,ma=n,qo.attachEvent("onpropertychange",BS)):e==="focusout"&&Ig()}function E1(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return vc(ma)}function w1(e,t){if(e==="click")return vc(t)}function T1(e,t){if(e==="input"||e==="change")return vc(t)}function x1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var An=typeof Object.is=="function"?Object.is:x1;function ga(e,t){if(An(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)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 s=n[r];if(!Ef.call(t,s)||!An(e[s],t[s]))return!1}return!0}function Og(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Rg(e,t){var n=Og(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}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Og(n)}}function US(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?US(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function jS(){for(var e=window,t=fu();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=fu(e.document)}return t}function Mh(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")}function k1(e){var t=jS(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&US(n.ownerDocument.documentElement,n)){if(r!==null&&Mh(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var s=n.textContent.length,i=Math.min(r.start,s);r=r.end===void 0?i:Math.min(r.end,s),!e.extend&&i>r&&(s=r,r=i,i=s),s=Rg(n,i);var o=Rg(n,r);s&&o&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var b1=ar&&"documentMode"in document&&11>=document.documentMode,pi=null,Bf=null,Yo=null,Uf=!1;function Ag(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Uf||pi==null||pi!==fu(r)||(r=pi,"selectionStart"in r&&Mh(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,352 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),Yo&&ga(Yo,r)||(Yo=r,r=_u(Bf,"onSelect"),0<r.length&&(t=new Oh("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=pi)))}function cl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var hi={animationend:cl("Animation","AnimationEnd"),animationiteration:cl("Animation","AnimationIteration"),animationstart:cl("Animation","AnimationStart"),transitionend:cl("Transition","TransitionEnd")},bd={},VS={};ar&&(VS=document.createElement("div").style,"AnimationEvent"in window||(delete hi.animationend.animation,delete hi.animationiteration.animation,delete hi.animationstart.animation),"TransitionEvent"in window||delete hi.transitionend.transition);function _c(e){if(bd[e])return bd[e];if(!hi[e])return e;var t=hi[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in VS)return bd[e]=t[n];return e}var HS=_c("animationend"),WS=_c("animationiteration"),GS=_c("animationstart"),qS=_c("transitionend"),YS=new Map,Mg="abort auxClick 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(" ");function os(e,t){YS.set(e,t),Ws(t,[e])}for(var Cd=0;Cd<Mg.length;Cd++){var Id=Mg[Cd],C1=Id.toLowerCase(),I1=Id[0].toUpperCase()+Id.slice(1);os(C1,"on"+I1)}os(HS,"onAnimationEnd");os(WS,"onAnimationIteration");os(GS,"onAnimationStart");os("dblclick","onDoubleClick");os("focusin","onFocus");os("focusout","onBlur");os(qS,"onTransitionEnd");Fi("onMouseEnter",["mouseout","mouseover"]);Fi("onMouseLeave",["mouseout","mouseover"]);Fi("onPointerEnter",["pointerout","pointerover"]);Fi("onPointerLeave",["pointerout","pointerover"]);Ws("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ws("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ws("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ws("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ws("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ws("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var jo="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(" "),O1=new Set("cancel close invalid load scroll toggle".split(" ").concat(jo));function Pg(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Ck(r,t,void 0,e),e.currentTarget=null}function XS(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],s=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var a=r[o],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==i&&s.isPropagationStopped())break e;Pg(s,a,u),i=l}else for(o=0;o<r.length;o++){if(a=r[o],l=a.instance,u=a.currentTarget,a=a.listener,l!==i&&s.isPropagationStopped())break e;Pg(s,a,u),i=l}}}if(hu)throw e=Df,hu=!1,Df=null,e}function Me(e,t){var n=t[Gf];n===void 0&&(n=t[Gf]=new Set);var r=e+"__bubble";n.has(r)||(KS(t,e,2,!1),n.add(r))}function Od(e,t,n){var r=0;t&&(r|=4),KS(n,e,r,t)}var dl="_reactListening"+Math.random().toString(36).slice(2);function ya(e){if(!e[dl]){e[dl]=!0,rS.forEach(function(n){n!=="selectionchange"&&(O1.has(n)||Od(n,!1,e),Od(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[dl]||(t[dl]=!0,Od("selectionchange",!1,t))}}function KS(e,t,n,r){switch(PS(t)){case 1:var s=Vk;break;case 4:s=Hk;break;default:s=Ch}n=s.bind(null,t,n,e),s=void 0,!Lf||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),r?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}
vendor: 4,454 bytes, line 37
37function Rd(e,t,n,r,s){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var a=r.stateNode.containerInfo;if(a===s||a.nodeType===8&&a.parentNode===s)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&(l=o.stateNode.containerInfo,l===s||l.nodeType===8&&l.parentNode===s))return;o=o.return}for(;a!==null;){if(o=ws(a),o===null)return;if(l=o.tag,l===5||l===6){r=i=o;continue e}a=a.parentNode}}r=r.return}_S(function(){var u=i,d=Th(n),c=[];e:{var f=YS.get(e);if(f!==void 0){var p=Oh,y=e;switch(e){case"keypress":if(Ul(n)===0)break e;case"keydown":case"keyup":p=i1;break;case"focusin":y="focus",p=Td;break;case"focusout":y="blur",p=Td;break;case"beforeblur":case"afterblur":p=Td;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=Eg;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=qk;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=l1;break;case HS:case WS:case GS:p=Kk;break;case qS:p=c1;break;case"scroll":p=Wk;break;case"wheel":p=f1;break;case"copy":case"cut":case"paste":p=Qk;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=Tg}var v=(t&4)!==0,S=!v&&e==="scroll",m=v?f!==null?f+"Capture":null:f;v=[];for(var h=u,g;h!==null;){g=h;var _=g.stateNode;if(g.tag===5&&_!==null&&(g=_,m!==null&&(_=da(h,m),_!=null&&v.push(va(h,_,g)))),S)break;h=h.return}0<v.length&&(f=new p(f,y,null,n,d),c.push({event:f,listeners:v}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",f&&n!==Pf&&(y=n.relatedTarget||n.fromElement)&&(ws(y)||y[lr]))break e;if((p||f)&&(f=d.window===d?d:(f=d.ownerDocument)?f.defaultView||f.parentWindow:window,p?(y=n.relatedTarget||n.toElement,p=u,y=y?ws(y):null,y!==null&&(S=Gs(y),y!==S||y.tag!==5&&y.tag!==6)&&(y=null)):(p=null,y=u),p!==y)){if(v=Eg,_="onMouseLeave",m="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(v=Tg,_="onPointerLeave",m="onPointerEnter",h="pointer"),S=p==null?f:mi(p),g=y==null?f:mi(y),f=new v(_,h+"leave",p,n,d),f.target=S,f.relatedTarget=g,_=null,ws(d)===u&&(v=new v(m,h+"enter",y,n,d),v.target=g,v.relatedTarget=S,_=v),S=_,p&&y)t:{for(v=p,m=y,h=0,g=v;g;g=ei(g))h++;for(g=0,_=m;_;_=ei(_))g++;for(;0<h-g;)v=ei(v),h--;for(;0<g-h;)m=ei(m),g--;for(;h--;){if(v===m||m!==null&&v===m.alternate)break t;v=ei(v),m=ei(m)}v=null}else v=null;p!==null&&Ng(c,f,p,v,!1),y!==null&&S!==null&&Ng(c,S,y,v,!0)}}e:{if(f=u?mi(u):window,p=f.nodeName&&f.nodeName.toLowerCase(),p==="select"||p==="input"&&f.type==="file")var w=_1;else if(bg(f))if(zS)w=T1;else{w=E1;var x=S1}else(p=f.nodeName)&&p.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(w=w1);if(w&&(w=w(e,u))){FS(c,w,n,d);break e}x&&x(e,f,u),e==="focusout"&&(x=f._wrapperState)&&x.controlled&&f.type==="number"&&If(f,"number",f.value)}switch(x=u?mi(u):window,e){case"focusin":(bg(x)||x.contentEditable==="true")&&(pi=x,Bf=u,Yo=null);break;case"focusout":Yo=Bf=pi=null;break;case"mousedown":Uf=!0;break;case"contextmenu":case"mouseup":case"dragend":Uf=!1,Ag(c,n,d);break;case"selectionchange":if(b1)break;case"keydown":case"keyup":Ag(c,n,d)}var b;if(Ah)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else fi?DS(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(LS&&n.locale!=="ko"&&(fi||T!=="onCompositionStart"?T==="onCompositionEnd"&&fi&&(b=NS()):(Nr=d,Ih="value"in Nr?Nr.value:Nr.textContent,fi=!0)),x=_u(u,T),0<x.length&&(T=new wg(T,e,null,n,d),c.push({event:T,listeners:x}),b?T.data=b:(b=$S(n),b!==null&&(T.data=b)))),(b=h1?m1(e,n):g1(e,n))&&(u=_u(u,"onBeforeInput"),0<u.length&&(d=new wg("onBeforeInput","beforeinput",null,n,d),c.push({event:d,listeners:u}),d.data=b))}XS(c,t)})}function va(e,t,n){return{instance:e,listener:t,currentTarget:n}}function _u(e,t){for(var n=t+"Capture",r=[];e!==null;){var s=e,i=s.stateNode;s.tag===5&&i!==null&&(s=i,i=da(e,n),i!=null&&r.unshift(va(e,i,s)),i=da(e,t),i!=null&&r.push(va(e,i,s))),e=e.return}return r}function ei(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}
vendor: 4,594 bytes, lines 37-38
37function Ng(e,t,n,r,s){for(var i=t._reactName,o=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,s?(l=da(n,i),l!=null&&o.unshift(va(n,l,a))):s||(l=da(n,i),l!=null&&o.push(va(n,l,a)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var R1=/\r\n?/g,A1=/\u0000|\uFFFD/g;function Lg(e){return(typeof e=="string"?e:""+e).replace(R1,` 38`).replace(A1,"")}function fl(e,t,n){if(t=Lg(t),Lg(e)!==t&&n)throw Error(D(425))}function Su(){}var jf=null,Vf=null;function Hf(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Wf=typeof setTimeout=="function"?setTimeout:void 0,M1=typeof clearTimeout=="function"?clearTimeout:void 0,Dg=typeof Promise=="function"?Promise:void 0,P1=typeof queueMicrotask=="function"?queueMicrotask:typeof Dg<"u"?function(e){return Dg.resolve(null).then(e).catch(N1)}:Wf;function N1(e){setTimeout(function(){throw e})}function Ad(e,t){var n=t,r=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(r===0){e.removeChild(s),ha(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);ha(t)}function jr(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==="$?")break;if(t==="/$")return null}}return e}function $g(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}var uo=Math.random().toString(36).slice(2),zn="__reactFiber$"+uo,_a="__reactProps$"+uo,lr="__reactContainer$"+uo,Gf="__reactEvents$"+uo,L1="__reactListeners$"+uo,D1="__reactHandles$"+uo;function ws(e){var t=e[zn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[lr]||n[zn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=$g(e);e!==null;){if(n=e[zn])return n;e=$g(e)}return t}e=n,n=e.parentNode}return null}function ja(e){return e=e[zn]||e[lr],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function mi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(D(33))}function Sc(e){return e[_a]||null}var qf=[],gi=-1;function as(e){return{current:e}}function Pe(e){0>gi||(e.current=qf[gi],qf[gi]=null,gi--)}function Re(e,t){gi++,qf[gi]=e.current,e.current=t}var Qr={},St=as(Qr),Dt=as(!1),Ls=Qr;function zi(e,t){var n=e.type.contextTypes;if(!n)return Qr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},i;for(i in n)s[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function $t(e){return e=e.childContextTypes,e!=null}function Eu(){Pe(Dt),Pe(St)}function Fg(e,t,n){if(St.current!==Qr)throw Error(D(168));Re(St,t),Re(Dt,n)}function ZS(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var s in r)if(!(s in t))throw Error(D(108,Sk(e)||"Unknown",s));return Ue({},n,r)}function wu(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Qr,Ls=St.current,Re(St,e),Re(Dt,Dt.current),!0}function zg(e,t,n){var r=e.stateNode;if(!r)throw Error(D(169));n?(e=ZS(e,t,Ls),r.__reactInternalMemoizedMergedChildContext=e,Pe(Dt),Pe(St),Re(St,e)):Pe(Dt),Re(Dt,n)}var tr=null,Ec=!1,Md=!1;function QS(e){tr===null?tr=[e]:tr.push(e)}function $1(e){Ec=!0,QS(e)}function ls(){if(!Md&&tr!==null){Md=!0;var e=0,t=xe;try{var n=tr;for(xe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}tr=null,Ec=!1}catch(s){throw tr!==null&&(tr=tr.slice(e+1)),TS(xh,ls),s}finally{xe=t,Md=!1}}return null}var yi=[],vi=0,Tu=null,xu=0,tn=[],nn=0,Ds=null,nr=1,rr="";function Ss(e,t){yi[vi++]=xu,yi[vi++]=Tu,Tu=e,xu=t}function JS(e,t,n){tn[nn++]=nr,tn[nn++]=rr,tn[nn++]=Ds,Ds=e;var r=nr;e=rr;var s=32-On(r)-1;r&=~(1<<s),n+=1;var i=32-On(t)+s;if(30<i){var o=s-s%5;i=(r&(1<<o)-1).toString(32),r>>=o,s-=o,nr=1<<32-On(t)+s|n<<s|r,rr=i+e}else nr=1<<i|n<<s|r,rr=e}function Ph(e){e.return!==null&&(Ss(e,1),JS(e,1,0))}function Nh(e){for(;e===Tu;)Tu=yi[--vi],yi[vi]=null,xu=yi[--vi],yi[vi]=null;for(;e===Ds;)Ds=tn[--nn],tn[nn]=null,rr=tn[--nn],tn[nn]=null,nr=tn[--nn],tn[nn]=null}var Ht=null,jt=null,De=!1,xn=null;function e0(e,t){var n=on(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Bg(e,t){switch(e.tag){case 5:var n=e.type;
vendor: 15,176 bytes, line 38
38return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ht=e,jt=jr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ht=e,jt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Ds!==null?{id:nr,overflow:rr}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=on(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ht=e,jt=null,!0):!1;default:return!1}}function Yf(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Xf(e){if(De){var t=jt;if(t){var n=t;if(!Bg(e,t)){if(Yf(e))throw Error(D(418));t=jr(n.nextSibling);var r=Ht;t&&Bg(e,t)?e0(r,n):(e.flags=e.flags&-4097|2,De=!1,Ht=e)}}else{if(Yf(e))throw Error(D(418));e.flags=e.flags&-4097|2,De=!1,Ht=e}}}function Ug(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ht=e}function pl(e){if(e!==Ht)return!1;if(!De)return Ug(e),De=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Hf(e.type,e.memoizedProps)),t&&(t=jt)){if(Yf(e))throw t0(),Error(D(418));for(;t;)e0(e,t),t=jr(t.nextSibling)}if(Ug(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(D(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){jt=jr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}jt=null}}else jt=Ht?jr(e.stateNode.nextSibling):null;return!0}function t0(){for(var e=jt;e;)e=jr(e.nextSibling)}function Bi(){jt=Ht=null,De=!1}function Lh(e){xn===null?xn=[e]:xn.push(e)}var F1=_r.ReactCurrentBatchConfig;function Ao(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(D(309));var r=n.stateNode}if(!r)throw Error(D(147,e));var s=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var a=s.refs;o===null?delete a[i]:a[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(D(284));if(!n._owner)throw Error(D(290,e))}return e}function hl(e,t){throw e=Object.prototype.toString.call(t),Error(D(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function jg(e){var t=e._init;return t(e._payload)}function n0(e){function t(m,h){if(e){var g=m.deletions;g===null?(m.deletions=[h],m.flags|=16):g.push(h)}}function n(m,h){if(!e)return null;for(;h!==null;)t(m,h),h=h.sibling;return null}function r(m,h){for(m=new Map;h!==null;)h.key!==null?m.set(h.key,h):m.set(h.index,h),h=h.sibling;return m}function s(m,h){return m=Gr(m,h),m.index=0,m.sibling=null,m}function i(m,h,g){return m.index=g,e?(g=m.alternate,g!==null?(g=g.index,g<h?(m.flags|=2,h):g):(m.flags|=2,h)):(m.flags|=1048576,h)}function o(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,h,g,_){return h===null||h.tag!==6?(h=zd(g,m.mode,_),h.return=m,h):(h=s(h,g),h.return=m,h)}function l(m,h,g,_){var w=g.type;return w===di?d(m,h,g.props.children,_,g.key):h!==null&&(h.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Tr&&jg(w)===h.type)?(_=s(h,g.props),_.ref=Ao(m,h,g),_.return=m,_):(_=Yl(g.type,g.key,g.props,null,m.mode,_),_.ref=Ao(m,h,g),_.return=m,_)}function u(m,h,g,_){return h===null||h.tag!==4||h.stateNode.containerInfo!==g.containerInfo||h.stateNode.implementation!==g.implementation?(h=Bd(g,m.mode,_),h.return=m,h):(h=s(h,g.children||[]),h.return=m,h)}function d(m,h,g,_,w){return h===null||h.tag!==7?(h=Rs(g,m.mode,_,w),h.return=m,h):(h=s(h,g),h.return=m,h)}function c(m,h,g){if(typeof h=="string"&&h!==""||typeof h=="number")return h=zd(""+h,m.mode,g),h.return=m,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case rl:return g=Yl(h.type,h.key,h.props,null,m.mode,g),g.ref=Ao(m,null,h),g.return=m,g;case ci:return h=Bd(h,m.mode,g),h.return=m,h;case Tr:var _=h._init;return c(m,_(h._payload),g)}if(Bo(h)||bo(h))return h=Rs(h,m.mode,g,null),h.return=m,h;hl(m,h)}return null}function f(m,h,g,_){var w=h!==null?h.key:null;if(typeof g=="string"&&g!==""||typeof g=="number")return w!==null?null:a(m,h,""+g,_);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case rl:return g.key===w?l(m,h,g,_):null;case ci:return g.key===w?u(m,h,g,_):null;case Tr:return w=g._init,f(m,h,w(g._payload),_)}if(Bo(g)||bo(g))return w!==null?null:d(m,h,g,_,null);hl(m,g)}return null}function p(m,h,g,_,w){if(typeof _=="string"&&_!==""||typeof _=="number")return m=m.get(g)||null,a(h,m,""+_,w);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case rl:return m=m.get(_.key===null?g:_.key)||null,l(h,m,_,w);case ci:return m=m.get(_.key===null?g:_.key)||null,u(h,m,_,w);case Tr:var x=_._init;return p(m,h,g,x(_._payload),w)}if(Bo(_)||bo(_))return m=m.get(g)||null,d(h,m,_,w,null);hl(h,_)}return null}function y(m,h,g,_){for(var w=null,x=null,b=h,T=h=0,R=null;b!==null&&T<g.length;T++){b.index>T?(R=b,b=null):R=b.sibling;var k=f(m,b,g[T],_);if(k===null){b===null&&(b=R);break}e&&b&&k.alternate===null&&t(m,b),h=i(k,h,T),x===null?w=k:x.sibling=k,x=k,b=R}if(T===g.length)return n(m,b),De&&Ss(m,T),w;if(b===null){for(;T<g.length;T++)b=c(m,g[T],_),b!==null&&(h=i(b,h,T),x===null?w=b:x.sibling=b,x=b);return De&&Ss(m,T),w}for(b=r(m,b);T<g.length;T++)R=p(b,m,T,g[T],_),R!==null&&(e&&R.alternate!==null&&b.delete(R.key===null?T:R.key),h=i(R,h,T),x===null?w=R:x.sibling=R,x=R);return e&&b.forEach(function(P){return t(m,P)}),De&&Ss(m,T),w}function v(m,h,g,_){var w=bo(g);if(typeof w!="function")throw Error(D(150));if(g=w.call(g),g==null)throw Error(D(151));for(var x=w=null,b=h,T=h=0,R=null,k=g.next();b!==null&&!k.done;T++,k=g.next()){b.index>T?(R=b,b=null):R=b.sibling;var P=f(m,b,k.value,_);if(P===null){b===null&&(b=R);break}e&&b&&P.alternate===null&&t(m,b),h=i(P,h,T),x===null?w=P:x.sibling=P,x=P,b=R}if(k.done)return n(m,b),De&&Ss(m,T),w;if(b===null){for(;!k.done;T++,k=g.next())k=c(m,k.value,_),k!==null&&(h=i(k,h,T),x===null?w=k:x.sibling=k,x=k);return De&&Ss(m,T),w}for(b=r(m,b);!k.done;T++,k=g.next())k=p(b,m,T,k.value,_),k!==null&&(e&&k.alternate!==null&&b.delete(k.key===null?T:k.key),h=i(k,h,T),x===null?w=k:x.sibling=k,x=k);return e&&b.forEach(function(A){return t(m,A)}),De&&Ss(m,T),w}function S(m,h,g,_){if(typeof g=="object"&&g!==null&&g.type===di&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case rl:e:{for(var w=g.key,x=h;x!==null;){if(x.key===w){if(w=g.type,w===di){if(x.tag===7){n(m,x.sibling),h=s(x,g.props.children),h.return=m,m=h;break e}}else if(x.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Tr&&jg(w)===x.type){n(m,x.sibling),h=s(x,g.props),h.ref=Ao(m,x,g),h.return=m,m=h;break e}n(m,x);break}else t(m,x);x=x.sibling}g.type===di?(h=Rs(g.props.children,m.mode,_,g.key),h.return=m,m=h):(_=Yl(g.type,g.key,g.props,null,m.mode,_),_.ref=Ao(m,h,g),_.return=m,m=_)}return o(m);case ci:e:{for(x=g.key;h!==null;){if(h.key===x)if(h.tag===4&&h.stateNode.containerInfo===g.containerInfo&&h.stateNode.implementation===g.implementation){n(m,h.sibling),h=s(h,g.children||[]),h.return=m,m=h;break e}else{n(m,h);break}else t(m,h);h=h.sibling}h=Bd(g,m.mode,_),h.return=m,m=h}return o(m);case Tr:return x=g._init,S(m,h,x(g._payload),_)}if(Bo(g))return y(m,h,g,_);if(bo(g))return v(m,h,g,_);hl(m,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,h!==null&&h.tag===6?(n(m,h.sibling),h=s(h,g),h.return=m,m=h):(n(m,h),h=zd(g,m.mode,_),h.return=m,m=h),o(m)):n(m,h)}return S}var Ui=n0(!0),r0=n0(!1),ku=as(null),bu=null,_i=null,Dh=null;function $h(){Dh=_i=bu=null}function Fh(e){var t=ku.current;Pe(ku),e._currentValue=t}function Kf(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ai(e,t){bu=e,Dh=_i=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Nt=!0),e.firstContext=null)}function un(e){var t=e._currentValue;if(Dh!==e)if(e={context:e,memoizedValue:t,next:null},_i===null){if(bu===null)throw Error(D(308));_i=e,bu.dependencies={lanes:0,firstContext:e}}else _i=_i.next=e;return t}var Ts=null;function zh(e){Ts===null?Ts=[e]:Ts.push(e)}function s0(e,t,n,r){var s=t.interleaved;return s===null?(n.next=n,zh(t)):(n.next=s.next,s.next=n),t.interleaved=n,ur(e,r)}function ur(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var xr=!1;function Bh(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function i0(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function sr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Vr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,_e&2){var s=r.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),r.pending=t,ur(e,n)}return s=r.interleaved,s===null?(t.next=t,zh(r)):(t.next=s.next,s.next=t),r.interleaved=t,ur(e,n)}function jl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,kh(e,n)}}function Vg(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var s=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?s=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?s=i=t:i=i.next=t}else s=i=t;n={baseState:r.baseState,firstBaseUpdate:s,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Cu(e,t,n,r){var s=e.updateQueue;xr=!1;var i=s.firstBaseUpdate,o=s.lastBaseUpdate,a=s.shared.pending;if(a!==null){s.shared.pending=null;var l=a,u=l.next;l.next=null,o===null?i=u:o.next=u,o=l;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==o&&(a===null?d.firstBaseUpdate=u:a.next=u,d.lastBaseUpdate=l))}if(i!==null){var c=s.baseState;o=0,d=u=l=null,a=i;do{var f=a.lane,p=a.eventTime;if((r&f)===f){d!==null&&(d=d.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var y=e,v=a;switch(f=t,p=n,v.tag){case 1:if(y=v.payload,typeof y=="function"){c=y.call(p,c,f);break e}c=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=v.payload,f=typeof y=="function"?y.call(p,c,f):y,f==null)break e;c=Ue({},c,f);break e;case 2:xr=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=s.effects,f===null?s.effects=[a]:f.push(a))}else p={eventTime:p,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(u=d=p,l=c):d=d.next=p,o|=f;if(a=a.next,a===null){if(a=s.shared.pending,a===null)break;f=a,a=f.next,f.next=null,s.lastBaseUpdate=f,s.shared.pending=null}}while(!0);if(d===null&&(l=c),s.baseState=l,s.firstBaseUpdate=u,s.lastBaseUpdate=d,t=s.shared.interleaved,t!==null){s=t;do o|=s.lane,s=s.next;while(s!==t)}else i===null&&(s.shared.lanes=0);Fs|=o,e.lanes=o,e.memoizedState=c}}function Hg(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],s=r.callback;if(s!==null){if(r.callback=null,r=n,typeof s!="function")throw Error(D(191,s));s.call(r)}}}var Va={},Hn=as(Va),Sa=as(Va),Ea=as(Va);function xs(e){if(e===Va)throw Error(D(174));return e}function Uh(e,t){switch(Re(Ea,t),Re(Sa,e),Re(Hn,Va),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Rf(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Rf(t,e)}Pe(Hn),Re(Hn,t)}function ji(){Pe(Hn),Pe(Sa),Pe(Ea)}function o0(e){xs(Ea.current);var t=xs(Hn.current),n=Rf(t,e.type);t!==n&&(Re(Sa,e),Re(Hn,n))}function jh(e){Sa.current===e&&(Pe(Hn),Pe(Sa))}var $e=as(0);function Iu(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==="$?"||n.data==="$!"))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}var Pd=[];function Vh(){for(var e=0;e<Pd.length;e++)Pd[e]._workInProgressVersionPrimary=null;Pd.length=0}var Vl=_r.ReactCurrentDispatcher,Nd=_r.ReactCurrentBatchConfig,$s=0,ze=null,Qe=null,it=null,Ou=!1,Xo=!1,wa=0,z1=0;function mt(){throw Error(D(321))}function Hh(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!An(e[n],t[n]))return!1;return!0}function Wh(e,t,n,r,s,i){if($s=i,ze=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Vl.current=e===null||e.memoizedState===null?V1:H1,e=n(r,s),Xo){i=0;do{if(Xo=!1,wa=0,25<=i)throw Error(D(301));i+=1,it=Qe=null,t.updateQueue=null,Vl.current=W1,e=n(r,s)}while(Xo)}if(Vl.current=Ru,t=Qe!==null&&Qe.next!==null,$s=0,it=Qe=ze=null,Ou=!1,t)throw Error(D(300));return e}function Gh(){var e=wa!==0;return wa=0,e}function Dn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return it===null?ze.memoizedState=it=e:it=it.next=e,it}function cn(){if(Qe===null){var e=ze.alternate;e=e!==null?e.memoizedState:null}else e=Qe.next;var t=it===null?ze.memoizedState:it.next;if(t!==null)it=t,Qe=e;else{if(e===null)throw Error(D(310));Qe=e,e={memoizedState:Qe.memoizedState,baseState:Qe.baseState,baseQueue:Qe.baseQueue,queue:Qe.queue,next:null},it===null?ze.memoizedState=it=e:it=it.next=e}return it}function Ta(e,t){return typeof t=="function"?t(e):t}function Ld(e){var t=cn(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=Qe,s=r.baseQueue,i=n.pending;if(i!==null){if(s!==null){var o=s.next;s.next=i.next,i.next=o}r.baseQueue=s=i,n.pending=null}if(s!==null){i=s.next,r=r.baseState;var a=o=null,l=null,u=i;do{var d=u.lane;if(($s&d)===d)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var c={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=c,o=r):l=l.next=c,ze.lanes|=d,Fs|=d}u=u.next}while(u!==null&&u!==i);l===null?o=r:l.next=a,An(r,t.memoizedState)||(Nt=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){s=e;do i=s.lane,ze.lanes|=i,Fs|=i,s=s.next;while(s!==e)}else s===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Dd(e){var t=cn(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=n.dispatch,s=n.pending,i=t.memoizedState;if(s!==null){n.pending=null;var o=s=s.next;do i=e(i,o.action),o=o.next;while(o!==s);An(i,t.memoizedState)||(Nt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function a0(){}function l0(e,t){var n=ze,r=cn(),s=t(),i=!An(r.memoizedState,s);if(i&&(r.memoizedState=s,Nt=!0),r=r.queue,qh(d0.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||it!==null&&it.memoizedState.tag&1){if(n.flags|=2048,xa(9,c0.bind(null,n,r,s,t),void 0,null),ot===null)throw Error(D(349));
vendor: 4,230 bytes, line 38
38$s&30||u0(n,t,s)}return s}function u0(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ze.updateQueue,t===null?(t={lastEffect:null,stores:null},ze.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function c0(e,t,n,r){t.value=n,t.getSnapshot=r,f0(t)&&p0(e)}function d0(e,t,n){return n(function(){f0(t)&&p0(e)})}function f0(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!An(e,n)}catch{return!0}}function p0(e){var t=ur(e,1);t!==null&&Rn(t,e,1,-1)}function Wg(e){var t=Dn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ta,lastRenderedState:e},t.queue=e,e=e.dispatch=j1.bind(null,ze,e),[t.memoizedState,e]}function xa(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ze.updateQueue,t===null?(t={lastEffect:null,stores:null},ze.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function h0(){return cn().memoizedState}function Hl(e,t,n,r){var s=Dn();ze.flags|=e,s.memoizedState=xa(1|t,n,void 0,r===void 0?null:r)}function wc(e,t,n,r){var s=cn();r=r===void 0?null:r;var i=void 0;if(Qe!==null){var o=Qe.memoizedState;if(i=o.destroy,r!==null&&Hh(r,o.deps)){s.memoizedState=xa(t,n,i,r);return}}ze.flags|=e,s.memoizedState=xa(1|t,n,i,r)}function Gg(e,t){return Hl(8390656,8,e,t)}function qh(e,t){return wc(2048,8,e,t)}function m0(e,t){return wc(4,2,e,t)}function g0(e,t){return wc(4,4,e,t)}function y0(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function v0(e,t,n){return n=n!=null?n.concat([e]):null,wc(4,4,y0.bind(null,t,e),n)}function Yh(){}function _0(e,t){var n=cn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Hh(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function S0(e,t){var n=cn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Hh(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function E0(e,t,n){return $s&21?(An(n,t)||(n=bS(),ze.lanes|=n,Fs|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Nt=!0),e.memoizedState=n)}function B1(e,t){var n=xe;xe=n!==0&&4>n?n:4,e(!0);var r=Nd.transition;Nd.transition={};try{e(!1),t()}finally{xe=n,Nd.transition=r}}function w0(){return cn().memoizedState}function U1(e,t,n){var r=Wr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},T0(e))x0(t,n);else if(n=s0(e,t,n,r),n!==null){var s=xt();Rn(n,e,r,s),k0(n,t,r)}}function j1(e,t,n){var r=Wr(e),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(T0(e))x0(t,s);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,a=i(o,n);if(s.hasEagerState=!0,s.eagerState=a,An(a,o)){var l=t.interleaved;l===null?(s.next=s,zh(t)):(s.next=l.next,l.next=s),t.interleaved=s;return}}catch{}finally{}n=s0(e,t,s,r),n!==null&&(s=xt(),Rn(n,e,r,s),k0(n,t,r))}}function T0(e){var t=e.alternate;return e===ze||t!==null&&t===ze}function x0(e,t){Xo=Ou=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function k0(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,kh(e,n)}}var Ru={readContext:un,useCallback:mt,useContext:mt,useEffect:mt,useImperativeHandle:mt,useInsertionEffect:mt,useLayoutEffect:mt,useMemo:mt,useReducer:mt,useRef:mt,useState:mt,useDebugValue:mt,useDeferredValue:mt,useTransition:mt,useMutableSource:mt,useSyncExternalStore:mt,useId:mt,unstable_isNewReconciler:!1},V1={readContext:un,useCallback:function(e,t){return Dn().memoizedState=[e,t===void 0?null:t],e},useContext:un,useEffect:Gg,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Hl(4194308,4,y0.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Hl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Hl(4,2,e,t)},useMemo:function(e,t){var n=Dn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Dn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=U1.bind(null,ze,e),[r.memoizedState,e]}
vendor: 5,548 bytes, lines 38-40
38,useRef:function(e){var t=Dn();return e={current:e},t.memoizedState=e},useState:Wg,useDebugValue:Yh,useDeferredValue:function(e){return Dn().memoizedState=e},useTransition:function(){var e=Wg(!1),t=e[0];return e=B1.bind(null,e[1]),Dn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ze,s=Dn();if(De){if(n===void 0)throw Error(D(407));n=n()}else{if(n=t(),ot===null)throw Error(D(349));$s&30||u0(r,t,n)}s.memoizedState=n;var i={value:n,getSnapshot:t};return s.queue=i,Gg(d0.bind(null,r,i,e),[e]),r.flags|=2048,xa(9,c0.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Dn(),t=ot.identifierPrefix;if(De){var n=rr,r=nr;n=(r&~(1<<32-On(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=wa++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=z1++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},H1={readContext:un,useCallback:_0,useContext:un,useEffect:qh,useImperativeHandle:v0,useInsertionEffect:m0,useLayoutEffect:g0,useMemo:S0,useReducer:Ld,useRef:h0,useState:function(){return Ld(Ta)},useDebugValue:Yh,useDeferredValue:function(e){var t=cn();return E0(t,Qe.memoizedState,e)},useTransition:function(){var e=Ld(Ta)[0],t=cn().memoizedState;return[e,t]},useMutableSource:a0,useSyncExternalStore:l0,useId:w0,unstable_isNewReconciler:!1},W1={readContext:un,useCallback:_0,useContext:un,useEffect:qh,useImperativeHandle:v0,useInsertionEffect:m0,useLayoutEffect:g0,useMemo:S0,useReducer:Dd,useRef:h0,useState:function(){return Dd(Ta)},useDebugValue:Yh,useDeferredValue:function(e){var t=cn();return Qe===null?t.memoizedState=e:E0(t,Qe.memoizedState,e)},useTransition:function(){var e=Dd(Ta)[0],t=cn().memoizedState;return[e,t]},useMutableSource:a0,useSyncExternalStore:l0,useId:w0,unstable_isNewReconciler:!1};function En(e,t){if(e&&e.defaultProps){t=Ue({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Zf(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Ue({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Tc={isMounted:function(e){return(e=e._reactInternals)?Gs(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=xt(),s=Wr(e),i=sr(r,s);i.payload=t,n!=null&&(i.callback=n),t=Vr(e,i,s),t!==null&&(Rn(t,e,s,r),jl(t,e,s))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=xt(),s=Wr(e),i=sr(r,s);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Vr(e,i,s),t!==null&&(Rn(t,e,s,r),jl(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=xt(),r=Wr(e),s=sr(n,r);s.tag=2,t!=null&&(s.callback=t),t=Vr(e,s,r),t!==null&&(Rn(t,e,r,n),jl(t,e,r))}};function qg(e,t,n,r,s,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,o):t.prototype&&t.prototype.isPureReactComponent?!ga(n,r)||!ga(s,i):!0}function b0(e,t,n){var r=!1,s=Qr,i=t.contextType;return typeof i=="object"&&i!==null?i=un(i):(s=$t(t)?Ls:St.current,r=t.contextTypes,i=(r=r!=null)?zi(e,s):Qr),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Tc,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=i),t}function Yg(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&&Tc.enqueueReplaceState(t,t.state,null)}function Qf(e,t,n,r){var s=e.stateNode;s.props=n,s.state=e.memoizedState,s.refs={},Bh(e);var i=t.contextType;typeof i=="object"&&i!==null?s.context=un(i):(i=$t(t)?Ls:St.current,s.context=zi(e,i)),s.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Zf(e,t,i,n),s.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(t=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),t!==s.state&&Tc.enqueueReplaceState(s,s.state,null),Cu(e,n,s,r),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function Vi(e,t){try{var n="",r=t;do n+=_k(r),r=r.return;while(r);var s=n}catch(i){s=` 39Error generating stack: `+i.message+` 40`+i.stack}return{value:e,source:t,stack:s,digest:null}}function $d(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Jf(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var G1=typeof WeakMap=="function"?WeakMap:Map;function C0(e,t,n){n=sr(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Mu||(Mu=!0,up=r),Jf(e,t)},n}function I0(e,t,n){n=sr(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var s=t.value;n.payload=function(){return r(s)},n.callback=function(){Jf(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Jf(e,t),typeof r!="function"&&(Hr===null?Hr=new Set([this]):Hr.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Xg(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new G1;var s=new Set;r.set(t,s)}else s=r.get(t),s===void 0&&(s=new Set,r.set(t,s));s.has(n)||(s.add(n),e=ob.bind(null,e,t,n),t.then(e,e))}function Kg(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}
vendor: 10,061 bytes, line 40
40function Zg(e,t,n,r,s){return e.mode&1?(e.flags|=65536,e.lanes=s,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=sr(-1,1),t.tag=2,Vr(n,t,1))),n.lanes|=1),e)}var q1=_r.ReactCurrentOwner,Nt=!1;function wt(e,t,n,r){t.child=e===null?r0(t,null,n,r):Ui(t,e.child,n,r)}function Qg(e,t,n,r,s){n=n.render;var i=t.ref;return Ai(t,s),r=Wh(e,t,n,r,i,s),n=Gh(),e!==null&&!Nt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,cr(e,t,s)):(De&&n&&Ph(t),t.flags|=1,wt(e,t,r,s),t.child)}function Jg(e,t,n,r,s){if(e===null){var i=n.type;return typeof i=="function"&&!nm(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,O0(e,t,i,r,s)):(e=Yl(n.type,null,r,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&s)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:ga,n(o,r)&&e.ref===t.ref)return cr(e,t,s)}return t.flags|=1,e=Gr(i,r),e.ref=t.ref,e.return=t,t.child=e}function O0(e,t,n,r,s){if(e!==null){var i=e.memoizedProps;if(ga(i,r)&&e.ref===t.ref)if(Nt=!1,t.pendingProps=r=i,(e.lanes&s)!==0)e.flags&131072&&(Nt=!0);else return t.lanes=e.lanes,cr(e,t,s)}return ep(e,t,n,r,s)}function R0(e,t,n){var r=t.pendingProps,s=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Re(Ei,zt),zt|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Re(Ei,zt),zt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Re(Ei,zt),zt|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Re(Ei,zt),zt|=r;return wt(e,t,s,n),t.child}function A0(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ep(e,t,n,r,s){var i=$t(n)?Ls:St.current;return i=zi(t,i),Ai(t,s),n=Wh(e,t,n,r,i,s),r=Gh(),e!==null&&!Nt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,cr(e,t,s)):(De&&r&&Ph(t),t.flags|=1,wt(e,t,n,s),t.child)}function ey(e,t,n,r,s){if($t(n)){var i=!0;wu(t)}else i=!1;if(Ai(t,s),t.stateNode===null)Wl(e,t),b0(t,n,r),Qf(t,n,r,s),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var l=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=un(u):(u=$t(n)?Ls:St.current,u=zi(t,u));var d=n.getDerivedStateFromProps,c=typeof d=="function"||typeof o.getSnapshotBeforeUpdate=="function";c||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||l!==u)&&Yg(t,o,r,u),xr=!1;var f=t.memoizedState;o.state=f,Cu(t,r,o,s),l=t.memoizedState,a!==r||f!==l||Dt.current||xr?(typeof d=="function"&&(Zf(t,n,d,r),l=t.memoizedState),(a=xr||qg(t,n,a,r,f,l,u))?(c||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=u,r=a):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,i0(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:En(t.type,a),o.props=u,c=t.pendingProps,f=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=un(l):(l=$t(n)?Ls:St.current,l=zi(t,l));var p=n.getDerivedStateFromProps;(d=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==c||f!==l)&&Yg(t,o,r,l),xr=!1,f=t.memoizedState,o.state=f,Cu(t,r,o,s);var y=t.memoizedState;a!==c||f!==y||Dt.current||xr?(typeof p=="function"&&(Zf(t,n,p,r),y=t.memoizedState),(u=xr||qg(t,n,u,r,f,y,l)||!1)?(d||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,y,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,y,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),o.props=r,o.state=y,o.context=l,r=u):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return tp(e,t,n,r,i,s)}function tp(e,t,n,r,s,i){A0(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return s&&zg(t,n,!1),cr(e,t,i);r=t.stateNode,q1.current=t;var a=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Ui(t,e.child,null,i),t.child=Ui(t,null,a,i)):wt(e,t,a,i),t.memoizedState=r.state,s&&zg(t,n,!0),t.child}function M0(e){var t=e.stateNode;t.pendingContext?Fg(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Fg(e,t.context,!1),Uh(e,t.containerInfo)}function ty(e,t,n,r,s){return Bi(),Lh(s),t.flags|=256,wt(e,t,n,r),t.child}var np={dehydrated:null,treeContext:null,retryLane:0};function rp(e){return{baseLanes:e,cachePool:null,transitions:null}}function P0(e,t,n){var r=t.pendingProps,s=$e.current,i=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(s&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),Re($e,s&1),e===null)return Xf(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=bc(o,r,0,null),e=Rs(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=rp(n),t.memoizedState=np,e):Xh(t,o));if(s=e.memoizedState,s!==null&&(a=s.dehydrated,a!==null))return Y1(e,t,o,r,a,s,n);if(i){i=r.fallback,o=t.mode,s=e.child,a=s.sibling;var l={mode:"hidden",children:r.children};return!(o&1)&&t.child!==s?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Gr(s,l),r.subtreeFlags=s.subtreeFlags&14680064),a!==null?i=Gr(a,i):(i=Rs(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?rp(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=np,r}return i=e.child,e=i.sibling,r=Gr(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Xh(e,t){return t=bc({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ml(e,t,n,r){return r!==null&&Lh(r),Ui(t,e.child,null,n),e=Xh(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Y1(e,t,n,r,s,i,o){if(n)return t.flags&256?(t.flags&=-257,r=$d(Error(D(422))),ml(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,s=t.mode,r=bc({mode:"visible",children:r.children},s,0,null),i=Rs(i,s,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Ui(t,e.child,null,o),t.child.memoizedState=rp(o),t.memoizedState=np,i);if(!(t.mode&1))return ml(e,t,o,null);if(s.data==="$!"){if(r=s.nextSibling&&s.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(D(419)),r=$d(i,r,void 0),ml(e,t,o,r)}if(a=(o&e.childLanes)!==0,Nt||a){if(r=ot,r!==null){switch(o&-o){case 4:s=2;break;case 16:s=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:s=32;break;case 536870912:s=268435456;break;default:s=0}s=s&(r.suspendedLanes|o)?0:s,s!==0&&s!==i.retryLane&&(i.retryLane=s,ur(e,s),Rn(r,e,s,-1))}return tm(),r=$d(Error(D(421))),ml(e,t,o,r)}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=ab.bind(null,e),s._reactRetry=t,null):(e=i.treeContext,jt=jr(s.nextSibling),Ht=t,De=!0,xn=null,e!==null&&(tn[nn++]=nr,tn[nn++]=rr,tn[nn++]=Ds,nr=e.id,rr=e.overflow,Ds=t),t=Xh(t,r.children),t.flags|=4096,t)}function ny(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Kf(e.return,t,n)}function Fd(e,t,n,r,s){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:s}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=s)}function N0(e,t,n){var r=t.pendingProps,s=r.revealOrder,i=r.tail;if(wt(e,t,r.children,n),r=$e.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&ny(e,n,t);else if(e.tag===19)ny(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Re($e,r),!(t.mode&1))t.memoizedState=null;else switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&Iu(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),Fd(t,!1,s,n,i);break;case"backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&Iu(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}Fd(t,!0,n,null,i);break;case"together":Fd(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Wl(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function cr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Fs|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(D(153));
vendor: 4,746 bytes, line 40
40if(t.child!==null){for(e=t.child,n=Gr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Gr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function X1(e,t,n){switch(t.tag){case 3:M0(t),Bi();break;case 5:o0(t);break;case 1:$t(t.type)&&wu(t);break;case 4:Uh(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,s=t.memoizedProps.value;Re(ku,r._currentValue),r._currentValue=s;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Re($e,$e.current&1),t.flags|=128,null):n&t.child.childLanes?P0(e,t,n):(Re($e,$e.current&1),e=cr(e,t,n),e!==null?e.sibling:null);Re($e,$e.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return N0(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),Re($e,$e.current),r)break;return null;case 22:case 23:return t.lanes=0,R0(e,t,n)}return cr(e,t,n)}var L0,sp,D0,$0;L0=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};sp=function(){};D0=function(e,t,n,r){var s=e.memoizedProps;if(s!==r){e=t.stateNode,xs(Hn.current);var i=null;switch(n){case"input":s=bf(e,s),r=bf(e,r),i=[];break;case"select":s=Ue({},s,{value:void 0}),r=Ue({},r,{value:void 0}),i=[];break;case"textarea":s=Of(e,s),r=Of(e,r),i=[];break;default:typeof s.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Su)}Af(n,r);var o;n=null;for(u in s)if(!r.hasOwnProperty(u)&&s.hasOwnProperty(u)&&s[u]!=null)if(u==="style"){var a=s[u];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ua.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];if(a=s!=null?s[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(o in a)!a.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&a[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(i||(i=[]),i.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(i=i||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(ua.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Me("scroll",e),i||a===l||(i=[])):(i=i||[]).push(u,l))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};$0=function(e,t,n,r){n!==r&&(t.flags|=4)};function Mo(e,t){if(!De)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 gt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags&14680064,r|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags,r|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function K1(e,t,n){var r=t.pendingProps;switch(Nh(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return gt(t),null;case 1:return $t(t.type)&&Eu(),gt(t),null;case 3:return r=t.stateNode,ji(),Pe(Dt),Pe(St),Vh(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(pl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,xn!==null&&(fp(xn),xn=null))),sp(e,t),gt(t),null;case 5:jh(t);var s=xs(Ea.current);if(n=t.type,e!==null&&t.stateNode!=null)D0(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(D(166));return gt(t),null}if(e=xs(Hn.current),pl(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[zn]=t,r[_a]=i,e=(t.mode&1)!==0,n){case"dialog":Me("cancel",r),Me("close",r);break;case"iframe":case"object":case"embed":Me("load",r);break;case"video":case"audio":for(s=0;s<jo.length;s++)Me(jo[s],r);break;case"source":Me("error",r);break;case"img":case"image":case"link":Me("error",r),Me("load",r);break;case"details":Me("toggle",r);break;case"input":dg(r,i),Me("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Me("invalid",r);break;case"textarea":pg(r,i),Me("invalid",r)}Af(n,i),s=null;for(var o in i)if(i.hasOwnProperty(o)){var a=i[o];
vendor: 32,436 bytes, line 40
40o==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&fl(r.textContent,a,e),s=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&fl(r.textContent,a,e),s=["children",""+a]):ua.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&Me("scroll",r)}switch(n){case"input":sl(r),fg(r,i,!0);break;case"textarea":sl(r),hg(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Su)}r=s,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=dS(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[zn]=t,e[_a]=r,L0(e,t,!1,!1),t.stateNode=e;e:{switch(o=Mf(n,r),n){case"dialog":Me("cancel",e),Me("close",e),s=r;break;case"iframe":case"object":case"embed":Me("load",e),s=r;break;case"video":case"audio":for(s=0;s<jo.length;s++)Me(jo[s],e);s=r;break;case"source":Me("error",e),s=r;break;case"img":case"image":case"link":Me("error",e),Me("load",e),s=r;break;case"details":Me("toggle",e),s=r;break;case"input":dg(e,r),s=bf(e,r),Me("invalid",e);break;case"option":s=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=Ue({},r,{value:void 0}),Me("invalid",e);break;case"textarea":pg(e,r),s=Of(e,r),Me("invalid",e);break;default:s=r}Af(n,s),a=s;for(i in a)if(a.hasOwnProperty(i)){var l=a[i];i==="style"?hS(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&fS(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&ca(e,l):typeof l=="number"&&ca(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(ua.hasOwnProperty(i)?l!=null&&i==="onScroll"&&Me("scroll",e):l!=null&&_h(e,i,l,o))}switch(n){case"input":sl(e),fg(e,r,!1);break;case"textarea":sl(e),hg(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Zr(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Ci(e,!!r.multiple,i,!1):r.defaultValue!=null&&Ci(e,!!r.multiple,r.defaultValue,!0);break;default:typeof s.onClick=="function"&&(e.onclick=Su)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return gt(t),null;case 6:if(e&&t.stateNode!=null)$0(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(D(166));if(n=xs(Ea.current),xs(Hn.current),pl(t)){if(r=t.stateNode,n=t.memoizedProps,r[zn]=t,(i=r.nodeValue!==n)&&(e=Ht,e!==null))switch(e.tag){case 3:fl(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&fl(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[zn]=t,t.stateNode=r}return gt(t),null;case 13:if(Pe($e),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(De&&jt!==null&&t.mode&1&&!(t.flags&128))t0(),Bi(),t.flags|=98560,i=!1;else if(i=pl(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(D(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(D(317));i[zn]=t}else Bi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;gt(t),i=!1}else xn!==null&&(fp(xn),xn=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||$e.current&1?tt===0&&(tt=3):tm())),t.updateQueue!==null&&(t.flags|=4),gt(t),null);case 4:return ji(),sp(e,t),e===null&&ya(t.stateNode.containerInfo),gt(t),null;case 10:return Fh(t.type._context),gt(t),null;case 17:return $t(t.type)&&Eu(),gt(t),null;case 19:if(Pe($e),i=t.memoizedState,i===null)return gt(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)Mo(i,!1);else{if(tt!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Iu(e),o!==null){for(t.flags|=128,Mo(i,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,o=i.alternate,o===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,e=o.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Re($e,$e.current&1|2),t.child}e=e.sibling}i.tail!==null&&He()>Hi&&(t.flags|=128,r=!0,Mo(i,!1),t.lanes=4194304)}else{if(!r)if(e=Iu(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Mo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!De)return gt(t),null}else 2*He()-i.renderingStartTime>Hi&&n!==1073741824&&(t.flags|=128,r=!0,Mo(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=He(),t.sibling=null,n=$e.current,Re($e,r?n&1|2:n&1),t):(gt(t),null);case 22:case 23:return em(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?zt&1073741824&&(gt(t),t.subtreeFlags&6&&(t.flags|=8192)):gt(t),null;case 24:return null;case 25:return null}throw Error(D(156,t.tag))}function Z1(e,t){switch(Nh(t),t.tag){case 1:return $t(t.type)&&Eu(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ji(),Pe(Dt),Pe(St),Vh(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return jh(t),null;case 13:if(Pe($e),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(D(340));Bi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Pe($e),null;case 4:return ji(),null;case 10:return Fh(t.type._context),null;case 22:case 23:return em(),null;case 24:return null;default:return null}}var gl=!1,vt=!1,Q1=typeof WeakSet=="function"?WeakSet:Set,K=null;function Si(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ve(e,t,r)}else n.current=null}function ip(e,t,n){try{n()}catch(r){Ve(e,t,r)}}var ry=!1;function J1(e,t){if(jf=yu,e=jS(),Mh(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var s=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,a=-1,l=-1,u=0,d=0,c=e,f=null;t:for(;;){for(var p;c!==n||s!==0&&c.nodeType!==3||(a=o+s),c!==i||r!==0&&c.nodeType!==3||(l=o+r),c.nodeType===3&&(o+=c.nodeValue.length),(p=c.firstChild)!==null;)f=c,c=p;for(;;){if(c===e)break t;if(f===n&&++u===s&&(a=o),f===i&&++d===r&&(l=o),(p=c.nextSibling)!==null)break;c=f,f=c.parentNode}c=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Vf={focusedElem:e,selectionRange:n},yu=!1,K=t;K!==null;)if(t=K,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,K=e;else for(;K!==null;){t=K;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var v=y.memoizedProps,S=y.memoizedState,m=t.stateNode,h=m.getSnapshotBeforeUpdate(t.elementType===t.type?v:En(t.type,v),S);m.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(D(163))}}catch(_){Ve(t,t.return,_)}if(e=t.sibling,e!==null){e.return=t.return,K=e;break}K=t.return}return y=ry,ry=!1,y}function Ko(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&e)===e){var i=s.destroy;s.destroy=void 0,i!==void 0&&ip(t,n,i)}s=s.next}while(s!==r)}}function xc(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function op(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function F0(e){var t=e.alternate;t!==null&&(e.alternate=null,F0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[zn],delete t[_a],delete t[Gf],delete t[L1],delete t[D1])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function z0(e){return e.tag===5||e.tag===3||e.tag===4}function sy(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||z0(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.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ap(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Su));else if(r!==4&&(e=e.child,e!==null))for(ap(e,t,n),e=e.sibling;e!==null;)ap(e,t,n),e=e.sibling}function lp(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&&(e=e.child,e!==null))for(lp(e,t,n),e=e.sibling;e!==null;)lp(e,t,n),e=e.sibling}var ut=null,wn=!1;function Er(e,t,n){for(n=n.child;n!==null;)B0(e,t,n),n=n.sibling}function B0(e,t,n){if(Vn&&typeof Vn.onCommitFiberUnmount=="function")try{Vn.onCommitFiberUnmount(gc,n)}catch{}switch(n.tag){case 5:vt||Si(n,t);case 6:var r=ut,s=wn;ut=null,Er(e,t,n),ut=r,wn=s,ut!==null&&(wn?(e=ut,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ut.removeChild(n.stateNode));break;case 18:ut!==null&&(wn?(e=ut,n=n.stateNode,e.nodeType===8?Ad(e.parentNode,n):e.nodeType===1&&Ad(e,n),ha(e)):Ad(ut,n.stateNode));break;case 4:r=ut,s=wn,ut=n.stateNode.containerInfo,wn=!0,Er(e,t,n),ut=r,wn=s;break;case 0:case 11:case 14:case 15:if(!vt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){s=r=r.next;do{var i=s,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&ip(n,t,o),s=s.next}while(s!==r)}Er(e,t,n);break;case 1:if(!vt&&(Si(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ve(n,t,a)}Er(e,t,n);break;case 21:Er(e,t,n);break;case 22:n.mode&1?(vt=(r=vt)||n.memoizedState!==null,Er(e,t,n),vt=r):Er(e,t,n);break;default:Er(e,t,n)}}function iy(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Q1),t.forEach(function(r){var s=lb.bind(null,e,r);n.has(r)||(n.add(r),r.then(s,s))})}}function vn(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var s=n[r];try{var i=e,o=t,a=o;e:for(;a!==null;){switch(a.tag){case 5:ut=a.stateNode,wn=!1;break e;case 3:ut=a.stateNode.containerInfo,wn=!0;break e;case 4:ut=a.stateNode.containerInfo,wn=!0;break e}a=a.return}if(ut===null)throw Error(D(160));B0(i,o,s),ut=null,wn=!1;var l=s.alternate;l!==null&&(l.return=null),s.return=null}catch(u){Ve(s,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)U0(t,e),t=t.sibling}function U0(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vn(t,e),Nn(e),r&4){try{Ko(3,e,e.return),xc(3,e)}catch(v){Ve(e,e.return,v)}try{Ko(5,e,e.return)}catch(v){Ve(e,e.return,v)}}break;case 1:vn(t,e),Nn(e),r&512&&n!==null&&Si(n,n.return);break;case 5:if(vn(t,e),Nn(e),r&512&&n!==null&&Si(n,n.return),e.flags&32){var s=e.stateNode;try{ca(s,"")}catch(v){Ve(e,e.return,v)}}if(r&4&&(s=e.stateNode,s!=null)){var i=e.memoizedProps,o=n!==null?n.memoizedProps:i,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&uS(s,i),Mf(a,o);var u=Mf(a,i);for(o=0;o<l.length;o+=2){var d=l[o],c=l[o+1];d==="style"?hS(s,c):d==="dangerouslySetInnerHTML"?fS(s,c):d==="children"?ca(s,c):_h(s,d,c,u)}switch(a){case"input":Cf(s,i);break;case"textarea":cS(s,i);break;case"select":var f=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!i.multiple;var p=i.value;p!=null?Ci(s,!!i.multiple,p,!1):f!==!!i.multiple&&(i.defaultValue!=null?Ci(s,!!i.multiple,i.defaultValue,!0):Ci(s,!!i.multiple,i.multiple?[]:"",!1))}s[_a]=i}catch(v){Ve(e,e.return,v)}}break;case 6:if(vn(t,e),Nn(e),r&4){if(e.stateNode===null)throw Error(D(162));s=e.stateNode,i=e.memoizedProps;try{s.nodeValue=i}catch(v){Ve(e,e.return,v)}}break;case 3:if(vn(t,e),Nn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{ha(t.containerInfo)}catch(v){Ve(e,e.return,v)}break;case 4:vn(t,e),Nn(e);break;case 13:vn(t,e),Nn(e),s=e.child,s.flags&8192&&(i=s.memoizedState!==null,s.stateNode.isHidden=i,!i||s.alternate!==null&&s.alternate.memoizedState!==null||(Qh=He())),r&4&&iy(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(vt=(u=vt)||d,vn(t,e),vt=u):vn(t,e),Nn(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(K=e,d=e.child;d!==null;){for(c=K=d;K!==null;){switch(f=K,p=f.child,f.tag){case 0:case 11:case 14:case 15:Ko(4,f,f.return);break;case 1:Si(f,f.return);var y=f.stateNode;if(typeof y.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(v){Ve(r,n,v)}}break;case 5:Si(f,f.return);break;case 22:if(f.memoizedState!==null){ay(c);continue}}p!==null?(p.return=f,K=p):ay(c)}d=d.sibling}e:for(d=null,c=e;;){if(c.tag===5){if(d===null){d=c;try{s=c.stateNode,u?(i=s.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=c.stateNode,l=c.memoizedProps.style,o=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=pS("display",o))}catch(v){Ve(e,e.return,v)}}}else if(c.tag===6){if(d===null)try{c.stateNode.nodeValue=u?"":c.memoizedProps}catch(v){Ve(e,e.return,v)}}else if((c.tag!==22&&c.tag!==23||c.memoizedState===null||c===e)&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===e)break e;for(;c.sibling===null;){if(c.return===null||c.return===e)break e;d===c&&(d=null),c=c.return}d===c&&(d=null),c.sibling.return=c.return,c=c.sibling}}break;case 19:vn(t,e),Nn(e),r&4&&iy(e);break;case 21:break;default:vn(t,e),Nn(e)}}function Nn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(z0(n)){var r=n;break e}n=n.return}throw Error(D(160))}switch(r.tag){case 5:var s=r.stateNode;r.flags&32&&(ca(s,""),r.flags&=-33);var i=sy(e);lp(e,i,s);break;case 3:case 4:var o=r.stateNode.containerInfo,a=sy(e);ap(e,a,o);break;default:throw Error(D(161))}}catch(l){Ve(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function eb(e,t,n){K=e,j0(e)}function j0(e,t,n){for(var r=(e.mode&1)!==0;K!==null;){var s=K,i=s.child;if(s.tag===22&&r){var o=s.memoizedState!==null||gl;if(!o){var a=s.alternate,l=a!==null&&a.memoizedState!==null||vt;a=gl;var u=vt;if(gl=o,(vt=l)&&!u)for(K=s;K!==null;)o=K,l=o.child,o.tag===22&&o.memoizedState!==null?ly(s):l!==null?(l.return=o,K=l):ly(s);for(;i!==null;)K=i,j0(i),i=i.sibling;K=s,gl=a,vt=u}oy(e)}else s.subtreeFlags&8772&&i!==null?(i.return=s,K=i):oy(e)}}function oy(e){for(;K!==null;){var t=K;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:vt||xc(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!vt)if(n===null)r.componentDidMount();else{var s=t.elementType===t.type?n.memoizedProps:En(t.type,n.memoizedProps);r.componentDidUpdate(s,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Hg(t,i,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Hg(t,o,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var c=d.dehydrated;c!==null&&ha(c)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(D(163))}vt||t.flags&512&&op(t)}catch(f){Ve(t,t.return,f)}}if(t===e){K=null;break}if(n=t.sibling,n!==null){n.return=t.return,K=n;break}K=t.return}}function ay(e){for(;K!==null;){var t=K;if(t===e){K=null;break}var n=t.sibling;if(n!==null){n.return=t.return,K=n;break}K=t.return}}function ly(e){for(;K!==null;){var t=K;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{xc(4,t)}catch(l){Ve(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var s=t.return;try{r.componentDidMount()}catch(l){Ve(t,s,l)}}var i=t.return;try{op(t)}catch(l){Ve(t,i,l)}break;case 5:var o=t.return;try{op(t)}catch(l){Ve(t,o,l)}}}catch(l){Ve(t,t.return,l)}if(t===e){K=null;break}var a=t.sibling;if(a!==null){a.return=t.return,K=a;break}K=t.return}}var tb=Math.ceil,Au=_r.ReactCurrentDispatcher,Kh=_r.ReactCurrentOwner,an=_r.ReactCurrentBatchConfig,_e=0,ot=null,Ke=null,ft=0,zt=0,Ei=as(0),tt=0,ka=null,Fs=0,kc=0,Zh=0,Zo=null,Pt=null,Qh=0,Hi=1/0,Qn=null,Mu=!1,up=null,Hr=null,yl=!1,Lr=null,Pu=0,Qo=0,cp=null,Gl=-1,ql=0;function xt(){return _e&6?He():Gl!==-1?Gl:Gl=He()}function Wr(e){return e.mode&1?_e&2&&ft!==0?ft&-ft:F1.transition!==null?(ql===0&&(ql=bS()),ql):(e=xe,e!==0||(e=window.event,e=e===void 0?16:PS(e.type)),e):1}function Rn(e,t,n,r){if(50<Qo)throw Qo=0,cp=null,Error(D(185));Ba(e,n,r),(!(_e&2)||e!==ot)&&(e===ot&&(!(_e&2)&&(kc|=n),tt===4&&Mr(e,ft)),Ft(e,r),n===1&&_e===0&&!(t.mode&1)&&(Hi=He()+500,Ec&&ls()))}function Ft(e,t){var n=e.callbackNode;Fk(e,t);var r=gu(e,e===ot?ft:0);if(r===0)n!==null&&yg(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&yg(n),t===1)e.tag===0?$1(uy.bind(null,e)):QS(uy.bind(null,e)),P1(function(){!(_e&6)&&ls()}),n=null;else{switch(CS(r)){case 1:n=xh;break;case 4:n=xS;break;case 16:n=mu;break;case 536870912:n=kS;break;default:n=mu}n=K0(n,V0.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function V0(e,t){if(Gl=-1,ql=0,_e&6)throw Error(D(327));var n=e.callbackNode;if(Mi()&&e.callbackNode!==n)return null;var r=gu(e,e===ot?ft:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Nu(e,r);else{t=r;var s=_e;_e|=2;var i=W0();(ot!==e||ft!==t)&&(Qn=null,Hi=He()+500,Os(e,t));do try{sb();break}catch(a){H0(e,a)}while(!0);$h(),Au.current=i,_e=s,Ke!==null?t=0:(ot=null,ft=0,t=tt)}if(t!==0){if(t===2&&(s=$f(e),s!==0&&(r=s,t=dp(e,s))),t===1)throw n=ka,Os(e,0),Mr(e,r),Ft(e,He()),n;if(t===6)Mr(e,r);else{if(s=e.current.alternate,!(r&30)&&!nb(s)&&(t=Nu(e,r),t===2&&(i=$f(e),i!==0&&(r=i,t=dp(e,i))),t===1))throw n=ka,Os(e,0),Mr(e,r),Ft(e,He()),n;switch(e.finishedWork=s,e.finishedLanes=r,t){case 0:case 1:throw Error(D(345));case 2:Es(e,Pt,Qn);break;case 3:if(Mr(e,r),(r&130023424)===r&&(t=Qh+500-He(),10<t)){if(gu(e,0)!==0)break;if(s=e.suspendedLanes,(s&r)!==r){xt(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=Wf(Es.bind(null,e,Pt,Qn),t);break}Es(e,Pt,Qn);break;case 4:if(Mr(e,r),(r&4194240)===r)break;for(t=e.eventTimes,s=-1;0<r;){var o=31-On(r);i=1<<o,o=t[o],o>s&&(s=o),r&=~i}if(r=s,r=He()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*tb(r/1960))-r,10<r){e.timeoutHandle=Wf(Es.bind(null,e,Pt,Qn),r);break}Es(e,Pt,Qn);break;case 5:Es(e,Pt,Qn);break;default:throw Error(D(329))}}}return Ft(e,He()),e.callbackNode===n?V0.bind(null,e):null}function dp(e,t){var n=Zo;return e.current.memoizedState.isDehydrated&&(Os(e,t).flags|=256),e=Nu(e,t),e!==2&&(t=Pt,Pt=n,t!==null&&fp(t)),e}function fp(e){Pt===null?Pt=e:Pt.push.apply(Pt,e)}function nb(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var s=n[r],i=s.getSnapshot;s=s.value;try{if(!An(i(),s))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 Mr(e,t){for(t&=~Zh,t&=~kc,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-On(t),r=1<<n;e[n]=-1,t&=~r}}function uy(e){if(_e&6)throw Error(D(327));Mi();var t=gu(e,0);if(!(t&1))return Ft(e,He()),null;var n=Nu(e,t);if(e.tag!==0&&n===2){var r=$f(e);r!==0&&(t=r,n=dp(e,r))}if(n===1)throw n=ka,Os(e,0),Mr(e,t),Ft(e,He()),n;if(n===6)throw Error(D(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Es(e,Pt,Qn),Ft(e,He()),null}function Jh(e,t){var n=_e;_e|=1;try{return e(t)}finally{_e=n,_e===0&&(Hi=He()+500,Ec&&ls())}}function zs(e){Lr!==null&&Lr.tag===0&&!(_e&6)&&Mi();var t=_e;_e|=1;var n=an.transition,r=xe;try{if(an.transition=null,xe=1,e)return e()}finally{xe=r,an.transition=n,_e=t,!(_e&6)&&ls()}}function em(){zt=Ei.current,Pe(Ei)}function Os(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,M1(n)),Ke!==null)for(n=Ke.return;n!==null;){var r=n;switch(Nh(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Eu();break;case 3:ji(),Pe(Dt),Pe(St),Vh();break;case 5:jh(r);break;case 4:ji();break;case 13:Pe($e);break;case 19:Pe($e);break;case 10:Fh(r.type._context);break;case 22:case 23:em()}n=n.return}if(ot=e,Ke=e=Gr(e.current,null),ft=zt=t,tt=0,ka=null,Zh=kc=Fs=0,Pt=Zo=null,Ts!==null){for(t=0;t<Ts.length;t++)if(n=Ts[t],r=n.interleaved,r!==null){n.interleaved=null;var s=r.next,i=n.pending;if(i!==null){var o=i.next;i.next=s,r.next=o}n.pending=r}Ts=null}return e}function H0(e,t){do{var n=Ke;try{if($h(),Vl.current=Ru,Ou){for(var r=ze.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}Ou=!1}if($s=0,it=Qe=ze=null,Xo=!1,wa=0,Kh.current=null,n===null||n.return===null){tt=1,ka=t,Ke=null;break}e:{var i=e,o=n.return,a=n,l=t;if(t=ft,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,d=a,c=d.tag;if(!(d.mode&1)&&(c===0||c===11||c===15)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=Kg(o);if(p!==null){p.flags&=-257,Zg(p,o,a,i,t),p.mode&1&&Xg(i,u,t),t=p,l=u;var y=t.updateQueue;if(y===null){var v=new Set;v.add(l),t.updateQueue=v}else y.add(l);break e}else{if(!(t&1)){Xg(i,u,t),tm();break e}l=Error(D(426))}}else if(De&&a.mode&1){var S=Kg(o);if(S!==null){!(S.flags&65536)&&(S.flags|=256),Zg(S,o,a,i,t),Lh(Vi(l,a));break e}}i=l=Vi(l,a),tt!==4&&(tt=2),Zo===null?Zo=[i]:Zo.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var m=C0(i,l,t);Vg(i,m);break e;case 1:a=l;var h=i.type,g=i.stateNode;if(!(i.flags&128)&&(typeof h.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Hr===null||!Hr.has(g)))){i.flags|=65536,t&=-t,i.lanes|=t;var _=I0(i,a,t);Vg(i,_);break e}}i=i.return}while(i!==null)}q0(n)}catch(w){t=w,Ke===n&&n!==null&&(Ke=n=n.return);continue}break}while(!0)}function W0(){var e=Au.current;return Au.current=Ru,e===null?Ru:e}function tm(){(tt===0||tt===3||tt===2)&&(tt=4),ot===null||!(Fs&268435455)&&!(kc&268435455)||Mr(ot,ft)}function Nu(e,t){var n=_e;_e|=2;var r=W0();(ot!==e||ft!==t)&&(Qn=null,Os(e,t));do try{rb();break}catch(s){H0(e,s)}while(!0);if($h(),_e=n,Au.current=r,Ke!==null)throw Error(D(261));return ot=null,ft=0,tt}function rb(){for(;Ke!==null;)G0(Ke)}function sb(){for(;Ke!==null&&!Ok();)G0(Ke)}function G0(e){var t=X0(e.alternate,e,zt);e.memoizedProps=e.pendingProps,t===null?q0(e):Ke=t,Kh.current=null}function q0(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Z1(n,t),n!==null){n.flags&=32767,Ke=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{tt=6,Ke=null;return}}else if(n=K1(n,t,zt),n!==null){Ke=n;return}if(t=t.sibling,t!==null){Ke=t;return}Ke=t=e}while(t!==null);tt===0&&(tt=5)}function Es(e,t,n){var r=xe,s=an.transition;try{an.transition=null,xe=1,ib(e,t,n,r)}finally{an.transition=s,xe=r}return null}function ib(e,t,n,r){do Mi();while(Lr!==null);if(_e&6)throw Error(D(327));n=e.finishedWork;var s=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(D(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(zk(e,i),e===ot&&(Ke=ot=null,ft=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||yl||(yl=!0,K0(mu,function(){return Mi(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=an.transition,an.transition=null;var o=xe;xe=1;var a=_e;_e|=4,Kh.current=null,J1(e,n),U0(n,e),k1(Vf),yu=!!jf,Vf=jf=null,e.current=n,eb(n),Rk(),_e=a,xe=o,an.transition=i}else e.current=n;if(yl&&(yl=!1,Lr=e,Pu=s),i=e.pendingLanes,i===0&&(Hr=null),Pk(n.stateNode),Ft(e,He()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)s=t[n],r(s.value,{componentStack:s.stack,digest:s.digest});if(Mu)throw Mu=!1,e=up,up=null,e;return Pu&1&&e.tag!==0&&Mi(),i=e.pendingLanes,i&1?e===cp?Qo++:(Qo=0,cp=e):Qo=0,ls(),null}function Mi(){if(Lr!==null){var e=CS(Pu),t=an.transition,n=xe;try{if(an.transition=null,xe=16>e?16:e,Lr===null)var r=!1;else{if(e=Lr,Lr=null,Pu=0,_e&6)throw Error(D(331));var s=_e;for(_e|=4,K=e.current;K!==null;){var i=K,o=i.child;if(K.flags&16){var a=i.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(K=u;K!==null;){var d=K;switch(d.tag){case 0:case 11:case 15:Ko(8,d,i)}var c=d.child;if(c!==null)c.return=d,K=c;else for(;K!==null;){d=K;var f=d.sibling,p=d.return;if(F0(d),d===u){K=null;break}if(f!==null){f.return=p,K=f;break}K=p}}}var y=i.alternate;if(y!==null){var v=y.child;if(v!==null){y.child=null;do{var S=v.sibling;v.sibling=null,v=S}while(v!==null)}}K=i}}if(i.subtreeFlags&2064&&o!==null)o.return=i,K=o;else e:for(;K!==null;){if(i=K,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Ko(9,i,i.return)}var m=i.sibling;if(m!==null){m.return=i.return,K=m;break e}K=i.return}}var h=e.current;for(K=h;K!==null;){o=K;var g=o.child;if(o.subtreeFlags&2064&&g!==null)g.return=o,K=g;else e:for(o=h;K!==null;){if(a=K,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:xc(9,a)}}catch(w){Ve(a,a.return,w)}if(a===o){K=null;break e}var _=a.sibling;if(_!==null){_.return=a.return,K=_;break e}K=a.return}}if(_e=s,ls(),Vn&&typeof Vn.onPostCommitFiberRoot=="function")try{Vn.onPostCommitFiberRoot(gc,e)}catch{}r=!0}return r}finally{xe=n,an.transition=t}}return!1}function cy(e,t,n){t=Vi(n,t),t=C0(e,t,1),e=Vr(e,t,1),t=xt(),e!==null&&(Ba(e,1,t),Ft(e,t))}function Ve(e,t,n){if(e.tag===3)cy(e,e,n);else for(;t!==null;){if(t.tag===3){cy(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Hr===null||!Hr.has(r))){e=Vi(n,e),e=I0(t,e,1),t=Vr(t,e,1),e=xt(),t!==null&&(Ba(t,1,e),Ft(t,e));break}}t=t.return}}function ob(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=xt(),e.pingedLanes|=e.suspendedLanes&n,ot===e&&(ft&n)===n&&(tt===4||tt===3&&(ft&130023424)===ft&&500>He()-Qh?Os(e,0):Zh|=n),Ft(e,t)}function Y0(e,t){t===0&&(e.mode&1?(t=al,al<<=1,!(al&130023424)&&(al=4194304)):t=1);var n=xt();e=ur(e,t),e!==null&&(Ba(e,t,n),Ft(e,n))}function ab(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Y0(e,n)}function lb(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(D(314))}r!==null&&r.delete(t),Y0(e,n)}var X0;X0=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Dt.current)Nt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Nt=!1,X1(e,t,n);Nt=!!(e.flags&131072)}else Nt=!1,De&&t.flags&1048576&&JS(t,xu,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Wl(e,t),e=t.pendingProps;var s=zi(t,St.current);Ai(t,n),s=Wh(null,t,r,e,s,n);var i=Gh();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,$t(r)?(i=!0,wu(t)):i=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,Bh(t),s.updater=Tc,t.stateNode=s,s._reactInternals=t,Qf(t,r,e,n),t=tp(null,t,r,!0,i,n)):(t.tag=0,De&&i&&Ph(t),wt(null,t,s,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Wl(e,t),e=t.pendingProps,s=r._init,r=s(r._payload),t.type=r,s=t.tag=cb(r),e=En(r,e),s){case 0:t=ep(null,t,r,e,n);break e;case 1:t=ey(null,t,r,e,n);break e;case 11:t=Qg(null,t,r,e,n);break e;case 14:t=Jg(null,t,r,En(r.type,e),n);break e}throw Error(D(306,r,""))}return t;case 0:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:En(r,s),ep(e,t,r,s,n);case 1:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:En(r,s),ey(e,t,r,s,n);case 3:e:{if(M0(t),e===null)throw Error(D(387));r=t.pendingProps,i=t.memoizedState,s=i.element,i0(e,t),Cu(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){s=Vi(Error(D(423)),t),t=ty(e,t,r,n,s);break e}else if(r!==s){s=Vi(Error(D(424)),t),t=ty(e,t,r,n,s);break e}else for(jt=jr(t.stateNode.containerInfo.firstChild),Ht=t,De=!0,xn=null,n=r0(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Bi(),r===s){t=cr(e,t,n);break e}wt(e,t,r,n)}t=t.child}return t;case 5:return o0(t),e===null&&Xf(t),r=t.type,s=t.pendingProps,i=e!==null?e.memoizedProps:null,o=s.children,Hf(r,s)?o=null:i!==null&&Hf(r,i)&&(t.flags|=32),A0(e,t),wt(e,t,o,n),t.child;case 6:return e===null&&Xf(t),null;case 13:return P0(e,t,n);case 4:return Uh(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ui(t,null,r,n):wt(e,t,r,n),t.child;case 11:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:En(r,s),Qg(e,t,r,s,n);case 7:return wt(e,t,t.pendingProps,n),t.child;case 8:return wt(e,t,t.pendingProps.children,n),t.child;case 12:return wt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,s=t.pendingProps,i=t.memoizedProps,o=s.value,Re(ku,r._currentValue),r._currentValue=o,i!==null)if(An(i.value,o)){if(i.children===s.children&&!Dt.current){t=cr(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){o=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=sr(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),Kf(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(D(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Kf(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}wt(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,Ai(t,n),s=un(s),r=r(s),t.flags|=1,wt(e,t,r,n),t.child;case 14:return r=t.type,s=En(r,t.pendingProps),s=En(r.type,s),Jg(e,t,r,s,n);case 15:return O0(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:En(r,s),Wl(e,t),t.tag=1,$t(r)?(e=!0,wu(t)):e=!1,Ai(t,n),b0(t,r,s),Qf(t,r,s,n),tp(null,t,r,!0,e,n);case 19:return N0(e,t,n);case 22:return R0(e,t,n)}throw Error(D(156,t.tag))};function K0(e,t){return TS(e,t)}function ub(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.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 on(e,t,n,r){return new ub(e,t,n,r)}function nm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function cb(e){if(typeof e=="function")return nm(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Eh)return 11;if(e===wh)return 14}return 2}function Gr(e,t){var n=e.alternate;return n===null?(n=on(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.deleti
vendor: 9,815 bytes, line 40
40ons=null),n.flags=e.flags&14680064,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}function Yl(e,t,n,r,s,i){var o=2;if(r=e,typeof e=="function")nm(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case di:return Rs(n.children,s,i,t);case Sh:o=8,s|=8;break;case wf:return e=on(12,n,t,s|2),e.elementType=wf,e.lanes=i,e;case Tf:return e=on(13,n,t,s),e.elementType=Tf,e.lanes=i,e;case xf:return e=on(19,n,t,s),e.elementType=xf,e.lanes=i,e;case oS:return bc(n,s,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case sS:o=10;break e;case iS:o=9;break e;case Eh:o=11;break e;case wh:o=14;break e;case Tr:o=16,r=null;break e}throw Error(D(130,e==null?e:typeof e,""))}return t=on(o,n,t,s),t.elementType=e,t.type=r,t.lanes=i,t}function Rs(e,t,n,r){return e=on(7,e,r,t),e.lanes=n,e}function bc(e,t,n,r){return e=on(22,e,r,t),e.elementType=oS,e.lanes=n,e.stateNode={isHidden:!1},e}function zd(e,t,n){return e=on(6,e,null,t),e.lanes=n,e}function Bd(e,t,n){return t=on(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function db(e,t,n,r,s){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Sd(0),this.expirationTimes=Sd(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Sd(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function rm(e,t,n,r,s,i,o,a,l){return e=new db(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=on(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Bh(i),e}function fb(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ci,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Z0(e){if(!e)return Qr;e=e._reactInternals;e:{if(Gs(e)!==e||e.tag!==1)throw Error(D(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if($t(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(D(171))}if(e.tag===1){var n=e.type;if($t(n))return ZS(e,n,t)}return t}function Q0(e,t,n,r,s,i,o,a,l){return e=rm(n,r,!0,e,s,i,o,a,l),e.context=Z0(null),n=e.current,r=xt(),s=Wr(n),i=sr(r,s),i.callback=t??null,Vr(n,i,s),e.current.lanes=s,Ba(e,s,r),Ft(e,r),e}function Cc(e,t,n,r){var s=t.current,i=xt(),o=Wr(s);return n=Z0(n),t.context===null?t.context=n:t.pendingContext=n,t=sr(i,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Vr(s,t,o),e!==null&&(Rn(e,s,o,i),jl(e,s,o)),o}function Lu(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function dy(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function sm(e,t){dy(e,t),(e=e.alternate)&&dy(e,t)}function pb(){return null}var J0=typeof reportError=="function"?reportError:function(e){console.error(e)};function im(e){this._internalRoot=e}Ic.prototype.render=im.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(D(409));Cc(e,t,null,null)};Ic.prototype.unmount=im.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;zs(function(){Cc(null,e,null,null)}),t[lr]=null}};function Ic(e){this._internalRoot=e}Ic.prototype.unstable_scheduleHydration=function(e){if(e){var t=RS();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ar.length&&t!==0&&t<Ar[n].priority;n++);Ar.splice(n,0,e),n===0&&MS(e)}};function om(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Oc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function fy(){}function hb(e,t,n,r,s){if(s){if(typeof r=="function"){var i=r;r=function(){var u=Lu(o);i.call(u)}}var o=Q0(t,r,e,0,null,!1,!1,"",fy);return e._reactRootContainer=o,e[lr]=o.current,ya(e.nodeType===8?e.parentNode:e),zs(),o}for(;s=e.lastChild;)e.removeChild(s);if(typeof r=="function"){var a=r;r=function(){var u=Lu(l);a.call(u)}}var l=rm(e,0,!1,null,null,!1,!1,"",fy);return e._reactRootContainer=l,e[lr]=l.current,ya(e.nodeType===8?e.parentNode:e),zs(function(){Cc(t,l,n,r)}),l}function Rc(e,t,n,r,s){var i=n._reactRootContainer;if(i){var o=i;if(typeof s=="function"){var a=s;s=function(){var l=Lu(o);a.call(l)}}Cc(t,o,e,s)}else o=hb(n,t,e,s,r);return Lu(o)}IS=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Uo(t.pendingLanes);n!==0&&(kh(t,n|1),Ft(t,He()),!(_e&6)&&(Hi=He()+500,ls()))}break;case 13:zs(function(){var r=ur(e,1);if(r!==null){var s=xt();Rn(r,e,1,s)}}),sm(e,1)}};bh=function(e){if(e.tag===13){var t=ur(e,134217728);if(t!==null){var n=xt();Rn(t,e,134217728,n)}sm(e,134217728)}};OS=function(e){if(e.tag===13){var t=Wr(e),n=ur(e,t);if(n!==null){var r=xt();Rn(n,e,t,r)}sm(e,t)}};RS=function(){return xe};AS=function(e,t){var n=xe;try{return xe=e,t()}finally{xe=n}};Nf=function(e,t,n){switch(t){case"input":if(Cf(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var s=Sc(r);if(!s)throw Error(D(90));lS(r),Cf(r,s)}}}break;case"textarea":cS(e,n);break;case"select":t=n.value,t!=null&&Ci(e,!!n.multiple,t,!1)}};yS=Jh;vS=zs;var mb={usingClientEntryPoint:!1,Events:[ja,mi,Sc,mS,gS,Jh]},Po={findFiberByHostInstance:ws,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},gb={bundleType:Po.bundleType,version:Po.version,rendererPackageName:Po.rendererPackageName,rendererConfig:Po.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:_r.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ES(e),e===null?null:e.stateNode},findFiberByHostInstance:Po.findFiberByHostInstance||pb,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var vl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!vl.isDisabled&&vl.supportsFiber)try{gc=vl.inject(gb),Vn=vl}catch{}}Xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=mb;Xt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!om(t))throw Error(D(200));return fb(e,t,null,n)};Xt.createRoot=function(e,t){if(!om(e))throw Error(D(299));var n=!1,r="",s=J0;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=rm(e,1,!1,null,null,n,!1,r,s),e[lr]=t.current,ya(e.nodeType===8?e.parentNode:e),new im(t)};Xt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(D(188)):(e=Object.keys(e).join(","),Error(D(268,e)));return e=ES(t),e=e===null?null:e.stateNode,e};Xt.flushSync=function(e){return zs(e)};Xt.hydrate=function(e,t,n){if(!Oc(t))throw Error(D(200));return Rc(null,e,t,!0,n)};Xt.hydrateRoot=function(e,t,n){if(!om(e))throw Error(D(405));var r=n!=null&&n.hydratedSources||null,s=!1,i="",o=J0;if(n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=Q0(t,null,e,1,n??null,s,!1,i,o),e[lr]=t.current,ya(e),r)for(e=0;e<r.length;e++)n=r[e],s=n._getVersion,s=s(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,s]:t.mutableSourceEagerHydrationData.push(n,s);return new Ic(t)};Xt.render=function(e,t,n){if(!Oc(t))throw Error(D(200));return Rc(null,e,t,!1,n)};Xt.unmountComponentAtNode=function(e){if(!Oc(e))throw Error(D(40));return e._reactRootContainer?(zs(function(){Rc(null,null,e,!1,function(){e._reactRootContainer=null,e[lr]=null})}),!0):!1};Xt.unstable_batchedUpdates=Jh;Xt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Oc(n))throw Error(D(200));if(e==null||e._reactInternals===void 0)throw Error(D(38));return Rc(e,t,n,!1,r)};Xt.version="18.3.1-next-f1338f8080-20240426";function eE(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(eE)}catch(e){console.error(e)}}eE(),eS.exports=Xt;var yb=eS.exports,vb,py=yb;vb=py.createRoot,py.hydrateRoot;const le=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,As="8.55.2",ge=globalThis;function Ac(e,t,n){const r=n||ge,s=r.__SENTRY__=r.__SENTRY__||{},i=s[As]=s[As]||{};return i[e]||(i[e]=t())}const us=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,_b="Sentry Logger ",pp=["debug","info","warn","error","log","assert","trace"],Du={};function cs(e){if(!("console"in ge))return e();const t=ge.console,n={},r=Object.keys(Du);r.forEach(s=>{const i=Du[s];n[s]=t[s],t[s]=i});try{return e()}finally{r.forEach(s=>{t[s]=n[s]})}}function Sb(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};
vendor: 15,163 bytes, lines 40-44
40return us?pp.forEach(n=>{t[n]=(...r)=>{e&&cs(()=>{ge.console[n](`${_b}[${n}]:`,...r)})}}):pp.forEach(n=>{t[n]=()=>{}}),t}const B=Ac("logger",Sb),tE=50,Bs="?",hy=/\(error: (.*)\)/,my=/captureMessage|captureException/;function nE(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,s=0)=>{const i=[],o=n.split(` 41`);for(let a=r;a<o.length;a++){const l=o[a];if(l.length>1024)continue;const u=hy.test(l)?l.replace(hy,"$1"):l;if(!u.match(/\S*Error: /)){for(const d of t){const c=d(u);if(c){i.push(c);break}}if(i.length>=tE+s)break}}return wb(i.slice(s))}}function Eb(e){return Array.isArray(e)?nE(...e):e}function wb(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(_l(t).function||"")&&t.pop(),t.reverse(),my.test(_l(t).function||"")&&(t.pop(),my.test(_l(t).function||"")&&t.pop()),t.slice(0,tE).map(n=>({...n,filename:n.filename||_l(t).filename,function:n.function||Bs}))}function _l(e){return e[e.length-1]||{}}const Ud="<anonymous>";function dr(e){try{return!e||typeof e!="function"?Ud:e.name||Ud}catch{return Ud}}function gy(e){const t=e.exception;if(t){const n=[];try{return t.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}const Xl={},yy={};function ds(e,t){Xl[e]=Xl[e]||[],Xl[e].push(t)}function fs(e,t){if(!yy[e]){yy[e]=!0;try{t()}catch(n){us&&B.error(`Error while instrumenting ${e}`,n)}}}function ln(e,t){const n=e&&Xl[e];if(n)for(const r of n)try{r(t)}catch(s){us&&B.error(`Error while triggering instrumentation handler. 42Type: ${e} 43Name: ${dr(r)} 44Error:`,s)}}let jd=null;function rE(e){const t="error";ds(t,e),fs(t,Tb)}function Tb(){jd=ge.onerror,ge.onerror=function(e,t,n,r,s){return ln("error",{column:r,error:s,line:n,msg:e,url:t}),jd?jd.apply(this,arguments):!1},ge.onerror.__SENTRY_INSTRUMENTED__=!0}let Vd=null;function sE(e){const t="unhandledrejection";ds(t,e),fs(t,xb)}function xb(){Vd=ge.onunhandledrejection,ge.onunhandledrejection=function(e){return ln("unhandledrejection",e),Vd?Vd.apply(this,arguments):!0},ge.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function qs(){return am(ge),ge}function am(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||As,t[As]=t[As]||{}}const iE=Object.prototype.toString;function Mc(e){switch(iE.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return fr(e,Error)}}function co(e,t){return iE.call(e)===`[object ${t}]`}function oE(e){return co(e,"ErrorEvent")}function vy(e){return co(e,"DOMError")}function kb(e){return co(e,"DOMException")}function ir(e){return co(e,"String")}function lm(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function um(e){return e===null||lm(e)||typeof e!="object"&&typeof e!="function"}function Wi(e){return co(e,"Object")}function Pc(e){return typeof Event<"u"&&fr(e,Event)}function bb(e){return typeof Element<"u"&&fr(e,Element)}function Cb(e){return co(e,"RegExp")}function Nc(e){return!!(e&&e.then&&typeof e.then=="function")}function Ib(e){return Wi(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function fr(e,t){try{return e instanceof t}catch{return!1}}function aE(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}const Pi=ge,Ob=80;function pr(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,s=[];let i=0,o=0;const a=" > ",l=a.length;let u;const d=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||Ob;for(;n&&i++<r&&(u=Rb(n,d),!(u==="html"||i>1&&o+s.length*l+u.length>=c));)s.push(u),o+=u.length,n=n.parentNode;return s.reverse().join(a)}catch{return"<unknown>"}}function Rb(e,t){const n=e,r=[];if(!n||!n.tagName)return"";if(Pi.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const s=t&&t.length?t.filter(o=>n.getAttribute(o)).map(o=>[o,n.getAttribute(o)]):null;if(s&&s.length)s.forEach(o=>{r.push(`[${o[0]}="${o[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const o=n.className;if(o&&ir(o)){const a=o.split(/\s+/);for(const l of a)r.push(`.${l}`)}}const i=["aria-label","type","name","title","alt"];for(const o of i){const a=n.getAttribute(o);a&&r.push(`[${o}="${a}"]`)}return r.join("")}function lE(){try{return Pi.document.location.href}catch{return""}}function Ab(e){return Pi.document&&Pi.document.querySelector?Pi.document.querySelector(e):null}function uE(e){if(!Pi.HTMLElement)return null;let t=e;const n=5;for(let r=0;r<n;r++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}function Ni(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function _y(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const s=e[r];try{aE(s)?n.push("[VueViewModel]"):n.push(String(s))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function Mb(e,t,n=!1){return ir(e)?Cb(t)?t.test(e):ir(t)?n?e===t:e.includes(t):!1:!1}function qr(e,t=[],n=!1){return t.some(r=>Mb(e,r,n))}function Lt(e,t,n){if(!(t in e))return;const r=e[t],s=n(r);typeof s=="function"&&cE(s,r);try{e[t]=s}catch{us&&B.log(`Failed to replace method "${t}" in object`,e)}}function dn(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{us&&B.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function cE(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,dn(e,"__sentry_original__",t)}catch{}}function cm(e){return e.__sentry_original__}function dE(e){if(Mc(e))return{message:e.message,name:e.name,stack:e.stack,...Ey(e)};if(Pc(e)){const t={type:e.type,target:Sy(e.target),currentTarget:Sy(e.currentTarget),...Ey(e)};return typeof CustomEvent<"u"&&fr(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function Sy(e){try{return bb(e)?pr(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function Ey(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function Pb(e,t=40){const n=Object.keys(dE(e));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return Ni(r,t);for(let s=n.length;s>0;s--){const i=n.slice(0,s).join(", ");if(!(i.length>t))return s===n.length?i:Ni(i,t)}return""}function nt(e){return hp(e,new Map)}function hp(e,t){if(Nb(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const s of Object.getOwnPropertyNames(e))typeof e[s]<"u"&&(r[s]=hp(e[s],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(s=>{r.push(hp(s,t))}),r}return e}function Nb(e){if(!Wi(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}const fE=1e3;function Ha(){return Date.now()/fE}function Lb(){const{performance:e}=ge;if(!e||!e.now)return Ha;const t=Date.now()-e.now(),n=e.timeOrigin==null?t:e.timeOrigin;return()=>(n+e.now())/fE}const kt=Lb(),bt=(()=>{const{performance:e}=ge;if(!e||!e.now)return;const t=3600*1e3,n=e.now(),r=Date.now(),s=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,i=s<t,o=e.timing&&e.timing.navigationStart,l=typeof o=="number"?Math.abs(o+n-r):t,u=l<t;return i||u?s<=l?e.timeOrigin:o:r})();function Wt(){const e=ge,t=e.crypto||e.msCrypto;let n=()=>Math.random()*16;try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const r=new Uint8Array(1);return t.getRandomValues(r),r[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function pE(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function kr(e){const{message:t,event_id:n}=e;if(t)return t;const r=pE(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function mp(e,t,n){const r=e.exception=e.exception||{},s=r.values=r.values||[],i=s[0]=s[0]||{};i.value||(i.value=t||""),i.type||(i.type="Error")}function Gi(e,t){const n=pE(e);if(!n)return;const r={type:"generic",handled:!0},s=n.mechanism;if(n.mechanism={...r,...s,...t},t&&"data"in t){const i={...s&&s.data,...t.data};n.mechanism.data=i}}function wy(e){if(Db(e))return!0;try{dn(e,"__sentry_captured__",!0)}catch{}return!1}function Db(e){try{return e.__sentry_captured__}catch{}}var Jn;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const r=2;e[e.REJECTED=r]="REJECTED"})(Jn||(Jn={}));function hr(e){return new rn(t=>{t(e)})}function $u(e){return new rn((t,n)=>{n(e)})}class rn{constructor(t){rn.prototype.__init.call(this),rn.prototype.__init2.call(this),rn.prototype.__init3.call(this),rn.prototype.__init4.call(this),this._state=Jn.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new rn((r,s)=>{this._handlers.push([!1,i=>{if(!t)r(i);else try{r(t(i))}catch(o){s(o)}},i=>{if(!n)s(i);else try{r(n(i))}catch(o){s(o)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new rn((n,r)=>{let s,i;return this.then(o=>{i=!1,s=o,t&&t()},o=>{i=!0,s=o,t&&t()}).then(()=>{if(i){r(s);return}n(s)})})}__init(){this._resolve=t=>{this._setResult(Jn.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(Jn.REJECTED,t)}}__init3(){this._setResult=(t,n)=>{if(this._state===Jn.PENDING){if(Nc(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===Jn.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===Jn.RESOLVED&&n[1](this._value),this._state===Jn.REJECTED&&n[2](this._value),n[0]=!0)})}}}function $b(e){const t=kt(),n={sid:Wt(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>zb(n)};return e&&qi(n,e),n}function qi(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||kt(),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:Wt()),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{const n=e.timestamp-e.started;e.duration=n>=0?n: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 Fb(e,t){let n={};e.status==="ok"&&(n={status:"exited"}),qi(e,n)}function zb(e){return nt({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=="number"||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 Jr(){return Wt()}function es(){return Wt().substring(16)}function Lc(e,t,n=2){if(!t||typeof t!="object"||n<=0)return t;if(e&&t&&Object.keys(t).length===0)return e;const r={...e};for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=Lc(r[s],t[s],n-1));return r}const gp="_sentrySpan";function ba(e,t){t?dn(e,gp,t):delete e[gp]}function Fu(e){return e[gp]}const Bb=100;class dm{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Jr(),spanId:es()}}clone(){const t=new dm;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,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._lastEventId=this._lastEventId,ba(t,Fu(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&qi(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const n=typeof t=="function"?t(this):t,[r,s]=n instanceof ts?[n.getScopeData(),n.getRequestSession()]:Wi(n)?[t,t.requestSession]:[],{tags:i,extra:o,user:a,contexts:l,level:u,fingerprint:d=[],propagationContext:c}=r||{};return this._tags={...this._tags,...i},this._extra={...this._extra,...o},this._contexts={...this._contexts,...l},a&&Object.keys(a).length&&(this._user=a),u&&(this._level=u),d.length&&(this._fingerprint=d),c&&(this._propagationContext=c),s&&(this._requestSession=s),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._session=void 0,ba(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Jr()}),this._notifyScopeListeners(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:Bb;if(r<=0)return this;const s={timestamp:Ha(),...t};return this._breadcrumbs.push(s),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client&&this._client.re
44cordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Fu(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=Lc(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext={spanId:es(),...t},this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=n&&n.event_id?n.event_id:Wt();if(!this._client)return B.warn("No client configured on scope - will not capture exception!"),r;const s=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:s,...n,event_id:r},this),r}captureMessage(t,n,r){const s=r&&r.event_id?r.event_id:Wt();if(!this._client)return B.warn("No client configured on scope - will not capture message!"),s;const i=new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:i,...r,event_id:s},this),s}captureEvent(t,n){const r=n&&n.event_id?n.event_id:Wt();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(B.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}const ts=dm;function Ub(){return Ac("defaultCurrentScope",()=>new ts)}function jb(){return Ac("defaultIsolationScope",()=>new ts)}class Vb{constructor(t,n){let r;t?r=t:r=new ts;let s;n?s=n:s=new ts,this._stack=[{scope:r}],this._isolationScope=s}withScope(t){const n=this._pushScope();let r;try{r=t(n)}catch(s){throw this._popScope(),s}return Nc(r)?r.then(s=>(this._popScope(),s),s=>{throw this._popScope(),s}):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function Yi(){const e=qs(),t=am(e);return t.stack=t.stack||new Vb(Ub(),jb())}function Hb(e){return Yi().withScope(e)}function Wb(e,t){const n=Yi();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function Ty(e){return Yi().withScope(()=>e(Yi().getIsolationScope()))}function Gb(){return{withIsolationScope:Ty,withScope:Hb,withSetScope:Wb,withSetIsolationScope:(e,t)=>Ty(t),getCurrentScope:()=>Yi().getScope(),getIsolationScope:()=>Yi().getIsolationScope()}}function fo(e){const t=am(e);return t.acs?t.acs:Gb()}function be(){const e=qs();return fo(e).getCurrentScope()}function fn(){const e=qs();return fo(e).getIsolationScope()}function qb(){return Ac("globalScope",()=>new ts)}function Dc(...e){const t=qs(),n=fo(t);if(e.length===2){const[r,s]=e;return r?n.withSetScope(r,s):n.withScope(s)}return n.withScope(e[0])}function fe(){return be().getClient()}function Yb(e){const t=e.getPropagationContext(),{traceId:n,spanId:r,parentSpanId:s}=t;return nt({trace_id:n,span_id:r,parent_span_id:s})}const Xb="_sentryMetrics";function yp(e){const t=e[Xb];if(!t)return;const n={};for(const[,[r,s]]of t)(n[r]||(n[r]=[])).push(nt(s));return n}const Vt="sentry.source",hE="sentry.sample_rate",mr="sentry.op",Ze="sentry.origin",vp="sentry.idle_span_finish_reason",$c="sentry.measurement_unit",Fc="sentry.measurement_value",xy="sentry.custom_span_name",Kb="sentry.profile_id",fm="sentry.exclusive_time",Zb=0,mE=1,st=2;function Qb(e){if(e<400&&e>=100)return{code:mE};if(e>=400&&e<500)switch(e){case 401:return{code:st,message:"unauthenticated"};case 403:return{code:st,message:"permission_denied"};case 404:return{code:st,message:"not_found"};case 409:return{code:st,message:"already_exists"};case 413:return{code:st,message:"failed_precondition"};case 429:return{code:st,message:"resource_exhausted"};case 499:return{code:st,message:"cancelled"};default:return{code:st,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:st,message:"unimplemented"};case 503:return{code:st,message:"unavailable"};case 504:return{code:st,message:"deadline_exceeded"};default:return{code:st,message:"internal_error"}}return{code:st,message:"unknown_error"}}function gE(e,t){e.setAttribute("http.response.status_code",t);const n=Qb(t);n.message!=="unknown_error"&&e.setStatus(n)}const pm="sentry-",Jb=/^sentry-/,eC=8192;function yE(e){const t=nC(e);if(!t)return;const n=Object.entries(t).reduce((r,[s,i])=>{if(s.match(Jb)){const o=s.slice(pm.length);r[o]=i}return r},{});if(Object.keys(n).length>0)return n}function tC(e){if(!e)return;const t=Object.entries(e).reduce((n,[r,s])=>(s&&(n[`${pm}${r}`]=s),n),{});return rC(t)}function nC(e){if(!(!e||!ir(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,n)=>{const r=ky(n);return Object.entries(r).forEach(([s,i])=>{t[s]=i}),t},{}):ky(e)}function ky(e){return e.split(",").map(t=>t.split("=").map(n=>decodeURIComponent(n.trim()))).reduce((t,[n,r])=>(n&&r&&(t[n]=r),t),{})}function rC(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,r],s)=>{const i=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,o=s===0?i:`${t},${i}`;return o.length>eC?(us&&B.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):o},"")}const vE=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function sC(e){if(!e)return;const t=e.match(vE);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 iC(e,t){const n=sC(e),r=yE(t);if(!n||!n.traceId)return{traceId:Jr(),spanId:es()};const{traceId:s,parentSpanId:i,parentSampled:o}=n,a=es();return{traceId:s,parentSpanId:i,spanId:a,sampled:o,dsc:r||{}}}function _E(e=Jr(),t=es(),n){let r="";return n!==void 0&&(r=n?"-1":"-0"),`${e}-${t}${r}`}const SE=0,EE=1;let by=!1;function oC(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:s,parent_span_id:i,status:o,origin:a}=Se(e);return nt({parent_span_id:i,span_id:t,trace_id:n,data:r,op:s,status:o,origin:a})}function aC(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),s=r?t:Se(e).parent_span_id,i=r?es():t;return nt({parent_span_id:s,span_id:i,trace_id:n})}function lC(e){const{traceId:t,spanId:n}=e.spanContext(),r=Ys(e);return _E(t,n,r)}function Ms(e){return typeof e=="number"?Cy(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?Cy(e.getTime()):kt()}function Cy(e){return e>9999999999?e/1e3:e}function Se(e){if(cC(e))return e.getSpanJSON();try{const{spanId:t,traceId:n}=e.spanContext();if(uC(e)){const{attributes:r,startTime:s,name:i,endTime:o,parentSpanId:a,status:l}=e;return nt({span_id:t,trace_id:n,data:r,description:i,parent_span_id:a,start_timestamp:Ms(s),timestamp:Ms(o)||void 0,status:wE(l),op:r[mr],origin:r[Ze],_metrics_summary:yp(e)})}return{span_id:t,trace_id:n}}catch{return{}}}function uC(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function cC(e){return typeof e.getSpanJSON=="function"}function Ys(e){const{traceFlags:t}=e.spanContext();return t===EE}function wE(e){if(!(!e||e.code===Zb))return e.code===mE?"ok":e.message||"unknown_error"}const Ps="_sentryChildSpans",_p="_sentryRootSpan";function TE(e,t){const n=e[_p]||e;dn(t,_p,n),e[Ps]?e[Ps].add(t):dn(e,Ps,new Set([t]))}function dC(e,t){e[Ps]&&e[Ps].delete(t)}function Kl(e){const t=new Set;function n(r){if(!t.has(r)&&Ys(r)){t.add(r);const s=r[Ps]?Array.from(r[Ps]):[];for(const i of s)n(i)}}return n(e),Array.from(t)}function at(e){return e[_p]||e}function rt(){const e=qs(),t=fo(e);return t.getActiveSpan?t.getActiveSpan():Fu(be())}function xE(){by||(cs(()=>{console.warn("[Sentry] Deprecation warning: Returning null from `beforeSendSpan` will be disallowed from SDK ver
44sion 9.0.0 onwards. The callback will only support mutating spans. To drop certain spans, configure the respective integrations directly.")}),by=!0)}let Iy=!1;function fC(){Iy||(Iy=!0,rE(Sp),sE(Sp))}function Sp(){const e=rt(),t=e&&at(e);if(t){const n="internal_error";le&&B.log(`[Tracing] Root span: ${n} -> Global error occurred`),t.setStatus({code:st,message:n})}}Sp.tag="sentry_tracingErrorCallback";const kE="_sentryScope",bE="_sentryIsolationScope";function pC(e,t,n){e&&(dn(e,bE,n),dn(e,kE,t))}function Oy(e){return{scope:e[kE],isolationScope:e[bE]}}function ns(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=fe(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}class po{constructor(t={}){this._traceId=t.traceId||Jr(),this._spanId=t.spanId||es()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:SE}}end(t){}setAttribute(t,n){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}addEvent(t,n,r){return this}addLink(t){return this}addLinks(t){return this}recordException(t,n){}}const hm="production",CE="_frozenDsc";function Ry(e,t){dn(e,CE,t)}function IE(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},s=nt({environment:n.environment||hm,release:n.release,public_key:r,trace_id:e});return t.emit("createDsc",s),s}function OE(e,t){const n=t.getPropagationContext();return n.dsc||IE(n.traceId,e)}function Xs(e){const t=fe();if(!t)return{};const n=at(e),r=n[CE];if(r)return r;const s=n.spanContext().traceState,i=s&&s.get("sentry.dsc"),o=i&&yE(i);if(o)return o;const a=IE(e.spanContext().traceId,t),l=Se(n),u=l.data||{},d=u[hE];d!=null&&(a.sample_rate=`${d}`);const c=u[Vt],f=l.description;return c!=="url"&&f&&(a.transaction=f),ns()&&(a.sampled=String(Ys(n))),t.emit("createDsc",a,n),a}function hC(e){if(!le)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=Se(e),{spanId:s}=e.spanContext(),i=Ys(e),o=at(e),a=o===e,l=`[Tracing] Starting ${i?"sampled":"unsampled"} ${a?"root ":""}span`,u=[`op: ${n}`,`name: ${t}`,`ID: ${s}`];if(r&&u.push(`parent ID: ${r}`),!a){const{op:d,description:c}=Se(o);u.push(`root ID: ${o.spanContext().spanId}`),d&&u.push(`root op: ${d}`),c&&u.push(`root description: ${c}`)}B.log(`${l} 45 ${u.join(` 46 `)}`)}function mC(e){if(!le)return;const{description:t="< unknown name >",op:n="< unknown op >"}=Se(e),{spanId:r}=e.spanContext(),i=at(e)===e,o=`[Tracing] Finishing "${n}" ${i?"root ":""}span "${t}" with ID ${r}`;B.log(o)}function zu(e){if(typeof e=="boolean")return Number(e);const t=typeof e=="string"?parseFloat(e):e;if(typeof t!="number"||isNaN(t)||t<0||t>1){le&&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)}.`);return}return t}function gC(e,t){if(!ns(e))return[!1];const n=fn().getScopeData().sdkProcessingMetadata.normalizedRequest,r={...t,normalizedRequest:t.normalizedRequest||n};let s;typeof e.tracesSampler=="function"?s=e.tracesSampler(r):r.parentSampled!==void 0?s=r.parentSampled:typeof e.tracesSampleRate<"u"?s=e.tracesSampleRate:s=1;const i=zu(s);return i===void 0?(le&&B.warn("[Tracing] Discarding transaction because of invalid sample rate."),[!1]):i?Math.random()<i?[!0,i]:(le&&B.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(s)})`),[!1,i]):(le&&B.log(`[Tracing] Discarding transaction because ${typeof e.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,i])}const yC=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function vC(e){return e==="http"||e==="https"}function ho(e,t=!1){const{host:n,path:r,pass:s,port:i,projectId:o,protocol:a,publicKey:l}=e;return`${a}://${l}${t&&s?`:${s}`:""}@${n}${i?`:${i}`:""}/${r&&`${r}/`}${o}`}function _C(e){const t=yC.exec(e);if(!t){cs(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,r,s="",i="",o="",a=""]=t.slice(1);let l="",u=a;const d=u.split("/");if(d.length>1&&(l=d.slice(0,-1).join("/"),u=d.pop()),u){const c=u.match(/^\d+/);c&&(u=c[0])}return RE({host:i,pass:s,path:l,projectId:u,port:o,protocol:n,publicKey:r})}function RE(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function SC(e){if(!us)return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(o=>e[o]?!1:(B.error(`Invalid Sentry Dsn: ${o} missing`),!0))?!1:n.match(/^\d+$/)?vC(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 AE(e){const t=typeof e=="string"?_C(e):RE(e);if(!(!t||!SC(t)))return t}function EC(){const e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(s){if(e)return t.has(s)?!0:(t.add(s),!1);for(let i=0;i<t.length;i++)if(t[i]===s)return!0;return t.push(s),!1}function r(s){if(e)t.delete(s);else for(let i=0;i<t.length;i++)if(t[i]===s){t.splice(i,1);break}}return[n,r]}function Tn(e,t=100,n=1/0){try{return Ep("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function ME(e,t=3,n=100*1024){const r=Tn(e,t);return kC(r)>n?ME(e,t-1,n):r}function Ep(e,t,n=1/0,r=1/0,s=EC()){const[i,o]=s;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&&Number.isFinite(t))return t;const a=wC(e,t);if(!a.startsWith("[object "))return a;
vendor: 4,180 bytes, lines 46-48
46if(t.__sentry_skip_normalization__)return t;const l=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:n;if(l===0)return a.replace("object ","");if(i(t))return"[Circular ~]";const u=t;if(u&&typeof u.toJSON=="function")try{const p=u.toJSON();return Ep("",p,l-1,r,s)}catch{}const d=Array.isArray(t)?[]:{};let c=0;const f=dE(t);for(const p in f){if(!Object.prototype.hasOwnProperty.call(f,p))continue;if(c>=r){d[p]="[MaxProperties ~]";break}const y=f[p];d[p]=Ep(p,y,l-1,r,s),c++}return o(t),d}function wC(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&t===global)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(aE(t))return"[VueViewModel]";if(Ib(t))return"[SyntheticEvent]";if(typeof t=="number"&&!Number.isFinite(t))return`[${t}]`;if(typeof t=="function")return`[Function: ${dr(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=TC(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function TC(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}function xC(e){return~-encodeURI(e).split(/%..|./).length}function kC(e){return xC(JSON.stringify(e))}function Ks(e,t=[]){return[e,t]}function bC(e,t){const[n,r]=e;return[n,[...r,t]]}function Ay(e,t){const n=e[1];for(const r of n){const s=r[0].type;if(t(r,s))return!0}return!1}function wp(e){return ge.__SENTRY__&&ge.__SENTRY__.encodePolyfill?ge.__SENTRY__.encodePolyfill(e):new TextEncoder().encode(e)}function CC(e){const[t,n]=e;let r=JSON.stringify(t);function s(i){typeof r=="string"?r=typeof i=="string"?r+i:[wp(r),i]:r.push(typeof i=="string"?wp(i):i)}for(const i of n){const[o,a]=i;if(s(` 47${JSON.stringify(o)} 48`),typeof a=="string"||a instanceof Uint8Array)s(a);else{let l;try{l=JSON.stringify(a)}catch{l=JSON.stringify(Tn(a))}s(l)}}return typeof r=="string"?r:IC(r)}function IC(e){const t=e.reduce((s,i)=>s+i.length,0),n=new Uint8Array(t);let r=0;for(const s of e)n.set(s,r),r+=s.length;return n}function OC(e){return[{type:"span"},e]}function RC(e){const t=typeof e.data=="string"?wp(e.data):e.data;return[nt({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}const AC={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket",raw_security:"security"};function My(e){return AC[e]}function mm(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function PE(e,t,n,r){const s=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:ho(r)},...s&&{trace:nt({...s})}}}function MC(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}function PC(e,t,n,r){const s=mm(n),i={sent_at:new Date().toISOString(),...s&&{sdk:s},...!!r&&t&&{dsn:ho(t)}},o="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return Ks(i,[o])}function NC(e,t,n,r){const s=mm(n),i=e.type&&e.type!=="replay_event"?e.type:"event";MC(e,n&&n.sdk);const o=PE(e,s,r,t);return delete e.sdkProcessingMetadata,Ks(o,[[{type:i},e]])}function LC(e,t){function n(d){return!!d.trace_id&&!!d.public_key}const r=Xs(e[0]),s=t&&t.getDsn(),i=t&&t.getOptions().tunnel,o={sent_at:new Date().toISOString(),...n(r)&&{trace:r},...!!i&&s&&{dsn:ho(s)}},a=t&&t.getOptions().beforeSendSpan,l=a?d=>{const c=a(Se(d));return c||xE(),c}:d=>Se(d),u=[];for(const d of e){const c=l(d);c&&u.push(OC(c))}return Ks(o,u)}function DC(e,t,n,r=rt()){const s=r&&at(r);
48s&&(le&&B.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),s.addEvent(e,{[Fc]:t,[$c]:n}))}function Py(e){if(!e||e.length===0)return;const t={};return e.forEach(n=>{const r=n.attributes||{},s=r[$c],i=r[Fc];typeof s=="string"&&typeof i=="number"&&(t[n.name]={value:i,unit:s})}),t}const Ny=1e3;class gm{constructor(t={}){this._traceId=t.traceId||Jr(),this._spanId=t.spanId||es(),this._startTime=t.startTimestamp||kt(),this._attributes={},this.setAttributes({[Ze]:"manual",[mr]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}addLink(t){return this}addLinks(t){return this}recordException(t,n){}spanContext(){const{_spanId:t,_traceId:n,_sampled:r}=this;return{spanId:t,traceId:n,traceFlags:r?EE:SE}}setAttribute(t,n){return n===void 0?delete this._attributes[t]:this._attributes[t]=n,this}setAttributes(t){return Object.keys(t).forEach(n=>this.setAttribute(n,t[n])),this}updateStartTime(t){this._startTime=Ms(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(Vt,"custom"),this}end(t){this._endTime||(this._endTime=Ms(t),mC(this),this._onSpanEnded())}getSpanJSON(){return nt({data:this._attributes,description:this._name,op:this._attributes[mr],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:wE(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[Ze],_metrics_summary:yp(this),profile_id:this._attributes[Kb],exclusive_time:this._attributes[fm],measurements:Py(this._events),is_segment:this._isStandaloneSpan&&at(this)===this||void 0,segment_id:this._isStandaloneSpan?at(this).spanContext().spanId:void 0})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,n,r){le&&B.log("[Tracing] Adding an event to span:",t);const s=Ly(n)?n:r||kt(),i=Ly(n)?{}:n||{},o={name:t,time:Ms(s),attributes:i};return this._events.push(o),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const t=fe();if(t&&t.emit("spanEnd",this),!(this._isStandaloneSpan||this===at(this)))return;if(this._isStandaloneSpan){this._sampled?FC(LC([this],t)):(le&&B.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span"));return}const r=this._convertSpanToTransaction();r&&(Oy(this).scope||be()).captureEvent(r)}_convertSpanToTransaction(){if(!Dy(Se(this)))return;this._name||(le&&B.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:t,isolationScope:n}=Oy(this),s=(t||be()).getClient()||fe();if(this._sampled!==!0){le&&B.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),s&&s.recordDroppedEvent("sample_rate","transaction");return}const o=Kl(this).filter(c=>c!==this&&!$C(c)).map(c=>Se(c)).filter(Dy),a=this._attributes[Vt];delete this._attributes[xy],o.forEach(c=>{c.data&&delete c.data[xy]});const l={contexts:{trace:oC(this)},spans:o.length>Ny?o.sort((c,f)=>c.start_timestamp-f.start_timestamp).slice(0,Ny):o,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,...nt({dynamicSamplingContext:Xs(this)})},_metrics_summary:yp(this),...a&&{transaction_info:{source:a}}},u=Py(this._events);return u&&Object.keys(u).length&&(le&&B.log("[Measurements] Adding measurements to transaction event",JSON.stringify(u,void 0,2)),l.measurements=u),l}}function Ly(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function Dy(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}
48function $C(e){return e instanceof gm&&e.isStandaloneSpan()}function FC(e){const t=fe();if(!t)return;const n=e[1];if(!n||n.length===0){t.recordDroppedEvent("before_send","span");return}t.sendEnvelope(e)}const NE="__SENTRY_SUPPRESS_TRACING__";function Wa(e){const t=DE();if(t.startInactiveSpan)return t.startInactiveSpan(e);const n=BC(e),{forceTransaction:r,parentSpan:s}=e;return(e.scope?o=>Dc(e.scope,o):s!==void 0?o=>LE(s,o):o=>o())(()=>{const o=be(),a=jC(o);return e.onlyIfParent&&!a?new po:zC({parentSpan:a,spanArguments:n,forceTransaction:r,scope:o})})}function LE(e,t){const n=DE();return n.withActiveSpan?n.withActiveSpan(e,t):Dc(r=>(ba(r,e||void 0),t(r)))}function zC({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){if(!ns())return new po;const s=fn();let i;if(e&&!n)i=UC(e,r,t),TE(e,i);else if(e){const o=Xs(e),{traceId:a,spanId:l}=e.spanContext(),u=Ys(e);i=$y({traceId:a,parentSpanId:l,...t},r,u),Ry(i,o)}else{const{traceId:o,dsc:a,parentSpanId:l,sampled:u}={...s.getPropagationContext(),...r.getPropagationContext()};i=$y({traceId:o,parentSpanId:l,...t},r,u),a&&Ry(i,a)}return hC(i),pC(i,r,s),i}function BC(e){const n={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const r={...n};return r.startTimestamp=Ms(e.startTime),delete r.startTime,r}return n}function DE(){const e=qs();return fo(e)}function $y(e,t,n){const r=fe(),s=r&&r.getOptions()||{},{name:i="",attributes:o}=e,[a,l]=t.getScopeData().sdkProcessingMetadata[NE]?[!1]:gC(s,{name:i,parentSampled:n,attributes:o,transactionContext:{name:i,parentSampled:n}}),u=new gm({...e,attributes:{[Vt]:"custom",...e.attributes},sampled:a});return l!==void 0&&u.setAttribute(hE,l),r&&r.emit("spanStart",u),u}function UC(e,t,n){const{spanId:r,traceId:s}=e.spanContext(),i=t.getScopeData().sdkProcessingMetadata[NE]?!1:Ys(e),o=i?new gm({...n,parentSpanId:r,traceId:s,sampled:i}):new po({traceId:s});TE(e,o);const a=fe();return a&&(a.emit("spanStart",o),n.endTimestamp&&a.emit("spanEnd",o)),o}function jC(e){const t=Fu(e);if(!t)return;const n=fe();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?at(t):t}const Zl={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},VC="heartbeatFailed",HC="idleTimeout",WC="finalTimeout",GC="externalFinish";function $E(e,t={}){const n=new Map;let r=!1,s,i=GC,o=!t.disableAutoFinish;const a=[],{idleTimeout:l=Zl.idleTimeout,finalTimeout:u=Zl.finalTimeout,childSpanTimeout:d=Zl.childSpanTimeout,beforeSpanEnd:c}=t,f=fe();if(!f||!ns())return new po;const p=be(),y=rt(),v=qC(e);v.end=new Proxy(v.end,{apply(x,b,T){c&&c(v);const[R,...k]=T,P=R||kt(),A=Ms(P),N=Kl(v).filter(C=>C!==v);if(!N.length)return w(A),Reflect.apply(x,b,[A,...k]);const z=N.map(C=>Se(C).timestamp).filter(C=>!!C),G=z.length?Math.max(...z):void 0,q=Se(v).start_timestamp,V=Math.min(q?q+u/1e3:1/0,Math.max(q||-1/0,Math.min(A,G||1/0)));return w(V),Reflect.apply(x,b,[V,...k])}});function S(){s&&(clearTimeout(s),s=void 0)}function m(x){S(),s=setTimeout(()=>{!r&&n.size===0&&o&&(i=HC,v.end(x))},l)}function h(x){s=setTimeout(()=>{!r&&o&&(i=VC,v.end(x))},d)}function g(x){S(),n.set(x,!0);const b=kt();h(b+d/1e3)}function _(x){if(n.has(x)&&n.delete(x),n.size===0){const b=kt();m(b+l/1e3)}}function w(x){r=!0,n.clear(),a.forEach(A=>A()),ba(p,y);const b=Se(v),{start_timestamp:T}=b;if(!T)return;(b.data||{})[vp]||v.setAttribute(vp,i),B.log(`[Tracing] Idle span "${b.op}" finished`);const k=Kl(v).filter(A=>A!==v);let P=0;k.forEach(A=>{A.isRecording()&&(A.setStatus({code:st,message:"cancelled"}),A.end(x),le&&B.log("[Tracing] Cancelling span since span ended early",JSON.stringify(A,void 0,2)));const N=Se(A),{timestamp:z=0,start_timestamp:G=0}=N,q=G<=x,V=(u+l)/1e3,C=z-G<=V;if(le){const L=JSON.stringify(A,void 0,2);q?C||B.log("[Tracing] Discarding span since it finished after idle span final timeout",L):B.log("[Tracing] Discarding span since it happened after idle span was finished",L)}(!C||!q)&&(dC(v,A),P++)}),P>0&&v.setAttribute("sentry.idle_span_discarded_spans",P)}return a.push(f.on("spanStart",x=>{if(r||x===v||Se(x).timestamp)return;Kl(v).includes(x)&&g(x.spanContext().spanId)})),a.push(f.on("spanEnd",x=>{r||_(x.spanContext().spanId)})),a.push(f.on("idleSpanEnableAutoFinish",x=>{x===v&&(o=!0,m(),n.size&&h())})),t.disableAutoFinish||m(),setTimeout(()=>{r||(v.setStatus({code:st,message:"deadline_exceeded"}),i=WC,v.end())},u),v}function qC(e){const t=Wa(e);
vendor: 4,165 bytes, line 48
48return ba(be(),t),le&&B.log("[Tracing] Started span is an idle span"),t}function Tp(e,t,n,r=0){return new rn((s,i)=>{const o=e[r];if(t===null||typeof o!="function")s(t);else{const a=o({...t},n);le&&o.id&&a===null&&B.log(`Event processor "${o.id}" dropped event`),Nc(a)?a.then(l=>Tp(e,l,n,r+1).then(s)).then(null,i):Tp(e,a,n,r+1).then(s).then(null,i)}})}let Sl,Fy,El;function YC(e){const t=ge._sentryDebugIds;if(!t)return{};const n=Object.keys(t);return El&&n.length===Fy||(Fy=n.length,El=n.reduce((r,s)=>{Sl||(Sl={});const i=Sl[s];if(i)r[i[0]]=i[1];else{const o=e(s);for(let a=o.length-1;a>=0;a--){const l=o[a],u=l&&l.filename,d=t[s];if(u&&d){r[u]=d,Sl[s]=[u,d];break}}}return r},{})),El}function XC(e,t){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:i}=t;KC(e,t),r&&JC(e,r),eI(e,n),ZC(e,s),QC(e,i)}function zy(e,t){const{extra:n,tags:r,user:s,contexts:i,level:o,sdkProcessingMetadata:a,breadcrumbs:l,fingerprint:u,eventProcessors:d,attachments:c,propagationContext:f,transactionName:p,span:y}=t;wl(e,"extra",n),wl(e,"tags",r),wl(e,"user",s),wl(e,"contexts",i),e.sdkProcessingMetadata=Lc(e.sdkProcessingMetadata,a,2),o&&(e.level=o),p&&(e.transactionName=p),y&&(e.span=y),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),c.length&&(e.attachments=[...e.attachments,...c]),e.propagationContext={...e.propagationContext,...f}}function wl(e,t,n){e[t]=Lc(e[t],n,1)}function KC(e,t){const{extra:n,tags:r,user:s,contexts:i,level:o,transactionName:a}=t,l=nt(n);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});const u=nt(r);u&&Object.keys(u).length&&(e.tags={...u,...e.tags});const d=nt(s);d&&Object.keys(d).length&&(e.user={...d,...e.user});const c=nt(i);c&&Object.keys(c).length&&(e.contexts={...c,...e.contexts}),o&&(e.level=o),a&&e.type!=="transaction"&&(e.transaction=a)}function ZC(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function QC(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function JC(e,t){e.contexts={trace:aC(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:Xs(t),...e.sdkProcessingMetadata};const n=at(t),r=Se(n).description;r&&!e.transaction&&e.type==="transaction"&&(e.transaction=r)}function eI(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}function FE(e,t,n,r,s,i){const{normalizeDepth:o=3,normalizeMaxBreadth:a=1e3}=e,l={...t,event_id:t.event_id||n.event_id||Wt(),timestamp:t.timestamp||Ha()},u=n.integrations||e.integrations.map(S=>S.name);tI(l,e),sI(l,u),s&&s.emit("applyFrameMetadata",t),t.type===void 0&&nI(l,e.stackParser);const d=oI(r,n.captureContext);n.mechanism&&Gi(l,n.mechanism);const c=s?s.getEventProcessors():[],f=qb().getScopeData();if(i){const S=i.getScopeData();zy(f,S)}if(d){const S=d.getScopeData();zy(f,S)}const p=[...n.attachments||[],...f.attachments];p.length&&(n.attachments=p),XC(l,f);const y=[...c,...f.eventProcessors];return Tp(y,l,n).then(S=>(S&&rI(S),typeof o=="number"&&o>0?iI(S,o,a):S))}function tI(e,t){const{environment:n,release:r,dist:s,maxValueLength:i=250}=t;e.environment=e.environment||n||hm,!e.release&&r&&(e.release=r),!e.dist&&s&&(e.dist=s),e.message&&(e.message=Ni(e.message,i));const o=e.exception&&e.exception.values&&e.exception.values[0];o&&o.value&&(o.value=Ni(o.value,i));const a=e.request;a&&a.url&&(a.url=Ni(a.url,i))}function nI(e,t){const n=YC(t);try{e.exception.values.forEach(r=>{r.stacktrace.frames.forEach(s=>{n&&s.filename&&(s.debug_id=n[s.filename])})})}catch{}}function rI(e){const t={};try{e.exception.values.forEach(r=>{r.stacktrace.frames.forEach(s=>{s.debug_id&&(s.abs_path?t[s.abs_path]=s.debug_id:s.filename&&(t[s.filename]=s.debug_id),delete s.debug_id)})})}catch{}if(Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach(([r,s])=>{n.push({type:"sourcemap",code_file:r,debug_id:s})})}function sI(e,t){t.length>0&&(e.sdk=e.sdk||{}
48,e.sdk.integrations=[...e.sdk.integrations||[],...t])}function iI(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(s=>({...s,...s.data&&{data:Tn(s.data,t,n)}}))},...e.user&&{user:Tn(e.user,t,n)},...e.contexts&&{contexts:Tn(e.contexts,t,n)},...e.extra&&{extra:Tn(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=Tn(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(s=>({...s,...s.data&&{data:Tn(s.data,t,n)}}))),e.contexts&&e.contexts.flags&&r.contexts&&(r.contexts.flags=Tn(e.contexts.flags,3,n)),r}function oI(e,t){if(!t)return e;const n=e?e.clone():new ts;return n.update(t),n}function aI(e){if(e)return lI(e)?{captureContext:e}:cI(e)?{captureContext:e}:e}function lI(e){return e instanceof ts||typeof e=="function"}const uI=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function cI(e){return Object.keys(e).some(t=>uI.includes(t))}function ym(e,t){return be().captureException(e,aI(t))}function zE(e,t){return be().captureEvent(e,t)}function BE(e,t){fn().setContext(e,t)}function dI(){return fn().lastEventId()}function fI(){const e=fe();return!!e&&e.getOptions().enabled!==!1&&!!e.getTransport()}function pI(e){fn().addEventProcessor(e)}function By(e){const t=fe(),n=fn(),r=be(),{release:s,environment:i=hm}=t&&t.getOptions()||{},{userAgent:o}=ge.navigator||{},a=$b({release:s,environment:i,user:r.getUser()||n.getUser(),...o&&{userAgent:o},...e}),l=n.getSession();return l&&l.status==="ok"&&qi(l,{status:"exited"}),UE(),n.setSession(a),r.setSession(a),a}function UE(){const e=fn(),t=be(),n=t.getSession()||e.getSession();n&&Fb(n),jE(),e.setSession(),t.setSession()}function jE(){const e=fn(),t=be(),n=fe(),r=t.getSession()||e.getSession();r&&n&&n.captureSession(r)}function Uy(e=!1){if(e){UE();return}jE()}const hI="7";function VE(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function mI(e){return`${VE(e)}${e.projectId}/envelope/`}function gI(e,t){const n={sentry_version:hI};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}function yI(e,t,n){return t||`${mI(e)}?${gI(e,n)}`}function vI(e,t){const n=AE(e);if(!n)return"";const r=`${VE(n)}embed/error-page/`;let s=`dsn=${ho(n)}`;for(const i in t)if(i!=="dsn"&&i!=="onClose")if(i==="user"){const o=t.user;if(!o)continue;o.name&&(s+=`&name=${encodeURIComponent(o.name)}`),o.email&&(s+=`&email=${encodeURIComponent(o.email)}`)}else s+=`&${encodeURIComponent(i)}=${encodeURIComponent(t[i])}`;return`${r}?${s}`}const jy=[];function _I(e){const t={};return e.forEach(n=>{const{name:r}=n,s=t[r];s&&!s.isDefaultInstance&&n.isDefaultInstance||(t[r]=n)}),Object.values(t)}function SI(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(o=>{o.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n=="function"){const o=n(t);r=Array.isArray(o)?o:[o]}else r=t;const s=_I(r),i=s.findIndex(o=>o.name==="Debug");if(i>-1){const[o]=s.splice(i,1);s.push(o)}return s}function EI(e,t){const n={};return t.forEach(r=>{r&&HE(e,r,n)}),n}function Vy(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function HE(e,t,n){if(n[t.name]){le&&B.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,jy.indexOf(t.name)===-1&&typeof t.setupOnce=="function"&&(t.setupOnce(),jy.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(s,i)=>r(s,i,e))}if(typeof t.processEvent=="function"){const r=t.processEvent.bind(t),s=Object.assign((i,o)=>r(i,o,e),{id:t.name});e.addEventProcessor(s)}le&&B.log(`Integration installed: ${t.name}`)}function wI(e,t,n){const r=[{type:"client_report"},{timestamp:Ha(),discarded_events:e}];return Ks(t?{dsn:t}:{},[r])}class kn extends Error{constructor(t,n="warn"){super(t),this.message=t,this.logLevel=n}}const Hy="Not capturing exception because it's already been captured.";class TI{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=AE(t.dsn):le&&B.warn("No DSN provided, client will not send events."),this._dsn){const s=yI(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:s})}const r=["enableTracing","tracesSampleRate","tracesSampler"].find(s=>s in t&&t[s]==null);r&&cs(()=>{console.warn(`[Sentry] Deprecation warning: \`${r}\` is set to undefined, which leads to tracing being enabled. In v9, a value of \`undefined\` will result in tracing being disabled.`)})}captureException(t,n,r){const s=Wt();if(wy(t))return le&&B.log(Hy),s;const i={event_id:s,...n};return this._process(this.eventFromException(t,i).then(o=>this._captureEvent(o,i,r))),i.event_id}captureMessage(t,n,r,s){const i={event_id:Wt(),...r},o=lm(t)?t:String(t),a=um(t)?this.eventFromMessage(o,n,i):this.eventFromException(t,i);return this._process(a.then(l=>this._captureEvent(l,i,s))),i.event_id}captureEvent(t,n,r){const s=Wt();if(n&&n.originalException&&wy(n.originalException))return le&&B.log(Hy),s;const i={event_id:s,...n},a=(t.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(t,i,a||r)),i.event_id}captureSession(t){typeof t.release!="string"?le&&B.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),qi(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const n=this._transport;
vendor: 7,427 bytes, lines 48-49
48return n?(this.emit("flush"),this._isClientDoneProcessing(t).then(r=>n.flush(t).then(s=>r&&s))):hr(!0)}close(t){return this.flush(t).then(n=>(this.getOptions().enabled=!1,this.emit("close"),n))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){const n=this._integrations[t.name];HE(this,t,this._integrations),n||Vy(this,[t])}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);let r=NC(t,this._dsn,this._options._metadata,this._options.tunnel);for(const i of n.attachments||[])r=bC(r,RC(i));const s=this.sendEnvelope(r);s&&s.then(i=>this.emit("afterSendEvent",t,i),null)}sendSession(t){const n=PC(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(n)}recordDroppedEvent(t,n,r){if(this._options.sendClientReports){const s=typeof r=="number"?r:1,i=`${t}:${n}`;le&&B.log(`Recording outcome: "${i}"${s>1?` (${s} times)`:""}`),this._outcomes[i]=(this._outcomes[i]||0)+s}}on(t,n){const r=this._hooks[t]=this._hooks[t]||[];return r.push(n),()=>{const s=r.indexOf(n);s>-1&&r.splice(s,1)}}emit(t,...n){const r=this._hooks[t];r&&r.forEach(s=>s(...n))}sendEnvelope(t){return this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport?this._transport.send(t).then(null,n=>(le&&B.error("Error while sending envelope:",n),n)):(le&&B.error("Transport disabled"),hr({}))}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=EI(this,t),Vy(this,t)}_updateSessionFromEvent(t,n){let r=n.level==="fatal",s=!1;const i=n.exception&&n.exception.values;if(i){s=!0;for(const l of i){const u=l.mechanism;if(u&&u.handled===!1){r=!0;break}}}const o=t.status==="ok";(o&&t.errors===0||o&&r)&&(qi(t,{...r&&{status:"crashed"},errors:t.errors||Number(s||r)}),this.captureSession(t))}_isClientDoneProcessing(t){return new rn(n=>{let r=0;const s=1,i=setInterval(()=>{this._numProcessing==0?(clearInterval(i),n(!0)):(r+=s,t&&r>=t&&(clearInterval(i),n(!1)))},s)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,n,r=be(),s=fn()){const i=this.getOptions(),o=Object.keys(this._integrations);return!n.integrations&&o.length>0&&(n.integrations=o),this.emit("preprocessEvent",t,n),t.type||s.setLastEventId(t.event_id||n.event_id),FE(i,t,n,r,this,s).then(a=>{if(a===null)return a;a.contexts={trace:Yb(r),...a.contexts};const l=OE(this,r);return a.sdkProcessingMetadata={dynamicSamplingContext:l,...a.sdkProcessingMetadata},a})}_captureEvent(t,n={},r){return this._processEvent(t,n,r).then(s=>s.event_id,s=>{le&&(s instanceof kn&&s.logLevel==="log"?B.log(s.message):B.warn(s))})}_processEvent(t,n,r){const s=this.getOptions(),{sampleRate:i}=s,o=GE(t),a=WE(t),l=t.type||"error",u=`before send for type \`${l}\``,d=typeof i>"u"?void 0:zu(i);if(a&&typeof d=="number"&&Math.random()>d)return this.recordDroppedEvent("sample_rate","error",t),$u(new kn(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));const c=l==="replay_event"?"replay":l,p=(t.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(t,n,r,p).then(y=>{if(y===null)throw this.recordDroppedEvent("event_processor",c,t),new kn("An event processor returned `null`, will not send event.","log");if(n.data&&n.data.__sentry__===!0)return y;const S=kI(this,s,y,n);return xI(S,u)}).then(y=>{if(y===null){if(this.recordDroppedEvent("before_send",c,t),o){const h=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",h)}throw new kn(`${u} returned \`null\`, will not send event.`,"log")}const v=r&&r.getSession();if(!o&&v&&this._updateSessionFromEvent(v,y),o){const m=y.sdkProcessingMetadata&&y.sdkProcessingMetadata.spanCountBeforeProcessing||0,h=y.spans?y.spans.length:0,g=m-h;g>0&&this.recordDroppedEvent("before_send","span",g)}const S=y.transaction_info;if(o&&S&&y.transaction!==t.transaction){const m="custom";y.transaction_info={...S,source:m}}return this.sendEvent(y,n),y}).then(null,y=>{throw y instanceof kn?y:(this.captureException(y,{data:{__sentry__:!0},originalException:y}),new kn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 49Reason: ${y}`))})}_process(t){this._numProcessing++,t.then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([n,r])=>{const[s,i]=n.split(":");return{reason:s,category:i,quantity:r}})}_flushOutcomes(){le&&B.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){le&&B.log("No outcomes to send");return}if(!this._dsn){le&&B.log("No dsn provided, will not send outcomes");return}le&&B.log("Sending outcomes:",t);const n=wI(t,this._options.tunnel&&ho(this._dsn));this.sendEnvelope(n)}}function xI(e,t){const n=`${t} must return \`null\` or a valid event.`;if(Nc(e))return e.then(r=>{if(!Wi(r)&&r!==null)throw new kn(n);return r},r=>{throw new kn(`${t} rejected with ${r}`)});if(!Wi(e)&&e!==null)throw new kn(n);return e}function kI(e,t,n,r){const{beforeSend:s,beforeSendTransaction:i,beforeSendSpan:o}=t;if(WE(n)&&s)return s(n,r);if(GE(n)){if(n.spans&&o){const a=[];for(const l of n.spans){const u=o(l);u?a.push(u):(xE(),e.recordDroppedEvent("before_send","span"))}n.spans=a}if(i){if(n.spans){const a=n.spans.length;n.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:a}}return i(n,r)}}return n}function WE(e){return e.type===void 0}function GE(e){return e.type==="transaction"}function bI(e,t){t.debug===!0&&(le?B.enable():cs(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),be().update(t.initialScope);const r=new e(t);return CI(r),r.init(),r}function CI(e){be().setClient(e)}function II(e){const t=[];function n(){return e===void 0||t.length<e}function r(o){return t.splice(t.indexOf(o),1)[0]||Promise.resolve(void 0)}function s(o){if(!n())return $u(new kn("Not adding Promise because buffer limit was reached."));const a=o();return t.indexOf(a)===-1&&t.push(a),a.then(()=>r(a)).then(null,()=>r(a).then(null,()=>{})),a}function i(o){return new rn((a,l)=>{let u=t.length;if(!u)return a(!0);const d=setTimeout(()=>{o&&o>0&&a(!1)},o);t.forEach(c=>{hr(c).then(()=>{--u||(clearTimeout(d),a(!0))},l)})})}return{$:t,add:s,drain:i}}const OI=60*1e3;function RI(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?OI:r-t}function AI(e,t){return e[t]||e.all||0}function qE(e,t,n=Date.now()){return AI(e,t)>n}function YE(e,{statusCode:t,headers:n},r=Date.now()){const s={...e},i=n&&n["x-sentry-rate-limits"],o=n&&n["retry-after"];if(i)for(const a of i.trim().split(",")){const[l,u,,,d]=a.split(":",5),c=parseInt(l,10),f=(isNaN(c)?60:c)*1e3;if(!u)s.all=r+f;else for(const p of u.split(";"))p==="metric_bucket"?(!d||d.split(";").includes("custom"))&&(s[p]=r+f):s[p]=r+f}else o?s.all=r+RI(o,r):t===429&&(s.all=r+60*1e3);return s}const MI=64;function PI(e,t,n=II(e.bufferSize||MI)){let r={};const s=o=>n.drain(o);function i(o){const a=[];if(Ay(o,(c,f)=>{const p=My(f);if(qE(r,p)){const y=Wy(c,f);e.recordDroppedEvent("ratelimit_backoff",p,y)}else a.push(c)}),a.length===0)return hr({});const l=Ks(o[0],a),u=c=>{Ay(l,(f,p)=>{const y=Wy(f,p);
49e.recordDroppedEvent(c,My(p),y)})},d=()=>t({body:CC(l)}).then(c=>(c.statusCode!==void 0&&(c.statusCode<200||c.statusCode>=300)&&le&&B.warn(`Sentry responded with status code ${c.statusCode} to sent event.`),r=YE(r,c),c),c=>{throw u("network_error"),c});return n.add(d).then(c=>c,c=>{if(c instanceof kn)return le&&B.error("Skipped sending event because buffer is full."),u("queue_overflow"),hr({});throw c})}return{send:i,flush:s}}function Wy(e,t){if(!(t!=="event"&&t!=="transaction"))return Array.isArray(e)?e[1]:void 0}function NI(e,t){const n=t&&t.getDsn(),r=t&&t.getOptions().tunnel;return DI(e,n)||LI(e,r)}function LI(e,t){return t?Gy(e)===Gy(t):!1}function DI(e,t){return t?e.includes(t.host):!1}function Gy(e){return e[e.length-1]==="/"?e.slice(0,-1):e}function XE(e,t,n=[t],r="npm"){const s=e._metadata||{};s.sdk||(s.sdk={name:`sentry.javascript.${t}`,packages:n.map(i=>({name:`${r}:@sentry/${i}`,version:As})),version:As}),e._metadata=s}function KE(e={}){const t=fe();if(!fI()||!t)return{};const n=qs(),r=fo(n);if(r.getTraceData)return r.getTraceData(e);const s=be(),i=e.span||rt(),o=i?lC(i):$I(s),a=i?Xs(i):OE(t,s),l=tC(a);return vE.test(o)?{"sentry-trace":o,baggage:l}:(B.warn("Invalid sentry-trace data. Cannot generate trace data"),{})}function $I(e){const{traceId:t,sampled:n,spanId:r}=e.getPropagationContext();return _E(t,r,n)}const FI=100;function rs(e,t){const n=fe(),r=fn();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:i=FI}=n.getOptions();if(i<=0)return;const a={timestamp:Ha(),...e},l=s?cs(()=>s(a,t)):a;l!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",l,t),r.addBreadcrumb(l,i))}let qy;const zI="FunctionToString",Yy=new WeakMap,BI=()=>({name:zI,setupOnce(){qy=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=cm(this),n=Yy.has(fe())&&t!==void 0?t:this;return qy.apply(n,e)}}catch{}},setup(e){Yy.set(e,!0)}}),UI=BI,jI=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,"undefined is not an object (evaluating 'a.L')",`can't redefine non-configurable property "solana"`,"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],VI="InboundFilters",HI=(e={})=>({name:VI,processEvent(t,n,r){const s=r.getOptions(),i=GI(e,s);return qI(t,i)?null:t}}),WI=HI;function GI(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:jI],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function qI(e,t){return t.ignoreInternal&&JI(e)?(le&&B.warn(`Event dropped due to being internal Sentry Error. 50Event: ${kr(e)}`),!0):YI(e,t.ignoreErrors)?(le&&B.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 51Event: ${kr(e)}`),!0):tO(e)?(le&&B.warn(`Event dropped due to not having an error message, error type or stacktrace. 52Event: ${kr(e)}`),!0):XI(e,t.ignoreTransactions)?(le&&B.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 53Event: ${kr(e)}`),!0):KI(e,t.denyUrls)?(le&&B.warn(`Event dropped due to being matched by \`denyUrls\` option. 54Event: ${kr(e)}. 55Url: ${Bu(e)}`),!0):ZI(e,t.allowUrls)?!1:(le&&B.warn(`Event dropped due to not being matched by \`allowUrls\` option. 56Event: ${kr(e)}. 57Url: ${Bu(e)}`),!0)}function YI(e,t){return e.type||!t||!t.length?!1:QI(e).some(n=>qr(n,t))}function XI(e,t){if(e.type!=="transaction"||!t||!t.length)return!1;const n=e.transaction;return n?qr(n,t):!1}function KI(e,t){if(!t||!t.length)return!1;const n=Bu(e);return n?qr(n,t):!1}function ZI(e,t){if(!t||!t.length)return!0;const n=Bu(e);return n?qr(n,t):!0}function QI(e){const 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}`)),t}function JI(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function eO(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!=="<anonymous>"&&n.filename!=="[native code]")return n.filename||null}return null}function Bu(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?eO(t):null}catch{return le&&B.error(`Cannot extract url for event ${kr(e)}`),null}}function tO(e){return e.type||!e.exception||!e.exception.values||e.exception.values.length===0?!1:!e.message&&!e.exception.values.some(t=>t.stacktrace||t.type&&t.type!=="Error"||t.value)}function nO(e,t,n=250,r,s,i,o){if(!i.exception||!i.exception.values||!o||!fr(o.originalException,Error))return;const a=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;a&&(i.exception.values=rO(xp(e,t,s,o.originalException,r,i.exception.values,a,0),n))}function xp(e,t,n,r,s,i,o,a){if(i.length>=n+1)return i;let l=[...i];if(fr(r[s],Error)){Xy(o,a);const u=e(t,r[s]),d=l.length;Ky(u,s,d,a),l=xp(e,t,n,r[s],s,[u,...l],u,d)}
57return Array.isArray(r.errors)&&r.errors.forEach((u,d)=>{if(fr(u,Error)){Xy(o,a);const c=e(t,u),f=l.length;Ky(c,`errors[${d}]`,f,a),l=xp(e,t,n,u,s,[c,...l],c,f)}}),l}function Xy(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 Ky(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 rO(e,t){return e.map(n=>(n.value&&(n.value=Ni(n.value,t)),n))}function Ns(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const 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 Zy(e){return e.split(/\\?\//).filter(t=>t.length>0&&t!==",").length}function sO(e){const t="console";ds(t,e),fs(t,iO)}function iO(){"console"in ge&&pp.forEach(function(e){e in ge.console&&Lt(ge.console,e,function(t){return Du[e]=t,function(...n){ln("console",{args:n,level:e});const s=Du[e];s&&s.apply(ge.console,n)}})})}function ZE(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const oO="Dedupe",aO=()=>{let e;return{name:oO,processEvent(t){if(t.type)return t;try{if(uO(t,e))return le&&B.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}},lO=aO;function uO(e,t){return t?!!(cO(e,t)||dO(e,t)):!1}function cO(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!JE(e,t)||!QE(e,t))}function dO(e,t){const n=Qy(t),r=Qy(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!JE(e,t)||!QE(e,t))}function QE(e,t){let n=gy(e),r=gy(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let s=0;s<r.length;s++){const i=r[s],o=n[s];if(i.filename!==o.filename||i.lineno!==o.lineno||i.colno!==o.colno||i.function!==o.function)return!1}return!0}function JE(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 Qy(e){return e.exception&&e.exception.values&&e.exception.values[0]}function fO(e,t,n,r,s="auto.http.browser"){if(!e.fetchData)return;const i=ns()&&t(e.fetchData.url);if(e.endTimestamp&&i){const f=e.fetchData.__span;if(!f)return;const p=r[f];p&&(mO(p,e),delete r[f]);return}const{method:o,url:a}=e.fetchData,l=hO(a),u=l?Ns(l).host:void 0,d=!!rt(),c=i&&d?Wa({name:`${o} ${a}`,attributes:{url:a,type:"fetch","http.method":o,"http.url":l,"server.address":u,[Ze]:s,[mr]:"http.client"}}):new po;if(e.fetchData.__span=c.spanContext().spanId,r[c.spanContext().spanId]=c,n(e.fetchData.url)){const f=e.args[0],p=e.args[1]||{},y=pO(f,p,ns()&&d?c:void 0);y&&(e.args[1]=p,p.headers=y)}return c}function pO(e,t,n){const r=KE({span:n}),s=r["sentry-trace"],i=r.baggage;if(!s)return;const o=t.headers||(gO(e)?e.headers:void 0);if(o)if(yO(o)){const a=new Headers(o);if(a.set("sentry-trace",s),i){const l=a.get("baggage");if(l){const u=Tl(l);a.set("baggage",u?`${u},${i}`:i)}else a.set("baggage",i)}return a}else if(Array.isArray(o)){const a=[...o.filter(l=>!(Array.isArray(l)&&l[0]==="sentry-trace")).map(l=>{if(Array.isArray(l)&&l[0]==="baggage"&&typeof l[1]=="string"){const[u,d,...c]=l;return[u,Tl(d),...c]}else return l}),["sentry-trace",s]];return i&&a.push(["baggage",i]),a}else{const a="baggage"in o?o.baggage:void 0;let l=[];return Array.isArray(a)?l=a.map(u=>typeof u=="string"?Tl(u):u).filter(u=>u===""):a&&l.push(Tl(a)),i&&l.push(i),{...o,"sentry-trace":s,baggage:l.length>0?l.join(","):void 0}}else return{...r}}function hO(e){try{return new URL(e).href}catch{return}}function mO(e,t){if(t.response){gE(e,t.response.status);const n=t.response&&t.response.headers&&t.response.headers.get("content-length");if(n){const r=parseInt(n);r>0&&e.setAttribute("http.response_content_length",r)}}else t.error&&e.setStatus({code:st,message:"internal_error"});e.end()}function Tl(e){return e.split(",").filter(t=>!t.split("=")[0].startsWith(pm)).join(",")}function gO(e){return typeof Request<"u"&&fr(e,Request)}function yO(e){return typeof Headers<"u"&&fr(e,Headers)}function ew(e){if(e!==void 0)return e>=400&&e<500?"warning":e>=500?"error":void 0}const kp=ge;
57function tw(){if(!("fetch"in kp))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function bp(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function vO(){if(typeof EdgeRuntime=="string")return!0;if(!tw())return!1;if(bp(kp.fetch))return!0;let e=!1;const t=kp.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=bp(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){us&&B.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function nw(e,t){const n="fetch";ds(n,e),fs(n,()=>rw(void 0,t))}function _O(e){const t="fetch-body-resolved";ds(t,e),fs(t,()=>rw(EO))}function rw(e,t=!1){t&&!vO()||Lt(ge,"fetch",function(n){return function(...r){const s=new Error,{method:i,url:o}=wO(r),a={args:r,fetchData:{method:i,url:o},startTimestamp:kt()*1e3,virtualError:s};return e||ln("fetch",{...a}),n.apply(ge,r).then(async l=>(e?e(l):ln("fetch",{...a,endTimestamp:kt()*1e3,response:l}),l),l=>{throw ln("fetch",{...a,endTimestamp:kt()*1e3,error:l}),Mc(l)&&l.stack===void 0&&(l.stack=s.stack,dn(l,"framesToPop",1)),l})}})}async function SO(e,t){if(e&&e.body){const n=e.body,r=n.getReader(),s=setTimeout(()=>{n.cancel().then(null,()=>{})},90*1e3);let i=!0;for(;i;){let o;try{o=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);const{done:a}=await r.read();clearTimeout(o),a&&(t(),i=!1)}catch{i=!1}finally{clearTimeout(o)}}clearTimeout(s),r.releaseLock(),n.cancel().then(null,()=>{})}}function EO(e){let t;try{t=e.clone()}catch{return}SO(t,()=>{ln("fetch-body-resolved",{endTimestamp:kt()*1e3,response:e})})}function Cp(e,t){return!!e&&typeof e=="object"&&!!e[t]}function Jy(e){return typeof e=="string"?e:e?Cp(e,"url")?e.url:e.toString?e.toString():"":""}function wO(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:Jy(n),method:Cp(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:Jy(t),method:Cp(t,"method")?String(t.method).toUpperCase():"GET"}}function TO(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function xO(){return"npm"}function kO(){return!TO()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function ev(){return typeof window<"u"&&(!kO()||bO())}function bO(){const e=ge.process;return!!e&&e.type==="renderer"}const xl=ge;function CO(){const e=xl.chrome,t=e&&e.app&&e.app.runtime,n="history"in xl&&!!xl.history.pushState&&!!xl.history.replaceState;return!t&&n}function IO(e,t){return e??t()}function Ql(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],i=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&&n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=i(n)):(s==="call"||s==="optionalCall")&&(n=i((...o)=>n.call(t,...o)),t=void 0)}return n}const te=ge;let Ip=0;function sw(){return Ip>0}function OO(){Ip++,setTimeout(()=>{Ip--})}function Xi(e,t={}){function n(s){return typeof s=="function"}if(!n(e))return e;try{const s=e.__sentry_wrapped__;if(s)return typeof s=="function"?s:e;if(cm(e))return e}catch{return e}const r=function(...s){try{const i=s.map(o=>Xi(o,t));return e.apply(this,i)}catch(i){throw OO(),Dc(o=>{o.addEventProcessor(a=>(t.mechanism&&(mp(a,void 0),Gi(a,t.mechanism)),a.extra={...a.extra,arguments:s},a)),ym(i)}),i}};try{for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=e[s])}catch{}cE(r,e),dn(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}const Gt=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function vm(e,t){const n=_m(e,t),r={type:NO(t),value:LO(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function RO(e,t,n,r){const s=fe(),i=s&&s.getOptions().normalizeDepth,o=BO(t),a={__serialized__:ME(t,i)};if(o)return{exception:{values:[vm(e,o)]},extra:a};const l={exception:{values:[{type:Pc(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:FO(t,{isUnhandledRejection:r})}]},extra:a};if(n){const u=_m(e,n);u.length&&(l.exception.values[0].stacktrace={frames:u})}return l}function Hd(e,t){return{exception:{values:[vm(e,t)]}}}function _m(e,t){const n=t.stacktrace||t.stack||"",r=MO(t),s=PO(t);try{return e(n,r,s)}catch{}return[]}const AO=/Minified React error #\d+;/i;function MO(e){return e&&AO.test(e.message)?1:0}function PO(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function iw(e){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?e instanceof WebAssembly.Exception:!1}function NO(e){const t=e&&e.name;return!t&&iw(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":t}function LO(e){const t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:iw(e)&&Array.isArray(e.message)&&e.message.length==2?e.message[1]:t:"No error message"}function DO(e,t,n,r){const s=n&&n.syntheticException||void 0,i=Sm(e,t,s,r);return Gi(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),hr(i)}function $O(e,t,n="info",r,s){const i=r&&r.syntheticException||void 0,o=Op(e,t,i,s);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),hr(o)}
57function Sm(e,t,n,r,s){let i;if(oE(t)&&t.error)return Hd(e,t.error);if(vy(t)||kb(t)){const o=t;if("stack"in t)i=Hd(e,t);else{const a=o.name||(vy(o)?"DOMError":"DOMException"),l=o.message?`${a}: ${o.message}`:a;i=Op(e,l,n,r),mp(i,l)}return"code"in o&&(i.tags={...i.tags,"DOMException.code":`${o.code}`}),i}return Mc(t)?Hd(e,t):Wi(t)||Pc(t)?(i=RO(e,t,n,s),Gi(i,{synthetic:!0}),i):(i=Op(e,t,n,r),mp(i,`${t}`),Gi(i,{synthetic:!0}),i)}function Op(e,t,n,r){const s={};if(r&&n){const i=_m(e,n);i.length&&(s.exception={values:[{value:t,stacktrace:{frames:i}}]}),Gi(s,{synthetic:!0})}if(lm(t)){const{__sentry_template_string__:i,__sentry_template_values__:o}=t;return s.logentry={message:i,params:o},s}return s.message=t,s}function FO(e,{isUnhandledRejection:t}){const n=Pb(e),r=t?"promise rejection":"exception";return oE(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:Pc(e)?`Event \`${zO(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function zO(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function BO(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}function UO(e,{metadata:t,tunnel:n,dsn:r}){const s={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:ho(r)}},i=jO(e);return Ks(s,[i])}function jO(e){return[{type:"user_report"},e]}class VO extends TI{constructor(t){const n={parentSpanIsAlwaysRootSpan:!0,...t},r=te.SENTRY_SDK_SOURCE||xO();XE(n,"browser",["browser"],r),super(n),n.sendClientReports&&te.document&&te.document.addEventListener("visibilitychange",()=>{te.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return DO(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return $O(this._options.stackParser,t,n,r,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled()){Gt&&B.warn("SDK not enabled, will not capture user feedback.");return}const n=UO(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(n)}_prepareEvent(t,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r)}}const Em=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,HO=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",mo=(e,t,n,r)=>{let s,i;return o=>{t.value>=0&&(o||r)&&(i=t.value-(s||0),(i||s===void 0)&&(s=t.value,t.delta=i,t.rating=HO(t.value,n),e(t)))}},ne=ge,WO=()=>`v4-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,Ga=(e=!0)=>{const t=ne.performance&&ne.performance.getEntriesByType&&ne.performance.getEntriesByType("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},qa=()=>{const e=Ga();return e&&e.activationStart||0},go=(e,t)=>{const n=Ga();let r="navigate";return n&&(ne.document&&ne.document.prerendering||qa()>0?r="prerender":ne.document&&ne.document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:typeof t>"u"?-1:t,rating:"good",delta:0,entries:[],id:WO(),navigationType:r}},Zs=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver(s=>{Promise.resolve().then(()=>{t(s.getEntries())})});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch{}},yo=e=>{const t=n=>{(n.type==="pagehide"||ne.document&&ne.document.visibilityState==="hidden")&&e(n)};ne.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},zc=e=>{let t=!1;return()=>{t||(e(),t=!0)}};let Jo=-1;const GO=()=>ne.document.visibilityState==="hidden"&&!ne.document.prerendering?0:1/0,Uu=e=>{ne.document.visibilityState==="hidden"&&Jo>-1&&(Jo=e.type==="visibilitychange"?e.timeStamp:0,YO())},qO=()=>{addEventListener("visibilitychange",Uu,!0),addEventListener("prerenderingchange",Uu,!0)},YO=()=>{removeEventListener("visibilitychange",Uu,!0),removeEventListener("prerenderingchange",Uu,!0)},Bc=()=>(ne.document&&Jo<0&&(Jo=GO(),qO()),{get firstHiddenTime(){return Jo}}),Ya=e=>{ne.document&&ne.document.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},XO=[1800,3e3],KO=(e,t={})=>{Ya(()=>{const n=Bc(),r=go("FCP");let s;const o=Zs("paint",a=>{a.forEach(l=>{l.name==="first-contentful-paint"&&(o.disconnect(),l.startTime<n.firstHiddenTime&&(r.value=Math.max(l.startTime-qa(),0),r.entries.push(l),s(!0)))})});o&&(s=mo(e,r,XO,t.reportAllChanges))})},ZO=[.1,.25],QO=(e,t={})=>{KO(zc(()=>{const n=go("CLS",0);let r,s=0,i=[];const o=l=>{l.forEach(u=>{if(!u.hadRecentInput){const d=i[0],c=i[i.length-1];s&&d&&c&&u.startTime-c.startTime<1e3&&u.startTime-d.startTime<5e3?(s+=u.value,i.push(u)):(s=u.value,i=[u])}}),s>n.value&&(n.value=s,n.entries=i,r())},a=Zs("layout-shift",o);a&&(r=mo(e,n,ZO,t.reportAllChanges),yo(()=>{o(a.takeRecords()),r(!0)}),setTimeout(r,0))}))},JO=[100,300],eR=(e,t={})=>{Ya(()=>{const n=Bc(),r=go("FID");let s;const i=l=>{l.startTime<n.firstHiddenTime&&(r.value=l.processingStart-l.startTime,r.entries.push(l),s(!0))},o=l=>{l.forEach(i)},a=Zs("first-input",o);s=mo(e,r,JO,t.reportAllChanges),a&&yo(zc(()=>{o(a.takeRecords()),a.disconnect()}))})};let ow=0,Wd=1/0,kl=0;const tR=e=>{e.forEach(t=>{t.interactionId&&(Wd=Math.min(Wd,t.interactionId),kl=Math.max(kl,t.interactionId),ow=kl?(kl-Wd)/7+1:0)})};let Rp;const nR=()=>Rp?ow:performance.interactionCount||0,rR=()=>{"interactionCount"in performance||Rp||(Rp=Zs("event",tR,{type:"event",buffered:!0,durationThreshold:0}))},er=[],Gd=new Map,sR=40;let iR=0;const oR=()=>nR()-iR,aR=()=>{const e=Math.min(er.length-1,Math.floor(oR()/50));return er[e]},qd=10,lR=[],uR=e=>{if(lR.forEach(r=>r(e)),!(e.interactionId||e.entryType==="first-input"))return;const t=er[er.length-1],n=Gd.get(e.interactionId);if(n||er.length<qd||t&&e.duration>t.latency){if(n)e.duration>n.latency?(n.entries=[e],n.latency=e.duration):e.duration===n.latency&&e.startTime===(n.entries[0]&&n.entries[0].startTime)&&n.entries.push(e);else{const r={id:e.interactionId,latency:e.duration,entries:[e]};Gd.set(r.id,r),er.push(r)}er.sort((r,s)=>s.latency-r.latency),er.length>
57qd&&er.splice(qd).forEach(r=>Gd.delete(r.id))}},aw=e=>{const t=ne.requestIdleCallback||ne.setTimeout;let n=-1;return e=zc(e),ne.document&&ne.document.visibilityState==="hidden"?e():(n=t(e),yo(e)),n},cR=[200,500],dR=(e,t={})=>{"PerformanceEventTiming"in ne&&"interactionId"in PerformanceEventTiming.prototype&&Ya(()=>{rR();const n=go("INP");let r;const s=o=>{aw(()=>{o.forEach(uR);const a=aR();a&&a.latency!==n.value&&(n.value=a.latency,n.entries=a.entries,r())})},i=Zs("event",s,{durationThreshold:t.durationThreshold!=null?t.durationThreshold:sR});r=mo(e,n,cR,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),yo(()=>{s(i.takeRecords()),r(!0)}))})},fR=[2500,4e3],tv={},pR=(e,t={})=>{Ya(()=>{const n=Bc(),r=go("LCP");let s;const i=a=>{t.reportAllChanges||(a=a.slice(-1)),a.forEach(l=>{l.startTime<n.firstHiddenTime&&(r.value=Math.max(l.startTime-qa(),0),r.entries=[l],s())})},o=Zs("largest-contentful-paint",i);if(o){s=mo(e,r,fR,t.reportAllChanges);const a=zc(()=>{tv[r.id]||(i(o.takeRecords()),o.disconnect(),tv[r.id]=!0,s(!0))});["keydown","click"].forEach(l=>{ne.document&&addEventListener(l,()=>aw(a),{once:!0,capture:!0})}),yo(a)}})},hR=[800,1800],Ap=e=>{ne.document&&ne.document.prerendering?Ya(()=>Ap(e)):ne.document&&ne.document.readyState!=="complete"?addEventListener("load",()=>Ap(e),!0):setTimeout(e,0)},mR=(e,t={})=>{const n=go("TTFB"),r=mo(e,n,hR,t.reportAllChanges);Ap(()=>{const s=Ga();s&&(n.value=Math.max(s.responseStart-qa(),0),n.entries=[s],r(!0))})},ea={},ju={};let lw,uw,cw,dw,fw;function wm(e,t=!1){return Xa("cls",e,yR,lw,t)}function pw(e,t=!1){return Xa("lcp",e,_R,cw,t)}function hw(e){return Xa("fid",e,vR,uw)}function gR(e){return Xa("ttfb",e,SR,dw)}function mw(e){return Xa("inp",e,ER,fw)}function Ki(e,t){return gw(e,t),ju[e]||(wR(e),ju[e]=!0),yw(e,t)}function vo(e,t){const n=ea[e];if(!(!n||!n.length))for(const r of n)try{r(t)}catch(s){Em&&B.error(`Error while triggering instrumentation handler. 58Type: ${e} 59Name: ${dr(r)} 60Error:`,s)}}function yR(){return QO(e=>{vo("cls",{metric:e}),lw=e},{reportAllChanges:!0})}function vR(){return eR(e=>{vo("fid",{metric:e}),uw=e})}function _R(){return pR(e=>{vo("lcp",{metric:e}),cw=e},{reportAllChanges:!0})}function SR(){return mR(e=>{vo("ttfb",{metric:e}),dw=e})}function ER(){return dR(e=>{vo("inp",{metric:e}),fw=e})}function Xa(e,t,n,r,s=!1){gw(e,t);let i;return ju[e]||(i=n(),ju[e]=!0),r&&t({metric:r}),yw(e,t,s?i:void 0)}function wR(e){const t={};e==="event"&&(t.durationThreshold=0),Zs(e,n=>{vo(e,{entries:n})},t)}function gw(e,t){ea[e]=ea[e]||[],ea[e].push(t)}function yw(e,t,n){return()=>{n&&n();const r=ea[e];if(!r)return;const s=r.indexOf(t);s!==-1&&r.splice(s,1)}}function TR(e){return"duration"in e}function Yd(e){return typeof e=="number"&&isFinite(e)}function gr(e,t,n,{...r}){const s=Se(e).start_timestamp;return s&&s>t&&typeof e.updateStartTime=="function"&&e.updateStartTime(t),LE(e,()=>{const i=Wa({startTime:t,...r});return i&&i.end(n),i})}function vw(e){const t=fe();if(!t)return;const{name:n,transaction:r,attributes:s,startTime:i}=e,{release:o,environment:a}=t.getOptions(),l=t.getIntegrationByName("Replay"),u=l&&l.getReplayId(),d=be(),c=d.getUser(),f=c!==void 0?c.email||c.id||c.ip_address:void 0;let p;try{p=d.getScopeData().contexts.profile.profile_id}catch{}const y={release:o,environment:a,user:f||void 0,profile_id:p||void 0,replay_id:u||void 0,transaction:r,"user_agent.original":ne.navigator&&ne.navigator.userAgent,...s};return Wa({name:n,attributes:y,startTime:i,experimental:{standalone:!0}})}function Tm(){return ne&&ne.addEventListener&&ne.performance}function We(e){return e/1e3}function _w(e){let t="unknown",n="unknown",r="";for(const s of e){if(s==="/"){[t,n]=e.split("/");break}if(!isNaN(Number(s))){t=r==="h"?"http":r,n=e.split(r)[1];break}r+=s}return r===e&&(t=r),{name:t,version:n}}function xR(){let e=0,t,n;if(!bR())return;let r=!1;function s(){r||(r=!0,n&&kR(e,t,n),i())}const i=wm(({metric:o})=>{const a=o.entries[o.entries.length-1];a&&(e=o.value,t=a)},!0);yo(()=>{s()}),setTimeout(()=>{const o=fe();if(!o)return;const a=o.on("startNavigationSpan",()=>{s(),a&&a()}),l=rt(),u=l&&at(l),d=u&&Se(u);d&&d.op==="pageload"&&(n=u.spanContext().spanId)},0)}function kR(e,t,n){Em&&B.log(`Sending CLS span (${e})`);const r=We((bt||0)+(t&&t.startTime||0)),s=be().getScopeData().transactionName,i=t?pr(t.sources[0]&&t.sources[0].node):"Layout shift",o=nt({[Ze]:"auto.http.browser.cls",[mr]:"ui.webvital.cls",[fm]:t&&t.duration||0,"sentry.pageload.span_id":n}),a=vw({name:i,transaction:s,attributes:o,startTime:r});a&&(a.addEvent("cls",{[$c]:"",[Fc]:e}),a.end(r))}function bR(){try{return PerformanceObserver.supportedEntryTypes.includes("layout-shift")}catch{return!1}}const CR=2147483647;let nv=0,ct={},Mt,ta;function IR({recordClsStandaloneSpans:e}){const t=Tm();if(t&&bt){t.mark&&ne.performance.mark("sentry-tracing-init");const n=NR(),r=PR(),s=LR(),i=e?xR():MR();return()=>{n(),r(),s(),i&&i()}}return()=>{}}function OR(){Ki("longtask",({entries:e})=>{const t=rt();if(!t)return;const{op:n,start_timestamp:r}=Se(t);for(const s of e){const i=We(bt+s.startTime),o=We(s.duration);n==="navigation"&&r&&i<r||gr(t,i,i+o,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[Ze]:"auto.ui.browser.metrics"}})}})}function RR(){new PerformanceObserver(t=>{const n=rt();if(n)for(const r of t.getEntries()){if(!r.scripts[0])continue;const s=We(bt+r.startTime),{start_timestamp:i,op:o}=Se(n);if(o==="navigation"&&i&&s<i)continue;const a=We(r.duration),l={[Ze]:"auto.ui.browser.metrics"},u=r.scripts[0],{invoker:d,invokerType:c,sourceURL:f,sourceFunctionName:p,sourceCharPosition:y}=u;l["browser.script.invoker"]=d,l["browser.script.invoker_type"]=c,f&&(l["code.filepath"]=f),p&&(l["code.function"]=p),y!==-1&&(l["browser.script.source_char_position"]=y),gr(n,s,s+a,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:l})}}).observe({type:"long-animation-frame",buffered:!0})}function AR(){Ki("event",({entries:e})=>{const t=rt();if(t){for(const n of e)if(n.name==="click"){const r=We(bt+n.startTime),s=We(n.duration),i={name:pr(n.target),op:`ui.interaction.${n.name}`,startTime:r,attributes:{[Ze]:"auto.ui.browser.metrics"}},o=uE(n.target);o&&(i.attributes["ui.component_name"]=o),gr(t,r,r+s,i)}}})}function MR(){return wm(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(ct.cls={value:e.value,unit:""},ta=t)},!0)}function PR(){return pw(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(ct.lcp={value:e.value,unit:"millisecond"},Mt=t)},!0)}function NR(){return hw(({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;const n=We(bt),r=We(t.startTime);
60ct.fid={value:e.value,unit:"millisecond"},ct["mark.fid"]={value:n+r,unit:"second"}})}function LR(){return gR(({metric:e})=>{e.entries[e.entries.length-1]&&(ct.ttfb={value:e.value,unit:"millisecond"})})}function DR(e,t){const n=Tm();if(!n||!n.getEntries||!bt)return;const r=We(bt),s=n.getEntries(),{op:i,start_timestamp:o}=Se(e);if(s.slice(nv).forEach(a=>{const l=We(a.startTime),u=We(Math.max(0,a.duration));if(!(i==="navigation"&&o&&r+l<o))switch(a.entryType){case"navigation":{FR(e,a,r);break}case"mark":case"paint":case"measure":{$R(e,a,l,u,r);const d=Bc(),c=a.startTime<d.firstHiddenTime;a.name==="first-paint"&&c&&(ct.fp={value:a.startTime,unit:"millisecond"}),a.name==="first-contentful-paint"&&c&&(ct.fcp={value:a.startTime,unit:"millisecond"});break}case"resource":{UR(e,a,a.name,l,u,r);break}}}),nv=Math.max(s.length-1,0),jR(e),i==="pageload"){HR(ct);const a=ct["mark.fid"];a&&ct.fid&&(gr(e,a.value,a.value+We(ct.fid.value),{name:"first input delay",op:"ui.action",attributes:{[Ze]:"auto.ui.browser.metrics"}}),delete ct["mark.fid"]),(!("fcp"in ct)||!t.recordClsOnPageloadSpan)&&delete ct.cls,Object.entries(ct).forEach(([l,u])=>{DC(l,u.value,u.unit)}),e.setAttribute("performance.timeOrigin",r),e.setAttribute("performance.activationStart",qa()),VR(e)}Mt=void 0,ta=void 0,ct={}}function $R(e,t,n,r,s){const i=Ga(!1),o=We(i?i.requestStart:0),a=s+Math.max(n,o),l=s+n,u=l+r,d={[Ze]:"auto.resource.browser.metrics"};a!==l&&(d["sentry.browser.measure_happened_before_request"]=!0,d["sentry.browser.measure_start_time"]=a),a<=u&&gr(e,a,u,{name:t.name,op:t.entryType,attributes:d})}function FR(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{bl(e,t,r,n)}),bl(e,t,"secureConnection",n,"TLS/SSL"),bl(e,t,"fetch",n,"cache"),bl(e,t,"domainLookup",n,"DNS"),BR(e,t,n)}function bl(e,t,n,r,s=n){const i=zR(n),o=t[i],a=t[`${n}Start`];!a||!o||gr(e,r+We(a),r+We(o),{op:`browser.${s}`,name:t.name,attributes:{[Ze]:"auto.ui.browser.metrics"}})}function zR(e){return e==="secureConnection"?"connectEnd":e==="fetch"?"domainLookupStart":`${e}End`}function BR(e,t,n){const r=n+We(t.requestStart),s=n+We(t.responseEnd),i=n+We(t.responseStart);t.responseEnd&&(gr(e,r,s,{op:"browser.request",name:t.name,attributes:{[Ze]:"auto.ui.browser.metrics"}}),gr(e,i,s,{op:"browser.response",name:t.name,attributes:{[Ze]:"auto.ui.browser.metrics"}}))}function UR(e,t,n,r,s,i){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const o=Ns(n),a={[Ze]:"auto.resource.browser.metrics"};Xd(a,t,"transferSize","http.response_transfer_size"),Xd(a,t,"encodedBodySize","http.response_content_length"),Xd(a,t,"decodedBodySize","http.decoded_response_content_length");const l=t.deliveryType;l!=null&&(a["http.response_delivery_type"]=l);const u=t.renderBlockingStatus;u&&(a["resource.render_blocking_status"]=u),o.protocol&&(a["url.scheme"]=o.protocol.split(":").pop()),o.host&&(a["server.address"]=o.host),a["url.same_origin"]=n.includes(ne.location.origin);const{name:d,version:c}=_w(t.nextHopProtocol);a["network.protocol.name"]=d,a["network.protocol.version"]=c;const f=i+r,p=f+s;gr(e,f,p,{name:n.replace(ne.location.origin,""),op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",attributes:a})}function jR(e){const t=ne.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute("connectionType",n.type),Yd(n.rtt)&&(ct["connection.rtt"]={value:n.rtt,unit:"millisecond"})),Yd(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),Yd(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}function VR(e){Mt&&(Mt.element&&e.setAttribute("lcp.element",pr(Mt.element)),Mt.id&&e.setAttribute("lcp.id",Mt.id),Mt.url&&e.setAttribute("lcp.url",Mt.url.trim().slice(0,200)),Mt.loadTime!=null&&e.setAttribute("lcp.loadTime",Mt.loadTime),Mt.renderTime!=null&&e.setAttribute("lcp.renderTime",Mt.renderTime),e.setAttribute("lcp.size",Mt.size)),ta&&ta.sources&&ta.sources.forEach((t,n)=>e.setAttribute(`cls.source.${n+1}`,pr(t.node)))}function Xd(e,t,n,r){const s=t[n];s!=null&&s<CR&&(e[r]=s)}function HR(e){const t=Ga(!1);if(!t)return;const{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}const WR=1e3;let rv,Mp,Pp;function Sw(e){const t="dom";ds(t,e),fs(t,GR)}function GR(){if(!ne.document)return;const e=ln.bind(null,"dom"),t=sv(e,!0);ne.document.addEventListener("click",t,!1),ne.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const s=ne[n],i=s&&s.prototype;!i||!i.hasOwnProperty||!i.hasOwnProperty("addEventListener")||(Lt(i,"addEventListener",function(o){return function(a,l,u){if(a==="click"||a=="keypress")try{const d=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},c=d[a]=d[a]||{refCount:0};if(!c.handler){const f=sv(e);c.handler=f,o.call(this,a,f,u)}c.refCount++}catch{}return o.call(this,a,l,u)}}),Lt(i,"removeEventListener",function(o){return function(a,l,u){if(a==="click"||a=="keypress")try{const d=this.__sentry_instrumentation_handlers__||{},c=d[a];c&&(c.refCount--,c.refCount<=0&&(o.call(this,a,c.handler,u),c.handler=void 0,delete d[a]),Object.keys(d).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return o.call(this,a,l,u)}}))})}function qR(e){if(e.type!==Mp)return!1;try{if(!e.target||e.target._sentryId!==Pp)return!1}catch{}return!0}function YR(e,t){return e!=="keypress"?!1:!t||!t.tagName?!0:!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)}function sv(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=XR(n);if(YR(n.type,r))return;dn(n,"_sentryCaptured",!0),r&&!r._sentryId&&dn(r,"_sentryId",Wt());
60const s=n.type==="keypress"?"input":n.type;qR(n)||(e({event:n,name:s,global:t}),Mp=n.type,Pp=r?r._sentryId:void 0),clearTimeout(rv),rv=ne.setTimeout(()=>{Pp=void 0,Mp=void 0},WR)}}function XR(e){try{return e.target}catch{return null}}let Cl;function Uc(e){const t="history";ds(t,e),fs(t,KR)}function KR(){if(!CO())return;const e=ne.onpopstate;ne.onpopstate=function(...n){const r=ne.location.href,s=Cl;if(Cl=r,ln("history",{from:s,to:r}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...r){const s=r.length>2?r[2]:void 0;if(s){const i=Cl,o=String(s);Cl=o,ln("history",{from:i,to:o})}return n.apply(this,r)}}Lt(ne.history,"pushState",t),Lt(ne.history,"replaceState",t)}const Jl={};function Ew(e){const t=Jl[e];if(t)return t;let n=ne[e];if(bp(n))return Jl[e]=n.bind(ne);const r=ne.document;if(r&&typeof r.createElement=="function")try{const s=r.createElement("iframe");s.hidden=!0,r.head.appendChild(s);const i=s.contentWindow;i&&i[e]&&(n=i[e]),r.head.removeChild(s)}catch(s){Em&&B.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,s)}return n&&(Jl[e]=n.bind(ne))}function iv(e){Jl[e]=void 0}function Zi(...e){return Ew("setTimeout")(...e)}const ks="__sentry_xhr_v3__";function ww(e){const t="xhr";ds(t,e),fs(t,ZR)}function ZR(){if(!ne.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,n,r){const s=new Error,i=kt()*1e3,o=ir(r[0])?r[0].toUpperCase():void 0,a=QR(r[1]);if(!o||!a)return t.apply(n,r);n[ks]={method:o,url:a,request_headers:{}},o==="POST"&&a.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const l=()=>{const u=n[ks];if(u&&n.readyState===4){try{u.status_code=n.status}catch{}const d={endTimestamp:kt()*1e3,startTimestamp:i,xhr:n,virtualError:s};ln("xhr",d)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(u,d,c){return l(),u.apply(d,c)}}):n.addEventListener("readystatechange",l),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(u,d,c){const[f,p]=c,y=d[ks];return y&&ir(f)&&ir(p)&&(y.request_headers[f.toLowerCase()]=p),u.apply(d,c)}}),t.apply(n,r)}}),e.send=new Proxy(e.send,{apply(t,n,r){const s=n[ks];if(!s)return t.apply(n,r);r[0]!==void 0&&(s.body=r[0]);const i={startTimestamp:kt()*1e3,xhr:n};return ln("xhr",i),t.apply(n,r)}})}function QR(e){if(ir(e))return e;try{return e.toString()}catch{}}const Kd=[],eu=new Map;function JR(){if(Tm()&&bt){const t=eA();return()=>{t()}}return()=>{}}const ov={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 eA(){return mw(({metric:e})=>{if(e.value==null)return;const t=e.entries.find(y=>y.duration===e.value&&ov[y.name]);if(!t)return;const{interactionId:n}=t,r=ov[t.name],s=We(bt+t.startTime),i=We(e.value),o=rt(),a=o?at(o):void 0,u=(n!=null?eu.get(n):void 0)||a,d=u?Se(u).description:be().getScopeData().transactionName,c=pr(t.target),f=nt({[Ze]:"auto.http.browser.inp",[mr]:`ui.interaction.${r}`,[fm]:t.duration}),p=vw({name:c,transaction:d,attributes:f,startTime:s});p&&(p.addEvent("inp",{[$c]:"millisecond",[Fc]:e.value}),p.end(s+i))})}function tA(e){const t=({entries:n})=>{const r=rt(),s=r&&at(r);n.forEach(i=>{if(!TR(i)||!s)return;const o=i.interactionId;if(o!=null&&!eu.has(o)){if(Kd.length>10){const a=Kd.shift();eu.delete(a)}Kd.push(o),eu.set(o,s)}})};Ki("event",t),Ki("first-input",t)}function nA(e,t=Ew("fetch")){let n=0,r=0;function s(i){const o=i.body.length;n+=o,r++;const a={body:i.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};if(!t)return iv("fetch"),$u("No fetch implementation available");try{return t(e.url,a).then(l=>(n-=o,r--,{statusCode:l.status,headers:{"x-sentry-rate-limits":l.headers.get("X-Sentry-Rate-Limits"),"retry-after":l.headers.get("Retry-After")}}))}catch(l){return iv("fetch"),n-=o,r--,$u(l)}}return PI(e,s)}const rA=30,sA=50;function Np(e,t,n,r){const s={filename:e,function:t==="<anonymous>
60"?Bs:t,in_app:!0};return n!==void 0&&(s.lineno=n),r!==void 0&&(s.colno=r),s}const iA=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,oA=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,aA=/\((\S*)(?::(\d+))(?::(\d+))\)/,lA=e=>{const t=iA.exec(e);if(t){const[,r,s,i]=t;return Np(r,Bs,+s,+i)}const n=oA.exec(e);if(n){if(n[2]&&n[2].indexOf("eval")===0){const o=aA.exec(n[2]);o&&(n[2]=o[1],n[3]=o[2],n[4]=o[3])}const[s,i]=Tw(n[1]||Bs,n[2]);return Np(i,s,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}},uA=[rA,lA],cA=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,dA=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,fA=e=>{const t=cA.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const i=dA.exec(t[3]);i&&(t[1]=t[1]||"eval",t[3]=i[1],t[4]=i[2],t[5]="")}let r=t[3],s=t[1]||Bs;return[s,r]=Tw(s,r),Np(r,s,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},pA=[sA,fA],hA=[uA,pA],mA=nE(...hA),Tw=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:Bs,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},Il=1024,gA="Breadcrumbs",yA=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:gA,setup(n){t.console&&sO(EA(n)),t.dom&&Sw(SA(n,t.dom)),t.xhr&&ww(wA(n)),t.fetch&&nw(TA(n)),t.history&&Uc(xA(n)),t.sentry&&n.on("beforeSendEvent",_A(n))}}},vA=yA;function _A(e){return function(n){fe()===e&&rs({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:kr(n)},{event:n})}}function SA(e,t){return function(r){if(fe()!==e)return;let s,i,o=typeof t=="object"?t.serializeAttribute:void 0,a=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;a&&a>Il&&(Gt&&B.warn(`\`dom.maxStringLength\` cannot exceed ${Il}, but a value of ${a} was configured. Sentry will use ${Il} instead.`),a=Il),typeof o=="string"&&(o=[o]);try{const u=r.event,d=kA(u)?u.target:u;s=pr(d,{keyAttrs:o,maxStringLength:a}),i=uE(d)}catch{s="<unknown>"}if(s.length===0)return;const l={category:`ui.${r.name}`,message:s};i&&(l.data={"ui.component_name":i}),rs(l,{event:r.event,name:r.name,global:r.global})}}function EA(e){return function(n){if(fe()!==e)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:ZE(n.level),message:_y(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${_y(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;rs(r,{input:n.args,level:n.level})}}function wA(e){return function(n){if(fe()!==e)return;const{startTimestamp:r,endTimestamp:s}=n,i=n.xhr[ks];if(!r||!s||!i)return;const{method:o,url:a,status_code:l,body:u}=i,d={method:o,url:a,status_code:l},c={xhr:n.xhr,input:u,startTimestamp:r,endTimestamp:s},f=ew(l);rs({category:"xhr",data:d,type:"http",level:f},c)}}function TA(e){return function(n){if(fe()!==e)return;const{startTimestamp:r,endTimestamp:s}=n;if(s&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.error){const i=n.fetchData,o={data:n.error,input:n.args,startTimestamp:r,endTimestamp:s};rs({category:"fetch",data:i,level:"error",type:"http"},o)}else{const i=n.response,o={...n.fetchData,status_code:i&&i.status},a={input:n.args,response:i,startTimestamp:r,endTimestamp:s},l=ew(o.status_code);rs({category:"fetch",data:o,type:"http",level:l},a)}}}function xA(e){return function(n){if(fe()!==e)return;let r=n.from,s=n.to;const i=Ns(te.location.href);let o=r?Ns(r):void 0;const a=Ns(s);(!o||!o.path)&&(o=i),i.protocol===a.protocol&&i.host===a.host&&(s=a.relative),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),rs({category:"navigation",data:{from:r,to:s}})}}function kA(e){return!!e&&!!e.target}const bA=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],CA="BrowserApiErrors",IA=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:CA,setupOnce(){t.setTimeout&&Lt(te,"setTimeout",av),t.setInterval&&Lt(te,"setInterval",av),t.requestAnimationFrame&&Lt(te,"requestAnimationFrame",RA),t.XMLHttpRequest&&"XMLHttpRequest"in te&&Lt(XMLHttpRequest.prototype,"send",AA);const n=t.eventTarget;n&&(Array.isArray(n)?n:bA).forEach(MA)}}},OA=IA;function av(e){return function(...t){const n=t[0];return t[0]=Xi(n,{mechanism:{data:{function:dr(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function RA(e){return function(t){return e.apply(this,[Xi(t,{mechanism:{data:{function:"requestAnimationFrame",handler:dr(e)},handled:!1,type:"instrument"}})])}}function AA(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(s=>{s in n&&typeof n[s]=="function"&&Lt(n,s,function(i){const o={mechanism:{data:{function:s,handler:dr(i)},handled:!1,type:"instrument"}},a=cm(i);return a&&(o.mechanism.data.handler=dr(a)),Xi(i,o)})}),e.apply(this,t)}}function MA(e){const n=te[e],r=n&&n.prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(Lt(r,"addEventListener",function(s){return function(i,o,a){try{PA(o)&&(o.handleEvent=Xi(o.handleEvent,{mechanism:{data:{function:"handleEvent",handler:dr(o),target:e},handled:!1,type:"instrument"}}))}catch{}return s.apply(this,[i,Xi(o,{mechanism:{data:{function:"addEventListener",handler:dr(o),target:e},handled:!1,type:"instrument"}}),a])}}),Lt(r,"removeEventListener",function(s){return function(i,o,a){try{const l=o.__sentry_wrapped__;l&&s.call(this,i,l,a)}catch{}return s.call(this,i,o,a)}}))}function PA(e){return typeof e.handleEvent=="function"}const NA=()=>({name:"BrowserSession",setupOnce(){if(typeof te.document>"u"){Gt&&B.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}By({ignoreDuration:!0}),Uy(),Uc(({from:e,to:t})=>{e!==void 0&&e!==t&&(By({ignoreDuration:!0}),Uy())})}}),LA="GlobalHandlers",DA=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:LA,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(FA(n),lv("onerror")),t.onunhandledrejection&&(zA(n),lv("onunhandledrejection"))}}},$A=DA;function FA(e){rE(t=>{const{stackParser:n,attachStacktrace:r}=xw();if(fe()!==e||sw())return;const{msg:s,url:i,line:o,column:a,error:l}=t,u=jA(Sm(n,l||s,void 0,r,!1),i,o,a);u.level="error",zE(u,{originalException:l,mechanism:{handled:!1,type:"onerror"}})})}function zA(e){sE(t=>{const{stackParser:n,attachStacktrace:r}=xw();if(fe()!==e||sw())return;const s=BA(t),i=um(s)?UA(s):Sm(n,s,void 0,r,!0);i.level="error",zE(i,{originalException:s,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function BA(e){if(um(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}function UA(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function jA(e,t,n,r){const s=e.exception=e.exception||{},i=s.values=s.values||[],o=i[0]=i[0]||{},a=o.stacktrace=o.stacktrace||{},l=a.frames=a.frames||[],u=r,d=n,c=ir(t)&&t.length>0?t:lE();return l.length===0&&l.push({colno:u,filename:c,function:Bs,in_app:!0,lineno:d}),e}function lv(e){Gt&&B.log(`Global Handler attached: ${e}`)}function xw(){const e=fe();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const VA=()=>({name:"HttpContext",preprocessEvent(e){if(!te.navigator&&!te.location&&!te.document)return;const t=e.request&&e.request.url||te.location&&te.location.href,{referrer:n}=te.document||{},{userAgent:r}=te.navigator||{},s={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},i={...e.request,...t&&{url:t},headers:s};e.request=i}}),HA="cause",WA=5,GA="LinkedErrors",qA=(e={})=>{const t=e.limit||WA,n=e.key||HA;return{name:GA,preprocessEvent(r,s,i){const o=i.getOptions();nO(vm,o.stackParser,o.maxValueLength,n,t,r,s)}}},YA=qA;function XA(e){const t=[WI(),UI(),OA(),vA(),$A(),YA(),lO(),VA()];return e.autoSessionTracking!==!1&&t.push(NA()),t}function KA(e={}){const t={defaultIntegrations:XA(e),release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:te.SENTRY_RELEASE&&te.SENTRY_RELEASE.id?te.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return e.defaultIntegrations==null&&delete e.defaultIntegrations,{...t,...e}}function ZA(){const e=typeof te.window<"u"&&te;if(!e)return!1;const t=e.chrome?"chrome":"browser",n=e[t],r=n&&n.runtime&&n.runtime.id,s=te.location&&te.location.href||"",i=["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"],o=!!r&&te===te.top&&i.some(l=>s.startsWith(`${l}//`)),a=typeof e.nw<"u";return!!r&&!o&&!a}function QA(e={}){const t=KA(e);if(!t.skipBrowserExtensionCheck&&ZA()){cs(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}Gt&&(tw()||B.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const n={...t,stackParser:Eb(t.stackParser||mA),integrations:SI(t),transport:t.transport||nA};return bI(VO,n)}function uv(e={}){if(!te.document){Gt&&B.error("Global document not defined in showReportDialog call");return}const t=be(),n=t.getClient(),r=n&&n.getDsn();if(!r){Gt&&B.error("DSN not configured for showReportDialog call");return}if(t&&(e.user={...t.getUser(),...e.user}),!e.eventId){const a=dI();a&&(e.eventId=a)}const s=te.document.createElement("script");s.async=!0,s.crossOrigin="anonymous",s.src=vI(r,e),e.onLoad&&(s.onload=e.onLoad);const{onClose:i}=e;if(i){const a=l=>{if(l.data==="__sentry_reportdialog_closed__")try{i()}finally{te.removeEventListener("message",a)}};te.addEventListener("message",a)}const o=te.document.head||te.document.body;o?o.appendChild(s):Gt&&B.error("Not injecting report dialog. No injection point found in HTML")}const Oe=ge,xm="sentryReplaySession",JA="replay_event",km="Unable to send Replay",eM=3e5,tM=9e5,nM=5e3,rM=5500,sM=6e4,iM=5e3,oM=3,cv=15e4,Ol=5e3,aM=3e3,lM=300,bm=2e7,uM=4999,cM=15e3,dv=36e5;function Lp(e,t){return e??t()}function Ca(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],i=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&&n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=i(n)):(s==="call"||s==="optionalCall")&&(n=i((...o)=>n.call(t,...o)),t=void 0)}return n}var Je;(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"})(Je||(Je={}));
60function dM(e){return e.nodeType===e.ELEMENT_NODE}function na(e){const t=Ca([e,"optionalAccess",n=>n.host]);return Ca([t,"optionalAccess",n=>n.shadowRoot])===e}function ra(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function fM(e){return e.includes(" background-clip: text;")&&!e.includes(" -webkit-background-clip: text;")&&(e=e.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),e}function pM(e){const{cssText:t}=e;if(t.split('"').length<3)return t;const 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 Vu(e){try{const t=e.rules||e.cssRules;return t?fM(Array.from(t,kw).join("")):null}catch{return null}}function hM(e){let t="";for(let n=0;n<e.style.length;n++){const r=e.style,s=r[n],i=r.getPropertyPriority(s);t+=`${s}:${r.getPropertyValue(s)}${i?" !important":""};`}return`${e.selectorText} { ${t} }`}function kw(e){let t;if(gM(e))try{t=Vu(e.styleSheet)||pM(e)}catch{}else if(yM(e)){let n=e.cssText;const r=e.selectorText.includes(":"),s=typeof e.style.all=="string"&&e.style.all;if(s&&(n=hM(e)),r&&(n=mM(n)),r||s)return n}return t||e.cssText}function mM(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}function gM(e){return"styleSheet"in e}function yM(e){return"selectorText"in e}class bw{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(t){if(!t)return-1;const n=Ca([this,"access",r=>r.getMeta,"call",r=>r(t),"optionalAccess",r=>r.id]);return Lp(n,()=>-1)}getNode(t){return this.idNodeMap.get(t)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(t){return this.nodeMetaMap.get(t)||null}removeNodeFromMap(t){const n=this.getId(t);this.idNodeMap.delete(n),t.childNodes&&t.childNodes.forEach(r=>this.removeNodeFromMap(r))}has(t){return this.idNodeMap.has(t)}hasNode(t){return this.nodeMetaMap.has(t)}add(t,n){const r=n.id;this.idNodeMap.set(r,t),this.nodeMetaMap.set(t,n)}replace(t,n){const r=this.getNode(t);if(r){const s=this.nodeMetaMap.get(r);s&&this.nodeMetaMap.set(n,s)}this.idNodeMap.set(t,n)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function vM(){return new bw}function jc({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 Ia({isMasked:e,element:t,value:n,maskInputFn:r}){let s=n||"";return e?(r&&(s=r(s,t)),"*".repeat(s.length)):s}function Qi(e){return e.toLowerCase()}function Dp(e){return e.toUpperCase()}const fv="__rrweb_original__";function _M(e){const t=e.getContext("2d");if(!t)return!0;const n=50;for(let r=0;r<e.width;r+=n)for(let s=0;s<e.height;s+=n){const i=t.getImageData,o=fv in i?i[fv]:i;if(new Uint32Array(o.call(t,r,s,Math.min(n,e.width-r),Math.min(n,e.height-s)).data.buffer).some(l=>l!==0))return!1}return!0}function Cm(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?Qi(t):null}function Hu(e,t,n){return t==="INPUT"&&(n==="radio"||n==="checkbox")?e.getAttribute("value")||"":e.value}function Cw(e,t){let n;try{n=new URL(e,Lp(t,()=>window.location.href))}catch{return null}const r=/\.([0-9a-z]+)(?:$)/i,s=n.pathname.match(r);return Lp(Ca([s,"optionalAccess",i=>i[1]]),()=>null)}const pv={};function Iw(e){const t=pv[e];if(t)return t;const n=window.document;let r=window[e];if(n&&typeof n.createElement=="function")try{const s=n.createElement("iframe");s.hidden=!0,n.head.appendChild(s);const i=s.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(s)}catch{}return pv[e]=r.bind(window)}function $p(...e){return Iw("setTimeout")(...e)}function Ow(...e){return Iw("clearTimeout")(...e)}function Rw(e){try{return e.contentDocument}catch{}}let SM=1;const EM=new RegExp("[^a-z0-9-_:]"),Oa=-2;function Im(){return SM++}function wM(e){if(e instanceof HTMLFormElement)return"form";const t=Qi(e.tagName);return EM.test(t)?"div":t}function TM(e){let t="";return e.indexOf("//")>-1?t=e.split("/").slice(0,3).join("/"):t=e.split("/")[0],t=t.split("?")[0],t}let ti,hv;const xM=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,kM=/^(?:[a-z+]+:)?\/\//i,bM=/^www\..*/i,CM=/^(data:)([^,]*),(.*)/i;function Wu(e,t){return(e||"").replace(xM,(n,r,s,i,o,a)=>{const l=s||o||a,u=r||i||"";if(!l)return n;if(kM.test(l)||bM.test(l))return`url(${u}${l}${u})`;if(CM.test(l))return`url(${u}${l}${u})`;if(l[0]==="/")return`url(${u}${TM(t)+l}${u})`;const d=t.split("/"),c=l.split("/");d.pop();for(const f of c)f!=="."&&(f===".."?d.pop():d.push(f));return`url(${u}${d.join("/")}${u})`})}const IM=/^[^ \t\n\r\u000c]+/,OM=/^[, \t\n\r\u000c]+/;function RM(e,t){if(t.trim()==="")return t;let n=0;function r(i){let o;const a=i.exec(t.substring(n));return a?(o=a[0],n+=o.length,o):""}const s=[];for(;r(OM),!(n>=t.length);){let i=r(IM);if(i.slice(-1)===",")i=wi(e,i.substring(0,i.length-1)),s.push(i);else{let o="";i=wi(e,i);let a=!1;for(;;){const l=t.charAt(n);if(l===""){s.push((i+o).trim());break}else if(a)l===")"&&(a=!1);else if(l===","){n+=1,s.push((i+o).trim());break}else l==="("&&(a=!0);o+=l,n+=1}}}return s.join(", ")}const mv=new WeakMap;function wi(e,t){return!t||t.trim()===""?t:Vc(e,t)}function AM(e){return!!(e.tagName==="svg"||e.ownerSVGElement)}function Vc(e,t){let n=mv.get(e);if(n||(n=e.createElement("a"),mv.set(e,n)),!t)t="";else if(t.startsWith("blob:")||t.startsWith("data:"))return t;return n.setAttribute("href",t),n.href}function Aw(e,t,n,r,s,i){return r&&(n==="src"||n==="href"&&!(t==="use"&&r[0]==="#")||n==="xlink:href"&&r[0]!=="#"||n==="background"&&(t==="table"||t==="td"||t==="th")?wi(e,r):n==="srcset"?RM(e,r):n==="style"?Wu(r,Vc(e)):t==="object"&&n==="data"?wi(e,r):typeof i=="function"?i(n,r,s):r)}function Mw(e,t,n){return(e==="video"||e==="audio")&&t==="autoplay"}function MM(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 s=e.classList.length;s--;){const i=e.classList[s];if(t.test(i))return!0}if(n)return e.matches(n)}catch{}return!1}function PM(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}function bs(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:bs(e.parentNode,t,n,r+1)}function Ti(e,t){return n=>{const r=n;if(r===null)return!1;try{if(e){if(typeof e=="string"){if(r.matches(`.${e}`))return!0}else if(PM(r,e))return!0}return!!(t&&r.matches(t))}catch{return!1}}}function Ji(e,t,n,r,s,i){try{const o=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(o===null)return!1;if(o.tagName==="INPUT"){const u=o.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(u))return!0}let a=-1,l=-1;if(i){if(l=bs(o,Ti(r,s)),l<0)return!0;a=bs(o,Ti(t,n),l>=0?l:1/0)}else{if(a=bs(o,Ti(t,n)),a<0)return!1;l=bs(o,Ti(r,s),a>=0?a:1/0)}return a>=0?l>=0?a<=l:!0:l>=0?!1:!!i}catch{}return!!i}function NM(e,t,n){const r=e.contentWindow;if(!r)return;let s=!1,i;try{i=r.document.readyState}catch{return}if(i!=="complete"){const a=$p(()=>{s||(t(),s=!0)},n);e.addEventListener("load",()=>{Ow(a),s=!0,t()});return}const o="about:blank";if(r.location.href!==o||e.src===o||e.src==="")return $p(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}function LM(e,t,n){let r=!1,s;try{s=e.sheet}catch{return}if(s)return;const i=$p(()=>{r||(t(),r=!0)},n);e.addEventListener("load",()=>{Ow(i),r=!0,t()})}function DM(e,t){const{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskAttributeFn:l,maskTextClass:u,unmaskTextClass:d,maskTextSelector:c,unmaskTextSelector:f,inlineStylesheet:p,maskInputOptions:y={},maskTextFn:v,maskInputFn:S,dataURLOptions:m={},inlineImages:h,recordCanvas:g,keepIframeSrcFn:_,newlyAddedElement:w=!1}=t,x=$M(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode!=="CSS1Compat"?{type:Je.Document,childNodes:[],compatMode:e.compatMode}:{type:Je.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:Je.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:x};case e.ELEMENT_NODE:return zM(e,{doc:n,blockClass:s,blockSelector:i,unblockSelector:o,inlineStylesheet:p,maskAttributeFn:l,maskInputOptions:y,maskInputFn:S,dataURLOptions:m,inlineImages:h,recordCanvas:g,keepIframeSrcFn:_,newlyAddedElement:w,rootId:x,maskTextClass:u,unmaskTextClass:d,maskTextSelector:c,unmaskTextSelector:f});case e.TEXT_NODE:return FM(e,{doc:n,maskAllText:a,maskTextClass:u,unmaskTextClass:d,maskTextSelector:c,unmaskTextSelector:f,maskTextFn:v,maskInputOptions:y,maskInputFn:S,rootId:x});case e.CDATA_SECTION_NODE:return{type:Je.CDATA,textContent:"",rootId:x};case e.COMMENT_NODE:return{type:Je.Comment,textContent:e.textContent||"",rootId:x};default:return!1}}function $M(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return n===1?void 0:n}function FM(e,t){const{maskAllText:n,maskTextClass:r,unmaskTextClass:s,maskTextSelector:i,unmaskTextSelector:o,maskTextFn:a,maskInputOptions:l,maskInputFn:u,rootId:d}=t,c=e.parentNode&&e.parentNode.tagName;let f=e.textContent;const p=c==="STYLE"?!0:void 0,y=c==="SCRIPT"?!0:void 0,v=c==="TEXTAREA"?!0:void 0;if(p&&f){try{e.nextSibling||e.previousSibling||Ca([e,"access",m=>m.parentNode,"access",m=>m.sheet,"optionalAccess",m=>m.cssRules])&&(f=Vu(e.parentNode.sheet))}catch(m){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${m}`,e)}f=Wu(f,Vc(t.doc))}y&&(f="SCRIPT_PLACEHOLDER");const S=Ji(e,r,i,s,o,n);if(!p&&!y&&!v&&f&&S&&(f=a?a(f,e.parentElement):f.replace(/[\S]/g,"*")),v&&f&&(l.textarea||S)&&(f=u?u(f,e.parentNode):f.replace(/[\S]/g,"*")),c==="OPTION"&&f){const m=jc({type:null,tagName:c,maskInputOptions:l});f=Ia({isMasked:Ji(e,r,i,s,o,m),element:e,value:f,maskInputFn:u})}return{type:Je.Text,textContent:f||"",isStyle:p,rootId:d}}function zM(e,t){const{doc:n,blockClass:r,blockSelector:s,unblockSelector:i,inlineStylesheet:o,maskInputOptions:a={},maskAttributeFn:l,maskInputFn:u,dataURLOptions:d={},inlineImages:c,recordCanvas:f,keepIframeSrcFn:p,newlyAddedElement:y=!1,rootId:v,maskTextClass:S,unmaskTextClass:m,maskTextSelector:h,unmaskTextSelector:g}=t,_=MM(e,r,s,i),w=wM(e);let x={};const b=e.attributes.length;for(let R=0;R<b;R++){const k=e.attributes[R];k.name&&!Mw(w,k.name,k.value)&&(x[k.name]=Aw(n,w,Qi(k.name),k.value,e,l))}if(w==="link"&&o){const R=Array.from(n.styleSheets).find(P=>P.href===e.href);let k=null;R&&(k=Vu(R)),k&&(x.rel=null,x.href=null,x.crossorigin=null,x._cssText=Wu(k,R.href))}if(w==="style"&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const R=Vu(e.sheet);R&&(x._cssText=Wu(R,Vc(n)))}if(w==="input"||w==="textarea"||w==="select"||w==="option"){const R=e,k=Cm(R),P=Hu(R,Dp(w),k),A=R.checked;if(k!=="submit"&&k!=="button"&&P){const N=Ji(R,S,h,m,g,jc({type:k,tagName:Dp(w),maskInputOptions:a}));x.value=Ia({isMasked:N,element:R,value:P,maskInputFn:u})}A&&(x.checked=A)}if(w==="option"&&(e.selected&&!a.select?x.selected=!0:delete x.selected),w==="canvas"&&f){if(e.__context==="2d")_M(e)||(x.rr_dataURL=e.toDataURL(d.type,d.quality));else if(!("__context"in e)){const R=e.toDataURL(d.type,d.quality),k=n.
vendor: 4,233 bytes, line 60
60createElement("canvas");k.width=e.width,k.height=e.height;const P=k.toDataURL(d.type,d.quality);R!==P&&(x.rr_dataURL=R)}}if(w==="img"&&c){ti||(ti=n.createElement("canvas"),hv=ti.getContext("2d"));const R=e,k=R.currentSrc||R.getAttribute("src")||"<unknown-src>",P=R.crossOrigin,A=()=>{R.removeEventListener("load",A);try{ti.width=R.naturalWidth,ti.height=R.naturalHeight,hv.drawImage(R,0,0),x.rr_dataURL=ti.toDataURL(d.type,d.quality)}catch(N){if(R.crossOrigin!=="anonymous"){R.crossOrigin="anonymous",R.complete&&R.naturalWidth!==0?A():R.addEventListener("load",A);return}else console.warn(`Cannot inline img src=${k}! Error: ${N}`)}R.crossOrigin==="anonymous"&&(P?x.crossOrigin=P:R.removeAttribute("crossorigin"))};R.complete&&R.naturalWidth!==0?A():R.addEventListener("load",A)}if((w==="audio"||w==="video")&&(x.rr_mediaState=e.paused?"paused":"played",x.rr_mediaCurrentTime=e.currentTime),y||(e.scrollLeft&&(x.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(x.rr_scrollTop=e.scrollTop)),_){const{width:R,height:k}=e.getBoundingClientRect();x={class:x.class,rr_width:`${R}px`,rr_height:`${k}px`}}w==="iframe"&&!p(x.src)&&(!_&&!Rw(e)&&(x.rr_src=x.src),delete x.src);let T;try{customElements.get(w)&&(T=!0)}catch{}return{type:Je.Element,tagName:w,attributes:x,childNodes:[],isSVG:AM(e)||void 0,needBlock:_,rootId:v,isCustom:T}}function Ie(e){return e==null?"":e.toLowerCase()}function BM(e,t){if(t.comment&&e.type===Je.Comment)return!0;if(e.type===Je.Element){if(t.script&&(e.tagName==="script"||e.tagName==="link"&&(e.attributes.rel==="preload"||e.attributes.rel==="modulepreload")||e.tagName==="link"&&e.attributes.rel==="prefetch"&&typeof e.attributes.href=="string"&&Cw(e.attributes.href)==="js"))return!0;if(t.headFavicon&&(e.tagName==="link"&&e.attributes.rel==="shortcut icon"||e.tagName==="meta"&&(Ie(e.attributes.name).match(/^msapplication-tile(image|color)$/)||Ie(e.attributes.name)==="application-name"||Ie(e.attributes.rel)==="icon"||Ie(e.attributes.rel)==="apple-touch-icon"||Ie(e.attributes.rel)==="shortcut icon")))return!0;if(e.tagName==="meta"){if(t.headMetaDescKeywords&&Ie(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(Ie(e.attributes.property).match(/^(og|twitter|fb):/)||Ie(e.attributes.name).match(/^(og|twitter):/)||Ie(e.attributes.name)==="pinterest"))return!0;if(t.headMetaRobots&&(Ie(e.attributes.name)==="robots"||Ie(e.attributes.name)==="googlebot"||Ie(e.attributes.name)==="bingbot"))return!0;if(t.headMetaHttpEquiv&&e.attributes["http-equiv"]!==void 0)return!0;if(t.headMetaAuthorship&&(Ie(e.attributes.name)==="author"||Ie(e.attributes.name)==="generator"||Ie(e.attributes.name)==="framework"||Ie(e.attributes.name)==="publisher"||Ie(e.attributes.name)==="progid"||Ie(e.attributes.property).match(/^article:/)||Ie(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&(Ie(e.attributes.name)==="google-site-verification"||Ie(e.attributes.name)==="yandex-verification"||Ie(e.attributes.name)==="csrf-token"||Ie(e.attributes.name)==="p:domain_verify"||Ie(e.attributes.name)==="verify-v1"||Ie(e.attributes.name)==="verification"||Ie(e.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function xi(e,t){const{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:c,skipChild:f=!1,inlineStylesheet:p=!0,maskInputOptions:y={},maskAttributeFn:v,maskTextFn:S,maskInputFn:m,slimDOMOptions:h,dataURLOptions:g={},inlineImages:_=!1,recordCanvas:w=!1,onSerialize:x,onIframeLoad:b,iframeLoadTimeout:T=5e3,onStylesheetLoad:R,stylesheetLoadTimeout:k=5e3,keepIframeSrcFn:P=()=>!1,newlyAddedElement:A=!1}=t;let{preserveWhiteSpace:N=!0}=t;const z=DM(e,{doc:n,mirror:r,blockClass:s,blockSelector:i,maskAllText:a,unblockSelector:o,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:c,inlineStylesheet:p,maskInputOptions:y,maskAttributeFn:v,maskTextFn:S,maskInputFn:m,dataURLOptions:g,inlineImages:_,recordCanvas:w,keepIframeSrcFn:P,newlyAddedElement:A});if(!z)return console.warn(e,"not serialized"),null;let G;r.hasNode(e)?G=r.getId(e):BM(z,h)||!N&&z.type===Je.Text&&!z.isStyle&&!z.textContent.replace(/^\s+|\s+$/gm,"").length?G=Oa:G=
vendor: 4,156 bytes, line 60
60Im();const q=Object.assign(z,{id:G});if(r.add(e,q),G===Oa)return null;x&&x(e);let V=!f;if(q.type===Je.Element){V=V&&!q.needBlock,delete q.needBlock;const C=e.shadowRoot;C&&ra(C)&&(q.isShadowHost=!0)}if((q.type===Je.Document||q.type===Je.Element)&&V){h.headWhitespace&&q.type===Je.Element&&q.tagName==="head"&&(N=!1);const C={doc:n,mirror:r,blockClass:s,blockSelector:i,maskAllText:a,unblockSelector:o,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:c,skipChild:f,inlineStylesheet:p,maskInputOptions:y,maskAttributeFn:v,maskTextFn:S,maskInputFn:m,slimDOMOptions:h,dataURLOptions:g,inlineImages:_,recordCanvas:w,preserveWhiteSpace:N,onSerialize:x,onIframeLoad:b,iframeLoadTimeout:T,onStylesheetLoad:R,stylesheetLoadTimeout:k,keepIframeSrcFn:P};for(const L of Array.from(e.childNodes)){const H=xi(L,C);H&&q.childNodes.push(H)}if(dM(e)&&e.shadowRoot)for(const L of Array.from(e.shadowRoot.childNodes)){const H=xi(L,C);H&&(ra(e.shadowRoot)&&(H.isShadow=!0),q.childNodes.push(H))}}return e.parentNode&&na(e.parentNode)&&ra(e.parentNode)&&(q.isShadow=!0),q.type===Je.Element&&q.tagName==="iframe"&&NM(e,()=>{const C=Rw(e);if(C&&b){const L=xi(C,{doc:C,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:c,skipChild:!1,inlineStylesheet:p,maskInputOptions:y,maskAttributeFn:v,maskTextFn:S,maskInputFn:m,slimDOMOptions:h,dataURLOptions:g,inlineImages:_,recordCanvas:w,preserveWhiteSpace:N,onSerialize:x,onIframeLoad:b,iframeLoadTimeout:T,onStylesheetLoad:R,stylesheetLoadTimeout:k,keepIframeSrcFn:P});L&&b(e,L)}},T),q.type===Je.Element&&q.tagName==="link"&&typeof q.attributes.rel=="string"&&(q.attributes.rel==="stylesheet"||q.attributes.rel==="preload"&&typeof q.attributes.href=="string"&&Cw(q.attributes.href)==="css")&&LM(e,()=>{if(R){const C=xi(e,{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:c,skipChild:!1,inlineStylesheet:p,maskInputOptions:y,maskAttributeFn:v,maskTextFn:S,maskInputFn:m,slimDOMOptions:h,dataURLOptions:g,inlineImages:_,recordCanvas:w,preserveWhiteSpace:N,onSerialize:x,onIframeLoad:b,iframeLoadTimeout:T,onStylesheetLoad:R,stylesheetLoadTimeout:k,keepIframeSrcFn:P});C&&R(e,C)}},k),q}function UM(e,t){const{mirror:n=new bw,blockClass:r="rr-block",blockSelector:s=null,unblockSelector:i=null,maskAllText:o=!1,maskTextClass:a="rr-mask",unmaskTextClass:l=null,maskTextSelector:u=null,unmaskTextSelector:d=null,inlineStylesheet:c=!0,inlineImages:f=!1,recordCanvas:p=!1,maskAllInputs:y=!1,maskAttributeFn:v,maskTextFn:S,maskInputFn:m,slimDOM:h=!1,dataURLOptions:g,preserveWhiteSpace:_,onSerialize:w,onIframeLoad:x,iframeLoadTimeout:b,onStylesheetLoad:T,stylesheetLoadTimeout:R,keepIframeSrcFn:k=()=>!1}=t||{};return xi(e,{doc:e,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,maskAllText:o,maskTextClass:a,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:c,maskInputOptions:y===!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}:y===!1?{}:y,maskAttributeFn:v,maskTextFn:S,maskInputFn:m,slimDOMOptions:h===!0||h==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:h==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:h===!1?{}:h,dataURLOptions:g,inlineImages:f,recordCanvas:p,preserveWhiteSpace:_,onSerialize:w,onIframeLoad:x,iframeLoadTimeout:b,onStylesheetLoad:T,stylesheetLoadTimeout:R,keepIframeSrcFn:k,newlyAddedElement:!1})}function br(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],i=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&&n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=i(n)):(s==="call"||s==="optionalCall")&&(n=i((...o)=>n.call(t,...o)),t=void 0)}return n}function Tt(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}const ai=`Please stop import mirror directly. Instead of that,\r
61now you can use replayer.getMirror() to access the mirror instance of a replayer,\r 62or you can use record.mirror to access the mirror instance during recording.`;let gv={map:{},getId(){return console.error(ai),-1},getNode(){return console.error(ai),null},removeNodeFromMap(){console.error(ai)},has(){return console.error(ai),!1},reset(){console.error(ai)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(gv=new Proxy(gv,{get(e,t,n){return t==="map"&&console.error(ai),Reflect.get(e,t,n)}}));function Ra(e,t,n={}){let r=null,s=0;return function(...i){const o=Date.now();!s&&n.leading===!1&&(s=o);const a=t-(o-s),l=this;a<=0||a>t?(r&&(YM(r),r=null),s=o,e.apply(l,i)):!r&&n.trailing!==!1&&(r=Hc(()=>{s=n.leading===!1?0:Date.now(),r=null,e.apply(l,i)},a))}}function Pw(e,t,n,r,s=window){const i=s.Object.getOwnPropertyDescriptor(e,t);return s.Object.defineProperty(e,t,r?n:{set(o){Hc(()=>{n.set.call(this,o)},0),i&&i.set&&i.set.call(this,o)}}),()=>Pw(e,t,i||{},!0)}function Om(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],s=n(r);return typeof s=="function"&&(s.prototype=s.prototype||{},Object.defineProperties(s,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=s,()=>{e[t]=r}}catch{return()=>{}}}let Gu=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(Gu=()=>new Date().getTime());function Nw(e){const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:e.pageXOffset!==void 0?e.pageXOffset:br([t,"optionalAccess",n=>n.documentElement,"access",n=>n.scrollLeft])||br([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.parentElement,"optionalAccess",n=>n.scrollLeft])||br([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.scrollLeft])||0,top:t.scrollingElement?t.scrollingElement.scrollTop:e.pageYOffset!==void 0?e.pageYOffset:br([t,"optionalAccess",n=>n.documentElement,"access",n=>n.scrollTop])||br([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.parentElement,"optionalAccess",n=>n.scrollTop])||br([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.scrollTop])||0}}function Lw(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function Dw(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function $w(e){return e?e.nodeType===e.ELEMENT_NODE?e:e.parentElement:null}function Bt(e,t,n,r,s){if(!e)return!1;const i=$w(e);if(!i)return!1;const o=Ti(t,n);if(!s){const u=r&&i.matches(r);return o(i)&&!u}const a=bs(i,o);let l=-1;return a<0?!1:(r&&(l=bs(i,Ti(null,r))),a>-1&&l<0?!0:a<l)}function jM(e,t){return t.getId(e)!==-1}function Zd(e,t){return t.getId(e)===Oa}function Fw(e,t){if(na(e))return!1;const n=t.getId(e);return t.has(n)?e.parentNode&&e.parentNode.nodeType===e.DOCUMENT_NODE?!1:e.parentNode?Fw(e.parentNode,t):!0:!0}function Fp(e){return!!e.changedTouches}function VM(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=(...t)=>{let n=t[0];if(!(0 in t))throw new TypeError("1 argument is required");do if(this===n)return!0;while(n=n&&n.parentNode);return!1})}function zw(e,t){return!!(e.nodeName==="IFRAME"&&t.getMeta(e))}function Bw(e,t){return!!(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&t.getMeta(e))}function zp(e){return!!br([e,"optionalAccess",t=>t.shadowRoot])}class HM{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(t){return IO(this.styleIDMap.get(t),()=>-1)}has(t){return this.styleIDMap.has(t)}add(t,n){if(this.has(t))return this.getId(t);let r;return n===void 0?r=this.id++:r=n,this.styleIDMap.set(t,r),this.idStyleMap.set(r,t),r}getStyle(t){return this.idStyleMap.get(t)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function Uw(e){let t=null;return br([e,"access",n=>n.getRootNode,"optionalCall",n=>n(),"optionalAccess",n=>n.nodeType])===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function WM(e){let t=e,n;for(;n=Uw(t);)t=n;return t}function GM(e){const t=e.ownerDocument;if(!t)return!1;const n=WM(e);return t.contains(n)}function jw(e){const t=e.ownerDocument;return t?t.contains(e)||GM(e):!1}
62const yv={};function Rm(e){const t=yv[e];if(t)return t;const n=window.document;let r=window[e];if(n&&typeof n.createElement=="function")try{const s=n.createElement("iframe");s.hidden=!0,n.head.appendChild(s);const i=s.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(s)}catch{}return yv[e]=r.bind(window)}function qM(...e){return Rm("requestAnimationFrame")(...e)}function Hc(...e){return Rm("setTimeout")(...e)}function YM(...e){return Rm("clearTimeout")(...e)}var ce=(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))(ce||{}),ie=(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))(ie||{}),Et=(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))(Et||{}),Kn=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(Kn||{}),vv;(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"})(vv||(vv={}));var _v;(function(e){e[e.PLACEHOLDER=0]="PLACEHOLDER",e[e.ELEMENT_NODE=1]="ELEMENT_NODE",e[e.ATTRIBUTE_NODE=2]="ATTRIBUTE_NODE",e[e.TEXT_NODE=3]="TEXT_NODE",e[e.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",e[e.ENTITY_REFERENCE_NODE=5]="ENTITY_REFERENCE_NODE",e[e.ENTITY_NODE=6]="ENTITY_NODE",e[e.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",e[e.COMMENT_NODE=8]="COMMENT_NODE",e[e.DOCUMENT_NODE=9]="DOCUMENT_NODE",e[e.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",e[e.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE"})(_v||(_v={}));function Am(e){try{return e.contentDocument}catch{}}function XM(e){try{return e.contentWindow}catch{}}function KM(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],i=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&&n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=i(n)):(s==="call"||s==="optionalCall")&&(n=i((...o)=>n.call(t,...o)),t=void 0)}return n}function Sv(e){return"__ln"in e}class ZM{constructor(){this.length=0,this.head=null,this.tail=null}get(t){if(t>=this.length)throw new Error("Position outside of list range");let n=this.head;for(let r=0;r<t;r++)n=KM([n,"optionalAccess",s=>s.next])||null;return n}addNode(t){const n={value:t,previous:null,next:null};if(t.__ln=n,t.previousSibling&&Sv(t.previousSibling)){const r=t.previousSibling.__ln.next;n.next=r,n.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=n,r&&(r.previous=n)}else if(t.nextSibling&&Sv(t.nextSibling)&&t.nextSibling.__ln.previous){const r=t.nextSibling.__ln.previous;n.previous=r,n.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=n,r&&(r.next=n)}else this.head&&(this.head.previous=n),n.next=this.head,this.head=n;n.next===null&&(this.tail=n),this.length++}removeNode(t){const n=t.__ln;this.head&&(n.previous?(n.previous.next=n.next,n.next?n.next.previous=n.previous:this.tail=n.previous):(this.head=n.next,this.head?this.head.previous=null:this.tail=null),t.__ln&&delete t.__ln,this.length--)}}const Ev=(e,t)=>`${e}@${t}`;class QM{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=t=>
vendor: 4,448 bytes, line 62
62{t.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const t=[],n=new Set,r=new ZM,s=l=>{let u=l,d=Oa;for(;d===Oa;)u=u&&u.nextSibling,d=u&&this.mirror.getId(u);return d},i=l=>{if(!l.parentNode||!jw(l))return;const u=na(l.parentNode)?this.mirror.getId(Uw(l)):this.mirror.getId(l.parentNode),d=s(l);if(u===-1||d===-1)return r.addNode(l);const c=xi(l,{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:f=>{zw(f,this.mirror)&&!Bt(f,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(f),Bw(f,this.mirror)&&this.stylesheetManager.trackLinkElement(f),zp(l)&&this.shadowDomManager.addShadowRoot(l.shadowRoot,this.doc)},onIframeLoad:(f,p)=>{Bt(f,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(f,p),f.contentWindow&&this.canvasManager.addWindow(f.contentWindow),this.shadowDomManager.observeAttachShadow(f))},onStylesheetLoad:(f,p)=>{this.stylesheetManager.attachLinkElement(f,p)}});c&&(t.push({parentId:u,nextId:d,node:c}),n.add(c.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const l of this.movedSet)wv(this.removes,l,this.mirror)&&!this.movedSet.has(l.parentNode)||i(l);for(const l of this.addedSet)!Tv(this.droppedSet,l)&&!wv(this.removes,l,this.mirror)||Tv(this.movedSet,l)?i(l):this.droppedSet.add(l);let o=null;for(;r.length;){let l=null;if(o){const u=this.mirror.getId(o.value.parentNode),d=s(o.value);u!==-1&&d!==-1&&(l=o)}if(!l){let u=r.tail;for(;u;){const d=u;if(u=u.previous,d){const c=this.mirror.getId(d.value.parentNode);if(s(d.value)===-1)continue;if(c!==-1){l=d;break}else{const p=d.value;if(p.parentNode&&p.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const y=p.parentNode.host;if(this.mirror.getId(y)!==-1){l=d;break}}}}}}if(!l){for(;r.head;)r.removeNode(r.head.value);break}o=l.previous,r.removeNode(l.value),i(l.value)}const a={texts:this.texts.map(l=>({id:this.mirror.getId(l.node),value:l.value})).filter(l=>!n.has(l.id)).filter(l=>this.mirror.has(l.id)),attributes:this.attributes.map(l=>{const{attributes:u}=l;if(typeof u.style=="string"){const d=JSON.stringify(l.styleDiff),c=JSON.stringify(l._unchangedStyles);d.length<u.style.length&&(d+c).split("var(").length===u.style.split("var(").length&&(u.style=l.styleDiff)}return{id:this.mirror.getId(l.node),attributes:u}}).filter(l=>!n.has(l.id)).filter(l=>this.mirror.has(l.id)),removes:this.removes,adds:t};!a.texts.length&&!a.attributes.length&&!a.removes.length&&!a.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(a))},this.processMutation=t=>{if(!Zd(t.target,this.mirror))switch(t.type){case"characterData":{const n=t.target.textContent;!Bt(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&n!==t.oldValue&&this.texts.push({value:Ji(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&n?this.maskTextFn?this.maskTextFn(n,$w(t.target)):n.replace(/[\S]/g,"*"):n,node:t.target});break}case"attributes":{const n=t.target;let r=t.attributeName,s=t.target.getAttribute(r);if(r==="value"){const o=Cm(n),a=n.tagName;s=Hu(n,a,o);const l=jc({maskInputOptions:this.maskInputOptions,tagName:a,type:o}),u=Ji(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,l);s=Ia({isMasked:u,element:n,value:s,maskInputFn:this.maskInputFn})}if(Bt(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||s===t.oldValue)return;let i=this.attributeMap.get(t.target);if(n.tagName==="IFRAME"&&r==="src"&&!this.keepIframeSrcFn(s))if(!Am(n))r="rr_src";else return;if(i||(i={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}}
vendor: 4,921 bytes, line 62
62,this.attributes.push(i),this.attributeMap.set(t.target,i)),r==="type"&&n.tagName==="INPUT"&&(t.oldValue||"").toLowerCase()==="password"&&n.setAttribute("data-rr-is-password","true"),!Mw(n.tagName,r)&&(i.attributes[r]=Aw(this.doc,Qi(n.tagName),Qi(r),s,n,this.maskAttributeFn),r==="style")){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}const o=this.unattachedDoc.createElement("span");t.oldValue&&o.setAttribute("style",t.oldValue);for(const a of Array.from(n.style)){const l=n.style.getPropertyValue(a),u=n.style.getPropertyPriority(a);l!==o.style.getPropertyValue(a)||u!==o.style.getPropertyPriority(a)?u===""?i.styleDiff[a]=l:i.styleDiff[a]=[l,u]:i._unchangedStyles[a]=[l,u]}for(const a of Array.from(o.style))n.style.getPropertyValue(a)===""&&(i.styleDiff[a]=!1)}break}case"childList":{if(Bt(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;t.addedNodes.forEach(n=>this.genAdds(n,t.target)),t.removedNodes.forEach(n=>{const r=this.mirror.getId(n),s=na(t.target)?this.mirror.getId(t.target.host):this.mirror.getId(t.target);Bt(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||Zd(n,this.mirror)||!jM(n,this.mirror)||(this.addedSet.has(n)?(Bp(this.addedSet,n),this.droppedSet.add(n)):this.addedSet.has(t.target)&&r===-1||Fw(t.target,this.mirror)||(this.movedSet.has(n)&&this.movedMap[Ev(r,s)]?Bp(this.movedSet,n):this.removes.push({parentId:s,id:r,isShadow:na(t.target)&&ra(t.target)?!0:void 0})),this.mapRemoves.push(n))});break}}},this.genAdds=(t,n)=>{if(!this.processedNodeManager.inOtherBuffer(t,this)&&!(this.addedSet.has(t)||this.movedSet.has(t))){if(this.mirror.hasNode(t)){if(Zd(t,this.mirror))return;this.movedSet.add(t);let r=null;n&&this.mirror.hasNode(n)&&(r=this.mirror.getId(n)),r&&r!==-1&&(this.movedMap[Ev(this.mirror.getId(t),r)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);Bt(t,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(t.childNodes.forEach(r=>this.genAdds(r)),zp(t)&&t.shadowRoot.childNodes.forEach(r=>{this.processedNodeManager.add(r,this),this.genAdds(r,t)}))}}}init(t){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(n=>{this[n]=t[n]})}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 Bp(e,t){e.delete(t),t.childNodes.forEach(n=>Bp(e,n))}function wv(e,t,n){return e.length===0?!1:JM(e,t,n)}function JM(e,t,n){let r=t.parentNode;for(;r;){const s=n.getId(r);if(e.some(i=>i.id===s))return!0;r=r.parentNode}return!1}function Tv(e,t){return e.size===0?!1:Vw(e,t)}function Vw(e,t){const{parentNode:n}=t;return n?e.has(n)?!0:Vw(e,n):!1}let sa;function eP(e){sa=e}function tP(){sa=void 0}const ve=e=>sa?(...n)=>{try{return e(...n)}catch(r){if(sa&&sa(r)===!0)return()=>{};throw r}}:e;function bn(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],i=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&&n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=i(n)):(s==="call"||s==="optionalCall")&&(n=i((...o)=>n.call(t,...o)),t=void 0)}return n}const ki=[];function Ka(e){try{if("composedPath"in e){const 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 Hw(e,t){const n=new QM;ki.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver;const s=bn([window,"optionalAccess",o=>o.Zone,"optionalAccess",o=>o.__symbol__,"optionalCall",o=>o("MutationObserver")]);s&&window[s]&&(r=window[s]);const i=new r(ve(o=>{e.onMutation&&e.onMutation(o)===!1||n.processMutations.bind(n)(o)}));return i.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),i}function nP({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(t.mousemove===!1)return()=>{};const s=typeof t.mousemove=="number"?t.mousemove:50,i=typeof t.mousemoveCallback=="number"?t.mousemoveCallback:500;let o=[],a;const l=Ra(ve(c=>{const f=Date.now()-a;e(o.map(p=>(p.timeOffset-=f,p)),c),o=[],a=null}),i),u=ve(Ra(ve(c=>{const f=Ka(c),{clientX:p,clientY:y}=Fp(c)?c.changedTouches[0]:c;a||(a=Gu()),o.push({x:p,y,id:r.getId(f),timeOffset:Gu()-a}),l(typeof DragEvent<"u"&&c instanceof DragEvent?ie.Drag:c instanceof MouseEvent?ie.MouseMove:ie.TouchMove)}),s,{trailing:!1}
vendor: 4,818 bytes, line 62
62)),d=[Tt("mousemove",u,n),Tt("touchmove",u,n),Tt("drag",u,n)];return ve(()=>{d.forEach(c=>c())})}function rP({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,sampling:o}){if(o.mouseInteraction===!1)return()=>{};const a=o.mouseInteraction===!0||o.mouseInteraction===void 0?{}:o.mouseInteraction,l=[];let u=null;const d=c=>f=>{const p=Ka(f);if(Bt(p,r,s,i,!0))return;let y=null,v=c;if("pointerType"in f){switch(f.pointerType){case"mouse":y=Kn.Mouse;break;case"touch":y=Kn.Touch;break;case"pen":y=Kn.Pen;break}y===Kn.Touch?Et[c]===Et.MouseDown?v="TouchStart":Et[c]===Et.MouseUp&&(v="TouchEnd"):Kn.Pen}else Fp(f)&&(y=Kn.Touch);y!==null?(u=y,(v.startsWith("Touch")&&y===Kn.Touch||v.startsWith("Mouse")&&y===Kn.Mouse)&&(y=null)):Et[c]===Et.Click&&(y=u,u=null);const S=Fp(f)?f.changedTouches[0]:f;if(!S)return;const m=n.getId(p),{clientX:h,clientY:g}=S;ve(e)({type:Et[v],id:m,x:h,y:g,...y!==null&&{pointerType:y}})};return Object.keys(Et).filter(c=>Number.isNaN(Number(c))&&!c.endsWith("_Departed")&&a[c]!==!1).forEach(c=>{let f=Qi(c);const p=d(c);if(window.PointerEvent)switch(Et[c]){case Et.MouseDown:case Et.MouseUp:f=f.replace("mouse","pointer");break;case Et.TouchStart:case Et.TouchEnd:return}l.push(Tt(f,p,t))}),ve(()=>{l.forEach(c=>c())})}function Ww({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,sampling:o}){const a=ve(Ra(ve(l=>{const u=Ka(l);if(!u||Bt(u,r,s,i,!0))return;const d=n.getId(u);if(u===t&&t.defaultView){const c=Nw(t.defaultView);e({id:d,x:c.left,y:c.top})}else e({id:d,x:u.scrollLeft,y:u.scrollTop})}),o.scroll||100));return Tt("scroll",a,t)}function sP({viewportResizeCb:e},{win:t}){let n=-1,r=-1;const s=ve(Ra(ve(()=>{const i=Lw(),o=Dw();(n!==i||r!==o)&&(e({width:Number(o),height:Number(i)}),n=i,r=o)}),200));return Tt("resize",s,t)}const iP=["INPUT","TEXTAREA","SELECT"],xv=new WeakMap;function oP({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,ignoreClass:o,ignoreSelector:a,maskInputOptions:l,maskInputFn:u,sampling:d,userTriggeredOnInput:c,maskTextClass:f,unmaskTextClass:p,maskTextSelector:y,unmaskTextSelector:v}){function S(b){let T=Ka(b);const R=b.isTrusted,k=T&&Dp(T.tagName);if(k==="OPTION"&&(T=T.parentElement),!T||!k||iP.indexOf(k)<0||Bt(T,r,s,i,!0))return;const P=T;if(P.classList.contains(o)||a&&P.matches(a))return;const A=Cm(T);let N=Hu(P,k,A),z=!1;const G=jc({maskInputOptions:l,tagName:k,type:A}),q=Ji(T,f,y,p,v,G);(A==="radio"||A==="checkbox")&&(z=T.checked),N=Ia({isMasked:q,element:T,value:N,maskInputFn:u}),m(T,c?{text:N,isChecked:z,userTriggered:R}:{text:N,isChecked:z});const V=T.name;A==="radio"&&V&&z&&t.querySelectorAll(`input[type="radio"][name="${V}"]`).forEach(C=>{if(C!==T){const L=Ia({isMasked:q,element:C,value:Hu(C,k,A),maskInputFn:u});m(C,c?{text:L,isChecked:!z,userTriggered:!1}:{text:L,isChecked:!z})}})}function m(b,T){const R=xv.get(b);if(!R||R.text!==T.text||R.isChecked!==T.isChecked){xv.set(b,T);const k=n.getId(b);ve(e)({...T,id:k})}}const g=(d.input==="last"?["change"]:["input","change"]).map(b=>Tt(b,ve(S),t)),_=t.defaultView;if(!_)return()=>{g.forEach(b=>b())};const w=_.Object.getOwnPropertyDescriptor(_.HTMLInputElement.prototype,"value"),x=[[_.HTMLInputElement.prototype,"value"],[_.HTMLInputElement.prototype,"checked"],[_.HTMLSelectElement.prototype,"value"],[_.HTMLTextAreaElement.prototype,"value"],[_.HTMLSelectElement.prototype,"selectedIndex"],[_.HTMLOptionElement.prototype,"selected"]];return w&&w.set&&g.push(...x.map(b=>Pw(b[0],b[1],{set(){ve(S)({target:this,isTrusted:!1})}},!1,_))),ve(()=>{g.forEach(b=>b())})}function qu(e){const t=[];function n(r,s){if(Rl("CSSGroupingRule")&&r.parentRule instanceof CSSGroupingRule||Rl("CSSMediaRule")&&r.parentRule instanceof CSSMediaRule||Rl("CSSSupportsRule")&&r.parentRule instanceof CSSSupportsRule||Rl("CSSConditionRule")&&r.parentRule instanceof CSSConditionRule){const o=Array.from(r.parentRule.cssRules).indexOf(r);s.unshift(o)}else if(r.parentStyleSheet){const o=Array.from(r.parentStyleSheet.cssRules).indexOf(r);s.unshift(o)}return s}return n(e,t)}function Cr(e,t,n){let r,s;return e?(e.ownerNode?r=t.getId(e.ownerNode):s=n.getId(e),{styleId:s,id:r}):{}}function aP({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const s=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:ve((d,c,f)=>{const[p,y]=f,{id:v,styleId:S}=Cr(c,t,n.styleMirror);return(v&&v!==-1||S&&S!==-1)&&e({id:v,styleId:S,adds:[{rule:p,index:y}]}),d.apply(c,f)})});const i=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(i,{apply:ve((d,c,f)=>{const[p]=f,{id:y,styleId:v}=Cr(c,t,n.styleMirror);return(y&&y!==-1||v&&v!==-1)&&e({id:y,styleId:v,removes:[{index:p}]}),d.apply(c,f)})});let o;
vendor: 5,892 bytes, line 62
62r.CSSStyleSheet.prototype.replace&&(o=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(o,{apply:ve((d,c,f)=>{const[p]=f,{id:y,styleId:v}=Cr(c,t,n.styleMirror);return(y&&y!==-1||v&&v!==-1)&&e({id:y,styleId:v,replace:p}),d.apply(c,f)})}));let a;r.CSSStyleSheet.prototype.replaceSync&&(a=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:ve((d,c,f)=>{const[p]=f,{id:y,styleId:v}=Cr(c,t,n.styleMirror);return(y&&y!==-1||v&&v!==-1)&&e({id:y,styleId:v,replaceSync:p}),d.apply(c,f)})}));const l={};Al("CSSGroupingRule")?l.CSSGroupingRule=r.CSSGroupingRule:(Al("CSSMediaRule")&&(l.CSSMediaRule=r.CSSMediaRule),Al("CSSConditionRule")&&(l.CSSConditionRule=r.CSSConditionRule),Al("CSSSupportsRule")&&(l.CSSSupportsRule=r.CSSSupportsRule));const u={};return Object.entries(l).forEach(([d,c])=>{u[d]={insertRule:c.prototype.insertRule,deleteRule:c.prototype.deleteRule},c.prototype.insertRule=new Proxy(u[d].insertRule,{apply:ve((f,p,y)=>{const[v,S]=y,{id:m,styleId:h}=Cr(p.parentStyleSheet,t,n.styleMirror);return(m&&m!==-1||h&&h!==-1)&&e({id:m,styleId:h,adds:[{rule:v,index:[...qu(p),S||0]}]}),f.apply(p,y)})}),c.prototype.deleteRule=new Proxy(u[d].deleteRule,{apply:ve((f,p,y)=>{const[v]=y,{id:S,styleId:m}=Cr(p.parentStyleSheet,t,n.styleMirror);return(S&&S!==-1||m&&m!==-1)&&e({id:S,styleId:m,removes:[{index:[...qu(p),v]}]}),f.apply(p,y)})})}),ve(()=>{r.CSSStyleSheet.prototype.insertRule=s,r.CSSStyleSheet.prototype.deleteRule=i,o&&(r.CSSStyleSheet.prototype.replace=o),a&&(r.CSSStyleSheet.prototype.replaceSync=a),Object.entries(l).forEach(([d,c])=>{c.prototype.insertRule=u[d].insertRule,c.prototype.deleteRule=u[d].deleteRule})})}function Gw({mirror:e,stylesheetManager:t},n){let r=null;n.nodeName==="#document"?r=e.getId(n):r=e.getId(n.host);const s=n.nodeName==="#document"?bn([n,"access",o=>o.defaultView,"optionalAccess",o=>o.Document]):bn([n,"access",o=>o.ownerDocument,"optionalAccess",o=>o.defaultView,"optionalAccess",o=>o.ShadowRoot]),i=bn([s,"optionalAccess",o=>o.prototype])?Object.getOwnPropertyDescriptor(bn([s,"optionalAccess",o=>o.prototype]),"adoptedStyleSheets"):void 0;return r===null||r===-1||!s||!i?()=>{}:(Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get(){return bn([i,"access",o=>o.get,"optionalAccess",o=>o.call,"call",o=>o(this)])},set(o){const a=bn([i,"access",l=>l.set,"optionalAccess",l=>l.call,"call",l=>l(this,o)]);if(r!==null&&r!==-1)try{t.adoptStyleSheets(o,r)}catch{}return a}}),ve(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get:i.get,set:i.set})}))}function lP({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:s}){const i=s.CSSStyleDeclaration.prototype.setProperty;s.CSSStyleDeclaration.prototype.setProperty=new Proxy(i,{apply:ve((a,l,u)=>{const[d,c,f]=u;if(n.has(d))return i.apply(l,[d,c,f]);const{id:p,styleId:y}=Cr(bn([l,"access",v=>v.parentRule,"optionalAccess",v=>v.parentStyleSheet]),t,r.styleMirror);return(p&&p!==-1||y&&y!==-1)&&e({id:p,styleId:y,set:{property:d,value:c,priority:f},index:qu(l.parentRule)}),a.apply(l,u)})});const o=s.CSSStyleDeclaration.prototype.removeProperty;return s.CSSStyleDeclaration.prototype.removeProperty=new Proxy(o,{apply:ve((a,l,u)=>{const[d]=u;if(n.has(d))return o.apply(l,[d]);const{id:c,styleId:f}=Cr(bn([l,"access",p=>p.parentRule,"optionalAccess",p=>p.parentStyleSheet]),t,r.styleMirror);return(c&&c!==-1||f&&f!==-1)&&e({id:c,styleId:f,remove:{property:d},index:qu(l.parentRule)}),a.apply(l,u)})}),ve(()=>{s.CSSStyleDeclaration.prototype.setProperty=i,s.CSSStyleDeclaration.prototype.removeProperty=o})}function uP({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:s,sampling:i,doc:o}){const a=ve(u=>Ra(ve(d=>{const c=Ka(d);if(!c||Bt(c,t,n,r,!0))return;const{currentTime:f,volume:p,muted:y,playbackRate:v}=c;e({type:u,id:s.getId(c),currentTime:f,volume:p,muted:y,playbackRate:v})}),i.media||500)),l=[Tt("play",a(0),o),Tt("pause",a(1),o),Tt("seeked",a(2),o),Tt("volumechange",a(3),o),Tt("ratechange",a(4),o)];return ve(()=>{l.forEach(u=>u())})}function cP({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],s=new WeakMap,i=n.FontFace;n.FontFace=function(l,u,d){const c=new i(l,u,d);return s.set(c,{family:l,buffer:typeof u!="string",descriptors:d,fontSource:typeof u=="string"?u:JSON.stringify(Array.from(new Uint8Array(u)))}),c};const o=Om(t.fonts,"add",function(a){return function(l){return Hc(ve(()=>{const u=s.get(l);u&&(e(u),s.delete(l))}),0),a.apply(this,[l])}});return r.push(()=>{n.FontFace=i}),r.push(o),ve(()=>{r.forEach(a=>a())})}function dP(e){const{doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,selectionCb:o}=e;let a=!0;const l=ve(()=>{const u=t.getSelection();if(!u||a&&bn([u,"optionalAccess",f=>f.isCollapsed]))return;a=u.isCollapsed||!1;const d=[],c=u.rangeCount||0;for(let f=0;f<c;f++){const p=u.getRangeAt(f),{startContainer:y,startOffset:v,endContainer:S,endOffset:m}=p;Bt(y,r,s,i,!0)||Bt(S,r,s,i,!0)||d.push({start:n.getId(y),startOffset:v,end:n.getId(S),endOffset:m})}o({ranges:d})});return l(),Tt("selectionchange",l)}function fP({doc:e,customElementCb:t}){const n=e.defaultView;return!n||!n.customElements?()=>{}:Om(n.customElements,"define",function(s){return function(i,o,a){try{t({define:{name:i}})}catch{}return s.apply(this,[i,o,a])}})}function pP(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};let r;e.recordDOM&&(r=Hw(e,e.doc));const s=nP(e),i=rP(e),o=Ww(e),a=sP(e,{win:n}),l=oP(e),u=uP(e);let d=()=>{},c=()=>{},f=()=>{},p=()=>{};e.recordDOM&&(d=aP(e,{win:n}),c=Gw(e,e.doc),f=lP(e,{win:n}),e.collectFonts&&(p=cP(e)));const y=dP(e),v=fP(e),S=[];for(const m of e.plugins)S.push(m.observer(m.callback,n,m.options));return ve(()=>{ki.forEach(m=>m.reset()),bn([r,"optionalAccess",m=>m.disconnect,"call",m=>
62m()]),s(),i(),o(),a(),l(),u(),d(),c(),f(),p(),y(),v(),S.forEach(m=>m())})}function Rl(e){return typeof window[e]<"u"}function Al(e){return!!(typeof window[e]<"u"&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class Up{constructor(t){this.generateIdFn=t,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(t,n,r,s){const i=r||this.getIdToRemoteIdMap(t),o=s||this.getRemoteIdToIdMap(t);let a=i.get(n);return a||(a=this.generateIdFn(),i.set(n,a),o.set(a,n)),a}getIds(t,n){const r=this.getIdToRemoteIdMap(t),s=this.getRemoteIdToIdMap(t);return n.map(i=>this.getId(t,i,r,s))}getRemoteId(t,n,r){const s=r||this.getRemoteIdToIdMap(t);if(typeof n!="number")return n;const i=s.get(n);return i||-1}getRemoteIds(t,n){const r=this.getRemoteIdToIdMap(t);return n.map(s=>this.getRemoteId(t,s,r))}reset(t){if(!t){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(t),this.iframeRemoteIdToIdMap.delete(t)}getIdToRemoteIdMap(t){let n=this.iframeIdToRemoteIdMap.get(t);return n||(n=new Map,this.iframeIdToRemoteIdMap.set(t,n)),n}getRemoteIdToIdMap(t){let n=this.iframeRemoteIdToIdMap.get(t);return n||(n=new Map,this.iframeRemoteIdToIdMap.set(t,n)),n}}function kv(e){let t,n=e[0],r=1;for(;r<e.length;){const s=e[r],i=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&&n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=i(n)):(s==="call"||s==="optionalCall")&&(n=i((...o)=>n.call(t,...o)),t=void 0)}return n}class hP{constructor(){this.crossOriginIframeMirror=new Up(Im),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class mP{constructor(t){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new Up(Im),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Up(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=t.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(t){this.iframes.set(t,!0),t.contentWindow&&this.crossOriginIframeMap.set(t.contentWindow,t)}addLoadListener(t){this.loadListener=t}attachIframe(t,n){this.mutationCb({adds:[{parentId:this.mirror.getId(t),nextId:null,node:n}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),kv([this,"access",s=>s.loadListener,"optionalCall",s=>s(t)]);const r=Am(t);r&&r.adoptedStyleSheets&&r.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(r.adoptedStyleSheets,this.mirror.getId(r))}handleMessage(t){const n=t;if(n.data.type!=="rrweb"||n.origin!==n.data.origin||!t.source)return;const s=this.crossOriginIframeMap.get(t.source);if(!s)return;const i=this.transformCrossOriginEvent(s,n.data.event);i&&this.wrappedEmit(i,n.data.isCheckout)}transformCrossOriginEvent(t,n){switch(n.type){case ce.FullSnapshot:{this.crossOriginIframeMirror.reset(t),this.crossOriginIframeStyleMirror.reset(t),this.replaceIdOnNode(n.data.node,t);const r=n.data.node.id;return this.crossOriginIframeRootIdMap.set(t,r),this.patchRootIdOnNode(n.data.node,r),{timestamp:n.timestamp,type:ce.IncrementalSnapshot,data:{source:ie.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:n.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case ce.Meta:case ce.Load:case ce.DomContentLoaded:return!1;case ce.Plugin:return n;case ce.Custom:return this.replaceIds(n.data.payload,t,["id","parentId","previousId","nextId"]),n;case ce.IncrementalSnapshot:switch(n.data.source){case ie.Mutation:return n.data.adds.forEach(r=>{this.replaceIds(r,t,["parentId","nextId","previousId"]),this.replaceIdOnNode(r.node,t);const s=this.crossOriginIframeRootIdMap.get(t);s&&this.patchRootIdOnNode(r.node,s)}),n.data.removes.forEach(r=>{this.replaceIds(r,t,["parentId","id"])}),n.data.attributes.forEach(r=>{this.replaceIds(r,t,["id"])}
vendor: 4,644 bytes, line 62
62),n.data.texts.forEach(r=>{this.replaceIds(r,t,["id"])}),n;case ie.Drag:case ie.TouchMove:case ie.MouseMove:return n.data.positions.forEach(r=>{this.replaceIds(r,t,["id"])}),n;case ie.ViewportResize:return!1;case ie.MediaInteraction:case ie.MouseInteraction:case ie.Scroll:case ie.CanvasMutation:case ie.Input:return this.replaceIds(n.data,t,["id"]),n;case ie.StyleSheetRule:case ie.StyleDeclaration:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleId"]),n;case ie.Font:return n;case ie.Selection:return n.data.ranges.forEach(r=>{this.replaceIds(r,t,["start","end"])}),n;case ie.AdoptedStyleSheet:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleIds"]),kv([n,"access",r=>r.data,"access",r=>r.styles,"optionalAccess",r=>r.forEach,"call",r=>r(s=>{this.replaceStyleIds(s,t,["styleId"])})]),n}}return!1}replace(t,n,r,s){for(const i of s)!Array.isArray(n[i])&&typeof n[i]!="number"||(Array.isArray(n[i])?n[i]=t.getIds(r,n[i]):n[i]=t.getId(r,n[i]));return n}replaceIds(t,n,r){return this.replace(this.crossOriginIframeMirror,t,n,r)}replaceStyleIds(t,n,r){return this.replace(this.crossOriginIframeStyleMirror,t,n,r)}replaceIdOnNode(t,n){this.replaceIds(t,n,["id","rootId"]),"childNodes"in t&&t.childNodes.forEach(r=>{this.replaceIdOnNode(r,n)})}patchRootIdOnNode(t,n){t.type!==Je.Document&&!t.rootId&&(t.rootId=n),"childNodes"in t&&t.childNodes.forEach(r=>{this.patchRootIdOnNode(r,n)})}}class gP{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class yP{constructor(t){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(t,n){if(!ra(t)||this.shadowDoms.has(t))return;this.shadowDoms.add(t),this.bypassOptions.canvasManager.addShadowRoot(t);const r=Hw({...this.bypassOptions,doc:n,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},t);this.restoreHandlers.push(()=>r.disconnect()),this.restoreHandlers.push(Ww({...this.bypassOptions,scrollCb:this.scrollCb,doc:t,mirror:this.mirror})),Hc(()=>{t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,this.mirror.getId(t.host)),this.restoreHandlers.push(Gw({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))},0)}observeAttachShadow(t){const n=Am(t),r=XM(t);!n||!r||this.patchAttachShadow(r.Element,n)}patchAttachShadow(t,n){const r=this;this.restoreHandlers.push(Om(t.prototype,"attachShadow",function(s){return function(i){const o=s.call(this,i);return this.shadowRoot&&jw(this)&&r.addShadowRoot(this.shadowRoot,n),o}}))}reset(){this.restoreHandlers.forEach(t=>{try{t()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}class bv{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class vP{constructor(t){this.trackedLinkElements=new WeakSet,this.styleMirror=new HM,this.mutationCb=t.mutationCb,this.adoptedStyleSheetCb=t.adoptedStyleSheetCb}attachLinkElement(t,n){"_cssText"in n.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:n.id,attributes:n.attributes}]}),this.trackLinkElement(t)}trackLinkElement(t){this.trackedLinkElements.has(t)||(this.trackedLinkElements.add(t),this.trackStylesheetInLinkElement(t))}adoptStyleSheets(t,n){if(t.length===0)return;const r={id:n,styleIds:[]},s=[];for(const i of t){let o;this.styleMirror.has(i)?o=this.styleMirror.getId(i):(o=this.styleMirror.add(i),s.push({styleId:o,rules:Array.from(i.rules||CSSRule,(a,l)=>({rule:kw(a),index:l}))})),r.styleIds.push(o)}s.length>0&&(r.styles=s),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(t){}}class _P{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(t,n){const r=this.nodeMap.get(t);return r&&Array.from(r).some(s=>s!==n)}add(t,n){this.active||(this.active=!0,qM(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(n))}destroy(){}}let je,Yu;try{if(Array.from([1],e=>e*2)[0]!==2){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=Ql([e,"access",t=>t.contentWindow,"optionalAccess",t=>t.Array,"access",t=>t.from])||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}const _n=vM();function or(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:s="rr
62-block",blockSelector:i=null,unblockSelector:o=null,ignoreClass:a="rr-ignore",ignoreSelector:l=null,maskAllText:u=!1,maskTextClass:d="rr-mask",unmaskTextClass:c=null,maskTextSelector:f=null,unmaskTextSelector:p=null,inlineStylesheet:y=!0,maskAllInputs:v,maskInputOptions:S,slimDOMOptions:m,maskAttributeFn:h,maskInputFn:g,maskTextFn:_,maxCanvasSize:w=null,packFn:x,sampling:b={},dataURLOptions:T={},mousemoveWait:R,recordDOM:k=!0,recordCanvas:P=!1,recordCrossOriginIframes:A=!1,recordAfter:N=e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load",userTriggeredOnInput:z=!1,collectFonts:G=!1,inlineImages:q=!1,plugins:V,keepIframeSrcFn:C=()=>!1,ignoreCSSAttributes:L=new Set([]),errorHandler:H,onMutation:ue,getCanvasManager:Ne}=e;eP(H);const Qt=A?window.parent===window:!0;let ht=!1;if(!Qt)try{window.parent.document&&(ht=!1)}catch{ht=!0}if(Qt&&!t)throw new Error("emit function is required");if(!Qt&&!ht)return()=>{};R!==void 0&&b.mousemove===void 0&&(b.mousemove=R),_n.reset();const hn=v===!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}:S!==void 0?S:{},Rt=m===!0||m==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:m==="all",headMetaDescKeywords:m==="all"}:m||{};VM();let mn,Qs=0;const hs=ye=>{for(const At of V||[])At.eventProcessor&&(ye=At.eventProcessor(ye));return x&&!ht&&(ye=x(ye)),ye};je=(ye,At)=>{const he=ye;if(he.timestamp=Gu(),Ql([ki,"access",Ae=>Ae[0],"optionalAccess",Ae=>Ae.isFrozen,"call",Ae=>Ae()])&&he.type!==ce.FullSnapshot&&!(he.type===ce.IncrementalSnapshot&&he.data.source===ie.Mutation)&&ki.forEach(Ae=>Ae.unfreeze()),Qt)Ql([t,"optionalCall",Ae=>Ae(hs(he),At)]);else if(ht){const Ae={type:"rrweb",event:hs(he),origin:window.location.origin,isCheckout:At};window.parent.postMessage(Ae,"*")}if(he.type===ce.FullSnapshot)mn=he,Qs=0;else if(he.type===ce.IncrementalSnapshot){if(he.data.source===ie.Mutation&&he.data.isAttachIframe)return;Qs++;const Ae=r&&Qs>=r,we=n&&mn&&he.timestamp-mn.timestamp>n;(Ae||we)&&ko(!0)}};const Js=ye=>{je({type:ce.IncrementalSnapshot,data:{source:ie.Mutation,...ye}})},wo=ye=>je({type:ce.IncrementalSnapshot,data:{source:ie.Scroll,...ye}}),fd=ye=>je({type:ce.IncrementalSnapshot,data:{source:ie.CanvasMutation,...ye}}),To=ye=>je({type:ce.IncrementalSnapshot,data:{source:ie.AdoptedStyleSheet,...ye}}),Mn=new vP({mutationCb:Js,adoptedStyleSheetCb:To}),gn=typeof __RRWEB_EXCLUDE_IFRAME__=="boolean"&&__RRWEB_EXCLUDE_IFRAME__?new hP:new mP({mirror:_n,mutationCb:Js,stylesheetManager:Mn,recordCrossOriginIframes:A,wrappedEmit:je});for(const ye of V||[])ye.getMirror&&ye.getMirror({nodeMirror:_n,crossOriginIframeMirror:gn.crossOriginIframeMirror,crossOriginIframeStyleMirror:gn.crossOriginIframeStyleMirror});const ms=new _P,xo=EP(Ne,{mirror:_n,win:window,mutationCb:ye=>je({type:ce.IncrementalSnapshot,data:{source:ie.CanvasMutation,...ye}}),recordCanvas:P,blockClass:s,blockSelector:i,unblockSelector:o,maxCanvasSize:w,sampling:b.canvas,dataURLOptions:T,errorHandler:H}),gs=typeof __RRWEB_EXCLUDE_SHADOW_DOM__=="boolean"&&__RRWEB_EXCLUDE_SHADOW_DOM__?new gP:new yP({mutationCb:Js,scrollCb:wo,bypassOptions:{onMutation:ue,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:u,maskTextClass:d,unmaskTextClass:c,maskTextSelector:f,unmaskTextSelector:p,inlineStylesheet:y,maskInputOptions:hn,dataURLOptions:T,maskAttributeFn:h,maskTextFn:_,maskInputFn:g,recordCanvas:P,inlineImages:q,sampling:b,slimDOMOptions:Rt,iframeManager:gn,stylesheetManager:Mn,canvasManager:xo,keepIframeSrcFn:C,processedNodeManager:ms},mirror:_n}),ko=(ye=!1)=>{if(!k)return;je({type:ce.Meta,data:{href:window.location.href,width:Dw(),height:Lw()}},ye),Mn.reset(),gs.init(),ki.forEach(he=>he.lock());const At=UM(document,{mirror:_n,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:u,maskTextClass:d,unmaskTextClass:c,maskTextSelector:f,unmaskTextSelector:p,inlineStylesheet:y,maskAllInputs:hn,maskAttributeFn:h,maskInputFn:g,maskTextFn:_,slimDOM:Rt,dataURLOptions:T,recordCanvas:P,inlineImages:q,onSerialize:he=>{zw(he,_n)&&gn.addIframe(he),Bw(he,_n)&&Mn.trackLinkElement(he),zp(he)&&gs.addShadowRoot(he.shadowRoot,document)},onIframeLoad:(he,Ae)=>{gn.attachIframe(he,Ae),he.contentWindow&&xo.addWindow(he.contentWindow),gs.observeAttachShadow(he)},onStylesheetLoad:(he,Ae)=>{Mn.attachLinkElement(he,Ae)},keepIframeSrcFn:C});if(!At)return console.warn("Failed to snapshot the document");je({type:ce.FullSnapshot,data:{node:At,initialOffset:Nw(window)}}),ki.forEach(he=>he.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Mn.adoptStyleSheets(document.adoptedStyleSheets,_n.getId(document))};Yu=ko;try{const ye=[],At=Ae=>ve(pP)({onMutation:ue,mutationCb:Js,mousemoveCb:(we,Pn)=>je({type:ce.IncrementalSnapshot,data:{source:Pn,positions:we}}),mouseInteractionCb:we=>je({type:ce.IncrementalSnapshot,data:{source:ie.MouseInteraction,...we}}
62),scrollCb:wo,viewportResizeCb:we=>je({type:ce.IncrementalSnapshot,data:{source:ie.ViewportResize,...we}}),inputCb:we=>je({type:ce.IncrementalSnapshot,data:{source:ie.Input,...we}}),mediaInteractionCb:we=>je({type:ce.IncrementalSnapshot,data:{source:ie.MediaInteraction,...we}}),styleSheetRuleCb:we=>je({type:ce.IncrementalSnapshot,data:{source:ie.StyleSheetRule,...we}}),styleDeclarationCb:we=>je({type:ce.IncrementalSnapshot,data:{source:ie.StyleDeclaration,...we}}),canvasMutationCb:fd,fontCb:we=>je({type:ce.IncrementalSnapshot,data:{source:ie.Font,...we}}),selectionCb:we=>{je({type:ce.IncrementalSnapshot,data:{source:ie.Selection,...we}})},customElementCb:we=>{je({type:ce.IncrementalSnapshot,data:{source:ie.CustomElement,...we}})},blockClass:s,ignoreClass:a,ignoreSelector:l,maskAllText:u,maskTextClass:d,unmaskTextClass:c,maskTextSelector:f,unmaskTextSelector:p,maskInputOptions:hn,inlineStylesheet:y,sampling:b,recordDOM:k,recordCanvas:P,inlineImages:q,userTriggeredOnInput:z,collectFonts:G,doc:Ae,maskAttributeFn:h,maskInputFn:g,maskTextFn:_,keepIframeSrcFn:C,blockSelector:i,unblockSelector:o,slimDOMOptions:Rt,dataURLOptions:T,mirror:_n,iframeManager:gn,stylesheetManager:Mn,shadowDomManager:gs,processedNodeManager:ms,canvasManager:xo,ignoreCSSAttributes:L,plugins:Ql([V,"optionalAccess",we=>we.filter,"call",we=>we(Pn=>Pn.observer),"optionalAccess",we=>we.map,"call",we=>we(Pn=>({observer:Pn.observer,options:Pn.options,callback:E=>je({type:ce.Plugin,data:{plugin:Pn.name,payload:E}})}))])||[]},{});gn.addLoadListener(Ae=>{try{ye.push(At(Ae.contentDocument))}catch(we){console.warn(we)}});const he=()=>{ko(),ye.push(At(document))};return document.readyState==="interactive"||document.readyState==="complete"?he():(ye.push(Tt("DOMContentLoaded",()=>{je({type:ce.DomContentLoaded,data:{}}),N==="DOMContentLoaded"&&he()})),ye.push(Tt("load",()=>{je({type:ce.Load,data:{}}),N==="load"&&he()},window))),()=>{ye.forEach(Ae=>Ae()),ms.destroy(),Yu=void 0,tP()}}catch(ye){console.warn(ye)}}function SP(e){if(!Yu)throw new Error("please take full snapshot after start recording");Yu(e)}or.mirror=_n;or.takeFullSnapshot=SP;function EP(e,t){try{return e?e(t):new bv}catch{return console.warn("Unable to initialize CanvasManager"),new bv}}const wP=3,TP=5;function Mm(e){return e>9999999999?e:e*1e3}function Qd(e){return e>9999999999?e/1e3:e}function Za(e,t){t.category!=="sentry.transaction"&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:ce.Custom,timestamp:(t.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:Tn(t,10,1e3)}}),t.category==="console")))}const xP="button,a";function qw(e){return e.closest(xP)||e}function Yw(e){const t=Xw(e);return!t||!(t instanceof Element)?t:qw(t)}function Xw(e){return kP(e)?e.target:e}function kP(e){return typeof e=="object"&&!!e&&"target"in e}let Ir;function bP(e){return Ir||(Ir=[],CP()),Ir.push(e),()=>{const t=Ir?Ir.indexOf(e):-1;t>-1&&Ir.splice(t,1)}}function CP(){Lt(Oe,"open",function(e){return function(...t){if(Ir)try{Ir.forEach(n=>n())}catch{}return e.apply(Oe,t)}})}const IP=new Set([ie.Mutation,ie.StyleSheetRule,ie.StyleDeclaration,ie.AdoptedStyleSheet,ie.CanvasMutation,ie.Selection,ie.MediaInteraction]);function OP(e,t,n){e.handleClick(t,n)}class RP{constructor(t,n,r=Za){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=n.timeout/1e3,this._threshold=n.threshold/1e3,this._scrollTimeout=n.scrollTimeout/1e3,this._replay=t,this._ignoreSelector=n.ignoreSelector,this._addBreadcrumbEvent=r}addListeners(){const t=bP(()=>{this._lastMutation=Cv()});this._teardown=()=>{t(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(t,n){if(MP(n,this._ignoreSelector)||!PP(t))return;const r={timestamp:Qd(t.timestamp),clickBreadcrumb:t,clickCount:0,node:n};this._clicks.some(s=>s.node===r.node&&Math.abs(s.timestamp-r.timestamp)<1)||(this._clicks.push(r),this._clicks.length===1&&this._scheduleCheckClicks())}registerMutation(t=Date.now()){this._lastMutation=Qd(t)}registerScroll(t=Date.now()){this._lastScroll=Qd(t)}registerClick(t){const n=qw(t);this._handleMultiClick(n)}_handleMultiClick(t){this._getClicks(t).forEach(n=>
62{n.clickCount++})}_getClicks(t){return this._clicks.filter(n=>n.node===t)}_checkClicks(){const t=[],n=Cv();this._clicks.forEach(r=>{!r.mutationAfter&&this._lastMutation&&(r.mutationAfter=r.timestamp<=this._lastMutation?this._lastMutation-r.timestamp:void 0),!r.scrollAfter&&this._lastScroll&&(r.scrollAfter=r.timestamp<=this._lastScroll?this._lastScroll-r.timestamp:void 0),r.timestamp+this._timeout<=n&&t.push(r)});for(const r of t){const s=this._clicks.indexOf(r);s>-1&&(this._generateBreadcrumbs(r),this._clicks.splice(s,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(t){const n=this._replay,r=t.scrollAfter&&t.scrollAfter<=this._scrollTimeout,s=t.mutationAfter&&t.mutationAfter<=this._threshold,i=!r&&!s,{clickCount:o,clickBreadcrumb:a}=t;if(i){const l=Math.min(t.mutationAfter||this._timeout,this._timeout)*1e3,u=l<this._timeout*1e3?"mutation":"timeout",d={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.slowClickDetected",data:{...a.data,url:Oe.location.href,route:n.getCurrentRoute(),timeAfterClickMs:l,endReason:u,clickCount:o||1}};this._addBreadcrumbEvent(n,d);return}if(o>1){const l={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.multiClick",data:{...a.data,url:Oe.location.href,route:n.getCurrentRoute(),clickCount:o,metric:!0}};this._addBreadcrumbEvent(n,l)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=Zi(()=>this._checkClicks(),1e3)}}const AP=["A","BUTTON","INPUT"];function MP(e,t){return!!(!AP.includes(e.tagName)||e.tagName==="INPUT"&&!["submit","button"].includes(e.getAttribute("type")||"")||e.tagName==="A"&&(e.hasAttribute("download")||e.hasAttribute("target")&&e.getAttribute("target")!=="_self")||t&&e.matches(t))}function PP(e){return!!(e.data&&typeof e.data.nodeId=="number"&&e.timestamp)}function Cv(){return Date.now()/1e3}function NP(e,t){try{if(!LP(t))return;const{source:n}=t.data;if(IP.has(n)&&e.registerMutation(t.timestamp),n===ie.Scroll&&e.registerScroll(t.timestamp),DP(t)){const{type:r,id:s}=t.data,i=or.mirror.getNode(s);i instanceof HTMLElement&&r===Et.Click&&e.registerClick(i)}}catch{}}function LP(e){return e.type===wP}function DP(e){return e.data.source===ie.MouseInteraction}function Bn(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var Xu;(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"})(Xu||(Xu={}));const $P=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function FP(e){const t={};!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]);for(const n in e)if($P.has(n)){let r=n;(n==="data-testid"||n==="data-test-id")&&(r="testId"),t[r]=e[n]}return t}const zP=e=>t=>{if(!e.isEnabled())return;const n=BP(t);if(!n)return;const r=t.name==="click",s=r?t.event:void 0;r&&e.clickDetector&&s&&s.target&&!s.altKey&&!s.metaKey&&!s.ctrlKey&&!s.shiftKey&&OP(e.clickDetector,n,Yw(t.event)),Za(e,n)};function Kw(e,t){const n=or.mirror.getId(e),r=n&&or.mirror.getNode(n),s=r&&or.mirror.getMeta(r),i=s&&jP(s)?s:null;return{message:t,data:i?{nodeId:n,node:{id:n,tagName:i.tagName,textContent:Array.from(i.childNodes).map(o=>o.type===Xu.Text&&o.textContent).filter(Boolean).map(o=>o.trim()).join(""),attributes:FP(i.attributes)}}:{}}}function BP(e){const{target:t,message:n}=UP(e);return Bn({category:`ui.${e.name}`,...Kw(t,n)})}function UP(e){const t=e.name==="click";let n,r=null;try{r=t?Yw(e.event):Xw(e.event),n=pr(r,{maxStringLength:200})||"<unknown>"}catch{n="<unknown>"}return{target:r,message:n}}function jP(e){return e.type===Xu.Element}function VP(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=HP(t);n&&Za(e,n)}function HP(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:s,key:i,target:o}=e;if(!o||WP(o)||!i)return null;const a=t||r||s,l=i.length===1;if(!a&&l)return null;const u=pr(o,{maxStringLength:200})||"<unknown>",d=Kw(o,u);return Bn({category:"ui.keyDown",message:u,data:{...d.data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:s,key:i}})}function WP(e){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable}const GP={resource:ZP,paint:XP,navigation:KP};function Ml(e,t){return({metric:n})=>void t.replayPerformanceEntries.push(e(n))}
62function qP(e){return e.map(YP).filter(Boolean)}function YP(e){const t=GP[e.entryType];return t?t(e):null}function eo(e){return((bt||Oe.performance.timeOrigin)+e)/1e3}function XP(e){const{duration:t,entryType:n,name:r,startTime:s}=e,i=eo(s);return{type:n,name:r,start:i,end:i+t,data:void 0}}function KP(e){const{entryType:t,name:n,decodedBodySize:r,duration:s,domComplete:i,encodedBodySize:o,domContentLoadedEventStart:a,domContentLoadedEventEnd:l,domInteractive:u,loadEventStart:d,loadEventEnd:c,redirectCount:f,startTime:p,transferSize:y,type:v}=e;return s===0?null:{type:`${t}.${v}`,start:eo(p),end:eo(i),name:n,data:{size:y,decodedBodySize:r,encodedBodySize:o,duration:s,domInteractive:u,domContentLoadedEventStart:a,domContentLoadedEventEnd:l,loadEventStart:d,loadEventEnd:c,domComplete:i,redirectCount:f}}}function ZP(e){const{entryType:t,initiatorType:n,name:r,responseEnd:s,startTime:i,decodedBodySize:o,encodedBodySize:a,responseStatus:l,transferSize:u}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:eo(i),end:eo(s),name:r,data:{size:u,statusCode:l,decodedBodySize:o,encodedBodySize:a}}}function QP(e){const t=e.entries[e.entries.length-1],n=t&&t.element?[t.element]:void 0;return Wc(e,"largest-contentful-paint",n)}function JP(e){return e.sources!==void 0}function eN(e){const t=[],n=[];for(const r of e.entries)if(JP(r)){const s=[];for(const i of r.sources)if(i.node){n.push(i.node);const o=or.mirror.getId(i.node);o&&s.push(o)}t.push({value:r.value,nodeIds:s.length?s:void 0})}return Wc(e,"cumulative-layout-shift",n,t)}function tN(e){const t=e.entries[e.entries.length-1],n=t&&t.target?[t.target]:void 0;return Wc(e,"first-input-delay",n)}function nN(e){const t=e.entries[e.entries.length-1],n=t&&t.target?[t.target]:void 0;return Wc(e,"interaction-to-next-paint",n)}function Wc(e,t,n,r){const s=e.value,i=e.rating,o=eo(s);return{type:"web-vital",name:t,start:o,end:o,data:{value:s,size:s,rating:i,nodeIds:n?n.map(a=>or.mirror.getId(a)):void 0,attributions:r}}}function rN(e){function t(s){e.performanceEntries.includes(s)||e.performanceEntries.push(s)}function n({entries:s}){s.forEach(t)}const r=[];return["navigation","paint","resource"].forEach(s=>{r.push(Ki(s,n))}),r.push(pw(Ml(QP,e)),wm(Ml(eN,e)),hw(Ml(tN,e)),mw(Ml(nN,e))),()=>{r.forEach(s=>s())}}const re=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,sN='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}},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==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))}
vendor: 9,555 bytes, line 62
62,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},_=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},x=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=A(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}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(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)},U=function(t,r,s,o,f,h,l,u,c,v,m){z(r,m++,s),++f[256];for(var b=x(f,15),M=b.t,E=b.l,A=x(h,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),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=x(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,U)+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(U,C,0),R=U;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){_(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;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=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;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}}},L=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}}},O=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=C[s-1],M=y>>13,E=8191&y,z=(1<<o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(a[t]^a[t+1]<<A^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=x[H];if(_[J]=K,x[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!w)){p=U(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;++P){var rt=j-W+P&32767,et=rt-_[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[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=U(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=x,c.p=_,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)},j=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},q=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&&j(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)}},B=function(t){return 10+(t.filename?t.filename.length+1:0)},G=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(O(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}();var H=function(){function t(t,n){this.c=L(),this.v=1,G.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),G.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=O(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=L();i.p(n.dictionary),j(t,2,i.d())}}(r,this.o),this.v=0),n&&j(r,r.length-4,this.c.d()),this.ondata(r,n)},t}(),J="undefined"!=typeof TextEncoder&&new TextEncoder,K="undefined"!=typeof TextDecoder&&new TextDecoder;try{K.decode(F,{stream:!0})}catch(t){}var N=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(P(t),this.d=n||!1)},t}();function P(n,r){if(J)return J.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),a=0,s=function(t){i[a++]=t},o=0;o<e;++o){if(a+5>i.length){var f=new t(a+8+(e-o<<1));f.set(i),i=f}var h=n.charCodeAt(o);h<128||r?s(h):h<2048?(s(192|h>>6),s(128|63&h)):h>55295&&h<57344?(s(240|(h=65536+(1047552&h)|1023&n.charCodeAt(++o))>>18),s(128|h>>12&63),s(128|h>>6&63),s(128|63&h)):(s(224|h>>12),s(128|h>>6&63),s(128|63&h))}return b(i,0,a)}function Q(t){return function(t,n){n||(n={});var r=S(),e=t.length;r.p(t);var i=O(t,n,B(n),8),a=i.length;return q(i,n),j(i,a-8,r.d()),j(i,a-4,e),i}(P(t))}const R=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(const r of t)n+=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 H,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new N(((t,n)=>{this.deflate.push(t,n)})),this.stream.push("[")}},V={clear:()=>{R.clear()},addEvent:t=>R.addEvent(t),finish:()=>R.finish(),compress:t=>Q(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in V&&"function"==typeof V[n])try{const t=V[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 iN(){const e=new Blob([sN]);return URL.createObjectURL(e)}const Iv=["info","warn","error","log"],tu="[Replay] ";function Jd(e,t="info"){rs({category:"console",data:{logger:"replay"},level:t,message:`${tu}${e}`},{level:t})}function oN(){let e=!1,t=!1;const n={exception:()=>{},infoTick:()=>{},setConfig:r=>{e=r.captureExceptions,t=r.traceInternals}};return re?(Iv.forEach(r=>{n[r]=(...s)=>{B[r](tu,...s),t&&Jd(s.join(""),ZE(r))}}),n.exception=(r,...s)=>{s.length&&n.error&&n.error(...s),B.error(tu,r),e?ym(r):t&&Jd(r,"error")},n.infoTick=(...r)=>{B.info(tu,...r),t&&setTimeout(()=>Jd(r[0]),0)}):Iv.forEach(r=>{n[r]=()=>{}}),n}const se=oN();
62class Pm extends Error{constructor(){super(`Event buffer exceeded maximum size of ${bm}.`)}}class Zw{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(t){const n=JSON.stringify(t).length;if(this._totalSize+=n,this._totalSize>bm)throw new Pm;this.events.push(t)}finish(){return new Promise(t=>{const n=this.events;this.clear(),t(JSON.stringify(n))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){const t=this.events.map(n=>n.timestamp).sort()[0];return t?Mm(t):null}}class aN{constructor(t){this._worker=t,this._id=0}ensureReady(){return this._ensureReadyPromise?this._ensureReadyPromise:(this._ensureReadyPromise=new Promise((t,n)=>{this._worker.addEventListener("message",({data:r})=>{r.success?t():n()},{once:!0}),this._worker.addEventListener("error",r=>{n(r)},{once:!0})}),this._ensureReadyPromise)}destroy(){re&&se.info("Destroying compression worker"),this._worker.terminate()}postMessage(t,n){const r=this._getAndIncrementId();return new Promise((s,i)=>{const o=({data:a})=>{const l=a;if(l.method===t&&l.id===r){if(this._worker.removeEventListener("message",o),!l.success){re&&se.error("Error in compression worker: ",l.response),i(new Error("Error in compression worker"));return}s(l.response)}};this._worker.addEventListener("message",o),this._worker.postMessage({id:r,method:t,arg:n})})}_getAndIncrementId(){return this._id++}}class lN{constructor(t){this._worker=new aN(t),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(t){const n=Mm(t.timestamp);(!this._earliestTimestamp||n<this._earliestTimestamp)&&(this._earliestTimestamp=n);const r=JSON.stringify(t);return this._totalSize+=r.length,this._totalSize>bm?Promise.reject(new Pm):this._sendEventToWorker(r)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,t=>{re&&se.exception(t,'Sending "clear" message to worker failed',t)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(t){return this._worker.postMessage("addEvent",t)}async _finishRequest(){const t=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,t}}class uN{constructor(t){this._fallback=new Zw,this._compression=new lN(t),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get waitForCheckout(){return this._used.waitForCheckout}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(t){this._used.hasCheckout=t}set waitForCheckout(t){this._used.waitForCheckout=t}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(t){return this._used.addEvent(t)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(t){re&&se.exception(t,"Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:t,hasCheckout:n,waitForCheckout:r}=this._fallback,s=[];for(const i of t)s.push(this._compression.addEvent(i));this._compression.hasCheckout=n,this._compression.waitForCheckout=r,this._used=this._compression;try{await Promise.all(s),this._fallback.clear()}catch(i){re&&se.exception(i,"Failed to add events when switching buffers.")}}}function cN({useCompression:e,workerUrl:t}){if(e&&window.Worker){const n=dN(t);if(n)return n}return re&&se.info("Using simple buffer"),new Zw}function dN(e){try{const t=e||fN();if(!t)return;re&&se.info(`Using compression worker${e?` from ${e}`:""}`);const n=new Worker(t);return new uN(n)}catch(t){re&&se.exception(t,"Failed to create compression worker")}}function fN(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__>"u"||!__SENTRY_EXCLUDE_REPLAY_WORKER__?iN():""}function Nm(){try{return"sessionStorage"in Oe&&!!Oe.sessionStorage}catch{return!1}}function pN(e){hN(),e.session=void 0}function hN(){if(Nm())try{Oe.sessionStorage.removeItem(xm)}catch{}}function Qw(e){return e===void 0?!1:Math.random()<e}function Jw(e){const t=Date.now(),n=e.id||Wt(),r=e.started||t,s=e.lastActivity||t,i=e.segmentId||0,o=e.sampled,a=e.previousSessionId;return{id:n,started:r,lastActivity:s,segmentId:i,sampled:o,previousSessionId:a}}function Lm(e){if(Nm())try{Oe.sessionStorage.setItem(xm,JSON.stringify(e))}catch{}}
62function mN(e,t){return Qw(e)?"session":t?"buffer":!1}function Ov({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){const s=mN(e,t),i=Jw({sampled:s,previousSessionId:r});return n&&Lm(i),i}function gN(){if(!Nm())return null;try{const e=Oe.sessionStorage.getItem(xm);if(!e)return null;const t=JSON.parse(e);return re&&se.infoTick("Loading existing session"),Jw(t)}catch{return null}}function jp(e,t,n=+new Date){return e===null||t===void 0||t<0?!0:t===0?!1:e+t<=n}function eT(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return jp(e.started,t,r)||jp(e.lastActivity,n,r)}function tT(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!(!eT(e,{sessionIdleExpire:t,maxReplayDuration:n})||e.sampled==="buffer"&&e.segmentId===0)}function ef({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:n},r){const s=r.stickySession&&gN();return s?tT(s,{sessionIdleExpire:e,maxReplayDuration:t})?(re&&se.infoTick("Session in sessionStorage is expired, creating new one..."),Ov(r,{previousSessionId:s.id})):s:(re&&se.infoTick("Creating new session"),Ov(r,{previousSessionId:n}))}function yN(e){return e.type===ce.Custom}function Dm(e,t,n){return rT(e,t)?(nT(e,t,n),!0):!1}function vN(e,t,n){return rT(e,t)?nT(e,t,n):Promise.resolve(null)}async function nT(e,t,n){const{eventBuffer:r}=e;if(!r||r.waitForCheckout&&!n)return null;const s=e.recordingMode==="buffer";try{n&&s&&r.clear(),n&&(r.hasCheckout=!0,r.waitForCheckout=!1);const i=e.getOptions(),o=_N(t,i.beforeAddRecordingEvent);return o?await r.addEvent(o):void 0}catch(i){const o=i&&i instanceof Pm,a=o?"addEventSizeExceeded":"addEvent";if(o&&s)return r.clear(),r.waitForCheckout=!0,null;e.handleException(i),await e.stop({reason:a});const l=fe();l&&l.recordDroppedEvent("internal_sdk_error","replay")}}function rT(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;const n=Mm(t.timestamp);return n+e.timeouts.sessionIdlePause<Date.now()?!1:n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration?(re&&se.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),!1):!0}function _N(e,t){try{if(typeof t=="function"&&yN(e))return t(e)}catch(n){return re&&se.exception(n,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}function $m(e){return!e.type}function Vp(e){return e.type==="transaction"}function SN(e){return e.type==="replay_event"}function Rv(e){return e.type==="feedback"}function EN(e){return(t,n)=>{if(!e.isEnabled()||!$m(t)&&!Vp(t))return;const r=n&&n.statusCode;if(!(!r||r<200||r>=300)){if(Vp(t)){wN(e,t);return}TN(e,t)}}}function wN(e,t){const 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 TN(e,t){const 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;const{beforeErrorSampling:r}=e.getOptions();typeof r=="function"&&!r(t)||Zi(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(s){e.handleException(s)}})}function xN(e){return t=>{!e.isEnabled()||!$m(t)||kN(e,t)}}function kN(e,t){const n=t.exception&&t.exception.values&&t.exception.values[0]&&t.exception.values[0].value;if(typeof n=="string"&&(n.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i))){const r=Bn({category:"replay.hydrate-error",data:{url:lE()}});Za(e,r)}}function bN(e){const t=fe();t&&t.on("beforeAddBreadcrumb",n=>CN(e,n))}function CN(e,t){if(!e.isEnabled()||!sT(t))return;const n=IN(t);n&&Za(e,n)}function IN(e){return!sT(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")?null:e.category==="console"?ON(e):Bn(e)}function ON(e){const t=e.data&&e.data.arguments;if(!Array.isArray(t)||t.length===0)return Bn(e);let n=!1;const r=t.map(s=>{if(!s)return s;if(typeof s=="string")return s.length>Ol?(n=!0,`${s.slice(0,Ol)}…`):s;if(typeof s=="object")try{const i=Tn(s,7);return JSON.stringify(i).length>Ol?(n=!0,`${JSON.stringify(i,null,2).slice(0,Ol)}…`):i}catch{}return s});return Bn({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function sT(e){return!!e.category}function RN(e,t){return e.type||!e.exception||!e.exception.values||!e.exception.values.length?!1:!!(t.originalException&&t.originalException.__rrweb__)}
62function iT(){const e=be().getPropagationContext().dsc;e&&delete e.replay_id;const t=rt();if(t){const n=Xs(t);delete n.replay_id}}function AN(e,t){e.triggerUserActivity(),e.addUpdate(()=>t.timestamp?(e.throttledAddEvent({type:ce.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 MN(e,t){return e.recordingMode!=="buffer"||t.message===km||!t.exception||t.type?!1:Qw(e.getOptions().errorSampleRate)}function PN(e){return Object.assign((t,n)=>!e.isEnabled()||e.isPaused()?t:SN(t)?(delete t.breadcrumbs,t):!$m(t)&&!Vp(t)&&!Rv(t)?t:e.checkAndHandleExpiredSession()?Rv(t)?(e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),AN(e,t),t):RN(t,n)&&!e.getOptions()._experiments.captureExceptions?(re&&se.log("Ignoring error from rrweb internals",t),null):((MN(e,t)||e.recordingMode==="session")&&(t.tags={...t.tags,replayId:e.getSessionId()}),t):(iT(),t),{id:"Replay"})}function Gc(e,t){return t.map(({type:n,start:r,end:s,name:i,data:o})=>{const a=e.throttledAddEvent({type:ce.Custom,timestamp:r,data:{tag:"performanceSpan",payload:{op:n,description:i,startTimestamp:r,endTimestamp:s,data:o}}});return typeof a=="string"?Promise.resolve(null):a})}function NN(e){const{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}function LN(e){return t=>{if(!e.isEnabled())return;const n=NN(t);n!==null&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(Gc(e,[n]),!1)))}}function DN(e,t){return re&&e.getOptions()._experiments.traceInternals?!1:NI(t,fe())}function oT(e,t){e.isEnabled()&&t!==null&&(DN(e,t.name)||e.addUpdate(()=>(Gc(e,[t]),!0)))}function qc(e){if(!e)return;const t=new TextEncoder;try{if(typeof e=="string")return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){const n=cT(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function aT(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function lT(e){try{if(typeof e=="string")return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[cT(e)];if(!e)return[void 0]}catch(t){return re&&se.exception(t,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return re&&se.info("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function Ku(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};const n={...e._meta},r=n.warnings||[];return n.warnings=[...r,t],e._meta=n,e}function uT(e,t){if(!t)return null;const{startTimestamp:n,endTimestamp:r,url:s,method:i,statusCode:o,request:a,response:l}=t;return{type:e,start:n/1e3,end:r/1e3,name:s,data:nt({method:i,statusCode:o,request:a,response:l})}}function Aa(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function Yr(e,t,n){if(!t&&Object.keys(e).length===0)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};const r={headers:e,size:t},{body:s,warnings:i}=$N(n);return r.body=s,i&&i.length>0&&(r._meta={warnings:i}),r}function Hp(e,t){return Object.entries(e).reduce((n,[r,s])=>{const i=r.toLowerCase();return t.includes(i)&&e[r]&&(n[i]=s),n},{})}function cT(e){return new URLSearchParams(e).toString()}function $N(e){if(!e||typeof e!="string")return{body:e};const t=e.length>cv,n=FN(e);if(t){const r=e.slice(0,cv);return n?{body:r,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${r}…`,warnings:["TEXT_TRUNCATED"]}}if(n)try{return{body:JSON.parse(e)}}catch{}return{body:e}}function FN(e){const t=e[0],n=e[e.length-1];return t==="["&&n==="]"||t==="{"&&n==="}"}function Zu(e,t){const n=zN(e);return qr(n,t)}function zN(e,t=Oe.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(Oe.location.origin))return e;const n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;const r=n.href;return!e.endsWith("/")&&r.endsWith("/")?r.slice(0,-1):r}async function BN(e,t,n){try{const r=await jN(e,t,n),s=uT("resource.fetch",r);oT(n.replay,s)}catch(r){re&&se.exception(r,"Failed to capture fetch breadcrumb")}}function UN(e,t){const{input:n,response:r}=t,s=n?dT(n):void 0,i=qc(s),o=r?aT(r.headers.get("content-length")):void 0;i!==void 0&&(e.data.request_body_size=i),o!==void 0&&(e.data.response_body_size=o)}async function jN(e,t,n){const r=Date.now(),{startTimestamp:s=r,endTimestamp:i=r}=t,{url:o,method:a,status_code:l=0,request_body_size:u,response_body_size:d}=e.data,c=Zu(o,n.networkDetailAllowUrls)&&!Zu(o,n.networkDetailDenyUrls),f=c?VN(n,t.input,u):Aa(u),p=await HN(c,n,t.response,d);return{startTimestamp:s,endTimestamp:i,url:o,method:a,statusCode:l,request:f,response:p}}function VN({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const s=n?qN(n,t):{};if(!e)return Yr(s,r,void 0);const i=dT(n),[o,a]=lT(i),l=Yr(s,r,o);return a?Ku(l,a):l}async function HN(e,{networkCaptureBodies:t,networkResponseHeaders:n}
62,r,s){if(!e&&s!==void 0)return Aa(s);const i=r?fT(r.headers,n):{};if(!r||!t&&s!==void 0)return Yr(i,s,void 0);const[o,a]=await GN(r),l=WN(o,{networkCaptureBodies:t,responseBodySize:s,captureDetails:e,headers:i});return a?Ku(l,a):l}function WN(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:s}){try{const i=e&&e.length&&n===void 0?qc(e):n;return r?t?Yr(s,i,e):Yr(s,i,void 0):Aa(i)}catch(i){return re&&se.exception(i,"Failed to serialize response body"),Yr(s,n,void 0)}}async function GN(e){const t=YN(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{return[await XN(t)]}catch(n){return n instanceof Error&&n.message.indexOf("Timeout")>-1?(re&&se.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"]):(re&&se.exception(n,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"])}}function dT(e=[]){if(!(e.length!==2||typeof e[1]!="object"))return e[1].body}function fT(e,t){const n={};return t.forEach(r=>{e.get(r)&&(n[r]=e.get(r))}),n}function qN(e,t){return e.length===1&&typeof e[0]!="string"?Av(e[0],t):e.length===2?Av(e[1],t):{}}function Av(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?fT(n,t):Array.isArray(n)?{}:Hp(n,t):{}}function YN(e){try{return e.clone()}catch(t){re&&se.exception(t,"Failed to clone response body")}}function XN(e){return new Promise((t,n)=>{const r=Zi(()=>n(new Error("Timeout while trying to read response body")),500);KN(e).then(s=>t(s),s=>n(s)).finally(()=>clearTimeout(r))})}async function KN(e){return await e.text()}async function ZN(e,t,n){try{const r=JN(e,t,n),s=uT("resource.xhr",r);oT(n.replay,s)}catch(r){re&&se.exception(r,"Failed to capture xhr breadcrumb")}}function QN(e,t){const{xhr:n,input:r}=t;if(!n)return;const s=qc(r),i=n.getResponseHeader("content-length")?aT(n.getResponseHeader("content-length")):rL(n.response,n.responseType);s!==void 0&&(e.data.request_body_size=s),i!==void 0&&(e.data.response_body_size=i)}function JN(e,t,n){const r=Date.now(),{startTimestamp:s=r,endTimestamp:i=r,input:o,xhr:a}=t,{url:l,method:u,status_code:d=0,request_body_size:c,response_body_size:f}=e.data;if(!l)return null;if(!a||!Zu(l,n.networkDetailAllowUrls)||Zu(l,n.networkDetailDenyUrls)){const x=Aa(c),b=Aa(f);return{startTimestamp:s,endTimestamp:i,url:l,method:u,statusCode:d,request:x,response:b}}const p=a[ks],y=p?Hp(p.request_headers,n.networkRequestHeaders):{},v=Hp(eL(a),n.networkResponseHeaders),[S,m]=n.networkCaptureBodies?lT(o):[void 0],[h,g]=n.networkCaptureBodies?tL(a):[void 0],_=Yr(y,c,S),w=Yr(v,f,h);return{startTimestamp:s,endTimestamp:i,url:l,method:u,statusCode:d,request:m?Ku(_,m):_,response:g?Ku(w,g):w}}function eL(e){const t=e.getAllResponseHeaders();return t?t.split(`\r 63`).reduce((n,r)=>{const[s,i]=r.split(": ");return i&&(n[s.toLowerCase()]=i),n},{}):{}}function tL(e){const t=[];try{return[e.responseText]}catch(n){t.push(n)}try{return nL(e.response,e.responseType)}catch(n){t.push(n)}return re&&se.warn("Failed to get xhr response body",...t),[void 0]}function nL(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(n){return re&&se.exception(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return re&&se.info("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function rL(e,t){try{const n=t==="json"&&e&&typeof e=="object"?JSON.stringify(e):e;return qc(n)}catch{return}}function sL(e){const t=fe();try{const{networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:s,networkRequestHeaders:i,networkResponseHeaders:o}=e.getOptions(),a={replay:e,networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:s,networkRequestHeaders:i,networkResponseHeaders:o};t&&t.on("beforeAddBreadcrumb",(l,u)=>iL(a,l,u))}catch{}}function iL(e,t,n){if(t.data)try{oL(t)&&lL(n)&&(QN(t,n),ZN(t,n,e)),aL(t)&&uL(n)&&(UN(t,n),BN(t,n,e))}catch(r){re&&se.exception(r,"Error when enriching network breadcrumb")}}function oL(e){return e.category==="xhr"}function aL(e){return e.category==="fetch"}function lL(e){return e&&e.xhr}function uL(e){return e&&e.response}function cL(e){const t=fe();Sw(zP(e)),Uc(LN(e)),bN(e),sL(e);const n=PN(e);pI(n),t&&(t.on("beforeSendEvent",xN(e)),t.on("afterSendEvent",EN(e)),t.on("createDsc",r=>{const s=e.getSessionId();s&&e.isEnabled()&&e.recordingMode==="session"&&e.checkAndHandleExpiredSession()&&(r.replay_id=s)}),t.on("spanStart",r=>{e.lastActiveSpan=r}),t.on("spanEnd",r=>{e.lastActiveSpan=r}),t.on("beforeSendFeedback",(r,s)=>{const i=e.getSessionId();s&&s.includeReplay&&e.isEnabled()&&i&&r.contexts&&r.contexts.feedback&&(r.contexts.feedback.replay_id=i)}))}async function dL(e){try{return Promise.all(Gc(e,[fL(Oe.performance.memory)]))}catch{return[]}}function fL(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,s=Date.now()/1e3;return{type:"memory",name:"memory",start:s,end:s,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}function pL(e,t,n){let r,s,i;const o=n&&n.maxWait?Math.max(n.maxWait,t):0;function a(){return l(),r=e(),r}function l(){s!==void 0&&clearTimeout(s),i!==void 0&&clearTimeout(i),s=i=void 0}function u(){return s!==void 0||i!==void 0?a():r}function d(){return s&&clearTimeout(s),s=Zi(a,t),o&&i===void 0&&(i=Zi(a,o)),r}return d.cancel=l,d.flush=u,d}const vs=ge.navigator;function hL(){return/iPhone|iPad|iPod/i.test(vs&&vs.userAgent||"")||/Macintosh/i.test(vs&&vs.userAgent||"")&&vs&&vs.maxTouchPoints&&vs.maxTouchPoints>1?{sampling:{mousemove:!1}}:{}}function mL(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession()){re&&se.warn("Received replay event after session expired.");return}const s=r||!t;t=!0,e.clickDetector&&NP(e.clickDetector,n),e.addUpdate(()=>{if(e.recordingMode==="buffer"&&s&&e.setInitialState(),!Dm(e,n,s))return!0;
63if(!s)return!1;const i=e.session;if(yL(e,s),e.recordingMode==="buffer"&&i&&e.eventBuffer){const o=e.eventBuffer.getEarliestTimestamp();o&&(re&&se.info(`Updating session start time to earliest event in buffer to ${new Date(o)}`),i.started=o,e.getOptions().stickySession&&Lm(i))}return i&&i.previousSessionId||e.recordingMode==="session"&&e.flush(),!0})}}function gL(e){const t=e.getOptions();return{type:ce.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 yL(e,t){!t||!e.session||e.session.segmentId!==0||Dm(e,gL(e),!1)}function vL(e,t,n,r){return Ks(PE(e,mm(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:typeof t=="string"?new TextEncoder().encode(t).length:t.length},t]])}function _L({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)} 64`;if(typeof e=="string")n=`${r}${e}`;else{const i=new TextEncoder().encode(r);n=new Uint8Array(i.length+e.length),n.set(i),n.set(e,i.length)}return n}async function SL({client:e,scope:t,replayId:n,event:r}){const s=typeof e._integrations=="object"&&e._integrations!==null&&!Array.isArray(e._integrations)?Object.keys(e._integrations):void 0,i={event_id:n,integrations:s};e.emit("preprocessEvent",r,i);const o=await FE(e.getOptions(),r,i,t,e,fn());if(!o)return null;o.platform=o.platform||"javascript";const a=e.getSdkMetadata(),{name:l,version:u}=a&&a.sdk||{};return o.sdk={...o.sdk,name:l||"sentry.javascript.unknown",version:u||"0.0.0"},o}async function EL({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:s,session:i}){const o=_L({recordingData:e,headers:{segment_id:n}}),{urls:a,errorIds:l,traceIds:u,initialTimestamp:d}=r,c=fe(),f=be(),p=c&&c.getTransport(),y=c&&c.getDsn();if(!c||!p||!y||!i.sampled)return hr({});const v={type:JA,replay_start_timestamp:d/1e3,timestamp:s/1e3,error_ids:l,trace_ids:u,urls:a,replay_id:t,segment_id:n,replay_type:i.sampled},S=await SL({scope:f,client:c,replayId:t,event:v});if(!S)return c.recordDroppedEvent("event_processor","replay",v),re&&se.info("An event processor returned `null`, will not send event."),hr({});delete S.sdkProcessingMetadata;const m=vL(S,o,y,c.getOptions().tunnel);let h;try{h=await p.send(m)}catch(_){const w=new Error(km);try{w.cause=_}catch{}throw w}if(typeof h.statusCode=="number"&&(h.statusCode<200||h.statusCode>=300))throw new pT(h.statusCode);const g=YE({},h);if(qE(g,"replay"))throw new Fm(g);return h}class pT extends Error{constructor(t){super(`Transport returned status code ${t}`)}}class Fm extends Error{constructor(t){super("Rate limit hit"),this.rateLimits=t}}async function hT(e,t={count:0,interval:iM}){const{recordingData:n,onError:r}=e;if(n.length)try{return await EL(e),!0}catch(s){if(s instanceof pT||s instanceof Fm)throw s;if(BE("Replays",{_retryCount:t.count}),r&&r(s),t.count>=oM){const i=new Error(`${km} - max retries exceeded`);try{i.cause=s}catch{}throw i}return t.interval*=++t.count,new Promise((i,o)=>{Zi(async()=>{try{await hT(e,t),i(!0)}catch(a){o(a)}},t.interval)})}}const mT="__THROTTLED",wL="__SKIPPED";function TL(e,t,n){const r=new Map,s=a=>{const l=a-n;r.forEach((u,d)=>{d<l&&r.delete(d)})},i=()=>[...r.values()].reduce((a,l)=>a+l,0);let o=!1;return(...a)=>{const l=Math.floor(Date.now()/1e3);if(s(l),i()>=t){const d=o;return o=!0,d?wL:mT}o=!1;const u=r.get(l)||0;return r.set(l,u+1),e(...a)}}class Or{constructor({options:t,recordingOptions:n}){Or.prototype.__init.call(this),Or.prototype.__init2.call(this),Or.prototype.__init3.call(this),Or.prototype.__init4.call(this),Or.prototype.__init5.call(this),Or.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:eM,sessionIdleExpire:tM},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!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=pL(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=TL((o,a)=>vN(this,o,a),300,5);const{slowClickTimeout:r,slowClickIgnoreSelectors:s}=this.getOptions(),i=r?{threshold:Math.min(aM,r),timeout:r,scrollTimeout:lM,ignoreSelector:s?s.join(","):""}:void 0;if(i&&(this.clickDetector=new RP(this,i)),re){const o=t._experiments;se.setConfig({captureExceptions:!!o.captureExceptions,traceInternals:!!o.traceInternals})}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(t){re&&se.exception(t),this._options.onError&&this._options.onError(t)}initializeSampling(t){const{errorSampleRate:n,sessionSampleRate:r}=this._options,s=n<=0&&r<=0;if(this._requiresManualStart=s,!s){if(this._initializeSessionForSampling(t),!this.session){re&&se.exception(new Error("Unable to initialize and create session"));return}this.session.sampled!==!1&&(this.recordingMode=this.session.sampled==="buffer"&&this.session.segmentId===0?"buffer":"session",re&&se.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}
64start(){if(this._isEnabled&&this.recordingMode==="session"){re&&se.info("Recording is already in progress");return}if(this._isEnabled&&this.recordingMode==="buffer"){re&&se.info("Buffering is in progress, call `flush()` to save the replay");return}re&&se.infoTick("Starting replay in session mode"),this._updateUserActivity();const t=ef({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=t,this._initializeRecording()}startBuffering(){if(this._isEnabled){re&&se.info("Buffering is in progress, call `flush()` to save the replay");return}re&&se.infoTick("Starting replay in buffer mode");const t=ef({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=t,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const t=this._canvas;this._stopRecording=or({...this._recordingOptions,...this.recordingMode==="buffer"?{checkoutEveryNms:sM}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:mL(this),...hL(),onMutation:this._onMutationHandler,...t?{recordCanvas:t.recordCanvas,getCanvasManager:t.getCanvasManager,sampling:t.sampling,dataURLOptions:t.dataURLOptions}:{}})}catch(t){this.handleException(t)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(t){return this.handleException(t),!1}}async stop({forceFlush:t=!1,reason:n}={}){if(this._isEnabled){this._isEnabled=!1;try{re&&se.info(`Stopping Replay${n?` triggered by ${n}`:""}`),iT(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),t&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,pN(this)}catch(r){this.handleException(r)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),re&&se.info("Pausing replay"))}resume(){!this._isPaused||!this._checkSession()||(this._isPaused=!1,this.startRecording(),re&&se.info("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:t=!0}={}){if(this.recordingMode==="session")return this.flushImmediate();const n=Date.now();re&&se.info("Converting buffer to session"),await this.flushImmediate();const r=this.stopRecording();!t||!r||this.recordingMode!=="session"&&(this.recordingMode="session",this.session&&(this._updateUserActivity(n),this._updateSessionActivity(n),this._maybeSaveSession()),this.startRecording())}addUpdate(t){const n=t();this.recordingMode!=="buffer"&&n!==!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&&jp(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&this.session.sampled==="session"){this.pause();return}return!!this._checkSession()}setInitialState(){const t=`${Oe.location.pathname}${Oe.location.hash}${Oe.location.search}`,n=`${Oe.location.origin}${t}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=n,this._context.initialTimestamp=Date.now(),this._context.urls.push(n)}throttledAddEvent(t,n){const r=this._throttledAddEvent(t,n);if(r===mT){const s=Bn({category:"replay.throttled"});this.addUpdate(()=>!Dm(this,{type:TP,timestamp:s.timestamp||0,data:{tag:"breadcrumb",payload:s,metric:!0}}))}return r}getCurrentRoute(){const t=this.lastActiveSpan||rt(),n=t&&at(t),s=(n&&Se(n).data||{})[Vt];if(!(!n||!s||!["route","custom"].includes(s)))return Se(n).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=cN({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_initializeSessionForSampling(t){const n=this._options.errorSampleRate>0,r=ef({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:t},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:n});this.session=r}_checkSession(){if(!this.session)return!1;const t=this.session;return tT(t,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})?(this._refreshSession(t),!1):!0}async _refreshSession(t){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(t.id))}_addListeners(){try{Oe.document.addEventListener("visibilitychange",this._handleVisibilityChange),Oe.addEventListener("blur",this._handleWindowBlur),Oe.addEventListener("focus",this._handleWindowFocus),Oe.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(cL(this),this._hasInitializedCoreListeners=!0)}catch(t){this.handleException(t)}this._performanceCleanupCallback=rN(this)}_removeListeners(){try{Oe.document.removeEventListener("visibilitychange",this._handleVisibilityChange),Oe.removeEventListener("blur",this._handleWindowBlur),Oe.removeEventListener("focus",this._handleWindowFocus),Oe.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(t){this.handleException(t)}}__init(){this._handleVisibilityChange=()=>{Oe.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroun
64dTasks()}}__init2(){this._handleWindowBlur=()=>{const t=Bn({category:"ui.blur"});this._doChangeToBackgroundTasks(t)}}__init3(){this._handleWindowFocus=()=>{const t=Bn({category:"ui.focus"});this._doChangeToForegroundTasks(t)}}__init4(){this._handleKeyboardEvent=t=>{VP(this,t)}}_doChangeToBackgroundTasks(t){!this.session||eT(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(t&&this._createCustomBreadcrumb(t),this.conditionalFlush())}_doChangeToForegroundTasks(t){if(!this.session)return;if(!this.checkAndHandleExpiredSession()){re&&se.info("Document has become active, but session has expired");return}t&&this._createCustomBreadcrumb(t)}_updateUserActivity(t=Date.now()){this._lastActivity=t}_updateSessionActivity(t=Date.now()){this.session&&(this.session.lastActivity=t,this._maybeSaveSession())}_createCustomBreadcrumb(t){this.addUpdate(()=>{this.throttledAddEvent({type:ce.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}})})}_addPerformanceEntries(){let t=qP(this.performanceEntries).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){const n=this._context.initialTimestamp/1e3;t=t.filter(r=>r.start>=n)}return Promise.all(Gc(this,t))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:t,eventBuffer:n}=this;if(!t||!n||this._requiresManualStart||t.segmentId)return;const r=n.getEarliestTimestamp();r&&r<this._context.initialTimestamp&&(this._context.initialTimestamp=r)}_popEventContext(){const t={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(),t}async _runFlush(){const t=this.getSessionId();if(!this.session||!this.eventBuffer||!t){re&&se.error("No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),!(!this.eventBuffer||!this.eventBuffer.hasEvents)&&(await dL(this),!!this.eventBuffer&&t===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();const n=Date.now();if(n-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");const r=this._popEventContext(),s=this.session.segmentId++;this._maybeSaveSession();const i=await this.eventBuffer.finish();await hT({replayId:t,recordingData:i,segmentId:s,eventContext:r,session:this.session,timestamp:n,onError:o=>this.handleException(o)})}catch(n){this.handleException(n),this.stop({reason:"sendReplay"});const r=fe();if(r){const s=n instanceof Fm?"ratelimit_backoff":"send_error";r.recordDroppedEvent(s,"replay")}}}__init5(){this._flush=async({force:t=!1}={})=>{if(!this._isEnabled&&!t)return;if(!this.checkAndHandleExpiredSession()){re&&se.error("Attempting to finish replay event after session expired.");return}if(!this.session)return;const n=this.session.started,s=Date.now()-n;this._debouncedFlush.cancel();const i=s<this._options.minReplayDuration,o=s>this._options.maxReplayDuration+5e3;if(i||o){re&&se.info(`Session duration (${Math.floor(s/1e3)}s) is too ${i?"short":"long"}, not sending replay.`),i&&this._debouncedFlush();return}const a=this.eventBuffer;a&&this.session.segmentId===0&&!a.hasCheckout&&re&&se.info("Flushing initial segment without checkout.");const l=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(u){this.handleException(u)}finally{this._flushLock=void 0,l&&this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&Lm(this.session)}__init6(){this._onMutationHandler=t=>{const n=t.length,r=this._options.mutationLimit,s=this._options.mutationBreadcrumbLimit,i=r&&n>r;if(n>s||i){const o=Bn({category:"replay.mutations",data:{count:n,limit:i}});this._createCustomBreadcrumb(o)}return i?(this.stop({reason:"mutationLimit",forceFlush:this.recordingMode==="session"}),!1):!0}}}function No(e,t){return[...e,...t].join(",")}function xL({mask:e,unmask:t,block:n,unblock:r,ignore:s}
64){const i=["base","iframe[srcdoc]:not([src])"],o=No(e,[".sentry-mask","[data-sentry-mask]"]),a=No(t,[]);return{maskTextSelector:o,unmaskTextSelector:a,blockSelector:No(n,[".sentry-block","[data-sentry-block]",...i]),unblockSelector:No(r,[]),ignoreSelector:No(s,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}function kL({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:s,value:i}){return!r||s.unmaskTextSelector&&e.matches(s.unmaskTextSelector)?i:n.includes(t)||t==="value"&&e.tagName==="INPUT"&&["submit","button"].includes(e.getAttribute("type")||"")?i.replace(/[\S]/g,"*"):i}const Mv='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',bL=["content-length","content-type","accept"];let Pv=!1;const ZB=e=>new Yc(e);class Yc{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:t=nM,flushMaxDelay:n=rM,minReplayDuration:r=uM,maxReplayDuration:s=dv,stickySession:i=!0,useCompression:o=!0,workerUrl:a,_experiments:l={},maskAllText:u=!0,maskAllInputs:d=!0,blockAllMedia:c=!0,mutationBreadcrumbLimit:f=750,mutationLimit:p=1e4,slowClickTimeout:y=7e3,slowClickIgnoreSelectors:v=[],networkDetailAllowUrls:S=[],networkDetailDenyUrls:m=[],networkCaptureBodies:h=!0,networkRequestHeaders:g=[],networkResponseHeaders:_=[],mask:w=[],maskAttributes:x=["title","placeholder"],unmask:b=[],block:T=[],unblock:R=[],ignore:k=[],maskFn:P,beforeAddRecordingEvent:A,beforeErrorSampling:N,onError:z}={}){this.name=Yc.id;const G=xL({mask:w,unmask:b,block:T,unblock:R,ignore:k});if(this._recordingOptions={maskAllInputs:d,maskAllText:u,maskInputOptions:{password:!0},maskTextFn:P,maskInputFn:P,maskAttributeFn:(q,V,C)=>kL({maskAttributes:x,maskAllText:u,privacyOptions:G,key:q,value:V,el:C}),...G,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:q=>{try{q.__rrweb__=!0}catch{}}},this._initialOptions={flushMinDelay:t,flushMaxDelay:n,minReplayDuration:Math.min(r,cM),maxReplayDuration:Math.min(s,dv),stickySession:i,useCompression:o,workerUrl:a,blockAllMedia:c,maskAllInputs:d,maskAllText:u,mutationBreadcrumbLimit:f,mutationLimit:p,slowClickTimeout:y,slowClickIgnoreSelectors:v,networkDetailAllowUrls:S,networkDetailDenyUrls:m,networkCaptureBodies:h,networkRequestHeaders:Nv(g),networkResponseHeaders:Nv(_),beforeAddRecordingEvent:A,beforeErrorSampling:N,onError:z,_experiments:l},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${Mv}`:Mv),this._isInitialized&&ev())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return Pv}set _isInitialized(t){Pv=t}afterAllSetup(t){!ev()||this._replay||(this._setup(t),this._initialize(t))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:this._replay.recordingMode==="session"}):Promise.resolve()}flush(t){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(t):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(){if(!(!this._replay||!this._replay.isEnabled()))return this._replay.getSessionId()}getRecordingMode(){if(!(!this._replay||!this._replay.isEnabled()))return this._replay.recordingMode}_initialize(t){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(t),this._replay.initializeSampling())}_setup(t){const n=CL(this._initialOptions,t);this._replay=new Or({options:n,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(t){try{const n=t.getIntegrationByName("ReplayCanvas");if(!n)return;this._replay._canvas=n.getOptions()}catch{}}}Yc.__initStatic();function CL(e,t){const n=t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...nt(e)},s=zu(n.replaysSessionSampleRate),i=zu(n.replaysOnErrorSampleRate);return s==null&&i==null&&cs(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),s!=null&&(r.sessionSampleRate=s),i!=null&&(r.errorSampleRate=i),r}function Nv(e){return[...bL,...e.map(t=>t.toLowerCase())]}const Lv=new WeakMap,tf=new Map,nu={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function IL(e,t){const{traceFetch:n,traceXHR:r,trackFetchStreamPerformance:s,shouldCreateSpanForRequest:i,enableHTTPTimings:o,tracePropagationTargets:a}={traceFetch:nu.traceFetch,traceXHR:nu.traceXHR,trackFetchStreamPerformance:nu.trackFetchStreamPerformance,...t},l=typeof i=="function"?i:c=>!0,u=c=>AL(c,a),d={};n&&(e.addEventProcessor(c=>(c.type==="transaction"&&c.spans&&c.spans.forEach(f=>{if(f.op==="http.client"){const p=tf.get(f.span_id);p&&(f.timestamp=p/1e3,tf.delete(f.span_id))}}),c)),s&&_O(c=>{if(c.response){const f=Lv.get(c.response);f&&c.endTimestamp&&tf.set(f,c.endTimestamp)}}),nw(c=>{const f=fO(c,l,u,d);if(c.response&&c.fetchData.__span&&Lv.set(c.response,c.fetchData.__span),f){const p=gT(c.fetchData.url),y=p?Ns(p).host:void 0;f.setAttributes({"http.url":p,"server.address":y})}o&&f&&Dv(f)})),r&&ww(c=>{const f=ML(c,l,u,d);o&&f&&Dv(f)})}function OL(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.
64initiatorType==="xmlhttprequest")}function Dv(e){const{url:t}=Se(e).data||{};if(!t||typeof t!="string")return;const n=Ki("resource",({entries:r})=>{r.forEach(s=>{OL(s)&&s.name.endsWith(t)&&(RL(s).forEach(o=>e.setAttribute(...o)),setTimeout(n))})})}function Ln(e=0){return((bt||performance.timeOrigin)+e)/1e3}function RL(e){const{name:t,version:n}=_w(e.nextHopProtocol),r=[];return r.push(["network.protocol.version",n],["network.protocol.name",t]),bt?[...r,["http.request.redirect_start",Ln(e.redirectStart)],["http.request.fetch_start",Ln(e.fetchStart)],["http.request.domain_lookup_start",Ln(e.domainLookupStart)],["http.request.domain_lookup_end",Ln(e.domainLookupEnd)],["http.request.connect_start",Ln(e.connectStart)],["http.request.secure_connection_start",Ln(e.secureConnectionStart)],["http.request.connection_end",Ln(e.connectEnd)],["http.request.request_start",Ln(e.requestStart)],["http.request.response_start",Ln(e.responseStart)],["http.request.response_end",Ln(e.responseEnd)]]:r}function AL(e,t){const n=te.location&&te.location.href;if(n){let r,s;try{r=new URL(e,n),s=new URL(n).origin}catch{return!1}const i=r.origin===s;return t?qr(r.toString(),t)||i&&qr(r.pathname,t):i}else{const r=!!e.match(/^\/(?!\/)/);return t?qr(e,t):r}}function ML(e,t,n,r){const s=e.xhr,i=s&&s[ks];if(!s||s.__sentry_own_request__||!i)return;const o=ns()&&t(i.url);if(e.endTimestamp&&o){const c=s.__sentry_xhr_span_id__;if(!c)return;const f=r[c];f&&i.status_code!==void 0&&(gE(f,i.status_code),f.end(),delete r[c]);return}const a=gT(i.url),l=a?Ns(a).host:void 0,u=!!rt(),d=o&&u?Wa({name:`${i.method} ${i.url}`,attributes:{type:"xhr","http.method":i.method,"http.url":a,url:i.url,"server.address":l,[Ze]:"auto.http.browser",[mr]:"http.client"}}):new po;return s.__sentry_xhr_span_id__=d.spanContext().spanId,r[s.__sentry_xhr_span_id__]=d,n(i.url)&&PL(s,ns()&&u?d:void 0),d}function PL(e,t){const{"sentry-trace":n,baggage:r}=KE({span:t});n&&NL(e,n,r)}function NL(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader("baggage",n)}catch{}}function gT(e){try{return new URL(e,te.location.origin).href}catch{return}}function LL(){te&&te.document?te.document.addEventListener("visibilitychange",()=>{const e=rt();if(!e)return;const t=at(e);if(te.document.hidden&&t){const n="cancelled",{op:r,status:s}=Se(t);Gt&&B.log(`[Tracing] Transaction: ${n} -> since tab moved to the background, op: ${r}`),s||t.setStatus({code:st,message:n}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):Gt&&B.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const DL="BrowserTracing",$L={...Zl,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,_experiments:{},...nu},FL=(e={})=>{fC();const{enableInp:t,enableLongTask:n,enableLongAnimationFrame:r,_experiments:{enableInteractions:s,enableStandaloneClsSpans:i},beforeStartSpan:o,idleTimeout:a,finalTimeout:l,childSpanTimeout:u,markBackgroundSpan:d,traceFetch:c,traceXHR:f,trackFetchStreamPerformance:p,shouldCreateSpanForRequest:y,enableHTTPTimings:v,instrumentPageLoad:S,instrumentNavigation:m}={...$L,...e},h=IR({recordClsStandaloneSpans:i||!1});t&&JR(),r&&ge.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?RR():n&&OR(),s&&AR();const g={name:void 0,source:void 0};function _(w,x){const b=x.op==="pageload",T=o?o(x):x,R=T.attributes||{};x.name!==T.name&&(R[Vt]="custom",T.attributes=R),g.name=T.name,g.source=R[Vt];const k=$E(T,{idleTimeout:a,finalTimeout:l,childSpanTimeout:u,disableAutoFinish:b,beforeSpanEnd:A=>{h(),DR(A,{recordClsOnPageloadSpan:!i})}});function P(){["interactive","complete"].includes(te.document.readyState)&&w.emit("idleSpanEnableAutoFinish",k)}return b&&te.document&&(te.document.addEventListener("readystatechange",()=>{P()}),P()),k}return{name:DL,afterAllSetup(w){let x,b=te.location&&te.location.href;function T(){x&&!Se(x).timestamp&&(Gt&&B.log(`[Tracing] Finishing current active span with op: ${Se(x).op}`),x.end())}w.on("startNavigationSpan",R=>
64{fe()===w&&(T(),x=_(w,{op:"navigation",...R}))}),w.on("startPageLoadSpan",(R,k={})=>{if(fe()!==w)return;T();const P=k.sentryTrace||$v("sentry-trace"),A=k.baggage||$v("baggage"),N=iC(P,A);be().setPropagationContext(N),x=_(w,{op:"pageload",...R})}),w.on("spanEnd",R=>{const k=Se(R).op;if(R!==at(R)||k!=="navigation"&&k!=="pageload")return;const P=be(),A=P.getPropagationContext();P.setPropagationContext({...A,sampled:A.sampled!==void 0?A.sampled:Ys(R),dsc:A.dsc||Xs(R)})}),te.location&&(S&&yT(w,{name:te.location.pathname,startTime:bt?bt/1e3:void 0,attributes:{[Vt]:"url",[Ze]:"auto.pageload.browser"}}),m&&Uc(({to:R,from:k})=>{if(k===void 0&&b&&b.indexOf(R)!==-1){b=void 0;return}k!==R&&(b=void 0,vT(w,{name:te.location.pathname,attributes:{[Vt]:"url",[Ze]:"auto.navigation.browser"}}))})),d&&LL(),s&&zL(a,l,u,g),t&&tA(),IL(w,{traceFetch:c,traceXHR:f,trackFetchStreamPerformance:p,tracePropagationTargets:w.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:y,enableHTTPTimings:v})}}};function yT(e,t,n){e.emit("startPageLoadSpan",t,n),be().setTransactionName(t.name);const r=rt();return(r&&Se(r).op)==="pageload"?r:void 0}function vT(e,t){fn().setPropagationContext({traceId:Jr()}),be().setPropagationContext({traceId:Jr()}),e.emit("startNavigationSpan",t),be().setTransactionName(t.name);const n=rt();return(n&&Se(n).op)==="navigation"?n:void 0}function $v(e){const t=Ab(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}function zL(e,t,n,r){let s;const i=()=>{const o="ui.action.click",a=rt(),l=a&&at(a);if(l){const u=Se(l).op;if(["navigation","pageload"].includes(u)){Gt&&B.warn(`[Tracing] Did not create ${o} span because a pageload or navigation span is in progress.`);return}}if(s&&(s.setAttribute(vp,"interactionInterrupted"),s.end(),s=void 0),!r.name){Gt&&B.warn(`[Tracing] Did not create ${o} transaction because _latestRouteName is missing.`);return}s=$E({name:r.name,op:o,attributes:{[Vt]:r.source||"url"}},{idleTimeout:e,finalTimeout:t,childSpanTimeout:n})};te.document&&addEventListener("click",i,{once:!1,capture:!0})}function QB(e){const t={...e};return XE(t,"react"),BE("react",{version:M.version}),QA(t)}function BL(e){const t=e.match(/^([^.]+)/);return t!==null&&parseInt(t[0])>=17}function UL(e,t){const n=new WeakSet;function r(s,i){if(!n.has(s)){if(s.cause)return n.add(s),r(s.cause,i);s.cause=i}}r(e,t)}function jL(e,{componentStack:t},n){if(BL(M.version)&&Mc(e)&&t){const r=new Error(e.message);r.name=`React ErrorBoundary ${e.name}`,r.stack=t,UL(e,r)}return ym(e,{...n,captureContext:{contexts:{react:{componentStack:t}}}})}var _T={exports:{}},ke={};/** @license React v16.13.1 65 * react-is.production.min.js 66 * 67 * Copyright (c) Facebook, Inc. and its affiliates. 68 * 69 * This source code is licensed under the MIT license found in the 70 * LICENSE file in the root directory of this source tree. 71 */var lt=typeof Symbol=="function"&&Symbol.for,zm=lt?Symbol.for("react.element"):60103,Bm=lt?Symbol.for("react.portal"):60106,Xc=lt?Symbol.for("react.fragment"):60107,Kc=lt?Symbol.for("react.strict_mode"):60108,Zc=lt?Symbol.for("react.profiler"):60114,Qc=lt?Symbol.for("react.provider"):60109,Jc=lt?Symbol.for("react.context"):60110,Um=lt?Symbol.for("react.async_mode"):60111,ed=lt?Symbol.for("react.concurrent_mode"):60111,td=lt?Symbol.for("react.forward_ref"):60112,nd=lt?Symbol.for("react.suspense"):60113,VL=lt?Symbol.for("react.suspense_list"):60120,rd=lt?Symbol.for("react.memo"):60115,sd=lt?Symbol.for("react.lazy"):60116,HL=lt?Symbol.for("react.block"):60121,WL=lt?Symbol.for("react.fundamental"):60117,GL=lt?Symbol.for("react.responder"):60118,qL=lt?Symbol.for("react.scope"):60119;function Zt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case zm:switch(e=e.type,e){case Um:case ed:case Xc:case Zc:case Kc:case nd:return e;default:switch(e=e&&e.$$typeof,e){case Jc:case td:case sd:case rd:case Qc:return e;default:return t}}case Bm:return t}}}function ST(e){return Zt(e)===ed}ke.AsyncMode=Um;ke.ConcurrentMode=ed;ke.ContextConsumer=Jc;ke.ContextProvider=Qc;ke.Element=zm;ke.ForwardRef=td;ke.Fragment=Xc;ke.Lazy=sd;ke.Memo=rd;ke.Portal=Bm;ke.Profiler=Zc;ke.StrictMode=Kc;ke.Suspense=nd;ke.isAsyncMode=function(e){return ST(e)||Zt(e)===Um};ke.isConcurrentMode=ST;ke.isContextConsumer=function(e){return Zt(e)===Jc};ke.isContextProvider=function(e){return Zt(e)===Qc};ke.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===zm};ke.isForwardRef=function(e){return Zt(e)===td};ke.isFragment=function(e){return Zt(e)===Xc};ke.isLazy=function(e){return Zt(e)===sd};ke.isMemo=function(e){return Zt(e)===rd};ke.isPortal=function(e){return Zt(e)===Bm};ke.isProfiler=function(e){return Zt(e)===Zc};ke.isStrictMode=function(e){return Zt(e)===Kc};ke.isSuspense=function(e){return Zt(e)===nd};ke.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Xc||e===ed||e===Zc||e===Kc||e===nd||e===VL||typeof e=="object"&&e!==null&&(e.$$typeof===sd||e.$$typeof===rd||e.$$typeof===Qc||e.$$typeof===Jc||e.$$typeof===td||e.$$typeof===WL||e.$$typeof===GL||e.$$typeof===qL||e.$$typeof===HL)};ke.typeOf=Zt;_T.exports=ke;var YL=_T.exports,jm=YL,XL={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},KL={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ZL={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ET={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Vm={};Vm[jm.ForwardRef]=ZL;Vm[jm.Memo]=ET;function Fv(e){return jm.isMemo(e)?ET:Vm[e.$$typeof]||XL}var QL=Object.defineProperty,JL=Object.getOwnPropertyNames,zv=Object.getOwnPropertySymbols,eD=Object.getOwnPropertyDescriptor,tD=Object.getPrototypeOf,Bv=Object.prototype;function wT(e,t,n){if(typeof t!="string"){if(Bv){var r=tD(t);r&&r!==Bv&&wT(e,r,n)}var s=JL(t);zv&&(s=s.concat(zv(t)));for(var i=Fv(e),o=Fv(t),a=0;a<s.length;++a){var l=s[a];if(!KL[l]&&!(n&&n[l])&&!(o&&o[l])&&!(i&&i[l])){var u=eD(t,l);try{QL(e,l,u)}catch{}}}}return e}var nD=wT;const rD=Hs(nD),TT=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Uv={componentStack:null,error:null,eventId:null};class xT extends M.Component{constructor(t){super(t),xT.prototype.__init.call(this),this.state=Uv,this._openFallbackReportDialog=!0;const n=fe();n&&t.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=n.on("afterSendEvent",r=>{!r.type&&this._lastEventId&&r.event_id===this._lastEventId&&uv({...t.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(t,n){const{componentStack:r}=n,s=r??void 0,{beforeCapture:i,onError:o,showDialog:a,dialogOptions:l}=this.props;Dc(u=>{i&&i(u,t,s);const d=this.props.handled!=null?this.props.handled:!!this.props.fallback,
71c=jL(t,n,{mechanism:{handled:d}});o&&o(t,s,c),a&&(this._lastEventId=c,this._openFallbackReportDialog&&uv({...l,eventId:c})),this.setState({error:t,componentStack:r,eventId:c})})}componentDidMount(){const{onMount:t}=this.props;t&&t()}componentWillUnmount(){const{error:t,componentStack:n,eventId:r}=this.state,{onUnmount:s}=this.props;s&&s(t,n,r),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}__init(){this.resetErrorBoundary=()=>{const{onReset:t}=this.props,{error:n,componentStack:r,eventId:s}=this.state;t&&t(n,r,s),this.setState(Uv)}}render(){const{fallback:t,children:n}=this.props,r=this.state;if(r.error){let s;return typeof t=="function"?s=M.createElement(t,{error:r.error,componentStack:r.componentStack,resetError:this.resetErrorBoundary,eventId:r.eventId}):s=t,M.isValidElement(s)?s:(t&&TT&&B.warn("fallback did not produce a valid ReactElement"),null)}return typeof n=="function"?n():n}}let ru,su,iu,ou,Us,bi=!1;const kT=new WeakSet,nf=new Set;function sD(e,t){const n=FL({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{useEffect:r,useLocation:s,useNavigationType:i,createRoutesFromChildren:o,matchRoutes:a,stripBasename:l,instrumentPageLoad:u=!0,instrumentNavigation:d=!0}=e;return{...n,setup(){ru=r,su=s,iu=i,Us=a,ou=o,bi=l||!1},afterAllSetup(c){n.afterAllSetup(c);const f=te&&te.location&&te.location.pathname;u&&f&&yT(c,{name:f,attributes:{[Vt]:"url",[mr]:"pageload",[Ze]:`auto.pageload.react.reactrouter_v${t}`}}),d&&kT.add(c)}}}function iD(e){const{location:t,routes:n,navigationType:r,version:s,matches:i,basename:o,allRoutes:a}=e,l=Array.isArray(i)?i:Us(n,t,o),u=fe();if(!(!u||!kT.has(u))&&(r==="PUSH"||r==="POP")&&l){let d,c="url";const f=CT(t,a||n);f&&(d=Ma(Hm(a||n,t)),c="route"),(!f||!d)&&([d,c]=OT(n,t,l,o)),vT(u,{name:d,attributes:{[Vt]:c,[mr]:"navigation",[Ze]:`auto.navigation.react.reactrouter_v${s}`}})}}function Qu(e,t){if(!t||t==="/"||!e.toLowerCase().startsWith(t.toLowerCase()))return e;const n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?e:e.slice(n)||"/"}function oD(e,t,n){const r=e||bi?Qu(t,n):t;return[r[r.length-1]==="/"||r.slice(-2)==="/*"?r.slice(0,-1):r,"route"]}function bT(e){return e.endsWith("*")}function jv(e,t){return bT(e)&&t.route.children&&t.route.children.length>0||!1}function aD(e){return!!(!e.children&&e.element&&e.path&&e.path.endsWith("/*"))}function CT(e,t){const n=Us(t,e);if(n){for(const r of n)if(aD(r.route)&&uD(r))return!0}return!1}function IT(e,t=new Set){return t.has(e)||(t.add(e),e.children&&!e.index&&e.children.forEach(n=>{IT(n,t).forEach(s=>t.add(s))})),t}function lD(e){return cD(e.route.path||"")}function uD(e){return e.params["*"]||""}function cD(e){return e[e.length-1]==="*"?e.slice(0,-1):e}function ia(e){return e[e.length-1]==="/"?e.slice(0,-1):e}function Ma(e){return e[0]==="/"?e:`/${e}`}function Hm(e,t){const n=Us(e,t);if(!n||n.length===0)return"";for(const r of n)if(r.route.path&&r.route.path!=="*"){const s=lD(r),i=Qu(t.pathname,Ma(r.pathnameBase));return ia(ia(s||"")+Ma(Hm(e.filter(o=>o!==r.route),{pathname:i})))}return""}function OT(e,t,n,r=""){if(!e||e.length===0)return[bi?Qu(t.pathname,r):t.pathname,"url"];let s="";if(n)for(const o of n){const a=o.route;if(a){if(a.index)return oD(s,o.pathname,r);const l=a.path;if(l&&!jv(l,o)){const u=l[0]==="/"||s[s.length-1]==="/"?l:`/${l}`;if(s=ia(s)+Ma(u),ia(t.pathname)===ia(r+o.pathname))return Zy(s)!==Zy(o.pathname)&&!bT(s)?[(bi?"":r)+u,"route"]:(jv(s,o)&&(s=s.slice(0,-1)),[(bi?"":r)+s,"route"])}}}return[bi?Qu(t.pathname,r):t.pathname||"/","url"]}function dD(e,t,n,r,s,i){const o=Array.isArray(r)?r:Us(i||n,t,s);if(o){let a,l="url";
vendor: 4,644 bytes, lines 71-82
71const u=CT(t,i||n);u&&(a=Ma(Hm(i||n,t)),l="route"),(!u||!a)&&([a,l]=OT(n,t,o,s)),be().setTransactionName(a||"/"),e&&(e.updateName(a),e.setAttribute(Vt,l))}}function fD(e,t){if(!ru||!su||!iu||!ou||!Us)return TT&&B.warn(`reactRouterV6Instrumentation was unable to wrap Routes because of one or more missing parameters. 72 useEffect: ${ru}. useLocation: ${su}. useNavigationType: ${iu}. 73 createRoutesFromChildren: ${ou}. matchRoutes: ${Us}.`),e;const n=r=>{const s=M.useRef(!0),i=su(),o=iu();return ru(()=>{const a=ou(r.children);s.current?(a.forEach(l=>{IT(l).forEach(d=>{nf.add(d)})}),dD(pD(),i,a,void 0,void 0,Array.from(nf)),s.current=!1):iD({location:i,routes:a,navigationType:o,version:t,allRoutes:Array.from(nf)})},[i,o]),M.createElement(e,{...r})};return rD(n,e),n}function pD(){const e=rt(),t=e?at(e):void 0;if(!t)return;const n=Se(t).op;return n==="navigation"||n==="pageload"?t:void 0}function JB(e){return sD(e,"6")}function e3(e){return fD(e,"6")}/** 74 * @remix-run/router v1.23.3 75 * 76 * Copyright (c) Remix Software Inc. 77 * 78 * This source code is licensed under the MIT license found in the 79 * LICENSE.md file in the root directory of this source tree. 80 * 81 * @license MIT 82 */function Pa(){return Pa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pa.apply(null,arguments)}var Dr;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Dr||(Dr={}));const Vv="popstate";function hD(e){e===void 0&&(e={});function t(r,s){let{pathname:i,search:o,hash:a}=r.location;return Wp("",{pathname:i,search:o,hash:a},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:Ju(s)}return gD(t,n,null,e)}function Be(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Wm(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function mD(){return Math.random().toString(36).substr(2,8)}function Hv(e,t){return{usr:e.state,key:e.key,idx:t}}function Wp(e,t,n,r){return n===void 0&&(n=null),Pa({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?_o(t):t,{state:n,key:t&&t.key||r||mD()})}function Ju(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function _o(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function gD(e,t,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:i=!1}=r,o=s.history,a=Dr.Pop,l=null,u=d();u==null&&(u=0,o.replaceState(Pa({},o.state,{idx:u}),""));function d(){return(o.state||{idx:null}).idx}function c(){a=Dr.Pop;let S=d(),m=S==null?null:S-u;u=S,l&&l({action:a,location:v.location,delta:m})}function f(S,m){a=Dr.Push;let h=Wp(v.location,S,m);u=d()+1;let g=Hv(h,u),_=v.createHref(h);try{o.pushState(g,"",_)}catch(w){if(w instanceof DOMException&&w.name==="DataCloneError")throw w;s.location.assign(_)}i&&l&&l({action:a,location:v.location,delta:1})}function p(S,m){a=Dr.Replace;let h=Wp(v.location,S,m);u=d();let g=Hv(h,u),_=v.createHref(h);o.replaceState(g,"",_),i&&l&&l({action:a,location:v.location,delta:0})}function y(S){let m=s.location.origin!=="null"?s.location.origin:s.location.href,h=typeof S=="string"?S:Ju(S);return h=h.replace(/ $/,"%20"),Be(m,"No window.location.(origin|href) available to create URL for href: "+h),new URL(h,m)}let v={get action(){return a},get location(){return e(s,o)},listen(S){if(l)throw new Error("A history only accepts one active listener");return s.addEventListener(Vv,c),l=S,()=>{s.removeEventListener(Vv,c),l=null}},createHref(S){return t(s,S)},createURL:y,encodeLocation(S){let m=y(S);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:f,replace:p,go(S){return o.go(S)}};return v}var Wv;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Wv||(Wv={}));function yD(e,t,n){return n===void 0&&(n="/"),vD(e,t,n)}function vD(e,t,n,r){let s=typeof t=="string"?_o(t):t,i=to(s.pathname||"/",n);if(i==null)return null;let o=RT(e);_D(o);let a=null,l=RD(i);for(let u=0;a==null&&u<o.length;++u)a=ID(o[u],l);return a}function RT(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let s=(i,o,a)=>{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};l.relativePath.startsWith("/")&&(Be(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not val
82id. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=Xr([r,l.relativePath]),d=n.concat(l);i.children&&i.children.length>0&&(Be(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),RT(i.children,t,d,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:bD(u,i.index),routesMeta:d})};return e.forEach((i,o)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))s(i,o);else for(let l of AT(i.path))s(i,o,l)}),t}function AT(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,s=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return s?[i,""]:[i];let o=AT(r.join("/")),a=[];return a.push(...o.map(l=>l===""?i:[i,l].join("/"))),s&&a.push(...o),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function _D(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:CD(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const SD=/^:[\w-]+$/,ED=3,wD=2,TD=1,xD=10,kD=-2,Gv=e=>e==="*";function bD(e,t){let n=e.split("/"),r=n.length;return n.some(Gv)&&(r+=kD),t&&(r+=wD),n.filter(s=>!Gv(s)).reduce((s,i)=>s+(SD.test(i)?ED:i===""?TD:xD),r)}function CD(e,t){return e.length===t.length&&e.slice(0,-1).every((r,s)=>r===t[s])?e[e.length-1]-t[t.length-1]:0}function ID(e,t,n){let{routesMeta:r}=e,s={},i="/",o=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,d=i==="/"?t:t.slice(i.length)||"/",c=Gp({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},d),f=l.route;if(!c)return null;
vendor: 7,332 bytes, lines 82-91
82Object.assign(s,c.params),o.push({params:s,pathname:Xr([i,c.pathname]),pathnameBase:LD(Xr([i,c.pathnameBase])),route:f}),c.pathnameBase!=="/"&&(i=Xr([i,c.pathnameBase]))}return o}function Gp(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=OD(e.path,e.caseSensitive,e.end),s=t.match(n);if(!s)return null;let i=s[0],o=i.replace(/(.)\/+$/,"$1"),a=s.slice(1);return{params:r.reduce((u,d,c)=>{let{paramName:f,isOptional:p}=d;if(f==="*"){let v=a[c]||"";o=i.slice(0,i.length-v.length).replace(/(.)\/+$/,"$1")}const y=a[c];return p&&!y?u[f]=void 0:u[f]=(y||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:o,pattern:e}}function OD(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Wm(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=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function RD(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Wm(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function to(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)||"/"}const AD=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,MD=e=>AD.test(e);function PD(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?_o(e):e,i;if(n)if(MD(n))i=n;else{if(n.includes("//")){let o=n;n=MT(n),Wm(!1,"Pathnames cannot have embedded double slashes - normalizing "+(o+" -> "+n))}n.startsWith("/")?i=qv(n.substring(1),"/"):i=qv(n,t)}else i=t;return{pathname:i,search:DD(r),hash:$D(s)}}function qv(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function rf(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 ND(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Gm(e,t){let n=ND(e);return t?n.map((r,s)=>s===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function qm(e,t,n,r){r===void 0&&(r=!1);let s;typeof e=="string"?s=_o(e):(s=Pa({},e),Be(!s.pathname||!s.pathname.includes("?"),rf("?","pathname","search",s)),Be(!s.pathname||!s.pathname.includes("#"),rf("#","pathname","hash",s)),Be(!s.search||!s.search.includes("#"),rf("#","search","hash",s)));let i=e===""||s.pathname==="",o=i?"/":s.pathname,a;if(o==null)a=n;else{let c=t.length-1;if(!r&&o.startsWith("..")){let f=o.split("/");for(;f[0]==="..";)f.shift(),c-=1;s.pathname=f.join("/")}a=c>=0?t[c]:"/"}let l=PD(s,a),u=o&&o!=="/"&&o.endsWith("/"),d=(i||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||d)&&(l.pathname+="/"),l}const MT=e=>e.replace(/\/\/+/g,"/"),Xr=e=>MT(e.join("/")),LD=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),DD=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,$D=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function FD(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const PT=["post","put","patch","delete"];new Set(PT);const zD=["get",...PT];new Set(zD);/** 83 * React Router v6.30.4 84 * 85 * Copyright (c) Remix Software Inc. 86 * 87 * This source code is licensed under the MIT license found in the 88 * LICENSE.md file in the root directory of this source tree. 89 * 90 * @license MIT 91 */function Na(){return Na=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Na.apply(null,arguments)}const id=M.createContext(null),NT=M.createContext(null),Sr=M.createContext(null),Qa=M.createContext(null),qn=M.createContext({outlet:null,matches:[],isDataRoute:!1}),LT=M.createContext(null);function BD(e,t){let{relative:n}=t===void 0?{}:t;So()||Be(!1);let{basename:r,navigator:s}=M.useContext(Sr),{hash:i,pathname:o,search:a}=od(e,{relative:n}),l=o;return r!=="/"&&(l=o==="/"?r:Xr([r,o])),s.createHref({pathname:l,search:a,hash:i})}function So(){return M.useContext(Qa)!=null}function Eo(){return So()||Be(!1),M.useContext(Qa).location}function t3(){return M.useContext(Qa).navigationType}function DT(e){M.useContext(Sr).static||M.useLayoutEffect(e)}function $T(){let{isDataRoute:e}=M.useContext(qn);return e?t$():UD()}function UD(){So()||Be(!1);let e=M.useContext(id),{basename:t,future:n,navigator:r}=M.useContext(Sr),{matches:s}=M.useContext(qn),{pathname:i}=Eo(),o=JSON.stringify(Gm(s,n.v7_relativeSplatPath)),a=M.useRef(!1);return DT(()=>{a.current=!0}),M.useCallback(function(u,d){if(d===void 0&&(d={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let c=qm(u,JSON.parse(o),i,d.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:Xr([t,c.pathname])),(d.replace?r.replace:r.push)(c,d.state,d)},[t,r,o,i,e])}const jD=M.createContext(null);function VD(e){let t=M.useContext(qn).outlet;return t&&M.createElement(jD.Provider,{value:e},t)}function n3(){let{matches:e}=M.useContext(qn),t=e[e.length-1];return t?t.params:{}}function od(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=M.useContext(Sr),{matches:s}=M.useContext(qn),{pathname:i}=Eo(),o=JSON.stringify(Gm(s,r.v7_relativeSplatPath));return M.useMemo(()=>qm(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function HD(e,t){return WD(e,t)}function WD(e,t,n,r){So()||Be(!1);let{navigator:s}=M.useContext(Sr),{matches:i}=M.useContext(qn),o=i[i.length-1],a=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let u=Eo(),d;if(t){var c;let S=typeof t=="string"?_o(t):t;l==="/"||(c=S.pathname)!=null&&c.startsWith(l)||Be(!1),d=S}else d=u;let f=d.pathname||"/",p=f;if(l!=="/"){let S=l.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(S.length).join("/")}let y=yD(e,{pathname:p}),v=KD(y&&y.map(S=>Object.assign({},S,{params:Object.assign({},a,S.params),pathname:Xr([l,s.encodeLocation?s.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?l:Xr([l,s.encodeLocation?s.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),i,n,r);return t&&v?M.createElement(Qa.Provider,{value:{location:Na({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Dr.Pop}},v):v}function GD(){let e=e$(),t=FD(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return M.createElement(M.Fragment,null,M.createElement("h2",null,"Unexpected Application
91Error!"),M.createElement("h3",{style:{fontStyle:"italic"}},t),n?M.createElement("pre",{style:s},n):null,null)}const qD=M.createElement(GD,null);class YD extends M.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?M.createElement(qn.Provider,{value:this.props.routeContext},M.createElement(LT.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function XD(e){let{routeContext:t,match:n,children:r}=e,s=M.useContext(id);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),M.createElement(qn.Provider,{value:t},r)}function KD(e,t,n,r){var s;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=(s=n)==null?void 0:s.errors;if(a!=null){let d=o.findIndex(c=>c.route.id&&(a==null?void 0:a[c.route.id])!==void 0);d>=0||Be(!1),o=o.slice(0,Math.min(o.length,d+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<o.length;d++){let c=o[d];if((c.route.HydrateFallback||c.route.hydrateFallbackElement)&&(u=d),c.route.id){let{loaderData:f,errors:p}=n,y=c.route.loader&&f[c.route.id]===void 0&&(!p||p[c.route.id]===void 0);if(c.route.lazy||y){l=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((d,c,f)=>{let p,y=!1,v=null,S=null;n&&(p=a&&c.route.id?a[c.route.id]:void 0,v=c.route.errorElement||qD,l&&(u<0&&f===0?(n$("route-fallback"),y=!0,S=null):u===f&&(y=!0,S=c.route.hydrateFallbackElement||null)));let m=t.concat(o.slice(0,f+1)),h=()=>{let g;return p?g=v:y?g=S:c.route.Component?g=M.createElement(c.route.Component,null):c.route.element?g=c.route.element:g=d,M.createElement(XD,{match:c,routeContext:{outlet:d,matches:m,isDataRoute:n!=null},children:g})};return n&&(c.route.ErrorBoundary||c.route.errorElement||f===0)?M.createElement(YD,{location:n.location,revalidation:n.revalidation,component:v,error:p,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):h()},null)}var FT=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(FT||{}),zT=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(zT||{});function ZD(e){let t=M.useContext(id);return t||Be(!1),t}function QD(e){let t=M.useContext(NT);return t||Be(!1),t}function JD(e){let t=M.useContext(qn);return t||Be(!1),t}function BT(e){let t=JD(),n=t.matches[t.matches.length-1];return n.route.id||Be(!1),n.route.id}function e$(){var e;let t=M.useContext(LT),n=QD(),r=BT();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function t$(){let{router:e}=ZD(FT.UseNavigateStable),t=BT(zT.UseNavigateStable),n=M.useRef(!1);return DT(()=>{n.current=!0}),M.useCallback(function(s,i){i===void 0&&(i={}),n.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,Na({fromRouteId:t},i)))},[e,t])}const Yv={};function n$(e,t,n){Yv[e]||(Yv[e]=!0)}function r$(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function r3(e){let{to:t,replace:n,state:r,relative:s}=e;So()||Be(!1);let{future:i,static:o}=M.useContext(Sr),{matches:a}=M.useContext(qn),{pathname:l}=Eo(),u=$T(),d=qm(t,Gm(a,i.v7_relativeSplatPath),l,s==="path"),c=JSON.stringify(d);return M.useEffect(()=>u(JSON.parse(c),{replace:n,state:r,relative:s}),[u,c,s,n,r]),null}function s3(e){return VD(e.context)}function s$(e){Be(!1)}function i$(e){let{basename:t="/",children:n=null,location:r,navigationType:s=Dr.Pop,navigator:i,static:o=!1,future:a}=e;So()&&Be(!1);let l=t.replace(/^\/*/,"/"),u=M.useMemo(()=>({basename:l,navigator:i,static:o,future:Na({v7_relativeSplatPath:!1},a)}),[l,a,i,o]);typeof r=="string"&&(r=_o(r));let{pathname:d="/",search:c="",hash:f="",state:p=null,key:y="default"}=r,v=M.useMemo(()=>{let S=to(d,l);return S==null?null:{location:{pathname:S,search:c,hash:f,state:p,key:y},navigationType:s}},[l,d,c,f,p,y,s]);return v==null?null:M.createElement(Sr.Provider,{value:u},M.createElement(Qa.Provider,{children:n,value:v}))}function i3(e){let{children:t,location:n}=e;return HD(qp(t),n)}new Promise(()=>{});function qp(e,t){t===void 0&&(t=[]);let n=[];
91return M.Children.forEach(e,(r,s)=>{if(!M.isValidElement(r))return;let i=[...t,s];if(r.type===M.Fragment){n.push.apply(n,qp(r.props.children,i));return}r.type!==s$&&Be(!1),!r.props.index||!r.props.children||Be(!1);let o={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=qp(r.props.children,i)),n.push(o)}),n}/** 92 * React Router DOM v6.30.4 93 * 94 * Copyright (c) Remix Software Inc. 95 * 96 * This source code is licensed under the MIT license found in the 97 * LICENSE.md file in the root directory of this source tree. 98 * 99 * @license MIT 100 */function ec(){return ec=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ec.apply(null,arguments)}function UT(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function o$(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function a$(e,t){return e.button===0&&(!t||t==="_self")&&!o$(e)}const l$=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],u$=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],c$="6";try{window.__reactRouterVersion=c$}catch{}const d$=M.createContext({isTransitioning:!1}),f$="startTransition",Xv=ok[f$];function o3(e){let{basename:t,children:n,future:r,window:s}=e,i=M.useRef();i.current==null&&(i.current=hD({window:s,v5Compat:!0}));let o=i.current,[a,l]=M.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},d=M.useCallback(c=>{u&&Xv?Xv(()=>l(c)):l(c)},[l,u]);return M.useLayoutEffect(()=>o.listen(d),[o,d]),M.useEffect(()=>r$(r),[r]),M.createElement(i$,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}const p$=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",h$=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,m$=M.forwardRef(function(t,n){let{onClick:r,relative:s,reloadDocument:i,replace:o,state:a,target:l,to:u,preventScrollReset:d,viewTransition:c}=t,f=UT(t,l$),{basename:p}=M.useContext(Sr),y,v=!1;if(typeof u=="string"&&h$.test(u)&&(y=u,p$))try{let g=new URL(window.location.href),_=u.startsWith("//")?new URL(g.protocol+u):new URL(u),w=to(_.pathname,p);_.origin===g.origin&&w!=null?u=w+_.search+_.hash:v=!0}catch{}let S=BD(u,{relative:s}),m=y$(u,{replace:o,state:a,target:l,preventScrollReset:d,relative:s,viewTransition:c});function h(g){r&&r(g),g.defaultPrevented||m(g)}return M.createElement("a",ec({},f,{href:y||S,onClick:v||i?r:h,ref:n,target:l}))}),a3=M.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:s=!1,className:i="",end:o=!1,style:a,to:l,viewTransition:u,children:d}=t,c=UT(t,u$),f=od(l,{relative:c.relative}),p=Eo(),y=M.useContext(NT),{navigator:v,basename:S}=M.useContext(Sr),m=y!=null&&v$(f)&&u===!0,h=v.encodeLocation?v.encodeLocation(f).pathname:f.pathname,g=p.pathname,_=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;s||(g=g.toLowerCase(),_=_?_.toLowerCase():null,h=h.toLowerCase()),_&&S&&(_=to(_,S)||_);const w=h!=="/"&&h.endsWith("/")?h.length-1:h.length;let x=g===h||!o&&g.startsWith(h)&&g.charAt(w)==="/",b=_!=null&&(_===h||!o&&_.startsWith(h)&&_.charAt(h.length)==="/"),T={isActive:x,isPending:b,isTransitioning:m},R=x?r:void 0,k;typeof i=="function"?k=i(T):k=[i,x?"active":null,b?"pending":null,m?"transitioning":null].filter(Boolean).join(" ");let P=typeof a=="function"?a(T):a;return M.createElement(m$,ec({},c,{"aria-current":R,className:k,ref:n,style:P,to:l,viewTransition:u}),typeof d=="function"?d(T):d)});var Yp;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Yp||(Yp={}));var Kv;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Kv||(Kv={}));function g$(e){let t=M.useContext(id);return t||Be(!1),t}function y$(e,t){let{target:n,replace:r,state:s,preventScrollReset:i,relative:o,viewTransition:a}=t===void 0?{}:t,l=$T(),u=Eo(),d=od(e,{relative:o});return M.useCallback(c=>{if(a$(c,n)){c.preventDefault();let f=r!==void 0?r:Ju(u)===Ju(d);l(e,{replace:f,state:s,preventScrollReset:i,relative:o,viewTransition:a})}},[u,l,d,r,s,n,e,i,o,a])}function v$(e,t){t===void 0&&(t={});let n=M.useContext(d$);n==null&&Be(!1);let{basename:r}=g$(Yp.useViewTransitionState),s=od(e,{relative:t.relative});if(!n.isTransitioning)return!1;let i=to(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=to(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Gp(s.pathname,o)!=null||Gp(s.pathname,i)!=null}let _$={data:""},S$=e=>{if(typeof window=="object"){let t=(e?e.querySelector("#_goober"):window._goober)||Object.assign(document.createElement("style"),{innerHTML:" ",id:"_goober"});return t.nonce=window.__nonce__,t.parentNode||(e||document.head).appendChild(t),t.firstChild}return e||_$},E$=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,w$=/\/\*[^]*?\*\/| +/g,Zv=/\n+/g,Pr=(e,t)=>{let n="",r="",s="";for(let i in e){let o=e[i];i[0]=="@"?i[1]=="i"?n=i+" "+o+";":r+=i[1]=="f"?Pr(o,i):i+"{"+Pr(o,i[1]=="k"?"":t)+"}":typeof o=="object"?r+=Pr(o,t?t.replace(/([^,])+/g,a=>i.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,l=>/&/.test(l)?l.replace(/&/g,a):a?a+" "+l:l)):i):o!=null&&(i=i[1]=="-"?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),s+=Pr.p?Pr.p(i,o):i+":"+o+";")}return n+(t&&s?t+"{"+s+"}":s)+r},wr={},jT=e=>{if(typeof e=="object"){let t="";for(let n in e)t+=n+jT(e[n]);return t}return e}
vendor: 5,158 bytes, line 100
100,T$=(e,t,n,r,s)=>{let i=jT(e),o=wr[i]||(wr[i]=(l=>{let u=0,d=11;for(;u<l.length;)d=101*d+l.charCodeAt(u++)>>>0;return"go"+d})(i));if(!wr[o]){let l=i!==e?e:(u=>{let d,c,f=[{}];for(;d=E$.exec(u.replace(w$,""));)d[4]?f.shift():d[3]?(c=d[3].replace(Zv," ").trim(),f.unshift(f[0][c]=f[0][c]||{})):f[0][d[1]]=d[2].replace(Zv," ").trim();return f[0]})(e);wr[o]=Pr(s?{["@keyframes "+o]:l}:l,n?"":"."+o)}let a=n&&wr.g;return n&&(wr.g=wr[o]),((l,u,d,c)=>{c?u.data=u.data.replace(c,l):u.data.indexOf(l)===-1&&(u.data=d?l+u.data:u.data+l)})(wr[o],t,r,a),o},x$=(e,t,n)=>e.reduce((r,s,i)=>{let o=t[i];if(o&&o.call){let a=o(n),l=a&&a.props&&a.props.className||/^go/.test(a)&&a;o=l?"."+l:a&&typeof a=="object"?a.props?"":Pr(a,""):a===!1?"":a}return r+s+(o??"")},"");function ad(e){let t=this||{},n=e.call?e(t.p):e;return T$(n.unshift?n.raw?x$(n,[].slice.call(arguments,1),t.p):n.reduce((r,s)=>Object.assign(r,s&&s.call?s(t.p):s),{}):n,S$(t.target),t.g,t.o,t.k)}let VT,Xp,Kp;ad.bind({g:1});let yr=ad.bind({k:1});function k$(e,t,n,r){Pr.p=t,VT=e,Xp=n,Kp=r}function ps(e,t){let n=this||{};return function(){let r=arguments;function s(i,o){let a=Object.assign({},i),l=a.className||s.className;n.p=Object.assign({theme:Xp&&Xp()},a),n.o=/go\d/.test(l),a.className=ad.apply(n,r)+(l?" "+l:"");let u=e;return e[0]&&(u=a.as||e,delete a.as),Kp&&u[0]&&Kp(a),VT(u,a)}return s}}var b$=e=>typeof e=="function",tc=(e,t)=>b$(e)?e(t):e,C$=(()=>{let e=0;return()=>(++e).toString()})(),HT=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),I$=20,Ym="default",WT=(e,t)=>{let{toastLimit:n}=e.settings;switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,n)};case 1:return{...e,toasts:e.toasts.map(o=>o.id===t.toast.id?{...o,...t.toast}:o)};case 2:let{toast:r}=t;return WT(e,{type:e.toasts.find(o=>o.id===r.id)?1:0,toast:r});case 3:let{toastId:s}=t;return{...e,toasts:e.toasts.map(o=>o.id===s||s===void 0?{...o,dismissed:!0,visible:!1}:o)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let i=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(o=>({...o,pauseDuration:o.pauseDuration+i}))}}},au=[],GT={toasts:[],pausedAt:void 0,settings:{toastLimit:I$}},Un={},qT=(e,t=Ym)=>{Un[t]=WT(Un[t]||GT,e),au.forEach(([n,r])=>{n===t&&r(Un[t])})},YT=e=>Object.keys(Un).forEach(t=>qT(e,t)),O$=e=>Object.keys(Un).find(t=>Un[t].toasts.some(n=>n.id===e)),ld=(e=Ym)=>t=>{qT(t,e)},R$={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},A$=(e={},t=Ym)=>{let[n,r]=M.useState(Un[t]||GT),s=M.useRef(Un[t]);M.useEffect(()=>(s.current!==Un[t]&&r(Un[t]),au.push([t,r]),()=>{let o=au.findIndex(([a])=>a===t);o>-1&&au.splice(o,1)}),[t]);let i=n.toasts.map(o=>{var a,l,u;return{...e,...e[o.type],...o,removeDelay:o.removeDelay||((a=e[o.type])==null?void 0:a.removeDelay)||(e==null?void 0:e.removeDelay),duration:o.duration||((l=e[o.type])==null?void 0:l.duration)||(e==null?void 0:e.duration)||R$[o.type],style:{...e.style,...(u=e[o.type])==null?void 0:u.style,...o.style}}});return{...n,toasts:i}},M$=(e,t="blank",n)=>({createdAt:Date.now(),visible:!0,dismissed:!1,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...n,id:(n==null?void 0:n.id)||C$()}),Ja=e=>(t,n)=>{let r=M$(t,e,n);return ld(r.toasterId||O$(r.id))({type:2,toast:r}),r.id},et=(e,t)=>Ja("blank")(e,t);et.error=Ja("error");et.success=Ja("success");et.loading=Ja("loading");et.custom=Ja("custom");et.dismiss=(e,t)=>{let n={type:3,toastId:e};t?ld(t)(n):YT(n)};et.dismissAll=e=>et.dismiss(void 0,e);et.remove=(e,t)=>{let n={type:4,toastId:e};t?ld(t)(n):YT(n)};et.removeAll=e=>et.remove(void 0,e);et.promise=(e,t,n)=>{let r=et.loading(t.loading,{...n,...n==null?void 0:n.loading});return typeof e=="function"&&(e=e()),e.then(s=>{let i=t.success?tc(t.success,s):void 0;return i?et.success(i,{id:r,...n,...n==null?void 0:n.success}):et.dismiss(r),s}).catch(s=>{let i=t.error?tc(t.error,s):void 0;i?et.error(i,{id:r,...n,...n==null?void 0:n.error}):et.dismiss(r)}),e};var P$=1e3,N$=(e,t="default")=>{let{toasts:n,pausedAt:r}=A$(e,t),s=M.useRef(new Map).current,i=M.useCallback((c,f=P$)=>{if(s.has(c))return;let p=setTimeout(()=>{s.delete(c),o({type:4,toastId:c})},f);s.set(c,p)},[]);M.useEffect(()=>{if(r)return;let c=Date.now(),f=n.map(p=>{if(p.duration===1/0)return;let y=(p.duration||0)+p.pauseDuration-(c-p.createdAt);if(y<0){p.visible&&et.dismiss(p.id);return}return setTimeout(()=>et.dismiss(p.id,t),y)});return()=>{f.forEach(p=>p&&clearTimeout(p))}},[n,r,t]);let o=M.useCallback(ld(t),[t]),a=M.useCallback(()=>{o({type:5,time:Date.now()})},[o]),l=M.useCallback((c,f)=>{o({type:1,toast:{id:c,height:f}})},[o]),u=M.useCallback(()=>{r&&o({type:6,time:Date.now()})},[r,o]),d=M.useCallback((c,f)=>{let{reverseOrder:p=!1,gutter:y=8,defaultPosition:v}=f||{},S=n.filter(g=>(g.position||v)===(c.position||v)&&g.height),m=S.findIndex(g=>g.id===c.id),h=S.filter((g,_)=>_<m&&g.visible).length;return S.filter(g=>g.visible).slice(...p?[h+1]:[0,h]).reduce((g,_)=>g+(_.height||0)+y,0)},[n]);return M.useEffect(()=>
vendor: 4,281 bytes, lines 100-271
100{n.forEach(c=>{if(c.dismissed)i(c.id,c.removeDelay);else{let f=s.get(c.id);f&&(clearTimeout(f),s.delete(c.id))}})},[n,i]),{toasts:n,handlers:{updateHeight:l,startPause:a,endPause:u,calculateOffset:d}}},L$=yr` 101from { 102 transform: scale(0) rotate(45deg); 103 opacity: 0; 104} 105to { 106 transform: scale(1) rotate(45deg); 107 opacity: 1; 108}`,D$=yr` 109from { 110 transform: scale(0); 111 opacity: 0; 112} 113to { 114 transform: scale(1); 115 opacity: 1; 116}`,$$=yr` 117from { 118 transform: scale(0) rotate(90deg); 119 opacity: 0; 120} 121to { 122 transform: scale(1) rotate(90deg); 123 opacity: 1; 124}`,F$=ps("div")` 125 width: 20px; 126 opacity: 0; 127 height: 20px; 128 border-radius: 10px; 129 background: ${e=>e.primary||"#ff4b4b"}; 130 position: relative; 131 transform: rotate(45deg); 132 133 animation: ${L$} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 134 forwards; 135 animation-delay: 100ms; 136 137 &:after, 138 &:before { 139 content: ''; 140 animation: ${D$} 0.15s ease-out forwards; 141 animation-delay: 150ms; 142 position: absolute; 143 border-radius: 3px; 144 opacity: 0; 145 background: ${e=>e.secondary||"#fff"}; 146 bottom: 9px; 147 left: 4px; 148 height: 2px; 149 width: 12px; 150 } 151 152 &:before { 153 animation: ${$$} 0.15s ease-out forwards; 154 animation-delay: 180ms; 155 transform: rotate(90deg); 156 } 157`,z$=yr` 158 from { 159 transform: rotate(0deg); 160 } 161 to { 162 transform: rotate(360deg); 163 } 164`,B$=ps("div")` 165 width: 12px; 166 height: 12px; 167 box-sizing: border-box; 168 border: 2px solid; 169 border-radius: 100%; 170 border-color: ${e=>e.secondary||"#e0e0e0"}; 171 border-right-color: ${e=>e.primary||"#616161"}; 172 animation: ${z$} 1s linear infinite; 173`,U$=yr` 174from { 175 transform: scale(0) rotate(45deg); 176 opacity: 0; 177} 178to { 179 transform: scale(1) rotate(45deg); 180 opacity: 1; 181}`,j$=yr` 1820% { 183 height: 0; 184 width: 0; 185 opacity: 0; 186} 18740% { 188 height: 0; 189 width: 6px; 190 opacity: 1; 191} 192100% { 193 opacity: 1; 194 height: 10px; 195}`,V$=ps("div")` 196 width: 20px; 197 opacity: 0; 198 height: 20px; 199 border-radius: 10px; 200 background: ${e=>e.primary||"#61d345"}; 201 position: relative; 202 transform: rotate(45deg); 203 204 animation: ${U$} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 205 forwards; 206 animation-delay: 100ms; 207 &:after { 208 content: ''; 209 box-sizing: border-box; 210 animation: ${j$} 0.2s ease-out forwards; 211 opacity: 0; 212 animation-delay: 200ms; 213 position: absolute; 214 border-right: 2px solid; 215 border-bottom: 2px solid; 216 border-color: ${e=>e.secondary||"#fff"}; 217 bottom: 6px; 218 left: 6px; 219 height: 10px; 220 width: 6px; 221 } 222`,H$=ps("div")` 223 position: absolute; 224`,W$=ps("div")` 225 position: relative; 226 display: flex; 227 justify-content: center; 228 align-items: center; 229 min-width: 20px; 230 min-height: 20px; 231`,G$=yr` 232from { 233 transform: scale(0.6); 234 opacity: 0.4; 235} 236to { 237 transform: scale(1); 238 opacity: 1; 239}`,q$=ps("div")` 240 position: relative; 241 transform: scale(0.6); 242 opacity: 0.4; 243 min-width: 20px; 244 animation: ${G$} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275) 245 forwards; 246`,Y$=({toast:e})=>{let{icon:t,type:n,iconTheme:r}=e;return t!==void 0?typeof t=="string"?M.createElement(q$,null,t):t:n==="blank"?null:M.createElement(W$,null,M.createElement(B$,{...r}),n!=="loading"&&M.createElement(H$,null,n==="error"?M.createElement(F$,{...r}):M.createElement(V$,{...r})))},X$=e=>` 2470% {transform: translate3d(0,${e*-200}%,0) scale(.6); opacity:.5;} 248100% {transform: translate3d(0,0,0) scale(1); opacity:1;} 249`,K$=e=>` 2500% {transform: translate3d(0,0,-1px) scale(1); opacity:1;} 251100% {transform: translate3d(0,${e*-150}%,-1px) scale(.6); opacity:0;} 252`,Z$="0%{opacity:0;} 100%{opacity:1;}",Q$="0%{opacity:1;} 100%{opacity:0;}",J$=ps("div")` 253 display: flex; 254 align-items: center; 255 background: #fff; 256 color: #363636; 257 line-height: 1.3; 258 will-change: transform; 259 box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05); 260 max-width: 350px; 261 pointer-events: auto; 262 padding: 8px 10px; 263 border-radius: 8px; 264`,eF=ps("div")` 265 display: flex; 266 justify-content: center; 267 margin: 4px 10px; 268 color: inherit; 269 flex: 1 1 auto; 270 white-space: pre-line; 271`,tF=(e,t)=>{let n=e.includes("top")?1:-1,[r,s]=HT()?[Z$,Q$]:[X$(n),K$(n)];return{animation:t?`${yr(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${yr(s)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},nF=M.memo(({toast:e,position:t,style:n,children:r})=>
271{let s=e.height?tF(e.position||t||"top-center",e.visible):{opacity:0},i=M.createElement(Y$,{toast:e}),o=M.createElement(eF,{...e.ariaProps},tc(e.message,e));return M.createElement(J$,{className:e.className,style:{...s,...n,...e.style}},typeof r=="function"?r({icon:i,message:o}):M.createElement(M.Fragment,null,i,o))});k$(M.createElement);var rF=({id:e,className:t,style:n,onHeightUpdate:r,children:s})=>{let i=M.useCallback(o=>{if(o){let a=()=>{let l=o.getBoundingClientRect().height;r(e,l)};a(),new MutationObserver(a).observe(o,{subtree:!0,childList:!0,characterData:!0})}},[e,r]);return M.createElement("div",{ref:i,className:t,style:n},s)},sF=(e,t)=>{let n=e.includes("top"),r=n?{top:0}:{bottom:0},s=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:HT()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(n?1:-1)}px)`,...r,...s}},iF=ad` 272 z-index: 9999; 273 > * { 274 pointer-events: auto; 275 } 276`,Pl=16,l3=({reverseOrder:e,position:t="top-center",toastOptions:n,gutter:r,children:s,toasterId:i,containerStyle:o,containerClassName:a})=>{let{toasts:l,handlers:u}=N$(n,i);return M.createElement("div",{"data-rht-toaster":i||"",style:{position:"fixed",zIndex:9999,top:Pl,left:Pl,right:Pl,bottom:Pl,pointerEvents:"none",...o},className:a,onMouseEnter:u.startPause,onMouseLeave:u.endPause},l.map(d=>{let c=d.position||t,f=u.calculateOffset(d,{reverseOrder:e,gutter:r,defaultPosition:t}),p=sF(c,f);return M.createElement(rF,{id:d.id,key:d.id,onHeightUpdate:u.updateHeight,className:d.visible?iF:"",style:p},d.type==="custom"?tc(d.message,d):s?s(d):M.createElement(nF,{toast:d,position:c}))}))},u3=et,oF=typeof Element<"u",aF=typeof Map=="function",lF=typeof Set=="function",uF=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function lu(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,s;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!lu(e[r],t[r]))return!1;return!0}var i;if(aF&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!lu(r.value[1],t.get(r.value[0])))return!1;return!0}if(lF&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(uF&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,s[r]))return!1;if(oF&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((s[r]==="_owner"||s[r]==="__v"||s[r]==="__o")&&e.$$typeof)&&!lu(e[s[r]],t[s[r]]))return!1;return!0}return e!==e&&t!==t}var cF=function(t,n){try{return lu(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const dF=Hs(cF);var fF=function(e,t,n,r,s,i,o,a){if(!e){var l;if(t===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,s,i,o,a],d=0;l=new Error(t.replace(/%s/g,function(){return u[d++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},pF=fF;const Qv=Hs(pF);var hF=function(t,n,r,s){var i=r?r.call(s,t,n):void 0;if(i!==void 0)return!!i;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var o=Object.keys(t),a=Object.keys(n);if(o.length!==a.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),u=0;u<o.length;u++){var d=o[u];if(!l(d))return!1;var c=t[d],f=n[d];if(i=r?r.call(s,c,f,d):void 0,i===!1||i===void 0&&c!==f)return!1}return!0};const mF=Hs(hF);var XT=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(XT||{}),sf={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]}
276,meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},Jv=Object.values(XT),ud={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},KT=Object.entries(ud).reduce((e,[t,n])=>(e[n]=t,e),{}),In="data-rh",Li={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},Di=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},gF=e=>{let t=Di(e,"title");const n=Di(e,Li.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=Di(e,Li.DEFAULT_TITLE);return t||r||void 0},yF=e=>Di(e,Li.ON_CHANGE_CLIENT_STATE)||(()=>{}),of=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),vF=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const s=Object.keys(r);for(let i=0;i<s.length;i+=1){const a=s[i].toLowerCase();if(e.indexOf(a)!==-1&&r[a])return n.concat(r)}}return n},[]),_F=e=>console&&typeof console.warn=="function"&&console.warn(e),Lo=(e,t,n)=>{const r={};return n.filter(s=>Array.isArray(s[e])?!0:(typeof s[e]<"u"&&_F(`Helmet: ${e} should be of type "Array". Instead found type "${typeof s[e]}"`),!1)).map(s=>s[e]).reverse().reduce((s,i)=>{const o={};i.filter(l=>{let u;const d=Object.keys(l);for(let f=0;f<d.length;f+=1){const p=d[f],y=p.toLowerCase();t.indexOf(y)!==-1&&!(u==="rel"&&l[u].toLowerCase()==="canonical")&&!(y==="rel"&&l[y].toLowerCase()==="stylesheet")&&(u=y),t.indexOf(p)!==-1&&(p==="innerHTML"||p==="cssText"||p==="itemprop")&&(u=p)}if(!u||!l[u])return!1;const c=l[u].toLowerCase();return r[u]||(r[u]={}),o[u]||(o[u]={}),r[u][c]?!1:(o[u][c]=!0,!0)}).reverse().forEach(l=>s.push(l));const a=Object.keys(o);for(let l=0;l<a.length;l+=1){const u=a[l],d={...r[u],...o[u]};r[u]=d}return s},[]).reverse()},SF=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},EF=e=>({baseTag:vF(["href"],e),bodyAttributes:of("bodyAttributes",e),defer:Di(e,Li.DEFER),encode:Di(e,Li.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:of("htmlAttributes",e),linkTags:Lo("link",["rel","href"],e),metaTags:Lo("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:Lo("noscript",["innerHTML"],e),onChangeClientState:yF(e),scriptTags:Lo("script",["src","innerHTML"],e),styleTags:Lo("style",["cssText"],e),title:gF(e),titleAttributes:of("titleAttributes",e),prioritizeSeoTags:SF(e,Li.PRIORITIZE_SEO_TAGS)}),ZT=e=>Array.isArray(e)?e.join(""):e,wF=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},af=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(wF(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},e_=(e,t)=>({...e,[t]:void 0}),TF=["noscript","script","style"],Zp=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),QT=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),xF=(e,t,n,r)=>{const s=QT(n),i=ZT(t);return s?`<${e} ${In}="true" ${s}>${Zp(i,r)}</${e}>`:`<${e} ${In}="true">${Zp(i,r)}</${e}>`},kF=(e,t,n=!0)=>t.reduce((r,s)=>{const i=s,o=Object.keys(i).filter(u=>!(u==="innerHTML"||u==="cssText")).reduce((u,d)=>{const c=typeof i[d]>"u"?d:`${d}="${Zp(i[d],n)}"`;return u?`${u} ${c}`:c},""),a=i.innerHTML||i.cssText||"",l=TF.indexOf(e)===-1;return`${r}<${e} ${In}="true" ${o}${l?"/>":`>${a}</${e}>`}`},""),JT=(e,t={})=>Object.keys(e).reduce((n,r)=>{const s=ud[r];return n[s||r]=e[r],n},t),bF=(e,t,n)=>{const r={key:t,[In]:!0},s=JT(n,r);return[J.createElement("title",s,t)]},uu=(e,t)=>
276t.map((n,r)=>{const s={key:r,[In]:!0};return Object.keys(n).forEach(i=>{const a=ud[i]||i;if(a==="innerHTML"||a==="cssText"){const l=n.innerHTML||n.cssText;s.dangerouslySetInnerHTML={__html:l}}else s[a]=n[i]}),J.createElement(e,s)}),en=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>bF(e,t.title,t.titleAttributes),toString:()=>xF(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>JT(t),toString:()=>QT(t)};default:return{toComponent:()=>uu(e,t),toString:()=>kF(e,t,n)}}},CF=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const s=af(e,sf.meta),i=af(t,sf.link),o=af(n,sf.script);return{priorityMethods:{toComponent:()=>[...uu("meta",s.priority),...uu("link",i.priority),...uu("script",o.priority)],toString:()=>`${en("meta",s.priority,r)} ${en("link",i.priority,r)} ${en("script",o.priority,r)}`},metaTags:s.default,linkTags:i.default,scriptTags:o.default}},IF=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:s,noscriptTags:i,styleTags:o,title:a="",titleAttributes:l,prioritizeSeoTags:u}=e;let{linkTags:d,metaTags:c,scriptTags:f}=e,p={toComponent:()=>[],toString:()=>""};return u&&({priorityMethods:p,linkTags:d,metaTags:c,scriptTags:f}=CF(e)),{priority:p,base:en("base",t,r),bodyAttributes:en("bodyAttributes",n,r),htmlAttributes:en("htmlAttributes",s,r),link:en("link",d,r),meta:en("meta",c,r),noscript:en("noscript",i,r),script:en("script",f,r),style:en("style",o,r),title:en("title",{title:a,titleAttributes:l},r)}},Qp=IF,Nl=[],Xm=!!(typeof window<"u"&&window.document&&window.document.createElement),Jp=class{constructor(e,t){Yn(this,"instances",[]);Yn(this,"canUseDOM",Xm);Yn(this,"context");Yn(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?Nl:this.instances,add:e=>{(this.canUseDOM?Nl:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?Nl:this.instances).indexOf(e);(this.canUseDOM?Nl:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=Qp({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},OF=parseInt(J.version.split(".")[0],10),eh=OF>=19,RF={},ex=J.createContext(RF),Is,AF=(Is=class extends M.Component{constructor(n){super(n);Yn(this,"helmetData");eh?this.helmetData=null:this.helmetData=new Jp(this.props.context||{},Is.canUseDOM)}render(){return eh?J.createElement(J.Fragment,null,this.props.children):J.createElement(ex.Provider,{value:this.helmetData.value},this.props.children)}},Yn(Is,"canUseDOM",Xm),Is),ni=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${In}]`),s=[].slice.call(r),i=[];let o;return t&&t.length&&t.forEach(a=>{const l=document.createElement(e);for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u))if(u==="innerHTML")l.innerHTML=a.innerHTML;else if(u==="cssText"){const d=a.cssText;l.appendChild(document.createTextNode(d))}else{const d=u,c=typeof a[d]>"u"?"":a[d];l.setAttribute(u,c)}l.setAttribute(In,"true"),s.some((u,d)=>(o=d,l.isEqualNode(u)))?s.splice(o,1):i.push(l)}),s.forEach(a=>{var l;return(l=a.parentNode)==null?void 0:l.removeChild(a)}
276),i.forEach(a=>n.appendChild(a)),{oldTags:s,newTags:i}},th=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(In),s=r?r.split(","):[],i=[...s],o=Object.keys(t);for(const a of o){const l=t[a]||"";n.getAttribute(a)!==l&&n.setAttribute(a,l),s.indexOf(a)===-1&&s.push(a);const u=i.indexOf(a);u!==-1&&i.splice(u,1)}for(let a=i.length-1;a>=0;a-=1)n.removeAttribute(i[a]);s.length===i.length?n.removeAttribute(In):n.getAttribute(In)!==o.join(",")&&n.setAttribute(In,o.join(","))},MF=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=ZT(e)),th("title",t)},t_=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:s,linkTags:i,metaTags:o,noscriptTags:a,onChangeClientState:l,scriptTags:u,styleTags:d,title:c,titleAttributes:f}=e;th("body",r),th("html",s),MF(c,f);const p={baseTag:ni("base",n),linkTags:ni("link",i),metaTags:ni("meta",o),noscriptTags:ni("noscript",a),scriptTags:ni("script",u),styleTags:ni("style",d)},y={},v={};Object.keys(p).forEach(S=>{const{newTags:m,oldTags:h}=p[S];m.length&&(y[S]=m),h.length&&(v[S]=p[S].oldTags)}),t&&t(),l(e,y,v)},Do=null,PF=e=>{Do&&cancelAnimationFrame(Do),e.defer?Do=requestAnimationFrame(()=>{t_(e,()=>{Do=null})}):(t_(e),Do=null)},NF=PF,n_=class extends M.Component{constructor(){super(...arguments);Yn(this,"rendered",!1)}shouldComponentUpdate(t){return!mF(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const s=EF(t.get().map(i=>{const{context:o,...a}=i.props;return a}));AF.canUseDOM?NF(s):Qp&&(r=Qp(s)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},cu=[],r_=e=>{const t={};for(const n of Object.keys(e))t[KT[n]||n]=e[n];return t},_s=e=>{const t={};for(const n of Object.keys(e)){const r=ud[n];t[r||n]=e[n]}return t},s_=(e,t)=>{if(!Xm)return;const n=document.getElementsByTagName(e)[0];if(!n)return;const r="data-rh-managed",s=n.getAttribute(r),i=s?s.split(","):[],o=Object.keys(t);for(const a of i)o.includes(a)||n.removeAttribute(a);for(const a of o){const l=t[a];l==null||l===!1?n.removeAttribute(a):l===!0?n.setAttribute(a,""):n.setAttribute(a,String(l))}o.length>0?n.setAttribute(r,o.join(",")):n.removeAttribute(r)},lf=()=>{const e={},t={};for(const n of cu){const{htmlAttributes:r,bodyAttributes:s}=n.props;r&&Object.assign(e,r_(r)),s&&Object.assign(t,r_(s))}s_("html",e),s_("body",t)},LF=class extends M.Component{componentDidMount(){cu.push(this),lf()}componentDidUpdate(){lf()}componentWillUnmount(){const e=cu.indexOf(this);e!==-1&&cu.splice(e,1),lf()}resolveTitle(){const{title:e,titleTemplate:t,defaultTitle:n}=this.props;return e&&t?t.replace(/%s/g,()=>Array.isArray(e)?e.join(""):e):e||n||void 0}renderTitle(){const e=this.resolveTitle();if(e===void 0)return null;const t=this.props.titleAttributes||{};return J.createElement("title",_s(t),e)}renderBase(){const{base:e}=this.props;return e?J.createElement("base",_s(e)):null}renderMeta(){const{meta:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>J.createElement("meta",{key:n,..._s(t)}))}renderLink(){const{link:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>J.createElement("link",{key:n,..._s(t)}))}renderScript(){const{script:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...s}=t,i=_s(s);return r&&(i.dangerouslySetInnerHTML={__html:r}),J.createElement("script",{key:n,...i})})}renderStyle(){const{style:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{cssText:r,...s}=t,i=_s(s);return r&&(i.dangerouslySetInnerHTML={__html:r}),J.createElement("style",{key:n,...i})})}renderNoscript(){const{noscript:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...s}=t,i=_s(s);return r&&(i.dangerouslySetInnerHTML={__html:r}),J.createElement("noscript",{key:n,...i})})}render(){return J.createElement(J.Fragment,null,this.renderTitle(),this.renderBase(),this.renderMeta(),this.renderLink(),this.renderScript(),this.renderStyle(),this.renderNoscript())}},Sf,c3=(Sf=class extends M.Component{shouldComponentUpdate(e){return!dF(e_(this.props,"helmetData"),e_(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}
276warnOnInvalidChildren(e,t){return Qv(Jv.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${Jv.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),Qv(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return J.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:s,...i}=r.props,o=Object.keys(i).reduce((l,u)=>(l[KT[u]||u]=i[u],l),{});let{type:a}=r;switch(typeof a=="symbol"?a=a.toString():this.warnOnInvalidChildren(r,s),a){case"Symbol(react.fragment)":t=this.mapChildrenToProps(s,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,o,s);break;default:t=this.mapObjectTypeChildren(r,t,o,s);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof Jp)){const s=r;r=new Jp(s.context,!0),delete n.helmetData}return eh?J.createElement(LF,{...n}):r?J.createElement(n_,{...n,context:r.value}):J.createElement(ex.Consumer,null,s=>J.createElement(n_,{...n,context:s}))}},Yn(Sf,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),Sf);const DF={},i_=e=>{let t;const n=new Set,r=(d,c)=>{const f=typeof d=="function"?d(t):d;if(!Object.is(f,t)){const p=t;t=c??(typeof f!="object"||f===null)?f:Object.assign({},t,f),n.forEach(y=>y(t,p))}},s=()=>t,l={setState:r,getState:s,getInitialState:()=>u,subscribe:d=>(n.add(d),()=>n.delete(d)),destroy:()=>{(DF?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},u=t=e(r,s,l);return l},$F=e=>e?i_(e):i_;var tx={exports:{}},nx={},rx={exports:{}},sx={};/** 277 * @license React 278 * use-sync-external-store-shim.production.js 279 * 280 * Copyright (c) Meta Platforms, Inc. and affiliates. 281 * 282 * This source code is licensed under the MIT license found in the 283 * LICENSE file in the root directory of this source tree. 284 */var no=M;function FF(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var zF=typeof Object.is=="function"?Object.is:FF,BF=no.useState,UF=no.useEffect,jF=no.useLayoutEffect,VF=no.useDebugValue;function HF(e,t){var n=t(),r=BF({inst:{value:n,getSnapshot:t}}),s=r[0].inst,i=r[1];return jF(function(){s.value=n,s.getSnapshot=t,uf(s)&&i({inst:s})},[e,n,t]),UF(function(){return uf(s)&&i({inst:s}),e(function(){uf(s)&&i({inst:s})})},[e]),VF(n),n}function uf(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!zF(e,n)}catch{return!0}}function WF(e,t){return t()}var GF=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?WF:HF;sx.useSyncExternalStore=no.useSyncExternalStore!==void 0?no.useSyncExternalStore:GF;rx.exports=sx;var qF=rx.exports;/** 285 * @license React 286 * use-sync-external-store-shim/with-selector.production.js 287 * 288 * Copyright (c) Meta Platforms, Inc. and affiliates. 289 * 290 * This source code is licensed under the MIT license found in the 291 * LICENSE file in the root directory of this source tree. 292 */var cd=M,YF=qF;function XF(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var KF=typeof Object.is=="function"?Object.is:XF,ZF=YF.useSyncExternalStore,QF=cd.useRef,JF=cd.useEffect,e2=cd.useMemo,t2=cd.useDebugValue;nx.useSyncExternalStoreWithSelector=function(e,t,n,r,s){var i=QF(null);if(i.current===null){var o={hasValue:!1,value:null};i.current=o}else o=i.current;i=e2(function(){function l(p){if(!u){if(u=!0,d=p,p=r(p),s!==void 0&&o.hasValue){var y=o.value;if(s(y,p))return c=y}return c=p}if(y=c,KF(d,p))return y;var v=r(p);return s!==void 0&&s(y,v)?(d=p,y):(d=p,c=v)}var u=!1,d,c,f=n===void 0?null:n;return[function(){return l(t())},f===null?void 0:function(){return l(f())}]},[t,n,r,s]);var a=ZF(e,i[0],i[1]);return JF(function(){o.hasValue=!0,o.value=a},[a]),t2(a),a};tx.exports=nx;var n2=tx.exports;const r2=Hs(n2),ix={},{useDebugValue:s2}=J,{useSyncExternalStoreWithSelector:i2}=r2;let o_=!1;const o2=e=>e;function a2(e,t=o2,n){(ix?"production":void 0)!=="production"&&n&&!o_&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),o_=!0);const r=i2(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return s2(r),r}const a_=e=>{(ix?"production":void 0)!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { use
292Store } from 'zustand'`.");const t=typeof e=="function"?$F(e):e,n=(r,s)=>a2(t,r,s);return Object.assign(n,t),n},d3=e=>e?a_(e):a_;function f3(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n}function p3(e,t,n,r){function s(i){return i instanceof n?i:new n(function(o){o(i)})}return new(n||(n=Promise))(function(i,o){function a(d){try{u(r.next(d))}catch(c){o(c)}}function l(d){try{u(r.throw(d))}catch(c){o(c)}}function u(d){d.done?i(d.value):s(d.value).then(a,l)}u((r=r.apply(e,t||[])).next())})}var La=class extends Error{constructor(e,t){var n;super(e),this.name="IcebergError",this.status=t.status,this.icebergType=t.icebergType,this.icebergCode=t.icebergCode,this.details=t.details,this.isCommitStateUnknown=t.icebergType==="CommitStateUnknownException"||[500,502,504].includes(t.status)&&((n=t.icebergType)==null?void 0:n.includes("CommitState"))===!0}isNotFound(){return this.status===404}isConflict(){return this.status===409}isAuthenticationTimeout(){return this.status===419}};function l2(e,t,n){const r=new URL(t,e);if(n)for(const[s,i]of Object.entries(n))i!==void 0&&r.searchParams.set(s,i);return r.toString()}async function u2(e){return!e||e.type==="none"?{}:e.type==="bearer"?{Authorization:`Bearer ${e.token}`}:e.type==="header"?{[e.name]:e.value}:e.type==="custom"?await e.getHeaders():{}}function c2(e){const t=e.fetchImpl??globalThis.fetch;return{async request({method:n,path:r,query:s,body:i,headers:o}){const a=l2(e.baseUrl,r,s),l=await u2(e.auth),u=await t(a,{method:n,headers:{...i?{"Content-Type":"application/json"}:{},...l,...o},body:i?JSON.stringify(i):void 0}),d=await u.text(),c=(u.headers.get("content-type")||"").includes("application/json"),f=c&&d?JSON.parse(d):d;if(!u.ok){const p=c?f:void 0,y=p==null?void 0:p.error;throw new La((y==null?void 0:y.message)??`Request failed with status ${u.status}`,{status:u.status,icebergType:y==null?void 0:y.type,icebergCode:y==null?void 0:y.code,details:p})}return{status:u.status,headers:u.headers,data:f}}}}function Ll(e){return e.join("�")}var d2=class{constructor(e,t=""){this.client=e,this.prefix=t}async listNamespaces(e){const t=e?{parent:Ll(e.namespace)}:void 0;return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces`,query:t})).data.namespaces.map(r=>({namespace:r}))}async createNamespace(e,t){const n={namespace:e.namespace,properties:t==null?void 0:t.properties};return(await this.client.request({method:"POST",path:`${this.prefix}/namespaces`,body:n})).data}async dropNamespace(e){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${Ll(e.namespace)}`})}async loadNamespaceMetadata(e){return{properties:(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${Ll(e.namespace)}`})).data.properties}}async namespaceExists(e){try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${Ll(e.namespace)}`}),!0}catch(t){if(t instanceof La&&t.status===404)return!1;throw t}}async createNamespaceIfNotExists(e,t){try{return await this.createNamespace(e,t)}catch(n){if(n instanceof La&&n.status===409)return;throw n}}};function ri(e){return e.join("�")}var f2=class{constructor(e,t="",n){this.client=e,this.prefix=t,this.accessDelegation=n}async listTables(e){return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${ri(e.namespace)}/tables`})).data.identifiers}async createTable(e,t){const n={};return this.accessDelegation&&(n["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${ri(e.namespace)}/tables`,body:t,headers:n})).data.metadata}async updateTable(e,t){const n=await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${ri(e.namespace)}/tables/${e.name}`,body:t});return{"metadata-location":n.data["metadata-location"],metadata:n.data.metadata}}async dropTable(e,t){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${ri(e.namespace)}/tables/${e.name}`,query:{purgeRequested:String((t==null?void 0:t.purge)??!1)}})}async loadTable(e){const t={};return this.accessDelegation&&(t["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${ri(e.namespace)}/tables/${e.name}`,headers:t})).data.metadata}async tableExists(e){const t={};this.accessDelegation&&(t["X-Iceberg-Access-Delegation"]=this.accessDelegation);try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${ri(e.namespace)}/tables/${e.name}`,headers:t}),!0}catch(n){if(n instanceof La&&n.status===404)return!1;throw n}}async createTableIfNotExists(e,t){try{return await this.createTable(e,t)}catch(n){if(n instanceof La&&n.status===409)return await this.loadTable({namespace:e.namespace,name:t.name});throw n}}}
vendor: 36,904 bytes, line 292
292,h3=class{constructor(e){var r;let t="v1";e.catalogName&&(t+=`/${e.catalogName}`);const n=e.baseUrl.endsWith("/")?e.baseUrl:`${e.baseUrl}/`;this.client=c2({baseUrl:n,auth:e.auth,fetchImpl:e.fetch}),this.accessDelegation=(r=e.accessDelegation)==null?void 0:r.join(","),this.namespaceOps=new d2(this.client,t),this.tableOps=new f2(this.client,t,this.accessDelegation)}async listNamespaces(e){return this.namespaceOps.listNamespaces(e)}async createNamespace(e,t){return this.namespaceOps.createNamespace(e,t)}async dropNamespace(e){await this.namespaceOps.dropNamespace(e)}async loadNamespaceMetadata(e){return this.namespaceOps.loadNamespaceMetadata(e)}async listTables(e){return this.tableOps.listTables(e)}async createTable(e,t){return this.tableOps.createTable(e,t)}async updateTable(e,t){return this.tableOps.updateTable(e,t)}async dropTable(e,t){await this.tableOps.dropTable(e,t)}async loadTable(e){return this.tableOps.loadTable(e)}async namespaceExists(e){return this.namespaceOps.namespaceExists(e)}async tableExists(e){return this.tableOps.tableExists(e)}async createNamespaceIfNotExists(e,t){return this.namespaceOps.createNamespaceIfNotExists(e,t)}async createTableIfNotExists(e,t){return this.tableOps.createTableIfNotExists(e,t)}},ox={exports:{}},p2="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",h2=p2,m2=h2;function ax(){}function lx(){}lx.resetWarningCache=ax;var g2=function(){function e(r,s,i,o,a,l){if(l!==m2){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:lx,resetWarningCache:ax};return n.PropTypes=n,n};ox.exports=g2();var y2=ox.exports;const m3=Hs(y2);function l_(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function Km(e={},t={}){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof e[r]>"u"?e[r]=t[r]:l_(t[r])&&l_(e[r])&&Object.keys(t[r]).length>0&&Km(e[r],t[r])})}const ux={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Wn(){const e=typeof document<"u"?document:{};return Km(e,ux),e}const v2={document:ux,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function Ot(){const e=typeof window<"u"?window:{};return Km(e,v2),e}function _2(e=""){return e.trim().split(" ").filter(t=>!!t.trim())}function S2(e){const t=e;Object.keys(t).forEach(n=>{try{t[n]=null}catch{}try{delete t[n]}catch{}})}function cx(e,t=0){return setTimeout(e,t)}function nc(){return Date.now()}function E2(e){const t=Ot();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}function w2(e,t="x"){const n=Ot();let r,s,i;const o=E2(e);return n.WebKitCSSMatrix?(s=o.transform||o.webkitTransform,s.split(",").length>6&&(s=s.split(", ").map(a=>a.replace(",",".")).join(", ")),i=new n.WebKitCSSMatrix(s==="none"?"":s)):(i=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=i.toString().split(",")),t==="x"&&(n.WebKitCSSMatrix?s=i.m41:r.length===16?s=parseFloat(r[12]):s=parseFloat(r[4])),t==="y"&&(n.WebKitCSSMatrix?s=i.m42:r.length===16?s=parseFloat(r[13]):s=parseFloat(r[5])),s||0}function Dl(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function T2(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function Ut(...e){const t=Object(e[0]);for(let n=1;n<e.length;n+=1){const r=e[n];if(r!=null&&!T2(r)){const s=Object.keys(Object(r)).filter(i=>i!=="__proto__"&&i!=="constructor"&&i!=="prototype");for(let i=0,o=s.length;i<o;i+=1){const a=s[i],l=Object.getOwnPropertyDescriptor(r,a);l!==void 0&&l.enumerable&&(Dl(t[a])&&Dl(r[a])?r[a].__swiper__?t[a]=r[a]:Ut(t[a],r[a]):!Dl(t[a])&&Dl(r[a])?(t[a]={},r[a].__swiper__?t[a]=r[a]:Ut(t[a],r[a])):t[a]=r[a])}}}return t}function si(e,t,n){e.style.setProperty(t,n)}function dx({swiper:e,targetPosition:t,side:n}){const r=Ot(),s=-e.translate;let i=null,o;const a=e.params.speed;e.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(e.cssModeFrameID);const l=t>s?"next":"prev",u=(c,f)=>l==="next"&&c>=f||l==="prev"&&c<=f,d=()=>{o=new Date().getTime(),i===null&&(i=o);const c=Math.max(Math.min((o-i)/a,1),0),f=.5-Math.cos(c*Math.PI)/2;let p=s+f*(t-s);if(u(p,t)&&(p=t),e.wrapperEl.scrollTo({[n]:p}),u(p,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:p})}),r.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=r.requestAnimationFrame(d)};d()}function fx(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function jn(e,t=""){const n=Ot(),r=[...e.children];return n.HTMLSlotElement&&e instanceof HTMLSlotElement&&r.push(...e.assignedElements()),t?r.filter(s=>s.matches(t)):r}function x2(e,t){const n=[t];for(;n.length>0;){const r=n.shift();if(e===r)return!0;n.push(...r.children,...r.shadowRoot?r.shadowRoot.children:[],...r.assignedElements?r.assignedElements():[])}}function k2(e,t){const n=Ot();let r=t.contains(e);return!r&&n.HTMLSlotElement&&t instanceof HTMLSlotElement&&(r=[...t.assignedElements()].includes(e),r||(r=x2(e,t))),r}function rc(e){try{console.warn(e);return}catch{}}function sc(e,t=[]){const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:_2(t)),n}function b2(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function C2(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function $r(e,t){return Ot().getComputedStyle(e,null).getPropertyValue(t)}function ic(e){let t=e,n;if(t){for(n=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(n+=1);return n}}function px(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function I2(e,t){function n(r){r.target===e&&(t.call(e,r),e.removeEventListener("transitionend",n))}t&&e.addEventListener("transitionend",n)}function nh(e,t,n){const r=Ot();return e[t==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-left":"margin-bottom"))}function Xn(e){return(Array.isArray(e)?e:[e]).filter(t=>!!t)}function oc(e,t=""){typeof trustedTypes<"u"?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:n=>n}).createHTML(t):e.innerHTML=t}let cf;function O2(){const e=Ot(),t=Wn();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function hx(){return cf||(cf=O2()),cf}let df;function R2({userAgent:e}={}){const t=hx(),n=Ot(),r=n.navigator.platform,s=e||n.navigator.userAgent,i={ios:!1,android:!1},o=n.screen.width,a=n.screen.height,l=s.match(/(Android);?[\s\/]+([\d.]+)?/);let u=s.match(/(iPad)(?!\1).*OS\s([\d_]+)/);const d=s.match(/(iPod)(.*OS\s([\d_]+))?/),c=!u&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f=r==="Win32";let p=r==="MacIntel";const y=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!u&&p&&t.touch&&y.indexOf(`${o}x${a}`)>=0&&(u=s.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),p=!1),l&&!f&&(i.os="android",i.android=!0),(u||c||d)&&(i.os="ios",i.ios=!0),i}function mx(e={}){return df||(df=R2(e)),df}let ff;function A2(){const e=Ot(),t=mx();let n=!1;function r(){const a=e.navigator.userAgent.toLowerCase();return a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0}if(r()){const a=String(e.navigator.userAgent);if(a.includes("Version/")){const[l,u]=a.split("Version/")[1].split(" ")[0].split(".").map(d=>Number(d));n=l<16||l===16&&u<2}}const s=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),i=r(),o=i||s&&t.ios;return{isSafari:n||i,needPerspectiveFix:n,need3dFix:o,isWebView:s}}function gx(){return ff||(ff=A2()),ff}function M2({swiper:e,on:t,emit:n}){const r=Ot();let s=null,i=null;const o=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},a=()=>{!e||e.destroyed||!e.initialized||(s=new ResizeObserver(d=>{i=r.requestAnimationFrame(()=>{const{width:c,height:f}=e;let p=c,y=f;d.forEach(({contentBoxSize:v,contentRect:S,target:m})=>{m&&m!==e.el||(p=S?S.width:(v[0]||v).inlineSize,y=S?S.height:(v[0]||v).blockSize)}),(p!==c||y!==f)&&o()})}),s.observe(e.el))},l=()=>{i&&r.cancelAnimationFrame(i),s&&s.unobserve&&e.el&&(s.unobserve(e.el),s=null)},u=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&typeof r.ResizeObserver<"u"){a();return}r.addEventListener("resize",o),r.addEventListener("orientationchange",u)}),t("destroy",()=>{l(),r.removeEventListener("resize",o),r.removeEventListener("orientationchange",u)})}function P2({swiper:e,extendParams:t,on:n,emit:r}){const s=[],i=Ot(),o=(u,d={})=>{const c=i.MutationObserver||i.WebkitMutationObserver,f=new c(p=>{if(e.__preventObserver__)return;if(p.length===1){r("observerUpdate",p[0]);return}const y=function(){r("observerUpdate",p[0])};i.requestAnimationFrame?i.requestAnimationFrame(y):i.setTimeout(y,0)});f.observe(u,{attributes:typeof d.attributes>"u"?!0:d.attributes,childList:e.isElement||(typeof d.childList>"u"?!0:d).childList,characterData:typeof d.characterData>"u"?!0:d.characterData}),s.push(f)},a=()=>{if(e.params.observer){if(e.params.observeParents){const u=px(e.hostEl);for(let d=0;d<u.length;d+=1)o(u[d])}o(e.hostEl,{childList:e.params.observeSlideChildren}),o(e.wrapperEl,{attributes:!1})}},l=()=>{s.forEach(u=>{u.disconnect()}),s.splice(0,s.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",a),n("destroy",l)}var N2={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;const s=n?"unshift":"push";return e.split(" ").forEach(i=>{r.eventsListeners[i]||(r.eventsListeners[i]=[]),r.eventsListeners[i][s](t)}),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;function s(...i){r.off(e,s),s.__emitterProxy&&delete s.__emitterProxy,t.apply(r,i)}return s.__emitterProxy=t,r.on(e,s,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const r=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||e.split(" ").forEach(r=>{typeof t>"u"?n.eventsListeners[r]=[]:n.eventsListeners[r]&&n.eventsListeners[r].forEach((s,i)=>{(s===t||s.__emitterProxy&&s.__emitterProxy===t)&&n.eventsListeners[r].splice(i,1)})}),n},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let n,r,s;return typeof e[0]=="string"||Array.isArray(e[0])?(n=e[0],r=e.slice(1,e.length),s=t):(n=e[0].events,r=e[0].data,s=e[0].context||t),r.unshift(s),(Array.isArray(n)?n:n.split(" ")).forEach(o=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(a=>{a.apply(s,[o,...r])}),t.eventsListeners&&t.eventsListeners[o]&&t.eventsListeners[o].forEach(a=>{a.apply(s,r)})}),t}};function L2(){const e=this;let t,n;const r=e.el;typeof e.params.width<"u"&&e.params.width!==null?t=e.params.width:t=r.clientWidth,typeof e.params.height<"u"&&e.params.height!==null?n=e.params.height:n=r.clientHeight,!(t===0&&e.isHorizontal()||n===0&&e.isVertical())&&(t=t-parseInt($r(r,"padding-left")||0,10)-parseInt($r(r,"padding-right")||0,10),n=n-parseInt($r(r,"padding-top")||0,10)-parseInt($r(r,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))}function D2(){const e=this;function t(k,P){return parseFloat(k.getPropertyValue(e.getDirectionLabel(P))||0)}const n=e.params,{wrapperEl:r,slidesEl:s,rtlTranslate:i,wrongRTL:o}=e,a=e.virtual&&n.virtual.enabled,l=a?e.virtual.slides.length:e.slides.length,u=jn(s,`.${e.params.slideClass}, swiper-slide`),d=a?e.virtual.slides.length:u.length;let c=[];const f=[],p=[];let y=n.slidesOffsetBefore;typeof y=="function"&&(y=n.slidesOffsetBefore.call(e));let v=n.slidesOffsetAfter;typeof v=="function"&&(v=n.slidesOffsetAfter.call(e));const S=e.snapGrid.length,m=e.slidesGrid.length,h=e.size-y-v;let g=n.spaceBetween,_=-y,w=0,x=0;if(typeof h>"u")return;typeof g=="string"&&g.indexOf("%")>=0?g=parseFloat(g.replace("%",""))/100*h:typeof g=="string"&&(g=parseFloat(g)),e.virtualSize=-g-y-v,u.forEach(k=>{i?k.style.marginLeft="":k.style.marginRight="",k.style.marginBottom="",k.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(si(r,"--swiper-centered-offset-before",""),si(r,"--swiper-centered-offset-after","")),n.cssMode&&(si(r,"--swiper-slides-offset-before",`${y}px`),si(r,"--swiper-slides-offset-after",`${v}px`));const b=n.grid&&n.grid.rows>1&&e.grid;b?e.grid.initSlides(u):e.grid&&e.grid.unsetSlides();let T;const R=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(k=>typeof n.breakpoints[k].slidesPerView<"u").length>0;for(let k=0;k<d;k+=1){T=0;const P=u[k];if(!(P&&(b&&e.grid.updateSlide(k,P,u),$r(P,"display")==="none"))){if(a&&n.slidesPerView==="auto")n.virtual.slidesPerViewAutoSlideSize&&(T=n.virtual.slidesPerViewAutoSlideSize),T&&P&&(n.roundLengths&&(T=Math.floor(T)),P.style[e.getDirectionLabel("width")]=`${T}px`);else if(n.slidesPerView==="auto"){R&&(P.style[e.getDirectionLabel("width")]="");const A=getComputedStyle(P),N=P.style.transform,z=P.style.webkitTransform;if(N&&(P.style.transform="none"),z&&(P.style.webkitTransform="none"),n.roundLengths)T=e.isHorizontal()?nh(P,"width"):nh(P,"height");else{const G=t(A,"width"),q=t(A,"padding-left"),V=t(A,"padding-right"),C=t(A,"margin-left"),L=t(A,"margin-right"),H=A.getPropertyValue("box-sizing");if(H&&H==="border-box")T=G+C+L;else{const{clientWidth:ue,offsetWidth:Ne}=P;T=G+q+V+C+L+(Ne-ue)}}N&&(P.style.transform=N),z&&(P.style.webkitTransform=z),n.roundLengths&&(T=Math.floor(T))}else T=(h-(n.slidesPerView-1)*g)/n.slidesPerView,n.roundLengths&&(T=Math.floor(T)),P&&(P.style[e.getDirectionLabel("width")]=`${T}px`);P&&(P.swiperSlideSize=T),p.push(T),n.centeredSlides?(_=_+T/2+w/2+g,w===0&&k!==0&&(_=_-h/2-g),k===0&&(_=_-h/2-g),Math.abs(_)<1/1e3&&(_=0),n.roundLengths&&(_=Math.floor(_)),x%n.slidesPerGroup===0&&c.push(_),f.push(_)):(n.roundLengths&&(_=Math.floor(_)),(x-Math.min(e.params.slidesPerGroupSkip,x))%e.params.slidesPerGroup===0&&c.push(_),f.push(_),_=_+T+g),e.virtualSize+=T+g,w=T,x+=1}}if(e.virtualSize=Math.max(e.virtualSize,h)+v,i&&o&&(n.effect==="slide"||n.effect==="coverflow")&&(r.style.width=`${e.virtualSize+g}px`),n.setWrapperSize&&(r.style[e.getDirectionLabel("width")]=`${e.virtualSize+g}px`),b&&e.grid.updateWrapperSize(T,c),!n.centeredSlides){const k=n.slidesPerView!=="auto"&&n.slidesPerView%1!==0,P=n.snapToSlideEdge&&!n.loop&&(n.slidesPerView==="auto"||k);let A=c.length;if(P){let z;if(n.slidesPerView==="auto"){z=1;let G=0;for(let q=p.length-1;q>=0&&(G+=p[q]+(q<p.length-1?g:0),G<=h);q-=1)z=p.length-q}else z=Math.floor(n.slidesPerView);A=Math.max(d-z,0)}const N=[];for(let z=0;z<c.length;z+=1){let G=c[z];n.roundLengths&&(G=Math.floor(G)),P?z<=A&&N.push(G):c[z]<=e.virtualSize-h&&N.push(G)}c=N,Math.floor(e.virtualSize-h)-Math.floor(c[c.length-1])>1&&(P||c.push(e.virtualSize-h))}if(a&&n.loop){const k=p[0]+g;if(n.slidesPerGroup>1){const P=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),A=k*n.slidesPerGroup;for(let N=0;N<P;N+=1)c.push(c[c.length-1]+A)}for(let P=0;P<e.virtual.slidesBefore+e.virtual.slidesAfter;P+=1)n.slidesPerGroup===1&&c.push(c[c.length-1]+k),f.push(f[f.length-1]+k),e.virtualSize+=k}if(c.length===0&&(c=[0]),g!==0){const k=e.isHorizontal()&&i?"marginLeft":e.getDirectionLabel("marginRight");u.filter((P,A)=>!n.cssMode||n.loop?!0:A!==u.length-1).forEach(P=>{P.style[k]=`${g}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let k=0;p.forEach(A=>{k+=A+(g||0)}),k-=g;const P=k>h?k-h:0;c=c.map(A=>A<=0?-y:A>P?P+v:A)}if(n.centerInsufficientSlides){let k=0;if(p.forEach(P=>{k+=P+(g||0)}),k-=g,k<h){const P=(h-k)/2;c.forEach((A,N)=>{c[N]=A-P}),f.forEach((A,N)=>{f[N]=A+P})}}if(Object.assign(e,{slides:u,snapGrid:c,slidesGrid:f,slidesSizesGrid:p}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){si(r,"--swiper-centered-offset-before",`${-c[0]}px`),si(r,"--swiper-centered-offset-after",`${e.size/2-p[p.length-1]/2}px`);const k=-e.snapGrid[0],P=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(A=>A+k),e.slidesGrid=e.slidesGrid.map(A=>A+P)}if(d!==l&&e.emit("slidesLengthChange"),c.length!==S&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),f.length!==m&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!a&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const k=`${n.containerModifierClass}backface-hidden`,P=e.el.classList.contains(k);d<=n.maxBackfaceHiddenSlides?P||e.el.classList.add(k):P&&e.el.classList.remove(k)}}function $2(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let s=0,i;typeof e=="number"?t.setTransition(e):e===!0&&t.setTransition(t.params.speed);const o=a=>r?t.slides[t.getSlideIndexByData(a)]:t.slides[a];if(t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(a=>{n.push(a)});else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const a=t.activeIndex+i;if(a>t.slides.length&&!r)break;n.push(o(a))}else n.push(o(t.activeIndex));for(i=0;i<n.length;i+=1)if(typeof n[i]<"u"){const a=n[i].offsetHeight;s=a>s?a:s}(s||s===0)&&(t.wrapperEl.style.height=`${s}px`)}function F2(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r<t.length;r+=1)t[r].swiperSlideOffset=(e.isHorizontal()?t[r].offsetLeft:t[r].offsetTop)-n-e.cssOverflowAdjustment()}const u_=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function z2(e=this&&this.translate||0){const t=this,n=t.params,{slides:r,rtlTranslate:s,snapGrid:i}=t;if(r.length===0)return;typeof r[0].swiperSlideOffset>"u"&&t.updateSlidesOffset();let o=-e;s&&(o=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let a=n.spaceBetween;typeof a=="string"&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*t.size:typeof a=="string"&&(a=parseFloat(a));for(let l=0;l<r.length;l+=1){const u=r[l];let d=u.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(d-=r[0].swiperSlideOffset);const c=(o+(n.centeredSlides?t.minTranslate():0)-d)/(u.swiperSlideSize+a),f=(o-i[0]+(n.centeredSlides?t.minTranslate():0)-d)/(u.swiperSlideSize+a),p=-(o-d),y=p+t.slidesSizesGrid[l],v=p>=0&&p<=t.size-t.slidesSizesGrid[l],S=p>=0&&p<t.size-1||y>1&&y<=t.size||p<=0&&y>=t.size;S&&(t.visibleSlides.push(u),t.visibleSlidesIndexes.push(l)),u_(u,S,n.slideVisibleClass),u_(u,v,n.slideFullyVisibleClass),u.progress=s?-c:c,u.originalProgress=s?-f:f}}function B2(e){const t=this;if(typeof e>"u"){const d=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*d||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:s,isBeginning:i,isEnd:o,progressLoop:a}=t;const l=i,u=o;if(r===0)s=0,i=!0,o=!0;else{s=(e-t.minTranslate())/r;const d=Math.abs(e-t.minTranslate())<1,c=Math.abs(e-t.maxTranslate())<1;i=d||s<=0,o=c||s>=1,d&&(s=0),c&&(s=1)}if(n.loop){const d=t.getSlideIndexByData(0),c=t.getSlideIndexByData(t.slides.length-1),f=t.slidesGrid[d],p=t.slidesGrid[c],y=t.slidesGrid[t.slidesGrid.length-1],v=Math.abs(e);v>=f?a=(v-f)/y:a=(v+y-p)/y,a>1&&(a-=1)}Object.assign(t,{progress:s,progressLoop:a,isBeginning:i,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),i&&!l&&t.emit("reachBeginning toEdge"),o&&!u&&t.emit("reachEnd toEdge"),(l&&!i||u&&!o)&&t.emit("fromEdge"),t.emit("progress",s)}const pf=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function U2(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:s}=e,i=e.virtual&&n.virtual.enabled,o=e.grid&&n.grid&&n.grid.rows>1,a=c=>jn(r,`.${n.slideClass}${c}, swiper-slide${c}`)[0];let l,u,d;if(i)if(n.loop){let c=s-e.virtual.slidesBefore;c<0&&(c=e.virtual.slides.length+c),c>=e.virtual.slides.length&&(c-=e.virtual.slides.length),l=a(`[data-swiper-slide-index="${c}"]`)}else l=a(`[data-swiper-slide-index="${s}"]`);else o?(l=t.find(c=>c.column===s),d=t.find(c=>c.column===s+1),u=t.find(c=>c.column===s-1)):l=t[s];l&&(o||(d=C2(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!d&&(d=t[0]),u=b2(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u===0&&(u=t[t.length-1]))),t.forEach(c=>{pf(c,c===l,n.slideActiveClass),pf(c,c===d,n.slideNextClass),pf(c,c===u,n.slidePrevClass)}),e.emitSlidesClasses()}const du=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,r=t.closest(n());if(r){let s=r.querySelector(`.${e.params.lazyPreloaderClass}`);!s&&e.isElement&&(r.shadowRoot?s=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(s=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),s&&!s.lazyPreloaderManaged&&s.remove())})),s&&!s.lazyPreloaderManaged&&s.remove()}},hf=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},rh=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const r=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),s=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const o=s,a=[o-t];a.push(...Array.from({length:t}).map((l,u)=>o+r+u)),e.slides.forEach((l,u)=>{a.includes(l.column)&&hf(e,u)});return}const i=s+r-1;if(e.params.rewind||e.params.loop)for(let o=s-t;o<=i+t;o+=1){const a=(o%n+n)%n;(a<s||a>i)&&hf(e,a)}else for(let o=Math.max(s-t,0);o<=Math.min(i+t,n-1);o+=1)o!==s&&(o>i||o<s)&&hf(e,o)};function j2(e){const{slidesGrid:t,params:n}=e,r=e.rtlTranslate?e.translate:-e.translate;let s;for(let i=0;i<t.length;i+=1)typeof t[i+1]<"u"?r>=t[i]&&r<t[i+1]-(t[i+1]-t[i])/2?s=i:r>=t[i]&&r<t[i+1]&&(s=i+1):r>=t[i]&&(s=i);return n.normalizeSlideIndex&&(s<0||typeof s>"u")&&(s=0),s}function V2(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:s,activeIndex:i,realIndex:o,snapIndex:a}=t;let l=e,u;const d=p=>{let y=p-t.virtual.slidesBefore;return y<0&&(y=t.virtual.slides.length+y),y>=t.virtual.slides.length&&(y-=t.virtual.slides.length),y};if(typeof l>"u"&&(l=j2(t)),r.indexOf(n)>=0)u=r.indexOf(n);else{const p=Math.min(s.slidesPerGroupSkip,l);u=p+Math.floor((l-p)/s.slidesPerGroup)}if(u>=r.length&&(u=r.length-1),l===i&&!t.params.loop){u!==a&&(t.snapIndex=u,t.emit("snapIndexChange"));return}if(l===i&&t.params.loop&&t.virtual&&t.params.virtual.enabled){t.realIndex=d(l);return}const c=t.grid&&s.grid&&s.grid.rows>1;let f;if(t.virtual&&s.virtual.enabled)s.loop?f=d(l):f=l;else if(c){const p=t.slides.find(v=>v.column===l);let y=parseInt(p.getAttribute("data-swiper-slide-index"),10);Number.isNaN(y)&&(y=Math.max(t.slides.indexOf(p),0)),f=Math.floor(y/s.grid.rows)}else if(t.slides[l]){const p=t.slides[l].getAttribute("data-swiper-slide-index");p?f=parseInt(p,10):f=l}else f=l;Object.assign(t,{previousSnapIndex:a,snapIndex:u,previousRealIndex:o,realIndex:f,previousIndex:i,activeIndex:l}),t.initialized&&rh(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(o!==f&&t.emit("realIndexChange"),t.emit("slideChange"))}function H2(e,t){const n=this,r=n.params;let s=e.closest(`.${r.slideClass}, swiper-slide`);!s&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(a=>{!s&&a.matches&&a.matches(`.${r.slideClass}, swiper-slide`)&&(s=a)});let i=!1,o;if(s){for(let a=0;a<n.slides.length;a+=1)if(n.slides[a]===s){i=!0,o=a;break}}if(s&&i)n.clickedSlide=s,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(s.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=o;else{n.clickedSlide=void 0,n.clickedIndex=void 0;return}r.slideToClickedSlide&&n.clickedIndex!==void 0&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}var W2={updateSize:L2,updateSlides:D2,updateAutoHeight:$2,updateSlidesOffset:F2,updateSlidesProgress:z2,updateProgress:B2,updateSlidesClasses:U2,updateActiveIndex:V2,updateClickedSlide:H2};function G2(e=this.isHorizontal()?"x":"y"){const t=this,{params:n,rtlTranslate:r,translate:s,wrapperEl:i}=t;if(n.virtualTranslate)return r?-s:s;if(n.cssMode)return s;let o=w2(i,e);return o+=t.cssOverflowAdjustment(),r&&(o=-o),o||0}function q2(e,t){const n=this,{rtlTranslate:r,params:s,wrapperEl:i,progress:o}=n;let a=0,l=0;const u=0;n.isHorizontal()?a=r?-e:e:l=e,s.roundLengths&&(a=Math.floor(a),l=Math.floor(l)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?a:l,s.cssMode?i[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-a:-l:s.virtualTranslate||(n.isHorizontal()?a-=n.cssOverflowAdjustment():l-=n.cssOverflowAdjustment(),i.style.transform=`translate3d(${a}px, ${l}px, ${u}px)`);let d;const c=n.maxTranslate()-n.minTranslate();c===0?d=0:d=(e-n.minTranslate())/c,d!==o&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)}function Y2(){return-this.snapGrid[0]}function X2(){return-this.snapGrid[this.snapGrid.length-1]}function K2(e=0,t=this.params.speed,n=!0,r=!0,s){const i=this,{params:o,wrapperEl:a}=i;if(i.animating&&o.preventInteractionOnTransition)return!1;const l=i.minTranslate(),u=i.maxTranslate();let d;if(r&&e>l?d=l:r&&e<u?d=u:d=e,i.updateProgress(d),o.cssMode){const c=i.isHorizontal();if(t===0)a[c?"scrollLeft":"scrollTop"]=-d;else{if(!i.support.smoothScroll)return dx({swiper:i,targetPosition:-d,side:c?"left":"top"}),!0;a.scrollTo({[c?"left":"top"]:-d,behavior:"smooth"})}return!0}return t===0?(i.setTransition(0),i.setTranslate(d),n&&(i.emit("beforeTransitionStart",t,s),i.emit("transitionEnd"))):(i.setTransition(t),i.setTranslate(d),n&&(i.emit("beforeTransitionStart",t,s),i.emit("transitionStart")),i.animating||(i.animating=!0,i.onTranslateToWrapperTransitionEnd||(i.onTranslateToWrapperTransitionEnd=function(f){!i||i.destroyed||f.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onTranslateToWrapperTransitionEnd),i.onTranslateToWrapperTransitionEnd=null,delete i.onTranslateToWrapperTransitionEnd,i.animating=!1,n&&i.emit("transitionEnd"))}),i.wrapperEl.addEventListener("transitionend",i.onTranslateToWrapperTransitionEnd))),!0}var Z2={getTranslate:G2,setTranslate:q2,minTranslate:Y2,maxTranslate:X2,translateTo:K2};function Q2(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`,n.wrapperEl.style.transitionDelay=e===0?"0ms":""),n.emit("setTransition",e,t)}function yx({swiper:e,runCallbacks:t,direction:n,step:r}){const{activeIndex:s,previousIndex:i}=e;let o=n;o||(s>i?o="next":s<i?o="prev":o="reset"),e.emit(`transition${r}`),t&&o==="reset"?e.emit(`slideResetTransition${r}`):t&&s!==i&&(e.emit(`slideChangeTransition${r}`),o==="next"?e.emit(`slideNextTransition${r}`):e.emit(`slidePrevTransition${r}`))}function J2(e=!0,t){const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),yx({swiper:n,runCallbacks:e,direction:t,step:"Start"}))}function ez(e=!0,t){const n=this,{params:r}=n;n.animating=!1,!r.cssMode&&(n.setTransition(0),yx({swiper:n,runCallbacks:e,direction:t,step:"End"}))}var tz={setTransition:Q2,transitionStart:J2,transitionEnd:ez};function nz(e=0,t,n=!0,r,s){typeof e=="string"&&(e=parseInt(e,10));const i=this;let o=e;o<0&&(o=0);const{params:a,snapGrid:l,slidesGrid:u,previousIndex:d,activeIndex:c,rtlTranslate:f,wrapperEl:p,enabled:y}=i;if(!y&&!r&&!s||i.destroyed||i.animating&&a.preventInteractionOnTransition)return!1;typeof t>"u"&&(t=i.params.speed);const v=Math.min(i.params.slidesPerGroupSkip,o);let S=v+Math.floor((o-v)/i.params.slidesPerGroup);S>=l.length&&(S=l.length-1);const m=-l[S];if(a.normalizeSlideIndex)for(let b=0;b<u.length;b+=1){const T=-Math.floor(m*100),R=Math.floor(u[b]*100),k=Math.floor(u[b+1]*100);typeof u[b+1]<"u"?T>=R&&T<k-(k-R)/2?o=b:T>=R&&T<k&&(o=b+1):T>=R&&(o=b)}if(i.initialized&&o!==c&&(!i.allowSlideNext&&(f?m>i.translate&&m>i.minTranslate():m<i.translate&&m<i.minTranslate())||!i.allowSlidePrev&&m>i.translate&&m>i.maxTranslate()&&(c||0)!==o))return!1;o!==(d||0)&&n&&i.emit("beforeSlideChangeStart"),i.updateProgress(m);let h;o>c?h="next":o<c?h="prev":h="reset";const g=i.virtual&&i.params.virtual.enabled;if(!(g&&s)&&(f&&-m===i.translate||!f&&m===i.translate))return i.updateActiveIndex(o),a.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),a.effect!=="slide"&&i.setTranslate(m),h!=="reset"&&(i.transitionStart(n,h),i.transitionEnd(n,h)),!1;if(a.cssMode){const b=i.isHorizontal(),T=f?m:-m;if(t===0)g&&(i.wrapperEl.style.scrollSnapType="none",i._immediateVirtual=!0),g&&!i._cssModeVirtualInitialSet&&i.params.initialSlide>0?(i._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[b?"scrollLeft":"scrollTop"]=T})):p[b?"scrollLeft":"scrollTop"]=T,g&&requestAnimationFrame(()=>{i.wrapperEl.style.scrollSnapType="",i._immediateVirtual=!1});else{if(!i.support.smoothScroll)return dx({swiper:i,targetPosition:T,side:b?"left":"top"}),!0;p.scrollTo({[b?"left":"top"]:T,behavior:"smooth"})}return!0}const x=gx().isSafari;return g&&!s&&x&&i.isElement&&i.virtual.update(!1,!1,o),i.setTransition(t),i.setTranslate(m),i.updateActiveIndex(o),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,r),i.transitionStart(n,h),t===0?i.transitionEnd(n,h):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(T){!i||i.destroyed||T.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(n,h))}),i.wrapperEl.addEventListener("transitionend",i.onSlideToWrapperTransitionEnd)),!0}function rz(e=0,t,n=!0,r){typeof e=="string"&&(e=parseInt(e,10));const s=this;if(s.destroyed)return;typeof t>"u"&&(t=s.params.speed);const i=s.grid&&s.params.grid&&s.params.grid.rows>1;let o=e;if(s.params.loop)if(s.virtual&&s.params.virtual.enabled)o=o+s.virtual.slidesBefore;else{let a;if(i){const v=o*s.params.grid.rows;a=s.slides.find(S=>S.getAttribute("data-swiper-slide-index")*1===v).column}else a=s.getSlideIndexByData(o);const l=i?Math.ceil(s.slides.length/s.params.grid.rows):s.slides.length,{centeredSlides:u,slidesOffsetBefore:d,slidesOffsetAfter:c}=s.params,f=u||!!d||!!c;let p=s.params.slidesPerView;p==="auto"?p=s.slidesPerViewDynamic():(p=Math.ceil(parseFloat(s.params.slidesPerView,10)),f&&p%2===0&&(p=p+1));let y=l-a<p;if(f&&(y=y||a<Math.ceil(p/2)),r&&f&&s.params.slidesPerView!=="auto"&&!i&&(y=!1),y){const v=f?a<s.activeIndex?"prev":"next":a-s.activeIndex-1<s.params.slidesPerView?"next":"prev";s.loopFix({direction:v,slideTo:!0,activeSlideIndex:v==="next"?a+1:a-l+1,slideRealIndex:v==="next"?s.realIndex:void 0})}if(i){const v=o*s.params.grid.rows;o=s.slides.find(S=>S.getAttribute("data-swiper-slide-index")*1===v).column}else o=s.getSlideIndexByData(o)}return requestAnimationFrame(()=>{s.slideTo(o,t,n,r)}),s}function sz(e,t=!0,n){const r=this,{enabled:s,params:i,animating:o}=r;if(!s||r.destroyed)return r;typeof e>"u"&&(e=r.params.speed);let a=i.slidesPerGroup;i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(a=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex<i.slidesPerGroupSkip?1:a,u=r.virtual&&i.virtual.enabled;if(i.loop){if(o&&!u&&i.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&i.cssMode)return requestAnimationFrame(()=>{r.slideTo(r.activeIndex+l,e,t,n)}),!0}return i.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)}function iz(e,t=!0,n){const r=this,{params:s,snapGrid:i,slidesGrid:o,rtlTranslate:a,enabled:l,animating:u}=r;if(!l||r.destroyed)return r;typeof e>"u"&&(e=r.params.speed);const d=r.virtual&&s.virtual.enabled;if(s.loop){if(u&&!d&&s.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}const c=a?r.translate:-r.translate;function f(h){return h<0?-Math.floor(Math.abs(h)):Math.floor(h)}const p=f(c),y=i.map(h=>f(h)),v=s.freeMode&&s.freeMode.enabled;let S=i[y.indexOf(p)-1];if(typeof S>"u"&&(s.cssMode||v)){let h;i.forEach((g,_)=>{p>=g&&(h=_)}),typeof h<"u"&&(S=v?i[h]:i[h>0?h-1:h])}let m=0;if(typeof S<"u"&&(m=o.indexOf(S),m<0&&(m=r.activeIndex-1),s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(m=m-r.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),s.rewind&&r.isBeginning){const h=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(h,e,t,n)}else if(s.loop&&r.activeIndex===0&&s.cssMode)return requestAnimationFrame(()=>{r.slideTo(m,e,t,n)}),!0;return r.slideTo(m,e,t,n)}function oz(e,t=!0,n){const r=this;if(!r.destroyed)return typeof e>"u"&&(e=r.params.speed),r.slideTo(r.activeIndex,e,t,n)}function az(e,t=!0,n,r=.5){const s=this;if(s.destroyed)return;typeof e>"u"&&(e=s.params.speed);let i=s.activeIndex;const o=Math.min(s.params.slidesPerGroupSkip,i),a=o+Math.floor((i-o)/s.params.slidesPerGroup),l=s.rtlTranslate?s.translate:-s.translate;if(l>=s.snapGrid[a]){const u=s.snapGrid[a],d=s.snapGrid[a+1];l-u>(d-u)*r&&(i+=s.params.slidesPerGroup)}else{const u=s.snapGrid[a-1],d=s.snapGrid[a];l-u<=(d-u)*r&&(i-=s.params.slidesPerGroup)}return i=Math.max(i,0),i=Math.min(i,s.slidesGrid.length-1),s.slideTo(i,e,t,n)}function lz(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,r=t.slidesPerView==="auto"?e.slidesPerViewDynamic():t.slidesPerView;let s=e.getSlideIndexWhenGrid(e.clickedIndex),i;const o=e.isElement?"swiper-slide":`.${t.slideClass}`,a=e.grid&&e.params.grid&&e.params.grid.rows>1;if(t.loop){if(e.animating)return;i=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?e.slideToLoop(i):s>(a?(e.slides.length-r)/2-(e.params.grid.rows-1):e.slides.length-r)?(e.loopFix(),s=e.getSlideIndex(jn(n,`${o}[data-swiper-slide-index="${i}"]`)[0]),cx(()=>{e.slideTo(s)})):e.slideTo(s)}else e.slideTo(s)}var uz={slideTo:nz,slideToLoop:rz,slideNext:sz,slidePrev:iz,slideReset:oz,slideToClosest:az,slideToClickedSlide:lz};function cz(e,t){const n=this,{params:r,slidesEl:s}=n;if(!r.loop||n.virtual&&n.params.virtual.enabled)return;const i=()=>{jn(s,`.${r.slideClass}, swiper-slide`).forEach((y,v)=>{y.setAttribute("data-swiper-slide-index",v)})},o=()=>{const p=jn(s,`.${r.slideBlankClass}`);p.forEach(y=>{y.remove()}),p.length>0&&(n.recalcSlides(),n.updateSlides())},a=n.grid&&r.grid&&r.grid.rows>1;r.loopAddBlankSlides&&(r.slidesPerGroup>1||a)&&o();const l=r.slidesPerGroup*(a?r.grid.rows:1),u=n.slides.length%l!==0,d=a&&n.slides.length%r.grid.rows!==0,c=p=>{for(let y=0;y<p;y+=1){const v=n.isElement?sc("swiper-slide",[r.slideBlankClass]):sc("div",[r.slideClass,r.slideBlankClass]);n.slidesEl.append(v)}};if(u){if(r.loopAddBlankSlides){const p=l-n.slides.length%l;c(p),n.recalcSlides(),n.updateSlides()}else rc("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may
292not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else if(d){if(r.loopAddBlankSlides){const p=r.grid.rows-n.slides.length%r.grid.rows;c(p),n.recalcSlides(),n.updateSlides()}else rc("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else i();const f=r.centeredSlides||!!r.slidesOffsetBefore||!!r.slidesOffsetAfter;n.loopFix({slideRealIndex:e,direction:f?void 0:"next",initial:t})}function dz({slideRealIndex:e,slideTo:t=!0,direction:n,setTranslate:r,activeSlideIndex:s,initial:i,byController:o,byMousewheel:a}={}){const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:u,allowSlidePrev:d,allowSlideNext:c,slidesEl:f,params:p}=l,{centeredSlides:y,slidesOffsetBefore:v,slidesOffsetAfter:S,initialSlide:m}=p,h=y||!!v||!!S;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&p.virtual.enabled){t&&(!h&&l.snapIndex===0?l.slideTo(l.virtual.slides.length,0,!1,!0):h&&l.snapIndex<p.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0)),l.allowSlidePrev=d,l.allowSlideNext=c,l.emit("loopFix");return}let g=p.slidesPerView;g==="auto"?g=l.slidesPerViewDynamic():(g=Math.ceil(parseFloat(p.slidesPerView,10)),h&&g%2===0&&(g=g+1));const _=p.slidesPerGroupAuto?g:p.slidesPerGroup;let w=h?Math.max(_,Math.ceil(g/2)):_;w%_!==0&&(w+=_-w%_),w+=p.loopAdditionalSlides,l.loopedSlides=w;const x=l.grid&&p.grid&&p.grid.rows>1;u.length<g+w||l.params.effect==="cards"&&u.length<g+w*2?rc("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):x&&p.grid.fill==="row"&&rc("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const b=[],T=[],R=x?Math.ceil(u.length/p.grid.rows):u.length,k=i&&R-m<g&&!h;let P=k?m:l.activeIndex;typeof s>"u"?s=l.getSlideIndex(u.find(C=>C.classList.contains(p.slideActiveClass))):P=s;const A=n==="next"||!n,N=n==="prev"||!n;let z=0,G=0;const V=(x?u[s].column:s)+(h&&typeof r>"u"?-g/2+.5:0);if(V<w){z=Math.max(w-V,_);for(let C=0;C<w-V;C+=1){const L=C-Math.floor(C/R)*R;if(x){const H=R-L-1;for(let ue=u.length-1;ue>=0;ue-=1)u[ue].column===H&&b.push(ue)}else b.push(R-L-1)}}else if(V+g>R-w){G=Math.max(V-(R-w*2),_),k&&(G=Math.max(G,g-R+m+1));for(let C=0;C<G;C+=1){const L=C-Math.floor(C/R)*R;x?u.forEach((H,ue)=>{H.column===L&&T.push(ue)}):T.push(L)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),l.params.effect==="cards"&&u.length<g+w*2&&(T.includes(s)&&T.splice(T.indexOf(s),1),b.includes(s)&&b.splice(b.indexOf(s),1)),N&&b.forEach(C=>{u[C].swiperLoopMoveDOM=!0,f.prepend(u[C]),u[C].swiperLoopMoveDOM=!1}),A&&T.forEach(C=>{u[C].swiperLoopMoveDOM=!0,f.append(u[C]),u[C].swiperLoopMoveDOM=!1}),l.recalcSlides(),p.slidesPerView==="auto"?l.updateSlides():x&&(b.length>0&&N||T.length>0&&A)&&l.slides.forEach((C,L)=>{l.grid.updateSlide(L,C,l.slides)}),p.watchSlidesProgress&&l.updateSlidesOffset(),t){if(b.length>0&&N){if(typeof e>"u"){const C=l.slidesGrid[P],H=l.slidesGrid[P+z]-C;a?l.setTranslate(l.translate-H):(l.slideTo(P+Math.ceil(z),0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-H,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-H))}else if(r){const C=x?b.length/p.grid.rows:b.length;l.slideTo(l.activeIndex+C,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(T.length>0&&A)if(typeof e>"u"){const C=l.slidesGrid[P],H=l.slidesGrid[P-G]-C;a?l.setTranslate(l.translate-H):(l.slideTo(P-G,0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-H,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-H))}else{const C=x?T.length/p.grid.rows:T.length;l.slideTo(l.activeIndex-C,0,!1,!0)}}if(l.allowSlidePrev=d,l.allowSlideNext=c,l.controller&&l.controller.control&&!o){const C={slideRealIndex:e,direction:n,setTranslate:r,activeSlideIndex:s,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(L=>{!L.destroyed&&L.params.loop&&L.loopFix({...C,slideTo:L.params.slidesPerView===p.slidesPerView?t:!1})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...C,slideTo:l.controller.control.params.slidesPerView===p.slidesPerView?t:!1})}l.emit("loopFix")}function fz(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||!n||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const r=[];
vendor: 16,800 bytes, line 292
292e.slides.forEach(s=>{const i=typeof s.swiperSlideIndex>"u"?s.getAttribute("data-swiper-slide-index")*1:s.swiperSlideIndex;r[i]=s}),e.slides.forEach(s=>{s.removeAttribute("data-swiper-slide-index")}),r.forEach(s=>{n.append(s)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}var pz={loopCreate:cz,loopFix:dz,loopDestroy:fz};function hz(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n=t.params.touchEventsTarget==="container"?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})}function mz(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}var gz={setGrabCursor:hz,unsetGrabCursor:mz};function yz(e,t=this){function n(r){if(!r||r===Wn()||r===Ot())return null;r.assignedSlot&&(r=r.assignedSlot);const s=r.closest(e);return!s&&!r.getRootNode?null:s||n(r.getRootNode().host)}return n(t)}function c_(e,t,n){const r=Ot(),{params:s}=e,i=s.edgeSwipeDetection,o=s.edgeSwipeThreshold;return i&&(n<=o||n>=r.innerWidth-o)?i==="prevent"?(t.preventDefault(),!0):!1:!0}function vz(e){const t=this;if(t.destroyed)return;const n=Wn();let r=e;r.originalEvent&&(r=r.originalEvent);const s=t.touchEventsData;if(r.type==="pointerdown"){if(s.pointerId!==null&&s.pointerId!==r.pointerId)return;s.pointerId=r.pointerId}else r.type==="touchstart"&&r.targetTouches.length===1&&(s.touchId=r.targetTouches[0].identifier);if(r.type==="touchstart"){c_(t,r,r.targetTouches[0].pageX);return}const{params:i,touches:o,enabled:a}=t;if(!a||!i.simulateTouch&&r.pointerType==="mouse"||t.animating&&i.preventInteractionOnTransition)return;!t.animating&&i.cssMode&&i.loop&&t.loopFix();let l=r.target;if(i.touchEventsTarget==="wrapper"&&!k2(l,t.wrapperEl)||"which"in r&&r.which===3||"button"in r&&r.button>0||s.isTouched&&s.isMoved)return;const u=!!i.noSwipingClass&&i.noSwipingClass!=="",d=r.composedPath?r.composedPath():r.path;u&&r.target&&r.target.shadowRoot&&d&&(l=d[0]);const c=i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`,f=!!(r.target&&r.target.shadowRoot);if(i.noSwiping&&(f?yz(c,l):l.closest(c))){t.allowClick=!0;return}if(i.swipeHandler&&!l.closest(i.swipeHandler))return;o.currentX=r.pageX,o.currentY=r.pageY;const p=o.currentX,y=o.currentY;if(!c_(t,r,p))return;Object.assign(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=p,o.startY=y,s.touchStartTime=nc(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,i.threshold>0&&(s.allowThresholdMove=!1);let v=!0;l.matches(s.focusableElements)&&(v=!1,l.nodeName==="SELECT"&&(s.isTouched=!1)),n.activeElement&&n.activeElement.matches(s.focusableElements)&&n.activeElement!==l&&(r.pointerType==="mouse"||r.pointerType!=="mouse"&&!l.matches(s.focusableElements))&&n.activeElement.blur();const S=v&&t.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||S)&&!l.isContentEditable&&r.preventDefault(),i.freeMode&&i.freeMode.enabled&&t.freeMode&&t.animating&&!i.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function _z(e){const t=Wn(),n=this;if(n.destroyed)return;const r=n.touchEventsData,{params:s,touches:i,rtlTranslate:o,enabled:a}=n;if(!a||!s.simulateTouch&&e.pointerType==="mouse")return;let l=e;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(r.touchId!==null||l.pointerId!==r.pointerId))return;let u;if(l.type==="touchmove"){if(u=[...l.changedTouches].find(w=>w.identifier===r.touchId),!u||u.identifier!==r.touchId)return}else u=l;if(!r.isTouched){r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",l);return}const d=u.pageX,c=u.pageY;if(l.preventedByNestedSwiper){i.startX=d,i.startY=c;return}if(!n.allowTouchMove){l.target.matches(r.focusableElements)||(n.allowClick=!1),r.isTouched&&(Object.assign(i,{startX:d,startY:c,currentX:d,currentY:c}),r.touchStartTime=nc());return}if(s.touchReleaseOnEdges&&!s.loop)if(n.isVertical()){if(c<i.startY&&n.translate<=n.maxTranslate()||c>i.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else{if(o&&(d>i.startX&&-n.translate<=n.maxTranslate()||d<i.startX&&-n.translate>=n.minTranslate()))return;if(!o&&(d<i.startX&&n.translate<=n.maxTranslate()||d>i.startX&&n.translate>=n.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==l.target&&l.pointerType!=="mouse"&&t.activeElement.blur(),t.activeElement&&l.target===t.activeElement&&l.target.matches(r.focusableElements)){r.isMoved=!0,n.allowClick=!1;return}r.allowTouchCallbacks&&n.emit("touchMove",l),i.previousX=i.currentX,i.previousY=i.currentY,i.currentX=d,i.currentY=c;const f=i.currentX-i.startX,p=i.currentY-i.startY;if(n.params.threshold&&Math.sqrt(f**2+p**2)<n.params.threshold)return;if(typeof r.isScrolling>"u"){let w;n.isHorizontal()&&i.currentY===i.startY||n.isVertical()&&i.currentX===i.startX?r.isScrolling=!1:f*f+p*p>=25&&(w=Math.atan2(Math.abs(p),Math.abs(f))*180/Math.PI,r.isScrolling=n.isHorizontal()?w>s.touchAngle:90-w>s.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",l),typeof r.startMoving>"u"&&(i.currentX!==i.startX||i.currentY!==i.startY)&&(r.startMoving=!0),r.isScrolling||l.type==="touchmove"&&r.preventTouchMoveFromPointerMove){r.isTouched=!1;return}if(!r.startMoving)return;n.allowClick=!1,!s.cssMode&&l.cancelable&&l.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&l.stopPropagation();let y=n.isHorizontal()?f:p,v=n.isHorizontal()?i.currentX-i.previousX:i.currentY-i.previousY;s.oneWayMovement&&(y=Math.abs(y)*(o?1:-1),v=Math.abs(v)*(o?1:-1)),i.diff=y,y*=s.touchRatio,o&&(y=-y,v=-v);const S=n.touchesDirection;n.swipeDirection=y>0?"prev":"next",n.touchesDirection=v>0?"prev":"next";const m=n.params.loop&&!s.cssMode,h=n.touchesDirection==="next"&&n.allowSlideNext||n.touchesDirection==="prev"&&n.allowSlidePrev;if(!r.isMoved){if(m&&h&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const w=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});n.wrapperEl.dispatchEvent(w)}r.allowMomentumBounce=!1,s.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",l)}if(new Date().getTime(),s._loopSwapReset!==!1&&r.isMoved&&r.allowThresholdMove&&S!==n.touchesDirection&&m&&h&&Math.abs(y)>=1){Object.assign(i,{startX:d,startY:c,currentX:d,currentY:c,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}n.emit("sliderMove",l),r.isMoved=!0,r.currentTranslate=y+r.startTranslate;let g=!0,_=s.resistanceRatio;if(s.touchReleaseOnEdges&&(_=0),y>0?(m&&h&&r.allowThresholdMove&&r.currentTranslate>(s.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-(s.slidesPerView!=="auto"&&n.slides.length-s.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(g=!1,s.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+y)**_))):y<0&&(m&&h&&r.allowThresholdMove&&r.currentTranslate<(s.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+(s.slidesPerView!=="auto"&&n.slides.length-s.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-(s.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(parseFloat(s.slidesPerView,10)))}),r.currentTranslate<n.maxTranslate()&&(g=!1,s.resistance&&(r.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-r.startTranslate-y)**_))),g&&(l.preventedByNestedSwiper=!0),!n.allowSlideNext&&n.swipeDirection==="next"&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&n.swipeDirection==="prev"&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(r.currentTranslate=r.startTranslate),s.threshold>0)if(Math.abs(y)>s.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,r.currentTranslate=r.startTranslate,i.diff=n.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY;return}}else{r.currentTranslate=r.startTranslate;return}!s.followFinger||s.cssMode||((s.freeMode&&s.freeMode.enabled&&n.freeMode||s.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),s.freeMode&&s.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function Sz(e){const t=this;if(t.destroyed)return;const n=t.touchEventsData;let r=e;r.originalEvent&&(r=r.originalEvent);let s;if(r.type==="touchend"||r.type==="touchcancel"){if(s=[...r.changedTouches].find(w=>w.identifier===n.touchId),!s||s.identifier!==n.touchId)return}else{if(n.touchId!==null||r.pointerId!==n.pointerId)return;s=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(t.browser.isSafari||t.browser.isWebView)))return;n.pointerId=null,n.touchId=null;const{params:o,touches:a,rtlTranslate:l,slidesGrid:u,enabled:d}=t;if(!d||!o.simulateTouch&&r.pointerType==="mouse")return;if(n.allowTouchCallbacks&&t.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&o.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}o.grabCursor&&n.isMoved&&n.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const c=nc(),f=c-n.touchStartTime;if(t.allowClick){const w=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(w&&w[0]||r.target,w),t.emit("tap click",r),f<300&&c-n.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(n.lastClickTime=nc(),cx(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||a.diff===0&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let p;if(o.followFinger?p=l?t.translate:-t.translate:p=-n.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:p});return}const y=p>=-t.maxTranslate()&&!t.params.loop;let v=0,S=t.slidesSizesGrid[0];for(let w=0;w<u.length;w+=w<o.slidesPerGroupSkip?1:o.slidesPerGroup){const x=w<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;typeof u[w+x]<"u"?(y||p>=u[w]&&p<u[w+x])&&(v=w,S=u[w+x]-u[w]):(y||p>=u[w])&&(v=w,S=u[u.length-1]-u[u.length-2])}let m=null,h=null;o.rewind&&(t.isBeginning?h=o.virtual&&o.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(m=0));const g=(p-u[v])/S,_=v<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;if(f>o.longSwipesMs){if(!o.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(g>=o.longSwipesRatio?t.slideTo(o.rewind&&t.isEnd?m:v+_):t.slideTo(v)),t.swipeDirection==="prev"&&(g>1-o.longSwipesRatio?t.slideTo(v+_):h!==null&&g<0&&Math.abs(g)>o.longSwipesRatio?t.slideTo(h):t.slideTo(v))}else{if(!o.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(r.target===t.navigation.nextEl||r.target===t.navigation.prevEl)?r.target===t.navigation.nextEl?t.slideTo(v+_):t.slideTo(v):(t.swipeDirection==="next"&&t.slideTo(m!==null?m:v+_),t.swipeDirection==="prev"&&t.slideTo(h!==null?h:v))}}function d_(){const e=this,{params:t,el:n}=e;if(n&&n.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:s,snapGrid:i}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const a=o&&t.loop;if((t.slidesPerView==="auto"||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides&&!a){const l=o?e.virtual.slides:e.slides;e.slideTo(l.length-1,0,!1,!0)}else e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=s,e.allowSlideNext=r,e.params.watchOverflow&&i!==e.snapGrid&&e.checkOverflow()}function Ez(e){const t=this;t.destroyed||t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function wz(){const e=this;if(e.destroyed)return;const{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let s;const i=e.maxTranslate()-e.minTranslate();i===0?s=0:s=(e.translate-e.minTranslate())/i,s!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function Tz(e){const t=this;t.destroyed||(du(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update())}function xz(){const e=this;e.destroyed||e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const vx=(e,t)=>{const n=Wn(),{params:r,el:s,wrapperEl:i,device:o}=e,a=!!r.nested,l=t==="on"?"addEventListener":"removeEventListener",u=t;!s||typeof s=="string"||(n[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:a}),s[l]("touchstart",e.onTouchStart,{passive:!1}),s[l]("pointerdown",e.onTouchStart,{passive:!1}),n[l]("touchmove",e.onTouchMove,{passive:!1,capture:a}),n[l]("pointermove",e.onTouchMove,{passive:!1,capture:a}),n[l]("touchend",e.onTouchEnd,{passive:!0}),n[l]("pointerup",e.onTouchEnd,{passive:!0}),n[l]("pointercancel",e.onTouchEnd,{passive:!0}),n[l]("touchcancel",e.onTouchEnd,{passive:!0}),n[l]("pointerout",e.onTouchEnd,{passive:!0}),n[l]("pointerleave",e.onTouchEnd,{passive:!0}),n[l]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&s[l]("click",e.onClick,!0),r.cssMode&&i[l]("scroll",e.onScroll),r.updateOnWindowResize?e[u](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",d_,!0):e[u]("observerUpdate",d_,!0),s[l]("load",e.onLoad,{capture:!0}))};function kz(){const e=this,{params:t}=e;e.onTouchStart=vz.bind(e),e.onTouchMove=_z.bind(e),e.onTouchEnd=Sz.bind(e),e.onDocumentTouchStart=xz.bind(e),t.cssMode&&(e.onScroll=wz.bind(e)),e.onClick=Ez.bind(e),e.onLoad=Tz.bind(e),vx(e,"on")}function bz(){vx(this,"off")}var Cz={attachEvents:kz,detachEvents:bz};const f_=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function Iz(){const e=this,{realIndex:t,initialized:n,params:r,el:s}=e,i=r.breakpoints;if(!i||i&&Object.keys(i).length===0)return;const o=Wn(),a=r.breakpointsBase==="window"||!r.breakpointsBase?r.breakpointsBase:"container",l=["window","container"].includes(r.breakpointsBase)||!r.breakpointsBase?e.el:o.querySelector(r.breakpointsBase),u=e.getBreakpoint(i,a,l);if(!u||e.currentBreakpoint===u)return;const c=(u in i?i[u]:void 0)||e.originalParams,f=f_(e,r),p=f_(e,c),y=e.params.grabCursor,v=c.grabCursor,S=r.enabled;f&&!p?(s.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!f&&p&&(s.classList.add(`${r.containerModifierClass}grid`),(c.grid.fill&&c.grid.fill==="column"||!c.grid.fill&&r.grid.fill==="column")&&s.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),y&&!v?e.unsetGrabCursor():!y&&v&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(x=>{if(typeof c[x]>"u")return;const b=r[x]&&r[x].enabled,T=c[x]&&c[x].enabled;b&&!T&&e[x].disable(),!b&&T&&e[x].enable()});const m=c.direction&&c.direction!==r.direction,h=r.loop&&(c.slidesPerView!==r.slidesPerView||m),g=r.loop;m&&n&&e.changeDirection(),Ut(e.params,c);const _=e.params.enabled,w=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),S&&!_?e.disable():!S&&_&&e.enable(),e.currentBreakpoint=u,e.emit("_beforeBreakpoint",c),n&&(h?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!g&&w?(e.loopCreate(t),e.updateSlides()):g&&!w&&e.loopDestroy()),e.emit("breakpoint",c)}function Oz(e,t="window",n){if(!e||t==="container"&&!n)return;let r=!1;const s=Ot(),i=t==="window"?s.innerHeight:n.clientHeight,o=Object.keys(e).map(a=>
vendor: 4,808 bytes, line 292
292{if(typeof a=="string"&&a.indexOf("@")===0){const l=parseFloat(a.substr(1));return{value:i*l,point:a}}return{value:a,point:a}});o.sort((a,l)=>parseInt(a.value,10)-parseInt(l.value,10));for(let a=0;a<o.length;a+=1){const{point:l,value:u}=o[a];t==="window"?s.matchMedia(`(min-width: ${u}px)`).matches&&(r=l):u<=n.clientWidth&&(r=l)}return r||"max"}var Rz={setBreakpoint:Iz,getBreakpoint:Oz};function Az(e,t){const n=[];return e.forEach(r=>{typeof r=="object"?Object.keys(r).forEach(s=>{r[s]&&n.push(t+s)}):typeof r=="string"&&n.push(t+r)}),n}function Mz(){const e=this,{classNames:t,params:n,rtl:r,el:s,device:i}=e,o=Az(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:i.android},{ios:i.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...o),s.classList.add(...t),e.emitContainerClasses()}function Pz(){const e=this,{el:t,classNames:n}=e;!t||typeof t=="string"||(t.classList.remove(...n),e.emitContainerClasses())}var Nz={addClasses:Mz,removeClasses:Pz};function Lz(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const s=e.slides.length-1,i=e.slidesGrid[s]+e.slidesSizesGrid[s]+r*2;e.isLocked=e.size>i}else e.isLocked=e.snapGrid.length===1;n.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),n.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var Dz={checkOverflow:Lz},sh={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,snapToSlideEdge:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function $z(e,t){return function(r={}){const s=Object.keys(r)[0],i=r[s];if(typeof i!="object"||i===null){Ut(t,r);return}if(e[s]===!0&&(e[s]={enabled:!0}),s==="navigation"&&e[s]&&e[s].enabled&&!e[s].prevEl&&!e[s].nextEl&&(e[s].auto=!0),["pagination","scrollbar"].indexOf(s)>=0&&e[s]&&e[s].enabled&&!e[s].el&&(e[s].auto=!0),!(s in e&&"enabled"in i)){Ut(t,r);return}typeof e[s]=="object"&&!("enabled"in e[s])&&(e[s].enabled=!0),e[s]||(e[s]={enabled:!1}),Ut(t,r)}}const mf={eventsEmitter:N2,update:W2,translate:Z2,transition:tz,slide:uz,loop:pz,grabCursor:gz,events:Cz,breakpoints:Rz,checkOverflow:Dz,classes:Nz},gf={};let Zm=class Zn{constructor(...t){let n,r;t.length===1&&t[0].constructor&&Object.prototype.toString.call(t[0]).slice(8,-1)==="Object"?r=t[0]:[n,r]=t,r||(r={}),r=Ut({},r),n&&!r.el&&(r.el=n);const s=Wn();if(r.el&&typeof r.el=="string"&&s.querySelectorAll(r.el).length>1){const l=[];return s.querySelectorAll(r.el).forEach(u=>{const d=Ut({},r,{el:u});l.push(new Zn(d))}),l}const i=this;i.__swiper__=!0,i.support=hx(),i.device=mx({userAgent:r.userAgent}),i.browser=gx(),i.eventsListeners={},i.eventsAnyListeners=[],i.modules=[...i.__modules__],r.modules&&Array.isArray(r.modules)&&r.modules.forEac
vendor: 8,370 bytes, line 292
292h(l=>{typeof l=="function"&&i.modules.indexOf(l)<0&&i.modules.push(l)});const o={};i.modules.forEach(l=>{l({params:r,swiper:i,extendParams:$z(r,o),on:i.on.bind(i),once:i.once.bind(i),off:i.off.bind(i),emit:i.emit.bind(i)})});const a=Ut({},sh,o);return i.params=Ut({},a,gf,r),i.originalParams=Ut({},i.params),i.passedParams=Ut({},r),i.params&&i.params.on&&Object.keys(i.params.on).forEach(l=>{i.on(l,i.params.on[l])}),i.params&&i.params.onAny&&i.onAny(i.params.onAny),Object.assign(i,{enabled:i.params.enabled,el:n,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return i.params.direction==="horizontal"},isVertical(){return i.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:i.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:i.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),i.emit("_swiper"),i.params.init&&i.init(),i}getDirectionLabel(t){return this.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}getSlideIndex(t){const{slidesEl:n,params:r}=this,s=jn(n,`.${r.slideClass}, swiper-slide`),i=ic(s[0]);return ic(t)-i}getSlideIndexByData(t){return this.getSlideIndex(this.slides.find(n=>n.getAttribute("data-swiper-slide-index")*1===t))}getSlideIndexWhenGrid(t){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?t=Math.floor(t/this.params.grid.rows):this.params.grid.fill==="row"&&(t=t%Math.ceil(this.slides.length/this.params.grid.rows))),t}recalcSlides(){const t=this,{slidesEl:n,params:r}=t;t.slides=jn(n,`.${r.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,n){const r=this;t=Math.min(Math.max(t,0),1);const s=r.minTranslate(),o=(r.maxTranslate()-s)*t+s;r.translateTo(o,typeof n>"u"?0:n),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=t.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(t.params.containerModifierClass)===0);t.emit("_containerClasses",n.join(" "))}getSlideClasses(t){const n=this;return n.destroyed?"":t.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=[];t.slides.forEach(r=>{const s=t.getSlideClasses(r);n.push({slideEl:r,classNames:s}),t.emit("_slideClass",r,s)}),t.emit("_slideClasses",n)}slidesPerViewDynamic(t="current",n=!1){const r=this,{params:s,slides:i,slidesGrid:o,slidesSizesGrid:a,size:l,activeIndex:u}=r;let d=1;if(typeof s.slidesPerView=="number")return s.slidesPerView;if(s.centeredSlides){let c=i[u]?Math.ceil(i[u].swiperSlideSize):0,f;for(let p=u+1;p<i.length;p+=1)i[p]&&!f&&(c+=Math.ceil(i[p].swiperSlideSize),d+=1,c>l&&(f=!0));for(let p=u-1;p>=0;p-=1)i[p]&&!f&&(c+=i[p].swiperSlideSize,d+=1,c>l&&(f=!0))}else if(t==="current")for(let c=u+1;c<i.length;c+=1)(n?o[c]+a[c]-o[u]<l:o[c]-o[u]<l)&&(d+=1);else for(let c=u-1;c>=0;c-=1)o[u]-o[c]<l&&(d+=1);return d}update(){const t=this;if(!t||t.destroyed)return;const{snapGrid:n,params:r}=t;r.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(o=>{o.complete&&du(t,o)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function s(){const o=t.rtlTranslate?t.translate*-1:t.translate,a=Math.min(Math.max(o,t.maxTranslate()),t.minTranslate());t.setTranslate(a),t.updateActiveIndex(),t.updateSlidesClasses()}let i;if(r.freeMode&&r.freeMode.enabled&&!r.cssMode)s(),r.autoHeight&&t.updateAutoHeight();else{if((r.slidesPerView==="auto"||r.slidesPerView>1)&&t.isEnd&&!r.centeredSlides){const o=t.virtual&&r.virtual.enabled?t.virtual.slides:t.slides;i=t.slideTo(o.length-1,0,!1,!0)}else i=t.slideTo(t.activeIndex,0,!1,!0);i||s()}r.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,n=!0){const r=this,s=r.params.direction;return t||(t=s==="horizontal"?"vertical":"horizontal"),t===s||t!=="horizontal"&&t!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${s}`),r.el.classList.add(`${r.params.containerModifierClass}${t}`),r.emitContainerClasses(),r.params.direction=t,r.slides.forEach(i=>{t==="vertical"?i.style.width="":i.style.height=""}),r.emit("changeDirection"),n&&r.update()),r}changeLanguageDirection(t){const n=this;n.rtl&&t==="rtl"||!n.rtl&&t==="ltr"||(n.rtl=t==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.el.classList.add(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.el.classList.remove(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(t){const n=this;if(n.mounted)return!0;let r=t||n.params.el;if(typeof r=="string"&&(r=document.querySelector(r)),!r)return!1;r.swiper=n,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===n.params.swiperElementNodeName.toUpperCase()&&(n.isElement=!0);const s=()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(s()):jn(r,s())[0];return!o&&n.params.createElements&&(o=sc("div",n.params.wrapperClass),r.append(o),jn(r,`.${n.params.slideClass}`).forEach(a=>{o.append(a)})),Object.assign(n,{el:r,wrapperEl:o,slidesEl:n.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:o,hostEl:n.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||$r(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||$r(r,"direction")==="rtl"),wrongRTL:$r(o,"display")==="-webkit-box"}),!0}init(t){const n=this;if(n.initialized||n.mount(t)===!1)return n;n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(),n.params.loop&&n.virtual&&n.params.virtual.enabled?n.slideTo(n.params.initialSlide+n.virtual.slidesBefore,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.params.loop&&n.loopCreate(void 0,!0),n.attachEvents();const s=[...n.el.querySelectorAll('[loading="lazy"]')];return n.isElement&&s.push(...n.hostEl.querySelectorAll('[loading="lazy"]')),s.forEach(i=>{i.complete?du(n,i):i.addEventListener("load",o=>{du(n,o.target)})}),rh(n),n.initialized=!0,rh(n),n.emit("init"),n.emit("afterInit"),n}destroy(t=!0,n=!0){const r=this,{params:s,el:i,wrapperEl:o,slides:a}=r;return typeof r.params>"u"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),s.loop&&r.loopDestroy(),n&&(r.removeClasses(),i&&typeof i!="string"&&i.removeAttribute("style"),o&&o.removeAttribute("style"),a&&a.length&&a.forEach(l=>{l.classList.remove(s.slideVisibleClass,s.slideFullyVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(l=>{r.off(l)}),t!==!1&&(r.el&&typeof r.el!="string"&&(r.el.swiper=null),S2(r)),r.destroyed=!0),null}static extendDefaults(t){Ut(gf,t)}static get extendedDefaults(){return gf}static get defaults(){return sh}static installModule(t){Zn.prototype.__modules__||(Zn.prototype.__modules__=[]);const n=Zn.prototype.__modules__;typeof t=="function"&&n.indexOf(t)<0&&n.push(t)}static use(t){return Array.isArray(t)?(t.forEach(n=>Zn.installModule(n)),Zn):(Zn.installModule(t),Zn)}};
vendor: 4,866 bytes, line 292
292Object.keys(mf).forEach(e=>{Object.keys(mf[e]).forEach(t=>{Zm.prototype[t]=mf[e][t]})});Zm.use([M2,P2]);const _x=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_snapToSlideEdge","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function js(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function $i(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof e[r]>"u"?e[r]=t[r]:js(t[r])&&js(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:$i(e[r],t[r]):e[r]=t[r]})}function Sx(e={}){return e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function Ex(e={}){return e.pagination&&typeof e.pagination.el>"u"}function wx(e={}){return e.scrollbar&&typeof e.scrollbar.el>"u"}function Tx(e=""){const t=e.split(" ").map(r=>r.trim()).filter(r=>!!r),n=[];return t.forEach(r=>{n.indexOf(r)<0&&n.push(r)}),n.join(" ")}function Fz(e=""){return e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function zz({swiper:e,slides:t,passedParams:n,changedParams:r,nextEl:s,prevEl:i,scrollbarEl:o,paginationEl:a}){const l=r.filter(T=>T!=="children"&&T!=="direction"&&T!=="wrapperClass"),{params:u,pagination:d,navigation:c,scrollbar:f,virtual:p,thumbs:y}=e;let v,S,m,h,g,_,w,x;r.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&!n.thumbs.swiper.destroyed&&u.thumbs&&(!u.thumbs.swiper||u.thumbs.swiper.destroyed)&&(v=!0),r.includes("controller")&&n.controller&&n.controller.control&&u.controller&&!u.controller.control&&(S=!0),r.includes("pagination")&&n.pagination&&(n.pagination.el||a)&&(u.pagination||u.pagination===!1)&&d&&!d.el&&(m=!0),r.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||o)&&(u.scrollbar||u.scrollbar===!1)&&f&&!f.el&&(h=!0),r.includes("navigation")&&n.navigation&&(n.navigation.prevEl||i)&&(n.navigation.nextEl||s)&&(u.navigation||u.navigation===!1)&&c&&!c.prevEl&&!c.nextEl&&(g=!0);const b=T=>{e[T]&&(e[T].destroy(),T==="navigation"?(e.isElement&&(e[T].prevEl.remove(),e[T].nextEl.remove()),u[T].prevEl=void 0,u[T].nextEl=void 0,e[T].prevEl=void 0,e[T].nextEl=void 0):(e.isElement&&e[T].el.remove(),u[T].el=void 0,e[T].el=void 0))};r.includes("loop")&&e.isElement&&(u.loop&&!n.loop?_=!0:!u.loop&&n.loop?w=!0:x=!0),l.forEach(T=>{if(js(u[T])&&js(n[T]))Object.assign(u[T],n[T]),(T==="navigation"||T==="pagination"||T==="scrollbar")&&"enabled"in n[T]&&!n[T].enabled&&b(T);else{const R=n[T];(R===!0||R===!1)&&(T==="navigation"||T==="pagination"||T==="scrollbar")?R===!1&&b(T):u[T]=n[T]}}),l.includes("controller")&&!S&&e.controller&&e.controller.control&&u.controller&&u.controller.control&&(e.controller.control=u.controller.control),r.includes("children")&&t&&p&&u.virtual.enabled?(p.slides=t,p.update(!0)):r.includes("virtual")&&p&&u.virtual.enabled&&(t&&(p.slides=t),p.update(!0)),r.includes("children")&&t&&u.loop&&(x=!0),v&&y.init()&&y.update(!0),S&&(e.controller.control=u.controller.control),m&&(e.isElement&&(!a||typeof a=="str
292ing")&&(a=document.createElement("div"),a.classList.add("swiper-pagination"),a.part.add("pagination"),e.el.appendChild(a)),a&&(u.pagination.el=a),d.init(),d.render(),d.update()),h&&(e.isElement&&(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-scrollbar"),o.part.add("scrollbar"),e.el.appendChild(o)),o&&(u.scrollbar.el=o),f.init(),f.updateSize(),f.setTranslate()),g&&(e.isElement&&((!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-next"),oc(s,e.navigation.arrowSvg),s.part.add("button-next"),e.el.appendChild(s)),(!i||typeof i=="string")&&(i=document.createElement("div"),i.classList.add("swiper-button-prev"),oc(i,e.navigation.arrowSvg),i.part.add("button-prev"),e.el.appendChild(i))),s&&(u.navigation.nextEl=s),i&&(u.navigation.prevEl=i),c.init(),c.update()),r.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),r.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),r.includes("direction")&&e.changeDirection(n.direction,!1),(_||x)&&e.loopDestroy(),(w||x)&&e.loopCreate(),e.update()}function Bz(e={},t=!0){const n={on:{}},r={},s={};$i(n,sh),n._emitClasses=!0,n.init=!1;const i={},o=_x.map(l=>l.replace(/_/,"")),a=Object.assign({},e);return Object.keys(a).forEach(l=>{typeof e[l]>"u"||(o.indexOf(l)>=0?js(e[l])?(n[l]={},s[l]={},$i(n[l],e[l]),$i(s[l],e[l])):(n[l]=e[l],s[l]=e[l]):l.search(/on[A-Z]/)===0&&typeof e[l]=="function"?t?r[`${l[2].toLowerCase()}${l.substr(3)}`]=e[l]:n.on[`${l[2].toLowerCase()}${l.substr(3)}`]=e[l]:i[l]=e[l])}),["navigation","pagination","scrollbar"].forEach(l=>{n[l]===!0&&(n[l]={}),n[l]===!1&&delete n[l]}),{params:n,passedParams:s,rest:i,events:r}}function Uz({el:e,nextEl:t,prevEl:n,paginationEl:r,scrollbarEl:s,swiper:i},o){Sx(o)&&t&&n&&(i.params.navigation.nextEl=t,i.originalParams.navigation.nextEl=t,i.params.navigation.prevEl=n,i.originalParams.navigation.prevEl=n),Ex(o)&&r&&(i.params.pagination.el=r,i.originalParams.pagination.el=r),wx(o)&&s&&(i.params.scrollbar.el=s,i.originalParams.scrollbar.el=s),i.init(e)}function jz(e,t,n,r,s){const i=[];if(!t)return i;const o=l=>{i.indexOf(l)<0&&i.push(l)};if(n&&r){const l=r.map(s),u=n.map(s);l.join("")!==u.join("")&&o("children"),r.length!==n.length&&o("children")}return _x.filter(l=>l[0]==="_").map(l=>l.replace(/_/,"")).forEach(l=>{if(l in e&&l in t)if(js(e[l])&&js(t[l])){const u=Object.keys(e[l]),d=Object.keys(t[l]);u.length!==d.length?o(l):(u.forEach(c=>{e[l][c]!==t[l][c]&&o(l)}),d.forEach(c=>{e[l][c]!==t[l][c]&&o(l)}))}else e[l]!==t[l]&&o(l)}),i}const Vz=e=>{!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.emit("_virtualUpdated"),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function ac(){return ac=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ac.apply(this,arguments)}function xx(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function kx(e){const t=[];return J.Children.toArray(e).forEach(n=>{xx(n)?t.push(n):n.props&&n.props.children&&kx(n.props.children).forEach(r=>t.push(r))}),t}function Hz(e){const t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return J.Children.toArray(e).forEach(r=>{if(xx(r))t.push(r);else if(r.props&&r.props.slot&&n[r.props.slot])n[r.props.slot].push(r);else if(r.props&&r.props.children){const s=kx(r.props.children);s.length>0?s.forEach(i=>t.push(i)):n["container-end"].push(r)}else n["container-end"].push(r)}),{slides:t,slots:n}}function Wz(e,t,n){if(!n)return null;const r=d=>{let c=d;return d<0?c=t.length+d:c>=t.length&&(c=c-t.length),c},s=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:i,to:o}=n,a=e.params.loop?-t.length:0,l=e.params.loop?t.length*2:t.length,u=[];for(let d=a;d<l;d+=1)d>=i&&d<=o&&u.push(t[r(d)]);return u.map((d,c)=>J.cloneElement(d,{swiper:e,style:s,key:d.props.virtualIndex||d.key||`slide-${c}`}))}function oa(e,t){return typeof window>"u"?M.useEffect(e,t):M.useLayoutEffect(e,t)}const p_=M.createContext(null),Gz=M.createContext(null),qz=M.forwardRef(({className:e,tag:t="div",wrapperTag:n="div",children:r,onSwiper:s,...i}={},o)=>{let a=!1;const[l,u]=M.useState("swiper"),[d,c]=M.useState(null),[f,p]=M.useState(!1),y=M.useRef(!1),v=M.useRef(null),S=M.useRef(null),m=M.useRef(null),h=M.useRef(null),g=M.useRef(null),_=M.useRef(null),w=M.useRef(null),x=M.useRef(null),{params:b,passedParams:T,rest:R,events:k}=Bz(i),{slides:P,slots:A}=Hz(r),N=()=>{p(!f)};
vendor: 5,570 bytes, line 292
292Object.assign(b.on,{_containerClasses(C,L){u(L)}});const z=()=>{Object.assign(b.on,k),a=!0;const C={...b};if(delete C.wrapperClass,S.current=new Zm(C),S.current.virtual&&S.current.params.virtual.enabled){S.current.virtual.slides=P;const L={cache:!1,slides:P,renderExternal:c,renderExternalUpdate:!1};$i(S.current.params.virtual,L),$i(S.current.originalParams.virtual,L)}};v.current||z(),S.current&&S.current.on("_beforeBreakpoint",N);const G=()=>{a||!k||!S.current||Object.keys(k).forEach(C=>{S.current.on(C,k[C])})},q=()=>{!k||!S.current||Object.keys(k).forEach(C=>{S.current.off(C,k[C])})};M.useEffect(()=>()=>{S.current&&S.current.off("_beforeBreakpoint",N)}),M.useEffect(()=>{!y.current&&S.current&&(S.current.emitSlidesClasses(),y.current=!0)}),oa(()=>{if(o&&(o.current=v.current),!!v.current)return S.current.destroyed&&z(),Uz({el:v.current,nextEl:g.current,prevEl:_.current,paginationEl:w.current,scrollbarEl:x.current,swiper:S.current},b),s&&!S.current.destroyed&&s(S.current),()=>{S.current&&!S.current.destroyed&&S.current.destroy(!0,!1)}},[]),oa(()=>{G();const C=jz(T,m.current,P,h.current,L=>L.key);return m.current=T,h.current=P,C.length&&S.current&&!S.current.destroyed&&zz({swiper:S.current,slides:P,passedParams:T,changedParams:C,nextEl:g.current,prevEl:_.current,scrollbarEl:x.current,paginationEl:w.current}),()=>{q()}}),oa(()=>{Vz(S.current)},[d]);function V(){return b.virtual?Wz(S.current,P,d):P.map((C,L)=>J.cloneElement(C,{swiper:S.current,swiperSlideIndex:L}))}return J.createElement(t,ac({ref:v,className:Tx(`${l}${e?` ${e}`:""}`)},R),J.createElement(Gz.Provider,{value:S.current},A["container-start"],J.createElement(n,{className:Fz(b.wrapperClass)},A["wrapper-start"],V(),A["wrapper-end"]),Sx(b)&&J.createElement(J.Fragment,null,J.createElement("div",{ref:_,className:"swiper-button-prev"}),J.createElement("div",{ref:g,className:"swiper-button-next"})),wx(b)&&J.createElement("div",{ref:x,className:"swiper-scrollbar"}),Ex(b)&&J.createElement("div",{ref:w,className:"swiper-pagination"}),A["container-end"]))});qz.displayName="Swiper";const Yz=M.forwardRef(({tag:e="div",children:t,className:n="",swiper:r,zoom:s,lazy:i,virtualIndex:o,swiperSlideIndex:a,...l}={},u)=>{const d=M.useRef(null),[c,f]=M.useState("swiper-slide"),[p,y]=M.useState(!1);function v(g,_,w){_===d.current&&f(w)}oa(()=>{if(typeof a<"u"&&(d.current.swiperSlideIndex=a),u&&(u.current=d.current),!(!d.current||!r)){if(r.destroyed){c!=="swiper-slide"&&f("swiper-slide");return}return r.on("_slideClass",v),()=>{r&&r.off("_slideClass",v)}}}),oa(()=>{r&&d.current&&!r.destroyed&&f(r.getSlideClasses(d.current))},[r]);const S={isActive:c.indexOf("swiper-slide-active")>=0,isVisible:c.indexOf("swiper-slide-visible")>=0,isFullyVisible:c.indexOf("swiper-slide-fully-visible")>=0,isPrev:c.indexOf("swiper-slide-prev")>=0,isNext:c.indexOf("swiper-slide-next")>=0},m=()=>typeof t=="function"?t(S):t,h=()=>{y(!0)};return J.createElement(e,ac({ref:d,className:Tx(`${c}${n?` ${n}`:""}`),"data-swiper-slide-index":o,onLoad:h},l),s&&J.createElement(p_.Provider,{value:S},J.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof s=="number"?s:void 0},m(),i&&!p&&J.createElement("div",{className:"swiper-lazy-preloader",ref:g=>{g&&(g.lazyPreloaderManaged=!0)}}))),!s&&J.createElement(p_.Provider,{value:S},m(),i&&!p&&J.createElement("div",{className:"swiper-lazy-preloader",ref:g=>{g&&(g.lazyPreloaderManaged=!0)}})))});Yz.displayName="SwiperSlide";function Xz(e,t,n,r){return e.params.createElements&&Object.keys(r).forEach(s=>{if(!n[s]&&n.auto===!0){let i=jn(e.el,`.${r[s]}`)[0];i||(i=sc("div",r[s]),i.className=r[s],e.el.append(i)),n[s]=i,t[s]=i}}),n}function $o(e=""){return`.${e.trim().replace(/([\.:!+\/()[\]#>~*^$|=,'"@{}\\])/g,"\\$1").replace(/ /g,".")}`}function g3({swiper:e,extendParams:t,on:n,emit:r}){const s="swiper-pagination";t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:m=>m,formatFractionTotal:m=>m,bulletClass:`${s}-bullet`,bulletActiveClass:`${s}-bullet-active`,modifierClass:`${s}-`,currentClass:`${s}-current`,totalClass:`${s}-total`,hiddenClass:`${s}-hidden`,progressbarFillClass:`${s}-progressbar-fill`,progressbarOppositeClass:`${s}-progressbar-opposite`,clickableClass:`${s}-clickable`,lockClass:`${s}-lock`,horizontalClass:`${s}-horizontal`,verticalClass:`${s}-vertical`,paginationDisabledClass:`${s}-disabled`}}),e.pagination={el:null,bullets:[]};let i,o=0;function a(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function l(m,h){const{bulletActiveClass:g}=e.params.pagination;m&&(m=m[`${h==="prev"?"previous":"next"}ElementSibling`],m&&(m.classList.add(`${g}-${h}`),m=m[`${h==="prev"?"previous":"next"}ElementSibling`],m&&m.classList.add(`${g}-${h}-${h}`)))}function u(m,h,g){if(m=m%g,h=h%g,h===m+1)return"next";if(h===m-1)return"previous"}function d(m){const h=m.target.closest($o(e.params.pagination.bulletClass));if(!h)return;m.preventDefault();const g=ic(h)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===g)return;const _=u(e.realIndex,g,e.slides.length);_==="next"?e.slideNext():_==="previous"?e.slidePrev():e.slideToLoop(g)}else e.slideTo(g)}function c(){const m=e.rtl,h=e.params.pagination;if(a())return;let g=e.pagination.el;g=Xn(g);let _,w;const x=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,b=e.params.loop?Math.
vendor: 4,151 bytes, line 292
292ceil(x/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(w=e.previousRealIndex||0,_=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(_=e.snapIndex,w=e.previousSnapIndex):(w=e.previousIndex||0,_=e.activeIndex||0),h.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const T=e.pagination.bullets;let R,k,P;if(h.dynamicBullets&&(i=nh(T[0],e.isHorizontal()?"width":"height"),g.forEach(A=>{A.style[e.isHorizontal()?"width":"height"]=`${i*(h.dynamicMainBullets+4)}px`}),h.dynamicMainBullets>1&&w!==void 0&&(o+=_-(w||0),o>h.dynamicMainBullets-1?o=h.dynamicMainBullets-1:o<0&&(o=0)),R=Math.max(_-o,0),k=R+(Math.min(T.length,h.dynamicMainBullets)-1),P=(k+R)/2),T.forEach(A=>{const N=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(z=>`${h.bulletActiveClass}${z}`)].map(z=>typeof z=="string"&&z.includes(" ")?z.split(" "):z).flat();A.classList.remove(...N)}),g.length>1)T.forEach(A=>{const N=ic(A);N===_?A.classList.add(...h.bulletActiveClass.split(" ")):e.isElement&&A.setAttribute("part","bullet"),h.dynamicBullets&&(N>=R&&N<=k&&A.classList.add(...`${h.bulletActiveClass}-main`.split(" ")),N===R&&l(A,"prev"),N===k&&l(A,"next"))});else{const A=T[_];if(A&&A.classList.add(...h.bulletActiveClass.split(" ")),e.isElement&&T.forEach((N,z)=>{N.setAttribute("part",z===_?"bullet-active":"bullet")}),h.dynamicBullets){const N=T[R],z=T[k];for(let G=R;G<=k;G+=1)T[G]&&T[G].classList.add(...`${h.bulletActiveClass}-main`.split(" "));l(N,"prev"),l(z,"next")}}if(h.dynamicBullets){const A=Math.min(T.length,h.dynamicMainBullets+4),N=(i*A-i)/2-P*i,z=m?"right":"left";T.forEach(G=>{G.style[e.isHorizontal()?z:"top"]=`${N}px`})}}g.forEach((T,R)=>{if(h.type==="fraction"&&(T.querySelectorAll($o(h.currentClass)).forEach(k=>{k.textContent=h.formatFractionCurrent(_+1)}),T.querySelectorAll($o(h.totalClass)).forEach(k=>{k.textContent=h.formatFractionTotal(b)})),h.type==="progressbar"){let k;h.progressbarOpposite?k=e.isHorizontal()?"vertical":"horizontal":k=e.isHorizontal()?"horizontal":"vertical";const P=(_+1)/b;let A=1,N=1;k==="horizontal"?A=P:N=P,T.querySelectorAll($o(h.progressbarFillClass)).forEach(z=>{z.style.transform=`translate3d(0,0,0) scaleX(${A}) scaleY(${N})`,z.style.transitionDuration=`${e.params.speed}ms`})}h.type==="custom"&&h.renderCustom?(oc(T,h.renderCustom(e,_+1,b)),R===0&&r("paginationRender",T)):(R===0&&r("paginationRender",T),r("paginationUpdate",T)),e.params.watchOverflow&&e.enabled&&T.classList[e.isLocked?"add":"remove"](h.lockClass)})}function f(){const m=e.params.pagination;if(a())return;const h=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let g=e.pagination.el;g=Xn(g);let _="";if(m.type==="bullets"){let w=e.params.loop?Math.ceil(h/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&w>h&&(w=h);for(let x=0;x<w;x+=1)m.renderBullet?_+=m.renderBullet.call(e,x,m.bulletClass):_+=`<${m.bulletElement} ${e.isElement?'part="bullet"':""} class="${m.bulletClass}"></${m.bulletElement}>`}m.type==="fraction"&&(m.renderFraction?_=m.renderFraction.call(e,m.currentClass,m.totalClass):_=`<span class="${m.currentClass}"></span> / <span class="${m.totalClass}"></span>`),m.type==="progressbar"&&(m.renderProgressbar?_=m.renderProgressbar.call(e,m.progressbarFillClass):_=`<span class="${m.progressbarFillClass}"></span>`),e.pagination.bullets=[],g.forEach(w=>{m.type!=="custom"&&oc(w,_||""),m.type==="bullets"&&e.pagination.bullets.push(...w.querySelectorAll($o(m.bulletClass)))}),m.type!=="custom"&&r("paginationRender",g[0])}function p(){e.params.pagination=Xz(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const m=e.params.pagination;if(!m.el)return;let h;typeof m.el=="string"&&e.isElement&&(h=e.el.querySelector(m.el)),!h&&typeof m.el=="string"&&(h=[...document.querySelectorAll(m.el)]),h||(h=m.el),!(!h||h.length===0)&&(e.params.uniqueNavElements&&typeof m.el=="string"&&Array.isArray(h)&&h.length>1&&(h=[...e.el.querySelectorAll(m.el)],h.length>1&&(h=h.find(g=>
vendor: 4,228 bytes, line 292
292px(g,".swiper")[0]===e.el))),Array.isArray(h)&&h.length===1&&(h=h[0]),Object.assign(e.pagination,{el:h}),h=Xn(h),h.forEach(g=>{m.type==="bullets"&&m.clickable&&g.classList.add(...(m.clickableClass||"").split(" ")),g.classList.add(m.modifierClass+m.type),g.classList.add(e.isHorizontal()?m.horizontalClass:m.verticalClass),m.type==="bullets"&&m.dynamicBullets&&(g.classList.add(`${m.modifierClass}${m.type}-dynamic`),o=0,m.dynamicMainBullets<1&&(m.dynamicMainBullets=1)),m.type==="progressbar"&&m.progressbarOpposite&&g.classList.add(m.progressbarOppositeClass),m.clickable&&g.addEventListener("click",d),e.enabled||g.classList.add(m.lockClass)}))}function y(){const m=e.params.pagination;if(a())return;let h=e.pagination.el;h&&(h=Xn(h),h.forEach(g=>{g.classList.remove(m.hiddenClass),g.classList.remove(m.modifierClass+m.type),g.classList.remove(e.isHorizontal()?m.horizontalClass:m.verticalClass),m.clickable&&(g.classList.remove(...(m.clickableClass||"").split(" ")),g.removeEventListener("click",d))})),e.pagination.bullets&&e.pagination.bullets.forEach(g=>g.classList.remove(...m.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const m=e.params.pagination;let{el:h}=e.pagination;h=Xn(h),h.forEach(g=>{g.classList.remove(m.horizontalClass,m.verticalClass),g.classList.add(e.isHorizontal()?m.horizontalClass:m.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?S():(p(),f(),c())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&c()}),n("snapIndexChange",()=>{c()}),n("snapGridLengthChange",()=>{f(),c()}),n("destroy",()=>{y()}),n("enable disable",()=>{let{el:m}=e.pagination;m&&(m=Xn(m),m.forEach(h=>h.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{c()}),n("click",(m,h)=>{const g=h.target,_=Xn(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&_&&_.length>0&&!g.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&g===e.navigation.nextEl||e.navigation.prevEl&&g===e.navigation.prevEl))return;const w=_[0].classList.contains(e.params.pagination.hiddenClass);r(w===!0?"paginationShow":"paginationHide"),_.forEach(x=>x.classList.toggle(e.params.pagination.hiddenClass))}});const v=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:m}=e.pagination;m&&(m=Xn(m),m.forEach(h=>h.classList.remove(e.params.pagination.paginationDisabledClass))),p(),f(),c()},S=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:m}=e.pagination;m&&(m=Xn(m),m.forEach(h=>h.classList.add(e.params.pagination.paginationDisabledClass))),y()};Object.assign(e.pagination,{enable:v,disable:S,render:f,update:c,init:p,destroy:y})}function y3({swiper:e,extendParams:t,on:n,emit:r,params:s}){e.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let i,o,a=s&&s.autoplay?s.autoplay.delay:3e3,l=s&&s.autoplay?s.autoplay.delay:3e3,u,d=new Date().getTime(),c,f,p,y,v,S;function m(V){!e||e.destroyed||!e.wrapperEl||V.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",m),!(S||V.detail&&V.detail.bySwiperTouchMove)&&R())}const h=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?c=!0:c&&(l=u,c=!1);const V=e.autoplay.paused?u:d+l-new Date().getTime();e.autoplay.timeLeft=V,r("autoplayTimeLeft",V,V/a),o=requestAnimationFrame(()=>{h()})},g=()=>{let V;return e.virtual&&e.params.virtual.enabled?V=e.slides.find(L=>L.classList.contains("swiper-slide-active")):V=e.slides[e.activeIndex],V?parseInt(V.getAttribute("data-swiper-autoplay"),10):void 0},_=()=>{let V=e.params.autoplay.delay;const C=g();return!Number.isNaN(C)&&C>0&&(V=C),V},w=V=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(o),h();let C=V;typeof C>"u"&&(C=_(),a=C,l=C),u=C;const L=e.params.speed,H=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(L,!0,!0),r("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,L,!0,!0),r("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(L,!0,
292!0),r("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,L,!0,!0),r("autoplay")),e.params.cssMode&&(d=new Date().getTime(),requestAnimationFrame(()=>{w()})))};return C>0?(clearTimeout(i),i=setTimeout(()=>{H()},C)):requestAnimationFrame(()=>{H()}),C},x=()=>{d=new Date().getTime(),e.autoplay.running=!0,w(),r("autoplayStart")},b=()=>{e.autoplay.running=!1,clearTimeout(i),cancelAnimationFrame(o),r("autoplayStop")},T=(V,C)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(i),V||(v=!0);const L=()=>{r("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",m):R()};if(e.autoplay.paused=!0,C){L();return}u=(u||e.params.autoplay.delay)-(new Date().getTime()-d),!(e.isEnd&&u<0&&!e.params.loop)&&(u<0&&(u=0),L())},R=()=>{e.isEnd&&u<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(d=new Date().getTime(),v?(v=!1,w(u)):w(),e.autoplay.paused=!1,r("autoplayResume"))},k=()=>{if(e.destroyed||!e.autoplay.running)return;const V=Wn();V.visibilityState==="hidden"&&(v=!0,T(!0)),V.visibilityState==="visible"&&R()},P=V=>{V.pointerType==="mouse"&&(v=!0,S=!0,!(e.animating||e.autoplay.paused)&&T(!0))},A=V=>{V.pointerType==="mouse"&&(S=!1,e.autoplay.paused&&R())},N=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",P),e.el.addEventListener("pointerleave",A))},z=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",P),e.el.removeEventListener("pointerleave",A))},G=()=>{Wn().addEventListener("visibilitychange",k)},q=()=>{Wn().removeEventListener("visibilitychange",k)};n("init",()=>{e.params.autoplay.enabled&&(N(),G(),x())}),n("destroy",()=>{z(),q(),e.autoplay.running&&b()}),n("_freeModeStaticRelease",()=>{(p||v)&&R()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?b():T(!0,!0)}),n("beforeTransitionStart",(V,C,L)=>{e.destroyed||!e.autoplay.running||(L||!e.params.autoplay.disableOnInteraction?T(!0,!0):b())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){b();return}f=!0,p=!1,v=!1,y=setTimeout(()=>{v=!0,p=!0,T(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!f)){if(clearTimeout(y),clearTimeout(i),e.params.autoplay.disableOnInteraction){p=!1,f=!1;return}p&&e.params.cssMode&&R(),p=!1,f=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||e.autoplay.paused&&(u=_(),a=_())}),Object.assign(e.autoplay,{start:x,stop:b,pause:T,resume:R})}function Kz(e){const{effect:t,swiper:n,on:r,setTranslate:s,setTransition:i,overwriteParams:o,perspective:a,recreateShadows:l,getEffectParams:u}=e;r("beforeInit",()=>{if(n.params.effect!==t)return;n.classNames.push(`${n.params.containerModifierClass}${t}`),a&&a()&&n.classNames.push(`${n.params.containerModifierClass}3d`);const c=o?o():{};Object.assign(n.params,c),Object.assign(n.originalParams,c)}),r("setTranslate _virtualUpdated",()=>{n.params.effect===t&&s()}),r("setTransition",(c,f)=>{n.params.effect===t&&i(f)}),r("transitionEnd",()=>{if(n.params.effect===t&&l){if(!u||!u().slideShadows)return;n.slides.forEach(c=>{c.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(f=>f.remove())}),l()}});let d;r("virtualUpdate",()=>{n.params.effect===t&&(n.slides.length||(d=!0),requestAnimationFrame(()=>{d&&n.slides&&n.slides.length&&(s(),d=!1)}))})}function Zz(e,t){const n=fx(t);return n!==t&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}function Qz({swiper:e,duration:t,transformElements:n,allSlides:r}){const{activeIndex:s}=e;if(e.params.virtualTranslate&&t!==0){let i=!1,o;o=n,o.forEach(a=>{I2(a,()=>{if(i||!e||e.destroyed)return;i=!0,e.animating=!1;const l=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(l)})})}}function v3({swiper:e,extendParams:t,on:n}){t({fadeEffect:{crossFade:!1}}),Kz({effect:"fade",swiper:e,on:n,setTranslate:()=>{const{slides:i}=e,o=e.params.fadeEffect;for(let a=0;a<i.length;a+=1){const l=e.slides[a];let d=-l.swiperSlideOffset;e.params.virtualTranslate||(d-=e.translate);let c=0;e.isHorizontal()||(c=d,d=0);const f=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(l.progress),0):1+Math.min(Math.max(l.progress,-1),0),p=Zz(o,l);p.style.opacity=f,p.style.transform=`translate3d(${d}px, ${c}px, 0px)`}},setTransition:i=>{const o=e.slides.map(a=>fx(a));o.forEach(a=>{a.style.transitionDuration=`${i}ms`}),Qz({swiper:e,duration:i,transformElements:o,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}var el=e=>e.type==="checkbox",Cs=e=>e instanceof Date,dt=e=>e==null;const bx=e=>typeof e=="object";var Fe=e=>!dt(e)&&!Array.isArray(e)&&bx(e)&&!Cs(e),Jz=e=>Fe(e)&&e.target?el(e.target)?e.target.checked:e.target.value:e,eB=(e,t)=>t.split(".").some((n,r,s)=>!isNaN(Number(n))&&e.has(s.slice(0,r).join("."))),tB=e=>{const t=e.constructor&&e.constructor.prototype;return Fe(t)&&t.hasOwnProperty("isPrototypeOf")},Qm=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function qe(e){if(e instanceof Date)return new Date(e);const t=typeof FileList<"u"&&e instanceof FileList;if(Qm&&(e instanceof Blob||t))return e;const n=Array.isArray(e);if(!n&&!(Fe(e)&&tB(e)))return e;const r=n?[]:Object.create(Object.getPrototypeOf(e));for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=qe(e[s]));return r}var tl=e=>/^\w*$/.test(e),Le=e=>e===void 0,Jm=e=>Array.isArray(e)?e.filter(Boolean):[],dd=e=>Jm(e.replace(/["|']|\]/g,"").split(/\.|\[/)),X=(e,t,n)=>{if(!t||!Fe(e))return n;const s=(tl(t)?[t]:dd(t)).reduce((i,o)=>dt(i)?void 0:i[o],e);return Le(s)||s===e?Le(e[t])?n:e[t]:s},$n=e=>typeof e=="boolean",sn=e=>typeof e=="function",Ce=(e,t,n)=>{let r=-1;const s=tl(t)?[t]:dd(t),i=s.length,o=i-1;for(;++r<i;){const a=s[r];let l=n;if(r!==o){const u=e[a];l=Fe(u)||Array.isArray(u)?u:isNaN(+s[r+1])?{}:[]}if(a==="__proto__"||a==="constructor"||a==="prototype")return;e[a]=l,e=e[a]}};const ii={BLUR:"blur",FOCUS_OUT:"focusout",SUBMIT:"submit",TRIGGER:"trigger",VALID:"valid"},Cn={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Sn={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},yf="form",Cx="root",nB=J.createContext(null);nB.displayName="HookFormControlContext";var rB=(e,t,n,r=!0)=>{const s={};for(const i in e)Object.defineProperty(s,i,{get:()=>{const o=i;return t._proxyFormState[o]!==Cn.all&&(t._proxyFormState[o]=!r||Cn.all),e[o]}});return s};const sB=typeof window<"u"?J.useLayoutEffect:J.useEffect;var _t=e=>
vendor: 4,263 bytes, line 292
292typeof e=="string",iB=(e,t,n,r,s)=>_t(e)?(r&&t.watch.add(e),X(n,e,s)):Array.isArray(e)?e.map(i=>(r&&t.watch.add(i),X(n,i))):(r&&(t.watchAll=!0),n),ih=e=>dt(e)||!bx(e);function Fn(e,t,n=new WeakSet){if(e===t)return!0;if(ih(e)||ih(t))return Object.is(e,t);if(Cs(e)&&Cs(t))return Object.is(e.getTime(),t.getTime());const r=Object.keys(e),s=Object.keys(t);if(r.length!==s.length)return!1;if(n.has(e)||n.has(t))return!0;n.add(e),n.add(t);for(const i of r){const o=e[i];if(!(i in t))return!1;if(i!=="ref"){const a=t[i];if(Cs(o)&&Cs(a)||(Fe(o)||Array.isArray(o))&&(Fe(a)||Array.isArray(a))?!Fn(o,a,n):!Object.is(o,a))return!1}}return!0}const oB=J.createContext(null);oB.displayName="HookFormContext";var Ix=(e,t,n,r,s)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:s||!0}}:{},aa=e=>Array.isArray(e)?e:[e],h_=()=>{let e=[];return{get observers(){return e},next:s=>{for(const i of e)i.next&&i.next(s)},subscribe:s=>(e.push(s),{unsubscribe:()=>{e=e.filter(i=>i!==s)}}),unsubscribe:()=>{e=[]}}};function Ox(e,t){const n={};for(const r in e)if(e.hasOwnProperty(r)){const s=e[r],i=t[r];if(s&&Fe(s)&&i){const o=Ox(s,i);Fe(o)&&(n[r]=o)}else e[r]&&(n[r]=i)}return n}var yt=e=>Fe(e)&&!Object.keys(e).length,eg=e=>e.type==="file",lc=e=>{if(!Qm)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Rx=e=>e.type==="select-multiple",tg=e=>e.type==="radio",aB=e=>tg(e)||el(e),vf=e=>lc(e)&&e.isConnected;function lB(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;){if(dt(e)){e=void 0;break}e=e[t[r]],r++}return e}function uB(e){for(const t in e)if(e.hasOwnProperty(t)&&!Le(e[t]))return!1;return!0}function Ye(e,t){if(_t(t)&&Object.prototype.hasOwnProperty.call(e,t))return delete e[t],e;const n=Array.isArray(t)?t:tl(t)?[t]:dd(t),r=n.length===1?e:lB(e,n),s=n.length-1,i=n[s];return r&&delete r[i],s!==0&&(Fe(r)&&yt(r)||Array.isArray(r)&&uB(r))&&Ye(e,n.slice(0,-1)),e}var cB=e=>{for(const t in e)if(sn(e[t]))return!0;return!1};function Ax(e){return Array.isArray(e)||Fe(e)&&!cB(e)}function oh(e,t={}){for(const n in e){const r=e[n];Ax(r)?(t[n]=Array.isArray(r)?[]:{},oh(r,t[n])):Le(r)||(t[n]=!0)}return t}function ah(e){if(e!==!1){if(e===!0)return!0;if(Array.isArray(e)){const t=e.map(n=>ah(n));return t.some(n=>n!==void 0)?t:void 0}if(Fe(e)){const t={};for(const n in e){const r=ah(e[n]);Le(r)||(t[n]=r)}return Object.keys(t).length?t:void 0}}}function li(e,t,n){n||(n=oh(t));for(const r in e){const s=e[r];if(Ax(s))Le(t)||ih(n[r])?n[r]=oh(s,Array.isArray(s)?[]:{}):li(s,dt(t)?{}:t[r],n[r]);else{const i=t[r];n[r]=!Fn(s,i)}}return ah(n)||{}}const m_={value:!1,isValid:!1},g_={value:!0,isValid:!0};var Mx=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(n=>n&&n.checked&&!n.disabled).map(n=>n.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Le(e[0].attributes.value)?Le(e[0].value)||e[0].value===""?g_:{value:e[0].value,isValid:!0}:g_:m_}return m_},Px=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>Le(e)?e:t?e===""?NaN:e&&+e:n&&_t(e)?new Date(e):r?r(e):e;const y_={isValid:!1,value:null};var Nx=e=>Array.isArray(e)?e.reduce((t,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:t,y_):y_;function v_(e){const t=e.ref;return eg(t)?t.files:tg(t)?Nx(e.refs).value:Rx(t)?[...t.selectedOptions].map(({value:n})=>n):el(t)?Mx(e.refs).value:Px(Le(t.value)?e.ref.value:t.value,e)}var dB=(e,t,n,r)=>{const s={};for(const i of e){const o=X(t,i);o&&Ce(s,i,o._f)}return{criteriaMode:n,names:[...e],fields:s,shouldUseNativeValidation:r}},uc=e=>e instanceof RegExp,Fo=e=>Le(e)?e:uc(e)?e.source:Fe(e)?uc(e.value)?e.value.source:e.value:e,__=e=>({isOnSubmit:!e||e===Cn.onSubmit,isOnBlur:e===Cn.onBlur,isOnChange:e===Cn.onChange,isOnAll:e===Cn.all,isOnTouch:e===Cn.onTouched});const S_="AsyncFunction";var fB=e=>!!e&&!!e.validate&&!!(sn(e.validate)&&e.validate.constructor.name===S_||Fe(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===S_)),pB=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),E_=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(r=>e.startsWith(r)&&/^\.\w+/.test(e.slice(r.length))));const la=(e,t,n,r)=>{for(const s of n||Object.keys(e)){const i=X(e,s);if(i){const{_f:o,...a}=i;
vendor: 4,268 bytes, line 292
292if(o){if(o.refs&&o.refs[0]&&t(o.refs[0],s)&&!r)return!0;if(o.ref&&t(o.ref,o.name)&&!r)return!0;if(la(a,t))break}else if(Fe(a)&&la(a,t))break}}};function w_(e,t,n){const r=X(e,n);if(r||tl(n))return{error:r,name:n};const s=n.split(".");for(;s.length;){const i=s.join("."),o=X(t,i),a=X(e,i);if(o&&!Array.isArray(o)&&n!==i)return{name:n};if(a&&a.type)return{name:i,error:a};if(a&&a.root&&a.root.type)return{name:`${i}.root`,error:a.root};s.pop()}return{name:n}}var hB=(e,t,n,r)=>{n(e);const{name:s,...i}=e;return yt(i)||r&&Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(o=>t[o]===(!r||Cn.all))},mB=(e,t,n)=>!e||!t||e===t||aa(e).some(r=>r&&(n?r===t:r.startsWith(t)||t.startsWith(r))),gB=(e,t,n,r,s)=>s.isOnAll?!1:!n&&s.isOnTouch?!(t||e):(n?r.isOnBlur:s.isOnBlur)?!e:(n?r.isOnChange:s.isOnChange)?e:!0,yB=(e,t)=>!Jm(X(e,t)).length&&Ye(e,t),T_=(e,t,n)=>{const r=aa(X(e,n));return Ce(r,Cx,t[n]),Ce(e,n,r),e};function x_(e,t,n="validate"){if(_t(e)||Array.isArray(e)&&e.every(_t)||$n(e)&&!e)return{type:n,message:_t(e)?e:"",ref:t}}var oi=e=>Fe(e)&&!uc(e)?e:{value:e,message:""},k_=async(e,t,n,r,s,i)=>{const{ref:o,refs:a,required:l,maxLength:u,minLength:d,min:c,max:f,pattern:p,validate:y,name:v,valueAsNumber:S,mount:m}=e._f,h=X(n,v);if(!m||t.has(v))return{};const g=a?a[0]:o,_=A=>{s&&g.reportValidity&&(g.setCustomValidity($n(A)?"":A||""),g.reportValidity())},w={},x=tg(o),b=el(o),T=x||b,R=(S||eg(o))&&Le(o.value)&&Le(h)||lc(o)&&o.value===""||h===""||Array.isArray(h)&&!h.length,k=Ix.bind(null,v,r,w),P=(A,N,z,G=Sn.maxLength,q=Sn.minLength)=>{const V=A?N:z;w[v]={type:A?G:q,message:V,ref:o,...k(A?G:q,V)}};if(i?!Array.isArray(h)||!h.length:l&&(!T&&(R||dt(h))||$n(h)&&!h||b&&!Mx(a).isValid||x&&!Nx(a).isValid)){const{value:A,message:N}=_t(l)?{value:!!l,message:l}:oi(l);if(A&&(w[v]={type:Sn.required,message:N,ref:g,...k(Sn.required,N)},!r))return _(N),w}if(!R&&(!dt(c)||!dt(f))){let A,N;const z=oi(f),G=oi(c);if(!dt(h)&&!isNaN(h)){const q=o.valueAsNumber||h&&+h;dt(z.value)||(A=q>z.value),dt(G.value)||(N=q<G.value)}else{const q=o.valueAsDate||new Date(h),V=H=>new Date(new Date().toDateString()+" "+H),C=o.type=="time",L=o.type=="week";_t(z.value)&&h&&(A=C?V(h)>V(z.value):L?h>z.value:q>new Date(z.value)),_t(G.value)&&h&&(N=C?V(h)<V(G.value):L?h<G.value:q<new Date(G.value))}if((A||N)&&(P(!!A,z.message,G.message,Sn.max,Sn.min),!r))return _(w[v].message),w}if((u||d)&&!R&&(_t(h)||i&&Array.isArray(h))){const A=oi(u),N=oi(d),z=!dt(A.value)&&h.length>+A.value,G=!dt(N.value)&&h.length<+N.value;if((z||G)&&(P(z,A.message,N.message),!r))return _(w[v].message),w}if(p&&!R&&_t(h)){const{value:A,message:N}=oi(p);if(uc(A)&&!h.match(A)&&(w[v]={type:Sn.pattern,message:N,ref:o,...k(Sn.pattern,N)},!r))return _(N),w}if(y){if(sn(y)){const A=await y(h,n),N=x_(A,g);if(N&&(w[v]={...N,...k(Sn.validate,N.message)},!r))return _(N.message),w}else if(Fe(y)){let A={};for(const N in y){if(!yt(A)&&!r)break;const z=x_(await y[N](h,n),g,N);z&&(A={...z,...k(N,z.message)},_(z.message),r&&(w[v]=A))}if(!yt(A)&&(w[v]={ref:g,...A},!r))return w}}return _(!0),w};const vB={mode:Cn.onSubmit,reValidateMode:Cn.onChange,shouldFocusError:!0},Lx={submitCount:0,isDirty:!1,isReady:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{}};function _B(e={}){let t={...vB,...e},n={...qe(Lx),isLoading:sn(t.defaultValues),errors:t.errors||{},disabled:t.disabled||!1},r={},s=Fe(t.defaultValues)||Fe(t.values)?qe(t.defaultValues||t.values)||{}:{},i=t.shouldUnregister?{}:qe(s),o={action:!1,mount:!1,watch:!1,keepIsValid:!1},a={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},l,u=0;const d={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},c={...d};let f={...c};const p={array:h_(),state:h_()},y=t.criteriaMode===Cn.all,v=E=>I=>{clearTimeout(u),u=setTimeout(E,I)},S=async E=>{if(!o.keepIsValid&&!t.disabled&&(c.isValid||f.isValid||E)){let I;t.resolver?(I=yt((await k()).errors),m()):I=await N({fields:r,onlyCheckValid:!0,eventType:ii.VALID}),I!==n.isValid&&p.state.next({isValid:I})}},m=(E,I)=>{!t.disabled&&(c.isValidating||c.validatingFields||f.isValidating||f.validatingFields)&&((E||Array.from(a.mount)).forEac
vendor: 7,894 bytes, line 292
292h(O=>{O&&(I?Ce(n.validatingFields,O,I):Ye(n.validatingFields,O))}),p.state.next({validatingFields:n.validatingFields,isValidating:!yt(n.validatingFields)}))},h=()=>{n.dirtyFields=li(s,i)},g=(E,I=[],O,F,j=!0,W=!0)=>{if(F&&O&&!t.disabled){if(o.action=!0,W&&Array.isArray(X(r,E))){const U=O(X(r,E),F.argA,F.argB);j&&Ce(r,E,U)}if(W&&Array.isArray(X(n.errors,E))){const U=O(X(n.errors,E),F.argA,F.argB);j&&Ce(n.errors,E,U),yB(n.errors,E)}if((c.touchedFields||f.touchedFields)&&W&&Array.isArray(X(n.touchedFields,E))){const U=O(X(n.touchedFields,E),F.argA,F.argB);j&&Ce(n.touchedFields,E,U)}(c.dirtyFields||f.dirtyFields)&&h(),p.state.next({name:E,isDirty:G(E,I),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else Ce(i,E,I)},_=(E,I)=>{Ce(n.errors,E,I),p.state.next({errors:n.errors})},w=E=>{n.errors=E,p.state.next({errors:n.errors,isValid:!1})},x=E=>{const I=tl(E)?[E]:dd(E);let O=i,F=s;for(let j=0;j<I.length-1;j++){const W=I[j];if(O=dt(O)?O:O[W],F=dt(F)?F:F[W],O===null&&F!==null)return!0}return!1},b=(E,I,O,F)=>{const j=X(r,E);if(j){if(x(E))return;const W=Le(X(i,E)),U=X(i,E,Le(O)?X(s,E):O);Le(U)||F&&F.defaultChecked||I?Ce(i,E,I?U:v_(j._f)):C(E,U),o.mount&&!o.action&&(S(),W&&n.isDirty&&(c.isDirty||f.isDirty)&&(G()||(n.isDirty=!1,p.state.next({...n}))))}},T=(E,I,O,F,j)=>{let W=!1,U=!1;const ee={name:E};if(!t.disabled){if(!O||F){(c.isDirty||f.isDirty)&&(U=n.isDirty,n.isDirty=ee.isDirty=G(),W=U!==ee.isDirty);const me=Fn(X(s,E),I);U=!!X(n.dirtyFields,E),me!==n.isDirty?n.dirtyFields=li(s,i):me?Ye(n.dirtyFields,E):Ce(n.dirtyFields,E,!0),ee.dirtyFields=n.dirtyFields,W=W||(c.dirtyFields||f.dirtyFields)&&U!==!me}if(O){const me=X(n.touchedFields,E);me||(Ce(n.touchedFields,E,O),ee.touchedFields=n.touchedFields,W=W||(c.touchedFields||f.touchedFields)&&me!==O)}W&&j&&p.state.next(ee)}return W?ee:{}},R=(E,I,O,F)=>{const j=X(n.errors,E),W=(c.isValid||f.isValid)&&$n(I)&&n.isValid!==I;if(t.delayError&&O?(l=v(()=>_(E,O)),l(t.delayError)):(clearTimeout(u),l=null,O?Ce(n.errors,E,O):Ye(n.errors,E)),(O?!Fn(j,O):j)||!yt(F)||W){const U={...F,...W&&$n(I)?{isValid:I}:{},errors:n.errors,name:E};n={...n,...U},p.state.next(U)}},k=async E=>(m(E,!0),await t.resolver(i,t.context,dB(E||a.mount,r,t.criteriaMode,t.shouldUseNativeValidation))),P=async E=>{const{errors:I}=await k(E);if(m(E),E)for(const O of E){const F=X(I,O);F?a.array.has(O)&&Fe(F)?T_(n.errors,{[O]:F},O):Ce(n.errors,O,F):Ye(n.errors,O)}else n.errors=I;return I},A=async({name:E,eventType:I})=>{if(e.validate){const O=await e.validate({formValues:i,formState:n,name:E,eventType:I});if(Fe(O))for(const F in O){const j=O[F];j&&hs(`${yf}.${F}`,{message:_t(j.message)?j.message:"",type:j.type||Sn.validate})}else _t(O)||!O?hs(yf,{message:O||"",type:Sn.validate}):Qs(yf);return O}return!0},N=async({fields:E,onlyCheckValid:I,name:O,eventType:F,context:j={valid:!0,runRootValidation:!1}})=>{if(e.validate&&(j.runRootValidation=!0,!await A({name:O,eventType:F})&&(j.valid=!1,I)))return j.valid;for(const W in E){const U=E[W];if(U){const{_f:ee,...me}=U;if(ee){const Ge=a.array.has(ee.name),Jt=U._f&&fB(U._f),yn=c.validatingFields||c.isValidating||f.validatingFields||f.isValidating;Jt&&yn&&m([ee.name],!0);const ys=await k_(U,a.disabled,i,y,t.shouldUseNativeValidation&&!I,Ge);if(Jt&&yn&&m([ee.name]),ys[ee.name]&&(j.valid=!1,I)||(!I&&(X(ys,ee.name)?Ge?T_(n.errors,ys,ee.name):Ce(n.errors,ee.name,ys[ee.name]):Ye(n.errors,ee.name)),e.shouldUseNativeValidation&&ys[ee.name]))break}!yt(me)&&await N({context:j,onlyCheckValid:I,fields:me,name:W,eventType:F})}}return j.valid},z=()=>{for(const E of a.unMount){const I=X(r,E);I&&(I._f.refs?I._f.refs.every(O=>!vf(O)):!vf(I._f.ref))&&To(E)}a.unMount=new Set},G=(E,I)=>!t.disabled&&(E&&I&&Ce(i,E,I),!Fn(Rt(),s)),q=(E,I,O)=>iB(E,a,{...o.mount?i:Le(I)?s:_t(E)?{[E]:I}:I},O,I),V=E=>Jm(X(o.mount?i:s,E,t.shouldUnregister?X(s,E,[]):[])),C=(E,I,O={},F=!1)=>{const j=X(r,E);let W=I;if(j){const U=j._f;U&&(!U.disabled&&Ce(i,E,Px(I,U)),W=lc(U.ref)&&dt(I)?"":I,Rx(U.ref)?[...U.ref.options].forEach(ee=>ee.selected=W.includes(ee.value)):U.refs?el(U.ref)?U.refs.forEach(ee=>{(!ee.defaultChecked||!ee.disabled)&&(Array.isArray(W)?ee.checked=!!W.find(me=>me===ee.value):ee.checked=W===ee.value||!!W)}):U.refs.forEach(ee=>ee.checked=ee.value===W):eg(U.ref)?U.ref.value="":(U.ref.value=W,U.ref.type||p.state.next({name:E,values:F?i:qe(i)})))}(O.shouldDirty||O.shouldTouch)&&T(E,W,O.shouldTouch,O.shouldDirty,!0),O.shouldValidate&&hn(E)},L=(E,I,O,F=!1)=>{for(const j in I){if(!I.hasOwnProperty(j))return;const W=I[j],U=E+"."+j,ee=X(r,U);(a.array.has(E)||Fe(W)||ee&&!ee._f)&&!Cs(W)?L(U,W,O,F):C(U,W,O,F)}},H=(E,I,O,F)=>{const j=X(r,E),W=a.array.has(E),U=F?I:qe(I),ee=X(i,E),me=Fn(ee,U);if(me||Ce(i,E,U),W)p.array.next({name:E,values:F?i:qe(i)}),(c.isDirty||c.dirtyFields||f.isDirty||f.dirtyFields)&&O.shouldDirty&&(h(),p.state.next({name:E,dirtyFields:n.dirtyFields,isDirty:G(E,U)}));else{const Ge=Array.isArray(U)&&!U.length||yt(U);!j||j._f||dt(U)||Ge?C(E,U,O,F):L(E,U,O,F)}if(!me){const Ge=E_(E,a),Jt=F?i:qe(i);p.state.next({...Ge&&n,name:o.mount||Ge?E:void 0,values:Jt})}},ue=(E,I,O={})=>H(E,I,O,!1),Ne=(E,I={})=>{const O=sn(E)?E(i):E;if(!Fn(i,O)){i={...i,...O};for(const F of a.mount)H(F,X(O,F),I,!0);p.state.next({...n,name:void 0,type:void 0,values:i}),I.shouldValidate&&S()}},Qt=async E=>{o.mount=!0;const I=E.target;let O=I.name,F=!0;const j=X(r,O),W=me=>{F=Number.isNaN(me)||Cs(me)&&isNaN(me.getTime())||Fn(me,X(i,O,me))},U=__(t.mode),ee=__(t.reValidateMode);if(j){let me,Ge;const Jt=I.type?v_(j._f):Jz(E),yn=E.type===ii.BLUR||E.type===ii.FOCUS_OUT,ys=!pB(j._f)&&!e.validate&&!t.resolver&&!X(n.errors,O)&&!j._f.deps||gB(yn,X(n.touchedFields,O),n.isSubmitted,ee,U),pd=E_(O,a,yn);Ce(i,O,Jt),yn?(!I||!I.readOnly)&&(j._f.onBlur&&j._f.onBlur(E),l&&l(0)):j._f.onChange&&j._f.onChange(E);const hd=T(O,Jt,yn),Bx=!yt(hd)||pd;if(!yn&&p.state.next({name:O,type:E.type,values:qe(i)}),ys)return(c.isValid||f.isValid)&&(t.mode==="onBlur"?yn&&S():yn||S()),Bx&&p.state.next({name:O,...pd?{}:hd});if(!t.resolver&&e.validate&&await A({name:O,eventType:E.type}),!yn&&pd&&p.state.next({...n}),t.resolver){const{errors:rg}=await k([O]);if(m([O]),W(Jt),F){const Ux=w_(n.errors,r,O),sg=w_(rg,r,Ux.name||O);me=sg.error,O=sg.name,Ge=yt(rg)}}else m([O],!0),me=(await k_(j,a.disabled,i,y,t.shouldUseNativeValidation))[O],m([O]),W(Jt),F&&(me?Ge=!1:(c.isValid||f.isValid)&&(Ge=await N({fields:r,onlyCheckValid:!0,name:O,eventType:E.type})));F&&(j._f.deps&&(!Array.isArray(j._f.deps)||j._f.deps.length>0)&&hn(j._f.deps),R(O,Ge,me,hd))}},ht=(E,I)=>{if(X(n.errors,I)&&E.focus)return E.focus(),1},hn=async(E,I={})=>{let O,F;const j=aa(E);if(t.resolver){const W=await P(Le(E)?E:j);O=yt(W),F=E?!j.some(U=>X(W,U)):O}else E?(F=(await Promise.all(j.map(async W=>{const U=X(r,W);return await N({fields:U&&U._f?{[W]:U}:U,eventType:ii.TRIGGER})}))).every(Boolean),!(!F&&!n.isValid)&&S()):F=O=await N({fields:r,name:E,eventType:ii.TRIGGER});return p.state.next({...!_t(E)||(c.isValid||f.isValid)&&O!==n.isValid?{}:{name:E},...t.resolver||!E?{isValid:O}:{},errors:n.errors}),I.shouldFocus&&!F&&la(r,ht,E?j:a.mount),F},Rt=(E,I)=>{let O={...o.mount?i:s};return I&&(O=Ox(I.dirtyFields?n.dirtyFields:n.touchedFields,O)),Le(E)?O:_t(E)?X(O,E):E.map(F=>X(O,F))},mn=(E,I)=>({invalid:!!X((I||n).errors,E),isDirty:!!X((I||n).dirtyFields,E),error:X((I||n).errors,E),isValidating:!!X(n.validatingFields,E),isTouched:!!X((I||n).touchedFields,E)}),Qs=E=>{const I=E?aa(E):void 0;I==null||I.forEach(O=>Ye(n.errors,O)),I?I.forEach(O=>{p.state.next({name:O,errors:n.errors})}):p.state.next({errors:{}})},hs=(E,I,O)=>{const F=(X(r,E,{_f:{}})._f||{}).ref,j=X(n.errors,E)||{},{ref:W,message:U,type:ee,...me}=j;Ce(n.errors,E,{...me,...I,ref:F}),p.state.next({name:E,errors:n.errors,isValid:!1}),O&&O.shouldFocus&&F&&F.focus&&F.focus()},Js=(E,I)=>sn(E)?p.state.subscribe({next:O=>"values"in O&&E(O.values||q(void 0,I),O)}):q(E,I,!0),wo=E=>p.state.subscribe({next:I=>
vendor: 7,992 bytes, line 292
292{if(mB(E.name,I.name,E.exact)&&hB(I,E.formState||c,Ae,E.reRenderRoot)){const O={...i};E.callback({values:O,...n,...I,defaultValues:s})}}}).unsubscribe,fd=E=>(o.mount=!0,f={...f,...E.formState},wo({...E,formState:{...d,...E.formState}})),To=(E,I={})=>{for(const O of E?aa(E):a.mount)a.mount.delete(O),a.array.delete(O),I.keepValue||(Ye(r,O),Ye(i,O)),!I.keepError&&Ye(n.errors,O),!I.keepDirty&&Ye(n.dirtyFields,O),!I.keepTouched&&Ye(n.touchedFields,O),!I.keepIsValidating&&Ye(n.validatingFields,O),!t.shouldUnregister&&!I.keepDefaultValue&&Ye(s,O);p.state.next({values:qe(i)}),p.state.next({...n,...I.keepDirty?{isDirty:G()}:{}}),!I.keepIsValid&&S()},Mn=({disabled:E,name:I})=>{if($n(E)&&o.mount||E||a.disabled.has(I)){const j=a.disabled.has(I)!==!!E;E?a.disabled.add(I):a.disabled.delete(I),j&&o.mount&&!o.action&&S()}},gn=(E,I={})=>{let O=X(r,E);const F=$n(I.disabled)||$n(t.disabled),j=!a.registerName.has(E)&&O&&O._f&&!O._f.mount;return Ce(r,E,{...O||{},_f:{...O&&O._f?O._f:{ref:{name:E}},name:E,mount:!0,...I}}),a.mount.add(E),O&&!j?Mn({disabled:$n(I.disabled)?I.disabled:t.disabled,name:E}):b(E,!0,I.value),{...F?{disabled:I.disabled||t.disabled}:{},...t.progressive?{required:!!I.required,min:Fo(I.min),max:Fo(I.max),minLength:Fo(I.minLength),maxLength:Fo(I.maxLength),pattern:Fo(I.pattern)}:{},name:E,onChange:Qt,onBlur:Qt,ref:W=>{if(W){a.registerName.add(E),gn(E,I),a.registerName.delete(E),O=X(r,E);const U=Le(W.value)&&W.querySelectorAll&&W.querySelectorAll("input,select,textarea")[0]||W,ee=aB(U),me=O._f.refs||[];if(ee?me.find(Ge=>Ge===U):U===O._f.ref)return;Ce(r,E,{_f:{...O._f,...ee?{refs:[...me.filter(vf),U,...Array.isArray(X(s,E))?[{}]:[]],ref:{type:U.type,name:E}}:{ref:U}}}),b(E,!1,void 0,U)}else O=X(r,E,{}),O._f&&(O._f.mount=!1),(t.shouldUnregister||I.shouldUnregister)&&!(eB(a.array,E)&&o.action)&&a.unMount.add(E)}}},ms=()=>t.shouldFocusError&&!t.shouldUseNativeValidation&&la(r,ht,a.mount),xo=E=>{$n(E)&&(p.state.next({disabled:E}),la(r,(I,O)=>{const F=X(r,O);F&&(I.disabled=F._f.disabled||E,Array.isArray(F._f.refs)&&F._f.refs.forEach(j=>{j.disabled=F._f.disabled||E}))},0,!1))},gs=(E,I)=>async O=>{let F;O&&(O.preventDefault&&O.preventDefault(),O.persist&&O.persist());let j=qe(i);if(p.state.next({isSubmitting:!0}),t.resolver){const{errors:W,values:U}=await k();m(),n.errors=W,j=qe(U)}else await N({fields:r,eventType:ii.SUBMIT});if(a.disabled.size)for(const W of a.disabled)Ye(j,W);if(Ye(n.errors,Cx),yt(n.errors)){p.state.next({errors:{}});try{await E(j,O)}catch(W){F=W}}else I&&await I({...n.errors},O),ms(),setTimeout(ms);if(p.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:yt(n.errors)&&!F,submitCount:n.submitCount+1,errors:n.errors}),F)throw F},ko=(E,I={})=>{X(r,E)&&(Le(I.defaultValue)?ue(E,qe(X(s,E))):(ue(E,I.defaultValue),Ce(s,E,qe(I.defaultValue))),I.keepTouched||Ye(n.touchedFields,E),I.keepDirty||(Ye(n.dirtyFields,E),n.isDirty=I.defaultValue?G(E,qe(X(s,E))):G()),I.keepError||(Ye(n.errors,E),c.isValid&&S()),p.state.next({...n}))},ye=(E,I={})=>{const O=E?qe(E):s,F=qe(O),j=yt(E),W=j?s:F;if(I.keepDefaultValues||(s=O),!I.keepValues){if(I.keepDirtyValues){const U=new Set([...a.mount,...Object.keys(li(s,i))]);for(const ee of Array.from(U)){const me=X(n.dirtyFields,ee),Ge=X(i,ee),Jt=X(W,ee);me&&!Le(Ge)?Ce(W,ee,Ge):!me&&!Le(Jt)&&ue(ee,Jt)}}else{if(Qm&&Le(E))for(const U of a.mount){const ee=X(r,U);if(ee&&ee._f){const me=Array.isArray(ee._f.refs)?ee._f.refs[0]:ee._f.ref;if(lc(me)){const Ge=me.closest("form");if(Ge){Ge.reset();break}}}}if(I.keepFieldsRef)for(const U of a.mount)ue(U,X(W,U));else r={}}i=t.shouldUnregister?I.keepDefaultValues?qe(s):{}:qe(W),p.array.next({values:{...W}}),p.state.next({values:{...W}})}a={mount:I.keepDirtyValues?a.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},o.mount=!c.isValid||!!I.keepIsValid||!!I.keepDirtyValues||!t.shouldUnregister&&!yt(W),o.watch=!!t.shouldUnregister,o.keepIsValid=!!I.keepIsValid,o.action=!1,I.keepErrors||(n.errors={}),p.state.next({submitCount:I.keepSubmitCount?n.submitCount:0,isDirty:j?!1:I.keepDirty?n.isDirty:!!(I.keepDefaultValues&&!Fn(E,s)),isSubmitted:I.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:j?{}:I.keepDirtyValues?I.keepDefaultValues&&i?li(s,i):n.dirtyFields:I.keepDefaultValues&&E?li(s,E):I.keepDirty?n.dirtyFields:{},touchedFields:I.keepTouched?n.touchedFields:{},errors:I.keepErrors?n.errors:{},isSubmitSuccessful:I.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:s})},At=(E,I)=>ye(sn(E)?E(i):E,{...t.resetOptions,...I}),he=(E,I={})=>{const O=X(r,E),F=O&&O._f;if(F){const j=F.refs?F.refs[0]:F.ref;j.focus&&setTimeout(()=>{j.focus(),I.shouldSelect&&sn(j.select)&&j.select()})}},Ae=E=>{n={...n,...E}},Pn={control:{register:gn,unregister:To,getFieldState:mn,handleSubmit:gs,setError:hs,_subscribe:wo,_runSchema:k,_updateIsValidating:m,_focusError:ms,_getWatch:q,_getDirty:G,_setValid:S,_setFieldArray:g,_setDisabledField:Mn,_setErrors:w,_getFieldArray:V,_reset:ye,_resetDefaultValues:()=>sn(t.defaultValues)&&t.defaultValues().then(E=>{At(E,t.resetOptions),p.state.next({isLoading:!1})}),_removeUnmounted:z,_disableForm:xo,_subjects:p,_proxyFormState:c,get _fields(){return r},get _formValues(){return i},get _state(){return o},set _state(E){o=E},get _defaultValues(){return s},get _names(){return a},set _names(E){a=E},get _formState(){return n},get _options(){return t},set _options(E){t={...t,...E}}},subscribe:fd,trigger:hn,register:gn,handleSubmit:gs,watch:Js,setValue:ue,setValues:Ne,getValues:Rt,reset:At,resetField:ko,clearErrors:Qs,unregister:To,setError:hs,setFocus:he,getFieldState:mn};return{...Pn,formControl:Pn}}function _3(e={}){const t=J.useRef(void 0),n=J.useRef(void 0),[r,s]=J.useState(()=>({...qe(Lx),isLoading:sn(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:sn(e.defaultValues)?void 0:e.defaultValues}));if(!t.current)if(e.formControl)t.current={...e.formControl,formState:r},e.defaultValues&&!sn(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:o,...a}=_B(e);t.current={...a,formState:r}}const i=t.current.control;return i._options=e,sB(()=>{const o=i._subscribe({formState:i._proxyFormState,callback:()=>s({...i._formState,defaultValues:i._defaultValues}),reRenderRoot:!0});return s(a=>({...a,isReady:!0})),i._formState.isReady=!0,o},[i]),J.useEffect(()=>i._disableForm(e.disabled),[i,e.disabled]),J.useEffect(()=>{e.mode&&(i._options.mode=e.mode),e.reValidateMode&&(i._options.reValidateMode=e.reValidateMode)},[i,e.mode,e.reValidateMode]),J.useEffect(()=>{e.errors&&(i._setErrors(e.errors),i._focusError())},[i,e.errors]),J.useEffect(()=>{e.shouldUnregister&&i._subjects.state.next({values:i._getWatch()})},[i,e.shouldUnregister]),J.useEffect(()=>{if(i._proxyFormState.isDirty){const o=i._getDirty();o!==r.isDirty&&i._subjects.state.next({isDirty:o})}},[i,r.isDirty]),J.useEffect(()=>{var o;e.values&&!Fn(e.values,n.current)?(i._reset(e.values,{keepFieldsRef:!0,...i._options.resetOptions}),!((o=i._options.resetOptions)===null||o===void 0)&&o.keepIsValid||i._setValid(),n.current=e.values,s(a=>({...a}))):i._resetDefaultValues()},[i,e.values]),J.useEffect(()=>{i._state.mount||(i._setValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()}),t.current.formState=J.useMemo(()=>rB(r,i),[i,r]),t.current}var Te;(function(e){e.assertEqual=s=>{};function t(s){}e.assertIs=t;function n(s){throw new Error}e.assertNever=n,e.arrayToEnum=s=>{const i={};for(const o of s)i[o]=o;return i},e.getValidEnumValues=s=>{const i=e.objectKeys(s).filter(a=>typeof s[s[a]]!="number"),o={};for(const a of i)o[a]=s[a];return e.objectValues(o)},e.objectValues=s=>e.objectKeys(s).map(function(i){return s[i]}),e.objectKeys=typeof Object.keys=="function"?s=>Object.keys(s):s=>{const i=[];for(const o in s)Object.prototype.hasOwnProperty.call(s,o)&&i.push(o);return i},e.find=(s,i)=>{for(const o of s)if(i(o))return o}
vendor: 5,815 bytes, line 292
292,e.isInteger=typeof Number.isInteger=="function"?s=>Number.isInteger(s):s=>typeof s=="number"&&Number.isFinite(s)&&Math.floor(s)===s;function r(s,i=" | "){return s.map(o=>typeof o=="string"?`'${o}'`:o).join(i)}e.joinValues=r,e.jsonStringifyReplacer=(s,i)=>typeof i=="bigint"?i.toString():i})(Te||(Te={}));var b_;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(b_||(b_={}));const Z=Te.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Rr=e=>{switch(typeof e){case"undefined":return Z.undefined;case"string":return Z.string;case"number":return Number.isNaN(e)?Z.nan:Z.number;case"boolean":return Z.boolean;case"function":return Z.function;case"bigint":return Z.bigint;case"symbol":return Z.symbol;case"object":return Array.isArray(e)?Z.array:e===null?Z.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?Z.promise:typeof Map<"u"&&e instanceof Map?Z.map:typeof Set<"u"&&e instanceof Set?Z.set:typeof Date<"u"&&e instanceof Date?Z.date:Z.object;default:return Z.unknown}},$=Te.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class vr extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){const n=t||function(i){return i.message},r={_errors:[]},s=i=>{for(const o of i.issues)if(o.code==="invalid_union")o.unionErrors.map(s);else if(o.code==="invalid_return_type")s(o.returnTypeError);else if(o.code==="invalid_arguments")s(o.argumentsError);else if(o.path.length===0)r._errors.push(n(o));else{let a=r,l=0;for(;l<o.path.length;){const u=o.path[l];l===o.path.length-1?(a[u]=a[u]||{_errors:[]},a[u]._errors.push(n(o))):a[u]=a[u]||{_errors:[]},a=a[u],l++}}};return s(this),r}static assert(t){if(!(t instanceof vr))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Te.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const s of this.issues)if(s.path.length>0){const i=s.path[0];n[i]=n[i]||[],n[i].push(t(s))}else r.push(t(s));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}vr.create=e=>new vr(e);const lh=(e,t)=>{let n;switch(e.code){case $.invalid_type:e.received===Z.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case $.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Te.jsonStringifyReplacer)}`;break;case $.unrecognized_keys:n=`Unrecognized key(s) in object: ${Te.joinValues(e.keys,", ")}`;break;case $.invalid_union:n="Invalid input";break;case $.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Te.joinValues(e.options)}`;break;case $.invalid_enum_value:n=`Invalid enum value. Expected ${Te.joinValues(e.options)}, received '${e.received}'`;break;case $.invalid_arguments:n="Invalid function arguments";break;case $.invalid_return_type:n="Invalid function return type";break;case $.invalid_date:n="Invalid date";break;case $.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:Te.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case $.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case $.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case $.custom:n="Invalid input";break;case $.invalid_intersection_types:n="Intersection results could not be merged";break;case $.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case $.not_finite:n="Number must be finite";break;default:n=t.defaultError,Te.assertNever(e)}return{message:n}};let SB=lh;function EB(){return SB}const wB=e=>
vendor: 7,205 bytes, line 292
292{const{data:t,path:n,errorMaps:r,issueData:s}=e,i=[...n,...s.path||[]],o={...s,path:i};if(s.message!==void 0)return{...s,path:i,message:s.message};let a="";const l=r.filter(u=>!!u).slice().reverse();for(const u of l)a=u(o,{data:t,defaultError:a}).message;return{...s,path:i,message:a}};function Y(e,t){const n=EB(),r=wB({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===lh?void 0:lh].filter(s=>!!s)});e.common.issues.push(r)}class Yt{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const s of n){if(s.status==="aborted")return oe;s.status==="dirty"&&t.dirty(),r.push(s.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const s of n){const i=await s.key,o=await s.value;r.push({key:i,value:o})}return Yt.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const s of n){const{key:i,value:o}=s;if(i.status==="aborted"||o.status==="aborted")return oe;i.status==="dirty"&&t.dirty(),o.status==="dirty"&&t.dirty(),i.value!=="__proto__"&&(typeof o.value<"u"||s.alwaysSet)&&(r[i.value]=o.value)}return{status:t.value,value:r}}}const oe=Object.freeze({status:"aborted"}),Vo=e=>({status:"dirty",value:e}),pn=e=>({status:"valid",value:e}),C_=e=>e.status==="aborted",I_=e=>e.status==="dirty",ro=e=>e.status==="valid",cc=e=>typeof Promise<"u"&&e instanceof Promise;var Q;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(Q||(Q={}));class ss{constructor(t,n,r,s){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=s}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const O_=(e,t)=>{if(ro(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new vr(e.common.issues);return this._error=n,this._error}}};function de(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:s}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:s}:{errorMap:(o,a)=>{const{message:l}=e;return o.code==="invalid_enum_value"?{message:l??a.defaultError}:typeof a.data>"u"?{message:l??r??a.defaultError}:o.code!=="invalid_type"?{message:a.defaultError}:{message:l??n??a.defaultError}},description:s}}class Ee{get description(){return this._def.description}_getType(t){return Rr(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Rr(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Yt,ctx:{common:t.parent.common,data:t.data,parsedType:Rr(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(cc(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){const r={common:{issues:[],async:(n==null?void 0:n.async)??!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Rr(t)},s=this._parseSync({data:t,path:r.path,parent:r});return O_(r,s)}"~validate"(t){var r,s;const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Rr(t)};if(!this["~standard"].async)try{const i=this._parseSync({data:t,path:[],parent:n});return ro(i)?{value:i.value}:{issues:n.common.issues}}catch(i){(s=(r=i==null?void 0:i.message)==null?void 0:r.toLowerCase())!=null&&s.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:n}).then(i=>ro(i)?{value:i.value}:{issues:n.common.issues})}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Rr(t)},s=this._parse({data:t,path:r.path,parent:r}),i=await(cc(s)?s:Promise.resolve(s));return O_(r,i)}refine(t,n){const r=s=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(s):n;return this._refinement((s,i)=>{const o=t(s),a=()=>i.addIssue({code:$.custom,...r(s)});return typeof Promise<"u"&&o instanceof Promise?o.then(l=>l?!0:(a(),!1)):o?!0:(a(),!1)})}refinement(t,n){return this._refinement((r,s)=>t(r)?!0:(s.addIssue(typeof n=="function"?n(r,s):n),!1))}_refinement(t){return new io({schema:this,typeName:ae.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return Kr.create(this,this._def)}nullable(){return oo.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Gn.create(this)}promise(){return hc.create(this,this._def)}or(t){return fc.create([this,t],this._def)}and(t){return pc.create(this,t,this._def)}transform(t){return new io({...de(this._def),schema:this,typeName:ae.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new ch({...de(this._def),innerType:this,defaultValue:n,typeName:ae.ZodDefault})}brand(){return new WB({typeName:ae.ZodBranded,type:this,...de(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new dh({...de(this._def),innerType:this,catchValue:n,typeName:ae.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return ng.create(this,t)}readonly(){return fh.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const TB=/^c[^\s-]{8,}
vendor: 4,604 bytes, line 292
292$/i,xB=/^[0-9a-z]+$/,kB=/^[0-9A-HJKMNP-TV-Z]{26}$/i,bB=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,CB=/^[a-z0-9_-]{21}$/i,IB=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,OB=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,RB=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,AB="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let _f;const MB=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,PB=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,NB=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,LB=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,DB=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,$B=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Dx="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",FB=new RegExp(`^${Dx}$`);function $x(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);const n=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function zB(e){return new RegExp(`^${$x(e)}$`)}function BB(e){let t=`${Dx}T${$x(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function UB(e,t){return!!((t==="v4"||!t)&&MB.test(e)||(t==="v6"||!t)&&NB.test(e))}function jB(e,t){if(!IB.test(e))return!1;try{const[n]=e.split(".");if(!n)return!1;const r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),s=JSON.parse(atob(r));return!(typeof s!="object"||s===null||"typ"in s&&(s==null?void 0:s.typ)!=="JWT"||!s.alg||t&&s.alg!==t)}catch{return!1}}function VB(e,t){return!!((t==="v4"||!t)&&PB.test(e)||(t==="v6"||!t)&&LB.test(e))}class Fr extends Ee{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==Z.string){const i=this._getOrReturnCtx(t);return Y(i,{code:$.invalid_type,expected:Z.string,received:i.parsedType}),oe}const r=new Yt;let s;for(const i of this._def.checks)if(i.kind==="min")t.data.length<i.value&&(s=this._getOrReturnCtx(t,s),Y(s,{code:$.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="max")t.data.length>i.value&&(s=this._getOrReturnCtx(t,s),Y(s,{code:$.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="length"){const o=t.data.length>i.value,a=t.data.length<i.value;(o||a)&&(s=this._getOrReturnCtx(t,s),o?Y(s,{code:$.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):a&&Y(s,{code:$.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),r.dirty())}else if(i.kind==="email")RB.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"email",code:$.invali
vendor: 5,962 bytes, line 292
292d_string,message:i.message}),r.dirty());else if(i.kind==="emoji")_f||(_f=new RegExp(AB,"u")),_f.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"emoji",code:$.invalid_string,message:i.message}),r.dirty());else if(i.kind==="uuid")bB.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"uuid",code:$.invalid_string,message:i.message}),r.dirty());else if(i.kind==="nanoid")CB.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"nanoid",code:$.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid")TB.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"cuid",code:$.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid2")xB.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"cuid2",code:$.invalid_string,message:i.message}),r.dirty());else if(i.kind==="ulid")kB.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"ulid",code:$.invalid_string,message:i.message}),r.dirty());else if(i.kind==="url")try{new URL(t.data)}catch{s=this._getOrReturnCtx(t,s),Y(s,{validation:"url",code:$.invalid_string,message:i.message}),r.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"regex",code:$.invalid_string,message:i.message}),r.dirty())):i.kind==="trim"?t.data=t.data.trim():i.kind==="includes"?t.data.includes(i.value,i.position)||(s=this._getOrReturnCtx(t,s),Y(s,{code:$.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),r.dirty()):i.kind==="toLowerCase"?t.data=t.data.toLowerCase():i.kind==="toUpperCase"?t.data=t.data.toUpperCase():i.kind==="startsWith"?t.data.startsWith(i.value)||(s=this._getOrReturnCtx(t,s),Y(s,{code:$.invalid_string,validation:{startsWith:i.value},message:i.message}),r.dirty()):i.kind==="endsWith"?t.data.endsWith(i.value)||(s=this._getOrReturnCtx(t,s),Y(s,{code:$.invalid_string,validation:{endsWith:i.value},message:i.message}),r.dirty()):i.kind==="datetime"?BB(i).test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{code:$.invalid_string,validation:"datetime",message:i.message}),r.dirty()):i.kind==="date"?FB.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{code:$.invalid_string,validation:"date",message:i.message}),r.dirty()):i.kind==="time"?zB(i).test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{code:$.invalid_string,validation:"time",message:i.message}),r.dirty()):i.kind==="duration"?OB.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"duration",code:$.invalid_string,message:i.message}),r.dirty()):i.kind==="ip"?UB(t.data,i.version)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"ip",code:$.invalid_string,message:i.message}),r.dirty()):i.kind==="jwt"?jB(t.data,i.alg)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"jwt",code:$.invalid_string,message:i.message}),r.dirty()):i.kind==="cidr"?VB(t.data,i.version)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"cidr",code:$.invalid_string,message:i.message}),r.dirty()):i.kind==="base64"?DB.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"base64",code:$.invalid_string,message:i.message}),r.dirty()):i.kind==="base64url"?$B.test(t.data)||(s=this._getOrReturnCtx(t,s),Y(s,{validation:"base64url",code:$.invalid_string,message:i.message}),r.dirty()):Te.assertNever(i);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(s=>t.test(s),{validation:n,code:$.invalid_string,...Q.errToObj(r)})}_addCheck(t){return new Fr({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...Q.errToObj(t)})}url(t){return this._addCheck({kind:"url",...Q.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...Q.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...Q.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...Q.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...Q.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...Q.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...Q.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...Q.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...Q.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...Q.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...Q.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...Q.errToObj(t)})}datetime(t){return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(t==null?void 0:t.offset)??!1,local:(t==null?void 0:t.local)??!1,...Q.errToObj(t==null?void 0:t.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,...Q.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...Q.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...Q.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...Q.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...Q.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...Q.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...Q.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...Q.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...Q.errToObj(n)})}nonempty(t){return this.min(1,Q.errToObj(t))}trim(){return new Fr({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Fr({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Fr({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}
vendor: 4,642 bytes, line 292
292get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}Fr.create=e=>new Fr({checks:[],typeName:ae.ZodString,coerce:(e==null?void 0:e.coerce)??!1,...de(e)});function HB(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,s=n>r?n:r,i=Number.parseInt(e.toFixed(s).replace(".","")),o=Number.parseInt(t.toFixed(s).replace(".",""));return i%o/10**s}class Da extends Ee{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==Z.number){const i=this._getOrReturnCtx(t);return Y(i,{code:$.invalid_type,expected:Z.number,received:i.parsedType}),oe}let r;const s=new Yt;for(const i of this._def.checks)i.kind==="int"?Te.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),Y(r,{code:$.invalid_type,expected:"integer",received:"float",message:i.message}),s.dirty()):i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(r=this._getOrReturnCtx(t,r),Y(r,{code:$.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),s.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),Y(r,{code:$.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),s.dirty()):i.kind==="multipleOf"?HB(t.data,i.value)!==0&&(r=this._getOrReturnCtx(t,r),Y(r,{code:$.not_multiple_of,multipleOf:i.value,message:i.message}),s.dirty()):i.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),Y(r,{code:$.not_finite,message:i.message}),s.dirty()):Te.assertNever(i);return{status:s.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,Q.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Q.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Q.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Q.toString(n))}setLimit(t,n,r,s){return new Da({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:Q.toString(s)}]})}_addCheck(t){return new Da({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:Q.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Q.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Q.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Q.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Q.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Q.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:Q.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Q.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Q.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&Te.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}
vendor: 4,113 bytes, line 292
292}Da.create=e=>new Da({checks:[],typeName:ae.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...de(e)});class $a extends Ee{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==Z.bigint)return this._getInvalidInput(t);let r;const s=new Yt;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(r=this._getOrReturnCtx(t,r),Y(r,{code:$.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),s.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),Y(r,{code:$.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),s.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),Y(r,{code:$.not_multiple_of,multipleOf:i.value,message:i.message}),s.dirty()):Te.assertNever(i);return{status:s.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return Y(n,{code:$.invalid_type,expected:Z.bigint,received:n.parsedType}),oe}gte(t,n){return this.setLimit("min",t,!0,Q.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Q.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Q.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Q.toString(n))}setLimit(t,n,r,s){return new $a({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:Q.toString(s)}]})}_addCheck(t){return new $a({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Q.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Q.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Q.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Q.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Q.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}$a.create=e=>new $a({checks:[],typeName:ae.ZodBigInt,coerce:(e==null?void 0:e.coerce)??!1,...de(e)});class R_ extends Ee{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==Z.boolean){const r=this._getOrReturnCtx(t);return Y(r,{code:$.invalid_type,expected:Z.boolean,received:r.parsedType}),oe}return pn(t.data)}}R_.create=e=>new R_({typeName:ae.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...de(e)});class dc extends Ee{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==Z.date){const i=this._getOrReturnCtx(t);return Y(i,{code:$.invalid_type,expected:Z.date,received:i.parsedType}),oe}if(Number.isNaN(t.data.getTime())){const i=this._getOrReturnCtx(t);return Y(i,{code:$.invalid_date}),oe}const r=new Yt;let s;for(const i of this._def.checks)i.kind==="min"?t.data.getTime()<i.value&&(s=this._getOrReturnCtx(t,s),Y(s,{code:$.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),r.dirty()):i.kind==="max"?t.data.getTime()>i.value&&(s=this._getOrReturnCtx(t,s),Y(s,{code:$.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),r.dirty()):Te.assertNever(i);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new dc({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:Q.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:Q.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}dc.create=e=>new dc({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:ae.ZodDate,...de(e)});
vendor: 1,037 bytes, line 292
292class A_ extends Ee{_parse(t){if(this._getType(t)!==Z.symbol){const r=this._getOrReturnCtx(t);return Y(r,{code:$.invalid_type,expected:Z.symbol,received:r.parsedType}),oe}return pn(t.data)}}A_.create=e=>new A_({typeName:ae.ZodSymbol,...de(e)});class M_ extends Ee{_parse(t){if(this._getType(t)!==Z.undefined){const r=this._getOrReturnCtx(t);return Y(r,{code:$.invalid_type,expected:Z.undefined,received:r.parsedType}),oe}return pn(t.data)}}M_.create=e=>new M_({typeName:ae.ZodUndefined,...de(e)});class P_ extends Ee{_parse(t){if(this._getType(t)!==Z.null){const r=this._getOrReturnCtx(t);return Y(r,{code:$.invalid_type,expected:Z.null,received:r.parsedType}),oe}return pn(t.data)}}P_.create=e=>new P_({typeName:ae.ZodNull,...de(e)});class N_ extends Ee{constructor(){super(...arguments),this._any=!0}_parse(t){return pn(t.data)}}N_.create=e=>new N_({typeName:ae.ZodAny,...de(e)});class L_ extends Ee{constructor(){super(...arguments),this._unknown=!0}_parse(t){return pn(t.data)}}L_.create=e=>new L_({typeName:ae.ZodUnknown,...de(e)});
vendor: 5,356 bytes, line 292
292class is extends Ee{_parse(t){const n=this._getOrReturnCtx(t);return Y(n,{code:$.invalid_type,expected:Z.never,received:n.parsedType}),oe}}is.create=e=>new is({typeName:ae.ZodNever,...de(e)});class D_ extends Ee{_parse(t){if(this._getType(t)!==Z.undefined){const r=this._getOrReturnCtx(t);return Y(r,{code:$.invalid_type,expected:Z.void,received:r.parsedType}),oe}return pn(t.data)}}D_.create=e=>new D_({typeName:ae.ZodVoid,...de(e)});class Gn extends Ee{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),s=this._def;if(n.parsedType!==Z.array)return Y(n,{code:$.invalid_type,expected:Z.array,received:n.parsedType}),oe;if(s.exactLength!==null){const o=n.data.length>s.exactLength.value,a=n.data.length<s.exactLength.value;(o||a)&&(Y(n,{code:o?$.too_big:$.too_small,minimum:a?s.exactLength.value:void 0,maximum:o?s.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:s.exactLength.message}),r.dirty())}if(s.minLength!==null&&n.data.length<s.minLength.value&&(Y(n,{code:$.too_small,minimum:s.minLength.value,type:"array",inclusive:!0,exact:!1,message:s.minLength.message}),r.dirty()),s.maxLength!==null&&n.data.length>s.maxLength.value&&(Y(n,{code:$.too_big,maximum:s.maxLength.value,type:"array",inclusive:!0,exact:!1,message:s.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((o,a)=>s.type._parseAsync(new ss(n,o,n.path,a)))).then(o=>Yt.mergeArray(r,o));const i=[...n.data].map((o,a)=>s.type._parseSync(new ss(n,o,n.path,a)));return Yt.mergeArray(r,i)}get element(){return this._def.type}min(t,n){return new Gn({...this._def,minLength:{value:t,message:Q.toString(n)}})}max(t,n){return new Gn({...this._def,maxLength:{value:t,message:Q.toString(n)}})}length(t,n){return new Gn({...this._def,exactLength:{value:t,message:Q.toString(n)}})}nonempty(t){return this.min(1,t)}}Gn.create=(e,t)=>new Gn({type:e,minLength:null,maxLength:null,exactLength:null,typeName:ae.ZodArray,...de(t)});function ui(e){if(e instanceof Xe){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=Kr.create(ui(r))}return new Xe({...e._def,shape:()=>t})}else return e instanceof Gn?new Gn({...e._def,type:ui(e.element)}):e instanceof Kr?Kr.create(ui(e.unwrap())):e instanceof oo?oo.create(ui(e.unwrap())):e instanceof Vs?Vs.create(e.items.map(t=>ui(t))):e}class Xe extends Ee{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=Te.objectKeys(t);return this._cached={shape:t,keys:n},this._cached}_parse(t){if(this._getType(t)!==Z.object){const u=this._getOrReturnCtx(t);return Y(u,{code:$.invalid_type,expected:Z.object,received:u.parsedType}),oe}const{status:r,ctx:s}=this._processInputParams(t),{shape:i,keys:o}=this._getCached(),a=[];if(!(this._def.catchall instanceof is&&this._def.unknownKeys==="strip"))for(const u in s.data)o.includes(u)||a.push(u);const l=[];for(const u of o){const d=i[u],c=s.data[u];l.push({key:{status:"valid",value:u},value:d._parse(new ss(s,c,s.path,u)),alwaysSet:u in s.data})}if(this._def.catchall instanceof is){const u=this._def.unknownKeys;if(u==="passthrough")for(const d of a)l.push({key:{status:"valid",value:d},value:{status:"valid",value:s.data[d]}});else if(u==="strict")a.length>0&&(Y(s,{code:$.unrecognized_keys,keys:a}),r.dirty());else if(u!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const u=this._def.catchall;for(const d of a){const c=s.data[d];l.push({key:{status:"valid",value:d},value:u._parse(new ss(s,c,s.path,d)),alwaysSet:d in s.data})}}return s.common.async?Promise.resolve().then(async()=>{const u=[];for(const d of l){const c=await d.key,f=await d.value;u.push({key:c,value:f,alwaysSet:d.alwaysSet})}return u}).then(u=>Yt.mergeObjectSync(r,u)):Yt.mergeObjectSync(r,l)}get shape(){return this._def.shape()}strict(t){return Q.errToObj,new Xe({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var i,o;const s=((o=(i=this._def).errorMap)==null?void 0:o.call(i,n,r).message)??r.defaultError;return n.code==="unrecognized_keys"?{message:Q.errToObj(t).message??s}:{message:s}}}:{}})}strip(){return new Xe({...this._def,unknownKeys:"strip"})}passthrough(){return new Xe({...this._def,unknownKeys:"passthrough"})}extend(t){return new Xe({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new Xe({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:ae.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new Xe({...this._def,catchall:t})}pick(t){const n={};for(const r of Te.objectKeys(t))t[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new Xe({...this._def,shape:()=>n})}omit(t){const n={};for(const r of Te.objectKeys(this.shape))t[r]||(n[r]=this.shape[r]);return new Xe({...this._def,shape:()=>n})}deepPartial(){return ui(this)}partial(t){const n={};for(const r of Te.objectKeys(this.shape)){const s=this.shape[r];t&&!t[r]?n[r]=s:n[r]=s.optional()}return new Xe({...this._def,shape:()=>n})}required(t){const n={};for(const r of Te.objectKeys(this.shape))if(t&&!t[r])n[r]=this.shape[r];else{let i=this.shape[r];for(;i instanceof Kr;)i=i._def.innerType;n[r]=i}return new Xe({...this._def,shape:()=>n})}keyof(){return Fx(Te.objectKeys(this.shape))}}Xe.create=(e,t)=>
vendor: 6,158 bytes, line 292
292new Xe({shape:()=>e,unknownKeys:"strip",catchall:is.create(),typeName:ae.ZodObject,...de(t)});Xe.strictCreate=(e,t)=>new Xe({shape:()=>e,unknownKeys:"strict",catchall:is.create(),typeName:ae.ZodObject,...de(t)});Xe.lazycreate=(e,t)=>new Xe({shape:e,unknownKeys:"strip",catchall:is.create(),typeName:ae.ZodObject,...de(t)});class fc extends Ee{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function s(i){for(const a of i)if(a.result.status==="valid")return a.result;for(const a of i)if(a.result.status==="dirty")return n.common.issues.push(...a.ctx.common.issues),a.result;const o=i.map(a=>new vr(a.ctx.common.issues));return Y(n,{code:$.invalid_union,unionErrors:o}),oe}if(n.common.async)return Promise.all(r.map(async i=>{const o={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:o}),ctx:o}})).then(s);{let i;const o=[];for(const l of r){const u={...n,common:{...n.common,issues:[]},parent:null},d=l._parseSync({data:n.data,path:n.path,parent:u});if(d.status==="valid")return d;d.status==="dirty"&&!i&&(i={result:d,ctx:u}),u.common.issues.length&&o.push(u.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;const a=o.map(l=>new vr(l));return Y(n,{code:$.invalid_union,unionErrors:a}),oe}}get options(){return this._def.options}}fc.create=(e,t)=>new fc({options:e,typeName:ae.ZodUnion,...de(t)});function uh(e,t){const n=Rr(e),r=Rr(t);if(e===t)return{valid:!0,data:e};if(n===Z.object&&r===Z.object){const s=Te.objectKeys(t),i=Te.objectKeys(e).filter(a=>s.indexOf(a)!==-1),o={...e,...t};for(const a of i){const l=uh(e[a],t[a]);if(!l.valid)return{valid:!1};o[a]=l.data}return{valid:!0,data:o}}else if(n===Z.array&&r===Z.array){if(e.length!==t.length)return{valid:!1};const s=[];for(let i=0;i<e.length;i++){const o=e[i],a=t[i],l=uh(o,a);if(!l.valid)return{valid:!1};s.push(l.data)}return{valid:!0,data:s}}else return n===Z.date&&r===Z.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class pc extends Ee{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),s=(i,o)=>{if(C_(i)||C_(o))return oe;const a=uh(i.value,o.value);return a.valid?((I_(i)||I_(o))&&n.dirty(),{status:n.value,value:a.data}):(Y(r,{code:$.invalid_intersection_types}),oe)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([i,o])=>s(i,o)):s(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}pc.create=(e,t,n)=>new pc({left:e,right:t,typeName:ae.ZodIntersection,...de(n)});class Vs extends Ee{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Z.array)return Y(r,{code:$.invalid_type,expected:Z.array,received:r.parsedType}),oe;if(r.data.length<this._def.items.length)return Y(r,{code:$.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),oe;!this._def.rest&&r.data.length>this._def.items.length&&(Y(r,{code:$.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const i=[...r.data].map((o,a)=>{const l=this._def.items[a]||this._def.rest;return l?l._parse(new ss(r,o,r.path,a)):null}).filter(o=>!!o);return r.common.async?Promise.all(i).then(o=>Yt.mergeArray(n,o)):Yt.mergeArray(n,i)}get items(){return this._def.items}rest(t){return new Vs({...this._def,rest:t})}}Vs.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Vs({items:e,typeName:ae.ZodTuple,rest:null,...de(t)})};class $_ extends Ee{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Z.map)return Y(r,{code:$.invalid_type,expected:Z.map,received:r.parsedType}),oe;const s=this._def.keyType,i=this._def.valueType,o=[...r.data.entries()].map(([a,l],u)=>({key:s._parse(new ss(r,a,r.path,[u,"key"])),value:i._parse(new ss(r,l,r.path,[u,"value"]))}));if(r.common.async){const a=new Map;return Promise.resolve().then(async()=>{for(const l of o){const u=await l.key,d=await l.value;if(u.status==="aborted"||d.status==="aborted")return oe;(u.status==="dirty"||d.status==="dirty")&&n.dirty(),a.set(u.value,d.value)}return{status:n.value,value:a}})}else{const a=new Map;for(const l of o){const u=l.key,d=l.value;if(u.status==="aborted"||d.status==="aborted")return oe;(u.status==="dirty"||d.status==="dirty")&&n.dirty(),a.set(u.value,d.value)}return{status:n.value,value:a}}}}$_.create=(e,t,n)=>new $_({valueType:t,keyType:e,typeName:ae.ZodMap,...de(n)});class Fa extends Ee{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Z.set)return Y(r,{code:$.invalid_type,expected:Z.set,received:r.parsedType}),oe;const s=this._def;s.minSize!==null&&r.data.size<s.minSize.value&&(Y(r,{code:$.too_small,minimum:s.minSize.value,type:"set",inclusive:!0,exact:!1,message:s.minSize.message}),n.dirty()),s.maxSize!==null&&r.data.size>s.maxSize.value&&(Y(r,{code:$.too_big,maximum:s.maxSize.value,type:"set",inclusive:!0,exact:!1,message:s.maxSize.message}),n.dirty());const i=this._def.valueType;function o(l){const u=new Set;for(const d of l){if(d.status==="aborted")return oe;d.status==="dirty"&&n.dirty(),u.add(d.value)}return{status:n.value,value:u}}const a=[...r.data.values()].map((l,u)=>i._parse(new ss(r,l,r.path,u)));return r.common.async?Promise.all(a).then(l=>o(l)):o(a)}min(t,n){return new Fa({...this._def,minSize:{value:t,message:Q.toString(n)}})}max(t,n){return new Fa({...this._def,maxSize:{value:t,message:Q.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}Fa.create=(e,t)=>new Fa({valueType:e,minSize:null,maxSize:null,typeName:ae.ZodSet,...de(t)});class F_ extends Ee{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}F_.create=(e,t)=>new F_({getter:e,typeName:ae.ZodLazy,...de(t)});class z_ extends Ee{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);
vendor: 1,728 bytes, line 292
292return Y(n,{received:n.data,code:$.invalid_literal,expected:this._def.value}),oe}return{status:"valid",value:t.data}}get value(){return this._def.value}}z_.create=(e,t)=>new z_({value:e,typeName:ae.ZodLiteral,...de(t)});function Fx(e,t){return new so({values:e,typeName:ae.ZodEnum,...de(t)})}class so extends Ee{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return Y(n,{expected:Te.joinValues(r),received:n.parsedType,code:$.invalid_type}),oe}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return Y(n,{received:n.data,code:$.invalid_enum_value,options:r}),oe}return pn(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return so.create(t,{...this._def,...n})}exclude(t,n=this._def){return so.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}so.create=Fx;class B_ extends Ee{_parse(t){const n=Te.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==Z.string&&r.parsedType!==Z.number){const s=Te.objectValues(n);return Y(r,{expected:Te.joinValues(s),received:r.parsedType,code:$.invalid_type}),oe}if(this._cache||(this._cache=new Set(Te.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){const s=Te.objectValues(n);return Y(r,{received:r.data,code:$.invalid_enum_value,options:s}),oe}return pn(t.data)}get enum(){return this._def.values}}B_.create=(e,t)=>new B_({values:e,typeName:ae.ZodNativeEnum,...de(t)});
vendor: 8,416 bytes, line 292
292class hc extends Ee{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Z.promise&&n.common.async===!1)return Y(n,{code:$.invalid_type,expected:Z.promise,received:n.parsedType}),oe;const r=n.parsedType===Z.promise?n.data:Promise.resolve(n.data);return pn(r.then(s=>this._def.type.parseAsync(s,{path:n.path,errorMap:n.common.contextualErrorMap})))}}hc.create=(e,t)=>new hc({type:e,typeName:ae.ZodPromise,...de(t)});class io extends Ee{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ae.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),s=this._def.effect||null,i={addIssue:o=>{Y(r,o),o.fatal?n.abort():n.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),s.type==="preprocess"){const o=s.transform(r.data,i);if(r.common.async)return Promise.resolve(o).then(async a=>{if(n.value==="aborted")return oe;const l=await this._def.schema._parseAsync({data:a,path:r.path,parent:r});return l.status==="aborted"?oe:l.status==="dirty"||n.value==="dirty"?Vo(l.value):l});{if(n.value==="aborted")return oe;const a=this._def.schema._parseSync({data:o,path:r.path,parent:r});return a.status==="aborted"?oe:a.status==="dirty"||n.value==="dirty"?Vo(a.value):a}}if(s.type==="refinement"){const o=a=>{const l=s.refinement(a,i);if(r.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return a};if(r.common.async===!1){const a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?oe:(a.status==="dirty"&&n.dirty(),o(a.value),{status:n.value,value:a.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(a=>a.status==="aborted"?oe:(a.status==="dirty"&&n.dirty(),o(a.value).then(()=>({status:n.value,value:a.value}))))}if(s.type==="transform")if(r.common.async===!1){const o=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!ro(o))return oe;const a=s.transform(o.value,i);if(a instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:a}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(o=>ro(o)?Promise.resolve(s.transform(o.value,i)).then(a=>({status:n.value,value:a})):oe);Te.assertNever(s)}}io.create=(e,t,n)=>new io({schema:e,typeName:ae.ZodEffects,effect:t,...de(n)});io.createWithPreprocess=(e,t,n)=>new io({schema:t,effect:{type:"preprocess",transform:e},typeName:ae.ZodEffects,...de(n)});class Kr extends Ee{_parse(t){return this._getType(t)===Z.undefined?pn(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Kr.create=(e,t)=>new Kr({innerType:e,typeName:ae.ZodOptional,...de(t)});class oo extends Ee{_parse(t){return this._getType(t)===Z.null?pn(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}oo.create=(e,t)=>new oo({innerType:e,typeName:ae.ZodNullable,...de(t)});class ch extends Ee{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===Z.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}ch.create=(e,t)=>new ch({innerType:e,typeName:ae.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...de(t)});class dh extends Ee{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},s=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return cc(s)?s.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new vr(r.common.issues)},input:r.data})})):{status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new vr(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}dh.create=(e,t)=>new dh({innerType:e,typeName:ae.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...de(t)});class U_ extends Ee{_parse(t){if(this._getType(t)!==Z.nan){const r=this._getOrReturnCtx(t);return Y(r,{code:$.invalid_type,expected:Z.nan,received:r.parsedType}),oe}return{status:"valid",value:t.data}}}U_.create=e=>new U_({typeName:ae.ZodNaN,...de(e)});class WB extends Ee{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class ng extends Ee{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?oe:i.status==="dirty"?(n.dirty(),Vo(i.value)):this._def.out._parseAsync({data:i.value,path:r.path,parent:r})})();{const s=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?oe:s.status==="dirty"?(n.dirty(),{status:"dirty",value:s.value}):this._def.out._parseSync({data:s.value,path:r.path,parent:r})}}static create(t,n){return new ng({in:t,out:n,typeName:ae.ZodPipeline})}}class fh extends Ee{_parse(t){const n=this._def.innerType._parse(t),r=s=>(ro(s)&&(s.value=Object.freeze(s.value)),s);return cc(n)?n.then(s=>r(s)):r(n)}unwrap(){return this._def.innerType}}fh.create=(e,t)=>new fh({innerType:e,typeName:ae.ZodReadonly,...de(t)});var ae;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(ae||(ae={}));const S3=Fr.create;is.create;Gn.create;const E3=Xe.create;fc.create;pc.create;Vs.create;so.create;hc.create;Kr.create;oo.create;const j_=(e,t,n)=>{if(e&&"reportValidity"in e){const r=X(n,t);e.setCustomValidity(r&&r.message||""),e.reportValidity()}},zx=(e,t)=>{for(const n in t.fields){const r=t.fields[n];r&&r.ref&&"reportValidity"in r.ref?j_(r.ref,n,e):r.refs&&r.refs.forEach(s=>j_(s,n,e))}},GB=(e,t)=>{t.shouldUseNativeValidation&&zx(e,t);const n={};for(const r in e){const s=X(t.fields,r),i=Object.assign(e[r]||{},{ref:s&&s.ref});if(qB(t.names||Object.keys(e),r)){const o=Object.assign({},X(n,r));Ce(o,"root",i),Ce(n,r,o)}else Ce(n,r,i)}return n},qB=(e,t)=>e.some(n=>n.startsWith(t+"."));var YB=function(e,t){for(var n={};e.length;){var r=e[0],s=r.code,i=r.message,o=r.path.join(".");if(!n[o])if("unionErrors"in r){var a=r.unionErrors[0].errors[0];n[o]={message:a.message,type:a.code}}else n[o]={message:i,type:s};if("unionErrors"in r&&r.unionErrors.forEach(function(d){return d.errors.forEach(function(c){return e.push(c)})}),t){var l=n[o].types,u=l&&l[r.code];n[o]=Ix(o,t,n,s,u?[].concat(u,r.message):r.message)}e.shift()}return n},w3=function(e,t,n){return n===void 0&&(n={}),function(r,s,i){try{return Promise.resolve(function(o,a){try{var l=Promise.resolve(e[n.mode==="sync"?"parse":"parseAsync"](r,t)).then(function(u){return i.shouldUseNativeValidation&&zx({},i),{errors:{},values:n.raw?r:u}})}catch(u){return a(u)}return l&&l.then?l.then(void 0,a):l}(0,function(o){if(function(a){return Array.isArray(a==null?void 0:a.errors)}(o))return{values:{},errors:GB(YB(o.errors,!i.shouldUseNativeValidation&&i.criteriaMode==="all"),i)};throw o}))}catch(o){return Promise.reject(o)}}};export{y3 as A,o3 as B,e3 as C,u3 as D,v3 as E,l3 as F,c3 as H,h3 as I,m$ as L,a3 as N,s3 as O,g3 as P,J as R,qz as S,p3 as _,xT as a,AF as b,r3 as c,m3 as d,s$ as e,i3 as f,Yz as g,f3 as h,FL as i,d3 as j,vb as k,qp as l,QB as m,KB as n,yD as o,E3 as p,JB as q,M as r,ZB as s,S3 as t,w3 as u,_3 as v,Eo as w,$T as x,t3 as y,n3 as z};
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.