glyph-ai 0.9.1 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var Vs;function zy(){return Vs||(Vs=1,(function(m){function a(U,N){var I=U.length;U.push(N);t:for(;0<I;){var st=I-1>>>1,ht=U[st];if(0<c(ht,N))U[st]=N,U[I]=ht,I=st;else break t}}function r(U){return U.length===0?null:U[0]}function i(U){if(U.length===0)return null;var N=U[0],I=U.pop();if(I!==N){U[0]=I;t:for(var st=0,ht=U.length,E=ht>>>1;st<E;){var X=2*(st+1)-1,$=U[X],P=X+1,ut=U[P];if(0>c($,I))P<ht&&0>c(ut,$)?(U[st]=ut,U[P]=I,st=P):(U[st]=$,U[X]=I,st=X);else if(P<ht&&0>c(ut,I))U[st]=ut,U[P]=I,st=P;else break t}}return N}function c(U,N){var I=U.sortIndex-N.sortIndex;return I!==0?I:U.id-N.id}if(m.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;m.unstable_now=function(){return s.now()}}else{var o=Date,h=o.now();m.unstable_now=function(){return o.now()-h}}var p=[],y=[],g=1,b=null,T=3,S=!1,M=!1,v=!1,C=!1,j=typeof setTimeout=="function"?setTimeout:null,L=typeof clearTimeout=="function"?clearTimeout:null,Y=typeof setImmediate<"u"?setImmediate:null;function Z(U){for(var N=r(y);N!==null;){if(N.callback===null)i(y);else if(N.startTime<=U)i(y),N.sortIndex=N.expirationTime,a(p,N);else break;N=r(y)}}function q(U){if(v=!1,Z(U),!M)if(r(p)!==null)M=!0,J||(J=!0,tt());else{var N=r(y);N!==null&&rt(q,N.startTime-U)}}var J=!1,V=-1,H=5,A=-1;function W(){return C?!0:!(m.unstable_now()-A<H)}function lt(){if(C=!1,J){var U=m.unstable_now();A=U;var N=!0;try{t:{M=!1,v&&(v=!1,L(V),V=-1),S=!0;var I=T;try{e:{for(Z(U),b=r(p);b!==null&&!(b.expirationTime>U&&W());){var st=b.callback;if(typeof st=="function"){b.callback=null,T=b.priorityLevel;var ht=st(b.expirationTime<=U);if(U=m.unstable_now(),typeof ht=="function"){b.callback=ht,Z(U),N=!0;break e}b===r(p)&&i(p),Z(U)}else i(p);b=r(p)}if(b!==null)N=!0;else{var E=r(y);E!==null&&rt(q,E.startTime-U),N=!1}}break t}finally{b=null,T=I,S=!1}N=void 0}}finally{N?tt():J=!1}}}var tt;if(typeof Y=="function")tt=function(){Y(lt)};else if(typeof MessageChannel<"u"){var ct=new MessageChannel,St=ct.port2;ct.port1.onmessage=lt,tt=function(){St.postMessage(null)}}else tt=function(){j(lt,0)};function rt(U,N){V=j(function(){U(m.unstable_now())},N)}m.unstable_IdlePriority=5,m.unstable_ImmediatePriority=1,m.unstable_LowPriority=4,m.unstable_NormalPriority=3,m.unstable_Profiling=null,m.unstable_UserBlockingPriority=2,m.unstable_cancelCallback=function(U){U.callback=null},m.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):H=0<U?Math.floor(1e3/U):5},m.unstable_getCurrentPriorityLevel=function(){return T},m.unstable_next=function(U){switch(T){case 1:case 2:case 3:var N=3;break;default:N=T}var I=T;T=N;try{return U()}finally{T=I}},m.unstable_requestPaint=function(){C=!0},m.unstable_runWithPriority=function(U,N){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var I=T;T=U;try{return N()}finally{T=I}},m.unstable_scheduleCallback=function(U,N,I){var st=m.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?st+I:st):I=st,U){case 1:var ht=-1;break;case 2:ht=250;break;case 5:ht=1073741823;break;case 4:ht=1e4;break;default:ht=5e3}return ht=I+ht,U={id:g++,callback:N,priorityLevel:U,startTime:I,expirationTime:ht,sortIndex:-1},I>st?(U.sortIndex=I,a(y,U),r(p)===null&&U===r(y)&&(v?(L(V),V=-1):v=!0,rt(q,I-st))):(U.sortIndex=ht,a(p,U),M||S||(M=!0,J||(J=!0,tt()))),U},m.unstable_shouldYield=W,m.unstable_wrapCallback=function(U){var N=T;return function(){var I=T;T=N;try{return U.apply(this,arguments)}finally{T=I}}}})(Rr)),Rr}var Qs;function Ey(){return Qs||(Qs=1,wr.exports=zy()),wr.exports}var Ur={exports:{}},ft={},Zs;function Ay(){if(Zs)return ft;Zs=1;/**
17
+ */var Vs;function zy(){return Vs||(Vs=1,(function(m){function a(U,N){var P=U.length;U.push(N);t:for(;0<P;){var st=P-1>>>1,ht=U[st];if(0<c(ht,N))U[st]=N,U[P]=ht,P=st;else break t}}function r(U){return U.length===0?null:U[0]}function i(U){if(U.length===0)return null;var N=U[0],P=U.pop();if(P!==N){U[0]=P;t:for(var st=0,ht=U.length,E=ht>>>1;st<E;){var X=2*(st+1)-1,I=U[X],tt=X+1,ut=U[tt];if(0>c(I,P))tt<ht&&0>c(ut,I)?(U[st]=ut,U[tt]=P,st=tt):(U[st]=I,U[X]=P,st=X);else if(tt<ht&&0>c(ut,P))U[st]=ut,U[tt]=P,st=tt;else break t}}return N}function c(U,N){var P=U.sortIndex-N.sortIndex;return P!==0?P:U.id-N.id}if(m.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;m.unstable_now=function(){return s.now()}}else{var o=Date,h=o.now();m.unstable_now=function(){return o.now()-h}}var p=[],y=[],g=1,b=null,T=3,S=!1,A=!1,v=!1,C=!1,j=typeof setTimeout=="function"?setTimeout:null,L=typeof clearTimeout=="function"?clearTimeout:null,Y=typeof setImmediate<"u"?setImmediate:null;function Z(U){for(var N=r(y);N!==null;){if(N.callback===null)i(y);else if(N.startTime<=U)i(y),N.sortIndex=N.expirationTime,a(p,N);else break;N=r(y)}}function q(U){if(v=!1,Z(U),!A)if(r(p)!==null)A=!0,J||(J=!0,et());else{var N=r(y);N!==null&&rt(q,N.startTime-U)}}var J=!1,V=-1,H=5,M=-1;function F(){return C?!0:!(m.unstable_now()-M<H)}function $(){if(C=!1,J){var U=m.unstable_now();M=U;var N=!0;try{t:{A=!1,v&&(v=!1,L(V),V=-1),S=!0;var P=T;try{e:{for(Z(U),b=r(p);b!==null&&!(b.expirationTime>U&&F());){var st=b.callback;if(typeof st=="function"){b.callback=null,T=b.priorityLevel;var ht=st(b.expirationTime<=U);if(U=m.unstable_now(),typeof ht=="function"){b.callback=ht,Z(U),N=!0;break e}b===r(p)&&i(p),Z(U)}else i(p);b=r(p)}if(b!==null)N=!0;else{var E=r(y);E!==null&&rt(q,E.startTime-U),N=!1}}break t}finally{b=null,T=P,S=!1}N=void 0}}finally{N?et():J=!1}}}var et;if(typeof Y=="function")et=function(){Y($)};else if(typeof MessageChannel<"u"){var ct=new MessageChannel,St=ct.port2;ct.port1.onmessage=$,et=function(){St.postMessage(null)}}else et=function(){j($,0)};function rt(U,N){V=j(function(){U(m.unstable_now())},N)}m.unstable_IdlePriority=5,m.unstable_ImmediatePriority=1,m.unstable_LowPriority=4,m.unstable_NormalPriority=3,m.unstable_Profiling=null,m.unstable_UserBlockingPriority=2,m.unstable_cancelCallback=function(U){U.callback=null},m.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):H=0<U?Math.floor(1e3/U):5},m.unstable_getCurrentPriorityLevel=function(){return T},m.unstable_next=function(U){switch(T){case 1:case 2:case 3:var N=3;break;default:N=T}var P=T;T=N;try{return U()}finally{T=P}},m.unstable_requestPaint=function(){C=!0},m.unstable_runWithPriority=function(U,N){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var P=T;T=U;try{return N()}finally{T=P}},m.unstable_scheduleCallback=function(U,N,P){var st=m.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?st+P:st):P=st,U){case 1:var ht=-1;break;case 2:ht=250;break;case 5:ht=1073741823;break;case 4:ht=1e4;break;default:ht=5e3}return ht=P+ht,U={id:g++,callback:N,priorityLevel:U,startTime:P,expirationTime:ht,sortIndex:-1},P>st?(U.sortIndex=P,a(y,U),r(p)===null&&U===r(y)&&(v?(L(V),V=-1):v=!0,rt(q,P-st))):(U.sortIndex=ht,a(p,U),A||S||(A=!0,J||(J=!0,et()))),U},m.unstable_shouldYield=F,m.unstable_wrapCallback=function(U){var N=T;return function(){var P=T;T=N;try{return U.apply(this,arguments)}finally{T=P}}}})(Rr)),Rr}var Qs;function Ey(){return Qs||(Qs=1,wr.exports=zy()),wr.exports}var Ur={exports:{}},ft={},Zs;function Ay(){if(Zs)return ft;Zs=1;/**
18
18
  * @license React
19
19
  * react.production.js
20
20
  *
@@ -22,7 +22,7 @@
22
22
  *
23
23
  * This source code is licensed under the MIT license found in the
24
24
  * LICENSE file in the root directory of this source tree.
25
- */var m=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),o=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),T=Symbol.iterator;function S(E){return E===null||typeof E!="object"?null:(E=T&&E[T]||E["@@iterator"],typeof E=="function"?E:null)}var M={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,C={};function j(E,X,$){this.props=E,this.context=X,this.refs=C,this.updater=$||M}j.prototype.isReactComponent={},j.prototype.setState=function(E,X){if(typeof E!="object"&&typeof E!="function"&&E!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,X,"setState")},j.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function L(){}L.prototype=j.prototype;function Y(E,X,$){this.props=E,this.context=X,this.refs=C,this.updater=$||M}var Z=Y.prototype=new L;Z.constructor=Y,v(Z,j.prototype),Z.isPureReactComponent=!0;var q=Array.isArray;function J(){}var V={H:null,A:null,T:null,S:null},H=Object.prototype.hasOwnProperty;function A(E,X,$){var P=$.ref;return{$$typeof:m,type:E,key:X,ref:P!==void 0?P:null,props:$}}function W(E,X){return A(E.type,X,E.props)}function lt(E){return typeof E=="object"&&E!==null&&E.$$typeof===m}function tt(E){var X={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function($){return X[$]})}var ct=/\/+/g;function St(E,X){return typeof E=="object"&&E!==null&&E.key!=null?tt(""+E.key):X.toString(36)}function rt(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(J,J):(E.status="pending",E.then(function(X){E.status==="pending"&&(E.status="fulfilled",E.value=X)},function(X){E.status==="pending"&&(E.status="rejected",E.reason=X)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function U(E,X,$,P,ut){var mt=typeof E;(mt==="undefined"||mt==="boolean")&&(E=null);var Et=!1;if(E===null)Et=!0;else switch(mt){case"bigint":case"string":case"number":Et=!0;break;case"object":switch(E.$$typeof){case m:case a:Et=!0;break;case g:return Et=E._init,U(Et(E._payload),X,$,P,ut)}}if(Et)return ut=ut(E),Et=P===""?"."+St(E,0):P,q(ut)?($="",Et!=null&&($=Et.replace(ct,"$&/")+"/"),U(ut,X,$,"",function(ai){return ai})):ut!=null&&(lt(ut)&&(ut=W(ut,$+(ut.key==null||E&&E.key===ut.key?"":(""+ut.key).replace(ct,"$&/")+"/")+Et)),X.push(ut)),1;Et=0;var he=P===""?".":P+":";if(q(E))for(var Qt=0;Qt<E.length;Qt++)P=E[Qt],mt=he+St(P,Qt),Et+=U(P,X,$,mt,ut);else if(Qt=S(E),typeof Qt=="function")for(E=Qt.call(E),Qt=0;!(P=E.next()).done;)P=P.value,mt=he+St(P,Qt++),Et+=U(P,X,$,mt,ut);else if(mt==="object"){if(typeof E.then=="function")return U(rt(E),X,$,P,ut);throw X=String(E),Error("Objects are not valid as a React child (found: "+(X==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":X)+"). If you meant to render a collection of children, use an array instead.")}return Et}function N(E,X,$){if(E==null)return E;var P=[],ut=0;return U(E,P,"","",function(mt){return X.call($,mt,ut++)}),P}function I(E){if(E._status===-1){var X=E._result;X=X(),X.then(function($){(E._status===0||E._status===-1)&&(E._status=1,E._result=$)},function($){(E._status===0||E._status===-1)&&(E._status=2,E._result=$)}),E._status===-1&&(E._status=0,E._result=X)}if(E._status===1)return E._result.default;throw E._result}var st=typeof reportError=="function"?reportError:function(E){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var X=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(X))return}console.error(E)},ht={map:N,forEach:function(E,X,$){N(E,function(){X.apply(this,arguments)},$)},count:function(E){var X=0;return N(E,function(){X++}),X},toArray:function(E){return N(E,function(X){return X})||[]},only:function(E){if(!lt(E))throw Error("React.Children.only expected to receive a single React element child.");return E}};return ft.Activity=b,ft.Children=ht,ft.Component=j,ft.Fragment=r,ft.Profiler=c,ft.PureComponent=Y,ft.StrictMode=i,ft.Suspense=p,ft.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=V,ft.__COMPILER_RUNTIME={__proto__:null,c:function(E){return V.H.useMemoCache(E)}},ft.cache=function(E){return function(){return E.apply(null,arguments)}},ft.cacheSignal=function(){return null},ft.cloneElement=function(E,X,$){if(E==null)throw Error("The argument must be a React element, but you passed "+E+".");var P=v({},E.props),ut=E.key;if(X!=null)for(mt in X.key!==void 0&&(ut=""+X.key),X)!H.call(X,mt)||mt==="key"||mt==="__self"||mt==="__source"||mt==="ref"&&X.ref===void 0||(P[mt]=X[mt]);var mt=arguments.length-2;if(mt===1)P.children=$;else if(1<mt){for(var Et=Array(mt),he=0;he<mt;he++)Et[he]=arguments[he+2];P.children=Et}return A(E.type,ut,P)},ft.createContext=function(E){return E={$$typeof:o,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null},E.Provider=E,E.Consumer={$$typeof:s,_context:E},E},ft.createElement=function(E,X,$){var P,ut={},mt=null;if(X!=null)for(P in X.key!==void 0&&(mt=""+X.key),X)H.call(X,P)&&P!=="key"&&P!=="__self"&&P!=="__source"&&(ut[P]=X[P]);var Et=arguments.length-2;if(Et===1)ut.children=$;else if(1<Et){for(var he=Array(Et),Qt=0;Qt<Et;Qt++)he[Qt]=arguments[Qt+2];ut.children=he}if(E&&E.defaultProps)for(P in Et=E.defaultProps,Et)ut[P]===void 0&&(ut[P]=Et[P]);return A(E,mt,ut)},ft.createRef=function(){return{current:null}},ft.forwardRef=function(E){return{$$typeof:h,render:E}},ft.isValidElement=lt,ft.lazy=function(E){return{$$typeof:g,_payload:{_status:-1,_result:E},_init:I}},ft.memo=function(E,X){return{$$typeof:y,type:E,compare:X===void 0?null:X}},ft.startTransition=function(E){var X=V.T,$={};V.T=$;try{var P=E(),ut=V.S;ut!==null&&ut($,P),typeof P=="object"&&P!==null&&typeof P.then=="function"&&P.then(J,st)}catch(mt){st(mt)}finally{X!==null&&$.types!==null&&(X.types=$.types),V.T=X}},ft.unstable_useCacheRefresh=function(){return V.H.useCacheRefresh()},ft.use=function(E){return V.H.use(E)},ft.useActionState=function(E,X,$){return V.H.useActionState(E,X,$)},ft.useCallback=function(E,X){return V.H.useCallback(E,X)},ft.useContext=function(E){return V.H.useContext(E)},ft.useDebugValue=function(){},ft.useDeferredValue=function(E,X){return V.H.useDeferredValue(E,X)},ft.useEffect=function(E,X){return V.H.useEffect(E,X)},ft.useEffectEvent=function(E){return V.H.useEffectEvent(E)},ft.useId=function(){return V.H.useId()},ft.useImperativeHandle=function(E,X,$){return V.H.useImperativeHandle(E,X,$)},ft.useInsertionEffect=function(E,X){return V.H.useInsertionEffect(E,X)},ft.useLayoutEffect=function(E,X){return V.H.useLayoutEffect(E,X)},ft.useMemo=function(E,X){return V.H.useMemo(E,X)},ft.useOptimistic=function(E,X){return V.H.useOptimistic(E,X)},ft.useReducer=function(E,X,$){return V.H.useReducer(E,X,$)},ft.useRef=function(E){return V.H.useRef(E)},ft.useState=function(E){return V.H.useState(E)},ft.useSyncExternalStore=function(E,X,$){return V.H.useSyncExternalStore(E,X,$)},ft.useTransition=function(){return V.H.useTransition()},ft.version="19.2.4",ft}var Ks;function Nr(){return Ks||(Ks=1,Ur.exports=Ay()),Ur.exports}var jr={exports:{}},ce={};/**
25
+ */var m=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),o=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),T=Symbol.iterator;function S(E){return E===null||typeof E!="object"?null:(E=T&&E[T]||E["@@iterator"],typeof E=="function"?E:null)}var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,C={};function j(E,X,I){this.props=E,this.context=X,this.refs=C,this.updater=I||A}j.prototype.isReactComponent={},j.prototype.setState=function(E,X){if(typeof E!="object"&&typeof E!="function"&&E!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,X,"setState")},j.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function L(){}L.prototype=j.prototype;function Y(E,X,I){this.props=E,this.context=X,this.refs=C,this.updater=I||A}var Z=Y.prototype=new L;Z.constructor=Y,v(Z,j.prototype),Z.isPureReactComponent=!0;var q=Array.isArray;function J(){}var V={H:null,A:null,T:null,S:null},H=Object.prototype.hasOwnProperty;function M(E,X,I){var tt=I.ref;return{$$typeof:m,type:E,key:X,ref:tt!==void 0?tt:null,props:I}}function F(E,X){return M(E.type,X,E.props)}function $(E){return typeof E=="object"&&E!==null&&E.$$typeof===m}function et(E){var X={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(I){return X[I]})}var ct=/\/+/g;function St(E,X){return typeof E=="object"&&E!==null&&E.key!=null?et(""+E.key):X.toString(36)}function rt(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(J,J):(E.status="pending",E.then(function(X){E.status==="pending"&&(E.status="fulfilled",E.value=X)},function(X){E.status==="pending"&&(E.status="rejected",E.reason=X)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function U(E,X,I,tt,ut){var mt=typeof E;(mt==="undefined"||mt==="boolean")&&(E=null);var Et=!1;if(E===null)Et=!0;else switch(mt){case"bigint":case"string":case"number":Et=!0;break;case"object":switch(E.$$typeof){case m:case a:Et=!0;break;case g:return Et=E._init,U(Et(E._payload),X,I,tt,ut)}}if(Et)return ut=ut(E),Et=tt===""?"."+St(E,0):tt,q(ut)?(I="",Et!=null&&(I=Et.replace(ct,"$&/")+"/"),U(ut,X,I,"",function(ai){return ai})):ut!=null&&($(ut)&&(ut=F(ut,I+(ut.key==null||E&&E.key===ut.key?"":(""+ut.key).replace(ct,"$&/")+"/")+Et)),X.push(ut)),1;Et=0;var he=tt===""?".":tt+":";if(q(E))for(var Qt=0;Qt<E.length;Qt++)tt=E[Qt],mt=he+St(tt,Qt),Et+=U(tt,X,I,mt,ut);else if(Qt=S(E),typeof Qt=="function")for(E=Qt.call(E),Qt=0;!(tt=E.next()).done;)tt=tt.value,mt=he+St(tt,Qt++),Et+=U(tt,X,I,mt,ut);else if(mt==="object"){if(typeof E.then=="function")return U(rt(E),X,I,tt,ut);throw X=String(E),Error("Objects are not valid as a React child (found: "+(X==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":X)+"). If you meant to render a collection of children, use an array instead.")}return Et}function N(E,X,I){if(E==null)return E;var tt=[],ut=0;return U(E,tt,"","",function(mt){return X.call(I,mt,ut++)}),tt}function P(E){if(E._status===-1){var X=E._result;X=X(),X.then(function(I){(E._status===0||E._status===-1)&&(E._status=1,E._result=I)},function(I){(E._status===0||E._status===-1)&&(E._status=2,E._result=I)}),E._status===-1&&(E._status=0,E._result=X)}if(E._status===1)return E._result.default;throw E._result}var st=typeof reportError=="function"?reportError:function(E){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var X=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(X))return}console.error(E)},ht={map:N,forEach:function(E,X,I){N(E,function(){X.apply(this,arguments)},I)},count:function(E){var X=0;return N(E,function(){X++}),X},toArray:function(E){return N(E,function(X){return X})||[]},only:function(E){if(!$(E))throw Error("React.Children.only expected to receive a single React element child.");return E}};return ft.Activity=b,ft.Children=ht,ft.Component=j,ft.Fragment=r,ft.Profiler=c,ft.PureComponent=Y,ft.StrictMode=i,ft.Suspense=p,ft.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=V,ft.__COMPILER_RUNTIME={__proto__:null,c:function(E){return V.H.useMemoCache(E)}},ft.cache=function(E){return function(){return E.apply(null,arguments)}},ft.cacheSignal=function(){return null},ft.cloneElement=function(E,X,I){if(E==null)throw Error("The argument must be a React element, but you passed "+E+".");var tt=v({},E.props),ut=E.key;if(X!=null)for(mt in X.key!==void 0&&(ut=""+X.key),X)!H.call(X,mt)||mt==="key"||mt==="__self"||mt==="__source"||mt==="ref"&&X.ref===void 0||(tt[mt]=X[mt]);var mt=arguments.length-2;if(mt===1)tt.children=I;else if(1<mt){for(var Et=Array(mt),he=0;he<mt;he++)Et[he]=arguments[he+2];tt.children=Et}return M(E.type,ut,tt)},ft.createContext=function(E){return E={$$typeof:o,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null},E.Provider=E,E.Consumer={$$typeof:s,_context:E},E},ft.createElement=function(E,X,I){var tt,ut={},mt=null;if(X!=null)for(tt in X.key!==void 0&&(mt=""+X.key),X)H.call(X,tt)&&tt!=="key"&&tt!=="__self"&&tt!=="__source"&&(ut[tt]=X[tt]);var Et=arguments.length-2;if(Et===1)ut.children=I;else if(1<Et){for(var he=Array(Et),Qt=0;Qt<Et;Qt++)he[Qt]=arguments[Qt+2];ut.children=he}if(E&&E.defaultProps)for(tt in Et=E.defaultProps,Et)ut[tt]===void 0&&(ut[tt]=Et[tt]);return M(E,mt,ut)},ft.createRef=function(){return{current:null}},ft.forwardRef=function(E){return{$$typeof:h,render:E}},ft.isValidElement=$,ft.lazy=function(E){return{$$typeof:g,_payload:{_status:-1,_result:E},_init:P}},ft.memo=function(E,X){return{$$typeof:y,type:E,compare:X===void 0?null:X}},ft.startTransition=function(E){var X=V.T,I={};V.T=I;try{var tt=E(),ut=V.S;ut!==null&&ut(I,tt),typeof tt=="object"&&tt!==null&&typeof tt.then=="function"&&tt.then(J,st)}catch(mt){st(mt)}finally{X!==null&&I.types!==null&&(X.types=I.types),V.T=X}},ft.unstable_useCacheRefresh=function(){return V.H.useCacheRefresh()},ft.use=function(E){return V.H.use(E)},ft.useActionState=function(E,X,I){return V.H.useActionState(E,X,I)},ft.useCallback=function(E,X){return V.H.useCallback(E,X)},ft.useContext=function(E){return V.H.useContext(E)},ft.useDebugValue=function(){},ft.useDeferredValue=function(E,X){return V.H.useDeferredValue(E,X)},ft.useEffect=function(E,X){return V.H.useEffect(E,X)},ft.useEffectEvent=function(E){return V.H.useEffectEvent(E)},ft.useId=function(){return V.H.useId()},ft.useImperativeHandle=function(E,X,I){return V.H.useImperativeHandle(E,X,I)},ft.useInsertionEffect=function(E,X){return V.H.useInsertionEffect(E,X)},ft.useLayoutEffect=function(E,X){return V.H.useLayoutEffect(E,X)},ft.useMemo=function(E,X){return V.H.useMemo(E,X)},ft.useOptimistic=function(E,X){return V.H.useOptimistic(E,X)},ft.useReducer=function(E,X,I){return V.H.useReducer(E,X,I)},ft.useRef=function(E){return V.H.useRef(E)},ft.useState=function(E){return V.H.useState(E)},ft.useSyncExternalStore=function(E,X,I){return V.H.useSyncExternalStore(E,X,I)},ft.useTransition=function(){return V.H.useTransition()},ft.version="19.2.4",ft}var Ks;function Nr(){return Ks||(Ks=1,Ur.exports=Ay()),Ur.exports}var jr={exports:{}},ce={};/**
26
26
  * @license React
27
27
  * react-dom.production.js
28
28
  *
@@ -38,31 +38,31 @@
38
38
  *
39
39
  * This source code is licensed under the MIT license found in the
40
40
  * LICENSE file in the root directory of this source tree.
41
- */var m=Ey(),a=Nr(),r=Oy();function i(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)e+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function s(t){var e=t,l=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(l=e.return),t=e.return;while(t)}return e.tag===3?l:null}function o(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function h(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function p(t){if(s(t)!==t)throw Error(i(188))}function y(t){var e=t.alternate;if(!e){if(e=s(t),e===null)throw Error(i(188));return e!==t?null:t}for(var l=t,n=e;;){var u=l.return;if(u===null)break;var f=u.alternate;if(f===null){if(n=u.return,n!==null){l=n;continue}break}if(u.child===f.child){for(f=u.child;f;){if(f===l)return p(u),t;if(f===n)return p(u),e;f=f.sibling}throw Error(i(188))}if(l.return!==n.return)l=u,n=f;else{for(var d=!1,_=u.child;_;){if(_===l){d=!0,l=u,n=f;break}if(_===n){d=!0,n=u,l=f;break}_=_.sibling}if(!d){for(_=f.child;_;){if(_===l){d=!0,l=f,n=u;break}if(_===n){d=!0,n=f,l=u;break}_=_.sibling}if(!d)throw Error(i(189))}}if(l.alternate!==n)throw Error(i(190))}if(l.tag!==3)throw Error(i(188));return l.stateNode.current===l?t:e}function g(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=g(t),e!==null)return e;t=t.sibling}return null}var b=Object.assign,T=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),M=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),L=Symbol.for("react.consumer"),Y=Symbol.for("react.context"),Z=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),A=Symbol.for("react.activity"),W=Symbol.for("react.memo_cache_sentinel"),lt=Symbol.iterator;function tt(t){return t===null||typeof t!="object"?null:(t=lt&&t[lt]||t["@@iterator"],typeof t=="function"?t:null)}var ct=Symbol.for("react.client.reference");function St(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===ct?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case v:return"Fragment";case j:return"Profiler";case C:return"StrictMode";case q:return"Suspense";case J:return"SuspenseList";case A:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case M:return"Portal";case Y:return t.displayName||"Context";case L:return(t._context.displayName||"Context")+".Consumer";case Z:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case V:return e=t.displayName||null,e!==null?e:St(t.type)||"Memo";case H:e=t._payload,t=t._init;try{return St(t(e))}catch{}}return null}var rt=Array.isArray,U=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,N=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I={pending:!1,data:null,method:null,action:null},st=[],ht=-1;function E(t){return{current:t}}function X(t){0>ht||(t.current=st[ht],st[ht]=null,ht--)}function $(t,e){ht++,st[ht]=t.current,t.current=e}var P=E(null),ut=E(null),mt=E(null),Et=E(null);function he(t,e){switch($(mt,e),$(ut,t),$(P,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Qm(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Qm(e),t=Zm(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}X(P),$(P,t)}function Qt(){X(P),X(ut),X(mt)}function ai(t){t.memoizedState!==null&&$(Et,t);var e=P.current,l=Zm(e,t.type);e!==l&&($(ut,t),$(P,l))}function ou(t){ut.current===t&&(X(P),X(ut)),Et.current===t&&(X(Et),Ki._currentValue=I)}var zf,Sd;function An(t){if(zf===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);zf=e&&e[1]||"",Sd=-1<l.stack.indexOf(`
41
+ */var m=Ey(),a=Nr(),r=Oy();function i(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)e+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function s(t){var e=t,l=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(l=e.return),t=e.return;while(t)}return e.tag===3?l:null}function o(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function h(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function p(t){if(s(t)!==t)throw Error(i(188))}function y(t){var e=t.alternate;if(!e){if(e=s(t),e===null)throw Error(i(188));return e!==t?null:t}for(var l=t,n=e;;){var u=l.return;if(u===null)break;var f=u.alternate;if(f===null){if(n=u.return,n!==null){l=n;continue}break}if(u.child===f.child){for(f=u.child;f;){if(f===l)return p(u),t;if(f===n)return p(u),e;f=f.sibling}throw Error(i(188))}if(l.return!==n.return)l=u,n=f;else{for(var d=!1,_=u.child;_;){if(_===l){d=!0,l=u,n=f;break}if(_===n){d=!0,n=u,l=f;break}_=_.sibling}if(!d){for(_=f.child;_;){if(_===l){d=!0,l=f,n=u;break}if(_===n){d=!0,n=f,l=u;break}_=_.sibling}if(!d)throw Error(i(189))}}if(l.alternate!==n)throw Error(i(190))}if(l.tag!==3)throw Error(i(188));return l.stateNode.current===l?t:e}function g(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=g(t),e!==null)return e;t=t.sibling}return null}var b=Object.assign,T=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),L=Symbol.for("react.consumer"),Y=Symbol.for("react.context"),Z=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),M=Symbol.for("react.activity"),F=Symbol.for("react.memo_cache_sentinel"),$=Symbol.iterator;function et(t){return t===null||typeof t!="object"?null:(t=$&&t[$]||t["@@iterator"],typeof t=="function"?t:null)}var ct=Symbol.for("react.client.reference");function St(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===ct?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case v:return"Fragment";case j:return"Profiler";case C:return"StrictMode";case q:return"Suspense";case J:return"SuspenseList";case M:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case A:return"Portal";case Y:return t.displayName||"Context";case L:return(t._context.displayName||"Context")+".Consumer";case Z:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case V:return e=t.displayName||null,e!==null?e:St(t.type)||"Memo";case H:e=t._payload,t=t._init;try{return St(t(e))}catch{}}return null}var rt=Array.isArray,U=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,N=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P={pending:!1,data:null,method:null,action:null},st=[],ht=-1;function E(t){return{current:t}}function X(t){0>ht||(t.current=st[ht],st[ht]=null,ht--)}function I(t,e){ht++,st[ht]=t.current,t.current=e}var tt=E(null),ut=E(null),mt=E(null),Et=E(null);function he(t,e){switch(I(mt,e),I(ut,t),I(tt,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Qm(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Qm(e),t=Zm(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}X(tt),I(tt,t)}function Qt(){X(tt),X(ut),X(mt)}function ai(t){t.memoizedState!==null&&I(Et,t);var e=tt.current,l=Zm(e,t.type);e!==l&&(I(ut,t),I(tt,l))}function ou(t){ut.current===t&&(X(tt),X(ut)),Et.current===t&&(X(Et),Ki._currentValue=P)}var zf,Sd;function An(t){if(zf===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);zf=e&&e[1]||"",Sd=-1<l.stack.indexOf(`
42
42
  at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
43
43
  `+zf+t+Sd}var Ef=!1;function Af(t,e){if(!t||Ef)return"";Ef=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(e){var Q=function(){throw Error()};if(Object.defineProperty(Q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Q,[])}catch(B){var R=B}Reflect.construct(t,[],Q)}else{try{Q.call()}catch(B){R=B}t.call(Q.prototype)}}else{try{throw Error()}catch(B){R=B}(Q=t())&&typeof Q.catch=="function"&&Q.catch(function(){})}}catch(B){if(B&&R&&typeof B.stack=="string")return[B.stack,R.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var f=n.DetermineComponentFrameRoot(),d=f[0],_=f[1];if(d&&_){var x=d.split(`
44
44
  `),w=_.split(`
45
45
  `);for(u=n=0;n<x.length&&!x[n].includes("DetermineComponentFrameRoot");)n++;for(;u<w.length&&!w[u].includes("DetermineComponentFrameRoot");)u++;if(n===x.length||u===w.length)for(n=x.length-1,u=w.length-1;1<=n&&0<=u&&x[n]!==w[u];)u--;for(;1<=n&&0<=u;n--,u--)if(x[n]!==w[u]){if(n!==1||u!==1)do if(n--,u--,0>u||x[n]!==w[u]){var G=`
46
46
  `+x[n].replace(" at new "," at ");return t.displayName&&G.includes("<anonymous>")&&(G=G.replace("<anonymous>",t.displayName)),G}while(1<=n&&0<=u);break}}}finally{Ef=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?An(l):""}function _g(t,e){switch(t.tag){case 26:case 27:case 5:return An(t.type);case 16:return An("Lazy");case 13:return t.child!==e&&e!==null?An("Suspense Fallback"):An("Suspense");case 19:return An("SuspenseList");case 0:case 15:return Af(t.type,!1);case 11:return Af(t.type.render,!1);case 1:return Af(t.type,!0);case 31:return An("Activity");default:return""}}function xd(t){try{var e="",l=null;do e+=_g(t,l),l=t,t=t.return;while(t);return e}catch(n){return`
47
47
  Error generating stack: `+n.message+`
48
- `+n.stack}}var Mf=Object.prototype.hasOwnProperty,Of=m.unstable_scheduleCallback,Cf=m.unstable_cancelCallback,vg=m.unstable_shouldYield,bg=m.unstable_requestPaint,Ne=m.unstable_now,Sg=m.unstable_getCurrentPriorityLevel,Td=m.unstable_ImmediatePriority,zd=m.unstable_UserBlockingPriority,du=m.unstable_NormalPriority,xg=m.unstable_LowPriority,Ed=m.unstable_IdlePriority,Tg=m.log,zg=m.unstable_setDisableYieldValue,ii=null,je=null;function Ql(t){if(typeof Tg=="function"&&zg(t),je&&typeof je.setStrictMode=="function")try{je.setStrictMode(ii,t)}catch{}}var Be=Math.clz32?Math.clz32:Mg,Eg=Math.log,Ag=Math.LN2;function Mg(t){return t>>>=0,t===0?32:31-(Eg(t)/Ag|0)|0}var hu=256,mu=262144,yu=4194304;function Mn(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function pu(t,e,l){var n=t.pendingLanes;if(n===0)return 0;var u=0,f=t.suspendedLanes,d=t.pingedLanes;t=t.warmLanes;var _=n&134217727;return _!==0?(n=_&~f,n!==0?u=Mn(n):(d&=_,d!==0?u=Mn(d):l||(l=_&~t,l!==0&&(u=Mn(l))))):(_=n&~f,_!==0?u=Mn(_):d!==0?u=Mn(d):l||(l=n&~t,l!==0&&(u=Mn(l)))),u===0?0:e!==0&&e!==u&&(e&f)===0&&(f=u&-u,l=e&-e,f>=l||f===32&&(l&4194048)!==0)?e:u}function ui(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Og(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 Ad(){var t=yu;return yu<<=1,(yu&62914560)===0&&(yu=4194304),t}function Df(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function ri(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Cg(t,e,l,n,u,f){var d=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var _=t.entanglements,x=t.expirationTimes,w=t.hiddenUpdates;for(l=d&~l;0<l;){var G=31-Be(l),Q=1<<G;_[G]=0,x[G]=-1;var R=w[G];if(R!==null)for(w[G]=null,G=0;G<R.length;G++){var B=R[G];B!==null&&(B.lane&=-536870913)}l&=~Q}n!==0&&Md(t,n,0),f!==0&&u===0&&t.tag!==0&&(t.suspendedLanes|=f&~(d&~e))}function Md(t,e,l){t.pendingLanes|=e,t.suspendedLanes&=~e;var n=31-Be(e);t.entangledLanes|=e,t.entanglements[n]=t.entanglements[n]|1073741824|l&261930}function Od(t,e){var l=t.entangledLanes|=e;for(t=t.entanglements;l;){var n=31-Be(l),u=1<<n;u&e|t[n]&e&&(t[n]|=e),l&=~u}}function Cd(t,e){var l=e&-e;return l=(l&42)!==0?1:wf(l),(l&(t.suspendedLanes|e))!==0?0:l}function wf(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Rf(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Dd(){var t=N.p;return t!==0?t:(t=window.event,t===void 0?32:yy(t.type))}function wd(t,e){var l=N.p;try{return N.p=t,e()}finally{N.p=l}}var Zl=Math.random().toString(36).slice(2),ae="__reactFiber$"+Zl,be="__reactProps$"+Zl,na="__reactContainer$"+Zl,Uf="__reactEvents$"+Zl,Dg="__reactListeners$"+Zl,wg="__reactHandles$"+Zl,Rd="__reactResources$"+Zl,fi="__reactMarker$"+Zl;function Nf(t){delete t[ae],delete t[be],delete t[Uf],delete t[Dg],delete t[wg]}function aa(t){var e=t[ae];if(e)return e;for(var l=t.parentNode;l;){if(e=l[na]||l[ae]){if(l=e.alternate,e.child!==null||l!==null&&l.child!==null)for(t=Pm(t);t!==null;){if(l=t[ae])return l;t=Pm(t)}return e}t=l,l=t.parentNode}return null}function ia(t){if(t=t[ae]||t[na]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function ci(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(i(33))}function ua(t){var e=t[Rd];return e||(e=t[Rd]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function ee(t){t[fi]=!0}var Ud=new Set,Nd={};function On(t,e){ra(t,e),ra(t+"Capture",e)}function ra(t,e){for(Nd[t]=e,t=0;t<e.length;t++)Ud.add(e[t])}var Rg=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),jd={},Bd={};function Ug(t){return Mf.call(Bd,t)?!0:Mf.call(jd,t)?!1:Rg.test(t)?Bd[t]=!0:(jd[t]=!0,!1)}function gu(t,e,l){if(Ug(e))if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var n=e.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+l)}}function _u(t,e,l){if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+l)}}function _l(t,e,l,n){if(n===null)t.removeAttribute(l);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(e,l,""+n)}}function Ke(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Hd(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Ng(t,e,l){var n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var u=n.get,f=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return u.call(this)},set:function(d){l=""+d,f.call(this,d)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return l},setValue:function(d){l=""+d},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function jf(t){if(!t._valueTracker){var e=Hd(t)?"checked":"value";t._valueTracker=Ng(t,e,""+t[e])}}function Ld(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),n="";return t&&(n=Hd(t)?t.checked?"true":"false":t.value),t=n,t!==l?(e.setValue(t),!0):!1}function vu(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var jg=/[\n"\\]/g;function Je(t){return t.replace(jg,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Bf(t,e,l,n,u,f,d,_){t.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?t.type=d:t.removeAttribute("type"),e!=null?d==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Ke(e)):t.value!==""+Ke(e)&&(t.value=""+Ke(e)):d!=="submit"&&d!=="reset"||t.removeAttribute("value"),e!=null?Hf(t,d,Ke(e)):l!=null?Hf(t,d,Ke(l)):n!=null&&t.removeAttribute("value"),u==null&&f!=null&&(t.defaultChecked=!!f),u!=null&&(t.checked=u&&typeof u!="function"&&typeof u!="symbol"),_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?t.name=""+Ke(_):t.removeAttribute("name")}function qd(t,e,l,n,u,f,d,_){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.type=f),e!=null||l!=null){if(!(f!=="submit"&&f!=="reset"||e!=null)){jf(t);return}l=l!=null?""+Ke(l):"",e=e!=null?""+Ke(e):l,_||e===t.value||(t.value=e),t.defaultValue=e}n=n??u,n=typeof n!="function"&&typeof n!="symbol"&&!!n,t.checked=_?t.checked:!!n,t.defaultChecked=!!n,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(t.name=d),jf(t)}function Hf(t,e,l){e==="number"&&vu(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function fa(t,e,l,n){if(t=t.options,e){e={};for(var u=0;u<l.length;u++)e["$"+l[u]]=!0;for(l=0;l<t.length;l++)u=e.hasOwnProperty("$"+t[l].value),t[l].selected!==u&&(t[l].selected=u),u&&n&&(t[l].defaultSelected=!0)}else{for(l=""+Ke(l),e=null,u=0;u<t.length;u++){if(t[u].value===l){t[u].selected=!0,n&&(t[u].defaultSelected=!0);return}e!==null||t[u].disabled||(e=t[u])}e!==null&&(e.selected=!0)}}function Yd(t,e,l){if(e!=null&&(e=""+Ke(e),e!==t.value&&(t.value=e),l==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=l!=null?""+Ke(l):""}function Gd(t,e,l,n){if(e==null){if(n!=null){if(l!=null)throw Error(i(92));if(rt(n)){if(1<n.length)throw Error(i(93));n=n[0]}l=n}l==null&&(l=""),e=l}l=Ke(e),t.defaultValue=l,n=t.textContent,n===l&&n!==""&&n!==null&&(t.value=n),jf(t)}function ca(t,e){if(e){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=e;return}}t.textContent=e}var Bg=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 Xd(t,e,l){var n=e.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?n?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":n?t.setProperty(e,l):typeof l!="number"||l===0||Bg.has(e)?e==="float"?t.cssFloat=l:t[e]=(""+l).trim():t[e]=l+"px"}function kd(t,e,l){if(e!=null&&typeof e!="object")throw Error(i(62));if(t=t.style,l!=null){for(var n in l)!l.hasOwnProperty(n)||e!=null&&e.hasOwnProperty(n)||(n.indexOf("--")===0?t.setProperty(n,""):n==="float"?t.cssFloat="":t[n]="");for(var u in e)n=e[u],e.hasOwnProperty(u)&&l[u]!==n&&Xd(t,u,n)}else for(var f in e)e.hasOwnProperty(f)&&Xd(t,f,e[f])}function Lf(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Hg=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Lg=/^[\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 bu(t){return Lg.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function vl(){}var qf=null;function Yf(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var sa=null,oa=null;function Vd(t){var e=ia(t);if(e&&(t=e.stateNode)){var l=t[be]||null;t:switch(t=e.stateNode,e.type){case"input":if(Bf(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),e=l.name,l.type==="radio"&&e!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Je(""+e)+'"][type="radio"]'),e=0;e<l.length;e++){var n=l[e];if(n!==t&&n.form===t.form){var u=n[be]||null;if(!u)throw Error(i(90));Bf(n,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(e=0;e<l.length;e++)n=l[e],n.form===t.form&&Ld(n)}break t;case"textarea":Yd(t,l.value,l.defaultValue);break t;case"select":e=l.value,e!=null&&fa(t,!!l.multiple,e,!1)}}}var Gf=!1;function Qd(t,e,l){if(Gf)return t(e,l);Gf=!0;try{var n=t(e);return n}finally{if(Gf=!1,(sa!==null||oa!==null)&&(rr(),sa&&(e=sa,t=oa,oa=sa=null,Vd(e),t)))for(e=0;e<t.length;e++)Vd(t[e])}}function si(t,e){var l=t.stateNode;if(l===null)return null;var n=l[be]||null;if(n===null)return null;l=n[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(t=t.type,n=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!n;break t;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(i(231,e,typeof l));return l}var bl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Xf=!1;if(bl)try{var oi={};Object.defineProperty(oi,"passive",{get:function(){Xf=!0}}),window.addEventListener("test",oi,oi),window.removeEventListener("test",oi,oi)}catch{Xf=!1}var Kl=null,kf=null,Su=null;function Zd(){if(Su)return Su;var t,e=kf,l=e.length,n,u="value"in Kl?Kl.value:Kl.textContent,f=u.length;for(t=0;t<l&&e[t]===u[t];t++);var d=l-t;for(n=1;n<=d&&e[l-n]===u[f-n];n++);return Su=u.slice(t,1<n?1-n:void 0)}function xu(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Tu(){return!0}function Kd(){return!1}function Se(t){function e(l,n,u,f,d){this._reactName=l,this._targetInst=u,this.type=n,this.nativeEvent=f,this.target=d,this.currentTarget=null;for(var _ in t)t.hasOwnProperty(_)&&(l=t[_],this[_]=l?l(f):f[_]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?Tu:Kd,this.isPropagationStopped=Kd,this}return b(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Tu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Tu)},persist:function(){},isPersistent:Tu}),e}var Cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},zu=Se(Cn),di=b({},Cn,{view:0,detail:0}),qg=Se(di),Vf,Qf,hi,Eu=b({},di,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Kf,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==hi&&(hi&&t.type==="mousemove"?(Vf=t.screenX-hi.screenX,Qf=t.screenY-hi.screenY):Qf=Vf=0,hi=t),Vf)},movementY:function(t){return"movementY"in t?t.movementY:Qf}}),Jd=Se(Eu),Yg=b({},Eu,{dataTransfer:0}),Gg=Se(Yg),Xg=b({},di,{relatedTarget:0}),Zf=Se(Xg),kg=b({},Cn,{animationName:0,elapsedTime:0,pseudoElement:0}),Vg=Se(kg),Qg=b({},Cn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Zg=Se(Qg),Kg=b({},Cn,{data:0}),Fd=Se(Kg),Jg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Fg={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"},Wg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function $g(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Wg[t])?!!e[t]:!1}function Kf(){return $g}var Ig=b({},di,{key:function(t){if(t.key){var e=Jg[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=xu(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Fg[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Kf,charCode:function(t){return t.type==="keypress"?xu(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?xu(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Pg=Se(Ig),t_=b({},Eu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wd=Se(t_),e_=b({},di,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Kf}),l_=Se(e_),n_=b({},Cn,{propertyName:0,elapsedTime:0,pseudoElement:0}),a_=Se(n_),i_=b({},Eu,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),u_=Se(i_),r_=b({},Cn,{newState:0,oldState:0}),f_=Se(r_),c_=[9,13,27,32],Jf=bl&&"CompositionEvent"in window,mi=null;bl&&"documentMode"in document&&(mi=document.documentMode);var s_=bl&&"TextEvent"in window&&!mi,$d=bl&&(!Jf||mi&&8<mi&&11>=mi),Id=" ",Pd=!1;function th(t,e){switch(t){case"keyup":return c_.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function eh(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var da=!1;function o_(t,e){switch(t){case"compositionend":return eh(e);case"keypress":return e.which!==32?null:(Pd=!0,Id);case"textInput":return t=e.data,t===Id&&Pd?null:t;default:return null}}function d_(t,e){if(da)return t==="compositionend"||!Jf&&th(t,e)?(t=Zd(),Su=kf=Kl=null,da=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return $d&&e.locale!=="ko"?null:e.data;default:return null}}var h_={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 lh(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!h_[t.type]:e==="textarea"}function nh(t,e,l,n){sa?oa?oa.push(n):oa=[n]:sa=n,e=mr(e,"onChange"),0<e.length&&(l=new zu("onChange","change",null,l,n),t.push({event:l,listeners:e}))}var yi=null,pi=null;function m_(t){qm(t,0)}function Au(t){var e=ci(t);if(Ld(e))return t}function ah(t,e){if(t==="change")return e}var ih=!1;if(bl){var Ff;if(bl){var Wf="oninput"in document;if(!Wf){var uh=document.createElement("div");uh.setAttribute("oninput","return;"),Wf=typeof uh.oninput=="function"}Ff=Wf}else Ff=!1;ih=Ff&&(!document.documentMode||9<document.documentMode)}function rh(){yi&&(yi.detachEvent("onpropertychange",fh),pi=yi=null)}function fh(t){if(t.propertyName==="value"&&Au(pi)){var e=[];nh(e,pi,t,Yf(t)),Qd(m_,e)}}function y_(t,e,l){t==="focusin"?(rh(),yi=e,pi=l,yi.attachEvent("onpropertychange",fh)):t==="focusout"&&rh()}function p_(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Au(pi)}function g_(t,e){if(t==="click")return Au(e)}function __(t,e){if(t==="input"||t==="change")return Au(e)}function v_(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var He=typeof Object.is=="function"?Object.is:v_;function gi(t,e){if(He(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var l=Object.keys(t),n=Object.keys(e);if(l.length!==n.length)return!1;for(n=0;n<l.length;n++){var u=l[n];if(!Mf.call(e,u)||!He(t[u],e[u]))return!1}return!0}function ch(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function sh(t,e){var l=ch(t);t=0;for(var n;l;){if(l.nodeType===3){if(n=t+l.textContent.length,t<=e&&n>=e)return{node:l,offset:e-t};t=n}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=ch(l)}}function oh(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?oh(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function dh(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=vu(t.document);e instanceof t.HTMLIFrameElement;){try{var l=typeof e.contentWindow.location.href=="string"}catch{l=!1}if(l)t=e.contentWindow;else break;e=vu(t.document)}return e}function $f(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var b_=bl&&"documentMode"in document&&11>=document.documentMode,ha=null,If=null,_i=null,Pf=!1;function hh(t,e,l){var n=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Pf||ha==null||ha!==vu(n)||(n=ha,"selectionStart"in n&&$f(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),_i&&gi(_i,n)||(_i=n,n=mr(If,"onSelect"),0<n.length&&(e=new zu("onSelect","select",null,e,l),t.push({event:e,listeners:n}),e.target=ha)))}function Dn(t,e){var l={};return l[t.toLowerCase()]=e.toLowerCase(),l["Webkit"+t]="webkit"+e,l["Moz"+t]="moz"+e,l}var ma={animationend:Dn("Animation","AnimationEnd"),animationiteration:Dn("Animation","AnimationIteration"),animationstart:Dn("Animation","AnimationStart"),transitionrun:Dn("Transition","TransitionRun"),transitionstart:Dn("Transition","TransitionStart"),transitioncancel:Dn("Transition","TransitionCancel"),transitionend:Dn("Transition","TransitionEnd")},tc={},mh={};bl&&(mh=document.createElement("div").style,"AnimationEvent"in window||(delete ma.animationend.animation,delete ma.animationiteration.animation,delete ma.animationstart.animation),"TransitionEvent"in window||delete ma.transitionend.transition);function wn(t){if(tc[t])return tc[t];if(!ma[t])return t;var e=ma[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in mh)return tc[t]=e[l];return t}var yh=wn("animationend"),ph=wn("animationiteration"),gh=wn("animationstart"),S_=wn("transitionrun"),x_=wn("transitionstart"),T_=wn("transitioncancel"),_h=wn("transitionend"),vh=new Map,ec="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(" ");ec.push("scrollEnd");function nl(t,e){vh.set(t,e),On(e,[t])}var Mu=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=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(e))return}console.error(t)},Fe=[],ya=0,lc=0;function Ou(){for(var t=ya,e=lc=ya=0;e<t;){var l=Fe[e];Fe[e++]=null;var n=Fe[e];Fe[e++]=null;var u=Fe[e];Fe[e++]=null;var f=Fe[e];if(Fe[e++]=null,n!==null&&u!==null){var d=n.pending;d===null?u.next=u:(u.next=d.next,d.next=u),n.pending=u}f!==0&&bh(l,u,f)}}function Cu(t,e,l,n){Fe[ya++]=t,Fe[ya++]=e,Fe[ya++]=l,Fe[ya++]=n,lc|=n,t.lanes|=n,t=t.alternate,t!==null&&(t.lanes|=n)}function nc(t,e,l,n){return Cu(t,e,l,n),Du(t)}function Rn(t,e){return Cu(t,null,null,e),Du(t)}function bh(t,e,l){t.lanes|=l;var n=t.alternate;n!==null&&(n.lanes|=l);for(var u=!1,f=t.return;f!==null;)f.childLanes|=l,n=f.alternate,n!==null&&(n.childLanes|=l),f.tag===22&&(t=f.stateNode,t===null||t._visibility&1||(u=!0)),t=f,f=f.return;return t.tag===3?(f=t.stateNode,u&&e!==null&&(u=31-Be(l),t=f.hiddenUpdates,n=t[u],n===null?t[u]=[e]:n.push(e),e.lane=l|536870912),f):null}function Du(t){if(50<Yi)throw Yi=0,ds=null,Error(i(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var pa={};function z_(t,e,l,n){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Le(t,e,l,n){return new z_(t,e,l,n)}function ac(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Sl(t,e){var l=t.alternate;return l===null?(l=Le(t.tag,e,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=e,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,e=t.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function Sh(t,e){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,e=l.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function wu(t,e,l,n,u,f){var d=0;if(n=t,typeof t=="function")ac(t)&&(d=1);else if(typeof t=="string")d=Cv(t,l,P.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case A:return t=Le(31,l,e,u),t.elementType=A,t.lanes=f,t;case v:return Un(l.children,u,f,e);case C:d=8,u|=24;break;case j:return t=Le(12,l,e,u|2),t.elementType=j,t.lanes=f,t;case q:return t=Le(13,l,e,u),t.elementType=q,t.lanes=f,t;case J:return t=Le(19,l,e,u),t.elementType=J,t.lanes=f,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Y:d=10;break t;case L:d=9;break t;case Z:d=11;break t;case V:d=14;break t;case H:d=16,n=null;break t}d=29,l=Error(i(130,t===null?"null":typeof t,"")),n=null}return e=Le(d,l,e,u),e.elementType=t,e.type=n,e.lanes=f,e}function Un(t,e,l,n){return t=Le(7,t,n,e),t.lanes=l,t}function ic(t,e,l){return t=Le(6,t,null,e),t.lanes=l,t}function xh(t){var e=Le(18,null,null,0);return e.stateNode=t,e}function uc(t,e,l){return e=Le(4,t.children!==null?t.children:[],t.key,e),e.lanes=l,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Th=new WeakMap;function We(t,e){if(typeof t=="object"&&t!==null){var l=Th.get(t);return l!==void 0?l:(e={value:t,source:e,stack:xd(e)},Th.set(t,e),e)}return{value:t,source:e,stack:xd(e)}}var ga=[],_a=0,Ru=null,vi=0,$e=[],Ie=0,Jl=null,sl=1,ol="";function xl(t,e){ga[_a++]=vi,ga[_a++]=Ru,Ru=t,vi=e}function zh(t,e,l){$e[Ie++]=sl,$e[Ie++]=ol,$e[Ie++]=Jl,Jl=t;var n=sl;t=ol;var u=32-Be(n)-1;n&=~(1<<u),l+=1;var f=32-Be(e)+u;if(30<f){var d=u-u%5;f=(n&(1<<d)-1).toString(32),n>>=d,u-=d,sl=1<<32-Be(e)+u|l<<u|n,ol=f+t}else sl=1<<f|l<<u|n,ol=t}function rc(t){t.return!==null&&(xl(t,1),zh(t,1,0))}function fc(t){for(;t===Ru;)Ru=ga[--_a],ga[_a]=null,vi=ga[--_a],ga[_a]=null;for(;t===Jl;)Jl=$e[--Ie],$e[Ie]=null,ol=$e[--Ie],$e[Ie]=null,sl=$e[--Ie],$e[Ie]=null}function Eh(t,e){$e[Ie++]=sl,$e[Ie++]=ol,$e[Ie++]=Jl,sl=e.id,ol=e.overflow,Jl=t}var ie=null,Nt=null,bt=!1,Fl=null,Pe=!1,cc=Error(i(519));function Wl(t){var e=Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw bi(We(e,t)),cc}function Ah(t){var e=t.stateNode,l=t.type,n=t.memoizedProps;switch(e[ae]=t,e[be]=n,l){case"dialog":pt("cancel",e),pt("close",e);break;case"iframe":case"object":case"embed":pt("load",e);break;case"video":case"audio":for(l=0;l<Xi.length;l++)pt(Xi[l],e);break;case"source":pt("error",e);break;case"img":case"image":case"link":pt("error",e),pt("load",e);break;case"details":pt("toggle",e);break;case"input":pt("invalid",e),qd(e,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":pt("invalid",e);break;case"textarea":pt("invalid",e),Gd(e,n.value,n.defaultValue,n.children)}l=n.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||e.textContent===""+l||n.suppressHydrationWarning===!0||km(e.textContent,l)?(n.popover!=null&&(pt("beforetoggle",e),pt("toggle",e)),n.onScroll!=null&&pt("scroll",e),n.onScrollEnd!=null&&pt("scrollend",e),n.onClick!=null&&(e.onclick=vl),e=!0):e=!1,e||Wl(t,!0)}function Mh(t){for(ie=t.return;ie;)switch(ie.tag){case 5:case 31:case 13:Pe=!1;return;case 27:case 3:Pe=!0;return;default:ie=ie.return}}function va(t){if(t!==ie)return!1;if(!bt)return Mh(t),bt=!0,!1;var e=t.tag,l;if((l=e!==3&&e!==27)&&((l=e===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||Ms(t.type,t.memoizedProps)),l=!l),l&&Nt&&Wl(t),Mh(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));Nt=Im(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));Nt=Im(t)}else e===27?(e=Nt,on(t.type)?(t=Rs,Rs=null,Nt=t):Nt=e):Nt=ie?el(t.stateNode.nextSibling):null;return!0}function Nn(){Nt=ie=null,bt=!1}function sc(){var t=Fl;return t!==null&&(Ee===null?Ee=t:Ee.push.apply(Ee,t),Fl=null),t}function bi(t){Fl===null?Fl=[t]:Fl.push(t)}var oc=E(null),jn=null,Tl=null;function $l(t,e,l){$(oc,e._currentValue),e._currentValue=l}function zl(t){t._currentValue=oc.current,X(oc)}function dc(t,e,l){for(;t!==null;){var n=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,n!==null&&(n.childLanes|=e)):n!==null&&(n.childLanes&e)!==e&&(n.childLanes|=e),t===l)break;t=t.return}}function hc(t,e,l,n){var u=t.child;for(u!==null&&(u.return=t);u!==null;){var f=u.dependencies;if(f!==null){var d=u.child;f=f.firstContext;t:for(;f!==null;){var _=f;f=u;for(var x=0;x<e.length;x++)if(_.context===e[x]){f.lanes|=l,_=f.alternate,_!==null&&(_.lanes|=l),dc(f.return,l,t),n||(d=null);break t}f=_.next}}else if(u.tag===18){if(d=u.return,d===null)throw Error(i(341));d.lanes|=l,f=d.alternate,f!==null&&(f.lanes|=l),dc(d,l,t),d=null}else d=u.child;if(d!==null)d.return=u;else for(d=u;d!==null;){if(d===t){d=null;break}if(u=d.sibling,u!==null){u.return=d.return,d=u;break}d=d.return}u=d}}function ba(t,e,l,n){t=null;for(var u=e,f=!1;u!==null;){if(!f){if((u.flags&524288)!==0)f=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var d=u.alternate;if(d===null)throw Error(i(387));if(d=d.memoizedProps,d!==null){var _=u.type;He(u.pendingProps.value,d.value)||(t!==null?t.push(_):t=[_])}}else if(u===Et.current){if(d=u.alternate,d===null)throw Error(i(387));d.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(t!==null?t.push(Ki):t=[Ki])}u=u.return}t!==null&&hc(e,t,l,n),e.flags|=262144}function Uu(t){for(t=t.firstContext;t!==null;){if(!He(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Bn(t){jn=t,Tl=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function ue(t){return Oh(jn,t)}function Nu(t,e){return jn===null&&Bn(t),Oh(t,e)}function Oh(t,e){var l=e._currentValue;if(e={context:e,memoizedValue:l,next:null},Tl===null){if(t===null)throw Error(i(308));Tl=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else Tl=Tl.next=e;return l}var E_=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(l,n){t.push(n)}};this.abort=function(){e.aborted=!0,t.forEach(function(l){return l()})}},A_=m.unstable_scheduleCallback,M_=m.unstable_NormalPriority,Ft={$$typeof:Y,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function mc(){return{controller:new E_,data:new Map,refCount:0}}function Si(t){t.refCount--,t.refCount===0&&A_(M_,function(){t.controller.abort()})}var xi=null,yc=0,Sa=0,xa=null;function O_(t,e){if(xi===null){var l=xi=[];yc=0,Sa=_s(),xa={status:"pending",value:void 0,then:function(n){l.push(n)}}}return yc++,e.then(Ch,Ch),e}function Ch(){if(--yc===0&&xi!==null){xa!==null&&(xa.status="fulfilled");var t=xi;xi=null,Sa=0,xa=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function C_(t,e){var l=[],n={status:"pending",value:null,reason:null,then:function(u){l.push(u)}};return t.then(function(){n.status="fulfilled",n.value=e;for(var u=0;u<l.length;u++)(0,l[u])(e)},function(u){for(n.status="rejected",n.reason=u,u=0;u<l.length;u++)(0,l[u])(void 0)}),n}var Dh=U.S;U.S=function(t,e){hm=Ne(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&O_(t,e),Dh!==null&&Dh(t,e)};var Hn=E(null);function pc(){var t=Hn.current;return t!==null?t:Ut.pooledCache}function ju(t,e){e===null?$(Hn,Hn.current):$(Hn,e.pool)}function wh(){var t=pc();return t===null?null:{parent:Ft._currentValue,pool:t}}var Ta=Error(i(460)),gc=Error(i(474)),Bu=Error(i(542)),Hu={then:function(){}};function Rh(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Uh(t,e,l){switch(l=t[l],l===void 0?t.push(e):l!==e&&(e.then(vl,vl),e=l),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,jh(t),t;default:if(typeof e.status=="string")e.then(vl,vl);else{if(t=Ut,t!==null&&100<t.shellSuspendCounter)throw Error(i(482));t=e,t.status="pending",t.then(function(n){if(e.status==="pending"){var u=e;u.status="fulfilled",u.value=n}},function(n){if(e.status==="pending"){var u=e;u.status="rejected",u.reason=n}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,jh(t),t}throw qn=e,Ta}}function Ln(t){try{var e=t._init;return e(t._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(qn=l,Ta):l}}var qn=null;function Nh(){if(qn===null)throw Error(i(459));var t=qn;return qn=null,t}function jh(t){if(t===Ta||t===Bu)throw Error(i(483))}var za=null,Ti=0;function Lu(t){var e=Ti;return Ti+=1,za===null&&(za=[]),Uh(za,t,e)}function zi(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function qu(t,e){throw e.$$typeof===T?Error(i(525)):(t=Object.prototype.toString.call(e),Error(i(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Bh(t){function e(O,z){if(t){var D=O.deletions;D===null?(O.deletions=[z],O.flags|=16):D.push(z)}}function l(O,z){if(!t)return null;for(;z!==null;)e(O,z),z=z.sibling;return null}function n(O){for(var z=new Map;O!==null;)O.key!==null?z.set(O.key,O):z.set(O.index,O),O=O.sibling;return z}function u(O,z){return O=Sl(O,z),O.index=0,O.sibling=null,O}function f(O,z,D){return O.index=D,t?(D=O.alternate,D!==null?(D=D.index,D<z?(O.flags|=67108866,z):D):(O.flags|=67108866,z)):(O.flags|=1048576,z)}function d(O){return t&&O.alternate===null&&(O.flags|=67108866),O}function _(O,z,D,k){return z===null||z.tag!==6?(z=ic(D,O.mode,k),z.return=O,z):(z=u(z,D),z.return=O,z)}function x(O,z,D,k){var at=D.type;return at===v?G(O,z,D.props.children,k,D.key):z!==null&&(z.elementType===at||typeof at=="object"&&at!==null&&at.$$typeof===H&&Ln(at)===z.type)?(z=u(z,D.props),zi(z,D),z.return=O,z):(z=wu(D.type,D.key,D.props,null,O.mode,k),zi(z,D),z.return=O,z)}function w(O,z,D,k){return z===null||z.tag!==4||z.stateNode.containerInfo!==D.containerInfo||z.stateNode.implementation!==D.implementation?(z=uc(D,O.mode,k),z.return=O,z):(z=u(z,D.children||[]),z.return=O,z)}function G(O,z,D,k,at){return z===null||z.tag!==7?(z=Un(D,O.mode,k,at),z.return=O,z):(z=u(z,D),z.return=O,z)}function Q(O,z,D){if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return z=ic(""+z,O.mode,D),z.return=O,z;if(typeof z=="object"&&z!==null){switch(z.$$typeof){case S:return D=wu(z.type,z.key,z.props,null,O.mode,D),zi(D,z),D.return=O,D;case M:return z=uc(z,O.mode,D),z.return=O,z;case H:return z=Ln(z),Q(O,z,D)}if(rt(z)||tt(z))return z=Un(z,O.mode,D,null),z.return=O,z;if(typeof z.then=="function")return Q(O,Lu(z),D);if(z.$$typeof===Y)return Q(O,Nu(O,z),D);qu(O,z)}return null}function R(O,z,D,k){var at=z!==null?z.key:null;if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return at!==null?null:_(O,z,""+D,k);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case S:return D.key===at?x(O,z,D,k):null;case M:return D.key===at?w(O,z,D,k):null;case H:return D=Ln(D),R(O,z,D,k)}if(rt(D)||tt(D))return at!==null?null:G(O,z,D,k,null);if(typeof D.then=="function")return R(O,z,Lu(D),k);if(D.$$typeof===Y)return R(O,z,Nu(O,D),k);qu(O,D)}return null}function B(O,z,D,k,at){if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return O=O.get(D)||null,_(z,O,""+k,at);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case S:return O=O.get(k.key===null?D:k.key)||null,x(z,O,k,at);case M:return O=O.get(k.key===null?D:k.key)||null,w(z,O,k,at);case H:return k=Ln(k),B(O,z,D,k,at)}if(rt(k)||tt(k))return O=O.get(D)||null,G(z,O,k,at,null);if(typeof k.then=="function")return B(O,z,D,Lu(k),at);if(k.$$typeof===Y)return B(O,z,D,Nu(z,k),at);qu(z,k)}return null}function et(O,z,D,k){for(var at=null,xt=null,nt=z,dt=z=0,_t=null;nt!==null&&dt<D.length;dt++){nt.index>dt?(_t=nt,nt=null):_t=nt.sibling;var Tt=R(O,nt,D[dt],k);if(Tt===null){nt===null&&(nt=_t);break}t&&nt&&Tt.alternate===null&&e(O,nt),z=f(Tt,z,dt),xt===null?at=Tt:xt.sibling=Tt,xt=Tt,nt=_t}if(dt===D.length)return l(O,nt),bt&&xl(O,dt),at;if(nt===null){for(;dt<D.length;dt++)nt=Q(O,D[dt],k),nt!==null&&(z=f(nt,z,dt),xt===null?at=nt:xt.sibling=nt,xt=nt);return bt&&xl(O,dt),at}for(nt=n(nt);dt<D.length;dt++)_t=B(nt,O,dt,D[dt],k),_t!==null&&(t&&_t.alternate!==null&&nt.delete(_t.key===null?dt:_t.key),z=f(_t,z,dt),xt===null?at=_t:xt.sibling=_t,xt=_t);return t&&nt.forEach(function(pn){return e(O,pn)}),bt&&xl(O,dt),at}function it(O,z,D,k){if(D==null)throw Error(i(151));for(var at=null,xt=null,nt=z,dt=z=0,_t=null,Tt=D.next();nt!==null&&!Tt.done;dt++,Tt=D.next()){nt.index>dt?(_t=nt,nt=null):_t=nt.sibling;var pn=R(O,nt,Tt.value,k);if(pn===null){nt===null&&(nt=_t);break}t&&nt&&pn.alternate===null&&e(O,nt),z=f(pn,z,dt),xt===null?at=pn:xt.sibling=pn,xt=pn,nt=_t}if(Tt.done)return l(O,nt),bt&&xl(O,dt),at;if(nt===null){for(;!Tt.done;dt++,Tt=D.next())Tt=Q(O,Tt.value,k),Tt!==null&&(z=f(Tt,z,dt),xt===null?at=Tt:xt.sibling=Tt,xt=Tt);return bt&&xl(O,dt),at}for(nt=n(nt);!Tt.done;dt++,Tt=D.next())Tt=B(nt,O,dt,Tt.value,k),Tt!==null&&(t&&Tt.alternate!==null&&nt.delete(Tt.key===null?dt:Tt.key),z=f(Tt,z,dt),xt===null?at=Tt:xt.sibling=Tt,xt=Tt);return t&&nt.forEach(function(Yv){return e(O,Yv)}),bt&&xl(O,dt),at}function Dt(O,z,D,k){if(typeof D=="object"&&D!==null&&D.type===v&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case S:t:{for(var at=D.key;z!==null;){if(z.key===at){if(at=D.type,at===v){if(z.tag===7){l(O,z.sibling),k=u(z,D.props.children),k.return=O,O=k;break t}}else if(z.elementType===at||typeof at=="object"&&at!==null&&at.$$typeof===H&&Ln(at)===z.type){l(O,z.sibling),k=u(z,D.props),zi(k,D),k.return=O,O=k;break t}l(O,z);break}else e(O,z);z=z.sibling}D.type===v?(k=Un(D.props.children,O.mode,k,D.key),k.return=O,O=k):(k=wu(D.type,D.key,D.props,null,O.mode,k),zi(k,D),k.return=O,O=k)}return d(O);case M:t:{for(at=D.key;z!==null;){if(z.key===at)if(z.tag===4&&z.stateNode.containerInfo===D.containerInfo&&z.stateNode.implementation===D.implementation){l(O,z.sibling),k=u(z,D.children||[]),k.return=O,O=k;break t}else{l(O,z);break}else e(O,z);z=z.sibling}k=uc(D,O.mode,k),k.return=O,O=k}return d(O);case H:return D=Ln(D),Dt(O,z,D,k)}if(rt(D))return et(O,z,D,k);if(tt(D)){if(at=tt(D),typeof at!="function")throw Error(i(150));return D=at.call(D),it(O,z,D,k)}if(typeof D.then=="function")return Dt(O,z,Lu(D),k);if(D.$$typeof===Y)return Dt(O,z,Nu(O,D),k);qu(O,D)}return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,z!==null&&z.tag===6?(l(O,z.sibling),k=u(z,D),k.return=O,O=k):(l(O,z),k=ic(D,O.mode,k),k.return=O,O=k),d(O)):l(O,z)}return function(O,z,D,k){try{Ti=0;var at=Dt(O,z,D,k);return za=null,at}catch(nt){if(nt===Ta||nt===Bu)throw nt;var xt=Le(29,nt,null,O.mode);return xt.lanes=k,xt.return=O,xt}finally{}}}var Yn=Bh(!0),Hh=Bh(!1),Il=!1;function _c(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function vc(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Pl(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function tn(t,e,l){var n=t.updateQueue;if(n===null)return null;if(n=n.shared,(zt&2)!==0){var u=n.pending;return u===null?e.next=e:(e.next=u.next,u.next=e),n.pending=e,e=Du(t),bh(t,null,l),e}return Cu(t,n,e,l),Du(t)}function Ei(t,e,l){if(e=e.updateQueue,e!==null&&(e=e.shared,(l&4194048)!==0)){var n=e.lanes;n&=t.pendingLanes,l|=n,e.lanes=l,Od(t,l)}}function bc(t,e){var l=t.updateQueue,n=t.alternate;if(n!==null&&(n=n.updateQueue,l===n)){var u=null,f=null;if(l=l.firstBaseUpdate,l!==null){do{var d={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};f===null?u=f=d:f=f.next=d,l=l.next}while(l!==null);f===null?u=f=e:f=f.next=e}else u=f=e;l={baseState:n.baseState,firstBaseUpdate:u,lastBaseUpdate:f,shared:n.shared,callbacks:n.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=e:t.next=e,l.lastBaseUpdate=e}var Sc=!1;function Ai(){if(Sc){var t=xa;if(t!==null)throw t}}function Mi(t,e,l,n){Sc=!1;var u=t.updateQueue;Il=!1;var f=u.firstBaseUpdate,d=u.lastBaseUpdate,_=u.shared.pending;if(_!==null){u.shared.pending=null;var x=_,w=x.next;x.next=null,d===null?f=w:d.next=w,d=x;var G=t.alternate;G!==null&&(G=G.updateQueue,_=G.lastBaseUpdate,_!==d&&(_===null?G.firstBaseUpdate=w:_.next=w,G.lastBaseUpdate=x))}if(f!==null){var Q=u.baseState;d=0,G=w=x=null,_=f;do{var R=_.lane&-536870913,B=R!==_.lane;if(B?(gt&R)===R:(n&R)===R){R!==0&&R===Sa&&(Sc=!0),G!==null&&(G=G.next={lane:0,tag:_.tag,payload:_.payload,callback:null,next:null});t:{var et=t,it=_;R=e;var Dt=l;switch(it.tag){case 1:if(et=it.payload,typeof et=="function"){Q=et.call(Dt,Q,R);break t}Q=et;break t;case 3:et.flags=et.flags&-65537|128;case 0:if(et=it.payload,R=typeof et=="function"?et.call(Dt,Q,R):et,R==null)break t;Q=b({},Q,R);break t;case 2:Il=!0}}R=_.callback,R!==null&&(t.flags|=64,B&&(t.flags|=8192),B=u.callbacks,B===null?u.callbacks=[R]:B.push(R))}else B={lane:R,tag:_.tag,payload:_.payload,callback:_.callback,next:null},G===null?(w=G=B,x=Q):G=G.next=B,d|=R;if(_=_.next,_===null){if(_=u.shared.pending,_===null)break;B=_,_=B.next,B.next=null,u.lastBaseUpdate=B,u.shared.pending=null}}while(!0);G===null&&(x=Q),u.baseState=x,u.firstBaseUpdate=w,u.lastBaseUpdate=G,f===null&&(u.shared.lanes=0),un|=d,t.lanes=d,t.memoizedState=Q}}function Lh(t,e){if(typeof t!="function")throw Error(i(191,t));t.call(e)}function qh(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)Lh(l[t],e)}var Ea=E(null),Yu=E(0);function Yh(t,e){t=Ul,$(Yu,t),$(Ea,e),Ul=t|e.baseLanes}function xc(){$(Yu,Ul),$(Ea,Ea.current)}function Tc(){Ul=Yu.current,X(Ea),X(Yu)}var qe=E(null),tl=null;function en(t){var e=t.alternate;$(Zt,Zt.current&1),$(qe,t),tl===null&&(e===null||Ea.current!==null||e.memoizedState!==null)&&(tl=t)}function zc(t){$(Zt,Zt.current),$(qe,t),tl===null&&(tl=t)}function Gh(t){t.tag===22?($(Zt,Zt.current),$(qe,t),tl===null&&(tl=t)):ln()}function ln(){$(Zt,Zt.current),$(qe,qe.current)}function Ye(t){X(qe),tl===t&&(tl=null),X(Zt)}var Zt=E(0);function Gu(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Ds(l)||ws(l)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var El=0,ot=null,Ot=null,Wt=null,Xu=!1,Aa=!1,Gn=!1,ku=0,Oi=0,Ma=null,D_=0;function Xt(){throw Error(i(321))}function Ec(t,e){if(e===null)return!1;for(var l=0;l<e.length&&l<t.length;l++)if(!He(t[l],e[l]))return!1;return!0}function Ac(t,e,l,n,u,f){return El=f,ot=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,U.H=t===null||t.memoizedState===null?z0:Gc,Gn=!1,f=l(n,u),Gn=!1,Aa&&(f=kh(e,l,n,u)),Xh(t),f}function Xh(t){U.H=wi;var e=Ot!==null&&Ot.next!==null;if(El=0,Wt=Ot=ot=null,Xu=!1,Oi=0,Ma=null,e)throw Error(i(300));t===null||$t||(t=t.dependencies,t!==null&&Uu(t)&&($t=!0))}function kh(t,e,l,n){ot=t;var u=0;do{if(Aa&&(Ma=null),Oi=0,Aa=!1,25<=u)throw Error(i(301));if(u+=1,Wt=Ot=null,t.updateQueue!=null){var f=t.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}U.H=E0,f=e(l,n)}while(Aa);return f}function w_(){var t=U.H,e=t.useState()[0];return e=typeof e.then=="function"?Ci(e):e,t=t.useState()[0],(Ot!==null?Ot.memoizedState:null)!==t&&(ot.flags|=1024),e}function Mc(){var t=ku!==0;return ku=0,t}function Oc(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function Cc(t){if(Xu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Xu=!1}El=0,Wt=Ot=ot=null,Aa=!1,Oi=ku=0,Ma=null}function me(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Wt===null?ot.memoizedState=Wt=t:Wt=Wt.next=t,Wt}function Kt(){if(Ot===null){var t=ot.alternate;t=t!==null?t.memoizedState:null}else t=Ot.next;var e=Wt===null?ot.memoizedState:Wt.next;if(e!==null)Wt=e,Ot=t;else{if(t===null)throw ot.alternate===null?Error(i(467)):Error(i(310));Ot=t,t={memoizedState:Ot.memoizedState,baseState:Ot.baseState,baseQueue:Ot.baseQueue,queue:Ot.queue,next:null},Wt===null?ot.memoizedState=Wt=t:Wt=Wt.next=t}return Wt}function Vu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ci(t){var e=Oi;return Oi+=1,Ma===null&&(Ma=[]),t=Uh(Ma,t,e),e=ot,(Wt===null?e.memoizedState:Wt.next)===null&&(e=e.alternate,U.H=e===null||e.memoizedState===null?z0:Gc),t}function Qu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Ci(t);if(t.$$typeof===Y)return ue(t)}throw Error(i(438,String(t)))}function Dc(t){var e=null,l=ot.updateQueue;if(l!==null&&(e=l.memoCache),e==null){var n=ot.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(e={data:n.data.map(function(u){return u.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),l===null&&(l=Vu(),ot.updateQueue=l),l.memoCache=e,l=e.data[e.index],l===void 0)for(l=e.data[e.index]=Array(t),n=0;n<t;n++)l[n]=W;return e.index++,l}function Al(t,e){return typeof e=="function"?e(t):e}function Zu(t){var e=Kt();return wc(e,Ot,t)}function wc(t,e,l){var n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=l;var u=t.baseQueue,f=n.pending;if(f!==null){if(u!==null){var d=u.next;u.next=f.next,f.next=d}e.baseQueue=u=f,n.pending=null}if(f=t.baseState,u===null)t.memoizedState=f;else{e=u.next;var _=d=null,x=null,w=e,G=!1;do{var Q=w.lane&-536870913;if(Q!==w.lane?(gt&Q)===Q:(El&Q)===Q){var R=w.revertLane;if(R===0)x!==null&&(x=x.next={lane:0,revertLane:0,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null}),Q===Sa&&(G=!0);else if((El&R)===R){w=w.next,R===Sa&&(G=!0);continue}else Q={lane:0,revertLane:w.revertLane,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},x===null?(_=x=Q,d=f):x=x.next=Q,ot.lanes|=R,un|=R;Q=w.action,Gn&&l(f,Q),f=w.hasEagerState?w.eagerState:l(f,Q)}else R={lane:Q,revertLane:w.revertLane,gesture:w.gesture,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},x===null?(_=x=R,d=f):x=x.next=R,ot.lanes|=Q,un|=Q;w=w.next}while(w!==null&&w!==e);if(x===null?d=f:x.next=_,!He(f,t.memoizedState)&&($t=!0,G&&(l=xa,l!==null)))throw l;t.memoizedState=f,t.baseState=d,t.baseQueue=x,n.lastRenderedState=f}return u===null&&(n.lanes=0),[t.memoizedState,n.dispatch]}function Rc(t){var e=Kt(),l=e.queue;if(l===null)throw Error(i(311));l.lastRenderedReducer=t;var n=l.dispatch,u=l.pending,f=e.memoizedState;if(u!==null){l.pending=null;var d=u=u.next;do f=t(f,d.action),d=d.next;while(d!==u);He(f,e.memoizedState)||($t=!0),e.memoizedState=f,e.baseQueue===null&&(e.baseState=f),l.lastRenderedState=f}return[f,n]}function Vh(t,e,l){var n=ot,u=Kt(),f=bt;if(f){if(l===void 0)throw Error(i(407));l=l()}else l=e();var d=!He((Ot||u).memoizedState,l);if(d&&(u.memoizedState=l,$t=!0),u=u.queue,jc(Kh.bind(null,n,u,t),[t]),u.getSnapshot!==e||d||Wt!==null&&Wt.memoizedState.tag&1){if(n.flags|=2048,Oa(9,{destroy:void 0},Zh.bind(null,n,u,l,e),null),Ut===null)throw Error(i(349));f||(El&127)!==0||Qh(n,e,l)}return l}function Qh(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=ot.updateQueue,e===null?(e=Vu(),ot.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function Zh(t,e,l,n){e.value=l,e.getSnapshot=n,Jh(e)&&Fh(t)}function Kh(t,e,l){return l(function(){Jh(e)&&Fh(t)})}function Jh(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!He(t,l)}catch{return!0}}function Fh(t){var e=Rn(t,2);e!==null&&Ae(e,t,2)}function Uc(t){var e=me();if(typeof t=="function"){var l=t;if(t=l(),Gn){Ql(!0);try{l()}finally{Ql(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Al,lastRenderedState:t},e}function Wh(t,e,l,n){return t.baseState=l,wc(t,Ot,typeof n=="function"?n:Al)}function R_(t,e,l,n,u){if(Fu(t))throw Error(i(485));if(t=e.action,t!==null){var f={payload:u,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){f.listeners.push(d)}};U.T!==null?l(!0):f.isTransition=!1,n(f),l=e.pending,l===null?(f.next=e.pending=f,$h(e,f)):(f.next=l.next,e.pending=l.next=f)}}function $h(t,e){var l=e.action,n=e.payload,u=t.state;if(e.isTransition){var f=U.T,d={};U.T=d;try{var _=l(u,n),x=U.S;x!==null&&x(d,_),Ih(t,e,_)}catch(w){Nc(t,e,w)}finally{f!==null&&d.types!==null&&(f.types=d.types),U.T=f}}else try{f=l(u,n),Ih(t,e,f)}catch(w){Nc(t,e,w)}}function Ih(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(n){Ph(t,e,n)},function(n){return Nc(t,e,n)}):Ph(t,e,l)}function Ph(t,e,l){e.status="fulfilled",e.value=l,t0(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,$h(t,l)))}function Nc(t,e,l){var n=t.pending;if(t.pending=null,n!==null){n=n.next;do e.status="rejected",e.reason=l,t0(e),e=e.next;while(e!==n)}t.action=null}function t0(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function e0(t,e){return e}function l0(t,e){if(bt){var l=Ut.formState;if(l!==null){t:{var n=ot;if(bt){if(Nt){e:{for(var u=Nt,f=Pe;u.nodeType!==8;){if(!f){u=null;break e}if(u=el(u.nextSibling),u===null){u=null;break e}}f=u.data,u=f==="F!"||f==="F"?u:null}if(u){Nt=el(u.nextSibling),n=u.data==="F!";break t}}Wl(n)}n=!1}n&&(e=l[0])}}return l=me(),l.memoizedState=l.baseState=e,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e0,lastRenderedState:e},l.queue=n,l=S0.bind(null,ot,n),n.dispatch=l,n=Uc(!1),f=Yc.bind(null,ot,!1,n.queue),n=me(),u={state:e,dispatch:null,action:t,pending:null},n.queue=u,l=R_.bind(null,ot,u,f,l),u.dispatch=l,n.memoizedState=t,[e,l,!1]}function n0(t){var e=Kt();return a0(e,Ot,t)}function a0(t,e,l){if(e=wc(t,e,e0)[0],t=Zu(Al)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var n=Ci(e)}catch(d){throw d===Ta?Bu:d}else n=e;e=Kt();var u=e.queue,f=u.dispatch;return l!==e.memoizedState&&(ot.flags|=2048,Oa(9,{destroy:void 0},U_.bind(null,u,l),null)),[n,f,t]}function U_(t,e){t.action=e}function i0(t){var e=Kt(),l=Ot;if(l!==null)return a0(e,l,t);Kt(),e=e.memoizedState,l=Kt();var n=l.queue.dispatch;return l.memoizedState=t,[e,n,!1]}function Oa(t,e,l,n){return t={tag:t,create:l,deps:n,inst:e,next:null},e=ot.updateQueue,e===null&&(e=Vu(),ot.updateQueue=e),l=e.lastEffect,l===null?e.lastEffect=t.next=t:(n=l.next,l.next=t,t.next=n,e.lastEffect=t),t}function u0(){return Kt().memoizedState}function Ku(t,e,l,n){var u=me();ot.flags|=t,u.memoizedState=Oa(1|e,{destroy:void 0},l,n===void 0?null:n)}function Ju(t,e,l,n){var u=Kt();n=n===void 0?null:n;var f=u.memoizedState.inst;Ot!==null&&n!==null&&Ec(n,Ot.memoizedState.deps)?u.memoizedState=Oa(e,f,l,n):(ot.flags|=t,u.memoizedState=Oa(1|e,f,l,n))}function r0(t,e){Ku(8390656,8,t,e)}function jc(t,e){Ju(2048,8,t,e)}function N_(t){ot.flags|=4;var e=ot.updateQueue;if(e===null)e=Vu(),ot.updateQueue=e,e.events=[t];else{var l=e.events;l===null?e.events=[t]:l.push(t)}}function f0(t){var e=Kt().memoizedState;return N_({ref:e,nextImpl:t}),function(){if((zt&2)!==0)throw Error(i(440));return e.impl.apply(void 0,arguments)}}function c0(t,e){return Ju(4,2,t,e)}function s0(t,e){return Ju(4,4,t,e)}function o0(t,e){if(typeof e=="function"){t=t();var l=e(t);return function(){typeof l=="function"?l():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function d0(t,e,l){l=l!=null?l.concat([t]):null,Ju(4,4,o0.bind(null,e,t),l)}function Bc(){}function h0(t,e){var l=Kt();e=e===void 0?null:e;var n=l.memoizedState;return e!==null&&Ec(e,n[1])?n[0]:(l.memoizedState=[t,e],t)}function m0(t,e){var l=Kt();e=e===void 0?null:e;var n=l.memoizedState;if(e!==null&&Ec(e,n[1]))return n[0];if(n=t(),Gn){Ql(!0);try{t()}finally{Ql(!1)}}return l.memoizedState=[n,e],n}function Hc(t,e,l){return l===void 0||(El&1073741824)!==0&&(gt&261930)===0?t.memoizedState=e:(t.memoizedState=l,t=ym(),ot.lanes|=t,un|=t,l)}function y0(t,e,l,n){return He(l,e)?l:Ea.current!==null?(t=Hc(t,l,n),He(t,e)||($t=!0),t):(El&42)===0||(El&1073741824)!==0&&(gt&261930)===0?($t=!0,t.memoizedState=l):(t=ym(),ot.lanes|=t,un|=t,e)}function p0(t,e,l,n,u){var f=N.p;N.p=f!==0&&8>f?f:8;var d=U.T,_={};U.T=_,Yc(t,!1,e,l);try{var x=u(),w=U.S;if(w!==null&&w(_,x),x!==null&&typeof x=="object"&&typeof x.then=="function"){var G=C_(x,n);Di(t,e,G,ke(t))}else Di(t,e,n,ke(t))}catch(Q){Di(t,e,{then:function(){},status:"rejected",reason:Q},ke())}finally{N.p=f,d!==null&&_.types!==null&&(d.types=_.types),U.T=d}}function j_(){}function Lc(t,e,l,n){if(t.tag!==5)throw Error(i(476));var u=g0(t).queue;p0(t,u,e,I,l===null?j_:function(){return _0(t),l(n)})}function g0(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:I,baseState:I,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Al,lastRenderedState:I},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Al,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function _0(t){var e=g0(t);e.next===null&&(e=t.alternate.memoizedState),Di(t,e.next.queue,{},ke())}function qc(){return ue(Ki)}function v0(){return Kt().memoizedState}function b0(){return Kt().memoizedState}function B_(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=ke();t=Pl(l);var n=tn(e,t,l);n!==null&&(Ae(n,e,l),Ei(n,e,l)),e={cache:mc()},t.payload=e;return}e=e.return}}function H_(t,e,l){var n=ke();l={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Fu(t)?x0(e,l):(l=nc(t,e,l,n),l!==null&&(Ae(l,t,n),T0(l,e,n)))}function S0(t,e,l){var n=ke();Di(t,e,l,n)}function Di(t,e,l,n){var u={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Fu(t))x0(e,u);else{var f=t.alternate;if(t.lanes===0&&(f===null||f.lanes===0)&&(f=e.lastRenderedReducer,f!==null))try{var d=e.lastRenderedState,_=f(d,l);if(u.hasEagerState=!0,u.eagerState=_,He(_,d))return Cu(t,e,u,0),Ut===null&&Ou(),!1}catch{}finally{}if(l=nc(t,e,u,n),l!==null)return Ae(l,t,n),T0(l,e,n),!0}return!1}function Yc(t,e,l,n){if(n={lane:2,revertLane:_s(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Fu(t)){if(e)throw Error(i(479))}else e=nc(t,l,n,2),e!==null&&Ae(e,t,2)}function Fu(t){var e=t.alternate;return t===ot||e!==null&&e===ot}function x0(t,e){Aa=Xu=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function T0(t,e,l){if((l&4194048)!==0){var n=e.lanes;n&=t.pendingLanes,l|=n,e.lanes=l,Od(t,l)}}var wi={readContext:ue,use:Qu,useCallback:Xt,useContext:Xt,useEffect:Xt,useImperativeHandle:Xt,useLayoutEffect:Xt,useInsertionEffect:Xt,useMemo:Xt,useReducer:Xt,useRef:Xt,useState:Xt,useDebugValue:Xt,useDeferredValue:Xt,useTransition:Xt,useSyncExternalStore:Xt,useId:Xt,useHostTransitionStatus:Xt,useFormState:Xt,useActionState:Xt,useOptimistic:Xt,useMemoCache:Xt,useCacheRefresh:Xt};wi.useEffectEvent=Xt;var z0={readContext:ue,use:Qu,useCallback:function(t,e){return me().memoizedState=[t,e===void 0?null:e],t},useContext:ue,useEffect:r0,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,Ku(4194308,4,o0.bind(null,e,t),l)},useLayoutEffect:function(t,e){return Ku(4194308,4,t,e)},useInsertionEffect:function(t,e){Ku(4,2,t,e)},useMemo:function(t,e){var l=me();e=e===void 0?null:e;var n=t();if(Gn){Ql(!0);try{t()}finally{Ql(!1)}}return l.memoizedState=[n,e],n},useReducer:function(t,e,l){var n=me();if(l!==void 0){var u=l(e);if(Gn){Ql(!0);try{l(e)}finally{Ql(!1)}}}else u=e;return n.memoizedState=n.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},n.queue=t,t=t.dispatch=H_.bind(null,ot,t),[n.memoizedState,t]},useRef:function(t){var e=me();return t={current:t},e.memoizedState=t},useState:function(t){t=Uc(t);var e=t.queue,l=S0.bind(null,ot,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:Bc,useDeferredValue:function(t,e){var l=me();return Hc(l,t,e)},useTransition:function(){var t=Uc(!1);return t=p0.bind(null,ot,t.queue,!0,!1),me().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var n=ot,u=me();if(bt){if(l===void 0)throw Error(i(407));l=l()}else{if(l=e(),Ut===null)throw Error(i(349));(gt&127)!==0||Qh(n,e,l)}u.memoizedState=l;var f={value:l,getSnapshot:e};return u.queue=f,r0(Kh.bind(null,n,f,t),[t]),n.flags|=2048,Oa(9,{destroy:void 0},Zh.bind(null,n,f,l,e),null),l},useId:function(){var t=me(),e=Ut.identifierPrefix;if(bt){var l=ol,n=sl;l=(n&~(1<<32-Be(n)-1)).toString(32)+l,e="_"+e+"R_"+l,l=ku++,0<l&&(e+="H"+l.toString(32)),e+="_"}else l=D_++,e="_"+e+"r_"+l.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:qc,useFormState:l0,useActionState:l0,useOptimistic:function(t){var e=me();e.memoizedState=e.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=l,e=Yc.bind(null,ot,!0,l),l.dispatch=e,[t,e]},useMemoCache:Dc,useCacheRefresh:function(){return me().memoizedState=B_.bind(null,ot)},useEffectEvent:function(t){var e=me(),l={impl:t};return e.memoizedState=l,function(){if((zt&2)!==0)throw Error(i(440));return l.impl.apply(void 0,arguments)}}},Gc={readContext:ue,use:Qu,useCallback:h0,useContext:ue,useEffect:jc,useImperativeHandle:d0,useInsertionEffect:c0,useLayoutEffect:s0,useMemo:m0,useReducer:Zu,useRef:u0,useState:function(){return Zu(Al)},useDebugValue:Bc,useDeferredValue:function(t,e){var l=Kt();return y0(l,Ot.memoizedState,t,e)},useTransition:function(){var t=Zu(Al)[0],e=Kt().memoizedState;return[typeof t=="boolean"?t:Ci(t),e]},useSyncExternalStore:Vh,useId:v0,useHostTransitionStatus:qc,useFormState:n0,useActionState:n0,useOptimistic:function(t,e){var l=Kt();return Wh(l,Ot,t,e)},useMemoCache:Dc,useCacheRefresh:b0};Gc.useEffectEvent=f0;var E0={readContext:ue,use:Qu,useCallback:h0,useContext:ue,useEffect:jc,useImperativeHandle:d0,useInsertionEffect:c0,useLayoutEffect:s0,useMemo:m0,useReducer:Rc,useRef:u0,useState:function(){return Rc(Al)},useDebugValue:Bc,useDeferredValue:function(t,e){var l=Kt();return Ot===null?Hc(l,t,e):y0(l,Ot.memoizedState,t,e)},useTransition:function(){var t=Rc(Al)[0],e=Kt().memoizedState;return[typeof t=="boolean"?t:Ci(t),e]},useSyncExternalStore:Vh,useId:v0,useHostTransitionStatus:qc,useFormState:i0,useActionState:i0,useOptimistic:function(t,e){var l=Kt();return Ot!==null?Wh(l,Ot,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:Dc,useCacheRefresh:b0};E0.useEffectEvent=f0;function Xc(t,e,l,n){e=t.memoizedState,l=l(n,e),l=l==null?e:b({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var kc={enqueueSetState:function(t,e,l){t=t._reactInternals;var n=ke(),u=Pl(n);u.payload=e,l!=null&&(u.callback=l),e=tn(t,u,n),e!==null&&(Ae(e,t,n),Ei(e,t,n))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var n=ke(),u=Pl(n);u.tag=1,u.payload=e,l!=null&&(u.callback=l),e=tn(t,u,n),e!==null&&(Ae(e,t,n),Ei(e,t,n))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=ke(),n=Pl(l);n.tag=2,e!=null&&(n.callback=e),e=tn(t,n,l),e!==null&&(Ae(e,t,l),Ei(e,t,l))}};function A0(t,e,l,n,u,f,d){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(n,f,d):e.prototype&&e.prototype.isPureReactComponent?!gi(l,n)||!gi(u,f):!0}function M0(t,e,l,n){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(l,n),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(l,n),e.state!==t&&kc.enqueueReplaceState(e,e.state,null)}function Xn(t,e){var l=e;if("ref"in e){l={};for(var n in e)n!=="ref"&&(l[n]=e[n])}if(t=t.defaultProps){l===e&&(l=b({},l));for(var u in t)l[u]===void 0&&(l[u]=t[u])}return l}function O0(t){Mu(t)}function C0(t){console.error(t)}function D0(t){Mu(t)}function Wu(t,e){try{var l=t.onUncaughtError;l(e.value,{componentStack:e.stack})}catch(n){setTimeout(function(){throw n})}}function w0(t,e,l){try{var n=t.onCaughtError;n(l.value,{componentStack:l.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function Vc(t,e,l){return l=Pl(l),l.tag=3,l.payload={element:null},l.callback=function(){Wu(t,e)},l}function R0(t){return t=Pl(t),t.tag=3,t}function U0(t,e,l,n){var u=l.type.getDerivedStateFromError;if(typeof u=="function"){var f=n.value;t.payload=function(){return u(f)},t.callback=function(){w0(e,l,n)}}var d=l.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(t.callback=function(){w0(e,l,n),typeof u!="function"&&(rn===null?rn=new Set([this]):rn.add(this));var _=n.stack;this.componentDidCatch(n.value,{componentStack:_!==null?_:""})})}function L_(t,e,l,n,u){if(l.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(e=l.alternate,e!==null&&ba(e,l,u,!0),l=qe.current,l!==null){switch(l.tag){case 31:case 13:return tl===null?fr():l.alternate===null&&kt===0&&(kt=3),l.flags&=-257,l.flags|=65536,l.lanes=u,n===Hu?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([n]):e.add(n),ys(t,n,u)),!1;case 22:return l.flags|=65536,n===Hu?l.flags|=16384:(e=l.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([n])},l.updateQueue=e):(l=e.retryQueue,l===null?e.retryQueue=new Set([n]):l.add(n)),ys(t,n,u)),!1}throw Error(i(435,l.tag))}return ys(t,n,u),fr(),!1}if(bt)return e=qe.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=u,n!==cc&&(t=Error(i(422),{cause:n}),bi(We(t,l)))):(n!==cc&&(e=Error(i(423),{cause:n}),bi(We(e,l))),t=t.current.alternate,t.flags|=65536,u&=-u,t.lanes|=u,n=We(n,l),u=Vc(t.stateNode,n,u),bc(t,u),kt!==4&&(kt=2)),!1;var f=Error(i(520),{cause:n});if(f=We(f,l),qi===null?qi=[f]:qi.push(f),kt!==4&&(kt=2),e===null)return!0;n=We(n,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=u&-u,l.lanes|=t,t=Vc(l.stateNode,n,t),bc(l,t),!1;case 1:if(e=l.type,f=l.stateNode,(l.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(rn===null||!rn.has(f))))return l.flags|=65536,u&=-u,l.lanes|=u,u=R0(u),U0(u,t,l,n),bc(l,u),!1}l=l.return}while(l!==null);return!1}var Qc=Error(i(461)),$t=!1;function re(t,e,l,n){e.child=t===null?Hh(e,null,l,n):Yn(e,t.child,l,n)}function N0(t,e,l,n,u){l=l.render;var f=e.ref;if("ref"in n){var d={};for(var _ in n)_!=="ref"&&(d[_]=n[_])}else d=n;return Bn(e),n=Ac(t,e,l,d,f,u),_=Mc(),t!==null&&!$t?(Oc(t,e,u),Ml(t,e,u)):(bt&&_&&rc(e),e.flags|=1,re(t,e,n,u),e.child)}function j0(t,e,l,n,u){if(t===null){var f=l.type;return typeof f=="function"&&!ac(f)&&f.defaultProps===void 0&&l.compare===null?(e.tag=15,e.type=f,B0(t,e,f,n,u)):(t=wu(l.type,null,n,e,e.mode,u),t.ref=e.ref,t.return=e,e.child=t)}if(f=t.child,!Pc(t,u)){var d=f.memoizedProps;if(l=l.compare,l=l!==null?l:gi,l(d,n)&&t.ref===e.ref)return Ml(t,e,u)}return e.flags|=1,t=Sl(f,n),t.ref=e.ref,t.return=e,e.child=t}function B0(t,e,l,n,u){if(t!==null){var f=t.memoizedProps;if(gi(f,n)&&t.ref===e.ref)if($t=!1,e.pendingProps=n=f,Pc(t,u))(t.flags&131072)!==0&&($t=!0);else return e.lanes=t.lanes,Ml(t,e,u)}return Zc(t,e,l,n,u)}function H0(t,e,l,n){var u=n.children,f=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if((e.flags&128)!==0){if(f=f!==null?f.baseLanes|l:l,t!==null){for(n=e.child=t.child,u=0;n!==null;)u=u|n.lanes|n.childLanes,n=n.sibling;n=u&~f}else n=0,e.child=null;return L0(t,e,f,l,n)}if((l&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&ju(e,f!==null?f.cachePool:null),f!==null?Yh(e,f):xc(),Gh(e);else return n=e.lanes=536870912,L0(t,e,f!==null?f.baseLanes|l:l,l,n)}else f!==null?(ju(e,f.cachePool),Yh(e,f),ln(),e.memoizedState=null):(t!==null&&ju(e,null),xc(),ln());return re(t,e,u,l),e.child}function Ri(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function L0(t,e,l,n,u){var f=pc();return f=f===null?null:{parent:Ft._currentValue,pool:f},e.memoizedState={baseLanes:l,cachePool:f},t!==null&&ju(e,null),xc(),Gh(e),t!==null&&ba(t,e,n,!0),e.childLanes=u,null}function $u(t,e){return e=Pu({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function q0(t,e,l){return Yn(e,t.child,null,l),t=$u(e,e.pendingProps),t.flags|=2,Ye(e),e.memoizedState=null,t}function q_(t,e,l){var n=e.pendingProps,u=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(bt){if(n.mode==="hidden")return t=$u(e,n),e.lanes=536870912,Ri(null,t);if(zc(e),(t=Nt)?(t=$m(t,Pe),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Jl!==null?{id:sl,overflow:ol}:null,retryLane:536870912,hydrationErrors:null},l=xh(t),l.return=e,e.child=l,ie=e,Nt=null)):t=null,t===null)throw Wl(e);return e.lanes=536870912,null}return $u(e,n)}var f=t.memoizedState;if(f!==null){var d=f.dehydrated;if(zc(e),u)if(e.flags&256)e.flags&=-257,e=q0(t,e,l);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(i(558));else if($t||ba(t,e,l,!1),u=(l&t.childLanes)!==0,$t||u){if(n=Ut,n!==null&&(d=Cd(n,l),d!==0&&d!==f.retryLane))throw f.retryLane=d,Rn(t,d),Ae(n,t,d),Qc;fr(),e=q0(t,e,l)}else t=f.treeContext,Nt=el(d.nextSibling),ie=e,bt=!0,Fl=null,Pe=!1,t!==null&&Eh(e,t),e=$u(e,n),e.flags|=4096;return e}return t=Sl(t.child,{mode:n.mode,children:n.children}),t.ref=e.ref,e.child=t,t.return=e,t}function Iu(t,e){var l=e.ref;if(l===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(i(284));(t===null||t.ref!==l)&&(e.flags|=4194816)}}function Zc(t,e,l,n,u){return Bn(e),l=Ac(t,e,l,n,void 0,u),n=Mc(),t!==null&&!$t?(Oc(t,e,u),Ml(t,e,u)):(bt&&n&&rc(e),e.flags|=1,re(t,e,l,u),e.child)}function Y0(t,e,l,n,u,f){return Bn(e),e.updateQueue=null,l=kh(e,n,l,u),Xh(t),n=Mc(),t!==null&&!$t?(Oc(t,e,f),Ml(t,e,f)):(bt&&n&&rc(e),e.flags|=1,re(t,e,l,f),e.child)}function G0(t,e,l,n,u){if(Bn(e),e.stateNode===null){var f=pa,d=l.contextType;typeof d=="object"&&d!==null&&(f=ue(d)),f=new l(n,f),e.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=kc,e.stateNode=f,f._reactInternals=e,f=e.stateNode,f.props=n,f.state=e.memoizedState,f.refs={},_c(e),d=l.contextType,f.context=typeof d=="object"&&d!==null?ue(d):pa,f.state=e.memoizedState,d=l.getDerivedStateFromProps,typeof d=="function"&&(Xc(e,l,d,n),f.state=e.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(d=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),d!==f.state&&kc.enqueueReplaceState(f,f.state,null),Mi(e,n,f,u),Ai(),f.state=e.memoizedState),typeof f.componentDidMount=="function"&&(e.flags|=4194308),n=!0}else if(t===null){f=e.stateNode;var _=e.memoizedProps,x=Xn(l,_);f.props=x;var w=f.context,G=l.contextType;d=pa,typeof G=="object"&&G!==null&&(d=ue(G));var Q=l.getDerivedStateFromProps;G=typeof Q=="function"||typeof f.getSnapshotBeforeUpdate=="function",_=e.pendingProps!==_,G||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(_||w!==d)&&M0(e,f,n,d),Il=!1;var R=e.memoizedState;f.state=R,Mi(e,n,f,u),Ai(),w=e.memoizedState,_||R!==w||Il?(typeof Q=="function"&&(Xc(e,l,Q,n),w=e.memoizedState),(x=Il||A0(e,l,x,n,R,w,d))?(G||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(e.flags|=4194308)):(typeof f.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=n,e.memoizedState=w),f.props=n,f.state=w,f.context=d,n=x):(typeof f.componentDidMount=="function"&&(e.flags|=4194308),n=!1)}else{f=e.stateNode,vc(t,e),d=e.memoizedProps,G=Xn(l,d),f.props=G,Q=e.pendingProps,R=f.context,w=l.contextType,x=pa,typeof w=="object"&&w!==null&&(x=ue(w)),_=l.getDerivedStateFromProps,(w=typeof _=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(d!==Q||R!==x)&&M0(e,f,n,x),Il=!1,R=e.memoizedState,f.state=R,Mi(e,n,f,u),Ai();var B=e.memoizedState;d!==Q||R!==B||Il||t!==null&&t.dependencies!==null&&Uu(t.dependencies)?(typeof _=="function"&&(Xc(e,l,_,n),B=e.memoizedState),(G=Il||A0(e,l,G,n,R,B,x)||t!==null&&t.dependencies!==null&&Uu(t.dependencies))?(w||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(n,B,x),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(n,B,x)),typeof f.componentDidUpdate=="function"&&(e.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof f.componentDidUpdate!="function"||d===t.memoizedProps&&R===t.memoizedState||(e.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||d===t.memoizedProps&&R===t.memoizedState||(e.flags|=1024),e.memoizedProps=n,e.memoizedState=B),f.props=n,f.state=B,f.context=x,n=G):(typeof f.componentDidUpdate!="function"||d===t.memoizedProps&&R===t.memoizedState||(e.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||d===t.memoizedProps&&R===t.memoizedState||(e.flags|=1024),n=!1)}return f=n,Iu(t,e),n=(e.flags&128)!==0,f||n?(f=e.stateNode,l=n&&typeof l.getDerivedStateFromError!="function"?null:f.render(),e.flags|=1,t!==null&&n?(e.child=Yn(e,t.child,null,u),e.child=Yn(e,null,l,u)):re(t,e,l,u),e.memoizedState=f.state,t=e.child):t=Ml(t,e,u),t}function X0(t,e,l,n){return Nn(),e.flags|=256,re(t,e,l,n),e.child}var Kc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Jc(t){return{baseLanes:t,cachePool:wh()}}function Fc(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=Xe),t}function k0(t,e,l){var n=e.pendingProps,u=!1,f=(e.flags&128)!==0,d;if((d=f)||(d=t!==null&&t.memoizedState===null?!1:(Zt.current&2)!==0),d&&(u=!0,e.flags&=-129),d=(e.flags&32)!==0,e.flags&=-33,t===null){if(bt){if(u?en(e):ln(),(t=Nt)?(t=$m(t,Pe),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Jl!==null?{id:sl,overflow:ol}:null,retryLane:536870912,hydrationErrors:null},l=xh(t),l.return=e,e.child=l,ie=e,Nt=null)):t=null,t===null)throw Wl(e);return ws(t)?e.lanes=32:e.lanes=536870912,null}var _=n.children;return n=n.fallback,u?(ln(),u=e.mode,_=Pu({mode:"hidden",children:_},u),n=Un(n,u,l,null),_.return=e,n.return=e,_.sibling=n,e.child=_,n=e.child,n.memoizedState=Jc(l),n.childLanes=Fc(t,d,l),e.memoizedState=Kc,Ri(null,n)):(en(e),Wc(e,_))}var x=t.memoizedState;if(x!==null&&(_=x.dehydrated,_!==null)){if(f)e.flags&256?(en(e),e.flags&=-257,e=$c(t,e,l)):e.memoizedState!==null?(ln(),e.child=t.child,e.flags|=128,e=null):(ln(),_=n.fallback,u=e.mode,n=Pu({mode:"visible",children:n.children},u),_=Un(_,u,l,null),_.flags|=2,n.return=e,_.return=e,n.sibling=_,e.child=n,Yn(e,t.child,null,l),n=e.child,n.memoizedState=Jc(l),n.childLanes=Fc(t,d,l),e.memoizedState=Kc,e=Ri(null,n));else if(en(e),ws(_)){if(d=_.nextSibling&&_.nextSibling.dataset,d)var w=d.dgst;d=w,n=Error(i(419)),n.stack="",n.digest=d,bi({value:n,source:null,stack:null}),e=$c(t,e,l)}else if($t||ba(t,e,l,!1),d=(l&t.childLanes)!==0,$t||d){if(d=Ut,d!==null&&(n=Cd(d,l),n!==0&&n!==x.retryLane))throw x.retryLane=n,Rn(t,n),Ae(d,t,n),Qc;Ds(_)||fr(),e=$c(t,e,l)}else Ds(_)?(e.flags|=192,e.child=t.child,e=null):(t=x.treeContext,Nt=el(_.nextSibling),ie=e,bt=!0,Fl=null,Pe=!1,t!==null&&Eh(e,t),e=Wc(e,n.children),e.flags|=4096);return e}return u?(ln(),_=n.fallback,u=e.mode,x=t.child,w=x.sibling,n=Sl(x,{mode:"hidden",children:n.children}),n.subtreeFlags=x.subtreeFlags&65011712,w!==null?_=Sl(w,_):(_=Un(_,u,l,null),_.flags|=2),_.return=e,n.return=e,n.sibling=_,e.child=n,Ri(null,n),n=e.child,_=t.child.memoizedState,_===null?_=Jc(l):(u=_.cachePool,u!==null?(x=Ft._currentValue,u=u.parent!==x?{parent:x,pool:x}:u):u=wh(),_={baseLanes:_.baseLanes|l,cachePool:u}),n.memoizedState=_,n.childLanes=Fc(t,d,l),e.memoizedState=Kc,Ri(t.child,n)):(en(e),l=t.child,t=l.sibling,l=Sl(l,{mode:"visible",children:n.children}),l.return=e,l.sibling=null,t!==null&&(d=e.deletions,d===null?(e.deletions=[t],e.flags|=16):d.push(t)),e.child=l,e.memoizedState=null,l)}function Wc(t,e){return e=Pu({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Pu(t,e){return t=Le(22,t,null,e),t.lanes=0,t}function $c(t,e,l){return Yn(e,t.child,null,l),t=Wc(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function V0(t,e,l){t.lanes|=e;var n=t.alternate;n!==null&&(n.lanes|=e),dc(t.return,e,l)}function Ic(t,e,l,n,u,f){var d=t.memoizedState;d===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:n,tail:l,tailMode:u,treeForkCount:f}:(d.isBackwards=e,d.rendering=null,d.renderingStartTime=0,d.last=n,d.tail=l,d.tailMode=u,d.treeForkCount=f)}function Q0(t,e,l){var n=e.pendingProps,u=n.revealOrder,f=n.tail;n=n.children;var d=Zt.current,_=(d&2)!==0;if(_?(d=d&1|2,e.flags|=128):d&=1,$(Zt,d),re(t,e,n,l),n=bt?vi:0,!_&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&V0(t,l,e);else if(t.tag===19)V0(t,l,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(u){case"forwards":for(l=e.child,u=null;l!==null;)t=l.alternate,t!==null&&Gu(t)===null&&(u=l),l=l.sibling;l=u,l===null?(u=e.child,e.child=null):(u=l.sibling,l.sibling=null),Ic(e,!1,u,l,f,n);break;case"backwards":case"unstable_legacy-backwards":for(l=null,u=e.child,e.child=null;u!==null;){if(t=u.alternate,t!==null&&Gu(t)===null){e.child=u;break}t=u.sibling,u.sibling=l,l=u,u=t}Ic(e,!0,l,null,f,n);break;case"together":Ic(e,!1,null,null,void 0,n);break;default:e.memoizedState=null}return e.child}function Ml(t,e,l){if(t!==null&&(e.dependencies=t.dependencies),un|=e.lanes,(l&e.childLanes)===0)if(t!==null){if(ba(t,e,l,!1),(l&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(i(153));if(e.child!==null){for(t=e.child,l=Sl(t,t.pendingProps),e.child=l,l.return=e;t.sibling!==null;)t=t.sibling,l=l.sibling=Sl(t,t.pendingProps),l.return=e;l.sibling=null}return e.child}function Pc(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Uu(t)))}function Y_(t,e,l){switch(e.tag){case 3:he(e,e.stateNode.containerInfo),$l(e,Ft,t.memoizedState.cache),Nn();break;case 27:case 5:ai(e);break;case 4:he(e,e.stateNode.containerInfo);break;case 10:$l(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,zc(e),null;break;case 13:var n=e.memoizedState;if(n!==null)return n.dehydrated!==null?(en(e),e.flags|=128,null):(l&e.child.childLanes)!==0?k0(t,e,l):(en(e),t=Ml(t,e,l),t!==null?t.sibling:null);en(e);break;case 19:var u=(t.flags&128)!==0;if(n=(l&e.childLanes)!==0,n||(ba(t,e,l,!1),n=(l&e.childLanes)!==0),u){if(n)return Q0(t,e,l);e.flags|=128}if(u=e.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),$(Zt,Zt.current),n)break;return null;case 22:return e.lanes=0,H0(t,e,l,e.pendingProps);case 24:$l(e,Ft,t.memoizedState.cache)}return Ml(t,e,l)}function Z0(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)$t=!0;else{if(!Pc(t,l)&&(e.flags&128)===0)return $t=!1,Y_(t,e,l);$t=(t.flags&131072)!==0}else $t=!1,bt&&(e.flags&1048576)!==0&&zh(e,vi,e.index);switch(e.lanes=0,e.tag){case 16:t:{var n=e.pendingProps;if(t=Ln(e.elementType),e.type=t,typeof t=="function")ac(t)?(n=Xn(t,n),e.tag=1,e=G0(null,e,t,n,l)):(e.tag=0,e=Zc(null,e,t,n,l));else{if(t!=null){var u=t.$$typeof;if(u===Z){e.tag=11,e=N0(null,e,t,n,l);break t}else if(u===V){e.tag=14,e=j0(null,e,t,n,l);break t}}throw e=St(t)||t,Error(i(306,e,""))}}return e;case 0:return Zc(t,e,e.type,e.pendingProps,l);case 1:return n=e.type,u=Xn(n,e.pendingProps),G0(t,e,n,u,l);case 3:t:{if(he(e,e.stateNode.containerInfo),t===null)throw Error(i(387));n=e.pendingProps;var f=e.memoizedState;u=f.element,vc(t,e),Mi(e,n,null,l);var d=e.memoizedState;if(n=d.cache,$l(e,Ft,n),n!==f.cache&&hc(e,[Ft],l,!0),Ai(),n=d.element,f.isDehydrated)if(f={element:n,isDehydrated:!1,cache:d.cache},e.updateQueue.baseState=f,e.memoizedState=f,e.flags&256){e=X0(t,e,n,l);break t}else if(n!==u){u=We(Error(i(424)),e),bi(u),e=X0(t,e,n,l);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Nt=el(t.firstChild),ie=e,bt=!0,Fl=null,Pe=!0,l=Hh(e,null,n,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Nn(),n===u){e=Ml(t,e,l);break t}re(t,e,n,l)}e=e.child}return e;case 26:return Iu(t,e),t===null?(l=ny(e.type,null,e.pendingProps,null))?e.memoizedState=l:bt||(l=e.type,t=e.pendingProps,n=yr(mt.current).createElement(l),n[ae]=e,n[be]=t,fe(n,l,t),ee(n),e.stateNode=n):e.memoizedState=ny(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return ai(e),t===null&&bt&&(n=e.stateNode=ty(e.type,e.pendingProps,mt.current),ie=e,Pe=!0,u=Nt,on(e.type)?(Rs=u,Nt=el(n.firstChild)):Nt=u),re(t,e,e.pendingProps.children,l),Iu(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&bt&&((u=n=Nt)&&(n=pv(n,e.type,e.pendingProps,Pe),n!==null?(e.stateNode=n,ie=e,Nt=el(n.firstChild),Pe=!1,u=!0):u=!1),u||Wl(e)),ai(e),u=e.type,f=e.pendingProps,d=t!==null?t.memoizedProps:null,n=f.children,Ms(u,f)?n=null:d!==null&&Ms(u,d)&&(e.flags|=32),e.memoizedState!==null&&(u=Ac(t,e,w_,null,null,l),Ki._currentValue=u),Iu(t,e),re(t,e,n,l),e.child;case 6:return t===null&&bt&&((t=l=Nt)&&(l=gv(l,e.pendingProps,Pe),l!==null?(e.stateNode=l,ie=e,Nt=null,t=!0):t=!1),t||Wl(e)),null;case 13:return k0(t,e,l);case 4:return he(e,e.stateNode.containerInfo),n=e.pendingProps,t===null?e.child=Yn(e,null,n,l):re(t,e,n,l),e.child;case 11:return N0(t,e,e.type,e.pendingProps,l);case 7:return re(t,e,e.pendingProps,l),e.child;case 8:return re(t,e,e.pendingProps.children,l),e.child;case 12:return re(t,e,e.pendingProps.children,l),e.child;case 10:return n=e.pendingProps,$l(e,e.type,n.value),re(t,e,n.children,l),e.child;case 9:return u=e.type._context,n=e.pendingProps.children,Bn(e),u=ue(u),n=n(u),e.flags|=1,re(t,e,n,l),e.child;case 14:return j0(t,e,e.type,e.pendingProps,l);case 15:return B0(t,e,e.type,e.pendingProps,l);case 19:return Q0(t,e,l);case 31:return q_(t,e,l);case 22:return H0(t,e,l,e.pendingProps);case 24:return Bn(e),n=ue(Ft),t===null?(u=pc(),u===null&&(u=Ut,f=mc(),u.pooledCache=f,f.refCount++,f!==null&&(u.pooledCacheLanes|=l),u=f),e.memoizedState={parent:n,cache:u},_c(e),$l(e,Ft,u)):((t.lanes&l)!==0&&(vc(t,e),Mi(e,null,null,l),Ai()),u=t.memoizedState,f=e.memoizedState,u.parent!==n?(u={parent:n,cache:n},e.memoizedState=u,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=u),$l(e,Ft,n)):(n=f.cache,$l(e,Ft,n),n!==u.cache&&hc(e,[Ft],l,!0))),re(t,e,e.pendingProps.children,l),e.child;case 29:throw e.pendingProps}throw Error(i(156,e.tag))}function Ol(t){t.flags|=4}function ts(t,e,l,n,u){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(u&335544128)===u)if(t.stateNode.complete)t.flags|=8192;else if(vm())t.flags|=8192;else throw qn=Hu,gc}else t.flags&=-16777217}function K0(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!fy(e))if(vm())t.flags|=8192;else throw qn=Hu,gc}function tr(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Ad():536870912,t.lanes|=e,Ra|=e)}function Ui(t,e){if(!bt)switch(t.tailMode){case"hidden":e=t.tail;for(var l=null;e!==null;)e.alternate!==null&&(l=e),e=e.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var n=null;l!==null;)l.alternate!==null&&(n=l),l=l.sibling;n===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:n.sibling=null}}function jt(t){var e=t.alternate!==null&&t.alternate.child===t.child,l=0,n=0;if(e)for(var u=t.child;u!==null;)l|=u.lanes|u.childLanes,n|=u.subtreeFlags&65011712,n|=u.flags&65011712,u.return=t,u=u.sibling;else for(u=t.child;u!==null;)l|=u.lanes|u.childLanes,n|=u.subtreeFlags,n|=u.flags,u.return=t,u=u.sibling;return t.subtreeFlags|=n,t.childLanes=l,e}function G_(t,e,l){var n=e.pendingProps;switch(fc(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return jt(e),null;case 1:return jt(e),null;case 3:return l=e.stateNode,n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),zl(Ft),Qt(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(va(e)?Ol(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,sc())),jt(e),null;case 26:var u=e.type,f=e.memoizedState;return t===null?(Ol(e),f!==null?(jt(e),K0(e,f)):(jt(e),ts(e,u,null,n,l))):f?f!==t.memoizedState?(Ol(e),jt(e),K0(e,f)):(jt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==n&&Ol(e),jt(e),ts(e,u,t,n,l)),null;case 27:if(ou(e),l=mt.current,u=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==n&&Ol(e);else{if(!n){if(e.stateNode===null)throw Error(i(166));return jt(e),null}t=P.current,va(e)?Ah(e):(t=ty(u,n,l),e.stateNode=t,Ol(e))}return jt(e),null;case 5:if(ou(e),u=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==n&&Ol(e);else{if(!n){if(e.stateNode===null)throw Error(i(166));return jt(e),null}if(f=P.current,va(e))Ah(e);else{var d=yr(mt.current);switch(f){case 1:f=d.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:f=d.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":f=d.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":f=d.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":f=d.createElement("div"),f.innerHTML="<script><\/script>",f=f.removeChild(f.firstChild);break;case"select":f=typeof n.is=="string"?d.createElement("select",{is:n.is}):d.createElement("select"),n.multiple?f.multiple=!0:n.size&&(f.size=n.size);break;default:f=typeof n.is=="string"?d.createElement(u,{is:n.is}):d.createElement(u)}}f[ae]=e,f[be]=n;t:for(d=e.child;d!==null;){if(d.tag===5||d.tag===6)f.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break t;for(;d.sibling===null;){if(d.return===null||d.return===e)break t;d=d.return}d.sibling.return=d.return,d=d.sibling}e.stateNode=f;t:switch(fe(f,u,n),u){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break t;case"img":n=!0;break t;default:n=!1}n&&Ol(e)}}return jt(e),ts(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,l),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==n&&Ol(e);else{if(typeof n!="string"&&e.stateNode===null)throw Error(i(166));if(t=mt.current,va(e)){if(t=e.stateNode,l=e.memoizedProps,n=null,u=ie,u!==null)switch(u.tag){case 27:case 5:n=u.memoizedProps}t[ae]=e,t=!!(t.nodeValue===l||n!==null&&n.suppressHydrationWarning===!0||km(t.nodeValue,l)),t||Wl(e,!0)}else t=yr(t).createTextNode(n),t[ae]=e,e.stateNode=t}return jt(e),null;case 31:if(l=e.memoizedState,t===null||t.memoizedState!==null){if(n=va(e),l!==null){if(t===null){if(!n)throw Error(i(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(557));t[ae]=e}else Nn(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;jt(e),t=!1}else l=sc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),t=!0;if(!t)return e.flags&256?(Ye(e),e):(Ye(e),null);if((e.flags&128)!==0)throw Error(i(558))}return jt(e),null;case 13:if(n=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(u=va(e),n!==null&&n.dehydrated!==null){if(t===null){if(!u)throw Error(i(318));if(u=e.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(i(317));u[ae]=e}else Nn(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;jt(e),u=!1}else u=sc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=u),u=!0;if(!u)return e.flags&256?(Ye(e),e):(Ye(e),null)}return Ye(e),(e.flags&128)!==0?(e.lanes=l,e):(l=n!==null,t=t!==null&&t.memoizedState!==null,l&&(n=e.child,u=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(u=n.alternate.memoizedState.cachePool.pool),f=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(f=n.memoizedState.cachePool.pool),f!==u&&(n.flags|=2048)),l!==t&&l&&(e.child.flags|=8192),tr(e,e.updateQueue),jt(e),null);case 4:return Qt(),t===null&&xs(e.stateNode.containerInfo),jt(e),null;case 10:return zl(e.type),jt(e),null;case 19:if(X(Zt),n=e.memoizedState,n===null)return jt(e),null;if(u=(e.flags&128)!==0,f=n.rendering,f===null)if(u)Ui(n,!1);else{if(kt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(f=Gu(t),f!==null){for(e.flags|=128,Ui(n,!1),t=f.updateQueue,e.updateQueue=t,tr(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)Sh(l,t),l=l.sibling;return $(Zt,Zt.current&1|2),bt&&xl(e,n.treeForkCount),e.child}t=t.sibling}n.tail!==null&&Ne()>ir&&(e.flags|=128,u=!0,Ui(n,!1),e.lanes=4194304)}else{if(!u)if(t=Gu(f),t!==null){if(e.flags|=128,u=!0,t=t.updateQueue,e.updateQueue=t,tr(e,t),Ui(n,!0),n.tail===null&&n.tailMode==="hidden"&&!f.alternate&&!bt)return jt(e),null}else 2*Ne()-n.renderingStartTime>ir&&l!==536870912&&(e.flags|=128,u=!0,Ui(n,!1),e.lanes=4194304);n.isBackwards?(f.sibling=e.child,e.child=f):(t=n.last,t!==null?t.sibling=f:e.child=f,n.last=f)}return n.tail!==null?(t=n.tail,n.rendering=t,n.tail=t.sibling,n.renderingStartTime=Ne(),t.sibling=null,l=Zt.current,$(Zt,u?l&1|2:l&1),bt&&xl(e,n.treeForkCount),t):(jt(e),null);case 22:case 23:return Ye(e),Tc(),n=e.memoizedState!==null,t!==null?t.memoizedState!==null!==n&&(e.flags|=8192):n&&(e.flags|=8192),n?(l&536870912)!==0&&(e.flags&128)===0&&(jt(e),e.subtreeFlags&6&&(e.flags|=8192)):jt(e),l=e.updateQueue,l!==null&&tr(e,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),n=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),n!==l&&(e.flags|=2048),t!==null&&X(Hn),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),zl(Ft),jt(e),null;case 25:return null;case 30:return null}throw Error(i(156,e.tag))}function X_(t,e){switch(fc(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return zl(Ft),Qt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return ou(e),null;case 31:if(e.memoizedState!==null){if(Ye(e),e.alternate===null)throw Error(i(340));Nn()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Ye(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(i(340));Nn()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return X(Zt),null;case 4:return Qt(),null;case 10:return zl(e.type),null;case 22:case 23:return Ye(e),Tc(),t!==null&&X(Hn),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return zl(Ft),null;case 25:return null;default:return null}}function J0(t,e){switch(fc(e),e.tag){case 3:zl(Ft),Qt();break;case 26:case 27:case 5:ou(e);break;case 4:Qt();break;case 31:e.memoizedState!==null&&Ye(e);break;case 13:Ye(e);break;case 19:X(Zt);break;case 10:zl(e.type);break;case 22:case 23:Ye(e),Tc(),t!==null&&X(Hn);break;case 24:zl(Ft)}}function Ni(t,e){try{var l=e.updateQueue,n=l!==null?l.lastEffect:null;if(n!==null){var u=n.next;l=u;do{if((l.tag&t)===t){n=void 0;var f=l.create,d=l.inst;n=f(),d.destroy=n}l=l.next}while(l!==u)}}catch(_){Mt(e,e.return,_)}}function nn(t,e,l){try{var n=e.updateQueue,u=n!==null?n.lastEffect:null;if(u!==null){var f=u.next;n=f;do{if((n.tag&t)===t){var d=n.inst,_=d.destroy;if(_!==void 0){d.destroy=void 0,u=e;var x=l,w=_;try{w()}catch(G){Mt(u,x,G)}}}n=n.next}while(n!==f)}}catch(G){Mt(e,e.return,G)}}function F0(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{qh(e,l)}catch(n){Mt(t,t.return,n)}}}function W0(t,e,l){l.props=Xn(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(n){Mt(t,e,n)}}function ji(t,e){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var n=t.stateNode;break;case 30:n=t.stateNode;break;default:n=t.stateNode}typeof l=="function"?t.refCleanup=l(n):l.current=n}}catch(u){Mt(t,e,u)}}function dl(t,e){var l=t.ref,n=t.refCleanup;if(l!==null)if(typeof n=="function")try{n()}catch(u){Mt(t,e,u)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(u){Mt(t,e,u)}else l.current=null}function $0(t){var e=t.type,l=t.memoizedProps,n=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break t;case"img":l.src?n.src=l.src:l.srcSet&&(n.srcset=l.srcSet)}}catch(u){Mt(t,t.return,u)}}function es(t,e,l){try{var n=t.stateNode;sv(n,t.type,l,e),n[be]=e}catch(u){Mt(t,t.return,u)}}function I0(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&on(t.type)||t.tag===4}function ls(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||I0(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&on(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function ns(t,e,l){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,e):(e=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.appendChild(t),l=l._reactRootContainer,l!=null||e.onclick!==null||(e.onclick=vl));else if(n!==4&&(n===27&&on(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(ns(t,e,l),t=t.sibling;t!==null;)ns(t,e,l),t=t.sibling}function er(t,e,l){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?l.insertBefore(t,e):l.appendChild(t);else if(n!==4&&(n===27&&on(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(er(t,e,l),t=t.sibling;t!==null;)er(t,e,l),t=t.sibling}function P0(t){var e=t.stateNode,l=t.memoizedProps;try{for(var n=t.type,u=e.attributes;u.length;)e.removeAttributeNode(u[0]);fe(e,n,l),e[ae]=t,e[be]=l}catch(f){Mt(t,t.return,f)}}var Cl=!1,It=!1,as=!1,tm=typeof WeakSet=="function"?WeakSet:Set,le=null;function k_(t,e){if(t=t.containerInfo,Es=xr,t=dh(t),$f(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else t:{l=(l=t.ownerDocument)&&l.defaultView||window;var n=l.getSelection&&l.getSelection();if(n&&n.rangeCount!==0){l=n.anchorNode;var u=n.anchorOffset,f=n.focusNode;n=n.focusOffset;try{l.nodeType,f.nodeType}catch{l=null;break t}var d=0,_=-1,x=-1,w=0,G=0,Q=t,R=null;e:for(;;){for(var B;Q!==l||u!==0&&Q.nodeType!==3||(_=d+u),Q!==f||n!==0&&Q.nodeType!==3||(x=d+n),Q.nodeType===3&&(d+=Q.nodeValue.length),(B=Q.firstChild)!==null;)R=Q,Q=B;for(;;){if(Q===t)break e;if(R===l&&++w===u&&(_=d),R===f&&++G===n&&(x=d),(B=Q.nextSibling)!==null)break;Q=R,R=Q.parentNode}Q=B}l=_===-1||x===-1?null:{start:_,end:x}}else l=null}l=l||{start:0,end:0}}else l=null;for(As={focusedElem:t,selectionRange:l},xr=!1,le=e;le!==null;)if(e=le,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,le=t;else for(;le!==null;){switch(e=le,f=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(l=0;l<t.length;l++)u=t[l],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&f!==null){t=void 0,l=e,u=f.memoizedProps,f=f.memoizedState,n=l.stateNode;try{var et=Xn(l.type,u);t=n.getSnapshotBeforeUpdate(et,f),n.__reactInternalSnapshotBeforeUpdate=t}catch(it){Mt(l,l.return,it)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,l=t.nodeType,l===9)Cs(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Cs(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(i(163))}if(t=e.sibling,t!==null){t.return=e.return,le=t;break}le=e.return}}function em(t,e,l){var n=l.flags;switch(l.tag){case 0:case 11:case 15:wl(t,l),n&4&&Ni(5,l);break;case 1:if(wl(t,l),n&4)if(t=l.stateNode,e===null)try{t.componentDidMount()}catch(d){Mt(l,l.return,d)}else{var u=Xn(l.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(u,e,t.__reactInternalSnapshotBeforeUpdate)}catch(d){Mt(l,l.return,d)}}n&64&&F0(l),n&512&&ji(l,l.return);break;case 3:if(wl(t,l),n&64&&(t=l.updateQueue,t!==null)){if(e=null,l.child!==null)switch(l.child.tag){case 27:case 5:e=l.child.stateNode;break;case 1:e=l.child.stateNode}try{qh(t,e)}catch(d){Mt(l,l.return,d)}}break;case 27:e===null&&n&4&&P0(l);case 26:case 5:wl(t,l),e===null&&n&4&&$0(l),n&512&&ji(l,l.return);break;case 12:wl(t,l);break;case 31:wl(t,l),n&4&&am(t,l);break;case 13:wl(t,l),n&4&&im(t,l),n&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=I_.bind(null,l),_v(t,l))));break;case 22:if(n=l.memoizedState!==null||Cl,!n){e=e!==null&&e.memoizedState!==null||It,u=Cl;var f=It;Cl=n,(It=e)&&!f?Rl(t,l,(l.subtreeFlags&8772)!==0):wl(t,l),Cl=u,It=f}break;case 30:break;default:wl(t,l)}}function lm(t){var e=t.alternate;e!==null&&(t.alternate=null,lm(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Nf(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Ht=null,xe=!1;function Dl(t,e,l){for(l=l.child;l!==null;)nm(t,e,l),l=l.sibling}function nm(t,e,l){if(je&&typeof je.onCommitFiberUnmount=="function")try{je.onCommitFiberUnmount(ii,l)}catch{}switch(l.tag){case 26:It||dl(l,e),Dl(t,e,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:It||dl(l,e);var n=Ht,u=xe;on(l.type)&&(Ht=l.stateNode,xe=!1),Dl(t,e,l),Vi(l.stateNode),Ht=n,xe=u;break;case 5:It||dl(l,e);case 6:if(n=Ht,u=xe,Ht=null,Dl(t,e,l),Ht=n,xe=u,Ht!==null)if(xe)try{(Ht.nodeType===9?Ht.body:Ht.nodeName==="HTML"?Ht.ownerDocument.body:Ht).removeChild(l.stateNode)}catch(f){Mt(l,e,f)}else try{Ht.removeChild(l.stateNode)}catch(f){Mt(l,e,f)}break;case 18:Ht!==null&&(xe?(t=Ht,Fm(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),Ya(t)):Fm(Ht,l.stateNode));break;case 4:n=Ht,u=xe,Ht=l.stateNode.containerInfo,xe=!0,Dl(t,e,l),Ht=n,xe=u;break;case 0:case 11:case 14:case 15:nn(2,l,e),It||nn(4,l,e),Dl(t,e,l);break;case 1:It||(dl(l,e),n=l.stateNode,typeof n.componentWillUnmount=="function"&&W0(l,e,n)),Dl(t,e,l);break;case 21:Dl(t,e,l);break;case 22:It=(n=It)||l.memoizedState!==null,Dl(t,e,l),It=n;break;default:Dl(t,e,l)}}function am(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Ya(t)}catch(l){Mt(e,e.return,l)}}}function im(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Ya(t)}catch(l){Mt(e,e.return,l)}}function V_(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new tm),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new tm),e;default:throw Error(i(435,t.tag))}}function lr(t,e){var l=V_(t);e.forEach(function(n){if(!l.has(n)){l.add(n);var u=P_.bind(null,t,n);n.then(u,u)}})}function Te(t,e){var l=e.deletions;if(l!==null)for(var n=0;n<l.length;n++){var u=l[n],f=t,d=e,_=d;t:for(;_!==null;){switch(_.tag){case 27:if(on(_.type)){Ht=_.stateNode,xe=!1;break t}break;case 5:Ht=_.stateNode,xe=!1;break t;case 3:case 4:Ht=_.stateNode.containerInfo,xe=!0;break t}_=_.return}if(Ht===null)throw Error(i(160));nm(f,d,u),Ht=null,xe=!1,f=u.alternate,f!==null&&(f.return=null),u.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)um(e,t),e=e.sibling}var al=null;function um(t,e){var l=t.alternate,n=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Te(e,t),ze(t),n&4&&(nn(3,t,t.return),Ni(3,t),nn(5,t,t.return));break;case 1:Te(e,t),ze(t),n&512&&(It||l===null||dl(l,l.return)),n&64&&Cl&&(t=t.updateQueue,t!==null&&(n=t.callbacks,n!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?n:l.concat(n))));break;case 26:var u=al;if(Te(e,t),ze(t),n&512&&(It||l===null||dl(l,l.return)),n&4){var f=l!==null?l.memoizedState:null;if(n=t.memoizedState,l===null)if(n===null)if(t.stateNode===null){t:{n=t.type,l=t.memoizedProps,u=u.ownerDocument||u;e:switch(n){case"title":f=u.getElementsByTagName("title")[0],(!f||f[fi]||f[ae]||f.namespaceURI==="http://www.w3.org/2000/svg"||f.hasAttribute("itemprop"))&&(f=u.createElement(n),u.head.insertBefore(f,u.querySelector("head > title"))),fe(f,n,l),f[ae]=t,ee(f),n=f;break t;case"link":var d=uy("link","href",u).get(n+(l.href||""));if(d){for(var _=0;_<d.length;_++)if(f=d[_],f.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&f.getAttribute("rel")===(l.rel==null?null:l.rel)&&f.getAttribute("title")===(l.title==null?null:l.title)&&f.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){d.splice(_,1);break e}}f=u.createElement(n),fe(f,n,l),u.head.appendChild(f);break;case"meta":if(d=uy("meta","content",u).get(n+(l.content||""))){for(_=0;_<d.length;_++)if(f=d[_],f.getAttribute("content")===(l.content==null?null:""+l.content)&&f.getAttribute("name")===(l.name==null?null:l.name)&&f.getAttribute("property")===(l.property==null?null:l.property)&&f.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&f.getAttribute("charset")===(l.charSet==null?null:l.charSet)){d.splice(_,1);break e}}f=u.createElement(n),fe(f,n,l),u.head.appendChild(f);break;default:throw Error(i(468,n))}f[ae]=t,ee(f),n=f}t.stateNode=n}else ry(u,t.type,t.stateNode);else t.stateNode=iy(u,n,t.memoizedProps);else f!==n?(f===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):f.count--,n===null?ry(u,t.type,t.stateNode):iy(u,n,t.memoizedProps)):n===null&&t.stateNode!==null&&es(t,t.memoizedProps,l.memoizedProps)}break;case 27:Te(e,t),ze(t),n&512&&(It||l===null||dl(l,l.return)),l!==null&&n&4&&es(t,t.memoizedProps,l.memoizedProps);break;case 5:if(Te(e,t),ze(t),n&512&&(It||l===null||dl(l,l.return)),t.flags&32){u=t.stateNode;try{ca(u,"")}catch(et){Mt(t,t.return,et)}}n&4&&t.stateNode!=null&&(u=t.memoizedProps,es(t,u,l!==null?l.memoizedProps:u)),n&1024&&(as=!0);break;case 6:if(Te(e,t),ze(t),n&4){if(t.stateNode===null)throw Error(i(162));n=t.memoizedProps,l=t.stateNode;try{l.nodeValue=n}catch(et){Mt(t,t.return,et)}}break;case 3:if(_r=null,u=al,al=pr(e.containerInfo),Te(e,t),al=u,ze(t),n&4&&l!==null&&l.memoizedState.isDehydrated)try{Ya(e.containerInfo)}catch(et){Mt(t,t.return,et)}as&&(as=!1,rm(t));break;case 4:n=al,al=pr(t.stateNode.containerInfo),Te(e,t),ze(t),al=n;break;case 12:Te(e,t),ze(t);break;case 31:Te(e,t),ze(t),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,lr(t,n)));break;case 13:Te(e,t),ze(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(ar=Ne()),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,lr(t,n)));break;case 22:u=t.memoizedState!==null;var x=l!==null&&l.memoizedState!==null,w=Cl,G=It;if(Cl=w||u,It=G||x,Te(e,t),It=G,Cl=w,ze(t),n&8192)t:for(e=t.stateNode,e._visibility=u?e._visibility&-2:e._visibility|1,u&&(l===null||x||Cl||It||kn(t)),l=null,e=t;;){if(e.tag===5||e.tag===26){if(l===null){x=l=e;try{if(f=x.stateNode,u)d=f.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none";else{_=x.stateNode;var Q=x.memoizedProps.style,R=Q!=null&&Q.hasOwnProperty("display")?Q.display:null;_.style.display=R==null||typeof R=="boolean"?"":(""+R).trim()}}catch(et){Mt(x,x.return,et)}}}else if(e.tag===6){if(l===null){x=e;try{x.stateNode.nodeValue=u?"":x.memoizedProps}catch(et){Mt(x,x.return,et)}}}else if(e.tag===18){if(l===null){x=e;try{var B=x.stateNode;u?Wm(B,!0):Wm(x.stateNode,!1)}catch(et){Mt(x,x.return,et)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;l===e&&(l=null),e=e.return}l===e&&(l=null),e.sibling.return=e.return,e=e.sibling}n&4&&(n=t.updateQueue,n!==null&&(l=n.retryQueue,l!==null&&(n.retryQueue=null,lr(t,l))));break;case 19:Te(e,t),ze(t),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,lr(t,n)));break;case 30:break;case 21:break;default:Te(e,t),ze(t)}}function ze(t){var e=t.flags;if(e&2){try{for(var l,n=t.return;n!==null;){if(I0(n)){l=n;break}n=n.return}if(l==null)throw Error(i(160));switch(l.tag){case 27:var u=l.stateNode,f=ls(t);er(t,f,u);break;case 5:var d=l.stateNode;l.flags&32&&(ca(d,""),l.flags&=-33);var _=ls(t);er(t,_,d);break;case 3:case 4:var x=l.stateNode.containerInfo,w=ls(t);ns(t,w,x);break;default:throw Error(i(161))}}catch(G){Mt(t,t.return,G)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function rm(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;rm(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function wl(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)em(t,e.alternate,e),e=e.sibling}function kn(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:nn(4,e,e.return),kn(e);break;case 1:dl(e,e.return);var l=e.stateNode;typeof l.componentWillUnmount=="function"&&W0(e,e.return,l),kn(e);break;case 27:Vi(e.stateNode);case 26:case 5:dl(e,e.return),kn(e);break;case 22:e.memoizedState===null&&kn(e);break;case 30:kn(e);break;default:kn(e)}t=t.sibling}}function Rl(t,e,l){for(l=l&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var n=e.alternate,u=t,f=e,d=f.flags;switch(f.tag){case 0:case 11:case 15:Rl(u,f,l),Ni(4,f);break;case 1:if(Rl(u,f,l),n=f,u=n.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(w){Mt(n,n.return,w)}if(n=f,u=n.updateQueue,u!==null){var _=n.stateNode;try{var x=u.shared.hiddenCallbacks;if(x!==null)for(u.shared.hiddenCallbacks=null,u=0;u<x.length;u++)Lh(x[u],_)}catch(w){Mt(n,n.return,w)}}l&&d&64&&F0(f),ji(f,f.return);break;case 27:P0(f);case 26:case 5:Rl(u,f,l),l&&n===null&&d&4&&$0(f),ji(f,f.return);break;case 12:Rl(u,f,l);break;case 31:Rl(u,f,l),l&&d&4&&am(u,f);break;case 13:Rl(u,f,l),l&&d&4&&im(u,f);break;case 22:f.memoizedState===null&&Rl(u,f,l),ji(f,f.return);break;case 30:break;default:Rl(u,f,l)}e=e.sibling}}function is(t,e){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&Si(l))}function us(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Si(t))}function il(t,e,l,n){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)fm(t,e,l,n),e=e.sibling}function fm(t,e,l,n){var u=e.flags;switch(e.tag){case 0:case 11:case 15:il(t,e,l,n),u&2048&&Ni(9,e);break;case 1:il(t,e,l,n);break;case 3:il(t,e,l,n),u&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Si(t)));break;case 12:if(u&2048){il(t,e,l,n),t=e.stateNode;try{var f=e.memoizedProps,d=f.id,_=f.onPostCommit;typeof _=="function"&&_(d,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(x){Mt(e,e.return,x)}}else il(t,e,l,n);break;case 31:il(t,e,l,n);break;case 13:il(t,e,l,n);break;case 23:break;case 22:f=e.stateNode,d=e.alternate,e.memoizedState!==null?f._visibility&2?il(t,e,l,n):Bi(t,e):f._visibility&2?il(t,e,l,n):(f._visibility|=2,Ca(t,e,l,n,(e.subtreeFlags&10256)!==0||!1)),u&2048&&is(d,e);break;case 24:il(t,e,l,n),u&2048&&us(e.alternate,e);break;default:il(t,e,l,n)}}function Ca(t,e,l,n,u){for(u=u&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var f=t,d=e,_=l,x=n,w=d.flags;switch(d.tag){case 0:case 11:case 15:Ca(f,d,_,x,u),Ni(8,d);break;case 23:break;case 22:var G=d.stateNode;d.memoizedState!==null?G._visibility&2?Ca(f,d,_,x,u):Bi(f,d):(G._visibility|=2,Ca(f,d,_,x,u)),u&&w&2048&&is(d.alternate,d);break;case 24:Ca(f,d,_,x,u),u&&w&2048&&us(d.alternate,d);break;default:Ca(f,d,_,x,u)}e=e.sibling}}function Bi(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var l=t,n=e,u=n.flags;switch(n.tag){case 22:Bi(l,n),u&2048&&is(n.alternate,n);break;case 24:Bi(l,n),u&2048&&us(n.alternate,n);break;default:Bi(l,n)}e=e.sibling}}var Hi=8192;function Da(t,e,l){if(t.subtreeFlags&Hi)for(t=t.child;t!==null;)cm(t,e,l),t=t.sibling}function cm(t,e,l){switch(t.tag){case 26:Da(t,e,l),t.flags&Hi&&t.memoizedState!==null&&Dv(l,al,t.memoizedState,t.memoizedProps);break;case 5:Da(t,e,l);break;case 3:case 4:var n=al;al=pr(t.stateNode.containerInfo),Da(t,e,l),al=n;break;case 22:t.memoizedState===null&&(n=t.alternate,n!==null&&n.memoizedState!==null?(n=Hi,Hi=16777216,Da(t,e,l),Hi=n):Da(t,e,l));break;default:Da(t,e,l)}}function sm(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Li(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var n=e[l];le=n,dm(n,t)}sm(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)om(t),t=t.sibling}function om(t){switch(t.tag){case 0:case 11:case 15:Li(t),t.flags&2048&&nn(9,t,t.return);break;case 3:Li(t);break;case 12:Li(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,nr(t)):Li(t);break;default:Li(t)}}function nr(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var n=e[l];le=n,dm(n,t)}sm(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:nn(8,e,e.return),nr(e);break;case 22:l=e.stateNode,l._visibility&2&&(l._visibility&=-3,nr(e));break;default:nr(e)}t=t.sibling}}function dm(t,e){for(;le!==null;){var l=le;switch(l.tag){case 0:case 11:case 15:nn(8,l,e);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var n=l.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:Si(l.memoizedState.cache)}if(n=l.child,n!==null)n.return=l,le=n;else t:for(l=t;le!==null;){n=le;var u=n.sibling,f=n.return;if(lm(n),n===l){le=null;break t}if(u!==null){u.return=f,le=u;break t}le=f}}}var Q_={getCacheForType:function(t){var e=ue(Ft),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l},cacheSignal:function(){return ue(Ft).controller.signal}},Z_=typeof WeakMap=="function"?WeakMap:Map,zt=0,Ut=null,yt=null,gt=0,At=0,Ge=null,an=!1,wa=!1,rs=!1,Ul=0,kt=0,un=0,Vn=0,fs=0,Xe=0,Ra=0,qi=null,Ee=null,cs=!1,ar=0,hm=0,ir=1/0,ur=null,rn=null,Pt=0,fn=null,Ua=null,Nl=0,ss=0,os=null,mm=null,Yi=0,ds=null;function ke(){return(zt&2)!==0&&gt!==0?gt&-gt:U.T!==null?_s():Dd()}function ym(){if(Xe===0)if((gt&536870912)===0||bt){var t=mu;mu<<=1,(mu&3932160)===0&&(mu=262144),Xe=t}else Xe=536870912;return t=qe.current,t!==null&&(t.flags|=32),Xe}function Ae(t,e,l){(t===Ut&&(At===2||At===9)||t.cancelPendingCommit!==null)&&(Na(t,0),cn(t,gt,Xe,!1)),ri(t,l),((zt&2)===0||t!==Ut)&&(t===Ut&&((zt&2)===0&&(Vn|=l),kt===4&&cn(t,gt,Xe,!1)),hl(t))}function pm(t,e,l){if((zt&6)!==0)throw Error(i(327));var n=!l&&(e&127)===0&&(e&t.expiredLanes)===0||ui(t,e),u=n?F_(t,e):ms(t,e,!0),f=n;do{if(u===0){wa&&!n&&cn(t,e,0,!1);break}else{if(l=t.current.alternate,f&&!K_(l)){u=ms(t,e,!1),f=!1;continue}if(u===2){if(f=e,t.errorRecoveryDisabledLanes&f)var d=0;else d=t.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){e=d;t:{var _=t;u=qi;var x=_.current.memoizedState.isDehydrated;if(x&&(Na(_,d).flags|=256),d=ms(_,d,!1),d!==2){if(rs&&!x){_.errorRecoveryDisabledLanes|=f,Vn|=f,u=4;break t}f=Ee,Ee=u,f!==null&&(Ee===null?Ee=f:Ee.push.apply(Ee,f))}u=d}if(f=!1,u!==2)continue}}if(u===1){Na(t,0),cn(t,e,0,!0);break}t:{switch(n=t,f=u,f){case 0:case 1:throw Error(i(345));case 4:if((e&4194048)!==e)break;case 6:cn(n,e,Xe,!an);break t;case 2:Ee=null;break;case 3:case 5:break;default:throw Error(i(329))}if((e&62914560)===e&&(u=ar+300-Ne(),10<u)){if(cn(n,e,Xe,!an),pu(n,0,!0)!==0)break t;Nl=e,n.timeoutHandle=Km(gm.bind(null,n,l,Ee,ur,cs,e,Xe,Vn,Ra,an,f,"Throttled",-0,0),u);break t}gm(n,l,Ee,ur,cs,e,Xe,Vn,Ra,an,f,null,-0,0)}}break}while(!0);hl(t)}function gm(t,e,l,n,u,f,d,_,x,w,G,Q,R,B){if(t.timeoutHandle=-1,Q=e.subtreeFlags,Q&8192||(Q&16785408)===16785408){Q={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:vl},cm(e,f,Q);var et=(f&62914560)===f?ar-Ne():(f&4194048)===f?hm-Ne():0;if(et=wv(Q,et),et!==null){Nl=f,t.cancelPendingCommit=et(Em.bind(null,t,e,f,l,n,u,d,_,x,G,Q,null,R,B)),cn(t,f,d,!w);return}}Em(t,e,f,l,n,u,d,_,x)}function K_(t){for(var e=t;;){var l=e.tag;if((l===0||l===11||l===15)&&e.flags&16384&&(l=e.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var n=0;n<l.length;n++){var u=l[n],f=u.getSnapshot;u=u.value;try{if(!He(f(),u))return!1}catch{return!1}}if(l=e.child,e.subtreeFlags&16384&&l!==null)l.return=e,e=l;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function cn(t,e,l,n){e&=~fs,e&=~Vn,t.suspendedLanes|=e,t.pingedLanes&=~e,n&&(t.warmLanes|=e),n=t.expirationTimes;for(var u=e;0<u;){var f=31-Be(u),d=1<<f;n[f]=-1,u&=~d}l!==0&&Md(t,l,e)}function rr(){return(zt&6)===0?(Gi(0),!1):!0}function hs(){if(yt!==null){if(At===0)var t=yt.return;else t=yt,Tl=jn=null,Cc(t),za=null,Ti=0,t=yt;for(;t!==null;)J0(t.alternate,t),t=t.return;yt=null}}function Na(t,e){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,hv(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),Nl=0,hs(),Ut=t,yt=l=Sl(t.current,null),gt=e,At=0,Ge=null,an=!1,wa=ui(t,e),rs=!1,Ra=Xe=fs=Vn=un=kt=0,Ee=qi=null,cs=!1,(e&8)!==0&&(e|=e&32);var n=t.entangledLanes;if(n!==0)for(t=t.entanglements,n&=e;0<n;){var u=31-Be(n),f=1<<u;e|=t[u],n&=~f}return Ul=e,Ou(),l}function _m(t,e){ot=null,U.H=wi,e===Ta||e===Bu?(e=Nh(),At=3):e===gc?(e=Nh(),At=4):At=e===Qc?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Ge=e,yt===null&&(kt=1,Wu(t,We(e,t.current)))}function vm(){var t=qe.current;return t===null?!0:(gt&4194048)===gt?tl===null:(gt&62914560)===gt||(gt&536870912)!==0?t===tl:!1}function bm(){var t=U.H;return U.H=wi,t===null?wi:t}function Sm(){var t=U.A;return U.A=Q_,t}function fr(){kt=4,an||(gt&4194048)!==gt&&qe.current!==null||(wa=!0),(un&134217727)===0&&(Vn&134217727)===0||Ut===null||cn(Ut,gt,Xe,!1)}function ms(t,e,l){var n=zt;zt|=2;var u=bm(),f=Sm();(Ut!==t||gt!==e)&&(ur=null,Na(t,e)),e=!1;var d=kt;t:do try{if(At!==0&&yt!==null){var _=yt,x=Ge;switch(At){case 8:hs(),d=6;break t;case 3:case 2:case 9:case 6:qe.current===null&&(e=!0);var w=At;if(At=0,Ge=null,ja(t,_,x,w),l&&wa){d=0;break t}break;default:w=At,At=0,Ge=null,ja(t,_,x,w)}}J_(),d=kt;break}catch(G){_m(t,G)}while(!0);return e&&t.shellSuspendCounter++,Tl=jn=null,zt=n,U.H=u,U.A=f,yt===null&&(Ut=null,gt=0,Ou()),d}function J_(){for(;yt!==null;)xm(yt)}function F_(t,e){var l=zt;zt|=2;var n=bm(),u=Sm();Ut!==t||gt!==e?(ur=null,ir=Ne()+500,Na(t,e)):wa=ui(t,e);t:do try{if(At!==0&&yt!==null){e=yt;var f=Ge;e:switch(At){case 1:At=0,Ge=null,ja(t,e,f,1);break;case 2:case 9:if(Rh(f)){At=0,Ge=null,Tm(e);break}e=function(){At!==2&&At!==9||Ut!==t||(At=7),hl(t)},f.then(e,e);break t;case 3:At=7;break t;case 4:At=5;break t;case 7:Rh(f)?(At=0,Ge=null,Tm(e)):(At=0,Ge=null,ja(t,e,f,7));break;case 5:var d=null;switch(yt.tag){case 26:d=yt.memoizedState;case 5:case 27:var _=yt;if(d?fy(d):_.stateNode.complete){At=0,Ge=null;var x=_.sibling;if(x!==null)yt=x;else{var w=_.return;w!==null?(yt=w,cr(w)):yt=null}break e}}At=0,Ge=null,ja(t,e,f,5);break;case 6:At=0,Ge=null,ja(t,e,f,6);break;case 8:hs(),kt=6;break t;default:throw Error(i(462))}}W_();break}catch(G){_m(t,G)}while(!0);return Tl=jn=null,U.H=n,U.A=u,zt=l,yt!==null?0:(Ut=null,gt=0,Ou(),kt)}function W_(){for(;yt!==null&&!vg();)xm(yt)}function xm(t){var e=Z0(t.alternate,t,Ul);t.memoizedProps=t.pendingProps,e===null?cr(t):yt=e}function Tm(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=Y0(l,e,e.pendingProps,e.type,void 0,gt);break;case 11:e=Y0(l,e,e.pendingProps,e.type.render,e.ref,gt);break;case 5:Cc(e);default:J0(l,e),e=yt=Sh(e,Ul),e=Z0(l,e,Ul)}t.memoizedProps=t.pendingProps,e===null?cr(t):yt=e}function ja(t,e,l,n){Tl=jn=null,Cc(e),za=null,Ti=0;var u=e.return;try{if(L_(t,u,e,l,gt)){kt=1,Wu(t,We(l,t.current)),yt=null;return}}catch(f){if(u!==null)throw yt=u,f;kt=1,Wu(t,We(l,t.current)),yt=null;return}e.flags&32768?(bt||n===1?t=!0:wa||(gt&536870912)!==0?t=!1:(an=t=!0,(n===2||n===9||n===3||n===6)&&(n=qe.current,n!==null&&n.tag===13&&(n.flags|=16384))),zm(e,t)):cr(e)}function cr(t){var e=t;do{if((e.flags&32768)!==0){zm(e,an);return}t=e.return;var l=G_(e.alternate,e,Ul);if(l!==null){yt=l;return}if(e=e.sibling,e!==null){yt=e;return}yt=e=t}while(e!==null);kt===0&&(kt=5)}function zm(t,e){do{var l=X_(t.alternate,t);if(l!==null){l.flags&=32767,yt=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!e&&(t=t.sibling,t!==null)){yt=t;return}yt=t=l}while(t!==null);kt=6,yt=null}function Em(t,e,l,n,u,f,d,_,x){t.cancelPendingCommit=null;do sr();while(Pt!==0);if((zt&6)!==0)throw Error(i(327));if(e!==null){if(e===t.current)throw Error(i(177));if(f=e.lanes|e.childLanes,f|=lc,Cg(t,l,f,d,_,x),t===Ut&&(yt=Ut=null,gt=0),Ua=e,fn=t,Nl=l,ss=f,os=u,mm=n,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,tv(du,function(){return Dm(),null})):(t.callbackNode=null,t.callbackPriority=0),n=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||n){n=U.T,U.T=null,u=N.p,N.p=2,d=zt,zt|=4;try{k_(t,e,l)}finally{zt=d,N.p=u,U.T=n}}Pt=1,Am(),Mm(),Om()}}function Am(){if(Pt===1){Pt=0;var t=fn,e=Ua,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=U.T,U.T=null;var n=N.p;N.p=2;var u=zt;zt|=4;try{um(e,t);var f=As,d=dh(t.containerInfo),_=f.focusedElem,x=f.selectionRange;if(d!==_&&_&&_.ownerDocument&&oh(_.ownerDocument.documentElement,_)){if(x!==null&&$f(_)){var w=x.start,G=x.end;if(G===void 0&&(G=w),"selectionStart"in _)_.selectionStart=w,_.selectionEnd=Math.min(G,_.value.length);else{var Q=_.ownerDocument||document,R=Q&&Q.defaultView||window;if(R.getSelection){var B=R.getSelection(),et=_.textContent.length,it=Math.min(x.start,et),Dt=x.end===void 0?it:Math.min(x.end,et);!B.extend&&it>Dt&&(d=Dt,Dt=it,it=d);var O=sh(_,it),z=sh(_,Dt);if(O&&z&&(B.rangeCount!==1||B.anchorNode!==O.node||B.anchorOffset!==O.offset||B.focusNode!==z.node||B.focusOffset!==z.offset)){var D=Q.createRange();D.setStart(O.node,O.offset),B.removeAllRanges(),it>Dt?(B.addRange(D),B.extend(z.node,z.offset)):(D.setEnd(z.node,z.offset),B.addRange(D))}}}}for(Q=[],B=_;B=B.parentNode;)B.nodeType===1&&Q.push({element:B,left:B.scrollLeft,top:B.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_<Q.length;_++){var k=Q[_];k.element.scrollLeft=k.left,k.element.scrollTop=k.top}}xr=!!Es,As=Es=null}finally{zt=u,N.p=n,U.T=l}}t.current=e,Pt=2}}function Mm(){if(Pt===2){Pt=0;var t=fn,e=Ua,l=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||l){l=U.T,U.T=null;var n=N.p;N.p=2;var u=zt;zt|=4;try{em(t,e.alternate,e)}finally{zt=u,N.p=n,U.T=l}}Pt=3}}function Om(){if(Pt===4||Pt===3){Pt=0,bg();var t=fn,e=Ua,l=Nl,n=mm;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Pt=5:(Pt=0,Ua=fn=null,Cm(t,t.pendingLanes));var u=t.pendingLanes;if(u===0&&(rn=null),Rf(l),e=e.stateNode,je&&typeof je.onCommitFiberRoot=="function")try{je.onCommitFiberRoot(ii,e,void 0,(e.current.flags&128)===128)}catch{}if(n!==null){e=U.T,u=N.p,N.p=2,U.T=null;try{for(var f=t.onRecoverableError,d=0;d<n.length;d++){var _=n[d];f(_.value,{componentStack:_.stack})}}finally{U.T=e,N.p=u}}(Nl&3)!==0&&sr(),hl(t),u=t.pendingLanes,(l&261930)!==0&&(u&42)!==0?t===ds?Yi++:(Yi=0,ds=t):Yi=0,Gi(0)}}function Cm(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Si(e)))}function sr(){return Am(),Mm(),Om(),Dm()}function Dm(){if(Pt!==5)return!1;var t=fn,e=ss;ss=0;var l=Rf(Nl),n=U.T,u=N.p;try{N.p=32>l?32:l,U.T=null,l=os,os=null;var f=fn,d=Nl;if(Pt=0,Ua=fn=null,Nl=0,(zt&6)!==0)throw Error(i(331));var _=zt;if(zt|=4,om(f.current),fm(f,f.current,d,l),zt=_,Gi(0,!1),je&&typeof je.onPostCommitFiberRoot=="function")try{je.onPostCommitFiberRoot(ii,f)}catch{}return!0}finally{N.p=u,U.T=n,Cm(t,e)}}function wm(t,e,l){e=We(l,e),e=Vc(t.stateNode,e,2),t=tn(t,e,2),t!==null&&(ri(t,2),hl(t))}function Mt(t,e,l){if(t.tag===3)wm(t,t,l);else for(;e!==null;){if(e.tag===3){wm(e,t,l);break}else if(e.tag===1){var n=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(rn===null||!rn.has(n))){t=We(l,t),l=R0(2),n=tn(e,l,2),n!==null&&(U0(l,n,e,t),ri(n,2),hl(n));break}}e=e.return}}function ys(t,e,l){var n=t.pingCache;if(n===null){n=t.pingCache=new Z_;var u=new Set;n.set(e,u)}else u=n.get(e),u===void 0&&(u=new Set,n.set(e,u));u.has(l)||(rs=!0,u.add(l),t=$_.bind(null,t,e,l),e.then(t,t))}function $_(t,e,l){var n=t.pingCache;n!==null&&n.delete(e),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,Ut===t&&(gt&l)===l&&(kt===4||kt===3&&(gt&62914560)===gt&&300>Ne()-ar?(zt&2)===0&&Na(t,0):fs|=l,Ra===gt&&(Ra=0)),hl(t)}function Rm(t,e){e===0&&(e=Ad()),t=Rn(t,e),t!==null&&(ri(t,e),hl(t))}function I_(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),Rm(t,l)}function P_(t,e){var l=0;switch(t.tag){case 31:case 13:var n=t.stateNode,u=t.memoizedState;u!==null&&(l=u.retryLane);break;case 19:n=t.stateNode;break;case 22:n=t.stateNode._retryCache;break;default:throw Error(i(314))}n!==null&&n.delete(e),Rm(t,l)}function tv(t,e){return Of(t,e)}var or=null,Ba=null,ps=!1,dr=!1,gs=!1,sn=0;function hl(t){t!==Ba&&t.next===null&&(Ba===null?or=Ba=t:Ba=Ba.next=t),dr=!0,ps||(ps=!0,lv())}function Gi(t,e){if(!gs&&dr){gs=!0;do for(var l=!1,n=or;n!==null;){if(t!==0){var u=n.pendingLanes;if(u===0)var f=0;else{var d=n.suspendedLanes,_=n.pingedLanes;f=(1<<31-Be(42|t)+1)-1,f&=u&~(d&~_),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(l=!0,Bm(n,f))}else f=gt,f=pu(n,n===Ut?f:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(f&3)===0||ui(n,f)||(l=!0,Bm(n,f));n=n.next}while(l);gs=!1}}function ev(){Um()}function Um(){dr=ps=!1;var t=0;sn!==0&&dv()&&(t=sn);for(var e=Ne(),l=null,n=or;n!==null;){var u=n.next,f=Nm(n,e);f===0?(n.next=null,l===null?or=u:l.next=u,u===null&&(Ba=l)):(l=n,(t!==0||(f&3)!==0)&&(dr=!0)),n=u}Pt!==0&&Pt!==5||Gi(t),sn!==0&&(sn=0)}function Nm(t,e){for(var l=t.suspendedLanes,n=t.pingedLanes,u=t.expirationTimes,f=t.pendingLanes&-62914561;0<f;){var d=31-Be(f),_=1<<d,x=u[d];x===-1?((_&l)===0||(_&n)!==0)&&(u[d]=Og(_,e)):x<=e&&(t.expiredLanes|=_),f&=~_}if(e=Ut,l=gt,l=pu(t,t===e?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),n=t.callbackNode,l===0||t===e&&(At===2||At===9)||t.cancelPendingCommit!==null)return n!==null&&n!==null&&Cf(n),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||ui(t,l)){if(e=l&-l,e===t.callbackPriority)return e;switch(n!==null&&Cf(n),Rf(l)){case 2:case 8:l=zd;break;case 32:l=du;break;case 268435456:l=Ed;break;default:l=du}return n=jm.bind(null,t),l=Of(l,n),t.callbackPriority=e,t.callbackNode=l,e}return n!==null&&n!==null&&Cf(n),t.callbackPriority=2,t.callbackNode=null,2}function jm(t,e){if(Pt!==0&&Pt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(sr()&&t.callbackNode!==l)return null;var n=gt;return n=pu(t,t===Ut?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),n===0?null:(pm(t,n,e),Nm(t,Ne()),t.callbackNode!=null&&t.callbackNode===l?jm.bind(null,t):null)}function Bm(t,e){if(sr())return null;pm(t,e,!0)}function lv(){mv(function(){(zt&6)!==0?Of(Td,ev):Um()})}function _s(){if(sn===0){var t=Sa;t===0&&(t=hu,hu<<=1,(hu&261888)===0&&(hu=256)),sn=t}return sn}function Hm(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:bu(""+t)}function Lm(t,e){var l=e.ownerDocument.createElement("input");return l.name=e.name,l.value=e.value,t.id&&l.setAttribute("form",t.id),e.parentNode.insertBefore(l,e),t=new FormData(t),l.parentNode.removeChild(l),t}function nv(t,e,l,n,u){if(e==="submit"&&l&&l.stateNode===u){var f=Hm((u[be]||null).action),d=n.submitter;d&&(e=(e=d[be]||null)?Hm(e.formAction):d.getAttribute("formAction"),e!==null&&(f=e,d=null));var _=new zu("action","action",null,n,u);t.push({event:_,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(sn!==0){var x=d?Lm(u,d):new FormData(u);Lc(l,{pending:!0,data:x,method:u.method,action:f},null,x)}}else typeof f=="function"&&(_.preventDefault(),x=d?Lm(u,d):new FormData(u),Lc(l,{pending:!0,data:x,method:u.method,action:f},f,x))},currentTarget:u}]})}}for(var vs=0;vs<ec.length;vs++){var bs=ec[vs],av=bs.toLowerCase(),iv=bs[0].toUpperCase()+bs.slice(1);nl(av,"on"+iv)}nl(yh,"onAnimationEnd"),nl(ph,"onAnimationIteration"),nl(gh,"onAnimationStart"),nl("dblclick","onDoubleClick"),nl("focusin","onFocus"),nl("focusout","onBlur"),nl(S_,"onTransitionRun"),nl(x_,"onTransitionStart"),nl(T_,"onTransitionCancel"),nl(_h,"onTransitionEnd"),ra("onMouseEnter",["mouseout","mouseover"]),ra("onMouseLeave",["mouseout","mouseover"]),ra("onPointerEnter",["pointerout","pointerover"]),ra("onPointerLeave",["pointerout","pointerover"]),On("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),On("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),On("onBeforeInput",["compositionend","keypress","textInput","paste"]),On("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),On("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),On("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xi="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(" "),uv=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Xi));function qm(t,e){e=(e&4)!==0;for(var l=0;l<t.length;l++){var n=t[l],u=n.event;n=n.listeners;t:{var f=void 0;if(e)for(var d=n.length-1;0<=d;d--){var _=n[d],x=_.instance,w=_.currentTarget;if(_=_.listener,x!==f&&u.isPropagationStopped())break t;f=_,u.currentTarget=w;try{f(u)}catch(G){Mu(G)}u.currentTarget=null,f=x}else for(d=0;d<n.length;d++){if(_=n[d],x=_.instance,w=_.currentTarget,_=_.listener,x!==f&&u.isPropagationStopped())break t;f=_,u.currentTarget=w;try{f(u)}catch(G){Mu(G)}u.currentTarget=null,f=x}}}}function pt(t,e){var l=e[Uf];l===void 0&&(l=e[Uf]=new Set);var n=t+"__bubble";l.has(n)||(Ym(e,t,2,!1),l.add(n))}function Ss(t,e,l){var n=0;e&&(n|=4),Ym(l,t,n,e)}var hr="_reactListening"+Math.random().toString(36).slice(2);function xs(t){if(!t[hr]){t[hr]=!0,Ud.forEach(function(l){l!=="selectionchange"&&(uv.has(l)||Ss(l,!1,t),Ss(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[hr]||(e[hr]=!0,Ss("selectionchange",!1,e))}}function Ym(t,e,l,n){switch(yy(e)){case 2:var u=Nv;break;case 8:u=jv;break;default:u=Hs}l=u.bind(null,e,l,t),u=void 0,!Xf||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(u=!0),n?u!==void 0?t.addEventListener(e,l,{capture:!0,passive:u}):t.addEventListener(e,l,!0):u!==void 0?t.addEventListener(e,l,{passive:u}):t.addEventListener(e,l,!1)}function Ts(t,e,l,n,u){var f=n;if((e&1)===0&&(e&2)===0&&n!==null)t:for(;;){if(n===null)return;var d=n.tag;if(d===3||d===4){var _=n.stateNode.containerInfo;if(_===u)break;if(d===4)for(d=n.return;d!==null;){var x=d.tag;if((x===3||x===4)&&d.stateNode.containerInfo===u)return;d=d.return}for(;_!==null;){if(d=aa(_),d===null)return;if(x=d.tag,x===5||x===6||x===26||x===27){n=f=d;continue t}_=_.parentNode}}n=n.return}Qd(function(){var w=f,G=Yf(l),Q=[];t:{var R=vh.get(t);if(R!==void 0){var B=zu,et=t;switch(t){case"keypress":if(xu(l)===0)break t;case"keydown":case"keyup":B=Pg;break;case"focusin":et="focus",B=Zf;break;case"focusout":et="blur",B=Zf;break;case"beforeblur":case"afterblur":B=Zf;break;case"click":if(l.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":B=Jd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":B=Gg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":B=l_;break;case yh:case ph:case gh:B=Vg;break;case _h:B=a_;break;case"scroll":case"scrollend":B=qg;break;case"wheel":B=u_;break;case"copy":case"cut":case"paste":B=Zg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":B=Wd;break;case"toggle":case"beforetoggle":B=f_}var it=(e&4)!==0,Dt=!it&&(t==="scroll"||t==="scrollend"),O=it?R!==null?R+"Capture":null:R;it=[];for(var z=w,D;z!==null;){var k=z;if(D=k.stateNode,k=k.tag,k!==5&&k!==26&&k!==27||D===null||O===null||(k=si(z,O),k!=null&&it.push(ki(z,k,D))),Dt)break;z=z.return}0<it.length&&(R=new B(R,et,null,l,G),Q.push({event:R,listeners:it}))}}if((e&7)===0){t:{if(R=t==="mouseover"||t==="pointerover",B=t==="mouseout"||t==="pointerout",R&&l!==qf&&(et=l.relatedTarget||l.fromElement)&&(aa(et)||et[na]))break t;if((B||R)&&(R=G.window===G?G:(R=G.ownerDocument)?R.defaultView||R.parentWindow:window,B?(et=l.relatedTarget||l.toElement,B=w,et=et?aa(et):null,et!==null&&(Dt=s(et),it=et.tag,et!==Dt||it!==5&&it!==27&&it!==6)&&(et=null)):(B=null,et=w),B!==et)){if(it=Jd,k="onMouseLeave",O="onMouseEnter",z="mouse",(t==="pointerout"||t==="pointerover")&&(it=Wd,k="onPointerLeave",O="onPointerEnter",z="pointer"),Dt=B==null?R:ci(B),D=et==null?R:ci(et),R=new it(k,z+"leave",B,l,G),R.target=Dt,R.relatedTarget=D,k=null,aa(G)===w&&(it=new it(O,z+"enter",et,l,G),it.target=D,it.relatedTarget=Dt,k=it),Dt=k,B&&et)e:{for(it=rv,O=B,z=et,D=0,k=O;k;k=it(k))D++;k=0;for(var at=z;at;at=it(at))k++;for(;0<D-k;)O=it(O),D--;for(;0<k-D;)z=it(z),k--;for(;D--;){if(O===z||z!==null&&O===z.alternate){it=O;break e}O=it(O),z=it(z)}it=null}else it=null;B!==null&&Gm(Q,R,B,it,!1),et!==null&&Dt!==null&&Gm(Q,Dt,et,it,!0)}}t:{if(R=w?ci(w):window,B=R.nodeName&&R.nodeName.toLowerCase(),B==="select"||B==="input"&&R.type==="file")var xt=ah;else if(lh(R))if(ih)xt=__;else{xt=p_;var nt=y_}else B=R.nodeName,!B||B.toLowerCase()!=="input"||R.type!=="checkbox"&&R.type!=="radio"?w&&Lf(w.elementType)&&(xt=ah):xt=g_;if(xt&&(xt=xt(t,w))){nh(Q,xt,l,G);break t}nt&&nt(t,R,w),t==="focusout"&&w&&R.type==="number"&&w.memoizedProps.value!=null&&Hf(R,"number",R.value)}switch(nt=w?ci(w):window,t){case"focusin":(lh(nt)||nt.contentEditable==="true")&&(ha=nt,If=w,_i=null);break;case"focusout":_i=If=ha=null;break;case"mousedown":Pf=!0;break;case"contextmenu":case"mouseup":case"dragend":Pf=!1,hh(Q,l,G);break;case"selectionchange":if(b_)break;case"keydown":case"keyup":hh(Q,l,G)}var dt;if(Jf)t:{switch(t){case"compositionstart":var _t="onCompositionStart";break t;case"compositionend":_t="onCompositionEnd";break t;case"compositionupdate":_t="onCompositionUpdate";break t}_t=void 0}else da?th(t,l)&&(_t="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(_t="onCompositionStart");_t&&($d&&l.locale!=="ko"&&(da||_t!=="onCompositionStart"?_t==="onCompositionEnd"&&da&&(dt=Zd()):(Kl=G,kf="value"in Kl?Kl.value:Kl.textContent,da=!0)),nt=mr(w,_t),0<nt.length&&(_t=new Fd(_t,t,null,l,G),Q.push({event:_t,listeners:nt}),dt?_t.data=dt:(dt=eh(l),dt!==null&&(_t.data=dt)))),(dt=s_?o_(t,l):d_(t,l))&&(_t=mr(w,"onBeforeInput"),0<_t.length&&(nt=new Fd("onBeforeInput","beforeinput",null,l,G),Q.push({event:nt,listeners:_t}),nt.data=dt)),nv(Q,t,w,l,G)}qm(Q,e)})}function ki(t,e,l){return{instance:t,listener:e,currentTarget:l}}function mr(t,e){for(var l=e+"Capture",n=[];t!==null;){var u=t,f=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||f===null||(u=si(t,l),u!=null&&n.unshift(ki(t,u,f)),u=si(t,e),u!=null&&n.push(ki(t,u,f))),t.tag===3)return n;t=t.return}return[]}function rv(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Gm(t,e,l,n,u){for(var f=e._reactName,d=[];l!==null&&l!==n;){var _=l,x=_.alternate,w=_.stateNode;if(_=_.tag,x!==null&&x===n)break;_!==5&&_!==26&&_!==27||w===null||(x=w,u?(w=si(l,f),w!=null&&d.unshift(ki(l,w,x))):u||(w=si(l,f),w!=null&&d.push(ki(l,w,x)))),l=l.return}d.length!==0&&t.push({event:e,listeners:d})}var fv=/\r\n?/g,cv=/\u0000|\uFFFD/g;function Xm(t){return(typeof t=="string"?t:""+t).replace(fv,`
49
- `).replace(cv,"")}function km(t,e){return e=Xm(e),Xm(t)===e}function Ct(t,e,l,n,u,f){switch(l){case"children":typeof n=="string"?e==="body"||e==="textarea"&&n===""||ca(t,n):(typeof n=="number"||typeof n=="bigint")&&e!=="body"&&ca(t,""+n);break;case"className":_u(t,"class",n);break;case"tabIndex":_u(t,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":_u(t,l,n);break;case"style":kd(t,n,f);break;case"data":if(e!=="object"){_u(t,"data",n);break}case"src":case"href":if(n===""&&(e!=="a"||l!=="href")){t.removeAttribute(l);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){t.removeAttribute(l);break}n=bu(""+n),t.setAttribute(l,n);break;case"action":case"formAction":if(typeof n=="function"){t.setAttribute(l,"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 f=="function"&&(l==="formAction"?(e!=="input"&&Ct(t,e,"name",u.name,u,null),Ct(t,e,"formEncType",u.formEncType,u,null),Ct(t,e,"formMethod",u.formMethod,u,null),Ct(t,e,"formTarget",u.formTarget,u,null)):(Ct(t,e,"encType",u.encType,u,null),Ct(t,e,"method",u.method,u,null),Ct(t,e,"target",u.target,u,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){t.removeAttribute(l);break}n=bu(""+n),t.setAttribute(l,n);break;case"onClick":n!=null&&(t.onclick=vl);break;case"onScroll":n!=null&&pt("scroll",t);break;case"onScrollEnd":n!=null&&pt("scrollend",t);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(i(61));if(l=n.__html,l!=null){if(u.children!=null)throw Error(i(60));t.innerHTML=l}}break;case"multiple":t.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":t.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){t.removeAttribute("xlink:href");break}l=bu(""+n),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(l,""+n):t.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":n===!0?t.setAttribute(l,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(l,n):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?t.setAttribute(l,n):t.removeAttribute(l);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?t.removeAttribute(l):t.setAttribute(l,n);break;case"popover":pt("beforetoggle",t),pt("toggle",t),gu(t,"popover",n);break;case"xlinkActuate":_l(t,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":_l(t,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":_l(t,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":_l(t,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":_l(t,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":_l(t,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":_l(t,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":_l(t,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":_l(t,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":gu(t,"is",n);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Hg.get(l)||l,gu(t,l,n))}}function zs(t,e,l,n,u,f){switch(l){case"style":kd(t,n,f);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(i(61));if(l=n.__html,l!=null){if(u.children!=null)throw Error(i(60));t.innerHTML=l}}break;case"children":typeof n=="string"?ca(t,n):(typeof n=="number"||typeof n=="bigint")&&ca(t,""+n);break;case"onScroll":n!=null&&pt("scroll",t);break;case"onScrollEnd":n!=null&&pt("scrollend",t);break;case"onClick":n!=null&&(t.onclick=vl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Nd.hasOwnProperty(l))t:{if(l[0]==="o"&&l[1]==="n"&&(u=l.endsWith("Capture"),e=l.slice(2,u?l.length-7:void 0),f=t[be]||null,f=f!=null?f[l]:null,typeof f=="function"&&t.removeEventListener(e,f,u),typeof n=="function")){typeof f!="function"&&f!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(e,n,u);break t}l in t?t[l]=n:n===!0?t.setAttribute(l,""):gu(t,l,n)}}}function fe(t,e,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":pt("error",t),pt("load",t);var n=!1,u=!1,f;for(f in l)if(l.hasOwnProperty(f)){var d=l[f];if(d!=null)switch(f){case"src":n=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,e));default:Ct(t,e,f,d,l,null)}}u&&Ct(t,e,"srcSet",l.srcSet,l,null),n&&Ct(t,e,"src",l.src,l,null);return;case"input":pt("invalid",t);var _=f=d=u=null,x=null,w=null;for(n in l)if(l.hasOwnProperty(n)){var G=l[n];if(G!=null)switch(n){case"name":u=G;break;case"type":d=G;break;case"checked":x=G;break;case"defaultChecked":w=G;break;case"value":f=G;break;case"defaultValue":_=G;break;case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(i(137,e));break;default:Ct(t,e,n,G,l,null)}}qd(t,f,_,x,w,d,u,!1);return;case"select":pt("invalid",t),n=d=f=null;for(u in l)if(l.hasOwnProperty(u)&&(_=l[u],_!=null))switch(u){case"value":f=_;break;case"defaultValue":d=_;break;case"multiple":n=_;default:Ct(t,e,u,_,l,null)}e=f,l=d,t.multiple=!!n,e!=null?fa(t,!!n,e,!1):l!=null&&fa(t,!!n,l,!0);return;case"textarea":pt("invalid",t),f=u=n=null;for(d in l)if(l.hasOwnProperty(d)&&(_=l[d],_!=null))switch(d){case"value":n=_;break;case"defaultValue":u=_;break;case"children":f=_;break;case"dangerouslySetInnerHTML":if(_!=null)throw Error(i(91));break;default:Ct(t,e,d,_,l,null)}Gd(t,n,u,f);return;case"option":for(x in l)if(l.hasOwnProperty(x)&&(n=l[x],n!=null))switch(x){case"selected":t.selected=n&&typeof n!="function"&&typeof n!="symbol";break;default:Ct(t,e,x,n,l,null)}return;case"dialog":pt("beforetoggle",t),pt("toggle",t),pt("cancel",t),pt("close",t);break;case"iframe":case"object":pt("load",t);break;case"video":case"audio":for(n=0;n<Xi.length;n++)pt(Xi[n],t);break;case"image":pt("error",t),pt("load",t);break;case"details":pt("toggle",t);break;case"embed":case"source":case"link":pt("error",t),pt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(w in l)if(l.hasOwnProperty(w)&&(n=l[w],n!=null))switch(w){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,e));default:Ct(t,e,w,n,l,null)}return;default:if(Lf(e)){for(G in l)l.hasOwnProperty(G)&&(n=l[G],n!==void 0&&zs(t,e,G,n,l,void 0));return}}for(_ in l)l.hasOwnProperty(_)&&(n=l[_],n!=null&&Ct(t,e,_,n,l,null))}function sv(t,e,l,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,f=null,d=null,_=null,x=null,w=null,G=null;for(B in l){var Q=l[B];if(l.hasOwnProperty(B)&&Q!=null)switch(B){case"checked":break;case"value":break;case"defaultValue":x=Q;default:n.hasOwnProperty(B)||Ct(t,e,B,null,n,Q)}}for(var R in n){var B=n[R];if(Q=l[R],n.hasOwnProperty(R)&&(B!=null||Q!=null))switch(R){case"type":f=B;break;case"name":u=B;break;case"checked":w=B;break;case"defaultChecked":G=B;break;case"value":d=B;break;case"defaultValue":_=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(i(137,e));break;default:B!==Q&&Ct(t,e,R,B,n,Q)}}Bf(t,d,_,x,w,G,f,u);return;case"select":B=d=_=R=null;for(f in l)if(x=l[f],l.hasOwnProperty(f)&&x!=null)switch(f){case"value":break;case"multiple":B=x;default:n.hasOwnProperty(f)||Ct(t,e,f,null,n,x)}for(u in n)if(f=n[u],x=l[u],n.hasOwnProperty(u)&&(f!=null||x!=null))switch(u){case"value":R=f;break;case"defaultValue":_=f;break;case"multiple":d=f;default:f!==x&&Ct(t,e,u,f,n,x)}e=_,l=d,n=B,R!=null?fa(t,!!l,R,!1):!!n!=!!l&&(e!=null?fa(t,!!l,e,!0):fa(t,!!l,l?[]:"",!1));return;case"textarea":B=R=null;for(_ in l)if(u=l[_],l.hasOwnProperty(_)&&u!=null&&!n.hasOwnProperty(_))switch(_){case"value":break;case"children":break;default:Ct(t,e,_,null,n,u)}for(d in n)if(u=n[d],f=l[d],n.hasOwnProperty(d)&&(u!=null||f!=null))switch(d){case"value":R=u;break;case"defaultValue":B=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(i(91));break;default:u!==f&&Ct(t,e,d,u,n,f)}Yd(t,R,B);return;case"option":for(var et in l)if(R=l[et],l.hasOwnProperty(et)&&R!=null&&!n.hasOwnProperty(et))switch(et){case"selected":t.selected=!1;break;default:Ct(t,e,et,null,n,R)}for(x in n)if(R=n[x],B=l[x],n.hasOwnProperty(x)&&R!==B&&(R!=null||B!=null))switch(x){case"selected":t.selected=R&&typeof R!="function"&&typeof R!="symbol";break;default:Ct(t,e,x,R,n,B)}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 it in l)R=l[it],l.hasOwnProperty(it)&&R!=null&&!n.hasOwnProperty(it)&&Ct(t,e,it,null,n,R);for(w in n)if(R=n[w],B=l[w],n.hasOwnProperty(w)&&R!==B&&(R!=null||B!=null))switch(w){case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(i(137,e));break;default:Ct(t,e,w,R,n,B)}return;default:if(Lf(e)){for(var Dt in l)R=l[Dt],l.hasOwnProperty(Dt)&&R!==void 0&&!n.hasOwnProperty(Dt)&&zs(t,e,Dt,void 0,n,R);for(G in n)R=n[G],B=l[G],!n.hasOwnProperty(G)||R===B||R===void 0&&B===void 0||zs(t,e,G,R,n,B);return}}for(var O in l)R=l[O],l.hasOwnProperty(O)&&R!=null&&!n.hasOwnProperty(O)&&Ct(t,e,O,null,n,R);for(Q in n)R=n[Q],B=l[Q],!n.hasOwnProperty(Q)||R===B||R==null&&B==null||Ct(t,e,Q,R,n,B)}function Vm(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function ov(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,l=performance.getEntriesByType("resource"),n=0;n<l.length;n++){var u=l[n],f=u.transferSize,d=u.initiatorType,_=u.duration;if(f&&_&&Vm(d)){for(d=0,_=u.responseEnd,n+=1;n<l.length;n++){var x=l[n],w=x.startTime;if(w>_)break;var G=x.transferSize,Q=x.initiatorType;G&&Vm(Q)&&(x=x.responseEnd,d+=G*(x<_?1:(_-w)/(x-w)))}if(--n,e+=8*(f+d)/(u.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Es=null,As=null;function yr(t){return t.nodeType===9?t:t.ownerDocument}function Qm(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Zm(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function Ms(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Os=null;function dv(){var t=window.event;return t&&t.type==="popstate"?t===Os?!1:(Os=t,!0):(Os=null,!1)}var Km=typeof setTimeout=="function"?setTimeout:void 0,hv=typeof clearTimeout=="function"?clearTimeout:void 0,Jm=typeof Promise=="function"?Promise:void 0,mv=typeof queueMicrotask=="function"?queueMicrotask:typeof Jm<"u"?function(t){return Jm.resolve(null).then(t).catch(yv)}:Km;function yv(t){setTimeout(function(){throw t})}function on(t){return t==="head"}function Fm(t,e){var l=e,n=0;do{var u=l.nextSibling;if(t.removeChild(l),u&&u.nodeType===8)if(l=u.data,l==="/$"||l==="/&"){if(n===0){t.removeChild(u),Ya(e);return}n--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")n++;else if(l==="html")Vi(t.ownerDocument.documentElement);else if(l==="head"){l=t.ownerDocument.head,Vi(l);for(var f=l.firstChild;f;){var d=f.nextSibling,_=f.nodeName;f[fi]||_==="SCRIPT"||_==="STYLE"||_==="LINK"&&f.rel.toLowerCase()==="stylesheet"||l.removeChild(f),f=d}}else l==="body"&&Vi(t.ownerDocument.body);l=u}while(l);Ya(e)}function Wm(t,e){var l=t;t=0;do{var n=l.nextSibling;if(l.nodeType===1?e?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(e?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),n&&n.nodeType===8)if(l=n.data,l==="/$"){if(t===0)break;t--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||t++;l=n}while(l)}function Cs(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var l=e;switch(e=e.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Cs(l),Nf(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function pv(t,e,l,n){for(;t.nodeType===1;){var u=l;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!n&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(n){if(!t[fi])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(f=t.getAttribute("rel"),f==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(f!==u.rel||t.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||t.getAttribute("title")!==(u.title==null?null:u.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(f=t.getAttribute("src"),(f!==(u.src==null?null:u.src)||t.getAttribute("type")!==(u.type==null?null:u.type)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&f&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var f=u.name==null?null:""+u.name;if(u.type==="hidden"&&t.getAttribute("name")===f)return t}else return t;if(t=el(t.nextSibling),t===null)break}return null}function gv(t,e,l){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=el(t.nextSibling),t===null))return null;return t}function $m(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=el(t.nextSibling),t===null))return null;return t}function Ds(t){return t.data==="$?"||t.data==="$~"}function ws(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function _v(t,e){var l=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||l.readyState!=="loading")e();else{var n=function(){e(),l.removeEventListener("DOMContentLoaded",n)};l.addEventListener("DOMContentLoaded",n),t._reactRetry=n}}function el(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var Rs=null;function Im(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="/$"||l==="/&"){if(e===0)return el(t.nextSibling);e--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||e++}t=t.nextSibling}return null}function Pm(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(e===0)return t;e--}else l!=="/$"&&l!=="/&"||e++}t=t.previousSibling}return null}function ty(t,e,l){switch(e=yr(l),t){case"html":if(t=e.documentElement,!t)throw Error(i(452));return t;case"head":if(t=e.head,!t)throw Error(i(453));return t;case"body":if(t=e.body,!t)throw Error(i(454));return t;default:throw Error(i(451))}}function Vi(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Nf(t)}var ll=new Map,ey=new Set;function pr(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var jl=N.d;N.d={f:vv,r:bv,D:Sv,C:xv,L:Tv,m:zv,X:Av,S:Ev,M:Mv};function vv(){var t=jl.f(),e=rr();return t||e}function bv(t){var e=ia(t);e!==null&&e.tag===5&&e.type==="form"?_0(e):jl.r(t)}var Ha=typeof document>"u"?null:document;function ly(t,e,l){var n=Ha;if(n&&typeof e=="string"&&e){var u=Je(e);u='link[rel="'+t+'"][href="'+u+'"]',typeof l=="string"&&(u+='[crossorigin="'+l+'"]'),ey.has(u)||(ey.add(u),t={rel:t,crossOrigin:l,href:e},n.querySelector(u)===null&&(e=n.createElement("link"),fe(e,"link",t),ee(e),n.head.appendChild(e)))}}function Sv(t){jl.D(t),ly("dns-prefetch",t,null)}function xv(t,e){jl.C(t,e),ly("preconnect",t,e)}function Tv(t,e,l){jl.L(t,e,l);var n=Ha;if(n&&t&&e){var u='link[rel="preload"][as="'+Je(e)+'"]';e==="image"&&l&&l.imageSrcSet?(u+='[imagesrcset="'+Je(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(u+='[imagesizes="'+Je(l.imageSizes)+'"]')):u+='[href="'+Je(t)+'"]';var f=u;switch(e){case"style":f=La(t);break;case"script":f=qa(t)}ll.has(f)||(t=b({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),ll.set(f,t),n.querySelector(u)!==null||e==="style"&&n.querySelector(Qi(f))||e==="script"&&n.querySelector(Zi(f))||(e=n.createElement("link"),fe(e,"link",t),ee(e),n.head.appendChild(e)))}}function zv(t,e){jl.m(t,e);var l=Ha;if(l&&t){var n=e&&typeof e.as=="string"?e.as:"script",u='link[rel="modulepreload"][as="'+Je(n)+'"][href="'+Je(t)+'"]',f=u;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=qa(t)}if(!ll.has(f)&&(t=b({rel:"modulepreload",href:t},e),ll.set(f,t),l.querySelector(u)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Zi(f)))return}n=l.createElement("link"),fe(n,"link",t),ee(n),l.head.appendChild(n)}}}function Ev(t,e,l){jl.S(t,e,l);var n=Ha;if(n&&t){var u=ua(n).hoistableStyles,f=La(t);e=e||"default";var d=u.get(f);if(!d){var _={loading:0,preload:null};if(d=n.querySelector(Qi(f)))_.loading=5;else{t=b({rel:"stylesheet",href:t,"data-precedence":e},l),(l=ll.get(f))&&Us(t,l);var x=d=n.createElement("link");ee(x),fe(x,"link",t),x._p=new Promise(function(w,G){x.onload=w,x.onerror=G}),x.addEventListener("load",function(){_.loading|=1}),x.addEventListener("error",function(){_.loading|=2}),_.loading|=4,gr(d,e,n)}d={type:"stylesheet",instance:d,count:1,state:_},u.set(f,d)}}}function Av(t,e){jl.X(t,e);var l=Ha;if(l&&t){var n=ua(l).hoistableScripts,u=qa(t),f=n.get(u);f||(f=l.querySelector(Zi(u)),f||(t=b({src:t,async:!0},e),(e=ll.get(u))&&Ns(t,e),f=l.createElement("script"),ee(f),fe(f,"link",t),l.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},n.set(u,f))}}function Mv(t,e){jl.M(t,e);var l=Ha;if(l&&t){var n=ua(l).hoistableScripts,u=qa(t),f=n.get(u);f||(f=l.querySelector(Zi(u)),f||(t=b({src:t,async:!0,type:"module"},e),(e=ll.get(u))&&Ns(t,e),f=l.createElement("script"),ee(f),fe(f,"link",t),l.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},n.set(u,f))}}function ny(t,e,l,n){var u=(u=mt.current)?pr(u):null;if(!u)throw Error(i(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=La(l.href),l=ua(u).hoistableStyles,n=l.get(e),n||(n={type:"style",instance:null,count:0,state:null},l.set(e,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=La(l.href);var f=ua(u).hoistableStyles,d=f.get(t);if(d||(u=u.ownerDocument||u,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},f.set(t,d),(f=u.querySelector(Qi(t)))&&!f._p&&(d.instance=f,d.state.loading=5),ll.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},ll.set(t,l),f||Ov(u,t,l,d.state))),e&&n===null)throw Error(i(528,""));return d}if(e&&n!==null)throw Error(i(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=qa(l),l=ua(u).hoistableScripts,n=l.get(e),n||(n={type:"script",instance:null,count:0,state:null},l.set(e,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,t))}}function La(t){return'href="'+Je(t)+'"'}function Qi(t){return'link[rel="stylesheet"]['+t+"]"}function ay(t){return b({},t,{"data-precedence":t.precedence,precedence:null})}function Ov(t,e,l,n){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?n.loading=1:(e=t.createElement("link"),n.preload=e,e.addEventListener("load",function(){return n.loading|=1}),e.addEventListener("error",function(){return n.loading|=2}),fe(e,"link",l),ee(e),t.head.appendChild(e))}function qa(t){return'[src="'+Je(t)+'"]'}function Zi(t){return"script[async]"+t}function iy(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var n=t.querySelector('style[data-href~="'+Je(l.href)+'"]');if(n)return e.instance=n,ee(n),n;var u=b({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return n=(t.ownerDocument||t).createElement("style"),ee(n),fe(n,"style",u),gr(n,l.precedence,t),e.instance=n;case"stylesheet":u=La(l.href);var f=t.querySelector(Qi(u));if(f)return e.state.loading|=4,e.instance=f,ee(f),f;n=ay(l),(u=ll.get(u))&&Us(n,u),f=(t.ownerDocument||t).createElement("link"),ee(f);var d=f;return d._p=new Promise(function(_,x){d.onload=_,d.onerror=x}),fe(f,"link",n),e.state.loading|=4,gr(f,l.precedence,t),e.instance=f;case"script":return f=qa(l.src),(u=t.querySelector(Zi(f)))?(e.instance=u,ee(u),u):(n=l,(u=ll.get(f))&&(n=b({},l),Ns(n,u)),t=t.ownerDocument||t,u=t.createElement("script"),ee(u),fe(u,"link",n),t.head.appendChild(u),e.instance=u);case"void":return null;default:throw Error(i(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(n=e.instance,e.state.loading|=4,gr(n,l.precedence,t));return e.instance}function gr(t,e,l){for(var n=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=n.length?n[n.length-1]:null,f=u,d=0;d<n.length;d++){var _=n[d];if(_.dataset.precedence===e)f=_;else if(f!==u)break}f?f.parentNode.insertBefore(t,f.nextSibling):(e=l.nodeType===9?l.head:l,e.insertBefore(t,e.firstChild))}function Us(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Ns(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var _r=null;function uy(t,e,l){if(_r===null){var n=new Map,u=_r=new Map;u.set(l,n)}else u=_r,n=u.get(l),n||(n=new Map,u.set(l,n));if(n.has(t))return n;for(n.set(t,null),l=l.getElementsByTagName(t),u=0;u<l.length;u++){var f=l[u];if(!(f[fi]||f[ae]||t==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!=="http://www.w3.org/2000/svg"){var d=f.getAttribute(e)||"";d=t+d;var _=n.get(d);_?_.push(f):n.set(d,[f])}}return n}function ry(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function Cv(t,e,l){if(l===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function fy(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Dv(t,e,l,n){if(l.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var u=La(n.href),f=e.querySelector(Qi(u));if(f){e=f._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=vr.bind(t),e.then(t,t)),l.state.loading|=4,l.instance=f,ee(f);return}f=e.ownerDocument||e,n=ay(n),(u=ll.get(u))&&Us(n,u),f=f.createElement("link"),ee(f);var d=f;d._p=new Promise(function(_,x){d.onload=_,d.onerror=x}),fe(f,"link",n),l.instance=f}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(l,e),(e=l.state.preload)&&(l.state.loading&3)===0&&(t.count++,l=vr.bind(t),e.addEventListener("load",l),e.addEventListener("error",l))}}var js=0;function wv(t,e){return t.stylesheets&&t.count===0&&Sr(t,t.stylesheets),0<t.count||0<t.imgCount?function(l){var n=setTimeout(function(){if(t.stylesheets&&Sr(t,t.stylesheets),t.unsuspend){var f=t.unsuspend;t.unsuspend=null,f()}},6e4+e);0<t.imgBytes&&js===0&&(js=62500*ov());var u=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Sr(t,t.stylesheets),t.unsuspend)){var f=t.unsuspend;t.unsuspend=null,f()}},(t.imgBytes>js?50:800)+e);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(n),clearTimeout(u)}}:null}function vr(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Sr(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var br=null;function Sr(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,br=new Map,e.forEach(Rv,t),br=null,vr.call(t))}function Rv(t,e){if(!(e.state.loading&4)){var l=br.get(t);if(l)var n=l.get(null);else{l=new Map,br.set(t,l);for(var u=t.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<u.length;f++){var d=u[f];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(l.set(d.dataset.precedence,d),n=d)}n&&l.set(null,n)}u=e.instance,d=u.getAttribute("data-precedence"),f=l.get(d)||n,f===n&&l.set(null,u),l.set(d,u),this.count++,n=vr.bind(this),u.addEventListener("load",n),u.addEventListener("error",n),f?f.parentNode.insertBefore(u,f.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(u,t.firstChild)),e.state.loading|=4}}var Ki={$$typeof:Y,Provider:null,Consumer:null,_currentValue:I,_currentValue2:I,_threadCount:0};function Uv(t,e,l,n,u,f,d,_,x){this.tag=1,this.containerInfo=t,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=Df(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Df(0),this.hiddenUpdates=Df(null),this.identifierPrefix=n,this.onUncaughtError=u,this.onCaughtError=f,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=x,this.incompleteTransitions=new Map}function cy(t,e,l,n,u,f,d,_,x,w,G,Q){return t=new Uv(t,e,l,d,x,w,G,Q,_),e=1,f===!0&&(e|=24),f=Le(3,null,null,e),t.current=f,f.stateNode=t,e=mc(),e.refCount++,t.pooledCache=e,e.refCount++,f.memoizedState={element:n,isDehydrated:l,cache:e},_c(f),t}function sy(t){return t?(t=pa,t):pa}function oy(t,e,l,n,u,f){u=sy(u),n.context===null?n.context=u:n.pendingContext=u,n=Pl(e),n.payload={element:l},f=f===void 0?null:f,f!==null&&(n.callback=f),l=tn(t,n,e),l!==null&&(Ae(l,t,e),Ei(l,t,e))}function dy(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<e?l:e}}function Bs(t,e){dy(t,e),(t=t.alternate)&&dy(t,e)}function hy(t){if(t.tag===13||t.tag===31){var e=Rn(t,67108864);e!==null&&Ae(e,t,67108864),Bs(t,67108864)}}function my(t){if(t.tag===13||t.tag===31){var e=ke();e=wf(e);var l=Rn(t,e);l!==null&&Ae(l,t,e),Bs(t,e)}}var xr=!0;function Nv(t,e,l,n){var u=U.T;U.T=null;var f=N.p;try{N.p=2,Hs(t,e,l,n)}finally{N.p=f,U.T=u}}function jv(t,e,l,n){var u=U.T;U.T=null;var f=N.p;try{N.p=8,Hs(t,e,l,n)}finally{N.p=f,U.T=u}}function Hs(t,e,l,n){if(xr){var u=Ls(n);if(u===null)Ts(t,e,n,Tr,l),py(t,n);else if(Hv(u,t,e,l,n))n.stopPropagation();else if(py(t,n),e&4&&-1<Bv.indexOf(t)){for(;u!==null;){var f=ia(u);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var d=Mn(f.pendingLanes);if(d!==0){var _=f;for(_.pendingLanes|=2,_.entangledLanes|=2;d;){var x=1<<31-Be(d);_.entanglements[1]|=x,d&=~x}hl(f),(zt&6)===0&&(ir=Ne()+500,Gi(0))}}break;case 31:case 13:_=Rn(f,2),_!==null&&Ae(_,f,2),rr(),Bs(f,2)}if(f=Ls(n),f===null&&Ts(t,e,n,Tr,l),f===u)break;u=f}u!==null&&n.stopPropagation()}else Ts(t,e,n,null,l)}}function Ls(t){return t=Yf(t),qs(t)}var Tr=null;function qs(t){if(Tr=null,t=aa(t),t!==null){var e=s(t);if(e===null)t=null;else{var l=e.tag;if(l===13){if(t=o(e),t!==null)return t;t=null}else if(l===31){if(t=h(e),t!==null)return t;t=null}else if(l===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Tr=t,null}function yy(t){switch(t){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(Sg()){case Td:return 2;case zd:return 8;case du:case xg:return 32;case Ed:return 268435456;default:return 32}default:return 32}}var Ys=!1,dn=null,hn=null,mn=null,Ji=new Map,Fi=new Map,yn=[],Bv="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 py(t,e){switch(t){case"focusin":case"focusout":dn=null;break;case"dragenter":case"dragleave":hn=null;break;case"mouseover":case"mouseout":mn=null;break;case"pointerover":case"pointerout":Ji.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Fi.delete(e.pointerId)}}function Wi(t,e,l,n,u,f){return t===null||t.nativeEvent!==f?(t={blockedOn:e,domEventName:l,eventSystemFlags:n,nativeEvent:f,targetContainers:[u]},e!==null&&(e=ia(e),e!==null&&hy(e)),t):(t.eventSystemFlags|=n,e=t.targetContainers,u!==null&&e.indexOf(u)===-1&&e.push(u),t)}function Hv(t,e,l,n,u){switch(e){case"focusin":return dn=Wi(dn,t,e,l,n,u),!0;case"dragenter":return hn=Wi(hn,t,e,l,n,u),!0;case"mouseover":return mn=Wi(mn,t,e,l,n,u),!0;case"pointerover":var f=u.pointerId;return Ji.set(f,Wi(Ji.get(f)||null,t,e,l,n,u)),!0;case"gotpointercapture":return f=u.pointerId,Fi.set(f,Wi(Fi.get(f)||null,t,e,l,n,u)),!0}return!1}function gy(t){var e=aa(t.target);if(e!==null){var l=s(e);if(l!==null){if(e=l.tag,e===13){if(e=o(l),e!==null){t.blockedOn=e,wd(t.priority,function(){my(l)});return}}else if(e===31){if(e=h(l),e!==null){t.blockedOn=e,wd(t.priority,function(){my(l)});return}}else if(e===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function zr(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=Ls(t.nativeEvent);if(l===null){l=t.nativeEvent;var n=new l.constructor(l.type,l);qf=n,l.target.dispatchEvent(n),qf=null}else return e=ia(l),e!==null&&hy(e),t.blockedOn=l,!1;e.shift()}return!0}function _y(t,e,l){zr(t)&&l.delete(e)}function Lv(){Ys=!1,dn!==null&&zr(dn)&&(dn=null),hn!==null&&zr(hn)&&(hn=null),mn!==null&&zr(mn)&&(mn=null),Ji.forEach(_y),Fi.forEach(_y)}function Er(t,e){t.blockedOn===e&&(t.blockedOn=null,Ys||(Ys=!0,m.unstable_scheduleCallback(m.unstable_NormalPriority,Lv)))}var Ar=null;function vy(t){Ar!==t&&(Ar=t,m.unstable_scheduleCallback(m.unstable_NormalPriority,function(){Ar===t&&(Ar=null);for(var e=0;e<t.length;e+=3){var l=t[e],n=t[e+1],u=t[e+2];if(typeof n!="function"){if(qs(n||l)===null)continue;break}var f=ia(l);f!==null&&(t.splice(e,3),e-=3,Lc(f,{pending:!0,data:u,method:l.method,action:n},n,u))}}))}function Ya(t){function e(x){return Er(x,t)}dn!==null&&Er(dn,t),hn!==null&&Er(hn,t),mn!==null&&Er(mn,t),Ji.forEach(e),Fi.forEach(e);for(var l=0;l<yn.length;l++){var n=yn[l];n.blockedOn===t&&(n.blockedOn=null)}for(;0<yn.length&&(l=yn[0],l.blockedOn===null);)gy(l),l.blockedOn===null&&yn.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(n=0;n<l.length;n+=3){var u=l[n],f=l[n+1],d=u[be]||null;if(typeof f=="function")d||vy(l);else if(d){var _=null;if(f&&f.hasAttribute("formAction")){if(u=f,d=f[be]||null)_=d.formAction;else if(qs(u)!==null)continue}else _=d.action;typeof _=="function"?l[n+1]=_:(l.splice(n,3),n-=3),vy(l)}}}function by(){function t(f){f.canIntercept&&f.info==="react-transition"&&f.intercept({handler:function(){return new Promise(function(d){return u=d})},focusReset:"manual",scroll:"manual"})}function e(){u!==null&&(u(),u=null),n||setTimeout(l,20)}function l(){if(!n&&!navigation.transition){var f=navigation.currentEntry;f&&f.url!=null&&navigation.navigate(f.url,{state:f.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var n=!1,u=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(l,100),function(){n=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),u!==null&&(u(),u=null)}}}function Gs(t){this._internalRoot=t}Mr.prototype.render=Gs.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(i(409));var l=e.current,n=ke();oy(l,n,t,e,null,null)},Mr.prototype.unmount=Gs.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;oy(t.current,2,null,t,null,null),rr(),e[na]=null}};function Mr(t){this._internalRoot=t}Mr.prototype.unstable_scheduleHydration=function(t){if(t){var e=Dd();t={blockedOn:null,target:t,priority:e};for(var l=0;l<yn.length&&e!==0&&e<yn[l].priority;l++);yn.splice(l,0,t),l===0&&gy(t)}};var Sy=a.version;if(Sy!=="19.2.4")throw Error(i(527,Sy,"19.2.4"));N.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(i(188)):(t=Object.keys(t).join(","),Error(i(268,t)));return t=y(e),t=t!==null?g(t):null,t=t===null?null:t.stateNode,t};var qv={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Or=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Or.isDisabled&&Or.supportsFiber)try{ii=Or.inject(qv),je=Or}catch{}}return Xa.createRoot=function(t,e){if(!c(t))throw Error(i(299));var l=!1,n="",u=O0,f=C0,d=D0;return e!=null&&(e.unstable_strictMode===!0&&(l=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onUncaughtError!==void 0&&(u=e.onUncaughtError),e.onCaughtError!==void 0&&(f=e.onCaughtError),e.onRecoverableError!==void 0&&(d=e.onRecoverableError)),e=cy(t,1,!1,null,null,l,n,null,u,f,d,by),t[na]=e.current,xs(t),new Gs(e)},Xa.hydrateRoot=function(t,e,l){if(!c(t))throw Error(i(299));var n=!1,u="",f=O0,d=C0,_=D0,x=null;return l!=null&&(l.unstable_strictMode===!0&&(n=!0),l.identifierPrefix!==void 0&&(u=l.identifierPrefix),l.onUncaughtError!==void 0&&(f=l.onUncaughtError),l.onCaughtError!==void 0&&(d=l.onCaughtError),l.onRecoverableError!==void 0&&(_=l.onRecoverableError),l.formState!==void 0&&(x=l.formState)),e=cy(t,1,!0,e,l??null,n,u,x,f,d,_,by),e.context=sy(null),l=e.current,n=ke(),n=wf(n),u=Pl(n),u.callback=null,tn(l,u,n),l=n,e.current.lanes=l,ri(e,l),hl(e),t[na]=e.current,xs(t),new Mr(e)},Xa.version="19.2.4",Xa}var $s;function Dy(){if($s)return Dr.exports;$s=1;function m(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(m)}catch(a){console.error(a)}}return m(),Dr.exports=Cy(),Dr.exports}var wy=Dy(),F=Nr();const Is=2e3,Ps=3e4;function Ry(){try{const m=document.querySelectorAll('script[src*="overlay.js"]');for(const a of m){const r=a.src;if(r){const i=new URL(r);return`ws://${i.hostname}:${i.port}`}}}catch{}return"ws://localhost:3013"}function Uy(){const[m,a]=F.useState(!1),[r,i]=F.useState(null),c=F.useRef(null),s=F.useRef(0),o=F.useRef([]),h=F.useRef(null),p=F.useRef(Is),y=F.useRef(Ry()),g=F.useCallback(()=>{const S=c.current;if(!S||S.readyState!==WebSocket.OPEN)return;const M=o.current;for(;M.length>0;){const v=M.shift();console.log(`[Glyph] → ${v.type} (queued)`),S.send(JSON.stringify(v))}},[]),b=F.useCallback(()=>{var S;if(((S=c.current)==null?void 0:S.readyState)!==WebSocket.OPEN)try{const M=new WebSocket(y.current);M.onopen=()=>{a(!0),p.current=Is,console.log("[Glyph] WebSocket connected"),g()},M.onmessage=v=>{try{const C=JSON.parse(v.data);console.log(`[Glyph] ← ${C.type}`),s.current+=1,i({...C,_glyphInboxSeq:s.current})}catch{console.warn("[Glyph] Failed to parse WebSocket message:",v.data)}},M.onclose=()=>{a(!1),c.current=null;const v=p.current;p.current=Math.min(v*2,Ps),console.log(`[Glyph] WebSocket disconnected, reconnecting in ${v/1e3}s...`),h.current=setTimeout(b,v)},M.onerror=()=>{M.close()},c.current=M}catch{const M=p.current;p.current=Math.min(M*2,Ps),h.current=setTimeout(b,M)}},[g]),T=F.useCallback(S=>{var M;((M=c.current)==null?void 0:M.readyState)===WebSocket.OPEN?(console.log(`[Glyph] → ${S.type}`),c.current.send(JSON.stringify(S))):(o.current.push(S),console.warn("[Glyph] WebSocket not open — queued message. If this keeps happening, start the Glyph server and reload."))},[]);return F.useEffect(()=>(b(),()=>{h.current&&clearTimeout(h.current),c.current&&c.current.close()}),[b]),{connected:m,lastMessage:r,send:T}}function Ny(){const[m,a]=F.useState("hidden"),[r,i]=F.useState([]),[c,s]=F.useState({}),[o,h]=F.useState("My Project"),[p,y]=F.useState(null),[g,b]=F.useState(null),[T,S]=F.useState(null),[M,v]=F.useState(0),[C,j]=F.useState(0),[L,Y]=F.useState(null),[Z,q]=F.useState({}),J=F.useCallback(H=>{switch(H.type){case"variations:ready":{const A=H.payload;A!=null&&A.variations&&(console.log(`[Glyph] ${A.variations.length} variations ready for ${A.sourceFile}, opening panel`),y(A.sessionId),b(A.sourceFile),i(A.variations),s(A.previewUrls||{}),S(null),Y(null),q({}),a("panel"));break}case"variation:arrived":{const A=H.payload;A!=null&&A.variation&&(console.log(`[Glyph] ${A.variation.id} arrived, streaming to panel`),A.sessionId&&y(A.sessionId),A.sourceFile&&b(A.sourceFile),i(W=>[...W,A.variation]),A.previewUrl&&s(W=>({...W,[A.variation.id]:A.previewUrl})),a("panel"));break}case"variation:previewing":{const A=H.payload;A&&(console.log(`[Glyph] Previewing: ${A.id??"none"} (${A.index+1}/${A.total})`),S(A.id),v(A.index),j(A.total));break}case"variation:implemented":{const A=H.payload;A&&(console.log(`[Glyph] Implemented: ${A.variationId}`),Y(A.variationId));break}case"variation:error":{const A=H.payload;A&&console.warn(`[Glyph] Error: ${A.message}`);break}case"state:update":{const A=H.payload;A!=null&&A.projectName&&h(A.projectName);break}case"variations:branched":{const A=H.payload;A!=null&&A.variations&&(console.log(`[Glyph] Variations branched (parent: ${A.parentId}), re-rendering panel`),y(A.sessionId),b(A.sourceFile),i(A.variations),s(A.previewUrls||{}),S(null),q({}));break}case"variation:updated":{const A=H.payload;A&&(console.log(`[Glyph] Variation updated: ${A.variationId} (undo: ${A.undoDepth}, redo: ${A.redoDepth})`),q(W=>({...W,[A.variationId]:{undo:A.undoDepth,redo:A.redoDepth}})),A.previewUrl&&s(W=>({...W,[A.variationId]:A.previewUrl+"?t="+Date.now()})));break}case"annotations:cleared":{const A=H.payload;A&&console.log(`[Glyph] Annotations cleared for ${A.variationId}`);break}}},[]),V=F.useCallback(()=>{i([]),s({}),S(null),Y(null),q({}),b(null),a("hidden")},[]);return{state:m,variations:r,previewUrls:c,projectName:o,sessionId:p,sourceFile:g,previewingId:T,previewingIndex:M,variationTotal:C,implementedId:L,undoRedoMap:Z,setState:a,handleMessage:J,clearVariations:V}}function jy(){const[m,a]=F.useState({}),[r,i]=F.useState(new Set),c=F.useCallback(S=>m[S]??[],[m]),s=F.useCallback(S=>{var M;return((M=m[S])==null?void 0:M.length)??0},[m]),o=F.useCallback((S,M)=>{let v=0;return a(C=>{const j=C[S]??[],L=j.length+1;v=L;const Y={id:L,variationId:S,...M};return{...C,[S]:[...j,Y]}}),v},[]),h=F.useCallback((S,M)=>{a(v=>{const L=(v[S]??[]).filter(Y=>Y.id!==M).map((Y,Z)=>({...Y,id:Z+1}));return{...v,[S]:L}})},[]),p=F.useCallback(S=>{a(M=>{const v={...M};return delete v[S],v}),i(M=>{const v=new Set(M);return v.delete(S),v})},[]),y=F.useCallback(S=>r.has(S),[r]),g=F.useCallback((S,M)=>{i(v=>{const C=new Set(v);return M?C.add(S):C.delete(S),C})},[]),b=F.useCallback(()=>{a(S=>({...S}))},[]),T=Object.keys(m).filter(S=>{var M;return(((M=m[S])==null?void 0:M.length)??0)>0});return{getAnnotations:c,getCount:s,addAnnotation:o,removeAnnotation:h,clearAnnotations:p,isSubmitting:y,setSubmitting:g,updateBadgePositions:b,annotatedVariationIds:T}}function ml(m){if(m===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m}function to(m,a){m.prototype=Object.create(a.prototype),m.prototype.constructor=m,m.__proto__=a}/*!
48
+ `+n.stack}}var Mf=Object.prototype.hasOwnProperty,Of=m.unstable_scheduleCallback,Cf=m.unstable_cancelCallback,vg=m.unstable_shouldYield,bg=m.unstable_requestPaint,Ne=m.unstable_now,Sg=m.unstable_getCurrentPriorityLevel,Td=m.unstable_ImmediatePriority,zd=m.unstable_UserBlockingPriority,du=m.unstable_NormalPriority,xg=m.unstable_LowPriority,Ed=m.unstable_IdlePriority,Tg=m.log,zg=m.unstable_setDisableYieldValue,ii=null,je=null;function Ql(t){if(typeof Tg=="function"&&zg(t),je&&typeof je.setStrictMode=="function")try{je.setStrictMode(ii,t)}catch{}}var Be=Math.clz32?Math.clz32:Mg,Eg=Math.log,Ag=Math.LN2;function Mg(t){return t>>>=0,t===0?32:31-(Eg(t)/Ag|0)|0}var hu=256,mu=262144,yu=4194304;function Mn(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function pu(t,e,l){var n=t.pendingLanes;if(n===0)return 0;var u=0,f=t.suspendedLanes,d=t.pingedLanes;t=t.warmLanes;var _=n&134217727;return _!==0?(n=_&~f,n!==0?u=Mn(n):(d&=_,d!==0?u=Mn(d):l||(l=_&~t,l!==0&&(u=Mn(l))))):(_=n&~f,_!==0?u=Mn(_):d!==0?u=Mn(d):l||(l=n&~t,l!==0&&(u=Mn(l)))),u===0?0:e!==0&&e!==u&&(e&f)===0&&(f=u&-u,l=e&-e,f>=l||f===32&&(l&4194048)!==0)?e:u}function ui(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Og(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 Ad(){var t=yu;return yu<<=1,(yu&62914560)===0&&(yu=4194304),t}function Df(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function ri(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Cg(t,e,l,n,u,f){var d=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var _=t.entanglements,x=t.expirationTimes,w=t.hiddenUpdates;for(l=d&~l;0<l;){var G=31-Be(l),Q=1<<G;_[G]=0,x[G]=-1;var R=w[G];if(R!==null)for(w[G]=null,G=0;G<R.length;G++){var B=R[G];B!==null&&(B.lane&=-536870913)}l&=~Q}n!==0&&Md(t,n,0),f!==0&&u===0&&t.tag!==0&&(t.suspendedLanes|=f&~(d&~e))}function Md(t,e,l){t.pendingLanes|=e,t.suspendedLanes&=~e;var n=31-Be(e);t.entangledLanes|=e,t.entanglements[n]=t.entanglements[n]|1073741824|l&261930}function Od(t,e){var l=t.entangledLanes|=e;for(t=t.entanglements;l;){var n=31-Be(l),u=1<<n;u&e|t[n]&e&&(t[n]|=e),l&=~u}}function Cd(t,e){var l=e&-e;return l=(l&42)!==0?1:wf(l),(l&(t.suspendedLanes|e))!==0?0:l}function wf(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Rf(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Dd(){var t=N.p;return t!==0?t:(t=window.event,t===void 0?32:yy(t.type))}function wd(t,e){var l=N.p;try{return N.p=t,e()}finally{N.p=l}}var Zl=Math.random().toString(36).slice(2),ae="__reactFiber$"+Zl,be="__reactProps$"+Zl,na="__reactContainer$"+Zl,Uf="__reactEvents$"+Zl,Dg="__reactListeners$"+Zl,wg="__reactHandles$"+Zl,Rd="__reactResources$"+Zl,fi="__reactMarker$"+Zl;function Nf(t){delete t[ae],delete t[be],delete t[Uf],delete t[Dg],delete t[wg]}function aa(t){var e=t[ae];if(e)return e;for(var l=t.parentNode;l;){if(e=l[na]||l[ae]){if(l=e.alternate,e.child!==null||l!==null&&l.child!==null)for(t=Pm(t);t!==null;){if(l=t[ae])return l;t=Pm(t)}return e}t=l,l=t.parentNode}return null}function ia(t){if(t=t[ae]||t[na]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function ci(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(i(33))}function ua(t){var e=t[Rd];return e||(e=t[Rd]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function ee(t){t[fi]=!0}var Ud=new Set,Nd={};function On(t,e){ra(t,e),ra(t+"Capture",e)}function ra(t,e){for(Nd[t]=e,t=0;t<e.length;t++)Ud.add(e[t])}var Rg=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),jd={},Bd={};function Ug(t){return Mf.call(Bd,t)?!0:Mf.call(jd,t)?!1:Rg.test(t)?Bd[t]=!0:(jd[t]=!0,!1)}function gu(t,e,l){if(Ug(e))if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var n=e.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+l)}}function _u(t,e,l){if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+l)}}function _l(t,e,l,n){if(n===null)t.removeAttribute(l);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(e,l,""+n)}}function Ke(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Hd(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Ng(t,e,l){var n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var u=n.get,f=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return u.call(this)},set:function(d){l=""+d,f.call(this,d)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return l},setValue:function(d){l=""+d},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function jf(t){if(!t._valueTracker){var e=Hd(t)?"checked":"value";t._valueTracker=Ng(t,e,""+t[e])}}function Ld(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),n="";return t&&(n=Hd(t)?t.checked?"true":"false":t.value),t=n,t!==l?(e.setValue(t),!0):!1}function vu(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var jg=/[\n"\\]/g;function Je(t){return t.replace(jg,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Bf(t,e,l,n,u,f,d,_){t.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?t.type=d:t.removeAttribute("type"),e!=null?d==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Ke(e)):t.value!==""+Ke(e)&&(t.value=""+Ke(e)):d!=="submit"&&d!=="reset"||t.removeAttribute("value"),e!=null?Hf(t,d,Ke(e)):l!=null?Hf(t,d,Ke(l)):n!=null&&t.removeAttribute("value"),u==null&&f!=null&&(t.defaultChecked=!!f),u!=null&&(t.checked=u&&typeof u!="function"&&typeof u!="symbol"),_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?t.name=""+Ke(_):t.removeAttribute("name")}function qd(t,e,l,n,u,f,d,_){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.type=f),e!=null||l!=null){if(!(f!=="submit"&&f!=="reset"||e!=null)){jf(t);return}l=l!=null?""+Ke(l):"",e=e!=null?""+Ke(e):l,_||e===t.value||(t.value=e),t.defaultValue=e}n=n??u,n=typeof n!="function"&&typeof n!="symbol"&&!!n,t.checked=_?t.checked:!!n,t.defaultChecked=!!n,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(t.name=d),jf(t)}function Hf(t,e,l){e==="number"&&vu(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function fa(t,e,l,n){if(t=t.options,e){e={};for(var u=0;u<l.length;u++)e["$"+l[u]]=!0;for(l=0;l<t.length;l++)u=e.hasOwnProperty("$"+t[l].value),t[l].selected!==u&&(t[l].selected=u),u&&n&&(t[l].defaultSelected=!0)}else{for(l=""+Ke(l),e=null,u=0;u<t.length;u++){if(t[u].value===l){t[u].selected=!0,n&&(t[u].defaultSelected=!0);return}e!==null||t[u].disabled||(e=t[u])}e!==null&&(e.selected=!0)}}function Yd(t,e,l){if(e!=null&&(e=""+Ke(e),e!==t.value&&(t.value=e),l==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=l!=null?""+Ke(l):""}function Gd(t,e,l,n){if(e==null){if(n!=null){if(l!=null)throw Error(i(92));if(rt(n)){if(1<n.length)throw Error(i(93));n=n[0]}l=n}l==null&&(l=""),e=l}l=Ke(e),t.defaultValue=l,n=t.textContent,n===l&&n!==""&&n!==null&&(t.value=n),jf(t)}function ca(t,e){if(e){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=e;return}}t.textContent=e}var Bg=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 Xd(t,e,l){var n=e.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?n?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":n?t.setProperty(e,l):typeof l!="number"||l===0||Bg.has(e)?e==="float"?t.cssFloat=l:t[e]=(""+l).trim():t[e]=l+"px"}function kd(t,e,l){if(e!=null&&typeof e!="object")throw Error(i(62));if(t=t.style,l!=null){for(var n in l)!l.hasOwnProperty(n)||e!=null&&e.hasOwnProperty(n)||(n.indexOf("--")===0?t.setProperty(n,""):n==="float"?t.cssFloat="":t[n]="");for(var u in e)n=e[u],e.hasOwnProperty(u)&&l[u]!==n&&Xd(t,u,n)}else for(var f in e)e.hasOwnProperty(f)&&Xd(t,f,e[f])}function Lf(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Hg=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Lg=/^[\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 bu(t){return Lg.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function vl(){}var qf=null;function Yf(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var sa=null,oa=null;function Vd(t){var e=ia(t);if(e&&(t=e.stateNode)){var l=t[be]||null;t:switch(t=e.stateNode,e.type){case"input":if(Bf(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),e=l.name,l.type==="radio"&&e!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Je(""+e)+'"][type="radio"]'),e=0;e<l.length;e++){var n=l[e];if(n!==t&&n.form===t.form){var u=n[be]||null;if(!u)throw Error(i(90));Bf(n,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(e=0;e<l.length;e++)n=l[e],n.form===t.form&&Ld(n)}break t;case"textarea":Yd(t,l.value,l.defaultValue);break t;case"select":e=l.value,e!=null&&fa(t,!!l.multiple,e,!1)}}}var Gf=!1;function Qd(t,e,l){if(Gf)return t(e,l);Gf=!0;try{var n=t(e);return n}finally{if(Gf=!1,(sa!==null||oa!==null)&&(rr(),sa&&(e=sa,t=oa,oa=sa=null,Vd(e),t)))for(e=0;e<t.length;e++)Vd(t[e])}}function si(t,e){var l=t.stateNode;if(l===null)return null;var n=l[be]||null;if(n===null)return null;l=n[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(t=t.type,n=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!n;break t;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(i(231,e,typeof l));return l}var bl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Xf=!1;if(bl)try{var oi={};Object.defineProperty(oi,"passive",{get:function(){Xf=!0}}),window.addEventListener("test",oi,oi),window.removeEventListener("test",oi,oi)}catch{Xf=!1}var Kl=null,kf=null,Su=null;function Zd(){if(Su)return Su;var t,e=kf,l=e.length,n,u="value"in Kl?Kl.value:Kl.textContent,f=u.length;for(t=0;t<l&&e[t]===u[t];t++);var d=l-t;for(n=1;n<=d&&e[l-n]===u[f-n];n++);return Su=u.slice(t,1<n?1-n:void 0)}function xu(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Tu(){return!0}function Kd(){return!1}function Se(t){function e(l,n,u,f,d){this._reactName=l,this._targetInst=u,this.type=n,this.nativeEvent=f,this.target=d,this.currentTarget=null;for(var _ in t)t.hasOwnProperty(_)&&(l=t[_],this[_]=l?l(f):f[_]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?Tu:Kd,this.isPropagationStopped=Kd,this}return b(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Tu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Tu)},persist:function(){},isPersistent:Tu}),e}var Cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},zu=Se(Cn),di=b({},Cn,{view:0,detail:0}),qg=Se(di),Vf,Qf,hi,Eu=b({},di,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Kf,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==hi&&(hi&&t.type==="mousemove"?(Vf=t.screenX-hi.screenX,Qf=t.screenY-hi.screenY):Qf=Vf=0,hi=t),Vf)},movementY:function(t){return"movementY"in t?t.movementY:Qf}}),Jd=Se(Eu),Yg=b({},Eu,{dataTransfer:0}),Gg=Se(Yg),Xg=b({},di,{relatedTarget:0}),Zf=Se(Xg),kg=b({},Cn,{animationName:0,elapsedTime:0,pseudoElement:0}),Vg=Se(kg),Qg=b({},Cn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Zg=Se(Qg),Kg=b({},Cn,{data:0}),Fd=Se(Kg),Jg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Fg={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"},Wg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function $g(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Wg[t])?!!e[t]:!1}function Kf(){return $g}var Ig=b({},di,{key:function(t){if(t.key){var e=Jg[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=xu(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Fg[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Kf,charCode:function(t){return t.type==="keypress"?xu(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?xu(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Pg=Se(Ig),t_=b({},Eu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wd=Se(t_),e_=b({},di,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Kf}),l_=Se(e_),n_=b({},Cn,{propertyName:0,elapsedTime:0,pseudoElement:0}),a_=Se(n_),i_=b({},Eu,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),u_=Se(i_),r_=b({},Cn,{newState:0,oldState:0}),f_=Se(r_),c_=[9,13,27,32],Jf=bl&&"CompositionEvent"in window,mi=null;bl&&"documentMode"in document&&(mi=document.documentMode);var s_=bl&&"TextEvent"in window&&!mi,$d=bl&&(!Jf||mi&&8<mi&&11>=mi),Id=" ",Pd=!1;function th(t,e){switch(t){case"keyup":return c_.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function eh(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var da=!1;function o_(t,e){switch(t){case"compositionend":return eh(e);case"keypress":return e.which!==32?null:(Pd=!0,Id);case"textInput":return t=e.data,t===Id&&Pd?null:t;default:return null}}function d_(t,e){if(da)return t==="compositionend"||!Jf&&th(t,e)?(t=Zd(),Su=kf=Kl=null,da=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return $d&&e.locale!=="ko"?null:e.data;default:return null}}var h_={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 lh(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!h_[t.type]:e==="textarea"}function nh(t,e,l,n){sa?oa?oa.push(n):oa=[n]:sa=n,e=mr(e,"onChange"),0<e.length&&(l=new zu("onChange","change",null,l,n),t.push({event:l,listeners:e}))}var yi=null,pi=null;function m_(t){qm(t,0)}function Au(t){var e=ci(t);if(Ld(e))return t}function ah(t,e){if(t==="change")return e}var ih=!1;if(bl){var Ff;if(bl){var Wf="oninput"in document;if(!Wf){var uh=document.createElement("div");uh.setAttribute("oninput","return;"),Wf=typeof uh.oninput=="function"}Ff=Wf}else Ff=!1;ih=Ff&&(!document.documentMode||9<document.documentMode)}function rh(){yi&&(yi.detachEvent("onpropertychange",fh),pi=yi=null)}function fh(t){if(t.propertyName==="value"&&Au(pi)){var e=[];nh(e,pi,t,Yf(t)),Qd(m_,e)}}function y_(t,e,l){t==="focusin"?(rh(),yi=e,pi=l,yi.attachEvent("onpropertychange",fh)):t==="focusout"&&rh()}function p_(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Au(pi)}function g_(t,e){if(t==="click")return Au(e)}function __(t,e){if(t==="input"||t==="change")return Au(e)}function v_(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var He=typeof Object.is=="function"?Object.is:v_;function gi(t,e){if(He(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var l=Object.keys(t),n=Object.keys(e);if(l.length!==n.length)return!1;for(n=0;n<l.length;n++){var u=l[n];if(!Mf.call(e,u)||!He(t[u],e[u]))return!1}return!0}function ch(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function sh(t,e){var l=ch(t);t=0;for(var n;l;){if(l.nodeType===3){if(n=t+l.textContent.length,t<=e&&n>=e)return{node:l,offset:e-t};t=n}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=ch(l)}}function oh(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?oh(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function dh(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=vu(t.document);e instanceof t.HTMLIFrameElement;){try{var l=typeof e.contentWindow.location.href=="string"}catch{l=!1}if(l)t=e.contentWindow;else break;e=vu(t.document)}return e}function $f(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var b_=bl&&"documentMode"in document&&11>=document.documentMode,ha=null,If=null,_i=null,Pf=!1;function hh(t,e,l){var n=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Pf||ha==null||ha!==vu(n)||(n=ha,"selectionStart"in n&&$f(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),_i&&gi(_i,n)||(_i=n,n=mr(If,"onSelect"),0<n.length&&(e=new zu("onSelect","select",null,e,l),t.push({event:e,listeners:n}),e.target=ha)))}function Dn(t,e){var l={};return l[t.toLowerCase()]=e.toLowerCase(),l["Webkit"+t]="webkit"+e,l["Moz"+t]="moz"+e,l}var ma={animationend:Dn("Animation","AnimationEnd"),animationiteration:Dn("Animation","AnimationIteration"),animationstart:Dn("Animation","AnimationStart"),transitionrun:Dn("Transition","TransitionRun"),transitionstart:Dn("Transition","TransitionStart"),transitioncancel:Dn("Transition","TransitionCancel"),transitionend:Dn("Transition","TransitionEnd")},tc={},mh={};bl&&(mh=document.createElement("div").style,"AnimationEvent"in window||(delete ma.animationend.animation,delete ma.animationiteration.animation,delete ma.animationstart.animation),"TransitionEvent"in window||delete ma.transitionend.transition);function wn(t){if(tc[t])return tc[t];if(!ma[t])return t;var e=ma[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in mh)return tc[t]=e[l];return t}var yh=wn("animationend"),ph=wn("animationiteration"),gh=wn("animationstart"),S_=wn("transitionrun"),x_=wn("transitionstart"),T_=wn("transitioncancel"),_h=wn("transitionend"),vh=new Map,ec="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(" ");ec.push("scrollEnd");function nl(t,e){vh.set(t,e),On(e,[t])}var Mu=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=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(e))return}console.error(t)},Fe=[],ya=0,lc=0;function Ou(){for(var t=ya,e=lc=ya=0;e<t;){var l=Fe[e];Fe[e++]=null;var n=Fe[e];Fe[e++]=null;var u=Fe[e];Fe[e++]=null;var f=Fe[e];if(Fe[e++]=null,n!==null&&u!==null){var d=n.pending;d===null?u.next=u:(u.next=d.next,d.next=u),n.pending=u}f!==0&&bh(l,u,f)}}function Cu(t,e,l,n){Fe[ya++]=t,Fe[ya++]=e,Fe[ya++]=l,Fe[ya++]=n,lc|=n,t.lanes|=n,t=t.alternate,t!==null&&(t.lanes|=n)}function nc(t,e,l,n){return Cu(t,e,l,n),Du(t)}function Rn(t,e){return Cu(t,null,null,e),Du(t)}function bh(t,e,l){t.lanes|=l;var n=t.alternate;n!==null&&(n.lanes|=l);for(var u=!1,f=t.return;f!==null;)f.childLanes|=l,n=f.alternate,n!==null&&(n.childLanes|=l),f.tag===22&&(t=f.stateNode,t===null||t._visibility&1||(u=!0)),t=f,f=f.return;return t.tag===3?(f=t.stateNode,u&&e!==null&&(u=31-Be(l),t=f.hiddenUpdates,n=t[u],n===null?t[u]=[e]:n.push(e),e.lane=l|536870912),f):null}function Du(t){if(50<Yi)throw Yi=0,ds=null,Error(i(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var pa={};function z_(t,e,l,n){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Le(t,e,l,n){return new z_(t,e,l,n)}function ac(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Sl(t,e){var l=t.alternate;return l===null?(l=Le(t.tag,e,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=e,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,e=t.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function Sh(t,e){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,e=l.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function wu(t,e,l,n,u,f){var d=0;if(n=t,typeof t=="function")ac(t)&&(d=1);else if(typeof t=="string")d=Cv(t,l,tt.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case M:return t=Le(31,l,e,u),t.elementType=M,t.lanes=f,t;case v:return Un(l.children,u,f,e);case C:d=8,u|=24;break;case j:return t=Le(12,l,e,u|2),t.elementType=j,t.lanes=f,t;case q:return t=Le(13,l,e,u),t.elementType=q,t.lanes=f,t;case J:return t=Le(19,l,e,u),t.elementType=J,t.lanes=f,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Y:d=10;break t;case L:d=9;break t;case Z:d=11;break t;case V:d=14;break t;case H:d=16,n=null;break t}d=29,l=Error(i(130,t===null?"null":typeof t,"")),n=null}return e=Le(d,l,e,u),e.elementType=t,e.type=n,e.lanes=f,e}function Un(t,e,l,n){return t=Le(7,t,n,e),t.lanes=l,t}function ic(t,e,l){return t=Le(6,t,null,e),t.lanes=l,t}function xh(t){var e=Le(18,null,null,0);return e.stateNode=t,e}function uc(t,e,l){return e=Le(4,t.children!==null?t.children:[],t.key,e),e.lanes=l,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Th=new WeakMap;function We(t,e){if(typeof t=="object"&&t!==null){var l=Th.get(t);return l!==void 0?l:(e={value:t,source:e,stack:xd(e)},Th.set(t,e),e)}return{value:t,source:e,stack:xd(e)}}var ga=[],_a=0,Ru=null,vi=0,$e=[],Ie=0,Jl=null,sl=1,ol="";function xl(t,e){ga[_a++]=vi,ga[_a++]=Ru,Ru=t,vi=e}function zh(t,e,l){$e[Ie++]=sl,$e[Ie++]=ol,$e[Ie++]=Jl,Jl=t;var n=sl;t=ol;var u=32-Be(n)-1;n&=~(1<<u),l+=1;var f=32-Be(e)+u;if(30<f){var d=u-u%5;f=(n&(1<<d)-1).toString(32),n>>=d,u-=d,sl=1<<32-Be(e)+u|l<<u|n,ol=f+t}else sl=1<<f|l<<u|n,ol=t}function rc(t){t.return!==null&&(xl(t,1),zh(t,1,0))}function fc(t){for(;t===Ru;)Ru=ga[--_a],ga[_a]=null,vi=ga[--_a],ga[_a]=null;for(;t===Jl;)Jl=$e[--Ie],$e[Ie]=null,ol=$e[--Ie],$e[Ie]=null,sl=$e[--Ie],$e[Ie]=null}function Eh(t,e){$e[Ie++]=sl,$e[Ie++]=ol,$e[Ie++]=Jl,sl=e.id,ol=e.overflow,Jl=t}var ie=null,Nt=null,bt=!1,Fl=null,Pe=!1,cc=Error(i(519));function Wl(t){var e=Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw bi(We(e,t)),cc}function Ah(t){var e=t.stateNode,l=t.type,n=t.memoizedProps;switch(e[ae]=t,e[be]=n,l){case"dialog":pt("cancel",e),pt("close",e);break;case"iframe":case"object":case"embed":pt("load",e);break;case"video":case"audio":for(l=0;l<Xi.length;l++)pt(Xi[l],e);break;case"source":pt("error",e);break;case"img":case"image":case"link":pt("error",e),pt("load",e);break;case"details":pt("toggle",e);break;case"input":pt("invalid",e),qd(e,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":pt("invalid",e);break;case"textarea":pt("invalid",e),Gd(e,n.value,n.defaultValue,n.children)}l=n.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||e.textContent===""+l||n.suppressHydrationWarning===!0||km(e.textContent,l)?(n.popover!=null&&(pt("beforetoggle",e),pt("toggle",e)),n.onScroll!=null&&pt("scroll",e),n.onScrollEnd!=null&&pt("scrollend",e),n.onClick!=null&&(e.onclick=vl),e=!0):e=!1,e||Wl(t,!0)}function Mh(t){for(ie=t.return;ie;)switch(ie.tag){case 5:case 31:case 13:Pe=!1;return;case 27:case 3:Pe=!0;return;default:ie=ie.return}}function va(t){if(t!==ie)return!1;if(!bt)return Mh(t),bt=!0,!1;var e=t.tag,l;if((l=e!==3&&e!==27)&&((l=e===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||Ms(t.type,t.memoizedProps)),l=!l),l&&Nt&&Wl(t),Mh(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));Nt=Im(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));Nt=Im(t)}else e===27?(e=Nt,on(t.type)?(t=Rs,Rs=null,Nt=t):Nt=e):Nt=ie?el(t.stateNode.nextSibling):null;return!0}function Nn(){Nt=ie=null,bt=!1}function sc(){var t=Fl;return t!==null&&(Ee===null?Ee=t:Ee.push.apply(Ee,t),Fl=null),t}function bi(t){Fl===null?Fl=[t]:Fl.push(t)}var oc=E(null),jn=null,Tl=null;function $l(t,e,l){I(oc,e._currentValue),e._currentValue=l}function zl(t){t._currentValue=oc.current,X(oc)}function dc(t,e,l){for(;t!==null;){var n=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,n!==null&&(n.childLanes|=e)):n!==null&&(n.childLanes&e)!==e&&(n.childLanes|=e),t===l)break;t=t.return}}function hc(t,e,l,n){var u=t.child;for(u!==null&&(u.return=t);u!==null;){var f=u.dependencies;if(f!==null){var d=u.child;f=f.firstContext;t:for(;f!==null;){var _=f;f=u;for(var x=0;x<e.length;x++)if(_.context===e[x]){f.lanes|=l,_=f.alternate,_!==null&&(_.lanes|=l),dc(f.return,l,t),n||(d=null);break t}f=_.next}}else if(u.tag===18){if(d=u.return,d===null)throw Error(i(341));d.lanes|=l,f=d.alternate,f!==null&&(f.lanes|=l),dc(d,l,t),d=null}else d=u.child;if(d!==null)d.return=u;else for(d=u;d!==null;){if(d===t){d=null;break}if(u=d.sibling,u!==null){u.return=d.return,d=u;break}d=d.return}u=d}}function ba(t,e,l,n){t=null;for(var u=e,f=!1;u!==null;){if(!f){if((u.flags&524288)!==0)f=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var d=u.alternate;if(d===null)throw Error(i(387));if(d=d.memoizedProps,d!==null){var _=u.type;He(u.pendingProps.value,d.value)||(t!==null?t.push(_):t=[_])}}else if(u===Et.current){if(d=u.alternate,d===null)throw Error(i(387));d.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(t!==null?t.push(Ki):t=[Ki])}u=u.return}t!==null&&hc(e,t,l,n),e.flags|=262144}function Uu(t){for(t=t.firstContext;t!==null;){if(!He(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Bn(t){jn=t,Tl=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function ue(t){return Oh(jn,t)}function Nu(t,e){return jn===null&&Bn(t),Oh(t,e)}function Oh(t,e){var l=e._currentValue;if(e={context:e,memoizedValue:l,next:null},Tl===null){if(t===null)throw Error(i(308));Tl=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else Tl=Tl.next=e;return l}var E_=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(l,n){t.push(n)}};this.abort=function(){e.aborted=!0,t.forEach(function(l){return l()})}},A_=m.unstable_scheduleCallback,M_=m.unstable_NormalPriority,Ft={$$typeof:Y,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function mc(){return{controller:new E_,data:new Map,refCount:0}}function Si(t){t.refCount--,t.refCount===0&&A_(M_,function(){t.controller.abort()})}var xi=null,yc=0,Sa=0,xa=null;function O_(t,e){if(xi===null){var l=xi=[];yc=0,Sa=_s(),xa={status:"pending",value:void 0,then:function(n){l.push(n)}}}return yc++,e.then(Ch,Ch),e}function Ch(){if(--yc===0&&xi!==null){xa!==null&&(xa.status="fulfilled");var t=xi;xi=null,Sa=0,xa=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function C_(t,e){var l=[],n={status:"pending",value:null,reason:null,then:function(u){l.push(u)}};return t.then(function(){n.status="fulfilled",n.value=e;for(var u=0;u<l.length;u++)(0,l[u])(e)},function(u){for(n.status="rejected",n.reason=u,u=0;u<l.length;u++)(0,l[u])(void 0)}),n}var Dh=U.S;U.S=function(t,e){hm=Ne(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&O_(t,e),Dh!==null&&Dh(t,e)};var Hn=E(null);function pc(){var t=Hn.current;return t!==null?t:Ut.pooledCache}function ju(t,e){e===null?I(Hn,Hn.current):I(Hn,e.pool)}function wh(){var t=pc();return t===null?null:{parent:Ft._currentValue,pool:t}}var Ta=Error(i(460)),gc=Error(i(474)),Bu=Error(i(542)),Hu={then:function(){}};function Rh(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Uh(t,e,l){switch(l=t[l],l===void 0?t.push(e):l!==e&&(e.then(vl,vl),e=l),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,jh(t),t;default:if(typeof e.status=="string")e.then(vl,vl);else{if(t=Ut,t!==null&&100<t.shellSuspendCounter)throw Error(i(482));t=e,t.status="pending",t.then(function(n){if(e.status==="pending"){var u=e;u.status="fulfilled",u.value=n}},function(n){if(e.status==="pending"){var u=e;u.status="rejected",u.reason=n}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,jh(t),t}throw qn=e,Ta}}function Ln(t){try{var e=t._init;return e(t._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(qn=l,Ta):l}}var qn=null;function Nh(){if(qn===null)throw Error(i(459));var t=qn;return qn=null,t}function jh(t){if(t===Ta||t===Bu)throw Error(i(483))}var za=null,Ti=0;function Lu(t){var e=Ti;return Ti+=1,za===null&&(za=[]),Uh(za,t,e)}function zi(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function qu(t,e){throw e.$$typeof===T?Error(i(525)):(t=Object.prototype.toString.call(e),Error(i(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Bh(t){function e(O,z){if(t){var D=O.deletions;D===null?(O.deletions=[z],O.flags|=16):D.push(z)}}function l(O,z){if(!t)return null;for(;z!==null;)e(O,z),z=z.sibling;return null}function n(O){for(var z=new Map;O!==null;)O.key!==null?z.set(O.key,O):z.set(O.index,O),O=O.sibling;return z}function u(O,z){return O=Sl(O,z),O.index=0,O.sibling=null,O}function f(O,z,D){return O.index=D,t?(D=O.alternate,D!==null?(D=D.index,D<z?(O.flags|=67108866,z):D):(O.flags|=67108866,z)):(O.flags|=1048576,z)}function d(O){return t&&O.alternate===null&&(O.flags|=67108866),O}function _(O,z,D,k){return z===null||z.tag!==6?(z=ic(D,O.mode,k),z.return=O,z):(z=u(z,D),z.return=O,z)}function x(O,z,D,k){var at=D.type;return at===v?G(O,z,D.props.children,k,D.key):z!==null&&(z.elementType===at||typeof at=="object"&&at!==null&&at.$$typeof===H&&Ln(at)===z.type)?(z=u(z,D.props),zi(z,D),z.return=O,z):(z=wu(D.type,D.key,D.props,null,O.mode,k),zi(z,D),z.return=O,z)}function w(O,z,D,k){return z===null||z.tag!==4||z.stateNode.containerInfo!==D.containerInfo||z.stateNode.implementation!==D.implementation?(z=uc(D,O.mode,k),z.return=O,z):(z=u(z,D.children||[]),z.return=O,z)}function G(O,z,D,k,at){return z===null||z.tag!==7?(z=Un(D,O.mode,k,at),z.return=O,z):(z=u(z,D),z.return=O,z)}function Q(O,z,D){if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return z=ic(""+z,O.mode,D),z.return=O,z;if(typeof z=="object"&&z!==null){switch(z.$$typeof){case S:return D=wu(z.type,z.key,z.props,null,O.mode,D),zi(D,z),D.return=O,D;case A:return z=uc(z,O.mode,D),z.return=O,z;case H:return z=Ln(z),Q(O,z,D)}if(rt(z)||et(z))return z=Un(z,O.mode,D,null),z.return=O,z;if(typeof z.then=="function")return Q(O,Lu(z),D);if(z.$$typeof===Y)return Q(O,Nu(O,z),D);qu(O,z)}return null}function R(O,z,D,k){var at=z!==null?z.key:null;if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return at!==null?null:_(O,z,""+D,k);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case S:return D.key===at?x(O,z,D,k):null;case A:return D.key===at?w(O,z,D,k):null;case H:return D=Ln(D),R(O,z,D,k)}if(rt(D)||et(D))return at!==null?null:G(O,z,D,k,null);if(typeof D.then=="function")return R(O,z,Lu(D),k);if(D.$$typeof===Y)return R(O,z,Nu(O,D),k);qu(O,D)}return null}function B(O,z,D,k,at){if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return O=O.get(D)||null,_(z,O,""+k,at);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case S:return O=O.get(k.key===null?D:k.key)||null,x(z,O,k,at);case A:return O=O.get(k.key===null?D:k.key)||null,w(z,O,k,at);case H:return k=Ln(k),B(O,z,D,k,at)}if(rt(k)||et(k))return O=O.get(D)||null,G(z,O,k,at,null);if(typeof k.then=="function")return B(O,z,D,Lu(k),at);if(k.$$typeof===Y)return B(O,z,D,Nu(z,k),at);qu(z,k)}return null}function lt(O,z,D,k){for(var at=null,xt=null,nt=z,dt=z=0,_t=null;nt!==null&&dt<D.length;dt++){nt.index>dt?(_t=nt,nt=null):_t=nt.sibling;var Tt=R(O,nt,D[dt],k);if(Tt===null){nt===null&&(nt=_t);break}t&&nt&&Tt.alternate===null&&e(O,nt),z=f(Tt,z,dt),xt===null?at=Tt:xt.sibling=Tt,xt=Tt,nt=_t}if(dt===D.length)return l(O,nt),bt&&xl(O,dt),at;if(nt===null){for(;dt<D.length;dt++)nt=Q(O,D[dt],k),nt!==null&&(z=f(nt,z,dt),xt===null?at=nt:xt.sibling=nt,xt=nt);return bt&&xl(O,dt),at}for(nt=n(nt);dt<D.length;dt++)_t=B(nt,O,dt,D[dt],k),_t!==null&&(t&&_t.alternate!==null&&nt.delete(_t.key===null?dt:_t.key),z=f(_t,z,dt),xt===null?at=_t:xt.sibling=_t,xt=_t);return t&&nt.forEach(function(pn){return e(O,pn)}),bt&&xl(O,dt),at}function it(O,z,D,k){if(D==null)throw Error(i(151));for(var at=null,xt=null,nt=z,dt=z=0,_t=null,Tt=D.next();nt!==null&&!Tt.done;dt++,Tt=D.next()){nt.index>dt?(_t=nt,nt=null):_t=nt.sibling;var pn=R(O,nt,Tt.value,k);if(pn===null){nt===null&&(nt=_t);break}t&&nt&&pn.alternate===null&&e(O,nt),z=f(pn,z,dt),xt===null?at=pn:xt.sibling=pn,xt=pn,nt=_t}if(Tt.done)return l(O,nt),bt&&xl(O,dt),at;if(nt===null){for(;!Tt.done;dt++,Tt=D.next())Tt=Q(O,Tt.value,k),Tt!==null&&(z=f(Tt,z,dt),xt===null?at=Tt:xt.sibling=Tt,xt=Tt);return bt&&xl(O,dt),at}for(nt=n(nt);!Tt.done;dt++,Tt=D.next())Tt=B(nt,O,dt,Tt.value,k),Tt!==null&&(t&&Tt.alternate!==null&&nt.delete(Tt.key===null?dt:Tt.key),z=f(Tt,z,dt),xt===null?at=Tt:xt.sibling=Tt,xt=Tt);return t&&nt.forEach(function(Yv){return e(O,Yv)}),bt&&xl(O,dt),at}function Dt(O,z,D,k){if(typeof D=="object"&&D!==null&&D.type===v&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case S:t:{for(var at=D.key;z!==null;){if(z.key===at){if(at=D.type,at===v){if(z.tag===7){l(O,z.sibling),k=u(z,D.props.children),k.return=O,O=k;break t}}else if(z.elementType===at||typeof at=="object"&&at!==null&&at.$$typeof===H&&Ln(at)===z.type){l(O,z.sibling),k=u(z,D.props),zi(k,D),k.return=O,O=k;break t}l(O,z);break}else e(O,z);z=z.sibling}D.type===v?(k=Un(D.props.children,O.mode,k,D.key),k.return=O,O=k):(k=wu(D.type,D.key,D.props,null,O.mode,k),zi(k,D),k.return=O,O=k)}return d(O);case A:t:{for(at=D.key;z!==null;){if(z.key===at)if(z.tag===4&&z.stateNode.containerInfo===D.containerInfo&&z.stateNode.implementation===D.implementation){l(O,z.sibling),k=u(z,D.children||[]),k.return=O,O=k;break t}else{l(O,z);break}else e(O,z);z=z.sibling}k=uc(D,O.mode,k),k.return=O,O=k}return d(O);case H:return D=Ln(D),Dt(O,z,D,k)}if(rt(D))return lt(O,z,D,k);if(et(D)){if(at=et(D),typeof at!="function")throw Error(i(150));return D=at.call(D),it(O,z,D,k)}if(typeof D.then=="function")return Dt(O,z,Lu(D),k);if(D.$$typeof===Y)return Dt(O,z,Nu(O,D),k);qu(O,D)}return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,z!==null&&z.tag===6?(l(O,z.sibling),k=u(z,D),k.return=O,O=k):(l(O,z),k=ic(D,O.mode,k),k.return=O,O=k),d(O)):l(O,z)}return function(O,z,D,k){try{Ti=0;var at=Dt(O,z,D,k);return za=null,at}catch(nt){if(nt===Ta||nt===Bu)throw nt;var xt=Le(29,nt,null,O.mode);return xt.lanes=k,xt.return=O,xt}finally{}}}var Yn=Bh(!0),Hh=Bh(!1),Il=!1;function _c(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function vc(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Pl(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function tn(t,e,l){var n=t.updateQueue;if(n===null)return null;if(n=n.shared,(zt&2)!==0){var u=n.pending;return u===null?e.next=e:(e.next=u.next,u.next=e),n.pending=e,e=Du(t),bh(t,null,l),e}return Cu(t,n,e,l),Du(t)}function Ei(t,e,l){if(e=e.updateQueue,e!==null&&(e=e.shared,(l&4194048)!==0)){var n=e.lanes;n&=t.pendingLanes,l|=n,e.lanes=l,Od(t,l)}}function bc(t,e){var l=t.updateQueue,n=t.alternate;if(n!==null&&(n=n.updateQueue,l===n)){var u=null,f=null;if(l=l.firstBaseUpdate,l!==null){do{var d={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};f===null?u=f=d:f=f.next=d,l=l.next}while(l!==null);f===null?u=f=e:f=f.next=e}else u=f=e;l={baseState:n.baseState,firstBaseUpdate:u,lastBaseUpdate:f,shared:n.shared,callbacks:n.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=e:t.next=e,l.lastBaseUpdate=e}var Sc=!1;function Ai(){if(Sc){var t=xa;if(t!==null)throw t}}function Mi(t,e,l,n){Sc=!1;var u=t.updateQueue;Il=!1;var f=u.firstBaseUpdate,d=u.lastBaseUpdate,_=u.shared.pending;if(_!==null){u.shared.pending=null;var x=_,w=x.next;x.next=null,d===null?f=w:d.next=w,d=x;var G=t.alternate;G!==null&&(G=G.updateQueue,_=G.lastBaseUpdate,_!==d&&(_===null?G.firstBaseUpdate=w:_.next=w,G.lastBaseUpdate=x))}if(f!==null){var Q=u.baseState;d=0,G=w=x=null,_=f;do{var R=_.lane&-536870913,B=R!==_.lane;if(B?(gt&R)===R:(n&R)===R){R!==0&&R===Sa&&(Sc=!0),G!==null&&(G=G.next={lane:0,tag:_.tag,payload:_.payload,callback:null,next:null});t:{var lt=t,it=_;R=e;var Dt=l;switch(it.tag){case 1:if(lt=it.payload,typeof lt=="function"){Q=lt.call(Dt,Q,R);break t}Q=lt;break t;case 3:lt.flags=lt.flags&-65537|128;case 0:if(lt=it.payload,R=typeof lt=="function"?lt.call(Dt,Q,R):lt,R==null)break t;Q=b({},Q,R);break t;case 2:Il=!0}}R=_.callback,R!==null&&(t.flags|=64,B&&(t.flags|=8192),B=u.callbacks,B===null?u.callbacks=[R]:B.push(R))}else B={lane:R,tag:_.tag,payload:_.payload,callback:_.callback,next:null},G===null?(w=G=B,x=Q):G=G.next=B,d|=R;if(_=_.next,_===null){if(_=u.shared.pending,_===null)break;B=_,_=B.next,B.next=null,u.lastBaseUpdate=B,u.shared.pending=null}}while(!0);G===null&&(x=Q),u.baseState=x,u.firstBaseUpdate=w,u.lastBaseUpdate=G,f===null&&(u.shared.lanes=0),un|=d,t.lanes=d,t.memoizedState=Q}}function Lh(t,e){if(typeof t!="function")throw Error(i(191,t));t.call(e)}function qh(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)Lh(l[t],e)}var Ea=E(null),Yu=E(0);function Yh(t,e){t=Ul,I(Yu,t),I(Ea,e),Ul=t|e.baseLanes}function xc(){I(Yu,Ul),I(Ea,Ea.current)}function Tc(){Ul=Yu.current,X(Ea),X(Yu)}var qe=E(null),tl=null;function en(t){var e=t.alternate;I(Zt,Zt.current&1),I(qe,t),tl===null&&(e===null||Ea.current!==null||e.memoizedState!==null)&&(tl=t)}function zc(t){I(Zt,Zt.current),I(qe,t),tl===null&&(tl=t)}function Gh(t){t.tag===22?(I(Zt,Zt.current),I(qe,t),tl===null&&(tl=t)):ln()}function ln(){I(Zt,Zt.current),I(qe,qe.current)}function Ye(t){X(qe),tl===t&&(tl=null),X(Zt)}var Zt=E(0);function Gu(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Ds(l)||ws(l)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var El=0,ot=null,Ot=null,Wt=null,Xu=!1,Aa=!1,Gn=!1,ku=0,Oi=0,Ma=null,D_=0;function Xt(){throw Error(i(321))}function Ec(t,e){if(e===null)return!1;for(var l=0;l<e.length&&l<t.length;l++)if(!He(t[l],e[l]))return!1;return!0}function Ac(t,e,l,n,u,f){return El=f,ot=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,U.H=t===null||t.memoizedState===null?z0:Gc,Gn=!1,f=l(n,u),Gn=!1,Aa&&(f=kh(e,l,n,u)),Xh(t),f}function Xh(t){U.H=wi;var e=Ot!==null&&Ot.next!==null;if(El=0,Wt=Ot=ot=null,Xu=!1,Oi=0,Ma=null,e)throw Error(i(300));t===null||$t||(t=t.dependencies,t!==null&&Uu(t)&&($t=!0))}function kh(t,e,l,n){ot=t;var u=0;do{if(Aa&&(Ma=null),Oi=0,Aa=!1,25<=u)throw Error(i(301));if(u+=1,Wt=Ot=null,t.updateQueue!=null){var f=t.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}U.H=E0,f=e(l,n)}while(Aa);return f}function w_(){var t=U.H,e=t.useState()[0];return e=typeof e.then=="function"?Ci(e):e,t=t.useState()[0],(Ot!==null?Ot.memoizedState:null)!==t&&(ot.flags|=1024),e}function Mc(){var t=ku!==0;return ku=0,t}function Oc(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function Cc(t){if(Xu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Xu=!1}El=0,Wt=Ot=ot=null,Aa=!1,Oi=ku=0,Ma=null}function me(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Wt===null?ot.memoizedState=Wt=t:Wt=Wt.next=t,Wt}function Kt(){if(Ot===null){var t=ot.alternate;t=t!==null?t.memoizedState:null}else t=Ot.next;var e=Wt===null?ot.memoizedState:Wt.next;if(e!==null)Wt=e,Ot=t;else{if(t===null)throw ot.alternate===null?Error(i(467)):Error(i(310));Ot=t,t={memoizedState:Ot.memoizedState,baseState:Ot.baseState,baseQueue:Ot.baseQueue,queue:Ot.queue,next:null},Wt===null?ot.memoizedState=Wt=t:Wt=Wt.next=t}return Wt}function Vu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ci(t){var e=Oi;return Oi+=1,Ma===null&&(Ma=[]),t=Uh(Ma,t,e),e=ot,(Wt===null?e.memoizedState:Wt.next)===null&&(e=e.alternate,U.H=e===null||e.memoizedState===null?z0:Gc),t}function Qu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Ci(t);if(t.$$typeof===Y)return ue(t)}throw Error(i(438,String(t)))}function Dc(t){var e=null,l=ot.updateQueue;if(l!==null&&(e=l.memoCache),e==null){var n=ot.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(e={data:n.data.map(function(u){return u.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),l===null&&(l=Vu(),ot.updateQueue=l),l.memoCache=e,l=e.data[e.index],l===void 0)for(l=e.data[e.index]=Array(t),n=0;n<t;n++)l[n]=F;return e.index++,l}function Al(t,e){return typeof e=="function"?e(t):e}function Zu(t){var e=Kt();return wc(e,Ot,t)}function wc(t,e,l){var n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=l;var u=t.baseQueue,f=n.pending;if(f!==null){if(u!==null){var d=u.next;u.next=f.next,f.next=d}e.baseQueue=u=f,n.pending=null}if(f=t.baseState,u===null)t.memoizedState=f;else{e=u.next;var _=d=null,x=null,w=e,G=!1;do{var Q=w.lane&-536870913;if(Q!==w.lane?(gt&Q)===Q:(El&Q)===Q){var R=w.revertLane;if(R===0)x!==null&&(x=x.next={lane:0,revertLane:0,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null}),Q===Sa&&(G=!0);else if((El&R)===R){w=w.next,R===Sa&&(G=!0);continue}else Q={lane:0,revertLane:w.revertLane,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},x===null?(_=x=Q,d=f):x=x.next=Q,ot.lanes|=R,un|=R;Q=w.action,Gn&&l(f,Q),f=w.hasEagerState?w.eagerState:l(f,Q)}else R={lane:Q,revertLane:w.revertLane,gesture:w.gesture,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},x===null?(_=x=R,d=f):x=x.next=R,ot.lanes|=Q,un|=Q;w=w.next}while(w!==null&&w!==e);if(x===null?d=f:x.next=_,!He(f,t.memoizedState)&&($t=!0,G&&(l=xa,l!==null)))throw l;t.memoizedState=f,t.baseState=d,t.baseQueue=x,n.lastRenderedState=f}return u===null&&(n.lanes=0),[t.memoizedState,n.dispatch]}function Rc(t){var e=Kt(),l=e.queue;if(l===null)throw Error(i(311));l.lastRenderedReducer=t;var n=l.dispatch,u=l.pending,f=e.memoizedState;if(u!==null){l.pending=null;var d=u=u.next;do f=t(f,d.action),d=d.next;while(d!==u);He(f,e.memoizedState)||($t=!0),e.memoizedState=f,e.baseQueue===null&&(e.baseState=f),l.lastRenderedState=f}return[f,n]}function Vh(t,e,l){var n=ot,u=Kt(),f=bt;if(f){if(l===void 0)throw Error(i(407));l=l()}else l=e();var d=!He((Ot||u).memoizedState,l);if(d&&(u.memoizedState=l,$t=!0),u=u.queue,jc(Kh.bind(null,n,u,t),[t]),u.getSnapshot!==e||d||Wt!==null&&Wt.memoizedState.tag&1){if(n.flags|=2048,Oa(9,{destroy:void 0},Zh.bind(null,n,u,l,e),null),Ut===null)throw Error(i(349));f||(El&127)!==0||Qh(n,e,l)}return l}function Qh(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=ot.updateQueue,e===null?(e=Vu(),ot.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function Zh(t,e,l,n){e.value=l,e.getSnapshot=n,Jh(e)&&Fh(t)}function Kh(t,e,l){return l(function(){Jh(e)&&Fh(t)})}function Jh(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!He(t,l)}catch{return!0}}function Fh(t){var e=Rn(t,2);e!==null&&Ae(e,t,2)}function Uc(t){var e=me();if(typeof t=="function"){var l=t;if(t=l(),Gn){Ql(!0);try{l()}finally{Ql(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Al,lastRenderedState:t},e}function Wh(t,e,l,n){return t.baseState=l,wc(t,Ot,typeof n=="function"?n:Al)}function R_(t,e,l,n,u){if(Fu(t))throw Error(i(485));if(t=e.action,t!==null){var f={payload:u,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){f.listeners.push(d)}};U.T!==null?l(!0):f.isTransition=!1,n(f),l=e.pending,l===null?(f.next=e.pending=f,$h(e,f)):(f.next=l.next,e.pending=l.next=f)}}function $h(t,e){var l=e.action,n=e.payload,u=t.state;if(e.isTransition){var f=U.T,d={};U.T=d;try{var _=l(u,n),x=U.S;x!==null&&x(d,_),Ih(t,e,_)}catch(w){Nc(t,e,w)}finally{f!==null&&d.types!==null&&(f.types=d.types),U.T=f}}else try{f=l(u,n),Ih(t,e,f)}catch(w){Nc(t,e,w)}}function Ih(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(n){Ph(t,e,n)},function(n){return Nc(t,e,n)}):Ph(t,e,l)}function Ph(t,e,l){e.status="fulfilled",e.value=l,t0(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,$h(t,l)))}function Nc(t,e,l){var n=t.pending;if(t.pending=null,n!==null){n=n.next;do e.status="rejected",e.reason=l,t0(e),e=e.next;while(e!==n)}t.action=null}function t0(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function e0(t,e){return e}function l0(t,e){if(bt){var l=Ut.formState;if(l!==null){t:{var n=ot;if(bt){if(Nt){e:{for(var u=Nt,f=Pe;u.nodeType!==8;){if(!f){u=null;break e}if(u=el(u.nextSibling),u===null){u=null;break e}}f=u.data,u=f==="F!"||f==="F"?u:null}if(u){Nt=el(u.nextSibling),n=u.data==="F!";break t}}Wl(n)}n=!1}n&&(e=l[0])}}return l=me(),l.memoizedState=l.baseState=e,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e0,lastRenderedState:e},l.queue=n,l=S0.bind(null,ot,n),n.dispatch=l,n=Uc(!1),f=Yc.bind(null,ot,!1,n.queue),n=me(),u={state:e,dispatch:null,action:t,pending:null},n.queue=u,l=R_.bind(null,ot,u,f,l),u.dispatch=l,n.memoizedState=t,[e,l,!1]}function n0(t){var e=Kt();return a0(e,Ot,t)}function a0(t,e,l){if(e=wc(t,e,e0)[0],t=Zu(Al)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var n=Ci(e)}catch(d){throw d===Ta?Bu:d}else n=e;e=Kt();var u=e.queue,f=u.dispatch;return l!==e.memoizedState&&(ot.flags|=2048,Oa(9,{destroy:void 0},U_.bind(null,u,l),null)),[n,f,t]}function U_(t,e){t.action=e}function i0(t){var e=Kt(),l=Ot;if(l!==null)return a0(e,l,t);Kt(),e=e.memoizedState,l=Kt();var n=l.queue.dispatch;return l.memoizedState=t,[e,n,!1]}function Oa(t,e,l,n){return t={tag:t,create:l,deps:n,inst:e,next:null},e=ot.updateQueue,e===null&&(e=Vu(),ot.updateQueue=e),l=e.lastEffect,l===null?e.lastEffect=t.next=t:(n=l.next,l.next=t,t.next=n,e.lastEffect=t),t}function u0(){return Kt().memoizedState}function Ku(t,e,l,n){var u=me();ot.flags|=t,u.memoizedState=Oa(1|e,{destroy:void 0},l,n===void 0?null:n)}function Ju(t,e,l,n){var u=Kt();n=n===void 0?null:n;var f=u.memoizedState.inst;Ot!==null&&n!==null&&Ec(n,Ot.memoizedState.deps)?u.memoizedState=Oa(e,f,l,n):(ot.flags|=t,u.memoizedState=Oa(1|e,f,l,n))}function r0(t,e){Ku(8390656,8,t,e)}function jc(t,e){Ju(2048,8,t,e)}function N_(t){ot.flags|=4;var e=ot.updateQueue;if(e===null)e=Vu(),ot.updateQueue=e,e.events=[t];else{var l=e.events;l===null?e.events=[t]:l.push(t)}}function f0(t){var e=Kt().memoizedState;return N_({ref:e,nextImpl:t}),function(){if((zt&2)!==0)throw Error(i(440));return e.impl.apply(void 0,arguments)}}function c0(t,e){return Ju(4,2,t,e)}function s0(t,e){return Ju(4,4,t,e)}function o0(t,e){if(typeof e=="function"){t=t();var l=e(t);return function(){typeof l=="function"?l():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function d0(t,e,l){l=l!=null?l.concat([t]):null,Ju(4,4,o0.bind(null,e,t),l)}function Bc(){}function h0(t,e){var l=Kt();e=e===void 0?null:e;var n=l.memoizedState;return e!==null&&Ec(e,n[1])?n[0]:(l.memoizedState=[t,e],t)}function m0(t,e){var l=Kt();e=e===void 0?null:e;var n=l.memoizedState;if(e!==null&&Ec(e,n[1]))return n[0];if(n=t(),Gn){Ql(!0);try{t()}finally{Ql(!1)}}return l.memoizedState=[n,e],n}function Hc(t,e,l){return l===void 0||(El&1073741824)!==0&&(gt&261930)===0?t.memoizedState=e:(t.memoizedState=l,t=ym(),ot.lanes|=t,un|=t,l)}function y0(t,e,l,n){return He(l,e)?l:Ea.current!==null?(t=Hc(t,l,n),He(t,e)||($t=!0),t):(El&42)===0||(El&1073741824)!==0&&(gt&261930)===0?($t=!0,t.memoizedState=l):(t=ym(),ot.lanes|=t,un|=t,e)}function p0(t,e,l,n,u){var f=N.p;N.p=f!==0&&8>f?f:8;var d=U.T,_={};U.T=_,Yc(t,!1,e,l);try{var x=u(),w=U.S;if(w!==null&&w(_,x),x!==null&&typeof x=="object"&&typeof x.then=="function"){var G=C_(x,n);Di(t,e,G,ke(t))}else Di(t,e,n,ke(t))}catch(Q){Di(t,e,{then:function(){},status:"rejected",reason:Q},ke())}finally{N.p=f,d!==null&&_.types!==null&&(d.types=_.types),U.T=d}}function j_(){}function Lc(t,e,l,n){if(t.tag!==5)throw Error(i(476));var u=g0(t).queue;p0(t,u,e,P,l===null?j_:function(){return _0(t),l(n)})}function g0(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:P,baseState:P,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Al,lastRenderedState:P},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Al,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function _0(t){var e=g0(t);e.next===null&&(e=t.alternate.memoizedState),Di(t,e.next.queue,{},ke())}function qc(){return ue(Ki)}function v0(){return Kt().memoizedState}function b0(){return Kt().memoizedState}function B_(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=ke();t=Pl(l);var n=tn(e,t,l);n!==null&&(Ae(n,e,l),Ei(n,e,l)),e={cache:mc()},t.payload=e;return}e=e.return}}function H_(t,e,l){var n=ke();l={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Fu(t)?x0(e,l):(l=nc(t,e,l,n),l!==null&&(Ae(l,t,n),T0(l,e,n)))}function S0(t,e,l){var n=ke();Di(t,e,l,n)}function Di(t,e,l,n){var u={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Fu(t))x0(e,u);else{var f=t.alternate;if(t.lanes===0&&(f===null||f.lanes===0)&&(f=e.lastRenderedReducer,f!==null))try{var d=e.lastRenderedState,_=f(d,l);if(u.hasEagerState=!0,u.eagerState=_,He(_,d))return Cu(t,e,u,0),Ut===null&&Ou(),!1}catch{}finally{}if(l=nc(t,e,u,n),l!==null)return Ae(l,t,n),T0(l,e,n),!0}return!1}function Yc(t,e,l,n){if(n={lane:2,revertLane:_s(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Fu(t)){if(e)throw Error(i(479))}else e=nc(t,l,n,2),e!==null&&Ae(e,t,2)}function Fu(t){var e=t.alternate;return t===ot||e!==null&&e===ot}function x0(t,e){Aa=Xu=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function T0(t,e,l){if((l&4194048)!==0){var n=e.lanes;n&=t.pendingLanes,l|=n,e.lanes=l,Od(t,l)}}var wi={readContext:ue,use:Qu,useCallback:Xt,useContext:Xt,useEffect:Xt,useImperativeHandle:Xt,useLayoutEffect:Xt,useInsertionEffect:Xt,useMemo:Xt,useReducer:Xt,useRef:Xt,useState:Xt,useDebugValue:Xt,useDeferredValue:Xt,useTransition:Xt,useSyncExternalStore:Xt,useId:Xt,useHostTransitionStatus:Xt,useFormState:Xt,useActionState:Xt,useOptimistic:Xt,useMemoCache:Xt,useCacheRefresh:Xt};wi.useEffectEvent=Xt;var z0={readContext:ue,use:Qu,useCallback:function(t,e){return me().memoizedState=[t,e===void 0?null:e],t},useContext:ue,useEffect:r0,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,Ku(4194308,4,o0.bind(null,e,t),l)},useLayoutEffect:function(t,e){return Ku(4194308,4,t,e)},useInsertionEffect:function(t,e){Ku(4,2,t,e)},useMemo:function(t,e){var l=me();e=e===void 0?null:e;var n=t();if(Gn){Ql(!0);try{t()}finally{Ql(!1)}}return l.memoizedState=[n,e],n},useReducer:function(t,e,l){var n=me();if(l!==void 0){var u=l(e);if(Gn){Ql(!0);try{l(e)}finally{Ql(!1)}}}else u=e;return n.memoizedState=n.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},n.queue=t,t=t.dispatch=H_.bind(null,ot,t),[n.memoizedState,t]},useRef:function(t){var e=me();return t={current:t},e.memoizedState=t},useState:function(t){t=Uc(t);var e=t.queue,l=S0.bind(null,ot,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:Bc,useDeferredValue:function(t,e){var l=me();return Hc(l,t,e)},useTransition:function(){var t=Uc(!1);return t=p0.bind(null,ot,t.queue,!0,!1),me().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var n=ot,u=me();if(bt){if(l===void 0)throw Error(i(407));l=l()}else{if(l=e(),Ut===null)throw Error(i(349));(gt&127)!==0||Qh(n,e,l)}u.memoizedState=l;var f={value:l,getSnapshot:e};return u.queue=f,r0(Kh.bind(null,n,f,t),[t]),n.flags|=2048,Oa(9,{destroy:void 0},Zh.bind(null,n,f,l,e),null),l},useId:function(){var t=me(),e=Ut.identifierPrefix;if(bt){var l=ol,n=sl;l=(n&~(1<<32-Be(n)-1)).toString(32)+l,e="_"+e+"R_"+l,l=ku++,0<l&&(e+="H"+l.toString(32)),e+="_"}else l=D_++,e="_"+e+"r_"+l.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:qc,useFormState:l0,useActionState:l0,useOptimistic:function(t){var e=me();e.memoizedState=e.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=l,e=Yc.bind(null,ot,!0,l),l.dispatch=e,[t,e]},useMemoCache:Dc,useCacheRefresh:function(){return me().memoizedState=B_.bind(null,ot)},useEffectEvent:function(t){var e=me(),l={impl:t};return e.memoizedState=l,function(){if((zt&2)!==0)throw Error(i(440));return l.impl.apply(void 0,arguments)}}},Gc={readContext:ue,use:Qu,useCallback:h0,useContext:ue,useEffect:jc,useImperativeHandle:d0,useInsertionEffect:c0,useLayoutEffect:s0,useMemo:m0,useReducer:Zu,useRef:u0,useState:function(){return Zu(Al)},useDebugValue:Bc,useDeferredValue:function(t,e){var l=Kt();return y0(l,Ot.memoizedState,t,e)},useTransition:function(){var t=Zu(Al)[0],e=Kt().memoizedState;return[typeof t=="boolean"?t:Ci(t),e]},useSyncExternalStore:Vh,useId:v0,useHostTransitionStatus:qc,useFormState:n0,useActionState:n0,useOptimistic:function(t,e){var l=Kt();return Wh(l,Ot,t,e)},useMemoCache:Dc,useCacheRefresh:b0};Gc.useEffectEvent=f0;var E0={readContext:ue,use:Qu,useCallback:h0,useContext:ue,useEffect:jc,useImperativeHandle:d0,useInsertionEffect:c0,useLayoutEffect:s0,useMemo:m0,useReducer:Rc,useRef:u0,useState:function(){return Rc(Al)},useDebugValue:Bc,useDeferredValue:function(t,e){var l=Kt();return Ot===null?Hc(l,t,e):y0(l,Ot.memoizedState,t,e)},useTransition:function(){var t=Rc(Al)[0],e=Kt().memoizedState;return[typeof t=="boolean"?t:Ci(t),e]},useSyncExternalStore:Vh,useId:v0,useHostTransitionStatus:qc,useFormState:i0,useActionState:i0,useOptimistic:function(t,e){var l=Kt();return Ot!==null?Wh(l,Ot,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:Dc,useCacheRefresh:b0};E0.useEffectEvent=f0;function Xc(t,e,l,n){e=t.memoizedState,l=l(n,e),l=l==null?e:b({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var kc={enqueueSetState:function(t,e,l){t=t._reactInternals;var n=ke(),u=Pl(n);u.payload=e,l!=null&&(u.callback=l),e=tn(t,u,n),e!==null&&(Ae(e,t,n),Ei(e,t,n))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var n=ke(),u=Pl(n);u.tag=1,u.payload=e,l!=null&&(u.callback=l),e=tn(t,u,n),e!==null&&(Ae(e,t,n),Ei(e,t,n))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=ke(),n=Pl(l);n.tag=2,e!=null&&(n.callback=e),e=tn(t,n,l),e!==null&&(Ae(e,t,l),Ei(e,t,l))}};function A0(t,e,l,n,u,f,d){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(n,f,d):e.prototype&&e.prototype.isPureReactComponent?!gi(l,n)||!gi(u,f):!0}function M0(t,e,l,n){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(l,n),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(l,n),e.state!==t&&kc.enqueueReplaceState(e,e.state,null)}function Xn(t,e){var l=e;if("ref"in e){l={};for(var n in e)n!=="ref"&&(l[n]=e[n])}if(t=t.defaultProps){l===e&&(l=b({},l));for(var u in t)l[u]===void 0&&(l[u]=t[u])}return l}function O0(t){Mu(t)}function C0(t){console.error(t)}function D0(t){Mu(t)}function Wu(t,e){try{var l=t.onUncaughtError;l(e.value,{componentStack:e.stack})}catch(n){setTimeout(function(){throw n})}}function w0(t,e,l){try{var n=t.onCaughtError;n(l.value,{componentStack:l.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function Vc(t,e,l){return l=Pl(l),l.tag=3,l.payload={element:null},l.callback=function(){Wu(t,e)},l}function R0(t){return t=Pl(t),t.tag=3,t}function U0(t,e,l,n){var u=l.type.getDerivedStateFromError;if(typeof u=="function"){var f=n.value;t.payload=function(){return u(f)},t.callback=function(){w0(e,l,n)}}var d=l.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(t.callback=function(){w0(e,l,n),typeof u!="function"&&(rn===null?rn=new Set([this]):rn.add(this));var _=n.stack;this.componentDidCatch(n.value,{componentStack:_!==null?_:""})})}function L_(t,e,l,n,u){if(l.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(e=l.alternate,e!==null&&ba(e,l,u,!0),l=qe.current,l!==null){switch(l.tag){case 31:case 13:return tl===null?fr():l.alternate===null&&kt===0&&(kt=3),l.flags&=-257,l.flags|=65536,l.lanes=u,n===Hu?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([n]):e.add(n),ys(t,n,u)),!1;case 22:return l.flags|=65536,n===Hu?l.flags|=16384:(e=l.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([n])},l.updateQueue=e):(l=e.retryQueue,l===null?e.retryQueue=new Set([n]):l.add(n)),ys(t,n,u)),!1}throw Error(i(435,l.tag))}return ys(t,n,u),fr(),!1}if(bt)return e=qe.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=u,n!==cc&&(t=Error(i(422),{cause:n}),bi(We(t,l)))):(n!==cc&&(e=Error(i(423),{cause:n}),bi(We(e,l))),t=t.current.alternate,t.flags|=65536,u&=-u,t.lanes|=u,n=We(n,l),u=Vc(t.stateNode,n,u),bc(t,u),kt!==4&&(kt=2)),!1;var f=Error(i(520),{cause:n});if(f=We(f,l),qi===null?qi=[f]:qi.push(f),kt!==4&&(kt=2),e===null)return!0;n=We(n,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=u&-u,l.lanes|=t,t=Vc(l.stateNode,n,t),bc(l,t),!1;case 1:if(e=l.type,f=l.stateNode,(l.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(rn===null||!rn.has(f))))return l.flags|=65536,u&=-u,l.lanes|=u,u=R0(u),U0(u,t,l,n),bc(l,u),!1}l=l.return}while(l!==null);return!1}var Qc=Error(i(461)),$t=!1;function re(t,e,l,n){e.child=t===null?Hh(e,null,l,n):Yn(e,t.child,l,n)}function N0(t,e,l,n,u){l=l.render;var f=e.ref;if("ref"in n){var d={};for(var _ in n)_!=="ref"&&(d[_]=n[_])}else d=n;return Bn(e),n=Ac(t,e,l,d,f,u),_=Mc(),t!==null&&!$t?(Oc(t,e,u),Ml(t,e,u)):(bt&&_&&rc(e),e.flags|=1,re(t,e,n,u),e.child)}function j0(t,e,l,n,u){if(t===null){var f=l.type;return typeof f=="function"&&!ac(f)&&f.defaultProps===void 0&&l.compare===null?(e.tag=15,e.type=f,B0(t,e,f,n,u)):(t=wu(l.type,null,n,e,e.mode,u),t.ref=e.ref,t.return=e,e.child=t)}if(f=t.child,!Pc(t,u)){var d=f.memoizedProps;if(l=l.compare,l=l!==null?l:gi,l(d,n)&&t.ref===e.ref)return Ml(t,e,u)}return e.flags|=1,t=Sl(f,n),t.ref=e.ref,t.return=e,e.child=t}function B0(t,e,l,n,u){if(t!==null){var f=t.memoizedProps;if(gi(f,n)&&t.ref===e.ref)if($t=!1,e.pendingProps=n=f,Pc(t,u))(t.flags&131072)!==0&&($t=!0);else return e.lanes=t.lanes,Ml(t,e,u)}return Zc(t,e,l,n,u)}function H0(t,e,l,n){var u=n.children,f=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if((e.flags&128)!==0){if(f=f!==null?f.baseLanes|l:l,t!==null){for(n=e.child=t.child,u=0;n!==null;)u=u|n.lanes|n.childLanes,n=n.sibling;n=u&~f}else n=0,e.child=null;return L0(t,e,f,l,n)}if((l&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&ju(e,f!==null?f.cachePool:null),f!==null?Yh(e,f):xc(),Gh(e);else return n=e.lanes=536870912,L0(t,e,f!==null?f.baseLanes|l:l,l,n)}else f!==null?(ju(e,f.cachePool),Yh(e,f),ln(),e.memoizedState=null):(t!==null&&ju(e,null),xc(),ln());return re(t,e,u,l),e.child}function Ri(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function L0(t,e,l,n,u){var f=pc();return f=f===null?null:{parent:Ft._currentValue,pool:f},e.memoizedState={baseLanes:l,cachePool:f},t!==null&&ju(e,null),xc(),Gh(e),t!==null&&ba(t,e,n,!0),e.childLanes=u,null}function $u(t,e){return e=Pu({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function q0(t,e,l){return Yn(e,t.child,null,l),t=$u(e,e.pendingProps),t.flags|=2,Ye(e),e.memoizedState=null,t}function q_(t,e,l){var n=e.pendingProps,u=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(bt){if(n.mode==="hidden")return t=$u(e,n),e.lanes=536870912,Ri(null,t);if(zc(e),(t=Nt)?(t=$m(t,Pe),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Jl!==null?{id:sl,overflow:ol}:null,retryLane:536870912,hydrationErrors:null},l=xh(t),l.return=e,e.child=l,ie=e,Nt=null)):t=null,t===null)throw Wl(e);return e.lanes=536870912,null}return $u(e,n)}var f=t.memoizedState;if(f!==null){var d=f.dehydrated;if(zc(e),u)if(e.flags&256)e.flags&=-257,e=q0(t,e,l);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(i(558));else if($t||ba(t,e,l,!1),u=(l&t.childLanes)!==0,$t||u){if(n=Ut,n!==null&&(d=Cd(n,l),d!==0&&d!==f.retryLane))throw f.retryLane=d,Rn(t,d),Ae(n,t,d),Qc;fr(),e=q0(t,e,l)}else t=f.treeContext,Nt=el(d.nextSibling),ie=e,bt=!0,Fl=null,Pe=!1,t!==null&&Eh(e,t),e=$u(e,n),e.flags|=4096;return e}return t=Sl(t.child,{mode:n.mode,children:n.children}),t.ref=e.ref,e.child=t,t.return=e,t}function Iu(t,e){var l=e.ref;if(l===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(i(284));(t===null||t.ref!==l)&&(e.flags|=4194816)}}function Zc(t,e,l,n,u){return Bn(e),l=Ac(t,e,l,n,void 0,u),n=Mc(),t!==null&&!$t?(Oc(t,e,u),Ml(t,e,u)):(bt&&n&&rc(e),e.flags|=1,re(t,e,l,u),e.child)}function Y0(t,e,l,n,u,f){return Bn(e),e.updateQueue=null,l=kh(e,n,l,u),Xh(t),n=Mc(),t!==null&&!$t?(Oc(t,e,f),Ml(t,e,f)):(bt&&n&&rc(e),e.flags|=1,re(t,e,l,f),e.child)}function G0(t,e,l,n,u){if(Bn(e),e.stateNode===null){var f=pa,d=l.contextType;typeof d=="object"&&d!==null&&(f=ue(d)),f=new l(n,f),e.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=kc,e.stateNode=f,f._reactInternals=e,f=e.stateNode,f.props=n,f.state=e.memoizedState,f.refs={},_c(e),d=l.contextType,f.context=typeof d=="object"&&d!==null?ue(d):pa,f.state=e.memoizedState,d=l.getDerivedStateFromProps,typeof d=="function"&&(Xc(e,l,d,n),f.state=e.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(d=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),d!==f.state&&kc.enqueueReplaceState(f,f.state,null),Mi(e,n,f,u),Ai(),f.state=e.memoizedState),typeof f.componentDidMount=="function"&&(e.flags|=4194308),n=!0}else if(t===null){f=e.stateNode;var _=e.memoizedProps,x=Xn(l,_);f.props=x;var w=f.context,G=l.contextType;d=pa,typeof G=="object"&&G!==null&&(d=ue(G));var Q=l.getDerivedStateFromProps;G=typeof Q=="function"||typeof f.getSnapshotBeforeUpdate=="function",_=e.pendingProps!==_,G||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(_||w!==d)&&M0(e,f,n,d),Il=!1;var R=e.memoizedState;f.state=R,Mi(e,n,f,u),Ai(),w=e.memoizedState,_||R!==w||Il?(typeof Q=="function"&&(Xc(e,l,Q,n),w=e.memoizedState),(x=Il||A0(e,l,x,n,R,w,d))?(G||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(e.flags|=4194308)):(typeof f.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=n,e.memoizedState=w),f.props=n,f.state=w,f.context=d,n=x):(typeof f.componentDidMount=="function"&&(e.flags|=4194308),n=!1)}else{f=e.stateNode,vc(t,e),d=e.memoizedProps,G=Xn(l,d),f.props=G,Q=e.pendingProps,R=f.context,w=l.contextType,x=pa,typeof w=="object"&&w!==null&&(x=ue(w)),_=l.getDerivedStateFromProps,(w=typeof _=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(d!==Q||R!==x)&&M0(e,f,n,x),Il=!1,R=e.memoizedState,f.state=R,Mi(e,n,f,u),Ai();var B=e.memoizedState;d!==Q||R!==B||Il||t!==null&&t.dependencies!==null&&Uu(t.dependencies)?(typeof _=="function"&&(Xc(e,l,_,n),B=e.memoizedState),(G=Il||A0(e,l,G,n,R,B,x)||t!==null&&t.dependencies!==null&&Uu(t.dependencies))?(w||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(n,B,x),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(n,B,x)),typeof f.componentDidUpdate=="function"&&(e.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof f.componentDidUpdate!="function"||d===t.memoizedProps&&R===t.memoizedState||(e.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||d===t.memoizedProps&&R===t.memoizedState||(e.flags|=1024),e.memoizedProps=n,e.memoizedState=B),f.props=n,f.state=B,f.context=x,n=G):(typeof f.componentDidUpdate!="function"||d===t.memoizedProps&&R===t.memoizedState||(e.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||d===t.memoizedProps&&R===t.memoizedState||(e.flags|=1024),n=!1)}return f=n,Iu(t,e),n=(e.flags&128)!==0,f||n?(f=e.stateNode,l=n&&typeof l.getDerivedStateFromError!="function"?null:f.render(),e.flags|=1,t!==null&&n?(e.child=Yn(e,t.child,null,u),e.child=Yn(e,null,l,u)):re(t,e,l,u),e.memoizedState=f.state,t=e.child):t=Ml(t,e,u),t}function X0(t,e,l,n){return Nn(),e.flags|=256,re(t,e,l,n),e.child}var Kc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Jc(t){return{baseLanes:t,cachePool:wh()}}function Fc(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=Xe),t}function k0(t,e,l){var n=e.pendingProps,u=!1,f=(e.flags&128)!==0,d;if((d=f)||(d=t!==null&&t.memoizedState===null?!1:(Zt.current&2)!==0),d&&(u=!0,e.flags&=-129),d=(e.flags&32)!==0,e.flags&=-33,t===null){if(bt){if(u?en(e):ln(),(t=Nt)?(t=$m(t,Pe),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Jl!==null?{id:sl,overflow:ol}:null,retryLane:536870912,hydrationErrors:null},l=xh(t),l.return=e,e.child=l,ie=e,Nt=null)):t=null,t===null)throw Wl(e);return ws(t)?e.lanes=32:e.lanes=536870912,null}var _=n.children;return n=n.fallback,u?(ln(),u=e.mode,_=Pu({mode:"hidden",children:_},u),n=Un(n,u,l,null),_.return=e,n.return=e,_.sibling=n,e.child=_,n=e.child,n.memoizedState=Jc(l),n.childLanes=Fc(t,d,l),e.memoizedState=Kc,Ri(null,n)):(en(e),Wc(e,_))}var x=t.memoizedState;if(x!==null&&(_=x.dehydrated,_!==null)){if(f)e.flags&256?(en(e),e.flags&=-257,e=$c(t,e,l)):e.memoizedState!==null?(ln(),e.child=t.child,e.flags|=128,e=null):(ln(),_=n.fallback,u=e.mode,n=Pu({mode:"visible",children:n.children},u),_=Un(_,u,l,null),_.flags|=2,n.return=e,_.return=e,n.sibling=_,e.child=n,Yn(e,t.child,null,l),n=e.child,n.memoizedState=Jc(l),n.childLanes=Fc(t,d,l),e.memoizedState=Kc,e=Ri(null,n));else if(en(e),ws(_)){if(d=_.nextSibling&&_.nextSibling.dataset,d)var w=d.dgst;d=w,n=Error(i(419)),n.stack="",n.digest=d,bi({value:n,source:null,stack:null}),e=$c(t,e,l)}else if($t||ba(t,e,l,!1),d=(l&t.childLanes)!==0,$t||d){if(d=Ut,d!==null&&(n=Cd(d,l),n!==0&&n!==x.retryLane))throw x.retryLane=n,Rn(t,n),Ae(d,t,n),Qc;Ds(_)||fr(),e=$c(t,e,l)}else Ds(_)?(e.flags|=192,e.child=t.child,e=null):(t=x.treeContext,Nt=el(_.nextSibling),ie=e,bt=!0,Fl=null,Pe=!1,t!==null&&Eh(e,t),e=Wc(e,n.children),e.flags|=4096);return e}return u?(ln(),_=n.fallback,u=e.mode,x=t.child,w=x.sibling,n=Sl(x,{mode:"hidden",children:n.children}),n.subtreeFlags=x.subtreeFlags&65011712,w!==null?_=Sl(w,_):(_=Un(_,u,l,null),_.flags|=2),_.return=e,n.return=e,n.sibling=_,e.child=n,Ri(null,n),n=e.child,_=t.child.memoizedState,_===null?_=Jc(l):(u=_.cachePool,u!==null?(x=Ft._currentValue,u=u.parent!==x?{parent:x,pool:x}:u):u=wh(),_={baseLanes:_.baseLanes|l,cachePool:u}),n.memoizedState=_,n.childLanes=Fc(t,d,l),e.memoizedState=Kc,Ri(t.child,n)):(en(e),l=t.child,t=l.sibling,l=Sl(l,{mode:"visible",children:n.children}),l.return=e,l.sibling=null,t!==null&&(d=e.deletions,d===null?(e.deletions=[t],e.flags|=16):d.push(t)),e.child=l,e.memoizedState=null,l)}function Wc(t,e){return e=Pu({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Pu(t,e){return t=Le(22,t,null,e),t.lanes=0,t}function $c(t,e,l){return Yn(e,t.child,null,l),t=Wc(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function V0(t,e,l){t.lanes|=e;var n=t.alternate;n!==null&&(n.lanes|=e),dc(t.return,e,l)}function Ic(t,e,l,n,u,f){var d=t.memoizedState;d===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:n,tail:l,tailMode:u,treeForkCount:f}:(d.isBackwards=e,d.rendering=null,d.renderingStartTime=0,d.last=n,d.tail=l,d.tailMode=u,d.treeForkCount=f)}function Q0(t,e,l){var n=e.pendingProps,u=n.revealOrder,f=n.tail;n=n.children;var d=Zt.current,_=(d&2)!==0;if(_?(d=d&1|2,e.flags|=128):d&=1,I(Zt,d),re(t,e,n,l),n=bt?vi:0,!_&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&V0(t,l,e);else if(t.tag===19)V0(t,l,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(u){case"forwards":for(l=e.child,u=null;l!==null;)t=l.alternate,t!==null&&Gu(t)===null&&(u=l),l=l.sibling;l=u,l===null?(u=e.child,e.child=null):(u=l.sibling,l.sibling=null),Ic(e,!1,u,l,f,n);break;case"backwards":case"unstable_legacy-backwards":for(l=null,u=e.child,e.child=null;u!==null;){if(t=u.alternate,t!==null&&Gu(t)===null){e.child=u;break}t=u.sibling,u.sibling=l,l=u,u=t}Ic(e,!0,l,null,f,n);break;case"together":Ic(e,!1,null,null,void 0,n);break;default:e.memoizedState=null}return e.child}function Ml(t,e,l){if(t!==null&&(e.dependencies=t.dependencies),un|=e.lanes,(l&e.childLanes)===0)if(t!==null){if(ba(t,e,l,!1),(l&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(i(153));if(e.child!==null){for(t=e.child,l=Sl(t,t.pendingProps),e.child=l,l.return=e;t.sibling!==null;)t=t.sibling,l=l.sibling=Sl(t,t.pendingProps),l.return=e;l.sibling=null}return e.child}function Pc(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Uu(t)))}function Y_(t,e,l){switch(e.tag){case 3:he(e,e.stateNode.containerInfo),$l(e,Ft,t.memoizedState.cache),Nn();break;case 27:case 5:ai(e);break;case 4:he(e,e.stateNode.containerInfo);break;case 10:$l(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,zc(e),null;break;case 13:var n=e.memoizedState;if(n!==null)return n.dehydrated!==null?(en(e),e.flags|=128,null):(l&e.child.childLanes)!==0?k0(t,e,l):(en(e),t=Ml(t,e,l),t!==null?t.sibling:null);en(e);break;case 19:var u=(t.flags&128)!==0;if(n=(l&e.childLanes)!==0,n||(ba(t,e,l,!1),n=(l&e.childLanes)!==0),u){if(n)return Q0(t,e,l);e.flags|=128}if(u=e.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),I(Zt,Zt.current),n)break;return null;case 22:return e.lanes=0,H0(t,e,l,e.pendingProps);case 24:$l(e,Ft,t.memoizedState.cache)}return Ml(t,e,l)}function Z0(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)$t=!0;else{if(!Pc(t,l)&&(e.flags&128)===0)return $t=!1,Y_(t,e,l);$t=(t.flags&131072)!==0}else $t=!1,bt&&(e.flags&1048576)!==0&&zh(e,vi,e.index);switch(e.lanes=0,e.tag){case 16:t:{var n=e.pendingProps;if(t=Ln(e.elementType),e.type=t,typeof t=="function")ac(t)?(n=Xn(t,n),e.tag=1,e=G0(null,e,t,n,l)):(e.tag=0,e=Zc(null,e,t,n,l));else{if(t!=null){var u=t.$$typeof;if(u===Z){e.tag=11,e=N0(null,e,t,n,l);break t}else if(u===V){e.tag=14,e=j0(null,e,t,n,l);break t}}throw e=St(t)||t,Error(i(306,e,""))}}return e;case 0:return Zc(t,e,e.type,e.pendingProps,l);case 1:return n=e.type,u=Xn(n,e.pendingProps),G0(t,e,n,u,l);case 3:t:{if(he(e,e.stateNode.containerInfo),t===null)throw Error(i(387));n=e.pendingProps;var f=e.memoizedState;u=f.element,vc(t,e),Mi(e,n,null,l);var d=e.memoizedState;if(n=d.cache,$l(e,Ft,n),n!==f.cache&&hc(e,[Ft],l,!0),Ai(),n=d.element,f.isDehydrated)if(f={element:n,isDehydrated:!1,cache:d.cache},e.updateQueue.baseState=f,e.memoizedState=f,e.flags&256){e=X0(t,e,n,l);break t}else if(n!==u){u=We(Error(i(424)),e),bi(u),e=X0(t,e,n,l);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Nt=el(t.firstChild),ie=e,bt=!0,Fl=null,Pe=!0,l=Hh(e,null,n,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Nn(),n===u){e=Ml(t,e,l);break t}re(t,e,n,l)}e=e.child}return e;case 26:return Iu(t,e),t===null?(l=ny(e.type,null,e.pendingProps,null))?e.memoizedState=l:bt||(l=e.type,t=e.pendingProps,n=yr(mt.current).createElement(l),n[ae]=e,n[be]=t,fe(n,l,t),ee(n),e.stateNode=n):e.memoizedState=ny(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return ai(e),t===null&&bt&&(n=e.stateNode=ty(e.type,e.pendingProps,mt.current),ie=e,Pe=!0,u=Nt,on(e.type)?(Rs=u,Nt=el(n.firstChild)):Nt=u),re(t,e,e.pendingProps.children,l),Iu(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&bt&&((u=n=Nt)&&(n=pv(n,e.type,e.pendingProps,Pe),n!==null?(e.stateNode=n,ie=e,Nt=el(n.firstChild),Pe=!1,u=!0):u=!1),u||Wl(e)),ai(e),u=e.type,f=e.pendingProps,d=t!==null?t.memoizedProps:null,n=f.children,Ms(u,f)?n=null:d!==null&&Ms(u,d)&&(e.flags|=32),e.memoizedState!==null&&(u=Ac(t,e,w_,null,null,l),Ki._currentValue=u),Iu(t,e),re(t,e,n,l),e.child;case 6:return t===null&&bt&&((t=l=Nt)&&(l=gv(l,e.pendingProps,Pe),l!==null?(e.stateNode=l,ie=e,Nt=null,t=!0):t=!1),t||Wl(e)),null;case 13:return k0(t,e,l);case 4:return he(e,e.stateNode.containerInfo),n=e.pendingProps,t===null?e.child=Yn(e,null,n,l):re(t,e,n,l),e.child;case 11:return N0(t,e,e.type,e.pendingProps,l);case 7:return re(t,e,e.pendingProps,l),e.child;case 8:return re(t,e,e.pendingProps.children,l),e.child;case 12:return re(t,e,e.pendingProps.children,l),e.child;case 10:return n=e.pendingProps,$l(e,e.type,n.value),re(t,e,n.children,l),e.child;case 9:return u=e.type._context,n=e.pendingProps.children,Bn(e),u=ue(u),n=n(u),e.flags|=1,re(t,e,n,l),e.child;case 14:return j0(t,e,e.type,e.pendingProps,l);case 15:return B0(t,e,e.type,e.pendingProps,l);case 19:return Q0(t,e,l);case 31:return q_(t,e,l);case 22:return H0(t,e,l,e.pendingProps);case 24:return Bn(e),n=ue(Ft),t===null?(u=pc(),u===null&&(u=Ut,f=mc(),u.pooledCache=f,f.refCount++,f!==null&&(u.pooledCacheLanes|=l),u=f),e.memoizedState={parent:n,cache:u},_c(e),$l(e,Ft,u)):((t.lanes&l)!==0&&(vc(t,e),Mi(e,null,null,l),Ai()),u=t.memoizedState,f=e.memoizedState,u.parent!==n?(u={parent:n,cache:n},e.memoizedState=u,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=u),$l(e,Ft,n)):(n=f.cache,$l(e,Ft,n),n!==u.cache&&hc(e,[Ft],l,!0))),re(t,e,e.pendingProps.children,l),e.child;case 29:throw e.pendingProps}throw Error(i(156,e.tag))}function Ol(t){t.flags|=4}function ts(t,e,l,n,u){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(u&335544128)===u)if(t.stateNode.complete)t.flags|=8192;else if(vm())t.flags|=8192;else throw qn=Hu,gc}else t.flags&=-16777217}function K0(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!fy(e))if(vm())t.flags|=8192;else throw qn=Hu,gc}function tr(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Ad():536870912,t.lanes|=e,Ra|=e)}function Ui(t,e){if(!bt)switch(t.tailMode){case"hidden":e=t.tail;for(var l=null;e!==null;)e.alternate!==null&&(l=e),e=e.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var n=null;l!==null;)l.alternate!==null&&(n=l),l=l.sibling;n===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:n.sibling=null}}function jt(t){var e=t.alternate!==null&&t.alternate.child===t.child,l=0,n=0;if(e)for(var u=t.child;u!==null;)l|=u.lanes|u.childLanes,n|=u.subtreeFlags&65011712,n|=u.flags&65011712,u.return=t,u=u.sibling;else for(u=t.child;u!==null;)l|=u.lanes|u.childLanes,n|=u.subtreeFlags,n|=u.flags,u.return=t,u=u.sibling;return t.subtreeFlags|=n,t.childLanes=l,e}function G_(t,e,l){var n=e.pendingProps;switch(fc(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return jt(e),null;case 1:return jt(e),null;case 3:return l=e.stateNode,n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),zl(Ft),Qt(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(va(e)?Ol(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,sc())),jt(e),null;case 26:var u=e.type,f=e.memoizedState;return t===null?(Ol(e),f!==null?(jt(e),K0(e,f)):(jt(e),ts(e,u,null,n,l))):f?f!==t.memoizedState?(Ol(e),jt(e),K0(e,f)):(jt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==n&&Ol(e),jt(e),ts(e,u,t,n,l)),null;case 27:if(ou(e),l=mt.current,u=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==n&&Ol(e);else{if(!n){if(e.stateNode===null)throw Error(i(166));return jt(e),null}t=tt.current,va(e)?Ah(e):(t=ty(u,n,l),e.stateNode=t,Ol(e))}return jt(e),null;case 5:if(ou(e),u=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==n&&Ol(e);else{if(!n){if(e.stateNode===null)throw Error(i(166));return jt(e),null}if(f=tt.current,va(e))Ah(e);else{var d=yr(mt.current);switch(f){case 1:f=d.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:f=d.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":f=d.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":f=d.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":f=d.createElement("div"),f.innerHTML="<script><\/script>",f=f.removeChild(f.firstChild);break;case"select":f=typeof n.is=="string"?d.createElement("select",{is:n.is}):d.createElement("select"),n.multiple?f.multiple=!0:n.size&&(f.size=n.size);break;default:f=typeof n.is=="string"?d.createElement(u,{is:n.is}):d.createElement(u)}}f[ae]=e,f[be]=n;t:for(d=e.child;d!==null;){if(d.tag===5||d.tag===6)f.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break t;for(;d.sibling===null;){if(d.return===null||d.return===e)break t;d=d.return}d.sibling.return=d.return,d=d.sibling}e.stateNode=f;t:switch(fe(f,u,n),u){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break t;case"img":n=!0;break t;default:n=!1}n&&Ol(e)}}return jt(e),ts(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,l),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==n&&Ol(e);else{if(typeof n!="string"&&e.stateNode===null)throw Error(i(166));if(t=mt.current,va(e)){if(t=e.stateNode,l=e.memoizedProps,n=null,u=ie,u!==null)switch(u.tag){case 27:case 5:n=u.memoizedProps}t[ae]=e,t=!!(t.nodeValue===l||n!==null&&n.suppressHydrationWarning===!0||km(t.nodeValue,l)),t||Wl(e,!0)}else t=yr(t).createTextNode(n),t[ae]=e,e.stateNode=t}return jt(e),null;case 31:if(l=e.memoizedState,t===null||t.memoizedState!==null){if(n=va(e),l!==null){if(t===null){if(!n)throw Error(i(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(557));t[ae]=e}else Nn(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;jt(e),t=!1}else l=sc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),t=!0;if(!t)return e.flags&256?(Ye(e),e):(Ye(e),null);if((e.flags&128)!==0)throw Error(i(558))}return jt(e),null;case 13:if(n=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(u=va(e),n!==null&&n.dehydrated!==null){if(t===null){if(!u)throw Error(i(318));if(u=e.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(i(317));u[ae]=e}else Nn(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;jt(e),u=!1}else u=sc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=u),u=!0;if(!u)return e.flags&256?(Ye(e),e):(Ye(e),null)}return Ye(e),(e.flags&128)!==0?(e.lanes=l,e):(l=n!==null,t=t!==null&&t.memoizedState!==null,l&&(n=e.child,u=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(u=n.alternate.memoizedState.cachePool.pool),f=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(f=n.memoizedState.cachePool.pool),f!==u&&(n.flags|=2048)),l!==t&&l&&(e.child.flags|=8192),tr(e,e.updateQueue),jt(e),null);case 4:return Qt(),t===null&&xs(e.stateNode.containerInfo),jt(e),null;case 10:return zl(e.type),jt(e),null;case 19:if(X(Zt),n=e.memoizedState,n===null)return jt(e),null;if(u=(e.flags&128)!==0,f=n.rendering,f===null)if(u)Ui(n,!1);else{if(kt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(f=Gu(t),f!==null){for(e.flags|=128,Ui(n,!1),t=f.updateQueue,e.updateQueue=t,tr(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)Sh(l,t),l=l.sibling;return I(Zt,Zt.current&1|2),bt&&xl(e,n.treeForkCount),e.child}t=t.sibling}n.tail!==null&&Ne()>ir&&(e.flags|=128,u=!0,Ui(n,!1),e.lanes=4194304)}else{if(!u)if(t=Gu(f),t!==null){if(e.flags|=128,u=!0,t=t.updateQueue,e.updateQueue=t,tr(e,t),Ui(n,!0),n.tail===null&&n.tailMode==="hidden"&&!f.alternate&&!bt)return jt(e),null}else 2*Ne()-n.renderingStartTime>ir&&l!==536870912&&(e.flags|=128,u=!0,Ui(n,!1),e.lanes=4194304);n.isBackwards?(f.sibling=e.child,e.child=f):(t=n.last,t!==null?t.sibling=f:e.child=f,n.last=f)}return n.tail!==null?(t=n.tail,n.rendering=t,n.tail=t.sibling,n.renderingStartTime=Ne(),t.sibling=null,l=Zt.current,I(Zt,u?l&1|2:l&1),bt&&xl(e,n.treeForkCount),t):(jt(e),null);case 22:case 23:return Ye(e),Tc(),n=e.memoizedState!==null,t!==null?t.memoizedState!==null!==n&&(e.flags|=8192):n&&(e.flags|=8192),n?(l&536870912)!==0&&(e.flags&128)===0&&(jt(e),e.subtreeFlags&6&&(e.flags|=8192)):jt(e),l=e.updateQueue,l!==null&&tr(e,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),n=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),n!==l&&(e.flags|=2048),t!==null&&X(Hn),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),zl(Ft),jt(e),null;case 25:return null;case 30:return null}throw Error(i(156,e.tag))}function X_(t,e){switch(fc(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return zl(Ft),Qt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return ou(e),null;case 31:if(e.memoizedState!==null){if(Ye(e),e.alternate===null)throw Error(i(340));Nn()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Ye(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(i(340));Nn()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return X(Zt),null;case 4:return Qt(),null;case 10:return zl(e.type),null;case 22:case 23:return Ye(e),Tc(),t!==null&&X(Hn),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return zl(Ft),null;case 25:return null;default:return null}}function J0(t,e){switch(fc(e),e.tag){case 3:zl(Ft),Qt();break;case 26:case 27:case 5:ou(e);break;case 4:Qt();break;case 31:e.memoizedState!==null&&Ye(e);break;case 13:Ye(e);break;case 19:X(Zt);break;case 10:zl(e.type);break;case 22:case 23:Ye(e),Tc(),t!==null&&X(Hn);break;case 24:zl(Ft)}}function Ni(t,e){try{var l=e.updateQueue,n=l!==null?l.lastEffect:null;if(n!==null){var u=n.next;l=u;do{if((l.tag&t)===t){n=void 0;var f=l.create,d=l.inst;n=f(),d.destroy=n}l=l.next}while(l!==u)}}catch(_){Mt(e,e.return,_)}}function nn(t,e,l){try{var n=e.updateQueue,u=n!==null?n.lastEffect:null;if(u!==null){var f=u.next;n=f;do{if((n.tag&t)===t){var d=n.inst,_=d.destroy;if(_!==void 0){d.destroy=void 0,u=e;var x=l,w=_;try{w()}catch(G){Mt(u,x,G)}}}n=n.next}while(n!==f)}}catch(G){Mt(e,e.return,G)}}function F0(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{qh(e,l)}catch(n){Mt(t,t.return,n)}}}function W0(t,e,l){l.props=Xn(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(n){Mt(t,e,n)}}function ji(t,e){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var n=t.stateNode;break;case 30:n=t.stateNode;break;default:n=t.stateNode}typeof l=="function"?t.refCleanup=l(n):l.current=n}}catch(u){Mt(t,e,u)}}function dl(t,e){var l=t.ref,n=t.refCleanup;if(l!==null)if(typeof n=="function")try{n()}catch(u){Mt(t,e,u)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(u){Mt(t,e,u)}else l.current=null}function $0(t){var e=t.type,l=t.memoizedProps,n=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break t;case"img":l.src?n.src=l.src:l.srcSet&&(n.srcset=l.srcSet)}}catch(u){Mt(t,t.return,u)}}function es(t,e,l){try{var n=t.stateNode;sv(n,t.type,l,e),n[be]=e}catch(u){Mt(t,t.return,u)}}function I0(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&on(t.type)||t.tag===4}function ls(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||I0(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&on(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function ns(t,e,l){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,e):(e=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.appendChild(t),l=l._reactRootContainer,l!=null||e.onclick!==null||(e.onclick=vl));else if(n!==4&&(n===27&&on(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(ns(t,e,l),t=t.sibling;t!==null;)ns(t,e,l),t=t.sibling}function er(t,e,l){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?l.insertBefore(t,e):l.appendChild(t);else if(n!==4&&(n===27&&on(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(er(t,e,l),t=t.sibling;t!==null;)er(t,e,l),t=t.sibling}function P0(t){var e=t.stateNode,l=t.memoizedProps;try{for(var n=t.type,u=e.attributes;u.length;)e.removeAttributeNode(u[0]);fe(e,n,l),e[ae]=t,e[be]=l}catch(f){Mt(t,t.return,f)}}var Cl=!1,It=!1,as=!1,tm=typeof WeakSet=="function"?WeakSet:Set,le=null;function k_(t,e){if(t=t.containerInfo,Es=xr,t=dh(t),$f(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else t:{l=(l=t.ownerDocument)&&l.defaultView||window;var n=l.getSelection&&l.getSelection();if(n&&n.rangeCount!==0){l=n.anchorNode;var u=n.anchorOffset,f=n.focusNode;n=n.focusOffset;try{l.nodeType,f.nodeType}catch{l=null;break t}var d=0,_=-1,x=-1,w=0,G=0,Q=t,R=null;e:for(;;){for(var B;Q!==l||u!==0&&Q.nodeType!==3||(_=d+u),Q!==f||n!==0&&Q.nodeType!==3||(x=d+n),Q.nodeType===3&&(d+=Q.nodeValue.length),(B=Q.firstChild)!==null;)R=Q,Q=B;for(;;){if(Q===t)break e;if(R===l&&++w===u&&(_=d),R===f&&++G===n&&(x=d),(B=Q.nextSibling)!==null)break;Q=R,R=Q.parentNode}Q=B}l=_===-1||x===-1?null:{start:_,end:x}}else l=null}l=l||{start:0,end:0}}else l=null;for(As={focusedElem:t,selectionRange:l},xr=!1,le=e;le!==null;)if(e=le,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,le=t;else for(;le!==null;){switch(e=le,f=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(l=0;l<t.length;l++)u=t[l],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&f!==null){t=void 0,l=e,u=f.memoizedProps,f=f.memoizedState,n=l.stateNode;try{var lt=Xn(l.type,u);t=n.getSnapshotBeforeUpdate(lt,f),n.__reactInternalSnapshotBeforeUpdate=t}catch(it){Mt(l,l.return,it)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,l=t.nodeType,l===9)Cs(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Cs(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(i(163))}if(t=e.sibling,t!==null){t.return=e.return,le=t;break}le=e.return}}function em(t,e,l){var n=l.flags;switch(l.tag){case 0:case 11:case 15:wl(t,l),n&4&&Ni(5,l);break;case 1:if(wl(t,l),n&4)if(t=l.stateNode,e===null)try{t.componentDidMount()}catch(d){Mt(l,l.return,d)}else{var u=Xn(l.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(u,e,t.__reactInternalSnapshotBeforeUpdate)}catch(d){Mt(l,l.return,d)}}n&64&&F0(l),n&512&&ji(l,l.return);break;case 3:if(wl(t,l),n&64&&(t=l.updateQueue,t!==null)){if(e=null,l.child!==null)switch(l.child.tag){case 27:case 5:e=l.child.stateNode;break;case 1:e=l.child.stateNode}try{qh(t,e)}catch(d){Mt(l,l.return,d)}}break;case 27:e===null&&n&4&&P0(l);case 26:case 5:wl(t,l),e===null&&n&4&&$0(l),n&512&&ji(l,l.return);break;case 12:wl(t,l);break;case 31:wl(t,l),n&4&&am(t,l);break;case 13:wl(t,l),n&4&&im(t,l),n&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=I_.bind(null,l),_v(t,l))));break;case 22:if(n=l.memoizedState!==null||Cl,!n){e=e!==null&&e.memoizedState!==null||It,u=Cl;var f=It;Cl=n,(It=e)&&!f?Rl(t,l,(l.subtreeFlags&8772)!==0):wl(t,l),Cl=u,It=f}break;case 30:break;default:wl(t,l)}}function lm(t){var e=t.alternate;e!==null&&(t.alternate=null,lm(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Nf(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Ht=null,xe=!1;function Dl(t,e,l){for(l=l.child;l!==null;)nm(t,e,l),l=l.sibling}function nm(t,e,l){if(je&&typeof je.onCommitFiberUnmount=="function")try{je.onCommitFiberUnmount(ii,l)}catch{}switch(l.tag){case 26:It||dl(l,e),Dl(t,e,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:It||dl(l,e);var n=Ht,u=xe;on(l.type)&&(Ht=l.stateNode,xe=!1),Dl(t,e,l),Vi(l.stateNode),Ht=n,xe=u;break;case 5:It||dl(l,e);case 6:if(n=Ht,u=xe,Ht=null,Dl(t,e,l),Ht=n,xe=u,Ht!==null)if(xe)try{(Ht.nodeType===9?Ht.body:Ht.nodeName==="HTML"?Ht.ownerDocument.body:Ht).removeChild(l.stateNode)}catch(f){Mt(l,e,f)}else try{Ht.removeChild(l.stateNode)}catch(f){Mt(l,e,f)}break;case 18:Ht!==null&&(xe?(t=Ht,Fm(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),Ya(t)):Fm(Ht,l.stateNode));break;case 4:n=Ht,u=xe,Ht=l.stateNode.containerInfo,xe=!0,Dl(t,e,l),Ht=n,xe=u;break;case 0:case 11:case 14:case 15:nn(2,l,e),It||nn(4,l,e),Dl(t,e,l);break;case 1:It||(dl(l,e),n=l.stateNode,typeof n.componentWillUnmount=="function"&&W0(l,e,n)),Dl(t,e,l);break;case 21:Dl(t,e,l);break;case 22:It=(n=It)||l.memoizedState!==null,Dl(t,e,l),It=n;break;default:Dl(t,e,l)}}function am(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Ya(t)}catch(l){Mt(e,e.return,l)}}}function im(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Ya(t)}catch(l){Mt(e,e.return,l)}}function V_(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new tm),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new tm),e;default:throw Error(i(435,t.tag))}}function lr(t,e){var l=V_(t);e.forEach(function(n){if(!l.has(n)){l.add(n);var u=P_.bind(null,t,n);n.then(u,u)}})}function Te(t,e){var l=e.deletions;if(l!==null)for(var n=0;n<l.length;n++){var u=l[n],f=t,d=e,_=d;t:for(;_!==null;){switch(_.tag){case 27:if(on(_.type)){Ht=_.stateNode,xe=!1;break t}break;case 5:Ht=_.stateNode,xe=!1;break t;case 3:case 4:Ht=_.stateNode.containerInfo,xe=!0;break t}_=_.return}if(Ht===null)throw Error(i(160));nm(f,d,u),Ht=null,xe=!1,f=u.alternate,f!==null&&(f.return=null),u.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)um(e,t),e=e.sibling}var al=null;function um(t,e){var l=t.alternate,n=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Te(e,t),ze(t),n&4&&(nn(3,t,t.return),Ni(3,t),nn(5,t,t.return));break;case 1:Te(e,t),ze(t),n&512&&(It||l===null||dl(l,l.return)),n&64&&Cl&&(t=t.updateQueue,t!==null&&(n=t.callbacks,n!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?n:l.concat(n))));break;case 26:var u=al;if(Te(e,t),ze(t),n&512&&(It||l===null||dl(l,l.return)),n&4){var f=l!==null?l.memoizedState:null;if(n=t.memoizedState,l===null)if(n===null)if(t.stateNode===null){t:{n=t.type,l=t.memoizedProps,u=u.ownerDocument||u;e:switch(n){case"title":f=u.getElementsByTagName("title")[0],(!f||f[fi]||f[ae]||f.namespaceURI==="http://www.w3.org/2000/svg"||f.hasAttribute("itemprop"))&&(f=u.createElement(n),u.head.insertBefore(f,u.querySelector("head > title"))),fe(f,n,l),f[ae]=t,ee(f),n=f;break t;case"link":var d=uy("link","href",u).get(n+(l.href||""));if(d){for(var _=0;_<d.length;_++)if(f=d[_],f.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&f.getAttribute("rel")===(l.rel==null?null:l.rel)&&f.getAttribute("title")===(l.title==null?null:l.title)&&f.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){d.splice(_,1);break e}}f=u.createElement(n),fe(f,n,l),u.head.appendChild(f);break;case"meta":if(d=uy("meta","content",u).get(n+(l.content||""))){for(_=0;_<d.length;_++)if(f=d[_],f.getAttribute("content")===(l.content==null?null:""+l.content)&&f.getAttribute("name")===(l.name==null?null:l.name)&&f.getAttribute("property")===(l.property==null?null:l.property)&&f.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&f.getAttribute("charset")===(l.charSet==null?null:l.charSet)){d.splice(_,1);break e}}f=u.createElement(n),fe(f,n,l),u.head.appendChild(f);break;default:throw Error(i(468,n))}f[ae]=t,ee(f),n=f}t.stateNode=n}else ry(u,t.type,t.stateNode);else t.stateNode=iy(u,n,t.memoizedProps);else f!==n?(f===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):f.count--,n===null?ry(u,t.type,t.stateNode):iy(u,n,t.memoizedProps)):n===null&&t.stateNode!==null&&es(t,t.memoizedProps,l.memoizedProps)}break;case 27:Te(e,t),ze(t),n&512&&(It||l===null||dl(l,l.return)),l!==null&&n&4&&es(t,t.memoizedProps,l.memoizedProps);break;case 5:if(Te(e,t),ze(t),n&512&&(It||l===null||dl(l,l.return)),t.flags&32){u=t.stateNode;try{ca(u,"")}catch(lt){Mt(t,t.return,lt)}}n&4&&t.stateNode!=null&&(u=t.memoizedProps,es(t,u,l!==null?l.memoizedProps:u)),n&1024&&(as=!0);break;case 6:if(Te(e,t),ze(t),n&4){if(t.stateNode===null)throw Error(i(162));n=t.memoizedProps,l=t.stateNode;try{l.nodeValue=n}catch(lt){Mt(t,t.return,lt)}}break;case 3:if(_r=null,u=al,al=pr(e.containerInfo),Te(e,t),al=u,ze(t),n&4&&l!==null&&l.memoizedState.isDehydrated)try{Ya(e.containerInfo)}catch(lt){Mt(t,t.return,lt)}as&&(as=!1,rm(t));break;case 4:n=al,al=pr(t.stateNode.containerInfo),Te(e,t),ze(t),al=n;break;case 12:Te(e,t),ze(t);break;case 31:Te(e,t),ze(t),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,lr(t,n)));break;case 13:Te(e,t),ze(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(ar=Ne()),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,lr(t,n)));break;case 22:u=t.memoizedState!==null;var x=l!==null&&l.memoizedState!==null,w=Cl,G=It;if(Cl=w||u,It=G||x,Te(e,t),It=G,Cl=w,ze(t),n&8192)t:for(e=t.stateNode,e._visibility=u?e._visibility&-2:e._visibility|1,u&&(l===null||x||Cl||It||kn(t)),l=null,e=t;;){if(e.tag===5||e.tag===26){if(l===null){x=l=e;try{if(f=x.stateNode,u)d=f.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none";else{_=x.stateNode;var Q=x.memoizedProps.style,R=Q!=null&&Q.hasOwnProperty("display")?Q.display:null;_.style.display=R==null||typeof R=="boolean"?"":(""+R).trim()}}catch(lt){Mt(x,x.return,lt)}}}else if(e.tag===6){if(l===null){x=e;try{x.stateNode.nodeValue=u?"":x.memoizedProps}catch(lt){Mt(x,x.return,lt)}}}else if(e.tag===18){if(l===null){x=e;try{var B=x.stateNode;u?Wm(B,!0):Wm(x.stateNode,!1)}catch(lt){Mt(x,x.return,lt)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;l===e&&(l=null),e=e.return}l===e&&(l=null),e.sibling.return=e.return,e=e.sibling}n&4&&(n=t.updateQueue,n!==null&&(l=n.retryQueue,l!==null&&(n.retryQueue=null,lr(t,l))));break;case 19:Te(e,t),ze(t),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,lr(t,n)));break;case 30:break;case 21:break;default:Te(e,t),ze(t)}}function ze(t){var e=t.flags;if(e&2){try{for(var l,n=t.return;n!==null;){if(I0(n)){l=n;break}n=n.return}if(l==null)throw Error(i(160));switch(l.tag){case 27:var u=l.stateNode,f=ls(t);er(t,f,u);break;case 5:var d=l.stateNode;l.flags&32&&(ca(d,""),l.flags&=-33);var _=ls(t);er(t,_,d);break;case 3:case 4:var x=l.stateNode.containerInfo,w=ls(t);ns(t,w,x);break;default:throw Error(i(161))}}catch(G){Mt(t,t.return,G)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function rm(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;rm(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function wl(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)em(t,e.alternate,e),e=e.sibling}function kn(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:nn(4,e,e.return),kn(e);break;case 1:dl(e,e.return);var l=e.stateNode;typeof l.componentWillUnmount=="function"&&W0(e,e.return,l),kn(e);break;case 27:Vi(e.stateNode);case 26:case 5:dl(e,e.return),kn(e);break;case 22:e.memoizedState===null&&kn(e);break;case 30:kn(e);break;default:kn(e)}t=t.sibling}}function Rl(t,e,l){for(l=l&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var n=e.alternate,u=t,f=e,d=f.flags;switch(f.tag){case 0:case 11:case 15:Rl(u,f,l),Ni(4,f);break;case 1:if(Rl(u,f,l),n=f,u=n.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(w){Mt(n,n.return,w)}if(n=f,u=n.updateQueue,u!==null){var _=n.stateNode;try{var x=u.shared.hiddenCallbacks;if(x!==null)for(u.shared.hiddenCallbacks=null,u=0;u<x.length;u++)Lh(x[u],_)}catch(w){Mt(n,n.return,w)}}l&&d&64&&F0(f),ji(f,f.return);break;case 27:P0(f);case 26:case 5:Rl(u,f,l),l&&n===null&&d&4&&$0(f),ji(f,f.return);break;case 12:Rl(u,f,l);break;case 31:Rl(u,f,l),l&&d&4&&am(u,f);break;case 13:Rl(u,f,l),l&&d&4&&im(u,f);break;case 22:f.memoizedState===null&&Rl(u,f,l),ji(f,f.return);break;case 30:break;default:Rl(u,f,l)}e=e.sibling}}function is(t,e){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&Si(l))}function us(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Si(t))}function il(t,e,l,n){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)fm(t,e,l,n),e=e.sibling}function fm(t,e,l,n){var u=e.flags;switch(e.tag){case 0:case 11:case 15:il(t,e,l,n),u&2048&&Ni(9,e);break;case 1:il(t,e,l,n);break;case 3:il(t,e,l,n),u&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Si(t)));break;case 12:if(u&2048){il(t,e,l,n),t=e.stateNode;try{var f=e.memoizedProps,d=f.id,_=f.onPostCommit;typeof _=="function"&&_(d,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(x){Mt(e,e.return,x)}}else il(t,e,l,n);break;case 31:il(t,e,l,n);break;case 13:il(t,e,l,n);break;case 23:break;case 22:f=e.stateNode,d=e.alternate,e.memoizedState!==null?f._visibility&2?il(t,e,l,n):Bi(t,e):f._visibility&2?il(t,e,l,n):(f._visibility|=2,Ca(t,e,l,n,(e.subtreeFlags&10256)!==0||!1)),u&2048&&is(d,e);break;case 24:il(t,e,l,n),u&2048&&us(e.alternate,e);break;default:il(t,e,l,n)}}function Ca(t,e,l,n,u){for(u=u&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var f=t,d=e,_=l,x=n,w=d.flags;switch(d.tag){case 0:case 11:case 15:Ca(f,d,_,x,u),Ni(8,d);break;case 23:break;case 22:var G=d.stateNode;d.memoizedState!==null?G._visibility&2?Ca(f,d,_,x,u):Bi(f,d):(G._visibility|=2,Ca(f,d,_,x,u)),u&&w&2048&&is(d.alternate,d);break;case 24:Ca(f,d,_,x,u),u&&w&2048&&us(d.alternate,d);break;default:Ca(f,d,_,x,u)}e=e.sibling}}function Bi(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var l=t,n=e,u=n.flags;switch(n.tag){case 22:Bi(l,n),u&2048&&is(n.alternate,n);break;case 24:Bi(l,n),u&2048&&us(n.alternate,n);break;default:Bi(l,n)}e=e.sibling}}var Hi=8192;function Da(t,e,l){if(t.subtreeFlags&Hi)for(t=t.child;t!==null;)cm(t,e,l),t=t.sibling}function cm(t,e,l){switch(t.tag){case 26:Da(t,e,l),t.flags&Hi&&t.memoizedState!==null&&Dv(l,al,t.memoizedState,t.memoizedProps);break;case 5:Da(t,e,l);break;case 3:case 4:var n=al;al=pr(t.stateNode.containerInfo),Da(t,e,l),al=n;break;case 22:t.memoizedState===null&&(n=t.alternate,n!==null&&n.memoizedState!==null?(n=Hi,Hi=16777216,Da(t,e,l),Hi=n):Da(t,e,l));break;default:Da(t,e,l)}}function sm(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Li(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var n=e[l];le=n,dm(n,t)}sm(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)om(t),t=t.sibling}function om(t){switch(t.tag){case 0:case 11:case 15:Li(t),t.flags&2048&&nn(9,t,t.return);break;case 3:Li(t);break;case 12:Li(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,nr(t)):Li(t);break;default:Li(t)}}function nr(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var n=e[l];le=n,dm(n,t)}sm(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:nn(8,e,e.return),nr(e);break;case 22:l=e.stateNode,l._visibility&2&&(l._visibility&=-3,nr(e));break;default:nr(e)}t=t.sibling}}function dm(t,e){for(;le!==null;){var l=le;switch(l.tag){case 0:case 11:case 15:nn(8,l,e);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var n=l.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:Si(l.memoizedState.cache)}if(n=l.child,n!==null)n.return=l,le=n;else t:for(l=t;le!==null;){n=le;var u=n.sibling,f=n.return;if(lm(n),n===l){le=null;break t}if(u!==null){u.return=f,le=u;break t}le=f}}}var Q_={getCacheForType:function(t){var e=ue(Ft),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l},cacheSignal:function(){return ue(Ft).controller.signal}},Z_=typeof WeakMap=="function"?WeakMap:Map,zt=0,Ut=null,yt=null,gt=0,At=0,Ge=null,an=!1,wa=!1,rs=!1,Ul=0,kt=0,un=0,Vn=0,fs=0,Xe=0,Ra=0,qi=null,Ee=null,cs=!1,ar=0,hm=0,ir=1/0,ur=null,rn=null,Pt=0,fn=null,Ua=null,Nl=0,ss=0,os=null,mm=null,Yi=0,ds=null;function ke(){return(zt&2)!==0&&gt!==0?gt&-gt:U.T!==null?_s():Dd()}function ym(){if(Xe===0)if((gt&536870912)===0||bt){var t=mu;mu<<=1,(mu&3932160)===0&&(mu=262144),Xe=t}else Xe=536870912;return t=qe.current,t!==null&&(t.flags|=32),Xe}function Ae(t,e,l){(t===Ut&&(At===2||At===9)||t.cancelPendingCommit!==null)&&(Na(t,0),cn(t,gt,Xe,!1)),ri(t,l),((zt&2)===0||t!==Ut)&&(t===Ut&&((zt&2)===0&&(Vn|=l),kt===4&&cn(t,gt,Xe,!1)),hl(t))}function pm(t,e,l){if((zt&6)!==0)throw Error(i(327));var n=!l&&(e&127)===0&&(e&t.expiredLanes)===0||ui(t,e),u=n?F_(t,e):ms(t,e,!0),f=n;do{if(u===0){wa&&!n&&cn(t,e,0,!1);break}else{if(l=t.current.alternate,f&&!K_(l)){u=ms(t,e,!1),f=!1;continue}if(u===2){if(f=e,t.errorRecoveryDisabledLanes&f)var d=0;else d=t.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){e=d;t:{var _=t;u=qi;var x=_.current.memoizedState.isDehydrated;if(x&&(Na(_,d).flags|=256),d=ms(_,d,!1),d!==2){if(rs&&!x){_.errorRecoveryDisabledLanes|=f,Vn|=f,u=4;break t}f=Ee,Ee=u,f!==null&&(Ee===null?Ee=f:Ee.push.apply(Ee,f))}u=d}if(f=!1,u!==2)continue}}if(u===1){Na(t,0),cn(t,e,0,!0);break}t:{switch(n=t,f=u,f){case 0:case 1:throw Error(i(345));case 4:if((e&4194048)!==e)break;case 6:cn(n,e,Xe,!an);break t;case 2:Ee=null;break;case 3:case 5:break;default:throw Error(i(329))}if((e&62914560)===e&&(u=ar+300-Ne(),10<u)){if(cn(n,e,Xe,!an),pu(n,0,!0)!==0)break t;Nl=e,n.timeoutHandle=Km(gm.bind(null,n,l,Ee,ur,cs,e,Xe,Vn,Ra,an,f,"Throttled",-0,0),u);break t}gm(n,l,Ee,ur,cs,e,Xe,Vn,Ra,an,f,null,-0,0)}}break}while(!0);hl(t)}function gm(t,e,l,n,u,f,d,_,x,w,G,Q,R,B){if(t.timeoutHandle=-1,Q=e.subtreeFlags,Q&8192||(Q&16785408)===16785408){Q={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:vl},cm(e,f,Q);var lt=(f&62914560)===f?ar-Ne():(f&4194048)===f?hm-Ne():0;if(lt=wv(Q,lt),lt!==null){Nl=f,t.cancelPendingCommit=lt(Em.bind(null,t,e,f,l,n,u,d,_,x,G,Q,null,R,B)),cn(t,f,d,!w);return}}Em(t,e,f,l,n,u,d,_,x)}function K_(t){for(var e=t;;){var l=e.tag;if((l===0||l===11||l===15)&&e.flags&16384&&(l=e.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var n=0;n<l.length;n++){var u=l[n],f=u.getSnapshot;u=u.value;try{if(!He(f(),u))return!1}catch{return!1}}if(l=e.child,e.subtreeFlags&16384&&l!==null)l.return=e,e=l;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function cn(t,e,l,n){e&=~fs,e&=~Vn,t.suspendedLanes|=e,t.pingedLanes&=~e,n&&(t.warmLanes|=e),n=t.expirationTimes;for(var u=e;0<u;){var f=31-Be(u),d=1<<f;n[f]=-1,u&=~d}l!==0&&Md(t,l,e)}function rr(){return(zt&6)===0?(Gi(0),!1):!0}function hs(){if(yt!==null){if(At===0)var t=yt.return;else t=yt,Tl=jn=null,Cc(t),za=null,Ti=0,t=yt;for(;t!==null;)J0(t.alternate,t),t=t.return;yt=null}}function Na(t,e){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,hv(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),Nl=0,hs(),Ut=t,yt=l=Sl(t.current,null),gt=e,At=0,Ge=null,an=!1,wa=ui(t,e),rs=!1,Ra=Xe=fs=Vn=un=kt=0,Ee=qi=null,cs=!1,(e&8)!==0&&(e|=e&32);var n=t.entangledLanes;if(n!==0)for(t=t.entanglements,n&=e;0<n;){var u=31-Be(n),f=1<<u;e|=t[u],n&=~f}return Ul=e,Ou(),l}function _m(t,e){ot=null,U.H=wi,e===Ta||e===Bu?(e=Nh(),At=3):e===gc?(e=Nh(),At=4):At=e===Qc?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Ge=e,yt===null&&(kt=1,Wu(t,We(e,t.current)))}function vm(){var t=qe.current;return t===null?!0:(gt&4194048)===gt?tl===null:(gt&62914560)===gt||(gt&536870912)!==0?t===tl:!1}function bm(){var t=U.H;return U.H=wi,t===null?wi:t}function Sm(){var t=U.A;return U.A=Q_,t}function fr(){kt=4,an||(gt&4194048)!==gt&&qe.current!==null||(wa=!0),(un&134217727)===0&&(Vn&134217727)===0||Ut===null||cn(Ut,gt,Xe,!1)}function ms(t,e,l){var n=zt;zt|=2;var u=bm(),f=Sm();(Ut!==t||gt!==e)&&(ur=null,Na(t,e)),e=!1;var d=kt;t:do try{if(At!==0&&yt!==null){var _=yt,x=Ge;switch(At){case 8:hs(),d=6;break t;case 3:case 2:case 9:case 6:qe.current===null&&(e=!0);var w=At;if(At=0,Ge=null,ja(t,_,x,w),l&&wa){d=0;break t}break;default:w=At,At=0,Ge=null,ja(t,_,x,w)}}J_(),d=kt;break}catch(G){_m(t,G)}while(!0);return e&&t.shellSuspendCounter++,Tl=jn=null,zt=n,U.H=u,U.A=f,yt===null&&(Ut=null,gt=0,Ou()),d}function J_(){for(;yt!==null;)xm(yt)}function F_(t,e){var l=zt;zt|=2;var n=bm(),u=Sm();Ut!==t||gt!==e?(ur=null,ir=Ne()+500,Na(t,e)):wa=ui(t,e);t:do try{if(At!==0&&yt!==null){e=yt;var f=Ge;e:switch(At){case 1:At=0,Ge=null,ja(t,e,f,1);break;case 2:case 9:if(Rh(f)){At=0,Ge=null,Tm(e);break}e=function(){At!==2&&At!==9||Ut!==t||(At=7),hl(t)},f.then(e,e);break t;case 3:At=7;break t;case 4:At=5;break t;case 7:Rh(f)?(At=0,Ge=null,Tm(e)):(At=0,Ge=null,ja(t,e,f,7));break;case 5:var d=null;switch(yt.tag){case 26:d=yt.memoizedState;case 5:case 27:var _=yt;if(d?fy(d):_.stateNode.complete){At=0,Ge=null;var x=_.sibling;if(x!==null)yt=x;else{var w=_.return;w!==null?(yt=w,cr(w)):yt=null}break e}}At=0,Ge=null,ja(t,e,f,5);break;case 6:At=0,Ge=null,ja(t,e,f,6);break;case 8:hs(),kt=6;break t;default:throw Error(i(462))}}W_();break}catch(G){_m(t,G)}while(!0);return Tl=jn=null,U.H=n,U.A=u,zt=l,yt!==null?0:(Ut=null,gt=0,Ou(),kt)}function W_(){for(;yt!==null&&!vg();)xm(yt)}function xm(t){var e=Z0(t.alternate,t,Ul);t.memoizedProps=t.pendingProps,e===null?cr(t):yt=e}function Tm(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=Y0(l,e,e.pendingProps,e.type,void 0,gt);break;case 11:e=Y0(l,e,e.pendingProps,e.type.render,e.ref,gt);break;case 5:Cc(e);default:J0(l,e),e=yt=Sh(e,Ul),e=Z0(l,e,Ul)}t.memoizedProps=t.pendingProps,e===null?cr(t):yt=e}function ja(t,e,l,n){Tl=jn=null,Cc(e),za=null,Ti=0;var u=e.return;try{if(L_(t,u,e,l,gt)){kt=1,Wu(t,We(l,t.current)),yt=null;return}}catch(f){if(u!==null)throw yt=u,f;kt=1,Wu(t,We(l,t.current)),yt=null;return}e.flags&32768?(bt||n===1?t=!0:wa||(gt&536870912)!==0?t=!1:(an=t=!0,(n===2||n===9||n===3||n===6)&&(n=qe.current,n!==null&&n.tag===13&&(n.flags|=16384))),zm(e,t)):cr(e)}function cr(t){var e=t;do{if((e.flags&32768)!==0){zm(e,an);return}t=e.return;var l=G_(e.alternate,e,Ul);if(l!==null){yt=l;return}if(e=e.sibling,e!==null){yt=e;return}yt=e=t}while(e!==null);kt===0&&(kt=5)}function zm(t,e){do{var l=X_(t.alternate,t);if(l!==null){l.flags&=32767,yt=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!e&&(t=t.sibling,t!==null)){yt=t;return}yt=t=l}while(t!==null);kt=6,yt=null}function Em(t,e,l,n,u,f,d,_,x){t.cancelPendingCommit=null;do sr();while(Pt!==0);if((zt&6)!==0)throw Error(i(327));if(e!==null){if(e===t.current)throw Error(i(177));if(f=e.lanes|e.childLanes,f|=lc,Cg(t,l,f,d,_,x),t===Ut&&(yt=Ut=null,gt=0),Ua=e,fn=t,Nl=l,ss=f,os=u,mm=n,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,tv(du,function(){return Dm(),null})):(t.callbackNode=null,t.callbackPriority=0),n=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||n){n=U.T,U.T=null,u=N.p,N.p=2,d=zt,zt|=4;try{k_(t,e,l)}finally{zt=d,N.p=u,U.T=n}}Pt=1,Am(),Mm(),Om()}}function Am(){if(Pt===1){Pt=0;var t=fn,e=Ua,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=U.T,U.T=null;var n=N.p;N.p=2;var u=zt;zt|=4;try{um(e,t);var f=As,d=dh(t.containerInfo),_=f.focusedElem,x=f.selectionRange;if(d!==_&&_&&_.ownerDocument&&oh(_.ownerDocument.documentElement,_)){if(x!==null&&$f(_)){var w=x.start,G=x.end;if(G===void 0&&(G=w),"selectionStart"in _)_.selectionStart=w,_.selectionEnd=Math.min(G,_.value.length);else{var Q=_.ownerDocument||document,R=Q&&Q.defaultView||window;if(R.getSelection){var B=R.getSelection(),lt=_.textContent.length,it=Math.min(x.start,lt),Dt=x.end===void 0?it:Math.min(x.end,lt);!B.extend&&it>Dt&&(d=Dt,Dt=it,it=d);var O=sh(_,it),z=sh(_,Dt);if(O&&z&&(B.rangeCount!==1||B.anchorNode!==O.node||B.anchorOffset!==O.offset||B.focusNode!==z.node||B.focusOffset!==z.offset)){var D=Q.createRange();D.setStart(O.node,O.offset),B.removeAllRanges(),it>Dt?(B.addRange(D),B.extend(z.node,z.offset)):(D.setEnd(z.node,z.offset),B.addRange(D))}}}}for(Q=[],B=_;B=B.parentNode;)B.nodeType===1&&Q.push({element:B,left:B.scrollLeft,top:B.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_<Q.length;_++){var k=Q[_];k.element.scrollLeft=k.left,k.element.scrollTop=k.top}}xr=!!Es,As=Es=null}finally{zt=u,N.p=n,U.T=l}}t.current=e,Pt=2}}function Mm(){if(Pt===2){Pt=0;var t=fn,e=Ua,l=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||l){l=U.T,U.T=null;var n=N.p;N.p=2;var u=zt;zt|=4;try{em(t,e.alternate,e)}finally{zt=u,N.p=n,U.T=l}}Pt=3}}function Om(){if(Pt===4||Pt===3){Pt=0,bg();var t=fn,e=Ua,l=Nl,n=mm;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Pt=5:(Pt=0,Ua=fn=null,Cm(t,t.pendingLanes));var u=t.pendingLanes;if(u===0&&(rn=null),Rf(l),e=e.stateNode,je&&typeof je.onCommitFiberRoot=="function")try{je.onCommitFiberRoot(ii,e,void 0,(e.current.flags&128)===128)}catch{}if(n!==null){e=U.T,u=N.p,N.p=2,U.T=null;try{for(var f=t.onRecoverableError,d=0;d<n.length;d++){var _=n[d];f(_.value,{componentStack:_.stack})}}finally{U.T=e,N.p=u}}(Nl&3)!==0&&sr(),hl(t),u=t.pendingLanes,(l&261930)!==0&&(u&42)!==0?t===ds?Yi++:(Yi=0,ds=t):Yi=0,Gi(0)}}function Cm(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Si(e)))}function sr(){return Am(),Mm(),Om(),Dm()}function Dm(){if(Pt!==5)return!1;var t=fn,e=ss;ss=0;var l=Rf(Nl),n=U.T,u=N.p;try{N.p=32>l?32:l,U.T=null,l=os,os=null;var f=fn,d=Nl;if(Pt=0,Ua=fn=null,Nl=0,(zt&6)!==0)throw Error(i(331));var _=zt;if(zt|=4,om(f.current),fm(f,f.current,d,l),zt=_,Gi(0,!1),je&&typeof je.onPostCommitFiberRoot=="function")try{je.onPostCommitFiberRoot(ii,f)}catch{}return!0}finally{N.p=u,U.T=n,Cm(t,e)}}function wm(t,e,l){e=We(l,e),e=Vc(t.stateNode,e,2),t=tn(t,e,2),t!==null&&(ri(t,2),hl(t))}function Mt(t,e,l){if(t.tag===3)wm(t,t,l);else for(;e!==null;){if(e.tag===3){wm(e,t,l);break}else if(e.tag===1){var n=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(rn===null||!rn.has(n))){t=We(l,t),l=R0(2),n=tn(e,l,2),n!==null&&(U0(l,n,e,t),ri(n,2),hl(n));break}}e=e.return}}function ys(t,e,l){var n=t.pingCache;if(n===null){n=t.pingCache=new Z_;var u=new Set;n.set(e,u)}else u=n.get(e),u===void 0&&(u=new Set,n.set(e,u));u.has(l)||(rs=!0,u.add(l),t=$_.bind(null,t,e,l),e.then(t,t))}function $_(t,e,l){var n=t.pingCache;n!==null&&n.delete(e),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,Ut===t&&(gt&l)===l&&(kt===4||kt===3&&(gt&62914560)===gt&&300>Ne()-ar?(zt&2)===0&&Na(t,0):fs|=l,Ra===gt&&(Ra=0)),hl(t)}function Rm(t,e){e===0&&(e=Ad()),t=Rn(t,e),t!==null&&(ri(t,e),hl(t))}function I_(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),Rm(t,l)}function P_(t,e){var l=0;switch(t.tag){case 31:case 13:var n=t.stateNode,u=t.memoizedState;u!==null&&(l=u.retryLane);break;case 19:n=t.stateNode;break;case 22:n=t.stateNode._retryCache;break;default:throw Error(i(314))}n!==null&&n.delete(e),Rm(t,l)}function tv(t,e){return Of(t,e)}var or=null,Ba=null,ps=!1,dr=!1,gs=!1,sn=0;function hl(t){t!==Ba&&t.next===null&&(Ba===null?or=Ba=t:Ba=Ba.next=t),dr=!0,ps||(ps=!0,lv())}function Gi(t,e){if(!gs&&dr){gs=!0;do for(var l=!1,n=or;n!==null;){if(t!==0){var u=n.pendingLanes;if(u===0)var f=0;else{var d=n.suspendedLanes,_=n.pingedLanes;f=(1<<31-Be(42|t)+1)-1,f&=u&~(d&~_),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(l=!0,Bm(n,f))}else f=gt,f=pu(n,n===Ut?f:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(f&3)===0||ui(n,f)||(l=!0,Bm(n,f));n=n.next}while(l);gs=!1}}function ev(){Um()}function Um(){dr=ps=!1;var t=0;sn!==0&&dv()&&(t=sn);for(var e=Ne(),l=null,n=or;n!==null;){var u=n.next,f=Nm(n,e);f===0?(n.next=null,l===null?or=u:l.next=u,u===null&&(Ba=l)):(l=n,(t!==0||(f&3)!==0)&&(dr=!0)),n=u}Pt!==0&&Pt!==5||Gi(t),sn!==0&&(sn=0)}function Nm(t,e){for(var l=t.suspendedLanes,n=t.pingedLanes,u=t.expirationTimes,f=t.pendingLanes&-62914561;0<f;){var d=31-Be(f),_=1<<d,x=u[d];x===-1?((_&l)===0||(_&n)!==0)&&(u[d]=Og(_,e)):x<=e&&(t.expiredLanes|=_),f&=~_}if(e=Ut,l=gt,l=pu(t,t===e?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),n=t.callbackNode,l===0||t===e&&(At===2||At===9)||t.cancelPendingCommit!==null)return n!==null&&n!==null&&Cf(n),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||ui(t,l)){if(e=l&-l,e===t.callbackPriority)return e;switch(n!==null&&Cf(n),Rf(l)){case 2:case 8:l=zd;break;case 32:l=du;break;case 268435456:l=Ed;break;default:l=du}return n=jm.bind(null,t),l=Of(l,n),t.callbackPriority=e,t.callbackNode=l,e}return n!==null&&n!==null&&Cf(n),t.callbackPriority=2,t.callbackNode=null,2}function jm(t,e){if(Pt!==0&&Pt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(sr()&&t.callbackNode!==l)return null;var n=gt;return n=pu(t,t===Ut?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),n===0?null:(pm(t,n,e),Nm(t,Ne()),t.callbackNode!=null&&t.callbackNode===l?jm.bind(null,t):null)}function Bm(t,e){if(sr())return null;pm(t,e,!0)}function lv(){mv(function(){(zt&6)!==0?Of(Td,ev):Um()})}function _s(){if(sn===0){var t=Sa;t===0&&(t=hu,hu<<=1,(hu&261888)===0&&(hu=256)),sn=t}return sn}function Hm(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:bu(""+t)}function Lm(t,e){var l=e.ownerDocument.createElement("input");return l.name=e.name,l.value=e.value,t.id&&l.setAttribute("form",t.id),e.parentNode.insertBefore(l,e),t=new FormData(t),l.parentNode.removeChild(l),t}function nv(t,e,l,n,u){if(e==="submit"&&l&&l.stateNode===u){var f=Hm((u[be]||null).action),d=n.submitter;d&&(e=(e=d[be]||null)?Hm(e.formAction):d.getAttribute("formAction"),e!==null&&(f=e,d=null));var _=new zu("action","action",null,n,u);t.push({event:_,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(sn!==0){var x=d?Lm(u,d):new FormData(u);Lc(l,{pending:!0,data:x,method:u.method,action:f},null,x)}}else typeof f=="function"&&(_.preventDefault(),x=d?Lm(u,d):new FormData(u),Lc(l,{pending:!0,data:x,method:u.method,action:f},f,x))},currentTarget:u}]})}}for(var vs=0;vs<ec.length;vs++){var bs=ec[vs],av=bs.toLowerCase(),iv=bs[0].toUpperCase()+bs.slice(1);nl(av,"on"+iv)}nl(yh,"onAnimationEnd"),nl(ph,"onAnimationIteration"),nl(gh,"onAnimationStart"),nl("dblclick","onDoubleClick"),nl("focusin","onFocus"),nl("focusout","onBlur"),nl(S_,"onTransitionRun"),nl(x_,"onTransitionStart"),nl(T_,"onTransitionCancel"),nl(_h,"onTransitionEnd"),ra("onMouseEnter",["mouseout","mouseover"]),ra("onMouseLeave",["mouseout","mouseover"]),ra("onPointerEnter",["pointerout","pointerover"]),ra("onPointerLeave",["pointerout","pointerover"]),On("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),On("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),On("onBeforeInput",["compositionend","keypress","textInput","paste"]),On("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),On("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),On("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xi="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(" "),uv=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Xi));function qm(t,e){e=(e&4)!==0;for(var l=0;l<t.length;l++){var n=t[l],u=n.event;n=n.listeners;t:{var f=void 0;if(e)for(var d=n.length-1;0<=d;d--){var _=n[d],x=_.instance,w=_.currentTarget;if(_=_.listener,x!==f&&u.isPropagationStopped())break t;f=_,u.currentTarget=w;try{f(u)}catch(G){Mu(G)}u.currentTarget=null,f=x}else for(d=0;d<n.length;d++){if(_=n[d],x=_.instance,w=_.currentTarget,_=_.listener,x!==f&&u.isPropagationStopped())break t;f=_,u.currentTarget=w;try{f(u)}catch(G){Mu(G)}u.currentTarget=null,f=x}}}}function pt(t,e){var l=e[Uf];l===void 0&&(l=e[Uf]=new Set);var n=t+"__bubble";l.has(n)||(Ym(e,t,2,!1),l.add(n))}function Ss(t,e,l){var n=0;e&&(n|=4),Ym(l,t,n,e)}var hr="_reactListening"+Math.random().toString(36).slice(2);function xs(t){if(!t[hr]){t[hr]=!0,Ud.forEach(function(l){l!=="selectionchange"&&(uv.has(l)||Ss(l,!1,t),Ss(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[hr]||(e[hr]=!0,Ss("selectionchange",!1,e))}}function Ym(t,e,l,n){switch(yy(e)){case 2:var u=Nv;break;case 8:u=jv;break;default:u=Hs}l=u.bind(null,e,l,t),u=void 0,!Xf||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(u=!0),n?u!==void 0?t.addEventListener(e,l,{capture:!0,passive:u}):t.addEventListener(e,l,!0):u!==void 0?t.addEventListener(e,l,{passive:u}):t.addEventListener(e,l,!1)}function Ts(t,e,l,n,u){var f=n;if((e&1)===0&&(e&2)===0&&n!==null)t:for(;;){if(n===null)return;var d=n.tag;if(d===3||d===4){var _=n.stateNode.containerInfo;if(_===u)break;if(d===4)for(d=n.return;d!==null;){var x=d.tag;if((x===3||x===4)&&d.stateNode.containerInfo===u)return;d=d.return}for(;_!==null;){if(d=aa(_),d===null)return;if(x=d.tag,x===5||x===6||x===26||x===27){n=f=d;continue t}_=_.parentNode}}n=n.return}Qd(function(){var w=f,G=Yf(l),Q=[];t:{var R=vh.get(t);if(R!==void 0){var B=zu,lt=t;switch(t){case"keypress":if(xu(l)===0)break t;case"keydown":case"keyup":B=Pg;break;case"focusin":lt="focus",B=Zf;break;case"focusout":lt="blur",B=Zf;break;case"beforeblur":case"afterblur":B=Zf;break;case"click":if(l.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":B=Jd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":B=Gg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":B=l_;break;case yh:case ph:case gh:B=Vg;break;case _h:B=a_;break;case"scroll":case"scrollend":B=qg;break;case"wheel":B=u_;break;case"copy":case"cut":case"paste":B=Zg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":B=Wd;break;case"toggle":case"beforetoggle":B=f_}var it=(e&4)!==0,Dt=!it&&(t==="scroll"||t==="scrollend"),O=it?R!==null?R+"Capture":null:R;it=[];for(var z=w,D;z!==null;){var k=z;if(D=k.stateNode,k=k.tag,k!==5&&k!==26&&k!==27||D===null||O===null||(k=si(z,O),k!=null&&it.push(ki(z,k,D))),Dt)break;z=z.return}0<it.length&&(R=new B(R,lt,null,l,G),Q.push({event:R,listeners:it}))}}if((e&7)===0){t:{if(R=t==="mouseover"||t==="pointerover",B=t==="mouseout"||t==="pointerout",R&&l!==qf&&(lt=l.relatedTarget||l.fromElement)&&(aa(lt)||lt[na]))break t;if((B||R)&&(R=G.window===G?G:(R=G.ownerDocument)?R.defaultView||R.parentWindow:window,B?(lt=l.relatedTarget||l.toElement,B=w,lt=lt?aa(lt):null,lt!==null&&(Dt=s(lt),it=lt.tag,lt!==Dt||it!==5&&it!==27&&it!==6)&&(lt=null)):(B=null,lt=w),B!==lt)){if(it=Jd,k="onMouseLeave",O="onMouseEnter",z="mouse",(t==="pointerout"||t==="pointerover")&&(it=Wd,k="onPointerLeave",O="onPointerEnter",z="pointer"),Dt=B==null?R:ci(B),D=lt==null?R:ci(lt),R=new it(k,z+"leave",B,l,G),R.target=Dt,R.relatedTarget=D,k=null,aa(G)===w&&(it=new it(O,z+"enter",lt,l,G),it.target=D,it.relatedTarget=Dt,k=it),Dt=k,B&&lt)e:{for(it=rv,O=B,z=lt,D=0,k=O;k;k=it(k))D++;k=0;for(var at=z;at;at=it(at))k++;for(;0<D-k;)O=it(O),D--;for(;0<k-D;)z=it(z),k--;for(;D--;){if(O===z||z!==null&&O===z.alternate){it=O;break e}O=it(O),z=it(z)}it=null}else it=null;B!==null&&Gm(Q,R,B,it,!1),lt!==null&&Dt!==null&&Gm(Q,Dt,lt,it,!0)}}t:{if(R=w?ci(w):window,B=R.nodeName&&R.nodeName.toLowerCase(),B==="select"||B==="input"&&R.type==="file")var xt=ah;else if(lh(R))if(ih)xt=__;else{xt=p_;var nt=y_}else B=R.nodeName,!B||B.toLowerCase()!=="input"||R.type!=="checkbox"&&R.type!=="radio"?w&&Lf(w.elementType)&&(xt=ah):xt=g_;if(xt&&(xt=xt(t,w))){nh(Q,xt,l,G);break t}nt&&nt(t,R,w),t==="focusout"&&w&&R.type==="number"&&w.memoizedProps.value!=null&&Hf(R,"number",R.value)}switch(nt=w?ci(w):window,t){case"focusin":(lh(nt)||nt.contentEditable==="true")&&(ha=nt,If=w,_i=null);break;case"focusout":_i=If=ha=null;break;case"mousedown":Pf=!0;break;case"contextmenu":case"mouseup":case"dragend":Pf=!1,hh(Q,l,G);break;case"selectionchange":if(b_)break;case"keydown":case"keyup":hh(Q,l,G)}var dt;if(Jf)t:{switch(t){case"compositionstart":var _t="onCompositionStart";break t;case"compositionend":_t="onCompositionEnd";break t;case"compositionupdate":_t="onCompositionUpdate";break t}_t=void 0}else da?th(t,l)&&(_t="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(_t="onCompositionStart");_t&&($d&&l.locale!=="ko"&&(da||_t!=="onCompositionStart"?_t==="onCompositionEnd"&&da&&(dt=Zd()):(Kl=G,kf="value"in Kl?Kl.value:Kl.textContent,da=!0)),nt=mr(w,_t),0<nt.length&&(_t=new Fd(_t,t,null,l,G),Q.push({event:_t,listeners:nt}),dt?_t.data=dt:(dt=eh(l),dt!==null&&(_t.data=dt)))),(dt=s_?o_(t,l):d_(t,l))&&(_t=mr(w,"onBeforeInput"),0<_t.length&&(nt=new Fd("onBeforeInput","beforeinput",null,l,G),Q.push({event:nt,listeners:_t}),nt.data=dt)),nv(Q,t,w,l,G)}qm(Q,e)})}function ki(t,e,l){return{instance:t,listener:e,currentTarget:l}}function mr(t,e){for(var l=e+"Capture",n=[];t!==null;){var u=t,f=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||f===null||(u=si(t,l),u!=null&&n.unshift(ki(t,u,f)),u=si(t,e),u!=null&&n.push(ki(t,u,f))),t.tag===3)return n;t=t.return}return[]}function rv(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Gm(t,e,l,n,u){for(var f=e._reactName,d=[];l!==null&&l!==n;){var _=l,x=_.alternate,w=_.stateNode;if(_=_.tag,x!==null&&x===n)break;_!==5&&_!==26&&_!==27||w===null||(x=w,u?(w=si(l,f),w!=null&&d.unshift(ki(l,w,x))):u||(w=si(l,f),w!=null&&d.push(ki(l,w,x)))),l=l.return}d.length!==0&&t.push({event:e,listeners:d})}var fv=/\r\n?/g,cv=/\u0000|\uFFFD/g;function Xm(t){return(typeof t=="string"?t:""+t).replace(fv,`
49
+ `).replace(cv,"")}function km(t,e){return e=Xm(e),Xm(t)===e}function Ct(t,e,l,n,u,f){switch(l){case"children":typeof n=="string"?e==="body"||e==="textarea"&&n===""||ca(t,n):(typeof n=="number"||typeof n=="bigint")&&e!=="body"&&ca(t,""+n);break;case"className":_u(t,"class",n);break;case"tabIndex":_u(t,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":_u(t,l,n);break;case"style":kd(t,n,f);break;case"data":if(e!=="object"){_u(t,"data",n);break}case"src":case"href":if(n===""&&(e!=="a"||l!=="href")){t.removeAttribute(l);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){t.removeAttribute(l);break}n=bu(""+n),t.setAttribute(l,n);break;case"action":case"formAction":if(typeof n=="function"){t.setAttribute(l,"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 f=="function"&&(l==="formAction"?(e!=="input"&&Ct(t,e,"name",u.name,u,null),Ct(t,e,"formEncType",u.formEncType,u,null),Ct(t,e,"formMethod",u.formMethod,u,null),Ct(t,e,"formTarget",u.formTarget,u,null)):(Ct(t,e,"encType",u.encType,u,null),Ct(t,e,"method",u.method,u,null),Ct(t,e,"target",u.target,u,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){t.removeAttribute(l);break}n=bu(""+n),t.setAttribute(l,n);break;case"onClick":n!=null&&(t.onclick=vl);break;case"onScroll":n!=null&&pt("scroll",t);break;case"onScrollEnd":n!=null&&pt("scrollend",t);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(i(61));if(l=n.__html,l!=null){if(u.children!=null)throw Error(i(60));t.innerHTML=l}}break;case"multiple":t.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":t.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){t.removeAttribute("xlink:href");break}l=bu(""+n),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(l,""+n):t.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":n===!0?t.setAttribute(l,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(l,n):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?t.setAttribute(l,n):t.removeAttribute(l);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?t.removeAttribute(l):t.setAttribute(l,n);break;case"popover":pt("beforetoggle",t),pt("toggle",t),gu(t,"popover",n);break;case"xlinkActuate":_l(t,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":_l(t,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":_l(t,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":_l(t,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":_l(t,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":_l(t,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":_l(t,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":_l(t,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":_l(t,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":gu(t,"is",n);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Hg.get(l)||l,gu(t,l,n))}}function zs(t,e,l,n,u,f){switch(l){case"style":kd(t,n,f);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(i(61));if(l=n.__html,l!=null){if(u.children!=null)throw Error(i(60));t.innerHTML=l}}break;case"children":typeof n=="string"?ca(t,n):(typeof n=="number"||typeof n=="bigint")&&ca(t,""+n);break;case"onScroll":n!=null&&pt("scroll",t);break;case"onScrollEnd":n!=null&&pt("scrollend",t);break;case"onClick":n!=null&&(t.onclick=vl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Nd.hasOwnProperty(l))t:{if(l[0]==="o"&&l[1]==="n"&&(u=l.endsWith("Capture"),e=l.slice(2,u?l.length-7:void 0),f=t[be]||null,f=f!=null?f[l]:null,typeof f=="function"&&t.removeEventListener(e,f,u),typeof n=="function")){typeof f!="function"&&f!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(e,n,u);break t}l in t?t[l]=n:n===!0?t.setAttribute(l,""):gu(t,l,n)}}}function fe(t,e,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":pt("error",t),pt("load",t);var n=!1,u=!1,f;for(f in l)if(l.hasOwnProperty(f)){var d=l[f];if(d!=null)switch(f){case"src":n=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,e));default:Ct(t,e,f,d,l,null)}}u&&Ct(t,e,"srcSet",l.srcSet,l,null),n&&Ct(t,e,"src",l.src,l,null);return;case"input":pt("invalid",t);var _=f=d=u=null,x=null,w=null;for(n in l)if(l.hasOwnProperty(n)){var G=l[n];if(G!=null)switch(n){case"name":u=G;break;case"type":d=G;break;case"checked":x=G;break;case"defaultChecked":w=G;break;case"value":f=G;break;case"defaultValue":_=G;break;case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(i(137,e));break;default:Ct(t,e,n,G,l,null)}}qd(t,f,_,x,w,d,u,!1);return;case"select":pt("invalid",t),n=d=f=null;for(u in l)if(l.hasOwnProperty(u)&&(_=l[u],_!=null))switch(u){case"value":f=_;break;case"defaultValue":d=_;break;case"multiple":n=_;default:Ct(t,e,u,_,l,null)}e=f,l=d,t.multiple=!!n,e!=null?fa(t,!!n,e,!1):l!=null&&fa(t,!!n,l,!0);return;case"textarea":pt("invalid",t),f=u=n=null;for(d in l)if(l.hasOwnProperty(d)&&(_=l[d],_!=null))switch(d){case"value":n=_;break;case"defaultValue":u=_;break;case"children":f=_;break;case"dangerouslySetInnerHTML":if(_!=null)throw Error(i(91));break;default:Ct(t,e,d,_,l,null)}Gd(t,n,u,f);return;case"option":for(x in l)if(l.hasOwnProperty(x)&&(n=l[x],n!=null))switch(x){case"selected":t.selected=n&&typeof n!="function"&&typeof n!="symbol";break;default:Ct(t,e,x,n,l,null)}return;case"dialog":pt("beforetoggle",t),pt("toggle",t),pt("cancel",t),pt("close",t);break;case"iframe":case"object":pt("load",t);break;case"video":case"audio":for(n=0;n<Xi.length;n++)pt(Xi[n],t);break;case"image":pt("error",t),pt("load",t);break;case"details":pt("toggle",t);break;case"embed":case"source":case"link":pt("error",t),pt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(w in l)if(l.hasOwnProperty(w)&&(n=l[w],n!=null))switch(w){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,e));default:Ct(t,e,w,n,l,null)}return;default:if(Lf(e)){for(G in l)l.hasOwnProperty(G)&&(n=l[G],n!==void 0&&zs(t,e,G,n,l,void 0));return}}for(_ in l)l.hasOwnProperty(_)&&(n=l[_],n!=null&&Ct(t,e,_,n,l,null))}function sv(t,e,l,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,f=null,d=null,_=null,x=null,w=null,G=null;for(B in l){var Q=l[B];if(l.hasOwnProperty(B)&&Q!=null)switch(B){case"checked":break;case"value":break;case"defaultValue":x=Q;default:n.hasOwnProperty(B)||Ct(t,e,B,null,n,Q)}}for(var R in n){var B=n[R];if(Q=l[R],n.hasOwnProperty(R)&&(B!=null||Q!=null))switch(R){case"type":f=B;break;case"name":u=B;break;case"checked":w=B;break;case"defaultChecked":G=B;break;case"value":d=B;break;case"defaultValue":_=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(i(137,e));break;default:B!==Q&&Ct(t,e,R,B,n,Q)}}Bf(t,d,_,x,w,G,f,u);return;case"select":B=d=_=R=null;for(f in l)if(x=l[f],l.hasOwnProperty(f)&&x!=null)switch(f){case"value":break;case"multiple":B=x;default:n.hasOwnProperty(f)||Ct(t,e,f,null,n,x)}for(u in n)if(f=n[u],x=l[u],n.hasOwnProperty(u)&&(f!=null||x!=null))switch(u){case"value":R=f;break;case"defaultValue":_=f;break;case"multiple":d=f;default:f!==x&&Ct(t,e,u,f,n,x)}e=_,l=d,n=B,R!=null?fa(t,!!l,R,!1):!!n!=!!l&&(e!=null?fa(t,!!l,e,!0):fa(t,!!l,l?[]:"",!1));return;case"textarea":B=R=null;for(_ in l)if(u=l[_],l.hasOwnProperty(_)&&u!=null&&!n.hasOwnProperty(_))switch(_){case"value":break;case"children":break;default:Ct(t,e,_,null,n,u)}for(d in n)if(u=n[d],f=l[d],n.hasOwnProperty(d)&&(u!=null||f!=null))switch(d){case"value":R=u;break;case"defaultValue":B=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(i(91));break;default:u!==f&&Ct(t,e,d,u,n,f)}Yd(t,R,B);return;case"option":for(var lt in l)if(R=l[lt],l.hasOwnProperty(lt)&&R!=null&&!n.hasOwnProperty(lt))switch(lt){case"selected":t.selected=!1;break;default:Ct(t,e,lt,null,n,R)}for(x in n)if(R=n[x],B=l[x],n.hasOwnProperty(x)&&R!==B&&(R!=null||B!=null))switch(x){case"selected":t.selected=R&&typeof R!="function"&&typeof R!="symbol";break;default:Ct(t,e,x,R,n,B)}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 it in l)R=l[it],l.hasOwnProperty(it)&&R!=null&&!n.hasOwnProperty(it)&&Ct(t,e,it,null,n,R);for(w in n)if(R=n[w],B=l[w],n.hasOwnProperty(w)&&R!==B&&(R!=null||B!=null))switch(w){case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(i(137,e));break;default:Ct(t,e,w,R,n,B)}return;default:if(Lf(e)){for(var Dt in l)R=l[Dt],l.hasOwnProperty(Dt)&&R!==void 0&&!n.hasOwnProperty(Dt)&&zs(t,e,Dt,void 0,n,R);for(G in n)R=n[G],B=l[G],!n.hasOwnProperty(G)||R===B||R===void 0&&B===void 0||zs(t,e,G,R,n,B);return}}for(var O in l)R=l[O],l.hasOwnProperty(O)&&R!=null&&!n.hasOwnProperty(O)&&Ct(t,e,O,null,n,R);for(Q in n)R=n[Q],B=l[Q],!n.hasOwnProperty(Q)||R===B||R==null&&B==null||Ct(t,e,Q,R,n,B)}function Vm(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function ov(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,l=performance.getEntriesByType("resource"),n=0;n<l.length;n++){var u=l[n],f=u.transferSize,d=u.initiatorType,_=u.duration;if(f&&_&&Vm(d)){for(d=0,_=u.responseEnd,n+=1;n<l.length;n++){var x=l[n],w=x.startTime;if(w>_)break;var G=x.transferSize,Q=x.initiatorType;G&&Vm(Q)&&(x=x.responseEnd,d+=G*(x<_?1:(_-w)/(x-w)))}if(--n,e+=8*(f+d)/(u.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Es=null,As=null;function yr(t){return t.nodeType===9?t:t.ownerDocument}function Qm(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Zm(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function Ms(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Os=null;function dv(){var t=window.event;return t&&t.type==="popstate"?t===Os?!1:(Os=t,!0):(Os=null,!1)}var Km=typeof setTimeout=="function"?setTimeout:void 0,hv=typeof clearTimeout=="function"?clearTimeout:void 0,Jm=typeof Promise=="function"?Promise:void 0,mv=typeof queueMicrotask=="function"?queueMicrotask:typeof Jm<"u"?function(t){return Jm.resolve(null).then(t).catch(yv)}:Km;function yv(t){setTimeout(function(){throw t})}function on(t){return t==="head"}function Fm(t,e){var l=e,n=0;do{var u=l.nextSibling;if(t.removeChild(l),u&&u.nodeType===8)if(l=u.data,l==="/$"||l==="/&"){if(n===0){t.removeChild(u),Ya(e);return}n--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")n++;else if(l==="html")Vi(t.ownerDocument.documentElement);else if(l==="head"){l=t.ownerDocument.head,Vi(l);for(var f=l.firstChild;f;){var d=f.nextSibling,_=f.nodeName;f[fi]||_==="SCRIPT"||_==="STYLE"||_==="LINK"&&f.rel.toLowerCase()==="stylesheet"||l.removeChild(f),f=d}}else l==="body"&&Vi(t.ownerDocument.body);l=u}while(l);Ya(e)}function Wm(t,e){var l=t;t=0;do{var n=l.nextSibling;if(l.nodeType===1?e?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(e?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),n&&n.nodeType===8)if(l=n.data,l==="/$"){if(t===0)break;t--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||t++;l=n}while(l)}function Cs(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var l=e;switch(e=e.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Cs(l),Nf(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function pv(t,e,l,n){for(;t.nodeType===1;){var u=l;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!n&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(n){if(!t[fi])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(f=t.getAttribute("rel"),f==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(f!==u.rel||t.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||t.getAttribute("title")!==(u.title==null?null:u.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(f=t.getAttribute("src"),(f!==(u.src==null?null:u.src)||t.getAttribute("type")!==(u.type==null?null:u.type)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&f&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var f=u.name==null?null:""+u.name;if(u.type==="hidden"&&t.getAttribute("name")===f)return t}else return t;if(t=el(t.nextSibling),t===null)break}return null}function gv(t,e,l){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=el(t.nextSibling),t===null))return null;return t}function $m(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=el(t.nextSibling),t===null))return null;return t}function Ds(t){return t.data==="$?"||t.data==="$~"}function ws(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function _v(t,e){var l=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||l.readyState!=="loading")e();else{var n=function(){e(),l.removeEventListener("DOMContentLoaded",n)};l.addEventListener("DOMContentLoaded",n),t._reactRetry=n}}function el(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var Rs=null;function Im(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="/$"||l==="/&"){if(e===0)return el(t.nextSibling);e--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||e++}t=t.nextSibling}return null}function Pm(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(e===0)return t;e--}else l!=="/$"&&l!=="/&"||e++}t=t.previousSibling}return null}function ty(t,e,l){switch(e=yr(l),t){case"html":if(t=e.documentElement,!t)throw Error(i(452));return t;case"head":if(t=e.head,!t)throw Error(i(453));return t;case"body":if(t=e.body,!t)throw Error(i(454));return t;default:throw Error(i(451))}}function Vi(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Nf(t)}var ll=new Map,ey=new Set;function pr(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var jl=N.d;N.d={f:vv,r:bv,D:Sv,C:xv,L:Tv,m:zv,X:Av,S:Ev,M:Mv};function vv(){var t=jl.f(),e=rr();return t||e}function bv(t){var e=ia(t);e!==null&&e.tag===5&&e.type==="form"?_0(e):jl.r(t)}var Ha=typeof document>"u"?null:document;function ly(t,e,l){var n=Ha;if(n&&typeof e=="string"&&e){var u=Je(e);u='link[rel="'+t+'"][href="'+u+'"]',typeof l=="string"&&(u+='[crossorigin="'+l+'"]'),ey.has(u)||(ey.add(u),t={rel:t,crossOrigin:l,href:e},n.querySelector(u)===null&&(e=n.createElement("link"),fe(e,"link",t),ee(e),n.head.appendChild(e)))}}function Sv(t){jl.D(t),ly("dns-prefetch",t,null)}function xv(t,e){jl.C(t,e),ly("preconnect",t,e)}function Tv(t,e,l){jl.L(t,e,l);var n=Ha;if(n&&t&&e){var u='link[rel="preload"][as="'+Je(e)+'"]';e==="image"&&l&&l.imageSrcSet?(u+='[imagesrcset="'+Je(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(u+='[imagesizes="'+Je(l.imageSizes)+'"]')):u+='[href="'+Je(t)+'"]';var f=u;switch(e){case"style":f=La(t);break;case"script":f=qa(t)}ll.has(f)||(t=b({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),ll.set(f,t),n.querySelector(u)!==null||e==="style"&&n.querySelector(Qi(f))||e==="script"&&n.querySelector(Zi(f))||(e=n.createElement("link"),fe(e,"link",t),ee(e),n.head.appendChild(e)))}}function zv(t,e){jl.m(t,e);var l=Ha;if(l&&t){var n=e&&typeof e.as=="string"?e.as:"script",u='link[rel="modulepreload"][as="'+Je(n)+'"][href="'+Je(t)+'"]',f=u;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=qa(t)}if(!ll.has(f)&&(t=b({rel:"modulepreload",href:t},e),ll.set(f,t),l.querySelector(u)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Zi(f)))return}n=l.createElement("link"),fe(n,"link",t),ee(n),l.head.appendChild(n)}}}function Ev(t,e,l){jl.S(t,e,l);var n=Ha;if(n&&t){var u=ua(n).hoistableStyles,f=La(t);e=e||"default";var d=u.get(f);if(!d){var _={loading:0,preload:null};if(d=n.querySelector(Qi(f)))_.loading=5;else{t=b({rel:"stylesheet",href:t,"data-precedence":e},l),(l=ll.get(f))&&Us(t,l);var x=d=n.createElement("link");ee(x),fe(x,"link",t),x._p=new Promise(function(w,G){x.onload=w,x.onerror=G}),x.addEventListener("load",function(){_.loading|=1}),x.addEventListener("error",function(){_.loading|=2}),_.loading|=4,gr(d,e,n)}d={type:"stylesheet",instance:d,count:1,state:_},u.set(f,d)}}}function Av(t,e){jl.X(t,e);var l=Ha;if(l&&t){var n=ua(l).hoistableScripts,u=qa(t),f=n.get(u);f||(f=l.querySelector(Zi(u)),f||(t=b({src:t,async:!0},e),(e=ll.get(u))&&Ns(t,e),f=l.createElement("script"),ee(f),fe(f,"link",t),l.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},n.set(u,f))}}function Mv(t,e){jl.M(t,e);var l=Ha;if(l&&t){var n=ua(l).hoistableScripts,u=qa(t),f=n.get(u);f||(f=l.querySelector(Zi(u)),f||(t=b({src:t,async:!0,type:"module"},e),(e=ll.get(u))&&Ns(t,e),f=l.createElement("script"),ee(f),fe(f,"link",t),l.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},n.set(u,f))}}function ny(t,e,l,n){var u=(u=mt.current)?pr(u):null;if(!u)throw Error(i(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=La(l.href),l=ua(u).hoistableStyles,n=l.get(e),n||(n={type:"style",instance:null,count:0,state:null},l.set(e,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=La(l.href);var f=ua(u).hoistableStyles,d=f.get(t);if(d||(u=u.ownerDocument||u,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},f.set(t,d),(f=u.querySelector(Qi(t)))&&!f._p&&(d.instance=f,d.state.loading=5),ll.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},ll.set(t,l),f||Ov(u,t,l,d.state))),e&&n===null)throw Error(i(528,""));return d}if(e&&n!==null)throw Error(i(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=qa(l),l=ua(u).hoistableScripts,n=l.get(e),n||(n={type:"script",instance:null,count:0,state:null},l.set(e,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,t))}}function La(t){return'href="'+Je(t)+'"'}function Qi(t){return'link[rel="stylesheet"]['+t+"]"}function ay(t){return b({},t,{"data-precedence":t.precedence,precedence:null})}function Ov(t,e,l,n){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?n.loading=1:(e=t.createElement("link"),n.preload=e,e.addEventListener("load",function(){return n.loading|=1}),e.addEventListener("error",function(){return n.loading|=2}),fe(e,"link",l),ee(e),t.head.appendChild(e))}function qa(t){return'[src="'+Je(t)+'"]'}function Zi(t){return"script[async]"+t}function iy(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var n=t.querySelector('style[data-href~="'+Je(l.href)+'"]');if(n)return e.instance=n,ee(n),n;var u=b({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return n=(t.ownerDocument||t).createElement("style"),ee(n),fe(n,"style",u),gr(n,l.precedence,t),e.instance=n;case"stylesheet":u=La(l.href);var f=t.querySelector(Qi(u));if(f)return e.state.loading|=4,e.instance=f,ee(f),f;n=ay(l),(u=ll.get(u))&&Us(n,u),f=(t.ownerDocument||t).createElement("link"),ee(f);var d=f;return d._p=new Promise(function(_,x){d.onload=_,d.onerror=x}),fe(f,"link",n),e.state.loading|=4,gr(f,l.precedence,t),e.instance=f;case"script":return f=qa(l.src),(u=t.querySelector(Zi(f)))?(e.instance=u,ee(u),u):(n=l,(u=ll.get(f))&&(n=b({},l),Ns(n,u)),t=t.ownerDocument||t,u=t.createElement("script"),ee(u),fe(u,"link",n),t.head.appendChild(u),e.instance=u);case"void":return null;default:throw Error(i(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(n=e.instance,e.state.loading|=4,gr(n,l.precedence,t));return e.instance}function gr(t,e,l){for(var n=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=n.length?n[n.length-1]:null,f=u,d=0;d<n.length;d++){var _=n[d];if(_.dataset.precedence===e)f=_;else if(f!==u)break}f?f.parentNode.insertBefore(t,f.nextSibling):(e=l.nodeType===9?l.head:l,e.insertBefore(t,e.firstChild))}function Us(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Ns(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var _r=null;function uy(t,e,l){if(_r===null){var n=new Map,u=_r=new Map;u.set(l,n)}else u=_r,n=u.get(l),n||(n=new Map,u.set(l,n));if(n.has(t))return n;for(n.set(t,null),l=l.getElementsByTagName(t),u=0;u<l.length;u++){var f=l[u];if(!(f[fi]||f[ae]||t==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!=="http://www.w3.org/2000/svg"){var d=f.getAttribute(e)||"";d=t+d;var _=n.get(d);_?_.push(f):n.set(d,[f])}}return n}function ry(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function Cv(t,e,l){if(l===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function fy(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Dv(t,e,l,n){if(l.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var u=La(n.href),f=e.querySelector(Qi(u));if(f){e=f._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=vr.bind(t),e.then(t,t)),l.state.loading|=4,l.instance=f,ee(f);return}f=e.ownerDocument||e,n=ay(n),(u=ll.get(u))&&Us(n,u),f=f.createElement("link"),ee(f);var d=f;d._p=new Promise(function(_,x){d.onload=_,d.onerror=x}),fe(f,"link",n),l.instance=f}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(l,e),(e=l.state.preload)&&(l.state.loading&3)===0&&(t.count++,l=vr.bind(t),e.addEventListener("load",l),e.addEventListener("error",l))}}var js=0;function wv(t,e){return t.stylesheets&&t.count===0&&Sr(t,t.stylesheets),0<t.count||0<t.imgCount?function(l){var n=setTimeout(function(){if(t.stylesheets&&Sr(t,t.stylesheets),t.unsuspend){var f=t.unsuspend;t.unsuspend=null,f()}},6e4+e);0<t.imgBytes&&js===0&&(js=62500*ov());var u=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Sr(t,t.stylesheets),t.unsuspend)){var f=t.unsuspend;t.unsuspend=null,f()}},(t.imgBytes>js?50:800)+e);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(n),clearTimeout(u)}}:null}function vr(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Sr(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var br=null;function Sr(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,br=new Map,e.forEach(Rv,t),br=null,vr.call(t))}function Rv(t,e){if(!(e.state.loading&4)){var l=br.get(t);if(l)var n=l.get(null);else{l=new Map,br.set(t,l);for(var u=t.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<u.length;f++){var d=u[f];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(l.set(d.dataset.precedence,d),n=d)}n&&l.set(null,n)}u=e.instance,d=u.getAttribute("data-precedence"),f=l.get(d)||n,f===n&&l.set(null,u),l.set(d,u),this.count++,n=vr.bind(this),u.addEventListener("load",n),u.addEventListener("error",n),f?f.parentNode.insertBefore(u,f.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(u,t.firstChild)),e.state.loading|=4}}var Ki={$$typeof:Y,Provider:null,Consumer:null,_currentValue:P,_currentValue2:P,_threadCount:0};function Uv(t,e,l,n,u,f,d,_,x){this.tag=1,this.containerInfo=t,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=Df(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Df(0),this.hiddenUpdates=Df(null),this.identifierPrefix=n,this.onUncaughtError=u,this.onCaughtError=f,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=x,this.incompleteTransitions=new Map}function cy(t,e,l,n,u,f,d,_,x,w,G,Q){return t=new Uv(t,e,l,d,x,w,G,Q,_),e=1,f===!0&&(e|=24),f=Le(3,null,null,e),t.current=f,f.stateNode=t,e=mc(),e.refCount++,t.pooledCache=e,e.refCount++,f.memoizedState={element:n,isDehydrated:l,cache:e},_c(f),t}function sy(t){return t?(t=pa,t):pa}function oy(t,e,l,n,u,f){u=sy(u),n.context===null?n.context=u:n.pendingContext=u,n=Pl(e),n.payload={element:l},f=f===void 0?null:f,f!==null&&(n.callback=f),l=tn(t,n,e),l!==null&&(Ae(l,t,e),Ei(l,t,e))}function dy(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<e?l:e}}function Bs(t,e){dy(t,e),(t=t.alternate)&&dy(t,e)}function hy(t){if(t.tag===13||t.tag===31){var e=Rn(t,67108864);e!==null&&Ae(e,t,67108864),Bs(t,67108864)}}function my(t){if(t.tag===13||t.tag===31){var e=ke();e=wf(e);var l=Rn(t,e);l!==null&&Ae(l,t,e),Bs(t,e)}}var xr=!0;function Nv(t,e,l,n){var u=U.T;U.T=null;var f=N.p;try{N.p=2,Hs(t,e,l,n)}finally{N.p=f,U.T=u}}function jv(t,e,l,n){var u=U.T;U.T=null;var f=N.p;try{N.p=8,Hs(t,e,l,n)}finally{N.p=f,U.T=u}}function Hs(t,e,l,n){if(xr){var u=Ls(n);if(u===null)Ts(t,e,n,Tr,l),py(t,n);else if(Hv(u,t,e,l,n))n.stopPropagation();else if(py(t,n),e&4&&-1<Bv.indexOf(t)){for(;u!==null;){var f=ia(u);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var d=Mn(f.pendingLanes);if(d!==0){var _=f;for(_.pendingLanes|=2,_.entangledLanes|=2;d;){var x=1<<31-Be(d);_.entanglements[1]|=x,d&=~x}hl(f),(zt&6)===0&&(ir=Ne()+500,Gi(0))}}break;case 31:case 13:_=Rn(f,2),_!==null&&Ae(_,f,2),rr(),Bs(f,2)}if(f=Ls(n),f===null&&Ts(t,e,n,Tr,l),f===u)break;u=f}u!==null&&n.stopPropagation()}else Ts(t,e,n,null,l)}}function Ls(t){return t=Yf(t),qs(t)}var Tr=null;function qs(t){if(Tr=null,t=aa(t),t!==null){var e=s(t);if(e===null)t=null;else{var l=e.tag;if(l===13){if(t=o(e),t!==null)return t;t=null}else if(l===31){if(t=h(e),t!==null)return t;t=null}else if(l===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Tr=t,null}function yy(t){switch(t){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(Sg()){case Td:return 2;case zd:return 8;case du:case xg:return 32;case Ed:return 268435456;default:return 32}default:return 32}}var Ys=!1,dn=null,hn=null,mn=null,Ji=new Map,Fi=new Map,yn=[],Bv="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 py(t,e){switch(t){case"focusin":case"focusout":dn=null;break;case"dragenter":case"dragleave":hn=null;break;case"mouseover":case"mouseout":mn=null;break;case"pointerover":case"pointerout":Ji.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Fi.delete(e.pointerId)}}function Wi(t,e,l,n,u,f){return t===null||t.nativeEvent!==f?(t={blockedOn:e,domEventName:l,eventSystemFlags:n,nativeEvent:f,targetContainers:[u]},e!==null&&(e=ia(e),e!==null&&hy(e)),t):(t.eventSystemFlags|=n,e=t.targetContainers,u!==null&&e.indexOf(u)===-1&&e.push(u),t)}function Hv(t,e,l,n,u){switch(e){case"focusin":return dn=Wi(dn,t,e,l,n,u),!0;case"dragenter":return hn=Wi(hn,t,e,l,n,u),!0;case"mouseover":return mn=Wi(mn,t,e,l,n,u),!0;case"pointerover":var f=u.pointerId;return Ji.set(f,Wi(Ji.get(f)||null,t,e,l,n,u)),!0;case"gotpointercapture":return f=u.pointerId,Fi.set(f,Wi(Fi.get(f)||null,t,e,l,n,u)),!0}return!1}function gy(t){var e=aa(t.target);if(e!==null){var l=s(e);if(l!==null){if(e=l.tag,e===13){if(e=o(l),e!==null){t.blockedOn=e,wd(t.priority,function(){my(l)});return}}else if(e===31){if(e=h(l),e!==null){t.blockedOn=e,wd(t.priority,function(){my(l)});return}}else if(e===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function zr(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=Ls(t.nativeEvent);if(l===null){l=t.nativeEvent;var n=new l.constructor(l.type,l);qf=n,l.target.dispatchEvent(n),qf=null}else return e=ia(l),e!==null&&hy(e),t.blockedOn=l,!1;e.shift()}return!0}function _y(t,e,l){zr(t)&&l.delete(e)}function Lv(){Ys=!1,dn!==null&&zr(dn)&&(dn=null),hn!==null&&zr(hn)&&(hn=null),mn!==null&&zr(mn)&&(mn=null),Ji.forEach(_y),Fi.forEach(_y)}function Er(t,e){t.blockedOn===e&&(t.blockedOn=null,Ys||(Ys=!0,m.unstable_scheduleCallback(m.unstable_NormalPriority,Lv)))}var Ar=null;function vy(t){Ar!==t&&(Ar=t,m.unstable_scheduleCallback(m.unstable_NormalPriority,function(){Ar===t&&(Ar=null);for(var e=0;e<t.length;e+=3){var l=t[e],n=t[e+1],u=t[e+2];if(typeof n!="function"){if(qs(n||l)===null)continue;break}var f=ia(l);f!==null&&(t.splice(e,3),e-=3,Lc(f,{pending:!0,data:u,method:l.method,action:n},n,u))}}))}function Ya(t){function e(x){return Er(x,t)}dn!==null&&Er(dn,t),hn!==null&&Er(hn,t),mn!==null&&Er(mn,t),Ji.forEach(e),Fi.forEach(e);for(var l=0;l<yn.length;l++){var n=yn[l];n.blockedOn===t&&(n.blockedOn=null)}for(;0<yn.length&&(l=yn[0],l.blockedOn===null);)gy(l),l.blockedOn===null&&yn.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(n=0;n<l.length;n+=3){var u=l[n],f=l[n+1],d=u[be]||null;if(typeof f=="function")d||vy(l);else if(d){var _=null;if(f&&f.hasAttribute("formAction")){if(u=f,d=f[be]||null)_=d.formAction;else if(qs(u)!==null)continue}else _=d.action;typeof _=="function"?l[n+1]=_:(l.splice(n,3),n-=3),vy(l)}}}function by(){function t(f){f.canIntercept&&f.info==="react-transition"&&f.intercept({handler:function(){return new Promise(function(d){return u=d})},focusReset:"manual",scroll:"manual"})}function e(){u!==null&&(u(),u=null),n||setTimeout(l,20)}function l(){if(!n&&!navigation.transition){var f=navigation.currentEntry;f&&f.url!=null&&navigation.navigate(f.url,{state:f.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var n=!1,u=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(l,100),function(){n=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),u!==null&&(u(),u=null)}}}function Gs(t){this._internalRoot=t}Mr.prototype.render=Gs.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(i(409));var l=e.current,n=ke();oy(l,n,t,e,null,null)},Mr.prototype.unmount=Gs.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;oy(t.current,2,null,t,null,null),rr(),e[na]=null}};function Mr(t){this._internalRoot=t}Mr.prototype.unstable_scheduleHydration=function(t){if(t){var e=Dd();t={blockedOn:null,target:t,priority:e};for(var l=0;l<yn.length&&e!==0&&e<yn[l].priority;l++);yn.splice(l,0,t),l===0&&gy(t)}};var Sy=a.version;if(Sy!=="19.2.4")throw Error(i(527,Sy,"19.2.4"));N.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(i(188)):(t=Object.keys(t).join(","),Error(i(268,t)));return t=y(e),t=t!==null?g(t):null,t=t===null?null:t.stateNode,t};var qv={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Or=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Or.isDisabled&&Or.supportsFiber)try{ii=Or.inject(qv),je=Or}catch{}}return Xa.createRoot=function(t,e){if(!c(t))throw Error(i(299));var l=!1,n="",u=O0,f=C0,d=D0;return e!=null&&(e.unstable_strictMode===!0&&(l=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onUncaughtError!==void 0&&(u=e.onUncaughtError),e.onCaughtError!==void 0&&(f=e.onCaughtError),e.onRecoverableError!==void 0&&(d=e.onRecoverableError)),e=cy(t,1,!1,null,null,l,n,null,u,f,d,by),t[na]=e.current,xs(t),new Gs(e)},Xa.hydrateRoot=function(t,e,l){if(!c(t))throw Error(i(299));var n=!1,u="",f=O0,d=C0,_=D0,x=null;return l!=null&&(l.unstable_strictMode===!0&&(n=!0),l.identifierPrefix!==void 0&&(u=l.identifierPrefix),l.onUncaughtError!==void 0&&(f=l.onUncaughtError),l.onCaughtError!==void 0&&(d=l.onCaughtError),l.onRecoverableError!==void 0&&(_=l.onRecoverableError),l.formState!==void 0&&(x=l.formState)),e=cy(t,1,!0,e,l??null,n,u,x,f,d,_,by),e.context=sy(null),l=e.current,n=ke(),n=wf(n),u=Pl(n),u.callback=null,tn(l,u,n),l=n,e.current.lanes=l,ri(e,l),hl(e),t[na]=e.current,xs(t),new Mr(e)},Xa.version="19.2.4",Xa}var $s;function Dy(){if($s)return Dr.exports;$s=1;function m(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(m)}catch(a){console.error(a)}}return m(),Dr.exports=Cy(),Dr.exports}var wy=Dy(),W=Nr();const Is=2e3,Ps=3e4;function Ry(){try{const m=document.querySelectorAll('script[src*="overlay.js"]');for(const a of m){const r=a.src;if(r){const i=new URL(r);return`ws://${i.hostname}:${i.port}`}}}catch{}return"ws://localhost:3013"}function Uy(){const[m,a]=W.useState(!1),[r,i]=W.useState(null),c=W.useRef(null),s=W.useRef(0),o=W.useRef([]),h=W.useRef(null),p=W.useRef(Is),y=W.useRef(Ry()),g=W.useCallback(()=>{const S=c.current;if(!S||S.readyState!==WebSocket.OPEN)return;const A=o.current;for(;A.length>0;){const v=A.shift();console.log(`[Glyph] → ${v.type} (queued)`),S.send(JSON.stringify(v))}},[]),b=W.useCallback(()=>{var S;if(((S=c.current)==null?void 0:S.readyState)!==WebSocket.OPEN)try{const A=new WebSocket(y.current);A.onopen=()=>{a(!0),p.current=Is,console.log("[Glyph] WebSocket connected"),g()},A.onmessage=v=>{try{const C=JSON.parse(v.data);console.log(`[Glyph] ← ${C.type}`),s.current+=1,i({...C,_glyphInboxSeq:s.current})}catch{console.warn("[Glyph] Failed to parse WebSocket message:",v.data)}},A.onclose=()=>{a(!1),c.current=null;const v=p.current;p.current=Math.min(v*2,Ps),console.log(`[Glyph] WebSocket disconnected, reconnecting in ${v/1e3}s...`),h.current=setTimeout(b,v)},A.onerror=()=>{A.close()},c.current=A}catch{const A=p.current;p.current=Math.min(A*2,Ps),h.current=setTimeout(b,A)}},[g]),T=W.useCallback(S=>{var A;((A=c.current)==null?void 0:A.readyState)===WebSocket.OPEN?(console.log(`[Glyph] → ${S.type}`),c.current.send(JSON.stringify(S))):(o.current.push(S),console.warn("[Glyph] WebSocket not open — queued message. If this keeps happening, start the Glyph server and reload."))},[]);return W.useEffect(()=>(b(),()=>{h.current&&clearTimeout(h.current),c.current&&c.current.close()}),[b]),{connected:m,lastMessage:r,send:T}}function Ny(){const[m,a]=W.useState("hidden"),[r,i]=W.useState([]),[c,s]=W.useState({}),[o,h]=W.useState("My Project"),[p,y]=W.useState(null),[g,b]=W.useState(null),[T,S]=W.useState(null),[A,v]=W.useState(0),[C,j]=W.useState(0),[L,Y]=W.useState(null),[Z,q]=W.useState({}),J=W.useCallback(H=>{switch(H.type){case"variations:ready":{const M=H.payload;M!=null&&M.variations&&(console.log(`[Glyph] ${M.variations.length} variations ready for ${M.sourceFile}, opening panel`),y(M.sessionId),b(M.sourceFile),i(M.variations),s(M.previewUrls||{}),S(null),Y(null),q({}),a("panel"));break}case"variation:arrived":{const M=H.payload;M!=null&&M.variation&&(console.log(`[Glyph] ${M.variation.id} arrived, streaming to panel`),M.sessionId&&y(M.sessionId),M.sourceFile&&b(M.sourceFile),i(F=>[...F,M.variation]),M.previewUrl&&s(F=>({...F,[M.variation.id]:M.previewUrl})),a("panel"));break}case"variation:previewing":{const M=H.payload;M&&(console.log(`[Glyph] Previewing: ${M.id??"none"} (${M.index+1}/${M.total})`),S(M.id),v(M.index),j(M.total));break}case"variation:implemented":{const M=H.payload;M&&(console.log(`[Glyph] Implemented: ${M.variationId}`),Y(M.variationId));break}case"variation:error":{const M=H.payload;M&&console.warn(`[Glyph] Error: ${M.message}`);break}case"state:update":{const M=H.payload;M!=null&&M.projectName&&h(M.projectName);break}case"variations:branched":{const M=H.payload;M!=null&&M.variations&&(console.log(`[Glyph] Variations branched (parent: ${M.parentId}), re-rendering panel`),y(M.sessionId),b(M.sourceFile),i(M.variations),s(M.previewUrls||{}),S(null),q({}));break}case"variation:updated":{const M=H.payload;M&&(console.log(`[Glyph] Variation updated: ${M.variationId} (undo: ${M.undoDepth}, redo: ${M.redoDepth})`),q(F=>({...F,[M.variationId]:{undo:M.undoDepth,redo:M.redoDepth}})),M.previewUrl&&s(F=>({...F,[M.variationId]:M.previewUrl+"?t="+Date.now()})));break}case"annotations:cleared":{const M=H.payload;M&&console.log(`[Glyph] Annotations cleared for ${M.variationId}`);break}}},[]),V=W.useCallback(()=>{i([]),s({}),S(null),Y(null),q({}),b(null),a("hidden")},[]);return{state:m,variations:r,previewUrls:c,projectName:o,sessionId:p,sourceFile:g,previewingId:T,previewingIndex:A,variationTotal:C,implementedId:L,undoRedoMap:Z,setState:a,handleMessage:J,clearVariations:V}}function jy(){const[m,a]=W.useState({}),[r,i]=W.useState(new Set),c=W.useCallback(S=>m[S]??[],[m]),s=W.useCallback(S=>{var A;return((A=m[S])==null?void 0:A.length)??0},[m]),o=W.useCallback((S,A)=>{let v=0;return a(C=>{const j=C[S]??[],L=j.length+1;v=L;const Y={id:L,variationId:S,...A};return{...C,[S]:[...j,Y]}}),v},[]),h=W.useCallback((S,A)=>{a(v=>{const L=(v[S]??[]).filter(Y=>Y.id!==A).map((Y,Z)=>({...Y,id:Z+1}));return{...v,[S]:L}})},[]),p=W.useCallback(S=>{a(A=>{const v={...A};return delete v[S],v}),i(A=>{const v=new Set(A);return v.delete(S),v})},[]),y=W.useCallback(S=>r.has(S),[r]),g=W.useCallback((S,A)=>{i(v=>{const C=new Set(v);return A?C.add(S):C.delete(S),C})},[]),b=W.useCallback(()=>{a(S=>({...S}))},[]),T=Object.keys(m).filter(S=>{var A;return(((A=m[S])==null?void 0:A.length)??0)>0});return{getAnnotations:c,getCount:s,addAnnotation:o,removeAnnotation:h,clearAnnotations:p,isSubmitting:y,setSubmitting:g,updateBadgePositions:b,annotatedVariationIds:T}}function ml(m){if(m===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m}function to(m,a){m.prototype=Object.create(a.prototype),m.prototype.constructor=m,m.__proto__=a}/*!
50
50
  * GSAP 3.14.2
51
51
  * https://gsap.com
52
52
  *
53
53
  * @license Copyright 2008-2025, GreenSock. All rights reserved.
54
54
  * Subject to the terms at https://gsap.com/standard-license
55
55
  * @author: Jack Doyle, jack@greensock.com
56
- */var Me={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Qn={duration:.5,overwrite:!1,delay:0},Br,ne,Bt,Ve=1e8,wt=1/Ve,Hr=Math.PI*2,By=Hr/4,Hy=0,eo=Math.sqrt,Ly=Math.cos,qy=Math.sin,te=function(a){return typeof a=="string"},Gt=function(a){return typeof a=="function"},yl=function(a){return typeof a=="number"},Lr=function(a){return typeof a>"u"},ul=function(a){return typeof a=="object"},ye=function(a){return a!==!1},qr=function(){return typeof window<"u"},$i=function(a){return Gt(a)||te(a)},lo=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},se=Array.isArray,Yy=/random\([^)]+\)/g,Gy=/,\s*/g,no=/(?:-?\.?\d|\.)+/gi,ao=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Zn=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Yr=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,io=/[+-]=-?[.\d]+/,Xy=/[^,'"\[\]\s]+/gi,ky=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Lt,rl,Gr,Xr,Oe={},Ii={},uo,ro=function(a){return(Ii=Jn(a,Oe))&&_e},kr=function(a,r){return console.warn("Invalid property",a,"set to",r,"Missing plugin? gsap.registerPlugin()")},ka=function(a,r){return!r&&console.warn(a)},fo=function(a,r){return a&&(Oe[a]=r)&&Ii&&(Ii[a]=r)||Oe},Va=function(){return 0},Vy={suppressEvents:!0,isStart:!0,kill:!1},Pi={suppressEvents:!0,kill:!1},Qy={suppressEvents:!0},Vr={},Bl=[],Qr={},co,Ce={},Zr={},so=30,tu=[],Kr="",Jr=function(a){var r=a[0],i,c;if(ul(r)||Gt(r)||(a=[a]),!(i=(r._gsap||{}).harness)){for(c=tu.length;c--&&!tu[c].targetTest(r););i=tu[c]}for(c=a.length;c--;)a[c]&&(a[c]._gsap||(a[c]._gsap=new Yo(a[c],i)))||a.splice(c,1);return a},gn=function(a){return a._gsap||Jr(Ze(a))[0]._gsap},oo=function(a,r,i){return(i=a[r])&&Gt(i)?a[r]():Lr(i)&&a.getAttribute&&a.getAttribute(r)||i},pe=function(a,r){return(a=a.split(",")).forEach(r)||a},Vt=function(a){return Math.round(a*1e5)/1e5||0},qt=function(a){return Math.round(a*1e7)/1e7||0},Kn=function(a,r){var i=r.charAt(0),c=parseFloat(r.substr(2));return a=parseFloat(a),i==="+"?a+c:i==="-"?a-c:i==="*"?a*c:a/c},Zy=function(a,r){for(var i=r.length,c=0;a.indexOf(r[c])<0&&++c<i;);return c<i},eu=function(){var a=Bl.length,r=Bl.slice(0),i,c;for(Qr={},Bl.length=0,i=0;i<a;i++)c=r[i],c&&c._lazy&&(c.render(c._lazy[0],c._lazy[1],!0)._lazy=0)},Fr=function(a){return!!(a._initted||a._startAt||a.add)},ho=function(a,r,i,c){Bl.length&&!ne&&eu(),a.render(r,i,!!(ne&&r<0&&Fr(a))),Bl.length&&!ne&&eu()},mo=function(a){var r=parseFloat(a);return(r||r===0)&&(a+"").match(Xy).length<2?r:te(a)?a.trim():a},yo=function(a){return a},De=function(a,r){for(var i in r)i in a||(a[i]=r[i]);return a},Ky=function(a){return function(r,i){for(var c in i)c in r||c==="duration"&&a||c==="ease"||(r[c]=i[c])}},Jn=function(a,r){for(var i in r)a[i]=r[i];return a},po=function m(a,r){for(var i in r)i!=="__proto__"&&i!=="constructor"&&i!=="prototype"&&(a[i]=ul(r[i])?m(a[i]||(a[i]={}),r[i]):r[i]);return a},lu=function(a,r){var i={},c;for(c in a)c in r||(i[c]=a[c]);return i},Qa=function(a){var r=a.parent||Lt,i=a.keyframes?Ky(se(a.keyframes)):De;if(ye(a.inherit))for(;r;)i(a,r.vars.defaults),r=r.parent||r._dp;return a},Jy=function(a,r){for(var i=a.length,c=i===r.length;c&&i--&&a[i]===r[i];);return i<0},go=function(a,r,i,c,s){var o=a[c],h;if(s)for(h=r[s];o&&o[s]>h;)o=o._prev;return o?(r._next=o._next,o._next=r):(r._next=a[i],a[i]=r),r._next?r._next._prev=r:a[c]=r,r._prev=o,r.parent=r._dp=a,r},nu=function(a,r,i,c){i===void 0&&(i="_first"),c===void 0&&(c="_last");var s=r._prev,o=r._next;s?s._next=o:a[i]===r&&(a[i]=o),o?o._prev=s:a[c]===r&&(a[c]=s),r._next=r._prev=r.parent=null},Hl=function(a,r){a.parent&&(!r||a.parent.autoRemoveChildren)&&a.parent.remove&&a.parent.remove(a),a._act=0},_n=function(a,r){if(a&&(!r||r._end>a._dur||r._start<0))for(var i=a;i;)i._dirty=1,i=i.parent;return a},Fy=function(a){for(var r=a.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return a},Wr=function(a,r,i,c){return a._startAt&&(ne?a._startAt.revert(Pi):a.vars.immediateRender&&!a.vars.autoRevert||a._startAt.render(r,!0,c))},Wy=function m(a){return!a||a._ts&&m(a.parent)},_o=function(a){return a._repeat?Fn(a._tTime,a=a.duration()+a._rDelay)*a:0},Fn=function(a,r){var i=Math.floor(a=qt(a/r));return a&&i===a?i-1:i},au=function(a,r){return(a-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},iu=function(a){return a._end=qt(a._start+(a._tDur/Math.abs(a._ts||a._rts||wt)||0))},uu=function(a,r){var i=a._dp;return i&&i.smoothChildTiming&&a._ts&&(a._start=qt(i._time-(a._ts>0?r/a._ts:((a._dirty?a.totalDuration():a._tDur)-r)/-a._ts)),iu(a),i._dirty||_n(i,a)),a},vo=function(a,r){var i;if((r._time||!r._dur&&r._initted||r._start<a._time&&(r._dur||!r.add))&&(i=au(a.rawTime(),r),(!r._dur||Ka(0,r.totalDuration(),i)-r._tTime>wt)&&r.render(i,!0)),_n(a,r)._dp&&a._initted&&a._time>=a._dur&&a._ts){if(a._dur<a.duration())for(i=a;i._dp;)i.rawTime()>=0&&i.totalTime(i._tTime),i=i._dp;a._zTime=-wt}},fl=function(a,r,i,c){return r.parent&&Hl(r),r._start=qt((yl(i)?i:i||a!==Lt?Qe(a,i,r):a._time)+r._delay),r._end=qt(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),go(a,r,"_first","_last",a._sort?"_start":0),$r(r)||(a._recent=r),c||vo(a,r),a._ts<0&&uu(a,a._tTime),a},bo=function(a,r){return(Oe.ScrollTrigger||kr("scrollTrigger",r))&&Oe.ScrollTrigger.create(r,a)},So=function(a,r,i,c,s){if(rf(a,r,s),!a._initted)return 1;if(!i&&a._pt&&!ne&&(a._dur&&a.vars.lazy!==!1||!a._dur&&a.vars.lazy)&&co!==Re.frame)return Bl.push(a),a._lazy=[s,c],1},$y=function m(a){var r=a.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||m(r))},$r=function(a){var r=a.data;return r==="isFromStart"||r==="isStart"},Iy=function(a,r,i,c){var s=a.ratio,o=r<0||!r&&(!a._start&&$y(a)&&!(!a._initted&&$r(a))||(a._ts<0||a._dp._ts<0)&&!$r(a))?0:1,h=a._rDelay,p=0,y,g,b;if(h&&a._repeat&&(p=Ka(0,a._tDur,r),g=Fn(p,h),a._yoyo&&g&1&&(o=1-o),g!==Fn(a._tTime,h)&&(s=1-o,a.vars.repeatRefresh&&a._initted&&a.invalidate())),o!==s||ne||c||a._zTime===wt||!r&&a._zTime){if(!a._initted&&So(a,r,c,i,p))return;for(b=a._zTime,a._zTime=r||(i?wt:0),i||(i=r&&!b),a.ratio=o,a._from&&(o=1-o),a._time=0,a._tTime=p,y=a._pt;y;)y.r(o,y.d),y=y._next;r<0&&Wr(a,r,i,!0),a._onUpdate&&!i&&we(a,"onUpdate"),p&&a._repeat&&!i&&a.parent&&we(a,"onRepeat"),(r>=a._tDur||r<0)&&a.ratio===o&&(o&&Hl(a,1),!i&&!ne&&(we(a,o?"onComplete":"onReverseComplete",!0),a._prom&&a._prom()))}else a._zTime||(a._zTime=r)},Py=function(a,r,i){var c;if(i>r)for(c=a._first;c&&c._start<=i;){if(c.data==="isPause"&&c._start>r)return c;c=c._next}else for(c=a._last;c&&c._start>=i;){if(c.data==="isPause"&&c._start<r)return c;c=c._prev}},Wn=function(a,r,i,c){var s=a._repeat,o=qt(r)||0,h=a._tTime/a._tDur;return h&&!c&&(a._time*=o/a._dur),a._dur=o,a._tDur=s?s<0?1e10:qt(o*(s+1)+a._rDelay*s):o,h>0&&!c&&uu(a,a._tTime=a._tDur*h),a.parent&&iu(a),i||_n(a.parent,a),a},xo=function(a){return a instanceof de?_n(a):Wn(a,a._dur)},tp={_start:0,endTime:Va,totalDuration:Va},Qe=function m(a,r,i){var c=a.labels,s=a._recent||tp,o=a.duration()>=Ve?s.endTime(!1):a._dur,h,p,y;return te(r)&&(isNaN(r)||r in c)?(p=r.charAt(0),y=r.substr(-1)==="%",h=r.indexOf("="),p==="<"||p===">"?(h>=0&&(r=r.replace(/=/,"")),(p==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(r.substr(1))||0)*(y?(h<0?s:i).totalDuration()/100:1)):h<0?(r in c||(c[r]=o),c[r]):(p=parseFloat(r.charAt(h-1)+r.substr(h+1)),y&&i&&(p=p/100*(se(i)?i[0]:i).totalDuration()),h>1?m(a,r.substr(0,h-1),i)+p:o+p)):r==null?o:+r},Za=function(a,r,i){var c=yl(r[1]),s=(c?2:1)+(a<2?0:1),o=r[s],h,p;if(c&&(o.duration=r[1]),o.parent=i,a){for(h=o,p=i;p&&!("immediateRender"in h);)h=p.vars.defaults||{},p=ye(p.vars.inherit)&&p.parent;o.immediateRender=ye(h.immediateRender),a<2?o.runBackwards=1:o.startAt=r[s-1]}return new Jt(r[0],o,r[s+1])},Ll=function(a,r){return a||a===0?r(a):r},Ka=function(a,r,i){return i<a?a:i>r?r:i},oe=function(a,r){return!te(a)||!(r=ky.exec(a))?"":r[1]},ep=function(a,r,i){return Ll(i,function(c){return Ka(a,r,c)})},Ir=[].slice,To=function(a,r){return a&&ul(a)&&"length"in a&&(!r&&!a.length||a.length-1 in a&&ul(a[0]))&&!a.nodeType&&a!==rl},lp=function(a,r,i){return i===void 0&&(i=[]),a.forEach(function(c){var s;return te(c)&&!r||To(c,1)?(s=i).push.apply(s,Ze(c)):i.push(c)})||i},Ze=function(a,r,i){return Bt&&!r&&Bt.selector?Bt.selector(a):te(a)&&!i&&(Gr||!In())?Ir.call((r||Xr).querySelectorAll(a),0):se(a)?lp(a,i):To(a)?Ir.call(a,0):a?[a]:[]},Pr=function(a){return a=Ze(a)[0]||ka("Invalid scope")||{},function(r){var i=a.current||a.nativeElement||a;return Ze(r,i.querySelectorAll?i:i===a?ka("Invalid scope")||Xr.createElement("div"):a)}},zo=function(a){return a.sort(function(){return .5-Math.random()})},Eo=function(a){if(Gt(a))return a;var r=ul(a)?a:{each:a},i=vn(r.ease),c=r.from||0,s=parseFloat(r.base)||0,o={},h=c>0&&c<1,p=isNaN(c)||h,y=r.axis,g=c,b=c;return te(c)?g=b={center:.5,edges:.5,end:1}[c]||0:!h&&p&&(g=c[0],b=c[1]),function(T,S,M){var v=(M||r).length,C=o[v],j,L,Y,Z,q,J,V,H,A;if(!C){if(A=r.grid==="auto"?0:(r.grid||[1,Ve])[1],!A){for(V=-Ve;V<(V=M[A++].getBoundingClientRect().left)&&A<v;);A<v&&A--}for(C=o[v]=[],j=p?Math.min(A,v)*g-.5:c%A,L=A===Ve?0:p?v*b/A-.5:c/A|0,V=0,H=Ve,J=0;J<v;J++)Y=J%A-j,Z=L-(J/A|0),C[J]=q=y?Math.abs(y==="y"?Z:Y):eo(Y*Y+Z*Z),q>V&&(V=q),q<H&&(H=q);c==="random"&&zo(C),C.max=V-H,C.min=H,C.v=v=(parseFloat(r.amount)||parseFloat(r.each)*(A>v?v-1:y?y==="y"?v/A:A:Math.max(A,v/A))||0)*(c==="edges"?-1:1),C.b=v<0?s-v:s,C.u=oe(r.amount||r.each)||0,i=i&&v<0?Ho(i):i}return v=(C[T]-C.min)/C.max||0,qt(C.b+(i?i(v):v)*C.v)+C.u}},tf=function(a){var r=Math.pow(10,((a+"").split(".")[1]||"").length);return function(i){var c=qt(Math.round(parseFloat(i)/a)*a*r);return(c-c%1)/r+(yl(i)?0:oe(i))}},Ao=function(a,r){var i=se(a),c,s;return!i&&ul(a)&&(c=i=a.radius||Ve,a.values?(a=Ze(a.values),(s=!yl(a[0]))&&(c*=c)):a=tf(a.increment)),Ll(r,i?Gt(a)?function(o){return s=a(o),Math.abs(s-o)<=c?s:o}:function(o){for(var h=parseFloat(s?o.x:o),p=parseFloat(s?o.y:0),y=Ve,g=0,b=a.length,T,S;b--;)s?(T=a[b].x-h,S=a[b].y-p,T=T*T+S*S):T=Math.abs(a[b]-h),T<y&&(y=T,g=b);return g=!c||y<=c?a[g]:o,s||g===o||yl(o)?g:g+oe(o)}:tf(a))},Mo=function(a,r,i,c){return Ll(se(a)?!r:i===!0?!!(i=0):!c,function(){return se(a)?a[~~(Math.random()*a.length)]:(i=i||1e-5)&&(c=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((a-i/2+Math.random()*(r-a+i*.99))/i)*i*c)/c})},np=function(){for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return function(c){return r.reduce(function(s,o){return o(s)},c)}},ap=function(a,r){return function(i){return a(parseFloat(i))+(r||oe(i))}},ip=function(a,r,i){return Co(a,r,0,1,i)},Oo=function(a,r,i){return Ll(i,function(c){return a[~~r(c)]})},up=function m(a,r,i){var c=r-a;return se(a)?Oo(a,m(0,a.length),r):Ll(i,function(s){return(c+(s-a)%c)%c+a})},rp=function m(a,r,i){var c=r-a,s=c*2;return se(a)?Oo(a,m(0,a.length-1),r):Ll(i,function(o){return o=(s+(o-a)%s)%s||0,a+(o>c?s-o:o)})},Ja=function(a){return a.replace(Yy,function(r){var i=r.indexOf("[")+1,c=r.substring(i||7,i?r.indexOf("]"):r.length-1).split(Gy);return Mo(i?c:+c[0],i?0:+c[1],+c[2]||1e-5)})},Co=function(a,r,i,c,s){var o=r-a,h=c-i;return Ll(s,function(p){return i+((p-a)/o*h||0)})},fp=function m(a,r,i,c){var s=isNaN(a+r)?0:function(S){return(1-S)*a+S*r};if(!s){var o=te(a),h={},p,y,g,b,T;if(i===!0&&(c=1)&&(i=null),o)a={p:a},r={p:r};else if(se(a)&&!se(r)){for(g=[],b=a.length,T=b-2,y=1;y<b;y++)g.push(m(a[y-1],a[y]));b--,s=function(M){M*=b;var v=Math.min(T,~~M);return g[v](M-v)},i=r}else c||(a=Jn(se(a)?[]:{},a));if(!g){for(p in r)af.call(h,a,p,"get",r[p]);s=function(M){return sf(M,h)||(o?a.p:a)}}}return Ll(i,s)},Do=function(a,r,i){var c=a.labels,s=Ve,o,h,p;for(o in c)h=c[o]-r,h<0==!!i&&h&&s>(h=Math.abs(h))&&(p=o,s=h);return p},we=function(a,r,i){var c=a.vars,s=c[r],o=Bt,h=a._ctx,p,y,g;if(s)return p=c[r+"Params"],y=c.callbackScope||a,i&&Bl.length&&eu(),h&&(Bt=h),g=p?s.apply(y,p):s.call(y),Bt=o,g},Fa=function(a){return Hl(a),a.scrollTrigger&&a.scrollTrigger.kill(!!ne),a.progress()<1&&we(a,"onInterrupt"),a},$n,wo=[],Ro=function(a){if(a)if(a=!a.name&&a.default||a,qr()||a.headless){var r=a.name,i=Gt(a),c=r&&!i&&a.init?function(){this._props=[]}:a,s={init:Va,render:sf,add:af,kill:zp,modifier:Tp,rawVars:0},o={targetTest:0,get:0,getSetter:cf,aliases:{},register:0};if(In(),a!==c){if(Ce[r])return;De(c,De(lu(a,s),o)),Jn(c.prototype,Jn(s,lu(a,o))),Ce[c.prop=r]=c,a.targetTest&&(tu.push(c),Vr[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}fo(r,c),a.register&&a.register(_e,c,ge)}else wo.push(a)},Rt=255,Wa={aqua:[0,Rt,Rt],lime:[0,Rt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Rt],navy:[0,0,128],white:[Rt,Rt,Rt],olive:[128,128,0],yellow:[Rt,Rt,0],orange:[Rt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Rt,0,0],pink:[Rt,192,203],cyan:[0,Rt,Rt],transparent:[Rt,Rt,Rt,0]},ef=function(a,r,i){return a+=a<0?1:a>1?-1:0,(a*6<1?r+(i-r)*a*6:a<.5?i:a*3<2?r+(i-r)*(2/3-a)*6:r)*Rt+.5|0},Uo=function(a,r,i){var c=a?yl(a)?[a>>16,a>>8&Rt,a&Rt]:0:Wa.black,s,o,h,p,y,g,b,T,S,M;if(!c){if(a.substr(-1)===","&&(a=a.substr(0,a.length-1)),Wa[a])c=Wa[a];else if(a.charAt(0)==="#"){if(a.length<6&&(s=a.charAt(1),o=a.charAt(2),h=a.charAt(3),a="#"+s+s+o+o+h+h+(a.length===5?a.charAt(4)+a.charAt(4):"")),a.length===9)return c=parseInt(a.substr(1,6),16),[c>>16,c>>8&Rt,c&Rt,parseInt(a.substr(7),16)/255];a=parseInt(a.substr(1),16),c=[a>>16,a>>8&Rt,a&Rt]}else if(a.substr(0,3)==="hsl"){if(c=M=a.match(no),!r)p=+c[0]%360/360,y=+c[1]/100,g=+c[2]/100,o=g<=.5?g*(y+1):g+y-g*y,s=g*2-o,c.length>3&&(c[3]*=1),c[0]=ef(p+1/3,s,o),c[1]=ef(p,s,o),c[2]=ef(p-1/3,s,o);else if(~a.indexOf("="))return c=a.match(ao),i&&c.length<4&&(c[3]=1),c}else c=a.match(no)||Wa.transparent;c=c.map(Number)}return r&&!M&&(s=c[0]/Rt,o=c[1]/Rt,h=c[2]/Rt,b=Math.max(s,o,h),T=Math.min(s,o,h),g=(b+T)/2,b===T?p=y=0:(S=b-T,y=g>.5?S/(2-b-T):S/(b+T),p=b===s?(o-h)/S+(o<h?6:0):b===o?(h-s)/S+2:(s-o)/S+4,p*=60),c[0]=~~(p+.5),c[1]=~~(y*100+.5),c[2]=~~(g*100+.5)),i&&c.length<4&&(c[3]=1),c},No=function(a){var r=[],i=[],c=-1;return a.split(ql).forEach(function(s){var o=s.match(Zn)||[];r.push.apply(r,o),i.push(c+=o.length+1)}),r.c=i,r},jo=function(a,r,i){var c="",s=(a+c).match(ql),o=r?"hsla(":"rgba(",h=0,p,y,g,b;if(!s)return a;if(s=s.map(function(T){return(T=Uo(T,r,1))&&o+(r?T[0]+","+T[1]+"%,"+T[2]+"%,"+T[3]:T.join(","))+")"}),i&&(g=No(a),p=i.c,p.join(c)!==g.c.join(c)))for(y=a.replace(ql,"1").split(Zn),b=y.length-1;h<b;h++)c+=y[h]+(~p.indexOf(h)?s.shift()||o+"0,0,0,0)":(g.length?g:s.length?s:i).shift());if(!y)for(y=a.split(ql),b=y.length-1;h<b;h++)c+=y[h]+s[h];return c+y[b]},ql=(function(){var m="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",a;for(a in Wa)m+="|"+a+"\\b";return new RegExp(m+")","gi")})(),cp=/hsl[a]?\(/,Bo=function(a){var r=a.join(" "),i;if(ql.lastIndex=0,ql.test(r))return i=cp.test(r),a[1]=jo(a[1],i),a[0]=jo(a[0],i,No(a[1])),!0},$a,Re=(function(){var m=Date.now,a=500,r=33,i=m(),c=i,s=1e3/240,o=s,h=[],p,y,g,b,T,S,M=function v(C){var j=m()-c,L=C===!0,Y,Z,q,J;if((j>a||j<0)&&(i+=j-r),c+=j,q=c-i,Y=q-o,(Y>0||L)&&(J=++b.frame,T=q-b.time*1e3,b.time=q=q/1e3,o+=Y+(Y>=s?4:s-Y),Z=1),L||(p=y(v)),Z)for(S=0;S<h.length;S++)h[S](q,T,J,C)};return b={time:0,frame:0,tick:function(){M(!0)},deltaRatio:function(C){return T/(1e3/(C||60))},wake:function(){uo&&(!Gr&&qr()&&(rl=Gr=window,Xr=rl.document||{},Oe.gsap=_e,(rl.gsapVersions||(rl.gsapVersions=[])).push(_e.version),ro(Ii||rl.GreenSockGlobals||!rl.gsap&&rl||{}),wo.forEach(Ro)),g=typeof requestAnimationFrame<"u"&&requestAnimationFrame,p&&b.sleep(),y=g||function(C){return setTimeout(C,o-b.time*1e3+1|0)},$a=1,M(2))},sleep:function(){(g?cancelAnimationFrame:clearTimeout)(p),$a=0,y=Va},lagSmoothing:function(C,j){a=C||1/0,r=Math.min(j||33,a)},fps:function(C){s=1e3/(C||240),o=b.time*1e3+s},add:function(C,j,L){var Y=j?function(Z,q,J,V){C(Z,q,J,V),b.remove(Y)}:C;return b.remove(C),h[L?"unshift":"push"](Y),In(),Y},remove:function(C,j){~(j=h.indexOf(C))&&h.splice(j,1)&&S>=j&&S--},_listeners:h},b})(),In=function(){return!$a&&Re.wake()},vt={},sp=/^[\d.\-M][\d.\-,\s]/,op=/["']/g,dp=function(a){for(var r={},i=a.substr(1,a.length-3).split(":"),c=i[0],s=1,o=i.length,h,p,y;s<o;s++)p=i[s],h=s!==o-1?p.lastIndexOf(","):p.length,y=p.substr(0,h),r[c]=isNaN(y)?y.replace(op,"").trim():+y,c=p.substr(h+1).trim();return r},hp=function(a){var r=a.indexOf("(")+1,i=a.indexOf(")"),c=a.indexOf("(",r);return a.substring(r,~c&&c<i?a.indexOf(")",i+1):i)},mp=function(a){var r=(a+"").split("("),i=vt[r[0]];return i&&r.length>1&&i.config?i.config.apply(null,~a.indexOf("{")?[dp(r[1])]:hp(a).split(",").map(mo)):vt._CE&&sp.test(a)?vt._CE("",a):i},Ho=function(a){return function(r){return 1-a(1-r)}},Lo=function m(a,r){for(var i=a._first,c;i;)i instanceof de?m(i,r):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==r&&(i.timeline?m(i.timeline,r):(c=i._ease,i._ease=i._yEase,i._yEase=c,i._yoyo=r)),i=i._next},vn=function(a,r){return a&&(Gt(a)?a:vt[a]||mp(a))||r},bn=function(a,r,i,c){i===void 0&&(i=function(p){return 1-r(1-p)}),c===void 0&&(c=function(p){return p<.5?r(p*2)/2:1-r((1-p)*2)/2});var s={easeIn:r,easeOut:i,easeInOut:c},o;return pe(a,function(h){vt[h]=Oe[h]=s,vt[o=h.toLowerCase()]=i;for(var p in s)vt[o+(p==="easeIn"?".in":p==="easeOut"?".out":".inOut")]=vt[h+"."+p]=s[p]}),s},qo=function(a){return function(r){return r<.5?(1-a(1-r*2))/2:.5+a((r-.5)*2)/2}},lf=function m(a,r,i){var c=r>=1?r:1,s=(i||(a?.3:.45))/(r<1?r:1),o=s/Hr*(Math.asin(1/c)||0),h=function(g){return g===1?1:c*Math.pow(2,-10*g)*qy((g-o)*s)+1},p=a==="out"?h:a==="in"?function(y){return 1-h(1-y)}:qo(h);return s=Hr/s,p.config=function(y,g){return m(a,y,g)},p},nf=function m(a,r){r===void 0&&(r=1.70158);var i=function(o){return o?--o*o*((r+1)*o+r)+1:0},c=a==="out"?i:a==="in"?function(s){return 1-i(1-s)}:qo(i);return c.config=function(s){return m(a,s)},c};pe("Linear,Quad,Cubic,Quart,Quint,Strong",function(m,a){var r=a<5?a+1:a;bn(m+",Power"+(r-1),a?function(i){return Math.pow(i,r)}:function(i){return i},function(i){return 1-Math.pow(1-i,r)},function(i){return i<.5?Math.pow(i*2,r)/2:1-Math.pow((1-i)*2,r)/2})}),vt.Linear.easeNone=vt.none=vt.Linear.easeIn,bn("Elastic",lf("in"),lf("out"),lf()),(function(m,a){var r=1/a,i=2*r,c=2.5*r,s=function(h){return h<r?m*h*h:h<i?m*Math.pow(h-1.5/a,2)+.75:h<c?m*(h-=2.25/a)*h+.9375:m*Math.pow(h-2.625/a,2)+.984375};bn("Bounce",function(o){return 1-s(1-o)},s)})(7.5625,2.75),bn("Expo",function(m){return Math.pow(2,10*(m-1))*m+m*m*m*m*m*m*(1-m)}),bn("Circ",function(m){return-(eo(1-m*m)-1)}),bn("Sine",function(m){return m===1?1:-Ly(m*By)+1}),bn("Back",nf("in"),nf("out"),nf()),vt.SteppedEase=vt.steps=Oe.SteppedEase={config:function(a,r){a===void 0&&(a=1);var i=1/a,c=a+(r?0:1),s=r?1:0,o=1-wt;return function(h){return((c*Ka(0,o,h)|0)+s)*i}}},Qn.ease=vt["quad.out"],pe("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(m){return Kr+=m+","+m+"Params,"});var Yo=function(a,r){this.id=Hy++,a._gsap=this,this.target=a,this.harness=r,this.get=r?r.get:oo,this.set=r?r.getSetter:cf},Ia=(function(){function m(r){this.vars=r,this._delay=+r.delay||0,(this._repeat=r.repeat===1/0?-2:r.repeat||0)&&(this._rDelay=r.repeatDelay||0,this._yoyo=!!r.yoyo||!!r.yoyoEase),this._ts=1,Wn(this,+r.duration,1,1),this.data=r.data,Bt&&(this._ctx=Bt,Bt.data.push(this)),$a||Re.wake()}var a=m.prototype;return a.delay=function(i){return i||i===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+i-this._delay),this._delay=i,this):this._delay},a.duration=function(i){return arguments.length?this.totalDuration(this._repeat>0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},a.totalDuration=function(i){return arguments.length?(this._dirty=0,Wn(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},a.totalTime=function(i,c){if(In(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(uu(this,i),!s._dp||s.parent||vo(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i<this._tDur||this._ts<0&&i>0||!this._tDur&&!i)&&fl(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!c||this._initted&&Math.abs(this._zTime)===wt||!this._initted&&this._dur&&i||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),ho(this,i,c)),this},a.time=function(i,c){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+_o(this))%(this._dur+this._rDelay)||(i?this._dur:0),c):this._time},a.totalProgress=function(i,c){return arguments.length?this.totalTime(this.totalDuration()*i,c):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},a.progress=function(i,c){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+_o(this),c):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},a.iteration=function(i,c){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*s,c):this._repeat?Fn(this._tTime,s)+1:1},a.timeScale=function(i,c){if(!arguments.length)return this._rts===-wt?0:this._rts;if(this._rts===i)return this;var s=this.parent&&this._ts?au(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-wt?0:this._rts,this.totalTime(Ka(-Math.abs(this._delay),this.totalDuration(),s),c!==!1),iu(this),Fy(this)},a.paused=function(i){return arguments.length?(this._ps!==i&&(this._ps=i,i?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(In(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==wt&&(this._tTime-=wt)))),this):this._ps},a.startTime=function(i){if(arguments.length){this._start=qt(i);var c=this.parent||this._dp;return c&&(c._sort||!this.parent)&&fl(c,this,this._start-this._delay),this}return this._start},a.endTime=function(i){return this._start+(ye(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},a.rawTime=function(i){var c=this.parent||this._dp;return c?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?au(c.rawTime(i),this):this._tTime:this._tTime},a.revert=function(i){i===void 0&&(i=Qy);var c=ne;return ne=i,Fr(this)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),ne=c,this},a.globalTime=function(i){for(var c=this,s=arguments.length?i:c.rawTime();c;)s=c._start+s/(Math.abs(c._ts)||1),c=c._dp;return!this.parent&&this._sat?this._sat.globalTime(i):s},a.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,xo(this)):this._repeat===-2?1/0:this._repeat},a.repeatDelay=function(i){if(arguments.length){var c=this._time;return this._rDelay=i,xo(this),c?this.time(c):this}return this._rDelay},a.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},a.seek=function(i,c){return this.totalTime(Qe(this,i),ye(c))},a.restart=function(i,c){return this.play().totalTime(i?-this._delay:0,ye(c)),this._dur||(this._zTime=-wt),this},a.play=function(i,c){return i!=null&&this.seek(i,c),this.reversed(!1).paused(!1)},a.reverse=function(i,c){return i!=null&&this.seek(i||this.totalDuration(),c),this.reversed(!0).paused(!1)},a.pause=function(i,c){return i!=null&&this.seek(i,c),this.paused(!0)},a.resume=function(){return this.paused(!1)},a.reversed=function(i){return arguments.length?(!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-wt:0)),this):this._rts<0},a.invalidate=function(){return this._initted=this._act=0,this._zTime=-wt,this},a.isActive=function(){var i=this.parent||this._dp,c=this._start,s;return!!(!i||this._ts&&this._initted&&i.isActive()&&(s=i.rawTime(!0))>=c&&s<this.endTime(!0)-wt)},a.eventCallback=function(i,c,s){var o=this.vars;return arguments.length>1?(c?(o[i]=c,s&&(o[i+"Params"]=s),i==="onUpdate"&&(this._onUpdate=c)):delete o[i],this):o[i]},a.then=function(i){var c=this,s=c._prom;return new Promise(function(o){var h=Gt(i)?i:yo,p=function(){var g=c.then;c.then=null,s&&s(),Gt(h)&&(h=h(c))&&(h.then||h===c)&&(c.then=g),o(h),c.then=g};c._initted&&c.totalProgress()===1&&c._ts>=0||!c._tTime&&c._ts<0?p():c._prom=p})},a.kill=function(){Fa(this)},m})();De(Ia.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-wt,_prom:0,_ps:!1,_rts:1});var de=(function(m){to(a,m);function a(i,c){var s;return i===void 0&&(i={}),s=m.call(this,i)||this,s.labels={},s.smoothChildTiming=!!i.smoothChildTiming,s.autoRemoveChildren=!!i.autoRemoveChildren,s._sort=ye(i.sortChildren),Lt&&fl(i.parent||Lt,ml(s),c),i.reversed&&s.reverse(),i.paused&&s.paused(!0),i.scrollTrigger&&bo(ml(s),i.scrollTrigger),s}var r=a.prototype;return r.to=function(c,s,o){return Za(0,arguments,this),this},r.from=function(c,s,o){return Za(1,arguments,this),this},r.fromTo=function(c,s,o,h){return Za(2,arguments,this),this},r.set=function(c,s,o){return s.duration=0,s.parent=this,Qa(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new Jt(c,s,Qe(this,o),1),this},r.call=function(c,s,o){return fl(this,Jt.delayedCall(0,c,s),o)},r.staggerTo=function(c,s,o,h,p,y,g){return o.duration=s,o.stagger=o.stagger||h,o.onComplete=y,o.onCompleteParams=g,o.parent=this,new Jt(c,o,Qe(this,p)),this},r.staggerFrom=function(c,s,o,h,p,y,g){return o.runBackwards=1,Qa(o).immediateRender=ye(o.immediateRender),this.staggerTo(c,s,o,h,p,y,g)},r.staggerFromTo=function(c,s,o,h,p,y,g,b){return h.startAt=o,Qa(h).immediateRender=ye(h.immediateRender),this.staggerTo(c,s,h,p,y,g,b)},r.render=function(c,s,o){var h=this._time,p=this._dirty?this.totalDuration():this._tDur,y=this._dur,g=c<=0?0:qt(c),b=this._zTime<0!=c<0&&(this._initted||!y),T,S,M,v,C,j,L,Y,Z,q,J,V;if(this!==Lt&&g>p&&c>=0&&(g=p),g!==this._tTime||o||b){if(h!==this._time&&y&&(g+=this._time-h,c+=this._time-h),T=g,Z=this._start,Y=this._ts,j=!Y,b&&(y||(h=this._zTime),(c||!s)&&(this._zTime=c)),this._repeat){if(J=this._yoyo,C=y+this._rDelay,this._repeat<-1&&c<0)return this.totalTime(C*100+c,s,o);if(T=qt(g%C),g===p?(v=this._repeat,T=y):(q=qt(g/C),v=~~q,v&&v===q&&(T=y,v--),T>y&&(T=y)),q=Fn(this._tTime,C),!h&&this._tTime&&q!==v&&this._tTime-q*C-this._dur<=0&&(q=v),J&&v&1&&(T=y-T,V=1),v!==q&&!this._lock){var H=J&&q&1,A=H===(J&&v&1);if(v<q&&(H=!H),h=H?0:g%y?y:g,this._lock=1,this.render(h||(V?0:qt(v*C)),s,!y)._lock=0,this._tTime=g,!s&&this.parent&&we(this,"onRepeat"),this.vars.repeatRefresh&&!V&&(this.invalidate()._lock=1,q=v),h&&h!==this._time||j!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(y=this._dur,p=this._tDur,A&&(this._lock=2,h=H?y:-1e-4,this.render(h,!0),this.vars.repeatRefresh&&!V&&this.invalidate()),this._lock=0,!this._ts&&!j)return this;Lo(this,V)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(L=Py(this,qt(h),qt(T)),L&&(g-=T-(T=L._start))),this._tTime=g,this._time=T,this._act=!Y,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=c,h=0),!h&&g&&y&&!s&&!q&&(we(this,"onStart"),this._tTime!==g))return this;if(T>=h&&c>=0)for(S=this._first;S;){if(M=S._next,(S._act||T>=S._start)&&S._ts&&L!==S){if(S.parent!==this)return this.render(c,s,o);if(S.render(S._ts>0?(T-S._start)*S._ts:(S._dirty?S.totalDuration():S._tDur)+(T-S._start)*S._ts,s,o),T!==this._time||!this._ts&&!j){L=0,M&&(g+=this._zTime=-wt);break}}S=M}else{S=this._last;for(var W=c<0?c:T;S;){if(M=S._prev,(S._act||W<=S._end)&&S._ts&&L!==S){if(S.parent!==this)return this.render(c,s,o);if(S.render(S._ts>0?(W-S._start)*S._ts:(S._dirty?S.totalDuration():S._tDur)+(W-S._start)*S._ts,s,o||ne&&Fr(S)),T!==this._time||!this._ts&&!j){L=0,M&&(g+=this._zTime=W?-wt:wt);break}}S=M}}if(L&&!s&&(this.pause(),L.render(T>=h?0:-wt)._zTime=T>=h?1:-1,this._ts))return this._start=Z,iu(this),this.render(c,s,o);this._onUpdate&&!s&&we(this,"onUpdate",!0),(g===p&&this._tTime>=this.totalDuration()||!g&&h)&&(Z===this._start||Math.abs(Y)!==Math.abs(this._ts))&&(this._lock||((c||!y)&&(g===p&&this._ts>0||!g&&this._ts<0)&&Hl(this,1),!s&&!(c<0&&!h)&&(g||h||!p)&&(we(this,g===p&&c>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(g<p&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(c,s){var o=this;if(yl(s)||(s=Qe(this,s,c)),!(c instanceof Ia)){if(se(c))return c.forEach(function(h){return o.add(h,s)}),this;if(te(c))return this.addLabel(c,s);if(Gt(c))c=Jt.delayedCall(0,c);else return this}return this!==c?fl(this,c,s):this},r.getChildren=function(c,s,o,h){c===void 0&&(c=!0),s===void 0&&(s=!0),o===void 0&&(o=!0),h===void 0&&(h=-Ve);for(var p=[],y=this._first;y;)y._start>=h&&(y instanceof Jt?s&&p.push(y):(o&&p.push(y),c&&p.push.apply(p,y.getChildren(!0,s,o)))),y=y._next;return p},r.getById=function(c){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===c)return s[o]},r.remove=function(c){return te(c)?this.removeLabel(c):Gt(c)?this.killTweensOf(c):(c.parent===this&&nu(this,c),c===this._recent&&(this._recent=this._last),_n(this))},r.totalTime=function(c,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=qt(Re.time-(this._ts>0?c/this._ts:(this.totalDuration()-c)/-this._ts))),m.prototype.totalTime.call(this,c,s),this._forcing=0,this):this._tTime},r.addLabel=function(c,s){return this.labels[c]=Qe(this,s),this},r.removeLabel=function(c){return delete this.labels[c],this},r.addPause=function(c,s,o){var h=Jt.delayedCall(0,s||Va,o);return h.data="isPause",this._hasPause=1,fl(this,h,Qe(this,c))},r.removePause=function(c){var s=this._first;for(c=Qe(this,c);s;)s._start===c&&s.data==="isPause"&&Hl(s),s=s._next},r.killTweensOf=function(c,s,o){for(var h=this.getTweensOf(c,o),p=h.length;p--;)Yl!==h[p]&&h[p].kill(c,s);return this},r.getTweensOf=function(c,s){for(var o=[],h=Ze(c),p=this._first,y=yl(s),g;p;)p instanceof Jt?Zy(p._targets,h)&&(y?(!Yl||p._initted&&p._ts)&&p.globalTime(0)<=s&&p.globalTime(p.totalDuration())>s:!s||p.isActive())&&o.push(p):(g=p.getTweensOf(h,s)).length&&o.push.apply(o,g),p=p._next;return o},r.tweenTo=function(c,s){s=s||{};var o=this,h=Qe(o,c),p=s,y=p.startAt,g=p.onStart,b=p.onStartParams,T=p.immediateRender,S,M=Jt.to(o,De({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:h,overwrite:"auto",duration:s.duration||Math.abs((h-(y&&"time"in y?y.time:o._time))/o.timeScale())||wt,onStart:function(){if(o.pause(),!S){var C=s.duration||Math.abs((h-(y&&"time"in y?y.time:o._time))/o.timeScale());M._dur!==C&&Wn(M,C,0,1).render(M._time,!0,!0),S=1}g&&g.apply(M,b||[])}},s));return T?M.render(0):M},r.tweenFromTo=function(c,s,o){return this.tweenTo(s,De({startAt:{time:Qe(this,c)}},o))},r.recent=function(){return this._recent},r.nextLabel=function(c){return c===void 0&&(c=this._time),Do(this,Qe(this,c))},r.previousLabel=function(c){return c===void 0&&(c=this._time),Do(this,Qe(this,c),1)},r.currentLabel=function(c){return arguments.length?this.seek(c,!0):this.previousLabel(this._time+wt)},r.shiftChildren=function(c,s,o){o===void 0&&(o=0);var h=this._first,p=this.labels,y;for(c=qt(c);h;)h._start>=o&&(h._start+=c,h._end+=c),h=h._next;if(s)for(y in p)p[y]>=o&&(p[y]+=c);return _n(this)},r.invalidate=function(c){var s=this._first;for(this._lock=0;s;)s.invalidate(c),s=s._next;return m.prototype.invalidate.call(this,c)},r.clear=function(c){c===void 0&&(c=!0);for(var s=this._first,o;s;)o=s._next,this.remove(s),s=o;return this._dp&&(this._time=this._tTime=this._pTime=0),c&&(this.labels={}),_n(this)},r.totalDuration=function(c){var s=0,o=this,h=o._last,p=Ve,y,g,b;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-c:c));if(o._dirty){for(b=o.parent;h;)y=h._prev,h._dirty&&h.totalDuration(),g=h._start,g>p&&o._sort&&h._ts&&!o._lock?(o._lock=1,fl(o,h,g-h._delay,1)._lock=0):p=g,g<0&&h._ts&&(s-=g,(!b&&!o._dp||b&&b.smoothChildTiming)&&(o._start+=qt(g/o._ts),o._time-=g,o._tTime-=g),o.shiftChildren(-g,!1,-1/0),p=0),h._end>s&&h._ts&&(s=h._end),h=y;Wn(o,o===Lt&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},a.updateRoot=function(c){if(Lt._ts&&(ho(Lt,au(c,Lt)),co=Re.frame),Re.frame>=so){so+=Me.autoSleep||120;var s=Lt._first;if((!s||!s._ts)&&Me.autoSleep&&Re._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||Re.sleep()}}},a})(Ia);De(de.prototype,{_lock:0,_hasPause:0,_forcing:0});var yp=function(a,r,i,c,s,o,h){var p=new ge(this._pt,a,r,0,1,Zo,null,s),y=0,g=0,b,T,S,M,v,C,j,L;for(p.b=i,p.e=c,i+="",c+="",(j=~c.indexOf("random("))&&(c=Ja(c)),o&&(L=[i,c],o(L,a,r),i=L[0],c=L[1]),T=i.match(Yr)||[];b=Yr.exec(c);)M=b[0],v=c.substring(y,b.index),S?S=(S+1)%5:v.substr(-5)==="rgba("&&(S=1),M!==T[g++]&&(C=parseFloat(T[g-1])||0,p._pt={_next:p._pt,p:v||g===1?v:",",s:C,c:M.charAt(1)==="="?Kn(C,M)-C:parseFloat(M)-C,m:S&&S<4?Math.round:0},y=Yr.lastIndex);return p.c=y<c.length?c.substring(y,c.length):"",p.fp=h,(io.test(c)||j)&&(p.e=0),this._pt=p,p},af=function(a,r,i,c,s,o,h,p,y,g){Gt(c)&&(c=c(s||0,a,o));var b=a[r],T=i!=="get"?i:Gt(b)?y?a[r.indexOf("set")||!Gt(a["get"+r.substr(3)])?r:"get"+r.substr(3)](y):a[r]():b,S=Gt(b)?y?bp:Vo:ff,M;if(te(c)&&(~c.indexOf("random(")&&(c=Ja(c)),c.charAt(1)==="="&&(M=Kn(T,c)+(oe(T)||0),(M||M===0)&&(c=M))),!g||T!==c||uf)return!isNaN(T*c)&&c!==""?(M=new ge(this._pt,a,r,+T||0,c-(T||0),typeof b=="boolean"?xp:Qo,0,S),y&&(M.fp=y),h&&M.modifier(h,this,a),this._pt=M):(!b&&!(r in a)&&kr(r,c),yp.call(this,a,r,T,c,S,p||Me.stringFilter,y))},pp=function(a,r,i,c,s){if(Gt(a)&&(a=Pa(a,s,r,i,c)),!ul(a)||a.style&&a.nodeType||se(a)||lo(a))return te(a)?Pa(a,s,r,i,c):a;var o={},h;for(h in a)o[h]=Pa(a[h],s,r,i,c);return o},Go=function(a,r,i,c,s,o){var h,p,y,g;if(Ce[a]&&(h=new Ce[a]).init(s,h.rawVars?r[a]:pp(r[a],c,s,o,i),i,c,o)!==!1&&(i._pt=p=new ge(i._pt,s,a,0,1,h.render,h,0,h.priority),i!==$n))for(y=i._ptLookup[i._targets.indexOf(s)],g=h._props.length;g--;)y[h._props[g]]=p;return h},Yl,uf,rf=function m(a,r,i){var c=a.vars,s=c.ease,o=c.startAt,h=c.immediateRender,p=c.lazy,y=c.onUpdate,g=c.runBackwards,b=c.yoyoEase,T=c.keyframes,S=c.autoRevert,M=a._dur,v=a._startAt,C=a._targets,j=a.parent,L=j&&j.data==="nested"?j.vars.targets:C,Y=a._overwrite==="auto"&&!Br,Z=a.timeline,q,J,V,H,A,W,lt,tt,ct,St,rt,U,N;if(Z&&(!T||!s)&&(s="none"),a._ease=vn(s,Qn.ease),a._yEase=b?Ho(vn(b===!0?s:b,Qn.ease)):0,b&&a._yoyo&&!a._repeat&&(b=a._yEase,a._yEase=a._ease,a._ease=b),a._from=!Z&&!!c.runBackwards,!Z||T&&!c.stagger){if(tt=C[0]?gn(C[0]).harness:0,U=tt&&c[tt.prop],q=lu(c,Vr),v&&(v._zTime<0&&v.progress(1),r<0&&g&&h&&!S?v.render(-1,!0):v.revert(g&&M?Pi:Vy),v._lazy=0),o){if(Hl(a._startAt=Jt.set(C,De({data:"isStart",overwrite:!1,parent:j,immediateRender:!0,lazy:!v&&ye(p),startAt:null,delay:0,onUpdate:y&&function(){return we(a,"onUpdate")},stagger:0},o))),a._startAt._dp=0,a._startAt._sat=a,r<0&&(ne||!h&&!S)&&a._startAt.revert(Pi),h&&M&&r<=0&&i<=0){r&&(a._zTime=r);return}}else if(g&&M&&!v){if(r&&(h=!1),V=De({overwrite:!1,data:"isFromStart",lazy:h&&!v&&ye(p),immediateRender:h,stagger:0,parent:j},q),U&&(V[tt.prop]=U),Hl(a._startAt=Jt.set(C,V)),a._startAt._dp=0,a._startAt._sat=a,r<0&&(ne?a._startAt.revert(Pi):a._startAt.render(-1,!0)),a._zTime=r,!h)m(a._startAt,wt,wt);else if(!r)return}for(a._pt=a._ptCache=0,p=M&&ye(p)||p&&!M,J=0;J<C.length;J++){if(A=C[J],lt=A._gsap||Jr(C)[J]._gsap,a._ptLookup[J]=St={},Qr[lt.id]&&Bl.length&&eu(),rt=L===C?J:L.indexOf(A),tt&&(ct=new tt).init(A,U||q,a,rt,L)!==!1&&(a._pt=H=new ge(a._pt,A,ct.name,0,1,ct.render,ct,0,ct.priority),ct._props.forEach(function(I){St[I]=H}),ct.priority&&(W=1)),!tt||U)for(V in q)Ce[V]&&(ct=Go(V,q,a,rt,A,L))?ct.priority&&(W=1):St[V]=H=af.call(a,A,V,"get",q[V],rt,L,0,c.stringFilter);a._op&&a._op[J]&&a.kill(A,a._op[J]),Y&&a._pt&&(Yl=a,Lt.killTweensOf(A,St,a.globalTime(r)),N=!a.parent,Yl=0),a._pt&&p&&(Qr[lt.id]=1)}W&&Ko(a),a._onInit&&a._onInit(a)}a._onUpdate=y,a._initted=(!a._op||a._pt)&&!N,T&&r<=0&&Z.render(Ve,!0,!0)},gp=function(a,r,i,c,s,o,h,p){var y=(a._pt&&a._ptCache||(a._ptCache={}))[r],g,b,T,S;if(!y)for(y=a._ptCache[r]=[],T=a._ptLookup,S=a._targets.length;S--;){if(g=T[S][r],g&&g.d&&g.d._pt)for(g=g.d._pt;g&&g.p!==r&&g.fp!==r;)g=g._next;if(!g)return uf=1,a.vars[r]="+=0",rf(a,h),uf=0,p?ka(r+" not eligible for reset"):1;y.push(g)}for(S=y.length;S--;)b=y[S],g=b._pt||b,g.s=(c||c===0)&&!s?c:g.s+(c||0)+o*g.c,g.c=i-g.s,b.e&&(b.e=Vt(i)+oe(b.e)),b.b&&(b.b=g.s+oe(b.b))},_p=function(a,r){var i=a[0]?gn(a[0]).harness:0,c=i&&i.aliases,s,o,h,p;if(!c)return r;s=Jn({},r);for(o in c)if(o in s)for(p=c[o].split(","),h=p.length;h--;)s[p[h]]=s[o];return s},vp=function(a,r,i,c){var s=r.ease||c||"power1.inOut",o,h;if(se(r))h=i[a]||(i[a]=[]),r.forEach(function(p,y){return h.push({t:y/(r.length-1)*100,v:p,e:s})});else for(o in r)h=i[o]||(i[o]=[]),o==="ease"||h.push({t:parseFloat(a),v:r[o],e:s})},Pa=function(a,r,i,c,s){return Gt(a)?a.call(r,i,c,s):te(a)&&~a.indexOf("random(")?Ja(a):a},Xo=Kr+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",ko={};pe(Xo+",id,stagger,delay,duration,paused,scrollTrigger",function(m){return ko[m]=1});var Jt=(function(m){to(a,m);function a(i,c,s,o){var h;typeof c=="number"&&(s.duration=c,c=s,s=null),h=m.call(this,o?c:Qa(c))||this;var p=h.vars,y=p.duration,g=p.delay,b=p.immediateRender,T=p.stagger,S=p.overwrite,M=p.keyframes,v=p.defaults,C=p.scrollTrigger,j=p.yoyoEase,L=c.parent||Lt,Y=(se(i)||lo(i)?yl(i[0]):"length"in c)?[i]:Ze(i),Z,q,J,V,H,A,W,lt;if(h._targets=Y.length?Jr(Y):ka("GSAP target "+i+" not found. https://gsap.com",!Me.nullTargetWarn)||[],h._ptLookup=[],h._overwrite=S,M||T||$i(y)||$i(g)){if(c=h.vars,Z=h.timeline=new de({data:"nested",defaults:v||{},targets:L&&L.data==="nested"?L.vars.targets:Y}),Z.kill(),Z.parent=Z._dp=ml(h),Z._start=0,T||$i(y)||$i(g)){if(V=Y.length,W=T&&Eo(T),ul(T))for(H in T)~Xo.indexOf(H)&&(lt||(lt={}),lt[H]=T[H]);for(q=0;q<V;q++)J=lu(c,ko),J.stagger=0,j&&(J.yoyoEase=j),lt&&Jn(J,lt),A=Y[q],J.duration=+Pa(y,ml(h),q,A,Y),J.delay=(+Pa(g,ml(h),q,A,Y)||0)-h._delay,!T&&V===1&&J.delay&&(h._delay=g=J.delay,h._start+=g,J.delay=0),Z.to(A,J,W?W(q,A,Y):0),Z._ease=vt.none;Z.duration()?y=g=0:h.timeline=0}else if(M){Qa(De(Z.vars.defaults,{ease:"none"})),Z._ease=vn(M.ease||c.ease||"none");var tt=0,ct,St,rt;if(se(M))M.forEach(function(U){return Z.to(Y,U,">")}),Z.duration();else{J={};for(H in M)H==="ease"||H==="easeEach"||vp(H,M[H],J,M.easeEach);for(H in J)for(ct=J[H].sort(function(U,N){return U.t-N.t}),tt=0,q=0;q<ct.length;q++)St=ct[q],rt={ease:St.e,duration:(St.t-(q?ct[q-1].t:0))/100*y},rt[H]=St.v,Z.to(Y,rt,tt),tt+=rt.duration;Z.duration()<y&&Z.to({},{duration:y-Z.duration()})}}y||h.duration(y=Z.duration())}else h.timeline=0;return S===!0&&!Br&&(Yl=ml(h),Lt.killTweensOf(Y),Yl=0),fl(L,ml(h),s),c.reversed&&h.reverse(),c.paused&&h.paused(!0),(b||!y&&!M&&h._start===qt(L._time)&&ye(b)&&Wy(ml(h))&&L.data!=="nested")&&(h._tTime=-wt,h.render(Math.max(0,-g)||0)),C&&bo(ml(h),C),h}var r=a.prototype;return r.render=function(c,s,o){var h=this._time,p=this._tDur,y=this._dur,g=c<0,b=c>p-wt&&!g?p:c<wt?0:c,T,S,M,v,C,j,L,Y,Z;if(!y)Iy(this,c,s,o);else if(b!==this._tTime||!c||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==g||this._lazy){if(T=b,Y=this.timeline,this._repeat){if(v=y+this._rDelay,this._repeat<-1&&g)return this.totalTime(v*100+c,s,o);if(T=qt(b%v),b===p?(M=this._repeat,T=y):(C=qt(b/v),M=~~C,M&&M===C?(T=y,M--):T>y&&(T=y)),j=this._yoyo&&M&1,j&&(Z=this._yEase,T=y-T),C=Fn(this._tTime,v),T===h&&!o&&this._initted&&M===C)return this._tTime=b,this;M!==C&&(Y&&this._yEase&&Lo(Y,j),this.vars.repeatRefresh&&!j&&!this._lock&&T!==v&&this._initted&&(this._lock=o=1,this.render(qt(v*M),!0).invalidate()._lock=0))}if(!this._initted){if(So(this,g?c:T,o,s,b))return this._tTime=0,this;if(h!==this._time&&!(o&&this.vars.repeatRefresh&&M!==C))return this;if(y!==this._dur)return this.render(c,s,o)}if(this._tTime=b,this._time=T,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=L=(Z||this._ease)(T/y),this._from&&(this.ratio=L=1-L),!h&&b&&!s&&!C&&(we(this,"onStart"),this._tTime!==b))return this;for(S=this._pt;S;)S.r(L,S.d),S=S._next;Y&&Y.render(c<0?c:Y._dur*Y._ease(T/this._dur),s,o)||this._startAt&&(this._zTime=c),this._onUpdate&&!s&&(g&&Wr(this,c,s,o),we(this,"onUpdate")),this._repeat&&M!==C&&this.vars.onRepeat&&!s&&this.parent&&we(this,"onRepeat"),(b===this._tDur||!b)&&this._tTime===b&&(g&&!this._onUpdate&&Wr(this,c,!0,!0),(c||!y)&&(b===this._tDur&&this._ts>0||!b&&this._ts<0)&&Hl(this,1),!s&&!(g&&!h)&&(b||h||j)&&(we(this,b===p?"onComplete":"onReverseComplete",!0),this._prom&&!(b<p&&this.timeScale()>0)&&this._prom()))}return this},r.targets=function(){return this._targets},r.invalidate=function(c){return(!c||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(c),m.prototype.invalidate.call(this,c)},r.resetTo=function(c,s,o,h,p){$a||Re.wake(),this._ts||this.play();var y=Math.min(this._dur,(this._dp._time-this._start)*this._ts),g;return this._initted||rf(this,y),g=this._ease(y/this._dur),gp(this,c,s,o,h,g,y,p)?this.resetTo(c,s,o,h,1):(uu(this,0),this.parent||go(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(c,s){if(s===void 0&&(s="all"),!c&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?Fa(this):this.scrollTrigger&&this.scrollTrigger.kill(!!ne),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(c,s,Yl&&Yl.vars.overwrite!==!0)._first||Fa(this),this.parent&&o!==this.timeline.totalDuration()&&Wn(this,this._dur*this.timeline._tDur/o,0,1),this}var h=this._targets,p=c?Ze(c):h,y=this._ptLookup,g=this._pt,b,T,S,M,v,C,j;if((!s||s==="all")&&Jy(h,p))return s==="all"&&(this._pt=0),Fa(this);for(b=this._op=this._op||[],s!=="all"&&(te(s)&&(v={},pe(s,function(L){return v[L]=1}),s=v),s=_p(h,s)),j=h.length;j--;)if(~p.indexOf(h[j])){T=y[j],s==="all"?(b[j]=s,M=T,S={}):(S=b[j]=b[j]||{},M=s);for(v in M)C=T&&T[v],C&&((!("kill"in C.d)||C.d.kill(v)===!0)&&nu(this,C,"_pt"),delete T[v]),S!=="all"&&(S[v]=1)}return this._initted&&!this._pt&&g&&Fa(this),this},a.to=function(c,s){return new a(c,s,arguments[2])},a.from=function(c,s){return Za(1,arguments)},a.delayedCall=function(c,s,o,h){return new a(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:c,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:h})},a.fromTo=function(c,s,o){return Za(2,arguments)},a.set=function(c,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new a(c,s)},a.killTweensOf=function(c,s,o){return Lt.killTweensOf(c,s,o)},a})(Ia);De(Jt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),pe("staggerTo,staggerFrom,staggerFromTo",function(m){Jt[m]=function(){var a=new de,r=Ir.call(arguments,0);return r.splice(m==="staggerFromTo"?5:4,0,0),a[m].apply(a,r)}});var ff=function(a,r,i){return a[r]=i},Vo=function(a,r,i){return a[r](i)},bp=function(a,r,i,c){return a[r](c.fp,i)},Sp=function(a,r,i){return a.setAttribute(r,i)},cf=function(a,r){return Gt(a[r])?Vo:Lr(a[r])&&a.setAttribute?Sp:ff},Qo=function(a,r){return r.set(r.t,r.p,Math.round((r.s+r.c*a)*1e6)/1e6,r)},xp=function(a,r){return r.set(r.t,r.p,!!(r.s+r.c*a),r)},Zo=function(a,r){var i=r._pt,c="";if(!a&&r.b)c=r.b;else if(a===1&&r.e)c=r.e;else{for(;i;)c=i.p+(i.m?i.m(i.s+i.c*a):Math.round((i.s+i.c*a)*1e4)/1e4)+c,i=i._next;c+=r.c}r.set(r.t,r.p,c,r)},sf=function(a,r){for(var i=r._pt;i;)i.r(a,i.d),i=i._next},Tp=function(a,r,i,c){for(var s=this._pt,o;s;)o=s._next,s.p===c&&s.modifier(a,r,i),s=o},zp=function(a){for(var r=this._pt,i,c;r;)c=r._next,r.p===a&&!r.op||r.op===a?nu(this,r,"_pt"):r.dep||(i=1),r=c;return!i},Ep=function(a,r,i,c){c.mSet(a,r,c.m.call(c.tween,i,c.mt),c)},Ko=function(a){for(var r=a._pt,i,c,s,o;r;){for(i=r._next,c=s;c&&c.pr>r.pr;)c=c._next;(r._prev=c?c._prev:o)?r._prev._next=r:s=r,(r._next=c)?c._prev=r:o=r,r=i}a._pt=s},ge=(function(){function m(r,i,c,s,o,h,p,y,g){this.t=i,this.s=s,this.c=o,this.p=c,this.r=h||Qo,this.d=p||this,this.set=y||ff,this.pr=g||0,this._next=r,r&&(r._prev=this)}var a=m.prototype;return a.modifier=function(i,c,s){this.mSet=this.mSet||this.set,this.set=Ep,this.m=i,this.mt=s,this.tween=c},m})();pe(Kr+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(m){return Vr[m]=1}),Oe.TweenMax=Oe.TweenLite=Jt,Oe.TimelineLite=Oe.TimelineMax=de,Lt=new de({sortChildren:!1,defaults:Qn,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Me.stringFilter=Bo;var Sn=[],ru={},Ap=[],Jo=0,Mp=0,of=function(a){return(ru[a]||Ap).map(function(r){return r()})},df=function(){var a=Date.now(),r=[];a-Jo>2&&(of("matchMediaInit"),Sn.forEach(function(i){var c=i.queries,s=i.conditions,o,h,p,y;for(h in c)o=rl.matchMedia(c[h]).matches,o&&(p=1),o!==s[h]&&(s[h]=o,y=1);y&&(i.revert(),p&&r.push(i))}),of("matchMediaRevert"),r.forEach(function(i){return i.onMatch(i,function(c){return i.add(null,c)})}),Jo=a,of("matchMedia"))},Fo=(function(){function m(r,i){this.selector=i&&Pr(i),this.data=[],this._r=[],this.isReverted=!1,this.id=Mp++,r&&this.add(r)}var a=m.prototype;return a.add=function(i,c,s){Gt(i)&&(s=c,c=i,i=Gt);var o=this,h=function(){var y=Bt,g=o.selector,b;return y&&y!==o&&y.data.push(o),s&&(o.selector=Pr(s)),Bt=o,b=c.apply(o,arguments),Gt(b)&&o._r.push(b),Bt=y,o.selector=g,o.isReverted=!1,b};return o.last=h,i===Gt?h(o,function(p){return o.add(null,p)}):i?o[i]=h:h},a.ignore=function(i){var c=Bt;Bt=null,i(this),Bt=c},a.getTweens=function(){var i=[];return this.data.forEach(function(c){return c instanceof m?i.push.apply(i,c.getTweens()):c instanceof Jt&&!(c.parent&&c.parent.data==="nested")&&i.push(c)}),i},a.clear=function(){this._r.length=this.data.length=0},a.kill=function(i,c){var s=this;if(i?(function(){for(var h=s.getTweens(),p=s.data.length,y;p--;)y=s.data[p],y.data==="isFlip"&&(y.revert(),y.getChildren(!0,!0,!1).forEach(function(g){return h.splice(h.indexOf(g),1)}));for(h.map(function(g){return{g:g._dur||g._delay||g._sat&&!g._sat.vars.immediateRender?g.globalTime(0):-1/0,t:g}}).sort(function(g,b){return b.g-g.g||-1/0}).forEach(function(g){return g.t.revert(i)}),p=s.data.length;p--;)y=s.data[p],y instanceof de?y.data!=="nested"&&(y.scrollTrigger&&y.scrollTrigger.revert(),y.kill()):!(y instanceof Jt)&&y.revert&&y.revert(i);s._r.forEach(function(g){return g(i,s)}),s.isReverted=!0})():this.data.forEach(function(h){return h.kill&&h.kill()}),this.clear(),c)for(var o=Sn.length;o--;)Sn[o].id===this.id&&Sn.splice(o,1)},a.revert=function(i){this.kill(i||{})},m})(),Op=(function(){function m(r){this.contexts=[],this.scope=r,Bt&&Bt.data.push(this)}var a=m.prototype;return a.add=function(i,c,s){ul(i)||(i={matches:i});var o=new Fo(0,s||this.scope),h=o.conditions={},p,y,g;Bt&&!o.selector&&(o.selector=Bt.selector),this.contexts.push(o),c=o.add("onMatch",c),o.queries=i;for(y in i)y==="all"?g=1:(p=rl.matchMedia(i[y]),p&&(Sn.indexOf(o)<0&&Sn.push(o),(h[y]=p.matches)&&(g=1),p.addListener?p.addListener(df):p.addEventListener("change",df)));return g&&c(o,function(b){return o.add(null,b)}),this},a.revert=function(i){this.kill(i||{})},a.kill=function(i){this.contexts.forEach(function(c){return c.kill(i,!0)})},m})(),fu={registerPlugin:function(){for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];r.forEach(function(c){return Ro(c)})},timeline:function(a){return new de(a)},getTweensOf:function(a,r){return Lt.getTweensOf(a,r)},getProperty:function(a,r,i,c){te(a)&&(a=Ze(a)[0]);var s=gn(a||{}).get,o=i?yo:mo;return i==="native"&&(i=""),a&&(r?o((Ce[r]&&Ce[r].get||s)(a,r,i,c)):function(h,p,y){return o((Ce[h]&&Ce[h].get||s)(a,h,p,y))})},quickSetter:function(a,r,i){if(a=Ze(a),a.length>1){var c=a.map(function(g){return _e.quickSetter(g,r,i)}),s=c.length;return function(g){for(var b=s;b--;)c[b](g)}}a=a[0]||{};var o=Ce[r],h=gn(a),p=h.harness&&(h.harness.aliases||{})[r]||r,y=o?function(g){var b=new o;$n._pt=0,b.init(a,i?g+i:g,$n,0,[a]),b.render(1,b),$n._pt&&sf(1,$n)}:h.set(a,p);return o?y:function(g){return y(a,p,i?g+i:g,h,1)}},quickTo:function(a,r,i){var c,s=_e.to(a,De((c={},c[r]="+=0.1",c.paused=!0,c.stagger=0,c),i||{})),o=function(p,y,g){return s.resetTo(r,p,y,g)};return o.tween=s,o},isTweening:function(a){return Lt.getTweensOf(a,!0).length>0},defaults:function(a){return a&&a.ease&&(a.ease=vn(a.ease,Qn.ease)),po(Qn,a||{})},config:function(a){return po(Me,a||{})},registerEffect:function(a){var r=a.name,i=a.effect,c=a.plugins,s=a.defaults,o=a.extendTimeline;(c||"").split(",").forEach(function(h){return h&&!Ce[h]&&!Oe[h]&&ka(r+" effect requires "+h+" plugin.")}),Zr[r]=function(h,p,y){return i(Ze(h),De(p||{},s),y)},o&&(de.prototype[r]=function(h,p,y){return this.add(Zr[r](h,ul(p)?p:(y=p)&&{},this),y)})},registerEase:function(a,r){vt[a]=vn(r)},parseEase:function(a,r){return arguments.length?vn(a,r):vt},getById:function(a){return Lt.getById(a)},exportRoot:function(a,r){a===void 0&&(a={});var i=new de(a),c,s;for(i.smoothChildTiming=ye(a.smoothChildTiming),Lt.remove(i),i._dp=0,i._time=i._tTime=Lt._time,c=Lt._first;c;)s=c._next,(r||!(!c._dur&&c instanceof Jt&&c.vars.onComplete===c._targets[0]))&&fl(i,c,c._start-c._delay),c=s;return fl(Lt,i,0),i},context:function(a,r){return a?new Fo(a,r):Bt},matchMedia:function(a){return new Op(a)},matchMediaRefresh:function(){return Sn.forEach(function(a){var r=a.conditions,i,c;for(c in r)r[c]&&(r[c]=!1,i=1);i&&a.revert()})||df()},addEventListener:function(a,r){var i=ru[a]||(ru[a]=[]);~i.indexOf(r)||i.push(r)},removeEventListener:function(a,r){var i=ru[a],c=i&&i.indexOf(r);c>=0&&i.splice(c,1)},utils:{wrap:up,wrapYoyo:rp,distribute:Eo,random:Mo,snap:Ao,normalize:ip,getUnit:oe,clamp:ep,splitColor:Uo,toArray:Ze,selector:Pr,mapRange:Co,pipe:np,unitize:ap,interpolate:fp,shuffle:zo},install:ro,effects:Zr,ticker:Re,updateRoot:de.updateRoot,plugins:Ce,globalTimeline:Lt,core:{PropTween:ge,globals:fo,Tween:Jt,Timeline:de,Animation:Ia,getCache:gn,_removeLinkedListItem:nu,reverting:function(){return ne},context:function(a){return a&&Bt&&(Bt.data.push(a),a._ctx=Bt),Bt},suppressOverwrites:function(a){return Br=a}}};pe("to,from,fromTo,delayedCall,set,killTweensOf",function(m){return fu[m]=Jt[m]}),Re.add(de.updateRoot),$n=fu.to({},{duration:0});var Cp=function(a,r){for(var i=a._pt;i&&i.p!==r&&i.op!==r&&i.fp!==r;)i=i._next;return i},Dp=function(a,r){var i=a._targets,c,s,o;for(c in r)for(s=i.length;s--;)o=a._ptLookup[s][c],o&&(o=o.d)&&(o._pt&&(o=Cp(o,c)),o&&o.modifier&&o.modifier(r[c],a,i[s],c))},hf=function(a,r){return{name:a,headless:1,rawVars:1,init:function(c,s,o){o._onInit=function(h){var p,y;if(te(s)&&(p={},pe(s,function(g){return p[g]=1}),s=p),r){p={};for(y in s)p[y]=r(s[y]);s=p}Dp(h,s)}}}},_e=fu.registerPlugin({name:"attr",init:function(a,r,i,c,s){var o,h,p;this.tween=i;for(o in r)p=a.getAttribute(o)||"",h=this.add(a,"setAttribute",(p||0)+"",r[o],c,s,0,0,o),h.op=o,h.b=p,this._props.push(o)},render:function(a,r){for(var i=r._pt;i;)ne?i.set(i.t,i.p,i.b,i):i.r(a,i.d),i=i._next}},{name:"endArray",headless:1,init:function(a,r){for(var i=r.length;i--;)this.add(a,i,a[i]||0,r[i],0,0,0,0,0,1)}},hf("roundProps",tf),hf("modifiers"),hf("snap",Ao))||fu;Jt.version=de.version=_e.version="3.14.2",uo=1,qr()&&In(),vt.Power0,vt.Power1,vt.Power2,vt.Power3,vt.Power4,vt.Linear,vt.Quad,vt.Cubic,vt.Quart,vt.Quint,vt.Strong,vt.Elastic,vt.Back,vt.SteppedEase,vt.Bounce,vt.Sine,vt.Expo,vt.Circ;/*!
56
+ */var Me={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Qn={duration:.5,overwrite:!1,delay:0},Br,ne,Bt,Ve=1e8,wt=1/Ve,Hr=Math.PI*2,By=Hr/4,Hy=0,eo=Math.sqrt,Ly=Math.cos,qy=Math.sin,te=function(a){return typeof a=="string"},Gt=function(a){return typeof a=="function"},yl=function(a){return typeof a=="number"},Lr=function(a){return typeof a>"u"},ul=function(a){return typeof a=="object"},ye=function(a){return a!==!1},qr=function(){return typeof window<"u"},$i=function(a){return Gt(a)||te(a)},lo=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},se=Array.isArray,Yy=/random\([^)]+\)/g,Gy=/,\s*/g,no=/(?:-?\.?\d|\.)+/gi,ao=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Zn=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Yr=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,io=/[+-]=-?[.\d]+/,Xy=/[^,'"\[\]\s]+/gi,ky=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Lt,rl,Gr,Xr,Oe={},Ii={},uo,ro=function(a){return(Ii=Jn(a,Oe))&&_e},kr=function(a,r){return console.warn("Invalid property",a,"set to",r,"Missing plugin? gsap.registerPlugin()")},ka=function(a,r){return!r&&console.warn(a)},fo=function(a,r){return a&&(Oe[a]=r)&&Ii&&(Ii[a]=r)||Oe},Va=function(){return 0},Vy={suppressEvents:!0,isStart:!0,kill:!1},Pi={suppressEvents:!0,kill:!1},Qy={suppressEvents:!0},Vr={},Bl=[],Qr={},co,Ce={},Zr={},so=30,tu=[],Kr="",Jr=function(a){var r=a[0],i,c;if(ul(r)||Gt(r)||(a=[a]),!(i=(r._gsap||{}).harness)){for(c=tu.length;c--&&!tu[c].targetTest(r););i=tu[c]}for(c=a.length;c--;)a[c]&&(a[c]._gsap||(a[c]._gsap=new Yo(a[c],i)))||a.splice(c,1);return a},gn=function(a){return a._gsap||Jr(Ze(a))[0]._gsap},oo=function(a,r,i){return(i=a[r])&&Gt(i)?a[r]():Lr(i)&&a.getAttribute&&a.getAttribute(r)||i},pe=function(a,r){return(a=a.split(",")).forEach(r)||a},Vt=function(a){return Math.round(a*1e5)/1e5||0},qt=function(a){return Math.round(a*1e7)/1e7||0},Kn=function(a,r){var i=r.charAt(0),c=parseFloat(r.substr(2));return a=parseFloat(a),i==="+"?a+c:i==="-"?a-c:i==="*"?a*c:a/c},Zy=function(a,r){for(var i=r.length,c=0;a.indexOf(r[c])<0&&++c<i;);return c<i},eu=function(){var a=Bl.length,r=Bl.slice(0),i,c;for(Qr={},Bl.length=0,i=0;i<a;i++)c=r[i],c&&c._lazy&&(c.render(c._lazy[0],c._lazy[1],!0)._lazy=0)},Fr=function(a){return!!(a._initted||a._startAt||a.add)},ho=function(a,r,i,c){Bl.length&&!ne&&eu(),a.render(r,i,!!(ne&&r<0&&Fr(a))),Bl.length&&!ne&&eu()},mo=function(a){var r=parseFloat(a);return(r||r===0)&&(a+"").match(Xy).length<2?r:te(a)?a.trim():a},yo=function(a){return a},De=function(a,r){for(var i in r)i in a||(a[i]=r[i]);return a},Ky=function(a){return function(r,i){for(var c in i)c in r||c==="duration"&&a||c==="ease"||(r[c]=i[c])}},Jn=function(a,r){for(var i in r)a[i]=r[i];return a},po=function m(a,r){for(var i in r)i!=="__proto__"&&i!=="constructor"&&i!=="prototype"&&(a[i]=ul(r[i])?m(a[i]||(a[i]={}),r[i]):r[i]);return a},lu=function(a,r){var i={},c;for(c in a)c in r||(i[c]=a[c]);return i},Qa=function(a){var r=a.parent||Lt,i=a.keyframes?Ky(se(a.keyframes)):De;if(ye(a.inherit))for(;r;)i(a,r.vars.defaults),r=r.parent||r._dp;return a},Jy=function(a,r){for(var i=a.length,c=i===r.length;c&&i--&&a[i]===r[i];);return i<0},go=function(a,r,i,c,s){var o=a[c],h;if(s)for(h=r[s];o&&o[s]>h;)o=o._prev;return o?(r._next=o._next,o._next=r):(r._next=a[i],a[i]=r),r._next?r._next._prev=r:a[c]=r,r._prev=o,r.parent=r._dp=a,r},nu=function(a,r,i,c){i===void 0&&(i="_first"),c===void 0&&(c="_last");var s=r._prev,o=r._next;s?s._next=o:a[i]===r&&(a[i]=o),o?o._prev=s:a[c]===r&&(a[c]=s),r._next=r._prev=r.parent=null},Hl=function(a,r){a.parent&&(!r||a.parent.autoRemoveChildren)&&a.parent.remove&&a.parent.remove(a),a._act=0},_n=function(a,r){if(a&&(!r||r._end>a._dur||r._start<0))for(var i=a;i;)i._dirty=1,i=i.parent;return a},Fy=function(a){for(var r=a.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return a},Wr=function(a,r,i,c){return a._startAt&&(ne?a._startAt.revert(Pi):a.vars.immediateRender&&!a.vars.autoRevert||a._startAt.render(r,!0,c))},Wy=function m(a){return!a||a._ts&&m(a.parent)},_o=function(a){return a._repeat?Fn(a._tTime,a=a.duration()+a._rDelay)*a:0},Fn=function(a,r){var i=Math.floor(a=qt(a/r));return a&&i===a?i-1:i},au=function(a,r){return(a-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},iu=function(a){return a._end=qt(a._start+(a._tDur/Math.abs(a._ts||a._rts||wt)||0))},uu=function(a,r){var i=a._dp;return i&&i.smoothChildTiming&&a._ts&&(a._start=qt(i._time-(a._ts>0?r/a._ts:((a._dirty?a.totalDuration():a._tDur)-r)/-a._ts)),iu(a),i._dirty||_n(i,a)),a},vo=function(a,r){var i;if((r._time||!r._dur&&r._initted||r._start<a._time&&(r._dur||!r.add))&&(i=au(a.rawTime(),r),(!r._dur||Ka(0,r.totalDuration(),i)-r._tTime>wt)&&r.render(i,!0)),_n(a,r)._dp&&a._initted&&a._time>=a._dur&&a._ts){if(a._dur<a.duration())for(i=a;i._dp;)i.rawTime()>=0&&i.totalTime(i._tTime),i=i._dp;a._zTime=-wt}},fl=function(a,r,i,c){return r.parent&&Hl(r),r._start=qt((yl(i)?i:i||a!==Lt?Qe(a,i,r):a._time)+r._delay),r._end=qt(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),go(a,r,"_first","_last",a._sort?"_start":0),$r(r)||(a._recent=r),c||vo(a,r),a._ts<0&&uu(a,a._tTime),a},bo=function(a,r){return(Oe.ScrollTrigger||kr("scrollTrigger",r))&&Oe.ScrollTrigger.create(r,a)},So=function(a,r,i,c,s){if(rf(a,r,s),!a._initted)return 1;if(!i&&a._pt&&!ne&&(a._dur&&a.vars.lazy!==!1||!a._dur&&a.vars.lazy)&&co!==Re.frame)return Bl.push(a),a._lazy=[s,c],1},$y=function m(a){var r=a.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||m(r))},$r=function(a){var r=a.data;return r==="isFromStart"||r==="isStart"},Iy=function(a,r,i,c){var s=a.ratio,o=r<0||!r&&(!a._start&&$y(a)&&!(!a._initted&&$r(a))||(a._ts<0||a._dp._ts<0)&&!$r(a))?0:1,h=a._rDelay,p=0,y,g,b;if(h&&a._repeat&&(p=Ka(0,a._tDur,r),g=Fn(p,h),a._yoyo&&g&1&&(o=1-o),g!==Fn(a._tTime,h)&&(s=1-o,a.vars.repeatRefresh&&a._initted&&a.invalidate())),o!==s||ne||c||a._zTime===wt||!r&&a._zTime){if(!a._initted&&So(a,r,c,i,p))return;for(b=a._zTime,a._zTime=r||(i?wt:0),i||(i=r&&!b),a.ratio=o,a._from&&(o=1-o),a._time=0,a._tTime=p,y=a._pt;y;)y.r(o,y.d),y=y._next;r<0&&Wr(a,r,i,!0),a._onUpdate&&!i&&we(a,"onUpdate"),p&&a._repeat&&!i&&a.parent&&we(a,"onRepeat"),(r>=a._tDur||r<0)&&a.ratio===o&&(o&&Hl(a,1),!i&&!ne&&(we(a,o?"onComplete":"onReverseComplete",!0),a._prom&&a._prom()))}else a._zTime||(a._zTime=r)},Py=function(a,r,i){var c;if(i>r)for(c=a._first;c&&c._start<=i;){if(c.data==="isPause"&&c._start>r)return c;c=c._next}else for(c=a._last;c&&c._start>=i;){if(c.data==="isPause"&&c._start<r)return c;c=c._prev}},Wn=function(a,r,i,c){var s=a._repeat,o=qt(r)||0,h=a._tTime/a._tDur;return h&&!c&&(a._time*=o/a._dur),a._dur=o,a._tDur=s?s<0?1e10:qt(o*(s+1)+a._rDelay*s):o,h>0&&!c&&uu(a,a._tTime=a._tDur*h),a.parent&&iu(a),i||_n(a.parent,a),a},xo=function(a){return a instanceof de?_n(a):Wn(a,a._dur)},tp={_start:0,endTime:Va,totalDuration:Va},Qe=function m(a,r,i){var c=a.labels,s=a._recent||tp,o=a.duration()>=Ve?s.endTime(!1):a._dur,h,p,y;return te(r)&&(isNaN(r)||r in c)?(p=r.charAt(0),y=r.substr(-1)==="%",h=r.indexOf("="),p==="<"||p===">"?(h>=0&&(r=r.replace(/=/,"")),(p==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(r.substr(1))||0)*(y?(h<0?s:i).totalDuration()/100:1)):h<0?(r in c||(c[r]=o),c[r]):(p=parseFloat(r.charAt(h-1)+r.substr(h+1)),y&&i&&(p=p/100*(se(i)?i[0]:i).totalDuration()),h>1?m(a,r.substr(0,h-1),i)+p:o+p)):r==null?o:+r},Za=function(a,r,i){var c=yl(r[1]),s=(c?2:1)+(a<2?0:1),o=r[s],h,p;if(c&&(o.duration=r[1]),o.parent=i,a){for(h=o,p=i;p&&!("immediateRender"in h);)h=p.vars.defaults||{},p=ye(p.vars.inherit)&&p.parent;o.immediateRender=ye(h.immediateRender),a<2?o.runBackwards=1:o.startAt=r[s-1]}return new Jt(r[0],o,r[s+1])},Ll=function(a,r){return a||a===0?r(a):r},Ka=function(a,r,i){return i<a?a:i>r?r:i},oe=function(a,r){return!te(a)||!(r=ky.exec(a))?"":r[1]},ep=function(a,r,i){return Ll(i,function(c){return Ka(a,r,c)})},Ir=[].slice,To=function(a,r){return a&&ul(a)&&"length"in a&&(!r&&!a.length||a.length-1 in a&&ul(a[0]))&&!a.nodeType&&a!==rl},lp=function(a,r,i){return i===void 0&&(i=[]),a.forEach(function(c){var s;return te(c)&&!r||To(c,1)?(s=i).push.apply(s,Ze(c)):i.push(c)})||i},Ze=function(a,r,i){return Bt&&!r&&Bt.selector?Bt.selector(a):te(a)&&!i&&(Gr||!In())?Ir.call((r||Xr).querySelectorAll(a),0):se(a)?lp(a,i):To(a)?Ir.call(a,0):a?[a]:[]},Pr=function(a){return a=Ze(a)[0]||ka("Invalid scope")||{},function(r){var i=a.current||a.nativeElement||a;return Ze(r,i.querySelectorAll?i:i===a?ka("Invalid scope")||Xr.createElement("div"):a)}},zo=function(a){return a.sort(function(){return .5-Math.random()})},Eo=function(a){if(Gt(a))return a;var r=ul(a)?a:{each:a},i=vn(r.ease),c=r.from||0,s=parseFloat(r.base)||0,o={},h=c>0&&c<1,p=isNaN(c)||h,y=r.axis,g=c,b=c;return te(c)?g=b={center:.5,edges:.5,end:1}[c]||0:!h&&p&&(g=c[0],b=c[1]),function(T,S,A){var v=(A||r).length,C=o[v],j,L,Y,Z,q,J,V,H,M;if(!C){if(M=r.grid==="auto"?0:(r.grid||[1,Ve])[1],!M){for(V=-Ve;V<(V=A[M++].getBoundingClientRect().left)&&M<v;);M<v&&M--}for(C=o[v]=[],j=p?Math.min(M,v)*g-.5:c%M,L=M===Ve?0:p?v*b/M-.5:c/M|0,V=0,H=Ve,J=0;J<v;J++)Y=J%M-j,Z=L-(J/M|0),C[J]=q=y?Math.abs(y==="y"?Z:Y):eo(Y*Y+Z*Z),q>V&&(V=q),q<H&&(H=q);c==="random"&&zo(C),C.max=V-H,C.min=H,C.v=v=(parseFloat(r.amount)||parseFloat(r.each)*(M>v?v-1:y?y==="y"?v/M:M:Math.max(M,v/M))||0)*(c==="edges"?-1:1),C.b=v<0?s-v:s,C.u=oe(r.amount||r.each)||0,i=i&&v<0?Ho(i):i}return v=(C[T]-C.min)/C.max||0,qt(C.b+(i?i(v):v)*C.v)+C.u}},tf=function(a){var r=Math.pow(10,((a+"").split(".")[1]||"").length);return function(i){var c=qt(Math.round(parseFloat(i)/a)*a*r);return(c-c%1)/r+(yl(i)?0:oe(i))}},Ao=function(a,r){var i=se(a),c,s;return!i&&ul(a)&&(c=i=a.radius||Ve,a.values?(a=Ze(a.values),(s=!yl(a[0]))&&(c*=c)):a=tf(a.increment)),Ll(r,i?Gt(a)?function(o){return s=a(o),Math.abs(s-o)<=c?s:o}:function(o){for(var h=parseFloat(s?o.x:o),p=parseFloat(s?o.y:0),y=Ve,g=0,b=a.length,T,S;b--;)s?(T=a[b].x-h,S=a[b].y-p,T=T*T+S*S):T=Math.abs(a[b]-h),T<y&&(y=T,g=b);return g=!c||y<=c?a[g]:o,s||g===o||yl(o)?g:g+oe(o)}:tf(a))},Mo=function(a,r,i,c){return Ll(se(a)?!r:i===!0?!!(i=0):!c,function(){return se(a)?a[~~(Math.random()*a.length)]:(i=i||1e-5)&&(c=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((a-i/2+Math.random()*(r-a+i*.99))/i)*i*c)/c})},np=function(){for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return function(c){return r.reduce(function(s,o){return o(s)},c)}},ap=function(a,r){return function(i){return a(parseFloat(i))+(r||oe(i))}},ip=function(a,r,i){return Co(a,r,0,1,i)},Oo=function(a,r,i){return Ll(i,function(c){return a[~~r(c)]})},up=function m(a,r,i){var c=r-a;return se(a)?Oo(a,m(0,a.length),r):Ll(i,function(s){return(c+(s-a)%c)%c+a})},rp=function m(a,r,i){var c=r-a,s=c*2;return se(a)?Oo(a,m(0,a.length-1),r):Ll(i,function(o){return o=(s+(o-a)%s)%s||0,a+(o>c?s-o:o)})},Ja=function(a){return a.replace(Yy,function(r){var i=r.indexOf("[")+1,c=r.substring(i||7,i?r.indexOf("]"):r.length-1).split(Gy);return Mo(i?c:+c[0],i?0:+c[1],+c[2]||1e-5)})},Co=function(a,r,i,c,s){var o=r-a,h=c-i;return Ll(s,function(p){return i+((p-a)/o*h||0)})},fp=function m(a,r,i,c){var s=isNaN(a+r)?0:function(S){return(1-S)*a+S*r};if(!s){var o=te(a),h={},p,y,g,b,T;if(i===!0&&(c=1)&&(i=null),o)a={p:a},r={p:r};else if(se(a)&&!se(r)){for(g=[],b=a.length,T=b-2,y=1;y<b;y++)g.push(m(a[y-1],a[y]));b--,s=function(A){A*=b;var v=Math.min(T,~~A);return g[v](A-v)},i=r}else c||(a=Jn(se(a)?[]:{},a));if(!g){for(p in r)af.call(h,a,p,"get",r[p]);s=function(A){return sf(A,h)||(o?a.p:a)}}}return Ll(i,s)},Do=function(a,r,i){var c=a.labels,s=Ve,o,h,p;for(o in c)h=c[o]-r,h<0==!!i&&h&&s>(h=Math.abs(h))&&(p=o,s=h);return p},we=function(a,r,i){var c=a.vars,s=c[r],o=Bt,h=a._ctx,p,y,g;if(s)return p=c[r+"Params"],y=c.callbackScope||a,i&&Bl.length&&eu(),h&&(Bt=h),g=p?s.apply(y,p):s.call(y),Bt=o,g},Fa=function(a){return Hl(a),a.scrollTrigger&&a.scrollTrigger.kill(!!ne),a.progress()<1&&we(a,"onInterrupt"),a},$n,wo=[],Ro=function(a){if(a)if(a=!a.name&&a.default||a,qr()||a.headless){var r=a.name,i=Gt(a),c=r&&!i&&a.init?function(){this._props=[]}:a,s={init:Va,render:sf,add:af,kill:zp,modifier:Tp,rawVars:0},o={targetTest:0,get:0,getSetter:cf,aliases:{},register:0};if(In(),a!==c){if(Ce[r])return;De(c,De(lu(a,s),o)),Jn(c.prototype,Jn(s,lu(a,o))),Ce[c.prop=r]=c,a.targetTest&&(tu.push(c),Vr[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}fo(r,c),a.register&&a.register(_e,c,ge)}else wo.push(a)},Rt=255,Wa={aqua:[0,Rt,Rt],lime:[0,Rt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Rt],navy:[0,0,128],white:[Rt,Rt,Rt],olive:[128,128,0],yellow:[Rt,Rt,0],orange:[Rt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Rt,0,0],pink:[Rt,192,203],cyan:[0,Rt,Rt],transparent:[Rt,Rt,Rt,0]},ef=function(a,r,i){return a+=a<0?1:a>1?-1:0,(a*6<1?r+(i-r)*a*6:a<.5?i:a*3<2?r+(i-r)*(2/3-a)*6:r)*Rt+.5|0},Uo=function(a,r,i){var c=a?yl(a)?[a>>16,a>>8&Rt,a&Rt]:0:Wa.black,s,o,h,p,y,g,b,T,S,A;if(!c){if(a.substr(-1)===","&&(a=a.substr(0,a.length-1)),Wa[a])c=Wa[a];else if(a.charAt(0)==="#"){if(a.length<6&&(s=a.charAt(1),o=a.charAt(2),h=a.charAt(3),a="#"+s+s+o+o+h+h+(a.length===5?a.charAt(4)+a.charAt(4):"")),a.length===9)return c=parseInt(a.substr(1,6),16),[c>>16,c>>8&Rt,c&Rt,parseInt(a.substr(7),16)/255];a=parseInt(a.substr(1),16),c=[a>>16,a>>8&Rt,a&Rt]}else if(a.substr(0,3)==="hsl"){if(c=A=a.match(no),!r)p=+c[0]%360/360,y=+c[1]/100,g=+c[2]/100,o=g<=.5?g*(y+1):g+y-g*y,s=g*2-o,c.length>3&&(c[3]*=1),c[0]=ef(p+1/3,s,o),c[1]=ef(p,s,o),c[2]=ef(p-1/3,s,o);else if(~a.indexOf("="))return c=a.match(ao),i&&c.length<4&&(c[3]=1),c}else c=a.match(no)||Wa.transparent;c=c.map(Number)}return r&&!A&&(s=c[0]/Rt,o=c[1]/Rt,h=c[2]/Rt,b=Math.max(s,o,h),T=Math.min(s,o,h),g=(b+T)/2,b===T?p=y=0:(S=b-T,y=g>.5?S/(2-b-T):S/(b+T),p=b===s?(o-h)/S+(o<h?6:0):b===o?(h-s)/S+2:(s-o)/S+4,p*=60),c[0]=~~(p+.5),c[1]=~~(y*100+.5),c[2]=~~(g*100+.5)),i&&c.length<4&&(c[3]=1),c},No=function(a){var r=[],i=[],c=-1;return a.split(ql).forEach(function(s){var o=s.match(Zn)||[];r.push.apply(r,o),i.push(c+=o.length+1)}),r.c=i,r},jo=function(a,r,i){var c="",s=(a+c).match(ql),o=r?"hsla(":"rgba(",h=0,p,y,g,b;if(!s)return a;if(s=s.map(function(T){return(T=Uo(T,r,1))&&o+(r?T[0]+","+T[1]+"%,"+T[2]+"%,"+T[3]:T.join(","))+")"}),i&&(g=No(a),p=i.c,p.join(c)!==g.c.join(c)))for(y=a.replace(ql,"1").split(Zn),b=y.length-1;h<b;h++)c+=y[h]+(~p.indexOf(h)?s.shift()||o+"0,0,0,0)":(g.length?g:s.length?s:i).shift());if(!y)for(y=a.split(ql),b=y.length-1;h<b;h++)c+=y[h]+s[h];return c+y[b]},ql=(function(){var m="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",a;for(a in Wa)m+="|"+a+"\\b";return new RegExp(m+")","gi")})(),cp=/hsl[a]?\(/,Bo=function(a){var r=a.join(" "),i;if(ql.lastIndex=0,ql.test(r))return i=cp.test(r),a[1]=jo(a[1],i),a[0]=jo(a[0],i,No(a[1])),!0},$a,Re=(function(){var m=Date.now,a=500,r=33,i=m(),c=i,s=1e3/240,o=s,h=[],p,y,g,b,T,S,A=function v(C){var j=m()-c,L=C===!0,Y,Z,q,J;if((j>a||j<0)&&(i+=j-r),c+=j,q=c-i,Y=q-o,(Y>0||L)&&(J=++b.frame,T=q-b.time*1e3,b.time=q=q/1e3,o+=Y+(Y>=s?4:s-Y),Z=1),L||(p=y(v)),Z)for(S=0;S<h.length;S++)h[S](q,T,J,C)};return b={time:0,frame:0,tick:function(){A(!0)},deltaRatio:function(C){return T/(1e3/(C||60))},wake:function(){uo&&(!Gr&&qr()&&(rl=Gr=window,Xr=rl.document||{},Oe.gsap=_e,(rl.gsapVersions||(rl.gsapVersions=[])).push(_e.version),ro(Ii||rl.GreenSockGlobals||!rl.gsap&&rl||{}),wo.forEach(Ro)),g=typeof requestAnimationFrame<"u"&&requestAnimationFrame,p&&b.sleep(),y=g||function(C){return setTimeout(C,o-b.time*1e3+1|0)},$a=1,A(2))},sleep:function(){(g?cancelAnimationFrame:clearTimeout)(p),$a=0,y=Va},lagSmoothing:function(C,j){a=C||1/0,r=Math.min(j||33,a)},fps:function(C){s=1e3/(C||240),o=b.time*1e3+s},add:function(C,j,L){var Y=j?function(Z,q,J,V){C(Z,q,J,V),b.remove(Y)}:C;return b.remove(C),h[L?"unshift":"push"](Y),In(),Y},remove:function(C,j){~(j=h.indexOf(C))&&h.splice(j,1)&&S>=j&&S--},_listeners:h},b})(),In=function(){return!$a&&Re.wake()},vt={},sp=/^[\d.\-M][\d.\-,\s]/,op=/["']/g,dp=function(a){for(var r={},i=a.substr(1,a.length-3).split(":"),c=i[0],s=1,o=i.length,h,p,y;s<o;s++)p=i[s],h=s!==o-1?p.lastIndexOf(","):p.length,y=p.substr(0,h),r[c]=isNaN(y)?y.replace(op,"").trim():+y,c=p.substr(h+1).trim();return r},hp=function(a){var r=a.indexOf("(")+1,i=a.indexOf(")"),c=a.indexOf("(",r);return a.substring(r,~c&&c<i?a.indexOf(")",i+1):i)},mp=function(a){var r=(a+"").split("("),i=vt[r[0]];return i&&r.length>1&&i.config?i.config.apply(null,~a.indexOf("{")?[dp(r[1])]:hp(a).split(",").map(mo)):vt._CE&&sp.test(a)?vt._CE("",a):i},Ho=function(a){return function(r){return 1-a(1-r)}},Lo=function m(a,r){for(var i=a._first,c;i;)i instanceof de?m(i,r):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==r&&(i.timeline?m(i.timeline,r):(c=i._ease,i._ease=i._yEase,i._yEase=c,i._yoyo=r)),i=i._next},vn=function(a,r){return a&&(Gt(a)?a:vt[a]||mp(a))||r},bn=function(a,r,i,c){i===void 0&&(i=function(p){return 1-r(1-p)}),c===void 0&&(c=function(p){return p<.5?r(p*2)/2:1-r((1-p)*2)/2});var s={easeIn:r,easeOut:i,easeInOut:c},o;return pe(a,function(h){vt[h]=Oe[h]=s,vt[o=h.toLowerCase()]=i;for(var p in s)vt[o+(p==="easeIn"?".in":p==="easeOut"?".out":".inOut")]=vt[h+"."+p]=s[p]}),s},qo=function(a){return function(r){return r<.5?(1-a(1-r*2))/2:.5+a((r-.5)*2)/2}},lf=function m(a,r,i){var c=r>=1?r:1,s=(i||(a?.3:.45))/(r<1?r:1),o=s/Hr*(Math.asin(1/c)||0),h=function(g){return g===1?1:c*Math.pow(2,-10*g)*qy((g-o)*s)+1},p=a==="out"?h:a==="in"?function(y){return 1-h(1-y)}:qo(h);return s=Hr/s,p.config=function(y,g){return m(a,y,g)},p},nf=function m(a,r){r===void 0&&(r=1.70158);var i=function(o){return o?--o*o*((r+1)*o+r)+1:0},c=a==="out"?i:a==="in"?function(s){return 1-i(1-s)}:qo(i);return c.config=function(s){return m(a,s)},c};pe("Linear,Quad,Cubic,Quart,Quint,Strong",function(m,a){var r=a<5?a+1:a;bn(m+",Power"+(r-1),a?function(i){return Math.pow(i,r)}:function(i){return i},function(i){return 1-Math.pow(1-i,r)},function(i){return i<.5?Math.pow(i*2,r)/2:1-Math.pow((1-i)*2,r)/2})}),vt.Linear.easeNone=vt.none=vt.Linear.easeIn,bn("Elastic",lf("in"),lf("out"),lf()),(function(m,a){var r=1/a,i=2*r,c=2.5*r,s=function(h){return h<r?m*h*h:h<i?m*Math.pow(h-1.5/a,2)+.75:h<c?m*(h-=2.25/a)*h+.9375:m*Math.pow(h-2.625/a,2)+.984375};bn("Bounce",function(o){return 1-s(1-o)},s)})(7.5625,2.75),bn("Expo",function(m){return Math.pow(2,10*(m-1))*m+m*m*m*m*m*m*(1-m)}),bn("Circ",function(m){return-(eo(1-m*m)-1)}),bn("Sine",function(m){return m===1?1:-Ly(m*By)+1}),bn("Back",nf("in"),nf("out"),nf()),vt.SteppedEase=vt.steps=Oe.SteppedEase={config:function(a,r){a===void 0&&(a=1);var i=1/a,c=a+(r?0:1),s=r?1:0,o=1-wt;return function(h){return((c*Ka(0,o,h)|0)+s)*i}}},Qn.ease=vt["quad.out"],pe("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(m){return Kr+=m+","+m+"Params,"});var Yo=function(a,r){this.id=Hy++,a._gsap=this,this.target=a,this.harness=r,this.get=r?r.get:oo,this.set=r?r.getSetter:cf},Ia=(function(){function m(r){this.vars=r,this._delay=+r.delay||0,(this._repeat=r.repeat===1/0?-2:r.repeat||0)&&(this._rDelay=r.repeatDelay||0,this._yoyo=!!r.yoyo||!!r.yoyoEase),this._ts=1,Wn(this,+r.duration,1,1),this.data=r.data,Bt&&(this._ctx=Bt,Bt.data.push(this)),$a||Re.wake()}var a=m.prototype;return a.delay=function(i){return i||i===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+i-this._delay),this._delay=i,this):this._delay},a.duration=function(i){return arguments.length?this.totalDuration(this._repeat>0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},a.totalDuration=function(i){return arguments.length?(this._dirty=0,Wn(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},a.totalTime=function(i,c){if(In(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(uu(this,i),!s._dp||s.parent||vo(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i<this._tDur||this._ts<0&&i>0||!this._tDur&&!i)&&fl(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!c||this._initted&&Math.abs(this._zTime)===wt||!this._initted&&this._dur&&i||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),ho(this,i,c)),this},a.time=function(i,c){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+_o(this))%(this._dur+this._rDelay)||(i?this._dur:0),c):this._time},a.totalProgress=function(i,c){return arguments.length?this.totalTime(this.totalDuration()*i,c):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},a.progress=function(i,c){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+_o(this),c):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},a.iteration=function(i,c){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*s,c):this._repeat?Fn(this._tTime,s)+1:1},a.timeScale=function(i,c){if(!arguments.length)return this._rts===-wt?0:this._rts;if(this._rts===i)return this;var s=this.parent&&this._ts?au(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-wt?0:this._rts,this.totalTime(Ka(-Math.abs(this._delay),this.totalDuration(),s),c!==!1),iu(this),Fy(this)},a.paused=function(i){return arguments.length?(this._ps!==i&&(this._ps=i,i?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(In(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==wt&&(this._tTime-=wt)))),this):this._ps},a.startTime=function(i){if(arguments.length){this._start=qt(i);var c=this.parent||this._dp;return c&&(c._sort||!this.parent)&&fl(c,this,this._start-this._delay),this}return this._start},a.endTime=function(i){return this._start+(ye(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},a.rawTime=function(i){var c=this.parent||this._dp;return c?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?au(c.rawTime(i),this):this._tTime:this._tTime},a.revert=function(i){i===void 0&&(i=Qy);var c=ne;return ne=i,Fr(this)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),ne=c,this},a.globalTime=function(i){for(var c=this,s=arguments.length?i:c.rawTime();c;)s=c._start+s/(Math.abs(c._ts)||1),c=c._dp;return!this.parent&&this._sat?this._sat.globalTime(i):s},a.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,xo(this)):this._repeat===-2?1/0:this._repeat},a.repeatDelay=function(i){if(arguments.length){var c=this._time;return this._rDelay=i,xo(this),c?this.time(c):this}return this._rDelay},a.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},a.seek=function(i,c){return this.totalTime(Qe(this,i),ye(c))},a.restart=function(i,c){return this.play().totalTime(i?-this._delay:0,ye(c)),this._dur||(this._zTime=-wt),this},a.play=function(i,c){return i!=null&&this.seek(i,c),this.reversed(!1).paused(!1)},a.reverse=function(i,c){return i!=null&&this.seek(i||this.totalDuration(),c),this.reversed(!0).paused(!1)},a.pause=function(i,c){return i!=null&&this.seek(i,c),this.paused(!0)},a.resume=function(){return this.paused(!1)},a.reversed=function(i){return arguments.length?(!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-wt:0)),this):this._rts<0},a.invalidate=function(){return this._initted=this._act=0,this._zTime=-wt,this},a.isActive=function(){var i=this.parent||this._dp,c=this._start,s;return!!(!i||this._ts&&this._initted&&i.isActive()&&(s=i.rawTime(!0))>=c&&s<this.endTime(!0)-wt)},a.eventCallback=function(i,c,s){var o=this.vars;return arguments.length>1?(c?(o[i]=c,s&&(o[i+"Params"]=s),i==="onUpdate"&&(this._onUpdate=c)):delete o[i],this):o[i]},a.then=function(i){var c=this,s=c._prom;return new Promise(function(o){var h=Gt(i)?i:yo,p=function(){var g=c.then;c.then=null,s&&s(),Gt(h)&&(h=h(c))&&(h.then||h===c)&&(c.then=g),o(h),c.then=g};c._initted&&c.totalProgress()===1&&c._ts>=0||!c._tTime&&c._ts<0?p():c._prom=p})},a.kill=function(){Fa(this)},m})();De(Ia.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-wt,_prom:0,_ps:!1,_rts:1});var de=(function(m){to(a,m);function a(i,c){var s;return i===void 0&&(i={}),s=m.call(this,i)||this,s.labels={},s.smoothChildTiming=!!i.smoothChildTiming,s.autoRemoveChildren=!!i.autoRemoveChildren,s._sort=ye(i.sortChildren),Lt&&fl(i.parent||Lt,ml(s),c),i.reversed&&s.reverse(),i.paused&&s.paused(!0),i.scrollTrigger&&bo(ml(s),i.scrollTrigger),s}var r=a.prototype;return r.to=function(c,s,o){return Za(0,arguments,this),this},r.from=function(c,s,o){return Za(1,arguments,this),this},r.fromTo=function(c,s,o,h){return Za(2,arguments,this),this},r.set=function(c,s,o){return s.duration=0,s.parent=this,Qa(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new Jt(c,s,Qe(this,o),1),this},r.call=function(c,s,o){return fl(this,Jt.delayedCall(0,c,s),o)},r.staggerTo=function(c,s,o,h,p,y,g){return o.duration=s,o.stagger=o.stagger||h,o.onComplete=y,o.onCompleteParams=g,o.parent=this,new Jt(c,o,Qe(this,p)),this},r.staggerFrom=function(c,s,o,h,p,y,g){return o.runBackwards=1,Qa(o).immediateRender=ye(o.immediateRender),this.staggerTo(c,s,o,h,p,y,g)},r.staggerFromTo=function(c,s,o,h,p,y,g,b){return h.startAt=o,Qa(h).immediateRender=ye(h.immediateRender),this.staggerTo(c,s,h,p,y,g,b)},r.render=function(c,s,o){var h=this._time,p=this._dirty?this.totalDuration():this._tDur,y=this._dur,g=c<=0?0:qt(c),b=this._zTime<0!=c<0&&(this._initted||!y),T,S,A,v,C,j,L,Y,Z,q,J,V;if(this!==Lt&&g>p&&c>=0&&(g=p),g!==this._tTime||o||b){if(h!==this._time&&y&&(g+=this._time-h,c+=this._time-h),T=g,Z=this._start,Y=this._ts,j=!Y,b&&(y||(h=this._zTime),(c||!s)&&(this._zTime=c)),this._repeat){if(J=this._yoyo,C=y+this._rDelay,this._repeat<-1&&c<0)return this.totalTime(C*100+c,s,o);if(T=qt(g%C),g===p?(v=this._repeat,T=y):(q=qt(g/C),v=~~q,v&&v===q&&(T=y,v--),T>y&&(T=y)),q=Fn(this._tTime,C),!h&&this._tTime&&q!==v&&this._tTime-q*C-this._dur<=0&&(q=v),J&&v&1&&(T=y-T,V=1),v!==q&&!this._lock){var H=J&&q&1,M=H===(J&&v&1);if(v<q&&(H=!H),h=H?0:g%y?y:g,this._lock=1,this.render(h||(V?0:qt(v*C)),s,!y)._lock=0,this._tTime=g,!s&&this.parent&&we(this,"onRepeat"),this.vars.repeatRefresh&&!V&&(this.invalidate()._lock=1,q=v),h&&h!==this._time||j!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(y=this._dur,p=this._tDur,M&&(this._lock=2,h=H?y:-1e-4,this.render(h,!0),this.vars.repeatRefresh&&!V&&this.invalidate()),this._lock=0,!this._ts&&!j)return this;Lo(this,V)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(L=Py(this,qt(h),qt(T)),L&&(g-=T-(T=L._start))),this._tTime=g,this._time=T,this._act=!Y,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=c,h=0),!h&&g&&y&&!s&&!q&&(we(this,"onStart"),this._tTime!==g))return this;if(T>=h&&c>=0)for(S=this._first;S;){if(A=S._next,(S._act||T>=S._start)&&S._ts&&L!==S){if(S.parent!==this)return this.render(c,s,o);if(S.render(S._ts>0?(T-S._start)*S._ts:(S._dirty?S.totalDuration():S._tDur)+(T-S._start)*S._ts,s,o),T!==this._time||!this._ts&&!j){L=0,A&&(g+=this._zTime=-wt);break}}S=A}else{S=this._last;for(var F=c<0?c:T;S;){if(A=S._prev,(S._act||F<=S._end)&&S._ts&&L!==S){if(S.parent!==this)return this.render(c,s,o);if(S.render(S._ts>0?(F-S._start)*S._ts:(S._dirty?S.totalDuration():S._tDur)+(F-S._start)*S._ts,s,o||ne&&Fr(S)),T!==this._time||!this._ts&&!j){L=0,A&&(g+=this._zTime=F?-wt:wt);break}}S=A}}if(L&&!s&&(this.pause(),L.render(T>=h?0:-wt)._zTime=T>=h?1:-1,this._ts))return this._start=Z,iu(this),this.render(c,s,o);this._onUpdate&&!s&&we(this,"onUpdate",!0),(g===p&&this._tTime>=this.totalDuration()||!g&&h)&&(Z===this._start||Math.abs(Y)!==Math.abs(this._ts))&&(this._lock||((c||!y)&&(g===p&&this._ts>0||!g&&this._ts<0)&&Hl(this,1),!s&&!(c<0&&!h)&&(g||h||!p)&&(we(this,g===p&&c>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(g<p&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(c,s){var o=this;if(yl(s)||(s=Qe(this,s,c)),!(c instanceof Ia)){if(se(c))return c.forEach(function(h){return o.add(h,s)}),this;if(te(c))return this.addLabel(c,s);if(Gt(c))c=Jt.delayedCall(0,c);else return this}return this!==c?fl(this,c,s):this},r.getChildren=function(c,s,o,h){c===void 0&&(c=!0),s===void 0&&(s=!0),o===void 0&&(o=!0),h===void 0&&(h=-Ve);for(var p=[],y=this._first;y;)y._start>=h&&(y instanceof Jt?s&&p.push(y):(o&&p.push(y),c&&p.push.apply(p,y.getChildren(!0,s,o)))),y=y._next;return p},r.getById=function(c){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===c)return s[o]},r.remove=function(c){return te(c)?this.removeLabel(c):Gt(c)?this.killTweensOf(c):(c.parent===this&&nu(this,c),c===this._recent&&(this._recent=this._last),_n(this))},r.totalTime=function(c,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=qt(Re.time-(this._ts>0?c/this._ts:(this.totalDuration()-c)/-this._ts))),m.prototype.totalTime.call(this,c,s),this._forcing=0,this):this._tTime},r.addLabel=function(c,s){return this.labels[c]=Qe(this,s),this},r.removeLabel=function(c){return delete this.labels[c],this},r.addPause=function(c,s,o){var h=Jt.delayedCall(0,s||Va,o);return h.data="isPause",this._hasPause=1,fl(this,h,Qe(this,c))},r.removePause=function(c){var s=this._first;for(c=Qe(this,c);s;)s._start===c&&s.data==="isPause"&&Hl(s),s=s._next},r.killTweensOf=function(c,s,o){for(var h=this.getTweensOf(c,o),p=h.length;p--;)Yl!==h[p]&&h[p].kill(c,s);return this},r.getTweensOf=function(c,s){for(var o=[],h=Ze(c),p=this._first,y=yl(s),g;p;)p instanceof Jt?Zy(p._targets,h)&&(y?(!Yl||p._initted&&p._ts)&&p.globalTime(0)<=s&&p.globalTime(p.totalDuration())>s:!s||p.isActive())&&o.push(p):(g=p.getTweensOf(h,s)).length&&o.push.apply(o,g),p=p._next;return o},r.tweenTo=function(c,s){s=s||{};var o=this,h=Qe(o,c),p=s,y=p.startAt,g=p.onStart,b=p.onStartParams,T=p.immediateRender,S,A=Jt.to(o,De({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:h,overwrite:"auto",duration:s.duration||Math.abs((h-(y&&"time"in y?y.time:o._time))/o.timeScale())||wt,onStart:function(){if(o.pause(),!S){var C=s.duration||Math.abs((h-(y&&"time"in y?y.time:o._time))/o.timeScale());A._dur!==C&&Wn(A,C,0,1).render(A._time,!0,!0),S=1}g&&g.apply(A,b||[])}},s));return T?A.render(0):A},r.tweenFromTo=function(c,s,o){return this.tweenTo(s,De({startAt:{time:Qe(this,c)}},o))},r.recent=function(){return this._recent},r.nextLabel=function(c){return c===void 0&&(c=this._time),Do(this,Qe(this,c))},r.previousLabel=function(c){return c===void 0&&(c=this._time),Do(this,Qe(this,c),1)},r.currentLabel=function(c){return arguments.length?this.seek(c,!0):this.previousLabel(this._time+wt)},r.shiftChildren=function(c,s,o){o===void 0&&(o=0);var h=this._first,p=this.labels,y;for(c=qt(c);h;)h._start>=o&&(h._start+=c,h._end+=c),h=h._next;if(s)for(y in p)p[y]>=o&&(p[y]+=c);return _n(this)},r.invalidate=function(c){var s=this._first;for(this._lock=0;s;)s.invalidate(c),s=s._next;return m.prototype.invalidate.call(this,c)},r.clear=function(c){c===void 0&&(c=!0);for(var s=this._first,o;s;)o=s._next,this.remove(s),s=o;return this._dp&&(this._time=this._tTime=this._pTime=0),c&&(this.labels={}),_n(this)},r.totalDuration=function(c){var s=0,o=this,h=o._last,p=Ve,y,g,b;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-c:c));if(o._dirty){for(b=o.parent;h;)y=h._prev,h._dirty&&h.totalDuration(),g=h._start,g>p&&o._sort&&h._ts&&!o._lock?(o._lock=1,fl(o,h,g-h._delay,1)._lock=0):p=g,g<0&&h._ts&&(s-=g,(!b&&!o._dp||b&&b.smoothChildTiming)&&(o._start+=qt(g/o._ts),o._time-=g,o._tTime-=g),o.shiftChildren(-g,!1,-1/0),p=0),h._end>s&&h._ts&&(s=h._end),h=y;Wn(o,o===Lt&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},a.updateRoot=function(c){if(Lt._ts&&(ho(Lt,au(c,Lt)),co=Re.frame),Re.frame>=so){so+=Me.autoSleep||120;var s=Lt._first;if((!s||!s._ts)&&Me.autoSleep&&Re._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||Re.sleep()}}},a})(Ia);De(de.prototype,{_lock:0,_hasPause:0,_forcing:0});var yp=function(a,r,i,c,s,o,h){var p=new ge(this._pt,a,r,0,1,Zo,null,s),y=0,g=0,b,T,S,A,v,C,j,L;for(p.b=i,p.e=c,i+="",c+="",(j=~c.indexOf("random("))&&(c=Ja(c)),o&&(L=[i,c],o(L,a,r),i=L[0],c=L[1]),T=i.match(Yr)||[];b=Yr.exec(c);)A=b[0],v=c.substring(y,b.index),S?S=(S+1)%5:v.substr(-5)==="rgba("&&(S=1),A!==T[g++]&&(C=parseFloat(T[g-1])||0,p._pt={_next:p._pt,p:v||g===1?v:",",s:C,c:A.charAt(1)==="="?Kn(C,A)-C:parseFloat(A)-C,m:S&&S<4?Math.round:0},y=Yr.lastIndex);return p.c=y<c.length?c.substring(y,c.length):"",p.fp=h,(io.test(c)||j)&&(p.e=0),this._pt=p,p},af=function(a,r,i,c,s,o,h,p,y,g){Gt(c)&&(c=c(s||0,a,o));var b=a[r],T=i!=="get"?i:Gt(b)?y?a[r.indexOf("set")||!Gt(a["get"+r.substr(3)])?r:"get"+r.substr(3)](y):a[r]():b,S=Gt(b)?y?bp:Vo:ff,A;if(te(c)&&(~c.indexOf("random(")&&(c=Ja(c)),c.charAt(1)==="="&&(A=Kn(T,c)+(oe(T)||0),(A||A===0)&&(c=A))),!g||T!==c||uf)return!isNaN(T*c)&&c!==""?(A=new ge(this._pt,a,r,+T||0,c-(T||0),typeof b=="boolean"?xp:Qo,0,S),y&&(A.fp=y),h&&A.modifier(h,this,a),this._pt=A):(!b&&!(r in a)&&kr(r,c),yp.call(this,a,r,T,c,S,p||Me.stringFilter,y))},pp=function(a,r,i,c,s){if(Gt(a)&&(a=Pa(a,s,r,i,c)),!ul(a)||a.style&&a.nodeType||se(a)||lo(a))return te(a)?Pa(a,s,r,i,c):a;var o={},h;for(h in a)o[h]=Pa(a[h],s,r,i,c);return o},Go=function(a,r,i,c,s,o){var h,p,y,g;if(Ce[a]&&(h=new Ce[a]).init(s,h.rawVars?r[a]:pp(r[a],c,s,o,i),i,c,o)!==!1&&(i._pt=p=new ge(i._pt,s,a,0,1,h.render,h,0,h.priority),i!==$n))for(y=i._ptLookup[i._targets.indexOf(s)],g=h._props.length;g--;)y[h._props[g]]=p;return h},Yl,uf,rf=function m(a,r,i){var c=a.vars,s=c.ease,o=c.startAt,h=c.immediateRender,p=c.lazy,y=c.onUpdate,g=c.runBackwards,b=c.yoyoEase,T=c.keyframes,S=c.autoRevert,A=a._dur,v=a._startAt,C=a._targets,j=a.parent,L=j&&j.data==="nested"?j.vars.targets:C,Y=a._overwrite==="auto"&&!Br,Z=a.timeline,q,J,V,H,M,F,$,et,ct,St,rt,U,N;if(Z&&(!T||!s)&&(s="none"),a._ease=vn(s,Qn.ease),a._yEase=b?Ho(vn(b===!0?s:b,Qn.ease)):0,b&&a._yoyo&&!a._repeat&&(b=a._yEase,a._yEase=a._ease,a._ease=b),a._from=!Z&&!!c.runBackwards,!Z||T&&!c.stagger){if(et=C[0]?gn(C[0]).harness:0,U=et&&c[et.prop],q=lu(c,Vr),v&&(v._zTime<0&&v.progress(1),r<0&&g&&h&&!S?v.render(-1,!0):v.revert(g&&A?Pi:Vy),v._lazy=0),o){if(Hl(a._startAt=Jt.set(C,De({data:"isStart",overwrite:!1,parent:j,immediateRender:!0,lazy:!v&&ye(p),startAt:null,delay:0,onUpdate:y&&function(){return we(a,"onUpdate")},stagger:0},o))),a._startAt._dp=0,a._startAt._sat=a,r<0&&(ne||!h&&!S)&&a._startAt.revert(Pi),h&&A&&r<=0&&i<=0){r&&(a._zTime=r);return}}else if(g&&A&&!v){if(r&&(h=!1),V=De({overwrite:!1,data:"isFromStart",lazy:h&&!v&&ye(p),immediateRender:h,stagger:0,parent:j},q),U&&(V[et.prop]=U),Hl(a._startAt=Jt.set(C,V)),a._startAt._dp=0,a._startAt._sat=a,r<0&&(ne?a._startAt.revert(Pi):a._startAt.render(-1,!0)),a._zTime=r,!h)m(a._startAt,wt,wt);else if(!r)return}for(a._pt=a._ptCache=0,p=A&&ye(p)||p&&!A,J=0;J<C.length;J++){if(M=C[J],$=M._gsap||Jr(C)[J]._gsap,a._ptLookup[J]=St={},Qr[$.id]&&Bl.length&&eu(),rt=L===C?J:L.indexOf(M),et&&(ct=new et).init(M,U||q,a,rt,L)!==!1&&(a._pt=H=new ge(a._pt,M,ct.name,0,1,ct.render,ct,0,ct.priority),ct._props.forEach(function(P){St[P]=H}),ct.priority&&(F=1)),!et||U)for(V in q)Ce[V]&&(ct=Go(V,q,a,rt,M,L))?ct.priority&&(F=1):St[V]=H=af.call(a,M,V,"get",q[V],rt,L,0,c.stringFilter);a._op&&a._op[J]&&a.kill(M,a._op[J]),Y&&a._pt&&(Yl=a,Lt.killTweensOf(M,St,a.globalTime(r)),N=!a.parent,Yl=0),a._pt&&p&&(Qr[$.id]=1)}F&&Ko(a),a._onInit&&a._onInit(a)}a._onUpdate=y,a._initted=(!a._op||a._pt)&&!N,T&&r<=0&&Z.render(Ve,!0,!0)},gp=function(a,r,i,c,s,o,h,p){var y=(a._pt&&a._ptCache||(a._ptCache={}))[r],g,b,T,S;if(!y)for(y=a._ptCache[r]=[],T=a._ptLookup,S=a._targets.length;S--;){if(g=T[S][r],g&&g.d&&g.d._pt)for(g=g.d._pt;g&&g.p!==r&&g.fp!==r;)g=g._next;if(!g)return uf=1,a.vars[r]="+=0",rf(a,h),uf=0,p?ka(r+" not eligible for reset"):1;y.push(g)}for(S=y.length;S--;)b=y[S],g=b._pt||b,g.s=(c||c===0)&&!s?c:g.s+(c||0)+o*g.c,g.c=i-g.s,b.e&&(b.e=Vt(i)+oe(b.e)),b.b&&(b.b=g.s+oe(b.b))},_p=function(a,r){var i=a[0]?gn(a[0]).harness:0,c=i&&i.aliases,s,o,h,p;if(!c)return r;s=Jn({},r);for(o in c)if(o in s)for(p=c[o].split(","),h=p.length;h--;)s[p[h]]=s[o];return s},vp=function(a,r,i,c){var s=r.ease||c||"power1.inOut",o,h;if(se(r))h=i[a]||(i[a]=[]),r.forEach(function(p,y){return h.push({t:y/(r.length-1)*100,v:p,e:s})});else for(o in r)h=i[o]||(i[o]=[]),o==="ease"||h.push({t:parseFloat(a),v:r[o],e:s})},Pa=function(a,r,i,c,s){return Gt(a)?a.call(r,i,c,s):te(a)&&~a.indexOf("random(")?Ja(a):a},Xo=Kr+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",ko={};pe(Xo+",id,stagger,delay,duration,paused,scrollTrigger",function(m){return ko[m]=1});var Jt=(function(m){to(a,m);function a(i,c,s,o){var h;typeof c=="number"&&(s.duration=c,c=s,s=null),h=m.call(this,o?c:Qa(c))||this;var p=h.vars,y=p.duration,g=p.delay,b=p.immediateRender,T=p.stagger,S=p.overwrite,A=p.keyframes,v=p.defaults,C=p.scrollTrigger,j=p.yoyoEase,L=c.parent||Lt,Y=(se(i)||lo(i)?yl(i[0]):"length"in c)?[i]:Ze(i),Z,q,J,V,H,M,F,$;if(h._targets=Y.length?Jr(Y):ka("GSAP target "+i+" not found. https://gsap.com",!Me.nullTargetWarn)||[],h._ptLookup=[],h._overwrite=S,A||T||$i(y)||$i(g)){if(c=h.vars,Z=h.timeline=new de({data:"nested",defaults:v||{},targets:L&&L.data==="nested"?L.vars.targets:Y}),Z.kill(),Z.parent=Z._dp=ml(h),Z._start=0,T||$i(y)||$i(g)){if(V=Y.length,F=T&&Eo(T),ul(T))for(H in T)~Xo.indexOf(H)&&($||($={}),$[H]=T[H]);for(q=0;q<V;q++)J=lu(c,ko),J.stagger=0,j&&(J.yoyoEase=j),$&&Jn(J,$),M=Y[q],J.duration=+Pa(y,ml(h),q,M,Y),J.delay=(+Pa(g,ml(h),q,M,Y)||0)-h._delay,!T&&V===1&&J.delay&&(h._delay=g=J.delay,h._start+=g,J.delay=0),Z.to(M,J,F?F(q,M,Y):0),Z._ease=vt.none;Z.duration()?y=g=0:h.timeline=0}else if(A){Qa(De(Z.vars.defaults,{ease:"none"})),Z._ease=vn(A.ease||c.ease||"none");var et=0,ct,St,rt;if(se(A))A.forEach(function(U){return Z.to(Y,U,">")}),Z.duration();else{J={};for(H in A)H==="ease"||H==="easeEach"||vp(H,A[H],J,A.easeEach);for(H in J)for(ct=J[H].sort(function(U,N){return U.t-N.t}),et=0,q=0;q<ct.length;q++)St=ct[q],rt={ease:St.e,duration:(St.t-(q?ct[q-1].t:0))/100*y},rt[H]=St.v,Z.to(Y,rt,et),et+=rt.duration;Z.duration()<y&&Z.to({},{duration:y-Z.duration()})}}y||h.duration(y=Z.duration())}else h.timeline=0;return S===!0&&!Br&&(Yl=ml(h),Lt.killTweensOf(Y),Yl=0),fl(L,ml(h),s),c.reversed&&h.reverse(),c.paused&&h.paused(!0),(b||!y&&!A&&h._start===qt(L._time)&&ye(b)&&Wy(ml(h))&&L.data!=="nested")&&(h._tTime=-wt,h.render(Math.max(0,-g)||0)),C&&bo(ml(h),C),h}var r=a.prototype;return r.render=function(c,s,o){var h=this._time,p=this._tDur,y=this._dur,g=c<0,b=c>p-wt&&!g?p:c<wt?0:c,T,S,A,v,C,j,L,Y,Z;if(!y)Iy(this,c,s,o);else if(b!==this._tTime||!c||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==g||this._lazy){if(T=b,Y=this.timeline,this._repeat){if(v=y+this._rDelay,this._repeat<-1&&g)return this.totalTime(v*100+c,s,o);if(T=qt(b%v),b===p?(A=this._repeat,T=y):(C=qt(b/v),A=~~C,A&&A===C?(T=y,A--):T>y&&(T=y)),j=this._yoyo&&A&1,j&&(Z=this._yEase,T=y-T),C=Fn(this._tTime,v),T===h&&!o&&this._initted&&A===C)return this._tTime=b,this;A!==C&&(Y&&this._yEase&&Lo(Y,j),this.vars.repeatRefresh&&!j&&!this._lock&&T!==v&&this._initted&&(this._lock=o=1,this.render(qt(v*A),!0).invalidate()._lock=0))}if(!this._initted){if(So(this,g?c:T,o,s,b))return this._tTime=0,this;if(h!==this._time&&!(o&&this.vars.repeatRefresh&&A!==C))return this;if(y!==this._dur)return this.render(c,s,o)}if(this._tTime=b,this._time=T,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=L=(Z||this._ease)(T/y),this._from&&(this.ratio=L=1-L),!h&&b&&!s&&!C&&(we(this,"onStart"),this._tTime!==b))return this;for(S=this._pt;S;)S.r(L,S.d),S=S._next;Y&&Y.render(c<0?c:Y._dur*Y._ease(T/this._dur),s,o)||this._startAt&&(this._zTime=c),this._onUpdate&&!s&&(g&&Wr(this,c,s,o),we(this,"onUpdate")),this._repeat&&A!==C&&this.vars.onRepeat&&!s&&this.parent&&we(this,"onRepeat"),(b===this._tDur||!b)&&this._tTime===b&&(g&&!this._onUpdate&&Wr(this,c,!0,!0),(c||!y)&&(b===this._tDur&&this._ts>0||!b&&this._ts<0)&&Hl(this,1),!s&&!(g&&!h)&&(b||h||j)&&(we(this,b===p?"onComplete":"onReverseComplete",!0),this._prom&&!(b<p&&this.timeScale()>0)&&this._prom()))}return this},r.targets=function(){return this._targets},r.invalidate=function(c){return(!c||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(c),m.prototype.invalidate.call(this,c)},r.resetTo=function(c,s,o,h,p){$a||Re.wake(),this._ts||this.play();var y=Math.min(this._dur,(this._dp._time-this._start)*this._ts),g;return this._initted||rf(this,y),g=this._ease(y/this._dur),gp(this,c,s,o,h,g,y,p)?this.resetTo(c,s,o,h,1):(uu(this,0),this.parent||go(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(c,s){if(s===void 0&&(s="all"),!c&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?Fa(this):this.scrollTrigger&&this.scrollTrigger.kill(!!ne),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(c,s,Yl&&Yl.vars.overwrite!==!0)._first||Fa(this),this.parent&&o!==this.timeline.totalDuration()&&Wn(this,this._dur*this.timeline._tDur/o,0,1),this}var h=this._targets,p=c?Ze(c):h,y=this._ptLookup,g=this._pt,b,T,S,A,v,C,j;if((!s||s==="all")&&Jy(h,p))return s==="all"&&(this._pt=0),Fa(this);for(b=this._op=this._op||[],s!=="all"&&(te(s)&&(v={},pe(s,function(L){return v[L]=1}),s=v),s=_p(h,s)),j=h.length;j--;)if(~p.indexOf(h[j])){T=y[j],s==="all"?(b[j]=s,A=T,S={}):(S=b[j]=b[j]||{},A=s);for(v in A)C=T&&T[v],C&&((!("kill"in C.d)||C.d.kill(v)===!0)&&nu(this,C,"_pt"),delete T[v]),S!=="all"&&(S[v]=1)}return this._initted&&!this._pt&&g&&Fa(this),this},a.to=function(c,s){return new a(c,s,arguments[2])},a.from=function(c,s){return Za(1,arguments)},a.delayedCall=function(c,s,o,h){return new a(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:c,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:h})},a.fromTo=function(c,s,o){return Za(2,arguments)},a.set=function(c,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new a(c,s)},a.killTweensOf=function(c,s,o){return Lt.killTweensOf(c,s,o)},a})(Ia);De(Jt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),pe("staggerTo,staggerFrom,staggerFromTo",function(m){Jt[m]=function(){var a=new de,r=Ir.call(arguments,0);return r.splice(m==="staggerFromTo"?5:4,0,0),a[m].apply(a,r)}});var ff=function(a,r,i){return a[r]=i},Vo=function(a,r,i){return a[r](i)},bp=function(a,r,i,c){return a[r](c.fp,i)},Sp=function(a,r,i){return a.setAttribute(r,i)},cf=function(a,r){return Gt(a[r])?Vo:Lr(a[r])&&a.setAttribute?Sp:ff},Qo=function(a,r){return r.set(r.t,r.p,Math.round((r.s+r.c*a)*1e6)/1e6,r)},xp=function(a,r){return r.set(r.t,r.p,!!(r.s+r.c*a),r)},Zo=function(a,r){var i=r._pt,c="";if(!a&&r.b)c=r.b;else if(a===1&&r.e)c=r.e;else{for(;i;)c=i.p+(i.m?i.m(i.s+i.c*a):Math.round((i.s+i.c*a)*1e4)/1e4)+c,i=i._next;c+=r.c}r.set(r.t,r.p,c,r)},sf=function(a,r){for(var i=r._pt;i;)i.r(a,i.d),i=i._next},Tp=function(a,r,i,c){for(var s=this._pt,o;s;)o=s._next,s.p===c&&s.modifier(a,r,i),s=o},zp=function(a){for(var r=this._pt,i,c;r;)c=r._next,r.p===a&&!r.op||r.op===a?nu(this,r,"_pt"):r.dep||(i=1),r=c;return!i},Ep=function(a,r,i,c){c.mSet(a,r,c.m.call(c.tween,i,c.mt),c)},Ko=function(a){for(var r=a._pt,i,c,s,o;r;){for(i=r._next,c=s;c&&c.pr>r.pr;)c=c._next;(r._prev=c?c._prev:o)?r._prev._next=r:s=r,(r._next=c)?c._prev=r:o=r,r=i}a._pt=s},ge=(function(){function m(r,i,c,s,o,h,p,y,g){this.t=i,this.s=s,this.c=o,this.p=c,this.r=h||Qo,this.d=p||this,this.set=y||ff,this.pr=g||0,this._next=r,r&&(r._prev=this)}var a=m.prototype;return a.modifier=function(i,c,s){this.mSet=this.mSet||this.set,this.set=Ep,this.m=i,this.mt=s,this.tween=c},m})();pe(Kr+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(m){return Vr[m]=1}),Oe.TweenMax=Oe.TweenLite=Jt,Oe.TimelineLite=Oe.TimelineMax=de,Lt=new de({sortChildren:!1,defaults:Qn,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Me.stringFilter=Bo;var Sn=[],ru={},Ap=[],Jo=0,Mp=0,of=function(a){return(ru[a]||Ap).map(function(r){return r()})},df=function(){var a=Date.now(),r=[];a-Jo>2&&(of("matchMediaInit"),Sn.forEach(function(i){var c=i.queries,s=i.conditions,o,h,p,y;for(h in c)o=rl.matchMedia(c[h]).matches,o&&(p=1),o!==s[h]&&(s[h]=o,y=1);y&&(i.revert(),p&&r.push(i))}),of("matchMediaRevert"),r.forEach(function(i){return i.onMatch(i,function(c){return i.add(null,c)})}),Jo=a,of("matchMedia"))},Fo=(function(){function m(r,i){this.selector=i&&Pr(i),this.data=[],this._r=[],this.isReverted=!1,this.id=Mp++,r&&this.add(r)}var a=m.prototype;return a.add=function(i,c,s){Gt(i)&&(s=c,c=i,i=Gt);var o=this,h=function(){var y=Bt,g=o.selector,b;return y&&y!==o&&y.data.push(o),s&&(o.selector=Pr(s)),Bt=o,b=c.apply(o,arguments),Gt(b)&&o._r.push(b),Bt=y,o.selector=g,o.isReverted=!1,b};return o.last=h,i===Gt?h(o,function(p){return o.add(null,p)}):i?o[i]=h:h},a.ignore=function(i){var c=Bt;Bt=null,i(this),Bt=c},a.getTweens=function(){var i=[];return this.data.forEach(function(c){return c instanceof m?i.push.apply(i,c.getTweens()):c instanceof Jt&&!(c.parent&&c.parent.data==="nested")&&i.push(c)}),i},a.clear=function(){this._r.length=this.data.length=0},a.kill=function(i,c){var s=this;if(i?(function(){for(var h=s.getTweens(),p=s.data.length,y;p--;)y=s.data[p],y.data==="isFlip"&&(y.revert(),y.getChildren(!0,!0,!1).forEach(function(g){return h.splice(h.indexOf(g),1)}));for(h.map(function(g){return{g:g._dur||g._delay||g._sat&&!g._sat.vars.immediateRender?g.globalTime(0):-1/0,t:g}}).sort(function(g,b){return b.g-g.g||-1/0}).forEach(function(g){return g.t.revert(i)}),p=s.data.length;p--;)y=s.data[p],y instanceof de?y.data!=="nested"&&(y.scrollTrigger&&y.scrollTrigger.revert(),y.kill()):!(y instanceof Jt)&&y.revert&&y.revert(i);s._r.forEach(function(g){return g(i,s)}),s.isReverted=!0})():this.data.forEach(function(h){return h.kill&&h.kill()}),this.clear(),c)for(var o=Sn.length;o--;)Sn[o].id===this.id&&Sn.splice(o,1)},a.revert=function(i){this.kill(i||{})},m})(),Op=(function(){function m(r){this.contexts=[],this.scope=r,Bt&&Bt.data.push(this)}var a=m.prototype;return a.add=function(i,c,s){ul(i)||(i={matches:i});var o=new Fo(0,s||this.scope),h=o.conditions={},p,y,g;Bt&&!o.selector&&(o.selector=Bt.selector),this.contexts.push(o),c=o.add("onMatch",c),o.queries=i;for(y in i)y==="all"?g=1:(p=rl.matchMedia(i[y]),p&&(Sn.indexOf(o)<0&&Sn.push(o),(h[y]=p.matches)&&(g=1),p.addListener?p.addListener(df):p.addEventListener("change",df)));return g&&c(o,function(b){return o.add(null,b)}),this},a.revert=function(i){this.kill(i||{})},a.kill=function(i){this.contexts.forEach(function(c){return c.kill(i,!0)})},m})(),fu={registerPlugin:function(){for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];r.forEach(function(c){return Ro(c)})},timeline:function(a){return new de(a)},getTweensOf:function(a,r){return Lt.getTweensOf(a,r)},getProperty:function(a,r,i,c){te(a)&&(a=Ze(a)[0]);var s=gn(a||{}).get,o=i?yo:mo;return i==="native"&&(i=""),a&&(r?o((Ce[r]&&Ce[r].get||s)(a,r,i,c)):function(h,p,y){return o((Ce[h]&&Ce[h].get||s)(a,h,p,y))})},quickSetter:function(a,r,i){if(a=Ze(a),a.length>1){var c=a.map(function(g){return _e.quickSetter(g,r,i)}),s=c.length;return function(g){for(var b=s;b--;)c[b](g)}}a=a[0]||{};var o=Ce[r],h=gn(a),p=h.harness&&(h.harness.aliases||{})[r]||r,y=o?function(g){var b=new o;$n._pt=0,b.init(a,i?g+i:g,$n,0,[a]),b.render(1,b),$n._pt&&sf(1,$n)}:h.set(a,p);return o?y:function(g){return y(a,p,i?g+i:g,h,1)}},quickTo:function(a,r,i){var c,s=_e.to(a,De((c={},c[r]="+=0.1",c.paused=!0,c.stagger=0,c),i||{})),o=function(p,y,g){return s.resetTo(r,p,y,g)};return o.tween=s,o},isTweening:function(a){return Lt.getTweensOf(a,!0).length>0},defaults:function(a){return a&&a.ease&&(a.ease=vn(a.ease,Qn.ease)),po(Qn,a||{})},config:function(a){return po(Me,a||{})},registerEffect:function(a){var r=a.name,i=a.effect,c=a.plugins,s=a.defaults,o=a.extendTimeline;(c||"").split(",").forEach(function(h){return h&&!Ce[h]&&!Oe[h]&&ka(r+" effect requires "+h+" plugin.")}),Zr[r]=function(h,p,y){return i(Ze(h),De(p||{},s),y)},o&&(de.prototype[r]=function(h,p,y){return this.add(Zr[r](h,ul(p)?p:(y=p)&&{},this),y)})},registerEase:function(a,r){vt[a]=vn(r)},parseEase:function(a,r){return arguments.length?vn(a,r):vt},getById:function(a){return Lt.getById(a)},exportRoot:function(a,r){a===void 0&&(a={});var i=new de(a),c,s;for(i.smoothChildTiming=ye(a.smoothChildTiming),Lt.remove(i),i._dp=0,i._time=i._tTime=Lt._time,c=Lt._first;c;)s=c._next,(r||!(!c._dur&&c instanceof Jt&&c.vars.onComplete===c._targets[0]))&&fl(i,c,c._start-c._delay),c=s;return fl(Lt,i,0),i},context:function(a,r){return a?new Fo(a,r):Bt},matchMedia:function(a){return new Op(a)},matchMediaRefresh:function(){return Sn.forEach(function(a){var r=a.conditions,i,c;for(c in r)r[c]&&(r[c]=!1,i=1);i&&a.revert()})||df()},addEventListener:function(a,r){var i=ru[a]||(ru[a]=[]);~i.indexOf(r)||i.push(r)},removeEventListener:function(a,r){var i=ru[a],c=i&&i.indexOf(r);c>=0&&i.splice(c,1)},utils:{wrap:up,wrapYoyo:rp,distribute:Eo,random:Mo,snap:Ao,normalize:ip,getUnit:oe,clamp:ep,splitColor:Uo,toArray:Ze,selector:Pr,mapRange:Co,pipe:np,unitize:ap,interpolate:fp,shuffle:zo},install:ro,effects:Zr,ticker:Re,updateRoot:de.updateRoot,plugins:Ce,globalTimeline:Lt,core:{PropTween:ge,globals:fo,Tween:Jt,Timeline:de,Animation:Ia,getCache:gn,_removeLinkedListItem:nu,reverting:function(){return ne},context:function(a){return a&&Bt&&(Bt.data.push(a),a._ctx=Bt),Bt},suppressOverwrites:function(a){return Br=a}}};pe("to,from,fromTo,delayedCall,set,killTweensOf",function(m){return fu[m]=Jt[m]}),Re.add(de.updateRoot),$n=fu.to({},{duration:0});var Cp=function(a,r){for(var i=a._pt;i&&i.p!==r&&i.op!==r&&i.fp!==r;)i=i._next;return i},Dp=function(a,r){var i=a._targets,c,s,o;for(c in r)for(s=i.length;s--;)o=a._ptLookup[s][c],o&&(o=o.d)&&(o._pt&&(o=Cp(o,c)),o&&o.modifier&&o.modifier(r[c],a,i[s],c))},hf=function(a,r){return{name:a,headless:1,rawVars:1,init:function(c,s,o){o._onInit=function(h){var p,y;if(te(s)&&(p={},pe(s,function(g){return p[g]=1}),s=p),r){p={};for(y in s)p[y]=r(s[y]);s=p}Dp(h,s)}}}},_e=fu.registerPlugin({name:"attr",init:function(a,r,i,c,s){var o,h,p;this.tween=i;for(o in r)p=a.getAttribute(o)||"",h=this.add(a,"setAttribute",(p||0)+"",r[o],c,s,0,0,o),h.op=o,h.b=p,this._props.push(o)},render:function(a,r){for(var i=r._pt;i;)ne?i.set(i.t,i.p,i.b,i):i.r(a,i.d),i=i._next}},{name:"endArray",headless:1,init:function(a,r){for(var i=r.length;i--;)this.add(a,i,a[i]||0,r[i],0,0,0,0,0,1)}},hf("roundProps",tf),hf("modifiers"),hf("snap",Ao))||fu;Jt.version=de.version=_e.version="3.14.2",uo=1,qr()&&In(),vt.Power0,vt.Power1,vt.Power2,vt.Power3,vt.Power4,vt.Linear,vt.Quad,vt.Cubic,vt.Quart,vt.Quint,vt.Strong,vt.Elastic,vt.Back,vt.SteppedEase,vt.Bounce,vt.Sine,vt.Expo,vt.Circ;/*!
57
57
  * CSSPlugin 3.14.2
58
58
  * https://gsap.com
59
59
  *
60
60
  * Copyright 2008-2025, GreenSock. All rights reserved.
61
61
  * Subject to the terms at https://gsap.com/standard-license
62
62
  * @author: Jack Doyle, jack@greensock.com
63
- */var Wo,Gl,Pn,mf,xn,$o,yf,wp=function(){return typeof window<"u"},pl={},Tn=180/Math.PI,ta=Math.PI/180,ea=Math.atan2,Io=1e8,pf=/([A-Z])/g,Rp=/(left|right|width|margin|padding|x)/i,Up=/[\s,\(]\S/,cl={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},gf=function(a,r){return r.set(r.t,r.p,Math.round((r.s+r.c*a)*1e4)/1e4+r.u,r)},Np=function(a,r){return r.set(r.t,r.p,a===1?r.e:Math.round((r.s+r.c*a)*1e4)/1e4+r.u,r)},jp=function(a,r){return r.set(r.t,r.p,a?Math.round((r.s+r.c*a)*1e4)/1e4+r.u:r.b,r)},Bp=function(a,r){return r.set(r.t,r.p,a===1?r.e:a?Math.round((r.s+r.c*a)*1e4)/1e4+r.u:r.b,r)},Hp=function(a,r){var i=r.s+r.c*a;r.set(r.t,r.p,~~(i+(i<0?-.5:.5))+r.u,r)},Po=function(a,r){return r.set(r.t,r.p,a?r.e:r.b,r)},td=function(a,r){return r.set(r.t,r.p,a!==1?r.b:r.e,r)},Lp=function(a,r,i){return a.style[r]=i},qp=function(a,r,i){return a.style.setProperty(r,i)},Yp=function(a,r,i){return a._gsap[r]=i},Gp=function(a,r,i){return a._gsap.scaleX=a._gsap.scaleY=i},Xp=function(a,r,i,c,s){var o=a._gsap;o.scaleX=o.scaleY=i,o.renderTransform(s,o)},kp=function(a,r,i,c,s){var o=a._gsap;o[r]=i,o.renderTransform(s,o)},Yt="transform",ve=Yt+"Origin",Vp=function m(a,r){var i=this,c=this.target,s=c.style,o=c._gsap;if(a in pl&&s){if(this.tfm=this.tfm||{},a!=="transform")a=cl[a]||a,~a.indexOf(",")?a.split(",").forEach(function(h){return i.tfm[h]=gl(c,h)}):this.tfm[a]=o.x?o[a]:gl(c,a),a===ve&&(this.tfm.zOrigin=o.zOrigin);else return cl.transform.split(",").forEach(function(h){return m.call(i,h,r)});if(this.props.indexOf(Yt)>=0)return;o.svg&&(this.svgo=c.getAttribute("data-svg-origin"),this.props.push(ve,r,"")),a=Yt}(s||r)&&this.props.push(a,r,s[a])},ed=function(a){a.translate&&(a.removeProperty("translate"),a.removeProperty("scale"),a.removeProperty("rotate"))},Qp=function(){var a=this.props,r=this.target,i=r.style,c=r._gsap,s,o;for(s=0;s<a.length;s+=3)a[s+1]?a[s+1]===2?r[a[s]](a[s+2]):r[a[s]]=a[s+2]:a[s+2]?i[a[s]]=a[s+2]:i.removeProperty(a[s].substr(0,2)==="--"?a[s]:a[s].replace(pf,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)c[o]=this.tfm[o];c.svg&&(c.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),s=yf(),(!s||!s.isStart)&&!i[Yt]&&(ed(i),c.zOrigin&&i[ve]&&(i[ve]+=" "+c.zOrigin+"px",c.zOrigin=0,c.renderTransform()),c.uncache=1)}},ld=function(a,r){var i={target:a,props:[],revert:Qp,save:Vp};return a._gsap||_e.core.getCache(a),r&&a.style&&a.nodeType&&r.split(",").forEach(function(c){return i.save(c)}),i},nd,_f=function(a,r){var i=Gl.createElementNS?Gl.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),a):Gl.createElement(a);return i&&i.style?i:Gl.createElement(a)},Ue=function m(a,r,i){var c=getComputedStyle(a);return c[r]||c.getPropertyValue(r.replace(pf,"-$1").toLowerCase())||c.getPropertyValue(r)||!i&&m(a,la(r)||r,1)||""},ad="O,Moz,ms,Ms,Webkit".split(","),la=function(a,r,i){var c=r||xn,s=c.style,o=5;if(a in s&&!i)return a;for(a=a.charAt(0).toUpperCase()+a.substr(1);o--&&!(ad[o]+a in s););return o<0?null:(o===3?"ms":o>=0?ad[o]:"")+a},vf=function(){wp()&&window.document&&(Wo=window,Gl=Wo.document,Pn=Gl.documentElement,xn=_f("div")||{style:{}},_f("div"),Yt=la(Yt),ve=Yt+"Origin",xn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",nd=!!la("perspective"),yf=_e.core.reverting,mf=1)},id=function(a){var r=a.ownerSVGElement,i=_f("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),c=a.cloneNode(!0),s;c.style.display="block",i.appendChild(c),Pn.appendChild(i);try{s=c.getBBox()}catch{}return i.removeChild(c),Pn.removeChild(i),s},ud=function(a,r){for(var i=r.length;i--;)if(a.hasAttribute(r[i]))return a.getAttribute(r[i])},rd=function(a){var r,i;try{r=a.getBBox()}catch{r=id(a),i=1}return r&&(r.width||r.height)||i||(r=id(a)),r&&!r.width&&!r.x&&!r.y?{x:+ud(a,["x","cx","x1"])||0,y:+ud(a,["y","cy","y1"])||0,width:0,height:0}:r},fd=function(a){return!!(a.getCTM&&(!a.parentNode||a.ownerSVGElement)&&rd(a))},Xl=function(a,r){if(r){var i=a.style,c;r in pl&&r!==ve&&(r=Yt),i.removeProperty?(c=r.substr(0,2),(c==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),i.removeProperty(c==="--"?r:r.replace(pf,"-$1").toLowerCase())):i.removeAttribute(r)}},kl=function(a,r,i,c,s,o){var h=new ge(a._pt,r,i,0,1,o?td:Po);return a._pt=h,h.b=c,h.e=s,a._props.push(i),h},cd={deg:1,rad:1,turn:1},Zp={grid:1,flex:1},Vl=function m(a,r,i,c){var s=parseFloat(i)||0,o=(i+"").trim().substr((s+"").length)||"px",h=xn.style,p=Rp.test(r),y=a.tagName.toLowerCase()==="svg",g=(y?"client":"offset")+(p?"Width":"Height"),b=100,T=c==="px",S=c==="%",M,v,C,j;if(c===o||!s||cd[c]||cd[o])return s;if(o!=="px"&&!T&&(s=m(a,r,i,"px")),j=a.getCTM&&fd(a),(S||o==="%")&&(pl[r]||~r.indexOf("adius")))return M=j?a.getBBox()[p?"width":"height"]:a[g],Vt(S?s/M*b:s/100*M);if(h[p?"width":"height"]=b+(T?o:c),v=c!=="rem"&&~r.indexOf("adius")||c==="em"&&a.appendChild&&!y?a:a.parentNode,j&&(v=(a.ownerSVGElement||{}).parentNode),(!v||v===Gl||!v.appendChild)&&(v=Gl.body),C=v._gsap,C&&S&&C.width&&p&&C.time===Re.time&&!C.uncache)return Vt(s/C.width*b);if(S&&(r==="height"||r==="width")){var L=a.style[r];a.style[r]=b+c,M=a[g],L?a.style[r]=L:Xl(a,r)}else(S||o==="%")&&!Zp[Ue(v,"display")]&&(h.position=Ue(a,"position")),v===a&&(h.position="static"),v.appendChild(xn),M=xn[g],v.removeChild(xn),h.position="absolute";return p&&S&&(C=gn(v),C.time=Re.time,C.width=v[g]),Vt(T?M*s/b:M&&s?b/M*s:0)},gl=function(a,r,i,c){var s;return mf||vf(),r in cl&&r!=="transform"&&(r=cl[r],~r.indexOf(",")&&(r=r.split(",")[0])),pl[r]&&r!=="transform"?(s=ei(a,c),s=r!=="transformOrigin"?s[r]:s.svg?s.origin:su(Ue(a,ve))+" "+s.zOrigin+"px"):(s=a.style[r],(!s||s==="auto"||c||~(s+"").indexOf("calc("))&&(s=cu[r]&&cu[r](a,r,i)||Ue(a,r)||oo(a,r)||(r==="opacity"?1:0))),i&&!~(s+"").trim().indexOf(" ")?Vl(a,r,s,i)+i:s},Kp=function(a,r,i,c){if(!i||i==="none"){var s=la(r,a,1),o=s&&Ue(a,s,1);o&&o!==i?(r=s,i=o):r==="borderColor"&&(i=Ue(a,"borderTopColor"))}var h=new ge(this._pt,a.style,r,0,1,Zo),p=0,y=0,g,b,T,S,M,v,C,j,L,Y,Z,q;if(h.b=i,h.e=c,i+="",c+="",c.substring(0,6)==="var(--"&&(c=Ue(a,c.substring(4,c.indexOf(")")))),c==="auto"&&(v=a.style[r],a.style[r]=c,c=Ue(a,r)||c,v?a.style[r]=v:Xl(a,r)),g=[i,c],Bo(g),i=g[0],c=g[1],T=i.match(Zn)||[],q=c.match(Zn)||[],q.length){for(;b=Zn.exec(c);)C=b[0],L=c.substring(p,b.index),M?M=(M+1)%5:(L.substr(-5)==="rgba("||L.substr(-5)==="hsla(")&&(M=1),C!==(v=T[y++]||"")&&(S=parseFloat(v)||0,Z=v.substr((S+"").length),C.charAt(1)==="="&&(C=Kn(S,C)+Z),j=parseFloat(C),Y=C.substr((j+"").length),p=Zn.lastIndex-Y.length,Y||(Y=Y||Me.units[r]||Z,p===c.length&&(c+=Y,h.e+=Y)),Z!==Y&&(S=Vl(a,r,v,Y)||0),h._pt={_next:h._pt,p:L||y===1?L:",",s:S,c:j-S,m:M&&M<4||r==="zIndex"?Math.round:0});h.c=p<c.length?c.substring(p,c.length):""}else h.r=r==="display"&&c==="none"?td:Po;return io.test(c)&&(h.e=0),this._pt=h,h},sd={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Jp=function(a){var r=a.split(" "),i=r[0],c=r[1]||"50%";return(i==="top"||i==="bottom"||c==="left"||c==="right")&&(a=i,i=c,c=a),r[0]=sd[i]||i,r[1]=sd[c]||c,r.join(" ")},Fp=function(a,r){if(r.tween&&r.tween._time===r.tween._dur){var i=r.t,c=i.style,s=r.u,o=i._gsap,h,p,y;if(s==="all"||s===!0)c.cssText="",p=1;else for(s=s.split(","),y=s.length;--y>-1;)h=s[y],pl[h]&&(p=1,h=h==="transformOrigin"?ve:Yt),Xl(i,h);p&&(Xl(i,Yt),o&&(o.svg&&i.removeAttribute("transform"),c.scale=c.rotate=c.translate="none",ei(i,1),o.uncache=1,ed(c)))}},cu={clearProps:function(a,r,i,c,s){if(s.data!=="isFromStart"){var o=a._pt=new ge(a._pt,r,i,0,0,Fp);return o.u=c,o.pr=-10,o.tween=s,a._props.push(i),1}}},ti=[1,0,0,1,0,0],od={},dd=function(a){return a==="matrix(1, 0, 0, 1, 0, 0)"||a==="none"||!a},hd=function(a){var r=Ue(a,Yt);return dd(r)?ti:r.substr(7).match(ao).map(Vt)},bf=function(a,r){var i=a._gsap||gn(a),c=a.style,s=hd(a),o,h,p,y;return i.svg&&a.getAttribute("transform")?(p=a.transform.baseVal.consolidate().matrix,s=[p.a,p.b,p.c,p.d,p.e,p.f],s.join(",")==="1,0,0,1,0,0"?ti:s):(s===ti&&!a.offsetParent&&a!==Pn&&!i.svg&&(p=c.display,c.display="block",o=a.parentNode,(!o||!a.offsetParent&&!a.getBoundingClientRect().width)&&(y=1,h=a.nextElementSibling,Pn.appendChild(a)),s=hd(a),p?c.display=p:Xl(a,"display"),y&&(h?o.insertBefore(a,h):o?o.appendChild(a):Pn.removeChild(a))),r&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Sf=function(a,r,i,c,s,o){var h=a._gsap,p=s||bf(a,!0),y=h.xOrigin||0,g=h.yOrigin||0,b=h.xOffset||0,T=h.yOffset||0,S=p[0],M=p[1],v=p[2],C=p[3],j=p[4],L=p[5],Y=r.split(" "),Z=parseFloat(Y[0])||0,q=parseFloat(Y[1])||0,J,V,H,A;i?p!==ti&&(V=S*C-M*v)&&(H=Z*(C/V)+q*(-v/V)+(v*L-C*j)/V,A=Z*(-M/V)+q*(S/V)-(S*L-M*j)/V,Z=H,q=A):(J=rd(a),Z=J.x+(~Y[0].indexOf("%")?Z/100*J.width:Z),q=J.y+(~(Y[1]||Y[0]).indexOf("%")?q/100*J.height:q)),c||c!==!1&&h.smooth?(j=Z-y,L=q-g,h.xOffset=b+(j*S+L*v)-j,h.yOffset=T+(j*M+L*C)-L):h.xOffset=h.yOffset=0,h.xOrigin=Z,h.yOrigin=q,h.smooth=!!c,h.origin=r,h.originIsAbsolute=!!i,a.style[ve]="0px 0px",o&&(kl(o,h,"xOrigin",y,Z),kl(o,h,"yOrigin",g,q),kl(o,h,"xOffset",b,h.xOffset),kl(o,h,"yOffset",T,h.yOffset)),a.setAttribute("data-svg-origin",Z+" "+q)},ei=function(a,r){var i=a._gsap||new Yo(a);if("x"in i&&!r&&!i.uncache)return i;var c=a.style,s=i.scaleX<0,o="px",h="deg",p=getComputedStyle(a),y=Ue(a,ve)||"0",g,b,T,S,M,v,C,j,L,Y,Z,q,J,V,H,A,W,lt,tt,ct,St,rt,U,N,I,st,ht,E,X,$,P,ut;return g=b=T=v=C=j=L=Y=Z=0,S=M=1,i.svg=!!(a.getCTM&&fd(a)),p.translate&&((p.translate!=="none"||p.scale!=="none"||p.rotate!=="none")&&(c[Yt]=(p.translate!=="none"?"translate3d("+(p.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(p.rotate!=="none"?"rotate("+p.rotate+") ":"")+(p.scale!=="none"?"scale("+p.scale.split(" ").join(",")+") ":"")+(p[Yt]!=="none"?p[Yt]:"")),c.scale=c.rotate=c.translate="none"),V=bf(a,i.svg),i.svg&&(i.uncache?(I=a.getBBox(),y=i.xOrigin-I.x+"px "+(i.yOrigin-I.y)+"px",N=""):N=!r&&a.getAttribute("data-svg-origin"),Sf(a,N||y,!!N||i.originIsAbsolute,i.smooth!==!1,V)),q=i.xOrigin||0,J=i.yOrigin||0,V!==ti&&(lt=V[0],tt=V[1],ct=V[2],St=V[3],g=rt=V[4],b=U=V[5],V.length===6?(S=Math.sqrt(lt*lt+tt*tt),M=Math.sqrt(St*St+ct*ct),v=lt||tt?ea(tt,lt)*Tn:0,L=ct||St?ea(ct,St)*Tn+v:0,L&&(M*=Math.abs(Math.cos(L*ta))),i.svg&&(g-=q-(q*lt+J*ct),b-=J-(q*tt+J*St))):(ut=V[6],$=V[7],ht=V[8],E=V[9],X=V[10],P=V[11],g=V[12],b=V[13],T=V[14],H=ea(ut,X),C=H*Tn,H&&(A=Math.cos(-H),W=Math.sin(-H),N=rt*A+ht*W,I=U*A+E*W,st=ut*A+X*W,ht=rt*-W+ht*A,E=U*-W+E*A,X=ut*-W+X*A,P=$*-W+P*A,rt=N,U=I,ut=st),H=ea(-ct,X),j=H*Tn,H&&(A=Math.cos(-H),W=Math.sin(-H),N=lt*A-ht*W,I=tt*A-E*W,st=ct*A-X*W,P=St*W+P*A,lt=N,tt=I,ct=st),H=ea(tt,lt),v=H*Tn,H&&(A=Math.cos(H),W=Math.sin(H),N=lt*A+tt*W,I=rt*A+U*W,tt=tt*A-lt*W,U=U*A-rt*W,lt=N,rt=I),C&&Math.abs(C)+Math.abs(v)>359.9&&(C=v=0,j=180-j),S=Vt(Math.sqrt(lt*lt+tt*tt+ct*ct)),M=Vt(Math.sqrt(U*U+ut*ut)),H=ea(rt,U),L=Math.abs(H)>2e-4?H*Tn:0,Z=P?1/(P<0?-P:P):0),i.svg&&(N=a.getAttribute("transform"),i.forceCSS=a.setAttribute("transform","")||!dd(Ue(a,Yt)),N&&a.setAttribute("transform",N))),Math.abs(L)>90&&Math.abs(L)<270&&(s?(S*=-1,L+=v<=0?180:-180,v+=v<=0?180:-180):(M*=-1,L+=L<=0?180:-180)),r=r||i.uncache,i.x=g-((i.xPercent=g&&(!r&&i.xPercent||(Math.round(a.offsetWidth/2)===Math.round(-g)?-50:0)))?a.offsetWidth*i.xPercent/100:0)+o,i.y=b-((i.yPercent=b&&(!r&&i.yPercent||(Math.round(a.offsetHeight/2)===Math.round(-b)?-50:0)))?a.offsetHeight*i.yPercent/100:0)+o,i.z=T+o,i.scaleX=Vt(S),i.scaleY=Vt(M),i.rotation=Vt(v)+h,i.rotationX=Vt(C)+h,i.rotationY=Vt(j)+h,i.skewX=L+h,i.skewY=Y+h,i.transformPerspective=Z+o,(i.zOrigin=parseFloat(y.split(" ")[2])||!r&&i.zOrigin||0)&&(c[ve]=su(y)),i.xOffset=i.yOffset=0,i.force3D=Me.force3D,i.renderTransform=i.svg?$p:nd?md:Wp,i.uncache=0,i},su=function(a){return(a=a.split(" "))[0]+" "+a[1]},xf=function(a,r,i){var c=oe(r);return Vt(parseFloat(r)+parseFloat(Vl(a,"x",i+"px",c)))+c},Wp=function(a,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,md(a,r)},zn="0deg",li="0px",En=") ",md=function(a,r){var i=r||this,c=i.xPercent,s=i.yPercent,o=i.x,h=i.y,p=i.z,y=i.rotation,g=i.rotationY,b=i.rotationX,T=i.skewX,S=i.skewY,M=i.scaleX,v=i.scaleY,C=i.transformPerspective,j=i.force3D,L=i.target,Y=i.zOrigin,Z="",q=j==="auto"&&a&&a!==1||j===!0;if(Y&&(b!==zn||g!==zn)){var J=parseFloat(g)*ta,V=Math.sin(J),H=Math.cos(J),A;J=parseFloat(b)*ta,A=Math.cos(J),o=xf(L,o,V*A*-Y),h=xf(L,h,-Math.sin(J)*-Y),p=xf(L,p,H*A*-Y+Y)}C!==li&&(Z+="perspective("+C+En),(c||s)&&(Z+="translate("+c+"%, "+s+"%) "),(q||o!==li||h!==li||p!==li)&&(Z+=p!==li||q?"translate3d("+o+", "+h+", "+p+") ":"translate("+o+", "+h+En),y!==zn&&(Z+="rotate("+y+En),g!==zn&&(Z+="rotateY("+g+En),b!==zn&&(Z+="rotateX("+b+En),(T!==zn||S!==zn)&&(Z+="skew("+T+", "+S+En),(M!==1||v!==1)&&(Z+="scale("+M+", "+v+En),L.style[Yt]=Z||"translate(0, 0)"},$p=function(a,r){var i=r||this,c=i.xPercent,s=i.yPercent,o=i.x,h=i.y,p=i.rotation,y=i.skewX,g=i.skewY,b=i.scaleX,T=i.scaleY,S=i.target,M=i.xOrigin,v=i.yOrigin,C=i.xOffset,j=i.yOffset,L=i.forceCSS,Y=parseFloat(o),Z=parseFloat(h),q,J,V,H,A;p=parseFloat(p),y=parseFloat(y),g=parseFloat(g),g&&(g=parseFloat(g),y+=g,p+=g),p||y?(p*=ta,y*=ta,q=Math.cos(p)*b,J=Math.sin(p)*b,V=Math.sin(p-y)*-T,H=Math.cos(p-y)*T,y&&(g*=ta,A=Math.tan(y-g),A=Math.sqrt(1+A*A),V*=A,H*=A,g&&(A=Math.tan(g),A=Math.sqrt(1+A*A),q*=A,J*=A)),q=Vt(q),J=Vt(J),V=Vt(V),H=Vt(H)):(q=b,H=T,J=V=0),(Y&&!~(o+"").indexOf("px")||Z&&!~(h+"").indexOf("px"))&&(Y=Vl(S,"x",o,"px"),Z=Vl(S,"y",h,"px")),(M||v||C||j)&&(Y=Vt(Y+M-(M*q+v*V)+C),Z=Vt(Z+v-(M*J+v*H)+j)),(c||s)&&(A=S.getBBox(),Y=Vt(Y+c/100*A.width),Z=Vt(Z+s/100*A.height)),A="matrix("+q+","+J+","+V+","+H+","+Y+","+Z+")",S.setAttribute("transform",A),L&&(S.style[Yt]=A)},Ip=function(a,r,i,c,s){var o=360,h=te(s),p=parseFloat(s)*(h&&~s.indexOf("rad")?Tn:1),y=p-c,g=c+y+"deg",b,T;return h&&(b=s.split("_")[1],b==="short"&&(y%=o,y!==y%(o/2)&&(y+=y<0?o:-o)),b==="cw"&&y<0?y=(y+o*Io)%o-~~(y/o)*o:b==="ccw"&&y>0&&(y=(y-o*Io)%o-~~(y/o)*o)),a._pt=T=new ge(a._pt,r,i,c,y,Np),T.e=g,T.u="deg",a._props.push(i),T},yd=function(a,r){for(var i in r)a[i]=r[i];return a},Pp=function(a,r,i){var c=yd({},i._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=i.style,h,p,y,g,b,T,S,M;c.svg?(y=i.getAttribute("transform"),i.setAttribute("transform",""),o[Yt]=r,h=ei(i,1),Xl(i,Yt),i.setAttribute("transform",y)):(y=getComputedStyle(i)[Yt],o[Yt]=r,h=ei(i,1),o[Yt]=y);for(p in pl)y=c[p],g=h[p],y!==g&&s.indexOf(p)<0&&(S=oe(y),M=oe(g),b=S!==M?Vl(i,p,y,M):parseFloat(y),T=parseFloat(g),a._pt=new ge(a._pt,h,p,b,T-b,gf),a._pt.u=M||0,a._props.push(p));yd(h,c)};pe("padding,margin,Width,Radius",function(m,a){var r="Top",i="Right",c="Bottom",s="Left",o=(a<3?[r,i,c,s]:[r+s,r+i,c+i,c+s]).map(function(h){return a<2?m+h:"border"+h+m});cu[a>1?"border"+m:m]=function(h,p,y,g,b){var T,S;if(arguments.length<4)return T=o.map(function(M){return gl(h,M,y)}),S=T.join(" "),S.split(T[0]).length===5?T[0]:S;T=(g+"").split(" "),S={},o.forEach(function(M,v){return S[M]=T[v]=T[v]||T[(v-1)/2|0]}),h.init(p,S,b)}});var pd={name:"css",register:vf,targetTest:function(a){return a.style&&a.nodeType},init:function(a,r,i,c,s){var o=this._props,h=a.style,p=i.vars.startAt,y,g,b,T,S,M,v,C,j,L,Y,Z,q,J,V,H,A;mf||vf(),this.styles=this.styles||ld(a),H=this.styles.props,this.tween=i;for(v in r)if(v!=="autoRound"&&(g=r[v],!(Ce[v]&&Go(v,r,i,c,a,s)))){if(S=typeof g,M=cu[v],S==="function"&&(g=g.call(i,c,a,s),S=typeof g),S==="string"&&~g.indexOf("random(")&&(g=Ja(g)),M)M(this,a,v,g,i)&&(V=1);else if(v.substr(0,2)==="--")y=(getComputedStyle(a).getPropertyValue(v)+"").trim(),g+="",ql.lastIndex=0,ql.test(y)||(C=oe(y),j=oe(g),j?C!==j&&(y=Vl(a,v,y,j)+j):C&&(g+=C)),this.add(h,"setProperty",y,g,c,s,0,0,v),o.push(v),H.push(v,0,h[v]);else if(S!=="undefined"){if(p&&v in p?(y=typeof p[v]=="function"?p[v].call(i,c,a,s):p[v],te(y)&&~y.indexOf("random(")&&(y=Ja(y)),oe(y+"")||y==="auto"||(y+=Me.units[v]||oe(gl(a,v))||""),(y+"").charAt(1)==="="&&(y=gl(a,v))):y=gl(a,v),T=parseFloat(y),L=S==="string"&&g.charAt(1)==="="&&g.substr(0,2),L&&(g=g.substr(2)),b=parseFloat(g),v in cl&&(v==="autoAlpha"&&(T===1&&gl(a,"visibility")==="hidden"&&b&&(T=0),H.push("visibility",0,h.visibility),kl(this,h,"visibility",T?"inherit":"hidden",b?"inherit":"hidden",!b)),v!=="scale"&&v!=="transform"&&(v=cl[v],~v.indexOf(",")&&(v=v.split(",")[0]))),Y=v in pl,Y){if(this.styles.save(v),A=g,S==="string"&&g.substring(0,6)==="var(--"){if(g=Ue(a,g.substring(4,g.indexOf(")"))),g.substring(0,5)==="calc("){var W=a.style.perspective;a.style.perspective=g,g=Ue(a,"perspective"),W?a.style.perspective=W:Xl(a,"perspective")}b=parseFloat(g)}if(Z||(q=a._gsap,q.renderTransform&&!r.parseTransform||ei(a,r.parseTransform),J=r.smoothOrigin!==!1&&q.smooth,Z=this._pt=new ge(this._pt,h,Yt,0,1,q.renderTransform,q,0,-1),Z.dep=1),v==="scale")this._pt=new ge(this._pt,q,"scaleY",q.scaleY,(L?Kn(q.scaleY,L+b):b)-q.scaleY||0,gf),this._pt.u=0,o.push("scaleY",v),v+="X";else if(v==="transformOrigin"){H.push(ve,0,h[ve]),g=Jp(g),q.svg?Sf(a,g,0,J,0,this):(j=parseFloat(g.split(" ")[2])||0,j!==q.zOrigin&&kl(this,q,"zOrigin",q.zOrigin,j),kl(this,h,v,su(y),su(g)));continue}else if(v==="svgOrigin"){Sf(a,g,1,J,0,this);continue}else if(v in od){Ip(this,q,v,T,L?Kn(T,L+g):g);continue}else if(v==="smoothOrigin"){kl(this,q,"smooth",q.smooth,g);continue}else if(v==="force3D"){q[v]=g;continue}else if(v==="transform"){Pp(this,g,a);continue}}else v in h||(v=la(v)||v);if(Y||(b||b===0)&&(T||T===0)&&!Up.test(g)&&v in h)C=(y+"").substr((T+"").length),b||(b=0),j=oe(g)||(v in Me.units?Me.units[v]:C),C!==j&&(T=Vl(a,v,y,j)),this._pt=new ge(this._pt,Y?q:h,v,T,(L?Kn(T,L+b):b)-T,!Y&&(j==="px"||v==="zIndex")&&r.autoRound!==!1?Hp:gf),this._pt.u=j||0,Y&&A!==g?(this._pt.b=y,this._pt.e=A,this._pt.r=Bp):C!==j&&j!=="%"&&(this._pt.b=y,this._pt.r=jp);else if(v in h)Kp.call(this,a,v,y,L?L+g:g);else if(v in a)this.add(a,v,y||a[v],L?L+g:g,c,s);else if(v!=="parseTransform"){kr(v,g);continue}Y||(v in h?H.push(v,0,h[v]):typeof a[v]=="function"?H.push(v,2,a[v]()):H.push(v,1,y||a[v])),o.push(v)}}V&&Ko(this)},render:function(a,r){if(r.tween._time||!yf())for(var i=r._pt;i;)i.r(a,i.d),i=i._next;else r.styles.revert()},get:gl,aliases:cl,getSetter:function(a,r,i){var c=cl[r];return c&&c.indexOf(",")<0&&(r=c),r in pl&&r!==ve&&(a._gsap.x||gl(a,"x"))?i&&$o===i?r==="scale"?Gp:Yp:($o=i||{})&&(r==="scale"?Xp:kp):a.style&&!Lr(a.style[r])?Lp:~r.indexOf("-")?qp:cf(a,r)},core:{_removeProperty:Xl,_getMatrix:bf}};_e.utils.checkPrefix=la,_e.core.getStyleSaver=ld,(function(m,a,r,i){var c=pe(m+","+a+","+r,function(s){pl[s]=1});pe(a,function(s){Me.units[s]="deg",od[s]=1}),cl[c[13]]=m+","+a,pe(i,function(s){var o=s.split(":");cl[o[1]]=c[o[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),pe("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(m){Me.units[m]="px"}),_e.registerPlugin(pd);var ni=_e.registerPlugin(pd)||_e;ni.core.Tween;function tg(){try{const m=document.querySelectorAll('script[src*="overlay.js"]');for(const a of m){const r=a.src;if(r)return new URL(r).origin}}catch{}return"http://localhost:3013"}function eg(m){let a="",r=m;for(;r>0;)r--,a=String.fromCharCode(65+r%26)+a,r=Math.floor(r/26);return a}const gd=1280,lg=800,ng=260/gd,ag=180;function ig({variationId:m,previewUrl:a,index:r,isPreviewing:i,isImplemented:c,isOriginal:s,brand:o,label:h,isBranch:p,onUnbranch:y,onClick:g,undoDepth:b=0,redoDepth:T=0,onUndo:S,onRedo:M}){const[v,C]=F.useState(!1),[j,L]=F.useState(!1),[Y,Z]=F.useState(0);F.useState(null),F.useEffect(()=>{if(v)return;const A=setTimeout(()=>L(!0),1e4);return()=>clearTimeout(A)},[v]),F.useEffect(()=>{if(!v||Y>0)return;const A=setTimeout(()=>{Z(1)},800);return()=>clearTimeout(A)},[v,Y]);const q=a.startsWith("http")?a:`${tg()}${a}`,J=Y>0?`${q}${q.includes("?")?"&":"?"}r=${Y}`:q,V=i?"rgba(99,91,255,0.4)":c?"rgba(34,197,94,0.35)":"rgba(255,255,255,0.06)",H=i?"rgba(99,91,255,0.08)":"rgba(255,255,255,0.03)";return K.jsxs("button",{type:"button",onClick:g,className:"group w-full cursor-pointer rounded-xl border text-left transition-all touch-manipulation",style:{background:H,borderColor:V,boxShadow:i?"0 0 0 1px rgba(99,91,255,0.2)":"none"},onMouseEnter:A=>{!i&&!c&&(A.currentTarget.style.borderColor="rgba(255,255,255,0.15)")},onMouseLeave:A=>{!i&&!c&&(A.currentTarget.style.borderColor="rgba(255,255,255,0.06)")},children:[K.jsxs("div",{className:"relative overflow-hidden rounded-t-xl",style:{width:"100%",height:ag,background:"#1a1a1e",border:"1px solid rgba(255,255,255,0.06)",borderBottom:"none"},children:[!v&&K.jsxs("div",{className:"pointer-events-none absolute inset-0 z-[1] flex flex-col items-center justify-center gap-1",style:{background:"#27272a"},children:[K.jsx("span",{className:"animate-pulse text-xs",style:{color:j?"#f87171":"#71717a"},children:j?"Preview failed to load":"Loading preview..."}),j&&K.jsx("span",{className:"text-[10px]",style:{color:"#52525b"},children:"Check server logs"})]}),a&&K.jsx("iframe",{src:J,sandbox:"allow-scripts allow-same-origin",loading:"lazy",title:`Preview variation ${r+1}`,onLoad:()=>C(!0),onError:()=>C(!0),style:{position:"absolute",top:0,left:0,width:gd,height:lg,transform:`scale(${ng})`,transformOrigin:"top left",pointerEvents:"none",border:"none",display:"block"}}),i&&K.jsx("div",{className:"absolute top-2 right-2 z-[2] flex h-5 w-5 items-center justify-center rounded",style:{background:"rgba(0,0,0,0.5)",backdropFilter:"blur(4px)"},children:K.jsx("svg",{className:"h-3 w-3 text-white",viewBox:"0 0 12 12",fill:"none",children:K.jsx("path",{d:"M2.5 6L5 8.5L9.5 3.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),K.jsx("div",{className:"flex items-center justify-between px-3 py-2.5",children:K.jsxs("div",{className:"flex items-center gap-2",children:[K.jsx("span",{className:"text-xs font-medium text-zinc-200",children:s?"Original":h?`Variation ${h}${o?`: ${o}`:""}`:`Variation ${eg(r)}${o?`: ${o}`:""}`}),p&&y&&K.jsx("button",{type:"button",onClick:A=>{A.stopPropagation(),y()},className:"flex h-4 w-4 items-center justify-center rounded text-zinc-500 transition-colors hover:bg-white/10 hover:text-zinc-300",title:"Unbranch — restore parent variation",children:K.jsxs("svg",{className:"h-2.5 w-2.5",viewBox:"0 0 10 10",fill:"none",children:[K.jsx("path",{d:"M8 2L5 5L2 2",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),K.jsx("path",{d:"M5 5V8",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"})]})}),i&&K.jsx("span",{className:"rounded-full px-2 py-0.5 text-[10px] font-medium",style:{background:"rgba(99,91,255,0.2)",color:"rgb(165,160,255)"},children:"Previewing"}),c&&K.jsxs("span",{className:"flex items-center gap-1 rounded-full px-2 py-0.5 text-[10px] font-medium",style:{background:"rgba(34,197,94,0.15)",color:"rgb(74,222,128)"},children:[K.jsx("svg",{className:"h-3 w-3",viewBox:"0 0 12 12",fill:"none",children:K.jsx("path",{d:"M2.5 6L5 8.5L9.5 3.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),"Implemented"]}),(b>0||T>0)&&K.jsxs("div",{className:"flex items-center gap-0.5",children:[K.jsx("button",{type:"button",onClick:A=>{A.stopPropagation(),S==null||S()},disabled:b===0,className:"flex h-5 w-5 items-center justify-center rounded text-zinc-400 transition-colors hover:bg-white/10 hover:text-zinc-200 disabled:opacity-30 disabled:hover:bg-transparent disabled:hover:text-zinc-400",title:"Undo",children:K.jsxs("svg",{className:"h-3 w-3",viewBox:"0 0 12 12",fill:"none",children:[K.jsx("path",{d:"M3 5.5L1.5 4L3 2.5",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),K.jsx("path",{d:"M1.5 4H7.5C9.16 4 10.5 5.34 10.5 7C10.5 8.66 9.16 10 7.5 10H6",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"})]})}),K.jsx("button",{type:"button",onClick:A=>{A.stopPropagation(),M==null||M()},disabled:T===0,className:"flex h-5 w-5 items-center justify-center rounded text-zinc-400 transition-colors hover:bg-white/10 hover:text-zinc-200 disabled:opacity-30 disabled:hover:bg-transparent disabled:hover:text-zinc-400",title:"Redo",children:K.jsxs("svg",{className:"h-3 w-3",viewBox:"0 0 12 12",fill:"none",children:[K.jsx("path",{d:"M9 5.5L10.5 4L9 2.5",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),K.jsx("path",{d:"M10.5 4H4.5C2.84 4 1.5 5.34 1.5 7C1.5 8.66 2.84 10 4.5 10H6",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"})]})})]})]})})]})}function ug({variationLabel:m,annotations:a,submitting:r,onRemove:i,onSubmitAll:c,onBack:s,onScrollToElement:o}){return K.jsxs("div",{style:{display:"flex",flexDirection:"column",height:"100%"},children:[K.jsx("div",{className:"shrink-0",style:{borderBottom:"1px solid rgba(255,255,255,0.06)"},children:K.jsxs("button",{onClick:s,className:"flex w-full items-center gap-2 px-5 py-4 text-left transition-colors hover:bg-white/5",style:{cursor:"pointer",background:"transparent",border:"none"},children:[K.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",style:{color:"rgba(255,255,255,0.4)",flexShrink:0},children:K.jsx("path",{d:"M9 11L5 7L9 3",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),K.jsxs("span",{style:{fontSize:13,color:"rgba(255,255,255,0.5)",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",display:"flex",alignItems:"center",gap:4,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:[K.jsx("span",{style:{fontFamily:"'Clash Display', sans-serif",fontWeight:600,color:"#ffffff",fontSize:13,letterSpacing:"-0.02em"},children:m}),K.jsx("span",{style:{opacity:.4},children:"→"}),K.jsx("span",{children:"Annotations"})]})]})}),K.jsx("div",{className:"flex-1 overflow-y-auto p-4",style:{display:"flex",flexDirection:"column",gap:8},children:a.length===0?K.jsx("div",{className:"flex h-32 items-center justify-center text-sm",style:{color:"rgba(255,255,255,0.3)",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif"},children:"No annotations yet"}):a.map(h=>K.jsxs("div",{className:"group relative cursor-pointer rounded-lg transition-colors hover:bg-white/5",onClick:()=>o(h.elementSelector),style:{borderLeft:"2px solid #3B82F6",padding:"10px 10px 10px 12px",background:"rgba(255,255,255,0.03)"},children:[K.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,marginBottom:6},children:[K.jsx("div",{style:{width:18,height:18,borderRadius:"50%",background:"#3B82F6",color:"#ffffff",fontSize:10,fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif"},children:h.id}),K.jsx("span",{style:{fontSize:11,fontFamily:"'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace",color:"rgba(255,255,255,0.5)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:1},children:h.elementLabel}),K.jsx("button",{className:"opacity-0 group-hover:opacity-100",onClick:p=>{p.stopPropagation(),i(h.id)},style:{flexShrink:0,width:18,height:18,borderRadius:4,border:"none",background:"rgba(255,255,255,0.1)",color:"rgba(255,255,255,0.5)",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",fontSize:12,lineHeight:1,transition:"opacity 0.15s ease",padding:0},title:"Remove annotation",children:"×"})]}),K.jsx("p",{style:{fontSize:12,color:"rgba(255,255,255,0.7)",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",lineHeight:1.5,margin:0,display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"},children:h.text})]},h.id))}),K.jsx("div",{className:"shrink-0 border-t px-4 py-3",style:{borderColor:"rgba(255,255,255,0.06)"},children:K.jsx("button",{onClick:c,disabled:r||a.length===0,className:"w-full rounded-lg px-4 py-2.5 text-sm font-medium transition-opacity",style:{background:"#3B82F6",color:"#ffffff",border:"none",cursor:r||a.length===0?"not-allowed":"pointer",opacity:r||a.length===0?.5:1,display:"flex",alignItems:"center",justifyContent:"center",gap:8,fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif"},children:r?K.jsxs(K.Fragment,{children:[K.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",style:{animation:"spin 0.8s linear infinite"},children:K.jsx("circle",{cx:"7",cy:"7",r:"5",stroke:"currentColor",strokeWidth:"2",strokeDasharray:"20 10",strokeLinecap:"round"})}),"Processing..."]}):`Submit All (${a.length})`})}),K.jsx("style",{children:`
63
+ */var Wo,Gl,Pn,mf,xn,$o,yf,wp=function(){return typeof window<"u"},pl={},Tn=180/Math.PI,ta=Math.PI/180,ea=Math.atan2,Io=1e8,pf=/([A-Z])/g,Rp=/(left|right|width|margin|padding|x)/i,Up=/[\s,\(]\S/,cl={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},gf=function(a,r){return r.set(r.t,r.p,Math.round((r.s+r.c*a)*1e4)/1e4+r.u,r)},Np=function(a,r){return r.set(r.t,r.p,a===1?r.e:Math.round((r.s+r.c*a)*1e4)/1e4+r.u,r)},jp=function(a,r){return r.set(r.t,r.p,a?Math.round((r.s+r.c*a)*1e4)/1e4+r.u:r.b,r)},Bp=function(a,r){return r.set(r.t,r.p,a===1?r.e:a?Math.round((r.s+r.c*a)*1e4)/1e4+r.u:r.b,r)},Hp=function(a,r){var i=r.s+r.c*a;r.set(r.t,r.p,~~(i+(i<0?-.5:.5))+r.u,r)},Po=function(a,r){return r.set(r.t,r.p,a?r.e:r.b,r)},td=function(a,r){return r.set(r.t,r.p,a!==1?r.b:r.e,r)},Lp=function(a,r,i){return a.style[r]=i},qp=function(a,r,i){return a.style.setProperty(r,i)},Yp=function(a,r,i){return a._gsap[r]=i},Gp=function(a,r,i){return a._gsap.scaleX=a._gsap.scaleY=i},Xp=function(a,r,i,c,s){var o=a._gsap;o.scaleX=o.scaleY=i,o.renderTransform(s,o)},kp=function(a,r,i,c,s){var o=a._gsap;o[r]=i,o.renderTransform(s,o)},Yt="transform",ve=Yt+"Origin",Vp=function m(a,r){var i=this,c=this.target,s=c.style,o=c._gsap;if(a in pl&&s){if(this.tfm=this.tfm||{},a!=="transform")a=cl[a]||a,~a.indexOf(",")?a.split(",").forEach(function(h){return i.tfm[h]=gl(c,h)}):this.tfm[a]=o.x?o[a]:gl(c,a),a===ve&&(this.tfm.zOrigin=o.zOrigin);else return cl.transform.split(",").forEach(function(h){return m.call(i,h,r)});if(this.props.indexOf(Yt)>=0)return;o.svg&&(this.svgo=c.getAttribute("data-svg-origin"),this.props.push(ve,r,"")),a=Yt}(s||r)&&this.props.push(a,r,s[a])},ed=function(a){a.translate&&(a.removeProperty("translate"),a.removeProperty("scale"),a.removeProperty("rotate"))},Qp=function(){var a=this.props,r=this.target,i=r.style,c=r._gsap,s,o;for(s=0;s<a.length;s+=3)a[s+1]?a[s+1]===2?r[a[s]](a[s+2]):r[a[s]]=a[s+2]:a[s+2]?i[a[s]]=a[s+2]:i.removeProperty(a[s].substr(0,2)==="--"?a[s]:a[s].replace(pf,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)c[o]=this.tfm[o];c.svg&&(c.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),s=yf(),(!s||!s.isStart)&&!i[Yt]&&(ed(i),c.zOrigin&&i[ve]&&(i[ve]+=" "+c.zOrigin+"px",c.zOrigin=0,c.renderTransform()),c.uncache=1)}},ld=function(a,r){var i={target:a,props:[],revert:Qp,save:Vp};return a._gsap||_e.core.getCache(a),r&&a.style&&a.nodeType&&r.split(",").forEach(function(c){return i.save(c)}),i},nd,_f=function(a,r){var i=Gl.createElementNS?Gl.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),a):Gl.createElement(a);return i&&i.style?i:Gl.createElement(a)},Ue=function m(a,r,i){var c=getComputedStyle(a);return c[r]||c.getPropertyValue(r.replace(pf,"-$1").toLowerCase())||c.getPropertyValue(r)||!i&&m(a,la(r)||r,1)||""},ad="O,Moz,ms,Ms,Webkit".split(","),la=function(a,r,i){var c=r||xn,s=c.style,o=5;if(a in s&&!i)return a;for(a=a.charAt(0).toUpperCase()+a.substr(1);o--&&!(ad[o]+a in s););return o<0?null:(o===3?"ms":o>=0?ad[o]:"")+a},vf=function(){wp()&&window.document&&(Wo=window,Gl=Wo.document,Pn=Gl.documentElement,xn=_f("div")||{style:{}},_f("div"),Yt=la(Yt),ve=Yt+"Origin",xn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",nd=!!la("perspective"),yf=_e.core.reverting,mf=1)},id=function(a){var r=a.ownerSVGElement,i=_f("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),c=a.cloneNode(!0),s;c.style.display="block",i.appendChild(c),Pn.appendChild(i);try{s=c.getBBox()}catch{}return i.removeChild(c),Pn.removeChild(i),s},ud=function(a,r){for(var i=r.length;i--;)if(a.hasAttribute(r[i]))return a.getAttribute(r[i])},rd=function(a){var r,i;try{r=a.getBBox()}catch{r=id(a),i=1}return r&&(r.width||r.height)||i||(r=id(a)),r&&!r.width&&!r.x&&!r.y?{x:+ud(a,["x","cx","x1"])||0,y:+ud(a,["y","cy","y1"])||0,width:0,height:0}:r},fd=function(a){return!!(a.getCTM&&(!a.parentNode||a.ownerSVGElement)&&rd(a))},Xl=function(a,r){if(r){var i=a.style,c;r in pl&&r!==ve&&(r=Yt),i.removeProperty?(c=r.substr(0,2),(c==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),i.removeProperty(c==="--"?r:r.replace(pf,"-$1").toLowerCase())):i.removeAttribute(r)}},kl=function(a,r,i,c,s,o){var h=new ge(a._pt,r,i,0,1,o?td:Po);return a._pt=h,h.b=c,h.e=s,a._props.push(i),h},cd={deg:1,rad:1,turn:1},Zp={grid:1,flex:1},Vl=function m(a,r,i,c){var s=parseFloat(i)||0,o=(i+"").trim().substr((s+"").length)||"px",h=xn.style,p=Rp.test(r),y=a.tagName.toLowerCase()==="svg",g=(y?"client":"offset")+(p?"Width":"Height"),b=100,T=c==="px",S=c==="%",A,v,C,j;if(c===o||!s||cd[c]||cd[o])return s;if(o!=="px"&&!T&&(s=m(a,r,i,"px")),j=a.getCTM&&fd(a),(S||o==="%")&&(pl[r]||~r.indexOf("adius")))return A=j?a.getBBox()[p?"width":"height"]:a[g],Vt(S?s/A*b:s/100*A);if(h[p?"width":"height"]=b+(T?o:c),v=c!=="rem"&&~r.indexOf("adius")||c==="em"&&a.appendChild&&!y?a:a.parentNode,j&&(v=(a.ownerSVGElement||{}).parentNode),(!v||v===Gl||!v.appendChild)&&(v=Gl.body),C=v._gsap,C&&S&&C.width&&p&&C.time===Re.time&&!C.uncache)return Vt(s/C.width*b);if(S&&(r==="height"||r==="width")){var L=a.style[r];a.style[r]=b+c,A=a[g],L?a.style[r]=L:Xl(a,r)}else(S||o==="%")&&!Zp[Ue(v,"display")]&&(h.position=Ue(a,"position")),v===a&&(h.position="static"),v.appendChild(xn),A=xn[g],v.removeChild(xn),h.position="absolute";return p&&S&&(C=gn(v),C.time=Re.time,C.width=v[g]),Vt(T?A*s/b:A&&s?b/A*s:0)},gl=function(a,r,i,c){var s;return mf||vf(),r in cl&&r!=="transform"&&(r=cl[r],~r.indexOf(",")&&(r=r.split(",")[0])),pl[r]&&r!=="transform"?(s=ei(a,c),s=r!=="transformOrigin"?s[r]:s.svg?s.origin:su(Ue(a,ve))+" "+s.zOrigin+"px"):(s=a.style[r],(!s||s==="auto"||c||~(s+"").indexOf("calc("))&&(s=cu[r]&&cu[r](a,r,i)||Ue(a,r)||oo(a,r)||(r==="opacity"?1:0))),i&&!~(s+"").trim().indexOf(" ")?Vl(a,r,s,i)+i:s},Kp=function(a,r,i,c){if(!i||i==="none"){var s=la(r,a,1),o=s&&Ue(a,s,1);o&&o!==i?(r=s,i=o):r==="borderColor"&&(i=Ue(a,"borderTopColor"))}var h=new ge(this._pt,a.style,r,0,1,Zo),p=0,y=0,g,b,T,S,A,v,C,j,L,Y,Z,q;if(h.b=i,h.e=c,i+="",c+="",c.substring(0,6)==="var(--"&&(c=Ue(a,c.substring(4,c.indexOf(")")))),c==="auto"&&(v=a.style[r],a.style[r]=c,c=Ue(a,r)||c,v?a.style[r]=v:Xl(a,r)),g=[i,c],Bo(g),i=g[0],c=g[1],T=i.match(Zn)||[],q=c.match(Zn)||[],q.length){for(;b=Zn.exec(c);)C=b[0],L=c.substring(p,b.index),A?A=(A+1)%5:(L.substr(-5)==="rgba("||L.substr(-5)==="hsla(")&&(A=1),C!==(v=T[y++]||"")&&(S=parseFloat(v)||0,Z=v.substr((S+"").length),C.charAt(1)==="="&&(C=Kn(S,C)+Z),j=parseFloat(C),Y=C.substr((j+"").length),p=Zn.lastIndex-Y.length,Y||(Y=Y||Me.units[r]||Z,p===c.length&&(c+=Y,h.e+=Y)),Z!==Y&&(S=Vl(a,r,v,Y)||0),h._pt={_next:h._pt,p:L||y===1?L:",",s:S,c:j-S,m:A&&A<4||r==="zIndex"?Math.round:0});h.c=p<c.length?c.substring(p,c.length):""}else h.r=r==="display"&&c==="none"?td:Po;return io.test(c)&&(h.e=0),this._pt=h,h},sd={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Jp=function(a){var r=a.split(" "),i=r[0],c=r[1]||"50%";return(i==="top"||i==="bottom"||c==="left"||c==="right")&&(a=i,i=c,c=a),r[0]=sd[i]||i,r[1]=sd[c]||c,r.join(" ")},Fp=function(a,r){if(r.tween&&r.tween._time===r.tween._dur){var i=r.t,c=i.style,s=r.u,o=i._gsap,h,p,y;if(s==="all"||s===!0)c.cssText="",p=1;else for(s=s.split(","),y=s.length;--y>-1;)h=s[y],pl[h]&&(p=1,h=h==="transformOrigin"?ve:Yt),Xl(i,h);p&&(Xl(i,Yt),o&&(o.svg&&i.removeAttribute("transform"),c.scale=c.rotate=c.translate="none",ei(i,1),o.uncache=1,ed(c)))}},cu={clearProps:function(a,r,i,c,s){if(s.data!=="isFromStart"){var o=a._pt=new ge(a._pt,r,i,0,0,Fp);return o.u=c,o.pr=-10,o.tween=s,a._props.push(i),1}}},ti=[1,0,0,1,0,0],od={},dd=function(a){return a==="matrix(1, 0, 0, 1, 0, 0)"||a==="none"||!a},hd=function(a){var r=Ue(a,Yt);return dd(r)?ti:r.substr(7).match(ao).map(Vt)},bf=function(a,r){var i=a._gsap||gn(a),c=a.style,s=hd(a),o,h,p,y;return i.svg&&a.getAttribute("transform")?(p=a.transform.baseVal.consolidate().matrix,s=[p.a,p.b,p.c,p.d,p.e,p.f],s.join(",")==="1,0,0,1,0,0"?ti:s):(s===ti&&!a.offsetParent&&a!==Pn&&!i.svg&&(p=c.display,c.display="block",o=a.parentNode,(!o||!a.offsetParent&&!a.getBoundingClientRect().width)&&(y=1,h=a.nextElementSibling,Pn.appendChild(a)),s=hd(a),p?c.display=p:Xl(a,"display"),y&&(h?o.insertBefore(a,h):o?o.appendChild(a):Pn.removeChild(a))),r&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Sf=function(a,r,i,c,s,o){var h=a._gsap,p=s||bf(a,!0),y=h.xOrigin||0,g=h.yOrigin||0,b=h.xOffset||0,T=h.yOffset||0,S=p[0],A=p[1],v=p[2],C=p[3],j=p[4],L=p[5],Y=r.split(" "),Z=parseFloat(Y[0])||0,q=parseFloat(Y[1])||0,J,V,H,M;i?p!==ti&&(V=S*C-A*v)&&(H=Z*(C/V)+q*(-v/V)+(v*L-C*j)/V,M=Z*(-A/V)+q*(S/V)-(S*L-A*j)/V,Z=H,q=M):(J=rd(a),Z=J.x+(~Y[0].indexOf("%")?Z/100*J.width:Z),q=J.y+(~(Y[1]||Y[0]).indexOf("%")?q/100*J.height:q)),c||c!==!1&&h.smooth?(j=Z-y,L=q-g,h.xOffset=b+(j*S+L*v)-j,h.yOffset=T+(j*A+L*C)-L):h.xOffset=h.yOffset=0,h.xOrigin=Z,h.yOrigin=q,h.smooth=!!c,h.origin=r,h.originIsAbsolute=!!i,a.style[ve]="0px 0px",o&&(kl(o,h,"xOrigin",y,Z),kl(o,h,"yOrigin",g,q),kl(o,h,"xOffset",b,h.xOffset),kl(o,h,"yOffset",T,h.yOffset)),a.setAttribute("data-svg-origin",Z+" "+q)},ei=function(a,r){var i=a._gsap||new Yo(a);if("x"in i&&!r&&!i.uncache)return i;var c=a.style,s=i.scaleX<0,o="px",h="deg",p=getComputedStyle(a),y=Ue(a,ve)||"0",g,b,T,S,A,v,C,j,L,Y,Z,q,J,V,H,M,F,$,et,ct,St,rt,U,N,P,st,ht,E,X,I,tt,ut;return g=b=T=v=C=j=L=Y=Z=0,S=A=1,i.svg=!!(a.getCTM&&fd(a)),p.translate&&((p.translate!=="none"||p.scale!=="none"||p.rotate!=="none")&&(c[Yt]=(p.translate!=="none"?"translate3d("+(p.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(p.rotate!=="none"?"rotate("+p.rotate+") ":"")+(p.scale!=="none"?"scale("+p.scale.split(" ").join(",")+") ":"")+(p[Yt]!=="none"?p[Yt]:"")),c.scale=c.rotate=c.translate="none"),V=bf(a,i.svg),i.svg&&(i.uncache?(P=a.getBBox(),y=i.xOrigin-P.x+"px "+(i.yOrigin-P.y)+"px",N=""):N=!r&&a.getAttribute("data-svg-origin"),Sf(a,N||y,!!N||i.originIsAbsolute,i.smooth!==!1,V)),q=i.xOrigin||0,J=i.yOrigin||0,V!==ti&&($=V[0],et=V[1],ct=V[2],St=V[3],g=rt=V[4],b=U=V[5],V.length===6?(S=Math.sqrt($*$+et*et),A=Math.sqrt(St*St+ct*ct),v=$||et?ea(et,$)*Tn:0,L=ct||St?ea(ct,St)*Tn+v:0,L&&(A*=Math.abs(Math.cos(L*ta))),i.svg&&(g-=q-(q*$+J*ct),b-=J-(q*et+J*St))):(ut=V[6],I=V[7],ht=V[8],E=V[9],X=V[10],tt=V[11],g=V[12],b=V[13],T=V[14],H=ea(ut,X),C=H*Tn,H&&(M=Math.cos(-H),F=Math.sin(-H),N=rt*M+ht*F,P=U*M+E*F,st=ut*M+X*F,ht=rt*-F+ht*M,E=U*-F+E*M,X=ut*-F+X*M,tt=I*-F+tt*M,rt=N,U=P,ut=st),H=ea(-ct,X),j=H*Tn,H&&(M=Math.cos(-H),F=Math.sin(-H),N=$*M-ht*F,P=et*M-E*F,st=ct*M-X*F,tt=St*F+tt*M,$=N,et=P,ct=st),H=ea(et,$),v=H*Tn,H&&(M=Math.cos(H),F=Math.sin(H),N=$*M+et*F,P=rt*M+U*F,et=et*M-$*F,U=U*M-rt*F,$=N,rt=P),C&&Math.abs(C)+Math.abs(v)>359.9&&(C=v=0,j=180-j),S=Vt(Math.sqrt($*$+et*et+ct*ct)),A=Vt(Math.sqrt(U*U+ut*ut)),H=ea(rt,U),L=Math.abs(H)>2e-4?H*Tn:0,Z=tt?1/(tt<0?-tt:tt):0),i.svg&&(N=a.getAttribute("transform"),i.forceCSS=a.setAttribute("transform","")||!dd(Ue(a,Yt)),N&&a.setAttribute("transform",N))),Math.abs(L)>90&&Math.abs(L)<270&&(s?(S*=-1,L+=v<=0?180:-180,v+=v<=0?180:-180):(A*=-1,L+=L<=0?180:-180)),r=r||i.uncache,i.x=g-((i.xPercent=g&&(!r&&i.xPercent||(Math.round(a.offsetWidth/2)===Math.round(-g)?-50:0)))?a.offsetWidth*i.xPercent/100:0)+o,i.y=b-((i.yPercent=b&&(!r&&i.yPercent||(Math.round(a.offsetHeight/2)===Math.round(-b)?-50:0)))?a.offsetHeight*i.yPercent/100:0)+o,i.z=T+o,i.scaleX=Vt(S),i.scaleY=Vt(A),i.rotation=Vt(v)+h,i.rotationX=Vt(C)+h,i.rotationY=Vt(j)+h,i.skewX=L+h,i.skewY=Y+h,i.transformPerspective=Z+o,(i.zOrigin=parseFloat(y.split(" ")[2])||!r&&i.zOrigin||0)&&(c[ve]=su(y)),i.xOffset=i.yOffset=0,i.force3D=Me.force3D,i.renderTransform=i.svg?$p:nd?md:Wp,i.uncache=0,i},su=function(a){return(a=a.split(" "))[0]+" "+a[1]},xf=function(a,r,i){var c=oe(r);return Vt(parseFloat(r)+parseFloat(Vl(a,"x",i+"px",c)))+c},Wp=function(a,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,md(a,r)},zn="0deg",li="0px",En=") ",md=function(a,r){var i=r||this,c=i.xPercent,s=i.yPercent,o=i.x,h=i.y,p=i.z,y=i.rotation,g=i.rotationY,b=i.rotationX,T=i.skewX,S=i.skewY,A=i.scaleX,v=i.scaleY,C=i.transformPerspective,j=i.force3D,L=i.target,Y=i.zOrigin,Z="",q=j==="auto"&&a&&a!==1||j===!0;if(Y&&(b!==zn||g!==zn)){var J=parseFloat(g)*ta,V=Math.sin(J),H=Math.cos(J),M;J=parseFloat(b)*ta,M=Math.cos(J),o=xf(L,o,V*M*-Y),h=xf(L,h,-Math.sin(J)*-Y),p=xf(L,p,H*M*-Y+Y)}C!==li&&(Z+="perspective("+C+En),(c||s)&&(Z+="translate("+c+"%, "+s+"%) "),(q||o!==li||h!==li||p!==li)&&(Z+=p!==li||q?"translate3d("+o+", "+h+", "+p+") ":"translate("+o+", "+h+En),y!==zn&&(Z+="rotate("+y+En),g!==zn&&(Z+="rotateY("+g+En),b!==zn&&(Z+="rotateX("+b+En),(T!==zn||S!==zn)&&(Z+="skew("+T+", "+S+En),(A!==1||v!==1)&&(Z+="scale("+A+", "+v+En),L.style[Yt]=Z||"translate(0, 0)"},$p=function(a,r){var i=r||this,c=i.xPercent,s=i.yPercent,o=i.x,h=i.y,p=i.rotation,y=i.skewX,g=i.skewY,b=i.scaleX,T=i.scaleY,S=i.target,A=i.xOrigin,v=i.yOrigin,C=i.xOffset,j=i.yOffset,L=i.forceCSS,Y=parseFloat(o),Z=parseFloat(h),q,J,V,H,M;p=parseFloat(p),y=parseFloat(y),g=parseFloat(g),g&&(g=parseFloat(g),y+=g,p+=g),p||y?(p*=ta,y*=ta,q=Math.cos(p)*b,J=Math.sin(p)*b,V=Math.sin(p-y)*-T,H=Math.cos(p-y)*T,y&&(g*=ta,M=Math.tan(y-g),M=Math.sqrt(1+M*M),V*=M,H*=M,g&&(M=Math.tan(g),M=Math.sqrt(1+M*M),q*=M,J*=M)),q=Vt(q),J=Vt(J),V=Vt(V),H=Vt(H)):(q=b,H=T,J=V=0),(Y&&!~(o+"").indexOf("px")||Z&&!~(h+"").indexOf("px"))&&(Y=Vl(S,"x",o,"px"),Z=Vl(S,"y",h,"px")),(A||v||C||j)&&(Y=Vt(Y+A-(A*q+v*V)+C),Z=Vt(Z+v-(A*J+v*H)+j)),(c||s)&&(M=S.getBBox(),Y=Vt(Y+c/100*M.width),Z=Vt(Z+s/100*M.height)),M="matrix("+q+","+J+","+V+","+H+","+Y+","+Z+")",S.setAttribute("transform",M),L&&(S.style[Yt]=M)},Ip=function(a,r,i,c,s){var o=360,h=te(s),p=parseFloat(s)*(h&&~s.indexOf("rad")?Tn:1),y=p-c,g=c+y+"deg",b,T;return h&&(b=s.split("_")[1],b==="short"&&(y%=o,y!==y%(o/2)&&(y+=y<0?o:-o)),b==="cw"&&y<0?y=(y+o*Io)%o-~~(y/o)*o:b==="ccw"&&y>0&&(y=(y-o*Io)%o-~~(y/o)*o)),a._pt=T=new ge(a._pt,r,i,c,y,Np),T.e=g,T.u="deg",a._props.push(i),T},yd=function(a,r){for(var i in r)a[i]=r[i];return a},Pp=function(a,r,i){var c=yd({},i._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=i.style,h,p,y,g,b,T,S,A;c.svg?(y=i.getAttribute("transform"),i.setAttribute("transform",""),o[Yt]=r,h=ei(i,1),Xl(i,Yt),i.setAttribute("transform",y)):(y=getComputedStyle(i)[Yt],o[Yt]=r,h=ei(i,1),o[Yt]=y);for(p in pl)y=c[p],g=h[p],y!==g&&s.indexOf(p)<0&&(S=oe(y),A=oe(g),b=S!==A?Vl(i,p,y,A):parseFloat(y),T=parseFloat(g),a._pt=new ge(a._pt,h,p,b,T-b,gf),a._pt.u=A||0,a._props.push(p));yd(h,c)};pe("padding,margin,Width,Radius",function(m,a){var r="Top",i="Right",c="Bottom",s="Left",o=(a<3?[r,i,c,s]:[r+s,r+i,c+i,c+s]).map(function(h){return a<2?m+h:"border"+h+m});cu[a>1?"border"+m:m]=function(h,p,y,g,b){var T,S;if(arguments.length<4)return T=o.map(function(A){return gl(h,A,y)}),S=T.join(" "),S.split(T[0]).length===5?T[0]:S;T=(g+"").split(" "),S={},o.forEach(function(A,v){return S[A]=T[v]=T[v]||T[(v-1)/2|0]}),h.init(p,S,b)}});var pd={name:"css",register:vf,targetTest:function(a){return a.style&&a.nodeType},init:function(a,r,i,c,s){var o=this._props,h=a.style,p=i.vars.startAt,y,g,b,T,S,A,v,C,j,L,Y,Z,q,J,V,H,M;mf||vf(),this.styles=this.styles||ld(a),H=this.styles.props,this.tween=i;for(v in r)if(v!=="autoRound"&&(g=r[v],!(Ce[v]&&Go(v,r,i,c,a,s)))){if(S=typeof g,A=cu[v],S==="function"&&(g=g.call(i,c,a,s),S=typeof g),S==="string"&&~g.indexOf("random(")&&(g=Ja(g)),A)A(this,a,v,g,i)&&(V=1);else if(v.substr(0,2)==="--")y=(getComputedStyle(a).getPropertyValue(v)+"").trim(),g+="",ql.lastIndex=0,ql.test(y)||(C=oe(y),j=oe(g),j?C!==j&&(y=Vl(a,v,y,j)+j):C&&(g+=C)),this.add(h,"setProperty",y,g,c,s,0,0,v),o.push(v),H.push(v,0,h[v]);else if(S!=="undefined"){if(p&&v in p?(y=typeof p[v]=="function"?p[v].call(i,c,a,s):p[v],te(y)&&~y.indexOf("random(")&&(y=Ja(y)),oe(y+"")||y==="auto"||(y+=Me.units[v]||oe(gl(a,v))||""),(y+"").charAt(1)==="="&&(y=gl(a,v))):y=gl(a,v),T=parseFloat(y),L=S==="string"&&g.charAt(1)==="="&&g.substr(0,2),L&&(g=g.substr(2)),b=parseFloat(g),v in cl&&(v==="autoAlpha"&&(T===1&&gl(a,"visibility")==="hidden"&&b&&(T=0),H.push("visibility",0,h.visibility),kl(this,h,"visibility",T?"inherit":"hidden",b?"inherit":"hidden",!b)),v!=="scale"&&v!=="transform"&&(v=cl[v],~v.indexOf(",")&&(v=v.split(",")[0]))),Y=v in pl,Y){if(this.styles.save(v),M=g,S==="string"&&g.substring(0,6)==="var(--"){if(g=Ue(a,g.substring(4,g.indexOf(")"))),g.substring(0,5)==="calc("){var F=a.style.perspective;a.style.perspective=g,g=Ue(a,"perspective"),F?a.style.perspective=F:Xl(a,"perspective")}b=parseFloat(g)}if(Z||(q=a._gsap,q.renderTransform&&!r.parseTransform||ei(a,r.parseTransform),J=r.smoothOrigin!==!1&&q.smooth,Z=this._pt=new ge(this._pt,h,Yt,0,1,q.renderTransform,q,0,-1),Z.dep=1),v==="scale")this._pt=new ge(this._pt,q,"scaleY",q.scaleY,(L?Kn(q.scaleY,L+b):b)-q.scaleY||0,gf),this._pt.u=0,o.push("scaleY",v),v+="X";else if(v==="transformOrigin"){H.push(ve,0,h[ve]),g=Jp(g),q.svg?Sf(a,g,0,J,0,this):(j=parseFloat(g.split(" ")[2])||0,j!==q.zOrigin&&kl(this,q,"zOrigin",q.zOrigin,j),kl(this,h,v,su(y),su(g)));continue}else if(v==="svgOrigin"){Sf(a,g,1,J,0,this);continue}else if(v in od){Ip(this,q,v,T,L?Kn(T,L+g):g);continue}else if(v==="smoothOrigin"){kl(this,q,"smooth",q.smooth,g);continue}else if(v==="force3D"){q[v]=g;continue}else if(v==="transform"){Pp(this,g,a);continue}}else v in h||(v=la(v)||v);if(Y||(b||b===0)&&(T||T===0)&&!Up.test(g)&&v in h)C=(y+"").substr((T+"").length),b||(b=0),j=oe(g)||(v in Me.units?Me.units[v]:C),C!==j&&(T=Vl(a,v,y,j)),this._pt=new ge(this._pt,Y?q:h,v,T,(L?Kn(T,L+b):b)-T,!Y&&(j==="px"||v==="zIndex")&&r.autoRound!==!1?Hp:gf),this._pt.u=j||0,Y&&M!==g?(this._pt.b=y,this._pt.e=M,this._pt.r=Bp):C!==j&&j!=="%"&&(this._pt.b=y,this._pt.r=jp);else if(v in h)Kp.call(this,a,v,y,L?L+g:g);else if(v in a)this.add(a,v,y||a[v],L?L+g:g,c,s);else if(v!=="parseTransform"){kr(v,g);continue}Y||(v in h?H.push(v,0,h[v]):typeof a[v]=="function"?H.push(v,2,a[v]()):H.push(v,1,y||a[v])),o.push(v)}}V&&Ko(this)},render:function(a,r){if(r.tween._time||!yf())for(var i=r._pt;i;)i.r(a,i.d),i=i._next;else r.styles.revert()},get:gl,aliases:cl,getSetter:function(a,r,i){var c=cl[r];return c&&c.indexOf(",")<0&&(r=c),r in pl&&r!==ve&&(a._gsap.x||gl(a,"x"))?i&&$o===i?r==="scale"?Gp:Yp:($o=i||{})&&(r==="scale"?Xp:kp):a.style&&!Lr(a.style[r])?Lp:~r.indexOf("-")?qp:cf(a,r)},core:{_removeProperty:Xl,_getMatrix:bf}};_e.utils.checkPrefix=la,_e.core.getStyleSaver=ld,(function(m,a,r,i){var c=pe(m+","+a+","+r,function(s){pl[s]=1});pe(a,function(s){Me.units[s]="deg",od[s]=1}),cl[c[13]]=m+","+a,pe(i,function(s){var o=s.split(":");cl[o[1]]=c[o[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),pe("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(m){Me.units[m]="px"}),_e.registerPlugin(pd);var ni=_e.registerPlugin(pd)||_e;ni.core.Tween;function tg(){try{const m=document.querySelectorAll('script[src*="overlay.js"]');for(const a of m){const r=a.src;if(r)return new URL(r).origin}}catch{}return"http://localhost:3013"}function eg(m){let a="",r=m;for(;r>0;)r--,a=String.fromCharCode(65+r%26)+a,r=Math.floor(r/26);return a}const gd=1280,lg=800,ng=260/gd,ag=180;function ig({variationId:m,previewUrl:a,index:r,isPreviewing:i,isImplemented:c,isOriginal:s,brand:o,label:h,isBranch:p,onUnbranch:y,onClick:g,undoDepth:b=0,redoDepth:T=0,onUndo:S,onRedo:A}){const[v,C]=W.useState(!1),[j,L]=W.useState(!1),[Y,Z]=W.useState(!1),[q,J]=W.useState(0);W.useEffect(()=>{if(v)return;const $=setTimeout(()=>L(!0),1e4);return()=>clearTimeout($)},[v]),W.useEffect(()=>{if(!v||q>0)return;const $=setTimeout(()=>{J(1)},800);return()=>clearTimeout($)},[v,q]);const V=a.startsWith("http")?a:`${tg()}${a}`,H=q>0?`${V}${V.includes("?")?"&":"?"}r=${q}`:V,M=i?"rgba(99,91,255,0.4)":c?"rgba(34,197,94,0.35)":"rgba(255,255,255,0.06)",F=i?"rgba(99,91,255,0.08)":"rgba(255,255,255,0.03)";return K.jsxs("button",{type:"button",onClick:g,className:"group w-full cursor-pointer rounded-xl border text-left transition-all touch-manipulation",style:{background:F,borderColor:M,boxShadow:i?"0 0 0 1px rgba(99,91,255,0.2)":"none"},onMouseEnter:$=>{!i&&!c&&($.currentTarget.style.borderColor="rgba(255,255,255,0.15)")},onMouseLeave:$=>{!i&&!c&&($.currentTarget.style.borderColor="rgba(255,255,255,0.06)")},children:[K.jsxs("div",{className:"relative overflow-hidden rounded-t-xl",style:{width:"100%",height:ag,background:"#1a1a1e",border:"1px solid rgba(255,255,255,0.06)",borderBottom:"none"},children:[(!v||Y)&&K.jsxs("div",{className:"pointer-events-none absolute inset-0 z-[1] flex flex-col items-center justify-center gap-1",style:{background:"#27272a"},children:[K.jsx("span",{className:"animate-pulse text-xs",style:{color:j||Y?"#f87171":"#71717a"},children:Y?"Preview failed to render":j?"Preview failed to load":"Loading preview..."}),(j||Y)&&K.jsx("span",{className:"text-[10px]",style:{color:"#52525b"},children:Y?"Check browser console (F12)":"Check server logs"})]}),a&&K.jsx("iframe",{src:H,sandbox:"allow-scripts allow-same-origin",loading:"lazy",title:`Preview variation ${r+1}`,onLoad:()=>C(!0),onError:()=>{C(!0),Z(!0)},style:{position:"absolute",top:0,left:0,width:gd,height:lg,transform:`scale(${ng})`,transformOrigin:"top left",pointerEvents:"none",border:"none",display:"block"}}),i&&K.jsx("div",{className:"absolute top-2 right-2 z-[2] flex h-5 w-5 items-center justify-center rounded",style:{background:"rgba(0,0,0,0.5)",backdropFilter:"blur(4px)"},children:K.jsx("svg",{className:"h-3 w-3 text-white",viewBox:"0 0 12 12",fill:"none",children:K.jsx("path",{d:"M2.5 6L5 8.5L9.5 3.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),K.jsx("div",{className:"flex items-center justify-between px-3 py-2.5",children:K.jsxs("div",{className:"flex items-center gap-2",children:[K.jsx("span",{className:"text-xs font-medium text-zinc-200",children:s?"Original":h?`Variation ${h}${o?`: ${o}`:""}`:`Variation ${eg(r)}${o?`: ${o}`:""}`}),p&&y&&K.jsx("button",{type:"button",onClick:$=>{$.stopPropagation(),y()},className:"flex h-4 w-4 items-center justify-center rounded text-zinc-500 transition-colors hover:bg-white/10 hover:text-zinc-300",title:"Unbranch — restore parent variation",children:K.jsxs("svg",{className:"h-2.5 w-2.5",viewBox:"0 0 10 10",fill:"none",children:[K.jsx("path",{d:"M8 2L5 5L2 2",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),K.jsx("path",{d:"M5 5V8",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"})]})}),i&&K.jsx("span",{className:"rounded-full px-2 py-0.5 text-[10px] font-medium",style:{background:"rgba(99,91,255,0.2)",color:"rgb(165,160,255)"},children:"Previewing"}),c&&K.jsxs("span",{className:"flex items-center gap-1 rounded-full px-2 py-0.5 text-[10px] font-medium",style:{background:"rgba(34,197,94,0.15)",color:"rgb(74,222,128)"},children:[K.jsx("svg",{className:"h-3 w-3",viewBox:"0 0 12 12",fill:"none",children:K.jsx("path",{d:"M2.5 6L5 8.5L9.5 3.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),"Implemented"]}),(b>0||T>0)&&K.jsxs("div",{className:"flex items-center gap-0.5",children:[K.jsx("button",{type:"button",onClick:$=>{$.stopPropagation(),S==null||S()},disabled:b===0,className:"flex h-5 w-5 items-center justify-center rounded text-zinc-400 transition-colors hover:bg-white/10 hover:text-zinc-200 disabled:opacity-30 disabled:hover:bg-transparent disabled:hover:text-zinc-400",title:"Undo",children:K.jsxs("svg",{className:"h-3 w-3",viewBox:"0 0 12 12",fill:"none",children:[K.jsx("path",{d:"M3 5.5L1.5 4L3 2.5",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),K.jsx("path",{d:"M1.5 4H7.5C9.16 4 10.5 5.34 10.5 7C10.5 8.66 9.16 10 7.5 10H6",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"})]})}),K.jsx("button",{type:"button",onClick:$=>{$.stopPropagation(),A==null||A()},disabled:T===0,className:"flex h-5 w-5 items-center justify-center rounded text-zinc-400 transition-colors hover:bg-white/10 hover:text-zinc-200 disabled:opacity-30 disabled:hover:bg-transparent disabled:hover:text-zinc-400",title:"Redo",children:K.jsxs("svg",{className:"h-3 w-3",viewBox:"0 0 12 12",fill:"none",children:[K.jsx("path",{d:"M9 5.5L10.5 4L9 2.5",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),K.jsx("path",{d:"M10.5 4H4.5C2.84 4 1.5 5.34 1.5 7C1.5 8.66 2.84 10 4.5 10H6",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"})]})})]})]})})]})}function ug({variationLabel:m,annotations:a,submitting:r,onRemove:i,onSubmitAll:c,onBack:s,onScrollToElement:o}){return K.jsxs("div",{style:{display:"flex",flexDirection:"column",height:"100%"},children:[K.jsx("div",{className:"shrink-0",style:{borderBottom:"1px solid rgba(255,255,255,0.06)"},children:K.jsxs("button",{onClick:s,className:"flex w-full items-center gap-2 px-5 py-4 text-left transition-colors hover:bg-white/5",style:{cursor:"pointer",background:"transparent",border:"none"},children:[K.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",style:{color:"rgba(255,255,255,0.4)",flexShrink:0},children:K.jsx("path",{d:"M9 11L5 7L9 3",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),K.jsxs("span",{style:{fontSize:13,color:"rgba(255,255,255,0.5)",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",display:"flex",alignItems:"center",gap:4,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:[K.jsx("span",{style:{fontFamily:"'Clash Display', sans-serif",fontWeight:600,color:"#ffffff",fontSize:13,letterSpacing:"-0.02em"},children:m}),K.jsx("span",{style:{opacity:.4},children:"→"}),K.jsx("span",{children:"Annotations"})]})]})}),K.jsx("div",{className:"flex-1 overflow-y-auto p-4",style:{display:"flex",flexDirection:"column",gap:8},children:a.length===0?K.jsx("div",{className:"flex h-32 items-center justify-center text-sm",style:{color:"rgba(255,255,255,0.3)",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif"},children:"No annotations yet"}):a.map(h=>K.jsxs("div",{className:"group relative cursor-pointer rounded-lg transition-colors hover:bg-white/5",onClick:()=>o(h.elementSelector),style:{borderLeft:"2px solid #3B82F6",padding:"10px 10px 10px 12px",background:"rgba(255,255,255,0.03)"},children:[K.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,marginBottom:6},children:[K.jsx("div",{style:{width:18,height:18,borderRadius:"50%",background:"#3B82F6",color:"#ffffff",fontSize:10,fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif"},children:h.id}),K.jsx("span",{style:{fontSize:11,fontFamily:"'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace",color:"rgba(255,255,255,0.5)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:1},children:h.elementLabel}),K.jsx("button",{className:"opacity-0 group-hover:opacity-100",onClick:p=>{p.stopPropagation(),i(h.id)},style:{flexShrink:0,width:18,height:18,borderRadius:4,border:"none",background:"rgba(255,255,255,0.1)",color:"rgba(255,255,255,0.5)",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",fontSize:12,lineHeight:1,transition:"opacity 0.15s ease",padding:0},title:"Remove annotation",children:"×"})]}),K.jsx("p",{style:{fontSize:12,color:"rgba(255,255,255,0.7)",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",lineHeight:1.5,margin:0,display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"},children:h.text})]},h.id))}),K.jsx("div",{className:"shrink-0 border-t px-4 py-3",style:{borderColor:"rgba(255,255,255,0.06)"},children:K.jsx("button",{onClick:c,disabled:r||a.length===0,className:"w-full rounded-lg px-4 py-2.5 text-sm font-medium transition-opacity",style:{background:"#3B82F6",color:"#ffffff",border:"none",cursor:r||a.length===0?"not-allowed":"pointer",opacity:r||a.length===0?.5:1,display:"flex",alignItems:"center",justifyContent:"center",gap:8,fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif"},children:r?K.jsxs(K.Fragment,{children:[K.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",style:{animation:"spin 0.8s linear infinite"},children:K.jsx("circle",{cx:"7",cy:"7",r:"5",stroke:"currentColor",strokeWidth:"2",strokeDasharray:"20 10",strokeLinecap:"round"})}),"Processing..."]}):`Submit All (${a.length})`})}),K.jsx("style",{children:`
64
64
  @keyframes spin {
65
65
  from { transform: rotate(0deg); }
66
66
  to { transform: rotate(360deg); }
67
67
  }
68
- `})]})}function rg({variations:m,previewUrls:a,previewingId:r,implementedId:i,onPreview:c,onImplement:s,onClose:o,visible:h,selectorEnabled:p,onToggleSelector:y,undoRedoMap:g,onUndo:b,onRedo:T,onUnbranch:S,annotationCounts:M,annotationScreen:v,annotationItems:C,annotationSubmitting:j,onAnnotationRemove:L,onAnnotationSubmitAll:Y,onAnnotationScreenOpen:Z,onAnnotationScreenClose:q}){const J=F.useRef(null);F.useEffect(()=>{J.current&&(h?ni.to(J.current,{x:0,duration:.4,ease:"power3.out"}):ni.to(J.current,{x:"100%",duration:.3,ease:"power3.in"}))},[h]),F.useEffect(()=>{if(!h)return;const H=A=>{var lt;const W=(lt=A.target)==null?void 0:lt.tagName;W==="INPUT"||W==="TEXTAREA"||A.key==="Escape"&&(A.preventDefault(),v?q():o())};return window.addEventListener("keydown",H),()=>window.removeEventListener("keydown",H)},[h,o,v,q]);const V=H=>{const A=document.querySelector(H);if(!A)return;A.scrollIntoView({behavior:"smooth",block:"center"});const W=A,lt=W.style.outline;W.style.outline="2px solid #3B82F6",setTimeout(()=>{W.style.outline=lt},1e3)};return K.jsx("div",{ref:J,className:"fixed top-0 right-0 flex h-screen flex-col",style:{width:300,background:"rgba(24, 24, 27, 0.98)",backdropFilter:"blur(20px)",WebkitBackdropFilter:"blur(20px)",borderLeft:"1px solid rgba(255,255,255,0.08)",transform:"translateX(100%)",zIndex:2147483645,pointerEvents:"auto"},children:v?K.jsx(ug,{variationLabel:v.variationLabel,annotations:C,submitting:j,onRemove:L,onSubmitAll:Y,onBack:q,onScrollToElement:V}):K.jsxs(K.Fragment,{children:[K.jsxs("div",{className:"flex shrink-0 items-center justify-between border-b px-5 py-4",style:{borderColor:"rgba(255,255,255,0.06)"},children:[K.jsx("span",{style:{fontFamily:"'Clash Display', sans-serif",fontWeight:700,fontSize:16,letterSpacing:"-0.04em",color:"#ffffff",textTransform:"uppercase"},children:"GLYPH"}),K.jsxs("div",{className:"flex items-center gap-1",children:[K.jsx("button",{onClick:y,className:"flex h-7 w-7 items-center justify-center rounded-lg transition-colors hover:bg-white/5",title:p?"Disable element selector":"Enable element selector",style:{color:p?"#3B82F6":"rgb(161,161,170)"},children:K.jsx("svg",{className:"h-4 w-4",viewBox:"0 0 16 16",fill:"none",children:K.jsx("path",{d:"M2 2h4v2H4v2H2V2zM10 2h4v4h-2V4h-2V2zM2 10h2v2h2v2H2v-4zM12 12v-2h2v4h-4v-2h2z",fill:"currentColor"})})}),K.jsx("button",{onClick:o,className:"flex h-7 w-7 items-center justify-center rounded-lg text-zinc-400 transition-colors hover:bg-white/5 hover:text-zinc-200",children:K.jsx("svg",{className:"h-4 w-4",viewBox:"0 0 16 16",fill:"none",children:K.jsx("path",{d:"M4 4L12 12M12 4L4 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})]})]}),K.jsx("div",{className:"flex-1 space-y-3 overflow-y-auto p-4",children:m.length>0?m.map((H,A)=>{var ct,St,rt;const W=H.id==="original",lt=W?0:((ct=m[0])==null?void 0:ct.id)==="original"?A:A+1,tt=M[H.id]??0;return H.label?H.label:W||(()=>{const U=m.filter(N=>N.id!=="original").findIndex(N=>N.id===H.id);return`Variation ${String.fromCharCode(65+U)}`})(),K.jsxs("div",{style:{position:"relative"},children:[K.jsx(ig,{variationId:H.id,previewUrl:a[H.id]??"",index:lt,isPreviewing:H.id===r,isImplemented:H.id===i,isOriginal:W,brand:H.brand,label:H.label,isBranch:!!H.parentId,onUnbranch:()=>S(H.id),onClick:()=>{c(H.id),tt>0&&Z(H.id)},undoDepth:((St=g[H.id])==null?void 0:St.undo)??0,redoDepth:((rt=g[H.id])==null?void 0:rt.redo)??0,onUndo:()=>b(H.id),onRedo:()=>T(H.id)}),tt>0&&K.jsx("button",{onClick:U=>{U.stopPropagation(),Z(H.id)},title:`${tt} annotation${tt!==1?"s":""}`,style:{position:"absolute",top:0,left:0,width:20,height:20,borderRadius:"50%",background:"#3B82F6",color:"#ffffff",fontSize:10,fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",border:"none",cursor:"pointer",zIndex:10,fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",lineHeight:1,padding:0},children:tt})]},H.id)}):K.jsx("div",{className:"flex h-40 items-center justify-center text-sm text-zinc-500",children:"Waiting for variations..."})}),K.jsx("div",{className:"shrink-0 border-t px-4 py-3",style:{borderColor:"rgba(255,255,255,0.06)"},children:r?K.jsx("button",{onClick:s,className:"w-full rounded-lg px-4 py-2.5 text-sm font-medium transition-colors hover:opacity-90",style:{background:"#ffffff",color:"#000000"},children:(()=>{const H=m.findIndex(tt=>tt.id===r),A=m[H];if(!A||A.id==="original")return"Implement Original →";const W=m.filter(tt=>tt.id!=="original").findIndex(tt=>tt.id===r);return`Implement Variation ${String.fromCharCode(65+W)} →`})()}):K.jsx("span",{className:"block text-center text-xs text-zinc-400",children:"Click a variation to preview"})})]})})}function fg({visible:m,onClick:a,variationCount:r}){const i=F.useRef(null);return F.useEffect(()=>{i.current&&(m?ni.fromTo(i.current,{opacity:0,y:8},{opacity:1,y:0,duration:.3,ease:"power2.out"}):ni.to(i.current,{opacity:0,y:8,duration:.2,ease:"power2.in"}))},[m]),m?K.jsxs("button",{ref:i,type:"button",onClick:a,onMouseEnter:c=>{c.currentTarget.style.borderColor="rgba(255, 255, 255, 0.2)",c.currentTarget.style.transform="scale(1.05)"},onMouseLeave:c=>{c.currentTarget.style.borderColor="rgba(255, 255, 255, 0.08)",c.currentTarget.style.transform="scale(1)"},style:{position:"fixed",bottom:16,right:16,width:36,height:36,borderRadius:"50%",background:"rgba(24, 24, 27, 0.85)",border:"1px solid rgba(255, 255, 255, 0.08)",backdropFilter:"blur(20px)",WebkitBackdropFilter:"blur(20px)",pointerEvents:"auto",zIndex:2147483645,cursor:"pointer",transition:"all 0.15s ease",display:"flex",alignItems:"center",justifyContent:"center",padding:0,opacity:0},children:[K.jsx("span",{style:{color:"#ffffff",fontWeight:700,fontSize:14,lineHeight:1,userSelect:"none"},children:"G"}),r>0&&K.jsx("span",{style:{position:"absolute",top:-4,right:-4,width:16,height:16,borderRadius:"50%",background:"rgb(99, 91, 255)",display:"flex",alignItems:"center",justifyContent:"center",color:"#ffffff",fontSize:10,fontWeight:700,lineHeight:1,userSelect:"none"},children:r})]}):null}const Tf=380,_d=12,cg=120;function sg({elementRect:m,elementLabel:a,elementTag:r,onAdd:i,onCancel:c}){const s=F.useRef(null),o=F.useRef(null),[h,p]=F.useState("fix");F.useEffect(()=>{const j=setTimeout(()=>{var L;(L=s.current)==null||L.focus()},50);return()=>clearTimeout(j)},[]);const y=F.useCallback(j=>{var L;if(j.key==="Escape")j.preventDefault(),c();else if(j.key==="Enter"){j.preventDefault();const Y=((L=s.current)==null?void 0:L.value.trim())??"";Y&&i((h==="explore"?"[explore] ":"")+Y)}},[i,c,h]),g=F.useCallback(()=>{var L;const j=((L=s.current)==null?void 0:L.value.trim())??"";j&&i((h==="explore"?"[explore] ":"")+j)},[i,h]),T=window.innerHeight-m.bottom<cg,S=m.left+m.width/2-Tf/2,M=Math.max(_d,Math.min(S,window.innerWidth-Tf-_d)),v=F.useCallback(j=>{j.stopPropagation()},[]),C=h==="fix"?"What would you like to fix?":"Describe the variations you want...";return K.jsxs("div",{ref:o,onClick:v,onMouseDown:v,style:{position:"fixed",top:T?void 0:m.bottom+12,bottom:T?window.innerHeight-m.top+12:void 0,left:M,width:Tf,background:"rgba(20, 20, 22, 0.95)",backdropFilter:"blur(20px)",WebkitBackdropFilter:"blur(20px)",borderRadius:14,boxShadow:"0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08)",padding:"6px",zIndex:2147483646,pointerEvents:"auto",display:"flex",flexDirection:"column",gap:6},children:[K.jsxs("div",{style:{display:"flex",alignItems:"center",gap:4,padding:"2px"},children:[K.jsxs("button",{onClick:()=>p("fix"),style:{display:"flex",alignItems:"center",gap:5,padding:"6px 14px",borderRadius:10,border:"none",background:h==="fix"?"#3B82F6":"transparent",color:h==="fix"?"#ffffff":"rgba(255,255,255,0.5)",fontSize:13,fontWeight:600,cursor:"pointer",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",transition:"all 0.15s ease"},children:[K.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:K.jsx("path",{d:"M6 1L7.5 4.5L11 6L7.5 7.5L6 11L4.5 7.5L1 6L4.5 4.5L6 1Z",fill:"currentColor"})}),"Fix"]}),K.jsx("button",{onClick:()=>p("explore"),style:{display:"flex",alignItems:"center",gap:5,padding:"6px 14px",borderRadius:10,border:"none",background:h==="explore"?"rgba(255,255,255,0.1)":"transparent",color:h==="explore"?"#ffffff":"rgba(255,255,255,0.5)",fontSize:13,fontWeight:500,cursor:"pointer",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",transition:"all 0.15s ease"},children:"Explore Variations"})]}),K.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,padding:"0 6px 4px 6px"},children:[K.jsx("input",{ref:s,onKeyDown:y,placeholder:C,style:{flex:1,background:"transparent",border:"none",color:"#ffffff",fontSize:14,fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",lineHeight:1.4,padding:"4px 0",outline:"none"}}),K.jsx("button",{onClick:g,style:{display:"flex",alignItems:"center",justifyContent:"center",width:28,height:28,borderRadius:"50%",border:"none",background:"#3B82F6",color:"#ffffff",cursor:"pointer",flexShrink:0,transition:"opacity 0.15s ease"},onMouseEnter:j=>{j.currentTarget.style.opacity="0.85"},onMouseLeave:j=>{j.currentTarget.style.opacity="1"},children:K.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:K.jsx("path",{d:"M7 2L7 12M7 2L3 6M7 2L11 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]})}function og({number:m,elementSelector:a}){const[r,i]=F.useState(null);return F.useEffect(()=>{function c(){const o=document.querySelector(a);if(!o)return null;const h=o.getBoundingClientRect();return{x:h.right-6,y:h.top-6}}i(c());function s(){i(c())}return window.addEventListener("scroll",s,!0),window.addEventListener("resize",s),()=>{window.removeEventListener("scroll",s,!0),window.removeEventListener("resize",s)}},[a]),r?K.jsx("div",{style:{position:"fixed",top:r.y,left:r.x,width:18,height:18,borderRadius:"50%",background:"#3B82F6",color:"#ffffff",fontSize:10,fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",zIndex:2147483644,pointerEvents:"none",boxShadow:"0 1px 4px rgba(0,0,0,0.5), 0 0 0 1.5px rgba(255,255,255,0.3)",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",userSelect:"none",transform:"translate(-50%, -50%)"},children:m}):null}function dg(m){const a=Object.keys(m).find(i=>i.startsWith("__reactFiber$")||i.startsWith("__reactInternalInstance$"));if(!a)return null;let r=m[a];for(;r;){const i=r.type;if(typeof i=="function"||typeof i=="object"&&i!==null){const c=i.displayName||i.name;if(c)return c}r=r.return}return null}function hg(m){const a=dg(m);if(a)return a;if(m.id)return`#${m.id}`;const r=Array.from(m.classList).filter(i=>!i.startsWith("__")&&i.length<30);return r.length>0?`.${r[0]}`:m.tagName.toLowerCase()}function vd(m){let a=m;for(;a;){if(a.id==="glyph-root")return!0;a=a.parentElement}return!1}function mg(m){const a=[];let r=m;for(;r&&r!==document.body&&r!==document.documentElement;){let i=r.tagName.toLowerCase();if(r.id){i+=`#${r.id}`,a.unshift(i);break}const c=Array.from(r.classList).filter(s=>!s.startsWith("__")&&s.length<30);if(c.length>0)i+=`.${c[0]}`;else{const s=r.parentElement;if(s){const o=Array.from(s.children).filter(h=>h.tagName===r.tagName);if(o.length>1){const h=o.indexOf(r)+1;i+=`:nth-child(${h})`}}}a.unshift(i),r=r.parentElement}return a.join(" > ")}function yg({active:m,variationLabel:a,annotations:r,onAnnotationAdd:i}){const[c,s]=F.useState(null),[o,h]=F.useState(null),[p,y]=F.useState(null),[g,b]=F.useState(""),[T,S]=F.useState(""),[M,v]=F.useState(!1),C=F.useRef(null),j=F.useCallback(()=>{o&&y(o.getBoundingClientRect())},[o]),L=F.useCallback(()=>{h(null),y(null),v(!1)},[]),Y=F.useCallback(W=>{if(!m||M)return;const lt=W.target;if(!lt||vd(lt)){s(null),C.current=null;return}const tt=lt.getBoundingClientRect();if(tt.width<8||tt.height<8){s(null),C.current=null;return}C.current=lt,s(lt===o?null:tt)},[m,o,M]),Z=F.useCallback(W=>{if(!m||M)return;const lt=W.target;if(!lt||vd(lt))return;const tt=lt.getBoundingClientRect();if(tt.width<8||tt.height<8)return;const ct=lt.tagName.toLowerCase();if(ct==="body"||ct==="html"||tt.width>=window.innerWidth*.9&&tt.height>=window.innerHeight*.9){o&&(W.preventDefault(),L());return}W.preventDefault(),W.stopPropagation(),h(lt),y(tt),b(hg(lt)),S(lt.tagName.toLowerCase()),s(null),v(!0)},[m,o,M,L]),q=F.useCallback(W=>{W.key==="Escape"&&o&&(W.preventDefault(),L())},[o,L]);F.useEffect(()=>{if(!m){s(null),h(null),y(null),v(!1);return}return document.addEventListener("mousemove",Y,!0),document.addEventListener("click",Z,!0),document.addEventListener("keydown",q),window.addEventListener("scroll",j,!0),window.addEventListener("resize",j),()=>{document.removeEventListener("mousemove",Y,!0),document.removeEventListener("click",Z,!0),document.removeEventListener("keydown",q),window.removeEventListener("scroll",j,!0),window.removeEventListener("resize",j)}},[m,Y,Z,q,j]);const J=F.useCallback(W=>{if(!o||!p)return;const lt=mg(o),tt=g,ct=T,St=o.outerHTML,rt={x:p.right-6,y:p.top-6};i({elementSelector:lt,elementLabel:tt,elementTag:ct,outerHTML:St,text:W,badgePosition:rt}),L()},[o,p,g,T,i,L]),V=F.useCallback(()=>{L()},[L]);if(!m)return null;const H=p||c,A=!!p;return K.jsxs(K.Fragment,{children:[H&&K.jsx("div",{style:{position:"fixed",top:H.top,left:H.left,width:H.width,height:H.height,border:"2px dashed #3B82F6",borderRadius:4,pointerEvents:"none",zIndex:2147483644,transition:A?"none":"all 0.05s ease-out"},children:K.jsx("div",{style:{position:"absolute",top:-5,right:-5,width:10,height:10,borderRadius:"50%",background:"#3B82F6",border:"2px solid #ffffff",pointerEvents:"none"}})}),A&&p&&!M&&K.jsx("div",{style:{position:"fixed",top:p.top+p.height/2,left:p.left+p.width/2,transform:"translate(-50%, -50%)",display:"flex",alignItems:"center",gap:6,pointerEvents:"none",zIndex:2147483644},children:K.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:4,padding:"4px 10px",borderRadius:6,background:"#3B82F6",color:"#ffffff",fontSize:12,fontWeight:500,fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",whiteSpace:"nowrap",userSelect:"none",pointerEvents:"none"},children:[g,K.jsx("span",{style:{opacity:.7},children:"·"}),K.jsx("span",{style:{opacity:.7},children:T})]})}),M&&p&&K.jsx(sg,{elementRect:p,elementLabel:g,elementTag:T,onAdd:J,onCancel:V}),r.map((W,lt)=>K.jsx(og,{number:lt+1,elementSelector:W.elementSelector},W.id))]})}function pg(){const{lastMessage:m,send:a}=Uy(),{state:r,variations:i,previewUrls:c,previewingId:s,implementedId:o,undoRedoMap:h,setState:p,handleMessage:y}=Ny(),g=jy(),[b,T]=F.useState(!0),[S,M]=F.useState(null);F.useEffect(()=>{if(!m)return;const{_glyphInboxSeq:N,...I}=m;if(y(I),I.type==="annotations:cleared"){const st=I.payload;st&&(g.clearAnnotations(st.variationId),(S==null?void 0:S.variationId)===st.variationId&&M(null))}},[m,y]);const v=F.useCallback(N=>{if(N==="original")return"Original";const I=i.find(ht=>ht.id===N);if(!I)return N;if(I.label)return I.label;const st=i.filter(ht=>ht.id!=="original").findIndex(ht=>ht.id===N);return String.fromCharCode(65+st)},[i]),C=N=>{console.log(`[Glyph] Action: preview variation ${N}`),a({type:"variation:preview",payload:{id:N}})},j=()=>{console.log("[Glyph] Action: implement"),a({type:"variation:implement",payload:{}})},L=()=>{console.log("[Glyph] Action: close panel"),p("hidden")},Y=N=>{console.log(`[Glyph] Action: undo ${N}`),a({type:"variation:undo",payload:{variationId:N}})},Z=N=>{console.log(`[Glyph] Action: redo ${N}`),a({type:"variation:redo",payload:{variationId:N}})},q=N=>{console.log(`[Glyph] Action: unbranch ${N}`),a({type:"variation:unbranch",payload:{childId:N}})},J=F.useCallback(N=>{s&&(g.addAnnotation(s,N),a({type:"annotation:add",payload:{variationId:s,annotation:{elementSelector:N.elementSelector,elementLabel:N.elementLabel,elementTag:N.elementTag,outerHTML:N.outerHTML,text:N.text,badgePosition:N.badgePosition}}}),a({type:"annotations:submit",payload:{variationId:s}}))},[s,g,a]),V=F.useCallback(N=>{if(!S)return;const I=S.variationId;g.removeAnnotation(I,N),a({type:"annotation:remove",payload:{variationId:I,annotationId:N}}),g.getCount(I)<=1&&M(null)},[S,g,a]),H=F.useCallback(()=>{if(!S)return;const N=S.variationId;g.setSubmitting(N,!0),a({type:"annotations:submit",payload:{variationId:N}})},[S,g,a]),A=F.useCallback(N=>{M({variationId:N,variationLabel:v(N)})},[v]),W=F.useCallback(()=>{M(null)},[]),lt={};for(const N of g.annotatedVariationIds)lt[N]=g.getCount(N);const tt=S?g.getAnnotations(S.variationId).map(N=>({id:N.id,elementLabel:N.elementLabel,elementSelector:N.elementSelector,text:N.text})):[],ct=S?g.isSubmitting(S.variationId):!1,St=s?g.getAnnotations(s).map(N=>({id:N.id,elementSelector:N.elementSelector})):[],rt=s?i.find(N=>N.id===s):null,U=(()=>{if(!rt)return null;if(rt.id==="original")return"Original";if(rt.label)return`Variation ${rt.label}${rt.brand?`: ${rt.brand}`:""}`;const N=i.filter(st=>st.id!=="original").findIndex(st=>st.id===rt.id);return`Variation ${String.fromCharCode(65+N)}${rt.brand?`: ${rt.brand}`:""}`})();return K.jsxs(K.Fragment,{children:[K.jsx(rg,{variations:i,previewUrls:c,previewingId:s,implementedId:o,onPreview:C,onImplement:j,onClose:L,visible:r==="panel",selectorEnabled:b,onToggleSelector:()=>T(N=>!N),undoRedoMap:h,onUndo:Y,onRedo:Z,onUnbranch:q,annotationCounts:lt,annotationScreen:S,annotationItems:tt,annotationSubmitting:ct,onAnnotationRemove:V,onAnnotationSubmitAll:H,onAnnotationScreenOpen:A,onAnnotationScreenClose:W}),K.jsx(yg,{active:r==="panel"&&b,variationLabel:U,annotations:St,onAnnotationAdd:J}),K.jsx(fg,{visible:r==="hidden"&&i.length>0,onClick:()=>p("panel"),variationCount:i.length})]})}const gg='@import"https://fonts.cdnfonts.com/css/clash-display";/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-zinc-200:oklch(92% .004 286.32);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-500:oklch(55.2% .016 285.938);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-medium:500;--radius-lg:.5rem;--radius-xl:.75rem;--ease-out:cubic-bezier(0, 0, .2, 1);--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.top-0{top:calc(var(--spacing) * 0)}.top-2{top:calc(var(--spacing) * 2)}.right-0{right:calc(var(--spacing) * 0)}.right-2{right:calc(var(--spacing) * 2)}.z-\\[1\\]{z-index:1}.z-\\[2\\]{z-index:2}.block{display:block}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.h-2\\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-7{height:calc(var(--spacing) * 7)}.h-32{height:calc(var(--spacing) * 32)}.h-40{height:calc(var(--spacing) * 40)}.h-screen{height:100vh}.w-2\\.5{width:calc(var(--spacing) * 2.5)}.w-3{width:calc(var(--spacing) * 3)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-7{width:calc(var(--spacing) * 7)}.w-full{width:100%}.flex-1{flex:1}.shrink-0{flex-shrink:0}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.cursor-pointer{cursor:pointer}.touch-manipulation{touch-action:manipulation}.resize{resize:both}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-2{gap:calc(var(--spacing) * 2)}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-t-xl{border-top-left-radius:var(--radius-xl);border-top-right-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.p-4{padding:calc(var(--spacing) * 4)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.text-center{text-align:center}.text-left{text-align:left}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.text-white{color:var(--color-white)}.text-zinc-200{color:var(--color-zinc-200)}.text-zinc-400{color:var(--color-zinc-400)}.text-zinc-500{color:var(--color-zinc-500)}.uppercase{text-transform:uppercase}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}@media(hover:hover){.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}.hover\\:bg-white\\/5:hover{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-white\\/5:hover{background-color:color-mix(in oklab,var(--color-white) 5%,transparent)}}.hover\\:bg-white\\/10:hover{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-white\\/10:hover{background-color:color-mix(in oklab,var(--color-white) 10%,transparent)}}.hover\\:text-zinc-200:hover{color:var(--color-zinc-200)}.hover\\:text-zinc-300:hover{color:var(--color-zinc-300)}.hover\\:opacity-90:hover{opacity:.9}}.disabled\\:opacity-30:disabled{opacity:.3}@media(hover:hover){.disabled\\:hover\\:bg-transparent:disabled:hover{background-color:#0000}.disabled\\:hover\\:text-zinc-400:disabled:hover{color:var(--color-zinc-400)}}}:host{all:initial;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-ease{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}';function bd(){if(document.getElementById("glyph-root")){console.log("[Glyph] Overlay already initialized");return}const m=document.createElement("div");if(m.id="glyph-root",m.style.cssText=["position:fixed","inset:0","width:100%","height:100%","pointer-events:none","z-index:2147483647"].join(";"),document.body.appendChild(m),!document.querySelector('link[href*="clash-display"]')){const s=document.createElement("link");s.rel="stylesheet",s.href="https://fonts.cdnfonts.com/css/clash-display",document.head.appendChild(s)}const a=m.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=gg,a.appendChild(r);const i=document.createElement("div");i.id="glyph-mount",i.style.cssText=["position:fixed","inset:0","width:100%","height:100%","pointer-events:none"].join(";"),a.appendChild(i),wy.createRoot(i).render(K.jsx(pg,{})),console.log("[Glyph] Overlay initialized")}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",bd):bd()})();
68
+ `})]})}function rg({variations:m,previewUrls:a,previewingId:r,implementedId:i,onPreview:c,onImplement:s,onClose:o,visible:h,selectorEnabled:p,onToggleSelector:y,undoRedoMap:g,onUndo:b,onRedo:T,onUnbranch:S,annotationCounts:A,annotationScreen:v,annotationItems:C,annotationSubmitting:j,onAnnotationRemove:L,onAnnotationSubmitAll:Y,onAnnotationScreenOpen:Z,onAnnotationScreenClose:q}){const J=W.useRef(null);W.useEffect(()=>{J.current&&(h?ni.to(J.current,{x:0,duration:.4,ease:"power3.out"}):ni.to(J.current,{x:"100%",duration:.3,ease:"power3.in"}))},[h]),W.useEffect(()=>{if(!h)return;const H=M=>{var $;const F=($=M.target)==null?void 0:$.tagName;F==="INPUT"||F==="TEXTAREA"||M.key==="Escape"&&(M.preventDefault(),v?q():o())};return window.addEventListener("keydown",H),()=>window.removeEventListener("keydown",H)},[h,o,v,q]);const V=H=>{const M=document.querySelector(H);if(!M)return;M.scrollIntoView({behavior:"smooth",block:"center"});const F=M,$=F.style.outline;F.style.outline="2px solid #3B82F6",setTimeout(()=>{F.style.outline=$},1e3)};return K.jsx("div",{ref:J,className:"fixed top-0 right-0 flex h-screen flex-col",style:{width:300,background:"rgba(24, 24, 27, 0.98)",backdropFilter:"blur(20px)",WebkitBackdropFilter:"blur(20px)",borderLeft:"1px solid rgba(255,255,255,0.08)",transform:"translateX(100%)",zIndex:2147483645,pointerEvents:"auto"},children:v?K.jsx(ug,{variationLabel:v.variationLabel,annotations:C,submitting:j,onRemove:L,onSubmitAll:Y,onBack:q,onScrollToElement:V}):K.jsxs(K.Fragment,{children:[K.jsxs("div",{className:"flex shrink-0 items-center justify-between border-b px-5 py-4",style:{borderColor:"rgba(255,255,255,0.06)"},children:[K.jsx("span",{style:{fontFamily:"'Clash Display', sans-serif",fontWeight:700,fontSize:16,letterSpacing:"-0.04em",color:"#ffffff",textTransform:"uppercase"},children:"GLYPH"}),K.jsxs("div",{className:"flex items-center gap-1",children:[K.jsx("button",{onClick:y,className:"flex h-7 w-7 items-center justify-center rounded-lg transition-colors hover:bg-white/5",title:p?"Disable element selector":"Enable element selector",style:{color:p?"#3B82F6":"rgb(161,161,170)"},children:K.jsx("svg",{className:"h-4 w-4",viewBox:"0 0 16 16",fill:"none",children:K.jsx("path",{d:"M2 2h4v2H4v2H2V2zM10 2h4v4h-2V4h-2V2zM2 10h2v2h2v2H2v-4zM12 12v-2h2v4h-4v-2h2z",fill:"currentColor"})})}),K.jsx("button",{onClick:o,className:"flex h-7 w-7 items-center justify-center rounded-lg text-zinc-400 transition-colors hover:bg-white/5 hover:text-zinc-200",children:K.jsx("svg",{className:"h-4 w-4",viewBox:"0 0 16 16",fill:"none",children:K.jsx("path",{d:"M4 4L12 12M12 4L4 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})]})]}),K.jsx("div",{className:"flex-1 space-y-3 overflow-y-auto p-4",children:m.length>0?m.map((H,M)=>{var ct,St,rt;const F=H.id==="original",$=F?0:((ct=m[0])==null?void 0:ct.id)==="original"?M:M+1,et=A[H.id]??0;return H.label?H.label:F||(()=>{const U=m.filter(N=>N.id!=="original").findIndex(N=>N.id===H.id);return`Variation ${String.fromCharCode(65+U)}`})(),K.jsxs("div",{style:{position:"relative"},children:[K.jsx(ig,{variationId:H.id,previewUrl:a[H.id]??"",index:$,isPreviewing:H.id===r,isImplemented:H.id===i,isOriginal:F,brand:H.brand,label:H.label,isBranch:!!H.parentId,onUnbranch:()=>S(H.id),onClick:()=>{c(H.id),et>0&&Z(H.id)},undoDepth:((St=g[H.id])==null?void 0:St.undo)??0,redoDepth:((rt=g[H.id])==null?void 0:rt.redo)??0,onUndo:()=>b(H.id),onRedo:()=>T(H.id)}),et>0&&K.jsx("button",{onClick:U=>{U.stopPropagation(),Z(H.id)},title:`${et} annotation${et!==1?"s":""}`,style:{position:"absolute",top:0,left:0,width:20,height:20,borderRadius:"50%",background:"#3B82F6",color:"#ffffff",fontSize:10,fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",border:"none",cursor:"pointer",zIndex:10,fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",lineHeight:1,padding:0},children:et})]},H.id)}):K.jsx("div",{className:"flex h-40 items-center justify-center text-sm text-zinc-500",children:"Waiting for variations..."})}),K.jsx("div",{className:"shrink-0 border-t px-4 py-3",style:{borderColor:"rgba(255,255,255,0.06)"},children:r?K.jsx("button",{onClick:s,className:"w-full rounded-lg px-4 py-2.5 text-sm font-medium transition-colors hover:opacity-90",style:{background:"#ffffff",color:"#000000"},children:(()=>{const H=m.findIndex(et=>et.id===r),M=m[H];if(!M||M.id==="original")return"Implement Original →";const F=m.filter(et=>et.id!=="original").findIndex(et=>et.id===r);return`Implement Variation ${String.fromCharCode(65+F)} →`})()}):K.jsx("span",{className:"block text-center text-xs text-zinc-400",children:"Click a variation to preview"})})]})})}function fg({visible:m,onClick:a,variationCount:r}){const i=W.useRef(null);return W.useEffect(()=>{i.current&&(m?ni.fromTo(i.current,{opacity:0,y:8},{opacity:1,y:0,duration:.3,ease:"power2.out"}):ni.to(i.current,{opacity:0,y:8,duration:.2,ease:"power2.in"}))},[m]),m?K.jsxs("button",{ref:i,type:"button",onClick:a,onMouseEnter:c=>{c.currentTarget.style.borderColor="rgba(255, 255, 255, 0.2)",c.currentTarget.style.transform="scale(1.05)"},onMouseLeave:c=>{c.currentTarget.style.borderColor="rgba(255, 255, 255, 0.08)",c.currentTarget.style.transform="scale(1)"},style:{position:"fixed",bottom:16,right:16,width:36,height:36,borderRadius:"50%",background:"rgba(24, 24, 27, 0.85)",border:"1px solid rgba(255, 255, 255, 0.08)",backdropFilter:"blur(20px)",WebkitBackdropFilter:"blur(20px)",pointerEvents:"auto",zIndex:2147483645,cursor:"pointer",transition:"all 0.15s ease",display:"flex",alignItems:"center",justifyContent:"center",padding:0,opacity:0},children:[K.jsx("span",{style:{color:"#ffffff",fontWeight:700,fontSize:14,lineHeight:1,userSelect:"none"},children:"G"}),r>0&&K.jsx("span",{style:{position:"absolute",top:-4,right:-4,width:16,height:16,borderRadius:"50%",background:"rgb(99, 91, 255)",display:"flex",alignItems:"center",justifyContent:"center",color:"#ffffff",fontSize:10,fontWeight:700,lineHeight:1,userSelect:"none"},children:r})]}):null}const Tf=380,_d=12,cg=120;function sg({elementRect:m,elementLabel:a,elementTag:r,onAdd:i,onCancel:c}){const s=W.useRef(null),o=W.useRef(null),[h,p]=W.useState("fix");W.useEffect(()=>{const j=setTimeout(()=>{var L;(L=s.current)==null||L.focus()},50);return()=>clearTimeout(j)},[]);const y=W.useCallback(j=>{var L;if(j.key==="Escape")j.preventDefault(),c();else if(j.key==="Enter"){j.preventDefault();const Y=((L=s.current)==null?void 0:L.value.trim())??"";Y&&i((h==="explore"?"[explore] ":"")+Y)}},[i,c,h]),g=W.useCallback(()=>{var L;const j=((L=s.current)==null?void 0:L.value.trim())??"";j&&i((h==="explore"?"[explore] ":"")+j)},[i,h]),T=window.innerHeight-m.bottom<cg,S=m.left+m.width/2-Tf/2,A=Math.max(_d,Math.min(S,window.innerWidth-Tf-_d)),v=W.useCallback(j=>{j.stopPropagation()},[]),C=h==="fix"?"What would you like to fix?":"Describe the variations you want...";return K.jsxs("div",{ref:o,onClick:v,onMouseDown:v,style:{position:"fixed",top:T?void 0:m.bottom+12,bottom:T?window.innerHeight-m.top+12:void 0,left:A,width:Tf,background:"rgba(20, 20, 22, 0.95)",backdropFilter:"blur(20px)",WebkitBackdropFilter:"blur(20px)",borderRadius:14,boxShadow:"0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08)",padding:"6px",zIndex:2147483646,pointerEvents:"auto",display:"flex",flexDirection:"column",gap:6},children:[K.jsxs("div",{style:{display:"flex",alignItems:"center",gap:4,padding:"2px"},children:[K.jsxs("button",{onClick:()=>p("fix"),style:{display:"flex",alignItems:"center",gap:5,padding:"6px 14px",borderRadius:10,border:"none",background:h==="fix"?"#3B82F6":"transparent",color:h==="fix"?"#ffffff":"rgba(255,255,255,0.5)",fontSize:13,fontWeight:600,cursor:"pointer",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",transition:"all 0.15s ease"},children:[K.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:K.jsx("path",{d:"M6 1L7.5 4.5L11 6L7.5 7.5L6 11L4.5 7.5L1 6L4.5 4.5L6 1Z",fill:"currentColor"})}),"Fix"]}),K.jsx("button",{onClick:()=>p("explore"),style:{display:"flex",alignItems:"center",gap:5,padding:"6px 14px",borderRadius:10,border:"none",background:h==="explore"?"rgba(255,255,255,0.1)":"transparent",color:h==="explore"?"#ffffff":"rgba(255,255,255,0.5)",fontSize:13,fontWeight:500,cursor:"pointer",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",transition:"all 0.15s ease"},children:"Explore Variations"})]}),K.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,padding:"0 6px 4px 6px"},children:[K.jsx("input",{ref:s,onKeyDown:y,placeholder:C,style:{flex:1,background:"transparent",border:"none",color:"#ffffff",fontSize:14,fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",lineHeight:1.4,padding:"4px 0",outline:"none"}}),K.jsx("button",{onClick:g,style:{display:"flex",alignItems:"center",justifyContent:"center",width:28,height:28,borderRadius:"50%",border:"none",background:"#3B82F6",color:"#ffffff",cursor:"pointer",flexShrink:0,transition:"opacity 0.15s ease"},onMouseEnter:j=>{j.currentTarget.style.opacity="0.85"},onMouseLeave:j=>{j.currentTarget.style.opacity="1"},children:K.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:K.jsx("path",{d:"M7 2L7 12M7 2L3 6M7 2L11 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]})}function og({number:m,elementSelector:a}){const[r,i]=W.useState(null);return W.useEffect(()=>{function c(){const o=document.querySelector(a);if(!o)return null;const h=o.getBoundingClientRect();return{x:h.right-6,y:h.top-6}}i(c());function s(){i(c())}return window.addEventListener("scroll",s,!0),window.addEventListener("resize",s),()=>{window.removeEventListener("scroll",s,!0),window.removeEventListener("resize",s)}},[a]),r?K.jsx("div",{style:{position:"fixed",top:r.y,left:r.x,width:18,height:18,borderRadius:"50%",background:"#3B82F6",color:"#ffffff",fontSize:10,fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",zIndex:2147483644,pointerEvents:"none",boxShadow:"0 1px 4px rgba(0,0,0,0.5), 0 0 0 1.5px rgba(255,255,255,0.3)",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",userSelect:"none",transform:"translate(-50%, -50%)"},children:m}):null}function dg(m){const a=Object.keys(m).find(i=>i.startsWith("__reactFiber$")||i.startsWith("__reactInternalInstance$"));if(!a)return null;let r=m[a];for(;r;){const i=r.type;if(typeof i=="function"||typeof i=="object"&&i!==null){const c=i.displayName||i.name;if(c)return c}r=r.return}return null}function hg(m){const a=dg(m);if(a)return a;if(m.id)return`#${m.id}`;const r=Array.from(m.classList).filter(i=>!i.startsWith("__")&&i.length<30);return r.length>0?`.${r[0]}`:m.tagName.toLowerCase()}function vd(m){let a=m;for(;a;){if(a.id==="glyph-root")return!0;a=a.parentElement}return!1}function mg(m){const a=[];let r=m;for(;r&&r!==document.body&&r!==document.documentElement;){let i=r.tagName.toLowerCase();if(r.id){i+=`#${r.id}`,a.unshift(i);break}const c=Array.from(r.classList).filter(s=>!s.startsWith("__")&&s.length<30);if(c.length>0)i+=`.${c[0]}`;else{const s=r.parentElement;if(s){const o=Array.from(s.children).filter(h=>h.tagName===r.tagName);if(o.length>1){const h=o.indexOf(r)+1;i+=`:nth-child(${h})`}}}a.unshift(i),r=r.parentElement}return a.join(" > ")}function yg({active:m,variationLabel:a,annotations:r,onAnnotationAdd:i}){const[c,s]=W.useState(null),[o,h]=W.useState(null),[p,y]=W.useState(null),[g,b]=W.useState(""),[T,S]=W.useState(""),[A,v]=W.useState(!1),C=W.useRef(null),j=W.useCallback(()=>{o&&y(o.getBoundingClientRect())},[o]),L=W.useCallback(()=>{h(null),y(null),v(!1)},[]),Y=W.useCallback(F=>{if(!m||A)return;const $=F.target;if(!$||vd($)){s(null),C.current=null;return}const et=$.getBoundingClientRect();if(et.width<8||et.height<8){s(null),C.current=null;return}C.current=$,s($===o?null:et)},[m,o,A]),Z=W.useCallback(F=>{if(!m||A)return;const $=F.target;if(!$||vd($))return;const et=$.getBoundingClientRect();if(et.width<8||et.height<8)return;const ct=$.tagName.toLowerCase();if(ct==="body"||ct==="html"||et.width>=window.innerWidth*.9&&et.height>=window.innerHeight*.9){o&&(F.preventDefault(),L());return}F.preventDefault(),F.stopPropagation(),h($),y(et),b(hg($)),S($.tagName.toLowerCase()),s(null),v(!0)},[m,o,A,L]),q=W.useCallback(F=>{F.key==="Escape"&&o&&(F.preventDefault(),L())},[o,L]);W.useEffect(()=>{if(!m){s(null),h(null),y(null),v(!1);return}return document.addEventListener("mousemove",Y,!0),document.addEventListener("click",Z,!0),document.addEventListener("keydown",q),window.addEventListener("scroll",j,!0),window.addEventListener("resize",j),()=>{document.removeEventListener("mousemove",Y,!0),document.removeEventListener("click",Z,!0),document.removeEventListener("keydown",q),window.removeEventListener("scroll",j,!0),window.removeEventListener("resize",j)}},[m,Y,Z,q,j]);const J=W.useCallback(F=>{if(!o||!p)return;const $=mg(o),et=g,ct=T,St=o.outerHTML,rt={x:p.right-6,y:p.top-6};i({elementSelector:$,elementLabel:et,elementTag:ct,outerHTML:St,text:F,badgePosition:rt}),L()},[o,p,g,T,i,L]),V=W.useCallback(()=>{L()},[L]);if(!m)return null;const H=p||c,M=!!p;return K.jsxs(K.Fragment,{children:[H&&K.jsx("div",{style:{position:"fixed",top:H.top,left:H.left,width:H.width,height:H.height,border:"2px dashed #3B82F6",borderRadius:4,pointerEvents:"none",zIndex:2147483644,transition:M?"none":"all 0.05s ease-out"},children:K.jsx("div",{style:{position:"absolute",top:-5,right:-5,width:10,height:10,borderRadius:"50%",background:"#3B82F6",border:"2px solid #ffffff",pointerEvents:"none"}})}),M&&p&&!A&&K.jsx("div",{style:{position:"fixed",top:p.top+p.height/2,left:p.left+p.width/2,transform:"translate(-50%, -50%)",display:"flex",alignItems:"center",gap:6,pointerEvents:"none",zIndex:2147483644},children:K.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:4,padding:"4px 10px",borderRadius:6,background:"#3B82F6",color:"#ffffff",fontSize:12,fontWeight:500,fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",whiteSpace:"nowrap",userSelect:"none",pointerEvents:"none"},children:[g,K.jsx("span",{style:{opacity:.7},children:"·"}),K.jsx("span",{style:{opacity:.7},children:T})]})}),A&&p&&K.jsx(sg,{elementRect:p,elementLabel:g,elementTag:T,onAdd:J,onCancel:V}),r.map((F,$)=>K.jsx(og,{number:$+1,elementSelector:F.elementSelector},F.id))]})}function pg(){const{lastMessage:m,send:a}=Uy(),{state:r,variations:i,previewUrls:c,previewingId:s,implementedId:o,undoRedoMap:h,setState:p,handleMessage:y}=Ny(),g=jy(),[b,T]=W.useState(!0),[S,A]=W.useState(null);W.useEffect(()=>{if(!m)return;const{_glyphInboxSeq:N,...P}=m;if(y(P),P.type==="annotations:cleared"){const st=P.payload;st&&(g.clearAnnotations(st.variationId),(S==null?void 0:S.variationId)===st.variationId&&A(null))}},[m,y]);const v=W.useCallback(N=>{if(N==="original")return"Original";const P=i.find(ht=>ht.id===N);if(!P)return N;if(P.label)return P.label;const st=i.filter(ht=>ht.id!=="original").findIndex(ht=>ht.id===N);return String.fromCharCode(65+st)},[i]),C=N=>{console.log(`[Glyph] Action: preview variation ${N}`),a({type:"variation:preview",payload:{id:N}})},j=()=>{console.log("[Glyph] Action: implement"),a({type:"variation:implement",payload:{}})},L=()=>{console.log("[Glyph] Action: close panel"),p("hidden")},Y=N=>{console.log(`[Glyph] Action: undo ${N}`),a({type:"variation:undo",payload:{variationId:N}})},Z=N=>{console.log(`[Glyph] Action: redo ${N}`),a({type:"variation:redo",payload:{variationId:N}})},q=N=>{console.log(`[Glyph] Action: unbranch ${N}`),a({type:"variation:unbranch",payload:{childId:N}})},J=W.useCallback(N=>{s&&(g.addAnnotation(s,N),a({type:"annotation:add",payload:{variationId:s,annotation:{elementSelector:N.elementSelector,elementLabel:N.elementLabel,elementTag:N.elementTag,outerHTML:N.outerHTML,text:N.text,badgePosition:N.badgePosition}}}),a({type:"annotations:submit",payload:{variationId:s}}))},[s,g,a]),V=W.useCallback(N=>{if(!S)return;const P=S.variationId;g.removeAnnotation(P,N),a({type:"annotation:remove",payload:{variationId:P,annotationId:N}}),g.getCount(P)<=1&&A(null)},[S,g,a]),H=W.useCallback(()=>{if(!S)return;const N=S.variationId;g.setSubmitting(N,!0),a({type:"annotations:submit",payload:{variationId:N}})},[S,g,a]),M=W.useCallback(N=>{A({variationId:N,variationLabel:v(N)})},[v]),F=W.useCallback(()=>{A(null)},[]),$={};for(const N of g.annotatedVariationIds)$[N]=g.getCount(N);const et=S?g.getAnnotations(S.variationId).map(N=>({id:N.id,elementLabel:N.elementLabel,elementSelector:N.elementSelector,text:N.text})):[],ct=S?g.isSubmitting(S.variationId):!1,St=s?g.getAnnotations(s).map(N=>({id:N.id,elementSelector:N.elementSelector})):[],rt=s?i.find(N=>N.id===s):null,U=(()=>{if(!rt)return null;if(rt.id==="original")return"Original";if(rt.label)return`Variation ${rt.label}${rt.brand?`: ${rt.brand}`:""}`;const N=i.filter(st=>st.id!=="original").findIndex(st=>st.id===rt.id);return`Variation ${String.fromCharCode(65+N)}${rt.brand?`: ${rt.brand}`:""}`})();return K.jsxs(K.Fragment,{children:[K.jsx(rg,{variations:i,previewUrls:c,previewingId:s,implementedId:o,onPreview:C,onImplement:j,onClose:L,visible:r==="panel",selectorEnabled:b,onToggleSelector:()=>T(N=>!N),undoRedoMap:h,onUndo:Y,onRedo:Z,onUnbranch:q,annotationCounts:$,annotationScreen:S,annotationItems:et,annotationSubmitting:ct,onAnnotationRemove:V,onAnnotationSubmitAll:H,onAnnotationScreenOpen:M,onAnnotationScreenClose:F}),K.jsx(yg,{active:r==="panel"&&b,variationLabel:U,annotations:St,onAnnotationAdd:J}),K.jsx(fg,{visible:r==="hidden"&&i.length>0,onClick:()=>p("panel"),variationCount:i.length})]})}const gg='@import"https://fonts.cdnfonts.com/css/clash-display";/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-zinc-200:oklch(92% .004 286.32);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-500:oklch(55.2% .016 285.938);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-medium:500;--radius-lg:.5rem;--radius-xl:.75rem;--ease-out:cubic-bezier(0, 0, .2, 1);--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.top-0{top:calc(var(--spacing) * 0)}.top-2{top:calc(var(--spacing) * 2)}.right-0{right:calc(var(--spacing) * 0)}.right-2{right:calc(var(--spacing) * 2)}.z-\\[1\\]{z-index:1}.z-\\[2\\]{z-index:2}.block{display:block}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.h-2\\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-7{height:calc(var(--spacing) * 7)}.h-32{height:calc(var(--spacing) * 32)}.h-40{height:calc(var(--spacing) * 40)}.h-screen{height:100vh}.w-2\\.5{width:calc(var(--spacing) * 2.5)}.w-3{width:calc(var(--spacing) * 3)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-7{width:calc(var(--spacing) * 7)}.w-full{width:100%}.flex-1{flex:1}.shrink-0{flex-shrink:0}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.cursor-pointer{cursor:pointer}.touch-manipulation{touch-action:manipulation}.resize{resize:both}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-2{gap:calc(var(--spacing) * 2)}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-t-xl{border-top-left-radius:var(--radius-xl);border-top-right-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.p-4{padding:calc(var(--spacing) * 4)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.text-center{text-align:center}.text-left{text-align:left}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.text-white{color:var(--color-white)}.text-zinc-200{color:var(--color-zinc-200)}.text-zinc-400{color:var(--color-zinc-400)}.text-zinc-500{color:var(--color-zinc-500)}.uppercase{text-transform:uppercase}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}@media(hover:hover){.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}.hover\\:bg-white\\/5:hover{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-white\\/5:hover{background-color:color-mix(in oklab,var(--color-white) 5%,transparent)}}.hover\\:bg-white\\/10:hover{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-white\\/10:hover{background-color:color-mix(in oklab,var(--color-white) 10%,transparent)}}.hover\\:text-zinc-200:hover{color:var(--color-zinc-200)}.hover\\:text-zinc-300:hover{color:var(--color-zinc-300)}.hover\\:opacity-90:hover{opacity:.9}}.disabled\\:opacity-30:disabled{opacity:.3}@media(hover:hover){.disabled\\:hover\\:bg-transparent:disabled:hover{background-color:#0000}.disabled\\:hover\\:text-zinc-400:disabled:hover{color:var(--color-zinc-400)}}}:host{all:initial;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-ease{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}';function bd(){if(document.getElementById("glyph-root")){console.log("[Glyph] Overlay already initialized");return}const m=document.createElement("div");if(m.id="glyph-root",m.style.cssText=["position:fixed","inset:0","width:100%","height:100%","pointer-events:none","z-index:2147483647"].join(";"),document.body.appendChild(m),!document.querySelector('link[href*="clash-display"]')){const s=document.createElement("link");s.rel="stylesheet",s.href="https://fonts.cdnfonts.com/css/clash-display",document.head.appendChild(s)}const a=m.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=gg,a.appendChild(r);const i=document.createElement("div");i.id="glyph-mount",i.style.cssText=["position:fixed","inset:0","width:100%","height:100%","pointer-events:none"].join(";"),a.appendChild(i),wy.createRoot(i).render(K.jsx(pg,{})),console.log("[Glyph] Overlay initialized")}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",bd):bd()})();