PageSourceSearch

https://ent.ai/assets/index-ByLwq82f.js

js ent.ai collected 2026-10-03 22:59:02 UTC 604,430 bytes, 57 lines download raw bytes

vendor: 4,596 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/terms-XP0nmIny.js","assets/legalStyles-C6zhfbGJ.js","assets/subscription-Qe_x2aqB.js","assets/sub-processors-c1Xo4B1G.js","assets/privacy-BZleCdQh.js","assets/press-pDhrqJDY.js","assets/PressReleaseView-DQyzgB6e.js","assets/platform-scroll-DLerw-E0.js","assets/PlatformScroll-DrKBg_u8.js","assets/PlatformScroll-BisorEZK.css","assets/platform-C8uirDlN.js","assets/ScrollWipeText-DgfDiEaQ.js","assets/TextReveal-BoZnvgjl.js","assets/use-transform-DflYLS_L.js","assets/use-motion-value-BEoO2yyR.js","assets/DemoCtaSection-Djuu2nRv.js","assets/partners-CR0RuUNR.js","assets/HubSpotForm-nNi--mOK.js","assets/legal-DHLxZf3E.js","assets/ContentLink-eYmJs6IJ.js","assets/dpa-B-03_THZ.js","assets/contact-RUuGoLKo.js","assets/company-DWMJb7wf.js","assets/rune-test-B4UMT6OM.js","assets/use-spring-BK-NKVVK.js","assets/index-B9opxLa2.js","assets/press_._slug-D9ISjG7w.js","assets/blog_._slug-u07-hRPP.js"])))=>i.map(i=>d[i]);
2(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))o(a);new MutationObserver(a=>{for(const c of a)if(c.type==="childList")for(const u of c.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&o(u)}).observe(document,{childList:!0,subtree:!0});function i(a){const c={};return a.integrity&&(c.integrity=a.integrity),a.referrerPolicy&&(c.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?c.credentials="include":a.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function o(a){if(a.ep)return;a.ep=!0;const c=i(a);fetch(a.href,c)}})();var Y_=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function _x(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Fc={exports:{}},lo={},jc={exports:{}},ge={};var Ip;function Ax(){if(Ip)return ge;Ip=1;var e=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.iterator;function v(M){return M===null||typeof M!="object"?null:(M=y&&M[y]||M["@@iterator"],typeof M=="function"?M:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,S={};function k(M,H,he){this.props=M,this.context=H,this.refs=S,this.updater=he||w}k.prototype.isReactComponent={},k.prototype.setState=function(M,H){if(typeof M!="object"&&typeof M!="function"&&M!=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,M,H,"setState")},k.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};function T(){}T.prototype=k.prototype;function A(M,H,he){this.props=M,this.context=H,this.refs=S,this.updater=he||w}var R=A.prototype=new T;R.constructor=A,b(R,k.prototype),R.isPureReactComponent=!0;var L=Array.isArray,F=Object.prototype.hasOwnProperty,V={current:null},W={key:!0,ref:!0,__self:!0,__source:!0};function N(M,H,he){var le,ye={},ve=null,be=null;if(H!=null)for(le in H.ref!==void 0&&(be=H.ref),H.key!==void 0&&(ve=""+H.key),H)F.call(H,le)&&!W.hasOwnProperty(le)&&(ye[le]=H[le]);var we=arguments.length-2;if(we===1)ye.children=he;else if(1<we){for(var Ee=Array(we),Qe=0;Qe<we;Qe++)Ee[Qe]=arguments[Qe+2];ye.children=Ee}if(M&&M.defaultProps)for(le in we=M.defaultProps,we)ye[le]===void 0&&(ye[le]=we[le]);return{$$typeof:e,type:M,key:ve,ref:be,props:ye,_owner:V.current}}function j(M,H){return{$$typeof:e,type:M.type,key:H,ref:M.ref,props:M.props,_owner:M._owner}}function z(M){return typeof M=="object"&&M!==null&&M.$$typeof===e}function $(M){var H={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(he){return H[he]})}var U=/\/+/g;function Q(M,H){return typeof M=="object"&&M!==null&&M.key!=null?$(""+M.key):H.toString(36)}function ae(M,H,he,le,ye){var ve=typeof M;(ve==="undefined"||ve==="boolean")&&(M=null);var be=!1;if(M===null)be=!0;else switch(ve){case"string":case"number":be=!0;break;case"object":switch(M.$$typeof){case e:case n:be=!0}}if(be)return be=M,ye=ye(be),M=le===""?"."+Q(be,0):le,L(ye)?(he="",M!=null&&(he=M.replace(U,"$&/")+"/"),ae(ye,H,he,"",function(Qe){return Qe}
vendor: 4,300 bytes, line 2
2)):ye!=null&&(z(ye)&&(ye=j(ye,he+(!ye.key||be&&be.key===ye.key?"":(""+ye.key).replace(U,"$&/")+"/")+M)),H.push(ye)),1;if(be=0,le=le===""?".":le+":",L(M))for(var we=0;we<M.length;we++){ve=M[we];var Ee=le+Q(ve,we);be+=ae(ve,H,he,Ee,ye)}else if(Ee=v(M),typeof Ee=="function")for(M=Ee.call(M),we=0;!(ve=M.next()).done;)ve=ve.value,Ee=le+Q(ve,we++),be+=ae(ve,H,he,Ee,ye);else if(ve==="object")throw H=String(M),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(M).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.");return be}function fe(M,H,he){if(M==null)return M;var le=[],ye=0;return ae(M,le,"","",function(ve){return H.call(he,ve,ye++)}),le}function pe(M){if(M._status===-1){var H=M._result;H=H(),H.then(function(he){(M._status===0||M._status===-1)&&(M._status=1,M._result=he)},function(he){(M._status===0||M._status===-1)&&(M._status=2,M._result=he)}),M._status===-1&&(M._status=0,M._result=H)}if(M._status===1)return M._result.default;throw M._result}var me={current:null},K={transition:null},ee={ReactCurrentDispatcher:me,ReactCurrentBatchConfig:K,ReactCurrentOwner:V};function Z(){throw Error("act(...) is not supported in production builds of React.")}return ge.Children={map:fe,forEach:function(M,H,he){fe(M,function(){H.apply(this,arguments)},he)},count:function(M){var H=0;return fe(M,function(){H++}),H},toArray:function(M){return fe(M,function(H){return H})||[]},only:function(M){if(!z(M))throw Error("React.Children.only expected to receive a single React element child.");return M}},ge.Component=k,ge.Fragment=i,ge.Profiler=a,ge.PureComponent=A,ge.StrictMode=o,ge.Suspense=f,ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ee,ge.act=Z,ge.cloneElement=function(M,H,he){if(M==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+M+".");var le=b({},M.props),ye=M.key,ve=M.ref,be=M._owner;if(H!=null){if(H.ref!==void 0&&(ve=H.ref,be=V.current),H.key!==void 0&&(ye=""+H.key),M.type&&M.type.defaultProps)var we=M.type.defaultProps;for(Ee in H)F.call(H,Ee)&&!W.hasOwnProperty(Ee)&&(le[Ee]=H[Ee]===void 0&&we!==void 0?we[Ee]:H[Ee])}var Ee=arguments.length-2;if(Ee===1)le.children=he;else if(1<Ee){we=Array(Ee);for(var Qe=0;Qe<Ee;Qe++)we[Qe]=arguments[Qe+2];le.children=we}return{$$typeof:e,type:M.type,key:ye,ref:ve,props:le,_owner:be}},ge.createContext=function(M){return M={$$typeof:u,_currentValue:M,_currentValue2:M,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},M.Provider={$$typeof:c,_context:M},M.Consumer=M},ge.createElement=N,ge.createFactory=function(M){var H=N.bind(null,M);return H.type=M,H},ge.createRef=function(){return{current:null}},ge.forwardRef=function(M){return{$$typeof:h,render:M}},ge.isValidElement=z,ge.lazy=function(M){return{$$typeof:g,_payload:{_status:-1,_result:M},_init:pe}},ge.memo=function(M,H){return{$$typeof:p,type:M,compare:H===void 0?null:H}},ge.startTransition=function(M){var H=K.transition;K.transition={};try{M()}finally{K.transition=H}},ge.unstable_act=Z,ge.useCallback=function(M,H){return me.current.useCallback(M,H)},ge.useContext=function(M){return me.current.useContext(M)},ge.useDebugValue=function(){},ge.useDeferredValue=function(M){return me.current.useDeferredValue(M)},ge.useEffect=function(M,H){return me.current.useEffect(M,H)},ge.useId=function(){return me.current.useId()},ge.useImperativeHandle=function(M,H,he){return me.current.useImperativeHandle(M,H,he)},ge.useInsertionEffect=function(M,H){return me.current.useInsertionEffect(M,H)},ge.useLayoutEffect=function(M,H){return me.current.useLayoutEffect(M,H)},ge.useMemo=function(M,H){return me.current.useMemo(M,H)},ge.useReducer=function(M,H,he){return me.current.useReducer(M,H,he)},ge.useRef=function(M){return me.current.useRef(M)},ge.useState=function(M){return me.current.useState(M)},ge.useSyncExternalStore=function(M,H,he){return me.current.useSyncExternalStore(M,H,he)},ge.useTransition=function(){return me.current.useTransition()},ge.version="18.3.1",ge}var _p;function jo(){return _p||(_p=1,jc.exports=Ax()),jc.exports}var Ap;function Rx(){if(Ap)return lo;Ap=1;var e=jo(),n=Symbol.for("react.element"),i=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,a=e.__SECRET_INT
vendor: 4,994 bytes, line 2
2ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(h,f,p){var g,y={},v=null,w=null;p!==void 0&&(v=""+p),f.key!==void 0&&(v=""+f.key),f.ref!==void 0&&(w=f.ref);for(g in f)o.call(f,g)&&!c.hasOwnProperty(g)&&(y[g]=f[g]);if(h&&h.defaultProps)for(g in f=h.defaultProps,f)y[g]===void 0&&(y[g]=f[g]);return{$$typeof:n,type:h,key:v,ref:w,props:y,_owner:a.current}}return lo.Fragment=i,lo.jsx=u,lo.jsxs=u,lo}var Rp;function Mx(){return Rp||(Rp=1,Fc.exports=Rx()),Fc.exports}var C=Mx(),_=jo();const ko=_x(_);var Xs={},Bc={exports:{}},xt={},Vc={exports:{}},Nc={};var Mp;function Lx(){return Mp||(Mp=1,(function(e){function n(K,ee){var Z=K.length;K.push(ee);e:for(;0<Z;){var M=Z-1>>>1,H=K[M];if(0<a(H,ee))K[M]=ee,K[Z]=H,Z=M;else break e}}function i(K){return K.length===0?null:K[0]}function o(K){if(K.length===0)return null;var ee=K[0],Z=K.pop();if(Z!==ee){K[0]=Z;e:for(var M=0,H=K.length,he=H>>>1;M<he;){var le=2*(M+1)-1,ye=K[le],ve=le+1,be=K[ve];if(0>a(ye,Z))ve<H&&0>a(be,ye)?(K[M]=be,K[ve]=Z,M=ve):(K[M]=ye,K[le]=Z,M=le);else if(ve<H&&0>a(be,Z))K[M]=be,K[ve]=Z,M=ve;else break e}}return ee}function a(K,ee){var Z=K.sortIndex-ee.sortIndex;return Z!==0?Z:K.id-ee.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var u=Date,h=u.now();e.unstable_now=function(){return u.now()-h}}var f=[],p=[],g=1,y=null,v=3,w=!1,b=!1,S=!1,k=typeof setTimeout=="function"?setTimeout:null,T=typeof clearTimeout=="function"?clearTimeout:null,A=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function R(K){for(var ee=i(p);ee!==null;){if(ee.callback===null)o(p);else if(ee.startTime<=K)o(p),ee.sortIndex=ee.expirationTime,n(f,ee);else break;ee=i(p)}}function L(K){if(S=!1,R(K),!b)if(i(f)!==null)b=!0,pe(F);else{var ee=i(p);ee!==null&&me(L,ee.startTime-K)}}function F(K,ee){b=!1,S&&(S=!1,T(N),N=-1),w=!0;var Z=v;try{for(R(ee),y=i(f);y!==null&&(!(y.expirationTime>ee)||K&&!$());){var M=y.callback;if(typeof M=="function"){y.callback=null,v=y.priorityLevel;var H=M(y.expirationTime<=ee);ee=e.unstable_now(),typeof H=="function"?y.callback=H:y===i(f)&&o(f),R(ee)}else o(f);y=i(f)}if(y!==null)var he=!0;else{var le=i(p);le!==null&&me(L,le.startTime-ee),he=!1}return he}finally{y=null,v=Z,w=!1}}var V=!1,W=null,N=-1,j=5,z=-1;function $(){return!(e.unstable_now()-z<j)}function U(){if(W!==null){var K=e.unstable_now();z=K;var ee=!0;try{ee=W(!0,K)}finally{ee?Q():(V=!1,W=null)}}else V=!1}var Q;if(typeof A=="function")Q=function(){A(U)};else if(typeof MessageChannel<"u"){var ae=new MessageChannel,fe=ae.port2;ae.port1.onmessage=U,Q=function(){fe.postMessage(null)}}else Q=function(){k(U,0)};function pe(K){W=K,V||(V=!0,Q())}function me(K,ee){N=k(function(){K(e.unstable_now())},ee)}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(K){K.callback=null},e.unstable_continueExecution=function(){b||w||(b=!0,pe(F))},e.unstable_forceFrameRate=function(K){0>K||125<K?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<K?Math.floor(1e3/K):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_getFirstCallbackNode=function(){return i(f)},e.unstable_next=function(K){switch(v){case 1:case 2:case 3:var ee=3;break;default:ee=v}var Z=v;v=ee;try{return K()}finally{v=Z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(K,ee){switch(K){case 1:case 2:case 3:case 4:case 5:break;default:K=3}var Z=v;v=K;try{return ee()}finally{v=Z}},e.unstable_scheduleCallback=function(K,ee,Z){var M=e.unstable_now();switch(typeof Z=="object"&&Z!==null?(Z=Z.delay,Z=typeof Z=="number"&&0<Z?M+Z:M):Z=M,K){case 1:var H=-1;break;case 2:H=250;break;case 5:H=1073741823;break;case 4:H=1e4;break;default:H=5e3}return H=Z+H,K={id:g++,callback:ee,priorityLevel:K,startTime:Z,expirationTime:H,sortIndex:-1},Z>M?(K.sortIndex=Z,n(p,K),i(f)===null&&K===i(p)&&(S?(T(N),N=-1):S=!0,me(L,Z-M))):(K.sortIndex=H,n(f,K),b||w||(b=!0,pe(F))),K},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(K){var ee=v;return function(){var Z=v;v=ee;try{return K.apply(this,arguments)}finally{v=Z}}}})(Nc)),Nc}var Lp;function Dx(){return Lp||(Lp=1,Vc.exports=Lx()),Vc.exports}var Dp;function Ox(){if(Dp)return xt;Dp=1;var e=jo(),n=Dx();function i(t){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+t,s=1;s<arguments.length;s++)r+="&args[]="+encodeURIComponent(arguments[s]);return"Minified React error #"+t+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,a={};
vendor: 14,571 bytes, lines 2-6
2function c(t,r){u(t,r),u(t+"Capture",r)}function u(t,r){for(a[t]=r,t=0;t<r.length;t++)o.add(r[t])}var h=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,p=/^[: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]*$/,g={},y={};function v(t){return f.call(y,t)?!0:f.call(g,t)?!1:p.test(t)?y[t]=!0:(g[t]=!0,!1)}function w(t,r,s,l){if(s!==null&&s.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return l?!1:s!==null?!s.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function b(t,r,s,l){if(r===null||typeof r>"u"||w(t,r,s,l))return!0;if(l)return!1;if(s!==null)switch(s.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function S(t,r,s,l,d,m,x){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=l,this.attributeNamespace=d,this.mustUseProperty=s,this.propertyName=t,this.type=r,this.sanitizeURL=m,this.removeEmptyString=x}var k={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){k[t]=new S(t,0,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var r=t[0];k[r]=new S(r,1,!1,t[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){k[t]=new S(t,2,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){k[t]=new S(t,2,!1,t,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(t){k[t]=new S(t,3,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){k[t]=new S(t,3,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){k[t]=new S(t,4,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){k[t]=new S(t,6,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){k[t]=new S(t,5,!1,t.toLowerCase(),null,!1,!1)});var T=/[\-:]([a-z])/g;function A(t){return t[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(t){var r=t.replace(T,A);k[r]=new S(r,1,!1,t,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var r=t.replace(T,A);k[r]=new S(r,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var r=t.replace(T,A);k[r]=new S(r,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){k[t]=new S(t,1,!1,t.toLowerCase(),null,!1,!1)}),k.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){k[t]=new S(t,1,!1,t.toLowerCase(),null,!0,!0)});function R(t,r,s,l){var d=k.hasOwnProperty(r)?k[r]:null;(d!==null?d.type!==0:l||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(b(r,s,d,l)&&(s=null),l||d===null?v(r)&&(s===null?t.removeAttribute(r):t.setAttribute(r,""+s)):d.mustUseProperty?t[d.propertyName]=s===null?d.type===3?!1:"":s:(r=d.attributeName,l=d.attributeNamespace,s===null?t.removeAttribute(r):(d=d.type,s=d===3||d===4&&s===!0?"":""+s,l?t.setAttributeNS(l,r,s):t.setAttribute(r,s))))}var L=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,F=Symbol.for("react.element"),V=Symbol.for("react.portal"),W=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),z=Symbol.for("react.provider"),$=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),Q=Symbol.for("react.suspense"),ae=Symbol.for("react.suspense_list"),fe=Symbol.for("react.memo"),pe=Symbol.for("react.lazy"),me=Symbol.for("react.offscreen"),K=Symbol.iterator;function ee(t){return t===null||typeof t!="object"?null:(t=K&&t[K]||t["@@iterator"],typeof t=="function"?t:null)}var Z=Object.assign,M;function H(t){if(M===void 0)try{throw Error()}catch(s){var r=s.stack.trim().match(/\n( *(at )?)/);M=r&&r[1]||""}return`
3`+M+t}var he=!1;function le(t,r){if(!t||he)return"";he=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(B){var l=B}Reflect.construct(t,[],r)}else{try{r.call()}catch(B){l=B}t.call(r.prototype)}else{try{throw Error()}catch(B){l=B}t()}}catch(B){if(B&&l&&typeof B.stack=="string"){for(var d=B.stack.split(`
4`),m=l.stack.split(`
5`),x=d.length-1,E=m.length-1;1<=x&&0<=E&&d[x]!==m[E];)E--;for(;1<=x&&0<=E;x--,E--)if(d[x]!==m[E]){if(x!==1||E!==1)do if(x--,E--,0>E||d[x]!==m[E]){var P=`
6`+d[x].replace(" at new "," at ");return t.displayName&&P.includes("<anonymous>")&&(P=P.replace("<anonymous>",t.displayName)),P}while(1<=x&&0<=E);break}}}finally{he=!1,Error.prepareStackTrace=s}return(t=t?t.displayName||t.name:"")?H(t):""}function ye(t){switch(t.tag){case 5:return H(t.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return t=le(t.type,!1),t;case 11:return t=le(t.type.render,!1),t;case 1:return t=le(t.type,!0),t;default:return""}}function ve(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case W:return"Fragment";case V:return"Portal";case j:return"Profiler";case N:return"StrictMode";case Q:return"Suspense";case ae:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case $:return(t.displayName||"Context")+".Consumer";case z:return(t._context.displayName||"Context")+".Provider";case U:var r=t.render;return t=t.displayName,t||(t=r.displayName||r.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case fe:return r=t.displayName||null,r!==null?r:ve(t.type)||"Memo";case pe:r=t._payload,t=t._init;try{return ve(t(r))}catch{}}return null}function be(t){var r=t.type;switch(t.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=r.render,t=t.displayName||t.name||"",r.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ve(r);case 8:return r===N?"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 r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function we(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Ee(t){var r=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Qe(t){var r=Ee(t)?"checked":"value",s=Object.getOwnPropertyDescriptor(t.constructor.prototype,r),l=""+t[r];if(!t.hasOwnProperty(r)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var d=s.get,m=s.set;return Object.defineProperty(t,r,{configurable:!0,get:function(){return d.call(this)},set:function(x){l=""+x,m.call(this,x)}}),Object.defineProperty(t,r,{enumerable:s.enumerable}),{getValue:function(){return l},setValue:function(x){l=""+x},stopTracking:function(){t._valueTracker=null,delete t[r]}}}}function dn(t){t._valueTracker||(t._valueTracker=Qe(t))}function yi(t){if(!t)return!1;var r=t._valueTracker;if(!r)return!0;var s=r.getValue(),l="";return t&&(l=Ee(t)?t.checked?"true":"false":t.value),t=l,t!==s?(r.setValue(t),!0):!1}function nr(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function vi(t,r){var s=r.checked;return Z({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??t._wrapperState.initialChecked})}function wi(t,r){var s=r.defaultValue==null?"":r.defaultValue,l=r.checked!=null?r.checked:r.defaultChecked;s=we(r.value!=null?r.value:s),t._wrapperState={initialChecked:l,initialValue:s,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function xi(t,r){r=r.checked,r!=null&&R(t,"checked",r,!1)}function Yt(t,r){xi(t,r);var s=we(r.value),l=r.type;if(s!=null)l==="number"?(s===0&&t.value===""||t.value!=s)&&(t.value=""+s):t.value!==""+s&&(t.value=""+s);else if(l==="submit"||l==="reset"){t.removeAttribute("value");return}r.hasOwnProperty("value")?Bt(t,r.type,s):r.hasOwnProperty("defaultValue")&&Bt(t,r.type,we(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(t.defaultChecked=!!r.defaultChecked)}function Ar(t,r,s){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var l=r.type;if(!(l!=="submit"&&l!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+t._wrapperState.initialValue,s||r===t.value||(t.value=r),t.defaultValue=r}s=t.name,s!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,s!==""&&(t.name=s)}function Bt(t,r,s){(r!=="number"||nr(t.ownerDocument)!==t)&&(s==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+s&&(t.defaultValue=""+s))}var rr=Array.isArray;function fn(t,r,s,l){if(t=t.options,r){r={};for(var d=0;d<s.length;d++)r["$"+s[d]]=!0;for(s=0;s<t.length;s++)d=r.hasOwnProperty("$"+t[s].value),t[s].selected!==d&&(t[s].selected=d),d&&l&&(t[s].defaultSelected=!0)}else{for(s=""+we(s),r=null,d=0;d<t.length;d++){if(t[d].value===s){t[d].selected=!0,l&&(t[d].defaultSelected=!0);return}r!==null||t[d].disabled||(r=t[d])}r!==null&&(r.selected=!0)}}function bi(t,r){if(r.dangerouslySetInnerHTML!=null)throw Error(i(91));return Z({},r,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function Si(t,r){var s=r.value;if(s==null){if(s=r.children,r=r.defaultValue,s!=null){if(r!=null)throw Error(i(92));if(rr(s)){if(1<s.length)throw Error(i(93));s=s[0]}r=s}r==null&&(r=""),s=r}t._wrapperState={initialValue:we(s)}}function Pe(t,r){var s=we(r.value),l=we(r.defaultValue);s!=null&&(s=""+s,s!==t.value&&(t.value=s),r.defaultValue==null&&t.defaultValue!==s&&(t.defaultValue=s)),l!=null&&(t.defaultValue=""+l)}function et(t){var r=t.textContent;r===t._wrapperState.initialValue&&r!==""&&r!==null&&(t.value=r)}function Xt(t){switch(t){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 ki(t,r){return t==null||t==="http://www.w3.org/1999/xhtml"?Xt(r):t==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var Uo,zh=(function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,s,l,d){MSApp.execUnsafeLocalFunction(function(){return t(r,s,l,d)})}:t})(function(t,r){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=r;else{for(Uo=Uo||document.createElement("div"),Uo.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=Uo.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;r.firstChild;)t.appendChild(r.firstChild)}});function Ti(t,r){if(r){var s=t.firstChild;if(s&&s===t.lastChild&&s.nodeType===3){s.nodeValue=r;return}}t.textContent=r}var Ei={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},Lw=["Webkit","ms","Moz","O"];Object.keys(Ei).forEach(function(t){Lw.forEach(function(r){r=r+t.charAt(0).toUpperCase()+t.substring(1),Ei[r]=Ei[t]})});function Wh(t,r,s){return r==null||typeof r=="boolean"||r===""?"":s||typeof r!="number"||r===0||Ei.hasOwnProperty(t)&&Ei[t]?(""+r).trim():r+"px"}function Uh(t,r){t=t.style;for(var s in r)if(r.hasOwnProperty(s)){var l=s.indexOf("--")===0,d=Wh(s,r[s],l);s==="float"&&(s="cssFloat"),l?t.setProperty(s,d):t[s]=d}}var Dw=Z({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 Ga(t,r){if(r){if(Dw[t]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(i(137,t));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(i(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(i(61))}if(r.style!=null&&typeof r.style!="object")throw Error(i(62))}}function Qa(t,r){if(t.indexOf("-")===-1)return typeof r.is=="str
6ing";switch(t){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 Ya=null;function Xa(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Ja=null,Rr=null,Mr=null;function Hh(t){if(t=Ki(t)){if(typeof Ja!="function")throw Error(i(280));var r=t.stateNode;r&&(r=ds(r),Ja(t.stateNode,t.type,r))}}function $h(t){Rr?Mr?Mr.push(t):Mr=[t]:Rr=t}function qh(){if(Rr){var t=Rr,r=Mr;if(Mr=Rr=null,Hh(t),r)for(t=0;t<r.length;t++)Hh(r[t])}}function Kh(t,r){return t(r)}function Gh(){}var Za=!1;function Qh(t,r,s){if(Za)return t(r,s);Za=!0;try{return Kh(t,r,s)}finally{Za=!1,(Rr!==null||Mr!==null)&&(Gh(),qh())}}function Pi(t,r){var s=t.stateNode;if(s===null)return null;var l=ds(s);if(l===null)return null;s=l[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break e;default:t=!1}if(t)return null;if(s&&typeof s!="function")throw Error(i(231,r,typeof s));return s}var el=!1;if(h)try{var Ci={};Object.defineProperty(Ci,"passive",{get:function(){el=!0}}),window.addEventListener("test",Ci,Ci),window.removeEventListener("test",Ci,Ci)}catch{el=!1}function Ow(t,r,s,l,d,m,x,E,P){var B=Array.prototype.slice.call(arguments,3);try{r.apply(s,B)}catch(G){this.onError(G)}}var Ii=!1,Ho=null,$o=!1,tl=null,Fw={onError:function(t){Ii=!0,Ho=t}};function jw(t,r,s,l,d,m,x,E,P){Ii=!1,Ho=null,Ow.apply(Fw,arguments)}function Bw(t,r,s,l,d,m,x,E,P){if(jw.apply(this,arguments),Ii){if(Ii){var B=Ho;Ii=!1,Ho=null}else throw Error(i(198));$o||($o=!0,tl=B)}}function ir(t){var r=t,s=t;if(t.alternate)for(;r.return;)r=r.return;else{t=r;do r=t,(r.flags&4098)!==0&&(s=r.return),t=r.return;while(t)}return r.tag===3?s:null}function Yh(t){if(t.tag===13){var r=t.memoizedState;if(r===null&&(t=t.alternate,t!==null&&(r=t.memoizedState)),r!==null)return r.dehydrated}return null}function Xh(t){if(ir(t)!==t)throw Error(i(188))}function Vw(t){var r=t.alternate;if(!r){if(r=ir(t),r===null)throw Error(i(188));return r!==t?null:t}for(var s=t,l=r;;){var d=s.return;if(d===null)break;var m=d.alternate;if(m===null){if(l=d.return,l!==null){s=l;continue}break}if(d.child===m.child){for(m=d.child;m;){if(m===s)return Xh(d),t;if(m===l)return Xh(d),r;m=m.sibling}throw Error(i(188))}if(s.return!==l.return)s=d,l=m;else{for(var x=!1,E=d.child;E;){if(E===s){x=!0,s=d,l=m;break}if(E===l){x=!0,l=d,s=m;break}E=E.sibling}if(!x){for(E=m.child;E;){if(E===s){x=!0,s=m,l=d;break}if(E===l){x=!0,l=m,s=d;break}E=E.sibling}if(!x)throw Error(i(189))}}if(s.alternate!==l)throw Error(i(190))}if(s.tag!==3)throw Error(i(188));return s.stateNode.current===s?t:r}function Jh(t){return t=Vw(t),t!==null?Zh(t):null}function Zh(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var r=Zh(t);if(r!==null)return r;t=t.sibling}return null}var ed=n.unstable_scheduleCallback,td=n.unstable_cancelCallback,Nw=n.unstable_shouldYield,zw=n.unstable_requestPaint,Ve=n.unstable_now,Ww=n.unstable_getCurrentPriorityLevel,nl=n.unstable_ImmediatePriority,nd=n.unstable_UserBlockingPriority,qo=n.unstable_NormalPriority,Uw=n.unstable_LowPriority,rd=n.unstable_IdlePriority,Ko=null,Jt=null;function Hw(t){if(Jt&&typeof Jt.onCommitFiberRoot=="function")try{Jt.onCommitFiberRoot(Ko,t,void 0,(t.current.flags&128)===128)}catch{}}var Vt=Math.clz32?Math.clz32:Kw,$w=Math.log,qw=Math.LN2;function Kw(t){return t>>>=0,t===0?32:31-($w(t)/qw|0)|0}var Go=64,Qo=4194304;function _i(t){switch(t&-t){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 t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function Yo(t,r){var s=t.pendingLanes;if(s===0)return 0;var l=0,d=t.suspendedLanes,m=t.pingedLanes,x=s&268435455;if(x!==0){var E=x&~d;E!==0?l=_i(E):(m&=x,m!==0&&(l=_i(m)))}else x=s&~d,x!==0?l=_i(x):m!==0&&(l=_i(m));if(l===0)return 0;if(r!==0&&r!==l&&(r&d)===0&&(d=l&-l,m=r&-r,d>=m||d===16&&(m&4194240)!==0))return r;if((l&4)!==0&&(l|=s&16),r=t.entangledLanes,r!==0)for(t=t.entanglements,r&=l;0<r;)s=31-Vt(r),d=1<<s,l|=t[s],r&=~d;return l}function Gw(t,r){switch(t){case 1:case 2:case 4:return r+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 r+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 Qw(t,r){for(var s=t.suspendedLanes,l=t.pingedLanes,d=t.expirationTimes,m=t.pendingLanes;0<m;){var x=31-Vt(m),E=1<<x,P=d[x];P===-1?((E&s)===0||(E&l)!==0)&&(d[x]=Gw(E,r)):P<=r&&(t.expiredLanes|=E),m&=~E}}function rl(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function id(){var t=Go;return Go<<=1,(Go&4194240)===0&&(Go=64),t}function il(t){for(var r=[],s=0;31>s;s++)r.push(t);return r}function Ai(t,r,s){t.pendingLanes|=r,r!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,r=31-Vt(r),t[r]=s}function Yw(t,r){var s=t.pendingLanes&~r;t.pendingLanes=r,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=r,t.mutableReadLanes&=r,t.entangledLanes&=r,r=t.entanglements;var l=t.eventTimes;for(t=t.expirationTimes;0<s;){var d=31-Vt(s),m=1<<d;r[d]=0,l[d]=-1,t[d]=-1,s&=~m}}function ol(t,r){var s=t.entangledLanes|=r;for(t=t.entanglements;s;){var l=31-Vt(s),d=1<<l;d&r|t[l]&r&&(t[l]|=r),s&=~d}}var Te=0;function od(t){return t&=-t,1<t?4<t?(t&268435455)!==0?16:536870912:4:1}var sd,sl,ad,ld,cd,al=!1,Xo=[],kn=null,Tn=null,En=null,Ri=new Map,Mi=new Map,Pn=[],Xw="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 ud(t,r){switch(t){case"focusin":case"focusout":kn=null;break;case"dragenter":case"dragleave":Tn=null;break;case"mouseover":case"mouseout":En=null;break;case"pointerover":case"pointerout":Ri.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mi.delete(r.pointerId)}}function Li(t,r,s,l,d,m){return t===null||t.nativeEvent!==m?(t={blockedOn:r,domEventName:s,eventSystemFlags:l,nativeEvent:m,targetContainers:[d]},r!==null&&(r=Ki(r),r!==null&&sl(r)),t):(t.eventSystemFlags|=l,r=t.targetContainers,d!==null&&r.indexOf(d)===-1&&r.push(d),t)}function Jw(t,r,s,l,d){switch(r){case"focusin":return kn=Li(kn,t,r,s,l,d),!0;case"dragenter":return Tn=Li(Tn,t,r,s,l,d),!0;case"mouseover":return En=Li(En,t,r,s,l,d),!0;case"pointerover":var m=d.pointerId;return Ri.set(m,Li(Ri.get(m)||null,t,r,s,l,d)),!0;case"gotpointercapture":return m=d.pointerId,Mi.set(m,Li(Mi.get(m)||null,t,r,s,l,d)),!0}return!1}function hd(t){var r=or(t.target);
vendor: 14,869 bytes, line 6
6if(r!==null){var s=ir(r);if(s!==null){if(r=s.tag,r===13){if(r=Yh(s),r!==null){t.blockedOn=r,cd(t.priority,function(){ad(s)});return}}else if(r===3&&s.stateNode.current.memoizedState.isDehydrated){t.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Jo(t){if(t.blockedOn!==null)return!1;for(var r=t.targetContainers;0<r.length;){var s=cl(t.domEventName,t.eventSystemFlags,r[0],t.nativeEvent);if(s===null){s=t.nativeEvent;var l=new s.constructor(s.type,s);Ya=l,s.target.dispatchEvent(l),Ya=null}else return r=Ki(s),r!==null&&sl(r),t.blockedOn=s,!1;r.shift()}return!0}function dd(t,r,s){Jo(t)&&s.delete(r)}function Zw(){al=!1,kn!==null&&Jo(kn)&&(kn=null),Tn!==null&&Jo(Tn)&&(Tn=null),En!==null&&Jo(En)&&(En=null),Ri.forEach(dd),Mi.forEach(dd)}function Di(t,r){t.blockedOn===r&&(t.blockedOn=null,al||(al=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Zw)))}function Oi(t){function r(d){return Di(d,t)}if(0<Xo.length){Di(Xo[0],t);for(var s=1;s<Xo.length;s++){var l=Xo[s];l.blockedOn===t&&(l.blockedOn=null)}}for(kn!==null&&Di(kn,t),Tn!==null&&Di(Tn,t),En!==null&&Di(En,t),Ri.forEach(r),Mi.forEach(r),s=0;s<Pn.length;s++)l=Pn[s],l.blockedOn===t&&(l.blockedOn=null);for(;0<Pn.length&&(s=Pn[0],s.blockedOn===null);)hd(s),s.blockedOn===null&&Pn.shift()}var Lr=L.ReactCurrentBatchConfig,Zo=!0;function e0(t,r,s,l){var d=Te,m=Lr.transition;Lr.transition=null;try{Te=1,ll(t,r,s,l)}finally{Te=d,Lr.transition=m}}function t0(t,r,s,l){var d=Te,m=Lr.transition;Lr.transition=null;try{Te=4,ll(t,r,s,l)}finally{Te=d,Lr.transition=m}}function ll(t,r,s,l){if(Zo){var d=cl(t,r,s,l);if(d===null)Pl(t,r,l,es,s),ud(t,l);else if(Jw(d,t,r,s,l))l.stopPropagation();else if(ud(t,l),r&4&&-1<Xw.indexOf(t)){for(;d!==null;){var m=Ki(d);if(m!==null&&sd(m),m=cl(t,r,s,l),m===null&&Pl(t,r,l,es,s),m===d)break;d=m}d!==null&&l.stopPropagation()}else Pl(t,r,l,null,s)}}var es=null;function cl(t,r,s,l){if(es=null,t=Xa(l),t=or(t),t!==null)if(r=ir(t),r===null)t=null;else if(s=r.tag,s===13){if(t=Yh(r),t!==null)return t;t=null}else if(s===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;t=null}else r!==t&&(t=null);return es=t,null}function fd(t){switch(t){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(Ww()){case nl:return 1;case nd:return 4;case qo:case Uw:return 16;case rd:return 536870912;default:return 16}default:return 16}}var Cn=null,ul=null,ts=null;function pd(){if(ts)return ts;var t,r=ul,s=r.length,l,d="value"in Cn?Cn.value:Cn.textContent,m=d.length;for(t=0;t<s&&r[t]===d[t];t++);var x=s-t;for(l=1;l<=x&&r[s-l]===d[m-l];l++);return ts=d.slice(t,1<l?1-l:void 0)}function ns(t){var r=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&r===13&&(t=13)):t=r,t===10&&(t=13),32<=t||t===13?t:0}function rs(){return!0}function md(){return!1}function kt(t){function r(s,l,d,m,x){this._reactName=s,this._targetInst=d,this.type=l,this.nativeEvent=m,this.target=x,this.currentTarget=null;for(var E in t)t.hasOwnProperty(E)&&(s=t[E],this[E]=s?s(m):m[E]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?rs:md,this.isPropagationStopped=md,this}return Z(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=rs)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=rs)},persist:function(){},isPersistent:rs}),r}var Dr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hl=kt(Dr),Fi=Z({},Dr,{view:0,detail:0}),n0=kt(Fi),dl,fl,ji,is=Z({},Fi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ml,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==ji&&(ji&&t.type==="mousemove"?(dl=t.screenX-ji.screenX,fl=t.screenY-ji.screenY):fl=dl=0,ji=t),dl)},movementY:function(t){return"movementY"in t?t.movementY:fl}}),gd=kt(is),r0=Z({},is,{dataTransfer:0}),i0=kt(r0),o0=Z({},Fi,{relatedTarget:0}),pl=kt(o0),s0=Z({},Dr,{animationName:0,elapsedTime:0,pseudoElement:0}),a0=kt(s0),l0=Z({},Dr,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),c0=kt(l0),u0=Z({},Dr,{data:0}),yd=kt(u0),h0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},d0={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"},f0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function p0(t){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(t):(t=f0[t])?!!r[t]:!1}function ml(){return p0}var m0=Z({},Fi,{key:function(t){if(t.key){var r=h0[t.key]||t.key;if(r!=="Unidentified")return r}return t.type==="keypress"?(t=ns(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?d0[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ml,charCode:function(t){return t.type==="keypress"?ns(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?ns(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),g0=kt(m0),y0=Z({},is,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),vd=kt(y0),v0=Z({},Fi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ml}),w0=kt(v0),x0=Z({},Dr,{propertyName:0,elapsedTime:0,pseudoElement:0}),b0=kt(x0),S0=Z({},is,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),k0=kt(S0),T0=[9,13,27,32],gl=h&&"CompositionEvent"in window,Bi=null;h&&"documentMode"in document&&(Bi=document.documentMode);var E0=h&&"TextEvent"in window&&!Bi,wd=h&&(!gl||Bi&&8<Bi&&11>=Bi),xd=" ",bd=!1;function Sd(t,r){switch(t){case"keyup":return T0.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function kd(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Or=!1;function P0(t,r){switch(t){case"compositionend":return kd(r);case"keypress":return r.which!==32?null:(bd=!0,xd);case"textInput":return t=r.data,t===xd&&bd?null:t;default:return null}}function C0(t,r){if(Or)return t==="compositionend"||!gl&&Sd(t,r)?(t=pd(),ts=ul=Cn=null,Or=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return wd&&r.locale!=="ko"?null:r.data;default:return null}}var I0={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 Td(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r==="input"?!!I0[t.type]:r==="textarea"}function Ed(t,r,s,l){$h(l),r=cs(r,"onChange"),0<r.length&&(s=new hl("onChange","change",null,s,l),t.push({event:s,listeners:r}))}var Vi=null,Ni=null;function _0(t){Ud(t,0)}function os(t){var r=Nr(t);if(yi(r))return t}function A0(t,r){if(t==="change")return r}var Pd=!1;if(h){var yl;if(h){var vl="oninput"in document;if(!vl){var Cd=document.createElement("div");Cd.setAttribute("oninput","return;"),vl=typeof Cd.oninput=="function"}yl=vl}else yl=!1;Pd=yl&&(!document.documentMode||9<document.documentMode)}function Id(){Vi&&(Vi.detachEvent("onpropertychange",_d),Ni=Vi=null)}function _d(t){if(t.propertyName==="value"&&os(Ni)){var r=[];Ed(r,Ni,t,Xa(t)),Qh(_0,r)}}function R0(t,r,s){t==="focusin"?(Id(),Vi=r,Ni=s,Vi.attachEvent("onpropertychange",_d)):t==="focusout"&&Id()}function M0(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return os(Ni)}function L0(t,r){if(t==="click")return os(r)}function D0(t,r){if(t==="input"||t==="change")return os(r)}function O0(t,r){return t===r&&(t!==0||1/t===1/r)||t!==t&&r!==r}var Nt=typeof Object.is=="function"?Object.is:O0;function zi(t,r){if(Nt(t,r))return!0;if(typeof t!="object"||t===null||typeof r!="object"||r===null)return!1;var s=Object.keys(t),l=Object.keys(r);if(s.length!==l.length)return!1;for(l=0;l<s.length;l++){var d=s[l];if(!f.call(r,d)||!Nt(t[d],r[d]))return!1}return!0}function Ad(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Rd(t,r){var s=Ad(t);t=0;for(var l;s;){if(s.nodeType===3){if(l=t+s.textContent.length,t<=r&&l>=r)return{node:s,offset:r-t};t=l}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=Ad(s)}}function Md(t,r){return t&&r?t===r?!0:t&&t.nodeType===3?!1:r&&r.nodeType===3?Md(t,r.parentNode):"contains"in t?t.contains(r):t.compareDocumentPosition?!!(t.compareDocumentPosition(r)&16):!1:!1}function Ld(){for(var t=window,r=nr();r instanceof t.HTMLIFrameElement;){try{var s=typeof r.contentWindow.location.href=="string"}catch{s=!1}if(s)t=r.contentWindow;else break;r=nr(t.document)}return r}function wl(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r&&(r==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||r==="textarea"||t.contentEditable==="true")}function F0(t){var r=Ld(),s=t.focusedElem,l=t.selectionRange;if(r!==s&&s&&s.ownerDocument&&Md(s.ownerDocument.documentElement,s)){if(l!==null&&wl(s)){if(r=l.start,t=l.end,t===void 0&&(t=r),"selectionStart"in s)s.selectionStart=r,s.selectionEnd=Math.min(t,s.value.length);else if(t=(r=s.ownerDocument||document)&&r.defaultView||window,t.getSelection){t=t.getSelection();var d=s.textContent.length,m=Math.min(l.start,d);l=l.end===void 0?m:Math.min(l.end,d),!t.extend&&m>l&&(d=l,l=m,m=d),d=Rd(s,m);var x=Rd(s,l);d&&x&&(t.rangeCount!==1||t.anchorNode!==d.node||t.anchorOffset!==d.offset||t.focusNode!==x.node||t.focusOffset!==x.offset)&&(r=r.createRange(),r.setStart(d.node,d.offset),t.removeAllRanges(),m>l?(t.addRange(r),t.extend(x.node,x.offset)):(r.setEnd(x.node,x.offset),t.addRange(r)))}}for(r=[],t=s;t=t.parentNode;)t.nodeType===1&&r.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<r.length;s++)t=r[s],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var j0=h&&"documentMode"in document&&11>=document.documentMode,Fr=null,xl=null,Wi=null,bl=!1;function Dd(t,r,s){var l=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;bl||Fr==null||Fr!==nr(l)||(l=Fr,"selectionStart"in l&&wl(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Wi&&zi(Wi,l)||(Wi=l,l=cs(xl,"onSelect"),0<l.length&&(r=new hl("onSelect","select",null,r,s),t.push({event:r,listeners:l}),r.target=Fr)))}function ss(t,r){var s={};return s[t.toLowerCase()]=r.toLowerCase(),s["Webkit"+t]="webkit"+r,s["Moz"+t]="moz"+r,s}var jr={animationend:ss("Animation","AnimationEnd"),animationiteration:ss("Animation","AnimationIteration"),animationstart:ss("Animation","AnimationStart"),transitionend:ss("Transition","TransitionEnd")},Sl={},Od={};h&&(Od=document.createElement("div").style,"AnimationEvent"in window||(delete jr.animationend.animation,delete jr.animationiteration.animation,delete jr.animationstart.animation),"TransitionEvent"in window||delete jr.transitionend.transition);function as(t){if(Sl[t])return Sl[t];if(!jr[t])return t;var r=jr[t],s;for(s in r)if(r.hasOwnProperty(s)&&s in Od)return Sl[t]=r[s];return t}var Fd=as("animationend"),jd=as("animationiteration"),Bd=as("animationstart"),Vd=as("transitionend"),Nd=new Map,zd="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 In(t,r){Nd.set(t,r),c(r,[t])}for(var kl=0;kl<zd.length;kl++){var Tl=zd[kl],B0=Tl.toLowerCase(),V0=Tl[0].toUpperCase()+Tl.slice(1);In(B0,"on"+V0)}In(Fd,"onAnimationEnd"),In(jd,"onAnimationIteration"),In(Bd,"onAnimationStart"),In("dblclick","onDoubleClick"),In("focusin","onFocus"),In("focusout","onBlur"),In(Vd,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focu
6sin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ui="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(" "),N0=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ui));function Wd(t,r,s){var l=t.type||"unknown-event";t.currentTarget=s,Bw(l,r,void 0,t),t.currentTarget=null}function Ud(t,r){r=(r&4)!==0;for(var s=0;s<t.length;s++){var l=t[s],d=l.event;l=l.listeners;e:{var m=void 0;if(r)for(var x=l.length-1;0<=x;x--){var E=l[x],P=E.instance,B=E.currentTarget;if(E=E.listener,P!==m&&d.isPropagationStopped())break e;Wd(d,E,B),m=P}else for(x=0;x<l.length;x++){if(E=l[x],P=E.instance,B=E.currentTarget,E=E.listener,P!==m&&d.isPropagationStopped())break e;Wd(d,E,B),m=P}}}if($o)throw t=tl,$o=!1,tl=null,t}function _e(t,r){var s=r[Ml];s===void 0&&(s=r[Ml]=new Set);var l=t+"__bubble";s.has(l)||(Hd(r,t,2,!1),s.add(l))}function El(t,r,s){var l=0;r&&(l|=4),Hd(s,t,l,r)}var ls="_reactListening"+Math.random().toString(36).slice(2);function Hi(t){if(!t[ls]){t[ls]=!0,o.forEach(function(s){s!=="selectionchange"&&(N0.has(s)||El(s,!1,t),El(s,!0,t))});var r=t.nodeType===9?t:t.ownerDocument;r===null||r[ls]||(r[ls]=!0,El("selectionchange",!1,r))}}function Hd(t,r,s,l){switch(fd(r)){case 1:var d=e0;break;case 4:d=t0;break;default:d=ll}s=d.bind(null,r,s,t),d=void 0,!el||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(d=!0),l?d!==void 0?t.addEventListener(r,s,{capture:!0,passive:d}):t.addEventListener(r,s,!0):d!==void 0?t.addEventListener(r,s,{passive:d}):t.addEventListener(r,s,!1)}function Pl(t,r,s,l,d){var m=l;if((r&1)===0&&(r&2)===0&&l!==null)e:for(;;){if(l===null)return;var x=l.tag;if(x===3||x===4){var E=l.stateNode.containerInfo;if(E===d||E.nodeType===8&&E.parentNode===d)break;if(x===4)for(x=l.return;x!==null;){var P=x.tag;if((P===3||P===4)&&(P=x.stateNode.containerInfo,P===d||P.nodeType===8&&P.parentNode===d))return;x=x.return}for(;E!==null;){if(x=or(E),x===null)return;if(P=x.tag,P===5||P===6){l=m=x;continue e}E=E.parentNode}}l=l.return}Qh(function(){var B=m,G=Xa(s),Y=[];e:{var q=Nd.get(t);if(q!==void 0){var te=hl,re=t;switch(t){case"keypress":if(ns(s)===0)break e;case"keydown":case"keyup":te=g0;break;case"focusin":re="focus",te=pl;break;case"focusout":re="blur",te=pl;break;case"beforeblur":case"afterblur":te=pl;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":te=gd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":te=i0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":te=w0;break;case Fd:case jd:case Bd:te=a0;break;case Vd:te=b0;break;case"scroll":te=n0;break;case"wheel":te=k0;break;case"copy":case"cut":case"paste":te=c0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":te=vd}var oe=(r&4)!==0,Ne=!oe&&t==="scroll",D=oe?q!==null?q+"Capture":null:q;oe=[];for(var I=B,O;I!==null;){O=I;var X=O.stateNode;if(O.tag===5&&X!==null&&(O=X,D!==null&&(X=Pi(I,D),X!=null&&oe.push($i(I,X,O)))),Ne)break;I=I.return}0<oe.length&&(q=new te(q,re,null,s,G),Y.push({event:q,listeners:oe}))}}if((r&7)===0){e:{if(q=t==="mouseover"||t==="pointerover",te=t==="mouseout"||t==="pointerout",q&&s!==Ya&&(re=s.relatedTarget||s.fromElement)&&(or(re)||re[pn]))break e;if((te||q)&&(q=G.window===G?G:(q=G.ownerDocument)?q.defaultView||q.parentWindow:window,te?(re=s.relatedTarget||s.toElement,te=B,re=re?or(re):null,re!==null&&(Ne=ir(re),re!==Ne||re.tag!==5&&re.tag!==6)&&(re=null)):(te=null,re=B),te!==re)){if(oe=gd,X="onMouseLeave",D="onMouseEnter",I="mouse",(t==="pointerout"||t==="pointerover")&&(oe=vd,X="onPointerLeave",D="onPointerEnter",I="pointer"),Ne=te==null?q:Nr(te),O=re==null?q:Nr(re),q=new oe(X,I+"leave",te,s,G),q.target=Ne,q.relatedTarget=O,X=null,or(G)===B&&(oe=new oe(D,I+"enter",re,s,G),oe.target=O,oe.relatedTarget=Ne,X=oe),Ne=X,te&&re)t:{for(oe=te,D=re,I=0,O=oe;O;O=Br(O))I++;for(O=0,X=D;X;X=Br(X))O++;for(;0<I-O;)oe=Br(oe),I--;for(;0<O-I;)D=Br(D),O--;for(;I--;){if(oe===D||D!==null&&oe===D.alternate)break t;oe=Br(oe),D=Br(D)}oe=null}else oe=null;te!==null&&$d(Y,q,te,oe,!1),re!==null&&Ne!==null&&$d(Y,Ne,re,oe,!0)}}
vendor: 5,969 bytes, lines 6-7
6e:{if(q=B?Nr(B):window,te=q.nodeName&&q.nodeName.toLowerCase(),te==="select"||te==="input"&&q.type==="file")var se=A0;else if(Td(q))if(Pd)se=D0;else{se=M0;var ce=R0}else(te=q.nodeName)&&te.toLowerCase()==="input"&&(q.type==="checkbox"||q.type==="radio")&&(se=L0);if(se&&(se=se(t,B))){Ed(Y,se,s,G);break e}ce&&ce(t,q,B),t==="focusout"&&(ce=q._wrapperState)&&ce.controlled&&q.type==="number"&&Bt(q,"number",q.value)}switch(ce=B?Nr(B):window,t){case"focusin":(Td(ce)||ce.contentEditable==="true")&&(Fr=ce,xl=B,Wi=null);break;case"focusout":Wi=xl=Fr=null;break;case"mousedown":bl=!0;break;case"contextmenu":case"mouseup":case"dragend":bl=!1,Dd(Y,s,G);break;case"selectionchange":if(j0)break;case"keydown":case"keyup":Dd(Y,s,G)}var ue;if(gl)e:{switch(t){case"compositionstart":var de="onCompositionStart";break e;case"compositionend":de="onCompositionEnd";break e;case"compositionupdate":de="onCompositionUpdate";break e}de=void 0}else Or?Sd(t,s)&&(de="onCompositionEnd"):t==="keydown"&&s.keyCode===229&&(de="onCompositionStart");de&&(wd&&s.locale!=="ko"&&(Or||de!=="onCompositionStart"?de==="onCompositionEnd"&&Or&&(ue=pd()):(Cn=G,ul="value"in Cn?Cn.value:Cn.textContent,Or=!0)),ce=cs(B,de),0<ce.length&&(de=new yd(de,t,null,s,G),Y.push({event:de,listeners:ce}),ue?de.data=ue:(ue=kd(s),ue!==null&&(de.data=ue)))),(ue=E0?P0(t,s):C0(t,s))&&(B=cs(B,"onBeforeInput"),0<B.length&&(G=new yd("onBeforeInput","beforeinput",null,s,G),Y.push({event:G,listeners:B}),G.data=ue))}Ud(Y,r)})}function $i(t,r,s){return{instance:t,listener:r,currentTarget:s}}function cs(t,r){for(var s=r+"Capture",l=[];t!==null;){var d=t,m=d.stateNode;d.tag===5&&m!==null&&(d=m,m=Pi(t,s),m!=null&&l.unshift($i(t,m,d)),m=Pi(t,r),m!=null&&l.push($i(t,m,d))),t=t.return}return l}function Br(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function $d(t,r,s,l,d){for(var m=r._reactName,x=[];s!==null&&s!==l;){var E=s,P=E.alternate,B=E.stateNode;if(P!==null&&P===l)break;E.tag===5&&B!==null&&(E=B,d?(P=Pi(s,m),P!=null&&x.unshift($i(s,P,E))):d||(P=Pi(s,m),P!=null&&x.push($i(s,P,E)))),s=s.return}x.length!==0&&t.push({event:r,listeners:x})}var z0=/\r\n?/g,W0=/\u0000|\uFFFD/g;function qd(t){return(typeof t=="string"?t:""+t).replace(z0,`
7`).replace(W0,"")}function us(t,r,s){if(r=qd(r),qd(t)!==r&&s)throw Error(i(425))}function hs(){}var Cl=null,Il=null;function _l(t,r){return t==="textarea"||t==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var Al=typeof setTimeout=="function"?setTimeout:void 0,U0=typeof clearTimeout=="function"?clearTimeout:void 0,Kd=typeof Promise=="function"?Promise:void 0,H0=typeof queueMicrotask=="function"?queueMicrotask:typeof Kd<"u"?function(t){return Kd.resolve(null).then(t).catch($0)}:Al;function $0(t){setTimeout(function(){throw t})}function Rl(t,r){var s=r,l=0;do{var d=s.nextSibling;if(t.removeChild(s),d&&d.nodeType===8)if(s=d.data,s==="/$"){if(l===0){t.removeChild(d),Oi(r);return}l--}else s!=="$"&&s!=="$?"&&s!=="$!"||l++;s=d}while(s);Oi(r)}function _n(t){for(;t!=null;t=t.nextSibling){var r=t.nodeType;if(r===1||r===3)break;if(r===8){if(r=t.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return t}function Gd(t){t=t.previousSibling;for(var r=0;t;){if(t.nodeType===8){var s=t.data;if(s==="$"||s==="$!"||s==="$?"){if(r===0)return t;r--}else s==="/$"&&r++}t=t.previousSibling}return null}var Vr=Math.random().toString(36).slice(2),Zt="__reactFiber$"+Vr,qi="__reactProps$"+Vr,pn="__reactContainer$"+Vr,Ml="__reactEvents$"+Vr,q0="__reactListeners$"+Vr,K0="__reactHandles$"+Vr;function or(t){var r=t[Zt];if(r)return r;for(var s=t.parentNode;s;){if(r=s[pn]||s[Zt]){if(s=r.alternate,r.child!==null||s!==null&&s.child!==null)for(t=Gd(t);t!==null;){if(s=t[Zt])return s;t=Gd(t)}return r}t=s,s=t.parentNode}return null}function Ki(t){return t=t[Zt]||t[pn],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function Nr(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(i(33))}function ds(t){return t[qi]||null}var Ll=[],zr=-1;function An(t){return{current:t}}function Ae(t){0>zr||(t.current=Ll[zr],Ll[zr]=null,zr--)}function Ie(t,r){zr++,Ll[zr]=t.current,t.current=r}var Rn={},ot=An(Rn),mt=An(!1),sr=Rn;function Wr(t,r){var s=t.type.contextTypes;if(!s)return Rn;var l=t.stateNode;if(l&&l.__reactInternalMemoizedUnmaskedChildContext===r)return l.__reactInternalMemoizedMaskedChildContext;var d={},m;for(m in s)d[m]=r[m];return l&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=r,t.__reactInternalMemoizedMaskedChildContext=d),d}function gt(t){return t=t.childContextTypes,t!=null}function fs(){Ae(mt),Ae(ot)}function Qd(t,r,s){if(ot.current!==Rn)throw Error(i(168));Ie(ot,r),Ie(mt,s)}function Yd(t,r,s){var l=t.stateNode;if(r=r.childContextTypes,typeof l.getChildContext!="function")return s;l=l.getChildContext();for(var d in l)if(!(d in r))throw Error(i(108,be(t)||"Unknown",d));return Z({},s,l)}function ps(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Rn,sr=ot.current,Ie(ot,t),Ie(mt,mt.current),!0}function Xd(t,r,s){var l=t.stateNode;if(!l)throw Error(i(169));s?(t=Yd(t,r,sr),l.__reactInternalMemoizedMergedChildContext=t,Ae(mt),Ae(ot),Ie(ot,t)):Ae(mt),Ie(mt,s)}var mn=null,ms=!1,Dl=!1;function Jd(t){mn===null?mn=[t]:mn.push(t)}function G0(t){ms=!0,Jd(t)}function Mn(){if(!Dl&&mn!==null){Dl=!0;var t=0,r=Te;try{var s=mn;for(Te=1;t<s.length;t++){var l=s[t];do l=l(!0);while(l!==null)}mn=null,ms=!1}catch(d){throw mn!==null&&(mn=mn.slice(t+1)),ed(nl,Mn),d}finally{Te=r,Dl=!1}}return null}var Ur=[],Hr=0,gs=null,ys=0,_t=[],At=0,ar=null,gn=1,yn="";function lr(t,r){Ur[Hr++]=ys,Ur[Hr++]=gs,gs=t,ys=r}function Zd(t,r,s){_t[At++]=gn,_t[At++]=yn,_t[At++]=ar,ar=t;var l=gn;t=yn;var d=32-Vt(l)-1;l&=~(1<<d),s+=1;var m=32-Vt(r)+d;if(30<m){var x=d-d%5;m=(l&(1<<x)-1).toString(32),l>>=x,d-=x,gn=1<<32-Vt(r)+d|s<<d|l,yn=m+t}else gn=1<<m|s<<d|l,yn=t}
vendor: 6,767 bytes, line 7
7function Ol(t){t.return!==null&&(lr(t,1),Zd(t,1,0))}function Fl(t){for(;t===gs;)gs=Ur[--Hr],Ur[Hr]=null,ys=Ur[--Hr],Ur[Hr]=null;for(;t===ar;)ar=_t[--At],_t[At]=null,yn=_t[--At],_t[At]=null,gn=_t[--At],_t[At]=null}var Tt=null,Et=null,Le=!1,zt=null;function ef(t,r){var s=Dt(5,null,null,0);s.elementType="DELETED",s.stateNode=r,s.return=t,r=t.deletions,r===null?(t.deletions=[s],t.flags|=16):r.push(s)}function tf(t,r){switch(t.tag){case 5:var s=t.type;return r=r.nodeType!==1||s.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(t.stateNode=r,Tt=t,Et=_n(r.firstChild),!0):!1;case 6:return r=t.pendingProps===""||r.nodeType!==3?null:r,r!==null?(t.stateNode=r,Tt=t,Et=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(s=ar!==null?{id:gn,overflow:yn}:null,t.memoizedState={dehydrated:r,treeContext:s,retryLane:1073741824},s=Dt(18,null,null,0),s.stateNode=r,s.return=t,t.child=s,Tt=t,Et=null,!0):!1;default:return!1}}function jl(t){return(t.mode&1)!==0&&(t.flags&128)===0}function Bl(t){if(Le){var r=Et;if(r){var s=r;if(!tf(t,r)){if(jl(t))throw Error(i(418));r=_n(s.nextSibling);var l=Tt;r&&tf(t,r)?ef(l,s):(t.flags=t.flags&-4097|2,Le=!1,Tt=t)}}else{if(jl(t))throw Error(i(418));t.flags=t.flags&-4097|2,Le=!1,Tt=t}}}function nf(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;Tt=t}function vs(t){if(t!==Tt)return!1;if(!Le)return nf(t),Le=!0,!1;var r;if((r=t.tag!==3)&&!(r=t.tag!==5)&&(r=t.type,r=r!=="head"&&r!=="body"&&!_l(t.type,t.memoizedProps)),r&&(r=Et)){if(jl(t))throw rf(),Error(i(418));for(;r;)ef(t,r),r=_n(r.nextSibling)}if(nf(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));e:{for(t=t.nextSibling,r=0;t;){if(t.nodeType===8){var s=t.data;if(s==="/$"){if(r===0){Et=_n(t.nextSibling);break e}r--}else s!=="$"&&s!=="$!"&&s!=="$?"||r++}t=t.nextSibling}Et=null}}else Et=Tt?_n(t.stateNode.nextSibling):null;return!0}function rf(){for(var t=Et;t;)t=_n(t.nextSibling)}function $r(){Et=Tt=null,Le=!1}function Vl(t){zt===null?zt=[t]:zt.push(t)}var Q0=L.ReactCurrentBatchConfig;function Gi(t,r,s){if(t=s.ref,t!==null&&typeof t!="function"&&typeof t!="object"){if(s._owner){if(s=s._owner,s){if(s.tag!==1)throw Error(i(309));var l=s.stateNode}if(!l)throw Error(i(147,t));var d=l,m=""+t;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===m?r.ref:(r=function(x){var E=d.refs;x===null?delete E[m]:E[m]=x},r._stringRef=m,r)}if(typeof t!="string")throw Error(i(284));if(!s._owner)throw Error(i(290,t))}return t}function ws(t,r){throw t=Object.prototype.toString.call(r),Error(i(31,t==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":t))}function of(t){var r=t._init;return r(t._payload)}function sf(t){function r(D,I){if(t){var O=D.deletions;O===null?(D.deletions=[I],D.flags|=16):O.push(I)}}function s(D,I){if(!t)return null;for(;I!==null;)r(D,I),I=I.sibling;return null}function l(D,I){for(D=new Map;I!==null;)I.key!==null?D.set(I.key,I):D.set(I.index,I),I=I.sibling;return D}function d(D,I){return D=Nn(D,I),D.index=0,D.sibling=null,D}function m(D,I,O){return D.index=O,t?(O=D.alternate,O!==null?(O=O.index,O<I?(D.flags|=2,I):O):(D.flags|=2,I)):(D.flags|=1048576,I)}function x(D){return t&&D.alternate===null&&(D.flags|=2),D}function E(D,I,O,X){return I===null||I.tag!==6?(I=Ac(O,D.mode,X),I.return=D,I):(I=d(I,O),I.return=D,I)}function P(D,I,O,X){var se=O.type;return se===W?G(D,I,O.props.children,X,O.key):I!==null&&(I.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===pe&&of(se)===I.type)?(X=d(I,O.props),X.ref=Gi(D,I,O),X.return=D,X):(X=Us(O.type,O.key,O.props,null,D.mode,X),X.ref=Gi(D,I,O),X.return=D,X)}function B(D,I,O,X){return I===null||I.tag!==4||I.stateNode.containerInfo!==O.containerInfo||I.stateNode.implementation!==O.implementation?(I=Rc(O,D.mode,X),I.return=D,I):(I=d(I,O.children||[]),I.return=D,I)}function G(D,I,O,X,se){return I===null||I.tag!==7?(I=gr(O,D.mode,X,se),I.return=D,I):(I=d(I,O),I.return=D,I)}function Y(D,I,O){if(typeof I=="string"&&I!==""||typeof I=="number")return I=Ac(""+I,D.mode,O),I.return=D,I;if(typeof I=="object"&&I!==null){switch(I.$$typeof){case F:return O=Us(I.type,I.key,I.props,null,D.mode,O),O.ref=Gi(D,null,I),O.return=D,O;case V:return I=Rc(I,D.mode,O),I.return=D,I;case pe:var X=I._init;return Y(D,X(I._payload),O)}if(rr(I)||ee(I))return I=gr(I,D.mode,O,null),I.return=D,I;ws(D,I)}return null}function q(D,I,O,X){var se=I!==null?I.key:null;if(typeof O=="string"&&O!==""||typeof O=="number")return se!==null?null:E(D,I,""+O,X);if(typeof O=="object"&&O!==null){switch(O.$$typeof){case F:return O.key===se?P(D,I,O,X):null;case V:return O.key===se?B(D,I,O,X):null;case pe:return se=O._init,q(D,I,se(O._payload),X)}if(rr(O)||ee(O))return se!==null?null:G(D,I,O,X,null);ws(D,O)}return null}function te(D,I,O,X,se){if(typeof X=="string"&&X!==""||typeof X=="number")return D=D.get(O)||null,E(I,D,""+X,se);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case F:return D=D.get(X.key===null?O:X.key)||null,P(I,D,X,se);case V:return D=D.get(X.key===null?O:X.key)||null,B(I,D,X,se);case pe:var ce=X._init;return te(D,I,O,ce(X._payload),se)}if(rr(X)||ee(X))return D=D.get(O)||null,G(I,D,X,se,null);ws(I,X)}return null}function re(D,I,O,X){for(var se=null,ce=null,ue=I,de=I=0,Je=null;ue!==null&&de<O.length;de++){ue.index>de?(Je=ue,ue=null):Je=ue.sibling;var Se=q(D,ue,O[de],X);if(Se===null){ue===null&&(ue=Je);break}t&&ue&&Se.alternate===null&&r(D,ue),I=m(Se,I,de),ce===null?se=Se:ce.sibling=Se,ce=Se,ue=Je}if(de===O.length)return s(D,ue),Le&&lr(D,de),se;if(ue===null){for(;de<O.length;de++)ue=Y(D,O[de],X),ue!==null&&(I=m(ue,I,de),ce===null?se=ue:ce.sibling=ue,ce=ue);return Le&&lr(D,de),se}for(ue=l(D,ue);de<O.length;de++)Je=te(ue,D,de,O[de],X),Je!==null&&(t&&Je.alternate!==null&&ue.delete(Je.key===null?de:Je.key),I=m(Je,I,de),ce===null?se=Je:ce.sibling=Je,ce=Je);return t&&ue.forEach(function(zn){return r(D,zn)}),Le&&lr(D,de),se}function oe(D,I,O,X){var se=ee(O);if(typeof se!="function")throw Error(i(150));if(O=se.call(O),O==null)throw Error(i(151));for(var ce=se=null,ue=I,de=I=0,Je=null,Se=O.next();ue!==null&&!Se.done;de++,Se=O.next()){ue.index>de?(Je=ue,ue=null):Je=ue.sibling;var zn=q(D,ue,Se.value,X);if(zn===null){ue===null&&(ue=Je);break}t&&ue&&zn.alternate===null&&r(D,ue),I=m(zn,I,de),ce===null?se=zn:ce.sibling=zn,ce=zn,ue=Je}if(Se.done)return s(D,ue),Le&&lr(D,de),se;if(ue===null){for(;!Se.done;de++,Se=O.next())Se=Y(D,Se.value,X),Se!==null&&(I=m(Se,I,de),ce===null?se=Se:ce.sibling=Se,ce=Se);return Le&&lr(D,de),se}for(ue=l(D,ue);!Se.done;de++,Se=O.next())Se=te(ue,D,de,Se.value,X),Se!==null&&(t&&Se.alternate!==null&&ue.delete(Se.key===null?de:Se.key),I=m(Se,I,de),ce===null?se=Se:ce.sibling=Se,ce=Se);return t&&ue.forEach(function(Ix){return r(D,Ix)}),Le&&lr(D,de),se}
vendor: 6,418 bytes, line 7
7function Ne(D,I,O,X){if(typeof O=="object"&&O!==null&&O.type===W&&O.key===null&&(O=O.props.children),typeof O=="object"&&O!==null){switch(O.$$typeof){case F:e:{for(var se=O.key,ce=I;ce!==null;){if(ce.key===se){if(se=O.type,se===W){if(ce.tag===7){s(D,ce.sibling),I=d(ce,O.props.children),I.return=D,D=I;break e}}else if(ce.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===pe&&of(se)===ce.type){s(D,ce.sibling),I=d(ce,O.props),I.ref=Gi(D,ce,O),I.return=D,D=I;break e}s(D,ce);break}else r(D,ce);ce=ce.sibling}O.type===W?(I=gr(O.props.children,D.mode,X,O.key),I.return=D,D=I):(X=Us(O.type,O.key,O.props,null,D.mode,X),X.ref=Gi(D,I,O),X.return=D,D=X)}return x(D);case V:e:{for(ce=O.key;I!==null;){if(I.key===ce)if(I.tag===4&&I.stateNode.containerInfo===O.containerInfo&&I.stateNode.implementation===O.implementation){s(D,I.sibling),I=d(I,O.children||[]),I.return=D,D=I;break e}else{s(D,I);break}else r(D,I);I=I.sibling}I=Rc(O,D.mode,X),I.return=D,D=I}return x(D);case pe:return ce=O._init,Ne(D,I,ce(O._payload),X)}if(rr(O))return re(D,I,O,X);if(ee(O))return oe(D,I,O,X);ws(D,O)}return typeof O=="string"&&O!==""||typeof O=="number"?(O=""+O,I!==null&&I.tag===6?(s(D,I.sibling),I=d(I,O),I.return=D,D=I):(s(D,I),I=Ac(O,D.mode,X),I.return=D,D=I),x(D)):s(D,I)}return Ne}var qr=sf(!0),af=sf(!1),xs=An(null),bs=null,Kr=null,Nl=null;function zl(){Nl=Kr=bs=null}function Wl(t){var r=xs.current;Ae(xs),t._currentValue=r}function Ul(t,r,s){for(;t!==null;){var l=t.alternate;if((t.childLanes&r)!==r?(t.childLanes|=r,l!==null&&(l.childLanes|=r)):l!==null&&(l.childLanes&r)!==r&&(l.childLanes|=r),t===s)break;t=t.return}}function Gr(t,r){bs=t,Nl=Kr=null,t=t.dependencies,t!==null&&t.firstContext!==null&&((t.lanes&r)!==0&&(yt=!0),t.firstContext=null)}function Rt(t){var r=t._currentValue;if(Nl!==t)if(t={context:t,memoizedValue:r,next:null},Kr===null){if(bs===null)throw Error(i(308));Kr=t,bs.dependencies={lanes:0,firstContext:t}}else Kr=Kr.next=t;return r}var cr=null;function Hl(t){cr===null?cr=[t]:cr.push(t)}function lf(t,r,s,l){var d=r.interleaved;return d===null?(s.next=s,Hl(r)):(s.next=d.next,d.next=s),r.interleaved=s,vn(t,l)}function vn(t,r){t.lanes|=r;var s=t.alternate;for(s!==null&&(s.lanes|=r),s=t,t=t.return;t!==null;)t.childLanes|=r,s=t.alternate,s!==null&&(s.childLanes|=r),s=t,t=t.return;return s.tag===3?s.stateNode:null}var Ln=!1;function $l(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function cf(t,r){t=t.updateQueue,r.updateQueue===t&&(r.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function wn(t,r){return{eventTime:t,lane:r,tag:0,payload:null,callback:null,next:null}}function Dn(t,r,s){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(xe&2)!==0){var d=l.pending;return d===null?r.next=r:(r.next=d.next,d.next=r),l.pending=r,vn(t,s)}return d=l.interleaved,d===null?(r.next=r,Hl(l)):(r.next=d.next,d.next=r),l.interleaved=r,vn(t,s)}function Ss(t,r,s){if(r=r.updateQueue,r!==null&&(r=r.shared,(s&4194240)!==0)){var l=r.lanes;l&=t.pendingLanes,s|=l,r.lanes=s,ol(t,s)}}function uf(t,r){var s=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,s===l)){var d=null,m=null;if(s=s.firstBaseUpdate,s!==null){do{var x={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};m===null?d=m=x:m=m.next=x,s=s.next}while(s!==null);m===null?d=m=r:m=m.next=r}else d=m=r;s={baseState:l.baseState,firstBaseUpdate:d,lastBaseUpdate:m,shared:l.shared,effects:l.effects},t.updateQueue=s;return}t=s.lastBaseUpdate,t===null?s.firstBaseUpdate=r:t.next=r,s.lastBaseUpdate=r}function ks(t,r,s,l){var d=t.updateQueue;Ln=!1;var m=d.firstBaseUpdate,x=d.lastBaseUpdate,E=d.shared.pending;if(E!==null){d.shared.pending=null;var P=E,B=P.next;P.next=null,x===null?m=B:x.next=B,x=P;var G=t.alternate;G!==null&&(G=G.updateQueue,E=G.lastBaseUpdate,E!==x&&(E===null?G.firstBaseUpdate=B:E.next=B,G.lastBaseUpdate=P))}if(m!==null){var Y=d.baseState;x=0,G=B=P=null,E=m;do{var q=E.lane,te=E.eventTime;if((l&q)===q){G!==null&&(G=G.next={eventTime:te,lane:0,tag:E.tag,payload:E.payload,callback:E.callback,next:null});e:{var re=t,oe=E;switch(q=r,te=s,oe.tag){case 1:if(re=oe.payload,typeof re=="function"){Y=re.call(te,Y,q);break e}Y=re;break e;case 3:re.flags=re.flags&-65537|128;case 0:if(re=oe.payload,q=typeof re=="function"?re.call(te,Y,q):re,q==null)break e;Y=Z({},Y,q);break e;case 2:Ln=!0}}E.callback!==null&&E.lane!==0&&(t.flags|=64,q=d.effects,q===null?d.effects=[E]:q.push(E))}else te={eventTime:te,lane:q,tag:E.tag,payload:E.payload,callback:E.callback,next:null},G===null?(B=G=te,P=Y):G=G.next=te,x|=q;if(E=E.next,E===null){if(E=d.shared.pending,E===null)break;q=E,E=q.next,q.next=null,d.lastBaseUpdate=q,d.shared.pending=null}}while(!0);if(G===null&&(P=Y),d.baseState=P,d.firstBaseUpdate=B,d.lastBaseUpdate=G,r=d.shared.interleaved,r!==null){d=r;do x|=d.lane,d=d.next;while(d!==r)}else m===null&&(d.shared.lanes=0);dr|=x,t.lanes=x,t.memoizedState=Y}}function hf(t,r,s){if(t=r.effects,r.effects=null,t!==null)for(r=0;r<t.length;r++){var l=t[r],d=l.callback;if(d!==null){if(l.callback=null,l=s,typeof d!="function")throw Error(i(191,d));d.call(l)}}}var Qi={},en=An(Qi),Yi=An(Qi),Xi=An(Qi);function ur(t){if(t===Qi)throw Error(i(174));return t}function ql(t,r){switch(Ie(Xi,r),Ie(Yi,t),Ie(en,Qi),t=r.nodeType,t){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:ki(null,"");break;default:t=t===8?r.parentNode:r,r=t.namespaceURI||null,t=t.tagName,r=ki(r,t)}Ae(en),Ie(en,r)}function Qr(){Ae(en),Ae(Yi),Ae(Xi)}function df(t){ur(Xi.current);var r=ur(en.current),s=ki(r,t.type);r!==s&&(Ie(Yi,t),Ie(en,s))}function Kl(t){Yi.current===t&&(Ae(en),Ae(Yi))}var Oe=An(0);function Ts(t){for(var r=t;r!==null;){if(r.tag===13){var s=r.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||s.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var Gl=[];function Ql(){for(var t=0;t<Gl.length;t++)Gl[t]._workInProgressVersionPrimary=null;Gl.length=0}var Es=L.ReactCurrentDispatcher,Yl=L.ReactCurrentBatchConfig,hr=0,Fe
vendor: 4,743 bytes, line 7
7=null,$e=null,Ye=null,Ps=!1,Ji=!1,Zi=0,Y0=0;function st(){throw Error(i(321))}function Xl(t,r){if(r===null)return!1;for(var s=0;s<r.length&&s<t.length;s++)if(!Nt(t[s],r[s]))return!1;return!0}function Jl(t,r,s,l,d,m){if(hr=m,Fe=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,Es.current=t===null||t.memoizedState===null?ex:tx,t=s(l,d),Ji){m=0;do{if(Ji=!1,Zi=0,25<=m)throw Error(i(301));m+=1,Ye=$e=null,r.updateQueue=null,Es.current=nx,t=s(l,d)}while(Ji)}if(Es.current=_s,r=$e!==null&&$e.next!==null,hr=0,Ye=$e=Fe=null,Ps=!1,r)throw Error(i(300));return t}function Zl(){var t=Zi!==0;return Zi=0,t}function tn(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ye===null?Fe.memoizedState=Ye=t:Ye=Ye.next=t,Ye}function Mt(){if($e===null){var t=Fe.alternate;t=t!==null?t.memoizedState:null}else t=$e.next;var r=Ye===null?Fe.memoizedState:Ye.next;if(r!==null)Ye=r,$e=t;else{if(t===null)throw Error(i(310));$e=t,t={memoizedState:$e.memoizedState,baseState:$e.baseState,baseQueue:$e.baseQueue,queue:$e.queue,next:null},Ye===null?Fe.memoizedState=Ye=t:Ye=Ye.next=t}return Ye}function eo(t,r){return typeof r=="function"?r(t):r}function ec(t){var r=Mt(),s=r.queue;if(s===null)throw Error(i(311));s.lastRenderedReducer=t;var l=$e,d=l.baseQueue,m=s.pending;if(m!==null){if(d!==null){var x=d.next;d.next=m.next,m.next=x}l.baseQueue=d=m,s.pending=null}if(d!==null){m=d.next,l=l.baseState;var E=x=null,P=null,B=m;do{var G=B.lane;if((hr&G)===G)P!==null&&(P=P.next={lane:0,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null}),l=B.hasEagerState?B.eagerState:t(l,B.action);else{var Y={lane:G,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null};P===null?(E=P=Y,x=l):P=P.next=Y,Fe.lanes|=G,dr|=G}B=B.next}while(B!==null&&B!==m);P===null?x=l:P.next=E,Nt(l,r.memoizedState)||(yt=!0),r.memoizedState=l,r.baseState=x,r.baseQueue=P,s.lastRenderedState=l}if(t=s.interleaved,t!==null){d=t;do m=d.lane,Fe.lanes|=m,dr|=m,d=d.next;while(d!==t)}else d===null&&(s.lanes=0);return[r.memoizedState,s.dispatch]}function tc(t){var r=Mt(),s=r.queue;if(s===null)throw Error(i(311));s.lastRenderedReducer=t;var l=s.dispatch,d=s.pending,m=r.memoizedState;if(d!==null){s.pending=null;var x=d=d.next;do m=t(m,x.action),x=x.next;while(x!==d);Nt(m,r.memoizedState)||(yt=!0),r.memoizedState=m,r.baseQueue===null&&(r.baseState=m),s.lastRenderedState=m}return[m,l]}function ff(){}function pf(t,r){var s=Fe,l=Mt(),d=r(),m=!Nt(l.memoizedState,d);if(m&&(l.memoizedState=d,yt=!0),l=l.queue,nc(yf.bind(null,s,l,t),[t]),l.getSnapshot!==r||m||Ye!==null&&Ye.memoizedState.tag&1){if(s.flags|=2048,to(9,gf.bind(null,s,l,d,r),void 0,null),Xe===null)throw Error(i(349));(hr&30)!==0||mf(s,r,d)}return d}function mf(t,r,s){t.flags|=16384,t={getSnapshot:r,value:s},r=Fe.updateQueue,r===null?(r={lastEffect:null,stores:null},Fe.updateQueue=r,r.stores=[t]):(s=r.stores,s===null?r.stores=[t]:s.push(t))}function gf(t,r,s,l){r.value=s,r.getSnapshot=l,vf(r)&&wf(t)}function yf(t,r,s){return s(function(){vf(r)&&wf(t)})}function vf(t){var r=t.getSnapshot;t=t.value;try{var s=r();return!Nt(t,s)}catch{return!0}}function wf(t){var r=vn(t,1);r!==null&&$t(r,t,1,-1)}function xf(t){var r=tn();return typeof t=="function"&&(t=t()),r.memoizedState=r.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:eo,lastRenderedState:t},r.queue=t,t=t.dispatch=Z0.bind(null,Fe,t),[r.memoizedState,t]}function to(t,r,s,l){return t={tag:t,create:r,destroy:s,deps:l,next:null},r=Fe.updateQueue,r===null?(r={lastEffect:null,stores:null},Fe.updateQueue=r,r.lastEffect=t.next=t):(s=r.lastEffect,s===null?r.lastEffect=t.next=t:(l=s.next,s.next=t,t.next=l,r.lastEffect=t)),t}function bf(){return Mt().memoizedState}function Cs(t,r,s,l){var d=tn();Fe.flags|=t,d.memoizedState=to(1|r,s,void 0,l===void 0?null:l)}function Is(t,r,s,l){var d=Mt();l=l===void 0?null:l;var m=void 0;if($e!==null){var x=$e.memoizedState;if(m=x.destroy,l!==null&&Xl(l,x.deps)){d.memoizedState=to(r,s,m,l);return}}Fe.flags|=t,d.memoizedState=to(1|r,s,m,l)}function Sf(t,r){return Cs(8390656,8,t,r)}function nc(t,r){return Is(2048,8,t,r)}function kf(t,r){return Is(4,2,t,r)}function Tf(t,r){return Is(4,4,t,r)}function Ef(t,r){if(typeof r=="function")return t=t(),r(t),function(){r(null)};if(r!=null)return t=t(),r.current=t,function(){r.current=null}}function Pf(t,r,s){return s=s!=null?s.concat([t]):null,Is(4,4,Ef.bind(null,r,t),s)}function rc(){}function Cf(t,r){var s=Mt();r=r===void 0?null:r;var l=s.memoizedState;return l!==null&&r!==null&&Xl(r,l[1])?l[0]:(s.memoizedState=[t,r],t)}function If(t,r){var s=Mt();r=r===void 0?null:r;var l=s.memoizedState;return l!==null&&r!==null&&Xl(r,l[1])?l[0]:(t=t(),s.memoizedState=[t,r],t)}
vendor: 8,300 bytes, lines 7-9
7function _f(t,r,s){return(hr&21)===0?(t.baseState&&(t.baseState=!1,yt=!0),t.memoizedState=s):(Nt(s,r)||(s=id(),Fe.lanes|=s,dr|=s,t.baseState=!0),r)}function X0(t,r){var s=Te;Te=s!==0&&4>s?s:4,t(!0);var l=Yl.transition;Yl.transition={};try{t(!1),r()}finally{Te=s,Yl.transition=l}}function Af(){return Mt().memoizedState}function J0(t,r,s){var l=Bn(t);if(s={lane:l,action:s,hasEagerState:!1,eagerState:null,next:null},Rf(t))Mf(r,s);else if(s=lf(t,r,s,l),s!==null){var d=ut();$t(s,t,l,d),Lf(s,r,l)}}function Z0(t,r,s){var l=Bn(t),d={lane:l,action:s,hasEagerState:!1,eagerState:null,next:null};if(Rf(t))Mf(r,d);else{var m=t.alternate;if(t.lanes===0&&(m===null||m.lanes===0)&&(m=r.lastRenderedReducer,m!==null))try{var x=r.lastRenderedState,E=m(x,s);if(d.hasEagerState=!0,d.eagerState=E,Nt(E,x)){var P=r.interleaved;P===null?(d.next=d,Hl(r)):(d.next=P.next,P.next=d),r.interleaved=d;return}}catch{}s=lf(t,r,d,l),s!==null&&(d=ut(),$t(s,t,l,d),Lf(s,r,l))}}function Rf(t){var r=t.alternate;return t===Fe||r!==null&&r===Fe}function Mf(t,r){Ji=Ps=!0;var s=t.pending;s===null?r.next=r:(r.next=s.next,s.next=r),t.pending=r}function Lf(t,r,s){if((s&4194240)!==0){var l=r.lanes;l&=t.pendingLanes,s|=l,r.lanes=s,ol(t,s)}}var _s={readContext:Rt,useCallback:st,useContext:st,useEffect:st,useImperativeHandle:st,useInsertionEffect:st,useLayoutEffect:st,useMemo:st,useReducer:st,useRef:st,useState:st,useDebugValue:st,useDeferredValue:st,useTransition:st,useMutableSource:st,useSyncExternalStore:st,useId:st,unstable_isNewReconciler:!1},ex={readContext:Rt,useCallback:function(t,r){return tn().memoizedState=[t,r===void 0?null:r],t},useContext:Rt,useEffect:Sf,useImperativeHandle:function(t,r,s){return s=s!=null?s.concat([t]):null,Cs(4194308,4,Ef.bind(null,r,t),s)},useLayoutEffect:function(t,r){return Cs(4194308,4,t,r)},useInsertionEffect:function(t,r){return Cs(4,2,t,r)},useMemo:function(t,r){var s=tn();return r=r===void 0?null:r,t=t(),s.memoizedState=[t,r],t},useReducer:function(t,r,s){var l=tn();return r=s!==void 0?s(r):r,l.memoizedState=l.baseState=r,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:r},l.queue=t,t=t.dispatch=J0.bind(null,Fe,t),[l.memoizedState,t]},useRef:function(t){var r=tn();return t={current:t},r.memoizedState=t},useState:xf,useDebugValue:rc,useDeferredValue:function(t){return tn().memoizedState=t},useTransition:function(){var t=xf(!1),r=t[0];return t=X0.bind(null,t[1]),tn().memoizedState=t,[r,t]},useMutableSource:function(){},useSyncExternalStore:function(t,r,s){var l=Fe,d=tn();if(Le){if(s===void 0)throw Error(i(407));s=s()}else{if(s=r(),Xe===null)throw Error(i(349));(hr&30)!==0||mf(l,r,s)}d.memoizedState=s;var m={value:s,getSnapshot:r};return d.queue=m,Sf(yf.bind(null,l,m,t),[t]),l.flags|=2048,to(9,gf.bind(null,l,m,s,r),void 0,null),s},useId:function(){var t=tn(),r=Xe.identifierPrefix;if(Le){var s=yn,l=gn;s=(l&~(1<<32-Vt(l)-1)).toString(32)+s,r=":"+r+"R"+s,s=Zi++,0<s&&(r+="H"+s.toString(32)),r+=":"}else s=Y0++,r=":"+r+"r"+s.toString(32)+":";return t.memoizedState=r},unstable_isNewReconciler:!1},tx={readContext:Rt,useCallback:Cf,useContext:Rt,useEffect:nc,useImperativeHandle:Pf,useInsertionEffect:kf,useLayoutEffect:Tf,useMemo:If,useReducer:ec,useRef:bf,useState:function(){return ec(eo)},useDebugValue:rc,useDeferredValue:function(t){var r=Mt();return _f(r,$e.memoizedState,t)},useTransition:function(){var t=ec(eo)[0],r=Mt().memoizedState;return[t,r]},useMutableSource:ff,useSyncExternalStore:pf,useId:Af,unstable_isNewReconciler:!1},nx={readContext:Rt,useCallback:Cf,useContext:Rt,useEffect:nc,useImperativeHandle:Pf,useInsertionEffect:kf,useLayoutEffect:Tf,useMemo:If,useReducer:tc,useRef:bf,useState:function(){return tc(eo)},useDebugValue:rc,useDeferredValue:function(t){var r=Mt();return $e===null?r.memoizedState=t:_f(r,$e.memoizedState,t)},useTransition:function(){var t=tc(eo)[0],r=Mt().memoizedState;return[t,r]},useMutableSource:ff,useSyncExternalStore:pf,useId:Af,unstable_isNewReconciler:!1};function Wt(t,r){if(t&&t.defaultProps){r=Z({},r),t=t.defaultProps;for(var s in t)r[s]===void 0&&(r[s]=t[s]);return r}return r}function ic(t,r,s,l){r=t.memoizedState,s=s(l,r),s=s==null?r:Z({},r,s),t.memoizedState=s,t.lanes===0&&(t.updateQueue.baseState=s)}var As={isMounted:function(t){return(t=t._reactInternals)?ir(t)===t:!1},enqueueSetState:function(t,r,s){t=t._reactInternals;var l=ut(),d=Bn(t),m=wn(l,d);m.payload=r,s!=null&&(m.callback=s),r=Dn(t,m,d),r!==null&&($t(r,t,d,l),Ss(r,t,d))},enqueueReplaceState:function(t,r,s){t=t._reactInternals;var l=ut(),d=Bn(t),m=wn(l,d);m.tag=1,m.payload=r,s!=null&&(m.callback=s),r=Dn(t,m,d),r!==null&&($t(r,t,d,l),Ss(r,t,d))},enqueueForceUpdate:function(t,r){t=t._reactInternals;var s=ut(),l=Bn(t),d=wn(s,l);d.tag=2,r!=null&&(d.callback=r),r=Dn(t,d,l),r!==null&&($t(r,t,l,s),Ss(r,t,l))}};function Df(t,r,s,l,d,m,x){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,m,x):r.prototype&&r.prototype.isPureReactComponent?!zi(s,l)||!zi(d,m):!0}function Of(t,r,s){var l=!1,d=Rn,m=r.contextType;return typeof m=="object"&&m!==null?m=Rt(m):(d=gt(r)?sr:ot.current,l=r.contextTypes,m=(l=l!=null)?Wr(t,d):Rn),r=new r(s,m),t.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=As,t.stateNode=r,r._reactInternals=t,l&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=d,t.__reactInternalMemoizedMaskedChildContext=m),r}function Ff(t,r,s,l){t=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(s,l),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(s,l),r.state!==t&&As.enqueueReplaceState(r,r.state,null)}function oc(t,r,s,l){var d=t.stateNode;d.props=s,d.state=t.memoizedState,d.refs={},$l(t);var m=r.contextType;typeof m=="object"&&m!==null?d.context=Rt(m):(m=gt(r)?sr:ot.current,d.context=Wr(t,m)),d.state=t.memoizedState,m=r.getDerivedStateFromProps,typeof m=="function"&&(ic(t,r,m,s),d.state=t.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(r=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),r!==d.state&&As.enqueueReplaceState(d,d.state,null),ks(t,s,d,l),d.state=t.memoizedState),typeof d.componentDidMount=="function"&&(t.flags|=4194308)}function Yr(t,r){try{var s="",l=r;do s+=ye(l),l=l.return;while(l);var d=s}catch(m){d=`
8Error generating stack: `+m.message+`
9`+m.stack}return{value:t,source:r,stack:d,digest:null}}function sc(t,r,s){return{value:t,source:null,stack:s??null,digest:r??null}}function ac(t,r){try{console.error(r.value)}catch(s){setTimeout(function(){throw s})}}var rx=typeof WeakMap=="function"?WeakMap:Map;function jf(t,r,s){s=wn(-1,s),s.tag=3,s.payload={element:null};var l=r.value;return s.callback=function(){js||(js=!0,Sc=l),ac(t,r)},s}function Bf(t,r,s){s=wn(-1,s),s.tag=3;var l=t.type.getDerivedStateFromError;if(typeof l=="function"){var d=r.value;s.payload=function(){return l(d)},s.callback=function(){ac(t,r)}}var m=t.stateNode;return m!==null&&typeof m.componentDidCatch=="function"&&(s.callback=function(){ac(t,r),typeof l!="function"&&(Fn===null?Fn=new Set([this]):Fn.add(this));var x=r.stack;this.componentDidCatch(r.value,{componentStack:x!==null?x:""})}),s}function Vf(t,r,s){var l=t.pingCache;if(l===null){l=t.pingCache=new rx;var d=new Set;l.set(r,d)}else d=l.get(r),d===void 0&&(d=new Set,l.set(r,d));d.has(s)||(d.add(s),t=yx.bind(null,t,r,s),r.then(t,t))}function Nf(t){do{var r;if((r=t.tag===13)&&(r=t.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return t;t=t.return}while(t!==null);return null}function zf(t,r,s,l,d){return(t.mode&1)===0?(t===r?t.flags|=65536:(t.flags|=128,s.flags|=131072,s.flags&=-52805,s.tag===1&&(s.alternate===null?s.tag=17:(r=wn(-1,1),r.tag=2,Dn(s,r,1))),s.lanes|=1),t):(t.flags|=65536,t.lanes=d,t)}var ix=L.ReactCurrentOwner,yt=!1;function ct(t,r,s,l){r.child=t===null?af(r,null,s,l):qr(r,t.child,s,l)}function Wf(t,r,s,l,d){s=s.render;var m=r.ref;return Gr(r,d),l=Jl(t,r,s,l,m,d),s=Zl(),t!==null&&!yt?(r.updateQueue=t.updateQueue,r.flags&=-2053,t.lanes&=~d,xn(t,r,d)):(Le&&s&&Ol(r),r.flags|=1,ct(t,r,l,d),r.child)}
vendor: 4,357 bytes, line 9
9function Uf(t,r,s,l,d){if(t===null){var m=s.type;return typeof m=="function"&&!_c(m)&&m.defaultProps===void 0&&s.compare===null&&s.defaultProps===void 0?(r.tag=15,r.type=m,Hf(t,r,m,l,d)):(t=Us(s.type,null,l,r,r.mode,d),t.ref=r.ref,t.return=r,r.child=t)}if(m=t.child,(t.lanes&d)===0){var x=m.memoizedProps;if(s=s.compare,s=s!==null?s:zi,s(x,l)&&t.ref===r.ref)return xn(t,r,d)}return r.flags|=1,t=Nn(m,l),t.ref=r.ref,t.return=r,r.child=t}function Hf(t,r,s,l,d){if(t!==null){var m=t.memoizedProps;if(zi(m,l)&&t.ref===r.ref)if(yt=!1,r.pendingProps=l=m,(t.lanes&d)!==0)(t.flags&131072)!==0&&(yt=!0);else return r.lanes=t.lanes,xn(t,r,d)}return lc(t,r,s,l,d)}function $f(t,r,s){var l=r.pendingProps,d=l.children,m=t!==null?t.memoizedState:null;if(l.mode==="hidden")if((r.mode&1)===0)r.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ie(Jr,Pt),Pt|=s;else{if((s&1073741824)===0)return t=m!==null?m.baseLanes|s:s,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:t,cachePool:null,transitions:null},r.updateQueue=null,Ie(Jr,Pt),Pt|=t,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},l=m!==null?m.baseLanes:s,Ie(Jr,Pt),Pt|=l}else m!==null?(l=m.baseLanes|s,r.memoizedState=null):l=s,Ie(Jr,Pt),Pt|=l;return ct(t,r,d,s),r.child}function qf(t,r){var s=r.ref;(t===null&&s!==null||t!==null&&t.ref!==s)&&(r.flags|=512,r.flags|=2097152)}function lc(t,r,s,l,d){var m=gt(s)?sr:ot.current;return m=Wr(r,m),Gr(r,d),s=Jl(t,r,s,l,m,d),l=Zl(),t!==null&&!yt?(r.updateQueue=t.updateQueue,r.flags&=-2053,t.lanes&=~d,xn(t,r,d)):(Le&&l&&Ol(r),r.flags|=1,ct(t,r,s,d),r.child)}function Kf(t,r,s,l,d){if(gt(s)){var m=!0;ps(r)}else m=!1;if(Gr(r,d),r.stateNode===null)Ms(t,r),Of(r,s,l),oc(r,s,l,d),l=!0;else if(t===null){var x=r.stateNode,E=r.memoizedProps;x.props=E;var P=x.context,B=s.contextType;typeof B=="object"&&B!==null?B=Rt(B):(B=gt(s)?sr:ot.current,B=Wr(r,B));var G=s.getDerivedStateFromProps,Y=typeof G=="function"||typeof x.getSnapshotBeforeUpdate=="function";Y||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(E!==l||P!==B)&&Ff(r,x,l,B),Ln=!1;var q=r.memoizedState;x.state=q,ks(r,l,x,d),P=r.memoizedState,E!==l||q!==P||mt.current||Ln?(typeof G=="function"&&(ic(r,s,G,l),P=r.memoizedState),(E=Ln||Df(r,s,E,l,q,P,B))?(Y||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount()),typeof x.componentDidMount=="function"&&(r.flags|=4194308)):(typeof x.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=l,r.memoizedState=P),x.props=l,x.state=P,x.context=B,l=E):(typeof x.componentDidMount=="function"&&(r.flags|=4194308),l=!1)}else{x=r.stateNode,cf(t,r),E=r.memoizedProps,B=r.type===r.elementType?E:Wt(r.type,E),x.props=B,Y=r.pendingProps,q=x.context,P=s.contextType,typeof P=="object"&&P!==null?P=Rt(P):(P=gt(s)?sr:ot.current,P=Wr(r,P));var te=s.getDerivedStateFromProps;(G=typeof te=="function"||typeof x.getSnapshotBeforeUpdate=="function")||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(E!==Y||q!==P)&&Ff(r,x,l,P),Ln=!1,q=r.memoizedState,x.state=q,ks(r,l,x,d);var re=r.memoizedState;E!==Y||q!==re||mt.current||Ln?(typeof te=="function"&&(ic(r,s,te,l),re=r.memoizedState),(B=Ln||Df(r,s,B,l,q,re,P)||!1)?(G||typeof x.UNSAFE_componentWillUpdate!="function"&&typeof x.componentWillUpdate!="function"||(typeof x.componentWillUpdate=="function"&&x.componentWillUpdate(l,re,P),typeof x.UNSAFE_componentWillUpdate=="function"&&x.UNSAFE_componentWillUpdate(l,re,P)),typeof x.componentDidUpdate=="function"&&(r.flags|=4),typeof x.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof x.componentDidUpdate!="function"||E===t.memoizedProps&&q===t.memoizedState||(r.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||E===t.memoizedProps&&q===t.memoizedState||(r.flags|=1024),r.memoizedProps=l,r.memoizedState=re),x.props=l,x.state=re,x.context=P,l=B):(typeof x.componentDidUpdate!="function"||E===t.memoizedProps&&q===t.memoizedState||(r.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||E===t.memoizedProps&&q===t.memoizedState||(r.flags|=1024),l=!1)}return cc(t,r,s,l,m,d)}function cc(t,r,s,l,d,m){qf(t,r);var x=(r.flags&128)!==0;
vendor: 7,388 bytes, line 9
9if(!l&&!x)return d&&Xd(r,s,!1),xn(t,r,m);l=r.stateNode,ix.current=r;var E=x&&typeof s.getDerivedStateFromError!="function"?null:l.render();return r.flags|=1,t!==null&&x?(r.child=qr(r,t.child,null,m),r.child=qr(r,null,E,m)):ct(t,r,E,m),r.memoizedState=l.state,d&&Xd(r,s,!0),r.child}function Gf(t){var r=t.stateNode;r.pendingContext?Qd(t,r.pendingContext,r.pendingContext!==r.context):r.context&&Qd(t,r.context,!1),ql(t,r.containerInfo)}function Qf(t,r,s,l,d){return $r(),Vl(d),r.flags|=256,ct(t,r,s,l),r.child}var uc={dehydrated:null,treeContext:null,retryLane:0};function hc(t){return{baseLanes:t,cachePool:null,transitions:null}}function Yf(t,r,s){var l=r.pendingProps,d=Oe.current,m=!1,x=(r.flags&128)!==0,E;if((E=x)||(E=t!==null&&t.memoizedState===null?!1:(d&2)!==0),E?(m=!0,r.flags&=-129):(t===null||t.memoizedState!==null)&&(d|=1),Ie(Oe,d&1),t===null)return Bl(r),t=r.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?((r.mode&1)===0?r.lanes=1:t.data==="$!"?r.lanes=8:r.lanes=1073741824,null):(x=l.children,t=l.fallback,m?(l=r.mode,m=r.child,x={mode:"hidden",children:x},(l&1)===0&&m!==null?(m.childLanes=0,m.pendingProps=x):m=Hs(x,l,0,null),t=gr(t,l,s,null),m.return=r,t.return=r,m.sibling=t,r.child=m,r.child.memoizedState=hc(s),r.memoizedState=uc,t):dc(r,x));if(d=t.memoizedState,d!==null&&(E=d.dehydrated,E!==null))return ox(t,r,x,l,E,d,s);if(m){m=l.fallback,x=r.mode,d=t.child,E=d.sibling;var P={mode:"hidden",children:l.children};return(x&1)===0&&r.child!==d?(l=r.child,l.childLanes=0,l.pendingProps=P,r.deletions=null):(l=Nn(d,P),l.subtreeFlags=d.subtreeFlags&14680064),E!==null?m=Nn(E,m):(m=gr(m,x,s,null),m.flags|=2),m.return=r,l.return=r,l.sibling=m,r.child=l,l=m,m=r.child,x=t.child.memoizedState,x=x===null?hc(s):{baseLanes:x.baseLanes|s,cachePool:null,transitions:x.transitions},m.memoizedState=x,m.childLanes=t.childLanes&~s,r.memoizedState=uc,l}return m=t.child,t=m.sibling,l=Nn(m,{mode:"visible",children:l.children}),(r.mode&1)===0&&(l.lanes=s),l.return=r,l.sibling=null,t!==null&&(s=r.deletions,s===null?(r.deletions=[t],r.flags|=16):s.push(t)),r.child=l,r.memoizedState=null,l}function dc(t,r){return r=Hs({mode:"visible",children:r},t.mode,0,null),r.return=t,t.child=r}function Rs(t,r,s,l){return l!==null&&Vl(l),qr(r,t.child,null,s),t=dc(r,r.pendingProps.children),t.flags|=2,r.memoizedState=null,t}function ox(t,r,s,l,d,m,x){if(s)return r.flags&256?(r.flags&=-257,l=sc(Error(i(422))),Rs(t,r,x,l)):r.memoizedState!==null?(r.child=t.child,r.flags|=128,null):(m=l.fallback,d=r.mode,l=Hs({mode:"visible",children:l.children},d,0,null),m=gr(m,d,x,null),m.flags|=2,l.return=r,m.return=r,l.sibling=m,r.child=l,(r.mode&1)!==0&&qr(r,t.child,null,x),r.child.memoizedState=hc(x),r.memoizedState=uc,m);if((r.mode&1)===0)return Rs(t,r,x,null);if(d.data==="$!"){if(l=d.nextSibling&&d.nextSibling.dataset,l)var E=l.dgst;return l=E,m=Error(i(419)),l=sc(m,l,void 0),Rs(t,r,x,l)}if(E=(x&t.childLanes)!==0,yt||E){if(l=Xe,l!==null){switch(x&-x){case 4:d=2;break;case 16:d=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:d=32;break;case 536870912:d=268435456;break;default:d=0}d=(d&(l.suspendedLanes|x))!==0?0:d,d!==0&&d!==m.retryLane&&(m.retryLane=d,vn(t,d),$t(l,t,d,-1))}return Ic(),l=sc(Error(i(421))),Rs(t,r,x,l)}return d.data==="$?"?(r.flags|=128,r.child=t.child,r=vx.bind(null,t),d._reactRetry=r,null):(t=m.treeContext,Et=_n(d.nextSibling),Tt=r,Le=!0,zt=null,t!==null&&(_t[At++]=gn,_t[At++]=yn,_t[At++]=ar,gn=t.id,yn=t.overflow,ar=r),r=dc(r,l.children),r.flags|=4096,r)}function Xf(t,r,s){t.lanes|=r;var l=t.alternate;l!==null&&(l.lanes|=r),Ul(t.return,r,s)}function fc(t,r,s,l,d){var m=t.memoizedState;m===null?t.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:l,tail:s,tailMode:d}:(m.isBackwards=r,m.rendering=null,m.renderingStartTime=0,m.last=l,m.tail=s,m.tailMode=d)}function Jf(t,r,s){var l=r.pendingProps,d=l.revealOrder,m=l.tail;if(ct(t,r,l.children,s),l=Oe.current,(l&2)!==0)l=l&1|2,r.flags|=128;else{if(t!==null&&(t.flags&128)!==0)e:for(t=r.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Xf(t,s,r);else if(t.tag===19)Xf(t,s,r);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===r)break e;for(;t.sibling===null;){if(t.return===null||t.return===r)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}l&=1}if(Ie(Oe,l),(r.mode&1)===0)r.memoizedState=null;else switch(d){case"forwards":for(s=r.child,d=null;s!==null;)t=s.alternate,t!==null&&Ts(t)===null&&(d=s),s=s.sibling;s=d,s===null?(d=r.child,r.child=null):(d=s.sibling,s.sibling=null),fc(r,!1,d,s,m);break;case"backwards":for(s=null,d=r.child,r.child=null;d!==null;){if(t=d.alternate,t!==null&&Ts(t)===null){r.child=d;break}t=d.sibling,d.sibling=s,s=d,d=t}fc(r,!0,s,null,m);break;case"together":fc(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function Ms(t,r){(r.mode&1)===0&&t!==null&&(t.alternate=null,r.alternate=null,r.flags|=2)}function xn(t,r,s){if(t!==null&&(r.dependencies=t.dependencies),dr|=r.lanes,(s&r.childLanes)===0)return null;if(t!==null&&r.child!==t.child)throw Error(i(153));if(r.child!==null){for(t=r.child,s=Nn(t,t.pendingProps),r.child=s,s.return=r;t.sibling!==null;)t=t.sibling,s=s.sibling=Nn(t,t.pendingProps),s.return=r;s.sibling=null}return r.child}function sx(t,r,s){switch(r.tag){case 3:Gf(r),$r();break;case 5:df(r);break;case 1:gt(r.type)&&ps(r);break;case 4:ql(r,r.stateNode.containerInfo);break;case 10:var l=r.type._context,d=r.memoizedProps.value;Ie(xs,l._currentValue),l._currentValue=d;break;case 13:if(l=r.memoizedState,l!==null)return l.dehydrated!==null?(Ie(Oe,Oe.current&1),r.flags|=128,null):(s&r.child.childLanes)!==0?Yf(t,r,s):(Ie(Oe,Oe.current&1),t=xn(t,r,s),t!==null?t.sibling:null);Ie(Oe,Oe.current&1);break;case 19:if(l=(s&r.childLanes)!==0,(t.flags&128)!==0){if(l)return Jf(t,r,s);r.flags|=128}if(d=r.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),Ie(Oe,Oe.current),l)break;return null;case 22:case 23:return r.lanes=0,$f(t,r,s)}return xn(t,r,s)}var Zf,pc,ep,tp;Zf=function(t,r){for(var s=r.child;s!==null;){if(s.tag===5||s.tag===6)t.appendChild(s.stateNode);else if(s.tag!==4&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return;s=s.return}s.sibling.return=s.return,s=s.sibling}},pc=function(){},ep=function(t,r,s,l){var d=t.memoizedProps;if(d!==l){t=r.stateNode,ur(en.current);var m=null;switch(s){case"input":d=vi(t,d),l=vi(t,l),m=[];break;case"select":d=Z({},d,{value:void 0}),l=Z({},l,{value:void 0}),m=[];break;case"textarea":d=bi(t,d),l=bi(t,l),m=[];break;default:typeof d.onClick!="function"&&typeof l.onClick=="function"&&(t.onclick=hs)}Ga(s,l);var x;s=null;for(B in d)if(!l.hasOwnProperty(B)&&d.hasOwnProperty(B)&&d[B]!=null)if(B==="style"){var E=d[B];for(x in E)E.hasOwnProperty(x)&&(s||(s={}),s[x]="")}else B!=="dangerouslySetInnerHTML"&&B!=="children"&&B!=="suppressContentEditableWarning"&&B!=="suppressHydrationWarning"&&B!=="autoFocus"&&(a.hasOwnProperty(B)?m||(m=[]):(m=m||[]).push(B,null));for(B in l){var P=l[B];if(E=d?.[B],l.hasOwnProperty(B)&&P!==E&&(P!=null||E!=null))if(B==="style")if(E){for(x in E)!E.hasOwnProperty(x)||P&&P.hasOwnProperty(x)||(s||(s={}),s[x]="");
vendor: 9,340 bytes, line 9
9for(x in P)P.hasOwnProperty(x)&&E[x]!==P[x]&&(s||(s={}),s[x]=P[x])}else s||(m||(m=[]),m.push(B,s)),s=P;else B==="dangerouslySetInnerHTML"?(P=P?P.__html:void 0,E=E?E.__html:void 0,P!=null&&E!==P&&(m=m||[]).push(B,P)):B==="children"?typeof P!="string"&&typeof P!="number"||(m=m||[]).push(B,""+P):B!=="suppressContentEditableWarning"&&B!=="suppressHydrationWarning"&&(a.hasOwnProperty(B)?(P!=null&&B==="onScroll"&&_e("scroll",t),m||E===P||(m=[])):(m=m||[]).push(B,P))}s&&(m=m||[]).push("style",s);var B=m;(r.updateQueue=B)&&(r.flags|=4)}},tp=function(t,r,s,l){s!==l&&(r.flags|=4)};function no(t,r){if(!Le)switch(t.tailMode){case"hidden":r=t.tail;for(var s=null;r!==null;)r.alternate!==null&&(s=r),r=r.sibling;s===null?t.tail=null:s.sibling=null;break;case"collapsed":s=t.tail;for(var l=null;s!==null;)s.alternate!==null&&(l=s),s=s.sibling;l===null?r||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function at(t){var r=t.alternate!==null&&t.alternate.child===t.child,s=0,l=0;if(r)for(var d=t.child;d!==null;)s|=d.lanes|d.childLanes,l|=d.subtreeFlags&14680064,l|=d.flags&14680064,d.return=t,d=d.sibling;else for(d=t.child;d!==null;)s|=d.lanes|d.childLanes,l|=d.subtreeFlags,l|=d.flags,d.return=t,d=d.sibling;return t.subtreeFlags|=l,t.childLanes=s,r}function ax(t,r,s){var l=r.pendingProps;switch(Fl(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return at(r),null;case 1:return gt(r.type)&&fs(),at(r),null;case 3:return l=r.stateNode,Qr(),Ae(mt),Ae(ot),Ql(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(vs(r)?r.flags|=4:t===null||t.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,zt!==null&&(Ec(zt),zt=null))),pc(t,r),at(r),null;case 5:Kl(r);var d=ur(Xi.current);if(s=r.type,t!==null&&r.stateNode!=null)ep(t,r,s,l,d),t.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!l){if(r.stateNode===null)throw Error(i(166));return at(r),null}if(t=ur(en.current),vs(r)){l=r.stateNode,s=r.type;var m=r.memoizedProps;switch(l[Zt]=r,l[qi]=m,t=(r.mode&1)!==0,s){case"dialog":_e("cancel",l),_e("close",l);break;case"iframe":case"object":case"embed":_e("load",l);break;case"video":case"audio":for(d=0;d<Ui.length;d++)_e(Ui[d],l);break;case"source":_e("error",l);break;case"img":case"image":case"link":_e("error",l),_e("load",l);break;case"details":_e("toggle",l);break;case"input":wi(l,m),_e("invalid",l);break;case"select":l._wrapperState={wasMultiple:!!m.multiple},_e("invalid",l);break;case"textarea":Si(l,m),_e("invalid",l)}Ga(s,m),d=null;for(var x in m)if(m.hasOwnProperty(x)){var E=m[x];x==="children"?typeof E=="string"?l.textContent!==E&&(m.suppressHydrationWarning!==!0&&us(l.textContent,E,t),d=["children",E]):typeof E=="number"&&l.textContent!==""+E&&(m.suppressHydrationWarning!==!0&&us(l.textContent,E,t),d=["children",""+E]):a.hasOwnProperty(x)&&E!=null&&x==="onScroll"&&_e("scroll",l)}switch(s){case"input":dn(l),Ar(l,m,!0);break;case"textarea":dn(l),et(l);break;case"select":case"option":break;default:typeof m.onClick=="function"&&(l.onclick=hs)}l=d,r.updateQueue=l,l!==null&&(r.flags|=4)}else{x=d.nodeType===9?d:d.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=Xt(s)),t==="http://www.w3.org/1999/xhtml"?s==="script"?(t=x.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof l.is=="string"?t=x.createElement(s,{is:l.is}):(t=x.createElement(s),s==="select"&&(x=t,l.multiple?x.multiple=!0:l.size&&(x.size=l.size))):t=x.createElementNS(t,s),t[Zt]=r,t[qi]=l,Zf(t,r,!1,!1),r.stateNode=t;e:{switch(x=Qa(s,l),s){case"dialog":_e("cancel",t),_e("close",t),d=l;break;case"iframe":case"object":case"embed":_e("load",t),d=l;break;case"video":case"audio":for(d=0;d<Ui.length;d++)_e(Ui[d],t);d=l;break;case"source":_e("error",t),d=l;break;case"img":case"image":case"link":_e("error",t),_e("load",t),d=l;break;case"details":_e("toggle",t),d=l;break;case"input":wi(t,l),d=vi(t,l),_e("invalid",t);break;case"option":d=l;break;case"select":t._wrapperState={wasMultiple:!!l.multiple},d=Z({},l,{value:void 0}),_e("invalid",t);break;case"textarea":Si(t,l),d=bi(t,l),_e("invalid",t);break;default:d=l}Ga(s,d),E=d;for(m in E)if(E.hasOwnProperty(m)){var P=E[m];m==="style"?Uh(t,P):m==="dangerouslySetInnerHTML"?(P=P?P.__html:void 0,P!=null&&zh(t,P)):m==="children"?typeof P=="string"?(s!=="textarea"||P!=="")&&Ti(t,P):typeof P=="number"&&Ti(t,""+P):m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&m!=="autoFocus"&&(a.hasOwnProperty(m)?P!=null&&m==="onScroll"&&_e("scroll",t):P!=null&&R(t,m,P,x))}switch(s){case"input":dn(t),Ar(t,l,!1);break;case"textarea":dn(t),et(t);break;case"option":l.value!=null&&t.setAttribute("value",""+we(l.value));break;case"select":t.multiple=!!l.multiple,m=l.value,m!=null?fn(t,!!l.multiple,m,!1):l.defaultValue!=null&&fn(t,!!l.multiple,l.defaultValue,!0);break;default:typeof d.onClick=="function"&&(t.onclick=hs)}switch(s){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}}l&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return at(r),null;case 6:if(t&&r.stateNode!=null)tp(t,r,t.memoizedProps,l);else{if(typeof l!="string"&&r.stateNode===null)throw Error(i(166));if(s=ur(Xi.current),ur(en.current),vs(r)){if(l=r.stateNode,s=r.memoizedProps,l[Zt]=r,(m=l.nodeValue!==s)&&(t=Tt,t!==null))switch(t.tag){case 3:us(l.nodeValue,s,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&us(l.nodeValue,s,(t.mode&1)!==0)}m&&(r.flags|=4)}else l=(s.nodeType===9?s:s.ownerDocument).createTextNode(l),l[Zt]=r,r.stateNode=l}return at(r),null;case 13:if(Ae(Oe),l=r.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(Le&&Et!==null&&(r.mode&1)!==0&&(r.flags&128)===0)rf(),$r(),r.flags|=98560,m=!1;else if(m=vs(r),l!==null&&l.dehydrated!==null){if(t===null){if(!m)throw Error(i(318));if(m=r.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(i(317));m[Zt]=r}else $r(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;at(r),m=!1}else zt!==null&&(Ec(zt),zt=null),m=!0;if(!m)return r.flags&65536?r:null}return(r.flags&128)!==0?(r.lanes=s,r):(l=l!==null,l!==(t!==null&&t.memoizedState!==null)&&l&&(r.child.flags|=8192,(r.mode&1)!==0&&(t===null||(Oe.current&1)!==0?qe===0&&(qe=3):Ic())),r.updateQueue!==null&&(r.flags|=4),at(r),null);case 4:return Qr(),pc(t,r),t===null&&Hi(r.stateNode.containerInfo),at(r),null;case 10:return Wl(r.type._context),at(r),null;case 17:return gt(r.type)&&fs(),at(r),null;case 19:if(Ae(Oe),m=r.memoizedState,m===null)return at(r),null;if(l=(r.flags&128)!==0,x=m.rendering,x===null)if(l)no(m,!1);else{if(qe!==0||t!==null&&(t.flags&128)!==0)for(t=r.child;t!==null;){if(x=Ts(t),x!==null){for(r.flags|=128,no(m,!1),l=x.updateQueue,l!==null&&(r.updateQueue=l,r.flags|=4),r.subtreeFlags=0,l=s,s=r.child;s!==null;)m=s,t=l,m.flags&=14680066,x=m.alternate,x===null?(m.childLanes=0,m.lanes=t,m.child=null,m.subtreeFlags=0,m.memoizedProps=null,m.memoizedState=null,m.updateQueue=null,m.dependencies=null,m.stateNode=null):(m.childLanes=x.childLanes,m.lanes=x.lanes,m.child=x.child,m.subtreeFlags=0,m.deletions=null,m.memoizedProps=x.memoizedProps,m.memoizedState=x.memoizedState,m.updateQueue=x.updateQueue,m.type=x.type,t=x.dependencies,m.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),s=s.sibling;return Ie(Oe,Oe.current&1|2),r.child}t=t.sibling}m.tail!==null&&Ve()>Zr&&(r.flags|=128,l=!0,no(m,!1),r.lanes=4194304)}else{if(!l)if(t=Ts(x),t!==null){if(r.flags|=128,l=!0,s=t.updateQueue,s!==null&&(r.updateQueue=s,r.flags|=4),no(m,!0),m.tail===null&&m.tailMode==="hidden"&&!x.alternate&&!Le)return at(r),null}else 2*Ve()-m.renderingStartTime>Zr&&s!==1073741824&&(r.flags|=128,l=!0,no(m,!1),r.lanes=4194304);m.isBackwards?(x.sibling=r.child,r.child=x):(s=m.last,s!==null?s.sibling=x:r.child=x,m.last=x)}return m.tail!==null?(r=m.tail,m.rendering=r,m.tail=r.sibling,m.renderingStartTime=Ve(),r.sibling=null,s=Oe.current,Ie(Oe,l?s&1|2:s&1),r):(at(r),null);case 22:case 23:return Cc(),l=r.memoizedState!==null,t!==null&&t.memoizedState!==null!==l&&(r.flags|=8192),l&&(r.mode&1)!==0?(Pt&1073741824)!==0&&(at(r),r.subtreeFlags&6&&(r.flags|=8192)):at(r),null;case 24:return null;case 25:return null}throw Error(i(156,r.tag))}function lx(t,r){switch(Fl(r),r.tag){case 1:return gt(r.type)&&fs(),t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 3:return Qr(),Ae(mt),Ae(ot),Ql(),t=r.flags,(t&65536)!==0&&(t&128)===0?(r.flags=t&-65537|128,r):null;case 5:return Kl(r),null;case 13:if(Ae(Oe),t=r.memoizedState,t!==null&&t.dehydrated!==null){if(r.alternate===null)throw Error(i(340));$r()}return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 19:return Ae(Oe),null;case 4:return Qr(),null;case 10:return Wl(r.type._context),null;case 22:case 23:return Cc(),null;case 24:return null;default:return null}}var Ls=!1,lt=!1,cx=typeof WeakSet=="function"?WeakSet:Set,ne=null;function Xr(t,r){var s=t.ref;if(s!==null)if(typeof s=="function")try{s(null)}catch(l){je(t,r,l)}else s.current=null}function mc(t,r,s){try{s()}catch(l){je(t,r,l)}}var np=!1;function ux(t,r){if(Cl=Zo,t=Ld(),wl(t)){if("selectionStart"in t)var s={start:t.selectionStart,end:t.selectionEnd};else e:{s=(s=t.ownerDocument)&&s.defaultView||window;var l=s.getSelection&&s.getSelection();if(l&&l.rangeCount!==0){s=l.anchorNode;
vendor: 12,183 bytes, line 9
9var d=l.anchorOffset,m=l.focusNode;l=l.focusOffset;try{s.nodeType,m.nodeType}catch{s=null;break e}var x=0,E=-1,P=-1,B=0,G=0,Y=t,q=null;t:for(;;){for(var te;Y!==s||d!==0&&Y.nodeType!==3||(E=x+d),Y!==m||l!==0&&Y.nodeType!==3||(P=x+l),Y.nodeType===3&&(x+=Y.nodeValue.length),(te=Y.firstChild)!==null;)q=Y,Y=te;for(;;){if(Y===t)break t;if(q===s&&++B===d&&(E=x),q===m&&++G===l&&(P=x),(te=Y.nextSibling)!==null)break;Y=q,q=Y.parentNode}Y=te}s=E===-1||P===-1?null:{start:E,end:P}}else s=null}s=s||{start:0,end:0}}else s=null;for(Il={focusedElem:t,selectionRange:s},Zo=!1,ne=r;ne!==null;)if(r=ne,t=r.child,(r.subtreeFlags&1028)!==0&&t!==null)t.return=r,ne=t;else for(;ne!==null;){r=ne;try{var re=r.alternate;if((r.flags&1024)!==0)switch(r.tag){case 0:case 11:case 15:break;case 1:if(re!==null){var oe=re.memoizedProps,Ne=re.memoizedState,D=r.stateNode,I=D.getSnapshotBeforeUpdate(r.elementType===r.type?oe:Wt(r.type,oe),Ne);D.__reactInternalSnapshotBeforeUpdate=I}break;case 3:var O=r.stateNode.containerInfo;O.nodeType===1?O.textContent="":O.nodeType===9&&O.documentElement&&O.removeChild(O.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(X){je(r,r.return,X)}if(t=r.sibling,t!==null){t.return=r.return,ne=t;break}ne=r.return}return re=np,np=!1,re}function ro(t,r,s){var l=r.updateQueue;if(l=l!==null?l.lastEffect:null,l!==null){var d=l=l.next;do{if((d.tag&t)===t){var m=d.destroy;d.destroy=void 0,m!==void 0&&mc(r,s,m)}d=d.next}while(d!==l)}}function Ds(t,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&t)===t){var l=s.create;s.destroy=l()}s=s.next}while(s!==r)}}function gc(t){var r=t.ref;if(r!==null){var s=t.stateNode;t.tag,t=s,typeof r=="function"?r(t):r.current=t}}function rp(t){var r=t.alternate;r!==null&&(t.alternate=null,rp(r)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(r=t.stateNode,r!==null&&(delete r[Zt],delete r[qi],delete r[Ml],delete r[q0],delete r[K0])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function ip(t){return t.tag===5||t.tag===3||t.tag===4}function op(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||ip(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function yc(t,r,s){var l=t.tag;if(l===5||l===6)t=t.stateNode,r?s.nodeType===8?s.parentNode.insertBefore(t,r):s.insertBefore(t,r):(s.nodeType===8?(r=s.parentNode,r.insertBefore(t,s)):(r=s,r.appendChild(t)),s=s._reactRootContainer,s!=null||r.onclick!==null||(r.onclick=hs));else if(l!==4&&(t=t.child,t!==null))for(yc(t,r,s),t=t.sibling;t!==null;)yc(t,r,s),t=t.sibling}function vc(t,r,s){var l=t.tag;if(l===5||l===6)t=t.stateNode,r?s.insertBefore(t,r):s.appendChild(t);else if(l!==4&&(t=t.child,t!==null))for(vc(t,r,s),t=t.sibling;t!==null;)vc(t,r,s),t=t.sibling}var tt=null,Ut=!1;function On(t,r,s){for(s=s.child;s!==null;)sp(t,r,s),s=s.sibling}function sp(t,r,s){if(Jt&&typeof Jt.onCommitFiberUnmount=="function")try{Jt.onCommitFiberUnmount(Ko,s)}catch{}switch(s.tag){case 5:lt||Xr(s,r);case 6:var l=tt,d=Ut;tt=null,On(t,r,s),tt=l,Ut=d,tt!==null&&(Ut?(t=tt,s=s.stateNode,t.nodeType===8?t.parentNode.removeChild(s):t.removeChild(s)):tt.removeChild(s.stateNode));break;case 18:tt!==null&&(Ut?(t=tt,s=s.stateNode,t.nodeType===8?Rl(t.parentNode,s):t.nodeType===1&&Rl(t,s),Oi(t)):Rl(tt,s.stateNode));break;case 4:l=tt,d=Ut,tt=s.stateNode.containerInfo,Ut=!0,On(t,r,s),tt=l,Ut=d;break;case 0:case 11:case 14:case 15:if(!lt&&(l=s.updateQueue,l!==null&&(l=l.lastEffect,l!==null))){d=l=l.next;do{var m=d,x=m.destroy;m=m.tag,x!==void 0&&((m&2)!==0||(m&4)!==0)&&mc(s,r,x),d=d.next}while(d!==l)}On(t,r,s);break;case 1:if(!lt&&(Xr(s,r),l=s.stateNode,typeof l.componentWillUnmount=="function"))try{l.props=s.memoizedProps,l.state=s.memoizedState,l.componentWillUnmount()}catch(E){je(s,r,E)}On(t,r,s);break;case 21:On(t,r,s);break;case 22:s.mode&1?(lt=(l=lt)||s.memoizedState!==null,On(t,r,s),lt=l):On(t,r,s);break;default:On(t,r,s)}}function ap(t){var r=t.updateQueue;if(r!==null){t.updateQueue=null;var s=t.stateNode;s===null&&(s=t.stateNode=new cx),r.forEach(function(l){var d=wx.bind(null,t,l);s.has(l)||(s.add(l),l.then(d,d))})}}function Ht(t,r){var s=r.deletions;if(s!==null)for(var l=0;l<s.length;l++){var d=s[l];try{var m=t,x=r,E=x;e:for(;E!==null;){switch(E.tag){case 5:tt=E.stateNode,Ut=!1;break e;case 3:tt=E.stateNode.containerInfo,Ut=!0;break e;case 4:tt=E.stateNode.containerInfo,Ut=!0;break e}E=E.return}if(tt===null)throw Error(i(160));sp(m,x,d),tt=null,Ut=!1;var P=d.alternate;P!==null&&(P.return=null),d.return=null}catch(B){je(d,r,B)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)lp(r,t),r=r.sibling}function lp(t,r){var s=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(Ht(r,t),nn(t),l&4){try{ro(3,t,t.return),Ds(3,t)}catch(oe){je(t,t.return,oe)}try{ro(5,t,t.return)}catch(oe){je(t,t.return,oe)}}break;case 1:Ht(r,t),nn(t),l&512&&s!==null&&Xr(s,s.return);break;case 5:if(Ht(r,t),nn(t),l&512&&s!==null&&Xr(s,s.return),t.flags&32){var d=t.stateNode;try{Ti(d,"")}catch(oe){je(t,t.return,oe)}}if(l&4&&(d=t.stateNode,d!=null)){var m=t.memoizedProps,x=s!==null?s.memoizedProps:m,E=t.type,P=t.updateQueue;if(t.updateQueue=null,P!==null)try{E==="input"&&m.type==="radio"&&m.name!=null&&xi(d,m),Qa(E,x);var B=Qa(E,m);for(x=0;x<P.length;x+=2){var G=P[x],Y=P[x+1];G==="style"?Uh(d,Y):G==="dangerouslySetInnerHTML"?zh(d,Y):G==="children"?Ti(d,Y):R(d,G,Y,B)}switch(E){case"input":Yt(d,m);break;case"textarea":Pe(d,m);break;case"select":var q=d._wrapperState.wasMultiple;d._wrapperState.wasMultiple=!!m.multiple;var te=m.value;te!=null?fn(d,!!m.multiple,te,!1):q!==!!m.multiple&&(m.defaultValue!=null?fn(d,!!m.multiple,m.defaultValue,!0):fn(d,!!m.multiple,m.multiple?[]:"",!1))}d[qi]=m}catch(oe){je(t,t.return,oe)}}break;case 6:if(Ht(r,t),nn(t),l&4){if(t.stateNode===null)throw Error(i(162));d=t.stateNode,m=t.memoizedProps;try{d.nodeValue=m}catch(oe){je(t,t.return,oe)}}break;case 3:if(Ht(r,t),nn(t),l&4&&s!==null&&s.memoizedState.isDehydrated)try{Oi(r.containerInfo)}catch(oe){je(t,t.return,oe)}break;case 4:Ht(r,t),nn(t);break;case 13:Ht(r,t),nn(t),d=t.child,d.flags&8192&&(m=d.memoizedState!==null,d.stateNode.isHidden=m,!m||d.alternate!==null&&d.alternate.memoizedState!==null||(bc=Ve())),l&4&&ap(t);break;case 22:if(G=s!==null&&s.memoizedState!==null,t.mode&1?(lt=(B=lt)||G,Ht(r,t),lt=B):Ht(r,t),nn(t),l&8192){if(B=t.memoizedState!==null,(t.stateNode.isHidden=B)&&!G&&(t.mode&1)!==0)for(ne=t,G=t.child;G!==null;){for(Y=ne=G;ne!==null;){switch(q=ne,te=q.child,q.tag){case 0:case 11:case 14:case 15:ro(4,q,q.return);break;case 1:Xr(q,q.return);var re=q.stateNode;if(typeof re.componentWillUnmount=="function"){l=q,s=q.return;try{r=l,re.props=r.memoizedProps,re.state=r.memoizedState,re.componentWillUnmount()}catch(oe){je(l,s,oe)}}break;case 5:Xr(q,q.return);break;case 22:if(q.memoizedState!==null){hp(Y);continue}}te!==null?(te.return=q,ne=te):hp(Y)}G=G.sibling}e:for(G=null,Y=t;;){if(Y.tag===5){if(G===null){G=Y;try{d=Y.stateNode,B?(m=d.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none"):(E=Y.stateNode,P=Y.memoizedProps.style,x=P!=null&&P.hasOwnProperty("display")?P.display:null,E.style.display=Wh("display",x))}catch(oe){je(t,t.return,oe)}}}else if(Y.tag===6){if(G===null)try{Y.stateNode.nodeValue=B?"":Y.memoizedProps}catch(oe){je(t,t.return,oe)}}else if((Y.tag!==22&&Y.tag!==23||Y.memoizedState===null||Y===t)&&Y.child!==null){Y.child.return=Y,Y=Y.child;continue}if(Y===t)break e;for(;Y.sibling===null;){if(Y.return===null||Y.return===t)break e;G===Y&&(G=null),Y=Y.return}G===Y&&(G=null),Y.sibling.return=Y.return,Y=Y.sibling}}break;case 19:Ht(r,t),nn(t),l&4&&ap(t);break;case 21:break;default:Ht(r,t),nn(t)}}function nn(t){var r=t.flags;if(r&2){try{e:{for(var s=t.return;s!==null;){if(ip(s)){var l=s;break e}s=s.return}throw Error(i(160))}switch(l.tag){case 5:var d=l.stateNode;l.flags&32&&(Ti(d,""),l.flags&=-33);var m=op(t);vc(t,m,d);break;case 3:case 4:var x=l.stateNode.containerInfo,E=op(t);yc(t,E,x);break;default:throw Error(i(161))}}catch(P){je(t,t.return,P)}t.flags&=-3}r&4096&&(t.flags&=-4097)}function hx(t,r,s){ne=t,cp(t)}function cp(t,r,s){for(var l=(t.mode&1)!==0;ne!==null;){var d=ne,m=d.child;if(d.tag===22&&l){var x=d.memoizedState!==null||Ls;if(!x){var E=d.alternate,P=E!==null&&E.memoizedState!==null||lt;E=Ls;var B=lt;if(Ls=x,(lt=P)&&!B)for(ne=d;ne!==null;)x=ne,P=x.child,x.tag===22&&x.memoizedState!==null?dp(d):P!==null?(P.return=x,ne=P):dp(d);for(;m!==null;)ne=m,cp(m),m=m.sibling;ne=d,Ls=E,lt=B}up(t)}else(d.subtreeFlags&8772)!==0&&m!==null?(m.return=d,ne=m):up(t)}}function up(t){for(;ne!==null;){var r=ne;if((r.flags&8772)!==0){var s=r.alternate;try{if((r.flags&8772)!==0)switch(r.tag){case 0:case 11:case 15:lt||Ds(5,r);break;case 1:var l=r.stateNode;if(r.flags&4&&!lt)if(s===null)l.componentDidMount();else{var d=r.elementType===r.type?s.memoizedProps:Wt(r.type,s.memoizedProps);l.componentDidUpdate(d,s.memoizedState,l.__reactInternalSnapshotBeforeUpdate)}var m=r.updateQueue;m!==null&&hf(r,m,l);break;case 3:var x=r.updateQueue;if(x!==null){if(s=null,r.child!==null)switch(r.child.tag){case 5:s=r.child.stateNode;break;case 1:s=r.child.stateNode}hf(r,x,s)}break;case 5:var E=r.stateNode;if(s===null&&r.flags&4){s=E;var P=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":P.autoFocus&&s.focus();break;case"img":P.src&&(s.src=P.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var B=r.alternate;if(B!==null){var G=B.memoizedState;if(G!==null){var Y=G.dehydrated;Y!==null&&Oi(Y)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}lt||r.flags&512&&gc(r)}catch(q){je(r,r.return,q)}}if(r===t){ne=null;break}if(s=r.sibling,s!==null){s.return=r.return,ne=s;break}ne=r.return}}function hp(t){for(;ne!==null;){var r=ne;if(r===t){ne=null;break}var s=r.sibling;if(s!==null){s.return=r.return,ne=s;break}ne=r.return}}function dp(t){for(;ne!==null;){var r=ne;try{switch(r.tag){case 0:case 11:case 15:var s=r.return;try{Ds(4,r)}catch(P){je(r,s,P)}break;case 1:var l=r.stateNode;if(typeof l.componentDidMount=="function"){var d=r.return;try{l.componentDidMount()}catch(P){je(r,d,P)}}var m=r.return;try{gc(r)}catch(P){je(r,m,P)}break;case 5:var x=r.return;try{gc(r)}catch(P){je(r,x,P)}}}catch(P){je(r,r.return,P)}if(r===t){ne=null;break}var E=r.sibling;if(E!==null){E.return=r.return,ne=E;break}ne=r.return}}var dx=Math.ceil,Os=L.ReactCurrentDispatcher,wc=L.ReactCurrentOwner,Lt=L.ReactCurrentBatchConfig,xe=0,Xe=null,We=null,nt=0,Pt=0,Jr=An(0),qe=0,io=null,dr=0,Fs=0,xc=0,oo=null,vt=null,bc=0,Zr=1/0,bn=null,js=!1,Sc=null,Fn=null,Bs=!1,jn=null,Vs=0,so=0,kc=null,Ns=-1,zs=0;function ut(){return(xe&6)!==0?Ve():Ns!==-1?Ns:Ns=Ve()}function Bn(t){return(t.mode&1)===0?1:(xe&2)!==0&&nt!==0?nt&-nt:Q0.transition!==null?(zs===0&&(zs=id()),zs):(t=Te,t!==0||(t=window.event,t=t===void 0?16:fd(t.type)),t)}function $t(t,r,s,l){if(50<so)throw so=0,kc=null,Error(i(185));Ai(t,s,l),((xe&2)===0||t!==Xe)&&(t===Xe&&((xe&2)===0&&(Fs|=s),qe===4&&Vn(t,nt)),wt(t,l),s===1&&xe===0&&(r.mode&1)===0&&(Zr=Ve()+500,ms&&Mn()))}function wt(t,r){var s=t.callbackNode;Qw(t,r);var l=Yo(t,t===Xe?nt:0);if(l===0)s!==null&&td(s),t.callbackNode=null,t.callbackPriority=0;else if(r=l&-l,t.callbackPriority!==r){if(s!=null&&td(s),r===1)t.tag===0?G0(pp.bind(null,t)):Jd(pp.bind(null,t)),H0(function(){(xe&6)===0&&Mn()}),s=null;else{switch(od(l)){case 1:s=nl;break;case 4:s=nd;break;case 16:s=qo;break;case 536870912:s=rd;break;default:s=qo}s=Sp(s,fp.bind(null,t))}t.callbackPriority=r,t.callbackNode=s}}function fp(t,r){if(Ns=-1,zs=0,(xe&6)!==0)throw Error(i(327));var s=t.callbackNode;if(ei()&&t.callbackNode!==s)return null;var l=Yo(t,t===Xe?nt:0);if(l===0)return null;if((l&30)!==0||(l&t.expiredLanes)!==0||r)r=Ws(t,l);else{r=l;var d=xe;xe|=2;var m=gp();(Xe!==t||nt!==r)&&(bn=null,Zr=Ve()+500,pr(t,r));do try{mx();break}catch(E){mp(t,E)}while(!0);
vendor: 6,133 bytes, line 9
9zl(),Os.current=m,xe=d,We!==null?r=0:(Xe=null,nt=0,r=qe)}if(r!==0){if(r===2&&(d=rl(t),d!==0&&(l=d,r=Tc(t,d))),r===1)throw s=io,pr(t,0),Vn(t,l),wt(t,Ve()),s;if(r===6)Vn(t,l);else{if(d=t.current.alternate,(l&30)===0&&!fx(d)&&(r=Ws(t,l),r===2&&(m=rl(t),m!==0&&(l=m,r=Tc(t,m))),r===1))throw s=io,pr(t,0),Vn(t,l),wt(t,Ve()),s;switch(t.finishedWork=d,t.finishedLanes=l,r){case 0:case 1:throw Error(i(345));case 2:mr(t,vt,bn);break;case 3:if(Vn(t,l),(l&130023424)===l&&(r=bc+500-Ve(),10<r)){if(Yo(t,0)!==0)break;if(d=t.suspendedLanes,(d&l)!==l){ut(),t.pingedLanes|=t.suspendedLanes&d;break}t.timeoutHandle=Al(mr.bind(null,t,vt,bn),r);break}mr(t,vt,bn);break;case 4:if(Vn(t,l),(l&4194240)===l)break;for(r=t.eventTimes,d=-1;0<l;){var x=31-Vt(l);m=1<<x,x=r[x],x>d&&(d=x),l&=~m}if(l=d,l=Ve()-l,l=(120>l?120:480>l?480:1080>l?1080:1920>l?1920:3e3>l?3e3:4320>l?4320:1960*dx(l/1960))-l,10<l){t.timeoutHandle=Al(mr.bind(null,t,vt,bn),l);break}mr(t,vt,bn);break;case 5:mr(t,vt,bn);break;default:throw Error(i(329))}}}return wt(t,Ve()),t.callbackNode===s?fp.bind(null,t):null}function Tc(t,r){var s=oo;return t.current.memoizedState.isDehydrated&&(pr(t,r).flags|=256),t=Ws(t,r),t!==2&&(r=vt,vt=s,r!==null&&Ec(r)),t}function Ec(t){vt===null?vt=t:vt.push.apply(vt,t)}function fx(t){for(var r=t;;){if(r.flags&16384){var s=r.updateQueue;if(s!==null&&(s=s.stores,s!==null))for(var l=0;l<s.length;l++){var d=s[l],m=d.getSnapshot;d=d.value;try{if(!Nt(m(),d))return!1}catch{return!1}}}if(s=r.child,r.subtreeFlags&16384&&s!==null)s.return=r,r=s;else{if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function Vn(t,r){for(r&=~xc,r&=~Fs,t.suspendedLanes|=r,t.pingedLanes&=~r,t=t.expirationTimes;0<r;){var s=31-Vt(r),l=1<<s;t[s]=-1,r&=~l}}function pp(t){if((xe&6)!==0)throw Error(i(327));ei();var r=Yo(t,0);if((r&1)===0)return wt(t,Ve()),null;var s=Ws(t,r);if(t.tag!==0&&s===2){var l=rl(t);l!==0&&(r=l,s=Tc(t,l))}if(s===1)throw s=io,pr(t,0),Vn(t,r),wt(t,Ve()),s;if(s===6)throw Error(i(345));return t.finishedWork=t.current.alternate,t.finishedLanes=r,mr(t,vt,bn),wt(t,Ve()),null}function Pc(t,r){var s=xe;xe|=1;try{return t(r)}finally{xe=s,xe===0&&(Zr=Ve()+500,ms&&Mn())}}function fr(t){jn!==null&&jn.tag===0&&(xe&6)===0&&ei();var r=xe;xe|=1;var s=Lt.transition,l=Te;try{if(Lt.transition=null,Te=1,t)return t()}finally{Te=l,Lt.transition=s,xe=r,(xe&6)===0&&Mn()}}function Cc(){Pt=Jr.current,Ae(Jr)}function pr(t,r){t.finishedWork=null,t.finishedLanes=0;var s=t.timeoutHandle;if(s!==-1&&(t.timeoutHandle=-1,U0(s)),We!==null)for(s=We.return;s!==null;){var l=s;switch(Fl(l),l.tag){case 1:l=l.type.childContextTypes,l!=null&&fs();break;case 3:Qr(),Ae(mt),Ae(ot),Ql();break;case 5:Kl(l);break;case 4:Qr();break;case 13:Ae(Oe);break;case 19:Ae(Oe);break;case 10:Wl(l.type._context);break;case 22:case 23:Cc()}s=s.return}if(Xe=t,We=t=Nn(t.current,null),nt=Pt=r,qe=0,io=null,xc=Fs=dr=0,vt=oo=null,cr!==null){for(r=0;r<cr.length;r++)if(s=cr[r],l=s.interleaved,l!==null){s.interleaved=null;var d=l.next,m=s.pending;if(m!==null){var x=m.next;m.next=d,l.next=x}s.pending=l}cr=null}return t}function mp(t,r){do{var s=We;try{if(zl(),Es.current=_s,Ps){for(var l=Fe.memoizedState;l!==null;){var d=l.queue;d!==null&&(d.pending=null),l=l.next}Ps=!1}if(hr=0,Ye=$e=Fe=null,Ji=!1,Zi=0,wc.current=null,s===null||s.return===null){qe=1,io=r,We=null;break}e:{var m=t,x=s.return,E=s,P=r;if(r=nt,E.flags|=32768,P!==null&&typeof P=="object"&&typeof P.then=="function"){var B=P,G=E,Y=G.tag;if((G.mode&1)===0&&(Y===0||Y===11||Y===15)){var q=G.alternate;q?(G.updateQueue=q.updateQueue,G.memoizedState=q.memoizedState,G.lanes=q.lanes):(G.updateQueue=null,G.memoizedState=null)}var te=Nf(x);if(te!==null){te.flags&=-257,zf(te,x,E,m,r),te.mode&1&&Vf(m,B,r),r=te,P=B;var re=r.updateQueue;if(re===null){var oe=new Set;oe.add(P),r.updateQueue=oe}else re.add(P);break e}else{if((r&1)===0){Vf(m,B,r),Ic();break e}P=Error(i(426))}}else if(Le&&E.mode&1){var Ne=Nf(x);if(Ne!==null){(Ne.flags&65536)===0&&(Ne.flags|=256),zf(Ne,x,E,m,r),Vl(Yr(P,E));break e}}m=P=Yr(P,E),qe!==4&&(qe=2),oo===null?oo=[m]:oo.push(m),m=x;do{switch(m.tag){case 3:m.flags|=65536,r&=-r,m.lanes|=r;var D=jf(m,P,r);uf(m,D);break e;case 1:E=P;var I=m.type,O=m.stateNode;if((m.flags&128)===0&&(typeof I.getDerivedStateFromError=="function"||O!==null&&typeof O.componentDidCatch=="function"&&(Fn===null||!Fn.has(O)))){m.flags|=65536,r&=-r,m.lanes|=r;var X=Bf(m,E,r);uf(m,X);break e}}m=m.return}while(m!==null)}vp(s)}catch(se){r=se,We===s&&s!==null&&(We=s=s.return);continue}break}while(!0)}function gp(){var t=Os.current;return Os.current=_s,t===null?_s:t}function Ic(){(qe===0||qe===3||qe===2)&&(qe=4),Xe===null||(dr&268435455)===0&&(Fs&268435455)===0||Vn(Xe,nt)}function Ws(t,r){var s=xe;xe|=2;var l=gp();(Xe!==t||nt!==r)&&(bn=null,pr(t,r));do try{px();break}catch(d){mp(t,d)}while(!0);if(zl(),xe=s,Os.current=l,We!==null)throw Error(i(261));return Xe=null,nt=0,qe}function px(){for(;We!==null;)yp(We)}function mx(){for(;We!==null&&!Nw();)yp(We)}function yp(t){var r=bp(t.alternate,t,Pt);t.memoizedProps=t.pendingProps,r===null?vp(t):We=r,wc.current=null}function vp(t){var r=t;do{var s=r.alternate;if(t=r.return,(r.flags&32768)===0){if(s=ax(s,r,Pt),s!==null){We=s;return}}else{if(s=lx(s,r),s!==null){s.flags&=32767,We=s;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{qe=6,We=null;return}}if(r=r.sibling,r!==null){We=r;return}We=r=t}while(r!==null);qe===0&&(qe=5)}function mr(t,r,s){var l=Te,d=Lt.transition;try{Lt.transition=null,Te=1,gx(t,r,s,l)}finally{Lt.transition=d,Te=l}return null}function gx(t,r,s,l){do ei();while(jn!==null);if((xe&6)!==0)throw Error(i(327));s=t.finishedWork;var d=t.finishedLanes;if(s===null)return null;if(t.finishedWork=null,t.finishedLanes=0,s===t.current)throw Error(i(177));t.callbackNode=null,t.callbackPriority=0;var m=s.lanes|s.childLanes;if(Yw(t,m),t===Xe&&(We=Xe=null,nt=0),(s.subtreeFlags&2064)===0&&(s.flags&2064)===0||Bs||(Bs=!0,Sp(qo,function(){return ei(),null})),m=(s.flags&15990)!==0,(s.subtreeFlags&15990)!==0||m){m=Lt.transition,Lt.transition=null;var x=Te;Te=1;var E=xe;
vendor: 4,417 bytes, line 9
9xe|=4,wc.current=null,ux(t,s),lp(s,t),F0(Il),Zo=!!Cl,Il=Cl=null,t.current=s,hx(s),zw(),xe=E,Te=x,Lt.transition=m}else t.current=s;if(Bs&&(Bs=!1,jn=t,Vs=d),m=t.pendingLanes,m===0&&(Fn=null),Hw(s.stateNode),wt(t,Ve()),r!==null)for(l=t.onRecoverableError,s=0;s<r.length;s++)d=r[s],l(d.value,{componentStack:d.stack,digest:d.digest});if(js)throw js=!1,t=Sc,Sc=null,t;return(Vs&1)!==0&&t.tag!==0&&ei(),m=t.pendingLanes,(m&1)!==0?t===kc?so++:(so=0,kc=t):so=0,Mn(),null}function ei(){if(jn!==null){var t=od(Vs),r=Lt.transition,s=Te;try{if(Lt.transition=null,Te=16>t?16:t,jn===null)var l=!1;else{if(t=jn,jn=null,Vs=0,(xe&6)!==0)throw Error(i(331));var d=xe;for(xe|=4,ne=t.current;ne!==null;){var m=ne,x=m.child;if((ne.flags&16)!==0){var E=m.deletions;if(E!==null){for(var P=0;P<E.length;P++){var B=E[P];for(ne=B;ne!==null;){var G=ne;switch(G.tag){case 0:case 11:case 15:ro(8,G,m)}var Y=G.child;if(Y!==null)Y.return=G,ne=Y;else for(;ne!==null;){G=ne;var q=G.sibling,te=G.return;if(rp(G),G===B){ne=null;break}if(q!==null){q.return=te,ne=q;break}ne=te}}}var re=m.alternate;if(re!==null){var oe=re.child;if(oe!==null){re.child=null;do{var Ne=oe.sibling;oe.sibling=null,oe=Ne}while(oe!==null)}}ne=m}}if((m.subtreeFlags&2064)!==0&&x!==null)x.return=m,ne=x;else e:for(;ne!==null;){if(m=ne,(m.flags&2048)!==0)switch(m.tag){case 0:case 11:case 15:ro(9,m,m.return)}var D=m.sibling;if(D!==null){D.return=m.return,ne=D;break e}ne=m.return}}var I=t.current;for(ne=I;ne!==null;){x=ne;var O=x.child;if((x.subtreeFlags&2064)!==0&&O!==null)O.return=x,ne=O;else e:for(x=I;ne!==null;){if(E=ne,(E.flags&2048)!==0)try{switch(E.tag){case 0:case 11:case 15:Ds(9,E)}}catch(se){je(E,E.return,se)}if(E===x){ne=null;break e}var X=E.sibling;if(X!==null){X.return=E.return,ne=X;break e}ne=E.return}}if(xe=d,Mn(),Jt&&typeof Jt.onPostCommitFiberRoot=="function")try{Jt.onPostCommitFiberRoot(Ko,t)}catch{}l=!0}return l}finally{Te=s,Lt.transition=r}}return!1}function wp(t,r,s){r=Yr(s,r),r=jf(t,r,1),t=Dn(t,r,1),r=ut(),t!==null&&(Ai(t,1,r),wt(t,r))}function je(t,r,s){if(t.tag===3)wp(t,t,s);else for(;r!==null;){if(r.tag===3){wp(r,t,s);break}else if(r.tag===1){var l=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Fn===null||!Fn.has(l))){t=Yr(s,t),t=Bf(r,t,1),r=Dn(r,t,1),t=ut(),r!==null&&(Ai(r,1,t),wt(r,t));break}}r=r.return}}function yx(t,r,s){var l=t.pingCache;l!==null&&l.delete(r),r=ut(),t.pingedLanes|=t.suspendedLanes&s,Xe===t&&(nt&s)===s&&(qe===4||qe===3&&(nt&130023424)===nt&&500>Ve()-bc?pr(t,0):xc|=s),wt(t,r)}function xp(t,r){r===0&&((t.mode&1)===0?r=1:(r=Qo,Qo<<=1,(Qo&130023424)===0&&(Qo=4194304)));var s=ut();t=vn(t,r),t!==null&&(Ai(t,r,s),wt(t,s))}function vx(t){var r=t.memoizedState,s=0;r!==null&&(s=r.retryLane),xp(t,s)}function wx(t,r){var s=0;switch(t.tag){case 13:var l=t.stateNode,d=t.memoizedState;d!==null&&(s=d.retryLane);break;case 19:l=t.stateNode;break;default:throw Error(i(314))}l!==null&&l.delete(r),xp(t,s)}var bp;bp=function(t,r,s){if(t!==null)if(t.memoizedProps!==r.pendingProps||mt.current)yt=!0;else{if((t.lanes&s)===0&&(r.flags&128)===0)return yt=!1,sx(t,r,s);yt=(t.flags&131072)!==0}else yt=!1,Le&&(r.flags&1048576)!==0&&Zd(r,ys,r.index);switch(r.lanes=0,r.tag){case 2:var l=r.type;Ms(t,r),t=r.pendingProps;var d=Wr(r,ot.current);Gr(r,s),d=Jl(null,r,l,t,d,s);var m=Zl();return r.flags|=1,typeof d=="object"&&d!==null&&typeof d.render=="function"&&d.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,gt(l)?(m=!0,ps(r)):m=!1,r.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,$l(r),d.updater=As,r.stateNode=d,d._reactInternals=r,oc(r,l,t,s),r=cc(null,r,l,!0,m,s)):(r.tag=0,Le&&m&&Ol(r),ct(null,r,d,s),r=r.child),r;case 16:l=r.elementType;e:{switch(Ms(t,r),t=r.pendingProps,d=l._init,l=d(l._payload),r.type=l,d=r.tag=bx(l),t=Wt(l,t),d){case 0:r=lc(null,r,l,t,s);break e;case 1:r=Kf(null,r,l,t,s);break e;case 11:r=Wf(null,r,l,t,s);break e;case 14:r=Uf(null,r,l,Wt(l.type,t),s);break e}throw Error(i(306,l,""))}return r;case 0:return l=r.type,d=r.pendingProps,d=r.elementType===l?d:Wt(l,d),lc(t,r,l,d,s);case 1:return l=r.type,d=r.pendingProps,d=r.elementType===l?d:Wt(l,d),Kf(t,r,l,d,s);case 3:e:{if(Gf(r),t===null)throw Error(i(387));l=r.pendingProps,m=r.memoizedState,d=m.element,cf(t,r),ks(r,l,null,s);var x=r.memoizedState;if(l=x.element,m.isDehydrated)if(m={element:l,isDehydrated:!1,cache:x.cache,pendingSuspenseBoundaries:x.pe
vendor: 6,950 bytes, line 9
9ndingSuspenseBoundaries,transitions:x.transitions},r.updateQueue.baseState=m,r.memoizedState=m,r.flags&256){d=Yr(Error(i(423)),r),r=Qf(t,r,l,s,d);break e}else if(l!==d){d=Yr(Error(i(424)),r),r=Qf(t,r,l,s,d);break e}else for(Et=_n(r.stateNode.containerInfo.firstChild),Tt=r,Le=!0,zt=null,s=af(r,null,l,s),r.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if($r(),l===d){r=xn(t,r,s);break e}ct(t,r,l,s)}r=r.child}return r;case 5:return df(r),t===null&&Bl(r),l=r.type,d=r.pendingProps,m=t!==null?t.memoizedProps:null,x=d.children,_l(l,d)?x=null:m!==null&&_l(l,m)&&(r.flags|=32),qf(t,r),ct(t,r,x,s),r.child;case 6:return t===null&&Bl(r),null;case 13:return Yf(t,r,s);case 4:return ql(r,r.stateNode.containerInfo),l=r.pendingProps,t===null?r.child=qr(r,null,l,s):ct(t,r,l,s),r.child;case 11:return l=r.type,d=r.pendingProps,d=r.elementType===l?d:Wt(l,d),Wf(t,r,l,d,s);case 7:return ct(t,r,r.pendingProps,s),r.child;case 8:return ct(t,r,r.pendingProps.children,s),r.child;case 12:return ct(t,r,r.pendingProps.children,s),r.child;case 10:e:{if(l=r.type._context,d=r.pendingProps,m=r.memoizedProps,x=d.value,Ie(xs,l._currentValue),l._currentValue=x,m!==null)if(Nt(m.value,x)){if(m.children===d.children&&!mt.current){r=xn(t,r,s);break e}}else for(m=r.child,m!==null&&(m.return=r);m!==null;){var E=m.dependencies;if(E!==null){x=m.child;for(var P=E.firstContext;P!==null;){if(P.context===l){if(m.tag===1){P=wn(-1,s&-s),P.tag=2;var B=m.updateQueue;if(B!==null){B=B.shared;var G=B.pending;G===null?P.next=P:(P.next=G.next,G.next=P),B.pending=P}}m.lanes|=s,P=m.alternate,P!==null&&(P.lanes|=s),Ul(m.return,s,r),E.lanes|=s;break}P=P.next}}else if(m.tag===10)x=m.type===r.type?null:m.child;else if(m.tag===18){if(x=m.return,x===null)throw Error(i(341));x.lanes|=s,E=x.alternate,E!==null&&(E.lanes|=s),Ul(x,s,r),x=m.sibling}else x=m.child;if(x!==null)x.return=m;else for(x=m;x!==null;){if(x===r){x=null;break}if(m=x.sibling,m!==null){m.return=x.return,x=m;break}x=x.return}m=x}ct(t,r,d.children,s),r=r.child}return r;case 9:return d=r.type,l=r.pendingProps.children,Gr(r,s),d=Rt(d),l=l(d),r.flags|=1,ct(t,r,l,s),r.child;case 14:return l=r.type,d=Wt(l,r.pendingProps),d=Wt(l.type,d),Uf(t,r,l,d,s);case 15:return Hf(t,r,r.type,r.pendingProps,s);case 17:return l=r.type,d=r.pendingProps,d=r.elementType===l?d:Wt(l,d),Ms(t,r),r.tag=1,gt(l)?(t=!0,ps(r)):t=!1,Gr(r,s),Of(r,l,d),oc(r,l,d,s),cc(null,r,l,!0,t,s);case 19:return Jf(t,r,s);case 22:return $f(t,r,s)}throw Error(i(156,r.tag))};function Sp(t,r){return ed(t,r)}function xx(t,r,s,l){this.tag=t,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Dt(t,r,s,l){return new xx(t,r,s,l)}function _c(t){return t=t.prototype,!(!t||!t.isReactComponent)}function bx(t){if(typeof t=="function")return _c(t)?1:0;if(t!=null){if(t=t.$$typeof,t===U)return 11;if(t===fe)return 14}return 2}function Nn(t,r){var s=t.alternate;return s===null?(s=Dt(t.tag,r,t.key,t.mode),s.elementType=t.elementType,s.type=t.type,s.stateNode=t.stateNode,s.alternate=t,t.alternate=s):(s.pendingProps=r,s.type=t.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=t.flags&14680064,s.childLanes=t.childLanes,s.lanes=t.lanes,s.child=t.child,s.memoizedProps=t.memoizedProps,s.memoizedState=t.memoizedState,s.updateQueue=t.updateQueue,r=t.dependencies,s.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},s.sibling=t.sibling,s.index=t.index,s.ref=t.ref,s}function Us(t,r,s,l,d,m){var x=2;if(l=t,typeof t=="function")_c(t)&&(x=1);else if(typeof t=="string")x=5;else e:switch(t){case W:return gr(s.children,d,m,r);case N:x=8,d|=8;break;case j:return t=Dt(12,s,r,d|2),t.elementType=j,t.lanes=m,t;case Q:return t=Dt(13,s,r,d),t.elementType=Q,t.lanes=m,t;case ae:return t=Dt(19,s,r,d),t.elementType=ae,t.lanes=m,t;case me:return Hs(s,d,m,r);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case z:x=10;break e;case $:x=9;break e;case U:x=11;break e;case fe:x=14;break e;case pe:x=16,l=null;break e}throw Error(i(130,t==null?t:typeof t,""))}return r=Dt(x,s,r,d),r.elementType=t,r.type=l,r.lanes=m,r}function gr(t,r,s,l){return t=Dt(7,t,l,r),t.lanes=s,t}function Hs(t,r,s,l){return t=Dt(22,t,l,r),t.elementType=me,t.lanes=s,t.stateNode={isHidden:!1},t}function Ac(t,r,s){return t=Dt(6,t,null,r),t.lanes=s,t}function Rc(t,r,s){return r=Dt(4,t.children!==null?t.children:[],t.key,r),r.lanes=s,r.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},r}function Sx(t,r,s,l,d){this.tag=r,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=il(0),this.expirationTimes=il(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=il(0),this.identifierPrefix=l,this.onRecoverableError=d,this.mutableSourceEagerHydrationData=null}function Mc(t,r,s,l,d,m,x,E,P){return t=new Sx(t,r,s,E,P),r===1?(r=1,m===!0&&(r|=8)):r=0,m=Dt(3,null,null,r),t.current=m,m.stateNode=t,m.memoizedState={element:l,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null},$l(m),t}function kx(t,r,s){var l=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:V,key:l==null?null:""+l,children:t,containerInfo:r,implementation:s}}function kp(t){if(!t)return Rn;t=t._reactInternals;e:{if(ir(t)!==t||t.tag!==1)throw Error(i(170));var r=t;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(gt(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(i(171))}if(t.tag===1){var s=t.type;if(gt(s))return Yd(t,s,r)}return r}function Tp(t,r,s,l,d,m,x,E,P){return t=Mc(s,l,!0,t,d,m,x,E,P),t.context=kp(null),s=t.current,l=ut(),d=Bn(s),m=wn(l,d),m.callback=r??null,Dn(s,m,d),t.current.lanes=d,Ai(t,d,l),wt(t,l),t}function $s(t,r,s,l){var d=r.current,m=ut(),x=Bn(d);return s=kp(s),r.context===null?r.context=s:r.pendingContext=s,r=wn(m,x),r.payload={element:t},l=l===void 0?null:l,l!==null&&(r.callback=l),t=Dn(d,r,x),t!==null&&($t(t,d,x,m),Ss(t,d,x)),x}function qs(t){return t=t.current,t.child?(t.child.tag===5,t.child.stateNode):null}function Ep(t,r){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var s=t.retryLane;t.retryLane=s!==0&&s<r?s:r}}function Lc(t,r){Ep(t,r),(t=t.alternate)&&Ep(t,r)}function Tx(){return null}var Pp=typeof reportError=="function"?reportError:function(t){console.error(t)};function Dc(t){this._internalRoot=t}Ks.prototype.render=Dc.prototype.render=function(t){var r=this._internalRoot;if(r===null)throw Error(i(409));$s(t,r,null,null)}
9,Ks.prototype.unmount=Dc.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var r=t.containerInfo;fr(function(){$s(null,t,null,null)}),r[pn]=null}};function Ks(t){this._internalRoot=t}Ks.prototype.unstable_scheduleHydration=function(t){if(t){var r=ld();t={blockedOn:null,target:t,priority:r};for(var s=0;s<Pn.length&&r!==0&&r<Pn[s].priority;s++);Pn.splice(s,0,t),s===0&&hd(t)}};function Oc(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function Gs(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function Cp(){}function Ex(t,r,s,l,d){if(d){if(typeof l=="function"){var m=l;l=function(){var B=qs(x);m.call(B)}}var x=Tp(r,l,t,0,null,!1,!1,"",Cp);return t._reactRootContainer=x,t[pn]=x.current,Hi(t.nodeType===8?t.parentNode:t),fr(),x}for(;d=t.lastChild;)t.removeChild(d);if(typeof l=="function"){var E=l;l=function(){var B=qs(P);E.call(B)}}var P=Mc(t,0,!1,null,null,!1,!1,"",Cp);return t._reactRootContainer=P,t[pn]=P.current,Hi(t.nodeType===8?t.parentNode:t),fr(function(){$s(r,P,s,l)}),P}function Qs(t,r,s,l,d){var m=s._reactRootContainer;if(m){var x=m;if(typeof d=="function"){var E=d;d=function(){var P=qs(x);E.call(P)}}$s(r,x,t,d)}else x=Ex(s,r,t,d,l);return qs(x)}sd=function(t){switch(t.tag){case 3:var r=t.stateNode;if(r.current.memoizedState.isDehydrated){var s=_i(r.pendingLanes);s!==0&&(ol(r,s|1),wt(r,Ve()),(xe&6)===0&&(Zr=Ve()+500,Mn()))}break;case 13:fr(function(){var l=vn(t,1);if(l!==null){var d=ut();$t(l,t,1,d)}}),Lc(t,1)}},sl=function(t){if(t.tag===13){var r=vn(t,134217728);if(r!==null){var s=ut();$t(r,t,134217728,s)}Lc(t,134217728)}},ad=function(t){if(t.tag===13){var r=Bn(t),s=vn(t,r);if(s!==null){var l=ut();$t(s,t,r,l)}Lc(t,r)}},ld=function(){return Te},cd=function(t,r){var s=Te;try{return Te=t,r()}finally{Te=s}},Ja=function(t,r,s){switch(r){case"input":if(Yt(t,s),r=s.name,s.type==="radio"&&r!=null){for(s=t;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<s.length;r++){var l=s[r];if(l!==t&&l.form===t.form){var d=ds(l);if(!d)throw Error(i(90));yi(l),Yt(l,d)}}}break;case"textarea":Pe(t,s);break;case"select":r=s.value,r!=null&&fn(t,!!s.multiple,r,!1)}},Kh=Pc,Gh=fr;var Px={usingClientEntryPoint:!1,Events:[Ki,Nr,ds,$h,qh,Pc]},ao={findFiberByHostInstance:or,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Cx={bundleType:ao.bundleType,version:ao.version,rendererPackageName:ao.rendererPackageName,rendererConfig:ao.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:L.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=Jh(t),t===null?null:t.stateNode},findFiberByHostInstance:ao.findFiberByHostInstance||Tx,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 Ys=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ys.isDisabled&&Ys.supportsFiber)try{Ko=Ys.inject(Cx),Jt=Ys}catch{}}return xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Px,xt.createPortal=function(t,r){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Oc(r))throw Error(i(200));return kx(t,r,null,s)},xt.createRoot=function(t,r){if(!Oc(t))throw Error(i(299));var s=!1,l="",d=Pp;return r!=null&&(r.unstable_strictMode===!0&&(s=!0),r.identifierPrefix!==void 0&&(l=r.identifierPrefix),r.onRecoverableError!==void 0&&(d=r.onRecoverableError)),r=Mc(t,1,!1,null,null,s,!1,l,d),t[pn]=r.current,Hi(t.nodeType===8?t.parentNode:t),new Dc(r)},xt.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var r=t._reactInternals;if(r===void 0)throw typeof t.render=="function"?Error(i(188)):(t=Object.keys(t).join(","),Error(i(268,t)));return t=Jh(r),t=t===null?null:t.stateNode,t},xt.flushSync=function(t){return fr(t)},xt.hydrate=function(t,r,s){if(!Gs(r))throw Error(i(200));return Qs(null,t,r,!0,s)},xt.hydrateRoot=function(t,r,s){if(!Oc(t))throw Error(i(405));var l=s!=null&&s.hydratedSources||null,d=!1,m="",x=Pp;if(s!=null&&(s.unstable_strictMode===!0&&(d=!0),s.identifierPrefix!==void 0&&(m=s.identifierPrefix),s.onRecoverableError!==void 0&&(x=s.onRecoverableError)),r=Tp(r,null,t,1,s??null,d,!1,m,x),t[pn]=r.current,Hi(t),l)for(t=0;t<l.length;t++)s=l[t],d=s._getVersion,d=d(s._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[s,d]:r.mutableSourceEagerHydrationData.push(s,d);return new Ks(r)},xt.render=function(t,r,s){if(!Gs(r))throw Error(i(200));return Qs(null,t,r,!1,s)},xt.unmountComponentAtNode=function(t){if(!Gs(t))throw Error(i(40));return t._reactRootContainer?(fr(function(){Qs(null,null,t,!1,function(){t._reactRootContainer=null,t[pn]=null})}),!0):!1},xt.unstable_batchedUpdates=Pc,xt.unstable_renderSubtreeIntoContainer=function(t,r,s,l){if(!Gs(s))throw Error(i(200));if(t==null||t._reactInternals===void 0)throw Error(i(38));return Qs(t,r,s,!1,l)},xt.version="18.3.1-next-f1338f8080-20240426",xt}var Op;function Zg(){if(Op)return Bc.exports;Op=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(n){console.error(n)}}return e(),Bc.exports=Ox(),Bc.exports}var Fp;function Fx(){if(Fp)return Xs;Fp=1;var e=Zg();return Xs.createRoot=e.createRoot,Xs.hydrateRoot=e.hydrateRoot,Xs}var jx=Fx(),jp=_.use,go=typeof window<"u"?_.useLayoutEffect:_.useEffect;function zc(e){const n=_.useRef({value:e,prev:null}),i=n.current.value;return e!==i&&(n.current={value:e,prev:i}),n.current.prev}function Bx(e,n,i={},o={}){_.useEffect(()=>{if(!e.current||o.disabled||typeof IntersectionObserver!="function")return;const a=new IntersectionObserver(([c])=>{n(c)},i);return a.observe(e.current),()=>{a.disconnect()}},[n,i,o.disabled,e])}function Vx(e){const n=_.useRef(null);return _.useImperativeHandle(e,()=>n.current,[]),n}var ey=!1;function To(e){return e[e.length-1]}function Nx(e){return typeof e=="function"}function $n(e,n){return Nx(e)?e(n):e}var zx=Object.prototype.hasOwnProperty,Bp=Object.prototype.propertyIsEnumerable,Wx=()=>Object.create(null),yr=(e,n)=>qn(e,n,Wx);function qn(e,n,i=()=>({}),o=0){if(e===n)return e;if(o>500)return n;const a=n,c=zp(e)&&zp(a);if(!c&&!(ci(e)&&ci(a)))return a;const u=c?e:Vp(e);if(!u)return a;const h=c?a:Vp(a);if(!h)return a;const f=u.length,p=h.length,g=c?new Array(p):i();let y=0;for(let v=0;v<p;v++){const w=c?v:h[v],b=e[w],S=a[w];if(b===S){g[w]=b,(c?v<f:zx.call(e,w))&&y++;continue}if(b===null||S===null||typeof b!="object"||typeof S!="object"){g[w]=S;continue}const k=qn(b,S,i,o+1);g[w]=k,k===b&&y++}
9return f===p&&y===f?e:g}function Vp(e){const n=Object.getOwnPropertyNames(e);for(const a of n)if(!Bp.call(e,a))return!1;const i=Object.getOwnPropertySymbols(e);if(i.length===0)return n;const o=n;for(const a of i){if(!Bp.call(e,a))return!1;o.push(a)}return o}function ci(e){if(!Np(e))return!1;const n=e.constructor;if(typeof n>"u")return!0;const i=n.prototype;return!(!Np(i)||!i.hasOwnProperty("isPrototypeOf"))}function Np(e){return Object.prototype.toString.call(e)==="[object Object]"}function zp(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Tr(e,n,i){if(e===n)return!0;if(typeof e!=typeof n)return!1;if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;for(let o=0,a=e.length;o<a;o++)if(!Tr(e[o],n[o],i))return!1;return!0}if(ci(e)&&ci(n)){const o=i?.ignoreUndefined??!0;if(i?.partial){for(const u in n)if((!o||n[u]!==void 0)&&!Tr(e[u],n[u],i))return!1;return!0}let a=0;if(!o)a=Object.keys(e).length;else for(const u in e)e[u]!==void 0&&a++;let c=0;for(const u in n)if((!o||n[u]!==void 0)&&(c++,c>a||!Tr(e[u],n[u],i)))return!1;return a===c}return!1}function ui(e){let n,i;const o=new Promise((a,c)=>{n=a,i=c});return o.status="pending",o.resolve=a=>{o.status="resolved",o.value=a,n(a),e?.(a)},o.reject=a=>{o.status="rejected",i(a)},o}function Ux(e){return typeof e?.message!="string"?!1:e.message.startsWith("Failed to fetch dynamically imported module")||e.message.startsWith("error loading dynamically imported module")||e.message.startsWith("Importing a module script failed")}function Eo(e){return!!(e&&typeof e=="object"&&typeof e.then=="function")}function Hx(e){return e.replace(/[\x00-\x1f\x7f]/g,"")}function Wp(e){let n;try{n=decodeURI(e)}catch{n=e.replaceAll(/%[0-9A-F]{2}/gi,i=>{try{return decodeURI(i)}catch{return i}})}return Hx(n)}var $x=["http:","https:","mailto:","tel:"];function ba(e,n){if(!e)return!1;try{const i=new URL(e);return!n.has(i.protocol)}catch{return!1}}function co(e){if(!e)return{path:e,handledProtocolRelativeURL:!1};if(!/[%\\\x00-\x1f\x7f]/.test(e)&&!e.startsWith("//"))return{path:e,handledProtocolRelativeURL:!1};const n=/%25|%5C/gi;let i=0,o="",a;for(;(a=n.exec(e))!==null;)o+=Wp(e.slice(i,a.index))+a[0],i=n.lastIndex;o=o+Wp(i?e.slice(i):e);let c=!1;return o.startsWith("//")&&(c=!0,o="/"+o.replace(/^\/+/,"")),{path:o,handledProtocolRelativeURL:c}}function qx(e){return/\s|[^\u0000-\u007F]/.test(e)?e.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):e}function Kx(e,n){if(e===n)return!0;if(e.length!==n.length)return!1;for(let i=0;i<e.length;i++)if(e[i]!==n[i])return!1;return!0}function Sn(){throw new Error("Invariant failed")}function Po(e){const n=new Map;let i,o;const a=c=>{c.next&&(c.prev?(c.prev.next=c.next,c.next.prev=c.prev,c.next=void 0,o&&(o.next=c,c.prev=o)):(c.next.prev=void 0,i=c.next,c.next=void 0,o&&(c.prev=o,o.next=c)),o=c)};return{get(c){const u=n.get(c);if(u)return a(u),u.value},set(c,u){if(n.size>=e&&i){const f=i;n.delete(f.key),f.next&&(i=f.next,f.next.prev=void 0),f===o&&(o=void 0)}const h=n.get(c);if(h)h.value=u,a(h);else{const f={key:c,value:u,prev:o};o&&(o.next=f),o=f,i||(i=f),n.set(c,f)}},clear(){n.clear(),i=void 0,o=void 0}}}var xr=4,ty=5;function Gx(e){const n=e.indexOf("{");if(n===-1)return null;const i=e.indexOf("}",n);return i===-1||n+1>=e.length?null:[n,i]}function Xu(e,n,i=new Uint16Array(6)){const o=e.indexOf("/",n),a=o===-1?e.length:o,c=e.substring(n,a);if(!c||!c.includes("$"))return i[0]=0,i[1]=n,i[2]=n,i[3]=a,i[4]=a,i[5]=a,i;if(c==="$"){const h=e.length;return i[0]=2,i[1]=n,i[2]=n,i[3]=h,i[4]=h,i[5]=h,i}if(c.charCodeAt(0)===36)return i[0]=1,i[1]=n,i[2]=n+1,i[3]=a,i[4]=a,i[5]=a,i;const u=Gx(c);if(u){const[h,f]=u,p=c.charCodeAt(h+1);if(p===45){if(h+2<c.length&&c.charCodeAt(h+2)===36){const g=h+3,y=f;if(g<y)return i[0]=3,i[1]=n+h,i[2]=n+g,i[3]=n+y,i[4]=n+f+1,i[5]=a,i}}else if(p===36){const g=h+1,y=h+2;return y===f?(i[0]=2,i[1]=n+h,i[2]=n+g,i[3]=n+y,i[4]=n+f+1,i[5]=e.length,i):(i[0]=1,i[1]=n+h,i[2]=n+y,i[3]=n+f,i[4]=n+f+1,i[5]=a,i)}}return i[0]=0,i[1]=n,i[2]=n,i[3]=a,i[4]=a,i[5]=a,i}function Va(e,n,i,o,a,c,u){u?.(i);let h=o;{const f=i.fullPath??i.from,p=f.length,g=i.options?.caseSensitive??e,y=!!(i.options?.params?.parse&&i.options?.skipRouteOnParseError?.params);for(;h<p;){const w=Xu(f,h,n);let b;const S=h,k=w[5];switch(h=k+1,c++,w[0]){case 0:{const T=f.substring(w[2],w[3]);if(g){const A=a.static?.get(T);if(A)b=A;else{a.static??=new Map;const R=br(i.fullPath??i.from);R.parent=a,R.depth=c,b=R,a.static.set(T,R)}}else{const A=T.toLowerCase(),R=a.staticInsensitive?.get(A);if(R)b=R;else{a.staticInsensitive??=new Map;const L=br(i.fullPath??i.from);L.parent=a,L.depth=c,b=L,a.staticInsensitive.set(A,L)}}break}case 1:{const T=f.substring(S,w[1]),A=f.substring(w[4],k),R=g&&!!(T||A),L=T?R?T:T.toLowerCase():void 0,F=A?R?A:A.toLowerCase():void 0,V=!y&&a.dynamic?.find(W=>!W.skipOnParamError&&W.caseSensitive===R&&W.prefix===L&&W.suffix===F);if(V)b=V;else{const W=Uc(1,i.fullPath??i.from,R,L,F);b=W,W.depth=c,W.parent=a,a.dynamic??=[],a.dynamic.push(W)}break}case 3:{const T=f.substring(S,w[1]),A=f.substring(w[4],k),R=g&&!!(T||A),L=T?R?T:T.toLowerCase():void 0,F=A?R?A:A.toLowerCase():void 0,V=!y&&a.optional?.find(W=>!W.skipOnParamError&&W.caseSensitive===R&&W.prefix===L&&W.suffix===F);if(V)b=V;else{const W=Uc(3,i.fullPath??i.from,R,L,F);
9b=W,W.parent=a,W.depth=c,a.optional??=[],a.optional.push(W)}break}case 2:{const T=f.substring(S,w[1]),A=f.substring(w[4],k),R=g&&!!(T||A),L=T?R?T:T.toLowerCase():void 0,F=A?R?A:A.toLowerCase():void 0,V=Uc(2,i.fullPath??i.from,R,L,F);b=V,V.parent=a,V.depth=c,a.wildcard??=[],a.wildcard.push(V)}}a=b}if(y&&i.children&&!i.isRoot&&i.id&&i.id.charCodeAt(i.id.lastIndexOf("/")+1)===95){const w=br(i.fullPath??i.from);w.kind=ty,w.parent=a,c++,w.depth=c,a.pathless??=[],a.pathless.push(w),a=w}const v=(i.path||!i.children)&&!i.isRoot;if(v&&f.endsWith("/")){const w=br(i.fullPath??i.from);w.kind=xr,w.parent=a,c++,w.depth=c,a.index=w,a=w}a.parse=i.options?.params?.parse??null,a.skipOnParamError=y,a.parsingPriority=i.options?.skipRouteOnParseError?.priority??0,v&&!a.route&&(a.route=i,a.fullPath=i.fullPath??i.from)}if(i.children)for(const f of i.children)Va(e,n,f,h,a,c,u)}function Wc(e,n){if(e.skipOnParamError&&!n.skipOnParamError)return-1;if(!e.skipOnParamError&&n.skipOnParamError)return 1;if(e.skipOnParamError&&n.skipOnParamError&&(e.parsingPriority||n.parsingPriority))return n.parsingPriority-e.parsingPriority;if(e.prefix&&n.prefix&&e.prefix!==n.prefix){if(e.prefix.startsWith(n.prefix))return-1;if(n.prefix.startsWith(e.prefix))return 1}if(e.suffix&&n.suffix&&e.suffix!==n.suffix){if(e.suffix.endsWith(n.suffix))return-1;if(n.suffix.endsWith(e.suffix))return 1}return e.prefix&&!n.prefix?-1:!e.prefix&&n.prefix?1:e.suffix&&!n.suffix?-1:!e.suffix&&n.suffix?1:e.caseSensitive&&!n.caseSensitive?-1:!e.caseSensitive&&n.caseSensitive?1:0}function Hn(e){if(e.pathless)for(const n of e.pathless)Hn(n);if(e.static)for(const n of e.static.values())Hn(n);if(e.staticInsensitive)for(const n of e.staticInsensitive.values())Hn(n);if(e.dynamic?.length){e.dynamic.sort(Wc);for(const n of e.dynamic)Hn(n)}if(e.optional?.length){e.optional.sort(Wc);for(const n of e.optional)Hn(n)}if(e.wildcard?.length){e.wildcard.sort(Wc);for(const n of e.wildcard)Hn(n)}}function br(e){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:e,parent:null,parse:null,skipOnParamError:!1,parsingPriority:0}}function Uc(e,n,i,o,a){return{kind:e,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:n,parent:null,parse:null,skipOnParamError:!1,parsingPriority:0,caseSensitive:i,prefix:o,suffix:a}}function Qx(e,n){const i=br("/"),o=new Uint16Array(6);for(const a of e)Va(!1,o,a,1,i,0);Hn(i),n.masksTree=i,n.flatCache=Po(1e3)}function Yx(e,n){e||="/";const i=n.flatCache.get(e);if(i)return i;const o=Ju(e,n.masksTree);return n.flatCache.set(e,o),o}function Xx(e,n,i,o,a){e||="/",o||="/";const c=n?`case\0${e}`:e;let u=a.singleCache.get(c);return u||(u=br("/"),Va(n,new Uint16Array(6),{from:e},1,u,0),a.singleCache.set(c,u)),Ju(o,u,i)}function Jx(e,n,i=!1){const o=i?e:`nofuzz\0${e}`,a=n.matchCache.get(o);if(a!==void 0)return a;e||="/";let c;try{c=Ju(e,n.segmentTree,i)}catch(u){if(u instanceof URIError)c=null;else throw u}return c&&(c.branch=tb(c.route)),n.matchCache.set(o,c),c}function Zx(e){return e==="/"?e:e.replace(/\/{1,}$/,"")}function eb(e,n=!1,i){const o=br(e.fullPath),a=new Uint16Array(6),c={},u={};let h=0;return Va(n,a,e,1,o,0,f=>{if(i?.(f,h),f.id in c&&Sn(),c[f.id]=f,h!==0&&f.path){const p=Zx(f.fullPath);(!u[p]||f.fullPath.endsWith("/"))&&(u[p]=f)}h++}),Hn(o),{processedTree:{segmentTree:o,singleCache:Po(1e3),matchCache:Po(1e3),flatCache:null,masksTree:null},routesById:c,routesByPath:u}}function Ju(e,n,i=!1){const o=e.split("/"),a=rb(e,o,n,i);if(!a)return null;const[c]=ny(e,o,a);return{route:a.node.route,rawParams:c,parsedParams:a.parsedParams}}function ny(e,n,i){const o=nb(i.node);let a=null;const c=Object.create(null);let u=i.extract?.part??0,h=i.extract?.node??0,f=i.extract?.path??0,p=i.extract?.segment??0;for(;h<o.length;u++,h++,f++,p++){const g=o[h];if(g.kind===xr)break;if(g.kind===ty){p--,u--,f--;continue}const y=n[u],v=f;if(y&&(f+=y.length),g.kind===1){a??=i.node.fullPath.split("/");const w=a[p],b=g.prefix?.length??0;if(w.charCodeAt(b)===123){const S=g.suffix?.length??0,k=w.substring(b+2,w.length-S-1),T=y.substring(b,y.length-S);c[k]=decodeURIComponent(T)}else{const S=w.substring(1);c[S]=decodeURIComponent(y)}}else if(g.kind===3){if(i.skipped&1<<h){u--,f=v-1;continue}a??=i.node.fullPath.split("/");const w=a[p],b=g.prefix?.length??0,S=g.suffix?.length??0,k=w.substring(b+3,w.length-S-1),T=g.suffix||g.prefix?y.substring(b,y.length-S):y;T&&(c[k]=decodeURIComponent(T))}else if(g.kind===2){const w=g,b=e.substring(v+(w.prefix?.length??0),e.length-(w.suffix?.length??0)),S=decodeURIComponent(b);c["*"]=S,c._splat=S;break}}return i.rawParams&&Object.assign(c,i.rawParams),[c,{part:u,node:h,path:f,segment:p}]}function tb(e){const n=[e];for(;e.parentRoute;)e=e.parentRoute,n.push(e);return n.reverse(),n}function nb(e){const n=Array(e.depth+1);do n[e.depth]=e,e=e.parent;while(e);return n}function rb(e,n,i,o){if(e==="/"&&i.index)return{node:i.index,skipped:0};const a=!To(n),c=a&&e!=="/",u=n.length-(a?1:0),h=[{node:i,index:1,skipped:0,depth:1,statics:1,dynamics:0,optionals:0}];let f=null,p=null,g=null;for(;h.length;){const y=h.pop(),{node:v,index:w,skipped:b,depth:S,statics:k,dynamics:T,optionals:A}=y;let{extract:R,rawParams:L,parsedParams:F}=y;if(v.skipOnParamError){if(!Hc(e,n,y))continue;L=y.rawParams,R=y.extract,F=y.parsedParams}o&&v.route&&v.kind!==xr&&uo(p,y)&&(p=y);const V=w===u;if(V&&(v.route&&!c&&uo(g,y)&&(g=y),!v.optional&&!v.wildcard&&!v.index&&!v.pathless))continue;const W=V?void 0:n[w];let N;if(V&&v.index){const j={node:v.index,index:w,skipped:b,depth:S+1,statics:k,dynamics:T,optionals:A,extract:R,rawParams:L,parsedParams:F};let z=!0;if(v.index.skipOnParamError&&(Hc(e,n,j)||(z=!1)),z){if(k===u&&!T&&!A&&!b)return j;
9uo(g,j)&&(g=j)}}if(v.wildcard&&uo(f,y))for(const j of v.wildcard){const{prefix:z,suffix:$}=j;if(z&&(V||!(j.caseSensitive?W:N??=W.toLowerCase()).startsWith(z)))continue;if($){if(V)continue;const Q=n.slice(w).join("/").slice(-$.length);if((j.caseSensitive?Q:Q.toLowerCase())!==$)continue}const U={node:j,index:u,skipped:b,depth:S,statics:k,dynamics:T,optionals:A,extract:R,rawParams:L,parsedParams:F};if(!(j.skipOnParamError&&!Hc(e,n,U))){f=U;break}}if(v.optional){const j=b|1<<S,z=S+1;for(let $=v.optional.length-1;$>=0;$--){const U=v.optional[$];h.push({node:U,index:w,skipped:j,depth:z,statics:k,dynamics:T,optionals:A,extract:R,rawParams:L,parsedParams:F})}if(!V)for(let $=v.optional.length-1;$>=0;$--){const U=v.optional[$],{prefix:Q,suffix:ae}=U;if(Q||ae){const fe=U.caseSensitive?W:N??=W.toLowerCase();if(Q&&!fe.startsWith(Q)||ae&&!fe.endsWith(ae))continue}h.push({node:U,index:w+1,skipped:b,depth:z,statics:k,dynamics:T,optionals:A+1,extract:R,rawParams:L,parsedParams:F})}}if(!V&&v.dynamic&&W)for(let j=v.dynamic.length-1;j>=0;j--){const z=v.dynamic[j],{prefix:$,suffix:U}=z;if($||U){const Q=z.caseSensitive?W:N??=W.toLowerCase();if($&&!Q.startsWith($)||U&&!Q.endsWith(U))continue}h.push({node:z,index:w+1,skipped:b,depth:S+1,statics:k,dynamics:T+1,optionals:A,extract:R,rawParams:L,parsedParams:F})}if(!V&&v.staticInsensitive){const j=v.staticInsensitive.get(N??=W.toLowerCase());j&&h.push({node:j,index:w+1,skipped:b,depth:S+1,statics:k+1,dynamics:T,optionals:A,extract:R,rawParams:L,parsedParams:F})}if(!V&&v.static){const j=v.static.get(W);j&&h.push({node:j,index:w+1,skipped:b,depth:S+1,statics:k+1,dynamics:T,optionals:A,extract:R,rawParams:L,parsedParams:F})}if(v.pathless){const j=S+1;for(let z=v.pathless.length-1;z>=0;z--){const $=v.pathless[z];h.push({node:$,index:w,skipped:b,depth:j,statics:k,dynamics:T,optionals:A,extract:R,rawParams:L,parsedParams:F})}}}if(g&&f)return uo(f,g)?g:f;if(g)return g;if(f)return f;if(o&&p){let y=p.index;for(let w=0;w<p.index;w++)y+=n[w].length;const v=y===e.length?"/":e.slice(y);return p.rawParams??=Object.create(null),p.rawParams["**"]=decodeURIComponent(v),p}return null}function Hc(e,n,i){try{const[o,a]=ny(e,n,i);i.rawParams=o,i.extract=a;const c=i.node.parse(o);return i.parsedParams=Object.assign(Object.create(null),i.parsedParams,c),!0}catch{return null}}function uo(e,n){return e?n.statics>e.statics||n.statics===e.statics&&(n.dynamics>e.dynamics||n.dynamics===e.dynamics&&(n.optionals>e.optionals||n.optionals===e.optionals&&((n.node.kind===xr)>(e.node.kind===xr)||n.node.kind===xr==(e.node.kind===xr)&&n.depth>e.depth))):!0}function aa(e){return Zu(e.filter(n=>n!==void 0).join("/"))}function Zu(e){return e.replace(/\/{2,}/g,"/")}function ry(e){return e==="/"?e:e.replace(/^\/{1,}/,"")}function Qn(e){const n=e.length;return n>1&&e[n-1]==="/"?e.replace(/\/{1,}$/,""):e}function iy(e){return Qn(ry(e))}function Sa(e,n){return e?.endsWith("/")&&e!=="/"&&e!==`${n}/`?e.slice(0,-1):e}function ib(e,n,i){return Sa(e,i)===Sa(n,i)}function ob({base:e,to:n,trailingSlash:i="never",cache:o}){const a=n.startsWith("/"),c=!a&&n===".";let u;if(o){u=a?n:c?e:e+"\0"+n;const y=o.get(u);if(y)return y}let h;if(c)h=e.split("/");else if(a)h=n.split("/");else{for(h=e.split("/");h.length>1&&To(h)==="";)h.pop();const y=n.split("/");for(let v=0,w=y.length;v<w;v++){const b=y[v];b===""?v?v===w-1&&h.push(b):h=[b]:b===".."?h.pop():b==="."||h.push(b)}}h.length>1&&(To(h)===""?i==="never"&&h.pop():i==="always"&&h.push(""));let f,p="";for(let y=0;y<h.length;y++){y>0&&(p+="/");const v=h[y];if(!v)continue;f=Xu(v,0,f);const w=f[0];if(w===0){p+=v;continue}const b=f[5],S=v.substring(0,f[1]),k=v.substring(f[4],b),T=v.substring(f[2],f[3]);w===1?p+=S||k?`${S}{$${T}}${k}`:`$${T}`:w===2?p+=S||k?`${S}{$}${k}`:"$":p+=`${S}{-$${T}}${k}`}p=Zu(p);const g=p||"/";return u&&o&&o.set(u,g),g}function sb(e){const n=new Map(e.map(a=>[encodeURIComponent(a),a])),i=Array.from(n.keys()).map(a=>a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),o=new RegExp(i,"g");return a=>a.replace(o,c=>n.get(c)??c)}function $c(e,n,i){const o=n[e];return typeof o!="string"?o:e==="_splat"?/^[a-zA-Z0-9\-._~!/]*$/.test(o)?o:o.split("/").map(a=>Hp(a,i)).join("/"):Hp(o,i)}function Up({path:e,params:n,decoder:i,...o}){let a=!1;const c=Object.create(null);if(!e||e==="/")return{interpolatedPath:"/",usedParams:c,isMissingParams:a};if(!e.includes("$"))return{interpolatedPath:e,usedParams:c,isMissingParams:a};const u=e.length;let h=0,f,p="";for(;h<u;){const g=h;f=Xu(e,g,f);const y=f[5];if(h=y+1,g===y)continue;const v=f[0];if(v===0){p+="/"+e.substring(g,y);continue}if(v===2){const w=n._splat;c._splat=w,c["*"]=w;const b=e.substring(g,f[1]),S=e.substring(f[4],y);if(!w){a=!0,(b||S)&&(p+="/"+b+S);continue}const k=$c("_splat",n,i);p+="/"+b+k+S;continue}if(v===1){const w=e.substring(f[2],f[3]);!a&&!(w in n)&&(a=!0),c[w]=n[w];const b=e.substring(g,f[1]),S=e.substring(f[4],y),k=$c(w,n,i)??"undefined";p+="/"+b+k+S;continue}if(v===3){const w=e.substring(f[2],f[3]),b=n[w];if(b==null)continue;c[w]=b;const S=e.substring(g,f[1]),k=e.substring(f[4],y),T=$c(w,n,i)??"";p+="/"+S+T+k;continue}}return e.endsWith("/")&&(p+="/"),{usedParams:c,interpolatedPath:p||"/",isMissingParams:a}}function Hp(e,n){const i=encodeURIComponent(e);return n?.(i)??i}function pt(e){return!!e?.isNotFound}function ab(){try{return typeof window<"u"&&typeof window.sessionStorage=="object"?window.sessionStorage:void 0}catch{return}}var lb="tsr-scroll-restoration-v1_3";function cb(){const e=ab();if(!e)return null;let n={};try{const o=JSON.parse(e.getItem("tsr-scroll-restoration-v1_3")||"{}");ci(o)&&(n=o)}catch{}return{get state(){return n},set:o=>{n=$n(o,n)||n},persist:()=>{try{e.setItem(lb,JSON.stringify(n))}catch{}}}}var $p=cb(),ub=e=>e.state.__TSR_key||e.href;function hb(e){const n=[];let i;for(;i=e.parentNode;)n.push(`${e.tagName}:nth-child(${Array.prototype.indexOf.call(i.children,e)+1})`),e=i;return`${n.reverse().join(" > ")}`.toLowerCase()}var Js=!1,ho="window",qp="data-scroll-restoration-id";function db(e,n){if(!$p)return;const i=$p;if((e.options.scrollRestoration??!1)&&(e.isScrollRestoring=!0),e.isScrollRestorationSetup||!i)return;e.isScrollRestorationSetup=!0,Js=!1;const o=e.options.getScrollRestorationKey||ub,a=new Map;window.history.scrollRestoration="manual";const c=h=>{if(!(Js||!e.isScrollRestoring))if(h.target===document||h.target===window)a.set(ho,{scrollX:window.scrollX||0,scrollY:window.scrollY||0});else{const f=h.target;a.set(f,{scrollX:f.scrollLeft||0,scrollY:f.scrollTop||0})}},u=h=>{if(!e.isScrollRestoring||!h||a.size===0||!i)return;const f=i.state[h]||={};for(const[p,g]of a){let y;if(p===ho)y=ho;else if(p.isConnected){const v=p.getAttribute(qp);y=v?`[${qp}="${v}"]`:hb(p)}y&&(f[y]=g)}};document.addEventListener("scroll",c,!0),e.subscribe("onBeforeLoad",h=>{u(h.fromLocation?o(h.fromLocation):void 0),a.clear()}),window.addEventListener("pagehide",()=>{u(o(e.stores.resolvedLocation.state??e.stores.location.state)),i.persist()}),e.subscribe("onRendered",h=>{const f=o(h.toLocation),p=e.options.scrollRestorationBehavior,g=e.options.scrollToTopSelectors;if(a.clear(),!e.resetNextScroll){e.resetNextScroll=!0;return}
9if(!(typeof e.options.scrollRestoration=="function"&&!e.options.scrollRestoration({location:e.latestLocation}))){Js=!0;try{const y=e.isScrollRestoring?i.state[f]:void 0;let v=!1;if(y)for(const w in y){const b=y[w];if(!ci(b))continue;const{scrollX:S,scrollY:k}=b;if(!(!Number.isFinite(S)||!Number.isFinite(k))){if(w===ho)window.scrollTo({top:k,left:S,behavior:p}),v=!0;else if(w){let T;try{T=document.querySelector(w)}catch{continue}T&&(T.scrollLeft=S,T.scrollTop=k,v=!0)}}}if(!v){const w=e.history.location.hash.slice(1);if(w){const b=window.history.state?.__hashScrollIntoViewOptions??!0;if(b){const S=document.getElementById(w);S&&S.scrollIntoView(b)}}else{const b={top:0,left:0,behavior:p};if(window.scrollTo(b),g)for(const S of g){if(S===ho)continue;const k=typeof S=="function"?S():document.querySelector(S);k&&k.scrollTo(b)}}}}finally{Js=!1}e.isScrollRestoring&&i.set(y=>(y[f]||={},y))}})}function fb(e,n=String){const i=new URLSearchParams;for(const o in e){const a=e[o];a!==void 0&&i.set(o,n(a))}return i.toString()}function qc(e){return e?e==="false"?!1:e==="true"?!0:+e*0===0&&+e+""===e?+e:e:""}function pb(e){const n=new URLSearchParams(e),i=Object.create(null);for(const[o,a]of n.entries()){const c=i[o];c==null?i[o]=qc(a):Array.isArray(c)?c.push(qc(a)):i[o]=[c,qc(a)]}return i}var mb=yb(JSON.parse),gb=vb(JSON.stringify,JSON.parse);function yb(e){return n=>{n[0]==="?"&&(n=n.substring(1));const i=pb(n);for(const o in i){const a=i[o];if(typeof a=="string")try{i[o]=e(a)}catch{}}return i}}function vb(e,n){const i=typeof n=="function";function o(a){if(typeof a=="object"&&a!==null)try{return e(a)}catch{}else if(i&&typeof a=="string")try{return n(a),e(a)}catch{}return a}return a=>{const c=fb(a,o);return c?`?${c}`:""}}var Er="__root__";function oy(e){if(e.statusCode=e.statusCode||e.code||307,!e._builtLocation&&!e.reloadDocument&&typeof e.href=="string")try{new URL(e.href),e.reloadDocument=!0}catch{}const n=new Headers(e.headers);e.href&&n.get("Location")===null&&n.set("Location",e.href);const i=new Response(null,{status:e.statusCode,headers:n});if(i.options=e,e.throw)throw i;return i}function bt(e){return e instanceof Response&&!!e.options}function wb(e){return{input:({url:n})=>{for(const i of e)n=vu(i,n);return n},output:({url:n})=>{for(let i=e.length-1;i>=0;i--)n=sy(e[i],n);return n}}}function xb(e){const n=iy(e.basepath),i=`/${n}`,o=`${i}/`,a=e.caseSensitive?i:i.toLowerCase(),c=e.caseSensitive?o:o.toLowerCase();return{input:({url:u})=>{const h=e.caseSensitive?u.pathname:u.pathname.toLowerCase();return h===a?u.pathname="/":h.startsWith(c)&&(u.pathname=u.pathname.slice(i.length)),u},output:({url:u})=>(u.pathname=aa(["/",n,u.pathname]),u)}}function vu(e,n){const i=e?.input?.({url:n});if(i){if(typeof i=="string")return new URL(i);if(i instanceof URL)return i}return n}function sy(e,n){const i=e?.output?.({url:n});if(i){if(typeof i=="string")return new URL(i);if(i instanceof URL)return i}return n}function bb(e,n){const{createMutableStore:i,createReadonlyStore:o,batch:a,init:c}=n,u=new Map,h=new Map,f=new Map,p=i(e.status),g=i(e.loadedAt),y=i(e.isLoading),v=i(e.isTransitioning),w=i(e.location),b=i(e.resolvedLocation),S=i(e.statusCode),k=i(e.redirect),T=i([]),A=i([]),R=i([]),L=o(()=>Kc(u,T.state)),F=o(()=>Kc(h,A.state)),V=o(()=>Kc(f,R.state)),W=o(()=>T.state[0]),N=o(()=>T.state.some(me=>u.get(me)?.state.status==="pending")),j=o(()=>({locationHref:w.state.href,resolvedLocationHref:b.state?.href,status:p.state})),z=o(()=>({status:p.state,loadedAt:g.state,isLoading:y.state,isTransitioning:v.state,matches:L.state,location:w.state,resolvedLocation:b.state,statusCode:S.state,redirect:k.state})),$=Po(64);function U(me){let K=$.get(me);return K||(K=o(()=>{const ee=T.state;for(const Z of ee){const M=u.get(Z);if(M&&M.routeId===me)return M.state}}),$.set(me,K)),K}const Q={status:p,loadedAt:g,isLoading:y,isTransitioning:v,location:w,resolvedLocation:b,statusCode:S,redirect:k,matchesId:T,pendingMatchesId:A,cachedMatchesId:R,activeMatchesSnapshot:L,pendingMatchesSnapshot:F,cachedMatchesSnapshot:V,firstMatchId:W,hasPendingMatches:N,matchRouteReactivity:j,activeMatchStoresById:u,pendingMatchStoresById:h,cachedMatchStoresById:f,__store:z,getMatchStoreByRouteId:U,setActiveMatches:ae,setPendingMatches:fe,setCac
9hedMatches:pe};ae(e.matches),c?.(Q);function ae(me){Gc(me,u,T,i,a)}function fe(me){Gc(me,h,A,i,a)}function pe(me){Gc(me,f,R,i,a)}return Q}function Kc(e,n){const i=[];for(const o of n){const a=e.get(o);a&&i.push(a.state)}return i}function Gc(e,n,i,o,a){const c=e.map(h=>h.id),u=new Set(c);a(()=>{for(const h of n.keys())u.has(h)||n.delete(h);for(const h of e){const f=n.get(h.id);if(!f){const p=o(h);p.routeId=h.routeId,n.set(h.id,p);continue}f.routeId=h.routeId,f.state!==h&&f.setState(()=>h)}Kx(i.state,c)||i.setState(()=>c)})}var wu=e=>{if(!e.rendered)return e.rendered=!0,e.onReady?.()},Sb=e=>e.stores.matchesId.state.some(n=>e.stores.activeMatchStoresById.get(n)?.state._forcePending),Na=(e,n)=>!!(e.preload&&!e.router.stores.activeMatchStoresById.has(n)),Pr=(e,n,i=!0)=>{const o={...e.router.options.context??{}},a=i?n:n-1;for(let c=0;c<=a;c++){const u=e.matches[c];if(!u)continue;const h=e.router.getMatch(u.id);h&&Object.assign(o,h.__routeContext,h.__beforeLoadContext)}return o},Kp=(e,n)=>{if(!e.matches.length)return;const i=n.routeId,o=e.matches.findIndex(u=>u.routeId===e.router.routeTree.id),a=o>=0?o:0;let c=i?e.matches.findIndex(u=>u.routeId===i):e.firstBadMatchIndex??e.matches.length-1;c<0&&(c=a);for(let u=c;u>=0;u--){const h=e.matches[u];if(e.router.looseRoutesById[h.routeId].options.notFoundComponent)return u}return i?c:a},Kn=(e,n,i)=>{if(!(!bt(i)&&!pt(i)))throw bt(i)&&i.redirectHandled&&!i.options.reloadDocument||(n&&(n._nonReactive.beforeLoadPromise?.resolve(),n._nonReactive.loaderPromise?.resolve(),n._nonReactive.beforeLoadPromise=void 0,n._nonReactive.loaderPromise=void 0,n._nonReactive.error=i,e.updateMatch(n.id,o=>({...o,status:bt(i)?"redirected":o.status==="pending"?"success":o.status,context:Pr(e,n.index),isFetching:!1,error:i})),pt(i)&&!i.routeId&&(i.routeId=n.routeId),n._nonReactive.loadPromise?.resolve()),bt(i)&&(e.rendered=!0,i.options._fromLocation=e.location,i.redirectHandled=!0,i=e.router.resolveRedirect(i))),i},ay=(e,n)=>{const i=e.router.getMatch(n);return!!(!i||i._nonReactive.dehydrated)},Gp=(e,n,i)=>{const o=Pr(e,i);e.updateMatch(n,a=>({...a,context:o}))},fo=(e,n,i,o)=>{const{id:a,routeId:c}=e.matches[n],u=e.router.looseRoutesById[c];if(i instanceof Promise)throw i;i.routerCode=o,e.firstBadMatchIndex??=n,Kn(e,e.router.getMatch(a),i);try{u.options.onError?.(i)}catch(h){i=h,Kn(e,e.router.getMatch(a),i)}e.updateMatch(a,h=>(h._nonReactive.beforeLoadPromise?.resolve(),h._nonReactive.beforeLoadPromise=void 0,h._nonReactive.loadPromise?.resolve(),{...h,error:i,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!e.preload&&!bt(i)&&!pt(i)&&(e.serialError??=i)},ly=(e,n,i,o)=>{if(o._nonReactive.pendingTimeout!==void 0)return;const a=i.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!Na(e,n)&&(i.options.loader||i.options.beforeLoad||uy(i))&&typeof a=="number"&&a!==1/0&&(i.options.pendingComponent??e.router.options?.defaultPendingComponent)){const c=setTimeout(()=>{wu(e)},a);o._nonReactive.pendingTimeout=c}},kb=(e,n,i)=>{const o=e.router.getMatch(n);if(!o._nonReactive.beforeLoadPromise&&!o._nonReactive.loaderPromise)return;ly(e,n,i,o);const a=()=>{const c=e.router.getMatch(n);c.preload&&(c.status==="redirected"||c.status==="notFound")&&Kn(e,c,c.error)};return o._nonReactive.beforeLoadPromise?o._nonReactive.beforeLoadPromise.then(a):a()},Tb=(e,n,i,o)=>{const a=e.router.getMatch(n);let c=a._nonReactive.loadPromise;a._nonReactive.loadPromise=ui(()=>{c?.resolve(),c=void 0});const{paramsError:u,searchError:h}=a;u&&fo(e,i,u,"PARSE_PARAMS"),h&&fo(e,i,h,"VALIDATE_SEARCH"),ly(e,n,o,a);const f=new AbortController;let p=!1;const g=()=>{p||(p=!0,e.updateMatch(n,L=>({...L,isFetching:"beforeLoad",fetchCount:L.fetchCount+1,abortController:f})))},y=()=>{a._nonReactive.beforeLoadPromise?.resolve(),a._nonReactive.beforeLoadPromise=void 0,e.updateMatch(n,L=>({...L,isFetching:!1}))};if(!o.options.beforeLoad){e.router.batch(()=>{g(),y()});return}a._nonReactive.beforeLoadPromise=ui();const v={...Pr(e,i,!1),...a.__routeContext},{search:w,params:b,cause:S}=a,k=Na(e,n),T={search:w,abortController:f,params:b,preload:k,context:v,location:e.location,navigate:L=>e.router.navigate({...L,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:k?"preload":S,matches:e.matches,routeId:o.id,...e.router.options.additionalContext},A=L=>{if(L===void 0){e.router.batch(()=>{g(),y()});return}
9(bt(L)||pt(L))&&(g(),fo(e,i,L,"BEFORE_LOAD")),e.router.batch(()=>{g(),e.updateMatch(n,F=>({...F,__beforeLoadContext:L})),y()})};let R;try{if(R=o.options.beforeLoad(T),Eo(R))return g(),R.catch(L=>{fo(e,i,L,"BEFORE_LOAD")}).then(A)}catch(L){g(),fo(e,i,L,"BEFORE_LOAD")}A(R)},Eb=(e,n)=>{const{id:i,routeId:o}=e.matches[n],a=e.router.looseRoutesById[o],c=()=>h(),u=()=>Tb(e,i,n,a),h=()=>{if(ay(e,i))return;const f=kb(e,i,a);return Eo(f)?f.then(u):u()};return c()},Pb=(e,n,i)=>{const o=e.router.getMatch(n);if(!o||!i.options.head&&!i.options.scripts&&!i.options.headers)return;const a={ssr:e.router.options.ssr,matches:e.matches,match:o,params:o.params,loaderData:o.loaderData};return Promise.all([i.options.head?.(a),i.options.scripts?.(a),i.options.headers?.(a)]).then(([c,u,h])=>({meta:c?.meta,links:c?.links,headScripts:c?.scripts,headers:h,scripts:u,styles:c?.styles}))},cy=(e,n,i,o,a)=>{const c=n[o-1],{params:u,loaderDeps:h,abortController:f,cause:p}=e.router.getMatch(i),g=Pr(e,o),y=Na(e,i);return{params:u,deps:h,preload:!!y,parentMatchPromise:c,abortController:f,context:g,location:e.location,navigate:v=>e.router.navigate({...v,_fromLocation:e.location}),cause:y?"preload":p,route:a,...e.router.options.additionalContext}},Qp=async(e,n,i,o,a)=>{try{const c=e.router.getMatch(i);try{(!(ey??e.router.isServer)||c.ssr===!0)&&Co(a);const u=a.options.loader,h=typeof u=="function"?u:u?.handler,f=h?.(cy(e,n,i,o,a)),p=!!h&&Eo(f);if((p||a._lazyPromise||a._componentsPromise||a.options.head||a.options.scripts||a.options.headers||c._nonReactive.minPendingPromise)&&e.updateMatch(i,y=>({...y,isFetching:"loader"})),h){const y=p?await f:f;Kn(e,e.router.getMatch(i),y),y!==void 0&&e.updateMatch(i,v=>({...v,loaderData:y}))}a._lazyPromise&&await a._lazyPromise;const g=c._nonReactive.minPendingPromise;g&&await g,a._componentsPromise&&await a._componentsPromise,e.updateMatch(i,y=>({...y,error:void 0,context:Pr(e,o),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(u){let h=u;if(h?.name==="AbortError"){if(c.abortController.signal.aborted){c._nonReactive.loaderPromise?.resolve(),c._nonReactive.loaderPromise=void 0;return}e.updateMatch(i,p=>({...p,status:p.status==="pending"?"success":p.status,isFetching:!1,context:Pr(e,o)}));return}const f=c._nonReactive.minPendingPromise;f&&await f,pt(u)&&await a.options.notFoundComponent?.preload?.(),Kn(e,e.router.getMatch(i),u);try{a.options.onError?.(u)}catch(p){h=p,Kn(e,e.router.getMatch(i),p)}!bt(h)&&!pt(h)&&await Co(a,["errorComponent"]),e.updateMatch(i,p=>({...p,error:h,context:Pr(e,o),status:"error",isFetching:!1}))}}catch(c){const u=e.router.getMatch(i);u&&(u._nonReactive.loaderPromise=void 0),Kn(e,u,c)}},Cb=async(e,n,i)=>{async function o(w,b,S,k,T){const A=Date.now()-b.updatedAt,R=w?T.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??3e4:T.options.staleTime??e.router.options.defaultStaleTime??0,L=T.options.shouldReload,F=typeof L=="function"?L(cy(e,n,a,i,T)):L,{status:V,invalid:W}=k,N=A>=R&&(!!e.forceStaleReload||k.cause==="enter"||S!==void 0&&S!==k.id);u=V==="success"&&(W||(F??N)),w&&T.options.preload===!1||(u&&!e.sync&&g?(h=!0,(async()=>{try{await Qp(e,n,a,i,T);const j=e.router.getMatch(a);j._nonReactive.loaderPromise?.resolve(),j._nonReactive.loadPromise?.resolve(),j._nonReactive.loaderPromise=void 0,j._nonReactive.loadPromise=void 0}catch(j){bt(j)&&await e.router.navigate(j.options)}})()):V!=="success"||u?await Qp(e,n,a,i,T):Gp(e,a,i))}const{id:a,routeId:c}=e.matches[i];let u=!1,h=!1;const f=e.router.looseRoutesById[c],p=f.options.loader,g=((typeof p=="function"?void 0:p?.staleReloadMode)??e.router.options.defaultStaleReloadMode)!=="blocking";if(ay(e,a)){if(!e.router.getMatch(a))return e.matches[i];Gp(e,a,i)}else{const w=e.router.getMatch(a),b=e.router.stores.matchesId.state[i],S=(b&&e.router.stores.activeMatchStoresById.get(b)||null)?.routeId===c?b:e.router.stores.activeMatchesSnapshot.state.find(T=>T.routeId===c)?.id,k=Na(e,a);if(w._nonReactive.loaderPromise){if(w.status==="success"&&!e.sync&&!w.preload&&g)return w;await w._nonReactive.loaderPromise;const T=e.router.getMatch(a),A=T._nonReactive.error||T.error;A&&Kn(e,T,A),T.status==="pending"&&await o(k,w,S,T,f)}else{const T=k&&!e.router.stores.activeMatchStoresById.has(a),A=e.router.getMatch(a);A._nonReactive.loaderPromise=ui(),T!==A.preload&&e.updateMatch(a,R=>({...R,preload:T})),await o(k,w,S,A,f)}}const y=e.router.getMatch(a);h||(y._nonReactive.loaderPromise?.resolve(),y._nonReactive.loadPromise?.resolve(),y._nonReactive.loadPromise=void 0),clearTimeout(y._nonReactive.pen
9dingTimeout),y._nonReactive.pendingTimeout=void 0,h||(y._nonReactive.loaderPromise=void 0),y._nonReactive.dehydrated=void 0;const v=h?y.isFetching:!1;return v!==y.isFetching||y.invalid!==!1?(e.updateMatch(a,w=>({...w,isFetching:v,invalid:!1})),e.router.getMatch(a)):y};async function Yp(e){const n=e,i=[];Sb(n.router)&&wu(n);let o;for(let v=0;v<n.matches.length;v++){try{const w=Eb(n,v);Eo(w)&&await w}catch(w){if(bt(w))throw w;if(pt(w))o=w;else if(!n.preload)throw w;break}if(n.serialError)break}const a=n.firstBadMatchIndex??n.matches.length,c=o&&!n.preload?Kp(n,o):void 0,u=o&&n.preload?0:c!==void 0?Math.min(c+1,a):a;let h,f;for(let v=0;v<u;v++)i.push(Cb(n,i,v));try{await Promise.all(i)}catch{const v=await Promise.allSettled(i);for(const w of v){if(w.status!=="rejected")continue;const b=w.reason;if(bt(b))throw b;pt(b)?h??=b:f??=b}if(f!==void 0)throw f}const p=h??(o&&!n.preload?o:void 0);let g=n.serialError?n.firstBadMatchIndex??0:n.matches.length-1;if(!p&&o&&n.preload)return n.matches;if(p){const v=Kp(n,p);v===void 0&&Sn();const w=n.matches[v],b=n.router.looseRoutesById[w.routeId],S=n.router.options?.defaultNotFoundComponent;!b.options.notFoundComponent&&S&&(b.options.notFoundComponent=S),p.routeId=w.routeId;const k=w.routeId===n.router.routeTree.id;n.updateMatch(w.id,T=>({...T,...k?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:p},isFetching:!1})),g=v,await Co(b,["notFoundComponent"])}else if(!n.preload){const v=n.matches[0];v.globalNotFound||n.router.getMatch(v.id)?.globalNotFound&&n.updateMatch(v.id,w=>({...w,globalNotFound:!1,error:void 0}))}if(n.serialError&&n.firstBadMatchIndex!==void 0){const v=n.router.looseRoutesById[n.matches[n.firstBadMatchIndex].routeId];await Co(v,["errorComponent"])}for(let v=0;v<=g;v++){const{id:w,routeId:b}=n.matches[v],S=n.router.looseRoutesById[b];try{const k=Pb(n,w,S);if(k){const T=await k;n.updateMatch(w,A=>({...A,...T}))}}catch(k){console.error(`Error executing head for route ${b}:`,k)}}const y=wu(n);if(Eo(y)&&await y,p)throw p;if(n.serialError&&!n.preload&&!n.onReady)throw n.serialError;return n.matches}function Xp(e,n){const i=n.map(o=>e.options[o]?.preload?.()).filter(Boolean);if(i.length!==0)return Promise.all(i)}function Co(e,n=la){!e._lazyLoaded&&e._lazyPromise===void 0&&(e.lazyFn?e._lazyPromise=e.lazyFn().then(o=>{const{id:a,...c}=o.options;Object.assign(e.options,c),e._lazyLoaded=!0,e._lazyPromise=void 0}):e._lazyLoaded=!0);const i=()=>e._componentsLoaded?void 0:n===la?(()=>{if(e._componentsPromise===void 0){const o=Xp(e,la);o?e._componentsPromise=o.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0}):e._componentsLoaded=!0}return e._componentsPromise})():Xp(e,n);return e._lazyPromise?e._lazyPromise.then(i):i()}function uy(e){for(const n of la)if(e.options[n]?.preload)return!0;return!1}var la=["component","errorComponent","pendingComponent","notFoundComponent"],Yn="__TSR_index",Jp="popstate",Zp="beforeunload";function Ib(e){let n=e.getLocation();const i=new Set,o=u=>{n=e.getLocation(),i.forEach(h=>h({location:n,action:u}))},a=u=>{e.notifyOnIndexChange??!0?o(u):n=e.getLocation()},c=async({task:u,navigateOpts:h,...f})=>{if(h?.ignoreBlocker??!1){u();return}const p=e.getBlockers?.()??[],g=f.type==="PUSH"||f.type==="REPLACE";if(typeof document<"u"&&p.length&&g)for(const y of p){const v=ka(f.path,f.state);if(await y.blockerFn({currentLocation:n,nextLocation:v,action:f.type})){e.onBlocked?.();return}}u()};return{get location(){return n},get length(){return e.getLength()},subscribers:i,subscribe:u=>(i.add(u),()=>{i.delete(u)}),push:(u,h,f)=>{const p=n.state[Yn];h=em(p+1,h),c({task:()=>{e.pushState(u,h),o({type:"PUSH"})},navigateOpts:f,type:"PUSH",path:u,state:h})},replace:(u,h,f)=>{const p=n.state[Yn];h=em(p,h),c({task:()=>{e.replaceState(u,h),o({type:"REPLACE"})},navigateOpts:f,type:"REPLACE",path:u,state:h})},go:(u,h)=>{c({task:()=>{e.go(u),a({type:"GO",index:u})},navigateOpts:h,type:"GO"})},back:u=>{c({task:()=>{e.back(u?.ignoreBlocker??!1),a({type:"BACK"})},navigateOpts:u,type:"BACK"})},forward:u=>{c({task:()=>{e.forward(u?.ignoreBlocker??!1),a({type:"FORWARD"})},navigateOpts:u,type:"FORWARD"})},canGoBack:()=>n.state[Yn]!==0,createHref:u=>e.createHref(u),block:u=>{if(!e.setBlockers)return()=>{};const h=e.getBlockers?.()??[];return e.setBlockers([...h,u]),()=>{const f=e.getBlockers?.()??[];e.setBlockers?.(f.filter(p=>p!==u))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:o}}function em(e,n){n||(n={});const i=eh();return{...n,key:i,__TSR_key:i,[Yn]:e}}function _b(e){const n=typeof document<"u"?window:void 0,i=n.history.pushState,o=n.history.replaceState;let a=[];const c=()=>a,u=N=>a=N,h=(N=>N),f=(()=>ka(`${n.location.pathname}${n.location.search}${n.location.hash}`,n.history.state));if(!n.history.state?.__TSR_key&&!n.history.state?.key){const N=eh();n.history.replaceState({[Yn]:0,key:N,__TSR_key:N},"")}let p=f(),g,y=!1,v=!1,w=!1,b=!1;const S=()=>p;let k,T;const A=()=>{k&&(W._ignoreSubscribers=!0,(k.isPush?n.history.pushState:n.history.replaceState)(k.state,"",k.href),W._ignoreSubscribers=!1,k=void 0,T=void 0,g=void 0)},R=(N,j,z)=>{const $=h(j);T||(g=p),p=ka(j,z),k={href:$,state:z,isPush:k?.isPush||N==="push"},T||(T=Promise.resolve().then(()=>A()))},L=N=>{p=f(),W.notify({type:N})},F=async()=>
9{if(v){v=!1;return}const N=f(),j=N.state[Yn]-p.state[Yn],z=j===1,$=j===-1,U=!z&&!$||y;y=!1;const Q=U?"GO":$?"BACK":"FORWARD",ae=U?{type:"GO",index:j}:{type:$?"BACK":"FORWARD"};if(w)w=!1;else{const fe=c();if(typeof document<"u"&&fe.length){for(const pe of fe)if(await pe.blockerFn({currentLocation:p,nextLocation:N,action:Q})){v=!0,n.history.go(1),W.notify(ae);return}}}p=f(),W.notify(ae)},V=N=>{if(b){b=!1;return}let j=!1;const z=c();if(typeof document<"u"&&z.length)for(const $ of z){const U=$.enableBeforeUnload??!0;if(U===!0){j=!0;break}if(typeof U=="function"&&U()===!0){j=!0;break}}if(j)return N.preventDefault(),N.returnValue=""},W=Ib({getLocation:S,getLength:()=>n.history.length,pushState:(N,j)=>R("push",N,j),replaceState:(N,j)=>R("replace",N,j),back:N=>(N&&(w=!0),b=!0,n.history.back()),forward:N=>{N&&(w=!0),b=!0,n.history.forward()},go:N=>{y=!0,n.history.go(N)},createHref:N=>h(N),flush:A,destroy:()=>{n.history.pushState=i,n.history.replaceState=o,n.removeEventListener(Zp,V,{capture:!0}),n.removeEventListener(Jp,F)},onBlocked:()=>{g&&p!==g&&(p=g)},getBlockers:c,setBlockers:u,notifyOnIndexChange:!1});return n.addEventListener(Zp,V,{capture:!0}),n.addEventListener(Jp,F),n.history.pushState=function(...N){const j=i.apply(n.history,N);return W._ignoreSubscribers||L("PUSH"),j},n.history.replaceState=function(...N){const j=o.apply(n.history,N);return W._ignoreSubscribers||L("REPLACE"),j},W}function Ab(e){let n=e.replace(/[\x00-\x1f\x7f]/g,"");return n.startsWith("//")&&(n="/"+n.replace(/^\/+/,"")),n}function ka(e,n){const i=Ab(e),o=i.indexOf("#"),a=i.indexOf("?"),c=eh();return{href:i,pathname:i.substring(0,o>0?a>0?Math.min(o,a):o:a>0?a:i.length),hash:o>-1?i.substring(o):"",search:a>-1?i.slice(a,o===-1?void 0:o):"",state:n||{[Yn]:0,key:c,__TSR_key:c}}}function eh(){return(Math.random()+1).toString(36).substring(7)}function li(e,n){const i=n,o=e;return{fromLocation:i,toLocation:o,pathChanged:i?.pathname!==o.pathname,hrefChanged:i?.href!==o.href,hashChanged:i?.hash!==o.hash}}var Rb=class{constructor(e,n){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this.resetNextScroll=!0,this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.isScrollRestoring=!1,this.isScrollRestorationSetup=!1,this.startTransition=i=>i(),this.update=i=>{const o=this.options,a=this.basepath??o?.basepath??"/",c=this.basepath===void 0,u=o?.rewrite;if(this.options={...o,...i},this.isServer=this.options.isServer??typeof document>"u",this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=sb(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=_b()),this.origin=this.options.origin,this.origin||(window?.origin&&window.origin!=="null"?this.origin=window.origin:this.origin="http://localhost"),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let g;this.resolvePathCache=Po(1e3),g=this.buildRouteTree(),this.setRoutes(g)}if(!this.stores&&this.latestLocation){const g=this.getStoreConfig(this);this.batch=g.batch,this.stores=bb(Lb(this.latestLocation),g),db(this)}let h=!1;const f=this.options.basepath??"/",p=this.options.rewrite;if(c||a!==f||u!==p){this.basepath=f;const g=[],y=iy(f);y&&y!=="/"&&g.push(xb({basepath:f})),p&&g.push(p),this.rewrite=g.length===0?void 0:g.length===1?g[0]:wb(g),this.history&&this.updateLatestLocation(),h=!0}h&&this.stores&&this.stores.location.setState(()=>this.latestLocation),typeof window<"u"&&"CSS"in window&&typeof window.CSS?.supports=="function"&&(this.isViewTransitionTypesSupported=window.CSS.supports("selector(:active-view-transition-type(a)"))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{const i=eb(this.routeTree,this.options.caseSensitive,(o,a)=>{o.init({originalIndex:a})});return this.options.routeMasks&&Qx(this.options.routeMasks,i.processedTree),i},this.subscribe=(i,o)=>{const a={eventType:i,fn:o};return this.subscribers.add(a),()=>{this.subscribers.delete(a)}},this.emit=i=>
9{this.subscribers.forEach(o=>{o.eventType===i.type&&o.fn(i)})},this.parseLocation=(i,o)=>{const a=({pathname:f,search:p,hash:g,href:y,state:v})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(f)){const T=this.options.parseSearch(p),A=this.options.stringifySearch(T);return{href:f+A+g,publicHref:y,pathname:co(f).path,external:!1,searchStr:A,search:yr(o?.search,T),hash:co(g.slice(1)).path,state:qn(o?.state,v)}}const w=new URL(y,this.origin),b=vu(this.rewrite,w),S=this.options.parseSearch(b.search),k=this.options.stringifySearch(S);return b.search=k,{href:b.href.replace(b.origin,""),publicHref:y,pathname:co(b.pathname).path,external:!!this.rewrite&&b.origin!==this.origin,searchStr:k,search:yr(o?.search,S),hash:co(b.hash.slice(1)).path,state:qn(o?.state,v)}},c=a(i),{__tempLocation:u,__tempKey:h}=c.state;if(u&&(!h||h===this.tempLocationKey)){const f=a(u);return f.state.key=c.state.key,f.state.__TSR_key=c.state.__TSR_key,delete f.state.__tempLocation,{...f,maskedLocation:c}}return c},this.resolvePathWithBase=(i,o)=>ob({base:i,to:Zu(o),trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(i,o,a)=>typeof i=="string"?this.matchRoutesInternal({pathname:i,search:o},a):this.matchRoutesInternal(i,o),this.getMatchedRoutes=i=>Db({pathname:i,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=i=>{const o=this.getMatch(i);o&&(o.abortController.abort(),clearTimeout(o._nonReactive.pendingTimeout),o._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingMatchesId.state.forEach(i=>{this.cancelMatch(i)}),this.stores.matchesId.state.forEach(i=>{if(this.stores.pendingMatchStoresById.has(i))return;const o=this.stores.activeMatchStoresById.get(i)?.state;o&&(o.status==="pending"||o.isFetching==="loader")&&this.cancelMatch(i)})},this.buildLocation=i=>{const o=(c={})=>{const u=c._fromLocation||this.pendingBuiltLocation||this.latestLocation,h=this.matchRoutesLightweight(u);c.from;const f=c.unsafeRelative==="path"?u.pathname:c.from??h.fullPath,p=this.resolvePathWithBase(f,"."),g=h.search,y=Object.assign(Object.create(null),h.params),v=c.to?this.resolvePathWithBase(p,`${c.to}`):this.resolvePathWithBase(p,"."),w=c.params===!1||c.params===null?Object.create(null):(c.params??!0)===!0?y:Object.assign(y,$n(c.params,y)),b=this.getMatchedRoutes(v);let S=b.matchedRoutes;if((!b.foundRoute||b.foundRoute.path!=="/"&&b.routeParams["**"])&&this.options.notFoundRoute&&(S=[...S,this.options.notFoundRoute]),Object.keys(w).length>0)for(const z of S){const $=z.options.params?.stringify??z.options.stringifyParams;if($)try{Object.assign(w,$(w))}catch{}}const k=i.leaveParams?v:co(Up({path:v,params:w,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path;let T=g;if(i._includeValidateSearch&&this.options.search?.strict){const z={};S.forEach($=>{if($.options.validateSearch)try{Object.assign(z,ca($.options.validateSearch,{...z,...T}))}catch{}}),T=z}T=Ob({search:T,dest:c,destRoutes:S,_includeValidateSearch:i._includeValidateSearch}),T=yr(g,T);const A=this.options.stringifySearch(T),R=c.hash===!0?u.hash:c.hash?$n(c.hash,u.hash):void 0,L=R?`#${R}`:"";let F=c.state===!0?u.state:c.state?$n(c.state,u.state):{};F=qn(u.state,F);const V=`${k}${A}${L}`;let W,N,j=!1;if(this.rewrite){const z=new URL(V,this.origin),$=sy(this.rewrite,z);W=z.href.replace(z.origin,""),$.origin!==this.origin?(N=$.href,j=!0):N=$.pathname+$.search+$.hash}else W=qx(V),N=W;return{publicHref:N,href:W,pathname:k,search:T,searchStr:A,state:F,hash:R??"",external:j,unmaskOnReload:c.unmaskOnReload}},a=(c={},u)=>{const h=o(c);let f=u?o(u):void 0;if(!f){const p=Object.create(null);if(this.options.routeMasks){const g=Yx(h.pathname,this.processedTree);if(g){Object.assign(p,g.rawParams);const{from:y,params:v,...w}=g.route,b=v===!1||v===null?Object.create(null):(v??!0)===!0?p:Object.assign(p,$n(v,p));u={from:i.from,...w,params:b},f=o(u)}}}return f&&(h.maskedLocation=f),h};return i.mask?a(i,{from:i.from,...i.mask}):a(i)},this.commitLocation=async({viewTransition:i,ignoreBlocker:o,...a})=>{const c=()=>{const f=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];f.forEach(g=>{a.state[g]=this.latestLocation.state[g]});const p=Tr(a.state,this.latestLocation.state);return f.forEach(g=>{delete a.state[g]}),p},u=Qn(this.latestLocation.href)===Qn(a.href);let h=this.commitLocationPromise;if(this.commitLocationPromise=ui(()=>{h?.resolve(),h=void 0}),u&&c())this.load();else{let{maskedLocation:f,hashScrollIntoView:p,...g}=a;f&&(g={...f,state:{...f.state,__tempKey:void 0,__tempLocation:{...g,search:g.searchStr,state:{...g.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(g.unmaskOnReload??this.options.unmaskOnReload??!1)&&(g.state.__tempKey=this.tempLocationKey)),g.state.__hashScrollIntoViewOptions=p??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=i,this.history[a.replace?"replace":"push"](g.publicHref,g.state,{ignoreBlocker:o})}return this.resetNextScroll=a.resetScroll??!0,this.history.subscribers.size||this.load(),this.commitLocationPromise},this.buildAndCommitLocation=({replace:i,resetScroll:o,hashScrollIntoView:a,viewTransition:c,ignoreBlocker:u,href:h,...f}={})=>
9{if(h){const y=this.history.location.state.__TSR_index,v=ka(h,{__TSR_index:i?y:y+1}),w=new URL(v.pathname,this.origin);f.to=vu(this.rewrite,w).pathname,f.search=this.options.parseSearch(v.search),f.hash=v.hash.slice(1)}const p=this.buildLocation({...f,_includeValidateSearch:!0});this.pendingBuiltLocation=p;const g=this.commitLocation({...p,viewTransition:c,replace:i,resetScroll:o,hashScrollIntoView:a,ignoreBlocker:u});return Promise.resolve().then(()=>{this.pendingBuiltLocation===p&&(this.pendingBuiltLocation=void 0)}),g},this.navigate=async({to:i,reloadDocument:o,href:a,publicHref:c,...u})=>{let h=!1;if(a)try{new URL(`${a}`),h=!0}catch{}if(h&&!o&&(o=!0),o){if(i!==void 0||!a){const p=this.buildLocation({to:i,...u});a=a??p.publicHref,c=c??p.publicHref}const f=!h&&c?c:a;if(ba(f,this.protocolAllowlist))return Promise.resolve();if(!u.ignoreBlocker){const p=this.history.getBlockers?.()??[];for(const g of p)if(g?.blockerFn&&await g.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return Promise.resolve()}return u.replace?window.location.replace(f):window.location.href=f,Promise.resolve()}return this.buildAndCommitLocation({...u,href:a,to:i,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();const i=this.matchRoutes(this.latestLocation),o=this.stores.cachedMatchesSnapshot.state.filter(a=>!i.some(c=>c.id===a.id));this.batch(()=>{this.stores.status.setState(()=>"pending"),this.stores.statusCode.setState(()=>200),this.stores.isLoading.setState(()=>!0),this.stores.location.setState(()=>this.latestLocation),this.stores.setPendingMatches(i),this.stores.setCachedMatches(o)})},this.load=async i=>{let o,a,c;const u=this.stores.resolvedLocation.state??this.stores.location.state;for(c=new Promise(f=>{this.startTransition(async()=>{try{this.beforeLoad();const p=this.latestLocation,g=this.stores.resolvedLocation.state,y=li(p,g);this.stores.redirect.state||this.emit({type:"onBeforeNavigate",...y}),this.emit({type:"onBeforeLoad",...y}),await Yp({router:this,sync:i?.sync,forceStaleReload:u.href===p.href,matches:this.stores.pendingMatchesSnapshot.state,location:p,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let v=null,w=null,b=null,S=null;this.batch(()=>{const k=this.stores.pendingMatchesSnapshot.state,T=k.length,A=this.stores.activeMatchesSnapshot.state;v=T?A.filter(F=>!this.stores.pendingMatchStoresById.has(F.id)):null;const R=new Set;for(const F of this.stores.pendingMatchStoresById.values())F.routeId&&R.add(F.routeId);const L=new Set;for(const F of this.stores.activeMatchStoresById.values())F.routeId&&L.add(F.routeId);w=T?A.filter(F=>!R.has(F.routeId)):null,b=T?k.filter(F=>!L.has(F.routeId)):null,S=T?k.filter(F=>L.has(F.routeId)):A,this.stores.isLoading.setState(()=>!1),this.stores.loadedAt.setState(()=>Date.now()),T&&(this.stores.setActiveMatches(k),this.stores.setPendingMatches([]),this.stores.setCachedMatches([...this.stores.cachedMatchesSnapshot.state,...v.filter(F=>F.status!=="error"&&F.status!=="notFound"&&F.status!=="redirected")]),this.clearExpiredCache())});for(const[k,T]of[[w,"onLeave"],[b,"onEnter"],[S,"onStay"]])if(k)for(const A of k)this.looseRoutesById[A.routeId].options[T]?.(A)})})}})}catch(p){bt(p)?(o=p,this.navigate({...o.options,replace:!0,ignoreBlocker:!0})):pt(p)&&(a=p);const g=o?o.status:a?404:this.stores.activeMatchesSnapshot.state.some(y=>y.status==="error")?500:200;this.batch(()=>{this.stores.statusCode.setState(()=>g),this.stores.redirect.setState(()=>o)})}this.latestLoadPromise===c&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),f()})}),this.latestLoadPromise=c,await c;this.latestLoadPromise&&c!==this.latestLoadPromise;)await this.latestLoadPromise;let h;this.hasNotFoundMatch()?h=404:this.stores.activeMatchesSnapshot.state.some(f=>f.status==="error")&&(h=500),h!==void 0&&this.stores.statusCode.setState(()=>h)},this.startViewTransition=i=>{const o=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,o&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition=="function"){let a;if(typeof o=="object"&&this.isViewTransitionTypesSupported){const c=this.latestLocation,u=this.stores.resolvedLocation.state,h=typeof o.types=="function"?o.types(li(c,u)):o.types;if(h===!1){i();return}a={update:i,types:h}}else a=i;document.startViewTransition(a)}else i()},this.updateMatch=(i,o)=>{this.startTransition(()=>
9{const a=this.stores.pendingMatchStoresById.get(i);if(a){a.setState(o);return}const c=this.stores.activeMatchStoresById.get(i);if(c){c.setState(o);return}const u=this.stores.cachedMatchStoresById.get(i);if(u){const h=o(u.state);h.status==="redirected"?this.stores.cachedMatchStoresById.delete(i)&&this.stores.cachedMatchesId.setState(f=>f.filter(p=>p!==i)):u.setState(()=>h)}})},this.getMatch=i=>this.stores.cachedMatchStoresById.get(i)?.state??this.stores.pendingMatchStoresById.get(i)?.state??this.stores.activeMatchStoresById.get(i)?.state,this.invalidate=i=>{const o=a=>i?.filter?.(a)??!0?{...a,invalid:!0,...i?.forcePending||a.status==="error"||a.status==="notFound"?{status:"pending",error:void 0}:void 0}:a;return this.batch(()=>{this.stores.setActiveMatches(this.stores.activeMatchesSnapshot.state.map(o)),this.stores.setCachedMatches(this.stores.cachedMatchesSnapshot.state.map(o)),this.stores.setPendingMatches(this.stores.pendingMatchesSnapshot.state.map(o))}),this.shouldViewTransition=!1,this.load({sync:i?.sync})},this.getParsedLocationHref=i=>i.publicHref||"/",this.resolveRedirect=i=>{const o=i.headers.get("Location");if(!i.options.href||i.options._builtLocation){const a=i.options._builtLocation??this.buildLocation(i.options),c=this.getParsedLocationHref(a);i.options.href=c,i.headers.set("Location",c)}else if(o)try{const a=new URL(o);if(this.origin&&a.origin===this.origin){const c=a.pathname+a.search+a.hash;i.options.href=c,i.headers.set("Location",c)}}catch{}if(i.options.href&&!i.options._builtLocation&&ba(i.options.href,this.protocolAllowlist))throw new Error("Redirect blocked: unsafe protocol");return i.headers.get("Location")||i.headers.set("Location",i.options.href),i},this.clearCache=i=>{const o=i?.filter;o!==void 0?this.stores.setCachedMatches(this.stores.cachedMatchesSnapshot.state.filter(a=>!o(a))):this.stores.setCachedMatches([])},this.clearExpiredCache=()=>{const i=Date.now(),o=a=>{const c=this.looseRoutesById[a.routeId];if(!c.options.loader)return!0;const u=(a.preload?c.options.preloadGcTime??this.options.defaultPreloadGcTime:c.options.gcTime??this.options.defaultGcTime)??300*1e3;return a.status==="error"?!0:i-a.updatedAt>=u};this.clearCache({filter:o})},this.loadRouteChunk=Co,this.preloadRoute=async i=>{const o=i._builtLocation??this.buildLocation(i);let a=this.matchRoutes(o,{throwOnError:!0,preload:!0,dest:i});const c=new Set([...this.stores.matchesId.state,...this.stores.pendingMatchesId.state]),u=new Set([...c,...this.stores.cachedMatchesId.state]),h=a.filter(f=>!u.has(f.id));if(h.length){const f=this.stores.cachedMatchesSnapshot.state;this.stores.setCachedMatches([...f,...h])}try{return a=await Yp({router:this,matches:a,location:o,preload:!0,updateMatch:(f,p)=>{c.has(f)?a=a.map(g=>g.id===f?p(g):g):this.updateMatch(f,p)}}),a}catch(f){if(bt(f))return f.options.reloadDocument?void 0:await this.preloadRoute({...f.options,_fromLocation:o});pt(f)||console.error(f);return}},this.matchRoute=(i,o)=>{const a={...i,to:i.to?this.resolvePathWithBase(i.from||"",i.to):void 0,params:i.params||{},leaveParams:!0},c=this.buildLocation(a);if(o?.pending&&this.stores.status.state!=="pending")return!1;const u=(o?.pending===void 0?!this.stores.isLoading.state:o.pending)?this.latestLocation:this.stores.resolvedLocation.state||this.stores.location.state,h=Xx(c.pathname,o?.caseSensitive??!1,o?.fuzzy??!1,u.pathname,this.processedTree);return!h||i.params&&!Tr(h.rawParams,i.params,{partial:!0})?!1:o?.includeSearch??!0?Tr(u.search,c.search,{partial:!0})?h.rawParams:!1:h.rawParams},this.hasNotFoundMatch=()=>this.stores.activeMatchesSnapshot.state.some(i=>i.status==="notFound"||i.globalNotFound),this.getStoreConfig=n,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??"fuzzy",stringifySearch:e.stringifySearch??gb,parseSearch:e.parseSearch??mb,protocolAllowlist:e.protocolAllowlist??$x}),typeof document<"u"&&(self.__TSR_ROUTER__=this)}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.state}setRoutes({routesById:e,routesByPath:n,processedTree:i}){this.routesById=e,this.routesByPath=n,this.processedTree=i;const o=this.options.notFoundRoute;o&&(o.init({originalIndex:99999999999}),this.routesById[o.id]=o)}get looseRoutesById(){return this.routesById}getParentContext(e){return e?.id?e.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(e,n){const i=this.getMatchedRoutes(e.pathname),{foundRoute:o,routeParam
9s:a,parsedParams:c}=i;let{matchedRoutes:u}=i,h=!1;(o?o.path!=="/"&&a["**"]:Qn(e.pathname))&&(this.options.notFoundRoute?u=[...u,this.options.notFoundRoute]:h=!0);const f=h?jb(this.options.notFoundMode,u):void 0,p=new Array(u.length),g=new Map;for(const y of this.stores.activeMatchStoresById.values())y.routeId&&g.set(y.routeId,y.state);for(let y=0;y<u.length;y++){const v=u[y],w=p[y-1];let b,S,k;{const Q=w?.search??e.search,ae=w?._strictSearch??void 0;try{const fe=ca(v.options.validateSearch,{...Q})??void 0;b={...Q,...fe},S={...ae,...fe},k=void 0}catch(fe){let pe=fe;if(fe instanceof Ta||(pe=new Ta(fe.message,{cause:fe})),n?.throwOnError)throw pe;b=Q,S={},k=pe}}const T=v.options.loaderDeps?.({search:b})??"",A=T?JSON.stringify(T):"",{interpolatedPath:R,usedParams:L}=Up({path:v.fullPath,params:a,decoder:this.pathParamsDecoder,server:this.isServer}),F=v.id+R+A,V=this.getMatch(F),W=g.get(v.id),N=V?._strictParams??L;let j;if(!V)try{tm(v,L,c,N)}catch(Q){if(pt(Q)||bt(Q)?j=Q:j=new Mb(Q.message,{cause:Q}),n?.throwOnError)throw j}Object.assign(a,N);const z=W?"stay":"enter";let $;if(V)$={...V,cause:z,params:W?.params??a,_strictParams:N,search:yr(W?W.search:V.search,b),_strictSearch:S};else{const Q=v.options.loader||v.options.beforeLoad||v.lazyFn||uy(v)?"pending":"success";$={id:F,ssr:v.options.ssr,index:y,routeId:v.id,params:W?.params??a,_strictParams:N,pathname:R,updatedAt:Date.now(),search:W?yr(W.search,b):b,_strictSearch:S,searchError:void 0,status:Q,isFetching:!1,error:void 0,paramsError:j,__routeContext:void 0,_nonReactive:{loadPromise:ui()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:z,loaderDeps:W?qn(W.loaderDeps,T):T,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:v.options.staticData||{},fullPath:v.fullPath}}n?.preload||($.globalNotFound=f===v.id),$.searchError=k;const U=this.getParentContext(w);$.context={...U,...$.__routeContext,...$.__beforeLoadContext},p[y]=$}for(let y=0;y<p.length;y++){const v=p[y],w=this.looseRoutesById[v.routeId],b=this.getMatch(v.id),S=g.get(v.routeId);if(v.params=S?yr(S.params,a):a,!b){const k=p[y-1],T=this.getParentContext(k);if(w.options.context){const A={deps:v.loaderDeps,params:v.params,context:T??{},location:e,navigate:R=>this.navigate({...R,_fromLocation:e}),buildLocation:this.buildLocation,cause:v.cause,abortController:v.abortController,preload:!!v.preload,matches:p,routeId:w.id};v.__routeContext=w.options.context(A)??void 0}v.context={...T,...v.__routeContext,...v.__beforeLoadContext}}}return p}matchRoutesLightweight(e){const{matchedRoutes:n,routeParams:i,parsedParams:o}=this.getMatchedRoutes(e.pathname),a=To(n),c={...e.search};for(const g of n)try{Object.assign(c,ca(g.options.validateSearch,c))}catch{}const u=To(this.stores.matchesId.state),h=u&&this.stores.activeMatchStoresById.get(u)?.state,f=h&&h.routeId===a.id&&h.pathname===e.pathname;let p;if(f)p=h.params;else{const g=Object.assign(Object.create(null),i);for(const y of n)try{tm(y,i,o??{},g)}catch{}p=g}return{matchedRoutes:n,fullPath:a.fullPath,search:c,params:p}}},Ta=class extends Error{},Mb=class extends Error{};
9function Lb(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function ca(e,n){if(e==null)return{};if("~standard"in e){const i=e["~standard"].validate(n);if(i instanceof Promise)throw new Ta("Async validation not supported");if(i.issues)throw new Ta(JSON.stringify(i.issues,void 0,2),{cause:i});return i.value}return"parse"in e?e.parse(n):typeof e=="function"?e(n):{}}function Db({pathname:e,routesById:n,processedTree:i}){const o=Object.create(null),a=Qn(e);let c,u;const h=Jx(a,i,!0);return h&&(c=h.route,Object.assign(o,h.rawParams),u=Object.assign(Object.create(null),h.parsedParams)),{matchedRoutes:h?.branch||[n.__root__],routeParams:o,foundRoute:c,parsedParams:u}}function Ob({search:e,dest:n,destRoutes:i,_includeValidateSearch:o}){return Fb(i)(e,n,o??!1)}function Fb(e){const n={dest:null,_includeValidateSearch:!1,middlewares:[]};for(const a of e){if("search"in a.options)a.options.search?.middlewares&&n.middlewares.push(...a.options.search.middlewares);else if(a.options.preSearchFilters||a.options.postSearchFilters){const c=({search:u,next:h})=>{let f=u;"preSearchFilters"in a.options&&a.options.preSearchFilters&&(f=a.options.preSearchFilters.reduce((g,y)=>y(g),u));const p=h(f);return"postSearchFilters"in a.options&&a.options.postSearchFilters?a.options.postSearchFilters.reduce((g,y)=>y(g),p):p};n.middlewares.push(c)}if(a.options.validateSearch){const c=({search:u,next:h})=>{const f=h(u);if(!n._includeValidateSearch)return f;try{return{...f,...ca(a.options.validateSearch,f)??void 0}}catch{return f}};n.middlewares.push(c)}}const i=({search:a})=>{const c=n.dest;return c.search?c.search===!0?a:$n(c.search,a):{}};n.middlewares.push(i);const o=(a,c,u)=>{if(a>=u.length)return c;const h=u[a];return h({search:c,next:p=>o(a+1,p,u)})};return function(c,u,h){return n.dest=u,n._includeValidateSearch=h,o(0,c,n.middlewares)}}function jb(e,n){if(e!=="root")for(let i=n.length-1;i>=0;i--){const o=n[i];if(o.children)return o.id}return Er}function tm(e,n,i,o){const a=e.options.params?.parse??e.options.parseParams;if(a)if(e.options.skipRouteOnParseError)for(const c in n)c in i&&(o[c]=i[c]);else{const c=a(o);Object.assign(o,c)}}var Bb="Error preloading route! ☝️",hy=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=n=>{this.originalIndex=n.originalIndex;const i=this.options,o=!i?.path&&!i?.id;this.parentRoute=this.options.getParentRoute?.(),o?this._path=Er:this.parentRoute||Sn();let a=o?Er:i?.path;a&&a!=="/"&&(a=ry(a));const c=i?.id||a;let u=o?Er:aa([this.parentRoute.id==="__root__"?"":this.parentRoute.id,c]);a==="__root__"&&(a="/"),u!=="__root__"&&(u=aa(["/",u]));const h=u==="__root__"?"/":aa([this.parentRoute.fullPath,a]);this._path=a,this._id=u,this._fullPath=h,this._to=Qn(h)},this.addChildren=n=>this._addFileChildren(n),this._addFileChildren=n=>(Array.isArray(n)&&(this.children=n),typeof n=="object"&&n!==null&&(this.children=Object.values(n)),this),this._addFileTypes=()=>this,this.updateLoader=n=>(Object.assign(this.options,n),this),this.update=n=>(Object.assign(this.options,n),this),this.lazy=n=>(this.lazyFn=n,this),this.redirect=n=>oy({from:this.fullPath,...n}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw new Error("Route cannot have both an 'id' and a 'path' option.")}},Vb=class extends hy{constructor(e){super(e)}};function Nb(e){if(typeof document<"u"&&document.querySelector){const n=e.stores.location.state,i=n.state.__hashScrollIntoViewOptions??!0;if(i&&n.hash!==""){const o=document.getElementById(n.hash);o&&o.scrollIntoView(i)}}}function th(e){const n=e.errorComponent??nh;return C.jsx(zb,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:i,reset:o})=>i?_.createElement(n,{error:i,reset:o}):e.children})}var zb=class extends _.Component{constructor(...e){super(...e),this.state={error:null}}static getDerivedStateFromProps(e){return{resetKey:e.getResetKey()}}static getDerivedStateFromError(e){return{error:e}}reset(){this.setState({error:null})}componentDidUpdate(e,n){n.error&&n.resetKey!==this.state.resetKey&&this.reset()}componentDidCatch(e,n){this.props.onCatch&&this.props.onCatch(e,n)}render(){return this.props.children({error:this.state.resetKey!==this.props.getResetKey()?null:this.state.error,reset:()=>{this.reset()}})}};function nh({error:e}){const[n,i]=_.useState(!1);return C.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[C.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[C.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),C.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>i(o=>!o),children:n?"Hide Error":"Show Error"})]}),C.jsx("div",{style:{height:".25rem"}}),n?C.jsx("div",{children:C.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:e.message?C.jsx("code",{children:e.message}):null})}):null]})}function Wb({children:e,fallback:n=null}){return dy()?C.jsx(ko.Fragment,{children:e}):C.jsx(ko.Fragment,{children:n})}function dy(){return ko.useSyncExternalStore(Ub,()=>!0,()=>!1)}function Ub(){return()=>{}}var fy=_.createContext(null);function It(e){return _.useContext(fy)}var za=_.createContext(void 0),Hb=_.createContext(void 0),De=(e=>(e[e.None=0]="None",e[e.Mutable=1]="Mutable",e[e.Watching=2]="Watching",e[e.RecursedCheck=4]="RecursedCheck",e[e.Recursed=8]="Recursed",e[e.Dirty=16]="Dirty",e[e.Pending=32]="Pending",e))(De||{});function $b({update:e,notify:n,unwatched:i}){return{link:o,unlink:a,propagate:c,checkDirty:u,shallowPropagate:h};function o(p,g,y){const v=g.depsTail;if(v!==void 0&&v.dep===p)return;const w=v!==void 0?v.nextDep:g.deps;if(w!==void 0&&w.dep===p){w.version=y,g.depsTail=w;return}const b=p.subsTail;if(b!==void 0&&b.version===y&&b.sub===g)return;const S=g.depsTail=p.subsTail={version:y,dep:p,sub:g,prevDep:v,nextDep:w,prevSub:b,nextSub:void 0};w!==void 0&&(w.prevDep=S),v!==void 0?v.nextDep=S:g.deps=S,b!==void 0?b.nextSub=S:p.subs=S}function a(p,g=p.sub){const y=p.dep,v=p.prevDep,w=p.nextDep,b=p.nextSub,S=p.prevSub;return w!==void 0?w.prevDep=v:g.depsTail=v,v!==void 0?v.nextDep=w:g.deps=w,b!==void 0?b.prevSub=S:y.subsTail=S,S!==void 0?S.nextSub=b:(y.subs=b)===void 0&&i(y),w}function c(p){let g=p.nextSub,y;e:do{const v=p.sub;let w=v.flags;if(w&60?w&12?w&4?!(w&48)&&f(p,v)?(v.flags=w|40,w&=1):w=0:v.flags=w&-9|32:w=0:v.flags=w|32,w&2&&n(v),w&1){const b=v.subs;if(b!==void 0){const S=(p=b).nextSub;S!==void 0&&(y={value:g,prev:y},g=S);continue}}if((p=g)!==void 0){g=p.nextSub;continue}for(;y!==void 0;)if(p=y.value,y=y.prev,p!==void 0){g=p.nextSub;continue e}break}while(!0)}function u(p,g){let y,v=0,w=!1;e:do{const b=p.dep,S=b.flags;if(g.flags&16)w=!0;else if((S&17)===17){if(e(b)){const k=b.subs;k.nextSub!==void 0&&h(k),w=!0}}else if((S&33)===33){(p.nextSub!==void 0||p.prevSub!==void 0)&&(y={value:p,prev:y}),p=b.deps,g=b,++v;continue}if(!w){const k=p.nextDep;if(k!==void 0){p=k;continue}}for(;v--;){const k=g.subs,T=k.nextSub!==void 0;if(T?(p=y.value,y=y.prev):p=k,w){if(e(g)){T&&h(k),g=p.sub;continue}w=!1}else g.flags&=-33;g=p.sub;const A=p.nextDep;if(A!==void 0){p=A;continue e}}return w}while(!0)}function h(p){do{const g=p.sub,y=g.flags;(y&48)===32&&(g.flags=y|16,(y&6)===2&&n(g))}while((p=p.nextSub)!==void 0)}function f(p,g){let y=g.depsTail;for(;y!==void 0;){if(y===p)return!0;y=y.prevDep}return!1}}function rh(e,n,i){const o=typeof e=="object",a=o?e:void 0;return{next:(o?e.next:e)?.bind(a),error:(o?e.error:n)?.bind(a),complete:(o?e.complete:i)?.bind(a)}}const xu=[];let ua=0;const{link:nm,unlink:qb,propagate:Kb,checkDirty:py,shallowPropagate:rm}=$b({update(e){return e._update()},notify(e){xu[bu++]=e,e.flags&=~De.Watching},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=De.Mutable|De.Dirty,Ea(e))}});let Zs=0,bu=0,on,Su=0;function my(e){try{++Su,e()}finally{--Su||gy()}}function Ea(e){const n=e.depsTail;let i=n!==void 0?n.nextDep:e.deps;for(;i!==void 0;)i=qb(i,e)}function gy(){if(!(Su>0)){for(;Zs<bu;){const e=xu[Zs];xu[Zs++]=void 0,e.notify()}Zs=0,bu=0}}function yy(e,n){const i=typeof e=="function",o=e,a={_snapshot:i?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:i?De.None:De.Mutable,get(){return on!==void 0&&nm(a,on,ua),a._snapshot},subscribe(c){const u=rh(c),h={current:!1},f=Gb(()=>{a.get(),h.current?u.next?.(a._snapshot):h.current=!0});return{unsubscribe:()=>{f.stop()}}},_update(c){const u=on,h=Object.is;if(i)on=a,++ua,a.depsTail=void 0;else if(c===void 0)return!1;i&&(a.flags=De.Mutable|De.RecursedCheck);try{const f=a._snapshot,p=typeof c=="function"?c(f):c===void 0&&i?o(f):c;return f===void 0||!h(f,p)?(a._snapshot=p,!0):!1}finally{on=u,i&&(a.flags&=~De.RecursedCheck),Ea(a)}}};return i?(a.flags=De.Mutable|De.Dirty,a.get=function(){const c=a.flags;
9if(c&De.Dirty||c&De.Pending&&py(a.deps,a)){if(a._update()){const u=a.subs;u!==void 0&&rm(u)}}else c&De.Pending&&(a.flags=c&~De.Pending);return on!==void 0&&nm(a,on,ua),a._snapshot}):a.set=function(c){if(a._update(c)){const u=a.subs;u!==void 0&&(Kb(u),rm(u),gy())}},a}function Gb(e){const n=()=>{const o=on;on=i,++ua,i.depsTail=void 0,i.flags=De.Watching|De.RecursedCheck;try{return e()}finally{on=o,i.flags&=~De.RecursedCheck,Ea(i)}},i={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:De.Watching|De.RecursedCheck,notify(){const o=this.flags;o&De.Dirty||o&De.Pending&&py(this.deps,this)?n():this.flags=De.Watching},stop(){this.flags=De.None,this.depsTail=void 0,Ea(this)}};return n(),i}class Qb{constructor(n){this.atom=yy(n)}setState(n){this.atom.set(n)}get state(){return this.atom.get()}get(){return this.state}subscribe(n){return this.atom.subscribe(rh(n))}}class Yb{constructor(n){this.atom=yy(n)}get state(){return this.atom.get()}get(){return this.state}subscribe(n){return this.atom.subscribe(rh(n))}}function im(e){return typeof e=="function"?new Yb(e):new Qb(e)}var Qc={exports:{}},Yc={},Xc={exports:{}},Jc={};var om;function Xb(){if(om)return Jc;om=1;var e=jo();function n(y,v){return y===v&&(y!==0||1/y===1/v)||y!==y&&v!==v}var i=typeof Object.is=="function"?Object.is:n,o=e.useState,a=e.useEffect,c=e.useLayoutEffect,u=e.useDebugValue;function h(y,v){var w=v(),b=o({inst:{value:w,getSnapshot:v}}),S=b[0].inst,k=b[1];return c(function(){S.value=w,S.getSnapshot=v,f(S)&&k({inst:S})},[y,w,v]),a(function(){return f(S)&&k({inst:S}),y(function(){f(S)&&k({inst:S})})},[y]),u(w),w}function f(y){var v=y.getSnapshot;y=y.value;try{var w=v();return!i(y,w)}catch{return!0}}function p(y,v){return v()}var g=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:h;return Jc.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:g,Jc}var sm;function Jb(){return sm||(sm=1,Xc.exports=Xb()),Xc.exports}var am;function Zb(){if(am)return Yc;am=1;var e=jo(),n=Jb();function i(p,g){return p===g&&(p!==0||1/p===1/g)||p!==p&&g!==g}var o=typeof Object.is=="function"?Object.is:i,a=n.useSyncExternalStore,c=e.useRef,u=e.useEffect,h=e.useMemo,f=e.useDebugValue;return Yc.useSyncExternalStoreWithSelector=function(p,g,y,v,w){var b=c(null);if(b.current===null){var S={hasValue:!1,value:null};b.current=S}else S=b.current;b=h(function(){function T(V){if(!A){if(A=!0,R=V,V=v(V),w!==void 0&&S.hasValue){var W=S.value;if(w(W,V))return L=W}return L=V}if(W=L,o(R,V))return W;var N=v(V);return w!==void 0&&w(W,N)?(R=V,W):(R=V,L=N)}var A=!1,R,L,F=y===void 0?null:y;return[function(){return T(g())},F===null?void 0:function(){return T(F())}]},[g,y,v,w]);var k=a(p,b[0],b[1]);return u(function(){S.hasValue=!0,S.value=k},[k]),f(k),k},Yc}var lm;function eS(){return lm||(lm=1,Qc.exports=Zb()),Qc.exports}var tS=eS();function nS(e,n){return e===n}function St(e,n,i=nS){const o=_.useCallback(u=>{if(!e)return()=>{};const{unsubscribe:h}=e.subscribe(u);return h},[e]),a=_.useCallback(()=>e?.get(),[e]);return tS.useSyncExternalStoreWithSelector(o,a,a,n,i)}var rS={state:void 0,get:()=>{},subscribe:()=>()=>{}};function _r(e){const n=It(),i=_.useContext(e.from?Hb:za),o=e.from??i,a=o?e.from?n.stores.getMatchStoreByRouteId(o):n.stores.activeMatchStoresById.get(o):void 0,c=_.useRef(void 0);return St(a??rS,u=>{if((e.shouldThrow??!0)&&!u&&Sn(),u===void 0)return;const h=e.select?e.select(u):u;if(e.structuralSharing??n.options.defaultStructuralSharing){const f=qn(c.current,h);return c.current=f,f}return h})}function vy(e){return _r({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:n=>e.select?e.select(n.loaderData):n.loaderData})}function wy(e){const{select:n,...i}=e;return _r({...i,select:o=>n?n(o.loaderDeps):o.loaderDeps})}function xy(e){return _r({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:n=>{const i=e.strict===!1?n.params:n._strictParams;return e.select?e.select(i):i}})}function by(e){return _r({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:n=>e.select?e.select(n.search):n.search})}
9function Sy(e){const n=It();return _.useCallback(i=>n.navigate({...i,from:i.from??e?.from}),[e?.from,n])}function ky(e){return _r({...e,select:n=>e.select?e.select(n.context):n.context})}var iS=Zg();function oS(e,n){const i=It(),o=Vx(n),{activeProps:a,inactiveProps:c,activeOptions:u,to:h,preload:f,preloadDelay:p,hashScrollIntoView:g,replace:y,startTransition:v,resetScroll:w,viewTransition:b,children:S,target:k,disabled:T,style:A,className:R,onClick:L,onBlur:F,onFocus:V,onMouseEnter:W,onMouseLeave:N,onTouchStart:j,ignoreBlocker:z,params:$,search:U,hash:Q,state:ae,mask:fe,reloadDocument:pe,unsafeRelative:me,from:K,_fromLocation:ee,...Z}=e,M=dy(),H=_.useMemo(()=>e,[i,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),he=St(i.stores.location,Pe=>Pe,(Pe,et)=>Pe.href===et.href),le=_.useMemo(()=>{const Pe={_fromLocation:he,...H};return i.buildLocation(Pe)},[i,he,H]),ye=le.maskedLocation?le.maskedLocation.publicHref:le.publicHref,ve=le.maskedLocation?le.maskedLocation.external:le.external,be=_.useMemo(()=>hS(ye,ve,i.history,T),[T,ve,ye,i.history]),we=_.useMemo(()=>{if(be?.external)return ba(be.href,i.protocolAllowlist)?void 0:be.href;if(!dS(h)&&!(typeof h!="string"||h.indexOf(":")===-1))try{return new URL(h),ba(h,i.protocolAllowlist)?void 0:h}catch{}},[h,be,i.protocolAllowlist]),Ee=_.useMemo(()=>{if(we)return!1;if(u?.exact){if(!ib(he.pathname,le.pathname,i.basepath))return!1}else{const Pe=Sa(he.pathname,i.basepath),et=Sa(le.pathname,i.basepath);if(!(Pe.startsWith(et)&&(Pe.length===et.length||Pe[et.length]==="/")))return!1}return(u?.includeSearch??!0)&&!Tr(he.search,le.search,{partial:!u?.exact,ignoreUndefined:!u?.explicitUndefined})?!1:u?.includeHash?M&&he.hash===le.hash:!0},[u?.exact,u?.explicitUndefined,u?.includeHash,u?.includeSearch,he,we,M,le.hash,le.pathname,le.search,i.basepath]),Qe=Ee?$n(a,{})??sS:Zc,dn=Ee?Zc:$n(c,{})??Zc,yi=[R,Qe.className,dn.className].filter(Boolean).join(" "),nr=(A||Qe.style||dn.style)&&{...A,...Qe.style,...dn.style},[vi,wi]=_.useState(!1),xi=_.useRef(!1),Yt=e.reloadDocument||we?!1:f??i.options.defaultPreload,Ar=p??i.options.defaultPreloadDelay??0,Bt=_.useCallback(()=>{i.preloadRoute({...H,_builtLocation:le}).catch(Pe=>{console.warn(Pe),console.warn(Bb)})},[i,H,le]);Bx(o,_.useCallback(Pe=>{Pe?.isIntersecting&&Bt()},[Bt]),uS,{disabled:!!T||Yt!=="viewport"}),_.useEffect(()=>{xi.current||!T&&Yt==="render"&&(Bt(),xi.current=!0)},[T,Bt,Yt]);const rr=Pe=>{const et=Pe.currentTarget.getAttribute("target"),Xt=k!==void 0?k:et;if(!T&&!fS(Pe)&&!Pe.defaultPrevented&&(!Xt||Xt==="_self")&&Pe.button===0){Pe.preventDefault(),iS.flushSync(()=>{wi(!0)});const ki=i.subscribe("onResolved",()=>{ki(),wi(!1)});i.navigate({...H,replace:y,resetScroll:w,hashScrollIntoView:g,startTransition:v,viewTransition:b,ignoreBlocker:z})}};if(we)return{...Z,ref:o,href:we,...S&&{children:S},...k&&{target:k},...T&&{disabled:T},...A&&{style:A},...R&&{className:R},...L&&{onClick:L},...F&&{onBlur:F},...V&&{onFocus:V},...W&&{onMouseEnter:W},...N&&{onMouseLeave:N},...j&&{onTouchStart:j}};const fn=Pe=>{if(T||Yt!=="intent")return;if(!Ar){Bt();return}const et=Pe.currentTarget;if(po.has(et))return;const Xt=setTimeout(()=>{po.delete(et),Bt()},Ar);po.set(et,Xt)},bi=Pe=>{T||Yt!=="intent"||Bt()},Si=Pe=>{if(T||!Yt||!Ar)return;const et=Pe.currentTarget,Xt=po.get(et);Xt&&(clearTimeout(Xt),po.delete(et))};return{...Z,...Qe,...dn,href:be?.href,ref:o,onClick:ti([L,rr]),onBlur:ti([F,Si]),onFocus:ti([V,fn]),onMouseEnter:ti([W,fn]),onMouseLeave:ti([N,Si]),onTouchStart:ti([j,bi]),disabled:!!T,target:k,...nr&&{style:nr},...yi&&{className:yi},...T&&aS,...Ee&&lS,...M&&vi&&cS}}var Zc={},sS={className:"active"},aS={role:"link","aria-disabled":!0},lS={"data-status":"active","aria-current":"page"},cS={"data-transitioning":"transitioning"},po=new WeakMap,uS={rootMargin:"100px"},ti=e=>n=>{for(const i of e)if(i){if(n.defaultPrevented)return;i(n)}};function hS(e,n,i,o){if(!o)return n?{href:e,external:!0}:{href:i.createHref(e)||"/",external:!1}}function dS(e){if(typeof e!="string")return!1;const n=e.charCodeAt(0);return n===47?e.charCodeAt(1)!==47:n===46}
9var hn=_.forwardRef((e,n)=>{const{_asChild:i,...o}=e,{type:a,...c}=oS(o,n),u=typeof o.children=="function"?o.children({isActive:c["data-status"]==="active"}):o.children;if(!i){const{disabled:h,...f}=c;return _.createElement("a",f,u)}return _.createElement(i,c,u)});function fS(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var pS=class extends hy{constructor(n){super(n),this.useMatch=i=>_r({select:i?.select,from:this.id,structuralSharing:i?.structuralSharing}),this.useRouteContext=i=>ky({...i,from:this.id}),this.useSearch=i=>by({select:i?.select,structuralSharing:i?.structuralSharing,from:this.id}),this.useParams=i=>xy({select:i?.select,structuralSharing:i?.structuralSharing,from:this.id}),this.useLoaderDeps=i=>wy({...i,from:this.id}),this.useLoaderData=i=>vy({...i,from:this.id}),this.useNavigate=()=>Sy({from:this.fullPath}),this.Link=ko.forwardRef((i,o)=>C.jsx(hn,{ref:o,from:this.fullPath,...i}))}};function mS(e){return new pS(e)}var gS=class extends Vb{constructor(e){super(e),this.useMatch=n=>_r({select:n?.select,from:this.id,structuralSharing:n?.structuralSharing}),this.useRouteContext=n=>ky({...n,from:this.id}),this.useSearch=n=>by({select:n?.select,structuralSharing:n?.structuralSharing,from:this.id}),this.useParams=n=>xy({select:n?.select,structuralSharing:n?.structuralSharing,from:this.id}),this.useLoaderDeps=n=>wy({...n,from:this.id}),this.useLoaderData=n=>vy({...n,from:this.id}),this.useNavigate=()=>Sy({from:this.fullPath}),this.Link=ko.forwardRef((n,i)=>C.jsx(hn,{ref:i,from:this.fullPath,...n}))}};function yS(e){return new gS(e)}function Ge(e){return typeof e=="object"?new cm(e,{silent:!0}).createRoute(e):new cm(e,{silent:!0}).createRoute}var cm=class{constructor(e,n){this.path=e,this.createRoute=i=>{const o=mS(i);return o.isRoot=!1,o},this.silent=n?.silent}};function Ze(e,n){let i,o,a,c;const u=()=>(i||(i=e().then(f=>{i=void 0,o=f[n]}).catch(f=>{if(a=f,Ux(a)&&a instanceof Error&&typeof window<"u"&&typeof sessionStorage<"u"){const p=`tanstack_router_reload:${a.message}`;sessionStorage.getItem(p)||(sessionStorage.setItem(p,"1"),c=!0)}})),i),h=function(p){if(c)throw window.location.reload(),new Promise(()=>{});if(a)throw a;if(!o)if(jp)jp(u());else throw u();return _.createElement(o,p)};return h.preload=u,h}function vS(e){const n=It(),i=`not-found-${St(n.stores.location,o=>o.pathname)}-${St(n.stores.status,o=>o)}`;return C.jsx(th,{getResetKey:()=>i,onCatch:(o,a)=>{if(pt(o))e.onCatch?.(o,a);else throw o},errorComponent:({error:o})=>{if(pt(o))return e.fallback?.(o);throw o},children:e.children})}function wS(){return C.jsx("p",{children:"Not Found"})}function ni(e){return C.jsx(C.Fragment,{children:e.children})}function Ty(e,n,i){return n.options.notFoundComponent?C.jsx(n.options.notFoundComponent,{...i}):e.options.defaultNotFoundComponent?C.jsx(e.options.defaultNotFoundComponent,{...i}):C.jsx(wS,{})}function xS(e){return null}function bS(){return xS(It()),null}var Ey=_.memo(function({matchId:n}){const i=It(),o=i.stores.activeMatchStoresById.get(n);o||Sn();const a=St(i.stores.loadedAt,u=>u),c=St(o,u=>u);return C.jsx(SS,{router:i,matchId:n,resetKey:a,matchState:_.useMemo(()=>{const u=c.routeId,h=i.routesById[u].parentRoute?.id;return{routeId:u,ssr:c.ssr,_displayPending:c._displayPending,parentRouteId:h}},[c._displayPending,c.routeId,c.ssr,i.routesById])})});function SS({router:e,matchId:n,resetKey:i,matchState:o}){const a=e.routesById[o.routeId],c=a.options.pendingComponent??e.options.defaultPendingComponent,u=c?C.jsx(c,{}):null,h=a.options.errorComponent??e.options.defaultErrorComponent,f=a.options.onCatch??e.options.defaultOnCatch,p=a.isRoot?a.options.notFoundComponent??e.options.notFoundRoute?.options.component:a.options.notFoundComponent,g=o.ssr===!1||o.ssr==="data-only",y=(!a.isRoot||a.options.wrapInSuspense||g)&&(a.options.wrapInSuspense??c??(a.options.errorComponent?.preload||g))?_.Suspense:ni,v=h?th:ni,w=p?vS:ni;return C.jsxs(a.isRoot?a.options.shellComponent??ni:ni,{children:[C.jsx(za.Provider,{value:n,children:C.jsx(y,{fallback:u,children:C.jsx(v,{getResetKey:()=>i,errorComponent:h||nh,onCatch:(b,S)=>{if(pt(b))throw b;f?.(b,S)},children:C.jsx(w,{fallback:b=>
9{if(!p||b.routeId&&b.routeId!==o.routeId||!b.routeId&&!a.isRoot)throw b;return _.createElement(p,b)},children:g||o._displayPending?C.jsx(Wb,{fallback:u,children:C.jsx(um,{matchId:n})}):C.jsx(um,{matchId:n})})})})}),o.parentRouteId===Er?C.jsxs(C.Fragment,{children:[C.jsx(kS,{resetKey:i}),e.options.scrollRestoration&&ey?C.jsx(bS,{}):null]}):null]})}function kS({resetKey:e}){const n=It(),i=_.useRef(void 0);return go(()=>{const o=n.latestLocation.href;(i.current===void 0||i.current!==o)&&(n.emit({type:"onRendered",...li(n.stores.location.state,n.stores.resolvedLocation.state)}),i.current=o)},[n.latestLocation.state.__TSR_key,e,n]),null}var um=_.memo(function({matchId:n}){const i=It(),o=i.stores.activeMatchStoresById.get(n);o||Sn();const a=St(o,p=>p),c=a.routeId,u=i.routesById[c],h=_.useMemo(()=>{const p=(i.routesById[c].options.remountDeps??i.options.defaultRemountDeps)?.({routeId:c,loaderDeps:a.loaderDeps,params:a._strictParams,search:a._strictSearch});return p?JSON.stringify(p):void 0},[c,a.loaderDeps,a._strictParams,a._strictSearch,i.options.defaultRemountDeps,i.routesById]),f=_.useMemo(()=>{const p=u.options.component??i.options.defaultComponent;return p?C.jsx(p,{},h):C.jsx(Py,{})},[h,u.options.component,i.options.defaultComponent]);if(a._displayPending)throw i.getMatch(a.id)?._nonReactive.displayPendingPromise;if(a._forcePending)throw i.getMatch(a.id)?._nonReactive.minPendingPromise;if(a.status==="pending"){const p=u.options.pendingMinMs??i.options.defaultPendingMinMs;if(p){const g=i.getMatch(a.id);if(g&&!g._nonReactive.minPendingPromise){const y=ui();g._nonReactive.minPendingPromise=y,setTimeout(()=>{y.resolve(),g._nonReactive.minPendingPromise=void 0},p)}}throw i.getMatch(a.id)?._nonReactive.loadPromise}if(a.status==="notFound")return pt(a.error)||Sn(),Ty(i,u,a.error);if(a.status==="redirected")throw bt(a.error)||Sn(),i.getMatch(a.id)?._nonReactive.loadPromise;if(a.status==="error")throw a.error;return f}),Py=_.memo(function(){const n=It(),i=_.useContext(za);let o,a=!1,c;{const p=i?n.stores.activeMatchStoresById.get(i):void 0;[o,a]=St(p,g=>[g?.routeId,g?.globalNotFound??!1]),c=St(n.stores.matchesId,g=>g[g.findIndex(y=>y===i)+1])}const u=o?n.routesById[o]:void 0,h=n.options.defaultPendingComponent?C.jsx(n.options.defaultPendingComponent,{}):null;if(a)return u||Sn(),Ty(n,u,void 0);if(!c)return null;const f=C.jsx(Ey,{matchId:c});return o===Er?C.jsx(_.Suspense,{fallback:h,children:f}):f});function TS(){const e=It(),n=_.useRef({router:e,mounted:!1}),[i,o]=_.useState(!1),a=St(e.stores.isLoading,y=>y),c=St(e.stores.hasPendingMatches,y=>y),u=zc(a),h=a||i||c,f=zc(h),p=a||c,g=zc(p);return e.startTransition=y=>{o(!0),_.startTransition(()=>{y(),o(!1)})},_.useEffect(()=>{const y=e.history.subscribe(e.load),v=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return Qn(e.latestLocation.publicHref)!==Qn(v.publicHref)&&e.commitLocation({...v,replace:!0}),()=>{y()}},[e,e.history]),go(()=>{if(typeof window<"u"&&e.ssr||n.current.router===e&&n.current.mounted)return;n.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(v){console.error(v)}})()},[e]),go(()=>{u&&!a&&e.emit({type:"onLoad",...li(e.stores.location.state,e.stores.resolvedLocation.state)})},[u,e,a]),go(()=>{g&&!p&&e.emit({type:"onBeforeRouteMount",...li(e.stores.location.state,e.stores.resolvedLocation.state)})},[p,g,e]),go(()=>{if(f&&!h){const y=li(e.stores.location.state,e.stores.resolvedLocation.state);e.emit({type:"onResolved",...y}),my(()=>{e.stores.status.setState(()=>"idle"),e.stores.resolvedLocation.setState(()=>e.stores.location.state)}),y.hrefChanged&&Nb(e)}},[h,f,e]),null}function ES(){const e=It(),n=e.routesById[Er].options.pendingComponent??e.options.defaultPendingComponent,i=n?C.jsx(n,{}):null,o=C.jsxs(typeof document<"u"&&e.ssr?ni:_.Suspense,{fallback:i,children:[C.jsx(TS,{}),C.jsx(PS,{})]});return e.options.InnerWrap?C.jsx(e.options.InnerWrap,{children:o}):o}function PS(){const e=It(),n=St(e.stores.firstMatchId,a=>a),i=St(e.stores.loadedAt,a=>a),o=n?C.jsx(Ey,{matchId:n}):null;return C.jsx(za.Provider,{value:n,children:e.options.disableGlobalCatchBoundary?o:C.jsx(th,{getResetKey:()=>i,errorComponent:nh,onCatch:void 0,children:o})})}var CS=e=>({createMutableStore:im,createReadonlyStore:im,batch:my}),IS=e=>new _S(e),_S=class extends Rb{constructor(e){super(e,CS)}};function AS({router:e,children:n,...i}){Object.keys(i).length>0&&e.update({...e.options,...i,context:{...e.options.context,...i.context}});const o=C.jsx(fy.Provider,{value:e,children:n});return e.options.Wrap?C.jsx(e.options.Wrap,{children:o}):o}function RS({router:e,...n}){return C.jsx(AS,{router:e,...n,children:C.jsx(ES,{})})}
vendor: 22,899 bytes, line 9
9function MS(e){const n=It(),i=_.useRef(void 0);return St(n.stores.location,o=>{const a=o;if(n.options.defaultStructuralSharing){const c=qn(i.current,a);return i.current=c,c}return a})}var Wa=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},LS=class extends Wa{#e;#n;#t;constructor(){super(),this.#t=e=>{if(typeof window<"u"&&window.addEventListener){const n=()=>e();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}}}onSubscribe(){this.#n||this.setEventListener(this.#t)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(e){this.#t=e,this.#n?.(),this.#n=e(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(n=>{n(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},Cy=new LS,DS={setTimeout:(e,n)=>setTimeout(e,n),clearTimeout:e=>clearTimeout(e),setInterval:(e,n)=>setInterval(e,n),clearInterval:e=>clearInterval(e)},OS=class{#e=DS;#n=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,n){return this.#e.setTimeout(e,n)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,n){return this.#e.setInterval(e,n)}clearInterval(e){this.#e.clearInterval(e)}},ku=new OS;function FS(e){setTimeout(e,0)}var jS=typeof window>"u"||"Deno"in globalThis;function Gt(){}function BS(e,n){return typeof e=="function"?e(n):e}function VS(e){return typeof e=="number"&&e>=0&&e!==1/0}function NS(e,n){return Math.max(e+(n||0)-Date.now(),0)}function Tu(e,n){return typeof e=="function"?e(n):e}function zS(e,n){return typeof e=="function"?e(n):e}function hm(e,n){const{type:i="all",exact:o,fetchStatus:a,predicate:c,queryKey:u,stale:h}=e;if(u){if(o){if(n.queryHash!==ih(u,n.options))return!1}else if(!_o(n.queryKey,u))return!1}if(i!=="all"){const f=n.isActive();if(i==="active"&&!f||i==="inactive"&&f)return!1}return!(typeof h=="boolean"&&n.isStale()!==h||a&&a!==n.state.fetchStatus||c&&!c(n))}function dm(e,n){const{exact:i,status:o,predicate:a,mutationKey:c}=e;if(c){if(!n.options.mutationKey)return!1;if(i){if(Io(n.options.mutationKey)!==Io(c))return!1}else if(!_o(n.options.mutationKey,c))return!1}return!(o&&n.state.status!==o||a&&!a(n))}function ih(e,n){return(n?.queryKeyHashFn||Io)(e)}function Io(e){return JSON.stringify(e,(n,i)=>Eu(i)?Object.keys(i).sort().reduce((o,a)=>(o[a]=i[a],o),{}):i)}function _o(e,n){return e===n?!0:typeof e!=typeof n?!1:e&&n&&typeof e=="object"&&typeof n=="object"?Object.keys(n).every(i=>_o(e[i],n[i])):!1}var WS=Object.prototype.hasOwnProperty;function Iy(e,n,i=0){if(e===n)return e;if(i>500)return n;const o=fm(e)&&fm(n);if(!o&&!(Eu(e)&&Eu(n)))return n;const c=(o?e:Object.keys(e)).length,u=o?n:Object.keys(n),h=u.length,f=o?new Array(h):{};let p=0;for(let g=0;g<h;g++){const y=o?g:u[g],v=e[y],w=n[y];if(v===w){f[y]=v,(o?g<c:WS.call(e,y))&&p++;continue}if(v===null||w===null||typeof v!="object"||typeof w!="object"){f[y]=w;continue}const b=Iy(v,w,i+1);f[y]=b,b===v&&p++}return c===h&&p===c?e:f}function fm(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Eu(e){if(!pm(e))return!1;const n=e.constructor;if(n===void 0)return!0;const i=n.prototype;return!(!pm(i)||!i.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function pm(e){return Object.prototype.toString.call(e)==="[object Object]"}function US(e){return new Promise(n=>{ku.setTimeout(n,e)})}function HS(e,n,i){return typeof i.structuralSharing=="function"?i.structuralSharing(e,n):i.structuralSharing!==!1?Iy(e,n):n}function $S(e,n,i=0){const o=[...e,n];return i&&o.length>i?o.slice(1):o}function qS(e,n,i=0){const o=[n,...e];return i&&o.length>i?o.slice(0,-1):o}var oh=Symbol();function _y(e,n){return!e.queryFn&&n?.initialPromise?()=>n.initialPromise:!e.queryFn||e.queryFn===oh?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function KS(e,n,i){let o=!1,a;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(a??=n(),o||(o=!0,a.aborted?i():a.addEventListener("abort",i,{once:!0})),a)}),e}var Ay=(()=>{let e=()=>jS;return{isServer(){return e()},setIsServer(n){e=n}}})();function GS(){let e,n;const i=new Promise((a,c)=>{e=a,n=c});i.status="pending",i.catch(()=>{});function o(a){Object.assign(i,a),delete i.resolve,delete i.reject}return i.resolve=a=>{o({status:"fulfilled",value:a}),e(a)},i.reject=a=>{o({status:"rejected",reason:a}),n(a)},i}var QS=FS;function YS(){let e=[],n=0,i=h=>{h()},o=h=>{h()},a=QS;const c=h=>{n?e.push(h):a(()=>{i(h)})},u=()=>{const h=e;e=[],h.length&&a(()=>{o(()=>{h.forEach(f=>{i(f)})})})};return{batch:h=>{let f;n++;try{f=h()}finally{n--,n||u()}return f},batchCalls:h=>(...f)=>{c(()=>{h(...f)})},schedule:c,setNotifyFunction:h=>{i=h},setBatchNotifyFunction:h=>{o=h},setScheduler:h=>{a=h}}}var ht=YS(),XS=class extends Wa{#e=!0;#n;#t;constructor(){super(),this.#t=e=>{if(typeof window<"u"&&window.addEventListener){const n=()=>e(!0),i=()=>e(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",i)}}}}onSubscribe(){this.#n||this.setEventListener(this.#t)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(e){this.#t=e,this.#n?.(),this.#n=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(i=>{i(e)}))}isOnline(){return this.#e}},Pa=new XS;function JS(e){return Math.min(1e3*2**e,3e4)}function Ry(e){return(e??"online")==="online"?Pa.isOnline():!0}var Pu=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function My(e){let n=!1,i=0,o;const a=GS(),c=()=>a.status!=="pending",u=S=>{if(!c()){const k=new Pu(S);v(k),e.onCancel?.(k)}},h=()=>{n=!0},f=()=>{n=!1},p=()=>Cy.isFocused()&&(e.networkMode==="always"||Pa.isOnline())&&e.canRun(),g=()=>Ry(e.networkMode)&&e.canRun(),y=S=>{c()||(o?.(),a.resolve(S))},v=S=>{c()||(o?.(),a.reject(S))},w=()=>new Promise(S=>{o=k=>{(c()||p())&&S(k)},e.onPause?.()}).then(()=>{o=void 0,c()||e.onContinue?.()}),b=()=>{if(c())return;let S;const k=i===0?e.initialPromise:void 0;try{S=k??e.fn()}catch(T){S=Promise.reject(T)}Promise.resolve(S).then(y).catch(T=>{if(c())return;const A=e.retry??(Ay.isServer()?0:3),R=e.retryDelay??JS,L=typeof R=="function"?R(i,T):R,F=A===!0||typeof A=="number"&&i<A||typeof A=="function"&&A(i,T);if(n||!F){v(T);return}i++,e.onFail?.(i,T),US(L).then(()=>p()?void 0:w()).then(()=>{n?v(T):b()})})};return{promise:a,status:()=>a.status,cancel:u,continue:()=>(o?.(),a),cancelRetry:h,continueRetry:f,canStart:g,start:()=>(g()?b():w().then(b),a)}}var Ly=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),VS(this.gcTime)&&(this.#e=ku.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ay.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e&&(ku.clearTimeout(this.#e),this.#e=void 0)}},ZS=class extends Ly{#e;#n;#t;#i;#r;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#t=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=gm(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(e){if(this.options={...this.#o,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=gm(this.options);n.data!==void 0&&(this.setState(mm(n.data,n.dataUpdatedAt)),this.#e=n)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#t.remove(this)}setData(e,n){const i=HS(this.state.data,e,this.options);return this.#a({data:i,type:"success",dataUpdatedAt:n?.updatedAt,manual:n?.manual}),i}setState(e,n){this.#a({type:"setState",state:e,setStateOptions:n})}cancel(e){const n=this.#r?.promise;return this.#r?.cancel(e),n?n.then(Gt).catch(Gt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#e}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>zS(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===oh||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Tu(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!NS(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(n=>n.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(n=>n.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(n=>n!==e),this.observers.length||(this.#r&&(this.#s||this.#l()?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#t.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#l(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#a({type:"invalidate"})}async fetch(e,n){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&n?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(e&&this.setOptions(e),!this.options.queryFn){const h=this.observers.find(f=>f.options.queryFn);h&&this.setOptions(h.options)}const i=new AbortController,o=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(this.#s=!0,i.signal)})},a=()=>{const h=_y(this.options,n),p=(()=>{const g={client:this.#i,queryKey:this.queryKey,meta:this.meta};return o(g),g})();return this.#s=!1,this.options.persister?this.options.persister(h,p,this):h(p)},u=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:a};return o(h),h})();this.options.behavior?.onFetch(u,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==u.fetchOptions?.meta)&&this.#a({type:"fetch",meta:u.fetchOptions?.meta}),this.#r=My({initialPromise:n?.initialPromise,fn:u.fetchFn,onCancel:h=>{h instanceof Pu&&h.revert&&this.setState({...this.#n,fetchStatus:"idle"}),i.abort()},onFail:(h,f)=>{this.#a({type:"failed",failureCount:h,error:f})},onPause:()=>{this.#a({type:"pause"})},onContinue:()=>{this.#a({type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0});try{const h=await this.#r.start();if(h===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(h),this.#t.config.onSuccess?.(h,this),this.#t.config.onSettled?.(h,this.state.error,this),h}catch(h){if(h instanceof Pu){if(h.silent)return this.#r.promise;if(h.revert){if(this.state.data===void 0)throw h;return this.state.data}}throw this.#a({type:"error",error:h}),this.#t.config.onError?.(h,this),this.#t.config.onSettled?.(this.state.data,h,this),h}finally{this.scheduleGc()}}#a(e){const n=i=>{switch(e.type){case"failed":return{...i,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...e1(i.data,this.options),fetchMeta:e.meta??null};case"success":const o={...i,...mm(e.data,e.dataUpdatedAt),dataUpdateCount:i.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?o:void 0,o;case"error":const a=e.error;return{...i,error:a,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...e.state}}};this.state=n(this.state),ht.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),this.#t.notify({query:this,type:"updated",action:e})})}};function e1(e,n){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Ry(n.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function mm(e,n){return{data:e,dataUpdatedAt:n??Date.now(),error:null,isInvalidated:!1,status:"success"}}function gm(e){const n=typeof e.initialData=="function"?e.initialData():e.initialData,i=n!==void 0,o=i?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:n,dataUpdateCount:0,dataUpdatedAt:i?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}function ym(e){return{onFetch:(n,i)=>{const o=n.options,a=n.fetchOptions?.meta?.fetchMore?.direction,c=n.state.data?.pages||[],u=n.state.data?.pageParams||[];let h={pages:[],pageParams:[]},f=0;const p=async()=>{let g=!1;const y=b=>{KS(b,()=>n.signal,()=>g=!0)},v=_y(n.options,n.fetchOptions),w=async(b,S,k)=>{if(g)return Promise.reject();if(S==null&&b.pages.length)return Promise.resolve(b);const A=(()=>{const V={client:n.client,queryKey:n.queryKey,pageParam:S,direction:k?"backward":"forward",meta:n.options.meta};return y(V),V})(),R=await v(A),{maxPages:L}=n.options,F=k?qS:$S;return{pages:F(b.pages,R,L),pageParams:F(b.pageParams,S,L)}};if(a&&c.length){const b=a==="backward",S=b?t1:vm,k={pages:c,pageParams:u},T=S(o,k);h=await w(k,T,b)}else{const b=e??c.length;do{const S=f===0?u[0]??o.initialPageParam:vm(o,h);if(f>0&&S==null)break;h=await w(h,S),f++}while(f<b)}return h};n.options.persister?n.fetchFn=()=>n.options.persister?.(p,{client:n.client,queryKey:n.queryKey,meta:n.options.meta,signal:n.signal},i):n.fetchFn=p}}}function vm(e,{pages:n,pageParams:i}){const o=n.length-1;return n.length>0?e.getNextPageParam(n[o],n,i[o],i):void 0}function t1(e,{pages:n,pageParams:i}){return n.length>0?e.getPreviousPageParam?.(n[0],n,i[0],i):void 0}var n1=class extends Ly{#e;#n;#t;#i;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#t=e.mutationCache,this.#n=[],this.state=e.state||r1(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#n.includes(e)||(this.#n.push(e),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#n=this.#n.filter(n=>n!==e),this.scheduleGc(),this.#t.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#n.length||(this.state.status==="pending"?this.scheduleGc():this.#t.remove(this))}continue(){return this.#i?.continue()??this.execute(this.state.variables)}async execute(e){const n=()=>{this.#r({type:"continue"})},i={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#i=My({fn:()=>this.options.mutationFn?this.options.mutationFn(e,i):Promise.reject(new Error("No mutationFn found")),onFail:(c,u)=>{this.#r({type:"failed",failureCount:c,error:u})},onPause:()=>{this.#r({type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#t.canRun(this)});const o=this.state.status==="pending",a=!this.#i.canStart();try{if(o)n();else{this.#r({type:"pending",variables:e,isPaused:a}),this.#t.config.onMutate&&await this.#t.config.onMutate(e,this,i);const u=await this.options.onMutate?.(e,i);u!==this.state.context&&this.#r({type:"pending",context:u,variables:e,isPaused:a})}const c=await this.#i.start();return await this.#t.config.onSuccess?.(c,e,this.state.context,this,i),await this.options.onSuccess?.(c,e,this.state.context,i),await this.#t.config.onSettled?.(c,null,this.state.variables,this.state.context,this,i),await this.options.onSettled?.(c,null,e,this.state.context,i),this.#r({type:"success",data:c}),c}catch(c){try{await this.#t.config.onError?.(c,e,this.state.context,this,i)}catch(u){Promise.reject(u)}try{await this.options.onError?.(c,e,this.state.context,i)}catch(u){Promise.reject(u)}try{await this.#t.config.onSettled?.(void 0,c,this.state.variables,this.state.context,this,i)}catch(u){Promise.reject(u)}try{await this.options.onSettled?.(void 0,c,e,this.state.context,i)}catch(u){Promise.reject(u)}throw this.#r({type:"error",error:c}),c}finally{this.#t.runNext(this)}}#r(e){const n=i=>{switch(e.type){case"failed":return{...i,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...i,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:e.error,failureCount:i.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=n(this.state),ht.batch(()=>{this.#n.forEach(i=>{i.onMutationUpdate(e)}),this.#t.notify({mutation:this,type:"updated",action:e})})}};function r1(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var i1=class extends Wa{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#n=new Map,this.#t=0}#e;#n;#t;build(e,n,i){const o=new n1({client:e,mutationCache:this,mutationId:++this.#t,options:e.defaultMutationOptions(n),state:i});return this.add(o),o}add(e){this.#e.add(e);const n=ea(e);if(typeof n=="string"){const i=this.#n.get(n);i?i.push(e):this.#n.set(n,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const n=ea(e);if(typeof n=="string"){const i=this.#n.get(n);if(i)if(i.length>1){const o=i.indexOf(e);o!==-1&&i.splice(o,1)}else i[0]===e&&this.#n.delete(n)}}this.notify({type:"removed",mutation:e})}canRun(e){const n=ea(e);if(typeof n=="string"){const o=this.#n.get(n)?.find(a=>a.state.status==="pending");return!o||o===e}else return!0}runNext(e){const n=ea(e);return typeof n=="string"?this.#n.get(n)?.find(o=>o!==e&&o.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){ht.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#n.clear()})}getAll(){return Array.from(this.#e)}find(e){const n={exact:!0,...e};return this.getAll().find(i=>dm(n,i))}findAll(e={}){return this.getAll().filter(n=>dm(e,n))}notify(e){ht.batch(()=>{this.listeners.forEach(n=>{n(e)})})}resumePausedMutations(){const e=this.getAll().filter(n=>n.state.isPaused);return ht.batch(()=>Promise.all(e.map(n=>n.continue().catch(Gt))))}};function ea(e){return e.options.scope?.id}var o1=class extends Wa{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,n,i){const o=n.queryKey,a=n.queryHash??ih(o,n);let c=this.get(a);return c||(c=new ZS({client:e,queryKey:o,queryHash:a,options:e.defaultQueryOptions(n),state:i,defaultOptions:e.getQueryDefaults(o)}),this.add(c)),c}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const n=this.#e.get(e.queryHash);n&&(e.destroy(),n===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){ht.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const n={exact:!0,...e};return this.getAll().find(i=>hm(n,i))}findAll(e={}){const n=this.getAll();return Object.keys(e).length>0?n.filter(i=>hm(e,i)):n}notify(e){ht.batch(()=>{this.listeners.forEach(n=>{n(e)})})}onFocus(){ht.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){ht.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},s1=class{#e;#n;#t;#i;#r;#o;#s;#l;constructor(e={}){this.#e=e.queryCache||new o1,this.#n=e.mutationCache||new i1,this.#t=e.defaultOptions||{},this.#i=new Map,this.#r=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#s=Cy.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#l=Pa.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#o--,this.#o===0&&(this.#s?.(),this.#s=void 0,this.#l?.(),this.#l=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#n.findAll({...e,status:"pending"}).length}getQueryData(e){const n=this.defaultQueryOptions({queryKey:e});return this.#e.get(n.queryHash)?.state.data}ensureQueryData(e){const n=this.defaultQueryOptions(e),i=this.#e.build(this,n),o=i.state.data;return o===void 0?this.fetchQuery(e):(e.revalidateIfStale&&i.isStaleByTime(Tu(n.staleTime,i))&&this.prefetchQuery(n),Promise.resolve(o))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:n,state:i})=>{const o=i.data;return[n,o]})}setQueryData(e,n,i){const o=this.defaultQueryOptions({queryKey:e}),c=this.#e.get(o.queryHash)?.state.data,u=BS(n,c);if(u!==void 0)return this.#e.build(this,o).setData(u,{...i,manual:!0})}setQueriesData(e,n,i){return ht.batch(()=>this.#e.findAll(e).map(({queryKey:o})=>[o,this.setQueryData(o,n,i)]))}getQueryState(e){const n=this.defaultQueryOptions({queryKey:e});return this.#e.get(n.queryHash)?.state}removeQueries(e){const n=this.#e;ht.batch(()=>{n.findAll(e).forEach(i=>{n.remove(i)})})}resetQueries(e,n){const i=this.#e;return ht.batch(()=>(i.findAll(e).forEach(o=>{o.reset()}),this.refetchQueries({type:"active",...e},n)))}cancelQueries(e,n={}){const i={revert:!0,...n},o=ht.batch(()=>this.#e.findAll(e).map(a=>a.cancel(i)));return Promise.all(o).then(Gt).catch(Gt)}invalidateQueries(e,n={}){return ht.batch(()=>(this.#e.findAll(e).forEach(i=>{i.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},n)))}refetchQueries(e,n={}){const i={...n,cancelRefetch:n.cancelRefetch??!0},o=ht.batch(()=>this.#e.findAll(e).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let c=a.fetch(void 0,i);return i.throwOnError||(c=c.catch(Gt)),a.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(o).then(Gt)}fetchQuery(e){const n=this.defaultQueryOptions(e);
9n.retry===void 0&&(n.retry=!1);const i=this.#e.build(this,n);return i.isStaleByTime(Tu(n.staleTime,i))?i.fetch(n):Promise.resolve(i.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Gt).catch(Gt)}fetchInfiniteQuery(e){return e.behavior=ym(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Gt).catch(Gt)}ensureInfiniteQueryData(e){return e.behavior=ym(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Pa.isOnline()?this.#n.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#n}getDefaultOptions(){return this.#t}setDefaultOptions(e){this.#t=e}setQueryDefaults(e,n){this.#i.set(Io(e),{queryKey:e,defaultOptions:n})}getQueryDefaults(e){const n=[...this.#i.values()],i={};return n.forEach(o=>{_o(e,o.queryKey)&&Object.assign(i,o.defaultOptions)}),i}setMutationDefaults(e,n){this.#r.set(Io(e),{mutationKey:e,defaultOptions:n})}getMutationDefaults(e){const n=[...this.#r.values()],i={};return n.forEach(o=>{_o(e,o.mutationKey)&&Object.assign(i,o.defaultOptions)}),i}defaultQueryOptions(e){if(e._defaulted)return e;const n={...this.#t.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return n.queryHash||(n.queryHash=ih(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.queryFn===oh&&(n.enabled=!1),n}defaultMutationOptions(e){return e?._defaulted?e:{...this.#t.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#n.clear()}},a1=_.createContext(void 0),l1=({client:e,children:n})=>(_.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),C.jsx(a1.Provider,{value:e,children:n}));const c1=new s1({defaultOptions:{queries:{staleTime:1e3*60*5,refetchOnWindowFocus:!1}}});function u1({children:e}){return C.jsx(l1,{client:c1,children:e})}var h1=(e,n,i,o,a,c,u,h)=>{let f=document.documentElement,p=["light","dark"];function g(w){(Array.isArray(e)?e:[e]).forEach(b=>{let S=b==="class",k=S&&c?a.map(T=>c[T]||T):a;S?(f.classList.remove(...k),f.classList.add(c&&c[w]?c[w]:w)):f.setAttribute(b,w)}),y(w)}function y(w){h&&p.includes(w)&&(f.style.colorScheme=w)}function v(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(o)g(o);else try{let w=localStorage.getItem(n)||i,b=u&&w==="system"?v():w;g(b)}catch{}},wm=["light","dark"],Dy="(prefers-color-scheme: dark)",d1=typeof window>"u",Oy=_.createContext(void 0),f1=e=>_.useContext(Oy)?_.createElement(_.Fragment,null,e.children):_.createElement(m1,{...e}),p1=["light","dark"],m1=({forcedTheme:e,disableTransitionOnChange:n=!1,enableSystem:i=!0,enableColorScheme:o=!0,storageKey:a="theme",themes:c=p1,defaultTheme:u=i?"system":"light",attribute:h="data-theme",value:f,children:p,nonce:g,scriptProps:y})=>{let[v,w]=_.useState(()=>y1(a,u)),[b,S]=_.useState(()=>v==="system"?eu():v),k=f?Object.values(f):c,T=_.useCallback(F=>{let V=F;if(!V)return;F==="system"&&i&&(V=eu());let W=f?f[V]:V,N=n?v1(g):null,j=document.documentElement,z=$=>{$==="class"?(j.classList.remove(...k),W&&j.classList.add(W)):$.startsWith("data-")&&(W?j.setAttribute($,W):j.removeAttribute($))};if(Array.isArray(h)?h.forEach(z):z(h),o){let $=wm.includes(u)?u:null,U=wm.includes(V)?V:$;j.style.colorScheme=U}N?.()},[g]),A=_.useCallback(F=>{let V=typeof F=="function"?F(v):F;w(V);try{localStorage.setItem(a,V)}catch{}},[v]),R=_.useCallback(F=>{let V=eu(F);S(V),v==="system"&&i&&!e&&T("system")},[v,e]);_.useEffect(()=>{let F=window.matchMedia(Dy);return F.addListener(R),R(F),()=>F.removeListener(R)},[R]),_.useEffect(()=>{let F=V=>{V.key===a&&(V.newValue?w(V.newValue):A(u))};return window.addEventListener("storage",F),()=>window.removeEventListener("storage",F)},[A]),_.useEffect(()=>{T(e??v)},[e,v]);let L=_.useMemo(()=>({theme:v,setTheme:A,forcedTheme:e,resolvedTheme:v==="system"?b:v,themes:i?[...c,"system"]:c,systemTheme:i?b:void 0}),[v,A,e,b,i,c]);return _.createElement(Oy.Provider,{value:L},_.createElement(g1,{forcedTheme:e,storageKey:a,attribute:h,enableSystem:i,enableColorScheme:o,defaultTheme:u,value:f,themes:c,nonce:g,scriptProps:y}),p)},g1=_.memo(({forcedTheme:e,storageKey:n,attribute:i,enableSystem:o,enableColorScheme:a,defaultTheme:c,value:u,themes:h,nonce:f,scriptProps:p})=>{let g=JSON.stringify([i,n,c,e,h,u,o,a]).slice(1,-1);return _.createElement("script",{...p,suppressHydrationWarning:!0,nonce:typeof window>"u"?f:"",dangerouslySetInnerHTML:{__html:`(${h1.toString()})(${g})`}})}),y1=(e,n)=>{if(d1)return;let i;try{i=localStorage.getItem(e)||void 0}catch{}return i||n},v1=e=>{let n=document.createElement("style");return e&&n.setAttribute("nonce",e),n.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(n),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(n)},1)}},eu=e=>
9(e||(e=window.matchMedia(Dy)),e.matches?"dark":"light");function w1({children:e,...n}){return C.jsx(f1,{attribute:"class",defaultTheme:"system",enableSystem:!0,disableTransitionOnChange:!0,storageKey:"ent-public-web-theme",...n,children:e})}var xm="1.3.21";function Fy(e,n,i){return Math.max(e,Math.min(n,i))}function x1(e,n,i){return(1-i)*e+i*n}function b1(e,n,i,o){return x1(e,n,1-Math.exp(-i*o))}function S1(e,n){return(e%n+n)%n}var k1=class{isRunning=!1;value=0;from=0;to=0;currentTime=0;lerp;duration;easing;onUpdate;advance(e){if(!this.isRunning)return;let n=!1;if(this.duration&&this.easing){this.currentTime+=e;const i=Fy(0,this.currentTime/this.duration,1);n=i>=1;const o=n?1:this.easing(i);this.value=this.from+(this.to-this.from)*o}else this.lerp?(this.value=b1(this.value,this.to,this.lerp*60,e),Math.round(this.value)===this.to&&(this.value=this.to,n=!0)):(this.value=this.to,n=!0);n&&this.stop(),this.onUpdate?.(this.value,n)}stop(){this.isRunning=!1}fromTo(e,n,{lerp:i,duration:o,easing:a,onStart:c,onUpdate:u}){this.from=this.value=e,this.to=n,this.lerp=i,this.duration=o,this.easing=a,this.currentTime=0,this.isRunning=!0,c?.(),this.onUpdate=u}};function T1(e,n){let i;return function(...o){clearTimeout(i),i=setTimeout(()=>{i=void 0,e.apply(this,o)},n)}}var E1=class{width=0;height=0;scrollHeight=0;scrollWidth=0;debouncedResize;wrapperResizeObserver;contentResizeObserver;constructor(e,n,{autoResize:i=!0,debounce:o=250}={}){this.wrapper=e,this.content=n,i&&(this.debouncedResize=T1(this.resize,o),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},jy=class{events={};emit(e,...n){const i=this.events[e]||[];for(let o=0,a=i.length;o<a;o++)i[o]?.(...n)}on(e,n){return this.events[e]?this.events[e].push(n):this.events[e]=[n],()=>{this.events[e]=this.events[e]?.filter(i=>n!==i)}}off(e,n){this.events[e]=this.events[e]?.filter(i=>n!==i)}destroy(){this.events={}}};const P1=100/6,Wn={passive:!1};function bm(e,n){return e===1?P1:e===2?n:1}var C1=class{touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new jy;constructor(e,n={wheelMultiplier:1,touchMultiplier:1}){this.element=e,this.options=n,window.addEventListener("resize",this.onWindowResize),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,Wn),this.element.addEventListener("touchstart",this.onTouchStart,Wn),this.element.addEventListener("touchmove",this.onTouchMove,Wn),this.element.addEventListener("touchend",this.onTouchEnd,Wn)}on(e,n){return this.emitter.on(e,n)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize),this.element.removeEventListener("wheel",this.onWheel,Wn),this.element.removeEventListener("touchstart",this.onTouchStart,Wn),this.element.removeEventListener("touchmove",this.onTouchMove,Wn),this.element.removeEventListener("touchend",this.onTouchEnd,Wn)}onTouchStart=e=>{const{clientX:n,clientY:i}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=n,this.touchStart.y=i,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:e})};onTouchMove=e=>{const{clientX:n,clientY:i}=e.targetTouches?e.targetTouches[0]:e,o=-(n-this.touchStart.x)*this.options.touchMultiplier,a=-(i-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=n,this.touchStart.y=i,this.lastDelta={x:o,y:a},this.emitter.emit("scroll",{deltaX:o,deltaY:a,event:e})};onTouchEnd=e=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:e})};onWheel=e=>{let{deltaX:n,deltaY:i,deltaMode:o}=e;const a=bm(o,this.window.width),c=bm(o,this.window.height);n*=a,i*=c,n*=this.options.wheelMultiplier,i*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:n,deltaY:i,event:e})};onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}}};const Sm=e=>Math.min(1,1.001-2**(-10*e));var I1=class{_isScrolling=!1;_isStopped=!1;_isLocked=!1;_preventNextNativeScrollEvent=!1;_resetVelocityTimeout=null;_rafId=null;isTouching;time=0;userData={};lastVelocity=0;velocity=0;direction=0;options;targetScroll;animatedScroll;animate=new k1;emitter=new jy;dimensions;virtualScroll;constructor({wrapper:e=window,content:n=document.documentElement,eventsTarget:i=e,smoothWheel:o=!0,syncTouch:a=!1,syncTouchLerp:c=.075,touchInertiaExponent:u=1.7,duration:h,easing:f,lerp:p=.1,infinite:g=!1,orientation:y="vertical",gestureOrientation:v=y==="horizontal"?"both":"vertical",touchMultiplier:w=1,wheelMultiplier:b=1,autoResize:S=!0,prevent:k,virtualScroll:T,overscroll:A=!0,autoRaf:R=!1,anchors:L=!1,autoToggle:F=!1,allowNestedScroll:V=!1,__experimental__naiveDimensions:W=!1,naiveDimensions:N=W,stopInertiaOnNavigate:j=!1}={}){window.lenisVersion=xm,window.lenis||(window.lenis={}),window.lenis.version=xm,y==="horizontal"&&(window.lenis.horizontal=!0),a===!0&&(window.lenis.touch=!0),(!e||e===document.documentElement)&&(e=window),typeof h=="number"&&typeof f!="function"?f=Sm:typeof f=="function"&&typeof h!="number"&&(h=1),this.options={wrapper:e,content:n,eventsTarget:i,smoothWheel:o,syncTouch:a,syncTouchLerp:c,touchInertiaExponent:u,duration:h,easing:f,lerp:p,infinite:g,gestureOrientation:v,orientation:y,touchMultiplier:w,wheelMultiplier:b,autoResize:S,prevent:k,virtualScroll:T,overscroll:A,autoRaf:R,anchors:L,autoToggle:F,allowNestedScroll:V,naiveDimensions:N,stopInertiaOnNavigate:j},this.dimensions=new E1(e,n,{autoResize:S}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.addEventListener("click",this.onClick),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown),this.virtualScroll=ne
9w C1(i,{touchMultiplier:w,wheelMultiplier:b}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd)),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.removeEventListener("click",this.onClick),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId&&cancelAnimationFrame(this._rafId)}on(e,n){return this.emitter.on(e,n)}off(e,n){return this.emitter.off(e,n)}onScrollEnd=e=>{e instanceof CustomEvent||(this.isScrolling==="smooth"||this.isScrolling===!1)&&e.stopPropagation()};dispatchScrollendEvent=()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))};get overflow(){const e=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[e]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart()}onTransitionEnd=e=>{e.propertyName?.includes("overflow")&&e.target===this.rootElement&&this.checkOverflow()};setScroll(e){this.isHorizontal?this.options.wrapper.scrollTo({left:e,behavior:"instant"}):this.options.wrapper.scrollTo({top:e,behavior:"instant"})}onClick=e=>{const n=e.composedPath().filter(o=>o instanceof HTMLAnchorElement&&o.href).map(o=>new URL(o.href)),i=new URL(window.location.href);if(this.options.anchors){const o=n.find(a=>i.host===a.host&&i.pathname===a.pathname&&a.hash);if(o){const a=typeof this.options.anchors=="object"&&this.options.anchors?this.options.anchors:void 0,c=`#${o.hash.split("#")[1]}`;this.scrollTo(c,a);return}}if(this.options.stopInertiaOnNavigate&&n.some(o=>i.host===o.host&&i.pathname!==o.pathname)){this.reset();return}};onPointerDown=e=>{e.button===1&&this.reset()};onVirtualScroll=e=>{if(typeof this.options.virtualScroll=="function"&&this.options.virtualScroll(e)===!1)return;const{deltaX:n,deltaY:i,event:o}=e;if(this.emitter.emit("virtual-scroll",{deltaX:n,deltaY:i,event:o}),o.ctrlKey||o.lenisStopPropagation)return;const a=o.type.includes("touch"),c=o.type.includes("wheel");this.isTouching=o.type==="touchstart"||o.type==="touchmove";const u=n===0&&i===0;if(this.options.syncTouch&&a&&o.type==="touchstart"&&u&&!this.isStopped&&!this.isLocked){this.reset();return}const h=this.options.gestureOrientation==="vertical"&&i===0||this.options.gestureOrientation==="horizontal"&&n===0;if(u||h)return;let f=o.composedPath();f=f.slice(0,f.indexOf(this.rootElement));const p=this.options.prevent,g=Math.abs(n)>=Math.abs(i)?"horizontal":"vertical";if(f.find(b=>b instanceof HTMLElement&&(typeof p=="function"&&p?.(b)||b.hasAttribute?.("data-lenis-prevent")||g==="vertical"&&b.hasAttribute?.("data-lenis-prevent-vertical")||g==="horizontal"&&b.hasAttribute?.("data-lenis-prevent-horizontal")||a&&b.hasAttribute?.("data-lenis-prevent-touch")||c&&b.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.hasNestedScroll(b,{deltaX:n,deltaY:i}))))return;if(this.isStopped||this.isLocked){o.cancelable&&o.preventDefault();return}if(!(this.options.syncTouch&&a||this.options.smoothWheel&&c)){this.isScrolling="native",this.animate.stop(),o.lenisStopPropagation=!0;return}let y=i;this.options.gestureOrientation==="both"?y=Math.abs(i)>Math.abs(n)?i:n:this.options.gestureOrientation==="horizontal"&&(y=n),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll<this.limit||this.animatedScroll===0&&i>0||this.animatedScroll===this.limit&&i<0))&&(o.lenisStopPropagation=!0),o.cancelable&&o.preventDefault();const v=a&&this.options.syncTouch,w=a&&o.type==="touchend";w&&(y=Math.sign(this.velocity)*Math.abs(this.velocity)**this.options.touchInertiaExponent),this.scrollTo(this.targetScroll+y,{programmatic:!1,...v?{lerp:w?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})};resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit
9()}emit(){this.emitter.emit("scroll",this)}onNativeScroll=()=>{if(this._resetVelocityTimeout!==null&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(this.isScrolling===!1||this.isScrolling==="native"){const e=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-e,this.direction=Math.sign(this.animatedScroll-e),this.isStopped||(this.isScrolling="native"),this.emit(),this.velocity!==0&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}};reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(this.isStopped){if(this.options.autoToggle){this.rootElement.style.removeProperty("overflow");return}this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle){this.rootElement.style.setProperty("overflow","clip");return}this.internalStop()}}internalStop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}raf=e=>{const n=e-(this.time||e);this.time=e,this.animate.advance(n*.001),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))};scrollTo(e,{offset:n=0,immediate:i=!1,lock:o=!1,programmatic:a=!0,lerp:c=a?this.options.lerp:void 0,duration:u=a?this.options.duration:void 0,easing:h=a?this.options.easing:void 0,onStart:f,onComplete:p,force:g=!1,userData:y}={}){if((this.isStopped||this.isLocked)&&!g)return;let v=e,w=n;if(typeof v=="string"&&["top","left","start","#"].includes(v))v=0;else if(typeof v=="string"&&["bottom","right","end"].includes(v))v=this.limit;else{let b=null;if(typeof v=="string"?(b=document.querySelector(v),b||(v==="#top"?v=0:console.warn("Lenis: Target not found",v))):v instanceof HTMLElement&&v?.nodeType&&(b=v),b){if(this.options.wrapper!==window){const L=this.rootElement.getBoundingClientRect();w-=this.isHorizontal?L.left:L.top}const S=b.getBoundingClientRect(),k=getComputedStyle(b),T=this.isHorizontal?Number.parseFloat(k.scrollMarginLeft):Number.parseFloat(k.scrollMarginTop),A=getComputedStyle(this.rootElement),R=this.isHorizontal?Number.parseFloat(A.scrollPaddingLeft):Number.parseFloat(A.scrollPaddingTop);v=(this.isHorizontal?S.left:S.top)+this.animatedScroll-(Number.isNaN(T)?0:T)-(Number.isNaN(R)?0:R)}}if(typeof v=="number"){if(v+=w,v=Math.round(v),this.options.infinite){if(a){this.targetScroll=this.animatedScroll=this.scroll;const b=v-this.animatedScroll;b>this.limit/2?v-=this.limit:b<-this.limit/2&&(v+=this.limit)}}else v=Fy(0,v,this.limit);if(v===this.targetScroll){f?.(this),p?.(this);return}if(this.userData=y??{},i){this.animatedScroll=this.targetScroll=v,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),p?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}a||(this.targetScroll=v),typeof u=="number"&&typeof h!="function"?h=Sm:typeof h=="function"&&typeof u!="number"&&(u=1),this.animate.fromTo(this.animatedScroll,v,{duration:u,easing:h,lerp:c,onStart:()=>{o&&(this.isLocked=!0),this.isScrolling="smooth",f?.(this)},onUpdate:(b,S)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=b-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=b,this.setScroll(this.scroll),a&&(this.targetScroll=b),S||this.emit(),S&&(this.reset(),this.emit(),p?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}hasNestedScroll(e,{deltaX:n,deltaY:i}){const o=Date.now();e._lenis||(e._lenis={});const a=e._lenis;let c,u,h,f,p,g,y,v,w,b;if(o-(a.time??0)>2e3){a.time=Date.now();const V=window.getComputedStyle(e);if(a.computedStyle=V,c=["auto","overlay","scroll"].includes(V.overflowX),u=["auto","overlay","scroll"].includes(V.overflowY),p=["auto"].includes(V.overscrollBehaviorX),g=["auto"].includes(V.overscrollBehaviorY),a.hasOverflowX=c,a.hasOverflowY=u,!(c||u))return!1;y=e.scrollWidth,v=e.scrollHeight,w=e.clientWidth,b=e.clientHeight,h=y>w,f=v>b,a.isScrollableX=h,a.isScrollableY=f,a.scrollWidth=y,a.scrollHeight=v,a.clientWidth=w,a.clientHeight=b,a.hasOverscrollBehaviorX=p,a.hasOverscrollBehaviorY=g}else h=a.isScrollableX,f=a.isScrollableY,c=a.hasOverflowX,u=a.hasOverflowY,y=a.scrollWidth,v=a.scrollHeight,w=a.clientWidth,b=a.clientHeight,p=a.hasOverscrollBehaviorX,g=a.hasOverscrollBehaviorY;if(!(c&&h||u&&f))return!1;const S=Math.abs(n)>=Math.abs(i)?"horizontal":"vertical";let k,T,A,R,L,F;
9if(S==="horizontal")k=Math.round(e.scrollLeft),T=y-w,A=n,R=c,L=h,F=p;else if(S==="vertical")k=Math.round(e.scrollTop),T=v-b,A=i,R=u,L=f,F=g;else return!1;return!F&&(k>=T||k<=0)?!0:(A>0?k<T:k>0)&&R&&L}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){const e=this.options.wrapper;return this.isHorizontal?e.scrollX??e.scrollLeft:e.scrollY??e.scrollTop}get scroll(){return this.options.infinite?S1(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(e){this._isScrolling!==e&&(this._isScrolling=e,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(e){this._isStopped!==e&&(this._isStopped=e,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(e){this._isLocked!==e&&(this._isLocked=e,this.updateClassName())}get isSmooth(){return this.isScrolling==="smooth"}get className(){let e="lenis";return this.options.autoToggle&&(e+=" lenis-autoToggle"),this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),this.isScrolling==="smooth"&&(e+=" lenis-smooth"),e}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}};const By=_.createContext(null);function _1(){return _.useContext(By)}function A1({children:e}){const[n,i]=_.useState(null),o=_.useRef(0);return _.useEffect(()=>{if(window.innerWidth<768)return;const a=new I1({lerp:.075,smoothWheel:!0});i(a);const c=u=>{a.raf(u),o.current=requestAnimationFrame(c)};return o.current=requestAnimationFrame(c),()=>{cancelAnimationFrame(o.current),a.destroy(),i(null)}},[]),C.jsx(By.Provider,{value:n,children:e})}const Vy={THEME:"ent-public-web-theme",COOKIE_CONSENT:"ent-public-web-cookie-consent"},Re=[.33,1,.68,1],Ot="'Inter', sans-serif",R1="'Sentient', Georgia, serif",J_=(e="31,29,23")=>`linear-gradient(90deg, rgba(${e},1) 0%, rgba(${e},0.5) 32%, rgba(7,54,28,0) 100%)`,Ny=1,M1="ent-consent-change",km={necessary:!0,analytics:!1,marketing:!1},L1={necessary:!0,analytics:!0,marketing:!0};function D1(){if(typeof window>"u")return null;try{const e=window.localStorage.getItem(Vy.COOKIE_CONSENT);if(!e)return null;const n=JSON.parse(e);return!n?.categories||n.version!==Ny?null:{necessary:!0,analytics:!!n.categories.analytics,marketing:!!n.categories.marketing}}catch{return null}}function O1(e){if(typeof window>"u")return;const n={categories:{...e,necessary:!0},timestamp:Date.now(),version:Ny};try{window.localStorage.setItem(Vy.COOKIE_CONSENT,JSON.stringify(n))}catch{}}function F1(e){if(typeof window>"u")return;const n={analytics_storage:e.analytics?"granted":"denied",ad_storage:e.marketing?"granted":"denied",ad_user_data:e.marketing?"granted":"denied",ad_personalization:e.marketing?"granted":"denied"};typeof window.gtag=="function"?window.gtag("consent","update",n):(window.dataLayer=window.dataLayer||[],window.dataLayer.push(["consent","update",n])),window.dispatchEvent(new CustomEvent(M1,{detail:e}))}function j1(e){O1(e),F1(e)}const zy=_.createContext(null);function B1({children:e}){const[n,i]=_.useState(km),[o,a]=_.useState(!1),[c,u]=_.useState(!1),[h,f]=_.useState(!1);_.useEffect(()=>{const k=D1();k&&(i(k),a(!0)),u(!0)},[]);const p=_.useCallback(k=>{j1(k),i(k),a(!0),f(!1)},[]),g=_.useCallback(()=>p(L1),[p]),y=_.useCallback(()=>p(km),[p]),v=_.useCallback(k=>p({...k,necessary:!0}),[p]),w=_.useCallback(()=>f(!0),[]),b=_.useCallback(()=>f(!1),[]),S=_.useMemo(()=>({categories:n,hasResponded:o,ready:c,preferencesOpen:h,acceptAll:g,rejectAll:y,savePreferences:v,openPreferences:w,closePreferences:b}),[n,o,c,h,g,y,v,w,b]);return C.jsx(zy.Provider,{value:S,children:e})}function sh(){const e=_.useContext(zy);if(!e)throw new Error("useConsent must be used within a ConsentProvider");return e}const ah=_.createContext({});function lh(e){const n=_.useRef(null);return n.current===null&&(n.current=e()),n.current}const V1=typeof window<"u",Wy=V1?_.useLayoutEffect:_.useEffect,Ua=_.createContext(null);function ch(e,n){e.indexOf(n)===-1&&e.push(n)}function Ca(e,n){const i=e.indexOf(n);i>-1&&e.splice(i,1)}const un=(e,n,i)=>i>n?n:i<e?e:i;let uh=()=>{};const Xn={},Uy=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Hy(e){return typeof e=="object"&&e!==null}const $y=e=>/^0[^.\s]+$/u.test(e);function qy(e){let n;return()=>(n===void 0&&(n=e()),n)}const jt=e=>e,N1=(e,n)=>i=>n(e(i)),Bo=(...e)=>e.reduce(N1),Ao=(e,n,i)=>{const o=n-e;return o===0?1:(i-e)/o};class hh{constructor(){this.subscriptions=[]}add(n){return ch(this.subscriptions,n),()=>Ca(this.subscriptions,n)}notify(n,i,o){const a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](n,i,o);else for(let c=0;c<a;c++){const u=this.subscriptions[c];u&&u(n,i,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ct=e=>e*1e3,Ft=e=>e/1e3;function Ky(e,n){return n?e*(1e3/n):0}const Gy=(e,n,i)=>(((1-3*i+3*n)*e+(3*i-6*n))*e+3*n)*e,z1=1e-7,W1=12;function U1(e,n,i,o,a){let c,u,h=0;do u=n+(i-n)/2,c=Gy(u,o,a)-e,c>0?i=u:n=u;
vendor: 91,942 bytes, line 9
9while(Math.abs(c)>z1&&++h<W1);return u}function Vo(e,n,i,o){if(e===n&&i===o)return jt;const a=c=>U1(c,0,1,e,i);return c=>c===0||c===1?c:Gy(a(c),n,o)}const Qy=e=>n=>n<=.5?e(2*n)/2:(2-e(2*(1-n)))/2,Yy=e=>n=>1-e(1-n),Xy=Vo(.33,1.53,.69,.99),dh=Yy(Xy),Jy=Qy(dh),Zy=e=>e>=1?1:(e*=2)<1?.5*dh(e):.5*(2-Math.pow(2,-10*(e-1))),fh=e=>1-Math.sin(Math.acos(e)),ev=Yy(fh),tv=Qy(fh),H1=Vo(.42,0,1,1),$1=Vo(0,0,.58,1),nv=Vo(.42,0,.58,1),q1=e=>Array.isArray(e)&&typeof e[0]!="number",rv=e=>Array.isArray(e)&&typeof e[0]=="number",K1={linear:jt,easeIn:H1,easeInOut:nv,easeOut:$1,circIn:fh,circInOut:tv,circOut:ev,backIn:dh,backInOut:Jy,backOut:Xy,anticipate:Zy},G1=e=>typeof e=="string",Tm=e=>{if(rv(e)){uh(e.length===4);const[n,i,o,a]=e;return Vo(n,i,o,a)}else if(G1(e))return K1[e];return e},ta=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Q1(e,n){let i=new Set,o=new Set,a=!1,c=!1;const u=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function f(g){u.has(g)&&(p.schedule(g),e()),g(h)}const p={schedule:(g,y=!1,v=!1)=>{const b=v&&a?i:o;return y&&u.add(g),b.add(g),g},cancel:g=>{o.delete(g),u.delete(g)},process:g=>{if(h=g,a){c=!0;return}a=!0;const y=i;i=o,o=y,i.forEach(f),i.clear(),a=!1,c&&(c=!1,p.process(g))}};return p}const Y1=40;function iv(e,n){let i=!1,o=!0;const a={delta:0,timestamp:0,isProcessing:!1},c=()=>i=!0,u=ta.reduce((R,L)=>(R[L]=Q1(c),R),{}),{setup:h,read:f,resolveKeyframes:p,preUpdate:g,update:y,preRender:v,render:w,postRender:b}=u,S=()=>{const R=Xn.useManualTiming,L=R?a.timestamp:performance.now();i=!1,R||(a.delta=o?1e3/60:Math.max(Math.min(L-a.timestamp,Y1),1)),a.timestamp=L,a.isProcessing=!0,h.process(a),f.process(a),p.process(a),g.process(a),y.process(a),v.process(a),w.process(a),b.process(a),a.isProcessing=!1,i&&n&&(o=!1,e(S))},k=()=>{i=!0,o=!0,a.isProcessing||e(S)};return{schedule:ta.reduce((R,L)=>{const F=u[L];return R[L]=(V,W=!1,N=!1)=>(i||k(),F.schedule(V,W,N)),R},{}),cancel:R=>{for(let L=0;L<ta.length;L++)u[ta[L]].cancel(R)},state:a,steps:u}}const{schedule:Ce,cancel:Jn,state:rt,steps:tu}=iv(typeof requestAnimationFrame<"u"?requestAnimationFrame:jt,!0);let ha;function X1(){ha=void 0}const dt={now:()=>(ha===void 0&&dt.set(rt.isProcessing||Xn.useManualTiming?rt.timestamp:performance.now()),ha),set:e=>{ha=e,queueMicrotask(X1)}},ov=e=>n=>typeof n=="string"&&n.startsWith(e),sv=ov("--"),J1=ov("var(--"),ph=e=>J1(e)?Z1.test(e.split("/*")[0].trim()):!1,Z1=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Em(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const pi={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ro={...pi,transform:e=>un(0,1,e)},na={...pi,default:1},wo=e=>Math.round(e*1e5)/1e5,mh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function ek(e){return e==null}const tk=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,gh=(e,n)=>i=>!!(typeof i=="string"&&tk.test(i)&&i.startsWith(e)||n&&!ek(i)&&Object.prototype.hasOwnProperty.call(i,n)),av=(e,n,i)=>o=>{if(typeof o!="string")return o;const[a,c,u,h]=o.match(mh);return{[e]:parseFloat(a),[n]:parseFloat(c),[i]:parseFloat(u),alpha:h!==void 0?parseFloat(h):1}},nk=e=>un(0,255,e),nu={...pi,transform:e=>Math.round(nk(e))},Sr={test:gh("rgb","red"),parse:av("red","green","blue"),transform:({red:e,green:n,blue:i,alpha:o=1})=>"rgba("+nu.transform(e)+", "+nu.transform(n)+", "+nu.transform(i)+", "+wo(Ro.transform(o))+")"};function rk(e){let n="",i="",o="",a="";return e.length>5?(n=e.substring(1,3),i=e.substring(3,5),o=e.substring(5,7),a=e.substring(7,9)):(n=e.substring(1,2),i=e.substring(2,3),o=e.substring(3,4),a=e.substring(4,5),n+=n,i+=i,o+=o,a+=a),{red:parseInt(n,16),green:parseInt(i,16),blue:parseInt(o,16),alpha:a?parseInt(a,16)/255:1}}const Cu={test:gh("#"),parse:rk,transform:Sr.transform},No=e=>({test:n=>typeof n=="string"&&n.endsWith(e)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${e}`}),Un=No("deg"),ln=No("%"),ie=No("px"),ik=No("vh"),ok=No("vw"),Pm={...ln,parse:e=>ln.parse(e)/100,transform:e=>ln.transform(e*100)},ii={test:gh("hsl","hue"),parse:av("hue","saturation","lightness"),transform:({hue:e,saturation:n,lightness:i,alpha:o=1})=>"hsla("+Math.round(e)+", "+ln.transform(wo(n))+", "+ln.transform(wo(i))+", "+wo(Ro.transform(o))+")"},Ue={test:e=>Sr.test(e)||Cu.test(e)||ii.test(e),parse:e=>Sr.test(e)?Sr.parse(e):ii.test(e)?ii.parse(e):Cu.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Sr.transform(e):ii.transform(e),getAnimatableNone:e=>{const n=Ue.parse(e);return n.alpha=0,Ue.transform(n)}},sk=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function ak(e){return isNaN(e)&&typeof e=="string"&&(e.match(mh)?.length||0)+(e.match(sk)?.length||0)>0}const lv="number",cv="color",lk="var",ck="var(",Cm="${}",uk=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function hi(e){const n=e.toString(),i=[],o={color:[],number:[],var:[]},a=[];let c=0;const h=n.replace(uk,f=>(Ue.test(f)?(o.color.push(c),a.push(cv),i.push(Ue.parse(f))):f.startsWith(ck)?(o.var.push(c),a.push(lk),i.push(f)):(o.number.push(c),a.push(lv),i.push(parseFloat(f))),++c,Cm)).split(Cm);return{values:i,split:h,indexes:o,types:a}}function hk(e){return hi(e).values}function uv({split:e,types:n}){const i=e.length;return o=>{let a="";for(let c=0;c<i;c++)if(a+=e[c],o[c]!==void 0){const u=n[c];u===lv?a+=wo(o[c]):u===cv?a+=Ue.transform(o[c]):a+=o[c]}return a}}function dk(e){return uv(hi(e))}const fk=e=>typeof e=="number"?0:Ue.test(e)?Ue.getAnimatableNone(e):e,pk=(e,n)=>typeof e=="number"?n?.trim().endsWith("/")?e:0:fk(e);function mk(e){const n=hi(e);return uv(n)(n.values.map((o,a)=>pk(o,n.split[a])))}const Qt={test:ak,parse:hk,createTransformer:dk,getAnimatableNone:mk};function ru(e,n,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+(n-e)*6*i:i<1/2?n:i<2/3?e+(n-e)*(2/3-i)*6:e}function gk({hue:e,saturation:n,lightness:i,alpha:o}){e/=360,n/=100,i/=100;let a=0,c=0,u=0;if(!n)a=c=u=i;else{const h=i<.5?i*(1+n):i+n-i*n,f=2*i-h;a=ru(f,h,e+1/3),c=ru(f,h,e),u=ru(f,h,e-1/3)}return{red:Math.round(a*255),green:Math.round(c*255),blue:Math.round(u*255),alpha:o}}function Ia(e,n){return i=>i>0?n:e}const Me=(e,n,i)=>e+(n-e)*i,iu=(e,n,i)=>{const o=e*e,a=i*(n*n-o)+o;return a<0?0:Math.sqrt(a)},yk=[Cu,Sr,ii],vk=e=>yk.find(n=>n.test(e));function Im(e){const n=vk(e);if(!n)return!1;let i=n.parse(e);return n===ii&&(i=gk(i)),i}const _m=(e,n)=>{const i=Im(e),o=Im(n);if(!i||!o)return Ia(e,n);const a={...i};return c=>(a.red=iu(i.red,o.red,c),a.green=iu(i.green,o.green,c),a.blue=iu(i.blue,o.blue,c),a.alpha=Me(i.alpha,o.alpha,c),Sr.transform(a))},Iu=new Set(["none","hidden"]);function wk(e,n){return Iu.has(e)?i=>i<=0?e:n:i=>i>=1?n:e}function xk(e,n){return i=>Me(e,n,i)}function yh(e){return typeof e=="number"?xk:typeof e=="string"?ph(e)?Ia:Ue.test(e)?_m:kk:Array.isArray(e)?hv:typeof e=="object"?Ue.test(e)?_m:bk:Ia}function hv(e,n){const i=[...e],o=i.length,a=e.map((c,u)=>yh(c)(c,n[u]));return c=>{for(let u=0;u<o;u++)i[u]=a[u](c);return i}}function bk(e,n){const i={...e,...n},o={};for(const a in i)e[a]!==void 0&&n[a]!==void 0&&(o[a]=yh(e[a])(e[a],n[a]));return a=>{for(const c in o)i[c]=o[c](a);return i}}function Sk(e,n){const i=[],o={color:0,var:0,number:0};for(let a=0;a<n.values.length;a++){const c=n.types[a],u=e.indexes[c][o[c]],h=e.values[u]??0;i[a]=h,o[c]++}return i}const kk=(e,n)=>{const i=Qt.createTransformer(n),o=hi(e),a=hi(n);return o.indexes.var.length===a.indexes.var.length&&o.indexes.color.length===a.indexes.color.length&&o.indexes.number.length>=a.indexes.number.length?Iu.has(e)&&!a.values.length||Iu.has(n)&&!o.values.length?wk(e,n):Bo(hv(Sk(o,a),a.values),i):Ia(e,n)};function dv(e,n,i){return typeof e=="number"&&typeof n=="number"&&typeof i=="number"?Me(e,n,i):yh(e)(e,n)}const Tk=e=>{const n=({timestamp:i})=>e(i);return{start:(i=!0)=>Ce.update(n,i),stop:()=>Jn(n),now:()=>rt.isProcessing?rt.timestamp:dt.now()}},fv=(e,n,i=10)=>{let o="";const a=Math.max(Math.round(n/i),2);for(let c=0;c<a;c++)o+=Math.round(e(c/(a-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`},_a=2e4;function vh(e){let n=0;const i=50;let o=e.next(n);for(;!o.done&&n<_a;)n+=i,o=e.next(n);return n>=_a?1/0:n}function Ek(e,n=100,i){const o=i({...e,keyframes:[0,n]}),a=Math.min(vh(o),_a);return{type:"keyframes",ease:c=>o.next(a*c).value/n,duration:Ft(a)}}const Be={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function _u(e,n){return e*Math.sqrt(1-n*n)}const Pk=12;function Ck(e,n,i){let o=i;for(let a=1;a<Pk;a++)o=o-e(o)/n(o);return o}const ou=.001;function Ik({duration:e=Be.duration,bounce:n=Be.bounce,velocity:i=Be.velocity,mass:o=Be.mass}){let a,c,u=1-n;u=un(Be.minDamping,Be.maxDamping,u),e=un(Be.minDuration,Be.maxDuration,Ft(e)),u<1?(a=p=>{const g=p*u,y=g*e,v=g-i,w=_u(p,u),b=Math.exp(-y);return ou-v/w*b},c=p=>{const y=p*u*e,v=y*i+i,w=Math.pow(u,2)*Math.pow(p,2)*e,b=Math.exp(-y),S=_u(Math.pow(p,2),u);return(-a(p)+ou>0?-1:1)*((v-w)*b)/S}):(a=p=>{const g=Math.exp(-p*e),y=(p-i)*e+1;return-ou+g*y},c=p=>{const g=Math.exp(-p*e),y=(i-p)*(e*e);return g*y});const h=5/e,f=Ck(a,c,h);if(e=Ct(e),isNaN(f))return{stiffness:Be.stiffness,damping:Be.damping,duration:e};{const p=Math.pow(f,2)*o;return{stiffness:p,damping:u*2*Math.sqrt(o*p),duration:e}}}const _k=["duration","bounce"],Ak=["stiffness","damping","mass"];function Am(e,n){return n.some(i=>e[i]!==void 0)}function Rk(e){let n={velocity:Be.velocity,stiffness:Be.stiffness,damping:Be.damping,mass:Be.mass,isResolvedFromDuration:!1,...e};if(!Am(e,Ak)&&Am(e,_k))if(n.velocity=0,e.visualDuration){const i=e.visualDuration,o=2*Math.PI/(i*1.2),a=o*o,c=2*un(.05,1,1-(e.bounce||0))*Math.sqrt(a);n={...n,mass:Be.mass,stiffness:a,damping:c}}else{const i=Ik({...e,velocity:0});n={...n,...i,mass:Be.mass},n.isResolvedFromDuration=!0}return n}function Aa(e=Be.visualDuration,n=Be.bounce){const i=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:n}:e;let{restSpeed:o,restDelta:a}=i;const c=i.keyframes[0],u=i.keyframes[i.keyframes.length-1],h={done:!1,value:c},{stiffness:f,damping:p,mass:g,duration:y,velocity:v,isResolvedFromDuration:w}=Rk({...i,velocity:-Ft(i.velocity||0)}),b=v||0,S=p/(2*Math.sqrt(f*g)),k=u-c,T=Ft(Math.sqrt(f/g)),A=Math.abs(k)<5;o||(o=A?Be.restSpeed.granular:Be.restSpeed.default),a||(a=A?Be.restDelta.granular:Be.restDelta.default);let R,L,F,V,W,N;if(S<1)F=_u(T,S),V=(b+S*T*k)/F,R=z=>{const $=Math.exp(-S*T*z);return u-$*(V*Math.sin(F*z)+k*Math.cos(F*z))},W=S*T*V+k*F,N=S*T*k-V*F,L=z=>Math.exp(-S*T*z)*(W*Math.sin(F*z)+N*Math.cos(F*z));else if(S===1){R=$=>u-Math.exp(-T*$)*(k+(b+T*k)*$);const z=b+T*k;L=$=>Math.exp(-T*$)*(T*z*$-b)}else{const z=T*Math.sqrt(S*S-1);R=ae=>{const fe=Math.exp(-S*T*ae),pe=Math.min(z*ae,300);return u-fe*((b+S*T*k)*Math.sinh(pe)+z*k*Math.cosh(pe))/z};const $=(b+S*T*k)/z,U=S*T*$-k*z,Q=S*T*k-$*z;L=ae=>{const fe=Math.exp(-S*T*ae),pe=Math.min(z*ae,300);return fe*(U*Math.sinh(pe)+Q*Math.cosh(pe))}}const j={calculatedDuration:w&&y||null,velocity:z=>Ct(L(z)),next:z=>{if(!w&&S<1){const U=Math.exp(-S*T*z),Q=Math.sin(F*z),ae=Math.cos(F*z),fe=u-U*(V*Q+k*ae),pe=Ct(U*(W*Q+N*ae));return h.done=Math.abs(pe)<=o&&Math.abs(u-fe)<=a,h.value=h.done?u:fe,h}const $=R(z);if(w)h.done=z>=y;else{const U=Ct(L(z));h.done=Math.abs(U)<=o&&Math.abs(u-$)<=a}return h.value=h.done?u:$,h},toString:()=>{const z=Math.min(vh(j),_a),$=fv(U=>j.next(z*U).value,z,30);return z+"ms "+$},toTransition:()=>{}};return j}Aa.applyToOptions=e=>{const n=Ek(e,100,Aa);return e.ease=n.ease,e.duration=Ct(n.duration),e.type="keyframes",e};const Mk=5;function pv(e,n,i){const o=Math.max(n-Mk,0);return Ky(i-e(o),n-o)}function Au({keyframes:e,velocity:n=0,power:i=.8,timeConstant:o=325,bounceDamping:a=10,bounceStiffness:c=500,modifyTarget:u,min:h,max:f,restDelta:p=.5,restSpeed:g}){const y=e[0],v={done:!1,value:y},w=N=>h!==void 0&&N<h||f!==void 0&&N>f,b=N=>h===void 0?f:f===void 0||Math.abs(h-N)<Math.abs(f-N)?h:f;let S=i*n;const k=y+S,T=u===void 0?k:u(k);T!==k&&(S=T-y);const A=N=>-S*Math.exp(-N/o),R=N=>T+A(N),L=N=>{const j=A(N),z=R(N);v.done=Math.abs(j)<=p,v.value=v.done?T:z};let F,V;const W=N=>{w(v.value)&&(F=N,V=Aa({keyframes:[v.value,b(v.value)],velocity:pv(R,N,v.value),damping:a,stiffness:c,restDelta:p,restSpeed:g}))};return W(0),{calculatedDuration:null,next:N=>{let j=!1;return!V&&F===void 0&&(j=!0,L(N),W(N)),F!==void 0&&N>=F?V.next(N-F):(!j&&L(N),v)}}}function Lk(e,n,i){const o=[],a=i||Xn.mix||dv,c=e.length-1;for(let u=0;u<c;u++){let h=a(e[u],e[u+1]);if(n){const f=Array.isArray(n)?n[u]||jt:n;h=Bo(f,h)}o.push(h)}return o}function Dk(e,n,{clamp:i=!0,ease:o,mixer:a}={}){const c=e.length;if(uh(c===n.length),c===1)return()=>n[0];if(c===2&&n[0]===n[1])return()=>n[1];const u=e[0]===e[1];e[0]>e[c-1]&&(e=[...e].reverse(),n=[...n].reverse());const h=Lk(n,o,a),f=h.length,p=g=>{if(u&&g<e[0])return n[0];let y=0;if(f>1)for(;y<e.length-2&&!(g<e[y+1]);y++);const v=Ao(e[y],e[y+1],g);return h[y](v)};return i?g=>p(un(e[0],e[c-1],g)):p}function Ok(e,n){const i=e[e.length-1];for(let o=1;o<=n;o++){const a=Ao(0,n,o);e.push(Me(i,1,a))}}function Fk(e){const n=[0];return Ok(n,e.length-1),n}function jk(e,n){return e.map(i=>i*n)}function Bk(e,n){return e.map(()=>n||nv).splice(0,e.length-1)}function xo({duration:e=300,keyframes:n,times:i,ease:o="easeInOut"}){const a=q1(o)?o.map(Tm):Tm(o),c={done:!1,value:n[0]},u=jk(i&&i.length===n.length?i:Fk(n),e),h=Dk(u,n,{ease:Array.isArray(a)?a:Bk(n,a)});return{calculatedDuration:e,next:f=>(c.value=h(f),c.done=f>=e,c)}}const Vk=e=>e!==null;function Ha(e,{repeat:n,repeatType:i="loop"},o,a=1){const c=e.filter(Vk),h=a<0||n&&i!=="loop"&&n%2===1?0:c.length-1;return!h||o===void 0?c[h]:o}const Nk={decay:Au,inertia:Au,tween:xo,keyframes:xo,spring:Aa};function mv(e){typeof e.type=="string"&&(e.type=Nk[e.type])}class wh{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(n=>{this.resolve=n})}notifyFinished(){this.resolve()}then(n,i){return this.finished.then(n,i)}}const zk=e=>e/100;class Ra extends wh{constructor(n){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:i}=this.options;i&&i.updatedAt!==dt.now()&&this.tick(dt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=n,this.initAnimation(),this.play(),n.autoplay===!1&&this.pause()}initAnimation(){const{options:n}=this;mv(n);const{type:i=xo,repeat:o=0,repeatDelay:a=0,repeatType:c,velocity:u=0}=n;let{keyframes:h}=n;const f=i||xo;f!==xo&&typeof h[0]!="number"&&(this.mixKeyframes=Bo(zk,dv(h[0],h[1])),h=[0,100]);const p=f({...n,keyframes:h});c==="mirror"&&(this.mirroredGenerator=f({...n,keyframes:[...h].reverse(),velocity:-u})),p.calculatedDuration===null&&(p.calculatedDuration=vh(p));const{calculatedDuration:g}=p;this.calculatedDuration=g,this.resolvedDuration=g+a,this.totalDuration=this.resolvedDuration*(o+1)-a,this.generator=p}updateTime(n){const i=Math.round(n-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=i}tick(n,i=!1){const{generator:o,totalDuration:a,mixKeyframes:c,mirroredGenerator:u,resolvedDuration:h,calculatedDuration:f}=this;if(this.startTime===null)return o.next(0);const{delay:p=0,keyframes:g,repeat:y,repeatType:v,repeatDelay:w,type:b,onUpdate:S,finalKeyframe:k}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-a/this.speed,this.startTime)),i?this.currentTime=n:this.updateTime(n);const T=this.currentTime-p*(this.playbackSpeed>=0?1:-1),A=this.playbackSpeed>=0?T<0:T>a;this.currentTime=Math.max(T,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=a);let R=this.currentTime,L=o;if(y){const N=Math.min(this.currentTime,a)/h;let j=Math.floor(N),z=N%1;!z&&N>=1&&(z=1),z===1&&j--,j=Math.min(j,y+1),j%2&&(v==="reverse"?(z=1-z,w&&(z-=w/h)):v==="mirror"&&(L=u)),R=un(0,1,z)*h}let F;A?(this.delayState.value=g[0],F=this.delayState):F=L.next(R),c&&!A&&(F.value=c(F.value));let{done:V}=F;!A&&f!==null&&(V=this.playbackSpeed>=0?this.currentTime>=a:this.currentTime<=0);const W=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&V);return W&&b!==Au&&(F.value=Ha(g,this.options,k,this.speed)),S&&S(F.value),W&&this.finish(),F}then(n,i){return this.finished.then(n,i)}get duration(){return Ft(this.calculatedDuration)}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+Ft(n)}get time(){return Ft(this.currentTime)}set time(n){n=Ct(n),this.currentTime=n,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=n:this.driver&&(this.startTime=this.driver.now()-n/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=n,this.tick(n))}getGeneratorVelocity(){const n=this.currentTime;if(n<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(n);const i=this.generator.next(n).value;return pv(o=>this.generator.next(o).value,n,i)}get speed(){return this.playbackSpeed}set speed(n){const i=this.playbackSpeed!==n;i&&this.driver&&this.updateTime(dt.now()),this.playbackSpeed=n,i&&this.driver&&(this.time=Ft(this.currentTime))}play(){if(this.isStopped)return;const{driver:n=Tk,startTime:i}=this.options;this.driver||(this.driver=n(a=>this.tick(a))),this.options.onPlay?.();const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=i??o),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(dt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(n){return this.startTime=0,this.tick(n,!0)}attachTimeline(n){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),n.observe(this)}}function Wk(e){for(let n=1;n<e.length;n++)e[n]??(e[n]=e[n-1])}const kr=e=>e*180/Math.PI,Ru=e=>{const n=kr(Math.atan2(e[1],e[0]));return Mu(n)},Uk={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Ru,rotateZ:Ru,skewX:e=>kr(Math.atan(e[1])),skewY:e=>kr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Mu=e=>(e=e%360,e<0&&(e+=360),e),Rm=Ru,Mm=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Lm=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Hk={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Mm,scaleY:Lm,scale:e=>(Mm(e)+Lm(e))/2,rotateX:e=>Mu(kr(Math.atan2(e[6],e[5]))),rotateY:e=>Mu(kr(Math.atan2(-e[2],e[0]))),rotateZ:Rm,rotate:Rm,skewX:e=>kr(Math.atan(e[4])),skewY:e=>kr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Lu(e){return e.includes("scale")?1:0}function Du(e,n){if(!e||e==="none")return Lu(n);const i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,a;if(i)o=Hk,a=i;else{const h=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=Uk,a=h}if(!a)return Lu(n);const c=o[n],u=a[1].split(",").map(qk);return typeof c=="function"?c(u):u[c]}const $k=(e,n)=>{const{transform:i="none"}=getComputedStyle(e);return Du(i,n)};function qk(e){return parseFloat(e.trim())}const mi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],gi=new Set(mi),Dm=e=>e===pi||e===ie,Kk=new Set(["x","y","z"]),Gk=mi.filter(e=>!Kk.has(e));function Qk(e){const n=[];return Gk.forEach(i=>{const o=e.getValue(i);o!==void 0&&(n.push([i,o.get()]),o.set(i.startsWith("scale")?1:0))}),n}const Gn={width:({x:e},{paddingLeft:n="0",paddingRight:i="0",boxSizing:o})=>{const a=e.max-e.min;return o==="border-box"?a:a-parseFloat(n)-parseFloat(i)},height:({y:e},{paddingTop:n="0",paddingBottom:i="0",boxSizing:o})=>{const a=e.max-e.min;return o==="border-box"?a:a-parseFloat(n)-parseFloat(i)},top:(e,{top:n})=>parseFloat(n),left:(e,{left:n})=>parseFloat(n),bottom:({y:e},{top:n})=>parseFloat(n)+(e.max-e.min),right:({x:e},{left:n})=>parseFloat(n)+(e.max-e.min),x:(e,{transform:n})=>Du(n,"x"),y:(e,{transform:n})=>Du(n,"y")};Gn.translateX=Gn.x;Gn.translateY=Gn.y;const Cr=new Set;let Ou=!1,Fu=!1,ju=!1;function gv(){if(Fu){const e=Array.from(Cr).filter(o=>o.needsMeasurement),n=new Set(e.map(o=>o.element)),i=new Map;n.forEach(o=>{const a=Qk(o);a.length&&(i.set(o,a),o.render())}),e.forEach(o=>o.measureInitialState()),n.forEach(o=>{o.render();const a=i.get(o);a&&a.forEach(([c,u])=>{o.getValue(c)?.set(u)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}Fu=!1,Ou=!1,Cr.forEach(e=>e.complete(ju)),Cr.clear()}function yv(){Cr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Fu=!0)})}function Yk(){ju=!0,yv(),gv(),ju=!1}class xh{constructor(n,i,o,a,c,u=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...n],this.onComplete=i,this.name=o,this.motionValue=a,this.element=c,this.isAsync=u}scheduleResolve(){this.state="scheduled",this.isAsync?(Cr.add(this),Ou||(Ou=!0,Ce.read(yv),Ce.resolveKeyframes(gv))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:i,element:o,motionValue:a}=this;if(n[0]===null){const c=a?.get(),u=n[n.length-1];if(c!==void 0)n[0]=c;else if(o&&i){const h=o.readValue(i,u);h!=null&&(n[0]=h)}n[0]===void 0&&(n[0]=u),a&&c===void 0&&a.set(n[0])}Wk(n)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(n=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,n),Cr.delete(this)}cancel(){this.state==="scheduled"&&(Cr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Xk=e=>e.startsWith("--");function vv(e,n,i){Xk(n)?e.style.setProperty(n,i):e.style[n]=i}const Jk={};function bh(e,n){const i=qy(e);return()=>Jk[n]??i()}const Zk=bh(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Z_=bh(()=>window.ViewTimeline!==void 0,"viewTimeline"),wv=bh(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),yo=([e,n,i,o])=>`cubic-bezier(${e}, ${n}, ${i}, ${o})`,Om={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:yo([0,.65,.55,1]),circOut:yo([.55,0,1,.45]),backIn:yo([.31,.01,.66,-.59]),backOut:yo([.33,1.53,.69,.99])};function xv(e,n){if(e)return typeof e=="function"?wv()?fv(e,n):"ease-out":rv(e)?yo(e):Array.isArray(e)?e.map(i=>xv(i,n)||Om.easeOut):Om[e]}function eT(e,n,i,{delay:o=0,duration:a=300,repeat:c=0,repeatType:u="loop",ease:h="easeOut",times:f}={},p=void 0){const g={[n]:i};f&&(g.offset=f);const y=xv(h,a);Array.isArray(y)&&(g.easing=y);const v={delay:o,duration:a,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:c+1,direction:u==="reverse"?"alternate":"normal"};return p&&(v.pseudoElement=p),e.animate(g,v)}function bv(e){return typeof e=="function"&&"applyToOptions"in e}function tT({type:e,...n}){return bv(e)&&wv()?e.applyToOptions(n):(n.duration??(n.duration=300),n.ease??(n.ease="easeOut"),n)}class Sv extends wh{constructor(n){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!n)return;const{element:i,name:o,keyframes:a,pseudoElement:c,allowFlatten:u=!1,finalKeyframe:h,onComplete:f}=n;this.isPseudoElement=!!c,this.allowFlatten=u,this.options=n,uh(typeof n.type!="string");const p=tT(n);this.animation=eT(i,o,a,p,c),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!c){const g=Ha(a,this.options,h,this.speed);this.updateMotionValue&&this.updateMotionValue(g),vv(i,o,g),this.animation.cancel()}f?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:n}=this;n==="idle"||n==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const n=this.options?.element;!this.isPseudoElement&&n?.isConnected&&this.animation.commitStyles?.()}get duration(){const n=this.animation.effect?.getComputedTiming?.().duration||0;return Ft(Number(n))}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+Ft(n)}get time(){return Ft(Number(this.animation.currentTime)||0)}set time(n){const i=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Ct(n),i&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(n){n<0&&(this.finishedTime=null),this.animation.playbackRate=n}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(n){this.manualStartTime=this.animation.startTime=n}attachTimeline({timeline:n,rangeStart:i,rangeEnd:o,observe:a}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,n&&Zk()?(this.animation.timeline=n,i&&(this.animation.rangeStart=i),o&&(this.animation.rangeEnd=o),jt):a(this)}}const kv={anticipate:Zy,backInOut:Jy,circInOut:tv};function nT(e){return e in kv}function rT(e){typeof e.ease=="string"&&nT(e.ease)&&(e.ease=kv[e.ease])}const su=10;class iT extends Sv{constructor(n){rT(n),mv(n),super(n),n.startTime!==void 0&&n.autoplay!==!1&&(this.startTime=n.startTime),this.options=n}updateMotionValue(n){const{motionValue:i,onUpdate:o,onComplete:a,element:c,...u}=this.options;if(!i)return;if(n!==void 0){i.set(n);return}const h=new Ra({...u,autoplay:!1}),f=Math.max(su,dt.now()-this.startTime),p=un(0,su,f-su),g=h.sample(f).value,{name:y}=this.options;c&&y&&vv(c,y,g),i.setWithVelocity(h.sample(Math.max(0,f-p)).value,g,p),h.stop()}}const Fm=(e,n)=>n==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Qt.test(e)||e==="0")&&!e.startsWith("url("));function oT(e){const n=e[0];if(e.length===1)return!0;for(let i=0;i<e.length;i++)if(e[i]!==n)return!0}function sT(e,n,i,o){const a=e[0];if(a===null)return!1;if(n==="display"||n==="visibility")return!0;const c=e[e.length-1],u=Fm(a,n),h=Fm(c,n);return!u||!h?!1:oT(e)||(i==="spring"||bv(i))&&o}function Bu(e){e.duration=0,e.type="keyframes"}const Tv=new Set(["opacity","clipPath","filter","transform"]),aT=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function lT(e){for(let n=0;n<e.length;n++)if(typeof e[n]=="string"&&aT.test(e[n]))return!0;return!1}const cT=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),uT=qy(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function hT(e){const{motionValue:n,name:i,repeatDelay:o,repeatType:a,damping:c,type:u,keyframes:h}=e;if(!(n?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:g}=n.owner.getProps();return uT()&&i&&(Tv.has(i)||cT.has(i)&&lT(h))&&(i!=="transform"||!g)&&!p&&!o&&a!=="mirror"&&c!==0&&u!=="inertia"}const dT=40;class fT extends wh{constructor({autoplay:n=!0,delay:i=0,type:o="keyframes",repeat:a=0,repeatDelay:c=0,repeatType:u="loop",keyframes:h,name:f,motionValue:p,element:g,...y}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=dt.now();const v={autoplay:n,delay:i,type:o,repeat:a,repeatDelay:c,repeatType:u,name:f,motionValue:p,element:g,...y},w=g?.KeyframeResolver||xh;this.keyframeResolver=new w(h,(b,S,k)=>this.onKeyframesResolved(b,S,v,!k),f,p,g),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(n,i,o,a){this.keyframeResolver=void 0;const{name:c,type:u,velocity:h,delay:f,isHandoff:p,onUpdate:g}=o;this.resolvedAt=dt.now();let y=!0;sT(n,c,u,h)||(y=!1,(Xn.instantAnimations||!f)&&g?.(Ha(n,o,i)),n[0]=n[n.length-1],Bu(o),o.repeat=0);const w={startTime:a?this.resolvedAt?this.resolvedAt-this.createdAt>dT?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:i,...o,keyframes:n},b=y&&!p&&hT(w),S=w.motionValue?.owner?.current;let k;if(b)try{k=new iT({...w,element:S})}catch{k=new Ra(w)}else k=new Ra(w);k.finished.then(()=>{this.notifyFinished()}).catch(jt),this.pendingTimeline&&(this.stopTimeline=k.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=k}get finished(){return this._animation?this.animation.finished:this._finished}then(n,i){return this.finished.finally(n).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Yk()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(n){this.animation.time=n}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(n){this.animation.speed=n}get startTime(){return this.animation.startTime}attachTimeline(n){return this._animation?this.stopTimeline=this.animation.attachTimeline(n):this.pendingTimeline=n,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function Ev(e,n,i,o=0,a=1){const c=Array.from(e).sort((p,g)=>p.sortNodePosition(g)).indexOf(n),u=e.size,h=(u-1)*o;return typeof i=="function"?i(c,u):a===1?c*o:h-c*o}const pT=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function mT(e){const n=pT.exec(e);if(!n)return[,];const[,i,o,a]=n;return[`--${i??o}`,a]}function Pv(e,n,i=1){const[o,a]=mT(e);if(!o)return;const c=window.getComputedStyle(n).getPropertyValue(o);if(c){const u=c.trim();return Uy(u)?parseFloat(u):u}return ph(a)?Pv(a,n,i+1):a}const gT={type:"spring",stiffness:500,damping:25,restSpeed:10},yT=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),vT={type:"keyframes",duration:.8},wT={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},xT=(e,{keyframes:n})=>n.length>2?vT:gi.has(e)?e.startsWith("scale")?yT(n[1]):gT:wT;function Cv(e,n){if(e?.inherit&&n){const{inherit:i,...o}=e;return{...n,...o}}return e}function Sh(e,n){const i=e?.[n]??e?.default??e;return i!==e?Cv(i,e):i}const bT=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function ST(e){for(const n in e)if(!bT.has(n))return!0;return!1}const kh=(e,n,i,o={},a,c)=>u=>{const h=Sh(o,e)||{},f=h.delay||o.delay||0;let{elapsed:p=0}=o;p=p-Ct(f);const g={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:n.getVelocity(),...h,delay:-p,onUpdate:v=>{n.set(v),h.onUpdate&&h.onUpdate(v)},onComplete:()=>{u(),h.onComplete&&h.onComplete()},name:e,motionValue:n,element:c?void 0:a};ST(h)||Object.assign(g,xT(e,g)),g.duration&&(g.duration=Ct(g.duration)),g.repeatDelay&&(g.repeatDelay=Ct(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let y=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(Bu(g),g.delay===0&&(y=!0)),(Xn.instantAnimations||Xn.skipAnimations||a?.shouldSkipAnimations)&&(y=!0,Bu(g),g.delay=0),g.allowFlatten=!h.type&&!h.ease,y&&!c&&n.get()!==void 0){const v=Ha(g.keyframes,h);if(v!==void 0){Ce.update(()=>{g.onUpdate(v),g.onComplete()});return}}return h.isSync?new Ra(g):new fT(g)};function jm(e){const n=[{},{}];return e?.values.forEach((i,o)=>{n[0][o]=i.get(),n[1][o]=i.getVelocity()}),n}function Th(e,n,i,o){if(typeof n=="function"){const[a,c]=jm(o);n=n(i!==void 0?i:e.custom,a,c)}if(typeof n=="string"&&(n=e.variants&&e.variants[n]),typeof n=="function"){const[a,c]=jm(o);n=n(i!==void 0?i:e.custom,a,c)}return n}function Ir(e,n,i){const o=e.getProps();return Th(o,n,i!==void 0?i:o.custom,e)}const Iv=new Set(["width","height","top","left","right","bottom",...mi]),Bm=30,kT=e=>!isNaN(parseFloat(e)),Vm={current:void 0};class TT{constructor(n,i={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{const a=dt.now();if(this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const c of this.dependents)c.dirty()},this.hasAnimated=!1,this.setCurrent(n),this.owner=i.owner}setCurrent(n){this.current=n,this.updatedAt=dt.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=kT(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return this.on("change",n)}on(n,i){this.events[n]||(this.events[n]=new hh);const o=this.events[n].add(i);return n==="change"?()=>{o(),Ce.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,i){this.passiveEffect=n,this.stopPassiveEffect=i}set(n){this.passiveEffect?this.passiveEffect(n,this.updateAndNotify):this.updateAndNotify(n)}setWithVelocity(n,i,o){this.set(i),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-o}jump(n,i=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(n){this.dependents||(this.dependents=new Set),this.dependents.add(n)}removeDependent(n){this.dependents&&this.dependents.delete(n)}get(){return Vm.current&&Vm.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const n=dt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>Bm)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,Bm);return Ky(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(n){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=n(i),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function di(e,n){return new TT(e,n)}const Vu=e=>Array.isArray(e);function ET(e,n,i){e.hasValue(n)?e.getValue(n).set(i):e.addValue(n,di(i))}function PT(e){return Vu(e)?e[e.length-1]||0:e}function CT(e,n){const i=Ir(e,n);let{transitionEnd:o={},transition:a={},...c}=i||{};c={...c,...o};for(const u in c){const h=PT(c[u]);ET(e,u,h)}}const it=e=>!!(e&&e.getVelocity);function IT(e){return!!(it(e)&&e.add)}function Nu(e,n){const i=e.getValue("willChange");if(IT(i))return i.add(n);if(!i&&Xn.WillChange){const o=new Xn.WillChange("auto");e.addValue("willChange",o),o.add(n)}}function Eh(e){return e.replace(/([A-Z])/g,n=>`-${n.toLowerCase()}`)}const _T="framerAppearId",_v="data-"+Eh(_T);function Av(e){return e.props[_v]}function AT({protectedKeys:e,needsAnimating:n},i){const o=e.hasOwnProperty(i)&&n[i]!==!0;return n[i]=!1,o}function Rv(e,n,{delay:i=0,transitionOverride:o,type:a}={}){let{transition:c,transitionEnd:u,...h}=n;const f=e.getDefaultTransition();c=c?Cv(c,f):f;const p=c?.reduceMotion;o&&(c=o);const g=[],y=a&&e.animationState&&e.animationState.getState()[a];for(const v in h){const w=e.getValue(v,e.latestValues[v]??null),b=h[v];if(b===void 0||y&&AT(y,v))continue;const S={delay:i,...Sh(c||{},v)},k=w.get();if(k!==void 0&&!w.isAnimating()&&!Array.isArray(b)&&b===k&&!S.velocity){Ce.update(()=>w.set(b));continue}let T=!1;if(window.MotionHandoffAnimation){const L=Av(e);if(L){const F=window.MotionHandoffAnimation(L,v,Ce);F!==null&&(S.startTime=F,T=!0)}}Nu(e,v);const A=p??e.shouldReduceMotion;w.start(kh(v,w,b,A&&Iv.has(v)?{type:!1}:S,e,T));const R=w.animation;R&&g.push(R)}if(u){const v=()=>Ce.update(()=>{u&&CT(e,u)});g.length?Promise.all(g).then(v):v()}return g}function zu(e,n,i={}){const o=Ir(e,n,i.type==="exit"?e.presenceContext?.custom:void 0);let{transition:a=e.getDefaultTransition()||{}}=o||{};i.transitionOverride&&(a=i.transitionOverride);const c=o?()=>Promise.all(Rv(e,o,i)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(f=0)=>{const{delayChildren:p=0,staggerChildren:g,staggerDirection:y}=a;return RT(e,n,f,p,g,y,i)}:()=>Promise.resolve(),{when:h}=a;if(h){const[f,p]=h==="beforeChildren"?[c,u]:[u,c];return f().then(()=>p())}else return Promise.all([c(),u(i.delay)])}function RT(e,n,i=0,o=0,a=0,c=1,u){const h=[];for(const f of e.variantChildren)f.notify("AnimationStart",n),h.push(zu(f,n,{...u,delay:i+(typeof o=="function"?0:o)+Ev(e.variantChildren,f,o,a,c)}).then(()=>f.notify("AnimationComplete",n)));return Promise.all(h)}function MT(e,n,i={}){e.notify("AnimationStart",n);let o;if(Array.isArray(n)){const a=n.map(c=>zu(e,c,i));o=Promise.all(a)}else if(typeof n=="string")o=zu(e,n,i);else{const a=typeof n=="function"?Ir(e,n,i.custom):n;o=Promise.all(Rv(e,a,i))}return o.then(()=>{e.notify("AnimationComplete",n)})}const LT={test:e=>e==="auto",parse:e=>e},Mv=e=>n=>n.test(e),Lv=[pi,ie,ln,Un,ok,ik,LT],Nm=e=>Lv.find(Mv(e));function DT(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||$y(e):!0}const OT=new Set(["brightness","contrast","saturate","opacity"]);function FT(e){const[n,i]=e.slice(0,-1).split("(");if(n==="drop-shadow")return e;const[o]=i.match(mh)||[];if(!o)return e;const a=i.replace(o,"");let c=OT.has(n)?1:0;return o!==i&&(c*=100),n+"("+c+a+")"}const jT=/\b([a-z-]*)\(.*?\)/gu,Wu={...Qt,getAnimatableNone:e=>{const n=e.match(jT);return n?n.map(FT).join(" "):e}},Uu={...Qt,getAnimatableNone:e=>{const n=Qt.parse(e);return Qt.createTransformer(e)(n.map(o=>typeof o=="number"?0:typeof o=="object"?{...o,alpha:1}:o))}},zm={...pi,transform:Math.round},BT={rotate:Un,rotateX:Un,rotateY:Un,rotateZ:Un,scale:na,scaleX:na,scaleY:na,scaleZ:na,skew:Un,skewX:Un,skewY:Un,distance:ie,translateX:ie,translateY:ie,translateZ:ie,x:ie,y:ie,z:ie,perspective:ie,transformPerspective:ie,opacity:Ro,originX:Pm,originY:Pm,originZ:ie},Ph={borderWidth:ie,borderTopWidth:ie,borderRightWidth:ie,borderBottomWidth:ie,borderLeftWidth:ie,borderRadius:ie,borderTopLeftRadius:ie,borderTopRightRadius:ie,borderBottomRightRadius:ie,borderBottomLeftRadius:ie,width:ie,maxWidth:ie,height:ie,maxHeight:ie,top:ie,right:ie,bottom:ie,left:ie,inset:ie,insetBlock:ie,insetBlockStart:ie,insetBlockEnd:ie,insetInline:ie,insetInlineStart:ie,insetInlineEnd:ie,padding:ie,paddingTop:ie,paddingRight:ie,paddingBottom:ie,paddingLeft:ie,paddingBlock:ie,paddingBlockStart:ie,paddingBlockEnd:ie,paddingInline:ie,paddingInlineStart:ie,paddingInlineEnd:ie,margin:ie,marginTop:ie,marginRight:ie,marginBottom:ie,marginLeft:ie,marginBlock:ie,marginBlockStart:ie,marginBlockEnd:ie,marginInline:ie,marginInlineStart:ie,marginInlineEnd:ie,fontSize:ie,backgroundPositionX:ie,backgroundPositionY:ie,...BT,zIndex:zm,fillOpacity:Ro,strokeOpacity:Ro,numOctaves:zm},VT={...Ph,color:Ue,backgroundColor:Ue,outlineColor:Ue,fill:Ue,stroke:Ue,borderColor:Ue,borderTopColor:Ue,borderRightColor:Ue,borderBottomColor:Ue,borderLeftColor:Ue,filter:Wu,WebkitFilter:Wu,mask:Uu,WebkitMask:Uu},Dv=e=>VT[e],NT=new Set([Wu,Uu]);function Ov(e,n){let i=Dv(e);return NT.has(i)||(i=Qt),i.getAnimatableNone?i.getAnimatableNone(n):void 0}const zT=new Set(["auto","none","0"]);function WT(e,n,i){let o=0,a;for(;o<e.length&&!a;){const c=e[o];typeof c=="string"&&!zT.has(c)&&hi(c).values.length&&(a=e[o]),o++}if(a&&i)for(const c of n)e[c]=Ov(i,a)}class UT extends xh{constructor(n,i,o,a,c){super(n,i,o,a,c,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:i,name:o}=this;if(!i||!i.current)return;super.readKeyframes();for(let g=0;g<n.length;g++){let y=n[g];if(typeof y=="string"&&(y=y.trim(),ph(y))){const v=Pv(y,i.current);v!==void 0&&(n[g]=v),g===n.length-1&&(this.finalKeyframe=y)}}if(this.resolveNoneKeyframes(),!Iv.has(o)||n.length!==2)return;const[a,c]=n,u=Nm(a),h=Nm(c),f=Em(a),p=Em(c);if(f!==p&&Gn[o]){this.needsMeasurement=!0;return}if(u!==h)if(Dm(u)&&Dm(h))for(let g=0;g<n.length;g++){const y=n[g];typeof y=="string"&&(n[g]=parseFloat(y))}else Gn[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:i}=this,o=[];for(let a=0;a<n.length;a++)(n[a]===null||DT(n[a]))&&o.push(a);o.length&&WT(n,o,i)}measureInitialState(){const{element:n,unresolvedKeyframes:i,name:o}=this;if(!n||!n.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Gn[o](n.measureViewportBox(),window.getComputedStyle(n.current)),i[0]=this.measuredOrigin;const a=i[i.length-1];a!==void 0&&n.getValue(o,a).jump(a,!1)}measureEndState(){const{element:n,name:i,unresolvedKeyframes:o}=this;if(!n||!n.current)return;const a=n.getValue(i);a&&a.jump(this.measuredOrigin,!1);const c=o.length-1,u=o[c];o[c]=Gn[i](n.measureViewportBox(),window.getComputedStyle(n.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),this.removedTransforms?.length&&this.removedTransforms.forEach(([h,f])=>{n.getValue(h).set(f)}),this.resolveNoneKeyframes()}}function Fv(e,n,i){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;n&&(o=n.current);const a=i?.[e]??o.querySelectorAll(e);return a?Array.from(a):[]}return Array.from(e).filter(o=>o!=null)}const jv=(e,n)=>n&&typeof e=="number"?n.transform(e):e;function da(e){return Hy(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:Ch}=iv(queueMicrotask,!1),Kt={x:!1,y:!1};function Bv(){return Kt.x||Kt.y}function HT(e){return e==="x"||e==="y"?Kt[e]?null:(Kt[e]=!0,()=>{Kt[e]=!1}):Kt.x||Kt.y?null:(Kt.x=Kt.y=!0,()=>{Kt.x=Kt.y=!1})}function Vv(e,n){const i=Fv(e),o=new AbortController,a={passive:!0,...n,signal:o.signal};return[i,a,()=>o.abort()]}function $T(e){return!(e.pointerType==="touch"||Bv())}function qT(e,n,i={}){const[o,a,c]=Vv(e,i);return o.forEach(u=>{let h=!1,f=!1,p;const g=()=>{u.removeEventListener("pointerleave",b)},y=k=>{p&&(p(k),p=void 0),g()},v=k=>{h=!1,window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",v),f&&(f=!1,y(k))},w=()=>{h=!0,window.addEventListener("pointerup",v,a),window.addEventListener("pointercancel",v,a)},b=k=>{if(k.pointerType!=="touch"){if(h){f=!0;return}y(k)}},S=k=>{if(!$T(k))return;f=!1;const T=n(u,k);typeof T=="function"&&(p=T,u.addEventListener("pointerleave",b,a))};u.addEventListener("pointerenter",S,a),u.addEventListener("pointerdown",w,a)}),c}const Nv=(e,n)=>n?e===n?!0:Nv(e,n.parentElement):!1,Ih=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,KT=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function GT(e){return KT.has(e.tagName)||e.isContentEditable===!0}const QT=new Set(["INPUT","SELECT","TEXTAREA"]);function YT(e){return QT.has(e.tagName)||e.isContentEditable===!0}const fa=new WeakSet;function Wm(e){return n=>{n.key==="Enter"&&e(n)}}function au(e,n){e.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const XT=(e,n)=>{const i=e.currentTarget;if(!i)return;const o=Wm(()=>{if(fa.has(i))return;au(i,"down");const a=Wm(()=>{au(i,"up")}),c=()=>au(i,"cancel");i.addEventListener("keyup",a,n),i.addEventListener("blur",c,n)});i.addEventListener("keydown",o,n),i.addEventListener("blur",()=>i.removeEventListener("keydown",o),n)};function Um(e){return Ih(e)&&!Bv()}const Hm=new WeakSet;function JT(e,n,i={}){const[o,a,c]=Vv(e,i),u=h=>{const f=h.currentTarget;if(!Um(h)||Hm.has(h))return;fa.add(f),i.stopPropagation&&Hm.add(h);const p=n(f,h),g=(w,b)=>{window.removeEventListener("pointerup",y),window.removeEventListener("pointercancel",v),fa.has(f)&&fa.delete(f),Um(w)&&typeof p=="function"&&p(w,{success:b})},y=w=>{g(w,f===window||f===document||i.useGlobalTarget||Nv(f,w.target))},v=w=>{g(w,!1)};window.addEventListener("pointerup",y,a),window.addEventListener("pointercancel",v,a)};return o.forEach(h=>{(i.useGlobalTarget?window:h).addEventListener("pointerdown",u,a),da(h)&&(h.addEventListener("focus",p=>XT(p,a)),!GT(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),c}function _h(e){return Hy(e)&&"ownerSVGElement"in e}const pa=new WeakMap;let ma;const zv=(e,n,i)=>(o,a)=>a&&a[0]?a[0][e+"Size"]:_h(o)&&"getBBox"in o?o.getBBox()[n]:o[i],ZT=zv("inline","width","offsetWidth"),eE=zv("block","height","offsetHeight");function tE({target:e,borderBoxSize:n}){pa.get(e)?.forEach(i=>{i(e,{get width(){return ZT(e,n)},get height(){return eE(e,n)}})})}function nE(e){e.forEach(tE)}function rE(){typeof ResizeObserver>"u"||(ma=new ResizeObserver(nE))}function iE(e,n){ma||rE();const i=Fv(e);return i.forEach(o=>{let a=pa.get(o);a||(a=new Set,pa.set(o,a)),a.add(n),ma?.observe(o)}),()=>{i.forEach(o=>{const a=pa.get(o);a?.delete(n),a?.size||ma?.unobserve(o)})}}const ga=new Set;let oi;function oE(){oi=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};ga.forEach(n=>n(e))},window.addEventListener("resize",oi)}function sE(e){return ga.add(e),oi||oE(),()=>{ga.delete(e),!ga.size&&typeof oi=="function"&&(window.removeEventListener("resize",oi),oi=void 0)}}function $m(e,n){return typeof e=="function"?sE(e):iE(e,n)}function aE(e){return _h(e)&&e.tagName==="svg"}const lE=[...Lv,Ue,Qt],cE=e=>lE.find(Mv(e)),qm=()=>({translate:0,scale:1,origin:0,originPoint:0}),si=()=>({x:qm(),y:qm()}),Km=()=>({min:0,max:0}),Ke=()=>({x:Km(),y:Km()}),uE=new WeakMap;function $a(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Mo(e){return typeof e=="string"||Array.isArray(e)}const Ah=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Rh=["initial",...Ah];function qa(e){return $a(e.animate)||Rh.some(n=>Mo(e[n]))}function Wv(e){return!!(qa(e)||e.variants)}function hE(e,n,i){for(const o in n){const a=n[o],c=i[o];if(it(a))e.addValue(o,a);else if(it(c))e.addValue(o,di(a,{owner:e}));else if(c!==a)if(e.hasValue(o)){const u=e.getValue(o);u.liveStyle===!0?u.jump(a):u.hasAnimated||u.set(a)}else{const u=e.getStaticValue(o);e.addValue(o,di(u!==void 0?u:a,{owner:e}))}}for(const o in i)n[o]===void 0&&e.removeValue(o);return n}const Ma={current:null},Mh={current:!1},dE=typeof window<"u";function Uv(){if(Mh.current=!0,!!dE)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),n=()=>Ma.current=e.matches;e.addEventListener("change",n),n()}else Ma.current=!1}const Gm=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let La={};function Hv(e){La=e}function fE(){return La}class pE{scrapeMotionValuesFromProps(n,i,o){return{}}constructor({parent:n,props:i,presenceContext:o,reducedMotionConfig:a,skipAnimations:c,blockInitialAnimation:u,visualState:h},f={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=xh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const w=dt.now();this.renderScheduledAt<w&&(this.renderScheduledAt=w,Ce.render(this.render,!1,!0))};const{latestValues:p,renderState:g}=h;this.latestValues=p,this.baseTarget={...p},this.initialValues=i.initial?{...p}:{},this.renderState=g,this.parent=n,this.props=i,this.presenceContext=o,this.depth=n?n.depth+1:0,this.reducedMotionConfig=a,this.skipAnimationsConfig=c,this.options=f,this.blockInitialAnimation=!!u,this.isControllingVariants=qa(i),this.isVariantNode=Wv(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:y,...v}=this.scrapeMotionValuesFromProps(i,{},this);for(const w in v){const b=v[w];p[w]!==void 0&&it(b)&&b.set(p[w])}}mount(n){if(this.hasBeenMounted)for(const i in this.initialValues)this.values.get(i)?.jump(this.initialValues[i]),this.latestValues[i]=this.initialValues[i];this.current=n,uE.set(n,this),this.projection&&!this.projection.instance&&this.projection.mount(n),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,o)=>this.bindToMotionValue(o,i)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Mh.current||Uv(),this.shouldReduceMotion=Ma.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Jn(this.notifyUpdate),Jn(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const i=this.features[n];i&&(i.unmount(),i.isMounted=!1)}this.current=null}addChild(n){this.children.add(n),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(n)}removeChild(n){this.children.delete(n),this.enteringChildren&&this.enteringChildren.delete(n)}bindToMotionValue(n,i){if(this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)(),i.accelerate&&Tv.has(n)&&this.current instanceof HTMLElement){const{factory:u,keyframes:h,times:f,ease:p,duration:g}=i.accelerate,y=new Sv({element:this.current,name:n,keyframes:h,times:f,ease:p,duration:Ct(g)}),v=u(y);this.valueSubscriptions.set(n,()=>{v(),y.cancel()});return}const o=gi.has(n);o&&this.onBindTransform&&this.onBindTransform();const a=i.on("change",u=>{this.latestValues[n]=u,this.props.onUpdate&&Ce.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let c;typeof window<"u"&&window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,n,i)),this.valueSubscriptions.set(n,()=>{a(),c&&c(),i.owner&&i.stop()})}sortNodePosition(n){return!this.current||!this.sortInstanceNodePosition||this.type!==n.type?0:this.sortInstanceNodePosition(this.current,n.current)}updateFeatures(){let n="animation";for(n in La){const i=La[n];if(!i)continue;const{isEnabled:o,Feature:a}=i;if(!this.features[n]&&a&&o(this.props)&&(this.features[n]=new a(this)),this.features[n]){const c=this.features[n];c.isMounted?c.update():(c.mount(),c.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ke()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,i){this.latestValues[n]=i}update(n,i){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let o=0;o<Gm.length;o++){const a=Gm[o];this.propEventSubscriptions[a]&&(this.propEventSubscriptions[a](),delete this.propEventSubscriptions[a]);const c="on"+a,u=n[c];u&&(this.propEventSubscriptions[a]=this.on(a,u))}this.prevMotionValues=hE(this,this.scrapeMotionValuesFromProps(n,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(n){return this.props.variants?this.props.variants[n]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(n){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(n),()=>i.variantChildren.delete(n)}addValue(n,i){const o=this.values.get(n);i!==o&&(o&&this.removeValue(n),this.bindToMotionValue(n,i),this.values.set(n,i),this.latestValues[n]=i.get())}removeValue(n){this.values.delete(n);const i=this.valueSubscriptions.get(n);i&&(i(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,i){if(this.props.values&&this.props.values[n])return this.props.values[n];let o=this.values.get(n);return o===void 0&&i!==void 0&&(o=di(i===null?void 0:i,{owner:this}),this.addValue(n,o)),o}readValue(n,i){let o=this.latestValues[n]!==void 0||!this.current?this.latestValues[n]:this.getBaseTargetFromProps(this.props,n)??this.readValueFromInstance(this.current,n,this.options);return o!=null&&(typeof o=="string"&&(Uy(o)||$y(o))?o=parseFloat(o):!cE(o)&&Qt.test(i)&&(o=Ov(n,i)),this.setBaseTarget(n,it(o)?o.get():o)),it(o)?o.get():o}setBaseTarget(n,i){this.baseTarget[n]=i}getBaseTarget(n){const{initial:i}=this.props;let o;if(typeof i=="string"||typeof i=="object"){const c=Th(this.props,i,this.presenceContext?.custom);c&&(o=c[n])}if(i&&o!==void 0)return o;const a=this.getBaseTargetFromProps(this.props,n);return a!==void 0&&!it(a)?a:this.initialValues[n]!==void 0&&o===void 0?void 0:this.baseTarget[n]}on(n,i){return this.events[n]||(this.events[n]=new hh),this.events[n].add(i)}notify(n,...i){this.events[n]&&this.events[n].notify(...i)}scheduleRenderMicrotask(){Ch.render(this.render)}}class $v extends pE{constructor(){super(...arguments),this.KeyframeResolver=UT}sortInstanceNodePosition(n,i){return n.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(n,i){const o=n.style;return o?o[i]:void 0}removeValueFromRenderState(n,{vars:i,style:o}){delete i[n],delete o[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;it(n)&&(this.childSubscription=n.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}class tr{constructor(n){this.isMounted=!1,this.node=n}update(){}}function qv({top:e,left:n,right:i,bottom:o}){return{x:{min:n,max:i},y:{min:e,max:o}}}function mE({x:e,y:n}){return{top:n.min,right:e.max,bottom:n.max,left:e.min}}function gE(e,n){if(!n)return e;const i=n({x:e.left,y:e.top}),o=n({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:o.y,right:o.x}}function lu(e){return e===void 0||e===1}function Hu({scale:e,scaleX:n,scaleY:i}){return!lu(e)||!lu(n)||!lu(i)}function wr(e){return Hu(e)||Kv(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Kv(e){return Qm(e.x)||Qm(e.y)}function Qm(e){return e&&e!=="0%"}function Da(e,n,i){const o=e-i,a=n*o;return i+a}function Ym(e,n,i,o,a){return a!==void 0&&(e=Da(e,a,o)),Da(e,i,o)+n}function $u(e,n=0,i=1,o,a){e.min=Ym(e.min,n,i,o,a),e.max=Ym(e.max,n,i,o,a)}function Gv(e,{x:n,y:i}){$u(e.x,n.translate,n.scale,n.originPoint),$u(e.y,i.translate,i.scale,i.originPoint)}const Xm=.999999999999,Jm=1.0000000000001;function yE(e,n,i,o=!1){const a=i.length;if(!a)return;n.x=n.y=1;let c,u;for(let h=0;h<a;h++){c=i[h],u=c.projectionDelta;const{visualElement:f}=c.options;f&&f.props.style&&f.props.style.display==="contents"||(o&&c.options.layoutScroll&&c.scroll&&c!==c.root&&(sn(e.x,-c.scroll.offset.x),sn(e.y,-c.scroll.offset.y)),u&&(n.x*=u.x.scale,n.y*=u.y.scale,Gv(e,u)),o&&wr(c.latestValues)&&ya(e,c.latestValues,c.layout?.layoutBox))}n.x<Jm&&n.x>Xm&&(n.x=1),n.y<Jm&&n.y>Xm&&(n.y=1)}function sn(e,n){e.min+=n,e.max+=n}function Zm(e,n,i,o,a=.5){const c=Me(e.min,e.max,a);$u(e,n,i,c,o)}function eg(e,n){return typeof e=="string"?parseFloat(e)/100*(n.max-n.min):e}function ya(e,n,i){const o=i??e;Zm(e.x,eg(n.x,o.x),n.scaleX,n.scale,n.originX),Zm(e.y,eg(n.y,o.y),n.scaleY,n.scale,n.originY)}function Qv(e,n){return qv(gE(e.getBoundingClientRect(),n))}function vE(e,n,i){const o=Qv(e,i),{scroll:a}=n;return a&&(sn(o.x,a.offset.x),sn(o.y,a.offset.y)),o}const wE={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},xE=mi.length;function bE(e,n,i){let o="",a=!0;for(let c=0;c<xE;c++){const u=mi[c],h=e[u];if(h===void 0)continue;let f=!0;if(typeof h=="number")f=h===(u.startsWith("scale")?1:0);else{const p=parseFloat(h);f=u.startsWith("scale")?p===1:p===0}if(!f||i){const p=jv(h,Ph[u]);if(!f){a=!1;const g=wE[u]||u;o+=`${g}(${p}) `}i&&(n[u]=p)}}return o=o.trim(),i?o=i(n,a?"":o):a&&(o="none"),o}function Lh(e,n,i){const{style:o,vars:a,transformOrigin:c}=e;let u=!1,h=!1;for(const f in n){const p=n[f];if(gi.has(f)){u=!0;continue}else if(sv(f)){a[f]=p;continue}else{const g=jv(p,Ph[f]);f.startsWith("origin")?(h=!0,c[f]=g):o[f]=g}}if(n.transform||(u||i?o.transform=bE(n,e.transform,i):o.transform&&(o.transform="none")),h){const{originX:f="50%",originY:p="50%",originZ:g=0}=c;o.transformOrigin=`${f} ${p} ${g}`}}function Yv(e,{style:n,vars:i},o,a){const c=e.style;let u;for(u in n)c[u]=n[u];a?.applyProjectionStyles(c,o);for(u in i)c.setProperty(u,i[u])}function tg(e,n){return n.max===n.min?0:e/(n.max-n.min)*100}const mo={correct:(e,n)=>{if(!n.target)return e;if(typeof e=="string")if(ie.test(e))e=parseFloat(e);else return e;const i=tg(e,n.target.x),o=tg(e,n.target.y);return`${i}% ${o}%`}},SE={correct:(e,{treeScale:n,projectionDelta:i})=>{const o=e,a=Qt.parse(e);if(a.length>5)return o;const c=Qt.createTransformer(e),u=typeof a[0]!="number"?1:0,h=i.x.scale*n.x,f=i.y.scale*n.y;a[0+u]/=h,a[1+u]/=f;const p=Me(h,f,.5);return typeof a[2+u]=="number"&&(a[2+u]/=p),typeof a[3+u]=="number"&&(a[3+u]/=p),c(a)}},qu={borderRadius:{...mo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:mo,borderTopRightRadius:mo,borderBottomLeftRadius:mo,borderBottomRightRadius:mo,boxShadow:SE};function Xv(e,{layout:n,layoutId:i}){return gi.has(e)||e.startsWith("origin")||(n||i!==void 0)&&(!!qu[e]||e==="opacity")}function Dh(e,n,i){const o=e.style,a=n?.style,c={};if(!o)return c;for(const u in o)(it(o[u])||a&&it(a[u])||Xv(u,e)||i?.getValue(u)?.liveStyle!==void 0)&&(c[u]=o[u]);return c}function kE(e){return window.getComputedStyle(e)}class TE extends $v{constructor(){super(...arguments),this.type="html",this.renderInstance=Yv}readValueFromInstance(n,i){if(gi.has(i))return this.projection?.isProjecting?Lu(i):$k(n,i);{const o=kE(n),a=(sv(i)?o.getPropertyValue(i):o[i])||0;return typeof a=="string"?a.trim():a}}measureInstanceViewportBox(n,{transformPagePoint:i}){return Qv(n,i)}build(n,i,o){Lh(n,i,o.transformTemplate)}scrapeMotionValuesFromProps(n,i,o){return Dh(n,i,o)}}const EE={offset:"stroke-dashoffset",array:"stroke-dasharray"},PE={offset:"strokeDashoffset",array:"strokeDasharray"};function CE(e,n,i=1,o=0,a=!0){e.pathLength=1;const c=a?EE:PE;e[c.offset]=`${-o}`,e[c.array]=`${n} ${i}`}const IE=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Jv(e,{attrX:n,attrY:i,attrScale:o,pathLength:a,pathSpacing:c=1,pathOffset:u=0,...h},f,p,g){if(Lh(e,h,p),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:y,style:v}=e;y.transform&&(v.transform=y.transform,delete y.transform),(v.transform||y.transformOrigin)&&(v.transformOrigin=y.transformOrigin??"50% 50%",delete y.transformOrigin),v.transform&&(v.transformBox=g?.transformBox??"fill-box",delete y.transformBox);for(const w of IE)y[w]!==void 0&&(v[w]=y[w],delete y[w]);n!==void 0&&(y.x=n),i!==void 0&&(y.y=i),o!==void 0&&(y.scale=o),a!==void 0&&CE(y,a,c,u,!1)}const Zv=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),ew=e=>typeof e=="string"&&e.toLowerCase()==="svg";function _E(e,n,i,o){Yv(e,n,void 0,o);for(const a in n.attrs)e.setAttribute(Zv.has(a)?a:Eh(a),n.attrs[a])}function tw(e,n,i){const o=Dh(e,n,i);for(const a in e)if(it(e[a])||it(n[a])){const c=mi.indexOf(a)!==-1?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a;o[c]=e[a]}return o}class AE extends $v{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ke}getBaseTargetFromProps(n,i){return n[i]}readValueFromInstance(n,i){if(gi.has(i)){const o=Dv(i);return o&&o.default||0}return i=Zv.has(i)?i:Eh(i),n.getAttribute(i)}scrapeMotionValuesFromProps(n,i,o){return tw(n,i,o)}build(n,i,o){Jv(n,i,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(n,i,o,a){_E(n,i,o,a)}mount(n){this.isSVGTag=ew(n.tagName),super.mount(n)}}const RE=Rh.length;function nw(e){if(!e)return;if(!e.isControllingVariants){const i=e.parent?nw(e.parent)||{}:{};return e.props.initial!==void 0&&(i.initial=e.props.initial),i}const n={};for(let i=0;i<RE;i++){const o=Rh[i],a=e.props[o];(Mo(a)||a===!1)&&(n[o]=a)}return n}function rw(e,n){if(!Array.isArray(n))return!1;const i=n.length;if(i!==e.length)return!1;for(let o=0;o<i;o++)if(n[o]!==e[o])return!1;return!0}const ME=[...Ah].reverse(),LE=Ah.length;function DE(e){return n=>Promise.all(n.map(({animation:i,options:o})=>MT(e,i,o)))}function OE(e){let n=DE(e),i=ng(),o=!0,a=!1;const c=p=>(g,y)=>{const v=Ir(e,y,p==="exit"?e.presenceContext?.custom:void 0);if(v){const{transition:w,transitionEnd:b,...S}=v;g={...g,...S,...b}}return g};function u(p){n=p(e)}function h(p){const{props:g}=e,y=nw(e.parent)||{},v=[],w=new Set;let b={},S=1/0;for(let T=0;T<LE;T++){const A=ME[T],R=i[A],L=g[A]!==void 0?g[A]:y[A],F=Mo(L),V=A===p?R.isActive:null;V===!1&&(S=T);let W=L===y[A]&&L!==g[A]&&F;if(W&&(o||a)&&e.manuallyAnimateOnMount&&(W=!1),R.protectedKeys={...b},!R.isActive&&V===null||!L&&!R.prevProp||$a(L)||typeof L=="boolean")continue;if(A==="exit"&&R.isActive&&V!==!0){R.prevResolvedValues&&(b={...b,...R.prevResolvedValues});continue}const N=FE(R.prevProp,L);let j=N||A===p&&R.isActive&&!W&&F||T>S&&F,z=!1;const $=Array.isArray(L)?L:[L];let U=$.reduce(c(A),{});V===!1&&(U={});const{prevResolvedValues:Q={}}=R,ae={...Q,...U},fe=K=>{j=!0,w.has(K)&&(z=!0,w.delete(K)),R.needsAnimating[K]=!0;const ee=e.getValue(K);ee&&(ee.liveStyle=!1)};for(const K in ae){const ee=U[K],Z=Q[K];if(b.hasOwnProperty(K))continue;let M=!1;Vu(ee)&&Vu(Z)?M=!rw(ee,Z):M=ee!==Z,M?ee!=null?fe(K):w.add(K):ee!==void 0&&w.has(K)?fe(K):R.protectedKeys[K]=!0}R.prevProp=L,R.prevResolvedValues=U,R.isActive&&(b={...b,...U}),(o||a)&&e.blockInitialAnimation&&(j=!1);const pe=W&&N;j&&(!pe||z)&&v.push(...$.map(K=>{const ee={type:A};if(typeof K=="string"&&(o||a)&&!pe&&e.manuallyAnimateOnMount&&e.parent){const{parent:Z}=e,M=Ir(Z,K);if(Z.enteringChildren&&M){const{delayChildren:H}=M.transition||{};ee.delay=Ev(Z.enteringChildren,e,H)}}return{animation:K,options:ee}}))}if(w.size){const T={};if(typeof g.initial!="boolean"){const A=Ir(e,Array.isArray(g.initial)?g.initial[0]:g.initial);A&&A.transition&&(T.transition=A.transition)}w.forEach(A=>{const R=e.getBaseTarget(A),L=e.getValue(A);L&&(L.liveStyle=!0),T[A]=R??null}),v.push({animation:T})}let k=!!v.length;return o&&(g.initial===!1||g.initial===g.animate)&&!e.manuallyAnimateOnMount&&(k=!1),o=!1,a=!1,k?n(v):Promise.resolve()}function f(p,g){if(i[p].isActive===g)return Promise.resolve();e.variantChildren?.forEach(v=>v.animationState?.setActive(p,g)),i[p].isActive=g;const y=h(p);for(const v in i)i[v].protectedKeys={};return y}return{animateChanges:h,setActive:f,setAnimateFunction:u,getState:()=>i,reset:()=>{i=ng(),a=!0}}}function FE(e,n){return typeof n=="string"?n!==e:Array.isArray(n)?!rw(n,e):!1}function vr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ng(){return{animate:vr(!0),whileInView:vr(),whileHover:vr(),whileTap:vr(),whileDrag:vr(),whileFocus:vr(),exit:vr()}}function Ku(e,n){e.min=n.min,e.max=n.max}function qt(e,n){Ku(e.x,n.x),Ku(e.y,n.y)}function rg(e,n){e.translate=n.translate,e.scale=n.scale,e.originPoint=n.originPoint,e.origin=n.origin}const iw=1e-4,jE=1-iw,BE=1+iw,ow=.01,VE=0-ow,NE=0+ow;function ft(e){return e.max-e.min}function zE(e,n,i){return Math.abs(e-n)<=i}function ig(e,n,i,o=.5){e.origin=o,e.originPoint=Me(n.min,n.max,e.origin),e.scale=ft(i)/ft(n),e.translate=Me(i.min,i.max,e.origin)-e.originPoint,(e.scale>=jE&&e.scale<=BE||isNaN(e.scale))&&(e.scale=1),(e.translate>=VE&&e.translate<=NE||isNaN(e.translate))&&(e.translate=0)}function bo(e,n,i,o){ig(e.x,n.x,i.x,o?o.originX:void 0),ig(e.y,n.y,i.y,o?o.originY:void 0)}function og(e,n,i,o=0){const a=o?Me(i.min,i.max,o):i.min;e.min=a+n.min,e.max=e.min+ft(n)}function WE(e,n,i,o){og(e.x,n.x,i.x,o?.x),og(e.y,n.y,i.y,o?.y)}function sg(e,n,i,o=0){const a=o?Me(i.min,i.max,o):i.min;e.min=n.min-a,e.max=e.min+ft(n)}function Oa(e,n,i,o){sg(e.x,n.x,i.x,o?.x),sg(e.y,n.y,i.y,o?.y)}function ag(e,n,i,o,a){return e-=n,e=Da(e,1/i,o),a!==void 0&&(e=Da(e,1/a,o)),e}function UE(e,n=0,i=1,o=.5,a,c=e,u=e){if(ln.test(n)&&(n=parseFloat(n),n=Me(u.min,u.max,n/100)-u.min),typeof n!="number")return;let h=Me(c.min,c.max,o);e===c&&(h-=n),e.min=ag(e.min,n,i,h,a),e.max=ag(e.max,n,i,h,a)}function lg(e,n,[i,o,a],c,u){UE(e,n[i],n[o],n[a],n.scale,c,u)}const HE=["x","scaleX","originX"],$E=["y","scaleY","originY"];function cg(e,n,i,o){lg(e.x,n,HE,i?i.x:void 0,o?o.x:void 0),lg(e.y,n,$E,i?i.y:void 0,o?o.y:void 0)}function ug(e){return e.translate===0&&e.scale===1}function sw(e){return ug(e.x)&&ug(e.y)}function hg(e,n){return e.min===n.min&&e.max===n.max}function qE(e,n){return hg(e.x,n.x)&&hg(e.y,n.y)}function dg(e,n){return Math.round(e.min)===Math.round(n.min)&&Math.round(e.max)===Math.round(n.max)}function aw(e,n){return dg(e.x,n.x)&&dg(e.y,n.y)}function fg(e){return ft(e.x)/ft(e.y)}function pg(e,n){return e.translate===n.translate&&e.scale===n.scale&&e.originPoint===n.originPoint}function rn(e){return[e("x"),e("y")]}function KE(e,n,i){let o="";const a=e.x.translate/n.x,c=e.y.translate/n.y,u=i?.z||0;if((a||c||u)&&(o=`translate3d(${a}px, ${c}px, ${u}px) `),(n.x!==1||n.y!==1)&&(o+=`scale(${1/n.x}, ${1/n.y}) `),i){const{transformPerspective:p,rotate:g,rotateX:y,rotateY:v,skewX:w,skewY:b}=i;p&&(o=`perspective(${p}px) ${o}`),g&&(o+=`rotate(${g}deg) `),y&&(o+=`rotateX(${y}deg) `),v&&(o+=`rotateY(${v}deg) `),w&&(o+=`skewX(${w}deg) `),b&&(o+=`skewY(${b}deg) `)}const h=e.x.scale*n.x,f=e.y.scale*n.y;return(h!==1||f!==1)&&(o+=`scale(${h}, ${f})`),o||"none"}const lw=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],GE=lw.length,mg=e=>typeof e=="string"?parseFloat(e):e,gg=e=>typeof e=="number"||ie.test(e);function QE(e,n,i,o,a,c){a?(e.opacity=Me(0,i.opacity??1,YE(o)),e.opacityExit=Me(n.opacity??1,0,XE(o))):c&&(e.opacity=Me(n.opacity??1,i.opacity??1,o));for(let u=0;u<GE;u++){const h=lw[u];let f=yg(n,h),p=yg(i,h);if(f===void 0&&p===void 0)continue;f||(f=0),p||(p=0),f===0||p===0||gg(f)===gg(p)?(e[h]=Math.max(Me(mg(f),mg(p),o),0),(ln.test(p)||ln.test(f))&&(e[h]+="%")):e[h]=p}(n.rotate||i.rotate)&&(e.rotate=Me(n.rotate||0,i.rotate||0,o))}function yg(e,n){return e[n]!==void 0?e[n]:e.borderRadius}const YE=cw(0,.5,ev),XE=cw(.5,.95,jt);function cw(e,n,i){return o=>o<e?0:o>n?1:i(Ao(e,n,o))}function JE(e,n,i){const o=it(e)?e:di(e);return o.start(kh("",o,n,i)),o.animation}function Lo(e,n,i,o={passive:!0}){return e.addEventListener(n,i,o),()=>e.removeEventListener(n,i)}const ZE=(e,n)=>e.depth-n.depth;class eP{constructor(){this.children=[],this.isDirty=!1}add(n){ch(this.children,n),this.isDirty=!0}remove(n){Ca(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(ZE),this.isDirty=!1,this.children.forEach(n)}}function tP(e,n){const i=dt.now(),o=({timestamp:a})=>{const c=a-i;c>=n&&(Jn(o),e(c-n))};return Ce.setup(o,!0),()=>Jn(o)}function va(e){return it(e)?e.get():e}class nP{constructor(){this.members=[]}add(n){ch(this.members,n);for(let i=this.members.length-1;i>=0;i--){const o=this.members[i];if(o===n||o===this.lead||o===this.prevLead)continue;const a=o.instance;(!a||a.isConnected===!1)&&!o.snapshot&&(Ca(this.members,o),o.unmount())}n.scheduleRender()}remove(n){if(Ca(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(n){for(let i=this.members.indexOf(n)-1;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1&&o.instance?.isConnected!==!1)return this.promote(o),!0}return!1}promote(n,i){const o=this.lead;if(n!==o&&(this.prevLead=o,this.lead=n,n.show(),o)){o.updateSnapshot(),n.scheduleRender();const{layoutDependency:a}=o.options,{layoutDependency:c}=n.options;(a===void 0||a!==c)&&(n.resumeFrom=o,i&&(o.preserveOpacity=!0),o.snapshot&&(n.snapshot=o.snapshot,n.snapshot.latestValues=o.animationValues||o.latestValues),n.root?.isUpdating&&(n.isLayoutDirty=!0)),n.options.crossfade===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(n=>{n.options.onExitComplete?.(),n.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(n=>n.instance&&n.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const wa={hasAnimatedSinceResize:!0,hasEverUpdated:!1},cu=["","X","Y","Z"],rP=1e3;let iP=0;function uu(e,n,i,o){const{latestValues:a}=n;a[e]&&(i[e]=a[e],n.setStaticValue(e,0),o&&(o[e]=0))}function uw(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:n}=e.options;if(!n)return;const i=Av(n);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:a,layoutId:c}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",Ce,!(a||c))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&uw(o)}function hw({attachResizeListener:e,defaultParent:n,measureScroll:i,checkIsScrollRoot:o,resetTransform:a}){return class{constructor(u={},h=n?.()){this.id=iP++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(aP),this.nodes.forEach(fP),this.nodes.forEach(pP),this.nodes.forEach(lP)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=u,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new eP)}addEventListener(u,h){return this.eventHandlers.has(u)||this.eventHandlers.set(u,new hh),this.eventHandlers.get(u).add(h)}notifyListeners(u,...h){const f=this.eventHandlers.get(u);f&&f.notify(...h)}hasListeners(u){return this.eventHandlers.has(u)}mount(u){if(this.instance)return;this.isSVG=_h(u)&&!aE(u),this.instance=u;const{layoutId:h,layout:f,visualElement:p}=this.options;if(p&&!p.current&&p.mount(u),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(f||h)&&(this.isLayoutDirty=!0),e){let g,y=0;const v=()=>this.root.updateBlockedByResize=!1;Ce.read(()=>{y=window.innerWidth}),e(u,()=>{const w=window.innerWidth;w!==y&&(y=w,this.root.updateBlockedByResize=!0,g&&g(),g=tP(v,250),wa.hasAnimatedSinceResize&&(wa.hasAnimatedSinceResize=!1,this.nodes.forEach(xg)))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&p&&(h||f)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:y,hasRelativeLayoutChanged:v,layout:w})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const b=this.options.transition||p.getDefaultTransition()||wP,{onLayoutAnimationStart:S,onLayoutAnimationComplete:k}=p.getProps(),T=!this.targetLayout||!aw(this.targetLayout,w),A=!y&&v;if(this.options.layoutRoot||this.resumeFrom||A||y&&(T||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const R={...Sh(b,"layout"),onPlay:S,onComplete:k};(p.shouldReduceMotion||this.options.layoutRoot)&&(R.delay=0,R.type=!1),this.startAnimation(R),this.setAnimationOrigin(g,A)}else y||xg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=w})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const u=this.getStack();u&&u.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Jn(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(mP),this.animationId++)}getTransformTemplate(){const{visualElement:u}=this.options;return u&&u.getProps().transformTemplate}willUpdate(u=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&uw(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const y=this.path[g];y.shouldResetTransform=!0,(typeof y.latestValues.x=="string"||typeof y.latestValues.y=="string")&&(y.isLayoutDirty=!0),y.updateScroll("snapshot"),y.options.layoutRoot&&y.willUpdate(!1)}const{layoutId:h,layout:f}=this.options;if(h===void 0&&!f)return;const p=this.getTransformTemplate();this.prevTransformTemplateValue=p?p(this.latestValues,""):void 0,this.updateSnapshot(),u&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const f=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),f&&this.nodes.forEach(uP),this.nodes.forEach(vg);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(wg);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(hP),this.nodes.forEach(dP),this.nodes.forEach(oP),this.nodes.forEach(sP)):this.nodes.forEach(wg),this.clearAllSnapshots();const h=dt.now();rt.delta=un(0,1e3/60,h-rt.timestamp),rt.timestamp=h,rt.isProcessing=!0,tu.update.process(rt),tu.preRender.process(rt),tu.render.process(rt),rt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Ch.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(cP),this.sharedNodes.forEach(gP)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ce.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ce.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!ft(this.snapshot.measuredBox.x)&&!ft(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let f=0;f<this.path.length;f++)this.path[f].updateScroll();const u=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Ke()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:h}=this.options;h&&h.notify("LayoutMeasure",this.layout.layoutBox,u?u.layoutBox:void 0)}updateScroll(u="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===u&&(h=!1),h&&this.instance){const f=o(this.instance);this.scroll={animationId:this.root.animationId,phase:u,isRoot:f,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:f}}}resetTransform(){if(!a)return;const u=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!sw(this.projectionDelta),f=this.getTransformTemplate(),p=f?f(this.latestValues,""):void 0,g=p!==this.prevTransformTemplateValue;u&&this.instance&&(h||wr(this.latestValues)||g)&&(a(this.instance,p),this.shouldResetTransform=!1,this.scheduleRender())}measure(u=!0){const h=this.measurePageBox();let f=this.removeElementScroll(h);return u&&(f=this.removeTransform(f)),xP(f),{animationId:this.root.animationId,measuredBox:h,layoutBox:f,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:u}=this.options;if(!u)return Ke();const h=u.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(bP))){const{scroll:p}=this.root;p&&(sn(h.x,p.offset.x),sn(h.y,p.offset.y))}return h}removeElementScroll(u){const h=Ke();if(qt(h,u),this.scroll?.wasRoot)return h;for(let f=0;f<this.path.length;f++){const p=this.path[f],{scroll:g,options:y}=p;p!==this.root&&g&&y.layoutScroll&&(g.wasRoot&&qt(h,u),sn(h.x,g.offset.x),sn(h.y,g.offset.y))}return h}applyTransform(u,h=!1,f){const p=f||Ke();qt(p,u);for(let g=0;g<this.path.length;g++){const y=this.path[g];!h&&y.options.layoutScroll&&y.scroll&&y!==y.root&&(sn(p.x,-y.scroll.offset.x),sn(p.y,-y.scroll.offset.y)),wr(y.latestValues)&&ya(p,y.latestValues,y.layout?.layoutBox)}return wr(this.latestValues)&&ya(p,this.latestValues,this.layout?.layoutBox),p}removeTransform(u){const h=Ke();qt(h,u);for(let f=0;f<this.path.length;f++){const p=this.path[f];if(!wr(p.latestValues))continue;let g;p.instance&&(Hu(p.latestValues)&&p.updateSnapshot(),g=Ke(),qt(g,p.measurePageBox())),cg(h,p.latestValues,p.snapshot?.layoutBox,g)}return wr(this.latestValues)&&cg(h,this.latestValues),h}setTargetDelta(u){this.targetDelta=u,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(u){this.options={...this.options,...u,crossfade:u.crossfade!==void 0?u.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==rt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(u=!1){const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const f=!!this.resumingFrom||this!==h;if(!(u||f&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:y}=this.options;if(!this.layout||!(g||y))return;this.resolvedRelativeTargetAt=rt.timestamp;const v=this.getClosestProjectingParent();v&&this.linkedParentVersion!==v.layoutVersion&&!v.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&v&&v.layout?this.createRelativeTarget(v,this.layout.layoutBox,v.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Ke(),this.targetWithTransforms=Ke()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),WE(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):qt(this.target,this.layout.layoutBox),Gv(this.target,this.targetDelta)):qt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&v&&!!v.resumingFrom==!!this.resumingFrom&&!v.options.layoutScroll&&v.target&&this.animationProgress!==1?this.createRelativeTarget(v,this.target,v.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Hu(this.parent.latestValues)||Kv(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(u,h,f){this.relativeParent=u,this.linkedParentVersion=u.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ke(),this.relativeTargetOrigin=Ke(),Oa(this.relativeTargetOrigin,h,f,this.options.layoutAnchor||void 0),qt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const u=this.getLead(),h=!!this.resumingFrom||this!==u;let f=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(f=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(f=!1),this.resolvedRelativeTargetAt===rt.timestamp&&(f=!1),f)return;const{layout:p,layoutId:g}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(p||g))return;qt(this.layoutCorrected,this.layout.layoutBox);const y=this.treeScale.x,v=this.treeScale.y;yE(this.layoutCorrected,this.treeScale,this.path,h),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox,u.targetWithTransforms=Ke());const{target:w}=u;if(!w){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(rg(this.prevProjectionDelta.x,this.projectionDelta.x),rg(this.prevProjectionDelta.y,this.projectionDelta.y)),bo(this.projectionDelta,this.layoutCorrected,w,this.latestValues),(this.treeScale.x!==y||this.treeScale.y!==v||!pg(this.projectionDelta.x,this.prevProjectionDelta.x)||!pg(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",w))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(u=!0){if(this.options.visualElement?.scheduleRender(),u){const h=this.getStack();h&&h.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=si(),this.projectionDelta=si(),this.projectionDeltaWithTransform=si()}setAnimationOrigin(u,h=!1){const f=this.snapshot,p=f?f.latestValues:{},g={...this.latestValues},y=si();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const v=Ke(),w=f?f.source:void 0,b=this.layout?this.layout.source:void 0,S=w!==b,k=this.getStack(),T=!k||k.members.length<=1,A=!!(S&&!T&&this.options.crossfade===!0&&!this.path.some(vP));this.animationProgress=0;let R;this.mixTargetDelta=L=>{const F=L/1e3;bg(y.x,u.x,F),bg(y.y,u.y,F),this.setTargetDelta(y),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Oa(v,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),yP(this.relativeTarget,this.relativeTargetOrigin,v,F),R&&qE(this.relativeTarget,R)&&(this.isProjectionDirty=!1),R||(R=Ke()),qt(R,this.relativeTarget)),S&&(this.animationValues=g,QE(g,p,this.latestValues,F,A,T)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=F},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(u){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Jn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ce.update(()=>{wa.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=di(0)),this.motionValue.jump(0,!1),this.currentAnimation=JE(this.motionValue,[0,1e3],{...u,velocity:0,isSync:!0,onUpdate:h=>{this.mixTargetDelta(h),u.onUpdate&&u.onUpdate(h)},onStop:()=>{},onComplete:()=>{u.onComplete&&u.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const u=this.getStack();u&&u.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(rP),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const u=this.getLead();let{targetWithTransforms:h,target:f,layout:p,latestValues:g}=u;if(!(!h||!f||!p)){if(this!==u&&this.layout&&p&&dw(this.options.animationType,this.layout.layoutBox,p.layoutBox)){f=this.target||Ke();const y=ft(this.layout.layoutBox.x);f.x.min=u.target.x.min,f.x.max=f.x.min+y;const v=ft(this.layout.layoutBox.y);f.y.min=u.target.y.min,f.y.max=f.y.min+v}qt(h,f),ya(h,g),bo(this.projectionDeltaWithTransform,this.layoutCorrected,h,g)}}registerSharedNode(u,h){this.sharedNodes.has(u)||this.sharedNodes.set(u,new nP),this.sharedNodes.get(u).add(h);const p=h.options.initialPromotionConfig;h.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.shouldPreserveFollowOpacity(h):void 0})}isLead(){const u=this.getStack();return u?u.lead===this:!0}getLead(){const{layoutId:u}=this.options;return u?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:u}=this.options;return u?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:u}=this.options;if(u)return this.root.sharedNodes.get(u)}promote({needsReset:u,transition:h,preserveFollowOpacity:f}={}){const p=this.getStack();p&&p.promote(this,f),u&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const u=this.getStack();return u?u.relegate(this):!1}resetSkewAndRotation(){const{visualElement:u}=this.options;if(!u)return;let h=!1;const{latestValues:f}=u;if((f.z||f.rotate||f.rotateX||f.rotateY||f.rotateZ||f.skewX||f.skewY)&&(h=!0),!h)return;const p={};f.z&&uu("z",u,p,this.animationValues);for(let g=0;g<cu.length;g++)uu(`rotate${cu[g]}`,u,p,this.animationValues),uu(`skew${cu[g]}`,u,p,this.animationValues);u.render();for(const g in p)u.setStaticValue(g,p[g]),this.animationValues&&(this.animationValues[g]=p[g]);u.scheduleRender()}applyProjectionStyles(u,h){if(!this.instance||this.isSVG)return;if(!this.isVisible){u.visibility="hidden";return}const f=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,u.visibility="",u.opacity="",u.pointerEvents=va(h?.pointerEvents)||"",u.transform=f?f(this.latestValues,""):"none";return}const p=this.getLead();if(!this.projectionDelta||!this.layout||!p.target){this.options.layoutId&&(u.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,u.pointerEvents=va(h?.pointerEvents)||""),this.hasProjected&&!wr(this.latestValues)&&(u.transform=f?f({},""):"none",this.hasProjected=!1);return}u.visibility="";const g=p.animationValues||p.latestValues;this.applyTransformsToTarget();let y=KE(this.projectionDeltaWithTransform,this.treeScale,g);f&&(y=f(g,y)),u.transform=y;const{x:v,y:w}=this.projectionDelta;u.transformOrigin=`${v.origin*100}% ${w.origin*100}% 0`,p.animationValues?u.opacity=p===this?g.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:u.opacity=p===this?g.opacity!==void 0?g.opacity:"":g.opacityExit!==void 0?g.opacityExit:0;for(const b in qu){if(g[b]===void 0)continue;const{correct:S,applyTo:k,isCSSVariable:T}=qu[b],A=y==="none"?g[b]:S(g[b],p);if(k){const R=k.length;for(let L=0;L<R;L++)u[k[L]]=A}else T?this.options.visualElement.renderState.vars[b]=A:u[b]=A}this.options.layoutId&&(u.pointerEvents=p===this?va(h?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(u=>u.currentAnimation?.stop()),this.root.nodes.forEach(vg),this.root.sharedNodes.clear()}}}function oP(e){e.updateLayout()}function sP(e){const n=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:o}=e.layout,{animationType:a}=e.options,c=n.source!==e.layout.source;if(a==="size")rn(g=>{const y=c?n.measuredBox[g]:n.layoutBox[g],v=ft(y);y.min=i[g].min,y.max=y.min+v});else if(a==="x"||a==="y"){const g=a==="x"?"y":"x";Ku(c?n.measuredBox[g]:n.layoutBox[g],i[g])}else dw(a,n.layoutBox,i)&&rn(g=>{const y=c?n.measuredBox[g]:n.layoutBox[g],v=ft(i[g]);y.max=y.min+v,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[g].max=e.relativeTarget[g].min+v)});const u=si();bo(u,i,n.layoutBox);const h=si();c?bo(h,e.applyTransform(o,!0),n.measuredBox):bo(h,i,n.layoutBox);const f=!sw(u);let p=!1;if(!e.resumeFrom){const g=e.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:y,layout:v}=g;if(y&&v){const w=e.options.layoutAnchor||void 0,b=Ke();Oa(b,n.layoutBox,y.layoutBox,w);const S=Ke();Oa(S,i,v.layoutBox,w),aw(b,S)||(p=!0),g.options.layoutRoot&&(e.relativeTarget=S,e.relativeTargetOrigin=b,e.relativeParent=g)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:n,delta:h,layoutDelta:u,hasLayoutChanged:f,hasRelativeLayoutChanged:p})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function aP(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function lP(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function cP(e){e.clearSnapshot()}function vg(e){e.clearMeasurements()}function uP(e){e.isLayoutDirty=!0,e.updateLayout()}function wg(e){e.isLayoutDirty=!1}function hP(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function dP(e){const{visualElement:n}=e.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),e.resetTransform()}function xg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function fP(e){e.resolveTargetDelta()}function pP(e){e.calcProjection()}
vendor: 5,974 bytes, lines 9-17
9function mP(e){e.resetSkewAndRotation()}function gP(e){e.removeLeadSnapshot()}function bg(e,n,i){e.translate=Me(n.translate,0,i),e.scale=Me(n.scale,1,i),e.origin=n.origin,e.originPoint=n.originPoint}function Sg(e,n,i,o){e.min=Me(n.min,i.min,o),e.max=Me(n.max,i.max,o)}function yP(e,n,i,o){Sg(e.x,n.x,i.x,o),Sg(e.y,n.y,i.y,o)}function vP(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const wP={duration:.45,ease:[.4,0,.1,1]},kg=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Tg=kg("applewebkit/")&&!kg("chrome/")?Math.round:jt;function Eg(e){e.min=Tg(e.min),e.max=Tg(e.max)}function xP(e){Eg(e.x),Eg(e.y)}function dw(e,n,i){return e==="position"||e==="preserve-aspect"&&!zE(fg(n),fg(i),.2)}function bP(e){return e!==e.root&&e.scroll?.wasRoot}const SP=hw({attachResizeListener:(e,n)=>Lo(e,"resize",n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),hu={current:void 0},fw=hw({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!hu.current){const e=new SP({});e.mount(window),e.setOptions({layoutScroll:!0}),hu.current=e}return hu.current},resetTransform:(e,n)=>{e.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Oh=_.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function Pg(e,n){if(typeof e=="function")return e(n);e!=null&&(e.current=n)}function kP(...e){return n=>{let i=!1;const o=e.map(a=>{const c=Pg(a,n);return!i&&typeof c=="function"&&(i=!0),c});if(i)return()=>{for(let a=0;a<o.length;a++){const c=o[a];typeof c=="function"?c():Pg(e[a],null)}}}}function TP(...e){return _.useCallback(kP(...e),e)}class EP extends _.Component{getSnapshotBeforeUpdate(n){const i=this.props.childRef.current;if(da(i)&&n.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const o=i.offsetParent,a=da(o)&&o.offsetWidth||0,c=da(o)&&o.offsetHeight||0,u=getComputedStyle(i),h=this.props.sizeRef.current;h.height=parseFloat(u.height),h.width=parseFloat(u.width),h.top=i.offsetTop,h.left=i.offsetLeft,h.right=a-h.width-h.left,h.bottom=c-h.height-h.top}return null}componentDidUpdate(){}render(){return this.props.children}}function PP({children:e,isPresent:n,anchorX:i,anchorY:o,root:a,pop:c}){const u=_.useId(),h=_.useRef(null),f=_.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:p}=_.useContext(Oh),g=e.props?.ref??e?.ref,y=TP(h,g);return _.useInsertionEffect(()=>{const{width:v,height:w,top:b,left:S,right:k,bottom:T}=f.current;if(n||c===!1||!h.current||!v||!w)return;const A=i==="left"?`left: ${S}`:`right: ${k}`,R=o==="bottom"?`bottom: ${T}`:`top: ${b}`;h.current.dataset.motionPopId=u;const L=document.createElement("style");p&&(L.nonce=p);const F=a??document.head;return F.appendChild(L),L.sheet&&L.sheet.insertRule(`
10          [data-motion-pop-id="${u}"] {
11            position: absolute !important;
12            width: ${v}px !important;
13            height: ${w}px !important;
14            ${A}px !important;
15            ${R}px !important;
16          }
17        `),()=>{h.current?.removeAttribute("data-motion-pop-id"),F.contains(L)&&F.removeChild(L)}},[n]),C.jsx(EP,{isPresent:n,childRef:h,sizeRef:f,pop:c,children:c===!1?e:_.cloneElement(e,{ref:y})})}const CP=({children:e,initial:n,isPresent:i,onExitComplete:o,custom:a,presenceAffectsLayout:c,mode:u,anchorX:h,anchorY:f,root:p})=>{const g=lh(IP),y=_.useId();let v=!0,w=_.useMemo(()=>(v=!1,{id:y,initial:n,isPresent:i,custom:a,onExitComplete:b=>{g.set(b,!0);for(const S of g.values())if(!S)return;o&&o()},register:b=>(g.set(b,!1),()=>g.delete(b))}),[i,g,o]);return c&&v&&(w={...w}),_.useMemo(()=>{g.forEach((b,S)=>g.set(S,!1))},[i]),_.useEffect(()=>{!i&&!g.size&&o&&o()},[i]),e=C.jsx(PP,{pop:u==="popLayout",isPresent:i,anchorX:h,anchorY:f,root:p,children:e}),C.jsx(Ua.Provider,{value:w,children:e})};function IP(){return new Map}function pw(e=!0){const n=_.useContext(Ua);if(n===null)return[!0,null];const{isPresent:i,onExitComplete:o,register:a}=n,c=_.useId();_.useEffect(()=>{if(e)return a(c)},[e]);const u=_.useCallback(()=>e&&o&&o(c),[c,o,e]);return!i&&o?[!1,u]:[!0]}const ra=e=>e.key||"";function Cg(e){const n=[];return _.Children.forEach(e,i=>{_.isValidElement(i)&&n.push(i)}),n}const ai=({children:e,custom:n,initial:i=!0,onExitComplete:o,presenceAffectsLayout:a=!0,mode:c="sync",propagate:u=!1,anchorX:h="left",anchorY:f="top",root:p})=>{const[g,y]=pw(u),v=_.useMemo(()=>Cg(e),[e]),w=u&&!g?[]:v.map(ra),b=_.useRef(!0),S=_.useRef(v),k=lh(()=>new Map),T=_.useRef(new Set),[A,R]=_.useState(v),[L,F]=_.useState(v);Wy(()=>{b.current=!1,S.current=v;for(let N=0;N<L.length;N++){const j=ra(L[N]);w.includes(j)?(k.delete(j),T.current.delete(j)):k.get(j)!==!0&&k.set(j,!1)}},[L,w.length,w.join("-")]);const V=[];if(v!==A){let N=[...v];for(let j=0;j<L.length;j++){const z=L[j],$=ra(z);w.includes($)||(N.splice(j,0,z),V.push(z))}return c==="wait"&&V.length&&(N=V),F(Cg(N)),R(v),null}const{forceRender:W}=_.useContext(ah);return C.jsx(C.Fragment,{children:L.map(N=>{const j=ra(N),z=u&&!g?!1:v===L||w.includes(j),$=()=>{if(T.current.has(j))return;if(k.has(j))T.current.add(j),k.set(j,!0);else return;let U=!0;k.forEach(Q=>{Q||(U=!1)}),U&&(W?.(),F(S.current),u&&y?.(),o&&o())};return C.jsx(CP,{isPresent:z,initial:!b.current||i?void 0:!1,custom:n,presenceAffectsLayout:a,mode:c,root:p,onExitComplete:z?void 0:$,anchorX:h,anchorY:f,children:N},j)})})},mw=_.createContext({strict:!1}),Ig={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let _g=!1;
vendor: 24,303 bytes, line 17
17function _P(){if(_g)return;const e={};for(const n in Ig)e[n]={isEnabled:i=>Ig[n].some(o=>!!i[o])};Hv(e),_g=!0}function gw(){return _P(),fE()}function AP(e){const n=gw();for(const i in e)n[i]={...n[i],...e[i]};Hv(n)}const RP=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Fa(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||RP.has(e)}let yw=e=>!Fa(e);function MP(e){typeof e=="function"&&(yw=n=>n.startsWith("on")?!Fa(n):e(n))}try{MP(require("@emotion/is-prop-valid").default)}catch{}function LP(e,n,i){const o={};for(const a in e)a==="values"&&typeof e.values=="object"||it(e[a])||(yw(a)||i===!0&&Fa(a)||!n&&!Fa(a)||e.draggable&&a.startsWith("onDrag"))&&(o[a]=e[a]);return o}const Ka=_.createContext({});function DP(e,n){if(qa(e)){const{initial:i,animate:o}=e;return{initial:i===!1||Mo(i)?i:void 0,animate:Mo(o)?o:void 0}}return e.inherit!==!1?n:{}}function OP(e){const{initial:n,animate:i}=DP(e,_.useContext(Ka));return _.useMemo(()=>({initial:n,animate:i}),[Ag(n),Ag(i)])}function Ag(e){return Array.isArray(e)?e.join(" "):e}const Fh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function vw(e,n,i){for(const o in n)!it(n[o])&&!Xv(o,i)&&(e[o]=n[o])}function FP({transformTemplate:e},n){return _.useMemo(()=>{const i=Fh();return Lh(i,n,e),Object.assign({},i.vars,i.style)},[n])}function jP(e,n){const i=e.style||{},o={};return vw(o,i,e),Object.assign(o,FP(e,n)),o}function BP(e,n){const i={},o=jP(e,n);return e.drag&&e.dragListener!==!1&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=o,i}const ww=()=>({...Fh(),attrs:{}});function VP(e,n,i,o){const a=_.useMemo(()=>{const c=ww();return Jv(c,n,ew(o),e.transformTemplate,e.style),{...c.attrs,style:{...c.style}}},[n]);if(e.style){const c={};vw(c,e.style,e),a.style={...c,...a.style}}return a}const NP=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function jh(e){return typeof e!="string"||e.includes("-")?!1:!!(NP.indexOf(e)>-1||/[A-Z]/u.test(e))}function zP(e,n,i,{latestValues:o},a,c=!1,u){const f=(u??jh(e)?VP:BP)(n,o,a,e),p=LP(n,typeof e=="string",c),g=e!==_.Fragment?{...p,...f,ref:i}:{},{children:y}=n,v=_.useMemo(()=>it(y)?y.get():y,[y]);return _.createElement(e,{...g,children:v})}function WP({scrapeMotionValuesFromProps:e,createRenderState:n},i,o,a){return{latestValues:UP(i,o,a,e),renderState:n()}}function UP(e,n,i,o){const a={},c=o(e,{});for(const v in c)a[v]=va(c[v]);let{initial:u,animate:h}=e;const f=qa(e),p=Wv(e);n&&p&&!f&&e.inherit!==!1&&(u===void 0&&(u=n.initial),h===void 0&&(h=n.animate));let g=i?i.initial===!1:!1;g=g||u===!1;const y=g?h:u;if(y&&typeof y!="boolean"&&!$a(y)){const v=Array.isArray(y)?y:[y];for(let w=0;w<v.length;w++){const b=Th(e,v[w]);if(b){const{transitionEnd:S,transition:k,...T}=b;for(const A in T){let R=T[A];if(Array.isArray(R)){const L=g?R.length-1:0;R=R[L]}R!==null&&(a[A]=R)}for(const A in S)a[A]=S[A]}}}return a}const xw=e=>(n,i)=>{const o=_.useContext(Ka),a=_.useContext(Ua),c=()=>WP(e,n,o,a);return i?c():lh(c)},HP=xw({scrapeMotionValuesFromProps:Dh,createRenderState:Fh}),$P=xw({scrapeMotionValuesFromProps:tw,createRenderState:ww}),qP=Symbol.for("motionComponentSymbol");function KP(e,n,i){const o=_.useRef(i);_.useInsertionEffect(()=>{o.current=i});const a=_.useRef(null);return _.useCallback(c=>{c&&e.onMount?.(c);const u=o.current;if(typeof u=="function")if(c){const h=u(c);typeof h=="function"&&(a.current=h)}else a.current?(a.current(),a.current=null):u(c);else u&&(u.current=c);n&&(c?n.mount(c):n.unmount())},[n])}const bw=_.createContext({});function ri(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function GP(e,n,i,o,a,c){const{visualElement:u}=_.useContext(Ka),h=_.useContext(mw),f=_.useContext(Ua),p=_.useContext(Oh),g=p.reducedMotion,y=p.skipAnimations,v=_.useRef(null),w=_.useRef(!1);o=o||h.renderer,!v.current&&o&&(v.current=o(e,{visualState:n,parent:u,props:i,presenceContext:f,blockInitialAnimation:f?f.initial===!1:!1,reducedMotionConfig:g,skipAnimations:y,isSVG:c}),w.current&&v.current&&(v.current.manuallyAnimateOnMount=!0));const b=v.current,S=_.useContext(bw);b&&!b.projection&&a&&(b.type==="html"||b.type==="svg")&&QP(v.current,i,a,S);const k=_.useRef(!1);_.useInsertionEffect(()=>{b&&k.current&&b.update(i,f)});const T=i[_v],A=_.useRef(!!T&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(T)&&window.MotionHasOptimisedAnimation?.(T));return Wy(()=>{w.current=!0,b&&(k.current=!0,window.MotionIsMounted=!0,b.updateFeatures(),b.scheduleRenderMicrotask(),A.current&&b.animationState&&b.animationState.animateChanges())}),_.useEffect(()=>{b&&(!A.current&&b.animationState&&b.animationState.animateChanges(),A.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(T)}),A.current=!1),b.enteringChildren=void 0)}),b}function QP(e,n,i,o){const{layoutId:a,layout:c,drag:u,dragConstraints:h,layoutScroll:f,layoutRoot:p,layoutAnchor:g,layoutCrossfade:y}=n;e.projection=new i(e.latestValues,n["data-framer-portal-id"]?void 0:Sw(e.parent)),e.projection.setOptions({layoutId:a,layout:c,alwaysMeasureLayout:!!u||h&&ri(h),visualElement:e,animationType:typeof c=="string"?c:"both",initialPromotionConfig:o,crossfade:y,layoutScroll:f,layoutRoot:p,layoutAnchor:g})}function Sw(e){if(e)return e.options.allowProjection!==!1?e.projection:Sw(e.parent)}function du(e,{forwardMotionProps:n=!1,type:i}={},o,a){o&&AP(o);const c=i?i==="svg":jh(e),u=c?$P:HP;function h(p,g){let y;const v={..._.useContext(Oh),...p,layoutId:YP(p)},{isStatic:w}=v,b=OP(p),S=u(p,w);if(!w&&typeof window<"u"){XP();const k=JP(v);y=k.MeasureLayout,b.visualElement=GP(e,S,v,a,k.ProjectionNode,c)}return C.jsxs(Ka.Provider,{value:b,children:[y&&b.visualElement?C.jsx(y,{visualElement:b.visualElement,...v}):null,zP(e,p,KP(S,b.visualElement,g),S,w,n,c)]})}h.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const f=_.forwardRef(h);return f[qP]=e,f}function YP({layoutId:e}){const n=_.useContext(ah).id;return n&&e!==void 0?n+"-"+e:e}function XP(e,n){_.useContext(mw).strict}function JP(e){const n=gw(),{drag:i,layout:o}=n;if(!i&&!o)return{};const a={...i,...o};return{MeasureLayout:i?.isEnabled(e)||o?.isEnabled(e)?a.MeasureLayout:void 0,ProjectionNode:a.ProjectionNode}}function ZP(e,n){if(typeof Proxy>"u")return du;const i=new Map,o=(c,u)=>du(c,u,e,n),a=(c,u)=>o(c,u);return new Proxy(a,{get:(c,u)=>u==="create"?o:(i.has(u)||i.set(u,du(u,void 0,e,n)),i.get(u))})}const eC=(e,n)=>n.isSVG??jh(e)?new AE(n):new TE(n,{allowProjection:e!==_.Fragment});class tC extends tr{constructor(n){super(n),n.animationState||(n.animationState=OE(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();$a(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:i}=this.node.prevProps||{};n!==i&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let nC=0;class rC extends tr{constructor(){super(...arguments),this.id=nC++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:i}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===o)return;if(n&&o===!1){if(this.isExitComplete){const{initial:c,custom:u}=this.node.getProps();if(typeof c=="string"){const h=Ir(this.node,c,u);if(h){const{transition:f,transitionEnd:p,...g}=h;for(const y in g)this.node.getValue(y)?.jump(g[y])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const a=this.node.animationState.setActive("exit",!n);i&&!n&&a.then(()=>{this.isExitComplete=!0,i(this.id)})}mount(){const{register:n,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),n&&(this.unmount=n(this.id))}unmount(){}}const iC={animation:{Feature:tC},exit:{Feature:rC}};function zo(e){return{point:{x:e.pageX,y:e.pageY}}}const oC=e=>n=>Ih(n)&&e(n,zo(n));function So(e,n,i,o){return Lo(e,n,oC(i),o)}const kw=({current:e})=>e?e.ownerDocument.defaultView:null,Rg=(e,n)=>Math.abs(e-n);function sC(e,n){const i=Rg(e.x,n.x),o=Rg(e.y,n.y);return Math.sqrt(i**2+o**2)}const Mg=new Set(["auto","scroll"]);class Tw{constructor(n,i,{transformPagePoint:o,contextWindow:a=window,dragSnapToOrigin:c=!1,distanceThreshold:u=3,element:h}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=w=>{this.handleScroll(w.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=ia(this.lastRawMoveEventInfo,this.transformPagePoint));const w=fu(this.lastMoveEventInfo,this.history),b=this.startEvent!==null,S=sC(w.offset,{x:0,y:0})>=this.distanceThreshold;if(!b&&!S)return;const{point:k}=w,{timestamp:T}=rt;this.history.push({...k,timestamp:T});const{onStart:A,onMove:R}=this.handlers;b||(A&&A(this.lastMoveEvent,w),this.startEvent=this.lastMoveEvent),R&&R(this.lastMoveEvent,w)},this.handlePointerMove=(w,b)=>{this.lastMoveEvent=w,this.lastRawMoveEventInfo=b,this.lastMoveEventInfo=ia(b,this.transformPagePoint),Ce.update(this.updatePoint,!0)},this.handlePointerUp=(w,b)=>{this.end();const{onEnd:S,onSessionEnd:k,resumeAnimation:T}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&T&&T(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const A=fu(w.type==="pointercancel"?this.lastMoveEventInfo:ia(b,this.transformPagePoint),this.history);this.startEvent&&S&&S(w,A),k&&k(w,A)},!Ih(n))return;this.dragSnapToOrigin=c,this.handlers=i,this.transformPagePoint=o,this.distanceThreshold=u,this.contextWindow=a||window;const f=zo(n),p=ia(f,this.transformPagePoint),{point:g}=p,{timestamp:y}=rt;this.history=[{...g,timestamp:y}];const{onSessionStart:v}=i;v&&v(n,fu(p,this.history)),this.removeListeners=Bo(So(this.contextWindow,"pointermove",this.handlePointerMove),So(this.contextWindow,"pointerup",this.handlePointerUp),So(this.contextWindow,"pointercancel",this.handlePointerUp)),h&&this.startScrollTracking(h)}startScrollTracking(n){let i=n.parentElement;for(;i;){const o=getComputedStyle(i);(Mg.has(o.overflowX)||Mg.has(o.overflowY))&&this.scrollPositions.set(i,{x:i.scrollLeft,y:i.scrollTop}),i=i.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(n){const i=this.scrollPositions.get(n);if(!i)return;const o=n===window,a=o?{x:window.scrollX,y:window.scrollY}:{x:n.scrollLeft,y:n.scrollTop},c={x:a.x-i.x,y:a.y-i.y};c.x===0&&c.y===0||(o?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=c.x,this.lastMoveEventInfo.point.y+=c.y):this.history.length>0&&(this.history[0].x-=c.x,this.history[0].y-=c.y),this.scrollPositions.set(n,a),Ce.update(this.updatePoint,!0))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Jn(this.updatePoint)}}function ia(e,n){return n?{point:n(e.point)}:e}function Lg(e,n){return{x:e.x-n.x,y:e.y-n.y}}function fu({point:e},n){return{point:e,delta:Lg(e,Ew(n)),offset:Lg(e,aC(n)),velocity:lC(n,.1)}}function aC(e){return e[0]}function Ew(e){return e[e.length-1]}function lC(e,n){if(e.length<2)return{x:0,y:0};let i=e.length-1,o=null;const a=Ew(e);for(;i>=0&&(o=e[i],!(a.timestamp-o.timestamp>Ct(n)));)i--;if(!o)return{x:0,y:0};o===e[0]&&e.length>2&&a.timestamp-o.timestamp>Ct(n)*2&&(o=e[1]);const c=Ft(a.timestamp-o.timestamp);if(c===0)return{x:0,y:0};const u={x:(a.x-o.x)/c,y:(a.y-o.y)/c};return u.x===1/0&&(u.x=0),u.y===1/0&&(u.y=0),u}function cC(e,{min:n,max:i},o){return n!==void 0&&e<n?e=o?Me(n,e,o.min):Math.max(e,n):i!==void 0&&e>i&&(e=o?Me(i,e,o.max):Math.min(e,i)),e}function Dg(e,n,i){return{min:n!==void 0?e.min+n:void 0,max:i!==void 0?e.max+i-(e.max-e.min):void 0}}function uC(e,{top:n,left:i,bottom:o,right:a}){return{x:Dg(e.x,i,a),y:Dg(e.y,n,o)}}function Og(e,n){let i=n.min-e.min,o=n.max-e.max;return n.max-n.min<e.max-e.min&&([i,o]=[o,i]),{min:i,max:o}}function hC(e,n){return{x:Og(e.x,n.x),y:Og(e.y,n.y)}}function dC(e,n){let i=.5;const o=ft(e),a=ft(n);return a>o?i=Ao(n.min,n.max-o,e.min):o>a&&(i=Ao(e.min,e.max-a,n.min)),un(0,1,i)}function fC(e,n){const i={};return n.min!==void 0&&(i.min=n.min-e.min),n.max!==void 0&&(i.max=n.max-e.min),i}const Gu=.35;function pC(e=Gu){return e===!1?e=0:e===!0&&(e=Gu),{x:Fg(e,"left","right"),y:Fg(e,"top","bottom")}}function Fg(e,n,i){return{min:jg(e,n),max:jg(e,i)}}function jg(e,n){return typeof e=="number"?e:e[n]||0}const mC=new WeakMap;class gC{constructor(n){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ke(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=n}start(n,{snapToCursor:i=!1,distanceThreshold:o}={}){const{presenceContext:a}=this.visualElement;if(a&&a.isPresent===!1)return;const c=y=>{i&&this.snapToCursor(zo(y).point),this.stopAnimation()},u=(y,v)=>{const{drag:w,dragPropagation:b,onDragStart:S}=this.getProps();if(w&&!b&&(this.openDragLock&&this.openDragLock(),this.openDragLock=HT(w),!this.openDragLock))return;this.latestPointerEvent=y,this.latestPanInfo=v,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),rn(T=>{let A=this.getAxisMotionValue(T).get()||0;if(ln.test(A)){const{projection:R}=this.visualElement;if(R&&R.layout){const L=R.layout.layoutBox[T];L&&(A=ft(L)*(parseFloat(A)/100))}}this.originPoint[T]=A}),S&&Ce.update(()=>S(y,v),!1,!0),Nu(this.visualElement,"transform");const{animationState:k}=this.visualElement;k&&k.setActive("whileDrag",!0)},h=(y,v)=>{this.latestPointerEvent=y,this.latestPanInfo=v;const{dragPropagation:w,dragDirectionLock:b,onDirectionLock:S,onDrag:k}=this.getProps();if(!w&&!this.openDragLock)return;const{offset:T}=v;if(b&&this.currentDirection===null){this.currentDirection=vC(T),this.currentDirection!==null&&S&&S(this.currentDirection);return}this.updateAxis("x",v.point,T),this.updateAxis("y",v.point,T),this.visualElement.render(),k&&Ce.update(()=>k(y,v),!1,!0)},f=(y,v)=>{this.latestPointerEvent=y,this.latestPanInfo=v,this.stop(y,v),this.latestPointerEvent=null,this.latestPanInfo=null},p=()=>{const{dragSnapToOrigin:y}=this.getProps();(y||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:g}=this.getProps();this.panSession=new Tw(n,{onSessionStart:c,onStart:u,onMove:h,onSessionEnd:f,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,distanceThreshold:o,contextWindow:kw(this.visualElement),element:this.visualElement.current})}stop(n,i){const o=n||this.latestPointerEvent,a=i||this.latestPanInfo,c=this.isDragging;if(this.cancel(),!c||!a||!o)return;const{velocity:u}=a;this.startAnimation(u);const{onDragEnd:h}=this.getProps();h&&Ce.postRender(()=>h(o,a))}cancel(){this.isDragging=!1;const{projection:n,animationState:i}=this.visualElement;n&&(n.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(n,i,o){const{drag:a}=this.getProps();if(!o||!oa(n,a,this.currentDirection))return;const c=this.getAxisMotionValue(n);let u=this.originPoint[n]+o[n];this.constraints&&this.constraints[n]&&(u=cC(u,this.constraints[n],this.elastic[n])),c.set(u)}resolveConstraints(){const{dragConstraints:n,dragElastic:i}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,a=this.constraints;n&&ri(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=uC(o.layoutBox,n):this.constraints=!1,this.elastic=pC(i),a!==this.constraints&&!ri(n)&&o&&this.constraints&&!this.hasMutatedConstraints&&rn(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=fC(o.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:i}=this.getProps();if(!n||!ri(n))return!1;const o=n.current,{projection:a}=this.visualElement;if(!a||!a.layout)return!1;const c=vE(o,a.root,this.visualElement.getTransformPagePoint());let u=hC(a.layout.layoutBox,c);if(i){const h=i(mE(u));this.hasMutatedConstraints=!!h,h&&(u=qv(h))}return u}startAnimation(n){const{drag:i,dragMomentum:o,dragElastic:a,dragTransition:c,dragSnapToOrigin:u,onDragTransitionEnd:h}=this.getProps(),f=this.constraints||{},p=rn(g=>{if(!oa(g,i,this.currentDirection))return;let y=f&&f[g]||{};(u===!0||u===g)&&(y={min:0,max:0});const v=a?200:1e6,w=a?40:1e7,b={type:"inertia",velocity:o?n[g]:0,bounceStiffness:v,bounceDamping:w,timeConstant:750,restDelta:1,restSpeed:10,...c,...y};return this.startAxisValueAnimation(g,b)});return Promise.all(p).then(h)}startAxisValueAnimation(n,i){const o=this.getAxisMotionValue(n);return Nu(this.visualElement,n),o.start(kh(n,o,0,i,this.visualElement,!1))}stopAnimation(){rn(n=>this.getAxisMotionValue(n).stop())}getAxisMotionValue(n){const i=`_drag${n.toUpperCase()}`,o=this.visualElement.getProps(),a=o[i];return a||this.visualElement.getValue(n,(o.initial?o.initial[n]:void 0)||0)}snapToCursor(n){rn(i=>{const{drag:o}=this.getProps();if(!oa(i,o,this.currentDirection))return;const{projection:a}=this.visualElement,c=this.getAxisMotionValue(i);if(a&&a.layout){const{min:u,max:h}=a.layout.layoutBox[i],f=c.get()||0;c.set(n[i]-Me(u,h,.5)+f)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:i}=this.getProps(),{projection:o}=this.visualElement;if(!ri(i)||!o||!this.constraints)return;this.stopAnimation();const a={x:0,y:0};rn(u=>{const h=this.getAxisMotionValue(u);if(h&&this.constraints!==!1){const f=h.get();a[u]=dC({min:f,max:f},this.constraints[u])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.constraints=!1,this.resolveConstraints(),rn(u=>{if(!oa(u,n,null))return;const h=this.getAxisMotionValue(u),{min:f,max:p}=this.constraints[u];h.set(Me(f,p,a[u]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;mC.set(this.visualElement,this);const n=this.visualElement.current,i=So(n,"pointerdown",p=>{const{drag:g,dragListener:y=!0}=this.getProps(),v=p.target,w=v!==n&&YT(v);g&&y&&!w&&this.start(p)});let o;const a=()=>{const{dragConstraints:p}=this.getProps();ri(p)&&p.current&&(this.constraints=this.resolveRefConstraints(),o||(o=yC(n,p.current,()=>this.scalePositionWithinConstraints())))},{projection:c}=this.visualElement,u=c.addEventListener("measure",a);c&&!c.layout&&(c.root&&c.root.updateScroll(),c.updateLayout()),Ce.read(a);const h=Lo(window,"resize",()=>this.scalePositionWithinConstraints()),f=c.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:g})=>{this.isDragging&&g&&(rn(y=>{const v=this.getAxisMotionValue(y);v&&(this.originPoint[y]+=p[y].translate,v.set(v.get()+p[y].translate))}),this.visualElement.render())}));return()=>{h(),i(),u(),f&&f(),o&&o()}}getProps(){const n=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:o=!1,dragPropagation:a=!1,dragConstraints:c=!1,dragElastic:u=Gu,dragMomentum:h=!0}=n;return{...n,drag:i,dragDirectionLock:o,dragPropagation:a,dragConstraints:c,dragElastic:u,dragMomentum:h}}}function Bg(e){let n=!0;return()=>{if(n){n=!1;return}e()}}function yC(e,n,i){const o=$m(e,Bg(i)),a=$m(n,Bg(i));return()=>{o(),a()}}function oa(e,n,i){return(n===!0||n===e)&&(i===null||i===e)}function vC(e,n=10){let i=null;return Math.abs(e.y)>n?i="y":Math.abs(e.x)>n&&(i="x"),i}class wC extends tr{constructor(n){super(n),this.removeGroupControls=jt,this.removeListeners=jt,this.controls=new gC(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||jt}update(){const{dragControls:n}=this.node.getProps(),{dragControls:i}=this.node.prevProps||{};n!==i&&(this.removeGroupControls(),n&&(this.removeGroupControls=n.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const pu=e=>(n,i)=>{e&&Ce.update(()=>e(n,i),!1,!0)};class xC extends tr{constructor(){super(...arguments),this.removePointerDownListener=jt}onPointerDown(n){this.session=new Tw(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:kw(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:i,onPan:o,onPanEnd:a}=this.node.getProps();return{onSessionStart:pu(n),onStart:pu(i),onMove:pu(o),onEnd:(c,u)=>{delete this.session,a&&Ce.postRender(()=>a(c,u))}}}mount(){this.removePointerDownListener=So(this.node.current,"pointerdown",n=>this.onPointerDown(n))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let mu=!1;class bC extends _.Component{componentDidMount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:o,layoutId:a}=this.props,{projection:c}=n;c&&(i.group&&i.group.add(c),o&&o.register&&a&&o.register(c),mu&&c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),wa.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:i,visualElement:o,drag:a,isPresent:c}=this.props,{projection:u}=o;return u&&(u.isPresent=c,n.layoutDependency!==i&&u.setOptions({...u.options,layoutDependency:i}),mu=!0,a||n.layoutDependency!==i||i===void 0||n.isPresent!==c?u.willUpdate():this.safeToRemove(),n.isPresent!==c&&(c?u.promote():u.relegate()||Ce.postRender(()=>{const h=u.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:n,layoutAnchor:i}=this.props,{projection:o}=n;o&&(o.options.layoutAnchor=i,o.root.didUpdate(),Ch.postRender(()=>{!o.currentAnimation&&o.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:o}=this.props,{projection:a}=n;mu=!0,a&&(a.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(a),o&&o.deregister&&o.deregister(a))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function Pw(e){const[n,i]=pw(),o=_.useContext(ah);return C.jsx(bC,{...e,layoutGroup:o,switchLayoutGroup:_.useContext(bw),isPresent:n,safeToRemove:i})}const SC={pan:{Feature:xC},drag:{Feature:wC,ProjectionNode:fw,MeasureLayout:Pw}};function Vg(e,n,i){const{props:o}=e;e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",i==="Start");const a="onHover"+i,c=o[a];c&&Ce.postRender(()=>c(n,zo(n)))}
17class kC extends tr{mount(){const{current:n}=this.node;n&&(this.unmount=qT(n,(i,o)=>(Vg(this.node,o,"Start"),a=>Vg(this.node,a,"End"))))}unmount(){}}class TC extends tr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let n=!1;try{n=this.node.current.matches(":focus-visible")}catch{n=!0}!n||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Bo(Lo(this.node.current,"focus",()=>this.onFocus()),Lo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Ng(e,n,i){const{props:o}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&o.whileTap&&e.animationState.setActive("whileTap",i==="Start");const a="onTap"+(i==="End"?"":i),c=o[a];c&&Ce.postRender(()=>c(n,zo(n)))}class EC extends tr{mount(){const{current:n}=this.node;if(!n)return;const{globalTapTarget:i,propagate:o}=this.node.props;this.unmount=JT(n,(a,c)=>(Ng(this.node,c,"Start"),(u,{success:h})=>Ng(this.node,u,h?"End":"Cancel")),{useGlobalTarget:i,stopPropagation:o?.tap===!1})}unmount(){}}const Qu=new WeakMap,gu=new WeakMap,PC=e=>{const n=Qu.get(e.target);n&&n(e)},CC=e=>{e.forEach(PC)};function IC({root:e,...n}){const i=e||document;gu.has(i)||gu.set(i,{});const o=gu.get(i),a=JSON.stringify(n);return o[a]||(o[a]=new IntersectionObserver(CC,{root:e,...n})),o[a]}function _C(e,n,i){const o=IC(n);return Qu.set(e,i),o.observe(e),()=>{Qu.delete(e),o.unobserve(e)}}const AC={some:0,all:1};class RC extends tr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:n={}}=this.node.getProps(),{root:i,margin:o,amount:a="some",once:c}=n,u={root:i?i.current:void 0,rootMargin:o,threshold:typeof a=="number"?a:AC[a]},h=f=>{const{isIntersecting:p}=f;if(this.isInView===p||(this.isInView=p,c&&!p&&this.hasEnteredView))return;p&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",p);const{onViewportEnter:g,onViewportLeave:y}=this.node.getProps(),v=p?g:y;v&&v(f)};this.stopObserver=_C(this.node.current,u,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:i}=this.node;["amount","margin","root"].some(MC(n,i))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function MC({viewport:e={}},{viewport:n={}}={}){return i=>e[i]!==n[i]}const LC={inView:{Feature:RC},tap:{Feature:EC},focus:{Feature:TC},hover:{Feature:kC}},DC={layout:{ProjectionNode:fw,MeasureLayout:Pw}},OC={...iC,...LC,...SC,...DC},ke=ZP(OC,eC);function Bh(){!Mh.current&&Uv();const[e]=_.useState(Ma.current);return e}function Wo(e){const n=parseInt(e.replace("#",""),16);return`${n>>16&255},${n>>8&255},${n&255}`}const J={green1:"#BAFFD5",green2:"#67CF91",green3:"#07361C",neutral1:"#FEFEFE",neutral2:"#F8F6F2",neutral3:"#E1DBD2",neutral4:"#D1CBC1",neutral5:"#C1BAAF",neutral6:"#595247",neutral7:"#4A4338",neutral8:"#1F1D17",neutral9:"#181512"},FC=Wo(J.green1),Do=Wo(J.neutral1),t2=Wo(J.neutral2),jC=Wo(J.neutral8),fi=Wo(J.neutral9),an={heading:R1,body:Ot,mono:"'IBM Plex Mono', ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace"},n2={fontFamily:an.mono,fontSize:"var(--text-xs)",fontWeight:600,letterSpacing:"0.18em",textTransform:"uppercase",margin:0},ja=[.25,1,.5,1],BC=44,zg="clamp(24px, 9.26vw, 160px)",r2={width:"100%",maxWidth:1728,margin:"0 auto",paddingLeft:zg,paddingRight:zg,boxSizing:"border-box"};const VC=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),NC=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,i,o)=>o?o.toUpperCase():i.toLowerCase()),Wg=e=>{const n=NC(e);return n.charAt(0).toUpperCase()+n.slice(1)},Cw=(...e)=>e.filter((n,i,o)=>!!n&&n.trim()!==""&&o.indexOf(n)===i).join(" ").trim(),zC=e=>{for(const n in e)if(n.startsWith("aria-")||n==="role"||n==="title")return!0};var WC={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const UC=_.forwardRef(({color:e="currentColor",size:n=24,strokeWidth:i=2,absoluteStrokeWidth:o,className:a="",children:c,iconNode:u,...h},f)=>_.createElement("svg",{ref:f,...WC,width:n,height:n,stroke:e,strokeWidth:o?Number(i)*24/Number(n):i,className:Cw("lucide",a),...!c&&!zC(h)&&{"aria-hidden":"true"},...h},[...u.map(([p,g])=>
17_.createElement(p,g)),...Array.isArray(c)?c:[c]]));const Iw=(e,n)=>{const i=_.forwardRef(({className:o,...a},c)=>_.createElement(UC,{ref:c,iconNode:n,className:Cw(`lucide-${VC(Wg(e))}`,`lucide-${e}`,o),...a}));return i.displayName=Wg(e),i};const HC=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],$C=Iw("arrow-right",HC);const qC=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],KC=Iw("calendar",qC),GC={calendar:KC,arrow:$C};function cn({label:e,to:n,onClick:i,variant:o="outline",icon:a="none",iconPosition:c="right",fontSize:u="var(--text-sm)",height:h=BC}){const[f,p]=_.useState(!1),g=a!=="none"?GC[a]:null,y=4,v={display:"inline-flex",alignItems:"center",gap:"12px",fontFamily:an.body,fontSize:u,fontWeight:600,cursor:"pointer",border:"none",background:"none",padding:0,margin:0,whiteSpace:"nowrap",boxSizing:"border-box",textDecoration:"none",transition:"background-color 0.3s ease, filter 0.3s ease"},w={outline:{color:J.green1,border:`1.5px solid ${J.green1}`,borderRadius:100,height:h,padding:"0 20px"},solid:{color:J.green3,backgroundColor:J.green1,borderRadius:100,height:h,padding:"0 22px"},ghost:{color:J.green1,paddingBottom:2}},b=f?o==="outline"?{backgroundColor:`rgba(${FC},0.10)`}:o==="solid"?{filter:"brightness(1.06)"}:{}:{},S={...v,...w[o],...b},k={onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1)},T=g?{transform:f?"translateX(0)":`translateX(${c==="left"?-y:y}px)`,transition:"transform 0.3s ease"}:{},A=C.jsxs(C.Fragment,{children:[g&&c==="left"&&C.jsx(g,{size:18,strokeWidth:1.75}),C.jsx("span",{style:T,children:e}),g&&c==="right"&&C.jsx(g,{size:18,strokeWidth:1.75})]});return n?C.jsx(hn,{to:n,...k,style:S,children:A}):C.jsx("button",{type:"button",onClick:i,...k,style:S,children:A})}const QC=768,Zn=typeof window<"u"&&window.matchMedia("(hover: hover) and (pointer: fine)").matches,Ug=typeof window<"u"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function Vh(){const[e,n]=_.useState(!1);return _.useEffect(()=>{const i=()=>n(window.innerWidth<QC);return i(),window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[]),e}function YC({show:e,onAcceptAll:n,onRejectAll:i,onManage:o}){const a=Bh(),c=Vh();return C.jsx(ai,{children:e&&C.jsx(ke.div,{initial:{opacity:0,y:a?0:24},animate:{opacity:1,y:0},exit:{opacity:0,y:a?0:24},transition:a?{duration:0}:{duration:.45,ease:ja},role:"dialog","aria-label":"Cookie consent",style:{position:"fixed",left:0,right:0,bottom:0,zIndex:95,display:"flex",justifyContent:"center",padding:"clamp(12px, 2vw, 24px)",pointerEvents:"none"},children:C.jsxs("div",{style:{pointerEvents:"auto",width:"100%",maxWidth:1100,display:"flex",flexDirection:c?"column":"row",alignItems:c?"stretch":"center",gap:c?16:28,backgroundColor:J.neutral8,border:`1px solid rgba(${Do},0.08)`,borderRadius:18,boxShadow:`0 16px 48px rgba(${fi},0.4)`,padding:"clamp(18px, 2.4vw, 26px)",boxSizing:"border-box"},children:[C.jsxs("p",{style:{flex:1,margin:0,fontFamily:an.body,fontSize:"var(--text-sm)",lineHeight:1.6,color:J.neutral2},children:["We use cookies to run this site, measure usage, and support our forms. You can accept all, reject non-essential cookies, or choose by category. See our"," ",C.jsx(hn,{to:"/privacy",style:{color:J.green1,textDecoration:"underline"},children:"Privacy Policy"}),"."]}),C.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:12,alignItems:"center",justifyContent:c?"flex-start":"flex-end",flex:"0 0 auto"},children:[C.jsx(cn,{label:"Manage preferences",variant:"ghost",onClick:o}),C.jsx(cn,{label:"Reject all",variant:"outline",onClick:i}),C.jsx(cn,{label:"Accept all",variant:"solid",onClick:n})]})]})})})}function XC({checked:e,onChange:n,locked:i=!1,label:o}){const a=Bh(),c=i||e;return C.jsx("button",{type:"button",role:"switch","aria-checked":c,"aria-label":o,disabled:i,onClick:()=>!i&&n?.(!e),style:{position:"relative",width:44,height:24,flex:"0 0 auto",borderRadius:999,border:"none",padding:2,cursor:i?"default":"pointer",backgroundColor:c?J.green2:`rgba(${Do},0.18)`,opacity:i?.6:1,transition:"background-color 0.25s ease"},children:C.jsx(ke.span,{"aria-hidden":!0,animate:{x:c?20:0},transition:a?{duration:0}:{duration:.25,ease:ja},style:{display:"block",width:20,height:20,borderRadius:"50%",backgroundColor:J.neutral1}})})}
17const JC=[{key:"necessary",title:"Strictly necessary",body:"Required for the site to function — page navigation and remembering your privacy choices. Always on.",locked:!0},{key:"analytics",title:"Analytics",body:"Google Analytics, so we can understand how the site is used and improve it. Sets measurement cookies."},{key:"marketing",title:"Marketing",body:"HubSpot forms on our Contact and Careers pages, used to follow up on your enquiry. Sets marketing cookies."}];function ZC({open:e,initial:n,onSave:i,onAcceptAll:o,onRejectAll:a,onClose:c}){const u=Bh(),[h,f]=_.useState(n);return _.useEffect(()=>{e&&f(n)},[e,n]),_.useEffect(()=>{if(!e)return;const p=g=>{g.key==="Escape"&&c()};return window.addEventListener("keydown",p),()=>window.removeEventListener("keydown",p)},[e,c]),C.jsx(ai,{children:e&&C.jsx(ke.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:u?{duration:0}:{duration:.25,ease:ja},onClick:c,style:{position:"fixed",inset:0,zIndex:130,backgroundColor:"rgba(15, 13, 11, 0.6)",backdropFilter:"blur(8px)",WebkitBackdropFilter:"blur(8px)",display:"flex",alignItems:"center",justifyContent:"center",padding:24},role:"dialog","aria-modal":"true","aria-label":"Cookie preferences",children:C.jsxs(ke.div,{initial:{opacity:0,y:u?0:16,scale:u?1:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:u?0:16,scale:u?1:.98},transition:u?{duration:0}:{duration:.3,ease:ja},onClick:p=>p.stopPropagation(),style:{width:"100%",maxWidth:560,maxHeight:"85vh",overflowY:"auto",backgroundColor:J.neutral8,borderRadius:20,border:`1px solid rgba(${Do},0.08)`,boxShadow:`0 24px 64px rgba(${fi},0.45)`,padding:"clamp(24px, 4vw, 40px)",boxSizing:"border-box"},children:[C.jsx("h2",{style:{fontFamily:an.heading,fontWeight:200,fontSize:"var(--text-2xl)",color:J.neutral2,margin:0,marginBottom:10},children:"Cookie preferences"}),C.jsxs("p",{style:{fontFamily:an.body,fontSize:"var(--text-sm)",lineHeight:1.6,color:J.neutral5,margin:0,marginBottom:24},children:["We use cookies to run the site, measure usage, and support our contact forms. Choose which categories to allow. See our"," ",C.jsx(hn,{to:"/privacy",onClick:c,style:{color:J.green1,textDecoration:"underline"},children:"Privacy Policy"}),"."]}),C.jsx("div",{style:{display:"flex",flexDirection:"column",gap:18},children:JC.map(p=>C.jsxs("div",{style:{display:"flex",gap:16,alignItems:"flex-start",paddingBottom:18,borderBottom:`1px solid rgba(${Do},0.08)`},children:[C.jsxs("div",{style:{flex:1},children:[C.jsx("h3",{style:{fontFamily:an.body,fontWeight:600,fontSize:"var(--text-base)",color:J.neutral1,margin:0,marginBottom:6},children:p.title}),C.jsx("p",{style:{fontFamily:an.body,fontSize:"var(--text-sm)",lineHeight:1.55,color:J.neutral5,margin:0},children:p.body})]}),C.jsx(XC,{label:p.title,locked:p.locked,checked:p.locked?!0:h[p.key],onChange:g=>f(y=>({...y,[p.key]:g}))})]},p.key))}),C.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:12,marginTop:28,justifyContent:"flex-end",alignItems:"center"},children:[C.jsx(cn,{label:"Reject all",variant:"ghost",onClick:a}),C.jsx(cn,{label:"Accept all",variant:"outline",onClick:o}),C.jsx(cn,{label:"Save preferences",variant:"solid",onClick:()=>i(h)})]})]})})})}function eI(){const{categories:e,hasResponded:n,ready:i,preferencesOpen:o,acceptAll:a,rejectAll:c,savePreferences:u,openPreferences:h,closePreferences:f}=sh();return i?C.jsxs(C.Fragment,{children:[C.jsx(YC,{show:!n&&!o,onAcceptAll:a,onRejectAll:c,onManage:h}),C.jsx(ZC,{open:o,initial:e,onSave:u,onAcceptAll:a,onRejectAll:c,onClose:f})]}):null}const yu="hs-script-loader",tI="243241691",nI=`//js-na2.hs-scripts.com/${tI}.js`,rI=["__hstc","hubspotutk","__hssc","__hssrc"];function iI(){const e=window;Array.isArray(e._hsq)&&e._hsq.push(["doNotTrack"])}function oI(){const e=window.location.hostname.replace(/^www\./,"");for(const n of rI)document.cookie=`${n}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/`,document.cookie=`${n}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=.${e}`}function sI(){const{categories:e}=sh(),n=e.marketing;return _.useEffect(()=>{if(n){if(document.getElementById(yu))return;const i=document.createElement("script");i.id=yu,i.type="text/javascript",i.async=!0,i.defer=!0,i.src=nI,document.head.appendChild(i)}else iI(),document.getElementById(yu)?.remove(),oI()},[n]),null}const aI=()=>C.jsx("style",{children:`
18    @font-face {
19      font-family: 'Sentient';
20      font-style: normal;
21      font-weight: 100 900;
22      font-display: swap;
23      src: url('/fonts/Sentient-Variable.woff2') format('woff2');
24    }
25    @font-face {
26      font-family: 'Sentient';
27      font-style: italic;
28      font-weight: 100 900;
29      font-display: swap;
30      src: url('/fonts/Sentient-VariableItalic.woff2') format('woff2');
31    }
32    @font-face {
33      font-family: 'IBM Plex Mono';
34      font-style: normal;
35      font-weight: 400;
36      font-display: swap;
37      src: url('/fonts/IBMPlexMono-Regular.woff2') format('woff2');
38    }
39    @font-face {
40      font-family: 'IBM Plex Mono';
41      font-style: normal;
42      font-weight: 500;
43      font-display: swap;
44      src: url('/fonts/IBMPlexMono-Medium.woff2') format('woff2');
45    }
46    @font-face {
47      font-family: 'IBM Plex Mono';
48      font-style: normal;
49      font-weight: 600;
50      font-display: swap;
51      src: url('/fonts/IBMPlexMono-SemiBold.woff2') format('woff2');
52    }
53  `}),Hg=[.1,.15,.3,.6,1.25,2.5,5,10];function lI({height:e=140,zIndex:n=50,top:i=0}){const a=100/Hg.length;return C.jsx("div",{"aria-hidden":"true",style:{position:"fixed",top:i,left:0,right:0,height:e,zIndex:n,pointerEvents:"none"},children:Hg.map((c,u)=>{const h=u*a,f=(u+1)*a,p=`linear-gradient(to top, transparent ${h}%, black ${f}%)`;return C.jsx("div",{style:{position:"absolute",inset:0,backdropFilter:`blur(${c}px)`,WebkitBackdropFilter:`blur(${c}px)`,maskImage:p,WebkitMaskImage:p}},u)})})}const cI=[{heading:"Legal",links:[{label:"Privacy Policy",to:"/privacy"},{label:"Terms of Use",to:"/terms"},{label:"Subscription Terms",to:"/subscription"},{label:"Sub-Processors",to:"/sub-processors"},{label:"Data Processing Addendum",to:"/dpa"}]},{heading:"Company",links:[{label:"About",to:"/company"},{label:"Careers",to:"/joinus"}]},{heading:"Resources",links:[{label:"Blog",to:"/blog"},{label:"News",to:"/news"},{label:"Press Release",to:"/press"}]},{heading:"Social",links:[{label:"LinkedIn",href:"https://www.linkedin.com/company/ent-security"},{label:"X",href:"https://x.com/Ent_Security"}]}];function uI(){const{openPreferences:e}=sh(),n=Vh()||typeof window<"u"&&window.innerWidth<768,i=cI.map(c=>c.heading==="Legal"?{...c,links:[...c.links,{label:"Cookie Preferences",onClick:e}]}:c),o=new Date().getFullYear(),a={fontFamily:an.body,fontSize:"var(--text-sm)",fontWeight:400,lineHeight:2,letterSpacing:"-0.128px",background:"none",border:"none",padding:0,textAlign:"left",display:"block",textDecoration:"none",...n?{display:"flex",alignItems:"center",minHeight:44,lineHeight:1.3}:{}};return C.jsxs("footer",{"data-section":"footer",style:{position:"relative",zIndex:10,minHeight:760,backgroundColor:"transparent",overflow:"hidden"},children:[C.jsx("style",{children:`
54        .ent-footer-link { color: ${J.neutral1}; cursor: pointer; transition: color 0.2s ease; }
55        .ent-footer-link:hover { color: ${J.green1}; }
56      `}),C.jsx("div",{"aria-hidden":!0,style:{position:"absolute",inset:0,pointerEvents:"none",background:`linear-gradient(188.56deg, rgba(${fi},0) 14.85vw, rgba(${fi},1) calc(14.85vw + 320px))`}}),C.jsxs("div",{style:{position:"relative",zIndex:1,width:"100%",maxWidth:1728,margin:"0 auto",minHeight:760,padding:"96px clamp(24px, 9.26vw, 160px) 48px",boxSizing:"border-box",display:"flex",flexDirection:"column",justifyContent:"space-between",gap:80},children:[C.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:64,marginTop:100},children:i.map(c=>{const u=`footer-col-${c.heading.toLowerCase().replace(/\s+/g,"-")}`;return C.jsxs("div",{style:{minWidth:150},children:[C.jsx("h3",{id:u,style:{fontFamily:an.heading,fontWeight:200,fontSize:"var(--text-xl)",letterSpacing:"-0.192px",color:J.neutral5,margin:0},children:c.heading}),C.jsx("div",{style:{width:24.5,height:1,backgroundColor:J.neutral5,opacity:.6,margin:"18px 0 14px"}}),C.jsx("nav",{"aria-labelledby":u,children:c.links.map(h=>h.to?C.jsx(hn,{to:h.to,className:"ent-footer-link",style:a,children:h.label},h.label):h.href?C.jsx("a",{href:h.href,target:"_blank",rel:"noopener noreferrer",className:"ent-footer-link",style:a,children:h.label},h.label):h.onClick?C.jsx("button",{type:"button",onClick:h.onClick,className:"ent-footer-link",style:{...a,background:"none",border:"none",cursor:"pointer"},children:h.label},h.label):C.jsx("span",{style:{...a,color:J.neutral5,opacity:.7},children:h.label},h.label))})]},c.heading)})}),C.jsxs("span",{style:{fontFamily:an.heading,fontWeight:200,fontSize:"var(--text-xl)",letterSpacing:"-0.192px",color:J.neutral5},children:["©",o]})]})]})}const hI="modulepreload",dI=function(e){return"/"+e},$g={}
56,ze=function(n,i,o){let a=Promise.resolve();if(i&&i.length>0){let f=function(p){return Promise.all(p.map(g=>Promise.resolve(g).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),h=u?.nonce||u?.getAttribute("nonce");a=f(i.map(p=>{if(p=dI(p),p in $g)return;$g[p]=!0;const g=p.endsWith(".css"),y=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${y}`))return;const v=document.createElement("link");if(v.rel=g?"stylesheet":hI,g||(v.as="script"),v.crossOrigin="",v.href=p,h&&v.setAttribute("nonce",h),document.head.appendChild(v),g)return new Promise((w,b)=>{v.addEventListener("load",w),v.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${p}`)))})}))}function c(u){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=u,window.dispatchEvent(h),!h.defaultPrevented)throw u}return a.then(u=>{for(const h of u||[])h.status==="rejected"&&c(h.reason);return n().catch(c)})},Ba=.44,sa=50,fI=1,pI=.2,mI=32,gI=60,yI=1280*800,qg=2e3,Oo=184,Fo=397,vI={restitution:.3,friction:.5,frictionAir:.01,density:.001},_w=[{d:"M56.0868 206.773C43.4753 219.398 36.3906 236.516 36.3906 254.363V397L36.3867 396.997L36.3886 397H0L18.1797 384.379V246.493C18.1797 228.877 25.175 211.978 37.624 199.521L145.808 91.146L184.002 78.7681L56.0868 206.773Z",fill:"#A6F3C5"},{d:"M94.0159 49.4109L37.6227 106.013C25.1737 118.47 18.1785 135.368 18.1785 152.985V243.805C19.5349 208.347 29.4392 191.41 36.3951 174.943V157.702C36.3951 145.088 42.4711 126.793 56.5008 112.749L132.221 37.0327L94.0159 49.4165V49.4109Z",fill:"#A6F3C5"},{d:"M36.391 66.9162C36.391 47.1627 44.3839 31.6718 57.158 18.8954L76.1819 0L56.3677 7.57161C33.6893 16.2874 18.7797 34.8182 18.1967 58.3631C18.1855 58.9128 18.1743 60.9375 18.1743 61.4927V150.311C19.5308 114.853 29.435 97.915 36.391 81.4481V66.9219V66.9162Z",fill:"#A6F3C5"},{d:"M184.002 78.7681L145.809 91.146H145.804L37.6186 199.521C25.1697 211.977 18.1743 228.877 18.1743 246.493V243.807C19.5364 208.349 29.4351 191.411 36.3911 174.944L132.481 78.8354L132.547 78.7681H184.002Z",fill:"#67CF91"},{d:"M56.456 7.53807L76.1805 0H0V396.999L18.1777 384.385V61.4364L18.1953 58.3124C18.7783 34.7677 34.1365 15.9846 56.456 7.53807Z",fill:"#67CF91"},{d:"M132.218 37.0327L94.0133 49.4106L94.0153 49.4126L37.6228 106.014C25.1738 118.471 18.1785 135.37 18.1785 152.987V150.255C19.5405 114.798 29.4393 97.8706 36.3952 81.4037L80.6911 37.1011L80.6901 37.1001L80.7575 37.0327H132.218Z",fill:"#67CF91"}],wI=`<svg width="${Oo}" height="${Fo}" viewBox="0 0 ${Oo} ${Fo}" fill="none" xmlns="http://www.w3.org/2000/svg">`+_w.map(e=>`<path d="${e.d}" fill="${e.fill}"/>`).join("")+"</svg>",Kg="http://www.w3.org/2000/svg";function xI(e){const n=document.createElementNS(Kg,"svg");n.setAttribute("width",String(Oo)),n.setAttribute("height",String(Fo)),n.style.position="absolute",n.style.left="-9999px",n.style.top="0",n.style.visibility="hidden",document.body.appendChild(n);const i=[];try{for(const{d:a}of _w){const c=document.createElementNS(Kg,"path");c.setAttribute("d",a),n.appendChild(c);const u=c.getTotalLength();if(u)for(let h=0;h<=qg;h++){const f=c.getPointAtLength(h/qg*u);i.push({x:f.x,y:f.y})}}}finally{document.body.removeChild(n)}return e.Vertices.hull(i).map(a=>({x:(a.x-Oo/2)*Ba,y:(a.y-Fo/2)*Ba}))}function bI(){const e=_.useRef(null);return _.useEffect(()=>{if(Ug)return;const n=e.current;if(!n)return;let i=!1,o;return(async()=>{const[{default:a},c,{default:u}]=await Promise.all([ze(()=>import("./p5.min-TwUwS845.js").then(U=>U.p),[]),ze(()=>import("./matter-feRO4rGL.js").then(U=>U.m),[]),ze(()=>import("./index-BgpsANd_.js").then(U=>U.i),[])]);if(i||!e.current)return;c.Common.setDecomp(u);const h=Oo*Ba,f=Fo*Ba;let p,g,y=null,v=[],w=[],b=[],S=0,k=0,T=!1,A=!1;const R=(U,Q)=>U+Math.random()*(Q-U),L=(U,Q)=>[c.Bodies.rectangle(U/2,Q+25,U+100,50,{isStatic:!0}),c.Bodies.rectangle(U/2,-25,U+100,50,{isStatic:!0}),c.Bodies.rectangle(-25,Q/2,50,Q+100,{isStatic:!0}),c.Bodies.rectangle(U+25,Q/2,50,Q+100,{isStatic:!0})],F=(U,Q)=>{let ae=Math.round(5.4*(U*Q/yI));return ae=Math.max(mI,ae),Math.min(gI,ae)},V=(U,Q)=>{const ae=[],fe=F(U,Q);for(let pe=0;pe<fe;pe++){const me=R(sa,U-sa),K=R(sa,Q-sa),ee=c.Bodies.fromVertices(me,K,[b],vI,!0);ee&&ae.push(ee)}return ae},W=()=>{for(const U of w)c.Body.setVelocity(U,{x:0,y:0}),c.Body.setAngularVelocity(U,0)},N=()=>
56{for(const U of w)U.isSleeping=!1,c.Body.setVelocity(U,{x:R(-2,2),y:R(3,6)}),c.Body.setAngularVelocity(U,R(-.1,.1))},j=U=>{U.preload=()=>{p=U.loadImage("data:image/svg+xml;base64,"+btoa(wI))},U.setup=()=>{const Q=window.innerWidth,ae=window.innerHeight,pe=U.createCanvas(Q,ae).elt;pe.style.display="block",U.pixelDensity(1),g=c.Engine.create({enableSleeping:!0}),g.gravity.y=fI,b=xI(c);const me=c.Vertices.centre(b);if(S=-me.x,k=-me.y,v=L(Q,ae),w=V(Q,ae),c.World.add(g.world,[...v,...w]),Zn){const K=c.Mouse.create(pe),ee=K.mousewheel;pe.removeEventListener("wheel",ee),pe.removeEventListener("DOMMouseScroll",ee),y=c.MouseConstraint.create(g,{mouse:K,constraint:{stiffness:pI,render:{visible:!1}}}),c.World.add(g.world,y)}W()},U.draw=()=>{U.clear(),T&&c.Engine.update(g,1e3/60),U.imageMode(U.CORNER);for(const Q of w)U.push(),U.translate(Q.position.x,Q.position.y),U.rotate(Q.angle),U.image(p,S-h/2,k-f/2,h,f),U.pop()},U.windowResized=()=>{const Q=window.innerWidth,ae=window.innerHeight;U.resizeCanvas(Q,ae),c.World.remove(g.world,[...v,...w]),v=L(Q,ae),w=V(Q,ae),c.World.add(g.world,[...v,...w]),T?N():W()}},z=new a(j,n),$=new IntersectionObserver(U=>{for(const Q of U)Q.isIntersecting?(T=!0,A||(A=!0,N())):(T=!1,W())});$.observe(n),o=()=>{$.disconnect(),y&&c.World.remove(g.world,y),g&&(c.World.clear(g.world,!1),c.Engine.clear(g)),z.remove()}})(),()=>{i=!0,o?.()}},[]),Ug?null:C.jsx("div",{ref:e,"aria-hidden":"true",style:{position:"fixed",inset:0,zIndex:0,pointerEvents:Zn?"auto":"none",touchAction:"pan-y"}})}let xa={active:!1};const Yu=new Set;function Gg(e){if(!(xa.active===e.active&&xa.title===e.title)){xa=e;for(const n of Yu)n()}}function SI(e){return Yu.add(e),()=>Yu.delete(e)}function Qg(){return xa}function kI(){return _.useSyncExternalStore(SI,Qg,Qg)}function Aw({code:e,title:n,message:i,documentTitle:o,noindex:a=!0,background:c=J.neutral8,action:u}){return _.useEffect(()=>(Gg({active:!0,title:o}),()=>Gg({active:!1})),[o]),_.useEffect(()=>{if(!a)return;const h=document.querySelector('meta[name="robots"]'),f=h?.getAttribute("content")??null;return h?.setAttribute("content","noindex"),()=>{h&&f!==null&&h.setAttribute("content",f)}},[a]),C.jsxs(C.Fragment,{children:[C.jsx("div",{"aria-hidden":"true",style:{position:"fixed",inset:0,zIndex:0,background:c,pointerEvents:"none"}}),C.jsx(bI,{}),C.jsx("div",{style:{minHeight:"100vh",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",position:"relative",zIndex:1,padding:"0 30px",textAlign:"center",pointerEvents:"none"},children:C.jsxs(ke.div,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:1,ease:Re},style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[e&&C.jsx("span",{style:{fontFamily:Ot,fontSize:"var(--text-6xl)",fontWeight:300,lineHeight:1,color:J.green1},children:e}),C.jsx("h1",{style:{fontFamily:Ot,fontSize:"var(--text-3xl)",fontWeight:300,color:J.neutral2,margin:e?"20px 0 0":0},children:n}),i&&C.jsx("p",{style:{fontFamily:Ot,fontSize:"var(--text-base)",fontWeight:400,color:J.neutral4,margin:"12px 0 0",maxWidth:"420px"},children:i}),u!==null&&C.jsx("div",{style:{marginTop:"32px",pointerEvents:"auto"},children:u??C.jsx(cn,{label:"Back to home",to:"/",variant:"outline",icon:"arrow"})})]})})]})}const Rw={background:"none",border:"none",padding:0,margin:0,cursor:"pointer",font:"inherit",color:"inherit"},TI=8,EI=14,PI=10,CI=-22;function II({label:e,to:n,accentColor:i,itemColor:o,onSelect:a}){const[c,u]=_.useState(!1);return C.jsx(hn,{to:n,onClick:a,onMouseEnter:Zn?()=>u(!0):void 0,onMouseLeave:Zn?()=>u(!1):void 0,style:{...Rw,display:"block",textDecoration:"none",textAlign:"left",padding:`${PI}px ${EI}px`,borderRadius:9,fontSize:"var(--text-sm)",fontWeight:500,fontFamily:Ot,whiteSpace:"nowrap",cursor:"pointer",color:c?i:o,backgroundColor:c?`rgba(${Do},0.06)`:"rgba(255,255,255,0)",transition:"color 0.2s ease, background-color 0.2s ease"},children:e})}function _I({label:e,options:n,accentColor:i,restColor:o,itemColor:a="#F8F6F2",align:c="left",minWidth:u=220}){const[h,f]=_.useState(!1),p=o??i,g=_.useRef(void 0),y=()=>{window.clearTimeout(g.current),f(!0)},v=()=>{g.current=window.setTimeout(()=>f(!1),140)},w=c==="center"?{left:"50%",transform:"translateX(-50%)"}:{left:CI};return C.jsxs("div",{onMouseEnter:Zn?y:void 0,onMouseLeave:Zn?v:void 0,style:{position:"relative",display:"inline-flex"},children:[C.jsxs("button",{onClick:()=>f(b=>!b),"aria-haspopup":"menu","aria-expanded":h,style:{...Rw,display:"inline-flex",alignItems:"center",gap:"5px"},children:[C.jsx(ke.span,{animate:{color:p},transition:{duration:1,ease:Re},style:{fontSize:"var(--text-sm)",fontWeight:500,fontFamily:Ot},children:e}),C.jsx(ke.span,{animate:{color:p,rotate:h?180:0}
56,transition:{duration:.3,ease:Re},style:{fontSize:"9px",lineHeight:1,display:"inline-block"},children:"▼"})]}),C.jsx(ke.div,{role:"menu","aria-hidden":!h,initial:!1,animate:h?{opacity:1,y:0,visibility:"visible"}:{opacity:0,y:8,visibility:"hidden"},transition:{duration:.25,ease:Re},style:{position:"absolute",top:"calc(100% + 14px)",...w,minWidth:u,display:"flex",flexDirection:"column",padding:TI,borderRadius:14,backgroundColor:`rgba(${fi},0.35)`,backdropFilter:"blur(22px) saturate(160%)",WebkitBackdropFilter:"blur(22px) saturate(160%)",boxShadow:`0 12px 40px rgba(${fi},0.35)`,pointerEvents:h?"auto":"none"},children:n.map(b=>C.jsx(II,{label:b.label,to:b.to,accentColor:i,itemColor:a,onSelect:()=>f(!1)},b.label))})]})}const AI=JSON.parse(`[{"slug":"when-behavior-becomes-the-signal","title":"When Behavior Becomes the Signal","authors":[{"name":"Ruslan Vaulin","title":"Lead AI Scientist"}],"image":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/Blog%20images/Behavior%20Becomes%20the%20Signal.png?width=1600","date":"2026-09-02","updated":"2026-09-02","readMinutes":5,"excerpt":"By Ruslan Vaulin|Lead AI Scientist","seoTitle":"When Behavior Becomes the Signal","metaDescription":"Most security AI activates after an alert fires. Continuous behavioral intelligence moves understanding earlier, before an incident takes shape.","content":[{"type":"heading","text":"How continuous behavioral understanding helps security AI recognize risk as it unfolds"},{"type":"paragraph","text":"The first wave of generative AI in security has been easy to recognize. Large language models are being given access to alerts and logs so analysts can ask questions in natural language, summarize incidents, explain detections, and determine what to investigate next. These capabilities are useful because they can help analysts work faster and make complex security systems easier to navigate. They also reflect a familiar pattern in how new technologies enter security, where the first step is often to improve the workflows teams already have."},{"type":"paragraph","text":"The larger opportunity is to rethink where intelligence enters the security process. Today, much of security AI becomes useful only after an alert has fired or an analyst has started an investigation. By that point, the system is already reacting to something it has identified as noteworthy."},{"type":"paragraph","text":[{"text":"The next phase of security AI will move intelligence earlier in the process, toward systems that "},{"href":"https://ent.ai/blog/the-future-of-security-lives-where-work-happens/","text":"continuously understand enterprise behavior"},{"text":", preserve context over time, and recognize meaningful changes as they unfold. The goal is not simply to help analysts understand incidents faster. It is to help security systems understand behavior well enough to recognize risk before an incident fully takes shape."}]},{"type":"heading","text":"Security telemetry is not language"},{"type":"paragraph","text":"Most generative AI architectures were designed around language, which makes it tempting to apply the same approach to security telemetry by retrieving relevant logs, placing them into a model’s context, and asking an LLM to reason about the activity. Enterprise behavior does not exist as a collection of documents, and a single event is rarely meaningful on its own. A user opening an application, authenticating to a service, executing a command, or accessing a file may all be completely legitimate."},{"type":"paragraph","text":"The meaning comes from the context around those actions, including whether the behavior is normal for that user, whether the device has behaved this way before, what happened immediately beforehand, which applications, identities, and policies are involved, and how the activity compares with historical patterns."},{"type":"paragraph","text":"Security is inherently longitudinal, which means understanding it requires models that can preserve relationships across users, devices, applications, identities, policies, and time. That is fundamentally different from asking a language model to summarize text."},{"type":"heading","text":"From alert intelligence to behavioral intelligence"},{"type":"paragraph","text":"Much of today’s security AI begins once something has already been identified as interesting. An alert fires, an analyst investigates it, and AI helps summarize the relevant information and determine what to do next."},{"type":"paragraph","text":"The more significant opportunity is to move intelligence earlier in that process by continuously building an understanding of enterprise behavior. Instead of asking AI only to interpret alerts, security systems can learn how users normally behave, how systems typically interact, which patterns are expected, and which changes may be meaningful."},{"type":"paragraph","text":"Rather than waiting for isolated events to become alerts, security intelligence can evaluate a continuous stream of actions in context as work unfolds. This shifts the role of AI from helping analysts investigate known events to helping identify unusual behavior before an analyst knows which question to ask."},{"type":"heading","text":"Context matters more than model size"},{"type":"paragraph","text":[{"text":"Raw model intelligence is not enough in security. A model also needs to understand the environment in which activity is taking place. A highly capable general-purpose model without that c
56ontext may be less useful than a smaller system that understands "},{"href":"https://ent.ai/blog/when-helpful-becomes-harmful","text":"what normal behavior looks like inside"},{"text":" that organization."}]},{"type":"paragraph","text":"That understanding starts at the endpoint, where user activity is continuously unfolding. Individual actions may look harmless on their own. Their meaning becomes clearer when they are understood alongside behavioral history, organizational context, and policy. Security intelligence emerges when telemetry is connected to that broader understanding of how people, applications, and systems normally behave."},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/Blog%20images/Telemetry.png?width=1600","alt":"Telemetry","caption":"From Telemetry to Organizational Context"},{"type":"paragraph","text":[{"text":"At "},{"href":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/Marketing/Ent%20Solutions%20Brief%202026.pdf","text":"Ent"},{"text":", we are building AI models that turn endpoint telemetry and user activity into behavioral representations informed by organizational context and policy. This gives security systems a continuously updated understanding of what normal looks like, providing richer context for both real-time decisions at the endpoint and deeper reasoning when additional analysis is needed."}]},{"type":"heading","text":"Security intelligence has to be continuous"},{"type":"paragraph","text":"Security decisions often need to happen in real time, especially when important activity is unfolding continuously on the endpoint. In those moments, milliseconds matter. Continuous security requires intelligence that can keep pace with the stream of actions as they occur, interpreting those actions in context rather than waiting for individual events to become alerts."},{"type":"paragraph","text":"Continuous endpoint intelligence operates differently from slower agent workflows that investigate activity after something has already surfaced. Those agents remain valuable for deeper reasoning, investigation, and orchestration, but prevention operates on a different timescale."},{"type":"paragraph","text":"That points toward a hierarchical architecture in which smaller models perform continuous behavioral inference with low latency at the endpoint, while larger reasoning systems provide deeper analysis, correlate activity across the environment, and orchestrate more complex response workflows. The two layers serve different purposes. Endpoint intelligence supports immediate understanding and prevention, while larger agents provide deeper investigation when additional analysis is required."},{"type":"paragraph","text":[{"text":"At the endpoint, the UI becomes part of that response layer, enabling direct interaction with end users and supporting interventions as "},{"href":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/Marketing/ENT-DATASHEET-V3b.pdf","text":"risky activity occurs."}]},{"type":"paragraph","text":"Figure 2 shows how the system combines activity happening now with context learned over time. At the endpoint, inference evaluates the live stream of actions alongside context embeddings that represent previously learned normal behavior."},{"type":"paragraph","text":"Separately, context capture supplies new endpoint context to the broader learning system, which builds and updates behavioral baselines across users, departments, and the enterprise."},{"type":"paragraph","text":"Those updated baselines are periodically returned to endpoints, helping inference support an immediate UI intervention or trigger an investigation agent when deeper analysis is required."},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/Blog%20images/AI%20Inference%20Architecture.png?width=1600","alt":"AI Inference Architecture","caption":"AI Inference Architecture for Continuous Behavioral Understanding"},{"type":"paragraph","text":"The goal is not to replace large language models, which remain valuable for reasoning, investigation, and orchestration, but to use them as one layer within a broader system. In this architecture, inference at the endpoint supports continuous, time-sensitive decisions, while larger models and agents handle more complex analysis and response. Together, these layers move security AI beyond explaining what has already happened and toward recognizing and preventing risk as it unfolds."},{"type":"heading","text":"Building for continuous understanding"},{"type":"paragraph","text":"The opportunity for security AI is to move from helping teams make sense of alerts to recognizing meaningful behavior as it happens. Getting there requires systems that can maintain an understanding of what is normal for an organization and use that understanding to identify risk earlier. It also requires security intelligence that can operate at the speed of the activity it is protecting, rather than waiting for a slower investigative workflow to determine what happened."},{"type":"paragraph","text":"That is the direction we are building toward at Ent, creating security that continuously understands behavior and helps teams act before risky activity becomes an incident."}]},{"slug":"black-hat-2026-confirmed-it-security-has-to-move-closer-to-where-work-happens","title":"Black Hat 2026 Confirmed It: Security Has to Move Closer to Where Work Happens","authors":[{"name":"Janani Nagarajan","title":"VP of Product Marketing at Ent"}
56],"image":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/Blog%20images/u2872878144_A_black_and_white_image_of_a_shape_merging_with_an__d8cdc1df-9170-45da-992c-31b5fa52fee5.png?width=1600","date":"2026-08-13","updated":"2026-09-02","readMinutes":8,"excerpt":"Janani Nagarajan|VP of Product Marketing at Ent","seoTitle":"Black Hat 2026 Confirmed It: Security Has to Move Closer to Where Work Happens","metaDescription":"At Black Hat 2026, one theme kept surfacing: security has to move closer to where work happens. Why intent—not just activity—is the future of prevention.","content":[{"type":"paragraph","text":"Black Hat USA 2026 was one of Ent’s biggest weeks, and one message came through clearly: security architecture needs to be rethought for the AI era, with prevention back at the center."},{"type":"paragraph","text":"Across meetings with customers, prospects, and industry experts, live demos, and our hands-on Discovery workshops, we heard that the current security stack can no longer keep pace with how work happens."},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/img_8554_720.jpg?width=1600","alt":"img_8554_720","caption":"Ent signage at Black Hat 2026"},{"type":"paragraph","text":"Work now spans browsers, SaaS applications, AI tools, local files, and automated workflows. Attackers operate through many of the same tools. Their activity can appear legitimate because the user is authenticated, the application is approved, and each action looks normal on its own."},{"type":"paragraph","text":"The strongest conversations at Black Hat focused on how security teams can recognize and stop that activity before it causes damage."},{"type":"heading","text":"AI is making familiar security problems move faster"},{"type":"paragraph","text":"AI and agentic messaging dominated the conference, but most security leaders were not looking for another product category called “AI security.” They were trying to solve problems they already own: ineffective DLP, insider risk, unsanctioned AI use, application control, social engineering and click-fix attacks, and investigations that take too long or lack the right evidence."},{"type":"paragraph","text":"Employees are putting company data into AI tools. Agents are taking actions across applications and files. On the flip side, attackers are using AI to find vulnerabilities, generate exploits, and coordinate campaigns faster. The activity still involves data, applications, identities, and endpoints. The speed and volume have changed."},{"type":"paragraph","text":"A Microsoft keynote described how AI is lowering the cost of vulnerability discovery and exploit development. Work that once required specialized skills and significant time can increasingly be automated. That puts more pressure on defenders to prevent attacks earlier instead of relying on alerts and investigations after execution."},{"type":"paragraph","text":"Several conversations at Black Hat raised the same architectural concern. Cloud-dependent security introduces delay when a decision needs to be made immediately. It can also require organizations to send sensitive workplace context outside their environment for analysis."},{"type":"paragraph","text":"Security controls need to make more of these decisions locally, while the action is still underway."},{"type":"heading","text":"Existing tools see pieces of the activity"},{"type":"paragraph","text":"Traditional security tools are very good at answering specific questions."},{"type":"paragraph","text":"EDR can tell you what process was executed. DLP can tell you when governed data moved through a monitored channel. Identity tools can tell you who authenticated and are authorized to perform certain actions. SIEM can bring those signals together and SOC platforms can assemble them for investigation."},{"type":"paragraph","text":"Those tools remain necessary. The gap appears when an approved user, application, or AI agent performs an action that looks legitimate on its own. The question that matters now is why an action is happening right now and whether it should be allowed to continue."},{"type":"paragraph","text":"An engineer may use SSH every day as part of the job. The same action could become risky when it follows an unusual file download or connects to a system the engineer has never accessed. An employee may upload a document to an approved AI tool, but the action requires a different response if the document contains customer data and the tool is not sanctioned for that use."},{"type":"paragraph","text":"The action alone doesn’t always tell you enough."},{"type":"paragraph","text":"And more telemetry isn’t necessarily the answer. What matters is being able to interpret the action in context and understand what it means. The same action can be routine for one user and risky for another. Security team
56s need the sequence around it: who performed it, what data was involved, which applications and systems were touched, whether it fits the person’s role, and what happened immediately before it."},{"type":"paragraph","text":"As Andrew Cal, CISO at WestCap, explains,"},{"type":"paragraph","text":"“Modern work creates signals that can look identical on the surface, even when the intent is completely different. Ent reads the chain of events and helps security teams understand the difference between normal work and risky actions.”"},{"type":"paragraph","text":"That’s where intent matters."},{"type":"paragraph","text":[{"text":"This is the foundation of "},{"href":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/Marketing/Ent%20Solutions%20Brief%202026.pdf","text":"Intent-Aware Workspace Security"},{"text":", an approach that brings together endpoint telemetry, behavioral context, organizational policy, and AI reasoning to understand why activity is happening as work happens and enable intervention before risky actions become incidents."}]},{"type":"heading","text":"From watching an attack to stopping It"},{"type":"paragraph","text":"At Black Hat, we wanted attendees to experience that difference for themselves."},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/Blog%20images/4d21e832-68dd-4d5e-841a-4546872faed4.png?width=1600","alt":"4d21e832-68dd-4d5e-841a-4546872faed4","caption":"Ent Discovery Workshop at Black Hat 2026"},{"type":"paragraph","text":"In our Discovery workshops: Threat Investigation Files, participants didn’t sit through another presentation. They sat down at an operator console and worked through the investigation themselves."},{"type":"paragraph","text":"They watched an attack unfold across a user, an endpoint, applications, and other systems and saw what happened after access was gained. They investigated the activity using behavioral timelines and contextual evidence. Then they saw how user intervention could change the outcome and why it needed to happen at the endpoint, before the damage occurs."},{"type":"paragraph","text":"The workshops brought the concept of intent-aware security to life. When activity looks legitimate on the surface, understanding the sequence of behavior and the context surrounding it can make the difference between another alert post-incident and meaningful intervention in real-time."},{"type":"paragraph","text":"One workshop participant summed it up this way."},{"type":"paragraph","text":"“I didn’t know what to expect, but it wasn’t this. I have nothing that does this today, you’re solving the hardest part of our investigation and no one is doing this. I can’t wait to show my team.”"},{"type":"paragraph","text":"That reaction reflected something we heard throughout the week. Security teams don’t need another pile of telemetry. They need help inferring the context and intent behind an action, pinpoint deviations from regular work, and what to do next."},{"type":"heading","text":"Prevention needs more than a block button"},{"type":"paragraph","text":"Real-time prevention does not mean blocking every unusual action."},{"type":"paragraph","text":"One of the clearest themes at Black Hat was a shift from reactive detection and response toward proactive prevention. It showed up in conversations across the conference, not just at our booth."},{"type":"paragraph","text":"Visibility is only valuable if it can change the outcome."},{"type":"paragraph","text":"A good control should apply the right response for the situation. It may warn the user, ask for a reason, redirect the user to an approved application, require another approval, or block the action when the risk is clear."},{"type":"paragraph","text":"Context determines which response makes sense."},{"type":"paragraph","text":"Security teams don’t just want to know that something risky happened. They want enough context to make a decision while the action is still unfolding."},{"type":"paragraph","text":"That means moving from detecting and reconstructing incidents after the fact toward intervening at the moment risk occurs. Controls that understand the user, role, data, application, and sequence of activity can be more operationally effective than blunt controls."},{"type":"paragraph","text":"Ent Founder Elias (Lou) Manousos with Richard Sherman at Decibel GameDay."},{"type":"paragraph","text":"The same approach can govern people and AI agents. If an agent tries to move sensitive data, install an unsanctioned application, or execute an action outside its approved role, the policy should apply regardless of whether it was a human or an agent-driven workflow."},{"type":"heading","text":"AI Agents are redefining endpoint security"},{"type":"paragraph","text":"AI is changing how employees work and how attackers operate."},{"type":"paragraph","text":"Employees can move sensitive information into AI tools in seconds. Attackers can automate social engineering and parts of the attack lifecycle. AI agents can act across applications and systems faster than security team
56s can review each step."},{"type":"paragraph","text":"But the underlying problems are often familiar."},{"type":"paragraph","text":"Sensitive data still leaves the organization. Attackers still abuse trusted applications. Insiders still work outside expected workflows. Social engineering still convinces users to take actions they shouldn’t. AI increases the speed, scale, and volume of that activity."},{"type":"paragraph","text":"As Jon Sakoda, Founding Partner at Decibel, puts it,"},{"type":"paragraph","text":"“AI has been a killer app for hackers and offensive researchers, but the industry is waiting for a novel defensive solution that can keep up with the modern era of LLMs. Ent has reimagined what is possible to protect the endpoint by using specialized AI models and adaptive policy enforcement to detect and prevent malicious activity in real time. It’s a game changer for cybersecurity teams who need a paradigm shift to defend their workforce against LLM-based attacks.”"},{"type":"paragraph","text":[{"text":"That shift was evident throughout Black Hat. Security leaders aren’t simply looking for more AI security products. Many are trying to solve problems they already own, including data protection, "},{"href":"https://preview.d2oftr9oq6im4e.amplifyapp.com/blog/when-trust-becomes-the-attack-vector/","text":"insider risk,"},{"text":" application and AI usage control, investigations, and rapid response."}]},{"type":"heading","text":"Protecting work requires trust"},{"type":"paragraph","text":"As security moves closer to where work happens, trust becomes essential."},{"type":"paragraph","text":"Understanding behavior at the endpoint naturally raises questions about privacy, what telemetry is collected, and how that information is used."},{"type":"paragraph","text":"Organizations need control over what is collected, where security data resides, and how behavioral information is used. The goal is to capture the context needed to understand risk without turning security into employee surveillance. This requires clear policies, controlled access to behavioral data, and an architecture that lets customers keep sensitive context inside their environment."},{"type":"paragraph","text":"Protecting work as it happens requires an approach that balances security with privacy and gives organizations control over how they protect their human and AI workforce."},{"type":"heading","text":"What comes next"},{"type":"paragraph","text":"The response we experienced at Black Hat reinforced that the market is ready for a different approach. We saw a growing interest in endpoint security that can understand human and AI activity and intervene while risk is still unfolding."},{"type":"paragraph","text":"The energy around Gen3 endpoint security, prevention, securing human and AI agent workflows, and real-time intervention was impossible to miss. Investors, customers, partners, and practitioners were all wrestling with versions of the same question. How does security keep up when risky activity increasingly looks like legitimate work?"},{"type":"paragraph","text":"For Ent, the answer starts with intent."},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/DSCF2610.jpg?width=1600","alt":"DSCF2610","caption":"Ent booth at Black Hat 2026"},{"type":"paragraph","text":"It means working towards a vision where organizations understand why an action is happening, apply the right response, and give investigators evidence they can follow. It also means working with the EDR, DLP, SIEM, and SOC systems customers already use."},{"type":"paragraph","text":"We left Black Hat 2026 energized by the conversations, the engagement in our workshops, and the momentum around what we’re building."},{"type":"heading","text":"See Ent in Action"},{"type":"paragraph","text":"Learn how Ent helps security teams understand intent, intervene before risky actions become incidents, and protect human and AI-driven work as it happens."},{"type":"paragraph","text":[{"text":"See the platform in action and schedule a demo at "},{"href":"http://ent.ai/contact","text":"ent.ai/contact."}]},{"type":"paragraph","text":[{"text":"Follow us on "},{"href":"https://x.com/Ent_Security","text":"X"},{"text":" and "},{"href":"https://www.linkedin.com/company/ent-security/posts/?feedView=all","text":"LinkedIn"},{"text":"."}]}]},{"slug":"when-helpful-becomes-harmful","title":"When Helpful Becomes Harmful","authors":[{"name":"Janani Nagarajan","title":"VP of Product Marketing at Ent"}
56],"image":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/When%20Helpful%20Becomes%20Harmful.png?width=1600","date":"2026-06-26","updated":"2026-06-26","readMinutes":7,"excerpt":"Janani Nagarajan | VP of Product Marketing at Ent","seoTitle":"When Helpful Becomes Harmful","metaDescription":"AI adoption is accelerating, but so are the risks. Learn how organizations can prevent sensitive data exposure at the point of use.","content":[{"type":"heading","text":"The hidden security risk in your AI adoption strategy"},{"type":"paragraph","text":"AI tools are not going away. The question is not whether to allow AI adoption, but whether you can see and control what happens at the point of use."},{"type":"paragraph","text":"Generative AI has moved from experiment to the default form of work in many enterprises. Engineers debug with it. HR teams draft with it. Finance analysts summarize spreadsheets with it. Legal reviews contracts with it. The productivity gains are real, and employees who have adopted these tools are unlikely to give them up."},{"type":"paragraph","text":"Generative AI tools are integrated into modern workflows"},{"type":"paragraph","text":"The problem is that AI adoption has outpaced the governance structures meant to contain it. Every time an employee pastes content into a chatbot, that data leaves the organization's control. The model receives it, the service provider processes it, and what happens next depends entirely on the provider's data-handling policies, not yours."},{"type":"paragraph","text":[{"text":"The scale of this exposure is significant. According to the LayerX Enterprise AI and SaaS Data Security Report, "},{"href":"https://go.layerxsecurity.com/hubfs/LayerX_Enterprise_AI_and_SaaS_Data_Security_Report.pdf?","text":"77% of enterprise employees "},{"text":"paste data into generative AI prompts. 1 in 5 of those past events includes personally identifiable information or payment data. The inputs span the full spectrum of what organizations work hardest to protect: source code, customer records, internal meeting notes, product roadmaps, financial data, and protected health information."}]},{"type":"paragraph","text":[{"text":"The consequences of this unregulated data flow are not inconsequential. Regulatory violations under "},{"href":"https://en.wikipedia.org/wiki/General_Data_Protection_Regulation","text":"GDPR"},{"text":", "},{"href":"https://www.ncbi.nlm.nih.gov/books/NBK500019/","text":"HIPAA"},{"text":", and sector-specific frameworks can follow a single incident. Proprietary code submitted for debugging may enter a training pipeline accessible to anyone. Competitive intelligence embedded in a meeting transcript summary can be exposed without ever triggering a conventional alert."}]},{"type":"paragraph","text":"Most organizations respond to this threat with one of two strategies: blanket restrictions that impede legitimate work and drive shadow IT, or passive acceptance due to a lack of visibility into what is actually happening at the point of use. Neither is a sustainable answer."},{"type":"paragraph","text":"Closing the gap requires understanding actual user behaviors at scale, detecting when patterns shift toward unusual data access or external submissions, and distinguishing genuine risk from routine productivity in real time. It also requires overlaying user intent and organizational context onto individual actions, so that security teams can see what is happening, understand why, and act before data leaves the building. Let's look at a couple of examples to understand why this is such a pervasive problem, and how Ent changes the equation."},{"type":"heading","text":"What Unrestricted AI Access Actually Looks Like"},{"type":"paragraph","text":"In 2023, Samsung Semiconductor lifted an internal ban on generative AI tools and permitted employees to use them for work-related tasks. Within three weeks, three separate incidents had already occurred."},{"type":"paragraph","text":"In the first, an engineer pasted the semiconductor measurement source code into an external AI service to debug a defect-detection program. In the second, another employee submitted chip-defect detection code to the same service for optimization assistance. In the third, an employee entered the full transcript of an internal meeting to generate a summary."},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.
56net/hubfs/243241691/u2872878144_A_black_and_white_image_of_multiple_app_icons_on__818ead72-9000-409d-8919-59c4acc58cf1_0.png?width=1600","alt":"u2872878144_A_black_and_white_image_of_multiple_app_icons_on__818ead72-9000-409d-8919-59c4acc58cf1_0","caption":"Copying and pasting sensitive information into external AI tools"},{"type":"paragraph","text":"None of these employees had malicious intent. All three were trying to do their jobs faster. The problem was that sensitive information was being submitted to a third-party AI platform outside Samsung's control. Once the data left the organization, Samsung could no longer directly govern how it was processed, retained, or protected. Samsung immediately issued a company-wide restriction on the use of generative AI and began developing an internal alternative. The incidents made global headlines and prompted organizations across multiple industries to re-evaluate how employees interact with external AI services."},{"type":"heading","text":"The Visibility Gap: When AI Moves Beyond Enterprise Oversight"},{"type":"paragraph","text":"The intuitive response is to block AI tools. The problem is that blanket restrictions do not hold when the productivity incentive is strong enough."},{"type":"paragraph","text":"Employees who use generative AI complete tasks faster, produce more polished outputs, and encounter fewer workflow bottlenecks. The efficiency gains are structural, not incidental. When organizations restrict access, employees find workarounds, and those workarounds are less visible, not less risky."},{"type":"paragraph","text":[{"text":"That dynamic is reflected in the data. According to ITdaily, "},{"href":"https://itdaily.com/news/security/generatieve-ai-data-breaches/","text":"82% of generative AI prompt submissions "},{"text":"occur through unmanaged personal accounts. These interactions often occur outside traditional enterprise oversight."}]},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/u2872878144_A_black_and_white_image_of_bar_chart_on_a_laptop__f63a66b2-4111-4079-ba4d-6717fc3e640b_0.png?width=1600","alt":"u2872878144_A_black_and_white_image_of_bar_chart_on_a_laptop__f63a66b2-4111-4079-ba4d-6717fc3e640b_0","caption":"The growing challenge of maintaining visibility across enterprise AI usage"},{"type":"paragraph","text":"The problem is further compounded by the proliferation of tools. Generative AI isn’t confined to a handful of dedicated platforms. It’s embedded in communication tools, productivity suites, customer engagement platforms, and operating system interfaces. Each of those integrations has different data-handling terms, retention policies, and enterprise visibility. Managing the risk means knowing about all of them, in real time, across every user in the organization. Most security stacks are not designed for that."},{"type":"heading","text":"AI Runs Beyond Traditional Endpoint Visibility"},{"type":"paragraph","text":"The paste-into-a-chatbot problem is the visible half of AI risk. The harder half is where AI actually runs."},{"type":"paragraph","text":"Developers and AI agents do not just type into web tools. They execute code in containers, spin up virtual machines, call hosted services, and run AI workloads inside sandboxed environments built for speed and isolation. Those runtimes are exactly where modern work is moving, and they are precisely where traditional endpoint tooling goes dark. Traditional endpoint tooling was designed primarily to provide visibility into processes, files, and network activity on the host operating system."},{"type":"paragraph","text":"Additionally, AI workloads increasingly run in containers, virtual machines, and third-party runtime environments, making it significantly more challenging to maintain the same level of visibility."},{"type":"paragraph","text":"That can create a compounding problem. The very environments that make AI development faster and, in some respects, safer, by isolating workloads from the host, also remove them from the line of sight of the tools meant to secure them. An AI agent running in a container can read a secret, call an external API, or move data, and the host-based EDR sees a process it cannot inspect. The isolation that protects the host is the same isolation that blinds the defender. Organizations gain a sandbox and lose their visibility in the same step."},{"type":"paragraph","text":"This is why the AI data-exposure problem is not just about employees pasting text into browsers. It extends into the runtimes where agents and developers operate, where the action is real, consequential, and almost entirely unobserved by the existing stack. Closing the chatbot blind spot without closing the runtime blind spot leaves the larger half of the problem untouched."},{"type":"heading","text":"How Ent Closes the Gap"},{"type":"paragraph","text":"Ent is purpose-built for this problem. Traditional DLP relies on deterministic rules: block this file type, flag this keyword, alert on this destination. That approach breaks down in the AI context because the risk is not defined by what is being moved, but by what is being revealed and to whom. An employee pasting a paragraph of text into a browser tab looks identical to any other copy-paste event. Without behavioral context and user intent, no rule-based system can reliably distinguish between them."},{"type":"paragraph","text":"Ent observes AI tool usage in real time, including what data is being formed, combined, and submitted. When an employee is about to paste patient records into a browser-based AI assistant, Ent identifies the content, assesses the risk, and intervenes at the moment of decision. The intervention is proportional: Ent can explain the risk in plain language, guide the user to a compliant alternative, or automatically obfuscate sensitive fields before the submission is processed."},{"type":"paragraph","text":"Because Ent operates as a lightweight endpoint agent rather than a 
56network proxy or application plugin, it observes all activity regardless of whether the employee is using a corporate-licensed platform or a personal account. Ent also adapts to each user's workflow. A security engineer submitting code for review is profiled differently from an HR manager who does the thing. Behavioral context shapes the response, so security teams are never choosing between blocking everything and knowing nothing."},{"type":"heading","text":"Stopping Sensitive Data Before It Leaves the Organization"},{"type":"paragraph","text":"Consider a recent example from a global organization in which WhatsApp could not be blocked due to regional communication requirements. An HR employee, working through a personnel complaint file, used WhatsApp's built-in Meta AI feature (an unsanctioned AI tool) to generate a summary of the file."},{"type":"paragraph","text":"The file contained medical diagnoses and personnel records protected under HIPAA. No network-layer control could see the interaction because it occurred inside a messaging application that the organization could not restrict. No traditional DLP tool flagged the behavior because it occurred within an application that the security stack could not inspect"},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/u2872878144_A_black_and_white_image_of_a_lock_on_a_laptop_scr_527c61cf-302b-4c4e-aad5-565620cb3ac6_0.png?width=1600","alt":"u2872878144_A_black_and_white_image_of_a_lock_on_a_laptop_scr_527c61cf-302b-4c4e-aad5-565620cb3ac6_0","caption":"Protection of sensitive organizational data from unauthorized exposure"},{"type":"paragraph","text":"Ent saw it. The endpoint agent identified the document contents, recognized the sensitive data categories involved, and guided the user through obfuscating the critical fields before the content was processed by Meta AI. The submission was modified before it reached the model. The submission was modified before it reached the AI model, reducing the risk of a potential HIPAA compliance incident."},{"type":"heading","text":"The Control Point Is the Endpoint"},{"type":"paragraph","text":"AI tools are not going away. Employees will continue to use them, with or without organizational approval, because the productivity value is too significant to ignore. The question is not whether to allow AI adoption, but whether you can see and control what happens at the point of use."},{"type":"paragraph","text":"Workforce security gives security teams that visibility. By operating at the endpoint, understanding intent, and acting in real time, Ent converts a persistent and growing blind spot into a manageable risk, without blocking the productivity that employees and the business depend on."},{"type":"paragraph","text":[{"text":"To learn more about securing enterprise AI adoption and preventing sensitive data exposure at the point of use, visit "},{"href":"https://ent.ai/","text":"ent.ai."}]},{"type":"paragraph","text":[{"text":"Follow us on "},{"href":"https://x.com/Ent_Security","text":"X"},{"text":" and "},{"href":"https://www.linkedin.com/company/ent-security/posts/?feedView=all","text":"LinkedIn"},{"text":". To talk to us and see our product in action, schedule a demo."}]}]},{"slug":"when-trust-becomes-the-attack-vector","title":"When trust becomes the attack vector","authors":[{"name":"Janani Nagarajan","title":"VP of Product Marketing at Ent"}],"image":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/u2872878144_Imagine_an_ultra_high_resolution_black_and_white__c0fc226f-fa21-44d1-8a01-7cd47603ff4b_0-1.png?width=1600","date":"2026-06-18","updated":"2026-06-26","readMinutes":11,"excerpt":"Janani Nagarajan | VP of Product Marketing at Ent Rethinking modern insider risk, and telling malicious from a mistake","seoTitle":"When trust becomes the attack vector","metaDescription":"Most insider risk comes from trusted users, not bad actors. Learn why context and intent matter more than alerts alone.","content":[{"type":"heading","text":"Rethinking modern insider risk, and telling malicious from a mistake"},{"type":"paragraph","text":"Insider threats occupy a uniquely difficult position in security. Unlike external attacks that originate outside the perimeter, insider risk begins with access deliberately granted. The user is already inside, already implicitly trusted, and their daily activity is presumed to be legitimate work."},{"type":"paragraph","text":"But insider risk is broader than the word \\"threat\\" suggests. It is easy to picture the malicious actor: the operative, the fraudster, the person who joined to harm. They are real, and we will look at them closely. Yet most insider risk does not come from bad people. It comes from good people moving fast."},{"type":"paragraph","text":"A new employee who does not yet know the right way to do something. An engineer who takes the convenient path because the secure one is not obvious. Someone who pastes the wrong data into the wrong tool because they are trying to finish a task, not cause an incident. The same access that lets people do their jobs lets them make mistakes, and at scale, those mistakes carry as much risk as deliberate abuse."},{"type":"paragraph","text":"The challenge is not that behavioral signals are absent. It is that connecting those signals into something meaningful requires understanding context that most security tools are not equipped to process."}
56,{"type":"paragraph","text":"Take a few common scenarios: data exfiltration looks like a file transfer. A careless paste looks like a productive one. Access abuse looks like authorized use. Privilege escalation blends into normal administrative activity. The patterns that matter only become visible when individual actions are evaluated against a deeper understanding of who the user is, what their role demands, and whether a given sequence of events actually makes sense."},{"type":"paragraph","text":"Traditional security tools were built around a different model. They look for known bad artifacts, rule violations, and policy exceptions. That approach works well against deterministic threats. It struggles when the risk is adaptive, human-shaped, and operating inside the bounds of legitimate access, whether the person behind it means harm or not. A few categories of insider risk illustrate this gap clearly."},{"type":"heading","text":"The Trojan employee: When getting hired is the attack"},{"type":"paragraph","text":"One of the most organized insider threat operations in recent memory did not begin with a zero-day exploit or a phishing link. It began with a job application."},{"type":"paragraph","text":[{"text":"According to "},{"href":"https://www.justice.gov/opa/pr/justice-department-announces-coordinated-nationwide-actions-combat-north-korean-remote?","text":"U.S. government investigations"},{"text":", North Korean state-sponsored IT worker schemes have built a sophisticated infrastructure for placing fraudulent workers inside American and European companies, including Fortune 500 firms. The operation functions like an industrial hiring machine, with specialists dedicated to creating false identities, crafting resumes, preparing candidates for interviews, and managing the employment lifecycle once a position is secured."}]},{"type":"paragraph","text":"To get past the hiring process, operatives have stolen the identities of American citizens, forged government documents, and used AI-generated imagery and voice conversion tools to pass live video interviews convincingly. In some cases, cooperative participants physically appear at offices or provide cover by lending their identities to operators working remotely."},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/u2872878144_Imagine_a_black_and_white_image_composed_of_an_em_40b7319c-b114-4c2c-bb52-b7f5b8bd041e_0.png?width=1600","alt":"u2872878144_Imagine_a_black_and_white_image_composed_of_an_em_40b7319c-b114-4c2c-bb52-b7f5b8bd041e_0","caption":"Figure 1. Insider Access as an Attack Vector"},{"type":"paragraph","text":[{"text":"Once a position is secured, the actual work is handed off. A separate workforce, operating through VPNs configured to appear as US-based connections, performs the job while the hired employee collects a paycheck. In documented cases, a single facilitator maintained a laptop farm containing more than "},{"href":"https://www.justice.gov/opa/pr/arizona-woman-sentenced-17m-information-technology-worker-fraud-scheme-generated-revenue?","text":"90 company-issued laptops"},{"text":", enabling North Korean IT workers to access employer-issued devices remotely across hundreds of organizations."}]},{"type":"paragraph","text":[{"text":"The financial scope is significant. In 2024, a United Nations Panel of Experts report estimated that the technology sector remains a key moneymaker for North Korea, with an estimated 3,000 North Korean IT workers abroad and another 1,000 operating inside North Korea, "},{"href":"https://www.justice.gov/usao-dc/pr/arizona-woman-sentenced-17m-it-worker-fraud-scheme-illegally-generated-revenue-north?","text":"generating $250 million to $600 million annually"},{"text":". Beyond the financial impact, successful placements have, in some cases, led to intellectual property theft and the deployment of malware within corporate environments."}]},{"type":"paragraph","text":"What makes this so difficult to detect is that the activity, on its surface, looks like work. Files are accessed. Systems are used. The authenticated user is credentialed and behaving within the scope of their assigned role. Traditional security tools were not built to ask whether the person behind the keyboard is actually the person who was hired for the job."},{"type":"heading","text":"Targeting the trusted: Social engineering through a fake job offer"},{"type":"paragraph","text":"A related category of insider risk targets employees from the outside, using professional trust as the delivery mechanism."},{"type":"paragraph","text":"North Korean-linked threat groups have run sustained campaigns against software developers, particularly software developers and technical professionals active on public professional platforms. The approach is methodical: fabricated professional profiles and company pages establish credibility, while developer-focused platforms, repositories, and job opportunities are used to build trust and attract prospective targets."},{"type":"paragraph","text":[{"text":"Once a target engages, they are directed through what appears to be a standard onboarding process. Somewhere in that workflow, they are instructed to install packages from repositories seeded with malware, either through "},{"href":"https://en.wikipedia.org/wiki/Typosquatting","text":"typosquatting"},{"text":" of legitimate packages or through compromised repositories specifically designated for use as part of the work."}]},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.
56net/hubfs/243241691/u2872878144_Imagine_a_black_and_white_image_composed_of_a_clo_cafede23-9dd7-4f8b-a217-f8e034fdfd0f_2.png?width=1600","alt":"u2872878144_Imagine_a_black_and_white_image_composed_of_a_clo_cafede23-9dd7-4f8b-a217-f8e034fdfd0f_2","caption":"Figure 2. Typosquatting (or URL hijacking) is a cyberattack where criminals register misspelled or lookalike domains of popular websites"},{"type":"paragraph","text":[{"text":"Developers are a high-value target for several reasons. They hold significant permissions. They download, compile, and execute code as a routine part of their job. Their workflows move quickly, with little tolerance for friction that would slow delivery. And critically, the line between normal developer behavior and a threat is genuinely ambiguous without a clear picture of what that specific developer typically does. Documented incidents have linked these campaigns to "},{"href":"https://attack.mitre.org/groups/G1052/","text":"cryptocurrency theft"},{"text":", supply chain compromises, and the theft of sensitive corporate information."}]},{"type":"paragraph","text":"It is worth pausing on that last point, because it applies far beyond this campaign. The very thing that makes a developer a target, broad permissions and fast-moving work, is also what makes an honest developer mistake so easy. The malicious package install and the careless one look almost identical. That overlap is the heart of the insider risk problem."},{"type":"heading","text":"The everyday majority: When good people move fast"}
56,{"type":"paragraph","text":"The headlines go to nation-state operatives, but the volume of insider risk lives somewhere far more ordinary: in the new hire on day three, the employee racing to meet a deadline, the employee still learning how to navigate a new workplace."},{"type":"paragraph","text":"Consider how routine the risky moments are. A new employee, eager to be productive, moves a customer list to a personal drive so they can work over the weekend. An engineer under a deadline pastes a config file with live credentials into a public AI tool to debug it faster. A salesperson forwards a deck to a personal email because the VPN is slow. None of these people intends harm. Each person is trying to get work done and naturally chooses the most convenient path rather than the most secure one, often because the secure path was never clearly communicated."},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/u2872878144_Imagine_a_black_and_white_image_composed_of_a_clo_8a1d5db9-e0df-4867-b9f7-34d73f4dcf1f_3.png?width=1600","alt":"u2872878144_Imagine_a_black_and_white_image_composed_of_a_clo_8a1d5db9-e0df-4867-b9f7-34d73f4dcf1f_3","caption":"Figure 3. Well-Intentioned Actions, Unintended Risk"},{"type":"paragraph","text":"These moments rarely trigger anything in a traditional stack because each action is authorized individually. And when they do surface, the typical response is a policy violation after the fact: a flag, a ticket, sometimes a conversation with a manager weeks later, long after the lesson would have mattered. The employee learns that they did something wrong, but not in the moment they were doing it, and not in a way that makes the right path easier next time."},{"type":"paragraph","text":"This is the larger truth about insider risk. The malicious insider and the well-meaning one generate the same ambiguous signals, and a program that only looks for bad actors will miss the much larger population of good people who need guidance, not suspicion. Treating every anomaly as a potential threat can erode trust and bury genuine risks in the noise. The goal is not to catch people. It is to understand what they are trying to do and help them do it safely."},{"type":"heading","text":"Why existing security tools were not built for this problem"},{"type":"paragraph","text":"These scenarios share a common structural failure. When viewed in isolation, none of the individual actions appears inherently risky. The file access is authorized. Installing the package is routine developer behavior. The remote session is opened through an approved tool. The paste into an AI tool is no different from thousands of others performed every day. The risk only becomes visible when these actions are evaluated in context."},{"type":"paragraph","text":"Traditional security tools are built around deterministic logic. They match events against known signatures and rule sets. They can tell you what happened. What they cannot tell you is whether it matters, whether this specific user in this specific context should be taking that action, or whether the behavior represents a genuine threat or simply someone trying to get their job done."},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/u2872878144_Imagine_a_black_and_white_image_composed_of_a_pat_c900f151-aa46-42eb-9d62-fcd4dbcfb06f_3.png?width=1600","alt":"u2872878144_Imagine_a_black_and_white_image_composed_of_a_pat_c900f151-aa46-42eb-9d62-fcd4dbcfb06f_3","caption":"Figure 4: Approved tool usage without the right context rarely flags alerts"},{"type":"paragraph","text":"This helps explain why both endpoint detection and earlier-generation user behavior analytics have often struggled with insider risk. Behavioral anomalies generated by those systems are technically accurate but operationally ambiguous. Someone accessing files on a weekend is anomalous. Someone logging in from an unfamiliar location is anomalous. Neither of those signals, standing alone, tells an analyst anything actionable, and neither distinguishes the new hire who needs guidance from the operative who needs to be removed. When analysts are handed a queue of individually valid but contextually hollow alerts, the genuine threats get buried in the noise, and the teachable moments go unaddressed."},{"type":"paragraph","text":"Human-driven investigation is the fallback, but the timeline is the problem. Insider risk cases can take days to weeks to build. In that window, access has been transferred, sensitive data has moved, and the material damage is already done. Most security practitioners know this is a gap in their program. Most have not had a realistic path to closing it."},{"type":"heading","text":"Closing the Gap: Understanding Intent at Scale"},{"type":"paragraph","text":"Addressing insider risk effectively requires a shift in the underlying model. Rather than asking what happened, the question is whether what happened makes sense for this specific user, at this time, in this organizational context, and what the right response is when it does not."},{"type":"paragraph","text":"That question requires three capabilities working together. First, telemetry is collected at the endpoint, where work actually happens: not just file events and process executions, but the full behavioral context surrounding each action, including which applications were active, which accounts were in use, and the sequence of events that preceded and followed."},{"type":"paragraph","text":"Second, a behavioral baseline built around the individual, not just statistical peer averages, grounded in a real understanding of role, routine, and intent. Third, the ability to reason across that information continuously, correlate signals in real time, and produce not just alerts but coherent accounts of what is actually occurring."},{"type":"paragraph","text":[{"href":"https://preview.d2oftr9oq6im4e.amplifyapp.com/blog/why-we-built-ent-rethinking-the-architecture-that-makes-prevention-possible","text":"Ent was built around this model"},{"text":". By understanding user intent at the endpoint, Ent can tell whether behavior, including agentic behavior, stays within the bounds of what a user is legitimately doing. Crucially, understanding intent also means Ent can tell the difference between someone acting maliciously and someone simply making a mistake, and respond proportionally to each."}]},{"type":"paragraph","text":"That distinction changes what a response can be. When the risk is genuine and hostile, Ent alerts the security team and preserves the visual and audit evidence needed for investigation. But when the risk is an honest mistake, the better response is not a t
56icket weeks later. It is guidance at the moment. Ent can step in at the point of action and show the user the right path rather than the convenient one: explaining why pasting that file into an unsanctioned tool is risky, offering the approved alternative, and turning a potential incident into a thirty-second lesson. The new employee learns the correct way to do something the first time they reach for the wrong one. The engineer under a deadline is redirected before the credentials leave the building. Over time, the behavior of the whole workforce shifts toward the secure path because it is finally the one being taught, exactly when it matters."},{"type":"paragraph","text":[{"text":"This is the part of insider risk that detection alone has never addressed. According to industry research, the human element is the root cause in up to"},{"href":"https://www.cisecurity.org/insights/blog/why-employee-cybersecurity-awareness-training-is-important","text":" 74% of data breaches"},{"text":", often stemming from compromised credentials, misuse, or falling for social engineering tactics. Catching a bad actor protects you once. Educating a good employee in the moment protects you every time after."}]},{"type":"heading","text":"What This Looks Like in Practice"},{"type":"paragraph","text":"The following examples are drawn from two anonymized customer investigations conducted by Ent at a Fortune 500 hospitality company."},{"type":"paragraph","text":"In the first case, a new employee connected a KVM switch on day one. The device itself raised no alarms, as they often have a legitimate business purpose. What followed did. Microsoft Teams audio was routed away from local speakers and through the KVM device. Team messages contained credential transfers. File access patterns shifted in ways inconsistent with the employee's assigned role. Taken together, those signals revealed that system control was being handed to an external party. The investigation concluded in five days, resulting in termination. No other tool in the organization's security stack, including its EDR and UEBA platforms, had surfaced anything."},{"type":"paragraph","text":"In the second case, Ent detected employees granting extended remote access sessions using legitimate tools such as Zoom and AnyDesk. Sessions ran for up to eight hours at a stretch. Subsequent activity traced external parties accessing sensitive Google Drive files. The pattern was consistent with over-employment: employees using outside contractors to perform their work while holding down multiple positions simultaneously. Ent identified the moment of handoff, traced the downstream access, and surfaced the full scope of what had occurred."},{"type":"paragraph","text":"In both cases, every individual signal was defensible in isolation. The combination told a different story. And in both cases, the same behavioral understanding that surfaced genuine abuse is what lets Ent leave the far larger population of honest employees alone, or better, guide them, rather than burying everyone in suspicion. That is the core capability that behavioral security at the endpoint enables: a complete, contextual account of what a user is actually doing, why it matters, and the right response."},{"type":"heading","text":"The Stakes Are Getting Higher"},{"type":"paragraph","text":"The challenge of insider risk is only growing. The same AI tools that make legitimate work more efficient also give threat actors better cover, more convincing personas, and faster operational tempo. They also give well-meaning employees more powerful ways to move data and take action quickly, which means more opportunities for an honest mistake to become a serious one. The attack surface defined by human behavior at the endpoint is expanding, and the ability to distinguish malicious activity from a mistake, and both from legitimate work, is becoming more important, not less."},{"type":"paragraph","text":"The organizations best positioned to manage this are not the ones generating the most alerts. They are the ones that understand their users, recognize when behavior changes, and know whether the right response is to intervene, investigate, or educate."},{"type":"paragraph","text":[{"text":"That is the problem Ent is built to solve. To learn more about how Ent approaches insider risk and workforce security, visit "},{"href":"https://ent.ai/","text":"ent.ai."}]},{"type":"paragraph","text":[{"text":"Follow us on "},{"href":"https://x.com/Ent_Security","text":"X"},{"text":" and "},{"href":"https://www.linkedin.com/company/ent-security/posts/?feedView=all","text":"LinkedIn"},{"text":". To talk to us and see our product in action, schedule a demo."}]}]},{"slug":"designing-security-for-the-age-of-orchestration","title":"Security Design for Generated Experiences","authors":[{"name":"Sunder Srinivasan","title":"Head of Experience at Ent"}
56],"image":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/u2872878144_Imagine_an_ultra_high_resolution_black_and_white__ffca45f1-3458-49c4-945b-532cf5b3cc59_3.png?width=1600","date":"2026-06-16","updated":"2026-06-26","readMinutes":5,"excerpt":"Sunder Srinivasan | Head of Experience at Ent","seoTitle":"Security Design for Generated Experiences","metaDescription":"Security must evolve for AI-driven experiences. Learn why orchestration, operational scope, and governance are reshaping enterprise security.","content":[{"type":"heading","text":"Why security must move beyond access control to govern execution itself"},{"type":"paragraph","text":"When our founders broke down the structural problems inside enterprise security, they arrived at one conclusion: the interaction model enterprise security relied on had shifted."},{"type":"paragraph","text":"Enterprise security systems were built around deterministic workflows, explicit navigation, and direct human execution. But generated experiences behave differently. Interfaces are becoming orchestration layers. The gap between intent and execution is compressing. Systems act on users' behalf rather than simply respond to them. Security largely is not participating in that shift."},{"type":"paragraph","text":"Most of the industry approaches security as infrastructure layered onto experience after the interaction patterns have already been designed. We believe that approach will fail inside generated experiences, where operational scope expands faster than traditional interaction patterns can expose it."},{"type":"paragraph","text":"That conclusion shaped how we built the company. It pushed us to invest deeply in design, interaction thinking, and behavioral systems rather than treating security primarily as policy and control infrastructure. This is the first of three posts exploring the foundational thinking behind that approach."},{"type":"paragraph","text":"A generated experience is software assembled in the moment from what a person asks for. The user expresses intent, and the experience is composed in response. Beneath it runs the underlying agentic system: the orchestration and execution that fulfills that intent, retrieving data, reasoning across tools, and acting in ways the user never sees step by step. The experience is the shift people feel. The system underneath is where the work, and the operational risk, lives."},{"type":"paragraph","text":"Two terms carry the argument from here. Operational scope is the context and access a system is given to act on a request: the data it can read, the tools it can call, the systems it can reach. Operational consequence is what results when it acts across that scope. In hand-operated software, a person sets scope as they go, each file opened, each step traversed, and consequence stays roughly in view because they built up to it. In a generated experience, the system underneath sets scope on the user's behalf, and the consequence can land before the user senses how far the system reached."},{"type":"paragraph","text":"Enterprise security assumes users understand operational consequences because they perform each step by hand."},{"type":"paragraph","text":"Permissions constrain movement through known paths. Authentication appears before access. Governance attaches itself to stable control points because the systems underneath them behave predictably. Enterprise workflows expose boundaries gradually through navigation itself."},{"type":"paragraph","text":"Generated experiences weaken that visibility. The shift is not primarily about chat interfaces or automation. It is a deeper change in how interaction behaves once interfaces become orchestration layers."},{"type":"paragraph","text":"For example, a customer recently shared this prompt:"},{"type":"quote","text":"\\"I want to negotiate my salary with my boss. What should I expect for my level? How should I approach this?\\""},{"type":"paragraph","text":"The interaction felt small. The operational consequence was not. The system responded by retrieving compensation data from a copied organizational file with broader access than intended, exposing salary information well beyond the user's expected scope."},{"type":"paragraph","text":"Generated experiences can expand scope before users fully perceive it."},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.
56net/hubfs/243241691/image%20(3).png?width=1600","alt":"image (3)","caption":"Figure 1: Scope Builds Through Navigation, Expands Through Orchestration"},{"type":"paragraph","text":"This is what we mean when we say productivity itself is becoming the attack surface."},{"type":"paragraph","text":"In navigation-based systems, the attack surface is the artifacts. Files, endpoints, accounts, network paths. Security wraps itself around those artifacts because users have to traverse them to do anything."},{"type":"paragraph","text":"In generated experiences, a new surface opens in the act of working itself. A single prompt can trigger retrieval across multiple systems, reasoning over data the user has never seen, and action taken in their name. That gap, between what a user asks for and what the system does to deliver it, compresses to almost nothing. Operational scope expands faster than interfaces can expose it."},{"type":"paragraph","text":"Interruption alone no longer communicates consequence effectively. Excessive friction breaks orchestration flow, but invisible governance creates a different risk: users lose the ability to understand what systems are doing for them as execution becomes increasingly abstracted."},{"type":"heading","text":"Generated experiences force security to govern execution"},{"type":"paragraph","text":"Most conversations around AI governance remain incomplete. They focus on capability, safety, or policy while treating interaction design as secondary infrastructure. The challenge is not simply preventing misuse. It is designing environments where the actions taken on a user's behalf stay visible as the systems underneath become more autonomous."},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/image%20(4).png?width=1600","alt":"image (4)","caption":"Figure 2. Compression of Intent and Execution"},{"type":"paragraph","text":"Security has struggled to live naturally inside the enterprise experience."},{"type":"paragraph","text":"Most security systems exist as overlays attached to workflows rather than properties embedded within them. Perimeter security surrounds networks. Endpoint security surrounds devices. Identity systems are gateways users pass through before work begins."},{"type":"paragraph","text":"Security's design philosophy has long been to stay out of the way. Even the most successful security experiences largely succeed by reducing disruption. SSO reduced  repeated authentication. Biometric login removed procedural friction. Adaptive MFA applied interruption more selectively. Even with simplification, the pattern remains the same. Governance appears as something users have to get through."},{"type":"paragraph","text":"Generated experiences create a rare opportunity to rethink the relationship between security and the people moving through it, before new interaction patterns harden. Right now, people are actively learning how to work with systems that retrieve context, reason across tools, and act for them. The interaction patterns forming around those systems will settle quickly."},{"type":"paragraph","text":"The same risk exists now. If orchestration becomes the dominant interaction model while governance remains detached infrastructure, organizations will recreate the same adversarial patterns around systems that are far more dynamic and far less visible."},{"type":"paragraph","text":"The opportunity is not to make security hidden or invisible. It is to design systems where operational consequence remains tangible even as execution becomes increasingly abstracted. Governance needs to understand intent in order to be effective. That requires governance to behave less like interruption and more like what we will come to call environmental signaling. Systems will need ways to signal when their reach is changing, adjust what they do on a user's behalf to fit the situation, and help users understand the actions they no longer perform by hand."},{"type":"paragraph","text":"These interaction patterns are being defined right now. The organizations shaping them are also shaping how people work alongside systems acting for them."},{"type":"paragraph","text":[{"text":"To learn more about Ent, our vision for security in generated experiences, and the ideas 
56shaping our work, visit "},{"href":"https://ent.ai/","text":"ent.ai"},{"text":" and follow us on "},{"href":"https://x.com/Ent_Security","text":"X"},{"text":" and "},{"href":"https://www.linkedin.com/company/ent-security/posts/?feedView=all","text":"LinkedIn"},{"text":"."}]}]},{"slug":"why-security-needs-to-stop-reading-logs-and-start-watching-the-world","title":"Why Security Needs to Stop Reading Logs and Start Watching the World","authors":[{"name":"Brandon Dixon","title":"co-founder and CTO at Ent"}],"image":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/u2872878144_Imagine_a_black_and_white_image_composed_of_the_mos_1272a0f3-f114-4df8-8089-d76a326f4006.png?width=1600","date":"2026-06-16","updated":"2026-06-26","readMinutes":9,"excerpt":"Brandon Dixon | co-founder and CTO at Ent","seoTitle":"Why Security Needs to Stop Reading Logs and Start Watching the World","metaDescription":"What autonomous driving can teach cybersecurity: why security must move beyond logs and alerts to understand context, intent, and risk today.","content":[{"type":"paragraph","text":[{"text":"Before autonomous vehicles could drive, they had to learn to see and to understand. A stop sign in the US is just a red octagon with a white outline, but it’s also a social contract where we all agree to behave a certain way. A car drifting toward your lane is not just a position change; it’s also a signal of intent to keep coming. The breakthroughs that made self-driving cars possible were not about faster processors or better cameras. They were about building a world model: a representation of the environment that could answer not just "},{"italic":true,"text":"what’s happening?"},{"text":" but "},{"italic":true,"text":"what’s about to happen next? "},{"text":"and "},{"italic":true,"text":"what’s my best course of action?"}]},{"type":"paragraph","text":"Security is at the same inflection point today."},{"type":"heading","text":"A Short History of Seeing"},{"type":"paragraph","text":"The first autonomous vehicles operated on a relatively simple set of rules. If you see a red light, stop. If you see an obstacle, brake. These systems worked well in controlled conditions and failed everywhere else because the real world is full of surprises and corner cases that don’t fit neatly into finite rules based on fixed inputs. Operating in the real world means dealing with a lot more context."},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/undefined-Jun-16-2026-03-44-30-3755-AM.png?width=1600","alt":"","caption":"Figure 1: How autonomous vehicles see the world"},{"type":"paragraph","text":[{"text":"The "},{"href":"https://en.wikipedia.org/wiki/DARPA_Grand_Challenge_(2004)","text":"2004 DARPA Grand Challenge"},{"text":" was a humbling moment for autonomous driving. This generation of vehicles relied heavily on hand-tuned rules to decide what was drivable. The result was vehicles that either crawled because every shadow looked like an axel-breaking crevice, or barreled into actual obstacles because the thresholds were too loose. Of 15 vehicles that participated in the final race, none completed more than 5% of the 150-mile course before crashing out due to errors and mechanical failures."}]},{"type":"paragraph","text":[{"text":"One year later, "},{"href":"https://en.wikipedia.org/wiki/DARPA_Grand_Challenge_(2005)","text":"5 out of 23 completed the course."},{"text":" The difference was not horsepower or hardware; It was perception and understanding. Teams fused telemetry from different types of sensors together to build a more complete picture of the world around them. They also applied machine learning based on observing real human driving behaviors, resulting in systems that could reason about the environment rather than just follow a static flow chart."}]},{"type":"paragraph","text":"By the 2010s, deep learning changed the game entirely. Cameras, radar, and lidar merged into a single coherent picture of the world, which was overlaid with high-definition maps. With that high-res model came the ability to predict and plan. The system no longer asked \\"
56is there an obstacle in front of me?\\" It asked \\"is that pedestrian about to step into my path?\\" and “what course corrections do I need to make so I don’t hit him or anything else around me?”"},{"type":"paragraph","text":"This shift from detection to prediction is what separated early autonomy experiments from something you can actually trust with your life. Cybersecurity is on a parallel journey, it’s just running about twenty years behind."},{"type":"heading","text":"The Security Equivalent of Rules-Based Driving"},{"type":"paragraph","text":"The first generation of security was perimeter-based. We built a wall to keep bad stuff out and assume anything inside is safe. That assumption broke down the moment organizations started poking holes in the wall for business traffic to pass through, and allowed users to make their own decisions about bringing executable files and untrusted content across that moat."},{"type":"paragraph","text":"So we built more rules, this time in the form of signature-based detection. Matching known bad patterns and blocking them worked reasonably well until attackers learned to morph their payloads on the fly."},{"type":"paragraph","text":"Next came SIEM and log correlation, which centralized security data, runs yet more rules against it after the fact to generate alerts, and lets analysts piece together what happened. It was a powerful step in the right direction, but in practice it created analyst overload and still answered questions about the past, not the present."},{"type":"paragraph","text":"EDR improved things by making the endpoint the primary source of truth and collecting broader and deeper telemetry. XDR went a step further uniting the EDR data with additional telemetry from network, cloud, and identity sources. We got better telemetry and faster detection, but still fundamentally reactive and rules-intensive. Analysts are still triaging and investigating alerts triggered by rules and reconstructing incidents from logs, almost always a step behind their adversaries."},{"type":"paragraph","text":"Attackers are well-versed in side-stepping this modern detection and response infrastructure. The modern attacker isn’t typically using novel malware. They’re using legitimate tools that blend in with day-to-day activity: PowerShell, remote desktop, browsers, SaaS applications, and collaboration platforms. The malicious activity looks just like work. The signals they generate closely resemble what any normal employee produces on a normal day. Like an axel-breaking boulder that looks just like a shadow, you can’t catch this by reading the same logs faster. You need better telemetry and intelligence to understand it in order to act in time to avoid critical damage"},{"type":"heading","text":"The Problem Is Not Volume. It’s Visibility."},{"type":"paragraph","text":"Here is what a traditional investigation looks like:"},{"type":"list","ordered":false,"items":["Your XDR fires off a series of alerts.","Tier 1 analysts triage the alerts and determine something seems amiss and worth investigating further.","Tier 2 analysts query SIEM logs and see a suspicious download occurred, but don’t have enough information to declare an incident or act, so they pull in additional help.","The forensics team finds suspiciously obfuscated scripts in a downloads folder, traces it to a URL accessed three days ago via cross-referenced proxy logs, and finally figures out what’s happened.","They remediate the immediate threat, and then begin the laborious process of hunting for similar signs of intrusion elsewhere before closing the incident.","Finally, updated threat intelligence is shared with the detection engineering team so they can update detection rules to do better next time. Hopefully.","The whole process takes days, and at the end of it you still don’t know exactly what the user saw, why they did what they did, or how to coach them to prevent similar incidents in the future."]},{"type":"paragraph","text":"Now here is what modern security can look like."},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.
56net/hubfs/243241691/undefined-Jun-16-2026-03-44-29-1778-AM.png?width=1600","alt":"","caption":"Figure 2: The Organizational Work Model"},{"type":"paragraph","text":"For example, imagine you have a screenshot of the user in Discord. They’re chatting with a new contact who convinces them to download and execute a file. You’re looking at a visual record of the conversation, the download, the execution, with behavioral context layered on top. You can see the source of the scam so you can put in place better countermeasures. You can see the additional URLs for more effective threat hunting. You can understand exactly what happened without unreliable user interviews. Most importantly, you can create an intervention so that if this pattern appears again, the system responds before the file is ever opened."},{"type":"paragraph","text":"This isn’t just an incremental improvement in tactics for security teams; it’s an entire new model for defenders, and it’s what we’re building at Ent."},{"type":"heading","text":"What the User Sees Is the Signal"},{"type":"paragraph","text":"The core insight that drives everything we’re building at Ent is simple: the user sees things that security tools don’t, and that context is key to making better, faster decisions."},{"type":"paragraph","text":"When a user copies a file from one application and opens it into another, traditional security sees a process launch event, and maybe a file write. What it doesn’t see is that the user has three applications open. One of them is a project they are actively working on, they are about to send a document containing PII to an external contact, and based on their history and role, this is either completely normal or a potential compliance violation."},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/undefined-Jun-16-2026-03-44-29-6808-AM.png?width=1600","alt":"","caption":"Figure 3: Context Reveals Intent"},{"type":"paragraph","text":"Those details needed to unravel the user’s intent are all there, just not visible to a typical security stack. They require a different kind of seeing."},{"type":"paragraph","text":"Ent combines real-time endpoint telemetry that reflects exactly what the user sees and does with multimodal AI to build an Organizational Work Model, a real-time understanding of how people actually operate within the scope of their job. Ent’s model reveals not just what actions they take, but what those actions mean given who they are, what team they are on, what they normally do, and what they are looking at right now."},{"type":"paragraph","text":"This is the security equivalent of the world model developed for autonomous vehicles. Instead of asking \\"what happened?\\", we ask \\"what is happening, why, and what should we do about it?\\""},{"type":"heading","text":"Seeing Is Not Enough. You Have to Act."},{"type":"paragraph","text":"Returning to our autonomous vehicle analogy, today’s autonomous vehicles are not safer just because they have better sensors. They are safer because they’ve got better brains that build perception loops that lead to action. The system sees everything around it, understands it in context, anticipates what comes next, and responds proportionally. It performs a soft course correction for a pothole a half block away, but performs emergency braking for an imminent collision. The response fits the risk."},{"type":"paragraph","text":"Ent is creating this real-time feedback loop for cybersecurity."},{"type":"paragraph","text":"When Ent identifies a risky action, it fires an alert, but also intervenes at the moment of user decision. That can be a plain-language nudge for the user that explains the risk and offers a safer path. It can involve automatically masking sensitive fields before a spreadsheet is submitted to an AI tool for analysis. It could be a hard block and immediate deletion of a malicious file. Or it can be a silent, context-rich alert to the security team so investigators have everything they need without starting from scratch."},{"type":"paragraph","text":"The intervention happens at the right moment, enriched with all the right context, with the right level of force. A security awareness training session six months after an incident changes almost nothing. An explanation that appears at the exact moment someone is about to make a mistake changes behavior when it matters."},{"type":"heading","text":"Fleet Learning and the Compounding Advantage"},{"type":"paragraph","text":"One more thing autonomous vehicles figured out that security largely has not: fleet learning. When one self-driving car encounters a new edge case, that data propagates across the entire system. Every vehicle has the opportunity to benefit from a new corner case that one vehicle learned. The safety of the fleet compounds over time at a speed no individual human driver can match."},{"type":"paragraph","text":"Ent's Organizational Work Model works the same way. The system continuously learns what is normal for each user, each role, each w
56orkflow. When behavior shifts, it understands the context: is this a mistake, a gray area, or something genuinely malicious? And as the model learns, every detection gets sharper, every intervention gets more precise, and every investigation gets faster. This is the structural advantage that reactive tools can’t close by throwing more data and people at the problem."},{"type":"heading","text":"The Next Generation Is Already Here"},{"type":"paragraph","text":"We built Ent because we believe cybersecurity has to be redesigned around a work model, not just a threat model. The threat model tells you what bad looks like. The work model tells you when something is happening that’s outside of what’s normal, and gives you the opportunity to do something about it at decision time. The self-driving era of security is here. The question is whether your stack is built to drive in it."},{"type":"paragraph","text":[{"text":"To learn more about Ent and our vision for securing human and AI-driven work, visit "},{"href":"https://ent.ai/","text":"ent.ai."}]},{"type":"paragraph","text":[{"italic":true,"text":"Brandon Dixon is CTO and co-founder of Ent. Before Ent, Brandon led threat intelligence and security product strategy at Microsoft Security."}]},{"type":"paragraph","text":[{"text":"Follow us on "},{"href":"https://x.com/Ent_Security","text":"X"},{"text":" and "},{"href":"https://www.linkedin.com/company/ent-security/posts/?feedView=all","text":"LinkedIn"},{"text":"."}]},{"type":"paragraph","text":"To see our product in action, schedule a demo."}]},{"slug":"why-we-built-ent-rethinking-the-architecture-that-makes-prevention-possible","title":"Why We Built Ent: Rethinking the Architecture that Makes Prevention Possible","authors":[{"name":"Elias (Lou) Manousos","title":"CEO & Co-founder at Ent"},{"name":"Brandon Dixon","title":"co-founder & CTO at Ent"}],"image":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/Blog%20post%20logo.png?width=1600","date":"2026-06-16","updated":"2026-06-26","readMinutes":6,"excerpt":"Elias (Lou) Manousos|CEO & Co-founder at Ent , Brandon Dixon|co-founder & CTO at Ent","seoTitle":"Why We Built Ent: Rethinking the Architecture that Makes Prevention Possible","metaDescription":"Ent emerges from stealth with $100M to bring AI-powered prevention back to cybersecurity through intent-aware workspace security.","content":[{"type":"paragraph","text":"$100 million seed round backs the industry’s first intent-aware Workspace Security platform."},{"type":"paragraph","text":"For most of the last decade, security vendors gave up on prevention. The industry concluded that breaches were inevitable and poured its energy into detection and response. Logs were collected across every kind of telemetry, shipped to the cloud, and analyzed to understand what happened after the fact. EDR and SIEM became the center of gravity, and they became very good at triaging incidents and rather slow at stopping them, they just had to be somewhat faster than the human advisory at the other end."},{"type":"paragraph","text":"AI has changed the equation, and that tradeoff no longer holds at the speed work now moves. Organizations are moving faster than ever. Employees work across more applications, while AI assistants and agents are becoming part of everyday workflows. As work changes, so does the risk."},{"type":"paragraph","text":"AI has collapsed the time between compromise and impact. An attack that once unfolded over days now completes in minutes, faster than a human can respond. It starts with a single action: a copy, a paste, a prompt, a click, or a handoff of remote control to someone outside the business. By the time EDR fires anything, the damage is already underway. Every CISO we talk to feels this today. The time-to-damage window is closing faster than the time-to-respond window their existing tooling can deliver."},{"type":"paragraph","text":"The question is no longer how quickly you can investigate. It is whether you can prevent the incident from happening in the first place."},{"type":"paragraph","text":"We are building a new security platform that returns prevention to its rightful place, as security tools originally intended to, designed for where work actually happens."},{"type":"heading","text":"The news"},{"type":"paragraph","text":[{"text":"Today, we are excited to share a milestone. "},{"href":"https://ent.ai/","text":"Ent"},{"text":" is emerging from stealth with $100 million in funding led by "},{"href":"https://www.decibel.vc/","text":"Decibel"},{"text":", with participation from "},{"href":"https://sequoiacap.com/","text":"Sequoia"},{"text":","},{"href":"https://crosspointcapital.com/","text":" Crosspoint Capital Partners"},{"text":","},{"href":"https://www.craftventures.com/","text":" Craft Ventures"},{"text":", "},{"href":"https://shieldcap.com/","text":"Shield Capital"},{"text":","},{"href":"https://www.felicis.com/","text":" Felicis"},{"text":", and"},{"href":"https://www.iqt.org/","text":" In-Q-Tel"},{"text":" (IQT)l. We are grateful for it, and it reflects the scale of the opportunity ahead of us."}]},{"type":"quote","text":[{"text":"“"},{"italic":true,"text":"We have entered a new era defined by AI-powered attacks, one that demands a return to prevention and resilience. The level of inference required to stop threats before they materialize must now live directly on the endpoint. Ent is leading this fundamental shift in endpoint protection."},{"text":"” - "},{"italic":true,"text":"said Greg Clark, Co-Founder and Managing Partner, Crosspoint Capital Partners."}]},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.
56net/hubfs/243241691/undefined-Jun-16-2026-02-46-26-0560-AM.png?width=1600","alt":"","caption":"Figure 1: ENT Team Photo"},{"type":"heading","text":"Why prevention is possible again"},{"type":"paragraph","text":"Prevention failed for a practical reason. To stop something before it happens, you have to see and understand it in real time, at the moment of decision. With traditional cloud-based tools that was not possible. The processing power lived in the cloud, and a round trip was needed from the endpoint to instrument the action."},{"type":"paragraph","text":"With AI, this has changed. We run small AI models locally on the endpoint, moving reasoning and action to the edge without the round-trip latency. A decision can be made in sub-seconds, before the incident occurs. For the first time, a system can observe what is happening, understand with full context whether it should continue, and intervene before the moment passes."},{"type":"paragraph","text":"This is the shift left that security has wanted for years: prevention close to where work happens, with an architecture you can actually deploy."},{"type":"heading","text":"Workspace security is the new control plane"},{"type":"paragraph","text":"Modern work does not happen at the layers where EDR and SIEM are watching. It is spread across the apps, browsers, collaboration tools, and AI assistants a person moves through in a day, alongside the AI agents acting on their behalf."},{"type":"paragraph","text":"That is where risk now lives, looking like legitimate work, and that is where the traditional stack is blind. EDR can tell you a process is running. SIEM can collect information around it. Neither can tell you that a user just handed control of their machine via RMM (Remote monitoring and management) to someone outside the organization, or pasted sensitive data into an unsanctioned AI tool, or the intent behind either action. The instrumentation sits at the wrong layer, arrives too late, and lacks the context of the human and the agent activities."},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/undefined-Jun-16-2026-02-46-25-1138-AM.png?width=1600","alt":"","caption":"Figure 2: On-Device Telemetry and Reasoning"},{"type":"paragraph","text":"It requires a new layer: a control plane at the endpoint, where behavioral telemetry is collected, intent is inferred to tell normal work from risky action, and interventions happen at the moment of decision."},{"type":"paragraph","text":"That's why we're excited to introduce Ent and share our vision for the future of workspace security. Organizations need a better way to secure human and AI-driven work."},{"type":"paragraph","text":"Our mission is simple: protect work as it happens."},{"type":"heading","text":"Foundation starts with a complete record of work"},{"type":"paragraph","text":"Here is the part we strongly believe in."},{"type":"paragraph","text":"Securing modern work starts with a complete, faithful record of it: application use, browser, chat, AI use, workflows, runtime execution, and data movement. Today that record lives in fragmented tools, never in one place, which is why security teams spend their days reconstructing events from pieces scattered across a dozen systems."},{"type":"paragraph","text":"Ent creates that record at every endpoint, a comprehensive log of what is actually happening across the business. Intent is derived from the same telemetry, adding the why behind a human or agent action to the what. With behavioral baselining, Ent learns what is normal for each role and each workflow. Because the record is complete and lives at the right layer, it becomes the foundation for action. We intervene in the moment to prevent threats, misuse, and mistakes."},{"type":"paragraph","text":"With this new layer in place, security teams operate at a different speed. What used to take hours or days takes minutes. And many incidents simply never happen, because the platform steps in to take action before they can."},{"type":"heading","text":"Built Alongside Our Customers"},{"type":"paragraph","text":"The challenges we are describing are not future problems. They are what security team
56s are managing right now: embracing AI while keeping control of sensitive data, navigating insider risk, responding to social engineering that looks exactly like legitimate work, and investigating incidents that span applications and workflows. All this while being asked to enable innovation and move faster than ever before."},{"type":"paragraph","text":"We built Ent alongside customers living these realities every day. Their feedback and insights have shaped both the platform and our vision. Organizations use Ent to detect insider risk, govern AI usage, prevent data loss, stop last-mile threats, and accelerate investigations with complete behavioral context. More than any single feature, what they get is clarity in environments where the old approach left too many questions open."},{"type":"paragraph","text":"As one customer told us:"},{"type":"quote","text":[{"italic":true,"text":"\\"Ent is the first tool where I felt like an expert on day one. Reading exactly what happened took the guesswork out of my job and let me scale my team.\\""},{"text":" "},{"italic":true,"text":"— Insider Threat Lead, Public Financial Institution"}]},{"type":"paragraph","text":"We are proud to support Global 2000 organizations across hospitality, financial services, and defense as they navigate human and AI-driven work. Their partnership continues to shape how we build and innovate."},{"type":"heading","text":"What comes next"},{"type":"paragraph","text":"The way work happens will continue to evolve. So will the challenges facing security teams."},{"type":"paragraph","text":"We believe the future of workspace security will be defined by the return to prevention, because for the first time the architecture exists to make it real: AI-powered intelligence at the edge, a complete record of work, and the context to understand intent and act before risk becomes an incident. While detection and response will continue to exist, modern workplace security needs a new approach to bring back prevention."},{"type":"paragraph","text":[{"text":"We built Ent for what comes next.To learn more about Ent and our vision for securing human and AI-driven work, visit "},{"href":"https://ent.ai/","text":"ent.ai."}]},{"type":"paragraph","text":[{"text":"Follow us on "},{"href":"https://x.com/Ent_Security","text":"X"},{"text":" and "},{"href":"https://www.linkedin.com/company/ent-security/posts/?feedView=all","text":"LinkedIn"},{"text":". To talk to us and see our product in action, schedule a "},{"href":"http://ent.ai/demo","text":"demo"},{"text":"."}]}]},{"slug":"the-future-of-security-lives-where-work-happens","title":"The Future of Security Lives Where Work Happens","authors":[{"name":"Janani Nagarajan","title":"VP of Product Marketing at Ent"}],"image":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/u2872878144_httpss.mj.runTRGHchD_qpI_You_are_an_illustrator_w_bf6a5096-1173-4f6b-b7f3-5ce48f522dd2_3.png?width=1600","date":"2026-06-16","updated":"2026-06-26","readMinutes":6,"excerpt":"Janani Nagarajan | VP of Product Marketing at Ent","seoTitle":"The Future of Security Lives Where Work Happens","metaDescription":"Ent CTO Brandon Dixon shares why the future of cybersecurity is built around people, AI, and intent-aware protection.","content":[{"type":"paragraph","text":"Why the next era of cybersecurity will be built for people, not just experts."},{"type":"paragraph","text":"A conversation with Brandon Dixon, CTO and co-founder of Ent"},{"type":"paragraph","text":[{"italic":true,"text":"For decades, cybersecurity has been built around experts who investigate alerts and respond after risk has already emerged. "},{"href":"https://www.linkedin.com/in/brandonsdixon/details/experience/","italic":true,"text":"Brandon Dixon"},{"italic":true,"text":", co-founder and CTO of Ent, has spent his career helping organizations make sense of increasingly complex security signals. He co-founded PassiveTotal, which was later acquired by RiskIQ, and served as a Security AI Strategist at Microsoft, where he launched Microsoft Security Copilot. Today Brandon believes AI creates an opportunity to fundamentally rethink who cybersecurity is built for, by bringing expertise to the people doing the work, reading intent in the moment, and protecting work before risk becomes an incident."}]},{"type":"paragraph","text":"For most of cybersecurity's history, security has been built around experts."},{"type":"paragraph","text":"Organizations invested in security team
56s, specialized tools, and increasingly sophisticated systems designed to help trained professionals investigate threats and respond to incidents. As attacks became more complex, the industry responded by creating more visibility, more telemetry, and more data for experts to analyze."},{"type":"paragraph","text":"That approach shaped much of Brandon's career."},{"type":"paragraph","text":[{"italic":true,"text":"\\"So much of my career has been about building security systems and tools for the expert with the idea that if we can give them the advantage, then we can stop the adversary from being successful and better protect organizations.\\""}]},{"type":"paragraph","text":"For years, Brandon focused on helping security professionals better defend their organizations through improved visibility, intelligence, and security systems."},{"type":"paragraph","text":"But as new technologies emerged, Brandon began to see an opportunity to rethink who security was built for."},{"type":"heading","text":"Why now: the technology finally makes it possible"},{"type":"paragraph","text":"At Microsoft, Brandon had an early view into how fast generative AI was evolving and what these new models were capable of unlocking. As he watched the technology evolve, he became increasingly convinced that it would fundamentally change security. Not just by giving experts another tool, but by reaching everyone else."},{"type":"paragraph","text":[{"italic":true,"text":"\\"What excited me most was the fact that we could democratize knowledge and the capability of security by putting it in the hands of not an expert user, but users who are just trying to do the right thing in their job.\\""}]},{"type":"paragraph","text":"For years, the idea of bringing security reasoning directly to where people worked was difficult to achieve. While the vision was compelling, the technology was not yet ready to operate where decisions were being made."},{"type":"paragraph","text":"That began to change as AI models matured."},{"type":"paragraph","text":"AI could understand intent, bringing context, reasoning, and expertise closer to the moment decisions were being made. For the first time, people could understand not just what they were doing, but whether those actions aligned with the goals of the organization."},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/undefined-Jun-16-2026-12-33-26-8836-AM.png?width=1600","alt":"undefined-Jun-16-2026-12-33-26-8836-AM","caption":"Figure 1: Ent Founders Brandon Dixon and Elias Manousos"},{"type":"paragraph","text":"Brandon and Lou shared a conviction about what would follow."},{"type":"paragraph","text":[{"italic":true,"text":"\\"The reason why we started the company was that eventually I knew that these models would become cheaper, faster, more efficient, and that they would be made available to operate at the edge where people actually worked.\\""}]},{"type":"paragraph","text":"Once reasoning could run locally, security expertise no longer had to stay confined to the SOC. It could move into the flow of work itself. Prevention at the moment risk occurs becomes a possibility."},{"type":"heading","text":"How it works: reading intent, not just activity"},{"type":"paragraph","text":"The hard part was not about detecting that something happened. It was understanding why. The same action can be routine or dangerous depending on who takes it, what is normal for them, and what they are trying to do."},{"type":"paragraph","text":"Brandon's team took a lesson from self-driving cars. Early systems tried to hard-code a rule for every situation and broke the moment the road changed. The breakthrough came from building a world model that understood the environment and could predict what would happen next. Ent does the same for the enterprise. It builds an organizational work model, a living understanding of how people and agents actually operate, so it can tell normal work from real risk instead of relying on brittle rules. The platform reads behavior across every application on the endpoint, infers intent with that context, and acts in the moment."},{"type":"paragraph","text":"The everyday case makes it concrete. In a Fortune 500 deployment, an HR employee activated an unsanctioned AI assistant inside a sanctioned communication tool and nearly pasted patient records into it. No static rule could have caught that. A behavioral layer that understands intent did, and stepped in before the data left."},{"type":"heading","text":"Security that works alongside you"},{"type":"paragraph","text":"For Brandon, the promise of AI was not just a more efficient SOC. It is about enabling non-expert
56s to become better security investigators and responders and educating users about security in real-time."},{"type":"paragraph","text":[{"italic":true,"text":"\\"I didn't want to build just another expert tool. I wanted to be in a position where I was helping the average person be better at security, ideally without them ever having to know about it. But in the event that they did have to know about it, educating them at the same time. And that's why we founded Ent.\\""}]},{"type":"paragraph","text":"His vision is a workplace where people focus on their jobs and security runs quietly underneath, present when it is needed and invisible when it is not. Whether someone is collaborating with colleagues, using applications, or working with AI tools, protection should be available in the moment and unobtrusive the rest of the time."},{"type":"paragraph","text":[{"italic":true,"text":"\\"What excites me most is the ability to have security operate behind the scenes while people do their jobs, where they never have to become an expert at all. It's as if an expert is running locally on their system.\\""}]},{"type":"paragraph","text":"That is the shift Brandon is working on: not asking people to become security specialists, but putting an expert in the flow of their work."},{"type":"heading","text":"The road ahead"},{"type":"paragraph","text":"The opportunity AI creates goes well beyond improving today's tools. For Brandon, it is a chance to change how people experience security entirely."},{"type":"paragraph","text":"As AI keeps evolving, security can become more deeply woven into the work itself, operating in the background while people focus on their jobs and reading intent in real time across both users and agents."},{"type":"paragraph","text":[{"italic":true,"text":"\\"The overarching vision that I have is that one day, regardless of experience, without even thinking about it, you're capable of doing your job or doing things that you enjoy, being productive on your computer and your system, and you don't have to worry about security because something like Ent is running on that system and protecting you, bringing that reasoning directly to where you work.\\""}]},{"type":"paragraph","text":"Throughout his career, Brandon built technologies designed to help experts defend organizations against adversaries. What excites him most now is the opportunity to bring that same knowledge and reasoning directly to the people doing the work."},{"type":"paragraph","text":"The future of cybersecurity is not about creating more expert tools. It is about making expertise available wherever work happens. It is about bringing security reasoning closer to users and AI systems, understanding intent in real time, and helping organizations protect work before risk becomes an incident."},{"type":"paragraph","text":[{"text":"Watch the "},{"href":"https://vimeo.com/1201604322/2cbb87ae0b?share=copy&fl=sv&fe=ci","text":"full interview with Brandon Dixon"},{"text":" to hear more about the future of cybersecurity, why security expertise should live where work happens, and the vision behind Ent."}]},{"type":"paragraph","text":[{"text":"To learn more about Ent and our vision for securing human and AI-driven work, visit "},{"href":"https://ent.ai/","text":"ent.ai."}]},{"type":"paragraph","text":[{"text":"Follow us on "},{"href":"https://x.com/Ent_Security","text":"X"},{"text":" and "},{"href":"https://www.linkedin.com/company/ent-security/posts/?feedView=all","text":"LinkedIn"},{"text":". To talk to us and see our product in action, schedule a demo."}]}]},{"slug":"the-brand-had-to-mean-something","title":"The Brand Had to Mean Something","authors":[{"name":"Matt Weitkamp","title":"Creative Director at Ent"}],"image":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/u2872878144_Imagine_a_black_and_white_image_composed_of_the_mos_ad56274c-cbac-47ef-9494-7c6e00051736.png?width=1600","date":"2026-06-16","updated":"2026-06-26","readMinutes":7,"excerpt":"Matt Weitkamp|Creative Director at Ent","seoTitle":"The Brand Had to Mean Something","metaDescription":"See how Ent’s identity was built from first principles to represent protection and intent-aware security.","content":[{"type":"paragraph","text":"Most cybersecurity branding does one of two things: it signals that a company exists and is professional, or it attempts to stand out without saying anything at all. In either case, the goal is usually the same: to help people understand what a company does."},{"type":"paragraph","text":"We wanted our brand to express why we built Ent in the first place."},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.
56net/hubfs/243241691/Blog%20post%20logo.png?width=1600","alt":"Blog post logo"},{"type":"paragraph","text":"At Ent, we apply a first-principles approach to everything we create: the product, the way we use AI, and the way we think about security itself. For us, the brand could not be separate from the product. It needed to be an expression of the same ideas. That belief shaped the process itself. We developed the brand alongside the product, not before it, and held the design process to the same standard as the engineering process: nothing ships unless we can defend why it exists."},{"type":"paragraph","text":"What follows is not a recap of how we got here. It's an account of the ideas behind the brand and the thinking that shaped them."},{"type":"heading","text":"A Symbol of Protection and Prosperity"},{"type":"paragraph","text":"The symbol began with a question: what meaning could we defend? Early concepts leaned into nature and were often interpreted as tribal. Later concepts were visually interesting but felt either too AI-generic or too abstract. None of them failed on craft. They failed in meaning. A symbol we could not explain was a symbol we did not want."},{"type":"paragraph","text":"What we needed was a symbol grounded in the product and the principles behind it."},{"type":"paragraph","text":[{"text":"The breakthrough came from "},{"href":"https://en.wikipedia.org/wiki/Runes","text":"runes"},{"text":". Unlike modern letters, runes were not simply characters used to spell words. Each carried its own meaning and represented an idea. That distinction resonated with us. We were not looking for a symbol that identified Ent. We were looking for a symbol that represented what Ent stands for."}]},{"type":"paragraph","text":[{"text":"Our symbol draws from two runes: "},{"href":"https://en.wikipedia.org/wiki/Algiz","text":"Algiz"},{"text":" for protection and "},{"href":"https://en.wikipedia.org/wiki/Fehu","text":"Fehu"},{"text":" for prosperity."}]},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/undefined-Jun-16-2026-12-46-24-6329-AM.png?width=1600","alt":"","caption":"Figure 1: The Ent Symbol"},{"type":"paragraph","text":"Protection was the easier half to define because it is at the core of what the product does. Most security tools react to actions after they occur. Ent is intent-aware. Understanding the context behind an action as it happens allows us to help organizations prevent risk before it becomes an incident."},{"type":"paragraph","text":"Prosperity took longer to land, but ultimately became the more important half of the story. For decades, security has often treated safety and restriction as inseparable. Lock it down. Gate it. Deny it. Prosperity represents a different approach. Security should protect people without preventing them from doing their best work."},{"type":"paragraph","text":"When security is working well, it becomes an enabler rather than an obstacle. It provides guidance when needed, surfaces risk when it matters, and allows people to work with confidence. That balance between protection and prosperity is the commitment our symbol represents."},{"type":"paragraph","text":"We arrived at the final symbol during the last week of our agency engagement, though the inspiration came earlier. A member of the founding team came across a photograph of a small rune carved into the frame of an office door. The image had sparked curiosity online, with people asking what it meant and why it had been placed there."},{"type":"paragraph","text":"What stayed with us was not just the symbol itself, but the question it inspired. \\"What does this mean?\\" is ultimately the same question our product is designed to answer. That moment led us to explore runes more deeply and ultimately helped shape the symbol we use today."},{"type":"heading","text":"Signal to Sigil: A Visual Language for What the Product Does"},{"type":"paragraph","text":"Once the symbol was established, we turned to the rest of the identity and applied the same test: what would each element need to mean to be defensible? That question produced the brand's visual language, which we call signal to sigil."},{"type":"paragraph","text":"Signal to sigil describes the transformation at the heart of the system: raw activity becomes something meaningful and legible."},{"type":"paragraph","text":"A modern organization generates millions of user actions, file accesses, and application calls. In most security tools, this arrives as a flat blur of logs and alerts, noise that another human is expected to sort through. The industry has come to accept this as visibility. It is not. It is the absence of visibility disguised as completeness."},{"type":"paragraph","text":"The visual language draws from two sources. The first is sigils, which began as pictorial signatures in ancient texts, personal symbols that carried meaning. To look at a sigil was to see intent made visible."},{"type":"paragraph","text":"The second is cymatics, which expresses the same idea through physics. Place sand on a thin metal plate, run a frequency through it, and the particles settle into quiet regions while leaving active areas empty. What first appears as scattered grains resolves into a geometric pattern. Change the frequency and the pattern reorganizes. Chaos is not chaos. It is a signal waiting for the right resonance."},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.
56net/hubfs/243241691/cymatic.png?width=1600","alt":"cymatic","caption":"Figure 2: Frequency Based Cymatic Patterns"},{"type":"paragraph","text":"The synthesis came from another designer on our team. I had been collecting sigil references. They brought the cymatics. Once we put the two together, the language became obvious."},{"type":"paragraph","text":"A sigil holds meaning in a fixed symbol. Cymatics shows meaning taking shape in real time. Together, they describe what Ent is designed to do: reveal the pattern beneath what appears to be noise. What emerges is not another queue, but a behavioral signature of what is actually happening, legible at a glance."},{"type":"paragraph","text":"Treating the visual language as a system rather than a collection of assets is the only approach consistent with the product it represents."},{"type":"heading","text":"Adaptive Color"},{"type":"paragraph","text":"The standard approach to a product color system is familiar: pick a palette, check it for accessibility, verify it in light and dark mode, and ship. The palette remains the same in both modes. One mode is the original, and the other is its desaturated translation. One mode always loses."},{"type":"paragraph","text":"The alternative was biomimicry. The palette would shift between day and night the way a forest does. The idea emerged early, but it took the rest of the brand catching up before we could fully realize it."},{"type":"paragraph","text":"Our primary color is green, so the reference point became the forest. A forest does not desaturate at night. It transforms. Different organisms take over. The greens that are restrained at noon, dark foliage and moss on stone, give way after sundown to the bioluminescent greens of foxfire fungus, fireflies, and organisms that emit their own light when the sun is gone."},{"type":"paragraph","text":"In light mode, Ent is the forest at midday. A warm off-white background, the color of sunlight filtering through the canopy. Greens held in reserve. Calm. Visibility without anxiety."},{"type":"paragraph","text":"In dark mode, Ent is the same forest after sundown. The background drops to near black, and the greens that were once restrained begin to glow. The forest remains the same. Different organisms are doing the work."},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/undefined-Jun-16-2026-03-13-48-7946-AM.png?width=1600","alt":"","caption":"Figure 3: The Ent Color System"},{"type":"paragraph","text":"This is biomimicry applied to a design system. Not borrowing nature's palette, but borrowing the way it transforms as conditions change. The light and dark palettes are not translations of one another. They are two states of the same living system. That is the only honest way to render a brand whose product also adapts in real time to what is in front of it."},{"type":"paragraph","text":"The symbol, the visual language, and the color system are not three separate design decisions. They are three expressions of a single belief: meaning is not decoration laid on top of a thing. Meaning is the thing."},{"type":"paragraph","text":"That belief appears differently in each part of the system."},{"type":"paragraph","text":"A symbol of protection and prosperity. A visual language that shows noise resolving into a signal. A color system that adapts without losing itself. Each element is a claim about what Ent is and what security can become when it stops being a tax on the work."},{"type":"paragraph","text":"The discipline that produced them is the same discipline we apply to the product. The brand carries the same commitment as the product: that what happens in your environment is understood, and that the people inside it are free to do their work."},{"type":"heading","text":"See the Product Behind the Brand"},{"type":"paragraph","text":"Most brands are designed to be recognized. We wanted ours to be understood."},{"type":"paragraph","text":"Everything described here began with the product. A symbol of protection and prosperity. A visual language that turns noise into signal. A design system that adapts without losing itself. These were not branding exercises. They emerged from the same principles that shaped the product and were made visible through design."},{"type":"paragraph","text":"The brand reflects the product it represents."},{"type":"paragraph","text":[{"text":"See the product behind the brand at "},{"href":"http://ent.ai","text":"ent.ai"},{"text":"."}]},{"type":"paragraph","text":[{"text":"Follow us on "},{"href":"https://x.com/Ent_Security","text":"X"},{"text":" and "},{"href":"https://www.linkedin.com/company/ent-security/posts/?feedView=all","text":"LinkedIn"},{"text":". To talk to us and see our product in action, schedule a demo."}]}]},{"slug":"designing-security-for-the-way-work-happens-today","title":"Designing Security for the Way Work Happens Today","authors":[{"name":"Janani Nagarajan","image":"https://app.hubspot.com/settings/avatar/d41d8cd98f00b204e9800998ecf8427e"}
56],"image":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/u2872878144_httpss.mj.runTRGHchD_qpI_You_are_an_illustrator_w_bf6a5096-1173-4f6b-b7f3-5ce48f522dd2_2.png?width=1600","date":"2026-06-16","updated":"2026-06-26","readMinutes":6,"excerpt":"Janani Nagarajan | VP of Product Marketing at Ent Preventing risk begins with understanding human and agent intent A conversation with Elias (Lou) Manousos, CEO and co-founder of Ent Existing…","seoTitle":"Designing Security for the Way Work Happens Today","metaDescription":"AI is changing work. Ent’s CEO explains why intent-aware security is essential for protecting humans and agents.","content":[{"type":"paragraph","text":[{"italic":true,"text":"Existing security tools are good at telling organizations what happened and being reactive. "},{"href":"https://www.linkedin.com/in/eliasmanousos/","italic":true,"text":"Elias Manousos"},{"italic":true,"text":", co-founder and CEO of Ent, believes the harder problem to solve is moving the industry back to prevention. He talks about going back to first principles where the key to preventing the risk before it becomes an incident lies in understanding intent behind the actions, be it human or agent. He shares the experiences that led to the founding of Ent, lessons from decades in cybersecurity, and the future of modern work. "}]},{"type":"paragraph","text":"For most of its history, security has been organized around a single question: what happened? Elias (Lou) Manousos believes the next evolution of security is understanding why it happened."},{"type":"paragraph","text":"For decades, cybersecurity has improved at detecting attacks, investigating incidents, and collecting evidence. Organizations have more telemetry and visibility than ever before. Yet security leaders face the same challenge: by the time risk is identified, the incident has already happened."},{"type":"paragraph","text":"Lou has spent much of his career helping organizations solve difficult security problems. Across threat intelligence, attack surface management, AI copilots, and enterprise security platforms, one theme has remained constant for Lou."},{"type":"paragraph","text":"The goal is not simply to understand what happened."},{"type":"paragraph","text":"The goal is to understand why it happened, and to prevent what happens next."},{"type":"paragraph","text":"That belief ultimately became the foundation for Ent, the intent-aware Workspace Security platform designed to help organizations understand risk and move from reactive detection to preventive security."},{"type":"heading","text":"When the technology finally caught up"},{"type":"paragraph","text":"The idea behind Ent started years before the company itself."},{"type":"paragraph","text":"While helping build Microsoft's first security copilot, Lou found himself returning to a problem cybersecurity has struggled with from the start: prevention."},{"type":"paragraph","text":"Security teams had become increasingly good at detecting attacks and investigating incidents after they occurred. But the question that stayed with him was whether AI could finally help stop threats before they happened."},{"type":"quote","text":[{"italic":true,"text":"\\"It got me thinking the real problem that we've been trying to solve in cybersecurity since the very start is one of prevention.\\""}]},{"type":"paragraph","text":"The vision was clear. The technology was not."},{"type":"paragraph","text":"Five years ago, enterprises were still figuring out how generative AI fit into everyday work. Endpoints couldn't run sophisticated models locally. Response times weren't fast enough. Most users weren't ready to rely on AI as part of their security experience."},{"type":"paragraph","text":"Then the landscape changed."},{"type":"paragraph","text":"Local AI models became practical. Copilot installed hardware emerged. Sub-second inference became possible. More importantly, AI became part of everyday work."},{"type":"quote","text":[{"italic":true,"text":"\\"And that's when we realized this great idea that we had five years ago is actually doable now.\\""}]},{"type":"paragraph","text":"The technology had finally caught up with the vision. It was time to build."},{"type":"heading","text":"The partnership behind the company"},{"type":"paragraph","text":[{"text":"Long before Ent, Lou and "},{"href":"https://docs.google.com/document/d/124gY9ZIa2OJmGv9nDPA_sD-4rTFxLMc48lcK2dsysRY/edit?tab=t.0#:~:text=Link-,https%3A//www.linkedin.com/in/brandonsdixon/details/experience/,-https%3A//www.linkedin","text":"Brandon"},{"text":" had spent years building security products together through some of the industry's b
56iggest shifts, from threat intelligence and attack surface management to AI-powered security."}]},{"type":"paragraph","text":"Their partnership began when Brandon co-founded PassiveTotal, a community-driven platform that helped security teams use DNS intelligence to track adversaries.RiskIQ acquired the company in 2015, bringing Brandon into the organization and beginning a collaboration that would span more than a decade."},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/undefined-Jun-16-2026-12-33-26-8836-AM.png?width=1600","alt":"undefined-Jun-16-2026-12-33-26-8836-AM","caption":"Figure 1: Ent Founders Brandon Dixon and Elias Manousos"},{"type":"paragraph","text":"Together, they helped build RiskIQ into a leading threat intelligence company before joining Microsoft through acquisition. There, they worked on Defender Threat Intelligence, attack surface management, and one of the industry's earliest security copilots."},{"type":"paragraph","text":"Those experiences gave them a front-row seat to how security was evolving and where it continued to fall short."},{"type":"paragraph","text":"For years, both had helped organizations detect attacks, investigate incidents, and respond to threats. Ent was the chance to move beyond reactive security to more of preventive security."},{"type":"quote","text":[{"italic":true,"text":"\\"Brandon and I have been at this a long time, and we work really well together. That's what makes a great team.\\""}]},{"type":"paragraph","text":"What unites them isn’t just years of experience. It is the shared belief that security has to move beyond understanding what happened and get better at preventing what happens next."},{"type":"heading","text":"Shift to the new control point"},{"type":"paragraph","text":"As AI agents become part of everyday work, security faces a new challenge."},{"type":"paragraph","text":"Agents move faster than humans. They create more data, access more systems, and take actions on behalf of users at a speed and scale security teams have never had to manage before."},{"type":"paragraph","text":"During early conversations with customers and industry leaders, Lou kept returning to a fundamental question: where should security operate in a world where humans and agents work side by side?"},{"type":"quote","text":[{"italic":true,"text":"\\"We concluded that that control point will be at the endpoint or at the edge. That's the natural place where a human will task an agent.\\""}]},{"type":"paragraph","text":"That insight became one of Ent’s foundational ideas."},{"type":"paragraph","text":"The endpoint isn't just another security layer. It is where work happens, where users take decisions and increasingly where agents receive instructions and act."},{"type":"paragraph","text":"If organizations want to understand risk before it becomes an incident, Lou believes security needs to operate at the same place where intent originates."},{"type":"paragraph","text":"Understanding why, not just what"},{"type":"paragraph","text":"Throughout his career, Lou built systems to detect attacks and respond to incidents. He kept hitting the same limitation."},{"type":"paragraph","text":"Most security tools excel at telling what happened."},{"type":"paragraph","text":"Few can explain why."},{"type":"paragraph","text":"That distinction mattered long before AI entered the picture. Security teams have spent years trying to solve problems like insider risk, data loss, and human mistakes, where context matters more than the action itself."},{"type":"paragraph","text":"As AI systems began acting on behalf of users, it mattered even more."},{"type":"paragraph","text":"Whether the action comes from a person or an agent, intent provides the context that traditional security controls lack."},{"type":"quote","text":[{"italic":true,"text":"\\"Legacy security products are based on deterministic outcomes and look for the wrong things. They look at what happened and not why it happened.\\""}]},{"type":"paragraph","text":"For Lou, understanding intent wasn't simply another security signal. It became the foundation upon which Ent was built, and the opportunity to build the system Lou and Brandon wanted to for years."},{"type":"paragraph","text":[{"italic":true,"text":"\\"The system that we've always dreamed of building is one that can protect the entire end-user attack surface from any threat, whether that's an insider threat, intentional or unintentional data leakage, a phishing attack, unauthorized software, or malware, all classes of attacks in one unified endpoint.\\""}]},{"type":"paragraph","text":"The vision wasn't to solve one security problem. It was to create a platform capable of understanding and preventing risk across the entire end-user attack surface."},{"type":"heading","text":"The future of intent-aware security"},{"type":"paragraph","text":"The security challenges organizations face today are evolving rapidly as AI reshapes work."},{"type":"paragraph","text":"Work happens across more applications, data moves faster and across broader systems, and AI tools increasingly act on behalf of users."},{"type":"paragraph","text":"Lou believes the next major transformation will happen at the operating system level."},{"type":"paragraph","text":"Today, most AI systems function as applications layered on top of operating systems built for humans. As agents become more autonomous, that model will change. Future operating systems will increasingly be designed for both humans and agents working side by side."},{"type":"paragraph","text":"As agents gain access to files, applications, memory, and enterprise data, organizations will need new ways to understand and govern their actions. Deterministic controls will struggle to keep pace with software that can reason, act, and make decisions on behalf of users."}
56,{"type":"paragraph","text":"This shift has profound implications for security."},{"type":"paragraph","text":"This is where intent becomes critical."},{"type":"paragraph","text":"Understanding what happened will matter. Understanding why will become the different between reacting and preventing."},{"type":"paragraph","text":"As the boundaries between users and AI systems continue to blur, Lou believes the endpoint will remain the place where work, decisions, and risk converge."},{"type":"paragraph","text":[{"href":"https://vimeo.com/1201627841/d2a04d229a?share=copy&fl=sv&fe=ci","text":"Watch the full interview"},{"text":" with Lou Manousos for a deeper discussion on the future of workspace security."}]},{"type":"heading","text":"Resources"},{"type":"paragraph","text":[{"text":"To learn more about Ent and our vision for securing human and AI-driven work, visit "},{"href":"https://ent.ai/","text":"ent.ai."}]},{"type":"paragraph","text":[{"text":"Follow us on "},{"href":"https://x.com/Ent_Security","text":"X"},{"text":" and "},{"href":"https://www.linkedin.com/company/ent-security/posts/?feedView=all","text":"LinkedIn"},{"text":"."}]},{"type":"paragraph","text":"To talk to us and see our product in action, schedule a demo."}]},{"slug":"building-security-telemetry-for-intent","title":"Building Security Telemetry for Intent","authors":[{"name":"Brandon Dixon","title":"co-Founder & CTO at Ent"}],"image":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/u2872878144_You_are_an_illustrator_who_works_in_black_and_whi_80229ac3-9926-4145-8a45-442c852cbdc0_1.png?width=1600","date":"2026-06-15","updated":"2026-06-26","readMinutes":6,"excerpt":"Brandon Dixon|co-Founder & CTO at Ent","seoTitle":"Building Security Telemetry for Intent","metaDescription":"Telemetry built to understand intent: collect the right data at the endpoint, in real time, to intervene before risk becomes impact.","content":[{"type":"paragraph","text":"A new approach to telemetry collection designed to understand intent, enable real-time intervention, and secure both human and AI-driven work."},{"type":"paragraph","text":"Security has spent decades generating telemetry. So much of it, in fact, that entire companies now exist solely to optimize how security data is routed, compressed, stored, and queried. We have become exceptionally good at moving logs around. What I find more interesting is that we rarely stop to ask whether the telemetry itself is still the right abstraction for the problems we are trying to solve."},{"type":"paragraph","text":"I want to make the case that it is not, at least not for the problems that matter most now, and to explain how we approached telemetry differently when we built Ent."},{"type":"heading","text":"Telemetry, reconsidered"},{"type":"paragraph","text":"Historically, structured logs made perfect sense. They were cheap to store, easy to search, and flexible enough to work across many different systems. A process starts. A user authenticates. A file gets written. A network connection occurs. We capture the event and send it elsewhere for analysis."},{"type":"paragraph","text":"That approach worked well for a long time because most security problems were infrastru
56cture-centric. We were largely trying to understand machines, networks, and software. But as security has shifted toward understanding users, intent, and behavior, the limits of traditional telemetry have become much more obvious."},{"type":"paragraph","text":"Logs are summaries. They describe fragments of what happened, but rarely the full story."},{"type":"heading","text":"Security became a correlation problem"},{"type":"paragraph","text":"This is one of the reasons security has been so difficult operationally. Important information is sparse and spread across dozens of systems. Authentication logs live in one place. Endpoint events somewhere else. Browser activity in another product entirely. SaaS audit logs in a different dashboard. To make sense of any of it, an analyst has to understand not only how each system works, but what the logs actually contain and how they relate to one another."},{"type":"paragraph","text":"Even experienced analysts struggle with this. Over time, the industry accepted the complexity as normal and built workflows around it. Correlation engines, SIEM pipelines, and detection logic all emerged to stitch disconnected observations into something useful. Yet even with all of that infrastru
56cture, most security teams still operate reactively, because the telemetry itself arrives after the fact."},{"type":"paragraph","text":"If your product depends entirely on telemetry generated by someone else, you inherently limit your ability to intervene. Your visibility is constrained by whatever the operating system, the browser, or a third-party product chooses to expose. And telemetry has to be generated, forwarded, processed, and analyzed before any decision can happen. By the time a system determines that something risky occurred, the action has often already completed. The file is already uploaded. The credentials are already stolen. The data is already outside the organization."},{"type":"heading","text":"Starting from the operating system"},{"type":"paragraph","text":"At Ent, we approached this differently, because our focus is preventing risky actions, mistakes, and attacks before they happen. To do that, we concluded we needed to deploy where the work itself occurs and model interactions directly at the operating system layer. And to understand intent, we needed to collect our own telemetry."},{"type":"image","src":"https://243241691.fs1.hubspotusercontent-na2.net/hubfs/243241691/image-png.png?width=1600","alt":"","caption":"Figure 1: Operating-System-Level Telemetry and Context"},{"type":"paragraph","text":"Our telemetry is centered on interactions with the operating system: clicks, focus changes, clipboard actions, file access events, and other behavioral signals captured in real time. More importantly, we do not treat those actions as isolated events. We collect the semantic context around each one: who performed it, when, which application was involved, and the content that helps explain what was happening at the time."},{"type":"paragraph","text":"Years ago, a traditional log might have represented this as little more than a mouse event tied to a timestamp. Today, we can understand that a user copied sensitive financial information from an internal system, switched focus to a personal email account, and attempted to upload the contents externally. The interaction itself matters far less than the context surrounding it."},{"type":"paragraph","text":"Staying at the edge also changes what we have to move and what we can keep. Because we collect and reason about telemetry on the endpoint, the data does not have to leave the device to be useful. That is a practical advantage before it is a privacy one: less data in transit means lower bandwidth, lower storage cost, and no saturation from shipping everything to a central store."},{"type":"paragraph","text":"Telemetry collected staying at the endpoint is a privacy advantage. Organizations can preserve sensitive behavioral data without taking on the risk of warehousing all of it outside the boundary. And it is configurable. A customer can choose to send everything back, or only the data involved in a detection, depending on their own risk and compliance posture. When something does happen, none of that visibility is lost. Security teams can still reach back to the endpoint to collect the full context an investigation needs, on demand, rather than paying to stream it continuously just in case."},{"type":"heading","text":"Detection alone is not enough"},{"type":"paragraph","text":"Collecting our own telemetry also puts us in the best position to analyze and act on behavior directly at the edge. Ent continuously evaluates this real-time stream of activity to determine whether an intervention is necessary. When risky behavior is detected or a policy is violated, the platform can respond directly on the endpoint."},{"type":"paragraph","text":"We call these actions interventions."},{"type":"paragraph","text":"Some are silent. Capturing a screenshot, collecting additional forensic detail, or terminating a suspicious process can happen without interrupting the user. Others are intentionally visible. We can flash the screen, play a sound, suspend an action, or overlay directly on top of an application to collect more information from the user before letting them proceed."},{"type":"paragraph","text":"If Ent had been built entirely on traditional logs and delayed event pipelines, much of this would not be possible. We would not be able to evaluate behavior while it is actively occurring, and we would lose the ability to prevent an action before it completes."},{"type":"heading","text":"AI agents extend the same model"},{"type":"paragraph","text":"The same concept extends naturally to AI agents. Traditional telemetry models were never designed for agentic systems, because those systems largely did not exist. For us, agents fit naturally into the telemetry model we already built, because their goals, instructions, and actions are inherently semantic."},{"type":"paragraph","text":"Instead of trying to infer intent from sparse machine events, we can directly observe the relationship between the user and the agent: what the user asked the agent to do, which systems the agent touched, and the sequence of actions it took along the way."},{"type":"paragraph","text":"This matters more as agents gain broader access to enterprise systems and begin operating with greater autonomy. Our behavioral modeling applies across both humans and agents, so we can understand how work is actually happening across the enterprise and identify unusual or risky behavior as it unfolds."},{"type":"heading","text":"Rethinking telemetry for AI-native security"},{"type":"paragraph","text":"As AI continues to reshape how people work, I expect the security industry will need to revisit many of its historical assumptions about telemetry and detection architecture. The older model, collecting sparse machine-generated logs and reconstructing behavior afterward, worked reasonably well for infrastru
56cture monitoring. It is far less effective for understanding intent-driven interactions between users, applications, and autonomous agents operating in real time."},{"type":"paragraph","text":"For us, building telemetry from first principles was never about collecting more data. It was about collecting the right data, in the right place, with enough surrounding context to understand intent and take action before risk becomes impact."},{"type":"paragraph","text":[{"text":"To learn more about Ent and our vision for securing human and AI-driven work, visit "},{"href":"https://ent.ai/","text":"ent.ai."}]},{"type":"paragraph","text":[{"text":"Follow us on "},{"href":"https://x.com/Ent_Security","text":"X"},{"text":" and "},{"href":"https://www.linkedin.com/company/ent-security/posts/?feedView=all","text":"LinkedIn"},{"text":". To talk to us and see our product in action, schedule a demo."}]}]}]`),RI=AI,i2=e=>RI.find(n=>n.slug===e);function Mw(e){const n=e.map(i=>i.name).filter(Boolean);return n.length<=1?n[0]??"":`${n.slice(0,-1).join(", ")} & ${n[n.length-1]}`}function o2(e){return e.length===1&&e[0].title?`${e[0].name}, ${e[0].title}`:Mw(e)}const Nh=[{slug:"ent-extends-intent-aware-prevention",navLabel:"Ent Extends Intent-Aware Prevention",dateline:"July 30, 2026 — SAN FRANCISCO",date:"2026-07-30",headline:"Ent Extends Intent-Aware Prevention Across AI, Data, and Applications",subhead:"New on-device capabilities help organizations protect data, see and control AI usage and high-risk applications to counter AI-scaled threats across the modern workspace",body:[[{text:"Ent",href:"https://ent.ai"},{text:", the intent-aware workspace security company, today announced major platform enhancements that help organizations protect sensitive data and control the applications and AI tools used at the endpoint. The release follows the "},{text:"company’s launch from stealth",href:"/press/ent-raises-100m-seed"},{text:" in June and extends Ent’s prevention-first approach across more of the modern workspace."}],[{text:"A "},{text:"2026 Protiviti AI Pulse Survey",href:"https://www.protiviti.com/us-en/press-release-ai-pulse-half-enterprises-lack-ai-visibility"},{text:" found that 47% of large organizations lack full visibility into the AI tools their employees use, while 65% report challenges with shadow AI. Security teams need to know which tools are active, what data they can access, and whether that activity creates risk. At the same time, the "},{text:"2026 Verizon Data Breach Investigations Report",href:"https://www.verizon.com/business/resources/reports/dbir/"},{text:" found that threat actors are using generative AI for targeting, initial access, vulnerability research, and malware development, shrinking the window for defense from months to mere hours. Security teams face more AI activity to govern and faster-moving attacks to stop."}],"Ent was built ground-up for addressing this exact problem by evaluating and acting on user and agent activity and intent on the endpoint as it happens. It uses context from browsers, applications, AI tools, and files to distinguish routine work from activity that requires intervention. This release extends that intent-aware approach across the data, applications and AI tools attackers abuse, and AI agents through one programmable policy.","“Cybersecurity is shifting from explaining what happened after an incident to stopping incidents, to counter the speed of AI-era threats,” said Elias Manousos, CEO and co-founder of Ent. “The AI-scaled attacks expose the limits of cloud-dependent security. Prevention needs context from browsers, applications, and files so it can distinguish legitimate work from a hijacked user or rogue AI agent. These capabilities bring that control and decision to the endpoint while keeping sensitive context inside the customer’s environment.”","“Modern work creates signals that can look identical on the surface, even when the intent is completely different,” said Andrew Cal, CISO at WestCap. “We use Ent to secure our workspace by understanding the intent behind what users and AI agents are doing, tracking sensitive data movement, and stepping in before the damage occurs, all through one coordinated approach at the endpoint.”",{heading:"New Prevention Capabilities"},[{text:"AI visibility and control.",bold:!0}
56,{text:" Ent gives security teams a live view of the AI tools like OpenAI Codex, Claude Code, Claude Cowork, GitHub Copilot, Cursor, workflows and agents active in the workspace. They see who is using them, what data is going into them, and whether that activity fits the person’s role. Ent applies the same policy to humans and AI agents. It steers users to sanctioned tools, flags sensitive content before it reaches an AI application, and blocks risky agent behavior where needed."}],[{text:"Endpoint data protection.",bold:!0},{text:" Ent uses a custom Small Language Model (SLM) on the endpoint to classify sensitive data at the point of use and track how it is created and moved. The classification is attached to the data, and drives the same policy for both humans and AI agents, so data is protected no matter how it is used, moved, or manipulated. Ent moves past just content patterns and uses behaviors to separate routine work from real risk, reducing alert fatigue. Teams can see what data is sensitive, where it came from, where it resides, and where it is going across applications and AI tools."}],[{text:"Threat-aware application control.",bold:!0},{text:" Ent closes current EDR gaps by identifying applications and AI tools most often abused by attackers and enforcing custom policy-driven interventions to allow, block, deny or restrict usage. Customers can reduce their attack surface by controlling unsanctioned software, shadow AI, weaponized remote management tools, living-off-the-land binaries, and vulnerable drivers."}],"These build on Ent’s core prevention platform: behavioral context-rich visibility across users and AI-driven work, policy enforcement based on intent, just-in-time customized interventions, and natural-language investigation timelines. Ent runs as a single lightweight agent across Windows, macOS, Linux and modern browsers. Customers can deploy it as SaaS or self-hosted in their own cloud with complete data sovereignty.","Ent will showcase its platform innovations at booth #5341 during Black Hat USA 2026, taking place August 1-6 in Las Vegas.",[{text:"To learn more, visit "},{text:"ent.ai",href:"https://ent.ai"},{text:" or request a meeting at "},{text:"ent.ai/contact",href:"/contact"},{text:"."}],[{text:"Connect with us on "},{text:"X",href:"https://x.com/Ent_Security"},{text:" and "},{text:"LinkedIn",href:"https://www.linkedin.com/company/ent-security"},{text:"."}]],mediaContact:{name:"Cole Christy",org:"LaunchTech for Ent",email:"[email protected]",phone:"619-972-9836"},about:["Ent is the industry’s first intent-aware Workspace Security platform powering the AI-native enterprise, extending endpoint protection into a real-time layer of prevention across human and AI-driven work. Ent understands not just what users and agents do but why, and intervenes at the moment of risk before incidents occur. Founded by Elias Manousos and Brandon Dixon, co-founders of RiskIQ (acquired by Microsoft) and the team behind Microsoft Security Copilot, Ent is deployed within Global 2000 customers across hospitality, financial services, and defense. Backed by Decibel, Sequoia, Crosspoint Capital, Craft Ventures, Shield Capital, Felicis, and In-Q-Tel.","Protect work as it happens. Learn more at ent.ai."]},{slug:"ent-raises-100m-seed",navLabel:"Ent Emerges from Stealth",dateline:"June 16, 2026 — SAN FRANCISCO",date:"2026-06-16",headline:"Ent Emerges from Stealth to Bring Prevention Back to Cybersecurity",subhead:"$100 million seed round backs the industry’s first Intent-Aware Workspace Security Platform, built on real-time intervention and designed to stop AI-era threats before they become incidents.",body:["Ent, intent-aware Workspace Security company, today emerged from stealth with $100 million in seed financing. The company is pioneering a new approach to cybersecurity built around the simple belief that AI compresses the time between compromise and impact; prevention must once again become the primary objective of security. Ent’s platform helps organizations understand and intervene in risky actions by humans and AI agents before they become incidents.","Ent is already deployed with Global 2000 customers across hospital
56ity, financial services, and defense. Customers use Ent to detect insider risk, govern AI usage, prevent data loss, stop last-mile threats, and investigate incidents with the full behavioral context of what happened, why it happened, and what should happen next.",'"Security has been stuck in a reactive loop for over a decade, but AI-powered attacks require new thinking," said Elias Manousos, CEO and co-founder of Ent. "AI is changing both how people work and how quickly attackers can act. What once took days now happens in seconds. By the time traditional security systems detect a problem, it is too late. We believe the future of security lies in understanding intent in real time across people and AI agents and stopping risk before it becomes an incident.”',"Prevention requires a new layer at the workspace where work happens, across the browser, apps, AI workflows, and agents. Existing tools are blind because they collect at the wrong layer, tied to process and file events, and respond too late. As enterprises consolidate the platforms that protect endpoints, identities, applications, and data, the layer that reads intent across humans and AI agents in real time becomes the critical one. Ent operates at that layer.","Hosted in the customer's cloud with complete data sovereignty, Ent runs as a lightweight agent that brings AI reasoning to endpoints. The platform observes behavior across applications, browsers, workflows, data movement, and local runtimes; evaluates human and AI agent intent at the moment of use, applies customer-defined policy, and acts through configurable, just-in-time interventions before incidents occur.",[{text:"The funding is led by "},{text:"Decibel",href:"https://www.decibel.vc"},{text:", with participation from "},{text:"Sequoia",href:"https://www.sequoiacap.com"},{text:", "},{text:"Crosspoint Capital Partners",href:"https://www.crosspointcapital.com"},{text:", "},{text:"Craft Ventures",href:"https://www.craftventures.com"},{text:", "},{text:"Shield Capital",href:"https://www.shieldcap.com"},{text:", "},{text:"Felicis",href:"https://www.felicis.com"},{text:", and "},{text:"In-Q-Tel (IQT)",href:"https://www.iqt.org"},{text:"."}],'"AI has been a killer app for hackers and offensive researchers, but the industry is waiting for a novel defensive solution that can keep up with the modern era of LLMs,” said Jon Sakoda, Founding Partner at Decibel. "Ent has reimagined what is possible to protect the endpoint by using specialized AI models and adaptive policy enforcement to detect and prevent malicious activity in real time. It’s a game changer for cybersecurity teams who need a paradigm shift to defend their workforce against LLM-based attacks.”','"For a decade, endpoint security has relied on signals that arrive after the user’s action is complete," said Konstantin Buhler, Partner at Sequoia. "By running AI reasoning directly on the device, Ent moves from detection to prevention at the moment of decision. That shift is where the next era of endpoint defense gets built."',"“We have entered a new era defined by AI-powered attacks, one that demands a return to prevention and resilience,” said Greg Clark, Co-Founder and Managing Partner, Crosspoint Capital Partners. “The level of inference required to stop threats before they materialize must now live directly on the endpoint. Ent is leading this fundamental shift in endpoint protection.”",'"Rapid AI adoption is critical for our government partners, and a cornerstone of that adoption is safety and security," said Grant Whiting, Partner at IQT. "Ent provides the forensic clarity and preventive protection essential for secure AI operations, enabling organizations to monitor AI usage in real-time, govern risky behavior as it occurs, and preserve comprehensive records across every device."',"Ent's team brings together engineers and security operators with deep enterprise experience. The company's advisors include former CISOs of Google, Aetna, and MassMutual, the former Director of the NSA, and the former CVP of Microsoft Azure Cloud Security. The new funding will support continued hiring across engineering and go-to-market, while accelerating Ent’s roadmap across AI governance, threat prevention, security integrations, and multimodal endpoint intelligence.","Ent is generally available today for Windows, macOS, Linux, and browser-extension deployments. Ent will showcase its platform at booth #5341 during Black Hat USA 2026, taking place August 1-6 in Las Vegas.",[{text:"To learn more, visit "},{text:"ent.ai",href:"https://ent.ai"},{text:" or request a demo at "},{text:"ent.ai/demo",href:"/contact"},{text:"."}],[{text:"Connect with us on "},{text:"X",href:"https://x.com/Ent_Security"},{text:" and "},{text:"LinkedIn",href:"https://www.linkedin.com/company/ent-security"},{text:"."}]],mediaContact:{name:"Cole Christy",org:"LaunchTech for Ent",email:"[email protected]",phone:"619-972-9836"},about:["Ent is the intent-aware security platform powering the AI-native enterprise, extending endpoint security into a real-time layer of prevention across human and AI-driven work. Ent understands not just what users and agents do but why, and intervenes at the moment of risk before incidents occur. Founded by Elias Manousos and Brandon Dixon, co-founders of RiskIQ (acquired by Microsoft) and the team behind Microsoft Security Copilot, Ent is deployed within Global 2000 customers across hospital
56ity, financial services, and defense. Backed by Decibel, Sequoia, Crosspoint Capital, Craft Ventures, Shield Capital, Felicis, and In-Q-Tel.","Secure work as it happens. Learn more at ent.ai."]}],s2=()=>Nh[0],a2=e=>Nh.find(n=>n.slug===e),er={baseUrl:"https://ent.ai",name:"Ent",ogImage:"https://ent.ai/images/og-preview.png"},MI=" — Ent Blog",LI={"/":{title:"Ent — Intent-Aware Security for the Enterprise",description:"Ent is the intent-aware AI endpoint — reading human, AI, and app activity in real time to tell normal work from risky action and act at the moment of risk."},"/platform":{title:"Platform — Ent | Intent-Aware Endpoint Security",description:"Explore the Ent platform — intent-aware endpoint security that reads user and agent activity in real time to observe, investigate, and intervene."},"/company":{title:"About Ent — Team, Investors & Advisors | Intent-Aware Security",description:"Meet the team behind Ent — threat researchers, security practitioners, and engineers, backed by Craft, Decibel, Sequoia, and Shield Capital."},"/blog":{title:"Blog — Ent | Intent-Aware Security Insights",description:"Research, engineering, and product writing from the Ent team — on intent-aware security, detection engineering, AI usage, and more."},"/press":{title:"Press Release — Ent | Intent-Aware Endpoint Security",description:"Ent extends intent-aware prevention across AI, data, and applications — new on-device capabilities to control AI usage, protect data, and stop AI-scaled threats."},"/news":{title:"News — Ent | Intent-Aware Security in the Press",description:"Ent in the news — coverage, interviews, and podcasts on intent-aware security, AI-driven threat detection, and behavioral endpoint protection."},"/contact":{title:"Schedule a Demo — Ent | See Intent-Aware Security in Action",description:"Book a live demo to see Ent's intent-aware AI endpoint in action — reading user and AI activity in real time to act at the moment of risk."},"/joinus":{title:"Careers at Ent — Help Shape the Future of Security",description:"Ent is hiring world-class engineers, researchers, and security practitioners. Share your details to help shape the future of security."},"/legal":{title:"Legal Documents — Ent Security",description:"Access Ent legal documents including our privacy policy, terms of use, subscription terms, data processing addendum, and sub-processor list."},"/privacy":{title:"Privacy Policy — Ent Security",description:"Read how Ent collects, uses, and protects your personal information — covering data handling, retention, and your rights under applicable law."},"/terms":{title:"Terms of Use — Ent Security",description:"Terms of use governing your access to ent.ai and the Ent security platform. Read our conditions for website usage and service agreements."},"/subscription":{title:"Subscription Terms — Ent Security Platform",description:"Ent subscription terms and conditions for the intent-aware security platform. Covers licensing, support, and service level commitments."},"/sub-processors":{title:"Sub-Processors — Ent Security",description:"View the list of sub-processors Ent engages to deliver our intent-aware security platform, including their roles and data processing locations."},"/dpa":{title:"Data Processing Addendum — Ent Security",description:"Ent data processing addendum covering GDPR and privacy compliance, data handling practices, security measures, and controller-processor obligations."},"/partners":{title:"Partner Deal Registration — Ent",description:"Register a partner deal with Ent — submit customer and partner details for resellers, MSSPs, systems integrators, and technology partners."}},DI=new Set(["/partners"]),OI=e=>DI.has(e);function FI(e){return e?/^https?:\/\//.test(e)?e:e.startsWith("//")?`https:${e}`:`${er.baseUrl}/images/blog/${e}`:er.ogImage}function l2(e){const n=e.seoTitle?.trim()||`${e.title}${MI}`,i=e.metaDescription?.trim()||e.excerpt?.trim()||`${e.title} — from the Ent blog.`;return{title:n,description:i,url:`${er.baseUrl}/blog/${e.slug}`,image:FI(e.image),author:Mw(e.authors),authorNames:e.authors.map(o=>
56o.name).filter(Boolean),publishedTime:e.date,modifiedTime:e.updated||e.date}}function c2(e){const n=(i,o,a)=>{document.querySelector(i)?.setAttribute(o,a)};document.title=e.title,n('meta[name="description"]',"content",e.description),n('meta[name="author"]',"content",e.author),n('meta[property="og:type"]',"content","article"),n('meta[property="og:title"]',"content",e.title),n('meta[property="og:description"]',"content",e.description),n('meta[property="og:url"]',"content",e.url),n('meta[property="og:image"]',"content",e.image),n('meta[property="og:image:alt"]',"content",e.title),document.querySelector('meta[property="og:image:width"]')?.remove(),document.querySelector('meta[property="og:image:height"]')?.remove(),document.querySelector('meta[property="og:image:type"]')?.remove(),n('meta[name="twitter:title"]',"content",e.title),n('meta[name="twitter:description"]',"content",e.description),n('meta[name="twitter:image"]',"content",e.image),n('link[rel="canonical"]',"href",e.url),n('link[rel="alternate"][hreflang]',"href",e.url)}function jI(){const e=Nh[0];return e?`${er.baseUrl}/press/${e.slug}`:`${er.baseUrl}/press`}function u2(e){return{title:`${e.headline} — Ent`,description:(e.subhead||e.headline).trim(),url:`${er.baseUrl}/press/${e.slug}`,publishedTime:e.date}}function h2(e){const n=(i,o,a)=>{document.querySelector(i)?.setAttribute(o,a)};document.title=e.title,n('meta[name="description"]',"content",e.description),n('meta[property="og:type"]',"content","article"),n('meta[property="og:title"]',"content",e.title),n('meta[property="og:description"]',"content",e.description),n('meta[property="og:url"]',"content",e.url),n('meta[property="og:image:alt"]',"content",e.title),n('meta[name="twitter:title"]',"content",e.title),n('meta[name="twitter:description"]',"content",e.description),n('link[rel="canonical"]',"href",e.url),n('link[rel="alternate"][hreflang]',"href",e.url)}function BI(){return C.jsx(Aw,{code:"404",title:"This page doesn't exist.",message:"The page you're looking for may have moved or never existed.",documentTitle:"Page Not Found — Ent"})}function VI(){return C.jsx(Aw,{code:"500",title:"Something went wrong.",message:"An unexpected error occurred. Please try again, or head back home.",documentTitle:"Error — Ent"})}const He=yS({component:zI,notFoundComponent:BI,errorComponent:VI}),Yg=LI,Xg=ke.create(hn),vo={background:"none",border:"none",padding:0,margin:0,cursor:"pointer",font:"inherit",color:"inherit"};function NI({label:e,accentColor:n,to:i,href:o,onClick:a,caret:c,restColor:u}){const[h,f]=_.useState(!1),p=u??n,g={onMouseEnter:Zn?()=>f(!0):void 0,onMouseLeave:Zn?()=>f(!1):void 0},y={...vo,position:"relative",display:"inline-flex",alignItems:"center",gap:"5px",textDecoration:"none"},v=C.jsxs(C.Fragment,{children:[C.jsx(ke.span,{animate:{color:p},transition:{duration:1,ease:Re},style:{fontSize:"var(--text-sm)",fontWeight:500,fontFamily:Ot},children:e}),c&&C.jsx(ke.span,{animate:{color:p},transition:{duration:1,ease:Re},style:{fontSize:"9px",lineHeight:1,transform:"translateY(1px)"},children:"▼"}),C.jsx(ke.span,{animate:{backgroundColor:n,scaleX:h?1:0},transition:{duration:.3,ease:Re},style:{position:"absolute",bottom:"-4px",left:0,right:0,height:"1px",borderRadius:"9999px",transformOrigin:"left"}})]});return i?C.jsx(hn,{to:i,...g,style:y,children:v}):o?C.jsx("a",{href:o,target:"_blank",rel:"noopener noreferrer",...g,style:y,children:v}):C.jsx("button",{onClick:a,...g,style:y,children:v})}const Jg={"/":{background:J.neutral8,accent:J.green1,logoColor:J.green1},"/blog":{background:J.neutral9,accent:J.green1,logoColor:J.green1},"/news":{background:J.neutral9,accent:J.green1,logoColor:J.green1},"/platform":{background:J.neutral8,accent:J.green1,logoColor:J.green1},"/contact":{background:J.neutral8,accent:J.green1,logoColor:J.green1},"/company":{background:J.neutral8,accent:J.green1,logoColor:J.green1},"/privacy":{background:J.neutral2,accent:J.neutral8,logoColor:J.neutral8},"/terms":{background:J.neutral4,accent:J.neutral8,logoColor:J.neutral8},"/subscription":{background:J.neutral6,accent:J.neutral2,logoColor:J.neutral2},"/sub-processors":{background:J.neutral8,accent:J.neutral2,logoColor:J.neutral2},"/dpa":{background:J.neutral9,accent:J.neutral2,logoColor:J.neutral2},"/joinus":{background:J.neutral8,accent:J.green1,logoColor:J.green1},"/partners":{background:J.neutral8,accent:J.green1,logoColor:J.green1}};function zI(){return C.jsx(A1,{children:C.jsx(WI,{})})}function WI(){const e=MS(),n=e.pathname.replace(/\/+$/,"")||"/",[i,o]=_.useState(!1),[a,c]=_.useState(!1),u=Vh(),h=()=>{o(!1),c(!1)},[f,p]=_.useState(!1);_.useEffect(()=>{const j=()=>p(window.scrollY>window.innerHeight*.6);return window.addEventListener("scroll",j,{passive:!0}),j(),()=>window.removeEventListener("scroll",j)},[]),_.useEffect(()=>{"scrollRestoration"in history&&(history.scrollRestoration="manual")},[]);const g=_1(),y=n==="/",v=e.search,w=n==="/contact"&&v.submitted===!0,b=!y||f,[S,k]=_.useState(!1);_.useEffect(()=>{const j=z=>{k(z.detail.active)};return window.addEventListener("investor-overlay",j),()=>window.removeEventListener("investor-overlay",j)},[]);const[T,A]=_.useState(null);_.useEffect(()=>{const j=z=>{A(z.detail.color)};return window.addEventListener("landing-bg",j),()=>window.removeEventListener("landing-bg",j)},[]);const R=kI(),L=R.active;_.useEffect(()=>{k(!1),A(null)},[n]);const F=Jg[n]||Jg["/"],V=S?{...F,accent:J.neutral8,logoColor:J.neutral8}:F,W=(()=>{const j=V.background.replace("#",""),z=parseInt(j.slice(0,2),16),$=parseInt(j.slice(2,4),16),U=parseInt(j.slice(4,6),16);return(.299*z+.587*$+.114*U)/255>.6?J.neutral9:J.neutral1})();_.useEffect(()=>{window.scrollTo(0,0),g&&g.scrollTo(0,{immediate:!0}),document.documentElement.style.scrollSnapType=""},[n,g]);const N=_.useRef({desc:document.querySelector('meta[name="description"]'),author:document.querySelector('meta[name="author"]'),ogType:document.querySelector('meta[property="og:type"]'),ogTitle:document.querySelector('meta[property="og:title"]'),ogDesc:document.querySelector('meta[property="og:description"]'),ogUrl:document.querySelector('meta[property="og:url"]'),ogImage:document.querySelector('meta[property="og:image"]'),ogImageAlt:document.querySelector('meta[property="og:image:alt"]'),robots:document.querySelector('meta[name="robots"]'),twTitle:document.querySelector('meta[name="twitter:title"]'),twDesc:document.querySelector('meta[name="twitter:description"]'),twImage:document.querySelector('meta[name="twitter:image"]'),canonical:document.querySelector('link[rel="canonical"]'),hreflang:document.querySelector('link[rel="alternate"][hreflang]')});return _.useEffect(()=>{const j=n.replace(/\/+$/,"")||"/";if(j.startsWith("/blog/")||j.startsWith("/press/"))return;const z=Yg[j]||Yg["/"],$=R.active?R.title??"Error — Ent":z.title,U=j==="/press"?jI():`https://ent.ai${j}`,Q=N.current;document.title=$,Q.desc?.setAttribute("content",z.description),Q.ogTitle?.setAttribute("content",$),Q.ogDesc?.setAttribute("content",z.description),Q.ogUrl?.setAttribute("content",U),Q.twTitle?.setAttribute("content",$),Q.twDesc?.setAttribute("content",z.description),Q.canonical?.setAttribute("href",U),Q.hreflang?.setAttribute("href",U),Q.author?.setAttribute("content",er.name),Q.ogType?.setAttribute("content","website"),Q.robots?.setAttribute("content",OI(j)?"noindex, nofollow":"index, follow");const ae=z.image??er.ogImage;Q.ogImage?.setAttribute("content",ae),Q.ogImageAlt?.setAttribute("content",$),Q.twImage?.setAttribute("content",ae)},[n,R.active,R.title]),C.jsx(u1,{children:C.jsx(w1,{children:C.jsx(B1,{children:C.jsxs("div",{style:{fontFamily:"system-ui, -apple-system, sans-serif",overflowX:"clip",position:"relative"},children:[C.jsx(aI,{}),C.jsx(ke.div,{animate:{backgroundColor:y&&T?T:V.background},transition:{duration:y&&T?0:1,ease:Re},style:{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:0}}),C.jsx(lI,{height:180,zIndex:50}),C.jsxs("header",{style:{position:"fixed",top:0,left:0,right:0,height:88,display:"grid",gridTemplateColumns:"1fr auto 1fr",alignItems:"center",padding:"0 clamp(24px, 3.5vw, 48px)",zIndex:100},children:[C.jsx(ke.div,{initial:{opacity:0,y:-30}
56,animate:{opacity:1,y:0},transition:{duration:1.2,delay:1,ease:Re},style:{justifySelf:"start"},children:C.jsx(ai,{children:!w&&C.jsx(ke.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.15},children:C.jsxs(hn,{to:"/","aria-label":"Go to home page",style:{...vo,display:"inline-flex",alignItems:"center"},children:[C.jsx(ke.div,{"aria-hidden":!0,initial:!1,animate:{width:b?30:0,opacity:b?1:0,marginRight:b?10:0},transition:{duration:.5,ease:Re},style:{height:"30px",overflow:"hidden",flex:"0 0 auto"},children:C.jsx(ke.div,{animate:{backgroundColor:V.logoColor},transition:{duration:1,ease:Re},style:{width:"30px",height:"30px",WebkitMaskImage:"url(/images/rune-mark.svg)",maskImage:"url(/images/rune-mark.svg)",WebkitMaskSize:"contain",maskSize:"contain",WebkitMaskRepeat:"no-repeat",maskRepeat:"no-repeat",WebkitMaskPosition:"center",maskPosition:"center"}})}),C.jsx(ke.div,{animate:{backgroundColor:V.logoColor},transition:{duration:1,ease:Re},style:{width:"74px",height:"30px",flex:"0 0 auto",WebkitMaskImage:"url(/images/ent_wordmark.svg)",maskImage:"url(/images/ent_wordmark.svg)",WebkitMaskSize:"contain",maskSize:"contain",WebkitMaskRepeat:"no-repeat",maskRepeat:"no-repeat",WebkitMaskPosition:"left center",maskPosition:"left center"}})]})})})}),!u&&C.jsx(ke.nav,{initial:{opacity:0,y:-30},animate:{opacity:1,y:0},transition:{duration:1.2,delay:1,ease:Re},style:{gridColumn:2,justifySelf:"center",display:"flex",alignItems:"center",gap:"40px"},children:[{label:"Platform",to:"/platform"},{label:"Resources",options:[{label:"Blog",to:"/blog"},{label:"News",to:"/news"},{label:"Press Release",to:"/press"}]},{label:"Company",to:"/company"}].map(({label:j,caret:z,to:$,options:U})=>U?C.jsx(_I,{label:j,accentColor:V.accent,restColor:W,options:U},j):C.jsx(NI,{label:j,accentColor:V.accent,restColor:W,caret:z,to:$},j))}),C.jsxs("div",{style:{gridColumn:3,justifySelf:"end",display:"flex",alignItems:"center",gap:"16px",zIndex:101},children:[!u&&C.jsx(ai,{children:!w&&C.jsx(ke.div,{initial:{opacity:0,y:-30},animate:{opacity:1,y:0},exit:{opacity:0},transition:{duration:1.2,delay:1,ease:Re},children:C.jsx(cn,{label:"Schedule a Demo",variant:"solid",to:"/contact"})})}),u&&!i&&!w&&C.jsx(cn,{label:"Schedule a Demo",variant:"solid",to:"/contact",fontSize:"var(--text-xs)",height:44}),u&&C.jsxs("button",{onClick:()=>i?h():o(!0),"aria-label":"Toggle menu",style:{...vo,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"44px",height:"44px"},children:[C.jsx(ke.span,{animate:{rotate:i?45:0,y:i?8:0,backgroundColor:V.accent},transition:{duration:.3,ease:Re},style:{display:"block",width:"22px",height:"2px",borderRadius:"1px"}}),C.jsx(ke.span,{animate:{opacity:i?0:1,backgroundColor:V.accent},transition:{duration:.2,ease:Re},style:{display:"block",width:"22px",height:"2px",borderRadius:"1px",marginTop:"6px"}}),C.jsx(ke.span,{animate:{rotate:i?-45:0,y:i?-8:0,backgroundColor:V.accent},transition:{duration:.3,ease:Re},style:{display:"block",width:"22px",height:"2px",borderRadius:"1px",marginTop:"6px"}})]})]})]}),C.jsx("div",{id:"footer-center-slot",style:{position:"fixed",bottom:30,left:"50%",transform:"translateX(-50%)",display:"flex",alignItems:"center",zIndex:100}}),C.jsx(ai,{children:i&&u&&C.jsxs(ke.div,{initial:{opacity:0}
56,animate:{opacity:1},exit:{opacity:0},transition:{duration:.3,ease:Re},style:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:`rgba(${jC}, 0.8)`,backdropFilter:"blur(15px)",WebkitBackdropFilter:"blur(15px)",zIndex:99,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",gap:"0"},children:[[{label:"Platform",to:"/platform"},{label:"Resources",options:[{label:"Blog",to:"/blog"},{label:"News",to:"/news"},{label:"Press Release",to:"/press"}]},{label:"Company",to:"/company"}].map(({label:j,to:z,options:$},U)=>{const Q={...vo,textDecoration:"none",fontSize:"var(--text-3xl)",fontWeight:400,fontFamily:Ot,color:J.green1,lineHeight:"34px",padding:"24px 0"},ae={duration:.3,delay:(U+1)*.05,ease:Re};return $?C.jsxs(ke.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:ae,style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[C.jsxs("button",{onClick:()=>c(fe=>!fe),"aria-expanded":a,style:{...Q,display:"flex",alignItems:"center",gap:"12px"},children:[j,C.jsx(ke.span,{animate:{rotate:a?180:0},transition:{duration:.3,ease:Re},style:{display:"inline-flex",fontSize:"var(--text-base)"},children:"▾"})]}),C.jsx(ai,{initial:!1,children:a&&C.jsx(ke.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.3,ease:Re},style:{overflow:"hidden",display:"flex",flexDirection:"column",alignItems:"center"},children:$.map(fe=>C.jsx(Xg,{to:fe.to,onClick:h,style:{...vo,textDecoration:"none",fontSize:"var(--text-2xl)",fontWeight:400,fontFamily:Ot,color:J.green1,opacity:.8,lineHeight:"28px",padding:"12px 0"},children:fe.label},fe.label))})})]},j):C.jsx(Xg,{to:z,initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:ae,onClick:h,style:Q,children:j},j)}),C.jsx(ke.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:{duration:.3,delay:.2,ease:Re},style:{padding:"24px 0"},onClick:h,children:C.jsx(cn,{label:"Schedule a Demo",variant:"solid",to:"/contact"})}),C.jsxs(ke.div,{initial:{opacity:0}
56,animate:{opacity:1},transition:{duration:.3,delay:.2,ease:Re},style:{position:"absolute",bottom:"calc(48px + env(safe-area-inset-bottom))",left:0,right:0,display:"flex",flexDirection:"column",alignItems:"center",gap:"24px"},children:[C.jsx("a",{href:"https://x.com/Ent_Security",target:"_blank",rel:"noopener noreferrer",style:{fontSize:"var(--text-sm)",fontWeight:400,fontFamily:Ot,color:J.green1,textDecoration:"none"},children:"X"}),C.jsx("a",{href:"https://www.linkedin.com/company/ent-security",target:"_blank",rel:"noopener noreferrer",style:{fontSize:"var(--text-sm)",fontWeight:400,fontFamily:Ot,color:J.green1,textDecoration:"none"},children:"LinkedIn"}),C.jsxs(ke.span,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.3,delay:.25,ease:Re},style:{fontSize:"var(--text-sm)",fontWeight:400,fontFamily:Ot,color:J.green1},children:["© ",new Date().getFullYear()]})]})]})}),C.jsxs("main",{style:{position:"relative",zIndex:10,overflow:"visible",boxSizing:"border-box",minHeight:"calc(100 * var(--vh))"},children:[C.jsx(ke.div,{initial:{opacity:0}
56,animate:{opacity:1},transition:{duration:1.4,ease:Re},style:{position:"relative",width:"100%"},children:C.jsx(Py,{})},n),!L&&C.jsx(uI,{})]}),C.jsx(eI,{}),C.jsx(sI,{})]})})})})}const UI=()=>ze(()=>import("./terms-XP0nmIny.js"),__vite__mapDeps([0,1])),HI=Ge("/terms")({component:Ze(UI,"component")}),$I=()=>ze(()=>import("./subscription-Qe_x2aqB.js"),__vite__mapDeps([2,1])),qI=Ge("/subscription")({component:Ze($I,"component")}),KI=()=>ze(()=>import("./sub-processors-c1Xo4B1G.js"),__vite__mapDeps([3,1])),GI=Ge("/sub-processors")({component:Ze(KI,"component")}),QI=()=>ze(()=>import("./privacy-BZleCdQh.js"),__vite__mapDeps([4,1])),YI=Ge("/privacy")({component:Ze(QI,"component")}),XI=()=>ze(()=>import("./press-pDhrqJDY.js"),__vite__mapDeps([5,6])),JI=Ge("/press")({component:Ze(XI,"component")}),ZI=()=>ze(()=>import("./platform-scroll-DLerw-E0.js"),__vite__mapDeps([7,8,9])),e_=Ge("/platform-scroll")({component:Ze(ZI,"component")}),t_=()=>ze(()=>import("./platform-C8uirDlN.js"),__vite__mapDeps([10,11,12,13,14,15])),n_=Ge("/platform")({component:Ze(t_,"component")}),r_=()=>ze(()=>import("./partners-CR0RuUNR.js"),__vite__mapDeps([16,17,14])),i_=Ge("/partners")({component:Ze(r_,"component")}),o_=()=>ze(()=>import("./news-Cwl3Ygp6.js"),[]),s_=Ge("/news")({component:Ze(o_,"component")}),a_=()=>ze(()=>import("./legal-DHLxZf3E.js"),__vite__mapDeps([18,19])),l_=Ge("/legal")({component:Ze(a_,"component")}),c_=()=>ze(()=>import("./joinus-CGahHTya.js"),[]),u_=Ge("/joinus")({component:Ze(c_,"component")}),h_=()=>ze(()=>import("./dpa-B-03_THZ.js"),__vite__mapDeps([20,1])),d_=Ge("/dpa")({component:Ze(h_,"component")}),f_=Ge("/demo")({beforeLoad:()=>{throw oy({to:"/contact"})}}),p_=()=>ze(()=>import("./contact-RUuGoLKo.js"),__vite__mapDeps([21,17,14])),m_=Ge("/contact")({component:Ze(p_,"component")}),g_=()=>ze(()=>import("./company-DWMJb7wf.js"),__vite__mapDeps([22,12,13,14,11,23,24])),y_=Ge("/company")({component:Ze(g_,"component")}),v_=()=>ze(()=>import("./blog-C7KwgTC-.js"),[]),w_=Ge("/blog")({component:Ze(v_,"component")}),x_=()=>ze(()=>import("./index-B9opxLa2.js"),__vite__mapDeps([25,12,13,14,15,19,23])),b_=Ge("/")({component:Ze(x_,"component")}),S_=()=>ze(()=>import("./press_._slug-D9ISjG7w.js"),__vite__mapDeps([26,6])),k_=Ge("/press_/$slug")({component:Ze(S_,"component")}),T_=()=>ze(()=>import("./blog_._slug-u07-hRPP.js"),__vite__mapDeps([27,13,14,24])),E_=Ge("/blog_/$slug")({component:Ze(T_,"component")}),P_=HI.update({id:"/terms",path:"/terms",getParentRoute:()=>He}),C_=qI.update({id:"/subscription",path:"/subscription",getParentRoute:()=>He}),I_=GI.update({id:"/sub-processors",path:"/sub-processors",getParentRoute:()=>He}),__=YI.update({id:"/privacy",path:"/privacy",getParentRoute:()=>He}),A_=JI.update({id:"/press",path:"/press",getParentRoute:()=>He}),R_=e_.update({id:"/platform-scroll",path:"/platform-scroll",getParentRoute:()=>He}),M_=n_.update({id:"/platform",path:"/platform",getParentRoute:()=>He}),L_=i_.update({id:"/partners",path:"/partners",getParentRoute:()=>He}),D_=s_.update({id:"/news",path:"/news",getParentRoute:()=>He}),O_=l_.update({id:"/legal",path:"/legal",getParentRoute:()=>He}),F_=u_.update({id:"/joinus",path:"/joinus",getParentRoute:()=>He}),j_=d_.update({id:"/dpa",path:"/dpa",getParentRoute:()=>He}),B_=f_.update({id:"/demo",path:"/demo",getParentRoute:()=>He}),V_=m_.update({id:"/contact",path:"/contact",getParentRoute:()=>He}),N_=y_.update({id:"/company",path:"/company",getParentRoute:()=>He}),z_=w_.update({id:"/blog",path:"/blog",getParentRoute:()=>He}),W_=b_.update({id:"/",path:"/",getParentRoute:()=>He}),U_=k_.update({id:"/press_/$slug",path:"/press/$slug",getParentRoute:()=>He}),H_=E_.update({id:"/blog_/$slug",path:"/blog/$slug",getParentRoute:()=>He}),$_={IndexRoute:W_,BlogRoute:z_,CompanyRoute:N_,ContactRoute:V_,DemoRoute:B_,DpaRoute:j_,JoinusRoute:F_,LegalRoute:O_,NewsRoute:D_,PartnersRoute:L_,PlatformRoute:M_,PlatformScrollRoute:R_,PressRoute:A_,PrivacyRoute:__,SubProcessorsRoute:I_,SubscriptionRoute:C_,TermsRoute:P_,BlogSlugRoute:H_,PressSlugRoute:U_},q_=He._addFileChildren($_)._addFileTypes(),K_=IS({routeTree:q_,basepath:"/",defaultPreload:"intent"}
56),G_=document.getElementById("root"),Q_=jx.createRoot(G_);Q_.render(C.jsx(_.StrictMode,{children:C.jsx(RS,{router:K_})}));export{un as $,ai as A,Ot as B,J as C,i2 as D,ja as E,an as F,zg as G,R1 as H,c2 as I,l2 as J,o2 as K,hn as L,Ce as M,fi as N,Ra as O,Nh as P,Oh as Q,k_ as R,Jn as S,Dk as T,Z_ as U,Zk as V,Ao as W,Ky as X,da as Y,Fk as Z,ze as _,iS as a,jt as a0,$m as a1,rt as a2,lh as a3,Wy as a4,uh as a5,di as a6,Vm as a7,Y_ as a8,_x as a9,q1 as aa,pE as ab,Ke as ac,Me as ad,Ca as ae,Ek as af,Ok as ag,bv as ah,Ct as ai,_h as aj,aE as ak,AE as al,TE as am,uE as an,JE as ao,Rv as ap,Aa as aq,Wo as ar,jC as b,t2 as c,n2 as d,cn as e,_1 as f,s2 as g,J_ as h,it as i,C as j,Re as k,FC as l,ke as m,RI as n,Mw as o,Vo as p,$C as q,_ as r,r2 as s,Fv as t,Vh as u,a2 as v,h2 as w,u2 as x,Iw as y,E_ as z};
57//# sourceMappingURL=index-ByLwq82f.js.map

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