PageSourceSearch

https://civicdata.tech/assets/index-CsSNsNoX.js

js civicdata.tech collected 2026-10-09 22:07:24 UTC 600,634 bytes, 60 lines download raw bytes

vendor: 4,780 bytes, line 1
1function cC(t,n){for(var r=0;r<n.length;r++){const a=n[r];if(typeof a!="string"&&!Array.isArray(a)){for(const l in a)if(l!=="default"&&!(l in t)){const u=Object.getOwnPropertyDescriptor(a,l);u&&Object.defineProperty(t,l,u.get?u:{enumerable:!0,get:()=>a[l]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))a(l);new MutationObserver(l=>{for(const u of l)if(u.type==="childList")for(const c of u.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&a(c)}).observe(document,{childList:!0,subtree:!0});function r(l){const u={};return l.integrity&&(u.integrity=l.integrity),l.referrerPolicy&&(u.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?u.credentials="include":l.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function a(l){if(l.ep)return;l.ep=!0;const u=r(l);fetch(l.href,u)}})();function dl(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ad={exports:{}},Bs={};var Jv;function fC(){if(Jv)return Bs;Jv=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function r(a,l,u){var c=null;if(u!==void 0&&(c=""+u),l.key!==void 0&&(c=""+l.key),"key"in l){u={};for(var d in l)d!=="key"&&(u[d]=l[d])}else u=l;return l=u.ref,{$$typeof:t,type:a,key:c,ref:l!==void 0?l:null,props:u}}return Bs.Fragment=n,Bs.jsx=r,Bs.jsxs=r,Bs}var $v;function dC(){return $v||($v=1,ad.exports=fC()),ad.exports}var v=dC(),sd={exports:{}},Tt={};var tx;function hC(){if(tx)return Tt;tx=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),x=Symbol.iterator;function S(D){return D===null||typeof D!="object"?null:(D=x&&D[x]||D["@@iterator"],typeof D=="function"?D:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,N={};function k(D,Q,T){this.props=D,this.context=Q,this.refs=N,this.updater=T||E}k.prototype.isReactComponent={},k.prototype.setState=function(D,Q){if(typeof D!="object"&&typeof D!="function"&&D!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,D,Q,"setState")},k.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function _(){}_.prototype=k.prototype;function j(D,Q,T){this.props=D,this.context=Q,this.refs=N,this.updater=T||E}var F=j.prototype=new _;F.constructor=j,A(F,k.prototype),F.isPureReactComponent=!0;var H=Array.isArray;function z(){}var I={H:null,A:null,T:null,S:null},Y=Object.prototype.hasOwnProperty;function at(D,Q,T){var it=T.ref;return{$$typeof:t,type:D,key:Q,ref:it!==void 0?it:null,props:T}}function lt(D,Q){return at(D.type,Q,D.props)}function et(D){return typeof D=="object"&&D!==null&&D.$$typeof===t}function nt(D){var Q={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(T){return Q[T]})}var dt=/\/+/g;function Z(D,Q){return typeof D=="object"&&D!==null&&D.key!=null?nt(""+D.key):Q.toString(36)}function $(D){switch(D.status){case"fulfilled":return D.value;case"rejected":throw D.reason;default:switch(typeof D.status=="string"?D.then(z,z):(D.status="pending",D.then(function(Q){D.status==="pending"&&(D.status="fulfilled",D.value=Q)},function(Q){D.status==="pending"&&(D.status="rejected",D.reason=Q)})),D.status){case"fulfilled":return D.value;case"rejected":throw D.reason}}throw D}function L(D,Q,T,it,gt){var pt=typeof D;(pt==="undefined"||pt==="boolean")&&(D=null);var ht=!1;if(D===null)ht=!0;else switch(pt){case"bigint":case"string":case"number":ht=!0;break;case"object":switch(D.$$typeof){case t:case n:ht=!0;break;case g:return ht=D._init,L(ht(D._payload),Q,T,it,gt)}}if(ht)return gt=gt(D),ht=it===""?"."+Z(D,0):it,H(gt)?(T="",ht!=null&&(T=ht.replace(dt,"$&/")+"/"),L(gt,Q,T,"",function(de){return de})):gt!=null&&(et(gt)&&(gt=lt(gt,T+(gt.key==null||D&&D.key===gt.key?"":(""+gt.key).replace(dt,"$&/")+"/")+ht)),Q.push(gt)),1;ht=0;var Bt=it===""?".":it+":";if(H(D))for(var Dt=0;Dt<D.length;Dt++)it=D[Dt],pt=Bt+Z(it,Dt),ht+=L(it,Q,T,pt,gt);else if(Dt=S(D),typeof Dt=="function")for(D=Dt.call(D),Dt=0;!(it=D.next()).done;)it=it.value,pt=Bt+Z(it,Dt++),ht+=L(it,Q,T,pt,gt);else if(pt==="object"){if(typeof D.then=="function")return L($(D
vendor: 4,787 bytes, line 1
1),Q,T,it,gt);throw Q=String(D),Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.")}return ht}function G(D,Q,T){if(D==null)return D;var it=[],gt=0;return L(D,it,"","",function(pt){return Q.call(T,pt,gt++)}),it}function B(D){if(D._status===-1){var Q=D._result;Q=Q(),Q.then(function(T){(D._status===0||D._status===-1)&&(D._status=1,D._result=T)},function(T){(D._status===0||D._status===-1)&&(D._status=2,D._result=T)}),D._status===-1&&(D._status=0,D._result=Q)}if(D._status===1)return D._result.default;throw D._result}var ot=typeof reportError=="function"?reportError:function(D){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof D=="object"&&D!==null&&typeof D.message=="string"?String(D.message):String(D),error:D});if(!window.dispatchEvent(Q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",D);return}console.error(D)},M={map:G,forEach:function(D,Q,T){G(D,function(){Q.apply(this,arguments)},T)},count:function(D){var Q=0;return G(D,function(){Q++}),Q},toArray:function(D){return G(D,function(Q){return Q})||[]},only:function(D){if(!et(D))throw Error("React.Children.only expected to receive a single React element child.");return D}};return Tt.Activity=y,Tt.Children=M,Tt.Component=k,Tt.Fragment=r,Tt.Profiler=l,Tt.PureComponent=j,Tt.StrictMode=a,Tt.Suspense=m,Tt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=I,Tt.__COMPILER_RUNTIME={__proto__:null,c:function(D){return I.H.useMemoCache(D)}},Tt.cache=function(D){return function(){return D.apply(null,arguments)}},Tt.cacheSignal=function(){return null},Tt.cloneElement=function(D,Q,T){if(D==null)throw Error("The argument must be a React element, but you passed "+D+".");var it=A({},D.props),gt=D.key;if(Q!=null)for(pt in Q.key!==void 0&&(gt=""+Q.key),Q)!Y.call(Q,pt)||pt==="key"||pt==="__self"||pt==="__source"||pt==="ref"&&Q.ref===void 0||(it[pt]=Q[pt]);var pt=arguments.length-2;if(pt===1)it.children=T;else if(1<pt){for(var ht=Array(pt),Bt=0;Bt<pt;Bt++)ht[Bt]=arguments[Bt+2];it.children=ht}return at(D.type,gt,it)},Tt.createContext=function(D){return D={$$typeof:c,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null},D.Provider=D,D.Consumer={$$typeof:u,_context:D},D},Tt.createElement=function(D,Q,T){var it,gt={},pt=null;if(Q!=null)for(it in Q.key!==void 0&&(pt=""+Q.key),Q)Y.call(Q,it)&&it!=="key"&&it!=="__self"&&it!=="__source"&&(gt[it]=Q[it]);var ht=arguments.length-2;if(ht===1)gt.children=T;else if(1<ht){for(var Bt=Array(ht),Dt=0;Dt<ht;Dt++)Bt[Dt]=arguments[Dt+2];gt.children=Bt}if(D&&D.defaultProps)for(it in ht=D.defaultProps,ht)gt[it]===void 0&&(gt[it]=ht[it]);return at(D,pt,gt)},Tt.createRef=function(){return{current:null}},Tt.forwardRef=function(D){return{$$typeof:d,render:D}},Tt.isValidElement=et,Tt.lazy=function(D){return{$$typeof:g,_payload:{_status:-1,_result:D},_init:B}},Tt.memo=function(D,Q){return{$$typeof:h,type:D,compare:Q===void 0?null:Q}},Tt.startTransition=function(D){var Q=I.T,T={};I.T=T;try{var it=D(),gt=I.S;gt!==null&&gt(T,it),typeof it=="object"&&it!==null&&typeof it.then=="function"&&it.then(z,ot)}catch(pt){ot(pt)}finally{Q!==null&&T.types!==null&&(Q.types=T.types),I.T=Q}},Tt.unstable_useCacheRefresh=function(){return I.H.useCacheRefresh()},Tt.use=function(D){return I.H.use(D)},Tt.useActionState=function(D,Q,T){return I.H.useActionState(D,Q,T)},Tt.useCallback=function(D,Q){return I.H.useCallback(D,Q)},Tt.useContext=function(D){return I.H.useContext(D)},Tt.useDebugValue=function(){},Tt.useDeferredValue=function(D,Q){return I.H.useDeferredValue(D,Q)},Tt.useEffect=function(D,Q){return I.H.useEffect(D,Q)},Tt.useEffectEvent=function(D){return I.H.useEffectEvent(D)},Tt.useId=function(){return I.H.useId()},Tt.useImperativeHandle=function(D,Q,T){return I.H.useImperativeHandle(D,Q,T)},Tt.useInsertionEffect=function(D,Q){return I.H.useInsertionEffect(D,Q)},Tt.useLayoutEffect=function(D,Q){return I.H.useLayoutEffect(D,Q)},Tt.useMemo=function(D,Q){return I.H.useMemo(D,Q)},Tt.useOptimistic=function(D,Q){return I.H.useOptimistic(D,Q)},Tt.useReducer=function(D,Q,T){return I.H.useReducer(D,Q,T)},Tt.useRef=function(D){return I.H.useRef(D)},Tt.useState=function(D){return I.H.useState(D)},Tt.useSyncExternalStore=function(D,Q,T){return I.H.useSyncExternalStore(D,Q,T)},Tt.useTransition=function(){return I.H.useTransition()},Tt.version="19.2.1",Tt}var ex;function wu(){return ex||(ex=1,sd.exports=hC()),sd.exports}var C=wu();const yi=dl(C),Ph=cC({__proto__:null,default:yi},[C]);var ld={exports:{}},Ps={},od={exports:{}},ud={};var nx;
vendor: 11,012 bytes, line 1
1function mC(){return nx||(nx=1,(function(t){function n(L,G){var B=L.length;L.push(G);t:for(;0<B;){var ot=B-1>>>1,M=L[ot];if(0<l(M,G))L[ot]=G,L[B]=M,B=ot;else break t}}function r(L){return L.length===0?null:L[0]}function a(L){if(L.length===0)return null;var G=L[0],B=L.pop();if(B!==G){L[0]=B;t:for(var ot=0,M=L.length,D=M>>>1;ot<D;){var Q=2*(ot+1)-1,T=L[Q],it=Q+1,gt=L[it];if(0>l(T,B))it<M&&0>l(gt,T)?(L[ot]=gt,L[it]=B,ot=it):(L[ot]=T,L[Q]=B,ot=Q);else if(it<M&&0>l(gt,B))L[ot]=gt,L[it]=B,ot=it;else break t}}return G}function l(L,G){var B=L.sortIndex-G.sortIndex;return B!==0?B:L.id-G.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var c=Date,d=c.now();t.unstable_now=function(){return c.now()-d}}var m=[],h=[],g=1,y=null,x=3,S=!1,E=!1,A=!1,N=!1,k=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;function F(L){for(var G=r(h);G!==null;){if(G.callback===null)a(h);else if(G.startTime<=L)a(h),G.sortIndex=G.expirationTime,n(m,G);else break;G=r(h)}}function H(L){if(A=!1,F(L),!E)if(r(m)!==null)E=!0,z||(z=!0,nt());else{var G=r(h);G!==null&&$(H,G.startTime-L)}}var z=!1,I=-1,Y=5,at=-1;function lt(){return N?!0:!(t.unstable_now()-at<Y)}function et(){if(N=!1,z){var L=t.unstable_now();at=L;var G=!0;try{t:{E=!1,A&&(A=!1,_(I),I=-1),S=!0;var B=x;try{e:{for(F(L),y=r(m);y!==null&&!(y.expirationTime>L&&lt());){var ot=y.callback;if(typeof ot=="function"){y.callback=null,x=y.priorityLevel;var M=ot(y.expirationTime<=L);if(L=t.unstable_now(),typeof M=="function"){y.callback=M,F(L),G=!0;break e}y===r(m)&&a(m),F(L)}else a(m);y=r(m)}if(y!==null)G=!0;else{var D=r(h);D!==null&&$(H,D.startTime-L),G=!1}}break t}finally{y=null,x=B,S=!1}G=void 0}}finally{G?nt():z=!1}}}var nt;if(typeof j=="function")nt=function(){j(et)};else if(typeof MessageChannel<"u"){var dt=new MessageChannel,Z=dt.port2;dt.port1.onmessage=et,nt=function(){Z.postMessage(null)}}else nt=function(){k(et,0)};function $(L,G){I=k(function(){L(t.unstable_now())},G)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(L){L.callback=null},t.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Y=0<L?Math.floor(1e3/L):5},t.unstable_getCurrentPriorityLevel=function(){return x},t.unstable_next=function(L){switch(x){case 1:case 2:case 3:var G=3;break;default:G=x}var B=x;x=G;try{return L()}finally{x=B}},t.unstable_requestPaint=function(){N=!0},t.unstable_runWithPriority=function(L,G){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var B=x;x=L;try{return G()}finally{x=B}},t.unstable_scheduleCallback=function(L,G,B){var ot=t.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?ot+B:ot):B=ot,L){case 1:var M=-1;break;case 2:M=250;break;case 5:M=1073741823;break;case 4:M=1e4;break;default:M=5e3}return M=B+M,L={id:g++,callback:G,priorityLevel:L,startTime:B,expirationTime:M,sortIndex:-1},B>ot?(L.sortIndex=B,n(h,L),r(m)===null&&L===r(h)&&(A?(_(I),I=-1):A=!0,$(H,B-ot))):(L.sortIndex=M,n(m,L),E||S||(E=!0,z||(z=!0,nt()))),L},t.unstable_shouldYield=lt,t.unstable_wrapCallback=function(L){var G=x;return function(){var B=x;x=G;try{return L.apply(this,arguments)}finally{x=B}}}})(ud)),ud}var ix;function pC(){return ix||(ix=1,od.exports=mC()),od.exports}var cd={exports:{}},Ce={};var rx;function gC(){if(rx)return Ce;rx=1;var t=wu();function n(m){var h="https://react.dev/errors/"+m;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)h+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+m+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var a={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},l=Symbol.for("react.portal");function u(m,h,g){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:y==null?null:""+y,children:m,containerInfo:h,implementation:g}}var c=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(m,h){if(m==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return Ce.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,Ce.createPortal=function(m,h){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(n(299));return u(m,h,null,g)},Ce.flushSync=function(m){var h=c.T,g=a.p;try{if(c.T=null,a.p=2,m)return m()}finally{c.T=h,a.p=g,a.d.f()}},Ce.preconnect=function(m,h){typeof m=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,a.d.C(m,h))},Ce.prefetchDNS=function(m){typeof m=="string"&&a.d.D(m)},Ce.preinit=function(m,h){if(typeof m=="string"&&h&&typeof h.as=="string"){var g=h.as,y=d(g,h.crossOrigin),x=typeof h.integrity=="string"?h.integrity:void 0,S=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;g==="style"?a.d.S(m,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:y,integrity:x,fetchPriority:S}):g==="script"&&a.d.X(m,{crossOrigin:y,integrity:x,fetchPriority:S,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},Ce.preinitModule=function(m,h){if(typeof m=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var g=d(h.as,h.crossOrigin);a.d.M(m,{crossOrigin:g,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&a.d.M(m)},Ce.preload=function(m,h){if(typeof m=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var g=h.as,y=d(g,h.crossOrigin);a.d.L(m,g,{crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},Ce.preloadModule=function(m,h){if(typeof m=="string")if(h){var g=d(h.as,h.crossOrigin);a.d.m(m,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:g,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else a.d.m(m)},Ce.requestFormReset=function(m){a.d.r(m)},Ce.unstable_batchedUpdates=function(m,h){return m(h)},Ce.useFormState=function(m,h,g){return c.H.useFormState(m,h,g)},Ce.useFormStatus=function(){return c.H.useHostTransitionStatus()},Ce.version="19.2.1",Ce}var ax;function I0(){if(ax)return cd.exports;ax=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}return t(),cd.exports=gC(),cd.exports}var sx;function yC(){if(sx)return Ps;sx=1;var t=pC(),n=wu(),r=I0();function a(e){var i="https://react.dev/errors/"+e;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var s=2;s<arguments.length;s++)i+="&args[]="+encodeURIComponent(arguments[s])}return"Minified React error #"+e+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function u(e){var i=e,s=e;if(e.alternate)for(;i.return;)i=i.return;else{e=i;do i=e,(i.flags&4098)!==0&&(s=i.return),e=i.return;while(e)}return i.tag===3?s:null}function c(e){if(e.tag===13){var i=e.memoizedState;if(i===null&&(e=e.alternate,e!==null&&(i=e.memoizedState)),i!==null)return i.dehydrated}return null}function d(e){if(e.tag===31){var i=e.memoizedState;if(i===null&&(e=e.alternate,e!==null&&(i=e.memoizedState)),i!==null)return i.dehydrated}return null}function m(e){if(u(e)!==e)throw Error(a(188))}function h(e){var i=e.alternate;if(!i){if(i=u(e),i===null)throw Error(a(188));return i!==e?null:e}for(var s=e,o=i;;){var f=s.return;if(f===null)break;var p=f.alternate;if(p===null){if(o=f.return,o!==null){s=o;continue}break}if(f.child===p.child){for(p=f.child;p;){if(p===s)return m(f),e;if(p===o)return m(f),i;p=p.sibling}throw Error(a(188))}if(s.return!==o.return)s=f,o=p;else{for(var b=!1,w=f.child;w;){if(w===s){b=!0,s=f,o=p;break}if(w===o){b=!0,o=f,s=p;break}w=w.sibling}if(!b){for(w=p.child;w;){if(w===s){b=!0,s=p,o=f;break}if(w===o){b=!0,o=p,s=f;break}w=w.sibling}if(!b)throw Error(a(189))}}if(s.alternate!==o)throw Error(a(190))}if(s.tag!==3)throw Error(a(188));return s.stateNode.current===s?e:i}function g(e){var i=e.tag;if(i===5||i===26||i===27||i===6)return e;for(e=e.child;e!==null;){if(i=g(e),i!==null)return i;e=e.sibling}return null}var y=Object.assign,x=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),_=Symbol.for("react.consumer"),j=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),z=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),Y=Symbol.for("react.lazy"),at=Symbol.for("react.activity"),lt=Symbol.for("react.memo_cache_sentinel"),et=Symbol.iterator;function nt(e){return e===null||typeof e!="object"?null:(e=et&&e[et]||e["@@iterator"],typeof e=="function"?e:null)}var dt=Symbol.for("react.client.reference");function Z(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===dt?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case A:return"Fragment";case k:return"Profiler";case N:return"StrictMode";case H:return"Suspense";case z:return"SuspenseList";case at:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case E:return"Portal";case j:return e.displayName||"Context";case _:return(e._context.displayName||"Context")+".Consumer";case F:var i=e.render;return e=e.displayName,e||(e=i.displayName||i.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case I:return i=e.displayName||null,i!==null?i:Z(e.type)||"Memo";case Y:i=e._payload,e=e._init;try{return Z(e(i))}catch{}}return null}var $=Array.isArray,L=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B={pending:!1,data:null,method:null,action:null},ot=[],M=-1;function D(e){return{current:e}}function Q(e){0>M||(e.current=ot[M],ot[M]=null,M--)}function T(e,i){M++,ot[M]=e.current,e.current=i}var it=D(null),gt=D(null),pt=D(null),ht=D(null);function Bt(e,i){switch(T(pt,i),T(gt,e),T(it,null),i.nodeType){case 9:case 11:e=(e
vendor: 12,005 bytes, lines 1-8
1=i.documentElement)&&(e=e.namespaceURI)?Sv(e):0;break;default:if(e=i.tagName,i=i.namespaceURI)i=Sv(i),e=wv(i,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Q(it),T(it,e)}function Dt(){Q(it),Q(gt),Q(pt)}function de(e){e.memoizedState!==null&&T(ht,e);var i=it.current,s=wv(i,e.type);i!==s&&(T(gt,e),T(it,s))}function Me(e){gt.current===e&&(Q(it),Q(gt)),ht.current===e&&(Q(ht),zs._currentValue=B)}var on,Kn;function Zn(e){if(on===void 0)try{throw Error()}catch(s){var i=s.stack.trim().match(/\n( *(at )?)/);on=i&&i[1]||"",Kn=-1<s.stack.indexOf(`
2    at`)?" (<anonymous>)":-1<s.stack.indexOf("@")?"@unknown:0:0":""}return`
3`+on+e+Kn}var Rr=!1;function zr(e,i){if(!e||Rr)return"";Rr=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(i){var tt=function(){throw Error()};if(Object.defineProperty(tt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(tt,[])}catch(X){var q=X}Reflect.construct(e,[],tt)}else{try{tt.call()}catch(X){q=X}e.call(tt.prototype)}}else{try{throw Error()}catch(X){q=X}(tt=e())&&typeof tt.catch=="function"&&tt.catch(function(){})}}catch(X){if(X&&q&&typeof X.stack=="string")return[X.stack,q.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var p=o.DetermineComponentFrameRoot(),b=p[0],w=p[1];if(b&&w){var O=b.split(`
4`),U=w.split(`
5`);for(f=o=0;o<O.length&&!O[o].includes("DetermineComponentFrameRoot");)o++;for(;f<U.length&&!U[f].includes("DetermineComponentFrameRoot");)f++;if(o===O.length||f===U.length)for(o=O.length-1,f=U.length-1;1<=o&&0<=f&&O[o]!==U[f];)f--;for(;1<=o&&0<=f;o--,f--)if(O[o]!==U[f]){if(o!==1||f!==1)do if(o--,f--,0>f||O[o]!==U[f]){var K=`
6`+O[o].replace(" at new "," at ");return e.displayName&&K.includes("<anonymous>")&&(K=K.replace("<anonymous>",e.displayName)),K}while(1<=o&&0<=f);break}}}finally{Rr=!1,Error.prepareStackTrace=s}return(s=e?e.displayName||e.name:"")?Zn(s):""}function wl(e,i){switch(e.tag){case 26:case 27:case 5:return Zn(e.type);case 16:return Zn("Lazy");case 13:return e.child!==i&&i!==null?Zn("Suspense Fallback"):Zn("Suspense");case 19:return Zn("SuspenseList");case 0:case 15:return zr(e.type,!1);case 11:return zr(e.type.render,!1);case 1:return zr(e.type,!0);case 31:return Zn("Activity");default:return""}}function Tl(e){try{var i="",s=null;do i+=wl(e,s),s=e,e=e.return;while(e);return i}catch(o){return`
7Error generating stack: `+o.message+`
8`+o.stack}}var _r=Object.prototype.hasOwnProperty,Lr=t.unstable_scheduleCallback,Ga=t.unstable_cancelCallback,Fu=t.unstable_shouldYield,Yu=t.unstable_requestPaint,Oe=t.unstable_now,Iu=t.unstable_getCurrentPriorityLevel,W=t.unstable_ImmediatePriority,st=t.unstable_UserBlockingPriority,xt=t.unstable_NormalPriority,Nt=t.unstable_LowPriority,Pt=t.unstable_IdlePriority,Ke=t.log,Wn=t.unstable_setDisableYieldValue,je=null,he=null;function _e(e){if(typeof Ke=="function"&&Wn(e),he&&typeof he.setStrictMode=="function")try{he.setStrictMode(je,e)}catch{}}var It=Math.clz32?Math.clz32:ZT,wi=Math.log,En=Math.LN2;function ZT(e){return e>>>=0,e===0?32:31-(wi(e)/En|0)|0}var El=256,Al=262144,Cl=4194304;function rr(e){var i=e&42;if(i!==0)return i;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Nl(e,i,s){var o=e.pendingLanes;if(o===0)return 0;var f=0,p=e.suspendedLanes,b=e.pingedLanes;e=e.warmLanes;var w=o&134217727;return w!==0?(o=w&~p,o!==0?f=rr(o):(b&=w,b!==0?f=rr(b):s||(s=w&~e,s!==0&&(f=rr(s))))):(w=o&~p,w!==0?f=rr(w):b!==0?f=rr(b):s||(s=o&~e,s!==0&&(f=rr(s)))),f===0?0:i!==0&&i!==f&&(i&p)===0&&(p=f&-f,s=i&-i,p>=s||p===32&&(s&4194048)!==0)?i:f}function Xa(e,i){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&i)===0}function WT(e,i){switch(e){case 1:case 2:case 4:case 8:case 64:return i+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function np(){var e=Cl;return Cl<<=1,(Cl&62914560)===0&&(Cl=4194304),e}function Gu(e){for(var i=[],s=0;31>s;s++)i.push(e);return i}function Qa(e,i){e.pendingLanes|=i,i!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function JT(e,i,s,o,f,p){var b=e.pendingLanes;e.pendingLanes=s,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=s,e.entangledLanes&=s,e.errorRecoveryDisabledLanes&=s,e.shellSuspendCounter=0;var w=e.entanglements,O=e.expirationTimes,U=e.hiddenUpdates;for(s=b&~s;0<s;){var K=31-It(s),tt=1<<K;w[K]=0,O[K]=-1;var q=U[K];if(q!==null)for(U[K]=null,K=0;K<q.length;K++){var X=q[K];X!==null&&(X.lane&=-536870913)}s&=~tt}o!==0&&ip(e,o,0),p!==0&&f===0&&e.tag!==0&&(e.suspendedLanes|=p&~(b&~i))}function ip(e,i,s){e.pendingLanes|=i,e.suspendedLanes&=~i;var o=31-It(i);e.entangledLanes|=i,e.entanglements[o]=e.entanglements[o]|1073741824|s&261930}function rp(e,i){var s=e.entangledLanes|=i;for(e=e.entanglements;s;){var o=31-It(s),f=1<<o;f&i|e[o]&i&&(e[o]|=i),s&=~f}}function ap(e,i){var s=i&-i;return s=(s&42)!==0?1:Xu(s),(s&(e.suspendedLanes|i))!==0?0:s}function Xu(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Qu(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function sp(){var e=G.p;return e!==0?e:(e=window.event,e===void 0?32:Iv(e.type))}function lp(e,i){var s=G.p;try{return G.p=e,i()}finally{G.p=s}}var Ti=Math.random().toString(36).slice(2),be="__reactFiber$"+Ti,Le="__reactProps$"+Ti,Vr="__reactContainer$"+Ti,Ku="__reactEvents$"+Ti,$T="__reactListeners$"+Ti,tE="__reactHandles$"+Ti,op="__reactResources$"+Ti,Ka="__reactMarker$"+Ti;function Zu(e){delete e[be],delete e[Le],delete e[Ku],delete e[$T],delete e[tE]}function Br(e){var i=e[be];if(i)return i;for(var s=e.parentNode;s;){if(i=s[Vr]||s[be]){if(s=i.alternate,i.child!==null||s!==null&&s.child!==null)for(e=Mv(e);e!==null;){if(s=e[be])return s;e=Mv(e)}return i}e=s,s=e.parentNode}return null}function Pr(e){if(e=e[be]||e[Vr]){var i=e.tag;if(i===5||i===6||i===13||i===31||i===26||i===27||i===3)return e}return null}function Za(e){var i=e.tag;if(i===5||i===26||i===27||i===6)return e.stateNode;throw Error(a(33))}function Ur(e){var i=e[op];return i||(i=e[op]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function ve(e){e[Ka]=!0}var up=new Set,cp={};function ar(e,i){Hr(e,i),Hr(e+"Capture",i)}function Hr(e,i){for(cp[e]=i,e=0;e<i.length;e++)up.add(i[e])}var eE=RegExp("^[: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]*$"),fp={},dp={};function nE(e){return _r.call(dp,e)?!0:_r.call(fp,e)?!1:eE.test(e)?dp[e]=!0:(fp[e]=!0,!1)}function kl(e,i,s){if(nE(i))if(s===null)e.removeAttribute(i);else{switch(typeof s){case"undefined":case"function":case"symbol":e.removeAttribute(i);return;case"boolean":var o=i.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(i);return}}e.setAttribute(i,""+s)}}function Ml(e,i,s){if(s===null)e.removeAttribute(i);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(i);return}e.setAttribute(i,""+s)}}function Jn(e,i,s,o){if(o===null)e.removeAttribute(s);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(s);return}e.setAttributeNS(i,s,""+o)}}function un(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function hp(e){var i=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function iE(e,i,s){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,i);if(!e.hasOwnProperty(i)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var f=o.get,p=o.set;return Object.defineProperty(e,i,{configurable:!0,get:function(){return f.call(this)},set:function(b){s=""+b,p.call(this,b)}}),Object.defineProperty(e,i,{enumerable:o.enumerable}),{getValue:function(){return s},setValue:function(b){s=""+b},stopTracking:function(){e._valueTracker=null,delete e[i]}}}}function Wu(e){if(!e._valueTracker){var i=hp(e)?"checked":"value";e._valueTracker=iE(e,i,""+e[i])}}function mp(e){if(!e)return!1;var i=e._valueTracker;if(!i)return!0;var s=i.getValue(),o="";return e&&(o=hp(e)?e.checked?"true":"false":e.value),e=o,e!==s?(i.setValue(e),!0):!1}function Ol(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var rE=/[\n"\\]/g;function cn(e){return e.replace(rE,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function Ju(e,i,s,o,f,p,b,w){e.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.type=b:e.removeAttribute("type"),i!=null?b==="number"?(i===0&&e.value===""||e.value!=i)&&(e.value=""+un(i)):e.value!==""+un(i)&&(e.value=""+un(i)):b!=="submit"&&b!=="reset"||e.removeAttribute("value"),i!=null?$u(e,b,un(i)):s!=null?$u(e,b,un(s)):o!=null&&e.removeAttribute("value"),f==null&&p!=null&&(e.defaultChecked=!!p),f!=null&&(e.checked=f&&typeof f!="function"&&typeof f!="symbol"),w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?e.name=""+un(w):e.removeAttribute("name")}function pp(e,i,s,o,f,p,b,w){if(p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(e.type=p),i!=null||s!=null){if(!(p!=="submit"&&p!=="reset"||i!=null)){Wu(e);return}s=s!=null?""+un(s):"",i=i!=null?""+un(i):s,w||i===e.value||(e.value=i),e.defaultValue=i}o=o??f,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=w?e.checked:!!o,e.defaultChecked=!!o,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(e.name=b),Wu(e)}function $u(e,i,s){i==="number"&&Ol(e.ownerDocument)===e||e.defaultValue===""+s||(e.defaultValue=""+s)}function qr(e,i,s,o){if(e=e.options,i){i={};for(var f=0;f<s.length;f++)i["$"+s[f]]=!0;for(s=0;s<e.length;s++)f=i.hasOwnProperty("$"+e[s].value),e[s].selected!==f&&(e[s].selected=f),f&&o&&(e[s].defaultSelected=!0)}else{for(s=""+un(s),i=null,f=0;f<e.length;f++){if(e[f].value===s){e[f].selected=!0,o&&(e[f].defaultSelected=!0);return}i!==null||e[f].disabled||(i=e[f])}i!==null&&(i.selected=!0)}}function gp(e,i,s){if(i!=null&&(i=""+un(i),i!==e.value&&(e.value=i),s==null)){e.defaultValue!==i&&(e.defaultValue=i);return}e.defaultValue=s!=null?""+un(s):""}function yp(e,i,s,o){if(i==null){if(o!=null){if(s!=null)throw Error(a(92));if($(o)){if(1<o.length)throw Error(a(93));o=o[0]}s=o}s==null&&(s=""),i=s}s=un(i),e.defaultValue=s,o=e.textContent,o===s&&o!==""&&o!==null&&(e.value=o),Wu
vendor: 4,186 bytes, line 8
8(e)}function Fr(e,i){if(i){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===3){s.nodeValue=i;return}}e.textContent=i}var aE=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function vp(e,i,s){var o=i.indexOf("--")===0;s==null||typeof s=="boolean"||s===""?o?e.setProperty(i,""):i==="float"?e.cssFloat="":e[i]="":o?e.setProperty(i,s):typeof s!="number"||s===0||aE.has(i)?i==="float"?e.cssFloat=s:e[i]=(""+s).trim():e[i]=s+"px"}function xp(e,i,s){if(i!=null&&typeof i!="object")throw Error(a(62));if(e=e.style,s!=null){for(var o in s)!s.hasOwnProperty(o)||i!=null&&i.hasOwnProperty(o)||(o.indexOf("--")===0?e.setProperty(o,""):o==="float"?e.cssFloat="":e[o]="");for(var f in i)o=i[f],i.hasOwnProperty(f)&&s[f]!==o&&vp(e,f,o)}else for(var p in i)i.hasOwnProperty(p)&&vp(e,p,i[p])}function tc(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var sE=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
8-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),lE=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function jl(e){return lE.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function $n(){}var ec=null;function nc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Yr=null,Ir=null;function bp(e){var i=Pr(e);if(i&&(e=i.stateNode)){var s=e[Le]||null;t:switch(e=i.stateNode,i.type){case"input":if(Ju(e,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name),i=s.name,s.type==="radio"&&i!=null){for(s=e;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll('input[name="'+cn(""+i)+'"][type="radio"]'),i=0;i<s.length;i++){var o=s[i];if(o!==e&&o.form===e.form){var f=o[Le]||null;if(!f)throw Error(a(90));Ju(o,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(i=0;i<s.length;i++)o=s[i],o.form===e.form&&mp(o)}break t;case"textarea":gp(e,s.value,s.defaultValue);break t;case"select":i=s.value,i!=null&&qr(e,!!s.multiple,i,!1)}}}var ic=!1;function Sp(e,i,s){if(ic)return e(i,s);ic=!0;try{var o=e(i);return o}finally{if(ic=!1,(Yr!==null||Ir!==null)&&(xo(),Yr&&(i=Yr,e=Ir,Ir=Yr=null,bp(i),e)))for(i=0;i<e.length;i++)bp(e[i])}}function Wa(e,i){var s=e.stateNode;if(s===null)return null;var o=s[Le]||null;if(o===null)return null;s=o[i];t:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break t;default:e=!1}if(e)return null;if(s&&typeof s!="function")throw Error(a(231,i,typeof s));return s}var ti=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),rc=!1;if(ti)try{var Ja={};Object.defineProperty(Ja,"passive",{get:function(){rc=!0}}),window.addEventListener("test",Ja,Ja),window.removeEventListener("test",Ja,Ja)}catch{rc=!1}var Ei=null,ac=null,Dl=null;function wp(){if(Dl)return Dl;var e,i=ac,s=i.length,o,f="value"in Ei?Ei.value:Ei.textContent,p=f.length;for(e=0;e<s&&i[e]===f[e];e++);var b=s-e;for(o=1;o<=b&&i[s-o]===f[p-o];o++);return Dl=f.slice(e,1<o?1-o:void 0)}function Rl(e){var i=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&i===13&&(e=13)):e=i,e===10&&(e=13),32<=e||e===13?e:0}function zl(){return!0}function Tp(){return!1}function Ve(e){function i(s,o,f,p,b){this._reactName=s,this._targetInst=f,this.type=o,this.nativeEvent=p,this.target=b,this.currentTarget=null;for(var w in e)e.hasOwnProperty(w)&&(s=e[w],this[w]=s?s(p):p[w]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?zl:Tp,this.isPropagationStopped=Tp,this}return y(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=zl)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=zl)},persist:function(){},isPersistent:zl}),i}var sr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},_l=Ve(sr),$a=y({},sr,{view:0,detail:0}),oE=Ve($a),sc,lc,ts,Ll=y({},$a,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:uc,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ts&&(ts&&e.type==="mousemove"?(sc=e.screenX-ts.screenX,lc=e.screenY-ts.screenY):lc=sc=0,ts=e),sc)},movementY:function(e){return"movementY"in e?e.movementY:lc}}),Ep=Ve(Ll),uE=y({},Ll,{dataTransfer:0}),cE=Ve(uE),fE=y({},$a,{relatedTarget:0}),oc=Ve(fE),dE=y({},sr,{animationName:0,elapsedTime:0,pseudoElement:0}),hE=Ve(dE),mE=y({},sr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),pE=Ve(mE),gE=y({},sr,{data:0}),Ap=Ve(gE),yE={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},vE={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"},xE={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function bE(e){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(e):(e=xE[e])?!!i[e]:!1}function uc(){return bE}var SE=y({},$a,{key:function(e){if(e.key){var i=yE[e.key]||e.key;if(i!=="Unidentified")return i}
vendor: 5,186 bytes, line 8
8return e.type==="keypress"?(e=Rl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?vE[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:uc,charCode:function(e){return e.type==="keypress"?Rl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Rl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),wE=Ve(SE),TE=y({},Ll,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Cp=Ve(TE),EE=y({},$a,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:uc}),AE=Ve(EE),CE=y({},sr,{propertyName:0,elapsedTime:0,pseudoElement:0}),NE=Ve(CE),kE=y({},Ll,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),ME=Ve(kE),OE=y({},sr,{newState:0,oldState:0}),jE=Ve(OE),DE=[9,13,27,32],cc=ti&&"CompositionEvent"in window,es=null;ti&&"documentMode"in document&&(es=document.documentMode);var RE=ti&&"TextEvent"in window&&!es,Np=ti&&(!cc||es&&8<es&&11>=es),kp=" ",Mp=!1;function Op(e,i){switch(e){case"keyup":return DE.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Gr=!1;function zE(e,i){switch(e){case"compositionend":return jp(i);case"keypress":return i.which!==32?null:(Mp=!0,kp);case"textInput":return e=i.data,e===kp&&Mp?null:e;default:return null}}function _E(e,i){if(Gr)return e==="compositionend"||!cc&&Op(e,i)?(e=wp(),Dl=ac=Ei=null,Gr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return Np&&i.locale!=="ko"?null:i.data;default:return null}}var LE={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 Dp(e){var i=e&&e.nodeName&&e.nodeName.toLowerCase();return i==="input"?!!LE[e.type]:i==="textarea"}function Rp(e,i,s,o){Yr?Ir?Ir.push(o):Ir=[o]:Yr=o,i=Co(i,"onChange"),0<i.length&&(s=new _l("onChange","change",null,s,o),e.push({event:s,listeners:i}))}var ns=null,is=null;function VE(e){pv(e,0)}function Vl(e){var i=Za(e);if(mp(i))return e}function zp(e,i){if(e==="change")return i}var _p=!1;if(ti){var fc;if(ti){var dc="oninput"in document;if(!dc){var Lp=document.createElement("div");Lp.setAttribute("oninput","return;"),dc=typeof Lp.oninput=="function"}fc=dc}else fc=!1;_p=fc&&(!document.documentMode||9<document.documentMode)}function Vp(){ns&&(ns.detachEvent("onpropertychange",Bp),is=ns=null)}function Bp(e){if(e.propertyName==="value"&&Vl(is)){var i=[];Rp(i,is,e,nc(e)),Sp(VE,i)}}function BE(e,i,s){e==="focusin"?(Vp(),ns=i,is=s,ns.attachEvent("onpropertychange",Bp)):e==="focusout"&&Vp()}function PE(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Vl(is)}function UE(e,i){if(e==="click")return Vl(i)}function HE(e,i){if(e==="input"||e==="change")return Vl(i)}function qE(e,i){return e===i&&(e!==0||1/e===1/i)||e!==e&&i!==i}var Ze=typeof Object.is=="function"?Object.is:qE;function rs(e,i){if(Ze(e,i))return!0;if(typeof e!="object"||e===null||typeof i!="object"||i===null)return!1;var s=Object.keys(e),o=Object.keys(i);if(s.length!==o.length)return!1;for(o=0;o<s.length;o++){var f=s[o];if(!_r.call(i,f)||!Ze(e[f],i[f]))return!1}return!0}function Pp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Up(e,i){var s=Pp(e);e=0;for(var o;s;){if(s.nodeType===3){if(o=e+s.textContent.length,e<=i&&o>=i)return{node:s,offset:i-e};e=o}t:{for(;s;){if(s.nextSibling){s=s.nextSibling;break t}s=s.parentNode}s=void 0}s=Pp(s)}}function Hp(e,i){return e&&i?e===i?!0:e&&e.nodeType===3?!1:i&&i.nodeType===3?Hp(e,i.parentNode):"contains"in e?e.contains(i):e.compareDocumentPosition?!!(e.compareDocumentPosition(i)&16):!1:!1}function qp(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var i=Ol(e.document);i instanceof e.HTMLIFrameElement;){try{var s=typeof i.contentWindow.location.href=="string"}catch{s=!1}if(s)e=i.contentWindow;else break;i=Ol(e.document)}return i}function hc(e){var i=e&&e.nodeName&&e.nodeName.toLowerCase();return i&&(i==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||i==="textarea"||e.contentEditable==="true")}var FE=ti&&"documentMode"in document&&11>=document.documentMode,Xr=null,mc=null,as=null,pc=!1;function Fp(e,i,s){var o=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;pc||Xr==null||Xr!==Ol(o)||(o=Xr,"selectionStart"in o&&hc(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focu
vendor: 18,953 bytes, line 8
8sNode:o.focusNode,focusOffset:o.focusOffset}),as&&rs(as,o)||(as=o,o=Co(mc,"onSelect"),0<o.length&&(i=new _l("onSelect","select",null,i,s),e.push({event:i,listeners:o}),i.target=Xr)))}function lr(e,i){var s={};return s[e.toLowerCase()]=i.toLowerCase(),s["Webkit"+e]="webkit"+i,s["Moz"+e]="moz"+i,s}var Qr={animationend:lr("Animation","AnimationEnd"),animationiteration:lr("Animation","AnimationIteration"),animationstart:lr("Animation","AnimationStart"),transitionrun:lr("Transition","TransitionRun"),transitionstart:lr("Transition","TransitionStart"),transitioncancel:lr("Transition","TransitionCancel"),transitionend:lr("Transition","TransitionEnd")},gc={},Yp={};ti&&(Yp=document.createElement("div").style,"AnimationEvent"in window||(delete Qr.animationend.animation,delete Qr.animationiteration.animation,delete Qr.animationstart.animation),"TransitionEvent"in window||delete Qr.transitionend.transition);function or(e){if(gc[e])return gc[e];if(!Qr[e])return e;var i=Qr[e],s;for(s in i)if(i.hasOwnProperty(s)&&s in Yp)return gc[e]=i[s];return e}var Ip=or("animationend"),Gp=or("animationiteration"),Xp=or("animationstart"),YE=or("transitionrun"),IE=or("transitionstart"),GE=or("transitioncancel"),Qp=or("transitionend"),Kp=new Map,yc="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");yc.push("scrollEnd");function An(e,i){Kp.set(e,i),ar(i,[e])}var Bl=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},fn=[],Kr=0,vc=0;function Pl(){for(var e=Kr,i=vc=Kr=0;i<e;){var s=fn[i];fn[i++]=null;var o=fn[i];fn[i++]=null;var f=fn[i];fn[i++]=null;var p=fn[i];if(fn[i++]=null,o!==null&&f!==null){var b=o.pending;b===null?f.next=f:(f.next=b.next,b.next=f),o.pending=f}p!==0&&Zp(s,f,p)}}function Ul(e,i,s,o){fn[Kr++]=e,fn[Kr++]=i,fn[Kr++]=s,fn[Kr++]=o,vc|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function xc(e,i,s,o){return Ul(e,i,s,o),Hl(e)}function ur(e,i){return Ul(e,null,null,i),Hl(e)}function Zp(e,i,s){e.lanes|=s;var o=e.alternate;o!==null&&(o.lanes|=s);for(var f=!1,p=e.return;p!==null;)p.childLanes|=s,o=p.alternate,o!==null&&(o.childLanes|=s),p.tag===22&&(e=p.stateNode,e===null||e._visibility&1||(f=!0)),e=p,p=p.return;return e.tag===3?(p=e.stateNode,f&&i!==null&&(f=31-It(s),e=p.hiddenUpdates,o=e[f],o===null?e[f]=[i]:o.push(i),i.lane=s|536870912),p):null}function Hl(e){if(50<Ns)throw Ns=0,Mf=null,Error(a(185));for(var i=e.return;i!==null;)e=i,i=e.return;return e.tag===3?e.stateNode:null}var Zr={};function XE(e,i,s,o){this.tag=e,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function We(e,i,s,o){return new XE(e,i,s,o)}function bc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ei(e,i){var s=e.alternate;return s===null?(s=We(e.tag,i,e.key,e.mode),s.elementType=e.elementType,s.type=e.type,s.stateNode=e.stateNode,s.alternate=e,e.alternate=s):(s.pendingProps=i,s.type=e.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=e.flags&65011712,s.childLanes=e.childLanes,s.lanes=e.lanes,s.child=e.child,s.memoizedProps=e.memoizedProps,s.memoizedState=e.memoizedState,s.updateQueue=e.updateQueue,i=e.dependencies,s.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},s.sibling=e.sibling,s.index=e.index,s.ref=e.ref,s.refCleanup=e.refCleanup,s}function Wp(e,i){e.flags&=65011714;var s=e.alternate;return s===null?(e.childLanes=0,e.lanes=i,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=s.childLanes,e.lanes=s.lanes,e.child=s.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=s.memoizedProps,e.memoizedState=s.memoizedState,e.updateQueue=s.updateQueue,e.type=s.type,i=s.dependencies,e.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),e}function ql(e,i,s,o,f,p){var b=0;if(o=e,typeof e=="function")bc(e)&&(b=1);else if(typeof e=="string")b=JA(e,s,it.current)?26:e==="html"||e==="head"||e==="body"?27:5;else t:switch(e){case at:return e=We(31,s,i,f),e.elementType=at,e.lanes=p,e;case A:return cr(s.children,f,p,i);case N:b=8,f|=24;break;case k:return e=We(12,s,i,f|2),e.elementType=k,e.lanes=p,e;case H:return e=We(13,s,i,f),e.elementType=H,e.lanes=p,e;case z:return e=We(19,s,i,f),e.elementType=z,e.lanes=p,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case j:b=10;break t;case _:b=9;break t;case F:b=11;break t;case I:b=14;break t;case Y:b=16,o=null;break t}b=29,s=Error(a(130,e===null?"null":typeof e,"")),o=null}return i=We(b,s,i,f),i.elementType=e,i.type=o,i.lanes=p,i}function cr(e,i,s,o){return e=We(7,e,o,i),e.lanes=s,e}function Sc(e,i,s){return e=We(6,e,null,i),e.lanes=s,e}function Jp(e){var i=We(18,null,null,0);return i.stateNode=e,i}function wc(e,i,s){return i=We(4,e.children!==null?e.children:[],e.key,i),i.lanes=s,i.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},i}var $p=new WeakMap;function dn(e,i){if(typeof e=="object"&&e!==null){var s=$p.get(e);return s!==void 0?s:(i={value:e,source:i,stack:Tl(i)},$p.set(e,i),i)}return{value:e,source:i,stack:Tl(i)}}var Wr=[],Jr=0,Fl=null,ss=0,hn=[],mn=0,Ai=null,_n=1,Ln="";function ni(e,i){Wr[Jr++]=ss,Wr[Jr++]=Fl,Fl=e,ss=i}function tg(e,i,s){hn[mn++]=_n,hn[mn++]=Ln,hn[mn++]=Ai,Ai=e;var o=_n;e=Ln;var f=32-It(o)-1;o&=~(1<<f),s+=1;var p=32-It(i)+f;if(30<p){var b=f-f%5;p=(o&(1<<b)-1).toString(32),o>>=b,f-=b,_n=1<<32-It(i)+f|s<<f|o,Ln=p+e}else _n=1<<p|s<<f|o,Ln=e}function Tc(e){e.return!==null&&(ni(e,1),tg(e,1,0))}function Ec(e){for(;e===Fl;)Fl=Wr[--Jr],Wr[Jr]=null,ss=Wr[--Jr],Wr[Jr]=null;for(;e===Ai;)Ai=hn[--mn],hn[mn]=null,Ln=hn[--mn],hn[mn]=null,_n=hn[--mn],hn[mn]=null}function eg(e,i){hn[mn++]=_n,hn[mn++]=Ln,hn[mn++]=Ai,_n=i.id,Ln=i.overflow,Ai=e}var Se=null,Kt=null,Rt=!1,Ci=null,pn=!1,Ac=Error(a(519));function Ni(e){var i=Error(a(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ls(dn(i,e)),Ac}function ng(e){var i=e.stateNode,s=e.type,o=e.memoizedProps;switch(i[be]=e,i[Le]=o,s){case"dialog":Mt("cancel",i),Mt("close",i);break;case"iframe":case"object":case"embed":Mt("load",i);break;case"video":case"audio":for(s=0;s<Ms.length;s++)Mt(Ms[s],i);break;case"source":Mt("error",i);break;case"img":case"image":case"link":Mt("error",i),Mt("load",i);break;case"details":Mt("toggle",i);break;case"input":Mt("invalid",i),pp(i,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"select":Mt("invalid",i);break;case"textarea":Mt("invalid",i),yp(i,o.value,o.defaultValue,o.children)}s=o.children,typeof s!="string"&&typeof s!="number"&&typeof s!="bigint"||i.textContent===""+s||o.suppressHydrationWarning===!0||xv(i.textContent,s)?(o.popover!=null&&(Mt("beforetoggle",i),Mt("toggle",i)),o.onScroll!=null&&Mt("scroll",i),o.onScrollEnd!=null&&Mt("scrollend",i),o.onClick!=null&&(i.onclick=$n),i=!0):i=!1,i||Ni(e,!0)}function ig(e){for(Se=e.return;Se;)switch(Se.tag){case 5:case 31:case 13:pn=!1;return;case 27:case 3:pn=!0;return;default:Se=Se.return}}function $r(e){if(e!==Se)return!1;if(!Rt)return ig(e),Rt=!0,!1;var i=e.tag,s;if((s=i!==3&&i!==27)&&((s=i===5)&&(s=e.type,s=!(s!=="form"&&s!=="button")||Yf(e.type,e.memoizedProps)),s=!s),s&&Kt&&Ni(e),ig(e),i===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(a(317));Kt=kv(e)}else if(i===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(a(317));Kt=kv(e)}else i===27?(i=Kt,Hi(e.type)?(e=Kf,Kf=null,Kt=e):Kt=i):Kt=Se?yn(e.stateNode.nextSibling):null;return!0}function fr(){Kt=Se=null,Rt=!1}function Cc(){var e=Ci;return e!==null&&(He===null?He=e:He.push.apply(He,e),Ci=null),e}function ls(e){Ci===null?Ci=[e]:Ci.push(e)}var Nc=D(null),dr=null,ii=null;function ki(e,i,s){T(Nc,i._currentValue),i._currentValue=s}function ri(e){e._currentValue=Nc.current,Q(Nc)}function kc(e,i,s){for(;e!==null;){var o=e.alternate;if((e.childLanes&i)!==i?(e.childLanes|=i,o!==null&&(o.childLanes|=i)):o!==null&&(o.childLanes&i)!==i&&(o.childLanes|=i),e===s)break;e=e.return}}function Mc(e,i,s,o){var f=e.child;for(f!==null&&(f.return=e);f!==null;){var p=f.dependencies;if(p!==null){var b=f.child;p=p.firstContext;t:for(;p!==null;){var w=p;p=f;for(var O=0;O<i.length;O++)if(w.context===i[O]){p.lanes|=s,w=p.alternate,w!==null&&(w.lanes|=s),kc(p.return,s,e),o||(b=null);break t}p=w.next}}else if(f.tag===18){if(b=f.return,b===null)throw Error(a(341));b.lanes|=s,p=b.alternate,p!==null&&(p.lanes|=s),kc(b,s,e),b=null}else b=f.child;if(b!==null)b.return=f;else for(b=f;b!==null;){if(b===e){b=null;break}if(f=b.sibling,f!==null){f.return=b.return,b=f;break}b=b.return}f=b}}function ta(e,i,s,o){e=null;for(var f=i,p=!1;f!==null;){if(!p){if((f.flags&524288)!==0)p=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var b=f.alternate;if(b===null)throw Error(a(387));if(b=b.memoizedProps,b!==null){var w=f.type;Ze(f.pendingProps.value,b.value)||(e!==null?e.push(w):e=[w])}}else if(f===ht.current){if(b=f.alternate,b===null)throw Error(a(387));b.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(e!==null?e.push(zs):e=[zs])}f=f.return}e!==null&&Mc(i,e,s,o),i.flags|=262144}function Yl(e){for(e=e.firstContext;e!==null;){if(!Ze(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function hr(e){dr=e,ii=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function we(e){return rg(dr,e)}function Il(e,i){return dr===null&&hr(e),rg(e,i)}function rg(e,i){var s=i._currentValue;if(i={context:i,memoizedValue:s,next:null},ii===null){if(e===null)throw Error(a(308));ii=i,e.dependencies={lanes:0,firstContext:i},e.flags|=524288}else ii=ii.next=i;return s}var QE=typeof AbortController<"u"?AbortController:function(){var e=[],i=this.signal={aborted:!1,addEventListener:function(s,o){e.push(o)}};this.abort=function(){i.aborted=!0,e.forEach(function(s){return s()})}},KE=t.unstable_scheduleCallback,ZE=t.unstable_NormalPriority,se={$$typeof:j,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Oc(){return{controller:new QE,data:new Map,refCount:0}}function os(e){e.refCount--,e.refCount===0&&KE(ZE,function(){e.controller.abort()})}var us=null,jc=0,ea=0,na=null;function WE(e,i){if(us===null){var s=us=[];jc=0,ea=_f(),na={status:"pending",value:void 0,then:function(o){s.push(o)}}}return jc++,i.then(ag,ag),i}function ag(){if(--jc===0&&us!==null){na!==null&&(na.status="fulfilled");var e=us;us=null,ea=0,na=null;for(var i=0;i<e.length;i++)(0,e[i])()}}function JE(e,i){var s=[],o={status:"pending",value:null,reason:null,then:function(f){s.push(f)}};return e.then(function(){o.status="fulfilled",o.value=i;for(var f=0;f<s.length;f++)(0,s[f])(i)},function(f){for(o.status="rejected",o.reason=f,f=0;f<s.length;f++)(0,s[f])(void 0)}),o}var sg=L.S;L.S=function(e,i){Fy=Oe(),typeof i=="object"&&i!==null&&typeof i.then=="function"&&WE(e,i),sg!==null&&sg(e,i)};var mr=D(null);function Dc(){var e=mr.current;return e!==null?e:Gt.pooledCache}function Gl(e,i){i===null?T(mr,mr.current):T(mr,i.pool)}function lg(){var e=Dc();return e===null?null:{parent:se._currentValue,pool:e}}var ia=Error(a(460)),Rc=Error(a(474)),Xl=Error(a(542)),Ql={then:function(){}};function og(e){return e=e.status,e==="fulfilled"||e==="rejected"}function ug(e,i,s){switch(s=e[s],s===void 0?e.push(i):s!==i&&(i.then($n,$n),i=s),i.status){case"fulfilled":return i.value;case"rejected":throw e=i.reason,fg(e),e;default:if(typeof i.status=="string")i.then($n,$n);else{if(e=Gt,e!==null&&100<e.shellSuspendCounter)throw Error(a(482));e=i,e.status="pending",e.then(function(o){if(i.status==="pending"){var f=i;f.status="fulfilled",f.value=o}},function(o){if(i.status==="pending"){var f=i;f.status="rejected",f.reason=o}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw e=i.reason,fg(e),e}throw gr=i,ia}}function pr(e){try{var i=e._init;return i(e._payload)}catch(s){throw s!==null&&typeof s=="object"&&typeof s.then=="function"?(gr=s,ia):s}}var gr=null;function cg(){if(gr===null)throw Error(a(459));var e=gr;return gr=null,e}function fg(e){if(e===ia||e===Xl)throw Error(a(483))}var ra=null,cs=0;function Kl(e){var i=cs;return cs+=1,ra===null&&(ra=[]),ug(ra,e,i)}function fs(e,i){i=i.props.ref,e.ref=i!==void 0?i:null}function Zl(e,i){throw i.$$typeof===x?Error(a(525)):(e=Object.prototype.toString.call(i),Error(a(31,e==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":e)))}function dg(e){function i(V,R){if(e){var P=V.deletions;P===null?(V.deletions=[R],V.flags|=16):P.push(R)}}function s(V,R){if(!e)return null;for(;R!==null;)i(V,R),R=R.sibling;return null}function o(V){for(var R=new Map;V!==null;)V.key!==null?R.set(V.key,V):R.set(V.index,V),V=V.sibling;return R}function f(V,R){return V=ei(V,R),V.index=0,V.sibling=null,V}function p(V,R,P){return V.index=P,e?(P=V.alternate,P!==null?(P=P.index,P<R?(V.flags|=67108866,R):P):(V.flags|=67108866,R)):(V.flags|=1048576,R)}function b(V){return e&&V.alternate===null&&(V.flags|=67108866),V}function w(V,R,P,J){return R===null||R.tag!==6?(R=Sc(P,V.mode,J),R.return=V,R):(R=f(R,P),R.return=V,R)}function O(V,R,P,J){var yt=P.type;return yt===A?K(V,R,P.props.children,J,P.key):R!==null&&(R.elementType===yt||typeof yt=="object"&&yt!==null&&yt.$$typeof===Y&&pr(yt)===R.type)?(R=f(R,P.props),fs(R,P),R.return=V,R):(R=ql(P.type,P.key,P.props,null,V.mode,J),fs(R,P),R.return=V,R)}function U(V,R,P,J){return R===null||R.tag!==4||R.stateNode.containerInfo!==P.containerInfo||R.stateNode.implementation!==P.implementation?(R=wc(P,V.mode,J),R.return=V,R):(R=f(R,P.children||[]),R.return=V,R)}function K(V,R,P,J,yt){return R===null||R.tag!==7?(R=cr(P,V.mode,J,yt),R.return=V,R):(R=f(R,P),R.return=V,R)}function tt(V,R,P){if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return R=Sc(""+R,V.mode,P),R.return=V,R;if(typeof R=="object"&&R!==null){switch(R.$$typeof){case S:return P=ql(R.type,R.key,R.props,null,V.mode,P),fs(P,R),P.return=V,P;case E:return R=wc(R,V.mode,P),R.return=V,R;case Y:return R=pr(R),tt(V,R,P)}if($(R)||nt(R))return R=cr(R,V.mode,P,null),R.return=V,R;if(typeof R.then=="function")return tt(V,Kl(R),P);if(R.$$typeof===j)return tt(V,Il(V,R),P);Zl(V,R)}return null}function q(V,R,P,J){var yt=R!==null?R.key:null;if(typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint")return yt!==null?null:w(V,R,""+P,J);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case S:return P.key===yt?O(V,R,P,J):null;case E:return P.key===yt?U(V,R,P,J):null;case Y:return P=pr(P),q(V,R,P,J)}if($(P)||nt(P))return yt!==null?null:K(V,R,P,J,null);if(typeof P.then=="function")return q(V,R,Kl(P),J);if(P.$$typeof===j)return q(V,R,Il(V,P),J);Zl(V,P)}return null}function X(V,R,P,J,yt){if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return V=V.get(P)||null,w(R,V,""+J,yt);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case S:return V=V.get(J.key===null?P:J.key)||null,O(R,V,J,yt);case E:return V=V.get(J.key===null?P:J.key)||null,U(R,V,J,yt);case Y:return J=pr(J),X(V,R,P,J,yt)}if($(J)||nt(J))return V=V.get(P)||null,K(R,V,J,yt,null);if(typeof J.then=="function")return X(V,R,P,Kl(J),yt);if(J.$$typeof===j)return X(V,R,P,Il(R,J),yt);Zl(R,J)}return null}function ut(V,R,P,J){for(var yt=null,zt=null,mt=R,At=R=0,jt=null;mt!==null&&At<P.length;At++){mt.index>At?(jt=mt,mt=null):jt=mt.sibling;var _t=q(V,mt,P[At],J);if(_t===null){mt===null&&(mt=jt);break}e&&mt&&_t.alternate===null&&i(V,mt),R=p(_t,R,At),zt===null?yt=_t:zt.sibling=_t,zt=_t,mt=jt}if(At===P.length)return s(V,mt),Rt&&ni(V,At),yt;if(mt===null){for(;At<P.length;At++)mt=tt(V,P[At],J),mt!==null&&(R=p(mt,R,At),zt===null?yt=mt:zt.sibling=mt,zt=mt);return Rt&&ni(V,At),yt}for(mt=o(mt);At<P.length;At++)jt=X(mt,V,At,P[At],J),jt!==null&&(e&&jt.alternate!==null&&mt.delete(jt.key===null?At:jt.key),R=p(jt,R,At),zt===null?yt=jt:zt.sibling=jt,zt=jt);return e&&mt.forEach(function(Gi){return i(V,Gi)}),Rt&&ni(V,At),yt}function vt(V,R,P,J){if(P==null)throw Error(a(151));for(var yt=null,zt=null,mt=R,At=R=0,jt=null,_t=P.next();mt!==null&&!_t.done;At++,_t=P.next()){mt.index>At?(jt=mt,mt=null):jt=mt.sibling;var Gi=q(V,mt,_t.value,J);if(Gi===null){mt===null&&(mt=jt);break}e&&mt&&Gi.alternate===null&&i(V,mt),R=p(Gi,R,At),zt===null?yt=Gi:zt.sibling=Gi,zt=Gi,mt=jt}if(_t.done)return s(V,mt),Rt&&ni(V,At),yt;if(mt===null){for(;!_t.done;At++,_t=P.next())_t=tt(V,_t.value,J),_t!==null&&(R=p(_t,R,At),zt===null?yt=_t:zt.sibling=_t,zt=_t);return Rt&&ni(V,At),yt}for(mt=o(mt);!_t.done;At++,_t=P.next())_t=X(mt,V,At,_t.value,J),_t!==null&&(e&&_t.alternate!==null&&mt.delete(_t.key===null?At:_t.key),R=p(_t,R,At),zt===null?yt=_t:zt.sibling=_t,zt=_t);return e&&mt.forEach(function(uC){return i(V,uC)}),Rt&&ni(V,At),yt}function Yt(V,R,P,J){if(typeof P=="object"&&P!==null&&P.type===A&&P.key===null&&(P=P.props.children),typeof P=="object"&&P!==null){switch(P.$$typeof){case S:t:{for(var yt=P.key;R!==null;){if(R.key===yt){if(yt=P.type,yt===A){if(R.tag===7){s(V,R.sibling),J=f(R,P.props.children),J.return=V,V=J;break t}}else if(R.elementType===yt||typeof yt=="object"&&yt!==null&&yt.$$typeof===Y&&pr(yt)===R.type){s(V,R.sibling),J=f(R,P.props),fs(J,P),J.return=V,V=J;break t}s(V,R);break}else i(V,R);R=R.sibling}P.type===A?(J=cr(P.props.children,V.mode,J,P.key),J.return=V,V=J):(J=ql(P.type,P.key,P.props,null,V.mode,J),fs(J,P),J.return=V,V=J)}return b(V);case E:t:{for(yt=P.key;R!==null;){if(R.key===yt)if(R.tag===4&&R.stateNode.containerInfo===P.containerInfo&&R.stateNode.implementation===P.implementation){s(V,R.sibling),J=f(R,P.children||[]),J.return=V,V=J;break t}else{s(V,R);break}else i(V,R);R=R.sibling}J=wc(P,V.mode,J),J.return=V,V=J}return b(V);case Y:return P=pr(P),Yt(V,R,P,J)}if($(P))return ut(V,R,P,J);if(nt(P)){if(yt=nt(P),typeof yt!="function")throw Error(a(150));return P=yt.call(P),vt(V,R,P,J)}if(typeof P.then=="function")return Yt(V,R,Kl(P),J);
vendor: 4,620 bytes, line 8
8if(P.$$typeof===j)return Yt(V,R,Il(V,P),J);Zl(V,P)}return typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint"?(P=""+P,R!==null&&R.tag===6?(s(V,R.sibling),J=f(R,P),J.return=V,V=J):(s(V,R),J=Sc(P,V.mode,J),J.return=V,V=J),b(V)):s(V,R)}return function(V,R,P,J){try{cs=0;var yt=Yt(V,R,P,J);return ra=null,yt}catch(mt){if(mt===ia||mt===Xl)throw mt;var zt=We(29,mt,null,V.mode);return zt.lanes=J,zt.return=V,zt}finally{}}}var yr=dg(!0),hg=dg(!1),Mi=!1;function zc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function _c(e,i){e=e.updateQueue,i.updateQueue===e&&(i.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Oi(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ji(e,i,s){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,(Lt&2)!==0){var f=o.pending;return f===null?i.next=i:(i.next=f.next,f.next=i),o.pending=i,i=Hl(e),Zp(e,null,s),i}return Ul(e,o,i,s),Hl(e)}function ds(e,i,s){if(i=i.updateQueue,i!==null&&(i=i.shared,(s&4194048)!==0)){var o=i.lanes;o&=e.pendingLanes,s|=o,i.lanes=s,rp(e,s)}}function Lc(e,i){var s=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,s===o)){var f=null,p=null;if(s=s.firstBaseUpdate,s!==null){do{var b={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};p===null?f=p=b:p=p.next=b,s=s.next}while(s!==null);p===null?f=p=i:p=p.next=i}else f=p=i;s={baseState:o.baseState,firstBaseUpdate:f,lastBaseUpdate:p,shared:o.shared,callbacks:o.callbacks},e.updateQueue=s;return}e=s.lastBaseUpdate,e===null?s.firstBaseUpdate=i:e.next=i,s.lastBaseUpdate=i}var Vc=!1;function hs(){if(Vc){var e=na;if(e!==null)throw e}}function ms(e,i,s,o){Vc=!1;var f=e.updateQueue;Mi=!1;var p=f.firstBaseUpdate,b=f.lastBaseUpdate,w=f.shared.pending;if(w!==null){f.shared.pending=null;var O=w,U=O.next;O.next=null,b===null?p=U:b.next=U,b=O;var K=e.alternate;K!==null&&(K=K.updateQueue,w=K.lastBaseUpdate,w!==b&&(w===null?K.firstBaseUpdate=U:w.next=U,K.lastBaseUpdate=O))}if(p!==null){var tt=f.baseState;b=0,K=U=O=null,w=p;do{var q=w.lane&-536870913,X=q!==w.lane;if(X?(Ot&q)===q:(o&q)===q){q!==0&&q===ea&&(Vc=!0),K!==null&&(K=K.next={lane:0,tag:w.tag,payload:w.payload,callback:null,next:null});t:{var ut=e,vt=w;q=i;var Yt=s;switch(vt.tag){case 1:if(ut=vt.payload,typeof ut=="function"){tt=ut.call(Yt,tt,q);break t}tt=ut;break t;case 3:ut.flags=ut.flags&-65537|128;case 0:if(ut=vt.payload,q=typeof ut=="function"?ut.call(Yt,tt,q):ut,q==null)break t;tt=y({},tt,q);break t;case 2:Mi=!0}}q=w.callback,q!==null&&(e.flags|=64,X&&(e.flags|=8192),X=f.callbacks,X===null?f.callbacks=[q]:X.push(q))}else X={lane:q,tag:w.tag,payload:w.payload,callback:w.callback,next:null},K===null?(U=K=X,O=tt):K=K.next=X,b|=q;if(w=w.next,w===null){if(w=f.shared.pending,w===null)break;X=w,w=X.next,X.next=null,f.lastBaseUpdate=X,f.shared.pending=null}}while(!0);K===null&&(O=tt),f.baseState=O,f.firstBaseUpdate=U,f.lastBaseUpdate=K,p===null&&(f.shared.lanes=0),Li|=b,e.lanes=b,e.memoizedState=tt}}function mg(e,i){if(typeof e!="function")throw Error(a(191,e));e.call(i)}function pg(e,i){var s=e.callbacks;if(s!==null)for(e.callbacks=null,e=0;e<s.length;e++)mg(s[e],i)}var aa=D(null),Wl=D(0);function gg(e,i){e=hi,T(Wl,e),T(aa,i),hi=e|i.baseLanes}function Bc(){T(Wl,hi),T(aa,aa.current)}function Pc(){hi=Wl.current,Q(aa),Q(Wl)}var Je=D(null),gn=null;function Di(e){var i=e.alternate;T(re,re.current&1),T(Je,e),gn===null&&(i===null||aa.current!==null||i.memoizedState!==null)&&(gn=e)}function Uc(e){T(re,re.current),T(Je,e),gn===null&&(gn=e)}function yg(e){e.tag===22?(T(re,re.current),T(Je,e),gn===null&&(gn=e)):Ri()}function Ri(){T(re,re.current),T(Je,Je.current)}function $e(e){Q(Je),gn===e&&(gn=null),Q(re)}var re=D(0);function Jl(e){for(var i=e;i!==null;){if(i.tag===13){var s=i.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||Xf(s)||Qf(s)))return i}else if(i.tag===19&&(i.memoizedProps.revealOrder==="forwards"||i.memoizedProps.revealOrder==="backwards"||i.memoizedProps.revealOrder==="unstable_legacy-backwards"||i.memoizedProps.revealOrder==="together")){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)break;for(;i.sibling===null;){if(i.return===null||i.return===e)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var ai=0,Et=null,qt=null,le=null,$l=!1,sa=!1,vr=!1,to=0,ps=0,la=null,$E=0;function ee(){throw Error(a(321))}function Hc(e,i){if(i===null)return!1;for(var s=0;s<i.length&&s<e.length;
vendor: 20,266 bytes, line 8
8s++)if(!Ze(e[s],i[s]))return!1;return!0}function qc(e,i,s,o,f,p){return ai=p,Et=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,L.H=e===null||e.memoizedState===null?ty:rf,vr=!1,p=s(o,f),vr=!1,sa&&(p=xg(i,s,o,f)),vg(e),p}function vg(e){L.H=vs;var i=qt!==null&&qt.next!==null;if(ai=0,le=qt=Et=null,$l=!1,ps=0,la=null,i)throw Error(a(300));e===null||oe||(e=e.dependencies,e!==null&&Yl(e)&&(oe=!0))}function xg(e,i,s,o){Et=e;var f=0;do{if(sa&&(la=null),ps=0,sa=!1,25<=f)throw Error(a(301));if(f+=1,le=qt=null,e.updateQueue!=null){var p=e.updateQueue;p.lastEffect=null,p.events=null,p.stores=null,p.memoCache!=null&&(p.memoCache.index=0)}L.H=ey,p=i(s,o)}while(sa);return p}function tA(){var e=L.H,i=e.useState()[0];return i=typeof i.then=="function"?gs(i):i,e=e.useState()[0],(qt!==null?qt.memoizedState:null)!==e&&(Et.flags|=1024),i}function Fc(){var e=to!==0;return to=0,e}function Yc(e,i,s){i.updateQueue=e.updateQueue,i.flags&=-2053,e.lanes&=~s}function Ic(e){if($l){for(e=e.memoizedState;e!==null;){var i=e.queue;i!==null&&(i.pending=null),e=e.next}$l=!1}ai=0,le=qt=Et=null,sa=!1,ps=to=0,la=null}function De(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return le===null?Et.memoizedState=le=e:le=le.next=e,le}function ae(){if(qt===null){var e=Et.alternate;e=e!==null?e.memoizedState:null}else e=qt.next;var i=le===null?Et.memoizedState:le.next;if(i!==null)le=i,qt=e;else{if(e===null)throw Et.alternate===null?Error(a(467)):Error(a(310));qt=e,e={memoizedState:qt.memoizedState,baseState:qt.baseState,baseQueue:qt.baseQueue,queue:qt.queue,next:null},le===null?Et.memoizedState=le=e:le=le.next=e}return le}function eo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function gs(e){var i=ps;return ps+=1,la===null&&(la=[]),e=ug(la,e,i),i=Et,(le===null?i.memoizedState:le.next)===null&&(i=i.alternate,L.H=i===null||i.memoizedState===null?ty:rf),e}function no(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return gs(e);if(e.$$typeof===j)return we(e)}throw Error(a(438,String(e)))}function Gc(e){var i=null,s=Et.updateQueue;if(s!==null&&(i=s.memoCache),i==null){var o=Et.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(i={data:o.data.map(function(f){return f.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),s===null&&(s=eo(),Et.updateQueue=s),s.memoCache=i,s=i.data[i.index],s===void 0)for(s=i.data[i.index]=Array(e),o=0;o<e;o++)s[o]=lt;return i.index++,s}function si(e,i){return typeof i=="function"?i(e):i}function io(e){var i=ae();return Xc(i,qt,e)}function Xc(e,i,s){var o=e.queue;if(o===null)throw Error(a(311));o.lastRenderedReducer=s;var f=e.baseQueue,p=o.pending;if(p!==null){if(f!==null){var b=f.next;f.next=p.next,p.next=b}i.baseQueue=f=p,o.pending=null}if(p=e.baseState,f===null)e.memoizedState=p;else{i=f.next;var w=b=null,O=null,U=i,K=!1;do{var tt=U.lane&-536870913;if(tt!==U.lane?(Ot&tt)===tt:(ai&tt)===tt){var q=U.revertLane;if(q===0)O!==null&&(O=O.next={lane:0,revertLane:0,gesture:null,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null}),tt===ea&&(K=!0);else if((ai&q)===q){U=U.next,q===ea&&(K=!0);continue}else tt={lane:0,revertLane:U.revertLane,gesture:null,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},O===null?(w=O=tt,b=p):O=O.next=tt,Et.lanes|=q,Li|=q;tt=U.action,vr&&s(p,tt),p=U.hasEagerState?U.eagerState:s(p,tt)}else q={lane:tt,revertLane:U.revertLane,gesture:U.gesture,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},O===null?(w=O=q,b=p):O=O.next=q,Et.lanes|=tt,Li|=tt;U=U.next}while(U!==null&&U!==i);if(O===null?b=p:O.next=w,!Ze(p,e.memoizedState)&&(oe=!0,K&&(s=na,s!==null)))throw s;e.memoizedState=p,e.baseState=b,e.baseQueue=O,o.lastRenderedState=p}return f===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function Qc(e){var i=ae(),s=i.queue;if(s===null)throw Error(a(311));s.lastRenderedReducer=e;var o=s.dispatch,f=s.pending,p=i.memoizedState;if(f!==null){s.pending=null;var b=f=f.next;do p=e(p,b.action),b=b.next;while(b!==f);Ze(p,i.memoizedState)||(oe=!0),i.memoizedState=p,i.baseQueue===null&&(i.baseState=p),s.lastRenderedState=p}return[p,o]}function bg(e,i,s){var o=Et,f=ae(),p=Rt;if(p){if(s===void 0)throw Error(a(407));s=s()}else s=i();var b=!Ze((qt||f).memoizedState,s);if(b&&(f.memoizedState=s,oe=!0),f=f.queue,Wc(Tg.bind(null,o,f,e),[e]),f.getSnapshot!==i||b||le!==null&&le.memoizedState.tag&1){if(o.flags|=2048,oa(9,{destroy:void 0},wg.bind(null,o,f,s,i),null),Gt===null)throw Error(a(349));p||(ai&127)!==0||Sg(o,i,s)}return s}function Sg(e,i,s){e.flags|=16384,e={getSnapshot:i,value:s},i=Et.updateQueue,i===null?(i=eo(),Et.updateQueue=i,i.stores=[e]):(s=i.stores,s===null?i.stores=[e]:s.push(e))}function wg(e,i,s,o){i.value=s,i.getSnapshot=o,Eg(i)&&Ag(e)}function Tg(e,i,s){return s(function(){Eg(i)&&Ag(e)})}function Eg(e){var i=e.getSnapshot;e=e.value;try{var s=i();return!Ze(e,s)}catch{return!0}}function Ag(e){var i=ur(e,2);i!==null&&qe(i,e,2)}function Kc(e){var i=De();if(typeof e=="function"){var s=e;if(e=s(),vr){_e(!0);try{s()}finally{_e(!1)}}}return i.memoizedState=i.baseState=e,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:si,lastRenderedState:e},i}function Cg(e,i,s,o){return e.baseState=s,Xc(e,qt,typeof o=="function"?o:si)}function eA(e,i,s,o,f){if(so(e))throw Error(a(485));if(e=i.action,e!==null){var p={payload:f,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(b){p.listeners.push(b)}};L.T!==null?s(!0):p.isTransition=!1,o(p),s=i.pending,s===null?(p.next=i.pending=p,Ng(i,p)):(p.next=s.next,i.pending=s.next=p)}}function Ng(e,i){var s=i.action,o=i.payload,f=e.state;if(i.isTransition){var p=L.T,b={};L.T=b;try{var w=s(f,o),O=L.S;O!==null&&O(b,w),kg(e,i,w)}catch(U){Zc(e,i,U)}finally{p!==null&&b.types!==null&&(p.types=b.types),L.T=p}}else try{p=s(f,o),kg(e,i,p)}catch(U){Zc(e,i,U)}}function kg(e,i,s){s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(function(o){Mg(e,i,o)},function(o){return Zc(e,i,o)}):Mg(e,i,s)}function Mg(e,i,s){i.status="fulfilled",i.value=s,Og(i),e.state=s,i=e.pending,i!==null&&(s=i.next,s===i?e.pending=null:(s=s.next,i.next=s,Ng(e,s)))}function Zc(e,i,s){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do i.status="rejected",i.reason=s,Og(i),i=i.next;while(i!==o)}e.action=null}function Og(e){e=e.listeners;for(var i=0;i<e.length;i++)(0,e[i])()}function jg(e,i){return i}function Dg(e,i){if(Rt){var s=Gt.formState;if(s!==null){t:{var o=Et;if(Rt){if(Kt){e:{for(var f=Kt,p=pn;f.nodeType!==8;){if(!p){f=null;break e}if(f=yn(f.nextSibling),f===null){f=null;break e}}p=f.data,f=p==="F!"||p==="F"?f:null}if(f){Kt=yn(f.nextSibling),o=f.data==="F!";break t}}Ni(o)}o=!1}o&&(i=s[0])}}return s=De(),s.memoizedState=s.baseState=i,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:jg,lastRenderedState:i},s.queue=o,s=Wg.bind(null,Et,o),o.dispatch=s,o=Kc(!1),p=nf.bind(null,Et,!1,o.queue),o=De(),f={state:i,dispatch:null,action:e,pending:null},o.queue=f,s=eA.bind(null,Et,f,p,s),f.dispatch=s,o.memoizedState=e,[i,s,!1]}function Rg(e){var i=ae();return zg(i,qt,e)}function zg(e,i,s){if(i=Xc(e,i,jg)[0],e=io(si)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var o=gs(i)}catch(b){throw b===ia?Xl:b}else o=i;i=ae();var f=i.queue,p=f.dispatch;return s!==i.memoizedState&&(Et.flags|=2048,oa(9,{destroy:void 0},nA.bind(null,f,s),null)),[o,p,e]}function nA(e,i){e.action=i}function _g(e){var i=ae(),s=qt;if(s!==null)return zg(i,s,e);ae(),i=i.memoizedState,s=ae();var o=s.queue.dispatch;return s.memoizedState=e,[i,o,!1]}function oa(e,i,s,o){return e={tag:e,create:s,deps:o,inst:i,next:null},i=Et.updateQueue,i===null&&(i=eo(),Et.updateQueue=i),s=i.lastEffect,s===null?i.lastEffect=e.next=e:(o=s.next,s.next=e,e.next=o,i.lastEffect=e),e}function Lg(){return ae().memoizedState}function ro(e,i,s,o){var f=De();Et.flags|=e,f.memoizedState=oa(1|i,{destroy:void 0},s,o===void 0?null:o)}function ao(e,i,s,o){var f=ae();o=o===void 0?null:o;var p=f.memoizedState.inst;qt!==null&&o!==null&&Hc(o,qt.memoizedState.deps)?f.memoizedState=oa(i,p,s,o):(Et.flags|=e,f.memoizedState=oa(1|i,p,s,o))}function Vg(e,i){ro(8390656,8,e,i)}function Wc(e,i){ao(2048,8,e,i)}function iA(e){Et.flags|=4;var i=Et.updateQueue;if(i===null)i=eo(),Et.updateQueue=i,i.events=[e];else{var s=i.events;s===null?i.events=[e]:s.push(e)}}function Bg(e){var i=ae().memoizedState;return iA({ref:i,nextImpl:e}),function(){if((Lt&2)!==0)throw Error(a(440));return i.impl.apply(void 0,arguments)}}function Pg(e,i){return ao(4,2,e,i)}function Ug(e,i){return ao(4,4,e,i)}function Hg(e,i){if(typeof i=="function"){e=e();var s=i(e);return function(){typeof s=="function"?s():i(null)}}if(i!=null)return e=e(),i.current=e,function(){i.current=null}}function qg(e,i,s){s=s!=null?s.concat([e]):null,ao(4,4,Hg.bind(null,i,e),s)}function Jc(){}function Fg(e,i){var s=ae();i=i===void 0?null:i;var o=s.memoizedState;return i!==null&&Hc(i,o[1])?o[0]:(s.memoizedState=[e,i],e)}function Yg(e,i){var s=ae();i=i===void 0?null:i;var o=s.memoizedState;if(i!==null&&Hc(i,o[1]))return o[0];if(o=e(),vr){_e(!0);try{e()}finally{_e(!1)}}return s.memoizedState=[o,i],o}function $c(e,i,s){return s===void 0||(ai&1073741824)!==0&&(Ot&261930)===0?e.memoizedState=i:(e.memoizedState=s,e=Iy(),Et.lanes|=e,Li|=e,s)}function Ig(e,i,s,o){return Ze(s,i)?s:aa.current!==null?(e=$c(e,s,o),Ze(e,i)||(oe=!0),e):(ai&42)===0||(ai&1073741824)!==0&&(Ot&261930)===0?(oe=!0,e.memoizedState=s):(e=Iy(),Et.lanes|=e,Li|=e,i)}function Gg(e,i,s,o,f){var p=G.p;G.p=p!==0&&8>p?p:8;var b=L.T,w={};L.T=w,nf(e,!1,i,s);try{var O=f(),U=L.S;if(U!==null&&U(w,O),O!==null&&typeof O=="object"&&typeof O.then=="function"){var K=JE(O,o);ys(e,i,K,nn(e))}else ys(e,i,o,nn(e))}catch(tt){ys(e,i,{then:function(){},status:"rejected",reason:tt},nn())}finally{G.p=p,b!==null&&w.types!==null&&(b.types=w.types),L.T=b}}function rA(){}function tf(e,i,s,o){if(e.tag!==5)throw Error(a(476));var f=Xg(e).queue;Gg(e,f,i,B,s===null?rA:function(){return Qg(e),s(o)})}function Xg(e){var i=e.memoizedState;if(i!==null)return i;i={memoizedState:B,baseState:B,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:si,lastRenderedState:B},next:null};var s={};return i.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:si,lastRenderedState:s},next:null},e.memoizedState=i,e=e.alternate,e!==null&&(e.memoizedState=i),i}function Qg(e){var i=Xg(e);i.next===null&&(i=e.alternate.memoizedState),ys(e,i.next.queue,{},nn())}function ef(){return we(zs)}function Kg(){return ae().memoizedState}function Zg(){return ae().memoizedState}function aA(e){for(var i=e.return;i!==null;){switch(i.tag){case 24:case 3:var s=nn();e=Oi(s);var o=ji(i,e,s);o!==null&&(qe(o,i,s),ds(o,i,s)),i={cache:Oc()},e.payload=i;return}i=i.return}}function sA(e,i,s){var o=nn();s={lane:o,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},so(e)?Jg(i,s):(s=xc(e,i,s,o),s!==null&&(qe(s,e,o),$g(s,i,o)))}function Wg(e,i,s){var o=nn();ys(e,i,s,o)}function ys(e,i,s,o){var f={lane:o,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null};if(so(e))Jg(i,f);else{var p=e.alternate;if(e.lanes===0&&(p===null||p.lanes===0)&&(p=i.lastRenderedReducer,p!==null))try{var b=i.lastRenderedState,w=p(b,s);if(f.hasEagerState=!0,f.eagerState=w,Ze(w,b))return Ul(e,i,f,0),Gt===null&&Pl(),!1}catch{}finally{}if(s=xc(e,i,f,o),s!==null)return qe(s,e,o),$g(s,i,o),!0}return!1}function nf(e,i,s,o){if(o={lane:2,revertLane:_f(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},so(e)){if(i)throw Error(a(479))}else i=xc(e,s,o,2),i!==null&&qe(i,e,2)}function so(e){var i=e.alternate;return e===Et||i!==null&&i===Et}function Jg(e,i){sa=$l=!0;var s=e.pending;s===null?i.next=i:(i.next=s.next,s.next=i),e.pending=i}function $g(e,i,s){if((s&4194048)!==0){var o=i.lanes;o&=e.pendingLanes,s|=o,i.lanes=s,rp(e,s)}}var vs={readContext:we,use:no,useCallback:ee,useContext:ee,useEffect:ee,useImperativeHandle:ee,useLayoutEffect:ee,useInsertionEffect:ee,useMemo:ee,useReducer:ee,useRef:ee,useState:ee,useDebugValue:ee,useDeferredValue:ee,useTransition:ee,useSyncExternalStore:ee,useId:ee,useHostTransitionStatus:ee,useFormState:ee,useActionState:ee,useOptimistic:ee,useMemoCache:ee,useCacheRefresh:ee};vs.useEffectEvent=ee;var ty={readContext:we,use:no,useCallback:function(e,i){return De().memoizedState=[e,i===void 0?null:i],e},useContext:we,useEffect:Vg,useImperativeHandle:function(e,i,s){s=s!=null?s.concat([e]):null,ro(4194308,4,Hg.bind(null,i,e),s)},useLayoutEffect:function(e,i){return ro(4194308,4,e,i)},useInsertionEffect:function(e,i){ro(4,2,e,i)},useMemo:function(e,i){var s=De();i=i===void 0?null:i;var o=e();if(vr){_e(!0);try{e()}finally{_e(!1)}}return s.memoizedState=[o,i],o},useReducer:function(e,i,s){var o=De();if(s!==void 0){var f=s(i);if(vr){_e(!0);try{s(i)}finally{_e(!1)}}}else f=i;return o.memoizedState=o.baseState=f,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:f},o.queue=e,e=e.dispatch=sA.bind(null,Et,e),[o.memoizedState,e]},useRef:function(e){var i=De();return e={current:e},i.memoizedState=e},useState:function(e){e=Kc(e);var i=e.queue,s=Wg.bind(null,Et,i);return i.dispatch=s,[e.memoizedState,s]},useDebugValue:Jc,useDeferredValue:function(e,i){var s=De();return $c(s,e,i)},useTransition:function(){var e=Kc(!1);return e=Gg.bind(null,Et,e.queue,!0,!1),De().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,i,s){var o=Et,f=De();if(Rt){if(s===void 0)throw Error(a(407));s=s()}else{if(s=i(),Gt===null)throw Error(a(349));(Ot&127)!==0||Sg(o,i,s)}f.memoizedState=s;var p={value:s,getSnapshot:i};return f.queue=p,Vg(Tg.bind(null,o,p,e),[e]),o.flags|=2048,oa(9,{destroy:void 0},wg.bind(null,o,p,s,i),null),s},useId:function(){var e=De(),i=Gt.identifierPrefix;if(Rt){var s=Ln,o=_n;s=(o&~(1<<32-It(o)-1)).toString(32)+s,i="_"+i+"R_"+s,s=to++,0<s&&(i+="H"+s.toString(32)),i+="_"}else s=$E++,i="_"+i+"r_"+s.toString(32)+"_";return e.memoizedState=i},useHostTransitionStatus:ef,useFormState:Dg,useActionState:Dg,useOptimistic:function(e){var i=De();i.memoizedState=i.baseState=e;var s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=s,i=nf.bind(null,Et,!0,s),s.dispatch=i,[e,i]},useMemoCache:Gc,useCacheRefresh:function(){return De().memoizedState=aA.bind(null,Et)},useEffectEvent:function(e){var i=De(),s={impl:e};return i.memoizedState=s,function(){if((Lt&2)!==0)throw Error(a(440));return s.impl.apply(void 0,arguments)}}},rf={readContext:we,use:no,useCallback:Fg,useContext:we,useEffect:Wc,useImperativeHandle:qg,useInsertionEffect:Pg,useLayoutEffect:Ug,useMemo:Yg,useReducer:io,useRef:Lg,useState:function(){return io(si)},useDebugValue:Jc,useDeferredValue:function(e,i){var s=ae();return Ig(s,qt.memoizedState,e,i)},useTransition:function(){var e=io(si)[0],i=ae().memoizedState;return[typeof e=="boolean"?e:gs(e),i]},useSyncExternalStore:bg,useId:Kg,useHostTransitionStatus:ef,useFormState:Rg,useActionState:Rg,useOptimistic:function(e,i){var s=ae();return Cg(s,qt,e,i)},useMemoCache:Gc,useCacheRefresh:Zg};rf.useEffectEvent=Bg;var ey={readContext:we,use:no,useCallback:Fg,useContext:we,useEffect:Wc,useImperativeHandle:qg,useInsertionEffect:Pg,useLayoutEffect:Ug,useMemo:Yg,useReducer:Qc,useRef:Lg,useState:function(){return Qc(si)},useDebugValue:Jc,useDeferredValue:function(e,i){var s=ae();return qt===null?$c(s,e,i):Ig(s,qt.memoizedState,e,i)},useTransition:function(){var e=Qc(si)[0],i=ae().memoizedState;return[typeof e=="boolean"?e:gs(e),i]},useSyncExternalStore:bg,useId:Kg,useHostTransitionStatus:ef,useFormState:_g,useActionState:_g,useOptimistic:function(e,i){var s=ae();return qt!==null?Cg(s,qt,e,i):(s.baseState=e,[e,s.queue.dispatch])},useMemoCache:Gc,useCacheRefresh:Zg};ey.useEffectEvent=Bg;function af(e,i,s,o){i=e.memoizedState,s=s(o,i),s=s==null?i:y({},i,s),e.memoizedState=s,e.lanes===0&&(e.updateQueue.baseState=s)}var sf={enqueueSetState:function(e,i,s){e=e._reactInternals;var o=nn(),f=Oi(o);f.payload=i,s!=null&&(f.callback=s),i=ji(e,f,o),i!==null&&(qe(i,e,o),ds(i,e,o))},enqueueReplaceState:function(e,i,s){e=e._reactInternals;var o=nn(),f=Oi(o);f.tag=1,f.payload=i,s!=null&&(f.callback=s),i=ji(e,f,o),i!==null&&(qe(i,e,o),ds(i,e,o))},enqueueForceUpdate:function(e,i){e=e._reactInternals;var s=nn(),o=Oi(s);o.tag=2,i!=null&&(o.callback=i),i=ji(e,o,s),i!==null&&(qe(i,e,s),ds(i,e,s))}};function ny(e,i,s,o,f,p,b){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,p,b):i.prototype&&i.prototype.isPureReactComponent?!rs(s,o)||!rs(f,p):!0}function iy(e,i,s,o){e=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(s,o),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(s,o),i.state!==e&&sf.enqueueReplaceState(i,i.state,null)}function xr(e,i){var s=i;if("ref"in i){s={};for(var o in i)o!=="ref"&&(s[o]=i[o])}if(e=e.defaultProps){s===i&&(s=y({},s));for(var f in e)s[f]===void 0&&(s[f]=e[f])}return s}function ry(e){Bl(e)}function ay(e){console.error(e)}function sy(e){Bl(e)}function lo(e,i){try{var s=e.onUncaughtError;s(i.value,{componentStack:i.stack})}catch(o){setTimeout(function(){throw o})}}function ly(e,i,s){try{var o=e.onCaughtError;o(s.value,{componentStack:s.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function lf(e,i,s){return s=Oi(s),s.tag=3,s.payload={element:null},s.callback=function(){lo(e,i)},s}function oy(e){return e=Oi(e),e.tag=3,e}function uy(e,i,s,o){var f=s.type.getDerivedStateFromError;if(typeof f=="function"){var p=o.value;e.payload=function(){return f(p)},e.callback=function(){ly(i,s,o)}}var b=s.stateNode;b!==null&&typeof b.componentDidCatch=="function"&&(e.callback=function(){ly(i,s,o),typeof f!="function"&&(Vi===null?Vi=new Set([this]):Vi.add(this));var w=o.stack;this.componentDidCatch(o.value,{componentStack:w!==null?w:""})})}function lA(e,i,s,o,f){if(s.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(i=s.alternate,i!==null&&ta(i,s,f,!0),s=Je.current,s!==null){switch(s.tag){case 31:case 13:return gn===null?bo():s.alternate===null&&ne===0&&(ne=3),s.flags&=-257,s.flags|=65536,s.lanes=f,o===Ql?s.flags|=16384:(i=s.updateQueue,i===null?s.updateQueue=new Set([o]):i.add(o),Df(e,o,f)),!1;case 22:return s.flags|=65536,o===Ql?s.flags|=16384:(i=s.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([o])},s.updateQueue=i):(s=i.retryQueue,s===null?i.retryQueue=new Set([o]):s.add(o)),Df(e,o,f)),!1}throw Error(a(435,s.tag))}return Df(e,o,f),bo(),!1}if(Rt)return i=Je.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=f,o!==Ac&&(e=Error(a(422),{cause:o}),ls(dn(e,s)))):(o!==Ac&&(i=Error(a(423),{cause:o}),ls(dn(i,s))),e=e.current.alternate,e.flags|=65536,f&=-f,e.lanes|=f,o=dn(o,s),f=lf(e.stateNode,o,f),Lc(e,f),ne!==4&&(ne=2)),!1;var p=Error(a(520),{cause:o});if(p=dn(p,s),Cs===null?Cs=[p]:Cs.push(p),ne!==4&&(ne=2),i===null)return!0;o=dn(o,s),s=i;do{switch(s.tag){case 3:return s.flags|=65536,e=f&-f,s.lanes|=e,e=lf(s.stateNode,o,e),Lc(s,e),!1;case 1:if(i=s.type,p=s.stateNode,(s.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(Vi===null||!Vi.has(p))))return s.flags|=65536,f&=-f,s.lanes|=f,f=oy(f),uy(f,e,s,o),Lc(s,f),!1}s=s.return}while(s!==null);return!1}var of=Error(a(461)),oe=!1;function Te(e,i,s,o){i.child=e===null?hg(i,null,s,o):yr(i,e.child,s,o)}function cy(e,i,s,o,f){s=s.render;var p=i.ref;if("ref"in o){var b={};for(var w in o)w!=="ref"&&(b[w]=o[w])}else b=o;return hr(i),o=qc(e,i,s,b,p,f),w=Fc(),e!==null&&!oe?(Yc(e,i,f),li(e,i,f)):(Rt&&w&&Tc(i),i.flags|=1,Te(e,i,o,f),i.child)}function fy(e,i,s,o,f){if(e===null){var p=s.type;return typeof p=="function"&&!bc(p)&&p.defaultProps===void 0&&s.compare===null?(i.tag=15,i.type=p,dy(e,i,p,o,f)):(e=ql(s.type,null,o,i,i.mode,f),e.ref=i.ref,e.return=i,i.child=e)}if(p=e.child,!gf(e,f)){var b=p.memoizedProps;if(s=s.compare,s=s!==null?s:rs,s(b,o)&&e.ref===i.ref)return li(e,i,f)}return i.flags|=1,e=ei(p,o),e.ref=i.ref,e.return=i,i.child=e}function dy(e,i,s,o,f){if(e!==null){var p=e.memoizedProps;
vendor: 12,383 bytes, line 8
8if(rs(p,o)&&e.ref===i.ref)if(oe=!1,i.pendingProps=o=p,gf(e,f))(e.flags&131072)!==0&&(oe=!0);else return i.lanes=e.lanes,li(e,i,f)}return uf(e,i,s,o,f)}function hy(e,i,s,o){var f=o.children,p=e!==null?e.memoizedState:null;if(e===null&&i.stateNode===null&&(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((i.flags&128)!==0){if(p=p!==null?p.baseLanes|s:s,e!==null){for(o=i.child=e.child,f=0;o!==null;)f=f|o.lanes|o.childLanes,o=o.sibling;o=f&~p}else o=0,i.child=null;return my(e,i,p,s,o)}if((s&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},e!==null&&Gl(i,p!==null?p.cachePool:null),p!==null?gg(i,p):Bc(),yg(i);else return o=i.lanes=536870912,my(e,i,p!==null?p.baseLanes|s:s,s,o)}else p!==null?(Gl(i,p.cachePool),gg(i,p),Ri(),i.memoizedState=null):(e!==null&&Gl(i,null),Bc(),Ri());return Te(e,i,f,s),i.child}function xs(e,i){return e!==null&&e.tag===22||i.stateNode!==null||(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.sibling}function my(e,i,s,o,f){var p=Dc();return p=p===null?null:{parent:se._currentValue,pool:p},i.memoizedState={baseLanes:s,cachePool:p},e!==null&&Gl(i,null),Bc(),yg(i),e!==null&&ta(e,i,o,!0),i.childLanes=f,null}function oo(e,i){return i=co({mode:i.mode,children:i.children},e.mode),i.ref=e.ref,e.child=i,i.return=e,i}function py(e,i,s){return yr(i,e.child,null,s),e=oo(i,i.pendingProps),e.flags|=2,$e(i),i.memoizedState=null,e}function oA(e,i,s){var o=i.pendingProps,f=(i.flags&128)!==0;if(i.flags&=-129,e===null){if(Rt){if(o.mode==="hidden")return e=oo(i,o),i.lanes=536870912,xs(null,e);if(Uc(i),(e=Kt)?(e=Nv(e,pn),e=e!==null&&e.data==="&"?e:null,e!==null&&(i.memoizedState={dehydrated:e,treeContext:Ai!==null?{id:_n,overflow:Ln}:null,retryLane:536870912,hydrationErrors:null},s=Jp(e),s.return=i,i.child=s,Se=i,Kt=null)):e=null,e===null)throw Ni(i);return i.lanes=536870912,null}return oo(i,o)}var p=e.memoizedState;if(p!==null){var b=p.dehydrated;if(Uc(i),f)if(i.flags&256)i.flags&=-257,i=py(e,i,s);else if(i.memoizedState!==null)i.child=e.child,i.flags|=128,i=null;else throw Error(a(558));else if(oe||ta(e,i,s,!1),f=(s&e.childLanes)!==0,oe||f){if(o=Gt,o!==null&&(b=ap(o,s),b!==0&&b!==p.retryLane))throw p.retryLane=b,ur(e,b),qe(o,e,b),of;bo(),i=py(e,i,s)}else e=p.treeContext,Kt=yn(b.nextSibling),Se=i,Rt=!0,Ci=null,pn=!1,e!==null&&eg(i,e),i=oo(i,o),i.flags|=4096;return i}return e=ei(e.child,{mode:o.mode,children:o.children}),e.ref=i.ref,i.child=e,e.return=i,e}function uo(e,i){var s=i.ref;if(s===null)e!==null&&e.ref!==null&&(i.flags|=4194816);else{if(typeof s!="function"&&typeof s!="object")throw Error(a(284));(e===null||e.ref!==s)&&(i.flags|=4194816)}}function uf(e,i,s,o,f){return hr(i),s=qc(e,i,s,o,void 0,f),o=Fc(),e!==null&&!oe?(Yc(e,i,f),li(e,i,f)):(Rt&&o&&Tc(i),i.flags|=1,Te(e,i,s,f),i.child)}function gy(e,i,s,o,f,p){return hr(i),i.updateQueue=null,s=xg(i,o,s,f),vg(e),o=Fc(),e!==null&&!oe?(Yc(e,i,p),li(e,i,p)):(Rt&&o&&Tc(i),i.flags|=1,Te(e,i,s,p),i.child)}function yy(e,i,s,o,f){if(hr(i),i.stateNode===null){var p=Zr,b=s.contextType;typeof b=="object"&&b!==null&&(p=we(b)),p=new s(o,p),i.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,p.updater=sf,i.stateNode=p,p._reactInternals=i,p=i.stateNode,p.props=o,p.state=i.memoizedState,p.refs={},zc(i),b=s.contextType,p.context=typeof b=="object"&&b!==null?we(b):Zr,p.state=i.memoizedState,b=s.getDerivedStateFromProps,typeof b=="function"&&(af(i,s,b,o),p.state=i.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(b=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),b!==p.state&&sf.enqueueReplaceState(p,p.state,null),ms(i,o,p,f),hs(),p.state=i.memoizedState),typeof p.componentDidMount=="function"&&(i.flags|=4194308),o=!0}else if(e===null){p=i.stateNode;var w=i.memoizedProps,O=xr(s,w);p.props=O;var U=p.context,K=s.contextType;b=Zr,typeof K=="object"&&K!==null&&(b=we(K));var tt=s.getDerivedStateFromProps;K=typeof tt=="function"||typeof p.getSnapshotBeforeUpdate=="function",w=i.pendingProps!==w,K||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(w||U!==b)&&iy(i,p,o,b),Mi=!1;var q=i.memoizedState;p.state=q,ms(i,o,p,f),hs(),U=i.memoizedState,w||q!==U||Mi?(typeof tt=="function"&&(af(i,s,tt,o),U=i.memoizedState),(O=Mi||ny(i,s,O,o,q,U,b))?(K||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"&&(i.flags|=4194308)):(typeof p.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=o,i.memoizedState=U),p.props=o,p.state=U,p.context=b,o=O):(typeof p.componentDidMount=="function"&&(i.flags|=4194308),o=!1)}else{p=i.stateNode,_c(e,i),b=i.memoizedProps,K=xr(s,b),p.props=K,tt=i.pendingProps,q=p.context,U=s.contextType,O=Zr,typeof U=="object"&&U!==null&&(O=we(U)),w=s.getDerivedStateFromProps,(U=typeof w=="function"||typeof p.getSnapshotBeforeUpdate=="function")||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(b!==tt||q!==O)&&iy(i,p,o,O),Mi=!1,q=i.memoizedState,p.state=q,ms(i,o,p,f),hs();var X=i.memoizedState;b!==tt||q!==X||Mi||e!==null&&e.dependencies!==null&&Yl(e.dependencies)?(typeof w=="function"&&(af(i,s,w,o),X=i.memoizedState),(K=Mi||ny(i,s,K,o,q,X,O)||e!==null&&e.dependencies!==null&&Yl(e.dependencies))?(U||typeof p.UNSAFE_componentWillUpdate!="function"&&typeof p.componentWillUpdate!="function"||(typeof p.componentWillUpdate=="function"&&p.componentWillUpdate(o,X,O),typeof p.UNSAFE_componentWillUpdate=="function"&&p.UNSAFE_componentWillUpdate(o,X,O)),typeof p.componentDidUpdate=="function"&&(i.flags|=4),typeof p.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof p.componentDidUpdate!="function"||b===e.memoizedProps&&q===e.memoizedState||(i.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&q===e.memoizedState||(i.flags|=1024),i.memoizedProps=o,i.memoizedState=X),p.props=o,p.state=X,p.context=O,o=K):(typeof p.componentDidUpdate!="function"||b===e.memoizedProps&&q===e.memoizedState||(i.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&q===e.memoizedState||(i.flags|=1024),o=!1)}return p=o,uo(e,i),o=(i.flags&128)!==0,p||o?(p=i.stateNode,s=o&&typeof s.getDerivedStateFromError!="function"?null:p.render(),i.flags|=1,e!==null&&o?(i.child=yr(i,e.child,null,f),i.child=yr(i,null,s,f)):Te(e,i,s,f),i.memoizedState=p.state,e=i.child):e=li(e,i,f),e}function vy(e,i,s,o){return fr(),i.flags|=256,Te(e,i,s,o),i.child}var cf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ff(e){return{baseLanes:e,cachePool:lg()}}function df(e,i,s){return e=e!==null?e.childLanes&~s:0,i&&(e|=en),e}function xy(e,i,s){var o=i.pendingProps,f=!1,p=(i.flags&128)!==0,b;if((b=p)||(b=e!==null&&e.memoizedState===null?!1:(re.current&2)!==0),b&&(f=!0,i.flags&=-129),b=(i.flags&32)!==0,i.flags&=-33,e===null){if(Rt){if(f?Di(i):Ri(),(e=Kt)?(e=Nv(e,pn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(i.memoizedState={dehydrated:e,treeContext:Ai!==null?{id:_n,overflow:Ln}:null,retryLane:536870912,hydrationErrors:null},s=Jp(e),s.return=i,i.child=s,Se=i,Kt=null)):e=null,e===null)throw Ni(i);return Qf(e)?i.lanes=32:i.lanes=536870912,null}var w=o.children;return o=o.fallback,f?(Ri(),f=i.mode,w=co({mode:"hidden",children:w},f),o=cr(o,f,s,null),w.return=i,o.return=i,w.sibling=o,i.child=w,o=i.child,o.memoizedState=ff(s),o.childLanes=df(e,b,s),i.memoizedState=cf,xs(null,o)):(Di(i),hf(i,w))}var O=e.memoizedState;if(O!==null&&(w=O.dehydrated,w!==null)){if(p)i.flags&256?(Di(i),i.flags&=-257,i=mf(e,i,s)):i.memoizedState!==null?(Ri(),i.child=e.child,i.flags|=128,i=null):(Ri(),w=o.fallback,f=i.mode,o=co({mode:"visible",children:o.children},f),w=cr(w,f,s,null),w.flags|=2,o.return=i,w.return=i,o.sibling=w,i.child=o,yr(i,e.child,null,s),o=i.child,o.memoizedState=ff(s),o.childLanes=df(e,b,s),i.memoizedState=cf,i=xs(null,o));else if(Di(i),Qf(w)){if(b=w.nextSibling&&w.nextSibling.dataset,b)var U=b.dgst;b=U,o=Error(a(419)),o.stack="",o.digest=b,ls({value:o,source:null,stack:null}),i=mf(e,i,s)}else if(oe||ta(e,i,s,!1),b=(s&e.childLanes)!==0,oe||b){if(b=Gt,b!==null&&(o=ap(b,s),o!==0&&o!==O.retryLane))throw O.retryLane=o,ur(e,o),qe(b,e,o),of;Xf(w)||bo(),i=mf(e,i,s)}else Xf(w)?(i.flags|=192,i.child=e.child,i=null):(e=O.treeContext,Kt=yn(w.nextSibling),Se=i,Rt=!0,Ci=null,pn=!1,e!==null&&eg(i,e),i=hf(i,o.children),i.flags|=4096);return i}return f?(Ri(),w=o.fallback,f=i.mode,O=e.child,U=O.sibling,o=ei(O,{mode:"hidden",children:o.children}),o.subtreeFlags=O.subtreeFlags&65011712,U!==null?w=ei(U,w):(w=cr(w,f,s,null),w.flags|=2),w.return=i,o.return=i,o.sibling=w,i.child=o,xs(null,o),o=i.child,w=e.child.memoizedState,w===null?w=ff(s):(f=w.cachePool,f!==null?(O=se._currentValue,f=f.parent!==O?{parent:O,pool:O}:f):f=lg(),w={baseLanes:w.baseLanes|s,cachePool:f}),o.memoizedState=w,o.childLanes=df(e,b,s),i.memoizedState=cf,xs(e.child,o)):(Di(i),s=e.child,e=s.sibling,s=ei(s,{mode:"visible",children:o.children}),s.return=i,s.sibling=null,e!==null&&(b=i.deletions,b===null?(i.deletions=[e],i.flags|=16):b.push(e)),i.child=s,i.memoizedState=null,s)}function hf(e,i){return i=co({mode:"visible",children:i},e.mode),i.return=e,e.child=i}function co(e,i){return e=We(22,e,null,i),e.lanes=0,e}function mf(e,i,s){return yr(i,e.child,null,s),e=hf(i,i.pendingProps.children),e.flags|=2,i.memoizedState=null,e}function by(e,i,s){e.lanes|=i;var o=e.alternate;o!==null&&(o.lanes|=i),kc(e.return,i,s)}function pf(e,i,s,o,f,p){var b=e.memoizedState;b===null?e.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:o,tail:s,tailMode:f,treeForkCount:p}:(b.isBackwards=i,b.rendering=null,b.renderingStartTime=0,b.last=o,b.tail=s,b.tailMode=f,b.treeForkCount=p)}function Sy(e,i,s){var o=i.pendingProps,f=o.revealOrder,p=o.tail;o=o.children;var b=re.current,w=(b&2)!==0;if(w?(b=b&1|2,i.flags|=128):b&=1,T(re,b),Te(e,i,o,s),o=Rt?ss:0,!w&&e!==null&&(e.flags&128)!==0)t:for(e=i.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&by(e,s,i);else if(e.tag===19)by(e,s,i);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===i)break t;for(;e.sibling===null;){if(e.return===null||e.return===i)break t;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(f){case"forwards":for(s=i.child,f=null;s!==null;)e=s.alternate,e!==null&&Jl(e)===null&&(f=s),s=s.sibling;s=f,s===null?(f=i.child,i.child=null):(f=s.sibling,s.sibling=null),pf(i,!1,f,s,p,o);break;case"backwards":case"unstable_legacy-backwards":for(s=null,f=i.child,i.child=null;f!==null;){if(e=f.alternate,e!==null&&Jl(e)===null){i.child=f;break}e=f.sibling,f.sibling=s,s=f,f=e}pf(i,!0,s,null,p,o);break;case"together":pf(i,!1,null,null,void 0,o);break;default:i.memoizedState=null}return i.child}function li(e,i,s){if(e!==null&&(i.dependencies=e.dependencies),Li|=i.lanes,(s&i.childLanes)===0)if(e!==null){if(ta(e,i,s,!1),(s&i.childLanes)===0)return null}else return null;if(e!==null&&i.child!==e.child)throw Error(a(153));if(i.child!==null){for(e=i.child,s=ei(e,e.pendingProps),i.child=s,s.return=i;e.sibling!==null;)e=e.sibling,s=s.sibling=ei(e,e.pendingProps),s.return=i;s.sibling=null}return i.child}function gf(e,i){return(e.lanes&i)!==0?!0:(e=e.dependencies,!!(e!==null&&Yl(e)))}function uA(e,i,s){switch(i.tag){case 3:Bt(i,i.stateNode.containerInfo),ki(i,se,e.memoizedState.cache),fr();break;case 27:case 5:de(i);break;case 4:Bt(i,i.stateNode.containerInfo);break;case 10:ki(i,i.type,i.memoizedProps.value);break;case 31:if(i.memoizedState!==null)return i.flags|=128,Uc(i),null;break;case 13:var o=i.memoizedState;if(o!==null)return o.dehydrated!==null?(Di(i),i.flags|=128,null):(s&i.child.childLanes)!==0?xy(e,i,s):(Di(i),e=li(e,i,s),e!==null?e.sibling:null);Di(i);break;case 19:var f=(e.flags&128)!==0;if(o=(s&i.childLanes)!==0,o||(ta(e,i,s,!1),o=(s&i.childLanes)!==0),f){if(o)return Sy(e,i,s);i.flags|=128}if(f=i.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),T(re,re.current),o)break;return null;
vendor: 5,303 bytes, line 8
8case 22:return i.lanes=0,hy(e,i,s,i.pendingProps);case 24:ki(i,se,e.memoizedState.cache)}return li(e,i,s)}function wy(e,i,s){if(e!==null)if(e.memoizedProps!==i.pendingProps)oe=!0;else{if(!gf(e,s)&&(i.flags&128)===0)return oe=!1,uA(e,i,s);oe=(e.flags&131072)!==0}else oe=!1,Rt&&(i.flags&1048576)!==0&&tg(i,ss,i.index);switch(i.lanes=0,i.tag){case 16:t:{var o=i.pendingProps;if(e=pr(i.elementType),i.type=e,typeof e=="function")bc(e)?(o=xr(e,o),i.tag=1,i=yy(null,i,e,o,s)):(i.tag=0,i=uf(null,i,e,o,s));else{if(e!=null){var f=e.$$typeof;if(f===F){i.tag=11,i=cy(null,i,e,o,s);break t}else if(f===I){i.tag=14,i=fy(null,i,e,o,s);break t}}throw i=Z(e)||e,Error(a(306,i,""))}}return i;case 0:return uf(e,i,i.type,i.pendingProps,s);case 1:return o=i.type,f=xr(o,i.pendingProps),yy(e,i,o,f,s);case 3:t:{if(Bt(i,i.stateNode.containerInfo),e===null)throw Error(a(387));o=i.pendingProps;var p=i.memoizedState;f=p.element,_c(e,i),ms(i,o,null,s);var b=i.memoizedState;if(o=b.cache,ki(i,se,o),o!==p.cache&&Mc(i,[se],s,!0),hs(),o=b.element,p.isDehydrated)if(p={element:o,isDehydrated:!1,cache:b.cache},i.updateQueue.baseState=p,i.memoizedState=p,i.flags&256){i=vy(e,i,o,s);break t}else if(o!==f){f=dn(Error(a(424)),i),ls(f),i=vy(e,i,o,s);break t}else{switch(e=i.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Kt=yn(e.firstChild),Se=i,Rt=!0,Ci=null,pn=!0,s=hg(i,null,o,s),i.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling}else{if(fr(),o===f){i=li(e,i,s);break t}Te(e,i,o,s)}i=i.child}return i;case 26:return uo(e,i),e===null?(s=Rv(i.type,null,i.pendingProps,null))?i.memoizedState=s:Rt||(s=i.type,e=i.pendingProps,o=No(pt.current).createElement(s),o[be]=i,o[Le]=e,Ee(o,s,e),ve(o),i.stateNode=o):i.memoizedState=Rv(i.type,e.memoizedProps,i.pendingProps,e.memoizedState),null;case 27:return de(i),e===null&&Rt&&(o=i.stateNode=Ov(i.type,i.pendingProps,pt.current),Se=i,pn=!0,f=Kt,Hi(i.type)?(Kf=f,Kt=yn(o.firstChild)):Kt=f),Te(e,i,i.pendingProps.children,s),uo(e,i),e===null&&(i.flags|=4194304),i.child;case 5:return e===null&&Rt&&((f=o=Kt)&&(o=PA(o,i.type,i.pendingProps,pn),o!==null?(i.stateNode=o,Se=i,Kt=yn(o.firstChild),pn=!1,f=!0):f=!1),f||Ni(i)),de(i),f=i.type,p=i.pendingProps,b=e!==null?e.memoizedProps:null,o=p.children,Yf(f,p)?o=null:b!==null&&Yf(f,b)&&(i.flags|=32),i.memoizedState!==null&&(f=qc(e,i,tA,null,null,s),zs._currentValue=f),uo(e,i),Te(e,i,o,s),i.child;case 6:return e===null&&Rt&&((e=s=Kt)&&(s=UA(s,i.pendingProps,pn),s!==null?(i.stateNode=s,Se=i,Kt=null,e=!0):e=!1),e||Ni(i)),null;case 13:return xy(e,i,s);case 4:return Bt(i,i.stateNode.containerInfo),o=i.pendingProps,e===null?i.child=yr(i,null,o,s):Te(e,i,o,s),i.child;case 11:return cy(e,i,i.type,i.pendingProps,s);case 7:return Te(e,i,i.pendingProps,s),i.child;case 8:return Te(e,i,i.pendingProps.children,s),i.child;case 12:return Te(e,i,i.pendingProps.children,s),i.child;case 10:return o=i.pendingProps,ki(i,i.type,o.value),Te(e,i,o.children,s),i.child;case 9:return f=i.type._context,o=i.pendingProps.children,hr(i),f=we(f),o=o(f),i.flags|=1,Te(e,i,o,s),i.child;case 14:return fy(e,i,i.type,i.pendingProps,s);case 15:return dy(e,i,i.type,i.pendingProps,s);case 19:return Sy(e,i,s);case 31:return oA(e,i,s);case 22:return hy(e,i,s,i.pendingProps);case 24:return hr(i),o=we(se),e===null?(f=Dc(),f===null&&(f=Gt,p=Oc(),f.pooledCache=p,p.refCount++,p!==null&&(f.pooledCacheLanes|=s),f=p),i.memoizedState={parent:o,cache:f},zc(i),ki(i,se,f)):((e.lanes&s)!==0&&(_c(e,i),ms(i,null,null,s),hs()),f=e.memoizedState,p=i.memoizedState,f.parent!==o?(f={parent:o,cache:o},i.memoizedState=f,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=f),ki(i,se,o)):(o=p.cache,ki(i,se,o),o!==f.cache&&Mc(i,[se],s,!0))),Te(e,i,i.pendingProps.children,s),i.child;case 29:throw i.pendingProps}throw Error(a(156,i.tag))}function oi(e){e.flags|=4}function yf(e,i,s,o,f){if((i=(e.mode&32)!==0)&&(i=!1),i){if(e.flags|=16777216,(f&335544128)===f)if(e.stateNode.complete)e.flags|=8192;else if(Ky())e.flags|=8192;else throw gr=Ql,Rc}else e.flags&=-16777217}function Ty(e,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Bv(i))if(Ky())e.flags|=8192;else throw gr=Ql,Rc}function fo(e,i){i!==null&&(e.flags|=4),e.flags&16384&&(i=e.tag!==22?np():536870912,e.lanes|=i,da|=i)}function bs(e,i){if(!Rt)switch(e.tailMode){case"hidden":i=e.tail;for(var s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?e.tail=null:s.sibling=null;break;case"collapsed":s=e.tail;for(var o=null;s!==null;)s.alternate!==null&&(o=s),s=s.sibling;o===null?i||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Zt(e){var i=e.alternate!==null&&e.alternate.child===e.child,s=0,o=0;if(i)for(var f=e.child;f!==null;)s|=f.lanes|f.childLanes,o|=f.subtreeFlags&65011712,o|=f.flags&65011712,f.return=e,f=f.sibling;else for(f=e.child;f!==null;)s|=f.lanes|f.childLanes,o|=f.subtreeFlags,o|=f.flags,f.return=e,f=f.sibling;return e.subtreeFlags|=o,e.childLanes=s,i}function cA(e,i,s){var o=i.pendingProps;switch(Ec(i),i.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Zt(i),null;case 1:return Zt(i),null;case 3:return s=i.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),i.memoizedState.cache!==o&&(i.flags|=2048),ri(se),Dt(),s.pe
vendor: 4,837 bytes, line 8
8ndingContext&&(s.context=s.pendingContext,s.pendingContext=null),(e===null||e.child===null)&&($r(i)?oi(i):e===null||e.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,Cc())),Zt(i),null;case 26:var f=i.type,p=i.memoizedState;return e===null?(oi(i),p!==null?(Zt(i),Ty(i,p)):(Zt(i),yf(i,f,null,o,s))):p?p!==e.memoizedState?(oi(i),Zt(i),Ty(i,p)):(Zt(i),i.flags&=-16777217):(e=e.memoizedProps,e!==o&&oi(i),Zt(i),yf(i,f,e,o,s)),null;case 27:if(Me(i),s=pt.current,f=i.type,e!==null&&i.stateNode!=null)e.memoizedProps!==o&&oi(i);else{if(!o){if(i.stateNode===null)throw Error(a(166));return Zt(i),null}e=it.current,$r(i)?ng(i):(e=Ov(f,o,s),i.stateNode=e,oi(i))}return Zt(i),null;case 5:if(Me(i),f=i.type,e!==null&&i.stateNode!=null)e.memoizedProps!==o&&oi(i);else{if(!o){if(i.stateNode===null)throw Error(a(166));return Zt(i),null}if(p=it.current,$r(i))ng(i);else{var b=No(pt.current);switch(p){case 1:p=b.createElementNS("http://www.w3.org/2000/svg",f);break;case 2:p=b.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;default:switch(f){case"svg":p=b.createElementNS("http://www.w3.org/2000/svg",f);break;case"math":p=b.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;case"script":p=b.createElement("div"),p.innerHTML="<script><\/script>",p=p.removeChild(p.firstChild);break;case"select":p=typeof o.is=="string"?b.createElement("select",{is:o.is}):b.createElement("select"),o.multiple?p.multiple=!0:o.size&&(p.size=o.size);break;default:p=typeof o.is=="string"?b.createElement(f,{is:o.is}):b.createElement(f)}}p[be]=i,p[Le]=o;t:for(b=i.child;b!==null;){if(b.tag===5||b.tag===6)p.appendChild(b.stateNode);else if(b.tag!==4&&b.tag!==27&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===i)break t;for(;b.sibling===null;){if(b.return===null||b.return===i)break t;b=b.return}b.sibling.return=b.return,b=b.sibling}i.stateNode=p;t:switch(Ee(p,f,o),f){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break t;case"img":o=!0;break t;default:o=!1}o&&oi(i)}}return Zt(i),yf(i,i.type,e===null?null:e.memoizedProps,i.pendingProps,s),null;case 6:if(e&&i.stateNode!=null)e.memoizedProps!==o&&oi(i);else{if(typeof o!="string"&&i.stateNode===null)throw Error(a(166));if(e=pt.current,$r(i)){if(e=i.stateNode,s=i.memoizedProps,o=null,f=Se,f!==null)switch(f.tag){case 27:case 5:o=f.memoizedProps}e[be]=i,e=!!(e.nodeValue===s||o!==null&&o.suppressHydrationWarning===!0||xv(e.nodeValue,s)),e||Ni(i,!0)}else e=No(e).createTextNode(o),e[be]=i,i.stateNode=e}return Zt(i),null;case 31:if(s=i.memoizedState,e===null||e.memoizedState!==null){if(o=$r(i),s!==null){if(e===null){if(!o)throw Error(a(318));if(e=i.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(a(557));e[be]=i}else fr(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Zt(i),e=!1}else s=Cc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),e=!0;if(!e)return i.flags&256?($e(i),i):($e(i),null);if((i.flags&128)!==0)throw Error(a(558))}return Zt(i),null;case 13:if(o=i.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(f=$r(i),o!==null&&o.dehydrated!==null){if(e===null){if(!f)throw Error(a(318));if(f=i.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(a(317));f[be]=i}else fr(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Zt(i),f=!1}else f=Cc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=f),f=!0;if(!f)return i.flags&256?($e(i),i):($e(i),null)}return $e(i),(i.flags&128)!==0?(i.lanes=s,i):(s=o!==null,e=e!==null&&e.memoizedState!==null,s&&(o=i.child,f=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(f=o.alternate.memoizedState.cachePool.pool),p=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(p=o.memoizedState.cachePool.pool),p!==f&&(o.flags|=2048)),s!==e&&s&&(i.child.flags|=8192),fo(i,i.updateQueue),Zt(i),null);case 4:return Dt(),e===null&&Pf(i.stateNode.containerInfo),Zt(i),null;case 10:return ri(i.type),Zt(i),null;case 19:if(Q(re),o=i.memoizedState,o===null)return Zt(i),null;if(f=(i.flags&128)!==0,p=o.rendering,p===null)if(f)bs(o,!1);else{if(ne!==0||e!==null&&(e.flags&128)!==0)for(e=i.child;e!==null;){if(p=Jl(e),p!==null){for(i.flags|=128,bs(o,!1),e=p.updateQueue,i.updateQueue=e,fo(i,e),i.subtreeFlags=0,e=s,s=i.child;s!==null;)Wp(s,e),s=s.sibling;return T(re,re.current&1|2),Rt&&ni(i,o.treeForkCount),i.child}e=e.sibling}o.tail!==null&&Oe()>yo&&(i.flags|=128,f=!0,bs(o,!1),i.lanes=4194304)}else{if(!f)if(e=Jl(p),e!==null){if(i.flags|=128,f=!0,e=e.updateQueue,i.updateQueue=e,fo(i,e),bs(o,!0),o.tail===null&&o.tailMode==="hidden"&&!p.alternate&&!Rt)return Zt(i),null}else 2*Oe()-o.renderingStartTime>yo&&s!==536870912&&(i.flags|=128,f=!0,bs(o,!1),i.lanes=4194304);o.isBackwards?(p.sibling=i.child,i.child=p):(e=o.last,e!==null?e.sibling=p:i.
vendor: 23,310 bytes, line 8
8child=p,o.last=p)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Oe(),e.sibling=null,s=re.current,T(re,f?s&1|2:s&1),Rt&&ni(i,o.treeForkCount),e):(Zt(i),null);case 22:case 23:return $e(i),Pc(),o=i.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(i.flags|=8192):o&&(i.flags|=8192),o?(s&536870912)!==0&&(i.flags&128)===0&&(Zt(i),i.subtreeFlags&6&&(i.flags|=8192)):Zt(i),s=i.updateQueue,s!==null&&fo(i,s.retryQueue),s=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(s=e.memoizedState.cachePool.pool),o=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(o=i.memoizedState.cachePool.pool),o!==s&&(i.flags|=2048),e!==null&&Q(mr),null;case 24:return s=null,e!==null&&(s=e.memoizedState.cache),i.memoizedState.cache!==s&&(i.flags|=2048),ri(se),Zt(i),null;case 25:return null;case 30:return null}throw Error(a(156,i.tag))}function fA(e,i){switch(Ec(i),i.tag){case 1:return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 3:return ri(se),Dt(),e=i.flags,(e&65536)!==0&&(e&128)===0?(i.flags=e&-65537|128,i):null;case 26:case 27:case 5:return Me(i),null;case 31:if(i.memoizedState!==null){if($e(i),i.alternate===null)throw Error(a(340));fr()}return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 13:if($e(i),e=i.memoizedState,e!==null&&e.dehydrated!==null){if(i.alternate===null)throw Error(a(340));fr()}return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 19:return Q(re),null;case 4:return Dt(),null;case 10:return ri(i.type),null;case 22:case 23:return $e(i),Pc(),e!==null&&Q(mr),e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 24:return ri(se),null;case 25:return null;default:return null}}function Ey(e,i){switch(Ec(i),i.tag){case 3:ri(se),Dt();break;case 26:case 27:case 5:Me(i);break;case 4:Dt();break;case 31:i.memoizedState!==null&&$e(i);break;case 13:$e(i);break;case 19:Q(re);break;case 10:ri(i.type);break;case 22:case 23:$e(i),Pc(),e!==null&&Q(mr);break;case 24:ri(se)}}function Ss(e,i){try{var s=i.updateQueue,o=s!==null?s.lastEffect:null;if(o!==null){var f=o.next;s=f;do{if((s.tag&e)===e){o=void 0;var p=s.create,b=s.inst;o=p(),b.destroy=o}s=s.next}while(s!==f)}}catch(w){Ht(i,i.return,w)}}function zi(e,i,s){try{var o=i.updateQueue,f=o!==null?o.lastEffect:null;if(f!==null){var p=f.next;o=p;do{if((o.tag&e)===e){var b=o.inst,w=b.destroy;if(w!==void 0){b.destroy=void 0,f=i;var O=s,U=w;try{U()}catch(K){Ht(f,O,K)}}}o=o.next}while(o!==p)}}catch(K){Ht(i,i.return,K)}}function Ay(e){var i=e.updateQueue;if(i!==null){var s=e.stateNode;try{pg(i,s)}catch(o){Ht(e,e.return,o)}}}function Cy(e,i,s){s.props=xr(e.type,e.memoizedProps),s.state=e.memoizedState;try{s.componentWillUnmount()}catch(o){Ht(e,i,o)}}function ws(e,i){try{var s=e.ref;if(s!==null){switch(e.tag){case 26:case 27:case 5:var o=e.stateNode;break;case 30:o=e.stateNode;break;default:o=e.stateNode}typeof s=="function"?e.refCleanup=s(o):s.current=o}}catch(f){Ht(e,i,f)}}function Vn(e,i){var s=e.ref,o=e.refCleanup;if(s!==null)if(typeof o=="function")try{o()}catch(f){Ht(e,i,f)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(f){Ht(e,i,f)}else s.current=null}function Ny(e){var i=e.type,s=e.memoizedProps,o=e.stateNode;try{t:switch(i){case"button":case"input":case"select":case"textarea":s.autoFocus&&o.focus();break t;case"img":s.src?o.src=s.src:s.srcSet&&(o.srcset=s.srcSet)}}catch(f){Ht(e,e.return,f)}}function vf(e,i,s){try{var o=e.stateNode;RA(o,e.type,s,i),o[Le]=i}catch(f){Ht(e,e.return,f)}}function ky(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Hi(e.type)||e.tag===4}function xf(e){t:for(;;){for(;e.sibling===null;){if(e.return===null||ky(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Hi(e.type)||e.flags&2||e.child===null||e.tag===4)continue t;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function bf(e,i,s){var o=e.tag;if(o===5||o===6)e=e.stateNode,i?(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(e,i):(i=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,i.appendChild(e),s=s._reactRootContainer,s!=null||i.onclick!==null||(i.onclick=$n));else if(o!==4&&(o===27&&Hi(e.type)&&(s=e.stateNode,i=null),e=e.child,e!==null))for(bf(e,i,s),e=e.sibling;e!==null;)bf(e,i,s),e=e.sibling}function ho(e,i,s){var o=e.tag;if(o===5||o===6)e=e.stateNode,i?s.insertBefore(e,i):s.appendChild(e);else if(o!==4&&(o===27&&Hi(e.type)&&(s=e.stateNode),e=e.child,e!==null))for(ho(e,i,s),e=e.sibling;e!==null;)ho(e,i,s),e=e.sibling}function My(e){var i=e.stateNode,s=e.memoizedProps;try{for(var o=e.type,f=i.attributes;f.length;)i.removeAttributeNode(f[0]);Ee(i,o,s),i[be]=e,i[Le]=s}catch(p){Ht(e,e.return,p)}}var ui=!1,ue=!1,Sf=!1,Oy=typeof WeakSet=="function"?WeakSet:Set,xe=null;function dA(e,i){if(e=e.containerInfo,qf=zo,e=qp(e),hc(e)){if("selectionStart"in e)var s={start:e.selectionStart,end:e.selectionEnd};else t:{s=(s=e.ownerDocument)&&s.defaultView||window;var o=s.getSelection&&s.getSelection();if(o&&o.rangeCount!==0){s=o.anchorNode;var f=o.anchorOffset,p=o.focusNode;o=o.focusOffset;try{s.nodeType,p.nodeType}catch{s=null;break t}var b=0,w=-1,O=-1,U=0,K=0,tt=e,q=null;e:for(;;){for(var X;tt!==s||f!==0&&tt.nodeType!==3||(w=b+f),tt!==p||o!==0&&tt.nodeType!==3||(O=b+o),tt.nodeType===3&&(b+=tt.nodeValue.length),(X=tt.firstChild)!==null;)q=tt,tt=X;for(;;){if(tt===e)break e;if(q===s&&++U===f&&(w=b),q===p&&++K===o&&(O=b),(X=tt.nextSibling)!==null)break;tt=q,q=tt.parentNode}tt=X}s=w===-1||O===-1?null:{start:w,end:O}}else s=null}s=s||{start:0,end:0}}else s=null;for(Ff={focusedElem:e,selectionRange:s},zo=!1,xe=i;xe!==null;)if(i=xe,e=i.child,(i.subtreeFlags&1028)!==0&&e!==null)e.return=i,xe=e;else for(;xe!==null;){switch(i=xe,p=i.alternate,e=i.flags,i.tag){case 0:if((e&4)!==0&&(e=i.updateQueue,e=e!==null?e.events:null,e!==null))for(s=0;s<e.length;s++)f=e[s],f.ref.impl=f.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&p!==null){e=void 0,s=i,f=p.memoizedProps,p=p.memoizedState,o=s.stateNode;try{var ut=xr(s.type,f);e=o.getSnapshotBeforeUpdate(ut,p),o.__reactInternalSnapshotBeforeUpdate=e}catch(vt){Ht(s,s.return,vt)}}break;case 3:if((e&1024)!==0){if(e=i.stateNode.containerInfo,s=e.nodeType,s===9)Gf(e);else if(s===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Gf(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(a(163))}if(e=i.sibling,e!==null){e.return=i.return,xe=e;break}xe=i.return}}function jy(e,i,s){var o=s.flags;switch(s.tag){case 0:case 11:case 15:fi(e,s),o&4&&Ss(5,s);break;case 1:if(fi(e,s),o&4)if(e=s.stateNode,i===null)try{e.componentDidMount()}catch(b){Ht(s,s.return,b)}else{var f=xr(s.type,i.memoizedProps);i=i.memoizedState;try{e.componentDidUpdate(f,i,e.__reactInternalSnapshotBeforeUpdate)}catch(b){Ht(s,s.return,b)}}o&64&&Ay(s),o&512&&ws(s,s.return);break;case 3:if(fi(e,s),o&64&&(e=s.updateQueue,e!==null)){if(i=null,s.child!==null)switch(s.child.tag){case 27:case 5:i=s.child.stateNode;break;case 1:i=s.child.stateNode}try{pg(e,i)}catch(b){Ht(s,s.return,b)}}break;case 27:i===null&&o&4&&My(s);case 26:case 5:fi(e,s),i===null&&o&4&&Ny(s),o&512&&ws(s,s.return);break;case 12:fi(e,s);break;case 31:fi(e,s),o&4&&zy(e,s);break;case 13:fi(e,s),o&4&&_y(e,s),o&64&&(e=s.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(s=SA.bind(null,s),HA(e,s))));break;case 22:if(o=s.memoizedState!==null||ui,!o){i=i!==null&&i.memoizedState!==null||ue,f=ui;var p=ue;ui=o,(ue=i)&&!p?di(e,s,(s.subtreeFlags&8772)!==0):fi(e,s),ui=f,ue=p}break;case 30:break;default:fi(e,s)}}function Dy(e){var i=e.alternate;i!==null&&(e.alternate=null,Dy(i)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(i=e.stateNode,i!==null&&Zu(i)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Wt=null,Be=!1;function ci(e,i,s){for(s=s.child;s!==null;)Ry(e,i,s),s=s.sibling}function Ry(e,i,s){if(he&&typeof he.onCommitFiberUnmount=="function")try{he.onCommitFiberUnmount(je,s)}catch{}switch(s.tag){case 26:ue||Vn(s,i),ci(e,i,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(s=s.stateNode,s.parentNode.removeChild(s));break;case 27:ue||Vn(s,i);var o=Wt,f=Be;Hi(s.type)&&(Wt=s.stateNode,Be=!1),ci(e,i,s),js(s.stateNode),Wt=o,Be=f;break;case 5:ue||Vn(s,i);case 6:if(o=Wt,f=Be,Wt=null,ci(e,i,s),Wt=o,Be=f,Wt!==null)if(Be)try{(Wt.nodeType===9?Wt.body:Wt.nodeName==="HTML"?Wt.ownerDocument.body:Wt).removeChild(s.stateNode)}catch(p){Ht(s,i,p)}else try{Wt.removeChild(s.stateNode)}catch(p){Ht(s,i,p)}break;case 18:Wt!==null&&(Be?(e=Wt,Av(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,s.stateNode),ba(e)):Av(Wt,s.stateNode));break;case 4:o=Wt,f=Be,Wt=s.stateNode.containerInfo,Be=!0,ci(e,i,s),Wt=o,Be=f;break;case 0:case 11:case 14:case 15:zi(2,s,i),ue||zi(4,s,i),ci(e,i,s);break;case 1:ue||(Vn(s,i),o=s.stateNode,typeof o.componentWillUnmount=="function"&&Cy(s,i,o)),ci(e,i,s);break;case 21:ci(e,i,s);break;case 22:ue=(o=ue)||s.memoizedState!==null,ci(e,i,s),ue=o;break;default:ci(e,i,s)}}function zy(e,i){if(i.memoizedState===null&&(e=i.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ba(e)}catch(s){Ht(i,i.return,s)}}}function _y(e,i){if(i.memoizedState===null&&(e=i.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ba(e)}catch(s){Ht(i,i.return,s)}}function hA(e){switch(e.tag){case 31:case 13:case 19:var i=e.stateNode;return i===null&&(i=e.stateNode=new Oy),i;case 22:return e=e.stateNode,i=e._retryCache,i===null&&(i=e._retryCache=new Oy),i;default:throw Error(a(435,e.tag))}}function mo(e,i){var s=hA(e);i.forEach(function(o){if(!s.has(o)){s.add(o);var f=wA.bind(null,e,o);o.then(f,f)}})}function Pe(e,i){var s=i.deletions;if(s!==null)for(var o=0;o<s.length;o++){var f=s[o],p=e,b=i,w=b;t:for(;w!==null;){switch(w.tag){case 27:if(Hi(w.type)){Wt=w.stateNode,Be=!1;break t}break;case 5:Wt=w.stateNode,Be=!1;break t;case 3:case 4:Wt=w.stateNode.containerInfo,Be=!0;break t}w=w.return}if(Wt===null)throw Error(a(160));Ry(p,b,f),Wt=null,Be=!1,p=f.alternate,p!==null&&(p.return=null),f.return=null}if(i.subtreeFlags&13886)for(i=i.child;i!==null;)Ly(i,e),i=i.sibling}var Cn=null;function Ly(e,i){var s=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Pe(i,e),Ue(e),o&4&&(zi(3,e,e.return),Ss(3,e),zi(5,e,e.return));break;case 1:Pe(i,e),Ue(e),o&512&&(ue||s===null||Vn(s,s.return)),o&64&&ui&&(e=e.updateQueue,e!==null&&(o=e.callbacks,o!==null&&(s=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=s===null?o:s.concat(o))));break;case 26:var f=Cn;if(Pe(i,e),Ue(e),o&512&&(ue||s===null||Vn(s,s.return)),o&4){var p=s!==null?s.memoizedState:null;if(o=e.memoizedState,s===null)if(o===null)if(e.stateNode===null){t:{o=e.type,s=e.memoizedProps,f=f.ownerDocument||f;e:switch(o){case"title":p=f.getElementsByTagName("title")[0],(!p||p[Ka]||p[be]||p.namespaceURI==="http://www.w3.org/2000/svg"||p.hasAttribute("itemprop"))&&(p=f.createElement(o),f.head.insertBefore(p,f.querySelector("head > title"))),Ee(p,o,s),p[be]=e,ve(p),o=p;break t;case"link":var b=Lv("link","href",f).get(o+(s.href||""));if(b){for(var w=0;w<b.length;w++)if(p=b[w],p.getAttribute("href")===(s.href==null||s.href===""?null:s.href)&&p.getAttribute("rel")===(s.rel==null?null:s.rel)&&p.getAttribute("title")===(s.title==null?null:s.title)&&p.getAttribute("crossorigin")===(s.crossOrigin==null?null:s.crossOrigin)){b.splice(w,1);break e}}p=f.createElement(o),Ee(p,o,s),f.head.appendChild(p);break;case"meta":if(b=Lv("meta","content",f).get(o+(s.content||""))){for(w=0;w<b.length;w++)if(p=b[w],p.getAttribute("content")===(s.content==null?null:""+s.content)&&p.getAttribute("name")===(s.name==null?null:s.name)&&p.getAttribute("property")===(s.property==null?null:s.property)&&p.getAttribute("http-equiv")===(s.httpEquiv==null?null:s.httpEquiv)&&p.getAttribute("charset")===(s.charSet==null?null:s.charSet)){b.splice(w,1);break e}}p=f.createElement(o),Ee(p,o,s),f.head.appendChild(p);break;default:throw Error(a(468,o))}p[be]=e,ve(p),o=p}e.stateNode=o}else Vv(f,e.type,e.stateNode);else e.stateNode=_v(f,o,e.memoizedProps);else p!==o?(p===null?s.stateNode!==null&&(s=s.stateNode,s.parentNode.removeChild(s)):p.count--,o===null?Vv(f,e.type,e.stateNode):_v(f,o,e.memoizedProps)):o===null&&e.stateNode!==null&&vf(e,e.memoizedProps,s.memoizedProps)}break;case 27:Pe(i,e),Ue(e),o&512&&(ue||s===null||Vn(s,s.return)),s!==null&&o&4&&vf(e,e.memoizedProps,s.memoizedProps);break;case 5:if(Pe(i,e),Ue(e),o&512&&(ue||s===null||Vn(s,s.return)),e.flags&32){f=e.stateNode;try{Fr(f,"")}catch(ut){Ht(e,e.return,ut)}}o&4&&e.stateNode!=null&&(f=e.memoizedProps,vf(e,f,s!==null?s.memoizedProps:f)),o&1024&&(Sf=!0);break;case 6:if(Pe(i,e),Ue(e),o&4){if(e.stateNode===null)throw Error(a(162));o=e.memoizedProps,s=e.stateNode;try{s.nodeValue=o}catch(ut){Ht(e,e.return,ut)}}break;case 3:if(Oo=null,f=Cn,Cn=ko(i.containerInfo),Pe(i,e),Cn=f,Ue(e),o&4&&s!==null&&s.memoizedState.isDehydrated)try{ba(i.containerInfo)}catch(ut){Ht(e,e.return,ut)}Sf&&(Sf=!1,Vy(e));break;case 4:o=Cn,Cn=ko(e.stateNode.containerInfo),Pe(i,e),Ue(e),Cn=o;break;case 12:Pe(i,e),Ue(e);break;case 31:Pe(i,e),Ue(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,mo(e,o)));break;case 13:Pe(i,e),Ue(e),e.child.flags&8192&&e.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&(go=Oe()),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,mo(e,o)));break;case 22:f=e.memoizedState!==null;var O=s!==null&&s.memoizedState!==null,U=ui,K=ue;if(ui=U||f,ue=K||O,Pe(i,e),ue=K,ui=U,Ue(e),o&8192)t:for(i=e.stateNode,i._visibility=f?i._visibility&-2:i._visibility|1,f&&(s===null||O||ui||ue||br(e)),s=null,i=e;;){if(i.tag===5||i.tag===26){if(s===null){O=s=i;try{if(p=O.stateNode,f)b=p.style,typeof b.setProperty=="function"?b.setProperty("display","none","important"):b.display="none";else{w=O.stateNode;var tt=O.memoizedProps.style,q=tt!=null&&tt.hasOwnProperty("display")?tt.display:null;w.style.display=q==null||typeof q=="boolean"?"":(""+q).trim()}}catch(ut){Ht(O,O.return,ut)}}}else if(i.tag===6){if(s===null){O=i;try{O.stateNode.nodeValue=f?"":O.memoizedProps}catch(ut){Ht(O,O.return,ut)}}}else if(i.tag===18){if(s===null){O=i;try{var X=O.stateNode;f?Cv(X,!0):Cv(O.stateNode,!1)}catch(ut){Ht(O,O.return,ut)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===e)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)break t;for(;i.sibling===null;){if(i.return===null||i.return===e)break t;s===i&&(s=null),i=i.return}s===i&&(s=null),i.sibling.return=i.return,i=i.sibling}o&4&&(o=e.updateQueue,o!==null&&(s=o.retryQueue,s!==null&&(o.retryQueue=null,mo(e,s))));break;case 19:Pe(i,e),Ue(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,mo(e,o)));break;case 30:break;case 21:break;default:Pe(i,e),Ue(e)}}function Ue(e){var i=e.flags;if(i&2){try{for(var s,o=e.return;o!==null;){if(ky(o)){s=o;break}o=o.return}if(s==null)throw Error(a(160));switch(s.tag){case 27:var f=s.stateNode,p=xf(e);ho(e,p,f);break;case 5:var b=s.stateNode;s.flags&32&&(Fr(b,""),s.flags&=-33);var w=xf(e);ho(e,w,b);break;case 3:case 4:var O=s.stateNode.containerInfo,U=xf(e);bf(e,U,O);break;default:throw Error(a(161))}}catch(K){Ht(e,e.return,K)}e.flags&=-3}i&4096&&(e.flags&=-4097)}function Vy(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var i=e;Vy(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),e=e.sibling}}function fi(e,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)jy(e,i.alternate,i),i=i.sibling}function br(e){for(e=e.child;e!==null;){var i=e;switch(i.tag){case 0:case 11:case 14:case 15:zi(4,i,i.return),br(i);break;case 1:Vn(i,i.return);var s=i.stateNode;typeof s.componentWillUnmount=="function"&&Cy(i,i.return,s),br(i);break;case 27:js(i.stateNode);case 26:case 5:Vn(i,i.return),br(i);break;case 22:i.memoizedState===null&&br(i);break;case 30:br(i);break;default:br(i)}e=e.sibling}}function di(e,i,s){for(s=s&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var o=i.alternate,f=e,p=i,b=p.flags;switch(p.tag){case 0:case 11:case 15:di(f,p,s),Ss(4,p);break;case 1:if(di(f,p,s),o=p,f=o.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(U){Ht(o,o.return,U)}if(o=p,f=o.updateQueue,f!==null){var w=o.stateNode;try{var O=f.shared.hiddenCallbacks;if(O!==null)for(f.shared.hiddenCallbacks=null,f=0;f<O.length;f++)mg(O[f],w)}catch(U){Ht(o,o.return,U)}}s&&b&64&&Ay(p),ws(p,p.return);break;case 27:My(p);case 26:case 5:di(f,p,s),s&&o===null&&b&4&&Ny(p),ws(p,p.return);break;case 12:di(f,p,s);break;case 31:di(f,p,s),s&&b&4&&zy(f,p);break;case 13:di(f,p,s),s&&b&4&&_y(f,p);break;case 22:p.memoizedState===null&&di(f,p,s),ws(p,p.return);break;case 30:break;default:di(f,p,s)}i=i.sibling}}function wf(e,i){var s=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(s=e.memoizedState.cachePool.pool),e=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(e=i.memoizedState.cachePool.pool),e!==s&&(e!=null&&e.refCount++,s!=null&&os(s))}function Tf(e,i){e=null,i.alternate!==null&&(e=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==e&&(i.refCount++,e!=null&&os(e))}function Nn(e,i,s,o){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)By(e,i,s,o),i=i.sibling}function By(e,i,s,o){var f=i.flags;switch(i.tag){case 0:case 11:case 15:Nn(e,i,s,o),f&2048&&Ss(9,i);break;case 1:Nn(e,i,s,o);break;case 3:Nn(e,i,s,o),f&2048&&(e=null,i.alternate!==null&&(e=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==e&&(i.refCount++,e!=null&&os(e)));break;case 12:if(f&2048){Nn(e,i,s,o),e=i.stateNode;try{var p=i.memoizedProps,b=p.id,w=p.onPostCommit;typeof w=="function"&&w(b,i.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(O){Ht(i,i.return,O)}}else Nn(e,i,s,o);break;case 31:Nn(e,i,s,o);break;case 13:Nn(e,i,s,o);break;case 23:break;case 22:p=i.stateNode,b=i.alternate,i.memoizedState!==null?p._visibility&2?Nn(e,i,s,o):Ts(e,i):p._visibility&2?Nn(e,i,s,o):(p._visibility|=2,ua(e,i,s,o,(i.subtreeFlags&10256)!==0||!1)),f&2048&&wf(b,i);break;case 24:Nn(e,i,s,o),f&2048&&Tf(i.alternate,i);break;default:Nn(e,i,s,o)}}function ua(e,i,s,o,f){for(f=f&&((i.subtreeFlags&10256)!==0||!1),i=i.child;i!==null;){var p=e,b=i,w=s,O=o,U=b.flags;switch(b.tag){case 0:case 11:case 15:ua(p,b,w,O,f),Ss(8,b);break;case 23:break;case 22:var K=b.stateNode;b.memoizedState!==null?K._visibility&2?ua(p,b,w,O,f):Ts(p,b):(K._visibility|=2,ua(p,b,w,O,f)),f&&U&2048&&wf(b.alternate,b);break;case 24:ua(p,b,w,O,f),f&&U&2048&&Tf(b.alternate,b);break;default:ua(p,b,w,O,f)}i=i.sibling}}function Ts(e,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var s=e,o=i,f=o.flags;switch(o.tag){case 22:Ts(s,o),f&2048&&wf(o.alternate,o);break;case 24:Ts(s,o),f&2048&&Tf(o.alternate,o);break;default:Ts(s,o)}i=i.sibling}}var Es=8192;function ca(e,i,s){if(e.subtreeFlags&Es)for(e=e.child;e!==null;)Py(e,i,s),e=e.sibling}function Py(e,i,s){switch(e.tag){case 26:ca(e,i,s),e.flags&Es&&e.memoizedState!==null&&$A(s,Cn,e.memoizedState,e.memoizedProps);break;case 5:ca(e,i,s);break;case 3:case 4:var o=Cn;Cn=ko(e.stateNode.containerInfo),ca(e,i,s),Cn=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=Es,Es=16777216,ca(e,i,s),Es=o):ca(e,i,s));break;default:ca(e,i,s)}}function Uy(e){var i=e.alternate;if(i!==null&&(e=i.child,e!==null)){i.child=null;do i=e.sibling,e.sibling=null,e=i;while(e!==null)}}function As(e){var i=e.deletions;if((e.flags&16)!==0){if(i!==null)for(var s=0;s<i.length;s++){var o=i[s];xe=o,qy(o,e)}Uy(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Hy(e),e=e.sibling}function Hy(e){switch(e.tag){case 0:case 11:case 15:As(e),e.flags&2048&&zi(9,e,e.return);break;case 3:As(e);break;case 12:As(e);break;case 22:var i=e.stateNode;e.memoizedState!==null&&i._visibility&2&&(e.return===null||e.return.tag!==13)?(i._visibility&=-3,po(e)):As(e);break;default:As(e)}}function po(e){var i=e.deletions;if((e.flags&16)!==0){if(i!==null)for(var s=0;s<i.length;s++){var o=i[s];xe=o,qy(o,e)}Uy(e)}for(e=e.child;e!==null;){switch(i=e,i.tag){case 0:case 11:case 15:zi(8,i,i.return),po(i);break;case 22:s=i.stateNode,s._visibility&2&&(s._visibility&=-3,po(i));break;default:po(i)}e=e.sibling}}function qy(e,i){for(;xe!==null;){var s=xe;switch(s.tag){case 0:case 11:case 15:zi(8,s,i);break;case 23:case 22:if(s.memoizedState!==null&&s.memoizedState.cachePool!==null){var o=s.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:os(s.memoizedState.cache)}if(o=s.child,o!==null)o.return=s,xe=o;else t:for(s=e;xe!==null;){o=xe;var f=o.sibling,p=o.return;if(Dy(o),o===s){xe=null;break t}if(f!==null){f.return=p,xe=f;break t}xe=p}}}var mA={getCacheForType:function(e){var i=we(se),s=i.data.get(e);return s===void 0&&(s=e(),i.data.set(e,s)),s},cacheSignal:function(){return we(se).controller.signal}},pA=typeof WeakMap=="function"?WeakMap:Map,Lt=0,Gt=null,kt=null,Ot=0,Ut=0,tn=null,_i=!1,fa=!1,Ef=!1,hi=0,ne=0,Li=0,Sr=0,Af=0,en=0,da=0,Cs=null,He=null,Cf=!1,go=0,Fy=0,yo=1/0,vo=null,Vi=null,me=0,Bi=null,ha=null,mi=0,Nf=0,kf=null,Yy=null,Ns=0,Mf=null;function nn(){return(Lt&2)!==0&&Ot!==0?Ot&-Ot:L.T!==null?_f():sp()}function Iy(){if(en===0)if((Ot&536870912)===0||Rt){var e=Al;Al<<=1,(Al&3932160)===0&&(Al=262144),en=e}else en=536870912;return e=Je.current,e!==null&&(e.flags|=32),en}function qe(e,i,s){(e===Gt&&(Ut===2||Ut===9)||e.cancelPendingCommit!==null)&&(ma(e,0),Pi(e,Ot,en,!1)),Qa(e,s),((Lt&2)===0||e!==Gt)&&(e===Gt&&((Lt&2)===0&&(Sr|=s),ne===4&&Pi(e,Ot,en,!1)),Bn(e))}function Gy(e,i,s){if((Lt&6)!==0)throw Error(a(327));var o=!s&&(i&127)===0&&(i&e.expiredLanes)===0||Xa(e,i),f=o?vA(e,i):jf(e,i,!0),p=o;do{if(f===0){fa&&!o&&Pi(e,i,0,!1);break}else{if(s=e.current.alternate,p&&!gA(s)){f=jf(e,i,!1),p=!1;continue}if(f===2){if(p=i,e.errorRecoveryDisabledLanes&p)var b=0;else b=e.pendingLanes&-536870913,b=b!==0?b:b&536870912?536870912:0;if(b!==0){i=b;t:{var w=e;f=Cs;var O=w.current.memoizedState.isDehydrated;if(O&&(ma(w,b).flags|=256),b=jf(w,b,!1),b!==2){if(Ef&&!O){w.errorRecoveryDisabledLanes|=p,Sr|=p,f=4;break t}p=He,He=f,p!==null&&(He===null?He=p:He.push.apply(He,p))}f=b}if(p=!1,f!==2)continue}}if(f===1){ma(e,0),Pi(e,i,0,!0);break}t:{switch(o=e,p=f,p){case 0:case 1:throw Error(a(345));case 4:if((i&4194048)!==i)break;case 6:Pi(o,i,en,!_i);break t;case 2:He=null;break;case 3:case 5:break;default:throw Error(a(329))}if((i&62914560)===i&&(f=go+300-Oe(),10<f)){if(Pi(o,i,en,!_i),Nl(o,0,!0)!==0)break t;mi=i,o.timeoutHandle=Tv(Xy.bind(null,o,s,He,vo,Cf,i,en,Sr,da,_i,p,"Throttled",-0,0),f);break t}Xy(o,s,He,vo,Cf,i,en,Sr,da,_i,p,null,-0,0)}}break}while(!0);Bn(e)}function Xy(e,i,s,o,f,p,b,w,O,U,K,tt,q,X){if(e.timeoutHandle=-1,tt=i.subtreeFlags,tt&8192||(tt&16785408)===16785408){tt={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:$n},Py(i,p,tt);var ut=(p&62914560)===p?go-Oe():(p&4194048)===p?Fy-Oe():0;if(ut=tC(tt,ut),ut!==null){mi=p,e.cancelPendingCommit=ut(ev.bind(null,e,i,p,s,o,f,b,w,O,K,tt,null,q,X)),Pi(e,p,b,!U);return}}ev(e,i,p,s,o,f,b,w,O)}function gA(e){for(var i=e;;){var s=i.tag;if((s===0||s===11||s===15)&&i.flags&16384&&(s=i.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var o=0;o<s.length;o++){var f=s[o],p=f.getSnapshot;f=f.value;
vendor: 18,541 bytes, line 8
8try{if(!Ze(p(),f))return!1}catch{return!1}}if(s=i.child,i.subtreeFlags&16384&&s!==null)s.return=i,i=s;else{if(i===e)break;for(;i.sibling===null;){if(i.return===null||i.return===e)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function Pi(e,i,s,o){i&=~Af,i&=~Sr,e.suspendedLanes|=i,e.pingedLanes&=~i,o&&(e.warmLanes|=i),o=e.expirationTimes;for(var f=i;0<f;){var p=31-It(f),b=1<<p;o[p]=-1,f&=~b}s!==0&&ip(e,s,i)}function xo(){return(Lt&6)===0?(ks(0),!1):!0}function Of(){if(kt!==null){if(Ut===0)var e=kt.return;else e=kt,ii=dr=null,Ic(e),ra=null,cs=0,e=kt;for(;e!==null;)Ey(e.alternate,e),e=e.return;kt=null}}function ma(e,i){var s=e.timeoutHandle;s!==-1&&(e.timeoutHandle=-1,LA(s)),s=e.cancelPendingCommit,s!==null&&(e.cancelPendingCommit=null,s()),mi=0,Of(),Gt=e,kt=s=ei(e.current,null),Ot=i,Ut=0,tn=null,_i=!1,fa=Xa(e,i),Ef=!1,da=en=Af=Sr=Li=ne=0,He=Cs=null,Cf=!1,(i&8)!==0&&(i|=i&32);var o=e.entangledLanes;if(o!==0)for(e=e.entanglements,o&=i;0<o;){var f=31-It(o),p=1<<f;i|=e[f],o&=~p}return hi=i,Pl(),s}function Qy(e,i){Et=null,L.H=vs,i===ia||i===Xl?(i=cg(),Ut=3):i===Rc?(i=cg(),Ut=4):Ut=i===of?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,tn=i,kt===null&&(ne=1,lo(e,dn(i,e.current)))}function Ky(){var e=Je.current;return e===null?!0:(Ot&4194048)===Ot?gn===null:(Ot&62914560)===Ot||(Ot&536870912)!==0?e===gn:!1}function Zy(){var e=L.H;return L.H=vs,e===null?vs:e}function Wy(){var e=L.A;return L.A=mA,e}function bo(){ne=4,_i||(Ot&4194048)!==Ot&&Je.current!==null||(fa=!0),(Li&134217727)===0&&(Sr&134217727)===0||Gt===null||Pi(Gt,Ot,en,!1)}function jf(e,i,s){var o=Lt;Lt|=2;var f=Zy(),p=Wy();(Gt!==e||Ot!==i)&&(vo=null,ma(e,i)),i=!1;var b=ne;t:do try{if(Ut!==0&&kt!==null){var w=kt,O=tn;switch(Ut){case 8:Of(),b=6;break t;case 3:case 2:case 9:case 6:Je.current===null&&(i=!0);var U=Ut;if(Ut=0,tn=null,pa(e,w,O,U),s&&fa){b=0;break t}break;default:U=Ut,Ut=0,tn=null,pa(e,w,O,U)}}yA(),b=ne;break}catch(K){Qy(e,K)}while(!0);return i&&e.shellSuspendCounter++,ii=dr=null,Lt=o,L.H=f,L.A=p,kt===null&&(Gt=null,Ot=0,Pl()),b}function yA(){for(;kt!==null;)Jy(kt)}function vA(e,i){var s=Lt;Lt|=2;var o=Zy(),f=Wy();Gt!==e||Ot!==i?(vo=null,yo=Oe()+500,ma(e,i)):fa=Xa(e,i);t:do try{if(Ut!==0&&kt!==null){i=kt;var p=tn;e:switch(Ut){case 1:Ut=0,tn=null,pa(e,i,p,1);break;case 2:case 9:if(og(p)){Ut=0,tn=null,$y(i);break}i=function(){Ut!==2&&Ut!==9||Gt!==e||(Ut=7),Bn(e)},p.then(i,i);break t;case 3:Ut=7;break t;case 4:Ut=5;break t;case 7:og(p)?(Ut=0,tn=null,$y(i)):(Ut=0,tn=null,pa(e,i,p,7));break;case 5:var b=null;switch(kt.tag){case 26:b=kt.memoizedState;case 5:case 27:var w=kt;if(b?Bv(b):w.stateNode.complete){Ut=0,tn=null;var O=w.sibling;if(O!==null)kt=O;else{var U=w.return;U!==null?(kt=U,So(U)):kt=null}break e}}Ut=0,tn=null,pa(e,i,p,5);break;case 6:Ut=0,tn=null,pa(e,i,p,6);break;case 8:Of(),ne=6;break t;default:throw Error(a(462))}}xA();break}catch(K){Qy(e,K)}while(!0);return ii=dr=null,L.H=o,L.A=f,Lt=s,kt!==null?0:(Gt=null,Ot=0,Pl(),ne)}function xA(){for(;kt!==null&&!Fu();)Jy(kt)}function Jy(e){var i=wy(e.alternate,e,hi);e.memoizedProps=e.pendingProps,i===null?So(e):kt=i}function $y(e){var i=e,s=i.alternate;switch(i.tag){case 15:case 0:i=gy(s,i,i.pendingProps,i.type,void 0,Ot);break;case 11:i=gy(s,i,i.pendingProps,i.type.render,i.ref,Ot);break;case 5:Ic(i);default:Ey(s,i),i=kt=Wp(i,hi),i=wy(s,i,hi)}e.memoizedProps=e.pendingProps,i===null?So(e):kt=i}function pa(e,i,s,o){ii=dr=null,Ic(i),ra=null,cs=0;var f=i.return;try{if(lA(e,f,i,s,Ot)){ne=1,lo(e,dn(s,e.current)),kt=null;return}}catch(p){if(f!==null)throw kt=f,p;ne=1,lo(e,dn(s,e.current)),kt=null;return}i.flags&32768?(Rt||o===1?e=!0:fa||(Ot&536870912)!==0?e=!1:(_i=e=!0,(o===2||o===9||o===3||o===6)&&(o=Je.current,o!==null&&o.tag===13&&(o.flags|=16384))),tv(i,e)):So(i)}function So(e){var i=e;do{if((i.flags&32768)!==0){tv(i,_i);return}e=i.return;var s=cA(i.alternate,i,hi);if(s!==null){kt=s;return}if(i=i.sibling,i!==null){kt=i;return}kt=i=e}while(i!==null);ne===0&&(ne=5)}function tv(e,i){do{var s=fA(e.alternate,e);if(s!==null){s.flags&=32767,kt=s;return}if(s=e.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!i&&(e=e.sibling,e!==null)){kt=e;return}kt=e=s}while(e!==null);ne=6,kt=null}function ev(e,i,s,o,f,p,b,w,O){e.cancelPendingCommit=null;do wo();while(me!==0);if((Lt&6)!==0)throw Error(a(327));if(i!==null){if(i===e.current)throw Error(a(177));if(p=i.lanes|i.childLanes,p|=vc,JT(e,s,p,b,w,O),e===Gt&&(kt=Gt=null,Ot=0),ha=i,Bi=e,mi=s,Nf=p,kf=f,Yy=o,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,TA(xt,function(){return sv(),null})):(e.callbackNode=null,e.callbackPriority=0),o=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||o){o=L.T,L.T=null,f=G.p,G.p=2,b=Lt,Lt|=4;try{dA(e,i,s)}finally{Lt=b,G.p=f,L.T=o}}me=1,nv(),iv(),rv()}}function nv(){if(me===1){me=0;var e=Bi,i=ha,s=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||s){s=L.T,L.T=null;var o=G.p;G.p=2;var f=Lt;Lt|=4;try{Ly(i,e);var p=Ff,b=qp(e.containerInfo),w=p.focusedElem,O=p.selectionRange;if(b!==w&&w&&w.ownerDocument&&Hp(w.ownerDocument.documentElement,w)){if(O!==null&&hc(w)){var U=O.start,K=O.end;if(K===void 0&&(K=U),"selectionStart"in w)w.selectionStart=U,w.selectionEnd=Math.min(K,w.value.length);else{var tt=w.ownerDocument||document,q=tt&&tt.defaultView||window;if(q.getSelection){var X=q.getSelection(),ut=w.textContent.length,vt=Math.min(O.start,ut),Yt=O.end===void 0?vt:Math.min(O.end,ut);!X.extend&&vt>Yt&&(b=Yt,Yt=vt,vt=b);var V=Up(w,vt),R=Up(w,Yt);if(V&&R&&(X.rangeCount!==1||X.anchorNode!==V.node||X.anchorOffset!==V.offset||X.focusNode!==R.node||X.focusOffset!==R.offset)){var P=tt.createRange();P.setStart(V.node,V.offset),X.removeAllRanges(),vt>Yt?(X.addRange(P),X.extend(R.node,R.offset)):(P.setEnd(R.node,R.offset),X.addRange(P))}}}}for(tt=[],X=w;X=X.parentNode;)X.nodeType===1&&tt.push({element:X,left:X.scrollLeft,top:X.scrollTop});for(typeof w.focus=="function"&&w.focus(),w=0;w<tt.length;w++){var J=tt[w];J.element.scrollLeft=J.left,J.element.scrollTop=J.top}}zo=!!qf,Ff=qf=null}finally{Lt=f,G.p=o,L.T=s}}e.current=i,me=2}}function iv(){if(me===2){me=0;var e=Bi,i=ha,s=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||s){s=L.T,L.T=null;var o=G.p;G.p=2;var f=Lt;Lt|=4;try{jy(e,i.alternate,i)}finally{Lt=f,G.p=o,L.T=s}}me=3}}function rv(){if(me===4||me===3){me=0,Yu();var e=Bi,i=ha,s=mi,o=Yy;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?me=5:(me=0,ha=Bi=null,av(e,e.pendingLanes));var f=e.pendingLanes;if(f===0&&(Vi=null),Qu(s),i=i.stateNode,he&&typeof he.onCommitFiberRoot=="function")try{he.onCommitFiberRoot(je,i,void 0,(i.current.flags&128)===128)}catch{}if(o!==null){i=L.T,f=G.p,G.p=2,L.T=null;try{for(var p=e.onRecoverableError,b=0;b<o.length;b++){var w=o[b];p(w.value,{componentStack:w.stack})}}finally{L.T=i,G.p=f}}(mi&3)!==0&&wo(),Bn(e),f=e.pendingLanes,(s&261930)!==0&&(f&42)!==0?e===Mf?Ns++:(Ns=0,Mf=e):Ns=0,ks(0)}}function av(e,i){(e.pooledCacheLanes&=i)===0&&(i=e.pooledCache,i!=null&&(e.pooledCache=null,os(i)))}function wo(){return nv(),iv(),rv(),sv()}function sv(){if(me!==5)return!1;var e=Bi,i=Nf;Nf=0;var s=Qu(mi),o=L.T,f=G.p;try{G.p=32>s?32:s,L.T=null,s=kf,kf=null;var p=Bi,b=mi;if(me=0,ha=Bi=null,mi=0,(Lt&6)!==0)throw Error(a(331));var w=Lt;if(Lt|=4,Hy(p.current),By(p,p.current,b,s),Lt=w,ks(0,!1),he&&typeof he.onPostCommitFiberRoot=="function")try{he.onPostCommitFiberRoot(je,p)}catch{}return!0}finally{G.p=f,L.T=o,av(e,i)}}function lv(e,i,s){i=dn(s,i),i=lf(e.stateNode,i,2),e=ji(e,i,2),e!==null&&(Qa(e,2),Bn(e))}function Ht(e,i,s){if(e.tag===3)lv(e,e,s);else for(;i!==null;){if(i.tag===3){lv(i,e,s);break}else if(i.tag===1){var o=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Vi===null||!Vi.has(o))){e=dn(s,e),s=oy(2),o=ji(i,s,2),o!==null&&(uy(s,o,i,e),Qa(o,2),Bn(o));break}}i=i.return}}function Df(e,i,s){var o=e.pingCache;if(o===null){o=e.pingCache=new pA;var f=new Set;o.set(i,f)}else f=o.get(i),f===void 0&&(f=new Set,o.set(i,f));f.has(s)||(Ef=!0,f.add(s),e=bA.bind(null,e,i,s),i.then(e,e))}function bA(e,i,s){var o=e.pingCache;o!==null&&o.delete(i),e.pingedLanes|=e.suspendedLanes&s,e.warmLanes&=~s,Gt===e&&(Ot&s)===s&&(ne===4||ne===3&&(Ot&62914560)===Ot&&300>Oe()-go?(Lt&2)===0&&ma(e,0):Af|=s,da===Ot&&(da=0)),Bn(e)}function ov(e,i){i===0&&(i=np()),e=ur(e,i),e!==null&&(Qa(e,i),Bn(e))}function SA(e){var i=e.memoizedState,s=0;i!==null&&(s=i.retryLane),ov(e,s)}function wA(e,i){var s=0;switch(e.tag){case 31:case 13:var o=e.stateNode,f=e.memoizedState;f!==null&&(s=f.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error(a(314))}o!==null&&o.delete(i),ov(e,s)}function TA(e,i){return Lr(e,i)}var To=null,ga=null,Rf=!1,Eo=!1,zf=!1,Ui=0;function Bn(e){e!==ga&&e.next===null&&(ga===null?To=ga=e:ga=ga.next=e),Eo=!0,Rf||(Rf=!0,AA())}function ks(e,i){if(!zf&&Eo){zf=!0;do for(var s=!1,o=To;o!==null;){if(e!==0){var f=o.pendingLanes;if(f===0)var p=0;else{var b=o.suspendedLanes,w=o.pingedLanes;p=(1<<31-It(42|e)+1)-1,p&=f&~(b&~w),p=p&201326741?p&201326741|1:p?p|2:0}p!==0&&(s=!0,dv(o,p))}else p=Ot,p=Nl(o,o===Gt?p:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(p&3)===0||Xa(o,p)||(s=!0,dv(o,p));o=o.next}while(s);zf=!1}}function EA(){uv()}function uv(){Eo=Rf=!1;var e=0;Ui!==0&&_A()&&(e=Ui);for(var i=Oe(),s=null,o=To;o!==null;){var f=o.next,p=cv(o,i);p===0?(o.next=null,s===null?To=f:s.next=f,f===null&&(ga=s)):(s=o,(e!==0||(p&3)!==0)&&(Eo=!0)),o=f}me!==0&&me!==5||ks(e),Ui!==0&&(Ui=0)}function cv(e,i){for(var s=e.suspendedLanes,o=e.pingedLanes,f=e.expirationTimes,p=e.pendingLanes&-62914561;0<p;){var b=31-It(p),w=1<<b,O=f[b];O===-1?((w&s)===0||(w&o)!==0)&&(f[b]=WT(w,i)):O<=i&&(e.expiredLanes|=w),p&=~w}if(i=Gt,s=Ot,s=Nl(e,e===i?s:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o=e.callbackNode,s===0||e===i&&(Ut===2||Ut===9)||e.cancelPendingCommit!==null)return o!==null&&o!==null&&Ga(o),e.callbackNode=null,e.callbackPriority=0;if((s&3)===0||Xa(e,s)){if(i=s&-s,i===e.callbackPriority)return i;switch(o!==null&&Ga(o),Qu(s)){case 2:case 8:s=st;break;case 32:s=xt;break;case 268435456:s=Pt;break;default:s=xt}return o=fv.bind(null,e),s=Lr(s,o),e.callbackPriority=i,e.callbackNode=s,i}return o!==null&&o!==null&&Ga(o),e.callbackPriority=2,e.callbackNode=null,2}function fv(e,i){if(me!==0&&me!==5)return e.callbackNode=null,e.callbackPriority=0,null;var s=e.callbackNode;if(wo()&&e.callbackNode!==s)return null;var o=Ot;return o=Nl(e,e===Gt?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o===0?null:(Gy(e,o,i),cv(e,Oe()),e.callbackNode!=null&&e.callbackNode===s?fv.bind(null,e):null)}function dv(e,i){if(wo())return null;Gy(e,i,!0)}function AA(){VA(function(){(Lt&6)!==0?Lr(W,EA):uv()})}function _f(){if(Ui===0){var e=ea;e===0&&(e=El,El<<=1,(El&261888)===0&&(El=256)),Ui=e}return Ui}function hv(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:jl(""+e)}function mv(e,i){var s=i.ownerDocument.createElement("input");return s.name=i.name,s.value=i.value,e.id&&s.setAttribute("form",e.id),i.parentNode.insertBefore(s,i),e=new FormData(e),s.parentNode.removeChild(s),e}function CA(e,i,s,o,f){if(i==="submit"&&s&&s.stateNode===f){var p=hv((f[Le]||null).action),b=o.submitter;b&&(i=(i=b[Le]||null)?hv(i.formAction):b.getAttribute("formAction"),i!==null&&(p=i,b=null));var w=new _l("action","action",null,o,f);e.push({event:w,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Ui!==0){var O=b?mv(f,b):new FormData(f);tf(s,{pending:!0,data:O,method:f.method,action:p},null,O)}}else typeof p=="function"&&(w.preventDefault(),O=b?mv(f,b):new FormData(f),tf(s,{pending:!0,data:O,method:f.method,action:p},p,O))},currentTarget:f}]})}}for(var Lf=0;Lf<yc.length;Lf++){var Vf=yc[Lf],NA=Vf.toLowerCase(),kA=Vf[0].toUpperCase()+Vf.slice(1);An(NA,"on"+kA)}An(Ip,"onAnimationEnd"),An(Gp,"onAnimationIteration"),An(Xp,"onAnimationStart"),An("dblclick","onDoubleClick"),An("focusin","onFocus"),An("focusout","onBlur"),An(YE,"onTransitionRun"),An(IE,"onTransitionStart"),An(GE,"onTransitionCancel"),An(Qp,"onTransitionEnd"),Hr("onMouseEnter",["mouseout","mouseover"]),Hr("onMouseLeave",["mouseout","mouseover"]),Hr("onPointerEnter",["pointerout","pointerover"]),Hr("onPointerLeave",["pointerout","pointerover"]),ar("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ar("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ar("onBeforeInput",["compositionend","keypress","textInput","paste"]),ar("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ar("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ar("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ms="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(" "),MA=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ms));function pv(e,i){i=(i&4)!==0;for(var s=0;s<e.length;s++){var o=e[s],f=o.event;o=o.listeners;t:{var p=void 0;if(i)for(var b=o.length-1;0<=b;b--){var w=o[b],O=w.instance,U=w.currentTarget;if(w=w.listener,O!==p&&f.isPropagationStopped())break t;p=w,f.currentTarget=U;try{p(f)}catch(K){Bl(K)}f.currentTarget=null,p=O}else for(b=0;b<o.length;b++){if(w=o[b],O=w.instance,U=w.currentTarget,w=w.listener,O!==p&&f.isPropagationStopped())break t;p=w,f.currentTarget=U;try{p(f)}catch(K){Bl(K)}f.currentTarget=null,p=O}}}}function Mt(e,i){var s=i[Ku];s===void 0&&(s=i[Ku]=new Set);var o=e+"__bubble";s.has(o)||(gv(i,e,2,!1),s.add(o))}function Bf(e,i,s){var o=0;i&&(o|=4),gv(s,e,o,i)}var Ao="_reactListening"+Math.random().toString(36).slice(2);function Pf(e){if(!e[Ao]){e[Ao]=!0,up.forEach(function(s){s!=="selectionchange"&&(MA.has(s)||Bf(s,!1,e),Bf(s,!0,e))});var i=e.nodeType===9?e:e.ownerDocument;i===null||i[Ao]||(i[Ao]=!0,Bf("selectionchange",!1,i))}}function gv(e,i,s,o){switch(Iv(i)){case 2:var f=iC;break;case 8:f=rC;break;default:f=td}s=f.bind(null,i,s,e),f=void 0,!rc||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(f=!0),o?f!==void 0?e.addEventListener(i,s,{capture:!0,passive:f}):e.addEventListener(i,s,!0):f!==void 0?e.addEventListener(i,s,{passive:f}):e.addEventListener(i,s,!1)}function Uf(e,i,s,o,f){var p=o;if((i&1)===0&&(i&2)===0&&o!==null)t:for(;;){if(o===null)return;var b=o.tag;if(b===3||b===4){var w=o.stateNode.containerInfo;if(w===f)break;if(b===4)for(b=o.return;b!==null;){var O=b.tag;if((O===3||O===4)&&b.stateNode.containerInfo===f)return;b=b.return}for(;w!==null;){if(b=Br(w),b===null)return;if(O=b.tag,O===5||O===6||O===26||O===27){o=p=b;continue t}w=w.parentNode}}o=o.return}Sp(function(){var U=p,K=nc(s),tt=[];t:{var q=Kp.get(e);if(q!==void 0){var X=_l,ut=e;switch(e){case"keypress":if(Rl(s)===0)break t;case"keydown":case"keyup":X=wE;break;case"focusin":ut="focus",X=oc;break;case"focusout":ut="blur",X=oc;break;case"beforeblur":case"afterblur":X=oc;break;case"click":if(s.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":X=Ep;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":X=cE;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":X=AE;break;case Ip:case Gp:case Xp:X=hE;break;case Qp:X=NE;break;case"scroll":case"scrollend":X=oE;break;case"wheel":X=ME;break;case"copy":case"cut":case"paste":X=pE;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":X=Cp;break;case"toggle":case"beforetoggle":X=jE}var vt=(i&4)!==0,Yt=!vt&&(e==="scroll"||e==="scrollend"),V=vt?q!==null?q+"Capture":null:q;vt=[];for(var R=U,P;R!==null;){var J=R;if(P=J.stateNode,J=J.tag,J!==5&&J!==26&&J!==27||P===null||V===null||(J=Wa(R,V),J!=null&&vt.push(Os(R,J,P))),Yt)break;R=R.return}0<vt.length&&(q=new X(q,ut,null,s,K),tt.push({event:q,listeners:vt}))}}if((i&7)===0){t:{if(q=e==="mouseover"||e==="pointerover",X=e==="mouseout"||e==="pointerout",q&&s!==ec&&(ut=s.relatedTarget||s.fromElement)&&(Br(ut)||ut[Vr]))break t;if((X||q)&&(q=K.window===K?K:(q=K.ownerDocument)?q.defaultView||q.parentWindow:window,X?(ut=s.relatedTarget||s.toElement,X=U,ut=ut?Br(ut):null,ut!==null&&(Yt=u(ut),vt=ut.tag,ut!==Yt||vt!==5&&vt!==27&&vt!==6)&&(ut=null)):(X=null,ut=U),X!==ut)){if(vt=Ep,J="onMouseLeave",V="onMouseEnter",R="mouse",(e==="pointerout"||e==="pointerover")&&(vt=Cp,J="onPointerLeave",V="onPointerEnter",R="pointer"),Yt=X==null?q:Za(X),P=ut==null?q:Za(ut),q=new vt(J,R+"leave",X,s,K),q.target=Yt,q.relatedTarget=P,J=null,Br(K)===U&&(vt=new vt(V,R+"enter",ut,s,K),vt.target=P,vt.relatedTarget=Yt,J=vt),Yt=J,X&&ut)e:{for(vt=OA,V=X,R=ut,P=0,J=V;J;J=vt(J))P++;J=0;for(var yt=R;yt;yt=vt(yt))J++;for(;0<P-J;)V=vt(V),P--;for(;0<J-P;)R=vt(R),J--;for(;P--;){if(V===R||R!==null&&V===R.alternate){vt=V;break e}V=vt(V),R=vt(R)}vt=null}else vt=null;X!==null&&yv(tt,q,X,vt,!1),ut!==null&&Yt!==null&&yv(tt,Yt,ut,vt,!0)}}t:{if(q=U?Za(U):window,X=q.nodeName&&q.nodeName.toLowerCase(),X==="select"||X==="input"&&q.type==="file")var zt=zp;else if(Dp(q))if(_p)zt=HE;else{zt=PE;var mt=BE}else X=q.nodeName,!X||X.toLowerCase()!=="input"||q.type!=="checkbox"&&q.type!=="radio"?U&&tc(U.elementType)&&(zt=zp):zt=UE;if(zt&&(zt=zt(e,U))){Rp(tt,zt,s,K);break t}mt&&mt(e,q,U),e==="focusout"&&U&&q.type==="number"&&U.memoizedProps.value!=null&&$u(q,"number",q.value)}switch(mt=U?Za(U):window,e){case"focusin":(Dp(mt)||mt.contentEditable==="true")&&(Xr=mt,mc=U,as=null);break;case"focusout":as=mc=Xr=null;break;case"mousedown":pc=!0;break;case"contextmenu":case"mouseup":case"dragend":pc=!1,Fp(tt,s,K);break;case"selectionchange":if(FE)break;case"keydown":case"keyup":Fp(tt,s,K)}var At;if(cc)t:{switch(e){case"compositionstart":var jt="onCompositionStart";break t;case"compositionend":jt="onCompositionEnd";break t;case"compositionupdate":jt="onCompositionUpdate";break t}jt=void 0}else Gr?Op(e,s)&&(jt="onCompositionEnd"):e==="keydown"&&s.keyCode===229&&(jt="onCompositionStart");jt&&(Np&&s.locale!=="ko"&&(Gr||jt!=="onCompositionStart"?jt==="onCompositionEnd"&&Gr&&(At=wp()):(Ei=K,ac="value"in Ei?Ei.value:Ei.textContent,Gr=!0)),mt=Co(U,jt),0<mt.length&&(jt=new Ap(jt,e,null,s,K),tt.push({event:jt,listeners:mt}
vendor: 5,741 bytes, lines 8-9
8),At?jt.data=At:(At=jp(s),At!==null&&(jt.data=At)))),(At=RE?zE(e,s):_E(e,s))&&(jt=Co(U,"onBeforeInput"),0<jt.length&&(mt=new Ap("onBeforeInput","beforeinput",null,s,K),tt.push({event:mt,listeners:jt}),mt.data=At)),CA(tt,e,U,s,K)}pv(tt,i)})}function Os(e,i,s){return{instance:e,listener:i,currentTarget:s}}function Co(e,i){for(var s=i+"Capture",o=[];e!==null;){var f=e,p=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||p===null||(f=Wa(e,s),f!=null&&o.unshift(Os(e,f,p)),f=Wa(e,i),f!=null&&o.push(Os(e,f,p))),e.tag===3)return o;e=e.return}return[]}function OA(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function yv(e,i,s,o,f){for(var p=i._reactName,b=[];s!==null&&s!==o;){var w=s,O=w.alternate,U=w.stateNode;if(w=w.tag,O!==null&&O===o)break;w!==5&&w!==26&&w!==27||U===null||(O=U,f?(U=Wa(s,p),U!=null&&b.unshift(Os(s,U,O))):f||(U=Wa(s,p),U!=null&&b.push(Os(s,U,O)))),s=s.return}b.length!==0&&e.push({event:i,listeners:b})}var jA=/\r\n?/g,DA=/\u0000|\uFFFD/g;function vv(e){return(typeof e=="string"?e:""+e).replace(jA,`
9`).replace(DA,"")}function xv(e,i){return i=vv(i),vv(e)===i}function Ft(e,i,s,o,f,p){switch(s){case"children":typeof o=="string"?i==="body"||i==="textarea"&&o===""||Fr(e,o):(typeof o=="number"||typeof o=="bigint")&&i!=="body"&&Fr(e,""+o);break;case"className":Ml(e,"class",o);break;case"tabIndex":Ml(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Ml(e,s,o);break;case"style":xp(e,o,p);break;case"data":if(i!=="object"){Ml(e,"data",o);break}case"src":case"href":if(o===""&&(i!=="a"||s!=="href")){e.removeAttribute(s);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(s);break}o=jl(""+o),e.setAttribute(s,o);break;case"action":case"formAction":if(typeof o=="function"){e.setAttribute(s,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof p=="function"&&(s==="formAction"?(i!=="input"&&Ft(e,i,"name",f.name,f,null),Ft(e,i,"formEncType",f.formEncType,f,null),Ft(e,i,"formMethod",f.formMethod,f,null),Ft(e,i,"formTarget",f.formTarget,f,null)):(Ft(e,i,"encType",f.encType,f,null),Ft(e,i,"method",f.method,f,null),Ft(e,i,"target",f.target,f,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(s);break}o=jl(""+o),e.setAttribute(s,o);break;case"onClick":o!=null&&(e.onclick=$n);break;case"onScroll":o!=null&&Mt("scroll",e);break;case"onScrollEnd":o!=null&&Mt("scrollend",e);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(a(61));if(s=o.__html,s!=null){if(f.children!=null)throw Error(a(60));e.innerHTML=s}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}s=jl(""+o),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(s,""+o):e.removeAttribute(s);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(s,""):e.removeAttribute(s);break;case"capture":case"download":o===!0?e.setAttribute(s,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(s,o):e.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?e.setAttribute(s,o):e.removeAttribute(s);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(s):e.setAttribute(s,o);break;case"popover":Mt("beforetoggle",e),Mt("toggle",e),kl(e,"popover",o);break;case"xlinkActuate":Jn(e,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":Jn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":Jn(e,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":Jn(e,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":Jn(e,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":Jn(e,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":Jn(e,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":Jn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":Jn(e,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":kl(e,"is",o);break;case"innerText":case"textContent":break;default:(!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(s=sE.get(s)||s,kl(e,s,o))}}function Hf(e,i,s,o,f,p){switch(s){case"style":xp(e,o,p);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(a(61));if(s=o.__html,s!=null){if(f.children!=null)throw Error(a(60));e.innerHTML=s}}break;
vendor: 6,756 bytes, line 9
9case"children":typeof o=="string"?Fr(e,o):(typeof o=="number"||typeof o=="bigint")&&Fr(e,""+o);break;case"onScroll":o!=null&&Mt("scroll",e);break;case"onScrollEnd":o!=null&&Mt("scrollend",e);break;case"onClick":o!=null&&(e.onclick=$n);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!cp.hasOwnProperty(s))t:{if(s[0]==="o"&&s[1]==="n"&&(f=s.endsWith("Capture"),i=s.slice(2,f?s.length-7:void 0),p=e[Le]||null,p=p!=null?p[s]:null,typeof p=="function"&&e.removeEventListener(i,p,f),typeof o=="function")){typeof p!="function"&&p!==null&&(s in e?e[s]=null:e.hasAttribute(s)&&e.removeAttribute(s)),e.addEventListener(i,o,f);break t}s in e?e[s]=o:o===!0?e.setAttribute(s,""):kl(e,s,o)}}}function Ee(e,i,s){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Mt("error",e),Mt("load",e);var o=!1,f=!1,p;for(p in s)if(s.hasOwnProperty(p)){var b=s[p];if(b!=null)switch(p){case"src":o=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:Ft(e,i,p,b,s,null)}}f&&Ft(e,i,"srcSet",s.srcSet,s,null),o&&Ft(e,i,"src",s.src,s,null);return;case"input":Mt("invalid",e);var w=p=b=f=null,O=null,U=null;for(o in s)if(s.hasOwnProperty(o)){var K=s[o];if(K!=null)switch(o){case"name":f=K;break;case"type":b=K;break;case"checked":O=K;break;case"defaultChecked":U=K;break;case"value":p=K;break;case"defaultValue":w=K;break;case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(a(137,i));break;default:Ft(e,i,o,K,s,null)}}pp(e,p,w,O,U,b,f,!1);return;case"select":Mt("invalid",e),o=b=p=null;for(f in s)if(s.hasOwnProperty(f)&&(w=s[f],w!=null))switch(f){case"value":p=w;break;case"defaultValue":b=w;break;case"multiple":o=w;default:Ft(e,i,f,w,s,null)}i=p,s=b,e.multiple=!!o,i!=null?qr(e,!!o,i,!1):s!=null&&qr(e,!!o,s,!0);return;case"textarea":Mt("invalid",e),p=f=o=null;for(b in s)if(s.hasOwnProperty(b)&&(w=s[b],w!=null))switch(b){case"value":o=w;break;case"defaultValue":f=w;break;case"children":p=w;break;case"dangerouslySetInnerHTML":if(w!=null)throw Error(a(91));break;default:Ft(e,i,b,w,s,null)}yp(e,o,f,p);return;case"option":for(O in s)if(s.hasOwnProperty(O)&&(o=s[O],o!=null))switch(O){case"selected":e.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:Ft(e,i,O,o,s,null)}return;case"dialog":Mt("beforetoggle",e),Mt("toggle",e),Mt("cancel",e),Mt("close",e);break;case"iframe":case"object":Mt("load",e);break;case"video":case"audio":for(o=0;o<Ms.length;o++)Mt(Ms[o],e);break;case"image":Mt("error",e),Mt("load",e);break;case"details":Mt("toggle",e);break;case"embed":case"source":case"link":Mt("error",e),Mt("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(U in s)if(s.hasOwnProperty(U)&&(o=s[U],o!=null))switch(U){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:Ft(e,i,U,o,s,null)}return;default:if(tc(i)){for(K in s)s.hasOwnProperty(K)&&(o=s[K],o!==void 0&&Hf(e,i,K,o,s,void 0));return}}for(w in s)s.hasOwnProperty(w)&&(o=s[w],o!=null&&Ft(e,i,w,o,s,null))}function RA(e,i,s,o){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,p=null,b=null,w=null,O=null,U=null,K=null;for(X in s){var tt=s[X];if(s.hasOwnProperty(X)&&tt!=null)switch(X){case"checked":break;case"value":break;case"defaultValue":O=tt;default:o.hasOwnProperty(X)||Ft(e,i,X,null,o,tt)}}for(var q in o){var X=o[q];if(tt=s[q],o.hasOwnProperty(q)&&(X!=null||tt!=null))switch(q){case"type":p=X;break;case"name":f=X;break;case"checked":U=X;break;case"defaultChecked":K=X;break;case"value":b=X;break;case"defaultValue":w=X;break;case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(a(137,i));break;default:X!==tt&&Ft(e,i,q,X,o,tt)}}Ju(e,b,w,O,U,K,p,f);return;case"select":X=b=w=q=null;for(p in s)if(O=s[p],s.hasOwnProperty(p)&&O!=null)switch(p){case"value":break;case"multiple":X=O;default:o.hasOwnProperty(p)||Ft(e,i,p,null,o,O)}for(f in o)if(p=o[f],O=s[f],o.hasOwnProperty(f)&&(p!=null||O!=null))switch(f){case"value":q=p;break;case"defaultValue":w=p;break;case"multiple":b=p;default:p!==O&&Ft(e,i,f,p,o,O)}i=w,s=b,o=X,q!=null?qr(e,!!s,q,!1):!!o!=!!s&&(i!=null?qr(e,!!s,i,!0):qr(e,!!s,s?[]:"",!1));return;case"textarea":X=q=null;for(w in s)if(f=s[w],s.hasOwnProperty(w)&&f!=null&&!o.hasOwnProperty(w))switch(w){case"value":break;case"children":break;default:Ft(e,i,w,null,o,f)}for(b in o)if(f=o[b],p=s[b],o.hasOwnProperty(b)&&(f!=null||p!=null))switch(b){case"value":q=f;break;case"defaultValue":X=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(a(91));break;default:f!==p&&Ft(e,i,b,f,o,p)}gp(e,q,X);return;case"option":for(var ut in s)if(q=s[ut],s.hasOwnProperty(ut)&&q!=null&&!o.hasOwnProperty(ut))switch(ut){case"selected":e.selected=!1;break;default:Ft(e,i,ut,null,o,q)}for(O in o)if(q=o[O],X=s[O],o.hasOwnProperty(O)&&q!==X&&(q!=null||X!=null))switch(O){case"selected":e.selected=q&&typeof q!="function"&&typeof q!="symbol";break;default:Ft(e,i,O,q,o,X)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var vt in s)q=s[vt],s.hasOwnProperty(vt)&&q!=null&&!o.hasOwnProperty(vt)&&Ft(e,i,vt,null,o,q);for(U in o)if(q=o[U],X=s[U],o.hasOwnProperty(U)&&q!==X&&(q!=null||X!=null))switch(U){case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(a(137,i));break;default:Ft(e,i,U,q,o,X)}return;default:if(tc(i)){for(var Yt in s)q=s[Yt],s.hasOwnProperty(Yt)&&q!==void 0&&!o.hasOwnProperty(Yt)&&Hf(e,i,Yt,void 0,o,q);for(K in o)q=o[K],X=s[K],!o.hasOwnProperty(K)||q===X||q===void 0&&X===void 0||Hf(e,i,K,q,o,X);return}}for(var V in s)q=s[V],s.hasOwnProperty(V)&&q!=null&&!o.hasOwnProperty(V)&&Ft(e,i,V,null,o,q);for(tt in o)q=o[tt],X=s[tt],!o.hasOwnProperty(tt)||q===X||q==null&&X==null||Ft(e,i,tt,q,o,X)}function bv(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function zA(){if(typeof performance.getEntriesByType=="function"){for(var e=0,i=0,s=performance.getEntriesByType("resource"),o=0;o<s.length;o++){var f=s[o],p=f.transferSize,b=f.initiatorType,w=f.duration;if(p&&w&&bv(b)){for(b=0,w=f.responseEnd,o+=1;o<s.length;o++){var O=s[o],U=O.startTime;if(U>w)break;var K=O.transferSize,tt=O.initiatorType;K&&bv(tt)&&(O=O.responseEnd,b+=K*(O<w?1:(w-U)/(O-U)))}if(--o,i+=8*(p+b)/(f.duration/1e3),e++,10<e)break}}if(0<e)return i/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var qf=null,Ff=null;
vendor: 14,014 bytes, line 9
9function No(e){return e.nodeType===9?e:e.ownerDocument}function Sv(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function wv(e,i){if(e===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&i==="foreignObject"?0:e}function Yf(e,i){return e==="textarea"||e==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var If=null;function _A(){var e=window.event;return e&&e.type==="popstate"?e===If?!1:(If=e,!0):(If=null,!1)}var Tv=typeof setTimeout=="function"?setTimeout:void 0,LA=typeof clearTimeout=="function"?clearTimeout:void 0,Ev=typeof Promise=="function"?Promise:void 0,VA=typeof queueMicrotask=="function"?queueMicrotask:typeof Ev<"u"?function(e){return Ev.resolve(null).then(e).catch(BA)}:Tv;function BA(e){setTimeout(function(){throw e})}function Hi(e){return e==="head"}function Av(e,i){var s=i,o=0;do{var f=s.nextSibling;if(e.removeChild(s),f&&f.nodeType===8)if(s=f.data,s==="/$"||s==="/&"){if(o===0){e.removeChild(f),ba(i);return}o--}else if(s==="$"||s==="$?"||s==="$~"||s==="$!"||s==="&")o++;else if(s==="html")js(e.ownerDocument.documentElement);else if(s==="head"){s=e.ownerDocument.head,js(s);for(var p=s.firstChild;p;){var b=p.nextSibling,w=p.nodeName;p[Ka]||w==="SCRIPT"||w==="STYLE"||w==="LINK"&&p.rel.toLowerCase()==="stylesheet"||s.removeChild(p),p=b}}else s==="body"&&js(e.ownerDocument.body);s=f}while(s);ba(i)}function Cv(e,i){var s=e;e=0;do{var o=s.nextSibling;if(s.nodeType===1?i?(s._stashedDisplay=s.style.display,s.style.display="none"):(s.style.display=s._stashedDisplay||"",s.getAttribute("style")===""&&s.removeAttribute("style")):s.nodeType===3&&(i?(s._stashedText=s.nodeValue,s.nodeValue=""):s.nodeValue=s._stashedText||""),o&&o.nodeType===8)if(s=o.data,s==="/$"){if(e===0)break;e--}else s!=="$"&&s!=="$?"&&s!=="$~"&&s!=="$!"||e++;s=o}while(s)}function Gf(e){var i=e.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var s=i;switch(i=i.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":Gf(s),Zu(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}e.removeChild(s)}}function PA(e,i,s,o){for(;e.nodeType===1;){var f=s;if(e.nodeName.toLowerCase()!==i.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[Ka])switch(i){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(p=e.getAttribute("rel"),p==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(p!==f.rel||e.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||e.getAttribute("title")!==(f.title==null?null:f.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(p=e.getAttribute("src"),(p!==(f.src==null?null:f.src)||e.getAttribute("type")!==(f.type==null?null:f.type)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&p&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(i==="input"&&e.type==="hidden"){var p=f.name==null?null:""+f.name;if(f.type==="hidden"&&e.getAttribute("name")===p)return e}else return e;if(e=yn(e.nextSibling),e===null)break}return null}function UA(e,i,s){if(i==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!s||(e=yn(e.nextSibling),e===null))return null;return e}function Nv(e,i){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!i||(e=yn(e.nextSibling),e===null))return null;return e}function Xf(e){return e.data==="$?"||e.data==="$~"}function Qf(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function HA(e,i){var s=e.ownerDocument;if(e.data==="$~")e._reactRetry=i;else if(e.data!=="$?"||s.readyState!=="loading")i();else{var o=function(){i(),s.removeEventListener("DOMContentLoaded",o)};s.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function yn(e){for(;e!=null;e=e.nextSibling){var i=e.nodeType;if(i===1||i===3)break;if(i===8){if(i=e.data,i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"||i==="F!"||i==="F")break;if(i==="/$"||i==="/&")return null}}return e}var Kf=null;function kv(e){e=e.nextSibling;for(var i=0;e;){if(e.nodeType===8){var s=e.data;if(s==="/$"||s==="/&"){if(i===0)return yn(e.nextSibling);i--}else s!=="$"&&s!=="$!"&&s!=="$?"&&s!=="$~"&&s!=="&"||i++}e=e.nextSibling}return null}function Mv(e){e=e.previousSibling;for(var i=0;e;){if(e.nodeType===8){var s=e.data;if(s==="$"||s==="$!"||s==="$?"||s==="$~"||s==="&"){if(i===0)return e;i--}else s!=="/$"&&s!=="/&"||i++}e=e.previousSibling}return null}function Ov(e,i,s){switch(i=No(s),e){case"html":if(e=i.documentElement,!e)throw Error(a(452));return e;case"head":if(e=i.head,!e)throw Error(a(453));return e;case"body":if(e=i.body,!e)throw Error(a(454));return e;default:throw Error(a(451))}}function js(e){for(var i=e.attributes;i.length;)e.removeAttributeNode(i[0]);Zu(e)}var vn=new Map,jv=new Set;function ko(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var pi=G.d;G.d={f:qA,r:FA,D:YA,C:IA,L:GA,m:XA,X:KA,S:QA,M:ZA};function qA(){var e=pi.f(),i=xo();return e||i}function FA(e){var i=Pr(e);i!==null&&i.tag===5&&i.type==="form"?Qg(i):pi.r(e)}var ya=typeof document>"u"?null:document;function Dv(e,i,s){var o=ya;if(o&&typeof i=="string"&&i){var f=cn(i);f='link[rel="'+e+'"][href="'+f+'"]',typeof s=="string"&&(f+='[crossorigin="'+s+'"]'),jv.has(f)||(jv.add(f),e={rel:e,crossOrigin:s,href:i},o.querySelector(f)===null&&(i=o.createElement("link"),Ee(i,"link",e),ve(i),o.head.appendChild(i)))}}function YA(e){pi.D(e),Dv("dns-prefetch",e,null)}function IA(e,i){pi.C(e,i),Dv("preconnect",e,i)}function GA(e,i,s){pi.L(e,i,s);var o=ya;if(o&&e&&i){var f='link[rel="preload"][as="'+cn(i)+'"]';i==="image"&&s&&s.imageSrcSet?(f+='[imagesrcset="'+cn(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(f+='[imagesizes="'+cn(s.imageSizes)+'"]')):f+='[href="'+cn(e)+'"]';var p=f;switch(i){case"style":p=va(e);break;case"script":p=xa(e)}vn.has(p)||(e=y({rel:"preload",href:i==="image"&&s&&s.imageSrcSet?void 0:e,as:i},s),vn.set(p,e),o.querySelector(f)!==null||i==="style"&&o.querySelector(Ds(p))||i==="script"&&o.querySelector(Rs(p))||(i=o.createElement("link"),Ee(i,"link",e),ve(i),o.head.appendChild(i)))}}function XA(e,i){pi.m(e,i);var s=ya;if(s&&e){var o=i&&typeof i.as=="string"?i.as:"script",f='link[rel="modulepreload"][as="'+cn(o)+'"][href="'+cn(e)+'"]',p=f;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":p=xa(e)}if(!vn.has(p)&&(e=y({rel:"modulepreload",href:e},i),vn.set(p,e),s.querySelector(f)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(Rs(p)))return}o=s.createElement("link"),Ee(o,"link",e),ve(o),s.head.appendChild(o)}}}function QA(e,i,s){pi.S(e,i,s);var o=ya;if(o&&e){var f=Ur(o).hoistableStyles,p=va(e);i=i||"default";var b=f.get(p);if(!b){var w={loading:0,preload:null};if(b=o.querySelector(Ds(p)))w.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":i},s),(s=vn.get(p))&&Zf(e,s);var O=b=o.createElement("link");ve(O),Ee(O,"link",e),O._p=new Promise(function(U,K){O.onload=U,O.onerror=K}),O.addEventListener("load",function(){w.loading|=1}),O.addEventListener("error",function(){w.loading|=2}),w.loading|=4,Mo(b,i,o)}b={type:"stylesheet",instance:b,count:1,state:w},f.set(p,b)}}}function KA(e,i){pi.X(e,i);var s=ya;if(s&&e){var o=Ur(s).hoistableScripts,f=xa(e),p=o.get(f);p||(p=s.querySelector(Rs(f)),p||(e=y({src:e,async:!0},i),(i=vn.get(f))&&Wf(e,i),p=s.createElement("script"),ve(p),Ee(p,"link",e),s.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},o.set(f,p))}}function ZA(e,i){pi.M(e,i);var s=ya;if(s&&e){var o=Ur(s).hoistableScripts,f=xa(e),p=o.get(f);p||(p=s.querySelector(Rs(f)),p||(e=y({src:e,async:!0,type:"module"},i),(i=vn.get(f))&&Wf(e,i),p=s.createElement("script"),ve(p),Ee(p,"link",e),s.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},o.set(f,p))}}function Rv(e,i,s,o){var f=(f=pt.current)?ko(f):null;if(!f)throw Error(a(446));switch(e){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(i=va(s.href),s=Ur(f).hoistableStyles,o=s.get(i),o||(o={type:"style",instance:null,count:0,state:null},s.set(i,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){e=va(s.href);var p=Ur(f).hoistableStyles,b=p.get(e);if(b||(f=f.ownerDocument||f,b={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},p.set(e,b),(p=f.querySelector(Ds(e)))&&!p._p&&(b.instance=p,b.state.loading=5),vn.has(e)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},vn.set(e,s),p||WA(f,e,s,b.state))),i&&o===null)throw Error(a(528,""));return b}if(i&&o!==null)throw Error(a(529,""));return null;case"script":return i=s.async,s=s.src,typeof s=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=xa(s),s=Ur(f).hoistableScripts,o=s.get(i),o||(o={type:"script",instance:null,count:0,state:null},s.set(i,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,e))}}function va(e){return'href="'+cn(e)+'"'}function Ds(e){return'link[rel="stylesheet"]['+e+"]"}function zv(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function WA(e,i,s,o){e.querySelector('link[rel="preload"][as="style"]['+i+"]")?o.loading=1:(i=e.createElement("link"),o.preload=i,i.addEventListener("load",function(){return o.loading|=1}),i.addEventListener("error",function(){return o.loading|=2}),Ee(i,"link",s),ve(i),e.head.appendChild(i))}function xa(e){return'[src="'+cn(e)+'"]'}function Rs(e){return"script[async]"+e}function _v(e,i,s){if(i.count++,i.instance===null)switch(i.type){case"style":var o=e.querySelector('style[data-href~="'+cn(s.href)+'"]');if(o)return i.instance=o,ve(o),o;var f=y({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),ve(o),Ee(o,"style",f),Mo(o,s.precedence,e),i.instance=o;case"stylesheet":f=va(s.href);var p=e.querySelector(Ds(f));if(p)return i.state.loading|=4,i.instance=p,ve(p),p;o=zv(s),(f=vn.get(f))&&Zf(o,f),p=(e.ownerDocument||e).createElement("link"),ve(p);var b=p;return b._p=new Promise(function(w,O){b.onload=w,b.onerror=O}),Ee(p,"link",o),i.state.loading|=4,Mo(p,s.precedence,e),i.instance=p;case"script":return p=xa(s.src),(f=e.querySelector(Rs(p)))?(i.instance=f,ve(f),f):(o=s,(f=vn.get(p))&&(o=y({},s),Wf(o,f)),e=e.ownerDocument||e,f=e.createElement("script"),ve(f),Ee(f,"link",o),e.head.appendChild(f),i.instance=f);case"void":return null;default:throw Error(a(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(o=i.instance,i.state.loading|=4,Mo(o,s.precedence,e));return i.instance}function Mo(e,i,s){for(var o=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=o.length?o[o.length-1]:null,p=f,b=0;b<o.length;b++){var w=o[b];if(w.dataset.precedence===i)p=w;else if(p!==f)break}p?p.parentNode.insertBefore(e,p.nextSibling):(i=s.nodeType===9?s.head:s,i.insertBefore(e,i.firstChild))}function Zf(e,i){e.crossOrigin==null&&(e.crossOrigin=i.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=i.referrerPolicy),e.title==null&&(e.title=i.title)}function Wf(e,i){e.crossOrigin==null&&(e.crossOrigin=i.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=i.referrerPolicy),e.integrity==null&&(e.integrity=i.integrity)}var Oo=null;function Lv(e,i,s){if(Oo===null){var o=new Map,f=Oo=new Map;f.set(s,o)}else f=Oo,o=f.get(s),o||(o=new Map,f.set(s,o));if(o.has(e))return o;for(o.set(e,null),s=s.getElementsByTagName(e),f=0;f<s.length;f++){var p=s[f];if(!(p[Ka]||p[be]||e==="link"&&p.getAttribute("rel")==="stylesheet")&&p.namespaceURI!=="http://www.w3.org/2000/svg"){var b=p.getAttribute(i)||"";b=e+b;var w=o.get(b);w?w.push(p):o.set(b,[p])}}return o}function Vv(e,i,s){e=e.ownerDocument||e,e.head.insertBefore(s,i==="title"?e.querySelector("head > title"):null)}function JA(e,i,s){if(s===1||i.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return e=i.disabled,typeof i.precedence=="string"&&e==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function Bv(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function $A(e,i,s,o){if(s.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var f=va(o.href),p=i.querySelector(Ds(f));if(p){i=p._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(e.count++,e=jo.bind(e),i.then(e,e)),s.state.loading|=4,s.instance=p,ve(p);return}p=i.ownerDocument||i,o=zv(o),(f=vn.get(f))&&Zf(o,f),p=p.createElement("link"),ve(p);var b=p;b._p=new Promise(function(w,O){b.onload=w,b.onerror=O}),Ee(p,"link",o),s.instance=p}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(s,i),(i=s.state.preload)&&(s.state.loading&3)===0&&(e.count++,s=jo.bind(e),i.addEventListener("load",s),i.addEventListener("error",s))}}var Jf=0;function tC(e,i){return e.stylesheets&&e.count===0&&Ro(e,e.stylesheets),0<e.count||0<e.imgCount?function(s){var o=setTimeout(function(){if(e.stylesheets&&Ro(e,e.stylesheets),e.unsu
vendor: 3,843 bytes, line 9
9spend){var p=e.unsuspend;e.unsuspend=null,p()}},6e4+i);0<e.imgBytes&&Jf===0&&(Jf=62500*zA());var f=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Ro(e,e.stylesheets),e.unsuspend)){var p=e.unsuspend;e.unsuspend=null,p()}},(e.imgBytes>Jf?50:800)+i);return e.unsuspend=s,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(f)}}:null}function jo(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ro(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Do=null;function Ro(e,i){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Do=new Map,i.forEach(eC,e),Do=null,jo.call(e))}function eC(e,i){if(!(i.state.loading&4)){var s=Do.get(e);if(s)var o=s.get(null);else{s=new Map,Do.set(e,s);for(var f=e.querySelectorAll("link[data-precedence],style[data-precedence]"),p=0;p<f.length;p++){var b=f[p];(b.nodeName==="LINK"||b.getAttribute("media")!=="not all")&&(s.set(b.dataset.precedence,b),o=b)}o&&s.set(null,o)}f=i.instance,b=f.getAttribute("data-precedence"),p=s.get(b)||o,p===o&&s.set(null,f),s.set(b,f),this.count++,o=jo.bind(this),f.addEventListener("load",o),f.addEventListener("error",o),p?p.parentNode.insertBefore(f,p.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(f,e.firstChild)),i.state.loading|=4}}var zs={$$typeof:j,Provider:null,Consumer:null,_currentValue:B,_currentValue2:B,_threadCount:0};function nC(e,i,s,o,f,p,b,w,O){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Gu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gu(0),this.hiddenUpdates=Gu(null),this.identifierPrefix=o,this.onUncaughtError=f,this.onCaughtError=p,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=O,this.incompleteTransitions=new Map}function Pv(e,i,s,o,f,p,b,w,O,U,K,tt){return e=new nC(e,i,s,b,O,U,K,tt,w),i=1,p===!0&&(i|=24),p=We(3,null,null,i),e.current=p,p.stateNode=e,i=Oc(),i.refCount++,e.pooledCache=i,i.refCount++,p.memoizedState={element:o,isDehydrated:s,cache:i},zc(p),e}function Uv(e){return e?(e=Zr,e):Zr}function Hv(e,i,s,o,f,p){f=Uv(f),o.context===null?o.context=f:o.pendingContext=f,o=Oi(i),o.payload={element:s},p=p===void 0?null:p,p!==null&&(o.callback=p),s=ji(e,o,i),s!==null&&(qe(s,e,i),ds(s,e,i))}function qv(e,i){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var s=e.retryLane;e.retryLane=s!==0&&s<i?s:i}}function $f(e,i){qv(e,i),(e=e.alternate)&&qv(e,i)}function Fv(e){if(e.tag===13||e.tag===31){var i=ur(e,67108864);i!==null&&qe(i,e,67108864),$f(e,67108864)}}function Yv(e){if(e.tag===13||e.tag===31){var i=nn();i=Xu(i);var s=ur(e,i);s!==null&&qe(s,e,i),$f(e,i)}}var zo=!0;function iC(e,i,s,o){var f=L.T;L.T=null;var p=G.p;try{G.p=2,td(e,i,s,o)}finally{G.p=p,L.T=f}}function rC(e,i,s,o){var f=L.T;L.T=null;var p=G.p;try{G.p=8,td(e,i,s,o)}finally{G.p=p,L.T=f}}function td(e,i,s,o){if(zo){var f=ed(o);if(f===null)Uf(e,i,o,_o,s),Gv(e,o);else if(sC(f,e,i,s,o))o.stopPropagation();else if(Gv(e,o),i&4&&-1<aC.indexOf(e)){for(;f!==null;){var p=Pr(f);if(p!==null)switch(p.tag){case 3:if(p=p.stateNode,p.current.memoizedState.isDehydrated){var b=rr(p.pendingLanes);if(b!==0){var w=p;for(w.pendingLanes|=2,w.entangledLanes|=2;b;){var O=1<<31-It(b);w.entanglements[1]|=O,b&=~O}Bn(p),(Lt&6)===0&&(yo=Oe()+500,ks(0))}}break;case 31:case 13:w=ur(p,2),w!==null&&qe(w,p,2),xo(),$f(p,2)}if(p=ed(o),p===null&&Uf(e,i,o,_o,s),p===f)break;f=p}f!==null&&o.stopPropagation()}else Uf(e,i,o,null,s)}}function ed(e){return e=nc(e),nd(e)}var _o=null;
vendor: 4,315 bytes, line 9
9function nd(e){if(_o=null,e=Br(e),e!==null){var i=u(e);if(i===null)e=null;else{var s=i.tag;if(s===13){if(e=c(i),e!==null)return e;e=null}else if(s===31){if(e=d(i),e!==null)return e;e=null}else if(s===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;e=null}else i!==e&&(e=null)}}return _o=e,null}function Iv(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Iu()){case W:return 2;case st:return 8;case xt:case Nt:return 32;case Pt:return 268435456;default:return 32}default:return 32}}var id=!1,qi=null,Fi=null,Yi=null,_s=new Map,Ls=new Map,Ii=[],aC="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Gv(e,i){switch(e){case"focusin":case"focusout":qi=null;break;case"dragenter":case"dragleave":Fi=null;break;case"mouseover":case"mouseout":Yi=null;break;case"pointerover":case"pointerout":_s.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ls.delete(i.pointerId)}}function Vs(e,i,s,o,f,p){return e===null||e.nativeEvent!==p?(e={blockedOn:i,domEventName:s,eventSystemFlags:o,nativeEvent:p,targetContainers:[f]},i!==null&&(i=Pr(i),i!==null&&Fv(i)),e):(e.eventSystemFlags|=o,i=e.targetContainers,f!==null&&i.indexOf(f)===-1&&i.push(f),e)}function sC(e,i,s,o,f){switch(i){case"focusin":return qi=Vs(qi,e,i,s,o,f),!0;case"dragenter":return Fi=Vs(Fi,e,i,s,o,f),!0;case"mouseover":return Yi=Vs(Yi,e,i,s,o,f),!0;case"pointerover":var p=f.pointerId;return _s.set(p,Vs(_s.get(p)||null,e,i,s,o,f)),!0;case"gotpointercapture":return p=f.pointerId,Ls.set(p,Vs(Ls.get(p)||null,e,i,s,o,f)),!0}return!1}function Xv(e){var i=Br(e.target);if(i!==null){var s=u(i);if(s!==null){if(i=s.tag,i===13){if(i=c(s),i!==null){e.blockedOn=i,lp(e.priority,function(){Yv(s)});return}}else if(i===31){if(i=d(s),i!==null){e.blockedOn=i,lp(e.priority,function(){Yv(s)});return}}else if(i===3&&s.stateNode.current.memoizedState.isDehydrated){e.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Lo(e){if(e.blockedOn!==null)return!1;for(var i=e.targetContainers;0<i.length;){var s=ed(e.nativeEvent);if(s===null){s=e.nativeEvent;var o=new s.constructor(s.type,s);ec=o,s.target.dispatchEvent(o),ec=null}else return i=Pr(s),i!==null&&Fv(i),e.blockedOn=s,!1;i.shift()}return!0}function Qv(e,i,s){Lo(e)&&s.delete(i)}function lC(){id=!1,qi!==null&&Lo(qi)&&(qi=null),Fi!==null&&Lo(Fi)&&(Fi=null),Yi!==null&&Lo(Yi)&&(Yi=null),_s.forEach(Qv),Ls.forEach(Qv)}function Vo(e,i){e.blockedOn===i&&(e.blockedOn=null,id||(id=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,lC)))}var Bo=null;function Kv(e){Bo!==e&&(Bo=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Bo===e&&(Bo=null);for(var i=0;i<e.length;i+=3){var s=e[i],o=e[i+1],f=e[i+2];if(typeof o!="function"){if(nd(o||s)===null)continue;break}var p=Pr(s);p!==null&&(e.splice(i,3),i-=3,tf(p,{pending:!0,data:f,method:s.method,action:o},o,f))}}))}function ba(e){function i(O){return Vo(O,e)}qi!==null&&Vo(qi,e),Fi!==null&&Vo(Fi,e),Yi!==null&&Vo(Yi,e),_s.forEac
9h(i),Ls.forEach(i);for(var s=0;s<Ii.length;s++){var o=Ii[s];o.blockedOn===e&&(o.blockedOn=null)}for(;0<Ii.length&&(s=Ii[0],s.blockedOn===null);)Xv(s),s.blockedOn===null&&Ii.shift();if(s=(e.ownerDocument||e).$$reactFormReplay,s!=null)for(o=0;o<s.length;o+=3){var f=s[o],p=s[o+1],b=f[Le]||null;if(typeof p=="function")b||Kv(s);else if(b){var w=null;if(p&&p.hasAttribute("formAction")){if(f=p,b=p[Le]||null)w=b.formAction;else if(nd(f)!==null)continue}else w=b.action;typeof w=="function"?s[o+1]=w:(s.splice(o,3),o-=3),Kv(s)}}}function Zv(){function e(p){p.canIntercept&&p.info==="react-transition"&&p.intercept({handler:function(){return new Promise(function(b){return f=b})},focusReset:"manual",scroll:"manual"})}function i(){f!==null&&(f(),f=null),o||setTimeout(s,20)}function s(){if(!o&&!navigation.transition){var p=navigation.currentEntry;p&&p.url!=null&&navigation.navigate(p.url,{state:p.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,f=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",i),navigation.addEventListener("navigateerror",i),setTimeout(s,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",i),navigation.removeEventListener("navigateerror",i),f!==null&&(f(),f=null)}}}function rd(e){this._internalRoot=e}Po.prototype.render=rd.prototype.render=function(e){var i=this._internalRoot;if(i===null)throw Error(a(409));var s=i.current,o=nn();Hv(s,o,e,i,null,null)},Po.prototype.unmount=rd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var i=e.containerInfo;Hv(e.current,2,null,e,null,null),xo(),i[Vr]=null}};function Po(e){this._internalRoot=e}Po.prototype.unstable_scheduleHydration=function(e){if(e){var i=sp();e={blockedOn:null,target:e,priority:i};for(var s=0;s<Ii.length&&i!==0&&i<Ii[s].priority;s++);Ii.splice(s,0,e),s===0&&Xv(e)}};var Wv=n.version;if(Wv!=="19.2.1")throw Error(a(527,Wv,"19.2.1"));G.findDOMNode=function(e){var i=e._reactInternals;if(i===void 0)throw typeof e.render=="function"?Error(a(188)):(e=Object.keys(e).join(","),Error(a(268,e)));return e=h(i),e=e!==null?g(e):null,e=e===null?null:e.stateNode,e};var oC={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.2.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Uo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Uo.isDisabled&&Uo.supportsFiber)try{je=Uo.inject(oC),he=Uo}catch{}}return Ps.createRoot=function(e,i){if(!l(e))throw Error(a(299));var s=!1,o="",f=ry,p=ay,b=sy;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(o=i.identifierPrefix),i.onUncaughtError!==void 0&&(f=i.onUncaughtError),i.onCaughtError!==void 0&&(p=i.onCaughtError),i.onRecoverableError!==void 0&&(b=i.onRecoverableError)),i=Pv(e,1,!1,null,null,s,o,null,f,p,b,Zv),e[Vr]=i.current,Pf(e),new rd(i)},Ps.hydrateRoot=function(e,i,s){if(!l(e))throw Error(a(299));var o=!1,f="",p=ry,b=ay,w=sy,O=null;return s!=null&&(s.unstable_strictMode===!0&&(o=!0),s.identifierPrefix!==void 0&&(f=s.identifierPrefix),s.onUncaughtError!==void 0&&(p=s.onUncaughtError),s.onCaughtError!==void 0&&(b=s.onCaughtError),s.onRecoverableError!==void 0&&(w=s.onRecoverableError),s.formState!==void 0&&(O=s.formState)),i=Pv(e,1,!0,i,s??null,o,f,O,p,b,w,Zv),i.context=Uv(null),s=i.current,o=nn(),o=Xu(o),f=Oi(o),f.callback=null,ji(s,f,o),s=o,i.current.lanes=s,Qa(i,s),Bn(i),e[Vr]=i.current,Pf(e),new Po(i)},Ps.version="19.2.1",Ps}var lx;function vC(){if(lx)return ld.exports;lx=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}return t(),ld.exports=yC(),ld.exports}var xC=vC();const bC=dl(xC);function SC(t,n){if(t instanceof RegExp)return{keys:!1,pattern:t};var r,a,l,u,c=[],d="",m=t.split("/");for(m[0]||m.shift();l=m.shift();)r=l[0],r==="*"?(c.push(r),d+=l[1]==="?"?"(?:/(.*))?":"/(.*)"):r===":"?(a=l.indexOf("?",1),u=l.indexOf(".",1),c.push(l.substring(1,~a?a:~u?u:l.length)),d+=~a&&!~u?"(?:/([^/]+?))?":"/([^/]+?)",~u&&(d+=(~a?"?":"")+"\\"+l.substring(u))):d+="/"+l;return{keys:c,pattern:new RegExp("^"+d+(n?"(?=$|/)":"/?$"),"i")}}var fd={exports:{}},dd={};var ox;function wC(){if(ox)return dd;ox=1;var t=wu();function n(y,x){return y===x&&(y!==0||1/y===1/x)||y!==y&&x!==x}
9var r=typeof Object.is=="function"?Object.is:n,a=t.useState,l=t.useEffect,u=t.useLayoutEffect,c=t.useDebugValue;function d(y,x){var S=x(),E=a({inst:{value:S,getSnapshot:x}}),A=E[0].inst,N=E[1];return u(function(){A.value=S,A.getSnapshot=x,m(A)&&N({inst:A})},[y,S,x]),l(function(){return m(A)&&N({inst:A}),y(function(){m(A)&&N({inst:A})})},[y]),c(S),S}function m(y){var x=y.getSnapshot;y=y.value;try{var S=x();return!r(y,S)}catch{return!0}}function h(y,x){return x()}var g=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:d;return dd.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:g,dd}var ux;function TC(){return ux||(ux=1,fd.exports=wC()),fd.exports}var EC=TC();const AC=Ph.useInsertionEffect,CC=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",NC=CC?C.useLayoutEffect:C.useEffect,kC=AC||NC,G0=t=>{const n=C.useRef([t,(...r)=>n[0](...r)]).current;return kC(()=>{n[0]=t}),n[1]},MC="popstate",Uh="pushState",Hh="replaceState",OC="hashchange",cx=[MC,Uh,Hh,OC],jC=t=>{for(const n of cx)addEventListener(n,t);return()=>{for(const n of cx)removeEventListener(n,t)}},X0=(t,n)=>EC.useSyncExternalStore(jC,t,n),fx=()=>location.search,DC=({ssrSearch:t}={})=>X0(fx,t!=null?()=>t:fx),dx=()=>location.pathname,RC=({ssrPath:t}={})=>X0(dx,t!=null?()=>t:dx),zC=(t,{replace:n=!1,state:r=null}={})=>history[n?Hh:Uh](r,"",t),_C=(t={})=>[RC(t),zC],hx=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[hx]>"u"){for(const t of[Uh,Hh]){const n=history[t];history[t]=function(){const r=n.apply(this,arguments),a=new Event(t);return a.arguments=arguments,dispatchEvent(a),r}}Object.defineProperty(window,hx,{value:!0})}const LC=(t,n)=>n.toLowerCase().indexOf(t.toLowerCase())?"~"+n:n.slice(t.length)||"/",Q0=(t="")=>t==="/"?"":t,VC=(t,n)=>t[0]==="~"?t.slice(1):Q0(n)+t,BC=(t="",n)=>LC(mx(Q0(t)),mx(n)),mx=t=>{try{return decodeURI(t)}catch{return t}},K0={hook:_C,searchHook:DC,parser:SC,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:t=>t},Z0=C.createContext(K0),La=()=>C.useContext(Z0),W0={},J0=C.createContext(W0),PC=()=>C.useContext(J0),Tu=t=>{const[n,r]=t.hook(t);return[BC(t.base,n),G0((a,l)=>r(VC(a,t.base),l))]},UC=()=>Tu(La()),qh=(t,n,r,a)=>{const{pattern:l,keys:u}=n instanceof RegExp?{keys:!1,pattern:n}:t(n||"*",a),c=l.exec(r)||[],[d,...m]=c;return d!==void 0?[!0,(()=>{const h=u!==!1?Object.fromEntries(u.map((y,x)=>[y,m[x]])):c.groups;let g={...m};return h&&Object.assign(g,h),g})(),...a?[d]:[]]:[!1,null]},HC=t=>qh(La().parser,t,UC()[0]),$0=({children:t,...n})=>{const r=La(),a=n.hook?K0:r;let l=a;const[u,c=n.ssrSearch??""]=n.ssrPath?.split("?")??[];u&&(n.ssrSearch=c,n.ssrPath=u),n.hrefs=n.hrefs??n.hook?.hrefs,n.searchHook=n.searchHook??n.hook?.searchHook;let d=C.useRef({}),m=d.current,h=m;for(let g in a){const y=g==="base"?a[g]+(n[g]??""):n[g]??a[g];m===h&&y!==h[g]&&(d.current=h={...h}),h[g]=y,(y!==a[g]||y!==l[g])&&(l=h)}return C.createElement(Z0.Provider,{value:l,children:t})},px=({children:t,component:n},r)=>n?C.createElement(n,{params:r}):typeof t=="function"?t(r):t,qC=t=>{let n=C.useRef(W0);const r=n.current;return n.current=Object.keys(t).length!==Object.keys(r).length||Object.entries(t).some(([a,l])=>l!==r[a])?t:r},wr=({path:t,nest:n,match:r,...a})=>{const l=La(),[u]=Tu(l),[c,d,m]=r??qh(l.parser,t,u,n),h=qC({...PC(),...d});if(!c)return null;const g=m?C.createElement($0,{base:m},px(a,h)):px(a,h);return C.createElement(J0.Provider,{value:h,children:g})},jn=C.forwardRef((t,n)=>{const r=La(),[a,l]=Tu(r),{to:u="",href:c=u,onClick:d,asChild:m,children:h,className:g,replace:y,state:x,...S}=t,E=G0(N=>{N.ctrlKey||N.metaKey||N.altKey||N.shiftKey||N.button!==0||(d?.(N),N.defaultPrevented||(N.preventDefault(),l(c,t)))}),A=r.hrefs(c[0]==="~"?c.slice(1):r.base+c,r);return m&&C.isValidElement(h)?C.cloneElement(h,{onClick:E,href:A}):C.createElement("a",{...S,onClick:E,href:A,className:g?.call?g(a===c):g,children:h,ref:n})}),t1=t=>Array.isArray(t)?t.flatMap(n=>t1(n&&n.type===C.Fragment?n.props.children:n)):[t],FC=({children:t,location:n})=>{const r=La(),[a]=Tu(r);for(const l of t1(t)){let u=0;if(C.isValidElement(l)&&(u=qh(r.parser,l.props.path,n||a,l.props.nest))[0])return C.cloneElement(l,{match:u})}return null};var Eu=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},YC={setTimeout:(t,n)=>setTimeout(t,n),clearTimeout:t=>clearTimeout(t),setInterval:(t,n)=>setInterval(t,n),clearInterval:t=>clearInterval(t)},IC=class{#t=YC;#e=!1;setTimeoutProvider(t){this.#t=t}setTimeout(t,n){return this.#t.setTimeout(t,n)}clearTimeout(t){this.#t.clearTimeout(t)}setInterval(t,n){return this.#t.setInterval(t,n)}clearInterval(t){this.#t.clearInterval(t)}},Qd=new IC;function GC(t){setTimeout(t,0)}var Au=typeof window>"u"||"Deno"in globalThis;function On(){}function XC(t,n){return typeof t=="function"?t(n):t}function QC(t){return typeof t=="number"&&t>=0&&t!==1/0}
vendor: 20,172 bytes, line 9
9function KC(t,n){return Math.max(t+(n||0)-Date.now(),0)}function Kd(t,n){return typeof t=="function"?t(n):t}function ZC(t,n){return typeof t=="function"?t(n):t}function gx(t,n){const{type:r="all",exact:a,fetchStatus:l,predicate:u,queryKey:c,stale:d}=t;if(c){if(a){if(n.queryHash!==Fh(c,n.options))return!1}else if(!nl(n.queryKey,c))return!1}if(r!=="all"){const m=n.isActive();if(r==="active"&&!m||r==="inactive"&&m)return!1}return!(typeof d=="boolean"&&n.isStale()!==d||l&&l!==n.state.fetchStatus||u&&!u(n))}function yx(t,n){const{exact:r,status:a,predicate:l,mutationKey:u}=t;if(u){if(!n.options.mutationKey)return!1;if(r){if(el(n.options.mutationKey)!==el(u))return!1}else if(!nl(n.options.mutationKey,u))return!1}return!(a&&n.state.status!==a||l&&!l(n))}function Fh(t,n){return(n?.queryKeyHashFn||el)(t)}function el(t){return JSON.stringify(t,(n,r)=>Zd(r)?Object.keys(r).sort().reduce((a,l)=>(a[l]=r[l],a),{}):r)}function nl(t,n){return t===n?!0:typeof t!=typeof n?!1:t&&n&&typeof t=="object"&&typeof n=="object"?Object.keys(n).every(r=>nl(t[r],n[r])):!1}var WC=Object.prototype.hasOwnProperty;function e1(t,n){if(t===n)return t;const r=vx(t)&&vx(n);if(!r&&!(Zd(t)&&Zd(n)))return n;const l=(r?t:Object.keys(t)).length,u=r?n:Object.keys(n),c=u.length,d=r?new Array(c):{};let m=0;for(let h=0;h<c;h++){const g=r?h:u[h],y=t[g],x=n[g];if(y===x){d[g]=y,(r?h<l:WC.call(t,g))&&m++;continue}if(y===null||x===null||typeof y!="object"||typeof x!="object"){d[g]=x;continue}const S=e1(y,x);d[g]=S,S===y&&m++}return l===c&&m===l?t:d}function vx(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function Zd(t){if(!xx(t))return!1;const n=t.constructor;if(n===void 0)return!0;const r=n.prototype;return!(!xx(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function xx(t){return Object.prototype.toString.call(t)==="[object Object]"}function JC(t){return new Promise(n=>{Qd.setTimeout(n,t)})}function $C(t,n,r){return typeof r.structuralSharing=="function"?r.structuralSharing(t,n):r.structuralSharing!==!1?e1(t,n):n}function t2(t,n,r=0){const a=[...t,n];return r&&a.length>r?a.slice(1):a}function e2(t,n,r=0){const a=[n,...t];return r&&a.length>r?a.slice(0,-1):a}var Yh=Symbol();function n1(t,n){return!t.queryFn&&n?.initialPromise?()=>n.initialPromise:!t.queryFn||t.queryFn===Yh?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}var n2=class extends Eu{#t;#e;#n;constructor(){super(),this.#n=t=>{if(!Au&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#n=t,this.#e?.(),this.#e=t(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()})}setFocused(t){this.#t!==t&&(this.#t=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},i1=new n2;function i2(){let t,n;const r=new Promise((l,u)=>{t=l,n=u});r.status="pending",r.catch(()=>{});function a(l){Object.assign(r,l),delete r.resolve,delete r.reject}return r.resolve=l=>{a({status:"fulfilled",value:l}),t(l)},r.reject=l=>{a({status:"rejected",reason:l}),n(l)},r}var r2=GC;function a2(){let t=[],n=0,r=d=>{d()},a=d=>{d()},l=r2;const u=d=>{n?t.push(d):l(()=>{r(d)})},c=()=>{const d=t;t=[],d.length&&l(()=>{a(()=>{d.forEach(m=>{r(m)})})})};return{batch:d=>{let m;n++;try{m=d()}finally{n--,n||c()}return m},batchCalls:d=>(...m)=>{u(()=>{d(...m)})},schedule:u,setNotifyFunction:d=>{r=d},setBatchNotifyFunction:d=>{a=d},setScheduler:d=>{l=d}}}var Re=a2(),s2=class extends Eu{#t=!0;#e;#n;constructor(){super(),this.#n=t=>{if(!Au&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#n=t,this.#e?.(),this.#e=t(this.setOnline.bind(this))}setOnline(t){this.#t!==t&&(this.#t=t,this.listeners.forEach(r=>{r(t)}))}isOnline(){return this.#t}},lu=new s2;function l2(t){return Math.min(1e3*2**t,3e4)}function r1(t){return(t??"online")==="online"?lu.isOnline():!0}var Wd=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function a1(t){let n=!1,r=0,a;const l=i2(),u=()=>l.status!=="pending",c=A=>{if(!u()){const N=new Wd(A);x(N),t.onCancel?.(N)}},d=()=>{n=!0},m=()=>{n=!1},h=()=>i1.isFocused()&&(t.networkMode==="always"||lu.isOnline())&&t.canRun(),g=()=>r1(t.networkMode)&&t.canRun(),y=A=>{u()||(a?.(),l.resolve(A))},x=A=>{u()||(a?.(),l.reject(A))},S=()=>new Promise(A=>{a=N=>{(u()||h())&&A(N)},t.onPause?.()}).then(()=>{a=void 0,u()||t.onContinue?.()}),E=()=>{if(u())return;let A;const N=r===0?t.initialPromise:void 0;try{A=N??t.fn()}catch(k){A=Promise.reject(k)}Promise.resolve(A).then(y).catch(k=>{if(u())return;const _=t.retry??(Au?0:3),j=t.retryDelay??l2,F=typeof j=="function"?j(r,k):j,H=_===!0||typeof _=="number"&&r<_||typeof _=="function"&&_(r,k);if(n||!H){x(k);return}r++,t.onFail?.(r,k),JC(F).then(()=>h()?void 0:S()).then(()=>{n?x(k):E()})})};return{promise:l,status:()=>l.status,cancel:c,continue:()=>(a?.(),l),cancelRetry:d,continueRetry:m,canStart:g,start:()=>(g()?E():S().then(E),l)}}var s1=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),QC(this.gcTime)&&(this.#t=Qd.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(Au?1/0:300*1e3))}clearGcTimeout(){this.#t&&(Qd.clearTimeout(this.#t),this.#t=void 0)}},o2=class extends s1{#t;#e;#n;#r;#i;#s;#l;constructor(t){super(),this.#l=!1,this.#s=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#r=t.client,this.#n=this.#r.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#t=Sx(this.options),this.state=t.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#i?.promise}setOptions(t){if(this.options={...this.#s,...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=Sx(this.options);n.data!==void 0&&(this.setState(bx(n.data,n.dataUpdatedAt)),this.#t=n)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(t,n){const r=$C(this.state.data,t,this.options);return this.#a({data:r,type:"success",dataUpdatedAt:n?.updatedAt,manual:n?.manual}),r}setState(t,n){this.#a({type:"setState",state:t,setStateOptions:n})}cancel(t){const n=this.#i?.promise;return this.#i?.cancel(t),n?n.then(On).catch(On):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#t)}isActive(){return this.observers.some(t=>ZC(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Yh||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Kd(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!KC(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(n=>n.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){this.observers.find(n=>n.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(this.#i&&(this.#l?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#a({type:"invalidate"})}async fetch(t,n){if(this.state.fetchStatus!=="idle"&&this.#i?.status()!=="rejected"){if(this.state.data!==void 0&&n?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(m=>m.options.queryFn);d&&this.setOptions(d.options)}const r=new AbortController,a=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(this.#l=!0,r.signal)})},l=()=>{const d=n1(this.options,n),h=(()=>{const g={client:this.#r,queryKey:this.queryKey,meta:this.meta};return a(g),g})();return this.#l=!1,this.options.persister?this.options.persister(d,h,this):d(h)},c=(()=>{const d={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:l};return a(d),d})();this.options.behavior?.onFetch(c,this),this.#e=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==c.fetchOptions?.meta)&&this.#a({type:"fetch",meta:c.fetchOptions?.meta}),this.#i=a1({initialPromise:n?.initialPromise,fn:c.fetchFn,onCancel:d=>{d instanceof Wd&&d.revert&&this.setState({...this.#e,fetchStatus:"idle"}),r.abort()},onFail:(d,m)=>{this.#a({type:"failed",failureCount:d,error:m})},onPause:()=>{this.#a({type:"pause"})},onContinue:()=>{this.#a({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:()=>!0});try{const d=await this.#i.start();if(d===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(d),this.#n.config.onSuccess?.(d,this),this.#n.config.onSettled?.(d,this.state.error,this),d}catch(d){if(d instanceof Wd){if(d.silent)return this.#i.promise;if(d.revert){if(this.state.data===void 0)throw d;return this.state.data}}throw this.#a({type:"error",error:d}),this.#n.config.onError?.(d,this),this.#n.config.onSettled?.(this.state.data,d,this),d}finally{this.scheduleGc()}}#a(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...u2(r.data,this.options),fetchMeta:t.meta??null};case"success":const a={...r,...bx(t.data,t.dataUpdatedAt),dataUpdateCount:r.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#e=t.manual?a:void 0,a;case"error":const l=t.error;return{...r,error:l,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Re.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:t})})}};function u2(t,n){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:r1(n.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function bx(t,n){return{data:t,dataUpdatedAt:n??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Sx(t){const n=typeof t.initialData=="function"?t.initialData():t.initialData,r=n!==void 0,a=r?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:n,dataUpdateCount:0,dataUpdatedAt:r?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}function wx(t){return{onFetch:(n,r)=>{const a=n.options,l=n.fetchOptions?.meta?.fetchMore?.direction,u=n.state.data?.pages||[],c=n.state.data?.pageParams||[];let d={pages:[],pageParams:[]},m=0;const h=async()=>{let g=!1;const y=E=>{Object.defineProperty(E,"signal",{enumerable:!0,get:()=>(n.signal.aborted?g=!0:n.signal.addEventListener("abort",()=>{g=!0}),n.signal)})},x=n1(n.options,n.fetchOptions),S=async(E,A,N)=>{if(g)return Promise.reject();if(A==null&&E.pages.length)return Promise.resolve(E);const _=(()=>{const z={client:n.client,queryKey:n.queryKey,pageParam:A,direction:N?"backward":"forward",meta:n.options.meta};return y(z),z})(),j=await x(_),{maxPages:F}=n.options,H=N?e2:t2;return{pages:H(E.pages,j,F),pageParams:H(E.pageParams,A,F)}};if(l&&u.length){const E=l==="backward",A=E?c2:Tx,N={pages:u,pageParams:c},k=A(a,N);d=await S(N,k,E)}else{const E=t??u.length;do{const A=m===0?c[0]??a.initialPageParam:Tx(a,d);if(m>0&&A==null)break;d=await S(d,A),m++}while(m<E)}return d};n.options.persister?n.fetchFn=()=>n.options.persister?.(h,{client:n.client,queryKey:n.queryKey,meta:n.options.meta,signal:n.signal},r):n.fetchFn=h}}}function Tx(t,{pages:n,pageParams:r}){const a=n.length-1;return n.length>0?t.getNextPageParam(n[a],n,r[a],r):void 0}function c2(t,{pages:n,pageParams:r}){return n.length>0?t.getPreviousPageParam?.(n[0],n,r[0],r):void 0}var f2=class extends s1{#t;#e;#n;#r;constructor(t){super(),this.#t=t.client,this.mutationId=t.mutationId,this.#n=t.mutationCache,this.#e=[],this.state=t.state||d2(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#e.includes(t)||(this.#e.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#e=this.#e.filter(n=>n!==t),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(t){const n=()=>{this.#i({type:"continue"})},r={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=a1({fn:()=>this.options.mutationFn?this.options.mutationFn(t,r):Promise.reject(new Error("No mutationFn found")),onFail:(u,c)=>{this.#i({type:"failed",failureCount:u,error:c})},onPause:()=>{this.#i({type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const a=this.state.status==="pending",l=!this.#r.canStart();try{if(a)n();else{this.#i({type:"pending",variables:t,isPaused:l}),await this.#n.config.onMutate?.(t,this,r);const c=await this.options.onMutate?.(t,r);c!==this.state.context&&this.#i({type:"pending",context:c,variables:t,isPaused:l})}const u=await this.#r.start();return await this.#n.config.onSuccess?.(u,t,this.state.context,this,r),await this.options.onSuccess?.(u,t,this.state.context,r),await this.#n.config.onSettled?.(u,null,this.state.variables,this.state.context,this,r),await this.options.onSettled?.(u,null,t,this.state.context,r),this.#i({type:"success",data:u}),u}catch(u){try{throw await this.#n.config.onError?.(u,t,this.state.context,this,r),await this.options.onError?.(u,t,this.state.context,r),await this.#n.config.onSettled?.(void 0,u,this.state.variables,this.state.context,this,r),await this.options.onSettled?.(void 0,u,t,this.state.context,r),u}finally{this.#i({type:"error",error:u})}}finally{this.#n.runNext(this)}}#i(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Re.batch(()=>{this.#e.forEach(r=>{r.onMutationUpdate(t)}),this.#n.notify({mutation:this,type:"updated",action:t})})}};function d2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var h2=class extends Eu{constructor(t={}){super(),this.config=t,this.#t=new Set,this.#e=new Map,this.#n=0}#t;#e;#n;build(t,n,r){const a=new f2({client:t,mutationCache:this,mutationId:++this.#n,options:t.defaultMutationOptions(n),state:r});return this.add(a),a}add(t){this.#t.add(t);const n=Ho(t);if(typeof n=="string"){const r=this.#e.get(n);r?r.push(t):this.#e.set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#t.delete(t)){const n=Ho(t);if(typeof n=="string"){const r=this.#e.get(n);if(r)if(r.length>1){const a=r.indexOf(t);a!==-1&&r.splice(a,1)}else r[0]===t&&this.#e.delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Ho(t);if(typeof n=="string"){const a=this.#e.get(n)?.find(l=>l.state.status==="pending");return!a||a===t}else return!0}runNext(t){const n=Ho(t);return typeof n=="string"?this.#e.get(n)?.find(a=>a!==t&&a.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Re.batch(()=>{this.#t.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(t){const n={exact:!0,...t};return this.getAll().find(r=>yx(n,r))}findAll(t={}){return this.getAll().filter(n=>yx(t,n))}notify(t){Re.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Re.batch(()=>Promise.all(t.map(n=>n.continue().catch(On))))}};function Ho(t){return t.options.scope?.id}var m2=class extends Eu{constructor(t={}){super(),this.config=t,this.#t=new Map}#t;build(t,n,r){const a=n.queryKey,l=n.queryHash??Fh(a,n);let u=this.get(l);return u||(u=new o2({client:t,queryKey:a,queryHash:l,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(a)}),this.add(u)),u}add(t){this.#t.has(t.queryHash)||(this.#t.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=this.#t.get(t.queryHash);n&&(t.destroy(),n===t&&this.#t.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Re.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#t.get(t)}getAll(){return[...this.#t.values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>gx(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>gx(t,r)):n}notify(t){Re.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Re.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Re.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},p2=class{#t;#e;#n;#r;#i;#s;#l;#a;constructor(t={}){this.#t=t.queryCache||new m2,this.#e=t.mutationCache||new h2,this.#n=t.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#s=0}mount(){this.#s++,this.#s===1&&(this.#l=i1.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#a=lu.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#s--,this.#s===0&&(this.#l?.(),this.#l=void 0,this.#a?.(),this.#a=void 0)}isFetching(t){return this.#t.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#e.findAll({...t,status:"pending"}).length}getQueryData(t){const n=this.defaultQueryOptions({queryKey:t});return this.#t.get(n.queryHash)?.state.data}ensureQueryData(t){const n=this.defaultQueryOptions(t),r=this.#t.build(this,n),a=r.state.data;return a===void 0?this.fetchQuery(t):(t.revalidateIfStale&&r.isStaleByTime(Kd(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(a))}getQueriesData(t){return this.#t.findAll(t).map(({queryKey:n,state:r})=>{const a=r.data;return[n,a]})}setQueryData(t,n,r){const a=this.defaultQueryOptions({queryKey:t}),u=this.#t.get(a.queryHash)?.state.data,c=XC(n,u);if(c!==void 0)return this.#t.build(this,a).setData(c,{...r,manual:!0})}
9setQueriesData(t,n,r){return Re.batch(()=>this.#t.findAll(t).map(({queryKey:a})=>[a,this.setQueryData(a,n,r)]))}getQueryState(t){const n=this.defaultQueryOptions({queryKey:t});return this.#t.get(n.queryHash)?.state}removeQueries(t){const n=this.#t;Re.batch(()=>{n.findAll(t).forEach(r=>{n.remove(r)})})}resetQueries(t,n){const r=this.#t;return Re.batch(()=>(r.findAll(t).forEach(a=>{a.reset()}),this.refetchQueries({type:"active",...t},n)))}cancelQueries(t,n={}){const r={revert:!0,...n},a=Re.batch(()=>this.#t.findAll(t).map(l=>l.cancel(r)));return Promise.all(a).then(On).catch(On)}invalidateQueries(t,n={}){return Re.batch(()=>(this.#t.findAll(t).forEach(r=>{r.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},n)))}refetchQueries(t,n={}){const r={...n,cancelRefetch:n.cancelRefetch??!0},a=Re.batch(()=>this.#t.findAll(t).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let u=l.fetch(void 0,r);return r.throwOnError||(u=u.catch(On)),l.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(a).then(On)}fetchQuery(t){const n=this.defaultQueryOptions(t);n.retry===void 0&&(n.retry=!1);const r=this.#t.build(this,n);return r.isStaleByTime(Kd(n.staleTime,r))?r.fetch(n):Promise.resolve(r.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(On).catch(On)}fetchInfiniteQuery(t){return t.behavior=wx(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(On).catch(On)}ensureInfiniteQueryData(t){return t.behavior=wx(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return lu.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#n}setDefaultOptions(t){this.#n=t}setQueryDefaults(t,n){this.#r.set(el(t),{queryKey:t,defaultOptions:n})}getQueryDefaults(t){const n=[...this.#r.values()],r={};return n.forEach(a=>{nl(t,a.queryKey)&&Object.assign(r,a.defaultOptions)}),r}setMutationDefaults(t,n){this.#i.set(el(t),{mutationKey:t,defaultOptions:n})}getMutationDefaults(t){const n=[...this.#i.values()],r={};return n.forEach(a=>{nl(t,a.mutationKey)&&Object.assign(r,a.defaultOptions)}),r}defaultQueryOptions(t){if(t._defaulted)return t;const n={...this.#n.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return n.queryHash||(n.queryHash=Fh(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===Yh&&(n.enabled=!1),n}defaultMutationOptions(t){return t?._defaulted?t:{...this.#n.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},g2=C.createContext(void 0),y2=({client:t,children:n})=>(C.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),v.jsx(g2.Provider,{value:t,children:n}));async function v2(t){if(!t.ok){const n=await t.text()||t.statusText;throw new Error(`${t.status}: ${n}`)}}const x2=({on401:t})=>async({queryKey:n})=>{const r=await fetch(n.join("/"),{credentials:"include"});return await v2(r),await r.json()},b2=new p2({defaultOptions:{queries:{queryFn:x2({on401:"throw"}),refetchInterval:!1,refetchOnWindowFocus:!1,staleTime:1/0,retry:!1},mutations:{retry:!1}}}),S2=1,w2=1e6;let hd=0;function T2(){return hd=(hd+1)%Number.MAX_SAFE_INTEGER,hd.toString()}const md=new Map,Ex=t=>{if(md.has(t))return;const n=setTimeout(()=>{md.delete(t),Xs({type:"REMOVE_TOAST",toastId:t})},w2);md.set(t,n)},E2=(t,n)=>{switch(n.type){case"ADD_TOAST":return{...t,toasts:[n.toast,...t.toasts].slice(0,S2)};case"UPDATE_TOAST":return{...t,toasts:t.toasts.map(r=>r.id===n.toast.id?{...r,...n.toast}:r)};case"DISMISS_TOAST":{const{toastId:r}=n;return r?Ex(r):t.toasts.forEach(a=>{Ex(a.id)}),{...t,toasts:t.toasts.map(a=>a.id===r||r===void 0?{...a,open:!1}:a)}}case"REMOVE_TOAST":return n.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(r=>r.id!==n.toastId)}}},$o=[];let tu={toasts:[]};function Xs(t){tu=E2(tu,t),$o.forEach(n=>
9{n(tu)})}function A2({...t}){const n=T2(),r=l=>Xs({type:"UPDATE_TOAST",toast:{...l,id:n}}),a=()=>Xs({type:"DISMISS_TOAST",toastId:n});return Xs({type:"ADD_TOAST",toast:{...t,id:n,open:!0,onOpenChange:l=>{l||a()}}}),{id:n,dismiss:a,update:r}}function C2(){const[t,n]=C.useState(tu);return C.useEffect(()=>($o.push(n),()=>{const r=$o.indexOf(n);r>-1&&$o.splice(r,1)}),[t]),{...t,toast:A2,dismiss:r=>Xs({type:"DISMISS_TOAST",toastId:r})}}var Cu=I0();const N2=dl(Cu);function ye(t,n,{checkForDefaultPrevented:r=!0}={}){return function(l){if(t?.(l),r===!1||!l.defaultPrevented)return n?.(l)}}function Ax(t,n){if(typeof t=="function")return t(n);t!=null&&(t.current=n)}function Nu(...t){return n=>{let r=!1;const a=t.map(l=>{const u=Ax(l,n);return!r&&typeof u=="function"&&(r=!0),u});if(r)return()=>{for(let l=0;l<a.length;l++){const u=a[l];typeof u=="function"?u():Ax(t[l],null)}}}}function Dn(...t){return C.useCallback(Nu(...t),t)}function ku(t,n=[]){let r=[];function a(u,c){const d=C.createContext(c),m=r.length;r=[...r,c];const h=y=>{const{scope:x,children:S,...E}=y,A=x?.[t]?.[m]||d,N=C.useMemo(()=>E,Object.values(E));return v.jsx(A.Provider,{value:N,children:S})};h.displayName=u+"Provider";function g(y,x){const S=x?.[t]?.[m]||d,E=C.useContext(S);if(E)return E;if(c!==void 0)return c;throw new Error(`\`${y}\` must be used within \`${u}\``)}return[h,g]}const l=()=>{const u=r.map(c=>C.createContext(c));return function(d){const m=d?.[t]||u;return C.useMemo(()=>({[`__scope${t}`]:{...d,[t]:m}}),[d,m])}};return l.scopeName=t,[a,k2(l,...n)]}function k2(...t){const n=t[0];if(t.length===1)return n;const r=()=>{const a=t.map(l=>({useScope:l(),scopeName:l.scopeName}));return function(u){const c=a.reduce((d,{useScope:m,scopeName:h})=>{const y=m(u)[`__scope${h}`];return{...d,...y}},{});return C.useMemo(()=>({[`__scope${n.scopeName}`]:c}),[c])}};return r.scopeName=n.scopeName,r}function Cx(t){const n=M2(t),r=C.forwardRef((a,l)=>{const{children:u,...c}=a,d=C.Children.toArray(u),m=d.find(j2);if(m){const h=m.props.children,g=d.map(y=>y===m?C.Children.count(h)>1?C.Children.only(null):C.isValidElement(h)?h.props.children:null:y);return v.jsx(n,{...c,ref:l,children:C.isValidElement(h)?C.cloneElement(h,void 0,g):null})}return v.jsx(n,{...c,ref:l,children:u})});return r.displayName=`${t}.Slot`,r}function M2(t){const n=C.forwardRef((r,a)=>{const{children:l,...u}=r;if(C.isValidElement(l)){const c=R2(l),d=D2(u,l.props);return l.type!==C.Fragment&&(d.ref=a?Nu(a,c):c),C.cloneElement(l,d)}return C.Children.count(l)>1?C.Children.only(null):null});return n.displayName=`${t}.SlotClone`,n}var O2=Symbol("radix.slottable");function j2(t){return C.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===O2}function D2(t,n){const r={...n};for(const a in n){const l=t[a],u=n[a];/^on[A-Z]/.test(a)?l&&u?r[a]=(...d)=>{const m=u(...d);return l(...d),m}:l&&(r[a]=l):a==="style"?r[a]={...l,...u}:a==="className"&&(r[a]=[l,u].filter(Boolean).join(" "))}return{...t,...r}}function R2(t){let n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,r=n&&"isReactWarning"in n&&n.isReactWarning;return r?t.ref:(n=Object.getOwnPropertyDescriptor(t,"ref")?.get,r=n&&"isReactWarning"in n&&n.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}function z2(t){const n=t+"CollectionProvider",[r,a]=ku(n),[l,u]=r(n,{collectionRef:{current:null},itemMap:new Map}),c=A=>{const{scope:N,children:k}=A,_=yi.useRef(null),j=yi.useRef(new Map).current;return v.jsx(l,{scope:N,itemMap:j,collectionRef:_,children:k})};c.displayName=n;const d=t+"CollectionSlot",m=Cx(d),h=yi.forwardRef((A,N)=>{const{scope:k,children:_}=A,j=u(d,k),F=Dn(N,j.collectionRef);return v.jsx(m,{ref:F,children:_})});h.displayName=d;const g=t+"CollectionItemSlot",y="data-radix-collection-item",x=Cx(g),S=yi.forwardRef((A,N)=>{const{scope:k,children:_,...j}=A,F=yi.useRef(null),H=Dn(N,F),z=u(g,k);return yi.useEffect(()=>(z.itemMap.set(F,{ref:F,...j}),()=>void z.itemMap.delete(F))),v.jsx(x,{[y]:"",ref:H,children:_})});S.displayName=g;function E(A){const N=u(t+"CollectionConsumer",A);return yi.useCallback(()=>{const _=N.collectionRef.current;if(!_)return[];const j=Array.from(_.querySelectorAll(`[${y}]`));return Array.from(N.itemMap.values()).sort((z,I)=>j.indexOf(z.ref.current)-j.indexOf(I.ref.current))},[N.collectionRef,N.itemMap])}return[{Provider:c,Slot:h,ItemSlot:S}
vendor: 9,741 bytes, line 9
9,E,a]}function _2(t){const n=L2(t),r=C.forwardRef((a,l)=>{const{children:u,...c}=a,d=C.Children.toArray(u),m=d.find(B2);if(m){const h=m.props.children,g=d.map(y=>y===m?C.Children.count(h)>1?C.Children.only(null):C.isValidElement(h)?h.props.children:null:y);return v.jsx(n,{...c,ref:l,children:C.isValidElement(h)?C.cloneElement(h,void 0,g):null})}return v.jsx(n,{...c,ref:l,children:u})});return r.displayName=`${t}.Slot`,r}function L2(t){const n=C.forwardRef((r,a)=>{const{children:l,...u}=r;if(C.isValidElement(l)){const c=U2(l),d=P2(u,l.props);return l.type!==C.Fragment&&(d.ref=a?Nu(a,c):c),C.cloneElement(l,d)}return C.Children.count(l)>1?C.Children.only(null):null});return n.displayName=`${t}.SlotClone`,n}var V2=Symbol("radix.slottable");function B2(t){return C.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===V2}function P2(t,n){const r={...n};for(const a in n){const l=t[a],u=n[a];/^on[A-Z]/.test(a)?l&&u?r[a]=(...d)=>{const m=u(...d);return l(...d),m}:l&&(r[a]=l):a==="style"?r[a]={...l,...u}:a==="className"&&(r[a]=[l,u].filter(Boolean).join(" "))}return{...t,...r}}function U2(t){let n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,r=n&&"isReactWarning"in n&&n.isReactWarning;return r?t.ref:(n=Object.getOwnPropertyDescriptor(t,"ref")?.get,r=n&&"isReactWarning"in n&&n.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var H2=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ge=H2.reduce((t,n)=>{const r=_2(`Primitive.${n}`),a=C.forwardRef((l,u)=>{const{asChild:c,...d}=l,m=c?r:n;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),v.jsx(m,{...d,ref:u})});return a.displayName=`Primitive.${n}`,{...t,[n]:a}},{});function l1(t,n){t&&Cu.flushSync(()=>t.dispatchEvent(n))}function Zi(t){const n=C.useRef(t);return C.useEffect(()=>{n.current=t}),C.useMemo(()=>(...r)=>n.current?.(...r),[])}function q2(t,n=globalThis?.document){const r=Zi(t);C.useEffect(()=>{const a=l=>{l.key==="Escape"&&r(l)};return n.addEventListener("keydown",a,{capture:!0}),()=>n.removeEventListener("keydown",a,{capture:!0})},[r,n])}var F2="DismissableLayer",Jd="dismissableLayer.update",Y2="dismissableLayer.pointerDownOutside",I2="dismissableLayer.focusOutside",Nx,o1=C.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ih=C.forwardRef((t,n)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,onDismiss:d,...m}=t,h=C.useContext(o1),[g,y]=C.useState(null),x=g?.ownerDocument??globalThis?.document,[,S]=C.useState({}),E=Dn(n,I=>y(I)),A=Array.from(h.layers),[N]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),k=A.indexOf(N),_=g?A.indexOf(g):-1,j=h.layersWithOutsidePointerEventsDisabled.size>0,F=_>=k,H=X2(I=>{const Y=I.target,at=[...h.branches].some(lt=>lt.contains(Y));!F||at||(l?.(I),c?.(I),I.defaultPrevented||d?.())},x),z=Q2(I=>{const Y=I.target;[...h.branches].some(lt=>lt.contains(Y))||(u?.(I),c?.(I),I.defaultPrevented||d?.())},x);return q2(I=>{_===h.layers.size-1&&(a?.(I),!I.defaultPrevented&&d&&(I.preventDefault(),d()))},x),C.useEffect(()=>{if(g)return r&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(Nx=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(g)),h.layers.add(g),kx(),()=>{r&&h.layersWithOutsidePointerEventsDisabled.size===1&&(x.body.style.pointerEvents=Nx)}},[g,x,r,h]),C.useEffect(()=>()=>{g&&(h.layers.delete(g),h.layersWithOutsidePointerEventsDisabled.delete(g),kx())},[g,h]),C.useEffect(()=>{const I=()=>S({});return document.addEventListener(Jd,I),()=>document.removeEventListener(Jd,I)},[]),v.jsx(Ge.div,{...m,ref:E,style:{pointerEvents:j?F?"auto":"none":void 0,...t.style},onFocusCapture:ye(t.onFocusCapture,z.onFocusCapture),onBlurCapture:ye(t.onBlurCapture,z.onBlurCapture),onPointerDownCapture:ye(t.onPointerDownCapture,H.onPointerDownCapture)})});Ih.displayName=F2;var G2="DismissableLayerBranch",u1=C.forwardRef((t,n)=>{const r=C.useContext(o1),a=C.useRef(null),l=Dn(n,a);return C.useEffect(()=>{const u=a.current;if(u)return r.branches.add(u),()=>{r.branches.delete(u)}},[r.branches]),v.jsx(Ge.div,{...t,ref:l})});u1.displayName=G2;function X2(t,n=globalThis?.document){const r=Zi(t),a=C.useRef(!1),l=C.useRef(()=>{});return C.useEffect(()=>{const u=d=>{if(d.target&&!a.current){let m=function(){c1(Y2,r,h,{discrete:!0})};const h={originalEvent:d};d.pointerType==="touch"?(n.removeEventListener("click",l.current),l.current=m,n.addEventListener("click",l.current,{once:!0})):m()}else n.removeEventListener("click",l.current);a.current=!1},c=window.setTimeout(()=>{n.addEventListener("pointerdown",u)},0);return()=>{window.clearTimeout(c),n.removeEventListener("pointerdown",u),n.removeEventListener("click",l.current)}},[n,r]),{onPointerDownCapture:()=>a.current=!0}}function Q2(t,n=globalThis?.document){const r=Zi(t),a=C.useRef(!1);return C.useEffect(()=>{const l=u=>{u.target&&!a.current&&c1(I2,r,{originalEvent:u},{discrete:!1})};return n.addEventListener("focusin",l),()=>n.removeEventListener("focusin",l)},[n,r]),{onFocusCapture:()=>a.current=!0,onBlurCapture:()=>a.current=!1}}function kx(){const t=new CustomEvent(Jd);document.dispatchEvent(t)}function c1(t,n,r,{discrete:a}){const l=r.originalEvent.target,u=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:r});n&&l.addEventListener(t,n,{once:!0}),a?l1(l,u):l.dispatchEvent(u)}var K2=Ih,Z2=u1,Wi=globalThis?.document?C.useLayoutEffect:()=>{},W2="Portal",Gh=C.forwardRef((t,n)=>{const{container:r,...a}=t,[l,u]=C.useState(!1);Wi(()=>u(!0),[]);const c=r||l&&globalThis?.document?.body;return c?N2.createPortal(v.jsx(Ge.div,{...a,ref:n}),c):null});Gh.displayName=W2;function J2(t,n){return C.useReducer((r,a)=>n[r][a]??r,t)}var Mu=t=>{const{present:n,children:r}=t,a=$2(n),l=typeof r=="function"?r({present:a.isPresent}):C.Children.only(r),u=Dn(a.ref,tN(l));return typeof r=="function"||a.isPresent?C.cloneElement(l,{ref:u}):null};Mu.displayName="Presence";function $2(t){const[n,r]=C.useState(),a=C.useRef(null),l=C.useRef(t),u=C.useRef("none"),c=t?"mounted":"unmounted",[d,m]=J2(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return C.useEffect(()=>{const h=qo(a.current);u.current=d==="mounted"?h:"none"},[d]),Wi(()=>{const h=a.current,g=l.current;if(g!==t){const x=u.current,S=qo(h);t?m("MOUNT"):S==="none"||h?.display==="none"?m("UNMOUNT"):m(g&&x!==S?"ANIMATION_OUT":"UNMOUNT"),l.current=t}},[t,m]),Wi(()=>{if(n){let h;const g=n.ownerDocument.defaultView??window,y=S=>{const A=qo(a.current).includes(CSS.escape(S.animationName));if(S.target===n&&A&&(m("ANIMATION_END"),!l.current)){const N=n.style.animationFillMode;n.style.animationFillMode="forwards",h=g.setTimeout(()=>{n.style.animationFillMode==="forwards"&&(n.style.animationFillMode=N)})}},x=S=>{S.target===n&&(u.current=qo(a.current))};return n.addEventListener("animationstart",x),n.addEventListener("animationcancel",y),n.addEventListener("animationend",y),()=>{g.clearTimeout(h),n.removeEventListener("animationstart",x),n.removeEventListener("animationcancel",y),n.removeEventListener("animationend",y)}}else m("ANIMATION_END")},[n,m]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:C.useCallback(h=>{a.current=h?getComputedStyle(h):null,r(h)},[])}}function qo(t){return t?.animationName||"none"}function tN(t){let n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,r=n&&"isReactWarning"in n&&n.isReactWarning;return r?t.ref:(n=Object.getOwnPropertyDescriptor(t,"ref")?.get,r=n&&"isReactWarning"in n&&n.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var eN=Ph[" useInsertionEffect ".trim().toString()]||Wi;function nN({prop:t,defaultProp:n,onChange:r=()=>{},caller:a}){const[l,u,c]=iN({defaultProp:n,onChange:r}),d=t!==void 0,m=d?t:l;{const g=C.useRef(t!==void 0);C.useEffect(()=>{const y=g.current;y!==d&&console.warn(`${a} is changing from ${y?"controlled":"uncontrolled"} to ${d?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),g.current=d},[d,a])}const h=C.useCallback(g=>{if(d){const y=rN(g)?g(t):g;y!==t&&c.current?.(y)}else u(g)},[d,t,u,c]);return[m,h]}function iN({defaultProp:t,onChange:n}){const[r,a]=C.useState(t),l=C.useRef(r),u=C.useRef(n);return eN(()=>{u.current=n},[n]),C.useEffect(()=>{l.current!==r&&(u.current?.(r),l.current=r)},[r,l]),[r,a,u]}function rN(t){return typeof t=="function"}var aN=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),sN="VisuallyHidden",Ou=C.forwardRef((t,n)=>v.jsx(Ge.span,{...t,ref:n,style:{...aN,...t.style}}));Ou.displayName=sN;var lN=Ou,Xh="ToastProvider",[Qh,oN,uN]=z2("Toast"),[f1]=ku("Toast",[uN]),[cN,ju]=f1(Xh),d1=t=>{const{__scopeToast:n,label:r="Notification",duration:a=5e3,swipeDirection:l="right",swipeThreshold:u=50,children:c}=t,[d,m]=C.useState(null),[h,g]=C.useState(0),y=C.useRef(!1),x=C.useRef(!1);return r.trim()||console.error(`Invalid prop \`label\` supplied to \`${Xh}\`. Expected non-empty \`string\`.`),v.jsx(Qh.Provider,{scope:n,children:v.jsx(cN,{scope:n,label:r,duration:a,swipeDirection:l,swipeThreshold:u,toastCount:h,viewport:d,onViewportChange:m,onToastAdd:C.useCallback(()=>g(S=>S+1),[]),onToastRemove:C.useCallback(()=>g(S=>S-1),[]),isFocusedToastEscapeKeyDownRef:y,isClosePausedRef:x,children:c})})};d1.displayName=Xh;var h1="ToastViewport",fN=["F8"],$d="toast.viewportPause",th="toast.viewportResume",m1=C.forwardRef((t,
9n)=>{const{__scopeToast:r,hotkey:a=fN,label:l="Notifications ({hotkey})",...u}=t,c=ju(h1,r),d=oN(r),m=C.useRef(null),h=C.useRef(null),g=C.useRef(null),y=C.useRef(null),x=Dn(n,y,c.onViewportChange),S=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),E=c.toastCount>0;C.useEffect(()=>{const N=k=>{a.length!==0&&a.every(j=>k[j]||k.code===j)&&y.current?.focus()};return document.addEventListener("keydown",N),()=>document.removeEventListener("keydown",N)},[a]),C.useEffect(()=>{const N=m.current,k=y.current;if(E&&N&&k){const _=()=>{if(!c.isClosePausedRef.current){const z=new CustomEvent($d);k.dispatchEvent(z),c.isClosePausedRef.current=!0}},j=()=>{if(c.isClosePausedRef.current){const z=new CustomEvent(th);k.dispatchEvent(z),c.isClosePausedRef.current=!1}},F=z=>{!N.contains(z.relatedTarget)&&j()},H=()=>{N.contains(document.activeElement)||j()};return N.addEventListener("focusin",_),N.addEventListener("focusout",F),N.addEventListener("pointermove",_),N.addEventListener("pointerleave",H),window.addEventListener("blur",_),window.addEventListener("focus",j),()=>{N.removeEventListener("focusin",_),N.removeEventListener("focusout",F),N.removeEventListener("pointermove",_),N.removeEventListener("pointerleave",H),window.removeEventListener("blur",_),window.removeEventListener("focus",j)}}},[E,c.isClosePausedRef]);const A=C.useCallback(({tabbingDirection:N})=>{const _=d().map(j=>{const F=j.ref.current,H=[F,...EN(F)];return N==="forwards"?H:H.reverse()});return(N==="forwards"?_.reverse():_).flat()},[d]);return C.useEffect(()=>{const N=y.current;if(N){const k=_=>{const j=_.altKey||_.ctrlKey||_.metaKey;if(_.key==="Tab"&&!j){const H=document.activeElement,z=_.shiftKey;if(_.target===N&&z){h.current?.focus();return}const at=A({tabbingDirection:z?"backwards":"forwards"}),lt=at.findIndex(et=>et===H);pd(at.slice(lt+1))?_.preventDefault():z?h.current?.focus():g.current?.focus()}};return N.addEventListener("keydown",k),()=>N.removeEventListener("keydown",k)}},[d,A]),v.jsxs(Z2,{ref:m,role:"region","aria-label":l.replace("{hotkey}",S),tabIndex:-1,style:{pointerEvents:E?void 0:"none"},children:[E&&v.jsx(eh,{ref:h,onFocusFromOutsideViewport:()=>{const N=A({tabbingDirection:"forwards"});pd(N)}}),v.jsx(Qh.Slot,{scope:r,children:v.jsx(Ge.ol,{tabIndex:-1,...u,ref:x})}),E&&v.jsx(eh,{ref:g,onFocusFromOutsideViewport:()=>{const N=A({tabbingDirection:"backwards"});pd(N)}})]})});m1.displayName=h1;var p1="ToastFocusProxy",eh=C.forwardRef((t,n)=>{const{__scopeToast:r,onFocusFromOutsideViewport:a,...l}=t,u=ju(p1,r);return v.jsx(Ou,{tabIndex:0,...l,ref:n,style:{position:"fixed"},onFocus:c=>{const d=c.relatedTarget;!u.viewport?.contains(d)&&a()}})});eh.displayName=p1;var hl="Toast",dN="toast.swipeStart",hN="toast.swipeMove",mN="toast.swipeCancel",pN="toast.swipeEnd",g1=C.forwardRef((t,n)=>{const{forceMount:r,open:a,defaultOpen:l,onOpenChange:u,...c}=t,[d,m]=nN({prop:a,defaultProp:l??!0,onChange:u,caller:hl});return v.jsx(Mu,{present:r||d,children:v.jsx(vN,{open:d,...c,ref:n,onClose:()=>m(!1),onPause:Zi(t.onPause),onResume:Zi(t.onResume),onSwipeStart:ye(t.onSwipeStart,h=>{h.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ye(t.onSwipeMove,h=>{const{x:g,y}=h.detail.delta;h.currentTarget.setAttribute("data-swipe","move"),h.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${g}px`),h.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${y}px`)}),onSwipeCancel:ye(t.onSwipeCancel,h=>{h.currentTarget.setAttribute("data-swipe","cancel"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),h.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:ye(t.onSwipeEnd,h=>{const{x:g,y}=h.detail.delta;h.currentTarget.setAttribute("data-swipe","end"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),h.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${g}px`),h.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${y}px`),m(!1)})})})});g1.displayName=hl;var[gN,yN]=f1(hl,{onClose(){}}
9),vN=C.forwardRef((t,n)=>{const{__scopeToast:r,type:a="foreground",duration:l,open:u,onClose:c,onEscapeKeyDown:d,onPause:m,onResume:h,onSwipeStart:g,onSwipeMove:y,onSwipeCancel:x,onSwipeEnd:S,...E}=t,A=ju(hl,r),[N,k]=C.useState(null),_=Dn(n,Z=>k(Z)),j=C.useRef(null),F=C.useRef(null),H=l||A.duration,z=C.useRef(0),I=C.useRef(H),Y=C.useRef(0),{onToastAdd:at,onToastRemove:lt}=A,et=Zi(()=>{N?.contains(document.activeElement)&&A.viewport?.focus(),c()}),nt=C.useCallback(Z=>{!Z||Z===1/0||(window.clearTimeout(Y.current),z.current=new Date().getTime(),Y.current=window.setTimeout(et,Z))},[et]);C.useEffect(()=>{const Z=A.viewport;if(Z){const $=()=>{nt(I.current),h?.()},L=()=>{const G=new Date().getTime()-z.current;I.current=I.current-G,window.clearTimeout(Y.current),m?.()};return Z.addEventListener($d,L),Z.addEventListener(th,$),()=>{Z.removeEventListener($d,L),Z.removeEventListener(th,$)}}},[A.viewport,H,m,h,nt]),C.useEffect(()=>{u&&!A.isClosePausedRef.current&&nt(H)},[u,H,A.isClosePausedRef,nt]),C.useEffect(()=>(at(),()=>lt()),[at,lt]);const dt=C.useMemo(()=>N?T1(N):null,[N]);return A.viewport?v.jsxs(v.Fragment,{children:[dt&&v.jsx(xN,{__scopeToast:r,role:"status","aria-live":a==="foreground"?"assertive":"polite",children:dt}),v.jsx(gN,{scope:r,onClose:et,children:Cu.createPortal(v.jsx(Qh.ItemSlot,{scope:r,children:v.jsx(K2,{asChild:!0,onEscapeKeyDown:ye(d,()=>{A.isFocusedToastEscapeKeyDownRef.current||et(),A.isFocusedToastEscapeKeyDownRef.current=!1}),children:v.jsx(Ge.li,{tabIndex:0,"data-state":u?"open":"closed","data-swipe-direction":A.swipeDirection,...E,ref:_,style:{userSelect:"none",touchAction:"none",...t.style},onKeyDown:ye(t.onKeyDown,Z=>{Z.key==="Escape"&&(d?.(Z.nativeEvent),Z.nativeEvent.defaultPrevented||(A.isFocusedToastEscapeKeyDownRef.current=!0,et()))}),onPointerDown:ye(t.onPointerDown,Z=>{Z.button===0&&(j.current={x:Z.clientX,y:Z.clientY})}),onPointerMove:ye(t.onPointerMove,Z=>{if(!j.current)return;const $=Z.clientX-j.current.x,L=Z.clientY-j.current.y,G=!!F.current,B=["left","right"].includes(A.swipeDirection),ot=["left","up"].includes(A.swipeDirection)?Math.min:Math.max,M=B?ot(0,$):0,D=B?0:ot(0,L),Q=Z.pointerType==="touch"?10:2,T={x:M,y:D},it={originalEvent:Z,delta:T};G?(F.current=T,Fo(hN,y,it,{discrete:!1})):Mx(T,A.swipeDirection,Q)?(F.current=T,Fo(dN,g,it,{discrete:!1}),Z.target.setPointerCapture(Z.pointerId)):(Math.abs($)>Q||Math.abs(L)>Q)&&(j.current=null)}),onPointerUp:ye(t.onPointerUp,Z=>{const $=F.current,L=Z.target;if(L.hasPointerCapture(Z.pointerId)&&L.releasePointerCapture(Z.pointerId),F.current=null,j.current=null,$){const G=Z.currentTarget,B={originalEvent:Z,delta:$};Mx($,A.swipeDirection,A.swipeThreshold)?Fo(pN,S,B,{discrete:!0}):Fo(mN,x,B,{discrete:!0}),G.addEventListener("click",ot=>ot.preventDefault(),{once:!0})}})})})}),A.viewport)})]}):null}),xN=t=>{const{__scopeToast:n,children:r,...a}=t,l=ju(hl,n),[u,c]=C.useState(!1),[d,m]=C.useState(!1);return wN(()=>c(!0)),C.useEffect(()=>{const h=window.setTimeout(()=>m(!0),1e3);return()=>window.clearTimeout(h)},[]),d?null:v.jsx(Gh,{asChild:!0,children:v.jsx(Ou,{...a,children:u&&v.jsxs(v.Fragment,{children:[l.label," ",r]})})})},bN="ToastTitle",y1=C.forwardRef((t,n)=>{const{__scopeToast:r,...a}=t;return v.jsx(Ge.div,{...a,ref:n})});y1.displayName=bN;var SN="ToastDescription",v1=C.forwardRef((t,n)=>{const{__scopeToast:r,...a}=t;return v.jsx(Ge.div,{...a,ref:n})});v1.displayName=SN;var x1="ToastAction",b1=C.forwardRef((t,n)=>{const{altText:r,...a}=t;return r.trim()?v.jsx(w1,{altText:r,asChild:!0,children:v.jsx(Kh,{...a,ref:n})}):(console.error(`Invalid prop \`altText\` supplied to \`${x1}\`. Expected non-empty \`string\`.`),null)});b1.displayName=x1;var S1="ToastClose",Kh=C.forwardRef((t,n)=>{const{__scopeToast:r,...a}=t,l=yN(S1,r);return v.jsx(w1,{asChild:!0,children:v.jsx(Ge.button,{type:"button",...a,ref:n,onClick:ye(t.onClick,l.onClose)})})});Kh.displayName=S1;var w1=C.forwardRef((t,n)=>{const{__scopeToast:r,altText:a,...l}=t;return v.jsx(Ge.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":a||void 0,...l,ref:n})});function T1(t){const n=[];
9return Array.from(t.childNodes).forEach(a=>{if(a.nodeType===a.TEXT_NODE&&a.textContent&&n.push(a.textContent),TN(a)){const l=a.ariaHidden||a.hidden||a.style.display==="none",u=a.dataset.radixToastAnnounceExclude==="";if(!l)if(u){const c=a.dataset.radixToastAnnounceAlt;c&&n.push(c)}else n.push(...T1(a))}}),n}function Fo(t,n,r,{discrete:a}){const l=r.originalEvent.currentTarget,u=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:r});n&&l.addEventListener(t,n,{once:!0}),a?l1(l,u):l.dispatchEvent(u)}var Mx=(t,n,r=0)=>{const a=Math.abs(t.x),l=Math.abs(t.y),u=a>l;return n==="left"||n==="right"?u&&a>r:!u&&l>r};function wN(t=()=>{}){const n=Zi(t);Wi(()=>{let r=0,a=0;return r=window.requestAnimationFrame(()=>a=window.requestAnimationFrame(n)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(a)}},[n])}function TN(t){return t.nodeType===t.ELEMENT_NODE}function EN(t){const n=[],r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{const l=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||l?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)n.push(r.currentNode);return n}function pd(t){const n=document.activeElement;return t.some(r=>r===n?!0:(r.focus(),document.activeElement!==n))}var AN=d1,E1=m1,A1=g1,C1=y1,N1=v1,k1=b1,M1=Kh;function O1(t){var n,r,a="";if(typeof t=="string"||typeof t=="number")a+=t;else if(typeof t=="object")if(Array.isArray(t)){var l=t.length;for(n=0;n<l;n++)t[n]&&(r=O1(t[n]))&&(a&&(a+=" "),a+=r)}else for(r in t)t[r]&&(a&&(a+=" "),a+=r);return a}function j1(){for(var t,n,r=0,a="",l=arguments.length;r<l;r++)(t=arguments[r])&&(n=O1(t))&&(a&&(a+=" "),a+=n);return a}const Ox=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,jx=j1,D1=(t,n)=>r=>{var a;if(n?.variants==null)return jx(t,r?.class,r?.className);const{variants:l,defaultVariants:u}=n,c=Object.keys(l).map(h=>{const g=r?.[h],y=u?.[h];if(g===null)return null;const x=Ox(g)||Ox(y);return l[h][x]}),d=r&&Object.entries(r).reduce((h,g)=>{let[y,x]=g;return x===void 0||(h[y]=x),h},{}),m=n==null||(a=n.compoundVariants)===null||a===void 0?void 0:a.reduce((h,g)=>{let{class:y,className:x,...S}=g;return Object.entries(S).every(E=>{let[A,N]=E;return Array.isArray(N)?N.includes({...u,...d}[A]):{...u,...d}[A]===N})?[...h,y,x]:h},[]);return jx(t,c,m,r?.class,r?.className)};const CN=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),NN=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,r,a)=>a?a.toUpperCase():r.toLowerCase()),Dx=t=>{const n=NN(t);return n.charAt(0).toUpperCase()+n.slice(1)},R1=(...t)=>t.filter((n,r,a)=>!!n&&n.trim()!==""&&a.indexOf(n)===r).join(" ").trim(),kN=t=>{for(const n in t)if(n.startsWith("aria-")||n==="role"||n==="title")return!0};var MN={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 ON=C.forwardRef(({color:t="currentColor",size:n=24,strokeWidth:r=2,absoluteStrokeWidth:a,className:l="",children:u,iconNode:c,...d},m)=>C.createElement("svg",{ref:m,...MN,width:n,height:n,stroke:t,strokeWidth:a?Number(r)*24/Number(n):r,className:R1("lucide",l),...!u&&!kN(d)&&{"aria-hidden":"true"},...d},[...c.map(([h,g])=>C.createElement(h,g)),...Array.isArray(u)?u:[u]]));const te=(t,n)=>{const r=C.forwardRef(({className:a,...l},u)=>C.createElement(ON,{ref:u,iconNode:n,className:R1(`lucide-${CN(Dx(t))}`,`lucide-${t}`,a),...l}));return r.displayName=Dx(t),r};const jN=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],DN=te("arrow-left",jN);const RN=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Zh=te("arrow-right",RN);const zN=[["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"}]],z1=te("calendar",zN);const _N=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],LN=te("circle-alert",_N);const VN=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],nh=te("circle-check",VN);const BN=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],PN=te("code",BN);const UN=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}
vendor: 4,175 bytes, line 9
9],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],HN=te("cpu",UN);const qN=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],FN=te("database",qN);const YN=[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]],IN=te("github",YN);const GN=[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]],XN=te("linkedin",GN);const QN=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],KN=te("lock",QN);const ZN=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],WN=te("mail",ZN);const JN=[["path",{d:"M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z",key:"q8bfy3"}],["path",{d:"M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14",key:"1853fq"}],["path",{d:"M8 6v8",key:"15ugcq"}]],$N=te("megaphone",JN);const tk=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],ek=te("menu",tk);const nk=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],ik=te("search",nk);const rk=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],ak=te("server",rk);const sk=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],lk=te("shield-check",sk);const ok=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],uk=te("shield",ok);const ck=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],_1=te("tag",ck);const fk=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],Wh=te("users",fk);const dk=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],L1=te("user",dk);const hk=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],V1=te("x",hk);const mk=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],pk=te("zap",mk),gk=(t,n)=>{const r=new Array(t.length+n.length);for(let a=0;a<t.length;a++)r[a]=t[a];for(let a=0;a<n.length;a++)r[t.length+a]=n[a];return r},yk=(t,n)=>({classGroupId:t,validator:n}),B1=(t=new Map,n=null,r)=>({nextPart:t,validators:n,classGroupId:r}),ou="-",Rx=[],vk="arbitrary..",xk=t=>{const n=Sk(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=t;return{getClassGroupId:c=>{if(c.startsWith("[")&&c.endsWith("]"))return bk(c);const d=c.split(ou),m=d[0]===""&&d.length>1?1:0;
vendor: 7,605 bytes, line 9
9return P1(d,m,n)},getConflictingClassGroupIds:(c,d)=>{if(d){const m=a[c],h=r[c];return m?h?gk(h,m):m:h||Rx}return r[c]||Rx}}},P1=(t,n,r)=>{if(t.length-n===0)return r.classGroupId;const l=t[n],u=r.nextPart.get(l);if(u){const h=P1(t,n+1,u);if(h)return h}const c=r.validators;if(c===null)return;const d=n===0?t.join(ou):t.slice(n).join(ou),m=c.length;for(let h=0;h<m;h++){const g=c[h];if(g.validator(d))return g.classGroupId}},bk=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const n=t.slice(1,-1),r=n.indexOf(":"),a=n.slice(0,r);return a?vk+a:void 0})(),Sk=t=>{const{theme:n,classGroups:r}=t;return wk(r,n)},wk=(t,n)=>{const r=B1();for(const a in t){const l=t[a];Jh(l,r,a,n)}return r},Jh=(t,n,r,a)=>{const l=t.length;for(let u=0;u<l;u++){const c=t[u];Tk(c,n,r,a)}},Tk=(t,n,r,a)=>{if(typeof t=="string"){Ek(t,n,r);return}if(typeof t=="function"){Ak(t,n,r,a);return}Ck(t,n,r,a)},Ek=(t,n,r)=>{const a=t===""?n:U1(n,t);a.classGroupId=r},Ak=(t,n,r,a)=>{if(Nk(t)){Jh(t(a),n,r,a);return}n.validators===null&&(n.validators=[]),n.validators.push(yk(r,t))},Ck=(t,n,r,a)=>{const l=Object.entries(t),u=l.length;for(let c=0;c<u;c++){const[d,m]=l[c];Jh(m,U1(n,d),r,a)}},U1=(t,n)=>{let r=t;const a=n.split(ou),l=a.length;for(let u=0;u<l;u++){const c=a[u];let d=r.nextPart.get(c);d||(d=B1(),r.nextPart.set(c,d)),r=d}return r},Nk=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,kk=t=>{if(t<1)return{get:()=>{},set:()=>{}};let n=0,r=Object.create(null),a=Object.create(null);const l=(u,c)=>{r[u]=c,n++,n>t&&(n=0,a=r,r=Object.create(null))};return{get(u){let c=r[u];if(c!==void 0)return c;if((c=a[u])!==void 0)return l(u,c),c},set(u,c){u in r?r[u]=c:l(u,c)}}},ih="!",zx=":",Mk=[],_x=(t,n,r,a,l)=>({modifiers:t,hasImportantModifier:n,baseClassName:r,maybePostfixModifierPosition:a,isExternal:l}),Ok=t=>{const{prefix:n,experimentalParseClassName:r}=t;let a=l=>{const u=[];let c=0,d=0,m=0,h;const g=l.length;for(let A=0;A<g;A++){const N=l[A];if(c===0&&d===0){if(N===zx){u.push(l.slice(m,A)),m=A+1;continue}if(N==="/"){h=A;continue}}N==="["?c++:N==="]"?c--:N==="("?d++:N===")"&&d--}const y=u.length===0?l:l.slice(m);let x=y,S=!1;y.endsWith(ih)?(x=y.slice(0,-1),S=!0):y.startsWith(ih)&&(x=y.slice(1),S=!0);const E=h&&h>m?h-m:void 0;return _x(u,S,x,E)};if(n){const l=n+zx,u=a;a=c=>c.startsWith(l)?u(c.slice(l.length)):_x(Mk,!1,c,void 0,!0)}if(r){const l=a;a=u=>r({className:u,parseClassName:l})}return a},jk=t=>{const n=new Map;return t.orderSensitiveModifiers.forEach((r,a)=>{n.set(r,1e6+a)}),r=>{const a=[];let l=[];for(let u=0;u<r.length;u++){const c=r[u],d=c[0]==="[",m=n.has(c);d||m?(l.length>0&&(l.sort(),a.push(...l),l=[]),a.push(c)):l.push(c)}return l.length>0&&(l.sort(),a.push(...l)),a}},Dk=t=>({cache:kk(t.cacheSize),parseClassName:Ok(t),sortModifiers:jk(t),...xk(t)}),Rk=/\s+/,zk=(t,n)=>{const{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:l,sortModifiers:u}=n,c=[],d=t.trim().split(Rk);let m="";for(let h=d.length-1;h>=0;h-=1){const g=d[h],{isExternal:y,modifiers:x,hasImportantModifier:S,baseClassName:E,maybePostfixModifierPosition:A}=r(g);if(y){m=g+(m.length>0?" "+m:m);continue}let N=!!A,k=a(N?E.substring(0,A):E);if(!k){if(!N){m=g+(m.length>0?" "+m:m);continue}if(k=a(E),!k){m=g+(m.length>0?" "+m:m);continue}N=!1}const _=x.length===0?"":x.length===1?x[0]:u(x).join(":"),j=S?_+ih:_,F=j+k;if(c.indexOf(F)>-1)continue;c.push(F);const H=l(k,N);for(let z=0;z<H.length;++z){const I=H[z];c.push(j+I)}m=g+(m.length>0?" "+m:m)}return m},_k=(...t)=>{let n=0,r,a,l="";for(;n<t.length;)(r=t[n++])&&(a=H1(r))&&(l&&(l+=" "),l+=a);return l},H1=t=>{if(typeof t=="string")return t;let n,r="";for(let a=0;a<t.length;a++)t[a]&&(n=H1(t[a]))&&(r&&(r+=" "),r+=n);return r},Lk=(t,...n)=>{let r,a,l,u;const c=m=>{const h=n.reduce((g,y)=>y(g),t());return r=Dk(h),a=r.cache.get,l=r.cache.set,u=d,d(m)},d=m=>{const h=a(m);if(h)return h;const g=zk(m,r);return l(m,g),g};return u=c,(...m)=>u(_k(...m))},Vk=[],pe=t=>{const n=r=>r[t]||Vk;return n.isThemeGetter=!0,n},q1=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,F1=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Bk=/^\d+\/\d+$/,Pk=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Uk=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Hk=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,qk=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Fk=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Sa=t=>Bk.test(t),Ct=t=>!!t&&!Number.isNaN(Number(t)),Xi=t=>!!t&&Number.isInteger(Number(t)),gd=t=>t.endsWith("%")&&Ct(t.slice(0,-1)),gi=t=>Pk.test(t),Yk=()=>!0,Ik=t=>Uk.test(t)&&!Hk.test(t),Y1=()=>!1,Gk=t=>qk.test(t),Xk=t=>Fk.test(t),Qk=t=>!ct(t)&&!ft(t),Kk=t=>Va(t,X1,Y1),ct=t=>q1.test(t),Tr=t=>Va(t,Q1,Ik),yd=t=>Va(t,tM,Ct),Lx=t=>Va(t,I1,Y1),Zk=t=>Va(t,G1,Xk),Yo=t=>Va(t,K1,Gk),ft=t=>F1.test(t),Us=t=>Ba(t,Q1),Wk=t=>Ba(t,eM),Vx=t=>Ba(t,I1),Jk=t=>Ba(t,X1),$k=t=>Ba(t,G1),Io=t=>Ba(t,K1,!0),Va=(t,n,r)=>{const a=q1.exec(t);return a?a[1]?n(a[1]):r(a[2]):!1},Ba=(t,n,r=!1)=>{const a=F1.exec(t);return a?a[1]?n(a[1]):r:!1},I1=t=>t==="position"||t==="percentage",G1=t=>t==="image"||t==="url",X1=t=>t==="length"||t==="size"||t==="bg-size",Q1=t=>t==="length",tM=t=>t==="number",eM=t=>t==="family-name",K1=t=>t==="shadow",nM=()=>{const t=pe("color"),n=pe("font"),r=pe("text"),a=pe("font-weight"),l=pe("tracking"),u=pe("leading"),c=pe("breakpoint"),d=pe("container"),m=pe("spacing"),h=pe("radius"),g=pe("shadow"),y=pe("inset-shadow"),x=pe("text-shadow"),S=pe("drop-shadow"),E=pe("blur"),A=pe("perspective"),N=pe("aspect"),k=pe("ease"),_=pe("animate"),j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],H=()=>[...F(),ft,ct],z=()=>["auto","hidden","clip","visible","scroll"],I=()=>["auto","contain","none"],Y=()=>[ft,ct,m],at=()=>[Sa,"full","auto",...Y()],lt=()=>[Xi,"none","subgrid",ft,ct],et=()=>["auto",{span:["full",Xi,ft,ct]},Xi,ft,ct],nt=()=>[Xi,"auto",ft,ct],dt=()=>["auto","min","max","fr",ft,ct],Z=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],$=()=>["start","end","center","stretch","center-safe","end-safe"],L=()=>["auto",...Y()],G=()=>[Sa,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...Y()],B=()=>[t,ft,ct],ot=()=>[...F(),Vx,Lx,{position:[ft,ct]}],M=()=>["no-repeat",{repeat:["","x","y","space","round"]}],D=()=>["auto","cover","contain",Jk,Kk,{size:[ft,ct]}],Q=()=>[gd,Us,Tr],T=()=>["","none","full",h,ft,ct],it=()=>["",Ct,Us,Tr],gt=()=>["solid","dashed","dotted","double"],pt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ht=()=>[Ct,gd,Vx,Lx],Bt=()=>["","none",E,ft,ct],Dt=()=>["none",Ct,ft,ct],de=()=>["none",Ct,ft,ct],Me=()=>[Ct,ft,ct],on=()=>[Sa,"full",...Y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[gi],breakpoint:[gi],color:[Yk],container:[gi],"drop-shadow":[gi],ease:["in","out","in-out"],font:[Qk],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[gi],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[gi],shadow:[gi],spacing:["px",Ct],text:[gi],"text-shadow":[gi],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Sa,ct,ft,N]}
vendor: 5,638 bytes, line 9
9],container:["container"],columns:[{columns:[Ct,ct,ft,d]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:H()}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:I()}],"overscroll-x":[{"overscroll-x":I()}],"overscroll-y":[{"overscroll-y":I()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:at()}],"inset-x":[{"inset-x":at()}],"inset-y":[{"inset-y":at()}],start:[{start:at()}],end:[{end:at()}],top:[{top:at()}],right:[{right:at()}],bottom:[{bottom:at()}],left:[{left:at()}],visibility:["visible","invisible","collapse"],z:[{z:[Xi,"auto",ft,ct]}],basis:[{basis:[Sa,"full","auto",d,...Y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ct,Sa,"auto","initial","none",ct]}],grow:[{grow:["",Ct,ft,ct]}],shrink:[{shrink:["",Ct,ft,ct]}],order:[{order:[Xi,"first","last","none",ft,ct]}],"grid-cols":[{"grid-cols":lt()}],"col-start-end":[{col:et()}],"col-start":[{"col-start":nt()}],"col-end":[{"col-end":nt()}],"grid-rows":[{"grid-rows":lt()}],"row-start-end":[{row:et()}],"row-start":[{"row-start":nt()}],"row-end":[{"row-end":nt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":dt()}],"auto-rows":[{"auto-rows":dt()}],gap:[{gap:Y()}],"gap-x":[{"gap-x":Y()}],"gap-y":[{"gap-y":Y()}],"justify-content":[{justify:[...Z(),"normal"]}],"justify-items":[{"justify-items":[...$(),"normal"]}],"justify-self":[{"justify-self":["auto",...$()]}],"align-content":[{content:["normal",...Z()]}],"align-items":[{items:[...$(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...$(),{baseline:["","last"]}]}],"place-content":[{"place-content":Z()}],"place-items":[{"place-items":[...$(),"baseline"]}],"place-self":[{"place-self":["auto",...$()]}],p:[{p:Y()}],px:[{px:Y()}],py:[{py:Y()}],ps:[{ps:Y()}],pe:[{pe:Y()}],pt:[{pt:Y()}],pr:[{pr:Y()}],pb:[{pb:Y()}],pl:[{pl:Y()}],m:[{m:L()}],mx:[{mx:L()}],my:[{my:L()}],ms:[{ms:L()}],me:[{me:L()}],mt:[{mt:L()}],mr:[{mr:L()}],mb:[{mb:L()}],ml:[{ml:L()}],"space-x":[{"space-x":Y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":Y()}],"space-y-reverse":["space-y-reverse"],size:[{size:G()}],w:[{w:[d,"screen",...G()]}],"min-w":[{"min-w":[d,"screen","none",...G()]}],"max-w":[{"max-w":[d,"screen","none","prose",{screen:[c]},...G()]}],h:[{h:["screen","lh",...G()]}],"min-h":[{"min-h":["screen","lh","none",...G()]}],"max-h":[{"max-h":["screen","lh",...G()]}],"font-size":[{text:["base",r,Us,Tr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[a,ft,yd]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",gd,ct]}],"font-family":[{font:[Wk,ct,n]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[l,ft,ct]}],"line-clamp":[{"line-clamp":[Ct,"none",ft,yd]}],leading:[{leading:[u,...Y()]}],"list-image":[{"list-image":["none",ft,ct]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ft,ct]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:B()}],"text-color":[{text:B()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...gt(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ct,"from-font","auto",ft,Tr]}],"text-decoration-color":[{decoration:B()}],"underline-offset":[{"underline-offset":[Ct,"auto",ft,ct]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ft,ct]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ft,ct]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ot()}],"bg-repeat":[{bg:M()}],"bg-size":[{bg:D()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Xi,ft,ct],radial:["",ft,ct],conic:[Xi,ft,ct]},$k,Zk]}],"bg-color":[{bg:B()}],"gradient-from-pos":[{from:Q()}
9],"gradient-via-pos":[{via:Q()}],"gradient-to-pos":[{to:Q()}],"gradient-from":[{from:B()}],"gradient-via":[{via:B()}],"gradient-to":[{to:B()}],rounded:[{rounded:T()}],"rounded-s":[{"rounded-s":T()}],"rounded-e":[{"rounded-e":T()}],"rounded-t":[{"rounded-t":T()}],"rounded-r":[{"rounded-r":T()}],"rounded-b":[{"rounded-b":T()}],"rounded-l":[{"rounded-l":T()}],"rounded-ss":[{"rounded-ss":T()}],"rounded-se":[{"rounded-se":T()}],"rounded-ee":[{"rounded-ee":T()}],"rounded-es":[{"rounded-es":T()}],"rounded-tl":[{"rounded-tl":T()}],"rounded-tr":[{"rounded-tr":T()}],"rounded-br":[{"rounded-br":T()}],"rounded-bl":[{"rounded-bl":T()}],"border-w":[{border:it()}],"border-w-x":[{"border-x":it()}],"border-w-y":[{"border-y":it()}],"border-w-s":[{"border-s":it()}],"border-w-e":[{"border-e":it()}],"border-w-t":[{"border-t":it()}],"border-w-r":[{"border-r":it()}],"border-w-b":[{"border-b":it()}],"border-w-l":[{"border-l":it()}],"divide-x":[{"divide-x":it()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":it()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...gt(),"hidden","none"]}],"divide-style":[{divide:[...gt(),"hidden","none"]}],"border-color":[{border:B()}],"border-color-x":[{"border-x":B()}],"border-color-y":[{"border-y":B()}],"border-color-s":[{"border-s":B()}],"border-color-e":[{"border-e":B()}],"border-color-t":[{"border-t":B()}],"border-color-r":[{"border-r":B()}],"border-color-b":[{"border-b":B()}],"border-color-l":[{"border-l":B()}
vendor: 5,756 bytes, line 9
9],"divide-color":[{divide:B()}],"outline-style":[{outline:[...gt(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ct,ft,ct]}],"outline-w":[{outline:["",Ct,Us,Tr]}],"outline-color":[{outline:B()}],shadow:[{shadow:["","none",g,Io,Yo]}],"shadow-color":[{shadow:B()}],"inset-shadow":[{"inset-shadow":["none",y,Io,Yo]}],"inset-shadow-color":[{"inset-shadow":B()}],"ring-w":[{ring:it()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:B()}],"ring-offset-w":[{"ring-offset":[Ct,Tr]}],"ring-offset-color":[{"ring-offset":B()}],"inset-ring-w":[{"inset-ring":it()}],"inset-ring-color":[{"inset-ring":B()}],"text-shadow":[{"text-shadow":["none",x,Io,Yo]}],"text-shadow-color":[{"text-shadow":B()}],opacity:[{opacity:[Ct,ft,ct]}],"mix-blend":[{"mix-blend":[...pt(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":pt()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ct]}],"mask-image-linear-from-pos":[{"mask-linear-from":ht()}],"mask-image-linear-to-pos":[{"mask-linear-to":ht()}],"mask-image-linear-from-color":[{"mask-linear-from":B()}],"mask-image-linear-to-color":[{"mask-linear-to":B()}],"mask-image-t-from-pos":[{"mask-t-from":ht()}],"mask-image-t-to-pos":[{"mask-t-to":ht()}],"mask-image-t-from-color":[{"mask-t-from":B()}],"mask-image-t-to-color":[{"mask-t-to":B()}],"mask-image-r-from-pos":[{"mask-r-from":ht()}],"mask-image-r-to-pos":[{"mask-r-to":ht()}],"mask-image-r-from-color":[{"mask-r-from":B()}],"mask-image-r-to-color":[{"mask-r-to":B()}],"mask-image-b-from-pos":[{"mask-b-from":ht()}],"mask-image-b-to-pos":[{"mask-b-to":ht()}],"mask-image-b-from-color":[{"mask-b-from":B()}],"mask-image-b-to-color":[{"mask-b-to":B()}],"mask-image-l-from-pos":[{"mask-l-from":ht()}],"mask-image-l-to-pos":[{"mask-l-to":ht()}],"mask-image-l-from-color":[{"mask-l-from":B()}],"mask-image-l-to-color":[{"mask-l-to":B()}],"mask-image-x-from-pos":[{"mask-x-from":ht()}],"mask-image-x-to-pos":[{"mask-x-to":ht()}],"mask-image-x-from-color":[{"mask-x-from":B()}],"mask-image-x-to-color":[{"mask-x-to":B()}],"mask-image-y-from-pos":[{"mask-y-from":ht()}],"mask-image-y-to-pos":[{"mask-y-to":ht()}],"mask-image-y-from-color":[{"mask-y-from":B()}],"mask-image-y-to-color":[{"mask-y-to":B()}],"mask-image-radial":[{"mask-radial":[ft,ct]}],"mask-image-radial-from-pos":[{"mask-radial-from":ht()}],"mask-image-radial-to-pos":[{"mask-radial-to":ht()}],"mask-image-radial-from-color":[{"mask-radial-from":B()}],"mask-image-radial-to-color":[{"mask-radial-to":B()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":F()}],"mask-image-conic-pos":[{"mask-conic":[Ct]}],"mask-image-conic-from-pos":[{"mask-conic-from":ht()}],"mask-image-conic-to-pos":[{"mask-conic-to":ht()}],"mask-image-conic-from-color":[{"mask-conic-from":B()}],"mask-image-conic-to-color":[{"mask-conic-to":B()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ot()}],"mask-repeat":[{mask:M()}],"mask-size":[{mask:D()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ft,ct]}],filter:[{filter:["","none",ft,ct]}],blur:[{blur:Bt()}],brightness:[{brightness:[Ct,ft,ct]}],contrast:[{contrast:[Ct,ft,ct]}],"drop-shadow":[{"drop-shadow":["","none",S,Io,Yo]}],"drop-shadow-color":[{"drop-shadow":B()}],grayscale:[{grayscale:["",Ct,ft,ct]}],"hue-rotate":[{"hue-rotate":[Ct,ft,ct]}],invert:[{invert:["",Ct,ft,ct]}],saturate:[{saturate:[Ct,ft,ct]}],sepia:[{sepia:["",Ct,ft,ct]}],"backdrop-filter":[{"backdrop-filter":["","none",ft,ct]}],"backdrop-blur":[{"backdrop-blur":Bt()}],"backdrop-brightness":[{"backdrop-brightness":[Ct,ft,ct]}],"backdrop-contrast":[{"backdrop-contrast":[Ct,ft,ct]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ct,ft,ct]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ct,ft,ct]}],"backdrop-invert":[{"backdrop-invert":["",Ct,ft,ct]}],"backdrop-opacity":[{"backdrop-opacity":[Ct,ft,ct]}],"backdrop-saturate":[{"backdrop-saturate":[Ct,ft,ct]}],"backdrop-sepia":[{"backdrop-sepia":["",Ct,ft,ct]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":Y()}],"border-spacing-x":[{"border-spacing-x":Y()}],"border-spacing-y":[{"border-spacing-y":Y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ft,ct]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ct,"initial",ft,ct]}],ease:[{ease:["linear","initial",k,ft,ct]}],delay:[{delay:[Ct,ft,ct]}],animate:[{animate:["none",_,ft,ct]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[A,ft,ct]}],"perspective-origin":[{"perspective-origin":H()}],rotate:[{rotate:Dt()}],"rotate-x":[{"rotate-x":Dt()}],"rotate-y":[{"rotate-y":Dt()}],"rotate-z":[{"rotate-z":Dt()}],scale:[{scale:de()}],"scale-x":[{"scale-x":de()}],"scale-y":[{"scale-y":de()}],"scale-z":[{"scale-z":de()}],"scale-3d":["scale-3d"],skew:[{skew:Me()}],"skew-x":[{"skew-x":Me()}],"skew-y":[{"skew-y":Me()}],transform:[{transform:[ft,ct,"","none","gpu","cpu"]}],"transform-origin":[{origin:H()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:on()}],"translate-x":[{"translate-x":on()}],"translate-y":[{"translate-y":on()}],"translate-z":[{"translate-z":on()}],"translate-none":["translate-none"],accent:[{accent:B()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:B()}
9],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ft,ct]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Y()}],"scroll-mx":[{"scroll-mx":Y()}],"scroll-my":[{"scroll-my":Y()}],"scroll-ms":[{"scroll-ms":Y()}],"scroll-me":[{"scroll-me":Y()}],"scroll-mt":[{"scroll-mt":Y()}],"scroll-mr":[{"scroll-mr":Y()}],"scroll-mb":[{"scroll-mb":Y()}],"scroll-ml":[{"scroll-ml":Y()}],"scroll-p":[{"scroll-p":Y()}],"scroll-px":[{"scroll-px":Y()}],"scroll-py":[{"scroll-py":Y()}],"scroll-ps":[{"scroll-ps":Y()}],"scroll-pe":[{"scroll-pe":Y()}],"scroll-pt":[{"scroll-pt":Y()}],"scroll-pr":[{"scroll-pr":Y()}],"scroll-pb":[{"scroll-pb":Y()}],"scroll-pl":[{"scroll-pl":Y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ft,ct]}],fill:[{fill:["none",...B()]}],"stroke-w":[{stroke:[Ct,Us,Tr,yd]}],stroke:[{stroke:["none",...B()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},iM=Lk(nM);function Xe(...t){return iM(j1(t))}const rM=AN,Z1=C.forwardRef(({className:t,...n},r)=>v.jsx(E1,{ref:r,className:Xe("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",t),...n}));Z1.displayName=E1.displayName;const aM=D1("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),W1=C.forwardRef(({className:t,variant:n,...r},a)=>v.jsx(A1,{ref:a,className:Xe(aM({variant:n}),t),...r}));W1.displayName=A1.displayName;const sM=C.forwardRef(({className:t,...n},r)=>v.jsx(k1,{ref:r,className:Xe("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",t),...n}));sM.displayName=k1.displayName;const J1=C.forwardRef(({className:t,...n},r)=>v.jsx(M1,{ref:r,className:Xe("absolute right-2 top-2 rounded-md p-1 text-foreground
vendor: 20,136 bytes, line 9
9/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",t),"toast-close":"",...n,children:v.jsx(V1,{className:"h-4 w-4"})}));J1.displayName=M1.displayName;const $1=C.forwardRef(({className:t,...n},r)=>v.jsx(C1,{ref:r,className:Xe("text-sm font-semibold",t),...n}));$1.displayName=C1.displayName;const tS=C.forwardRef(({className:t,...n},r)=>v.jsx(N1,{ref:r,className:Xe("text-sm opacity-90",t),...n}));tS.displayName=N1.displayName;function lM(){const{toasts:t}=C2();return v.jsxs(rM,{children:[t.map(function({id:n,title:r,description:a,action:l,...u}){return v.jsxs(W1,{...u,children:[v.jsxs("div",{className:"grid gap-1",children:[r&&v.jsx($1,{children:r}),a&&v.jsx(tS,{children:a})]}),l,v.jsx(J1,{})]},n)}),v.jsx(Z1,{})]})}const oM=["top","right","bottom","left"],Ji=Math.min,an=Math.max,uu=Math.round,Go=Math.floor,qn=t=>({x:t,y:t}),uM={left:"right",right:"left",bottom:"top",top:"bottom"},cM={start:"end",end:"start"};function rh(t,n,r){return an(t,Ji(n,r))}function vi(t,n){return typeof t=="function"?t(n):t}function xi(t){return t.split("-")[0]}function Pa(t){return t.split("-")[1]}function $h(t){return t==="x"?"y":"x"}function tm(t){return t==="y"?"height":"width"}const fM=new Set(["top","bottom"]);function Hn(t){return fM.has(xi(t))?"y":"x"}function em(t){return $h(Hn(t))}function dM(t,n,r){r===void 0&&(r=!1);const a=Pa(t),l=em(t),u=tm(l);let c=l==="x"?a===(r?"end":"start")?"right":"left":a==="start"?"bottom":"top";return n.reference[u]>n.floating[u]&&(c=cu(c)),[c,cu(c)]}function hM(t){const n=cu(t);return[ah(t),n,ah(n)]}function ah(t){return t.replace(/start|end/g,n=>cM[n])}const Bx=["left","right"],Px=["right","left"],mM=["top","bottom"],pM=["bottom","top"];function gM(t,n,r){switch(t){case"top":case"bottom":return r?n?Px:Bx:n?Bx:Px;case"left":case"right":return n?mM:pM;default:return[]}}function yM(t,n,r,a){const l=Pa(t);let u=gM(xi(t),r==="start",a);return l&&(u=u.map(c=>c+"-"+l),n&&(u=u.concat(u.map(ah)))),u}function cu(t){return t.replace(/left|right|bottom|top/g,n=>uM[n])}function vM(t){return{top:0,right:0,bottom:0,left:0,...t}}function eS(t){return typeof t!="number"?vM(t):{top:t,right:t,bottom:t,left:t}}function fu(t){const{x:n,y:r,width:a,height:l}=t;return{width:a,height:l,top:r,left:n,right:n+a,bottom:r+l,x:n,y:r}}function Ux(t,n,r){let{reference:a,floating:l}=t;const u=Hn(n),c=em(n),d=tm(c),m=xi(n),h=u==="y",g=a.x+a.width/2-l.width/2,y=a.y+a.height/2-l.height/2,x=a[d]/2-l[d]/2;let S;switch(m){case"top":S={x:g,y:a.y-l.height};break;case"bottom":S={x:g,y:a.y+a.height};break;case"right":S={x:a.x+a.width,y};break;case"left":S={x:a.x-l.width,y};break;default:S={x:a.x,y:a.y}}switch(Pa(n)){case"start":S[c]-=x*(r&&h?-1:1);break;case"end":S[c]+=x*(r&&h?-1:1);break}return S}const xM=async(t,n,r)=>{const{placement:a="bottom",strategy:l="absolute",middleware:u=[],platform:c}=r,d=u.filter(Boolean),m=await(c.isRTL==null?void 0:c.isRTL(n));let h=await c.getElementRects({reference:t,floating:n,strategy:l}),{x:g,y}=Ux(h,a,m),x=a,S={},E=0;for(let A=0;A<d.length;A++){const{name:N,fn:k}=d[A],{x:_,y:j,data:F,reset:H}=await k({x:g,y,initialPlacement:a,placement:x,strategy:l,middlewareData:S,rects:h,platform:c,elements:{reference:t,floating:n}});g=_??g,y=j??y,S={...S,[N]:{...S[N],...F}},H&&E<=50&&(E++,typeof H=="object"&&(H.placement&&(x=H.placement),H.rects&&(h=H.rects===!0?await c.getElementRects({reference:t,floating:n,strategy:l}):H.rects),{x:g,y}=Ux(h,x,m)),A=-1)}return{x:g,y,placement:x,strategy:l,middlewareData:S}};async function il(t,n){var r;n===void 0&&(n={});const{x:a,y:l,platform:u,rects:c,elements:d,strategy:m}=t,{boundary:h="clippingAncestors",rootBoundary:g="viewport",elementContext:y="floating",altBoundary:x=!1,padding:S=0}=vi(n,t),E=eS(S),N=d[x?y==="floating"?"reference":"floating":y],k=fu(await u.getClippingRect({element:(r=await(u.isElement==null?void 0:u.isElement(N)))==null||r?N:N.contextElement||await(u.getDocumentElement==null?void 0:u.getDocumentElement(d.floating)),boundary:h,rootBoundary:g,strategy:m})),_=y==="floating"?{x:a,y:l,width:c.floating.width,height:c.floating.height}:c.reference,j=await(u.getOffsetParent==null?void 0:u.getOffsetParent(d.floating)),F=await(u.isElement==null?void 0:u.isElement(j))?await(u.getScale==null?void 0:u.getScale(j))||{x:1,y:1}:{x:1,y:1},H=fu(u.convertOffsetParentRelativeRectToViewportRelativeRect?await u.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:_,offsetParent:j,strategy:m}):_);return{top:(k.top-H.top+E.top)/F.y,bottom:(H.bottom-k.bottom+E.bottom)/F.y,left:(k.left-H.left+E.left)/F.x,right:(H.right-k.right+E.right)/F.x}}const bM=t=>({name:"arrow",options:t,async fn(n){const{x:r,y:a,placement:l,rects:u,platform:c,elements:d,middlewareData:m}=n,{element:h,padding:g=0}=vi(t,n)||{};if(h==null)return{};const y=eS(g),x={x:r,y:a},S=em(l),E=tm(S),A=await c.getDimensions(h),N=S==="y",k=N?"top":"left",_=N?"bottom":"right",j=N?"clientHeight":"clientWidth",F=u.reference[E]+u.reference[S]-x[S]-u.floating[E],H=x[S]-u.reference[S],z=await(c.getOffsetParent==null?void 0:c.getOffsetParent(h));let I=z?z[j]:0;(!I||!await(c.isElement==null?void 0:c.isElement(z)))&&(I=d.floating[j]||u.floating[E]);const Y=F/2-H/2,at=I/2-A[E]/2-1,lt=Ji(y[k],at),et=Ji(y[_],at),nt=lt,dt=I-A[E]-et,Z=I/2-A[E]/2+Y,$=rh(nt,Z,dt),L=!m.arrow&&Pa(l)!=null&&Z!==$&&u.reference[E]/2-(Z<nt?lt:et)-A[E]/2<0,G=L?Z<nt?Z-nt:Z-dt:0;return{[S]:x[S]+G,data:{[S]:$,centerOffset:Z-$-G,...L&&{alignmentOffset:G}},reset:L}}}),SM=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(n){var r,a;const{placement:l,middlewareData:u,rects:c,initialPlacement:d,platform:m,elements:h}=n,{mainAxis:g=!0,crossAxis:y=!0,fallbackPlacements:x,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:A=!0,...N}=vi(t,n);if((r=u.arrow)!=null&&r.alignmentOffset)return{};const k=xi(l),_=Hn(d),j=xi(d)===d,F=await(m.isRTL==null?void 0:m.isRTL(h.floating)),H=x||(j||!A?[cu(d)]:hM(d)),z=E!=="none";!x&&z&&H.push(...yM(d,A,E,F));const I=[d,...H],Y=await il(n,N),at=[];let lt=((a=u.flip)==null?void 0:a.overflows)||[];if(g&&at.push(Y[k]),y){const Z=dM(l,c,F);at.push(Y[Z[0]],Y[Z[1]])}if(lt=[...lt,{placement:l,overflows:at}],!at.every(Z=>Z<=0)){var et,nt;const Z=(((et=u.flip)==null?void 0:et.index)||0)+1,$=I[Z];if($&&(!(y==="alignment"?_!==Hn($):!1)||lt.every(B=>Hn(B.placement)===_?B.overflows[0]>0:!0)))return{data:{index:Z,overflows:lt},reset:{placement:$}};let L=(nt=lt.filter(G=>G.overflows[0]<=0).sort((G,B)=>G.overflows[1]-B.overflows[1])[0])==null?void 0:nt.placement;if(!L)switch(S){case"bestFit":{var dt;const G=(dt=lt.filter(B=>{if(z){const ot=Hn(B.placement);return ot===_||ot==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(ot=>ot>0).reduce((ot,M)=>ot+M,0)]).sort((B,ot)=>B[1]-ot[1])[0])==null?void 0:dt[0];G&&(L=G);break}case"initialPlacement":L=d;break}if(l!==L)return{reset:{placement:L}}}return{}}}};function Hx(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function qx(t){return oM.some(n=>t[n]>=0)}const wM=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(n){const{rects:r}=n,{strategy:a="referenceHidden",...l}=vi(t,n);switch(a){case"referenceHidden":{const u=await il(n,{...l,elementContext:"reference"}),c=Hx(u,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:qx(c)}}}case"escaped":{const u=await il(n,{...l,altBoundary:!0}),c=Hx(u,r.floating);return{data:{escapedOffsets:c,escaped:qx(c)}}}default:return{}}}}},nS=new Set(["left","top"]);async function TM(t,n){const{placement:r,platform:a,elements:l}=t,u=await(a.isRTL==null?void 0:a.isRTL(l.floating)),c=xi(r),d=Pa(r),m=Hn(r)==="y",h=nS.has(c)?-1:1,g=u&&m?-1:1,y=vi(n,t);let{mainAxis:x,crossAxis:S,alignmentAxis:E}=typeof y=="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:y.mainAxis||0,crossAxis:y.crossAxis||0,alignmentAxis:y.alignmentAxis};return d&&typeof E=="number"&&(S=d==="end"?E*-1:E),m?{x:S*g,y:x*h}:{x:x*h,y:S*g}}const EM=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(n){var r,a;const{x:l,y:u,placement:c,middlewareData:d}=n,m=await TM(n,t);return c===((r=d.offset)==null?void 0:r.placement)&&(a=d.arrow)!=null&&a.alignmentOffset?{}:{x:l+m.x,y:u+m.y,data:{...m,placement:c}}}}},AM=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(n){const{x:r,y:a,placement:l}=n,{mainAxis:u=!0,crossAxis:c=!1,limiter:d={fn:N=>{let{x:k,y:_}=N;return{x:k,y:_}}},...m}=vi(t,n),h={x:r,y:a},g=await il(n,m),y=Hn(xi(l)),x=$h(y);let S=h[x],E=h[y];if(u){const N=x==="y"?"top":"left",k=x==="y"?"bottom":"right",_=S+g[N],j=S-g[k];S=rh(_,S,j)}if(c){const N=y==="y"?"top":"left",k=y==="y"?"bottom":"right",_=E+g[N],j=E-g[k];E=rh(_,E,j)}const A=d.fn({...n,[x]:S,[y]:E});return{...A,data:{x:A.x-r,y:A.y-a,enabled:{[x]:u,[y]:c}}}}}},CM=function(t){return t===void 0&&(t={}),{options:t,fn(n){const{x:r,y:a,placement:l,rects:u,middlewareData:c}=n,{offset:d=0,mainAxis:m=!0,crossAxis:h=!0}=vi(t,n),g={x:r,y:a},y=Hn(l),x=$h(y);let S=g[x],E=g[y];const A=vi(d,n),N=typeof A=="number"?{mainAxis:A,crossAxis:0}:{mainAxis:0,crossAxis:0,...A};if(m){const j=x==="y"?"height":"width",F=u.reference[x]-u.floating[j]+N.mainAxis,H=u.reference[x]+u.reference[j]-N.mainAxis;S<F?S=F:S>H&&(S=H)}if(h){var k,_;const j=x==="y"?"width":"height",F=nS.has(xi(l)),H=u.reference[y]-u.floating[j]+(F&&((k=c.offset)==null?void 0:k[y])||0)+(F?0:N.crossAxis),z=u.reference[y]+u.reference[j]+(F?0:((_=c.offset)==null?void 0:_[y])||0)-(F?N.crossAxis:0);E<H?E=H:E>z&&(E=z)}return{[x]:S,[y]:E}}}},NM=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(n){var r,a;const{placement:l,rects:u,platform:c,elements:d}=n,{apply:m=()=>{},...h}=vi(t,n),g=await il(n,h),y=xi(l),x=Pa(l),S=Hn(l)==="y",{width:E,height:A}=u.floating;let N,k;y==="top"||y==="bottom"?(N=y,k=x===(await(c.isRTL==null?void 0:c.isRTL(d.floating))?"start":"end")?"left":"right"):(k=y,N=x==="end"?"top":"bottom");const _=A-g.top-g.bottom,j=E-g.left-g.right,F=Ji(A-g[N],_),H=Ji(E-g[k],j),z=!n.middlewareData.shift;let I=F,Y=H;if((r=n.middlewareData.shift)!=null&&r.enabled.x&&(Y=j),(a=n.middlewareData.shift)!=null&&a.enabled.y&&(I=_),z&&!x){const lt=an(g.left,0),et=an(g.right,0),nt=an(g.top,0),dt=an(g.bottom,0);S?Y=E-2*(lt!==0||et!==0?lt+et:an(g.left,g.right)):I=A-2*(nt!==0||dt!==0?nt+dt:an(g.top,g.bottom))}await m({...n,availableWidth:Y,availableHeight:I});const at=await c.getDimensions(d.floating);return E!==at.width||A!==at.height?{reset:{rects:!0}}:{}}}};function Du(){return typeof window<"u"}function Ua(t){return iS(t)?(t.nodeName||"").toLowerCase():"#document"}function ln(t){var n;return(t==null||(n=t.ownerDocument)==null?void 0:n.defaultView)||window}function Qn(t){var n;return(n=(iS(t)?t.ownerDocument:t.document)||window.document)==null?void 0:n.documentElement}function iS(t){return Du()?t instanceof Node||t instanceof ln(t).Node:!1}function Rn(t){return Du()?t instanceof Element||t instanceof ln(t).Element:!1}function Gn(t){return Du()?t instanceof HTMLElement||t instanceof ln(t).HTMLElement:!1}function Fx(t){return!Du()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ln(t).ShadowRoot}const kM=new Set(["inline","contents"]);function ml(t){const{overflow:n,overflowX:r,overflowY:a,display:l}=zn(t);return/auto|scroll|overlay|hidden|clip/.test(n+a+r)&&!kM.has(l)}const MM=new Set(["table","td","th"]);function OM(t){return MM.has(Ua(t))}const jM=[":popover-open",":modal"];function Ru(t){return jM.some(n=>{try{return t.matches(n)}catch{return!1}})}const DM=["transform","translate","scale","rotate","perspective"],RM=["transform","translate","scale","rotate","perspective","filter"],zM=["paint","layout","strict","content"];function nm(t){const n=im(),r=Rn(t)?zn(t):t;return DM.some(a=>r[a]?r[a]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!n&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!n&&(r.filter?r.filter!=="none":!1)||RM.some(a=>(r.willChange||"").includes(a))||zM.some(a=>(r.contain||"").includes(a))}function _M(t){let n=$i(t);for(;Gn(n)&&!Da(n);){if(nm(n))return n;if(Ru(n))return null;n=$i(n)}return null}function im(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const LM=new Set(["html","body","#document"]);function Da(t){return LM.has(Ua(t))}function zn(t){return ln(t).getComputedStyle(t)}function zu(t){return Rn(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function $i(t){if(Ua(t)==="html")return t;const n=t.assignedSlot||t.parentNode||Fx(t)&&t.host||Qn(t);return Fx(n)?n.host:n}function rS(t){const n=$i(t);return Da(n)?t.ownerDocument?t.ownerDocument.body:t.body:Gn(n)&&ml(n)?n:rS(n)}function rl(t,n,r){var a;n===void 0&&(n=[]),r===void 0&&(r=!0);const l=rS(t),u=l===((a=t.ownerDocument)==null?void 0:a.body),c=ln(l);if(u){const d=sh(c);return n.concat(c,c.visualViewport||[],ml(l)?l:[],d&&r?rl(d):[])}return n.concat(l,rl(l,[],r))}function sh(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function aS(t){const n=zn(t);let r=parseFloat(n.width)||0,a=parseFloat(n.height)||0;const l=Gn(t),u=l?t.offsetWidth:r,c=l?t.offsetHeight:a,d=uu(r)!==u||uu(a)!==c;return d&&(r=u,a=c),{width:r,height:a,$:d}}function rm(t){return Rn(t)?t:t.contextElement}function Ma(t){const n=rm(t);if(!Gn(n))return qn(1);const r=n.getBoundingClientRect(),{width:a,height:l,$:u}=aS(n);let c=(u?uu(r.width):r.width)/a,d=(u?uu(r.height):r.height)/l;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}const VM=qn(0);function sS(t){const n=ln(t);return!im()||!n.visualViewport?VM:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function BM(t,n,r){return n===void 0&&(n=!1),!r||n&&r!==ln(t)?!1:n}function jr(t,n,r,a){n===void 0&&(n=!1),r===void 0&&(r=!1);const l=t.getBoundingClientRect(),u=rm(t);let c=qn(1);n&&(a?Rn(a)&&(c=Ma(a)):c=Ma(t));const d=BM(u,r,a)?sS(u):qn(0);let m=(l.left+d.x)/c.x,h=(l.top+d.y)/c.y,g=l.width/c.x,y=l.height/c.y;if(u){const x=ln(u),S=a&&Rn(a)?ln(a):a;let E=x,A=sh(E);for(;A&&a&&S!==E;){const N=Ma(A),k=A.getBoundingClientRect(),_=zn(A),j=k.left+(A.clientLeft+parseFloat(_.paddingLeft))*N.x,F=k.top+(A.clientTop+parseFloat(_.paddingTop))*N.y;m*=N.x,h*=N.y,g*=N.x,y*=N.y,m+=j,h+=F,E=ln(A),A=sh(E)}}return fu({width:g,height:y,x:m,y:h})}function _u(t,n){const r=zu(t).scrollLeft;return n?n.left+r:jr(Qn(t)).left+r}function lS(t,n){const r=t.getBoundingClientRect(),a=r.left+n.scrollLeft-_u(t,r),l=r.top+n.scrollTop;return{x:a,y:l}}function PM(t){let{elements:n,rect:r,offsetParent:a,strategy:l}=t;const u=l==="fixed",c=Qn(a),d=n?Ru(n.floating):!1;if(a===c||d&&u)return r;let m={scrollLeft:0,scrollTop:0},h=qn(1);const g=qn(0),y=Gn(a);if((y||!y&&!u)&&((Ua(a)!=="body"||ml(c))&&(m=zu(a)),Gn(a))){const S=jr(a);h=Ma(a),g.x=S.x+a.clientLeft,g.y=S.y+a.clientTop}const x=c&&!y&&!u?lS(c,m):qn(0);return{width:r.width*h.x,height:r.height*h.y,x:r.x*h.x-m.scrollLeft*h.x+g.x+x.x,y:r.y*h.y-m.scrollTop*h.y+g.y+x.y}}function UM(t){return Array.from(t.getClientRects())}function HM(t){const n=Qn(t),r=zu(t),a=t.ownerDocument.body,l=an(n.scrollWidth,n.clientWidth,a.scrollWidth,a.clientWidth),u=an(n.scrollHeight,n.clientHeight,a.scrollHeight,a.clientHeight);let c=-r.scrollLeft+_u(t);const d=-r.scrollTop;return zn(a).direction==="rtl"&&(c+=an(n.clientWidth,a.clientWidth)-l),{width:l,height:u,x:c,y:d}}const Yx=25;function qM(t,n){const r=ln(t),a=Qn(t),l=r.visualViewport;let u=a.clientWidth,c=a.clientHeight,d=0,m=0;if(l){u=l.width,c=l.height;const g=im();(!g||g&&n==="fixed")&&(d=l.offsetLeft,m=l.offsetTop)}const h=_u(a);if(h<=0){const g=a.ownerDocument,y=g.body,x=getComputedStyle(y),S=g.compatMode==="CSS1Compat"&&parseFloat(x.marginLeft)+parseFloat(x.marginRight)||0,E=Math.abs(a.clientWidth-y.clientWidth-S);E<=Yx&&(u-=E)}else h<=Yx&&(u+=h);return{width:u,height:c,x:d,y:m}}const FM=new Set(["absolute","fixed"]);function YM(t,n){const r=jr(t,!0,n==="fixed"),a=r.top+t.clientTop,l=r.left+t.clientLeft,u=Gn(t)?Ma(t):qn(1),c=t.clientWidth*u.x,d=t.clientHeight*u.y,m=l*u.x,h=a*u.y;return{width:c,height:d,x:m,y:h}}function Ix(t,n,r){let a;if(n==="viewport")a=qM(t,r);else if(n==="document")a=HM(Qn(t));else if(Rn(n))a=YM(n,r);else{const l=sS(t);a={x:n.x-l.x,y:n.y-l.y,width:n.width,height:n.height}}return fu(a)}function oS(t,n){const r=$i(t);return r===n||!Rn(r)||Da(r)?!1:zn(r).position==="fixed"||oS(r,n)}function IM(t,n){const r=n.get(t);if(r)return r;let a=rl(t,[],!1).filter(d=>Rn(d)&&Ua(d)!=="body"),l=null;const u=zn(t).position==="fixed";let c=u?$i(t):t;for(;Rn(c)&&!Da(c);){const d=zn(c),m=nm(c);!m&&d.position==="fixed"&&(l=null),(u?!m&&!l:!m&&d.position==="static"&&!!l&&FM.has(l.position)||ml(c)&&!m&&oS(t,c))?a=a.filter(g=>g!==c):l=d,c=$i(c)}return n.set(t,a),a}function GM(t){let{element:n,boundary:r,rootBoundary:a,strategy:l}=t;const c=[...r==="clippingAncestors"?Ru(n)?[]:IM(n,this._c):[].concat(r),a],d=c[0],m=c.reduce((h,g)=>{const y=Ix(n,g,l);return h.top=an(y.top,h.top),h.right=Ji(y.right,h.right),h.bottom=Ji(y.bottom,h.bottom),h.left=an(y.left,h.left),h},Ix(n,d,l));return{width:m.right-m.left,height:m.bottom-m.top,x:m.left,y:m.top}}function XM(t){const{width:n,height:r}=aS(t);return{width:n,height:r}}function QM(t,n,r){const a=Gn(n),l=Qn(n),u=r==="fixed",c=jr(t,!0,u,n);let d={scrollLeft:0,scrollTop:0};const m=qn(0);function h(){m.x=_u(l)}if(a||!a&&!u)if((Ua(n)!=="body"||ml(l))&&(d=zu(n)),a){const S=jr(n,!0,u,n);m.x=S.x+n.clientLeft,m.y=S.y+n.clientTop}else l&&h();u&&!a&&l&&h();const g=l&&!a&&!u?lS(l,d):qn(0),y=c.left+d.scrollLeft-m.x-g.x,x=c.top+d.scrollTop-m.y-g.y;return{x:y,y:x,width:c.width,height:c.height}}function vd(t){return zn(t).position==="static"}function Gx(t,n){if(!Gn(t)||zn(t).position==="fixed")return null;if(n)return n(t);let r=t.offsetParent;return Qn(t)===r&&(r=r.ownerDocument.body),r}function uS(t,n){const r=ln(t);if(Ru(t))return r;if(!Gn(t)){let l=$i(t);for(;l&&!Da(l);){if(Rn(l)&&!vd(l))return l;l=$i(l)}return r}let a=Gx(t,n);for(;a&&OM(a)&&vd(a);)a=Gx(a,n);return a&&Da(a)&&vd(a)&&!nm(a)?r:a||_M(t)||r}const KM=async function(t){const n=this.getOffsetParent||uS,r=this.getDimensions,a=await r(t.floating);return{reference:QM(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function ZM(t){return zn(t).direction==="rtl"}const WM={convertOffsetParentRelativeRectToViewportRelativeRect:PM,getDocumentElement:Qn,getClippingRect:GM,getOffsetParent:uS,getElementRects:KM,getClientRects:UM,getDimensions:XM,getScale:Ma,isElement:Rn,isRTL:ZM};function cS(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function JM(t,n){let r=null,a;const l=Qn(t);function u(){var d;clearTimeout(a),(d=r)==null||d.disconnect(),r=null}function c(d,m){d===void 0&&(d=!1),m===void 0&&(m=1),u();const h=t.getBoundingClientRect(),{left:g,top:y,width:x,height:S}=h;if(d||n(),!x||!S)return;const E=Go(y),A=Go(l.clientWidth-(g+x)),N=Go(l.clientHeight-(y+S)),k=Go(g),j={rootMargin:-E+"px "+-A+"px "+-N+"px "+-k+"px",threshold:an(0,Ji(1,m))||1};let F=!0;function H(z){const I=z[0].intersectionRatio;if(I!==m){if(!F)return c();I?c(!1,I):a=setTimeout(()=>{c(!1,1e-7)},1e3)}I===1&&!cS(h,t.getBoundingClientRect())&&c(),F=!1}try{r=new IntersectionObserver(H,{...j,root:l.ownerDocument})}catch{r=new IntersectionObserver(H,j)}r.observe(t)}return c(!0),u}function $M(t,n,r,a){a===void 0&&(a={});const{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:d=typeof IntersectionObserver=="function",animationFrame:m=!1}=a,h=rm(t),g=l||u?[...h?rl(h):[],...rl(n)]:[];g.forEach(k=>{l&&k.addEventListener("scroll",r,{passive:!0}),u&&k.addEventListener("resize",r)});const y=h&&d?JM(h,r):null;let x=-1,S=null;c&&(S=new ResizeObserver(k=>{let[_]=k;_&&_.target===h&&S&&(S.unobserve(n),cancelAnimationFrame(x),x=requestAnimationFrame(()=>{var j;(j=S)==null||j.observe(n)})),r()}),h&&!m&&S.observe(h),S.observe(n));let E,A=m?jr(t):null;m&&N();
vendor: 8,943 bytes, line 9
9function N(){const k=jr(t);A&&!cS(A,k)&&r(),A=k,E=requestAnimationFrame(N)}return r(),()=>{var k;g.forEach(_=>{l&&_.removeEventListener("scroll",r),u&&_.removeEventListener("resize",r)}),y?.(),(k=S)==null||k.disconnect(),S=null,m&&cancelAnimationFrame(E)}}const tO=EM,eO=AM,nO=SM,iO=NM,rO=wM,Xx=bM,aO=CM,sO=(t,n,r)=>{const a=new Map,l={platform:WM,...r},u={...l.platform,_c:a};return xM(t,n,{...l,platform:u})};var lO=typeof document<"u",oO=function(){},eu=lO?C.useLayoutEffect:oO;function du(t,n){if(t===n)return!0;if(typeof t!=typeof n)return!1;if(typeof t=="function"&&t.toString()===n.toString())return!0;let r,a,l;if(t&&n&&typeof t=="object"){if(Array.isArray(t)){if(r=t.length,r!==n.length)return!1;for(a=r;a--!==0;)if(!du(t[a],n[a]))return!1;return!0}if(l=Object.keys(t),r=l.length,r!==Object.keys(n).length)return!1;for(a=r;a--!==0;)if(!{}.hasOwnProperty.call(n,l[a]))return!1;for(a=r;a--!==0;){const u=l[a];if(!(u==="_owner"&&t.$$typeof)&&!du(t[u],n[u]))return!1}return!0}return t!==t&&n!==n}function fS(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Qx(t,n){const r=fS(t);return Math.round(n*r)/r}function xd(t){const n=C.useRef(t);return eu(()=>{n.current=t}),n}function uO(t){t===void 0&&(t={});const{placement:n="bottom",strategy:r="absolute",middleware:a=[],platform:l,elements:{reference:u,floating:c}={},transform:d=!0,whileElementsMounted:m,open:h}=t,[g,y]=C.useState({x:0,y:0,strategy:r,placement:n,middlewareData:{},isPositioned:!1}),[x,S]=C.useState(a);du(x,a)||S(a);const[E,A]=C.useState(null),[N,k]=C.useState(null),_=C.useCallback(B=>{B!==z.current&&(z.current=B,A(B))},[]),j=C.useCallback(B=>{B!==I.current&&(I.current=B,k(B))},[]),F=u||E,H=c||N,z=C.useRef(null),I=C.useRef(null),Y=C.useRef(g),at=m!=null,lt=xd(m),et=xd(l),nt=xd(h),dt=C.useCallback(()=>{if(!z.current||!I.current)return;const B={placement:n,strategy:r,middleware:x};et.current&&(B.platform=et.current),sO(z.current,I.current,B).then(ot=>{const M={...ot,isPositioned:nt.current!==!1};Z.current&&!du(Y.current,M)&&(Y.current=M,Cu.flushSync(()=>{y(M)}))})},[x,n,r,et,nt]);eu(()=>{h===!1&&Y.current.isPositioned&&(Y.current.isPositioned=!1,y(B=>({...B,isPositioned:!1})))},[h]);const Z=C.useRef(!1);eu(()=>(Z.current=!0,()=>{Z.current=!1}),[]),eu(()=>{if(F&&(z.current=F),H&&(I.current=H),F&&H){if(lt.current)return lt.current(F,H,dt);dt()}},[F,H,dt,lt,at]);const $=C.useMemo(()=>({reference:z,floating:I,setReference:_,setFloating:j}),[_,j]),L=C.useMemo(()=>({reference:F,floating:H}),[F,H]),G=C.useMemo(()=>{const B={position:r,left:0,top:0};if(!L.floating)return B;const ot=Qx(L.floating,g.x),M=Qx(L.floating,g.y);return d?{...B,transform:"translate("+ot+"px, "+M+"px)",...fS(L.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:ot,top:M}},[r,d,L.floating,g.x,g.y]);return C.useMemo(()=>({...g,update:dt,refs:$,elements:L,floatingStyles:G}),[g,dt,$,L,G])}const cO=t=>{function n(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:t,fn(r){const{element:a,padding:l}=typeof t=="function"?t(r):t;return a&&n(a)?a.current!=null?Xx({element:a.current,padding:l}).fn(r):{}:a?Xx({element:a,padding:l}).fn(r):{}}}},fO=(t,n)=>({...tO(t),options:[t,n]}),dO=(t,n)=>({...eO(t),options:[t,n]}),hO=(t,n)=>({...aO(t),options:[t,n]}),mO=(t,n)=>({...nO(t),options:[t,n]}),pO=(t,n)=>({...iO(t),options:[t,n]}),gO=(t,n)=>({...rO(t),options:[t,n]}),yO=(t,n)=>({...cO(t),options:[t,n]});var vO="Arrow",dS=C.forwardRef((t,n)=>{const{children:r,width:a=10,height:l=5,...u}=t;return v.jsx(Ge.svg,{...u,ref:n,width:a,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?r:v.jsx("polygon",{points:"0,0 30,0 15,10"})})});dS.displayName=vO;var xO=dS;function bO(t){const[n,r]=C.useState(void 0);return Wi(()=>{if(t){r({width:t.offsetWidth,height:t.offsetHeight});const a=new ResizeObserver(l=>{if(!Array.isArray(l)||!l.length)return;const u=l[0];let c,d;if("borderBoxSize"in u){const m=u.borderBoxSize,h=Array.isArray(m)?m[0]:m;c=h.inlineSize,d=h.blockSize}else c=t.offsetWidth,d=t.offsetHeight;r({width:c,height:d})});return a.observe(t,{box:"border-box"}),()=>a.unobserve(t)}else r(void 0)},[t]),n}var hS="Popper",[mS,pS]=ku(hS),[D5,gS]=mS(hS),yS="PopperAnchor",vS=C.forwardRef((t,n)=>{const{__scopePopper:r,virtualRef:a,...l}=t,u=gS(yS,r),c=C.useRef(null),d=Dn(n,c),m=C.useRef(null);return C.useEffect(()=>{const h=m.current;m.current=a?.current||c.current,h!==m.current&&u.onAnchorChange(m.current)}),a?null:v.jsx(Ge.div,{...l,ref:d})});vS.displayName=yS;var am="PopperContent",[SO,wO]=mS(am),xS=C.forwardRef((t,n)=>{const{__scopePopper:r,side:a="bottom",sideOffset:l=0,align:u="center",alignOffset:c=0,arrowPadding:d=0,avoidCollisions:m=!0,collisionBoundary:h=[],collisionPadding:g=0,sticky:y="partial",hideWhenDetached:x=!1,updatePositionStrategy:S="optimized",onPlaced:E,...A}=t,N=gS(am,r),[k,_]=C.useState(null),j=Dn(n,ht=>_(ht)),[F,H]=C.useState(null),z=bO(F),I=z?.width??0,Y=z?.height??0,at=a+(u!=="center"?"-"+u:""),lt=typeof g=="number"?g:{top:0,right:0,bottom:0,left:0,...g},et=Array.isArray(h)?h:[h],nt=et.length>0,dt={padding:lt,boundary:et.filter(EO),altBoundary:nt},{refs:Z,floatingStyles:$,placement:L,isPositioned:G,middlewareData:B}=uO({strategy:"fixed",placement:at,whileElementsMounted:(...ht)=>$M(...ht,{animationFrame:S==="always"}),elements:{reference:N.anchor},middleware:[fO({mainAxis:l+Y,alignmentAxis:c}),m&&dO({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?hO():void 0,...dt}),m&&mO({...dt}),pO({...dt,apply:({elements:ht,rects:Bt,availableWidth:Dt,availableHeight:de})=>{const{width:Me,height:on}=Bt.reference,Kn=ht.floating.style;Kn.setProperty("--radix-popper-available-width",`${Dt}px`),Kn.setProperty("--radix-popper-available-height",`${de}px`),Kn.setProperty("--radix-popper-anchor-width",`${Me}px`),Kn.setProperty("--radix-popper-anchor-height",`${on}px`)}}),F&&yO({element:F,padding:d}),AO({arrowWidth:I,arrowHeight:Y}),x&&gO({strategy:"referenceHidden",...dt})]}),[ot,M]=wS(L),D=Zi(E);Wi(()=>{G&&D?.()},[G,D]);const Q=B.arrow?.x,T=B.arrow?.y,it=B.arrow?.centerOffset!==0,[gt,pt]=C.useState();return Wi(()=>{k&&pt(window.getComputedStyle(k).zIndex)},[k]),v.jsx("div",{ref:Z.setFloating,"data-radix-popper-content-wrapper":"",style:{...$,transform:G?$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:gt,"--radix-popper-transform-origin":[B.transformOrigin?.x,B.transformOrigin?.y].join(" "),...B.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:v.jsx(SO,{scope:r,placedSide:ot,onArrowChange:H,arrowX:Q,arrowY:T,shouldHideArrow:it,children:v.jsx(Ge.div,{"data-side":ot,"data-align":M,...A,ref:j,style:{...A.style,animation:G?void 0:"none"}})})})});xS.displayName=am;var bS="PopperArrow",TO={top:"bottom",right:"left",bottom:"top",left:"right"},SS=C.forwardRef(function(n,r){const{__scopePopper:a,...l}=n,u=wO(bS,a),c=TO[u.placedSide];return v.jsx("span",{ref:u.onArrowChange,style:{position:"absolute",left:u.arrowX,top:u.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[u.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[u.placedSide],visibility:u.shouldHideArrow?"hidden":void 0},children:v.jsx(xO,{...l,ref:r,style:{...l.style,display:"block"}})})});SS.displayName=bS;function EO(t){return t!==null}var AO=t=>({name:"transformOrigin",options:t,fn(n){const{placement:r,rects:a,middlewareData:l}=n,c=l.arrow?.centerOffset!==0,d=c?0:t.arrowWidth,m=c?0:t.arrowHeight,[h,g]=wS(r),y={start:"0%",center:"50%",end:"100%"}[g],x=(l.arrow?.x??0)+d/2,S=(l.arrow?.y??0)+m/2;let E="",A="";return h==="bottom"?(E=c?y:`${x}px`,A=`${-m}px`):h==="top"?(E=c?y:`${x}px`,A=`${a.floating.height+m}px`):h==="right"?(E=`${-m}px`,A=c?y:`${S}px`):h==="left"&&(E=`${a.floating.width+m}px`,A=c?y:`${S}px`),{data:{x:E,y:A}}}});function wS(t){const[n,r="center"]=t.split("-");return[n,r]}var CO=vS,NO=xS,kO=SS,MO=Symbol("radix.slottable");function OO(t){const n=({children:r})=>v.jsx(v.Fragment,{children:r});return n.displayName=`${t}.Slottable`,n.__radixId=MO,n}var[Lu]=ku("Tooltip",[pS]),sm=pS(),TS="TooltipProvider",jO=700,Kx="tooltip.open",[DO,ES]=Lu(TS),AS=t=>{const{__scopeTooltip:n,delayDuration:r=jO,skipDelayDuration:a=300,disableHoverableContent:l=!1,children:u}=t,c=C.useRef(!0),d=C.useRef(!1),m=C.useRef(0);return C.useEffect(()=>{const h=m.current;return()=>window.clearTimeout(h)},[]),v.jsx(DO,{scope:n,isOpenDelayedRef:c,delayDuration:r,onOpen:C.useCallback(()=>{window.clearTimeout(m.current),c.current=!1},[]),onClose:C.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>c.current=!0,a)},[a]),isPointerInTransitRef:d,onPointerInTransitChange:C.useCallback(h=>{d.current=h},[]),disableHoverableContent:l,children:u})};AS.displayName=TS;var CS="Tooltip",[R5,pl]=Lu(CS),lh="TooltipTrigger",RO=C.forwardRef((t,
vendor: 4,436 bytes, line 9
9n)=>{const{__scopeTooltip:r,...a}=t,l=pl(lh,r),u=ES(lh,r),c=sm(r),d=C.useRef(null),m=Dn(n,d,l.onTriggerChange),h=C.useRef(!1),g=C.useRef(!1),y=C.useCallback(()=>h.current=!1,[]);return C.useEffect(()=>()=>document.removeEventListener("pointerup",y),[y]),v.jsx(CO,{asChild:!0,...c,children:v.jsx(Ge.button,{"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute,...a,ref:m,onPointerMove:ye(t.onPointerMove,x=>{x.pointerType!=="touch"&&!g.current&&!u.isPointerInTransitRef.current&&(l.onTriggerEnter(),g.current=!0)}),onPointerLeave:ye(t.onPointerLeave,()=>{l.onTriggerLeave(),g.current=!1}),onPointerDown:ye(t.onPointerDown,()=>{l.open&&l.onClose(),h.current=!0,document.addEventListener("pointerup",y,{once:!0})}),onFocus:ye(t.onFocus,()=>{h.current||l.onOpen()}),onBlur:ye(t.onBlur,l.onClose),onClick:ye(t.onClick,l.onClose)})})});RO.displayName=lh;var lm="TooltipPortal",[zO,_O]=Lu(lm,{forceMount:void 0}),NS=t=>{const{__scopeTooltip:n,forceMount:r,children:a,container:l}=t,u=pl(lm,n);return v.jsx(zO,{scope:n,forceMount:r,children:v.jsx(Mu,{present:r||u.open,children:v.jsx(Gh,{asChild:!0,container:l,children:a})})})};NS.displayName=lm;var Ra="TooltipContent",kS=C.forwardRef((t,n)=>{const r=_O(Ra,t.__scopeTooltip),{forceMount:a=r.forceMount,side:l="top",...u}=t,c=pl(Ra,t.__scopeTooltip);return v.jsx(Mu,{present:a||c.open,children:c.disableHoverableContent?v.jsx(MS,{side:l,...u,ref:n}):v.jsx(LO,{side:l,...u,ref:n})})}),LO=C.forwardRef((t,n)=>{const r=pl(Ra,t.__scopeTooltip),a=ES(Ra,t.__scopeTooltip),l=C.useRef(null),u=Dn(n,l),[c,d]=C.useState(null),{trigger:m,onClose:h}=r,g=l.current,{onPointerInTransitChange:y}=a,x=C.useCallback(()=>{d(null),y(!1)},[y]),S=C.useCallback((E,A)=>{const N=E.currentTarget,k={x:E.clientX,y:E.clientY},_=HO(k,N.getBoundingClientRect()),j=qO(k,_),F=FO(A.getBoundingClientRect()),H=IO([...j,...F]);d(H),y(!0)},[y]);return C.useEffect(()=>()=>x(),[x]),C.useEffect(()=>{if(m&&g){const E=N=>S(N,g),A=N=>S(N,m);return m.addEventListener("pointerleave",E),g.addEventListener("pointerleave",A),()=>{m.removeEventListener("pointerleave",E),g.removeEventListener("pointerleave",A)}}},[m,g,S,x]),C.useEffect(()=>{if(c){const E=A=>{const N=A.target,k={x:A.clientX,y:A.clientY},_=m?.contains(N)||g?.contains(N),j=!YO(k,c);_?x():j&&(x(),h())};return document.addEventListener("pointermove",E),()=>document.removeEventListener("pointermove",E)}},[m,g,c,h,x]),v.jsx(MS,{...t,ref:u})}),[VO,BO]=Lu(CS,{isInside:!1}),PO=OO("TooltipContent"),MS=C.forwardRef((t,n)=>{const{__scopeTooltip:r,children:a,"aria-label":l,onEscapeKeyDown:u,onPointerDownOutside:c,...d}=t,m=pl(Ra,r),h=sm(r),{onClose:g}=m;return C.useEffect(()=>(document.addEventListener(Kx,g),()=>document.removeEventListener(Kx,g)),[g]),C.useEffect(()=>{if(m.trigger){const y=x=>{x.target?.contains(m.trigger)&&g()};return window.addEventListener("scroll",y,{capture:!0}),()=>window.removeEventListener("scroll",y,{capture:!0})}},[m.trigger,g]),v.jsx(Ih,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:y=>y.preventDefault(),onDismiss:g,children:v.jsxs(NO,{"data-state":m.stateAttribute,...h,...d,ref:n,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[v.jsx(PO,{children:a}),v.jsx(VO,{scope:r,isInside:!0,children:v.jsx(lN,{id:m.contentId,role:"tooltip",children:l||a})})]})})});kS.displayName=Ra;var OS="TooltipArrow",UO=C.forwardRef((t,n)=>{const{__scopeTooltip:r,...a}=t,l=sm(r);return BO(OS,r).isInside?null:v.jsx(kO,{...l,...a,ref:n})});UO.displayName=OS;function HO(t,n){const r=Math.abs(n.top-t.y),a=Math.abs(n.bottom-t.y),l=Math.abs(n.right-t.x),u=Math.abs(n.left-t.x);switch(Math.min(r,a,l,u)){case u:return"left";case l:return"right";case r:return"top";case a:return"bottom";default:throw new Error("unreachable")}}function qO(t,n,r=5){const a=[];switch(n){case"top":a.push({x:t.x-r,y:t.y+r},{x:t.x+r,y:t.y+r});break;case"bottom":a.push({x:t.x-r,y:t.y-r},{x:t.x+r,y:t.y-r});break;case"left":a.push({x:t.x+r,y:t.y-r},{x:t.x+r,y:t.y+r});break;case"right":a.push({x:t.x-r,y:t.y-r},{x:t.x-r,y:t.y+r});break}return a}
9function FO(t){const{top:n,right:r,bottom:a,left:l}=t;return[{x:l,y:n},{x:r,y:n},{x:r,y:a},{x:l,y:a}]}function YO(t,n){const{x:r,y:a}=t;let l=!1;for(let u=0,c=n.length-1;u<n.length;c=u++){const d=n[u],m=n[c],h=d.x,g=d.y,y=m.x,x=m.y;g>a!=x>a&&r<(y-h)*(a-g)/(x-g)+h&&(l=!l)}return l}function IO(t){const n=t.slice();return n.sort((r,a)=>r.x<a.x?-1:r.x>a.x?1:r.y<a.y?-1:r.y>a.y?1:0),GO(n)}function GO(t){if(t.length<=1)return t.slice();const n=[];for(let a=0;a<t.length;a++){const l=t[a];for(;n.length>=2;){const u=n[n.length-1],c=n[n.length-2];if((u.x-c.x)*(l.y-c.y)>=(u.y-c.y)*(l.x-c.x))n.pop();else break}n.push(l)}n.pop();const r=[];for(let a=t.length-1;a>=0;a--){const l=t[a];for(;r.length>=2;){const u=r[r.length-1],c=r[r.length-2];if((u.x-c.x)*(l.y-c.y)>=(u.y-c.y)*(l.x-c.x))r.pop();else break}r.push(l)}return r.pop(),n.length===1&&r.length===1&&n[0].x===r[0].x&&n[0].y===r[0].y?n:n.concat(r)}var XO=AS,QO=NS,jS=kS;const KO=XO,ZO=C.forwardRef(({className:t,sideOffset:n=4,...r},a)=>v.jsx(QO,{children:v.jsx(jS,{ref:a,sideOffset:n,className:Xe("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",t),...r})}));ZO.displayName=jS.displayName;const om=C.forwardRef(({className:t,...n},r)=>v.jsx("div",{ref:r,className:Xe("rounded-xl border bg-card text-card-foreground shadow",t),...n}));om.displayName="Card";const DS=C.forwardRef(({className:t,...n},r)=>v.jsx("div",{ref:r,className:Xe("flex flex-col space-y-1.5 p-6",t),...n}));DS.displayName="CardHeader";const RS=C.forwardRef(({className:t,...n},r)=>v.jsx("div",{ref:r,className:Xe("font-semibold leading-none tracking-tight",t),...n}));RS.displayName="CardTitle";const WO=C.forwardRef(({className:t,...n},r)=>v.jsx("div",{ref:r,className:Xe("text-sm text-muted-foreground",t),...n}));WO.displayName="CardDescription";const um=C.forwardRef(({className:t,...n},r)=>v.jsx("div",{ref:r,className:Xe("p-6 pt-0",t),...n}));um.displayName="CardContent";const JO=C.forwardRef(({className:t,...n},r)=>v.jsx("div",{ref:r,className:Xe("flex items-center p-6 pt-0",t),...n}));JO.displayName="CardFooter";function $O(){return C.useEffect(()=>{document.title="404 Page Not Found | Civic Data Tech"},[]),v.jsx("div",{className:"min-h-screen w-full flex items-center justify-center bg-gray-50",children:v.jsx(om,{className:"w-full max-w-md mx-4",children:v.jsxs(um,{className:"pt-6",children:[v.jsxs("div",{className:"flex mb-4 gap-2",children:[v.jsx(LN,{className:"h-8 w-8 text-red-500"}),v.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"404 Page Not Found"})]}),v.jsx("p",{className:"mt-4 text-sm text-gray-600",children:"Did you forget to add the page to the router?"})]})})})}const zS=C.createContext({});function tj(t){const n=C.useRef(null);return n.current===null&&(n.current=t()),n.current}const cm=typeof window<"u",ej=cm?C.useLayoutEffect:C.useEffect,fm=C.createContext(null);function dm(t,n){t.indexOf(n)===-1&&t.push(n)}function hm(t,n){const r=t.indexOf(n);r>-1&&t.splice(r,1)}const bi=(t,n,r)=>r>n?n:r<t?t:r;let mm=()=>{};const Si={},_S=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function LS(t){return typeof t=="object"&&t!==null}const VS=t=>/^0[^.\s]+$/u.test(t);function pm(t){let n;return()=>(n===void 0&&(n=t()),n)}const wn=t=>t,nj=(t,n)=>r=>n(t(r)),gl=(...t)=>t.reduce(nj),al=(t,n,r)=>{const a=n-t;return a===0?1:(r-t)/a};class gm{constructor(){this.subscriptions=[]}add(n){return dm(this.subscriptions,n),()=>hm(this.subscriptions,n)}notify(n,r,a){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](n,r,a);else for(let u=0;u<l;u++){const c=this.subscriptions[u];c&&c(n,r,a)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Fn=t=>t*1e3,Sn=t=>t/1e3;function BS(t,n){return n?t*(1e3/n):0}const PS=(t,n,r)=>(((1-3*r+3*n)*t+(3*r-6*n))*t+3*n)*t,ij=1e-7,rj=12;function aj(t,n,r,a,l){let u,c,d=0;do c=n+(r-n)/2,u=PS(c,a,l)-t,u>0?r=c:n=c;while(Math.abs(u)>ij&&++d<rj);return c}function yl(t,n,r,a){if(t===n&&r===a)return wn;const l=u=>aj(u,0,1,t,r);return u=>u===0||u===1?u:PS(l(u),n,a)}const US=t=>n=>n<=.5?t(2*n)/2:(2-t(2*(1-n)))/2,HS=t=>n=>1-t(1-n),qS=yl(.33,1.53,.69,.99),ym=HS(qS),FS=US(ym),YS=t=>(t*=2)<1?.5*ym(t):.5*(2-Math.pow(2,-10*(t-1))),vm=t=>1-Math.sin(Math.acos(t)),IS=HS(vm),GS=US(vm),sj=yl(.42,0,1,1),lj=yl(0,0,.58,1),XS=yl(.42,0,.58,1),oj=t=>Array.isArray(t)&&typeof t[0]!="number",QS=t=>Array.isArray(t)&&typeof t[0]=="number",uj={linear:wn,easeIn:sj,easeInOut:XS,easeOut:lj,circIn:vm,circInOut:GS,circOut:IS,backIn:ym,backInOut:FS,backOut:qS,anticipate:YS},cj=t=>typeof t=="string",Zx=t=>{if(QS(t)){mm(t.length===4);const[n,r,a,l]=t;return yl(n,r,a,l)}else if(cj(t))return uj[t];return t},Xo=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function fj(t,n){let r=new Set,a=new Set,l=!1,u=!1;const c=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};function m(g){c.has(g)&&(h.schedule(g),t()),g(d)}const h={schedule:(g,y=!1,x=!1)=>{const E=x&&l?r:a;return y&&c.add(g),E.has(g)||E.add(g),g},cancel:g=>{a.delete(g),c.delete(g)},process:g=>{if(d=g,l){u=!0;return}l=!0,[r,a]=[a,r],r.forEach(m),r.clear(),l=!1,u&&(u=!1,h.process(g))}};return h}const dj=40;function KS(t,n){let r=!1,a=!0;const l={delta:0,timestamp:0,isProcessing:!1},u=()=>r=!0,c=Xo.reduce((j,F)=>(j[F]=fj(u),j),{}),{setup:d,read:m,resolveKeyframes:h,preUpdate:g,update:y,preRender:x,render:S,postRender:E}=c,A=()=>{const j=Si.useManualTiming?l.timestamp:performance.now();r=!1,Si.useManualTiming||(l.delta=a?1e3/60:Math.max(Math.min(j-l.timestamp,dj),1)),l.timestamp=j,l.isProcessing=!0,d.process(l),m.process(l),h.process(l),g.process(l),y.process(l),x.process(l),S.process(l),E.process(l),l.isProcessing=!1,r&&n&&(a=!1,t(A))},N=()=>{r=!0,a=!0,l.isProcessing||t(A)};return{schedule:Xo.reduce((j,F)=>{const H=c[F];return j[F]=(z,I=!1,Y=!1)=>(r||N(),H.schedule(z,I,Y)),j},{}),cancel:j=>{for(let F=0;F<Xo.length;F++)c[Xo[F]].cancel(j)},state:l,steps:c}}const{schedule:Jt,cancel:tr,state:Ae,steps:bd}=KS(typeof requestAnimationFrame<"u"?requestAnimationFrame:wn,!0);let nu;function hj(){nu=void 0}const Ye={now:()=>(nu===void 0&&Ye.set(Ae.isProcessing||Si.useManualTiming?Ae.timestamp:performance.now()),nu),set:t=>{nu=t,queueMicrotask(hj)}},ZS=t=>n=>typeof n=="string"&&n.startsWith(t),xm=ZS("--"),mj=ZS("var(--"),bm=t=>mj(t)?pj.test(t.split("/*")[0].trim()):!1,pj=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Ha={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},sl={...Ha,transform:t=>bi(0,1,t)},Qo={...Ha,default:1},Qs=t=>Math.round(t*1e5)/1e5,Sm=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function gj(t){return t==null}const yj=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,wm=(t,n)=>r=>!!(typeof r=="string"&&yj.test(r)&&r.startsWith(t)||n&&!gj(r)&&Object.prototype.hasOwnProperty.call(r,n)),WS=(t,n,r)=>a=>{if(typeof a!="string")return a;const[l,u,c,d]=a.match(Sm);return{[t]:parseFloat(l),[n]:parseFloat(u),[r]:parseFloat(c),alph
vendor: 37,326 bytes, line 9
9a:d!==void 0?parseFloat(d):1}},vj=t=>bi(0,255,t),Sd={...Ha,transform:t=>Math.round(vj(t))},Cr={test:wm("rgb","red"),parse:WS("red","green","blue"),transform:({red:t,green:n,blue:r,alpha:a=1})=>"rgba("+Sd.transform(t)+", "+Sd.transform(n)+", "+Sd.transform(r)+", "+Qs(sl.transform(a))+")"};function xj(t){let n="",r="",a="",l="";return t.length>5?(n=t.substring(1,3),r=t.substring(3,5),a=t.substring(5,7),l=t.substring(7,9)):(n=t.substring(1,2),r=t.substring(2,3),a=t.substring(3,4),l=t.substring(4,5),n+=n,r+=r,a+=a,l+=l),{red:parseInt(n,16),green:parseInt(r,16),blue:parseInt(a,16),alpha:l?parseInt(l,16)/255:1}}const oh={test:wm("#"),parse:xj,transform:Cr.transform},vl=t=>({test:n=>typeof n=="string"&&n.endsWith(t)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${t}`}),Ki=vl("deg"),Yn=vl("%"),bt=vl("px"),bj=vl("vh"),Sj=vl("vw"),Wx={...Yn,parse:t=>Yn.parse(t)/100,transform:t=>Yn.transform(t*100)},Ea={test:wm("hsl","hue"),parse:WS("hue","saturation","lightness"),transform:({hue:t,saturation:n,lightness:r,alpha:a=1})=>"hsla("+Math.round(t)+", "+Yn.transform(Qs(n))+", "+Yn.transform(Qs(r))+", "+Qs(sl.transform(a))+")"},fe={test:t=>Cr.test(t)||oh.test(t)||Ea.test(t),parse:t=>Cr.test(t)?Cr.parse(t):Ea.test(t)?Ea.parse(t):oh.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Cr.transform(t):Ea.transform(t),getAnimatableNone:t=>{const n=fe.parse(t);return n.alpha=0,fe.transform(n)}},wj=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Tj(t){return isNaN(t)&&typeof t=="string"&&(t.match(Sm)?.length||0)+(t.match(wj)?.length||0)>0}const JS="number",$S="color",Ej="var",Aj="var(",Jx="${}",Cj=/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 ll(t){const n=t.toString(),r=[],a={color:[],number:[],var:[]},l=[];let u=0;const d=n.replace(Cj,m=>(fe.test(m)?(a.color.push(u),l.push($S),r.push(fe.parse(m))):m.startsWith(Aj)?(a.var.push(u),l.push(Ej),r.push(m)):(a.number.push(u),l.push(JS),r.push(parseFloat(m))),++u,Jx)).split(Jx);return{values:r,split:d,indexes:a,types:l}}function tw(t){return ll(t).values}function ew(t){const{split:n,types:r}=ll(t),a=n.length;return l=>{let u="";for(let c=0;c<a;c++)if(u+=n[c],l[c]!==void 0){const d=r[c];d===JS?u+=Qs(l[c]):d===$S?u+=fe.transform(l[c]):u+=l[c]}return u}}const Nj=t=>typeof t=="number"?0:fe.test(t)?fe.getAnimatableNone(t):t;function kj(t){const n=tw(t);return ew(t)(n.map(Nj))}const er={test:Tj,parse:tw,createTransformer:ew,getAnimatableNone:kj};function wd(t,n,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(n-t)*6*r:r<1/2?n:r<2/3?t+(n-t)*(2/3-r)*6:t}function Mj({hue:t,saturation:n,lightness:r,alpha:a}){t/=360,n/=100,r/=100;let l=0,u=0,c=0;if(!n)l=u=c=r;else{const d=r<.5?r*(1+n):r+n-r*n,m=2*r-d;l=wd(m,d,t+1/3),u=wd(m,d,t),c=wd(m,d,t-1/3)}return{red:Math.round(l*255),green:Math.round(u*255),blue:Math.round(c*255),alpha:a}}function hu(t,n){return r=>r>0?n:t}const $t=(t,n,r)=>t+(n-t)*r,Td=(t,n,r)=>{const a=t*t,l=r*(n*n-a)+a;return l<0?0:Math.sqrt(l)},Oj=[oh,Cr,Ea],jj=t=>Oj.find(n=>n.test(t));function $x(t){const n=jj(t);if(!n)return!1;let r=n.parse(t);return n===Ea&&(r=Mj(r)),r}const tb=(t,n)=>{const r=$x(t),a=$x(n);if(!r||!a)return hu(t,n);const l={...r};return u=>(l.red=Td(r.red,a.red,u),l.green=Td(r.green,a.green,u),l.blue=Td(r.blue,a.blue,u),l.alpha=$t(r.alpha,a.alpha,u),Cr.transform(l))},uh=new Set(["none","hidden"]);function Dj(t,n){return uh.has(t)?r=>r<=0?t:n:r=>r>=1?n:t}function Rj(t,n){return r=>$t(t,n,r)}function Tm(t){return typeof t=="number"?Rj:typeof t=="string"?bm(t)?hu:fe.test(t)?tb:Lj:Array.isArray(t)?nw:typeof t=="object"?fe.test(t)?tb:zj:hu}function nw(t,n){const r=[...t],a=r.length,l=t.map((u,c)=>Tm(u)(u,n[c]));return u=>{for(let c=0;c<a;c++)r[c]=l[c](u);return r}}function zj(t,n){const r={...t,...n},a={};for(const l in r)t[l]!==void 0&&n[l]!==void 0&&(a[l]=Tm(t[l])(t[l],n[l]));return l=>{for(const u in a)r[u]=a[u](l);return r}}function _j(t,n){const r=[],a={color:0,var:0,number:0};for(let l=0;l<n.values.length;l++){const u=n.types[l],c=t.indexes[u][a[u]],d=t.values[c]??0;r[l]=d,a[u]++}return r}const Lj=(t,n)=>{const r=er.createTransformer(n),a=ll(t),l=ll(n);return a.indexes.var.length===l.indexes.var.length&&a.indexes.color.length===l.indexes.color.length&&a.indexes.number.length>=l.indexes.number.length?uh.has(t)&&!l.values.length||uh.has(n)&&!a.values.length?Dj(t,n):gl(nw(_j(a,l),l.values),r):hu(t,n)};function iw(t,n,r){return typeof t=="number"&&typeof n=="number"&&typeof r=="number"?$t(t,n,r):Tm(t)(t,n)}const Vj=t=>{const n=({timestamp:r})=>t(r);return{start:(r=!0)=>Jt.update(n,r),stop:()=>tr(n),now:()=>Ae.isProcessing?Ae.timestamp:Ye.now()}},rw=(t,n,r=10)=>{let a="";const l=Math.max(Math.round(n/r),2);for(let u=0;u<l;u++)a+=Math.round(t(u/(l-1))*1e4)/1e4+", ";return`linear(${a.substring(0,a.length-2)})`},mu=2e4;function Em(t){let n=0;const r=50;let a=t.next(n);for(;!a.done&&n<mu;)n+=r,a=t.next(n);return n>=mu?1/0:n}function Bj(t,n=100,r){const a=r({...t,keyframes:[0,n]}),l=Math.min(Em(a),mu);return{type:"keyframes",ease:u=>a.next(l*u).value/n,duration:Sn(l)}}const Pj=5;function aw(t,n,r){const a=Math.max(n-Pj,0);return BS(r-t(a),n-a)}const ie={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},Ed=.001;function Uj({duration:t=ie.duration,bounce:n=ie.bounce,velocity:r=ie.velocity,mass:a=ie.mass}){let l,u,c=1-n;c=bi(ie.minDamping,ie.maxDamping,c),t=bi(ie.minDuration,ie.maxDuration,Sn(t)),c<1?(l=h=>{const g=h*c,y=g*t,x=g-r,S=ch(h,c),E=Math.exp(-y);return Ed-x/S*E},u=h=>{const y=h*c*t,x=y*r+r,S=Math.pow(c,2)*Math.pow(h,2)*t,E=Math.exp(-y),A=ch(Math.pow(h,2),c);return(-l(h)+Ed>0?-1:1)*((x-S)*E)/A}):(l=h=>{const g=Math.exp(-h*t),y=(h-r)*t+1;return-Ed+g*y},u=h=>{const g=Math.exp(-h*t),y=(r-h)*(t*t);return g*y});const d=5/t,m=qj(l,u,d);if(t=Fn(t),isNaN(m))return{stiffness:ie.stiffness,damping:ie.damping,duration:t};{const h=Math.pow(m,2)*a;return{stiffness:h,damping:c*2*Math.sqrt(a*h),duration:t}}}const Hj=12;function qj(t,n,r){let a=r;for(let l=1;l<Hj;l++)a=a-t(a)/n(a);return a}function ch(t,n){return t*Math.sqrt(1-n*n)}const Fj=["duration","bounce"],Yj=["stiffness","damping","mass"];function eb(t,n){return n.some(r=>t[r]!==void 0)}function Ij(t){let n={velocity:ie.velocity,stiffness:ie.stiffness,damping:ie.damping,mass:ie.mass,isResolvedFromDuration:!1,...t};if(!eb(t,Yj)&&eb(t,Fj))if(t.visualDuration){const r=t.visualDuration,a=2*Math.PI/(r*1.2),l=a*a,u=2*bi(.05,1,1-(t.bounce||0))*Math.sqrt(l);n={...n,mass:ie.mass,stiffness:l,damping:u}}else{const r=Uj(t);n={...n,...r,mass:ie.mass},n.isResolvedFromDuration=!0}return n}function pu(t=ie.visualDuration,n=ie.bounce){const r=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:n}:t;let{restSpeed:a,restDelta:l}=r;const u=r.keyframes[0],c=r.keyframes[r.keyframes.length-1],d={done:!1,value:u},{stiffness:m,damping:h,mass:g,duration:y,velocity:x,isResolvedFromDuration:S}=Ij({...r,velocity:-Sn(r.velocity||0)}),E=x||0,A=h/(2*Math.sqrt(m*g)),N=c-u,k=Sn(Math.sqrt(m/g)),_=Math.abs(N)<5;a||(a=_?ie.restSpeed.granular:ie.restSpeed.default),l||(l=_?ie.restDelta.granular:ie.restDelta.default);let j;if(A<1){const H=ch(k,A);j=z=>{const I=Math.exp(-A*k*z);return c-I*((E+A*k*N)/H*Math.sin(H*z)+N*Math.cos(H*z))}}else if(A===1)j=H=>c-Math.exp(-k*H)*(N+(E+k*N)*H);else{const H=k*Math.sqrt(A*A-1);j=z=>{const I=Math.exp(-A*k*z),Y=Math.min(H*z,300);return c-I*((E+A*k*N)*Math.sinh(Y)+H*N*Math.cosh(Y))/H}}const F={calculatedDuration:S&&y||null,next:H=>{const z=j(H);if(S)d.done=H>=y;else{let I=H===0?E:0;A<1&&(I=H===0?Fn(E):aw(j,H,z));const Y=Math.abs(I)<=a,at=Math.abs(c-z)<=l;d.done=Y&&at}return d.value=d.done?c:z,d},toString:()=>{const H=Math.min(Em(F),mu),z=rw(I=>F.next(H*I).value,H,30);return H+"ms "+z},toTransition:()=>{}};return F}pu.applyToOptions=t=>{const n=Bj(t,100,pu);return t.ease=n.ease,t.duration=Fn(n.duration),t.type="keyframes",t};function fh({keyframes:t,velocity:n=0,power:r=.8,timeConstant:a=325,bounceDamping:l=10,bounceStiffness:u=500,modifyTarget:c,min:d,max:m,restDelta:h=.5,restSpeed:g}){const y=t[0],x={done:!1,value:y},S=Y=>d!==void 0&&Y<d||m!==void 0&&Y>m,E=Y=>d===void 0?m:m===void 0||Math.abs(d-Y)<Math.abs(m-Y)?d:m;let A=r*n;const N=y+A,k=c===void 0?N:c(N);k!==N&&(A=k-y);const _=Y=>-A*Math.exp(-Y/a),j=Y=>k+_(Y),F=Y=>{const at=_(Y),lt=j(Y);x.done=Math.abs(at)<=h,x.value=x.done?k:lt};let H,z;const I=Y=>{S(x.value)&&(H=Y,z=pu({keyframes:[x.value,E(x.value)],velocity:aw(j,Y,x.value),damping:l,stiffness:u,restDelta:h,restSpeed:g}))};return I(0),{calculatedDuration:null,next:Y=>{let at=!1;return!z&&H===void 0&&(at=!0,F(Y),I(Y)),H!==void 0&&Y>=H?z.next(Y-H):(!at&&F(Y),x)}}}function Gj(t,n,r){const a=[],l=r||Si.mix||iw,u=t.length-1;for(let c=0;c<u;c++){let d=l(t[c],t[c+1]);if(n){const m=Array.isArray(n)?n[c]||wn:n;d=gl(m,d)}a.push(d)}return a}function Xj(t,n,{clamp:r=!0,ease:a,mixer:l}={}){const u=t.length;if(mm(u===n.length),u===1)return()=>n[0];if(u===2&&n[0]===n[1])return()=>n[1];const c=t[0]===t[1];t[0]>t[u-1]&&(t=[...t].reverse(),n=[...n].reverse());const d=Gj(n,a,l),m=d.length,h=g=>{if(c&&g<t[0])return n[0];let y=0;if(m>1)for(;y<t.length-2&&!(g<t[y+1]);y++);const x=al(t[y],t[y+1],g);return d[y](x)};return r?g=>h(bi(t[0],t[u-1],g)):h}function Qj(t,n){const r=t[t.length-1];for(let a=1;a<=n;a++){const l=al(0,n,a);t.push($t(r,1,l))}}function Kj(t){const n=[0];return Qj(n,t.length-1),n}function Zj(t,n){return t.map(r=>r*n)}function Wj(t,n){return t.map(()=>n||XS).splice(0,t.length-1)}function Ks({duration:t=300,keyframes:n,times:r,ease:a="easeInOut"}){const l=oj(a)?a.map(Zx):Zx(a),u={done:!1,value:n[0]},c=Zj(r&&r.length===n.length?r:Kj(n),t),d=Xj(c,n,{ease:Array.isArray(l)?l:Wj(n,l)});return{calculatedDuration:t,next:m=>(u.value=d(m),u.done=m>=t,u)}}const Jj=t=>t!==null;function Am(t,{repeat:n,repeatType:r="loop"},a,l=1){const u=t.filter(Jj),d=l<0||n&&r!=="loop"&&n%2===1?0:u.length-1;return!d||a===void 0?u[d]:a}const $j={decay:fh,inertia:fh,tween:Ks,keyframes:Ks,spring:pu};function sw(t){typeof t.type=="string"&&(t.type=$j[t.type])}class Cm{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(n=>{this.resolve=n})}notifyFinished(){this.resolve()}then(n,r){return this.finished.then(n,r)}}const tD=t=>t/100;class Nm extends Cm{constructor(n){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:r}=this.options;r&&r.updatedAt!==Ye.now()&&this.tick(Ye.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;sw(n);const{type:r=Ks,repeat:a=0,repeatDelay:l=0,repeatType:u,velocity:c=0}=n;let{keyframes:d}=n;const m=r||Ks;m!==Ks&&typeof d[0]!="number"&&(this.mixKeyframes=gl(tD,iw(d[0],d[1])),d=[0,100]);const h=m({...n,keyframes:d});u==="mirror"&&(this.mirroredGenerator=m({...n,keyframes:[...d].reverse(),velocity:-c})),h.calculatedDuration===null&&(h.calculatedDuration=Em(h));const{calculatedDuration:g}=h;this.calculatedDuration=g,this.resolvedDuration=g+l,this.totalDuration=this.resolvedDuration*(a+1)-l,this.generator=h}updateTime(n){const r=Math.round(n-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=r}tick(n,r=!1){const{generator:a,totalDuration:l,mixKeyframes:u,mirroredGenerator:c,resolvedDuration:d,calculatedDuration:m}=this;if(this.startTime===null)return a.next(0);const{delay:h=0,keyframes:g,repeat:y,repeatType:x,repeatDelay:S,type:E,onUpdate:A,finalKeyframe:N}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-l/this.speed,this.startTime)),r?this.currentTime=n:this.updateTime(n);const k=this.currentTime-h*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?k<0:k>l;this.currentTime=Math.max(k,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let j=this.currentTime,F=a;if(y){const Y=Math.min(this.currentTime,l)/d;let at=Math.floor(Y),lt=Y%1;!lt&&Y>=1&&(lt=1),lt===1&&at--,at=Math.min(at,y+1),!!(at%2)&&(x==="reverse"?(lt=1-lt,S&&(lt-=S/d)):x==="mirror"&&(F=c)),j=bi(0,1,lt)*d}const H=_?{done:!1,value:g[0]}:F.next(j);u&&(H.value=u(H.value));let{done:z}=H;!_&&m!==null&&(z=this.playbackSpeed>=0?this.currentTime>=l:this.currentTime<=0);const I=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&z);return I&&E!==fh&&(H.value=Am(g,this.options,N,this.speed)),A&&A(H.value),I&&this.finish(),H}then(n,r){return this.finished.then(n,r)}get duration(){return Sn(this.calculatedDuration)}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+Sn(n)}get time(){return Sn(this.currentTime)}set time(n){n=Fn(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?.start(!1)}get speed(){return this.playbackSpeed}set speed(n){this.updateTime(Ye.now());const r=this.playbackSpeed!==n;this.playbackSpeed=n,r&&(this.time=Sn(this.currentTime))}play(){if(this.isStopped)return;const{driver:n=Vj,startTime:r}=this.options;this.driver||(this.driver=n(l=>this.tick(l))),this.options.onPlay?.();const a=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=a):this.holdTime!==null?this.startTime=a-this.holdTime:this.startTime||(this.startTime=r??a),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(Ye.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 eD(t){for(let n=1;n<t.length;n++)t[n]??(t[n]=t[n-1])}const Nr=t=>t*180/Math.PI,dh=t=>{const n=Nr(Math.atan2(t[1],t[0]));return hh(n)},nD={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:dh,rotateZ:dh,skewX:t=>Nr(Math.atan(t[1])),skewY:t=>Nr(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},hh=t=>(t=t%360,t<0&&(t+=360),t),nb=dh,ib=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),rb=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),iD={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ib,scaleY:rb,scale:t=>(ib(t)+rb(t))/2,rotateX:t=>hh(Nr(Math.atan2(t[6],t[5]))),rotateY:t=>hh(Nr(Math.atan2(-t[2],t[0]))),rotateZ:nb,rotate:nb,skewX:t=>Nr(Math.atan(t[4])),skewY:t=>Nr(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function mh(t){return t.includes("scale")?1:0}function ph(t,n){if(!t||t==="none")return mh(n);const r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let a,l;if(r)a=iD,l=r;else{const d=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);a=nD,l=d}if(!l)return mh(n);const u=a[n],c=l[1].split(",").map(aD);return typeof u=="function"?u(c):c[u]}const rD=(t,n)=>{const{transform:r="none"}=getComputedStyle(t);return ph(r,n)};function aD(t){return parseFloat(t.trim())}const qa=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Fa=new Set(qa),ab=t=>t===Ha||t===bt,sD=new Set(["x","y","z"]),lD=qa.filter(t=>!sD.has(t));function oD(t){const n=[];return lD.forEach(r=>{const a=t.getValue(r);a!==void 0&&(n.push([r,a.get()]),a.set(r.startsWith("scale")?1:0))}),n}const kr={width:({x:t},{paddingLeft:n="0",paddingRight:r="0"})=>t.max-t.min-parseFloat(n)-parseFloat(r),height:({y:t},{paddingTop:n="0",paddingBottom:r="0"})=>t.max-t.min-parseFloat(n)-parseFloat(r),top:(t,{top:n})=>parseFloat(n),left:(t,{left:n})=>parseFloat(n),bottom:({y:t},{top:n})=>parseFloat(n)+(t.max-t.min),right:({x:t},{left:n})=>parseFloat(n)+(t.max-t.min),x:(t,{transform:n})=>ph(n,"x"),y:(t,{transform:n})=>ph(n,"y")};kr.translateX=kr.x;kr.translateY=kr.y;const Mr=new Set;let gh=!1,yh=!1,vh=!1;function lw(){if(yh){const t=Array.from(Mr).filter(a=>a.needsMeasurement),n=new Set(t.map(a=>a.element)),r=new Map;n.forEach(a=>{const l=oD(a);l.length&&(r.set(a,l),a.render())}),t.forEach(a=>a.measureInitialState()),n.forEach(a=>{a.render();const l=r.get(a);l&&l.forEach(([u,c])=>{a.getValue(u)?.set(c)})}),t.forEach(a=>a.measureEndState()),t.forEach(a=>{a.suspendedScrollY!==void 0&&window.scrollTo(0,a.suspendedScrollY)})}yh=!1,gh=!1,Mr.forEach(t=>t.complete(vh)),Mr.clear()}function ow(){Mr.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(yh=!0)})}function uD(){vh=!0,ow(),lw(),vh=!1}class km{constructor(n,r,a,l,u,c=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...n],this.onComplete=r,this.name=a,this.motionValue=l,this.element=u,this.isAsync=c}scheduleResolve(){this.state="scheduled",this.isAsync?(Mr.add(this),gh||(gh=!0,Jt.read(ow),Jt.resolveKeyframes(lw))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:r,element:a,motionValue:l}=this;if(n[0]===null){const u=l?.get(),c=n[n.length-1];if(u!==void 0)n[0]=u;else if(a&&r){const d=a.readValue(r,c);d!=null&&(n[0]=d)}n[0]===void 0&&(n[0]=c),l&&u===void 0&&l.set(n[0])}eD(n)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(n=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,n),Mr.delete(this)}cancel(){this.state==="scheduled"&&(Mr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const cD=t=>t.startsWith("--");function fD(t,n,r){cD(n)?t.style.setProperty(n,r):t.style[n]=r}const dD=pm(()=>window.ScrollTimeline!==void 0),hD={};function mD(t,n){const r=pm(t);return()=>hD[n]??r()}const uw=mD(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Gs=([t,n,r,a])=>`cubic-bezier(${t}, ${n}, ${r}, ${a})`,sb={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Gs([0,.65,.55,1]),circOut:Gs([.55,0,1,.45]),backIn:Gs([.31,.01,.66,-.59]),backOut:Gs([.33,1.53,.69,.99])};function cw(t,n){if(t)return typeof t=="function"?uw()?rw(t,n):"ease-out":QS(t)?Gs(t):Array.isArray(t)?t.map(r=>cw(r,n)||sb.easeOut):sb[t]}function pD(t,n,r,{delay:a=0,duration:l=300,repeat:u=0,repeatType:c="loop",ease:d="easeOut",times:m}={},h=void 0){const g={[n]:r};m&&(g.offset=m);const y=cw(d,l);Array.isArray(y)&&(g.easing=y);const x={delay:a,duration:l,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:u+1,direction:c==="reverse"?"alternate":"normal"};return h&&(x.pseudoElement=h),t.animate(g,x)}function fw(t){return typeof t=="function"&&"applyToOptions"in t}function gD({type:t,...n}){return fw(t)&&uw()?t.applyToOptions(n):(n.duration??(n.duration=300),n.ease??(n.ease="easeOut"),n)}class yD extends Cm{constructor(n){if(super(),this.finishedTime=null,this.isStopped=!1,!n)return;const{element:r,name:a,keyframes:l,pseudoElement:u,allowFlatten:c=!1,finalKeyframe:d,onComplete:m}=n;this.isPseudoElement=!!u,this.allowFlatten=c,this.options=n,mm(typeof n.type!="string");const h=gD(n);this.animation=pD(r,a,l,h,u),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!u){const g=Am(l,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(g):fD(r,a,g),this.animation.cancel()}m?.(),this.notifyFinished()}}play(){this.isStopped||(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(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const n=this.animation.effect?.getComputedTiming?.().duration||0;return Sn(Number(n))}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+Sn(n)}get time(){return Sn(Number(this.animation.currentTime)||0)}set time(n){this.finishedTime=null,this.animation.currentTime=Fn(n)}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 Number(this.animation.startTime)}set startTime(n){this.animation.startTime=n}attachTimeline({timeline:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,n&&dD()?(this.animation.timeline=n,wn):r(this)}}const dw={anticipate:YS,backInOut:FS,circInOut:GS};function vD(t){return t in dw}function xD(t){typeof t.ease=="string"&&vD(t.ease)&&(t.ease=dw[t.ease])}const lb=10;class bD extends yD{constructor(n){xD(n),sw(n),super(n),n.startTime&&(this.startTime=n.startTime),this.options=n}updateMotionValue(n){const{motionValue:r,onUpdate:a,onComplete:l,element:u,...c}=this.options;if(!r)return;if(n!==void 0){r.set(n);return}const d=new Nm({...c,autoplay:!1}),m=Fn(this.finishedTime??this.time);r.setWithVelocity(d.sample(m-lb).value,d.sample(m).value,lb),d.stop()}}const ob=(t,n)=>n==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(er.test(t)||t==="0")&&!t.startsWith("url("));function SD(t){const n=t[0];if(t.length===1)return!0;for(let r=0;r<t.length;r++)if(t[r]!==n)return!0}function wD(t,n,r,a){const l=t[0];if(l===null)return!1;if(n==="display"||n==="visibility")return!0;const u=t[t.length-1],c=ob(l,n),d=ob(u,n);return!c||!d?!1:SD(t)||(r==="spring"||fw(r))&&a}function xh(t){t.duration=0,t.type="keyframes"}const TD=new Set(["opacity","clipPath","filter","transform"]),ED=pm(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function AD(t){const{motionValue:n,name:r,repeatDelay:a,repeatType:l,damping:u,type:c}=t;if(!(n?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:m,transformTemplate:h}=n.owner.getProps();return ED()&&r&&TD.has(r)&&(r!=="transform"||!h)&&!m&&!a&&l!=="mirror"&&u!==0&&c!=="inertia"}const CD=40;class ND extends Cm{constructor({autoplay:n=!0,delay:r=0,type:a="keyframes",repeat:l=0,repeatDelay:u=0,repeatType:c="loop",keyframes:d,name:m,motionValue:h,element:g,...y}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Ye.now();const x={autoplay:n,delay:r,type:a,repeat:l,repeatDelay:u,repeatType:c,name:m,motionValue:h,element:g,...y},S=g?.KeyframeResolver||km;this.keyframeResolver=new S(d,(E,A,N)=>this.onKeyframesResolved(E,A,x,!N),m,h,g),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(n,r,a,l){this.keyframeResolver=void 0;const{name:u,type:c,velocity:d,delay:m,isHandoff:h,onUpdate:g}=a;this.resolvedAt=Ye.now(),wD(n,u,c,d)||((Si.instantAnimations||!m)&&g?.(Am(n,a,r)),n[0]=n[n.length-1],xh(a),a.repeat=0);const x={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt>CD?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:r,...a,keyframes:n},S=!h&&AD(x)?new bD({...x,element:x.motionValue.owner.current}):new Nm(x);S.finished.then(()=>this.notifyFinished()).catch(wn),this.pendingTimeline&&(this.stopTimeline=S.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=S}get finished(){return this._animation?this.animation.finished:this._finished}then(n,r){return this.finished.finally(n).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),uD()),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()}}const kD=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function MD(t){const n=kD.exec(t);if(!n)return[,];const[,r,a,l]=n;return[`--${r??a}`,l]}function hw(t,n,r=1){const[a,l]=MD(t);if(!a)return;const u=window.getComputedStyle(n).getPropertyValue(a);if(u){const c=u.trim();return _S(c)?parseFloat(c):c}return bm(l)?hw(l,n,r+1):l}function Mm(t,n){return t?.[n]??t?.default??t}const mw=new Set(["width","height","top","left","right","bottom",...qa]),OD={test:t=>t==="auto",parse:t=>t},pw=t=>n=>n.test(t),gw=[Ha,bt,Yn,Ki,Sj,bj,OD],ub=t=>gw.find(pw(t));function jD(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||VS(t):!0}const DD=new Set(["brightness","contrast","saturate","opacity"]);function RD(t){const[n,r]=t.slice(0,-1).split("(");if(n==="drop-shadow")return t;const[a]=r.match(Sm)||[];if(!a)return t;const l=r.replace(a,"");let u=DD.has(n)?1:0;return a!==r&&(u*=100),n+"("+u+l+")"}const zD=/\b([a-z-]*)\(.*?\)/gu,bh={...er,getAnimatableNone:t=>{const n=t.match(zD);return n?n.map(RD).join(" "):t}},cb={...Ha,transform:Math.round},_D={rotate:Ki,rotateX:Ki,rotateY:Ki,rotateZ:Ki,scale:Qo,scaleX:Qo,scaleY:Qo,scaleZ:Qo,skew:Ki,skewX:Ki,skewY:Ki,distance:bt,translateX:bt,translateY:bt,translateZ:bt,x:bt,y:bt,z:bt,perspective:bt,transformPerspective:bt,opacity:sl,originX:Wx,originY:Wx,originZ:bt},Om={borderWidth:bt,borderTopWidth:bt,borderRightWidth:bt,borderBottomWidth:bt,borderLeftWidth:bt,borderRadius:bt,radius:bt,borderTopLeftRadius:bt,borderTopRightRadius:bt,borderBottomRightRadius:bt,borderBottomLeftRadius:bt,width:bt,maxWidth:bt,height:bt,maxHeight:bt,top:bt,right:bt,bottom:bt,left:bt,padding:bt,paddingTop:bt,paddingRight:bt,paddingBottom:bt,paddingLeft:bt,margin:bt,marginTop:bt,marginRight:bt,marginBottom:bt,marginLeft:bt,backgroundPositionX:bt,backgroundPositionY:bt,..._D,zIndex:cb,fillOpacity:sl,strokeOpacity:sl,numOctaves:cb},LD={...Om,color:fe,backgroundColor:fe,outlineColor:fe,fill:fe,stroke:fe,borderColor:fe,borderTopColor:fe,borderRightColor:fe,borderBottomColor:fe,borderLeftColor:fe,filter:bh,WebkitFilter:bh},yw=t=>LD[t];function vw(t,n){let r=yw(t);return r!==bh&&(r=er),r.getAnimatableNone?r.getAnimatableNone(n):void 0}const VD=new Set(["auto","none","0"]);function BD(t,n,r){let a=0,l;for(;a<t.length&&!l;){const u=t[a];typeof u=="string"&&!VD.has(u)&&ll(u).values.length&&(l=t[a]),a++}if(l&&r)for(const u of n)t[u]=vw(r,l)}class PD extends km{constructor(n,r,a,l,u){super(n,r,a,l,u,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:r,name:a}=this;if(!r||!r.current)return;super.readKeyframes();for(let m=0;m<n.length;m++){let h=n[m];if(typeof h=="string"&&(h=h.trim(),bm(h))){const g=hw(h,r.current);g!==void 0&&(n[m]=g),m===n.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!mw.has(a)||n.length!==2)return;const[l,u]=n,c=ub(l),d=ub(u);if(c!==d)if(ab(c)&&ab(d))for(let m=0;m<n.length;m++){const h=n[m];typeof h=="string"&&(n[m]=parseFloat(h))}else kr[a]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:r}=this,a=[];for(let l=0;l<n.length;l++)(n[l]===null||jD(n[l]))&&a.push(l);a.length&&BD(n,a,r)}measureInitialState(){const{element:n,unresolvedKeyframes:r,name:a}=this;if(!n||!n.current)return;a==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=kr[a](n.measureViewportBox(),window.getComputedStyle(n.current)),r[0]=this.measuredOrigin;const l=r[r.length-1];l!==void 0&&n.getValue(a,l).jump(l,!1)}measureEndState(){const{element:n,name:r,unresolvedKeyframes:a}=this;if(!n||!n.current)return;const l=n.getValue(r);l&&l.jump(this.measuredOrigin,!1);const u=a.length-1,c=a[u];a[u]=kr[r](n.measureViewportBox(),window.getComputedStyle(n.current)),c!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=c),this.removedTransforms?.length&&this.removedTransforms.forEach(([d,m])=>{n.getValue(d).set(m)}),this.resolveNoneKeyframes()}}function UD(t,n,r){if(t instanceof EventTarget)return[t];if(typeof t=="string"){let a=document;const l=r?.[t]??a.querySelectorAll(t);return l?Array.from(l):[]}return Array.from(t)}const xw=(t,n)=>n&&typeof t=="number"?n.transform(t):t;function HD(t){return LS(t)&&"offsetHeight"in t}const fb=30,qD=t=>!isNaN(parseFloat(t));class FD{constructor(n,r={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=a=>{const l=Ye.now();if(this.updatedAt!==l&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(a),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const u of this.dependents)u.dirty()},this.hasAnimated=!1,this.setCurrent(n),this.owner=r.owner}setCurrent(n){this.current=n,this.updatedAt=Ye.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=qD(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return this.on("change",n)}on(n,r){this.events[n]||(this.events[n]=new gm);const a=this.events[n].add(r);return n==="change"?()=>{a(),Jt.read(()=>{this.events.change.getSize()||this.stop()})}:a}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,r){this.passiveEffect=n,this.stopPassiveEffect=r}set(n){this.passiveEffect?this.passiveEffect(n,this.updateAndNotify):this.updateAndNotify(n)}setWithVelocity(n,r,a){this.set(r),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-a}jump(n,r=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&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 this.current}getPrevious(){return this.prev}getVelocity(){const n=Ye.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>fb)return 0;const r=Math.min(this.updatedAt-this.prevUpdatedAt,fb);return BS(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(n){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=n(r),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 za(t,n){return new FD(t,n)}const{schedule:jm}=KS(queueMicrotask,!1),Mn={x:!1,y:!1};function bw(){return Mn.x||Mn.y}function YD(t){return t==="x"||t==="y"?Mn[t]?null:(Mn[t]=!0,()=>{Mn[t]=!1}):Mn.x||Mn.y?null:(Mn.x=Mn.y=!0,()=>{Mn.x=Mn.y=!1})}function Sw(t,n){const r=UD(t),a=new AbortController,l={passive:!0,...n,signal:a.signal};return[r,l,()=>a.abort()]}function db(t){return!(t.pointerType==="touch"||bw())}function ID(t,n,r={}){const[a,l,u]=Sw(t,r),c=d=>{if(!db(d))return;const{target:m}=d,h=n(m,d);if(typeof h!="function"||!m)return;const g=y=>{db(y)&&(h(y),m.removeEventListener("pointerleave",g))};m.addEventListener("pointerleave",g,l)};return a.forEach(d=>{d.addEventListener("pointerenter",c,l)}),u}const ww=(t,n)=>n?t===n?!0:ww(t,n.parentElement):!1,Dm=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,GD=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function XD(t){return GD.has(t.tagName)||t.tabIndex!==-1}const iu=new WeakSet;function hb(t){return n=>{n.key==="Enter"&&t(n)}}function Ad(t,n){t.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const QD=(t,n)=>{const r=t.currentTarget;if(!r)return;const a=hb(()=>{if(iu.has(r))return;Ad(r,"down");const l=hb(()=>{Ad(r,"up")}),u=()=>Ad(r,"cancel");r.addEventListener("keyup",l,n),r.addEventListener("blur",u,n)});r.addEventListener("keydown",a,n),r.addEventListener("blur",()=>r.removeEventListener("keydown",a),n)};function mb(t){return Dm(t)&&!bw()}function KD(t,n,r={}){const[a,l,u]=Sw(t,r),c=d=>{const m=d.currentTarget;if(!mb(d))return;iu.add(m);const h=n(m,d),g=(S,E)=>{window.removeEventListener("pointerup",y),window.removeEventListener("pointercancel",x),iu.has(m)&&iu.delete(m),mb(S)&&typeof h=="function"&&h(S,{success:E})},y=S=>{g(S,m===window||m===document||r.useGlobalTarget||ww(m,S.target))},x=S=>{g(S,!1)};window.addEventListener("pointerup",y,l),window.addEventListener("pointercancel",x,l)};return a.forEach(d=>{(r.useGlobalTarget?window:d).addEventListener("pointerdown",c,l),HD(d)&&(d.addEventListener("focus",h=>QD(h,l)),!XD(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),u}function Tw(t){return LS(t)&&"ownerSVGElement"in t}function ZD(t){return Tw(t)&&t.tagName==="svg"}const Ne=t=>!!(t&&t.getVelocity),WD=[...gw,fe,er],JD=t=>WD.find(pw(t)),Ew=C.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function $D(t=!0){const n=C.useContext(fm);if(n===null)return[!0,null];const{isPresent:r,onExitComplete:a,register:l}=n,u=C.useId();C.useEffect(()=>{if(t)return l(u)},[t]);const c=C.useCallback(()=>t&&a&&a(u),[u,a,t]);return!r&&a?[!1,c]:[!0]}const Aw=C.createContext({strict:!1}),pb={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"]},_a={};for(const t in pb)_a[t]={isEnabled:n=>pb[t].some(r=>!!n[r])};function tR(t){for(const n in t)_a[n]={..._a[n],...t[n]}}const eR=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","ignoreStrict","viewport"]);function gu(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||eR.has(t)}let Cw=t=>!gu(t);function nR(t){typeof t=="function"&&(Cw=n=>n.startsWith("on")?!gu(n):t(n))}try{nR(require("@emotion/is-prop-valid").default)}catch{}function iR(t,n,r){const a={};for(const l in t)l==="values"&&typeof t.values=="object"||(Cw(l)||r===!0&&gu(l)||!n&&!gu(l)||t.draggable&&l.startsWith("onDrag"))&&(a[l]=t[l]);return a}const Vu=C.createContext({});function Bu(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function ol(t){return typeof t=="string"||Array.isArray(t)}const Rm=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],zm=["initial",...Rm];function Pu(t){return Bu(t.animate)||zm.some(n=>ol(t[n]))}function Nw(t){return!!(Pu(t)||t.variants)}function rR(t,n){if(Pu(t)){const{initial:r,animate:a}=t;return{initial:r===!1||ol(r)?r:void 0,animate:ol(a)?a:void 0}}return t.inherit!==!1?n:{}}function aR(t){const{initial:n,animate:r}=rR(t,C.useContext(Vu));return C.useMemo(()=>({initial:n,animate:r}),[gb(n),gb(r)])}function gb(t){return Array.isArray(t)?t.join(" "):t}const ul={};function sR(t){for(const n in t)ul[n]=t[n],xm(n)&&(ul[n].isCSSVariable=!0)}function kw(t,{layout:n,layoutId:r}){return Fa.has(t)||t.startsWith("origin")||(n||r!==void 0)&&(!!ul[t]||t==="opacity")}const lR={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},oR=qa.length;function uR(t,n,r){let a="",l=!0;for(let u=0;u<oR;u++){const c=qa[u],d=t[c];if(d===void 0)continue;let m=!0;if(typeof d=="number"?m=d===(c.startsWith("scale")?1:0):m=parseFloat(d)===0,!m||r){const h=xw(d,Om[c]);if(!m){l=!1;const g=lR[c]||c;a+=`${g}(${h}) `}r&&(n[c]=h)}}return a=a.trim(),r?a=r(n,l?"":a):l&&(a="none"),a}function _m(t,n,r){const{style:a,vars:l,transformOrigin:u}=t;
9let c=!1,d=!1;for(const m in n){const h=n[m];if(Fa.has(m)){c=!0;continue}else if(xm(m)){l[m]=h;continue}else{const g=xw(h,Om[m]);m.startsWith("origin")?(d=!0,u[m]=g):a[m]=g}}if(n.transform||(c||r?a.transform=uR(n,t.transform,r):a.transform&&(a.transform="none")),d){const{originX:m="50%",originY:h="50%",originZ:g=0}=u;a.transformOrigin=`${m} ${h} ${g}`}}const Lm=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Mw(t,n,r){for(const a in n)!Ne(n[a])&&!kw(a,r)&&(t[a]=n[a])}function cR({transformTemplate:t},n){return C.useMemo(()=>{const r=Lm();return _m(r,n,t),Object.assign({},r.vars,r.style)},[n])}function fR(t,n){const r=t.style||{},a={};return Mw(a,r,t),Object.assign(a,cR(t,n)),a}function dR(t,n){const r={},a=fR(t,n);return t.drag&&t.dragListener!==!1&&(r.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=a,r}const hR={offset:"stroke-dashoffset",array:"stroke-dasharray"},mR={offset:"strokeDashoffset",array:"strokeDasharray"};function pR(t,n,r=1,a=0,l=!0){t.pathLength=1;const u=l?hR:mR;t[u.offset]=bt.transform(-a);const c=bt.transform(n),d=bt.transform(r);t[u.array]=`${c} ${d}`}function Ow(t,{attrX:n,attrY:r,attrScale:a,pathLength:l,pathSpacing:u=1,pathOffset:c=0,...d},m,h,g){if(_m(t,d,h),m){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:y,style:x}=t;y.transform&&(x.transform=y.transform,delete y.transform),(x.transform||y.transformOrigin)&&(x.transformOrigin=y.transformOrigin??"50% 50%",delete y.transformOrigin),x.transform&&(x.transformBox=g?.transformBox??"fill-box",delete y.transformBox),n!==void 0&&(y.x=n),r!==void 0&&(y.y=r),a!==void 0&&(y.scale=a),l!==void 0&&pR(y,l,u,c,!1)}const jw=()=>({...Lm(),attrs:{}}),Dw=t=>typeof t=="string"&&t.toLowerCase()==="svg";function gR(t,n,r,a){const l=C.useMemo(()=>{const u=jw();return Ow(u,n,Dw(a),t.transformTemplate,t.style),{...u.attrs,style:{...u.style}}},[n]);if(t.style){const u={};Mw(u,t.style,t),l.style={...u,...l.style}}return l}const yR=["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 Vm(t){return typeof t!="string"||t.includes("-")?!1:!!(yR.indexOf(t)>-1||/[A-Z]/u.test(t))}function vR(t,n,r,{latestValues:a},l,u=!1){const d=(Vm(t)?gR:dR)(n,a,l,t),m=iR(n,typeof t=="string",u),h=t!==C.Fragment?{...m,...d,ref:r}:{},{children:g}=n,y=C.useMemo(()=>Ne(g)?g.get():g,[g]);return C.createElement(t,{...h,children:y})}function yb(t){const n=[{},{}];return t?.values.forEach((r,a)=>{n[0][a]=r.get(),n[1][a]=r.getVelocity()}),n}function Bm(t,n,r,a){if(typeof n=="function"){const[l,u]=yb(a);n=n(r!==void 0?r:t.custom,l,u)}if(typeof n=="string"&&(n=t.variants&&t.variants[n]),typeof n=="function"){const[l,u]=yb(a);n=n(r!==void 0?r:t.custom,l,u)}return n}function ru(t){return Ne(t)?t.get():t}function xR({scrapeMotionValuesFromProps:t,createRenderState:n},r,a,l){return{latestValues:bR(r,a,l,t),renderState:n()}}function bR(t,n,r,a){const l={},u=a(t,{});for(const x in u)l[x]=ru(u[x]);let{initial:c,animate:d}=t;const m=Pu(t),h=Nw(t);n&&h&&!m&&t.inherit!==!1&&(c===void 0&&(c=n.initial),d===void 0&&(d=n.animate));let g=r?r.initial===!1:!1;g=g||c===!1;const y=g?d:c;if(y&&typeof y!="boolean"&&!Bu(y)){const x=Array.isArray(y)?y:[y];for(let S=0;S<x.length;S++){const E=Bm(t,x[S]);if(E){const{transitionEnd:A,transition:N,...k}=E;for(const _ in k){let j=k[_];if(Array.isArray(j)){const F=g?j.length-1:0;j=j[F]}j!==null&&(l[_]=j)}for(const _ in A)l[_]=A[_]}}}return l}const Rw=t=>(n,r)=>{const a=C.useContext(Vu),l=C.useContext(fm),u=()=>xR(t,n,a,l);return r?u():tj(u)};function Pm(t,n,r){const{style:a}=t,l={};for(const u in a)(Ne(a[u])||n.style&&Ne(n.style[u])||kw(u,t)||r?.getValue(u)?.liveStyle!==void 0)&&(l[u]=a[u]);return l}const SR=Rw({scrapeMotionValuesFromProps:Pm,createRenderState:Lm});function zw(t,n,r){const a=Pm(t,n,r);for(const l in t)if(Ne(t[l])||Ne(n[l])){const u=qa.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;a[u]=t[l]}return a}const wR=Rw({scrapeMotionValuesFromProps:zw,createRenderState:jw}),TR=Symbol.for("motionComponentSymbol");function Aa(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function ER(t,n,r){return C.useCallback(a=>{a&&t.onMount&&t.onMount(a),n&&(a?n.mount(a):n.unmount()),r&&(typeof r=="function"?r(a
vendor: 9,168 bytes, line 9
9):Aa(r)&&(r.current=a))},[n])}const Um=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),AR="framerAppearId",_w="data-"+Um(AR),Lw=C.createContext({});function CR(t,n,r,a,l){const{visualElement:u}=C.useContext(Vu),c=C.useContext(Aw),d=C.useContext(fm),m=C.useContext(Ew).reducedMotion,h=C.useRef(null);a=a||c.renderer,!h.current&&a&&(h.current=a(t,{visualState:n,parent:u,props:r,presenceContext:d,blockInitialAnimation:d?d.initial===!1:!1,reducedMotionConfig:m}));const g=h.current,y=C.useContext(Lw);g&&!g.projection&&l&&(g.type==="html"||g.type==="svg")&&NR(h.current,r,l,y);const x=C.useRef(!1);C.useInsertionEffect(()=>{g&&x.current&&g.update(r,d)});const S=r[_w],E=C.useRef(!!S&&!window.MotionHandoffIsComplete?.(S)&&window.MotionHasOptimisedAnimation?.(S));return ej(()=>{g&&(x.current=!0,window.MotionIsMounted=!0,g.updateFeatures(),g.scheduleRenderMicrotask(),E.current&&g.animationState&&g.animationState.animateChanges())}),C.useEffect(()=>{g&&(!E.current&&g.animationState&&g.animationState.animateChanges(),E.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(S)}),E.current=!1),g.enteringChildren=void 0)}),g}function NR(t,n,r,a){const{layoutId:l,layout:u,drag:c,dragConstraints:d,layoutScroll:m,layoutRoot:h,layoutCrossfade:g}=n;t.projection=new r(t.latestValues,n["data-framer-portal-id"]?void 0:Vw(t.parent)),t.projection.setOptions({layoutId:l,layout:u,alwaysMeasureLayout:!!c||d&&Aa(d),visualElement:t,animationType:typeof u=="string"?u:"both",initialPromotionConfig:a,crossfade:g,layoutScroll:m,layoutRoot:h})}function Vw(t){if(t)return t.options.allowProjection!==!1?t.projection:Vw(t.parent)}function Cd(t,{forwardMotionProps:n=!1}={},r,a){r&&tR(r);const l=Vm(t)?wR:SR;function u(d,m){let h;const g={...C.useContext(Ew),...d,layoutId:kR(d)},{isStatic:y}=g,x=aR(d),S=l(d,y);if(!y&&cm){MR();const E=OR(g);h=E.MeasureLayout,x.visualElement=CR(t,S,g,a,E.ProjectionNode)}return v.jsxs(Vu.Provider,{value:x,children:[h&&x.visualElement?v.jsx(h,{visualElement:x.visualElement,...g}):null,vR(t,d,ER(S,x.visualElement,m),S,y,n)]})}u.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const c=C.forwardRef(u);return c[TR]=t,c}function kR({layoutId:t}){const n=C.useContext(zS).id;return n&&t!==void 0?n+"-"+t:t}function MR(t,n){C.useContext(Aw).strict}function OR(t){const{drag:n,layout:r}=_a;if(!n&&!r)return{};const a={...n,...r};return{MeasureLayout:n?.isEnabled(t)||r?.isEnabled(t)?a.MeasureLayout:void 0,ProjectionNode:a.ProjectionNode}}function jR(t,n){if(typeof Proxy>"u")return Cd;const r=new Map,a=(u,c)=>Cd(u,c,t,n),l=(u,c)=>a(u,c);return new Proxy(l,{get:(u,c)=>c==="create"?a:(r.has(c)||r.set(c,Cd(c,void 0,t,n)),r.get(c))})}function Bw({top:t,left:n,right:r,bottom:a}){return{x:{min:n,max:r},y:{min:t,max:a}}}function DR({x:t,y:n}){return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function RR(t,n){if(!n)return t;const r=n({x:t.left,y:t.top}),a=n({x:t.right,y:t.bottom});return{top:r.y,left:r.x,bottom:a.y,right:a.x}}function Nd(t){return t===void 0||t===1}function Sh({scale:t,scaleX:n,scaleY:r}){return!Nd(t)||!Nd(n)||!Nd(r)}function Ar(t){return Sh(t)||Pw(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Pw(t){return vb(t.x)||vb(t.y)}function vb(t){return t&&t!=="0%"}function yu(t,n,r){const a=t-r,l=n*a;return r+l}function xb(t,n,r,a,l){return l!==void 0&&(t=yu(t,l,a)),yu(t,r,a)+n}function wh(t,n=0,r=1,a,l){t.min=xb(t.min,n,r,a,l),t.max=xb(t.max,n,r,a,l)}function Uw(t,{x:n,y:r}){wh(t.x,n.translate,n.scale,n.originPoint),wh(t.y,r.translate,r.scale,r.originPoint)}const bb=.999999999999,Sb=1.0000000000001;function zR(t,n,r,a=!1){const l=r.length;if(!l)return;n.x=n.y=1;let u,c;for(let d=0;d<l;d++){u=r[d],c=u.projectionDelta;const{visualElement:m}=u.options;m&&m.props.style&&m.props.style.display==="contents"||(a&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Na(t,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),c&&(n.x*=c.x.scale,n.y*=c.y.scale,Uw(t,c)),a&&Ar(u.latestValues)&&Na(t,u.latestValues))}n.x<Sb&&n.x>bb&&(n.x=1),n.y<Sb&&n.y>bb&&(n.y=1)}function Ca(t,n){t.min=t.min+n,t.max=t.max+n}function wb(t,n,r,a,l=.5){const u=$t(t.min,t.max,l);wh(t,n,r,u,a)}function Na(t,n){wb(t.x,n.x,n.scaleX,n.scale,n.originX),wb(t.y,n.y,n.scaleY,n.scale,n.originY)}function Hw(t,n){return Bw(RR(t.getBoundingClientRect(),n))}function _R(t,n,r){const a=Hw(t,r),{scroll:l}=n;return l&&(Ca(a.x,l.offset.x),Ca(a.y,l.offset.y)),a}const Tb=()=>({translate:0,scale:1,origin:0,originPoint:0}),ka=()=>({x:Tb(),y:Tb()}),Eb=()=>({min:0,max:0}),ge=()=>({x:Eb(),y:Eb()}),Th={current:null},qw={current:!1};function LR(){if(qw.current=!0,!!cm)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),n=()=>Th.current=t.matches;t.addEventListener("change",n),n()}else Th.current=!1}const VR=new WeakMap;function BR(t,n,r){for(const a in n){const l=n[a],u=r[a];if(Ne(l))t.addValue(a,l);else if(Ne(u))t.addValue(a,za(l,{owner:t}));else if(u!==l)if(t.hasValue(a)){const c=t.getValue(a);c.liveStyle===!0?c.jump(l):c.hasAnimated||c.set(l)}else{const c=t.getStaticValue(a);t.addValue(a,za(c!==void 0?c:l,{owner:t}))}}for(const a in r)n[a]===void 0&&t.removeValue(a);return n}const Ab=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class PR{scrapeMotionValuesFromProps(n,r,a){return{}}constructor({parent:n,props:r,presenceContext:a,reducedMotionConfig:l,blockInitialAnimation:u,visualState:c},d={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=km,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},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 x=Ye.now();this.renderScheduledAt<x&&(this.renderScheduledAt=x,Jt.render(this.render,!1,!0))};const{latestValues:m,renderState:h}=c;this.latestValues=m,this.baseTarget={...m},this.initialValues=r.initial?{...m}:{},this.renderState=h,this.parent=n,this.props=r,this.presenceContext=a,this.depth=n?n.depth+1:0,this.reducedMotionConfig=l,this.options=d,this.blockInitialAnimation=!!u,this.isControllingVariants=Pu(r),this.isVariantNode=Nw(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:g,...y}=this.scrapeMotionValuesFromProps(r,{},this);for(const x in y){const S=y[x];m[x]!==void 0&&Ne(S)&&S.set(m[x])}}mount(n){this.current=n,VR.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((r,a)=>this.bindToMotionValue(a,r)),qw.current||LR(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Th.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),tr(this.notifyUpdate),tr(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 r=this.features[n];r&&(r.unmount(),r.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,r){this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)();const a=Fa.has(n);a&&this.onBindTransform&&this.onBindTransform();const l=r.on("change",c=>{this.latestValues[n]=c,this.props.onUpdate&&Jt.preRender(this.notifyUpdate),a&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let u;window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,n,r)),this.valueSubscriptions.set(n,()=>{l(),u&&u(),r.owner&&r.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 _a){const r=_a[n];if(!r)continue;const{isEnabled:a,Feature:l}=r;if(!this.features[n]&&l&&a(this.props)&&(this.features[n]=new l(this)),this.features[n]){const u=this.features[n];u.isMounted?u.update():(u.mount(),u.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ge()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,r){this.latestValues[n]=r}update(n,r){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;
vendor: 5,729 bytes, line 9
9for(let a=0;a<Ab.length;a++){const l=Ab[a];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const u="on"+l,c=n[u];c&&(this.propEventSubscriptions[l]=this.on(l,c))}this.prevMotionValues=BR(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 r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(n),()=>r.variantChildren.delete(n)}addValue(n,r){const a=this.values.get(n);r!==a&&(a&&this.removeValue(n),this.bindToMotionValue(n,r),this.values.set(n,r),this.latestValues[n]=r.get())}removeValue(n){this.values.delete(n);const r=this.valueSubscriptions.get(n);r&&(r(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,r){if(this.props.values&&this.props.values[n])return this.props.values[n];let a=this.values.get(n);return a===void 0&&r!==void 0&&(a=za(r===null?void 0:r,{owner:this}),this.addValue(n,a)),a}readValue(n,r){let a=this.latestValues[n]!==void 0||!this.current?this.latestValues[n]:this.getBaseTargetFromProps(this.props,n)??this.readValueFromInstance(this.current,n,this.options);return a!=null&&(typeof a=="string"&&(_S(a)||VS(a))?a=parseFloat(a):!JD(a)&&er.test(r)&&(a=vw(n,r)),this.setBaseTarget(n,Ne(a)?a.get():a)),Ne(a)?a.get():a}setBaseTarget(n,r){this.baseTarget[n]=r}getBaseTarget(n){const{initial:r}=this.props;let a;if(typeof r=="string"||typeof r=="object"){const u=Bm(this.props,r,this.presenceContext?.custom);u&&(a=u[n])}if(r&&a!==void 0)return a;const l=this.getBaseTargetFromProps(this.props,n);return l!==void 0&&!Ne(l)?l:this.initialValues[n]!==void 0&&a===void 0?void 0:this.baseTarget[n]}on(n,r){return this.events[n]||(this.events[n]=new gm),this.events[n].add(r)}notify(n,...r){this.events[n]&&this.events[n].notify(...r)}scheduleRenderMicrotask(){jm.render(this.render)}}class Fw extends PR{constructor(){super(...arguments),this.KeyframeResolver=PD}sortInstanceNodePosition(n,r){return n.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(n,r){return n.style?n.style[r]:void 0}removeValueFromRenderState(n,{vars:r,style:a}){delete r[n],delete a[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;Ne(n)&&(this.childSubscription=n.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}}function Yw(t,{style:n,vars:r},a,l){const u=t.style;let c;for(c in n)u[c]=n[c];l?.applyProjectionStyles(u,a);for(c in r)u.setProperty(c,r[c])}function UR(t){return window.getComputedStyle(t)}class HR extends Fw{constructor(){super(...arguments),this.type="html",this.renderInstance=Yw}readValueFromInstance(n,r){if(Fa.has(r))return this.projection?.isProjecting?mh(r):rD(n,r);{const a=UR(n),l=(xm(r)?a.getPropertyValue(r):a[r])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(n,{transformPagePoint:r}){return Hw(n,r)}build(n,r,a){_m(n,r,a.transformTemplate)}scrapeMotionValuesFromProps(n,r,a){return Pm(n,r,a)}}const Iw=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"]);function qR(t,n,r,a){Yw(t,n,void 0,a);for(const l in n.attrs)t.setAttribute(Iw.has(l)?l:Um(l),n.attrs[l])}class FR extends Fw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ge}getBaseTargetFromProps(n,r){return n[r]}readValueFromInstance(n,r){if(Fa.has(r)){const a=yw(r);return a&&a.default||0}return r=Iw.has(r)?r:Um(r),n.getAttribute(r)}scrapeMotionValuesFromProps(n,r,a){return zw(n,r,a)}build(n,r,a){Ow(n,r,this.isSVGTag,a.transformTemplate,a.style)}renderInstance(n,r,a,l){qR(n,r,a,l)}mount(n){this.isSVGTag=Dw(n.tagName),super.mount(n)}}const YR=(t,n)=>Vm(t)?new FR(n):new HR(n,{allowProjection:t!==C.Fragment});function Oa(t,n,r){const a=t.getProps();return Bm(a,n,r!==void 0?r:a.custom,t)}const Eh=t=>Array.isArray(t);function IR(t,n,r){t.hasValue(n)?t.getValue(n).set(r):t.addValue(n,za(r))}function GR(t){return Eh(t)?t[t.length-1]||0:t}function XR(t,n){const r=Oa(t,n);let{transitionEnd:a={},transition:l={},...u}=r||{};u={...u,...a};for(const c in u){const d=GR(u[c]);IR(t,c,d)}}function QR(t){return!!(Ne(t)&&t.add)}function Ah(t,n){const r=t.getValue("willChange");if(QR(r))return r.add(n);if(!r&&Si.WillChange){const a=new Si.WillChange("auto");t.addValue("willChange",a),a.add(n)}}function Gw(t){return t.props[_w]}const KR=t=>t!==null;function ZR(t,{repeat:n,repeatType:r="loop"},a){const l=t.filter(KR),u=n&&r!=="loop"&&n%2===1?0:l.length-1;return l[u]}const WR={type:"spring",stiffness:500,damping:25,restSpeed:10},JR=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),$R={type:"keyframes",duration:.8},tz={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ez=(t,{keyframes:n})=>n.length>2?$R:Fa.has(t)?t.startsWith("scale")?JR(n[1]):WR:tz;function nz({when:t,delay:n,delayChildren:r,staggerChildren:a,staggerDirection:l,repeat:u,repeatType:c,repeatDelay:d,from:m,elapsed:
vendor: 47,072 bytes, line 9
9h,...g}){return!!Object.keys(g).length}const Hm=(t,n,r,a={},l,u)=>c=>{const d=Mm(a,t)||{},m=d.delay||a.delay||0;let{elapsed:h=0}=a;h=h-Fn(m);const g={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:n.getVelocity(),...d,delay:-h,onUpdate:x=>{n.set(x),d.onUpdate&&d.onUpdate(x)},onComplete:()=>{c(),d.onComplete&&d.onComplete()},name:t,motionValue:n,element:u?void 0:l};nz(d)||Object.assign(g,ez(t,g)),g.duration&&(g.duration=Fn(g.duration)),g.repeatDelay&&(g.repeatDelay=Fn(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let y=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(xh(g),g.delay===0&&(y=!0)),(Si.instantAnimations||Si.skipAnimations)&&(y=!0,xh(g),g.delay=0),g.allowFlatten=!d.type&&!d.ease,y&&!u&&n.get()!==void 0){const x=ZR(g.keyframes,d);if(x!==void 0){Jt.update(()=>{g.onUpdate(x),g.onComplete()});return}}return d.isSync?new Nm(g):new ND(g)};function iz({protectedKeys:t,needsAnimating:n},r){const a=t.hasOwnProperty(r)&&n[r]!==!0;return n[r]=!1,a}function Xw(t,n,{delay:r=0,transitionOverride:a,type:l}={}){let{transition:u=t.getDefaultTransition(),transitionEnd:c,...d}=n;a&&(u=a);const m=[],h=l&&t.animationState&&t.animationState.getState()[l];for(const g in d){const y=t.getValue(g,t.latestValues[g]??null),x=d[g];if(x===void 0||h&&iz(h,g))continue;const S={delay:r,...Mm(u||{},g)},E=y.get();if(E!==void 0&&!y.isAnimating&&!Array.isArray(x)&&x===E&&!S.velocity)continue;let A=!1;if(window.MotionHandoffAnimation){const k=Gw(t);if(k){const _=window.MotionHandoffAnimation(k,g,Jt);_!==null&&(S.startTime=_,A=!0)}}Ah(t,g),y.start(Hm(g,y,x,t.shouldReduceMotion&&mw.has(g)?{type:!1}:S,t,A));const N=y.animation;N&&m.push(N)}return c&&Promise.all(m).then(()=>{Jt.update(()=>{c&&XR(t,c)})}),m}function Qw(t,n,r,a=0,l=1){const u=Array.from(t).sort((h,g)=>h.sortNodePosition(g)).indexOf(n),c=t.size,d=(c-1)*a;return typeof r=="function"?r(u,c):l===1?u*a:d-u*a}function Ch(t,n,r={}){const a=Oa(t,n,r.type==="exit"?t.presenceContext?.custom:void 0);let{transition:l=t.getDefaultTransition()||{}}=a||{};r.transitionOverride&&(l=r.transitionOverride);const u=a?()=>Promise.all(Xw(t,a,r)):()=>Promise.resolve(),c=t.variantChildren&&t.variantChildren.size?(m=0)=>{const{delayChildren:h=0,staggerChildren:g,staggerDirection:y}=l;return rz(t,n,m,h,g,y,r)}:()=>Promise.resolve(),{when:d}=l;if(d){const[m,h]=d==="beforeChildren"?[u,c]:[c,u];return m().then(()=>h())}else return Promise.all([u(),c(r.delay)])}function rz(t,n,r=0,a=0,l=0,u=1,c){const d=[];for(const m of t.variantChildren)m.notify("AnimationStart",n),d.push(Ch(m,n,{...c,delay:r+(typeof a=="function"?0:a)+Qw(t.variantChildren,m,a,l,u)}).then(()=>m.notify("AnimationComplete",n)));return Promise.all(d)}function az(t,n,r={}){t.notify("AnimationStart",n);let a;if(Array.isArray(n)){const l=n.map(u=>Ch(t,u,r));a=Promise.all(l)}else if(typeof n=="string")a=Ch(t,n,r);else{const l=typeof n=="function"?Oa(t,n,r.custom):n;a=Promise.all(Xw(t,l,r))}return a.then(()=>{t.notify("AnimationComplete",n)})}function Kw(t,n){if(!Array.isArray(n))return!1;const r=n.length;if(r!==t.length)return!1;for(let a=0;a<r;a++)if(n[a]!==t[a])return!1;return!0}const sz=zm.length;function Zw(t){if(!t)return;if(!t.isControllingVariants){const r=t.parent?Zw(t.parent)||{}:{};return t.props.initial!==void 0&&(r.initial=t.props.initial),r}const n={};for(let r=0;r<sz;r++){const a=zm[r],l=t.props[a];(ol(l)||l===!1)&&(n[a]=l)}return n}const lz=[...Rm].reverse(),oz=Rm.length;function uz(t){return n=>Promise.all(n.map(({animation:r,options:a})=>az(t,r,a)))}function cz(t){let n=uz(t),r=Cb(),a=!0;const l=m=>(h,g)=>{const y=Oa(t,g,m==="exit"?t.presenceContext?.custom:void 0);if(y){const{transition:x,transitionEnd:S,...E}=y;h={...h,...E,...S}}return h};function u(m){n=m(t)}function c(m){const{props:h}=t,g=Zw(t.parent)||{},y=[],x=new Set;let S={},E=1/0;for(let N=0;N<oz;N++){const k=lz[N],_=r[k],j=h[k]!==void 0?h[k]:g[k],F=ol(j),H=k===m?_.isActive:null;H===!1&&(E=N);let z=j===g[k]&&j!==h[k]&&F;if(z&&a&&t.manuallyAnimateOnMount&&(z=!1),_.protectedKeys={...S},!_.isActive&&H===null||!j&&!_.prevProp||Bu(j)||typeof j=="boolean")continue;const I=fz(_.prevProp,j);let Y=I||k===m&&_.isActive&&!z&&F||N>E&&F,at=!1;const lt=Array.isArray(j)?j:[j];let et=lt.reduce(l(k),{});H===!1&&(et={});const{prevResolvedValues:nt={}}=_,dt={...nt,...et},Z=G=>{Y=!0,x.has(G)&&(at=!0,x.delete(G)),_.needsAnimating[G]=!0;const B=t.getValue(G);B&&(B.liveStyle=!1)};for(const G in dt){const B=et[G],ot=nt[G];if(S.hasOwnProperty(G))continue;let M=!1;Eh(B)&&Eh(ot)?M=!Kw(B,ot):M=B!==ot,M?B!=null?Z(G):x.add(G):B!==void 0&&x.has(G)?Z(G):_.protectedKeys[G]=!0}_.prevProp=j,_.prevResolvedValues=et,_.isActive&&(S={...S,...et}),a&&t.blockInitialAnimation&&(Y=!1);const $=z&&I;Y&&(!$||at)&&y.push(...lt.map(G=>{const B={type:k};if(typeof G=="string"&&a&&!$&&t.manuallyAnimateOnMount&&t.parent){const{parent:ot}=t,M=Oa(ot,G);if(ot.enteringChildren&&M){const{delayChildren:D}=M.transition||{};B.delay=Qw(ot.enteringChildren,t,D)}}return{animation:G,options:B}}))}if(x.size){const N={};if(typeof h.initial!="boolean"){const k=Oa(t,Array.isArray(h.initial)?h.initial[0]:h.initial);k&&k.transition&&(N.transition=k.transition)}x.forEach(k=>{const _=t.getBaseTarget(k),j=t.getValue(k);j&&(j.liveStyle=!0),N[k]=_??null}),y.push({animation:N})}let A=!!y.length;return a&&(h.initial===!1||h.initial===h.animate)&&!t.manuallyAnimateOnMount&&(A=!1),a=!1,A?n(y):Promise.resolve()}function d(m,h){if(r[m].isActive===h)return Promise.resolve();t.variantChildren?.forEach(y=>y.animationState?.setActive(m,h)),r[m].isActive=h;const g=c(m);for(const y in r)r[y].protectedKeys={};return g}return{animateChanges:c,setActive:d,setAnimateFunction:u,getState:()=>r,reset:()=>{r=Cb()}}}function fz(t,n){return typeof n=="string"?n!==t:Array.isArray(n)?!Kw(n,t):!1}function Er(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Cb(){return{animate:Er(!0),whileInView:Er(),whileHover:Er(),whileTap:Er(),whileDrag:Er(),whileFocus:Er(),exit:Er()}}class nr{constructor(n){this.isMounted=!1,this.node=n}update(){}}class dz extends nr{constructor(n){super(n),n.animationState||(n.animationState=cz(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();Bu(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:r}=this.node.prevProps||{};n!==r&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let hz=0;class mz extends nr{constructor(){super(...arguments),this.id=hz++}update(){if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:r}=this.node.presenceContext,{isPresent:a}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===a)return;const l=this.node.animationState.setActive("exit",!n);r&&!n&&l.then(()=>{r(this.id)})}mount(){const{register:n,onExitComplete:r}=this.node.presenceContext||{};r&&r(this.id),n&&(this.unmount=n(this.id))}unmount(){}}const pz={animation:{Feature:dz},exit:{Feature:mz}};function cl(t,n,r,a={passive:!0}){return t.addEventListener(n,r,a),()=>t.removeEventListener(n,r)}function xl(t){return{point:{x:t.pageX,y:t.pageY}}}const gz=t=>n=>Dm(n)&&t(n,xl(n));function Zs(t,n,r,a){return cl(t,n,gz(r),a)}const Ww=1e-4,yz=1-Ww,vz=1+Ww,Jw=.01,xz=0-Jw,bz=0+Jw;function ze(t){return t.max-t.min}function Sz(t,n,r){return Math.abs(t-n)<=r}function Nb(t,n,r,a=.5){t.origin=a,t.originPoint=$t(n.min,n.max,t.origin),t.scale=ze(r)/ze(n),t.translate=$t(r.min,r.max,t.origin)-t.originPoint,(t.scale>=yz&&t.scale<=vz||isNaN(t.scale))&&(t.scale=1),(t.translate>=xz&&t.translate<=bz||isNaN(t.translate))&&(t.translate=0)}function Ws(t,n,r,a){Nb(t.x,n.x,r.x,a?a.originX:void 0),Nb(t.y,n.y,r.y,a?a.originY:void 0)}function kb(t,n,r){t.min=r.min+n.min,t.max=t.min+ze(n)}function wz(t,n,r){kb(t.x,n.x,r.x),kb(t.y,n.y,r.y)}function Mb(t,n,r){t.min=n.min-r.min,t.max=t.min+ze(n)}function vu(t,n,r){Mb(t.x,n.x,r.x),Mb(t.y,n.y,r.y)}function xn(t){return[t("x"),t("y")]}const $w=({current:t})=>t?t.ownerDocument.defaultView:null,Ob=(t,n)=>Math.abs(t-n);function Tz(t,n){const r=Ob(t.x,n.x),a=Ob(t.y,n.y);return Math.sqrt(r**2+a**2)}class tT{constructor(n,r,{transformPagePoint:a,contextWindow:l=window,dragSnapToOrigin:u=!1,distanceThreshold:c=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=Md(this.lastMoveEventInfo,this.history),S=this.startEvent!==null,E=Tz(x.offset,{x:0,y:0})>=this.distanceThreshold;if(!S&&!E)return;const{point:A}=x,{timestamp:N}=Ae;this.history.push({...A,timestamp:N});const{onStart:k,onMove:_}=this.handlers;S||(k&&k(this.lastMoveEvent,x),this.startEvent=this.lastMoveEvent),_&&_(this.lastMoveEvent,x)},this.handlePointerMove=(x,S)=>{this.lastMoveEvent=x,this.lastMoveEventInfo=kd(S,this.transformPagePoint),Jt.update(this.updatePoint,!0)},this.handlePointerUp=(x,S)=>{this.end();const{onEnd:E,onSessionEnd:A,resumeAnimation:N}=this.handlers;if(this.dragSnapToOrigin&&N&&N(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const k=Md(x.type==="pointercancel"?this.lastMoveEventInfo:kd(S,this.transformPagePoint),this.history);this.startEvent&&E&&E(x,k),A&&A(x,k)},!Dm(n))return;this.dragSnapToOrigin=u,this.handlers=r,this.transformPagePoint=a,this.distanceThreshold=c,this.contextWindow=l||window;const d=xl(n),m=kd(d,this.transformPagePoint),{point:h}=m,{timestamp:g}=Ae;this.history=[{...h,timestamp:g}];const{onSessionStart:y}=r;y&&y(n,Md(m,this.history)),this.removeListeners=gl(Zs(this.contextWindow,"pointermove",this.handlePointerMove),Zs(this.contextWindow,"pointerup",this.handlePointerUp),Zs(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),tr(this.updatePoint)}}function kd(t,n){return n?{point:n(t.point)}:t}function jb(t,n){return{x:t.x-n.x,y:t.y-n.y}}function Md({point:t},n){return{point:t,delta:jb(t,eT(n)),offset:jb(t,Ez(n)),velocity:Az(n,.1)}}function Ez(t){return t[0]}function eT(t){return t[t.length-1]}function Az(t,n){if(t.length<2)return{x:0,y:0};let r=t.length-1,a=null;const l=eT(t);for(;r>=0&&(a=t[r],!(l.timestamp-a.timestamp>Fn(n)));)r--;if(!a)return{x:0,y:0};const u=Sn(l.timestamp-a.timestamp);if(u===0)return{x:0,y:0};const c={x:(l.x-a.x)/u,y:(l.y-a.y)/u};return c.x===1/0&&(c.x=0),c.y===1/0&&(c.y=0),c}function Cz(t,{min:n,max:r},a){return n!==void 0&&t<n?t=a?$t(n,t,a.min):Math.max(t,n):r!==void 0&&t>r&&(t=a?$t(r,t,a.max):Math.min(t,r)),t}function Db(t,n,r){return{min:n!==void 0?t.min+n:void 0,max:r!==void 0?t.max+r-(t.max-t.min):void 0}}function Nz(t,{top:n,left:r,bottom:a,right:l}){return{x:Db(t.x,r,l),y:Db(t.y,n,a)}}function Rb(t,n){let r=n.min-t.min,a=n.max-t.max;return n.max-n.min<t.max-t.min&&([r,a]=[a,r]),{min:r,max:a}}function kz(t,n){return{x:Rb(t.x,n.x),y:Rb(t.y,n.y)}}function Mz(t,n){let r=.5;const a=ze(t),l=ze(n);return l>a?r=al(n.min,n.max-a,t.min):a>l&&(r=al(t.min,t.max-l,n.min)),bi(0,1,r)}function Oz(t,n){const r={};return n.min!==void 0&&(r.min=n.min-t.min),n.max!==void 0&&(r.max=n.max-t.min),r}const Nh=.35;function jz(t=Nh){return t===!1?t=0:t===!0&&(t=Nh),{x:zb(t,"left","right"),y:zb(t,"top","bottom")}}function zb(t,n,r){return{min:_b(t,n),max:_b(t,r)}}function _b(t,n){return typeof t=="number"?t:t[n]||0}const Dz=new WeakMap;class Rz{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=ge(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=n}start(n,{snapToCursor:r=!1,distanceThreshold:a}={}){const{presenceContext:l}=this.visualElement;if(l&&l.isPresent===!1)return;const u=y=>{const{dragSnapToOrigin:x}=this.getProps();x?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(xl(y).point)},c=(y,x)=>{const{drag:S,dragPropagation:E,onDragStart:A}=this.getProps();if(S&&!E&&(this.openDragLock&&this.openDragLock(),this.openDragLock=YD(S),!this.openDragLock))return;this.latestPointerEvent=y,this.latestPanInfo=x,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),xn(k=>{let _=this.getAxisMotionValue(k).get()||0;if(Yn.test(_)){const{projection:j}=this.visualElement;if(j&&j.layout){const F=j.layout.layoutBox[k];F&&(_=ze(F)*(parseFloat(_)/100))}}this.originPoint[k]=_}),A&&Jt.postRender(()=>A(y,x)),Ah(this.visualElement,"transform");const{animationState:N}=this.visualElement;N&&N.setActive("whileDrag",!0)},d=(y,x)=>{this.latestPointerEvent=y,this.latestPanInfo=x;const{dragPropagation:S,dragDirectionLock:E,onDirectionLock:A,onDrag:N}=this.getProps();if(!S&&!this.openDragLock)return;const{offset:k}=x;if(E&&this.currentDirection===null){this.currentDirection=zz(k),this.currentDirection!==null&&A&&A(this.currentDirection);return}this.updateAxis("x",x.point,k),this.updateAxis("y",x.point,k),this.visualElement.render(),N&&N(y,x)},m=(y,x)=>{this.latestPointerEvent=y,this.latestPanInfo=x,this.stop(y,x),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>xn(y=>this.getAnimationState(y)==="paused"&&this.getAxisMotionValue(y).animation?.play()),{dragSnapToOrigin:g}=this.getProps();this.panSession=new tT(n,{onSessionStart:u,onStart:c,onMove:d,onSessionEnd:m,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,distanceThreshold:a,contextWindow:$w(this.visualElement)})}stop(n,r){const a=n||this.latestPointerEvent,l=r||this.latestPanInfo,u=this.isDragging;if(this.cancel(),!u||!l||!a)return;const{velocity:c}=l;this.startAnimation(c);const{onDragEnd:d}=this.getProps();d&&Jt.postRender(()=>d(a,l))}cancel(){this.isDragging=!1;const{projection:n,animationState:r}=this.visualElement;n&&(n.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:a}=this.getProps();!a&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(n,r,a){const{drag:l}=this.getProps();if(!a||!Ko(n,l,this.currentDirection))return;const u=this.getAxisMotionValue(n);let c=this.originPoint[n]+a[n];this.constraints&&this.constraints[n]&&(c=Cz(c,this.constraints[n],this.elastic[n])),u.set(c)}resolveConstraints(){const{dragConstraints:n,dragElastic:r}=this.getProps(),a=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,l=this.constraints;n&&Aa(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&a?this.constraints=Nz(a.layoutBox,n):this.constraints=!1,this.elastic=jz(r),l!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&xn(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=Oz(a.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:r}=this.getProps();if(!n||!Aa(n))return!1;const a=n.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const u=_R(a,l.root,this.visualElement.getTransformPagePoint());let c=kz(l.layout.layoutBox,u);if(r){const d=r(DR(c));this.hasMutatedConstraints=!!d,d&&(c=Bw(d))}return c}startAnimation(n){const{drag:r,dragMomentum:a,dragElastic:l,dragTransition:u,dragSnapToOrigin:c,onDragTransitionEnd:d}=this.getProps(),m=this.constraints||{},h=xn(g=>{if(!Ko(g,r,this.currentDirection))return;let y=m&&m[g]||{};c&&(y={min:0,max:0});const x=l?200:1e6,S=l?40:1e7,E={type:"inertia",velocity:a?n[g]:0,bounceStiffness:x,bounceDamping:S,timeConstant:750,restDelta:1,restSpeed:10,...u,...y};return this.startAxisValueAnimation(g,E)});return Promise.all(h).then(d)}startAxisValueAnimation(n,r){const a=this.getAxisMotionValue(n);return Ah(this.visualElement,n),a.start(Hm(n,a,0,r,this.visualElement,!1))}stopAnimation(){xn(n=>this.getAxisMotionValue(n).stop())}pauseAnimation(){xn(n=>this.getAxisMotionValue(n).animation?.pause())}getAnimationState(n){return this.getAxisMotionValue(n).animation?.state}getAxisMotionValue(n){const r=`_drag${n.toUpperCase()}`,a=this.visualElement.getProps(),l=a[r];return l||this.visualElement.getValue(n,(a.initial?a.initial[n]:void 0)||0)}snapToCursor(n){xn(r=>{const{drag:a}=this.getProps();if(!Ko(r,a,this.currentDirection))return;const{projection:l}=this.visualElement,u=this.getAxisMotionValue(r);if(l&&l.layout){const{min:c,max:d}=l.layout.layoutBox[r];u.set(n[r]-$t(c,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:r}=this.getProps(),{projection:a}=this.visualElement;if(!Aa(r)||!a||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};xn(c=>{const d=this.getAxisMotionValue(c);if(d&&this.constraints!==!1){const m=d.get();l[c]=Mz({min:m,max:m},this.constraints[c])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",a.root&&a.root.updateScroll(),a.updateLayout(),this.resolveConstraints(),xn(c=>{if(!Ko(c,n,null))return;const d=this.getAxisMotionValue(c),{min:m,max:h}=this.constraints[c];d.set($t(m,h,l[c]))})}addListeners(){if(!this.visualElement.current)return;Dz.set(this.visualElement,this);const n=this.visualElement.current,r=Zs(n,"pointerdown",m=>{const{drag:h,dragListener:g=!0}=this.getProps();h&&g&&this.start(m)}),a=()=>{const{dragConstraints:m}=this.getProps();Aa(m)&&m.current&&(this.constraints=this.resolveRefConstraints())},{projection:l}=this.visualElement,u=l.addEventListener("measure",a);l&&!l.layout&&(l.root&&l.root.updateScroll(),l.updateLayout()),Jt.read(a);const c=cl(window,"resize",()=>this.scalePositionWithinConstraints()),d=l.addEventListener("didUpdate",(({delta:m,hasLayoutChanged:h})=>{this.isDragging&&h&&(xn(g=>{const y=this.getAxisMotionValue(g);y&&(this.originPoint[g]+=m[g].translate,y.set(y.get()+m[g].translate))}),this.visualElement.render())}));return()=>{c(),r(),u(),d&&d()}}getProps(){const n=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:a=!1,dragPropagation:l=!1,dragConstraints:u=!1,dragElastic:c=Nh,dragMomentum:d=!0}=n;return{...n,drag:r,dragDirectionLock:a,dragPropagation:l,dragConstraints:u,dragElastic:c,dragMomentum:d}}}function Ko(t,n,r){return(n===!0||n===t)&&(r===null||r===t)}function zz(t,n=10){let r=null;return Math.abs(t.y)>n?r="y":Math.abs(t.x)>n&&(r="x"),r}class _z extends nr{constructor(n){super(n),this.removeGroupControls=wn,this.removeListeners=wn,this.controls=new Rz(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||wn}unmount(){this.removeGroupControls(),this.removeListeners()}}const Lb=t=>(n,r)=>{t&&Jt.postRender(()=>t(n,r))};class Lz extends nr{constructor(){super(...arguments),this.removePointerDownListener=wn}onPointerDown(n){this.session=new tT(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:$w(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:r,onPan:a,onPanEnd:l}=this.node.getProps();return{onSessionStart:Lb(n),onStart:Lb(r),onMove:a,onEnd:(u,c)=>{delete this.session,l&&Jt.postRender(()=>l(u,c))}}}mount(){this.removePointerDownListener=Zs(this.node.current,"pointerdown",n=>this.onPointerDown(n))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const au={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Vb(t,n){return n.max===n.min?0:t/(n.max-n.min)*100}const Hs={correct:(t,n)=>{if(!n.target)return t;if(typeof t=="string")if(bt.test(t))t=parseFloat(t);else return t;const r=Vb(t,n.target.x),a=Vb(t,n.target.y);return`${r}% ${a}%`}},Vz={correct:(t,{treeScale:n,projectionDelta:r})=>{const a=t,l=er.parse(t);if(l.length>5)return a;const u=er.createTransformer(t),c=typeof l[0]!="number"?1:0,d=r.x.scale*n.x,m=r.y.scale*n.y;l[0+c]/=d,l[1+c]/=m;const h=$t(d,m,.5);return typeof l[2+c]=="number"&&(l[2+c]/=h),typeof l[3+c]=="number"&&(l[3+c]/=h),u(l)}};let Od=!1;class Bz extends C.Component{componentDidMount(){const{visualElement:n,layoutGroup:r,switchLayoutGroup:a,layoutId:l}=this.props,{projection:u}=n;sR(Pz),u&&(r.group&&r.group.add(u),a&&a.register&&l&&a.register(u),Od&&u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,onExitComplete:()=>this.safeToRemove()})),au.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:r,visualElement:a,drag:l,isPresent:u}=this.props,{projection:c}=a;return c&&(c.isPresent=u,Od=!0,l||n.layoutDependency!==r||r===void 0||n.isPresent!==u?c.willUpdate():this.safeToRemove(),n.isPresent!==u&&(u?c.promote():c.relegate()||Jt.postRender(()=>{const d=c.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:n}=this.props.visualElement;n&&(n.root.didUpdate(),jm.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:r,switchLayoutGroup:a}=this.props,{projection:l}=n;Od=!0,l&&(l.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(l),a&&a.deregister&&a.deregister(l))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function nT(t){const[n,r]=$D(),a=C.useContext(zS);return v.jsx(Bz,{...t,layoutGroup:a,switchLayoutGroup:C.useContext(Lw),isPresent:n,safeToRemove:r})}const Pz={borderRadius:{...Hs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Hs,borderTopRightRadius:Hs,borderBottomLeftRadius:Hs,borderBottomRightRadius:Hs,boxShadow:Vz};function Uz(t,n,r){const a=Ne(t)?t:za(t);return a.start(Hm("",a,n,r)),a.animation}const Hz=(t,n)=>t.depth-n.depth;class qz{constructor(){this.children=[],this.isDirty=!1}add(n){dm(this.children,n),this.isDirty=!0}remove(n){hm(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(Hz),this.isDirty=!1,this.children.forEach(n)}}function Fz(t,n){const r=Ye.now(),a=({timestamp:l})=>{const u=l-r;u>=n&&(tr(a),t(u-n))};return Jt.setup(a,!0),()=>tr(a)}const iT=["TopLeft","TopRight","BottomLeft","BottomRight"],Yz=iT.length,Bb=t=>typeof t=="string"?parseFloat(t):t,Pb=t=>typeof t=="number"||bt.test(t);function Iz(t,n,r,a,l,u){l?(t.opacity=$t(0,r.opacity??1,Gz(a)),t.opacityExit=$t(n.opacity??1,0,Xz(a))):u&&(t.opacity=$t(n.opacity??1,r.opacity??1,a));for(let c=0;c<Yz;c++){const d=`border${iT[c]}Radius`;let m=Ub(n,d),h=Ub(r,d);if(m===void 0&&h===void 0)continue;m||(m=0),h||(h=0),m===0||h===0||Pb(m)===Pb(h)?(t[d]=Math.max($t(Bb(m),Bb(h),a),0),(Yn.test(h)||Yn.test(m))&&(t[d]+="%")):t[d]=h}(n.rotate||r.rotate)&&(t.rotate=$t(n.rotate||0,r.rotate||0,a))}function Ub(t,n){return t[n]!==void 0?t[n]:t.borderRadius}const Gz=rT(0,.5,IS),Xz=rT(.5,.95,wn);function rT(t,n,r){return a=>a<t?0:a>n?1:r(al(t,n,a))}function Hb(t,n){t.min=n.min,t.max=n.max}function kn(t,n){Hb(t.x,n.x),Hb(t.y,n.y)}function qb(t,n){t.translate=n.translate,t.scale=n.scale,t.originPoint=n.originPoint,t.origin=n.origin}function Fb(t,n,r,a,l){return t-=n,t=yu(t,1/r,a),l!==void 0&&(t=yu(t,1/l,a)),t}function Qz(t,n=0,r=1,a=.5,l,u=t,c=t){if(Yn.test(n)&&(n=parseFloat(n),n=$t(c.min,c.max,n/100)-c.min),typeof n!="number")return;let d=$t(u.min,u.max,a);t===u&&(d-=n),t.min=Fb(t.min,n,r,d,l),t.max=Fb(t.max,n,r,d,l)}function Yb(t,n,[r,a,l],u,c){Qz(t,n[r],n[a],n[l],n.scale,u,c)}const Kz=["x","scaleX","originX"],Zz=["y","scaleY","originY"];function Ib(t,n,r,a){Yb(t.x,n,Kz,r?r.x:void 0,a?a.x:void 0),Yb(t.y,n,Zz,r?r.y:void 0,a?a.y:void 0)}function Gb(t){return t.translate===0&&t.scale===1}function aT(t){return Gb(t.x)&&Gb(t.y)}function Xb(t,n){return t.min===n.min&&t.max===n.max}function Wz(t,n){return Xb(t.x,n.x)&&Xb(t.y,n.y)}function Qb(t,n){return Math.round(t.min)===Math.round(n.min)&&Math.round(t.max)===Math.round(n.max)}function sT(t,n){return Qb(t.x,n.x)&&Qb(t.y,n.y)}function Kb(t){return ze(t.x)/ze(t.y)}function Zb(t,n){return t.translate===n.translate&&t.scale===n.scale&&t.originPoint===n.originPoint}class Jz{constructor(){this.members=[]}add(n){dm(this.members,n),n.scheduleRender()}remove(n){if(hm(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(n){const r=this.members.findIndex(l=>n===l);if(r===0)return!1;let a;for(let l=r;l>=0;l--){const u=this.members[l];if(u.isPresent!==!1){a=u;break}}return a?(this.promote(a),!0):!1}promote(n,r){const a=this.lead;if(n!==a&&(this.prevLead=a,this.lead=n,n.show(),a)){a.instance&&a.scheduleRender(),n.scheduleRender(),n.resumeFrom=a,r&&(n.resumeFrom.preserveOpacity=!0),a.snapshot&&(n.snapshot=a.snapshot,n.snapshot.latestValues=a.animationValues||a.latestValues),n.root&&n.root.isUpdating&&(n.isLayoutDirty=!0);const{crossfade:l}=n.options;l===!1&&a.hide()}}exitAnimationComplete(){this.members.forEach(n=>{const{options:r,resumingFrom:a}=n;r.onExitComplete&&r.onExitComplete(),a&&a.options.onExitComplete&&a.options.onExitComplete()})}scheduleRender(){this.members.forEach(n=>{n.instance&&n.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function $z(t,n,r){let a="";const l=t.x.translate/n.x,u=t.y.translate/n.y,c=r?.z||0;if((l||u||c)&&(a=`translate3d(${l}px, ${u}px, ${c}px) `),(n.x!==1||n.y!==1)&&(a+=`scale(${1/n.x}, ${1/n.y}) `),r){const{transformPerspective:h,rotate:g,rotateX:y,rotateY:x,skewX:S,skewY:E}=r;h&&(a=`perspective(${h}px) ${a}`),g&&(a+=`rotate(${g}deg) `),y&&(a+=`rotateX(${y}deg) `),x&&(a+=`rotateY(${x}deg) `),S&&(a+=`skewX(${S}deg) `),E&&(a+=`skewY(${E}deg) `)}const d=t.x.scale*n.x,m=t.y.scale*n.y;return(d!==1||m!==1)&&(a+=`scale(${d}, ${m})`),a||"none"}const jd=["","X","Y","Z"],t4=1e3;let e4=0;function Dd(t,n,r,a){const{latestValues:l}=n;l[t]&&(r[t]=l[t],n.setStaticValue(t,0),a&&(a[t]=0))}function lT(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:n}=t.options;if(!n)return;const r=Gw(n);if(window.MotionHasOptimisedAnimation(r,"transform")){const{layout:l,layoutId:u}=t.options;window.MotionCancelOptimisedAnimation(r,"transform",Jt,!(l||u))}const{parent:a}=t;a&&!a.hasCheckedOptimisedAppear&&lT(a)}function oT({attachResizeListener:t,defaultParent:n,measureScroll:r,checkIsScrollRoot:a,resetTransform:l}){return class{constructor(c={},d=n?.()){this.id=e4++,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(r4),this.nodes.forEach(o4),this.nodes.forEach(u4),this.nodes.forEach(a4)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=c,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let m=0;m<this.path.length;m++)this.path[m].shouldResetTransform=!0;this.root===this&&(this.nodes=new qz)}addEventListener(c,d){return this.eventHandlers.has(c)||this.eventHandlers.set(c,new gm),this.eventHandlers.get(c).add(d)}notifyListeners(c,...d){const m=this.eventHandlers.get(c);m&&m.notify(...d)}hasListeners(c){return this.eventHandlers.has(c)}mount(c){if(this.instance)return;this.isSVG=Tw(c)&&!ZD(c),this.instance=c;const{layoutId:d,layout:m,visualElement:h}=this.options;if(h&&!h.current&&h.mount(c),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(m||d)&&(this.isLayoutDirty=!0),t){let g,y=0;const x=()=>this.root.updateBlockedByResize=!1;Jt.read(()=>{y=window.innerWidth}),t(c,()=>{const S=window.innerWidth;S!==y&&(y=S,this.root.updateBlockedByResize=!0,g&&g(),g=Fz(x,250),au.hasAnimatedSinceResize&&(au.hasAnimatedSinceResize=!1,this.nodes.forEach($b)))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&h&&(d||m)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:y,hasRelativeLayoutChanged:x,layout:S})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const E=this.options.transition||h.getDefaultTransition()||m4,{onLayoutAnimationStart:A,onLayoutAnimationComplete:N}=h.getProps(),k=!this.targetLayout||!sT(this.targetLayout,S),_=!y&&x;if(this.options.layoutRoot||this.resumeFrom||_||y&&(k||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const j={...Mm(E,"layout"),onPlay:A,onComplete:N};(h.shouldReduceMotion||this.options.layoutRoot)&&(j.delay=0,j.type=!1),this.startAnimation(j),this.setAnimationOrigin(g,_)}else y||$b(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=S})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const c=this.getStack();c&&c.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),tr(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(c4),this.animationId++)}getTransformTemplate(){const{visualElement:c}=this.options;return c&&c.getProps().transformTemplate}willUpdate(c=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&lT(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,y.updateScroll("snapshot"),y.options.layoutRoot&&y.willUpdate(!1)}const{layoutId:d,layout:m}=this.options;if(d===void 0&&!m)return;const h=this.getTransformTemplate();this.prevTransformTemplateValue=h?h(this.latestValues,""):void 0,this.updateSnapshot(),c&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Wb);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Jb);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(l4),this.nodes.forEach(n4),this.nodes.forEach(i4)):this.nodes.forEach(Jb),this.clearAllSnapshots();const d=Ye.now();Ae.delta=bi(0,1e3/60,d-Ae.timestamp),Ae.timestamp=d,Ae.isProcessing=!0,bd.update.process(Ae),bd.preRender.process(Ae),bd.render.process(Ae),Ae.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,jm.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(s4),this.sharedNodes.forEach(f4)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Jt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Jt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!ze(this.snapshot.measuredBox.x)&&!ze(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 m=0;m<this.path.length;m++)this.path[m].updateScroll();const c=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=ge(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,c?c.layoutBox:void 0)}updateScroll(c="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===c&&(d=!1),d&&this.instance){const m=a(this.instance);this.scroll={animationId:this.root.animationId,phase:c,isRoot:m,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:m}}}resetTransform(){if(!l)return;const c=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!aT(this.projectionDelta),m=this.getTransformTemplate(),h=m?m(this.latestValues,""):void 0,g=h!==this.prevTransformTemplateValue;c&&this.instance&&(d||Ar(this.latestValues)||g)&&(l(this.instance,h),this.shouldResetTransform=!1,this.scheduleRender())}measure(c=!0){const d=this.measurePageBox();let m=this.removeElementScroll(d);return c&&(m=this.removeTransform(m)),p4(m),{animationId:this.root.animationId,measuredBox:d,layoutBox:m,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:c}=this.options;if(!c)return ge();const d=c.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(g4))){const{scroll:h}=this.root;h&&(Ca(d.x,h.offset.x),Ca(d.y,h.offset.y))}return d}removeElementScroll(c){const d=ge();if(kn(d,c),this.scroll?.wasRoot)return d;for(let m=0;m<this.path.length;m++){const h=this.path[m],{scroll:g,options:y}=h;h!==this.root&&g&&y.layoutScroll&&(g.wasRoot&&kn(d,c),Ca(d.x,g.offset.x),Ca(d.y,g.offset.y))}return d}applyTransform(c,d=!1){const m=ge();kn(m,c);for(let h=0;h<this.path.length;h++){const g=this.path[h];!d&&g.options.layoutScroll&&g.scroll&&g!==g.root&&Na(m,{x:-g.scroll.offset.x,y:-g.scroll.offset.y}),Ar(g.latestValues)&&Na(m,g.latestValues)}return Ar(this.latestValues)&&Na(m,this.latestValues),m}removeTransform(c){const d=ge();kn(d,c);for(let m=0;m<this.path.length;m++){const h=this.path[m];if(!h.instance||!Ar(h.latestValues))continue;Sh(h.latestValues)&&h.updateSnapshot();const g=ge(),y=h.measurePageBox();kn(g,y),Ib(d,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,g)}return Ar(this.latestValues)&&Ib(d,this.latestValues),d}setTargetDelta(c){this.targetDelta=c,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(c){this.options={...this.options,...c,crossfade:c.crossfade!==void 0?c.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!==Ae.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(c=!1){const d=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=d.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=d.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=d.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==d;if(!(c||m&&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=Ae.timestamp;const x=this.getClosestProjectingParent();x&&this.linkedParentVersion!==x.layoutVersion&&!x.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(x&&x.layout?this.createRelativeTarget(x,this.layout.layoutBox,x.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ge(),this.targetWithTransforms=ge()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),wz(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):kn(this.target,this.layout.layoutBox),Uw(this.target,this.targetDelta)):kn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,x&&!!x.resumingFrom==!!this.resumingFrom&&!x.options.layoutScroll&&x.target&&this.animationProgress!==1?this.createRelativeTarget(x,this.target,x.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Sh(this.parent.latestValues)||Pw(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(c,d,m){this.relativeParent=c,this.linkedParentVersion=c.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ge(),this.relativeTargetOrigin=ge(),vu(this.relativeTargetOrigin,d,m),kn(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const c=this.getLead(),d=!!this.resumingFrom||this!==c;let m=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(m=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===Ae.timestamp&&(m=!1),m)return;const{layout:h,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||!(h||g))return;kn(this.layoutCorrected,this.layout.layoutBox);const y=this.treeScale.x,x=this.treeScale.y;zR(this.layoutCorrected,this.treeScale,this.path,d),c.layout&&!c.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(c.target=c.layout.layoutBox,c.targetWithTransforms=ge());const{target:S}=c;if(!S){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(qb(this.prevProjectionDelta.x,this.projectionDelta.x),qb(this.prevProjectionDelta.y,this.projectionDelta.y)),Ws(this.projectionDelta,this.layoutCorrected,S,this.latestValues),(this.treeScale.x!==y||this.treeScale.y!==x||!Zb(this.projectionDelta.x,this.prevProjectionDelta.x)||!Zb(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",S))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(c=!0){if(this.options.visualElement?.scheduleRender(),c){const d=this.getStack();d&&d.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ka(),this.projectionDelta=ka(),this.projectionDeltaWithTransform=ka()}setAnimationOrigin(c,d=!1){const m=this.snapshot,h=m?m.latestValues:{},g={...this.latestValues},y=ka();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const x=ge(),S=m?m.source:void 0,E=this.layout?this.layout.source:void 0,A=S!==E,N=this.getStack(),k=!N||N.members.length<=1,_=!!(A&&!k&&this.options.crossfade===!0&&!this.path.some(h4));this.animationProgress=0;let j;this.mixTargetDelta=F=>{const H=F/1e3;t0(y.x,c.x,H),t0(y.y,c.y,H),this.setTargetDelta(y),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(vu(x,this.layout.layoutBox,this.relativeParent.layout.layoutBox),d4(this.relativeTarget,this.relativeTargetOrigin,x,H),j&&Wz(this.relativeTarget,j)&&(this.isProjectionDirty=!1),j||(j=ge()),kn(j,this.relativeTarget)),A&&(this.animationValues=g,Iz(g,h,this.latestValues,H,_,k)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=H},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(c){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(tr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Jt.update(()=>{au.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=za(0)),this.currentAnimation=Uz(this.motionValue,[0,1e3],{...c,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),c.onUpdate&&c.onUpdate(d)},onStop:()=>{},onComplete:()=>{c.onComplete&&c.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 c=this.getStack();c&&c.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(t4),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const c=this.getLead();let{targetWithTransforms:d,target:m,layout:h,latestValues:g}=c;if(!(!d||!m||!h)){if(this!==c&&this.layout&&h&&uT(this.options.animationType,this.layout.layoutBox,h.layoutBox)){m=this.target||ge();const y=ze(this.layout.layoutBox.x);m.x.min=c.target.x.min,m.x.max=m.x.min+y;const x=ze(this.layout.layoutBox.y);m.y.min=c.target.y.min,m.y.max=m.y.min+x}kn(d,m),Na(d,g),Ws(this.projectionDeltaWithTransform,this.layoutCorrected,d,g)}}registerSharedNode(c,d){this.sharedNodes.has(c)||this.sharedNodes.set(c,new Jz),this.sharedNodes.get(c).add(d);const h=d.options.initialPromotionConfig;d.promote({transition:h?h.transition:void 0,preserveFollowOpacity:h&&h.shouldPreserveFollowOpacity?h.shouldPreserveFollowOpacity(d):void 0})}isLead(){const c=this.getStack();return c?c.lead===this:!0}getLead(){const{layoutId:c}=this.options;return c?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:c}=this.options;return c?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:c}=this.options;if(c)return this.root.sharedNodes.get(c)}promote({needsReset:c,transition:d,preserveFollowOpacity:m}={}){const h=this.getStack();h&&h.promote(this,m),c&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const c=this.getStack();return c?c.relegate(this):!1}resetSkewAndRotation(){const{visualElement:c}=this.options;if(!c)return;let d=!1;const{latestValues:m}=c;if((m.z||m.rotate||m.rotateX||m.rotateY||m.rotateZ||m.skewX||m.skewY)&&(d=!0),!d)return;const h={};m.z&&Dd("z",c,h,this.animationValues);for(let g=0;g<jd.length;g++)Dd(`rotate${jd[g]}`,c,h,this.animationValues),Dd(`skew${jd[g]}`,c,h,this.animationValues);c.render();for(const g in h)c.setStaticValue(g,h[g]),this.animationValues&&(this.animationValues[g]=h[g]);c.scheduleRender()}applyProjectionStyles(c,d){if(!this.instance||this.isSVG)return;if(!this.isVisible){c.visibility="hidden";return}const m=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,c.visibility="",c.opacity="",c.pointerEvents=ru(d?.pointerEvents)||"",c.transform=m?m(this.latestValues,""):"none";return}const h=this.getLead();if(!this.projectionDelta||!this.layout||!h.target){this.options.layoutId&&(c.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,c.pointerEvents=ru(d?.pointerEvents)||""),this.hasProjected&&!Ar(this.latestValues)&&(c.transform=m?m({},""):"none",this.hasProjected=!1);return}c.visibility="";const g=h.animationValues||h.latestValues;this.applyTransformsToTarget();let y=$z(this.projectionDeltaWithTransform,this.treeScale,g);m&&(y=m(g,y)),c.transform=y;const{x,y:S}=this.projectionDelta;c.transformOrigin=`${x.origin*100}% ${S.origin*100}% 0`,h.animationValues?c.opacity=h===this?g.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:c.opacity=h===this?g.opacity!==void 0?g.opacity:"":g.opacityExit!==void 0?g.opacityExit:0;for(const E in ul){if(g[E]===void 0)continue;const{correct:A,applyTo:N,isCSSVariable:k}=ul[E],_=y==="none"?g[E]:A(g[E],h);if(N){const j=N.length;for(let F=0;F<j;F++)c[N[F]]=_}else k?this.options.visualElement.renderState.vars[E]=_:c[E]=_}this.options.layoutId&&(c.pointerEvents=h===this?ru(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(c=>c.currentAnimation?.stop()),this.root.nodes.forEach(Wb),this.root.sharedNodes.clear()}}}function n4(t){t.updateLayout()}function i4(t){const n=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:a}=t.layout,{animationType:l}=t.options,u=n.source!==t.layout.source;l==="size"?xn(g=>{const y=u?n.measuredBox[g]:n.layoutBox[g],x=ze(y);y.min=r[g].min,y.max=y.min+x}):uT(l,n.layoutBox,r)&&xn(g=>{const y=u?n.measuredBox[g]:n.layoutBox[g],x=ze(r[g]);y.max=y.min+x,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[g].max=t.relativeTarget[g].min+x)});const c=ka();Ws(c,r,n.layoutBox);const d=ka();u?Ws(d,t.applyTransform(a,!0),n.measuredBox):Ws(d,r,n.layoutBox);const m=!aT(c);let h=!1;if(!t.resumeFrom){const g=t.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:y,layout:x}=g;if(y&&x){const S=ge();vu(S,n.layoutBox,y.layoutBox);const E=ge();vu(E,r,x.layoutBox),sT(S,E)||(h=!0),g.options.layoutRoot&&(t.relativeTarget=E,t.relativeTargetOrigin=S,t.relativeParent=g)}}}t.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:d,layoutDelta:c,hasLayoutChanged:m,hasRelativeLayoutChanged:h})}else if(t.isLead()){const{onExitComplete:r}=t.options;r&&r()}t.options.transition=void 0}function r4(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function a4(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function s4(t){t.clearSnapshot()}function Wb(t){t.clearMeasurements()}function Jb(t){t.isLayoutDirty=!1}function l4(t){const{visualElement:n}=t.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),t.resetTransform()}function $b(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function o4(t){t.resolveTargetDelta()}function u4(t){t.calcProjection()}
vendor: 4,550 bytes, line 9
9function c4(t){t.resetSkewAndRotation()}function f4(t){t.removeLeadSnapshot()}function t0(t,n,r){t.translate=$t(n.translate,0,r),t.scale=$t(n.scale,1,r),t.origin=n.origin,t.originPoint=n.originPoint}function e0(t,n,r,a){t.min=$t(n.min,r.min,a),t.max=$t(n.max,r.max,a)}function d4(t,n,r,a){e0(t.x,n.x,r.x,a),e0(t.y,n.y,r.y,a)}function h4(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const m4={duration:.45,ease:[.4,0,.1,1]},n0=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),i0=n0("applewebkit/")&&!n0("chrome/")?Math.round:wn;function r0(t){t.min=i0(t.min),t.max=i0(t.max)}function p4(t){r0(t.x),r0(t.y)}function uT(t,n,r){return t==="position"||t==="preserve-aspect"&&!Sz(Kb(n),Kb(r),.2)}function g4(t){return t!==t.root&&t.scroll?.wasRoot}const y4=oT({attachResizeListener:(t,n)=>cl(t,"resize",n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Rd={current:void 0},cT=oT({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Rd.current){const t=new y4({});t.mount(window),t.setOptions({layoutScroll:!0}),Rd.current=t}return Rd.current},resetTransform:(t,n)=>{t.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),v4={pan:{Feature:Lz},drag:{Feature:_z,ProjectionNode:cT,MeasureLayout:nT}};function a0(t,n,r){const{props:a}=t;t.animationState&&a.whileHover&&t.animationState.setActive("whileHover",r==="Start");const l="onHover"+r,u=a[l];u&&Jt.postRender(()=>u(n,xl(n)))}class x4 extends nr{mount(){const{current:n}=this.node;n&&(this.unmount=ID(n,(r,a)=>(a0(this.node,a,"Start"),l=>a0(this.node,l,"End"))))}unmount(){}}class b4 extends nr{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=gl(cl(this.node.current,"focus",()=>this.onFocus()),cl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function s0(t,n,r){const{props:a}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&a.whileTap&&t.animationState.setActive("whileTap",r==="Start");const l="onTap"+(r==="End"?"":r),u=a[l];u&&Jt.postRender(()=>u(n,xl(n)))}class S4 extends nr{mount(){const{current:n}=this.node;n&&(this.unmount=KD(n,(r,a)=>(s0(this.node,a,"Start"),(l,{success:u})=>s0(this.node,l,u?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const kh=new WeakMap,zd=new WeakMap,w4=t=>{const n=kh.get(t.target);n&&n(t)},T4=t=>{t.forEach(w4)};function E4({root:t,...n}){const r=t||document;zd.has(r)||zd.set(r,{});const a=zd.get(r),l=JSON.stringify(n);return a[l]||(a[l]=new IntersectionObserver(T4,{root:t,...n})),a[l]}function A4(t,n,r){const a=E4(n);return kh.set(t,r),a.observe(t),()=>{kh.delete(t),a.unobserve(t)}}const C4={some:0,all:1};class N4 extends nr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:n={}}=this.node.getProps(),{root:r,margin:a,amount:l="some",once:u}=n,c={root:r?r.current:void 0,rootMargin:a,threshold:typeof l=="number"?l:C4[l]},d=m=>{const{isIntersecting:h}=m;if(this.isInView===h||(this.isInView=h,u&&!h&&this.hasEnteredView))return;h&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",h);const{onViewportEnter:g,onViewportLeave:y}=this.node.getProps(),x=h?g:y;x&&x(m)};return A4(this.node.current,c,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:r}=this.node;["amount","margin","root"].some(k4(n,r))&&this.startObserver()}unmount(){}}function k4({viewport:t={}},{viewport:n={}}={}){return r=>t[r]!==n[r]}const M4={inView:{Feature:N4},tap:{Feature:S4},focus:{Feature:b4},hover:{Feature:x4}},O4={layout:{ProjectionNode:cT,MeasureLayout:nT}},j4={...pz,...M4,...v4,...O4},Tn=jR(j4,YR);var D4=Symbol.for("react.lazy"),xu=Ph[" use ".trim().toString()];function R4(t){return typeof t=="object"&&t!==null&&"then"in t}function fT(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===D4&&"_payload"in t&&R4(t._payload)}function z4(t){const n=L4(t),r=C.forwardRef((a,l)=>{let{children:u,...c}=a;
9fT(u)&&typeof xu=="function"&&(u=xu(u._payload));const d=C.Children.toArray(u),m=d.find(B4);if(m){const h=m.props.children,g=d.map(y=>y===m?C.Children.count(h)>1?C.Children.only(null):C.isValidElement(h)?h.props.children:null:y);return v.jsx(n,{...c,ref:l,children:C.isValidElement(h)?C.cloneElement(h,void 0,g):null})}return v.jsx(n,{...c,ref:l,children:u})});return r.displayName=`${t}.Slot`,r}var _4=z4("Slot");function L4(t){const n=C.forwardRef((r,a)=>{let{children:l,...u}=r;if(fT(l)&&typeof xu=="function"&&(l=xu(l._payload)),C.isValidElement(l)){const c=U4(l),d=P4(u,l.props);return l.type!==C.Fragment&&(d.ref=a?Nu(a,c):c),C.cloneElement(l,d)}return C.Children.count(l)>1?C.Children.only(null):null});return n.displayName=`${t}.SlotClone`,n}var V4=Symbol("radix.slottable");function B4(t){return C.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===V4}function P4(t,n){const r={...n};for(const a in n){const l=t[a],u=n[a];/^on[A-Z]/.test(a)?l&&u?r[a]=(...d)=>{const m=u(...d);return l(...d),m}:l&&(r[a]=l):a==="style"?r[a]={...l,...u}:a==="className"&&(r[a]=[l,u].filter(Boolean).join(" "))}return{...t,...r}}function U4(t){let n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,r=n&&"isReactWarning"in n&&n.isReactWarning;return r?t.ref:(n=Object.getOwnPropertyDescriptor(t,"ref")?.get,r=n&&"isReactWarning"in n&&n.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}const H4=D1("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover-elevate active-elevate-2",{variants:{variant:{default:"bg-primary text-primary-foreground border border-primary-border",destructive:"bg-destructive text-destructive-foreground shadow-sm border-destructive-border",outline:" border [border-color:var(--button-outline)] shadow-xs active:shadow-none ",secondary:"border bg-secondary text-secondary-foreground border border-secondary-border ",ghost:"border border-transparent",link:"text-primary underline-offset-4 hover:underline"},size:{default:"min-h-9 px-4 py-2",sm:"min-h-8 rounded-md px-3 text-xs",lg:"min-h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),In=C.forwardRef(({className:t,variant:n,size:r,asChild:a=!1,...l},u)=>{const c=a?_4:"button";return v.jsx(c,{className:Xe(H4({variant:n,size:r,className:t})),ref:u,...l})});In.displayName="Button";const q4="/assets/strategy_image_1765189746629-Bk4y46aK.png";function F4(){return v.jsxs("section",{className:"relative pt-32 pb-20 md:pt-48 md:pb-32 overflow-hidden",children:[v.jsx("div",{className:"container mx-auto px-6",children:v.jsxs("div",{className:"grid md:grid-cols-2 gap-12 md:gap-20 items-center",children:[v.jsxs(Tn.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},children:[v.jsx("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-accent/10 text-accent text-sm font-medium mb-6",children:"Building shared infrastructure for civic tech"}),v.jsx("h1",{className:"text-4xl md:text-6xl lg:text-7xl font-bold leading-[1.1] mb-6 text-foreground",children:"Data fragmentation isn't just a technical problem - it's a democratic one."}),v.jsx("p",{className:"text-lg md:text-xl text-muted-foreground mb-8 leading-relaxed max-w-lg",children:"We support the maintainers and projects powering civic data infrastructure. By sustaining these teams and tools, we ensure communities have access to reliable, open, and verifiable civic data at every level of government."}),v.jsx("div",{className:"flex flex-col sm:flex-row gap-4",children:v.jsx(In,{size:"lg",className:"h-12 px-8 text-base",asChild:!0,children:v.jsxs(jn,{href:"/get-involved",children:["Join the Community ",v.jsx(Zh,{className:"ml-2 h-4 w-4"})]})})})]}),v.jsx(Tn.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},transition:{duration:.8,delay:.2},className:"relative w-full rounded-3xl overflow-hidden border border-border/30",children:v.jsx("img",{src:q4,alt:"Civic Data Network Visualization",className:"w-full h-auto display-block"})})]})}),v.jsx("div",{className:"absolute top-0 right-0 -z-10 w-1/3 h-1/2 bg-gradient-to-b from-primary/5 to-transparent blur-3xl"}),v.jsx("div",{className:"absolute bottom-0 left-0 -z-10 w-1/3 h-1/2 bg-gradient-to-t from-accent/5 to-transparent blur-3xl"})]})}
9function Y4(){const t=[{icon:Wh,title:"Voters Can't Access Reliable Civic Data",description:"Fragmented data systems mean citizens struggle to find, contact, and understand the officials who represent them across all levels of government."},{icon:KN,title:"Accountability Disappears",description:"Siloed data makes it nearly impossible to compare voting records, track campaign contributions, or hold officials accountable through informed voting."},{icon:pk,title:"Maintainers Are Unsupported",description:"The civic tech projects maintaining critical data infrastructure lack consistent funding, coordination, and community support. Maintainers burn out. Projects stall. Communities lose access."}];return v.jsx("section",{className:"py-20 md:py-32 bg-muted/40",id:"problem",children:v.jsxs("div",{className:"container mx-auto px-6",children:[v.jsxs(Tn.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:!0},className:"mb-16",children:[v.jsx("h2",{className:"text-3xl md:text-5xl font-bold mb-6 text-foreground",children:"When Civic Data Fragments, Democracy Suffers"}),v.jsx("p",{className:"text-lg md:text-xl text-muted-foreground max-w-3xl leading-relaxed",children:"Civic data fragmentation creates cascading problems. Without standardized, interoperable systems, voters can't find officials, maintainers lack resources to sustain projects, and communities lose access to reliable data."})]}),v.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:t.map((n,r)=>{const a=n.icon;return v.jsxs(Tn.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:r*.2},viewport:{once:!0},className:"p-8 bg-background rounded-lg border border-border hover:border-accent/50 transition-colors",children:[v.jsx("div",{className:"mb-4",children:v.jsx(a,{className:"h-10 w-10 text-accent"})}),v.jsx("h3",{className:"text-xl font-semibold mb-3 text-foreground",children:n.title}),v.jsx("p",{className:"text-muted-foreground leading-relaxed",children:n.description})]},r)})})]})})}const I4=[{icon:FN,title:"Supporting Foundational Projects",description:"Funding and sustaining the open-source projects that provide shared infrastructure for civic data across all levels of government including local, state, and federal."},{icon:Wh,title:"Sustaining Maintainers",description:"Providing resources, funding, and collaboration to the people and teams who maintain critical civic data projects."},{icon:uk,title:"Open Standards & Accessibility",description:"Ensuring civic data stays open-source, auditable, and governed by standards that work across all levels of government."},{icon:ik,title:"Expanding Coverage",description:"Supporting projects that fill critical gaps in civic data infrastructure, especially at the local government level, which remains significantly underserved compared to state and federal data."}];function G4(){return v.jsx("section",{id:"mission",className:"py-24 bg-secondary/30",children:v.jsxs("div",{className:"container mx-auto px-6",children:[v.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[v.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:"Our Mission & Purpose"}),v.jsx("p",{className:"text-lg text-muted-foreground",children:"We build shared civic data infrastructure by supporting the open-source projects and maintainers who sustain it. Our goal: ensure civic data stays accessible, verifiable, and ready for every community that needs it."})]}),v.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:I4.map((t,n)=>v.jsx(Tn.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.1},children:v.jsxs(om,{className:"h-full border-border/50 hover:border-primary/50 transition-colors bg-card/50 backdrop-blur-sm",children:[v.jsxs(DS,{children:[v.jsx("div",{className:"h-12 w-12 rounded-lg bg-primary/10 flex items-center justify-center text-primary mb-4",children:v.jsx(t.icon,{className:"h-6 w-6"})}),v.jsx(RS,{className:"text-xl",children:t.title})]}),v.jsx(um,{children:v.jsx("p",{className:"text-muted-foreground leading-relaxed",children:t.description})})]})}
9,n))}),v.jsxs("div",{className:"mt-20 grid md:grid-cols-2 gap-12 items-center bg-card border border-border rounded-2xl p-8 md:p-12 overflow-hidden relative",children:[v.jsxs("div",{className:"relative z-10",children:[v.jsx("h3",{className:"text-2xl md:text-3xl font-bold mb-6",children:"Learn About Our Strategy"}),v.jsx("p",{className:"text-muted-foreground mb-6 text-lg",children:"We invest in collaborative, open approaches: funding and supporting maintainers, improving shared tooling, and ensuring projects can reach the communities that depend on reliable civic data infrastructure."}),v.jsxs("div",{className:"space-y-4 mb-8",children:[v.jsxs("div",{className:"flex items-start gap-3",children:[v.jsx(nh,{className:"h-6 w-6 text-accent mt-0.5 shrink-0"}),v.jsx("p",{className:"text-muted-foreground",children:"Support for maintainers and infrastructure"})]}),v.jsxs("div",{className:"flex items-start gap-3",children:[v.jsx(nh,{className:"h-6 w-6 text-accent mt-0.5 shrink-0"}),v.jsx("p",{className:"text-muted-foreground",children:"Open, community-led governance"})]})]}),v.jsx(jn,{href:"/strategy",className:"inline-flex items-center text-primary font-medium hover:underline text-lg cursor-pointer",children:"View Full Strategy & Status →"})]}),v.jsxs("div",{className:"relative z-10 bg-secondary/50 rounded-xl p-8",children:[v.jsx("h4",{className:"font-semibold mb-4 text-foreground",children:"Join the Movement"}),v.jsx("p",{className:"text-muted-foreground mb-6",children:"We're looking for partners in hosting, promotion, and data contribution. Help us support maintainers and keep civic data open."}),v.jsx("a",{href:"mailto:[email protected]",className:"text-primary font-medium hover:underline",children:"Contact us at [email protected] →"})]}),v.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[500px] h-[500px] bg-primary/5 blur-3xl rounded-full -z-0"})]})]})})}const X4=[{name:"CivicPatch",url:"https://civicpatch.org/",description:"A community-driven project focused on improving local civic data and making it easier for residents to find and use public information."},{name:"OpenStates (by PluralPolicy)",url:"https://github.com/openstates/jurisdictions",description:"Aggregates and publishes state legislative data (bills, legislators, committees) to make state government more transparent and accessible."}],Q4=[{name:"Plural Policy",url:"https://pluralpolicy.com/"},{name:"Unified",url:"https://unified.me/"},{name:"Populist",url:"https://populist.us/"},{name:"VoteLight",url:"https://votelight.com/"}],K4=[{name:"Virginia Dooley",url:"https://www.linkedin.com/in/virginia-dooley/"},{name:"Creyton Loud",url:"https://www.linkedin.com/in/creyton-loud-ba0abb1ab/"},{name:"Kas Stohr",url:"https://www.linkedin.com/in/kstohr/"}];function Z4(){return v.jsx("section",{id:"team",className:"py-24",children:v.jsxs("div",{className:"container mx-auto px-6",children:[v.jsxs("div",{className:"text-center mb-16",children:[v.jsx("h2",{className:"text-3xl font-bold mb-4",children:"Our Team & Partners"}),v.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"Civic Data Tech focuses on supporting the open-source projects and maintainers that make civic data usable and trustworthy. Our primary project support today is focused on CivicPatch and OpenStates."})]}),v.jsxs("div",{className:"mb-16",children:[v.jsx("h3",{className:"text-sm font-semibold uppercase tracking-wider text-muted-foreground text-center mb-8",children:"Supported Projects"}),v.jsx("div",{className:"flex flex-wrap justify-center gap-4 md:gap-8",children:X4.map((t,n)=>v.jsx(Tn.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:n*.05},children:v.jsxs("a",{href:t.url,target:"_blank",rel:"noopener noreferrer",className:"bg-secondary/40 border border-border/50 px-6 py-4 rounded-xl flex flex-col items-start justify-center hover:bg-secondary/60 transition-colors group max-w-xs",children:[v.jsx("span",{className:"font-semibold text-foreground/80 group-hover:text-primary transition-colors",children:t.name}),v.jsx("p",{className:"text-sm text-muted-foreground mt-2",children:t.description})]})}
9,n))})]}),v.jsxs("div",{className:"mb-16",children:[v.jsx("h3",{className:"text-sm font-semibold uppercase tracking-wider text-muted-foreground text-center mb-8",children:"Supporting Organizations"}),v.jsx("div",{className:"flex flex-wrap justify-center gap-4 md:gap-8",children:Q4.map((t,n)=>v.jsx(Tn.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:n*.05},children:v.jsx("a",{href:t.url,target:"_blank",rel:"noopener noreferrer",className:"bg-secondary/40 border border-border/50 px-6 py-4 rounded-xl flex items-center justify-center hover:bg-secondary/60 transition-colors group",children:v.jsx("span",{className:"font-semibold text-foreground/80 group-hover:text-primary transition-colors",children:t.name})})},n))})]}),v.jsxs("div",{children:[v.jsx("h3",{className:"text-sm font-semibold uppercase tracking-wider text-muted-foreground text-center mb-8",children:"Board Members"}),v.jsx("div",{className:"flex flex-wrap justify-center gap-x-8 gap-y-4",children:K4.map((t,n)=>t.url?v.jsx("a",{href:t.url,target:"_blank",rel:"noopener noreferrer",className:"text-foreground/70 text-lg hover:text-primary transition-colors cursor-pointer",children:t.name},n):v.jsx("span",{className:"text-foreground/70 text-lg cursor-default",children:t.name},n))})]})]})})}function W4(){return C.useEffect(()=>{document.title="Civic Data Tech | Enhancing Access to Civic Information"},[]),C.useEffect(()=>{const{search:t}=window.location;if(!t)return;const r=new URLSearchParams(t).get("section");if(!r)return;const a=document.getElementById(r);if(!a)return;const l=setTimeout(()=>{a.scrollIntoView({behavior:"smooth",block:"start"})},50);return()=>clearTimeout(l)},[]),v.jsxs(v.Fragment,{children:[v.jsx(F4,{}),v.jsx(Y4,{}),v.jsx(G4,{}),v.jsx(Z4,{})]})}function J4(){return C.useEffect(()=>{document.title="Get Involved | Civic Data Tech",window.scrollTo({top:0,behavior:"instant"})},[]),v.jsx("div",{className:"min-h-screen bg-background pt-32 pb-20",children:v.jsx("div",{className:"container mx-auto px-6 max-w-4xl",children:v.jsxs(Tn.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},children:[v.jsxs("div",{className:"text-center mb-16",children:[v.jsx("h1",{className:"text-4xl md:text-5xl font-bold font-display mb-6",children:"Get Involved"}),v.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Help us sustain civic data infrastructure. There are many ways to contribute to the Civic Data Tech initiative."})]}),v.jsxs("div",{className:"bg-primary/5 border border-primary/20 rounded-2xl p-8 md:p-12 text-center mb-20 relative overflow-hidden",children:[v.jsxs("div",{className:"relative z-10",children:[v.jsx("h2",{className:"text-3xl font-bold mb-4",children:"Join the Community"}),v.jsx("p",{className:"text-lg text-muted-foreground mb-8 max-w-xl mx-auto",children:"Connect with builders, maintainers, contributors, and civic tech advocates. Participate in discussions and stay updated on our progress."}),v.jsx(In,{size:"lg",className:"bg-primary hover:bg-primary/90 h-12 px-8 text-base",asChild:!0,children:v.jsxs("a",{href:"https://unified.me/organization/27721/posts?invite=civicdata",target:"_blank",rel:"noopener noreferrer",children:["Join Civic Data Group on Unified ",v.jsx(Zh,{className:"ml-2 h-5 w-5"})]})}),v.jsx("p",{className:"text-sm text-muted-foreground mt-4 max-w-xl mx-auto",children:"Unified is a social network where activists gather to collaborate and organize in practical, meaningful ways."})]}),v.jsx("div",{className:"absolute top-0 right-0 -z-0 w-64 h-64 bg-primary/10 rounded-full blur-3xl -translate-y-1/2 translate-x-1/2"}),v.jsx("div",{className:"absolute bottom-0 left-0 -z-0 w-64 h-64 bg-accent/10 rounded-full blur-3xl translate-y-1/2 -translate-x-1/2"})]}),v.jsx("h2",{className:"text-3xl font-bold font-display mb-10 text-center",children:"Support & Collaboration Opportunities"}),v.jsxs("div",{className:"grid gap-8",children:[v.jsx("div",{className:"bg-card border border-border/50 rounded-xl p-8 hover:border-primary/50 transition-colors",children:v.jsxs("div",{className:"flex items-start gap-6",children:[v.jsx("div",{className:"p-3 bg-blue-100 dar
9k:bg-blue-900/30 text-blue-600 dark:text-blue-400 rounded-lg shrink-0",children:v.jsx(ak,{className:"h-8 w-8"})}),v.jsxs("div",{children:[v.jsx("h3",{className:"text-2xl font-bold mb-3",children:"Hosting & Technical Infrastructure"}),v.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"We're seeking partners who can provide reliable hosting, cloud resources, or technical infrastructure expertise to support our projects. These contributions directly enable maintainers to serve their communities reliably."})]})]})}),v.jsx("div",{className:"bg-card border border-border/50 rounded-xl p-8 hover:border-primary/50 transition-colors",children:v.jsxs("div",{className:"flex items-start gap-6",children:[v.jsx("div",{className:"p-3 bg-purple-100 dark:bg-purple-900/30 text-purple-600 dark:text-purple-400 rounded-lg shrink-0",children:v.jsx($N,{className:"h-8 w-8"})}),v.jsxs("div",{children:[v.jsx("h3",{className:"text-2xl font-bold mb-3",children:"Community Amplification & Partnerships"}),v.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Help us connect maintainers with the communities they serve. If you or your organization can assist in promoting our supported projects to civic groups, media, academic institutions, and tech communities, your advocacy helps sustain and grow this infrastructure."})]})]})}),v.jsx("div",{className:"bg-card border border-border/50 rounded-xl p-8 hover:border-primary/50 transition-colors",children:v.jsxs("div",{className:"flex items-start gap-6",children:[v.jsx("div",{className:"p-3 bg-teal-100 dark:bg-teal-900/30 text-teal-600 dark:text-teal-400 rounded-lg shrink-0",children:v.jsx(PN,{className:"h-8 w-8"})}),v.jsxs("div",{children:[v.jsx("h3",{className:"text-2xl font-bold mb-3",children:"Development & Community Contribution"}),v.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Developers, data scientists, and civic tech advocates can contribute directly to our supported projects. Your skills help maintainers expand coverage, refine tools, and sustain the infrastructure that powers civic data access."})]})]})})]}),v.jsxs("div",{className:"mt-20 text-center",children:[v.jsx("h3",{className:"text-2xl font-bold mb-6",children:"Ready to Contribute?"}),v.jsx("p",{className:"text-muted-foreground mb-8",children:"Reach out to us directly to discuss how you can help support a more informed democracy."}),v.jsx(In,{size:"lg",variant:"outline",className:"h-12 px-8 text-base",asChild:!0,children:v.jsx("a",{href:"mailto:[email protected]",children:"Contact Us at [email protected]"})}),v.jsxs("div",{className:"mt-20 pt-20 border-t border-border",children:[v.jsx("h3",{className:"text-3xl font-bold mb-6",children:"Become a State Data Maintainer"}),v.jsx("p",{className:"text-lg text-muted-foreground mb-12 max-w-2xl mx-auto",children:"We're recruiting volunteers to help maintain civic data infrastructure in every state. Become part of a community of contributors who help sustain and improve the civic data that communities depend on."}),v.jsxs("div",{className:"mb-12 text-left max-w-3xl mx-auto",children:[v.jsx("h4",{className:"text-xl font-semibold mb-8 text-center",children:"What State Maintainers Do"}),v.jsxs("div",{className:"space-y-6",children:[v.jsxs("div",{children:[v.jsxs("h5",{className:"font-semibold text-primary mb-3 flex items-center gap-2",children:[v.jsx("span",{className:"inline-flex items-center justify-center h-8 w-8 rounded-full bg-primary text-primary-foreground text-sm",children:"1"}),"Claim Your State"]}),v.jsx("p",{className:"text-muted-foreground ml-10",children:"Pick one or more states you're interested in maintaining. We'll guide you through the process."})]}),v.jsxs("div",{children:[v.jsxs("h5",{className:"font-semibold text-primary mb-3 flex items-center gap-2",children:[v.jsx("span",{className:"inline-flex items-center justify-center h-8 w-8 rounded-full bg-primary text-primary-foreground text-sm",children:"2"}),"Maintain Data Quality"]}),v.jsx("p",{className:"text-muted-foreground ml-10",children:"Set up role configurations, log scrape issues, and ensure data accuracy for your state. We help you organize and prioritize the work."})]}),v.jsxs("div",{children:[v.jsxs("h5",{className:"font-semibold text-primary mb-3 flex items-center gap-2",children:[v.jsx("span",{className:"inline-flex items-center justify-center h-8 w-8 rounded-full bg-primary text-primary-foreground text-sm",children:"3"}
9),"Update Jurisdictions Data"]}),v.jsx("p",{className:"text-muted-foreground ml-10",children:"Help maintain and verify civic data across your state. You won't do this alone—we crowdsource reviews and community contributions to keep data accurate and current."})]})]})]}),v.jsxs("div",{className:"bg-secondary/30 rounded-xl p-6 mb-8 max-w-3xl mx-auto",children:[v.jsx("p",{className:"text-muted-foreground mb-4 text-left",children:v.jsx("strong",{children:"What We Provide:"})}),v.jsxs("ul",{className:"space-y-2 text-muted-foreground text-left",children:[v.jsxs("li",{className:"flex gap-2",children:[v.jsx("span",{className:"text-primary",children:"✓"}),v.jsx("span",{children:"Demo videos and step-by-step training"})]}),v.jsxs("li",{className:"flex gap-2",children:[v.jsx("span",{className:"text-primary",children:"✓"}),v.jsx("span",{children:"Direct support from the Civic Data Tech team"})]}),v.jsxs("li",{className:"flex gap-2",children:[v.jsx("span",{className:"text-primary",children:"✓"}),v.jsx("span",{children:"Community of fellow state maintainers"})]}),v.jsxs("li",{className:"flex gap-2",children:[v.jsx("span",{className:"text-primary",children:"✓"}),v.jsx("span",{children:"Access to verified, a data verification platform"})]})]})]}),v.jsx("p",{className:"text-lg text-muted-foreground mb-8 max-w-2xl mx-auto",children:"Ready to help strengthen civic data for your state? Let's connect."}),v.jsx(In,{size:"lg",className:"bg-primary hover:bg-primary/90 h-12 px-8 text-base",asChild:!0,children:v.jsx("a",{href:"https://unified.me/chat/!HQloUuiqtsUEjVYPqZ",children:"Become a State Maintainer"})})]})]})]})})})}function $4(){return C.useEffect(()=>{document.title="Our Strategy | Civic Data Tech",window.scrollTo({top:0,behavior:"instant"})},[]),v.jsx("section",{className:"min-h-screen bg-background pt-32 pb-20",children:v.jsx("div",{className:"container mx-auto px-6 max-w-5xl",children:v.jsxs(Tn.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},children:[v.jsxs("div",{className:"text-center mb-16",children:[v.jsx("h1",{className:"text-4xl md:text-5xl font-bold font-display mb-6",children:"Our Strategy"}),v.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"We sustain open-source civic data projects by supporting their maintainers and ensuring the data they steward remains accessible and verifiable."})]}),v.jsxs("div",{className:"grid md:grid-cols-2 gap-12 items-center mb-20",children:[v.jsxs("div",{children:[v.jsx("h2",{className:"text-3xl font-bold font-display mb-6",children:"Supporting Maintainers & Projects"}),v.jsxs("div",{className:"prose prose-lg text-muted-foreground",children:[v.jsx("p",{className:"mb-6",children:"Our strategy centers on sustaining the maintainers and projects that power civic data infrastructure. We recognize that reliable, open civic data infrastructure depends on consistent support for the teams and tools behind it."}),v.jsx("p",{children:"We invest in foundational projects like CivicPatch and OpenStates, ensuring they have the resources needed to serve communities effectively.  Our approach combines direct funding, collaborative partnerships, and community governance to create a sustainable ecosystem for civic data."})]})]}),v.jsxs("div",{className:"grid gap-4",children:[v.jsxs("div",{className:"bg-card border border-border/50 p-6 rounded-xl flex items-start gap-4 hover:border-primary/30 transition-colors",children:[v.jsx("div",{className:"p-3 bg-primary/10 rounded-lg text-primary",children:v.jsx(HN,{className:"h-6 w-6"})}),v.jsxs("div",{children:[v.jsx("h3",{className:"font-semibold mb-2",children:"Project Funding"}),v.jsx("p",{className:"text-sm text-muted-foreground",children:"Direct financial support for open-source civic data projects."})]})]}),v.jsxs("div",{className:"bg-card border border-border/50 p-6 rounded-xl flex items-start gap-4 hover:border-primary/30 transition-colors",children:[v.jsx("div",{className:"p-3 bg-accent/10 rounded-lg text-accent",children:v.jsx(Wh,{className:"h-6 w-6"})}),v.jsxs("div",{children:[v.jsx("h3",{className:"font-semibold mb-2",children:"Maintainer Support"}),v.jsx("p",{className:"text-sm text-muted-foreground",children:"Resources and collaboration for the teams maintaining critical projects."})]})]}),v.jsxs("div",{className:"bg-card border border-border/50 p-6 rounded-xl flex items-start gap-4 hover:border-primary/30 transition-colors",children:[v.jsx("div",{className:"p-3 bg-secondary rounded-lg text-foreground",children:v.jsx(lk,{className:"h-6 w-6"})}),v.jsxs("div",{children:[v.jsx("h3",{className:"font-semibold mb-2",children:"Open & Verifiable"}),v.jsx("p",{className:"text-sm text-muted-foreground",children:"Ensuring data and tools remain open-source and auditable by communities."})]})]})]})]}),v.jsx("div",{className:"bg-secondary/30 rounded-2xl p-8 md:p-12 mb-20",children:v.jsxs("div",{className:"max-w-3xl mx-auto",children:[v.jsx("h3",{className:"text-2xl font-bold font-display mb-6",children:"Our Roadmap"}),v.jsxs("div",{className:"space-y-8",children:[v.jsxs("div",{className:"relative pl-8 border-l-2 border-primary",children:[v.jsx("span",{className:"absolute -left-[9px] top-0 h-4 w-4 roun
9ded-full bg-primary ring-4 ring-background"}),v.jsx("h4",{className:"text-xl font-bold mb-2 text-primary",children:"Immediate Support"}),v.jsx("p",{className:"text-muted-foreground",children:"We are actively supporting CivicPatch and OpenStates, critical projects that provide shared infrastructure for civic data access, particularly at the local government level where data infrastructure remains significantly underfunded. Our direct funding and partnerships help these teams maintain and expand their work."})]}),v.jsxs("div",{className:"relative pl-8 border-l-2 border-border",children:[v.jsx("span",{className:"absolute -left-[9px] top-0 h-4 w-4 rounded-full bg-border ring-4 ring-background"}),v.jsx("h4",{className:"text-xl font-bold mb-2",children:"Build Community Contributors"}),v.jsx("p",{className:"text-muted-foreground",children:"Grow a engaged community of maintainers, developers, and civic data advocates who contribute to and sustain the projects we support."})]}),v.jsxs("div",{className:"relative pl-8 border-l-2 border-border",children:[v.jsx("span",{className:"absolute -left-[9px] top-0 h-4 w-4 rounded-full bg-border ring-4 ring-background"}),v.jsx("h4",{className:"text-xl font-bold mb-2",children:"Continue Bi-Monthly Hackathons"}),v.jsx("p",{className:"text-muted-foreground",children:"Host regular hackathons to connect contributors, solve pressing civic data challenges, and accelerate project development."})]}),v.jsxs("div",{className:"relative pl-8 border-l-2 border-border",children:[v.jsx("span",{className:"absolute -left-[9px] top-0 h-4 w-4 rounded-full bg-border ring-4 ring-background"}),v.jsx("h4",{className:"text-xl font-bold mb-2",children:"Secure Funding Partners"}),v.jsx("p",{className:"text-muted-foreground",children:"Build sustainable partnerships with organizations committed to civic data access and open infrastructure."})]}),v.jsxs("div",{className:"relative pl-8 border-l-2 border-border",children:[v.jsx("span",{className:"absolute -left-[9px] top-0 h-4 w-4 rounded-full bg-border ring-4 ring-background"}),v.jsx("h4",{className:"text-xl font-bold mb-2",children:"Support New Launches"}),v.jsx("p",{className:"text-muted-foreground",children:"Help supported projects reach new communities and expand their impact through strategic guid
9ance and resources."})]}),v.jsxs("div",{className:"relative pl-8 border-l-2 border-border",children:[v.jsx("span",{className:"absolute -left-[9px] top-0 h-4 w-4 rounded-full bg-border ring-4 ring-background"}),v.jsx("h4",{className:"text-xl font-bold mb-2",children:"Expand to New Projects"}),v.jsx("p",{className:"text-muted-foreground",children:"Identify and support additional open-source civic data projects that fill critical gaps nationwide."})]})]})]})}),v.jsx("div",{className:"bg-primary/5 border border-primary/10 rounded-2xl p-8 md:p-12",children:v.jsxs("div",{className:"grid md:grid-cols-2 gap-12 items-center",children:[v.jsxs("div",{children:[v.jsx("h2",{className:"text-3xl font-bold font-display mb-6",children:"Current Status: Supporting Key Projects"}),v.jsxs("div",{className:"space-y-4 text-muted-foreground",children:[v.jsx("p",{children:"Civic Data Tech is actively engaged in supporting CivicPatch and OpenStates, providing funding and collaborative partnerships to sustain these essential infrastructure projects."}),v.jsx("p",{children:"Our governance model emphasizes transparency and community involvement, ensuring that decisions about project support are made collaboratively with partners and stakeholders."})]})]}),v.jsxs("div",{className:"bg-background rounded-xl p-6 border border-border shadow-sm",children:[v.jsxs("h3",{className:"font-bold mb-4 flex items-center gap-2",children:[v.jsx(nh,{className:"h-5 w-5 text-green-500"}),"Active Projects"]}),v.jsxs("ul",{className:"space-y-3",children:[v.jsxs("li",{className:"flex items-center gap-3 text-sm text-muted-foreground",children:[v.jsx("div",{className:"h-2 w-2 rounded-full bg-green-500"}),"CivicPatch support & development"]}),v.jsxs("li",{className:"flex items-center gap-3 text-sm text-muted-foreground",children:[v.jsx("div",{className:"h-2 w-2 rounded-full bg-green-500"}),"OpenStates partnership & funding"]}),v.jsxs("li",{className:"flex items-center gap-3 text-sm text-muted-foreground",children:[v.jsx("div",{className:"h-2 w-2 rounded-full bg-green-500"}),"Community-led governance"]}),v.jsxs("li",{className:"flex items-center gap-3 text-sm text-muted-foreground",children:[v.jsx("div",{className:"h-2 w-2 rounded-full bg-green-500"}),"Open-source infrastructure maintenance"]})]}),v.jsx(In,{className:"w-full mt-6",asChild:!0,children:v.jsxs(jn,{href:"/get-involved",children:["Get Involved ",v.jsx(Zh,{className:"ml-2 h-4 w-4"})]})})]})]})})]})})})}const t3=`---
10title: "Welcome to Civic Data Tech"
11date: "2026-01-15"
12author: "Virginia Dooley"
13excerpt: "We're launching Civic Data Techto support open-source civic data projects."
14slug: "welcome-to-civic-data-tech"
15category: "announcement"
16status: "published"
17---
18
19# Welcome to Civic Data Tech
20
21We're excited to announce the launch of Civic Data Tech, a collaborative community dedicated to supporting the maintainers and projects that power civic data infrastructure nationwide.
22
23## Our Mission
24
25Civic data infrastructure is fragmented. Projects operate in silos. Standards are inconsistent. Maintainers work without adequate support or resources. **We're here to change that.**
26
27Civic Data Tech brings together practitioners, maintainers, and organizations to:
28
29- Support the teams and projects maintaining critical civic data infrastructure
30- Establish shared data standards that work across all levels of government
31- Focus on local government data—the layer most civic tech infrastructure neglects
32- Provide funding, mentorship, and community support to sustain these projects
33- Advocate for data accessibility and transparency at all levels of government
34
35## Why Now?
36
37Voters can't easily find and contact their elected officials. Communities lack access to consistent civic data. Maintainers work without adequate support or resources.
38
39While state and federal civic data infrastructure is comparatively well-covered, local government data remains fragmented and underfunded. The teams maintaining these critical projects—the civic tech maintainers—are stretched thin.
40
41**This is a structural problem, and it requires a community solution.**
42
43## What's Next
44
45We're in the build phase for both community and product. We hold weekly check in calls and bi monthly hackathons. Come join us [Unified](https://unified.me/organization/27721/posts?invite=civicdata) to learn more. Unified is a social network where activists gather to collaborate and organize in practical, meaningful ways. 
46`;function dT(t){const n=t.match(/^---\n([\s\S]*?)\n---\n([\s\S]*)$/);if(!n)return{data:{},content:t};const r=n[1],a=n[2],l={};return r.split(`
47`).forEach(u=>{const c=u.indexOf(":");if(c>0){const d=u.substring(0,c).trim(),m=u.substring(c+1).trim().replace(/^["']|["']$/g,"");l[d]=m}}),{data:l,content:a}}const hT=Object.assign({"./posts/01-welcome.md":t3});function e3(){const t=[];for(const[n,r]of Object.entries(hT)){const{data:a}=dT(r);t.push(a)}return t.filter(n=>n.status!=="draft").sort((n,r)=>new Date(r.date).getTime()-new Date(n.date).getTime())}function n3(t){for(const[n,r]of Object.entries(hT)){const{data:a,content:l}=dT(r);if(a.slug===t)return{...a,content:l}}return null}function i3(){const[t,n]=C.useState([]);return C.useEffect(()=>{document.title="Blog | Civic Data Tech",window.scrollTo({top:0,behavior:"instant"});const r=e3();n(r)},[]),v.jsx("div",{className:"min-h-screen bg-background pt-32 pb-20",children:v.jsx("div",{className:"container mx-auto px-6 max-w-4xl",children:v.jsxs(Tn.div,{initial:{opacity:0,y:20}
47,animate:{opacity:1,y:0},transition:{duration:.6},children:[v.jsxs("div",{className:"mb-12",children:[v.jsx("h1",{className:"text-5xl font-bold mb-4",children:"Blog"}),v.jsx("p",{className:"text-xl text-gray-600",children:"Stories, updates, and insights from the civic data community."})]}),v.jsx("div",{className:"space-y-8",children:t.map((r,a)=>v.jsxs(Tn.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:a*.1},className:"border-b border-gray-200 pb-8 last:border-0",children:[v.jsx(jn,{href:`/blog/${r.slug}`,children:v.jsx("a",{className:"group",children:v.jsx("h2",{className:"text-3xl font-bold mb-2 group-hover:text-primary transition-colors",children:r.title})})}),v.jsxs("div",{className:"flex flex-wrap gap-4 mb-4 text-sm text-gray-600",children:[v.jsxs("div",{className:"flex items-center gap-1",children:[v.jsx(z1,{className:"h-4 w-4"}),new Date(r.date).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})]}),v.jsxs("div",{className:"flex items-center gap-1",children:[v.jsx(L1,{className:"h-4 w-4"}),r.author]}),v.jsxs("div",{className:"flex items-center gap-1",children:[v.jsx(_1,{className:"h-4 w-4"}),v.jsx("span",{className:"capitalize",children:r.category})]})]}),v.jsx("p",{className:"text-lg text-gray-700 mb-4",children:r.excerpt}),v.jsx(jn,{href:`/blog/${r.slug}`,children:v.jsx("a",{className:"inline-block text-primary font-semibold hover:underline",children:"Read more →"})})]},r.slug))}),t.length===0&&v.jsx("div",{className:"text-center py-12",children:v.jsx("p",{className:"text-gray-600",children:"No blog posts yet. Check back soon!"})})]})})})}function r3(t,n){const r={};return(t[t.length-1]===""?[...t,""]:t).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const a3=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,s3=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l3={};function l0(t,n){return(l3.jsx?s3:a3).test(t)}const o3=/[ \t\n\f\r]/g;function u3(t){return typeof t=="object"?t.type==="text"?o0(t.value):!1:o0(t)}function o0(t){return t.replace(o3,"")===""}class bl{constructor(n,r,a){this.normal=r,this.property=n,a&&(this.space=a)}}bl.prototype.normal={};bl.prototype.property={};bl.prototype.space=void 0;function mT(t,n){const r={},a={};for(const l of t)Object.assign(r,l.property),Object.assign(a,l.normal);return new bl(r,a,n)}function Mh(t){return t.toLowerCase()}class Qe{constructor(n,r){this.attribute=r,this.property=n}}Qe.prototype.attribute="";Qe.prototype.booleanish=!1;Qe.prototype.boolean=!1;Qe.prototype.commaOrSpaceSeparated=!1;Qe.prototype.commaSeparated=!1;Qe.prototype.defined=!1;Qe.prototype.mustUseProperty=!1;Qe.prototype.number=!1;Qe.prototype.overloadedBoolean=!1;Qe.prototype.property="";Qe.prototype.spaceSeparated=!1;Qe.prototype.space=void 0;let c3=0;const wt=Dr(),ce=Dr(),Oh=Dr(),rt=Dr(),Xt=Dr(),Or=Dr(),rn=Dr();function Dr(){return 2**++c3}const jh=Object.freeze(Object.defineProperty({__proto__:null,boolean:wt,booleanish:ce,commaOrSpaceSeparated:rn,commaSeparated:Or,number:rt,overloadedBoolean:Oh,spaceSeparated:Xt},Symbol.toStringTag,{value:"Module"})),_d=Object.keys(jh);class qm extends Qe{constructor(n,r,a,l){let u=-1;if(super(n,r),u0(this,"space",l),typeof a=="number")for(;++u<_d.length;){const c=_d[u];u0(this,_d[u],(a&jh[c])===jh[c])}}}qm.prototype.defined=!0;function u0(t,n,r){r&&(t[n]=r)}function Ya(t){const n={},r={};for(const[a,l]of Object.entries(t.properties)){const u=new qm(a,t.transform(t.attributes||{},a),l,t.space);t.mustUseProperty&&t.mustUseProperty.includes(a)&&(u.mustUseProperty=!0),n[a]=u,r[Mh(a)]=a,r[Mh(u.attribute)]=a}return new bl(n,r,t.space)}const pT=Ya({properties:{ariaActiveDescendant:null,ariaAtomic:ce,ariaAutoComplete:null,ariaBusy:ce,ariaChecked:ce,ariaColCount:rt,ariaColIndex:rt,ariaColSpan:rt,ariaControls:Xt,ariaCurrent:null,ariaDescribedBy:Xt,ariaDetails:null,ariaDisabled:ce,ariaDropEffect:Xt,ariaErrorMessage:null,ariaExpanded:ce,ariaFlowTo:Xt,ariaGrabbed:ce,ariaHasPopup:null,ariaHidden:ce,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Xt,ariaLevel:rt,ariaLive:null,ariaModal:ce,ariaMultiLine:ce,ariaMultiSelectable:ce,ariaOrientation:null,ariaOwns:Xt,ariaPlaceholder:null,ariaPosInSet:rt,ariaPressed:ce,ariaReadOnly:ce,ariaRelevant:null,ariaRequired:ce,ariaRoleDescription:Xt,ariaRowCount:rt,ariaRowIndex:rt,ariaRowSpan:rt,ariaSelected:ce,ariaSetSize:rt,ariaSort:null,ariaValueMax:rt,ariaValueMin:rt,ariaValueNow:rt,ariaValueText:null,role:null},transform(t,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function gT(t,n){return n in t?t[n]:n}function yT(t,n){return gT(t,n.toLowerCase())}const f3=Ya({attributes:{acceptcharset:"accept-charset",classname:"
47class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Or,acceptCharset:Xt,accessKey:Xt,action:null,allow:null,allowFullScreen:wt,allowPaymentRequest:wt,allowUserMedia:wt,alpha:wt,alt:null,as:null,async:wt,autoCapitalize:null,autoComplete:Xt,autoFocus:wt,autoPlay:wt,blocking:Xt,capture:null,charSet:null,checked:wt,cite:null,className:Xt,closedBy:null,colorSpace:null,cols:rt,colSpan:rt,command:null,commandFor:null,content:null,contentEditable:ce,controls:wt,controlsList:Xt,coords:rt|Or,crossOrigin:null,data:null,dateTime:null,decoding:null,default:wt,defer:wt,dir:null,dirName:null,disabled:wt,download:Oh,draggable:ce,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:wt,formTarget:null,headers:Xt,height:rt,hidden:Oh,high:rt,href:null,hrefLang:null,htmlFor:Xt,httpEquiv:Xt,id:null,imageSizes:null,imageSrcSet:null,inert:wt,inputMode:null,integrity:null,is:null,isMap:wt,itemId:null,itemProp:Xt,itemRef:Xt,itemScope:wt,itemType:Xt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:wt,low:rt,manifest:null,max:null,maxLength:rt,media:null,method:null,min:null,minLength:rt,multiple:wt,muted:wt,name:null,nonce:null,noModule:wt,noValidate:wt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:wt,optimum:rt,pattern:null,ping:Xt,placeholder:null,playsInline:wt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:wt,referrerPolicy:null,rel:Xt,required:wt,reversed:wt,rows:rt,rowSpan:rt,sandbox:Xt,scope:null,scoped:wt,seamless:wt,selected:wt,shadowRootClonable:wt,shadowRootCustomElementRegistry:wt,shadowRootDelegatesFocus:wt,shadowRootMode:null,shadowRootSerializable:wt,shape:null,size:rt,sizes:null,slot:null,span:rt,spellCheck:ce,src:null,srcDoc:null,srcLang:null,srcSet:null,start:rt,step:null,style:null,tabIndex:rt,target:null,title:null,translate:null,type:null,typeMustMatch:wt,useMap:null,value:ce,width:rt,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Xt,axis:null,background:null,bgColor:null,border:rt,borderColor:null,bottomMargin:rt,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:wt,declare:wt,event:null,face:null,frame:null,frameBorder:null,hSpace:rt,leftMargin:rt,link:null,longDesc:null,lowSrc:null,marginHeight:rt,marginWidth:rt,noResize:wt,noHref:wt,noShade:wt,noWrap:wt,object:null,profile:null,prompt:null,rev:null,rightMargin:rt,rules:null,scheme:null,scrolling:ce,standby:null,summary:null,text:null,topMargin:rt,valueType:null,version:null,vAlign:null,vLink:null,vSpace:rt,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:wt,disablePictureInPicture:wt,disableRemotePlayback:wt,exportParts:Or,part:Xt,prefix:null,property:null,results:rt,security:null,unselectable:null},space:"html",transform:yT}),d3=Ya({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRen
47dering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
47-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:rn,accentHeight:rt,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:rt,amplitude:rt,arabicForm:null,ascent:rt,attributeName:null,attributeType:null,azimuth:rt,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:rt,by:null,calcMode:null,capHeight:rt,className:Xt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:rt,diffuseConstant:rt,direction:null,display:null,dur:null,divisor:rt,dominantBaseline:null,download:wt,dx:null,dy:null,edgeMode:null,editable:null,elevation:rt,enableBackground:null,end:null,event:null,exponent:rt,externalResourcesRequired:null,fill:null,fillOpacity:rt,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Or,g2:Or,glyphName:Or,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:rt,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:rt,horizOriginX:rt,horizOriginY:rt,id:null,ideographic:rt,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:rt,k:rt,k1:rt,k2:rt,k3:rt,k4:rt,kernelMatrix:rn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:rt,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:rt,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
vendor: 5,801 bytes, lines 47-48
47Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:rt,overlineThickness:rt,paintOrder:null,panose1:null,path:null,pathLength:rt,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Xt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:rt,pointsAtY:rt,pointsAtZ:rt,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:rn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:rn,rev:rn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:rn,requiredFeatures:rn,requiredFonts:rn,requiredFormats:rn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:rt,specularExponent:rt,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:rt,strikethroughThickness:rt,string:null,stroke:null,strokeDashArray:rn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:rt,strokeOpacity:rt,strokeWidth:null,style:null,surfaceScale:rt,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:rn,tabIndex:rt,tableValues:null,target:null,targetX:rt,targetY:rt,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:rn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:rt,underlineThickness:rt,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:rt,values:null,vAlphabetic:rt,vMathematical:rt,vectorEffect:null,vHanging:rt,vIdeographic:rt,version:null,vertAdvY:rt,vertOriginX:rt,vertOriginY:rt,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:rt,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:gT}),vT=Ya({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(t,n){return"xlink:"+n.slice(5).toLowerCase()}}),xT=Ya({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:yT}),bT=Ya({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,n){return"xml:"+n.slice(3).toLowerCase()}}),h3={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},m3=/[A-Z]/g,c0=/-[a-z]/g,p3=/^data[-\w.:]+$/i;function g3(t,n){const r=Mh(n);let a=n,l=Qe;if(r in t.normal)return t.property[t.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&p3.test(n)){if(n.charAt(4)==="-"){const u=n.slice(5).replace(c0,v3);a="data"+u.charAt(0).toUpperCase()+u.slice(1)}else{const u=n.slice(4);if(!c0.test(u)){let c=u.replace(m3,y3);c.charAt(0)!=="-"&&(c="-"+c),n="data"+c}}l=qm}return new l(a,n)}function y3(t){return"-"+t.toLowerCase()}function v3(t){return t.charAt(1).toUpperCase()}const x3=mT([pT,f3,vT,xT,bT],"html"),Fm=mT([pT,d3,vT,xT,bT],"svg");function b3(t){return t.join(" ").trim()}var wa={},Ld,f0;function S3(){if(f0)return Ld;f0=1;var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,l=/^:\s*/,u=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,d=/^\s+|\s+$/g,m=`
48`,h="/",g="*",y="",x="comment",S="declaration";function E(N,k){if(typeof N!="string")throw new TypeError("First argument must be a string");if(!N)return[];k=k||{};var _=1,j=1;function F(Z){var $=Z.match(n);$&&(_+=$.length);var L=Z.lastIndexOf(m);j=~L?Z.length-L:j+Z.length}function H(){var Z={line:_,column:j};return function($){return $.position=new z(Z),at(),$}}function z(Z){this.start=Z,this.end={line:_,column:j},this.source=k.source}z.prototype.content=N;function I(Z){var $=new Error(k.source+":"+_+":"+j+": "+Z);if($.reason=Z,$.filename=k.source,$.line=_,$.column=j,$.source=N,!k.silent)throw $}function Y(Z){var $=Z.exec(N);if($){var L=$[0];return F(L),N=N.slice(L.length),$}}function at(){Y(r)}function lt(Z){var $;for(Z=Z||[];$=et();)$!==!1&&Z.push($);return Z}function et(){var Z=H();if(!(h!=N.charAt(0)||g!=N.charAt(1))){for(var $=2;y!=N.charAt($)&&(g!=N.charAt($)||h!=N.charAt($+1));)++$;if($+=2,y===N.charAt($-1))return I("End of comment missing");var L=N.slice(2,$-2);return j+=2,F(L),N=N.slice($),j+=2,Z({type:x,comment:L})}}function nt(){var Z=H(),$=Y(a);if($){if(et(),!Y(l))return I("property missing ':'");var L=Y(u),G=Z({type:S,property:A($[0].replace(t,y)),value:L?A(L[0].replace(t,y)):y});return Y(c),G}}function dt(){var Z=[];lt(Z);for(var $;$=nt();)$!==!1&&(Z.push($),lt(Z));return Z}return at(),dt()}function A(N){return N?N.replace(d,y):y}return Ld=E,Ld}var d0;function w3(){if(d0)return wa;d0=1;var t=wa&&wa.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(wa,"__esModule",{value:!0}),wa.default=r;const n=t(S3());function r(a,l){let u=null;if(!a||typeof a!="string")return u;const c=(0,n.default)(a),d=typeof l=="function";return c.forEach(m=>{if(m.type!=="declaration")return;const{property:h,value:g}=m;d?l(h,g,m):g&&(u=u||{},u[h]=g)}),u}return wa}var qs={},h0;function T3(){if(h0)return qs;h0=1,Object.defineProperty(qs,"__esModule",{value:!0}
vendor: 3,302 bytes, line 48
48),qs.camelCase=void 0;var t=/^--[a-zA-Z0-9_-]+$/,n=/-([a-z])/g,r=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,l=/^-(ms)-/,u=function(h){return!h||r.test(h)||t.test(h)},c=function(h,g){return g.toUpperCase()},d=function(h,g){return"".concat(g,"-")},m=function(h,g){return g===void 0&&(g={}),u(h)?h:(h=h.toLowerCase(),g.reactCompat?h=h.replace(l,d):h=h.replace(a,d),h.replace(n,c))};return qs.camelCase=m,qs}var Fs,m0;function E3(){if(m0)return Fs;m0=1;var t=Fs&&Fs.__importDefault||function(l){return l&&l.__esModule?l:{default:l}},n=t(w3()),r=T3();function a(l,u){var c={};return!l||typeof l!="string"||(0,n.default)(l,function(d,m){d&&m&&(c[(0,r.camelCase)(d,u)]=m)}),c}return a.default=a,Fs=a,Fs}var A3=E3();const C3=dl(A3),ST=wT("end"),Ym=wT("start");function wT(t){return n;function n(r){const a=r&&r.position&&r.position[t]||{};if(typeof a.line=="number"&&a.line>0&&typeof a.column=="number"&&a.column>0)return{line:a.line,column:a.column,offset:typeof a.offset=="number"&&a.offset>-1?a.offset:void 0}}}function N3(t){const n=Ym(t),r=ST(t);if(n&&r)return{start:n,end:r}}function Js(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?p0(t.position):"start"in t||"end"in t?p0(t):"line"in t||"column"in t?Dh(t):""}function Dh(t){return g0(t&&t.line)+":"+g0(t&&t.column)}function p0(t){return Dh(t&&t.start)+"-"+Dh(t&&t.end)}function g0(t){return t&&typeof t=="number"?t:1}class ke extends Error{constructor(n,r,a){super(),typeof r=="string"&&(a=r,r=void 0);let l="",u={},c=!1;if(r&&("line"in r&&"column"in r?u={place:r}:"start"in r&&"end"in r?u={place:r}:"type"in r?u={ancestors:[r],place:r.position}:u={...r}),typeof n=="string"?l=n:!u.cause&&n&&(c=!0,l=n.message,u.cause=n),!u.ruleId&&!u.source&&typeof a=="string"){const m=a.indexOf(":");m===-1?u.ruleId=a:(u.source=a.slice(0,m),u.ruleId=a.slice(m+1))}if(!u.place&&u.ancestors&&u.ancestors){const m=u.ancestors[u.ancestors.length-1];m&&(u.place=m.position)}const d=u.place&&"start"in u.place?u.place.start:u.place;this.ancestors=u.ancestors||void 0,this.cause=u.cause||void 0,this.column=d?d.column:void 0,this.fatal=void 0,this.file="",this.message=l,this.line=d?d.line:void 0,this.name=Js(u.place)||"1:1",this.place=u.place||void 0,this.reason=this.message,this.ruleId=u.ruleId||void 0,this.source=u.source||void 0,this.stack=c&&u.cause&&typeof u.cause.stack=="string"?u.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}ke.prototype.file="";ke.prototype.name="";ke.prototype.reason="";ke.prototype.message="";ke.prototype.stack="";ke.prototype.column=void 0;ke.prototype.line=void 0;ke.prototype.ancestors=void 0;ke.prototype.cause=void 0;ke.prototype.fatal=void 0;ke.prototype.place=void 0;ke.prototype.ruleId=void 0;ke.prototype.source=void 0;const Im={}.hasOwnProperty,k3=new Map,M3=/[A-Z]/g,O3=new Set(["table","tbody","thead","tfoot","tr"]),j3=new Set(["td","th"]),TT="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function D3(t,n){if(!n||n.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=n.filePath||void 0;let a;if(n.development){if(typeof n.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");a=U3(r,n.jsxDEV)}else{if(typeof n.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 9,010 bytes, line 48
48if(typeof n.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");a=P3(r,n.jsx,n.jsxs)}const l={Fragment:n.Fragment,ancestors:[],components:n.components||{},create:a,elementAttributeNameCase:n.elementAttributeNameCase||"react",evaluater:n.createEvaluater?n.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:n.ignoreInvalidStyle||!1,passKeys:n.passKeys!==!1,passNode:n.passNode||!1,schema:n.space==="svg"?Fm:x3,stylePropertyNameCase:n.stylePropertyNameCase||"dom",tableCellAlignToStyle:n.tableCellAlignToStyle!==!1},u=ET(l,t,void 0);return u&&typeof u!="string"?u:l.create(t,l.Fragment,{children:u||void 0},void 0)}function ET(t,n,r){if(n.type==="element")return R3(t,n,r);if(n.type==="mdxFlowExpression"||n.type==="mdxTextExpression")return z3(t,n);if(n.type==="mdxJsxFlowElement"||n.type==="mdxJsxTextElement")return L3(t,n,r);if(n.type==="mdxjsEsm")return _3(t,n);if(n.type==="root")return V3(t,n,r);if(n.type==="text")return B3(t,n)}function R3(t,n,r){const a=t.schema;let l=a;n.tagName.toLowerCase()==="svg"&&a.space==="html"&&(l=Fm,t.schema=l),t.ancestors.push(n);const u=CT(t,n.tagName,!1),c=H3(t,n);let d=Xm(t,n);return O3.has(n.tagName)&&(d=d.filter(function(m){return typeof m=="string"?!u3(m):!0})),AT(t,c,u,n),Gm(c,d),t.ancestors.pop(),t.schema=a,t.create(n,u,c,r)}function z3(t,n){if(n.data&&n.data.estree&&t.evaluater){const a=n.data.estree.body[0];return a.type,t.evaluater.evaluateExpression(a.expression)}fl(t,n.position)}function _3(t,n){if(n.data&&n.data.estree&&t.evaluater)return t.evaluater.evaluateProgram(n.data.estree);fl(t,n.position)}function L3(t,n,r){const a=t.schema;let l=a;n.name==="svg"&&a.space==="html"&&(l=Fm,t.schema=l),t.ancestors.push(n);const u=n.name===null?t.Fragment:CT(t,n.name,!0),c=q3(t,n),d=Xm(t,n);return AT(t,c,u,n),Gm(c,d),t.ancestors.pop(),t.schema=a,t.create(n,u,c,r)}function V3(t,n,r){const a={};return Gm(a,Xm(t,n)),t.create(n,t.Fragment,a,r)}function B3(t,n){return n.value}function AT(t,n,r,a){typeof r!="string"&&r!==t.Fragment&&t.passNode&&(n.node=a)}function Gm(t,n){if(n.length>0){const r=n.length>1?n:n[0];r&&(t.children=r)}}function P3(t,n,r){return a;function a(l,u,c,d){const h=Array.isArray(c.children)?r:n;return d?h(u,c,d):h(u,c)}}function U3(t,n){return r;function r(a,l,u,c){const d=Array.isArray(u.children),m=Ym(a);return n(l,u,c,d,{columnNumber:m?m.column-1:void 0,fileName:t,lineNumber:m?m.line:void 0},void 0)}}function H3(t,n){const r={};let a,l;for(l in n.properties)if(l!=="children"&&Im.call(n.properties,l)){const u=F3(t,l,n.properties[l]);if(u){const[c,d]=u;t.tableCellAlignToStyle&&c==="align"&&typeof d=="string"&&j3.has(n.tagName)?a=d:r[c]=d}}if(a){const u=r.style||(r.style={});u[t.stylePropertyNameCase==="css"?"text-align":"textAlign"]=a}return r}function q3(t,n){const r={};for(const a of n.attributes)if(a.type==="mdxJsxExpressionAttribute")if(a.data&&a.data.estree&&t.evaluater){const u=a.data.estree.body[0];u.type;const c=u.expression;c.type;const d=c.properties[0];d.type,Object.assign(r,t.evaluater.evaluateExpression(d.argument))}else fl(t,n.position);else{const l=a.name;let u;if(a.value&&typeof a.value=="object")if(a.value.data&&a.value.data.estree&&t.evaluater){const d=a.value.data.estree.body[0];d.type,u=t.evaluater.evaluateExpression(d.expression)}else fl(t,n.position);else u=a.value===null?!0:a.value;r[l]=u}return r}function Xm(t,n){const r=[];let a=-1;const l=t.passKeys?new Map:k3;for(;++a<n.children.length;){const u=n.children[a];let c;if(t.passKeys){const m=u.type==="element"?u.tagName:u.type==="mdxJsxFlowElement"||u.type==="mdxJsxTextElement"?u.name:void 0;if(m){const h=l.get(m)||0;c=m+"-"+h,l.set(m,h+1)}}const d=ET(t,u,c);d!==void 0&&r.push(d)}return r}function F3(t,n,r){const a=g3(t.schema,n);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=a.commaSeparated?r3(r):b3(r)),a.property==="style"){let l=typeof r=="object"?r:Y3(t,String(r));return t.stylePropertyNameCase==="css"&&(l=I3(l)),["style",l]}return[t.elementAttributeNameCase==="react"&&a.space?h3[a.property]||a.property:a.attribute,r]}}function Y3(t,n){try{return C3(n,{reactCompat:!0})}catch(r){if(t.ignoreInvalidStyle)return{};const a=r,l=new ke("Cannot parse `style` attribute",{ancestors:t.ancestors,cause:a,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw l.file=t.filePath||void 0,l.url=TT+"#cannot-parse-style-attribute",l}}function CT(t,n,r){let a;if(!r)a={type:"Literal",value:n};else if(n.includes(".")){const l=n.split(".");let u=-1,c;for(;++u<l.length;){const d=l0(l[u])?{type:"Identifier",name:l[u]}:{type:"Literal",value:l[u]};c=c?{type:"MemberExpression",object:c,property:d,computed:!!(u&&d.type==="Literal"),optional:!1}:d}a=c}else a=l0(n)&&!/^[a-z]/.test(n)?{type:"Identifier",name:n}:{type:"Literal",value:n};if(a.type==="Literal"){const l=a.value;return Im.call(t.components,l)?t.components[l]:l}if(t.evaluater)return t.evaluater.evaluateExpression(a);fl(t)}function fl(t,n){const r=new ke("Cannot handle MDX estrees without `createEvaluater`",{ancestors:t.ancestors,place:n,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=t.filePath||void 0,r.url=TT+"#cannot-handle-mdx-estrees-without-createevaluater",r}function I3(t){const n={};let r;for(r in t)Im.call(t,r)&&(n[G3(r)]=t[r]);return n}function G3(t){let n=t.replace(M3,X3);return n.slice(0,3)==="ms-"&&(n="-"+n),n}function X3(t){return"-"+t.toLowerCase()}const Vd={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Q3={};function K3(t,n){const r=Q3,a=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,l=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return NT(t,a,l)}function NT(t,n,r){if(Z3(t)){if("value"in t)return t.type==="html"&&!r?"":t.value;if(n&&"alt"in t&&t.alt)return t.alt;if("children"in t)return y0(t.children,n,r)}return Array.isArray(t)?y0(t,n,r):""}function y0(t,n,r){const a=[];let l=-1;for(;++l<t.length;)a[l]=NT(t[l],n,r);return a.join("")}function Z3(t){return!!(t&&typeof t=="object")}const v0=document.createElement("i");function Qm(t){const n="&"+t+";";v0.innerHTML=n;const r=v0.textContent;return r.charCodeAt(r.length-1)===59&&t!=="semi"||r===n?!1:r}function Xn(t,n,r,a){const l=t.length;let u=0,c;if(n<0?n=-n>l?0:l+n:n=n>l?l:n,r=r>0?r:0,a.length<1e4)c=Array.from(a),c.unshift(n,r),t.splice(...c);else for(r&&t.splice(n,r);u<a.length;)c=a.slice(u,u+1e4),c.unshift(n,0),t.splice(...c),u+=1e4,n+=1e4}function bn(t,n){return t.length>0?(Xn(t,t.length,0,n),t):n}const x0={}.hasOwnProperty;function W3(t){const n={};let r=-1;for(;++r<t.length;)J3(n,t[r]);return n}function J3(t,n){let r;for(r in n){const l=(x0.call(t,r)?t[r]:void 0)||(t[r]={}),u=n[r];let c;if(u)for(c in u){x0.call(l,c)||(l[c]=[]);const d=u[c];$3(l[c],Array.isArray(d)?d:d?[d]:[])}}}function $3(t,n){let r=-1;const a=[];for(;++r<n.length;)(n[r].add==="after"?t:a).push(n[r]);Xn(t,0,0,a)}function kT(t,n){const r=Number.parseInt(t,n);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function ja(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Un=ir(/[A-Za-z]/),sn=ir(/[\dA-Za-z]/),t_=ir(/[#-'*+\--9=?A-Z^-~]/);function Rh(t){return t!==null&&(t<32||t===127)}const zh=ir(/\d/),e_=ir(/[\dA-Fa-f]/),n_=ir(/[!-/:-@[-`{-~]/);function St(t){return t!==null&&t<-2}function Ie(t){return t!==null&&(t<0||t===32)}function Vt(t){return t===-2||t===-1||t===32}const i_=ir(new RegExp("\\p{P}|\\p{S}","u")),r_=ir(/\s/);function ir(t){return n;function n(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function Ia(t){const n=[];let r=-1,a=0,l=0;for(;++r<t.length;){const u=t.charCodeAt(r);let c="";if(u===37&&sn(t.charCodeAt(r+1))&&sn(t.charCodeAt(r+2)))l=2;else if(u<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(u))||(c=String.fromCharCode(u));else if(u>55295&&u<57344){const d=t.charCodeAt(r+1);u<56320&&d>56319&&d<57344?(c=String.fromCharCode(u,d),l=1):c="�"}else c=String.fromCharCode(u);c&&(n.push(t.slice(a,r),encodeURIComponent(c)),a=r+l+1,c=""),l&&(r+=l,l=0)}return n.join("")+t.slice(a)}function Qt(t,n,r,a){const l=a?a-1:Number.POSITIVE_INFINITY;let u=0;return c;function c(m){return Vt(m)?(t.enter(r),d(m)):n(m)}function d(m){return Vt(m)&&u++<l?(t.consume(m),d):(t.exit(r),n(m))}}const a_={tokenize:s_};function s_(t){const n=t.attempt(this.parser.constructs.contentInitial,a,l);let r;return n;function a(d){if(d===null){t.consume(d);return}return t.enter("lineEnding"),t.consume(d),t.exit("lineEnding"),Qt(t,n,"linePrefix")}function l(d){return t.enter("paragraph"),u(d)}function u(d){const m=t.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=m),r=m,c(d)}function c(d){if(d===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(d);return}
vendor: 8,178 bytes, line 48
48return St(d)?(t.consume(d),t.exit("chunkText"),u):(t.consume(d),c)}}const l_={tokenize:o_},b0={tokenize:u_};function o_(t){const n=this,r=[];let a=0,l,u,c;return d;function d(j){if(a<r.length){const F=r[a];return n.containerState=F[1],t.attempt(F[0].continuation,m,h)(j)}return h(j)}function m(j){if(a++,n.containerState._closeFlow){n.containerState._closeFlow=void 0,l&&_();const F=n.events.length;let H=F,z;for(;H--;)if(n.events[H][0]==="exit"&&n.events[H][1].type==="chunkFlow"){z=n.events[H][1].end;break}k(a);let I=F;for(;I<n.events.length;)n.events[I][1].end={...z},I++;return Xn(n.events,H+1,0,n.events.slice(F)),n.events.length=I,h(j)}return d(j)}function h(j){if(a===r.length){if(!l)return x(j);if(l.currentConstruct&&l.currentConstruct.concrete)return E(j);n.interrupt=!!(l.currentConstruct&&!l._gfmTableDynamicInterruptHack)}return n.containerState={},t.check(b0,g,y)(j)}function g(j){return l&&_(),k(a),x(j)}function y(j){return n.parser.lazy[n.now().line]=a!==r.length,c=n.now().offset,E(j)}function x(j){return n.containerState={},t.attempt(b0,S,E)(j)}function S(j){return a++,r.push([n.currentConstruct,n.containerState]),x(j)}function E(j){if(j===null){l&&_(),k(0),t.consume(j);return}return l=l||n.parser.flow(n.now()),t.enter("chunkFlow",{_tokenizer:l,contentType:"flow",previous:u}),A(j)}function A(j){if(j===null){N(t.exit("chunkFlow"),!0),k(0),t.consume(j);return}return St(j)?(t.consume(j),N(t.exit("chunkFlow")),a=0,n.interrupt=void 0,d):(t.consume(j),A)}function N(j,F){const H=n.sliceStream(j);if(F&&H.push(null),j.previous=u,u&&(u.next=j),u=j,l.defineSkip(j.start),l.write(H),n.parser.lazy[j.start.line]){let z=l.events.length;for(;z--;)if(l.events[z][1].start.offset<c&&(!l.events[z][1].end||l.events[z][1].end.offset>c))return;const I=n.events.length;let Y=I,at,lt;for(;Y--;)if(n.events[Y][0]==="exit"&&n.events[Y][1].type==="chunkFlow"){if(at){lt=n.events[Y][1].end;break}at=!0}for(k(a),z=I;z<n.events.length;)n.events[z][1].end={...lt},z++;Xn(n.events,Y+1,0,n.events.slice(I)),n.events.length=z}}function k(j){let F=r.length;for(;F-- >j;){const H=r[F];n.containerState=H[1],H[0].exit.call(n,t)}r.length=j}function _(){l.write([null]),u=void 0,l=void 0,n.containerState._closeFlow=void 0}}function u_(t,n,r){return Qt(t,t.attempt(this.parser.constructs.document,n,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function S0(t){if(t===null||Ie(t)||r_(t))return 1;if(i_(t))return 2}function Km(t,n,r){const a=[];let l=-1;for(;++l<t.length;){const u=t[l].resolveAll;u&&!a.includes(u)&&(n=u(n,r),a.push(u))}return n}const _h={name:"attention",resolveAll:c_,tokenize:f_};function c_(t,n){let r=-1,a,l,u,c,d,m,h,g;for(;++r<t.length;)if(t[r][0]==="enter"&&t[r][1].type==="attentionSequence"&&t[r][1]._close){for(a=r;a--;)if(t[a][0]==="exit"&&t[a][1].type==="attentionSequence"&&t[a][1]._open&&n.sliceSerialize(t[a][1]).charCodeAt(0)===n.sliceSerialize(t[r][1]).charCodeAt(0)){if((t[a][1]._close||t[r][1]._open)&&(t[r][1].end.offset-t[r][1].start.offset)%3&&!((t[a][1].end.offset-t[a][1].start.offset+t[r][1].end.offset-t[r][1].start.offset)%3))continue;m=t[a][1].end.offset-t[a][1].start.offset>1&&t[r][1].end.offset-t[r][1].start.offset>1?2:1;const y={...t[a][1].end},x={...t[r][1].start};w0(y,-m),w0(x,m),c={type:m>1?"strongSequence":"emphasisSequence",start:y,end:{...t[a][1].end}},d={type:m>1?"strongSequence":"emphasisSequence",start:{...t[r][1].start},end:x},u={type:m>1?"strongText":"emphasisText",start:{...t[a][1].end},end:{...t[r][1].start}},l={type:m>1?"strong":"emphasis",start:{...c.start},end:{...d.end}},t[a][1].end={...c.start},t[r][1].start={...d.end},h=[],t[a][1].end.offset-t[a][1].start.offset&&(h=bn(h,[["enter",t[a][1],n],["exit",t[a][1],n]])),h=bn(h,[["enter",l,n],["enter",c,n],["exit",c,n],["enter",u,n]]),h=bn(h,Km(n.parser.constructs.insideSpan.null,t.slice(a+1,r),n)),h=bn(h,[["exit",u,n],["enter",d,n],["exit",d,n],["exit",l,n]]),t[r][1].end.offset-t[r][1].start.offset?(g=2,h=bn(h,[["enter",t[r][1],n],["exit",t[r][1],n]])):g=0,Xn(t,a-1,r-a+3,h),r=a+h.length-g-2;break}}for(r=-1;++r<t.length;)t[r][1].type==="attentionSequence"&&(t[r][1].type="data");return t}function f_(t,n){const r=this.parser.constructs.attentionMarkers.null,a=this.previous,l=S0(a);let u;return c;function c(m){return u=m,t.enter("attentionSequence"),d(m)}function d(m){if(m===u)return t.consume(m),d;const h=t.exit("attentionSequence"),g=S0(m),y=!g||g===2&&l||r.includes(m),x=!l||l===2&&g||r.includes(a);return h._open=!!(u===42?y:y&&(l||!x)),h._close=!!(u===42?x:x&&(g||!y)),n(m)}}function w0(t,n){t.column+=n,t.offset+=n,t._bufferIndex+=n}const d_={name:"autolink",tokenize:h_};function h_(t,n,r){let a=0;return l;function l(S){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(S),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),u}function u(S){return Un(S)?(t.consume(S),c):S===64?r(S):h(S)}function c(S){return S===43||S===45||S===46||sn(S)?(a=1,d(S)):h(S)}function d(S){return S===58?(t.consume(S),a=0,m):(S===43||S===45||S===46||sn(S))&&a++<32?(t.consume(S),d):(a=0,h(S))}function m(S){return S===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(S),t.exit("autolinkMarker"),t.exit("autolink"),n):S===null||S===32||S===60||Rh(S)?r(S):(t.consume(S),m)}function h(S){return S===64?(t.consume(S),g):t_(S)?(t.consume(S),h):r(S)}function g(S){return sn(S)?y(S):r(S)}function y(S){return S===46?(t.consume(S),a=0,g):S===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(S),t.exit("autolinkMarker"),t.exit("autolink"),n):x(S)}function x(S){if((S===45||sn(S))&&a++<63){const E=S===45?x:y;return t.consume(S),E}return r(S)}}const Uu={partial:!0,tokenize:m_};function m_(t,n,r){return a;function a(u){return Vt(u)?Qt(t,l,"linePrefix")(u):l(u)}function l(u){return u===null||St(u)?n(u):r(u)}}const MT={continuation:{tokenize:g_},exit:y_,name:"blockQuote",tokenize:p_};function p_(t,n,r){const a=this;return l;function l(c){if(c===62){const d=a.containerState;return d.open||(t.enter("blockQuote",{_container:!0}),d.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(c),t.exit("blockQuoteMarker"),u}return r(c)}function u(c){return Vt(c)?(t.enter("blockQuotePrefixWhitespace"),t.consume(c),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),n):(t.exit("blockQuotePrefix"),n(c))}}function g_(t,n,r){const a=this;return l;function l(c){return Vt(c)?Qt(t,u,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c):u(c)}function u(c){return t.attempt(MT,n,r)(c)}}function y_(t){t.exit("blockQuote")}const OT={name:"characterEscape",tokenize:v_};function v_(t,n,r){return a;function a(u){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(u),t.exit("escapeMarker"),l}function l(u){return n_(u)?(t.enter("characterEscapeValue"),t.consume(u),t.exit("characterEscapeValue"),t.exit("characterEscape"),n):r(u)}}const jT={name:"characterReference",tokenize:x_};function x_(t,n,r){const a=this;let l=0,u,c;return d;function d(y){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(y),t.exit("characterReferenceMarker"),m}function m(y){return y===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(y),t.exit("characterReferenceMarkerNumeric"),h):(t.enter("characterReferenceValue"),u=31,c=sn,g(y))}function h(y){return y===88||y===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(y),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),u=6,c=e_,g):(t.enter("characterReferenceValue"),u=7,c=zh,g(y))}function g(y){if(y===59&&l){const x=t.exit("characterReferenceValue");return c===sn&&!Qm(a.sliceSerialize(x))?r(y):(t.enter("characterReferenceMarker"),t.consume(y),t.exit("characterReferenceMarker"),t.exit("characterReference"),n)}return c(y)&&l++<u?(t.consume(y),g):r(y)}}const T0={partial:!0,tokenize:S_},E0={concrete:!0,name:"codeFenced",tokenize:b_};function b_(t,n,r){const a=this,l={partial:!0,tokenize:H};let u=0,c=0,d;return m;function m(z){return h(z)}function h(z){const I=a.events[a.events.length-1];return u=I&&I[1].type==="linePrefix"?I[2].sliceSerialize(I[1],!0).length:0,d=z,t.enter("co
48deFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),g(z)}function g(z){return z===d?(c++,t.consume(z),g):c<3?r(z):(t.exit("codeFencedFenceSequence"),Vt(z)?Qt(t,y,"whitespace")(z):y(z))}function y(z){return z===null||St(z)?(t.exit("codeFencedFence"),a.interrupt?n(z):t.check(T0,A,F)(z)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),x(z))}function x(z){return z===null||St(z)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),y(z)):Vt(z)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),Qt(t,S,"whitespace")(z)):z===96&&z===d?r(z):(t.consume(z),x)}function S(z){return z===null||St(z)?y(z):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),E(z))}function E(z){return z===null||St(z)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),y(z)):z===96&&z===d?r(z):(t.consume(z),E)}function A(z){return t.attempt(l,F,N)(z)}function N(z){return t.enter("lineEnding"),t.consume(z),t.exit("lineEnding"),k}function k(z){return u>0&&Vt(z)?Qt(t,_,"linePrefix",u+1)(z):_(z)}function _(z){return z===null||St(z)?t.check(T0,A,F)(z):(t.enter("codeFlowValue"),j(z))}function j(z){return z===null||St(z)?(t.exit("codeFlowValue"),_(z)):(t.consume(z),j)}function F(z){return t.exit("codeFenced"),n(z)}function H(z,I,Y){let at=0;return lt;function lt($){return z.enter("lineEnding"),z.consume($),z.exit("lineEnding"),et}function et($){return z.enter("codeFencedFence"),Vt($)?Qt(z,nt,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($):nt($)}function nt($){return $===d?(z.enter("codeFencedFenceSequence"),dt($)):Y($)}function dt($){return $===d?(at++,z.consume($),dt):at>=c?(z.exit("codeFencedFenceSequence"),Vt($)?Qt(z,Z,"whitespace")($):Z($)):Y($)}function Z($){return $===null||St($)?(z.exit("codeFencedFence"),I($)):Y($)}}}function S_(t,n,r){const a=this;return l;function l(c){return c===null?r(c):(t.enter("lineEnding"),t.consume(c),t.exit("lineEnding"),u)}function u(c){return a.parser.lazy[a.now().line]?r(c):n(c)}}const Bd={name:"codeIndented",tokenize:T_},w_={partial:!0,tokenize:E_};function T_(t,n,r){const a=this;return l;function l(h){return t.enter("codeIndented"),Qt(t,u,"linePrefix",5)(h)}function u(h){const g=a.events[a.events.length-1];return g&&g[1].type==="linePrefix"&&g[2].sliceSerialize(g[1],!0).length>=4?c(h):r(h)}function c(h){return h===null?m(h):St(h)?t.attempt(w_,c,m)(h):(t.enter("codeFlowValue"),d(h))}function d(h){return h===null||St(h)?(t.exit("codeFlowValue"),c(h)):(t.consume(h),d)}function m(h){return t.exit("codeIndented"),n(h)}}function E_(t,n,r){const a=this;return l;function l(c){return a.parser.lazy[a.now().line]?r(c):St(c)?(t.enter("lineEnding"),t.consume(c),t.exit("lineEnding"),l):Qt(t,u,"linePrefix",5)(c)}function u(c){const d=a.events[a.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?n(c):St(c)?l(c):r(c)}}const A_={name:"codeText",previous:N_,resolve:C_,tokenize:k_};function C_(t){let n=t.length-4,r=3,a,l;if((t[r][1].type==="lineEnding"||t[r][1].type==="space")&&(t[n][1].type==="lineEnding"||t[n][1].type==="space")){for(a=r;++a<n;)if(t[a][1].type==="codeTextData"){t[r][1].type="codeTextPadding",t[n][1].type="codeTextPadding",r+=2,n-=2;break}}for(a=r-1,n++;++a<=n;)l===void 0?a!==n&&t[a][1].type!=="lineEnding"&&(l=a):(a===n||t[a][1].type==="lineEnding")&&(t[l][1].type="codeTextData",a!==l+2&&(t[l][1].end=t[a-1][1].end,t.splice(l+2,a-l-2),n-=a-l-2,a=l+2),l=void 0);return t}function N_(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function k_(t,n,r){let a=0,l,u;return c;function c(y){return t.enter("codeText"),t.enter("codeTextSequence"),d(y)}function d(y){return y===96?(t.consume(y),a++,d):(t.exit("codeTextSequence"),m(y))}function m(y){return y===null?r(y):y===32?(t.enter("space"),t.consume(y),t.exit("space"),m):y===96?(u=t.enter("codeTextSequence"),l=0,g(y)):St(y)?(t.enter("lineEnding"),t.consume(y),t.exit("lineEnding"),m):(t.enter("codeTextData"),h(y))}function h(y){return y===null||y===32||y===96||St(y)?(t.exit("codeTextData"),m(y)):(t.consume(y),h)}function g(y){return y===96?(t.consume(y),l++,g):l===a?(t.exit("codeTextSequence"),t.exit("codeText"),n(y)):(u.type="codeTextData",h(y))}}class M_{constructor(n){this.left=n?[...n]:[],this.right=[]}get(n){if(n<0||n>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+n+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return n<this.left.length?this.left[n]:this.right[this.right.length-n+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(n,r){const a=r??Number.POSITIVE_INFINITY;return a<this.left.length?this.left.slice(n,a):n>this.left.length?this.right.slice(this.right.length-a+this.left.length,this.right.length-n+this.left.length).reverse():this.left.slice(n).concat(this.right.slice(this.right.length-a+this.left.length).reverse())}splice(n,r,a){const l=r||0;this.setCursor(Math.trunc(n));const u=this.right.splice(this.right.length-l,Number.POSITIVE_INFINITY);return a&&Ys(this.left,a),u.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(n){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(n)}pushMany(n){this.setCursor(Number.POSITIVE_INFINITY),Ys(this.left,n)}unshift(n){this.setCursor(0),this.right.push(n)}unshiftMany(n){this.setCursor(0),Ys(this.right,n.reverse())}setCursor(n){if(!(n===this.left.length||n>this.left.length&&this.right.length===0||n<0&&this.left.length===0))if(n<this.left.length){const r=this.left.splice(n,Number.POSITIVE_INFINITY);Ys(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-n,Number.POSITIVE_INFINITY);Ys(this.left,r.reverse())}}}function Ys(t,n){let r=0;if(n.length<1e4)t.push(...n);else for(;r<n.length;)t.push(...n.slice(r,r+1e4)),r+=1e4}function DT(t){const n={};let r=-1,a,l,u,c,d,m,h;const g=new M_(t);for(;++r<g.length;){for(;r in n;)r=n[r];if(a=g.get(r),r&&a[1].type==="chunkFlow"&&g.get(r-1)[1].type==="listItemPrefix"&&(m=a[1]._tokenizer.events,u=0,u<m.length&&m[u][1].type==="lineEndingBlank"&&(u+=2),u<m.length&&m[u][1].type==="content"))for(;++u<m.length&&m[u][1].type!=="content";)m[u][1].type==="chunkText"&&(m[u][1]._isInFirstContentOfListItem=!0,u++);if(a[0]==="enter")a[1].contentType&&(Object.assign(n,O_(g,r)),r=n[r],h=!0);else if(a[1]._container){for(u=r,l=void 0;u--;)if(c=g.get(u),c[1].type==="lineEnding"||c[1].type==="lineEndingBlank")c[0]==="enter"&&(l&&(g.get(l)[1].type="lineEndingBlank"),c[1].type="lineEnding",l=u);else if(!(c[1].type==="linePrefix"||c[1].type==="listItemIndent"))break;l&&(a[1].end={...g.get(l)[1].start},d=g.slice(l,r),d.unshift(a),g.splice(l,r-l+1,d))}}return Xn(t,0,Number.POSITIVE_INFINITY,g.slice(0)),!h}function O_(t,n){const r=t.get(n)[1],a=t.get(n)[2];let l=n-1;const u=[];let c=r._tokenizer;c||(c=a.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(c._contentTypeTextTrailing=!0));const d=c.events,m=[],h={};let g,y,x=-1,S=r,E=0,A=0;const N=[A];for(;S;){for(;t.get(++l)[1]!==S;);u.push(l),S._tokenizer||(g=a.sliceStream(S),S.next||g.push(null),y&&c.defineSki
vendor: 22,782 bytes, line 48
48p(S.start),S._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=!0),c.write(g),S._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=void 0)),y=S,S=S.next}for(S=r;++x<d.length;)d[x][0]==="exit"&&d[x-1][0]==="enter"&&d[x][1].type===d[x-1][1].type&&d[x][1].start.line!==d[x][1].end.line&&(A=x+1,N.push(A),S._tokenizer=void 0,S.previous=void 0,S=S.next);for(c.events=[],S?(S._tokenizer=void 0,S.previous=void 0):N.pop(),x=N.length;x--;){const k=d.slice(N[x],N[x+1]),_=u.pop();m.push([_,_+k.length-1]),t.splice(_,2,k)}for(m.reverse(),x=-1;++x<m.length;)h[E+m[x][0]]=E+m[x][1],E+=m[x][1]-m[x][0]-1;return h}const j_={resolve:R_,tokenize:z_},D_={partial:!0,tokenize:__};function R_(t){return DT(t),t}function z_(t,n){let r;return a;function a(d){return t.enter("content"),r=t.enter("chunkContent",{contentType:"content"}),l(d)}function l(d){return d===null?u(d):St(d)?t.check(D_,c,u)(d):(t.consume(d),l)}function u(d){return t.exit("chunkContent"),t.exit("content"),n(d)}function c(d){return t.consume(d),t.exit("chunkContent"),r.next=t.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,l}}function __(t,n,r){const a=this;return l;function l(c){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(c),t.exit("lineEnding"),Qt(t,u,"linePrefix")}function u(c){if(c===null||St(c))return r(c);const d=a.events[a.events.length-1];return!a.parser.constructs.disable.null.includes("codeIndented")&&d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?n(c):t.interrupt(a.parser.constructs.flow,r,n)(c)}}function RT(t,n,r,a,l,u,c,d,m){const h=m||Number.POSITIVE_INFINITY;let g=0;return y;function y(k){return k===60?(t.enter(a),t.enter(l),t.enter(u),t.consume(k),t.exit(u),x):k===null||k===32||k===41||Rh(k)?r(k):(t.enter(a),t.enter(c),t.enter(d),t.enter("chunkString",{contentType:"string"}),A(k))}function x(k){return k===62?(t.enter(u),t.consume(k),t.exit(u),t.exit(l),t.exit(a),n):(t.enter(d),t.enter("chunkString",{contentType:"string"}),S(k))}function S(k){return k===62?(t.exit("chunkString"),t.exit(d),x(k)):k===null||k===60||St(k)?r(k):(t.consume(k),k===92?E:S)}function E(k){return k===60||k===62||k===92?(t.consume(k),S):S(k)}function A(k){return!g&&(k===null||k===41||Ie(k))?(t.exit("chunkString"),t.exit(d),t.exit(c),t.exit(a),n(k)):g<h&&k===40?(t.consume(k),g++,A):k===41?(t.consume(k),g--,A):k===null||k===32||k===40||Rh(k)?r(k):(t.consume(k),k===92?N:A)}function N(k){return k===40||k===41||k===92?(t.consume(k),A):A(k)}}function zT(t,n,r,a,l,u){const c=this;let d=0,m;return h;function h(S){return t.enter(a),t.enter(l),t.consume(S),t.exit(l),t.enter(u),g}function g(S){return d>999||S===null||S===91||S===93&&!m||S===94&&!d&&"_hiddenFootnoteSupport"in c.parser.constructs?r(S):S===93?(t.exit(u),t.enter(l),t.consume(S),t.exit(l),t.exit(a),n):St(S)?(t.enter("lineEnding"),t.consume(S),t.exit("lineEnding"),g):(t.enter("chunkString",{contentType:"string"}),y(S))}function y(S){return S===null||S===91||S===93||St(S)||d++>999?(t.exit("chunkString"),g(S)):(t.consume(S),m||(m=!Vt(S)),S===92?x:y)}function x(S){return S===91||S===92||S===93?(t.consume(S),d++,y):y(S)}}function _T(t,n,r,a,l,u){let c;return d;function d(x){return x===34||x===39||x===40?(t.enter(a),t.enter(l),t.consume(x),t.exit(l),c=x===40?41:x,m):r(x)}function m(x){return x===c?(t.enter(l),t.consume(x),t.exit(l),t.exit(a),n):(t.enter(u),h(x))}function h(x){return x===c?(t.exit(u),m(c)):x===null?r(x):St(x)?(t.enter("lineEnding"),t.consume(x),t.exit("lineEnding"),Qt(t,h,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),g(x))}function g(x){return x===c||x===null||St(x)?(t.exit("chunkString"),h(x)):(t.consume(x),x===92?y:g)}function y(x){return x===c||x===92?(t.consume(x),g):g(x)}}function $s(t,n){let r;return a;function a(l){return St(l)?(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),r=!0,a):Vt(l)?Qt(t,a,r?"linePrefix":"lineSuffix")(l):n(l)}}const L_={name:"definition",tokenize:B_},V_={partial:!0,tokenize:P_};function B_(t,n,r){const a=this;let l;return u;function u(S){return t.enter("definition"),c(S)}function c(S){return zT.call(a,t,d,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(S)}function d(S){return l=ja(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),S===58?(t.enter("definitionMarker"),t.consume(S),t.exit("definitionMarker"),m):r(S)}function m(S){return Ie(S)?$s(t,h)(S):h(S)}function h(S){return RT(t,g,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(S)}function g(S){return t.attempt(V_,y,y)(S)}function y(S){return Vt(S)?Qt(t,x,"whitespace")(S):x(S)}function x(S){return S===null||St(S)?(t.exit("definition"),a.parser.defined.push(l),n(S)):r(S)}}function P_(t,n,r){return a;function a(d){return Ie(d)?$s(t,l)(d):r(d)}function l(d){return _T(t,u,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function u(d){return Vt(d)?Qt(t,c,"whitespace")(d):c(d)}function c(d){return d===null||St(d)?n(d):r(d)}}const U_={name:"hardBreakEscape",tokenize:H_};function H_(t,n,r){return a;function a(u){return t.enter("hardBreakEscape"),t.consume(u),l}function l(u){return St(u)?(t.exit("hardBreakEscape"),n(u)):r(u)}}const q_={name:"headingAtx",resolve:F_,tokenize:Y_};function F_(t,n){let r=t.length-2,a=3,l,u;return t[a][1].type==="whitespace"&&(a+=2),r-2>a&&t[r][1].type==="whitespace"&&(r-=2),t[r][1].type==="atxHeadingSequence"&&(a===r-1||r-4>a&&t[r-2][1].type==="whitespace")&&(r-=a+1===r?2:4),r>a&&(l={type:"atxHeadingText",start:t[a][1].start,end:t[r][1].end},u={type:"chunkText",start:t[a][1].start,end:t[r][1].end,contentType:"text"},Xn(t,a,r-a+1,[["enter",l,n],["enter",u,n],["exit",u,n],["exit",l,n]])),t}function Y_(t,n,r){let a=0;return l;function l(g){return t.enter("atxHeading"),u(g)}function u(g){return t.enter("atxHeadingSequence"),c(g)}function c(g){return g===35&&a++<6?(t.consume(g),c):g===null||Ie(g)?(t.exit("atxHeadingSequence"),d(g)):r(g)}function d(g){return g===35?(t.enter("atxHeadingSequence"),m(g)):g===null||St(g)?(t.exit("atxHeading"),n(g)):Vt(g)?Qt(t,d,"whitespace")(g):(t.enter("atxHeadingText"),h(g))}function m(g){return g===35?(t.consume(g),m):(t.exit("atxHeadingSequence"),d(g))}function h(g){return g===null||g===35||Ie(g)?(t.exit("atxHeadingText"),d(g)):(t.consume(g),h)}}const I_=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],A0=["pre","script","style","textarea"],G_={concrete:!0,name:"htmlFlow",resolveTo:K_,tokenize:Z_},X_={partial:!0,tokenize:J_},Q_={partial:!0,tokenize:W_};function K_(t){let n=t.length;for(;n--&&!(t[n][0]==="enter"&&t[n][1].type==="htmlFlow"););return n>1&&t[n-2][1].type==="linePrefix"&&(t[n][1].start=t[n-2][1].start,t[n+1][1].start=t[n-2][1].start,t.splice(n-2,2)),t}function Z_(t,n,r){const a=this;let l,u,c,d,m;return h;function h(T){return g(T)}function g(T){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(T),y}function y(T){return T===33?(t.consume(T),x):T===47?(t.consume(T),u=!0,A):T===63?(t.consume(T),l=3,a.interrupt?n:M):Un(T)?(t.consume(T),c=String.fromCharCode(T),N):r(T)}function x(T){return T===45?(t.consume(T),l=2,S):T===91?(t.consume(T),l=5,d=0,E):Un(T)?(t.consume(T),l=4,a.interrupt?n:M):r(T)}function S(T){return T===45?(t.consume(T),a.interrupt?n:M):r(T)}function E(T){const it="CDATA[";return T===it.charCodeAt(d++)?(t.consume(T),d===it.length?a.interrupt?n:nt:E):r(T)}function A(T){return Un(T)?(t.consume(T),c=String.fromCharCode(T),N):r(T)}function N(T){if(T===null||T===47||T===62||Ie(T)){const it=T===47,gt=c.toLowerCase();return!it&&!u&&A0.includes(gt)?(l=1,a.interrupt?n(T):nt(T)):I_.includes(c.toLowerCase())?(l=6,it?(t.consume(T),k):a.interrupt?n(T):nt(T)):(l=7,a.interrupt&&!a.parser.lazy[a.now().line]?r(T):u?_(T):j(T))}return T===45||sn(T)?(t.consume(T),c+=String.fromCharCode(T),N):r(T)}function k(T){return T===62?(t.consume(T),a.interrupt?n:nt):r(T)}function _(T){return Vt(T)?(t.consume(T),_):lt(T)}function j(T){return T===47?(t.consume(T),lt):T===58||T===95||Un(T)?(t.consume(T),F):Vt(T)?(t.consume(T),j):lt(T)}function F(T){return T===45||T===46||T===58||T===95||sn(T)?(t.consume(T),F):H(T)}function H(T){return T===61?(t.consume(T),z):Vt(T)?(t.consume(T),H):j(T)}function z(T){return T===null||T===60||T===61||T===62||T===96?r(T):T===34||T===39?(t.consume(T),m=T,I):Vt(T)?(t.consume(T),z):Y(T)}function I(T){return T===m?(t.consume(T),m=null,at):T===null||St(T)?r(T):(t.consume(T),I)}function Y(T){return T===null||T===34||T===39||T===47||T===60||T===61||T===62||T===96||Ie(T)?H(T):(t.consume(T),Y)}function at(T){return T===47||T===62||Vt(T)?j(T):r(T)}function lt(T){return T===62?(t.consume(T),et):r(T)}function et(T){return T===null||St(T)?nt(T):Vt(T)?(t.consume(T),et):r(T)}function nt(T){return T===45&&l===2?(t.consume(T),L):T===60&&l===1?(t.consume(T),G):T===62&&l===4?(t.consume(T),D):T===63&&l===3?(t.consume(T),M):T===93&&l===5?(t.consume(T),ot):St(T)&&(l===6||l===7)?(t.exit("htmlFlowData"),t.check(X_,Q,dt)(T)):T===null||St(T)?(t.exit("htmlFlowData"),dt(T)):(t.consume(T),nt)}function dt(T){return t.check(Q_,Z,Q)(T)}function Z(T){return t.enter("lineEnding"),t.consume(T),t.exit("lineEnding"),$}function $(T){return T===null||St(T)?dt(T):(t.enter("htmlFlowData"),nt(T))}function L(T){return T===45?(t.consume(T),M):nt(T)}function G(T){return T===47?(t.consume(T),c="",B):nt(T)}function B(T){if(T===62){const it=c.toLowerCase();return A0.includes(it)?(t.consume(T),D):nt(T)}return Un(T)&&c.length<8?(t.consume(T),c+=String.fromCharCode(T),B):nt(T)}function ot(T){return T===93?(t.consume(T),M):nt(T)}function M(T){return T===62?(t.consume(T),D):T===45&&l===2?(t.consume(T),M):nt(T)}function D(T){return T===null||St(T)?(t.exit("htmlFlowData"),Q(T)):(t.consume(T),D)}function Q(T){return t.exit("htmlFlow"),n(T)}}function W_(t,n,r){const a=this;return l;function l(c){return St(c)?(t.enter("lineEnding"),t.consume(c),t.exit("lineEnding"),u):r(c)}function u(c){return a.parser.lazy[a.now().line]?r(c):n(c)}}function J_(t,n,r){return a;function a(l){return t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),t.attempt(Uu,n,r)}}const $_={name:"htmlText",tokenize:tL};function tL(t,n,r){const a=this;let l,u,c;return d;function d(M){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(M),m}function m(M){return M===33?(t.consume(M),h):M===47?(t.consume(M),H):M===63?(t.consume(M),j):Un(M)?(t.consume(M),Y):r(M)}function h(M){return M===45?(t.consume(M),g):M===91?(t.consume(M),u=0,E):Un(M)?(t.consume(M),_):r(M)}function g(M){return M===45?(t.consume(M),S):r(M)}function y(M){return M===null?r(M):M===45?(t.consume(M),x):St(M)?(c=y,G(M)):(t.consume(M),y)}function x(M){return M===45?(t.consume(M),S):y(M)}function S(M){return M===62?L(M):M===45?x(M):y(M)}function E(M){const D="CDATA[";return M===D.charCodeAt(u++)?(t.consume(M),u===D.length?A:E):r(M)}function A(M){return M===null?r(M):M===93?(t.consume(M),N):St(M)?(c=A,G(M)):(t.consume(M),A)}function N(M){return M===93?(t.consume(M),k):A(M)}function k(M){return M===62?L(M):M===93?(t.consume(M),k):A(M)}function _(M){return M===null||M===62?L(M):St(M)?(c=_,G(M)):(t.consume(M),_)}function j(M){return M===null?r(M):M===63?(t.consume(M),F):St(M)?(c=j,G(M)):(t.consume(M),j)}function F(M){return M===62?L(M):j(M)}function H(M){return Un(M)?(t.consume(M),z):r(M)}function z(M){return M===45||sn(M)?(t.consume(M),z):I(M)}function I(M){return St(M)?(c=I,G(M)):Vt(M)?(t.consume(M),I):L(M)}function Y(M){return M===45||sn(M)?(t.consume(M),Y):M===47||M===62||Ie(M)?at(M):r(M)}function at(M){return M===47?(t.consume(M),L):M===58||M===95||Un(M)?(t.consume(M),lt):St(M)?(c=at,G(M)):Vt(M)?(t.consume(M),at):L(M)}function lt(M){return M===45||M===46||M===58||M===95||sn(M)?(t.consume(M),lt):et(M)}function et(M){return M===61?(t.consume(M),nt):St(M)?(c=et,G(M)):Vt(M)?(t.consume(M),et):at(M)}function nt(M){return M===null||M===60||M===61||M===62||M===96?r(M):M===34||M===39?(t.consume(M),l=M,dt):St(M)?(c=nt,G(M)):Vt(M)?(t.consume(M),nt):(t.consume(M),Z)}function dt(M){return M===l?(t.consume(M),l=void 0,$):M===null?r(M):St(M)?(c=dt,G(M)):(t.consume(M),dt)}function Z(M){return M===null||M===34||M===39||M===60||M===61||M===96?r(M):M===47||M===62||Ie(M)?at(M):(t.consume(M),Z)}function $(M){return M===47||M===62||Ie(M)?at(M):r(M)}function L(M){return M===62?(t.consume(M),t.exit("htmlTextData"),t.exit("htmlText"),n):r(M)}function G(M){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(M),t.exit("lineEnding"),B}function B(M){return Vt(M)?Qt(t,ot,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):ot(M)}function ot(M){return t.enter("htmlTextData"),c(M)}}const Zm={name:"labelEnd",resolveAll:rL,resolveTo:aL,tokenize:sL},eL={tokenize:lL},nL={tokenize:oL},iL={tokenize:uL};function rL(t){let n=-1;const r=[];for(;++n<t.length;){const a=t[n][1];if(r.push(t[n]),a.type==="labelImage"||a.type==="labelLink"||a.type==="labelEnd"){const l=a.type==="labelImage"?4:2;a.type="data",n+=l}}return t.length!==r.length&&Xn(t,0,t.length,r),t}function aL(t,n){let r=t.length,a=0,l,u,c,d;for(;r--;)if(l=t[r][1],u){if(l.type==="link"||l.type==="labelLink"&&l._inactive)break;t[r][0]==="enter"&&l.type==="labelLink"&&(l._inactive=!0)}else if(c){if(t[r][0]==="enter"&&(l.type==="labelImage"||l.type==="labelLink")&&!l._balanced&&(u=r,l.type!=="labelLink")){a=2;break}}else l.type==="labelEnd"&&(c=r);const m={type:t[u][1].type==="labelLink"?"link":"image",start:{...t[u][1].start},end:{...t[t.length-1][1].end}},h={type:"label",start:{...t[u][1].start},end:{...t[c][1].end}},g={type:"labelText",start:{...t[u+a+2][1].end},end:{...t[c-2][1].start}};return d=[["enter",m,n],["enter",h,n]],d=bn(d,t.slice(u+1,u+a+3)),d=bn(d,[["enter",g,n]]),d=bn(d,Km(n.parser.constructs.insideSpan.null,t.slice(u+a+4,c-3),n)),d=bn(d,[["exit",g,n],t[c-2],t[c-1],["exit",h,n]]),d=bn(d,t.slice(c+1)),d=bn(d,[["exit",m,n]]),Xn(t,u,t.length,d),t}function sL(t,n,r){const a=this;let l=a.events.length,u,c;for(;l--;)if((a.events[l][1].type==="labelImage"||a.events[l][1].type==="labelLink")&&!a.events[l][1]._balanced){u=a.events[l][1];break}return d;function d(x){return u?u._inactive?y(x):(c=a.parser.defined.includes(ja(a.sliceSerialize({start:u.end,end:a.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(x),t.exit("labelMarker"),t.exit("labelEnd"),m):r(x)}function m(x){return x===40?t.attempt(eL,g,c?g:y)(x):x===91?t.attempt(nL,g,c?h:y)(x):c?g(x):y(x)}function h(x){return t.attempt(iL,g,y)(x)}function g(x){return n(x)}function y(x){return u._balanced=!0,r(x)}}function lL(t,n,r){return a;function a(y){return t.enter("resource"),t.enter("resourceMarker"),t.consume(y),t.exit("resourceMarker"),l}function l(y){return Ie(y)?$s(t,u)(y):u(y)}function u(y){return y===41?g(y):RT(t,c,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(y)}function c(y){return Ie(y)?$s(t,m)(y):g(y)}function d(y){return r(y)}function m(y){return y===34||y===39||y===40?_T(t,h,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(y):g(y)}function h(y){return Ie(y)?$s(t,g)(y):g(y)}function g(y){return y===41?(t.enter("resourceMarker"),t.consume(y),t.exit("resourceMarker"),t.exit("resource"),n):r(y)}}function oL(t,n,r){const a=this;return l;function l(d){return zT.call(a,t,u,c,"reference","referenceMarker","referenceString")(d)}function u(d){return a.parser.defined.includes(ja(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)))?n(d):r(d)}function c(d){return r(d)}}function uL(t,n,r){return a;function a(u){return t.enter("reference"),t.enter("referenceMarker"),t.consume(u),t.exit("referenceMarker"),l}function l(u){return u===93?(t.enter("referenceMarker"),t.consume(u),t.exit("referenceMarker"),t.exit("reference"),n):r(u)}}const cL={name:"labelStartImage",resolveAll:Zm.resolveAll,tokenize:fL};function fL(t,n,r){const a=this;return l;function l(d){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(d),t.exit("labelImageMarker"),u}function u(d){return d===91?(t.enter("labelMarker"),t.consume(d),t.exit("labelMarker"),t.exit("labelImage"),c):r(d)}function c(d){return d===94&&"_hiddenFootnoteSupport"in a.parser.constructs?r(d):n(d)}}const dL={name:"labelStartLink",resolveAll:Zm.resolveAll,tokenize:hL};function hL(t,n,r){const a=this;return l;function l(c){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(c),t.exit("labelMarker"),t.exit("labelLink"),u}function u(c){return c===94&&"_hiddenFootnoteSupport"in a.parser.constructs?r(c):n(c)}}const Pd={name:"lineEnding",tokenize:mL};function mL(t,n){return r;function r(a){return t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),Qt(t,n,"linePrefix")}}const su={name:"thematicBreak",tokenize:pL};function pL(t,n,r){let a=0,l;return u;function u(h){return t.enter("thematicBreak"),c(h)}function c(h){return l=h,d(h)}function d(h){return h===l?(t.enter("thematicBreakSequence"),m(h)):a>=3&&(h===null||St(h))?(t.exit("thematicBreak"),n(h)):r(h)}function m(h){return h===l?(t.consume(h),a++,m):(t.exit("thematicBreakSequence"),Vt(h)?Qt(t,d,"whitespace")(h):d(h))}}const Fe={continuation:{tokenize:xL},exit:SL,name:"list",tokenize:vL},gL={partial:!0,tokenize:wL},yL={partial:!0,tokenize:bL};function vL(t,n,r){const a=this,l=a.events[a.events.length-1];let u=l&&l[1].type==="linePrefix"?l[2].sliceSerialize(l[1],!0).length:0,c=0;return d;function d(S){const E=a.containerState.type||(S===42||S===43||S===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!a.containerState.marker||S===a.containerState.marker:zh(S)){if(a.containerState.type||(a.containerState.type=E,t.enter(E,{_container:!0})),E==="listUnordered")return t.enter("listItemPrefix"),S===42||S===45?t.check(su,r,h)(S):h(S);if(!a.interrupt||S===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),m(S)}return r(S)}function m(S){return zh(S)&&++c<10?(t.consume(S),m):(!a.interrupt||c<2)&&(a.containerState.marker?S===a.containerState.marker:S===41||S===46)?(t.exit("listItemValue"),h(S)):r(S)}function h(S){return t.enter("listItemMarker"),t.consume(S),t.exit("listItemMarker"),a.containerState.marker=a.containerState.marker||S,t.check(Uu,a.interrupt?r:g,t.attempt(gL,x,y))}function g(S){return a.containerState.initialBlankLine=!0,u++,x(S)}function y(S){return Vt(S)?(t.enter("listItemPrefixWhitespace"),t.consume(S),t.exit("listItemPrefixWhitespace"),x):r(S)}function x(S){return a.containerState.size=u+a.sliceSerialize(t.exit("listItemPrefix"),!0).length,n(S)}}function xL(t,n,r){const a=this;return a.containerState._closeFlow=void 0,t.check(Uu,l,u);function l(d){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,Qt(t,n,"listItemIndent",a.containerState.size+1)(d)}function u(d){return a.containerState.furtherBlankLines||!Vt(d)?(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,c(d)):(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,t.attempt(yL,n,c)(d))}function c(d){return a.containerState._closeFlow=!0,a.interrupt=void 0,Qt(t,t.attempt(Fe,n,r),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d)}}function bL(t,n,r){const a=this;return Qt(t,l,"listItemIndent",a.containerState.size+1);function l(u){const c=a.events[a.events.length-1];return c&&c[1].type==="listItemIndent"&&c[2].sliceSerialize(c[1],!0).length===a.containerState.size?n(u):r(u)}}function SL(t){t.exit(this.containerState.type)}function wL(t,n,r){const a=this;return Qt(t,l,"listItemPrefixWhitespace",a.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function l(u){const c=a.events[a.events.length-1];return!Vt(u)&&c&&c[1].type==="listItemPrefixWhitespace"?n(u):r(u)}}const C0={name:"setextUnderline",resolveTo:TL,tokenize:EL};function TL(t,n){let r=t.length,a,l,u;for(;r--;)if(t[r][0]==="enter"){if(t[r][1].type==="content"){a=r;break}t[r][1].type==="paragraph"&&(l=r)}else t[r][1].type==="content"&&t.splice(r,1),!u&&t[r][1].type==="definition"&&(u=r);const c={type:"setextHeading",start:{...t[a][1].start},end:{...t[t.length-1][1].end}};return t[l][1].type="setextHeadingText",u?(t.splice(l,0,["enter",c,n]),t.splice(u+1,0,["exit",t[a][1],n]),t[a][1].end={...t[u][1].end}):t[a][1]=c,t.push(["exit",c,n]),t}function EL(t,n,r){const a=this;let l;return u;function u(h){let g=a.events.length,y;for(;g--;)if(a.events[g][1].type!=="lineEnding"&&a.events[g][1].type!=="linePrefix"&&a.events[g][1].type!=="content"){y=a.events[g][1].type==="paragraph";break}return!a.parser.lazy[a.now().line]&&(a.interrupt||y)?(t.enter("setextHeadingLine"),l=h,c(h)):r(h)}function c(h){return t.enter("setextHeadingLineSequence"),d(h)}function d(h){return h===l?(t.consume(h),d):(t.exit("setextHeadingLineSequence"),Vt(h)?Qt(t,m,"lineSuffix")(h):m(h))}function m(h){return h===null||St(h)?(t.exit("setextHeadingLine"),n(h)):r(h)}}const AL={tokenize:CL};function CL(t){const n=this,r=t.attempt(Uu,a,t.attempt(this.parser.constructs.flowInitial,l,Qt(t,t.attempt(this.parser.constructs.flow,l,t.attempt(j_,l)),"linePrefix")));return r;function a(u){if(u===null){t.consume(u);return}return t.enter("lineEndingBlank"),t.consume(u),t.exit("lineEndingBlank"),n.currentConstruct=void 0,r}function l(u){if(u===null){t.consume(u);return}return t.enter("lineEnding"),t.consume(u),t.exit("lineEnding"),n.currentConstruct=void 0,r}}const NL={resolveAll:VT()},kL=LT("string"),ML=LT("text");function LT(t){return{resolveAll:VT(t==="text"?OL:void 0),tokenize:n};function n(r){const a=this,l=this.parser.constructs[t],u=r.attempt(l,c,d);return c;function c(g){return h(g)?u(g):d(g)}function d(g){if(g===null){r.consume(g);return}return r.enter("data"),r.consume(g),m}function m(g){return h(g)?(r.exit("data"),u(g)):(r.consume(g),m)}function h(g){if(g===null)return!0;const y=l[g];let x=-1;if(y)for(;++x<y.length;){const S=y[x];if(!S.previous||S.previous.call(a,a.previous))return!0}return!1}}}function VT(t){return n;function n(r,a){let l=-1,u;for(;++l<=r.length;)u===void 0?r[l]&&r[l][1].type==="data"&&(u=l,l++):(!r[l]||r[l][1].type!=="data")&&(l!==u+2&&(r[u][1].end=r[l-1][1].end,r.splice(u+2,l-u-2),l=u+2),u=void 0);return t?t(r,a):r}}function OL(t,n){let r=0;for(;++r<=t.length;)if((r===t.length||t[r][1].type==="lineEnding")&&t[r-1][1].type==="data"){const a=t[r-1][1],l=n.sliceStream(a);let u=l.length,c=-1,d=0,m;
vendor: 5,823 bytes, lines 48-50
48for(;u--;){const h=l[u];if(typeof h=="string"){for(c=h.length;h.charCodeAt(c-1)===32;)d++,c--;if(c)break;c=-1}else if(h===-2)m=!0,d++;else if(h!==-1){u++;break}}if(n._contentTypeTextTrailing&&r===t.length&&(d=0),d){const h={type:r===t.length||m||d<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:u?c:a.start._bufferIndex+c,_index:a.start._index+u,line:a.end.line,column:a.end.column-d,offset:a.end.offset-d},end:{...a.end}};a.end={...h.start},a.start.offset===a.end.offset?Object.assign(a,h):(t.splice(r,0,["enter",h,n],["exit",h,n]),r+=2)}r++}return t}const jL={42:Fe,43:Fe,45:Fe,48:Fe,49:Fe,50:Fe,51:Fe,52:Fe,53:Fe,54:Fe,55:Fe,56:Fe,57:Fe,62:MT},DL={91:L_},RL={[-2]:Bd,[-1]:Bd,32:Bd},zL={35:q_,42:su,45:[C0,su],60:G_,61:C0,95:su,96:E0,126:E0},_L={38:jT,92:OT},LL={[-5]:Pd,[-4]:Pd,[-3]:Pd,33:cL,38:jT,42:_h,60:[d_,$_],91:dL,92:[U_,OT],93:Zm,95:_h,96:A_},VL={null:[_h,NL]},BL={null:[42,95]},PL={null:[]},UL=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:BL,contentInitial:DL,disable:PL,document:jL,flow:zL,flowInitial:RL,insideSpan:VL,string:_L,text:LL},Symbol.toStringTag,{value:"Module"}));function HL(t,n,r){let a={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const l={},u=[];let c=[],d=[];const m={attempt:I(H),check:I(z),consume:_,enter:j,exit:F,interrupt:I(z,{interrupt:!0})},h={code:null,containerState:{},defineSkip:A,events:[],now:E,parser:t,previous:null,sliceSerialize:x,sliceStream:S,write:y};let g=n.tokenize.call(h,m);return n.resolveAll&&u.push(n),h;function y(et){return c=bn(c,et),N(),c[c.length-1]!==null?[]:(Y(n,0),h.events=Km(u,h.events,h),h.events)}function x(et,nt){return FL(S(et),nt)}function S(et){return qL(c,et)}function E(){const{_bufferIndex:et,_index:nt,line:dt,column:Z,offset:$}=a;return{_bufferIndex:et,_index:nt,line:dt,column:Z,offset:$}}function A(et){l[et.line]=et.column,lt()}function N(){let et;for(;a._index<c.length;){const nt=c[a._index];if(typeof nt=="string")for(et=a._index,a._bufferIndex<0&&(a._bufferIndex=0);a._index===et&&a._bufferIndex<nt.length;)k(nt.charCodeAt(a._bufferIndex));else k(nt)}}function k(et){g=g(et)}function _(et){St(et)?(a.line++,a.column=1,a.offset+=et===-3?2:1,lt()):et!==-1&&(a.column++,a.offset++),a._bufferIndex<0?a._index++:(a._bufferIndex++,a._bufferIndex===c[a._index].length&&(a._bufferIndex=-1,a._index++)),h.previous=et}function j(et,nt){const dt=nt||{};return dt.type=et,dt.start=E(),h.events.push(["enter",dt,h]),d.push(dt),dt}function F(et){const nt=d.pop();return nt.end=E(),h.events.push(["exit",nt,h]),nt}function H(et,nt){Y(et,nt.from)}function z(et,nt){nt.restore()}function I(et,nt){return dt;function dt(Z,$,L){let G,B,ot,M;return Array.isArray(Z)?Q(Z):"tokenize"in Z?Q([Z]):D(Z);function D(pt){return ht;function ht(Bt){const Dt=Bt!==null&&pt[Bt],de=Bt!==null&&pt.null,Me=[...Array.isArray(Dt)?Dt:Dt?[Dt]:[],...Array.isArray(de)?de:de?[de]:[]];return Q(Me)(Bt)}}function Q(pt){return G=pt,B=0,pt.length===0?L:T(pt[B])}function T(pt){return ht;function ht(Bt){return M=at(),ot=pt,pt.partial||(h.currentConstruct=pt),pt.name&&h.parser.constructs.disable.null.includes(pt.name)?gt():pt.tokenize.call(nt?Object.assign(Object.create(h),nt):h,m,it,gt)(Bt)}}function it(pt){return et(ot,M),$}function gt(pt){return M.restore(),++B<G.length?T(G[B]):L}}}function Y(et,nt){et.resolveAll&&!u.includes(et)&&u.push(et),et.resolve&&Xn(h.events,nt,h.events.length-nt,et.resolve(h.events.slice(nt),h)),et.resolveTo&&(h.events=et.resolveTo(h.events,h))}function at(){const et=E(),nt=h.previous,dt=h.currentConstruct,Z=h.events.length,$=Array.from(d);return{from:Z,restore:L};function L(){a=et,h.previous=nt,h.currentConstruct=dt,h.events.length=Z,d=$,lt()}}function lt(){a.line in l&&a.column<2&&(a.column=l[a.line],a.offset+=l[a.line]-1)}}function qL(t,n){const r=n.start._index,a=n.start._bufferIndex,l=n.end._index,u=n.end._bufferIndex;let c;if(r===l)c=[t[r].slice(a,u)];else{if(c=t.slice(r,l),a>-1){const d=c[0];typeof d=="string"?c[0]=d.slice(a):c.shift()}u>0&&c.push(t[l].slice(0,u))}return c}function FL(t,n){let r=-1;const a=[];let l;for(;++r<t.length;){const u=t[r];let c;if(typeof u=="string")c=u;else switch(u){case-5:{c="\r";break}case-4:{c=`
49`;break}case-3:{c=`\r
50`;break}case-2:{c=n?" ":"	";break}case-1:{if(!n&&l)continue;c=" ";break}default:c=String.fromCharCode(u)}l=u===-2,a.push(c)}return a.join("")}function YL(t){const a={constructs:W3([UL,...(t||{}).extensions||[]]),content:l(a_),defined:[],document:l(l_),flow:l(AL),lazy:{},string:l(kL),text:l(ML)};return a;function l(u){return c;function c(d){return HL(a,u,d)}}}function IL(t){for(;!DT(t););return t}const N0=/[\0\t\n\r]/g;function GL(){let t=1,n="",r=!0,a;return l;function l(u,c,d){const m=[];let h,g,y,x,S;for(u=n+(typeof u=="string"?u.toString():new TextDecoder(c||void 0).decode(u)),y=0,n="",r&&(u.charCodeAt(0)===65279&&y++,r=void 0);y<u.length;){if(N0.lastIndex=y,h=N0.exec(u),x=h&&h.index!==void 0?h.index:u.length,S=u.charCodeAt(x),!h){n=u.slice(y);break}if(S===10&&y===x&&a)m.push(-3),a=void 0;else switch(a&&(m.push(-5),a=void 0),y<x&&(m.push(u.slice(y,x)),t+=x-y),S){case 0:{m.push(65533),t++;break}case 9:{for(g=Math.ceil(t/4)*4,m.push(-2);t++<g;)m.push(-1);break}case 10:{m.push(-4),t=1;break}default:a=!0,t=1}y=x+1}return d&&(a&&m.push(-5),n&&m.push(n),m.push(null)),m}}const XL=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function QL(t){return t.replace(XL,KL)}function KL(t,n,r){if(n)return n;if(r.charCodeAt(0)===35){const l=r.charCodeAt(1),u=l===120||l===88;return kT(r.slice(u?2:1),u?16:10)}return Qm(r)||t}const BT={}.hasOwnProperty;function ZL(t,n,r){return n&&typeof n=="object"&&(r=n,n=void 0),WL(r)(IL(YL(r).document().write(GL()(t,n,!0))))}function WL(t){const n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter
vendor: 10,180 bytes, line 50
50:{autolink:u(_r),autolinkProtocol:at,autolinkEmail:at,atxHeading:u(Rr),blockQuote:u(de),characterEscape:at,characterReference:at,codeFenced:u(Me),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:u(Me,c),codeText:u(on,c),codeTextData:at,data:at,codeFlowValue:at,definition:u(Kn),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:u(Zn),hardBreakEscape:u(zr),hardBreakTrailing:u(zr),htmlFlow:u(wl,c),htmlFlowData:at,htmlText:u(wl,c),htmlTextData:at,image:u(Tl),label:c,link:u(_r),listItem:u(Ga),listItemValue:x,listOrdered:u(Lr,y),listUnordered:u(Lr),paragraph:u(Fu),reference:T,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:u(Rr),strong:u(Yu),thematicBreak:u(Iu)},exit:{atxHeading:m(),atxHeadingSequence:H,autolink:m(),autolinkEmail:Dt,autolinkProtocol:Bt,blockQuote:m(),characterEscapeValue:lt,characterReferenceMarkerHexadecimal:gt,characterReferenceMarkerNumeric:gt,characterReferenceValue:pt,characterReference:ht,codeFenced:m(N),codeFencedFence:A,codeFencedFenceInfo:S,codeFencedFenceMeta:E,codeFlowValue:lt,codeIndented:m(k),codeText:m($),codeTextData:lt,data:lt,definition:m(),definitionDestinationString:F,definitionLabelString:_,definitionTitleString:j,emphasis:m(),hardBreakEscape:m(nt),hardBreakTrailing:m(nt),htmlFlow:m(dt),htmlFlowData:lt,htmlText:m(Z),htmlTextData:lt,image:m(G),label:ot,labelText:B,lineEnding:et,link:m(L),listItem:m(),listOrdered:m(),listUnordered:m(),paragraph:m(),referenceString:it,resourceDestinationString:M,resourceTitleString:D,resource:Q,setextHeading:m(Y),setextHeadingLineSequence:I,setextHeadingText:z,strong:m(),thematicBreak:m()}};PT(n,(t||{}).mdastExtensions||[]);const r={};return a;function a(W){let st={type:"root",children:[]};const xt={stack:[st],tokenStack:[],config:n,enter:d,exit:h,buffer:c,resume:g,data:r},Nt=[];let Pt=-1;for(;++Pt<W.length;)if(W[Pt][1].type==="listOrdered"||W[Pt][1].type==="listUnordered")if(W[Pt][0]==="enter")Nt.push(Pt);else{const Ke=Nt.pop();Pt=l(W,Ke,Pt)}for(Pt=-1;++Pt<W.length;){const Ke=n[W[Pt][0]];BT.call(Ke,W[Pt][1].type)&&Ke[W[Pt][1].type].call(Object.assign({sliceSerialize:W[Pt][2].sliceSerialize},xt),W[Pt][1])}if(xt.tokenStack.length>0){const Ke=xt.tokenStack[xt.tokenStack.length-1];(Ke[1]||k0).call(xt,void 0,Ke[0])}for(st.position={start:Qi(W.length>0?W[0][1].start:{line:1,column:1,offset:0}),end:Qi(W.length>0?W[W.length-2][1].end:{line:1,column:1,offset:0})},Pt=-1;++Pt<n.transforms.length;)st=n.transforms[Pt](st)||st;return st}function l(W,st,xt){let Nt=st-1,Pt=-1,Ke=!1,Wn,je,he,_e;for(;++Nt<=xt;){const It=W[Nt];switch(It[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{It[0]==="enter"?Pt++:Pt--,_e=void 0;break}case"lineEndingBlank":{It[0]==="enter"&&(Wn&&!_e&&!Pt&&!he&&(he=Nt),_e=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:_e=void 0}if(!Pt&&It[0]==="enter"&&It[1].type==="listItemPrefix"||Pt===-1&&It[0]==="exit"&&(It[1].type==="listUnordered"||It[1].type==="listOrdered")){if(Wn){let wi=Nt;for(je=void 0;wi--;){const En=W[wi];if(En[1].type==="lineEnding"||En[1].type==="lineEndingBlank"){if(En[0]==="exit")continue;je&&(W[je][1].type="lineEndingBlank",Ke=!0),En[1].type="lineEnding",je=wi}else if(!(En[1].type==="linePrefix"||En[1].type==="blockQuotePrefix"||En[1].type==="blockQuotePrefixWhitespace"||En[1].type==="blockQuoteMarker"||En[1].type==="listItemIndent"))break}he&&(!je||he<je)&&(Wn._spread=!0),Wn.end=Object.assign({},je?W[je][1].start:It[1].end),W.splice(je||Nt,0,["exit",Wn,It[2]]),Nt++,xt++}if(It[1].type==="listItemPrefix"){const wi={type:"listItem",_spread:!1,start:Object.assign({},It[1].start),end:void 0};Wn=wi,W.splice(Nt,0,["enter",wi,It[2]]),Nt++,xt++,he=void 0,_e=!0}}}return W[st][1]._spread=Ke,xt}function u(W,st){return xt;function xt(Nt){d.call(this,W(Nt),Nt),st&&st.call(this,Nt)}}function c(){this.stack.push({type:"fragment",children:[]})}function d(W,st,xt){this.stack[this.stack.length-1].children.push(W),this.stack.push(W),this.tokenStack.push([st,xt||void 0]),W.position={start:Qi(st.start),end:void 0}}function m(W){return st;function st(xt){W&&W.call(this,xt),h.call(this,xt)}}function h(W,st){const xt=this.stack.pop(),Nt=this.tokenStack.pop();if(Nt)Nt[0].type!==W.type&&(st?st.call(this,W,Nt[0]):(Nt[1]||k0).call(this,W,Nt[0]));else throw new Error("Cannot close `"+W.type+"` ("+Js({start:W.start,end:W.end})+"): it’s not open");xt.position.end=Qi(W.end)}function g(){return K3(this.stack.pop())}function y(){this.data.expectingFirstListItemValue=!0}function x(W){if(this.data.expectingFirstListItemValue){const st=this.stack[this.stack.length-2];st.start=Number.parseInt(this.sliceSerialize(W),10),this.data.expectingFirstListItemValue=void 0}}function S(){const W=this.resume(),st=this.stack[this.stack.length-1];st.lang=W}function E(){const W=this.resume(),st=this.stack[this.stack.length-1];st.meta=W}function A(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function N(){const W=this.resume(),st=this.stack[this.stack.length-1];st.value=W.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function k(){const W=this.resume(),st=this.stack[this.stack.length-1];st.value=W.replace(/(\r?\n|\r)$/g,"")}function _(W){const st=this.resume(),xt=this.stack[this.stack.length-1];xt.label=st,xt.identifier=ja(this.sliceSerialize(W)).toLowerCase()}function j(){const W=this.resume(),st=this.stack[this.stack.length-1];st.title=W}function F(){const W=this.resume(),st=this.stack[this.stack.length-1];st.url=W}function H(W){const st=this.stack[this.stack.length-1];if(!st.depth){const xt=this.sliceSerialize(W).length;st.depth=xt}}function z(){this.data.setextHeadingSlurpLineEnding=!0}function I(W){const st=this.stack[this.stack.length-1];st.depth=this.sliceSerialize(W).codePointAt(0)===61?1:2}function Y(){this.data.setextHeadingSlurpLineEnding=void 0}function at(W){const xt=this.stack[this.stack.length-1].children;let Nt=xt[xt.length-1];(!Nt||Nt.type!=="text")&&(Nt=Oe(),Nt.position={start:Qi(W.start),end:void 0},xt.push(Nt)),this.stack.push(Nt)}function lt(W){const st=this.stack.pop();st.value+=this.sliceSerialize(W),st.position.end=Qi(W.end)}function et(W){const st=this.stack[this.stack.length-1];if(this.data.atHardBreak){const xt=st.children[st.children.length-1];xt.position.end=Qi(W.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&n.canContainEols.includes(st.type)&&(at.call(this,W),lt.call(this,W))}function nt(){this.data.atHardBreak=!0}function dt(){const W=this.resume(),st=this.stack[this.stack.length-1];st.value=W}function Z(){const W=this.resume(),st=this.stack[this.stack.length-1];st.value=W}function $(){const W=this.resume(),st=this.stack[this.stack.length-1];st.value=W}function L(){const W=this.stack[this.stack.length-1];if(this.data.inReference){const st=this.data.referenceType||"shortcut";W.type+="Reference",W.referenceType=st,delete W.url,delete W.title}else delete W.identifier,delete W.label;this.data.referenceType=void 0}function G(){const W=this.stack[this.stack.length-1];if(this.data.inReference){const st=this.data.referenceType||"shortcut";W.type+="Reference",W.referenceType=st,delete W.url,delete W.title}else delete W.identifier,delete W.label;this.data.referenceType=void 0}function B(W){const st=this.sliceSerialize(W),xt=this.stack[this.stack.length-2];xt.label=QL(st),xt.identifier=ja(st).toLowerCase()}function ot(){const W=this.stack[this.stack.length-1],st=this.resume(),xt=this.stack[this.stack.length-1];if(this.data.inReference=!0,xt.type==="link"){const Nt=W.children;xt.children=Nt}else xt.alt=st}function M(){const W=this.resume(),st=this.stack[this.stack.length-1];st.url=W}function D(){const W=this.resume(),st=this.stack[this.stack.length-1];st.title=W}function Q(){this.data.inReference=void 0}function T(){this.data.referenceType="collapsed"}function it(W){const st=this.resume(),xt=this.stack[this.stack.length-1];xt.label=st,xt.identifier=ja(this.sliceSerialize(W)).toLowerCase(),this.data.referenceType="full"}function gt(W){this.data.characterReferenceType=W.type}function pt(W){const st=this.sliceSerialize(W),xt=this.data.characterReferenceType;let Nt;xt?(Nt=kT(st,xt==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Nt=Qm(st);const Pt=this.stack[this.stack.length-1];Pt.value+=Nt}function ht(W){const st=this.stack.pop();st.position.end=Qi(W.end)}function Bt(W){lt.call(this,W);const st=this.stack[this.stack.length-1];st.url=this.sliceSerialize(W)}function Dt(W){lt.call(this,W);const st=this.stack[this.stack.length-1];st.url="mailto:"+this.sliceSerialize(W)}function de(){return{type:"blockquote",children:[]}}function Me(){return{type:"code",lang:null,meta:null,value:""}}function on(){return{type:"inlineCode",value:""}}function Kn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Zn(){return{type:"emphasis",children:[]}}function Rr(){return{type:"heading",depth:0,children:[]}}function zr(){return{type:"break"}}function wl(){return{type:"html",value:""}}function Tl(){return{type:"image",title:null,url:"",alt:null}}function _r(){return{type:"link",title:null,url:"",children:[]}}function Lr(W){return{type:"list",ordered:W.type==="listOrdered",start:null,spread:W._spread,children:[]}}function Ga(W){return{type:"listItem",spread:W._spread,checked:null,children:[]}}function Fu(){return{type:"paragraph",children:[]}}function Yu(){return{type:"strong",children:[]}}function Oe(){return{type:"text",value:""}}function Iu(){return{type:"thematicBreak"}}}function Qi(t){return{line:t.line,column:t.column,offset:t.offset}}function PT(t,n){let r=-1;for(;++r<n.length;){const a=n[r];Array.isArray(a)?PT(t,a):JL(t,a)}}function JL(t,n){let r;for(r in n)if(BT.call(n,r))switch(r){case"canContainEols":{const a=n[r];a&&t[r].push(...a);break}case"transforms":{const a=n[r];a&&t[r].push(...a);break}case"enter":case"exit":{const a=n[r];a&&Object.assign(t[r],a);break}}}function k0(t,n){throw t?new Error("Cannot close `"+t.type+"` ("+Js({start:t.start,end:t.end})+"): a different token (`"+n.type+"`, "+Js({start:n.start,end:n.end}
vendor: 5,598 bytes, lines 50-54
50)+") is open"):new Error("Cannot close document, a token (`"+n.type+"`, "+Js({start:n.start,end:n.end})+") is still open")}function $L(t){const n=this;n.parser=r;function r(a){return ZL(a,{...n.data("settings"),...t,extensions:n.data("micromarkExtensions")||[],mdastExtensions:n.data("fromMarkdownExtensions")||[]})}}function t6(t,n){const r={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(n),!0)};return t.patch(n,r),t.applyData(n,r)}function e6(t,n){const r={type:"element",tagName:"br",properties:{},children:[]};return t.patch(n,r),[t.applyData(n,r),{type:"text",value:`
51`}]}function n6(t,n){const r=n.value?n.value+`
52`:"",a={},l=n.lang?n.lang.split(/\s+/):[];l.length>0&&(a.className=["language-"+l[0]]);let u={type:"element",tagName:"code",properties:a,children:[{type:"text",value:r}]};return n.meta&&(u.data={meta:n.meta}),t.patch(n,u),u=t.applyData(n,u),u={type:"element",tagName:"pre",properties:{},children:[u]},t.patch(n,u),u}function i6(t,n){const r={type:"element",tagName:"del",properties:{},children:t.all(n)};return t.patch(n,r),t.applyData(n,r)}function r6(t,n){const r={type:"element",tagName:"em",properties:{},children:t.all(n)};return t.patch(n,r),t.applyData(n,r)}function a6(t,n){const r=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",a=String(n.identifier).toUpperCase(),l=Ia(a.toLowerCase()),u=t.footnoteOrder.indexOf(a);let c,d=t.footnoteCounts.get(a);d===void 0?(d=0,t.footnoteOrder.push(a),c=t.footnoteOrder.length):c=u+1,d+=1,t.footnoteCounts.set(a,d);const m={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+l,id:r+"fnref-"+l+(d>1?"-"+d:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(c)}]};t.patch(n,m);const h={type:"element",tagName:"sup",properties:{},children:[m]};return t.patch(n,h),t.applyData(n,h)}function s6(t,n){const r={type:"element",tagName:"h"+n.depth,properties:{},children:t.all(n)};return t.patch(n,r),t.applyData(n,r)}function l6(t,n){if(t.options.allowDangerousHtml){const r={type:"raw",value:n.value};return t.patch(n,r),t.applyData(n,r)}}function UT(t,n){const r=n.referenceType;let a="]";if(r==="collapsed"?a+="[]":r==="full"&&(a+="["+(n.label||n.identifier)+"]"),n.type==="imageReference")return[{type:"text",value:"!["+n.alt+a}];const l=t.all(n),u=l[0];u&&u.type==="text"?u.value="["+u.value:l.unshift({type:"text",value:"["});const c=l[l.length-1];return c&&c.type==="text"?c.value+=a:l.push({type:"text",value:a}),l}function o6(t,n){const r=String(n.identifier).toUpperCase(),a=t.definitionById.get(r);if(!a)return UT(t,n);const l={src:Ia(a.url||""),alt:n.alt};a.title!==null&&a.title!==void 0&&(l.title=a.title);const u={type:"element",tagName:"img",properties:l,children:[]};return t.patch(n,u),t.applyData(n,u)}function u6(t,n){const r={src:Ia(n.url)};n.alt!==null&&n.alt!==void 0&&(r.alt=n.alt),n.title!==null&&n.title!==void 0&&(r.title=n.title);const a={type:"element",tagName:"img",properties:r,children:[]};return t.patch(n,a),t.applyData(n,a)}function c6(t,n){const r={type:"text",value:n.value.replace(/\r?\n|\r/g," ")};t.patch(n,r);const a={type:"element",tagName:"code",properties:{},children:[r]};return t.patch(n,a),t.applyData(n,a)}function f6(t,n){const r=String(n.identifier).toUpperCase(),a=t.definitionById.get(r);if(!a)return UT(t,n);const l={href:Ia(a.url||"")};a.title!==null&&a.title!==void 0&&(l.title=a.title);const u={type:"element",tagName:"a",properties:l,children:t.all(n)};return t.patch(n,u),t.applyData(n,u)}function d6(t,n){const r={href:Ia(n.url)};n.title!==null&&n.title!==void 0&&(r.title=n.title);const a={type:"element",tagName:"a",properties:r,children:t.all(n)};return t.patch(n,a),t.applyData(n,a)}function h6(t,n,r){const a=t.all(n),l=r?m6(r):HT(n),u={},c=[];if(typeof n.checked=="boolean"){const g=a[0];let y;g&&g.type==="element"&&g.tagName==="p"?y=g:(y={type:"element",tagName:"p",properties:{},children:[]},a.unshift(y)),y.children.length>0&&y.children.unshift({type:"text",value:" "}),y.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:n.checked,disabled:!0},children:[]}),u.className=["task-list-item"]}let d=-1;for(;++d<a.length;){const g=a[d];(l||d!==0||g.type!=="element"||g.tagName!=="p")&&c.push({type:"text",value:`
53`}),g.type==="element"&&g.tagName==="p"&&!l?c.push(...g.children):c.push(g)}const m=a[a.length-1];m&&(l||m.type!=="element"||m.tagName!=="p")&&c.push({type:"text",value:`
54`});const h={type:"element",tagName:"li",properties:u,children:c};return t.patch(n,h),t.applyData(n,h)}function m6(t){let n=!1;if(t.type==="list"){n=t.spread||!1;const r=t.children;let a=-1;for(;!n&&++a<r.length;)n=HT(r[a])}return n}function HT(t){const n=t.spread;return n??t.children.length>1}function p6(t,n){const r={},a=t.all(n);let l=-1;for(typeof n.start=="number"&&n.start!==1&&(r.start=n.start);++l<a.length;){const c=a[l];if(c.type==="element"&&c.tagName==="li"&&c.properties&&Array.isArray(c.properties.className)&&c.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const u={type:"element",tagName:n.ordered?"ol":"ul",properties:r,children:t.wrap(a,!0)};return t.patch(n,u),t.applyData(n,u)}function g6(t,n){const r={type:"element",tagName:"p",properties:{},children:t.all(n)};return t.patch(n,r),t.applyData(n,r)}function y6(t,n){const r={type:"root",children:t.wrap(t.all(n))};return t.patch(n,r),t.applyData(n,r)}function v6(t,n){const r={type:"element",tagName:"strong",properties:{},children:t.all(n)};return t.patch(n,r),t.applyData(n,r)}function x6(t,n){const r=t.all(n),a=r.shift(),l=[];
vendor: 4,171 bytes, line 54
54if(a){const c={type:"element",tagName:"thead",properties:{},children:t.wrap([a],!0)};t.patch(n.children[0],c),l.push(c)}if(r.length>0){const c={type:"element",tagName:"tbody",properties:{},children:t.wrap(r,!0)},d=Ym(n.children[1]),m=ST(n.children[n.children.length-1]);d&&m&&(c.position={start:d,end:m}),l.push(c)}const u={type:"element",tagName:"table",properties:{},children:t.wrap(l,!0)};return t.patch(n,u),t.applyData(n,u)}function b6(t,n,r){const a=r?r.children:void 0,u=(a?a.indexOf(n):1)===0?"th":"td",c=r&&r.type==="table"?r.align:void 0,d=c?c.length:n.children.length;let m=-1;const h=[];for(;++m<d;){const y=n.children[m],x={},S=c?c[m]:void 0;S&&(x.align=S);let E={type:"element",tagName:u,properties:x,children:[]};y&&(E.children=t.all(y),t.patch(y,E),E=t.applyData(y,E)),h.push(E)}const g={type:"element",tagName:"tr",properties:{},children:t.wrap(h,!0)};return t.patch(n,g),t.applyData(n,g)}function S6(t,n){const r={type:"element",tagName:"td",properties:{},children:t.all(n)};return t.patch(n,r),t.applyData(n,r)}const M0=9,O0=32;function w6(t){const n=String(t),r=/\r?\n|\r/g;let a=r.exec(n),l=0;const u=[];for(;a;)u.push(j0(n.slice(l,a.index),l>0,!0),a[0]),l=a.index+a[0].length,a=r.exec(n);return u.push(j0(n.slice(l),l>0,!1)),u.join("")}function j0(t,n,r){let a=0,l=t.length;if(n){let u=t.codePointAt(a);for(;u===M0||u===O0;)a++,u=t.codePointAt(a)}if(r){let u=t.codePointAt(l-1);for(;u===M0||u===O0;)l--,u=t.codePointAt(l-1)}return l>a?t.slice(a,l):""}function T6(t,n){const r={type:"text",value:w6(String(n.value))};return t.patch(n,r),t.applyData(n,r)}function E6(t,n){const r={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(n,r),t.applyData(n,r)}const A6={blockquote:t6,break:e6,code:n6,delete:i6,emphasis:r6,footnoteReference:a6,heading:s6,html:l6,imageReference:o6,image:u6,inlineCode:c6,linkReference:f6,link:d6,listItem:h6,list:p6,paragraph:g6,root:y6,strong:v6,table:x6,tableCell:S6,tableRow:b6,text:T6,thematicBreak:E6,toml:Zo,yaml:Zo,definition:Zo,footnoteDefinition:Zo};function Zo(){}const qT=-1,Hu=0,tl=1,bu=2,Wm=3,Jm=4,$m=5,tp=6,FT=7,YT=8,C6=typeof self=="object"?self:globalThis,D0=(t,n)=>{switch(t){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+t)}return new C6[t](n)},N6=(t,n)=>{const r=(l,u)=>(t.set(u,l),l),a=l=>{if(t.has(l))return t.get(l);const[u,c]=n[l];switch(u){case Hu:case qT:return r(c,l);case tl:{const d=r([],l);for(const m of c)d.push(a(m));return d}case bu:{const d=r({},l);for(const[m,h]of c)d[a(m)]=a(h);return d}case Wm:return r(new Date(c),l);case Jm:{const{source:d,flags:m}=c;return r(new RegExp(d,m),l)}case $m:{const d=r(new Map,l);for(const[m,h]of c)d.set(a(m),a(h));return d}case tp:{const d=r(new Set,l);for(const m of c)d.add(a(m));return d}case FT:{const{name:d,message:m}=c;return r(D0(d,m),l)}case YT:return r(BigInt(c),l);case"BigInt":return r(Object(BigInt(c)),l);case"ArrayBuffer":return r(new Uint8Array(c).buffer,c);case"DataView":{const{buffer:d}=new Uint8Array(c);return r(new DataView(d),c)}}return r(D0(u,c),l)};return a},R0=t=>N6(new Map,t)(0),Ta="",{toString:k6}={},{keys:M6}=Object,Is=t=>{const n=typeof t;if(n!=="object"||!t)return[Hu,n];const r=k6.call(t).slice(8,-1);switch(r){case"Array":return[tl,Ta];case"Object":return[bu,Ta];case"Date":return[Wm,Ta];case"RegExp":return[Jm,Ta];case"Map":return[$m,Ta];case"Set":return[tp,Ta];case"DataView":return[tl,r]}return r.includes("Array")?[tl,r]:r.includes("Error")?[FT,r]:[bu,r]},Wo=([t,n])=>t===Hu&&(n==="function"||n==="symbol"),O6=(t,n,r,a)=>{const l=(c,d)=>{const m=a.push(c)-1;return r.set(d,m),m},u=c=>{if(r.has(c))return r.get(c);let[d,m]=Is(c);switch(d){case Hu:{let g=c;switch(m){case"bigint":d=YT,g=c.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+m);g=null;break;case"undefined":return l([qT],c)}return l([d,g],c)}case tl:{if(m){let x=c;return m==="DataView"?x=new Uint8Array(c.buffer):m==="ArrayBuffer"&&(x=new Uint8Array(c)),l([m,[...x]],c)}const g=[],y=l([d,g],c);for(const x of c)g.push(u(x));return y}case bu:{if(m)switch(m){case"BigInt":return l([m,c.toString()],c
vendor: 5,643 bytes, lines 54-56
54);case"Boolean":case"Number":case"String":return l([m,c.valueOf()],c)}if(n&&"toJSON"in c)return u(c.toJSON());const g=[],y=l([d,g],c);for(const x of M6(c))(t||!Wo(Is(c[x])))&&g.push([u(x),u(c[x])]);return y}case Wm:return l([d,c.toISOString()],c);case Jm:{const{source:g,flags:y}=c;return l([d,{source:g,flags:y}],c)}case $m:{const g=[],y=l([d,g],c);for(const[x,S]of c)(t||!(Wo(Is(x))||Wo(Is(S))))&&g.push([u(x),u(S)]);return y}case tp:{const g=[],y=l([d,g],c);for(const x of c)(t||!Wo(Is(x)))&&g.push(u(x));return y}}const{message:h}=c;return l([d,{name:m,message:h}],c)};return u},z0=(t,{json:n,lossy:r}={})=>{const a=[];return O6(!(n||r),!!n,new Map,a)(t),a},Su=typeof structuredClone=="function"?(t,n)=>n&&("json"in n||"lossy"in n)?R0(z0(t,n)):structuredClone(t):(t,n)=>R0(z0(t,n));function j6(t,n){const r=[{type:"text",value:"↩"}];return n>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(n)}]}),r}function D6(t,n){return"Back to reference "+(t+1)+(n>1?"-"+n:"")}function R6(t){const n=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",r=t.options.footnoteBackContent||j6,a=t.options.footnoteBackLabel||D6,l=t.options.footnoteLabel||"Footnotes",u=t.options.footnoteLabelTagName||"h2",c=t.options.footnoteLabelProperties||{className:["sr-only"]},d=[];let m=-1;for(;++m<t.footnoteOrder.length;){const h=t.footnoteById.get(t.footnoteOrder[m]);if(!h)continue;const g=t.all(h),y=String(h.identifier).toUpperCase(),x=Ia(y.toLowerCase());let S=0;const E=[],A=t.footnoteCounts.get(y);for(;A!==void 0&&++S<=A;){E.length>0&&E.push({type:"text",value:" "});let _=typeof r=="string"?r:r(m,S);typeof _=="string"&&(_={type:"text",value:_}),E.push({type:"element",tagName:"a",properties:{href:"#"+n+"fnref-"+x+(S>1?"-"+S:""),dataFootnoteBackref:"",ariaLabel:typeof a=="string"?a:a(m,S),className:["data-footnote-backref"]},children:Array.isArray(_)?_:[_]})}const N=g[g.length-1];if(N&&N.type==="element"&&N.tagName==="p"){const _=N.children[N.children.length-1];_&&_.type==="text"?_.value+=" ":N.children.push({type:"text",value:" "}),N.children.push(...E)}else g.push(...E);const k={type:"element",tagName:"li",properties:{id:n+"fn-"+x},children:t.wrap(g,!0)};t.patch(h,k),d.push(k)}if(d.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:u,properties:{...Su(c),id:"footnote-label"},children:[{type:"text",value:l}]},{type:"text",value:`
55`},{type:"element",tagName:"ol",properties:{},children:t.wrap(d,!0)},{type:"text",value:`
56`}]}}const IT=(function(t){if(t==null)return V6;if(typeof t=="function")return qu(t);if(typeof t=="object")return Array.isArray(t)?z6(t):_6(t);if(typeof t=="string")return L6(t);throw new Error("Expected function, string, or object as test")});function z6(t){const n=[];let r=-1;for(;++r<t.length;)n[r]=IT(t[r]);return qu(a);function a(...l){let u=-1;for(;++u<n.length;)if(n[u].apply(this,l))return!0;return!1}}function _6(t){const n=t;return qu(r);function r(a){const l=a;let u;for(u in t)if(l[u]!==n[u])return!1;return!0}}function L6(t){return qu(n);function n(r){return r&&r.type===t}}function qu(t){return n;function n(r,a,l){return!!(B6(r)&&t.call(this,r,typeof a=="number"?a:void 0,l||void 0))}}function V6(){return!0}function B6(t){return t!==null&&typeof t=="object"&&"type"in t}const GT=[],P6=!0,_0=!1,U6="skip";function H6(t,n,r,a){let l;typeof n=="function"&&typeof r!="function"?(a=r,r=n):l=n;const u=IT(l),c=a?-1:1;d(t,void 0,[])();function d(m,h,g){const y=m&&typeof m=="object"?m:{};if(typeof y.type=="string"){const S=typeof y.tagName=="string"?y.tagName:typeof y.name=="string"?y.name:void 0;Object.defineProperty(x,"name",{value:"node ("+(m.type+(S?"<"+S+">":""))+")"})}return x;function x(){let S=GT,E,A,N;if((!n||u(m,h,g[g.length-1]||void 0))&&(S=q6(r(m,g)),S[0]===_0))return S;if("children"in m&&m.children){const k=m;if(k.children&&S[0]!==U6)for(A=(a?k.children.length:-1)+c,N=g.concat(k);A>-1&&A<k.children.length;){const _=k.children[A];if(E=d(_,A,N)(),E[0]===_0)return E;A=typeof E[1]=="number"?E[1]:A+c}}return S}}}function q6(t){return Array.isArray(t)?t:typeof t=="number"?[P6,t]:t==null?GT:[t]}function XT(t,n,r,a){let l,u,c;typeof n=="function"&&typeof r!="function"?(u=void 0,c=n,l=r):(u=n,c=r,l=a),H6(t,u,d,l);function d(m,h){const g=h[h.length-1],y=g?g.children.indexOf(m):void 0;return c(m,y,g)}}const Lh={}.hasOwnProperty,F6={};function Y6(t,n){const r=n||F6,a=new Map,l=new Map,u=new Map,c={...A6,...r.handlers},d={all:h,applyData:G6,definitionById:a,footnoteById:l,footnoteCounts:u,footnoteOrder:[],handlers:c,one:m,options:r,patch:I6,wrap:Q6};return XT(t,function(g){if(g.type==="definition"||g.type==="footnoteDefinition"){const y=g.type==="definition"?a:l,x=String(g.identifier).toUpperCase();y.has(x)||y.set(x,g)}}),d;function m(g,y){const x=g.type,S=d.handlers[x];if(Lh.call(d.handlers,x)&&S)return S(d,g,y);if(d.options.passThrough&&d.options.passThrough.includes(x)){if("children"in g){const{children:A,...N}=g,k=Su(N);return k.children=d.all(g),k}return Su(g)}return(d.options.unknownHandler||X6)(d,g,y)}function h(g){const y=[];if("children"in g){const x=g.children;let S=-1;for(;++S<x.length;){const E=d.one(x[S],g);if(E){if(S&&x[S-1].type==="break"&&(!Array.isArray(E)&&E.type==="text"&&(E.value=L0(E.value)),!Array.isArray(E)&&E.type==="element")){const A=E.children[0];A&&A.type==="text"&&(A.value=L0(A.value))}Array.isArray(E)?y.push(...E):y.push(E)}}}return y}}function I6(t,n){t.position&&(n.position=N3(t))}function G6(t,n){let r=n;if(t&&t.data){const a=t.data.hName,l=t.data.hChildren,u=t.data.hProperties;
vendor: 4,788 bytes, lines 56-60
56if(typeof a=="string")if(r.type==="element")r.tagName=a;else{const c="children"in r?r.children:[r];r={type:"element",tagName:a,properties:{},children:c}}r.type==="element"&&u&&Object.assign(r.properties,Su(u)),"children"in r&&r.children&&l!==null&&l!==void 0&&(r.children=l)}return r}function X6(t,n){const r=n.data||{},a="value"in n&&!(Lh.call(r,"hProperties")||Lh.call(r,"hChildren"))?{type:"text",value:n.value}:{type:"element",tagName:"div",properties:{},children:t.all(n)};return t.patch(n,a),t.applyData(n,a)}function Q6(t,n){const r=[];let a=-1;for(n&&r.push({type:"text",value:`
57`});++a<t.length;)a&&r.push({type:"text",value:`
58`}),r.push(t[a]);return n&&t.length>0&&r.push({type:"text",value:`
59`}),r}function L0(t){let n=0,r=t.charCodeAt(n);for(;r===9||r===32;)n++,r=t.charCodeAt(n);return t.slice(n)}function V0(t,n){const r=Y6(t,n),a=r.one(t,void 0),l=R6(r),u=Array.isArray(a)?{type:"root",children:a}:a||{type:"root",children:[]};return l&&u.children.push({type:"text",value:`
60`},l),u}function K6(t,n){return t&&"run"in t?async function(r,a){const l=V0(r,{file:a,...n});await t.run(l,a)}:function(r,a){return V0(r,{file:a,...t||n})}}function B0(t){if(t)throw t}var Ud,P0;function Z6(){if(P0)return Ud;P0=1;var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,l=function(h){return typeof Array.isArray=="function"?Array.isArray(h):n.call(h)==="[object Array]"},u=function(h){if(!h||n.call(h)!=="[object Object]")return!1;var g=t.call(h,"constructor"),y=h.constructor&&h.constructor.prototype&&t.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!g&&!y)return!1;var x;for(x in h);return typeof x>"u"||t.call(h,x)},c=function(h,g){r&&g.name==="__proto__"?r(h,g.name,{enumerable:!0,configurable:!0,value:g.newValue,writable:!0}):h[g.name]=g.newValue},d=function(h,g){if(g==="__proto__")if(t.call(h,g)){if(a)return a(h,g).value}else return;return h[g]};return Ud=function m(){var h,g,y,x,S,E,A=arguments[0],N=1,k=arguments.length,_=!1;for(typeof A=="boolean"&&(_=A,A=arguments[1]||{},N=2),(A==null||typeof A!="object"&&typeof A!="function")&&(A={});N<k;++N)if(h=arguments[N],h!=null)for(g in h)y=d(A,g),x=d(h,g),A!==x&&(_&&x&&(u(x)||(S=l(x)))?(S?(S=!1,E=y&&l(y)?y:[]):E=y&&u(y)?y:{},c(A,{name:g,newValue:m(_,E,x)})):typeof x<"u"&&c(A,{name:g,newValue:x}));return A},Ud}var W6=Z6();const Hd=dl(W6);function Vh(t){if(typeof t!="object"||t===null)return!1;const n=Object.getPrototypeOf(t);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function J6(){const t=[],n={run:r,use:a};return n;function r(...l){let u=-1;const c=l.pop();if(typeof c!="function")throw new TypeError("Expected function as last argument, not "+c);d(null,...l);function d(m,...h){const g=t[++u];let y=-1;if(m){c(m);return}for(;++y<l.length;)(h[y]===null||h[y]===void 0)&&(h[y]=l[y]);l=h,g?$6(g,d)(...h):c(null,...h)}}function a(l){if(typeof l!="function")throw new TypeError("Expected `middelware` to be a function, not "+l);return t.push(l),n}}function $6(t,n){let r;return a;function a(...c){const d=t.length>c.length;let m;d&&c.push(l);try{m=t.apply(this,c)}catch(h){const g=h;if(d&&r)throw g;return l(g)}d||(m&&m.then&&typeof m.then=="function"?m.then(u,l):m instanceof Error?l(m):u(m))}function l(c,...d){r||(r=!0,n(c,...d))}function u(c){l(null,c)}}const Pn={basename:t5,dirname:e5,extname:n5,join:i5,sep:"/"};function t5(t,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');Sl(t);let r=0,a=-1,l=t.length,u;if(n===void 0||n.length===0||n.length>t.length){for(;l--;)if(t.codePointAt(l)===47){if(u){r=l+1;break}}else a<0&&(u=!0,a=l+1);return a<0?"":t.slice(r,a)}if(n===t)return"";let c=-1,d=n.length-1;for(;l--;)if(t.codePointAt(l)===47){if(u){r=l+1;break}}else c<0&&(u=!0,c=l+1),d>-1&&(t.codePointAt(l)===n.codePointAt(d--)?d<0&&(a=l):(d=-1,a=c));return r===a?a=c:a<0&&(a=t.length),t.slice(r,a)}function e5(t){if(Sl(t),t.length===0)return".";let n=-1,r=t.length,a;for(;--r;)if(t.codePointAt(r)===47){if(a){n=r;break}}else a||(a=!0);return n<0?t.codePointAt(0)===47?"/":".":n===1&&t.codePointAt(0)===47?"//":t.slice(0,n)}function n5(t){Sl(t);let n=t.length,r=-1,a=0,l=-1,u=0,c;for(;n--;){const d=t.codePointAt(n);if(d===47){if(c){a=n+1;break}continue}r<0&&(c=!0,r=n+1),d===46?l<0?l=n:u!==1&&(u=1):l>-1&&(u=-1)}return l<0||r<0||u===0||u===1&&l===r-1&&l===a+1?"":t.slice(l,r)}function i5(...t){let n=-1,r;for(;++n<t.length;)Sl(t[n]),t[n]&&(r=r===void 0?t[n]:r+"/"+t[n]);return r===void 0?".":r5(r)}function r5(t){Sl(t);const n=t.codePointAt(0)===47;let r=a5(t,!n);return r.length===0&&!n&&(r="."),r.length>0&&t.codePointAt(t.length-1)===47&&(r+="/"),n?"/"+r:r}function a5(t,n){let r="",a=0,l=-1,u=0,c=-1,d,m;
vendor: 1,363 bytes, line 60
60for(;++c<=t.length;){if(c<t.length)d=t.codePointAt(c);else{if(d===47)break;d=47}if(d===47){if(!(l===c-1||u===1))if(l!==c-1&&u===2){if(r.length<2||a!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(m=r.lastIndexOf("/"),m!==r.length-1){m<0?(r="",a=0):(r=r.slice(0,m),a=r.length-1-r.lastIndexOf("/")),l=c,u=0;continue}}else if(r.length>0){r="",a=0,l=c,u=0;continue}}n&&(r=r.length>0?r+"/..":"..",a=2)}else r.length>0?r+="/"+t.slice(l+1,c):r=t.slice(l+1,c),a=c-l-1;l=c,u=0}else d===46&&u>-1?u++:u=-1}return r}function Sl(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}const s5={cwd:l5};function l5(){return"/"}function Bh(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function o5(t){if(typeof t=="string")t=new URL(t);else if(!Bh(t)){const n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}if(t.protocol!=="file:"){const n=new TypeError("The URL must be of scheme file");throw n.code="ERR_INVALID_URL_SCHEME",n}return u5(t)}function u5(t){if(t.hostname!==""){const a=new TypeError('File URL host must be "localhost" or empty on darwin');throw a.code="ERR_INVALID_FILE_URL_HOST",a}const n=t.pathname;let r=-1;for(;++r<n.length;
vendor: 5,004 bytes, line 60
60)if(n.codePointAt(r)===37&&n.codePointAt(r+1)===50){const a=n.codePointAt(r+2);if(a===70||a===102){const l=new TypeError("File URL path must not include encoded / characters");throw l.code="ERR_INVALID_FILE_URL_PATH",l}}return decodeURIComponent(n)}const qd=["history","path","basename","stem","extname","dirname"];class QT{constructor(n){let r;n?Bh(n)?r={path:n}:typeof n=="string"||c5(n)?r={value:n}:r=n:r={},this.cwd="cwd"in r?"":s5.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let a=-1;for(;++a<qd.length;){const u=qd[a];u in r&&r[u]!==void 0&&r[u]!==null&&(this[u]=u==="history"?[...r[u]]:r[u])}let l;for(l in r)qd.includes(l)||(this[l]=r[l])}get basename(){return typeof this.path=="string"?Pn.basename(this.path):void 0}set basename(n){Yd(n,"basename"),Fd(n,"basename"),this.path=Pn.join(this.dirname||"",n)}get dirname(){return typeof this.path=="string"?Pn.dirname(this.path):void 0}set dirname(n){U0(this.basename,"dirname"),this.path=Pn.join(n||"",this.basename)}get extname(){return typeof this.path=="string"?Pn.extname(this.path):void 0}set extname(n){if(Fd(n,"extname"),U0(this.dirname,"extname"),n){if(n.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(n.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Pn.join(this.dirname,this.stem+(n||""))}get path(){return this.history[this.history.length-1]}set path(n){Bh(n)&&(n=o5(n)),Yd(n,"path"),this.path!==n&&this.history.push(n)}get stem(){return typeof this.path=="string"?Pn.basename(this.path,this.extname):void 0}set stem(n){Yd(n,"stem"),Fd(n,"stem"),this.path=Pn.join(this.dirname||"",n+(this.extname||""))}fail(n,r,a){const l=this.message(n,r,a);throw l.fatal=!0,l}info(n,r,a){const l=this.message(n,r,a);return l.fatal=void 0,l}message(n,r,a){const l=new ke(n,r,a);return this.path&&(l.name=this.path+":"+l.name,l.file=this.path),l.fatal=!1,this.messages.push(l),l}toString(n){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(n||void 0).decode(this.value)}}function Fd(t,n){if(t&&t.includes(Pn.sep))throw new Error("`"+n+"` cannot be a path: did not expect `"+Pn.sep+"`")}function Yd(t,n){if(!t)throw new Error("`"+n+"` cannot be empty")}function U0(t,n){if(!t)throw new Error("Setting `"+n+"` requires `path` to be set too")}function c5(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}const f5=(function(t){const a=this.constructor.prototype,l=a[t],u=function(){return l.apply(u,arguments)};return Object.setPrototypeOf(u,a),u}),d5={}.hasOwnProperty;class ep extends f5{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=J6()}copy(){const n=new ep;let r=-1;for(;++r<this.attachers.length;){const a=this.attachers[r];n.use(...a)}return n.data(Hd(!0,{},this.namespace)),n}data(n,r){return typeof n=="string"?arguments.length===2?(Xd("data",this.frozen),this.namespace[n]=r,this):d5.call(this.namespace,n)&&this.namespace[n]||void 0:n?(Xd("data",this.frozen),this.namespace=n,this):this.namespace}freeze(){if(this.frozen)return this;const n=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...a]=this.attachers[this.freezeIndex];if(a[0]===!1)continue;a[0]===!0&&(a[0]=void 0);const l=r.call(n,...a);typeof l=="function"&&this.transformers.use(l)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(n){this.freeze();const r=Jo(n),a=this.parser||this.Parser;return Id("parse",a),a(String(r),r)}process(n,r){const a=this;return this.freeze(),Id("process",this.parser||this.Parser),Gd("process",this.compiler||this.Compiler),r?l(void 0,r):new Promise(l);function l(u,c){const d=Jo(n),m=a.parse(d);a.run(m,d,function(g,y,x){if(g||!y||!x)return h(g);const S=y,E=a.stringify(S,x);p5(E)?x.value=E:x.result=E,h(g,x)});function h(g,y){g||!y?c(g):u?u(y):r(void 0,y)}}}processSync(n){let r=!1,a;return this.freeze(),Id("processSync",this.parser||this.Parser),Gd("processSync",this.compiler||this.Compiler),this.process(n,l),q0("processSync","process",r),a;function l(u,c){r=!0,B0(u),a=c}}run(n,r,a){H0(n),this.freeze();const l=this.transformers;return!a&&typeof r=="function"&&(a=r,r=void 0),a?u(void 0,a):new Promise(u);function u(c,d){const m=Jo(r);l.run(n,m,h);function h(g,y,x){const S=y||n;g?d(g):c?c(S):a(void 0,S,x)}}}runSync(n,r){let a=!1,l;return this.run(n,r,u),q0("runSync","run",a),l;function u(c,d){B0(c),l=d,a=!0}}stringify(n,r){this.freeze();const a=Jo(r),l=this.compiler||this.Compiler;return Gd("stringify",l),H0(n),l(n,a)}use(n,...r){const a=this.attachers,l=this.namespace;if(Xd("use",this.frozen),n!=null)if(typeof n=="function")m(n,r);else if(typeof n=="object")Array.isArray(n)?d(n):c(n);else throw new TypeError("Expected usable value, not `"+n+"`");return this;function u(h){if(typeof h=="function")m(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[g,...y]=h;
vendor: 5,187 bytes, line 60
60m(g,y)}else c(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function c(h){if(!("plugins"in h)&&!("settings"in h))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");d(h.plugins),h.settings&&(l.settings=Hd(!0,l.settings,h.settings))}function d(h){let g=-1;if(h!=null)if(Array.isArray(h))for(;++g<h.length;){const y=h[g];u(y)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function m(h,g){let y=-1,x=-1;for(;++y<a.length;)if(a[y][0]===h){x=y;break}if(x===-1)a.push([h,...g]);else if(g.length>0){let[S,...E]=g;const A=a[x][1];Vh(A)&&Vh(S)&&(S=Hd(!0,A,S)),a[x]=[h,S,...E]}}}}const h5=new ep().freeze();function Id(t,n){if(typeof n!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function Gd(t,n){if(typeof n!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function Xd(t,n){if(n)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function H0(t){if(!Vh(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function q0(t,n,r){if(!r)throw new Error("`"+t+"` finished async. Use `"+n+"` instead")}function Jo(t){return m5(t)?t:new QT(t)}function m5(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function p5(t){return typeof t=="string"||g5(t)}function g5(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}const y5="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",F0=[],Y0={allowDangerousHtml:!0},v5=/^(https?|ircs?|mailto|xmpp)$/i,x5=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function b5(t){const n=S5(t),r=w5(t);return T5(n.runSync(n.parse(r),r),t)}function S5(t){const n=t.rehypePlugins||F0,r=t.remarkPlugins||F0,a=t.remarkRehypeOptions?{...t.remarkRehypeOptions,...Y0}:Y0;return h5().use($L).use(r).use(K6,a).use(n)}function w5(t){const n=t.children||"",r=new QT;return typeof n=="string"&&(r.value=n),r}function T5(t,n){const r=n.allowedElements,a=n.allowElement,l=n.components,u=n.disallowedElements,c=n.skipHtml,d=n.unwrapDisallowed,m=n.urlTransform||E5;for(const g of x5)Object.hasOwn(n,g.from)&&(""+g.from+(g.to?"use `"+g.to+"` instead":"remove it")+y5+g.id,void 0);return XT(t,h),D3(t,{Fragment:v.Fragment,components:l,ignoreInvalidStyle:!0,jsx:v.jsx,jsxs:v.jsxs,passKeys:!0,passNode:!0});function h(g,y,x){if(g.type==="raw"&&x&&typeof y=="number")return c?x.children.splice(y,1):x.children[y]={type:"text",value:g.value},y;if(g.type==="element"){let S;for(S in Vd)if(Object.hasOwn(Vd,S)&&Object.hasOwn(g.properties,S)){const E=g.properties[S],A=Vd[S];(A===null||A.includes(g.tagName))&&(g.properties[S]=m(String(E||""),S,g))}}if(g.type==="element"){let S=r?!r.includes(g.tagName):u?u.includes(g.tagName):!1;if(!S&&a&&typeof y=="number"&&(S=!a(g,y,x)),S&&x&&typeof y=="number")return d&&g.children?x.children.splice(y,1,...g.children):x.children.splice(y,1),y}}}function E5(t){const n=t.indexOf(":"),r=t.indexOf("?"),a=t.indexOf("#"),l=t.indexOf("/");return n===-1||l!==-1&&n>l||r!==-1&&n>r||a!==-1&&n>a||v5.test(t.slice(0,n))?t:""}function A5(){const[t,n]=HC("/blog/:slug"),[r,a]=C.useState(null),[l,u]=C.useState(!1);return C.useEffect(()=>{if(t&&(document.title="Blog | Civic Data Tech",window.scrollTo({top:0,behavior:"instant"}),n?.slug)){const c=n3(n.slug);c?(a(c),u(!1),document.title=`${c.title} | Civic Data Tech`):u(!0)}},[t,n?.slug]),l?v.jsx("div",{className:"min-h-screen bg-background pt-32 pb-20",children:v.jsxs("div",{className:"container mx-auto px-6 max-w-4xl text-center",children:[v.jsx("h1",{className:"text-4xl font-bold mb-4",children:"Post not found"}),v.jsx(jn,{href:"/blog",children:v.jsx("a",{className:"text-primary hover:underline",children:"← Back to blog"})})]})}):r?v.jsx("div",{className:"min-h-screen bg-background pt-32 pb-20",children:v.jsx("div",{className:"container mx-auto px-6 max-w-4xl",children:v.jsxs(Tn.div,{initial:{opacity:0,y:20}
60,animate:{opacity:1,y:0},transition:{duration:.6},children:[v.jsx(jn,{href:"/blog",children:v.jsxs("a",{className:"inline-flex items-center gap-2 text-primary hover:underline mb-8",children:[v.jsx(DN,{className:"h-4 w-4"}),"Back to blog"]})}),v.jsxs("article",{children:[v.jsxs("header",{className:"mb-12",children:[v.jsx("h1",{className:"text-5xl font-bold mb-4",children:r.title}),v.jsxs("div",{className:"flex flex-wrap gap-4 text-sm text-gray-600 mb-6",children:[v.jsxs("div",{className:"flex items-center gap-1",children:[v.jsx(z1,{className:"h-4 w-4"}),new Date(r.date).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})]}),v.jsxs("div",{className:"flex items-center gap-1",children:[v.jsx(L1,{className:"h-4 w-4"}),r.author]}),v.jsxs("div",{className:"flex items-center gap-1",children:[v.jsx(_1,{className:"h-4 w-4"}),v.jsx("span",{className:"capitalize",children:r.category})]})]}),v.jsx("p",{className:"text-xl text-gray-700",children:r.excerpt})]}),v.jsx("div",{className:"prose prose-lg max-w-none",children:v.jsx(b5,{children:r.content})})]})]})})}):v.jsx("div",{className:"min-h-screen bg-background pt-32 pb-20 flex items-center justify-center",children:v.jsx("div",{className:"text-center",children:"Loading..."})})}function C5(){return C.useEffect(()=>{document.title="Support Us | Civic Data Tech"},[]),v.jsx("div",{className:"min-h-screen bg-background pt-32 pb-20",children:v.jsxs("div",{className:"container mx-auto px-6 max-w-3xl",children:[v.jsxs("div",{className:"mb-12",children:[v.jsx("h1",{className:"text-4xl md:text-5xl font-display font-bold mb-6",children:"Support Our Mission"}),v.jsx("p",{className:"text-lg text-muted-foreground",children:"Help us build shared civic data infrastructure and support the maintainers who sustain open-source projects."})]}),v.jsxs("div",{className:"grid md:grid-cols-2 gap-12 mb-12",children:[v.jsxs("div",{className:"space-y-6",children:[v.jsx("h2",{className:"text-2xl font-display font-bold",children:"Why Support Civic Data Tech?"}),v.jsxs("div",{className:"space-y-4",children:[v.jsxs("div",{className:"border-l-4 border-primary pl-4",children:[v.jsx("h3",{className:"font-semibold text-lg mb-2",children:"Supporting Maintainers"}),v.jsx("p",{className:"text-muted-foreground",children:"Open-source civic data projects are built and maintained by dedicated volunteers. Your support helps sustain their critical work."})]}),v.jsxs("div",{className:"border-l-4 border-primary pl-4",children:[v.jsx("h3",{className:"font-semibold text-lg mb-2",children:"Shared Infrastructure"}),v.jsx("p",{className:"text-muted-foreground",children:"We build standardized, accessible civic data resources that benefit organizations across the country."})]}),v.jsxs("div",{className:"border-l-4 border-primary pl-4",children:[v.jsx("h3",{className:"font-semibold text-lg mb-2",children:"Strengthening Democracy"}),v.jsx("p",{className:"text-muted-foreground",children:"Reliable civic data is essential for voter engagement, government accountability, and informed civic participation."})]})]})]}),v.jsx("div",{className:"space-y-6",children:v.jsxs("div",{className:"bg-card border border-border rounded-lg p-8 space-y-6",children:[v.jsx("h2",{className:"text-2xl font-display font-bold",children:"Make a Donation"}),v.jsx("div",{className:"bg-accent/10 border border-accent/30 rounded-lg p-4",children:v.jsxs("p",{className:"text-sm text-foreground",children:[v.jsx("strong",{children:"501(c)(3) Status:"})," Civic Data Tech is currently applying for 501(c)(3) nonprofit status. Once approved (estimated November 2026), donations will be tax-deductible. We'll update this page when the status is official."]})}),v.jsxs("div",{className:"space-y-4",children:[v.jsx("h3",{className:"font-semibold text-lg",children:"Donations"}),v.jsx(In,{className:"w-full",size:"lg",asChild:!0,children:v.jsx("a",{href:"https://buymeacoffee.com/civicdatatech",target:"_blank",rel:"noopener noreferrer",children:"Donate via Stripe"})})]}),v.jsx("div",{className:"text-sm text-muted-foreground space-y-2 border-t border-border pt-4",children:v.jsxs("p",{children:["If you have questions about donations or would like to discu
60ss partnership opportunities, please contact us at"," ",v.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:underline",children:"[email protected]"})]})})]})})]}),v.jsxs("div",{className:"bg-card border border-border rounded-lg p-8 space-y-6",children:[v.jsx("h2",{className:"text-2xl font-display font-bold",children:"Other Ways to Support"}),v.jsxs("div",{className:"grid md:grid-cols-3 gap-6",children:[v.jsxs("div",{className:"space-y-2",children:[v.jsx("h3",{className:"font-semibold text-lg",children:"Contribute Code"}),v.jsx("p",{className:"text-muted-foreground text-sm",children:"Help maintain and improve our open-source projects on GitHub. All are welcome to contribute."})]}),v.jsxs("div",{className:"space-y-2",children:[v.jsx("h3",{className:"font-semibold text-lg",children:"Amplify Our Message"}),v.jsx("p",{className:"text-muted-foreground text-sm",children:"Share our work with your network and help spread awareness about civic data challenges."})]}),v.jsxs("div",{className:"space-y-2",children:[v.jsx("h3",{className:"font-semibold text-lg",children:"Join Our Community"}),v.jsx("p",{className:"text-muted-foreground text-sm",children:"Connect with us on Unified and participate in our discussions and events."})]})]}),v.jsx(In,{variant:"outline",asChild:!0,children:v.jsx("a",{href:"/get-involved",children:"Learn More About Getting Involved"})})]})]})})}const KT="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABYCAMAAAA9bwLKAAABTVBMVEUAAAAAVf9AgP8zZv8rVf8kbdsgYN8cVeMaZuYkW+0iZu4gYO8oXvImZuYkYecjaOggYOonYusmXuwiZu4nZOgmYukiZeskZe0hZOkmYuklZeokY+okYesjZOsiYusiZewmY+wkYu0mZOokYesjZOwiZOolZeslY+skYuskZOwlZOokY+okYuojYuskZOwjYuolZOokYuskY+skYusjY+slYuskZOwkY+wjY+wlY+wkY+sjYuwkY+okYuojZOsjY+slYuskY+skY+skZOskY+wkYuwlY+okZOslY+sjY+okY+slY+slY+skY+skYuwkZOskY+skY+skY+skY+skYuskY+skY+skY+skY+skY+skY+skY+skZOskY+skY+okY+skY+skY+skY+skY+skY+skZOskY+skY+skY+skY+skY+skY+skY+skY+v///9Cs+MbAAAAbXRSTlMAAwQFBgcICQoODxATFBUWGBobHiEiJisuLzAxMjM0NTY5PT9CSkxaW1xhYmNla21ucHFydHV4eYOEjZGTlJeYmZqbnJ2eoKSnrbG1w8TFzc/U1dbX2dvc4OHi4+Tr7O/w8fL09fb3+fr7/P3+KqFWZwAAAAFiS0dEbiIPURcAAAHBSURBVGje7ddXTwJBEAfwoQioYFcUFHtF7B0bgl1UwMYpSEfKfP9XH7g9I8YH4v5NSG7edjLJL7m7nZmjDDcUGWo0dEAHmhJInXs9DiPJinrgccFKUuM7UNgwEgGBxAQREoj0EhRI9hMU+JgkLLBLWCDRpuVcBw85+RdtXWQswQriJhfa1YT1FtMqrkTiDNSLVtXzWBUETKnnEKqb9qlnBQXYa0dDuWkB8YjiDH7JJyhAXORR1Gd6LRKnIKDoEK0iDNoqtrRmdwxpdvxu13JD/mgWsBftgQcOl6fBAKedYICfB8AAp2fAAJd2rFiAWVluxQLM+cul8c4WICA3dEAHmgGQFUaHx3ueAgK1ee57wwJEtu08FiByxcEAdd+BAepSwAC5c2CAVv4A/HYxc7F9l1ZkiMgHmLkSsIiqWQjAHBYrgzmBATgkyoIgoOqpf0ayl4SAWuZEAS+i7aGAskGtK4KAEhqAP6Ij8EuujqhlcyDg5MfftlzgRjQjcxLS7A61pX9efrPLRv2DXztMDDxw1sATbRg8MrtesUO/5x67trgV6OJl2iwgV0fb4hNs+TV1jPkuMhLW9wz6B0QHdOD/gU/3xF94E2JARgAAAABJRU5ErkJggg==";function N5(){const[t,n]=C.useState(!1),[r,a]=C.useState(!1);C.useEffect(()=>{let m=null;const h=()=>{m&&clearTimeout(m),m=setTimeout(()=>{n(window.scrollY>20)},100)};return window.addEventListener("scroll",h),()=>{window.removeEventListener("scroll",h),m&&clearTimeout(m)}},[]);const l=[{name:"Mission",section:"mission"},{name:"Strategy",href:"/strategy"},{name:"Team",section:"team"},{name:"Blog",href:"/blog"},{name:"Get Involved",href:"/get-involved"},{name:"Support Us",href:"/donate"}],u=m=>{const h=document.getElementById(m);h&&h.scrollIntoView({behavior:"smooth",block:"start"})},c=()=>window.location.pathname==="/",d=m=>h=>{h.preventDefault(),c()?u(m):window.location.href=`/?section=${m}`};return v.jsxs("nav",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${t?"bg-background/80 backdrop-blur-md border-b border-border py-4":"bg-transparent py-6"}`,children:[v.jsxs("div",{className:"container mx-auto px-6 flex items-center justify-between",children:[v.jsxs("a",{href:"/",className:"flex items-center gap-2 group",children:[v.jsx("img",{src:KT,alt:"Civic Data Tech logo",className:"h-8 w-8 group-hover:scale-105 transition-transform duration-300"}),v.jsxs("span",{className:"font-display font-bold text-xl tracking-tight text-foreground",children:["Civic Data ",v.jsx("span",{className:"text-primary",children:"Tech"})]})]}),v.jsxs("div",{className:"hidden md:flex items-center gap-8",children:[l.map(m=>"section"in m?v.jsx("a",{href:`/?section=${m.section}`,onClick:d(m.section),className:"text-sm font-medium text-muted-foreground hover:text-primary transition-colors cursor-pointer",children:m.name},m.name):v.jsx("a",{href:m.href,className:"text-sm font-medium text-muted-foreground hover:text-primary transition-colors cursor-pointer",children:m.name},m.name)),v.jsx(In,{variant:"outline",asChild:!0,children:v.jsx("a",{href:"mailto:[email protected]",children:"Contact Us"})})]}),v.jsx("button",{className:"md:hidden text-foreground p-2",onClick:()=>a(!r),children:r?v.jsx(V1,{}):v.jsx(ek,{})})]}),r&&v.jsx("div",{className:"md:hidden absolute top-full left-0 right-0 bg-background border-b border-border p-6 shadow-lg animate-in slide-in-from-top-5",children:v.jsxs("div",{className:"flex flex-col gap-4",children:[l.map(m=>"section"in m?v.jsx("a",{href:`/?section=${m.section}`,onClick:h=>{d(m.section)(h),a(!1)},className:"text-lg font-medium text-foreground py-2 border-b border-border/50 cursor-pointer",children:m.name},m.name):v.jsx("a",{href:m.href,onClick:()=>a(!1),className:"text-lg font-medium text-foreground py-2 border-b border-border/50 cursor-pointer",children:m.name},m.name)),v.jsx(In,{variant:"outline",className:"w-full mt-4",asChild:!0,children:v.jsx("a",{href:"mailto:[email protected]",children:"Contact Us"})})]})})]})}const k5="/assets/unified-icon-xSvOV9sK.png";function M5(){return v.jsx("footer",{className:"bg-foreground text-background py-16",children:v.jsxs("div",{className:"container mx-auto px-6",children:[v.jsxs("div",{className:"grid md:grid-cols-4 gap-12 mb-12",children:[v.jsxs("div",{className:"col-span-1 md:col-span-2",children:[v.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[v.jsx("img",{src:KT,alt:"Civic Data Tech Logo",className:"h-6 w-6"}),v.jsx("h3",{className:"font-display font-bold text-2xl",children:"Civic Data Tech"})]}),v.jsx("p",{className:"text-muted-foreground max-w-sm mb-6",children:"Fostering a more accessible, resilient, and participatory democracy for all through open data and collaboration."}),v.jsxs("div",{className:"flex gap-4",children:[v.jsx("a",{href:"https://www.linkedin.com/company/civic-data-tech/",target:"_blank",rel:"noopener noreferrer",className:"p-2 rounded-full bg-background/10 hover:bg-background/20 transition-colors",children:v.jsx(XN,{className:"h-5 w-5"})}),v.jsx("a",{href:"https://github.com/civicdatatech",target:"_blank",rel:"noopener noreferrer",className:"p-2 rounded-full bg-background/10 hover:bg-background/20 transition-colors",children:v.jsx(IN,{className:"h-5 w-5"})}),v.jsx("a",{href:"mailto:[email protected]",className:"p-2 rounded-full bg-background/10 hover:bg-background/20 transition-colors",children:v.jsx(WN,{className:"h-5 w-5"})}),v.jsx("a",{href:"https://unified.me/organization/27721/posts?invite=civicdata",target:"_blank",rel:"noopener noreferrer",className:"p-2 rounded-full bg-background/10 hover:bg-background/20 transition-colors","aria-label":"Unified organization posts",children:v.jsx("img",{src:k5,alt:"Unified",className:"h-5 w-5 object-contain"})})]})]}),v.jsxs("div",{children:[v.jsx("h4",{className:"font-bold mb-4",children:"Project"}),v.jsxs("ul",{className:"space-y-2 text-muted-foreground",children:[v.jsx("li",{children:v.jsx(jn,{href:"/",className:"hover:text-background transition-colors cursor-pointer",children:"Mission"})}),v.jsx("li",{children:v.jsx(jn,{href:"/strategy",className:"hover:text-background transition-colors cursor-pointer",children:"Strategy"})}),v.jsx("li",{children:v.jsx(jn,{href:"/",className:"hover:text-background transition-colors cursor-pointer",children:"Team"})}),v.jsx("li",{children:v.jsx(jn,{href:"/get-involved",className:"hover:text-background transition-colors cursor-pointer",children:"Get Involved"})})]})]})]}),v.jsx("div",{className:"border-t border-background/10 pt-8 flex flex-col md:flex-row justify-between items-center text-sm text-muted-foreground",children:v.jsxs("p",{children:["© ",new Date().getFullYear()," Civic Data Tech. All rights reserved."]})})]})})}function O5(){return v.jsx($0,{children:v.jsxs("div",{className:"min-h-screen bg-background flex flex-col",children:[v.jsx(N5,{}),v.jsx("main",{className:"flex-grow pt-28",children:v.jsxs(FC,{children:[v.jsx(wr,{path:"/",component:W4}),v.jsx(wr,{path:"/get-involved",component:J4}),v.jsx(wr,{path:"/strategy",component:$4}),v.jsx(wr,{path:"/blog",component:i3}),v.jsx(wr,{path:"/blog/:slug",component:A5}),v.jsx(wr,{path:"/donate",component:C5}),v.jsx(wr,{component:$O})]})}),v.jsx(M5,{})]})})}function j5(){return v.jsx(y2,{client:b2,children:v.jsxs(KO,{children:[v.jsx(lM,{}),v.jsx(O5,{})]})})}bC.createRoot(document.getElementById("root")).render(v.jsx(yi.StrictMode,{children:v.jsx(j5,{})}));

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.