PageSourceSearch

https://tesai-wmmbrn.manus.space/assets/index-TDEUZiKa.js

js tesai-wmmbrn.manus.space collected 2026-10-03 05:05:16 UTC 468,128 bytes, 117 lines download raw bytes

vendor: 9,812 bytes, lines 1-17
1function Wx(i,a){for(var o=0;o<a.length;o++){const r=a[o];if(typeof r!="string"&&!Array.isArray(r)){for(const u in r)if(u!=="default"&&!(u in i)){const f=Object.getOwnPropertyDescriptor(r,u);f&&Object.defineProperty(i,u,f.get?f:{enumerable:!0,get:()=>r[u]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))r(u);new MutationObserver(u=>{for(const f of u)if(f.type==="childList")for(const d of f.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&r(d)}).observe(document,{childList:!0,subtree:!0});function o(u){const f={};return u.integrity&&(f.integrity=u.integrity),u.referrerPolicy&&(f.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?f.credentials="include":u.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function r(u){if(u.ep)return;u.ep=!0;const f=o(u);fetch(u.href,f)}})();function $x(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var nu={exports:{}},Ns={};/**
2 * @license React
3 * react-jsx-runtime.production.js
4 *
5 * Copyright (c) Meta Platforms, Inc. and affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var Ip;function eA(){if(Ip)return Ns;Ip=1;var i=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function o(r,u,f){var d=null;if(f!==void 0&&(d=""+f),u.key!==void 0&&(d=""+u.key),"key"in u){f={};for(var m in u)m!=="key"&&(f[m]=u[m])}else f=u;return u=f.ref,{$$typeof:i,type:r,key:d,ref:u!==void 0?u:null,props:f}}return Ns.Fragment=a,Ns.jsx=o,Ns.jsxs=o,Ns}var Bp;function tA(){return Bp||(Bp=1,nu.exports=eA()),nu.exports}var v=tA(),iu={exports:{}},le={};/**
10 * @license React
11 * react.production.js
12 *
13 * Copyright (c) Meta Platforms, Inc. and affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var Lp;function nA(){if(Lp)return le;Lp=1;var i=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),d=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),x=Symbol.iterator;function A(T){return T===null||typeof T!="object"?null:(T=x&&T[x]||T["@@iterator"],typeof T=="function"?T:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},z=Object.assign,k={};function V(T,H,K){this.props=T,this.context=H,this.refs=k,this.updater=K||C}V.prototype.isReactComponent={},V.prototype.setState=function(T,H){if(typeof T!="object"&&typeof T!="function"&&T!=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,T,H,"setState")},V.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function I(){}I.prototype=V.prototype;function Q(T,H,K){this.props=T,this.context=H,this.refs=k,this.updater=K||C}var B=Q.prototype=new I;B.constructor=Q,z(B,V.prototype),B.isPureReactComponent=!0;var F=Array.isArray,P={H:null,A:null,T:null,S:null,V:null},Z=Object.prototype.hasOwnProperty;function ne(T,H,K,X,J,he){return K=he.ref,{$$typeof:i,type:T,key:H,ref:K!==void 0?K:null,props:he}}function G(T,H){return ne(T.type,H,void 0,void 0,void 0,T.props)}function ce(T){return typeof T=="object"&&T!==null&&T.$$typeof===i}function Me(T){var H={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(K){return H[K]})}var ke=/\/+/g;function je(T,H){return typeof T=="object"&&T!==null&&T.key!=null?Me(""+T.key):H.toString(36)}function pt(){}function ft(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(pt,pt):(T.status="pending",T.then(function(H){T.status==="pending"&&(T.status="fulfilled",T.value=H)},function(H){T.status==="pending"&&(T.status="rejected",T.reason=H)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function Ne(T,H,K,X,J){var he=typeof T;(he==="undefined"||he==="boolean")&&(T=null);var re=!1;if(T===null)re=!0;else switch(he){case"bigint":case"string":case"number":re=!0;break;case"object":switch(T.$$typeof){case i:case a:re=!0;break;case y:return re=T._init,Ne(re(T._payload),H,K,X,J)}}if(re)return J=J(T),re=X===""?"."+je(T,0):X,F(J)?(K="",re!=null&&(K=re.replace(ke,"$&/")+"/"),Ne(J,H,K,"",function(Tt){return Tt})):J!=null&&(ce(J)&&(J=G(J,K+(J.key==null||T&&T.key===J.key?"":(""+J.key).replace(ke,"$&/")+"/")+re)),H.push(J)),1;re=0;var ve=X===""?".":X+":";if(F(T))for(var De=0;De<T.length;De++)X=T[De],he=ve+je(X,De),re+=Ne(X,H,K,he,J);else if(De=A(T),typeof De=="function")for(T=De.call(T),De=0;!(X=T.next()).done;)X=X.value,he=ve+je(X,De++),re+=Ne(X,H,K,he,J);else if(he==="object"){if(typeof T.then=="function")return Ne(ft(T),H,K,X,J);throw H=String(T),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.")}return re}function O(T,H,K){if(T==null)return T;var X=[],J=0;return Ne(T,X,"","",function(he){return H.call(K,he,J++)}),X}function Y(T){if(T._status===-1){var H=T._result;H=H(),H.then(function(K){(T._status===0||T._status===-1)&&(T._status=1,T._result=K)},function(K){(T._status===0||T._status===-1)&&(T._status=2,T._result=K)}),T._status===-1&&(T._status=0,T._result=H)}if(T._status===1)return T._result.default;throw T._result}var q=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var H=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T),error:T});if(!window.dispatchEvent(H))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)};function ge(){}return le.Children={map:O,forEach:function(T,H,K){O(T,function(){H.apply(this,arguments)},K)},count:function(T){var H=0;return O(T,function(){H++}),H},toArray:function(T){return O(T,function(H){return H})||[]},only:function(T){if(!ce(T))throw Error("React.Children.only expected to receive a single React element child.");return T}},le.Component=V,le.Fragment=o,le.Profiler=u,le.PureComponent=Q,le.StrictMode=r,le.Suspense=p,le.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P,le.__COMPILER_RUNTIME={__proto__:null,c:function(T){return P.H.useMemoCache(T)}},le.cache=function(T){return function(){return T.apply(null,arguments)}},le.cloneElement=function(T,H,K){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var X=z({},T.props),J=T.key,he=void 0;if(H!=null)for(re in H.ref!==void 0&&(he=void 0),H.key!==void 0&&(J=""+H.key),H)!Z.call(H,re)||re==="key"||re==="__self"||re==="__source"||re==="ref"&&H.ref===void 0||(X[re]=H[re]);var re=arguments.length-2;if(re===1)X.children=K;else if(1<re){for(var ve=Array(re),De=0;De<re;De++)ve[De]=arguments[De+2];X.children=ve}return ne(T.type,J,void 0,void 0,he,X)},le.createContext=function(T){return T={$$typeof:d,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null},T.Provider=T,T.Consumer={$$typeof:f,_context:T},T},le.createElement=function(T,H,K){var X,J={},he=null;if(H!=null)for(X in H.key!==void 0&&(he=""+H.key),H)Z.call(H,X)&&X!=="key"&&X!=="__self"&&X!=="__source"&&(J[X]=H[X]);var re=arguments.length-2;if(re===1)J.children=K;else if(1<re){for(var ve=Array(re),De=0;De<re;De++)ve[De]=arguments[De+2];J.children=ve}if(T&&T.defaultProps)for(X in re=T.defaultProps,re)J[X]===void 0&&(J[X]=re[X]);return ne(T,he,void 0,void 0,null,J)},le.createRef=function(){return{current:null}},le.forwardRef=function(T){return{$$typeof:m,render:T}},le.isValidElement=ce,le.lazy=function(T){return{$$typeof:y,_payload:{_status:-1,_result:T},_init:Y}},le.memo=function(T,H){return{$$typeof:h,type:T,compare:H===void 0?null:H}},le.startTransition=function(T){var H=P.T,K={};P.T=K;try{var X=T(),J=P.S;J!==null&&J(K,X),typeof X=="object"&&X!==null&&typeof X.then=="function"&&X.then(ge,q)}catch(he){q(he)}finally{P.T=H}},le.unstable_useCacheRefresh=function(){return P.H.useCacheRefresh()},le.use=function(T){return P.H.use(T)},le.useActionState=function(T,H,K){return P.H.useActionState(T,H,K)},le.useCallback=function(T,H){return P.H.useCallback(T,H)},le.useContext=function(T){return P.H.useContext(T)},le.useDebugValue=function(){},le.useDeferredValue=function(T,H){return P.H.useDeferredValue(T,H)},le.useEffect=function(T,H,K){var X=P.H;if(typeof K=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return X.useEffect(T,H)},le.useId=function(){return P.H.useId()},le.useImperativeHandle=function(T,H,K){return P.H.useImperativeHandle(T,H,K)},le.useInsertionEffect=function(T,H){return P.H.useInsertionEffect(T,H)},le.useLayoutEffect=function(T,H){return P.H.useLayoutEffect(T,H)},le.useMemo=function(T,H){return P.H.useMemo(T,H)},le.useOptimistic=function(T,H){return P.H.useOptimistic(T,H)},le.useReducer=function(T,H,K){return P.H.useReducer(T,H,K)},le.useRef=function(T){return P.H.useRef(T)},le.useState=function(T){return P.H.useState(T)},le.useSyncExternalStore=function(T,H,K){return P.H.useSyncExternalStore(T,H,K)},le.useTransition=function(){return P.H.useTransition()}
vendor: 4,110 bytes, lines 17-25
17,le.version="19.1.0",le}var Gp;function $u(){return Gp||(Gp=1,iu.exports=nA()),iu.exports}var R=$u();const ni=$x(R),py=Wx({__proto__:null,default:ni},[R]);var au={exports:{}},Os={},su={exports:{}},ou={};/**
18 * @license React
19 * scheduler.production.js
20 *
21 * Copyright (c) Meta Platforms, Inc. and affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */var qp;function iA(){return qp||(qp=1,function(i){function a(O,Y){var q=O.length;O.push(Y);e:for(;0<q;){var ge=q-1>>>1,T=O[ge];if(0<u(T,Y))O[ge]=Y,O[q]=T,q=ge;else break e}}function o(O){return O.length===0?null:O[0]}function r(O){if(O.length===0)return null;var Y=O[0],q=O.pop();if(q!==Y){O[0]=q;e:for(var ge=0,T=O.length,H=T>>>1;ge<H;){var K=2*(ge+1)-1,X=O[K],J=K+1,he=O[J];if(0>u(X,q))J<T&&0>u(he,X)?(O[ge]=he,O[J]=q,ge=J):(O[ge]=X,O[K]=q,ge=K);else if(J<T&&0>u(he,q))O[ge]=he,O[J]=q,ge=J;else break e}}return Y}function u(O,Y){var q=O.sortIndex-Y.sortIndex;return q!==0?q:O.id-Y.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;i.unstable_now=function(){return f.now()}}else{var d=Date,m=d.now();i.unstable_now=function(){return d.now()-m}}var p=[],h=[],y=1,x=null,A=3,C=!1,z=!1,k=!1,V=!1,I=typeof setTimeout=="function"?setTimeout:null,Q=typeof clearTimeout=="function"?clearTimeout:null,B=typeof setImmediate<"u"?setImmediate:null;function F(O){for(var Y=o(h);Y!==null;){if(Y.callback===null)r(h);else if(Y.startTime<=O)r(h),Y.sortIndex=Y.expirationTime,a(p,Y);else break;Y=o(h)}}function P(O){if(k=!1,F(O),!z)if(o(p)!==null)z=!0,Z||(Z=!0,je());else{var Y=o(h);Y!==null&&Ne(P,Y.startTime-O)}}var Z=!1,ne=-1,G=5,ce=-1;function Me(){return V?!0:!(i.unstable_now()-ce<G)}function ke(){if(V=!1,Z){var O=i.unstable_now();ce=O;var Y=!0;try{e:{z=!1,k&&(k=!1,Q(ne),ne=-1),C=!0;var q=A;try{t:{for(F(O),x=o(p);x!==null&&!(x.expirationTime>O&&Me());){var ge=x.callback;if(typeof ge=="function"){x.callback=null,A=x.priorityLevel;var T=ge(x.expirationTime<=O);if(O=i.unstable_now(),typeof T=="function"){x.callback=T,F(O),Y=!0;break t}x===o(p)&&r(p),F(O)}else r(p);x=o(p)}if(x!==null)Y=!0;else{var H=o(h);H!==null&&Ne(P,H.startTime-O),Y=!1}}break e}finally{x=null,A=q,C=!1}Y=void 0}}finally{Y?je():Z=!1}}}var je;if(typeof B=="function")je=function(){B(ke)};else if(typeof MessageChannel<"u"){var pt=new MessageChannel,ft=pt.port2;pt.port1.onmessage=ke,je=function(){ft.postMessage(null)}}else je=function(){I(ke,0)};function Ne(O,Y){ne=I(function(){O(i.unstable_now())},Y)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(O){O.callback=null},i.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):G=0<O?Math.floor(1e3/O):5},i.unstable_getCurrentPriorityLevel=function(){return A},i.unstable_next=function(O){switch(A){case 1:case 2:case 3:var Y=3;break;default:Y=A}var q=A;A=Y;try{return O()}finally{A=q}},i.unstable_requestPaint=function(){V=!0},i.unstable_runWithPriority=function(O,Y){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var q=A;A=O;try{return Y()}finally{A=q}},i.unstable_scheduleCallback=function(O,Y,q){var ge=i.unstable_now();switch(typeof q=="object"&&q!==null?(q=q.delay,q=typeof q=="number"&&0<q?ge+q:ge):q=ge,O){case 1:var T=-1;break;case 2:T=250;break;case 5:T=1073741823;break;case 4:T=1e4;break;default:T=5e3}return T=q+T,O={id:y++,callback:Y,priorityLevel:O,startTime:q,expirationTime:T,sortIndex:-1},q>ge?(O.sortIndex=q,a(h,O),o(p)===null&&O===o(h)&&(k?(Q(ne),ne=-1):k=!0,Ne(P,q-ge))):(O.sortIndex=T,a(p,O),z||C||(z=!0,Z||(Z=!0,je()))),O},i.unstable_shouldYield=Me,i.unstable_wrapCallback=function(O){var Y=A;return function(){var q=A;A=Y;try{return O.apply(this,arguments)}finally{A=q}}}}(ou)),ou}var Hp;function aA(){return Hp||(Hp=1,su.exports=iA()),su.exports}var ru={exports:{}},ct={};
vendor: 13,030 bytes, lines 25-41
25/**
26 * @license React
27 * react-dom.production.js
28 *
29 * Copyright (c) Meta Platforms, Inc. and affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var Pp;function sA(){if(Pp)return ct;Pp=1;var i=$u();function a(p){var h="https://react.dev/errors/"+p;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)h+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+p+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var r={d:{f:o,r:function(){throw Error(a(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},u=Symbol.for("react.portal");function f(p,h,y){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:u,key:x==null?null:""+x,children:p,containerInfo:h,implementation:y}}var d=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(p,h){if(p==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return ct.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,ct.createPortal=function(p,h){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(a(299));return f(p,h,null,y)},ct.flushSync=function(p){var h=d.T,y=r.p;try{if(d.T=null,r.p=2,p)return p()}finally{d.T=h,r.p=y,r.d.f()}},ct.preconnect=function(p,h){typeof p=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,r.d.C(p,h))},ct.prefetchDNS=function(p){typeof p=="string"&&r.d.D(p)},ct.preinit=function(p,h){if(typeof p=="string"&&h&&typeof h.as=="string"){var y=h.as,x=m(y,h.crossOrigin),A=typeof h.integrity=="string"?h.integrity:void 0,C=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;y==="style"?r.d.S(p,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:x,integrity:A,fetchPriority:C}):y==="script"&&r.d.X(p,{crossOrigin:x,integrity:A,fetchPriority:C,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},ct.preinitModule=function(p,h){if(typeof p=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var y=m(h.as,h.crossOrigin);r.d.M(p,{crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&r.d.M(p)},ct.preload=function(p,h){if(typeof p=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var y=h.as,x=m(y,h.crossOrigin);r.d.L(p,y,{crossOrigin:x,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})}},ct.preloadModule=function(p,h){if(typeof p=="string")if(h){var y=m(h.as,h.crossOrigin);r.d.m(p,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else r.d.m(p)},ct.requestFormReset=function(p){r.d.r(p)},ct.unstable_batchedUpdates=function(p,h){return p(h)},ct.useFormState=function(p,h,y){return d.H.useFormState(p,h,y)},ct.useFormStatus=function(){return d.H.useHostTransitionStatus()},ct.version="19.1.0",ct}var Yp;function gy(){if(Yp)return ru.exports;Yp=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(a){console.error(a)}}return i(),ru.exports=sA(),ru.exports}/**
34 * @license React
35 * react-dom-client.production.js
36 *
37 * Copyright (c) Meta Platforms, Inc. and affiliates.
38 *
39 * This source code is licensed under the MIT license found in the
40 * LICENSE file in the root directory of this source tree.
41 */var Xp;function oA(){if(Xp)return Os;Xp=1;var i=aA(),a=$u(),o=gy();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function d(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function m(e){if(f(e)!==e)throw Error(r(188))}function p(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(r(188));return t!==e?null:e}for(var n=e,s=t;;){var l=n.return;if(l===null)break;var c=l.alternate;if(c===null){if(s=l.return,s!==null){n=s;continue}break}if(l.child===c.child){for(c=l.child;c;){if(c===n)return m(l),e;if(c===s)return m(l),t;c=c.sibling}throw Error(r(188))}if(n.return!==s.return)n=l,s=c;else{for(var g=!1,b=l.child;b;){if(b===n){g=!0,n=l,s=c;break}if(b===s){g=!0,s=l,n=c;break}b=b.sibling}if(!g){for(b=c.child;b;){if(b===n){g=!0,n=c,s=l;break}if(b===s){g=!0,s=c,n=l;break}b=b.sibling}if(!g)throw Error(r(189))}}if(n.alternate!==s)throw Error(r(190))}if(n.tag!==3)throw Error(r(188));return n.stateNode.current===n?e:t}function h(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=h(e),t!==null)return t;e=e.sibling}return null}var y=Object.assign,x=Symbol.for("react.element"),A=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),z=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),V=Symbol.for("react.profiler"),I=Symbol.for("react.provider"),Q=Symbol.for("react.consumer"),B=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),Z=Symbol.for("react.suspense_list"),ne=Symbol.for("react.memo"),G=Symbol.for("react.lazy"),ce=Symbol.for("react.activity"),Me=Symbol.for("react.memo_cache_sentinel"),ke=Symbol.iterator;function je(e){return e===null||typeof e!="object"?null:(e=ke&&e[ke]||e["@@iterator"],typeof e=="function"?e:null)}var pt=Symbol.for("react.client.reference");function ft(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===pt?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case z:return"Fragment";case V:return"Profiler";case k:return"StrictMode";case P:return"Suspense";case Z:return"SuspenseList";case ce:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case C:return"Portal";case B:return(e.displayName||"Context")+".Provider";case Q:return(e._context.displayName||"Context")+".Consumer";case F:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ne:return t=e.displayName||null,t!==null?t:ft(e.type)||"Memo";case G:t=e._payload,e=e._init;try{return ft(e(t))}catch{}}return null}var Ne=Array.isArray,O=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,q={pending:!1,data:null,method:null,action:null},ge=[],T=-1;function H(e){return{current:e}}function K(e){0>T||(e.current=ge[T],ge[T]=null,T--)}function X(e,t){T++,ge[T]=e.current,e.current=t}var J=H(null),he=H(null),re=H(null),ve=H(null);function De(e,t){switch(X(re,t),X(he,e),X(J,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?fp(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=fp(t),e=hp(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}K(J),X(J,e)}function Tt(){K(J),K(he),K(re)}function Mn(e){e.memoizedState!==null&&X(ve,e);var t=J.current,n=hp(t,e.type);t!==n&&(X(he,e),X(J,n))}function Dn(e){he.current===e&&(K(J),K(he)),ve.current===e&&(K(ve),Es._currentValue=q)}var Rn=Object.prototype.hasOwnProperty,Hr=i.unstable_scheduleCallback,Pr=i.unstable_cancelCallback,jb=i.unstable_shouldYield,Nb=i.unstable_requestPaint,Ft=i.unstable_now,Ob=i.unstable_getCurrentPriorityLevel,Yd=i.unstable_ImmediatePriority,Xd=i.unstable_UserBlockingPriority,eo=i.unstable_NormalPriority,zb=i.unstable_LowPriority,Qd=i.unstable_IdlePriority,kb=i.log,Vb=i.unstable_setDisableYieldValue,ka=null,wt=null;function jn(e){if(typeof kb=="function"&&Vb(e),wt&&typeof wt.setStrictMode=="function")try{wt.setStrictMode(ka,e)}catch{}}var Ct=Math.clz32?Math.clz32:Ib,_b=Math.log,Ub=Math.LN2;function Ib(e){return e>>>=0,e===0?32:31-(_b(e)/Ub|0)|0}var to=256,no=4194304;function li(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function io(e,t,n){var s=e.pendingLanes;if(s===0)return 0;var l=0,c=e.suspendedLanes,g=e.pingedLanes;e=e.warmLanes;var b=s&134217727;return b!==0?(s=b&~c,s!==0?l=li(s):(g&=b,g!==0?l=li(g):n||(n=b&~e,n!==0&&(l=li(n))))):(b=s&~c,b!==0?l=li(b):g!==0?l=li(g):n||(n=s&~e,n!==0&&(l=li(n)))),l===0?0:t!==0&&t!==l&&(t&c)===0&&(c=l&-l,n=t&-t,c>=n||c===32&&(n&4194048)!==0)?t:l}function Va(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Bb(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Kd(){var e=to;return to<<=1,(to&4194048)===0&&(to=256),e}function Zd(){var e=no;return no<<=1,(no&62914560)===0&&(no=4194304),e}function Yr(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function _a(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Lb(e,t,n,s,l,c){var g=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var b=e.entanglements,S=e.expirationTimes,D=e.hiddenUpdates;for(n=g&~n;0<n;){var _=31-Ct(n),L=1<<_;b[_]=0,S[_]=-1;var j=D[_];if(j!==null)for(D[_]=null,_=0;_<j.length;_++){var N=j[_];N!==null&&(N.lane&=-536870913)}n&=~L}s!==0&&Fd(e,s,0),c!==0&&l===0&&e.tag!==0&&(e.suspendedLanes|=c&~(g&~t))}function Fd(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var s=31-Ct(t);e.entangledLanes|=t,e.entanglements[s]=e.entanglements[s]|1073741824|n&4194090}function Jd(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var s=31-Ct(n),l=1<<s;l&t|e[s]&t&&(e[s]|=t),n&=~l}}function Xr(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 Qr(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Wd(){var e=Y.p;return e!==0?e:(e=window.event,e===void 0?32:Op(e.type))}function Gb(e,t){var n=Y.p;try{return Y.p=e,t()}finally{Y.p=n}}var Nn=Math.random().toString(36).slice(2),rt="__reactFiber$"+Nn,gt="__reactProps$"+Nn,ki="__reactContainer$"+Nn,Kr="__reactEvents$"+Nn,qb="__reactListeners$"+Nn,Hb="__reactHandles$"+Nn,$d="__reactResources$"+Nn,Ua="__reactMarker$"+Nn;function Zr(e){delete e[rt],delete e[gt],delete e[Kr],delete e[qb],delete e[Hb]}function Vi(e){var t=e[rt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ki]||n[rt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=yp(e);e!==null;){if(n=e[rt])return n;e=yp(e)}return t}e=n,n=e.parentNode}return null}function _i(e){if(e=e[rt]||e[ki]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function Ia(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(r(33))}function Ui(e){var t=e[$d];return t||(t=e[$d]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function $e(e){e[Ua]=!0}var ef=new Set,tf={};function ci(e,t){Ii(e,t),Ii(e+"Capture",t)}function Ii(e,t){for(tf[e]=t,e=0;e<t.length;e++)ef.add(t[e])}var Pb=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u
41037D\\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]*$"),nf={},af={};function Yb(e){return Rn.call(af,e)?!0:Rn.call(nf,e)?!1:Pb.test(e)?af[e]=!0:(nf[e]=!0,!1)}function ao(e,t,n){if(Yb(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var s=t.toLowerCase().slice(0,5);if(s!=="data-"&&s!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function so(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function ln(e,t,n,s){if(s===null)e.removeAttribute(n);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+s)}}var Fr,sf;function Bi(e){if(Fr===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Fr=t&&t[1]||"",sf=-1<n.stack.indexOf(`
42    at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
43`+Fr+e+sf}var Jr=!1;function Wr(e,t){if(!e||Jr)return"";Jr=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var s={DetermineComponentFrameRoot:function(){try{if(t){var L=function(){throw Error()};if(Object.defineProperty(L.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(L,[])}catch(N){var j=N}Reflect.construct(e,[],L)}else{try{L.call()}catch(N){j=N}e.call(L.prototype)}}else{try{throw Error()}catch(N){j=N}(L=e())&&typeof L.catch=="function"&&L.catch(function(){})}}catch(N){if(N&&j&&typeof N.stack=="string")return[N.stack,j.stack]}return[null,null]}};s.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var l=Object.getOwnPropertyDescriptor(s.DetermineComponentFrameRoot,"name");l&&l.configurable&&Object.defineProperty(s.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=s.DetermineComponentFrameRoot(),g=c[0],b=c[1];if(g&&b){var S=g.split(`
44`),D=b.split(`
45`);for(l=s=0;s<S.length&&!S[s].includes("DetermineComponentFrameRoot");)s++;for(;l<D.length&&!D[l].includes("DetermineComponentFrameRoot");)l++;if(s===S.length||l===D.length)for(s=S.length-1,l=D.length-1;1<=s&&0<=l&&S[s]!==D[l];)l--;for(;1<=s&&0<=l;s--,l--)if(S[s]!==D[l]){if(s!==1||l!==1)do if(s--,l--,0>l||S[s]!==D[l]){var _=`
46`+S[s].replace(" at new "," at ");return e.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",e.displayName)),_}while(1<=s&&0<=l);break}}}finally{Jr=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Bi(n):""}function Xb(e){switch(e.tag){case 26:case 27:case 5:return Bi(e.type);case 16:return Bi("Lazy");case 13:return Bi("Suspense");case 19:return Bi("SuspenseList");case 0:case 15:return Wr(e.type,!1);case 11:return Wr(e.type.render,!1);case 1:return Wr(e.type,!0);case 31:return Bi("Activity");default:return""}}function of(e){try{var t="";do t+=Xb(e),e=e.return;while(e);return t}catch(n){return`
47Error generating stack: `+n.message+`
48`+n.stack}}function zt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function rf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Qb(e){var t=rf(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),s=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,c=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(g){s=""+g,c.call(this,g)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return s},setValue:function(g){s=""+g},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function oo(e){e._valueTracker||(e._valueTracker=Qb(e))}function lf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),s="";return e&&(s=rf(e)?e.checked?"true":"false":e.value),e=s,e!==n?(t.setValue(e),!0):!1}function ro(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 Kb=/[\n"\\]/g;function kt(e){return e.replace(Kb,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function $r(e,t,n,s,l,c,g,b){e.name="",g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?e.type=g:e.removeAttribute("type"),t!=null?g==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+zt(t)):e.value!==""+zt(t)&&(e.value=""+zt(t)):g!=="submit"&&g!=="reset"||e.removeAttribute("value"),t!=null?el(e,g,zt(t)):n!=null?el(e,g,zt(n)):s!=null&&e.removeAttribute("value"),l==null&&c!=null&&(e.defaultChecked=!!c),l!=null&&(e.checked=l&&typeof l!="function"&&typeof l!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.name=""+zt(b):e.removeAttribute("name")}function cf(e,t,n,s,l,c,g,b){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.type=c),t!=null||n!=null){if(!(c!=="submit"&&c!=="reset"||t!=null))return;n=n!=null?""+zt(n):"",t=t!=null?""+zt(t):n,b||t===e.value||(e.value=t),e.defaultValue=t}s=s??l,s=typeof s!="function"&&typeof s!="symbol"&&!!s,e.checked=b?e.checked:!!s,e.defaultChecked=!!s,g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(e.name=g)}function el(e,t,n){t==="number"&&ro(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function Li(e,t,n,s){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&s&&(e[n].defaultSelected=!0)}else{for(n=""+zt(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,s&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function uf(e,t,n){if(t!=null&&(t=""+zt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+zt(n):""}function df(e,t,n,s){if(t==null){if(s!=null){if(n!=null)throw Error(r(92));if(Ne(s)){if(1<s.length)throw Error(r(93));s=s[0]}n=s}n==null&&(n=""),t=n}n=zt(t),e.defaultValue=n,s=e.textContent,s===n&&s!==""&&s!==null&&(e.value=s)}function Gi(e,t){if(t){var n=e.firstChild;
vendor: 4,140 bytes, line 48
48if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Zb=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 ff(e,t,n){var s=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?s?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":s?e.setProperty(t,n):typeof n!="number"||n===0||Zb.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function hf(e,t,n){if(t!=null&&typeof t!="object")throw Error(r(62));if(e=e.style,n!=null){for(var s in n)!n.hasOwnProperty(s)||t!=null&&t.hasOwnProperty(s)||(s.indexOf("--")===0?e.setProperty(s,""):s==="float"?e.cssFloat="":e[s]="");for(var l in t)s=t[l],t.hasOwnProperty(l)&&n[l]!==s&&ff(e,l,s)}else for(var c in t)t.hasOwnProperty(c)&&ff(e,c,t[c])}function tl(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 Fb=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
48-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"]]),Jb=/^[\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 lo(e){return Jb.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var nl=null;function il(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var qi=null,Hi=null;function mf(e){var t=_i(e);if(t&&(e=t.stateNode)){var n=e[gt]||null;e:switch(e=t.stateNode,t.type){case"input":if($r(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+kt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var s=n[t];if(s!==e&&s.form===e.form){var l=s[gt]||null;if(!l)throw Error(r(90));$r(s,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name)}}for(t=0;t<n.length;t++)s=n[t],s.form===e.form&&lf(s)}break e;case"textarea":uf(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Li(e,!!n.multiple,t,!1)}}}var al=!1;function pf(e,t,n){if(al)return e(t,n);al=!0;try{var s=e(t);return s}finally{if(al=!1,(qi!==null||Hi!==null)&&(Ko(),qi&&(t=qi,e=Hi,Hi=qi=null,mf(t),e)))for(t=0;t<e.length;t++)mf(e[t])}}function Ba(e,t){var n=e.stateNode;if(n===null)return null;var s=n[gt]||null;if(s===null)return null;n=s[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(e=e.type,s=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!s;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(r(231,t,typeof n));return n}var cn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),sl=!1;if(cn)try{var La={};Object.defineProperty(La,"passive",{get:function(){sl=!0}}),window.addEventListener("test",La,La),window.removeEventListener("test",La,La)}catch{sl=!1}var On=null,ol=null,co=null;function gf(){if(co)return co;var e,t=ol,n=t.length,s,l="value"in On?On.value:On.textContent,c=l.length;for(e=0;e<n&&t[e]===l[e];e++);var g=n-e;for(s=1;s<=g&&t[n-s]===l[c-s];s++);return co=l.slice(e,1<s?1-s:void 0)}function uo(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function fo(){return!0}function yf(){return!1}function yt(e){function t(n,s,l,c,g){this._reactName=n,this._targetInst=l,this.type=s,this.nativeEvent=c,this.target=g,this.currentTarget=null;for(var b in e)e.hasOwnProperty(b)&&(n=e[b],this[b]=n?n(c):c[b]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?fo:yf,this.isPropagationStopped=yf,this}return y(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=fo)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=fo)},persist:function(){},isPersistent:fo}),t}var ui={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ho=yt(ui),Ga=y({},ui,{view:0,detail:0}),Wb=yt(Ga),rl,ll,qa,mo=y({},Ga,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ul,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!==qa&&(qa&&e.type==="mousemove"?(rl=e.screenX-qa.screenX,ll=e.screenY-qa.screenY):ll=rl=0,qa=e),rl)},movementY:function(e){return"movementY"in e?e.movementY:ll}}),vf=yt(mo),$b=y({},mo,{dataTransfer:0}),e0=yt($b),t0=y({},Ga,{relatedTarget:0}),cl=yt(t0),n0=y({},ui,{animationName:0,elapsedTime:0,pseudoElement:0}),i0=yt(n0),a0=y({},ui,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}
vendor: 4,495 bytes, line 48
48),s0=yt(a0),o0=y({},ui,{data:0}),bf=yt(o0),r0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},l0={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"},c0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function u0(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=c0[e])?!!t[e]:!1}function ul(){return u0}var d0=y({},Ga,{key:function(e){if(e.key){var t=r0[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=uo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?l0[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ul,charCode:function(e){return e.type==="keypress"?uo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?uo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),f0=yt(d0),h0=y({},mo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xf=yt(h0),m0=y({},Ga,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ul}),p0=yt(m0),g0=y({},ui,{propertyName:0,elapsedTime:0,pseudoElement:0}),y0=yt(g0),v0=y({},mo,{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}),b0=yt(v0),x0=y({},ui,{newState:0,oldState:0}),A0=yt(x0),S0=[9,13,27,32],dl=cn&&"CompositionEvent"in window,Ha=null;cn&&"documentMode"in document&&(Ha=document.documentMode);var T0=cn&&"TextEvent"in window&&!Ha,Af=cn&&(!dl||Ha&&8<Ha&&11>=Ha),Sf=" ",Tf=!1;function wf(e,t){switch(e){case"keyup":return S0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Cf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Pi=!1;function w0(e,t){switch(e){case"compositionend":return Cf(t);case"keypress":return t.which!==32?null:(Tf=!0,Sf);case"textInput":return e=t.data,e===Sf&&Tf?null:e;default:return null}}function C0(e,t){if(Pi)return e==="compositionend"||!dl&&wf(e,t)?(e=gf(),co=ol=On=null,Pi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Af&&t.locale!=="ko"?null:t.data;default:return null}}var E0={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 Ef(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!E0[e.type]:t==="textarea"}function Mf(e,t,n,s){qi?Hi?Hi.push(s):Hi=[s]:qi=s,t=er(t,"onChange"),0<t.length&&(n=new ho("onChange","change",null,n,s),e.push({event:n,listeners:t}))}var Pa=null,Ya=null;function M0(e){rp(e,0)}function po(e){var t=Ia(e);if(lf(t))return e}function Df(e,t){if(e==="change")return t}var Rf=!1;if(cn){var fl;if(cn){var hl="oninput"in document;if(!hl){var jf=document.createElement("div");jf.setAttribute("oninput","return;"),hl=typeof jf.oninput=="function"}fl=hl}else fl=!1;Rf=fl&&(!document.documentMode||9<document.documentMode)}function Nf(){Pa&&(Pa.detachEvent("onpropertychange",Of),Ya=Pa=null)}function Of(e){if(e.propertyName==="value"&&po(Ya)){var t=[];Mf(t,Ya,e,il(e)),pf(M0,t)}}function D0(e,t,n){e==="focusin"?(Nf(),Pa=t,Ya=n,Pa.attachEvent("onpropertychange",Of)):e==="focusout"&&Nf()}function R0(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return po(Ya)}function j0(e,t){if(e==="click")return po(t)}function N0(e,t){if(e==="input"||e==="change")return po(t)}function O0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Et=typeof Object.is=="function"?Object.is:O0;function Xa(e,t){if(Et(e,t))return!0;
vendor: 67,472 bytes, line 48
48if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),s=Object.keys(t);if(n.length!==s.length)return!1;for(s=0;s<n.length;s++){var l=n[s];if(!Rn.call(t,l)||!Et(e[l],t[l]))return!1}return!0}function zf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function kf(e,t){var n=zf(e);e=0;for(var s;n;){if(n.nodeType===3){if(s=e+n.textContent.length,e<=t&&s>=t)return{node:n,offset:t-e};e=s}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=zf(n)}}function Vf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Vf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function _f(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=ro(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ro(e.document)}return t}function ml(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var z0=cn&&"documentMode"in document&&11>=document.documentMode,Yi=null,pl=null,Qa=null,gl=!1;function Uf(e,t,n){var s=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;gl||Yi==null||Yi!==ro(s)||(s=Yi,"selectionStart"in s&&ml(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),Qa&&Xa(Qa,s)||(Qa=s,s=er(pl,"onSelect"),0<s.length&&(t=new ho("onSelect","select",null,t,n),e.push({event:t,listeners:s}),t.target=Yi)))}function di(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Xi={animationend:di("Animation","AnimationEnd"),animationiteration:di("Animation","AnimationIteration"),animationstart:di("Animation","AnimationStart"),transitionrun:di("Transition","TransitionRun"),transitionstart:di("Transition","TransitionStart"),transitioncancel:di("Transition","TransitionCancel"),transitionend:di("Transition","TransitionEnd")},yl={},If={};cn&&(If=document.createElement("div").style,"AnimationEvent"in window||(delete Xi.animationend.animation,delete Xi.animationiteration.animation,delete Xi.animationstart.animation),"TransitionEvent"in window||delete Xi.transitionend.transition);function fi(e){if(yl[e])return yl[e];if(!Xi[e])return e;var t=Xi[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in If)return yl[e]=t[n];return e}var Bf=fi("animationend"),Lf=fi("animationiteration"),Gf=fi("animationstart"),k0=fi("transitionrun"),V0=fi("transitionstart"),_0=fi("transitioncancel"),qf=fi("transitionend"),Hf=new Map,vl="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(" ");vl.push("scrollEnd");function Yt(e,t){Hf.set(e,t),ci(t,[e])}var Pf=new WeakMap;function Vt(e,t){if(typeof e=="object"&&e!==null){var n=Pf.get(e);return n!==void 0?n:(t={value:e,source:t,stack:of(t)},Pf.set(e,t),t)}return{value:e,source:t,stack:of(t)}}var _t=[],Qi=0,bl=0;function go(){for(var e=Qi,t=bl=Qi=0;t<e;){var n=_t[t];_t[t++]=null;var s=_t[t];_t[t++]=null;var l=_t[t];_t[t++]=null;var c=_t[t];if(_t[t++]=null,s!==null&&l!==null){var g=s.pending;g===null?l.next=l:(l.next=g.next,g.next=l),s.pending=l}c!==0&&Yf(n,l,c)}}function yo(e,t,n,s){_t[Qi++]=e,_t[Qi++]=t,_t[Qi++]=n,_t[Qi++]=s,bl|=s,e.lanes|=s,e=e.alternate,e!==null&&(e.lanes|=s)}function xl(e,t,n,s){return yo(e,t,n,s),vo(e)}function Ki(e,t){return yo(e,null,null,t),vo(e)}function Yf(e,t,n){e.lanes|=n;var s=e.alternate;s!==null&&(s.lanes|=n);for(var l=!1,c=e.return;c!==null;)c.childLanes|=n,s=c.alternate,s!==null&&(s.childLanes|=n),c.tag===22&&(e=c.stateNode,e===null||e._visibility&1||(l=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,l&&t!==null&&(l=31-Ct(n),e=c.hiddenUpdates,s=e[l],s===null?e[l]=[t]:s.push(t),t.lane=n|536870912),c):null}function vo(e){if(50<vs)throw vs=0,Ec=null,Error(r(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Zi={};function U0(e,t,n,s){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Mt(e,t,n,s){return new U0(e,t,n,s)}function Al(e){return e=e.prototype,!(!e||!e.isReactComponent)}function un(e,t){var n=e.alternate;return n===null?(n=Mt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Xf(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function bo(e,t,n,s,l,c){var g=0;if(s=e,typeof e=="function")Al(e)&&(g=1);else if(typeof e=="string")g=Bx(e,n,J.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ce:return e=Mt(31,n,t,l),e.elementType=ce,e.lanes=c,e;case z:return hi(n.children,l,c,t);case k:g=8,l|=24;break;case V:return e=Mt(12,n,t,l|2),e.elementType=V,e.lanes=c,e;case P:return e=Mt(13,n,t,l),e.elementType=P,e.lanes=c,e;case Z:return e=Mt(19,n,t,l),e.elementType=Z,e.lanes=c,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case I:case B:g=10;break e;case Q:g=9;break e;case F:g=11;break e;case ne:g=14;break e;case G:g=16,s=null;break e}g=29,n=Error(r(130,e===null?"null":typeof e,"")),s=null}return t=Mt(g,n,t,l),t.elementType=e,t.type=s,t.lanes=c,t}function hi(e,t,n,s){return e=Mt(7,e,s,t),e.lanes=n,e}function Sl(e,t,n){return e=Mt(6,e,null,t),e.lanes=n,e}function Tl(e,t,n){return t=Mt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Fi=[],Ji=0,xo=null,Ao=0,Ut=[],It=0,mi=null,dn=1,fn="";function pi(e,t){Fi[Ji++]=Ao,Fi[Ji++]=xo,xo=e,Ao=t}function Qf(e,t,n){Ut[It++]=dn,Ut[It++]=fn,Ut[It++]=mi,mi=e;var s=dn;e=fn;var l=32-Ct(s)-1;s&=~(1<<l),n+=1;var c=32-Ct(t)+l;if(30<c){var g=l-l%5;c=(s&(1<<g)-1).toString(32),s>>=g,l-=g,dn=1<<32-Ct(t)+l|n<<l|s,fn=c+e}else dn=1<<c|n<<l|s,fn=e}function wl(e){e.return!==null&&(pi(e,1),Qf(e,1,0))}function Cl(e){for(;e===xo;)xo=Fi[--Ji],Fi[Ji]=null,Ao=Fi[--Ji],Fi[Ji]=null;for(;e===mi;)mi=Ut[--It],Ut[It]=null,fn=Ut[--It],Ut[It]=null,dn=Ut[--It],Ut[It]=null}var ht=null,Ie=null,Ae=!1,gi=null,Jt=!1,El=Error(r(519));function yi(e){var t=Error(r(418,""));throw Fa(Vt(t,e)),El}function Kf(e){var t=e.stateNode,n=e.type,s=e.memoizedProps;switch(t[rt]=e,t[gt]=s,n){case"dialog":pe("cancel",t),pe("close",t);break;case"iframe":case"object":case"embed":pe("load",t);break;case"video":case"audio":for(n=0;n<xs.length;n++)pe(xs[n],t);break;case"source":pe("error",t);break;case"img":case"image":case"link":pe("error",t),pe("load",t);break;case"details":pe("toggle",t);break;case"input":pe("invalid",t),cf(t,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0),oo(t);break;case"select":pe("invalid",t);break;case"textarea":pe("invalid",t),df(t,s.value,s.defaultValue,s.children),oo(t)}n=s.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||s.suppressHydrationWarning===!0||dp(t.textContent,n)?(s.popover!=null&&(pe("beforetoggle",t),pe("toggle",t)),s.onScroll!=null&&pe("scroll",t),s.onScrollEnd!=null&&pe("scrollend",t),s.onClick!=null&&(t.onclick=tr),t=!0):t=!1,t||yi(e)}function Zf(e){for(ht=e.return;ht;)switch(ht.tag){case 5:case 13:Jt=!1;return;case 27:case 3:Jt=!0;return;default:ht=ht.return}}function Ka(e){if(e!==ht)return!1;if(!Ae)return Zf(e),Ae=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||qc(e.type,e.memoizedProps)),n=!n),n&&Ie&&yi(e),Zf(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8)if(n=e.data,n==="/$"){if(t===0){Ie=Qt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++;e=e.nextSibling}Ie=null}}else t===27?(t=Ie,Kn(e.type)?(e=Xc,Xc=null,Ie=e):Ie=t):Ie=ht?Qt(e.stateNode.nextSibling):null;return!0}function Za(){Ie=ht=null,Ae=!1}function Ff(){var e=gi;return e!==null&&(xt===null?xt=e:xt.push.apply(xt,e),gi=null),e}function Fa(e){gi===null?gi=[e]:gi.push(e)}var Ml=H(null),vi=null,hn=null;function zn(e,t,n){X(Ml,t._currentValue),t._currentValue=n}function mn(e){e._currentValue=Ml.current,K(Ml)}function Dl(e,t,n){for(;e!==null;){var s=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,s!==null&&(s.childLanes|=t)):s!==null&&(s.childLanes&t)!==t&&(s.childLanes|=t),e===n)break;e=e.return}}function Rl(e,t,n,s){var l=e.child;for(l!==null&&(l.return=e);l!==null;){var c=l.dependencies;if(c!==null){var g=l.child;c=c.firstContext;e:for(;c!==null;){var b=c;c=l;for(var S=0;S<t.length;S++)if(b.context===t[S]){c.lanes|=n,b=c.alternate,b!==null&&(b.lanes|=n),Dl(c.return,n,e),s||(g=null);break e}c=b.next}}else if(l.tag===18){if(g=l.return,g===null)throw Error(r(341));g.lanes|=n,c=g.alternate,c!==null&&(c.lanes|=n),Dl(g,n,e),g=null}else g=l.child;if(g!==null)g.return=l;else for(g=l;g!==null;){if(g===e){g=null;break}if(l=g.sibling,l!==null){l.return=g.return,g=l;break}g=g.return}l=g}}function Ja(e,t,n,s){e=null;for(var l=t,c=!1;l!==null;){if(!c){if((l.flags&524288)!==0)c=!0;else if((l.flags&262144)!==0)break}if(l.tag===10){var g=l.alternate;if(g===null)throw Error(r(387));if(g=g.memoizedProps,g!==null){var b=l.type;Et(l.pendingProps.value,g.value)||(e!==null?e.push(b):e=[b])}}else if(l===ve.current){if(g=l.alternate,g===null)throw Error(r(387));g.memoizedState.memoizedState!==l.memoizedState.memoizedState&&(e!==null?e.push(Es):e=[Es])}l=l.return}e!==null&&Rl(t,e,n,s),t.flags|=262144}function So(e){for(e=e.firstContext;e!==null;){if(!Et(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function bi(e){vi=e,hn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function lt(e){return Jf(vi,e)}function To(e,t){return vi===null&&bi(e),Jf(e,t)}function Jf(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},hn===null){if(e===null)throw Error(r(308));hn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else hn=hn.next=t;return n}var I0=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,s){e.push(s)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},B0=i.unstable_scheduleCallback,L0=i.unstable_NormalPriority,Fe={$$typeof:B,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function jl(){return{controller:new I0,data:new Map,refCount:0}}function Wa(e){e.refCount--,e.refCount===0&&B0(L0,function(){e.controller.abort()})}var $a=null,Nl=0,Wi=0,$i=null;function G0(e,t){if($a===null){var n=$a=[];Nl=0,Wi=zc(),$i={status:"pending",value:void 0,then:function(s){n.push(s)}}}return Nl++,t.then(Wf,Wf),t}function Wf(){if(--Nl===0&&$a!==null){$i!==null&&($i.status="fulfilled");var e=$a;$a=null,Wi=0,$i=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function q0(e,t){var n=[],s={status:"pending",value:null,reason:null,then:function(l){n.push(l)}};return e.then(function(){s.status="fulfilled",s.value=t;for(var l=0;l<n.length;l++)(0,n[l])(t)},function(l){for(s.status="rejected",s.reason=l,l=0;l<n.length;l++)(0,n[l])(void 0)}),s}var $f=O.S;O.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&G0(e,t),$f!==null&&$f(e,t)};var xi=H(null);function Ol(){var e=xi.current;return e!==null?e:Oe.pooledCache}function wo(e,t){t===null?X(xi,xi.current):X(xi,t.pool)}function eh(){var e=Ol();return e===null?null:{parent:Fe._currentValue,pool:e}}var es=Error(r(460)),th=Error(r(474)),Co=Error(r(542)),zl={then:function(){}};function nh(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Eo(){}function ih(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Eo,Eo),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,sh(e),e;default:if(typeof t.status=="string")t.then(Eo,Eo);else{if(e=Oe,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=t,e.status="pending",e.then(function(s){if(t.status==="pending"){var l=t;l.status="fulfilled",l.value=s}},function(s){if(t.status==="pending"){var l=t;l.status="rejected",l.reason=s}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,sh(e),e}throw ts=t,es}}var ts=null;function ah(){if(ts===null)throw Error(r(459));var e=ts;return ts=null,e}function sh(e){if(e===es||e===Co)throw Error(r(483))}var kn=!1;function kl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Vl(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Vn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function _n(e,t,n){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,(Se&2)!==0){var l=s.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),s.pending=t,t=vo(e),Yf(e,null,n),t}return yo(e,s,t,n),vo(e)}function ns(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var s=t.lanes;s&=e.pendingLanes,n|=s,t.lanes=n,Jd(e,n)}}function _l(e,t){var n=e.updateQueue,s=e.alternate;if(s!==null&&(s=s.updateQueue,n===s)){var l=null,c=null;if(n=n.firstBaseUpdate,n!==null){do{var g={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};c===null?l=c=g:c=c.next=g,n=n.next}while(n!==null);c===null?l=c=t:c=c.next=t}else l=c=t;n={baseState:s.baseState,firstBaseUpdate:l,lastBaseUpdate:c,shared:s.shared,callbacks:s.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Ul=!1;function is(){if(Ul){var e=$i;if(e!==null)throw e}}function as(e,t,n,s){Ul=!1;var l=e.updateQueue;kn=!1;var c=l.firstBaseUpdate,g=l.lastBaseUpdate,b=l.shared.pending;if(b!==null){l.shared.pending=null;var S=b,D=S.next;S.next=null,g===null?c=D:g.next=D,g=S;var _=e.alternate;_!==null&&(_=_.updateQueue,b=_.lastBaseUpdate,b!==g&&(b===null?_.firstBaseUpdate=D:b.next=D,_.lastBaseUpdate=S))}if(c!==null){var L=l.baseState;g=0,_=D=S=null,b=c;do{var j=b.lane&-536870913,N=j!==b.lane;if(N?(ye&j)===j:(s&j)===j){j!==0&&j===Wi&&(Ul=!0),_!==null&&(_=_.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});e:{var se=e,ie=b;j=t;var Ee=n;switch(ie.tag){case 1:if(se=ie.payload,typeof se=="function"){L=se.call(Ee,L,j);break e}L=se;break e;case 3:se.flags=se.flags&-65537|128;case 0:if(se=ie.payload,j=typeof se=="function"?se.call(Ee,L,j):se,j==null)break e;L=y({},L,j);break e;case 2:kn=!0}}j=b.callback,j!==null&&(e.flags|=64,N&&(e.flags|=8192),N=l.callbacks,N===null?l.callbacks=[j]:N.push(j))}else N={lane:j,tag:b.tag,payload:b.payload,callback:b.callback,next:null},_===null?(D=_=N,S=L):_=_.next=N,g|=j;if(b=b.next,b===null){if(b=l.shared.pending,b===null)break;N=b,b=N.next,N.next=null,l.lastBaseUpdate=N,l.shared.pending=null}}while(!0);_===null&&(S=L),l.baseState=S,l.firstBaseUpdate=D,l.lastBaseUpdate=_,c===null&&(l.shared.lanes=0),Pn|=g,e.lanes=g,e.memoizedState=L}}function oh(e,t){if(typeof e!="function")throw Error(r(191,e));e.call(t)}function rh(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)oh(n[e],t)}var ea=H(null),Mo=H(0);function lh(e,t){e=An,X(Mo,e),X(ea,t),An=e|t.baseLanes}function Il(){X(Mo,An),X(ea,ea.current)}function Bl(){An=Mo.current,K(ea),K(Mo)}var Un=0,ue=null,we=null,Ke=null,Do=!1,ta=!1,Ai=!1,Ro=0,ss=0,na=null,H0=0;function Ge(){throw Error(r(321))}function Ll(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Et(e[n],t[n]))return!1;return!0}function Gl(e,t,n,s,l,c){return Un=c,ue=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,O.H=e===null||e.memoizedState===null?Yh:Xh,Ai=!1,c=n(s,l),Ai=!1,ta&&(c=uh(t,n,s,l)),ch(e),c}function ch(e){O.H=Vo;var t=we!==null&&we.next!==null;if(Un=0,Ke=we=ue=null,Do=!1,ss=0,na=null,t)throw Error(r(300));e===null||et||(e=e.dependencies,e!==null&&So(e)&&(et=!0))}function uh(e,t,n,s){ue=e;var l=0;do{if(ta&&(na=null),ss=0,ta=!1,25<=l)throw Error(r(301));if(l+=1,Ke=we=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}O.H=F0,c=t(n,s)}while(ta);return c}function P0(){var e=O.H,t=e.useState()[0];return t=typeof t.then=="function"?os(t):t,e=e.useState()[0],(we!==null?we.memoizedState:null)!==e&&(ue.flags|=1024),t}function ql(){var e=Ro!==0;return Ro=0,e}function Hl(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Pl(e){if(Do){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Do=!1}Un=0,Ke=we=ue=null,ta=!1,ss=Ro=0,na=null}function vt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ke===null?ue.memoizedState=Ke=e:Ke=Ke.next=e,Ke}function Ze(){if(we===null){var e=ue.alternate;e=e!==null?e.memoizedState:null}else e=we.next;var t=Ke===null?ue.memoizedState:Ke.next;if(t!==null)Ke=t,we=e;else{if(e===null)throw ue.alternate===null?Error(r(467)):Error(r(310));we=e,e={memoizedState:we.memoizedState,baseState:we.baseState,baseQueue:we.baseQueue,queue:we.queue,next:null},Ke===null?ue.memoizedState=Ke=e:Ke=Ke.next=e}return Ke}function Yl(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function os(e){var t=ss;return ss+=1,na===null&&(na=[]),e=ih(na,e,t),t=ue,(Ke===null?t.memoizedState:Ke.next)===null&&(t=t.alternate,O.H=t===null||t.memoizedState===null?Yh:Xh),e}function jo(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return os(e);if(e.$$typeof===B)return lt(e)}throw Error(r(438,String(e)))}function Xl(e){var t=null,n=ue.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var s=ue.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(t={data:s.data.map(function(l){return l.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Yl(),ue.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),s=0;s<e;s++)n[s]=Me;return t.index++,n}function pn(e,t){return typeof t=="function"?t(e):t}function No(e){var t=Ze();return Ql(t,we,e)}function Ql(e,t,n){var s=e.queue;if(s===null)throw Error(r(311));s.lastRenderedReducer=n;var l=e.baseQueue,c=s.pending;if(c!==null){if(l!==null){var g=l.next;l.next=c.next,c.next=g}t.baseQueue=l=c,s.pending=null}if(c=e.baseState,l===null)e.memoizedState=c;else{t=l.next;var b=g=null,S=null,D=t,_=!1;do{var L=D.lane&-536870913;if(L!==D.lane?(ye&L)===L:(Un&L)===L){var j=D.revertLane;if(j===0)S!==null&&(S=S.next={lane:0,revertLane:0,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),L===Wi&&(_=!0);else if((Un&j)===j){D=D.next,j===Wi&&(_=!0);continue}else L={lane:0,revertLane:D.revertLane,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},S===null?(b=S=L,g=c):S=S.next=L,ue.lanes|=j,Pn|=j;L=D.action,Ai&&n(c,L),c=D.hasEagerState?D.eagerState:n(c,L)}else j={lane:L,revertLane:D.revertLane,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},S===null?(b=S=j,g=c):S=S.next=j,ue.lanes|=L,Pn|=L;D=D.next}while(D!==null&&D!==t);if(S===null?g=c:S.next=b,!Et(c,e.memoizedState)&&(et=!0,_&&(n=$i,n!==null)))throw n;e.memoizedState=c,e.baseState=g,e.baseQueue=S,s.lastRenderedState=c}return l===null&&(s.lanes=0),[e.memoizedState,s.dispatch]}function Kl(e){var t=Ze(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var s=n.dispatch,l=n.pending,c=t.memoizedState;if(l!==null){n.pending=null;var g=l=l.next;do c=e(c,g.action),g=g.next;while(g!==l);Et(c,t.memoizedState)||(et=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),n.lastRenderedState=c}return[c,s]}function dh(e,t,n){var s=ue,l=Ze(),c=Ae;if(c){if(n===void 0)throw Error(r(407));n=n()}else n=t();var g=!Et((we||l).memoizedState,n);g&&(l.memoizedState=n,et=!0),l=l.queue;var b=mh.bind(null,s,l,e);if(rs(2048,8,b,[e]),l.getSnapshot!==t||g||Ke!==null&&Ke.memoizedState.tag&1){if(s.flags|=2048,ia(9,Oo(),hh.bind(null,s,l,n,t),null),Oe===null)throw Error(r(349));c||(Un&124)!==0||fh(s,t,n)}return n}function fh(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ue.updateQueue,t===null?(t=Yl(),ue.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function hh(e,t,n,s){t.value=n,t.getSnapshot=s,ph(t)&&gh(e)}function mh(e,t,n){return n(function(){ph(t)&&gh(e)})}function ph(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Et(e,n)}catch{return!0}}function gh(e){var t=Ki(e,2);t!==null&&Ot(t,e,2)}function Zl(e){var t=vt();if(typeof e=="function"){var n=e;if(e=n(),Ai){jn(!0);try{n()}finally{jn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:pn,lastRenderedState:e},t}function yh(e,t,n,s){return e.baseState=n,Ql(e,we,typeof s=="function"?s:pn)}function Y0(e,t,n,s,l){if(ko(e))throw Error(r(485));if(e=t.action,e!==null){var c={payload:l,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(g){c.listeners.push(g)}};O.T!==null?n(!0):c.isTransition=!1,s(c),n=t.pending,n===null?(c.next=t.pending=c,vh(t,c)):(c.next=n.next,t.pending=n.next=c)}}function vh(e,t){var n=t.action,s=t.payload,l=e.state;if(t.isTransition){var c=O.T,g={};O.T=g;try{var b=n(l,s),S=O.S;S!==null&&S(g,b),bh(e,t,b)}catch(D){Fl(e,t,D)}finally{O.T=c}}else try{c=n(l,s),bh(e,t,c)}catch(D){Fl(e,t,D)}}function bh(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(s){xh(e,t,s)},function(s){return Fl(e,t,s)}):xh(e,t,n)}function xh(e,t,n){t.status="fulfilled",t.value=n,Ah(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,vh(e,n)))}function Fl(e,t,n){var s=e.pending;if(e.pending=null,s!==null){s=s.next;do t.status="rejected",t.reason=n,Ah(t),t=t.next;while(t!==s)}e.action=null}function Ah(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Sh(e,t){return t}function Th(e,t){if(Ae){var n=Oe.formState;if(n!==null){e:{var s=ue;if(Ae){if(Ie){t:{for(var l=Ie,c=Jt;l.nodeType!==8;){if(!c){l=null;break t}if(l=Qt(l.nextSibling),l===null){l=null;break t}}c=l.data,l=c==="F!"||c==="F"?l:null}if(l){Ie=Qt(l.nextSibling),s=l.data==="F!";break e}}yi(s)}s=!1}s&&(t=n[0])}}return n=vt(),n.memoizedState=n.baseState=t,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sh,lastRenderedState:t},n.queue=s,n=qh.bind(null,ue,s),s.dispatch=n,s=Zl(!1),c=tc.bind(null,ue,!1,s.queue),s=vt(),l={state:t,dispatch:null,action:e,pending:null},s.queue=l,n=Y0.bind(null,ue,l,c,n),l.dispatch=n,s.memoizedState=e,[t,n,!1]}function wh(e){var t=Ze();return Ch(t,we,e)}function Ch(e,t,n){if(t=Ql(e,t,Sh)[0],e=No(pn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var s=os(t)}catch(g){throw g===es?Co:g}else s=t;t=Ze();var l=t.queue,c=l.dispatch;return n!==t.memoizedState&&(ue.flags|=2048,ia(9,Oo(),X0.bind(null,l,n),null)),[s,c,e]}function X0(e,t){e.action=t}function Eh(e){var t=Ze(),n=we;if(n!==null)return Ch(t,n,e);Ze(),t=t.memoizedState,n=Ze();var s=n.queue.dispatch;return n.memoizedState=e,[t,s,!1]}function ia(e,t,n,s){return e={tag:e,create:n,deps:s,inst:t,next:null},t=ue.updateQueue,t===null&&(t=Yl(),ue.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(s=n.next,n.next=e,e.next=s,t.lastEffect=e),e}function Oo(){return{destroy:void 0,resource:void 0}}function Mh(){return Ze().memoizedState}function zo(e,t,n,s){var l=vt();s=s===void 0?null:s,ue.flags|=e,l.memoizedState=ia(1|t,Oo(),n,s)}function rs(e,t,n,s){var l=Ze();s=s===void 0?null:s;var c=l.memoizedState.inst;we!==null&&s!==null&&Ll(s,we.memoizedState.deps)?l.memoizedState=ia(t,c,n,s):(ue.flags|=e,l.memoizedState=ia(1|t,c,n,s))}function Dh(e,t){zo(8390656,8,e,t)}function Rh(e,t){rs(2048,8,e,t)}function jh(e,t){return rs(4,2,e,t)}function Nh(e,t){return rs(4,4,e,t)}function Oh(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function zh(e,t,n){n=n!=null?n.concat([e]):null,rs(4,4,Oh.bind(null,t,e),n)}function Jl(){}function kh(e,t){var n=Ze();t=t===void 0?null:t;var s=n.memoizedState;return t!==null&&Ll(t,s[1])?s[0]:(n.memoizedState=[e,t],e)}function Vh(e,t){var n=Ze();t=t===void 0?null:t;var s=n.memoizedState;if(t!==null&&Ll(t,s[1]))return s[0];if(s=e(),Ai){jn(!0);try{e()}finally{jn(!1)}}return n.memoizedState=[s,t],s}function Wl(e,t,n){return n===void 0||(Un&1073741824)!==0?e.memoizedState=t:(e.memoizedState=n,e=Im(),ue.lanes|=e,Pn|=e,n)}function _h(e,t,n,s){return Et(n,t)?n:ea.current!==null?(e=Wl(e,n,s),Et(e,t)||(et=!0),e):(Un&42)===0?(et=!0,e.memoizedState=n):(e=Im(),ue.lanes|=e,Pn|=e,t)}function Uh(e,t,n,s,l){var c=Y.p;Y.p=c!==0&&8>c?c:8;var g=O.T,b={};O.T=b,tc(e,!1,t,n);try{var S=l(),D=O.S;if(D!==null&&D(b,S),S!==null&&typeof S=="object"&&typeof S.then=="function"){var _=q0(S,s);ls(e,t,_,Nt(e))}else ls(e,t,s,Nt(e))}catch(L){ls(e,t,{then:function(){},status:"rejected",reason:L},Nt())}finally{Y.p=c,O.T=g}}function Q0(){}function $l(e,t,n,s){if(e.tag!==5)throw Error(r(476));var l=Ih(e).queue;Uh(e,l,t,q,n===null?Q0:function(){return Bh(e),n(s)})}function Ih(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:q,baseState:q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:pn,lastRenderedState:q},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:pn,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Bh(e){var t=Ih(e).next.queue;ls(e,t,{},Nt())}function ec(){return lt(Es)}function Lh(){return Ze().memoizedState}function Gh(){return Ze().memoizedState}function K0(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Nt();e=Vn(n);var s=_n(t,e,n);s!==null&&(Ot(s,t,n),ns(s,t,n)),t={cache:jl()},e.payload=t;return}t=t.return}}function Z0(e,t,n){var s=Nt();n={lane:s,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},ko(e)?Hh(t,n):(n=xl(e,t,n,s),n!==null&&(Ot(n,e,s),Ph(n,t,s)))}function qh(e,t,n){var s=Nt();ls(e,t,n,s)}function ls(e,t,n,s){var l={lane:s,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(ko(e))Hh(t,l);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null))try{var g=t.lastRenderedState,b=c(g,n);if(l.hasEagerState=!0,l.eagerState=b,Et(b,g))return yo(e,t,l,0),Oe===null&&go(),!1}catch{}finally{}if(n=xl(e,t,l,s),n!==null)return Ot(n,e,s),Ph(n,t,s),!0}return!1}function tc(e,t,n,s){if(s={lane:2,revertLane:zc(),action:s,hasEagerState:!1,eagerState:null,next:null},ko(e)){if(t)throw Error(r(479))}else t=xl(e,n,s,2),t!==null&&Ot(t,e,2)}function ko(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function Hh(e,t){ta=Do=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ph(e,t,n){if((n&4194048)!==0){var s=t.lanes;s&=e.pendingLanes,n|=s,t.lanes=n,Jd(e,n)}}var Vo={readContext:lt,use:jo,useCallback:Ge,useContext:Ge,useEffect:Ge,useImperativeHandle:Ge,useLayoutEffect:Ge,useInsertionEffect:Ge,useMemo:Ge,useReducer:Ge,useRef:Ge,useState:Ge,useDebugValue:Ge,useDeferredValue:Ge,useTransition:Ge,useSyncExternalStore:Ge,useId:Ge,useHostTransitionStatus:Ge,useFormState:Ge,useActionState:Ge,useOptimistic:Ge,useMemoCache:Ge,useCacheRefresh:Ge},Yh={readContext:lt,use:jo,useCallback:function(e,t){return vt().memoizedState=[e,t===void 0?null:t],e},useContext:lt,useEffect:Dh,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,zo(4194308,4,Oh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return zo(4194308,4,e,t)},useInsertionEffect:function(e,t){zo(4,2,e,t)},useMemo:function(e,t){var n=vt();t=t===void 0?null:t;var s=e();if(Ai){jn(!0);try{e()}finally{jn(!1)}}return n.memoizedState=[s,t],s},useReducer:function(e,t,n){var s=vt();if(n!==void 0){var l=n(t);if(Ai){jn(!0);try{n(t)}finally{jn(!1)}}}else l=t;return s.memoizedState=s.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:l},s.queue=e,e=e.dispatch=Z0.bind(null,ue,e),[s.memoizedState,e]},useRef:function(e){var t=vt();return e={current:e},t.memoizedState=e},useState:function(e){e=Zl(e);var t=e.queue,n=qh.bind(null,ue,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Jl,useDeferredValue:function(e,t){var n=vt();return Wl(n,e,t)},useTransition:function(){var e=Zl(!1);return e=Uh.bind(null,ue,e.queue,!0,!1),vt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var s=ue,l=vt();if(Ae){if(n===void 0)throw Error(r(407));n=n()}else{if(n=t(),Oe===null)throw Error(r(349));(ye&124)!==0||fh(s,t,n)}l.memoizedState=n;var c={value:n,getSnapshot:t};return l.queue=c,Dh(mh.bind(null,s,c,e),[e]),s.flags|=2048,ia(9,Oo(),hh.bind(null,s,c,n,t),null),n},useId:function(){var e=vt(),t=Oe.identifierPrefix;if(Ae){var n=fn,s=dn;n=(s&~(1<<32-Ct(s)-1)).toString(32)+n,t="«"+t+"R"+n,n=Ro++,0<n&&(t+="H"+n.toString(32)),t+="»"}else n=H0++,t="«"+t+"r"+n.toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:ec,useFormState:Th,useActionState:Th,useOptimistic:function(e){var t=vt();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=tc.bind(null,ue,!0,n),n.dispatch=t,[e,t]},useMemoCache:Xl,useCacheRefresh:function(){return vt().memoizedState=K0.bind(null,ue)}},Xh={readContext:lt,use:jo,useCallback:kh,useContext:lt,useEffect:Rh,useImperativeHandle:zh,useInsertionEffect:jh,useLayoutEffect:Nh,useMemo:Vh,useReducer:No,useRef:Mh,useState:function(){return No(pn)},useDebugValue:Jl,useDeferredValue:function(e,t){var n=Ze();return _h(n,we.memoizedState,e,t)},useTransition:function(){var e=No(pn)[0],t=Ze().memoizedState;return[typeof e=="boolean"?e:os(e),t]},useSyncExternalStore:dh,useId:Lh,useHostTransitionStatus:ec,useFormState:wh,useActionState:wh,useOptimistic:function(e,t){var n=Ze();return yh(n,we,e,t)},useMemoCache:Xl,useCacheRefresh:Gh},F0={readContext:lt,use:jo,useCallback:kh,useContext:lt,useEffect:Rh,useImperativeHandle:zh,useInsertionEffect:jh,useLayoutEffect:Nh,useMemo:Vh,useReducer:Kl,useRef:Mh,useState:function(){return Kl(pn)},useDebugValue:Jl,useDeferredValue:function(e,t){var n=Ze();return we===null?Wl(n,e,t):_h(n,we.memoizedState,e,t)},useTransition:function(){var e=Kl(pn)[0],t=Ze().memoizedState;return[typeof e=="boolean"?e:os(e),t]},useSyncExternalStore:dh,useId:Lh,useHostTransitionStatus:ec,useFormState:Eh,useActionState:Eh,useOptimistic:function(e,t){var n=Ze();return we!==null?yh(n,we,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:Xl,useCacheRefresh:Gh},aa=null,cs=0;function _o(e){var t=cs;return cs+=1,aa===null&&(aa=[]),ih(aa,e,t)}function us(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Uo(e,t){throw t.$$typeof===x?Error(r(525)):(e=Object.prototype.toString.call(t),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Qh(e){var t=e._init;return t(e._payload)}function Kh(e){function t(E,w){if(e){var M=E.deletions;M===null?(E.deletions=[w],E.flags|=16):M.push(w)}}function n(E,w){if(!e)return null;for(;w!==null;)t(E,w),w=w.sibling;return null}function s(E){for(var w=new Map;E!==null;)E.key!==null?w.set(E.key,E):w.set(E.index,E),E=E.sibling;return w}function l(E,w){return E=un(E,w),E.index=0,E.sibling=null,E}function c(E,w,M){return E.index=M,e?(M=E.alternate,M!==null?(M=M.index,M<w?(E.flags|=67108866,w):M):(E.flags|=67108866,w)):(E.flags|=1048576,w)}function g(E){return e&&E.alternate===null&&(E.flags|=67108866),E}function b(E,w,M,U){return w===null||w.tag!==6?(w=Sl(M,E.mode,U),w.return=E,w):(w=l(w,M),w.return=E,w)}function S(E,w,M,U){var W=M.type;return W===z?_(E,w,M.props.children,U,M.key):w!==null&&(w.elementType===W||typeof W=="object"&&W!==null&&W.$$typeof===G&&Qh(W)===w.type)?(w=l(w,M.props),us(w,M),w.return=E,w):(w=bo(M.type,M.key,M.props,null,E.mode,U),us(w,M),w.return=E,w)}function D(E,w,M,U){return w===null||w.tag!==4||w.stateNode.containerInfo!==M.containerInfo||w.stateNode.implementation!==M.implementation?(w=Tl(M,E.mode,U),w.return=E,w):(w=l(w,M.children||[]),w.return=E,w)}function _(E,w,M,U,W){return w===null||w.tag!==7?(w=hi(M,E.mode,U,W),w.return=E,w):(w=l(w,M),w.return=E,w)}function L(E,w,M){if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return w=Sl(""+w,E.mode,M),w.return=E,w;if(typeof w=="object"&&w!==null){switch(w.$$typeof){case A:return M=bo(w.type,w.key,w.props,null,E.mode,M),us(M,w),M.return=E,M;case C:return w=Tl(w,E.mode,M),w.return=E,w;case G:var U=w._init;return w=U(w._payload),L(E,w,M)}if(Ne(w)||je(w))return w=hi(w,E.mode,M,null),w.return=E,w;if(typeof w.then=="function")return L(E,_o(w),M);if(w.$$typeof===B)return L(E,To(E,w),M);Uo(E,w)}return null}function j(E,w,M,U){var W=w!==null?w.key:null;if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return W!==null?null:b(E,w,""+M,U);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case A:return M.key===W?S(E,w,M,U):null;case C:return M.key===W?D(E,w,M,U):null;case G:return W=M._init,M=W(M._payload),j(E,w,M,U)}if(Ne(M)||je(M))return W!==null?null:_(E,w,M,U,null);if(typeof M.then=="function")return j(E,w,_o(M),U);if(M.$$typeof===B)return j(E,w,To(E,M),U);Uo(E,M)}return null}function N(E,w,M,U,W){if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return E=E.get(M)||null,b(w,E,""+U,W);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case A:return E=E.get(U.key===null?M:U.key)||null,S(w,E,U,W);case C:return E=E.get(U.key===null?M:U.key)||null,D(w,E,U,W);case G:var fe=U._init;return U=fe(U._payload),N(E,w,M,U,W)}if(Ne(U)||je(U))return E=E.get(M)||null,_(w,E,U,W,null);if(typeof U.then=="function")return N(E,w,M,_o(U),W);if(U.$$typeof===B)return N(E,w,M,To(w,U),W);Uo(w,U)}return null}function se(E,w,M,U){for(var W=null,fe=null,te=w,ae=w=0,nt=null;te!==null&&ae<M.length;ae++){te.index>ae?(nt=te,te=null):nt=te.sibling;var be=j(E,te,M[ae],U);if(be===null){te===null&&(te=nt);break}e&&te&&be.alternate===null&&t(E,te),w=c(be,w,ae),fe===null?W=be:fe.sibling=be,fe=be,te=nt}if(ae===M.length)return n(E,te),Ae&&pi(E,ae),W;if(te===null){for(;ae<M.length;ae++)te=L(E,M[ae],U),te!==null&&(w=c(te,w,ae),fe===null?W=te:fe.sibling=te,fe=te);return Ae&&pi(E,ae),W}for(te=s(te);ae<M.length;ae++)nt=N(te,E,ae,M[ae],U),nt!==null&&(e&&nt.alternate!==null&&te.delete(nt.key===null?ae:nt.key),w=c(nt,w,ae),fe===null?W=nt:fe.sibling=nt,fe=nt);return e&&te.forEach(function($n){return t(E,$n)}),Ae&&pi(E,ae),W}function ie(E,w,M,U){if(M==null)throw Error(r(151));for(var W=null,fe=null,te=w,ae=w=0,nt=null,be=M.next();te!==null&&!be.done;ae++,be=M.next()){te.index>ae?(nt=te,te=null):nt=te.sibling;var $n=j(E,te,be.value,U);if($n===null){te===null&&(te=nt);break}e&&te&&$n.alternate===null&&t(E,te),w=c($n,w,ae),fe===null?W=$n:fe.sibling=$n,fe=$n,te=nt}if(be.done)return n(E,te),Ae&&pi(E,ae),W;if(te===null){for(;!be.done;ae++,be=M.next())be=L(E,be.value,U),be!==null&&(w=c(be,w,ae),fe===null?W=be:fe.sibling=be,fe=be);return Ae&&pi(E,ae),W}for(te=s(te);!be.done;ae++,be=M.next())be=N(te,E,ae,be.value,U),be!==null&&(e&&be.alternate!==null&&te.delete(be.key===null?ae:be.key),w=c(be,w,ae),fe===null?W=be:fe.sibling=be,fe=be);return e&&te.forEach(function(Jx){return t(E,Jx)}),Ae&&pi(E,ae),W}function Ee(E,w,M,U){if(typeof M=="object"&&M!==null&&M.type===z&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case A:e:{for(var W=M.key;w!==null;){if(w.key===W){if(W=M.type,W===z){if(w.tag===7){n(E,w.sibling),U=l(w,M.props.children),U.return=E,E=U;break e}}else if(w.elementType===W||typeof W=="object"&&W!==null&&W.$$typeof===G&&Qh(W)===w.type){n(E,w.sibling),U=l(w,M.props),us(U,M),U.return=E,E=U;break e}n(E,w);break}else t(E,w);w=w.sibling}M.type===z?(U=hi(M.props.children,E.mode,U,M.key),U.return=E,E=U):(U=bo(M.type,M.key,M.props,null,E.mode,U),us(U,M),U.return=E,E=U)}return g(E);case C:e:{for(W=M.key;w!==null;){if(w.key===W)if(w.tag===4&&w.stateNode.containerInfo===M.containerInfo&&w.stateNode.implementation===M.implementation){n(E,w.sibling),U=l(w,M.children||[]),U.return=E,E=U;break e}else{n(E,w);break}else t(E,w);w=w.sibling}U=Tl(M,E.mode,U),U.return=E,E=U}return g(E);case G:return W=M._init,M=W(M._payload),Ee(E,w,M,U)}if(Ne(M))return se(E,w,M,U);if(je(M)){if(W=je(M),typeof W!="function")throw Error(r(150));return M=W.call(M),ie(E,w,M,U)}if(typeof M.then=="function")return Ee(E,w,_o(M),U);if(M.$$typeof===B)return Ee(E,w,To(E,M),U);Uo(E,M)}return typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint"?(M=""+M,w!==null&&w.tag===6?(n(E,w.sibling),U=l(w,M),U.return=E,E=U):(n(E,w),U=Sl(M,E.mode,U),U.return=E,E=U),g(E)):n(E,w)}return function(E,w,M,U){try{cs=0;var W=Ee(E,w,M,U);return aa=null,W}catch(te){if(te===es||te===Co)throw te;var fe=Mt(29,te,null,E.mode);return fe.lanes=U,fe.return=E,fe}finally{}}}var sa=Kh(!0),Zh=Kh(!1),Bt=H(null),Wt=null;function In(e){var t=e.alternate;X(Je,Je.current&1),X(Bt,e),Wt===null&&(t===null||ea.current!==null||t.memoizedState!==null)&&(Wt=e)}function Fh(e){if(e.tag===22){if(X(Je,Je.current),X(Bt,e),Wt===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(Wt=e)}}else Bn()}function Bn(){X(Je,Je.current),X(Bt,Bt.current)}function gn(e){K(Bt),Wt===e&&(Wt=null),K(Je)}var Je=H(0);function Io(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||Yc(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function nc(e,t,n,s){t=e.memoizedState,n=n(s,t),n=n==null?t:y({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var ic={enqueueSetState:function(e,t,n){e=e._reactInternals;var s=Nt(),l=Vn(s);l.payload=t,n!=null&&(l.callback=n),t=_n(e,l,s),t!==null&&(Ot(t,e,s),ns(t,e,s))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var s=Nt(),l=Vn(s);l.tag=1,l.payload=t,n!=null&&(l.callback=n),t=_n(e,l,s),t!==null&&(Ot(t,e,s),ns(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Nt(),s=Vn(n);s.tag=2,t!=null&&(s.callback=t),t=_n(e,s,n),t!==null&&(Ot(t,e,n),ns(t,e,n))}};function Jh(e,t,n,s,l,c,g){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(s,c,g):t.prototype&&t.prototype.isPureReactComponent?!Xa(n,s)||!Xa(l,c):!0}function Wh(e,t,n,s){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,s),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,s),t.state!==e&&ic.enqueueReplaceState(t,t.state,null)}function Si(e,t){var n=t;if("ref"in t){n={};for(var s in t)s!=="ref"&&(n[s]=t[s])}if(e=e.defaultProps){n===t&&(n=y({},n));for(var l in e)n[l]===void 0&&(n[l]=e[l])}return n}var Bo=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function $h(e){Bo(e)}function em(e){console.error(e)}function tm(e){Bo(e)}function Lo(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(s){setTimeout(function(){throw s})}}function nm(e,t,n){try{var s=e.onCaughtError;s(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(l){setTimeout(function(){throw l})}}function ac(e,t,n){return n=Vn(n),n.tag=3,n.payload={element:null},n.callback=function(){Lo(e,t)},n}function im(e){return e=Vn(e),e.tag=3,e}function am(e,t,n,s){var l=n.type.getDerivedStateFromError;if(typeof l=="function"){var c=s.value;e.payload=function(){return l(c)},e.callback=function(){nm(t,n,s)}}var g=n.stateNode;g!==null&&typeof g.componentDidCatch=="function"&&(e.callback=function(){nm(t,n,s),typeof l!="function"&&(Yn===null?Yn=new Set([this]):Yn.add(this));var b=s.stack;this.componentDidCatch(s.value,{componentStack:b!==null?b:""})})}function J0(e,t,n,s,l){if(n.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(t=n.alternate,t!==null&&Ja(t,n,l,!0),n=Bt.current,n!==null){switch(n.tag){case 13:return Wt===null?Dc():n.alternate===null&&Be===0&&(Be=3),n.flags&=-257,n.flags|=65536,n.lanes=l,s===zl?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([s]):t.add(s),jc(e,s,l)),!1;case 22:return n.flags|=65536,s===zl?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([s])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([s]):n.add(s)),jc(e,s,l)),!1}throw Error(r(435,n.tag))}return jc(e,s,l),Dc(),!1}if(Ae)return t=Bt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=l,s!==El&&(e=Error(r(422),{cause:s}),Fa(Vt(e,n)))):(s!==El&&(t=Error(r(423),{cause:s}),Fa(Vt(t,n))),e=e.current.alternate,e.flags|=65536,l&=-l,e.lanes|=l,s=Vt(s,n),l=ac(e.stateNode,s,l),_l(e,l),Be!==4&&(Be=2)),!1;var c=Error(r(520),{cause:s});if(c=Vt(c,n),ys===null?ys=[c]:ys.push(c),Be!==4&&(Be=2),t===null)return!0;s=Vt(s,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=l&-l,n.lanes|=e,e=ac(n.stateNode,s,e),_l(n,e),!1;case 1:if(t=n.type,c=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Yn===null||!Yn.has(c))))return n.flags|=65536,l&=-l,n.lanes|=l,l=im(l),am(l,e,n,s),_l(n,l),!1}n=n.return}while(n!==null);return!1}var sm=Error(r(461)),et=!1;function it(e,t,n,s){t.child=e===null?Zh(t,null,n,s):sa(t,e.child,n,s)}function om(e,t,n,s,l){n=n.render;var c=t.ref;if("ref"in s){var g={};for(var b in s)b!=="ref"&&(g[b]=s[b])}else g=s;return bi(t),s=Gl(e,t,n,g,c,l),b=ql(),e!==null&&!et?(Hl(e,t,l),yn(e,t,l)):(Ae&&b&&wl(t),t.flags|=1,it(e,t,s,l),t.child)}function rm(e,t,n,s,l){if(e===null){var c=n.type;return typeof c=="function"&&!Al(c)&&c.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=c,lm(e,t,c,s,l)):(e=bo(n.type,null,s,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(c=e.child,!fc(e,l)){var g=c.memoizedProps;if(n=n.compare,n=n!==null?n:Xa,n(g,s)&&e.ref===t.ref)return yn(e,t,l)}return t.flags|=1,e=un(c,s),e.ref=t.ref,e.return=t,t.child=e}function lm(e,t,n,s,l){if(e!==null){var c=e.memoizedProps;if(Xa(c,s)&&e.ref===t.ref)if(et=!1,t.pendingProps=s=c,fc(e,l))(e.flags&131072)!==0&&(et=!0);else return t.lanes=e.lanes,yn(e,t,l)}return sc(e,t,n,s,l)}function cm(e,t,n){var s=t.pendingProps,l=s.children,c=e!==null?e.memoizedState:null;if(s.mode==="hidden"){if((t.flags&128)!==0){if(s=c!==null?c.baseLanes|n:n,e!==null){for(l=t.child=e.child,c=0;l!==null;)c=c|l.lanes|l.childLanes,l=l.sibling;t.childLanes=c&~s}else t.childLanes=0,t.child=null;return um(e,t,s,n)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&wo(t,c!==null?c.cachePool:null),c!==null?lh(t,c):Il(),Fh(t);else return t.lanes=t.childLanes=536870912,um(e,t,c!==null?c.baseLanes|n:n,n)}else c!==null?(wo(t,c.cachePool),lh(t,c),Bn(),t.memoizedState=null):(e!==null&&wo(t,null),Il(),Bn());return it(e,t,l,n),t.child}function um(e,t,n,s){var l=Ol();return l=l===null?null:{parent:Fe._currentValue,pool:l},t.memoizedState={baseLanes:n,cachePool:l},e!==null&&wo(t,null),Il(),Fh(t),e!==null&&Ja(e,t,s,!0),null}function Go(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(r(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function sc(e,t,n,s,l){return bi(t),n=Gl(e,t,n,s,void 0,l),s=ql(),e!==null&&!et?(Hl(e,t,l),yn(e,t,l)):(Ae&&s&&wl(t),t.flags|=1,it(e,t,n,l),t.child)}function dm(e,t,n,s,l,c){return bi(t),t.updateQueue=null,n=uh(t,s,n,l),ch(e),s=ql(),e!==null&&!et?(Hl(e,t,c),yn(e,t,c)):(Ae&&s&&wl(t),t.flags|=1,it(e,t,n,c),t.child)}function fm(e,t,n,s,l){if(bi(t),t.stateNode===null){var c=Zi,g=n.contextType;typeof g=="object"&&g!==null&&(c=lt(g)),c=new n(s,c),t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=ic,t.stateNode=c,c._reactInternals=t,c=t.stateNode,c.props=s,c.state=t.memoizedState,c.refs={},kl(t),g=n.contextType,c.context=typeof g=="object"&&g!==null?lt(g):Zi,c.state=t.memoizedState,g=n.getDerivedStateFromProps,typeof g=="function"&&(nc(t,n,g,s),c.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(g=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),g!==c.state&&ic.enqueueReplaceState(c,c.state,null),as(t,s,c,l),is(),c.state=t.memoizedState),typeof c.componentDidMount=="function"&&(t.flags|=4194308),s=!0}else if(e===null){c=t.stateNode;var b=t.memoizedProps,S=Si(n,b);c.props=S;var D=c.context,_=n.contextType;g=Zi,typeof _=="object"&&_!==null&&(g=lt(_));var L=n.getDerivedStateFromProps;_=typeof L=="function"||typeof c.getSnapshotBeforeUpdate=="function",b=t.pendingProps!==b,_||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(b||D!==g)&&Wh(t,c,s,g),kn=!1;var j=t.memoizedState;c.state=j,as(t,s,c,l),is(),D=t.memoizedState,b||j!==D||kn?(typeof L=="function"&&(nc(t,n,L,s),D=t.memoizedState),(S=kn||Jh(t,n,S,s,j,D,g))?(_||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(t.flags|=4194308)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=s,t.memoizedState=D),c.props=s,c.state=D,c.context=g,s=S):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),s=!1)}else{c=t.stateNode,Vl(e,t),g=t.memoizedProps,_=Si(n,g),c.props=_,L=t.pendingProps,j=c.context,D=n.contextType,S=Zi,typeof D=="object"&&D!==null&&(S=lt(D)),b=n.getDerivedStateFromProps,(D=typeof b=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(g!==L||j!==S)&&Wh(t,c,s,S),kn=!1,j=t.memoizedState,c.state=j,as(t,s,c,l),is();var N=t.memoizedState;g!==L||j!==N||kn||e!==null&&e.dependencies!==null&&So(e.dependencies)?(typeof b=="function"&&(nc(t,n,b,s),N=t.memoizedState),(_=kn||Jh(t,n,_,s,j,N,S)||e!==null&&e.dependencies!==null&&So(e.dependencies))?(D||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(s,N,S),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(s,N,S)),typeof c.componentDidUpdate=="function"&&(t.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof c.componentDidUpdate!="function"||g===e.memoizedProps&&j===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&j===e.memoizedState||(t.flags|=1024),t.memoizedProps=s,t.memoizedState=N),c.props=s,c.state=N,c.context=S,s=_):(typeof c.componentDidUpdate!="function"||g===e.memoizedProps&&j===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&j===e.memoizedState||(t.flags|=1024),s=!1)}return c=s,Go(e,t),s=(t.flags&128)!==0,c||s?(c=t.stateNode,n=s&&typeof n.getDerivedStateFromError!="function"?null:c.render(),t.flags|=1,e!==null&&s?(t.child=sa(t,e.child,null,l),t.child=sa(t,null,n,l)):it(e,t,n,l),t.memoizedState=c.state,e=t.child):e=yn(e,t,l),e}function hm(e,t,n,s){return Za(),t.flags|=256,it(e,t,n,s),t.child}var oc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function rc(e){return{baseLanes:e,cachePool:eh()}}function lc(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=Lt),e}function mm(e,t,n){var s=t.pendingProps,l=!1,c=(t.flags&128)!==0,g;if((g=c)||(g=e!==null&&e.memoizedState===null?!1:(Je.current&2)!==0),g&&(l=!0,t.flags&=-129),g=(t.flags&32)!==0,t.flags&=-33,e===null){if(Ae){if(l?In(t):Bn(),Ae){var b=Ie,S;if(S=b){e:{for(S=b,b=Jt;S.nodeType!==8;){if(!b){b=null;break e}if(S=Qt(S.nextSibling),S===null){b=null;break e}}b=S}b!==null?(t.memoizedState={dehydrated:b,treeContext:mi!==null?{id:dn,overflow:fn}:null,retryLane:536870912,hydrationErrors:null},S=Mt(18,null,null,0),S.stateNode=b,S.return=t,t.child=S,ht=t,Ie=null,S=!0):S=!1}S||yi(t)}if(b=t.memoizedState,b!==null&&(b=b.dehydrated,b!==null))return Yc(b)?t.lanes=32:t.lanes=536870912,null;gn(t)}return b=s.children,s=s.fallback,l?(Bn(),l=t.mode,b=qo({mode:"hidden",children:b},l),s=hi(s,l,n,null),b.return=t,s.return=t,b.sibling=s,t.child=b,l=t.child,l.memoizedState=rc(n),l.childLanes=lc(e,g,n),t.memoizedState=oc,s):(In(t),cc(t,b))}if(S=e.memoizedState,S!==null&&(b=S.dehydrated,b!==null)){if(c)t.flags&256?(In(t),t.flags&=-257,t=uc(e,t,n)):t.memoizedState!==null?(Bn(),t.child=e.child,t.flags|=128,t=null):(Bn(),l=s.fallback,b=t.mode,s=qo({mode:"visible",children:s.children},b),l=hi(l,b,n,null),l.flags|=2,s.return=t,l.return=t,s.sibling=l,t.child=s,sa(t,e.child,null,n),s=t.child,s.memoizedState=rc(n),s.childLanes=lc(e,g,n),t.memoizedState=oc,t=l);else if(In(t),Yc(b)){if(g=b.nextSibling&&b.nextSibling.dataset,g)var D=g.dgst;g=D,s=Error(r(419)),s.stack="",s.digest=g,Fa({value:s,source:null,stack:null}),t=uc(e,t,n)}else if(et||Ja(e,t,n,!1),g=(n&e.childLanes)!==0,et||g){if(g=Oe,g!==null&&(s=n&-n,s=(s&42)!==0?1:Xr(s),s=(s&(g.suspendedLanes|n))!==0?0:s,s!==0&&s!==S.retryLane))throw S.retryLane=s,Ki(e,s),Ot(g,e,s),sm;b.data==="$?"||Dc(),t=uc(e,t,n)}else b.data==="$?"?(t.flags|=192,t.child=e.child,t=null):(e=S.treeContext,Ie=Qt(b.nextSibling),ht=t,Ae=!0,gi=null,Jt=!1,e!==null&&(Ut[It++]=dn,Ut[It++]=fn,Ut[It++]=mi,dn=e.id,fn=e.overflow,mi=t),t=cc(t,s.children),t.flags|=4096);return t}return l?(Bn(),l=s.fallback,b=t.mode,S=e.child,D=S.sibling,s=un(S,{mode:"hidden",children:s.children}),s.subtreeFlags=S.subtreeFlags&65011712,D!==null?l=un(D,l):(l=hi(l,b,n,null),l.flags|=2),l.return=t,s.return=t,s.sibling=l,t.child=s,s=l,l=t.child,b=e.child.memoizedState,b===null?b=rc(n):(S=b.cachePool,S!==null?(D=Fe._currentValue,S=S.parent!==D?{parent:D,pool:D}:S):S=eh(),b={baseLanes:b.baseLanes|n,cachePool:S}),l.memoizedState=b,l.childLanes=lc(e,g,n),t.memoizedState=oc,s):(In(t),n=e.child,e=n.sibling,n=un(n,{mode:"visible",children:s.children}),n.return=t,n.sibling=null,e!==null&&(g=t.deletions,g===null?(t.deletions=[e],t.flags|=16):g.push(e)),t.child=n,t.memoizedState=null,n)}function cc(e,t){return t=qo({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function qo(e,t){return e=Mt(22,e,null,t),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function uc(e,t,n){return sa(t,e.child,null,n),e=cc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function pm(e,t,n){e.lanes|=t;var s=e.alternate;s!==null&&(s.lanes|=t),Dl(e.return,t,n)}function dc(e,t,n,s,l){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:s,tail:n,tailMode:l}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=s,c.tail=n,c.tailMode=l)}function gm(e,t,n){var s=t.pendingProps,l=s.revealOrder,c=s.tail;if(it(e,t,s.children,n),s=Je.current,(s&2)!==0)s=s&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&pm(e,n,t);else if(e.tag===19)pm(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}s&=1}switch(X(Je,s),l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&Io(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),dc(t,!1,l,n,c);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&Io(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}dc(t,!0,n,null,c);break;case"together":dc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function yn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Pn|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Ja(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,n=un(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=un(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function fc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&So(e)))}function W0(e,t,n){switch(t.tag){case 3:De(t,t.stateNode.containerInfo),zn(t,Fe,e.memoizedState.cache),Za();break;case 27:case 5:Mn(t);break;case 4:De(t,t.stateNode.containerInfo);break;case 10:zn(t,t.type,t.memoizedProps.value);break;case 13:var s=t.memoizedState;if(s!==null)return s.dehydrated!==null?(In(t),t.flags|=128,null):(n&t.child.childLanes)!==0?mm(e,t,n):(In(t),e=yn(e,t,n),e!==null?e.sibling:null);In(t);break;case 19:var l=(e.flags&128)!==0;if(s=(n&t.childLanes)!==0,s||(Ja(e,t,n,!1),s=(n&t.childLanes)!==0),l){if(s)return gm(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),X(Je,Je.current),s)break;return null;case 22:case 23:return t.lanes=0,cm(e,t,n);case 24:zn(t,Fe,e.memoizedState.cache)}return yn(e,t,n)}function ym(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)et=!0;else{if(!fc(e,n)&&(t.flags&128)===0)return et=!1,W0(e,t,n);et=(e.flags&131072)!==0}else et=!1,Ae&&(t.flags&1048576)!==0&&Qf(t,Ao,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var s=t.elementType,l=s._init;if(s=l(s._payload),t.type=s,typeof s=="function")Al(s)?(e=Si(s,e),t.tag=1,t=fm(null,t,s,e,n)):(t.tag=0,t=sc(null,t,s,e,n));else{if(s!=null){if(l=s.$$typeof,l===F){t.tag=11,t=om(null,t,s,e,n);break e}else if(l===ne){t.tag=14,t=rm(null,t,s,e,n);break e}}throw t=ft(s)||s,Error(r(306,t,""))}}return t;case 0:return sc(e,t,t.type,t.pendingProps,n);case 1:return s=t.type,l=Si(s,t.pendingProps),fm(e,t,s,l,n);case 3:e:{if(De(t,t.stateNode.containerInfo),e===null)throw Error(r(387));s=t.pendingProps;var c=t.memoizedState;l=c.element,Vl(e,t),as(t,s,null,n);var g=t.memoizedState;if(s=g.cache,zn(t,Fe,s),s!==c.cache&&Rl(t,[Fe],n,!0),is(),s=g.element,c.isDehydrated)if(c={element:s,isDehydrated:!1,cache:g.cache},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){t=hm(e,t,s,n);break e}else if(s!==l){l=Vt(Error(r(424)),t),Fa(l),t=hm(e,t,s,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Ie=Qt(e.firstChild),ht=t,Ae=!0,gi=null,Jt=!0,n=Zh(t,null,s,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Za(),s===l){t=yn(e,t,n);break e}it(e,t,s,n)}t=t.child}return t;case 26:return Go(e,t),e===null?(n=Ap(t.type,null,t.pendingProps,null))?t.memoizedState=n:Ae||(n=t.type,e=t.pendingProps,s=nr(re.current).createElement(n),s[rt]=t,s[gt]=e,st(s,n,e),$e(s),t.stateNode=s):t.memoizedState=Ap(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Mn(t),e===null&&Ae&&(s=t.stateNode=vp(t.type,t.pendingProps,re.current),ht=t,Jt=!0,l=Ie,Kn(t.type)?(Xc=l,Ie=Qt(s.firstChild)):Ie=l),it(e,t,t.pendingProps.children,n),Go(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Ae&&((l=s=Ie)&&(s=Ex(s,t.type,t.pendingProps,Jt),s!==null?(t.stateNode=s,ht=t,Ie=Qt(s.firstChild),Jt=!1,l=!0):l=!1),l||yi(t)),Mn(t),l=t.type,c=t.pendingProps,g=e!==null?e.memoizedProps:null,s=c.children,qc(l,c)?s=null:g!==null&&qc(l,g)&&(t.flags|=32),t.memoizedState!==null&&(l=Gl(e,t,P0,null,null,n),Es._currentValue=l),Go(e,t),it(e,t,s,n),t.child;case 6:return e===null&&Ae&&((e=n=Ie)&&(n=Mx(n,t.pendingProps,Jt),n!==null?(t.stateNode=n,ht=t,Ie=null,e=!0):e=!1),e||yi(t)),null;case 13:return mm(e,t,n);case 4:return De(t,t.stateNode.containerInfo),s=t.pendingProps,e===null?t.child=sa(t,null,s,n):it(e,t,s,n),t.child;case 11:return om(e,t,t.type,t.pendingProps,n);case 7:return it(e,t,t.pendingProps,n),t.child;case 8:return it(e,t,t.pendingProps.children,n),t.child;case 12:return it(e,t,t.pendingProps.children,n),t.child;case 10:return s=t.pendingProps,zn(t,t.type,s.value),it(e,t,s.children,n),t.child;case 9:return l=t.type._context,s=t.pendingProps.children,bi(t),l=lt(l),s=s(l),t.flags|=1,it(e,t,s,n),t.child;case 14:return rm(e,t,t.type,t.pendingProps,n);case 15:return lm(e,t,t.type,t.pendingProps,n);case 19:return gm(e,t,n);case 31:return s=t.pendingProps,n=t.mode,s={mode:s.mode,children:s.children},e===null?(n=qo(s,n),n.ref=t.ref,t.child=n,n.return=t,t=n):(n=un(e.child,s),n.ref=t.ref,t.child=n,n.return=t,t=n),t;case 22:return cm(e,t,n);case 24:return bi(t),s=lt(Fe),e===null?(l=Ol(),l===null&&(l=Oe,c=jl(),l.pooledCache=c,c.refCount++,c!==null&&(l.pooledCacheLanes|=n),l=c),t.memoizedState={parent:s,cache:l},kl(t),zn(t,Fe,l)):((e.lanes&n)!==0&&(Vl(e,t),as(t,null,null,n),is()),l=e.memoizedState,c=t.memoizedState,l.parent!==s?(l={parent:s,cache:s},t.memoizedState=l,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=l),zn(t,Fe,s)):(s=c.cache,zn(t,Fe,s),s!==l.cache&&Rl(t,[Fe],n,!0))),it(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function vn(e){e.flags|=4}function vm(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Ep(t)){if(t=Bt.current,t!==null&&((ye&4194048)===ye?Wt!==null:(ye&62914560)!==ye&&(ye&536870912)===0||t!==Wt))throw ts=zl,th;e.flags|=8192}}function Ho(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Zd():536870912,e.lanes|=t,ca|=t)}function ds(e,t){if(!Ae)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var s=null;n!==null;)n.alternate!==null&&(s=n),n=n.sibling;s===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:s.sibling=null}}function Ve(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,s=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,s|=l.subtreeFlags&65011712,s|=l.flags&65011712,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,s|=l.subtreeFlags,s|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=s,e.childLanes=n,t}function $0(e,t,n){var s=t.pendingProps;switch(Cl(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ve(t),null;case 1:return Ve(t),null;case 3:return n=t.stateNode,s=null,e!==null&&(s=e.memoizedState.cache),t.memoizedState.cache!==s&&(t.flags|=2048),mn(Fe),Tt(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Ka(t)?vn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Ff())),Ve(t),null;case 26:return n=t.memoizedState,e===null?(vn(t),n!==null?(Ve(t),vm(t,n)):(Ve(t),t.flags&=-16777217)):n?n!==e.memoizedState?(vn(t),Ve(t),vm(t,n)):(Ve(t),t.flags&=-16777217):(e.memoizedProps!==s&&vn(t),Ve(t),t.flags&=-16777217),null;case 27:Dn(t),n=re.current;var l=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==s&&vn(t);else{if(!s){if(t.stateNode===null)throw Error(r(166));return Ve(t),null}e=J.current,Ka(t)?Kf(t):(e=vp(l,s,n),t.stateNode=e,vn(t))}return Ve(t),null;case 5:if(Dn(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==s&&vn(t);else{if(!s){if(t.stateNode===null)throw Error(r(166));return Ve(t),null}if(e=J.current,Ka(t))Kf(t);else{switch(l=nr(re.current),e){case 1:e=l.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:e=l.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":e=l.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":e=l.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof s.is=="string"?l.createElement("select",{is:s.is}):l.createElement("select"),s.multiple?e.multiple=!0:s.size&&(e.size=s.size);break;default:e=typeof s.is=="string"?l.createElement(n,{is:s.is}):l.createElement(n)}}e[rt]=t,e[gt]=s;e:for(l=t.child;l!==null;){if(l.tag===5||l.tag===6)e.appendChild(l.stateNode);else if(l.tag!==4&&l.tag!==27&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break e;for(;l.sibling===null;){if(l.return===null||l.return===t)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}t.stateNode=e;e:switch(st(e,n,s),n){case"button":case"input":case"select":case"textarea":e=!!s.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&vn(t)}}return Ve(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==s&&vn(t);else{if(typeof s!="string"&&t.stateNode===null)throw Error(r(166));if(e=re.current,Ka(t)){if(e=t.stateNode,n=t.memoizedProps,s=null,l=ht,l!==null)switch(l.tag){case 27:case 5:s=l.memoizedProps}e[rt]=t,e=!!(e.nodeValue===n||s!==null&&s.suppressHydrationWarning===!0||dp(e.nodeValue,n)),e||yi(t)}else e=nr(e).createTextNode(s),e[rt]=t,t.stateNode=e}return Ve(t),null;case 13:if(s=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(l=Ka(t),s!==null&&s.dehydrated!==null){if(e===null){if(!l)throw Error(r(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(r(317));l[rt]=t}else Za(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ve(t),l=!1}else l=Ff(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l)return t.flags&256?(gn(t),t):(gn(t),null)}if(gn(t),(t.flags&128)!==0)return t.lanes=n,t;if(n=s!==null,e=e!==null&&e.memoizedState!==null,n){s=t.child,l=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(l=s.alternate.memoizedState.cachePool.pool);var c=null;s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(c=s.memoizedState.cachePool.pool),c!==l&&(s.flags|=2048)}return n!==e&&n&&(t.child.flags|=8192),Ho(t,t.updateQueue),Ve(t),null;case 4:return Tt(),e===null&&Uc(t.stateNode.containerInfo),Ve(t),null;case 10:return mn(t.type),Ve(t),null;case 19:if(K(Je),l=t.memoizedState,l===null)return Ve(t),null;if(s=(t.flags&128)!==0,c=l.rendering,c===null)if(s)ds(l,!1);else{if(Be!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=Io(e),c!==null){for(t.flags|=128,ds(l,!1),e=c.updateQueue,t.updateQueue=e,Ho(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Xf(n,e),n=n.sibling;return X(Je,Je.current&1|2),t.child}e=e.sibling}l.tail!==null&&Ft()>Xo&&(t.flags|=128,s=!0,ds(l,!1),t.lanes=4194304)}else{if(!s)if(e=Io(c),e!==null){if(t.flags|=128,s=!0,e=e.updateQueue,t.updateQueue=e,Ho(t,e),ds(l,!0),l.tail===null&&l.tailMode==="hidden"&&!c.alternate&&!Ae)return Ve(t),null}else 2*Ft()-l.renderingStartTime>Xo&&n!==536870912&&(t.flags|=128,s=!0,ds(l,!1),t.lanes=4194304);l.isBackwards?(c.sibling=t.child,t.child=c):(e=l.last,e!==null?e.sibling=c:t.child=c,l.last=c)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Ft(),t.sibling=null,e=Je.current,X(Je,s?e&1|2:e&1),t):(Ve(t),null);case 22:case 23:return gn(t),Bl(),s=t.memoizedState!==null,e!==null?e.memoizedState!==null!==s&&(t.flags|=8192):s&&(t.flags|=8192),s?(n&536870912)!==0&&(t.flags&128)===0&&(Ve(t),t.subtreeFlags&6&&(t.flags|=8192)):Ve(t),n=t.updateQueue,n!==null&&Ho(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),s=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(s=t.memoizedState.cachePool.pool),s!==n&&(t.flags|=2048),e!==null&&K(xi),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),mn(Fe),Ve(t),null;case 25:return null;case 30:return null}throw Error(r(156,t.tag))}function ex(e,t){switch(Cl(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return mn(Fe),Tt(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Dn(t),null;case 13:if(gn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));Za()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return K(Je),null;case 4:return Tt(),null;case 10:return mn(t.type),null;case 22:case 23:return gn(t),Bl(),e!==null&&K(xi),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return mn(Fe),null;case 25:return null;default:return null}}function bm(e,t){switch(Cl(t),t.tag){case 3:mn(Fe),Tt();break;case 26:case 27:case 5:Dn(t);break;case 4:Tt();break;case 13:gn(t);break;case 19:K(Je);break;case 10:mn(t.type);break;case 22:case 23:gn(t),Bl(),e!==null&&K(xi);break;case 24:mn(Fe)}}function fs(e,t){try{var n=t.updateQueue,s=n!==null?n.lastEffect:null;if(s!==null){var l=s.next;n=l;do{if((n.tag&e)===e){s=void 0;var c=n.create,g=n.inst;s=c(),g.destroy=s}n=n.next}while(n!==l)}}catch(b){Re(t,t.return,b)}}function Ln(e,t,n){try{var s=t.updateQueue,l=s!==null?s.lastEffect:null;if(l!==null){var c=l.next;s=c;do{if((s.tag&e)===e){var g=s.inst,b=g.destroy;if(b!==void 0){g.destroy=void 0,l=t;var S=n,D=b;try{D()}catch(_){Re(l,S,_)}}}s=s.next}while(s!==c)}}catch(_){Re(t,t.return,_)}}function xm(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{rh(t,n)}catch(s){Re(e,e.return,s)}}}function Am(e,t,n){n.props=Si(e.type,e.memoizedProps),n.state=e.memoizedState;
vendor: 2,464 bytes, line 48
48try{n.componentWillUnmount()}catch(s){Re(e,t,s)}}function hs(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var s=e.stateNode;break;case 30:s=e.stateNode;break;default:s=e.stateNode}typeof n=="function"?e.refCleanup=n(s):n.current=s}}catch(l){Re(e,t,l)}}function $t(e,t){var n=e.ref,s=e.refCleanup;if(n!==null)if(typeof s=="function")try{s()}catch(l){Re(e,t,l)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(l){Re(e,t,l)}else n.current=null}function Sm(e){var t=e.type,n=e.memoizedProps,s=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&s.focus();break e;case"img":n.src?s.src=n.src:n.srcSet&&(s.srcset=n.srcSet)}}catch(l){Re(e,e.return,l)}}function hc(e,t,n){try{var s=e.stateNode;Ax(s,e.type,n,t),s[gt]=t}catch(l){Re(e,e.return,l)}}function Tm(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Kn(e.type)||e.tag===4}function mc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Tm(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&&Kn(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function pc(e,t,n){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=tr));else if(s!==4&&(s===27&&Kn(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(pc(e,t,n),e=e.sibling;e!==null;)pc(e,t,n),e=e.sibling}function Po(e,t,n){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(s!==4&&(s===27&&Kn(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Po(e,t,n),e=e.sibling;e!==null;)Po(e,t,n),e=e.sibling}function wm(e){var t=e.stateNode,n=e.memoizedProps;try{for(var s=e.type,l=t.attributes;l.length;)t.removeAttributeNode(l[0]);st(t,s,n),t[rt]=e,t[gt]=n}catch(c){Re(e,e.return,c)}}var bn=!1,qe=!1,gc=!1,Cm=typeof WeakSet=="function"?WeakSet:Set,tt=null;function tx(e,t){if(e=e.containerInfo,Lc=lr,e=_f(e),ml(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var s=n.getSelection&&n.getSelection();if(s&&s.rangeCount!==0){n=s.anchorNode;
vendor: 5,063 bytes, line 48
48var l=s.anchorOffset,c=s.focusNode;s=s.focusOffset;try{n.nodeType,c.nodeType}catch{n=null;break e}var g=0,b=-1,S=-1,D=0,_=0,L=e,j=null;t:for(;;){for(var N;L!==n||l!==0&&L.nodeType!==3||(b=g+l),L!==c||s!==0&&L.nodeType!==3||(S=g+s),L.nodeType===3&&(g+=L.nodeValue.length),(N=L.firstChild)!==null;)j=L,L=N;for(;;){if(L===e)break t;if(j===n&&++D===l&&(b=g),j===c&&++_===s&&(S=g),(N=L.nextSibling)!==null)break;L=j,j=L.parentNode}L=N}n=b===-1||S===-1?null:{start:b,end:S}}else n=null}n=n||{start:0,end:0}}else n=null;for(Gc={focusedElem:e,selectionRange:n},lr=!1,tt=t;tt!==null;)if(t=tt,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,tt=e;else for(;tt!==null;){switch(t=tt,c=t.alternate,e=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&c!==null){e=void 0,n=t,l=c.memoizedProps,c=c.memoizedState,s=n.stateNode;try{var se=Si(n.type,l,n.elementType===n.type);e=s.getSnapshotBeforeUpdate(se,c),s.__reactInternalSnapshotBeforeUpdate=e}catch(ie){Re(n,n.return,ie)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)Pc(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Pc(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(r(163))}if(e=t.sibling,e!==null){e.return=t.return,tt=e;break}tt=t.return}}function Em(e,t,n){var s=n.flags;switch(n.tag){case 0:case 11:case 15:Gn(e,n),s&4&&fs(5,n);break;case 1:if(Gn(e,n),s&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(g){Re(n,n.return,g)}else{var l=Si(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(l,t,e.__reactInternalSnapshotBeforeUpdate)}catch(g){Re(n,n.return,g)}}s&64&&xm(n),s&512&&hs(n,n.return);break;case 3:if(Gn(e,n),s&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{rh(e,t)}catch(g){Re(n,n.return,g)}}break;case 27:t===null&&s&4&&wm(n);case 26:case 5:Gn(e,n),t===null&&s&4&&Sm(n),s&512&&hs(n,n.return);break;case 12:Gn(e,n);break;case 13:Gn(e,n),s&4&&Rm(e,n),s&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=ux.bind(null,n),Dx(e,n))));break;case 22:if(s=n.memoizedState!==null||bn,!s){t=t!==null&&t.memoizedState!==null||qe,l=bn;var c=qe;bn=s,(qe=t)&&!c?qn(e,n,(n.subtreeFlags&8772)!==0):Gn(e,n),bn=l,qe=c}break;case 30:break;default:Gn(e,n)}}function Mm(e){var t=e.alternate;t!==null&&(e.alternate=null,Mm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Zr(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var ze=null,bt=!1;function xn(e,t,n){for(n=n.child;n!==null;)Dm(e,t,n),n=n.sibling}function Dm(e,t,n){if(wt&&typeof wt.onCommitFiberUnmount=="function")try{wt.onCommitFiberUnmount(ka,n)}catch{}switch(n.tag){case 26:qe||$t(n,t),xn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:qe||$t(n,t);var s=ze,l=bt;Kn(n.type)&&(ze=n.stateNode,bt=!1),xn(e,t,n),Ss(n.stateNode),ze=s,bt=l;break;case 5:qe||$t(n,t);case 6:if(s=ze,l=bt,ze=null,xn(e,t,n),ze=s,bt=l,ze!==null)if(bt)try{(ze.nodeType===9?ze.body:ze.nodeName==="HTML"?ze.ownerDocument.body:ze).removeChild(n.stateNode)}catch(c){Re(n,t,c)}else try{ze.removeChild(n.stateNode)}catch(c){Re(n,t,c)}break;case 18:ze!==null&&(bt?(e=ze,gp(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),js(e)):gp(ze,n.stateNode));break;case 4:s=ze,l=bt,ze=n.stateNode.containerInfo,bt=!0,xn(e,t,n),ze=s,bt=l;break;case 0:case 11:case 14:case 15:qe||Ln(2,n,t),qe||Ln(4,n,t),xn(e,t,n);break;case 1:qe||($t(n,t),s=n.stateNode,typeof s.componentWillUnmount=="function"&&Am(n,t,s)),xn(e,t,n);break;case 21:xn(e,t,n);break;case 22:qe=(s=qe)||n.memoizedState!==null,xn(e,t,n),qe=s;break;default:xn(e,t,n)}}function Rm(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{js(e)}catch(n){Re(t,t.return,n)}}function nx(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Cm),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Cm),t;default:throw Error(r(435,e.tag))}}function yc(e,t){var n=nx(e);t.forEach(function(s){var l=dx.bind(null,e,s);n.has(s)||(n.add(s),s.then(l,l))})}function Dt(e,t){var n=t.deletions;if(n!==null)for(var s=0;s<n.length;s++){var l=n[s],c=e,g=t,b=g;e:for(;b!==null;){switch(b.tag){case 27:if(Kn(b.type)){ze=b.stateNode,bt=!1;break e}break;case 5:ze=b.stateNode,bt=!1;break e;case 3:case 4:ze=b.stateNode.containerInfo,bt=!0;break e}b=b.return}if(ze===null)throw Error(r(160));Dm(c,g,l),ze=null,bt=!1,c=l.alternate,c!==null&&(c.return=null),l.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)jm(t,e),t=t.sibling}var Xt=null;function jm(e,t){var n=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Dt(t,e),Rt(e),s&4&&(Ln(3,e,e.return),fs(3,e),Ln(5,e,e.return));break;
vendor: 5,258 bytes, line 48
48case 1:Dt(t,e),Rt(e),s&512&&(qe||n===null||$t(n,n.return)),s&64&&bn&&(e=e.updateQueue,e!==null&&(s=e.callbacks,s!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?s:n.concat(s))));break;case 26:var l=Xt;if(Dt(t,e),Rt(e),s&512&&(qe||n===null||$t(n,n.return)),s&4){var c=n!==null?n.memoizedState:null;if(s=e.memoizedState,n===null)if(s===null)if(e.stateNode===null){e:{s=e.type,n=e.memoizedProps,l=l.ownerDocument||l;t:switch(s){case"title":c=l.getElementsByTagName("title")[0],(!c||c[Ua]||c[rt]||c.namespaceURI==="http://www.w3.org/2000/svg"||c.hasAttribute("itemprop"))&&(c=l.createElement(s),l.head.insertBefore(c,l.querySelector("head > title"))),st(c,s,n),c[rt]=e,$e(c),s=c;break e;case"link":var g=wp("link","href",l).get(s+(n.href||""));if(g){for(var b=0;b<g.length;b++)if(c=g[b],c.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&c.getAttribute("rel")===(n.rel==null?null:n.rel)&&c.getAttribute("title")===(n.title==null?null:n.title)&&c.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){g.splice(b,1);break t}}c=l.createElement(s),st(c,s,n),l.head.appendChild(c);break;case"meta":if(g=wp("meta","content",l).get(s+(n.content||""))){for(b=0;b<g.length;b++)if(c=g[b],c.getAttribute("content")===(n.content==null?null:""+n.content)&&c.getAttribute("name")===(n.name==null?null:n.name)&&c.getAttribute("property")===(n.property==null?null:n.property)&&c.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&c.getAttribute("charset")===(n.charSet==null?null:n.charSet)){g.splice(b,1);break t}}c=l.createElement(s),st(c,s,n),l.head.appendChild(c);break;default:throw Error(r(468,s))}c[rt]=e,$e(c),s=c}e.stateNode=s}else Cp(l,e.type,e.stateNode);else e.stateNode=Tp(l,s,e.memoizedProps);else c!==s?(c===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):c.count--,s===null?Cp(l,e.type,e.stateNode):Tp(l,s,e.memoizedProps)):s===null&&e.stateNode!==null&&hc(e,e.memoizedProps,n.memoizedProps)}break;case 27:Dt(t,e),Rt(e),s&512&&(qe||n===null||$t(n,n.return)),n!==null&&s&4&&hc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Dt(t,e),Rt(e),s&512&&(qe||n===null||$t(n,n.return)),e.flags&32){l=e.stateNode;try{Gi(l,"")}catch(N){Re(e,e.return,N)}}s&4&&e.stateNode!=null&&(l=e.memoizedProps,hc(e,l,n!==null?n.memoizedProps:l)),s&1024&&(gc=!0);break;case 6:if(Dt(t,e),Rt(e),s&4){if(e.stateNode===null)throw Error(r(162));s=e.memoizedProps,n=e.stateNode;try{n.nodeValue=s}catch(N){Re(e,e.return,N)}}break;case 3:if(sr=null,l=Xt,Xt=ir(t.containerInfo),Dt(t,e),Xt=l,Rt(e),s&4&&n!==null&&n.memoizedState.isDehydrated)try{js(t.containerInfo)}catch(N){Re(e,e.return,N)}gc&&(gc=!1,Nm(e));break;case 4:s=Xt,Xt=ir(e.stateNode.containerInfo),Dt(t,e),Rt(e),Xt=s;break;case 12:Dt(t,e),Rt(e);break;case 13:Dt(t,e),Rt(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Tc=Ft()),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,yc(e,s)));break;case 22:l=e.memoizedState!==null;var S=n!==null&&n.memoizedState!==null,D=bn,_=qe;if(bn=D||l,qe=_||S,Dt(t,e),qe=_,bn=D,Rt(e),s&8192)e:for(t=e.stateNode,t._visibility=l?t._visibility&-2:t._visibility|1,l&&(n===null||S||bn||qe||Ti(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){S=n=t;try{if(c=S.stateNode,l)g=c.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none";else{b=S.stateNode;var L=S.memoizedProps.style,j=L!=null&&L.hasOwnProperty("display")?L.display:null;b.style.display=j==null||typeof j=="boolean"?"":(""+j).trim()}}catch(N){Re(S,S.return,N)}}}else if(t.tag===6){if(n===null){S=t;try{S.stateNode.nodeValue=l?"":S.memoizedProps}catch(N){Re(S,S.return,N)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}s&4&&(s=e.updateQueue,s!==null&&(n=s.retryQueue,n!==null&&(s.retryQueue=null,yc(e,n))));break;case 19:Dt(t,e),Rt(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,yc(e,s)));break;case 30:break;case 21:break;default:Dt(t,e),Rt(e)}}function Rt(e){var t=e.flags;if(t&2){try{for(var n,s=e.return;s!==null;){if(Tm(s)){n=s;break}s=s.return}if(n==null)throw Error(r(160));switch(n.tag){case 27:var l=n.stateNode,c=mc(e);Po(e,c,l);break;case 5:var g=n.stateNode;n.flags&32&&(Gi(g,""),n.flags&=-33);var b=mc(e);Po(e,b,g);break;case 3:case 4:var S=n.stateNode.containerInfo,D=mc(e);pc(e,D,S);break;default:throw Error(r(161))}}catch(_){Re(e,e.return,_)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Nm(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Nm(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Gn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Em(e,t.alternate,t),t=t.sibling}function Ti(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Ln(4,t,t.return),Ti(t);break;case 1:$t(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&Am(t,t.return,n),Ti(t);break;case 27:Ss(t.stateNode);case 26:case 5:$t(t,t.return),Ti(t);break;case 22:t.memoizedState===null&&Ti(t);break;case 30:Ti(t);break;default:Ti(t)}e=e.sibling}}
vendor: 29,160 bytes, lines 48-49
48function qn(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var s=t.alternate,l=e,c=t,g=c.flags;switch(c.tag){case 0:case 11:case 15:qn(l,c,n),fs(4,c);break;case 1:if(qn(l,c,n),s=c,l=s.stateNode,typeof l.componentDidMount=="function")try{l.componentDidMount()}catch(D){Re(s,s.return,D)}if(s=c,l=s.updateQueue,l!==null){var b=s.stateNode;try{var S=l.shared.hiddenCallbacks;if(S!==null)for(l.shared.hiddenCallbacks=null,l=0;l<S.length;l++)oh(S[l],b)}catch(D){Re(s,s.return,D)}}n&&g&64&&xm(c),hs(c,c.return);break;case 27:wm(c);case 26:case 5:qn(l,c,n),n&&s===null&&g&4&&Sm(c),hs(c,c.return);break;case 12:qn(l,c,n);break;case 13:qn(l,c,n),n&&g&4&&Rm(l,c);break;case 22:c.memoizedState===null&&qn(l,c,n),hs(c,c.return);break;case 30:break;default:qn(l,c,n)}t=t.sibling}}function vc(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&Wa(n))}function bc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Wa(e))}function en(e,t,n,s){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Om(e,t,n,s),t=t.sibling}function Om(e,t,n,s){var l=t.flags;switch(t.tag){case 0:case 11:case 15:en(e,t,n,s),l&2048&&fs(9,t);break;case 1:en(e,t,n,s);break;case 3:en(e,t,n,s),l&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Wa(e)));break;case 12:if(l&2048){en(e,t,n,s),e=t.stateNode;try{var c=t.memoizedProps,g=c.id,b=c.onPostCommit;typeof b=="function"&&b(g,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(S){Re(t,t.return,S)}}else en(e,t,n,s);break;case 13:en(e,t,n,s);break;case 23:break;case 22:c=t.stateNode,g=t.alternate,t.memoizedState!==null?c._visibility&2?en(e,t,n,s):ms(e,t):c._visibility&2?en(e,t,n,s):(c._visibility|=2,oa(e,t,n,s,(t.subtreeFlags&10256)!==0)),l&2048&&vc(g,t);break;case 24:en(e,t,n,s),l&2048&&bc(t.alternate,t);break;default:en(e,t,n,s)}}function oa(e,t,n,s,l){for(l=l&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var c=e,g=t,b=n,S=s,D=g.flags;switch(g.tag){case 0:case 11:case 15:oa(c,g,b,S,l),fs(8,g);break;case 23:break;case 22:var _=g.stateNode;g.memoizedState!==null?_._visibility&2?oa(c,g,b,S,l):ms(c,g):(_._visibility|=2,oa(c,g,b,S,l)),l&&D&2048&&vc(g.alternate,g);break;case 24:oa(c,g,b,S,l),l&&D&2048&&bc(g.alternate,g);break;default:oa(c,g,b,S,l)}t=t.sibling}}function ms(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,s=t,l=s.flags;switch(s.tag){case 22:ms(n,s),l&2048&&vc(s.alternate,s);break;case 24:ms(n,s),l&2048&&bc(s.alternate,s);break;default:ms(n,s)}t=t.sibling}}var ps=8192;function ra(e){if(e.subtreeFlags&ps)for(e=e.child;e!==null;)zm(e),e=e.sibling}function zm(e){switch(e.tag){case 26:ra(e),e.flags&ps&&e.memoizedState!==null&&Gx(Xt,e.memoizedState,e.memoizedProps);break;case 5:ra(e);break;case 3:case 4:var t=Xt;Xt=ir(e.stateNode.containerInfo),ra(e),Xt=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=ps,ps=16777216,ra(e),ps=t):ra(e));break;default:ra(e)}}function km(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function gs(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var s=t[n];tt=s,_m(s,e)}km(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Vm(e),e=e.sibling}function Vm(e){switch(e.tag){case 0:case 11:case 15:gs(e),e.flags&2048&&Ln(9,e,e.return);break;case 3:gs(e);break;case 12:gs(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Yo(e)):gs(e);break;default:gs(e)}}function Yo(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var s=t[n];tt=s,_m(s,e)}km(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Ln(8,t,t.return),Yo(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Yo(t));break;default:Yo(t)}e=e.sibling}}function _m(e,t){for(;tt!==null;){var n=tt;switch(n.tag){case 0:case 11:case 15:Ln(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var s=n.memoizedState.cachePool.pool;s!=null&&s.refCount++}break;case 24:Wa(n.memoizedState.cache)}if(s=n.child,s!==null)s.return=n,tt=s;else e:for(n=e;tt!==null;){s=tt;var l=s.sibling,c=s.return;if(Mm(s),s===n){tt=null;break e}if(l!==null){l.return=c,tt=l;break e}tt=c}}}var ix={getCacheForType:function(e){var t=lt(Fe),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n}},ax=typeof WeakMap=="function"?WeakMap:Map,Se=0,Oe=null,me=null,ye=0,Te=0,jt=null,Hn=!1,la=!1,xc=!1,An=0,Be=0,Pn=0,wi=0,Ac=0,Lt=0,ca=0,ys=null,xt=null,Sc=!1,Tc=0,Xo=1/0,Qo=null,Yn=null,at=0,Xn=null,ua=null,da=0,wc=0,Cc=null,Um=null,vs=0,Ec=null;function Nt(){if((Se&2)!==0&&ye!==0)return ye&-ye;if(O.T!==null){var e=Wi;return e!==0?e:zc()}return Wd()}function Im(){Lt===0&&(Lt=(ye&536870912)===0||Ae?Kd():536870912);var e=Bt.current;return e!==null&&(e.flags|=32),Lt}function Ot(e,t,n){(e===Oe&&(Te===2||Te===9)||e.cancelPendingCommit!==null)&&(fa(e,0),Qn(e,ye,Lt,!1)),_a(e,n),((Se&2)===0||e!==Oe)&&(e===Oe&&((Se&2)===0&&(wi|=n),Be===4&&Qn(e,ye,Lt,!1)),tn(e))}function Bm(e,t,n){if((Se&6)!==0)throw Error(r(327));var s=!n&&(t&124)===0&&(t&e.expiredLanes)===0||Va(e,t),l=s?rx(e,t):Rc(e,t,!0),c=s;do{if(l===0){la&&!s&&Qn(e,t,0,!1);break}else{if(n=e.current.alternate,c&&!sx(n)){l=Rc(e,t,!1),c=!1;continue}if(l===2){if(c=t,e.errorRecoveryDisabledLanes&c)var g=0;else g=e.pendingLanes&-536870913,g=g!==0?g:g&536870912?536870912:0;if(g!==0){t=g;e:{var b=e;l=ys;var S=b.current.memoizedState.isDehydrated;if(S&&(fa(b,g).flags|=256),g=Rc(b,g,!1),g!==2){if(xc&&!S){b.errorRecoveryDisabledLanes|=c,wi|=c,l=4;break e}c=xt,xt=l,c!==null&&(xt===null?xt=c:xt.push.apply(xt,c))}l=g}if(c=!1,l!==2)continue}}if(l===1){fa(e,0),Qn(e,t,0,!0);break}e:{switch(s=e,c=l,c){case 0:case 1:throw Error(r(345));case 4:if((t&4194048)!==t)break;case 6:Qn(s,t,Lt,!Hn);break e;case 2:xt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((t&62914560)===t&&(l=Tc+300-Ft(),10<l)){if(Qn(s,t,Lt,!Hn),io(s,0,!0)!==0)break e;s.timeoutHandle=mp(Lm.bind(null,s,n,xt,Qo,Sc,t,Lt,wi,ca,Hn,c,2,-0,0),l);break e}Lm(s,n,xt,Qo,Sc,t,Lt,wi,ca,Hn,c,0,-0,0)}}break}while(!0);tn(e)}function Lm(e,t,n,s,l,c,g,b,S,D,_,L,j,N){if(e.timeoutHandle=-1,L=t.subtreeFlags,(L&8192||(L&16785408)===16785408)&&(Cs={stylesheets:null,count:0,unsuspend:Lx},zm(t),L=qx(),L!==null)){e.cancelPendingCommit=L(Qm.bind(null,e,t,c,n,s,l,g,b,S,_,1,j,N)),Qn(e,c,g,!D);return}Qm(e,t,c,n,s,l,g,b,S)}function sx(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var s=0;s<n.length;s++){var l=n[s],c=l.getSnapshot;l=l.value;try{if(!Et(c(),l))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Qn(e,t,n,s){t&=~Ac,t&=~wi,e.suspendedLanes|=t,e.pingedLanes&=~t,s&&(e.warmLanes|=t),s=e.expirationTimes;for(var l=t;0<l;){var c=31-Ct(l),g=1<<c;s[c]=-1,l&=~g}n!==0&&Fd(e,n,t)}function Ko(){return(Se&6)===0?(bs(0),!1):!0}function Mc(){if(me!==null){if(Te===0)var e=me.return;else e=me,hn=vi=null,Pl(e),aa=null,cs=0,e=me;for(;e!==null;)bm(e.alternate,e),e=e.return;me=null}}function fa(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,Tx(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Mc(),Oe=e,me=n=un(e.current,null),ye=t,Te=0,jt=null,Hn=!1,la=Va(e,t),xc=!1,ca=Lt=Ac=wi=Pn=Be=0,xt=ys=null,Sc=!1,(t&8)!==0&&(t|=t&32);var s=e.entangledLanes;if(s!==0)for(e=e.entanglements,s&=t;0<s;){var l=31-Ct(s),c=1<<l;t|=e[l],s&=~c}return An=t,go(),n}function Gm(e,t){ue=null,O.H=Vo,t===es||t===Co?(t=ah(),Te=3):t===th?(t=ah(),Te=4):Te=t===sm?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,jt=t,me===null&&(Be=1,Lo(e,Vt(t,e.current)))}function qm(){var e=O.H;return O.H=Vo,e===null?Vo:e}function Hm(){var e=O.A;return O.A=ix,e}function Dc(){Be=4,Hn||(ye&4194048)!==ye&&Bt.current!==null||(la=!0),(Pn&134217727)===0&&(wi&134217727)===0||Oe===null||Qn(Oe,ye,Lt,!1)}function Rc(e,t,n){var s=Se;Se|=2;var l=qm(),c=Hm();(Oe!==e||ye!==t)&&(Qo=null,fa(e,t)),t=!1;var g=Be;e:do try{if(Te!==0&&me!==null){var b=me,S=jt;switch(Te){case 8:Mc(),g=6;break e;case 3:case 2:case 9:case 6:Bt.current===null&&(t=!0);var D=Te;if(Te=0,jt=null,ha(e,b,S,D),n&&la){g=0;break e}break;default:D=Te,Te=0,jt=null,ha(e,b,S,D)}}ox(),g=Be;break}catch(_){Gm(e,_)}while(!0);return t&&e.shellSuspendCounter++,hn=vi=null,Se=s,O.H=l,O.A=c,me===null&&(Oe=null,ye=0,go()),g}function ox(){for(;me!==null;)Pm(me)}function rx(e,t){var n=Se;Se|=2;var s=qm(),l=Hm();Oe!==e||ye!==t?(Qo=null,Xo=Ft()+500,fa(e,t)):la=Va(e,t);e:do try{if(Te!==0&&me!==null){t=me;var c=jt;t:switch(Te){case 1:Te=0,jt=null,ha(e,t,c,1);break;case 2:case 9:if(nh(c)){Te=0,jt=null,Ym(t);break}t=function(){Te!==2&&Te!==9||Oe!==e||(Te=7),tn(e)},c.then(t,t);break e;case 3:Te=7;break e;case 4:Te=5;break e;case 7:nh(c)?(Te=0,jt=null,Ym(t)):(Te=0,jt=null,ha(e,t,c,7));break;case 5:var g=null;switch(me.tag){case 26:g=me.memoizedState;case 5:case 27:var b=me;if(!g||Ep(g)){Te=0,jt=null;var S=b.sibling;if(S!==null)me=S;else{var D=b.return;D!==null?(me=D,Zo(D)):me=null}break t}}Te=0,jt=null,ha(e,t,c,5);break;case 6:Te=0,jt=null,ha(e,t,c,6);break;case 8:Mc(),Be=6;break e;default:throw Error(r(462))}}lx();break}catch(_){Gm(e,_)}while(!0);return hn=vi=null,O.H=s,O.A=l,Se=n,me!==null?0:(Oe=null,ye=0,go(),Be)}function lx(){for(;me!==null&&!jb();)Pm(me)}function Pm(e){var t=ym(e.alternate,e,An);e.memoizedProps=e.pendingProps,t===null?Zo(e):me=t}function Ym(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=dm(n,t,t.pendingProps,t.type,void 0,ye);break;case 11:t=dm(n,t,t.pendingProps,t.type.render,t.ref,ye);break;case 5:Pl(t);default:bm(n,t),t=me=Xf(t,An),t=ym(n,t,An)}e.memoizedProps=e.pendingProps,t===null?Zo(e):me=t}function ha(e,t,n,s){hn=vi=null,Pl(t),aa=null,cs=0;var l=t.return;try{if(J0(e,l,t,n,ye)){Be=1,Lo(e,Vt(n,e.current)),me=null;return}}catch(c){if(l!==null)throw me=l,c;Be=1,Lo(e,Vt(n,e.current)),me=null;return}t.flags&32768?(Ae||s===1?e=!0:la||(ye&536870912)!==0?e=!1:(Hn=e=!0,(s===2||s===9||s===3||s===6)&&(s=Bt.current,s!==null&&s.tag===13&&(s.flags|=16384))),Xm(t,e)):Zo(t)}function Zo(e){var t=e;do{if((t.flags&32768)!==0){Xm(t,Hn);return}e=t.return;var n=$0(t.alternate,t,An);if(n!==null){me=n;return}if(t=t.sibling,t!==null){me=t;return}me=t=e}while(t!==null);Be===0&&(Be=5)}function Xm(e,t){do{var n=ex(e.alternate,e);if(n!==null){n.flags&=32767,me=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){me=e;return}me=e=n}while(e!==null);Be=6,me=null}function Qm(e,t,n,s,l,c,g,b,S){e.cancelPendingCommit=null;do Fo();while(at!==0);if((Se&6)!==0)throw Error(r(327));if(t!==null){if(t===e.current)throw Error(r(177));if(c=t.lanes|t.childLanes,c|=bl,Lb(e,n,c,g,b,S),e===Oe&&(me=Oe=null,ye=0),ua=t,Xn=e,da=n,wc=c,Cc=l,Um=s,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,fx(eo,function(){return Wm(),null})):(e.callbackNode=null,e.callbackPriority=0),s=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||s){s=O.T,O.T=null,l=Y.p,Y.p=2,g=Se,Se|=4;try{tx(e,t,n)}finally{Se=g,Y.p=l,O.T=s}}at=1,Km(),Zm(),Fm()}}function Km(){if(at===1){at=0;var e=Xn,t=ua,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=O.T,O.T=null;var s=Y.p;Y.p=2;var l=Se;Se|=4;try{jm(t,e);var c=Gc,g=_f(e.containerInfo),b=c.focusedElem,S=c.selectionRange;if(g!==b&&b&&b.ownerDocument&&Vf(b.ownerDocument.documentElement,b)){if(S!==null&&ml(b)){var D=S.start,_=S.end;if(_===void 0&&(_=D),"selectionStart"in b)b.selectionStart=D,b.selectionEnd=Math.min(_,b.value.length);else{var L=b.ownerDocument||document,j=L&&L.defaultView||window;if(j.getSelection){var N=j.getSelection(),se=b.textContent.length,ie=Math.min(S.start,se),Ee=S.end===void 0?ie:Math.min(S.end,se);!N.extend&&ie>Ee&&(g=Ee,Ee=ie,ie=g);var E=kf(b,ie),w=kf(b,Ee);if(E&&w&&(N.rangeCount!==1||N.anchorNode!==E.node||N.anchorOffset!==E.offset||N.focusNode!==w.node||N.focusOffset!==w.offset)){var M=L.createRange();M.setStart(E.node,E.offset),N.removeAllRanges(),ie>Ee?(N.addRange(M),N.extend(w.node,w.offset)):(M.setEnd(w.node,w.offset),N.addRange(M))}}}}for(L=[],N=b;N=N.parentNode;)N.nodeType===1&&L.push({element:N,left:N.scrollLeft,top:N.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<L.length;b++){var U=L[b];U.element.scrollLeft=U.left,U.element.scrollTop=U.top}}lr=!!Lc,Gc=Lc=null}finally{Se=l,Y.p=s,O.T=n}}e.current=t,at=2}}function Zm(){if(at===2){at=0;var e=Xn,t=ua,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=O.T,O.T=null;var s=Y.p;Y.p=2;var l=Se;Se|=4;try{Em(e,t.alternate,t)}finally{Se=l,Y.p=s,O.T=n}}at=3}}function Fm(){if(at===4||at===3){at=0,Nb();var e=Xn,t=ua,n=da,s=Um;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?at=5:(at=0,ua=Xn=null,Jm(e,e.pendingLanes));var l=e.pendingLanes;if(l===0&&(Yn=null),Qr(n),t=t.stateNode,wt&&typeof wt.onCommitFiberRoot=="function")try{wt.onCommitFiberRoot(ka,t,void 0,(t.current.flags&128)===128)}catch{}if(s!==null){t=O.T,l=Y.p,Y.p=2,O.T=null;try{for(var c=e.onRecoverableError,g=0;g<s.length;g++){var b=s[g];c(b.value,{componentStack:b.stack})}}finally{O.T=t,Y.p=l}}(da&3)!==0&&Fo(),tn(e),l=e.pendingLanes,(n&4194090)!==0&&(l&42)!==0?e===Ec?vs++:(vs=0,Ec=e):vs=0,bs(0)}}function Jm(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Wa(t)))}function Fo(e){return Km(),Zm(),Fm(),Wm()}function Wm(){if(at!==5)return!1;var e=Xn,t=wc;wc=0;var n=Qr(da),s=O.T,l=Y.p;try{Y.p=32>n?32:n,O.T=null,n=Cc,Cc=null;var c=Xn,g=da;if(at=0,ua=Xn=null,da=0,(Se&6)!==0)throw Error(r(331));var b=Se;if(Se|=4,Vm(c.current),Om(c,c.current,g,n),Se=b,bs(0,!1),wt&&typeof wt.onPostCommitFiberRoot=="function")try{wt.onPostCommitFiberRoot(ka,c)}catch{}return!0}finally{Y.p=l,O.T=s,Jm(e,t)}}function $m(e,t,n){t=Vt(n,t),t=ac(e.stateNode,t,2),e=_n(e,t,2),e!==null&&(_a(e,2),tn(e))}function Re(e,t,n){if(e.tag===3)$m(e,e,n);else for(;t!==null;){if(t.tag===3){$m(t,e,n);break}else if(t.tag===1){var s=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(Yn===null||!Yn.has(s))){e=Vt(n,e),n=im(2),s=_n(t,n,2),s!==null&&(am(n,s,t,e),_a(s,2),tn(s));break}}t=t.return}}function jc(e,t,n){var s=e.pingCache;if(s===null){s=e.pingCache=new ax;var l=new Set;s.set(t,l)}else l=s.get(t),l===void 0&&(l=new Set,s.set(t,l));l.has(n)||(xc=!0,l.add(n),e=cx.bind(null,e,t,n),t.then(e,e))}function cx(e,t,n){var s=e.pingCache;s!==null&&s.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Oe===e&&(ye&n)===n&&(Be===4||Be===3&&(ye&62914560)===ye&&300>Ft()-Tc?(Se&2)===0&&fa(e,0):Ac|=n,ca===ye&&(ca=0)),tn(e)}function ep(e,t){t===0&&(t=Zd()),e=Ki(e,t),e!==null&&(_a(e,t),tn(e))}function ux(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),ep(e,n)}function dx(e,t){var n=0;switch(e.tag){case 13:var s=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:s=e.stateNode;break;case 22:s=e.stateNode._retryCache;break;default:throw Error(r(314))}s!==null&&s.delete(t),ep(e,n)}function fx(e,t){return Hr(e,t)}var Jo=null,ma=null,Nc=!1,Wo=!1,Oc=!1,Ci=0;function tn(e){e!==ma&&e.next===null&&(ma===null?Jo=ma=e:ma=ma.next=e),Wo=!0,Nc||(Nc=!0,mx())}function bs(e,t){if(!Oc&&Wo){Oc=!0;do for(var n=!1,s=Jo;s!==null;){if(e!==0){var l=s.pendingLanes;if(l===0)var c=0;else{var g=s.suspendedLanes,b=s.pingedLanes;c=(1<<31-Ct(42|e)+1)-1,c&=l&~(g&~b),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(n=!0,ap(s,c))}else c=ye,c=io(s,s===Oe?c:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(c&3)===0||Va(s,c)||(n=!0,ap(s,c));s=s.next}while(n);Oc=!1}}function hx(){tp()}function tp(){Wo=Nc=!1;var e=0;Ci!==0&&(Sx()&&(e=Ci),Ci=0);for(var t=Ft(),n=null,s=Jo;s!==null;){var l=s.next,c=np(s,t);c===0?(s.next=null,n===null?Jo=l:n.next=l,l===null&&(ma=n)):(n=s,(e!==0||(c&3)!==0)&&(Wo=!0)),s=l}bs(e)}function np(e,t){for(var n=e.suspendedLanes,s=e.pingedLanes,l=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var g=31-Ct(c),b=1<<g,S=l[g];S===-1?((b&n)===0||(b&s)!==0)&&(l[g]=Bb(b,t)):S<=t&&(e.expiredLanes|=b),c&=~b}if(t=Oe,n=ye,n=io(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),s=e.callbackNode,n===0||e===t&&(Te===2||Te===9)||e.cancelPendingCommit!==null)return s!==null&&s!==null&&Pr(s),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||Va(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(s!==null&&Pr(s),Qr(n)){case 2:case 8:n=Xd;break;case 32:n=eo;break;case 268435456:n=Qd;break;default:n=eo}return s=ip.bind(null,e),n=Hr(n,s),e.callbackPriority=t,e.callbackNode=n,t}return s!==null&&s!==null&&Pr(s),e.callbackPriority=2,e.callbackNode=null,2}function ip(e,t){if(at!==0&&at!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Fo()&&e.callbackNode!==n)return null;var s=ye;return s=io(e,e===Oe?s:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),s===0?null:(Bm(e,s,t),np(e,Ft()),e.callbackNode!=null&&e.callbackNode===n?ip.bind(null,e):null)}function ap(e,t){if(Fo())return null;Bm(e,t,!0)}function mx(){wx(function(){(Se&6)!==0?Hr(Yd,hx):tp()})}function zc(){return Ci===0&&(Ci=Kd()),Ci}function sp(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:lo(""+e)}function op(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function px(e,t,n,s,l){if(t==="submit"&&n&&n.stateNode===l){var c=sp((l[gt]||null).action),g=s.submitter;g&&(t=(t=g[gt]||null)?sp(t.formAction):g.getAttribute("formAction"),t!==null&&(c=t,g=null));var b=new ho("action","action",null,s,l);e.push({event:b,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(Ci!==0){var S=g?op(l,g):new FormData(l);$l(n,{pending:!0,data:S,method:l.method,action:c},null,S)}}else typeof c=="function"&&(b.preventDefault(),S=g?op(l,g):new FormData(l),$l(n,{pending:!0,data:S,method:l.method,action:c},c,S))},currentTarget:l}]})}}for(var kc=0;kc<vl.length;kc++){var Vc=vl[kc],gx=Vc.toLowerCase(),yx=Vc[0].toUpperCase()+Vc.slice(1);Yt(gx,"on"+yx)}Yt(Bf,"onAnimationEnd"),Yt(Lf,"onAnimationIteration"),Yt(Gf,"onAnimationStart"),Yt("dblclick","onDoubleClick"),Yt("focusin","onFocus"),Yt("focusout","onBlur"),Yt(k0,"onTransitionRun"),Yt(V0,"onTransitionStart"),Yt(_0,"onTransitionCancel"),Yt(qf,"onTransitionEnd"),Ii("onMouseEnter",["mouseout","mouseover"]),Ii("onMouseLeave",["mouseout","mouseover"]),Ii("onPointerEnter",["pointerout","pointerover"]),Ii("onPointerLeave",["pointerout","pointerover"]),ci("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ci("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ci("onBeforeInput",["compositionend","keypress","textInput","paste"]),ci("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ci("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ci("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xs="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(" "),vx=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(xs));function rp(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var s=e[n],l=s.event;s=s.listeners;e:{var c=void 0;if(t)for(var g=s.length-1;0<=g;g--){var b=s[g],S=b.instance,D=b.currentTarget;if(b=b.listener,S!==c&&l.isPropagationStopped())break e;c=b,l.currentTarget=D;try{c(l)}catch(_){Bo(_)}l.currentTarget=null,c=S}else for(g=0;g<s.length;g++){if(b=s[g],S=b.instance,D=b.currentTarget,b=b.listener,S!==c&&l.isPropagationStopped())break e;c=b,l.currentTarget=D;try{c(l)}catch(_){Bo(_)}l.currentTarget=null,c=S}}}}function pe(e,t){var n=t[Kr];n===void 0&&(n=t[Kr]=new Set);var s=e+"__bubble";n.has(s)||(lp(t,e,2,!1),n.add(s))}function _c(e,t,n){var s=0;t&&(s|=4),lp(n,e,s,t)}var $o="_reactListening"+Math.random().toString(36).slice(2);function Uc(e){if(!e[$o]){e[$o]=!0,ef.forEach(function(n){n!=="selectionchange"&&(vx.has(n)||_c(n,!1,e),_c(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[$o]||(t[$o]=!0,_c("selectionchange",!1,t))}}function lp(e,t,n,s){switch(Op(t)){case 2:var l=Yx;break;case 8:l=Xx;break;default:l=Jc}n=l.bind(null,t,n,e),l=void 0,!sl||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),s?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function Ic(e,t,n,s,l){var c=s;if((t&1)===0&&(t&2)===0&&s!==null)e:for(;;){if(s===null)return;var g=s.tag;if(g===3||g===4){var b=s.stateNode.containerInfo;if(b===l)break;if(g===4)for(g=s.return;g!==null;){var S=g.tag;if((S===3||S===4)&&g.stateNode.containerInfo===l)return;g=g.return}for(;b!==null;){if(g=Vi(b),g===null)return;if(S=g.tag,S===5||S===6||S===26||S===27){s=c=g;continue e}b=b.parentNode}}s=s.return}pf(function(){var D=c,_=il(n),L=[];e:{var j=Hf.get(e);if(j!==void 0){var N=ho,se=e;switch(e){case"keypress":if(uo(n)===0)break e;case"keydown":case"keyup":N=f0;break;case"focusin":se="focus",N=cl;break;case"focusout":se="blur",N=cl;break;case"beforeblur":case"afterblur":N=cl;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":N=vf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":N=e0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":N=p0;break;case Bf:case Lf:case Gf:N=i0;break;case qf:N=y0;break;case"scroll":case"scrollend":N=Wb;break;case"wheel":N=b0;break;case"copy":case"cut":case"paste":N=s0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":N=xf;break;case"toggle":case"beforetoggle":N=A0}var ie=(t&4)!==0,Ee=!ie&&(e==="scroll"||e==="scrollend"),E=ie?j!==null?j+"Capture":null:j;ie=[];for(var w=D,M;w!==null;){var U=w;if(M=U.stateNode,U=U.tag,U!==5&&U!==26&&U!==27||M===null||E===null||(U=Ba(w,E),U!=null&&ie.push(As(w,U,M))),Ee)break;w=w.return}0<ie.length&&(j=new N(j,se,null,n,_),L.push({event:j,listeners:ie}))}}if((t&7)===0){e:{if(j=e==="mouseover"||e==="pointerover",N=e==="mouseout"||e==="pointerout",j&&n!==nl&&(se=n.relatedTarget||n.fromElement)&&(Vi(se)||se[ki]))break e;if((N||j)&&(j=_.window===_?_:(j=_.ownerDocument)?j.defaultView||j.parentWindow:window,N?(se=n.relatedTarget||n.toElement,N=D,se=se?Vi(se):null,se!==null&&(Ee=f(se),ie=se.tag,se!==Ee||ie!==5&&ie!==27&&ie!==6)&&(se=null)):(N=null,se=D),N!==se)){if(ie=vf,U="onMouseLeave",E="onMouseEnter",w="mouse",(e==="pointerout"||e==="pointerover")&&(ie=xf,U="onPointerLeave",E="onPointerEnter",w="pointer"),Ee=N==null?j:Ia(N),M=se==null?j:Ia(se),j=new ie(U,w+"leave",N,n,_),j.target=Ee,j.relatedTarget=M,U=null,Vi(_)===D&&(ie=new ie(E,w+"enter",se,n,_),ie.target=M,ie.relatedTarget=Ee,U=ie),Ee=U,N&&se)t:{for(ie=N,E=se,w=0,M=ie;M;M=pa(M))w++;for(M=0,U=E;U;U=pa(U))M++;for(;0<w-M;)ie=pa(ie),w--;for(;0<M-w;)E=pa(E),M--;for(;w--;){if(ie===E||E!==null&&ie===E.alternate)break t;ie=pa(ie),E=pa(E)}ie=null}else ie=null;N!==null&&cp(L,j,N,ie,!1),se!==null&&Ee!==null&&cp(L,Ee,se,ie,!0)}}e:{if(j=D?Ia(D):window,N=j.nodeName&&j.nodeName.toLowerCase(),N==="select"||N==="input"&&j.type==="file")var W=Df;else if(Ef(j))if(Rf)W=N0;else{W=R0;var fe=D0}else N=j.nodeName,!N||N.toLowerCase()!=="input"||j.type!=="checkbox"&&j.type!=="radio"?D&&tl(D.elementType)&&(W=Df):W=j0;if(W&&(W=W(e,D))){Mf(L,W,n,_);break e}fe&&fe(e,j,D),e==="focusout"&&D&&j.type==="number"&&D.memoizedProps.value!=null&&el(j,"number",j.value)}switch(fe=D?Ia(D):window,e){case"focusin":(Ef(fe)||fe.contentEditable==="true")&&(Yi=fe,pl=D,Qa=null);break;case"focusout":Qa=pl=Yi=null;break;case"mousedown":gl=!0;break;case"contextmenu":case"mouseup":case"dragend":gl=!1,Uf(L,n,_);break;case"selectionchange":if(z0)break;case"keydown":case"keyup":Uf(L,n,_)}var te;if(dl)e:{switch(e){case"compositionstart":var ae="onCompositionStart";break e;case"compositionend":ae="onCompositionEnd";break e;case"compositionupdate":ae="onCompositionUpdate";break e}ae=void 0}else Pi?wf(e,n)&&(ae="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(ae="onCompositionStart");ae&&(Af&&n.locale!=="ko"&&(Pi||ae!=="onCompositionStart"?ae==="onCompositionEnd"&&Pi&&(te=gf()):(On=_,ol="value"in On?On.value:On.textContent,Pi=!0)),fe=er(D,ae),0<fe.length&&(ae=new bf(ae,e,null,n,_),L.push({event:ae,listeners:fe}),te?ae.data=te:(te=Cf(n),te!==null&&(ae.data=te)))),(te=T0?w0(e,n):C0(e,n))&&(ae=er(D,"onBeforeInput"),0<ae.length&&(fe=new bf("onBeforeInput","beforeinput",null,n,_),L.push({event:fe,listeners:ae}),fe.data=te)),px(L,e,D,n,_)}rp(L,t)})}function As(e,t,n){return{instance:e,listener:t,currentTarget:n}}function er(e,t){for(var n=t+"Capture",s=[];e!==null;){var l=e,c=l.stateNode;if(l=l.tag,l!==5&&l!==26&&l!==27||c===null||(l=Ba(e,n),l!=null&&s.unshift(As(e,l,c)),l=Ba(e,t),l!=null&&s.push(As(e,l,c))),e.tag===3)return s;e=e.return}return[]}function pa(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function cp(e,t,n,s,l){for(var c=t._reactName,g=[];n!==null&&n!==s;){var b=n,S=b.alternate,D=b.stateNode;if(b=b.tag,S!==null&&S===s)break;b!==5&&b!==26&&b!==27||D===null||(S=D,l?(D=Ba(n,c),D!=null&&g.unshift(As(n,D,S))):l||(D=Ba(n,c),D!=null&&g.push(As(n,D,S)))),n=n.return}g.length!==0&&e.push({event:t,listeners:g})}var bx=/\r\n?/g,xx=/\u0000|\uFFFD/g;function up(e){return(typeof e=="string"?e:""+e).replace(bx,`
49`).replace(xx,"")}function dp(e,t){return t=up(t),up(e)===t}function tr(){}function Ce(e,t,n,s,l,c){switch(n){case"children":typeof s=="string"?t==="body"||t==="textarea"&&s===""||Gi(e,s):(typeof s=="number"||typeof s=="bigint")&&t!=="body"&&Gi(e,""+s);break;case"className":so(e,"class",s);break;case"tabIndex":so(e,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":so(e,n,s);break;case"style":hf(e,s,c);break;case"data":if(t!=="object"){so(e,"data",s);break}case"src":case"href":if(s===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(s==null||typeof s=="function"||typeof s=="symbol"||typeof s=="boolean"){e.removeAttribute(n);break}s=lo(""+s),e.setAttribute(n,s);break;case"action":case"formAction":if(typeof s=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof c=="function"&&(n==="formAction"?(t!=="input"&&Ce(e,t,"name",l.name,l,null),Ce(e,t,"formEncType",l.formEncType,l,null),Ce(e,t,"formMethod",l.formMethod,l,null),Ce(e,t,"formTarget",l.formTarget,l,null)):(Ce(e,t,"encType",l.encType,l,null),Ce(e,t,"method",l.method,l,null),Ce(e,t,"target",l.target,l,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){e.removeAttribute(n);break}s=lo(""+s),e.setAttribute(n,s);break;case"onClick":s!=null&&(e.onclick=tr);break;case"onScroll":s!=null&&pe("scroll",e);break;case"onScrollEnd":s!=null&&pe("scrollend",e);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(r(61));if(n=s.__html,n!=null){if(l.children!=null)throw Error(r(60));e.innerHTML=n}}break;case"multiple":e.multiple=s&&typeof s!="function"&&typeof s!="symbol";break;case"muted":e.muted=s&&typeof s!="function"&&typeof s!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(s==null||typeof s=="function"||typeof s=="boolean"||typeof s=="symbol"){e.removeAttribute("xlink:href");break}n=lo(""+s),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":s!=null&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(n,""+s):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
49ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":s&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":s===!0?e.setAttribute(n,""):s!==!1&&s!=null&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(n,s):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":s!=null&&typeof s!="function"&&typeof s!="symbol"&&!isNaN(s)&&1<=s?e.setAttribute(n,s):e.removeAttribute(n);break;case"rowSpan":case"start":s==null||typeof s=="function"||typeof s=="symbol"||isNaN(s)?e.removeAttribute(n):e.setAttribute(n,s);break;case"popover":pe("beforetoggle",e),pe("toggle",e),ao(e,"popover",s);break;case"xlinkActuate":ln(e,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":ln(e,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":ln(e,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":ln(e,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":ln(e,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":ln(e,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":ln(e,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":ln(e,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":ln(e,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":ao(e,"is",s);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=Fb.get(n)||n,ao(e,n,s))}}function Bc(e,t,n,s,l,c){switch(n){case"style":hf(e,s,c);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(r(61));if(n=s.__html,n!=null){if(l.children!=null)throw Error(r(60));e.innerHTML=n}}break;case"children":typeof s=="string"?Gi(e,s):(typeof s=="number"||typeof s=="bigint")&&Gi(e,""+s);break;case"onScroll":s!=null&&pe("scroll",e);break;case"onScrollEnd":s!=null&&pe("scrollend",e);break;case"onClick":s!=null&&(e.onclick=tr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!tf.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(l=n.endsWith("Capture"),t=n.slice(2,l?n.length-7:void 0),c=e[gt]||null,c=c!=null?c[n]:null,typeof c=="function"&&e.removeEventListener(t,c,l),typeof s=="function")){typeof c!="function"&&c!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,s,l);break e}n in e?e[n]=s:s===!0?e.setAttribute(n,""):ao(e,n,s)}}}function st(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":pe("error",e),pe("load",e);var s=!1,l=!1,c;for(c in n)if(n.hasOwnProperty(c)){var g=n[c];if(g!=null)switch(c){case"src":s=!0;break;case"srcSet":l=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:Ce(e,t,c,g,n,null)}}l&&Ce(e,t,"srcSet",n.srcSet,n,null),s&&Ce(e,t,"src",n.src,n,null);return;case"input":pe("invalid",e);var b=c=g=l=null,S=null,D=null;for(s in n)if(n.hasOwnProperty(s)){var _=n[s];if(_!=null)switch(s){case"name":l=_;break;case"type":g=_;break;case"checked":S=_;break;case"defaultChecked":D=_;break;case"value":c=_;break;case"defaultValue":b=_;break;case"children":case"dangerouslySetInnerHTML":if(_!=null)throw Error(r(137,t));break;default:Ce(e,t,s,_,n,null)}}cf(e,c,b,S,D,g,l,!1),oo(e);return;case"select":pe("invalid",e),s=g=c=null;for(l in n)if(n.hasOwnProperty(l)&&(b=n[l],b!=null))switch(l){case"value":c=b;break;case"defaultValue":g=b;break;case"multiple":s=b;default:Ce(e,t,l,b,n,null)}t=c,n=g,e.multiple=!!s,t!=null?Li(e,!!s,t,!1):n!=null&&Li(e,!!s,n,!0);return;case"textarea":pe("invalid",e),c=l=s=null;for(g in n)if(n.hasOwnProperty(g)&&(b=n[g],b!=null))switch(g){case"value":s=b;break;case"defaultValue":l=b;break;case"children":c=b;break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(r(91));break;default:Ce(e,t,g,b,n,null)}df(e,s,l,c),oo(e);return;case"option":for(S in n)if(n.hasOwnProperty(S)&&(s=n[S],s!=null))switch(S){case"selected":e.selected=s&&typeof s!="function"&&typeof s!="symbol";break;default:Ce(e,t,S,s,n,null)}return;case"dialog":pe("beforetoggle",e),pe("toggle",e),pe("cancel",e),pe("close",e);break;case"iframe":case"object":pe("load",e);break;case"video":case"audio":for(s=0;s<xs.length;s++)pe(xs[s],e);break;case"image":pe("error",e),pe("load",e);break;case"details":pe("toggle",e);break;case"embed":case"source":case"link":pe("error",e),pe("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(D in n)if(n.hasOwnProperty(D)&&(s=n[D],s!=null))switch(D){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:Ce(e,t,D,s,n,null)}return;default:if(tl(t)){for(_ in n)n.hasOwnProperty(_)&&(s=n[_],s!==void 0&&Bc(e,t,_,s,n,void 0));return}}for(b in n)n.hasOwnProperty(b)&&(s=n[b],s!=null&&Ce(e,t,b,s,n,null))}function Ax(e,t,n,s){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var l=null,c=null,g=null,b=null,S=null,D=null,_=null;for(N in n){var L=n[N];if(n.hasOwnProperty(N)&&L!=null)switch(N){case"checked":break;case"value":break;case"defaultValue":S=L;default:s.hasOwnProperty(N)||Ce(e,t,N,null,s,L)}}for(var j in s){var N=s[j];if(L=n[j],s.hasOwnProperty(j)&&(N!=null||L!=null))switch(j){case"type":c=N;break;case"name":l=N;break;case"checked":D=N;break;case"defaultChecked":_=N;break;case"value":g=N;break;case"defaultValue":b=N;break;case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(r(137,t));break;default:N!==L&&Ce(e,t,j,N,s,L)}}$r(e,g,b,S,D,_,c,l);return;case"select":N=g=b=j=null;for(c in n)if(S=n[c],n.hasOwnProperty(c)&&S!=null)switch(c){case"value":break;case"multiple":N=S;default:s.hasOwnProperty(c)||Ce(e,t,c,null,s,S)}for(l in s)if(c=s[l],S=n[l],s.hasOwnProperty(l)&&(c!=null||S!=null))switch(l){case"value":j=c;break;case"defaultValue":b=c;break;case"multiple":g=c;default:c!==S&&Ce(e,t,l,c,s,S)}t=b,n=g,s=N,j!=null?Li(e,!!n,j,!1):!!s!=!!n&&(t!=null?Li(e,!!n,t,!0):Li(e,!!n,n?[]:"",!1));return;case"textarea":N=j=null;for(b in n)if(l=n[b],n.hasOwnProperty(b)&&l!=null&&!s.hasOwnProperty(b))switch(b){case"value":break;case"children":break;default:Ce(e,t,b,null,s,l)}for(g in s)if(l=s[g],c=n[g],s.hasOwnProperty(g)&&(l!=null||c!=null))switch(g){case"value":j=l;break;case"defaultValue":N=l;break;case"children":break;case"dangerouslySetInnerHTML":if(l!=null)throw Error(r(91));break;default:l!==c&&Ce(e,t,g,l,s,c)}uf(e,j,N);return;case"option":for(var se in n)if(j=n[se],n.hasOwnProperty(se)&&j!=null&&!s.hasOwnProperty(se))switch(se){case"selected":e.selected=!1;break;default:Ce(e,t,se,null,s,j)}for(S in s)if(j=s[S],N=n[S],s.hasOwnProperty(S)&&j!==N&&(j!=null||N!=null))switch(S){case"selected":e.selected=j&&typeof j!="function"&&typeof j!="symbol";break;default:Ce(e,t,S,j,s,N)}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 ie in n)j=n[ie],n.hasOwnProperty(ie)&&j!=null&&!s.hasOwnProperty(ie)&&Ce(e,t,ie,null,s,j);for(D in s)if(j=s[D],N=n[D],s.hasOwnProperty(D)&&j!==N&&(j!=null||N!=null))switch(D){case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(r(137,t));break;default:Ce(e,t,D,j,s,N)}return;default:if(tl(t)){for(var Ee in n)j=n[Ee],n.hasOwnProperty(Ee)&&j!==void 0&&!s.hasOwnProperty(Ee)&&Bc(e,t,Ee,void 0,s,j);for(_ in s)j=s[_],N=n[_],!s.hasOwnProperty(_)||j===N||j===void 0&&N===void 0||Bc(e,t,_,j,s,N);return}}for(var E in n)j=n[E],n.hasOwnProperty(E)&&j!=null&&!s.hasOwnProperty(E)&&Ce(e,t,E,null,s,j);for(L in s)j=s[L],N=n[L],!s.hasOwnProperty(L)||j===N||j==null&&N==null||Ce(e,t,L,j,s,N)}var Lc=null,Gc=null;
vendor: 4,919 bytes, line 49
49function nr(e){return e.nodeType===9?e:e.ownerDocument}function fp(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 hp(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function qc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Hc=null;function Sx(){var e=window.event;return e&&e.type==="popstate"?e===Hc?!1:(Hc=e,!0):(Hc=null,!1)}var mp=typeof setTimeout=="function"?setTimeout:void 0,Tx=typeof clearTimeout=="function"?clearTimeout:void 0,pp=typeof Promise=="function"?Promise:void 0,wx=typeof queueMicrotask=="function"?queueMicrotask:typeof pp<"u"?function(e){return pp.resolve(null).then(e).catch(Cx)}:mp;function Cx(e){setTimeout(function(){throw e})}function Kn(e){return e==="head"}function gp(e,t){var n=t,s=0,l=0;do{var c=n.nextSibling;if(e.removeChild(n),c&&c.nodeType===8)if(n=c.data,n==="/$"){if(0<s&&8>s){n=s;var g=e.ownerDocument;if(n&1&&Ss(g.documentElement),n&2&&Ss(g.body),n&4)for(n=g.head,Ss(n),g=n.firstChild;g;){var b=g.nextSibling,S=g.nodeName;g[Ua]||S==="SCRIPT"||S==="STYLE"||S==="LINK"&&g.rel.toLowerCase()==="stylesheet"||n.removeChild(g),g=b}}if(l===0){e.removeChild(c),js(t);return}l--}else n==="$"||n==="$?"||n==="$!"?l++:s=n.charCodeAt(0)-48;else s=0;n=c}while(n);js(t)}function Pc(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Pc(n),Zr(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function Ex(e,t,n,s){for(;e.nodeType===1;){var l=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!s&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(s){if(!e[Ua])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(c=e.getAttribute("rel"),c==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(c!==l.rel||e.getAttribute("href")!==(l.href==null||l.href===""?null:l.href)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin)||e.getAttribute("title")!==(l.title==null?null:l.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(c=e.getAttribute("src"),(c!==(l.src==null?null:l.src)||e.getAttribute("type")!==(l.type==null?null:l.type)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var c=l.name==null?null:""+l.name;if(l.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=Qt(e.nextSibling),e===null)break}return null}function Mx(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Qt(e.nextSibling),e===null))return null;return e}function Yc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function Dx(e,t){var n=e.ownerDocument;if(e.data!=="$?"||n.readyState==="complete")t();else{var s=function(){t(),n.removeEventListener("DOMContentLoaded",s)};n.addEventListener("DOMContentLoaded",s),e._reactRetry=s}}function Qt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="F!"||t==="F")break;if(t==="/$")return null}}return e}var Xc=null;function yp(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}function vp(e,t,n){switch(t=nr(n),e){case"html":if(e=t.documentElement,!e)throw Error(r(452));return e;case"head":if(e=t.head,!e)throw Error(r(453));return e;case"body":if(e=t.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function Ss(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Zr(e)}var Gt=new Map,bp=new Set;function ir(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Sn=Y.d;Y.d={f:Rx,r:jx,D:Nx,C:Ox,L:zx,m:kx,X:_x,S:Vx,M:Ux};function Rx(){var e=Sn.f(),t=Ko();return e||t}function jx(e){var t=_i(e);t!==null&&t.tag===5&&t.type==="form"?Bh(t):Sn.r(e)}var ga=typeof document>"u"?null:document;function xp(e,t,n){var s=ga;if(s&&typeof t=="string"&&t){var l=kt(t);l='link[rel="'+e+'"][href="'+l+'"]',typeof n=="string"&&(l+='[crossorigin="'+n+'"]'),bp.has(l)||(bp.add(l),e={rel:e,crossOrigin:n,href:t},s.querySelector(l)===null&&(t=s.createElement("link"),st(t,"link",e),$e(t),s.head.appendChild(t)))}}function Nx(e){Sn.D(e),xp("dns-prefetch",e,null)}function Ox(e,t){Sn.C(e,t),xp("preconnect",e,t)}
vendor: 6,013 bytes, line 49
49function zx(e,t,n){Sn.L(e,t,n);var s=ga;if(s&&e&&t){var l='link[rel="preload"][as="'+kt(t)+'"]';t==="image"&&n&&n.imageSrcSet?(l+='[imagesrcset="'+kt(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(l+='[imagesizes="'+kt(n.imageSizes)+'"]')):l+='[href="'+kt(e)+'"]';var c=l;switch(t){case"style":c=ya(e);break;case"script":c=va(e)}Gt.has(c)||(e=y({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Gt.set(c,e),s.querySelector(l)!==null||t==="style"&&s.querySelector(Ts(c))||t==="script"&&s.querySelector(ws(c))||(t=s.createElement("link"),st(t,"link",e),$e(t),s.head.appendChild(t)))}}function kx(e,t){Sn.m(e,t);var n=ga;if(n&&e){var s=t&&typeof t.as=="string"?t.as:"script",l='link[rel="modulepreload"][as="'+kt(s)+'"][href="'+kt(e)+'"]',c=l;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=va(e)}if(!Gt.has(c)&&(e=y({rel:"modulepreload",href:e},t),Gt.set(c,e),n.querySelector(l)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(ws(c)))return}s=n.createElement("link"),st(s,"link",e),$e(s),n.head.appendChild(s)}}}function Vx(e,t,n){Sn.S(e,t,n);var s=ga;if(s&&e){var l=Ui(s).hoistableStyles,c=ya(e);t=t||"default";var g=l.get(c);if(!g){var b={loading:0,preload:null};if(g=s.querySelector(Ts(c)))b.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Gt.get(c))&&Qc(e,n);var S=g=s.createElement("link");$e(S),st(S,"link",e),S._p=new Promise(function(D,_){S.onload=D,S.onerror=_}),S.addEventListener("load",function(){b.loading|=1}),S.addEventListener("error",function(){b.loading|=2}),b.loading|=4,ar(g,t,s)}g={type:"stylesheet",instance:g,count:1,state:b},l.set(c,g)}}}function _x(e,t){Sn.X(e,t);var n=ga;if(n&&e){var s=Ui(n).hoistableScripts,l=va(e),c=s.get(l);c||(c=n.querySelector(ws(l)),c||(e=y({src:e,async:!0},t),(t=Gt.get(l))&&Kc(e,t),c=n.createElement("script"),$e(c),st(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},s.set(l,c))}}function Ux(e,t){Sn.M(e,t);var n=ga;if(n&&e){var s=Ui(n).hoistableScripts,l=va(e),c=s.get(l);c||(c=n.querySelector(ws(l)),c||(e=y({src:e,async:!0,type:"module"},t),(t=Gt.get(l))&&Kc(e,t),c=n.createElement("script"),$e(c),st(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},s.set(l,c))}}function Ap(e,t,n,s){var l=(l=re.current)?ir(l):null;if(!l)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=ya(n.href),n=Ui(l).hoistableStyles,s=n.get(t),s||(s={type:"style",instance:null,count:0,state:null},n.set(t,s)),s):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=ya(n.href);var c=Ui(l).hoistableStyles,g=c.get(e);if(g||(l=l.ownerDocument||l,g={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,g),(c=l.querySelector(Ts(e)))&&!c._p&&(g.instance=c,g.state.loading=5),Gt.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Gt.set(e,n),c||Ix(l,e,n,g.state))),t&&s===null)throw Error(r(528,""));return g}if(t&&s!==null)throw Error(r(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=va(n),n=Ui(l).hoistableScripts,s=n.get(t),s||(s={type:"script",instance:null,count:0,state:null},n.set(t,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function ya(e){return'href="'+kt(e)+'"'}function Ts(e){return'link[rel="stylesheet"]['+e+"]"}function Sp(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function Ix(e,t,n,s){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?s.loading=1:(t=e.createElement("link"),s.preload=t,t.addEventListener("load",function(){return s.loading|=1}),t.addEventListener("error",function(){return s.loading|=2}),st(t,"link",n),$e(t),e.head.appendChild(t))}function va(e){return'[src="'+kt(e)+'"]'}function ws(e){return"script[async]"+e}function Tp(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var s=e.querySelector('style[data-href~="'+kt(n.href)+'"]');if(s)return t.instance=s,$e(s),s;var l=y({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return s=(e.ownerDocument||e).createElement("style"),$e(s),st(s,"style",l),ar(s,n.precedence,e),t.instance=s;case"stylesheet":l=ya(n.href);var c=e.querySelector(Ts(l));if(c)return t.state.loading|=4,t.instance=c,$e(c),c;s=Sp(n),(l=Gt.get(l))&&Qc(s,l),c=(e.ownerDocument||e).createElement("link"),$e(c);var g=c;return g._p=new Promise(function(b,S){g.onload=b,g.onerror=S}),st(c,"link",s),t.state.loading|=4,ar(c,n.precedence,e),t.instance=c;case"script":return c=va(n.src),(l=e.querySelector(ws(c)))?(t.instance=l,$e(l),l):(s=n,(l=Gt.get(c))&&(s=y({},n),Kc(s,l)),e=e.ownerDocument||e,l=e.createElement("script"),$e(l),st(l,"link",s),e.head.appendChild(l),t.instance=l);case"void":return null;default:throw Error(r(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(s=t.instance,t.state.loading|=4,ar(s,n.precedence,e));return t.instance}function ar(e,t,n){for(var s=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=s.length?s[s.length-1]:null,c=l,g=0;g<s.length;g++){var b=s[g];if(b.dataset.precedence===t)c=b;else if(c!==l)break}c?c.parentNode.insertBefore(e,c.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Qc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Kc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var sr=null;
vendor: 9,072 bytes, line 49
49function wp(e,t,n){if(sr===null){var s=new Map,l=sr=new Map;l.set(n,s)}else l=sr,s=l.get(n),s||(s=new Map,l.set(n,s));if(s.has(e))return s;for(s.set(e,null),n=n.getElementsByTagName(e),l=0;l<n.length;l++){var c=n[l];if(!(c[Ua]||c[rt]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var g=c.getAttribute(t)||"";g=e+g;var b=s.get(g);b?b.push(c):s.set(g,[c])}}return s}function Cp(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function Bx(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Ep(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var Cs=null;function Lx(){}function Gx(e,t,n){if(Cs===null)throw Error(r(475));var s=Cs;if(t.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var l=ya(n.href),c=e.querySelector(Ts(l));if(c){e=c._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(s.count++,s=or.bind(s),e.then(s,s)),t.state.loading|=4,t.instance=c,$e(c);return}c=e.ownerDocument||e,n=Sp(n),(l=Gt.get(l))&&Qc(n,l),c=c.createElement("link"),$e(c);var g=c;g._p=new Promise(function(b,S){g.onload=b,g.onerror=S}),st(c,"link",n),t.instance=c}s.stylesheets===null&&(s.stylesheets=new Map),s.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&3)===0&&(s.count++,t=or.bind(s),e.addEventListener("load",t),e.addEventListener("error",t))}}function qx(){if(Cs===null)throw Error(r(475));var e=Cs;return e.stylesheets&&e.count===0&&Zc(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&Zc(e,e.stylesheets),e.unsuspend){var s=e.unsuspend;e.unsuspend=null,s()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}function or(){if(this.count--,this.count===0){if(this.stylesheets)Zc(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var rr=null;function Zc(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,rr=new Map,t.forEach(Hx,e),rr=null,or.call(e))}function Hx(e,t){if(!(t.state.loading&4)){var n=rr.get(e);if(n)var s=n.get(null);else{n=new Map,rr.set(e,n);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<l.length;c++){var g=l[c];(g.nodeName==="LINK"||g.getAttribute("media")!=="not all")&&(n.set(g.dataset.precedence,g),s=g)}s&&n.set(null,s)}l=t.instance,g=l.getAttribute("data-precedence"),c=n.get(g)||s,c===s&&n.set(null,l),n.set(g,l),this.count++,s=or.bind(this),l.addEventListener("load",s),l.addEventListener("error",s),c?c.parentNode.insertBefore(l,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(l,e.firstChild)),t.state.loading|=4}}var Es={$$typeof:B,Provider:null,Consumer:null,_currentValue:q,_currentValue2:q,_threadCount:0};function Px(e,t,n,s,l,c,g,b){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=Yr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Yr(0),this.hiddenUpdates=Yr(null),this.identifierPrefix=s,this.onUncaughtError=l,this.onCaughtError=c,this.onRecoverableError=g,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=b,this.incompleteTransitions=new Map}function Mp(e,t,n,s,l,c,g,b,S,D,_,L){return e=new Px(e,t,n,g,b,S,D,L),t=1,c===!0&&(t|=24),c=Mt(3,null,null,t),e.current=c,c.stateNode=e,t=jl(),t.refCount++,e.pooledCache=t,t.refCount++,c.memoizedState={element:s,isDehydrated:n,cache:t},kl(c),e}function Dp(e){return e?(e=Zi,e):Zi}function Rp(e,t,n,s,l,c){l=Dp(l),s.context===null?s.context=l:s.pendingContext=l,s=Vn(t),s.payload={element:n},c=c===void 0?null:c,c!==null&&(s.callback=c),n=_n(e,s,t),n!==null&&(Ot(n,e,t),ns(n,e,t))}function jp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Fc(e,t){jp(e,t),(e=e.alternate)&&jp(e,t)}function Np(e){if(e.tag===13){var t=Ki(e,67108864);t!==null&&Ot(t,e,67108864),Fc(e,67108864)}}var lr=!0;function Yx(e,t,n,s){var l=O.T;O.T=null;var c=Y.p;try{Y.p=2,Jc(e,t,n,s)}finally{Y.p=c,O.T=l}}function Xx(e,t,n,s){var l=O.T;O.T=null;var c=Y.p;try{Y.p=8,Jc(e,t,n,s)}finally{Y.p=c,O.T=l}}function Jc(e,t,n,s){if(lr){var l=Wc(s);if(l===null)Ic(e,t,s,cr,n),zp(e,s);else if(Kx(l,e,t,n,s))s.stopPropagation();else if(zp(e,s),t&4&&-1<Qx.indexOf(e)){for(;l!==null;){var c=_i(l);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var g=li(c.pendingLanes);if(g!==0){var b=c;for(b.pendingLanes|=2,b.entangledLanes|=2;g;){var S=1<<31-Ct(g);b.entanglements[1]|=S,g&=~S}tn(c),(Se&6)===0&&(Xo=Ft()+500,bs(0))}}break;case 13:b=Ki(c,2),b!==null&&Ot(b,c,2),Ko(),Fc(c,2)}if(c=Wc(s),c===null&&Ic(e,t,s,cr,n),c===l)break;l=c}l!==null&&s.stopPropagation()}else Ic(e,t,s,null,n)}}function Wc(e){return e=il(e),$c(e)}var cr=null;function $c(e){if(cr=null,e=Vi(e),e!==null){var t=f(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=d(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return cr=e,null}function Op(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(Ob()){case Yd:return 2;case Xd:return 8;case eo:case zb:return 32;case Qd:return 268435456;default:return 32}default:return 32}}var eu=!1,Zn=null,Fn=null,Jn=null,Ms=new Map,Ds=new Map,Wn=[],Qx="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 zp(e,t){switch(e){case"focusin":case"focusout":Zn=null;break;case"dragenter":case"dragleave":Fn=null;break;case"mouseover":case"mouseout":Jn=null;break;case"pointerover":case"pointerout":Ms.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ds.delete(t.pointerId)}}function Rs(e,t,n,s,l,c){return e===null||e.nativeEvent!==c?(e={blockedOn:t,domEventName:n,eventSystemFlags:s,nativeEvent:c,targetContainers:[l]},t!==null&&(t=_i(t),t!==null&&Np(t)),e):(e.eventSystemFlags|=s,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Kx(e,t,n,s,l){switch(t){case"focusin":return Zn=Rs(Zn,e,t,n,s,l),!0;case"dragenter":return Fn=Rs(Fn,e,t,n,s,l),!0;case"mouseover":return Jn=Rs(Jn,e,t,n,s,l),!0;case"pointerover":var c=l.pointerId;return Ms.set(c,Rs(Ms.get(c)||null,e,t,n,s,l)),!0;case"gotpointercapture":return c=l.pointerId,Ds.set(c,Rs(Ds.get(c)||null,e,t,n,s,l)),!0}return!1}function kp(e){var t=Vi(e.target);if(t!==null){var n=f(t);if(n!==null){if(t=n.tag,t===13){if(t=d(n),t!==null){e.blockedOn=t,Gb(e.priority,function(){if(n.tag===13){var s=Nt();s=Xr(s);var l=Ki(n,s);l!==null&&Ot(l,n,s),Fc(n,s)}});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ur(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Wc(e.nativeEvent);if(n===null){n=e.nativeEvent;var s=new n.constructor(n.type,n);nl=s,n.target.dispatchEvent(s),nl=null}else return t=_i(n),t!==null&&Np(t),e.blockedOn=n,!1;t.shift()}return!0}
vendor: 9,067 bytes, line 49
49function Vp(e,t,n){ur(e)&&n.delete(t)}function Zx(){eu=!1,Zn!==null&&ur(Zn)&&(Zn=null),Fn!==null&&ur(Fn)&&(Fn=null),Jn!==null&&ur(Jn)&&(Jn=null),Ms.forEach(Vp),Ds.forEach(Vp)}function dr(e,t){e.blockedOn===t&&(e.blockedOn=null,eu||(eu=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Zx)))}var fr=null;function _p(e){fr!==e&&(fr=e,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){fr===e&&(fr=null);for(var t=0;t<e.length;t+=3){var n=e[t],s=e[t+1],l=e[t+2];if(typeof s!="function"){if($c(s||n)===null)continue;break}var c=_i(n);c!==null&&(e.splice(t,3),t-=3,$l(c,{pending:!0,data:l,method:n.method,action:s},s,l))}}))}function js(e){function t(S){return dr(S,e)}Zn!==null&&dr(Zn,e),Fn!==null&&dr(Fn,e),Jn!==null&&dr(Jn,e),Ms.forEach(t),Ds.forEach(t);for(var n=0;n<Wn.length;n++){var s=Wn[n];s.blockedOn===e&&(s.blockedOn=null)}for(;0<Wn.length&&(n=Wn[0],n.blockedOn===null);)kp(n),n.blockedOn===null&&Wn.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(s=0;s<n.length;s+=3){var l=n[s],c=n[s+1],g=l[gt]||null;if(typeof c=="function")g||_p(n);else if(g){var b=null;if(c&&c.hasAttribute("formAction")){if(l=c,g=c[gt]||null)b=g.formAction;else if($c(l)!==null)continue}else b=g.action;typeof b=="function"?n[s+1]=b:(n.splice(s,3),s-=3),_p(n)}}}function tu(e){this._internalRoot=e}hr.prototype.render=tu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));var n=t.current,s=Nt();Rp(n,s,e,t,null,null)},hr.prototype.unmount=tu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Rp(e.current,2,null,e,null,null),Ko(),t[ki]=null}};function hr(e){this._internalRoot=e}hr.prototype.unstable_scheduleHydration=function(e){if(e){var t=Wd();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Wn.length&&t!==0&&t<Wn[n].priority;n++);Wn.splice(n,0,e),n===0&&kp(e)}};var Up=a.version;if(Up!=="19.1.0")throw Error(r(527,Up,"19.1.0"));Y.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=p(t),e=e!==null?h(e):null,e=e===null?null:e.stateNode,e};var Fx={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:O,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var mr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!mr.isDisabled&&mr.supportsFiber)try{ka=mr.inject(Fx),wt=mr}catch{}}return Os.createRoot=function(e,t){if(!u(e))throw Error(r(299));var n=!1,s="",l=$h,c=em,g=tm,b=null;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(s=t.identifierPrefix),t.onUncaughtError!==void 0&&(l=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(g=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(b=t.unstable_transitionCallbacks)),t=Mp(e,1,!1,null,null,n,s,l,c,g,b,null),e[ki]=t.current,Uc(e),new tu(t)},Os.hydrateRoot=function(e,t,n){if(!u(e))throw Error(r(299));var s=!1,l="",c=$h,g=em,b=tm,S=null,D=null;return n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(l=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(g=n.onCaughtError),n.onRecoverableError!==void 0&&(b=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(S=n.unstable_transitionCallbacks),n.formState!==void 0&&(D=n.formState)),t=Mp(e,1,!0,t,n??null,s,l,c,g,b,S,D),t.context=Dp(null),n=t.current,s=Nt(),s=Xr(s),l=Vn(s),l.callback=null,_n(n,l,s),n=s,t.current.lanes=n,_a(t,n),tn(t),e[ki]=t.current,Uc(e),new hr(t)},Os.version="19.1.0",Os}var Qp;function rA(){if(Qp)return au.exports;Qp=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(a){console.error(a)}}return i(),au.exports=oA(),au.exports}var lA=rA();const ed=R.createContext({});function td(i){const a=R.useRef(null);return a.current===null&&(a.current=i()),a.current}const nd=typeof window<"u",yy=nd?R.useLayoutEffect:R.useEffect,_r=R.createContext(null);function id(i,a){i.indexOf(a)===-1&&i.push(a)}function ad(i,a){const o=i.indexOf(a);o>-1&&i.splice(o,1)}const wn=(i,a,o)=>o>a?a:o<i?i:o;let sd=()=>{};const Cn={},vy=i=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(i);function by(i){return typeof i=="object"&&i!==null}const xy=i=>/^0[^.\s]+$/u.test(i);function od(i){let a;return()=>(a===void 0&&(a=i()),a)}const Pt=i=>i,cA=(i,a)=>o=>a(i(o)),Zs=(...i)=>i.reduce(cA),Gs=(i,a,o)=>{const r=a-i;return r===0?1:(o-i)/r};class rd{constructor(){this.subscriptions=[]}add(a){return id(this.subscriptions,a),()=>ad(this.subscriptions,a)}notify(a,o,r){const u=this.subscriptions.length;if(u)if(u===1)this.subscriptions[0](a,o,r);else for(let f=0;f<u;f++){const d=this.subscriptions[f];d&&d(a,o,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const nn=i=>i*1e3,an=i=>i/1e3;function Ay(i,a){return a?i*(1e3/a):0}const Sy=(i,a,o)=>(((1-3*o+3*a)*i+(3*o-6*a))*i+3*a)*i,uA=1e-7,dA=12;function fA(i,a,o,r,u){let f,d,m=0;do d=a+(o-a)/2,f=Sy(d,r,u)-i,f>0?o=d:a=d;while(Math.abs(f)>uA&&++m<dA);return d}function Fs(i,a,o,r){if(i===a&&o===r)return Pt;const u=f=>fA(f,0,1,i,o);return f=>f===0||f===1?f:Sy(u(f),a,r)}const Ty=i=>a=>a<=.5?i(2*a)/2:(2-i(2*(1-a)))/2,wy=i=>a=>1-i(1-a),Cy=Fs(.33,1.53,.69,.99),ld=wy(Cy),Ey=Ty(ld),My=i=>(i*=2)<1?.5*ld(i):.5*(2-Math.pow(2,-10*(i-1))),cd=i=>1-Math.sin(Math.acos(i)),Dy=wy(cd),Ry=Ty(cd),hA=Fs(.42,0,1,1),mA=Fs(0,0,.58,1),jy=Fs(.42,0,.58,1),pA=i=>Array.isArray(i)&&typeof i[0]!="number",Ny=i=>Array.isArray(i)&&typeof i[0]=="number",gA={linear:Pt,easeIn:hA,easeInOut:jy,easeOut:mA,circIn:cd,circInOut:Ry,circOut:Dy,backIn:ld,backInOut:Ey,backOut:Cy,anticipate:My},yA=i=>typeof i=="string",Kp=i=>{if(Ny(i)){sd(i.length===4);const[a,o,r,u]=i;return Fs(a,o,r,u)}else if(yA(i))return gA[i];return i},pr=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],Zp={value:null};function vA(i,a){let o=new Set,r=new Set,u=!1,f=!1;const d=new WeakSet;let m={delta:0,timestamp:0,isProcessing:!1},p=0;function h(x){d.has(x)&&(y.schedule(x),i()),p++,x(m)}const y={schedule:(x,A=!1,C=!1)=>{const k=C&&u?o:r;return A&&d.add(x),k.has(x)||k.add(x),x},cancel:x=>{r.delete(x),d.delete(x)},process:x=>{if(m=x,u){f=!0;return}u=!0,[o,r]=[r,o],o.forEach(h),a&&Zp.value&&Zp.value.frameloop[a].push(p),p=0,o.clear(),u=!1,f&&(f=!1,y.process(x))}};return y}const bA=40;function Oy(i,a){let o=!1,r=!0;const u={delta:0,timestamp:0,isProcessing:!1},f=()=>o=!0,d=pr.reduce((B,F)=>(B[F]=vA(f,a?F:void 0),B),{}),{setup:m,read:p,resolveKeyframes:h,preUpdate:y,update:x,preRender:A,render:C,postRender:z}=d,k=()=>{const B=Cn.useManualTiming?u.timestamp:performance.now();o=!1,Cn.useManualTiming||(u.delta=r?1e3/60:Math.max(Math.min(B-u.timestamp,bA),1)),u.timestamp=B,u.isProcessing=!0,m.process(u),p.process(u),h.process(u),y.process(u),x.process(u),A.process(u),C.process(u),z.process(u),u.isProcessing=!1,o&&a&&(r=!1,i(k))},V=()=>{o=!0,r=!0,u.isProcessing||i(k)};return{schedule:pr.reduce((B,F)=>{const P=d[F];return B[F]=(Z,ne=!1,G=!1)=>(o||V(),P.schedule(Z,ne,G)),B},{}),cancel:B=>{for(let F=0;F<pr.length;F++)d[pr[F]].cancel(B)},state:u,steps:d}}const{schedule:Ue,cancel:ai,state:ot,steps:lu}=Oy(typeof requestAnimationFrame<"u"?requestAnimationFrame:Pt,!0);let Er;function xA(){Er=void 0}const At={now:()=>(Er===void 0&&At.set(ot.isProcessing||Cn.useManualTiming?ot.timestamp:performance.now()),Er),set:i=>{Er=i,queueMicrotask(xA)}},zy=i=>a=>typeof a=="string"&&a.startsWith(i),ud=zy("--"),AA=zy("var(--"),dd=i=>AA(i)?SA.test(i.split("/*")[0].trim()):!1,SA=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Ra={test:i=>typeof i=="number",parse:parseFloat,transform:i=>i},qs={...Ra,transform:i=>wn(0,1,i)},gr={...Ra,default:1},_s=i=>Math.round(i*1e5)/1e5,fd=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function TA(i){return i==null}const wA=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,hd=(i,a)=>o=>!!(typeof o=="string"&&wA.test(o)&&o.startsWith(i)||a&&!TA(o)&&Object.prototype.hasOwnProperty.call(o,a)),ky=(i,a,o)=>r=>{if(typeof r!="string")return r;const[u,f,d,m]=r.match(fd);return{[i]:parseFloat(u),[a]:parseFloat(f),[o]:parseFloat(d),alpha:m!==void 0?parseFloat(m):1}},CA=i=>wn(0,255,i),cu={...Ra,transform:i=>Math.round(CA(i))},Ri={test:hd("rgb","red"),parse:ky("red","green","blue"),transform:({red:i,green:a,blue:o,alpha:r=1})=>"rgba("+cu.transform(i)+", "+cu.transform(a)+", "+cu.transform(o)+", "+_s(qs.transform(r))+")"};function EA(i){let a="",o="",r="",u="";return i.length>5?(a=i.substring(1,3),o=i.substring(3,5),r=i.substring(5,7),u=i.substring(7,9)):(a=i.substring(1,2),o=i.substring(2,3),r=i.substring(3,4),u=i.substring(4,5),a+=a,o+=o,r+=r,u+=u),{red:parseInt(a,16),green:parseInt(o,16),blue:parseInt(r,16),alpha:u?parseInt(u,16)/255:1}}const Ru={test:hd("#"),parse:EA,transform:Ri.transform},Js=i=>({test:a=>
vendor: 4,130 bytes, line 49
49typeof a=="string"&&a.endsWith(i)&&a.split(" ").length===1,parse:parseFloat,transform:a=>`${a}${i}`}),ii=Js("deg"),sn=Js("%"),oe=Js("px"),MA=Js("vh"),DA=Js("vw"),Fp={...sn,parse:i=>sn.parse(i)/100,transform:i=>sn.transform(i*100)},xa={test:hd("hsl","hue"),parse:ky("hue","saturation","lightness"),transform:({hue:i,saturation:a,lightness:o,alpha:r=1})=>"hsla("+Math.round(i)+", "+sn.transform(_s(a))+", "+sn.transform(_s(o))+", "+_s(qs.transform(r))+")"},ut={test:i=>Ri.test(i)||Ru.test(i)||xa.test(i),parse:i=>Ri.test(i)?Ri.parse(i):xa.test(i)?xa.parse(i):Ru.parse(i),transform:i=>typeof i=="string"?i:i.hasOwnProperty("red")?Ri.transform(i):xa.transform(i)},RA=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function jA(i){var a,o;return isNaN(i)&&typeof i=="string"&&(((a=i.match(fd))==null?void 0:a.length)||0)+(((o=i.match(RA))==null?void 0:o.length)||0)>0}const Vy="number",_y="color",NA="var",OA="var(",Jp="${}",zA=/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 Hs(i){const a=i.toString(),o=[],r={color:[],number:[],var:[]},u=[];let f=0;const m=a.replace(zA,p=>(ut.test(p)?(r.color.push(f),u.push(_y),o.push(ut.parse(p))):p.startsWith(OA)?(r.var.push(f),u.push(NA),o.push(p)):(r.number.push(f),u.push(Vy),o.push(parseFloat(p))),++f,Jp)).split(Jp);return{values:o,split:m,indexes:r,types:u}}function Uy(i){return Hs(i).values}function Iy(i){const{split:a,types:o}=Hs(i),r=a.length;return u=>{let f="";for(let d=0;d<r;d++)if(f+=a[d],u[d]!==void 0){const m=o[d];m===Vy?f+=_s(u[d]):m===_y?f+=ut.transform(u[d]):f+=u[d]}return f}}const kA=i=>typeof i=="number"?0:i;function VA(i){const a=Uy(i);return Iy(i)(a.map(kA))}const si={test:jA,parse:Uy,createTransformer:Iy,getAnimatableNone:VA};function uu(i,a,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?i+(a-i)*6*o:o<1/2?a:o<2/3?i+(a-i)*(2/3-o)*6:i}function _A({hue:i,saturation:a,lightness:o,alpha:r}){i/=360,a/=100,o/=100;let u=0,f=0,d=0;if(!a)u=f=d=o;else{const m=o<.5?o*(1+a):o+a-o*a,p=2*o-m;u=uu(p,m,i+1/3),f=uu(p,m,i),d=uu(p,m,i-1/3)}return{red:Math.round(u*255),green:Math.round(f*255),blue:Math.round(d*255),alpha:r}}function jr(i,a){return o=>o>0?a:i}const _e=(i,a,o)=>i+(a-i)*o,du=(i,a,o)=>{const r=i*i,u=o*(a*a-r)+r;return u<0?0:Math.sqrt(u)},UA=[Ru,Ri,xa],IA=i=>UA.find(a=>a.test(i));function Wp(i){const a=IA(i);if(!a)return!1;let o=a.parse(i);return a===xa&&(o=_A(o)),o}const $p=(i,a)=>{const o=Wp(i),r=Wp(a);if(!o||!r)return jr(i,a);const u={...o};return f=>(u.red=du(o.red,r.red,f),u.green=du(o.green,r.green,f),u.blue=du(o.blue,r.blue,f),u.alpha=_e(o.alpha,r.alpha,f),Ri.transform(u))},ju=new Set(["none","hidden"]);function BA(i,a){return ju.has(i)?o=>o<=0?i:a:o=>o>=1?a:i}function LA(i,a){return o=>_e(i,a,o)}function md(i){return typeof i=="number"?LA:typeof i=="string"?dd(i)?jr:ut.test(i)?$p:HA:Array.isArray(i)?By:typeof i=="object"?ut.test(i)?$p:GA:jr}function By(i,a){const o=[...i],r=o.length,u=i.map((f,d)=>md(f)(f,a[d]));return f=>{for(let d=0;d<r;d++)o[d]=u[d](f);return o}}function GA(i,a){const o={...i,...a},r={};for(const u in o)i[u]!==void 0&&a[u]!==void 0&&(r[u]=md(i[u])(i[u],a[u]));return u=>{for(const f in r)o[f]=r[f](u);return o}}function qA(i,a){const o=[],r={color:0,var:0,number:0};for(let u=0;u<a.values.length;u++){const f=a.types[u],d=i.indexes[f][r[f]],m=i.values[d]??0;o[u]=m,r[f]++}return o}const HA=(i,a)=>{const o=si.createTransformer(a),r=Hs(i),u=Hs(a);return r.indexes.var.length===u.indexes.var.length&&r.indexes.color.length===u.indexes.color.length&&r.indexes.number.length>=u.indexes.number.length?ju.has(i)&&!u.values.length||ju.has(a)&&!r.values.length?BA(i,a):Zs(By(qA(r,u),u.values),o):jr(i,a)};function Ly(i,a,o){return typeof i=="number"&&typeof a=="number"&&typeof o=="number"?_e(i,a,o):md(i)(i,a)}const PA=i=>{const a=({timestamp:o})=>i(o);return{start:(o=!0)=>Ue.update(a,o),stop:()=>ai(a),now:()=>ot.isProcessing?ot.timestamp:At.now()}},Gy=(i,a,o=10)=>{let r="";
vendor: 10,914 bytes, line 49
49const u=Math.max(Math.round(a/o),2);for(let f=0;f<u;f++)r+=i(f/(u-1))+", ";return`linear(${r.substring(0,r.length-2)})`},Nr=2e4;function pd(i){let a=0;const o=50;let r=i.next(a);for(;!r.done&&a<Nr;)a+=o,r=i.next(a);return a>=Nr?1/0:a}function YA(i,a=100,o){const r=o({...i,keyframes:[0,a]}),u=Math.min(pd(r),Nr);return{type:"keyframes",ease:f=>r.next(u*f).value/a,duration:an(u)}}const XA=5;function qy(i,a,o){const r=Math.max(a-XA,0);return Ay(o-i(r),a-r)}const Le={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},eg=.001;function QA({duration:i=Le.duration,bounce:a=Le.bounce,velocity:o=Le.velocity,mass:r=Le.mass}){let u,f,d=1-a;d=wn(Le.minDamping,Le.maxDamping,d),i=wn(Le.minDuration,Le.maxDuration,an(i)),d<1?(u=h=>{const y=h*d,x=y*i,A=y-o,C=Nu(h,d),z=Math.exp(-x);return eg-A/C*z},f=h=>{const x=h*d*i,A=x*o+o,C=Math.pow(d,2)*Math.pow(h,2)*i,z=Math.exp(-x),k=Nu(Math.pow(h,2),d);return(-u(h)+eg>0?-1:1)*((A-C)*z)/k}):(u=h=>{const y=Math.exp(-h*i),x=(h-o)*i+1;return-.001+y*x},f=h=>{const y=Math.exp(-h*i),x=(o-h)*(i*i);return y*x});const m=5/i,p=ZA(u,f,m);if(i=nn(i),isNaN(p))return{stiffness:Le.stiffness,damping:Le.damping,duration:i};{const h=Math.pow(p,2)*r;return{stiffness:h,damping:d*2*Math.sqrt(r*h),duration:i}}}const KA=12;function ZA(i,a,o){let r=o;for(let u=1;u<KA;u++)r=r-i(r)/a(r);return r}function Nu(i,a){return i*Math.sqrt(1-a*a)}const FA=["duration","bounce"],JA=["stiffness","damping","mass"];function tg(i,a){return a.some(o=>i[o]!==void 0)}function WA(i){let a={velocity:Le.velocity,stiffness:Le.stiffness,damping:Le.damping,mass:Le.mass,isResolvedFromDuration:!1,...i};if(!tg(i,JA)&&tg(i,FA))if(i.visualDuration){const o=i.visualDuration,r=2*Math.PI/(o*1.2),u=r*r,f=2*wn(.05,1,1-(i.bounce||0))*Math.sqrt(u);a={...a,mass:Le.mass,stiffness:u,damping:f}}else{const o=QA(i);a={...a,...o,mass:Le.mass},a.isResolvedFromDuration=!0}return a}function Or(i=Le.visualDuration,a=Le.bounce){const o=typeof i!="object"?{visualDuration:i,keyframes:[0,1],bounce:a}:i;let{restSpeed:r,restDelta:u}=o;const f=o.keyframes[0],d=o.keyframes[o.keyframes.length-1],m={done:!1,value:f},{stiffness:p,damping:h,mass:y,duration:x,velocity:A,isResolvedFromDuration:C}=WA({...o,velocity:-an(o.velocity||0)}),z=A||0,k=h/(2*Math.sqrt(p*y)),V=d-f,I=an(Math.sqrt(p/y)),Q=Math.abs(V)<5;r||(r=Q?Le.restSpeed.granular:Le.restSpeed.default),u||(u=Q?Le.restDelta.granular:Le.restDelta.default);let B;if(k<1){const P=Nu(I,k);B=Z=>{const ne=Math.exp(-k*I*Z);return d-ne*((z+k*I*V)/P*Math.sin(P*Z)+V*Math.cos(P*Z))}}else if(k===1)B=P=>d-Math.exp(-I*P)*(V+(z+I*V)*P);else{const P=I*Math.sqrt(k*k-1);B=Z=>{const ne=Math.exp(-k*I*Z),G=Math.min(P*Z,300);return d-ne*((z+k*I*V)*Math.sinh(G)+P*V*Math.cosh(G))/P}}const F={calculatedDuration:C&&x||null,next:P=>{const Z=B(P);if(C)m.done=P>=x;else{let ne=P===0?z:0;k<1&&(ne=P===0?nn(z):qy(B,P,Z));const G=Math.abs(ne)<=r,ce=Math.abs(d-Z)<=u;m.done=G&&ce}return m.value=m.done?d:Z,m},toString:()=>{const P=Math.min(pd(F),Nr),Z=Gy(ne=>F.next(P*ne).value,P,30);return P+"ms "+Z},toTransition:()=>{}};return F}Or.applyToOptions=i=>{const a=YA(i,100,Or);return i.ease=a.ease,i.duration=nn(a.duration),i.type="keyframes",i};function Ou({keyframes:i,velocity:a=0,power:o=.8,timeConstant:r=325,bounceDamping:u=10,bounceStiffness:f=500,modifyTarget:d,min:m,max:p,restDelta:h=.5,restSpeed:y}){const x=i[0],A={done:!1,value:x},C=G=>m!==void 0&&G<m||p!==void 0&&G>p,z=G=>m===void 0?p:p===void 0||Math.abs(m-G)<Math.abs(p-G)?m:p;let k=o*a;const V=x+k,I=d===void 0?V:d(V);I!==V&&(k=I-x);const Q=G=>-k*Math.exp(-G/r),B=G=>I+Q(G),F=G=>{const ce=Q(G),Me=B(G);A.done=Math.abs(ce)<=h,A.value=A.done?I:Me};let P,Z;const ne=G=>{C(A.value)&&(P=G,Z=Or({keyframes:[A.value,z(A.value)],velocity:qy(B,G,A.value),damping:u,stiffness:f,restDelta:h,restSpeed:y}))};return ne(0),{calculatedDuration:null,next:G=>{let ce=!1;return!Z&&P===void 0&&(ce=!0,F(G),ne(G)),P!==void 0&&G>=P?Z.next(G-P):(!ce&&F(G),A)}}}function $A(i,a,o){const r=[],u=o||Cn.mix||Ly,f=i.length-1;for(let d=0;d<f;d++){let m=u(i[d],i[d+1]);if(a){const p=Array.isArray(a)?a[d]||Pt:a;m=Zs(p,m)}r.push(m)}return r}function eS(i,a,{clamp:o=!0,ease:r,mixer:u}={}){const f=i.length;if(sd(f===a.length),f===1)return()=>a[0];if(f===2&&a[0]===a[1])return()=>a[1];const d=i[0]===i[1];i[0]>i[f-1]&&(i=[...i].reverse(),a=[...a].reverse());const m=$A(a,r,u),p=m.length,h=y=>{if(d&&y<i[0])return a[0];let x=0;if(p>1)for(;x<i.length-2&&!(y<i[x+1]);x++);const A=Gs(i[x],i[x+1],y);return m[x](A)};return o?y=>h(wn(i[0],i[f-1],y)):h}function tS(i,a){const o=i[i.length-1];for(let r=1;r<=a;r++){const u=Gs(0,a,r);i.push(_e(o,1,u))}}function nS(i){const a=[0];return tS(a,i.length-1),a}function iS(i,a){return i.map(o=>o*a)}function aS(i,a){return i.map(()=>a||jy).splice(0,i.length-1)}function Us({duration:i=300,keyframes:a,times:o,ease:r="easeInOut"}){const u=pA(r)?r.map(Kp):Kp(r),f={done:!1,value:a[0]},d=iS(o&&o.length===a.length?o:nS(a),i),m=eS(d,a,{ease:Array.isArray(u)?u:aS(a,u)});return{calculatedDuration:i,next:p=>(f.value=m(p),f.done=p>=i,f)}}const sS=i=>i!==null;function gd(i,{repeat:a,repeatType:o="loop"},r,u=1){const f=i.filter(sS),m=u<0||a&&o!=="loop"&&a%2===1?0:f.length-1;return!m||r===void 0?f[m]:r}const oS={decay:Ou,inertia:Ou,tween:Us,keyframes:Us,spring:Or};function Hy(i){typeof i.type=="string"&&(i.type=oS[i.type])}class yd{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(a=>{this.resolve=a})}notifyFinished(){this.resolve()}then(a,o){return this.finished.then(a,o)}}const rS=i=>i/100;class vd extends yd{constructor(a){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var r,u;const{motionValue:o}=this.options;o&&o.updatedAt!==At.now()&&this.tick(At.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(u=(r=this.options).onStop)==null||u.call(r))},this.options=a,this.initAnimation(),this.play(),a.autoplay===!1&&this.pause()}initAnimation(){const{options:a}=this;Hy(a);const{type:o=Us,repeat:r=0,repeatDelay:u=0,repeatType:f,velocity:d=0}=a;let{keyframes:m}=a;const p=o||Us;p!==Us&&typeof m[0]!="number"&&(this.mixKeyframes=Zs(rS,Ly(m[0],m[1])),m=[0,100]);const h=p({...a,keyframes:m});f==="mirror"&&(this.mirroredGenerator=p({...a,keyframes:[...m].reverse(),velocity:-d})),h.calculatedDuration===null&&(h.calculatedDuration=pd(h));const{calculatedDuration:y}=h;this.calculatedDuration=y,this.resolvedDuration=y+u,this.totalDuration=this.resolvedDuration*(r+1)-u,this.generator=h}updateTime(a){const o=Math.round(a-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=o}tick(a,o=!1){const{generator:r,totalDuration:u,mixKeyframes:f,mirroredGenerator:d,resolvedDuration:m,calculatedDuration:p}=this;if(this.startTime===null)return r.next(0);const{delay:h=0,keyframes:y,repeat:x,repeatType:A,repeatDelay:C,type:z,onUpdate:k,finalKeyframe:V}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,a):this.speed<0&&(this.startTime=Math.min(a-u/this.speed,this.startTime)),o?this.currentTime=a:this.updateTime(a);const I=this.currentTime-h*(this.playbackSpeed>=0?1:-1),Q=this.playbackSpeed>=0?I<0:I>u;this.currentTime=Math.max(I,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let B=this.currentTime,F=r;if(x){const G=Math.min(this.currentTime,u)/m;let ce=Math.floor(G),Me=G%1;!Me&&G>=1&&(Me=1),Me===1&&ce--,ce=Math.min(ce,x+1),!!(ce%2)&&(A==="reverse"?(Me=1-Me,C&&(Me-=C/m)):A==="mirror"&&(F=d)),B=wn(0,1,Me)*m}const P=Q?{done:!1,value:y[0]}:F.next(B);f&&(P.value=f(P.value));let{done:Z}=P;!Q&&p!==null&&(Z=this.playbackSpeed>=0?this.currentTime>=u:this.currentTime<=0);const ne=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&Z);return ne&&z!==Ou&&(P.value=gd(y,this.options,V,this.speed)),k&&k(P.value),ne&&this.finish(),P}then(a,o){return this.finished.then(a,o)}get duration(){return an(this.calculatedDuration)}get time(){return an(this.currentTime)}set time(a){var o;a=nn(a),this.currentTime=a,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=a:this.driver&&(this.startTime=this.driver.now()-a/this.playbackSpeed),(o=this.driver)==null||o.start(!1)}get speed(){return this.playbackSpeed}set speed(a){this.updateTime(At.now());const o=this.playbackSpeed!==a;this.playbackSpeed=a,o&&(this.time=an(this.currentTime))}play(){var u,f;if(this.isStopped)return;const{driver:a=PA,startTime:o}=this.options;this.driver||(this.driver=a(d=>this.tick(d))),(f=(u=this.options).onPlay)==null||f.call(u);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=o??r),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(At.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var a,o;this.notifyFinished(),this.teardown(),this.state="finished",(o=(a=this.options).onComplete)==null||o.call(a)}cancel(){var a,o;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(o=(a=this.options).onCancel)==null||o.call(a)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(a){return this.startTime=0,this.tick(a,!0)}attachTimeline(a){var o;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(o=this.driver)==null||o.stop(),a.observe(this)}}function lS(i){for(let a=1;a<i.length;a++)i[a]??(i[a]=i[a-1])}const ji=i=>i*180/Math.PI,zu=i=>{const a=ji(Math.atan2(i[1],i[0]));return ku(a)},cS={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:i=>(Math.abs(i[0])+Math.abs(i[3]))/2,rotate:zu,rotateZ:zu,skewX:i=>ji(Math.atan(i[1])),skewY:i=>ji(Math.atan(i[2])),skew:i=>(Math.abs(i[1])+Math.abs(i[2]))/2},ku=i=>(i=i%360,i<0&&(i+=360),i),ng=zu,ig=i=>Math.sqrt(i[0]*i[0]+i[1]*i[1]),ag=i=>Math.sqrt(i[4]*i[4]+i[5]*i[5]),uS={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ig,scaleY:ag,scale:i=>(ig(i)+ag(i))/2,rotateX:i=>ku(ji(Math.atan2(i[6],i[5]))),rotateY:i=>ku(ji(Math.atan2(-i[2],i[0]))),rotateZ:ng,rotate:ng,skewX:i=>ji(Math.atan(i[4])),skewY:i=>ji(Math.atan(i[1])),skew:i=>(Math.abs(i[1])+Math.abs(i[4]))/2};function Vu(i){return i.includes("scale")?1:0}function _u(i,a){if(!i||i==="none")return Vu(a);const o=i.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,u;if(o)r=uS,u=o;else{const m=i.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=cS,u=m}if(!u)return Vu(a);
vendor: 1,287 bytes, line 49
49const f=r[a],d=u[1].split(",").map(fS);return typeof f=="function"?f(d):d[f]}const dS=(i,a)=>{const{transform:o="none"}=getComputedStyle(i);return _u(o,a)};function fS(i){return parseFloat(i.trim())}const ja=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Na=new Set(ja),sg=i=>i===Ra||i===oe,hS=new Set(["x","y","z"]),mS=ja.filter(i=>!hS.has(i));function pS(i){const a=[];return mS.forEach(o=>{const r=i.getValue(o);r!==void 0&&(a.push([o,r.get()]),r.set(o.startsWith("scale")?1:0))}),a}const Ni={width:({x:i},{paddingLeft:a="0",paddingRight:o="0"})=>i.max-i.min-parseFloat(a)-parseFloat(o),height:({y:i},{paddingTop:a="0",paddingBottom:o="0"})=>i.max-i.min-parseFloat(a)-parseFloat(o),top:(i,{top:a})=>parseFloat(a),left:(i,{left:a})=>parseFloat(a),bottom:({y:i},{top:a})=>parseFloat(a)+(i.max-i.min),right:({x:i},{left:a})=>parseFloat(a)+(i.max-i.min),x:(i,{transform:a})=>_u(a,"x"),y:(i,{transform:a})=>_u(a,"y")};Ni.translateX=Ni.x;Ni.translateY=Ni.y;const Oi=new Set;let Uu=!1,Iu=!1,Bu=!1;function Py(){if(Iu){const i=Array.from(Oi).filter(r=>r.needsMeasurement),a=new Set(i.map(r=>r.element)),o=new Map;a.forEach(r=>{const u=pS(r);u.length&&(o.set(r,u),r.render())}
vendor: 1,675 bytes, line 49
49),i.forEach(r=>r.measureInitialState()),a.forEach(r=>{r.render();const u=o.get(r);u&&u.forEach(([f,d])=>{var m;(m=r.getValue(f))==null||m.set(d)})}),i.forEach(r=>r.measureEndState()),i.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Iu=!1,Uu=!1,Oi.forEach(i=>i.complete(Bu)),Oi.clear()}function Yy(){Oi.forEach(i=>{i.readKeyframes(),i.needsMeasurement&&(Iu=!0)})}function gS(){Bu=!0,Yy(),Py(),Bu=!1}class bd{constructor(a,o,r,u,f,d=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...a],this.onComplete=o,this.name=r,this.motionValue=u,this.element=f,this.isAsync=d}scheduleResolve(){this.state="scheduled",this.isAsync?(Oi.add(this),Uu||(Uu=!0,Ue.read(Yy),Ue.resolveKeyframes(Py))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:a,name:o,element:r,motionValue:u}=this;if(a[0]===null){const f=u==null?void 0:u.get(),d=a[a.length-1];if(f!==void 0)a[0]=f;else if(r&&o){const m=r.readValue(o,d);m!=null&&(a[0]=m)}a[0]===void 0&&(a[0]=d),u&&f===void 0&&u.set(a[0])}lS(a)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(a=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,a),Oi.delete(this)}cancel(){this.state==="scheduled"&&(Oi.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const yS=i=>i.startsWith("--");function vS(i,a,o){yS(a)?i.style.setProperty(a,o):i.style[a]=o}const bS=od(()=>window.ScrollTimeline!==void 0),xS={};function AS(i,a){const o=od(i);return()=>xS[a]??o()}const Xy=AS(()=>{try{document.createElement("div").animate({opacity:0}
49,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Vs=([i,a,o,r])=>`cubic-bezier(${i}, ${a}, ${o}, ${r})`,og={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Vs([0,.65,.55,1]),circOut:Vs([.55,0,1,.45]),backIn:Vs([.31,.01,.66,-.59]),backOut:Vs([.33,1.53,.69,.99])};function Qy(i,a){if(i)return typeof i=="function"?Xy()?Gy(i,a):"ease-out":Ny(i)?Vs(i):Array.isArray(i)?i.map(o=>Qy(o,a)||og.easeOut):og[i]}function SS(i,a,o,{delay:r=0,duration:u=300,repeat:f=0,repeatType:d="loop",ease:m="easeOut",times:p}={},h=void 0){const y={[a]:o};p&&(y.offset=p);const x=Qy(m,u);Array.isArray(x)&&(y.easing=x);const A={delay:r,duration:u,easing:Array.isArray(x)?"linear":x,fill:"both",iterations:f+1,direction:d==="reverse"?"alternate":"normal"};return h&&(A.pseudoElement=h),i.animate(y,A)}function Ky(i){return typeof i=="function"&&"applyToOptions"in i}function TS({type:i,...a}){return Ky(i)&&Xy()?i.applyToOptions(a):(a.duration??(a.duration=300),a.ease??(a.ease="easeOut"),a)}class wS extends yd{constructor(a){if(super(),this.finishedTime=null,this.isStopped=!1,!a)return;const{element:o,name:r,keyframes:u,pseudoElement:f,allowFlatten:d=!1,finalKeyframe:m,onComplete:p}=a;this.isPseudoElement=!!f,this.allowFlatten=d,this.options=a,sd(typeof a.type!="string");const h=TS(a);this.animation=SS(o,r,u,h,f),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!f){const y=gd(u,this.options,m,this.speed);this.updateMotionValue?this.updateMotionValue(y):vS(o,r,y),this.animation.cancel()}p==null||p(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var a,o;(o=(a=this.animation).finish)==null||o.call(a)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:a}=this;a==="idle"||a==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var a,o;this.isPseudoElement||(o=(a=this.animation).commitStyles)==null||o.call(a)}get duration(){var o,r;const a=((r=(o=this.animation.effect)==null?void 0:o.getComputedTiming)==null?void 0:r.call(o).duration)||0;return an(Number(a))}get time(){return an(Number(this.animation.currentTime)||0)}set time(a){this.finishedTime=null,this.animation.currentTime=nn(a)}get speed(){return this.animation.playbackRate}set speed(a){a<0&&(this.finishedTime=null),this.animation.playbackRate=a}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(a){this.animation.startTime=a}attachTimeline({timeline:a,observe:o}){var r;return this.allowFlatten&&((r=this.animation.effect)==null||r.updateTiming({easing:"linear"})),this.animation.onfinish=null,a&&bS()?(this.animation.timeline=a,Pt):o(this)}}const Zy={anticipate:My,backInOut:Ey,circInOut:Ry};function CS(i){return i in Zy}function ES(i){typeof i.ease=="string"&&CS(i.ease)&&(i.ease=Zy[i.ease])}const rg=10;class MS extends wS{constructor(a){ES(a),Hy(a),super(a),a.startTime&&(this.startTime=a.startTime),this.options=a}updateMotionValue(a){const{motionValue:o,onUpdate:r,onComplete:u,element:f,...d}=this.options;if(!o)return;if(a!==void 0){o.set(a);return}const m=new vd({...d,autoplay:!1}),p=nn(this.finishedTime??this.time);o.setWithVelocity(m.sample(p-rg).value,m.sample(p).value,rg),m.stop()}}const lg=(i,a)=>a==="zIndex"?!1:!!(typeof i=="number"||Array.isArray(i)||typeof i=="string"&&(si.test(i)||i==="0")&&!i.startsWith("url("));function DS(i){const a=i[0];if(i.length===1)return!0;for(let o=0;o<i.length;o++)if(i[o]!==a)return!0}function RS(i,a,o,r){const u=i[0];if(u===null)return!1;if(a==="display"||a==="visibility")return!0;const f=i[i.length-1],d=lg(u,a),m=lg(f,a);return!d||!m?!1:DS(i)||(o==="spring"||Ky(o))&&r}function xd(i){return by(i)&&"offsetHeight"in i}const jS=new Set(["opacity","clipPath","filter","transform"]),NS=od(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function OS(i){var h;const{motionValue:a,name:o,repeatDelay:r,repeatType:u,damping:f,type:d}=i;if(!xd((h=a==null?void 0:a.owner)==null?void 0:h.current))return!1;const{onUpdate:m,transformTemplate:p}=a.owner.getProps();return NS()&&o&&jS.has(o)&&(o!=="transform"||!p)&&!m&&!r&&u!=="mirror"&&f!==0&&d!=="inertia"}const zS=40;class kS extends yd{constructor({autoplay:a=!0,delay:o=0,type:r="keyframes",repeat:u=0,repeatDelay:f=0,repeatType:d="loop",keyframes:m,name:p,motionValue:h,element:y,...x}){var z;super(),this.stop=()=>{var k,V;this._animation&&(this._animation.stop(),(k=this.stopTimeline)==null||k.call(this)),(V=this.keyframeResolver)==null||V.cancel()},this.createdAt=At.now();const A={autoplay:a,delay:o,type:r,repeat:u,repeatDelay:f,repeatType:d,name:p,motionValue:h,element:y,...x},C=(y==null?void 0:y.KeyframeResolver)||bd;this.keyframeResolver=new C(m,(k,V,I)=>this.onKeyframesResolved(k,V,A,!I),p,h,y),(z=this.keyframeResolver)==null||z.scheduleResolve()}onKeyframesResolved(a,o,r,u){this.keyframeResolver=void 0;const{name:f,type:d,velocity:m,delay:p,isHandoff:h,onUpdate:y}=r;this.resolvedAt=At.now(),RS(a,f,d,m)||((Cn.instantAnimations||!p)&&(y==null||y(gd(a,r,o))),a[0]=a[a.length-1],r.duration=0,r.repeat=0);const A={startTime:u?this.resolvedAt?this.resolvedAt-this.createdAt>zS?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:o,...r,keyframes:a},C=!h&&OS(A)?new MS({...A,element:A.motionValue.owner.current}):new vd(A);C.finished.then(()=>this.notifyFinished()).catch(Pt),this.pendingTimeline&&(this.stopTimeline=C.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=C}get finished(){return this._animation?this.animation.finished:this._finished}then(a,o){return this.finished.finally(a).then(()=>{})}get animation(){var a;return this._animation||((a=this.keyframeResolver)==null||a.resume(),gS()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(a){this.animation.time=a}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(a){this.animation.speed=a}get startTime(){return this.animation.startTime}attachTimeline(a){return this._animation?this.stopTimeline=this.animation.attachTimeline(a):this.pendingTimeline=a,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var a;
49this._animation&&this.animation.cancel(),(a=this.keyframeResolver)==null||a.cancel()}}const VS=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function _S(i){const a=VS.exec(i);if(!a)return[,];const[,o,r,u]=a;return[`--${o??r}`,u]}function Fy(i,a,o=1){const[r,u]=_S(i);if(!r)return;const f=window.getComputedStyle(a).getPropertyValue(r);if(f){const d=f.trim();return vy(d)?parseFloat(d):d}return dd(u)?Fy(u,a,o+1):u}function Ad(i,a){return(i==null?void 0:i[a])??(i==null?void 0:i.default)??i}const Jy=new Set(["width","height","top","left","right","bottom",...ja]),US={test:i=>i==="auto",parse:i=>i},Wy=i=>a=>a.test(i),$y=[Ra,oe,sn,ii,DA,MA,US],cg=i=>$y.find(Wy(i));function IS(i){return typeof i=="number"?i===0:i!==null?i==="none"||i==="0"||xy(i):!0}const BS=new Set(["brightness","contrast","saturate","opacity"]);function LS(i){const[a,o]=i.slice(0,-1).split("(");if(a==="drop-shadow")return i;const[r]=o.match(fd)||[];if(!r)return i;const u=o.replace(r,"");let f=BS.has(a)?1:0;return r!==o&&(f*=100),a+"("+f+u+")"}const GS=/\b([a-z-]*)\(.*?\)/gu,Lu={...si,getAnimatableNone:i=>{const a=i.match(GS);return a?a.map(LS).join(" "):i}},ug={...Ra,transform:Math.round},qS={rotate:ii,rotateX:ii,rotateY:ii,rotateZ:ii,scale:gr,scaleX:gr,scaleY:gr,scaleZ:gr,skew:ii,skewX:ii,skewY:ii,distance:oe,translateX:oe,translateY:oe,translateZ:oe,x:oe,y:oe,z:oe,perspective:oe,transformPerspective:oe,opacity:qs,originX:Fp,originY:Fp,originZ:oe},Sd={borderWidth:oe,borderTopWidth:oe,borderRightWidth:oe,borderBottomWidth:oe,borderLeftWidth:oe,borderRadius:oe,radius:oe,borderTopLeftRadius:oe,borderTopRightRadius:oe,borderBottomRightRadius:oe,borderBottomLeftRadius:oe,width:oe,maxWidth:oe,height:oe,maxHeight:oe,top:oe,right:oe,bottom:oe,left:oe,padding:oe,paddingTop:oe,paddingRight:oe,paddingBottom:oe,paddingLeft:oe,margin:oe,marginTop:oe,marginRight:oe,marginBottom:oe,marginLeft:oe,backgroundPositionX:oe,backgroundPositionY:oe,...qS,zIndex:ug,fillOpacity:qs,strokeOpacity:qs,numOctaves:ug},HS={...Sd,color:ut,backgroundColor:ut,outlineColor:ut,fill:ut,stroke:ut,borderColor:ut,borderTopColor:ut,borderRightColor:ut,borderBottomColor:ut,borderLeftColor:ut,filter:Lu,WebkitFilter:Lu},ev=i=>HS[i];function tv(i,a){let o=ev(i);return o!==Lu&&(o=si),o.getAnimatableNone?o.getAnimatableNone(a):void 0}const PS=new Set(["auto","none","0"]);function YS(i,a,o){let r=0,u;for(;r<i.length&&!u;){const f=i[r];typeof f=="string"&&!PS.has(f)&&Hs(f).values.length&&(u=i[r]),r++}if(u&&o)for(const f of a)i[f]=tv(o,u)}class XS extends bd{constructor(a,o,r,u,f){super(a,o,r,u,f,!0)}readKeyframes(){const{unresolvedKeyframes:a,element:o,name:r}=this;if(!o||!o.current)return;super.readKeyframes();for(let p=0;p<a.length;p++){let h=a[p];if(typeof h=="string"&&(h=h.trim(),dd(h))){const y=Fy(h,o.current);
vendor: 7,139 bytes, line 49
49y!==void 0&&(a[p]=y),p===a.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!Jy.has(r)||a.length!==2)return;const[u,f]=a,d=cg(u),m=cg(f);if(d!==m)if(sg(d)&&sg(m))for(let p=0;p<a.length;p++){const h=a[p];typeof h=="string"&&(a[p]=parseFloat(h))}else Ni[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:a,name:o}=this,r=[];for(let u=0;u<a.length;u++)(a[u]===null||IS(a[u]))&&r.push(u);r.length&&YS(a,r,o)}measureInitialState(){const{element:a,unresolvedKeyframes:o,name:r}=this;if(!a||!a.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ni[r](a.measureViewportBox(),window.getComputedStyle(a.current)),o[0]=this.measuredOrigin;const u=o[o.length-1];u!==void 0&&a.getValue(r,u).jump(u,!1)}measureEndState(){var m;const{element:a,name:o,unresolvedKeyframes:r}=this;if(!a||!a.current)return;const u=a.getValue(o);u&&u.jump(this.measuredOrigin,!1);const f=r.length-1,d=r[f];r[f]=Ni[o](a.measureViewportBox(),window.getComputedStyle(a.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),(m=this.removedTransforms)!=null&&m.length&&this.removedTransforms.forEach(([p,h])=>{a.getValue(p).set(h)}),this.resolveNoneKeyframes()}}function QS(i,a,o){if(i instanceof EventTarget)return[i];if(typeof i=="string"){let r=document;const u=(o==null?void 0:o[i])??r.querySelectorAll(i);return u?Array.from(u):[]}return Array.from(i)}const nv=(i,a)=>a&&typeof i=="number"?a.transform(i):i,dg=30,KS=i=>!isNaN(parseFloat(i));class ZS{constructor(a,o={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,u=!0)=>{var d,m;const f=At.now();if(this.updatedAt!==f&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((d=this.events.change)==null||d.notify(this.current),this.dependents))for(const p of this.dependents)p.dirty();u&&((m=this.events.renderRequest)==null||m.notify(this.current))},this.hasAnimated=!1,this.setCurrent(a),this.owner=o.owner}setCurrent(a){this.current=a,this.updatedAt=At.now(),this.canTrackVelocity===null&&a!==void 0&&(this.canTrackVelocity=KS(this.current))}setPrevFrameValue(a=this.current){this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt}onChange(a){return this.on("change",a)}on(a,o){this.events[a]||(this.events[a]=new rd);const r=this.events[a].add(o);return a==="change"?()=>{r(),Ue.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const a in this.events)this.events[a].clear()}attach(a,o){this.passiveEffect=a,this.stopPassiveEffect=o}set(a,o=!0){!o||!this.passiveEffect?this.updateAndNotify(a,o):this.passiveEffect(a,this.updateAndNotify)}setWithVelocity(a,o,r){this.set(o),this.prev=void 0,this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt-r}jump(a,o=!0){this.updateAndNotify(a),this.prev=a,this.prevUpdatedAt=this.prevFrameValue=void 0,o&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var a;(a=this.events.change)==null||a.notify(this.current)}addDependent(a){this.dependents||(this.dependents=new Set),this.dependents.add(a)}removeDependent(a){this.dependents&&this.dependents.delete(a)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const a=At.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||a-this.updatedAt>dg)return 0;const o=Math.min(this.updatedAt-this.prevUpdatedAt,dg);return Ay(parseFloat(this.current)-parseFloat(this.prevFrameValue),o)}start(a){return this.stop(),new Promise(o=>{this.hasAnimated=!0,this.animation=a(o),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(){var a,o;(a=this.dependents)==null||a.clear(),(o=this.events.destroy)==null||o.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ea(i,a){return new ZS(i,a)}const{schedule:Td}=Oy(queueMicrotask,!1),Kt={x:!1,y:!1};function iv(){return Kt.x||Kt.y}function FS(i){return i==="x"||i==="y"?Kt[i]?null:(Kt[i]=!0,()=>{Kt[i]=!1}):Kt.x||Kt.y?null:(Kt.x=Kt.y=!0,()=>{Kt.x=Kt.y=!1})}function av(i,a){const o=QS(i),r=new AbortController,u={passive:!0,...a,signal:r.signal};return[o,u,()=>r.abort()]}function fg(i){return!(i.pointerType==="touch"||iv())}function JS(i,a,o={}){const[r,u,f]=av(i,o),d=m=>{if(!fg(m))return;const{target:p}=m,h=a(p,m);if(typeof h!="function"||!p)return;const y=x=>{fg(x)&&(h(x),p.removeEventListener("pointerleave",y))};p.addEventListener("pointerleave",y,u)};return r.forEach(m=>{m.addEventListener("pointerenter",d,u)}),f}const sv=(i,a)=>a?i===a?!0:sv(i,a.parentElement):!1,wd=i=>i.pointerType==="mouse"?typeof i.button!="number"||i.button<=0:i.isPrimary!==!1,WS=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function $S(i){return WS.has(i.tagName)||i.tabIndex!==-1}const Mr=new WeakSet;function hg(i){return a=>{a.key==="Enter"&&i(a)}}function fu(i,a){i.dispatchEvent(new PointerEvent("pointer"+a,{isPrimary:!0,bubbles:!0}))}const e1=(i,a)=>{const o=i.currentTarget;if(!o)return;const r=hg(()=>{if(Mr.has(o))return;fu(o,"down");const u=hg(()=>{fu(o,"up")}),f=()=>fu(o,"cancel");o.addEventListener("keyup",u,a),o.addEventListener("blur",f,a)});o.addEventListener("keydown",r,a),o.addEventListener("blur",()=>o.removeEventListener("keydown",r),a)};function mg(i){return wd(i)&&!iv()}function t1(i,a,o={}){const[r,u,f]=av(i,o),d=m=>{const p=m.currentTarget;if(!mg(m))return;Mr.add(p);const h=a(p,m),y=(C,z)=>{window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",A),Mr.has(p)&&Mr.delete(p),mg(C)&&typeof h=="function"&&h(C,{success:z})},x=C=>{y(C,p===window||p===document||o.useGlobalTarget||sv(p,C.target))},A=C=>{y(C,!1)};window.addEventListener("pointerup",x,u),window.addEventListener("pointercancel",A,u)};return r.forEach(m=>{(o.useGlobalTarget?window:m).addEventListener("pointerdown",d,u),xd(m)&&(m.addEventListener("focus",h=>e1(h,u)),!$S(m)&&!m.hasAttribute("tabindex")&&(m.tabIndex=0))}),f}function ov(i){return by(i)&&"ownerSVGElement"in i}function n1(i){return ov(i)&&i.tagName==="svg"}const dt=i=>!!(i&&i.getVelocity),i1=[...$y,ut,si],a1=i=>i1.find(Wy(i)),Cd=R.createContext({transformPagePoint:i=>i,isStatic:!1,reducedMotion:"never"});class s1 extends R.Component{getSnapshotBeforeUpdate(a){const o=this.props.childRef.current;if(o&&a.isPresent&&!this.props.isPresent){const r=o.offsetParent,u=xd(r)&&r.offsetWidth||0,f=this.props.sizeRef.current;f.height=o.offsetHeight||0,f.width=o.offsetWidth||0,f.top=o.offsetTop,f.left=o.offsetLeft,f.right=u-f.width-f.left}return null}componentDidUpdate(){}render(){return this.props.children}}function o1({children:i,isPresent:a,anchorX:o}){const r=R.useId(),u=R.useRef(null),f=R.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=R.useContext(Cd);return R.useInsertionEffect(()=>{const{width:m,height:p,top:h,left:y,right:x}=f.current;if(a||!u.current||!m||!p)return;
vendor: 6,007 bytes, lines 49-57
49const A=o==="left"?`left: ${y}`:`right: ${x}`;u.current.dataset.motionPopId=r;const C=document.createElement("style");return d&&(C.nonce=d),document.head.appendChild(C),C.sheet&&C.sheet.insertRule(`
50          [data-motion-pop-id="${r}"] {
51            position: absolute !important;
52            width: ${m}px !important;
53            height: ${p}px !important;
54            ${A}px !important;
55            top: ${h}px !important;
56          }
57        `),()=>{document.head.contains(C)&&document.head.removeChild(C)}},[a]),v.jsx(s1,{isPresent:a,childRef:u,sizeRef:f,children:R.cloneElement(i,{ref:u})})}const r1=({children:i,initial:a,isPresent:o,onExitComplete:r,custom:u,presenceAffectsLayout:f,mode:d,anchorX:m})=>{const p=td(l1),h=R.useId();let y=!0,x=R.useMemo(()=>(y=!1,{id:h,initial:a,isPresent:o,custom:u,onExitComplete:A=>{p.set(A,!0);for(const C of p.values())if(!C)return;r&&r()},register:A=>(p.set(A,!1),()=>p.delete(A))}),[o,p,r]);return f&&y&&(x={...x}),R.useMemo(()=>{p.forEach((A,C)=>p.set(C,!1))},[o]),R.useEffect(()=>{!o&&!p.size&&r&&r()},[o]),d==="popLayout"&&(i=v.jsx(o1,{isPresent:o,anchorX:m,children:i})),v.jsx(_r.Provider,{value:x,children:i})};function l1(){return new Map}function rv(i=!0){const a=R.useContext(_r);if(a===null)return[!0,null];const{isPresent:o,onExitComplete:r,register:u}=a,f=R.useId();R.useEffect(()=>{if(i)return u(f)},[i]);const d=R.useCallback(()=>i&&r&&r(f),[f,r,i]);return!o&&r?[!1,d]:[!0]}const yr=i=>i.key||"";function pg(i){const a=[];return R.Children.forEach(i,o=>{R.isValidElement(o)&&a.push(o)}),a}const c1=({children:i,custom:a,initial:o=!0,onExitComplete:r,presenceAffectsLayout:u=!0,mode:f="sync",propagate:d=!1,anchorX:m="left"})=>{const[p,h]=rv(d),y=R.useMemo(()=>pg(i),[i]),x=d&&!p?[]:y.map(yr),A=R.useRef(!0),C=R.useRef(y),z=td(()=>new Map),[k,V]=R.useState(y),[I,Q]=R.useState(y);yy(()=>{A.current=!1,C.current=y;for(let P=0;P<I.length;P++){const Z=yr(I[P]);x.includes(Z)?z.delete(Z):z.get(Z)!==!0&&z.set(Z,!1)}},[I,x.length,x.join("-")]);const B=[];if(y!==k){let P=[...y];for(let Z=0;Z<I.length;Z++){const ne=I[Z],G=yr(ne);x.includes(G)||(P.splice(Z,0,ne),B.push(ne))}return f==="wait"&&B.length&&(P=B),Q(pg(P)),V(y),null}const{forceRender:F}=R.useContext(ed);return v.jsx(v.Fragment,{children:I.map(P=>{const Z=yr(P),ne=d&&!p?!1:y===I||x.includes(Z),G=()=>{if(z.has(Z))z.set(Z,!0);else return;let ce=!0;z.forEach(Me=>{Me||(ce=!1)}),ce&&(F==null||F(),Q(C.current),d&&(h==null||h()),r&&r())};return v.jsx(r1,{isPresent:ne,initial:!A.current||o?void 0:!1,custom:a,presenceAffectsLayout:u,mode:f,onExitComplete:ne?void 0:G,anchorX:m,children:P},Z)})})},lv=R.createContext({strict:!1}),gg={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"]},Ma={};for(const i in gg)Ma[i]={isEnabled:a=>gg[i].some(o=>!!a[o])};function u1(i){for(const a in i)Ma[a]={...Ma[a],...i[a]}}const d1=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 zr(i){return i.startsWith("while")||i.startsWith("drag")&&i!=="draggable"||i.startsWith("layout")||i.startsWith("onTap")||i.startsWith("onPan")||i.startsWith("onLayout")||d1.has(i)}let cv=i=>!zr(i);function f1(i){i&&(cv=a=>a.startsWith("on")?!zr(a):i(a))}try{f1(require("@emotion/is-prop-valid").default)}catch{}function h1(i,a,o){const r={};for(const u in i)u==="values"&&typeof i.values=="object"||(cv(u)||o===!0&&zr(u)||!a&&!zr(u)||i.draggable&&u.startsWith("onDrag"))&&(r[u]=i[u]);return r}function m1(i){if(typeof Proxy>"u")return i;const a=new Map,o=(...r)=>i(...r);return new Proxy(o,{get:(r,u)=>u==="create"?i:(a.has(u)||a.set(u,i(u)),a.get(u))})}const Ur=R.createContext({});function Ir(i){return i!==null&&typeof i=="object"&&typeof i.start=="function"}function Ps(i){return typeof i=="string"||Array.isArray(i)}const Ed=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Md=["initial",...Ed];function Br(i){return Ir(i.animate)||Md.some(a=>Ps(i[a]))}function uv(i){return!!(Br(i)||i.variants)}function p1(i,a){if(Br(i)){const{initial:o,animate:r}=i;return{initial:o===!1||Ps(o)?o:void 0,animate:Ps(r)?r:void 0}}return i.inherit!==!1?a:{}}function g1(i){const{initial:a,animate:o}=p1(i,R.useContext(Ur));return R.useMemo(()=>({initial:a,animate:o}),[yg(a),yg(o)])}function yg(i){return Array.isArray(i)?i.join(" "):i}const y1=Symbol.for("motionComponentSymbol");function Aa(i){return i&&typeof i=="object"&&Object.prototype.hasOwnProperty.call(i,"current")}function v1(i,a,o){return R.useCallback(r=>{r&&i.onMount&&i.onMount(r),a&&(r?a.mount(r):a.unmount()),o&&(typeof o=="function"?o(r):Aa(o)&&(o.current=r))},[a])}const Dd=i=>i.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),b1="framerAppearId",dv="data-"+Dd(b1),fv=R.createContext({});function x1(i,a,o,r,u){var k,V;const{visualElement:f}=R.useContext(Ur),d=R.useContext(lv),m=R.useContext(_r),p=R.useContext(Cd).reducedMotion,h=R.useRef(null);r=r||d.renderer,!h.current&&r&&(h.current=r(i,{visualState:a,parent:f,props:o,presenceContext:m,blockInitialAnimation:m?m.initial===!1:!1,reducedMotionConfig:p}));const y=h.current,x=R.useContext(fv);y&&!y.projection&&u&&(y.type==="html"||y.type==="svg")&&A1(h.current,o,u,x);const A=R.useRef(!1);R.useInsertionEffect(()=>{y&&A.current&&y.update(o,m)});const C=o[dv],z=R.useRef(!!C&&!((k=window.MotionHandoffIsComplete)!=null&&k.c
vendor: 66,240 bytes, line 57
57all(window,C))&&((V=window.MotionHasOptimisedAnimation)==null?void 0:V.call(window,C)));return yy(()=>{y&&(A.current=!0,window.MotionIsMounted=!0,y.updateFeatures(),Td.render(y.render),z.current&&y.animationState&&y.animationState.animateChanges())}),R.useEffect(()=>{y&&(!z.current&&y.animationState&&y.animationState.animateChanges(),z.current&&(queueMicrotask(()=>{var I;(I=window.MotionHandoffMarkAsComplete)==null||I.call(window,C)}),z.current=!1))}),y}function A1(i,a,o,r){const{layoutId:u,layout:f,drag:d,dragConstraints:m,layoutScroll:p,layoutRoot:h,layoutCrossfade:y}=a;i.projection=new o(i.latestValues,a["data-framer-portal-id"]?void 0:hv(i.parent)),i.projection.setOptions({layoutId:u,layout:f,alwaysMeasureLayout:!!d||m&&Aa(m),visualElement:i,animationType:typeof f=="string"?f:"both",initialPromotionConfig:r,crossfade:y,layoutScroll:p,layoutRoot:h})}function hv(i){if(i)return i.options.allowProjection!==!1?i.projection:hv(i.parent)}function S1({preloadedFeatures:i,createVisualElement:a,useRender:o,useVisualState:r,Component:u}){i&&u1(i);function f(m,p){let h;const y={...R.useContext(Cd),...m,layoutId:T1(m)},{isStatic:x}=y,A=g1(m),C=r(m,x);if(!x&&nd){w1();const z=C1(y);h=z.MeasureLayout,A.visualElement=x1(u,C,y,a,z.ProjectionNode)}return v.jsxs(Ur.Provider,{value:A,children:[h&&A.visualElement?v.jsx(h,{visualElement:A.visualElement,...y}):null,o(u,m,v1(C,A.visualElement,p),C,x,A.visualElement)]})}f.displayName=`motion.${typeof u=="string"?u:`create(${u.displayName??u.name??""})`}`;const d=R.forwardRef(f);return d[y1]=u,d}function T1({layoutId:i}){const a=R.useContext(ed).id;return a&&i!==void 0?a+"-"+i:i}function w1(i,a){R.useContext(lv).strict}function C1(i){const{drag:a,layout:o}=Ma;if(!a&&!o)return{};const r={...a,...o};return{MeasureLayout:a!=null&&a.isEnabled(i)||o!=null&&o.isEnabled(i)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const Ys={};function E1(i){for(const a in i)Ys[a]=i[a],ud(a)&&(Ys[a].isCSSVariable=!0)}function mv(i,{layout:a,layoutId:o}){return Na.has(i)||i.startsWith("origin")||(a||o!==void 0)&&(!!Ys[i]||i==="opacity")}const M1={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},D1=ja.length;function R1(i,a,o){let r="",u=!0;for(let f=0;f<D1;f++){const d=ja[f],m=i[d];if(m===void 0)continue;let p=!0;if(typeof m=="number"?p=m===(d.startsWith("scale")?1:0):p=parseFloat(m)===0,!p||o){const h=nv(m,Sd[d]);if(!p){u=!1;const y=M1[d]||d;r+=`${y}(${h}) `}o&&(a[d]=h)}}return r=r.trim(),o?r=o(a,u?"":r):u&&(r="none"),r}function Rd(i,a,o){const{style:r,vars:u,transformOrigin:f}=i;let d=!1,m=!1;for(const p in a){const h=a[p];if(Na.has(p)){d=!0;continue}else if(ud(p)){u[p]=h;continue}else{const y=nv(h,Sd[p]);p.startsWith("origin")?(m=!0,f[p]=y):r[p]=y}}if(a.transform||(d||o?r.transform=R1(a,i.transform,o):r.transform&&(r.transform="none")),m){const{originX:p="50%",originY:h="50%",originZ:y=0}=f;r.transformOrigin=`${p} ${h} ${y}`}}const jd=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function pv(i,a,o){for(const r in a)!dt(a[r])&&!mv(r,o)&&(i[r]=a[r])}function j1({transformTemplate:i},a){return R.useMemo(()=>{const o=jd();return Rd(o,a,i),Object.assign({},o.vars,o.style)},[a])}function N1(i,a){const o=i.style||{},r={};return pv(r,o,i),Object.assign(r,j1(i,a)),r}function O1(i,a){const o={},r=N1(i,a);return i.drag&&i.dragListener!==!1&&(o.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=i.drag===!0?"none":`pan-${i.drag==="x"?"y":"x"}`),i.tabIndex===void 0&&(i.onTap||i.onTapStart||i.whileTap)&&(o.tabIndex=0),o.style=r,o}const z1={offset:"stroke-dashoffset",array:"stroke-dasharray"},k1={offset:"strokeDashoffset",array:"strokeDasharray"};function V1(i,a,o=1,r=0,u=!0){i.pathLength=1;const f=u?z1:k1;i[f.offset]=oe.transform(-r);const d=oe.transform(a),m=oe.transform(o);i[f.array]=`${d} ${m}`}function gv(i,{attrX:a,attrY:o,attrScale:r,pathLength:u,pathSpacing:f=1,pathOffset:d=0,...m},p,h,y){if(Rd(i,m,h),p){i.style.viewBox&&(i.attrs.viewBox=i.style.viewBox);return}i.attrs=i.style,i.style={};const{attrs:x,style:A}=i;x.transform&&(A.transform=x.transform,delete x.transform),(A.transform||x.transformOrigin)&&(A.transformOrigin=x.transformOrigin??"50% 50%",delete x.transformOrigin),A.transform&&(A.transformBox=(y==null?void 0:y.transformBox)??"fill-box",delete x.transformBox),a!==void 0&&(x.x=a),o!==void 0&&(x.y=o),r!==void 0&&(x.scale=r),u!==void 0&&V1(x,u,f,d,!1)}const yv=()=>({...jd(),attrs:{}}),vv=i=>typeof i=="string"&&i.toLowerCase()==="svg";function _1(i,a,o,r){const u=R.useMemo(()=>{const f=yv();return gv(f,a,vv(r),i.transformTemplate,i.style),{...f.attrs,style:{...f.style}}},[a]);if(i.style){const f={};pv(f,i.style,i),u.style={...f,...u.style}}return u}const U1=["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 Nd(i){return typeof i!="string"||i.includes("-")?!1:!!(U1.indexOf(i)>-1||/[A-Z]/u.test(i))}function I1(i=!1){return(o,r,u,{latestValues:f},d)=>{const p=(Nd(o)?_1:O1)(r,f,d,o),h=h1(r,typeof o=="string",i),y=o!==R.Fragment?{...h,...p,ref:u}:{},{children:x}=r,A=R.useMemo(()=>dt(x)?x.get():x,[x]);return R.createElement(o,{...y,children:A})}}function vg(i){const a=[{},{}];return i==null||i.values.forEach((o,r)=>{a[0][r]=o.get(),a[1][r]=o.getVelocity()}),a}function Od(i,a,o,r){if(typeof a=="function"){const[u,f]=vg(r);a=a(o!==void 0?o:i.custom,u,f)}if(typeof a=="string"&&(a=i.variants&&i.variants[a]),typeof a=="function"){const[u,f]=vg(r);a=a(o!==void 0?o:i.custom,u,f)}return a}function Dr(i){return dt(i)?i.get():i}function B1({scrapeMotionValuesFromProps:i,createRenderState:a},o,r,u){return{latestValues:L1(o,r,u,i),renderState:a()}}const bv=i=>(a,o)=>{const r=R.useContext(Ur),u=R.useContext(_r),f=()=>B1(i,a,r,u);return o?f():td(f)};function L1(i,a,o,r){const u={},f=r(i,{});for(const A in f)u[A]=Dr(f[A]);let{initial:d,animate:m}=i;const p=Br(i),h=uv(i);a&&h&&!p&&i.inherit!==!1&&(d===void 0&&(d=a.initial),m===void 0&&(m=a.animate));let y=o?o.initial===!1:!1;y=y||d===!1;const x=y?m:d;if(x&&typeof x!="boolean"&&!Ir(x)){const A=Array.isArray(x)?x:[x];for(let C=0;C<A.length;C++){const z=Od(i,A[C]);if(z){const{transitionEnd:k,transition:V,...I}=z;for(const Q in I){let B=I[Q];if(Array.isArray(B)){const F=y?B.length-1:0;B=B[F]}B!==null&&(u[Q]=B)}for(const Q in k)u[Q]=k[Q]}}}return u}function zd(i,a,o){var f;const{style:r}=i,u={};for(const d in r)(dt(r[d])||a.style&&dt(a.style[d])||mv(d,i)||((f=o==null?void 0:o.getValue(d))==null?void 0:f.liveStyle)!==void 0)&&(u[d]=r[d]);return u}const G1={useVisualState:bv({scrapeMotionValuesFromProps:zd,createRenderState:jd})};function xv(i,a,o){const r=zd(i,a,o);for(const u in i)if(dt(i[u])||dt(a[u])){const f=ja.indexOf(u)!==-1?"attr"+u.charAt(0).toUpperCase()+u.substring(1):u;r[f]=i[u]}return r}const q1={useVisualState:bv({scrapeMotionValuesFromProps:xv,createRenderState:yv})};function H1(i,a){return function(r,{forwardMotionProps:u}={forwardMotionProps:!1}){const d={...Nd(r)?q1:G1,preloadedFeatures:i,useRender:I1(u),createVisualElement:a,Component:r};return S1(d)}}function Xs(i,a,o){const r=i.getProps();return Od(r,a,o!==void 0?o:r.custom,i)}const Gu=i=>Array.isArray(i);function P1(i,a,o){i.hasValue(a)?i.getValue(a).set(o):i.addValue(a,Ea(o))}function Y1(i){return Gu(i)?i[i.length-1]||0:i}function X1(i,a){const o=Xs(i,a);let{transitionEnd:r={},transition:u={},...f}=o||{};f={...f,...r};for(const d in f){const m=Y1(f[d]);P1(i,d,m)}}function Q1(i){return!!(dt(i)&&i.add)}function qu(i,a){const o=i.getValue("willChange");if(Q1(o))return o.add(a);if(!o&&Cn.WillChange){const r=new Cn.WillChange("auto");i.addValue("willChange",r),r.add(a)}}function Av(i){return i.props[dv]}const K1=i=>i!==null;function Z1(i,{repeat:a,repeatType:o="loop"},r){const u=i.filter(K1),f=a&&o!=="loop"&&a%2===1?0:u.length-1;return u[f]}const F1={type:"spring",stiffness:500,damping:25,restSpeed:10},J1=i=>({type:"spring",stiffness:550,damping:i===0?2*Math.sqrt(550):30,restSpeed:10}),W1={type:"keyframes",duration:.8},$1={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},eT=(i,{keyframes:a})=>a.length>2?W1:Na.has(i)?i.startsWith("scale")?J1(a[1]):F1:$1;function tT({when:i,delay:a,delayChildren:o,staggerChildren:r,staggerDirection:u,repeat:f,repeatType:d,repeatDelay:m,from:p,elapsed:h,...y}){return!!Object.keys(y).length}const kd=(i,a,o,r={},u,f)=>d=>{const m=Ad(r,i)||{},p=m.delay||r.delay||0;let{elapsed:h=0}=r;h=h-nn(p);const y={keyframes:Array.isArray(o)?o:[null,o],ease:"easeOut",velocity:a.getVelocity(),...m,delay:-h,onUpdate:A=>{a.set(A),m.onUpdate&&m.onUpdate(A)},onComplete:()=>{d(),m.onComplete&&m.onComplete()},name:i,motionValue:a,element:f?void 0:u};tT(m)||Object.assign(y,eT(i,y)),y.duration&&(y.duration=nn(y.duration)),y.repeatDelay&&(y.repeatDelay=nn(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let x=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(y.duration=0,y.delay===0&&(x=!0)),(Cn.instantAnimations||Cn.skipAnimations)&&(x=!0,y.duration=0,y.delay=0),y.allowFlatten=!m.type&&!m.ease,x&&!f&&a.get()!==void 0){const A=Z1(y.keyframes,m);if(A!==void 0){Ue.update(()=>{y.onUpdate(A),y.onComplete()});return}}return m.isSync?new vd(y):new kS(y)};function nT({protectedKeys:i,needsAnimating:a},o){const r=i.hasOwnProperty(o)&&a[o]!==!0;return a[o]=!1,r}function Sv(i,a,{delay:o=0,transitionOverride:r,type:u}={}){let{transition:f=i.getDefaultTransition(),transitionEnd:d,...m}=a;r&&(f=r);const p=[],h=u&&i.animationState&&i.animationState.getState()[u];for(const y in m){const x=i.getValue(y,i.latestValues[y]??null),A=m[y];if(A===void 0||h&&nT(h,y))continue;const C={delay:o,...Ad(f||{},y)},z=x.get();if(z!==void 0&&!x.isAnimating&&!Array.isArray(A)&&A===z&&!C.velocity)continue;let k=!1;if(window.MotionHandoffAnimation){const I=Av(i);if(I){const Q=window.MotionHandoffAnimation(I,y,Ue);Q!==null&&(C.startTime=Q,k=!0)}}qu(i,y),x.start(kd(y,x,A,i.shouldReduceMotion&&Jy.has(y)?{type:!1}:C,i,k));const V=x.animation;V&&p.push(V)}return d&&Promise.all(p).then(()=>{Ue.update(()=>{d&&X1(i,d)})}),p}function Hu(i,a,o={}){var p;const r=Xs(i,a,o.type==="exit"?(p=i.presenceContext)==null?void 0:p.custom:void 0);let{transition:u=i.getDefaultTransition()||{}}=r||{};o.transitionOverride&&(u=o.transitionOverride);const f=r?()=>Promise.all(Sv(i,r,o)):()=>Promise.resolve(),d=i.variantChildren&&i.variantChildren.size?(h=0)=>{const{delayChildren:y=0,staggerChildren:x,staggerDirection:A}=u;return iT(i,a,y+h,x,A,o)}:()=>Promise.resolve(),{when:m}=u;if(m){const[h,y]=m==="beforeChildren"?[f,d]:[d,f];return h().then(()=>y())}else return Promise.all([f(),d(o.delay)])}function iT(i,a,o=0,r=0,u=1,f){const d=[],m=(i.variantChildren.size-1)*r,p=u===1?(h=0)=>h*r:(h=0)=>m-h*r;return Array.from(i.variantChildren).sort(aT).forEach((h,y)=>{h.notify("AnimationStart",a),d.push(Hu(h,a,{...f,delay:o+p(y)}).then(()=>h.notify("AnimationComplete",a)))}),Promise.all(d)}function aT(i,a){return i.sortNodePosition(a)}function sT(i,a,o={}){i.notify("AnimationStart",a);let r;if(Array.isArray(a)){const u=a.map(f=>Hu(i,f,o));r=Promise.all(u)}else if(typeof a=="string")r=Hu(i,a,o);else{const u=typeof a=="function"?Xs(i,a,o.custom):a;r=Promise.all(Sv(i,u,o))}return r.then(()=>{i.notify("AnimationComplete",a)})}function Tv(i,a){if(!Array.isArray(a))return!1;const o=a.length;if(o!==i.length)return!1;for(let r=0;r<o;r++)if(a[r]!==i[r])return!1;return!0}const oT=Md.length;function wv(i){if(!i)return;if(!i.isControllingVariants){const o=i.parent?wv(i.parent)||{}:{};return i.props.initial!==void 0&&(o.initial=i.props.initial),o}const a={};for(let o=0;o<oT;o++){const r=Md[o],u=i.props[r];(Ps(u)||u===!1)&&(a[r]=u)}return a}const rT=[...Ed].reverse(),lT=Ed.length;function cT(i){return a=>Promise.all(a.map(({animation:o,options:r})=>sT(i,o,r)))}function uT(i){let a=cT(i),o=bg(),r=!0;const u=p=>(h,y)=>{var A;const x=Xs(i,y,p==="exit"?(A=i.presenceContext)==null?void 0:A.custom:void 0);if(x){const{transition:C,transitionEnd:z,...k}=x;h={...h,...k,...z}}return h};function f(p){a=p(i)}function d(p){const{props:h}=i,y=wv(i.parent)||{},x=[],A=new Set;let C={},z=1/0;for(let V=0;V<lT;V++){const I=rT[V],Q=o[I],B=h[I]!==void 0?h[I]:y[I],F=Ps(B),P=I===p?Q.isActive:null;P===!1&&(z=V);let Z=B===y[I]&&B!==h[I]&&F;if(Z&&r&&i.manuallyAnimateOnMount&&(Z=!1),Q.protectedKeys={...C},!Q.isActive&&P===null||!B&&!Q.prevProp||Ir(B)||typeof B=="boolean")continue;const ne=dT(Q.prevProp,B);let G=ne||I===p&&Q.isActive&&!Z&&F||V>z&&F,ce=!1;const Me=Array.isArray(B)?B:[B];let ke=Me.reduce(u(I),{});P===!1&&(ke={});const{prevResolvedValues:je={}}=Q,pt={...je,...ke},ft=Y=>{G=!0,A.has(Y)&&(ce=!0,A.delete(Y)),Q.needsAnimating[Y]=!0;const q=i.getValue(Y);q&&(q.liveStyle=!1)};for(const Y in pt){const q=ke[Y],ge=je[Y];if(C.hasOwnProperty(Y))continue;let T=!1;Gu(q)&&Gu(ge)?T=!Tv(q,ge):T=q!==ge,T?q!=null?ft(Y):A.add(Y):q!==void 0&&A.has(Y)?ft(Y):Q.protectedKeys[Y]=!0}Q.prevProp=B,Q.prevResolvedValues=ke,Q.isActive&&(C={...C,...ke}),r&&i.blockInitialAnimation&&(G=!1),G&&(!(Z&&ne)||ce)&&x.push(...Me.map(Y=>({animation:Y,options:{type:I}})))}if(A.size){const V={};if(typeof h.initial!="boolean"){const I=Xs(i,Array.isArray(h.initial)?h.initial[0]:h.initial);I&&I.transition&&(V.transition=I.transition)}A.forEach(I=>{const Q=i.getBaseTarget(I),B=i.getValue(I);B&&(B.liveStyle=!0),V[I]=Q??null}),x.push({animation:V})}let k=!!x.length;return r&&(h.initial===!1||h.initial===h.animate)&&!i.manuallyAnimateOnMount&&(k=!1),r=!1,k?a(x):Promise.resolve()}function m(p,h){var x;if(o[p].isActive===h)return Promise.resolve();(x=i.variantChildren)==null||x.forEach(A=>{var C;return(C=A.animationState)==null?void 0:C.setActive(p,h)}),o[p].isActive=h;const y=d(p);for(const A in o)o[A].protectedKeys={};return y}return{animateChanges:d,setActive:m,setAnimateFunction:f,getState:()=>o,reset:()=>{o=bg(),r=!0}}}function dT(i,a){return typeof a=="string"?a!==i:Array.isArray(a)?!Tv(a,i):!1}function Ei(i=!1){return{isActive:i,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function bg(){return{animate:Ei(!0),whileInView:Ei(),whileHover:Ei(),whileTap:Ei(),whileDrag:Ei(),whileFocus:Ei(),exit:Ei()}}class oi{constructor(a){this.isMounted=!1,this.node=a}update(){}}class fT extends oi{constructor(a){super(a),a.animationState||(a.animationState=uT(a))}updateAnimationControlsSubscription(){const{animate:a}=this.node.getProps();Ir(a)&&(this.unmountControls=a.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:a}=this.node.getProps(),{animate:o}=this.node.prevProps||{};a!==o&&this.updateAnimationControlsSubscription()}unmount(){var a;this.node.animationState.reset(),(a=this.unmountControls)==null||a.call(this)}}let hT=0;class mT extends oi{constructor(){super(...arguments),this.id=hT++}update(){if(!this.node.presenceContext)return;const{isPresent:a,onExitComplete:o}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||a===r)return;const u=this.node.animationState.setActive("exit",!a);o&&!a&&u.then(()=>{o(this.id)})}mount(){const{register:a,onExitComplete:o}=this.node.presenceContext||{};o&&o(this.id),a&&(this.unmount=a(this.id))}unmount(){}}const pT={animation:{Feature:fT},exit:{Feature:mT}};function Qs(i,a,o,r={passive:!0}){return i.addEventListener(a,o,r),()=>i.removeEventListener(a,o)}function Ws(i){return{point:{x:i.pageX,y:i.pageY}}}const gT=i=>a=>wd(a)&&i(a,Ws(a));function Is(i,a,o,r){return Qs(i,a,gT(o),r)}function Cv({top:i,left:a,right:o,bottom:r}){return{x:{min:a,max:o},y:{min:i,max:r}}}function yT({x:i,y:a}){return{top:a.min,right:i.max,bottom:a.max,left:i.min}}function vT(i,a){if(!a)return i;const o=a({x:i.left,y:i.top}),r=a({x:i.right,y:i.bottom});return{top:o.y,left:o.x,bottom:r.y,right:r.x}}const Ev=1e-4,bT=1-Ev,xT=1+Ev,Mv=.01,AT=0-Mv,ST=0+Mv;function mt(i){return i.max-i.min}function TT(i,a,o){return Math.abs(i-a)<=o}function xg(i,a,o,r=.5){i.origin=r,i.originPoint=_e(a.min,a.max,i.origin),i.scale=mt(o)/mt(a),i.translate=_e(o.min,o.max,i.origin)-i.originPoint,(i.scale>=bT&&i.scale<=xT||isNaN(i.scale))&&(i.scale=1),(i.translate>=AT&&i.translate<=ST||isNaN(i.translate))&&(i.translate=0)}function Bs(i,a,o,r){xg(i.x,a.x,o.x,r?r.originX:void 0),xg(i.y,a.y,o.y,r?r.originY:void 0)}function Ag(i,a,o){i.min=o.min+a.min,i.max=i.min+mt(a)}function wT(i,a,o){Ag(i.x,a.x,o.x),Ag(i.y,a.y,o.y)}function Sg(i,a,o){i.min=a.min-o.min,i.max=i.min+mt(a)}function Ls(i,a,o){Sg(i.x,a.x,o.x),Sg(i.y,a.y,o.y)}const Tg=()=>({translate:0,scale:1,origin:0,originPoint:0}),Sa=()=>({x:Tg(),y:Tg()}),wg=()=>({min:0,max:0}),He=()=>({x:wg(),y:wg()});function Ht(i){return[i("x"),i("y")]}function hu(i){return i===void 0||i===1}function Pu({scale:i,scaleX:a,scaleY:o}){return!hu(i)||!hu(a)||!hu(o)}function Di(i){return Pu(i)||Dv(i)||i.z||i.rotate||i.rotateX||i.rotateY||i.skewX||i.skewY}function Dv(i){return Cg(i.x)||Cg(i.y)}function Cg(i){return i&&i!=="0%"}function kr(i,a,o){const r=i-o,u=a*r;return o+u}function Eg(i,a,o,r,u){return u!==void 0&&(i=kr(i,u,r)),kr(i,o,r)+a}function Yu(i,a=0,o=1,r,u){i.min=Eg(i.min,a,o,r,u),i.max=Eg(i.max,a,o,r,u)}function Rv(i,{x:a,y:o}){Yu(i.x,a.translate,a.scale,a.originPoint),Yu(i.y,o.translate,o.scale,o.originPoint)}const Mg=.999999999999,Dg=1.0000000000001;function CT(i,a,o,r=!1){const u=o.length;if(!u)return;a.x=a.y=1;let f,d;for(let m=0;m<u;m++){f=o[m],d=f.projectionDelta;const{visualElement:p}=f.options;p&&p.props.style&&p.props.style.display==="contents"||(r&&f.options.layoutScroll&&f.scroll&&f!==f.root&&wa(i,{x:-f.scroll.offset.x,y:-f.scroll.offset.y}),d&&(a.x*=d.x.scale,a.y*=d.y.scale,Rv(i,d)),r&&Di(f.latestValues)&&wa(i,f.latestValues))}a.x<Dg&&a.x>Mg&&(a.x=1),a.y<Dg&&a.y>Mg&&(a.y=1)}function Ta(i,a){i.min=i.min+a,i.max=i.max+a}function Rg(i,a,o,r,u=.5){const f=_e(i.min,i.max,u);Yu(i,a,o,f,r)}function wa(i,a){Rg(i.x,a.x,a.scaleX,a.scale,a.originX),Rg(i.y,a.y,a.scaleY,a.scale,a.originY)}function jv(i,a){return Cv(vT(i.getBoundingClientRect(),a))}function ET(i,a,o){const r=jv(i,o),{scroll:u}=a;return u&&(Ta(r.x,u.offset.x),Ta(r.y,u.offset.y)),r}const Nv=({current:i})=>i?i.ownerDocument.defaultView:null,jg=(i,a)=>Math.abs(i-a);function MT(i,a){const o=jg(i.x,a.x),r=jg(i.y,a.y);return Math.sqrt(o**2+r**2)}class Ov{constructor(a,o,{transformPagePoint:r,contextWindow:u,dragSnapToOrigin:f=!1}={}){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=pu(this.lastMoveEventInfo,this.history),A=this.startEvent!==null,C=MT(x.offset,{x:0,y:0})>=3;if(!A&&!C)return;const{point:z}=x,{timestamp:k}=ot;this.history.push({...z,timestamp:k});const{onStart:V,onMove:I}=this.handlers;A||(V&&V(this.lastMoveEvent,x),this.startEvent=this.lastMoveEvent),I&&I(this.lastMoveEvent,x)},this.handlePointerMove=(x,A)=>{this.lastMoveEvent=x,this.lastMoveEventInfo=mu(A,this.transformPagePoint),Ue.update(this.updatePoint,!0)},this.handlePointerUp=(x,A)=>{this.end();const{onEnd:C,onSessionEnd:z,resumeAnimation:k}=this.handlers;if(this.dragSnapToOrigin&&k&&k(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const V=pu(x.type==="pointercancel"?this.lastMoveEventInfo:mu(A,this.transformPagePoint),this.history);this.startEvent&&C&&C(x,V),z&&z(x,V)},!wd(a))return;this.dragSnapToOrigin=f,this.handlers=o,this.transformPagePoint=r,this.contextWindow=u||window;const d=Ws(a),m=mu(d,this.transformPagePoint),{point:p}=m,{timestamp:h}=ot;this.history=[{...p,timestamp:h}];const{onSessionStart:y}=o;y&&y(a,pu(m,this.history)),this.removeListeners=Zs(Is(this.contextWindow,"pointermove",this.handlePointerMove),Is(this.contextWindow,"pointerup",this.handlePointerUp),Is(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(a){this.handlers=a}end(){this.removeListeners&&this.removeListeners(),ai(this.updatePoint)}}function mu(i,a){return a?{point:a(i.point)}:i}function Ng(i,a){return{x:i.x-a.x,y:i.y-a.y}}function pu({point:i},a){return{point:i,delta:Ng(i,zv(a)),offset:Ng(i,DT(a)),velocity:RT(a,.1)}}function DT(i){return i[0]}function zv(i){return i[i.length-1]}function RT(i,a){if(i.length<2)return{x:0,y:0};let o=i.length-1,r=null;const u=zv(i);for(;o>=0&&(r=i[o],!(u.timestamp-r.timestamp>nn(a)));)o--;if(!r)return{x:0,y:0};const f=an(u.timestamp-r.timestamp);if(f===0)return{x:0,y:0};const d={x:(u.x-r.x)/f,y:(u.y-r.y)/f};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}function jT(i,{min:a,max:o},r){return a!==void 0&&i<a?i=r?_e(a,i,r.min):Math.max(i,a):o!==void 0&&i>o&&(i=r?_e(o,i,r.max):Math.min(i,o)),i}function Og(i,a,o){return{min:a!==void 0?i.min+a:void 0,max:o!==void 0?i.max+o-(i.max-i.min):void 0}}function NT(i,{top:a,left:o,bottom:r,right:u}){return{x:Og(i.x,o,u),y:Og(i.y,a,r)}}function zg(i,a){let o=a.min-i.min,r=a.max-i.max;return a.max-a.min<i.max-i.min&&([o,r]=[r,o]),{min:o,max:r}}function OT(i,a){return{x:zg(i.x,a.x),y:zg(i.y,a.y)}}function zT(i,a){let o=.5;const r=mt(i),u=mt(a);return u>r?o=Gs(a.min,a.max-r,i.min):r>u&&(o=Gs(i.min,i.max-u,a.min)),wn(0,1,o)}function kT(i,a){const o={};return a.min!==void 0&&(o.min=a.min-i.min),a.max!==void 0&&(o.max=a.max-i.min),o}const Xu=.35;function VT(i=Xu){return i===!1?i=0:i===!0&&(i=Xu),{x:kg(i,"left","right"),y:kg(i,"top","bottom")}}function kg(i,a,o){return{min:Vg(i,a),max:Vg(i,o)}}function Vg(i,a){return typeof i=="number"?i:i[a]||0}const _T=new WeakMap;class UT{constructor(a){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=He(),this.visualElement=a}start(a,{snapToCursor:o=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const u=y=>{const{dragSnapToOrigin:x}=this.getProps();x?this.pauseAnimation():this.stopAnimation(),o&&this.snapToCursor(Ws(y).point)},f=(y,x)=>{const{drag:A,dragPropagation:C,onDragStart:z}=this.getProps();if(A&&!C&&(this.openDragLock&&this.openDragLock(),this.openDragLock=FS(A),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ht(V=>{let I=this.getAxisMotionValue(V).get()||0;if(sn.test(I)){const{projection:Q}=this.visualElement;if(Q&&Q.layout){const B=Q.layout.layoutBox[V];B&&(I=mt(B)*(parseFloat(I)/100))}}this.originPoint[V]=I}),z&&Ue.postRender(()=>z(y,x)),qu(this.visualElement,"transform");const{animationState:k}=this.visualElement;k&&k.setActive("whileDrag",!0)},d=(y,x)=>{const{dragPropagation:A,dragDirectionLock:C,onDirectionLock:z,onDrag:k}=this.getProps();if(!A&&!this.openDragLock)return;const{offset:V}=x;if(C&&this.currentDirection===null){this.currentDirection=IT(V),this.currentDirection!==null&&z&&z(this.currentDirection);return}this.updateAxis("x",x.point,V),this.updateAxis("y",x.point,V),this.visualElement.render(),k&&k(y,x)},m=(y,x)=>this.stop(y,x),p=()=>Ht(y=>{var x;return this.getAnimationState(y)==="paused"&&((x=this.getAxisMotionValue(y).animation)==null?void 0:x.play())}),{dragSnapToOrigin:h}=this.getProps();this.panSession=new Ov(a,{onSessionStart:u,onStart:f,onMove:d,onSessionEnd:m,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,contextWindow:Nv(this.visualElement)})}stop(a,o){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:u}=o;this.startAnimation(u);const{onDragEnd:f}=this.getProps();f&&Ue.postRender(()=>f(a,o))}cancel(){this.isDragging=!1;const{projection:a,animationState:o}=this.visualElement;a&&(a.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),o&&o.setActive("whileDrag",!1)}updateAxis(a,o,r){const{drag:u}=this.getProps();if(!r||!vr(a,u,this.currentDirection))return;const f=this.getAxisMotionValue(a);let d=this.originPoint[a]+r[a];this.constraints&&this.constraints[a]&&(d=jT(d,this.constraints[a],this.elastic[a])),f.set(d)}resolveConstraints(){var f;const{dragConstraints:a,dragElastic:o}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(f=this.visualElement.projection)==null?void 0:f.layout,u=this.constraints;a&&Aa(a)?this.constraints||(this.constraints=this.resolveRefConstraints()):a&&r?this.constraints=NT(r.layoutBox,a):this.constraints=!1,this.elastic=VT(o),u!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Ht(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=kT(r.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:a,onMeasureDragConstraints:o}=this.getProps();if(!a||!Aa(a))return!1;const r=a.current,{projection:u}=this.visualElement;if(!u||!u.layout)return!1;const f=ET(r,u.root,this.visualElement.getTransformPagePoint());let d=OT(u.layout.layoutBox,f);if(o){const m=o(yT(d));this.hasMutatedConstraints=!!m,m&&(d=Cv(m))}return d}startAnimation(a){const{drag:o,dragMomentum:r,dragElastic:u,dragTransition:f,dragSnapToOrigin:d,onDragTransitionEnd:m}=this.getProps(),p=this.constraints||{},h=Ht(y=>{if(!vr(y,o,this.currentDirection))return;let x=p&&p[y]||{};d&&(x={min:0,max:0});const A=u?200:1e6,C=u?40:1e7,z={type:"inertia",velocity:r?a[y]:0,bounceStiffness:A,bounceDamping:C,timeConstant:750,restDelta:1,restSpeed:10,...f,...x};return this.startAxisValueAnimation(y,z)});return Promise.all(h).then(m)}startAxisValueAnimation(a,o){const r=this.getAxisMotionValue(a);return qu(this.visualElement,a),r.start(kd(a,r,0,o,this.visualElement,!1))}stopAnimation(){Ht(a=>this.getAxisMotionValue(a).stop())}pauseAnimation(){Ht(a=>{var o;return(o=this.getAxisMotionValue(a).animation)==null?void 0:o.pause()})}getAnimationState(a){var o;return(o=this.getAxisMotionValue(a).animation)==null?void 0:o.state}getAxisMotionValue(a){const o=`_drag${a.toUpperCase()}`,r=this.visualElement.getProps(),u=r[o];return u||this.visualElement.getValue(a,(r.initial?r.initial[a]:void 0)||0)}snapToCursor(a){Ht(o=>{const{drag:r}=this.getProps();if(!vr(o,r,this.currentDirection))return;const{projection:u}=this.visualElement,f=this.getAxisMotionValue(o);if(u&&u.layout){const{min:d,max:m}=u.layout.layoutBox[o];f.set(a[o]-_e(d,m,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:a,dragConstraints:o}=this.getProps(),{projection:r}=this.visualElement;if(!Aa(o)||!r||!this.constraints)return;this.stopAnimation();const u={x:0,y:0};Ht(d=>{const m=this.getAxisMotionValue(d);if(m&&this.constraints!==!1){const p=m.get();u[d]=zT({min:p,max:p},this.constraints[d])}});const{transformTemplate:f}=this.visualElement.getProps();this.visualElement.current.style.transform=f?f({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Ht(d=>{if(!vr(d,a,null))return;const m=this.getAxisMotionValue(d),{min:p,max:h}=this.constraints[d];m.set(_e(p,h,u[d]))})}addListeners(){if(!this.visualElement.current)return;_T.set(this.visualElement,this);const a=this.visualElement.current,o=Is(a,"pointerdown",p=>{const{drag:h,dragListener:y=!0}=this.getProps();h&&y&&this.start(p)}),r=()=>{const{dragConstraints:p}=this.getProps();Aa(p)&&p.current&&(this.constraints=this.resolveRefConstraints())},{projection:u}=this.visualElement,f=u.addEventListener("measure",r);u&&!u.layout&&(u.root&&u.root.updateScroll(),u.updateLayout()),Ue.read(r);const d=Qs(window,"resize",()=>this.scalePositionWithinConstraints()),m=u.addEventListener("didUpdate",({delta:p,hasLayoutChanged:h})=>{this.isDragging&&h&&(Ht(y=>{const x=this.getAxisMotionValue(y);x&&(this.originPoint[y]+=p[y].translate,x.set(x.get()+p[y].translate))}),this.visualElement.render())});return()=>{d(),o(),f(),m&&m()}}getProps(){const a=this.visualElement.getProps(),{drag:o=!1,dragDirectionLock:r=!1,dragPropagation:u=!1,dragConstraints:f=!1,dragElastic:d=Xu,dragMomentum:m=!0}=a;return{...a,drag:o,dragDirectionLock:r,dragPropagation:u,dragConstraints:f,dragElastic:d,dragMomentum:m}}}function vr(i,a,o){return(a===!0||a===i)&&(o===null||o===i)}function IT(i,a=10){let o=null;return Math.abs(i.y)>a?o="y":Math.abs(i.x)>a&&(o="x"),o}class BT extends oi{constructor(a){super(a),this.removeGroupControls=Pt,this.removeListeners=Pt,this.controls=new UT(a)}mount(){const{dragControls:a}=this.node.getProps();a&&(this.removeGroupControls=a.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Pt}unmount(){this.removeGroupControls(),this.removeListeners()}}const _g=i=>(a,o)=>{i&&Ue.postRender(()=>i(a,o))};class LT extends oi{constructor(){super(...arguments),this.removePointerDownListener=Pt}onPointerDown(a){this.session=new Ov(a,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Nv(this.node)})}createPanHandlers(){const{onPanSessionStart:a,onPanStart:o,onPan:r,onPanEnd:u}=this.node.getProps();return{onSessionStart:_g(a),onStart:_g(o),onMove:r,onEnd:(f,d)=>{delete this.session,u&&Ue.postRender(()=>u(f,d))}}}mount(){this.removePointerDownListener=Is(this.node.current,"pointerdown",a=>this.onPointerDown(a))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Rr={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Ug(i,a){return a.max===a.min?0:i/(a.max-a.min)*100}const zs={correct:(i,a)=>{if(!a.target)return i;if(typeof i=="string")if(oe.test(i))i=parseFloat(i);else return i;const o=Ug(i,a.target.x),r=Ug(i,a.target.y);return`${o}% ${r}%`}},GT={correct:(i,{treeScale:a,projectionDelta:o})=>{const r=i,u=si.parse(i);if(u.length>5)return r;const f=si.createTransformer(i),d=typeof u[0]!="number"?1:0,m=o.x.scale*a.x,p=o.y.scale*a.y;u[0+d]/=m,u[1+d]/=p;const h=_e(m,p,.5);return typeof u[2+d]=="number"&&(u[2+d]/=h),typeof u[3+d]=="number"&&(u[3+d]/=h),f(u)}};class qT extends R.Component{componentDidMount(){const{visualElement:a,layoutGroup:o,switchLayoutGroup:r,layoutId:u}=this.props,{projection:f}=a;E1(HT),f&&(o.group&&o.group.add(f),r&&r.register&&u&&r.register(f),f.root.didUpdate(),f.addEventListener("animationComplete",()=>{this.safeToRemove()}),f.setOptions({...f.options,onExitComplete:()=>this.safeToRemove()})),Rr.hasEverUpdated=!0}getSnapshotBeforeUpdate(a){const{layoutDependency:o,visualElement:r,drag:u,isPresent:f}=this.props,{projection:d}=r;return d&&(d.isPresent=f,u||a.layoutDependency!==o||o===void 0||a.isPresent!==f?d.willUpdate():this.safeToRemove(),a.isPresent!==f&&(f?d.promote():d.relegate()||Ue.postRender(()=>{const m=d.getStack();(!m||!m.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:a}=this.props.visualElement;a&&(a.root.didUpdate(),Td.postRender(()=>{!a.currentAnimation&&a.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:a,layoutGroup:o,switchLayoutGroup:r}=this.props,{projection:u}=a;u&&(u.scheduleCheckAfterUnmount(),o&&o.group&&o.group.remove(u),r&&r.deregister&&r.deregister(u))}safeToRemove(){const{safeToRemove:a}=this.props;a&&a()}render(){return null}}function kv(i){const[a,o]=rv(),r=R.useContext(ed);return v.jsx(qT,{...i,layoutGroup:r,switchLayoutGroup:R.useContext(fv),isPresent:a,safeToRemove:o})}const HT={borderRadius:{...zs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:zs,borderTopRightRadius:zs,borderBottomLeftRadius:zs,borderBottomRightRadius:zs,boxShadow:GT};function PT(i,a,o){const r=dt(i)?i:Ea(i);return r.start(kd("",r,a,o)),r.animation}const YT=(i,a)=>i.depth-a.depth;class XT{constructor(){this.children=[],this.isDirty=!1}add(a){id(this.children,a),this.isDirty=!0}remove(a){ad(this.children,a),this.isDirty=!0}forEach(a){this.isDirty&&this.children.sort(YT),this.isDirty=!1,this.children.forEach(a)}}function QT(i,a){const o=At.now(),r=({timestamp:u})=>{const f=u-o;f>=a&&(ai(r),i(f-a))};return Ue.setup(r,!0),()=>ai(r)}const Vv=["TopLeft","TopRight","BottomLeft","BottomRight"],KT=Vv.length,Ig=i=>typeof i=="string"?parseFloat(i):i,Bg=i=>typeof i=="number"||oe.test(i);function ZT(i,a,o,r,u,f){u?(i.opacity=_e(0,o.opacity??1,FT(r)),i.opacityExit=_e(a.opacity??1,0,JT(r))):f&&(i.opacity=_e(a.opacity??1,o.opacity??1,r));for(let d=0;d<KT;d++){const m=`border${Vv[d]}Radius`;let p=Lg(a,m),h=Lg(o,m);if(p===void 0&&h===void 0)continue;p||(p=0),h||(h=0),p===0||h===0||Bg(p)===Bg(h)?(i[m]=Math.max(_e(Ig(p),Ig(h),r),0),(sn.test(h)||sn.test(p))&&(i[m]+="%")):i[m]=h}(a.rotate||o.rotate)&&(i.rotate=_e(a.rotate||0,o.rotate||0,r))}function Lg(i,a){return i[a]!==void 0?i[a]:i.borderRadius}const FT=_v(0,.5,Dy),JT=_v(.5,.95,Pt);function _v(i,a,o){return r=>r<i?0:r>a?1:o(Gs(i,a,r))}function Gg(i,a){i.min=a.min,i.max=a.max}function qt(i,a){Gg(i.x,a.x),Gg(i.y,a.y)}function qg(i,a){i.translate=a.translate,i.scale=a.scale,i.originPoint=a.originPoint,i.origin=a.origin}function Hg(i,a,o,r,u){return i-=a,i=kr(i,1/o,r),u!==void 0&&(i=kr(i,1/u,r)),i}function WT(i,a=0,o=1,r=.5,u,f=i,d=i){if(sn.test(a)&&(a=parseFloat(a),a=_e(d.min,d.max,a/100)-d.min),typeof a!="number")return;let m=_e(f.min,f.max,r);i===f&&(m-=a),i.min=Hg(i.min,a,o,m,u),i.max=Hg(i.max,a,o,m,u)}function Pg(i,a,[o,r,u],f,d){WT(i,a[o],a[r],a[u],a.scale,f,d)}const $T=["x","scaleX","originX"],ew=["y","scaleY","originY"];function Yg(i,a,o,r){Pg(i.x,a,$T,o?o.x:void 0,r?r.x:void 0),Pg(i.y,a,ew,o?o.y:void 0,r?r.y:void 0)}function Xg(i){return i.translate===0&&i.scale===1}function Uv(i){return Xg(i.x)&&Xg(i.y)}function Qg(i,a){return i.min===a.min&&i.max===a.max}function tw(i,a){return Qg(i.x,a.x)&&Qg(i.y,a.y)}function Kg(i,a){return Math.round(i.min)===Math.round(a.min)&&Math.round(i.max)===Math.round(a.max)}function Iv(i,a){return Kg(i.x,a.x)&&Kg(i.y,a.y)}function Zg(i){return mt(i.x)/mt(i.y)}function Fg(i,a){return i.translate===a.translate&&i.scale===a.scale&&i.originPoint===a.originPoint}class nw{constructor(){this.members=[]}add(a){id(this.members,a),a.scheduleRender()}remove(a){if(ad(this.members,a),a===this.prevLead&&(this.prevLead=void 0),a===this.lead){const o=this.members[this.members.length-1];o&&this.promote(o)}}relegate(a){const o=this.members.findIndex(u=>a===u);if(o===0)return!1;let r;for(let u=o;u>=0;u--){const f=this.members[u];if(f.isPresent!==!1){r=f;break}}return r?(this.promote(r),!0):!1}promote(a,o){const r=this.lead;if(a!==r&&(this.prevLead=r,this.lead=a,a.show(),r)){r.instance&&r.scheduleRender(),a.scheduleRender(),a.resumeFrom=r,o&&(a.resumeFrom.preserveOpacity=!0),r.snapshot&&(a.snapshot=r.snapshot,a.snapshot.latestValues=r.animationValues||r.latestValues),a.root&&a.root.isUpdating&&(a.isLayoutDirty=!0);const{crossfade:u}=a.options;u===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(a=>{const{options:o,resumingFrom:r}=a;o.onExitComplete&&o.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(a=>{a.instance&&a.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function iw(i,a,o){let r="";const u=i.x.translate/a.x,f=i.y.translate/a.y,d=(o==null?void 0:o.z)||0;if((u||f||d)&&(r=`translate3d(${u}px, ${f}px, ${d}px) `),(a.x!==1||a.y!==1)&&(r+=`scale(${1/a.x}, ${1/a.y}) `),o){const{transformPerspective:h,rotate:y,rotateX:x,rotateY:A,skewX:C,skewY:z}=o;h&&(r=`perspective(${h}px) ${r}`),y&&(r+=`rotate(${y}deg) `),x&&(r+=`rotateX(${x}deg) `),A&&(r+=`rotateY(${A}deg) `),C&&(r+=`skewX(${C}deg) `),z&&(r+=`skewY(${z}deg) `)}const m=i.x.scale*a.x,p=i.y.scale*a.y;return(m!==1||p!==1)&&(r+=`scale(${m}, ${p})`),r||"none"}const gu=["","X","Y","Z"],aw={visibility:"hidden"},sw=1e3;let ow=0;function yu(i,a,o,r){const{latestValues:u}=a;u[i]&&(o[i]=u[i],a.setStaticValue(i,0),r&&(r[i]=0))}function Bv(i){if(i.hasCheckedOptimisedAppear=!0,i.root===i)return;const{visualElement:a}=i.options;if(!a)return;const o=Av(a);if(window.MotionHasOptimisedAnimation(o,"transform")){const{layout:u,layoutId:f}=i.options;window.MotionCancelOptimisedAnimation(o,"transform",Ue,!(u||f))}const{parent:r}=i;r&&!r.hasCheckedOptimisedAppear&&Bv(r)}function Lv({attachResizeListener:i,defaultParent:a,measureScroll:o,checkIsScrollRoot:r,resetTransform:u}){return class{constructor(d={},m=a==null?void 0:a()){this.id=ow++,this.animationId=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.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(cw),this.nodes.forEach(mw),this.nodes.forEach(pw),this.nodes.forEach(uw)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=m?m.root||m:this,this.path=m?[...m.path,m]:[],this.parent=m,this.depth=m?m.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new XT)}addEventListener(d,m){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new rd),this.eventHandlers.get(d).add(m)}notifyListeners(d,...m){const p=this.eventHandlers.get(d);p&&p.notify(...m)}hasListeners(d){return this.eventHandlers.has(d)}mount(d){if(this.instance)return;this.isSVG=ov(d)&&!n1(d),this.instance=d;const{layoutId:m,layout:p,visualElement:h}=this.options;if(h&&!h.current&&h.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(p||m)&&(this.isLayoutDirty=!0),i){let y;const x=()=>this.root.updateBlockedByResize=!1;i(d,()=>{this.root.updateBlockedByResize=!0,y&&y(),y=QT(x,250),Rr.hasAnimatedSinceResize&&(Rr.hasAnimatedSinceResize=!1,this.nodes.forEach(Wg))})}m&&this.root.registerSharedNode(m,this),this.options.animate!==!1&&h&&(m||p)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:x,hasRelativeLayoutChanged:A,layout:C})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const z=this.options.transition||h.getDefaultTransition()||xw,{onLayoutAnimationStart:k,onLayoutAnimationComplete:V}=h.getProps(),I=!this.targetLayout||!Iv(this.targetLayout,C),Q=!x&&A;if(this.options.layoutRoot||this.resumeFrom||Q||x&&(I||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const B={...Ad(z,"layout"),onPlay:k,onComplete:V};(h.shouldReduceMotion||this.options.layoutRoot)&&(B.delay=0,B.type=!1),this.startAnimation(B),this.setAnimationOrigin(y,Q)}else x||Wg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=C})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ai(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(gw),this.animationId++)}getTransformTemplate(){const{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Bv(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const x=this.path[y];x.shouldResetTransform=!0,x.updateScroll("snapshot"),x.options.layoutRoot&&x.willUpdate(!1)}const{layoutId:m,layout:p}=this.options;if(m===void 0&&!p)return;const h=this.getTransformTemplate();this.prevTransformTemplateValue=h?h(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Jg);return}this.isUpdating||this.nodes.forEach(fw),this.isUpdating=!1,this.nodes.forEach(hw),this.nodes.forEach(rw),this.nodes.forEach(lw),this.clearAllSnapshots();const m=At.now();ot.delta=wn(0,1e3/60,m-ot.timestamp),ot.timestamp=m,ot.isProcessing=!0,lu.update.process(ot),lu.preRender.process(ot),lu.render.process(ot),ot.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Td.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(dw),this.sharedNodes.forEach(yw)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ue.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ue.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!mt(this.snapshot.measuredBox.x)&&!mt(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 p=0;p<this.path.length;p++)this.path[p].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutCorrected=He(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:m}=this.options;m&&m.notify("LayoutMeasure",this.layout.layoutBox,d?d.layoutBox:void 0)}updateScroll(d="measure"){let m=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(m=!1),m&&this.instance){const p=r(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:p,offset:o(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!u)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,m=this.projectionDelta&&!Uv(this.projectionDelta),p=this.getTransformTemplate(),h=p?p(this.latestValues,""):void 0,y=h!==this.prevTransformTemplateValue;d&&this.instance&&(m||Di(this.latestValues)||y)&&(u(this.instance,h),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const m=this.measurePageBox();let p=this.removeElementScroll(m);return d&&(p=this.removeTransform(p)),Aw(p),{animationId:this.root.animationId,measuredBox:m,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){var h;const{visualElement:d}=this.options;if(!d)return He();const m=d.measureViewportBox();if(!(((h=this.scroll)==null?void 0:h.wasRoot)||this.path.some(Sw))){const{scroll:y}=this.root;y&&(Ta(m.x,y.offset.x),Ta(m.y,y.offset.y))}return m}removeElementScroll(d){var p;const m=He();if(qt(m,d),(p=this.scroll)!=null&&p.wasRoot)return m;for(let h=0;h<this.path.length;h++){const y=this.path[h],{scroll:x,options:A}=y;y!==this.root&&x&&A.layoutScroll&&(x.wasRoot&&qt(m,d),Ta(m.x,x.offset.x),Ta(m.y,x.offset.y))}return m}applyTransform(d,m=!1){const p=He();qt(p,d);for(let h=0;h<this.path.length;h++){const y=this.path[h];!m&&y.options.layoutScroll&&y.scroll&&y!==y.root&&wa(p,{x:-y.scroll.offset.x,y:-y.scroll.offset.y}),Di(y.latestValues)&&wa(p,y.latestValues)}return Di(this.latestValues)&&wa(p,this.latestValues),p}removeTransform(d){const m=He();qt(m,d);for(let p=0;p<this.path.length;p++){const h=this.path[p];if(!h.instance||!Di(h.latestValues))continue;Pu(h.latestValues)&&h.updateSnapshot();const y=He(),x=h.measurePageBox();qt(y,x),Yg(m,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,y)}return Di(this.latestValues)&&Yg(m,this.latestValues),m}setTargetDelta(d){this.targetDelta=d,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(d){this.options={...this.options,...d,crossfade:d.crossfade!==void 0?d.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!==ot.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){var A;const m=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=m.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=m.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=m.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==m;if(!(d||p&&this.isSharedProjectionDirty||this.isProjectionDirty||(A=this.parent)!=null&&A.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:y,layoutId:x}=this.options;if(!(!this.layout||!(y||x))){if(this.resolvedRelativeTargetAt=ot.timestamp,!this.targetDelta&&!this.relativeTarget){const C=this.getClosestProjectingParent();C&&C.layout&&this.animationProgress!==1?(this.relativeParent=C,this.forceRelativeParentToResolveTarget(),this.relativeTarget=He(),this.relativeTargetOrigin=He(),Ls(this.relativeTargetOrigin,this.layout.layoutBox,C.layout.layoutBox),qt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=He(),this.targetWithTransforms=He()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),wT(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):qt(this.target,this.layout.layoutBox),Rv(this.target,this.targetDelta)):qt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const C=this.getClosestProjectingParent();C&&!!C.resumingFrom==!!this.resumingFrom&&!C.options.layoutScroll&&C.target&&this.animationProgress!==1?(this.relativeParent=C,this.forceRelativeParentToResolveTarget(),this.relativeTarget=He(),this.relativeTargetOrigin=He(),Ls(this.relativeTargetOrigin,this.target,C.target),qt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Pu(this.parent.latestValues)||Dv(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var z;const d=this.getLead(),m=!!this.resumingFrom||this!==d;let p=!0;if((this.isProjectionDirty||(z=this.parent)!=null&&z.isProjectionDirty)&&(p=!1),m&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===ot.timestamp&&(p=!1),p)return;const{layout:h,layoutId:y}=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||y))return;qt(this.layoutCorrected,this.layout.layoutBox);const x=this.treeScale.x,A=this.treeScale.y;CT(this.layoutCorrected,this.treeScale,this.path,m),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=He());const{target:C}=d;if(!C){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(qg(this.prevProjectionDelta.x,this.projectionDelta.x),qg(this.prevProjectionDelta.y,this.projectionDelta.y)),Bs(this.projectionDelta,this.layoutCorrected,C,this.latestValues),(this.treeScale.x!==x||this.treeScale.y!==A||!Fg(this.projectionDelta.x,this.prevProjectionDelta.x)||!Fg(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",C))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){var m;if((m=this.options.visualElement)==null||m.scheduleRender(),d){const p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Sa(),this.projectionDelta=Sa(),this.projectionDeltaWithTransform=Sa()}setAnimationOrigin(d,m=!1){const p=this.snapshot,h=p?p.latestValues:{},y={...this.latestValues},x=Sa();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!m;const A=He(),C=p?p.source:void 0,z=this.layout?this.layout.source:void 0,k=C!==z,V=this.getStack(),I=!V||V.members.length<=1,Q=!!(k&&!I&&this.options.crossfade===!0&&!this.path.some(bw));this.animationProgress=0;let B;this.mixTargetDelta=F=>{const P=F/1e3;$g(x.x,d.x,P),$g(x.y,d.y,P),this.setTargetDelta(x),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ls(A,this.layout.layoutBox,this.relativeParent.layout.layoutBox),vw(this.relativeTarget,this.relativeTargetOrigin,A,P),B&&tw(this.relativeTarget,B)&&(this.isProjectionDirty=!1),B||(B=He()),qt(B,this.relativeTarget)),k&&(this.animationValues=y,ZT(y,h,this.latestValues,P,Q,I)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){var m,p,h;this.notifyListeners("animationStart"),(m=this.currentAnimation)==null||m.stop(),(h=(p=this.resumingFrom)==null?void 0:p.currentAnimation)==null||h.stop(),this.pendingAnimation&&(ai(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ue.update(()=>{Rr.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Ea(0)),this.currentAnimation=PT(this.motionValue,[0,1e3],{...d,isSync:!0,onUpdate:y=>{this.mixTargetDelta(y),d.onUpdate&&d.onUpdate(y)},onStop:()=>{},onComplete:()=>{d.onComplete&&d.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 d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(sw),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:m,target:p,layout:h,latestValues:y}=d;if(!(!m||!p||!h)){if(this!==d&&this.layout&&h&&Gv(this.options.animationType,this.layout.layoutBox,h.layoutBox)){p=this.target||He();const x=mt(this.layout.layoutBox.x);p.x.min=d.target.x.min,p.x.max=p.x.min+x;const A=mt(this.layout.layoutBox.y);p.y.min=d.target.y.min,p.y.max=p.y.min+A}qt(m,p),wa(m,y),Bs(this.projectionDeltaWithTransform,this.layoutCorrected,m,y)}}registerSharedNode(d,m){this.sharedNodes.has(d)||this.sharedNodes.set(d,new nw),this.sharedNodes.get(d).add(m);const h=m.options.initialPromotionConfig;m.promote({transition:h?h.transition:void 0,preserveFollowOpacity:h&&h.shouldPreserveFollowOpacity?h.shouldPreserveFollowOpacity(m):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){var m;const{layoutId:d}=this.options;return d?((m=this.getStack())==null?void 0:m.lead)||this:this}getPrevLead(){var m;const{layoutId:d}=this.options;return d?(m=this.getStack())==null?void 0:m.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:m,preserveFollowOpacity:p}={}){const h=this.getStack();h&&h.promote(this,p),d&&(this.projectionDelta=void 0,this.needsReset=!0),m&&this.setOptions({transition:m})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let m=!1;const{latestValues:p}=d;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(m=!0),!m)return;const h={};p.z&&yu("z",d,h,this.animationValues);for(let y=0;y<gu.length;y++)yu(`rotate${gu[y]}`,d,h,this.animationValues),yu(`skew${gu[y]}`,d,h,this.animationValues);d.render();for(const y in h)d.setStaticValue(y,h[y]),this.animationValues&&(this.animationValues[y]=h[y]);d.scheduleRender()}getProjectionStyles(d){if(!this.instance||this.isSVG)return;if(!this.isVisible)return aw;const m={visibility:""},p=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,m.opacity="",m.pointerEvents=Dr(d==null?void 0:d.pointerEvents)||"",m.transform=p?p(this.latestValues,""):"none",m;const h=this.getLead();if(!this.projectionDelta||!this.layout||!h.target){const C={};return this.options.layoutId&&(C.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,C.pointerEvents=Dr(d==null?void 0:d.pointerEvents)||""),this.hasProjected&&!Di(this.latestValues)&&(C.transform=p?p({},""):"none",this.hasProjected=!1),C}const y=h.animationValues||h.latestValues;this.applyTransformsToTarget(),m.transform=iw(this.projectionDeltaWithTransform,this.treeScale,y),p&&(m.transform=p(y,m.transform));const{x,y:A}=this.projectionDelta;m.transformOrigin=`${x.origin*100}% ${A.origin*100}% 0`,h.animationValues?m.opacity=h===this?y.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:y.opacityExit:m.opacity=h===this?y.opacity!==void 0?y.opacity:"":y.opacityExit!==void 0?y.opacityExit:0;for(const C in Ys){if(y[C]===void 0)continue;const{correct:z,applyTo:k,isCSSVariable:V}=Ys[C],I=m.transform==="none"?y[C]:z(y[C],h);if(k){const Q=k.length;for(let B=0;B<Q;B++)m[k[B]]=I}else V?this.options.visualElement.renderState.vars[C]=I:m[C]=I}return this.options.layoutId&&(m.pointerEvents=h===this?Dr(d==null?void 0:d.pointerEvents)||"":"none"),m}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>{var m;return(m=d.currentAnimation)==null?void 0:m.stop()}),this.root.nodes.forEach(Jg),this.root.sharedNodes.clear()}}}function rw(i){i.updateLayout()}function lw(i){var o;const a=((o=i.resumeFrom)==null?void 0:o.snapshot)||i.snapshot;if(i.isLead()&&i.layout&&a&&i.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:u}=i.layout,{animationType:f}=i.options,d=a.source!==i.layout.source;f==="size"?Ht(x=>{const A=d?a.measuredBox[x]:a.layoutBox[x],C=mt(A);A.min=r[x].min,A.max=A.min+C}):Gv(f,a.layoutBox,r)&&Ht(x=>{const A=d?a.measuredBox[x]:a.layoutBox[x],C=mt(r[x]);A.max=A.min+C,i.relativeTarget&&!i.currentAnimation&&(i.isProjectionDirty=!0,i.relativeTarget[x].max=i.relativeTarget[x].min+C)});const m=Sa();Bs(m,r,a.layoutBox);const p=Sa();d?Bs(p,i.applyTransform(u,!0),a.measuredBox):Bs(p,r,a.layoutBox);const h=!Uv(m);let y=!1;if(!i.resumeFrom){const x=i.getClosestProjectingParent();if(x&&!x.resumeFrom){const{snapshot:A,layout:C}=x;if(A&&C){const z=He();Ls(z,a.layoutBox,A.layoutBox);const k=He();Ls(k,r,C.layoutBox),Iv(z,k)||(y=!0),x.options.layoutRoot&&(i.relativeTarget=k,i.relativeTargetOrigin=z,i.relativeParent=x)}}}i.notifyListeners("didUpdate",{layout:r,snapshot:a,delta:p,layoutDelta:m,hasLayoutChanged:h,hasRelativeLayoutChanged:y})}else if(i.isLead()){const{onExitComplete:r}=i.options;r&&r()}i.options.transition=void 0}function cw(i){i.parent&&(i.isProjecting()||(i.isProjectionDirty=i.parent.isProjectionDirty),i.isSharedProjectionDirty||(i.isSharedProjectionDirty=!!(i.isProjectionDirty||i.parent.isProjectionDirty||i.parent.isSharedProjectionDirty)),i.isTransformDirty||(i.isTransformDirty=i.parent.isTransformDirty))}function uw(i){i.isProjectionDirty=i.isSharedProjectionDirty=i.isTransformDirty=!1}function dw(i){i.clearSnapshot()}function Jg(i){i.clearMeasurements()}function fw(i){i.isLayoutDirty=!1}function hw(i){const{visualElement:a}=i.options;a&&a.getProps().onBeforeLayoutMeasure&&a.notify("BeforeLayoutMeasure"),i.resetTransform()}function Wg(i){i.finishAnimation(),i.targetDelta=i.relativeTarget=i.target=void 0,i.isProjectionDirty=!0}function mw(i){i.resolveTargetDelta()}function pw(i){i.calcProjection()}function gw(i){i.resetSkewAndRotation()}function yw(i){i.removeLeadSnapshot()}function $g(i,a,o){i.translate=_e(a.translate,0,o),i.scale=_e(a.scale,1,o),i.origin=a.origin,i.originPoint=a.originPoint}function ey(i,a,o,r){i.min=_e(a.min,o.min,r),i.max=_e(a.max,o.max,r)}function vw(i,a,o,r){ey(i.x,a.x,o.x,r),ey(i.y,a.y,o.y,r)}function bw(i){return i.animationValues&&i.animationValues.opacityExit!==void 0}const xw={duration:.45,ease:[.4,0,.1,1]},ty=i=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(i),ny=ty("applewebkit/")&&!ty("chrome/")?Math.round:Pt;function iy(i){i.min=ny(i.min),i.max=ny(i.max)}function Aw(i){iy(i.x),iy(i.y)}function Gv(i,a,o){return i==="position"||i==="preserve-aspect"&&!TT(Zg(a),Zg(o),.2)}function Sw(i){var a;return i!==i.root&&((a=i.scroll)==null?void 0:a.wasRoot)}const Tw=Lv({attachResizeListener:(i,a)=>Qs(i,"resize",a),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),vu={current:void 0},qv=Lv({measureScroll:i=>({x:i.scrollLeft,y:i.scrollTop}),defaultParent:()=>{if(!vu.current){const i=new Tw({});i.mount(window),i.setOptions({layoutScroll:!0}),vu.current=i}return vu.current},resetTransform:(i,a)=>{i.style.transform=a!==void 0?a:"none"},checkIsScrollRoot:i=>window.getComputedStyle(i).position==="fixed"}),ww={pan:{Feature:LT},drag:{Feature:BT,ProjectionNode:qv,MeasureLayout:kv}};function ay(i,a,o){const{props:r}=i;i.animationState&&r.whileHover&&i.animationState.setActive("whileHover",o==="Start");const u="onHover"+o,f=r[u];f&&Ue.postRender(()=>f(a,Ws(a)))}class Cw extends oi{mount(){const{current:a}=this.node;a&&(this.unmount=JS(a,(o,r)=>(ay(this.node,r,"Start"),u=>ay(this.node,u,"End"))))}unmount(){}}class Ew extends oi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let a=!1;try{a=this.node.current.matches(":focus-visible")}catch{a=!0}!a||!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=Zs(Qs(this.node.current,"focus",()=>this.onFocus()),Qs(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function sy(i,a,o){const{props:r}=i;if(i.current instanceof HTMLButtonElement&&i.current.disabled)return;i.animationState&&r.whileTap&&i.animationState.setActive("whileTap",o==="Start");const u="onTap"+(o==="End"?"":o),f=r[u];f&&Ue.postRender(()=>f(a,Ws(a)))}class Mw extends oi{mount(){const{current:a}=this.node;a&&(this.unmount=t1(a,(o,r)=>(sy(this.node,r,"Start"),(u,{success:f})=>sy(this.node,u,f?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Qu=new WeakMap,bu=new WeakMap,Dw=i=>{const a=Qu.get(i.target);a&&a(i)},Rw=i=>{i.forEach(Dw)};function jw({root:i,...a}){const o=i||document;bu.has(o)||bu.set(o,{});const r=bu.get(o),u=JSON.stringify(a);return r[u]||(r[u]=new IntersectionObserver(Rw,{root:i,...a})),r[u]}function Nw(i,a,o){const r=jw(a);return Qu.set(i,o),r.observe(i),()=>{Qu.delete(i),r.unobserve(i)}}const Ow={some:0,all:1};class zw extends oi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:a={}}=this.node.getProps(),{root:o,margin:r,amount:u="some",once:f}=a,d={root:o?o.current:void 0,rootMargin:r,threshold:typeof u=="number"?u:Ow[u]},m=p=>{const{isIntersecting:h}=p;if(this.isInView===h||(this.isInView=h,f&&!h&&this.hasEnteredView))return;h&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",h);const{onViewportEnter:y,onViewportLeave:x}=this.node.getProps(),A=h?y:x;A&&A(p)};return Nw(this.node.current,d,m)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:a,prevProps:o}=this.node;["amount","margin","root"].some(kw(a,o))&&this.startObserver()}unmount(){}}function kw({viewport:i={}},{viewport:a={}}={}){return o=>i[o]!==a[o]}const Vw={inView:{Feature:zw},tap:{Feature:Mw},focus:{Feature:Ew},hover:{Feature:Cw}},_w={layout:{ProjectionNode:qv,MeasureLayout:kv}},Ku={current:null},Hv={current:!1};function Uw(){if(Hv.current=!0,!!nd)if(window.matchMedia){const i=window.matchMedia("(prefers-reduced-motion)"),a=()=>Ku.current=i.matches;i.addListener(a),a()}else Ku.current=!1}const Iw=new WeakMap;function Bw(i,a,o){for(const r in a){const u=a[r],f=o[r];if(dt(u))i.addValue(r,u);else if(dt(f))i.addValue(r,Ea(u,{owner:i}));else if(f!==u)if(i.hasValue(r)){const d=i.getValue(r);d.liveStyle===!0?d.jump(u):d.hasAnimated||d.set(u)}else{const d=i.getStaticValue(r);i.addValue(r,Ea(d!==void 0?d:u,{owner:i}))}}for(const r in o)a[r]===void 0&&i.removeValue(r);return a}const oy=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Lw{scrapeMotionValuesFromProps(a,o,r){return{}}constructor({parent:a,props:o,presenceContext:r,reducedMotionConfig:u,blockInitialAnimation:f,visualState:d},m={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=bd,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 A=At.now();this.renderScheduledAt<A&&(this.renderScheduledAt=A,Ue.render(this.render,!1,!0))};const{latestValues:p,renderState:h}=d;this.latestValues=p,this.baseTarget={...p},this.initialValues=o.initial?{...p}:{},this.renderState=h,this.parent=a,this.props=o,this.presenceContext=r,this.depth=a?a.depth+1:0,this.reducedMotionConfig=u,this.options=m,this.blockInitialAnimation=!!f,this.isControllingVariants=Br(o),this.isVariantNode=uv(o),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(a&&a.current);const{willChange:y,...x}=this.scrapeMotionValuesFromProps(o,{},this);for(const A in x){const C=x[A];p[A]!==void 0&&dt(C)&&C.set(p[A],!1)}}mount(a){this.current=a,Iw.set(a,this),this.projection&&!this.projection.instance&&this.projection.mount(a),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((o,r)=>this.bindToMotionValue(r,o)),Hv.current||Uw(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Ku.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),ai(this.notifyUpdate),ai(this.render),this.valueSubscriptions.forEach(a=>a()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const a in this.events)this.events[a].clear();for(const a in this.features){const o=this.features[a];o&&(o.unmount(),o.isMounted=!1)}this.current=null}bindToMotionValue(a,o){this.valueSubscriptions.has(a)&&this.valueSubscriptions.get(a)();const r=Na.has(a);r&&this.onBindTransform&&this.onBindTransform();const u=o.on("change",m=>{this.latestValues[a]=m,this.props.onUpdate&&Ue.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),f=o.on("renderRequest",this.scheduleRender);let d;window.MotionCheckAppearSync&&(d=window.MotionCheckAppearSync(this,a,o)),this.valueSubscriptions.set(a,()=>{u(),f(),d&&d(),o.owner&&o.stop()})}sortNodePosition(a){return!this.current||!this.sortInstanceNodePosition||this.type!==a.type?0:this.sortInstanceNodePosition(this.current,a.current)}updateFeatures(){let a="animation";for(a in Ma){const o=Ma[a];if(!o)continue;const{isEnabled:r,Feature:u}=o;if(!this.features[a]&&u&&r(this.props)&&(this.features[a]=new u(this)),this.features[a]){const f=this.features[a];f.isMounted?f.update():(f.mount(),f.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):He()}getStaticValue(a){return this.latestValues[a]}setStaticValue(a,o){this.latestValues[a]=o}update(a,o){(a.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=a,this.prevPresenceContext=this.presenceContext,this.presenceContext=o;for(let r=0;r<oy.length;r++){const u=oy[r];this.propEventSubscriptions[u]&&(this.propEventSubscriptions[u](),delete this.propEventSubscriptions[u]);const f="on"+u,d=a[f];d&&(this.propEventSubscriptions[u]=this.on(u,d))}this.prevMotionValues=Bw(this,this.scrapeMotionValuesFromProps(a,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(a){return this.props.variants?this.props.variants[a]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}
vendor: 9,437 bytes, lines 57-117
57addVariantChild(a){const o=this.getClosestVariantNode();if(o)return o.variantChildren&&o.variantChildren.add(a),()=>o.variantChildren.delete(a)}addValue(a,o){const r=this.values.get(a);o!==r&&(r&&this.removeValue(a),this.bindToMotionValue(a,o),this.values.set(a,o),this.latestValues[a]=o.get())}removeValue(a){this.values.delete(a);const o=this.valueSubscriptions.get(a);o&&(o(),this.valueSubscriptions.delete(a)),delete this.latestValues[a],this.removeValueFromRenderState(a,this.renderState)}hasValue(a){return this.values.has(a)}getValue(a,o){if(this.props.values&&this.props.values[a])return this.props.values[a];let r=this.values.get(a);return r===void 0&&o!==void 0&&(r=Ea(o===null?void 0:o,{owner:this}),this.addValue(a,r)),r}readValue(a,o){let r=this.latestValues[a]!==void 0||!this.current?this.latestValues[a]:this.getBaseTargetFromProps(this.props,a)??this.readValueFromInstance(this.current,a,this.options);return r!=null&&(typeof r=="string"&&(vy(r)||xy(r))?r=parseFloat(r):!a1(r)&&si.test(o)&&(r=tv(a,o)),this.setBaseTarget(a,dt(r)?r.get():r)),dt(r)?r.get():r}setBaseTarget(a,o){this.baseTarget[a]=o}getBaseTarget(a){var f;const{initial:o}=this.props;let r;if(typeof o=="string"||typeof o=="object"){const d=Od(this.props,o,(f=this.presenceContext)==null?void 0:f.custom);d&&(r=d[a])}if(o&&r!==void 0)return r;const u=this.getBaseTargetFromProps(this.props,a);return u!==void 0&&!dt(u)?u:this.initialValues[a]!==void 0&&r===void 0?void 0:this.baseTarget[a]}on(a,o){return this.events[a]||(this.events[a]=new rd),this.events[a].add(o)}notify(a,...o){this.events[a]&&this.events[a].notify(...o)}}class Pv extends Lw{constructor(){super(...arguments),this.KeyframeResolver=XS}sortInstanceNodePosition(a,o){return a.compareDocumentPosition(o)&2?1:-1}getBaseTargetFromProps(a,o){return a.style?a.style[o]:void 0}removeValueFromRenderState(a,{vars:o,style:r}){delete o[a],delete r[a]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:a}=this.props;dt(a)&&(this.childSubscription=a.on("change",o=>{this.current&&(this.current.textContent=`${o}`)}))}}function Yv(i,{style:a,vars:o},r,u){Object.assign(i.style,a,u&&u.getProjectionStyles(r));for(const f in o)i.style.setProperty(f,o[f])}function Gw(i){return window.getComputedStyle(i)}class qw extends Pv{constructor(){super(...arguments),this.type="html",this.renderInstance=Yv}readValueFromInstance(a,o){var r;if(Na.has(o))return(r=this.projection)!=null&&r.isProjecting?Vu(o):dS(a,o);{const u=Gw(a),f=(ud(o)?u.getPropertyValue(o):u[o])||0;return typeof f=="string"?f.trim():f}}measureInstanceViewportBox(a,{transformPagePoint:o}){return jv(a,o)}build(a,o,r){Rd(a,o,r.transformTemplate)}scrapeMotionValuesFromProps(a,o,r){return zd(a,o,r)}}const Xv=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 Hw(i,a,o,r){Yv(i,a,void 0,r);for(const u in a.attrs)i.setAttribute(Xv.has(u)?u:Dd(u),a.attrs[u])}class Pw extends Pv{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=He}getBaseTargetFromProps(a,o){return a[o]}readValueFromInstance(a,o){if(Na.has(o)){const r=ev(o);return r&&r.default||0}return o=Xv.has(o)?o:Dd(o),a.getAttribute(o)}scrapeMotionValuesFromProps(a,o,r){return xv(a,o,r)}build(a,o,r){gv(a,o,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(a,o,r,u){Hw(a,o,r,u)}mount(a){this.isSVGTag=vv(a.tagName),super.mount(a)}}const Yw=(i,a)=>Nd(i)?new Pw(a):new qw(a,{allowProjection:i!==R.Fragment}),Xw=H1({...pT,...Vw,...ww,..._w},Yw),xe=m1(Xw);/**
58 * @license lucide-react v0.510.0 - ISC
59 *
60 * This source code is licensed under the ISC license.
61 * See the LICENSE file in the root directory of this source tree.
62 */const Qw=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Kw=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,o,r)=>r?r.toUpperCase():o.toLowerCase()),ry=i=>{const a=Kw(i);return a.charAt(0).toUpperCase()+a.slice(1)},Qv=(...i)=>i.filter((a,o,r)=>!!a&&a.trim()!==""&&r.indexOf(a)===o).join(" ").trim(),Zw=i=>{for(const a in i)if(a.startsWith("aria-")||a==="role"||a==="title")return!0};/**
63 * @license lucide-react v0.510.0 - ISC
64 *
65 * This source code is licensed under the ISC license.
66 * See the LICENSE file in the root directory of this source tree.
67 */var Fw={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"};/**
68 * @license lucide-react v0.510.0 - ISC
69 *
70 * This source code is licensed under the ISC license.
71 * See the LICENSE file in the root directory of this source tree.
72 */const Jw=R.forwardRef(({color:i="currentColor",size:a=24,strokeWidth:o=2,absoluteStrokeWidth:r,className:u="",children:f,iconNode:d,...m},p)=>R.createElement("svg",{ref:p,...Fw,width:a,height:a,stroke:i,strokeWidth:r?Number(o)*24/Number(a):o,className:Qv("lucide",u),...!f&&!Zw(m)&&{"aria-hidden":"true"},...m},[...d.map(([h,y])=>R.createElement(h,y)),...Array.isArray(f)?f:[f]]));/**
73 * @license lucide-react v0.510.0 - ISC
74 *
75 * This source code is licensed under the ISC license.
76 * See the LICENSE file in the root directory of this source tree.
77 */const ri=(i,a)=>{const o=R.forwardRef(({className:r,...u},f)=>R.createElement(Jw,{ref:f,iconNode:a,className:Qv(`lucide-${Qw(ry(i))}`,`lucide-${i}`,r),...u}));return o.displayName=ry(i),o};/**
78 * @license lucide-react v0.510.0 - ISC
79 *
80 * This source code is licensed under the ISC license.
81 * See the LICENSE file in the root directory of this source tree.
82 */const Ww=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],$w=ri("check",Ww);/**
83 * @license lucide-react v0.510.0 - ISC
84 *
85 * This source code is licensed under the ISC license.
86 * See the LICENSE file in the root directory of this source tree.
87 */const eC=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],tC=ri("chevron-down",eC);/**
88 * @license lucide-react v0.510.0 - ISC
89 *
90 * This source code is licensed under the ISC license.
91 * See the LICENSE file in the root directory of this source tree.
92 */const nC=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],iC=ri("chevron-left",nC);/**
93 * @license lucide-react v0.510.0 - ISC
94 *
95 * This source code is licensed under the ISC license.
96 * See the LICENSE file in the root directory of this source tree.
97 */const aC=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Kv=ri("chevron-right",aC);/**
98 * @license lucide-react v0.510.0 - ISC
99 *
100 * This source code is licensed under the ISC license.
101 * See the LICENSE file in the root directory of this source tree.
102 */const sC=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],oC=ri("chevron-up",sC);/**
103 * @license lucide-react v0.510.0 - ISC
104 *
105 * This source code is licensed under the ISC license.
106 * See the LICENSE file in the root directory of this source tree.
107 */const rC=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],Zv=ri("external-link",rC);/**
108 * @license lucide-react v0.510.0 - ISC
109 *
110 * This source code is licensed under the ISC license.
111 * See the LICENSE file in the root directory of this source tree.
112 */const lC=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]],cC=ri("house",lC);/**
113 * @license lucide-react v0.510.0 - ISC
114 *
115 * This source code is licensed under the ISC license.
116 * See the LICENSE file in the root directory of this source tree.
117 */const uC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],dC=ri("info",uC);function ly(i,a){if(typeof i=="function")return i(a);i!=null&&(i.current=a)}function fC(...i){return a=>{let o=!1;const r=i.map(u=>{const f=ly(u,a);return!o&&typeof f=="function"&&(o=!0),f});if(o)return()=>{for(let u=0;u<r.length;u++){const f=r[u];typeof f=="function"?f():ly(i[u],null)}}}}function Da(...i){return R.useCallback(fC(...i),i)}function Vr(i){const a=mC(i),o=R.forwardRef((r,u)=>{const{children:f,...d}=r,m=R.Children.toArray(f),p=m.find(gC);if(p){const h=p.props.children,y=m.map(x=>x===p?R.Children.count(h)>1?R.Children.only(null):R.isValidElement(h)?h.props.children:null:x);return v.jsx(a,{...d,ref:u,children:R.isValidElement(h)?R.cloneElement(h,void 0,y):null})}return v.jsx(a,{...d,ref:u,children:f})});return o.displayName=`${i}.Slot`,o}var hC=Vr("Slot");function mC(i){const a=R.forwardRef((o,r)=>{const{children:u,...f}=o,d=R.isValidElement(u)?vC(u):void 0,m=Da(d,r);if(R.isValidElement(u)){const p=yC(f,u.props);return u.type!==R.Fragment&&(p.ref=m),R.cloneElement(u,p)}return R.Children.count(u)>1?R.Children.only(null):null});return a.displayName=`${i}.SlotClone`,a}var pC=Symbol("radix.slottable");function gC(i){return R.isValidElement(i)&&typeof i.type=="function"&&"__radixId"in i.type&&i.type.__radixId===pC}function yC(i,a){const o={...a};for(const r in a){const u=i[r],f=a[r];/^on[A-Z]/.test(r)?u&&f?o[r]=(...m)=>{const p=f(...m);return u(...m),p}:u&&(o[r]=u):r==="style"?o[r]={...u,...f}
vendor: 4,632 bytes, line 117
117:r==="className"&&(o[r]=[u,f].filter(Boolean).join(" "))}return{...i,...o}}function vC(i){var r,u;let a=(r=Object.getOwnPropertyDescriptor(i.props,"ref"))==null?void 0:r.get,o=a&&"isReactWarning"in a&&a.isReactWarning;return o?i.ref:(a=(u=Object.getOwnPropertyDescriptor(i,"ref"))==null?void 0:u.get,o=a&&"isReactWarning"in a&&a.isReactWarning,o?i.props.ref:i.props.ref||i.ref)}function Fv(i){var a,o,r="";if(typeof i=="string"||typeof i=="number")r+=i;else if(typeof i=="object")if(Array.isArray(i)){var u=i.length;for(a=0;a<u;a++)i[a]&&(o=Fv(i[a]))&&(r&&(r+=" "),r+=o)}else for(o in i)i[o]&&(r&&(r+=" "),r+=o);return r}function Jv(){for(var i,a,o=0,r="",u=arguments.length;o<u;o++)(i=arguments[o])&&(a=Fv(i))&&(r&&(r+=" "),r+=a);return r}const cy=i=>typeof i=="boolean"?`${i}`:i===0?"0":i,uy=Jv,bC=(i,a)=>o=>{var r;if((a==null?void 0:a.variants)==null)return uy(i,o==null?void 0:o.class,o==null?void 0:o.className);const{variants:u,defaultVariants:f}=a,d=Object.keys(u).map(h=>{const y=o==null?void 0:o[h],x=f==null?void 0:f[h];if(y===null)return null;const A=cy(y)||cy(x);return u[h][A]}),m=o&&Object.entries(o).reduce((h,y)=>{let[x,A]=y;return A===void 0||(h[x]=A),h},{}),p=a==null||(r=a.compoundVariants)===null||r===void 0?void 0:r.reduce((h,y)=>{let{class:x,className:A,...C}=y;return Object.entries(C).every(z=>{let[k,V]=z;return Array.isArray(V)?V.includes({...f,...m}[k]):{...f,...m}[k]===V})?[...h,x,A]:h},[]);return uy(i,d,p,o==null?void 0:o.class,o==null?void 0:o.className)},Vd="-",xC=i=>{const a=SC(i),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=i;return{getClassGroupId:d=>{const m=d.split(Vd);return m[0]===""&&m.length!==1&&m.shift(),Wv(m,a)||AC(d)},getConflictingClassGroupIds:(d,m)=>{const p=o[d]||[];return m&&r[d]?[...p,...r[d]]:p}}},Wv=(i,a)=>{var d;if(i.length===0)return a.classGroupId;const o=i[0],r=a.nextPart.get(o),u=r?Wv(i.slice(1),r):void 0;if(u)return u;if(a.validators.length===0)return;const f=i.join(Vd);return(d=a.validators.find(({validator:m})=>m(f)))==null?void 0:d.classGroupId},dy=/^\[(.+)\]$/,AC=i=>{if(dy.test(i)){const a=dy.exec(i)[1],o=a==null?void 0:a.substring(0,a.indexOf(":"));if(o)return"arbitrary.."+o}},SC=i=>{const{theme:a,classGroups:o}=i,r={nextPart:new Map,validators:[]};for(const u in o)Zu(o[u],r,u,a);return r},Zu=(i,a,o,r)=>{i.forEach(u=>{if(typeof u=="string"){const f=u===""?a:fy(a,u);f.classGroupId=o;return}if(typeof u=="function"){if(TC(u)){Zu(u(r),a,o,r);return}a.validators.push({validator:u,classGroupId:o});return}Object.entries(u).forEach(([f,d])=>{Zu(d,fy(a,f),o,r)})})},fy=(i,a)=>{let o=i;return a.split(Vd).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},TC=i=>i.isThemeGetter,wC=i=>{if(i<1)return{get:()=>{},set:()=>{}};let a=0,o=new Map,r=new Map;const u=(f,d)=>{o.set(f,d),a++,a>i&&(a=0,r=o,o=new Map)};return{get(f){let d=o.get(f);if(d!==void 0)return d;if((d=r.get(f))!==void 0)return u(f,d),d},set(f,d){o.has(f)?o.set(f,d):u(f,d)}}},Fu="!",Ju=":",CC=Ju.length,EC=i=>{const{prefix:a,experimentalParseClassName:o}=i;let r=u=>{const f=[];let d=0,m=0,p=0,h;for(let z=0;z<u.length;z++){let k=u[z];if(d===0&&m===0){if(k===Ju){f.push(u.slice(p,z)),p=z+CC;continue}if(k==="/"){h=z;continue}}k==="["?d++:k==="]"?d--:k==="("?m++:k===")"&&m--}const y=f.length===0?u:u.substring(p),x=MC(y),A=x!==y,C=h&&h>p?h-p:void 0;return{modifiers:f,hasImportantModifier:A,baseClassName:x,maybePostfixModifierPosition:C}};if(a){const u=a+Ju,f=r;r=d=>d.startsWith(u)?f(d.substring(u.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:d,maybePostfixModifierPosition:void 0}}if(o){const u=r;r=f=>o({className:f,parseClassName:u})}return r},MC=i=>i.endsWith(Fu)?i.substring(0,i.length-1):i.startsWith(Fu)?i.substring(1):i,DC=i=>{const a=Object.fromEntries(i.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const u=[];let f=[];return r.forEach(d=>{d[0]==="["||a[d]?(u.push(...f.sort(),d),f=[]):f.push(d)}),u.push(...f.sort()),u}},RC=i=>({cache:wC(i.cacheSize),parseClassName:EC(i),sortModifiers:DC(i),...xC(i)}),jC=/\s+/,NC=(i,a)=>{const{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:u,sortModifiers:f}=a,d=[],m=i.trim().split(jC);let p="";for(let h=m.length-1;h>=0;h-=1){const y=m[h],{isExternal:x,modifiers:A,hasImportantModifier:C,baseClassName:z,maybePostfixModifierPosition:k}=o(y);if(x){p=y+(p.length>0?" "+p:p);continue}let V=!!k,I=r(V?z.substring(0,k):z);if(!I){if(!V){p=y+(p.length>0?" "+p:p);continue}if(I=r(z),!I){p=y+(p.length>0?" "+p:p);continue}V=!1}const Q=f(A).join(":"),B=C?Q+Fu:Q,F=B+I;if(d.includes(F))continue;d.push(F);
vendor: 4,309 bytes, line 117
117const P=u(I,V);for(let Z=0;Z<P.length;++Z){const ne=P[Z];d.push(B+ne)}p=y+(p.length>0?" "+p:p)}return p};function OC(){let i=0,a,o,r="";for(;i<arguments.length;)(a=arguments[i++])&&(o=$v(a))&&(r&&(r+=" "),r+=o);return r}const $v=i=>{if(typeof i=="string")return i;let a,o="";for(let r=0;r<i.length;r++)i[r]&&(a=$v(i[r]))&&(o&&(o+=" "),o+=a);return o};function zC(i,...a){let o,r,u,f=d;function d(p){const h=a.reduce((y,x)=>x(y),i());return o=RC(h),r=o.cache.get,u=o.cache.set,f=m,m(p)}function m(p){const h=r(p);if(h)return h;const y=NC(p,o);return u(p,y),y}return function(){return f(OC.apply(null,arguments))}}const We=i=>{const a=o=>o[i]||[];return a.isThemeGetter=!0,a},eb=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,tb=/^\((?:(\w[\w-]*):)?(.+)\)$/i,kC=/^\d+\/\d+$/,VC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_C=/\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$/,UC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,IC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,BC=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ba=i=>kC.test(i),de=i=>!!i&&!Number.isNaN(Number(i)),ei=i=>!!i&&Number.isInteger(Number(i)),xu=i=>i.endsWith("%")&&de(i.slice(0,-1)),Tn=i=>VC.test(i),LC=()=>!0,GC=i=>_C.test(i)&&!UC.test(i),nb=()=>!1,qC=i=>IC.test(i),HC=i=>BC.test(i),PC=i=>!$(i)&&!ee(i),YC=i=>Oa(i,sb,nb),$=i=>eb.test(i),Mi=i=>Oa(i,ob,GC),Au=i=>Oa(i,FC,de),hy=i=>Oa(i,ib,nb),XC=i=>Oa(i,ab,HC),br=i=>Oa(i,rb,qC),ee=i=>tb.test(i),ks=i=>za(i,ob),QC=i=>za(i,JC),my=i=>za(i,ib),KC=i=>za(i,sb),ZC=i=>za(i,ab),xr=i=>za(i,rb,!0),Oa=(i,a,o)=>{const r=eb.exec(i);return r?r[1]?a(r[1]):o(r[2]):!1},za=(i,a,o=!1)=>{const r=tb.exec(i);return r?r[1]?a(r[1]):o:!1},ib=i=>i==="position"||i==="percentage",ab=i=>i==="image"||i==="url",sb=i=>i==="length"||i==="size"||i==="bg-size",ob=i=>i==="length",FC=i=>i==="number",JC=i=>i==="family-name",rb=i=>i==="shadow",WC=()=>{const i=We("color"),a=We("font"),o=We("text"),r=We("font-weight"),u=We("tracking"),f=We("leading"),d=We("breakpoint"),m=We("container"),p=We("spacing"),h=We("radius"),y=We("shadow"),x=We("inset-shadow"),A=We("text-shadow"),C=We("drop-shadow"),z=We("blur"),k=We("perspective"),V=We("aspect"),I=We("ease"),Q=We("animate"),B=()=>["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"],P=()=>[...F(),ee,$],Z=()=>["auto","hidden","clip","visible","scroll"],ne=()=>["auto","contain","none"],G=()=>[ee,$,p],ce=()=>[ba,"full","auto",...G()],Me=()=>[ei,"none","subgrid",ee,$],ke=()=>["auto",{span:["full",ei,ee,$]},ei,ee,$],je=()=>[ei,"auto",ee,$],pt=()=>["auto","min","max","fr",ee,$],ft=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Ne=()=>["start","end","center","stretch","center-safe","end-safe"],O=()=>["auto",...G()],Y=()=>[ba,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...G()],q=()=>[i,ee,$],ge=()=>[...F(),my,hy,{position:[ee,$]}],T=()=>["no-repeat",{repeat:["","x","y","space","round"]}],H=()=>["auto","cover","contain",KC,YC,{size:[ee,$]}],K=()=>[xu,ks,Mi],X=()=>["","none","full",h,ee,$],J=()=>["",de,ks,Mi],he=()=>["solid","dashed","dotted","double"],re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ve=()=>[de,xu,my,hy],De=()=>["","none",z,ee,$],Tt=()=>["none",de,ee,$],Mn=()=>["none",de,ee,$],Dn=()=>[de,ee,$],Rn=()=>[ba,"full",...G()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Tn],breakpoint:[Tn],color:[LC],container:[Tn],"drop-shadow":[Tn],ease:["in","out","in-out"],font:[PC],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Tn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Tn],shadow:[Tn],spacing:["px",de],text:[Tn],"text-shadow":[Tn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ba,$,ee,V]}
vendor: 14,295 bytes, line 117
117],container:["container"],columns:[{columns:[de,$,ee,m]}],"break-after":[{"break-after":B()}],"break-before":[{"break-before":B()}],"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:P()}],overflow:[{overflow:Z()}],"overflow-x":[{"overflow-x":Z()}],"overflow-y":[{"overflow-y":Z()}],overscroll:[{overscroll:ne()}],"overscroll-x":[{"overscroll-x":ne()}],"overscroll-y":[{"overscroll-y":ne()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ce()}],"inset-x":[{"inset-x":ce()}],"inset-y":[{"inset-y":ce()}],start:[{start:ce()}],end:[{end:ce()}],top:[{top:ce()}],right:[{right:ce()}],bottom:[{bottom:ce()}],left:[{left:ce()}],visibility:["visible","invisible","collapse"],z:[{z:[ei,"auto",ee,$]}],basis:[{basis:[ba,"full","auto",m,...G()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[de,ba,"auto","initial","none",$]}],grow:[{grow:["",de,ee,$]}],shrink:[{shrink:["",de,ee,$]}],order:[{order:[ei,"first","last","none",ee,$]}],"grid-cols":[{"grid-cols":Me()}],"col-start-end":[{col:ke()}],"col-start":[{"col-start":je()}],"col-end":[{"col-end":je()}],"grid-rows":[{"grid-rows":Me()}],"row-start-end":[{row:ke()}],"row-start":[{"row-start":je()}],"row-end":[{"row-end":je()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":pt()}],"auto-rows":[{"auto-rows":pt()}],gap:[{gap:G()}],"gap-x":[{"gap-x":G()}],"gap-y":[{"gap-y":G()}],"justify-content":[{justify:[...ft(),"normal"]}],"justify-items":[{"justify-items":[...Ne(),"normal"]}],"justify-self":[{"justify-self":["auto",...Ne()]}],"align-content":[{content:["normal",...ft()]}],"align-items":[{items:[...Ne(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Ne(),{baseline:["","last"]}]}],"place-content":[{"place-content":ft()}],"place-items":[{"place-items":[...Ne(),"baseline"]}],"place-self":[{"place-self":["auto",...Ne()]}],p:[{p:G()}],px:[{px:G()}],py:[{py:G()}],ps:[{ps:G()}],pe:[{pe:G()}],pt:[{pt:G()}],pr:[{pr:G()}],pb:[{pb:G()}],pl:[{pl:G()}],m:[{m:O()}],mx:[{mx:O()}],my:[{my:O()}],ms:[{ms:O()}],me:[{me:O()}],mt:[{mt:O()}],mr:[{mr:O()}],mb:[{mb:O()}],ml:[{ml:O()}],"space-x":[{"space-x":G()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":G()}],"space-y-reverse":["space-y-reverse"],size:[{size:Y()}],w:[{w:[m,"screen",...Y()]}],"min-w":[{"min-w":[m,"screen","none",...Y()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[d]},...Y()]}],h:[{h:["screen","lh",...Y()]}],"min-h":[{"min-h":["screen","lh","none",...Y()]}],"max-h":[{"max-h":["screen","lh",...Y()]}],"font-size":[{text:["base",o,ks,Mi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,ee,Au]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",xu,$]}],"font-family":[{font:[QC,$,a]}],"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:[u,ee,$]}],"line-clamp":[{"line-clamp":[de,"none",ee,Au]}],leading:[{leading:[f,...G()]}],"list-image":[{"list-image":["none",ee,$]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ee,$]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:q()}],"text-color":[{text:q()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...he(),"wavy"]}],"text-decoration-thickness":[{decoration:[de,"from-font","auto",ee,Mi]}],"text-decoration-color":[{decoration:q()}],"underline-offset":[{"underline-offset":[de,"auto",ee,$]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:G()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ee,$]}],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",ee,$]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ge()}],"bg-repeat":[{bg:T()}],"bg-size":[{bg:H()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ei,ee,$],radial:["",ee,$],conic:[ei,ee,$]},ZC,XC]}],"bg-color":[{bg:q()}],"gradient-from-pos":[{from:K()}],"gradient-via-pos":[{via:K()}],"gradient-to-pos":[{to:K()}],"gradient-from":[{from:q()}],"gradient-via":[{via:q()}],"gradient-to":[{to:q()}],rounded:[{rounded:X()}],"rounded-s":[{"rounded-s":X()}],"rounded-e":[{"rounded-e":X()}],"rounded-t":[{"rounded-t":X()}],"rounded-r":[{"rounded-r":X()}],"rounded-b":[{"rounded-b":X()}],"rounded-l":[{"rounded-l":X()}],"rounded-ss":[{"rounded-ss":X()}],"rounded-se":[{"rounded-se":X()}],"rounded-ee":[{"rounded-ee":X()}],"rounded-es":[{"rounded-es":X()}],"rounded-tl":[{"rounded-tl":X()}],"rounded-tr":[{"rounded-tr":X()}],"rounded-br":[{"rounded-br":X()}],"rounded-bl":[{"rounded-bl":X()}],"border-w":[{border:J()}],"border-w-x":[{"border-x":J()}],"border-w-y":[{"border-y":J()}],"border-w-s":[{"border-s":J()}],"border-w-e":[{"border-e":J()}],"border-w-t":[{"border-t":J()}],"border-w-r":[{"border-r":J()}],"border-w-b":[{"border-b":J()}],"border-w-l":[{"border-l":J()}],"divide-x":[{"divide-x":J()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":J()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...he(),"hidden","none"]}],"divide-style":[{divide:[...he(),"hidden","none"]}],"border-color":[{border:q()}],"border-color-x":[{"border-x":q()}],"border-color-y":[{"border-y":q()}],"border-color-s":[{"border-s":q()}],"border-color-e":[{"border-e":q()}],"border-color-t":[{"border-t":q()}],"border-color-r":[{"border-r":q()}],"border-color-b":[{"border-b":q()}],"border-color-l":[{"border-l":q()}],"divide-color":[{divide:q()}],"outline-style":[{outline:[...he(),"none","hidden"]}],"outline-offset":[{"outline-offset":[de,ee,$]}],"outline-w":[{outline:["",de,ks,Mi]}],"outline-color":[{outline:q()}],shadow:[{shadow:["","none",y,xr,br]}],"shadow-color":[{shadow:q()}],"inset-shadow":[{"inset-shadow":["none",x,xr,br]}],"inset-shadow-color":[{"inset-shadow":q()}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:q()}],"ring-offset-w":[{"ring-offset":[de,Mi]}],"ring-offset-color":[{"ring-offset":q()}],"inset-ring-w":[{"inset-ring":J()}],"inset-ring-color":[{"inset-ring":q()}],"text-shadow":[{"text-shadow":["none",A,xr,br]}],"text-shadow-color":[{"text-shadow":q()}],opacity:[{opacity:[de,ee,$]}],"mix-blend":[{"mix-blend":[...re(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":re()}],"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":[de]}],"mask-image-linear-from-pos":[{"mask-linear-from":ve()}],"mask-image-linear-to-pos":[{"mask-linear-to":ve()}],"mask-image-linear-from-color":[{"mask-linear-from":q()}],"mask-image-linear-to-color":[{"mask-linear-to":q()}],"mask-image-t-from-pos":[{"mask-t-from":ve()}],"mask-image-t-to-pos":[{"mask-t-to":ve()}],"mask-image-t-from-color":[{"mask-t-from":q()}],"mask-image-t-to-color":[{"mask-t-to":q()}],"mask-image-r-from-pos":[{"mask-r-from":ve()}],"mask-image-r-to-pos":[{"mask-r-to":ve()}],"mask-image-r-from-color":[{"mask-r-from":q()}],"mask-image-r-to-color":[{"mask-r-to":q()}],"mask-image-b-from-pos":[{"mask-b-from":ve()}],"mask-image-b-to-pos":[{"mask-b-to":ve()}],"mask-image-b-from-color":[{"mask-b-from":q()}],"mask-image-b-to-color":[{"mask-b-to":q()}],"mask-image-l-from-pos":[{"mask-l-from":ve()}],"mask-image-l-to-pos":[{"mask-l-to":ve()}],"mask-image-l-from-color":[{"mask-l-from":q()}],"mask-image-l-to-color":[{"mask-l-to":q()}],"mask-image-x-from-pos":[{"mask-x-from":ve()}],"mask-image-x-to-pos":[{"mask-x-to":ve()}],"mask-image-x-from-color":[{"mask-x-from":q()}],"mask-image-x-to-color":[{"mask-x-to":q()}],"mask-image-y-from-pos":[{"mask-y-from":ve()}],"mask-image-y-to-pos":[{"mask-y-to":ve()}],"mask-image-y-from-color":[{"mask-y-from":q()}],"mask-image-y-to-color":[{"mask-y-to":q()}],"mask-image-radial":[{"mask-radial":[ee,$]}],"mask-image-radial-from-pos":[{"mask-radial-from":ve()}],"mask-image-radial-to-pos":[{"mask-radial-to":ve()}],"mask-image-radial-from-color":[{"mask-radial-from":q()}],"mask-image-radial-to-color":[{"mask-radial-to":q()}],"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":[de]}],"mask-image-conic-from-pos":[{"mask-conic-from":ve()}],"mask-image-conic-to-pos":[{"mask-conic-to":ve()}],"mask-image-conic-from-color":[{"mask-conic-from":q()}],"mask-image-conic-to-color":[{"mask-conic-to":q()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ge()}],"mask-repeat":[{mask:T()}],"mask-size":[{mask:H()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ee,$]}],filter:[{filter:["","none",ee,$]}],blur:[{blur:De()}],brightness:[{brightness:[de,ee,$]}],contrast:[{contrast:[de,ee,$]}],"drop-shadow":[{"drop-shadow":["","none",C,xr,br]}],"drop-shadow-color":[{"drop-shadow":q()}],grayscale:[{grayscale:["",de,ee,$]}],"hue-rotate":[{"hue-rotate":[de,ee,$]}],invert:[{invert:["",de,ee,$]}],saturate:[{saturate:[de,ee,$]}],sepia:[{sepia:["",de,ee,$]}],"backdrop-filter":[{"backdrop-filter":["","none",ee,$]}],"backdrop-blur":[{"backdrop-blur":De()}],"backdrop-brightness":[{"backdrop-brightness":[de,ee,$]}],"backdrop-contrast":[{"backdrop-contrast":[de,ee,$]}],"backdrop-grayscale":[{"backdrop-grayscale":["",de,ee,$]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[de,ee,$]}],"backdrop-invert":[{"backdrop-invert":["",de,ee,$]}],"backdrop-opacity":[{"backdrop-opacity":[de,ee,$]}],"backdrop-saturate":[{"backdrop-saturate":[de,ee,$]}],"backdrop-sepia":[{"backdrop-sepia":["",de,ee,$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":G()}],"border-spacing-x":[{"border-spacing-x":G()}],"border-spacing-y":[{"border-spacing-y":G()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ee,$]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[de,"initial",ee,$]}],ease:[{ease:["linear","initial",I,ee,$]}],delay:[{delay:[de,ee,$]}],animate:[{animate:["none",Q,ee,$]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[k,ee,$]}],"perspective-origin":[{"perspective-origin":P()}],rotate:[{rotate:Tt()}],"rotate-x":[{"rotate-x":Tt()}],"rotate-y":[{"rotate-y":Tt()}],"rotate-z":[{"rotate-z":Tt()}],scale:[{scale:Mn()}],"scale-x":[{"scale-x":Mn()}],"scale-y":[{"scale-y":Mn()}],"scale-z":[{"scale-z":Mn()}],"scale-3d":["scale-3d"],skew:[{skew:Dn()}],"skew-x":[{"skew-x":Dn()}],"skew-y":[{"skew-y":Dn()}],transform:[{transform:[ee,$,"","none","gpu","cpu"]}],"transform-origin":[{origin:P()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Rn()}],"translate-x":[{"translate-x":Rn()}],"translate-y":[{"translate-y":Rn()}],"translate-z":[{"translate-z":Rn()}],"translate-none":["translate-none"],accent:[{accent:q()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:q()}],"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",ee,$]}],"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":G()}],"scroll-mx":[{"scroll-mx":G()}],"scroll-my":[{"scroll-my":G()}],"scroll-ms":[{"scroll-ms":G()}],"scroll-me":[{"scroll-me":G()}],"scroll-mt":[{"scroll-mt":G()}],"scroll-mr":[{"scroll-mr":G()}],"scroll-mb":[{"scroll-mb":G()}],"scroll-ml":[{"scroll-ml":G()}],"scroll-p":[{"scroll-p":G()}],"scroll-px":[{"scroll-px":G()}],"scroll-py":[{"scroll-py":G()}],"scroll-ps":[{"scroll-ps":G()}],"scroll-pe":[{"scroll-pe":G()}],"scroll-pt":[{"scroll-pt":G()}],"scroll-pr":[{"scroll-pr":G()}],"scroll-pb":[{"scroll-pb":G()}],"scroll-pl":[{"scroll-pl":G()}],"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"]}
vendor: 14,700 bytes, line 117
117],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",ee,$]}],fill:[{fill:["none",...q()]}],"stroke-w":[{stroke:[de,ks,Mi,Au]}],stroke:[{stroke:["none",...q()]}],"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"]}},$C=zC(WC);function rn(...i){return $C(Jv(i))}const e2=bC("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function St({className:i,variant:a,size:o,asChild:r=!1,...u}){const f=r?hC:"button";return v.jsx(f,{"data-slot":"button",className:rn(e2({variant:a,size:o,className:i})),...u})}function on(i,a,{checkForDefaultPrevented:o=!0}={}){return function(u){if(i==null||i(u),o===!1||!u.defaultPrevented)return a==null?void 0:a(u)}}function Lr(i,a=[]){let o=[];function r(f,d){const m=R.createContext(d),p=o.length;o=[...o,d];const h=x=>{var I;const{scope:A,children:C,...z}=x,k=((I=A==null?void 0:A[i])==null?void 0:I[p])||m,V=R.useMemo(()=>z,Object.values(z));return v.jsx(k.Provider,{value:V,children:C})};h.displayName=f+"Provider";function y(x,A){var k;const C=((k=A==null?void 0:A[i])==null?void 0:k[p])||m,z=R.useContext(C);if(z)return z;if(d!==void 0)return d;throw new Error(`\`${x}\` must be used within \`${f}\``)}return[h,y]}const u=()=>{const f=o.map(d=>R.createContext(d));return function(m){const p=(m==null?void 0:m[i])||f;return R.useMemo(()=>({[`__scope${i}`]:{...m,[i]:p}}),[m,p])}};return u.scopeName=i,[r,t2(u,...a)]}function t2(...i){const a=i[0];if(i.length===1)return a;const o=()=>{const r=i.map(u=>({useScope:u(),scopeName:u.scopeName}));return function(f){const d=r.reduce((m,{useScope:p,scopeName:h})=>{const x=p(f)[`__scope${h}`];return{...m,...x}},{});return R.useMemo(()=>({[`__scope${a.scopeName}`]:d}),[d])}};return o.scopeName=a.scopeName,o}function n2(i){const a=i+"CollectionProvider",[o,r]=Lr(a),[u,f]=o(a,{collectionRef:{current:null},itemMap:new Map}),d=k=>{const{scope:V,children:I}=k,Q=ni.useRef(null),B=ni.useRef(new Map).current;return v.jsx(u,{scope:V,itemMap:B,collectionRef:Q,children:I})};d.displayName=a;const m=i+"CollectionSlot",p=Vr(m),h=ni.forwardRef((k,V)=>{const{scope:I,children:Q}=k,B=f(m,I),F=Da(V,B.collectionRef);return v.jsx(p,{ref:F,children:Q})});h.displayName=m;const y=i+"CollectionItemSlot",x="data-radix-collection-item",A=Vr(y),C=ni.forwardRef((k,V)=>{const{scope:I,children:Q,...B}=k,F=ni.useRef(null),P=Da(V,F),Z=f(y,I);return ni.useEffect(()=>(Z.itemMap.set(F,{ref:F,...B}),()=>void Z.itemMap.delete(F))),v.jsx(A,{[x]:"",ref:P,children:Q})});C.displayName=y;function z(k){const V=f(i+"CollectionConsumer",k);return ni.useCallback(()=>{const Q=V.collectionRef.current;if(!Q)return[];const B=Array.from(Q.querySelectorAll(`[${x}]`));return Array.from(V.itemMap.values()).sort((Z,ne)=>B.indexOf(Z.ref.current)-B.indexOf(ne.ref.current))},[V.collectionRef,V.itemMap])}return[{Provider:d,Slot:h,ItemSlot:C},z,r]}var Ks=globalThis!=null&&globalThis.document?R.useLayoutEffect:()=>{},i2=py[" useId ".trim().toString()]||(()=>{}),a2=0;function _d(i){const[a,o]=R.useState(i2());return Ks(()=>{o(r=>r??String(a2++))},[i]),i||(a?`radix-${a}`:"")}gy();var s2=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],En=s2.reduce((i,a)=>{const o=Vr(`Primitive.${a}`),r=R.forwardRef((u,f)=>{const{asChild:d,...m}=u,p=d?o:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),v.jsx(p,{...m,ref:f})});return r.displayName=`Primitive.${a}`,{...i,[a]:r}},{});function o2(i){const a=R.useRef(i);return R.useEffect(()=>{a.current=i}),R.useMemo(()=>(...o)=>{var r;return(r=a.current)==null?void 0:r.call(a,...o)},[])}var r2=py[" useInsertionEffect ".trim().toString()]||Ks;function Ud({prop:i,defaultProp:a,onChange:o=()=>{},caller:r}){const[u,f,d]=l2({defaultProp:a,onChange:o}),m=i!==void 0,p=m?i:u;{const y=R.useRef(i!==void 0);R.useEffect(()=>{const x=y.current;x!==m&&console.warn(`${r} is changing from ${x?"controlled":"uncontrolled"} to ${m?"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.`),y.current=m},[m,r])}const h=R.useCallback(y=>{var x;if(m){const A=c2(y)?y(i):y;A!==i&&((x=d.current)==null||x.call(d,A))}else f(y)},[m,i,f,d]);return[p,h]}function l2({defaultProp:i,onChange:a}){const[o,r]=R.useState(i),u=R.useRef(o),f=R.useRef(a);return r2(()=>{f.current=a},[a]),R.useEffect(()=>{var d;u.current!==o&&((d=f.current)==null||d.call(f,o),u.current=o)},[o,u]),[o,r,f]}function c2(i){return typeof i=="function"}var u2=R.createContext(void 0);function lb(i){const a=R.useContext(u2);return i||a||"ltr"}var Su="rovingFocusGroup.onEntryFocus",d2={bubbles:!1,cancelable:!0},$s="RovingFocusGroup",[Wu,cb,f2]=n2($s),[h2,ub]=Lr($s,[f2]),[m2,p2]=h2($s),db=R.forwardRef((i,a)=>v.jsx(Wu.Provider,{scope:i.__scopeRovingFocusGroup,children:v.jsx(Wu.Slot,{scope:i.__scopeRovingFocusGroup,children:v.jsx(g2,{...i,ref:a})})}));db.displayName=$s;var g2=R.forwardRef((i,a)=>{const{__scopeRovingFocusGroup:o,orientation:r,loop:u=!1,dir:f,currentTabStopId:d,defaultCurrentTabStopId:m,onCurrentTabStopIdChange:p,onEntryFocus:h,preventScrollOnEntryFocus:y=!1,...x}=i,A=R.useRef(null),C=Da(a,A),z=lb(f),[k,V]=Ud({prop:d,defaultProp:m??null,onChange:p,caller:$s}),[I,Q]=R.useState(!1),B=o2(h),F=cb(o),P=R.useRef(!1),[Z,ne]=R.useState(0);return R.useEffect(()=>{const G=A.current;if(G)return G.addEventListener(Su,B),()=>G.removeEventListener(Su,B)},[B]),v.jsx(m2,{scope:o,orientation:r,dir:z,loop:u,currentTabStopId:k,onItemFocus:R.useCallback(G=>V(G),[V]),onItemShiftTab:R.useCallback(()=>Q(!0),[]),onFocusableItemAdd:R.useCallback(()=>ne(G=>G+1),[]),onFocusableItemRemove:R.useCallback(()=>ne(G=>G-1),[]),children:v.jsx(En.div,{tabIndex:I||Z===0?-1:0,"data-orientation":r,...x,ref:C,style:{outline:"none",...i.style},onMouseDown:on(i.onMouseDown,()=>{P.current=!0}),onFocus:on(i.onFocus,G=>{const ce=!P.current;if(G.target===G.currentTarget&&ce&&!I){const Me=new CustomEvent(Su,d2);if(G.currentTarget.dispatchEvent(Me),!Me.defaultPrevented){const ke=F().filter(O=>O.focusable),je=ke.find(O=>O.active),pt=ke.find(O=>O.id===k),Ne=[je,pt,...ke].filter(Boolean).map(O=>O.ref.current);mb(Ne,y)}}P.current=!1}),onBlur:on(i.onBlur,()=>Q(!1))})})}),fb="RovingFocusGroupItem",hb=R.forwardRef((i,a)=>{const{__scopeRovingFocusGroup:o,focusable:r=!0,active:u=!1,tabStopId:f,children:d,...m}=i,p=_d(),h=f||p,y=p2(fb,o),x=y.currentTabStopId===h,A=cb(o),{onFocusableItemAdd:C,onFocusableItemRemove:z,currentTabStopId:k}=y;return R.useEffect(()=>{if(r)return C(),()=>z()},[r,C,z]),v.jsx(Wu.ItemSlot,{scope:o,id:h,focusable:r,active:u,children:v.jsx(En.span,{tabIndex:x?0:-1,"data-orientation":y.orientation,...m,ref:a,onMouseDown:on(i.onMouseDown,V=>{r?y.onItemFocus(h):V.preventDefault()}),onFocus:on(i.onFocus,()=>y.onItemFocus(h)),onKeyDown:on(i.onKeyDown,V=>{if(V.key==="Tab"&&V.shiftKey){y.onItemShiftTab();return}if(V.target!==V.currentTarget)return;const I=b2(V,y.orientation,y.dir);if(I!==void 0){if(V.metaKey||V.ctrlKey||V.altKey||V.shiftKey)return;V.preventDefault();let B=A().filter(F=>F.focusable).map(F=>F.ref.current);if(I==="last")B.reverse();else if(I==="prev"||I==="next"){I==="prev"&&B.reverse();const F=B.indexOf(V.currentTarget);B=y.loop?x2(B,F+1):B.slice(F+1)}setTimeout(()=>mb(B))}}),children:typeof d=="function"?d({isCurrentTabStop:x,hasTabStop:k!=null}):d})})});hb.displayName=fb;var y2={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function v2(i,a){return a!=="rtl"?i:i==="ArrowLeft"?"ArrowRight":i==="ArrowRight"?"ArrowLeft":i}function b2(i,a,o){const r=v2(i.key,o);if(!(a==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(a==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return y2[r]}function mb(i,a=!1){const o=document.activeElement;for(const r of i)if(r===o||(r.focus({preventScroll:a}),document.activeElement!==o))return}function x2(i,a){return i.map((o,r)=>i[(a+r)%i.length])}var A2=db,S2=hb;function T2(i,a){return R.useReducer((o,r)=>a[o][r]??o,i)}var Id=i=>{const{present:a,children:o}=i,r=w2(a),u=typeof o=="function"?o({present:r.isPresent}):R.Children.only(o),f=Da(r.ref,C2(u));return typeof o=="function"||r.isPresent?R.cloneElement(u,{ref:f}):null};Id.displayName="Presence";function w2(i){const[a,o]=R.useState(),r=R.useRef(null),u=R.useRef(i),f=R.useRef("none"),d=i?"mounted":"unmounted",[m,p]=T2(d,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return R.useEffect(()=>{const h=Ar(r.current);f.current=m==="mounted"?h:"none"},[m]),Ks(()=>{const h=r.current,y=u.current;if(y!==i){const A=f.current,C=Ar(h);i?p("MOUNT"):C==="none"||(h==null?void 0:h.display)==="none"?p("UNMOUNT"):p(y&&A!==C?"ANIMATION_OUT":"UNMOUNT"),u.current=i}},[i,p]),Ks(()=>{if(a){let h;const y=a.ownerDocument.defaultView??window,x=C=>{const k=Ar(r.current).includes(C.animationName);if(C.target===a&&k&&(p("ANIMATION_END"),!u.current)){const V=a.style.animationFillMode;a.style.animationFillMode="forwards",h=y.setTimeout(()=>{a.style.animationFillMode==="forwards"&&(a.style.animationFillMode=V)})}},A=C=>{C.target===a&&(f.current=Ar(r.current))};return a.addEventListener("animationstart",A),a.addEventListener("animationcancel",x),a.addEventListener("animationend",x),()=>{y.clearTimeout(h),a.removeEventListener("animationstart",A),a.removeEventListener("animationcancel",x),a.removeEventListener("animationend",x)}}else p("ANIMATION_END")},[a,p]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:R.useCallback(h=>{r.current=h?getComputedStyle(h):null,o(h)},[])}}function Ar(i){return(i==null?void 0:i.animationName)||"none"}function C2(i){var r,u;let a=(r=Object.getOwnPropertyDescriptor(i.props,"ref"))==null?void 0:r.get,o=a&&"isReactWarning"in a&&a.isReactWarning;return o?i.ref:(a=(u=Object.getOwnPropertyDescriptor(i,"ref"))==null?void 0:u.get,o=a&&"isReactWarning"in a&&a.isReactWarning,o?i.props.ref:i.props.ref||i.ref)}var Gr="Tabs",[E2,iE]=Lr(Gr,[ub]),pb=ub(),[M2,Bd]=E2(Gr),gb=R.forwardRef((i,a)=>{const{__scopeTabs:o,value:r,onValueChange:u,defaultValue:f,orientation:d="horizontal",dir:m,activationMode:p="automatic",...h}=i,y=lb(m),[x,A]=Ud({prop:r,onChange:u,defaultProp:f??"",caller:Gr});return v.jsx(M2,{scope:o,baseId:_d(),value:x,onValueChange:A,orientation:d,dir:y,activationMode:p,children:v.jsx(En.div,{dir:y,"data-orientation":d,...h,ref:a})})});gb.displayName=Gr;var yb="TabsList",vb=R.forwardRef((i,a)=>{const{__scopeTabs:o,loop:r=!0,...u}=i,f=Bd(yb,o),d=pb(o);return v.jsx(A2,{asChild:!0,...d,orientation:f.orientation,dir:f.dir,loop:r,children:v.jsx(En.div,{role:"tablist","aria-orientation":f.orientation,...u,ref:a})})});
vendor: 1,530 bytes, line 117
117vb.displayName=yb;var bb="TabsTrigger",xb=R.forwardRef((i,a)=>{const{__scopeTabs:o,value:r,disabled:u=!1,...f}=i,d=Bd(bb,o),m=pb(o),p=Tb(d.baseId,r),h=wb(d.baseId,r),y=r===d.value;return v.jsx(S2,{asChild:!0,...m,focusable:!u,active:y,children:v.jsx(En.button,{type:"button",role:"tab","aria-selected":y,"aria-controls":h,"data-state":y?"active":"inactive","data-disabled":u?"":void 0,disabled:u,id:p,...f,ref:a,onMouseDown:on(i.onMouseDown,x=>{!u&&x.button===0&&x.ctrlKey===!1?d.onValueChange(r):x.preventDefault()}),onKeyDown:on(i.onKeyDown,x=>{[" ","Enter"].includes(x.key)&&d.onValueChange(r)}),onFocus:on(i.onFocus,()=>{const x=d.activationMode!=="manual";!y&&!u&&x&&d.onValueChange(r)})})})});xb.displayName=bb;var Ab="TabsContent",Sb=R.forwardRef((i,a)=>{const{__scopeTabs:o,value:r,forceMount:u,children:f,...d}=i,m=Bd(Ab,o),p=Tb(m.baseId,r),h=wb(m.baseId,r),y=r===m.value,x=R.useRef(y);return R.useEffect(()=>{const A=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(A)},[]),v.jsx(Id,{present:u||y,children:({present:A})=>v.jsx(En.div,{"data-state":y?"active":"inactive","data-orientation":m.orientation,role:"tabpanel","aria-labelledby":p,hidden:!A,id:h,tabIndex:0,...d,ref:a,style:{...i.style,animationDuration:x.current?"0s":void 0},children:A&&f})})});Sb.displayName=Ab;function Tb(i,a){return`${i}-trigger-${a}`}function wb(i,a){return`${i}-content-${a}`}var D2=gb,R2=vb,j2=xb,N2=Sb;function Ld({className:i,...a}){return v.jsx(D2,{"data-slot":"tabs",className:rn("flex flex-col gap-2",i),...a}
117)}function Gd({className:i,...a}){return v.jsx(R2,{"data-slot":"tabs-list",className:rn("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",i),...a})}function zi({className:i,...a}){return v.jsx(j2,{"data-slot":"tabs-trigger",className:rn("data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",i),...a})}function Ca({className:i,...a}){return v.jsx(N2,{"data-slot":"tabs-content",className:rn("flex-1 outline-none",i),...a})}function Pe({className:i,...a}){return v.jsx("div",{"data-slot":"card",className:rn("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",i),...a})}function Ye({className:i,...a}){return v.jsx("div",{"data-slot":"card-header",className:rn("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",i),...a})}function Xe({className:i,...a}){return v.jsx("div",{"data-slot":"card-title",className:rn("leading-none font-semibold",i),...a})}function Zt({className:i,...a}){return v.jsx("div",{"data-slot":"card-description",className:rn("text-muted-foreground text-sm",i),...a})}function Qe({className:i,...a}){return v.jsx("div",{"data-slot":"card-content",className:rn("px-6",i),...a})}const Tu={preProduction:{scriptwriting:["Idea Generation & Plot Development","Script Analysis & Breakdowns","Storyboarding"],filming:["Storyboarding/Pre-visualization","Location Scouting"],threeD:["Concept & Design"],editing:["Planning"],sound:["Sound Design Concepts","Sound Synthesis","Sonic Mood Boards","Audio Reference Libraries","Music Style Analysis"],vfx:["Concept Art & Ideation","VFX Pre-production Planning"]},production:{scriptwriting:["Script Breakdowns for Production Planning","On-Set Script Revisions"],filming:["Camera Operation & Movement","Lighting Control & Optimization","Virtual Production"],threeD:["Asset Creation","Animation Assistance","Texturing"],editing:["On-set Data Management and Logging"],sound:["Real-time Audio Processing","Voice Generation & Modification","Automated Foley Creation","Ambient Sound Generation","Audio Problem Detection"],vfx:["Real-time Adjustments","On-Set Compositing"]},postProduction:{scriptwriting:["Dialogue Enhancement & ADR","Narrative Restructuring"],filming:["Scene Detection"],threeD:["Automated Rigging & Animation","Texture & Material Enhancement"],editing:["Automated Editing & Assembly","Content Enhancement & Restoration","AI-Assisted Color Grading","Transcription & Subtitling","Resizing & Optimization"],sound:["Audio Restoration & Enhancement","Music Composition & Generation","Sound Design & Effects","Voice Synthesis & Cloning","Automated Dialogue Replacement","Spatial Audio Processing","Adaptive Music Systems","Audio Personalization"],vfx:["Automated Rotoscoping & Masking","CG Integration & Compositing","Digital Humans & Characters","Environment Creation & Extension"]}},Sr={scriptwriting:"Scriptwriting",filming:"Filming/Virtual Production",threeD:"3D Creation",editing:"Editing",sound:"Sound",vfx:"Visual Effects (VFX)"},Tr={preProduction:"Pre-Production",production:"Production",postProduction:"Post-Production"},wu={preProduction:"#1a3a5f",production:"#00a19a",postProduction:"#ffbf00"},O2={preProduction:"#e6f0ff",production:"#e6fffd",postProduction:"#fff8e6"},Cu=[{id:"actors",name:"Actors Guilds (e.g., SAG-AFTRA)",concerns:[{id:"job-displacement",title:"Job Displacement",description:"Fear that generative AI, particularly digital doubles and synthesized voices, will reduce the need for human performers, leading to job losses."},{id:"unauthorized-use",title:"Unauthorized Use of Likeness and Voice",description:"Concerns over the creation and use of digital replicas of performers without explicit consent, fair compensation, or control over how these digital assets are used in new performances."},{id:"fair-compensation",title:"Fair Compensation",description:"Demand for adequate payment for the ongoing use of digital assets derived from their performances."}
117,{id:"creative-control",title:"Creative Control",description:"Desire to maintain control over their image and performance, ensuring AI enhances rather than replaces their artistic contribution."},{id:"intellectual-property",title:"Intellectual Property",description:"Concerns about AI models being trained on their performances without permission or proper attribution."}]},{id:"directors",name:"Directors (e.g., DGA)",concerns:[{id:"creative-control-authorship",title:"Creative Control and Authorship",description:"Emphasis on AI as a creative tool that should enhance, not dictate, the artistic process. Concerns about maintaining directorial vision and authorship in AI-assisted productions."},{id:"job-security",title:"Job Security",description:"While viewing AI as a tool, there's an underlying concern that AI should not be used to cut jobs or save money at the expense of human creative roles."},{id:"ethical-implementation",title:"Ethical Implementation",description:"Advocacy for fair and ethical implementation of AI technologies within the industry, safeguarding members from potential risks."}]},{id:"screenwriters",name:"Screenwriters (e.g., WGA)",concerns:[{id:"job-displacement-writers",title:"Job Displacement",description:"Significant fear that AI could write or rewrite literary material, leading to reduced demand for human screenwriters."},{id:"copyright-infringement",title:"Copyright Infringement and Training Data",description:"Strong concerns that AI models are trained on copyrighted scripts and literary material without permission, attribution, or fair compensation."},{id:"originality-authorship",title:"Originality and Authorship",description:"Insistence that AI cannot be credited as a writer and that human writers must retain creative control and authorship."},{id:"fair-credit-compensation",title:"Fair Credit and Compensation",description:"Demand for fair credit and compensation for their work, especially if used to train AI or assist in script development."},{id:"mandated-ai-use",title:"Mandated AI Use",description:"Opposition to companies requiring writers to use AI software, ensuring AI remains an optional tool."}]},{id:"game-designers",name:"Game Designers/Developers",concerns:[{id:"job-displacement-game",title:"Job Displacement",description:"Worry that AI will automate tasks like code generation, art asset creation, and narrative development, leading to job losses."},{id:"quality-ai-content",title:"Quality of AI-Generated Content",description:'Skepticism about the quality and originality of AI-generated assets (often termed "AI slop"), fearing a loss of player trust and creative homogenization.'},{id:"creative-integrity",title:"Creative Integrity",description:"Debate over AI's ability to create truly original art or compelling narratives, and the potential impact on the unique vision of game designers."},{id:"ethical-implications",title:"Ethical Implications",description:"Concerns about the ethical boundaries of AI in game mechanics, artificially induced emotions, data privacy, and the need for robust ethical frameworks."},{id:"intellectual-property-game",title:"Intellectual Property",description:"Similar to other sectors, concerns about AI models being trained on existing game assets and code without proper rights or compensation."}]},{id:"producers",name:"Producers/Studios",concerns:[{id:"legal-liabilities",title:"Legal Liabilities and Copyright Infringement",description:"Risk of lawsuits due to AI training on copyrighted material, and concerns about the legal status of AI-generated content as derivative works."},{id:"ethical-reputation",title:"Ethical Reputation",description:"The need to maintain public trust and avoid negative publicity from unethical AI use, such as misleading content or improper talent compensation."},{id:"cost-benefit",title:"Cost-Benefit Analysis",description:"Balancing the potential for efficiency and cost reduction through AI against the risks of legal challenges, reputational damage, and investment in new technologies."},{id:"talent-relations",title:"Talent Relations and Union Agreements",description:"Navigating complex negotiations with guilds and unions regarding AI use, consent for digital replicas, and fair c
117ompensation to avoid strikes and production delays."},{id:"data-security",title:"Data Security and Confidentiality",description:"Protecting sensitive production data (scripts, unreleased assets, personal information) from unauthorized access or use by AI tools."},{id:"accountability",title:"Accountability",description:"Determining responsibility for errors, biases, or infringing content generated by AI systems."}]}],wr=[{id:"cinematographers",title:"Cinematographers/Directors of Photography",concerns:[{title:"Creative Control and Authorship",description:"Concerns about maintaining visual authorship and directorial vision in AI-assisted productions."},{title:"Technical Expertise Devaluation",description:"Fear that AI camera systems might devalue specialized technical knowledge and skills."},{title:"Job Security",description:"Concerns about AI automating aspects of camera operation, lighting design, and shot composition."},{title:"Quality and Artistic Merit",description:"Skepticism about AI's ability to replicate the nuanced artistic decisions that define cinematography."}],source:"American Society of Cinematographers AI Summit, 2025",sourceUrl:"https://theasc.com/news/sign-up-for-the-ascs-ai-summit"},{id:"vfx",title:"Visual Effects (VFX) Artists",concerns:[{title:"Job Displacement",description:"75% of entertainment industry leaders surveyed indicated that GenAI tools had supported the elimination, reduction, or consolidation of jobs."},{title:"Creative Devaluation",description:"Concerns that AI might reduce the craft to something automated and uninspired."},{title:"Quality Control",description:'Worries about inconsistent quality and the "random nature" of AI-generated content.'},{title:"Intellectual Property",description:"Questions about ownership and rights when AI is trained on artists' work."},{title:"Industry Sustainability",description:"The VFX industry was already struggling with profits and sustainability before the AI boom."}],source:"The Conversation: AI is creeping into the visual effects industry, 2024",sourceUrl:"https://theconversation.com/ai-is-creeping-into-the-visual-effects-industry-and-it-could-take-the-human-touch-out-of-film-and-tv-240112"},{id:"animators",title:"Animators",concerns:[{title:"Job Security",description:"About 21.4% of Film, Television, and Animation jobs (approximately 118,500 jobs) are likely to be consolidated, replaced, or eliminated by GenAI in the U.S. by 2026."},{title:"Entry-Level Impact",description:"Entry-level workers are identified as being at the highest risk from AI automation."},{title:"Creative Control",description:"Concerns about loss of creative control in the animation process."},{title:"Data Scraping",description:"Issues with AI systems being trained on animators' work without permission."},{title:"Regional Impact",description:"California (39,500 jobs) and New York (15,100 jobs) animation industries will be most affected."}],source:"The Animation Guild: AI and Animation, 2025",sourceUrl:"https://animationguild.org/ai-and-animation/"},{id:"sound",title:"Sound Designers and Composers",concerns:[{title:"Creative Authenticity",description:"Concerns that AI tools might lead to generic, low-quality results that lack the human touch."},{title:"Job Security",description:"According to industry surveys, more than 50% of participants anticipated that AI would displace sound designers in the next three years."},{title:"Training Data Ethics",description:"Questions about AI models being trained on copyrighted music and sound effects."},{title:"Artistic Value",description:"The importance of human perspective and storytelling ability in sound design that AI cannot replicate."}],source:"Krotos Studio: Is AI replacing sound designers and composers?, 2025",sourceUrl:"https://krotos.studio/blog/is-ai-replacing-sound-designers-and-composers"},{id:"independent",title:"Independent Creators and Small Studios",concerns:[{title:"Access to Technology",description:"Concerns about equitable access to AI tools that may be expensive or require technical expertise."},{title:"Competitive Disadvantage",description:"Fear that larger studios with more resources can better leverage AI technology."},{title:"Market Oversaturation",description:"Concerns that AI will lower the barrier to entry, leading to market oversaturation."},{title:"Quality Perception",description:"Worries that AI-generated content might devalue the perception of independent work."}],source:"Raindance: Artificial Intelligence and Filmmaking, 2024",sourceUrl:"https://raindance.org/artificial-intelligence-and-filmmaking-threats-and-features/"},{id:"audience",title:"Audience/Consumers",concerns:[{title:"Content Authenticity",description:"Questions about the authenticity and originality of AI-generated content."}
117,{title:"Transparency",description:"Desire for clear disclosure when AI is used in content creation."},{title:"Quality Expectations",description:"Concerns about whether AI-generated content will meet quality expectations."},{title:"Ethical Consumption",description:"Interest in ethically produced content that respects creators' rights."}],source:"University of Washington: How AI is changing the film industry, 2025",sourceUrl:"https://www.washington.edu/news/2025/02/25/ai-film-oscars-strike/"},{id:"educators",title:"Educators and Training Institutions",concerns:[{title:"Curriculum Relevance",description:"Challenges in keeping educational programs relevant as AI rapidly changes industry practices."},{title:"Skill Development",description:"Questions about which skills to prioritize when some technical tasks may be automated."},{title:"Ethical Training",description:"Need to incorporate AI ethics into creative education."},{title:"Industry Preparation",description:"Ensuring graduates are prepared for an industry increasingly shaped by AI."}],source:"Georgia State University: How Artificial Intelligence Can Be a Tool in Filmmaking, 2025",sourceUrl:"https://news.gsu.edu/2025/03/31/how-artificial-intelligence-can-be-a-tool-in-filmmaking/"},{id:"accessibility",title:"Accessibility Advocates",concerns:[{title:"Inclusive Design",description:"Ensuring AI tools in production consider accessibility needs."},{title:"Assistive Technology",description:"Opportunities for AI to enhance accessibility features like captioning and audio description."},{title:"Ethical Implementation",description:"Ensuring AI doesn't perpetuate biases against people with disabilities."}],source:"AI and Accessibility in Media Production, 2024",sourceUrl:""},{id:"heritage",title:"Cultural Heritage Institutions",concerns:[{title:"Preservation Ethics",description:"Questions about using AI for restoration and preservation of audiovisual heritage."},{title:"Authenticity",description:"Concerns about maintaining authenticity when using AI for restoration."},{title:"Contextual Understanding",description:"Ensuring AI applications respect cultural and historical context."}],source:"AI in Cultural Heritage Preservation, 2024",sourceUrl:""},{id:"unions",title:"Labor Unions (Beyond Major Guilds)",concerns:[{title:"Collective Bargaining",description:"Ensuring AI considerations are included in collective bargaining agreements."},{title:"Worker Protection",description:"Developing protections for workers whose roles may be affected by AI."},{title:"Retraining Programs",description:"Advocating for retraining programs for workers displaced by AI."}],source:"IATSE VFX Union, 2025",sourceUrl:"https://vfxunion.org/"},{id:"copyright",title:"Copyright Holders and Rights Management Organizations",concerns:[{title:"Training Data Rights",description:"Questions about the use of copyrighted materials to train AI models."},{title:"Derivative Works",description:"Defining what constitutes a derivative work when AI is involved."},{title:"Licensing Models",description:"Developing appropriate licensing models for AI training and output."}],source:"Hollywood Reporter: AI and Copyright Concerns, 2024",sourceUrl:"https://www.hollywoodreporter.com/business/business-news/ai-hollywood-workers-job-cuts-1235811009/"},{id:"providers",title:"AI Technology Providers",concerns:[{title:"Ethical Development",description:"Balancing innovation with ethical considerations."},{title:"Industry Integration",description:"Ensuring tools integrate well with existing production workflows."},{title:"Transparency",description:"Providing transparency about how their AI systems work."}],source:"AI in Entertainment & Media, 2024",sourceUrl:"https://www.talentdesk.io/blog/ai-impact-on-the-entertainment-industry"},{id:"ethics",title:"Ethics Committees and Consultants",concerns:[{title:"Framework Development",description:"Creating practical ethical frameworks for AI use in production."},{title:"Implementation Guidance",description:"Providing guidance on implementing ethical AI practices."},{title:"Impact Assessment",description:"Developing methods to assess the impact of AI on various stakeholders."}],source:"AI Ethics in Creative Industries, 2025",sourceUrl:""}],Eu={title:"EU AI Act: Relevance to the Audiovisual Sector",description:"The EU AI Act, while not sector-specific, significantly impacts the audiovisual industry by setting a precedent for AI governance.",keyAreas:[{title:"Data Protection and Copyright Issues",description:"AI systems often rely on vast amounts of personal data and copyrighted content for training. The GDPR and the AI Act aim to safeguard personal information, while copyright laws address the complex questions arising from AI's use of copyrighted works and the creation of derivative content."}
117,{title:"Authorship, Liability, and Transparency",description:"As AI-generated content becomes more prevalent, questions arise regarding who is responsible for AI-generated works, potential infringement on existing works, and the need for transparency in AI usage."},{title:"Personality Rights",description:"AI's ability to replicate voices and create digital doubles poses challenges for actors in protecting their image and voice rights. The EU AI Act and the Council of Europe's Framework Convention on AI are relevant in this context."},{title:"Impact on the Labour Market",description:"AI is reshaping the workforce in the AV industries, leading to concerns about job displacement and the need for new labor policies and agreements."},{title:"Disinformation",description:"AI's capacity to generate fake content (deepfakes, audio files) raises critical issues regarding disinformation and the need to safeguard media integrity."},{title:"Cultural Diversity and Media Pluralism",description:"AI's personalization of content can inadvertently reinforce biases, limiting exposure to diverse perspectives. Regulatory frameworks are needed to mitigate these effects."}]},ti=[{company:"Netflix",title:"Generative AI Guidelines",description:"Netflix has issued comprehensive guidelines for using generative AI in content production, viewing these tools as valuable creative aids when used transparently and responsibly.",principles:[{title:"No Replication of Copyrighted Material",description:"Outputs must not replicate or substantially recreate identifiable characteristics of unowned or copyrighted material, or infringe any copyright-protected works."},{title:"No Training on Production Data",description:"Generative tools used must not store, reuse, or train on production data inputs or outputs."},{title:"Enterprise-Secured Environment",description:"Where possible, generative tools should be used in an enterprise-secured environment to safeguard inputs."},{title:"Temporary Generated Material",description:"Generated material should be temporary and not part of the final deliverables."},{title:"Consent for Talent/Union Work",description:"GenAI is not to be used to replace or generate new talent performances or union-covered work without consent."}],approvalRequired:["Inputting Netflix-owned materials or personal data without explicit approval","Training models with third-party or unowned talent assets without legal clearance","Generating main characters, key visual elements, or fictional settings central to the story","Using inputs that reference copyrighted materials or likenesses of public figures without permissions","Creating digital performers, voices, or likenesses of real talent without explicit consent","Significant digital alterations to performances","Creating misleading content","Using GenAI in a way that impacts union roles without proper agreements"]},{company:"TV2 Denmark",title:"Generative AI Guidelines (News and Documentary)",description:"TV2 Denmark, in collaboration with its regional counterparts, has developed guidelines for the use of generative AI in news and documentary production, prioritizing independent and credible journalism.",principles:[{title:"Transparency",description:"All AI-generated content or elements must be clearly marked."},{title:"Responsibility",description:"Human employees and editors remain fully responsible for all produced and published content, ensuring journalistic ethics are upheld."},{title:"Legislation",description:"Compliance with applicable laws and regulations, particularly regarding personal data processing in closed, secure systems."},{title:"Copyright",description:"Protection of TV2's content from misuse and plagiarism, and respect for others' copyrights, prohibiting training AI models on unauthorized material."}],prohibitions:["Not permitted to use generative AI to voice segments; this must always be done by a human editorial employee."]}],Cr=[{id:"disney-universal-midjourney",title:"Disney & Universal vs. Midjourney (2025)",category:"Legal Precedent",description:"A landmark lawsuit where Disney and Universal sued Midjourney for allegedly using millions of copyrighted images to train its AI model without permission. The studios claim this resulted in 'endless unauthorized copies' of their content.",details:"Filed in June 2025 in the U.S. District Court for the Central District of California, this case represents the first time major Hollywood studios have taken legal action against an AI firm for alleged intellectual property violations. The studios are seeking damages and Midjourney's profits, or alternatively, statutory damages of up to US$150,000 per infringed work. The case centers on whether AI companies can use copyrighted material for training under the 'fair use' doctrine.",impact:"This case could set a precedent for how courts address generative AI's use of copyright content in the entertainment industry. If Disney and Universal win, it could lead to increased costs for AI tools as they seek out paid licensing deals. If Midjourney wins, it may lead to more AI tools with similar training practices entering the market.",status:"Ongoing",source:"Aird & Berlis LLP",sourceUrl:"https://www.airdberlis.com/insights/blogs/thespotlight/post/ts-item/hollywood-vs.-ai--disney-and-universal-launch-landmark-copyright-suit"},{id:"authors-anthropic",title:"Authors vs. Anthropic (2024-2025)",category:"Legal Precedent",description:"A class action lawsuit where authors Andrea Bartz, Charles Graeber, and Kirk Wallace Johnson sued Anthropic AI for using copyrighted books to train their AI model Claude without permission.",details:"In June 2025, U.S. District Judge William Alsup ruled that Anthropic's use of legally obtained books to train their AI model was 'fair use' and 'exceedingly transformative.' However, the judge also found that Anthropic had downloaded millions of copyrighted books from pirate sites, allowing the piracy complaint to proceed to trial. The case represents the first substantive decision on how fair use applies to generative AI systems.",impact:"This ruling suggests AI companies may have the legal r
117ight to train their models on copyrighted works they legally obtain. However, the ongoing piracy aspect of the case could still result in significant damages for copyright holders, with potential statutory damages of up to $150,000 per infringed work.",status:"Partially resolved; piracy aspect proceeding to trial in December 2025",source:"NPR",sourceUrl:"https://www.npr.org/2025/06/25/nx-s1-5445242/federal-rules-in-ai-companys-favor-in-landmark-copyright-infringement-lawsuit-authors-bartz-graeber-wallace-johnson-anthropic"},{id:"getty-stability",title:"Getty Images vs. Stability AI (2023-2025)",category:"Legal Precedent",description:"Getty Images sued Stability AI (makers of Stable Diffusion) in both UK and US courts, claiming the company scraped over 12 million copyrighted images from Getty's database to train their AI model without permission or compensation.",details:"This case focuses on whether AI companies need permission to use copyrighted images for training purposes. Getty Images argues that Stability AI's use of their images constitutes copyright infringement, while Stability AI likely argues their use falls under fair use or similar doctrines.",impact:"A Getty victory could accelerate changes to copyright law in various jurisdictions, potentially requiring AI companies to obtain licenses for training data. The outcome could significantly affect how AI image generators are trained and operated.",status:"Ongoing",source:"AIMICI",sourceUrl:"https://aimici.co.uk/ai-legal-shake-up-what-recent-court-cases-mean-for-your-next-production/"},{id:"authors-guild-openai",title:"Authors Guild vs. OpenAI (2023-2025)",category:"Legal Precedent",description:"The Authors Guild, representing thousands of writers, alleges that OpenAI used copyrighted books without permission to train ChatGPT and other language models, claiming systematic copyright infringement on an unprecedented scale.",details:"This case examines whether AI companies can use copyrighted literary works for training purposes without permission or compensation. The Authors Guild argues that OpenAI's use of books to train their models constitutes copyright infringement and threatens authors' livelihoods.",impact:"The outcome will significantly affect AI writing tools used in script development and other creative writing applications. It may determine whether AI companies need to obtain licenses for literary works used in training.",status:"Ongoing",source:"AIMICI",sourceUrl:"https://aimici.co.uk/ai-legal-shake-up-what-recent-court-cases-mean-for-your-next-production/"},{id:"thaler-perlmutter",title:"Thaler v. Perlmutter (2023)",category:"Legal Precedent",description:"A case where computer scientist Dr. Thaler created an AI system called 'Creativity Machine' that generated visual art. After the Copyright Office denied his application to register the work, he filed suit.",details:"The court upheld the Copyright Office's decision, stating that 'human creativity is the sine qua non at the core of copyrightability.' This case reinforced the principle that AI-generated works are not protectable by copyright because they lack human authorship.",impact:"This ruling establishes that works generated solely by AI cannot receive copyright protection in the United States. However, human creative arrangement and selection of AI-generated elements may still be protected.",status:"Resolved",source:"Filmmaker Magazine",sourceUrl:"https://filmmakermagazine.com/127770-ai-copyright/"},{id:"zarya-dawn",title:"Zarya and the Dawn Copyright Case (2022)",category:"Legal Precedent",description:"The U.S. Copyright Office initially approved a copyright application for a comic book with AI-generated images but later reopened the case after learning the images were created by Midjourney.",details:"The Copyright Office refused to grant protection to the AI-generated images themselves, holding that the creator's input of text prompts was insufficient to establish human authorship. However, they did grant copyright protection to the original text and the creative selection, coordination, and arrangement of text alongside the AI-generated images.",impact:"This case clarifies that while AI-generated elements themselves cannot be copyrighted, the human creative decisions in arranging and incorporating those elements can receive protection.",status:"Resolved",source:"Filmmaker Magazine",sourceUrl:"https://filmmakermagazine.com/127770-ai-copyright/"},{id:"sag-aftra-strike",title:"SAG-AFTRA and WGA Strike Agreements (2023)",category:"Industry Policy",description:"SAG-AFTRA and the Writers Guild of America secured unprecedented protections around AI use in their contracts, including consent requirements for digital replicas, disclosure obligations, and compensation frameworks.",details:"These agreements established important industry standards for how AI can be used in film and television production, particularly regarding actor performances and writer contributions. Key provisions include requiring consent for digital replicas, ensuring proper compensation for AI-enhanced performances, and establishing disclosure requirements for AI use.",impact:"The
117se standards are becoming industry expectations across all productions, not just union work, creating new frameworks for consent and disclosure that extend beyond traditional union boundaries.",status:"Implemented",source:"AIMICI",sourceUrl:"https://aimici.co.uk/ai-legal-shake-up-what-recent-court-cases-mean-for-your-next-production/"},{id:"eu-ai-act",title:"EU AI Act (2024)",category:"Government Regulation",description:"The first comprehensive legal framework for artificial intelligence in the world, establishing rules based on potential risks and impacts.",details:"The EU AI Act categorizes AI systems according to risk levels (unacceptable, high, limited, minimal) and imposes different obligations accordingly. For the audiovisual sector, it addresses issues like deepfakes (requiring disclosure), copyright protection, and transparency requirements.",impact:"While primarily affecting EU operations, the global nature of the film and media industry means these regulations will influence production practices worldwide. Companies will need to ensure compliance when distributing content in EU markets.",status:"Enacted",source:"European Commission",sourceUrl:"https://digital-strategy.ec.europa.eu/en/policies/regulatory-framework-ai"},{id:"right-publicity-laws",title:"Digital Replica Laws (2023-2025)",category:"Government Regulation",description:"Several states have amended their right of publicity laws to address AI-generated digital replicas of individuals, particularly performers.",details:"New York, Louisiana, Tennessee, and California have enacted legislation specifically addressing digital replicas created by AI. These laws generally prohibit or restrict the commercial use of digital replicas without consent, with specific protections for performers. However, all include carve-outs for expressive works to ensure First Amendment protections.",impact:"These laws provide important protections for performers while still allowing creative expression. They establish a framework for how digital replicas can be used in film and other media.",status:"Enacted in several states, more expected to follow",source:"Filmmaker Magazine",sourceUrl:"https://filmmakermagazine.com/127770-ai-copyright/"},{id:"copyright-office-guidance",title:"U.S. Copyright Office AI Guidance (2023)",category:"Government Regulation",description:"The U.S. Copyright Office has issued guidance on how it handles copyright registration for works containing AI-generated material.",details:"According to the guidance, filmmakers registering works that contain AI-generated material must disclose the inclusion of such material within the copyright application. The Office will then exclude the AI-generated material from the registration in the same way that pre-existing materials are excluded from new works.",impact:"This guidance clarifies that while AI-generated elements themselves cannot be copyrighted, the overall film can still maintain copyright protection for human-created elements and the creative arrangement of all elements.",status:"Active",source:"U.S. Copyright Office",sourceUrl:"https://www.copyright.gov/ai/"}],Mu=[{id:"transparency",title:"Transparency and Disclosure",description:"Be open about AI use throughout the production process.",details:"Transparency is the foundation of ethical AI use in audiovisual production. All stakeholders—from cast and crew to audiences—should be informed about how and where AI is being used. This builds trust and allows for informed consent.",recommendations:[{title:"Document AI Use",description:"Maintain detailed documentation of all AI tools used in production, including their specific applications, the data they were trained on, and any limitations or biases identified."},{title:"Clear Disclosure in Credits",description:"Include specific information about AI use in production credits, clearly distinguishing between human and AI contributions."},{title:"Audience Notification",description:"When appropriate, notify audiences about significant AI elements, particularly for digital humans, deepfakes, or synthetic performances."},{title:"Internal Communication",description:"Ensure all team members are aware of which aspects of production involve AI assistance or generation."}],examples:["Netflix's requirement to disclose AI use in content production documentation","TV2 Denmark's transparency guidelines for AI in news and documentary production","The 'AI disclosure' sections now a
117ppearing in end credits of major productions"]},{id:"consent",title:"Informed Consent",description:"Obtain proper consent from all affected parties before using AI that replicates or modifies their likeness or work.",details:"Consent is particularly crucial when AI is used to replicate, modify, or extend someone's performance, likeness, or creative work. This applies to actors, writers, musicians, and other creative contributors.",recommendations:[{title:"Explicit Permission",description:"Obtain written consent before using AI to replicate or modify someone's likeness, voice, or performance."},{title:"Detailed Usage Scope",description:"Clearly define how and where AI-generated or AI-modified content will be used, including any potential future applications."},{title:"Right to Review",description:"Provide stakeholders the opportunity to review and approve AI-generated content that replicates or builds upon their work."},{title:"Opt-Out Options",description:"Establish clear processes for stakeholders to withdraw consent for specific AI applications of their work or likeness."}],examples:["SAG-AFTRA's AI provisions requiring explicit consent for digital replicas","WGA's requirements for writer involvement in AI-assisted script development","Music licensing platforms that specifically address AI training and generation rights"]},{id:"fair-compensation",title:"Fair Compensation",description:"Ensure appropriate compensation for all parties when AI uses or builds upon their work.",details:"Fair compensation acknowledges the value of human creativity, even when it's augmented or extended by AI. This includes compensation for training data, performance replication, and creative contributions.",recommendations:[{title:"Licensing for Training",description:"Pay appropriate licensing fees when using copyrighted works to train AI models specific to your production."},{title:"Performance Extension Payments",description:"Compensate performers when AI extends their performance beyond what was originally captured or contracted."},{title:"Residuals for AI Reuse",description:"Establish residual payment structures for ongoing use of AI-generated content based on human performances or creative work."},{title:"Value-Based Compensation",description:"Base compensation on the value created, not just the time saved by using AI tools."}],examples:["The 2023 SAG-AFTRA agreement establishing compensation frameworks for digital replicas","Music licensing models that include AI training and generation rights","Getty Images' licensing structure for AI training on their image database"]},{id:"attribution",title:"Proper Attribution",description:"Accurately credit both human and AI contributions to creative work.",details:"Attribution acknowledges the sources of creative work and clarifies the roles of both human and AI contributors. This maintains integrity in creative industries and helps audiences understand how content was created.",recommendations:[{title:"Distinguish Contributions",description:"Clearly differentiate between human and AI contributions in credits and documentation."},{title:"Credit Human Oversight",description:"Acknowledge the humans who directed, edited, or curated AI-generated content."},{title:"Recognize Training Sources",description:"When appropriate, acknowledge the sources used to train AI systems that contributed significantly to the production."},{title:"Avoid Misattribution",description:"Never attribute AI-generated work solely to humans, or human work solely to AI systems."}],examples:["Emerging standards for AI credits in film and television productions","Academic publishing guidelines for AI contribution disclosure","Art exhibition practices that detail AI involvement in creative works"]},{id:"quality-control",title:"Quality Control and Human Oversight",description:"Maintain human oversight and final approval for all AI-generated content.",details:"Human oversight ensures that AI serves as a tool for human creativity rather than a replacement for it. This maintains quality standards and artistic integrity while leveraging AI's capabilities.",recommendations:[{title:"Review Processes",description:"Establish clear review processes for all AI-generated content before final approval."},{title:"Human in the Loop",description:"Maintain human oversight at critical decision points in the creative process, even when using automated AI tools."},{title:"Quality Benchmarks",description:"Define quality standards for AI outputs that match or exceed traditional production methods."},{title:"Error Correction Protocols",description:"Develop protocols for identifying and addressing errors, biases, or quality issues in AI-generated content."}],examples:["Netflix's requirement for human review of all AI-generated content","Editorial oversight practices for AI-assisted journalism","Quality control systems in VFX pipelines that use AI tools"]},{id:"bias-representation",title:"Bias Awareness and Representation",description:"Actively identify and mitigate biases in AI systems to ensure fair and diverse representation.",details:"AI systems can perpetuate or amplify existing biases in their training data. Ethical implementation requires awareness of these biases and active measures to ensure fair and diverse representation.",recommendations:[{title:"Bias Auditing",description:"Regularly audit AI tools for biases in representation, language, or visual elements."},{title:"Diverse Training Data",description:"When possible, use or request AI systems trained on diverse and representative data sets."},{title:"Representation Checks",description:"Review AI-generated content specifically for issues of representation across gender, race, ability, age, and other dimensions."},{title:"Corrective Measures",description:"Implement processes to correct identified biases in AI outputs before final production."}],examples:["Casting AI tools that specifically address representation biases","Character design guidelines that check for stereotyping in AI-generated concepts","Script analysis tools that identify and flag potential bias issues"]},{id:"data-privacy",title:"Data Privacy and Security",description:"Protect sensitive production data and personal information when using AI tools.",details:"Many AI tools require uploading content to cloud services or sharing data with third parties. Ethical implementation requires careful attention to data privacy, security, and ownership.",recommendations:[{title:"Data Handling Policies",description:"Establish clear policies for what production data can be shared with AI services and under what conditions."},{title:"Privacy Assessments",description:"Conduct privacy impact assessments before implementing AI tools that process sensitive content or personal data."}
117,{title:"Secure Infrastructure",description:"Use secure, encrypted channels when sharing production data with AI services."},{title:"Data Retention Limits",description:"Establish agreements with AI providers regarding data retention and use limitations."}],examples:["Major studios' requirements for AI vendors regarding data security","On-premises AI solutions that keep sensitive content within production networks","Data processing agreements that limit how service providers can use production content"]},{id:"sustainability",title:"Environmental Sustainability",description:"Consider the environmental impact of AI use in production.",details:"Training and running large AI models can have significant environmental impacts due to energy consumption. Ethical implementation includes awareness of these impacts and efforts to minimize them.",recommendations:[{title:"Efficiency Assessment",description:"Evaluate the computational efficiency and energy requirements of AI tools before implementation."},{title:"Green Computing",description:"When possible, use AI services that utilize renewable energy or carbon offset programs."},{title:"Appropriate Scale",description:"Match the scale and complexity of AI tools to the actual needs of the production rather than defaulting to the most powerful options."},{title:"Carbon Accounting",description:"Include AI-related energy consumption in production carbon footprint calculations."}],examples:["Studios including AI energy use in their carbon footprint reporting","Production companies selecting AI vendors based partly on environmental policies","Industry initiatives to develop more energy-efficient AI models for creative applications"]},{id:"workforce-transition",title:"Workforce Transition and Skill Development",description:"Support workforce adaptation to changing roles as AI becomes more prevalent.",details:"AI will change many roles in audiovisual production, eliminating some tasks while creating new opportunities. Ethical implementation includes supporting workforce transition through training, role evolution, and inclusive practices.",recommendations:[{title:"Skills Training",description:"Provide training opportunities for team members to develop AI-related skills relevant to their evolving roles."},{title:"Gradual Integration",description:"Implement AI tools gradually, allowing time for workforce adaptation rather than sudden displacement."},{title:"New Role Development",description:"Create new positions that leverage human creativity and judgment in conjunction with AI capabilities."},{title:"Inclusive Planning",description:"Include representatives from affected departments in AI implementation planning."}],examples:["VFX companies offering AI tool training to traditional artists","Studios creating new roles like 'AI ethics officer' or 'AI integration specialist'","Industry associations developing certification programs for AI-related skills"]},{id:"legal-compliance",title:"Legal Compliance and Risk Management",description:"Ensure compliance with evolving laws and regulations regarding AI use.",details:"The legal landscape for AI in creative industries is rapidly evolving. Ethical implementation requires staying informed about relevant laws and regulations and managing legal risks proactively.",recommendations:[{title:"Regulatory Monitoring",description:"Maintain awareness of evolving regulations related to AI in relevant jurisdictions."},{title:"Rights Clearance",description:"Ensure proper rights clearance for all content used to train or generate AI outputs."},{title:"Contractual Clarity",description:"Include specific language about AI use, rights, and limitations in all relevant contracts."},{title:"Insurance Coverage",description:"Verify that insurance policies cover risks associated with AI use in production."}],examples:["Production legal departments developing AI-specific contract clauses","Industry associations offering guidance on compliance with AI regulations","Insurance products specifically addressing AI-related risks in production"]},{id:"ethical-governance",title:"Ethical Governance",description:"Establish clear governance structures for AI-related decisions in production.",details:"Ethical implementation requires clear decision-making processes and accountability for AI use. This includes defining who has authority to approve AI applications and establishing processes for addressing ethical concerns.",recommendations:[{title:"Ethics Committees",description:"Form cross-functional committees to review significant or novel AI applications in production."},{title:"Decision Frameworks",description:"Develop frameworks for evaluating the ethical impl
117ications of AI use in different production contexts."},{title:"Escalation Paths",description:"Create clear paths for team members to raise concerns about AI applications."},{title:"Regular Reviews",description:"Conduct periodic reviews of AI use and impacts across productions to identify emerging issues."}],examples:["Major studios establishing AI ethics boards with diverse representation","Production companies adopting AI use policies with clear approval processes","Industry-wide efforts to develop shared ethical standards for AI in entertainment"]}];var qr="Collapsible",[z2,aE]=Lr(qr),[k2,qd]=z2(qr),Cb=R.forwardRef((i,a)=>{const{__scopeCollapsible:o,open:r,defaultOpen:u,disabled:f,onOpenChange:d,...m}=i,[p,h]=Ud({prop:r,defaultProp:u??!1,onChange:d,caller:qr});return v.jsx(k2,{scope:o,disabled:f,contentId:_d(),open:p,onOpenToggle:R.useCallback(()=>h(y=>!y),[h]),children:v.jsx(En.div,{"data-state":Pd(p),"data-disabled":f?"":void 0,...m,ref:a})})});Cb.displayName=qr;var Eb="CollapsibleTrigger",Mb=R.forwardRef((i,a)=>{const{__scopeCollapsible:o,...r}=i,u=qd(Eb,o);return v.jsx(En.button,{type:"button","aria-controls":u.contentId,"aria-expanded":u.open||!1,"data-state":Pd(u.open),"data-disabled":u.disabled?"":void 0,disabled:u.disabled,...r,ref:a,onClick:on(i.onClick,u.onOpenToggle)})});Mb.displayName=Eb;var Hd="CollapsibleContent",Db=R.forwardRef((i,a)=>{const{forceMount:o,...r}=i,u=qd(Hd,i.__scopeCollapsible);return v.jsx(Id,{present:o||u.open,children:({present:f})=>v.jsx(V2,{...r,ref:a,present:f})})});Db.displayName=Hd;var V2=R.forwardRef((i,a)=>{const{__scopeCollapsible:o,present:r,children:u,...f}=i,d=qd(Hd,o),[m,p]=R.useState(r),h=R.useRef(null),y=Da(a,h),x=R.useRef(0),A=x.current,C=R.useRef(0),z=C.current,k=d.open||m,V=R.useRef(k),I=R.useRef(void 0);return R.useEffect(()=>{const Q=requestAnimationFrame(()=>V.current=!1);return()=>cancelAnimationFrame(Q)},[]),Ks(()=>{const Q=h.current;if(Q){I.current=I.current||{transitionDuration:Q.style.transitionDuration,animationName:Q.style.animationName},Q.style.transitionDuration="0s",Q.style.animationName="none";const B=Q.getBoundingClientRect();x.current=B.height,C.current=B.width,V.current||(Q.style.transitionDuration=I.current.transitionDuration,Q.style.animationName=I.current.animationName),p(r)}},[d.open,r]),v.jsx(En.div,{"data-state":Pd(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!k,...f,ref:y,style:{"--radix-collapsible-content-height":A?`${A}px`:void 0,"--radix-collapsible-content-width":z?`${z}px`:void 0,...i.style},children:k&&u})});function Pd(i){return i?"open":"closed"}var _2=Cb;function U2({...i}){return v.jsx(_2,{"data-slot":"collapsible",...i})}function I2({...i}){return v.jsx(Mb,{"data-slot":"collapsible-trigger",...i})}function B2({...i}){return v.jsx(Db,{"data-slot":"collapsible-content",...i})}const Du={preProduction:{scriptwriting:[{id:"idea-generation",title:"Idea Generation & Plot Development",description:"AI tools that help generate story ideas, plot points, and narrative structures.",details:"AI systems like ChatGPT, Claude, and specialized tools like Jasper AI are being used to brainstorm story concepts, develop plot outlines, and generate character backgrounds. These tools can analyze successful narrative patterns and suggest plot developments based on genre conventions. They can also help overcome writer's block by providing alternative story directions or unexpected twists.",examples:["Plotbot: Generates plot outlines based on genre, theme, and character inputs","StoryAI: Creates character backstories and relationship dynamics","ScriptSpark: Suggests dialogue options and scene transitions"],ethicalConsiderations:["Attribution and credit for AI-assisted writing","Potential homogenization of storytelling if many writers use the same AI tools","Questions about originality and creative ownership"]},{id:"script-analysis",title:"Script Analysis & Breakdowns",description:"AI tools that analyze scripts for pacing, dialogue quality, character development, and marketability.",details:"These tools can process entire scripts to identify structural issues, dialogue patterns, character arcs, and potential audience engagement points. They often compare scripts against databases of successful films and TV shows to predict marketability and suggest improvements. Some tools can also generate script breakdowns for production planning, identifying locations, props, cast requirements, and special effects needs.",examples:["ScriptMetrics: Analyzes script pacing, dialogue-to-action ratio, and character screen time","StoryFit: Predicts audience engagement and marketability based on script elements","ProductionAI: Automatically generates script breakdowns for production planning"],ethicalConsiderations:["Potential standardization of creative works to fit algorithmic 'success' patterns","Over-reliance on data from past successes rather than 
117innovation","Privacy concerns when scripts containing sensitive material are uploaded to cloud-based AI services"]},{id:"storyboarding-script",title:"Storyboarding",description:"AI tools that convert script sections into visual storyboards or concept art.",details:"These systems can generate storyboard frames directly from script text, creating visual representations of scenes to help directors and cinematographers plan their shots. Advanced tools can maintain visual consistency across frames, adjust artistic styles based on the mood of the scene, and even animate simple sequences to demonstrate camera movements or action sequences.",examples:["StoryboardAI: Converts script text directly into storyboard panels","VisualScript: Generates concept art based on scene descriptions","FrameForge AI: Creates 3D previsualization from script elements"],ethicalConsiderations:["Potential displacement of storyboard artists and concept artists","Questions about visual style ownership when AI generates images based on text descriptions","Concerns about AI reproducing copyrighted visual elements in generated storyboards"]}],filming:[{id:"previsualization",title:"Storyboarding/Pre-visualization",description:"AI tools that create visual representations of scenes before filming.",details:"Advanced AI systems can generate detailed 3D environments, character animations, and camera movements based on script descriptions or director inputs. These tools help filmmakers visualize complex sequences, plan technical requirements, and communicate their vision to the crew. Some systems can even simulate lighting conditions at different times of day or in various weather conditions to help with scheduling and equipment planning.",examples:["Unreal Engine with AI plugins: Creates photorealistic virtual environments for previsualization","ShotPro AI: Generates camera movement simulations and shot compositions","LightCraft: Simulates lighting conditions in virtual environments"],ethicalConsiderations:["Potential for directors to become overly committed to AI-generated previsualization, limiting on-set creativity","Questions about creative contribution when AI generates significant visual elements","Concerns about AI reproducing copyrighted visual styles or environments"]},{id:"location-scouting",title:"Location Scouting",description:"AI tools that help identify and evaluate potential filming locations.",details:"These systems can analyze script requirements and match them with databases of available locations, considering factors like visual appearance, practical filming needs, permit requirements, and budget constraints. Some tools can also generate virtual versions of real locations or create entirely new environments that can be used as reference for set design or as backgrounds for virtual production.",examples:["ScoutAI: Matches script location descriptions with database of available filming sites","LocationFinder: Uses geospatial data and image recognition to identify suitable locations","VirtualScout: Creates digital twins of real locations for remote scouting"],ethicalConsiderations:["Privacy concerns when AI systems use images of private property for location matching","Potential homogenization of filming locations if many productions use the same AI recommendations","Environmental impact considerations when AI recommends sensitive or protected locations"]}],threeD:[{id:"concept-design",title:"Concept & Design",description:"AI tools that generate concept art and design elements for 3D assets.",details:"These systems can create initial concept designs for characters, environments, props, and other 3D elements based on text descriptions or reference images. They can generate multiple design variations quickly, allowing artists to explore different aesthetic directions efficiently. Some tools can also analyze design feasibility for 3D modeling and suggest adjustments to make concepts more practical for production.",examples:["Midjourney: Creates concept art based on text prompts","DALL-E: Generates character and environment designs","Stable Diffusion: Produces variations on existing design concepts"],ethicalConsiderations:["Questions about copyright when AI generates designs inspired by existing works","Concerns about displacement of concept artists","Issues of representation and bias in AI-generated character designs"]}],editing:[{id:"planning",title:"Planning",description:"AI tools that help plan the editing process before filming begins.",details:"These systems analyze scripts and storyboards to create preliminary editing plans, identifying potential scene transitions, pacing considerations, and narrative flow. They can suggest shot sequences based on genre conventions and audience engagement patterns, helping editors and directors plan their shooting strategy to ensure they capture all necessary footage for effective post-production.",examples:["EditPlan: Creates preliminary editing timelines based on script analysis","SequenceAI: Suggests shot sequences and transitions based on narrative requirements","PacingPro: Analyzes script for optimal scene length and pacing"],ethicalConsiderations:["Risk of standardizing editing patterns based on past conventions rather than 
117innovation","Concerns about creative control when AI significantly influences editing decisions","Questions about how AI editing recommendations might affect director's artistic vision"]}],sound:[{id:"sound-design-concepts",title:"Sound Design Concepts",description:"AI tools that help conceptualize and plan sound design elements.",details:"These systems can analyze scripts and visual references to suggest sound design approaches, identify key sonic moments, and create preliminary sound palettes. They can generate mood boards of audio samples based on the emotional tone of scenes and help sound designers plan their recording and creation strategy before production begins.",examples:["SoundPalette: Creates audio mood boards based on script emotional analysis","AudioConcept: Suggests sound design approaches for different scene types","SonicScript: Identifies key sound moments and requirements from script text"],ethicalConsiderations:["Concerns about standardization of sound design approaches","Questions about creative attribution when AI significantly influences sound concepts","Potential for overlooking unique sound opportunities not recognized by AI analysis"]},{id:"sound-synthesis",title:"Sound Synthesis",description:"AI tools that generate synthetic sound effects and ambient audio.",details:"These systems can create custom sound effects, ambient backgrounds, and audio elements based on text descriptions or reference sounds. They can synthesize sounds that would be difficult or impossible to record naturally, and generate variations of existing sound effects to create unique audio palettes for productions.",examples:["AudioLDM: Generates custom sound effects from text descriptions","Soundraw: Creates royalty-free music and ambient sounds","DALL-E for Audio: Synthesizes novel sound effects based on prompts"],ethicalConsiderations:["Displacement of foley artists and sound designers","Questions about ownership of AI-generated sounds","Concerns about homogenization of sound design if many productions use similar AI tools"]},{id:"sonic-mood-boards",title:"Sonic Mood Boards",description:"AI tools that create audio mood boards to establish the sonic identity of a production.",details:"These systems analyze script themes, setting, and emotional arcs to generate collections of sound samples that represent the desired sonic atmosphere for a production. They can pull from vast libraries of sounds, music, and ambient recordings to create cohesive audio palettes that directors, composers, and sound designers can use as reference points throughout production.",examples:["MoodSound: Creates thematic audio collections based on script analysis","SonicPalette: Generates sound mood boards with adjustable emotional parameters","AudioTheme: Develops sonic identity concepts for productions"],ethicalConsiderations:["Risk of relying on algorithmic patterns rather than innovative sound design","Concerns about creative homogenization across productions","Questions about copyright when AI references existing sound libraries"]}
117,{id:"audio-reference-libraries",title:"Audio Reference Libraries",description:"AI tools that build customized sound reference libraries for productions.",details:"These systems can analyze script requirements and production needs to assemble tailored libraries of sound references. They can categorize sounds by scene, character, location, or emotional tone, making it easier for sound teams to access relevant references during production and post-production phases.",examples:["SoundCatalog: Creates organized sound libraries based on production requirements","AudioRef: Builds searchable databases of sound references tagged by scene and emotion","SonicLibrary: Assembles customized reference collections from multiple sources"],ethicalConsiderations:["Questions about copyright and licensing of referenced sounds","Concerns about over-reliance on existing sound patterns","Risk of limiting creative exploration by pre-defining sound options"]},{id:"music-style-analysis",title:"Music Style Analysis",description:"AI tools that analyze musical styles and suggest appropriate approaches for scoring.",details:"These systems can analyze successful film scores, identify patterns in musical composition for different genres and emotional tones, and suggest compositional approaches for new productions. They can help composers understand what musical elements have been effective in similar contexts and provide reference points for discussion with directors.",examples:["ScoreAnalyzer: Identifies musical patterns in successful film scores by genre","EmotionTone: Maps emotional arcs in scripts to musical composition approaches","GenreScore: Suggests compositional techniques based on film genre and style"],ethicalConsiderations:["Risk of musical homogenization across productions","Concerns about creative originality when composers rely on AI analysis","Questions about how algorithmic recommendations might limit musical innovation"]}],vfx:[{id:"concept-art",title:"Concept Art & Ideation",description:"AI tools that generate visual effects concepts and ideas.",details:"These systems can create concept art for visual effects sequences, suggesting approaches for complex VFX shots and generating visual references for effects artists. They can visualize different treatment options for the same sequence, helping directors and VFX supervisors align on creative direction before committing resources to full development.",examples:["VFXConcept: Generates visual references for effects sequences","EffectsLab AI: Creates concept visualizations for complex VFX shots","VisualFX Ideation: Suggests multiple treatment approaches for effects sequences"],ethicalConsiderations:["Questions about creative attribution when AI generates significant visual concepts","Concerns about displacement of concept artists specializing in VFX","Potential standardization of visual effects approaches"]},{id:"vfx-planning",title:"VFX Pre-production Planning",description:"AI tools that help plan and budget visual effects sequences.",details:"These systems can analyze script requirements and storyboards to identify VFX needs, estimate resource requirements, and suggest efficient production approaches. They can help break down complex sequences into manageable components, identify technical challenges early, and optimize the allocation of VFX resources across a production.",examples:["VFXPlan: Analyzes scripts to identify and categorize visual effects requirements","EffectsBudget: Estimates resource needs and costs for VFX sequences","TechViz: Identifies technical challenges and suggests production approaches"],ethicalConsiderations:["Risk of underestimating creative human input in VFX planning","Concerns about standardization of VFX approaches based on cost efficiency","Questions about how AI planning might affect artistic risk-taking in visual effects"]}]},production:{scriptwriting:[{id:"script-revisions",title:"On-Set Script Revisions",description:"AI tools that assist with quick script revisions during production.",details:"These systems can generate alternative dialogue options, scene adjustments, or new scenes on demand to address production challenges or creative decisions made during filming. They can maintain consistency with existing character voices and narrative elements while providing new options quickly when time is limited on set.",examples:["QuickScript: Generates alternative dialogue options maintaining character voice","RevisionAI: Creates scene adjustments that maintain narrative consistency","ScriptFix: Suggests solutions for script problems identified during shooting"],ethicalConsiderations:["Questions about writer credits when AI contributes significant revisions","Concerns about maintaining creative vision with rapid AI-generated changes","Potential for bypassing union writers for on-set revisions"]}],filming:[{id:"camera-operation",title:"Camera Operation & Movement",description:"AI systems that control or assist with camera movement and framing.",details:"These technologies range from AI-powered gimbals that automatically maintain framing on subjects to fully autonomous camera systems that can track action and adjust composition in real-time. Advanced systems can even predict movement patterns and position cameras proactively to capture optimal shots without human intervention.",examples:["DJI Ronin with ActiveTrack: AI-powered gimbal that automatically tracks subjects","AutoCam: Autonomous camera system for multi-angle shooting","PredictiveFrame: Camera system that anticipates subject movement and adjusts positioning"],ethicalConsiderations:["Displacement of camera operators and cinematographers","Questions about creative attribution when AI makes significant framing decisions","Concerns about standardization of visual aesthetics"]},{id:"lighting-control",title:"Lighting Control & Optimization",description:"AI systems that adju
117st and optimize lighting setups in real-time.",details:"These technologies can analyze scenes and automatically adjust lighting parameters to maintain consistent exposure, color temperature, and lighting ratios as conditions change. Advanced systems can even suggest lighting setups based on the emotional tone of scenes or match lighting styles from reference images.",examples:["LightBrain: Automatically adjusts lighting parameters to maintain consistency","EmotionalLight: Suggests lighting setups based on scene emotional analysis","StyleMatch: Replicates lighting styles from reference images"],ethicalConsiderations:["Displacement of lighting technicians and gaffers","Questions about creative attribution when AI makes significant lighting decisions","Concerns about standardization of lighting aesthetics"]},{id:"virtual-production",title:"Virtual Production",description:"AI-enhanced virtual production environments and real-time rendering.",details:"These systems combine real-time rendering engines with AI to create interactive virtual environments that respond dynamically to camera movement and actor performance. They can generate environmental elements, adjust lighting conditions, and even create crowd simulations or background characters that respond intelligently to foreground action.",examples:["Unreal Engine with AI enhancements: Creates responsive virtual environments","IntelliSet: Generates dynamic background elements and crowd simulations","VirtualDirector: AI system that adjusts virtual elements based on director input"],ethicalConsiderations:["Questions about creative attribution when AI generates significant environmental elements","Concerns about the displacement of traditional set designers and builders","Issues related to actor performance when interacting with AI-generated elements"]}],threeD:[{id:"asset-creation",title:"Asset Creation",description:"AI tools that assist with or automate the creation of 3D assets.",details:"These systems can generate 3D models, textures, and animations based on text descriptions, reference images, or basic sketches. They can create variations of existing assets, automate repetitive modeling tasks, and even generate complete character models with rigging and basic animation capabilities.",examples:["GET3D: Generates textured 3D models from text descriptions","NeRF: Creates 3D models from 2D images","TextureGen: Automatically generates textures for 3D models"],ethicalConsiderations:["Displacement of 3D modelers and texture artists","Questions about ownership of AI-generated 3D assets","Concerns about copyright when AI generates models inspired by existing designs"]},{id:"animation-assistance",title:"Animation Assistance",description:"AI tools that help animate 3D characters and objects.",details:"These systems can generate realistic motion for characters based on physics simulations, motion capture data, or text descriptions. They can automate secondary animation elements like cloth, hair, and environmental effects, and even suggest emotional expressions and body language based on dialogue and scene context.",examples:["Motion Diffusion: Generates character animations from text descriptions","PhysicsAI: Creates realistic physical interactions for animated objects","EmotionRig: Suggests facial expressions and body language based on dialogue"],ethicalConsiderations:["Displacement of animators, particularly for background characters and secondary animation","Questions about the authenticity of performance when animation is AI-generated","Concerns about standardization of movement and expression"]}],sound:[{id:"real-time-audio",title:"Real-Time Audio Processing",description:"AI systems that process and enhance audio during filming.",details:"These technologies can isolate dialogue from background noise, enhance audio clarity, and even generate temporary sound effects or music during filming to help actors and directors better visualize the final scene. They can also flag audio issues in real-time, allowing immediate reshoots if necessary.",examples:["ClearVoice: Isolates dialogue from background noise in real-time","AudioAlert: Identifies audio quality issues during recording","TempScore: Generates temporary music and sound effects during filming"],ethicalConsiderations:["Risk of overreliance on AI audio enhancement rather than proper sound recording","Questions about how AI-enhanced monitoring affects director and actor decisions","Concerns about displacement of production sound mixers"]},{id:"voice-generation",title:"Voice Generation & Modification",description:"AI tools that generate or modify voice performances.",details:"These systems can create synthetic voices based on text input, modify existing voice recordings to change emotional tone or accent, and even generate dialogue in an actor's voice when additional lines are needed. Advanced systems can maintain consistency with an actor's performance style while generating new vocal content.",examples:["VoiceClone: Replicates actor voices for additional dialogue recording","EmotionVoice: Modifies emotional tone of voice recordings","AccentAI: Adjusts or creates specific accents for character performances"],ethicalConsiderations:["Consent issues when replicating actor voices","Questions about performance credits when dialogue is AI-generated","Concerns about authenticity of performance with AI-modified voices"]},{id:"automated-foley",title:"Automated Foley Creation",description:"AI systems that generate foley sound effects in real-time during filming.",details:"These technologies can analyze actor movements and on-set actions to automatically generate appropriate foley sounds in real-time. This allows directors and actors to hear immediate audio feedback that matches their performance, helping to create a more immersive on-set experience and potentially reducing the need for extensive foley work in post-production.",examples:["FoleyGen: Creates footsteps and movement sounds based on actor motion","PropSound: Generates object interaction sounds based on visual analysis","MotionAudio: Maps physical movements to appropriate sound effects in real-time"],ethicalConsiderations:["Displacement of traditional foley artists","Questions about the authenticity and quality of AI-generated foley","Concerns about standardization of sound effects across productions"]},{id:"ambient-sound",title:"Ambient Sound Generation",description:"AI tools that create realistic ambient soundscapes for production.",details:"These systems can generate customized ambient audio environments based on location, time period, weather conditions, and other contextual factors. They can help create more immersive on-set experiences for actors and provide reference tracks for post-production sound design, potentially reducing the need for extensive location sound recording.",examples:["AmbienceAI: Creates location-specific ambient sound environments","PeriodAudio: Generates historically accurate ambient soundscapes","WeatherSound: Produces realistic weather-based ambient audio"],ethicalConsiderations:["Potential reduction in location sound recording jobs","Questions about historical and environmental accuracy of generated ambiences","Concerns about homogenization of ambient sound across productions"]},{id:"audio-problem",title:"Audio Problem Detection",description:"AI systems that identify audio issues during recording.",details:"These technologies can monitor audio in real-time during production to detect problems such as clipping, distortion, unwanted background noise, microphone issues, or other technical problems. They can alert sound engineers immediately, allowing for quick adjustments or reshoots before the production moves on, potentially saving significant time and resources in post-production.",examples:["AudioGuard: Detects and flags audio quality issues in real-time","NoiseAlert: Identifies unwanted background sounds during recording","MicCheck: Monitors microphone performance and placement issues"],ethicalConsiderations:["Risk of over-reliance on technology rather than skilled sound professionals","Questions about decision-making authority when AI flags potential issues","Concerns about false positives disrupting production flow"]}]},postProduction:{scriptwriting:[{id:"dialogue-enhancement",title:"Dialogue Enhancement & ADR",description:"AI tools that help improve dialogue in post-production.",details:"These systems can generate additional dialogue options for ADR (Automated Dialogue Replacement), enhance poorly recorded dialogue, and even create new lines that match an actor's lip movements when necessary. They can maintain consistency with the actor's voice and performance style while improving clarity and emotional impact.",examples:["ADRmatch: Generates dialogue options that match lip movements","VoiceEnhance: Improves clarity and quality of recorded dialogue","PerformanceExtend: Creates additional lines in an actor's voice and style"],ethicalConsiderations:["Consent issues when generating new dialogue in an actor's voice","Questions about performance credits when dialogue is significantly enhanced or created by AI","Concerns about authenticity of performance with AI-generated dialogue"]},{id:"narrative-restructuring",title:"Narrative Restructuring",description:"AI tools that help reorganize and restructure narrative elements in post-production.",details:"These systems can analyze footage and suggest alternative narrative structures, identify opportunities to improve pacing or clarity, and even generate transitional dialogue or scenes to bridge gaps created by structural changes. They can help editors and directors explore different storytelling approaches efficie
117ntly.",examples:["StoryReshape: Suggests alternative narrative structures based on available footage","PacingAI: Identifies opportunities to improve narrative flow and engagement","BridgeScript: Generates transitional elements to support narrative restructuring"],ethicalConsiderations:["Questions about creative control when AI significantly influences narrative structure","Concerns about writer credits when AI generates transitional elements","Risk of prioritizing algorithmic engagement patterns over artistic vision"]}],editing:[{id:"automated-editing",title:"Automated Editing & Assembly",description:"AI systems that automatically assemble footage into coherent sequences.",details:"These technologies can analyze footage, identify the best takes based on performance quality and technical parameters, and assemble them into coherent sequences following narrative logic. Advanced systems can even match editing styles from reference works or adapt to director preferences learned from previous projects.",examples:["EditGenius: Automatically assembles footage into coherent sequences","TakeSelector: Identifies optimal takes based on performance and technical quality","StyleEdit: Matches editing patterns from reference works or director preferences"],ethicalConsiderations:["Displacement of editors, particularly for initial assembly cuts","Questions about creative attribution when AI makes significant editing decisions","Concerns about standardization of editing patterns"]},{id:"content-enhancement",title:"Content Enhancement & Restoration",description:"AI tools that enhance or restore footage quality.",details:"These systems can upscale resolution, reduce noise, stabilize shaky footage, colorize black and white material, and even convert standard footage to HDR or 3D. They can also restore damaged or degraded archival footage, recovering detail and quality that would be impossible with traditional techniques.",examples:["SuperRes: Upscales footage resolution while maintaining detail","DeNoise: Removes grain and noise while preserving image quality","ArchiveRestore: Repairs and enhances damaged historical footage"],ethicalConsiderations:["Questions about historical accuracy when significantly enhancing archival footage","Concerns about displacement of restoration specialists","Risk of creating unrealistic quality expectations for future productions"]},{id:"color-grading",title:"AI-Assisted Color Grading",description:"AI tools that help with color correction and grading.",details:"These systems can automatically balance colors, match shots for consistency, and even suggest grading approaches based on the emotional tone of scenes or reference styles. Advanced tools can learn a colorist's preferences and apply similar approaches across projects or suggest adjustments based on audience perception research.",examples:["ColorMatch: Automatically ensures consistency between shots","GradeStyle: Applies or suggests color treatments based on reference works","EmotionColor: Suggests color grading approaches based on scene emotional analysis"],ethicalConsiderations:["Displacement of colorists","Questions about creative attribution when AI makes significant grading decisions","Concerns about standardization of visual aesthetics"]}],threeD:[{id:"automated-rigging",title:"Automated Rigging & Animation",description:"AI tools that automate the rigging and animation of 3D models.",details:"These systems can automatically create character rigs with appropriate bone structures and controls, generate realistic animations based on physics simulations or reference footage, and even transfer animations between different character models while preserving natural movement qualities.",examples:["AutoRig: Automatically creates character rigs with appropriate controls","MotionTransfer: Applies captured movement to different character models","PhysicsAnim: Generates realistic animations based on physics simulations"],ethicalConsiderations:["Displacement of rigging artists and animators","Questions about creative attribution when AI generates significant animation elements","Concerns about standardization of movement and expression"]},{id:"texture-enhancement",title:"Texture & Material Enhancement",description:"AI tools that improve or generate textures and materials for 3D assets.",details:"These systems can enhance existing textures to higher resolutions, generate new textures based on reference images or text descriptions, and create physically accurate materials that respond realistically to lighting conditions. They can also generate variations of existing textures to add visual diversity to similar objects.",examples:["TextureUp: Enhances texture resolution while maintaining detail","MaterialGen: Creates physically accurate materials from descriptions","TextureVariation: Generates diverse variations of existing textures"],ethicalConsiderations:["Displacement of texture artists","Questions about ownership of AI-generated textures","Concerns about copyright when AI generates textures inspired by existing designs"]}],sound:[{id:"audio-restoration",title:"Audio Restoration & Enhancement",description:"AI tools that clean up and enhance recorded audio.",details:"These systems can remove background noise, enhance dialogue clarity, fix audio issues like pops and clicks, and even separate mixed audio into component tracks for individual processing. Advanced tools can restore damaged or low-quality historical recordings to modern standards.",examples:["DeNoise Audio: Removes background noise while preserving voice quality","ClarityAI: Enhances dialogue intelligibility without artifacts","AudioSeparate: Isolates individual elements from mixed recordings"],ethicalConsiderations:["Displacement of audio restoration specialists","Questions about historical accuracy when significantly enhancing archival audio","Risk of creating unrealistic quality expectations for future productions"]},{id:"music-composition",title:"Music Composition & Generation",description:"AI tools that compose or generate music for productions.",details:"These systems can create original music based on emotional cues, tempo requirements, or reference styles. They can generate complete scores or provide compositional elements that human composers can incorporate into their work. Advanced systems can even adapt music dynamically to match editing changes or emotional shifts in scenes.",examples:["ScoreGen: Creates complete musical scores based on emotional cues","StyleComposer: Generates music in specific genres or artist styles","AdaptiveScore: Dynamically adjusts music to match editing changes"],ethicalConsiderations:["Displacement of composers and musicians","Questions about creative attribution when AI generates significant musical elements","Concerns about copyright when AI creates music inspired by existing compositions"]},{id:"sound-design",title:"Sound Design & Effects",description:"AI tools that create and enhance sound effects and design elements.",details:"These systems can generate custom sound effects based on text descriptions or reference sounds, create ambient audio environments, and even design complex sonic landscapes that evolve throughout a production. They can also suggest sound design approaches based on the emotional tone of scenes or reference styles.",examples:["SFXgen: Creates custom sound effects from text descriptions","AmbienceAI: Generates realistic environmental soundscapes","SonicLandscape: Designs evolving sound environments for narrative progression"],ethicalConsiderations:["Displacement of sound designers and foley artists","Questions about creative attribution when AI generates significant sound elements","Concerns about standardization of sound aesthetics"]},{id:"voice-synthesis",title:"Voice Synthesis & Cloning",description:"AI tools that create synthetic voices or clone existing ones.",details:"These systems can generate realistic human voices from text, clone specific voice characteristics from sample recordings, and even recreate historical voices from archival materials. Advanced tools can maintain consistent emotional tone, accent, and speech patterns while generating new dialogue that wasn't originally recorded.",examples:["VoiceClone Pro: Creates digital replicas of actor voices with minimal sample data","SynthVoice: Generates completely synthetic but realistic human voices","HistoricalVoice: Recreates voices of historical figures from limited recordings"],ethicalConsiderations:["Consent and compensation issues when cloning real people's voices","Potential for misuse in creating unauthorized or misleading content","Questions about authenticity and artistic integrity in performance","Displacement of voice actors, particularly for background characters or ADR"]},{id:"automated-dialogue",title:"Automated Dialogue Replacement",description:"AI tools specifically designed for ADR processes.",details:"These systems can analyze original dialogue recordings and lip movements to generate perfectly synchronized replacement dialogue. They can match the emotional tone, pace, and acoustic characteristics of the original performance while improving clarity or changing content as needed. Some advanced systems can even translate dialogue into different languages while maintaining lip synchronization.",examples:["SyncLip: Generates perfectly lip-synchronized replacement dialogue","ADRmaster: Matches acoustic characteristics of original recording environments","TransVoice: Creates lip-synchronized dialogue translations in multiple languages"],ethicalConsiderations:["Questions about actor consent when significantly modifying performances","Concerns about authenticity when dialogue is heavily processed or replaced","Potential displacement of ADR specialists and voice actors","Issues around proper crediting and compensation for modified performances"]},{id:"spatial-audio",title:"Spatial Audio Processing",description:"AI tools that enhance or create immersive spatial audio experiences.",details:"These systems can convert standard audio into spatial formats like Dolby Atmos or binaural audio, accurately position sounds in three-dimensional space, and create realistic acoustic environments that respond to visual elements. Advanced tools can even predict how sounds would naturally propagate through different environments and adjust accordingly.",examples:["SpatialGen: Converts stereo mixes to immersive audio formats","AcousticSpace: Creates realistic acoustic environments based on visual scene analysis","ObjectAudio: Positions and tracks sound sources in 3D space to match visual elements"],ethicalConsiderations:["Questions about artistic intent when automatically spatializing existing content","Concerns about standardization of spatial audio approaches","Potential displacement of specialized mixing engineers","Issues around accessibility when prioritizing spatial audio formats"]},{id:"adaptive-music",title:"Adaptive Music Systems",description:"AI tools that create dynamic music that responds to content or user interaction.",details:"These systems can generate music that adapts in real-time to narrative developments, emotional shifts, or user interactions. They can seamlessly transition between different musical themes, adjust intensity based on action, and maintain musical coherence while being responsive to unpredictable timing changes. Particularly valuable for interactive media like games and VR experiences.",examples:["DynamicScore: Creates music that adapts to narrative developments in real-time","EmotionTrack: Adjusts musical elements based on emotional content analysis","GameC
117omposer: Generates responsive music for interactive gaming experiences"],ethicalConsiderations:["Questions about creative control when music becomes algorithmically responsive","Concerns about displacement of composers who specialize in interactive media","Issues around musical coherence and artistic integrity in highly adaptive systems","Potential standardization of emotional-musical relationships across productions"]},{id:"audio-personalization",title:"Audio Personalization",description:"AI tools that customize audio experiences for individual users or viewing contexts.",details:"These systems can adjust audio elements based on user preferences, listening environment, or accessibility needs. They can enhance dialogue clarity for hearing-impaired viewers, adjust dynamic range for different listening environments, or even personalize sound design elements based on user engagement patterns or preferences.",examples:["ClearDialogue: Enhances speech intelligibility for hearing-impaired viewers","EnvironmentAdapt: Optimizes audio for different listening environments","PersonalMix: Creates customized audio mixes based on user preferences"],ethicalConsiderations:["Questions about artistic intent when content is automatically modified","Privacy concerns when collecting user data to inform personalization","Potential for creating vastly different experiences of the same content","Issues around defining a 'standard' version when multiple variations exist"]}],vfx:[{id:"rotoscoping",title:"Automated Rotoscoping & Masking",description:"AI tools that automate the process of isolating elements in footage.",details:"These systems can automatically create precise masks around subjects or objects, track them throughout shots, and even predict movement to maintain mask accuracy in challenging conditions. They can dramatically reduce the time required for rotoscoping tasks that would traditionally require extensive manual work.",examples:["AutoRoto: Automatically creates and tracks masks around subjects","MaskTrack: Maintains precise isolation of elements throughout shots","RotoPrediction: Anticipates subject movement to maintain mask accuracy"],ethicalConsiderations:["Displacement of rotoscoping artists","Questions about quality control when complex isolation is fully automated","Concerns about devaluation of technical skills in VFX pipeline"]},{id:"cg-integration",title:"CG Integration & Compositing",description:"AI tools that help integrate CG elements with live-action footage.",details:"These systems can automatically match lighting conditions, camera movements, and perspective between CG elements and live footage. They can also generate realistic shadows, reflections, and environmental interactions to enhance the believability of composite images.",examples:["LightMatch: Automatically adjusts CG lighting to match live-action conditions","CameraTrack: Ensures precise alignment of CG elements with camera movement","InteractionGen: Creates realistic interactions between CG and live elements"],ethicalConsiderations:["Displacement of compositing artists","Questions about quality control when integration is highly automated","Concerns about unrealistic quality expectations with limited resources"]},{id:"digital-humans",title:"Digital Humans & Characters",description:"AI tools that create and animate photorealistic digital humans.",details:"These systems can generate highly realistic human faces and bodies, animate them with natural movements and expressions, and even replicate specific individuals with their consent. Advanced tools can create performances that respond emotionally to scene context and interact convincingly with live actors.",examples:["MetaHuman: Creates photorealistic digital humans with animation capabilities","PerformanceAI: Generates emotional performances for digital characters","DigitalDouble: Creates accurate replicas of actors for dangerous or impossible scenes"],ethicalConsiderations:["Consent issues when replicating real individuals","Questions about performance credits when digital humans replace actors","Concerns about unrealistic body standards and representation"]},{id:"environment-creation",title:"Environment Creation & Extension",description:"AI tools that generate or extend environments and set pieces.",details:"These systems can create complete digital environments based on concept art or text descriptions, extend existing sets beyond what was physically built, and generate background elements like crowds, traffic, or natural phenomena. They can maintain visual consistency with practical elements while adding scale and detail that would be impractical to create physically.",examples:["WorldGen: Creates complete digital environments from descriptions","SetExtend: Seamlessly expands practical sets with digital elements","CrowdSim: Generates realistic background characters with varied behaviors"],ethicalConsiderations:["Displacement of traditional set designers and builders","Questions about creative attribution when AI generates significant environmental elements","Concerns about the loss of practical filmmaking crafts"]}]}},L2="/assets/ai_preproduction-kLXJyjsI.png",G2="/assets/ai_production-DOd6MHtT.png",q2="/assets/ai_postproduction-DoCvngfY.png",H2=()=>{const[i,a]=R.useState("preProduction"),[o,r]=R.useState("all"),[u,f]=R.useState(null),d={preProduction:L2,production:G2,postProduction:q2},m=(h,y)=>{u&&u.subsector===h&&u.id===y?f(null):f({subsector:h,id:y})},p=(h,y)=>!Du[i]||!Du[i][h]?null:Du[i][h].find(x=>x.title===y);return v.jsxs(xe.div,{className:"slide",initial:{opacity:0}
117,animate:{opacity:1},exit:{opacity:0},children:[v.jsx("h2",{className:"slide-title",children:"Mapping AI Use Across Production Phases"}),v.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 mb-8",children:Object.keys(Tr).map(h=>v.jsxs(xe.div,{className:`phase-card ${h} cursor-pointer ${i===h?"ring-2 ring-offset-2":""}`,style:{backgroundColor:O2[h],borderLeftColor:wu[h]},onClick:()=>a(h),whileHover:{scale:1.03},children:[v.jsx("h3",{className:"text-xl font-bold mb-2",style:{color:wu[h]},children:Tr[h]}),v.jsx("img",{src:d[h],alt:Tr[h],className:"w-full h-32 object-cover rounded-md mb-4"}),v.jsxs("p",{className:"text-sm",children:[h==="preProduction"&&"Planning and preparation before filming or development begins.",h==="production"&&"The actual filming, recording, or development process.",h==="postProduction"&&"Editing, effects, and finalization after filming or development."]})]},h))}),v.jsxs("div",{className:"mb-6",children:[v.jsx("h3",{className:"text-xl font-bold mb-4",children:"Filter by Subsector"}),v.jsxs("div",{className:"flex flex-wrap gap-2",children:[v.jsx(St,{variant:o==="all"?"default":"outline",onClick:()=>r("all"),children:"All Subsectors"}),Object.keys(Sr).map(h=>v.jsx(St,{variant:o===h?"default":"outline",onClick:()=>r(h),children:Sr[h]},h))]})]}),v.jsxs(Pe,{children:[v.jsxs(Ye,{children:[v.jsxs(Xe,{style:{color:wu[i]},children:["AI Use Cases in ",Tr[i]]}),v.jsx(Zt,{children:"Click on any use case to see detailed information"})]}),v.jsx(Qe,{children:v.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:Object.keys(Sr).map(h=>o!=="all"&&o!==h||!Tu[i][h]||Tu[i][h].length===0?null:v.jsxs(xe.div,{className:"border rounded-lg p-4",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1},children:[v.jsx("h4",{className:"font-bold mb-2",children:Sr[h]}),v.jsx("ul",{className:"space-y-2",children:Tu[i][h].map((y,x)=>{const A=p(h,y),C=u&&u.subsector===h&&A&&u.id===A.id;return A?v.jsxs(U2,{open:C,onOpenChange:()=>m(h,A.id),children:[v.jsx("div",{className:"flex items-start",children:v.jsx("div",{className:"ml-5 list-disc flex-grow cursor-pointer",children:v.jsx(I2,{asChild:!0,children:v.jsxs("div",{className:"flex items-center justify-between",children:[v.jsx("span",{className:"font-medium",children:y}),v.jsx(St,{variant:"ghost",size:"sm",className:"p-0 h-6 w-6",children:C?v.jsx(oC,{className:"h-4 w-4"}):v.jsx(tC,{className:"h-4 w-4"})})]})})})}),v.jsx(B2,{children:v.jsxs("div",{className:"mt-2 pl-5 pr-2 py-3 bg-slate-50 rounded-md",children:[v.jsx("p",{className:"text-sm mb-3",children:A.description}),v.jsxs("div",{className:"mb-3",children:[v.jsxs("h5",{className:"text-xs font-bold text-tesai-blue flex items-center",children:[v.jsx(dC,{className:"h-3 w-3 mr-1"})," DETAILS"]}),v.jsx("p",{className:"text-xs mt-1",children:A.details})]}),v.jsxs("div",{className:"mb-3",children:[v.jsx("h5",{className:"text-xs font-bold text-tesai-blue",children:"EXAMPLES"}),v.jsx("ul",{className:"text-xs list-disc pl-4 mt-1",children:A.examples.map((z,k)=>v.jsx("li",{children:z},k))})]}),v.jsxs("div",{children:[v.jsx("h5",{className:"text-xs font-bold text-amber-600",children:"ETHICAL CONSIDERATIONS"}),v.jsx("ul",{className:"text-xs list-disc pl-4 mt-1",children:A.ethicalConsiderations.map((z,k)=>v.jsx("li",{children:z},k))})]})]})})]},x):v.jsx("li",{className:"ml-5 list-disc",children:y},x)})})]},h))})})]})]})},P2=()=>{const[i,a]=R.useState(Cr[0].id),[o,r]=R.useState("all"),u=[{id:"all",name:"All Categories"},{id:"Legal Precedent",name:"Legal Precedents"},{id:"Industry Policy",name:"Industry Policies"},{id:"Government Regulation",name:"Government Regulations"}],f=o==="all"?Cr:Cr.filter(m=>m.category===o),d=()=>Cr.find(m=>m.id===i);return v.jsxs(xe.div,{className:"slide",initial:{opacity:0}
117,animate:{opacity:1},exit:{opacity:0},children:[v.jsx("h2",{className:"slide-title",children:"Important Policies and Precedent Cases"}),v.jsx("div",{className:"mb-6",children:v.jsx(Ld,{defaultValue:"all",onValueChange:r,children:v.jsx(Gd,{className:"grid grid-cols-4",children:u.map(m=>v.jsx(zi,{value:m.id,children:m.name},m.id))})})}),v.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6",children:[v.jsx("div",{className:"md:col-span-1",children:v.jsxs(Pe,{className:"h-full",children:[v.jsxs(Ye,{children:[v.jsx(Xe,{children:"Key Cases & Policies"}),v.jsx(Zt,{children:"Select to view details"})]}),v.jsx(Qe,{children:v.jsx("div",{className:"flex flex-col space-y-2",children:f.map(m=>v.jsx(St,{variant:i===m.id?"default":"outline",className:"justify-start text-left h-auto py-2",onClick:()=>a(m.id),children:v.jsxs("div",{children:[v.jsx("div",{className:"font-medium",children:m.title}),v.jsx("div",{className:"text-xs text-muted-foreground",children:m.category})]})},m.id))})})]})}),v.jsx("div",{className:"md:col-span-3",children:v.jsxs(Pe,{className:"h-full",children:[v.jsxs(Ye,{children:[v.jsx(Xe,{children:d().title}),v.jsx(Zt,{children:d().description})]}),v.jsx(Qe,{children:v.jsxs("div",{className:"space-y-6",children:[v.jsxs("div",{children:[v.jsx("h4",{className:"font-bold text-tesai-blue mb-2",children:"Details"}),v.jsx("p",{children:d().details})]}),v.jsxs("div",{children:[v.jsx("h4",{className:"font-bold text-tesai-blue mb-2",children:"Potential Impact"}),v.jsx("p",{children:d().impact})]}),v.jsxs("div",{className:"flex justify-between items-center pt-4 border-t",children:[v.jsxs("div",{children:[v.jsx("span",{className:"text-sm font-medium",children:"Status: "}),v.jsx("span",{className:`text-sm ${d().status==="Ongoing"?"text-amber-600":d().status==="Resolved"?"text-green-600":d().status==="Implemented"||d().status==="Enacted"?"text-blue-600":"text-gray-600"}`,children:d().status})]}),v.jsxs("div",{className:"text-sm text-gray-500",children:[v.jsxs("span",{className:"mr-2",children:["Source: ",d().source]}),d().sourceUrl&&v.jsx("a",{href:d().sourceUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center text-tesai-blue hover:underline",children:v.jsx(Zv,{className:"h-3 w-3 ml-1"})})]})]})]})})]})})]})]})},Y2=()=>{const[i,a]=R.useState(Mu[0].id),o=()=>Mu.find(r=>r.id===i);return v.jsxs(xe.div,{className:"slide",initial:{opacity:0}
117,animate:{opacity:1},exit:{opacity:0},children:[v.jsx("h2",{className:"slide-title",children:"Recommendations for Ethical Implementation"}),v.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6",children:[v.jsx("div",{className:"md:col-span-1",children:v.jsxs(Pe,{className:"h-full",children:[v.jsxs(Ye,{children:[v.jsx(Xe,{children:"Key Recommendations"}),v.jsx(Zt,{children:"Select to view details"})]}),v.jsx(Qe,{children:v.jsx("div",{className:"flex flex-col space-y-2",children:Mu.map(r=>v.jsx(St,{variant:i===r.id?"default":"outline",className:"justify-start text-left h-auto py-2",onClick:()=>a(r.id),children:r.title},r.id))})})]})}),v.jsx("div",{className:"md:col-span-3",children:v.jsxs(Pe,{className:"h-full",children:[v.jsxs(Ye,{children:[v.jsx(Xe,{children:o().title}),v.jsx(Zt,{children:o().description})]}),v.jsx(Qe,{children:v.jsxs("div",{className:"space-y-6",children:[v.jsx("div",{children:v.jsx("p",{className:"mb-4",children:o().details})}),v.jsxs("div",{children:[v.jsx("h4",{className:"font-bold text-tesai-blue mb-4",children:"Implementation Steps"}),v.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:o().recommendations.map((r,u)=>v.jsxs(xe.div,{className:"p-4 border rounded-lg bg-tesai-light-blue",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1*u},children:[v.jsxs("h5",{className:"font-bold mb-2 flex items-center",children:[v.jsx($w,{className:"h-4 w-4 mr-2 text-green-600"}),r.title]}),v.jsx("p",{className:"text-sm",children:r.description})]},u))})]}),v.jsxs("div",{children:[v.jsx("h4",{className:"font-bold text-tesai-blue mb-2",children:"Industry Examples"}),v.jsx("ul",{className:"list-disc pl-5 space-y-1",children:o().examples.map((r,u)=>v.jsx("li",{children:r},u))})]})]})})]})})]})]})},Rb="/assets/tesai_logo-rE4XcXn7.png",X2="/assets/ai_film_production-BO6wbgTT.jpg",Q2="/assets/ai_game_development-AH-U-9rE.jpeg",K2=()=>{const[i,a]=R.useState(!1),o=[{id:1,title:"American Society of Cinematographers: Visual Artistry in the Age of AI",url:"https://theasc.com/news/sign-up-for-the-ascs-ai-summit",year:2025},{id:2,title:"AI is creeping into the visual effects industry – and it could take the human touch out of film and TV",authors:"Narayan, A.D., Nairn, A., Caillard, D., & Matthews, J.",publication:"The Conversation",url:"https://theconversation.com/ai-is-creeping-into-the-visual-effects-industry-and-it-could-take-the-human-touch-out-of-film-and-tv-240112",year:2024},{id:3,title:"IATSE VFX Union: The union for production and facility VFX workers",url:"https://vfxunion.org/",year:2025},{id:4,title:"The Animation Guild: AI and Animation",url:"https://animationguild.org/ai-and-animation/",year:2025},{id:5,title:"Future Unscripted: The Impact of Generative AI on Entertainment Industry Jobs",authors:"CVL Economics",publication:"Commissioned by The Animation Guild, Concept Art Association, The Human Artistry Campaign, and The National Cartoonist Society Foundation",year:2023},{id:6,title:"Is AI replacing sound designers and composers?",authors:"Boteas, O.",publication:"Krotos Studio",url:"https://krotos.studio/blog/is-ai-replacing-sound-designers-and-composers",year:2025},{id:7,title:"These entertainment jobs are most vulnerable to AI, study finds",publication:"Los Angeles Times",url:"https://www.latimes.com/entertainment-arts/business/story/2024-01-30/ai-artificial-intelligence-impact-report-entertainment-industry",year:2024},{id:8,title:"AI is 'Divisive' for Animation Industry Workers",publication:"Variety",url:"https://variety.com/2025/film/news/ai-divisive-animation-anime-luminate-report-1236504906/",year:2025},{id:9,title:"Animation Guild AI Report Finds Entry-Level Workers Most at Risk",publication:"Hollywood Reporter",url:"https://www.hollywoodreporter.com/business/business-news/animation-guild-ai-report-finds-entry-level-workers-risk-1236000167/",year:2024},{id:10,title:"Artificial Intelligence and Filmmaking: Threats and Features",publication:"Raindance",url:"https://raindance.org/artificial-intelligence-and-filmmaking-threats-and-features/",year:2024},{id:11,title:"How AI is changing the film industry",publication:"University of Washington News",url:"https://www.washington.edu/news/2025/02/25/ai-film-oscars-strike/",year:2025},{id:12,title:"How Artificial Intelligence Can Be a Tool in Filmmaking",publication:"Georgia State University",url:"https://news.gsu.edu/2025/03/31/how-artificial-intelligence-can-be-a-tool-in-filmmaking/",year:2025},{id:13,title:"Hollywood Jobs Most At-Risk From AI",publication:"Hollywood Reporter",url:"https://www.hollywoodreporter.com/business/business-news/ai-
117hollywood-workers-job-cuts-1235811009/",year:2024},{id:14,title:"The impact of AI in Entertainment & Media",publication:"TalentDesk",url:"https://www.talentdesk.io/blog/ai-impact-on-the-entertainment-industry",year:2024},{id:15,title:"Hollywood vs. AI: Disney and Universal Launch Landmark Copyright Suit",publication:"Aird & Berlis LLP",url:"https://www.airdberlis.com/insights/blogs/thespotlight/post/ts-item/hollywood-vs.-ai--disney-and-universal-launch-landmark-copyright-suit",year:2025},{id:16,title:"Federal judge rules in AI company Anthropic's favor in landmark copyright infringement lawsuit",publication:"NPR",url:"https://www.npr.org/2025/06/25/nx-s1-5445242/federal-rules-in-ai-companys-favor-in-landmark-copyright-infringement-lawsuit-authors-bartz-graeber-wallace-johnson-anthropic",year:2025},{id:17,title:"What Filmmakers Should Know about AI Copyright Restrictions",publication:"Filmmaker Magazine",url:"https://filmmakermagazine.com/127770-ai-copyright/",year:2024},{id:18,title:"AI Legal Cases 2025: What Film Producers Need to Know",publication:"AIMICI",url:"https://aimici.co.uk/ai-legal-shake-up-what-recent-court-cases-mean-for-your-next-production/",year:2025}];return v.jsxs("div",{className:"fixed bottom-4 left-4 z-10",children:[v.jsxs(St,{variant:"outline",onClick:()=>a(!i),className:"flex items-center gap-2",children:[i?"Hide References":"Show References",v.jsx(Zv,{className:"h-4 w-4"})]}),i&&v.jsx(xe.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"absolute bottom-12 left-0 w-[80vw] max-w-3xl",children:v.jsxs(Pe,{children:[v.jsx(Ye,{children:v.jsx(Xe,{children:"References"})}),v.jsx(Qe,{className:"max-h-[60vh] overflow-y-auto",children:v.jsx("ol",{className:"list-decimal pl-5 space-y-3",children:o.map(r=>v.jsxs("li",{children:[r.authors&&v.jsxs("span",{children:[r.authors," "]}),"(",r.year,").",r.url?v.jsx("a",{href:r.url,target:"_blank",rel:"noopener noreferrer",className:"ml-1 text-tesai-blue hover:underline",children:r.title}):v.jsx("span",{className:"ml-1",children:r.title}),r.publication&&v.jsxs("span",{children:[". ",v.jsx("em",{children:r.publication})]})]},r.id))})})]})})]})},Z2=({onNext:i})=>v.jsxs(xe.div,{className:"slide flex flex-col items-center justify-center text-center",initial:{opacity:0}
117,animate:{opacity:1},exit:{opacity:0},children:[v.jsx(xe.img,{src:Rb,alt:"TESAI Logo",className:"w-64 h-64 mb-8",initial:{y:-50,opacity:0},animate:{y:0,opacity:1},transition:{delay:.3}}),v.jsx(xe.h1,{className:"text-5xl font-bold mb-4 text-tesai-blue",initial:{y:50,opacity:0},animate:{y:0,opacity:1},transition:{delay:.5},children:"Towards an Ethical Standard for AI Use in Film, TV and Games Production"}),v.jsx(xe.p,{className:"text-xl mb-12",initial:{y:50,opacity:0},animate:{y:0,opacity:1},transition:{delay:.7},children:"A Framework for Responsible AI Integration"}),v.jsx(xe.div,{initial:{opacity:0},animate:{opacity:1},transition:{delay:1},children:v.jsxs(St,{className:"nav-button",onClick:i,children:["Begin Presentation ",v.jsx(Kv,{className:"ml-2"})]})})]}),F2=()=>v.jsxs(xe.div,{className:"slide",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:[v.jsx("h2",{className:"slide-title",children:"What is TESAI?"}),v.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[v.jsxs(xe.div,{initial:{x:-50,opacity:0},animate:{x:0,opacity:1},transition:{delay:.3},children:[v.jsxs(Pe,{children:[v.jsx(Ye,{children:v.jsx(Xe,{children:"Mission"})}),v.jsx(Qe,{children:v.jsx("p",{children:"To establish a standardized certification system for the ethical use of AI in audiovisual production (film, TV, games)."})})]}),v.jsxs(Pe,{className:"mt-6",children:[v.jsx(Ye,{children:v.jsx(Xe,{children:"Goals"})}),v.jsx(Qe,{children:v.jsxs("ul",{className:"list-disc pl-5 space-y-2",children:[v.jsx("li",{children:"Ensure fair, transparent, and responsible AI use"}),v.jsx("li",{children:"Emphasize ethical data sourcing"}),v.jsx("li",{children:"Enhance creativity without replacing jobs"})]})})]})]}),v.jsxs(xe.div,{initial:{x:50,opacity:0},animate:{x:0,opacity:1},transition:{delay:.5},children:[v.jsxs(Pe,{children:[v.jsx(Ye,{children:v.jsx(Xe,{children:"Why is it needed?"})}),v.jsx(Qe,{children:v.jsxs("ul",{className:"list-disc pl-5 space-y-2",children:[v.jsx("li",{children:"Increasing integration of AI tools in production"}),v.jsx("li",{children:"Urgency for a clear ethical framework"}),v.jsx("li",{children:"Serve as a trusted benchmark for responsible AI integration"})]})})]}),v.jsx("div",{className:"mt-6",children:v.jsx("img",{src:X2,alt:"AI in Film Production",className:"rounded-lg shadow-lg w-full h-48 object-cover"})})]})]})]}),J2=()=>{const[i,a]=R.useState("eu-ai-act");return v.jsxs(xe.div,{className:"slide",initial:{opacity:0}
117,animate:{opacity:1},exit:{opacity:0},children:[v.jsx("h2",{className:"slide-title",children:"Current Policy and Regulatory Landscape"}),v.jsxs(Ld,{defaultValue:"eu-ai-act",className:"w-full",onValueChange:a,children:[v.jsxs(Gd,{className:"grid w-full grid-cols-3",children:[v.jsx(zi,{value:"eu-ai-act",children:"EU AI Act"}),v.jsx(zi,{value:"netflix",children:"Netflix Guidelines"}),v.jsx(zi,{value:"tv2",children:"TV2 Denmark Guidelines"})]}),v.jsx(Ca,{value:"eu-ai-act",className:"mt-6",children:v.jsxs(Pe,{children:[v.jsxs(Ye,{children:[v.jsx(Xe,{children:Eu.title}),v.jsx(Zt,{children:Eu.description})]}),v.jsx(Qe,{children:v.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:Eu.keyAreas.map((o,r)=>v.jsxs(xe.div,{className:"p-4 border rounded-lg",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1*r},children:[v.jsx("h4",{className:"font-bold text-tesai-blue mb-2",children:o.title}),v.jsx("p",{className:"text-sm",children:o.description})]},r))})})]})}),v.jsx(Ca,{value:"netflix",className:"mt-6",children:v.jsxs(Pe,{children:[v.jsxs(Ye,{children:[v.jsx(Xe,{children:ti[0].title}),v.jsx(Zt,{children:ti[0].description})]}),v.jsxs(Qe,{children:[v.jsx("h4",{className:"font-bold text-tesai-blue mb-4",children:"Guiding Principles"}),v.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-6",children:ti[0].principles.map((o,r)=>v.jsxs(xe.div,{className:"p-4 border rounded-lg bg-tesai-light-blue",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1*r},children:[v.jsx("h5",{className:"font-bold mb-2",children:o.title}),v.jsx("p",{className:"text-sm",children:o.description})]},r))}),v.jsx("h4",{className:"font-bold text-tesai-blue mb-4",children:"Use Cases Always Requiring Written Approval"}),v.jsx("ul",{className:"list-disc pl-5 space-y-2",children:ti[0].approvalRequired.map((o,r)=>
117v.jsx(xe.li,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.1*r},children:o},r))})]})]})}),v.jsx(Ca,{value:"tv2",className:"mt-6",children:v.jsxs(Pe,{children:[v.jsxs(Ye,{children:[v.jsx(Xe,{children:ti[1].title}),v.jsx(Zt,{children:ti[1].description})]}),v.jsxs(Qe,{children:[v.jsx("h4",{className:"font-bold text-tesai-blue mb-4",children:"Four Guiding Principles"}),v.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-6",children:ti[1].principles.map((o,r)=>v.jsxs(xe.div,{className:"p-4 border rounded-lg bg-tesai-light-teal",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1*r},children:[v.jsx("h5",{className:"font-bold mb-2",children:o.title}),v.jsx("p",{className:"text-sm",children:o.description})]},r))}),v.jsx("h4",{className:"font-bold text-tesai-blue mb-4",children:"Key Prohibitions"}),v.jsx("ul",{className:"list-disc pl-5 space-y-2",children:ti[1].prohibitions.map((o,r)=>v.jsx(xe.li,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.1*r},children:o},r))})]})]})})]})]})},W2=()=>{const[i,a]=R.useState("original"),[o,r]=R.useState(Cu[0].id),[u,f]=R.useState(wr[0].id),d=()=>Cu.find(p=>p.id===o),m=()=>wr.find(p=>p.id===u);return v.jsxs(xe.div,{className:"slide",initial:{opacity:0}
117,animate:{opacity:1},exit:{opacity:0},children:[v.jsx("h2",{className:"slide-title",children:"Stakeholder Concerns and Perspectives"}),v.jsxs(Ld,{defaultValue:"original",className:"w-full mb-6",onValueChange:a,children:[v.jsxs(Gd,{className:"grid w-full grid-cols-3",children:[v.jsx(zi,{value:"original",children:"Original Stakeholders"}),v.jsx(zi,{value:"additional",children:"Additional Stakeholders"}),v.jsx(zi,{value:"other",children:"Other Important Stakeholders"})]}),v.jsx(Ca,{value:"original",className:"mt-0",children:v.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6",children:[v.jsx("div",{className:"md:col-span-1",children:v.jsxs(Pe,{children:[v.jsx(Ye,{children:v.jsx(Xe,{children:"Stakeholders"})}),v.jsx(Qe,{children:v.jsx("div",{className:"flex flex-col space-y-2",children:Cu.map(p=>v.jsx(St,{variant:o===p.id?"default":"outline",className:"justify-start",onClick:()=>r(p.id),children:p.name},p.id))})})]})}),v.jsx("div",{className:"md:col-span-3",children:v.jsxs(Pe,{children:[v.jsxs(Ye,{children:[v.jsx(Xe,{children:d().name}),v.jsx(Zt,{children:"Key concerns regarding AI in audiovisual production"})]}),v.jsx(Qe,{children:v.jsx("div",{className:"space-y-4",children:d().concerns.map((p,h)=>v.jsxs(xe.div,{className:"concern-card",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1*h},children:[v.jsx("h4",{className:"concern-title",children:p.title}),v.jsx("p",{children:p.description})]}
117,p.id))})})]})})]})}),v.jsx(Ca,{value:"additional",className:"mt-0",children:v.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6",children:[v.jsx("div",{className:"md:col-span-1",children:v.jsxs(Pe,{children:[v.jsx(Ye,{children:v.jsx(Xe,{children:"Additional Stakeholders"})}),v.jsx(Qe,{children:v.jsx("div",{className:"flex flex-col space-y-2",children:wr.slice(0,7).map(p=>v.jsx(St,{variant:u===p.id?"default":"outline",className:"justify-start",onClick:()=>f(p.id),children:p.title},p.id))})})]})}),v.jsx("div",{className:"md:col-span-3",children:v.jsxs(Pe,{children:[v.jsxs(Ye,{children:[v.jsx(Xe,{children:m().title}),v.jsx(Zt,{children:"Key concerns regarding AI in audiovisual production"})]}),v.jsx(Qe,{children:v.jsxs("div",{className:"space-y-4",children:[m().concerns.map((p,h)=>v.jsxs(xe.div,{className:"concern-card",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1*h},children:[v.jsx("h4",{className:"concern-title",children:p.title}),v.jsx("p",{children:p.description})]},h)),m().sourceUrl&&v.jsx("div",{className:"mt-6 pt-4 border-t",children:v.jsxs("p",{className:"text-sm text-gray-500",children:[v.jsx("strong",{children:"Source:"})," ",v.jsx("a",{href:m().sourceUrl,target:"_blank",rel:"noopener noreferrer",className:"text-tesai-blue hover:underline",children:m().source})]})})]})})]})})]})}),v.jsx(Ca,{value:"other",className:"mt-0",children:v.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6",children:[v.jsx("div",{className:"md:col-span-1",children:v.jsxs(Pe,{children:[v.jsx(Ye,{children:v.jsx(Xe,{children:"Other Important Stakeholders"})}),v.jsx(Qe,{children:v.jsx("div",{className:"flex flex-col space-y-2",children:wr.slice(7).map(p=>v.jsx(St,{variant:u===p.id?"default":"outline",className:"justify-start",onClick:()=>f(p.id),children:p.title},p.id))})})]})}),v.jsx("div",{className:"md:col-span-3",children:v.jsxs(Pe,{children:[v.jsxs(Ye,{children:[v.jsx(Xe,{children:m().title}),v.jsx(Zt,{children:"Key concerns regarding AI in audiovisual production"})]}),v.jsx(Qe,{children:v.jsxs("div",{className:"space-y-4",children:[m().concerns.map((p,h)=>v.jsxs(xe.div,{className:"concern-card",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1*h},children:[v.jsx("h4",{className:"concern-title",children:p.title}),v.jsx("p",{children:p.description})]},h)),m().sourceUrl&&v.jsx("div",{className:"mt-6 pt-4 border-t",children:v.jsxs("p",{className:"text-sm text-gray-500",children:[v.jsx("strong",{children:"Source:"})," ",v.jsx("a",{href:m().sourceUrl,target:"_blank",rel:"noopener noreferrer",className:"text-tesai-blue hover:underline",children:m().source})]})})]})})]})})]})})]})]})},$2=()=>v.jsxs(xe.div,{className:"slide",initial:{opacity:0}
117,animate:{opacity:1},exit:{opacity:0},children:[v.jsx("h2",{className:"slide-title",children:"TESAI's Role in Addressing Concerns"}),v.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[v.jsx(xe.div,{initial:{x:-50,opacity:0},animate:{x:0,opacity:1},transition:{delay:.3},children:v.jsxs(Pe,{className:"h-full",children:[v.jsx(Ye,{children:v.jsx(Xe,{children:"Mitigating Risks"})}),v.jsx(Qe,{className:"space-y-4",children:v.jsxs("ul",{className:"list-disc pl-5 space-y-4",children:[v.jsxs("li",{children:[v.jsx("strong",{children:"Certification Framework"}),v.jsx("p",{className:"mt-1",children:"Developing a comprehensive certification system that emphasizes ethical data sourcing, transparency, and human oversight."})]}),v.jsxs("li",{children:[v.jsx("strong",{children:"Stakeholder Collaboration"}),v.jsx("p",{className:"mt-1",children:"Providing a common ground for stakeholders to collaborate on standards and best practices."})]}),v.jsxs("li",{children:[v.jsx("strong",{children:"Regulatory Harmony"}),v.jsx("p",{className:"mt-1",children:"Harmonizing with existing and future regulations like the EU AI Act."})]})]})})]})}),v.jsx(xe.div,{initial:{x:50,opacity:0},animate:{x:0,opacity:1},transition:{delay:.5},children:v.jsxs(Pe,{className:"h-full",children:[v.jsx(Ye,{children:v.jsx(Xe,{children:"Fostering Responsible Innovation"})}),v.jsxs(Qe,{children:[v.jsx("div",{className:"mb-6",children:v.jsx("img",{src:Q2,alt:"AI in Game Development",className:"rounded-lg shadow-lg w-full h-48 object-cover"})}),v.jsx("p",{className:"mb-4",children:"TESAI aims to promote education and tools for inclusive, safe, and future-ready AI adoption across the audiovisual industry."}),v.jsx("p",{children:"By establishing clear ethical guidelines and certification processes, TESAI enables innovation while protecting the interests of all stakeholders."})]})]})})]})]}),eE=()=>v.jsxs(xe.div,{className:"slide flex flex-col items-center justify-center text-center",initial:{opacity:0}
117,animate:{opacity:1},exit:{opacity:0},children:[v.jsx(xe.img,{src:Rb,alt:"TESAI Logo",className:"w-32 h-32 mb-8",initial:{scale:0},animate:{scale:1},transition:{delay:.3}}),v.jsx(xe.h2,{className:"slide-title",initial:{y:50,opacity:0},animate:{y:0,opacity:1},transition:{delay:.5},children:"Call to Action"}),v.jsxs(xe.div,{className:"max-w-2xl mx-auto",initial:{y:50,opacity:0},animate:{y:0,opacity:1},transition:{delay:.7},children:[v.jsx("p",{className:"text-xl mb-8",children:"Participation in developing ethical standards is crucial for the sustainable integration of AI in audiovisual production. TESAI certification offers a pathway to responsible innovation, ensuring that AI serves to enhance creativity and efficiency while upholding ethical principles and protecting stakeholder interests."}),v.jsxs(Pe,{className:"mb-8",children:[v.jsx(Ye,{children:v.jsx(Xe,{children:"Next Steps"})}),v.jsx(Qe,{children:v.jsxs("ul",{className:"list-disc pl-5 space-y-2 text-left",children:[v.jsx("li",{children:"Join the TESAI working group to contribute to the development of ethical standards"}),v.jsx("li",{children:"Implement TESAI guidelines in your organization's AI strategy"}),v.jsx("li",{children:"Advocate for responsible AI use in your professional networks"}),v.jsx("li",{children:"Stay informed about evolving AI regulations and best practices"})]})})]}),v.jsx(St,{className:"nav-button",children:"Learn More About TESAI Certification"})]})]});function tE(){const[i,a]=R.useState(0),o=[Z2,F2,J2,P2,H2,W2,Y2,$2,eE],r=()=>{i<o.length-1&&a(i+1)},u=()=>{i>0&&a(i-1)},f=m=>{a(m)},d=o[i];return v.jsxs("div",{className:"min-h-screen bg-background",children:[v.jsx("div",{className:"fixed top-4 left-4 z-10 flex space-x-2",children:v.jsx(St,{variant:"outline",size:"icon",onClick:()=>f(0),title:"Home",children:v.jsx(cC,{className:"h-4 w-4"})})}),v.jsxs("div",{className:"fixed bottom-4 right-4 z-10 flex space-x-2",children:[v.jsx(St,{variant:"outline",size:"icon",onClick:u,disabled:i===0,children:v.jsx(iC,{className:"h-4 w-4"})}),v.jsx(St,{variant:"outline",size:"icon",onClick:r,disabled:i===o.length-1,children:v.jsx(Kv,{className:"h-4 w-4"})})]}),v.jsx("div",{className:"fixed bottom-4 left-1/2 transform -translate-x-1/2 z-10",children:v.jsx("div",{className:"flex space-x-2",children:o.map((m,p)=>v.jsx("button",{className:`w-3 h-3 rounded-full ${p===i?"bg-tesai-blue":"bg-gray-300"}`,onClick:()=>f(p)},p))})}),v.jsx(K2,{}),v.jsx(c1,{mode:"wait",children:v.jsx(d,{onNext:r},i)})]})}lA.createRoot(document.getElementById("root")).render(v.jsx(R.StrictMode,{children:v.jsx(tE,{})}));

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.