PageSourceSearch

https://www.brianyang.com/assets/index-c3236fd8.js

js brianyang.com collected 2026-10-06 13:54:27 UTC 439,047 bytes, 48 lines download raw bytes

vendor: 4,610 bytes, lines 1-9
1function fg(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function Vf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var zf={exports:{}},is={},Ff={exports:{}},O={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var xi=Symbol.for("react.element"),pg=Symbol.for("react.portal"),mg=Symbol.for("react.fragment"),hg=Symbol.for("react.strict_mode"),gg=Symbol.for("react.profiler"),vg=Symbol.for("react.provider"),yg=Symbol.for("react.context"),xg=Symbol.for("react.forward_ref"),wg=Symbol.for("react.suspense"),Sg=Symbol.for("react.memo"),kg=Symbol.for("react.lazy"),iu=Symbol.iterator;function bg(e){return e===null||typeof e!="object"?null:(e=iu&&e[iu]||e["@@iterator"],typeof e=="function"?e:null)}var Of={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_f=Object.assign,Bf={};function gr(e,t,n){this.props=e,this.context=t,this.refs=Bf,this.updater=n||Of}gr.prototype.isReactComponent={};gr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};gr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Hf(){}Hf.prototype=gr.prototype;function zl(e,t,n){this.props=e,this.context=t,this.refs=Bf,this.updater=n||Of}var Fl=zl.prototype=new Hf;Fl.constructor=zl;_f(Fl,gr.prototype);Fl.isPureReactComponent=!0;var ou=Array.isArray,Uf=Object.prototype.hasOwnProperty,Ol={current:null},Wf={key:!0,ref:!0,__self:!0,__source:!0};function $f(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)Uf.call(t,r)&&!Wf.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),c=0;c<a;c++)l[c]=arguments[c+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:xi,type:e,key:o,ref:s,props:i,_owner:Ol.current}}function Cg(e,t){return{$$typeof:xi,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function _l(e){return typeof e=="object"&&e!==null&&e.$$typeof===xi}function Pg(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var su=/\/+/g;function Ls(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Pg(""+e.key):t.toString(36)}function so(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case xi:case pg:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+Ls(s,0):r,ou(i)?(n="",e!=null&&(n=e.replace(su,"$&/")+"/"),so(i,t,n,"",function(c){return c})):i!=null&&(_l(i)&&(i=Cg(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(su,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",ou(e))for(var a=0;a<e.length;a++){o=e[a];var l=r+Ls(o,a);s+=so(o,t,n,l,i)}else if(l=bg(e),typeof l=="function")for(e=l.call(e),a=0;!(o=e.next()).done;)o=o.value,l=r+Ls(o,a++),s+=so(o,t,n,l,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}
vendor: 10,053 bytes, lines 9-33
9function Ai(e,t,n){if(e==null)return e;var r=[],i=0;return so(e,r,"","",function(o){return t.call(n,o,i++)}),r}function Ng(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ae={current:null},ao={transition:null},Tg={ReactCurrentDispatcher:Ae,ReactCurrentBatchConfig:ao,ReactCurrentOwner:Ol};function Gf(){throw Error("act(...) is not supported in production builds of React.")}O.Children={map:Ai,forEach:function(e,t,n){Ai(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ai(e,function(){t++}),t},toArray:function(e){return Ai(e,function(t){return t})||[]},only:function(e){if(!_l(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};O.Component=gr;O.Fragment=mg;O.Profiler=gg;O.PureComponent=zl;O.StrictMode=hg;O.Suspense=wg;O.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Tg;O.act=Gf;O.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=_f({},e.props),i=e.key,o=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,s=Ol.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Uf.call(t,l)&&!Wf.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var c=0;c<l;c++)a[c]=arguments[c+2];r.children=a}return{$$typeof:xi,type:e.type,key:i,ref:o,props:r,_owner:s}};O.createContext=function(e){return e={$$typeof:yg,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:vg,_context:e},e.Consumer=e};O.createElement=$f;O.createFactory=function(e){var t=$f.bind(null,e);return t.type=e,t};O.createRef=function(){return{current:null}};O.forwardRef=function(e){return{$$typeof:xg,render:e}};O.isValidElement=_l;O.lazy=function(e){return{$$typeof:kg,_payload:{_status:-1,_result:e},_init:Ng}};O.memo=function(e,t){return{$$typeof:Sg,type:e,compare:t===void 0?null:t}};O.startTransition=function(e){var t=ao.transition;ao.transition={};try{e()}finally{ao.transition=t}};O.unstable_act=Gf;O.useCallback=function(e,t){return Ae.current.useCallback(e,t)};O.useContext=function(e){return Ae.current.useContext(e)};O.useDebugValue=function(){};O.useDeferredValue=function(e){return Ae.current.useDeferredValue(e)};O.useEffect=function(e,t){return Ae.current.useEffect(e,t)};O.useId=function(){return Ae.current.useId()};O.useImperativeHandle=function(e,t,n){return Ae.current.useImperativeHandle(e,t,n)};O.useInsertionEffect=function(e,t){return Ae.current.useInsertionEffect(e,t)};O.useLayoutEffect=function(e,t){return Ae.current.useLayoutEffect(e,t)};O.useMemo=function(e,t){return Ae.current.useMemo(e,t)};O.useReducer=function(e,t,n){return Ae.current.useReducer(e,t,n)};O.useRef=function(e){return Ae.current.useRef(e)};O.useState=function(e){return Ae.current.useState(e)};O.useSyncExternalStore=function(e,t,n){return Ae.current.useSyncExternalStore(e,t,n)};O.useTransition=function(){return Ae.current.useTransition()};O.version="18.3.1";Ff.exports=O;var w=Ff.exports;const Z=Vf(w),jg=fg({__proto__:null,default:Z},[w]);/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var Eg=w,Ag=Symbol.for("react.element"),Mg=Symbol.for("react.fragment"),Lg=Object.prototype.hasOwnProperty,Dg=Eg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Rg={key:!0,ref:!0,__self:!0,__source:!0};function Yf(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)Lg.call(t,r)&&!Rg.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Ag,type:e,key:o,ref:s,props:i,_owner:Dg.current}}is.Fragment=Mg;is.jsx=Yf;is.jsxs=Yf;zf.exports=is;var u=zf.exports,wa={},Kf={exports:{}},Ge={},Jf={exports:{}},Qf={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */(function(e){function t(j,D){var F=j.length;j.push(D);e:for(;0<F;){var R=F-1>>>1,H=j[R];if(0<i(H,D))j[R]=D,j[F]=H,F=R;else break e}}function n(j){return j.length===0?null:j[0]}function r(j){if(j.length===0)return null;var D=j[0],F=j.pop();if(F!==D){j[0]=F;e:for(var R=0,H=j.length,Y=H>>>1;R<Y;){var Fe=2*(R+1)-1,zn=j[Fe],Oe=Fe+1,cn=j[Oe];if(0>i(zn,F))Oe<H&&0>i(cn,zn)?(j[R]=cn,j[Oe]=F,R=Oe):(j[R]=zn,j[Fe]=F,R=Fe);else if(Oe<H&&0>i(cn,F))j[R]=cn,j[Oe]=F,R=Oe;else break e}}return D}function i(j,D){var F=j.sortIndex-D.sortIndex;return F!==0?F:j.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],c=[],d=1,f=null,p=3,v=!1,x=!1,y=!1,k=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(j){for(var D=n(c);D!==null;){if(D.callback===null)r(c);else if(D.startTime<=j)r(c),D.sortIndex=D.expirationTime,t(l,D);else break;D=n(c)}}function S(j){if(y=!1,g(j),!x)if(n(l)!==null)x=!0,B(b);else{var D=n(c);D!==null&&ue(S,D.startTime-j)}}function b(j,D){x=!1,y&&(y=!1,h(N),N=-1),v=!0;var F=p;try{for(g(D),f=n(l);f!==null&&(!(f.expirationTime>D)||j&&!W());){var R=f.callback;if(typeof R=="function"){f.callback=null,p=f.priorityLevel;var H=R(f.expirationTime<=D);D=e.unstable_now(),typeof H=="function"?f.callback=H:f===n(l)&&r(l),g(D)}else r(l);f=n(l)}if(f!==null)var Y=!0;else{var Fe=n(c);Fe!==null&&ue(S,Fe.startTime-D),Y=!1}return Y}finally{f=null,p=F,v=!1}}var P=!1,C=null,N=-1,A=5,M=-1;function W(){return!(e.unstable_now()-M<A)}function V(){if(C!==null){var j=e.unstable_now();M=j;var D=!0;try{D=C(!0,j)}finally{D?re():(P=!1,C=null)}}else P=!1}var re;if(typeof m=="function")re=function(){m(V)};else if(typeof MessageChannel<"u"){var L=new MessageChannel,te=L.port2;L.port1.onmessage=V,re=function(){te.postMessage(null)}}else re=function(){k(V,0)};function B(j){C=j,P||(P=!0,re())}function ue(j,D){N=k(function(){j(e.unstable_now())},D)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(j){j.callback=null},e.unstable_continueExecution=function(){x||v||(x=!0,B(b))},e.unstable_forceFrameRate=function(j){0>j||125<j?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<j?Math.floor(1e3/j):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(j){switch(p){case 1:case 2:case 3:var D=3;break;default:D=p}var F=p;p=D;try{return j()}finally{p=F}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(j,D){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var F=p;p=j;try{return D()}finally{p=F}},e.unstable_scheduleCallback=function(j,D,F){var R=e.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?R+F:R):F=R,j){case 1:var H=-1;break;case 2:H=250;break;case 5:H=1073741823;break;case 4:H=1e4;break;default:H=5e3}return H=F+H,j={id:d++,callback:D,priorityLevel:j,startTime:F,expirationTime:H,sortIndex:-1},F>R?(j.sortIndex=F,t(c,j),n(l)===null&&j===n(c)&&(y?(h(N),N=-1):y=!0,ue(S,F-R))):(j.sortIndex=H,t(l,j),x||v||(x=!0,B(b))),j},e.unstable_shouldYield=W,e.unstable_wrapCallback=function(j){var D=p;return function(){var F=p;p=D;try{return j.apply(this,arguments)}finally{p=F}}}})(Qf);Jf.exports=Qf;var Ig=Jf.exports;/**
26 * @license React
27 * react-dom.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var Vg=w,We=Ig;function T(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Xf=new Set,Qr={};function Mn(e,t){ar(e,t),ar(e+"Capture",t)}function ar(e,t){for(Qr[e]=t,e=0;e<t.length;e++)Xf.add(t[e])}var Tt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Sa=Object.prototype.hasOwnProperty,zg=/^[: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]*$/,au={},lu={};function Fg(e){return Sa.call(lu,e)?!0:Sa.call(au,e)?!1:zg.test(e)?lu[e]=!0:(au[e]=!0,!1)}function Og(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function _g(e,t,n,r){if(t===null||typeof t>"u"||Og(e,t,n,r))return!0;
vendor: 5,200 bytes, lines 33-34
33if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Me(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var we={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){we[e]=new Me(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];we[t]=new Me(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){we[e]=new Me(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){we[e]=new Me(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){we[e]=new Me(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){we[e]=new Me(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){we[e]=new Me(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){we[e]=new Me(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){we[e]=new Me(e,5,!1,e.toLowerCase(),null,!1,!1)});var Bl=/[\-:]([a-z])/g;function Hl(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Bl,Hl);we[t]=new Me(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Bl,Hl);we[t]=new Me(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Bl,Hl);we[t]=new Me(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){we[e]=new Me(e,1,!1,e.toLowerCase(),null,!1,!1)});we.xlinkHref=new Me("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){we[e]=new Me(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ul(e,t,n,r){var i=we.hasOwnProperty(t)?we[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(_g(t,n,i,r)&&(n=null),r||i===null?Fg(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Lt=Vg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Mi=Symbol.for("react.element"),On=Symbol.for("react.portal"),_n=Symbol.for("react.fragment"),Wl=Symbol.for("react.strict_mode"),ka=Symbol.for("react.profiler"),Zf=Symbol.for("react.provider"),qf=Symbol.for("react.context"),$l=Symbol.for("react.forward_ref"),ba=Symbol.for("react.suspense"),Ca=Symbol.for("react.suspense_list"),Gl=Symbol.for("react.memo"),Vt=Symbol.for("react.lazy"),ep=Symbol.for("react.offscreen"),cu=Symbol.iterator;function xr(e){return e===null||typeof e!="object"?null:(e=cu&&e[cu]||e["@@iterator"],typeof e=="function"?e:null)}var ae=Object.assign,Ds;function Mr(e){if(Ds===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ds=t&&t[1]||""}return`
34`+Ds+e}var Rs=!1;function Is(e,t){if(!e||Rs)return"";Rs=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}
vendor: 5,497 bytes, lines 34-37
34catch(c){if(c&&r&&typeof c.stack=="string"){for(var i=c.stack.split(`
35`),o=r.stack.split(`
36`),s=i.length-1,a=o.length-1;1<=s&&0<=a&&i[s]!==o[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==o[a]){if(s!==1||a!==1)do if(s--,a--,0>a||i[s]!==o[a]){var l=`
37`+i[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Rs=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Mr(e):""}function Bg(e){switch(e.tag){case 5:return Mr(e.type);case 16:return Mr("Lazy");case 13:return Mr("Suspense");case 19:return Mr("SuspenseList");case 0:case 2:case 15:return e=Is(e.type,!1),e;case 11:return e=Is(e.type.render,!1),e;case 1:return e=Is(e.type,!0),e;default:return""}}function Pa(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case _n:return"Fragment";case On:return"Portal";case ka:return"Profiler";case Wl:return"StrictMode";case ba:return"Suspense";case Ca:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case qf:return(e.displayName||"Context")+".Consumer";case Zf:return(e._context.displayName||"Context")+".Provider";case $l:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Gl:return t=e.displayName||null,t!==null?t:Pa(e.type)||"Memo";case Vt:t=e._payload,e=e._init;try{return Pa(e(t))}catch{}}return null}function Hg(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Pa(t);case 8:return t===Wl?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function en(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function tp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ug(e){var t=tp(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Li(e){e._valueTracker||(e._valueTracker=Ug(e))}function np(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=tp(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ko(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Na(e,t){var n=t.checked;return ae({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function uu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=en(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function rp(e,t){t=t.checked,t!=null&&Ul(e,"checked",t,!1)}function Ta(e,t){rp(e,t);var n=en(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ja(e,t.type,n):t.hasOwnProperty("defaultValue")&&ja(e,t.type,en(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function du(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function ja(e,t,n){(t!=="number"||ko(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Lr=Array.isArray;function tr(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+en(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Ea(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(T(91));return ae({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function fu(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(T(92));
vendor: 11,254 bytes, line 37
37if(Lr(n)){if(1<n.length)throw Error(T(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:en(n)}}function ip(e,t){var n=en(t.value),r=en(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function pu(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function op(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Aa(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?op(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Di,sp=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Di=Di||document.createElement("div"),Di.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Di.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Xr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Vr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Wg=["Webkit","ms","Moz","O"];Object.keys(Vr).forEach(function(e){Wg.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Vr[t]=Vr[e]})});function ap(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Vr.hasOwnProperty(e)&&Vr[e]?(""+t).trim():t+"px"}function lp(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=ap(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var $g=ae({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ma(e,t){if(t){if($g[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(T(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(T(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(T(61))}if(t.style!=null&&typeof t.style!="object")throw Error(T(62))}}function La(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Da=null;function Yl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ra=null,nr=null,rr=null;function mu(e){if(e=ki(e)){if(typeof Ra!="function")throw Error(T(280));var t=e.stateNode;t&&(t=cs(t),Ra(e.stateNode,e.type,t))}}function cp(e){nr?rr?rr.push(e):rr=[e]:nr=e}function up(){if(nr){var e=nr,t=rr;if(rr=nr=null,mu(e),t)for(e=0;e<t.length;e++)mu(t[e])}}function dp(e,t){return e(t)}function fp(){}var Vs=!1;function pp(e,t,n){if(Vs)return e(t,n);Vs=!0;try{return dp(e,t,n)}finally{Vs=!1,(nr!==null||rr!==null)&&(fp(),up())}}function Zr(e,t){var n=e.stateNode;if(n===null)return null;var r=cs(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(T(231,t,typeof n));return n}var Ia=!1;if(Tt)try{var wr={};Object.defineProperty(wr,"passive",{get:function(){Ia=!0}}),window.addEventListener("test",wr,wr),window.removeEventListener("test",wr,wr)}catch{Ia=!1}function Gg(e,t,n,r,i,o,s,a,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(d){this.onError(d)}}var zr=!1,bo=null,Co=!1,Va=null,Yg={onError:function(e){zr=!0,bo=e}};function Kg(e,t,n,r,i,o,s,a,l){zr=!1,bo=null,Gg.apply(Yg,arguments)}function Jg(e,t,n,r,i,o,s,a,l){if(Kg.apply(this,arguments),zr){if(zr){var c=bo;zr=!1,bo=null}else throw Error(T(198));Co||(Co=!0,Va=c)}}function Ln(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function mp(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function hu(e){if(Ln(e)!==e)throw Error(T(188))}function Qg(e){var t=e.alternate;if(!t){if(t=Ln(e),t===null)throw Error(T(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return hu(i),e;if(o===r)return hu(i),t;o=o.sibling}throw Error(T(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s){for(a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s)throw Error(T(189))}}if(n.alternate!==r)throw Error(T(190))}if(n.tag!==3)throw Error(T(188));return n.stateNode.current===n?e:t}function hp(e){return e=Qg(e),e!==null?gp(e):null}function gp(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=gp(e);if(t!==null)return t;e=e.sibling}return null}var vp=We.unstable_scheduleCallback,gu=We.unstable_cancelCallback,Xg=We.unstable_shouldYield,Zg=We.unstable_requestPaint,de=We.unstable_now,qg=We.unstable_getCurrentPriorityLevel,Kl=We.unstable_ImmediatePriority,yp=We.unstable_UserBlockingPriority,Po=We.unstable_NormalPriority,e1=We.unstable_LowPriority,xp=We.unstable_IdlePriority,os=null,mt=null;function t1(e){if(mt&&typeof mt.onCommitFiberRoot=="function")try{mt.onCommitFiberRoot(os,e,void 0,(e.current.flags&128)===128)}catch{}}var lt=Math.clz32?Math.clz32:i1,n1=Math.log,r1=Math.LN2;function i1(e){return e>>>=0,e===0?32:31-(n1(e)/r1|0)|0}var Ri=64,Ii=4194304;function Dr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function No(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=Dr(a):(o&=s,o!==0&&(r=Dr(o)))}else s=n&~i,s!==0?r=Dr(s):o!==0&&(r=Dr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-lt(t),i=1<<n,r|=e[n],t&=~i;return r}function o1(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function s1(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-lt(o),a=1<<s,l=i[s];l===-1?(!(a&n)||a&r)&&(i[s]=o1(a,t)):l<=t&&(e.expiredLanes|=a),o&=~a}}function za(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function wp(){var e=Ri;return Ri<<=1,!(Ri&4194240)&&(Ri=64),e}function zs(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function wi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-lt(t),e[t]=n}function a1(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-lt(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function Jl(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-lt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var $=0;function Sp(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var kp,Ql,bp,Cp,Pp,Fa=!1,Vi=[],Wt=null,$t=null,Gt=null,qr=new Map,ei=new Map,Ot=[],l1="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function vu(e,t){switch(e){case"focusin":case"focusout":Wt=null;break;case"dragenter":case"dragleave":$t=null;break;case"mouseover":case"mouseout":Gt=null;break;case"pointerover":case"pointerout":qr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ei.delete(t.pointerId)}}function Sr(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=ki(t),t!==null&&Ql(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function c1(e,t,n,r,i){switch(t){case"focusin":return Wt=Sr(Wt,e,t,n,r,i),!0;case"dragenter":return $t=Sr($t,e,t,n,r,i),!0;case"mouseover":return Gt=Sr(Gt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return qr.set(o,Sr(qr.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,ei.set(o,Sr(ei.get(o)||null,e,t,n,r,i)),!0}return!1}function Np(e){var t=vn(e.target);if(t!==null){var n=Ln(t);if(n!==null){if(t=n.tag,t===13){if(t=mp(n),t!==null){e.blockedOn=t,Pp(e.priority,function(){bp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function lo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Oa(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Da=r,n.target.dispatchEvent(r),Da=null}else return t=ki(n),t!==null&&Ql(t),e.blockedOn=n,!1;t.shift()}return!0}function yu(e,t,n){lo(e)&&n.delete(t)}function u1(){Fa=!1,Wt!==null&&lo(Wt)&&(Wt=null),$t!==null&&lo($t)&&($t=null),Gt!==null&&lo(Gt)&&(Gt=null),qr.forEach(yu),ei.forEac
vendor: 5,792 bytes, line 37
37h(yu)}function kr(e,t){e.blockedOn===t&&(e.blockedOn=null,Fa||(Fa=!0,We.unstable_scheduleCallback(We.unstable_NormalPriority,u1)))}function ti(e){function t(i){return kr(i,e)}if(0<Vi.length){kr(Vi[0],e);for(var n=1;n<Vi.length;n++){var r=Vi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Wt!==null&&kr(Wt,e),$t!==null&&kr($t,e),Gt!==null&&kr(Gt,e),qr.forEach(t),ei.forEach(t),n=0;n<Ot.length;n++)r=Ot[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Ot.length&&(n=Ot[0],n.blockedOn===null);)Np(n),n.blockedOn===null&&Ot.shift()}var ir=Lt.ReactCurrentBatchConfig,To=!0;function d1(e,t,n,r){var i=$,o=ir.transition;ir.transition=null;try{$=1,Xl(e,t,n,r)}finally{$=i,ir.transition=o}}function f1(e,t,n,r){var i=$,o=ir.transition;ir.transition=null;try{$=4,Xl(e,t,n,r)}finally{$=i,ir.transition=o}}function Xl(e,t,n,r){if(To){var i=Oa(e,t,n,r);if(i===null)Ys(e,t,r,jo,n),vu(e,r);else if(c1(i,e,t,n,r))r.stopPropagation();else if(vu(e,r),t&4&&-1<l1.indexOf(e)){for(;i!==null;){var o=ki(i);if(o!==null&&kp(o),o=Oa(e,t,n,r),o===null&&Ys(e,t,r,jo,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else Ys(e,t,r,null,n)}}var jo=null;function Oa(e,t,n,r){if(jo=null,e=Yl(r),e=vn(e),e!==null)if(t=Ln(e),t===null)e=null;else if(n=t.tag,n===13){if(e=mp(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return jo=e,null}function Tp(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(qg()){case Kl:return 1;case yp:return 4;case Po:case e1:return 16;case xp:return 536870912;default:return 16}default:return 16}}var Bt=null,Zl=null,co=null;function jp(){if(co)return co;var e,t=Zl,n=t.length,r,i="value"in Bt?Bt.value:Bt.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[o-r];r++);return co=i.slice(e,1<r?1-r:void 0)}function uo(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function zi(){return!0}function xu(){return!1}function Ye(e){function t(n,r,i,o,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?zi:xu,this.isPropagationStopped=xu,this}return ae(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=zi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=zi)},persist:function(){},isPersistent:zi}),t}var vr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ql=Ye(vr),Si=ae({},vr,{view:0,detail:0}),p1=Ye(Si),Fs,Os,br,ss=ae({},Si,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ec,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==br&&(br&&e.type==="mousemove"?(Fs=e.screenX-br.screenX,Os=e.screenY-br.screenY):Os=Fs=0,br=e),Fs)},movementY:function(e){return"movementY"in e?e.movementY:Os}}),wu=Ye(ss),m1=ae({},ss,{dataTransfer:0}),h1=Ye(m1),g1=ae({},Si,{relatedTarget:0}),_s=Ye(g1),v1=ae({},vr,{animationName:0,elapsedTime:0,pseudoElement:0}),y1=Ye(v1),x1=ae({},vr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),w1=Ye(x1),S1=ae({},vr,{data:0}),Su=Ye(S1),k1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},b1={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"},C1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function P1(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=C1[e])?!!t[e]:!1}function ec(){return P1}var N1=ae({},Si,{key:function(e){if(e.key){var t=k1[e.key]||e.key;if(t!=="Unidentified")return t}
vendor: 6,048 bytes, line 37
37return e.type==="keypress"?(e=uo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?b1[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ec,charCode:function(e){return e.type==="keypress"?uo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?uo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),T1=Ye(N1),j1=ae({},ss,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ku=Ye(j1),E1=ae({},Si,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ec}),A1=Ye(E1),M1=ae({},vr,{propertyName:0,elapsedTime:0,pseudoElement:0}),L1=Ye(M1),D1=ae({},ss,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),R1=Ye(D1),I1=[9,13,27,32],tc=Tt&&"CompositionEvent"in window,Fr=null;Tt&&"documentMode"in document&&(Fr=document.documentMode);var V1=Tt&&"TextEvent"in window&&!Fr,Ep=Tt&&(!tc||Fr&&8<Fr&&11>=Fr),bu=String.fromCharCode(32),Cu=!1;function Ap(e,t){switch(e){case"keyup":return I1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Mp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Bn=!1;function z1(e,t){switch(e){case"compositionend":return Mp(t);case"keypress":return t.which!==32?null:(Cu=!0,bu);case"textInput":return e=t.data,e===bu&&Cu?null:e;default:return null}}function F1(e,t){if(Bn)return e==="compositionend"||!tc&&Ap(e,t)?(e=jp(),co=Zl=Bt=null,Bn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Ep&&t.locale!=="ko"?null:t.data;default:return null}}var O1={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 Pu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!O1[e.type]:t==="textarea"}function Lp(e,t,n,r){cp(r),t=Eo(t,"onChange"),0<t.length&&(n=new ql("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Or=null,ni=null;function _1(e){Up(e,0)}function as(e){var t=Wn(e);if(np(t))return e}function B1(e,t){if(e==="change")return t}var Dp=!1;if(Tt){var Bs;if(Tt){var Hs="oninput"in document;if(!Hs){var Nu=document.createElement("div");Nu.setAttribute("oninput","return;"),Hs=typeof Nu.oninput=="function"}Bs=Hs}else Bs=!1;Dp=Bs&&(!document.documentMode||9<document.documentMode)}function Tu(){Or&&(Or.detachEvent("onpropertychange",Rp),ni=Or=null)}function Rp(e){if(e.propertyName==="value"&&as(ni)){var t=[];Lp(t,ni,e,Yl(e)),pp(_1,t)}}function H1(e,t,n){e==="focusin"?(Tu(),Or=t,ni=n,Or.attachEvent("onpropertychange",Rp)):e==="focusout"&&Tu()}function U1(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return as(ni)}function W1(e,t){if(e==="click")return as(t)}function $1(e,t){if(e==="input"||e==="change")return as(t)}function G1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ut=typeof Object.is=="function"?Object.is:G1;function ri(e,t){if(ut(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Sa.call(t,i)||!ut(e[i],t[i]))return!1}return!0}function ju(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Eu(e,t){var n=ju(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=ju(n)}}function Ip(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ip(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Vp(){for(var e=window,t=ko();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ko(e.document)}return t}function nc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Y1(e){var t=Vp(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ip(n.ownerDocument.documentElement,n)){if(r!==null&&nc(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Eu(n,o);var s=Eu(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var K1=Tt&&"documentMode"in document&&11>=document.documentMode,Hn=null,_a=null,_r=null,Ba=!1;function Au(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ba||Hn==null||Hn!==ko(r)||(r=Hn,"selectionStart"in r&&nc(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,500 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),_r&&ri(_r,r)||(_r=r,r=Eo(_a,"onSelect"),0<r.length&&(t=new ql("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Hn)))}function Fi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Un={animationend:Fi("Animation","AnimationEnd"),animationiteration:Fi("Animation","AnimationIteration"),animationstart:Fi("Animation","AnimationStart"),transitionend:Fi("Transition","TransitionEnd")},Us={},zp={};Tt&&(zp=document.createElement("div").style,"AnimationEvent"in window||(delete Un.animationend.animation,delete Un.animationiteration.animation,delete Un.animationstart.animation),"TransitionEvent"in window||delete Un.transitionend.transition);function ls(e){if(Us[e])return Us[e];if(!Un[e])return e;var t=Un[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in zp)return Us[e]=t[n];return e}var Fp=ls("animationend"),Op=ls("animationiteration"),_p=ls("animationstart"),Bp=ls("transitionend"),Hp=new Map,Mu="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function on(e,t){Hp.set(e,t),Mn(t,[e])}for(var Ws=0;Ws<Mu.length;Ws++){var $s=Mu[Ws],J1=$s.toLowerCase(),Q1=$s[0].toUpperCase()+$s.slice(1);on(J1,"on"+Q1)}on(Fp,"onAnimationEnd");on(Op,"onAnimationIteration");on(_p,"onAnimationStart");on("dblclick","onDoubleClick");on("focusin","onFocus");on("focusout","onBlur");on(Bp,"onTransitionEnd");ar("onMouseEnter",["mouseout","mouseover"]);ar("onMouseLeave",["mouseout","mouseover"]);ar("onPointerEnter",["pointerout","pointerover"]);ar("onPointerLeave",["pointerout","pointerover"]);Mn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Mn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Mn("onBeforeInput",["compositionend","keypress","textInput","paste"]);Mn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Mn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Mn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Rr="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(" "),X1=new Set("cancel close invalid load scroll toggle".split(" ").concat(Rr));function Lu(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Jg(r,t,void 0,e),e.currentTarget=null}function Up(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,c=a.currentTarget;if(a=a.listener,l!==o&&i.isPropagationStopped())break e;Lu(i,a,c),o=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,c=a.currentTarget,a=a.listener,l!==o&&i.isPropagationStopped())break e;Lu(i,a,c),o=l}}}if(Co)throw e=Va,Co=!1,Va=null,e}function X(e,t){var n=t[Ga];n===void 0&&(n=t[Ga]=new Set);var r=e+"__bubble";n.has(r)||(Wp(t,e,2,!1),n.add(r))}function Gs(e,t,n){var r=0;t&&(r|=4),Wp(n,e,r,t)}var Oi="_reactListening"+Math.random().toString(36).slice(2);function ii(e){if(!e[Oi]){e[Oi]=!0,Xf.forEach(function(n){n!=="selectionchange"&&(X1.has(n)||Gs(n,!1,e),Gs(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Oi]||(t[Oi]=!0,Gs("selectionchange",!1,t))}}function Wp(e,t,n,r){switch(Tp(t)){case 1:var i=d1;break;case 4:i=f1;break;default:i=Xl}n=i.bind(null,t,n,e),i=void 0,!Ia||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Ys(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;
vendor: 3,813 bytes, line 37
37if(a===i||a.nodeType===8&&a.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;s=s.return}for(;a!==null;){if(s=vn(a),s===null)return;if(l=s.tag,l===5||l===6){r=o=s;continue e}a=a.parentNode}}r=r.return}pp(function(){var c=o,d=Yl(n),f=[];e:{var p=Hp.get(e);if(p!==void 0){var v=ql,x=e;switch(e){case"keypress":if(uo(n)===0)break e;case"keydown":case"keyup":v=T1;break;case"focusin":x="focus",v=_s;break;case"focusout":x="blur",v=_s;break;case"beforeblur":case"afterblur":v=_s;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":v=wu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=h1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=A1;break;case Fp:case Op:case _p:v=y1;break;case Bp:v=L1;break;case"scroll":v=p1;break;case"wheel":v=R1;break;case"copy":case"cut":case"paste":v=w1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=ku}var y=(t&4)!==0,k=!y&&e==="scroll",h=y?p!==null?p+"Capture":null:p;y=[];for(var m=c,g;m!==null;){g=m;var S=g.stateNode;if(g.tag===5&&S!==null&&(g=S,h!==null&&(S=Zr(m,h),S!=null&&y.push(oi(m,S,g)))),k)break;m=m.return}0<y.length&&(p=new v(p,x,null,n,d),f.push({event:p,listeners:y}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",v=e==="mouseout"||e==="pointerout",p&&n!==Da&&(x=n.relatedTarget||n.fromElement)&&(vn(x)||x[jt]))break e;if((v||p)&&(p=d.window===d?d:(p=d.ownerDocument)?p.defaultView||p.parentWindow:window,v?(x=n.relatedTarget||n.toElement,v=c,x=x?vn(x):null,x!==null&&(k=Ln(x),x!==k||x.tag!==5&&x.tag!==6)&&(x=null)):(v=null,x=c),v!==x)){if(y=wu,S="onMouseLeave",h="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(y=ku,S="onPointerLeave",h="onPointerEnter",m="pointer"),k=v==null?p:Wn(v),g=x==null?p:Wn(x),p=new y(S,m+"leave",v,n,d),p.target=k,p.relatedTarget=g,S=null,vn(d)===c&&(y=new y(h,m+"enter",x,n,d),y.target=g,y.relatedTarget=k,S=y),k=S,v&&x)t:{for(y=v,h=x,m=0,g=y;g;g=Fn(g))m++;for(g=0,S=h;S;S=Fn(S))g++;for(;0<m-g;)y=Fn(y),m--;for(;0<g-m;)h=Fn(h),g--;for(;m--;){if(y===h||h!==null&&y===h.alternate)break t;y=Fn(y),h=Fn(h)}y=null}else y=null;v!==null&&Du(f,p,v,y,!1),x!==null&&k!==null&&Du(f,k,x,y,!0)}}e:{if(p=c?Wn(c):window,v=p.nodeName&&p.nodeName.toLowerCase(),v==="select"||v==="input"&&p.type==="file")var b=B1;else if(Pu(p))if(Dp)b=$1;else{b=U1;var P=H1}else(v=p.nodeName)&&v.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(b=W1);if(b&&(b=b(e,c))){Lp(f,b,n,d);break e}P&&P(e,p,c),e==="focusout"&&(P=p._wrapperState)&&P.controlled&&p.type==="number"&&ja(p,"number",p.value)}switch(P=c?Wn(c):window,e){case"focusin":(Pu(P)||P.contentEditable==="true")&&(Hn=P,_a=c,_r=null);break;case"focusout":_r=_a=Hn=null;break;case"mousedown":Ba=!0;break;case"contextmenu":case"mouseup":case"dragend":Ba=!1,Au(f,n,d);break;case"selectionchange":if(K1)break;case"keydown":case"keyup":Au(f,n,d)}var C;if(tc)e:{switch(e){case"compositionstart":var N="onCompositionStart";break e;case"compositionend":N="onCompositionEnd";break e;case"compositionupdate":N="onCompositionUpdate";break e}N=void 0}else Bn?Ap(e,n)&&(N="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(N="onCompositionStart");N&&(Ep&&n.locale!=="ko"&&(Bn||N!=="onCompositionStart"?N==="onCompositionEnd"&&Bn&&(C=jp()):(Bt=d,Zl="value"in Bt?Bt.value:Bt.textContent,Bn=!0)),P=Eo(c,N),0<P.length&&(N=new Su(N,e,null,n,d),f.push({event:N,listeners:P}),C?N.data=C:(C=Mp(n),C!==null&&(N.data=C)))),(C=V1?z1(e,n):F1(e,n))&&
vendor: 5,070 bytes, lines 37-38
37(c=Eo(c,"onBeforeInput"),0<c.length&&(d=new Su("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:c}),d.data=C))}Up(f,t)})}function oi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Eo(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Zr(e,n),o!=null&&r.unshift(oi(e,o,i)),o=Zr(e,t),o!=null&&r.push(oi(e,o,i))),e=e.return}return r}function Fn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Du(e,t,n,r,i){for(var o=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,c=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&c!==null&&(a=c,i?(l=Zr(n,o),l!=null&&s.unshift(oi(n,l,a))):i||(l=Zr(n,o),l!=null&&s.push(oi(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var Z1=/\r\n?/g,q1=/\u0000|\uFFFD/g;function Ru(e){return(typeof e=="string"?e:""+e).replace(Z1,`
38`).replace(q1,"")}function _i(e,t,n){if(t=Ru(t),Ru(e)!==t&&n)throw Error(T(425))}function Ao(){}var Ha=null,Ua=null;function Wa(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var $a=typeof setTimeout=="function"?setTimeout:void 0,ev=typeof clearTimeout=="function"?clearTimeout:void 0,Iu=typeof Promise=="function"?Promise:void 0,tv=typeof queueMicrotask=="function"?queueMicrotask:typeof Iu<"u"?function(e){return Iu.resolve(null).then(e).catch(nv)}:$a;function nv(e){setTimeout(function(){throw e})}function Ks(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),ti(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);ti(t)}function Yt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Vu(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var yr=Math.random().toString(36).slice(2),pt="__reactFiber$"+yr,si="__reactProps$"+yr,jt="__reactContainer$"+yr,Ga="__reactEvents$"+yr,rv="__reactListeners$"+yr,iv="__reactHandles$"+yr;function vn(e){var t=e[pt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[jt]||n[pt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Vu(e);e!==null;){if(n=e[pt])return n;e=Vu(e)}return t}e=n,n=e.parentNode}return null}function ki(e){return e=e[pt]||e[jt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Wn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(T(33))}function cs(e){return e[si]||null}var Ya=[],$n=-1;function sn(e){return{current:e}}function q(e){0>$n||(e.current=Ya[$n],Ya[$n]=null,$n--)}function K(e,t){$n++,Ya[$n]=e.current,e.current=t}var tn={},Pe=sn(tn),Re=sn(!1),Cn=tn;function lr(e,t){var n=e.type.contextTypes;if(!n)return tn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ie(e){return e=e.childContextTypes,e!=null}function Mo(){q(Re),q(Pe)}function zu(e,t,n){if(Pe.current!==tn)throw Error(T(168));K(Pe,t),K(Re,n)}function $p(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(T(108,Hg(e)||"Unknown",i));return ae({},n,r)}function Lo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||tn,Cn=Pe.current,K(Pe,e),K(Re,Re.current),!0}function Fu(e,t,n){var r=e.stateNode;if(!r)throw Error(T(169));n?(e=$p(e,t,Cn),r.__reactInternalMemoizedMergedChildContext=e,q(Re),q(Pe),K(Pe,e)):q(Re),K(Re,n)}var xt=null,us=!1,Js=!1;function Gp(e){xt===null?xt=[e]:xt.push(e)}function ov(e){us=!0,Gp(e)}function an(){if(!Js&&xt!==null){Js=!0;var e=0,t=$;try{var n=xt;for($=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}xt=null,us=!1}catch(i){throw xt!==null&&(xt=xt.slice(e+1)),vp(Kl,an),i}finally{$=t,Js=!1}}return null}var Gn=[],Yn=0,Do=null,Ro=0,Qe=[],Xe=0,Pn=null,wt=1,St="";function fn(e,t){Gn[Yn++]=Ro,Gn[Yn++]=Do,Do=e,Ro=t}function Yp(e,t,n){Qe[Xe++]=wt,Qe[Xe++]=St,Qe[Xe++]=Pn,Pn=e;var r=wt;e=St;var i=32-lt(r)-1;r&=~(1<<i),n+=1;var o=32-lt(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,wt=1<<32-lt(t)+i|n<<i|r,St=o+e}else wt=1<<o|n<<i|r,St=e}function rc(e){e.return!==null&&(fn(e,1),Yp(e,1,0))}function ic(e){for(;e===Do;)Do=Gn[--Yn],Gn[Yn]=null,Ro=Gn[--Yn],Gn[Yn]=null;for(;e===Pn;)Pn=Qe[--Xe],Qe[Xe]=null,St=Qe[--Xe],Qe[Xe]=null,wt=Qe[--Xe],Qe[Xe]=null}var Ue=null,He=null,ne=!1,st=null;function Kp(e,t){var n=Ze(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Ou(e,t){switch(e.tag){case 5:var n=e.type;
vendor: 5,249 bytes, line 38
38return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ue=e,He=Yt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ue=e,He=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Pn!==null?{id:wt,overflow:St}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ze(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ue=e,He=null,!0):!1;default:return!1}}function Ka(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ja(e){if(ne){var t=He;if(t){var n=t;if(!Ou(e,t)){if(Ka(e))throw Error(T(418));t=Yt(n.nextSibling);var r=Ue;t&&Ou(e,t)?Kp(r,n):(e.flags=e.flags&-4097|2,ne=!1,Ue=e)}}else{if(Ka(e))throw Error(T(418));e.flags=e.flags&-4097|2,ne=!1,Ue=e}}}function _u(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ue=e}function Bi(e){if(e!==Ue)return!1;if(!ne)return _u(e),ne=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Wa(e.type,e.memoizedProps)),t&&(t=He)){if(Ka(e))throw Jp(),Error(T(418));for(;t;)Kp(e,t),t=Yt(t.nextSibling)}if(_u(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(T(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){He=Yt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}He=null}}else He=Ue?Yt(e.stateNode.nextSibling):null;return!0}function Jp(){for(var e=He;e;)e=Yt(e.nextSibling)}function cr(){He=Ue=null,ne=!1}function oc(e){st===null?st=[e]:st.push(e)}var sv=Lt.ReactCurrentBatchConfig;function Cr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(T(309));var r=n.stateNode}if(!r)throw Error(T(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(s){var a=i.refs;s===null?delete a[o]:a[o]=s},t._stringRef=o,t)}if(typeof e!="string")throw Error(T(284));if(!n._owner)throw Error(T(290,e))}return e}function Hi(e,t){throw e=Object.prototype.toString.call(t),Error(T(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Bu(e){var t=e._init;return t(e._payload)}function Qp(e){function t(h,m){if(e){var g=h.deletions;g===null?(h.deletions=[m],h.flags|=16):g.push(m)}}function n(h,m){if(!e)return null;for(;m!==null;)t(h,m),m=m.sibling;return null}function r(h,m){for(h=new Map;m!==null;)m.key!==null?h.set(m.key,m):h.set(m.index,m),m=m.sibling;return h}function i(h,m){return h=Xt(h,m),h.index=0,h.sibling=null,h}function o(h,m,g){return h.index=g,e?(g=h.alternate,g!==null?(g=g.index,g<m?(h.flags|=2,m):g):(h.flags|=2,m)):(h.flags|=1048576,m)}function s(h){return e&&h.alternate===null&&(h.flags|=2),h}function a(h,m,g,S){return m===null||m.tag!==6?(m=na(g,h.mode,S),m.return=h,m):(m=i(m,g),m.return=h,m)}function l(h,m,g,S){var b=g.type;return b===_n?d(h,m,g.props.children,S,g.key):m!==null&&(m.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===Vt&&Bu(b)===m.type)?(S=i(m,g.props),S.ref=Cr(h,m,g),S.return=h,S):(S=yo(g.type,g.key,g.props,null,h.mode,S),S.ref=Cr(h,m,g),S.return=h,S)}function c(h,m,g,S){return m===null||m.tag!==4||m.stateNode.containerInfo!==g.containerInfo||m.stateNode.implementation!==g.implementation?(m=ra(g,h.mode,S),m.return=h,m):(m=i(m,g.children||[]),m.return=h,m)}function d(h,m,g,S,b){return m===null||m.tag!==7?(m=bn(g,h.mode,S,b),m.return=h,m):(m=i(m,g),m.return=h,m)}function f(h,m,g){if(typeof m=="string"&&m!==""||typeof m=="number")return m=na(""+m,h.mode,g),m.return=h,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Mi:return g=yo(m.type,m.key,m.props,null,h.mode,g),g.ref=Cr(h,null,m),g.return=h,g;case On:return m=ra(m,h.mode,g),m.return=h,m;case Vt:var S=m._init;return f(h,S(m._payload),g)}if(Lr(m)||xr(m))return m=bn(m,h.mode,g,null),m.return=h,m;Hi(h,m)}return null}function p(h,m,g,S){var b=m!==null?m.key:null;if(typeof g=="string"&&g!==""||typeof g=="number")return b!==null?null:a(h,m,""+g,S);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Mi:return g.key===b?l(h,m,g,S):null;case On:return g.key===b?c(h,m,g,S):null;case Vt:return b=g._init,p(h,m,b(g._payload),S)}if(Lr(g)||xr(g))return b!==null?null:d(h,m,g,S,null);Hi(h,g)}return null}function v(h,m,g,S,b){if(typeof S=="string"&&S!==""||typeof S=="number")return h=h.get(g)||null,a(m,h,""+S,b);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Mi:return h=h.get(S.key===null?g:S.key)||null,l(m,h,S,b);case On:return h=h.get(S.key===null?g:S.key)||null,c(m,h,S,b);case Vt:var P=S._init;return v(h,m,g,P(S._payload),b)}if(Lr(S)||xr(S))return h=h.get(g)||null,d(m,h,S,b,null);Hi(m,S)}return null}function x(h,m,g,S){for(var b=null,P=null,C=m,N=m=0,A=null;C!==null&&N<g.length;N++){C.index>N?(A=C,C=null):A=C.sibling;var M=p(h,C,g[N],S);if(M===null){C===null&&(C=A);break}e&&C&&M.alternate===null&&t(h,C),m=o(M,m,N),P===null?b=M:P.sibling=M,P=M,C=A}if(N===g.length)return n(h,C),ne&&fn(h,N),b;if(C===null){for(;N<g.length;N++)C=f(h,g[N],S),C!==null&&(m=o(C,m,N),P===null?b=C:P.sibling=C,P=C);return ne&&fn(h,N),b}for(C=r(h,C);N<g.length;N++)A=v(C,h,N,g[N],S),A!==null&&(e&&A.alternate!==null&&C.delete(A.key===null?N:A.ke
vendor: 5,996 bytes, line 38
38y),m=o(A,m,N),P===null?b=A:P.sibling=A,P=A);return e&&C.forEach(function(W){return t(h,W)}),ne&&fn(h,N),b}function y(h,m,g,S){var b=xr(g);if(typeof b!="function")throw Error(T(150));if(g=b.call(g),g==null)throw Error(T(151));for(var P=b=null,C=m,N=m=0,A=null,M=g.next();C!==null&&!M.done;N++,M=g.next()){C.index>N?(A=C,C=null):A=C.sibling;var W=p(h,C,M.value,S);if(W===null){C===null&&(C=A);break}e&&C&&W.alternate===null&&t(h,C),m=o(W,m,N),P===null?b=W:P.sibling=W,P=W,C=A}if(M.done)return n(h,C),ne&&fn(h,N),b;if(C===null){for(;!M.done;N++,M=g.next())M=f(h,M.value,S),M!==null&&(m=o(M,m,N),P===null?b=M:P.sibling=M,P=M);return ne&&fn(h,N),b}for(C=r(h,C);!M.done;N++,M=g.next())M=v(C,h,N,M.value,S),M!==null&&(e&&M.alternate!==null&&C.delete(M.key===null?N:M.key),m=o(M,m,N),P===null?b=M:P.sibling=M,P=M);return e&&C.forEach(function(V){return t(h,V)}),ne&&fn(h,N),b}function k(h,m,g,S){if(typeof g=="object"&&g!==null&&g.type===_n&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Mi:e:{for(var b=g.key,P=m;P!==null;){if(P.key===b){if(b=g.type,b===_n){if(P.tag===7){n(h,P.sibling),m=i(P,g.props.children),m.return=h,h=m;break e}}else if(P.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===Vt&&Bu(b)===P.type){n(h,P.sibling),m=i(P,g.props),m.ref=Cr(h,P,g),m.return=h,h=m;break e}n(h,P);break}else t(h,P);P=P.sibling}g.type===_n?(m=bn(g.props.children,h.mode,S,g.key),m.return=h,h=m):(S=yo(g.type,g.key,g.props,null,h.mode,S),S.ref=Cr(h,m,g),S.return=h,h=S)}return s(h);case On:e:{for(P=g.key;m!==null;){if(m.key===P)if(m.tag===4&&m.stateNode.containerInfo===g.containerInfo&&m.stateNode.implementation===g.implementation){n(h,m.sibling),m=i(m,g.children||[]),m.return=h,h=m;break e}else{n(h,m);break}else t(h,m);m=m.sibling}m=ra(g,h.mode,S),m.return=h,h=m}return s(h);case Vt:return P=g._init,k(h,m,P(g._payload),S)}if(Lr(g))return x(h,m,g,S);if(xr(g))return y(h,m,g,S);Hi(h,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,m!==null&&m.tag===6?(n(h,m.sibling),m=i(m,g),m.return=h,h=m):(n(h,m),m=na(g,h.mode,S),m.return=h,h=m),s(h)):n(h,m)}return k}var ur=Qp(!0),Xp=Qp(!1),Io=sn(null),Vo=null,Kn=null,sc=null;function ac(){sc=Kn=Vo=null}function lc(e){var t=Io.current;q(Io),e._currentValue=t}function Qa(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function or(e,t){Vo=e,sc=Kn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(De=!0),e.firstContext=null)}function et(e){var t=e._currentValue;if(sc!==e)if(e={context:e,memoizedValue:t,next:null},Kn===null){if(Vo===null)throw Error(T(308));Kn=e,Vo.dependencies={lanes:0,firstContext:e}}else Kn=Kn.next=e;return t}var yn=null;function cc(e){yn===null?yn=[e]:yn.push(e)}function Zp(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,cc(t)):(n.next=i.next,i.next=n),t.interleaved=n,Et(e,r)}function Et(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var zt=!1;function uc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function qp(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function bt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Kt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,U&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Et(e,n)}return i=r.interleaved,i===null?(t.next=t,cc(r)):(t.next=i.next,i.next=t),r.interleaved=t,Et(e,n)}function fo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Jl(e,n)}}function Hu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function zo(e,t,n,r){var i=e.updateQueue;zt=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,c=l.next;l.next=null,s===null?o=c:s.next=c,s=l;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==s&&(a===null?d.firstBaseUpdate=c:a.next=c,d.lastBaseUpdate=l))}if(o!==null){var f=i.baseState;s=0,d=c=l=null,a=o;do{var p=a.lane,v=a.eventTime;if((r&p)===p){d!==null&&(d=d.next={eventTime:v,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,y=a;switch(p=t,v=n,y.tag){case 1:if(x=y.payload,typeof x=="function"){f=x.call(v,f,p);break e}f=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=y.payload,p=typeof x=="function"?x.call(v,f,p):x,p==null)break e;f=ae({},f,p);break e;case 2:zt=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,p=i.effects,p===null?i.effects=[a]:p.push(a))}else v={eventTime:v,lane:p,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(c=d=v,l=f):d=d.next=v,s|=p;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;p=a,a=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);if(d===null&&(l=f),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Tn|=s,e.lanes=s,e.memoizedState=f}}function Uu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;
vendor: 13,489 bytes, lines 38-40
38if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(T(191,i));i.call(r)}}}var bi={},ht=sn(bi),ai=sn(bi),li=sn(bi);function xn(e){if(e===bi)throw Error(T(174));return e}function dc(e,t){switch(K(li,t),K(ai,e),K(ht,bi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Aa(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Aa(t,e)}q(ht),K(ht,t)}function dr(){q(ht),q(ai),q(li)}function em(e){xn(li.current);var t=xn(ht.current),n=Aa(t,e.type);t!==n&&(K(ai,e),K(ht,n))}function fc(e){ai.current===e&&(q(ht),q(ai))}var ie=sn(0);function Fo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Qs=[];function pc(){for(var e=0;e<Qs.length;e++)Qs[e]._workInProgressVersionPrimary=null;Qs.length=0}var po=Lt.ReactCurrentDispatcher,Xs=Lt.ReactCurrentBatchConfig,Nn=0,se=null,me=null,ge=null,Oo=!1,Br=!1,ci=0,av=0;function Se(){throw Error(T(321))}function mc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ut(e[n],t[n]))return!1;return!0}function hc(e,t,n,r,i,o){if(Nn=o,se=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,po.current=e===null||e.memoizedState===null?dv:fv,e=n(r,i),Br){o=0;do{if(Br=!1,ci=0,25<=o)throw Error(T(301));o+=1,ge=me=null,t.updateQueue=null,po.current=pv,e=n(r,i)}while(Br)}if(po.current=_o,t=me!==null&&me.next!==null,Nn=0,ge=me=se=null,Oo=!1,t)throw Error(T(300));return e}function gc(){var e=ci!==0;return ci=0,e}function ft(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ge===null?se.memoizedState=ge=e:ge=ge.next=e,ge}function tt(){if(me===null){var e=se.alternate;e=e!==null?e.memoizedState:null}else e=me.next;var t=ge===null?se.memoizedState:ge.next;if(t!==null)ge=t,me=e;else{if(e===null)throw Error(T(310));me=e,e={memoizedState:me.memoizedState,baseState:me.baseState,baseQueue:me.baseQueue,queue:me.queue,next:null},ge===null?se.memoizedState=ge=e:ge=ge.next=e}return ge}function ui(e,t){return typeof t=="function"?t(e):t}function Zs(e){var t=tt(),n=t.queue;if(n===null)throw Error(T(311));n.lastRenderedReducer=e;var r=me,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var a=s=null,l=null,c=o;do{var d=c.lane;if((Nn&d)===d)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(a=l=f,s=r):l=l.next=f,se.lanes|=d,Tn|=d}c=c.next}while(c!==null&&c!==o);l===null?s=r:l.next=a,ut(r,t.memoizedState)||(De=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,se.lanes|=o,Tn|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function qs(e){var t=tt(),n=t.queue;if(n===null)throw Error(T(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);ut(o,t.memoizedState)||(De=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function tm(){}function nm(e,t){var n=se,r=tt(),i=t(),o=!ut(r.memoizedState,i);if(o&&(r.memoizedState=i,De=!0),r=r.queue,vc(om.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||ge!==null&&ge.memoizedState.tag&1){if(n.flags|=2048,di(9,im.bind(null,n,r,i,t),void 0,null),ve===null)throw Error(T(349));Nn&30||rm(n,t,i)}return i}function rm(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=se.updateQueue,t===null?(t={lastEffect:null,stores:null},se.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function im(e,t,n,r){t.value=n,t.getSnapshot=r,sm(t)&&am(e)}function om(e,t,n){return n(function(){sm(t)&&am(e)})}function sm(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ut(e,n)}catch{return!0}}function am(e){var t=Et(e,1);t!==null&&ct(t,e,1,-1)}function Wu(e){var t=ft();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ui,lastRenderedState:e},t.queue=e,e=e.dispatch=uv.bind(null,se,e),[t.memoizedState,e]}function di(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=se.updateQueue,t===null?(t={lastEffect:null,stores:null},se.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function lm(){return tt().memoizedState}function mo(e,t,n,r){var i=ft();se.flags|=e,i.memoizedState=di(1|t,n,void 0,r===void 0?null:r)}function ds(e,t,n,r){var i=tt();r=r===void 0?null:r;var o=void 0;if(me!==null){var s=me.memoizedState;if(o=s.destroy,r!==null&&mc(r,s.deps)){i.memoizedState=di(t,n,o,r);return}}se.flags|=e,i.memoizedState=di(1|t,n,o,r)}function $u(e,t){return mo(8390656,8,e,t)}function vc(e,t){return ds(2048,8,e,t)}function cm(e,t){return ds(4,2,e,t)}function um(e,t){return ds(4,4,e,t)}function dm(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function fm(e,t,n){return n=n!=null?n.concat([e]):null,ds(4,4,dm.bind(null,t,e),n)}function yc(){}function pm(e,t){var n=tt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&mc(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function mm(e,t){var n=tt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&mc(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function hm(e,t,n){return Nn&21?(ut(n,t)||(n=wp(),se.lanes|=n,Tn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,De=!0),e.memoizedState=n)}function lv(e,t){var n=$;$=n!==0&&4>n?n:4,e(!0);var r=Xs.transition;Xs.transition={};try{e(!1),t()}finally{$=n,Xs.transition=r}}function gm(){return tt().memoizedState}function cv(e,t,n){var r=Qt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},vm(e))ym(t,n);else if(n=Zp(e,t,n,r),n!==null){var i=Ee();ct(n,e,r,i),xm(n,t,r)}}function uv(e,t,n){var r=Qt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(vm(e))ym(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,ut(a,s)){var l=t.interleaved;l===null?(i.next=i,cc(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=Zp(e,t,i,r),n!==null&&(i=Ee(),ct(n,e,r,i),xm(n,t,r))}}function vm(e){var t=e.alternate;return e===se||t!==null&&t===se}function ym(e,t){Br=Oo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function xm(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Jl(e,n)}}var _o={readContext:et,useCallback:Se,useContext:Se,useEffect:Se,useImperativeHandle:Se,useInsertionEffect:Se,useLayoutEffect:Se,useMemo:Se,useReducer:Se,useRef:Se,useState:Se,useDebugValue:Se,useDeferredValue:Se,useTransition:Se,useMutableSource:Se,useSyncExternalStore:Se,useId:Se,unstable_isNewReconciler:!1},dv={readContext:et,useCallback:function(e,t){return ft().memoizedState=[e,t===void 0?null:t],e},useContext:et,useEffect:$u,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,mo(4194308,4,dm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return mo(4194308,4,e,t)},useInsertionEffect:function(e,t){return mo(4,2,e,t)},useMemo:function(e,t){var n=ft();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ft();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=cv.bind(null,se,e),[r.memoizedState,e]},useRef:function(e){var t=ft();return e={current:e},t.memoizedState=e},useState:Wu,useDebugValue:yc,useDeferredValue:function(e){return ft().memoizedState=e},useTransition:function(){var e=Wu(!1),t=e[0];return e=lv.bind(null,e[1]),ft().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=se,i=ft();if(ne){if(n===void 0)throw Error(T(407));n=n()}else{if(n=t(),ve===null)throw Error(T(349));Nn&30||rm(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,$u(om.bind(null,r,o,e),[e]),r.flags|=2048,di(9,im.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=ft(),t=ve.identifierPrefix;if(ne){var n=St,r=wt;n=(r&~(1<<32-lt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ci++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=av++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},fv={readContext:et,useCallback:pm,useContext:et,useEffect:vc,useImperativeHandle:fm,useInsertionEffect:cm,useLayoutEffect:um,useMemo:mm,useReducer:Zs,useRef:lm,useState:function(){return Zs(ui)},useDebugValue:yc,useDeferredValue:function(e){var t=tt();return hm(t,me.memoizedState,e)},useTransition:function(){var e=Zs(ui)[0],t=tt().memoizedState;return[e,t]},useMutableSource:tm,useSyncExternalStore:nm,useId:gm,unstable_isNewReconciler:!1},pv={readContext:et,useCallback:pm,useContext:et,useEffect:vc,useImperativeHandle:fm,useInsertionEffect:cm,useLayoutEffect:um,useMemo:mm,useReducer:qs,useRef:lm,useState:function(){return qs(ui)},useDebugValue:yc,useDeferredValue:function(e){var t=tt();return me===null?t.memoizedState=e:hm(t,me.memoizedState,e)},useTransition:function(){var e=qs(ui)[0],t=tt().memoizedState;return[e,t]},useMutableSource:tm,useSyncExternalStore:nm,useId:gm,unstable_isNewReconciler:!1};function it(e,t){if(e&&e.defaultProps){t=ae({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Xa(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ae({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var fs={isMounted:function(e){return(e=e._reactInternals)?Ln(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ee(),i=Qt(e),o=bt(r,i);o.payload=t,n!=null&&(o.callback=n),t=Kt(e,o,i),t!==null&&(ct(t,e,i,r),fo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ee(),i=Qt(e),o=bt(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Kt(e,o,i),t!==null&&(ct(t,e,i,r),fo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ee(),r=Qt(e),i=bt(n,r);i.tag=2,t!=null&&(i.callback=t),t=Kt(e,i,r),t!==null&&(ct(t,e,r,n),fo(t,e,r))}};function Gu(e,t,n,r,i,o,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,s):t.prototype&&t.prototype.isPureReactComponent?!ri(n,r)||!ri(i,o):!0}function wm(e,t,n){var r=!1,i=tn,o=t.contextType;return typeof o=="object"&&o!==null?o=et(o):(i=Ie(t)?Cn:Pe.current,r=t.contextTypes,o=(r=r!=null)?lr(e,i):tn),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=fs,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Yu(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&fs.enqueueReplaceState(t,t.state,null)}function Za(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},uc(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=et(o):(o=Ie(t)?Cn:Pe.current,i.context=lr(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Xa(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&fs.enqueueReplaceState(i,i.state,null),zo(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function fr(e,t){try{var n="",r=t;do n+=Bg(r),r=r.return;while(r);var i=n}catch(o){i=`
39Error generating stack: `+o.message+`
40`+o.stack}return{value:e,source:t,stack:i,digest:null}}function ea(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function qa(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var mv=typeof WeakMap=="function"?WeakMap:Map;function Sm(e,t,n){n=bt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ho||(Ho=!0,cl=r),qa(e,t)},n}function km(e,t,n){n=bt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){qa(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){qa(e,t),typeof r!="function"&&(Jt===null?Jt=new Set([this]):Jt.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Ku(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new mv;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));
vendor: 7,378 bytes, line 40
40i.has(n)||(i.add(n),e=jv.bind(null,e,t,n),t.then(e,e))}function Ju(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Qu(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=bt(-1,1),t.tag=2,Kt(n,t,1))),n.lanes|=1),e)}var hv=Lt.ReactCurrentOwner,De=!1;function je(e,t,n,r){t.child=e===null?Xp(t,null,n,r):ur(t,e.child,n,r)}function Xu(e,t,n,r,i){n=n.render;var o=t.ref;return or(t,i),r=hc(e,t,n,r,o,i),n=gc(),e!==null&&!De?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,At(e,t,i)):(ne&&n&&rc(t),t.flags|=1,je(e,t,r,i),t.child)}function Zu(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Nc(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,bm(e,t,o,r,i)):(e=yo(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:ri,n(s,r)&&e.ref===t.ref)return At(e,t,i)}return t.flags|=1,e=Xt(o,r),e.ref=t.ref,e.return=t,t.child=e}function bm(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(ri(o,r)&&e.ref===t.ref)if(De=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(De=!0);else return t.lanes=e.lanes,At(e,t,i)}return el(e,t,n,r,i)}function Cm(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},K(Qn,_e),_e|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,K(Qn,_e),_e|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,K(Qn,_e),_e|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,K(Qn,_e),_e|=r;return je(e,t,i,n),t.child}function Pm(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function el(e,t,n,r,i){var o=Ie(n)?Cn:Pe.current;return o=lr(t,o),or(t,i),n=hc(e,t,n,r,o,i),r=gc(),e!==null&&!De?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,At(e,t,i)):(ne&&r&&rc(t),t.flags|=1,je(e,t,n,i),t.child)}function qu(e,t,n,r,i){if(Ie(n)){var o=!0;Lo(t)}else o=!1;if(or(t,i),t.stateNode===null)ho(e,t),wm(t,n,r),Za(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,c=n.contextType;typeof c=="object"&&c!==null?c=et(c):(c=Ie(n)?Cn:Pe.current,c=lr(t,c));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==c)&&Yu(t,s,r,c),zt=!1;var p=t.memoizedState;s.state=p,zo(t,r,s,i),l=t.memoizedState,a!==r||p!==l||Re.current||zt?(typeof d=="function"&&(Xa(t,n,d,r),l=t.memoizedState),(a=zt||Gu(t,n,a,r,p,l,c))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=c,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,qp(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:it(t.type,a),s.props=c,f=t.pendingProps,p=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=et(l):(l=Ie(n)?Cn:Pe.current,l=lr(t,l));var v=n.getDerivedStateFromProps;(d=typeof v=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==f||p!==l)&&Yu(t,s,r,l),zt=!1,p=t.memoizedState,s.state=p,zo(t,r,s,i);var x=t.memoizedState;a!==f||p!==x||Re.current||zt?(typeof v=="function"&&(Xa(t,n,v,r),x=t.memoizedState),(c=zt||Gu(t,n,c,r,p,x,l)||!1)?(d||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,x,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,x,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=x),s.props=r,s.state=x,s.context=l,r=c):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return tl(e,t,n,r,o,i)}function tl(e,t,n,r,i,o){Pm(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&Fu(t,n,!1),At(e,t,o);r=t.stateNode,hv.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=ur(t,e.child,null,o),t.child=ur(t,null,a,o)):je(e,t,a,o),t.memoizedState=r.state,i&&Fu(t,n,!0),t.child}function Nm(e){var t=e.stateNode;t.pendingContext?zu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&zu(e,t.context,!1),dc(e,t.containerInfo)}function ed(e,t,n,r,i){return cr(),oc(i),t.flags|=256,je(e,t,n,r),t.child}var nl={dehydrated:null,treeContext:null,retryLane:0};function rl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Tm(e,t,n){var r=t.pendingProps,i=ie.current,o=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),K(ie,i&1),e===null)return Ja(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=hs(s,r,0,null),e=bn(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=rl(n),t.memoizedState=nl,e):xc(t,s));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return gv(e,t,s,r,a,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Xt(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=Xt(a,o):(o=bn(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?rl(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=nl,r}return o=e.child,e=o.sibling,r=Xt(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function xc(e,t){return t=hs({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ui(e,t,n,r){return r!==null&&oc(r),ur(t,e.child,null,n),e=xc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}
vendor: 7,606 bytes, line 40
40function gv(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=ea(Error(T(422))),Ui(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=hs({mode:"visible",children:r.children},i,0,null),o=bn(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&ur(t,e.child,null,s),t.child.memoizedState=rl(s),t.memoizedState=nl,o);if(!(t.mode&1))return Ui(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(T(419)),r=ea(o,r,void 0),Ui(e,t,s,r)}if(a=(s&e.childLanes)!==0,De||a){if(r=ve,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,Et(e,i),ct(r,e,i,-1))}return Pc(),r=ea(Error(T(421))),Ui(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Ev.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,He=Yt(i.nextSibling),Ue=t,ne=!0,st=null,e!==null&&(Qe[Xe++]=wt,Qe[Xe++]=St,Qe[Xe++]=Pn,wt=e.id,St=e.overflow,Pn=t),t=xc(t,r.children),t.flags|=4096,t)}function td(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Qa(e.return,t,n)}function ta(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function jm(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(je(e,t,r.children,n),r=ie.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&td(e,n,t);else if(e.tag===19)td(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(K(ie,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Fo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ta(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Fo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ta(t,!0,n,null,o);break;case"together":ta(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ho(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function At(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Tn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(T(153));if(t.child!==null){for(e=t.child,n=Xt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Xt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function vv(e,t,n){switch(t.tag){case 3:Nm(t),cr();break;case 5:em(t);break;case 1:Ie(t.type)&&Lo(t);break;case 4:dc(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;K(Io,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(K(ie,ie.current&1),t.flags|=128,null):n&t.child.childLanes?Tm(e,t,n):(K(ie,ie.current&1),e=At(e,t,n),e!==null?e.sibling:null);K(ie,ie.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return jm(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),K(ie,ie.current),r)break;return null;case 22:case 23:return t.lanes=0,Cm(e,t,n)}return At(e,t,n)}var Em,il,Am,Mm;Em=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};il=function(){};Am=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,xn(ht.current);var o=null;switch(n){case"input":i=Na(e,i),r=Na(e,r),o=[];break;case"select":i=ae({},i,{value:void 0}),r=ae({},r,{value:void 0}),o=[];break;case"textarea":i=Ea(e,i),r=Ea(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ao)}Ma(n,r);var s;n=null;for(c in i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var a=i[c];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Qr.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var l=r[c];if(a=i!=null?i[c]:void 0,r.hasOwnProperty(c)&&l!==a&&(l!=null||a!=null))if(c==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(o||(o=[]),o.push(c,n)),n=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Qr.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&X("scroll",e),o||a===l||(o=[])):(o=o||[]).push(c,l))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}};Mm=function(e,t,n,r){n!==r&&(t.flags|=4)};function Pr(e,t){if(!ne)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ke(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function yv(e,t,n){var r=t.pendingProps;switch(ic(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ke(t),null;case 1:return Ie(t.type)&&Mo(),ke(t),null;case 3:return r=t.stateNode,dr(),q(Re),q(Pe),pc(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Bi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,st!==null&&(fl(st),st=null))),il(e,t),ke(t),null;case 5:fc(t);var i=xn(li.current);if(n=t.type,e!==null&&t.stateNode!=null)Am(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(T(166));return ke(t),null}if(e=xn(ht.current),Bi(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[pt]=t,r[si]=o,e=(t.mode&1)!==0,n){case"dialog":X("cancel",r),X("close",r);break;case"iframe":case"object":case"embed":X("load",r);break;case"video":case"audio":for(i=0;i<Rr.length;i++)X(Rr[i],r);break;case"source":X("error",r);break;case"img":case"image":case"link":X("error",r),X("load",r);break;case"details":X("toggle",r);break;case"input":uu(r,o),X("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},X("invalid",r);break;case"textarea":fu(r,o),X("invalid",r)}Ma(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var a=o[s];
vendor: 13,824 bytes, line 40
40s==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&_i(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&_i(r.textContent,a,e),i=["children",""+a]):Qr.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&X("scroll",r)}switch(n){case"input":Li(r),du(r,o,!0);break;case"textarea":Li(r),pu(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Ao)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=op(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[pt]=t,e[si]=r,Em(e,t,!1,!1),t.stateNode=e;e:{switch(s=La(n,r),n){case"dialog":X("cancel",e),X("close",e),i=r;break;case"iframe":case"object":case"embed":X("load",e),i=r;break;case"video":case"audio":for(i=0;i<Rr.length;i++)X(Rr[i],e);i=r;break;case"source":X("error",e),i=r;break;case"img":case"image":case"link":X("error",e),X("load",e),i=r;break;case"details":X("toggle",e),i=r;break;case"input":uu(e,r),i=Na(e,r),X("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=ae({},r,{value:void 0}),X("invalid",e);break;case"textarea":fu(e,r),i=Ea(e,r),X("invalid",e);break;default:i=r}Ma(n,i),a=i;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];o==="style"?lp(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&sp(e,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Xr(e,l):typeof l=="number"&&Xr(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Qr.hasOwnProperty(o)?l!=null&&o==="onScroll"&&X("scroll",e):l!=null&&Ul(e,o,l,s))}switch(n){case"input":Li(e),du(e,r,!1);break;case"textarea":Li(e),pu(e);break;case"option":r.value!=null&&e.setAttribute("value",""+en(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?tr(e,!!r.multiple,o,!1):r.defaultValue!=null&&tr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Ao)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ke(t),null;case 6:if(e&&t.stateNode!=null)Mm(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(T(166));if(n=xn(li.current),xn(ht.current),Bi(t)){if(r=t.stateNode,n=t.memoizedProps,r[pt]=t,(o=r.nodeValue!==n)&&(e=Ue,e!==null))switch(e.tag){case 3:_i(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&_i(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[pt]=t,t.stateNode=r}return ke(t),null;case 13:if(q(ie),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ne&&He!==null&&t.mode&1&&!(t.flags&128))Jp(),cr(),t.flags|=98560,o=!1;else if(o=Bi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(T(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(T(317));o[pt]=t}else cr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ke(t),o=!1}else st!==null&&(fl(st),st=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ie.current&1?he===0&&(he=3):Pc())),t.updateQueue!==null&&(t.flags|=4),ke(t),null);case 4:return dr(),il(e,t),e===null&&ii(t.stateNode.containerInfo),ke(t),null;case 10:return lc(t.type._context),ke(t),null;case 17:return Ie(t.type)&&Mo(),ke(t),null;case 19:if(q(ie),o=t.memoizedState,o===null)return ke(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)Pr(o,!1);else{if(he!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Fo(e),s!==null){for(t.flags|=128,Pr(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return K(ie,ie.current&1|2),t.child}e=e.sibling}o.tail!==null&&de()>pr&&(t.flags|=128,r=!0,Pr(o,!1),t.lanes=4194304)}else{if(!r)if(e=Fo(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Pr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!ne)return ke(t),null}else 2*de()-o.renderingStartTime>pr&&n!==1073741824&&(t.flags|=128,r=!0,Pr(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=de(),t.sibling=null,n=ie.current,K(ie,r?n&1|2:n&1),t):(ke(t),null);case 22:case 23:return Cc(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?_e&1073741824&&(ke(t),t.subtreeFlags&6&&(t.flags|=8192)):ke(t),null;case 24:return null;case 25:return null}throw Error(T(156,t.tag))}function xv(e,t){switch(ic(t),t.tag){case 1:return Ie(t.type)&&Mo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return dr(),q(Re),q(Pe),pc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return fc(t),null;case 13:if(q(ie),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(T(340));cr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return q(ie),null;case 4:return dr(),null;case 10:return lc(t.type._context),null;case 22:case 23:return Cc(),null;case 24:return null;default:return null}}var Wi=!1,Ce=!1,wv=typeof WeakSet=="function"?WeakSet:Set,E=null;function Jn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){le(e,t,r)}else n.current=null}function ol(e,t,n){try{n()}catch(r){le(e,t,r)}}var nd=!1;function Sv(e,t){if(Ha=To,e=Vp(),nc(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var v;f!==n||i!==0&&f.nodeType!==3||(a=s+i),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(v=f.firstChild)!==null;)p=f,f=v;for(;;){if(f===e)break t;if(p===n&&++c===i&&(a=s),p===o&&++d===r&&(l=s),(v=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=v}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ua={focusedElem:e,selectionRange:n},To=!1,E=t;E!==null;)if(t=E,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,E=e;else for(;E!==null;){t=E;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var y=x.memoizedProps,k=x.memoizedState,h=t.stateNode,m=h.getSnapshotBeforeUpdate(t.elementType===t.type?y:it(t.type,y),k);h.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(T(163))}}catch(S){le(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,E=e;break}E=t.return}return x=nd,nd=!1,x}function Hr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&ol(t,n,o)}i=i.next}while(i!==r)}}function ps(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function sl(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Lm(e){var t=e.alternate;t!==null&&(e.alternate=null,Lm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[pt],delete t[si],delete t[Ga],delete t[rv],delete t[iv])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Dm(e){return e.tag===5||e.tag===3||e.tag===4}function rd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Dm(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function al(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ao));else if(r!==4&&(e=e.child,e!==null))for(al(e,t,n),e=e.sibling;e!==null;)al(e,t,n),e=e.sibling}function ll(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ll(e,t,n),e=e.sibling;e!==null;)ll(e,t,n),e=e.sibling}var ye=null,ot=!1;function Dt(e,t,n){for(n=n.child;n!==null;)Rm(e,t,n),n=n.sibling}function Rm(e,t,n){if(mt&&typeof mt.onCommitFiberUnmount=="function")try{mt.onCommitFiberUnmount(os,n)}catch{}switch(n.tag){case 5:Ce||Jn(n,t);case 6:var r=ye,i=ot;ye=null,Dt(e,t,n),ye=r,ot=i,ye!==null&&(ot?(e=ye,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ye.removeChild(n.stateNode));break;case 18:ye!==null&&(ot?(e=ye,n=n.stateNode,e.nodeType===8?Ks(e.parentNode,n):e.nodeType===1&&Ks(e,n),ti(e)):Ks(ye,n.stateNode));break;case 4:r=ye,i=ot,ye=n.stateNode.containerInfo,ot=!0,Dt(e,t,n),ye=r,ot=i;break;case 0:case 11:case 14:case 15:if(!Ce&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&ol(n,t,s),i=i.next}while(i!==r)}Dt(e,t,n);break;case 1:if(!Ce&&(Jn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){le(n,t,a)}Dt(e,t,n);break;case 21:Dt(e,t,n);break;case 22:n.mode&1?(Ce=(r=Ce)||n.memoizedState!==null,Dt(e,t,n),Ce=r):Dt(e,t,n);break;default:Dt(e,t,n)}}function id(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new wv),t.forEach(function(r){var i=Av.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function nt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:ye=a.stateNode,ot=!1;break e;case 3:ye=a.stateNode.containerInfo,ot=!0;break e;case 4:ye=a.stateNode.containerInfo,ot=!0;break e}a=a.return}if(ye===null)throw Error(T(160));Rm(o,s,i),ye=null,ot=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(c){le(i,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Im(t,e),t=t.sibling}function Im(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(nt(t,e),dt(e),r&4){try{Hr(3,e,e.return),ps(3,e)}catch(y){le(e,e.return,y)}try{Hr(5,e,e.return)}catch(y){le(e,e.return,y)}}break;case 1:nt(t,e),dt(e),r&512&&n!==null&&Jn(n,n.return);break;case 5:if(nt(t,e),dt(e),r&512&&n!==null&&Jn(n,n.return),e.flags&32){var i=e.stateNode;try{Xr(i,"")}catch(y){le(e,e.return,y)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&rp(i,o),La(a,s);var c=La(a,o);for(s=0;s<l.length;s+=2){var d=l[s],f=l[s+1];d==="style"?lp(i,f):d==="dangerouslySetInnerHTML"?sp(i,f):d==="children"?Xr(i,f):Ul(i,d,f,c)}switch(a){case"input":Ta(i,o);break;case"textarea":ip(i,o);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var v=o.value;v!=null?tr(i,!!o.multiple,v,!1):p!==!!o.multiple&&(o.defaultValue!=null?tr(i,!!o.multiple,o.defaultValue,!0):tr(i,!!o.multiple,o.multiple?[]:"",!1))}i[si]=o}catch(y){le(e,e.return,y)}}break;case 6:if(nt(t,e),dt(e),r&4){if(e.stateNode===null)throw Error(T(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(y){le(e,e.return,y)}}break;case 3:if(nt(t,e),dt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{ti(t.containerInfo)}catch(y){le(e,e.return,y)}break;case 4:nt(t,e),dt(e);break;case 13:nt(t,e),dt(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(kc=de())),r&4&&id(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(Ce=(c=Ce)||d,nt(t,e),Ce=c):nt(t,e),dt(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!d&&e.mode&1)for(E=e,d=e.child;d!==null;){for(f=E=d;E!==null;){switch(p=E,v=p.child,p.tag){case 0:case 11:case 14:case 15:Hr(4,p,p.return);break;case 1:Jn(p,p.return);var x=p.stateNode;if(typeof x.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,x.props=t.memoizedProps,x.state=t.memoizedState,x.componentWillUnmount()}catch(y){le(r,n,y)}}break;case 5:Jn(p,p.return);break;case 22:if(p.memoizedState!==null){sd(f);continue}}v!==null?(v.return=p,E=v):sd(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;
vendor: 10,470 bytes, line 40
40try{i=f.stateNode,c?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=f.stateNode,l=f.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=ap("display",s))}catch(y){le(e,e.return,y)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(y){le(e,e.return,y)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:nt(t,e),dt(e),r&4&&id(e);break;case 21:break;default:nt(t,e),dt(e)}}function dt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Dm(n)){var r=n;break e}n=n.return}throw Error(T(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Xr(i,""),r.flags&=-33);var o=rd(e);ll(e,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,a=rd(e);al(e,a,s);break;default:throw Error(T(161))}}catch(l){le(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function kv(e,t,n){E=e,Vm(e)}function Vm(e,t,n){for(var r=(e.mode&1)!==0;E!==null;){var i=E,o=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||Wi;if(!s){var a=i.alternate,l=a!==null&&a.memoizedState!==null||Ce;a=Wi;var c=Ce;if(Wi=s,(Ce=l)&&!c)for(E=i;E!==null;)s=E,l=s.child,s.tag===22&&s.memoizedState!==null?ad(i):l!==null?(l.return=s,E=l):ad(i);for(;o!==null;)E=o,Vm(o),o=o.sibling;E=i,Wi=a,Ce=c}od(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,E=o):od(e)}}function od(e){for(;E!==null;){var t=E;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ce||ps(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ce)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:it(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Uu(t,o,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Uu(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var d=c.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&ti(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(T(163))}Ce||t.flags&512&&sl(t)}catch(p){le(t,t.return,p)}}if(t===e){E=null;break}if(n=t.sibling,n!==null){n.return=t.return,E=n;break}E=t.return}}function sd(e){for(;E!==null;){var t=E;if(t===e){E=null;break}var n=t.sibling;if(n!==null){n.return=t.return,E=n;break}E=t.return}}function ad(e){for(;E!==null;){var t=E;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ps(4,t)}catch(l){le(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){le(t,i,l)}}var o=t.return;try{sl(t)}catch(l){le(t,o,l)}break;case 5:var s=t.return;try{sl(t)}catch(l){le(t,s,l)}}}catch(l){le(t,t.return,l)}if(t===e){E=null;break}var a=t.sibling;if(a!==null){a.return=t.return,E=a;break}E=t.return}}var bv=Math.ceil,Bo=Lt.ReactCurrentDispatcher,wc=Lt.ReactCurrentOwner,qe=Lt.ReactCurrentBatchConfig,U=0,ve=null,pe=null,xe=0,_e=0,Qn=sn(0),he=0,fi=null,Tn=0,ms=0,Sc=0,Ur=null,Le=null,kc=0,pr=1/0,yt=null,Ho=!1,cl=null,Jt=null,$i=!1,Ht=null,Uo=0,Wr=0,ul=null,go=-1,vo=0;function Ee(){return U&6?de():go!==-1?go:go=de()}function Qt(e){return e.mode&1?U&2&&xe!==0?xe&-xe:sv.transition!==null?(vo===0&&(vo=wp()),vo):(e=$,e!==0||(e=window.event,e=e===void 0?16:Tp(e.type)),e):1}function ct(e,t,n,r){if(50<Wr)throw Wr=0,ul=null,Error(T(185));wi(e,n,r),(!(U&2)||e!==ve)&&(e===ve&&(!(U&2)&&(ms|=n),he===4&&_t(e,xe)),Ve(e,r),n===1&&U===0&&!(t.mode&1)&&(pr=de()+500,us&&an()))}function Ve(e,t){var n=e.callbackNode;s1(e,t);var r=No(e,e===ve?xe:0);if(r===0)n!==null&&gu(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&gu(n),t===1)e.tag===0?ov(ld.bind(null,e)):Gp(ld.bind(null,e)),tv(function(){!(U&6)&&an()}),n=null;else{switch(Sp(r)){case 1:n=Kl;break;case 4:n=yp;break;case 16:n=Po;break;case 536870912:n=xp;break;default:n=Po}n=Wm(n,zm.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function zm(e,t){if(go=-1,vo=0,U&6)throw Error(T(327));var n=e.callbackNode;if(sr()&&e.callbackNode!==n)return null;var r=No(e,e===ve?xe:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Wo(e,r);else{t=r;var i=U;U|=2;var o=Om();(ve!==e||xe!==t)&&(yt=null,pr=de()+500,kn(e,t));do try{Nv();break}catch(a){Fm(e,a)}while(1);ac(),Bo.current=o,U=i,pe!==null?t=0:(ve=null,xe=0,t=he)}if(t!==0){if(t===2&&(i=za(e),i!==0&&(r=i,t=dl(e,i))),t===1)throw n=fi,kn(e,0),_t(e,r),Ve(e,de()),n;if(t===6)_t(e,r);else{if(i=e.current.alternate,!(r&30)&&!Cv(i)&&(t=Wo(e,r),t===2&&(o=za(e),o!==0&&(r=o,t=dl(e,o))),t===1))throw n=fi,kn(e,0),_t(e,r),Ve(e,de()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(T(345));case 2:pn(e,Le,yt);break;case 3:if(_t(e,r),(r&130023424)===r&&(t=kc+500-de(),10<t)){if(No(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Ee(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=$a(pn.bind(null,e,Le,yt),t);break}pn(e,Le,yt);break;case 4:if(_t(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-lt(r);o=1<<s,s=t[s],s>i&&(i=s),r&=~o}if(r=i,r=de()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*bv(r/1960))-r,10<r){e.timeoutHandle=$a(pn.bind(null,e,Le,yt),r);break}pn(e,Le,yt);break;case 5:pn(e,Le,yt);break;default:throw Error(T(329))}}}return Ve(e,de()),e.callbackNode===n?zm.bind(null,e):null}function dl(e,t){var n=Ur;return e.current.memoizedState.isDehydrated&&(kn(e,t).flags|=256),e=Wo(e,t),e!==2&&(t=Le,Le=n,t!==null&&fl(t)),e}function fl(e){Le===null?Le=e:Le.push.apply(Le,e)}function Cv(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!ut(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function _t(e,t){for(t&=~Sc,t&=~ms,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-lt(t),r=1<<n;e[n]=-1,t&=~r}}function ld(e){if(U&6)throw Error(T(327));sr();var t=No(e,0);if(!(t&1))return Ve(e,de()),null;var n=Wo(e,t);if(e.tag!==0&&n===2){var r=za(e);r!==0&&(t=r,n=dl(e,r))}if(n===1)throw n=fi,kn(e,0),_t(e,t),Ve(e,de()),n;if(n===6)throw Error(T(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,pn(e,Le,yt),Ve(e,de()),null}function bc(e,t){var n=U;U|=1;try{return e(t)}finally{U=n,U===0&&(pr=de()+500,us&&an())}}function jn(e){Ht!==null&&Ht.tag===0&&!(U&6)&&sr();var t=U;U|=1;var n=qe.transition,r=$;try{if(qe.transition=null,$=1,e)return e()}finally{$=r,qe.transition=n,U=t,!(U&6)&&an()}}function Cc(){_e=Qn.current,q(Qn)}function kn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,ev(n)),pe!==null)for(n=pe.return;n!==null;){var r=n;switch(ic(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Mo();break;case 3:dr(),q(Re),q(Pe),pc();break;case 5:fc(r);break;case 4:dr();break;case 13:q(ie);break;case 19:q(ie);break;case 10:lc(r.type._context);break;case 22:case 23:Cc()}n=n.return}if(ve=e,pe=e=Xt(e.current,null),xe=_e=t,he=0,fi=null,Sc=ms=Tn=0,Le=Ur=null,yn!==null){for(t=0;t<yn.length;t++)if(n=yn[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=i,r.next=s}n.pending=r}yn=null}return e}function Fm(e,t){do{var n=pe;try{if(ac(),po.current=_o,Oo){for(var r=se.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Oo=!1}if(Nn=0,ge=me=se=null,Br=!1,ci=0,wc.current=null,n===null||n.return===null){he=1,fi=t,pe=null;break}e:{var o=e,s=n.return,a=n,l=t;if(t=xe,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,d=a,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var v=Ju(s);if(v!==null){v.flags&=-257,Qu(v,s,a,o,t),v.mode&1&&Ku(o,c,t),t=v,l=c;var x=t.updateQueue;if(x===null){var y=new Set;y.add(l),t.updateQueue=y}else x.add(l);break e}else{if(!(t&1)){Ku(o,c,t),Pc();break e}l=Error(T(426))}}else if(ne&&a.mode&1){var k=Ju(s);if(k!==null){!(k.flags&65536)&&(k.flags|=256),Qu(k,s,a,o,t),oc(fr(l,a));break e}}o=l=fr(l,a),he!==4&&(he=2),Ur===null?Ur=[o]:Ur.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var h=Sm(o,l,t);Hu(o,h);break e;case 1:a=l;var m=o.type,g=o.stateNode;if(!(o.flags&128)&&(typeof m.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Jt===null||!Jt.has(g)))){o.flags|=65536,t&=-t,o.lanes|=t;var S=km(o,a,t);Hu(o,S);break e}}o=o.return}while(o!==null)}Bm(n)}catch(b){t=b,pe===n&&n!==null&&(pe=n=n.return);continue}break}while(1)}function Om(){var e=Bo.current;return Bo.current=_o,e===null?_o:e}function Pc(){(he===0||he===3||he===2)&&(he=4),ve===null||!(Tn&268435455)&&!(ms&268435455)||_t(ve,xe)}function Wo(e,t){var n=U;U|=2;var r=Om();(ve!==e||xe!==t)&&(yt=null,kn(e,t));do try{Pv();break}catch(i){Fm(e,i)}while(1);if(ac(),U=n,Bo.current=r,pe!==null)throw Error(T(261));return ve=null,xe=0,he}function Pv(){for(;pe!==null;)_m(pe)}function Nv(){for(;pe!==null&&!Xg();)_m(pe)}function _m(e){var t=Um(e.alternate,e,_e);e.memoizedProps=e.pendingProps,t===null?Bm(e):pe=t,wc.current=null}function Bm(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=xv(n,t),n!==null){n.flags&=32767,pe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{he=6,pe=null;return}}else if(n=yv(n,t,_e),n!==null){pe=n;return}if(t=t.sibling,t!==null){pe=t;return}pe=t=e}while(t!==null);he===0&&(he=5)}function pn(e,t,n){var r=$,i=qe.transition;try{qe.transition=null,$=1,Tv(e,t,n,r)}finally{qe.transition=i,$=r}return null}function Tv(e,t,n,r){do sr();while(Ht!==null);if(U&6)throw Error(T(327));
vendor: 4,528 bytes, line 40
40n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(T(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(a1(e,o),e===ve&&(pe=ve=null,xe=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||$i||($i=!0,Wm(Po,function(){return sr(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=qe.transition,qe.transition=null;var s=$;$=1;var a=U;U|=4,wc.current=null,Sv(e,n),Im(n,e),Y1(Ua),To=!!Ha,Ua=Ha=null,e.current=n,kv(n),Zg(),U=a,$=s,qe.transition=o}else e.current=n;if($i&&($i=!1,Ht=e,Uo=i),o=e.pendingLanes,o===0&&(Jt=null),t1(n.stateNode),Ve(e,de()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Ho)throw Ho=!1,e=cl,cl=null,e;return Uo&1&&e.tag!==0&&sr(),o=e.pendingLanes,o&1?e===ul?Wr++:(Wr=0,ul=e):Wr=0,an(),null}function sr(){if(Ht!==null){var e=Sp(Uo),t=qe.transition,n=$;try{if(qe.transition=null,$=16>e?16:e,Ht===null)var r=!1;else{if(e=Ht,Ht=null,Uo=0,U&6)throw Error(T(331));var i=U;for(U|=4,E=e.current;E!==null;){var o=E,s=o.child;if(E.flags&16){var a=o.deletions;if(a!==null){for(var l=0;l<a.length;l++){var c=a[l];for(E=c;E!==null;){var d=E;switch(d.tag){case 0:case 11:case 15:Hr(8,d,o)}var f=d.child;if(f!==null)f.return=d,E=f;else for(;E!==null;){d=E;var p=d.sibling,v=d.return;if(Lm(d),d===c){E=null;break}if(p!==null){p.return=v,E=p;break}E=v}}}var x=o.alternate;if(x!==null){var y=x.child;if(y!==null){x.child=null;do{var k=y.sibling;y.sibling=null,y=k}while(y!==null)}}E=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,E=s;else e:for(;E!==null;){if(o=E,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Hr(9,o,o.return)}var h=o.sibling;if(h!==null){h.return=o.return,E=h;break e}E=o.return}}var m=e.current;for(E=m;E!==null;){s=E;var g=s.child;if(s.subtreeFlags&2064&&g!==null)g.return=s,E=g;else e:for(s=m;E!==null;){if(a=E,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:ps(9,a)}}catch(b){le(a,a.return,b)}if(a===s){E=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,E=S;break e}E=a.return}}if(U=i,an(),mt&&typeof mt.onPostCommitFiberRoot=="function")try{mt.onPostCommitFiberRoot(os,e)}catch{}r=!0}return r}finally{$=n,qe.transition=t}}return!1}function cd(e,t,n){t=fr(n,t),t=Sm(e,t,1),e=Kt(e,t,1),t=Ee(),e!==null&&(wi(e,1,t),Ve(e,t))}function le(e,t,n){if(e.tag===3)cd(e,e,n);else for(;t!==null;){if(t.tag===3){cd(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Jt===null||!Jt.has(r))){e=fr(n,e),e=km(t,e,1),t=Kt(t,e,1),e=Ee(),t!==null&&(wi(t,1,e),Ve(t,e));break}}t=t.return}}function jv(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ee(),e.pingedLanes|=e.suspendedLanes&n,ve===e&&(xe&n)===n&&(he===4||he===3&&(xe&130023424)===xe&&500>de()-kc?kn(e,0):Sc|=n),Ve(e,t)}function Hm(e,t){t===0&&(e.mode&1?(t=Ii,Ii<<=1,!(Ii&130023424)&&(Ii=4194304)):t=1);var n=Ee();e=Et(e,t),e!==null&&(wi(e,t,n),Ve(e,n))}function Ev(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Hm(e,n)}function Av(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(T(314))}r!==null&&r.delete(t),Hm(e,n)}var Um;Um=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Re.current)De=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return De=!1,vv(e,t,n);De=!!(e.flags&131072)}else De=!1,ne&&t.flags&1048576&&Yp(t,Ro,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ho(e,t),e=t.pendingProps;var i=lr(t,Pe.current);or(t,n),i=hc(null,t,r,e,i,n);var o=gc();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ie(r)?(o=!0,Lo(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,uc(t),i.updater=fs,t.stateNode=i,i._reactInternals=t,Za(t,r,e,n),t=tl(null,t,r,!0,o,n)):(t.tag=0,ne&&o&&rc(t),je(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ho(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Lv(r),e=it(r,e),i){case 0:t=el(null,t,r,e,n);break e;case 1:t=qu(null,t,r,e,n);break e;case 11:t=Xu(null,t,r,e,n);break e;case 14:t=Zu(null,t,r,it(r.type,e),n);break e}throw Error(T(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:it(r,i),el(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:it(r,i),qu(e,t,r,i,n);case 3:e:{if(Nm(t),e===null)throw Error(T(387));
vendor: 13,155 bytes, line 40
40r=t.pendingProps,o=t.memoizedState,i=o.element,qp(e,t),zo(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=fr(Error(T(423)),t),t=ed(e,t,r,n,i);break e}else if(r!==i){i=fr(Error(T(424)),t),t=ed(e,t,r,n,i);break e}else for(He=Yt(t.stateNode.containerInfo.firstChild),Ue=t,ne=!0,st=null,n=Xp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(cr(),r===i){t=At(e,t,n);break e}je(e,t,r,n)}t=t.child}return t;case 5:return em(t),e===null&&Ja(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Wa(r,i)?s=null:o!==null&&Wa(r,o)&&(t.flags|=32),Pm(e,t),je(e,t,s,n),t.child;case 6:return e===null&&Ja(t),null;case 13:return Tm(e,t,n);case 4:return dc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ur(t,null,r,n):je(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:it(r,i),Xu(e,t,r,i,n);case 7:return je(e,t,t.pendingProps,n),t.child;case 8:return je(e,t,t.pendingProps.children,n),t.child;case 12:return je(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,K(Io,r._currentValue),r._currentValue=s,o!==null)if(ut(o.value,s)){if(o.children===i.children&&!Re.current){t=At(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=bt(-1,n&-n),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?l.next=l:(l.next=d.next,d.next=l),c.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Qa(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(T(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Qa(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}je(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,or(t,n),i=et(i),r=r(i),t.flags|=1,je(e,t,r,n),t.child;case 14:return r=t.type,i=it(r,t.pendingProps),i=it(r.type,i),Zu(e,t,r,i,n);case 15:return bm(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:it(r,i),ho(e,t),t.tag=1,Ie(r)?(e=!0,Lo(t)):e=!1,or(t,n),wm(t,r,i),Za(t,r,i,n),tl(null,t,r,!0,e,n);case 19:return jm(e,t,n);case 22:return Cm(e,t,n)}throw Error(T(156,t.tag))};function Wm(e,t){return vp(e,t)}function Mv(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ze(e,t,n,r){return new Mv(e,t,n,r)}function Nc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Lv(e){if(typeof e=="function")return Nc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===$l)return 11;if(e===Gl)return 14}return 2}function Xt(e,t){var n=e.alternate;return n===null?(n=Ze(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function yo(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Nc(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case _n:return bn(n.children,i,o,t);case Wl:s=8,i|=8;break;case ka:return e=Ze(12,n,t,i|2),e.elementType=ka,e.lanes=o,e;case ba:return e=Ze(13,n,t,i),e.elementType=ba,e.lanes=o,e;case Ca:return e=Ze(19,n,t,i),e.elementType=Ca,e.lanes=o,e;case ep:return hs(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Zf:s=10;break e;case qf:s=9;break e;case $l:s=11;break e;case Gl:s=14;break e;case Vt:s=16,r=null;break e}throw Error(T(130,e==null?e:typeof e,""))}return t=Ze(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function bn(e,t,n,r){return e=Ze(7,e,r,t),e.lanes=n,e}function hs(e,t,n,r){return e=Ze(22,e,r,t),e.elementType=ep,e.lanes=n,e.stateNode={isHidden:!1},e}function na(e,t,n){return e=Ze(6,e,null,t),e.lanes=n,e}function ra(e,t,n){return t=Ze(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Dv(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=zs(0),this.expirationTimes=zs(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zs(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Tc(e,t,n,r,i,o,s,a,l){return e=new Dv(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ze(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},uc(o),e}function Rv(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:On,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function $m(e){if(!e)return tn;e=e._reactInternals;e:{if(Ln(e)!==e||e.tag!==1)throw Error(T(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ie(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(T(171))}if(e.tag===1){var n=e.type;if(Ie(n))return $p(e,n,t)}return t}function Gm(e,t,n,r,i,o,s,a,l){return e=Tc(n,r,!0,e,i,o,s,a,l),e.context=$m(null),n=e.current,r=Ee(),i=Qt(n),o=bt(r,i),o.callback=t??null,Kt(n,o,i),e.current.lanes=i,wi(e,i,r),Ve(e,r),e}function gs(e,t,n,r){var i=t.current,o=Ee(),s=Qt(i);return n=$m(n),t.context===null?t.context=n:t.pendingContext=n,t=bt(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Kt(i,t,s),e!==null&&(ct(e,i,s,o),fo(e,i,s)),s}function $o(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function ud(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function jc(e,t){ud(e,t),(e=e.alternate)&&ud(e,t)}function Iv(){return null}var Ym=typeof reportError=="function"?reportError:function(e){console.error(e)};function Ec(e){this._internalRoot=e}vs.prototype.render=Ec.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(T(409));gs(e,t,null,null)};vs.prototype.unmount=Ec.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;jn(function(){gs(null,e,null,null)}),t[jt]=null}};function vs(e){this._internalRoot=e}vs.prototype.unstable_scheduleHydration=function(e){if(e){var t=Cp();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ot.length&&t!==0&&t<Ot[n].priority;n++);Ot.splice(n,0,e),n===0&&Np(e)}};function Ac(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ys(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function dd(){}function Vv(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var c=$o(s);o.call(c)}}var s=Gm(t,r,e,0,null,!1,!1,"",dd);return e._reactRootContainer=s,e[jt]=s.current,ii(e.nodeType===8?e.parentNode:e),jn(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var c=$o(l);a.call(c)}}var l=Tc(e,0,!1,null,null,!1,!1,"",dd);return e._reactRootContainer=l,e[jt]=l.current,ii(e.nodeType===8?e.parentNode:e),jn(function(){gs(t,l,n,r)}),l}function xs(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o;if(typeof i=="function"){var a=i;i=function(){var l=$o(s);a.call(l)}}gs(t,s,e,i)}else s=Vv(n,t,e,i,r);return $o(s)}kp=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Dr(t.pendingLanes);n!==0&&(Jl(t,n|1),Ve(t,de()),!(U&6)&&(pr=de()+500,an()))}break;case 13:jn(function(){var r=Et(e,1);if(r!==null){var i=Ee();ct(r,e,1,i)}}),jc(e,1)}};Ql=function(e){if(e.tag===13){var t=Et(e,134217728);if(t!==null){var n=Ee();ct(t,e,134217728,n)}jc(e,134217728)}};bp=function(e){if(e.tag===13){var t=Qt(e),n=Et(e,t);if(n!==null){var r=Ee();ct(n,e,t,r)}jc(e,t)}};Cp=function(){return $};Pp=function(e,t){var n=$;try{return $=e,t()}finally{$=n}};Ra=function(e,t,n){switch(t){case"input":if(Ta(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=cs(r);if(!i)throw Error(T(90));np(r),Ta(r,i)}}}break;case"textarea":ip(e,n);break;case"select":t=n.value,t!=null&&tr(e,!!n.multiple,t,!1)}};dp=bc;fp=jn;var zv={usingClientEntryPoint:!1,Events:[ki,Wn,cs,cp,up,bc]},Nr={findFiberByHostInstance:vn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Fv={bundleType:Nr.bundleType,version:Nr.version,rendererPackageName:Nr.rendererPackageName,rendererConfig:Nr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Lt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=hp(e),e===null?null:e.stateNode},findFiberByHostInstance:Nr.findFiberByHostInstance||Iv,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Gi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Gi.isDisabled&&Gi.supportsFiber)try{os=Gi.inject(Fv),mt=Gi}catch{}}Ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=zv;Ge.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ac(t))throw Error(T(200));return Rv(e,t,null,n)};Ge.createRoot=function(e,t){if(!Ac(e))throw Error(T(299));var n=!1,r="",i=Ym;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Tc(e,1,!1,null,null,n,!1,r,i),e[jt]=t.current,ii(e.nodeType===8?e.parentNode:e),new Ec(t)};Ge.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(T(188)):(e=Object.keys(e).join(","),Error(T(268,e)));return e=hp(t),e=e===null?null:e.stateNode,e};Ge.flushSync=function(e){return jn(e)};Ge.hydrate=function(e,t,n){if(!ys(t))throw Error(T(200));return xs(null,e,t,!0,n)};Ge.hydrateRoot=function(e,t,n){if(!Ac(e))throw Error(T(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=Ym;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=Gm(t,null,e,1,n??null,i,!1,o,s),e[jt]=t.current,ii(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new vs(t)};Ge.render=function(e,t,n){if(!ys(t))throw Error(T(200));return xs(null,e,t,!1,n)};Ge.unmountComponentAtNode=function(e){if(!ys(e))throw Error(T(40));return e._reactRootContainer?(jn(function(){xs(null,null,e,!1,function(){e._reactRootContainer=null,e[jt]=null})}),!0):!1};Ge.unstable_batchedUpdates=bc;Ge.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ys(n))throw Error(T(200));if(e==null||e._reactInternals===void 0)throw Error(T(38));return xs(e,t,n,!1,r)};Ge.version="18.3.1-next-f1338f8080-20240426";function Km(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Km)}catch(e){console.error(e)}}Km(),Kf.exports=Ge;var ws=Kf.exports;const Ov=Vf(ws);var fd=ws;wa.createRoot=fd.createRoot,wa.hydrateRoot=fd.hydrateRoot;function Jm(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Jm(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Qm(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Jm(e))&&(r&&(r+=" "),r+=t);return r}
40function _v(){for(var e=0,t,n,r="";e<arguments.length;)(t=arguments[e++])&&(n=Xm(t))&&(r&&(r+=" "),r+=n);return r}function Xm(e){if(typeof e=="string")return e;for(var t,n="",r=0;r<e.length;r++)e[r]&&(t=Xm(e[r]))&&(n&&(n+=" "),n+=t);return n}var Mc="-";function Bv(e){var t=Uv(e),n=e.conflictingClassGroups,r=e.conflictingClassGroupModifiers,i=r===void 0?{}:r;function o(a){var l=a.split(Mc);return l[0]===""&&l.length!==1&&l.shift(),Zm(l,t)||Hv(a)}function s(a,l){var c=n[a]||[];return l&&i[a]?[].concat(c,i[a]):c}return{getClassGroupId:o,getConflictingClassGroupIds:s}}function Zm(e,t){var s;if(e.length===0)return t.classGroupId;var n=e[0],r=t.nextPart.get(n),i=r?Zm(e.slice(1),r):void 0;if(i)return i;if(t.validators.length!==0){var o=e.join(Mc);return(s=t.validators.find(function(a){var l=a.validator;return l(o)}))==null?void 0:s.classGroupId}}var pd=/^\[(.+)\]$/;function Hv(e){if(pd.test(e)){var t=pd.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function Uv(e){var t=e.theme,n=e.prefix,r={nextPart:new Map,validators:[]},i=$v(Object.entries(e.classGroups),n);return i.forEach(function(o){var s=o[0],a=o[1];pl(a,r,s,t)}),r}function pl(e,t,n,r){e.forEach(function(i){if(typeof i=="string"){var o=i===""?t:md(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(Wv(i)){pl(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(function(s){var a=s[0],l=s[1];pl(l,md(t,a),n,r)})})}function md(e,t){var n=e;return t.split(Mc).forEach(function(r){n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function Wv(e){return e.isThemeGetter}function $v(e,t){return t?e.map(function(n){var r=n[0],i=n[1],o=i.map(function(s){return typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(function(a){var l=a[0],c=a[1];return[t+l,c]})):s});return[r,o]}):e}function Gv(e){if(e<1)return{get:function(){},set:function(){}};var t=0,n=new Map,r=new Map;function i(o,s){n.set(o,s),t++,t>e&&(t=0,r=n,n=new Map)}return{get:function(s){var a=n.get(s);if(a!==void 0)return a;if((a=r.get(s))!==void 0)return i(s,a),a},set:function(s,a){n.has(s)?n.set(s,a):i(s,a)}}}var qm="!";function Yv(e){var t=e.separator||":",n=t.length===1,r=t[0],i=t.length;return function(s){for(var a=[],l=0,c=0,d,f=0;f<s.length;f++){var p=s[f];if(l===0){if(p===r&&(n||s.slice(f,f+i)===t)){a.push(s.slice(c,f)),c=f+i;continue}if(p==="/"){d=f;continue}}p==="["?l++:p==="]"&&l--}var v=a.length===0?s:s.substring(c),x=v.startsWith(qm),y=x?v.substring(1):v,k=d&&d>c?d-c:void 0;return{modifiers:a,hasImportantModifier:x,baseClassName:y,maybePostfixModifierPosition:k}}}function Kv(e){if(e.length<=1)return e;var t=[],n=[];return e.forEach(function(r){var i=r[0]==="[";i?(t.push.apply(t,n.sort().concat([r])),n=[]):n.push(r)}),t.push.apply(t,n.sort()),t}function Jv(e){return{cache:Gv(e.cacheSize),splitModifiers:Yv(e),...Bv(e)}}var Qv=/\s+/;function Xv(e,t){var n=t.splitModifiers,r=t.getClassGroupId,i=t.getConflictingClassGroupIds,o=new Set;return e.trim().split(Qv).map(function(s){var a=n(s),l=a.modifiers,c=a.hasImportantModifier,d=a.baseClassName,f=a.maybePostfixModifierPosition,p=r(f?d.substring(0,f):d),v=!!f;if(!p){if(!f)return{isTailwindClass:!1,originalClassName:s};if(p=r(d),!p)return{isTailwindClass:!1,originalClassName:s};v=!1}var x=Kv(l).join(":"),y=c?x+qm:x;return{isTailwindClass:!0,modifierId:y,classGroupId:p,originalClassName:s,hasPostfixModifier:v}}).reverse().filter(function(s){if(!s.isTailwindClass)return!0;var a=s.modifierId,l=s.classGroupId,c=s.hasPostfixModifier,d=a+l;return o.has(d)?!1:(o.add(d),i(l,c).forEach(function(f){return o.add(a+f)}),!0)}).reverse().map(function(s){return s.originalClassName}).join(" ")}function Zv(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i,o,s=a;function a(c){var d=t[0],f=t.slice(1),p=f.reduce(function(v,x){return x(v)},d());return r=Jv(p),i=r.cache.get,o=r.cache.set,s=l,l(c)}function l(c){var d=i(c);if(d)return d;var f=Xv(c,r);return o(c,f),f}return function(){return s(_v.apply(null,arguments))}}function Q(e){var t=function(r){return r[e]||[]};return t.isThemeGetter=!0,t}var eh=/^\[(?:([a-z-]+):)?(.+)\]$/i,qv=/^\d+\/\d+$/,ey=new Set(["px","full","screen"]),ty=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ny=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ry=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function rt(e){return wn(e)||ey.has(e)||qv.test(e)||ml(e)}function ml(e){return Dn(e,"length",cy)}function iy(e){return Dn(e,"size",th)}function oy(e){return Dn(e,"position",th)}function sy(e){return Dn(e,"url",uy)}function Yi(e){return Dn(e,"number",wn)}function wn(e){return!Number.isNaN(Number(e))}function ay(e){return e.endsWith("%")&&wn(e.slice(0,-1))}function Tr(e){return hd(e)||Dn(e,"number",hd)}function _(e){return eh.test(e)}function jr(){return!0}function Rt(e){return ty.test(e)}function ly(e){return Dn(e,"",dy)}function Dn(e,t,n){var r=eh.exec(e);return r?r[1]?r[1]===t:n(r[2]):!1}function cy(e){return ny.test(e)}function th(){return!1}function uy(e){return e.startsWith("url(")}function hd(e){return Number.isInteger(Number(e))}function dy(e){return ry.test(e)}function fy(){var e=Q("colors"),t=Q("spacing"),n=Q("blur"),r=Q("brightness"),i=Q("borderColor"),o=Q("borderRadius"),s=Q("borderSpacing"),a=Q("borderWidth"),l=Q("contrast"),c=Q("grayscale"),d=Q("hueRotate"),f=Q("invert"),p=Q("gap"),v=Q("gradientColorStops"),x=Q("gradientColorStopPositions"),y=Q("inset"),k=Q("margin"),h=Q("opacity"),m=Q("padding"),g=Q("saturate"),S=Q("scale"),b=Q("sepia"),P=Q("skew"),C=Q("space"),N=Q("translate"),A=function(){return["auto","contain","none"]},M=function(){return["auto","hidden","clip","visible","scroll"]},W=function(){return["auto",_,t]},V=function(){return[_,t]},re=function(){return["",rt]},L=function(){return["auto",wn,_]},te=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},B=function(){return["solid","dashed","dotted","double","none"]},ue=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},j=function(){return["start","end","center","between","around","evenly","stretch"]},D=function(){return["","0",_]},F=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},R=function(){return[wn,Yi]},H=function(){return[wn,_]};return{cacheSize:500,theme:{colors:[jr],spacing:[rt],blur:["none","",Rt,_],brightness:R(),borderColor:[e],borderRadius:["n
40one","","full",Rt,_],borderSpacing:V(),borderWidth:re(),contrast:R(),grayscale:D(),hueRotate:H(),invert:D(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[ay,ml],inset:W(),margin:W(),opacity:R(),padding:V(),saturate:R(),scale:R(),sepia:D(),skew:H(),space:V(),translate:V()},classGroups:{aspect:[{aspect:["auto","square","video",_]}],container:["container"],columns:[{columns:[Rt]}],"break-after":[{"break-after":F()}],"break-before":[{"break-before":F()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(te(),[_])}],overflow:[{overflow:M()}],"overflow-x":[{"overflow-x":M()}],"overflow-y":[{"overflow-y":M()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Tr]}],basis:[{basis:W()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",_]}],grow:[{grow:D()}],shrink:[{shrink:D()}],order:[{order:["first","last","none",Tr]}],"grid-cols":[{"grid-cols":[jr]}],"col-start-end":[{col:["auto",{span:["full",Tr]},_]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[jr]}],"row-start-end":[{row:["auto",{span:[Tr]},_]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",_]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",_]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal"].concat(j())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(j(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(j(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],mt:[{mt:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-x":[{"space-x":[C]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[C]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",_,t]}],"min-w":[{"min-w":["min","max","fit",_,rt]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[Rt]},Rt,_]}],h:[{h:[_,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",_,rt]}],"max-h":[{"max-h":[_,t,"min","max","fit"]}],"font-size":[{text:["base",Rt,ml]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Yi]}],"font-family":[{font:[jr]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",_]}],"line-clamp":[{"line-clamp":["none",wn,Yi]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",_,rt]}],"list-image":[{"list-image":["none",_]}],"list-style-type":[{list:["none","disc","decimal",_]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(B(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",rt]}],"underline-offset":[{"underline-offset":["auto",_,rt]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",_]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",_]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(te(),[oy])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",iy]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},sy]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}
vendor: 5,065 bytes, line 40
40],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[].concat(B(),["hidden"])}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:B()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:[""].concat(B())}],"outline-offset":[{"outline-offset":[_,rt]}],"outline-w":[{outline:[rt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[rt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Rt,ly]}],"shadow-color":[{shadow:[jr]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":ue()}],"bg-blend":[{"bg-blend":ue()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Rt,_]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[g]}],sepia:[{sepia:[b]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[g]}],"backdrop-sepia":[{"backdrop-sepia":[b]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",_]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",_]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",_]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[Tr,_]}],"translate-x":[{"translate-x":[N]}],"translate-y":[{"translate-y":[N]}],"skew-x":[{"skew-x":[P]}],"skew-y":[{"skew-y":[P]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",_]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",_]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 4,943 bytes, line 40
40],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",_]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[rt,Yi]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var py=Zv(fy);function Rn(...e){return py(Qm(e))}function Be(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function gd(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function nh(...e){return t=>{let n=!1;const r=e.map(i=>{const o=gd(i,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let i=0;i<r.length;i++){const o=r[i];typeof o=="function"?o():gd(e[i],null)}}}}function En(...e){return w.useCallback(nh(...e),e)}function rh(e,t=[]){let n=[];function r(o,s){const a=w.createContext(s),l=n.length;n=[...n,s];const c=f=>{var h;const{scope:p,children:v,...x}=f,y=((h=p==null?void 0:p[e])==null?void 0:h[l])||a,k=w.useMemo(()=>x,Object.values(x));return u.jsx(y.Provider,{value:k,children:v})};c.displayName=o+"Provider";function d(f,p){var y;const v=((y=p==null?void 0:p[e])==null?void 0:y[l])||a,x=w.useContext(v);if(x)return x;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${o}\``)}return[c,d]}const i=()=>{const o=n.map(s=>w.createContext(s));return function(a){const l=(a==null?void 0:a[e])||o;return w.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,my(i,...t)]}function my(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const s=r.reduce((a,{useScope:l,scopeName:c})=>{const f=l(o)[`__scope${c}`];return{...a,...f}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function Go(e){const t=gy(e),n=w.forwardRef((r,i)=>{const{children:o,...s}=r,a=w.Children.toArray(o),l=a.find(yy);if(l){const c=l.props.children,d=a.map(f=>f===l?w.Children.count(c)>1?w.Children.only(null):w.isValidElement(c)?c.props.children:null:f);return u.jsx(t,{...s,ref:i,children:w.isValidElement(c)?w.cloneElement(c,void 0,d):null})}return u.jsx(t,{...s,ref:i,children:o})});return n.displayName=`${e}.Slot`,n}var hy=Go("Slot");function gy(e){const t=w.forwardRef((n,r)=>{const{children:i,...o}=n;if(w.isValidElement(i)){const s=wy(i),a=xy(o,i.props);return i.type!==w.Fragment&&(a.ref=r?nh(r,s):s),w.cloneElement(i,a)}return w.Children.count(i)>1?w.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var vy=Symbol("radix.slottable");function yy(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===vy}function xy(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...a)=>{const l=o(...a);return i(...a),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}
vendor: 9,308 bytes, line 40
40:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function wy(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Sy(e){const t=e+"CollectionProvider",[n,r]=rh(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=y=>{const{scope:k,children:h}=y,m=Z.useRef(null),g=Z.useRef(new Map).current;return u.jsx(i,{scope:k,itemMap:g,collectionRef:m,children:h})};s.displayName=t;const a=e+"CollectionSlot",l=Go(a),c=Z.forwardRef((y,k)=>{const{scope:h,children:m}=y,g=o(a,h),S=En(k,g.collectionRef);return u.jsx(l,{ref:S,children:m})});c.displayName=a;const d=e+"CollectionItemSlot",f="data-radix-collection-item",p=Go(d),v=Z.forwardRef((y,k)=>{const{scope:h,children:m,...g}=y,S=Z.useRef(null),b=En(k,S),P=o(d,h);return Z.useEffect(()=>(P.itemMap.set(S,{ref:S,...g}),()=>void P.itemMap.delete(S))),u.jsx(p,{[f]:"",ref:b,children:m})});v.displayName=d;function x(y){const k=o(e+"CollectionConsumer",y);return Z.useCallback(()=>{const m=k.collectionRef.current;if(!m)return[];const g=Array.from(m.querySelectorAll(`[${f}]`));return Array.from(k.itemMap.values()).sort((P,C)=>g.indexOf(P.ref.current)-g.indexOf(C.ref.current))},[k.collectionRef,k.itemMap])}return[{Provider:s,Slot:c,ItemSlot:v},x,r]}var ky=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],vt=ky.reduce((e,t)=>{const n=Go(`Primitive.${t}`),r=w.forwardRef((i,o)=>{const{asChild:s,...a}=i,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),u.jsx(l,{...a,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function ih(e,t){e&&ws.flushSync(()=>e.dispatchEvent(t))}function An(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function by(e,t=globalThis==null?void 0:globalThis.document){const n=An(e);w.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var Cy="DismissableLayer",hl="dismissableLayer.update",Py="dismissableLayer.pointerDownOutside",Ny="dismissableLayer.focusOutside",vd,oh=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),sh=w.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:s,onDismiss:a,...l}=e,c=w.useContext(oh),[d,f]=w.useState(null),p=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,v]=w.useState({}),x=En(t,C=>f(C)),y=Array.from(c.layers),[k]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),h=y.indexOf(k),m=d?y.indexOf(d):-1,g=c.layersWithOutsidePointerEventsDisabled.size>0,S=m>=h,b=jy(C=>{const N=C.target,A=[...c.branches].some(M=>M.contains(N));!S||A||(i==null||i(C),s==null||s(C),C.defaultPrevented||a==null||a())},p),P=Ey(C=>{const N=C.target;[...c.branches].some(M=>M.contains(N))||(o==null||o(C),s==null||s(C),C.defaultPrevented||a==null||a())},p);return by(C=>{m===c.layers.size-1&&(r==null||r(C),!C.defaultPrevented&&a&&(C.preventDefault(),a()))},p),w.useEffect(()=>{if(d)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(vd=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),yd(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=vd)}},[d,p,n,c]),w.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),yd())},[d,c]),w.useEffect(()=>{const C=()=>v({});return document.addEventListener(hl,C),()=>document.removeEventListener(hl,C)},[]),u.jsx(vt.div,{...l,ref:x,style:{pointerEvents:g?S?"auto":"none":void 0,...e.style},onFocusCapture:Be(e.onFocusCapture,P.onFocusCapture),onBlurCapture:Be(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:Be(e.onPointerDownCapture,b.onPointerDownCapture)})});sh.displayName=Cy;var Ty="DismissableLayerBranch",ah=w.forwardRef((e,t)=>{const n=w.useContext(oh),r=w.useRef(null),i=En(t,r);return w.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),u.jsx(vt.div,{...e,ref:i})});ah.displayName=Ty;function jy(e,t=globalThis==null?void 0:globalThis.document){const n=An(e),r=w.useRef(!1),i=w.useRef(()=>{});return w.useEffect(()=>{const o=a=>{if(a.target&&!r.current){let l=function(){lh(Py,n,c,{discrete:!0})};const c={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=l,t.addEventListener("click",i.current,{once:!0})):l()}else t.removeEventListener("click",i.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",o),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Ey(e,t=globalThis==null?void 0:globalThis.document){const n=An(e),r=w.useRef(!1);return w.useEffect(()=>{const i=o=>{o.target&&!r.current&&lh(Ny,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function yd(){const e=new CustomEvent(hl);document.dispatchEvent(e)}function lh(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?ih(i,o):i.dispatchEvent(o)}var Ay=sh,My=ah,pi=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},Ly="Portal",ch=w.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[i,o]=w.useState(!1);pi(()=>o(!0),[]);const s=n||i&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?Ov.createPortal(u.jsx(vt.div,{...r,ref:t}),s):null});ch.displayName=Ly;function Dy(e,t){return w.useReducer((n,r)=>t[n][r]??n,e)}var uh=e=>{const{present:t,children:n}=e,r=Ry(t),i=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),o=En(r.ref,Iy(i));return typeof n=="function"||r.isPresent?w.cloneElement(i,{ref:o}):null};uh.displayName="Presence";function Ry(e){const[t,n]=w.useState(),r=w.useRef(null),i=w.useRef(e),o=w.useRef("none"),s=e?"mounted":"unmounted",[a,l]=Dy(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const c=Ki(r.current);o.current=a==="mounted"?c:"none"},[a]),pi(()=>{const c=r.current,d=i.current;if(d!==e){const p=o.current,v=Ki(c);e?l("MOUNT"):v==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(d&&p!==v?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),pi(()=>{if(t){let c;const d=t.ownerDocument.defaultView??window,f=v=>{const y=Ki(r.current).includes(v.animationName);if(v.target===t&&y&&(l("ANIMATION_END"),!i.current)){const k=t.style.animationFillMode;t.style.animationFillMode="forwards",c=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=k)})}},p=v=>{v.target===t&&(o.current=Ki(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(c),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:w.useCallback(c=>{r.current=c?getComputedStyle(c):null,n(c)},[])}}function Ki(e){return(e==null?void 0:e.animationName)||"none"}function Iy(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Vy=jg[" useInsertionEffect ".trim().toString()]||pi;function zy({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,o,s]=Fy({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:i;{const d=w.useRef(e!==void 0);w.useEffect(()=>{const f=d.current;f!==a&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=a},[a,r])}const c=w.useCallback(d=>{var f;if(a){const p=Oy(d)?d(e):d;p!==e&&((f=s.current)==null||f.call(s,p))}else o(d)},[a,e,o,s]);return[l,c]}function Fy({defaultProp:e,onChange:t}){const[n,r]=w.useState(e),i=w.useRef(n),o=w.useRef(t);return Vy(()=>{o.current=t},[t]),w.useEffect(()=>{var s;i.current!==n&&((s=o.current)==null||s.call(o,n),i.current=n)},[n,i]),[n,r,o]}function Oy(e){return typeof e=="function"}var _y=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),By="VisuallyHidden",Lc=w.forwardRef((e,t)=>
40u.jsx(vt.span,{...e,ref:t,style:{..._y,...e.style}}));Lc.displayName=By;var Dc="ToastProvider",[Rc,Hy,Uy]=Sy("Toast"),[dh,H3]=rh("Toast",[Uy]),[Wy,Ss]=dh(Dc),fh=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:o=50,children:s}=e,[a,l]=w.useState(null),[c,d]=w.useState(0),f=w.useRef(!1),p=w.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Dc}\`. Expected non-empty \`string\`.`),u.jsx(Rc.Provider,{scope:t,children:u.jsx(Wy,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:o,toastCount:c,viewport:a,onViewportChange:l,onToastAdd:w.useCallback(()=>d(v=>v+1),[]),onToastRemove:w.useCallback(()=>d(v=>v-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:p,children:s})})};fh.displayName=Dc;var ph="ToastViewport",$y=["F8"],gl="toast.viewportPause",vl="toast.viewportResume",mh=w.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=$y,label:i="Notifications ({hotkey})",...o}=e,s=Ss(ph,n),a=Hy(n),l=w.useRef(null),c=w.useRef(null),d=w.useRef(null),f=w.useRef(null),p=En(t,f,s.onViewportChange),v=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),x=s.toastCount>0;w.useEffect(()=>{const k=h=>{var g;r.length!==0&&r.every(S=>h[S]||h.code===S)&&((g=f.current)==null||g.focus())};return document.addEventListener("keydown",k),()=>document.removeEventListener("keydown",k)},[r]),w.useEffect(()=>{const k=l.current,h=f.current;if(x&&k&&h){const m=()=>{if(!s.isClosePausedRef.current){const P=new CustomEvent(gl);h.dispatchEvent(P),s.isClosePausedRef.current=!0}},g=()=>{if(s.isClosePausedRef.current){const P=new CustomEvent(vl);h.dispatchEvent(P),s.isClosePausedRef.current=!1}},S=P=>{!k.contains(P.relatedTarget)&&g()},b=()=>{k.contains(document.activeElement)||g()};return k.addEventListener("focusin",m),k.addEventListener("focusout",S),k.addEventListener("pointermove",m),k.addEventListener("pointerleave",b),window.addEventListener("blur",m),window.addEventListener("focus",g),()=>{k.removeEventListener("focusin",m),k.removeEventListener("focusout",S),k.removeEventListener("pointermove",m),k.removeEventListener("pointerleave",b),window.removeEventListener("blur",m),window.removeEventListener("focus",g)}}},[x,s.isClosePausedRef]);const y=w.useCallback(({tabbingDirection:k})=>{const m=a().map(g=>{const S=g.ref.current,b=[S,...i2(S)];return k==="forwards"?b:b.reverse()});return(k==="forwards"?m.reverse():m).flat()},[a]);return w.useEffect(()=>{const k=f.current;if(k){const h=m=>{var b,P,C;const g=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!g){const N=document.activeElement,A=m.shiftKey;if(m.target===k&&A){(b=c.current)==null||b.focus();return}const V=y({tabbingDirection:A?"backwards":"forwards"}),re=V.findIndex(L=>L===N);ia(V.slice(re+1))?m.preventDefault():A?(P=c.current)==null||P.focus():(C=d.current)==null||C.focus()}};return k.addEventListener("keydown",h),()=>k.removeEventListener("keydown",h)}},[a,y]),u.jsxs(My,{ref:l,role:"region","aria-label":i.replace("{hotkey}",v),tabIndex:-1,style:{pointerEvents:x?void 0:"none"},children:[x&&u.jsx(yl,{ref:c,onFocusFromOutsideViewport:()=>{const k=y({tabbingDirection:"forwards"});ia(k)}}),u.jsx(Rc.Slot,{scope:n,children:u.jsx(vt.ol,{tabIndex:-1,...o,ref:p})}),x&&u.jsx(yl,{ref:d,onFocusFromOutsideViewport:()=>{const k=y({tabbingDirection:"backwards"});ia(k)}})]})});mh.displayName=ph;var hh="ToastFocusProxy",yl=w.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,o=Ss(hh,n);return u.jsx(Lc,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:s=>{var c;const a=s.relatedTarget;!((c=o.viewport)!=null&&c.contains(a))&&r()}})});yl.displayName=hh;var Ci="Toast",Gy="toast.swipeStart",Yy="toast.swipeMove",Ky="toast.swipeCancel",Jy="toast.swipeEnd",gh=w.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:o,...s}=e,[a,l]=zy({prop:r,defaultProp:i??!0,onChange:o,caller:Ci});return u.jsx(uh,{present:n||a,children:u.jsx(Zy,{open:a,...s,ref:t,onClose:()=>l(!1),onPause:An(e.onPause),onResume:An(e.onResume),onSwipeStart:Be(e.onSwipeStart,c=>{c.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Be(e.onSwipeMove,c=>{const{x:d,y:f}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","move"),c.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:Be(e.onSwipeCancel,c=>{c.currentTarget.setAttribute("data-swipe","cancel"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Be(e.onSwipeEnd,c=>{const{x:d,y:f}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","end"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),l(!1)})})})});gh.displayName=Ci;var[Qy,Xy]=dh(Ci,{onClose(){}}),Zy=w.forwardRef((e,t)=>
40{const{__scopeToast:n,type:r="foreground",duration:i,open:o,onClose:s,onEscapeKeyDown:a,onPause:l,onResume:c,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:p,onSwipeEnd:v,...x}=e,y=Ss(Ci,n),[k,h]=w.useState(null),m=En(t,L=>h(L)),g=w.useRef(null),S=w.useRef(null),b=i||y.duration,P=w.useRef(0),C=w.useRef(b),N=w.useRef(0),{onToastAdd:A,onToastRemove:M}=y,W=An(()=>{var te;(k==null?void 0:k.contains(document.activeElement))&&((te=y.viewport)==null||te.focus()),s()}),V=w.useCallback(L=>{!L||L===1/0||(window.clearTimeout(N.current),P.current=new Date().getTime(),N.current=window.setTimeout(W,L))},[W]);w.useEffect(()=>{const L=y.viewport;if(L){const te=()=>{V(C.current),c==null||c()},B=()=>{const ue=new Date().getTime()-P.current;C.current=C.current-ue,window.clearTimeout(N.current),l==null||l()};return L.addEventListener(gl,B),L.addEventListener(vl,te),()=>{L.removeEventListener(gl,B),L.removeEventListener(vl,te)}}},[y.viewport,b,l,c,V]),w.useEffect(()=>{o&&!y.isClosePausedRef.current&&V(b)},[o,b,y.isClosePausedRef,V]),w.useEffect(()=>(A(),()=>M()),[A,M]);const re=w.useMemo(()=>k?bh(k):null,[k]);return y.viewport?u.jsxs(u.Fragment,{children:[re&&u.jsx(qy,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:re}),u.jsx(Qy,{scope:n,onClose:W,children:ws.createPortal(u.jsx(Rc.ItemSlot,{scope:n,children:u.jsx(Ay,{asChild:!0,onEscapeKeyDown:Be(a,()=>{y.isFocusedToastEscapeKeyDownRef.current||W(),y.isFocusedToastEscapeKeyDownRef.current=!1}),children:u.jsx(vt.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":y.swipeDirection,...x,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Be(e.onKeyDown,L=>{L.key==="Escape"&&(a==null||a(L.nativeEvent),L.nativeEvent.defaultPrevented||(y.isFocusedToastEscapeKeyDownRef.current=!0,W()))}),onPointerDown:Be(e.onPointerDown,L=>{L.button===0&&(g.current={x:L.clientX,y:L.clientY})}),onPointerMove:Be(e.onPointerMove,L=>{if(!g.current)return;const te=L.clientX-g.current.x,B=L.clientY-g.current.y,ue=!!S.current,j=["left","right"].includes(y.swipeDirection),D=["left","up"].includes(y.swipeDirection)?Math.min:Math.max,F=j?D(0,te):0,R=j?0:D(0,B),H=L.pointerType==="touch"?10:2,Y={x:F,y:R},Fe={originalEvent:L,delta:Y};ue?(S.current=Y,Ji(Yy,f,Fe,{discrete:!1})):xd(Y,y.swipeDirection,H)?(S.current=Y,Ji(Gy,d,Fe,{discrete:!1}),L.target.setPointerCapture(L.pointerId)):(Math.abs(te)>H||Math.abs(B)>H)&&(g.current=null)}),onPointerUp:Be(e.onPointerUp,L=>{const te=S.current,B=L.target;if(B.hasPointerCapture(L.pointerId)&&B.releasePointerCapture(L.pointerId),S.current=null,g.current=null,te){const ue=L.currentTarget,j={originalEvent:L,delta:te};xd(te,y.swipeDirection,y.swipeThreshold)?Ji(Jy,v,j,{discrete:!0}):Ji(Ky,p,j,{discrete:!0}),ue.addEventListener("click",D=>D.preventDefault(),{once:!0})}})})})}),y.viewport)})]}):null}),qy=e=>{const{__scopeToast:t,children:n,...r}=e,i=Ss(Ci,t),[o,s]=w.useState(!1),[a,l]=w.useState(!1);return n2(()=>s(!0)),w.useEffect(()=>{const c=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(c)},[]),a?null:u.jsx(ch,{asChild:!0,children:u.jsx(Lc,{...r,children:o&&u.jsxs(u.Fragment,{children:[i.label," ",n]})})})},e2="ToastTitle",vh=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return u.jsx(vt.div,{...r,ref:t})});vh.displayName=e2;var t2="ToastDescription",yh=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return u.jsx(vt.div,{...r,ref:t})});yh.displayName=t2;var xh="ToastAction",wh=w.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?u.jsx(kh,{altText:n,asChild:!0,children:u.jsx(Ic,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${xh}\`. Expected non-empty \`string\`.`),null)});wh.displayName=xh;var Sh="ToastClose",Ic=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=Xy(Sh,n);return u.jsx(kh,{asChild:!0,children:u.jsx(vt.button,{type:"button",...r,ref:t,onClick:Be(e.onClick,i.onClose)})})});Ic.displayName=Sh;var kh=w.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return u.jsx(vt.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function bh(e){const t=[];
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),r2(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",o=r.dataset.radixToastAnnounceExclude==="";if(!i)if(o){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...bh(r))}}),t}function Ji(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,o=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?ih(i,o):i.dispatchEvent(o)}var xd=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),o=r>i;return t==="left"||t==="right"?o&&r>n:!o&&i>n};function n2(e=()=>{}){const t=An(e);pi(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function r2(e){return e.nodeType===e.ELEMENT_NODE}function i2(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ia(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var o2=fh,Ch=mh,Ph=gh,Nh=vh,Th=yh,jh=wh,Eh=Ic;const wd=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Sd=Qm,Ah=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Sd(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:o}=t,s=Object.keys(i).map(c=>{const d=n==null?void 0:n[c],f=o==null?void 0:o[c];if(d===null)return null;const p=wd(d)||wd(f);return i[c][p]}),a=n&&Object.entries(n).reduce((c,d)=>{let[f,p]=d;return p===void 0||(c[f]=p),c},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((c,d)=>{let{class:f,className:p,...v}=d;return Object.entries(v).every(x=>{let[y,k]=x;return Array.isArray(k)?k.includes({...o,...a}[y]):{...o,...a}[y]===k})?[...c,f,p]:c},[]);return Sd(e,s,l,n==null?void 0:n.class,n==null?void 0:n.className)};var s2={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const a2=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ee=(e,t)=>{const n=w.forwardRef(({color:r="currentColor",size:i=24,strokeWidth:o=2,absoluteStrokeWidth:s,children:a,...l},c)=>w.createElement("svg",{ref:c,...s2,width:i,height:i,stroke:r,strokeWidth:s?Number(o)*24/Number(i):o,className:`lucide lucide-${a2(e)}`,...l},[...t.map(([d,f])=>w.createElement(d,f)),...(Array.isArray(a)?a:[a])||[]]));return n.displayName=`${e}`,n},l2=ee("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]),c2=ee("Award",[["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}],["path",{d:"M15.477 12.89 17 22l-5-3-5 3 1.523-9.11",key:"em7aur"}]]),u2=ee("Book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20",key:"t4utmx"}]]),d2=ee("BrainCircuit",[["path",{d:"M12 4.5a2.5 2.5 0 0 0-4.96-.46 2.5 2.5 0 0 0-1.98 3 2.5 2.5 0 0 0-1.32 4.24 3 3 0 0 0 .34 5.58 2.5 2.5 0 0 0 2.96 3.08 2.5 2.5 0 0 0 4.91.05L12 20V4.5Z",key:"ixwj2a"}],["path",{d:"M16 8V5c0-1.1.9-2 2-2",key:"13dx7u"}],["path",{d:"M12 13h4",key:"1ku699"}],["path",{d:"M12 18h6a2 2 0 0 1 2 2v1",key:"105ag5"}],["path",{d:"M12 8h8",key:"1lhi5i"}],["path",{d:"M20.5 8a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z",key:"1s25gz"}],["path",{d:"M16.5 13a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z",key:"127460"}],["path",{d:"M20.5 21a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z",key:"fys062"}],["path",{d:"M18.5 3a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z",key:"1vib61"}]]),f2=ee("Brain",[["path",{d:"M9.5 2A2.5 2.5 0 0 1 12 4.5v15a2.5 2.5 0 0 1-4.96.44 2.5 2.5 0 0 1-2.96-3.08 3 3 0 0 1-.34-5.58 2.5 2.5 0 0 1 1.32-4.24 2.5 2.5 0 0 1 1.98-3A2.5 2.5 0 0 1 9.5 2Z",key:"1mhkh5"}],["path",{d:"M14.5 2A2.5 2.5 0 0 0 12 4.5v15a2.5 2.5 0 0 0 4.96.44 2.5 2.5 0 0 0 2.96-3.08 3 3 0 0 0 .34-5.58 2.5 2.5 0 0 0-1.32-4.24 2.5 2.5 0 0 0-1.98-3A2.5 2.5 0 0 0 14.5 2Z",key:"1d6s00"}]]),Yo=ee("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),p2=ee("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]),m2=ee("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),h2=ee("Code2",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]),Mh=ee("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]),g2=ee("Coins",[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]]),v2=ee("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]),mi=ee("ExternalLink",[["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}],["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["line",{x1:"10",x2:"21",y1:"14",y2:"3",key:"18c3s4"}]]),$r=ee("FileText",[["path",{d:"M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z",key:"1nnpy2"}],["polyline",{points:"14 2 14 8 20 8",key:"1ew0cm"}],["line",{x1:"16",x2:"8",y1:"13",y2:"13",key:"14keom"}],["line",{x1:"16",x2:"8",y1:"17",y2:"17",key:"17nazh"}],["line",{x1:"10",x2:"8",y1:"9",y2:"9",key:"1a5vjj"}]]),Lh=ee("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]),y2=ee("Headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]]),x2=ee("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]),xl=ee("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]),w2=ee("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]),S2=ee("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]),k2=ee("Puzzle",[["path",{d:"M19.439 7.85c-.049.322.059.648.289.878l1.568 1.568c.47.47.706 1.087.706 1.704s-.235 1.233-.706 1.704l-1.611 1.611a.98.98 0 0 1-.837.276c-.47-.07-.802-.48-.968-.925a2.501 2.501 0 1 0-3.214 3.214c.446.166.855.497.925.968a.979.979 0 0 1-.276.837l-1.61 1.61a2.404 2.404 0 0 1-1.705.707 2.402 2.402 0 0 1-1.704-.706l-1.568-1.568a1.026 1.026 0 0 0-.877-.29c-.493.074-.84.504-1.02.968a2.5 2.5 0 1 1-3.237-3.237c.464-.18.894-.527.967-1.02a1.026 1.026 0 0 0-.289-.877l-1.568-1.568A2.402 2.402 0 0 1 1.998 12c0-.617.236-1.234.706-1.704L4.23 8.77c.24-.24.581-.353.917-.303.515.077.877.528 1.073 1.01a2.5 2.5 0 1 0 3.259-3.259c-.482-.196-.933-.558-1.01-1.073-.05-.336.062-.676.303-.917l1.525-1.525A2.402 2.402 0 0 1 12 1.998c.617 0 1.234.236 1.704.706l1.568 1.568c.23.23.556.338.877.29.493-.074.84-.504 1.02-.968a2.5 2.5 0 1 1 3.237 3.237c-.464.18-.894.527-.967 1.02Z",key:"i0oyt7"}]]),b2=ee("Rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3
40kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]]),kd=ee("Trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]]),ks=ee("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),C2=ee("Zap",[["polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2",key:"45s27k"}]]),P2=o2,Dh=Z.forwardRef(({className:e,...t},n)=>u.jsx(Ch,{ref:n,className:Rn("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));Dh.displayName=Ch.displayName;const N2=Ah("data-[swipe=move]:transition-none group relative pointer-events-auto flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full data-[state=closed]:slide-out-to-right-full",{variants:{variant:{default:"bg-background border",destructive:"group destructive border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Rh=Z.forwardRef(({className:e,variant:t,...n},r)=>u.jsx(Ph,{ref:r,className:Rn(N2({variant:t}),e),...n}));Rh.displayName=Ph.displayName;const T2=Z.forwardRef(({className:e,...t},n)=>u.jsx(jh,{ref:n,className:Rn("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-destructive/30 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));T2.displayName=jh.displayName;const Ih=Z.forwardRef(({className:e,...t},n)=>u.jsx(Eh,{ref:n,className:Rn("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:u.jsx(ks,{className:"h-4 w-4"})}));Ih.displayName=Eh.displayName;const Vh=Z.forwardRef(({className:e,...t},n)=>u.jsx(Nh,{ref:n,className:Rn("text-sm font-semibold",e),...t}));Vh.displayName=Nh.displayName;const zh=Z.forwardRef(({className:e,...t},n)=>u.jsx(Th,{ref:n,className:Rn("text-sm opacity-90",e),...t}));zh.displayName=Th.displayName;const j2=1;let oa=0;function E2(){return oa=(oa+1)%Number.MAX_VALUE,oa.toString()}const Ne={state:{toasts:[]},listeners:[],getState:()=>Ne.state,setState:e=>{typeof e=="function"?Ne.state=e(Ne.state):Ne.state={...Ne.state,...e},Ne.listeners.forEach(t=>t(Ne.state))},subscribe:e=>(Ne.listeners.push(e),()=>{Ne.listeners=Ne.listeners.filter(t=>t!==e)})},A2=({...e})=>{const t=E2(),n=i=>Ne.setState(o=>({...o,toasts:o.toasts.map(s=>s.id===t?{...s,...i}:s)})),r=()=>Ne.setState(i=>({...i,toasts:i.toasts.filter(o=>o.id!==t)}));return Ne.setState(i=>({...i,toasts:[{...e,id:t,dismiss:r},...i.toasts].slice(0,j2)})),{id:t,dismiss:r,update:n}};function M2(){const[e,t]=w.useState(Ne.getState());return w.useEffect(()=>Ne.subscribe(r=>{t(r)}),[]),w.useEffect(()=>{const n=[];
40return e.toasts.forEach(r=>{if(r.duration===1/0)return;const i=setTimeout(()=>{r.dismiss()},r.duration||5e3);n.push(i)}),()=>{n.forEach(r=>clearTimeout(r))}},[e.toasts]),{toast:A2,toasts:e.toasts}}function L2(){const{toasts:e}=M2();return u.jsxs(P2,{children:[e.map(({id:t,title:n,description:r,action:i,...o})=>u.jsxs(Rh,{...o,children:[u.jsxs("div",{className:"grid gap-1",children:[n&&u.jsx(Vh,{children:n}),r&&u.jsx(zh,{children:r})]}),i,u.jsx(Ih,{})]},t)),u.jsx(Dh,{})]})}const Fh=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),bs=w.createContext({}),Cs=w.createContext(null),Ps=typeof document<"u",Vc=Ps?w.useLayoutEffect:w.useEffect,Oh=w.createContext({strict:!1}),zc=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),D2="framerAppearId",_h="data-"+zc(D2);function R2(e,t,n,r){const{visualElement:i}=w.useContext(bs),o=w.useContext(Oh),s=w.useContext(Cs),a=w.useContext(Fh).reducedMotion,l=w.useRef();r=r||o.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:a}));const c=l.current;w.useInsertionEffect(()=>{c&&c.update(n,s)});const d=w.useRef(!!(n[_h]&&!window.HandoffComplete));return Vc(()=>{c&&(c.render(),d.current&&c.animationState&&c.animationState.animateChanges())}),w.useEffect(()=>{c&&(c.updateFeatures(),!d.current&&c.animationState&&c.animationState.animateChanges(),d.current&&(d.current=!1,window.HandoffComplete=!0))}),c}function Xn(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function I2(e,t,n){return w.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Xn(n)&&(n.current=r))},[t])}function hi(e){return typeof e=="string"||Array.isArray(e)}function Ns(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Fc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Oc=["initial",...Fc];function Ts(e){return Ns(e.animate)||Oc.some(t=>hi(e[t]))}function Bh(e){return!!(Ts(e)||e.variants)}function V2(e,t){if(Ts(e)){const{initial:n,animate:r}=e;return{initial:n===!1||hi(n)?n:void 0,animate:hi(r)?r:void 0}}return e.inherit!==!1?t:{}}function z2(e){const{initial:t,animate:n}=V2(e,w.useContext(bs));return w.useMemo(()=>({initial:t,animate:n}),[bd(t),bd(n)])}function bd(e){return Array.isArray(e)?e.join(" "):e}const Cd={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},gi={};for(const e in Cd)gi[e]={isEnabled:t=>Cd[e].some(n=>!!t[n])};function F2(e){for(const t in e)gi[t]={...gi[t],...e[t]}}const _c=w.createContext({}),Hh=w.createContext({}),O2=Symbol.for("motionComponentSymbol");function _2({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&F2(e);function o(a,l){let c;const d={...w.useContext(Fh),...a,layoutId:B2(a)},{isStatic:f}=d,p=z2(a),v=r(a,f);if(!f&&Ps){p.visualElement=R2(i,v,d,t);const x=w.useContext(Hh),y=w.useContext(Oh).strict;p.visualElement&&(c=p.visualElement.loadFeatures(d,y,e,x))}return w.createElement(bs.Provider,{value:p},c&&p.visualElement?w.createElement(c,{visualElement:p.visualElement,...d}):null,n(i,a,I2(v,p.visualElement,l),v,f,p.visualElement))}const s=w.forwardRef(o);return s[O2]=i,s}function B2({layoutId:e}){const t=w.useContext(_c).id;return t&&e!==void 0?t+"-"+e:e}function H2(e){function t(r,i={}){return _2(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const U2=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Bc(e){return typeof e!="string"||e.includes("-")?!1:!!(U2.indexOf(e)>-1||/[A-Z]/.test(e))}const Ko={};function W2(e){Object.assign(Ko,e)}const Pi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],In=new Set(Pi);function Uh(e,{layout:t,layoutId:n}){return In.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Ko[e]||e==="opacity")}const ze=e=>!!(e&&e.getVelocity),$2={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},G2=Pi.length;function Y2(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let s=0;s<G2;s++){const a=Pi[s];if(e[a]!==void 0){const l=$2[a]||a;o+=`${l}(${e[a]}) `}}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),i?o=i(e,r?"":o):n&&r&&(o="none"),o}const Wh=e=>t=>typeof t=="string"&&t.startsWith(e),$h=Wh("--"),wl=Wh("var(--"),K2=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?
40:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,J2=(e,t)=>t&&typeof e=="number"?t.transform(e):e,nn=(e,t,n)=>Math.min(Math.max(n,e),t),Vn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Gr={...Vn,transform:e=>nn(0,1,e)},Qi={...Vn,default:1},Yr=e=>Math.round(e*1e5)/1e5,js=/(-)?([\d]*\.?[\d])+/g,Gh=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Q2=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Ni(e){return typeof e=="string"}const Ti=e=>({test:t=>Ni(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),It=Ti("deg"),gt=Ti("%"),z=Ti("px"),X2=Ti("vh"),Z2=Ti("vw"),Pd={...gt,parse:e=>gt.parse(e)/100,transform:e=>gt.transform(e*100)},Nd={...Vn,transform:Math.round},Yh={borderWidth:z,borderTopWidth:z,borderRightWidth:z,borderBottomWidth:z,borderLeftWidth:z,borderRadius:z,radius:z,borderTopLeftRadius:z,borderTopRightRadius:z,borderBottomRightRadius:z,borderBottomLeftRadius:z,width:z,maxWidth:z,height:z,maxHeight:z,size:z,top:z,right:z,bottom:z,left:z,padding:z,paddingTop:z,paddingRight:z,paddingBottom:z,paddingLeft:z,margin:z,marginTop:z,marginRight:z,marginBottom:z,marginLeft:z,rotate:It,rotateX:It,rotateY:It,rotateZ:It,scale:Qi,scaleX:Qi,scaleY:Qi,scaleZ:Qi,skew:It,skewX:It,skewY:It,distance:z,translateX:z,translateY:z,translateZ:z,x:z,y:z,z,perspective:z,transformPerspective:z,opacity:Gr,originX:Pd,originY:Pd,originZ:z,zIndex:Nd,fillOpacity:Gr,strokeOpacity:Gr,numOctaves:Nd};function Hc(e,t,n,r){const{style:i,vars:o,transform:s,transformOrigin:a}=e;let l=!1,c=!1,d=!0;for(const f in t){const p=t[f];if($h(f)){o[f]=p;continue}const v=Yh[f],x=J2(p,v);if(In.has(f)){if(l=!0,s[f]=x,!d)continue;p!==(v.default||0)&&(d=!1)}else f.startsWith("origin")?(c=!0,a[f]=x):i[f]=x}if(t.transform||(l||r?i.transform=Y2(e.transform,n,d,r):i.transform&&(i.transform="none")),c){const{originX:f="50%",originY:p="50%",originZ:v=0}=a;i.transformOrigin=`${f} ${p} ${v}`}}const Uc=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Kh(e,t,n){for(const r in t)!ze(t[r])&&!Uh(r,n)&&(e[r]=t[r])}function q2({transformTemplate:e},t,n){return w.useMemo(()=>{const r=Uc();return Hc(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function ex(e,t,n){const r=e.style||{},i={};return Kh(i,r,e),Object.assign(i,q2(e,t,n)),e.transformValues?e.transformValues(i):i}function tx(e,t,n){const r={},i=ex(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}const nx=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Jo(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||nx.has(e)}let Jh=e=>!Jo(e);function rx(e){e&&(Jh=t=>t.startsWith("on")?!Jo(t):e(t))}try{rx(require("@emotion/is-prop-valid").default)}catch{}function ix(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(Jh(i)||n===!0&&Jo(i)||!t&&!Jo(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function Td(e,t,n){return typeof e=="string"?e:z.transform(t+n*e)}function ox(e,t,n){const r=Td(t,e.x,e.width),i=Td(n,e.y,e.height);return`${r} ${i}`}const sx={offset:"stroke-dashoffset",array:"stroke-dasharray"},ax={offset:"strokeDashoffset",array:"strokeDasharray"};function lx(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?sx:ax;e[o.offset]=z.transform(-r);const s=z.transform(t),a=z.transform(n);e[o.array]=`${s} ${a}`}function Wc(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c}
40,d,f,p){if(Hc(e,c,d,p),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:v,style:x,dimensions:y}=e;v.transform&&(y&&(x.transform=v.transform),delete v.transform),y&&(i!==void 0||o!==void 0||x.transform)&&(x.transformOrigin=ox(y,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(v.x=t),n!==void 0&&(v.y=n),r!==void 0&&(v.scale=r),s!==void 0&&lx(v,s,a,l,!1)}const Qh=()=>({...Uc(),attrs:{}}),$c=e=>typeof e=="string"&&e.toLowerCase()==="svg";function cx(e,t,n,r){const i=w.useMemo(()=>{const o=Qh();return Wc(o,t,{enableHardwareAcceleration:!1},$c(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};Kh(o,e.style,e),i.style={...o,...i.style}}return i}function ux(e=!1){return(n,r,i,{latestValues:o},s)=>{const l=(Bc(n)?cx:tx)(r,o,s,n),d={...ix(r,typeof n=="string",e),...l,ref:i},{children:f}=r,p=w.useMemo(()=>ze(f)?f.get():f,[f]);return w.createElement(n,{...d,children:p})}}function Xh(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const Zh=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function qh(e,t,n,r){Xh(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(Zh.has(i)?i:zc(i),t.attrs[i])}function Gc(e,t){const{style:n}=e,r={};for(const i in n)(ze(n[i])||t.style&&ze(t.style[i])||Uh(i,e))&&(r[i]=n[i]);return r}function e0(e,t){const n=Gc(e,t);for(const r in e)if(ze(e[r])||ze(t[r])){const i=Pi.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[i]=e[r]}return n}function Yc(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}function t0(e){const t=w.useRef(null);return t.current===null&&(t.current=e()),t.current}const Qo=e=>Array.isArray(e),dx=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),fx=e=>Qo(e)?e[e.length-1]||0:e;function xo(e){const t=ze(e)?e.get():e;return dx(t)?t.toValue():t}function px({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const s={latestValues:mx(r,i,o,e),renderState:t()};return n&&(s.mount=a=>n(r,a,s)),s}const n0=e=>(t,n)=>{const r=w.useContext(bs),i=w.useContext(Cs),o=()=>px(e,t,r,i);return n?o():t0(o)};function mx(e,t,n,r){const i={},o=r(e,{});for(const p in o)i[p]=xo(o[p]);let{initial:s,animate:a}=e;const l=Ts(e),c=Bh(e);t&&c&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let d=n?n.initial===!1:!1;d=d||s===!1;const f=d?a:s;return f&&typeof f!="boolean"&&!Ns(f)&&(Array.isArray(f)?f:[f]).forEach(v=>{const x=Yc(e,v);if(!x)return;const{transitionEnd:y,transition:k,...h}=x;for(const m in h){let g=h[m];if(Array.isArray(g)){const S=d?g.length-1:0;g=g[S]}g!==null&&(i[m]=g)}for(const m in y)i[m]=y[m]}),i}const ce=e=>e;class jd{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function hx(e){let t=new jd,n=new jd,r=0,i=!1,o=!1;const s=new WeakSet,a={schedule:(l,c=!1,d=!1)=>{const f=d&&i,p=f?t:n;return c&&s.add(l),p.add(l)&&f&&i&&(r=t.order.length),l},cancel:l=>{n.remove(l),s.delete(l)},process:l=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let c=0;c<r;c++){const d=t.order[c];d(l),s.has(d)&&(a.schedule(d),e())}i=!1,o&&(o=!1,a.process(l))}};return a}const Xi=["prepare","read","update","preRender","render","postRender"],gx=40;function vx(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=Xi.reduce((f,p)=>(f[p]=hx(()=>n=!0),f),{}),s=f=>o[f].process(i),a=()=>{const f=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(f-i.timestamp,gx),1),i.timestamp=f,i.isProcessing=!0,Xi.forEach(s),i.isProcessing=!1,n&&t&&(r=!1,e(
40a))},l=()=>{n=!0,r=!0,i.isProcessing||e(a)};return{schedule:Xi.reduce((f,p)=>{const v=o[p];return f[p]=(x,y=!1,k=!1)=>(n||l(),v.schedule(x,y,k)),f},{}),cancel:f=>Xi.forEach(p=>o[p].cancel(f)),state:i,steps:o}}const{schedule:J,cancel:Mt,state:be,steps:sa}=vx(typeof requestAnimationFrame<"u"?requestAnimationFrame:ce,!0),yx={useVisualState:n0({scrapeMotionValuesFromProps:e0,createRenderState:Qh,onMount:(e,t,{renderState:n,latestValues:r})=>{J.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),J.render(()=>{Wc(n,r,{enableHardwareAcceleration:!1},$c(t.tagName),e.transformTemplate),qh(t,n)})}})},xx={useVisualState:n0({scrapeMotionValuesFromProps:Gc,createRenderState:Uc})};function wx(e,{forwardMotionProps:t=!1},n,r){return{...Bc(e)?yx:xx,preloadedFeatures:n,useRender:ux(t),createVisualElement:r,Component:e}}function kt(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const r0=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Es(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const Sx=e=>t=>r0(t)&&e(t,Es(t));function Ct(e,t,n,r){return kt(e,t,Sx(n),r)}const kx=(e,t)=>n=>t(e(n)),Zt=(...e)=>e.reduce(kx);function i0(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const Ed=i0("dragHorizontal"),Ad=i0("dragVertical");function o0(e){let t=!1;if(e==="y")t=Ad();else if(e==="x")t=Ed();else{const n=Ed(),r=Ad();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function s0(){const e=o0(!0);return e?(e(),!1):!0}class ln{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Md(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),i=(o,s)=>{if(o.pointerType==="touch"||s0())return;const a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t),a[r]&&J.update(()=>a[r](o,s))};return Ct(e.current,n,i,{passive:!e.getProps()[r]})}class bx extends ln{mount(){this.unmount=Zt(Md(this.node,!0),Md(this.node,!1))}unmount(){}}class Cx extends ln{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Zt(kt(this.node.current,"focus",()=>this.onFocus()),kt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const a0=(e,t)=>t?e===t?!0:a0(e,t.parentElement):!1;function aa(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Es(n))}class Px extends ln{constructor(){super(...arguments),this.removeStartListeners=ce,this.removeEndListeners=ce,this.removeAccessibleListeners=ce,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),o=Ct(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;const{onTap:c,onTapCancel:d,globalTapTarget:f}=this.node.getProps();J.update(()=>{!f&&!a0(this.node.current,a.target)?d&&d(a,l):c&&c(a,l)})},{passive:!(r.onTap||r.onPointerUp)}),s=Ct(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Zt(o,s),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=o=>{if(o.key!=="Enter"||this.isPressing)return;const s=a=>{a.key!=="Enter"||!this.checkPressEnd()||aa("up",(l,c)=>{const{onTap:d}=this.node.getProps();d&&J.update(()=>d(l,c))})};this.removeEndListeners(),this.removeEndListeners=kt(this.node.current,"keyup",s),aa("down",(a,l)=>{this.startPress(a,l)})},n=kt(this.node.current,"keydown",t),r=()=>{this.isPressing&&aa("cancel",(o,s)=>this.cancelPress(o,s))},i=kt(this.node.current,"blur",r);this.removeAccessibleListeners=Zt(n,i)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&J.update(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!s0()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&J.update(()=>r(t,n))}mount(){const t=this.node.getProps(),n=Ct(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=kt(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Zt(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Sl=new WeakMap,la=new WeakMap,Nx=e=>{const t=Sl.get(e.target);t&&t(e)},Tx=e=>{e.forEach(Nx)};function jx({root:e,...t}){const n=e||document;la.has(n)||la.set(n,{});const r=la.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Tx,{root:e,...t})),r[i]}function Ex(e,t,n){const r=jx(t);return Sl.set(e,n),r.observe(e),()=>{Sl.delete(e),r.unobserve(e)}}const Ax={some:0,all:1};class Mx extends ln{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:Ax[i]},a=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,o&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:d,onViewportLeave:f}=this.node.getProps(),p=c?d:f;p&&p(l)};return Ex(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(Lx(t,n))&&this.startObserver()}unmount(){}}function Lx({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Dx={inView:{Feature:Mx},tap:{Feature:Px},focus:{Feature:Cx},hover:{Feature:bx}};function l0(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Rx(e){const t={};
40return e.values.forEach((n,r)=>t[r]=n.get()),t}function Ix(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function As(e,t,n){const r=e.getProps();return Yc(r,t,n!==void 0?n:r.custom,Rx(e),Ix(e))}let Vx=ce,Kc=ce;const qt=e=>e*1e3,Pt=e=>e/1e3,zx={current:!1},c0=e=>Array.isArray(e)&&typeof e[0]=="number";function u0(e){return!!(!e||typeof e=="string"&&d0[e]||c0(e)||Array.isArray(e)&&e.every(u0))}const Ir=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,d0={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ir([0,.65,.55,1]),circOut:Ir([.55,0,1,.45]),backIn:Ir([.31,.01,.66,-.59]),backOut:Ir([.33,1.53,.69,.99])};function f0(e){if(e)return c0(e)?Ir(e):Array.isArray(e)?e.map(f0):d0[e]}function Fx(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:s="loop",ease:a,times:l}={}){const c={[t]:n};l&&(c.offset=l);const d=f0(a);return Array.isArray(d)&&(c.easing=d),e.animate(c,{delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:s==="reverse"?"alternate":"normal"})}function Ox(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const p0=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,_x=1e-7,Bx=12;function Hx(e,t,n,r,i){let o,s,a=0;do s=t+(n-t)/2,o=p0(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>_x&&++a<Bx);return s}function ji(e,t,n,r){if(e===t&&n===r)return ce;const i=o=>Hx(o,0,1,e,n);return o=>o===0||o===1?o:p0(i(o),t,r)}const Ux=ji(.42,0,1,1),Wx=ji(0,0,.58,1),m0=ji(.42,0,.58,1),$x=e=>Array.isArray(e)&&typeof e[0]!="number",h0=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,g0=e=>t=>1-e(1-t),Jc=e=>1-Math.sin(Math.acos(e)),v0=g0(Jc),Gx=h0(Jc),y0=ji(.33,1.53,.69,.99),Qc=g0(y0),Yx=h0(Qc),Kx=e=>(e*=2)<1?.5*Qc(e):.5*(2-Math.pow(2,-10*(e-1))),Jx={linear:ce,easeIn:Ux,easeInOut:m0,easeOut:Wx,circIn:Jc,circInOut:Gx,circOut:v0,backIn:Qc,backInOut:Yx,backOut:y0,anticipate:Kx},Ld=e=>{if(Array.isArray(e)){Kc(e.length===4);const[t,n,r,i]=e;return ji(t,n,r,i)}else if(typeof e=="string")return Jx[e];return e},Xc=(e,t)=>n=>!!(Ni(n)&&Q2.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),x0=(e,t,n)=>r=>{if(!Ni(r))return r;const[i,o,s,a]=r.match(js);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},Qx=e=>nn(0,255,e),ca={...Vn,transform:e=>Math.round(Qx(e))},Sn={test:Xc("rgb","red"),parse:x0("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ca.transform(e)+", "+ca.transform(t)+", "+ca.transform(n)+", "+Yr(Gr.transform(r))+")"};function Xx(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const kl={test:Xc("#"),parse:Xx,transform:Sn.transform},Zn={test:Xc("hsl","hue"),parse:x0("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+gt.transform(Yr(t))+", "+gt.transform(Yr(n))+", "+Yr(Gr.transform(r))+")"},Te={test:e=>Sn.test(e)||kl.test(e)||Zn.test(e),parse:e=>Sn.test(e)?Sn.parse(e):Zn.test(e)?Zn.parse(e):kl.parse(e),transform:e=>Ni(e)?e:e.hasOwnProperty("red")?Sn.transform(e):Zn.transform(e)},oe=(e,t,n)=>-n*e+n*t+e;function ua(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Zx({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,s=0;if(!t)i=o=s=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=ua(l,a,e+1/3),o=ua(l,a,e),s=ua(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}const da=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},qx=[kl,Sn,Zn],e4=e=>qx.find(t=>t.test(e));function Dd(e){const t=e4(e);let n=t.parse(e);return t===Zn&&(n=Zx(n)),n}const w0=(e,t)=>{const n=Dd(e),r=Dd(t),i={...n};return o=>(i.red=da(n.red,r.red,o),i.green=da(n.green,r.green,o),i.blue=da(n.blue,r.blue,o),i.alpha=oe(n.alpha,r.alpha,o),Sn.transform(i))};function t4(e){var t,n;return isNaN(e)&&Ni(e)&&(((t=e.match(js))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(Gh))===null||n===void 0?void 0:n.length)||0)>0}const S0={regex:K2,countKey:"Vars",token:"${v}",parse:ce},k0={regex:Gh,countKey:"Colors",token:"${c}",parse:Te.parse},b0={regex:js,countKey:"Numbers",token:"${n}",parse:Vn.parse};function fa(e,{regex:t,countKey:n,token:r,parse:i}){const o=e.tokenised.match(t);o&&(e["num"+n]=o.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...o.map(i)))}function Xo(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&fa(n,S0),fa(n,k0),fa(n,b0),n}function C0(e){return Xo(e).values}function P0(e){const{values:t,numColors:n,numVars:r,tokenised:i}=Xo(e),o=t.length;return s=>{let a=i;for(let l=0;l<o;l++)l<r?a=a.replace(S0.token,s[l]):l<r+n?a=a.replace(k0.token,Te.transform(s[l])):a=a.replace(b0.token,Yr(s[l]));return a}}const n4=e=>typeof e=="number"?0:e;function r4(e){const t=C0(e);return P0(e)(t.map(n4))}
40const rn={test:t4,parse:C0,createTransformer:P0,getAnimatableNone:r4},N0=(e,t)=>n=>`${n>0?t:e}`;function T0(e,t){return typeof e=="number"?n=>oe(e,t,n):Te.test(e)?w0(e,t):e.startsWith("var(")?N0(e,t):E0(e,t)}const j0=(e,t)=>{const n=[...e],r=n.length,i=e.map((o,s)=>T0(o,t[s]));return o=>{for(let s=0;s<r;s++)n[s]=i[s](o);return n}},i4=(e,t)=>{const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=T0(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}},E0=(e,t)=>{const n=rn.createTransformer(t),r=Xo(e),i=Xo(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?Zt(j0(r.values,i.values),n):N0(e,t)},vi=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Rd=(e,t)=>n=>oe(e,t,n);function o4(e){return typeof e=="number"?Rd:typeof e=="string"?Te.test(e)?w0:E0:Array.isArray(e)?j0:typeof e=="object"?i4:Rd}function s4(e,t,n){const r=[],i=n||o4(e[0]),o=e.length-1;for(let s=0;s<o;s++){let a=i(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]||ce:t;a=Zt(l,a)}r.push(a)}return r}function A0(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(Kc(o===t.length),o===1)return()=>t[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=s4(t,r,i),a=s.length,l=c=>{let d=0;if(a>1)for(;d<e.length-2&&!(c<e[d+1]);d++);const f=vi(e[d],e[d+1],c);return s[d](f)};return n?c=>l(nn(e[0],e[o-1],c)):l}function a4(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=vi(0,t,r);e.push(oe(n,1,i))}}function l4(e){const t=[0];return a4(t,e.length-1),t}function c4(e,t){return e.map(n=>n*t)}function u4(e,t){return e.map(()=>t||m0).splice(0,e.length-1)}function Zo({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=$x(r)?r.map(Ld):Ld(r),o={done:!1,value:t[0]},s=c4(n&&n.length===t.length?n:l4(t),e),a=A0(s,t,{ease:Array.isArray(i)?i:u4(t,i)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}function M0(e,t){return t?e*(1e3/t):0}const d4=5;function L0(e,t,n){const r=Math.max(t-d4,0);return M0(n-e(r),t-r)}const pa=.001,f4=.01,Id=10,p4=.05,m4=1;function h4({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;Vx(e<=qt(Id));let s=1-t;s=nn(p4,m4,s),e=nn(f4,Id,Pt(e)),s<1?(i=c=>{const d=c*s,f=d*e,p=d-n,v=bl(c,s),x=Math.exp(-f);return pa-p/v*x},o=c=>{const f=c*s*e,p=f*n+n,v=Math.pow(s,2)*Math.pow(c,2)*e,x=Math.exp(-f),y=bl(Math.pow(c,2),s);return(-i(c)+pa>0?-1:1)*((p-v)*x)/y}):(i=c=>{const d=Math.exp(-c*e),f=(c-n)*e+1;return-pa+d*f},o=c=>{const d=Math.exp(-c*e),f=(n-c)*(e*e);return d*f});const a=5/e,l=v4(i,o,a);if(e=qt(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const c=Math.pow(l,2)*r;return{stiffness:c,damping:s*2*Math.sqrt(r*c),duration:e}}}const g4=12;function v4(e,t,n){let r=n;for(let i=1;i<g4;i++)r=r-e(r)/t(r);return r}function bl(e,t){return e*Math.sqrt(1-t*t)}const y4=["duration","bounce"],x4=["stiffness","damping","mass"];function Vd(e,t){return t.some(n=>e[n]!==void 0)}function w4(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Vd(e,x4)&&Vd(e,y4)){const n=h4(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function D0({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],o=e[e.length-1],s={done:!1,value:i},{stiffness:a,damping:l,mass:c,duration:d,velocity:f,isResolvedFromDuration:p}=w4({...r,velocity:-Pt(r.velocity||0)}),v=f||0,x=l/(2*Math.sqrt(a*c)),y=o-i,k=Pt(Math.sqrt(a/c)),h=Math.abs(y)<5;n||(n=h?.01:2),t||(t=h?.005:.5);let m;if(x<1){const g=bl(k,x);m=S=>{const b=Math.exp(-x*k*S);return o-b*((v+x*k*y)/g*Math.sin(g*S)+y*Math.cos(g*S))}}else if(x===1)m=g=>o-Math.exp(-k*g)*(y+(v+k*y)*g);else{const g=k*Math.sqrt(x*x-1);m=S=>{const b=Math.exp(-x*k*S),P=Math.min(g*S,300);return o-b*((v+x*k*y)*Math.sinh(P)+g*y*Math.cosh(P))/g}}return{calculatedDuration:p&&d||null,next:g=>{const S=m(g);if(p)s.done=g>=d;else{let b=v;g!==0&&(x<1?b=L0(m,g,S):b=0);const P=Math.abs(b)<=n,C=Math.abs(o-S)<=t;s.done=P&&C}return s.value=s.done?o:S,s}}}function zd({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:d}){const f=e[0],p={done:!1,value:f},v=N=>a!==void 0&&N<a||l!==void 0&&N>l,x=N=>a===void 0?l:l===void 0||Math.abs(a-N)<Math.abs(l-N)?a:l;let y=n*t;
40const k=f+y,h=s===void 0?k:s(k);h!==k&&(y=h-f);const m=N=>-y*Math.exp(-N/r),g=N=>h+m(N),S=N=>{const A=m(N),M=g(N);p.done=Math.abs(A)<=c,p.value=p.done?h:M};let b,P;const C=N=>{v(p.value)&&(b=N,P=D0({keyframes:[p.value,x(p.value)],velocity:L0(g,N,p.value),damping:i,stiffness:o,restDelta:c,restSpeed:d}))};return C(0),{calculatedDuration:null,next:N=>{let A=!1;return!P&&b===void 0&&(A=!0,S(N),C(N)),b!==void 0&&N>b?P.next(N-b):(!A&&S(N),p)}}}const S4=e=>{const t=({timestamp:n})=>e(n);return{start:()=>J.update(t,!0),stop:()=>Mt(t),now:()=>be.isProcessing?be.timestamp:performance.now()}},Fd=2e4;function Od(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Fd;)t+=n,r=e.next(t);return t>=Fd?1/0:t}const k4={decay:zd,inertia:zd,tween:Zo,keyframes:Zo,spring:D0};function qo({autoplay:e=!0,delay:t=0,driver:n=S4,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:s=0,repeatType:a="loop",onPlay:l,onStop:c,onComplete:d,onUpdate:f,...p}){let v=1,x=!1,y,k;const h=()=>{k=new Promise(R=>{y=R})};h();let m;const g=k4[i]||Zo;let S;g!==Zo&&typeof r[0]!="number"&&(S=A0([0,100],r,{clamp:!1}),r=[0,100]);const b=g({...p,keyframes:r});let P;a==="mirror"&&(P=g({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let C="idle",N=null,A=null,M=null;b.calculatedDuration===null&&o&&(b.calculatedDuration=Od(b));const{calculatedDuration:W}=b;let V=1/0,re=1/0;W!==null&&(V=W+s,re=V*(o+1)-s);let L=0;const te=R=>{if(A===null)return;v>0&&(A=Math.min(A,R)),v<0&&(A=Math.min(R-re/v,A)),N!==null?L=N:L=Math.round(R-A)*v;const H=L-t*(v>=0?1:-1),Y=v>=0?H<0:H>re;L=Math.max(H,0),C==="finished"&&N===null&&(L=re);let Fe=L,zn=b;if(o){const Ms=Math.min(L,re)/V;let Ei=Math.floor(Ms),un=Ms%1;!un&&Ms>=1&&(un=1),un===1&&Ei--,Ei=Math.min(Ei,o+1),!!(Ei%2)&&(a==="reverse"?(un=1-un,s&&(un-=s/V)):a==="mirror"&&(zn=P)),Fe=nn(0,1,un)*V}const Oe=Y?{done:!1,value:r[0]}:zn.next(Fe);S&&(Oe.value=S(Oe.value));let{done:cn}=Oe;!Y&&W!==null&&(cn=v>=0?L>=re:L<=0);const dg=N===null&&(C==="finished"||C==="running"&&cn);return f&&f(Oe.value),dg&&j(),Oe},B=()=>{m&&m.stop(),m=void 0},ue=()=>{C="idle",B(),y(),h(),A=M=null},j=()=>{C="finished",d&&d(),B(),y()},D=()=>{if(x)return;m||(m=n(te));const R=m.now();l&&l(),N!==null?A=R-N:(!A||C==="finished")&&(A=R),C==="finished"&&h(),M=A,N=null,C="running",m.start()};e&&D();const F={then(R,H){return k.then(R,H)},get time(){return Pt(L)},set time(R){R=qt(R),L=R,N!==null||!m||v===0?N=R:A=m.now()-R/v},get duration(){const R=b.calculatedDuration===null?Od(b):b.calculatedDuration;return Pt(R)},get speed(){return v},set speed(R){R===v||!m||(v=R,F.time=Pt(L))},get state(){return C},play:D,pause:()=>{C="paused",N=L},stop:()=>{x=!0,C!=="idle"&&(C="idle",c&&c(),ue())},cancel:()=>{M!==null&&te(M),ue()},complete:()=>{C="finished"},sample:R=>(A=0,te(R))};return F}function b4(e){let t;return()=>(t===void 0&&(t=e()),t)}const C4=b4(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),P4=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Zi=10,N4=2e4,T4=(e,t)=>t.type==="spring"||e==="backgroundColor"||!u0(t.ease);function j4(e,t,{onUpdate:n,onComplete:r,...i}){if(!(C4()&&P4.has(t)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0&&i.type!=="inertia"))return!1;let s=!1,a,l,c=!1;const d=()=>{l=new Promise(g=>{a=g})};d();let{keyframes:f,duration:p=300,ease:v,times:x}=i;if(T4(t,i)){const g=qo({...i,repeat:0,delay:0});let S={done:!1,value:f[0]};const b=[];let P=0;for(;!S.done&&P<N4;)S=g.sample(P),b.push(S.value),P+=Zi;x=void 0,f=b,p=P-Zi,v="linear"}const y=Fx(e.owner.current,t,f,{...i,duration:p,ease:v,times:x}),k=()=>{c=!1,y.cancel()},h=()=>{c=!0,J.update(k),a(),d()};return y.onfinish=()=>{c||(e.set(Ox(f,i)),r&&r(),h())},{then(g,S){return l.then(g,S)},attachTimeline(g){return y.timeline=g,y.onfinish=null,ce},get time(){return Pt(y.currentTime||0)},set time(g){y.currentTime=qt(g)},get speed(){return y.playbackRate},set speed(g){y.playbackRate=g},get duration(){return Pt(p)},play:()=>{s||(y.play(),Mt(k))},pause:()=>y.pause(),stop:()=>{if(s=!0,y.playState==="idle")return;const{currentTime:g}=y;if(g){const S=qo({...i,autoplay:!1});e.setWithVelocity(S.sample(g-Zi).value,S.sample(g).value,Zi)}h()},complete:()=>{c||y.finish()},cancel:h}}function E4({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:ce,pause:ce,stop:ce,then:o=>(o(),Promise.resolve()),cancel:ce,complete:ce});return t?qo({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}const A4={type:"spring",stiffness:500,damping:25,restSpeed:10},M4=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),L4={type:"keyframes",duration:.8},D4={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},R4=(e,{keyframes:t})=>t.length>2?L4:In.has(e)?e.startsWith("scale")?M4(t[1]):A4:D4,Cl=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(rn.test(t)||t==="0")&&!t.startsWith("url(")),I4=ne
40w Set(["brightness","contrast","saturate","opacity"]);function V4(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(js)||[];if(!r)return e;const i=n.replace(r,"");let o=I4.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const z4=/([a-z-]*)\(.*?\)/g,Pl={...rn,getAnimatableNone:e=>{const t=e.match(z4);return t?t.map(V4).join(" "):e}},F4={...Yh,color:Te,backgroundColor:Te,outlineColor:Te,fill:Te,stroke:Te,borderColor:Te,borderTopColor:Te,borderRightColor:Te,borderBottomColor:Te,borderLeftColor:Te,filter:Pl,WebkitFilter:Pl},Zc=e=>F4[e];function R0(e,t){let n=Zc(e);return n!==Pl&&(n=rn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const I0=e=>/^0[^.\s]+$/.test(e);function O4(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||I0(e)}function _4(e,t,n,r){const i=Cl(t,n);let o;Array.isArray(n)?o=[...n]:o=[null,n];const s=r.from!==void 0?r.from:e.get();let a;const l=[];for(let c=0;c<o.length;c++)o[c]===null&&(o[c]=c===0?s:o[c-1]),O4(o[c])&&l.push(c),typeof o[c]=="string"&&o[c]!=="none"&&o[c]!=="0"&&(a=o[c]);if(i&&l.length&&a)for(let c=0;c<l.length;c++){const d=l[c];o[d]=R0(t,a)}return o}function B4({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:c,...d}){return!!Object.keys(d).length}function qc(e,t){return e[t]||e.default||e}const H4={skipAnimations:!1},eu=(e,t,n,r={})=>i=>{const o=qc(r,e)||{},s=o.delay||r.delay||0;let{elapsed:a=0}=r;a=a-qt(s);const l=_4(t,e,n,o),c=l[0],d=l[l.length-1],f=Cl(e,c),p=Cl(e,d);let v={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-a,onUpdate:x=>{t.set(x),o.onUpdate&&o.onUpdate(x)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(B4(o)||(v={...v,...R4(e,v)}),v.duration&&(v.duration=qt(v.duration)),v.repeatDelay&&(v.repeatDelay=qt(v.repeatDelay)),!f||!p||zx.current||o.type===!1||H4.skipAnimations)return E4(v);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const x=j4(t,e,v);if(x)return x}return qo(v)};function es(e){return!!(ze(e)&&e.add)}const V0=e=>/^\-?\d*\.?\d+$/.test(e);function tu(e,t){e.indexOf(t)===-1&&e.push(t)}function nu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class ru{constructor(){this.subscriptions=[]}add(t){return tu(this.subscriptions,t),()=>nu(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o<i;o++){const s=this.subscriptions[o];s&&s(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const U4=e=>!isNaN(parseFloat(e));class W4{constructor(t,n={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{this.prev=this.current,this.current=r;const{delta:o,timestamp:s}=be;this.lastUpdated!==s&&(this.timeDelta=o,this.lastUpdated=s,J.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>J.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=U4(this.current),this.owner=n.owner}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new ru);const r=this.events[t].add(n);return t==="change"?()=>{r(),J.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?M0(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function mr(e,t){return new W4(e,t)}const z0=e=>t=>t.test(e),$4={test:e=>e==="auto",parse:e=>e},F0=[Vn,z,gt,It,Z2,X2,$4],Er=e=>F0.find(z0(e)),G4=[...F0,Te,rn],Y4=e=>G4.find(z0(e));function K4(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,mr(n))}function J4(e,t){const n=As(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const s in o){const a=fx(o[s]);K4(e,s,a)}}function Q4(e,t,n){var r,i;const o=Object.keys(t).filter(a=>!e.hasValue(a)),s=o.length;if(s)for(let a=0;a<s;a++){const l=o[a],c=t[l];let d=null;Array.isArray(c)&&(d=c[0]),d===null&&(d=(i=(r=n[l])!==null&&r!==void 0?r:e.readValue(l))!==null&&i!==void 0?i:t[l]),d!=null&&(typeof d=="str
40ing"&&(V0(d)||I0(d))?d=parseFloat(d):!Y4(d)&&rn.test(c)&&(d=R0(l,c)),e.addValue(l,mr(d,{owner:e})),n[l]===void 0&&(n[l]=d),d!==null&&e.setBaseTarget(l,d))}}function X4(e,t){return t?(t[e]||t.default||t).from:void 0}function Z4(e,t,n){const r={};for(const i in e){const o=X4(i,t);if(o!==void 0)r[i]=o;else{const s=n.getValue(i);s&&(r[i]=s.get())}}return r}function q4({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function ew(e,t){const n=e.get();if(Array.isArray(t)){for(let r=0;r<t.length;r++)if(t[r]!==n)return!0}else return n!==t}function O0(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:s,...a}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");r&&(o=r);const c=[],d=i&&e.animationState&&e.animationState.getState()[i];for(const f in a){const p=e.getValue(f),v=a[f];if(!p||v===void 0||d&&q4(d,f))continue;const x={delay:n,elapsed:0,...qc(o||{},f)};if(window.HandoffAppearAnimations){const h=e.getProps()[_h];if(h){const m=window.HandoffAppearAnimations(h,f,p,J);m!==null&&(x.elapsed=m,x.isHandoff=!0)}}let y=!x.isHandoff&&!ew(p,v);if(x.type==="spring"&&(p.getVelocity()||x.velocity)&&(y=!1),p.animation&&(y=!1),y)continue;p.start(eu(f,p,v,e.shouldReduceMotion&&In.has(f)?{type:!1}:x));const k=p.animation;es(l)&&(l.add(f),k.then(()=>l.remove(f))),c.push(k)}return s&&Promise.all(c).then(()=>{s&&J4(e,s)}),c}function Nl(e,t,n={}){const r=As(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(O0(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=i;return tw(e,t,c+l,d,f,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[l,c]=a==="beforeChildren"?[o,s]:[s,o];return l().then(()=>c())}else return Promise.all([o(),s(n.delay)])}function tw(e,t,n=0,r=0,i=1,o){const s=[],a=(e.variantChildren.size-1)*r,l=i===1?(c=0)=>c*r:(c=0)=>a-c*r;return Array.from(e.variantChildren).sort(nw).forEach((c,d)=>{c.notify("AnimationStart",t),s.push(Nl(c,t,{...o,delay:n+l(d)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(s)}function nw(e,t){return e.sortNodePosition(t)}function rw(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>Nl(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=Nl(e,t,n);else{const i=typeof t=="function"?As(e,t,n.custom):t;r=Promise.all(O0(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}const iw=[...Fc].reverse(),ow=Fc.length;function sw(e){return t=>Promise.all(t.map(({animation:n,options:r})=>rw(e,n,r)))}function aw(e){let t=sw(e);const n=cw();let r=!0;const i=(l,c)=>{const d=As(e,c);if(d){const{transition:f,transitionEnd:p,...v}=d;l={...l,...v,...p}}return l};function o(l){t=l(e)}function s(l,c){const d=e.getProps(),f=e.getVariantContext(!0)||{},p=[],v=new Set;let x={},y=1/0;for(let h=0;h<ow;h++){const m=iw[h],g=n[m],S=d[m]!==void 0?d[m]:f[m],b=hi(S),P=m===c?g.isActive:null;P===!1&&(y=h);let C=S===f[m]&&S!==d[m]&&b;if(C&&r&&e.manuallyAnimateOnMount&&(C=!1),g.protectedKeys={...x},!g.isActive&&P===null||!S&&!g.prevProp||Ns(S)||typeof S=="boolean")continue;let A=lw(g.prevProp,S)||m===c&&g.isActive&&!C&&b||h>y&&b,M=!1;const W=Array.isArray(S)?S:[S];let V=W.reduce(i,{});P===!1&&(V={});const{prevResolvedValues:re={}}=g,L={...re,...V},te=B=>{A=!0,v.has(B)&&(M=!0,v.delete(B)),g.needsAnimating[B]=!0};for(const B in L){const ue=V[B],j=re[B];if(x.hasOwnProperty(B))continue;let D=!1;Qo(ue)&&Qo(j)?D=!l0(ue,j):D=ue!==j,D?ue!==void 0?te(B):v.add(B):ue!==void 0&&v.has(B)?te(B):g.protectedKeys[B]=!0}g.prevProp=S,g.prevResolvedValues=V,g.isActive&&(x={...x,...V}),r&&e.blockInitialAnimation&&(A=!1),A&&(!C||M)&&p.push(...W.map(B=>({animation:B,options:{type:m,...l}})))}if(v.size){const h={};v.forEach(m=>{const g=e.getBaseTarget(m);g!==void 0&&(h[m]=g)}),p.push({animation:h})}let k=!!p.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(k=!1),r=!1,k?t(p):Promise.resolve()}function a(l,c,d){var f;if(n[l].isActive===c)return Promise.resolve();(f=e.variantChildren)===null||f===void 0||f.forEach(v=>{var x;return(x=v.animationState)===null||x===void 0?void 0:x.setActive(l,c)}),n[l].isActive=c;const p=s(d,l);for(const v in n)n[v].protectedKeys={};return p}return{animateChanges:s,setActive:a,setAnimateFunction:o,getState:()=>n}}function lw(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!l0(t,e):!1}function dn(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function cw(){return{animate:dn(!0),whileInView:dn(),whileHover:dn(),whileTap:dn(),whileDrag:dn(),whileFocus:dn(),exit:dn()}}class uw extends ln{constructor(t){super(t),t.animationState||(t.animationState=aw(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();
vendor: 4,590 bytes, line 40
40this.unmount(),Ns(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let dw=0;class fw extends ln{constructor(){super(...arguments),this.id=dw++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const o=this.node.animationState.setActive("exit",!t,{custom:r??this.node.getProps().custom});n&&!t&&o.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const pw={animation:{Feature:uw},exit:{Feature:fw}},_d=(e,t)=>Math.abs(e-t);function mw(e,t){const n=_d(e.x,t.x),r=_d(e.y,t.y);return Math.sqrt(n**2+r**2)}class _0{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=ha(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,v=mw(f.offset,{x:0,y:0})>=3;if(!p&&!v)return;const{point:x}=f,{timestamp:y}=be;this.history.push({...x,timestamp:y});const{onStart:k,onMove:h}=this.handlers;p||(k&&k(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),h&&h(this.lastMoveEvent,f)},this.handlePointerMove=(f,p)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=ma(p,this.transformPagePoint),J.update(this.updatePoint,!0)},this.handlePointerUp=(f,p)=>{this.end();const{onEnd:v,onSessionEnd:x,resumeAnimation:y}=this.handlers;if(this.dragSnapToOrigin&&y&&y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const k=ha(f.type==="pointercancel"?this.lastMoveEventInfo:ma(p,this.transformPagePoint),this.history);this.startEvent&&v&&v(f,k),x&&x(f,k)},!r0(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const s=Es(t),a=ma(s,this.transformPagePoint),{point:l}=a,{timestamp:c}=be;this.history=[{...l,timestamp:c}];const{onSessionStart:d}=n;d&&d(t,ha(a,this.history)),this.removeListeners=Zt(Ct(this.contextWindow,"pointermove",this.handlePointerMove),Ct(this.contextWindow,"pointerup",this.handlePointerUp),Ct(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Mt(this.updatePoint)}}function ma(e,t){return t?{point:t(e.point)}:e}function Bd(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ha({point:e},t){return{point:e,delta:Bd(e,B0(t)),offset:Bd(e,hw(t)),velocity:gw(t,.1)}}function hw(e){return e[0]}function B0(e){return e[e.length-1]}function gw(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=B0(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>qt(t)));)n--;if(!r)return{x:0,y:0};const o=Pt(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function $e(e){return e.max-e.min}function Tl(e,t=0,n=.01){return Math.abs(e-t)<=n}function Hd(e,t,n,r=.5){e.origin=r,e.originPoint=oe(t.min,t.max,e.origin),e.scale=$e(n)/$e(t),(Tl(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=oe(n.min,n.max,e.origin)-e.originPoint,(Tl(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Kr(e,t,n,r){Hd(e.x,t.x,n.x,r?r.originX:void 0),Hd(e.y,t.y,n.y,r?r.originY:void 0)}function Ud(e,t,n){e.min=n.min+t.min,e.max=e.min+$e(t)}function vw(e,t,n){Ud(e.x,t.x,n.x),Ud(e.y,t.y,n.y)}function Wd(e,t,n){e.min=t.min-n.min,e.max=e.min+$e(t)}function Jr(e,t,n){Wd(e.x,t.x,n.x),Wd(e.y,t.y,n.y)}function yw(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?oe(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?oe(n,e,r.max):Math.min(e,n)),e}function $d(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function xw(e,{top:t,left:n,bottom:r,right:i}){return{x:$d(e.x,n,i),y:$d(e.y,t,r)}}function Gd(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function ww(e,t){return{x:Gd(e.x,t.x),y:Gd(e.y,t.y)}}function Sw(e,t){let n=.5;const r=$e(e),i=$e(t);return i>r?n=vi(t.min,t.max-r,e.min):r>i&&(n=vi(e.min,e.max-i,t.min)),nn(0,1,n)}function kw(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const jl=.35;function bw(e=jl){return e===!1?e=0:e===!0&&(e=jl),{x:Yd(e,"left","right"),y:Yd(e,"to
40p","bottom")}}function Yd(e,t,n){return{min:Kd(e,t),max:Kd(e,n)}}function Kd(e,t){return typeof e=="number"?e:e[t]||0}const Jd=()=>({translate:0,scale:1,origin:0,originPoint:0}),qn=()=>({x:Jd(),y:Jd()}),Qd=()=>({min:0,max:0}),fe=()=>({x:Qd(),y:Qd()});function Je(e){return[e("x"),e("y")]}function H0({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Cw({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Pw(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function ga(e){return e===void 0||e===1}function El({scale:e,scaleX:t,scaleY:n}){return!ga(e)||!ga(t)||!ga(n)}function mn(e){return El(e)||U0(e)||e.z||e.rotate||e.rotateX||e.rotateY}function U0(e){return Xd(e.x)||Xd(e.y)}function Xd(e){return e&&e!=="0%"}function ts(e,t,n){const r=e-n,i=t*r;return n+i}function Zd(e,t,n,r,i){return i!==void 0&&(e=ts(e,i,r)),ts(e,n,r)+t}function Al(e,t=0,n=1,r,i){e.min=Zd(e.min,t,n,r,i),e.max=Zd(e.max,t,n,r,i)}function W0(e,{x:t,y:n}){Al(e.x,t.translate,t.scale,t.originPoint),Al(e.y,n.translate,n.scale,n.originPoint)}function Nw(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let a=0;a<i;a++){o=n[a],s=o.projectionDelta;const l=o.instance;l&&l.style&&l.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&er(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,W0(e,s)),r&&mn(o.latestValues)&&er(e,o.latestValues))}t.x=qd(t.x),t.y=qd(t.y)}function qd(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Ft(e,t){e.min=e.min+t,e.max=e.max+t}function ef(e,t,[n,r,i]){const o=t[i]!==void 0?t[i]:.5,s=oe(e.min,e.max,o);Al(e,t[n],t[r],s,t.scale)}const Tw=["x","scaleX","originX"],jw=["y","scaleY","originY"];function er(e,t){ef(e.x,t,Tw),ef(e.y,t,jw)}function $0(e,t){return H0(Pw(e.getBoundingClientRect(),t))}function Ew(e,t,n){const r=$0(e,n),{scroll:i}=t;return i&&(Ft(r.x,i.offset.x),Ft(r.y,i.offset.y)),r}const G0=({current:e})=>e?e.ownerDocument.defaultView:null,Aw=new WeakMap;class Mw{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=fe(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=d=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Es(d,"page").point)},o=(d,f)=>{const{drag:p,dragPropagation:v,onDragStart:x}=this.getProps();if(p&&!v&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=o0(p),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Je(k=>{let h=this.getAxisMotionValue(k).get()||0;if(gt.test(h)){const{projection:m}=this.visualElement;if(m&&m.layout){const g=m.layout.layoutBox[k];g&&(h=$e(g)*(parseFloat(h)/100))}}this.originPoint[k]=h}),x&&J.update(()=>x(d,f),!1,!0);const{animationState:y}=this.visualElement;y&&y.setActive("whileDrag",!0)},s=(d,f)=>{const{dragPropagation:p,dragDirectionLock:v,onDirectionLock:x,onDrag:y}=this.getProps();if(!p&&!this.openGlobalLock)return;const{offset:k}=f;if(v&&this.currentDirection===null){this.currentDirection=Lw(k),this.currentDirection!==null&&x&&x(this.currentDirection);return}this.updateAxis("x",f.point,k),this.updateAxis("y",f.point,k),this.visualElement.render(),y&&y(d,f)},a=(d,f)=>this.stop(d,f),l=()=>Je(d=>{var f;return this.getAnimationState(d)==="paused"&&((f=this.getAxisMotionValue(d).animation)===null||f===void 0?void 0:f.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new _0(t,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,contextWindow:G0(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&J.update(()=>o(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!qi(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=yw(s,this.constraints[t],this.elastic[t])),o.set(s)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,o=this.constraints;n&&Xn(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=xw(i.layoutBox,n):this.constraints=!1,this.elastic=bw(r),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Je(s=>{this.getAxisMotionValue(s)&&(this.constraints[s]=kw(i.layoutBox[s],this.constraints[s])
vendor: 14,653 bytes, line 40
40)})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Xn(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=Ew(r,i.root,this.visualElement.getTransformPagePoint());let s=ww(i.layout.layoutBox,o);if(n){const a=n(Cw(s));this.hasMutatedConstraints=!!a,a&&(s=H0(a))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},c=Je(d=>{if(!qi(d,n,this.currentDirection))return;let f=l&&l[d]||{};s&&(f={min:0,max:0});const p=i?200:1e6,v=i?40:1e7,x={type:"inertia",velocity:r?t[d]:0,bounceStiffness:p,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10,...o,...f};return this.startAxisValueAnimation(d,x)});return Promise.all(c).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(eu(t,r,0,n))}stopAnimation(){Je(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Je(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n="_drag"+t.toUpperCase(),r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Je(n=>{const{drag:r}=this.getProps();if(!qi(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:a}=i.layout.layoutBox[n];o.set(t[n]-oe(s,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Xn(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Je(s=>{const a=this.getAxisMotionValue(s);if(a){const l=a.get();i[s]=Sw({min:l,max:l},this.constraints[s])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Je(s=>{if(!qi(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:c}=this.constraints[s];a.set(oe(l,c,i[s]))})}addListeners(){if(!this.visualElement.current)return;Aw.set(this.visualElement,this);const t=this.visualElement.current,n=Ct(t,"pointerdown",l=>{const{drag:c,dragListener:d=!0}=this.getProps();c&&d&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();Xn(l)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r();const s=kt(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(Je(d=>{const f=this.getAxisMotionValue(d);f&&(this.originPoint[d]+=l[d].translate,f.set(f.get()+l[d].translate))}),this.visualElement.render())});return()=>{s(),n(),o(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:s=jl,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:s,dragMomentum:a}}}function qi(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Lw(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Dw extends ln{constructor(t){super(t),this.removeGroupControls=ce,this.removeListeners=ce,this.controls=new Mw(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ce}unmount(){this.removeGroupControls(),this.removeListeners()}}const tf=e=>(t,n)=>{e&&J.update(()=>e(t,n))};class Rw extends ln{constructor(){super(...arguments),this.removePointerDownListener=ce}onPointerDown(t){this.session=new _0(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:G0(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:tf(t),onStart:tf(n),onMove:r,onEnd:(o,s)=>{delete this.session,i&&J.update(()=>i(o,s))}}}mount(){this.removePointerDownListener=Ct(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function Iw(){const e=w.useContext(Cs);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=w.useId();return w.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}const wo={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function nf(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ar={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(z.test(e))e=parseFloat(e);else return e;const n=nf(e,t.target.x),r=nf(e,t.target.y);return`${n}% ${r}%`}},Vw={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=rn.parse(e);if(i.length>5)return r;const o=rn.createTransformer(e),s=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=a,i[1+s]/=l;const c=oe(a,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=c),typeof i[3+s]=="number"&&(i[3+s]/=c),o(i)}};class zw extends Z.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;W2(Fw),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),wo.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,s=r.projection;return s&&(s.isPresent=o,i||t.layoutDependency!==n||n===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?s.promote():s.relegate()||J.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Y0(e){const[t,n]=Iw(),r=w.useContext(_c);return Z.createElement(zw,{...e,layoutGroup:r,switchLayoutGroup:w.useContext(Hh),isPresent:t,safeToRemove:n})}const Fw={borderRadius:{...Ar,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ar,borderTopRightRadius:Ar,borderBottomLeftRadius:Ar,borderBottomRightRadius:Ar,boxShadow:Vw},K0=["TopLeft","TopRight","BottomLeft","BottomRight"],Ow=K0.length,rf=e=>typeof e=="string"?parseFloat(e):e,of=e=>typeof e=="number"||z.test(e);function _w(e,t,n,r,i,o){i?(e.opacity=oe(0,n.opacity!==void 0?n.opacity:1,Bw(r)),e.opacityExit=oe(t.opacity!==void 0?t.opacity:1,0,Hw(r))):o&&(e.opacity=oe(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;s<Ow;s++){const a=`border${K0[s]}Radius`;let l=sf(t,a),c=sf(n,a);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||of(l)===of(c)?(e[a]=Math.max(oe(rf(l),rf(c),r),0),(gt.test(c)||gt.test(l))&&(e[a]+="%")):e[a]=c}(t.rotate||n.rotate)&&(e.rotate=oe(t.rotate||0,n.rotate||0,r))}function sf(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Bw=J0(0,.5,v0),Hw=J0(.5,.95,ce);function J0(e,t,n){return r=>r<e?0:r>t?1:n(vi(e,t,r))}function af(e,t){e.min=t.min,e.max=t.max}function Ke(e,t){af(e.x,t.x),af(e.y,t.y)}function lf(e,t,n,r,i){return e-=t,e=ts(e,1/n,r),i!==void 0&&(e=ts(e,1/i,r)),e}function Uw(e,t=0,n=1,r=.5,i,o=e,s=e){if(gt.test(t)&&(t=parseFloat(t),t=oe(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=oe(o.min,o.max,r);e===o&&(a-=t),e.min=lf(e.min,t,n,a,i),e.max=lf(e.max,t,n,a,i)}function cf(e,t,[n,r,i],o,s){Uw(e,t[n],t[r],t[i],t.scale,o,s)}const Ww=["x","scaleX","originX"],$w=["y","scaleY","originY"];function uf(e,t,n,r){cf(e.x,t,Ww,n?n.x:void 0,r?r.x:void 0),cf(e.y,t,$w,n?n.y:void 0,r?r.y:void 0)}function df(e){return e.translate===0&&e.scale===1}function Q0(e){return df(e.x)&&df(e.y)}function Gw(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function X0(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function ff(e){return $e(e.x)/$e(e.y)}class Yw{constructor(){this.members=[]}add(t){tu(this.members,t),t.scheduleRender()}remove(t){if(nu(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function pf(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:l,rotateX:c,rotateY:d}=n;l&&(r+=`rotate(${l}deg) `),c&&(r+=`rotateX(${c}deg) `),d&&(r+=`rotateY(${d}deg) `)}const s=e.x.scale*t.x,a=e.y.scale*t.y;return(s!==1||a!==1)&&(r+=`scale(${s}, ${a})`),r||"none"}const Kw=(e,t)=>e.depth-t.depth;class Jw{constructor(){this.children=[],this.isDirty=!1}add(t){tu(this.children,t),this.isDirty=!0}remove(t){nu(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Kw),this.isDirty=!1,this.children.forEach(t)}}function Qw(e,t){const n=performance.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Mt(r),e(o-t))};return J.read(r,!0),()=>Mt(r)}function Xw(e){window.MotionDebug&&window.MotionDebug.record(e)}function Zw(e){return e instanceof SVGElement&&e.tagName!=="svg"}function qw(e,t,n){const r=ze(e)?e:mr(e);return r.start(eu("",r,t,n)),r.animation}const mf=["","X","Y","Z"],e5={visibility:"hidden"},hf=1e3;let t5=0;const hn={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Z0({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},a=t==null?void 0:t()){this.id=t5++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,hn.totalNodes=hn.resolvedTargetDeltas=hn.recalculatedProjection=0,this.nodes.forEach(i5),this.nodes.forEach(c5),this.nodes.forEach(u5),this.nodes.forEach(o5),Xw(hn)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new Jw)}addEventListener(s,a){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new ru),this.eventHandlers.get(s).add(a)}notifyListeners(s,...a){const l=this.eventHandlers.get(s);l&&l.notify(...a)}hasListeners(s){return this.eventHandlers.has(s)}mount(s,a=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Zw(s),this.instance=s;const{layoutId:l,layout:c,visualElement:d}=this.options;if(d&&!d.current&&d.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),a&&(c||l)&&(this.isLayoutDirty=!0),e){let f;const p=()=>this.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=Qw(p,250),wo.hasAnimatedSinceResize&&(wo.hasAnimatedSinceResize=!1,this.nodes.forEach(vf))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&d&&(l||c)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:p,hasRelativeTargetChanged:v,layout:x})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const y=this.options.transition||d.getDefaultTransition()||h5,{onLayoutAnimationStart:k,onLayoutAnimationComplete:h}=d.getProps(),m=!this.targetLayout||!X0(this.targetLayout,x)||v,g=!p&&v;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||g||p&&(m||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,g);const S={...qc(y,"layout"),onPlay:k,onComplete:h};(d.shouldReduceMotion||this.options.layoutRoot)&&(S.delay=0,S.type=!1),this.startAnimation(S)}else p||vf(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=x})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Mt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEac
vendor: 4,687 bytes, line 40
40h(d5),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;d<this.path.length;d++){const f=this.path[d];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(gf);return}this.isUpdating||this.nodes.forEach(a5),this.isUpdating=!1,this.nodes.forEach(l5),this.nodes.forEach(n5),this.nodes.forEach(r5),this.clearAllSnapshots();const a=performance.now();be.delta=nn(0,1e3/60,a-be.timestamp),be.timestamp=a,be.isProcessing=!0,sa.update.process(be),sa.preRender.process(be),sa.render.process(be),be.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(s5),this.sharedNodes.forEach(f5)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,J.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){J.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=fe(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let a=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(a=!1),a&&(this.scroll={animationId:this.root.animationId,phase:s,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!i)return;const s=this.isLayoutDirty||this.shouldResetTransform,a=this.projectionDelta&&!Q0(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,d=c!==this.prevTransformTemplateValue;s&&(a||mn(this.latestValues)||d)&&(i(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return s&&(l=this.removeTransform(l)),g5(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return fe();const a=s.measureViewportBox(),{scroll:l}=this.root;return l&&(Ft(a.x,l.offset.x),Ft(a.y,l.offset.y)),a}removeElementScroll(s){const a=fe();Ke(a,s);for(let l=0;l<this.path.length;l++){const c=this.path[l],{scroll:d,options:f}=c;if(c!==this.root&&d&&f.layoutScroll){if(d.isRoot){Ke(a,s);const{scroll:p}=this.root;p&&(Ft(a.x,-p.offset.x),Ft(a.y,-p.offset.y))}Ft(a.x,d.offset.x),Ft(a.y,d.offset.y)}}return a}applyTransform(s,a=!1){const l=fe();Ke(l,s);for(let c=0;c<this.path.length;c++){const d=this.path[c];!a&&d.options.layoutScroll&&d.scroll&&d!==d.root&&er(l,{x:-d.scroll.offset.x,y:-d.scroll.offset.y}),mn(d.latestValues)&&er(l,d.latestValues)}return mn(this.latestValues)&&er(l,this.latestValues),l}removeTransform(s){const a=fe();Ke(a,s);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!c.instance||!mn(c.latestValues))continue;El(c.latestValues)&&c.updateSnapshot();const d=fe(),f=c.measurePageBox();Ke(d,f),uf(a,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,d)}return mn(this.latestValues)&&uf(a,this.latestValues),a}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==be.t
vendor: 9,599 bytes, line 40
40imestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var a;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==l;if(!(s||c&&this.isSharedProjectionDirty||this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:f,layoutId:p}=this.options;if(!(!this.layout||!(f||p))){if(this.resolvedRelativeTargetAt=be.timestamp,!this.targetDelta&&!this.relativeTarget){const v=this.getClosestProjectingParent();v&&v.layout&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=fe(),this.relativeTargetOrigin=fe(),Jr(this.relativeTargetOrigin,this.layout.layoutBox,v.layout.layoutBox),Ke(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=fe(),this.targetWithTransforms=fe()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),vw(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ke(this.target,this.layout.layoutBox),W0(this.target,this.targetDelta)):Ke(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const v=this.getClosestProjectingParent();v&&!!v.resumingFrom==!!this.resumingFrom&&!v.options.layoutScroll&&v.target&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=fe(),this.relativeTargetOrigin=fe(),Jr(this.relativeTargetOrigin,this.target,v.target),Ke(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}hn.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||El(this.parent.latestValues)||U0(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var s;const a=this.getLead(),l=!!this.resumingFrom||this!==a;let c=!0;if((this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===be.timestamp&&(c=!1),c)return;const{layout:d,layoutId:f}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(d||f))return;Ke(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,v=this.treeScale.y;Nw(this.layoutCorrected,this.treeScale,this.path,l),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox);const{target:x}=a;if(!x){this.projectionTransform&&(this.projectionDelta=qn(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=qn(),this.projectionDeltaWithTransform=qn());const y=this.projectionTransform;Kr(this.projectionDelta,this.layoutCorrected,x,this.latestValues),this.projectionTransform=pf(this.projectionDelta,this.treeScale),(this.projectionTransform!==y||this.treeScale.x!==p||this.treeScale.y!==v)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",x)),hn.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),s){const a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(s,a=!1){const l=this.snapshot,c=l?l.latestValues:{},d={...this.latestValues},f=qn();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const p=fe(),v=l?l.source:void 0,x=this.layout?this.layout.source:void 0,y=v!==x,k=this.getStack(),h=!k||k.members.length<=1,m=!!(y&&!h&&this.options.crossfade===!0&&!this.path.some(m5));this.animationProgress=0;let g;this.mixTargetDelta=S=>{const b=S/1e3;yf(f.x,s.x,b),yf(f.y,s.y,b),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Jr(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p5(this.relativeTarget,this.relativeTargetOrigin,p,b),g&&Gw(this.relativeTarget,g)&&(this.isProjectionDirty=!1),g||(g=fe()),Ke(g,this.relativeTarget)),y&&(this.animationValues=d,_w(d,c,this.latestValues,b,m,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=b},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Mt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=J.update(()=>{wo.hasAnimatedSinceResize=!0,this.currentAnimation=qw(0,hf,{...s,onUpdate:a=>{this.mixTargetDelta(a),s.onUpdate&&s.onUpdate(a)},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(hf),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:a,target:l,layout:c,latestValues:d}=s;if(!(!a||!l||!c)){if(this!==s&&this.layout&&c&&q0(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||fe();const f=$e(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+f;const p=$e(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+p}Ke(a,l),er(a,d),Kr(this.projectionDeltaWithTransform,this.layoutCorrected,a,d)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new Yw),this.sharedNodes.get(s).add(a);const c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var s;const{layoutId:a}=this.options;return a?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:a}=this.options;return a?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetRotation(){const{visualElement:s}=this.options;if(!s)return;let a=!1;const{latestValues:l}=s;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(a=!0),!a)return;const c={};for(let d=0;d<mf.length;d++){const f="rotate"+mf[d];l[f]&&(c[f]=l[f],s.setStaticValue(f,0))}s.render();for(const d in c)s.setStaticValue(d,c[d]);s.scheduleRender()}getProjectionStyles(s){var a,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return e5;const c={visibility:""},d=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=xo(s==null?void 0:s.pointerEvents)||"",c.transform=d?d(this.latestValues,""):"none",c;const f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){const y={};return this.options.layoutId&&(y.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,y.pointerEvents=xo(s==null?void 0:s.pointerEvents)||""),this.hasProjected&&!mn(this.latestValues)&&(y.transform=d?d({},""):"none",this.hasProjected=!1),y}const p=f.animationValues||f.latestValues;this.applyTransformsToTarget(),c.transform=pf(this.projectionDeltaWithTransform,this.treeScale,p),d&&(c.transform=d(p,c.transform));const{x:v,y:x}=this.projectionDelta;c.transformOrigin=`${v.origin*100}% ${x.origin*100}% 0`,f.animationValues?c.opacity=f===this?(l=(a=p.opacity)!==null&&a!==void 0?a:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:c.opacity=f===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const y in Ko){if(p[y]===void 0)continue;const{correct:k,applyTo:h}=Ko[y],m=c.transform==="none"?p[y]:k(p[y],f);if(h){const g=h.length;for(let S=0;S<g;S++)c[h[S]]=m}else c[y]=m}return this.options.layoutId&&(c.pointerEvents=f===this?xo(s==null?void 0:s.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var a;return(a=s.currentAnimation)===null||a===void 0?void 0:a.stop()}
40),this.root.nodes.forEach(gf),this.root.sharedNodes.clear()}}}function n5(e){e.updateLayout()}function r5(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:o}=e.options,s=n.source!==e.layout.source;o==="size"?Je(f=>{const p=s?n.measuredBox[f]:n.layoutBox[f],v=$e(p);p.min=r[f].min,p.max=p.min+v}):q0(o,n.layoutBox,r)&&Je(f=>{const p=s?n.measuredBox[f]:n.layoutBox[f],v=$e(r[f]);p.max=p.min+v,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+v)});const a=qn();Kr(a,r,n.layoutBox);const l=qn();s?Kr(l,e.applyTransform(i,!0),n.measuredBox):Kr(l,r,n.layoutBox);const c=!Q0(a);let d=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:p,layout:v}=f;if(p&&v){const x=fe();Jr(x,n.layoutBox,p.layoutBox);const y=fe();Jr(y,r,v.layoutBox),X0(x,y)||(d=!0),f.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=x,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:c,hasRelativeTargetChanged:d})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function i5(e){hn.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function o5(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function s5(e){e.clearSnapshot()}function gf(e){e.clearMeasurements()}function a5(e){e.isLayoutDirty=!1}function l5(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function vf(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function c5(e){e.resolveTargetDelta()}function u5(e){e.calcProjection()}function d5(e){e.resetRotation()}function f5(e){e.removeLeadSnapshot()}function yf(e,t,n){e.translate=oe(t.translate,0,n),e.scale=oe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function xf(e,t,n,r){e.min=oe(t.min,n.min,r),e.max=oe(t.max,n.max,r)}function p5(e,t,n,r){xf(e.x,t.x,n.x,r),xf(e.y,t.y,n.y,r)}function m5(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const h5={duration:.45,ease:[.4,0,.1,1]},wf=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),Sf=wf("applewebkit/")&&!wf("chrome/")?Math.round:ce;function kf(e){e.min=Sf(e.min),e.max=Sf(e.max)}function g5(e){kf(e.x),kf(e.y)}function q0(e,t,n){return e==="position"||e==="preserve-aspect"&&!Tl(ff(t),ff(n),.2)}const v5=Z0({attachResizeListener:(e,t)=>kt(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),va={current:void 0},eg=Z0({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!va.current){const e=new v5({});e.mount(window),e.setOptions({layoutScroll:!0}),va.current=e}return va.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),y5={pan:{Feature:Rw},drag:{Feature:Dw,ProjectionNode:eg,MeasureLayout:Y0}},x5=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function w5(e){const t=x5.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}function Ml(e,t,n=1){const[r,i]=w5(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const s=o.trim();return V0(s)?parseFloat(s):s}else return wl(i)?Ml(i,t,n+1):i}function S5(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(i=>{const o=i.get();if(!wl(o))return;const s=Ml(o,r);s&&i.set(s)});for(const i in t){const o=t[i];if(!wl(o))continue;const s=Ml(o,r);s&&(t[i]=s,n||(n={}),n[i]===void 0&&(n[i]=o))}return{target:t,transitionEnd:n}}const k5=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),tg=e=>k5.has(e),b5=e=>Object.keys(e).some(tg),bf=e=>e===Vn||e===z,Cf=(e,t)=>
40parseFloat(e.split(", ")[t]),Pf=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return Cf(i[1],t);{const o=r.match(/^matrix\((.+)\)$/);return o?Cf(o[1],e):0}},C5=new Set(["x","y","z"]),P5=Pi.filter(e=>!C5.has(e));function N5(e){const t=[];return P5.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const hr={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Pf(4,13),y:Pf(5,14)};hr.translateX=hr.x;hr.translateY=hr.y;const T5=(e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:s}=o,a={};s==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(c=>{a[c]=hr[c](r,o)}),t.render();const l=t.measureViewportBox();return n.forEach(c=>{const d=t.getValue(c);d&&d.jump(a[c]),e[c]=hr[c](l,o)}),e},j5=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(tg);let o=[],s=!1;const a=[];if(i.forEach(l=>{const c=e.getValue(l);if(!e.hasValue(l))return;let d=n[l],f=Er(d);const p=t[l];let v;if(Qo(p)){const x=p.length,y=p[0]===null?1:0;d=p[y],f=Er(d);for(let k=y;k<x&&p[k]!==null;k++)v?Kc(Er(p[k])===v):v=Er(p[k])}else v=Er(p);if(f!==v)if(bf(f)&&bf(v)){const x=c.get();typeof x=="string"&&c.set(parseFloat(x)),typeof p=="string"?t[l]=parseFloat(p):Array.isArray(p)&&v===z&&(t[l]=p.map(parseFloat))}else f!=null&&f.transform&&(v!=null&&v.transform)&&(d===0||p===0)?d===0?c.set(v.transform(d)):t[l]=f.transform(p):(s||(o=N5(e),s=!0),a.push(l),r[l]=r[l]!==void 0?r[l]:t[l],c.jump(p))}),a.length){const l=a.indexOf("height")>=0?window.pageYOffset:null,c=T5(t,e,a);return o.length&&o.forEach(([d,f])=>{e.getValue(d).set(f)}),e.render(),Ps&&l!==null&&window.scrollTo({top:l}),{target:c,transitionEnd:r}}else return{target:t,transitionEnd:r}};function E5(e,t,n,r){return b5(t)?j5(e,t,n,r):{target:t,transitionEnd:r}}const A5=(e,t,n,r)=>{const i=S5(e,t,r);return t=i.target,r=i.transitionEnd,E5(e,t,n,r)},Ll={current:null},ng={current:!1};function M5(){if(ng.current=!0,!!Ps)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Ll.current=e.matches;e.addListener(t),t()}else Ll.current=!1}function L5(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],s=n[i];if(ze(o))e.addValue(i,o),es(r)&&r.add(i);else if(ze(s))e.addValue(i,mr(o,{owner:e})),es(r)&&r.remove(i);else if(s!==o)if(e.hasValue(i)){const a=e.getValue(i);!a.hasAnimated&&a.set(o)}else{const a=e.getStaticValue(i);e.addValue(i,mr(a!==void 0?a:o,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const Nf=new WeakMap,rg=Object.keys(gi),D5=rg.length,Tf=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],R5=Oc.length;class I5{constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>J.render(this.render,!1,!0);const{latestValues:a,renderState:l}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=s,this.isControllingVariants=Ts(n),this.isVariantNode=Bh(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(n,{});for(const f in d){const p=d[f];a[f]!==void 0&&ze(p)&&(p.set(a[f],!1),es(c)&&c.add(f))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,Nf.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
vendor: 5,764 bytes, line 40
40h((n,r)=>this.bindToMotionValue(r,n)),ng.current||M5(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Ll.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Nf.delete(this.current),this.projection&&this.projection.unmount(),Mt(this.notifyUpdate),Mt(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const r=In.has(t),i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&J.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),o()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,i,o){let s,a;for(let l=0;l<D5;l++){const c=rg[l],{isEnabled:d,Feature:f,ProjectionNode:p,MeasureLayout:v}=gi[c];p&&(s=p),d(n)&&(!this.features[c]&&f&&(this.features[c]=new f(this)),v&&(a=v))}if((this.type==="html"||this.type==="svg")&&!this.projection&&s){this.projection=new s(this.latestValues,this.parent&&this.parent.projection);const{layoutId:l,layout:c,drag:d,dragConstraints:f,layoutScroll:p,layoutRoot:v}=n;this.projection.setOptions({layoutId:l,layout:c,alwaysMeasureLayout:!!d||f&&Xn(f),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof c=="string"?c:"both",initialPromotionConfig:o,layoutScroll:p,layoutRoot:v})}return a}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):fe()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<Tf.length;r++){const i=Tf[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o=t["on"+i];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=L5(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const r=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(r.initial=this.props.initial),r}const n={};for(let r=0;r<R5;r++){const i=Oc[r],o=this.props[i];(hi(o)||o===!1)&&(n[i]=o)}return n}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,n)),this.values.set(t,n),this.latestValues[t]=n.get()}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=mr(n,{owner:this}),this.addValue(t,r)),r}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,i=typeof r=="string"||typeof r=="object"?(n=Yc(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!ze(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new ru),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class ig extends I5{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:i},o){let s=Z4(r,t||{},this);if(i&&(n&&(n=i(n)),r&&(r=i(r)),s&&(s=i(s))),o){Q4(this,r,s);const a=A5(this,r,s,n);n=a.transitionEnd,r=a.target}return{transition:t,transitionEnd:n,...r}}}function V5(e){return window.getComputedStyle(e)}class z5 extends ig{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(In.has(n)){const r=Zc(n);return r&&r.default||0}else{const r=V5(t),i=($h(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}
40){return $0(t,n)}build(t,n,r,i){Hc(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,n){return Gc(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ze(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,i){Xh(t,n,r,i)}}class F5 extends ig{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(In.has(n)){const r=Zc(n);return r&&r.default||0}return n=Zh.has(n)?n:zc(n),t.getAttribute(n)}measureInstanceViewportBox(){return fe()}scrapeMotionValuesFromProps(t,n){return e0(t,n)}build(t,n,r,i){Wc(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){qh(t,n,r,i)}mount(t){this.isSVGTag=$c(t.tagName),super.mount(t)}}const O5=(e,t)=>Bc(e)?new F5(t,{enableHardwareAcceleration:!1}):new z5(t,{enableHardwareAcceleration:!0}),_5={layout:{ProjectionNode:eg,MeasureLayout:Y0}},B5={...pw,...Dx,...y5,..._5},I=H2((e,t)=>wx(e,t,B5,O5));function og(){const e=w.useRef(!1);return Vc(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function H5(){const e=og(),[t,n]=w.useState(0),r=w.useCallback(()=>{e.current&&n(t+1)},[t]);return[w.useCallback(()=>J.postRender(r),[r]),t]}class U5 extends w.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function W5({children:e,isPresent:t}){const n=w.useId(),r=w.useRef(null),i=w.useRef({width:0,height:0,top:0,left:0});return w.useInsertionEffect(()=>{const{width:o,height:s,top:a,left:l}=i.current;if(t||!r.current||!o||!s)return;r.current.dataset.motionPopId=n;const c=document.createElement("style");return document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
41          [data-motion-pop-id="${n}"] {
42            position: absolute !important;
43            width: ${o}px !important;
44            height: ${s}px !important;
45            top: ${a}px !important;
46            left: ${l}px !important;
47          }
48        `),()=>{document.head.removeChild(c)}},[t]),w.createElement(U5,{isPresent:t,childRef:r,sizeRef:i},w.cloneElement(e,{ref:r}))}const ya=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:s})=>{const a=t0($5),l=w.useId(),c=w.useMemo(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:d=>{a.set(d,!0);for(const f of a.values())if(!f)return;r&&r()},register:d=>(a.set(d,!1),()=>a.delete(d))}),o?void 0:[n]);return w.useMemo(()=>{a.forEach((d,f)=>a.set(f,!1))},[n]),w.useEffect(()=>{!n&&!a.size&&r&&r()},[n]),s==="popLayout"&&(e=w.createElement(W5,{isPresent:n},e)),w.createElement(Cs.Provider,{value:c},e)};function $5(){return new Map}function G5(e){return w.useEffect(()=>()=>e(),[])}const gn=e=>e.key||"";function Y5(e,t){e.forEach(n=>{const r=gn(n);t.set(r,n)})}function K5(e){const t=[];return w.Children.forEach(e,n=>{w.isValidElement(n)&&t.push(n)}),t}const Nt=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:i,presenceAffectsLayout:o=!0,mode:s="sync"})=>{const a=w.useContext(_c).forceRender||H5()[0],l=og(),c=K5(e);let d=c;const f=w.useRef(new Map).current,p=w.useRef(d),v=w.useRef(new Map).current,x=w.useRef(!0);if(Vc(()=>{x.current=!1,Y5(c,v),p.current=d}),G5(()=>{x.current=!0,v.clear(),f.clear()}),x.current)return w.createElement(w.Fragment,null,d.map(m=>w.createElement(ya,{key:gn(m),isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:o,mode:s},m)));d=[...d];const y=p.current.map(gn),k=c.map(gn),h=y.length;for(let m=0;m<h;m++){const g=y[m];k.indexOf(g)===-1&&!f.has(g)&&f.set(g,void 0)}return s==="wait"&&f.size&&(d=[]),f.forEach((m,g)=>{if(k.indexOf(g)!==-1)return;const S=v.get(g);if(!S)return;const b=y.indexOf(g);let P=m;if(!P){const C=()=>{f.delete(g);const N=Array.from(v.keys()).filter(A=>!k.includes(A));if(N.forEach(A=>v.delete(A)),p.current=c.filter(A=>{const M=gn(A);return M===g||N.includes(M)}
48),!f.size){if(l.current===!1)return;a(),r&&r()}};P=w.createElement(ya,{key:gn(S),isPresent:!1,onExitComplete:C,custom:t,presenceAffectsLayout:o,mode:s},S),f.set(g,P)}d.splice(b,0,P)}),d=d.map(m=>{const g=m.key;return f.has(g)?m:w.createElement(ya,{key:gn(m),isPresent:!0,presenceAffectsLayout:o,mode:s},m)}),w.createElement(w.Fragment,null,f.size?d:d.map(m=>w.cloneElement(m)))},J5=Ah("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Ut=Z.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},o)=>{const s=r?hy:"button";return u.jsx(s,{className:Rn(J5({variant:t,size:n,className:e})),ref:o,...i})});Ut.displayName="Button";const sg=(e,t=800)=>{const n=window.pageYOffset,r=e-n;let i=null;const o=a=>a<.5?8*a*a*a*a:1-8*--a*a*a*a,s=a=>{i===null&&(i=a);const l=a-i,c=Math.min(l/t,1);window.scrollTo(0,n+r*o(c)),c<1&&requestAnimationFrame(s)};requestAnimationFrame(s)},jf=({href:e,children:t,onNavigate:n})=>u.jsx("a",{href:e,className:"text-slate-300 hover:text-primary transition-colors duration-300 px-3 py-2 rounded-md text-sm font-medium",onClick:r=>{r.preventDefault();const i=document.querySelector(e);if(i){const s=i.offsetTop-80;sg(s,600)}n&&n()},children:t}),Q5=()=>{const[e,t]=w.useState(!1),[n,r]=w.useState(!1);w.useEffect(()=>{const o=()=>{r(window.scrollY>20)};return window.addEventListener("scroll",o),()=>window.removeEventListener("scroll",o)},[]);const i=[{href:"#hero",label:"Home"},{href:"#projects",label:"Projects"},{href:"#publications",label:"Publications"},{href:"#opensource",label:"Open Source"},{href:"#experience",label:"Experience"},{href:"#skills",label:"Skills"},{href:"#contact",label:"Contact"}];return u.jsxs(I.header,{initial:{y:-100},animate:{y:0},transition:{duration:.5,ease:"easeOut"},className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${n||e?"bg-slate-900/80 backdrop-blur-lg shadow-lg":"bg-transparent"}`,children:[u.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:u.jsxs("div",{className:"flex items-center justify-between h-20",children:[u.jsxs(I.a,{href:"#hero",className:"flex items-center space-x-2 text-2xl font-bold text-primary",whileHover:{scale:1.05},onClick:o=>{o.preventDefault(),sg(0,600)},children:[u.jsx(Mh,{size:32,className:"text-primary"}),u.jsx("span",{children:"BrianYang"})]}),u.jsx("nav",{className:"hidden md:flex space-x-4",children:i.map(o=>u.jsx(jf,{href:o.href,children:o.label},o.href))}),u.jsx("div",{className:"md:hidden",children:u.jsx(Ut,{variant:"ghost",size:"icon",onClick:()=>t(!e),children:e?u.jsx(ks,{className:"h-6 w-6 text-primary"}):u.jsx(S2,{className:"h-6 w-6 text-primary"})})})]})}),e&&u.jsx(I.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.3},className:"md:hidden bg-slate-900/90 backdrop-blur-md pb-4",children:u.jsx("nav",{className:"flex flex-col items-center space-y-2 px-4",children:i.map(o=>u.jsx(jf,{href:o.href,onNavigate:()=>t(!1),children:o.label},o.href))})})]})},Ef=(e,t=800)=>{const n=window.pageYOffset,r=e-n;let i=null;const o=a=>a<.5?8*a*a*a*a:1-8*--a*a*a*a,s=a=>{i===null&&(i=a);const l=a-i,c=Math.min(l/t,1);window.scrollTo(0,n+r*o(c)),c<1&&requestAnimationFrame(s)};requestAnimationFrame(s)},X5=()=>u.jsxs("section",{id:"hero",className:"relative min-h-screen flex items-center justify-center overflow-hidden bg-gradient-to-br from-slate-950 via-blue-950 to-slate-950 pt-20",children:[u.jsx("div",{className:"absolute inset-0 opacity-10",children:u.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",children:[u.jsx("defs",{children:u.jsx("pattern",{id:"heroGrid",width:"50",height:"50",patternUnits:"userSpaceOnUse",children:u.jsx("path",{d:"M 50 0 L 0 0 0 50",fill:"none",stroke:"rgba(167, 139, 250, 0.2)",strokeWidth:"1"})})}),u.jsx("rect",{width:"100%",height:"100%",fill:"url(#heroGrid)"})]})}),u.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 text-center relative z-10",children:u.jsxs(I.div,{initial:{opacity:0,y:50}
48,animate:{opacity:1,y:0},transition:{duration:.8,delay:.2,ease:"easeOut"},children:[u.jsxs("div",{className:"inline-flex items-center justify-center space-x-2 bg-primary/10 text-primary px-4 py-2 rounded-full text-sm mb-6 border border-primary/30",children:[u.jsx(d2,{size:18}),u.jsx("span",{children:"AI & Crypto Specialist"}),u.jsx(g2,{size:18})]}),u.jsxs("h1",{className:"text-5xl md:text-7xl font-extrabold mb-6",children:[u.jsx("span",{className:"block",children:"Innovating at the"}),u.jsx("span",{className:"block bg-clip-text text-transparent bg-gradient-to-r from-purple-400 via-pink-500 to-orange-400",children:"Intersection of AI & Crypto"})]}),u.jsx("p",{className:"text-lg md:text-xl text-slate-300 max-w-2xl mx-auto mb-10",children:"A seasoned Staff Engineer & Architect crafting next-generation decentralized applications and intelligent systems."}),u.jsxs("div",{className:"flex flex-col sm:flex-row justify-center items-center space-y-4 sm:space-y-0 sm:space-x-6",children:[u.jsx(I.div,{whileHover:{scale:1.05},whileTap:{scale:.95},children:u.jsxs(Ut,{size:"lg",className:"bg-gradient-to-r from-primary to-purple-600 hover:from-primary/90 hover:to-purple-600/90 text-primary-foreground shadow-lg transform transition-all duration-300 hover:shadow-primary/50 w-full sm:w-auto",onClick:()=>{const e=document.querySelector("#projects");if(e){const n=e.offsetTop-80;Ef(n,600)}},children:["View My Work ",u.jsx(l2,{className:"ml-2 h-5 w-5"})]})}),u.jsx(I.div,{whileHover:{scale:1.05},whileTap:{scale:.95},children:u.jsx(Ut,{variant:"outline",size:"lg",className:"border-primary text-primary hover:bg-primary/10 hover:text-primary w-full sm:w-auto",onClick:()=>{const e=document.querySelector("#contact");if(e){const n=e.offsetTop-80;Ef(n,600)}},children:"Get In Touch"})})]})]})}),u.jsx(I.div,{className:"absolute bottom-0 left-1/2 -translate-x-1/2 w-full max-w-4xl h-1/2",initial:{opacity:0,y:100},animate:{opacity:.05,y:0},transition:{duration:1,delay:.5},children:u.jsx("div",{className:"w-full h-full bg-gradient-to-t from-primary to-transparent rounded-t-full blur-3xl"})})]}),Z5=[{id:"yonft-suite",title:"YoNFT: Complete NFT Ecosystem",description:"YoNFT is a comprehensive NFT platform offering multiple products that break down marketplace silos and enable advanced NFT trading through derivatives, collections aggregation, and sophisticated financial instruments.",tags:["NFT","Web3","DeFi","React","Next.js","Solidity","Ethereum","Cross-chain"],type:"suite",products:[{name:"YoNFT Collections",description:"Aggregates NFT collections from OpenSea and Magic Eden into a single interface",imageUrl:"/images/yonft-collections.png",liveLink:"https://yonft-20zmzvozd-bysoft.vercel.app/collections",blogLink:"https://paragraph.com/@bylabs/nft-collection-explorer?referrer=0xFd638308290BD73ab40F1C04d9EB9c1e93525c31"},{name:"YoNFT Derivatives",description:"Trade NFT price movements through decentralized derivatives without owning the NFTs",imageUrl:"/images/yonft-derivatives-1.png",liveLink:"https://yonft.xyz",blogLink:"https://paragraph.com/@bylabs/preview/Zv5U8HGrXJNQ3NEZTAr5"},{name:"YoNFT Derivatives Dashboard",description:"Advanced trading dashboard with options and futures for NFT collections",imageUrl:"/images/yonft-derivatives-2.png",liveLink:"https://yonft.xyz"}],featured:!0},{id:"fin",title:"Fin: Complete Financial Platform",description:"Fin is a comprehensive financial technology platform offering a suite of integrated products for modern banking and financial management. Built with cutting-edge technology to provide seamless financial services across multiple touchpoints.",tags:["Fintech","React","Next.js","TypeScript","Node.js","PostgreSQL","Redis","AWS"],type:"suite",products:[{name:"Fin",description:"Main portal and unified dashboard for all Fin services",imageUrl:"/images/fin-main.png",liveLink:"https://www.choosefin.com/"},{name:"Fin Wealth",description:"AI-powered wealth management and investment platform",imageUrl:"/images/fin-wealth.png",liveLink:"https://wealth-agent.choosefin.com/"},{name:"Fin Wealth Dashboard",description:"Advanced portfolio analytics and wealth tracking dashboard",imageUrl:"/images/fin-wealth-dashboard.png",liveLink:"https://wealth-agent.choosefin.com/"},{name:"Fin Intelligence",description:"AI-powered financial intelligence and analytics platform",imageUrl:"/images/fin-intelligence.png",liveLink:"https://www.choosefin.com/"},{name:"Fin Interest",description:"High-yield savings and investment tracking platform",imageUrl:"/images/fin-interest.png",liveLink:"https://interest.choosefin.com/"},{name:"Fin Pay",description:"Instant payment processing and digital wallet solution",imageUrl:"/images/fin-pay.png",liveLink:"https://www.xfin.cash/"},{name:"Fin Accounts",description:"Comprehensive account management and analytics dashboard",imageUrl:"/images/fin-accounts.png",liveLink:"https://dashboard.xfin.cash"}],featured:!0},{id:1,title:"Safe Capital: safecap.xyz",description:'SafeCap is a lending protocol that c
48ombines peer-to-peer project financing with automated yield generation. The protocol operates a dual-tier system where Tier 1 provides instant liquidity pools for traditional DeFi lending, while Tier 2 offers a startup funding marketplace for community-backed project loans. Deployed on Base with smart contracts and a novel "triple yield" mechanism, lenders earn 12-21% yield. SafeCap positions itself as the first project-specific lending protocol that bridges the gap between donations and VC funding, offering comprehensive risk management through over-collateralized loans with automated liquidation protection.',tags:["Fintech","React","Next.js","vite","fastify","node","typescript","a2a","solidity","hardhat","viem","ethers"],type:"single",imageUrl:"/images/sc.png",liveLink:"https://safecap.xyz",repoLink:"",featured:!0},{id:2,title:"iChatbook: ichatbook.com",description:"iChatbook enables true multi-book, multi-provider AI chat, allowing users to converse across any combination of books and AI engines, with adaptive complexity that tailors responses to any reading level. It uniquely supports families and classrooms with collaborative workspaces, gamified learning tools, and robust privacy controls, all backed by advanced memory, semantic search, and enterprise-grade security. Unlike other apps, iChatbook offers open API access, instant book uploads, and transparent, usage-based billing, making it the most flexible and comprehensive AI-powered reading and learning platform available.",tags:["AI","Chat","Books","ai","pinecone","rag","pgvector","nextjs","postgres","typescript","rsc","react"],type:"single",imageUrl:"/images/icb2.png",liveLink:"https://tutor.ichatbook.com",repoLink:"",featured:!0},{id:3,title:"WeInvest SDK: Account Abstraction Toolkit",description:"A comprehensive SDK for implementing account abstraction and smart wallet functionality. Simplifies the integration of embedded wallets, smart accounts, and seamless Web3 user experiences. Features multi-chain support, gasless transactions, and developer-friendly APIs for building the next generation of crypto applications.",tags:["SDK","Account Abstraction","Smart Wallets","web3","ethereum","typescript","sdk","developer-tools","blockchain","fintech"],type:"single",imageUrl:"/images/sdk.png",liveLink:"http://sdk.weinvest.money/",repoLink:"",featured:!0},{id:4,title:"WeInvest: weinvest.money",description:"Weinvest is a revolutionary multi-agent AI trading platform that operates like a digital hedge fund, deploying eight specialized AI agents that collaborate, debate, and reach consensus on investment decisions in real-time. The platform leverages advanced agent orchestration where each AI specialist—from fundamentals and sentiment analysis to technical patterns and risk management—contributes unique expertise to build comprehensive trading strategies across multiple blockchain networks. Unlike traditional AI trading systems that only provide analysis, Weinvest executes trades directly through integrated DEX aggregation and multi-chain infrastructure, turning collaborative AI intelligence into actual portfolio performance.",tags:["WealthTech","Analytics","Vue.js","solidity","fintech","nextjs","typescript","postgres","rag","pgvector"],type:"single",imageUrl:"/images/wi.png",liveLink:"https://weinvest.money",repoLink:"",featured:!0},{id:5,title:"DankDex: dankdex.com",description:"DankDex is a comprehensive meme coin trading platform featuring advanced tools like Pulse for token discovery, Social Intelligence for sentiment analysis, advanced trading capabilities, portfolio analytics, and AI agents for automated trading. The platform has evolved beyond simple automated bots to include sophisticated features like real-time social monitoring, bot detection systems, live failure rate tracking, and comprehensive trading analytics - positioning it as a professional-grade alternative to platforms like Axiom with enhanced meme coin focus.",tags:["Crypto","Trading","DeFi","react","nextjs","typescript","solidity","web3","blockchain","trading"],type:"single",imageUrl:"/images/dankdex-new.png",liveLink:"https://dankdex.com",repoLink:"",featured:!0},{id:6,title:"Doodlore: doodlore.com",description:"Doodlore is an advanced AI storytelling platform that leverages embeddings for long-term memory management, enabling AI agents to maintain persistent personalities and cross-character memory sharing across conversations. The platform features comprehensive AI-powered content generation including interactive story creation, dynamic image generation, voice synthesis with text-to-speech narration, and intelligent book generation - all powered by a sophisticated memory system that scores interactions based on recency, frequency, and emotional significance.",tags:["AI","Storytelling","Memory Management","pgvector","embeddings","nextjs","typescript","ai","tts","image-generation"],type:"single",imageUrl:"/images/doodlore.png",liveLink:"https://doodlore.com",repoLink:"",featured:!0}],q5={hidden:{opacity:0,y:50},visible:e=>({opacity:1,y:0,transition:{delay:e*.2,duration:.6,ease:"easeOut"}})},e3=({project:e,index:t})=>{const[n,r]=w.useState(0),i=e.type==="suite",o=i?e.products[n]:null,s=()=>{r(l=>l===0?e.products.length-1:l-1)},a=()=>{r(l=>l===e.products.length-1?0:l+1)};return u.jsxs(I.div,{className:"glass-card p-6 flex flex-col justify-between hover:shadow-
48primary/30 transition-shadow duration-300",variants:q5,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},custom:t,children:[u.jsxs("div",{children:[u.jsx("div",{className:"relative aspect-video bg-slate-700 rounded-md mb-4 overflow-hidden",children:i?u.jsxs(u.Fragment,{children:[u.jsx("img",{className:"w-full h-full object-cover",alt:o.name,src:o.imageUrl}),u.jsxs("div",{className:"absolute inset-0 flex items-center justify-between px-2",children:[u.jsx("button",{onClick:s,className:"p-1.5 rounded-full bg-black/50 text-white hover:bg-black/70 transition-colors","aria-label":"Previous product",children:u.jsx(p2,{className:"h-5 w-5"})}),u.jsx("button",{onClick:a,className:"p-1.5 rounded-full bg-black/50 text-white hover:bg-black/70 transition-colors","aria-label":"Next product",children:u.jsx(m2,{className:"h-5 w-5"})})]}),u.jsx("div",{className:"absolute bottom-2 left-1/2 transform -translate-x-1/2 flex gap-1.5",children:e.products.map((l,c)=>u.jsx("button",{onClick:()=>r(c),className:`w-2 h-2 rounded-full transition-all ${c===n?"bg-white w-6":"bg-white/50 hover:bg-white/70"}`,"aria-label":`Go to product ${c+1}`},c))})]}):u.jsx("img",{className:`w-full h-full ${e.title==="WeInvest: weinvest.money"?"object-contain bg-[#2e1163]":"object-cover"}`,alt:e.title,src:e.imageUrl})}),u.jsx("h3",{className:"text-xl font-semibold mb-2 text-primary-foreground",children:e.title}),i&&u.jsxs("div",{className:"mb-3 p-3 bg-slate-800/50 rounded-lg",children:[u.jsx("h4",{className:"text-sm font-semibold text-purple-400 mb-1",children:o.name}),u.jsx("p",{className:"text-xs text-slate-400",children:o.description})]}),u.jsx("p",{className:"text-slate-400 text-sm mb-4 flex-grow",children:e.description}),u.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:e.tags.map(l=>u.jsx("span",{className:"text-xs bg-primary/20 text-primary px-2 py-1 rounded-full",children:l},l))})]}),u.jsx("div",{className:"flex flex-col gap-2",children:i?u.jsxs(u.Fragment,{children:[u.jsx(Ut,{variant:"outline",size:"sm",asChild:!0,className:"w-full border-primary text-primary hover:bg-primary/10",children:u.jsxs("a",{href:o.liveLink,target:"_blank",rel:"noopener noreferrer",children:["Visit ",o.name," ",u.jsx(mi,{className:"ml-2 h-4 w-4"})]})}),u.jsx("div",{className:"flex gap-1 mt-1",children:e.products.map((l,c)=>u.jsx(Ut,{variant:"ghost",size:"sm",asChild:!0,className:"flex-1 text-xs py-1 hover:bg-slate-700",children:u.jsx("a",{href:l.liveLink,target:"_blank",rel:"noopener noreferrer",children:l.name.replace(/^(Fin |YoNFT )/,"").split(" ")[0]})},c))})]}):u.jsxs("div",{className:"flex space-x-3",children:[e.liveLink&&e.liveLink!=="#"&&u.jsx(Ut,{variant:"outline",size:"sm",asChild:!0,className:"flex-1 border-primary text-primary hover:bg-primary/10",children:u.jsxs("a",{href:e.liveLink,target:"_blank",rel:"noopener noreferrer",children:["Live Demo ",u.jsx(mi,{className:"ml-2 h-4 w-4"})]})}),e.repoLink&&e.repoLink!=="#"&&u.jsx(Ut,{variant:"ghost",size:"sm",asChild:!0,className:"flex-1 hover:bg-slate-700",children:u.jsxs("a",{href:e.repoLink,target:"_blank",rel:"noopener noreferrer",children:["View Code ",u.jsx(Lh,{className:"ml-2 h-4 w-4"})]})})]})})]})},t3=()=>u.jsx("section",{id:"projects",className:"py-16 md:py-24 bg-slate-900/80",children:u.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[u.jsx(I.h2,{className:"text-3xl md:text-4xl font-bold text-center mb-4 bg-clip-text text-transparent bg-gradient-to-r from-purple-400 to-pink-500",initial:{opacity:0,y:-20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.5},transition:{duration:.5},children:"Featured Projects"}),u.jsx(I.p,{className:"text-lg text-slate-400 text-center mb-12 max-w-2xl mx-auto",initial:{opacity:0}
48,whileInView:{opacity:1},viewport:{once:!0,amount:.5},transition:{duration:.5,delay:.2},children:"A glimpse into my work on cutting-edge AI and blockchain solutions."}),u.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:Z5.filter(e=>e.featured!==!1).map((e,t)=>u.jsx(e3,{project:e,index:t},e.id))})]})}),n3=[{name:"Education & Learning Platforms",projects:[{title:"My iChatbook",period:"2025 - Present",liveLink:"https://my.ichatbook.com/",description:["Advanced story creation and editing platform with AI assistance","Professional-grade tools for authors and content creators","Integrated publishing and distribution capabilities"]},{title:"iChatbook Kids Platform",period:"2024 - Present",liveLink:"https://kids.ichatbook.com/",description:["AI-powered educational platform designed specifically for children","Interactive reading companion with age-appropriate content and features","Gamified learning experience to encourage reading habits from an early age"]},{title:"iChatbook Reading Fun",period:"2025 - Present",liveLink:"https://reading-fun.ichatbook.com/",description:["Engaging reading platform focused on making literature enjoyable and accessible","Interactive features to enhance reading comprehension and retention","Community-driven approach to sharing reading experiences"]},{title:"iChatbook Story Weaver",period:"2025 - Present",liveLink:"https://story-weaver.ichatbook.com/",description:["AI-assisted creative writing platform for collaborative storytelling","Tools for weaving complex narratives with AI guidance","Community features for sharing and developing stories together"]}]},{name:"Trading & Crypto Platforms",projects:[{title:"DankDex Meme Trader",period:"2025 - Present",liveLink:"https://memetrader.dankdex.com/",description:["Specialized trading interface for meme cryptocurrency markets","Real-time market data and social sentiment analysis","Community-driven trading insights and strategies"]},{title:"DankDex Meme Trade Platform",period:"2025 - Present",liveLink:"https://memetrade.dankdex.com/",description:["Alternative trading interface optimized for meme token trading","Advanced charting and technical analysis tools","Social trading features and community engagement"]},{title:"DankDex Meme Tradr",period:"2025 - Present",liveLink:"https://memetradr.dankdex.com/",description:["Mobile-optimized trading platform for meme cryptocurrencies","Streamlined interface for quick trading decisions","Push notifications and market alerts"]},{title:"DankDex Sheetcoin Exchange",period:"2025 - Present",liveLink:"https://sheetcoin-digital-exchange.dankdex.com/",description:["Specialized digital exchange for Sheetcoin and related tokens","Automated market making and liquidity provision","Integration with DeFi protocols and yield farming"]},{title:"DankDex Crypto Trade Automation",period:"2025 - Present",liveLink:"https://crypto-trade-automation.dankdex.com/",description:["Automated trading system with customizable strategies","AI-powered trading bots and algorithmic execution","Risk management and portfolio optimization tools"]}]},{name:"Funding & Investment Platforms",projects:[{title:"SafeCap Agent Fundraise",period:"2025 - Present",liveLink:"https://agent-fundraise.safecap.xyz/",description:["AI-powered fundraising platform for autonomous agents","Automated campaign creation and management","Smart contract integration for transparent fund management"]},{title:"SafeCap Agent Crowd Fund",period:"2025 - Present",liveLink:"https://agent-crowd-fund.safecap.xyz/",description:["Crowdfunding platform specifically designed for AI agent projects","Community-driven funding with voting mechanisms","Integration with existing SafeCap ecosystem"]},{title:"SafeCap Fund Starter",period:"2025 - Present",liveLink:"http://fundstarter.safecap.xyz/",description:["Simplified fund creation and management platform","One-click campaign setup with AI assistance","Built-in marketing and promotion tools"]},{title:"WeInvest Labs",period:"2024 - Present",liveLink:"https://labs.weinvest.money/",description:["Research and development platform for WeInvest innovations","Experimental features and beta testing environment","Community feedback and feature development"]}]},{name:"Experimental & Research Projects",projects:[{title:"MindMaze 3D Game",period:"2024 - Present",liveLink:"#",description:["A 3D interactive game built with Three.js that allows players to travel through visual journeys","Features multiple game modes: word learning, sushi collection, logo collection, and color matching","Educational gameplay elements with text-to-speech and vocabulary learning","Advanced 3D graphics with particle systems and dynamic texture generation"]},{title:"AI Visibility Analyzer",period:"2024 - Present",liveLink:"#",description:["Tool that analyzes how visible your website content is to AI systems like ChatGPT and Claude","Provides 0-100 scoring based on content structure, meta tags, AI indicators, and technical SEO","Generates specific optimization recommendations for better AI discoverability","Bu
48ilt with Next.js, TypeScript, Supabase, and Puppeteer for web scraping"]},{title:"BySoft - Research & Consultancy Firm",period:"2008 - Present",liveLink:"https://bysoft.brianyang.com/",description:["Research and consultancy firm specializing in software development and technology solutions","Long-standing consultancy providing strategic technology guidance","Portfolio of development services and research initiatives","Integration with AI tools and automation technologies"]},{title:"Web Crawlers Pay",period:"2025 - Present",liveLink:"https://webcrawlers-pay.brianyang.com",description:["Monetization platform for web crawling services","Pay-per-use model for data extraction and web scraping","API-driven architecture with usage tracking"]},{title:"Ads Respect Platform",period:"2025 - Present",liveLink:"https://ads-respect.brianyang.com",description:["Privacy-focused advertising platform respecting user preferences","Transparent ad delivery with user control and consent","Alternative monetization model for content creators"]},{title:"Universal Identity System",period:"2025 - Present",liveLink:"https://universal-identity.brianyang.com",description:["Decentralized identity management platform","Cross-platform authentication and authorization","Privacy-preserving identity verification"]},{title:"DePIN AI Platform",period:"2025 - Present",liveLink:"https://depin-ai.brianyang.com",description:["Decentralized Physical Infrastructure Network with AI integration","Distributed computing and resource sharing","AI-powered network optimization and management"]},{title:"Agent Interactions Hub",period:"2025 - Present",liveLink:"https://agent-interactions.brianyang.com",description:["Platform for managing and orchestrating AI agent interactions","Multi-agent coordination and communication protocols","Workflow automation and agent collaboration tools"]},{title:"Apps Sync Platform",period:"2025 - Present",liveLink:"https://apps-sync.brianyang.com",description:["Application synchronization and data sharing platform","Cross-platform data consistency and real-time updates","API integration and webhook management"]},{title:"Micropayments Revenue System",period:"2024 - Present",liveLink:"https://micropayments-revenue.brianyang.com",description:["Microtransaction platform for content monetization","Low-fee payment processing for small transactions","Integration with blockchain and traditional payment systems"]},{title:"Blockchain IP Management",period:"2024 - Present",liveLink:"https://blockchain-ip.brianyang.com",description:["Intellectual property management on blockchain","Smart contract-based IP registration and licensing","Decentralized patent and trademark system"]},{title:"Persistent Context Platform",period:"2024 - Present",liveLink:"https://persistent-context.brianyang.com",description:["AI context management and memory persistence system","Long-term memory for AI applications and chatbots","Cross-session context continuity and relationship mapping"]},{title:"Lifelong Companion AI",period:"2024 - Present",liveLink:"https://lifelong-companion.brianyang.com",description:["AI companion designed for long-term relationships and growth","Persistent memory and evolving personality traits","Emotional intelligence and relationship building features"]}]}],eo=[{title:"Centralized Crypto and Stock Trading Platform",period:"Jan 2021 - Jan 2022",funding:"2MM Valuation pre-revenue",imageUrl:"/images/centralized-crypto-stock-platform.png",description:["Platform for trading crypto and stocks via Wyre and Alpaca Securities","Built with Apollo, MongoDB, GraphQL, TypeScript, and React"]},{title:"Direct Market Access - Cryptocurrency Trading Platform",period:"Aug 2019 - Jan 2020",liveLink:"https://tradecrypto.netlify.app/",iframeSrc:"https://tradecrypto.netlify.app/",mediumLink:"https://medium.com/brian-yang/i-built-a-near-real-time-crypto-trading-application-and-heres-what-i-learned-39fa01da66b4",description:["Real-time trading application connecting directly to cryptocurrency exchanges","Features price viewing, arbitrage, order aggregation, and live orderbook interaction","Accepted into ODX12 accelerator program"]},{title:"Token Property Platform",period:"2018 - 2019",liveLink:"https://tokenproperty.netlify.app/",description:["Blockchain-based property tokenization platform","Real estate asset digitization with smart contracts","Fractional ownership and trading capabilities"]},{title:"Coding Blockchain Apps Course Platform",period:"2018 - 2019",liveLink:"https://elastic-easley-9cf511.netlify.app/",description:["Educational platform for blockchain development","Interactive coding tutorials and exercises","Smart contract development learning modules"]},{title:"Beteleported ETH Token",period:"Sep 2018 - Jan 2019",liveLink:"https://beteleported.netlify.app/",description:["Cryptocurrency ETH token with whitepaper","Integrated IPFS for decentralized photo storage on the blockchain","Multiple platform implementations with photo mapping features"]},{title:"Beteleported Moments",period:"Sep 2018 - Jan 2019",liveLink:"https://beteleported-moments.netlify.app/",description:["Photo mapping platform with blockchain integration","Time-stamped visual memories stored on decentralized network"]},{title:"Beteleported Token Platform",period:"Sep 2018 - Jan 2019",liveLink:"https://beteleported-token.netlify.app/",description:["Token management and trading interface","Smart contract interaction for BTEL token ecosystem"]},{title:"Blockchain Real-Estate Innovation",period:"Oct 2018 - Jan 2019",description:["Platform using private blockchain for real estate transactions","Smart contracts in Solidity for fair compensation of real estate agents","Ethereum Node deployed on AWS"]},{title:"Canon Hackathon - Canoramics",period:"2018",liveLink:"https://canoramics.netlify.app/",description:["Photo panoramic creation and sharing platform","Advanced image stitching and processing capabilities","Built for Canon's developer hackathon challenge"]},{title:"Monday Money - Hackathon Project",period:"2018",liveLink:"https://mondaymoney.netlify.app/",description:["Financial planning and budgeting application","Weekly money management with goal tracking","Built during hackathon with modern web technologies"]},{title:"Mapping Moments",period:"Jun 2018 - Jan 2019",description:["Maps-driven platform for viewing photos and videos with timestamps","Content stored permanently on the blockchain","Interactive markers for time-based content exploration"]},{title:"React360 VR CMS Platform",period:"Mar 2018 - Jan 2019",description:["VR platform built on React360, Pusher, and Node.js","Integrated 
48with BTEL Ethereum token for marketplace functionality","Searchable map for VR experiences with embeddable tours"]},{title:"Miles and Company, Inc",period:"2015",description:["Developed web applications using AngularJS for front-end and Node.js for back-end services.","Integrated Twilio API to implement real-time communication features and SMS notifications.","Built responsive user interfaces with dynamic content loading and interactive components.","Created modular application architecture following AngularJS best practices."]},{title:"RokkinCat",period:"2014",description:["Developed cross-platform mobile applications using Cordova","Implemented MVVM architecture with KnockoutJS","Created responsive and performant user interfaces"]},{title:"JAKT",period:"2014",description:["Built scalable backend services with Node.js","Containerized applications using Docker","Implemented load balancing for high availability"]},{title:"Library for All",period:"2014",technologies:["AngularJS","Cordova","Ionic"],description:["Architected a reading application with Angular best practices and Cordova.","Refactored existing Angular application for improved performance.","Created feature controllers and reusable service functions.","Implemented mobile-friendly interfaces using Ionic framework.","Removed jQuery depen
48dencies, replacing with jqLite for better performance."]},{title:"Sears PartsDirect",period:"2014",description:["Developed an Android app using AngularJS, Cordova, and Ionic framework.","Integrated with Sears Parts API to enable efficient product search functionality.","Built a hybrid mobile solution with Node.js backend services.","Created a responsive design that worked seamlessly across different screen sizes."]},{title:"HarperCollins Reader",period:"2013",description:["Developed an Epub reader application for mobile, tablet, and desktop","Integrated with HarperCollins, Pearson, and Google Books content","Built with Node.js, Express, and EpubJS","Implemented AWS S3 for book storage and management","Featured in New York Times and integrated with GoodReads"]},{title:"OnSwipe Hackathon Winner - And Swipe",period:"Oct 2012 - Jan 2013",description:["Lightweight swipe interface for testing on 30+ devices","Backend API built with Express and MongoDB","Enabled user voting system"]},{title:"Music Apps Hack Weekend Winner - Music Monster",period:"Feb 2012",description:["Audience-controlled virtual DJ application","Automatically adjusted playlists based on audience feedback","Integrated with Spotify, Foursquare, and Echo Nest APIs","Won prize from Echo Nest sponsor"]}],r3=()=>{const[e,t]=w.useState(!1),[n,r]=w.useState(""),[i,o]=w.useState(!1),[s,a]=w.useState(null),[l,c]=w.useState({}),[d,f]=w.useState(null),p=2,v=h=>{c(m=>({...m,[h]:!m[h]}))},x=()=>{t(!1),r(""),a(null)},y=(h,m)=>{f({url:h,title:m})},k=()=>{f(null)};return u.jsxs("section",{id:"sideprojects",className:"py-16 md:py-24 bg-slate-950",children:[u.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[u.jsx(I.h2,{className:"text-3xl md:text-4xl font-bold text-center mb-4 bg-clip-text text-transparent bg-gradient-to-r from-green-400 to-blue-500",initial:{opacity:0,y:-20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.5},transition:{duration:.5},children:"More Projects"}),u.jsxs("div",{className:"space-y-12 mt-8",children:[n3.map((h,m)=>u.jsxs("div",{className:"space-y-6",children:[u.jsx(I.h3,{className:"text-2xl font-bold text-slate-200 mb-6 border-b border-slate-700 pb-2",initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:.5},transition:{duration:.5,delay:m*.1},children:h.name}),u.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[h.projects.slice(0,p).map((g,S)=>u.jsx(I.div,{className:"glass-card p-6 flex flex-col justify-between hover:shadow-primary/30 transition-shadow duration-300",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{delay:m*.1+S*.1,duration:.6,ease:"easeOut"},children:u.jsxs("div",{children:[u.jsx("h4",{className:"text-xl font-semibold mb-2 text-primary-foreground",children:g.title}),g.period&&u.jsx("p",{className:"text-slate-400 text-sm mb-3",children:g.period}),u.jsx("ul",{className:"list-disc ml-5 text-slate-300 mb-4",children:g.description.map((b,P)=>u.jsx("li",{children:b},P))}),u.jsx("div",{className:"flex flex-wrap gap-2",children:g.liveLink&&g.liveLink!=="#"&&u.jsx("a",{href:g.liveLink,target:"_blank",rel:"noopener noreferrer",className:"text-sm px-3 py-1 bg-green-500/20 text-green-300 rounded-full hover:bg-green-500/30 transition-colors",children:"Live Demo"})})]})},g.title)),u.jsx(Nt,{children:l[h.name]&&h.projects.slice(p).map((g,S)=>u.jsx(I.div,{className:"glass-card p-6 flex flex-col justify-between hover:shadow-primary/30 transition-shadow duration-300",initial:{opacity:0,y:30,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-30,scale:.95},transition:{duration:.4,ease:[.25,.46,.45,.94],delay:S*.1},children:u.jsxs("div",{children:[u.jsx("h4",{className:"text-xl font-semibold mb-2 text-primary-foreground",children:g.title}),g.period&&u.jsx("p",{className:"text-slate-400 text-sm mb-3",children:g.period}),u.jsx("ul",{className:"list-disc ml-5 text-slate-300 mb-4",children:g.description.map((b,P)=>u.jsx("li",{children:b},P))}),u.jsx("div",{className:"flex flex-wrap gap-2",children:g.liveLink&&g.liveLink!=="#"&&u.jsx("a",{href:g.liveLink,target:"_blank",rel:"noopener noreferrer",className:"text-sm px-3 py-1 bg-green-500/20 text-green-300 rounded-full hover:bg-green-500/30 transition-colors",children:"Live Demo"})})]})},g.title))})]}),h.projects.length>p&&u.jsx(I.div,{className:"flex justify-center mt-6",initial:{opacity:0}
48,whileInView:{opacity:1},viewport:{once:!0,amount:.5},transition:{duration:.3,delay:m*.1+.3},children:u.jsxs("button",{onClick:()=>v(h.name),className:"flex items-center gap-2 px-4 py-2 bg-slate-700/50 hover:bg-slate-600/50 text-slate-300 hover:text-slate-200 rounded-lg transition-all duration-300 border border-slate-600 hover:border-slate-500",children:[u.jsx("span",{children:l[h.name]?"Show Less":`Show ${h.projects.length-p} More`}),u.jsx(I.div,{animate:{rotate:l[h.name]?180:0},transition:{duration:.3,ease:[.25,.46,.45,.94]},children:u.jsx(Yo,{className:"w-4 h-4"})})]})})]},h.name)),u.jsxs("div",{className:"space-y-6",children:[u.jsx(I.h3,{className:"text-2xl font-bold text-slate-200 mb-6 border-b border-slate-700 pb-2",initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:.5},transition:{duration:.5,delay:.5},children:"Legacy Projects"}),u.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[eo.slice(0,p).map((h,m)=>u.jsx(I.div,{className:"glass-card p-6 flex flex-col justify-between hover:shadow-primary/30 transition-shadow duration-300",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{delay:.5+m*.1,duration:.6,ease:"easeOut"},children:u.jsxs("div",{children:[u.jsx("h4",{className:"text-xl font-semibold mb-2 text-primary-foreground",children:h.title}),h.period&&u.jsx("p",{className:"text-slate-400 text-sm mb-3",children:h.period}),u.jsx("ul",{className:"list-disc ml-5 text-slate-300 mb-4",children:h.description.map((g,S)=>u.jsx("li",{children:g},S))}),u.jsxs("div",{className:"flex flex-wrap gap-2",children:[h.githubLink&&u.jsx("a",{href:h.githubLink,target:"_blank",rel:"noopener noreferrer",className:"text-sm px-3 py-1 bg-blue-500/20 text-blue-300 rounded-full hover:bg-blue-500/30 transition-colors",children:"View on GitHub"}),h.liveLink&&u.jsx("a",{href:h.liveLink,target:"_blank",rel:"noopener noreferrer",className:"text-sm px-3 py-1 bg-green-500/20 text-green-300 rounded-full hover:bg-green-500/30 transition-colors",children:"Live Demo"}),h.mediumLink&&u.jsxs("a",{href:h.mediumLink,target:"_blank",rel:"noopener noreferrer",className:"text-sm px-3 py-1 bg-orange-500/20 text-orange-300 rounded-full hover:bg-orange-500/30 transition-colors flex items-center gap-1",children:[u.jsx($r,{className:"w-3 h-3"}),"Read Article"]}),h.imageUrl&&u.jsxs("button",{onClick:()=>y(h.imageUrl,h.title),className:"text-sm px-3 py-1 bg-purple-500/20 text-purple-300 rounded-full hover:bg-purple-500/30 transition-colors flex items-center gap-1",children:[u.jsx(xl,{className:"w-3 h-3"}),"View Image"]}),h.funding&&u.jsx("span",{className:"text-sm px-3 py-1 bg-green-500/20 text-green-300 rounded-full",children:"2MM Valuation"})]})]})},h.title)),u.jsx(Nt,{children:l["Legacy Projects"]&&eo.slice(p).map((h,m)=>u.jsx(I.div,{className:"glass-card p-6 flex flex-col justify-between hover:shadow-primary/30 transition-shadow duration-300",initial:{opacity:0,y:30,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-30,scale:.95},transition:{duration:.4,ease:[.25,.46,.45,.94],delay:m*.1},children:u.jsxs("div",{children:[u.jsx("h4",{className:"text-xl font-semibold mb-2 text-primary-foreground",children:h.title}),h.period&&u.jsx("p",{className:"text-slate-400 text-sm mb-3",children:h.period}),u.jsx("ul",{className:"list-disc ml-5 text-slate-300 mb-4",children:h.description.map((g,S)=>u.jsx("li",{children:g},S))}),u.jsxs("div",{className:"flex flex-wrap gap-2",children:[h.githubLink&&u.jsx("a",{href:h.githubLink,target:"_blank",rel:"noopener noreferrer",className:"text-sm px-3 py-1 bg-blue-500/20 text-blue-300 rounded-full hover:bg-blue-500/30 transition-colors",children:"View on GitHub"}),h.liveLink&&u.jsx("a",{href:h.liveLink,target:"_blank",rel:"noopener noreferrer",className:"text-sm px-3 py-1 bg-green-500/20 text-green-300 rounded-full hover:bg-green-500/30 transition-colors",children:"Live Demo"}),h.mediumLink&&u.jsxs("a",{href:h.mediumLink,target:"_blank",rel:"noopener noreferrer",className:"text-sm px-3 py-1 bg-orange-500/20 text-orange-300 rounded-full hover:bg-orange-500/30 transition-colors flex items-center gap-1",children:[u.jsx($r,{className:"w-3 h-3"}),"Read Article"]}),h.mediumLink&&u.jsxs("a",{href:h.mediumLink,target:"_blank",rel:"noopener noreferrer",className:"text-sm px-3 py-1 bg-orange-500/20 text-orange-300 rounded-full hover:bg-orange-500/30 transition-colors flex items-center gap-1",children:[u.jsx($r,{className:"w-3 h-3"}),"Read Article"]}),h.imageUrl&&u.jsxs("button",{onClick:()=>y(h.imageUrl,h.title),className:"text-sm px-3 py-1 bg-purple-500/20 text-purple-300 rounded-full hover:bg-purple-500/30 transition-colors flex items-center gap-1",children:[u.jsx(xl,{className:"w-3 h-3"}),"View Image"]}),h.funding&&u.jsx("span",{className:"text-sm px-3 py-1 bg-green-500/20 text-green-300 rounded-full",children:"2MM Valuation"})]})]})},h.title))})]}),eo.length>p&&u.jsx(I.div,{className:"flex justify-center mt-6",initial:{opacity:0}
48,whileInView:{opacity:1},viewport:{once:!0,amount:.5},transition:{duration:.3,delay:.8},children:u.jsxs("button",{onClick:()=>v("Legacy Projects"),className:"flex items-center gap-2 px-4 py-2 bg-slate-700/50 hover:bg-slate-600/50 text-slate-300 hover:text-slate-200 rounded-lg transition-all duration-300 border border-slate-600 hover:border-slate-500",children:[u.jsx("span",{children:l["Legacy Projects"]?"Show Less":`Show ${eo.length-p} More`}),u.jsx(I.div,{animate:{rotate:l["Legacy Projects"]?180:0},transition:{duration:.3,ease:[.25,.46,.45,.94]},children:u.jsx(Yo,{className:"w-4 h-4"})})]})})]})]})]}),e&&u.jsx("div",{className:"fixed inset-0 bg-black/80 flex items-center justify-center z-50 p-4",children:u.jsxs("div",{className:"bg-slate-800 p-4 rounded-lg shadow-xl w-full max-w-4xl h-3/4 flex flex-col relative",children:[u.jsxs("div",{className:"flex justify-between items-center mb-2",children:[u.jsx("h4",{className:"text-lg font-semibold text-primary-foreground",children:"Project Preview"}),u.jsx("button",{onClick:x,className:"text-slate-400 hover:text-slate-200 text-2xl","aria-label":"Close preview",children:"×"})]}),i&&u.jsx("div",{className:"flex-1 flex items-center justify-center",children:u.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-t-2 border-b-2 border-sky-500"})}),s&&u.jsx("div",{className:"flex-1 flex items-center justify-center",children:u.jsx("div",{className:"text-red-500 text-center p-4",children:s})}),!i&&!s&&u.jsx("iframe",{src:n,title:"Project Preview",className:"w-full flex-1 border-0 rounded bg-white",sandbox:"allow-scripts allow-same-origin allow-popups",loading:"lazy"})]})}),u.jsx(Nt,{children:d&&u.jsx(I.div,{initial:{opacity:0}
48,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-black/80 backdrop-blur-sm z-50 flex items-center justify-center p-4",onClick:k,children:u.jsxs(I.div,{initial:{scale:.9,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.9,opacity:0},className:"relative max-w-4xl max-h-[90vh] bg-slate-800 rounded-xl overflow-hidden",onClick:h=>h.stopPropagation(),children:[u.jsxs("div",{className:"flex items-center justify-between p-4 border-b border-slate-700",children:[u.jsx("h3",{className:"text-lg font-semibold text-white",children:d.title}),u.jsx("button",{onClick:k,className:"p-2 text-slate-400 hover:text-white bg-slate-700/50 hover:bg-slate-600/50 rounded-lg transition-all duration-300",children:u.jsx(ks,{className:"w-4 h-4"})})]}),u.jsx("div",{className:"p-4",children:u.jsx("img",{src:d.url,alt:`${d.title} screenshot`,className:"w-full h-auto max-h-[70vh] object-contain rounded-lg"})})]})})})]})};var ag={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Af=Z.createContext&&Z.createContext(ag),i3=["attr","size","title"];function o3(e,t){if(e==null)return{};var n=s3(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function s3(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function ns(){return ns=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ns.apply(this,arguments)}function Mf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function rs(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Mf(Object(n),!0).forEach(function(r){a3(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function a3(e,t,n){return t=l3(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l3(e){var t=c3(e,"string");return typeof t=="symbol"?t:t+""}function c3(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function lg(e){return e&&e.map((t,n)=>Z.createElement(t.tag,rs({key:n},t.attr),lg(t.child)))}function G(e){return t=>Z.createElement(u3,ns({attr:rs({},e.attr)},t),lg(e.child))}function u3(e){var t=n=>{var{attr:r,size:i,title:o}=e,s=o3(e,i3),a=i||n.size||"1em",l;return n.className&&(l=n.className),e.className&&(l=(l?l+" ":"")+e.className),Z.createElement("svg",ns({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,s,{className:l,style:rs(rs({color:e.color||n.color},n.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),o&&Z.createElement("title",null,o),e.children)};return Af!==void 0?Z.createElement(Af.Consumer,null,n=>t(n)):t(ag)}function d3(e){return G({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M311.9 260.8L160 353.6 8 260.8 160 0l151.9 260.8zM160 383.4L8 290.6 160 512l152-221.4-152 92.8z"},child:[]}]})(e)}function f3(e){return G({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M418.2 177.2c-5.4-1.8-10.8-3.5-16.2-5.1.9-3.7 1.7-7.4 2.5-11.1 12.3-59.6 4.2-107.5-23.1-123.3-26.3-15.1-69.2.6-112.6 38.4-4.3 3.7-8.5 7.6-12.5 11.5-2.7-2.6-5.5-5.2-8.3-7.7-45.5-40.4-91.1-57.4-118.4-41.5-26.2 15.2-34 60.3-23 116.7 1.1 5.6 2.3 11.1 3.7 16.7-6.4 1.8-12.7 3.8-18.6 5.9C38.3 196.2 0 225.4 0 255.6c0 31.2 40.8 62.5 96.3 81.5 4.5 1.5 9 3 13.6 4.3-1.5 6-2.8 11.9-4 18-10.5 55.5-2.3 99.5 23.9 114.6 27 15.6 72.4-.4 116.6-39.1 3.5-3.1 7-6.3 10.5-9.7 4.4 4.3 9 8.4 13.6 12.4 42.8 36.8 85.1 51.7 111.2 36.6 27-15.6 35.8-62.9 24.4-120.5-.9-4.4-1.9-8.9-3-13.5 3.2-.9 6.3-1.9 9.4-2.9 57.7-19.1 99.5-50 99.5-81.7 0-30.3-39.4-59.7-93.8-78.4zM282.9 92.3c37.2-32.4 71.9-45.1 87.7-36 16.9 9.7 23.4 48.9 12.8 100.4-.7 3.4-1.4 6.7-2.3 10-22.2-5-44.7-8.6-67.3-10.6-13-18.6-27.2-36.4-42.6-53.1 3.9-3.7 7.7-7.2 11.7-10.7zM167.2 307.5c5.1 8.7 10.3 17.4 15.8 25.9-15.6-1.7-31.1-4.2-46.4-7.5 4.4-14.4 9.9-29.3 16.3-44.5 4.6 8.8 9.3 17.5 14.3 26.1zm-30.3-120.3c14.4-3.2 29.7-5.8 45.6-7.8-5.3 8.3-10.5 16.8-15.4 25.4-4.9 8.5-9.7 17.2-14.2 26-6.3-14.9-11.6-29.5-16-43.6zm27.4 68.9c6.6-13.8 13.8-27.3 21.4-40.6s15.8-26.2 24.4-38.9c15-1.1 30.3-1.7 45.9-1.7s31 .6 45.9 1.7c8.5 12.6 16.6 25.5 24.3 38.7s14.9 26.7 21.7 40.4c-6.7 13.8-13.9 27.4-21.6 40.8-7.6 13.3-15.7 26.2-24.2 39-14.9 1.1-30.4 1.6-46.1 1.6s-30.9-.5-45.6-1.4c-8.7-12.7-16.9-25.7-24.6-39s-14.8-26.8-21.5-40.6zm180.6 51.2c5.1-8.8 9.9-17.7 14.6-26.7 6.4 14.5 12 29.2 16.9 44.3-15.5 3.5-31.2 6.2-47 8 5.4-8.4 10.5-17 15.5-25.6zm14.4-76.5c-4.7-8.8-9.5-17.6-14.5-26.2-4.9-8.5-10-16.9-15.3-25.2 16.1 2 31.5 4.7 45.9 8-4.6 14.8-10 29.2-16.1 43.4zM256.2 118.3c10.5 11.4 20.4 23.4 29.6 35.8-19.8-.9-39.7-.9-59.5 0 9.8-12.9 19.9-24.9 29.9-35.8zM140.2 57c16.8-9.8 54.1 4.2 93.4 39 2.5 2.2 5 4.6 7.6 7-15.5 16.7-29.8 34.5-42.9 53.1-22.6 2-45 5.5-67.2 
4810.4-1.3-5.1-2.4-10.3-3.5-15.5-9.4-48.4-3.2-84.9 12.6-94zm-24.5 263.6c-4.2-1.2-8.3-2.5-12.4-3.9-21.3-6.7-45.5-17.3-63-31.2-10.1-7-16.9-17.8-18.8-29.9 0-18.3 31.6-41.7 77.2-57.6 5.7-2 11.5-3.8 17.3-5.5 6.8 21.7 15 43 24.5 63.6-9.6 20.9-17.9 42.5-24.8 64.5zm116.6 98c-16.5 15.1-35.6 27.1-56.4 35.3-11.1 5.3-23.9 5.8-35.3 1.3-15.9-9.2-22.5-44.5-13.5-92 1.1-5.6 2.3-11.2 3.7-16.7 22.4 4.8 45 8.1 67.9 9.8 13.2 18.7 27.7 36.6 43.2 53.4-3.2 3.1-6.4 6.1-9.6 8.9zm24.5-24.3c-10.2-11-20.4-23.2-30.3-36.3 9.6.4 19.5.6 29.5.6 10.3 0 20.4-.2 30.4-.7-9.2 12.7-19.1 24.8-29.6 36.4zm130.7 30c-.9 12.2-6.9 23.6-16.5 31.3-15.9 9.2-49.8-2.8-86.4-34.2-4.2-3.6-8.4-7.5-12.7-11.5 15.3-16.9 29.4-34.8 42.2-53.6 22.9-1.9 45.7-5.4 68.2-10.5 1 4.1 1.9 8.2 2.7 12.2 4.9 21.6 5.7 44.1 2.5 66.3zm18.2-107.5c-2.8.9-5.6 1.8-8.5 2.6-7-21.8-15.6-43.1-25.5-63.8 9.6-20.4 17.7-41.4 24.5-62.9 5.2 1.5 10.2 3.1 15 4.7 46.6 16 79.3 39.8 79.3 58 0 19.6-34.9 44.9-84.8 61.4zm-149.7-15c25.3 0 45.8-20.5 45.8-45.8s-20.5-45.8-45.8-45.8c-25.3 0-45.8 20.5-45.8 45.8s20.5 45.8 45.8 45.8z"},child:[]}]})(e)}function p3(e){return G({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M157.52 272h36.96L176 218.78 157.52 272zM352 256c-13.23 0-24 10.77-24 24s10.77 24 24 24 24-10.77 24-24-10.77-24-24-24zM464 64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM250.58 352h-16.94c-6.81 0-12.88-4.32-15.12-10.75L211.15 320h-70.29l-7.38 21.25A16 16 0 0 1 118.36 352h-16.94c-11.01 0-18.73-10.85-15.12-21.25L140 176.12A23.995 23.995 0 0 1 162.67 160h26.66A23.99 23.99 0 0 1 212 176.13l53.69 154.62c3.61 10.4-4.11 21.25-15.11 21.25zM424 336c0 8.84-7.16 16-16 16h-16c-4.85 0-9.04-2.27-11.98-5.68-8.62 3.66-18.09 5.68-28.02 5.68-39.7 0-72-32.3-72-72s32.3-72 72-72c8.46 0 16.46 1.73 24 4.42V176c0-8.84 7.16-16 16-16h16c8.84 0 16 7.16 16 16v160z"},child:[]}]})(e)}function to(e){return G({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M97.12 362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z"},child:[]}]})(e)}function m3(e){return G({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z"},child:[]}]})(e)}function Lf(e){return G({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M320 336c0 8.84-7.16 16-16 16h-96c-8.84 0-16-7.16-16-16v-48H0v144c0 25.6 22.4 48 48 48h416c25.6 0 48-22.4 48-48V288H320v48zm144-208h-80V80c0-25.6-22.4-48-48-48H176c-25.6 0-48 22.4-48 48v48H48c-25.6 0-48 22.4-48 48v80h512v-80c0-25.6-22.4-48-48-48zm-144 0H192V96h128v32z"},child:[]}]})(e)}function at(e){return G({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M436 480h-20V24c0-13.255-10.745-24-24-24H56C42.745 0 32 10.745 32 24v456H12c-6.627 0-12 5.373-12 12v20h448v-20c0-6.627-5.373-12-12-12zM128 76c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12V76zm0 96c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12v-40zm52 148h-40c-6.627 0-12-5.373-12-12v-40c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12zm76 160h-64v-84c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v84zm64-172c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12v-40c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40zm0-96c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12v-40c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40zm0-96c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12V76c0-6.
48627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40z"},child:[]}]})(e)}function cg(e){return G({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M576 240c0-23.63-12.95-44.04-32-55.12V32.01C544 23.26 537.02 0 512 0c-7.12 0-14.19 2.38-19.98 7.02l-85.03 68.03C364.28 109.19 310.66 128 256 128H64c-35.35 0-64 28.65-64 64v96c0 35.35 28.65 64 64 64h33.7c-1.39 10.48-2.18 21.14-2.18 32 0 39.77 9.26 77.35 25.56 110.94 5.19 10.69 16.52 17.06 28.4 17.06h74.28c26.05 0 41.69-29.84 25.9-50.56-16.4-21.52-26.15-48.36-26.15-77.44 0-11.11 1.62-21.79 4.41-32H256c54.66 0 108.28 18.81 150.98 52.95l85.03 68.03a32.023 32.023 0 0 0 19.98 7.02c24.92 0 32-22.78 32-32V295.13C563.05 284.04 576 263.63 576 240zm-96 141.42l-33.05-26.44C392.95 311.78 325.12 288 256 288v-96c69.12 0 136.95-23.78 190.95-66.98L480 98.58v282.84z"},child:[]}]})(e)}function h3(e){return G({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 432c-101.69 0-184-82.29-184-184 0-101.69 82.29-184 184-184 101.69 0 184 82.29 184 184 0 101.69-82.29 184-184 184zm0-312c-70.69 0-128 57.31-128 128s57.31 128 128 128 128-57.31 128-128-57.31-128-128-128zm0 192c-35.29 0-64-28.71-64-64s28.71-64 64-64 64 28.71 64 64-28.71 64-64 64z"},child:[]}]})(e)}function yi(e){return G({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M496 384H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM464 96H345.94c-21.38 0-32.09 25.85-16.97 40.97l32.4 32.4L288 242.75l-73.37-73.37c-12.5-12.5-32.76-12.5-45.25 0l-68.69 68.69c-6.25 6.25-6.25 16.38 0 22.63l22.62 22.62c6.25 6.25 16.38 6.25 22.63 0L192 237.25l73.37 73.37c12.5 12.5 32.76 12.5 45.25 0l96-96 32.4 32.4c15.12 15.12 40.97 4.41 40.97-16.97V112c.01-8.84-7.15-16-15.99-16z"},child:[]}]})(e)}function So(e){return G({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M278.9 511.5l-61-17.7c-6.4-1.8-10-8.5-8.2-14.9L346.2 8.7c1.8-6.4 8.5-10 14.9-8.2l61 17.7c6.4 1.8 10 8.5 8.2 14.9L293.8 503.3c-1.9 6.4-8.5 10.1-14.9 8.2zm-114-112.2l43.5-46.4c4.6-4.9 4.3-12.7-.8-17.2L117 256l90.6-79.7c5.1-4.5 5.5-12.3.8-17.2l-43.5-46.4c-4.5-4.8-12.1-5.1-17-.5L3.8 247.2c-5.1 4.7-5.1 12.8 0 17.5l144.1 135.1c4.9 4.6 12.5 4.4 17-.5zm327.2.6l144.1-135.1c5.1-4.7 5.1-12.8 0-17.5L492.1 112.1c-4.8-4.5-12.4-4.3-17 .5L431.6 159c-4.6 4.9-4.3 12.7.8 17.2L523 256l-90.6 79.7c-5.1 4.5-5.5 12.3-.8 17.2l43.5 46.4c4.5 4.9 12.1 5.1 17 .6z"},child:[]}]})(e)}function g3(e){return G({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M239.1 6.3l-208 78c-18.7 7-31.1 25-31.1 45v225.1c0 18.2 10.3 34.8 26.5 42.9l208 104c13.5 6.8 29.4 6.8 42.9 0l208-104c16.3-8.1 26.5-24.8 26.5-42.9V129.3c0-20-12.4-37.9-31.1-44.9l-208-78C262 2.2 250 2.2 239.1 6.3zM256 68.4l192 72v1.1l-192 78-192-78v-1.1l192-72zm32 356V275.5l160-65v133.9l-160 80z"},child:[]}]})(e)}function v3(e){return G({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M488 64h-8v20c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12V64H96v20c0 6.6-5.4 12-12 12H44c-6.6 0-12-5.4-12-12V64h-8C10.7 64 0 74.7 0 88v336c0 13.3 10.7 24 24 24h8v-20c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v20h320v-20c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v20h8c13.3 0 24-10.7 24-24V88c0-13.3-10.7-24-24-24zM96 372c0 6.6-5.4 12-12 12H44c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm0-96c0 6.6-5.4 12-12 12H44c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm0-96c0 6.6-5.4 12-12 12H44c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm272 208c0 6.6-5.4 12-12 12H156c-6.6 0-12-5.4-12-12v-96c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v96zm0-168c0 6.6-5.4 12-12 12H156c-6.6 0-12-5.4-12-12v-96c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v96zm112 152c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm0-96c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm0-96c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40z"},child:[]}]})(e)}function Dl(e){return G({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M437.2 403.5L320 215V64h8c13.3 0 24-10.7 24-24V24c0-13.3-10.7-24-24-24H120c-13.3 0-24 10.7-24 24v16c0 13.3 10.7 24 24 24h8v151L10.8 403.5C-18.5 450.6 15.3 512 70.9 512h306.2c55.7 0 89.4-61.5 60.1-108.5zM137.9 320l48.2-77.6c3.7-5.2 5.8-11.6 5.8-18.4V64h64v160c0 6.9 2.2 13.2 5.8 18.4l48.2 77.6h-172z"},child:[]}]})(e)}function Df(e){return G({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M622.34 153.2L343.4 67.5c-15.2-4.67-31.6-4.67-46.79 0L17.66 153.2c-23.54 7.23-23.54 38.36 0 45.59l48.63 14.94c-10.67 13.19-17.23 29.28-17.88 46.9C38.78 266.15 32 276.11 32 288c0 10.78 5.68 19.85 13.86 25.65L20.33 428.53C18.11 438.52 25.71 448 35.94 448h56.11c10.24 0 17.84-9.48 15.62-19.47L82.14 313.65C90.32 307.85 96 298.78 96 288c0-11.57-6.47-21.25-15.66-26.87.76-15.02 8.44-28.3 20.69-36.72L296.6 284.5c9.06 2.78 26.44 6.25 46.79 0l278.95-85.7c23.55-7.24 23.55-38.36 0-45.6zM352.79 315.09c-28.53 8.76-52.84 3.92-65.59 0l-145.
4802-44.55L128 384c0 35.35 85.96 64 192 64s192-28.65 192-64l-14.18-113.47-145.03 44.56z"},child:[]}]})(e)}function y3(e){return G({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 32C114.52 32 0 146.496 0 288v48a32 32 0 0 0 17.689 28.622l14.383 7.191C34.083 431.903 83.421 480 144 480h24c13.255 0 24-10.745 24-24V280c0-13.255-10.745-24-24-24h-24c-31.342 0-59.671 12.879-80 33.627V288c0-105.869 86.131-192 192-192s192 86.131 192 192v1.627C427.671 268.879 399.342 256 368 256h-24c-13.255 0-24 10.745-24 24v176c0 13.255 10.745 24 24 24h24c60.579 0 109.917-48.098 111.928-108.187l14.382-7.191A32 32 0 0 0 512 336v-48c0-141.479-114.496-256-256-256z"},child:[]}]})(e)}function x3(e){return G({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"},child:[]}]})(e)}function Rl(e){return G({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M255.03 261.65c6.25 6.25 16.38 6.25 22.63 0l11.31-11.31c6.25-6.25 6.25-16.38 0-22.63L253.25 192l35.71-35.72c6.25-6.25 6.25-16.38 0-22.63l-11.31-11.31c-6.25-6.25-16.38-6.25-22.63 0l-58.34 58.34c-6.25 6.25-6.25 16.38 0 22.63l58.35 58.34zm96.01-11.3l11.31 11.31c6.25 6.25 16.38 6.25 22.63 0l58.34-58.34c6.25-6.25 6.25-16.38 0-22.63l-58.34-58.34c-6.25-6.25-16.38-6.25-22.63 0l-11.31 11.31c-6.25 6.25-6.25 16.38 0 22.63L386.75 192l-35.71 35.72c-6.25 6.25-6.25 16.38 0 22.63zM624 416H381.54c-.74 19.81-14.71 32-32.74 32H288c-18.69 0-33.02-17.47-32.77-32H16c-8.8 0-16 7.2-16 16v16c0 35.2 28.8 64 64 64h512c35.2 0 64-28.8 64-64v-16c0-8.8-7.2-16-16-16zM576 48c0-26.4-21.6-48-48-48H112C85.6 0 64 21.6 64 48v336h512V48zm-64 272H128V64h384v256z"},child:[]}]})(e)}function w3(e){return G({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M546.2 9.7c-5.6-12.5-21.6-13-28.3-1.2C486.9 62.4 431.4 96 368 96h-80C182 96 96 182 96 288c0 7 .8 13.7 1.5 20.5C161.3 262.8 253.4 224 384 224c8.8 0 16 7.2 16 16s-7.2 16-16 16C132.6 256 26 410.1 2.4 468c-6.6 16.3 1.2 34.9 17.5 41.6 16.4 6.8 35-1.1 41.8-17.3 1.5-3.6 20.9-47.9 71.9-90.6 32.4 43.9 94 85.8 174.9 77.2C465.5 467.5 576 326.7 576 154.3c0-50.2-10.8-102.2-29.8-144.6z"},child:[]}]})(e)}function Rf(e){return G({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M552 64H88c-13.255 0-24 10.745-24 24v8H24c-13.255 0-24 10.745-24 24v272c0 30.928 25.072 56 56 56h472c26.51 0 48-21.49 48-48V88c0-13.255-10.745-24-24-24zM56 400a8 8 0 0 1-8-8V144h16v248a8 8 0 0 1-8 8zm236-16H140c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h152c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12zm208 0H348c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h152c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12zm-208-96H140c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h152c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12zm208 0H348c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h152c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12zm0-96H140c-6.627 0-12-5.373-12-12v-40c0-6.627 5.373-12 12-12h360c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12z"},child:[]}]})(e)}function xa(e){return G({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M505.12019,19.09375c-1.18945-5.53125-6.65819-11-12.207-12.1875C460.716,0,435.507,0,410.40747,0,307.17523,0,245.26909,55.20312,199.05238,128H94.83772c-16.34763.01562-35.55658,11.875-42.88664,26.48438L2.51562,253.29688A28.4,28.4,0,0,0,0,264a24.00867,24.00867,0,0,0,24.00582,24H127.81618l-22.47457,22.46875c-11.36521,11.36133-12.99607,32.25781,0,45.25L156.24582,406.625c11.15623,11.1875,32.15619,13.15625,45.27726,0l22.47457-22.46875V488a24.00867,24.00867,0,0,0,24.00581,24,28.55934,28.55934,0,0,0,10.707-2.51562l98.72834-49.39063c14.62888-7.29687,26.50776-26.5,26.50776-42.85937V312.79688c72.59753-46.3125,128.03493-108.40626,128.03493-211.09376C512.07526,76.5,512.07526,51.29688,505.12019,19.09375ZM384.04033,168A40,40,0,1,1,424.05,128,40.02322,40.02322,0,0,1,384.04033,168Z"},child:[]}]})(e)}function ug(e){return G({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M480 160H32c-17.673 0-32-14.327-32-32V64c0-17.673 14.327-32 32-32h448c17.673 0 32 14.327 32 32v64c0 17.673-14.327 32-32 32zm-48-88c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-64 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm112 248H32c-17.673 0-32-14.327-32-32v-64c0-17.673 14.327-32 32-32h448c17.673 0 32 14.327 32 32v64c0 17.673-14.327 32-32 32zm-48-88c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-64 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm112 248H32c-17.673 0-32-14.327-32-32v-64c0-17.673 14.327-32 32-32h448c17.673 0 32 14.327 32 32v64c0 17.673-14.327 32-32 32zm-48-88c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-64 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24z"},child:[]}]})(e)}function Il(e){return G({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M352 160v-32C352 57.42 294.579 0 224 0 153.42 0 96 57.42 96 128v32H0v272c0 44.183 35.817 80 80 80h288c44.183 0 80-35.817 80-80V160h-96zm-192-32c0-35.29 28.71-64 64-64s64 28.71 64 64v32H160v-32zm160 120c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zm-192 0c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24z"},child:[]}]})(e)}function S3(e){return G({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M528.12 301.319l47.273-208C578.806 78.301 567.391 64 551.99 64H159.208l-9.166-44.81C147.758 8.021 137.93 0 126.529 0H24C10.745 0 0 10.745 0 24v16c0 13.255 10.745 24 24 24h69.883l70.248 343.435C147.325 417.1 136 435.222 136 456c0 30.928 25.072 56 56 56s56-25.072 56-56c0-15.674-6.447-29.835-16.824-40h209.647C430.447 426.165 424 440.326 424 456c0 30.928 25.072 56 56 56s56-25.072 56-56c0-22.172-12.888-41.332-31.579-50.405l5.517-24.276c3.413-15.018-8.002-29.319-23.403-29.319H218.117l-6.545-32h293.145c11.206 0 20.92-7.754 23.403-18.681z"},child:[]}]})(e)}function Vl(e){return G({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M592 0H48A48 48 0 0 0 0 48v320a48 48 0 0 0 48 48h240v32H112a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16H352v-32h240a48 48 0 0 0 48-48V48a48 48 0 0 0-48-48zm-16 352H64V64h512z"},child:[]}]})(e)}function k3(e){return G({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M575.7 280.8C547.1 144.5 437.3 62.6 320 49.9V32c0-17.7-14.3-32-32-32s-32 14.3-32 32v17.9C138.3 62.6 29.5 144.5.3 280.8c-2.2 10.1 8.5 21.3 18.7 11.4 52-55 107.7-52.4 158.6 37 5.3 9.5 14.9 8.6 19.7 0 20.2-35.4 44.9-73.2 90.7-73.2 58.5 0 88.2 68.8 90.7 73.2 4.8 8.6 14.4 9.5 19.7 0 51-89.5 107.1-91.4 158.6-37 10.3 10 20.9-1.3 18.7-11.4zM256 301.7V432c0 8.8-7.2 16-16 16-7.8 0-13.2-5.3-15.1-10.7-5.9-16.7-24.1-25.4-40.8-19.5-16.7 5.9-25.4 24.2-19.5 40.8 11.2 31.9 41.6 53.3 75.4 53.3 44.1 0 80-35.9 80-80V301.6c-9.1-7.9-19.8-13.6-32-13.6-12.3.1-22.4 4.8-32 13.7z"},child:[]}]})(e)}function b3(e){return G({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M496 128v16a8 8 0 0 1-8 8h-24v12c0 6.627-5.373 12-12 12H60c-6.627 0-12-5.373-12-12v-12H24a8 8 0 0 1-8-8v-16a8 8 0 0 1 4.941-7.392l232-88a7.996 7.996 0 0 1 6.118 0l232 88A8 8 0 0 1 496 128zm-24 304H40c-13.255 0-24 10.745-24 24v16a8 8 0 0 0 8 8h464a8 8 0 0 0 8-8v-16c0-13.255-10.745-24-24-24zM96 192v192H60c-6.627 0-12 5.373-12 12v20h416v-20c0-6.627-5.373-12-12-12h-36V192h-64v192h-64V192h-64v192h-64V192H96z"},child:[]}]})(e)}function no(e){return G({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"},child:[]}]})(e)}function If(e){return G({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M336.2 64H47.8C21.4 64 0 85.4 0 111.8v288.4C0 426.6 21.4 448 47.8 448h288.4c26.4 0 47.8-21.4 47.8-47.8V111.8c0-26.4-21.4-47.8-47.8-47.8zm189.4 37.7L416 177.3v157.4l109.6 75.5c21.2 14.6 50.4-.3 50.4-25.8V127.5c0-25.4-29.1-40.4-50.4-25.8z"},child:[]}]})(e)}const C3=[{title:"Decline in Reading: How to Reverse the Trend",isAudiobook:!0,publicationLink:"https://a.co/d/fMRUajT",audiobookLink:"https://a.co/d/axiDqVe",description:["Comprehensive analysis of declining reading habits among youth and their societal implications","Offers actionable strategies for parents, educators, and community leaders to cultivate reading love","Addresses the impact of screen-dominated culture on literacy and academic success","Provides inspiring anecdotes and evidence-based approaches to reinvigorate reading culture"],icon:u.jsx(m3,{className:"text-2xl text-blue-400"}),category:"Education & Literacy"},{title:"Virtual Reality in Real Estate: The Missing Guide",publicationLink:"https://a.co/d/aPGXrfu",description:["Practical guide exploring VR applications in modern real estate practices","Comprehensive analysis of how VR helps agents save time and buyers explore more properties","Features profiles of close to 30 companies innovating in the VR real estate space","Essential resource for real estate professionals adopting emerging technologies"],icon:u.jsx(g3,{className:"text-2xl text-purple-400"}),category:"Technology & Innovation"}],P3=()=>u.jsx("section",{id:"publications",className:"py-16 pt-24 bg-slate-950",children:u.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[u.jsxs(I.div,{className:"text-center mb-16",initial:{opacity:0,y:-20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[u.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-4 text-slate-100 font-orbitron",children:"Publications"}),u.jsx("p",{className:"text-lg text-slate-400 max-w-2xl mx-auto font-inter",children:"Published works addressing key challenges in education, technology, and industry innovation"})]}),u.jsx("div",{className:"grid md:grid-cols-2 gap-8 max-w-6xl mx-auto",children:C3.map((e,t)=>u.jsxs(I.div,{className:"bg-slate-900/50 rounded-xl p-8 backdrop-blur-sm border border-slate-700/50 hover:border-blue-500/30 transition-all duration-300 group",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5,delay:t*.2},children:[u.jsxs("div",{className:"flex items-start gap-4 mb-6",children:[u.jsx("div",{className:"flex-shrink-0 flex items-center justify-center w-16 h-16 rounded-xl bg-slate-800/50 border border-slate-600/50 group-hover:border-blue-500/30 transition-colors",children:e.icon}),u.jsxs("div",{className:"flex-1",children:[u.jsx("div",{className:"text-sm text-blue-400 font-medium mb-1",children:e.category}),u.jsx("h3",{className:"text-xl font-bold text-white group-hover:text-blue-400 transition-colors leading-tight",children:e.title})]})]}),u.jsx("div",{className:"mb-6",children:u.jsx("ul",{className:"space-y-2",children:e.description.map((n,r)=>u.jsxs("li",{className:"flex items-start",children:[u.jsx("span",{className:"text-blue-400 mr-3 text-sm mt-1",children:"▹"}),u.jsx("span",{className:"text-slate-300 text-sm leading-relaxed",children:n})]},r))})}),u.jsxs("div",{className:"flex flex-wrap gap-3",children:[u.jsxs("a",{href:e.publicationLink,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-4 py-2 bg-blue-500 hover:bg-blue-600 text-white rounded-lg transition-all duration-300 font-medium text-sm",children:[u.jsx(u2,{className:"w-4 h-4"}),"Read Book",u.jsx(mi,{className:"w-3 h-3"})]}),e.isAudiobook&&e.audiobookLink&&u.jsxs("a",{href:e.audiobookLink,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-4 py-2 bg-slate-700 hover:bg-slate-600 text-white rounded-lg transition-all duration-300 font-medium text-sm",children:[u.jsx(y2,{className:"w-4 h-4"}),"Listen",u.jsx(mi,{className:"w-3 h-3"})]})]}),u.jsx("div",{className:"mt-4 pt-4 border-t border-slate-700/50",children:u.jsxs("div",{className:"flex items-center gap-2 text-slate-400 text-sm",children:[u.jsx("div",{className:"w-2 h-2 bg-green-400 rounded-full"}),u.jsx("span",{children:"Published Work"}),e.isAudiobook&&u.jsxs(u.Fragment,{children:[u.jsx("span",{children:"•"}),u.jsx(y3,{className:"w-3 h-3"}),u.jsx("span",{children:"Audiobook Available"})]})]})})]},e.title))}),u.jsx(I.div,{className:"mt-16 text-center",initial:{opacity:0}
48,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.5,delay:.5},children:u.jsxs("div",{className:"bg-slate-900/50 rounded-xl p-6 backdrop-blur-sm border border-slate-700/50 max-w-md mx-auto",children:[u.jsx("h3",{className:"text-lg font-bold text-white mb-2",children:"Publication Impact"}),u.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[u.jsxs("div",{className:"text-center",children:[u.jsx("div",{className:"text-2xl font-bold text-blue-400",children:"2"}),u.jsx("div",{className:"text-sm text-slate-400",children:"Published Books"})]}),u.jsxs("div",{className:"text-center",children:[u.jsx("div",{className:"text-2xl font-bold text-green-400",children:"2"}),u.jsx("div",{className:"text-sm text-slate-400",children:"Formats Available"})]})]})]})})]})}),N3=(e,t=800)=>{const n=window.pageYOffset,r=e-n;let i=null;const o=a=>a<.5?8*a*a*a*a:1-8*--a*a*a*a,s=a=>{i===null&&(i=a);const l=a-i,c=Math.min(l/t,1);window.scrollTo(0,n+r*o(c)),c<1&&requestAnimationFrame(s)};requestAnimationFrame(s)},T3=[{title:"CDP SDK Wallet Toolkit",description:"Open-source laboratory for Coinbase Developer Platform (CDP) SDK featuring advanced wallet management, transaction handling, and blockchain interactions. Won as individual developer.",fullDescription:["Individual developer achievement - built and won independently","Comprehensive toolkit for CDP SDK development and testing","Advanced wallet management with multi-chain support","Transaction handling and smart contract interactions","Developer-friendly tools and utilities for Web3 development"],technologies:["CDP SDK","Web3","Blockchain","Wallet Integration"],github:"https://github.com/brianyang/cdp-sdk-wallet-toolkit",liveDemo:"https://cdp-sdk-wallet-toolkit.vercel.app/",award:{title:"Grand Prize Winner",event:"Coinbase Developer Platform On-Site Event",prize:"$5,000 Cash Equivalent Award",date:"May 2025",type:"hackathon"},featured:!0,icon:u.jsx(d3,{className:"text-2xl text-blue-400"})},{title:"Smart Account Starter",description:"Open-source toolkit providing React SDK for Web3 development with seamless integration for multiple Wallet-as-a-Service providers. Individual developer project.",fullDescription:["Individual developer project - built independently","React SDK for rapid Web3 application development","Single integration point for multiple WaaS providers","Smart account abstraction and management","Developer tools for account creation and wallet interactions"],technologies:["React","Web3","Smart Accounts","WaaS Integration"],github:"https://github.com/brianyang/smart-account-starter",liveDemo:"https://smart-account-starter.vercel.app/",award:null,featured:!0,icon:u.jsx(f3,{className:"text-2xl text-cyan-400"})}],j3=[{title:"DOOD Lore",description:"Advanced AI storytelling platform that leverages pgVector embeddings for long-term memory management, enabling AI agents to maintain persistent personalities and cross-character memory sharing across conversations.",fullDescription:["Individual developer achievement - built and won independently","Advanced AI storytelling platform with persistent memory","pgVector embeddings for long-term memory management","AI agents with persistent personalities and cross-character memory sharing","Interactive story creation with dynamic image generation","Voice synthesis with text-to-speech narration","Intelligent book generation powered by sophisticated memory system","Memory scoring based on recency, frequency, and emotional significance"],technologies:["AI","pgVector","Embeddings","Storytelling","Memory Management","TTS","Image Generation"],github:null,liveDemo:"https://doodlore.com",techDoc:"https://telegra.ph/Building-the-Future-of-Interactive-AI-Storytelling-A-Deep-Dive-into-Doodlores-Technical-Architecture-07-10",award:{title:"Coolest AI Agent for Multi Modal Storytelling",event:"Dreamnet Character Agent Hackathon co-hosted with SendAI",prize:"$5,000 Cash Award",date:"July 2025",type:"hackathon"},featured:!0,icon:u.jsx(to,{className:"text-2xl text-purple-400"})},{title:"3D Tours",description:"Revolutionary real estate platform featuring immersive 3D property tours and virtual walkthroughs. Won $5,000 as individual developer.",fullDescription:["Individual developer achievement - built and won independently","Immersive 3D property visualization technology","Virtual reality tour capabilities","Advanced real estate marketing platform","Enhanced buyer engagement through interactive experiences"],technologies:["3D Graphics","VR","Real Estate Tech","Interactive Media"],github:null,liveDemo:"https://get3dtours.netlify.app/",award:{title:"Grand Prize Winner",event:"REBNYTech Brokerage Challenge",prize:"$5,000 Cash Award",date:"October 2017",type:"competition"},featured:!0,icon:u.jsx(to,{className:"text-2xl text-yellow-400"})},{title:"GetUnfiltered",description:"Fashion technology app that won the Global Fashion Battle, competing against teams from London, Milan, and Paris. Team project victory.",fullDescription:["Team project - collaborated with other developers to win competition","Fashion app pulling data from Instagram, Tumblr, Facebook, and Pinterest","Competed in Startup Weekend Fashion Tech 'Global Fashion Battle'","Pitched to panel of investors and guests on global stage in Poland","Developed monetization strategy through data sales to brands and retailers","Attended Decoded Fashion Conference meeting with designers, technologists, and VCs"],technologies:["Fashion Tech","Social Media APIs","Data Analytics","Mobile App"],github:null,liveDemo:null,presentationLink:"/presentations/unfiltered-presentation.pdf",award:{title:"Global Fashion Battle Winner",event:"Startup Weekend Fashion Tech",prize:"Trip to Poland + Global Stage Pitch",date:"October 2014",type:"competition"},featured:!0,icon:u.jsx(to,{className:"text-2xl text-purple-400"})}
48,{title:"digi.dj",description:"Innovative multi-API mashup built in collaboration with Venmo's co-founder and early engineers, combining location, music, and payments years before mainstream adoption. Team project with founding team.",fullDescription:["Team project - collaborated directly with Venmo co-founder and three early engineers","Built when Venmo was pre-Series A, before $800M+ PayPal acquisition","Multi-API integration combining Foursquare, Spotify, and Venmo in their infancy","Real-time DJ playlist discovery at venues through location check-ins","Song request system allowing users to request Spotify tracks to DJs","Mobile payment integration for tipping DJs using early Venmo API","Built native mobile apps for both Android and iOS","Forward-thinking social commerce concept years before mainstream adoption"],technologies:["Foursquare API","Spotify API","Venmo API","Mobile Apps","Social Commerce"],github:null,liveDemo:"/images/digidj-screenshot.png",imageUrl:"/images/digidj-screenshot.png",award:{title:"People's Choice Award Winner",event:"Foursquare Hackathon",prize:"People's Choice Award",date:"September 2011",type:"hackathon"},featured:!0,icon:u.jsx(to,{className:"text-2xl text-green-400"})}],E3=()=>{const[e,t]=w.useState(!1),[n,r]=w.useState(null),s=[...j3,...T3].sort((d,f)=>{const p=v=>{var x;if((x=v.award)!=null&&x.date){const y=v.award.date;if(y.includes("2025")){const[k,h]=y.split(" "),m={January:0,February:1,March:2,April:3,May:4,June:5,July:6,August:7,September:8,October:9,November:10,December:11};return new Date(parseInt(h),m[k]||0,1)}return new Date(y)}return v.title==="Smart Account Starter"?new Date("2024-01-01"):new Date("2020-01-01")};return p(f)-p(d)}).filter(d=>d.featured),a=(d,f,p="image")=>{r({url:d,title:f,type:p})},l=()=>{r(null)},c=({project:d,index:f})=>{const[p,v]=w.useState(!1);return u.jsxs(I.div,{className:"bg-slate-800/50 rounded-xl p-6 backdrop-blur-sm border border-slate-700/50 hover:border-blue-500/30 transition-all duration-300 h-full flex flex-col group",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5,delay:f*.1},onMouseEnter:()=>v(!0),onMouseLeave:()=>v(!1),children:[u.jsxs("div",{className:"flex items-start justify-between mb-4",children:[u.jsxs("div",{className:"flex items-center gap-4",children:[u.jsx("div",{className:"flex-shrink-0 flex items-center justify-center w-12 h-12 rounded-lg bg-slate-700/50 border border-slate-600/50",children:d.icon}),u.jsxs("div",{className:"flex-1",children:[u.jsx("h3",{className:"text-xl font-bold text-white group-hover:text-blue-400 transition-colors",children:d.title}),d.award&&u.jsxs("div",{className:"flex items-center gap-2 mt-1",children:[u.jsx(kd,{className:"w-4 h-4 text-yellow-400"}),u.jsx("span",{className:"text-sm text-yellow-400 font-medium",children:d.award.title})]})]})]}),u.jsxs("div",{className:"flex gap-2",children:[d.github&&u.jsx("a",{href:d.github,target:"_blank",rel:"noopener noreferrer",className:"p-2 text-slate-400 hover:text-white bg-slate-700/50 hover:bg-slate-600/50 rounded-lg transition-all duration-300",title:"View on GitHub",children:u.jsx(Lh,{className:"w-4 h-4"})}),d.liveDemo&&u.jsx(u.Fragment,{children:d.liveDemo.includes(".png")||d.liveDemo.includes(".jpg")?u.jsx("button",{onClick:()=>a(d.liveDemo,d.title),className:"p-2 text-slate-400 hover:text-white bg-slate-700/50 hover:bg-slate-600/50 rounded-lg transition-all duration-300",title:"View Image",children:u.jsx(xl,{className:"w-4 h-4"})}):u.jsx("a",{href:d.liveDemo,target:"_blank",rel:"noopener noreferrer",className:"p-2 text-slate-400 hover:text-white bg-slate-700/50 hover:bg-slate-600/50 rounded-lg transition-all duration-300",title:"Live Demo",children:u.jsx(mi,{className:"w-4 h-4"})})}),d.presentationLink&&u.jsx("button",{onClick:()=>a(d.presentationLink,`${d.title} Presentation`,"pdf"),className:"p-2 text-slate-400 hover:text-white bg-slate-700/50 hover:bg-slate-600/50 rounded-lg transition-all duration-300",title:"View Presentation",children:u.jsx($r,{className:"w-4 h-4"})}),d.techDoc&&u.jsx("a",{href:d.techDoc,target:"_blank",rel:"noopener noreferrer",className:"p-2 text-slate-400 hover:text-white bg-slate-700/50 hover:bg-slate-600/50 rounded-lg transition-all duration-300",title:"Technical Documentation",children:u.jsx($r,{className:"w-4 h-4"})})]})]}),d.award&&u.jsxs(I.div,{className:"mb-4 p-3 bg-gradient-to-r from-yellow-500/10 to-orange-500/10 rounded-lg border border-yellow-500/20",initial:{opacity:0,scale:.95}
48,animate:{opacity:1,scale:1},transition:{delay:.2},children:[u.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[u.jsx(c2,{className:"w-4 h-4 text-yellow-400"}),u.jsx("span",{className:"text-yellow-400 font-semibold text-sm",children:d.award.event})]}),u.jsxs("div",{className:"text-sm text-slate-300",children:[u.jsx("span",{className:"font-medium text-green-400",children:d.award.prize}),u.jsxs("span",{className:"text-slate-400 ml-2",children:["• ",d.award.date]})]})]}),u.jsx("p",{className:"text-slate-300 text-sm mb-4 flex-grow",children:d.description}),u.jsx(Nt,{children:p&&d.fullDescription&&u.jsxs(I.div,{initial:{opacity:0,height:0,marginBottom:0},animate:{opacity:1,height:"auto",marginBottom:16},exit:{opacity:0,height:0,marginBottom:0},transition:{duration:.2,ease:"easeInOut"},className:"overflow-hidden",children:[u.jsx("h4",{className:"text-sm font-semibold text-blue-400 mb-2",children:"Key Features:"}),u.jsx("ul",{className:"space-y-1",children:d.fullDescription.map((x,y)=>u.jsxs("li",{className:"flex items-start",children:[u.jsx("span",{className:"text-blue-400 mr-2 text-xs mt-1",children:"▹"}),u.jsx("span",{className:"text-slate-300 text-sm",children:x})]},y))})]})}),u.jsx("div",{className:"flex flex-wrap gap-1.5 mt-auto",children:d.technologies.map((x,y)=>u.jsx("span",{className:"px-2 py-0.5 text-xs font-mono rounded-full bg-slate-700/50 text-blue-300",children:x},y))})]})};return u.jsx("section",{id:"opensource",className:"py-16 pt-24 bg-slate-900/80",children:u.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[u.jsxs(I.div,{className:"text-center mb-16",initial:{opacity:0,y:-20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[u.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-4 text-slate-100 font-orbitron",children:"Open Source & Awards"}),u.jsx("p",{className:"text-lg text-slate-400 max-w-2xl mx-auto font-inter",children:"Award-winning open source contributions and hackathon victories showcasing innovation in Web3, blockchain, and emerging technologies"})]}),u.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 mb-8",children:s.map((d,f)=>u.jsx(c,{project:d,index:f},d.title))}),u.jsx(Nt,{children:e&&u.jsx(I.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.5,ease:[.25,.46,.45,.94]},className:"overflow-hidden",children:u.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6 mb-8"})})}),u.jsx(I.div,{className:"text-center mt-12",initial:{opacity:0}
48,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.5,delay:.3},children:u.jsxs("div",{className:"bg-slate-800/50 rounded-xl p-6 backdrop-blur-sm border border-slate-700/50",children:[u.jsx("h3",{className:"text-xl font-bold text-white mb-2",children:"More Hackathons & Competitions"}),u.jsx("p",{className:"text-slate-400 mb-4",children:"View additional hackathon participations, competition wins, and community contributions"}),u.jsxs("a",{href:"#sideprojects",className:"inline-flex items-center gap-2 px-6 py-3 bg-blue-500 hover:bg-blue-600 text-white rounded-lg transition-all duration-300 font-medium",onClick:d=>{d.preventDefault();const f=document.querySelector("#sideprojects");if(f){const v=f.offsetTop-80;N3(v,600),setTimeout(()=>{const x=document.querySelectorAll("button"),y=Array.from(x).find(k=>{var h,m;return((h=k.textContent)==null?void 0:h.includes("More"))&&((m=k.closest("section"))==null?void 0:m.id)==="sideprojects"});y&&!y.textContent.includes("Show Less")&&y.click()},700)}},children:[u.jsx(kd,{className:"w-4 h-4"}),"View All Projects"]})]})}),u.jsx(Nt,{children:n&&u.jsx(I.div,{initial:{opacity:0}
48,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-black/80 backdrop-blur-sm z-50 flex items-center justify-center p-4",onClick:l,children:u.jsxs(I.div,{initial:{scale:.9,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.9,opacity:0},className:`relative ${n.type==="pdf"?"max-w-6xl":"max-w-4xl"} max-h-[90vh] bg-slate-800 rounded-xl overflow-hidden`,onClick:d=>d.stopPropagation(),children:[u.jsxs("div",{className:"flex items-center justify-between p-4 border-b border-slate-700",children:[u.jsx("h3",{className:"text-lg font-semibold text-white",children:n.title}),u.jsx("button",{onClick:l,className:"p-2 text-slate-400 hover:text-white bg-slate-700/50 hover:bg-slate-600/50 rounded-lg transition-all duration-300",children:u.jsx(ks,{className:"w-4 h-4"})})]}),u.jsx("div",{className:"p-4",children:n.type==="pdf"?u.jsx("iframe",{src:n.url,title:n.title,className:"w-full h-[70vh] rounded-lg border border-slate-600"}):u.jsx("img",{src:n.url,alt:`${n.title} screenshot`,className:"w-full h-auto max-h-[70vh] object-contain rounded-lg"})})]})})})]})})},ro=[{title:"Staff Software Engineer",company:"BY Software, Inc",period:"2008 - Present",location:"New York, NY",description:["Founded and led software development consulting firm serving investment banks, fintech firms, and private ventures","Specialized in full-stack development, technical leadership, and solution architecture","Delivered high-performance applications for financial services and trading platforms"],technologies:["JavaScript","TypeScript","React","Node.js","Python","AWS","Blockchain"],icon:u.jsx(So,{className:"text-2xl text-blue-400"})},{title:"Vice President",company:"KKR & Co. Inc",period:"2022 - 2023",location:"New York, NY",description:["Developed and maintained investor portal applications using TypeScript, React, and Node","Engineered complex financial data models and analytical tools","Led migration from Angular to React/Redux for enterprise applications","Managed teams of 5-7 engineers, conducting code reviews and mentoring"],technologies:["TypeScript","React","Redux","Node.js","AWS"],icon:u.jsx(at,{className:"text-2xl text-green-400"})},{title:"Senior Software Engineer",company:"Domain Money",period:"2021 - 2022",location:"New York, NY",description:["Spearheaded development of high-performance trading platforms for stocks and crypto","Optimized application performance and reduced load times significantly","Designed reusable React components with Radix UI","Implemented automated testing frameworks using Jest and Cypress"],technologies:["React","TypeScript","Node.js","Jest","Cypress"],icon:u.jsx(ug,{className:"text-2xl text-purple-400"})},{title:"Vice President - Wealth Management",company:"Morgan Stanley",period:"2020 - 2021",location:"New York, NY",description:["Led development of scalable Angular 8 web applications with TypeScript and Redux","Leveraged RXJS for reactive applications and real-time data visualization","Mentored developers in Angular, TypeScript, and modern web technologies","Optimized application performance, reducing load times by up to 40%"],technologies:["Angular 8","TypeScript","RXJS","Redux","Jest"],icon:u.jsx(yi,{className:"text-2xl text-red-400"})},{title:"Vice President - Asset and Wealth Management",company:"JPMorgan Chase",period:"2018 - 2019",location:"New York, NY",description:["Developed intuitive trading UI with React, including dynamic charts and graphs for portfolio managers to place orders and trades","Structured React TypeScript architecture using container component pattern for maintainable and reusable code","Promoted testing culture by implementing integration and unit tests with Cypress and Jest","Led code reviews and mentored junior developers in React, TypeScript, and best practices"],technologies:["React","TypeScript","Cypress","Jest","Chromium"],icon:u.jsx(at,{className:"text-2xl text-blue-400"})},{title:"Vice President - Global Credit",company:"Tradeweb",period:"2017 - 2018",location:"New York, NY",description:["Led development of trading UI on Chromium for institutional dealers to execute orders for derivatives and bonds","Architected React and Flow solution as a wrapper for existing JS Framework","Built features for trading credit derivatives using AngularJS, React, and Webpack","Developed new application for sweeps integrated 
48with proprietary JavaScript library"],technologies:["React","AngularJS","Flow","Webpack","Mocha","Chai"],icon:u.jsx(yi,{className:"text-2xl text-blue-400"})}],A3=()=>{const[e,t]=w.useState(!1),n=3,r=()=>{t(!e)};return u.jsx("section",{id:"experience",className:"py-16 md:py-24 bg-slate-800/60",children:u.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[u.jsxs(I.div,{className:"text-center mb-16",initial:{opacity:0,y:-20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[u.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-4 text-slate-100 font-orbitron",children:"Recent Experiences"}),u.jsx("p",{className:"text-lg text-slate-400 max-w-2xl mx-auto font-inter",children:"Highlighted roles showcasing leadership and technical expertise across industries"})]}),u.jsxs("div",{className:"space-y-12 max-w-4xl mx-auto",children:[ro.slice(0,n).map((i,o)=>u.jsx(I.div,{className:"bg-slate-800/50 rounded-xl p-6 md:p-8 backdrop-blur-sm border border-slate-700/50 hover:border-blue-500/30 transition-all duration-300",initial:{opacity:0,x:o%2===0?-50:50},whileInView:{opacity:1,x:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.5,delay:o*.1},children:u.jsxs("div",{className:"flex flex-col md:flex-row md:items-start gap-6",children:[u.jsx("div",{className:"flex-shrink-0 flex items-center justify-center w-16 h-16 rounded-lg bg-slate-700/50 border border-slate-600/50",children:i.icon}),u.jsxs("div",{className:"flex-1",children:[u.jsxs("div",{className:"flex flex-col md:flex-row md:items-center justify-between gap-2 mb-3",children:[u.jsxs("h3",{className:"text-xl font-bold text-white",children:[i.title," · ",i.company]}),u.jsx("div",{className:"text-sm text-slate-400",children:i.period})]}),u.jsx("div",{className:"text-blue-400 font-medium mb-4",children:i.location}),u.jsx("ul",{className:"space-y-2 mb-4",children:i.description.map((s,a)=>u.jsxs("li",{className:"flex items-start",children:[u.jsx("span",{className:"text-blue-400 mr-2",children:"▹"}),u.jsx("span",{className:"text-slate-300",children:s})]},a))}),u.jsx("div",{className:"flex flex-wrap gap-2 mt-4",children:i.technologies.map((s,a)=>u.jsx("span",{className:"px-3 py-1 text-xs font-mono rounded-full bg-slate-700/50 text-blue-300",children:s},a))})]})]})},o)),u.jsx(Nt,{children:e&&ro.slice(n).map((i,o)=>u.jsx(I.div,{className:"bg-slate-800/50 rounded-xl p-6 md:p-8 backdrop-blur-sm border border-slate-700/50 hover:border-blue-500/30 transition-all duration-300",initial:{opacity:0,y:30,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-30,scale:.95},transition:{duration:.4,ease:[.25,.46,.45,.94],delay:o*.1},children:u.jsxs("div",{className:"flex flex-col md:flex-row md:items-start gap-6",children:[u.jsx("div",{className:"flex-shrink-0 flex items-center justify-center w-16 h-16 rounded-lg bg-slate-700/50 border border-slate-600/50",children:i.icon}),u.jsxs("div",{className:"flex-1",children:[u.jsxs("div",{className:"flex flex-col md:flex-row md:items-center justify-between gap-2 mb-3",children:[u.jsxs("h3",{className:"text-xl font-bold text-white",children:[i.title," · ",i.company]}),u.jsx("div",{className:"text-sm text-slate-400",children:i.period})]}),u.jsx("div",{className:"text-blue-400 font-medium mb-4",children:i.location}),u.jsx("ul",{className:"space-y-2 mb-4",children:i.description.map((s,a)=>u.jsxs("li",{className:"flex items-start",children:[u.jsx("span",{className:"text-blue-400 mr-2",children:"▹"}),u.jsx("span",{className:"text-slate-300",children:s})]},a))}),u.jsx("div",{className:"flex flex-wrap gap-2 mt-4",children:i.technologies.map((s,a)=>u.jsx("span",{className:"px-3 py-1 text-xs font-mono rounded-full bg-slate-700/50 text-blue-300",children:s},a))})]})]})},n+o))}),ro.length>n&&u.jsx(I.div,{className:"flex justify-center mt-12",initial:{opacity:0}
48,whileInView:{opacity:1},viewport:{once:!0,amount:.5},transition:{duration:.3,delay:.5},children:u.jsxs("button",{onClick:r,className:"flex items-center gap-2 px-6 py-3 bg-slate-700/50 hover:bg-slate-600/50 text-slate-300 hover:text-slate-200 rounded-lg transition-all duration-300 border border-slate-600 hover:border-slate-500",children:[u.jsx("span",{children:e?"Show Less":`Show ${ro.length-n} More Experiences`}),u.jsx(I.div,{animate:{rotate:e?180:0},transition:{duration:.3,ease:[.25,.46,.45,.94]},children:u.jsx(Yo,{className:"w-4 h-4"})})]})})]})]})})},io=[{company:"Series Financial",role:"Staff Software Engineer",period:"2023",location:"New York, NY (remote)",description:["Joined Series Financial at Series A. Series raised $25 million to build an enterprise financial services product.","Designed and wrote APIs in NestJS/Express and Prisma, integrated Firebase authentication.","Created views in front-end applications using Next.js, React.js, and Redux.","Implemented CI/CD pipelines with GitHub Actions and wrote comprehensive unit tests in Jest and Cypress.","Created infrastructure in AWS EKS and Lambda using Terraform, Docker, and Serverless framework."],technologies:["Next.js","React","Redux","NestJS","Express","Prisma","Firebase","Jest","Cypress","AWS EKS","Lambda","Terraform","Docker","Serverless"],icon:u.jsx(at,{className:"text-2xl text-blue-400"})},{company:"Bank of America, Treasury Systems",role:"Consulting Software Engineer - Treasury Systems",period:"2020",location:"Jersey City, NJ (remote)",description:["Developed and maintained treasury management systems for Bank of America.","Implemented user interfaces and business logic using HTML, CSS, JavaScript, TypeScript, and Angular.","Collaborated with treasury and technology teams to deliver secure, scalable solutions."],technologies:["HTML","CSS","JavaScript","TypeScript","Angular"],icon:u.jsx(at,{className:"text-2xl text-blue-400"})},{company:"Vitech Systems",role:"Consulting Software Engineer – Group Insurance & Pension Administration Software",period:"2019",location:"New York, NY",description:["Built a custom CMS for group insurance holders and organizations.","Developed features and integrations using HTML, CSS, JavaScript, Node.js, React, and TypeScript.","Delivered scalable solutions for insurance and pension administration."],technologies:["HTML","CSS","JavaScript","Node.js","React","TypeScript"],icon:u.jsx(at,{className:"text-2xl text-cyan-400"})},{company:"HUGE, Ulta Beauty",role:"Lead Software Engineer - Enterprise CMS Integration",period:"2019",location:"Brooklyn, NY",description:["Led the development of CMS integration solutions for Ulta Beauty's digital platform.","Architected and implemented integrations with leading enterprise CMS solutions.","Managed the full project lifecycle including scoping, planning, estimation, and development.","Created technical prototypes and proof-of-concepts to demonstrate integration capabilities.","Collaborated with cross-functional teams to ensure seamless content delivery and management.","Established best practices for CMS integration and content modeling."],technologies:["Enterprise CMS","JavaScript","Node.js","API Integration","Content Modeling","Technical Architecture"],icon:u.jsx(So,{className:"text-2xl text-purple-400"})},{company:"Galaxy Digital",role:"Lead Software Engineer - Real-Time DMA Trading System",period:"2019",location:"New York, NY",description:["Built a real-time Direct Market Access (DMA) trading system for cryptocurrency markets, designed for family offices and institutional traders.","Engineered connectivity to WebSocket feeds from all major cryptocurrency exchanges for real-time market data aggregation.","Enabled traders to place large orders seamlessly across multiple exchanges, optimizing execution and minimizing slippage.","Developed a robust, low-latency trading platform using React for the frontend, Node.js and Python for backend services, and TypeScript for type safety."],technologies:["React","Node.js","Python","TypeScript","WebSockets","Crypto Exchanges","Real-Time Systems"],icon:u.jsx(ug,{className:"text-2xl text-yellow-400"})},{company:"Mantl (Alkami)",role:"Director of Engineering",period:"2019",location:"New York, NY",description:["Joined Mantl at Series A, years later they were acquired for $400M.","Directed engineering initiatives and led technical teams for Mantl's digital banking platform, reporting directly to the CTO.","Spearheaded core banking integrations with leading bank and credit union core processors including Fiserv, Jack Henry, and FIS, enabling seamless account opening and management.","Architected and developed solutions for Consumer Banking, Business Banking, and Lending products using modern web technologies including HTML, CSS, Node.js, React, and TypeScript.","Led the design and implementation of RESTful APIs and microservices to support high-volume financial transactions and data synchronization with core banking systems.","Established engineering best practices including comprehensive test coverage with Jest, CI/CD pipelines, and automated deployment strategies."],technologies:["Core Banking Integration","Fiserv","Jack Henry","FIS","Node.js","React","TypeScript","RESTful APIs","Microservices","Jest","CI/CD","AWS","Docker","Kubernetes"],icon:u.jsx(xa,{
48className:"text-2xl text-blue-500"})},{company:"CoinFi",role:"Software Engineer - Crypto Market Intelligence",period:"2018",location:"Hong Kong (remote)",description:["Worked on CoinFi, a crypto market intelligence platform built on Ethereum, designed to analyze and visualize cryptocurrency market data.","Developed features and analytics to help users track trends, volume, and sentiment across the crypto ecosystem.","Contributed to building the 'Bloomberg for crypto' by integrating on-chain and off-chain data sources."],technologies:["Ethereum","JavaScript","React","Node.js","Web3","Crypto Analytics","Market Data"],icon:u.jsx(yi,{className:"text-2xl text-orange-400"})},{company:"HUGE, Brown University",role:"Consulting Software Engineer – Educational Management System",period:"2018",location:"Brooklyn, NY",description:["Built an educational management system for Brown University as part of a digital agency engagement.","Developed full-stack features using HTML, CSS, JavaScript, TypeScript, and Node.js.","Collaborated with designers and university stakeholders to deliver a scalable and user-friendly platform."],technologies:["HTML","CSS","JavaScript","TypeScript","Node.js"],icon:u.jsx(at,{className:"text-2xl text-purple-400"})},{company:"The Dedham Group (Norstella)",role:"Lead Software Engineer",period:"2017",location:"New York, NY",description:["Led a team delivering pharma consulting solutions using modern web technologies.","Architected and developed applications with TypeScript, JavaScript, React, Node, Redux, Apollo, and GraphQL.","Implemented DevOps, deployment automation, and desktop solutions with Electron and PhantomJS."],technologies:["TypeScript","JavaScript","React","Node","ES6","Redux","Apollo","GraphQL","Feathers","HTML5","Webpack","Gulp","Styled Components","Glamor","DevOps","Deployment","PhantomJS","Electron"],icon:u.jsx(Dl,{className:"text-2xl text-pink-400"})},{company:"Victoria's Secret (L Brands)",role:"Lead Frontend Engineer",period:"2016 - 2017",location:"New York, NY",description:["Built core features and implemented responsive interface for Victoria's Secret Fashion Show","Led frontend development for Victoria's Secret e-commerce platform, focusing on enhancing the online shopping experience.","Architected and implemented responsive user interfaces using modern JavaScript frameworks and best practices.","Collaborated with cross-functional teams to deliver high-performance, accessible, and visually appealing web applications.","Mentored junior developers and established frontend development standards and best practices.","Optimized site performance and implemented A/B testing to improve conversion rates and user engagement."],technologies:["JavaScript","Polymer","ES6","HTML5","CSS3","Chrome Extension Development"],icon:u.jsx(Il,{className:"text-2xl text-pink-400"})},{company:"RCI, (Resort Condominiums International)",role:"Senior Software Engineer",period:"2016",location:"Remote",description:["Built an application to allow users to search, browse, and filter through a list of resorts returned from the API.","Developed responsive user interfaces using modern web technologies to enhance the resort discovery experience.","Implemented advanced filtering and search functionality to help users find ideal vacation destinations.","Collaborated with cross-functional teams to deliver a seamless user experience for resort exploration."],technologies:["JavaScript","React","Node.js","HTML","CSS","API Integration","Responsive Design"],icon:u.jsx(at,{className:"text-2xl text-cyan-400"})},{title:"Lead Software Engineer",company:"Code & Theory, New York Life",role:"Full Stack Developer",period:"2016",location:"New York, NY",description:["Led development of New York Life's CMS website using Adobe CQ/AEM","Architected and implemented frontend solutions with TypeScript, HTML, and CSS","Collaborated with cross-functional teams to deliver a robust content management system","Mentored junior developers and established coding standards for the project"],technologies:["JavaScript","Node","Chrome Extension Development","HTML5","jQuery","Grunt","SASS","CSS3","PhantomJS","SlimerJS"],icon:u.jsx(So,{className:"text-2xl text-blue-400"})},{company:"Crossbeat New York",role:"Full Stack Developer",period:"2016",location:"New York, NY",description:["Developed a real-time web application for a Artrepreneur, a music collaboration startup using the Meteor.js full-stack platform.","Built interactive user interfaces with React, HTML, and CSS to enable seamless music collaboration features.","Implemented real-time data synchronization and user presence features using Meteor's reactive data system.","Collaborated with the founding team to rapidly prototype and iterate on core product features."],technologies:["Meteor.js","JavaScript","React","HTML","CSS","MongoDB","Real-time Applications"],icon:u.jsx(xa,{
48className:"text-2xl text-indigo-400"})},{company:"Cadient Group (Cognizant)",role:"Lead Software Engineer",period:"2015",location:"Malvern, PA (Remote)",description:["Led a development team for AstraZeneca projects, delivering high-quality pharmaceutical digital solutions.","Architected and implemented responsive web applications using modern JavaScript frameworks.","Established development standards and mentored team members on best practices.","Implemented comprehensive testing strategies using Mocha, Chai, and Protractor."],technologies:["JavaScript","Backbone","Node","React","Angular","AngularJS","Grunt","SASS","CSS3","Mocha","Chai","HTML5","Protractor","PhantomJS"],icon:u.jsx(Dl,{className:"text-2xl text-green-400"})},{company:"WorkMarket (ADP)",role:"Lead Software Engineer",period:"2015",location:"New York, NY",description:["Joined WorkMarket at Series C and 3 years later they were acquired by ADP.","Led software engineering for a recruiting platform acquired by ADP.","Developed and maintained core features using HTML, CSS, JavaScript, React, and AngularJS.","Collaborated with cross-functional teams to deliver scalable solutions for workforce management.","Enhanced user experience and optimized performance across the platform."],technologies:["HTML","CSS","JavaScript","React","AngularJS","REST APIs"],icon:u.jsx(Lf,{className:"text-2xl text-green-400"})},{company:"JPMorgan Chase",role:"Vice President",period:"2014",location:"New York, NY",description:["Led development of business and personal banking application at chase.com","Managed a team of five engineers and seven engineers on the bill pay system","Built responsive web applications using HTML, CSS, and vanilla JavaScript with proprietary libraries"],technologies:["HTML","CSS","JavaScript","Proprietary Libraries"],icon:u.jsx(Lf,{className:"text-2xl text-green-400"})},{company:"ADP Innovation Lab",role:"Technical Architect",period:"2014",location:"New York, NY",description:["Served as Enterprise Software Application Architect","Led full stack JavaScript development initiatives","Designed scalable architecture for enterprise applications"],technologies:["JavaScript","Node.js","React","MongoDB","AWS"],icon:u.jsx(Rl,{className:"text-2xl text-blue-400"})},{company:"SapientNitro (SapientRazorfish)",role:"Senior Web Developer",period:"2013 - 2014",location:"New York, NY",description:["Worked on Ann Taylor/Loft, Ferrari, and Nutella projects","Developed responsive sites and single-page applications","Led frontend development and mentored team members"],technologies:["JavaScript","Angular","Responsive Design","REST APIs"],icon:u.jsx(no,{className:"text-2xl text-blue-400"})},{company:"Pace University",role:"Adjunct Professor - CMS Development",period:"2011-2013",location:"New York, NY",description:["Designed and taught a comprehensive course on Content Management System (CMS) development.","Covered modern web development technologies including Node.js, PHP, HTML, and CSS.","Mentored students in building and customizing CMS platforms for real-world applications.","Developed course materials, assignments, and hands-on projects to enhance learning outcomes."],technologies:["Node.js","PHP","HTML","CSS","CMS Development","Education"],icon:u.jsx(Df,{className:"text-2xl text-purple-400"})},{company:"Caravan Interactive, Inc. (TIAA-CREF)",role:"Senior Web Developer",period:"2013",location:"New York, NY (Remote)",description:["Developed a responsive mobile web app CMS for TIAA-CREF.","Created functionality allowing users to upload, view, and share videos across social media channels.","Implemented responsive design principles for optimal viewing across all devices.","Built the application using WordPress as a CMS with custom front-end development."],technologies:["WordPress","RequireJS","jQuery","Responsive Design","Social Media Integration","CMS Development"],icon:u.jsx(If,{className:"text-2xl text-blue-400"})},{company:"J.Crew",role:"Consulting Software Engineer",period:"2013",location:"New York, NY",description:["Developed UI for search engine as a Single-Page-App with HTML5 History API, implementing new features in just weeks.","Created comprehensive test coverage using Mocha and documented code with Groc.","Built frontend components using CoffeeScript for enhanced developer productivity.","Enhanced user experience for e-commerce platform with modern web technologies."],technologies:["JavaScript","HTML5","CoffeeScript","Mocha","Groc","CSS3","jQuery","Single-Page Application"],icon:u.jsx(Il,{className:"text-2xl text-blue-400"})},{company:"Ketchum Interactive (Omnicom Group)",role:"Senior Web Developer",period:"2013",location:"New York, NY",description:["Expert web application engineer working in teams and independently.","Led Drupal theme development projects and implemented custom themes.","Developed REST API for photo voting functionality using Express.","Created responsive front-end interfaces using Zurb Foundation.","Mentored junior developers on best practices and web development standards."],technologies:["Drupal","PHP","REST API","JavaScript","jQuery","Express","Zurb Foundation"],icon:u.jsx(no,{className:"text-2xl text-blue-400"})},{company:"TruTV (Turner Broadcasting Systems)",role:"Technical Lead",period:"2012 - 2013",location:"New York, NY",description:["Led a team of expert Front-end and Back-end Engineers in implementing the first responsive site for Tur
48ner Networks.","Developed responsive design solutions optimized for mobile and tablet devices.","Architected scalable solutions for media delivery and content management.","Implemented modular JavaScript architecture using RequireJS and jQuery."],technologies:["JavaScript","Backbone.js","Node.js","RequireJS","jQuery","Responsive Design","Mobile Optimization"],icon:u.jsx(Vl,{className:"text-2xl text-blue-400"})},{company:"Unison Agency (REQ)",role:"Senior Web Developer",period:"2012",location:"Washington, DC (remote)",description:["Architected and developed a responsive site built with Node, MongoDB, and CoffeeScript.","Developed a custom CMS with Node.js and MongoDB, with API implementation in Express.","Created UI for e-commerce marketing site integrated with Shopify.","Led full-stack development, handling both front-end and back-end implementation with minimal assistance."],technologies:["Node.js","MongoDB","Express","CoffeeScript","Shopify","JavaScript","CSS3","Responsive Design"],icon:u.jsx(S3,{className:"text-2xl text-blue-400"})},{company:"BBDO (Omnicom Group)",role:"Consulting Senior Technical Lead",period:"2011 - 2012",location:"New York, NY",description:["Led development for CitiGroup and Footlocker projects","Architected enterprise web applications","Mentored development teams"],technologies:["JavaScript","jQuery","PHP","MySQL","REST APIs"],icon:u.jsx(at,{className:"text-2xl text-blue-400"})},{company:"Code & Theory, A&E Network",role:"Senior Web Developer",period:"2011",location:"New York, NY",description:["Drupal multi-site installation and development","Drupal theme development","Drupal module development"],technologies:["Drupal","jQuery","Responsive Design","HTML5","CSS3"],icon:u.jsx(So,{className:"text-2xl text-blue-400"})},{company:"Ogilvy (WPP)",role:"Senior Web Developer",period:"2011",location:"New York, NY",description:["Worked on Nestle, IKEA, IBM, and Pfizer projects","Developed interactive marketing campaigns","Implemented frontend features and animations"],technologies:["JavaScript","jQuery","HTML","CSS"],icon:u.jsx(no,{className:"text-2xl text-blue-400"})},{company:"Rosetta (Publicis Groupe)",role:"Senior Web Developer",period:"2010 - 2011",location:"New York, NY",description:["Worked on Children's Miracle Network project","Developed frontend components and features","Ensured cross-browser compatibility"],technologies:["JavaScript","jQuery","HTML","CSS"],icon:u.jsx(x3,{className:"text-2xl text-blue-400"})},{company:"Roundarch (Aegis Group)",role:"Senior Web Developer",period:"2010",location:"New York, NY",description:["Worked on Bloomberg and Starwood Hotels projects","Implemented responsive design patterns","Developed interactive data visualizations"],technologies:["JavaScript","jQuery","Responsive Design","D3.js"],icon:u.jsx(yi,{className:"text-2xl text-blue-400"})},{company:"LBi (Publicis Groupe)",role:"Senior Web Developer",period:"2010",location:"New York, NY",description:["Worked on Seamless and CDM projects","Developed frontend features and components","Ensured cross-browser compatibility"],technologies:["JavaScript","jQuery","HTML","CSS"],icon:u.jsx(Rl,{className:"text-2xl text-blue-400"})},{company:"Alloy Digital (Defy Media, LLC)",role:"Senior Web Developer",period:"2010",location:"New York, NY",description:["Developed interactive video features","Implemented social sharing functionality","Enhanced user engagement metrics"],technologies:["JavaScript","HTML","CSS","PHP","jQuery"],icon:u.jsx(If,{className:"text-2xl text-blue-400"})},{company:"360i (Dentsu, Inc.)",role:"Senior Web Developer",period:"2010",location:"New York, NY",description:["Developed interactive marketing campaigns","Implemented frontend features and animations","Ensured cross-browser compatibility"],technologies:["JavaScript","jQuery","HTML","CSS"],icon:u.jsx(h3,{className:"text-2xl text-blue-400"})},{company:"Budget Travel (Newsweek)",role:"Senior Web Developer",period:"2010",location:"New York, NY",description:["Developed interactive features for news platform","Enhanced online reading experience","Implemented social sharing functionality"],technologies:["JavaScript","jQuery","HTML","CSS"],icon:u.jsx(Rf,{className:"text-2xl text-blue-400"})},{company:"Mr Youth (LBi International)",role:"Senior Web Developer",period:"2009 - 2010",location:"New York, NY",description:["Developed social media applications","Integrated 
48with third-party APIs","Enhanced user engagement features"],technologies:["JavaScript","jQuery","PHP","MySQL","APIs"],icon:u.jsx(no,{className:"text-2xl text-blue-400"})},{company:"DirecTV Latin America",role:"Senior Web Developer",period:"2009",location:"New York, NY",description:["Developed interactive TV applications","Enhanced user interface for set-top boxes","Ensured cross-platform compatibility"],technologies:["JavaScript","jQuery","HTML","CSS","Flex"],icon:u.jsx(Vl,{className:"text-2xl text-blue-400"})},{company:"MRM Worldwide (McCann Worldgroup)",role:"Senior Web Developer",period:"2009",location:"New York, NY",description:["Developed marketing campaign microsites","Implemented interactive features and animations","Ensured cross-browser compatibility"],technologies:["JavaScript","jQuery","HTML","CSS","PHP"],icon:u.jsx(cg,{className:"text-2xl text-blue-400"})},{company:"Publicis Modem (Publicis Groupe)",role:"Senior Web Developer",period:"2009",location:"New York, NY",description:["Developed digital marketing campaigns","Created interactive experiences","Ensured brand consistency across platforms"],technologies:["JavaScript","HTML","CSS","jQuery","PHP"],icon:u.jsx(p3,{className:"text-2xl text-blue-400"})},{company:"RadicalMedia®",role:"Senior Web Developer",period:"2008",location:"New York, NY",description:["Developed interactive media experiences","Created rich internet applications","Enhanced user engagement"],technologies:["HTML","CSS","JavaScript","jQuery","PHP"],icon:u.jsx(v3,{className:"text-2xl text-blue-400"})},{company:"Organic",role:"Senior Web Developer",period:"2008",location:"New York, NY",description:["Developed digital marketing solutions","Created interactive web applications","Ensured cross-browser compatibility"],technologies:["JavaScript","HTML","CSS","jQuery"],icon:u.jsx(w3,{className:"text-2xl text-blue-400"})},{company:"Time Inc.",role:"Senior Web Developer",period:"2008",location:"New York, NY",description:["Developed digital magazine features","Enhanced online reading experience","Implemented interactive elements"],technologies:["JavaScript","HTML","CSS","PHP","jQuery"],icon:u.jsx(Rf,{className:"text-2xl text-blue-400"})},{company:"Big English International Limited (Acquired)",role:"President",period:"2003 - 2008",location:"Hong Kong",description:["Founded and led educational technology company","Developed language learning software","Managed business operations and growth"],technologies:["HTML","CSS","PHP","MySQL","JavaScript"],icon:u.jsx(Df,{className:"text-2xl text-blue-400"})},{company:"Churp Photo & Design, Inc.",role:"Founder",period:"2000 - 2001",location:"Hong Kong",description:["Developed and launched web applications","Managed all aspects of business operations","Built and led development teams"],technologies:["PHP","MySQL","JavaScript","HTML"],icon:u.jsx(xa,{className:"text-2xl text-blue-400"})}],M3=()=>{const[e,t]=w.useState(!1),n=6,r=()=>{t(!e)};return u.jsx("section",{id:"consulting",className:"py-16 bg-slate-900/80",children:u.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[u.jsxs(I.div,{className:"text-center mb-16",initial:{opacity:0,y:-20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[u.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-4 text-slate-100 font-orbitron",children:"Professional Experience"}),u.jsx("p",{className:"text-lg text-slate-400 max-w-2xl mx-auto font-inter",children:"Leadership and technical roles across top companies, delivering innovative solutions and driving business growth"})]}),u.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[io.slice(0,n).map((i,o)=>u.jsxs(I.div,{className:"bg-slate-800/50 rounded-xl p-6 backdrop-blur-sm border border-slate-700/50 hover:border-blue-500/30 transition-all duration-300 h-full flex flex-col",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5,delay:o*.1},children:[u.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[u.jsx("div",{className:"flex-shrink-0 flex items-center justify-center w-12 h-12 rounded-lg bg-slate-700/50 border border-slate-600/50",children:i.icon}),u.jsxs("div",{children:[u.jsx("h3",{className:"text-xl font-bold text-white",children:i.company}),u.jsx("p",{className:"text-blue-400",children:i.role})]})]}),u.jsxs("div",{className:"text-sm text-slate-400 mb-3",children:[i.period," • ",i.location]}),u.jsx("ul",{className:"space-y-1.5 mb-3",children:i.description.map((s,a)=>u.jsxs("li",{className:"flex items-start",children:[u.jsx("span",{className:"text-blue-400 mr-2 text-xs mt-1",children:"▹"}),u.jsx("span",{className:"text-slate-300 text-sm",children:s})]},a))}),u.jsx("div",{className:"flex flex-wrap gap-1.5 mt-2",children:i.technologies.map((s,a)=>u.jsx("span",{className:"px-2 py-0.5 text-xs font-mono rounded-full bg-slate-700/50 text-blue-300",children:s},a))})]},o)),u.jsx(Nt,{children:e&&io.slice(n).map((i,o)=>u.jsxs(I.div,{className:"bg-slate-800/50 rounded-xl p-6 backdrop-blur-sm border border-slate-700/50 hover:border-blue-500/30 transition-all duration-300 h-full flex flex-col",initial:{opacity:0,y:20,scale:.95}
48,animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-20,scale:.95},transition:{duration:.4,ease:[.25,.46,.45,.94],delay:o*.05},children:[u.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[u.jsx("div",{className:"flex-shrink-0 flex items-center justify-center w-12 h-12 rounded-lg bg-slate-700/50 border border-slate-600/50",children:i.icon}),u.jsxs("div",{children:[u.jsx("h3",{className:"text-xl font-bold text-white",children:i.company}),u.jsx("p",{className:"text-blue-400",children:i.role})]})]}),u.jsxs("div",{className:"text-sm text-slate-400 mb-3",children:[i.period," • ",i.location]}),u.jsx("ul",{className:"space-y-1.5 mb-3",children:i.description.map((s,a)=>u.jsxs("li",{className:"flex items-start",children:[u.jsx("span",{className:"text-blue-400 mr-2 text-xs mt-1",children:"▹"}),u.jsx("span",{className:"text-slate-300 text-sm",children:s})]},a))}),u.jsx("div",{className:"flex flex-wrap gap-1.5 mt-2",children:i.technologies.map((s,a)=>u.jsx("span",{className:"px-2 py-0.5 text-xs font-mono rounded-full bg-slate-700/50 text-blue-300",children:s},a))})]},n+o))})]}),io.length>n&&u.jsx(I.div,{className:"flex justify-center mt-12",initial:{opacity:0}
48,whileInView:{opacity:1},viewport:{once:!0,amount:.5},transition:{duration:.3,delay:.5},children:u.jsxs("button",{onClick:r,className:"flex items-center gap-2 px-6 py-3 bg-slate-700/50 hover:bg-slate-600/50 text-slate-300 hover:text-slate-200 rounded-lg transition-all duration-300 border border-slate-600 hover:border-slate-500",children:[u.jsx("span",{children:e?"Show Less":`Show ${io.length-n} More Roles`}),u.jsx(I.div,{animate:{rotate:e?180:0},transition:{duration:.3,ease:[.25,.46,.45,.94]},children:u.jsx(Yo,{className:"w-4 h-4"})})]})})]})})},oo=[{id:"finance",name:"Finance & Banking",companies:[{name:"JPMorgan Chase",description:"Global investment bank and financial services company"},{name:"Bank of America",description:"Major commercial bank, treasury systems development"},{name:"TIAA-CREF",description:"Retirement services provider for academic and nonprofit sectors"},{name:"CitiGroup",description:"Global investment bank and financial services"},{name:"Morgan Stanley",description:"Multinational investment bank and financial services"},{name:"KKR & Co. Inc",description:"Global investment firm providing alternative asset management"},{name:"Domain Money",description:"Next-generation financial services company"}],icon:u.jsx(at,{className:"text-2xl text-blue-400"}),color:"blue"},{id:"fintech",name:"Fintech & Crypto",companies:[{name:"Series Financial",description:"Fintech startup (Series A, raised $25 million to build enterprise financial services)"},{name:"Mantl (Alkami)",description:"Digital banking platform (Series A, acquired for $400M)"},{name:"Galaxy Digital",description:"Cryptocurrency financial services and asset management"},{name:"CoinFi",description:'Crypto market intelligence platform ("Bloomberg for crypto")'}
48,{name:"Wyre",description:"Cryptocurrency payment infrastructure"},{name:"Alpaca Securities",description:"Commission-free stock trading platform"},{name:"Coinbase Developer Platform",description:"Cryptocurrency development tools"}],icon:u.jsx(yi,{className:"text-2xl text-red-400"}),color:"red"},{id:"tech",name:"Technology & Consulting",companies:[{name:"ADP Innovation Lab",description:"Enterprise software development and innovation"},{name:"WorkMarket (ADP)",description:"Recruiting and workforce management platform (acquired by ADP)"},{name:"Vitech Systems",description:"Group insurance and pension administration software"},{name:"BY Software, Inc",description:"Custom software development and consulting"},{name:"Cadient Group (Cognizant)",description:"Technology consulting for pharmaceutical companies"},{name:"Cognizant",description:"Technology consulting company"},{name:"GitHub",description:"Code repository and collaboration platform"},{name:"RCI",description:"Timeshare and vacation exchange company"},{name:"Crossbeat New York",description:"Music collaboration startup"},{name:"Miles and Company, Inc",description:"Technology development company"},{name:"RokkinCat",description:"Mobile app development"},{name:"JAKT",description:"Technology platform"},{name:"Big English International Limited",description:"Educational technology (acquired)"},{name:"Churp Photo & Design, Inc",description:"Web application development"}],icon:u.jsx(Rl,{className:"text-2xl text-green-400"}),color:"green"},{id:"insurance",name:"Insurance & Benefits",companies:[{name:"Vitech Systems",description:"Benefits administration and insurance software"},{name:"AIG",description:"Global insurance corporation"},{name:"ADP",description:"Payroll and human resources management"}],icon:u.jsx(k3,{className:"text-2xl text-cyan-400"}),color:"cyan"},{id:"education",name:"Education",companies:[{name:"Brown University",description:"Ivy League research university"},{name:"Pace University",description:"Private university in New York"},{name:"Library for All",description:"Educational nonprofit organization"}],icon:u.jsx(b3,{className:"text-2xl text-purple-400"}),color:"purple"},{id:"retail",name:"Retail & E-commerce",companies:[{name:"Victoria's Secret (L Brands)",description:"Fashion retailer and e-commerce platform"},{name:"L Brands",description:"Fashion retail company"},{name:"Ulta Beauty",description:"Beauty retailer and cosmetics platform"},{name:"J.Crew",description:"Fashion retailer"},{name:"Ann Taylor/Loft",description:"Women's fashion retailer"},{name:"Sears PartsDirect",description:"Parts and repair services"},{name:"Footlocker",description:"Athletic footwear and apparel retailer"},{name:"Walmart",description:"Multinational retail corporation"}],icon:u.jsx(Il,{className:"text-2xl text-pink-400"}),color:"pink"},{id:"media",name:"Media & Publishing",companies:[{name:"HarperCollins",description:"Major book publisher"},{name:"Pearson",description:"Educational content and publishing"},{name:"Google Books",description:"Digital book platform"},{name:"GoodReads",description:"Social reading platform"},{name:"Time Inc.",description:"Magazine and media publisher"},{name:"Budget Travel (Newsweek)",description:"Travel magazine and media"},{name:"New York Times",description:"Newspaper and digital media"},{name:"TruTV (Turner Broadcasting Systems)",description:"Cable television network"},{name:"A&E Network",description:"Television network"},{name:"DirecTV Latin America",description:"Satellite television provider"},{name:"Alloy Digital (Defy Media, LLC)",description:"Digital media company"}],icon:u.jsx(Vl,{className:"text-2xl text-indigo-400"}),color:"indigo"},{id:"advertising",name:"Advertising & Marketing",companies:[{name:"HUGE",description:"Digital agency (clients: Ulta Beauty, Brown University)"},{name:"SapientNitro (SapientRazorfish)",description:"Digital marketing agency"},{name:"Code & Theory",description:"Creative agency (clients: New York Life, A&E Network)"},{name:"BBDO (Omnicom Group)",description:"Advertising agency (clients: CitiGroup, Footlocker)"},{name:"Ogilvy (WPP)",description:"Advertising agency (clients: Nestle, IKEA, IBM, Pfizer)"},{name:"Ketchum Interactive (Omnicom Group)",description:"Digital marketing agency"},{name:"Rosetta (Publicis Groupe)",description:"Digital marketing agency"},{name:"LBi (Publicis Groupe)",description:"Digital agency"},{name:"360i (Dentsu, Inc.)",description:"Digital marketing agency"},{name:"MRM Worldwide (McCann Worldgroup)",description:"Marketing agency"},{name:"Publicis Modem (Publicis Groupe)",description:"Digital marketing agency"},{name:"Roundarch (Aegis Group)",description:"Digital agency (clients: Bloomberg, Starwood Hotels)"},{name:"Mr Youth (LBi International)",description:"Youth marketing agency"},{name:"RadicalMedia®",description:"Content creation and advertising"},{name:"Organic",description:"Digital marketing agency"},{name:"Unison Agency (REQ)",description:"Marketing agency"},{name:"Caravan Interactive, Inc.",description:"Digital agency"}],icon:u.jsx(cg,{className:"text-2xl text-orange-400"}),color:"orange"},{id:"pharma",name:"Healthcare & Pharmaceuticals",companies:[{name:"AstraZeneca",description:"Multinational pharmaceutical company"}
48,{name:"Pfizer",description:"Pharmaceutical corporation"},{name:"The Dedham Group (Norstella)",description:"Pharmaceutical consulting"},{name:"Children's Miracle Network",description:"Healthcare charity network"}],icon:u.jsx(Dl,{className:"text-2xl text-teal-400"}),color:"teal"},{id:"hospitality",name:"Hospitality & Travel",companies:[{name:"RCI (Resort Condominiums International)",description:"Vacation exchange and timeshare company"},{name:"Starwood Hotels",description:"Hospitality and hotel management"}],icon:u.jsx(at,{className:"text-2xl text-yellow-400"}),color:"yellow"},{id:"enterprise",name:"Enterprise & Corporate",companies:[{name:"Ferrari",description:"Luxury automotive manufacturer"},{name:"Nutella",description:"Food brand"},{name:"Nestle",description:"Multinational food and beverage company"},{name:"IKEA",description:"Furniture retailer"},{name:"IBM",description:"Technology and consulting corporation"},{name:"Bloomberg",description:"Financial data and media company"},{name:"Seamless",description:"Food delivery platform"},{name:"Spotify",description:"Music streaming platform"},{name:"Echo Nest",description:"Music intelligence platform"},{name:"Foursquare",description:"Location-based social platform"},{name:"Fiserv",description:"Financial services technology"},{name:"Jack Henry",description:"Banking technology solutions"},{name:"FIS",description:"Financial technology company"},{name:"Twilio",description:"Communications platform and API"}],icon:u.jsx(at,{className:"text-2xl text-slate-400"}),color:"slate"}],L3=()=>{const[e,t]=w.useState("all"),[n,r]=w.useState(null),o=(()=>e==="all"?oo:oo.filter(a=>a.id===e))(),s=oo.flatMap(a=>a.companies);return Array.from(new Map(s.map(a=>[a.name,a])).values()),u.jsx("section",{id:"companies",className:"py-16 bg-slate-950",children:u.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[u.jsxs(I.div,{className:"text-center mb-12",initial:{opacity:0,y:-20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[u.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-center mb-4 text-slate-100 font-orbitron",children:"Industry Experience"}),u.jsx("p",{className:"text-lg text-slate-400 max-w-2xl mx-auto font-inter mb-8",children:"A diverse portfolio of clients across multiple industries"}),u.jsxs("div",{className:"flex flex-wrap justify-center gap-3 mb-8",children:[u.jsx("button",{onClick:()=>t("all"),className:`px-4 py-2 rounded-full text-sm font-medium transition-all ${e==="all"?"bg-blue-500 text-white":"bg-slate-700/50 text-slate-300 hover:bg-slate-600/50"}`,children:"All Industries"}),oo.map(a=>u.jsxs("button",{onClick:()=>t(a.id),className:`px-4 py-2 rounded-full text-sm font-medium transition-all flex items-center gap-2 ${e===a.id?`bg-${a.color}-500 text-white`:"bg-slate-700/50 text-slate-300 hover:bg-slate-600/50"}`,children:[a.icon,a.name]},a.id))]})]}),u.jsx(Nt,{mode:"wait",children:u.jsx(I.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.3},className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:o.map((a,l)=>u.jsxs(I.div,{className:`bg-slate-900/50 rounded-xl p-6 backdrop-blur-sm border ${n&&a.companies.some(c=>c.name===n)?"border-blue-500/50":"border-slate-700/50"} hover:border-blue-500/30 transition-all duration-300`,initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5,delay:l*.1},children:[u.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[u.jsx("div",{className:"flex-shrink-0",children:a.icon}),u.jsx("h3",{className:"text-xl font-bold text-white",children:a.name})]}),u.jsx("div",{className:"space-y-3",children:a.companies.map((c,d)=>u.jsxs("div",{className:"group relative",onMouseEnter:()=>r(c.name),onMouseLeave:()=>r(null),children:[u.jsxs("div",{className:"flex items-center cursor-pointer",children:[u.jsx("span",{className:`text-${a.color}-400 mr-2 transition-transform group-hover:scale-125`,children:"▹"}),u.jsx("span",{className:"text-slate-300 group-hover:text-white transition-colors",children:c.name})]}),n===c.name&&u.jsx("div",{className:"absolute z-10 mt-1 p-3 bg-slate-800/90 rounded-lg shadow-lg text-sm text-slate-300 w-64",children:c.description})]},`${a.id}-${d}`))})]},a.id))},e)})]})})},D3=[{id:1,name:"Y Combinator",programs:["Startup School","Crypto Startup School","AI Startup School"],imageUrl:"/images/yc.svg"},{id:2,name:"Socap.ai (now Nocap.ai)",programs:["Cohort 1"],imageUrl:"/images/nocap.png"},{id:3,name:"Uniswap Hooks Incubator",programs:["Cohort 2"],imageUrl:"/images/uniswap.png"},{id:4,name:"On Deck",programs:["ODF12","ODX1"],imageUrl:"/images/odf.png"}],R3={hidden:{opacity:0,y:50},visible:e=>({opacity:1,y:0,transition:{delay:e*.2,duration:.6,ease:"easeOut"}})},I3=()=>u.jsx("section",{id:"accelerators",className:"py-16 md:py-24 bg-slate-900",children:u.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[u.jsx(I.h2,{className:"text-3xl md:text-4xl font-bold text-center mb-4 bg-clip-text text-transparent bg-gradient-to-r from-sky-4
4800 to-blue-500",initial:{opacity:0,y:-20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.5},transition:{duration:.5},children:"Incubators & Accelerators"}),u.jsx(I.p,{className:"text-lg text-slate-400 text-center mb-12 max-w-2xl mx-auto",initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0,amount:.5},transition:{duration:.5,delay:.2},children:"Experiences in world-class startup programs, shaping the future of technology."}),u.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8",children:D3.map((e,t)=>u.jsxs(I.div,{className:"glass-card p-6 flex flex-col items-center text-center hover:shadow-primary/30 transition-shadow duration-300",variants:R3,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},custom:t,children:[u.jsx("div",{className:"w-24 h-24 bg-slate-700 rounded-full mb-4 overflow-hidden flex items-center justify-center",children:u.jsx("img",{className:"w-full h-full object-cover",alt:e.name,src:e.imageUrl})}),u.jsx("h3",{className:"text-xl font-semibold mb-2 text-primary-foreground",children:e.name}),u.jsx("div",{className:"flex flex-wrap justify-center gap-2",children:e.programs.map(n=>u.jsx("span",{className:"text-xs bg-sky-500/20 text-sky-400 px-2 py-1 rounded-full",children:n},n))})]},e.id))})]})}),V3=[{name:"Technical Founder & Leadership",icon:u.jsx(b2,{className:"h-8 w-8 text-primary mb-3"}),skills:["MVP Development & Rapid Prototyping","Technical Due Diligence & Investor Relations","Fundraising Strategy (Pre-seed, Seed, Series A)","Pitch Deck Creation & Technical Presentation","Product-Market Fit Discovery & Validation","User Research & Customer Development","Technical Recruiting & Team Building","Go-to-Market Strategy & Technical Marketing","Technical Roadmap & Sprint Planning","Cross-functional Leadership (Eng, Product, Design)","AI-First Product Strategy & Implementation","Data-Driven Decision Making & Analytics","Technical Risk Assessment & Mitigation"]},{name:"Applied AI & Agent Systems",icon:u.jsx(f2,{className:"h-8 w-8 text-primary mb-3"}),skills:["LLMs (OpenAI, Google, open-source models)","Retrieval-Augmented Generation (RAG)","Vector Databases (Pinecone, Weaviate, Chroma, PGVector)","Vector Stores (FAISS, etc.)","Agent Protocols (Google A2A, custom agent services)","Agent Services (LandGraph, Mastra Memory)","Prompt Engineering & LLM integration","Knowledge Embedding Pipelines"]},{name:"Blockchain & Smart Accounts",icon:u.jsx(w2,{className:"h-8 w-8 text-primary mb-3"}),skills:["Smart Contracts (Solidity, Rust)","ERC-4337 (Smart Accounts / Account Abstraction)","EIP-6900 (Modular Smart Accounts standard)","Wallet Integration/Providers (Privy, Dynamic, ZeroDev, Alchemy, Thirdweb, Infura, Coinbase Developer Platform/CDP)","DeFi Protocols & Integrations","NFT Standards (ERC-721, ERC-1155)","Layer 2 Scaling Solutions","Blockchain Wallet SDKs","Onchain/Crosschain Authentication","Cryptography & Security Fundamentals"]},{name:"Programming & Web Development",icon:u.jsx(h2,{className:"h-8 w-8 text-primary mb-3"}),skills:["JavaScript / TypeScript","APIs (Hono, Express, Hapi, Fastify)","React (including Next.js, Remix)","Frontend Tooling (Webpack, Vite, TurboPack, Vercel Turbo)","Node.js","API Design & Development (REST, GraphQL, OpenAPI)","Fullstack Application Architecture"]},{name:"Infrastructure & DevOps",icon:u.jsx(v2,{className:"h-8 w-8 text-primary mb-3"}),skills:["Docker & Containerization","Kubernetes","Cloud Providers (AWS, GCP)","CI/CD Pipeline Automation","IPFS & Decentralized Storage","GraphQL API Infrastructure","Cloud Functions / Edge Computing","Serverless Architecture"]},{name:"Product Design & User Growth",icon:u.jsx(k2,{className:"h-8 w-8 text-primary mb-3"}),skills:["Founder-led Product Design","Design Engineering","User-led Growth & Go-To-Market","User Profiling & Segmentation","Rapid Prototyping","UX Research & Customer Discovery","Data-Informed Product Iteration","Brand/Identity Design","Cross-functional Team Leadership","Product/Market Fit Discovery"]}],z3={hidden:{opacity:0,y:30},visible:e=>({opacity:1,y:0,transition:{delay:e*.15,duration:.5,ease:"easeOut"}})},F3=()=>u.jsx("section",{id:"skills",className:"py-16 md:py-24 bg-slate-800/60",children:u.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[u.jsx(I.h2,{className:"text-3xl md:text-4xl font-bold text-center mb-4 bg-clip-text text-transparent bg-gradient-to-r from-purple-400 to-pink-500",initial:{opacity:0,y:-20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.5},transition:{duration:.5},children:"Core Competencies"}),u.jsx(I.p,{className:"text-lg text-slate-400 text-center mb-12 max-w-2xl mx-auto",initial:{opacity:0}
48,whileInView:{opacity:1},viewport:{once:!0,amount:.5},transition:{duration:.5,delay:.2},children:"Leveraging a diverse skill set to build robust and innovative solutions."}),u.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:V3.map((e,t)=>u.jsxs(I.div,{className:"glass-card p-6 text-center",variants:z3,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},custom:t,children:[u.jsx("div",{className:"flex justify-center items-center mb-4",children:e.icon}),u.jsx("h3",{className:"text-xl font-semibold mb-3 text-slate-100",children:e.name}),u.jsx("ul",{className:"space-y-1.5 text-sm text-slate-400",children:e.skills.map(n=>u.jsxs("li",{className:"flex items-center justify-center",children:[u.jsx(C2,{size:14,className:"mr-2 text-primary/70"}),n]},n))})]},e.name))})]})}),O3=()=>{const e=new Date().getFullYear();return u.jsx("footer",{className:"bg-slate-950 border-t border-slate-800 py-8 text-center",children:u.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:u.jsxs("div",{className:"flex flex-col items-center justify-center space-y-2",children:[u.jsxs("div",{className:"flex items-center space-x-2 text-slate-400",children:[u.jsx(Mh,{size:20,className:"text-primary"}),u.jsxs("p",{className:"text-sm",children:["Crafted with ",u.jsx(x2,{size:14,className:"inline text-pink-500 fill-pink-500"})," by self"]})]}),u.jsxs("p",{className:"text-xs text-slate-500",children:["© ",e," Brian Yang. All rights reserved."]})]})})})};function _3(){return u.jsxs("div",{className:"flex flex-col min-h-screen bg-gradient-to-br from-slate-950 via-slate-900 to-slate-950 text-slate-50 font-inter overflow-x-hidden",children:[u.jsx(Q5,{}),u.jsxs("main",{className:"flex-grow",children:[u.jsx(X5,{}),u.jsx(t3,{}),u.jsx(A3,{}),u.jsx(E3,{}),u.jsx(P3,{}),u.jsx(M3,{}),u.jsx(L3,{}),u.jsx(I3,{}),u.jsx(r3,{}),u.jsx(F3,{})]}),u.jsx(O3,{}),u.jsx(L2,{})]})}wa.createRoot(document.getElementById("root")).render(u.jsx(Z.StrictMode,{children:u.jsx(_3,{})}));

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