vendor: 6,112 bytes, lines 1-9
1var Zp=e=>{throw TypeError(e)};var wc=(e,t,n)=>t.has(e)||Zp("Cannot "+n);var R=(e,t,n)=>(wc(e,t,"read from private field"),n?n.call(e):t.get(e)),ne=(e,t,n)=>t.has(e)?Zp("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Q=(e,t,n,r)=>(wc(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Oe=(e,t,n)=>(wc(e,t,"access private method"),n);var Jo=(e,t,n,r)=>({set _(i){Q(e,t,i,n)},get _(){return R(e,t,r)}});function o2(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 s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{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 s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();function Ly(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Dy={exports:{}},Ll={},Vy={exports:{}},J={};/** 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 Mo=Symbol.for("react.element"),a2=Symbol.for("react.portal"),l2=Symbol.for("react.fragment"),c2=Symbol.for("react.strict_mode"),u2=Symbol.for("react.profiler"),d2=Symbol.for("react.provider"),f2=Symbol.for("react.context"),p2=Symbol.for("react.forward_ref"),m2=Symbol.for("react.suspense"),h2=Symbol.for("react.memo"),g2=Symbol.for("react.lazy"),Jp=Symbol.iterator;function y2(e){return e===null||typeof e!="object"?null:(e=Jp&&e[Jp]||e["@@iterator"],typeof e=="function"?e:null)}var Oy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Fy=Object.assign,By={};function os(e,t,n){this.props=e,this.context=t,this.refs=By,this.updater=n||Oy}os.prototype.isReactComponent={};os.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")};os.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function _y(){}_y.prototype=os.prototype;function ef(e,t,n){this.props=e,this.context=t,this.refs=By,this.updater=n||Oy}var tf=ef.prototype=new _y;tf.constructor=ef;Fy(tf,os.prototype);tf.isPureReactComponent=!0;var em=Array.isArray,zy=Object.prototype.hasOwnProperty,nf={current:null},$y={key:!0,ref:!0,__self:!0,__source:!0};function Wy(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)zy.call(t,r)&&!$y.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)i[r]===void 0&&(i[r]=l[r]);return{$$typeof:Mo,type:e,key:s,ref:o,props:i,_owner:nf.current}}function x2(e,t){return{$$typeof:Mo,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function rf(e){return typeof e=="object"&&e!==null&&e.$$typeof===Mo}function v2(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var tm=/\/+/g;function jc(e,t){return typeof e=="object"&&e!==null&&e.key!=null?v2(""+e.key):t.toString(36)}function Ca(e,t,n,r,i){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(s){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Mo:case a2:o=!0}}if(o)return o=e,i=i(o),e=r===""?"."+jc(o,0):r,em(i)?(n="",e!=null&&(n=e.replace(tm,"$&/")+"/"),Ca(i,t,n,"",function(u){return u})):i!=null&&(rf(i)&&(i=x2(i,n+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(tm,"$&/")+"/")+e)),t.push(i)),1;if(o=0,r=r===""?".":r+":",em(e))for(var l=0;l<e.length;l++){s=e[l];var c=r+jc(s,l);o+=Ca(s,t,n,c,i)}else if(c=y2(e),typeof c=="function")for(e=c.call(e),l=0;!(s=e.next()).done;)s=s.value,c=r+jc(s,l++),o+=Ca(s,t,n,c,i);else if(s==="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 o}function ea(e,t,n){if(e==null)return e;var r=[],i=0;return Ca(e,r,"","",function(s){return t.call(n,s,i++)}),r}function b2(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 Ye={current:null},Pa={transition:null},w2={ReactCurrentDispatcher:Ye,ReactCurrentBatchConfig:Pa,ReactCurrentOwner:nf};function Uy(){throw Error("act(...) is not supported in production builds of React.")}J.Children={map:ea,forEach:function(e,t,n){ea(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ea(e,function(){t++}),t},toArray:function(e){return ea(e,function(t){return t})||[]},only:function(e){if(!rf(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};J.Component=os;J.Fragment=l2;J.Profiler=u2;J.PureComponent=ef;J.StrictMode=c2;J.Suspense=m2;
vendor: 4,995 bytes, lines 9-25
9J.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=w2;J.act=Uy;J.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=Fy({},e.props),i=e.key,s=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,o=nf.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)zy.call(t,c)&&!$y.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&l!==void 0?l[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:Mo,type:e.type,key:i,ref:s,props:r,_owner:o}};J.createContext=function(e){return e={$$typeof:f2,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:d2,_context:e},e.Consumer=e};J.createElement=Wy;J.createFactory=function(e){var t=Wy.bind(null,e);return t.type=e,t};J.createRef=function(){return{current:null}};J.forwardRef=function(e){return{$$typeof:p2,render:e}};J.isValidElement=rf;J.lazy=function(e){return{$$typeof:g2,_payload:{_status:-1,_result:e},_init:b2}};J.memo=function(e,t){return{$$typeof:h2,type:e,compare:t===void 0?null:t}};J.startTransition=function(e){var t=Pa.transition;Pa.transition={};try{e()}finally{Pa.transition=t}};J.unstable_act=Uy;J.useCallback=function(e,t){return Ye.current.useCallback(e,t)};J.useContext=function(e){return Ye.current.useContext(e)};J.useDebugValue=function(){};J.useDeferredValue=function(e){return Ye.current.useDeferredValue(e)};J.useEffect=function(e,t){return Ye.current.useEffect(e,t)};J.useId=function(){return Ye.current.useId()};J.useImperativeHandle=function(e,t,n){return Ye.current.useImperativeHandle(e,t,n)};J.useInsertionEffect=function(e,t){return Ye.current.useInsertionEffect(e,t)};J.useLayoutEffect=function(e,t){return Ye.current.useLayoutEffect(e,t)};J.useMemo=function(e,t){return Ye.current.useMemo(e,t)};J.useReducer=function(e,t,n){return Ye.current.useReducer(e,t,n)};J.useRef=function(e){return Ye.current.useRef(e)};J.useState=function(e){return Ye.current.useState(e)};J.useSyncExternalStore=function(e,t,n){return Ye.current.useSyncExternalStore(e,t,n)};J.useTransition=function(){return Ye.current.useTransition()};J.version="18.3.1";Vy.exports=J;var w=Vy.exports;const V=Ly(w),Gy=o2({__proto__:null,default:V},[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 j2=w,k2=Symbol.for("react.element"),N2=Symbol.for("react.fragment"),S2=Object.prototype.hasOwnProperty,T2=j2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,C2={key:!0,ref:!0,__self:!0,__source:!0};function Hy(e,t,n){var r,i={},s=null,o=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)S2.call(t,r)&&!C2.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:k2,type:e,key:s,ref:o,props:i,_owner:T2.current}}Ll.Fragment=N2;Ll.jsx=Hy;Ll.jsxs=Hy;Dy.exports=Ll;var a=Dy.exports,Ky={exports:{}},ft={},qy={exports:{}},Qy={};/** 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(P,M){var F=P.length;P.push(M);e:for(;0<F;){var G=F-1>>>1,$=P[G];if(0<i($,M))P[G]=M,P[F]=$,F=G;else break e}}function n(P){return P.length===0?null:P[0]}function r(P){if(P.length===0)return null;var M=P[0],F=P.pop();if(F!==M){P[0]=F;e:for(var G=0,$=P.length,X=$>>>1;G<X;){var Z=2*(G+1)-1,oe=P[Z],be=Z+1,ee=P[be];if(0>i(oe,F))be<$&&0>i(ee,oe)?(P[G]=ee,P[be]=F,G=be):(P[G]=oe,P[Z]=F,G=Z);else if(be<$&&0>i(ee,F))P[G]=ee,P[be]=F,G=be;else break e}}return M}function i(P,M){var F=P.sortIndex-M.sortIndex;return F!==0?F:P.id-M.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}var c=[],u=[],d=1,f=null,p=3,m=!1,v=!1,y=!1,b=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(P){for(var M=n(u);M!==null;){if(M.callback===null)r(u);else if(M.startTime<=P)r(u),M.sortIndex=M.expirationTime,t(c,M);else break;M=n(u)}}function j(P){if(y=!1,x(P),!v)if(n(c)!==null)v=!0,z(k);else{var M=n(u);M!==null&&U(j,M.startTime-P)}}function k(P,M){v=!1,y&&(y=!1,g(C),C=-1),m=!0;var F=p;try{for(x(M),f=n(c);f!==null&&(!(f.expirationTime>
vendor: 9,184 bytes, lines 25-34
25M)||P&&!O());){var G=f.callback;if(typeof G=="function"){f.callback=null,p=f.priorityLevel;var $=G(f.expirationTime<=M);M=e.unstable_now(),typeof $=="function"?f.callback=$:f===n(c)&&r(c),x(M)}else r(c);f=n(c)}if(f!==null)var X=!0;else{var Z=n(u);Z!==null&&U(j,Z.startTime-M),X=!1}return X}finally{f=null,p=F,m=!1}}var S=!1,T=null,C=-1,A=5,E=-1;function O(){return!(e.unstable_now()-E<A)}function L(){if(T!==null){var P=e.unstable_now();E=P;var M=!0;try{M=T(!0,P)}finally{M?W():(S=!1,T=null)}}else S=!1}var W;if(typeof h=="function")W=function(){h(L)};else if(typeof MessageChannel<"u"){var D=new MessageChannel,K=D.port2;D.port1.onmessage=L,W=function(){K.postMessage(null)}}else W=function(){b(L,0)};function z(P){T=P,S||(S=!0,W())}function U(P,M){C=b(function(){P(e.unstable_now())},M)}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(P){P.callback=null},e.unstable_continueExecution=function(){v||m||(v=!0,z(k))},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(P){switch(p){case 1:case 2:case 3:var M=3;break;default:M=p}var F=p;p=M;try{return P()}finally{p=F}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(P,M){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var F=p;p=P;try{return M()}finally{p=F}},e.unstable_scheduleCallback=function(P,M,F){var G=e.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?G+F:G):F=G,P){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=F+$,P={id:d++,callback:M,priorityLevel:P,startTime:F,expirationTime:$,sortIndex:-1},F>G?(P.sortIndex=F,t(u,P),n(c)===null&&P===n(u)&&(y?(g(C),C=-1):y=!0,U(j,F-G))):(P.sortIndex=$,t(c,P),v||m||(v=!0,z(k))),P},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(P){var M=p;return function(){var F=p;p=M;try{return P.apply(this,arguments)}finally{p=F}}}})(Qy);qy.exports=Qy;var P2=qy.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 E2=w,dt=P2;function I(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 Yy=new Set,eo={};function ei(e,t){qi(e,t),qi(e+"Capture",t)}function qi(e,t){for(eo[e]=t,e=0;e<t.length;e++)Yy.add(t[e])}var Nn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),wu=Object.prototype.hasOwnProperty,A2=/^[: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]*$/,nm={},rm={};function M2(e){return wu.call(rm,e)?!0:wu.call(nm,e)?!1:A2.test(e)?rm[e]=!0:(nm[e]=!0,!1)}function R2(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 I2(e,t,n,r){if(t===null||typeof t>"u"||R2(e,t,n,r))return!0;if(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 Xe(e,t,n,r,i,s,o){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=s,this.removeEmptyString=o}var Ve={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ve[e]=new Xe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ve[t]=new Xe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ve[e]=new Xe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ve[e]=new Xe(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){Ve[e]=new Xe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ve[e]=new Xe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ve[e]=new Xe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ve[e]=new Xe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ve[e]=new Xe(e,5,!1,e.toLowerCase(),null,!1,!1)});var sf=/[\-:]([a-z])/g;function of(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(sf,of);Ve[t]=new Xe(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(sf,of);Ve[t]=new Xe(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(sf,of);Ve[t]=new Xe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ve[e]=new Xe(e,1,!1,e.toLowerCase(),null,!1,!1)});Ve.xlinkHref=new Xe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ve[e]=new Xe(e,1,!1,e.toLowerCase(),null,!0,!0)});function af(e,t,n,r){var i=Ve.hasOwnProperty(t)?Ve[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(I2(t,n,i,r)&&(n=null),r||i===null?M2(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 Mn=E2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ta=Symbol.for("react.element"),yi=Symbol.for("react.portal"),xi=Symbol.for("react.fragment"),lf=Symbol.for("react.strict_mode"),ju=Symbol.for("react.profiler"),Xy=Symbol.for("react.provider"),Zy=Symbol.for("react.context"),cf=Symbol.for("react.forward_ref"),ku=Symbol.for("react.suspense"),Nu=Symbol.for("react.suspense_list"),uf=Symbol.for("react.memo"),Gn=Symbol.for("react.lazy"),Jy=Symbol.for("react.offscreen"),im=Symbol.iterator;function bs(e){return e===null||typeof e!="object"?null:(e=im&&e[im]||e["@@iterator"],typeof e=="function"?e:null)}var ye=Object.assign,kc;function Ls(e){if(kc===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);kc=t&&t[1]||""}return` 34`+kc+e}var Nc=!1;function Sc(e,t){if(!e||Nc)return"";Nc=!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(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 16,752 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(` 35`),s=r.stack.split(` 36`),o=i.length-1,l=s.length-1;1<=o&&0<=l&&i[o]!==s[l];)l--;for(;1<=o&&0<=l;o--,l--)if(i[o]!==s[l]){if(o!==1||l!==1)do if(o--,l--,0>l||i[o]!==s[l]){var c=` 37`+i[o].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=o&&0<=l);break}}}finally{Nc=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ls(e):""}function L2(e){switch(e.tag){case 5:return Ls(e.type);case 16:return Ls("Lazy");case 13:return Ls("Suspense");case 19:return Ls("SuspenseList");case 0:case 2:case 15:return e=Sc(e.type,!1),e;case 11:return e=Sc(e.type.render,!1),e;case 1:return e=Sc(e.type,!0),e;default:return""}}function Su(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 xi:return"Fragment";case yi:return"Portal";case ju:return"Profiler";case lf:return"StrictMode";case ku:return"Suspense";case Nu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Zy:return(e.displayName||"Context")+".Consumer";case Xy:return(e._context.displayName||"Context")+".Provider";case cf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case uf:return t=e.displayName||null,t!==null?t:Su(e.type)||"Memo";case Gn:t=e._payload,e=e._init;try{return Su(e(t))}catch{}}return null}function D2(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 Su(t);case 8:return t===lf?"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 pr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ex(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function V2(e){var t=ex(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,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function na(e){e._valueTracker||(e._valueTracker=V2(e))}function tx(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ex(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ya(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 Tu(e,t){var n=t.checked;return ye({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function sm(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=pr(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 nx(e,t){t=t.checked,t!=null&&af(e,"checked",t,!1)}function Cu(e,t){nx(e,t);var n=pr(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")?Pu(e,t.type,n):t.hasOwnProperty("defaultValue")&&Pu(e,t.type,pr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function om(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 Pu(e,t,n){(t!=="number"||Ya(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ds=Array.isArray;function Ri(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=""+pr(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 Eu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(I(91));return ye({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function am(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(I(92));if(Ds(n)){if(1<n.length)throw Error(I(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:pr(n)}}function rx(e,t){var n=pr(t.value),r=pr(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 lm(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function ix(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 Au(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?ix(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ra,sx=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(ra=ra||document.createElement("div"),ra.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ra.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function to(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Bs={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},O2=["Webkit","ms","Moz","O"];Object.keys(Bs).forEach(function(e){O2.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Bs[t]=Bs[e]})});function ox(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Bs.hasOwnProperty(e)&&Bs[e]?(""+t).trim():t+"px"}function ax(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=ox(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var F2=ye({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 Mu(e,t){if(t){if(F2[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(I(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(I(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(I(61))}if(t.style!=null&&typeof t.style!="object")throw Error(I(62))}}function Ru(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 Iu=null;function df(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Lu=null,Ii=null,Li=null;function cm(e){if(e=Lo(e)){if(typeof Lu!="function")throw Error(I(280));var t=e.stateNode;t&&(t=Bl(t),Lu(e.stateNode,e.type,t))}}function lx(e){Ii?Li?Li.push(e):Li=[e]:Ii=e}function cx(){if(Ii){var e=Ii,t=Li;if(Li=Ii=null,cm(e),t)for(e=0;e<t.length;e++)cm(t[e])}}function ux(e,t){return e(t)}function dx(){}var Tc=!1;function fx(e,t,n){if(Tc)return e(t,n);Tc=!0;try{return ux(e,t,n)}finally{Tc=!1,(Ii!==null||Li!==null)&&(dx(),cx())}}function no(e,t){var n=e.stateNode;if(n===null)return null;var r=Bl(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(I(231,t,typeof n));return n}var Du=!1;if(Nn)try{var ws={};Object.defineProperty(ws,"passive",{get:function(){Du=!0}}),window.addEventListener("test",ws,ws),window.removeEventListener("test",ws,ws)}catch{Du=!1}function B2(e,t,n,r,i,s,o,l,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var _s=!1,Xa=null,Za=!1,Vu=null,_2={onError:function(e){_s=!0,Xa=e}};function z2(e,t,n,r,i,s,o,l,c){_s=!1,Xa=null,B2.apply(_2,arguments)}function $2(e,t,n,r,i,s,o,l,c){if(z2.apply(this,arguments),_s){if(_s){var u=Xa;_s=!1,Xa=null}else throw Error(I(198));Za||(Za=!0,Vu=u)}}function ti(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 px(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 um(e){if(ti(e)!==e)throw Error(I(188))}function W2(e){var t=e.alternate;if(!t){if(t=ti(e),t===null)throw Error(I(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var s=i.alternate;if(s===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===n)return um(i),e;if(s===r)return um(i),t;s=s.sibling}throw Error(I(188))}if(n.return!==r.return)n=i,r=s;else{for(var o=!1,l=i.child;l;){if(l===n){o=!0,n=i,r=s;break}if(l===r){o=!0,r=i,n=s;break}l=l.sibling}if(!o){for(l=s.child;l;){if(l===n){o=!0,n=s,r=i;break}if(l===r){o=!0,r=s,n=i;break}l=l.sibling}if(!o)throw Error(I(189))}}if(n.alternate!==r)throw Error(I(190))}if(n.tag!==3)throw Error(I(188));return n.stateNode.current===n?e:t}function mx(e){return e=W2(e),e!==null?hx(e):null}function hx(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=hx(e);if(t!==null)return t;e=e.sibling}return null}var gx=dt.unstable_scheduleCallback,dm=dt.unstable_cancelCallback,U2=dt.unstable_shouldYield,G2=dt.unstable_requestPaint,we=dt.unstable_now,H2=dt.unstable_getCurrentPriorityLevel,ff=dt.unstable_ImmediatePriority,yx=dt.unstable_UserBlockingPriority,Ja=dt.unstable_NormalPriority,K2=dt.unstable_LowPriority,xx=dt.unstable_IdlePriority,Dl=null,sn=null;function q2(e){if(sn&&typeof sn.onCommitFiberRoot=="function")try{sn.onCommitFiberRoot(Dl,e,void 0,(e.current.flags&128)===128)}catch{}}var _t=Math.clz32?Math.clz32:X2,Q2=Math.log,Y2=Math.LN2;function X2(e){return e>>>=0,e===0?32:31-(Q2(e)/Y2|0)|0}var ia=64,sa=4194304;function Vs(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 el(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var l=o&~i;l!==0?r=Vs(l):(s&=o,s!==0&&(r=Vs(s)))}else o=n&~i,o!==0?r=Vs(o):s!==0&&(r=Vs(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&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-_t(t),i=1<<n,r|=e[n],t&=~i;return r}function Z2(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 J2(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var o=31-_t(s),l=1<<o,c=i[o];c===-1?(!(l&n)||l&r)&&(i[o]=Z2(l,t)):c<=t&&(e.expiredLanes|=l),s&=~l}}function Ou(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function vx(){var e=ia;return ia<<=1,!(ia&4194240)&&(ia=64),e}function Cc(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ro(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-_t(t),e[t]=n}function ej(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-_t(n),s=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~s}}function pf(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-_t(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var re=0;function bx(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var wx,mf,jx,kx,Nx,Fu=!1,oa=[],ir=null,sr=null,or=null,ro=new Map,io=new Map,Kn=[],tj="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 fm(e,t){switch(e){case"focusin":case"focusout":ir=null;break;case"dragenter":case"dragleave":sr=null;break;case"mouseover":case"mouseout":or=null;break;case"pointerover":case"pointerout":ro.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":io.delete(t.pointerId)}}function js(e,t,n,r,i,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[i]},t!==null&&(t=Lo(t),t!==null&&mf(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function nj(e,t,n,r,i){switch(t){case"focusin":return ir=js(ir,e,t,n,r,i),!0;case"dragenter":return sr=js(sr,e,t,n,r,i),!0;case"mouseover":return or=js(or,e,t,n,r,i),!0;case"pointerover":var s=i.pointerId;return ro.set(s,js(ro.get(s)||null,e,t,n,r,i)),!0;case"gotpointercapture":return s=i.pointerId,io.set(s,js(io.get(s)||null,e,t,n,r,i)),!0}return!1}function Sx(e){var t=Ir(e.target);if(t!==null){var n=ti(t);if(n!==null){if(t=n.tag,t===13){if(t=px(n),t!==null){e.blockedOn=t,Nx(e.priority,function(){jx(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 Ea(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Bu(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Iu=r,n.target.dispatchEvent(r),Iu=null}else return t=Lo(n),t!==null&&mf(t),e.blockedOn=n,!1;t.shift()}return!0}function pm(e,t,n){Ea(e)&&n.delete(t)}function rj(){Fu=!1,ir!==null&&Ea(ir)&&(ir=null),sr!==null&&Ea(sr)&&(sr=null),or!==null&&Ea(or)&&(or=null),ro.forEach(pm),io.forEac
vendor: 9,276 bytes, line 37
37h(pm)}function ks(e,t){e.blockedOn===t&&(e.blockedOn=null,Fu||(Fu=!0,dt.unstable_scheduleCallback(dt.unstable_NormalPriority,rj)))}function so(e){function t(i){return ks(i,e)}if(0<oa.length){ks(oa[0],e);for(var n=1;n<oa.length;n++){var r=oa[n];r.blockedOn===e&&(r.blockedOn=null)}}for(ir!==null&&ks(ir,e),sr!==null&&ks(sr,e),or!==null&&ks(or,e),ro.forEach(t),io.forEach(t),n=0;n<Kn.length;n++)r=Kn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Kn.length&&(n=Kn[0],n.blockedOn===null);)Sx(n),n.blockedOn===null&&Kn.shift()}var Di=Mn.ReactCurrentBatchConfig,tl=!0;function ij(e,t,n,r){var i=re,s=Di.transition;Di.transition=null;try{re=1,hf(e,t,n,r)}finally{re=i,Di.transition=s}}function sj(e,t,n,r){var i=re,s=Di.transition;Di.transition=null;try{re=4,hf(e,t,n,r)}finally{re=i,Di.transition=s}}function hf(e,t,n,r){if(tl){var i=Bu(e,t,n,r);if(i===null)Oc(e,t,r,nl,n),fm(e,r);else if(nj(i,e,t,n,r))r.stopPropagation();else if(fm(e,r),t&4&&-1<tj.indexOf(e)){for(;i!==null;){var s=Lo(i);if(s!==null&&wx(s),s=Bu(e,t,n,r),s===null&&Oc(e,t,r,nl,n),s===i)break;i=s}i!==null&&r.stopPropagation()}else Oc(e,t,r,null,n)}}var nl=null;function Bu(e,t,n,r){if(nl=null,e=df(r),e=Ir(e),e!==null)if(t=ti(e),t===null)e=null;else if(n=t.tag,n===13){if(e=px(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 nl=e,null}function Tx(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(H2()){case ff:return 1;case yx:return 4;case Ja:case K2:return 16;case xx:return 536870912;default:return 16}default:return 16}}var er=null,gf=null,Aa=null;function Cx(){if(Aa)return Aa;var e,t=gf,n=t.length,r,i="value"in er?er.value:er.textContent,s=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[s-r];r++);return Aa=i.slice(e,1<r?1-r:void 0)}function Ma(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 aa(){return!0}function mm(){return!1}function pt(e){function t(n,r,i,s,o){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=s,this.target=o,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(s):s[l]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?aa:mm,this.isPropagationStopped=mm,this}return ye(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=aa)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=aa)},persist:function(){},isPersistent:aa}),t}var as={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},yf=pt(as),Io=ye({},as,{view:0,detail:0}),oj=pt(Io),Pc,Ec,Ns,Vl=ye({},Io,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xf,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!==Ns&&(Ns&&e.type==="mousemove"?(Pc=e.screenX-Ns.screenX,Ec=e.screenY-Ns.screenY):Ec=Pc=0,Ns=e),Pc)},movementY:function(e){return"movementY"in e?e.movementY:Ec}}),hm=pt(Vl),aj=ye({},Vl,{dataTransfer:0}),lj=pt(aj),cj=ye({},Io,{relatedTarget:0}),Ac=pt(cj),uj=ye({},as,{animationName:0,elapsedTime:0,pseudoElement:0}),dj=pt(uj),fj=ye({},as,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),pj=pt(fj),mj=ye({},as,{data:0}),gm=pt(mj),hj={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},gj={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"},yj={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xj(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=yj[e])?!!t[e]:!1}function xf(){return xj}var vj=ye({},Io,{key:function(e){if(e.key){var t=hj[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ma(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?gj[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xf,charCode:function(e){return e.type==="keypress"?Ma(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ma(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),bj=pt(vj),wj=ye({},Vl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ym=pt(wj),jj=ye({},Io,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xf}),kj=pt(jj),Nj=ye({},as,{propertyName:0,elapsedTime:0,pseudoElement:0}),Sj=pt(Nj),Tj=ye({},Vl,{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}),Cj=pt(Tj),Pj=[9,13,27,32],vf=Nn&&"CompositionEvent"in window,zs=null;Nn&&"documentMode"in document&&(zs=document.documentMode);var Ej=Nn&&"TextEvent"in window&&!zs,Px=Nn&&(!vf||zs&&8<zs&&11>=zs),xm=" ",vm=!1;function Ex(e,t){switch(e){case"keyup":return Pj.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ax(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var vi=!1;function Aj(e,t){switch(e){case"compositionend":return Ax(t);case"keypress":return t.which!==32?null:(vm=!0,xm);case"textInput":return e=t.data,e===xm&&vm?null:e;default:return null}}function Mj(e,t){if(vi)return e==="compositionend"||!vf&&Ex(e,t)?(e=Cx(),Aa=gf=er=null,vi=!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 Px&&t.locale!=="ko"?null:t.data;default:return null}}var Rj={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 bm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Rj[e.type]:t==="textarea"}function Mx(e,t,n,r){lx(r),t=rl(t,"onChange"),0<t.length&&(n=new yf("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var $s=null,oo=null;function Ij(e){$x(e,0)}function Ol(e){var t=ji(e);if(tx(t))return e}function Lj(e,t){if(e==="change")return t}var Rx=!1;if(Nn){var Mc;if(Nn){var Rc="oninput"in document;if(!Rc){var wm=document.createElement("div");wm.setAttribute("oninput","return;"),Rc=typeof wm.oninput=="function"}Mc=Rc}else Mc=!1;Rx=Mc&&(!document.documentMode||9<document.documentMode)}function jm(){$s&&($s.detachEvent("onpropertychange",Ix),oo=$s=null)}function Ix(e){if(e.propertyName==="value"&&Ol(oo)){var t=[];Mx(t,oo,e,df(e)),fx(Ij,t)}}function Dj(e,t,n){e==="focusin"?(jm(),$s=t,oo=n,$s.attachEvent("onpropertychange",Ix)):e==="focusout"&&jm()}function Vj(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ol(oo)}function Oj(e,t){if(e==="click")return Ol(t)}function Fj(e,t){if(e==="input"||e==="change")return Ol(t)}function Bj(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Wt=typeof Object.is=="function"?Object.is:Bj;function ao(e,t){if(Wt(e,t))return!0;
vendor: 4,808 bytes, line 37
37if(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(!wu.call(t,i)||!Wt(e[i],t[i]))return!1}return!0}function km(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Nm(e,t){var n=km(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=km(n)}}function Lx(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Lx(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Dx(){for(var e=window,t=Ya();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ya(e.document)}return t}function bf(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 _j(e){var t=Dx(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Lx(n.ownerDocument.documentElement,n)){if(r!==null&&bf(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,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=Nm(n,s);var o=Nm(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.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 zj=Nn&&"documentMode"in document&&11>=document.documentMode,bi=null,_u=null,Ws=null,zu=!1;function Sm(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;zu||bi==null||bi!==Ya(r)||(r=bi,"selectionStart"in r&&bf(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ws&&ao(Ws,r)||(Ws=r,r=rl(_u,"onSelect"),0<r.length&&(t=new yf("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=bi)))}function la(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var wi={animationend:la("Animation","AnimationEnd"),animationiteration:la("Animation","AnimationIteration"),animationstart:la("Animation","AnimationStart"),transitionend:la("Transition","TransitionEnd")},Ic={},Vx={};Nn&&(Vx=document.createElement("div").style,"AnimationEvent"in window||(delete wi.animationend.animation,delete wi.animationiteration.animation,delete wi.animationstart.animation),"TransitionEvent"in window||delete wi.transitionend.transition);function Fl(e){if(Ic[e])return Ic[e];if(!wi[e])return e;var t=wi[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Vx)return Ic[e]=t[n];return e}var Ox=Fl("animationend"),Fx=Fl("animationiteration"),Bx=Fl("animationstart"),_x=Fl("transitionend"),zx=new Map,Tm="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 jr(e,t){zx.set(e,t),ei(t,[e])}for(var Lc=0;Lc<Tm.length;Lc++){var Dc=Tm[Lc],$j=Dc.toLowerCase(),Wj=Dc[0].toUpperCase()+Dc.slice(1);jr($j,"on"+Wj)}jr(Ox,"onAnimationEnd");jr(Fx,"onAnimationIteration");jr(Bx,"onAnimationStart");jr("dblclick","onDoubleClick");jr("focusin","onFocus");jr("focusout","onBlur");jr(_x,"onTransitionEnd");qi("onMouseEnter",["mouseout","mouseover"]);qi("onMouseLeave",["mouseout","mouseover"]);qi("onPointerEnter",["pointerout","pointerover"]);qi("onPointerLeave",["pointerout","pointerover"]);ei("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));
vendor: 1,542 bytes, line 37
37ei("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ei("onBeforeInput",["compositionend","keypress","textInput","paste"]);ei("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ei("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ei("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Os="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(" "),Uj=new Set("cancel close invalid load scroll toggle".split(" ").concat(Os));function Cm(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,$2(r,t,void 0,e),e.currentTarget=null}function $x(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 s=void 0;if(t)for(var o=r.length-1;0<=o;o--){var l=r[o],c=l.instance,u=l.currentTarget;if(l=l.listener,c!==s&&i.isPropagationStopped())break e;Cm(i,l,u),s=c}else for(o=0;o<r.length;o++){if(l=r[o],c=l.instance,u=l.currentTarget,l=l.listener,c!==s&&i.isPropagationStopped())break e;Cm(i,l,u),s=c}}}if(Za)throw e=Vu,Za=!1,Vu=null,e}function ue(e,t){var n=t[Hu];n===void 0&&(n=t[Hu]=new Set);var r=e+"__bubble";n.has(r)||(Wx(t,e,2,!1),n.add(r))}function Vc(e,t,n){var r=0;t&&(r|=4),Wx(n,e,r,t)}var ca="_reactListening"+Math.random().toString(36).slice(2);
vendor: 4,514 bytes, line 37
37function lo(e){if(!e[ca]){e[ca]=!0,Yy.forEach(function(n){n!=="selectionchange"&&(Uj.has(n)||Vc(n,!1,e),Vc(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ca]||(t[ca]=!0,Vc("selectionchange",!1,t))}}function Wx(e,t,n,r){switch(Tx(t)){case 1:var i=ij;break;case 4:i=sj;break;default:i=hf}n=i.bind(null,t,n,e),i=void 0,!Du||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 Oc(e,t,n,r,i){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var l=r.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&(c=o.stateNode.containerInfo,c===i||c.nodeType===8&&c.parentNode===i))return;o=o.return}for(;l!==null;){if(o=Ir(l),o===null)return;if(c=o.tag,c===5||c===6){r=s=o;continue e}l=l.parentNode}}r=r.return}fx(function(){var u=s,d=df(n),f=[];e:{var p=zx.get(e);if(p!==void 0){var m=yf,v=e;switch(e){case"keypress":if(Ma(n)===0)break e;case"keydown":case"keyup":m=bj;break;case"focusin":v="focus",m=Ac;break;case"focusout":v="blur",m=Ac;break;case"beforeblur":case"afterblur":m=Ac;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":m=hm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=lj;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=kj;break;case Ox:case Fx:case Bx:m=dj;break;case _x:m=Sj;break;case"scroll":m=oj;break;case"wheel":m=Cj;break;case"copy":case"cut":case"paste":m=pj;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=ym}var y=(t&4)!==0,b=!y&&e==="scroll",g=y?p!==null?p+"Capture":null:p;y=[];for(var h=u,x;h!==null;){x=h;var j=x.stateNode;if(x.tag===5&&j!==null&&(x=j,g!==null&&(j=no(h,g),j!=null&&y.push(co(h,j,x)))),b)break;h=h.return}0<y.length&&(p=new m(p,v,null,n,d),f.push({event:p,listeners:y}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",p&&n!==Iu&&(v=n.relatedTarget||n.fromElement)&&(Ir(v)||v[Sn]))break e;if((m||p)&&(p=d.window===d?d:(p=d.ownerDocument)?p.defaultView||p.parentWindow:window,m?(v=n.relatedTarget||n.toElement,m=u,v=v?Ir(v):null,v!==null&&(b=ti(v),v!==b||v.tag!==5&&v.tag!==6)&&(v=null)):(m=null,v=u),m!==v)){if(y=hm,j="onMouseLeave",g="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(y=ym,j="onPointerLeave",g="onPointerEnter",h="pointer"),b=m==null?p:ji(m),x=v==null?p:ji(v),p=new y(j,h+"leave",m,n,d),p.target=b,p.relatedTarget=x,j=null,Ir(d)===u&&(y=new y(g,h+"enter",v,n,d),y.target=x,y.relatedTarget=b,j=y),b=j,m&&v)t:{for(y=m,g=v,h=0,x=y;x;x=fi(x))h++;for(x=0,j=g;j;j=fi(j))x++;for(;0<h-x;)y=fi(y),h--;for(;0<x-h;)g=fi(g),x--;for(;h--;){if(y===g||g!==null&&y===g.alternate)break t;y=fi(y),g=fi(g)}y=null}else y=null;m!==null&&Pm(f,p,m,y,!1),v!==null&&b!==null&&Pm(f,b,v,y,!0)}}e:{if(p=u?ji(u):window,m=p.nodeName&&p.nodeName.toLowerCase(),m==="select"||m==="input"&&p.type==="file")var k=Lj;else if(bm(p))if(Rx)k=Fj;else{k=Vj;var S=Dj}else(m=p.nodeName)&&m.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(k=Oj);if(k&&(k=k(e,u))){Mx(f,k,n,d);break e}S&&S(e,p,u),e==="focusout"&&(S=p._wrapperState)&&S.controlled&&p.type==="number"&&Pu(p,"number",p.value)}switch(S=u?ji(u):window,e){case"focusin":(bm(S)||S.contentEditable==="true")&&(bi=S,_u=u,Ws=null);break;case"focusout":Ws=_u=bi=null;break;case"mousedown":zu=!0;break;case"contextmenu":case"mouseup":case"dragend":zu=!1,Sm(f,n,d);break;case"selectionchange":if(zj)break;case"keydown":case"keyup":Sm(f,n,d)}var T;if(vf)e:{switch(e){case"compositionstart":var C="onCompositionStart";break e;case"compositionend":C="onCompositionEnd";break e;case"compositionupdate":C="onCompositionUpdate";break e}C=void 0}else vi?Ex(e,n)&&(C="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(C="onCompositionStart");C&&(Px&&n.locale!=="ko"&&(vi||C!=="onCompositionStart"?C==="onCompositionEnd"&&vi&&(T=Cx()):(er=d,gf="value"in er?er.value:er.textContent,vi=!0)),S=rl(u,C),0<S.length&&(C=new gm(C,e,null,n,d),f.push({event:C,listeners:S}),T?C.data=T:(T=Ax(n),T!==null&&(C.data=T)))),(T=Ej?Aj(e,n):Mj(e,n))&&
vendor: 6,296 bytes, lines 37-38
37(u=rl(u,"onBeforeInput"),0<u.length&&(d=new gm("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:u}),d.data=T))}$x(f,t)})}function co(e,t,n){return{instance:e,listener:t,currentTarget:n}}function rl(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,s=i.stateNode;i.tag===5&&s!==null&&(i=s,s=no(e,n),s!=null&&r.unshift(co(e,s,i)),s=no(e,t),s!=null&&r.push(co(e,s,i))),e=e.return}return r}function fi(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Pm(e,t,n,r,i){for(var s=t._reactName,o=[];n!==null&&n!==r;){var l=n,c=l.alternate,u=l.stateNode;if(c!==null&&c===r)break;l.tag===5&&u!==null&&(l=u,i?(c=no(n,s),c!=null&&o.unshift(co(n,c,l))):i||(c=no(n,s),c!=null&&o.push(co(n,c,l)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Gj=/\r\n?/g,Hj=/\u0000|\uFFFD/g;function Em(e){return(typeof e=="string"?e:""+e).replace(Gj,` 38`).replace(Hj,"")}function ua(e,t,n){if(t=Em(t),Em(e)!==t&&n)throw Error(I(425))}function il(){}var $u=null,Wu=null;function Uu(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 Gu=typeof setTimeout=="function"?setTimeout:void 0,Kj=typeof clearTimeout=="function"?clearTimeout:void 0,Am=typeof Promise=="function"?Promise:void 0,qj=typeof queueMicrotask=="function"?queueMicrotask:typeof Am<"u"?function(e){return Am.resolve(null).then(e).catch(Qj)}:Gu;function Qj(e){setTimeout(function(){throw e})}function Fc(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),so(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);so(t)}function ar(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 Mm(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 ls=Math.random().toString(36).slice(2),nn="__reactFiber$"+ls,uo="__reactProps$"+ls,Sn="__reactContainer$"+ls,Hu="__reactEvents$"+ls,Yj="__reactListeners$"+ls,Xj="__reactHandles$"+ls;function Ir(e){var t=e[nn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Sn]||n[nn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Mm(e);e!==null;){if(n=e[nn])return n;e=Mm(e)}return t}e=n,n=e.parentNode}return null}function Lo(e){return e=e[nn]||e[Sn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ji(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(I(33))}function Bl(e){return e[uo]||null}var Ku=[],ki=-1;function kr(e){return{current:e}}function de(e){0>ki||(e.current=Ku[ki],Ku[ki]=null,ki--)}function ae(e,t){ki++,Ku[ki]=e.current,e.current=t}var mr={},$e=kr(mr),nt=kr(!1),qr=mr;function Qi(e,t){var n=e.type.contextTypes;if(!n)return mr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function rt(e){return e=e.childContextTypes,e!=null}function sl(){de(nt),de($e)}function Rm(e,t,n){if($e.current!==mr)throw Error(I(168));ae($e,t),ae(nt,n)}function Ux(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(I(108,D2(e)||"Unknown",i));return ye({},n,r)}function ol(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||mr,qr=$e.current,ae($e,e),ae(nt,nt.current),!0}function Im(e,t,n){var r=e.stateNode;if(!r)throw Error(I(169));n?(e=Ux(e,t,qr),r.__reactInternalMemoizedMergedChildContext=e,de(nt),de($e),ae($e,e)):de(nt),ae(nt,n)}var xn=null,_l=!1,Bc=!1;function Gx(e){xn===null?xn=[e]:xn.push(e)}function Zj(e){_l=!0,Gx(e)}function Nr(){if(!Bc&&xn!==null){Bc=!0;var e=0,t=re;try{var n=xn;for(re=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}xn=null,_l=!1}catch(i){throw xn!==null&&(xn=xn.slice(e+1)),gx(ff,Nr),i}finally{re=t,Bc=!1}}return null}var Ni=[],Si=0,al=null,ll=0,yt=[],xt=0,Qr=null,wn=1,jn="";function Ar(e,t){Ni[Si++]=ll,Ni[Si++]=al,al=e,ll=t}function Hx(e,t,n){yt[xt++]=wn,yt[xt++]=jn,yt[xt++]=Qr,Qr=e;var r=wn;e=jn;var i=32-_t(r)-1;r&=~(1<<i),n+=1;var s=32-_t(t)+i;if(30<s){var o=i-i%5;s=(r&(1<<o)-1).toString(32),r>>=o,i-=o,wn=1<<32-_t(t)+i|n<<i|r,jn=s+e}else wn=1<<s|n<<i|r,jn=e}function wf(e){e.return!==null&&(Ar(e,1),Hx(e,1,0))}function jf(e){for(;e===al;)al=Ni[--Si],Ni[Si]=null,ll=Ni[--Si],Ni[Si]=null;for(;e===Qr;)Qr=yt[--xt],yt[xt]=null,jn=yt[--xt],yt[xt]=null,wn=yt[--xt],yt[xt]=null}var ct=null,lt=null,pe=!1,Bt=null;function Kx(e,t){var n=vt(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 Lm(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ct=e,lt=ar(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ct=e,lt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Qr!==null?{id:wn,overflow:jn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=vt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ct=e,lt=null,!0):!1;default:return!1}}function qu(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Qu(e){if(pe){var t=lt;if(t){var n=t;if(!Lm(e,t)){if(qu(e))throw Error(I(418));t=ar(n.nextSibling);var r=ct;t&&Lm(e,t)?Kx(r,n):(e.flags=e.flags&-4097|2,pe=!1,ct=e)}}else{if(qu(e))throw Error(I(418));e.flags=e.flags&-4097|2,pe=!1,ct=e}}}function Dm(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ct=e}function da(e){if(e!==ct)return!1;if(!pe)return Dm(e),pe=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Uu(e.type,e.memoizedProps)),t&&(t=lt)){if(qu(e))throw qx(),Error(I(418));for(;t;)Kx(e,t),t=ar(t.nextSibling)}if(Dm(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(I(317)
vendor: 22,828 bytes, lines 38-40
38);e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){lt=ar(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}lt=null}}else lt=ct?ar(e.stateNode.nextSibling):null;return!0}function qx(){for(var e=lt;e;)e=ar(e.nextSibling)}function Yi(){lt=ct=null,pe=!1}function kf(e){Bt===null?Bt=[e]:Bt.push(e)}var Jj=Mn.ReactCurrentBatchConfig;function Ss(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(I(309));var r=n.stateNode}if(!r)throw Error(I(147,e));var i=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(o){var l=i.refs;o===null?delete l[s]:l[s]=o},t._stringRef=s,t)}if(typeof e!="string")throw Error(I(284));if(!n._owner)throw Error(I(290,e))}return e}function fa(e,t){throw e=Object.prototype.toString.call(t),Error(I(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Vm(e){var t=e._init;return t(e._payload)}function Qx(e){function t(g,h){if(e){var x=g.deletions;x===null?(g.deletions=[h],g.flags|=16):x.push(h)}}function n(g,h){if(!e)return null;for(;h!==null;)t(g,h),h=h.sibling;return null}function r(g,h){for(g=new Map;h!==null;)h.key!==null?g.set(h.key,h):g.set(h.index,h),h=h.sibling;return g}function i(g,h){return g=dr(g,h),g.index=0,g.sibling=null,g}function s(g,h,x){return g.index=x,e?(x=g.alternate,x!==null?(x=x.index,x<h?(g.flags|=2,h):x):(g.flags|=2,h)):(g.flags|=1048576,h)}function o(g){return e&&g.alternate===null&&(g.flags|=2),g}function l(g,h,x,j){return h===null||h.tag!==6?(h=Hc(x,g.mode,j),h.return=g,h):(h=i(h,x),h.return=g,h)}function c(g,h,x,j){var k=x.type;return k===xi?d(g,h,x.props.children,j,x.key):h!==null&&(h.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Gn&&Vm(k)===h.type)?(j=i(h,x.props),j.ref=Ss(g,h,x),j.return=g,j):(j=Fa(x.type,x.key,x.props,null,g.mode,j),j.ref=Ss(g,h,x),j.return=g,j)}function u(g,h,x,j){return h===null||h.tag!==4||h.stateNode.containerInfo!==x.containerInfo||h.stateNode.implementation!==x.implementation?(h=Kc(x,g.mode,j),h.return=g,h):(h=i(h,x.children||[]),h.return=g,h)}function d(g,h,x,j,k){return h===null||h.tag!==7?(h=Gr(x,g.mode,j,k),h.return=g,h):(h=i(h,x),h.return=g,h)}function f(g,h,x){if(typeof h=="string"&&h!==""||typeof h=="number")return h=Hc(""+h,g.mode,x),h.return=g,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case ta:return x=Fa(h.type,h.key,h.props,null,g.mode,x),x.ref=Ss(g,null,h),x.return=g,x;case yi:return h=Kc(h,g.mode,x),h.return=g,h;case Gn:var j=h._init;return f(g,j(h._payload),x)}if(Ds(h)||bs(h))return h=Gr(h,g.mode,x,null),h.return=g,h;fa(g,h)}return null}function p(g,h,x,j){var k=h!==null?h.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return k!==null?null:l(g,h,""+x,j);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case ta:return x.key===k?c(g,h,x,j):null;case yi:return x.key===k?u(g,h,x,j):null;case Gn:return k=x._init,p(g,h,k(x._payload),j)}if(Ds(x)||bs(x))return k!==null?null:d(g,h,x,j,null);fa(g,x)}return null}function m(g,h,x,j,k){if(typeof j=="string"&&j!==""||typeof j=="number")return g=g.get(x)||null,l(h,g,""+j,k);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case ta:return g=g.get(j.key===null?x:j.key)||null,c(h,g,j,k);case yi:return g=g.get(j.key===null?x:j.key)||null,u(h,g,j,k);case Gn:var S=j._init;return m(g,h,x,S(j._payload),k)}if(Ds(j)||bs(j))return g=g.get(x)||null,d(h,g,j,k,null);fa(h,j)}return null}function v(g,h,x,j){for(var k=null,S=null,T=h,C=h=0,A=null;T!==null&&C<x.length;C++){T.index>C?(A=T,T=null):A=T.sibling;var E=p(g,T,x[C],j);if(E===null){T===null&&(T=A);break}e&&T&&E.alternate===null&&t(g,T),h=s(E,h,C),S===null?k=E:S.sibling=E,S=E,T=A}if(C===x.length)return n(g,T),pe&&Ar(g,C),k;if(T===null){for(;C<x.length;C++)T=f(g,x[C],j),T!==null&&(h=s(T,h,C),S===null?k=T:S.sibling=T,S=T);return pe&&Ar(g,C),k}for(T=r(g,T);C<x.length;C++)A=m(T,g,C,x[C],j),A!==null&&(e&&A.alternate!==null&&T.delete(A.key===null?C:A.key),h=s(A,h,C),S===null?k=A:S.sibling=A,S=A);return e&&T.forEach(function(O){return t(g,O)}),pe&&Ar(g,C),k}function y(g,h,x,j){var k=bs(x);if(typeof k!="function")throw Error(I(150));if(x=k.call(x),x==null)throw Error(I(151));for(var S=k=null,T=h,C=h=0,A=null,E=x.next();T!==null&&!E.done;C++,E=x.next()){T.index>C?(A=T,T=null):A=T.sibling;var O=p(g,T,E.value,j);if(O===null){T===null&&(T=A);break}e&&T&&O.alternate===null&&t(g,T),h=s(O,h,C),S===null?k=O:S.sibling=O,S=O,T=A}if(E.done)return n(g,T),pe&&Ar(g,C),k;if(T===null){for(;!E.done;C++,E=x.next())E=f(g,E.value,j),E!==null&&(h=s(E,h,C),S===null?k=E:S.sibling=E,S=E);return pe&&Ar(g,C),k}for(T=r(g,T);!E.done;C++,E=x.next())E=m(T,g,C,E.value,j),E!==null&&(e&&E.alternate!==null&&T.delete(E.key===null?C:E.key),h=s(E,h,C),S===null?k=E:S.sibling=E,S=E);return e&&T.forEach(function(L){return t(g,L)}),pe&&Ar(g,C),k}function b(g,h,x,j){if(typeof x=="object"&&x!==null&&x.type===xi&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case ta:e:{for(var k=x.key,S=h;S!==null;){if(S.key===k){if(k=x.type,k===xi){if(S.tag===7){n(g,S.sibling),h=i(S,x.props.children),h.return=g,g=h;break e}}else if(S.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Gn&&Vm(k)===S.type){n(g,S.sibling),h=i(S,x.props),h.ref=Ss(g,S,x),h.return=g,g=h;break e}n(g,S);break}else t(g,S);S=S.sibling}x.type===xi?(h=Gr(x.props.children,g.mode,j,x.key),h.return=g,g=h):(j=Fa(x.type,x.key,x.props,null,g.mode,j),j.ref=Ss(g,h,x),j.return=g,g=j)}return o(g);case yi:e:{for(S=x.key;h!==null;){if(h.key===S)if(h.tag===4&&h.stateNode.containerInfo===x.containerInfo&&h.stateNode.implementation===x.implementation){n(g,h.sibling),h=i(h,x.children||[]),h.return=g,g=h;break e}else{n(g,h);break}else t(g,h);h=h.sibling}h=Kc(x,g.mode,j),h.return=g,g=h}return o(g);case Gn:return S=x._init,b(g,h,S(x._payload),j)}if(Ds(x))return v(g,h,x,j);if(bs(x))return y(g,h,x,j);fa(g,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,h!==null&&h.tag===6?(n(g,h.sibling),h=i(h,x),h.return=g,g=h):(n(g,h),h=Hc(x,g.mode,j),h.return=g,g=h),o(g)):n(g,h)}return b}var Xi=Qx(!0),Yx=Qx(!1),cl=kr(null),ul=null,Ti=null,Nf=null;function Sf(){Nf=Ti=ul=null}function Tf(e){var t=cl.current;de(cl),e._currentValue=t}function Yu(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 Vi(e,t){ul=e,Nf=Ti=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(tt=!0),e.firstContext=null)}function kt(e){var t=e._currentValue;if(Nf!==e)if(e={context:e,memoizedValue:t,next:null},Ti===null){if(ul===null)throw Error(I(308));Ti=e,ul.dependencies={lanes:0,firstContext:e}}else Ti=Ti.next=e;return t}var Lr=null;function Cf(e){Lr===null?Lr=[e]:Lr.push(e)}function Xx(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Cf(t)):(n.next=i.next,i.next=n),t.interleaved=n,Tn(e,r)}function Tn(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 Hn=!1;function Pf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Zx(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 kn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function lr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,te&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Tn(e,n)}return i=r.interleaved,i===null?(t.next=t,Cf(r)):(t.next=i.next,i.next=t),r.interleaved=t,Tn(e,n)}function Ra(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,pf(e,n)}}function Om(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?i=s=o:s=s.next=o,n=n.next}while(n!==null);s===null?i=s=t:s=s.next=t}else i=s=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:s,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 dl(e,t,n,r){var i=e.updateQueue;Hn=!1;var s=i.firstBaseUpdate,o=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var c=l,u=c.next;c.next=null,o===null?s=u:o.next=u,o=c;var d=e.alternate;d!==null&&(d=d.updateQueue,l=d.lastBaseUpdate,l!==o&&(l===null?d.firstBaseUpdate=u:l.next=u,d.lastBaseUpdate=c))}if(s!==null){var f=i.baseState;o=0,d=u=c=null,l=s;do{var p=l.lane,m=l.eventTime;if((r&p)===p){d!==null&&(d=d.next={eventTime:m,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var v=e,y=l;switch(p=t,m=n,y.tag){case 1:if(v=y.payload,typeof v=="function"){f=v.call(m,f,p);break e}f=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=y.payload,p=typeof v=="function"?v.call(m,f,p):v,p==null)break e;f=ye({},f,p);break e;case 2:Hn=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,p=i.effects,p===null?i.effects=[l]:p.push(l))}else m={eventTime:m,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},d===null?(u=d=m,c=f):d=d.next=m,o|=p;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;p=l,l=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(!0);if(d===null&&(c=f),i.baseState=c,i.firstBaseUpdate=u,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else s===null&&(i.shared.lanes=0);Xr|=o,e.lanes=o,e.memoizedState=f}}function Fm(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;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(I(191,i));i.call(r)}}}var Do={},on=kr(Do),fo=kr(Do),po=kr(Do);function Dr(e){if(e===Do)throw Error(I(174));return e}function Ef(e,t){switch(ae(po,t),ae(fo,e),ae(on,Do),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Au(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Au(t,e)}de(on),ae(on,t)}function Zi(){de(on),de(fo),de(po)}function Jx(e){Dr(po.current);var t=Dr(on.current),n=Au(t,e.type);t!==n&&(ae(fo,e),ae(on,n))}function Af(e){fo.current===e&&(de(on),de(fo))}var he=kr(0);function fl(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 _c=[];function Mf(){for(var e=0;e<_c.length;e++)_c[e]._workInProgressVersionPrimary=null;_c.length=0}var Ia=Mn.ReactCurrentDispatcher,zc=Mn.ReactCurrentBatchConfig,Yr=0,ge=null,Te=null,Ae=null,pl=!1,Us=!1,mo=0,ek=0;function Fe(){throw Error(I(321))}function Rf(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Wt(e[n],t[n]))return!1;return!0}function If(e,t,n,r,i,s){if(Yr=s,ge=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ia.current=e===null||e.memoizedState===null?ik:sk,e=n(r,i),Us){s=0;do{if(Us=!1,mo=0,25<=s)throw Error(I(301));s+=1,Ae=Te=null,t.updateQueue=null,Ia.current=ok,e=n(r,i)}while(Us)}if(Ia.current=ml,t=Te!==null&&Te.next!==null,Yr=0,Ae=Te=ge=null,pl=!1,t)throw Error(I(300));return e}function Lf(){var e=mo!==0;return mo=0,e}function Yt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ae===null?ge.memoizedState=Ae=e:Ae=Ae.next=e,Ae}function Nt(){if(Te===null){var e=ge.alternate;e=e!==null?e.memoizedState:null}else e=Te.next;var t=Ae===null?ge.memoizedState:Ae.next;if(t!==null)Ae=t,Te=e;else{if(e===null)throw Error(I(310));Te=e,e={memoizedState:Te.memoizedState,baseState:Te.baseState,baseQueue:Te.baseQueue,queue:Te.queue,next:null},Ae===null?ge.memoizedState=Ae=e:Ae=Ae.next=e}return Ae}function ho(e,t){return typeof t=="function"?t(e):t}function $c(e){var t=Nt(),n=t.queue;if(n===null)throw Error(I(311));n.lastRenderedReducer=e;var r=Te,i=r.baseQueue,s=n.pending;if(s!==null){if(i!==null){var o=i.next;i.next=s.next,s.next=o}r.baseQueue=i=s,n.pending=null}if(i!==null){s=i.next,r=r.baseState;var l=o=null,c=null,u=s;do{var d=u.lane;if((Yr&d)===d)c!==null&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(l=c=f,o=r):c=c.next=f,ge.lanes|=d,Xr|=d}u=u.next}while(u!==null&&u!==s);c===null?o=r:c.next=l,Wt(r,t.memoizedState)||(tt=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do s=i.lane,ge.lanes|=s,Xr|=s,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Wc(e){var t=Nt(),n=t.queue;if(n===null)throw Error(I(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,s=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do s=e(s,o.action),o=o.next;while(o!==i);Wt(s,t.memoizedState)||(tt=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function e0(){}function t0(e,t){var n=ge,r=Nt(),i=t(),s=!Wt(r.memoizedState,i);if(s&&(r.memoizedState=i,tt=!0),r=r.queue,Df(i0.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||Ae!==null&&Ae.memoizedState.tag&1){if(n.flags|=2048,go(9,r0.bind(null,n,r,i,t),void 0,null),Me===null)throw Error(I(349));Yr&30||n0(n,t,i)}return i}function n0(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ge.updateQueue,t===null?(t={lastEffect:null,stores:null},ge.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function r0(e,t,n,r){t.value=n,t.getSnapshot=r,s0(t)&&o0(e)}function i0(e,t,n){return n(function(){s0(t)&&o0(e)})}function s0(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Wt(e,n)}catch{return!0}}function o0(e){var t=Tn(e,1);t!==null&&zt(t,e,1,-1)}function Bm(e){var t=Yt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ho,lastRenderedState:e},t.queue=e,e=e.dispatch=rk.bind(null,ge,e),[t.memoizedState,e]}function go(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ge.updateQueue,t===null?(t={lastEffect:null,stores:null},ge.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 a0(){return Nt().memoizedState}function La(e,t,n,r){var i=Yt();ge.flags|=e,i.memoizedState=go(1|t,n,void 0,r===void 0?null:r)}function zl(e,t,n,r){var i=Nt();r=r===void 0?null:r;var s=void 0;if(Te!==null){var o=Te.memoizedState;if(s=o.destroy,r!==null&&Rf(r,o.deps)){i.memoizedState=go(t,n,s,r);return}}ge.flags|=e,i.memoizedState=go(1|t,n,s,r)}function _m(e,t){return La(8390656,8,e,t)}function Df(e,t){return zl(2048,8,e,t)}function l0(e,t){return zl(4,2,e,t)}function c0(e,t){return zl(4,4,e,t)}function u0(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 d0(e,t,n){return n=n!=null?n.concat([e]):null,zl(4,4,u0.bind(null,t,e),n)}function Vf(){}function f0(e,t){var n=Nt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Rf(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function p0(e,t){var n=Nt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Rf(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function m0(e,t,n){return Yr&21?(Wt(n,t)||(n=vx(),ge.lanes|=n,Xr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,tt=!0),e.memoizedState=n)}function tk(e,t){var n=re;re=n!==0&&4>n?n:4,e(!0);var r=zc.transition;zc.transition={};try{e(!1),t()}finally{re=n,zc.transition=r}}function h0(){return Nt().memoizedState}function nk(e,t,n){var r=ur(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},g0(e))y0(t,n);else if(n=Xx(e,t,n,r),n!==null){var i=qe();zt(n,e,r,i),x0(n,t,r)}}function rk(e,t,n){var r=ur(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(g0(e))y0(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,l=s(o,n);if(i.hasEagerState=!0,i.eagerState=l,Wt(l,o)){var c=t.interleaved;c===null?(i.next=i,Cf(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}finally{}n=Xx(e,t,i,r),n!==null&&(i=qe(),zt(n,e,r,i),x0(n,t,r))}}function g0(e){var t=e.alternate;return e===ge||t!==null&&t===ge}function y0(e,t){Us=pl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function x0(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,pf(e,n)}}var ml={readContext:kt,useCallback:Fe,useContext:Fe,useEffect:Fe,useImperativeHandle:Fe,useInsertionEffect:Fe,useLayoutEffect:Fe,useMemo:Fe,useReducer:Fe,useRef:Fe,useState:Fe,useDebugValue:Fe,useDeferredValue:Fe,useTransition:Fe,useMutableSource:Fe,useSyncExternalStore:Fe,useId:Fe,unstable_isNewReconciler:!1},ik={readContext:kt,useCallback:function(e,t){return Yt().memoizedState=[e,t===void 0?null:t],e},useContext:kt,useEffect:_m,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,La(4194308,4,u0.bind(null,t,e),n)},useLayoutEffect:function(e,t){return La(4194308,4,e,t)},useInsertionEffect:function(e,t){return La(4,2,e,t)},useMemo:function(e,t){var n=Yt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Yt();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=nk.bind(null,ge,e),[r.memoizedState,e]},useRef:function(e){var t=Yt();return e={current:e},t.memoizedState=e},useState:Bm,useDebugValue:Vf,useDeferredValue:function(e){return Yt().memoizedState=e},useTransition:function(){var e=Bm(!1),t=e[0];return e=tk.bind(null,e[1]),Yt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ge,i=Yt();if(pe){if(n===void 0)throw Error(I(407));n=n()}else{if(n=t(),Me===null)throw Error(I(349));Yr&30||n0(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,_m(i0.bind(null,r,s,e),[e]),r.flags|=2048,go(9,r0.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Yt(),t=Me.identifierPrefix;if(pe){var n=jn,r=wn;n=(r&~(1<<32-_t(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=mo++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=ek++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sk={readContext:kt,useCallback:f0,useContext:kt,useEffect:Df,useImperativeHandle:d0,useInsertionEffect:l0,useLayoutEffect:c0,useMemo:p0,useReducer:$c,useRef:a0,useState:function(){return $c(ho)},useDebugValue:Vf,useDeferredValue:function(e){var t=Nt();return m0(t,Te.memoizedState,e)},useTransition:function(){var e=$c(ho)[0],t=Nt().memoizedState;return[e,t]},useMutableSource:e0,useSyncExternalStore:t0,useId:h0,unstable_isNewReconciler:!1},ok={readContext:kt,useCallback:f0,useContext:kt,useEffect:Df,useImperativeHandle:d0,useInsertionEffect:l0,useLayoutEffect:c0,useMemo:p0,useReducer:Wc,useRef:a0,useState:function(){return Wc(ho)},useDebugValue:Vf,useDeferredValue:function(e){var t=Nt();return Te===null?t.memoizedState=e:m0(t,Te.memoizedState,e)},useTransition:function(){var e=Wc(ho)[0],t=Nt().memoizedState;return[e,t]},useMutableSource:e0,useSyncExternalStore:t0,useId:h0,unstable_isNewReconciler:!1};function Lt(e,t){if(e&&e.defaultProps){t=ye({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Xu(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ye({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var $l={isMounted:function(e){return(e=e._reactInternals)?ti(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=qe(),i=ur(e),s=kn(r,i);s.payload=t,n!=null&&(s.callback=n),t=lr(e,s,i),t!==null&&(zt(t,e,i,r),Ra(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=qe(),i=ur(e),s=kn(r,i);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=lr(e,s,i),t!==null&&(zt(t,e,i,r),Ra(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=qe(),r=ur(e),i=kn(n,r);i.tag=2,t!=null&&(i.callback=t),t=lr(e,i,r),t!==null&&(zt(t,e,r,n),Ra(t,e,r))}};function zm(e,t,n,r,i,s,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,o):t.prototype&&t.prototype.isPureReactComponent?!ao(n,r)||!ao(i,s):!0}function v0(e,t,n){var r=!1,i=mr,s=t.contextType;return typeof s=="object"&&s!==null?s=kt(s):(i=rt(t)?qr:$e.current,r=t.contextTypes,s=(r=r!=null)?Qi(e,i):mr),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=$l,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=s),t}function $m(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&&$l.enqueueReplaceState(t,t.state,null)}function Zu(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Pf(e);var s=t.contextType;typeof s=="object"&&s!==null?i.context=kt(s):(s=rt(t)?qr:$e.current,i.context=Qi(e,s)),i.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(Xu(e,t,s,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&&$l.enqueueReplaceState(i,i.state,null),dl(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Ji(e,t){try{var n="",r=t;do n+=L2(r),r=r.return;while(r);var i=n}catch(s){i=` 39Error generating stack: `+s.message+` 40`+s.stack}return{value:e,source:t,stack:i,digest:null}}function Uc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ju(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var ak=typeof WeakMap=="function"?WeakMap:Map;
vendor: 10,642 bytes, line 40
40function b0(e,t,n){n=kn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){gl||(gl=!0,cd=r),Ju(e,t)},n}function w0(e,t,n){n=kn(-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(){Ju(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Ju(e,t),typeof r!="function"&&(cr===null?cr=new Set([this]):cr.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Wm(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new ak;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=wk.bind(null,e,t,n),t.then(e,e))}function Um(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 Gm(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=kn(-1,1),t.tag=2,lr(n,t,1))),n.lanes|=1),e)}var lk=Mn.ReactCurrentOwner,tt=!1;function Ue(e,t,n,r){t.child=e===null?Yx(t,null,n,r):Xi(t,e.child,n,r)}function Hm(e,t,n,r,i){n=n.render;var s=t.ref;return Vi(t,i),r=If(e,t,n,r,s,i),n=Lf(),e!==null&&!tt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Cn(e,t,i)):(pe&&n&&wf(t),t.flags|=1,Ue(e,t,r,i),t.child)}function Km(e,t,n,r,i){if(e===null){var s=n.type;return typeof s=="function"&&!Uf(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,j0(e,t,s,r,i)):(e=Fa(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&i)){var o=s.memoizedProps;if(n=n.compare,n=n!==null?n:ao,n(o,r)&&e.ref===t.ref)return Cn(e,t,i)}return t.flags|=1,e=dr(s,r),e.ref=t.ref,e.return=t,t.child=e}function j0(e,t,n,r,i){if(e!==null){var s=e.memoizedProps;if(ao(s,r)&&e.ref===t.ref)if(tt=!1,t.pendingProps=r=s,(e.lanes&i)!==0)e.flags&131072&&(tt=!0);else return t.lanes=e.lanes,Cn(e,t,i)}return ed(e,t,n,r,i)}function k0(e,t,n){var r=t.pendingProps,i=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ae(Pi,ot),ot|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ae(Pi,ot),ot|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,ae(Pi,ot),ot|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,ae(Pi,ot),ot|=r;return Ue(e,t,i,n),t.child}function N0(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ed(e,t,n,r,i){var s=rt(n)?qr:$e.current;return s=Qi(t,s),Vi(t,i),n=If(e,t,n,r,s,i),r=Lf(),e!==null&&!tt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Cn(e,t,i)):(pe&&r&&wf(t),t.flags|=1,Ue(e,t,n,i),t.child)}function qm(e,t,n,r,i){if(rt(n)){var s=!0;ol(t)}else s=!1;if(Vi(t,i),t.stateNode===null)Da(e,t),v0(t,n,r),Zu(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,l=t.memoizedProps;o.props=l;var c=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=kt(u):(u=rt(n)?qr:$e.current,u=Qi(t,u));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof o.getSnapshotBeforeUpdate=="function";f||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==r||c!==u)&&$m(t,o,r,u),Hn=!1;var p=t.memoizedState;o.state=p,dl(t,r,o,i),c=t.memoizedState,l!==r||p!==c||nt.current||Hn?(typeof d=="function"&&(Xu(t,n,d,r),c=t.memoizedState),(l=Hn||zm(t,n,l,r,p,c,u))?(f||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),o.props=r,o.state=c,o.context=u,r=l):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Zx(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Lt(t.type,l),o.props=u,f=t.pendingProps,p=o.context,c=n.contextType,typeof c=="object"&&c!==null?c=kt(c):(c=rt(n)?qr:$e.current,c=Qi(t,c));var m=n.getDerivedStateFromProps;(d=typeof m=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==f||p!==c)&&$m(t,o,r,c),Hn=!1,p=t.memoizedState,o.state=p,dl(t,r,o,i);var v=t.memoizedState;l!==f||p!==v||nt.current||Hn?(typeof m=="function"&&(Xu(t,n,m,r),v=t.memoizedState),(u=Hn||zm(t,n,u,r,p,v,c)||!1)?(d||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,v,c),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,v,c)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),o.props=r,o.state=v,o.context=c,r=u):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return td(e,t,n,r,s,i)}function td(e,t,n,r,i,s){N0(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&Im(t,n,!1),Cn(e,t,s);r=t.stateNode,lk.current=t;var l=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Xi(t,e.child,null,s),t.child=Xi(t,null,l,s)):Ue(e,t,l,s),t.memoizedState=r.state,i&&Im(t,n,!0),t.child}function S0(e){var t=e.stateNode;t.pendingContext?Rm(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Rm(e,t.context,!1),Ef(e,t.containerInfo)}function Qm(e,t,n,r,i){return Yi(),kf(i),t.flags|=256,Ue(e,t,n,r),t.child}var nd={dehydrated:null,treeContext:null,retryLane:0};function rd(e){return{baseLanes:e,cachePool:null,transitions:null}}function T0(e,t,n){var r=t.pendingProps,i=he.current,s=!1,o=(t.flags&128)!==0,l;if((l=o)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),ae(he,i&1),e===null)return Qu(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):(o=r.children,e=r.fallback,s?(r=t.mode,s=t.child,o={mode:"hidden",children:o},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=o):s=Gl(o,r,0,null),e=Gr(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=rd(n),t.memoizedState=nd,e):Of(t,o));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return ck(e,t,o,r,l,i,n);if(s){s=r.fallback,o=t.mode,i=e.child,l=i.sibling;var c={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=dr(i,c),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?s=dr(l,s):(s=Gr(s,o,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,o=e.child.memoizedState,o=o===null?rd(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=e.childLanes&~n,t.memoizedState=nd,r}return s=e.child,e=s.sibling,r=dr(s,{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 Of(e,t){return t=Gl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function pa(e,t,n,r){return r!==null&&kf(r),Xi(t,e.child,null,n),e=Of(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ck(e,t,n,r,i,s,o){if(n)return t.flags&256?(t.flags&=-257,r=Uc(Error(I(422))),pa(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,i=t.mode,r=Gl({mode:"visible",children:r.children},i,0,null),s=Gr(s,i,o,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&Xi(t,e.child,null,o),t.child.memoizedState=rd(o),t.memoizedState=nd,s);if(!(t.mode&1))return pa(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,s=Error(I(419)),r=Uc(s,r,void 0),pa(e,t,o,r)}if(l=(o&e.childLanes)!==0,tt||l){if(r=Me,r!==null){switch(o&-o){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|o)?0:i,i!==0&&i!==s.retryLane&&(s.retryLane=i,Tn(e,i),zt(r,e,i,-1))}return Wf(),r=Uc(Error(I(421))),pa(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=jk.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,lt=ar(i.nextSibling),ct=t,pe=!0,Bt=null,e!==null&&(yt[xt++]=wn,yt[xt++]=jn,yt[xt++]=Qr,wn=e.id,jn=e.overflow,Qr=t),t=Of(t,r.children),t.flags|=4096,t)}function Ym(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Yu(e.return,t,n)}function Gc(e,t,n,r,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=i)}function C0(e,t,n){var r=t.pendingProps,i=r.revealOrder,s=r.tail;if(Ue(e,t,r.children,n),r=he.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&&Ym(e,n,t);else if(e.tag===19)Ym(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(ae(he,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&&fl(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Gc(t,!1,i,n,s);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&fl(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Gc(t,!0,n,null,s);break;
vendor: 5,786 bytes, line 40
40case"together":Gc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Da(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Cn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Xr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(I(153));if(t.child!==null){for(e=t.child,n=dr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=dr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function uk(e,t,n){switch(t.tag){case 3:S0(t),Yi();break;case 5:Jx(t);break;case 1:rt(t.type)&&ol(t);break;case 4:Ef(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;ae(cl,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ae(he,he.current&1),t.flags|=128,null):n&t.child.childLanes?T0(e,t,n):(ae(he,he.current&1),e=Cn(e,t,n),e!==null?e.sibling:null);ae(he,he.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return C0(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),ae(he,he.current),r)break;return null;case 22:case 23:return t.lanes=0,k0(e,t,n)}return Cn(e,t,n)}var P0,id,E0,A0;P0=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}};id=function(){};E0=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Dr(on.current);var s=null;switch(n){case"input":i=Tu(e,i),r=Tu(e,r),s=[];break;case"select":i=ye({},i,{value:void 0}),r=ye({},r,{value:void 0}),s=[];break;case"textarea":i=Eu(e,i),r=Eu(e,r),s=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=il)}Mu(n,r);var o;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var l=i[u];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(eo.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var c=r[u];if(l=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(c!=null||l!=null))if(u==="style")if(l){for(o in l)!l.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&l[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(s||(s=[]),s.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,l=l?l.__html:void 0,c!=null&&l!==c&&(s=s||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(s=s||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(eo.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&ue("scroll",e),s||l===c||(s=[])):(s=s||[]).push(u,c))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};A0=function(e,t,n,r){n!==r&&(t.flags|=4)};function Ts(e,t){if(!pe)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 Be(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 dk(e,t,n){var r=t.pendingProps;switch(jf(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Be(t),null;case 1:return rt(t.type)&&sl(),Be(t),null;case 3:return r=t.stateNode,Zi(),de(nt),de($e),Mf(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(da(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Bt!==null&&(fd(Bt),Bt=null))),id(e,t),Be(t),null;case 5:Af(t);var i=Dr(po.current);if(n=t.type,e!==null&&t.stateNode!=null)E0(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(I(166));return Be(t),null}if(e=Dr(on.current),da(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[nn]=t,r[uo]=s,e=(t.mode&1)!==0,n){case"dialog":ue("cancel",r),ue("close",r);break;case"iframe":case"object":case"embed":ue("load",r);break;case"video":case"audio":for(i=0;i<Os.length;i++)ue(Os[i],r);break;case"source":ue("error",r);break;case"img":case"image":case"link":ue("error",r),ue("load",r);break;case"details":ue("toggle",r);break;case"input":sm(r,s),ue("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},ue("invalid",r);break;case"textarea":am(r,s),ue("invalid",r)}Mu(n,s),i=null;for(var o in s)if(s.hasOwnProperty(o)){var l=s[o];o==="children"?typeof l=="string"?r.textContent!==l&&(s.suppressHydrationWarning!==!0&&ua(r.textContent,l,e),i=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(s.suppressHydrationWarning!==!0&&ua(r.textContent,l,e),i=["children",""+l]):eo.hasOwnProperty(o)&&l!=null&&o==="onScroll"&&ue("scroll",r)}switch(n){case"input":na(r),om(r,s,!0);break;case"textarea":na(r),lm(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=il)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ix(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>
40",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[nn]=t,e[uo]=r,P0(e,t,!1,!1),t.stateNode=e;e:{switch(o=Ru(n,r),n){case"dialog":ue("cancel",e),ue("close",e),i=r;break;case"iframe":case"object":case"embed":ue("load",e),i=r;break;case"video":case"audio":for(i=0;i<Os.length;i++)ue(Os[i],e);i=r;break;case"source":ue("error",e),i=r;break;case"img":case"image":case"link":ue("error",e),ue("load",e),i=r;break;case"details":ue("toggle",e),i=r;break;case"input":sm(e,r),i=Tu(e,r),ue("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=ye({},r,{value:void 0}),ue("invalid",e);break;case"textarea":am(e,r),i=Eu(e,r),ue("invalid",e);break;default:i=r}Mu(n,i),l=i;for(s in l)if(l.hasOwnProperty(s)){var c=l[s];s==="style"?ax(e,c):s==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&sx(e,c)):s==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&to(e,c):typeof c=="number"&&to(e,""+c):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(eo.hasOwnProperty(s)?c!=null&&s==="onScroll"&&ue("scroll",e):c!=null&&af(e,s,c,o))}switch(n){case"input":na(e),om(e,r,!1);break;case"textarea":na(e),lm(e);break;case"option":r.value!=null&&e.setAttribute("value",""+pr(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?Ri(e,!!r.multiple,s,!1):r.defaultValue!=null&&Ri(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=il)}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 Be(t),null;case 6:if(e&&t.stateNode!=null)A0(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(I(166));if(n=Dr(po.current),Dr(on.current),da(t)){if(r=t.stateNode,n=t.memoizedProps,r[nn]=t,(s=r.nodeValue!==n)&&(e=ct,e!==null))switch(e.tag){case 3:ua(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ua(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[nn]=t,t.stateNode=r}return Be(t),null;case 13:if(de(he),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(pe&<!==null&&t.mode&1&&!(t.flags&128))qx(),Yi(),t.flags|=98560,s=!1;else if(s=da(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(I(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(I(317)
vendor: 28,332 bytes, line 40
40);s[nn]=t}else Yi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Be(t),s=!1}else Bt!==null&&(fd(Bt),Bt=null),s=!0;if(!s)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||he.current&1?Pe===0&&(Pe=3):Wf())),t.updateQueue!==null&&(t.flags|=4),Be(t),null);case 4:return Zi(),id(e,t),e===null&&lo(t.stateNode.containerInfo),Be(t),null;case 10:return Tf(t.type._context),Be(t),null;case 17:return rt(t.type)&&sl(),Be(t),null;case 19:if(de(he),s=t.memoizedState,s===null)return Be(t),null;if(r=(t.flags&128)!==0,o=s.rendering,o===null)if(r)Ts(s,!1);else{if(Pe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=fl(e),o!==null){for(t.flags|=128,Ts(s,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,o=s.alternate,o===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=o.childLanes,s.lanes=o.lanes,s.child=o.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=o.memoizedProps,s.memoizedState=o.memoizedState,s.updateQueue=o.updateQueue,s.type=o.type,e=o.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ae(he,he.current&1|2),t.child}e=e.sibling}s.tail!==null&&we()>es&&(t.flags|=128,r=!0,Ts(s,!1),t.lanes=4194304)}else{if(!r)if(e=fl(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ts(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!pe)return Be(t),null}else 2*we()-s.renderingStartTime>es&&n!==1073741824&&(t.flags|=128,r=!0,Ts(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=we(),t.sibling=null,n=he.current,ae(he,r?n&1|2:n&1),t):(Be(t),null);case 22:case 23:return $f(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ot&1073741824&&(Be(t),t.subtreeFlags&6&&(t.flags|=8192)):Be(t),null;case 24:return null;case 25:return null}throw Error(I(156,t.tag))}function fk(e,t){switch(jf(t),t.tag){case 1:return rt(t.type)&&sl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Zi(),de(nt),de($e),Mf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Af(t),null;case 13:if(de(he),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(I(340));Yi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return de(he),null;case 4:return Zi(),null;case 10:return Tf(t.type._context),null;case 22:case 23:return $f(),null;case 24:return null;default:return null}}var ma=!1,ze=!1,pk=typeof WeakSet=="function"?WeakSet:Set,B=null;function Ci(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ve(e,t,r)}else n.current=null}function sd(e,t,n){try{n()}catch(r){ve(e,t,r)}}var Xm=!1;function mk(e,t){if($u=tl,e=Dx(),bf(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,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,l=-1,c=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var m;f!==n||i!==0&&f.nodeType!==3||(l=o+i),f!==s||r!==0&&f.nodeType!==3||(c=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break t;if(p===n&&++u===i&&(l=o),p===s&&++d===r&&(c=o),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Wu={focusedElem:e,selectionRange:n},tl=!1,B=t;B!==null;)if(t=B,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,B=e;else for(;B!==null;){t=B;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var y=v.memoizedProps,b=v.memoizedState,g=t.stateNode,h=g.getSnapshotBeforeUpdate(t.elementType===t.type?y:Lt(t.type,y),b);g.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(I(163))}}catch(j){ve(t,t.return,j)}if(e=t.sibling,e!==null){e.return=t.return,B=e;break}B=t.return}return v=Xm,Xm=!1,v}function Gs(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 s=i.destroy;i.destroy=void 0,s!==void 0&&sd(t,n,s)}i=i.next}while(i!==r)}}function Wl(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 od(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 M0(e){var t=e.alternate;t!==null&&(e.alternate=null,M0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[nn],delete t[uo],delete t[Hu],delete t[Yj],delete t[Xj])),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 R0(e){return e.tag===5||e.tag===3||e.tag===4}function Zm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||R0(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 ad(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=il));else if(r!==4&&(e=e.child,e!==null))for(ad(e,t,n),e=e.sibling;e!==null;)ad(e,t,n),e=e.sibling}function ld(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(ld(e,t,n),e=e.sibling;e!==null;)ld(e,t,n),e=e.sibling}var Ie=null,Ft=!1;function Fn(e,t,n){for(n=n.child;n!==null;)I0(e,t,n),n=n.sibling}function I0(e,t,n){if(sn&&typeof sn.onCommitFiberUnmount=="function")try{sn.onCommitFiberUnmount(Dl,n)}catch{}switch(n.tag){case 5:ze||Ci(n,t);case 6:var r=Ie,i=Ft;Ie=null,Fn(e,t,n),Ie=r,Ft=i,Ie!==null&&(Ft?(e=Ie,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ie.removeChild(n.stateNode));break;case 18:Ie!==null&&(Ft?(e=Ie,n=n.stateNode,e.nodeType===8?Fc(e.parentNode,n):e.nodeType===1&&Fc(e,n),so(e)):Fc(Ie,n.stateNode));break;case 4:r=Ie,i=Ft,Ie=n.stateNode.containerInfo,Ft=!0,Fn(e,t,n),Ie=r,Ft=i;break;case 0:case 11:case 14:case 15:if(!ze&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&sd(n,t,o),i=i.next}while(i!==r)}Fn(e,t,n);break;case 1:if(!ze&&(Ci(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){ve(n,t,l)}Fn(e,t,n);break;case 21:Fn(e,t,n);break;case 22:n.mode&1?(ze=(r=ze)||n.memoizedState!==null,Fn(e,t,n),ze=r):Fn(e,t,n);break;default:Fn(e,t,n)}}function Jm(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new pk),t.forEach(function(r){var i=kk.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function At(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var s=e,o=t,l=o;e:for(;l!==null;){switch(l.tag){case 5:Ie=l.stateNode,Ft=!1;break e;case 3:Ie=l.stateNode.containerInfo,Ft=!0;break e;case 4:Ie=l.stateNode.containerInfo,Ft=!0;break e}l=l.return}if(Ie===null)throw Error(I(160));I0(s,o,i),Ie=null,Ft=!1;var c=i.alternate;c!==null&&(c.return=null),i.return=null}catch(u){ve(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)L0(t,e),t=t.sibling}function L0(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(At(t,e),Qt(e),r&4){try{Gs(3,e,e.return),Wl(3,e)}catch(y){ve(e,e.return,y)}try{Gs(5,e,e.return)}catch(y){ve(e,e.return,y)}}break;case 1:At(t,e),Qt(e),r&512&&n!==null&&Ci(n,n.return);break;case 5:if(At(t,e),Qt(e),r&512&&n!==null&&Ci(n,n.return),e.flags&32){var i=e.stateNode;try{to(i,"")}catch(y){ve(e,e.return,y)}}if(r&4&&(i=e.stateNode,i!=null)){var s=e.memoizedProps,o=n!==null?n.memoizedProps:s,l=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{l==="input"&&s.type==="radio"&&s.name!=null&&nx(i,s),Ru(l,o);var u=Ru(l,s);for(o=0;o<c.length;o+=2){var d=c[o],f=c[o+1];d==="style"?ax(i,f):d==="dangerouslySetInnerHTML"?sx(i,f):d==="children"?to(i,f):af(i,d,f,u)}switch(l){case"input":Cu(i,s);break;case"textarea":rx(i,s);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var m=s.value;m!=null?Ri(i,!!s.multiple,m,!1):p!==!!s.multiple&&(s.defaultValue!=null?Ri(i,!!s.multiple,s.defaultValue,!0):Ri(i,!!s.multiple,s.multiple?[]:"",!1))}i[uo]=s}catch(y){ve(e,e.return,y)}}break;case 6:if(At(t,e),Qt(e),r&4){if(e.stateNode===null)throw Error(I(162));i=e.stateNode,s=e.memoizedProps;try{i.nodeValue=s}catch(y){ve(e,e.return,y)}}break;case 3:if(At(t,e),Qt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{so(t.containerInfo)}catch(y){ve(e,e.return,y)}break;case 4:At(t,e),Qt(e);break;case 13:At(t,e),Qt(e),i=e.child,i.flags&8192&&(s=i.memoizedState!==null,i.stateNode.isHidden=s,!s||i.alternate!==null&&i.alternate.memoizedState!==null||(_f=we())),r&4&&Jm(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(ze=(u=ze)||d,At(t,e),ze=u):At(t,e),Qt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(B=e,d=e.child;d!==null;){for(f=B=d;B!==null;){switch(p=B,m=p.child,p.tag){case 0:case 11:case 14:case 15:Gs(4,p,p.return);break;case 1:Ci(p,p.return);var v=p.stateNode;if(typeof v.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(y){ve(r,n,y)}}break;case 5:Ci(p,p.return);break;case 22:if(p.memoizedState!==null){th(f);continue}}m!==null?(m.return=p,B=m):th(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{i=f.stateNode,u?(s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(l=f.stateNode,c=f.memoizedProps.style,o=c!=null&&c.hasOwnProperty("display")?c.display:null,l.style.display=ox("display",o))}catch(y){ve(e,e.return,y)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(y){ve(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:At(t,e),Qt(e),r&4&&Jm(e);break;case 21:break;default:At(t,e),Qt(e)}}function Qt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(R0(n)){var r=n;break e}n=n.return}throw Error(I(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(to(i,""),r.flags&=-33);var s=Zm(e);ld(e,s,i);break;case 3:case 4:var o=r.stateNode.containerInfo,l=Zm(e);ad(e,l,o);break;default:throw Error(I(161))}}catch(c){ve(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function hk(e,t,n){B=e,D0(e)}function D0(e,t,n){for(var r=(e.mode&1)!==0;B!==null;){var i=B,s=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||ma;if(!o){var l=i.alternate,c=l!==null&&l.memoizedState!==null||ze;l=ma;var u=ze;if(ma=o,(ze=c)&&!u)for(B=i;B!==null;)o=B,c=o.child,o.tag===22&&o.memoizedState!==null?nh(i):c!==null?(c.return=o,B=c):nh(i);for(;s!==null;)B=s,D0(s),s=s.sibling;B=i,ma=l,ze=u}eh(e)}else i.subtreeFlags&8772&&s!==null?(s.return=i,B=s):eh(e)}}function eh(e){for(;B!==null;){var t=B;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ze||Wl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ze)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Lt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&Fm(t,s,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Fm(t,o,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&so(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(I(163))}ze||t.flags&512&&od(t)}catch(p){ve(t,t.return,p)}}if(t===e){B=null;break}if(n=t.sibling,n!==null){n.return=t.return,B=n;break}B=t.return}}function th(e){for(;B!==null;){var t=B;if(t===e){B=null;break}var n=t.sibling;if(n!==null){n.return=t.return,B=n;break}B=t.return}}function nh(e){for(;B!==null;){var t=B;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Wl(4,t)}catch(c){ve(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(c){ve(t,i,c)}}var s=t.return;try{od(t)}catch(c){ve(t,s,c)}break;case 5:var o=t.return;try{od(t)}catch(c){ve(t,o,c)}}}catch(c){ve(t,t.return,c)}if(t===e){B=null;break}var l=t.sibling;if(l!==null){l.return=t.return,B=l;break}B=t.return}}var gk=Math.ceil,hl=Mn.ReactCurrentDispatcher,Ff=Mn.ReactCurrentOwner,wt=Mn.ReactCurrentBatchConfig,te=0,Me=null,Ne=null,De=0,ot=0,Pi=kr(0),Pe=0,yo=null,Xr=0,Ul=0,Bf=0,Hs=null,et=null,_f=0,es=1/0,yn=null,gl=!1,cd=null,cr=null,ha=!1,tr=null,yl=0,Ks=0,ud=null,Va=-1,Oa=0;function qe(){return te&6?we():Va!==-1?Va:Va=we()}function ur(e){return e.mode&1?te&2&&De!==0?De&-De:Jj.transition!==null?(Oa===0&&(Oa=vx()),Oa):(e=re,e!==0||(e=window.event,e=e===void 0?16:Tx(e.type)),e):1}function zt(e,t,n,r){if(50<Ks)throw Ks=0,ud=null,Error(I(185));Ro(e,n,r),(!(te&2)||e!==Me)&&(e===Me&&(!(te&2)&&(Ul|=n),Pe===4&&qn(e,De)),it(e,r),n===1&&te===0&&!(t.mode&1)&&(es=we()+500,_l&&Nr()))}function it(e,t){var n=e.callbackNode;J2(e,t);var r=el(e,e===Me?De:0);if(r===0)n!==null&&dm(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&dm(n),t===1)e.tag===0?Zj(rh.bind(null,e)):Gx(rh.bind(null,e)),qj(function(){!(te&6)&&Nr()}),n=null;else{switch(bx(r)){case 1:n=ff;break;case 4:n=yx;break;case 16:n=Ja;break;case 536870912:n=xx;break;default:n=Ja}n=W0(n,V0.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function V0(e,t){if(Va=-1,Oa=0,te&6)throw Error(I(327));var n=e.callbackNode;if(Oi()&&e.callbackNode!==n)return null;var r=el(e,e===Me?De:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=xl(e,r);else{t=r;var i=te;te|=2;var s=F0();(Me!==e||De!==t)&&(yn=null,es=we()+500,Ur(e,t));do try{vk();break}catch(l){O0(e,l)}while(!0);Sf(),hl.current=s,te=i,Ne!==null?t=0:(Me=null,De=0,t=Pe)}if(t!==0){if(t===2&&(i=Ou(e),i!==0&&(r=i,t=dd(e,i))),t===1)throw n=yo,Ur(e,0),qn(e,r),it(e,we()),n;if(t===6)qn(e,r);else{if(i=e.current.alternate,!(r&30)&&!yk(i)&&(t=xl(e,r),t===2&&(s=Ou(e),s!==0&&(r=s,t=dd(e,s))),t===1))throw n=yo,Ur(e,0),qn(e,r),it(e,we()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(I(345));case 2:Mr(e,et,yn);break;case 3:if(qn(e,r),(r&130023424)===r&&(t=_f+500-we(),10<t)){if(el(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){qe(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Gu(Mr.bind(null,e,et,yn),t);break}Mr(e,et,yn);break;case 4:if(qn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var o=31-_t(r);s=1<<o,o=t[o],o>i&&(i=o),r&=~s}if(r=i,r=we()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*gk(r/1960))-r,10<r){e.timeoutHandle=Gu(Mr.bind(null,e,et,yn),r);break}Mr(e,et,yn);break;case 5:Mr(e,et,yn);break;default:throw Error(I(329))}}}return it(e,we()),e.callbackNode===n?V0.bind(null,e):null}function dd(e,t){var n=Hs;return e.current.memoizedState.isDehydrated&&(Ur(e,t).flags|=256),e=xl(e,t),e!==2&&(t=et,et=n,t!==null&&fd(t)),e}function fd(e){et===null?et=e:et.push.apply(et,e)}function yk(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],s=i.getSnapshot;i=i.value;try{if(!Wt(s(),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 qn(e,t){for(t&=~Bf,t&=~Ul,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-_t(t),r=1<<n;e[n]=-1,t&=~r}}function rh(e){if(te&6)throw Error(I(327));Oi();var t=el(e,0);if(!(t&1))return it(e,we()),null;var n=xl(e,t);if(e.tag!==0&&n===2){var r=Ou(e);r!==0&&(t=r,n=dd(e,r))}if(n===1)throw n=yo,Ur(e,0),qn(e,t),it(e,we()),n;if(n===6)throw Error(I(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Mr(e,et,yn),it(e,we()),null}function zf(e,t){var n=te;te|=1;try{return e(t)}finally{te=n,te===0&&(es=we()+500,_l&&Nr())}}function Zr(e){tr!==null&&tr.tag===0&&!(te&6)&&Oi();var t=te;te|=1;var n=wt.transition,r=re;try{if(wt.transition=null,re=1,e)return e()}finally{re=r,wt.transition=n,te=t,!(te&6)&&Nr()}}function $f(){ot=Pi.current,de(Pi)}function Ur(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Kj(n)),Ne!==null)for(n=Ne.return;n!==null;){var r=n;switch(jf(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&sl();break;case 3:Zi(),de(nt),de($e),Mf();break;case 5:Af(r);break;case 4:Zi();break;case 13:de(he);break;case 19:de(he);break;case 10:Tf(r.type._context);break;case 22:case 23:$f()}n=n.return}if(Me=e,Ne=e=dr(e.current,null),De=ot=t,Pe=0,yo=null,Bf=Ul=Xr=0,et=Hs=null,Lr!==null){for(t=0;t<Lr.length;t++)if(n=Lr[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,s=n.pending;if(s!==null){var o=s.next;s.next=i,r.next=o}n.pending=r}Lr=null}return e}function O0(e,t){do{var n=Ne;try{if(Sf(),Ia.current=ml,pl){for(var r=ge.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}pl=!1}if(Yr=0,Ae=Te=ge=null,Us=!1,mo=0,Ff.current=null,n===null||n.return===null){Pe=1,yo=t,Ne=null;break}e:{var s=e,o=n.return,l=n,c=t;if(t=De,l.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,d=l,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 m=Um(o);if(m!==null){m.flags&=-257,Gm(m,o,l,s,t),m.mode&1&&Wm(s,u,t),t=m,c=u;var v=t.updateQueue;if(v===null){var y=new Set;y.add(c),t.updateQueue=y}else v.add(c);break e}else{if(!(t&1)){Wm(s,u,t),Wf();break e}c=Error(I(426))}}else if(pe&&l.mode&1){var b=Um(o);if(b!==null){!(b.flags&65536)&&(b.flags|=256),Gm(b,o,l,s,t),kf(Ji(c,l));break e}}s=c=Ji(c,l),Pe!==4&&(Pe=2),Hs===null?Hs=[s]:Hs.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var g=b0(s,c,t);Om(s,g);break e;case 1:l=c;var h=s.type,x=s.stateNode;if(!(s.flags&128)&&(typeof h.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(cr===null||!cr.has(x)))){s.flags|=65536,t&=-t,s.lanes|=t;var j=w0(s,l,t);Om(s,j);break e}}s=s.return}while(s!==null)}_0(n)}catch(k){t=k,Ne===n&&n!==null&&(Ne=n=n.return);continue}break}while(!0)}function F0(){var e=hl.current;return hl.current=ml,e===null?ml:e}function Wf(){(Pe===0||Pe===3||Pe===2)&&(Pe=4),Me===null||!(Xr&268435455)&&!(Ul&268435455)||qn(Me,De)}function xl(e,t){var n=te;te|=2;var r=F0();(Me!==e||De!==t)&&(yn=null,Ur(e,t));do try{xk();break}catch(i){O0(e,i)}while(!0);if(Sf(),te=n,hl.current=r,Ne!==null)throw Error(I(261));return Me=null,De=0,Pe}function xk(){for(;Ne!==null;)B0(Ne)}function vk(){for(;Ne!==null&&!U2();)B0(Ne)}function B0(e){var t=$0(e.alternate,e,ot);e.memoizedProps=e.pendingProps,t===null?_0(e):Ne=t,Ff.current=null}function _0(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=fk(n,t),n!==null){n.flags&=32767,Ne=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Pe=6,Ne=null;return}}else if(n=dk(n,t,ot),n!==null){Ne=n;return}if(t=t.sibling,t!==null){Ne=t;return}Ne=t=e}while(t!==null);Pe===0&&(Pe=5)}function Mr(e,t,n){var r=re,i=wt.transition;try{wt.transition=null,re=1,bk(e,t,n,r)}finally{wt.transition=i,re=r}return null}function bk(e,t,n,r){do Oi();while(tr!==null);if(te&6)throw Error(I(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(I(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(ej(e,s),e===Me&&(Ne=Me=null,De=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||ha||(ha=!0,W0(Ja,function(){return Oi(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=wt.transition,wt.transition=null;var o=re;re=1;var l=te;te|=4,Ff.current=null,mk(e,n),L0(n,e),_j(Wu),tl=!!$u,Wu=$u=null,e.current=n,hk(n),G2(),te=l,re=o,wt.transition=s}else e.current=n;if(ha&&(ha=!1,tr=e,yl=i),s=e.pendingLanes,s===0&&(cr=null),q2(n.stateNode),it(e,we()),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(gl)throw gl=!1,e=cd,cd=null,e;return yl&1&&e.tag!==0&&Oi(),s=e.pendingLanes,s&1?e===ud?Ks++:(Ks=0,ud=e):Ks=0,Nr(),null}function Oi(){if(tr!==null){var e=bx(yl),t=wt.transition,n=re;try{if(wt.transition=null,re=16>e?16:e,tr===null)var r=!1;else{if(e=tr,tr=null,yl=0,te&6)throw Error(I(331));var i=te;for(te|=4,B=e.current;B!==null;){var s=B,o=s.child;if(B.flags&16){var l=s.deletions;if(l!==null){for(var c=0;c<l.length;c++){var u=l[c];for(B=u;B!==null;){var d=B;switch(d.tag){case 0:case 11:case 15:Gs(8,d,s)}var f=d.child;if(f!==null)f.return=d,B=f;else for(;B!==null;){d=B;var p=d.sibling,m=d.return;if(M0(d),d===u){B=null;break}if(p!==null){p.return=m,B=p;break}B=m}}}var v=s.alternate;if(v!==null){var y=v.child;if(y!==null){v.child=null;do{var b=y.sibling;y.sibling=null,y=b}while(y!==null)}}B=s}}if(s.subtreeFlags&2064&&o!==null)o.return=s,B=o;else e:for(;B!==null;){if(s=B,s.flags&2048)switch(s.tag){case 0:case 11:case 15:Gs(9,s,s.return)}var g=s.sibling;if(g!==null){g.return=s.return,B=g;break e}B=s.return}}var h=e.current;for(B=h;B!==null;){o=B;var x=o.child;if(o.subtreeFlags&2064&&x!==null)x.return=o,B=x;else e:for(o=h;B!==null;){if(l=B,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:Wl(9,l)}}catch(k){ve(l,l.return,k)}if(l===o){B=null;break e}var j=l.sibling;if(j!==null){j.return=l.return,B=j;break e}B=l.return}}if(te=i,Nr(),sn&&typeof sn.onPostCommitFiberRoot=="function")try{sn.onPostCommitFiberRoot(Dl,e)}catch{}r=!0}return r}finally{re=n,wt.transition=t}}return!1}function ih(e,t,n){t=Ji(n,t),t=b0(e,t,1),e=lr(e,t,1),t=qe(),e!==null&&(Ro(e,1,t),it(e,t))}function ve(e,t,n){if(e.tag===3)ih(e,e,n);else for(;t!==null;){if(t.tag===3){ih(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(cr===null||!cr.has(r))){e=Ji(n,e),e=w0(t,e,1),t=lr(t,e,1),e=qe(),t!==null&&(Ro(t,1,e),it(t,e));break}}t=t.return}}function wk(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=qe(),e.pingedLanes|=e.suspendedLanes&n,Me===e&&(De&n)===n&&(Pe===4||Pe===3&&(De&130023424)===De&&500>we()-_f?Ur(e,0):Bf|=n),it(e,t)}function z0(e,t){t===0&&(e.mode&1?(t=sa,sa<<=1,!(sa&130023424)&&(sa=4194304)):t=1);var n=qe();e=Tn(e,t),e!==null&&(Ro(e,t,n),it(e,n))}function jk(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),z0(e,n)}function kk(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(I(314))}r!==null&&r.delete(t),z0(e,n)}var $0;$0=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||nt.current)tt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return tt=!1,uk(e,t,n);tt=!!(e.flags&131072)}else tt=!1,pe&&t.flags&1048576&&Hx(t,ll,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Da(e,t),e=t.pendingProps;var i=Qi(t,$e.current);Vi(t,n),i=If(null,t,r,e,i,n);var s=Lf();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,rt(r)?(s=!0,ol(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Pf(t),i.updater=$l,t.stateNode=i,i._reactInternals=t,Zu(t,r,e,n),t=td(null,t,r,!0,s,n)):(t.tag=0,pe&&s&&wf(t),Ue(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Da(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Sk(r),e=Lt(r,e),i){case 0:t=ed(null,t,r,e,n);break e;case 1:t=qm(null,t,r,e,n);break e;case 11:t=Hm(null,t,r,e,n);break e;case 14:t=Km(null,t,r,Lt(r.type,e),n);break e}throw Error(I(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lt(r,i),ed(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lt(r,i),qm(e,t,r,i,n);case 3:e:{if(S0(t),e===null)throw Error(I(387));r=t.pendingProps,s=t.memoizedState,i=s.element,Zx(e,t),dl(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=Ji(Error(I(423)),t),t=Qm(e,t,r,n,i);break e}else if(r!==i){i=Ji(Error(I(424)),t),t=Qm(e,t,r,n,i);break e}else for(lt=ar(t.stateNode.containerInfo.firstChild),ct=t,pe=!0,Bt=null,n=Yx(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Yi(),r===i){t=Cn(e,t,n);break e}Ue(e,t,r,n)}t=t.child}return t;case 5:return Jx(t),e===null&&Qu(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,Uu(r,i)?o=null:s!==null&&Uu(r,s)&&(t.flags|=32),N0(e,t),Ue(e,t,o,n),t.child;case 6:return e===null&&Qu(t),null;case 13:return T0(e,t,n);case 4:return Ef(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Xi(t,null,r,n):Ue(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lt(r,i),Hm(e,t,r,i,n);case 7:return Ue(e,t,t.pendingProps,n),t.child;case 8:return Ue(e,t,t.pendingProps.children,n),t.child;case 12:return Ue(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,ae(cl,r._currentValue),r._currentValue=o,s!==null)if(Wt(s.value,o)){if(s.children===i.children&&!nt.current){t=Cn(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var l=s.dependencies;if(l!==null){o=s.child;for(var c=l.firstContext;c!==null;){if(c.context===r){if(s.tag===1){c=kn(-1,n&-n),c.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),Yu(s.return,n,t),l.lanes|=n;break}c=c.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(I(341));o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Yu(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}Ue(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Vi(t,n),i=kt(i),r=r(i),t.flags|=1,Ue(e,t,r,n),t.child;case 14:return r=t.type,i=Lt(r,t.pendingProps),i=Lt(r.type,i),Km(e,t,r,i,n);case 15:return j0(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lt(r,i),Da(e,t),t.tag=1,rt(r)?(e=!0,ol(t)):e=!1,Vi(t,n),v0(t,r,i),Zu(t,r,i,n),td(null,t,r,!0,e,n);case 19:return C0(e,t,n);case 22:return k0(e,t,n)}throw Error(I(156,t.tag))};function W0(e,t){return gx(e,t)}function Nk(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 5,638 bytes, line 40
40ype=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 vt(e,t,n,r){return new Nk(e,t,n,r)}function Uf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Sk(e){if(typeof e=="function")return Uf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===cf)return 11;if(e===uf)return 14}return 2}function dr(e,t){var n=e.alternate;return n===null?(n=vt(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 Fa(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")Uf(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case xi:return Gr(n.children,i,s,t);case lf:o=8,i|=8;break;case ju:return e=vt(12,n,t,i|2),e.elementType=ju,e.lanes=s,e;case ku:return e=vt(13,n,t,i),e.elementType=ku,e.lanes=s,e;case Nu:return e=vt(19,n,t,i),e.elementType=Nu,e.lanes=s,e;case Jy:return Gl(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Xy:o=10;break e;case Zy:o=9;break e;case cf:o=11;break e;case uf:o=14;break e;case Gn:o=16,r=null;break e}throw Error(I(130,e==null?e:typeof e,""))}return t=vt(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function Gr(e,t,n,r){return e=vt(7,e,r,t),e.lanes=n,e}function Gl(e,t,n,r){return e=vt(22,e,r,t),e.elementType=Jy,e.lanes=n,e.stateNode={isHidden:!1},e}function Hc(e,t,n){return e=vt(6,e,null,t),e.lanes=n,e}function Kc(e,t,n){return t=vt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Tk(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=Cc(0),this.expirationTimes=Cc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Cc(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Gf(e,t,n,r,i,s,o,l,c){return e=new Tk(e,t,n,l,c),t===1?(t=1,s===!0&&(t|=8)):t=0,s=vt(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Pf(s),e}function Ck(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:yi,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function U0(e){if(!e)return mr;e=e._reactInternals;e:{if(ti(e)!==e||e.tag!==1)throw Error(I(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(rt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(I(171))}if(e.tag===1){var n=e.type;if(rt(n))return Ux(e,n,t)}return t}function G0(e,t,n,r,i,s,o,l,c){return e=Gf(n,r,!0,e,i,s,o,l,c),e.context=U0(null),n=e.current,r=qe(),i=ur(n),s=kn(r,i),s.callback=t??null,lr(n,s,i),e.current.lanes=i,Ro(e,i,r),it(e,r),e}function Hl(e,t,n,r){var i=t.current,s=qe(),o=ur(i);return n=U0(n),t.context===null?t.context=n:t.pendingContext=n,t=kn(s,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=lr(i,t,o),e!==null&&(zt(e,i,o,s),Ra(e,i,o)),o}function vl(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 sh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Hf(e,t){sh(e,t),(e=e.alternate)&&sh(e,t)}function Pk(){return null}var H0=typeof reportError=="function"?reportError:function(e){console.error(e)};function Kf(e){this._internalRoot=e}Kl.prototype.render=Kf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(I(409));Hl(e,t,null,null)};Kl.prototype.unmount=Kf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Zr(function(){Hl(null,e,null,null)}),t[Sn]=null}};function Kl(e){this._internalRoot=e}Kl.prototype.unstable_scheduleHydration=function(e){if(e){var t=kx();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Kn.length&&t!==0&&t<Kn[n].priority;n++);Kn.splice(n,0,e),n===0&&Sx(e)}};function qf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ql(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function oh(){}function Ek(e,t,n,r,i){if(i){if(typeof r=="function"){var s=r;r=function(){var u=vl(o);s.call(u)}}var o=G0(t,r,e,0,null,!1,!1,"",oh);return e._reactRootContainer=o,e[Sn]=o.current,lo(e.nodeType===8?e.parentNode:e),Zr(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var l=r;r=function(){var u=vl(c);l.call(u)}}var c=Gf(e,0,!1,null,null,!1,!1,"",oh);return e._reactRootContainer=c,e[Sn]=c.current,lo(e.nodeType===8?e.parentNode:e),Zr(function(){Hl(t,c,n,r)}),c}function Ql(e,t,n,r,i){var s=n._reactRootContainer;if(s){var o=s;if(typeof i=="function"){var l=i;
vendor: 4,435 bytes, line 40
40i=function(){var c=vl(o);l.call(c)}}Hl(t,o,e,i)}else o=Ek(n,t,e,i,r);return vl(o)}wx=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Vs(t.pendingLanes);n!==0&&(pf(t,n|1),it(t,we()),!(te&6)&&(es=we()+500,Nr()))}break;case 13:Zr(function(){var r=Tn(e,1);if(r!==null){var i=qe();zt(r,e,1,i)}}),Hf(e,1)}};mf=function(e){if(e.tag===13){var t=Tn(e,134217728);if(t!==null){var n=qe();zt(t,e,134217728,n)}Hf(e,134217728)}};jx=function(e){if(e.tag===13){var t=ur(e),n=Tn(e,t);if(n!==null){var r=qe();zt(n,e,t,r)}Hf(e,t)}};kx=function(){return re};Nx=function(e,t){var n=re;try{return re=e,t()}finally{re=n}};Lu=function(e,t,n){switch(t){case"input":if(Cu(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=Bl(r);if(!i)throw Error(I(90));tx(r),Cu(r,i)}}}break;case"textarea":rx(e,n);break;case"select":t=n.value,t!=null&&Ri(e,!!n.multiple,t,!1)}};ux=zf;dx=Zr;var Ak={usingClientEntryPoint:!1,Events:[Lo,ji,Bl,lx,cx,zf]},Cs={findFiberByHostInstance:Ir,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Mk={bundleType:Cs.bundleType,version:Cs.version,rendererPackageName:Cs.rendererPackageName,rendererConfig:Cs.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Mn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=mx(e),e===null?null:e.stateNode},findFiberByHostInstance:Cs.findFiberByHostInstance||Pk,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 ga=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ga.isDisabled&&ga.supportsFiber)try{Dl=ga.inject(Mk),sn=ga}catch{}}ft.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ak;ft.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!qf(t))throw Error(I(200));return Ck(e,t,null,n)};ft.createRoot=function(e,t){if(!qf(e))throw Error(I(299));var n=!1,r="",i=H0;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Gf(e,1,!1,null,null,n,!1,r,i),e[Sn]=t.current,lo(e.nodeType===8?e.parentNode:e),new Kf(t)};ft.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(I(188)):(e=Object.keys(e).join(","),Error(I(268,e)));return e=mx(t),e=e===null?null:e.stateNode,e};ft.flushSync=function(e){return Zr(e)};ft.hydrate=function(e,t,n){if(!ql(t))throw Error(I(200));return Ql(null,e,t,!0,n)};ft.hydrateRoot=function(e,t,n){if(!qf(e))throw Error(I(405));var r=n!=null&&n.hydratedSources||null,i=!1,s="",o=H0;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=G0(t,null,e,1,n??null,i,!1,s,o),e[Sn]=t.current,lo(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 Kl(t)};ft.render=function(e,t,n){if(!ql(t))throw Error(I(200));return Ql(null,e,t,!1,n)};ft.unmountComponentAtNode=function(e){if(!ql(e))throw Error(I(40));return e._reactRootContainer?(Zr(function(){Ql(null,null,e,!1,function(){e._reactRootContainer=null,e[Sn]=null})}),!0):!1};ft.unstable_batchedUpdates=zf;ft.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ql(n))throw Error(I(200));if(e==null||e._reactInternals===void 0)throw Error(I(38));return Ql(e,t,n,!1,r)};ft.version="18.3.1-next-f1338f8080-20240426";function K0(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(K0)}catch(e){console.error(e)}}K0(),Ky.exports=ft;var Vo=Ky.exports;const q0=Ly(Vo);var Q0,ah=Vo;Q0=ah.createRoot,ah.hydrateRoot;const Rk=1,Ik=1e6;let qc=0;function Lk(){return qc=(qc+1)%Number.MAX_SAFE_INTEGER,qc.toString()}
40const Qc=new Map,lh=e=>{if(Qc.has(e))return;const t=setTimeout(()=>{Qc.delete(e),qs({type:"REMOVE_TOAST",toastId:e})},Ik);Qc.set(e,t)},Dk=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Rk)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?lh(n):e.toasts.forEach(r=>{lh(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Ba=[];let _a={toasts:[]};function qs(e){_a=Dk(_a,e),Ba.forEach(t=>{t(_a)})}function Vk({...e}){const t=Lk(),n=i=>qs({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>qs({type:"DISMISS_TOAST",toastId:t});return qs({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function Ok(){const[e,t]=w.useState(_a);return w.useEffect(()=>(Ba.push(t),()=>{const n=Ba.indexOf(t);n>-1&&Ba.splice(n,1)}),[e]),{...e,toast:Vk,dismiss:n=>qs({type:"DISMISS_TOAST",toastId:n})}}function Ce(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 ch(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Y0(...e){return t=>{let n=!1;const r=e.map(i=>{const s=ch(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():ch(e[i],null)}}}}function Ut(...e){return w.useCallback(Y0(...e),e)}function Yl(e,t=[]){let n=[];function r(s,o){const l=w.createContext(o),c=n.length;n=[...n,o];const u=f=>{var g;const{scope:p,children:m,...v}=f,y=((g=p==null?void 0:p[e])==null?void 0:g[c])||l,b=w.useMemo(()=>v,Object.values(v));return a.jsx(y.Provider,{value:b,children:m})};u.displayName=s+"Provider";function d(f,p){var y;const m=((y=p==null?void 0:p[e])==null?void 0:y[c])||l,v=w.useContext(m);if(v)return v;if(o!==void 0)return o;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[u,d]}const i=()=>{const s=n.map(o=>w.createContext(o));return function(l){const c=(l==null?void 0:l[e])||s;return w.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return i.scopeName=e,[r,Fk(i,...t)]}function Fk(...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(s){const o=r.reduce((l,{useScope:c,scopeName:u})=>{const f=c(s)[`__scope${u}`];return{...l,...f}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function pd(e){const t=Bk(e),n=w.forwardRef((r,i)=>{const{children:s,...o}=r,l=w.Children.toArray(s),c=l.find(zk);if(c){const u=c.props.children,d=l.map(f=>f===c?w.Children.count(u)>1?w.Children.only(null):w.isValidElement(u)?u.props.children:null:f);return a.jsx(t,{...o,ref:i,children:w.isValidElement(u)?w.cloneElement(u,void 0,d):null})}return a.jsx(t,{...o,ref:i,children:s})});return n.displayName=`${e}.Slot`,n}function Bk(e){const t=w.forwardRef((n,r)=>{const{children:i,...s}=n;if(w.isValidElement(i)){const o=Wk(i),l=$k(s,i.props);return i.type!==w.Fragment&&(l.ref=r?Y0(r,o):o),w.cloneElement(i,l)}return w.Children.count(i)>1?w.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var X0=Symbol("radix.slottable");function _k(e){const t=({children:n})=>a.jsx(a.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=X0,t}function zk(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===X0}function $k(e,t){const n={...t};for(const r in t){const i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?n[r]=(...l)=>{const c=s(...l);return i(...l),c}:i&&(n[r]=i):r==="style"?n[r]={...i,...s}:r==="className"&&(n[r]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}function Wk(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 Uk(e){const t=e+"CollectionProvider",[n,r]=Yl(t),[i,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=y=>{const{scope:b,children:g}=y,h=V.useRef(null),x=V.useRef(new Map).current;return a.jsx(i,{scope:b,itemMap:x,collectionRef:h,children:g})};o.displayName=t;const l=e+"CollectionSlot",c=pd(l),u=V.forwardRef((y,b)=>{const{scope:g,children:h}=y,x=s(l,g),j=Ut(b,x.collectionRef);return a.jsx(c,{ref:j,children:h})});u.displayName=l;const d=e+"CollectionItemSlot",f="data-radix-collection-item",p=pd(d),m=V.forwardRef((y,b)=>{const{scope:g,children:h,...x}=y,j=V.useRef(null),k=Ut(b,j),S=s(d,g);return V.useEffect(()=>(S.itemMap.set(j,{ref:j,...x}
vendor: 9,049 bytes, line 40
40),()=>void S.itemMap.delete(j))),a.jsx(p,{[f]:"",ref:k,children:h})});m.displayName=d;function v(y){const b=s(e+"CollectionConsumer",y);return V.useCallback(()=>{const h=b.collectionRef.current;if(!h)return[];const x=Array.from(h.querySelectorAll(`[${f}]`));return Array.from(b.itemMap.values()).sort((S,T)=>x.indexOf(S.ref.current)-x.indexOf(T.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:o,Slot:u,ItemSlot:m},v,r]}var Gk=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],st=Gk.reduce((e,t)=>{const n=pd(`Primitive.${t}`),r=w.forwardRef((i,s)=>{const{asChild:o,...l}=i,c=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(c,{...l,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Z0(e,t){e&&Vo.flushSync(()=>e.dispatchEvent(t))}function hr(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 Hk(e,t=globalThis==null?void 0:globalThis.document){const n=hr(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 Kk="DismissableLayer",md="dismissableLayer.update",qk="dismissableLayer.pointerDownOutside",Qk="dismissableLayer.focusOutside",uh,J0=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Qf=w.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:o,onDismiss:l,...c}=e,u=w.useContext(J0),[d,f]=w.useState(null),p=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=w.useState({}),v=Ut(t,T=>f(T)),y=Array.from(u.layers),[b]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=y.indexOf(b),h=d?y.indexOf(d):-1,x=u.layersWithOutsidePointerEventsDisabled.size>0,j=h>=g,k=Xk(T=>{const C=T.target,A=[...u.branches].some(E=>E.contains(C));!j||A||(i==null||i(T),o==null||o(T),T.defaultPrevented||l==null||l())},p),S=Zk(T=>{const C=T.target;[...u.branches].some(E=>E.contains(C))||(s==null||s(T),o==null||o(T),T.defaultPrevented||l==null||l())},p);return Hk(T=>{h===u.layers.size-1&&(r==null||r(T),!T.defaultPrevented&&l&&(T.preventDefault(),l()))},p),w.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(uh=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),dh(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=uh)}},[d,p,n,u]),w.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),dh())},[d,u]),w.useEffect(()=>{const T=()=>m({});return document.addEventListener(md,T),()=>document.removeEventListener(md,T)},[]),a.jsx(st.div,{...c,ref:v,style:{pointerEvents:x?j?"auto":"none":void 0,...e.style},onFocusCapture:Ce(e.onFocusCapture,S.onFocusCapture),onBlurCapture:Ce(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:Ce(e.onPointerDownCapture,k.onPointerDownCapture)})});Qf.displayName=Kk;var Yk="DismissableLayerBranch",ev=w.forwardRef((e,t)=>{const n=w.useContext(J0),r=w.useRef(null),i=Ut(t,r);return w.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),a.jsx(st.div,{...e,ref:i})});ev.displayName=Yk;function Xk(e,t=globalThis==null?void 0:globalThis.document){const n=hr(e),r=w.useRef(!1),i=w.useRef(()=>{});return w.useEffect(()=>{const s=l=>{if(l.target&&!r.current){let c=function(){tv(qk,n,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=c,t.addEventListener("click",i.current,{once:!0})):c()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",s),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Zk(e,t=globalThis==null?void 0:globalThis.document){const n=hr(e),r=w.useRef(!1);return w.useEffect(()=>{const i=s=>{s.target&&!r.current&&tv(Qk,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function dh(){const e=new CustomEvent(md);document.dispatchEvent(e)}function tv(e,t,n,{discrete:r}){const i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Z0(i,s):i.dispatchEvent(s)}var Jk=Qf,eN=ev,gr=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},tN="Portal",nv=w.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[i,s]=w.useState(!1);gr(()=>s(!0),[]);const o=n||i&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return o?q0.createPortal(a.jsx(st.div,{...r,ref:t}),o):null});nv.displayName=tN;function nN(e,t){return w.useReducer((n,r)=>t[n][r]??n,e)}var Yf=e=>{const{present:t,children:n}=e,r=rN(t),i=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),s=Ut(r.ref,iN(i));return typeof n=="function"||r.isPresent?w.cloneElement(i,{ref:s}):null};Yf.displayName="Presence";function rN(e){const[t,n]=w.useState(),r=w.useRef(null),i=w.useRef(e),s=w.useRef("none"),o=e?"mounted":"unmounted",[l,c]=nN(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const u=ya(r.current);s.current=l==="mounted"?u:"none"},[l]),gr(()=>{const u=r.current,d=i.current;if(d!==e){const p=s.current,m=ya(u);e?c("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(d&&p!==m?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,c]),gr(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,f=m=>{const y=ya(r.current).includes(m.animationName);if(m.target===t&&y&&(c("ANIMATION_END"),!i.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},p=m=>{m.target===t&&(s.current=ya(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:w.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function ya(e){return(e==null?void 0:e.animationName)||"none"}function iN(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 sN=Gy[" useInsertionEffect ".trim().toString()]||gr;function oN({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,s,o]=aN({defaultProp:t,onChange:n}),l=e!==void 0,c=l?e:i;{const d=w.useRef(e!==void 0);w.useEffect(()=>{const f=d.current;f!==l&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${l?"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=l},[l,r])}const u=w.useCallback(d=>{var f;if(l){const p=lN(d)?d(e):d;p!==e&&((f=o.current)==null||f.call(o,p))}else s(d)},[l,e,s,o]);return[c,u]}function aN({defaultProp:e,onChange:t}){const[n,r]=w.useState(e),i=w.useRef(n),s=w.useRef(t);return sN(()=>{s.current=t},[t]),w.useEffect(()=>{var o;i.current!==n&&((o=s.current)==null||o.call(s,n),i.current=n)},[n,i]),[n,r,s]}function lN(e){return typeof e=="function"}var cN=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"}),uN="VisuallyHidden",Xl=w.forwardRef((e,t)=>a.jsx(st.span,{...e,ref:t,style:{...cN,...e.style}}));Xl.displayName=uN;var dN=Xl,Xf="ToastProvider",[Zf,fN,pN]=Uk("Toast"),[rv,kI]=Yl("Toast",[pN]),[mN,Zl]=rv(Xf),iv=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:s=50,children:o}=e,[l,c]=w.useState(null),[u,d]=w.useState(0),f=w.useRef(!1),p=w.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Xf}\`. Expected non-empty \`string\`.`),a.jsx(Zf.Provider,{scope:t,children:a.jsx(mN,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:s,toastCount:u,viewport:l,onViewportChange:c,onToastAdd:w.useCallback(()=>d(m=>m+1),[]),onToastRemove:w.useCallback(()=>d(m=>m-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:p,children:o})})};
40iv.displayName=Xf;var sv="ToastViewport",hN=["F8"],hd="toast.viewportPause",gd="toast.viewportResume",ov=w.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=hN,label:i="Notifications ({hotkey})",...s}=e,o=Zl(sv,n),l=fN(n),c=w.useRef(null),u=w.useRef(null),d=w.useRef(null),f=w.useRef(null),p=Ut(t,f,o.onViewportChange),m=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),v=o.toastCount>0;w.useEffect(()=>{const b=g=>{var x;r.length!==0&&r.every(j=>g[j]||g.code===j)&&((x=f.current)==null||x.focus())};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[r]),w.useEffect(()=>{const b=c.current,g=f.current;if(v&&b&&g){const h=()=>{if(!o.isClosePausedRef.current){const S=new CustomEvent(hd);g.dispatchEvent(S),o.isClosePausedRef.current=!0}},x=()=>{if(o.isClosePausedRef.current){const S=new CustomEvent(gd);g.dispatchEvent(S),o.isClosePausedRef.current=!1}},j=S=>{!b.contains(S.relatedTarget)&&x()},k=()=>{b.contains(document.activeElement)||x()};return b.addEventListener("focusin",h),b.addEventListener("focusout",j),b.addEventListener("pointermove",h),b.addEventListener("pointerleave",k),window.addEventListener("blur",h),window.addEventListener("focus",x),()=>{b.removeEventListener("focusin",h),b.removeEventListener("focusout",j),b.removeEventListener("pointermove",h),b.removeEventListener("pointerleave",k),window.removeEventListener("blur",h),window.removeEventListener("focus",x)}}},[v,o.isClosePausedRef]);const y=w.useCallback(({tabbingDirection:b})=>{const h=l().map(x=>{const j=x.ref.current,k=[j,...PN(j)];return b==="forwards"?k:k.reverse()});return(b==="forwards"?h.reverse():h).flat()},[l]);return w.useEffect(()=>{const b=f.current;if(b){const g=h=>{var k,S,T;const x=h.altKey||h.ctrlKey||h.metaKey;if(h.key==="Tab"&&!x){const C=document.activeElement,A=h.shiftKey;if(h.target===b&&A){(k=u.current)==null||k.focus();return}const L=y({tabbingDirection:A?"backwards":"forwards"}),W=L.findIndex(D=>D===C);Yc(L.slice(W+1))?h.preventDefault():A?(S=u.current)==null||S.focus():(T=d.current)==null||T.focus()}};return b.addEventListener("keydown",g),()=>b.removeEventListener("keydown",g)}},[l,y]),a.jsxs(eN,{ref:c,role:"region","aria-label":i.replace("{hotkey}",m),tabIndex:-1,style:{pointerEvents:v?void 0:"none"},children:[v&&a.jsx(yd,{ref:u,onFocusFromOutsideViewport:()=>{const b=y({tabbingDirection:"forwards"});Yc(b)}}),a.jsx(Zf.Slot,{scope:n,children:a.jsx(st.ol,{tabIndex:-1,...s,ref:p})}),v&&a.jsx(yd,{ref:d,onFocusFromOutsideViewport:()=>{const b=y({tabbingDirection:"backwards"});Yc(b)}})]})});ov.displayName=sv;var av="ToastFocusProxy",yd=w.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,s=Zl(av,n);return a.jsx(Xl,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:o=>{var u;const l=o.relatedTarget;!((u=s.viewport)!=null&&u.contains(l))&&r()}})});yd.displayName=av;var Oo="Toast",gN="toast.swipeStart",yN="toast.swipeMove",xN="toast.swipeCancel",vN="toast.swipeEnd",lv=w.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:s,...o}=e,[l,c]=oN({prop:r,defaultProp:i??!0,onChange:s,caller:Oo});return a.jsx(Yf,{present:n||l,children:a.jsx(jN,{open:l,...o,ref:t,onClose:()=>c(!1),onPause:hr(e.onPause),onResume:hr(e.onResume),onSwipeStart:Ce(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Ce(e.onSwipeMove,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:Ce(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Ce(e.onSwipeEnd,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),c(!1)})})})});lv.displayName=Oo;var[bN,wN]=rv(Oo,{onClose(){}}),jN=w.forwardRef((e,t)=>
40{const{__scopeToast:n,type:r="foreground",duration:i,open:s,onClose:o,onEscapeKeyDown:l,onPause:c,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:p,onSwipeEnd:m,...v}=e,y=Zl(Oo,n),[b,g]=w.useState(null),h=Ut(t,D=>g(D)),x=w.useRef(null),j=w.useRef(null),k=i||y.duration,S=w.useRef(0),T=w.useRef(k),C=w.useRef(0),{onToastAdd:A,onToastRemove:E}=y,O=hr(()=>{var K;(b==null?void 0:b.contains(document.activeElement))&&((K=y.viewport)==null||K.focus()),o()}),L=w.useCallback(D=>{!D||D===1/0||(window.clearTimeout(C.current),S.current=new Date().getTime(),C.current=window.setTimeout(O,D))},[O]);w.useEffect(()=>{const D=y.viewport;if(D){const K=()=>{L(T.current),u==null||u()},z=()=>{const U=new Date().getTime()-S.current;T.current=T.current-U,window.clearTimeout(C.current),c==null||c()};return D.addEventListener(hd,z),D.addEventListener(gd,K),()=>{D.removeEventListener(hd,z),D.removeEventListener(gd,K)}}},[y.viewport,k,c,u,L]),w.useEffect(()=>{s&&!y.isClosePausedRef.current&&L(k)},[s,k,y.isClosePausedRef,L]),w.useEffect(()=>(A(),()=>E()),[A,E]);const W=w.useMemo(()=>b?hv(b):null,[b]);return y.viewport?a.jsxs(a.Fragment,{children:[W&&a.jsx(kN,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:W}),a.jsx(bN,{scope:n,onClose:O,children:Vo.createPortal(a.jsx(Zf.ItemSlot,{scope:n,children:a.jsx(Jk,{asChild:!0,onEscapeKeyDown:Ce(l,()=>{y.isFocusedToastEscapeKeyDownRef.current||O(),y.isFocusedToastEscapeKeyDownRef.current=!1}),children:a.jsx(st.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":y.swipeDirection,...v,ref:h,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Ce(e.onKeyDown,D=>{D.key==="Escape"&&(l==null||l(D.nativeEvent),D.nativeEvent.defaultPrevented||(y.isFocusedToastEscapeKeyDownRef.current=!0,O()))}),onPointerDown:Ce(e.onPointerDown,D=>{D.button===0&&(x.current={x:D.clientX,y:D.clientY})}),onPointerMove:Ce(e.onPointerMove,D=>{if(!x.current)return;const K=D.clientX-x.current.x,z=D.clientY-x.current.y,U=!!j.current,P=["left","right"].includes(y.swipeDirection),M=["left","up"].includes(y.swipeDirection)?Math.min:Math.max,F=P?M(0,K):0,G=P?0:M(0,z),$=D.pointerType==="touch"?10:2,X={x:F,y:G},Z={originalEvent:D,delta:X};U?(j.current=X,xa(yN,f,Z,{discrete:!1})):fh(X,y.swipeDirection,$)?(j.current=X,xa(gN,d,Z,{discrete:!1}),D.target.setPointerCapture(D.pointerId)):(Math.abs(K)>$||Math.abs(z)>$)&&(x.current=null)}),onPointerUp:Ce(e.onPointerUp,D=>{const K=j.current,z=D.target;if(z.hasPointerCapture(D.pointerId)&&z.releasePointerCapture(D.pointerId),j.current=null,x.current=null,K){const U=D.currentTarget,P={originalEvent:D,delta:K};fh(K,y.swipeDirection,y.swipeThreshold)?xa(vN,m,P,{discrete:!0}):xa(xN,p,P,{discrete:!0}),U.addEventListener("click",M=>M.preventDefault(),{once:!0})}})})})}),y.viewport)})]}):null}),kN=e=>{const{__scopeToast:t,children:n,...r}=e,i=Zl(Oo,t),[s,o]=w.useState(!1),[l,c]=w.useState(!1);return TN(()=>o(!0)),w.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),l?null:a.jsx(nv,{asChild:!0,children:a.jsx(Xl,{...r,children:s&&a.jsxs(a.Fragment,{children:[i.label," ",n]})})})},NN="ToastTitle",cv=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return a.jsx(st.div,{...r,ref:t})});cv.displayName=NN;var SN="ToastDescription",uv=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return a.jsx(st.div,{...r,ref:t})});uv.displayName=SN;var dv="ToastAction",fv=w.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?a.jsx(mv,{altText:n,asChild:!0,children:a.jsx(Jf,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${dv}\`. Expected non-empty \`string\`.`),null)});fv.displayName=dv;var pv="ToastClose",Jf=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=wN(pv,n);return a.jsx(mv,{asChild:!0,children:a.jsx(st.button,{type:"button",...r,ref:t,onClick:Ce(e.onClick,i.onClose)})})});Jf.displayName=pv;var mv=w.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return a.jsx(st.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function hv(e){const t=[];
vendor: 4,277 bytes, lines 40-65
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),CN(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!i)if(s){const o=r.dataset.radixToastAnnounceAlt;o&&t.push(o)}else t.push(...hv(r))}}),t}function xa(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Z0(i,s):i.dispatchEvent(s)}var fh=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),s=r>i;return t==="left"||t==="right"?s&&r>n:!s&&i>n};function TN(e=()=>{}){const t=hr(e);gr(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function CN(e){return e.nodeType===e.ELEMENT_NODE}function PN(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 Yc(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var EN=iv,gv=ov,yv=lv,xv=cv,vv=uv,bv=fv,wv=Jf;function jv(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=jv(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function kv(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=jv(e))&&(r&&(r+=" "),r+=t);return r}const ph=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,mh=kv,AN=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return mh(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:s}=t,o=Object.keys(i).map(u=>{const d=n==null?void 0:n[u],f=s==null?void 0:s[u];if(d===null)return null;const p=ph(d)||ph(f);return i[u][p]}),l=n&&Object.entries(n).reduce((u,d)=>{let[f,p]=d;return p===void 0||(u[f]=p),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:f,className:p,...m}=d;return Object.entries(m).every(v=>{let[y,b]=v;return Array.isArray(b)?b.includes({...s,...l}[y]):{...s,...l}[y]===b})?[...u,f,p]:u},[]);return mh(e,o,c,n==null?void 0:n.class,n==null?void 0:n.className)};/** 41 * @license lucide-react v0.462.0 - ISC 42 * 43 * This source code is licensed under the ISC license. 44 * See the LICENSE file in the root directory of this source tree. 45 */const MN=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Nv=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** 46 * @license lucide-react v0.462.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */var RN={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"};/** 51 * @license lucide-react v0.462.0 - ISC 52 * 53 * This source code is licensed under the ISC license. 54 * See the LICENSE file in the root directory of this source tree. 55 */const IN=w.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:s,iconNode:o,...l},c)=>w.createElement("svg",{ref:c,...RN,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Nv("lucide",i),...l},[...o.map(([u,d])=>w.createElement(u,d)),...Array.isArray(s)?s:[s]]));/** 56 * @license lucide-react v0.462.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */const H=(e,t)=>{const n=w.forwardRef(({className:r,...i},s)=>w.createElement(IN,{ref:s,iconNode:t,className:Nv(`lucide-${MN(e)}`,r),...i}));return n.displayName=`${e}`,n};/** 61 * @license lucide-react v0.462.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */const Sv=H("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l
65-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);/** 66 * @license lucide-react v0.462.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const LN=H("ArrowRightLeft",[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]]);/** 71 * @license lucide-react v0.462.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const DN=H("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 76 * @license lucide-react v0.462.0 - ISC 77 * 78 * This source code is licensed under the ISC license. 79 * See the LICENSE file in the root directory of this source tree. 80 */const VN=H("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/** 81 * @license lucide-react v0.462.0 - ISC 82 * 83 * This source code is licensed under the ISC license. 84 * See the LICENSE file in the root directory of this source tree. 85 */const ON=H("BadgeCheck",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 86 * @license lucide-react v0.462.0 - ISC 87 * 88 * This source code is licensed under the ISC license. 89 * See the LICENSE file in the root directory of this source tree. 90 */const Fo=H("Banknote",[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M6 12h.01M18 12h.01",key:"113zkx"}]]);/** 91 * @license lucide-react v0.462.0 - ISC 92 * 93 * This source code is licensed under the ISC license. 94 * See the LICENSE file in the root directory of this source tree. 95 */const fn=H("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/** 96 * @license lucide-react v0.462.0 - ISC 97 * 98 * This source code is licensed under the ISC license. 99 * See the LICENSE file in the root directory of this source tree. 100 */const Rn=H("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/** 101 * @license lucide-react v0.462.0 - ISC 102 * 103 * This source code is licensed under the ISC license. 104 * See the LICENSE file in the root directory of this source tree. 105 */const Tv=H("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]]);/** 106 * @license lucide-react v0.462.0 - ISC 107 * 108 * This source code is licensed under the ISC license. 109 * See the LICENSE file in the root directory of this source tree. 110 */const FN=H("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/** 111 * @license lucide-react v0.462.0 - ISC 112 * 113 * This source code is licensed under the ISC license. 114 * See the LICENSE file in the root directory of this source tree. 115 */const BN=H("ChartPie",[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]]);/** 116 * @license lucide-react v0.462.0 - ISC 117 * 118 * This source code is licensed under the ISC license. 119 * See the LICENSE file in the root directory of this source tree. 120 */const _N=H("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 121 * @license lucide-react v0.462.0 - ISC 122 * 123 * This source code is licensed under the ISC license. 124 * See the LICENSE file in the root directory of this source tree. 125 */const hh=H("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** 126 * @license lucide-react v0.462.0 - ISC 127 * 128 * This source code is licensed under the ISC license. 129 * See the LICENSE file in the root directory of this source tree. 130 */const zN=H("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 131 * @license lucide-react v0.462.0 - ISC 132 * 133 * This source code is licensed under the ISC license. 134 * See the LICENSE file in the root directory of this source tree. 135 */const ni=H("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"}]]);/** 136 * @license lucide-react v0.462.0 - ISC 137 * 138 * This source code is licensed under the ISC license. 139 * See the LICENSE file in the root directory of this source tree. 140 */const $N=H("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}
140],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/** 141 * @license lucide-react v0.462.0 - ISC 142 * 143 * This source code is licensed under the ISC license. 144 * See the LICENSE file in the root directory of this source tree. 145 */const Cv=H("Droplets",[["path",{d:"M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z",key:"1ptgy4"}],["path",{d:"M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97",key:"1sl1rz"}]]);/** 146 * @license lucide-react v0.462.0 - ISC 147 * 148 * This source code is licensed under the ISC license. 149 * See the LICENSE file in the root directory of this source tree. 150 */const Kt=H("Earth",[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/** 151 * @license lucide-react v0.462.0 - ISC 152 * 153 * This source code is licensed under the ISC license. 154 * See the LICENSE file in the root directory of this source tree. 155 */const Bo=H("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** 156 * @license lucide-react v0.462.0 - ISC 157 * 158 * This source code is licensed under the ISC license. 159 * See the LICENSE file in the root directory of this source tree. 160 */const WN=H("Factory",[["path",{d:"M2 20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8l-7 5V8l-7 5V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"159hny"}],["path",{d:"M17 18h1",key:"uldtlt"}],["path",{d:"M12 18h1",key:"s9uhes"}],["path",{d:"M7 18h1",key:"1neino"}]]);/** 161 * @license lucide-react v0.462.0 - ISC 162 * 163 * This source code is licensed under the ISC license. 164 * See the LICENSE file in the root directory of this source tree. 165 */const _o=H("FileCheck2",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m3 15 2 2 4-4",key:"1lhrkk"}]]);/** 166 * @license lucide-react v0.462.0 - ISC 167 * 168 * This source code is licensed under the ISC license. 169 * See the LICENSE file in the root directory of this source tree. 170 */const Pv=H("FileCheck",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]]);/** 171 * @license lucide-react v0.462.0 - ISC 172 * 173 * This source code is licensed under the ISC license. 174 * See the LICENSE file in the root directory of this source tree. 175 */const UN=H("Flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]]);/** 176 * @license lucide-react v0.462.0 - ISC 177 * 178 * This source code is licensed under the ISC license. 179 * See the LICENSE file in the root directory of this source tree. 180 */const ri=H("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/** 181 * @license lucide-react v0.462.0 - ISC 182 * 183 * This source code is licensed under the ISC license. 184 * See the LICENSE file in the root directory of this source tree. 185 */const ep=H("HardHat",[["path",{d:"M10 10V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5",key:"1p9q5i"}],["path",{d:"M14 6a6 6 0 0 1 6 6v3",key:"1hnv84"}],["path",{d:"M4 15v-3a6 6 0 0 1 6-6",key:"9ciidu"}],["rect",{x:"2",y:"15",width:"20",height:"4",rx:"1",key:"g3x8cw"}]]);/** 186 * @license lucide-react v0.462.0 - ISC 187 * 188 * This source code is licensed under the ISC license. 189 * See the LICENSE file in the root directory of this source tree. 190 */const qt=H("Landmark",[["line",{x1:"3",x2:"21",y1:"22",y2:"22",key:"j8o0r"}],["line",{x1:"6",x2:"6",y1:"18",y2:"11",key:"10tf0k"}],["line",{x1:"10",x2:"10",y1:"18",y2:"11",key:"54lgf6"}],["line",{x1:"14",x2:"14",y1:"18",y2:"11",key:"380y"}],["line",{x1:"18",x2:"18",y1:"18",y2:"11",key:"1kevvc"}],["polygon",{points:"12 2 20 7 4 7",key:"jkujk7"}]]);/** 191 * @license lucide-react v0.462.0 - ISC 192 * 193 * This source code is licensed under the ISC license. 194 * See the LICENSE file in the root directory of this source tree. 195 */const pn=H("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"}]]);/** 196 * @license lucide-react v0.462.0 - ISC 197 * 198 * This source code is licensed under the ISC license. 199 * See the LICENSE file in the root directory of this source tree.
200 */const tp=H("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);/** 201 * @license lucide-react v0.462.0 - ISC 202 * 203 * This source code is licensed under the ISC license. 204 * See the LICENSE file in the root directory of this source tree. 205 */const np=H("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/** 206 * @license lucide-react v0.462.0 - ISC 207 * 208 * This source code is licensed under the ISC license. 209 * See the LICENSE file in the root directory of this source tree. 210 */const Ev=H("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** 211 * @license lucide-react v0.462.0 - ISC 212 * 213 * This source code is licensed under the ISC license. 214 * See the LICENSE file in the root directory of this source tree. 215 */const GN=H("Maximize",[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]]);/** 216 * @license lucide-react v0.462.0 - ISC 217 * 218 * This source code is licensed under the ISC license. 219 * See the LICENSE file in the root directory of this source tree. 220 */const HN=H("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"}]]);/** 221 * @license lucide-react v0.462.0 - ISC 222 * 223 * This source code is licensed under the ISC license. 224 * See the LICENSE file in the root directory of this source tree. 225 */const cs=H("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]);/** 226 * @license lucide-react v0.462.0 - ISC 227 * 228 * This source code is licensed under the ISC license. 229 * See the LICENSE file in the root directory of this source tree. 230 */const KN=H("PackageCheck",[["path",{d:"m16 16 2 2 4-4",key:"gfu2re"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]]);/** 231 * @license lucide-react v0.462.0 - ISC 232 * 233 * This source code is licensed under the ISC license. 234 * See the LICENSE file in the root directory of this source tree. 235 */const qN=H("Pickaxe",[["path",{d:"M14.531 12.469 6.619 20.38a1 1 0 1 1-3-3l7.912-7.912",key:"we99rg"}],["path",{d:"M15.686 4.314A12.5 12.5 0 0 0 5.461 2.958 1 1 0 0 0 5.58 4.71a22 22 0 0 1 6.318 3.393",key:"1w6hck"}],["path",{d:"M17.7 3.7a1 1 0 0 0-1.4 0l-4.6 4.6a1 1 0 0 0 0 1.4l2.6 2.6a1 1 0 0 0 1.4 0l4.6-4.6a1 1 0 0 0 0-1.4z",key:"15hgfx"}],["path",{d:"M19.686 8.314a12.501 12.501 0 0 1 1.356 10.225 1 1 0 0 1-1.751-.119 22 22 0 0 0-3.393-6.319",key:"452b4h"}]]);/** 236 * @license lucide-react v0.462.0 - ISC 237 * 238 * This source code is licensed under the ISC license. 239 * See the LICENSE file in the root directory of this source tree. 240 */const QN=H("PiggyBank",[["path",{d:"M19 5c-1.5 0-2.8 1.4-3 2-3.5-1.5-11-.3-11 5 0 1.8 0 3 2 4.5V20h4v-2h3v2h4v-4c1-.5 1.7-1 2-2h2v-4h-2c0-1-.5-1.5-1-2V5z",key:"1ivx2i"}],["path",{d:"M2 9v1c0 1.1.9 2 2 2h1",key:"nm575m"}],["path",{d:"M16 11h.01",key:"xkw8gn"}]]);/** 241 * @license lucide-react v0.462.0 - ISC 242 * 243 * This source code is licensed under the ISC license. 244 * See the LICENSE file in the root directory of this source tree. 245 */const YN=H("Receipt",[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 17.5v-11",key:"1jc1ny"}]]);/** 246 * @license lucide-react v0.462.0 - ISC 247 * 248 * This source code is licensed under the ISC license. 249 * See the LICENSE file in the root directory of this source tree. 250 */const Jl=H("Scale",[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}
250],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]]);/** 251 * @license lucide-react v0.462.0 - ISC 252 * 253 * This source code is licensed under the ISC license. 254 * See the LICENSE file in the root directory of this source tree. 255 */const XN=H("ScrollText",[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]]);/** 256 * @license lucide-react v0.462.0 - ISC 257 * 258 * This source code is licensed under the ISC license. 259 * See the LICENSE file in the root directory of this source tree. 260 */const St=H("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 261 * @license lucide-react v0.462.0 - ISC 262 * 263 * This source code is licensed under the ISC license. 264 * See the LICENSE file in the root directory of this source tree. 265 */const zo=H("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/** 266 * @license lucide-react v0.462.0 - ISC 267 * 268 * This source code is licensed under the ISC license. 269 * See the LICENSE file in the root directory of this source tree.
270 */const ZN=H("Ship",[["path",{d:"M12 10.189V14",key:"1p8cqu"}],["path",{d:"M12 2v3",key:"qbqxhf"}],["path",{d:"M19 13V7a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v6",key:"qpkstq"}],["path",{d:"M19.38 20A11.6 11.6 0 0 0 21 14l-8.188-3.639a2 2 0 0 0-1.624 0L3 14a11.6 11.6 0 0 0 2.81 7.76",key:"7tigtc"}],["path",{d:"M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1s1.2 1 2.5 1c2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"1924j5"}]]);/** 271 * @license lucide-react v0.462.0 - ISC 272 * 273 * This source code is licensed under the ISC license. 274 * See the LICENSE file in the root directory of this source tree. 275 */const JN=H("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/** 276 * @license lucide-react v0.462.0 - ISC 277 * 278 * This source code is licensed under the ISC license. 279 * See the LICENSE file in the root directory of this source tree. 280 */const Tt=H("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/** 281 * @license lucide-react v0.462.0 - ISC 282 * 283 * This source code is licensed under the ISC license. 284 * See the LICENSE file in the root directory of this source tree. 285 */const eS=H("Truck",[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]);/** 286 * @license lucide-react v0.462.0 - ISC 287 * 288 * This source code is licensed under the ISC license. 289 * See the LICENSE file in the root directory of this source tree. 290 */const Av=H("Umbrella",[["path",{d:"M22 12a10.06 10.06 1 0 0-20 0Z",key:"1teyop"}],["path",{d:"M12 12v8a2 2 0 0 0 4 0",key:"ulpmoc"}],["path",{d:"M12 2v1",key:"11qlp1"}]]);/** 291 * @license lucide-react v0.462.0 - ISC 292 * 293 * This source code is licensed under the ISC license. 294 * See the LICENSE file in the root directory of this source tree. 295 */const $o=H("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/** 296 * @license lucide-react v0.462.0 - ISC 297 * 298 * This source code is licensed under the ISC license. 299 * See the LICENSE file in the root directory of this source tree. 300 */const Mv=H("Vault",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}],["path",{d:"m7.9 7.9 2.7 2.7",key:"hpeyl3"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}],["path",{d:"m13.4 10.6 2.7-2.7",key:"264c1n"}],["circle",{cx:"7.5",cy:"16.5",r:".5",fill:"currentColor",key:"nkw3mc"}],["path",{d:"m7.9 16.1 2.7-2.7",key:"p81g5e"}],["circle",{cx:"16.5",cy:"16.5",r:".5",fill:"currentColor",key:"fubopw"}],["path",{d:"m13.4 13.4 2.7 2.7",key:"abhel3"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/** 301 * @license lucide-react v0.462.0 - ISC 302 * 303 * This source code is licensed under the ISC license. 304 * See the LICENSE file in the root directory of this source tree. 305 */const tS=H("Wallet",[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]]);/** 306 * @license lucide-react v0.462.0 - ISC 307 * 308 * This source code is licensed under the ISC license. 309 * See the LICENSE file in the root directory of this source tree. 310 */const Rv=H("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);/** 311 * @license lucide-react v0.462.0 - ISC 312 * 313 * This source code is licensed under the ISC license. 314 * See the LICENSE file in the root directory of this source tree. 315 */const Iv=H("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 4,998 bytes, lines 315-320
315],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** 316 * @license lucide-react v0.462.0 - ISC 317 * 318 * This source code is licensed under the ISC license. 319 * See the LICENSE file in the root directory of this source tree. 320 */const nS=H("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),rp="-",rS=e=>{const t=sS(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const l=o.split(rp);return l[0]===""&&l.length!==1&&l.shift(),Lv(l,t)||iS(o)},getConflictingClassGroupIds:(o,l)=>{const c=n[o]||[];return l&&r[o]?[...c,...r[o]]:c}}},Lv=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?Lv(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const s=e.join(rp);return(o=t.validators.find(({validator:l})=>l(s)))==null?void 0:o.classGroupId},gh=/^\[(.+)\]$/,iS=e=>{if(gh.test(e)){const t=gh.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},sS=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return aS(Object.entries(e.classGroups),n).forEach(([s,o])=>{xd(o,r,s,t)}),r},xd=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const s=i===""?t:yh(t,i);s.classGroupId=n;return}if(typeof i=="function"){if(oS(i)){xd(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([s,o])=>{xd(o,yh(t,s),n,r)})})},yh=(e,t)=>{let n=e;return t.split(rp).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},oS=e=>e.isThemeGetter,aS=(e,t)=>t?e.map(([n,r])=>{const i=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([o,l])=>[t+o,l])):s);return[n,i]}):e,lS=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(s,o)=>{n.set(s,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let o=n.get(s);if(o!==void 0)return o;if((o=r.get(s))!==void 0)return i(s,o),o},set(s,o){n.has(s)?n.set(s,o):i(s,o)}}},Dv="!",cS=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],s=t.length,o=l=>{const c=[];let u=0,d=0,f;for(let b=0;b<l.length;b++){let g=l[b];if(u===0){if(g===i&&(r||l.slice(b,b+s)===t)){c.push(l.slice(d,b)),d=b+s;continue}if(g==="/"){f=b;continue}}g==="["?u++:g==="]"&&u--}const p=c.length===0?l:l.substring(d),m=p.startsWith(Dv),v=m?p.substring(1):p,y=f&&f>d?f-d:void 0;return{modifiers:c,hasImportantModifier:m,baseClassName:v,maybePostfixModifierPosition:y}};return n?l=>n({className:l,parseClassName:o}):o},uS=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},dS=e=>({cache:lS(e.cacheSize),parseClassName:cS(e),...rS(e)}),fS=/\s+/,pS=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,s=[],o=e.trim().split(fS);let l="";for(let c=o.length-1;c>=0;c-=1){const u=o[c],{modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:m}=n(u);let v=!!m,y=r(v?p.substring(0,m):p);if(!y){if(!v){l=u+(l.length>0?" "+l:l);continue}if(y=r(p),!y){l=u+(l.length>0?" "+l:l);continue}v=!1}const b=uS(d).join(":"),g=f?b+Dv:b,h=g+y;if(s.includes(h))continue;s.push(h);const x=i(y,v);for(let j=0;j<x.length;++j){const k=x[j];s.push(g+k)}l=u+(l.length>0?" "+l:l)}return l};function mS(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Vv(t))&&(r&&(r+=" "),r+=n);return r}const Vv=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Vv(e[r]))&&(n&&(n+=" "),n+=t);return n};function hS(e,...t){let n,r,i,s=o;function o(c){const u=t.reduce((d,f)=>f(d),e());return n=dS(u),r=n.cache.get,i=n.cache.set,s=l,l(c)}function l(c){const u=r(c);if(u)return u;const d=pS(c,n);return i(c,d),d}return function(){return s(mS.apply(null,arguments))}}const ce=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Ov=/^\[(?:([a-z-]+):)?(.+)\]$/i,gS=/^\d+\/\d+$/,yS=new Set(["px","full","screen"]),xS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,vS=/\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$/,bS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,wS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,jS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,hn=e=>Fi(e)||yS.has(e)||gS.test(e),Bn=e=>us(e,"length",AS),Fi=e=>!!e&&!Number.isNaN(Number(e)),Xc=e=>us(e,"number",Fi),Ps=e=>!!e&&Number.isInteger(Number(e)),kS=e=>e.endsWith("%")&&Fi(e.slice(0,-1)),Y=e=>Ov.test(e),_n=e=>xS.test(e),NS=new Set(["length","size","percentage"]),SS=e=>us(e,NS,Fv),TS=e=>us(e,"position",Fv),CS=new Set(["image","url"]),PS=e=>us(e,CS,RS),ES=e=>us(e,"",MS),Es=()=>!0,us=(e,t,n)=>{const r=Ov.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},AS=e=>vS.test(e)&&!bS.test(e),Fv=()=>
vendor: 7,601 bytes, line 320
320!1,MS=e=>wS.test(e),RS=e=>jS.test(e),IS=()=>{const e=ce("colors"),t=ce("spacing"),n=ce("blur"),r=ce("brightness"),i=ce("borderColor"),s=ce("borderRadius"),o=ce("borderSpacing"),l=ce("borderWidth"),c=ce("contrast"),u=ce("grayscale"),d=ce("hueRotate"),f=ce("invert"),p=ce("gap"),m=ce("gradientColorStops"),v=ce("gradientColorStopPositions"),y=ce("inset"),b=ce("margin"),g=ce("opacity"),h=ce("padding"),x=ce("saturate"),j=ce("scale"),k=ce("sepia"),S=ce("skew"),T=ce("space"),C=ce("translate"),A=()=>["auto","contain","none"],E=()=>["auto","hidden","clip","visible","scroll"],O=()=>["auto",Y,t],L=()=>[Y,t],W=()=>["",hn,Bn],D=()=>["auto",Fi,Y],K=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],z=()=>["solid","dashed","dotted","double","none"],U=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],P=()=>["start","end","center","between","around","evenly","stretch"],M=()=>["","0",Y],F=()=>["auto","avoid","all","avoid-page","page","left","right","column"],G=()=>[Fi,Y];return{cacheSize:500,separator:":",theme:{colors:[Es],spacing:[hn,Bn],blur:["none","",_n,Y],brightness:G(),borderColor:[e],borderRadius:["none","","full",_n,Y],borderSpacing:L(),borderWidth:W(),contrast:G(),grayscale:M(),hueRotate:G(),invert:M(),gap:L(),gradientColorStops:[e],gradientColorStopPositions:[kS,Bn],inset:O(),margin:O(),opacity:G(),padding:L(),saturate:G(),scale:G(),sepia:M(),skew:G(),space:L(),translate:L()},classGroups:{aspect:[{aspect:["auto","square","video",Y]}],container:["container"],columns:[{columns:[_n]}],"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","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...K(),Y]}],overflow:[{overflow:E()}],"overflow-x":[{"overflow-x":E()}],"overflow-y":[{"overflow-y":E()}],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",Ps,Y]}],basis:[{basis:O()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Y]}],grow:[{grow:M()}],shrink:[{shrink:M()}],order:[{order:["first","last","none",Ps,Y]}],"grid-cols":[{"grid-cols":[Es]}],"col-start-end":[{col:["auto",{span:["full",Ps,Y]},Y]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[Es]}],"row-start-end":[{row:["auto",{span:[Ps,Y]},Y]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Y]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Y]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...P()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...P(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...P(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Y,t]}],"min-w":[{"min-w":[Y,t,"min","max","fit"]}],"max-w":[{"max-w":[Y,t,"none","full","min","max","fit","prose",{screen:[_n]},_n]}],h:[{h:[Y,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Y,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Y,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Y,t,"auto","min","max","fit"]}],"font-size":[{text:["base",_n,Bn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Xc]}],"font-family":[{font:[Es]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Y]}],"line-clamp":[{"line-clamp":["none",Fi,Xc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",hn,Y]}],"list-image":[{"list-image":["none",Y]}],"list-style-type":[{list:["none","disc","decimal",Y]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",hn,Bn]}],"underline-offset":[{"underline-offset":["auto",hn,Y]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Y]}],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",Y]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...K(),TS]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",SS]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},PS]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}
vendor: 5,172 bytes, line 320
320],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...z(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:z()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[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:["",...z()]}],"outline-offset":[{"outline-offset":[hn,Y]}],"outline-w":[{outline:[hn,Bn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[hn,Bn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",_n,ES]}],"shadow-color":[{shadow:[Es]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...U(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":U()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",_n,Y]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[x]}],sepia:[{sepia:[k]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[k]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Y]}],duration:[{duration:G()}],ease:[{ease:["linear","in","out","in-out",Y]}],delay:[{delay:G()}],animate:[{animate:["none","spin","ping","pulse","bounce",Y]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[Ps,Y]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Y]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],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",Y]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-me":[{"scroll-me":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-mr":[{"scroll-mr":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"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,646 bytes, line 320
320],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Y]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[hn,Bn,Xc]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-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-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},LS=hS(IS);function an(...e){return LS(kv(e))}const DS=EN,Bv=w.forwardRef(({className:e,...t},n)=>a.jsx(gv,{ref:n,className:an("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}));Bv.displayName=gv.displayName;const VS=AN("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),_v=w.forwardRef(({className:e,variant:t,...n},r)=>a.jsx(yv,{ref:r,className:an(VS({variant:t}),e),...n}));_v.displayName=yv.displayName;const OS=w.forwardRef(({className:e,...t},n)=>a.jsx(bv,{ref:n,className:an("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 group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));OS.displayName=bv.displayName;const zv=w.forwardRef(({className:e,...t},n)=>a.jsx(wv,{ref:n,className:an("absolute right-2 top-2 rounded-md p-1 text-foreground
320/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:a.jsx(Iv,{className:"h-4 w-4"})}));zv.displayName=wv.displayName;const $v=w.forwardRef(({className:e,...t},n)=>a.jsx(xv,{ref:n,className:an("text-sm font-semibold",e),...t}));$v.displayName=xv.displayName;const Wv=w.forwardRef(({className:e,...t},n)=>a.jsx(vv,{ref:n,className:an("text-sm opacity-90",e),...t}));Wv.displayName=vv.displayName;function FS(){const{toasts:e}=Ok();return a.jsxs(DS,{children:[e.map(function({id:t,title:n,description:r,action:i,...s}){return a.jsxs(_v,{...s,children:[a.jsxs("div",{className:"grid gap-1",children:[n&&a.jsx($v,{children:n}),r&&a.jsx(Wv,{children:r})]}),i,a.jsx(zv,{})]},t)}),a.jsx(Bv,{})]})}var xh=["light","dark"],BS="(prefers-color-scheme: dark)",_S=w.createContext(void 0),zS={setTheme:e=>{},themes:[]},$S=()=>{var e;return(e=w.useContext(_S))!=null?e:zS};w.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:s,value:o,attrs:l,nonce:c})=>{let u=s==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${l.map(v=>`'${v}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=i?xh.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",p=(v,y=!1,b=!0)=>{let g=o?o[v]:v,h=y?v+"|| ''":`'${g}'`,x="";return i&&b&&!y&&xh.includes(v)&&(x+=`d.style.colorScheme = '${v}';`),n==="class"?y||g?x+=`c.add(${h})`:x+="null":g&&(x+=`d[s](n,${h})`),x},m=e?`!function(){${d}${p(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${BS}',m=window.matchMedia(t);if(m.media!==t||m.matches){${p("dark")}}else{${p("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${p(o?"x[e]":"e",!0)}}${u?"":"else{"+p(s,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${p(o?"x[e]":"e",!0)}}else{${p(s,!1,!1)};}${f}}catch(t){}}();`;return w.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:m}})});var WS=e=>{switch(e){case"success":return HS;case"info":return qS;case"warning":return KS;case"error":return QS;default:return null}},US=Array(12).fill(0),GS=({visible:e,className:t})=>V.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},V.createElement("div",{className:"sonner-spinner"},US.map((n,r)=>V.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),HS=V.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},V.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),KS=V.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},V.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),qS=V.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},V.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),QS=V.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},V.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),YS=V.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},V.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),V.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),XS=()=>{let[e,t]=V.useState(document.hidden);return V.useEffect(()=>{let n=()=>{t(document.hidden)};
320return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},vd=1,ZS=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,i=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:vd++,s=this.toasts.find(l=>l.id===i),o=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),s?this.toasts=this.toasts.map(l=>l.id===i?(this.publish({...l,...e,id:i,title:n}),{...l,...e,id:i,dismissible:o,title:n}):l):this.addToast({title:n,...r,dismissible:o,id:i}),i},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
320this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),i=n!==void 0,s,o=r.then(async c=>{if(s=["resolve",c],V.isValidElement(c))i=!1,this.create({id:n,type:"default",message:c});else if(eT(c)&&!c.ok){i=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${c.status}`):t.error,d=typeof t.description=="function"?await t.description(`HTTP error! status: ${c.status}`):t.description;this.create({id:n,type:"error",message:u,description:d})}else if(t.success!==void 0){i=!1;let u=typeof t.success=="function"?await t.success(c):t.success,d=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"success",message:u,description:d})}}).catch(async c=>{if(s=["reject",c],t.error!==void 0){i=!1;let u=typeof t.error=="function"?await t.error(c):t.error,d=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"error",message:u,description:d})}}).finally(()=>{var c;i&&(this.dismiss(n),n=void 0),(c=t.finally)==null||c.call(t)}),l=()=>new Promise((c,u)=>o.then(()=>s[0]==="reject"?u(s[1]):c(s[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:l}:Object.assign(n,{unwrap:l})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||vd++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Je=new ZS,JS=(e,t)=>{let n=(t==null?void 0:t.id)||vd++;return Je.addToast({title:e,...t,id:n}),n},eT=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",tT=JS,nT=()=>Je.toasts,rT=()=>Je.getActiveToasts();Object.assign(tT,{success:Je.success,info:Je.info,warning:Je.warning,error:Je.error,custom:Je.custom,message:Je.message,promise:Je.promise,dismiss:Je.dismiss,loading:Je.loading},{getHistory:nT,getToasts:rT});function iT(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}iT(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
320left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
320:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
320--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} 321`);function va(e){return e.label!==void 0}var sT=3,oT="32px",aT="16px",vh=4e3,lT=356,cT=14,uT=20,dT=200;function Mt(...e){return e.filter(Boolean).join(" ")}function fT(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var pT=e=>{var t,n,r,i,s,o,l,c,u,d,f;let{invert:p,toast:m,unstyled:v,interacting:y,setHeights:b,visibleToasts:g,heights:h,index:x,toasts:j,expanded:k,removeToast:S,defaultRichColors:T,closeButton:C,style:A,cancelButtonStyle:E,actionButtonStyle:O,className:L="",descriptionClassName:W="",duration:D,position:K,gap:z,loadingIcon:U,expandByDefault:P,classNames:M,icons:F,closeButtonAriaLabel:G="Close toast",pauseWhenPageIsHidden:$}=e,[X,Z]=V.useState(null),[oe,be]=V.useState(null),[ee,mt]=V.useState(!1),[Ze,Tr]=V.useState(!1),[In,ai]=V.useState(!1),[Ln,Yo]=V.useState(!1),[yc,Xo]=V.useState(!1),[xc,xs]=V.useState(0),[li,Hp]=V.useState(0),vs=V.useRef(m.duration||D||vh),Kp=V.useRef(null),Cr=V.useRef(null),Xw=x===0,Zw=x+1<=g,ht=m.type,ci=m.dismissible!==!1,Jw=m.className||"",e2=m.descriptionClassName||"",Zo=V.useMemo(()=>h.findIndex(q=>q.toastId===m.id)||0,[h,m.id]),t2=V.useMemo(()=>{var q;return(q=m.closeButton)!=null?q:C},[m.closeButton,C]),qp=V.useMemo(()=>m.duration||D||vh,[m.duration,D]),vc=V.useRef(0),ui=V.useRef(0),Qp=V.useRef(0),di=V.useRef(null),[n2,r2]=K.split("-"),Yp=V.useMemo(()=>h.reduce((q,ie,fe)=>fe>=Zo?q:q+ie.height,0),[h,Zo]),Xp=XS(),i2=m.invert||p,bc=ht==="loading";ui.current=V.useMemo(()=>Zo*z+Yp,[Zo,Yp]),V.useEffect(()=>{vs.current=qp},[qp]),V.useEffect(()=>{mt(!0)},[]),V.useEffect(()=>{let q=Cr.current;if(q){let ie=q.getBoundingClientRect().height;return Hp(ie),b(fe=>[{toastId:m.id,height:ie,position:m.position},...fe]),()=>b(fe=>fe.filter(Ct=>Ct.toastId!==m.id))}},[b,m.id]),V.useLayoutEffect(()=>{if(!ee)return;let q=Cr.current,ie=q.style.height;q.style.height="auto";let fe=q.getBoundingClientRect().height;q.style.height=ie,Hp(fe),b(Ct=>Ct.find(Pt=>Pt.toastId===m.id)?Ct.map(Pt=>Pt.toastId===m.id?{...Pt,height:fe}:Pt):[{toastId:m.id,height:fe,position:m.position},...Ct])},[ee,m.title,m.description,b,m.id]);let Dn=V.useCallback(()=>{Tr(!0),xs(ui.current),b(q=>q.filter(ie=>ie.toastId!==m.id)),setTimeout(()=>{S(m)},dT)},[m,S,b,ui]);V.useEffect(()=>{if(m.promise&&ht==="loading"||m.duration===1/0||m.type==="loading")return;let q;return k||y||$&&Xp?(()=>{if(Qp.current<vc.current){let ie=new Date().getTime()-vc.current;vs.current=vs.current-ie}
321Qp.current=new Date().getTime()})():vs.current!==1/0&&(vc.current=new Date().getTime(),q=setTimeout(()=>{var ie;(ie=m.onAutoClose)==null||ie.call(m,m),Dn()},vs.current)),()=>clearTimeout(q)},[k,y,m,ht,$,Xp,Dn]),V.useEffect(()=>{m.delete&&Dn()},[Dn,m.delete]);function s2(){var q,ie,fe;return F!=null&&F.loading?V.createElement("div",{className:Mt(M==null?void 0:M.loader,(q=m==null?void 0:m.classNames)==null?void 0:q.loader,"sonner-loader"),"data-visible":ht==="loading"},F.loading):U?V.createElement("div",{className:Mt(M==null?void 0:M.loader,(ie=m==null?void 0:m.classNames)==null?void 0:ie.loader,"sonner-loader"),"data-visible":ht==="loading"},U):V.createElement(GS,{className:Mt(M==null?void 0:M.loader,(fe=m==null?void 0:m.classNames)==null?void 0:fe.loader),visible:ht==="loading"})}return V.createElement("li",{tabIndex:0,ref:Cr,className:Mt(L,Jw,M==null?void 0:M.toast,(t=m==null?void 0:m.classNames)==null?void 0:t.toast,M==null?void 0:M.default,M==null?void 0:M[ht],(n=m==null?void 0:m.classNames)==null?void 0:n[ht]),"data-sonner-toast":"","data-rich-colors":(r=m.richColors)!=null?r:T,"data-styled":!(m.jsx||m.unstyled||v),"data-mounted":ee,"data-promise":!!m.promise,"data-swiped":yc,"data-removed":Ze,"data-visible":Zw,"data-y-position":n2,"data-x-position":r2,"data-index":x,"data-front":Xw,"data-swiping":In,"data-dismissible":ci,"data-type":ht,"data-invert":i2,"data-swipe-out":Ln,"data-swipe-direction":oe,"data-expanded":!!(k||P&&ee),style:{"--index":x,"--toasts-before":x,"--z-index":j.length-x,"--offset":`${Ze?xc:ui.current}px`,"--initial-height":P?"auto":`${li}px`,...A,...m.style},onDragEnd:()=>{ai(!1),Z(null),di.current=null},onPointerDown:q=>{bc||!ci||(Kp.current=new Date,xs(ui.current),q.target.setPointerCapture(q.pointerId),q.target.tagName!=="BUTTON"&&(ai(!0),di.current={x:q.clientX,y:q.clientY}))},onPointerUp:()=>{var q,ie,fe,Ct;if(Ln||!ci)return;di.current=null;let Pt=Number(((q=Cr.current)==null?void 0:q.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Vn=Number(((ie=Cr.current)==null?void 0:ie.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Pr=new Date().getTime()-((fe=Kp.current)==null?void 0:fe.getTime()),Et=X==="x"?Pt:Vn,On=Math.abs(Et)/Pr;if(Math.abs(Et)>=uT||On>.11){xs(ui.current),(Ct=m.onDismiss)==null||Ct.call(m,m),be(X==="x"?Pt>0?"right":"left":Vn>0?"down":"up"),Dn(),Yo(!0),Xo(!1);return}ai(!1),Z(null)},onPointerMove:q=>{var ie,fe,Ct,Pt;if(!di.current||!ci||((ie=window.getSelection())==null?void 0:ie.toString().length)>0)return;let Vn=q.clientY-di.current.y,Pr=q.clientX-di.current.x,Et=(fe=e.swipeDirections)!=null?fe:fT(K);!X&&(Math.abs(Pr)>1||Math.abs(Vn)>1)&&Z(Math.abs(Pr)>Math.abs(Vn)?"x":"y");let On={x:0,y:0};X==="y"?(Et.includes("top")||Et.includes("bottom"))&&(Et.includes("top")&&Vn<0||Et.includes("bottom")&&Vn>0)&&(On.y=Vn):X==="x"&&(Et.includes("left")||Et.includes("right"))&&(Et.includes("left")&&Pr<0||Et.includes("right")&&Pr>0)&&(On.x=Pr),(Math.abs(On.x)>0||Math.abs(On.y)>0)&&Xo(!0),(Ct=Cr.current)==null||Ct.style.setProperty("--swipe-amount-x",`${On.x}px`),(Pt=Cr.current)==null||Pt.style.setProperty("--swipe-amount-y",`${On.y}px`)}},t2&&!m.jsx?V.createElement("button",{"aria-label":G,"data-disabled":bc,"data-close-button":!0,onClick:bc||!ci?()=>{}:()=>{var q;Dn(),(q=m.onDismiss)==null||q.call(m,m)},className:Mt(M==null?void 0:M.closeButton,(i=m==null?void 0:m.classNames)==null?void 0:i.closeButton)},(s=F==null?void 0:F.close)!=null?s:YS):null,m.jsx||w.isValidElement(m.title)?m.jsx?m.jsx:typeof m.title=="function"?m.title():m.title:V.createElement(V.Fragment,null,ht||m.icon||m.promise?V.createElement("div",{"data-icon":"",className:Mt(M==null?void 0:M.icon,(o=m==null?void 0:m.classNames)==null?void 0:o.icon)},m.promise||m.type==="loading"&&!m.icon?m.icon||s2():null,m.type!=="loading"?m.
vendor: 6,592 bytes, line 321
321icon||(F==null?void 0:F[ht])||WS(ht):null):null,V.createElement("div",{"data-content":"",className:Mt(M==null?void 0:M.content,(l=m==null?void 0:m.classNames)==null?void 0:l.content)},V.createElement("div",{"data-title":"",className:Mt(M==null?void 0:M.title,(c=m==null?void 0:m.classNames)==null?void 0:c.title)},typeof m.title=="function"?m.title():m.title),m.description?V.createElement("div",{"data-description":"",className:Mt(W,e2,M==null?void 0:M.description,(u=m==null?void 0:m.classNames)==null?void 0:u.description)},typeof m.description=="function"?m.description():m.description):null),w.isValidElement(m.cancel)?m.cancel:m.cancel&&va(m.cancel)?V.createElement("button",{"data-button":!0,"data-cancel":!0,style:m.cancelButtonStyle||E,onClick:q=>{var ie,fe;va(m.cancel)&&ci&&((fe=(ie=m.cancel).onClick)==null||fe.call(ie,q),Dn())},className:Mt(M==null?void 0:M.cancelButton,(d=m==null?void 0:m.classNames)==null?void 0:d.cancelButton)},m.cancel.label):null,w.isValidElement(m.action)?m.action:m.action&&va(m.action)?V.createElement("button",{"data-button":!0,"data-action":!0,style:m.actionButtonStyle||O,onClick:q=>{var ie,fe;va(m.action)&&((fe=(ie=m.action).onClick)==null||fe.call(ie,q),!q.defaultPrevented&&Dn())},className:Mt(M==null?void 0:M.actionButton,(f=m==null?void 0:m.classNames)==null?void 0:f.actionButton)},m.action.label):null))};function bh(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function mT(e,t){let n={};return[e,t].forEach((r,i)=>{let s=i===1,o=s?"--mobile-offset":"--offset",l=s?aT:oT;function c(u){["top","right","bottom","left"].forEach(d=>{n[`${o}-${d}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?c(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${o}-${u}`]=l:n[`${o}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):c(l)}),n}var hT=w.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:i=["altKey","KeyT"],expand:s,closeButton:o,className:l,offset:c,mobileOffset:u,theme:d="light",richColors:f,duration:p,style:m,visibleToasts:v=sT,toastOptions:y,dir:b=bh(),gap:g=cT,loadingIcon:h,icons:x,containerAriaLabel:j="Notifications",pauseWhenPageIsHidden:k}=e,[S,T]=V.useState([]),C=V.useMemo(()=>Array.from(new Set([r].concat(S.filter($=>$.position).map($=>$.position)))),[S,r]),[A,E]=V.useState([]),[O,L]=V.useState(!1),[W,D]=V.useState(!1),[K,z]=V.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),U=V.useRef(null),P=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),M=V.useRef(null),F=V.useRef(!1),G=V.useCallback($=>{T(X=>{var Z;return(Z=X.find(oe=>oe.id===$.id))!=null&&Z.delete||Je.dismiss($.id),X.filter(({id:oe})=>oe!==$.id)})},[]);return V.useEffect(()=>Je.subscribe($=>{if($.dismiss){T(X=>X.map(Z=>Z.id===$.id?{...Z,delete:!0}:Z));return}setTimeout(()=>{q0.flushSync(()=>{T(X=>{let Z=X.findIndex(oe=>oe.id===$.id);return Z!==-1?[...X.slice(0,Z),{...X[Z],...$},...X.slice(Z+1)]:[$,...X]})})})}),[]),V.useEffect(()=>{if(d!=="system"){z(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?z("dark"):z("light")),typeof window>"u")return;let $=window.matchMedia("(prefers-color-scheme: dark)");try{$.addEventListener("change",({matches:X})=>{z(X?"dark":"light")})}catch{$.addListener(({matches:Z})=>{try{z(Z?"dark":"light")}catch(oe){console.error(oe)}})}},[d]),V.useEffect(()=>{S.length<=1&&L(!1)},[S]),V.useEffect(()=>{let $=X=>{var Z,oe;i.every(be=>X[be]||X.code===be)&&(L(!0),(Z=U.current)==null||Z.focus()),X.code==="Escape"&&(document.activeElement===U.current||(oe=U.current)!=null&&oe.contains(document.activeElement))&&L(!1)};return document.addEventListener("keydown",$),()=>document.removeEventListener("keydown",$)},[i]),V.useEffect(()=>{if(U.current)return()=>{M.current&&(M.current.focus({preventScroll:!0}),M.current=null,F.current=!1)}},[U.current]),V.createElement("section",{ref:t,"aria-label":`${j} ${P}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},C.map(($,X)=>{var Z;let[oe,be]=$.split("-");return S.length?V.createElement("ol",{key:$,dir:b==="auto"?bh():b,tabIndex:-1,ref:U,className:l,"data-sonner-toaster":!0,"data-theme":K,"data-y-position":oe,"data-lifted":O&&S.length>1&&!s,"data-x-position":be,style:{"--front-toast-height":`${((Z=A[0])==null?void 0:Z.height)||0}px`,"--width":`${lT}px`,"--gap":`${g}px`,...m,...mT(c,u)},onBlur:ee=>{F.current&&!ee.currentTarget.contains(ee.relatedTarget)&&(F.current=!1,M.current&&(M.current.focus({preventScroll:!0}),M.current=null))},onFocus:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||F.current||(F.current=!0,M.current=ee.relatedTarget)},onMouseEnter:()=>L(!0),onMouseMove:()=>L(!0),onMouseLeave:()=>{W||L(!1)},onDragEnd:()=>L(!1),onPointerDown:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||D(!0)},onPointerUp:()=>D(!1)},S.filter(ee=>!ee.position&&X===0||ee.position===$).map((ee,mt)=>{var Ze,Tr;return V.createElement(pT,{key:ee.id,icons:x,index:mt,toast:ee,defaultRichColors:f,duration:(Ze=y==null?void 0:y.duration)!=null?Ze:p,className:y==null?void 0:y.className,descriptionClassName:y==null?void 0:y.descriptionClassName,invert:n,visibleToasts:v,closeButton:(Tr=y==null?void 0:y.closeButton)!=null?Tr:o,interacting:W,position:$,style:y==null?void 0:y.style,unstyled:y==null?void 0:y.unstyled,classNames:y==null?void 0:y.classNames,cancelButtonStyle:y==null?void 0:y.cancelButtonStyle,actionButtonStyle:y==null?void 0:y.actionButtonStyle,removeToast:G,toasts:S.filter(In=>In.position==ee.position),heights:A.filter(In=>In.position==ee.position),setHeights:E,expandByDefault:s,gap:g,loadingIcon:h,expanded:O,pauseWhenPageIsHidden:k,swipeDirections:e.swipeDirections})})):null}))});const gT=({...e})=>{const{theme:t="system"}=$S();return a.jsx(hT,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},yT=["top","right","bottom","left"],yr=Math.min,at=Math.max,bl=Math.round,ba=Math.floor,ln=e=>({x:e,y:e}
vendor: 10,346 bytes, line 321
321),xT={left:"right",right:"left",bottom:"top",top:"bottom"},vT={start:"end",end:"start"};function bd(e,t,n){return at(e,yr(t,n))}function Pn(e,t){return typeof e=="function"?e(t):e}function En(e){return e.split("-")[0]}function ds(e){return e.split("-")[1]}function ip(e){return e==="x"?"y":"x"}function sp(e){return e==="y"?"height":"width"}const bT=new Set(["top","bottom"]);function rn(e){return bT.has(En(e))?"y":"x"}function op(e){return ip(rn(e))}function wT(e,t,n){n===void 0&&(n=!1);const r=ds(e),i=op(e),s=sp(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=wl(o)),[o,wl(o)]}function jT(e){const t=wl(e);return[wd(e),t,wd(t)]}function wd(e){return e.replace(/start|end/g,t=>vT[t])}const wh=["left","right"],jh=["right","left"],kT=["top","bottom"],NT=["bottom","top"];function ST(e,t,n){switch(e){case"top":case"bottom":return n?t?jh:wh:t?wh:jh;case"left":case"right":return t?kT:NT;default:return[]}}function TT(e,t,n,r){const i=ds(e);let s=ST(En(e),n==="start",r);return i&&(s=s.map(o=>o+"-"+i),t&&(s=s.concat(s.map(wd)))),s}function wl(e){return e.replace(/left|right|bottom|top/g,t=>xT[t])}function CT(e){return{top:0,right:0,bottom:0,left:0,...e}}function Uv(e){return typeof e!="number"?CT(e):{top:e,right:e,bottom:e,left:e}}function jl(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function kh(e,t,n){let{reference:r,floating:i}=e;const s=rn(t),o=op(t),l=sp(o),c=En(t),u=s==="y",d=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,p=r[l]/2-i[l]/2;let m;switch(c){case"top":m={x:d,y:r.y-i.height};break;case"bottom":m={x:d,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:f};break;case"left":m={x:r.x-i.width,y:f};break;default:m={x:r.x,y:r.y}}switch(ds(t)){case"start":m[o]-=p*(n&&u?-1:1);break;case"end":m[o]+=p*(n&&u?-1:1);break}return m}const PT=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}=n,l=s.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:f}=kh(u,r,c),p=r,m={},v=0;for(let y=0;y<l.length;y++){const{name:b,fn:g}=l[y],{x:h,y:x,data:j,reset:k}=await g({x:d,y:f,initialPlacement:r,placement:p,strategy:i,middlewareData:m,rects:u,platform:o,elements:{reference:e,floating:t}});d=h??d,f=x??f,m={...m,[b]:{...m[b],...j}},k&&v<=50&&(v++,typeof k=="object"&&(k.placement&&(p=k.placement),k.rects&&(u=k.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):k.rects),{x:d,y:f}=kh(u,p,c)),y=-1)}return{x:d,y:f,placement:p,strategy:i,middlewareData:m}};async function xo(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:s,rects:o,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:m=0}=Pn(t,e),v=Uv(m),b=l[p?f==="floating"?"reference":"floating":f],g=jl(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(b)))==null||n?b:b.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),h=f==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,x=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),j=await(s.isElement==null?void 0:s.isElement(x))?await(s.getScale==null?void 0:s.getScale(x))||{x:1,y:1}:{x:1,y:1},k=jl(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:h,offsetParent:x,strategy:c}):h);return{top:(g.top-k.top+v.top)/j.y,bottom:(k.bottom-g.bottom+v.bottom)/j.y,left:(g.left-k.left+v.left)/j.x,right:(k.right-g.right+v.right)/j.x}}const ET=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:s,platform:o,elements:l,middlewareData:c}=t,{element:u,padding:d=0}=Pn(e,t)||{};if(u==null)return{};const f=Uv(d),p={x:n,y:r},m=op(i),v=sp(m),y=await o.getDimensions(u),b=m==="y",g=b?"top":"left",h=b?"bottom":"right",x=b?"clientHeight":"clientWidth",j=s.reference[v]+s.reference[m]-p[m]-s.floating[v],k=p[m]-s.reference[m],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let T=S?S[x]:0;(!T||!await(o.isElement==null?void 0:o.isElement(S)))&&(T=l.floating[x]||s.floating[v]);const C=j/2-k/2,A=T/2-y[v]/2-1,E=yr(f[g],A),O=yr(f[h],A),L=E,W=T-y[v]-O,D=T/2-y[v]/2+C,K=bd(L,D,W),z=!c.arrow&&ds(i)!=null&&D!==K&&s.reference[v]/2-(D<L?E:O)-y[v]/2<0,U=z?D<L?D-L:D-W:0;return{[m]:p[m]+U,data:{[m]:K,centerOffset:D-K-U,...z&&{alignmentOffset:U}},reset:z}}}),AT=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:s,rects:o,initialPlacement:l,platform:c,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:y=!0,...b}=Pn(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const g=En(i),h=rn(l),x=En(l)===l,j=await(c.isRTL==null?void 0:c.isRTL(u.floating)),k=p||(x||!y?[wl(l)]:jT(l)),S=v!=="none";!p&&S&&k.push(...TT(l,y,v,j));const T=[l,...k],C=await xo(t,b),A=[];let E=((r=s.flip)==null?void 0:r.overflows)||[];if(d&&A.push(C[g]),f){const D=wT(i,o,j);A.push(C[D[0]],C[D[1]])}if(E=[...E,{placement:i,overflows:A}],!A.every(D=>D<=0)){var O,L;const D=(((O=s.flip)==null?void 0:O.index)||0)+1,K=T[D];if(K&&(!(f==="alignment"?h!==rn(K):!1)||E.every(P=>P.overflows[0]>0&&rn(P.placement)===h)))return{data:{index:D,overflows:E},reset:{placement:K}};let z=(L=E.filter(U=>U.overflows[0]<=0).sort((U,P)=>U.overflows[1]-P.overflows[1])[0])==null?void 0:L.placement;if(!z)switch(m){case"bestFit":{var W;const U=(W=E.filter(P=>{if(S){const M=rn(P.placement);return M===h||M==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(M=>M>0).reduce((M,F)=>M+F,0)]).sort((P,M)=>P[1]-M[1])[0])==null?void 0:W[0];U&&(z=U);break}case"initialPlacement":z=l;break}if(i!==z)return{reset:{placement:z}}}return{}}}};function Nh(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Sh(e){return yT.some(t=>e[t]>=0)}const MT=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=Pn(e,t);switch(r){case"referenceHidden":{const s=await xo(t,{...i,elementContext:"reference"}),o=Nh(s,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:Sh(o)}}}case"escaped":{const s=await xo(t,{...i,altBoundary:!0}),o=Nh(s,n.floating);return{data:{escapedOffsets:o,escaped:Sh(o)}}}default:return{}}}}},Gv=new Set(["left","top"]);async function RT(e,t){const{placement:n,platform:r,elements:i}=e,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=En(n),l=ds(n),c=rn(n)==="y",u=Gv.has(o)?-1:1,d=s&&c?-1:1,f=Pn(t,e);let{mainAxis:p,crossAxis:m,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof v=="number"&&(m=l==="end"?v*-1:v),c?{x:m*d,y:p*u}:{x:p*u,y:m*d}}const IT=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:s,placement:o,middlewareData:l}=t,c=await RT(t,e);return o===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:i+c.x,y:s+c.y,data:{...c,placement:o}}}}},LT=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:s=!0,crossAxis:o=!1,limiter:l={fn:b=>{let{x:g,y:h}=b;return{x:g,y:h}}},...c}=Pn(e,t),u={x:n,y:r},d=await xo(t,c),f=rn(En(i)),p=ip(f);let m=u[p],v=u[f];if(s){const b=p==="y"?"top":"left",g=p==="y"?"bottom":"right",h=m+d[b],x=m-d[g];m=bd(h,m,x)}if(o){const b=f==="y"?"top":"left",g=f==="y"?"bottom":"right",h=v+d[b],x=v-d[g];v=bd(h,v,x)}const y=l.fn({...t,[p]:m,[f]:v});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[p]:s,[f]:o}}}}}},DT=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:s,middlewareData:o}=t,{offset:l=0,mainAxis:c=!0,crossAxis:u=!0}=Pn(e,t),d={x:n,y:r},f=rn(i),p=ip(f);let m=d[p],v=d[f];const y=Pn(l,t),b=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(c){const x=p==="y"?"height":"width",j=s.reference[p]-s.floating[x]+b.mainAxis,k=s.reference[p]+s.reference[x]-b.mainAxis;m<j?m=j:m>k&&(m=k)}if(u){var g,h;const x=p==="y"?"width":"height",j=Gv.has(En(i)),k=s.reference[f]-s.floating[x]+(j&&((g=o.offset)==null?void 0:g[f])||0)+(j?0:b.crossAxis),S=s.reference[f]+s.reference[x]+(j?0:((h=o.offset)==null?void 0:h[f])||0)-(j?b.crossAxis:0);v<k?v=k:v>S&&(v=S)}return{[p]:m,[f]:v}}}},VT=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:s,platform:o,elements:l}=t,{apply:c=()=>{},...u}=Pn(e,t),d=await xo(t,u),f=En(i),p=ds(i),m=rn(i)==="y",{width:v,height:y}=s.floating;let b,g;f==="top"||f==="bottom"?(b=f,g=p===(await(o.isRTL==null?void 0:o.isRTL(l.floating))?"start":"end")?"left":"right"):(g=f,b=p==="end"?"top":"bottom");const h=y-d.top-d.bottom,x=v-d.left-d.right,j=yr(y-d[b],h),k=yr(v-d[g],x),S=!t.middlewareData.shift;let T=j,C=k;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(C=x),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(T=h),S&&!p){const E=at(d.left,0),O=at(d.right,0),L=at(d.top,0),W=at(d.bottom,0);m?C=v-2*(E!==0||O!==0?E+O:at(d.left,d.right)):T=y-2*(L!==0||W!==0?L+W:at(d.top,d.bottom))}await c({...t,availableWidth:C,availableHeight:T});const A=await o.getDimensions(l.floating);return v!==A.width||y!==A.height?{reset:{rects:!0}}:{}}}};function ec(){return typeof window<"u"}function fs(e){return Hv(e)?(e.nodeName||"").toLowerCase():"#document"}function ut(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function mn(e){var t;return(t=(Hv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Hv(e){return ec()?e instanceof Node||e instanceof ut(e).Node:!1}function Gt(e){return ec()?e instanceof Element||e instanceof ut(e).Element:!1}function un(e){return ec()?e instanceof HTMLElement||e instanceof ut(e).HTMLElement:!1}function Th(e){return!ec()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ut(e).ShadowRoot}const OT=new Set(["inline","contents"]);function Wo(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Ht(e);
vendor: 4,121 bytes, line 321
321return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!OT.has(i)}const FT=new Set(["table","td","th"]);function BT(e){return FT.has(fs(e))}const _T=[":popover-open",":modal"];function tc(e){return _T.some(t=>{try{return e.matches(t)}catch{return!1}})}const zT=["transform","translate","scale","rotate","perspective"],$T=["transform","translate","scale","rotate","perspective","filter"],WT=["paint","layout","strict","content"];function ap(e){const t=lp(),n=Gt(e)?Ht(e):e;return zT.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||$T.some(r=>(n.willChange||"").includes(r))||WT.some(r=>(n.contain||"").includes(r))}function UT(e){let t=xr(e);for(;un(t)&&!ts(t);){if(ap(t))return t;if(tc(t))return null;t=xr(t)}return null}function lp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const GT=new Set(["html","body","#document"]);function ts(e){return GT.has(fs(e))}function Ht(e){return ut(e).getComputedStyle(e)}function nc(e){return Gt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function xr(e){if(fs(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Th(e)&&e.host||mn(e);return Th(t)?t.host:t}function Kv(e){const t=xr(e);return ts(t)?e.ownerDocument?e.ownerDocument.body:e.body:un(t)&&Wo(t)?t:Kv(t)}function vo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Kv(e),s=i===((r=e.ownerDocument)==null?void 0:r.body),o=ut(i);if(s){const l=jd(o);return t.concat(o,o.visualViewport||[],Wo(i)?i:[],l&&n?vo(l):[])}return t.concat(i,vo(i,[],n))}function jd(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function qv(e){const t=Ht(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=un(e),s=i?e.offsetWidth:n,o=i?e.offsetHeight:r,l=bl(n)!==s||bl(r)!==o;return l&&(n=s,r=o),{width:n,height:r,$:l}}function cp(e){return Gt(e)?e:e.contextElement}function Bi(e){const t=cp(e);if(!un(t))return ln(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:s}=qv(t);let o=(s?bl(n.width):n.width)/r,l=(s?bl(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!l||!Number.isFinite(l))&&(l=1),{x:o,y:l}}const HT=ln(0);function Qv(e){const t=ut(e);return!lp()||!t.visualViewport?HT:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function KT(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ut(e)?!1:t}function Jr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=cp(e);let o=ln(1);t&&(r?Gt(r)&&(o=Bi(r)):o=Bi(e));const l=KT(s,n,r)?Qv(s):ln(0);let c=(i.left+l.x)/o.x,u=(i.top+l.y)/o.y,d=i.width/o.x,f=i.height/o.y;if(s){const p=ut(s),m=r&&Gt(r)?ut(r):r;let v=p,y=jd(v);for(;y&&r&&m!==v;){const b=Bi(y),g=y.getBoundingClientRect(),h=Ht(y),x=g.left+(y.clientLeft+parseFloat(h.paddingLeft))*b.x,j=g.top+(y.clientTop+parseFloat(h.paddingTop))*b.y;c*=b.x,u*=b.y,d*=b.x,f*=b.y,c+=x,u+=j,v=ut(y),y=jd(v)}}return jl({width:d,height:f,x:c,y:u})}function up(e,t){const n=nc(e).scrollLeft;return t?t.left+n:Jr(mn(e)).left+n}function Yv(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:up(e,r)),s=r.top+t.scrollTop;return{x:i,y:s}}function qT(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const s=i==="fixed",o=mn(r),l=t?tc(t.floating):!1;if(r===o||l&&s)return n;let c={scrollLeft:0,scrollTop:0},u=ln(1);const d=ln(0),f=un(r);if((f||!f&&!s)&&((fs(r)!=="body"||Wo(o))&&(c=nc(r)),un(r))){const m=Jr(r);u=Bi(r),d.x=m.x+r.clientLeft,d.y=m.y+r.clientTop}const p=o&&!f&&!s?Yv(o,c,!0):ln(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x+p.x,y:n.y*u.y-c.scrollTop*u.y+d.y+p.y}}function QT(e){return Array.from(e.getClientRects())}function YT(e){const t=mn(e),n=nc(e),r=e.ownerDocument.body,i=at(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=at(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+up(e);const l=-n.scrollTop;return Ht(r).direction==="rtl"&&(o+=at(t.clientWidth,r.clientWidth)-i),{width:i,height:s,x:o,y:l}}
vendor: 11,125 bytes, line 321
321function XT(e,t){const n=ut(e),r=mn(e),i=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,l=0,c=0;if(i){s=i.width,o=i.height;const u=lp();(!u||u&&t==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:s,height:o,x:l,y:c}}const ZT=new Set(["absolute","fixed"]);function JT(e,t){const n=Jr(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=un(e)?Bi(e):ln(1),o=e.clientWidth*s.x,l=e.clientHeight*s.y,c=i*s.x,u=r*s.y;return{width:o,height:l,x:c,y:u}}function Ch(e,t,n){let r;if(t==="viewport")r=XT(e,n);else if(t==="document")r=YT(mn(e));else if(Gt(t))r=JT(t,n);else{const i=Qv(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return jl(r)}function Xv(e,t){const n=xr(e);return n===t||!Gt(n)||ts(n)?!1:Ht(n).position==="fixed"||Xv(n,t)}function eC(e,t){const n=t.get(e);if(n)return n;let r=vo(e,[],!1).filter(l=>Gt(l)&&fs(l)!=="body"),i=null;const s=Ht(e).position==="fixed";let o=s?xr(e):e;for(;Gt(o)&&!ts(o);){const l=Ht(o),c=ap(o);!c&&l.position==="fixed"&&(i=null),(s?!c&&!i:!c&&l.position==="static"&&!!i&&ZT.has(i.position)||Wo(o)&&!c&&Xv(e,o))?r=r.filter(d=>d!==o):i=l,o=xr(o)}return t.set(e,r),r}function tC(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?tc(t)?[]:eC(t,this._c):[].concat(n),r],l=o[0],c=o.reduce((u,d)=>{const f=Ch(t,d,i);return u.top=at(f.top,u.top),u.right=yr(f.right,u.right),u.bottom=yr(f.bottom,u.bottom),u.left=at(f.left,u.left),u},Ch(t,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function nC(e){const{width:t,height:n}=qv(e);return{width:t,height:n}}function rC(e,t,n){const r=un(t),i=mn(t),s=n==="fixed",o=Jr(e,!0,s,t);let l={scrollLeft:0,scrollTop:0};const c=ln(0);function u(){c.x=up(i)}if(r||!r&&!s)if((fs(t)!=="body"||Wo(i))&&(l=nc(t)),r){const m=Jr(t,!0,s,t);c.x=m.x+t.clientLeft,c.y=m.y+t.clientTop}else i&&u();s&&!r&&i&&u();const d=i&&!r&&!s?Yv(i,l):ln(0),f=o.left+l.scrollLeft-c.x-d.x,p=o.top+l.scrollTop-c.y-d.y;return{x:f,y:p,width:o.width,height:o.height}}function Zc(e){return Ht(e).position==="static"}function Ph(e,t){if(!un(e)||Ht(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return mn(e)===n&&(n=n.ownerDocument.body),n}function Zv(e,t){const n=ut(e);if(tc(e))return n;if(!un(e)){let i=xr(e);for(;i&&!ts(i);){if(Gt(i)&&!Zc(i))return i;i=xr(i)}return n}let r=Ph(e,t);for(;r&&BT(r)&&Zc(r);)r=Ph(r,t);return r&&ts(r)&&Zc(r)&&!ap(r)?n:r||UT(e)||n}const iC=async function(e){const t=this.getOffsetParent||Zv,n=this.getDimensions,r=await n(e.floating);return{reference:rC(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function sC(e){return Ht(e).direction==="rtl"}const oC={convertOffsetParentRelativeRectToViewportRelativeRect:qT,getDocumentElement:mn,getClippingRect:tC,getOffsetParent:Zv,getElementRects:iC,getClientRects:QT,getDimensions:nC,getScale:Bi,isElement:Gt,isRTL:sC};function Jv(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function aC(e,t){let n=null,r;const i=mn(e);function s(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function o(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),s();const u=e.getBoundingClientRect(),{left:d,top:f,width:p,height:m}=u;if(l||t(),!p||!m)return;const v=ba(f),y=ba(i.clientWidth-(d+p)),b=ba(i.clientHeight-(f+m)),g=ba(d),x={rootMargin:-v+"px "+-y+"px "+-b+"px "+-g+"px",threshold:at(0,yr(1,c))||1};let j=!0;function k(S){const T=S[0].intersectionRatio;if(T!==c){if(!j)return o();T?o(!1,T):r=setTimeout(()=>{o(!1,1e-7)},1e3)}T===1&&!Jv(u,e.getBoundingClientRect())&&o(),j=!1}try{n=new IntersectionObserver(k,{...x,root:i.ownerDocument})}catch{n=new IntersectionObserver(k,x)}n.observe(e)}return o(!0),s}function lC(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=cp(e),d=i||s?[...u?vo(u):[],...vo(t)]:[];d.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),s&&g.addEventListener("resize",n)});const f=u&&l?aC(u,n):null;let p=-1,m=null;o&&(m=new ResizeObserver(g=>{let[h]=g;h&&h.target===u&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var x;(x=m)==null||x.observe(t)})),n()}),u&&!c&&m.observe(u),m.observe(t));let v,y=c?Jr(e):null;c&&b();function b(){const g=Jr(e);y&&!Jv(y,g)&&n(),y=g,v=requestAnimationFrame(b)}return n(),()=>{var g;d.forEach(h=>{i&&h.removeEventListener("scroll",n),s&&h.removeEventListener("resize",n)}),f==null||f(),(g=m)==null||g.disconnect(),m=null,c&&cancelAnimationFrame(v)}}const cC=IT,uC=LT,dC=AT,fC=VT,pC=MT,Eh=ET,mC=DT,hC=(e,t,n)=>{const r=new Map,i={platform:oC,...n},s={...i.platform,_c:r};return PT(e,t,{...i,platform:s})};var gC=typeof document<"u",yC=function(){},za=gC?w.useLayoutEffect:yC;function kl(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!kl(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const s=i[r];if(!(s==="_owner"&&e.$$typeof)&&!kl(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function e1(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ah(e,t){const n=e1(e);return Math.round(t*n)/n}function Jc(e){const t=w.useRef(e);return za(()=>{t.current=e}),t}function xC(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:s,floating:o}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,f]=w.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=w.useState(r);kl(p,r)||m(r);const[v,y]=w.useState(null),[b,g]=w.useState(null),h=w.useCallback(P=>{P!==S.current&&(S.current=P,y(P))},[]),x=w.useCallback(P=>{P!==T.current&&(T.current=P,g(P))},[]),j=s||v,k=o||b,S=w.useRef(null),T=w.useRef(null),C=w.useRef(d),A=c!=null,E=Jc(c),O=Jc(i),L=Jc(u),W=w.useCallback(()=>{if(!S.current||!T.current)return;const P={placement:t,strategy:n,middleware:p};O.current&&(P.platform=O.current),hC(S.current,T.current,P).then(M=>{const F={...M,isPositioned:L.current!==!1};D.current&&!kl(C.current,F)&&(C.current=F,Vo.flushSync(()=>{f(F)}))})},[p,t,n,O,L]);za(()=>{u===!1&&C.current.isPositioned&&(C.current.isPositioned=!1,f(P=>({...P,isPositioned:!1})))},[u]);const D=w.useRef(!1);za(()=>(D.current=!0,()=>{D.current=!1}),[]),za(()=>{if(j&&(S.current=j),k&&(T.current=k),j&&k){if(E.current)return E.current(j,k,W);W()}},[j,k,W,E,A]);const K=w.useMemo(()=>({reference:S,floating:T,setReference:h,setFloating:x}),[h,x]),z=w.useMemo(()=>({reference:j,floating:k}),[j,k]),U=w.useMemo(()=>{const P={position:n,left:0,top:0};if(!z.floating)return P;const M=Ah(z.floating,d.x),F=Ah(z.floating,d.y);return l?{...P,transform:"translate("+M+"px, "+F+"px)",...e1(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:M,top:F}},[n,l,z.floating,d.x,d.y]);return w.useMemo(()=>({...d,update:W,refs:K,elements:z,floatingStyles:U}),[d,W,K,z,U])}const vC=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Eh({element:r.current,padding:i}).fn(n):{}:r?Eh({element:r,padding:i}).fn(n):{}}}},bC=(e,t)=>({...cC(e),options:[e,t]}),wC=(e,t)=>({...uC(e),options:[e,t]}),jC=(e,t)=>({...mC(e),options:[e,t]}),kC=(e,t)=>({...dC(e),options:[e,t]}),NC=(e,t)=>({...fC(e),options:[e,t]}),SC=(e,t)=>({...pC(e),options:[e,t]}),TC=(e,t)=>({...vC(e),options:[e,t]});var CC="Arrow",t1=w.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...s}=e;return a.jsx(st.svg,{...s,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:a.jsx("polygon",{points:"0,0 30,0 15,10"})})});t1.displayName=CC;var PC=t1;function EC(e){const[t,n]=w.useState(void 0);return gr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const s=i[0];let o,l;if("borderBoxSize"in s){const c=s.borderBoxSize,u=Array.isArray(c)?c[0]:c;o=u.inlineSize,l=u.blockSize}else o=e.offsetWidth,l=e.offsetHeight;n({width:o,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var n1="Popper",[r1,i1]=Yl(n1),[NI,s1]=r1(n1),o1="PopperAnchor",a1=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,s=s1(o1,n),o=w.useRef(null),l=Ut(t,o);return w.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:a.jsx(st.div,{...i,ref:l})});a1.displayName=o1;var dp="PopperContent",[AC,MC]=r1(dp),l1=w.forwardRef((e,t)=>{var ee,mt,Ze,Tr,In,ai;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:s="center",alignOffset:o=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:p=!1,updatePositionStrategy:m="optimized",onPlaced:v,...y}=e,b=s1(dp,n),[g,h]=w.useState(null),x=Ut(t,Ln=>h(Ln)),[j,k]=w.useState(null),S=EC(j),T=(S==null?void 0:S.width)??0,C=(S==null?void 0:S.height)??0,A=r+(s!=="center"?"-"+s:""),E=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},O=Array.isArray(u)?u:[u],L=O.length>0,W={padding:E,boundary:O.filter(IC),altBoundary:L},{refs:D,floatingStyles:K,placement:z,isPositioned:U,middlewareData:P}=xC({strategy:"fixed",placement:A,whileElementsMounted:(...Ln)=>lC(...Ln,{animationFrame:m==="always"}),elements:{reference:b.anchor},middleware:[bC({mainAxis:i+C,alignmentAxis:o}),c&&wC({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?jC():void 0,...W}),c&&kC({...W}),NC({...W,apply:({elements:Ln,rects:Yo,availableWidth:yc,availableHeight:Xo})=>{const{width:xc,height:xs}=Yo.reference,li=Ln.floating.style;li.setProperty("--radix-popper-available-width",`${yc}px`),li.setProperty("--radix-popper-available-height",`${Xo}px`),li.setProperty("--radix-popper-anchor-width",`${xc}px`),li.setProperty("--radix-popper-anchor-height",`${xs}px`)}}),j&&TC({element:j,padding:l}),LC({arrowWidth:T,arrowHeight:C}),p&&SC({strategy:"referenceHidden",...W})]}),[M,F]=d1(z),G=hr(v);gr(()=>{U&&(G==null||G())},[U,G]);const $=(ee=P.arrow)==null?void 0:ee.x,X=(mt=P.arrow)==null?void 0:mt.y,Z=((Ze=P.arrow)==null?void 0:Ze.centerOffset)!==0,[oe,be]=w.useState();return gr(()=>{g&&be(window.getComputedStyle(g).zIndex)},[g]),a.jsx("div",{ref:D.setFloating,"data-radix-popper-content-wrapper":"",style:{...K,transform:U?K.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:oe,"--radix-popper-transform-origin":[(Tr=P.transformOrigin)==null?void 0:Tr.x,(In=P.transformOrigin)==null?void 0:In.y].join(" "),...((ai=P.hide)==null?void 0:ai.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:a.jsx(AC,{scope:n,placedSide:M,onArrowChange:k,arrowX:$,arrowY:X,shouldHideArrow:Z,children:a.jsx(st.div,{"data-side":M,"data-align":F,...y,ref:x,style:{...y.style,animation:U?void 0:"none"}})})})});
vendor: 8,557 bytes, line 321
321l1.displayName=dp;var c1="PopperArrow",RC={top:"bottom",right:"left",bottom:"top",left:"right"},u1=w.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,s=MC(c1,r),o=RC[s.placedSide];return a.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:a.jsx(PC,{...i,ref:n,style:{...i.style,display:"block"}})})});u1.displayName=c1;function IC(e){return e!==null}var LC=e=>({name:"transformOrigin",options:e,fn(t){var b,g,h;const{placement:n,rects:r,middlewareData:i}=t,o=((b=i.arrow)==null?void 0:b.centerOffset)!==0,l=o?0:e.arrowWidth,c=o?0:e.arrowHeight,[u,d]=d1(n),f={start:"0%",center:"50%",end:"100%"}[d],p=(((g=i.arrow)==null?void 0:g.x)??0)+l/2,m=(((h=i.arrow)==null?void 0:h.y)??0)+c/2;let v="",y="";return u==="bottom"?(v=o?f:`${p}px`,y=`${-c}px`):u==="top"?(v=o?f:`${p}px`,y=`${r.floating.height+c}px`):u==="right"?(v=`${-c}px`,y=o?f:`${m}px`):u==="left"&&(v=`${r.floating.width+c}px`,y=o?f:`${m}px`),{data:{x:v,y}}}});function d1(e){const[t,n="center"]=e.split("-");return[t,n]}var DC=a1,VC=l1,OC=u1,[rc,SI]=Yl("Tooltip",[i1]),fp=i1(),f1="TooltipProvider",FC=700,Mh="tooltip.open",[BC,p1]=rc(f1),m1=e=>{const{__scopeTooltip:t,delayDuration:n=FC,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:s}=e,o=w.useRef(!0),l=w.useRef(!1),c=w.useRef(0);return w.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),a.jsx(BC,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:w.useCallback(()=>{window.clearTimeout(c.current),o.current=!1},[]),onClose:w.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:w.useCallback(u=>{l.current=u},[]),disableHoverableContent:i,children:s})};m1.displayName=f1;var h1="Tooltip",[TI,ic]=rc(h1),kd="TooltipTrigger",_C=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=ic(kd,n),s=p1(kd,n),o=fp(n),l=w.useRef(null),c=Ut(t,l,i.onTriggerChange),u=w.useRef(!1),d=w.useRef(!1),f=w.useCallback(()=>u.current=!1,[]);return w.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),a.jsx(DC,{asChild:!0,...o,children:a.jsx(st.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:c,onPointerMove:Ce(e.onPointerMove,p=>{p.pointerType!=="touch"&&!d.current&&!s.isPointerInTransitRef.current&&(i.onTriggerEnter(),d.current=!0)}),onPointerLeave:Ce(e.onPointerLeave,()=>{i.onTriggerLeave(),d.current=!1}),onPointerDown:Ce(e.onPointerDown,()=>{i.open&&i.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:Ce(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:Ce(e.onBlur,i.onClose),onClick:Ce(e.onClick,i.onClose)})})});_C.displayName=kd;var zC="TooltipPortal",[CI,$C]=rc(zC,{forceMount:void 0}),ns="TooltipContent",g1=w.forwardRef((e,t)=>{const n=$C(ns,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...s}=e,o=ic(ns,e.__scopeTooltip);return a.jsx(Yf,{present:r||o.open,children:o.disableHoverableContent?a.jsx(y1,{side:i,...s,ref:t}):a.jsx(WC,{side:i,...s,ref:t})})}),WC=w.forwardRef((e,t)=>{const n=ic(ns,e.__scopeTooltip),r=p1(ns,e.__scopeTooltip),i=w.useRef(null),s=Ut(t,i),[o,l]=w.useState(null),{trigger:c,onClose:u}=n,d=i.current,{onPointerInTransitChange:f}=r,p=w.useCallback(()=>{l(null),f(!1)},[f]),m=w.useCallback((v,y)=>{const b=v.currentTarget,g={x:v.clientX,y:v.clientY},h=qC(g,b.getBoundingClientRect()),x=QC(g,h),j=YC(y.getBoundingClientRect()),k=ZC([...x,...j]);l(k),f(!0)},[f]);return w.useEffect(()=>()=>p(),[p]),w.useEffect(()=>{if(c&&d){const v=b=>m(b,d),y=b=>m(b,c);return c.addEventListener("pointerleave",v),d.addEventListener("pointerleave",y),()=>{c.removeEventListener("pointerleave",v),d.removeEventListener("pointerleave",y)}}},[c,d,m,p]),w.useEffect(()=>{if(o){const v=y=>{const b=y.target,g={x:y.clientX,y:y.clientY},h=(c==null?void 0:c.contains(b))||(d==null?void 0:d.contains(b)),x=!XC(g,o);h?p():x&&(p(),u())};return document.addEventListener("pointermove",v),()=>document.removeEventListener("pointermove",v)}},[c,d,o,u,p]),a.jsx(y1,{...e,ref:s})}),[UC,GC]=rc(h1,{isInside:!1}),HC=_k("TooltipContent"),y1=w.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:s,onPointerDownOutside:o,...l}=e,c=ic(ns,n),u=fp(n),{onClose:d}=c;return w.useEffect(()=>(document.addEventListener(Mh,d),()=>document.removeEventListener(Mh,d)),[d]),w.useEffect(()=>{if(c.trigger){const f=p=>{const m=p.target;m!=null&&m.contains(c.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,d]),a.jsx(Qf,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:o,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:a.jsxs(VC,{"data-state":c.stateAttribute,...u,...l,ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[a.jsx(HC,{children:r}),a.jsx(UC,{scope:n,isInside:!0,children:a.jsx(dN,{id:c.contentId,role:"tooltip",children:i||r})})]})})});g1.displayName=ns;var x1="TooltipArrow",KC=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=fp(n);return GC(x1,n).isInside?null:a.jsx(OC,{...i,...r,ref:t})});KC.displayName=x1;function qC(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,i,s)){case s:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function QC(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function YC(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function XC(e,t){const{x:n,y:r}=e;let i=!1;for(let s=0,o=t.length-1;s<t.length;o=s++){const l=t[s],c=t[o],u=l.x,d=l.y,f=c.x,p=c.y;d>r!=p>r&&n<(f-u)*(r-d)/(p-d)+u&&(i=!i)}return i}function ZC(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),JC(t)}function JC(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const i=e[r];for(;t.length>=2;){const s=t[t.length-1],o=t[t.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const s=n[n.length-1],o=n[n.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var eP=m1,v1=g1;const tP=eP,nP=w.forwardRef(({className:e,sideOffset:t=4,...n},r)=>a.jsx(v1,{ref:r,sideOffset:t,className:an("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));nP.displayName=v1.displayName;var sc=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},oc=typeof window>"u"||"Deno"in globalThis;function Dt(){}function rP(e,t){return typeof e=="function"?e(t):e}function iP(e){return typeof e=="number"&&e>=0&&e!==1/0}function sP(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Nd(e,t){return typeof e=="function"?e(t):e}function oP(e,t){return typeof e=="function"?e(t):e}function Rh(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:o,stale:l}=e;
vendor: 22,642 bytes, line 321
321if(o){if(r){if(t.queryHash!==pp(o,t.options))return!1}else if(!wo(t.queryKey,o))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||i&&i!==t.state.fetchStatus||s&&!s(t))}function Ih(e,t){const{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(bo(t.options.mutationKey)!==bo(s))return!1}else if(!wo(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function pp(e,t){return((t==null?void 0:t.queryKeyHashFn)||bo)(e)}function bo(e){return JSON.stringify(e,(t,n)=>Sd(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function wo(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>wo(e[n],t[n])):!1}function b1(e,t){if(e===t)return e;const n=Lh(e)&&Lh(t);if(n||Sd(e)&&Sd(t)){const r=n?e:Object.keys(e),i=r.length,s=n?t:Object.keys(t),o=s.length,l=n?[]:{},c=new Set(r);let u=0;for(let d=0;d<o;d++){const f=n?d:s[d];(!n&&c.has(f)||n)&&e[f]===void 0&&t[f]===void 0?(l[f]=void 0,u++):(l[f]=b1(e[f],t[f]),l[f]===e[f]&&e[f]!==void 0&&u++)}return i===o&&u===i?e:l}return t}function Lh(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Sd(e){if(!Dh(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Dh(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Dh(e){return Object.prototype.toString.call(e)==="[object Object]"}function aP(e){return new Promise(t=>{setTimeout(t,e)})}function lP(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?b1(e,t):t}function cP(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function uP(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var mp=Symbol();function w1(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===mp?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Fr,Qn,_i,Ty,dP=(Ty=class extends sc{constructor(){super();ne(this,Fr);ne(this,Qn);ne(this,_i);Q(this,_i,t=>{if(!oc&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){R(this,Qn)||this.setEventListener(R(this,_i))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,Qn))==null||t.call(this),Q(this,Qn,void 0))}setEventListener(t){var n;Q(this,_i,t),(n=R(this,Qn))==null||n.call(this),Q(this,Qn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){R(this,Fr)!==t&&(Q(this,Fr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof R(this,Fr)=="boolean"?R(this,Fr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Fr=new WeakMap,Qn=new WeakMap,_i=new WeakMap,Ty),j1=new dP,zi,Yn,$i,Cy,fP=(Cy=class extends sc{constructor(){super();ne(this,zi,!0);ne(this,Yn);ne(this,$i);Q(this,$i,t=>{if(!oc&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){R(this,Yn)||this.setEventListener(R(this,$i))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,Yn))==null||t.call(this),Q(this,Yn,void 0))}setEventListener(t){var n;Q(this,$i,t),(n=R(this,Yn))==null||n.call(this),Q(this,Yn,t(this.setOnline.bind(this)))}setOnline(t){R(this,zi)!==t&&(Q(this,zi,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return R(this,zi)}},zi=new WeakMap,Yn=new WeakMap,$i=new WeakMap,Cy),Nl=new fP;function pP(){let e,t;const n=new Promise((i,s)=>{e=i,t=s});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function mP(e){return Math.min(1e3*2**e,3e4)}function k1(e){return(e??"online")==="online"?Nl.isOnline():!0}var N1=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function eu(e){return e instanceof N1}function S1(e){let t=!1,n=0,r=!1,i;const s=pP(),o=y=>{var b;r||(p(new N1(y)),(b=e.abort)==null||b.call(e))},l=()=>{t=!0},c=()=>{t=!1},u=()=>j1.isFocused()&&(e.networkMode==="always"||Nl.isOnline())&&e.canRun(),d=()=>k1(e.networkMode)&&e.canRun(),f=y=>{var b;r||(r=!0,(b=e.onSuccess)==null||b.call(e,y),i==null||i(),s.resolve(y))},p=y=>{var b;r||(r=!0,(b=e.onError)==null||b.call(e,y),i==null||i(),s.reject(y))},m=()=>new Promise(y=>{var b;i=g=>{(r||u())&&y(g)},(b=e.onPause)==null||b.call(e)}).then(()=>{var y;i=void 0,r||(y=e.onContinue)==null||y.call(e)}),v=()=>{if(r)return;let y;const b=n===0?e.initialPromise:void 0;try{y=b??e.fn()}catch(g){y=Promise.reject(g)}Promise.resolve(y).then(f).catch(g=>{var S;if(r)return;const h=e.retry??(oc?0:3),x=e.retryDelay??mP,j=typeof x=="function"?x(n,g):x,k=h===!0||typeof h=="number"&&n<h||typeof h=="function"&&h(n,g);if(t||!k){p(g);return}n++,(S=e.onFail)==null||S.call(e,n,g),aP(j).then(()=>u()?void 0:m()).then(()=>{t?p(g):v()})})};return{promise:s,cancel:o,continue:()=>(i==null||i(),s),cancelRetry:l,continueRetry:c,canStart:d,start:()=>(d()?v():m().then(v),s)}}var hP=e=>setTimeout(e,0);function gP(){let e=[],t=0,n=l=>{l()},r=l=>{l()},i=hP;const s=l=>{t?e.push(l):i(()=>{n(l)})},o=()=>{const l=e;e=[],l.length&&i(()=>{r(()=>{l.forEach(c=>{n(c)})})})};return{batch:l=>{let c;t++;try{c=l()}finally{t--,t||o()}return c},batchCalls:l=>(...c)=>{s(()=>{l(...c)})},schedule:s,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{r=l},setScheduler:l=>{i=l}}}var Ge=gP(),Br,Py,T1=(Py=class{constructor(){ne(this,Br)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),iP(this.gcTime)&&Q(this,Br,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(oc?1/0:5*60*1e3))}clearGcTimeout(){R(this,Br)&&(clearTimeout(R(this,Br)),Q(this,Br,void 0))}},Br=new WeakMap,Py),Wi,_r,gt,zr,_e,Eo,$r,Vt,gn,Ey,yP=(Ey=class extends T1{constructor(t){super();ne(this,Vt);ne(this,Wi);ne(this,_r);ne(this,gt);ne(this,zr);ne(this,_e);ne(this,Eo);ne(this,$r);Q(this,$r,!1),Q(this,Eo,t.defaultOptions),this.setOptions(t.options),this.observers=[],Q(this,zr,t.client),Q(this,gt,R(this,zr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Q(this,Wi,vP(this.options)),this.state=t.state??R(this,Wi),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=R(this,_e))==null?void 0:t.promise}setOptions(t){this.options={...R(this,Eo),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&R(this,gt).remove(this)}setData(t,n){const r=lP(this.state.data,t,this.options);return Oe(this,Vt,gn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Oe(this,Vt,gn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=R(this,_e))==null?void 0:r.promise;return(i=R(this,_e))==null||i.cancel(t),n?n.then(Dt).catch(Dt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(R(this,Wi))}isActive(){return this.observers.some(t=>oP(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===mp||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Nd(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!sP(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=R(this,_e))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=R(this,_e))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),R(this,gt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(R(this,_e)&&(R(this,$r)?R(this,_e).cancel({revert:!0}):R(this,_e).cancelRetry()),this.scheduleGc()),R(this,gt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Oe(this,Vt,gn).call(this,{type:"invalidate"})}fetch(t,n){var u,d,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(R(this,_e))return R(this,_e).continueRetry(),R(this,_e).promise}if(t&&this.setOptions(t),!this.options.queryFn){const p=this.observers.find(m=>m.options.queryFn);p&&this.setOptions(p.options)}const r=new AbortController,i=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(Q(this,$r,!0),r.signal)})},s=()=>{const p=w1(this.options,n),v=(()=>{const y={client:R(this,zr),queryKey:this.queryKey,meta:this.meta};return i(y),y})();return Q(this,$r,!1),this.options.persister?this.options.persister(p,v,this):p(v)},l=(()=>{const p={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:R(this,zr),state:this.state,fetchFn:s};return i(p),p})();(u=this.options.behavior)==null||u.onFetch(l,this),Q(this,_r,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=l.fetchOptions)==null?void 0:d.meta))&&Oe(this,Vt,gn).call(this,{type:"fetch",meta:(f=l.fetchOptions)==null?void 0:f.meta});const c=p=>{var m,v,y,b;eu(p)&&p.silent||Oe(this,Vt,gn).call(this,{type:"error",error:p}),eu(p)||((v=(m=R(this,gt).config).onError)==null||v.call(m,p,this),(b=(y=R(this,gt).config).onSettled)==null||b.call(y,this.state.data,p,this)),this.scheduleGc()};return Q(this,_e,S1({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:p=>{var m,v,y,b;if(p===void 0){c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(p)}catch(g){c(g);return}(v=(m=R(this,gt).config).onSuccess)==null||v.call(m,p,this),(b=(y=R(this,gt).config).onSettled)==null||b.call(y,p,this.state.error,this),this.scheduleGc()},onError:c,onFail:(p,m)=>{Oe(this,Vt,gn).call(this,{type:"failed",failureCount:p,error:m})},onPause:()=>{Oe(this,Vt,gn).call(this,{type:"pause"})},onContinue:()=>{Oe(this,Vt,gn).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),R(this,_e).start()}},Wi=new WeakMap,_r=new WeakMap,gt=new WeakMap,zr=new WeakMap,_e=new WeakMap,Eo=new WeakMap,$r=new WeakMap,Vt=new WeakSet,gn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...xP(r.data,this.options),fetchMeta:t.meta??null};case"success":return Q(this,_r,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return eu(i)&&i.revert&&R(this,_r)?{...R(this,_r),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Ge.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),R(this,gt).notify({query:this,type:"updated",action:t})})},Ey);function xP(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:k1(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function vP(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Zt,Ay,bP=(Ay=class extends sc{constructor(t={}){super();ne(this,Zt);this.config=t,Q(this,Zt,new Map)}build(t,n,r){const i=n.queryKey,s=n.queryHash??pp(i,n);let o=this.get(s);return o||(o=new yP({client:t,queryKey:i,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(o)),o}add(t){R(this,Zt).has(t.queryHash)||(R(this,Zt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=R(this,Zt).get(t.queryHash);n&&(t.destroy(),n===t&&R(this,Zt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ge.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return R(this,Zt).get(t)}getAll(){return[...R(this,Zt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Rh(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Rh(t,r)):n}notify(t){Ge.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ge.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ge.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Zt=new WeakMap,Ay),Jt,We,Wr,en,$n,My,wP=(My=class extends T1{constructor(t){super();ne(this,en);ne(this,Jt);ne(this,We);ne(this,Wr);this.mutationId=t.mutationId,Q(this,We,t.mutationCache),Q(this,Jt,[]),this.state=t.state||jP(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){R(this,Jt).includes(t)||(R(this,Jt).push(t),this.clearGcTimeout(),R(this,We).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Q(this,Jt,R(this,Jt).filter(n=>n!==t)),this.scheduleGc(),R(this,We).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){R(this,Jt).length||(this.state.status==="pending"?this.scheduleGc():R(this,We).remove(this))}continue(){var t;return((t=R(this,Wr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,o,l,c,u,d,f,p,m,v,y,b,g,h,x,j,k,S,T,C;const n=()=>{Oe(this,en,$n).call(this,{type:"continue"})};Q(this,Wr,S1({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(A,E)=>{Oe(this,en,$n).call(this,{type:"failed",failureCount:A,error:E})},onPause:()=>{Oe(this,en,$n).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>R(this,We).canRun(this)}));const r=this.state.status==="pending",i=!R(this,Wr).canStart();try{if(r)n();else{Oe(this,en,$n).call(this,{type:"pending",variables:t,isPaused:i}),await((o=(s=R(this,We).config).onMutate)==null?void 0:o.call(s,t,this));const E=await((c=(l=this.options).onMutate)==null?void 0:c.call(l,t));E!==this.state.context&&Oe(this,en,$n).call(this,{type:"pending",context:E,variables:t,isPaused:i})}const A=await R(this,Wr).start();return await((d=(u=R(this,We).config).onSuccess)==null?void 0:d.call(u,A,t,this.state.context,this)),await((p=(f=this.options).onSuccess)==null?void 0:p.call(f,A,t,this.state.context)),await((v=(m=R(this,We).config).onSettled)==null?void 0:v.call(m,A,null,this.state.variables,this.state.context,this)),await((b=(y=this.options).onSettled)==null?void 0:b.call(y,A,null,t,this.state.context)),Oe(this,en,$n).call(this,{type:"success",data:A}),A}catch(A){try{throw await((h=(g=R(this,We).config).onError)==null?void 0:h.call(g,A,t,this.state.context,this)),await((j=(x=this.options).onError)==null?void 0:j.call(x,A,t,this.state.context)),await((S=(k=R(this,We).config).onSettled)==null?void 0:S.call(k,void 0,A,this.state.variables,this.state.context,this)),await((C=(T=this.options).onSettled)==null?void 0:C.call(T,void 0,A,t,this.state.context)),A}finally{Oe(this,en,$n).call(this,{type:"error",error:A})}}finally{R(this,We).runNext(this)}}},Jt=new WeakMap,We=new WeakMap,Wr=new WeakMap,en=new WeakSet,$n=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Ge.batch(()=>{R(this,Jt).forEach(r=>{r.onMutationUpdate(t)}),R(this,We).notify({mutation:this,type:"updated",action:t})})},My);function jP(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var bn,Ot,Ao,Ry,kP=(Ry=class extends sc{constructor(t={}){super();ne(this,bn);ne(this,Ot);ne(this,Ao);this.config=t,Q(this,bn,new Set),Q(this,Ot,new Map),Q(this,Ao,0)}build(t,n,r){const i=new wP({mutationCache:this,mutationId:++Jo(this,Ao)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){R(this,bn).add(t);const n=wa(t);if(typeof n=="string"){const r=R(this,Ot).get(n);r?r.push(t):R(this,Ot).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(R(this,bn).delete(t)){const n=wa(t);if(typeof n=="string"){const r=R(this,Ot).get(n);if(r)if(r.length>1){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}else r[0]===t&&R(this,Ot).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=wa(t);if(typeof n=="string"){const r=R(this,Ot).get(n),i=r==null?void 0:r.find(s=>s.state.status==="pending");return!i||i===t}else return!0}runNext(t){var r;const n=wa(t);if(typeof n=="string"){const i=(r=R(this,Ot).get(n))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Ge.batch(()=>{R(this,bn).forEach(t=>{this.notify({type:"removed",mutation:t})}),R(this,bn).clear(),R(this,Ot).clear()})}getAll(){return Array.from(R(this,bn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Ih(n,r))}findAll(t={}){return this.getAll().filter(n=>Ih(t,n))}notify(t){Ge.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ge.batch(()=>Promise.all(t.map(n=>n.continue().catch(Dt))))}},bn=new WeakMap,Ot=new WeakMap,Ao=new WeakMap,Ry);function wa(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Vh(e){return{onFetch:(t,n)=>{var d,f,p,m,v;const r=t.options,i=(p=(f=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:f.fetchMore)==null?void 0:p.direction,s=((m=t.state.data)==null?void 0:m.pages)||[],o=((v=t.state.data)==null?void 0:v.pageParams)||[];let l={pages:[],pageParams:[]},c=0;const u=async()=>{let y=!1;const b=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>(t.signal.aborted?y=!0:t.signal.addEventListener("abort",()=>{y=!0}),t.signal)})},g=w1(t.options,t.fetchOptions),h=async(x,j,k)=>{if(y)return Promise.reject();if(j==null&&x.pages.length)return Promise.resolve(x);const T=(()=>{const O={client:t.client,queryKey:t.queryKey,pageParam:j,direction:k?"backward":"forward",meta:t.options.meta};return b(O),O})(),C=await g(T),{maxPages:A}=t.options,E=k?uP:cP;return{pages:E(x.pages,C,A),pageParams:E(x.pageParams,j,A)}};if(i&&s.length){const x=i==="backward",j=x?NP:Oh,k={pages:s,pageParams:o},S=j(r,k);l=await h(k,S,x)}else{const x=e??s.length;do{const j=c===0?o[0]??r.initialPageParam:Oh(r,l);if(c>0&&j==null)break;l=await h(l,j),c++}while(c<x)}return l};t.options.persister?t.fetchFn=()=>{var y,b;return(b=(y=t.options).persister)==null?void 0:b.call(y,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Oh(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function NP(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var xe,Xn,Zn,Ui,Gi,Jn,Hi,Ki,Iy,SP=(Iy=class{constructor(e={}){ne(this,xe);ne(this,Xn);ne(this,Zn);ne(this,Ui);ne(this,Gi);ne(this,Jn);ne(this,Hi);ne(this,Ki);Q(this,xe,e.queryCache||new bP),Q(this,Xn,e.mutationCache||new kP),Q(this,Zn,e.defaultOptions||{}),Q(this,Ui,new Map),Q(this,Gi,new Map),Q(this,Jn,0)}mount(){Jo(this,Jn)._++,R(this,Jn)===1&&(Q(this,Hi,j1.subscribe(async e=>{e&&(await this.resumePausedMutations(),R(this,xe).onFocus())})),Q(this,Ki,Nl.subscribe(async e=>{e&&(await this.resumePausedMutations(),R(this,xe).onOnline())})))}unmount(){var e,t;Jo(this,Jn)._--,R(this,Jn)===0&&((e=R(this,Hi))==null||e.call(this),Q(this,Hi,void 0),(t=R(this,Ki))==null||t.call(this),Q(this,Ki,void 0))}isFetching(e){return R(this,xe).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return R(this,Xn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=R(this,xe).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=R(this,xe).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Nd(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return R(this,xe).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=R(this,xe).get(r.queryHash),s=i==null?void 0:i.state.data,o=rP(t,s);if(o!==void 0)return R(this,xe).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return Ge.batch(()=>R(this,xe).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=R(this,xe).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=R(this,xe);Ge.batch(()=>
321{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=R(this,xe);return Ge.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Ge.batch(()=>R(this,xe).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(Dt).catch(Dt)}invalidateQueries(e,t={}){return Ge.batch(()=>(R(this,xe).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Ge.batch(()=>R(this,xe).findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let s=i.fetch(void 0,n);return n.throwOnError||(s=s.catch(Dt)),i.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(Dt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=R(this,xe).build(this,t);return n.isStaleByTime(Nd(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Dt).catch(Dt)}fetchInfiniteQuery(e){return e.behavior=Vh(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Dt).catch(Dt)}ensureInfiniteQueryData(e){return e.behavior=Vh(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Nl.isOnline()?R(this,Xn).resumePausedMutations():Promise.resolve()}getQueryCache(){return R(this,xe)}getMutationCache(){return R(this,Xn)}getDefaultOptions(){return R(this,Zn)}setDefaultOptions(e){Q(this,Zn,e)}setQueryDefaults(e,t){R(this,Ui).set(bo(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...R(this,Ui).values()],n={};return t.forEach(r=>{wo(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){R(this,Gi).set(bo(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...R(this,Gi).values()],n={};return t.forEach(r=>{wo(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...R(this,Zn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=pp(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===mp&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...R(this,Zn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){R(this,xe).clear(),R(this,Xn).clear()}},xe=new WeakMap,Xn=new WeakMap,Zn=new WeakMap,Ui=new WeakMap,Gi=new WeakMap,Jn=new WeakMap,Hi=new WeakMap,Ki=new WeakMap,Iy),TP=w.createContext(void 0),CP=({client:e,children:t})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),a.jsx(TP.Provider,{value:e,children:t}));/** 322 * @remix-run/router v1.23.0 323 * 324 * Copyright (c) Remix Software Inc. 325 * 326 * This source code is licensed under the MIT license found in the 327 * LICENSE.md file in the root directory of this source tree. 328 * 329 * @license MIT 330 */function jo(){return jo=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},jo.apply(this,arguments)}var nr;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(nr||(nr={}));const Fh="popstate";function PP(e){e===void 0&&(e={});function t(r,i){let{pathname:s,search:o,hash:l}=r.location;return Td("",{pathname:s,search:o,hash:l},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Sl(i)}return AP(t,n,null,e)}function Se(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function C1(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function EP(){return Math.random().toString(36).substr(2,8)}function Bh(e,t){return{usr:e.state,key:e.key,idx:t}}function Td(e,t,n,r){return n===void 0&&(n=null),jo({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ps(t):t,{state:n,key:t&&t.key||r||EP()})}function Sl(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function ps(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function AP(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:s=!1}=r,o=i.history,l=nr.Pop,c=null,u=d();u==null&&(u=0,o.replaceState(jo({},o.state,{idx:u}),""));function d(){return(o.state||{idx:null}).idx}function f(){l=nr.Pop;let b=d(),g=b==null?null:b-u;u=b,c&&c({action:l,location:y.location,delta:g})}function p(b,g){l=nr.Push;let h=Td(y.location,b,g);u=d()+1;let x=Bh(h,u),j=y.createHref(h);try{o.pushState(x,"",j)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;i.location.assign(j)}s&&c&&c({action:l,location:y.location,delta:1})}function m(b,g){l=nr.Replace;let h=Td(y.location,b,g);u=d();let x=Bh(h,u),j=y.createHref(h);o.replaceState(x,"",j),s&&c&&c({action:l,location:y.location,delta:0})}function v(b){let g=i.location.origin!=="null"?i.location.origin:i.location.href,h=typeof b=="string"?b:Sl(b);return h=h.replace(/ $/,"%20"),Se(g,"No window.location.(origin|href) available to create URL for href: "+h),new URL(h,g)}let y={get action(){return l},get location(){return e(i,o)},listen(b){if(c)throw new Error("A history only accepts one active listener");return i.addEventListener(Fh,f),c=b,()=>{i.removeEventListener(Fh,f),c=null}},createHref(b){return t(i,b)},createURL:v,encodeLocation(b){let g=v(b);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:p,replace:m,go(b){return o.go(b)}};return y}var _h;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(_h||(_h={}));function MP(e,t,n){return n===void 0&&(n="/"),RP(e,t,n,!1)}function RP(e,t,n,r){let i=typeof t=="string"?ps(t):t,s=hp(i.pathname||"/",n);if(s==null)return null;let o=P1(e);IP(o);let l=null;for(let c=0;l==null&&c<o.length;++c){let u=UP(s);
vendor: 8,883 bytes, lines 330-339
330l=$P(o[c],u,r)}return l}function P1(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(s,o,l)=>{let c={relativePath:l===void 0?s.path||"":l,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};c.relativePath.startsWith("/")&&(Se(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=fr([r,c.relativePath]),d=n.concat(c);s.children&&s.children.length>0&&(Se(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),P1(s.children,t,d,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:_P(u,s.index),routesMeta:d})};return e.forEach((s,o)=>{var l;if(s.path===""||!((l=s.path)!=null&&l.includes("?")))i(s,o);else for(let c of E1(s.path))i(s,o,c)}),t}function E1(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return i?[s,""]:[s];let o=E1(r.join("/")),l=[];return l.push(...o.map(c=>c===""?s:[s,c].join("/"))),i&&l.push(...o),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function IP(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:zP(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const LP=/^:[\w-]+$/,DP=3,VP=2,OP=1,FP=10,BP=-2,zh=e=>e==="*";function _P(e,t){let n=e.split("/"),r=n.length;return n.some(zh)&&(r+=BP),t&&(r+=VP),n.filter(i=>!zh(i)).reduce((i,s)=>i+(LP.test(s)?DP:s===""?OP:FP),r)}function zP(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function $P(e,t,n){let{routesMeta:r}=e,i={},s="/",o=[];for(let l=0;l<r.length;++l){let c=r[l],u=l===r.length-1,d=s==="/"?t:t.slice(s.length)||"/",f=$h({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},d),p=c.route;if(!f&&u&&n&&!r[r.length-1].route.index&&(f=$h({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},d)),!f)return null;Object.assign(i,f.params),o.push({params:i,pathname:fr([s,f.pathname]),pathnameBase:qP(fr([s,f.pathnameBase])),route:p}),f.pathnameBase!=="/"&&(s=fr([s,f.pathnameBase]))}return o}function $h(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=WP(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let s=i[0],o=s.replace(/(.)\/+$/,"$1"),l=i.slice(1);return{params:r.reduce((u,d,f)=>{let{paramName:p,isOptional:m}=d;if(p==="*"){let y=l[f]||"";o=s.slice(0,s.length-y.length).replace(/(.)\/+$/,"$1")}const v=l[f];return m&&!v?u[p]=void 0:u[p]=(v||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:o,pattern:e}}function WP(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),C1(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,l,c)=>(r.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function UP(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return C1(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function hp(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function GP(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?ps(e):e;return{pathname:n?n.startsWith("/")?n:HP(n,t):t,search:QP(r),hash:YP(i)}}function HP(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function tu(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function KP(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function A1(e,t){let n=KP(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function M1(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=ps(e):(i=jo({},e),Se(!i.pathname||!i.pathname.includes("?"),tu("?","pathname","search",i)),Se(!i.pathname||!i.pathname.includes("#"),tu("#","pathname","hash",i)),Se(!i.search||!i.search.includes("#"),tu("#","search","hash",i)));let s=e===""||i.pathname==="",o=s?"/":i.pathname,l;if(o==null)l=n;else{let f=t.length-1;if(!r&&o.startsWith("..")){let p=o.split("/");for(;p[0]==="..";)p.shift(),f-=1;i.pathname=p.join("/")}l=f>=0?t[f]:"/"}let c=GP(i,l),u=o&&o!=="/"&&o.endsWith("/"),d=(s||o===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const fr=e=>e.join("/").replace(/\/\/+/g,"/"),qP=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),QP=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,YP=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function XP(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const R1=["post","put","patch","delete"];new Set(R1);const ZP=["get",...R1];new Set(ZP);/** 331 * React Router v6.30.1 332 * 333 * Copyright (c) Remix Software Inc. 334 * 335 * This source code is licensed under the MIT license found in the 336 * LICENSE.md file in the root directory of this source tree. 337 * 338 * @license MIT 339 */function ko(){return ko=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},ko.apply(this,arguments)}const gp=w.createContext(null),JP=w.createContext(null),ii=w.createContext(null),ac=w.createContext(null),si=w.createContext({outlet:null,matches:[],isDataRoute:!1}),I1=w.createContext(null);function eE(e,t){let{relative:n}=t===void 0?{}:t;Uo()||Se(!1);let{basename:r,navigator:i}=w.useContext(ii),{hash:s,pathname:o,search:l}=D1(e,{relative:n}),c=o;return r!=="/"&&(c=o==="/"?r:fr([r,o])),i.createHref({pathname:c,search:l,hash:s})}function Uo(){return w.useContext(ac)!=null}function ms(){return Uo()||Se(!1),w.useContext(ac).location}function L1(e){w.useContext(ii).static||w.useLayoutEffect(e)}function tE(){let{isDataRoute:e}=w.useContext(si);return e?mE():nE()}function nE(){Uo()||Se(!1);let e=w.useContext(gp),{basename:t,future:n,navigator:r}=w.useContext(ii),{matches:i}=w.useContext(si),{pathname:s}=ms(),o=JSON.stringify(A1(i,n.v7_relativeSplatPath)),l=w.useRef(!1);return L1(()=>{l.current=!0}),w.useCallback(function(u,d){if(d===void 0&&(d={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let f=M1(u,JSON.parse(o),s,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:fr([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,o,s,e])}function D1(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=w.useContext(ii),{matches:i}=w.useContext(si),{pathname:s}=ms(),o=JSON.stringify(A1(i,r.v7_relativeSplatPath));return w.useMemo(()=>M1(e,JSON.parse(o),s,n==="path"),[e,o,s,n])}function rE(e,t){return iE(e,t)}function iE(e,t,n,r){Uo()||Se(!1);let{navigator:i}=w.useContext(ii),{matches:s}=w.useContext(si),o=s[s.length-1],l=o?o.params:{};o&&o.pathname;let c=o?o.pathnameBase:"/";o&&o.route;let u=ms(),d;if(t){var f;let b=typeof t=="string"?ps(t):t;c==="/"||(f=b.pathname)!=null&&f.startsWith(c)||Se(!1),d=b}else d=u;let p=d.pathname||"/",m=p;if(c!=="/"){let b=c.replace(/^\//,"").split("/");m="/"+p.replace(/^\//,"").split("/").slice(b.length).join("/")}let v=MP(e,{pathname:m}),y=cE(v&&v.map(b=>Object.assign({},b,{params:Object.assign({},l,b.params),pathname:fr([c,i.encodeLocation?i.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?c:fr([c,i.encodeLocation?i.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),s,n,r);return t&&y?w.createElement(ac.Provider,{value:{location:ko({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:nr.Pop}},y):y}function sE(){let e=pE(),t=XP(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application
339Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:i},n):null,null)}const oE=w.createElement(sE,null);class aE extends w.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?w.createElement(si.Provider,{value:this.props.routeContext},w.createElement(I1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function lE(e){let{routeContext:t,match:n,children:r}=e,i=w.useContext(gp);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(si.Provider,{value:t},r)}function cE(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,l=(i=n)==null?void 0:i.errors;if(l!=null){let d=o.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id])!==void 0);d>=0||Se(!1),o=o.slice(0,Math.min(o.length,d+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<o.length;d++){let f=o[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=d),f.route.id){let{loaderData:p,errors:m}=n,v=f.route.loader&&p[f.route.id]===void 0&&(!m||m[f.route.id]===void 0);if(f.route.lazy||v){c=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((d,f,p)=>{let m,v=!1,y=null,b=null;n&&(m=l&&f.route.id?l[f.route.id]:void 0,y=f.route.errorElement||oE,c&&(u<0&&p===0?(v=!0,b=null):u===p&&(v=!0,b=f.route.hydrateFallbackElement||null)));let g=t.concat(o.slice(0,p+1)),h=()=>{let x;return m?x=y:v?x=b:f.route.Component?x=w.createElement(f.route.Component,null):f.route.element?x=f.route.element:x=d,w.createElement(lE,{match:f,routeContext:{outlet:d,matches:g,isDataRoute:n!=null},children:x})};return n&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?w.createElement(aE,{location:n.location,revalidation:n.revalidation,component:y,error:m,children:h(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):h()},null)}var V1=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(V1||{}),Tl=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Tl||{});function uE(e){let t=w.useContext(gp);return t||Se(!1),t}function dE(e){let t=w.useContext(JP);return t||Se(!1),t}function fE(e){let t=w.useContext(si);return t||Se(!1),t}function O1(e){let t=fE(),n=t.matches[t.matches.length-1];return n.route.id||Se(!1),n.route.id}function pE(){var e;let t=w.useContext(I1),n=dE(Tl.UseRouteError),r=O1(Tl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function mE(){let{router:e}=uE(V1.UseNavigateStable),t=O1(Tl.UseNavigateStable),n=w.useRef(!1);return L1(()=>{n.current=!0}),w.useCallback(function(i,s){s===void 0&&(s={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,ko({fromRouteId:t},s)))},[e,t])}function hE(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Re(e){Se(!1)}function gE(e){let{basename:t="/",children:n=null,location:r,navigationType:i=nr.Po
339p,navigator:s,static:o=!1,future:l}=e;Uo()&&Se(!1);let c=t.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:c,navigator:s,static:o,future:ko({v7_relativeSplatPath:!1},l)}),[c,l,s,o]);typeof r=="string"&&(r=ps(r));let{pathname:d="/",search:f="",hash:p="",state:m=null,key:v="default"}=r,y=w.useMemo(()=>{let b=hp(d,c);return b==null?null:{location:{pathname:b,search:f,hash:p,state:m,key:v},navigationType:i}},[c,d,f,p,m,v,i]);return y==null?null:w.createElement(ii.Provider,{value:u},w.createElement(ac.Provider,{children:n,value:y}))}function yE(e){let{children:t,location:n}=e;return rE(Cd(t),n)}new Promise(()=>{});function Cd(e,t){t===void 0&&(t=[]);let n=[];return w.Children.forEach(e,(r,i)=>{if(!w.isValidElement(r))return;let s=[...t,i];if(r.type===w.Fragment){n.push.apply(n,Cd(r.props.children,s));return}r.type!==Re&&Se(!1),!r.props.index||!r.props.children||Se(!1);let o={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=Cd(r.props.children,s)),n.push(o)}),n}/** 340 * React Router DOM v6.30.1 341 * 342 * Copyright (c) Remix Software Inc. 343 * 344 * This source code is licensed under the MIT license found in the 345 * LICENSE.md file in the root directory of this source tree. 346 * 347 * @license MIT 348 */function Pd(){return Pd=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},Pd.apply(this,arguments)}function xE(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s<r.length;s++)i=r[s],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function vE(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function bE(e,t){return e.button===0&&(!t||t==="_self")&&!vE(e)}const wE=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],jE="6";try{window.__reactRouterVersion=jE}catch{}const kE="startTransition",Wh=Gy[kE];function NE(e){let{basename:t,children:n,future:r,window:i}=e,s=w.useRef();s.current==null&&(s.current=PP({window:i,v5Compat:!0}));let o=s.current,[l,c]=w.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},d=w.useCallback(f=>{u&&Wh?Wh(()=>c(f)):c(f)},[c,u]);return w.useLayoutEffect(()=>o.listen(d),[o,d]),w.useEffect(()=>hE(r),[r]),w.createElement(gE,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:o,future:r})}const SE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",TE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,vn=w.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:s,replace:o,state:l,target:c,to:u,preventScrollReset:d,viewTransition:f}=t,p=xE(t,wE),{basename:m}=w.useContext(ii),v,y=!1;if(typeof u=="string"&&TE.test(u)&&(v=u,SE))try{let x=new URL(window.location.href),j=u.startsWith("//")?new URL(x.protocol+u):new URL(u),k=hp(j.pathname,m);j.origin===x.origin&&k!=null?u=k+j.search+j.hash:y=!0}catch{}let b=eE(u,{relative:i}),g=CE(u,{replace:o,state:l,target:c,preventScrollReset:d,relative:i,viewTransition:f});function h(x){r&&r(x),x.defaultPrevented||g(x)}return w.createElement("a",Pd({},p,{href:v||b,onClick:y||s?r:h,ref:n,target:c}))});var Uh;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Uh||(Uh={}));var Gh;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Gh||(Gh={}));function CE(e,t){let{target:n,replace:r,state:i,preventScrollReset:s,relative:o,viewTransition:l}=t===void 0?{}:t,c=tE(),u=ms(),d=D1(e,{relative:o});return w.useCallback(f=>{if(bE(f,n)){f.preventDefault();let p=r!==void 0?r:Sl(u)===Sl(d);c(e,{replace:p,state:i,preventScrollReset:s,relative:o,viewTransition:l})}},[u,c,d,r,i,n,e,s,o,l])}const PE=1,EE="647ed94a-a9b7-47aa-8733-2434f74ca01d",AE="5bcf41b6-9c1a-4cb8-8fae-1f05c9935f3e",ME="/__l5e/assets-v1/647ed94a-a9b7-47aa-8733-2434f74ca01d/touchstone-logo.png",RE="a/v1/5bcf41b6-9c1a-4cb8-8fae-1f05c9935f3e/647ed94a-a9b7-47aa-8733-2434f74ca01d/touchstone-logo.png",IE="touchstone-logo.png",LE=911865,DE="image/png",VE="2026-08-08T06:07:16Z",F1={version:PE,asset_id:EE,project_id:AE,url:ME,r2_key:RE,original_filename:IE,size:LE,content_type:DE,created_at:VE},Hh=[{label:"TCP Overview",url:"https://touchstoneglobal.lovable.app"},{label:"TCP - Fund Manager I",url:"https://chinaintegrityholdings.lovable.app/"},{label:"Touchstone Bond",url:"https://touchstonebond.lovable.app/"},{label:"Touchstone Platform Portfolios",url:"https://asset-cash-bri
348dge.lovable.app/"},{label:"Touchstone Ecosystem Platform",url:"https://tcp-world-class-finance-web.lovable.app"},{label:"Touchstone Global Team",url:"https://touchstone-global-team.lovable.app/#hero"},{label:"Government",url:"https://tcp-sovereign.lovable.app/"},{label:"TCP Management",url:"https://tcpmanagement.lovable.app",children:[{label:"TCP Global Team & Partners",url:"https://touchstone-global-team.lovable.app"},{label:"TCP Platform Management Structure",url:"https://touchstone-people-hub.lovable.app"}]},{label:"Ghana Ecosystem Platform",url:"https://tcpghanaoilgas.lovable.app/"},{label:"TCPHKGP",url:"https://tcpinvestmentholdings.lovable.app/"},{label:"Touchstone Investment Holdings",url:"https://tcpinvestmentholdings.lovable.app/"},{label:"TCPGH Platform",url:"https://tcphp.lovable.app"},{label:"TCPGEnergyPlatform",url:"https://tcpenergyhubplatform.lovable.app/"}],B1=[{label:"2026 Investment Strategy",path:"/strategy/2026"},{label:"Protection",path:"/investor-protection"}],_1=[{label:"TCP Risks Mitigation",path:"/portfolio/tcp-risk-mitigation"}],z1=[{label:"TGT Overview",path:"/gold-token/tgt-overview"}],$1=[{label:"2026 IPO Plan",path:"/ipo/2026-plan"},{label:"Enterprise Valuation",path:"/ipo/valuation"}],W1=[{label:"IP Overview",path:"/ip-framework/ip-overview"},{label:"Rating",url:"https://tcprating.lovable.app"}],OE={strategy:B1,portfolio:_1,token:z1,ipo:$1,ip:W1},Kh=[{label:"Home",path:"/",hasSubmenu:"home"},{label:"Strategy",path:"/strategy",hasSubmenu:"strategy"},{label:"IP",path:"/ip-framework",hasSubmenu:"ip"},{label:"IPO",path:"/ipo",hasSubmenu:"ipo"},{label:"Token",path:"/gold-token",hasSubmenu:"token"},{label:"Portfolio",path:"/portfolio",hasSubmenu:"portfolio"},{label:"Contact",path:"/contact"},{label:"Disclaimer",path:"/disclaimer"}],FE=()=>{const e=ms(),[t,n]=w.useState(!1),r=s=>s.map(o=>o.url?a.jsxs("a",{href:o.url,target:"_blank",rel:"noopener noreferrer",onClick:()=>n(!1),className:"font-body text-xs tracking-[0.1em] uppercase text-muted-foreground hover:text-primary pl-4",children:["â ",o.label]},o.label):a.jsxs(vn,{to:o.path,onClick:()=>n(!1),className:"font-body text-xs tracking-[0.1em] uppercase text-muted-foreground hover:text-primary pl-4",children:["â ",o.label]},o.path)),i=s=>s.map(o=>a.jsxs("div",{className:"flex flex-col",children:[a.jsxs("a",{href:o.url,target:"_blank",rel:"noopener noreferrer",onClick:()=>n(!1),className:"font-body text-xs tracking-[0.1em] uppercase text-muted-foreground hover:text-primary pl-4",children:["â ",o.label]}),o.children&&a.jsx("div",{className:"flex flex-col gap-1 mt-1",children:o.children.map(l=>a.jsxs("a",{href:l.url,target:"_blank",rel:"noopener noreferrer",onClick:()=>n(!1),className:"font-body text-[10px] tracking-[0.1em] uppercase text-muted-foreground/70 hover:text-primary pl-8",children:["â ",l.label]},l.label))})]},o.label));return a.jsxs("nav",{className:"fixed top-0 left-0 right-0 z-50 bg-background/80 backdrop-blur-md border-b border-gold",children:[a.jsxs("div",{className:"container mx-auto px-6 flex items-center justify-between h-16",children:[a.jsx(vn,{to:"/",className:"flex items-center",children:a.jsx("img",{src:F1.url,alt:"Touchstone Investment Holdings Ltd",className:"h-10 md:h-11 w-auto object-contain"})}),a.jsx("div",{className:"hidden md:flex items-center gap-8",children:Kh.map(s=>s.hasSubmenu?a.jsxs("div",{className:"relative group",children:[a.jsxs(vn,{to:s.path,className:an("font-body text-xs tracking-[0.15em] uppercase transition-colors flex items-center gap-1",e.pathname===s.path?"text-primary":"text-muted-foreground hover:text-foreground"),children:[s.label,a.jsx(_N,{className:"w-3 h-3"})]}),a.jsx("div",{className:"absolute left-0 top-full pt-3 opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all",children:a.jsx("div",{className:"bg-background border border-gold min-w-[260px] py-2",children:s.hasSubmenu==="home"?Hh.map(o=>a.jsxs("div",{children:[a.jsx("a",{href:o.url,target:"_blank",rel:"noopener noreferrer",className:"block px-4 py-2 font-body text-xs tracking-[0.15em] uppercase text-muted-foreground hover:text-primary hover:bg-gold-subtle transition-colors",children:o.label}),o.children&&a.jsx("div",{className:"border-l border-gold/30 ml-4",children:o.children.map(l
348=>a.jsxs("a",{href:l.url,target:"_blank",rel:"noopener noreferrer",className:"block px-4 py-1.5 font-body text-[10px] tracking-[0.12em] uppercase text-muted-foreground/80 hover:text-primary hover:bg-gold-subtle transition-colors",children:["â ",l.label]},l.label))})]},o.label)):OE[s.hasSubmenu].map(o=>o.url?a.jsx("a",{href:o.url,target:"_blank",rel:"noopener noreferrer",className:"block px-4 py-2 font-body text-xs tracking-[0.15em] uppercase text-muted-foreground hover:text-primary hover:bg-gold-subtle transition-colors",children:o.label},o.label):a.jsx(vn,{to:o.path,className:"block px-4 py-2 font-body text-xs tracking-[0.15em] uppercase text-muted-foreground hover:text-primary hover:bg-gold-subtle transition-colors",children:o.label},o.path))})})]},s.path):a.jsx(vn,{to:s.path,className:an("font-body text-xs tracking-[0.15em] uppercase transition-colors",e.pathname===s.path?"text-primary":"text-muted-foreground hover:text-foreground"),children:s.label},s.path))}),a.jsx("button",{className:"md:hidden text-foreground",onClick:()=>n(!t),"aria-label":"Toggle menu",children:t?a.jsx(Iv,{className:"w-5 h-5"}):a.jsx(HN,{className:"w-5 h-5"})})]}),t&&a.jsx("div",{className:"md:hidden bg-background border-b border-gold",children:a.jsx("div",{className:"container mx-auto px-6 py-4 flex flex-col gap-4",children:Kh.map(s=>a.jsxs("div",{className:"flex flex-col gap-2",children:[a.jsx(vn,{to:s.path,onClick:()=>n(!1),className:an("font-body text-sm tracking-[0.1em] uppercase transition-colors",e.pathname===s.path?"text-primary":"text-muted-foreground hover:text-foreground"),children:s.label}),s.hasSubmenu==="home"&&i(Hh),s.hasSubmenu==="strategy"&&r(B1),s.hasSubmenu==="portfolio"&&r(_1),s.hasSubmenu==="token"&&r(z1),s.hasSubmenu==="ipo"&&r($1),s.hasSubmenu==="ip"&&r(W1)]},s.path))})})]})},BE=()=>a.jsx("footer",{className:"py-16 border-t border-gold",children:a.jsx("div",{className:"container mx-auto px-6",children:a.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-between gap-8",children:[a.jsxs("div",{className:"flex flex-col items-center md:items-start",children:[a.jsx("img",{src:F1.url,alt:"Touchstone Investment Holdings Ltd",className:"h-12 w-auto object-contain"}),a.jsx("p",{className:"font-body text-xs text-muted-foreground mt-2 tracking-wider",children:"Institutional Capital · Real-Economy Assets"})]}),a.jsxs("div",{className:"text-center md:text-right",children:[a.jsx("p",{className:"font-body text-xs text-muted-foreground",children:"This material is provided for informational purposes only and does not constitute an offer or solicitation."}),a.jsxs("p",{className:"font-body text-xs text-muted-foreground mt-1",children:["© ",new Date().getFullYear()," Touchstone Capital Partners. All rights reserved. ·"," ",a.jsx(vn,{to:"/disclaimer",className:"text-primary hover:underline",children:"Disclaimer"})]})]})]})})}),_E=({children:e})=>a.jsxs("div",{className:"min-h-screen bg-background flex flex-col",children:[a.jsx(FE,{}),a.jsx("main",{className:"flex-1 pt-16",children:e}),a.jsx(BE,{})]}),yp=w.createContext({});function Go(e){const t=w.useRef(null);return t.current===null&&(t.current=e()),t.current}const zE=typeof window<"u",xp=zE?w.useLayoutEffect:w.useEffect,lc=w.createContext(null);function vp(e,t){e.indexOf(t)===-1&&e.push(t)}function rs(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const dn=(e,t,n)=>n>t?t:n<e?e:n;let cc=()=>{},vr=()=>{};const br={},U1=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function G1(e){return typeof e=="object"&&e!==null}const H1=e=>/^0[^.\s]+$/u.test(e);function K1(e){let t;return()=>(t===void 0&&(t=e()),t)}const jt=e=>e,$E=(e,t)=>n=>t(e(n)),Ho=(...e)=>e.reduce($E),is=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class bp{constructor(){this.subscriptions=[]}add(t){return vp(this.subscriptions,t),()=>rs(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 s=0;s<i;s++){const o=this.subscriptions[s];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Qe=e=>e*1e3,bt=e=>e/1e3;function q1(e,t){return t?e*(1e3/t):0}const WE=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e},Q1=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,UE=1e-7,GE=12;function HE(e,t,n,r,i){let s,o,l=0;do o=t+(n-t)/2,s=Q1(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>UE&&++l<GE);return o}function Ko(e,t,n,r){if(e===t&&n===r)return jt;const i=s=>HE(s,0,1,e,n);return s=>s===0||s===1?s:Q1(i(s),t,r)}const Y1=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,X1=e=>t=>1-e(1-t),Z1=Ko(.33,1.53,.69,.99),wp=X1(Z1),J1=Y1(wp),eb=e=>e>=1?1:(e*=2)<1?.5*wp(e):.5*(2-Math.pow(2,-10*(e-1))),jp=e=>1-Math.sin(Math.acos(e)),tb=X1(jp),nb=Y1(jp),KE=Ko(.42,0,1,1),qE=Ko(0,0,.58,1),rb=Ko(.42,0,.58,1),ib=e=>Array.isArray(e)&&typeof e[0]!="number";
vendor: 28,402 bytes, line 348
348function sb(e,t){return ib(e)?e[WE(0,e.length,t)]:e}const ob=e=>Array.isArray(e)&&typeof e[0]=="number",qh={linear:jt,easeIn:KE,easeInOut:rb,easeOut:qE,circIn:jp,circInOut:nb,circOut:tb,backIn:wp,backInOut:J1,backOut:Z1,anticipate:eb},QE=e=>typeof e=="string",Qh=e=>{if(ob(e)){vr(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,i]=e;return Ko(t,n,r,i)}else if(QE(e))return vr(qh[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),qh[e];return e},ja=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],Yh={value:null,addProjectionMetrics:null};function YE(e,t){let n=new Set,r=new Set,i=!1,s=!1;const o=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1},c=0;function u(f){o.has(f)&&(d.schedule(f),e()),c++,f(l)}const d={schedule:(f,p=!1,m=!1)=>{const y=m&&i?n:r;return p&&o.add(f),y.add(f),f},cancel:f=>{r.delete(f),o.delete(f)},process:f=>{if(l=f,i){s=!0;return}i=!0;const p=n;n=r,r=p,n.forEach(u),t&&Yh.value&&Yh.value.frameloop[t].push(c),c=0,n.clear(),i=!1,s&&(s=!1,d.process(f))}};return d}const XE=40;function ab(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=ja.reduce((x,j)=>(x[j]=YE(s,t?j:void 0),x),{}),{setup:l,read:c,resolveKeyframes:u,preUpdate:d,update:f,preRender:p,render:m,postRender:v}=o,y=()=>{const x=br.useManualTiming,j=x?i.timestamp:performance.now();n=!1,x||(i.delta=r?1e3/60:Math.max(Math.min(j-i.timestamp,XE),1)),i.timestamp=j,i.isProcessing=!0,l.process(i),c.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),v.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(y))},b=()=>{n=!0,r=!0,i.isProcessing||e(y)};return{schedule:ja.reduce((x,j)=>{const k=o[j];return x[j]=(S,T=!1,C=!1)=>(n||b(),k.schedule(S,T,C)),x},{}),cancel:x=>{for(let j=0;j<ja.length;j++)o[ja[j]].cancel(x)},state:i,steps:o}}const{schedule:se,cancel:An,state:Le,steps:nu}=ab(typeof requestAnimationFrame<"u"?requestAnimationFrame:jt,!0);let $a;function ZE(){$a=void 0}const He={now:()=>($a===void 0&&He.set(Le.isProcessing||br.useManualTiming?Le.timestamp:performance.now()),$a),set:e=>{$a=e,queueMicrotask(ZE)}},lb=e=>t=>typeof t=="string"&&t.startsWith(e),cb=lb("--"),JE=lb("var(--"),kp=e=>JE(e)?e4.test(e.split("/*")[0].trim()):!1,e4=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Xh(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const hs={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},No={...hs,transform:e=>dn(0,1,e)},ka={...hs,default:1},Qs=e=>Math.round(e*1e5)/1e5,Np=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function t4(e){return e==null}const n4=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Sp=(e,t)=>n=>!!(typeof n=="string"&&n4.test(n)&&n.startsWith(e)||t&&!t4(n)&&Object.prototype.hasOwnProperty.call(n,t)),ub=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,s,o,l]=r.match(Np);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:l!==void 0?parseFloat(l):1}},r4=e=>dn(0,255,e),ru={...hs,transform:e=>Math.round(r4(e))},Vr={test:Sp("rgb","red"),parse:ub("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ru.transform(e)+", "+ru.transform(t)+", "+ru.transform(n)+", "+Qs(No.transform(r))+")"};function i4(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 Ed={test:Sp("#"),parse:i4,transform:Vr.transform},qo=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Wn=qo("deg"),cn=qo("%"),_=qo("px"),s4=qo("vh"),o4=qo("vw"),Zh={...cn,parse:e=>cn.parse(e)/100,transform:e=>cn.transform(e*100)},Ei={test:Sp("hsl","hue"),parse:ub("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+cn.transform(Qs(t))+", "+cn.transform(Qs(n))+", "+Qs(No.transform(r))+")"},ke={test:e=>Vr.test(e)||Ed.test(e)||Ei.test(e),parse:e=>Vr.test(e)?Vr.parse(e):Ei.test(e)?Ei.parse(e):Ed.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Vr.transform(e):Ei.transform(e),getAnimatableNone:e=>{const t=ke.parse(e);return t.alpha=0,ke.transform(t)}},a4=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function l4(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Np))==null?void 0:t.length)||0)+(((n=e.match(a4))==null?void 0:n.length)||0)>0}const db="number",fb="color",c4="var",u4="var(",Jh="${}",d4=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function ss(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let s=0;const l=t.replace(d4,c=>(ke.test(c)?(r.color.push(s),i.push(fb),n.push(ke.parse(c))):c.startsWith(u4)?(r.var.push(s),i.push(c4),n.push(c)):(r.number.push(s),i.push(db),n.push(parseFloat(c))),++s,Jh)).split(Jh);return{values:n,split:l,indexes:r,types:i}}function f4(e){return ss(e).values}function pb({split:e,types:t}){const n=e.length;return r=>{let i="";for(let s=0;s<n;s++)if(i+=e[s],r[s]!==void 0){const o=t[s];o===db?i+=Qs(r[s]):o===fb?i+=ke.transform(r[s]):i+=r[s]}return i}}function p4(e){return pb(ss(e))}const m4=e=>typeof e=="number"?0:ke.test(e)?ke.getAnimatableNone(e):e,h4=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:m4(e);function g4(e){const t=ss(e);return pb(t)(t.values.map((r,i)=>h4(r,t.split[i])))}const $t={test:l4,parse:f4,createTransformer:p4,getAnimatableNone:g4};function iu(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 y4({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;i=iu(c,l,e+1/3),s=iu(c,l,e),o=iu(c,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}function Cl(e,t){return n=>n>0?t:e}const le=(e,t,n)=>e+(t-e)*n,su=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},x4=[Ed,Vr,Ei],v4=e=>x4.find(t=>t.test(e));function eg(e){const t=v4(e);if(cc(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===Ei&&(n=y4(n)),n}const tg=(e,t)=>{const n=eg(e),r=eg(t);if(!n||!r)return Cl(e,t);const i={...n};return s=>(i.red=su(n.red,r.red,s),i.green=su(n.green,r.green,s),i.blue=su(n.blue,r.blue,s),i.alpha=le(n.alpha,r.alpha,s),Vr.transform(i))},Ad=new Set(["none","hidden"]);function b4(e,t){return Ad.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function w4(e,t){return n=>le(e,t,n)}function Tp(e){return typeof e=="number"?w4:typeof e=="string"?kp(e)?Cl:ke.test(e)?tg:N4:Array.isArray(e)?mb:typeof e=="object"?ke.test(e)?tg:j4:Cl}function mb(e,t){const n=[...e],r=n.length,i=e.map((s,o)=>Tp(s)(s,t[o]));return s=>{for(let o=0;o<r;o++)n[o]=i[o](s);return n}}function j4(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Tp(e[i])(e[i],t[i]));return i=>{for(const s in r)n[s]=r[s](i);return n}}function k4(e,t){const n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const s=t.types[i],o=e.indexes[s][r[s]],l=e.values[o]??0;n[i]=l,r[s]++}return n}const N4=(e,t)=>{const n=$t.createTransformer(t),r=ss(e),i=ss(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Ad.has(e)&&!i.values.length||Ad.has(t)&&!r.values.length?b4(e,t):Ho(mb(k4(r,i),i.values),n):(cc(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Cl(e,t))};function hb(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?le(e,t,n):Tp(e)(e,t)}const S4=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>se.update(t,n),stop:()=>An(t),now:()=>Le.isProcessing?Le.timestamp:He.now()}},gb=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let s=0;s<i;s++)r+=Math.round(e(s/(i-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Pl=2e4;function Cp(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Pl;)t+=n,r=e.next(t);return t>=Pl?1/0:t}function yb(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(Cp(r),Pl);return{type:"keyframes",ease:s=>r.next(i*s).value/t,duration:bt(i)}}const me={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function Md(e,t){return e*Math.sqrt(1-t*t)}const T4=12;function C4(e,t,n){let r=n;for(let i=1;i<T4;i++)r=r-e(r)/t(r);return r}const ou=.001;function P4({duration:e=me.duration,bounce:t=me.bounce,velocity:n=me.velocity,mass:r=me.mass}){let i,s;cc(e<=Qe(me.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=dn(me.minDamping,me.maxDamping,o),e=dn(me.minDuration,me.maxDuration,bt(e)),o<1?(i=u=>{const d=u*o,f=d*e,p=d-n,m=Md(u,o),v=Math.exp(-f);return ou-p/m*v},s=u=>{const f=u*o*e,p=f*n+n,m=Math.pow(o,2)*Math.pow(u,2)*e,v=Math.exp(-f),y=Md(Math.pow(u,2),o);return(-i(u)+ou>0?-1:1)*((p-m)*v)/y}):(i=u=>{const d=Math.exp(-u*e),f=(u-n)*e+1;return-ou+d*f},s=u=>{const d=Math.exp(-u*e),f=(n-u)*(e*e);return d*f});const l=5/e,c=C4(i,s,l);if(e=Qe(e),isNaN(c))return{stiffness:me.stiffness,damping:me.damping,duration:e};{const u=Math.pow(c,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const E4=["duration","bounce"],A4=["stiffness","damping","mass"];function ng(e,t){return t.some(n=>e[n]!==void 0)}function M4(e){let t={velocity:me.velocity,stiffness:me.stiffness,damping:me.damping,mass:me.mass,isResolvedFromDuration:!1,...e};if(!ng(e,A4)&&ng(e,E4))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,s=2*dn(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:me.mass,stiffness:i,damping:s}}else{const n=P4({...e,velocity:0});t={...t,...n,mass:me.mass},t.isResolvedFromDuration=!0}return t}function So(e=me.visualDuration,t=me.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const s=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],l={done:!1,value:s},{stiffness:c,damping:u,mass:d,duration:f,velocity:p,isResolvedFromDuration:m}=M4({...n,velocity:-bt(n.velocity||0)}),v=p||0,y=u/(2*Math.sqrt(c*d)),b=o-s,g=bt(Math.sqrt(c/d)),h=Math.abs(b)<5;r||(r=h?me.restSpeed.granular:me.restSpeed.default),i||(i=h?me.restDelta.granular:me.restDelta.default);let x,j,k,S,T,C;if(y<1)k=Md(g,y),S=(v+y*g*b)/k,x=E=>{const O=Math.exp(-y*g*E);return o-O*(S*Math.sin(k*E)+b*Math.cos(k*E))},T=y*g*S+b*k,C=y*g*b-S*k,j=E=>Math.exp(-y*g*E)*(T*Math.sin(k*E)+C*Math.cos(k*E));else if(y===1){x=O=>o-Math.exp(-g*O)*(b+(v+g*b)*O);const E=v+g*b;j=O=>Math.exp(-g*O)*(g*E*O-v)}else{const E=g*Math.sqrt(y*y-1);x=D=>{const K=Math.exp(-y*g*D),z=Math.min(E*D,300);return o-K*((v+y*g*b)*Math.sinh(z)+E*b*Math.cosh(z))/E};const O=(v+y*g*b)/E,L=y*g*O-b*E,W=y*g*b-O*E;j=D=>{const K=Math.exp(-y*g*D),z=Math.min(E*D,300);return K*(L*Math.sinh(z)+W*Math.cosh(z))}}const A={calculatedDuration:m&&f||null,velocity:E=>Qe(j(E)),next:E=>{if(!m&&y<1){const L=Math.exp(-y*g*E),W=Math.sin(k*E),D=Math.cos(k*E),K=o-L*(S*W+b*D),z=Qe(L*(T*W+C*D));return l.done=Math.abs(z)<=r&&Math.abs(o-K)<=i,l.value=l.done?o:K,l}const O=x(E);if(m)l.done=E>=f;else{const L=Qe(j(E));l.done=Math.abs(L)<=r&&Math.abs(o-O)<=i}return l.value=l.done?o:O,l},toString:()=>{const E=Math.min(Cp(A),Pl),O=gb(L=>A.next(E*L).value,E,30);return E+"ms "+O},toTransition:()=>{}};return A}So.applyToOptions=e=>{const t=yb(e,100,So);return e.ease=t.ease,e.duration=Qe(t.duration),e.type="keyframes",e};const R4=5;function xb(e,t,n){const r=Math.max(t-R4,0);return q1(n-e(r),t-r)}function Rd({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:l,max:c,restDelta:u=.5,restSpeed:d}){const f=e[0],p={done:!1,value:f},m=C=>l!==void 0&&C<l||c!==void 0&&C>c,v=C=>l===void 0?c:c===void 0||Math.abs(l-C)<Math.abs(c-C)?l:c;let y=n*t;const b=f+y,g=o===void 0?b:o(b);g!==b&&(y=g-f);const h=C=>-y*Math.exp(-C/r),x=C=>g+h(C),j=C=>{const A=h(C),E=x(C);p.done=Math.abs(A)<=u,p.value=p.done?g:E};let k,S;const T=C=>{m(p.value)&&(k=C,S=So({keyframes:[p.value,v(p.value)],velocity:xb(x,C,p.value),damping:i,stiffness:s,restDelta:u,restSpeed:d}))};return T(0),{calculatedDuration:null,next:C=>{let A=!1;return!S&&k===void 0&&(A=!0,j(C),T(C)),k!==void 0&&C>=k?S.next(C-k):(!A&&j(C),p)}}}function I4(e,t,n){const r=[],i=n||br.mix||hb,s=e.length-1;for(let o=0;o<s;o++){let l=i(e[o],e[o+1]);if(t){const c=Array.isArray(t)?t[o]||jt:t;l=Ho(c,l)}r.push(l)}return r}function vb(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const s=e.length;if(vr(s===t.length,"Both input and output ranges must be the same length","range-length"),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=I4(t,r,i),c=l.length,u=d=>{if(o&&d<e[0])return t[0];let f=0;if(c>1)for(;f<e.length-2&&!(d<e[f+1]);f++);const p=is(e[f],e[f+1],d);return l[f](p)};return n?d=>u(dn(e[0],e[s-1],d)):u}function bb(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=is(0,t,r);e.push(le(n,1,i))}}function wb(e){const t=[0];return bb(t,e.length-1),t}function L4(e,t){return e.map(n=>n*t)}function D4(e,t){return e.map(()=>t||rb).splice(0,e.length-1)}function Ys({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=ib(r)?r.map(Qh):Qh(r),s={done:!1,value:t[0]},o=L4(n&&n.length===t.length?n:wb(t),e),l=vb(o,t,{ease:Array.isArray(i)?i:D4(t,i)});return{calculatedDuration:e,next:c=>(s.value=l(c),s.done=c>=e,s)}}const V4=e=>e!==null;function uc(e,{repeat:t,repeatType:n="loop"},r,i=1){const s=e.filter(V4),l=i<0||t&&n!=="loop"&&t%2===1?0:s.length-1;return!l||r===void 0?s[l]:r}const O4={decay:Rd,inertia:Rd,tween:Ys,keyframes:Ys,spring:So};function jb(e){typeof e.type=="string"&&(e.type=O4[e.type])}class Pp{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const F4=e=>e/100;class El extends Pp{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var r,i;const{motionValue:n}=this.options;n&&n.updatedAt!==He.now()&&this.tick(He.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(r=this.options).onStop)==null||i.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;jb(t);const{type:n=Ys,repeat:r=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=t;let{keyframes:l}=t;const c=n||Ys;c!==Ys&&typeof l[0]!="number"&&(this.mixKeyframes=Ho(F4,hb(l[0],l[1])),l=[0,100]);const u=c({...t,keyframes:l});s==="mirror"&&(this.mirroredGenerator=c({...t,keyframes:[...l].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=Cp(u));const{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:i,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:l,calculatedDuration:c}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:d,repeat:f,repeatType:p,repeatDelay:m,type:v,onUpdate:y,finalKeyframe:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),h=this.playbackSpeed>=0?g<0:g>i;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let x=this.currentTime,j=r;if(f){const C=Math.min(this.currentTime,i)/l;let A=Math.floor(C),E=C%1;!E&&C>=1&&(E=1),E===1&&A--,A=Math.min(A,f+1),!!(A%2)&&(p==="reverse"?(E=1-E,m&&(E-=m/l)):p==="mirror"&&(j=o)),x=dn(0,1,E)*l}let k;h?(this.delayState.value=d[0],k=this.delayState):k=j.next(x),s&&!h&&(k.value=s(k.value));let{done:S}=k;!h&&c!==null&&(S=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);return T&&v!==Rd&&(k.value=uc(d,this.options,b,this.speed)),y&&y(k.value),T&&this.finish(),k}then(t,n){return this.finished.then(t,n)}get duration(){return bt(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+bt(t)}get time(){return bt(this.currentTime)}set time(t){t=Qe(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return xb(r=>this.generator.next(r).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(He.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=bt(this.currentTime))}play(){var i,s;if(this.isStopped)return;const{driver:t=S4,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),(s=(i=this.options).onPlay)==null||s.call(i);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(He.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function B4(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Or=e=>e*180/Math.PI,Id=e=>{const t=Or(Math.atan2(e[1],e[0]));return Ld(t)},_4={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Id,rotateZ:Id,skewX:e=>Or(Math.atan(e[1])),skewY:e=>Or(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Ld=e=>(e=e%360,e<0&&(e+=360),e),rg=Id,ig=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),sg=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),z4={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ig,scaleY:sg,scale:e=>(ig(e)+sg(e))/2,rotateX:e=>Ld(Or(Math.atan2(e[6],e[5]))),rotateY:e=>Ld(Or(Math.atan2(-e[2],e[0]))),rotateZ:rg,rotate:rg,skewX:e=>Or(Math.atan(e[4])),skewY:e=>Or(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Dd(e){return e.includes("scale")?1:0}function Vd(e,t){if(!e||e==="none")return Dd(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=z4,i=n;else{const l=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=_4,i=l}if(!i)return Dd(t);const s=r[t],o=i[1].split(",").map(W4);return typeof s=="function"?s(o):o[s]}const $4=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Vd(n,t)};function W4(e){return parseFloat(e.trim())}const gs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ys=new Set(gs),og=e=>e===hs||e===_,U4=new Set(["x","y","z"]),G4=gs.filter(e=>!U4.has(e));function H4(e){const t=[];return G4.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const rr={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const i=e.max-e.min;return r==="border-box"?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const i=e.max-e.min;return r==="border-box"?i:i-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:(e,{transform:t})=>Vd(t,"x"),y:(e,{transform:t})=>Vd(t,"y")};rr.translateX=rr.x;rr.translateY=rr.y;const Hr=new Set;let Od=!1,Fd=!1,Bd=!1;function kb(){if(Fd){const e=Array.from(Hr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=H4(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([s,o])=>{var l;(l=r.getValue(s))==null||l.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Fd=!1,Od=!1,Hr.forEach(e=>e.complete(Bd)),Hr.clear()}function Nb(){Hr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Fd=!0)})}function K4(){Bd=!0,Nb(),kb(),Bd=!1}class Ep{constructor(t,n,r,i,s,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(Hr.add(this),Od||(Od=!0,se.read(Nb),se.resolveKeyframes(kb))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;if(t[0]===null){const s=i==null?void 0:i.get(),o=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&n){const l=r.readValue(n,o);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=o),i&&s===void 0&&i.set(t[0])}B4(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Hr.delete(this)}cancel(){this.state==="scheduled"&&(Hr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const q4=e=>e.startsWith("--");function Sb(e,t,n){q4(t)?e.style.setProperty(t,n):e.style[t]=n}const Q4={};function Tb(e,t){const n=K1(e);return()=>Q4[t]??n()}const Y4=Tb(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Cb=Tb(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Fs=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,ag={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Fs([0,.65,.55,1]),circOut:Fs([.55,0,1,.45]),backIn:Fs([.31,.01,.66,-.59]),backOut:Fs([.33,1.53,.69,.99])};function Pb(e,t){if(e)return typeof e=="function"?Cb()?gb(e,t):"ease-out":ob(e)?Fs(e):Array.isArray(e)?e.map(n=>Pb(n,t)||ag.easeOut):ag[e]}function X4(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:l="easeOut",times:c}={},u=void 0){const d={[t]:n};c&&(d.offset=c);const f=Pb(l,i);Array.isArray(f)&&(d.easing=f);const p={delay:r,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"};return u&&(p.pseudoElement=u),e.animate(d,p)}function Ap(e){return typeof e=="function"&&"applyToOptions"in e}function Z4({type:e,...t}){return Ap(e)&&Cb()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Eb extends Pp{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:i,pseudoElement:s,allowFlatten:o=!1,finalKeyframe:l,onComplete:c}=t;this.isPseudoElement=!!s,this.allowFlatten=o,this.options=t,vr(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=Z4(t);this.animation=X4(n,r,i,u,s),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const d=uc(i,this.options,l,this.speed);this.updateMotionValue&&this.updateMotionValue(d),Sb(n,r,d),this.animation.cancel()}c==null||c(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,r,i;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((i=(r=this.animation).commitStyles)==null||i.call(r))}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return bt(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+bt(t)}get time(){return bt(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Qe(t),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:n,rangeEnd:r,observe:i}){var s;return this.allowFlatten&&((s=this.animation.effect)==null||s.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&Y4()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),jt):i(this)}}const Ab={anticipate:eb,backInOut:J1,circInOut:nb};function J4(e){return e in Ab}function e5(e){typeof e.ease=="string"&&J4(e.ease)&&(e.ease=Ab[e.ease])}const au=10;class t5 extends Eb{constructor(t){e5(t),jb(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:i,element:s,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const l=new El({...o,autoplay:!1}),c=Math.max(au,He.now()-this.startTime),u=dn(0,au,c-au),d=l.sample(c).value,{name:f}=this.options;s&&f&&Sb(s,f,d),n.setWithVelocity(l.sample(Math.max(0,c-u)).value,d,u),l.stop()}}const lg=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&($t.test(e)||e==="0")&&!e.startsWith("url("));function n5(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function r5(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],o=lg(i,t),l=lg(s,t);return cc(o===l,`You are trying to animate ${t} from "${i}" to "${s}". "${o?s:i}" is not an animatable value.`,"value-not-animatable"),!o||!l?!1:n5(e)||(n==="spring"||Ap(n))&&r}function _d(e){e.duration=0,e.type="keyframes"}const Mb=new Set(["opacity","clipPath","filter","transform"]),i5=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function s5(e){for(let t=0;t<e.length;
348t++)if(typeof e[t]=="string"&&i5.test(e[t]))return!0;return!1}const o5=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),a5=K1(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function l5(e){var f;const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:s,type:o,keyframes:l}=e;if(!(((f=t==null?void 0:t.owner)==null?void 0:f.current)instanceof HTMLElement))return!1;const{onUpdate:u,transformTemplate:d}=t.owner.getProps();return a5()&&n&&(Mb.has(n)||o5.has(n)&&s5(l))&&(n!=="transform"||!d)&&!u&&!r&&i!=="mirror"&&s!==0&&o!=="inertia"}const c5=40;class u5 extends Pp{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:o="loop",keyframes:l,name:c,motionValue:u,element:d,...f}){var v;super(),this.stop=()=>{var y,b;this._animation&&(this._animation.stop(),(y=this.stopTimeline)==null||y.call(this)),(b=this.keyframeResolver)==null||b.cancel()},this.createdAt=He.now();const p={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:s,repeatType:o,name:c,motionValue:u,element:d,...f},m=(d==null?void 0:d.KeyframeResolver)||Ep;this.keyframeResolver=new m(l,(y,b,g)=>this.onKeyframesResolved(y,b,p,!g),c,u,d),(v=this.keyframeResolver)==null||v.scheduleResolve()}onKeyframesResolved(t,n,r,i){var g,h;this.keyframeResolver=void 0;const{name:s,type:o,velocity:l,delay:c,isHandoff:u,onUpdate:d}=r;this.resolvedAt=He.now();let f=!0;r5(t,s,o,l)||(f=!1,(br.instantAnimations||!c)&&(d==null||d(uc(t,r,n))),t[0]=t[t.length-1],_d(r),r.repeat=0);const m={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>c5?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},v=f&&!u&&l5(m),y=(h=(g=m.motionValue)==null?void 0:g.owner)==null?void 0:h.current;let b;if(v)try{b=new t5({...m,element:y})}catch{b=new El(m)}else b=new El(m);b.finished.then(()=>{this.notifyFinished()}).catch(jt),this.pendingTimeline&&(this.stopTimeline=b.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=b}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),K4()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}class d5{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t){const n=this.animations.map(r=>r.attachTimeline(t));return()=>{n.forEach((r,i)=>{r&&r(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return cg(this.animations,"duration")}get iterationDuration(){return cg(this.animations,"iterationDuration")}runAll(t){this.animations.forEach(n=>n[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function cg(e,t){let n=0;for(let r=0;r<e.length;r++){const i=e[r][t];i!==null&&i>n&&(n=i)}return n}class f5 extends d5{then(t,n){return this.finished.finally(t).then(()=>{})}}function Rb(e,t,n,r=0,i=1){const s=Array.from(e).sort((u,d)=>u.sortNodePosition(d)).indexOf(t),o=e.size,l=(o-1)*r;return typeof n=="function"?n(s,o):i===1?s*r:l-s*r}const p5=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function m5(e){const t=p5.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}const h5=4;function Ib(e,t,n=1){vr(n<=h5,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,i]=m5(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const o=s.trim();return U1(o)?parseFloat(o):o}return kp(i)?Ib(i,t,n+1):i}const g5={type:"spring",stiffness:500,damping:25,restSpeed:10},y5=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),x5={type:"keyframes",duration:.8},v5={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},b5=(e,{keyframes:t})=>t.length>2?x5:ys.has(e)?e.startsWith("scale")?y5(t[1]):g5:v5;
vendor: 9,352 bytes, line 348
348function Lb(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function Mp(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?Lb(n,e):n}const w5=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function j5(e){for(const t in e)if(!w5.has(t))return!0;return!1}const Rp=(e,t,n,r={},i,s)=>o=>{const l=Mp(r,e)||{},c=l.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Qe(c);const d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-u,onUpdate:p=>{t.set(p),l.onUpdate&&l.onUpdate(p)},onComplete:()=>{o(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:s?void 0:i};j5(l)||Object.assign(d,b5(e,d)),d.duration&&(d.duration=Qe(d.duration)),d.repeatDelay&&(d.repeatDelay=Qe(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let f=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(_d(d),d.delay===0&&(f=!0)),(br.instantAnimations||br.skipAnimations||i!=null&&i.shouldSkipAnimations)&&(f=!0,_d(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,f&&!s&&t.get()!==void 0){const p=uc(d.keyframes,l);if(p!==void 0){se.update(()=>{d.onUpdate(p),d.onComplete()});return}}return l.isSync?new El(d):new u5(d)};function ug(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Ip(e,t,n,r){if(typeof t=="function"){const[i,s]=ug(r);t=t(n!==void 0?n:e.custom,i,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,s]=ug(r);t=t(n!==void 0?n:e.custom,i,s)}return t}function Kr(e,t,n){const r=e.getProps();return Ip(r,t,n!==void 0?n:r.custom,e)}const Db=new Set(["width","height","top","left","right","bottom",...gs]),dg=30,k5=e=>!isNaN(parseFloat(e)),Xs={current:void 0};class N5{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var s;const i=He.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((s=this.events.change)==null||s.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=He.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=k5(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new bp);const r=this.events[t].add(n);return t==="change"?()=>{r(),se.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){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return Xs.current&&Xs.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=He.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>dg)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,dg);return q1(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}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(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function wr(e,t){return new N5(e,t)}const zd=e=>Array.isArray(e);function S5(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,wr(n))}function T5(e){return zd(e)?e[e.length-1]||0:e}function C5(e,t){const n=Kr(e,t);let{transitionEnd:r={},transition:i={},...s}=n||{};s={...s,...r};for(const o in s){const l=T5(s[o]);S5(e,o,l)}}const Ee=e=>!!(e&&e.getVelocity);function P5(e){return!!(Ee(e)&&e.add)}function $d(e,t){const n=e.getValue("willChange");if(P5(n))return n.add(t);if(!n&&br.WillChange){const r=new br.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function Lp(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const E5="framerAppearId",Vb="data-"+Lp(E5);function Ob(e){return e.props[Vb]}function A5({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Dp(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:s,transitionEnd:o,...l}=t;const c=e.getDefaultTransition();s=s?Lb(s,c):c;const u=s==null?void 0:s.reduceMotion;r&&(s=r);const d=[],f=i&&e.animationState&&e.animationState.getState()[i];for(const p in l){const m=e.getValue(p,e.latestValues[p]??null),v=l[p];if(v===void 0||f&&A5(f,p))continue;const y={delay:n,...Mp(s||{},p)},b=m.get();if(b!==void 0&&!m.isAnimating()&&!Array.isArray(v)&&v===b&&!y.velocity){se.update(()=>m.set(v));continue}let g=!1;if(window.MotionHandoffAnimation){const j=Ob(e);if(j){const k=window.MotionHandoffAnimation(j,p,se);k!==null&&(y.startTime=k,g=!0)}}$d(e,p);const h=u??e.shouldReduceMotion;m.start(Rp(p,m,v,h&&Db.has(p)?{type:!1}:y,e,g));const x=m.animation;x&&d.push(x)}if(o){const p=()=>se.update(()=>{o&&C5(e,o)});d.length?Promise.all(d).then(p):p()}return d}function Wd(e,t,n={}){var c;const r=Kr(e,t,n.type==="exit"?(c=e.presenceContext)==null?void 0:c.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const s=r?()=>Promise.all(Dp(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:f,staggerDirection:p}=i;return M5(e,t,u,d,f,p,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[u,d]=l==="beforeChildren"?[s,o]:[o,s];return u().then(()=>d())}else return Promise.all([s(),o(n.delay)])}function M5(e,t,n=0,r=0,i=0,s=1,o){const l=[];for(const c of e.variantChildren)c.notify("AnimationStart",t),l.push(Wd(c,t,{...o,delay:n+(typeof r=="function"?0:r)+Rb(e.variantChildren,c,r,i,s)}).then(()=>c.notify("AnimationComplete",t)));return Promise.all(l)}function R5(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(s=>Wd(e,s,n));r=Promise.all(i)}else if(typeof t=="string")r=Wd(e,t,n);else{const i=typeof t=="function"?Kr(e,t,n.custom):t;r=Promise.all(Dp(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const I5={test:e=>e==="auto",parse:e=>e},Fb=e=>t=>t.test(e),Bb=[hs,_,cn,Wn,o4,s4,I5],fg=e=>Bb.find(Fb(e));function L5(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||H1(e):!0}const D5=new Set(["brightness","contrast","saturate","opacity"]);function V5(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Np)||[];if(!r)return e;const i=n.replace(r,"");let s=D5.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const O5=/\b([a-z-]*)\(.*?\)/gu,Ud={...$t,getAnimatableNone:e=>{const t=e.match(O5);return t?t.map(V5).join(" "):e}},Gd={...$t,getAnimatableNone:e=>{const t=$t.parse(e);return $t.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},pg={...hs,transform:Math.round},F5={rotate:Wn,rotateX:Wn,rotateY:Wn,rotateZ:Wn,scale:ka,scaleX:ka,scaleY:ka,scaleZ:ka,skew:Wn,skewX:Wn,skewY:Wn,distance:_,translateX:_,translateY:_,translateZ:_,x:_,y:_,z:_,perspective:_,transformPerspective:_,opacity:No,originX:Zh,originY:Zh,originZ:_},Vp={borderWidth:_,borderTopWidth:_,borderRightWidth:_,borderBottomWidth:_,borderLeftWidth:_,borderRadius:_,borderTopLeftRadius:_,borderTopRightRadius:_,borderBottomRightRadius:_,borderBottomLeftRadius:_,width:_,maxWidth:_,height:_,maxHeight:_,top:_,right:_,bottom:_,left:_,inset:_,insetBlock:_,insetBlockStart:_,insetBlockEnd:_,insetInline:_,insetInlineStart:_,insetInlineEnd:_,padding:_,paddingTop:_,paddingRight:_,paddingBottom:_,paddingLeft:_,paddingBlock:_,paddingBlockStart:_,paddingBlockEnd:_,paddingInline:_,paddingInlineStart:_,paddingInlineEnd:_,margin:_,marginTop:_,marginRight:_,marginBottom:_,marginLeft:_,marginBlock:_,marginBlockStart:_,marginBlockEnd:_,marginInline:_,marginInlineStart:_,marginInlineEnd:_,fontSize:_,backgroundPositionX:_,backgroundPositionY:_,...F5,zIndex:pg,fillOpacity:No,strokeOpacity:No,numOctaves:pg},B5={...Vp,color:ke,backgroundColor:ke,outlineColor:ke,fill:ke,stroke:ke,borderColor:ke,borderTopColor:ke,borderRightColor:ke,borderBottomColor:ke,borderLeftColor:ke,filter:Ud,WebkitFilter:Ud,mask:Gd,WebkitMask:Gd},_b=e=>B5[e],_5=new Set([Ud,Gd]);function zb(e,t){let n=_b(e);return _5.has(n)||(n=$t),n.getAnimatableNone?n.getAnimatableNone(t):void 0}
vendor: 1,717 bytes, line 348
348const z5=new Set(["auto","none","0"]);function $5(e,t,n){let r=0,i;for(;r<e.length&&!i;){const s=e[r];typeof s=="string"&&!z5.has(s)&&ss(s).values.length&&(i=e[r]),r++}if(i&&n)for(const s of t)e[s]=zb(n,i)}class W5 extends Ep{constructor(t,n,r,i,s){super(t,n,r,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let d=0;d<t.length;d++){let f=t[d];if(typeof f=="string"&&(f=f.trim(),kp(f))){const p=Ib(f,n.current);p!==void 0&&(t[d]=p),d===t.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!Db.has(r)||t.length!==2)return;const[i,s]=t,o=fg(i),l=fg(s),c=Xh(i),u=Xh(s);if(c!==u&&rr[r]){this.needsMeasurement=!0;return}if(o!==l)if(og(o)&&og(l))for(let d=0;d<t.length;d++){const f=t[d];typeof f=="string"&&(t[d]=parseFloat(f))}else rr[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)(t[i]===null||L5(t[i]))&&r.push(i);r.length&&$5(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=rr[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var l;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const s=r.length-1,o=r[s];r[s]=rr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),(l=this.removedTransforms)!=null&&l.length&&this.removedTransforms.forEac
vendor: 51,304 bytes, line 348
348h(([c,u])=>{t.getValue(c).set(u)}),this.resolveNoneKeyframes()}}function dc(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;t&&(r=t.current);const i=(n==null?void 0:n[e])??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(r=>r!=null)}const $b=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Wa(e){return G1(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:Op,cancel:PI}=ab(queueMicrotask,!1),It={x:!1,y:!1};function Wb(){return It.x||It.y}function U5(e){return e==="x"||e==="y"?It[e]?null:(It[e]=!0,()=>{It[e]=!1}):It.x||It.y?null:(It.x=It.y=!0,()=>{It.x=It.y=!1})}function Ub(e,t){const n=dc(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function G5(e){return!(e.pointerType==="touch"||Wb())}function H5(e,t,n={}){const[r,i,s]=Ub(e,n);return r.forEach(o=>{let l=!1,c=!1,u;const d=()=>{o.removeEventListener("pointerleave",v)},f=b=>{u&&(u(b),u=void 0),d()},p=b=>{l=!1,window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",p),c&&(c=!1,f(b))},m=()=>{l=!0,window.addEventListener("pointerup",p,i),window.addEventListener("pointercancel",p,i)},v=b=>{if(b.pointerType!=="touch"){if(l){c=!0;return}f(b)}},y=b=>{if(!G5(b))return;c=!1;const g=t(o,b);typeof g=="function"&&(u=g,o.addEventListener("pointerleave",v,i))};o.addEventListener("pointerenter",y,i),o.addEventListener("pointerdown",m,i)}),s}const Gb=(e,t)=>t?e===t?!0:Gb(e,t.parentElement):!1,Fp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,K5=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function q5(e){return K5.has(e.tagName)||e.isContentEditable===!0}const Q5=new Set(["INPUT","SELECT","TEXTAREA"]);function Y5(e){return Q5.has(e.tagName)||e.isContentEditable===!0}const Ua=new WeakSet;function mg(e){return t=>{t.key==="Enter"&&e(t)}}function lu(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const X5=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=mg(()=>{if(Ua.has(n))return;lu(n,"down");const i=mg(()=>{lu(n,"up")}),s=()=>lu(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",s,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function hg(e){return Fp(e)&&!Wb()}const gg=new WeakSet;function Z5(e,t,n={}){const[r,i,s]=Ub(e,n),o=l=>{const c=l.currentTarget;if(!hg(l)||gg.has(l))return;Ua.add(c),n.stopPropagation&&gg.add(l);const u=t(c,l),d=(m,v)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",p),Ua.has(c)&&Ua.delete(c),hg(m)&&typeof u=="function"&&u(m,{success:v})},f=m=>{d(m,c===window||c===document||n.useGlobalTarget||Gb(c,m.target))},p=m=>{d(m,!1)};window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",p,i)};return r.forEach(l=>{(n.useGlobalTarget?window:l).addEventListener("pointerdown",o,i),Wa(l)&&(l.addEventListener("focus",u=>X5(u,i)),!q5(l)&&!l.hasAttribute("tabindex")&&(l.tabIndex=0))}),s}function fc(e){return G1(e)&&"ownerSVGElement"in e}const Ga=new WeakMap;let Un;const Hb=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+"Size"]:fc(r)&&"getBBox"in r?r.getBBox()[t]:r[n],J5=Hb("inline","width","offsetWidth"),e3=Hb("block","height","offsetHeight");function t3({target:e,borderBoxSize:t}){var n;(n=Ga.get(e))==null||n.forEach(r=>{r(e,{get width(){return J5(e,t)},get height(){return e3(e,t)}})})}function n3(e){e.forEach(t3)}function r3(){typeof ResizeObserver>"u"||(Un=new ResizeObserver(n3))}function i3(e,t){Un||r3();const n=dc(e);return n.forEach(r=>{let i=Ga.get(r);i||(i=new Set,Ga.set(r,i)),i.add(t),Un==null||Un.observe(r)}),()=>{n.forEach(r=>{const i=Ga.get(r);i==null||i.delete(t),i!=null&&i.size||Un==null||Un.unobserve(r)})}}const Ha=new Set;let Ai;function s3(){Ai=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Ha.forEach(t=>t(e))},window.addEventListener("resize",Ai)}function o3(e){return Ha.add(e),Ai||s3(),()=>{Ha.delete(e),!Ha.size&&typeof Ai=="function"&&(window.removeEventListener("resize",Ai),Ai=void 0)}}function yg(e,t){return typeof e=="function"?o3(e):i3(e,t)}function Kb(e){return fc(e)&&e.tagName==="svg"}function a3(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],s=e[2+n],o=e[3+n],l=vb(i,s,o);return t?l(r):l}const l3=[...Bb,ke,$t],c3=e=>l3.find(Fb(e)),xg=()=>({translate:0,scale:1,origin:0,originPoint:0}),Mi=()=>({x:xg(),y:xg()}),vg=()=>({min:0,max:0}),je=()=>({x:vg(),y:vg()}),To=new WeakMap;function pc(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Co(e){return typeof e=="string"||Array.isArray(e)}const Bp=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],_p=["initial",...Bp];function mc(e){return pc(e.animate)||_p.some(t=>Co(e[t]))}function qb(e){return!!(mc(e)||e.variants)}function u3(e,t,n){for(const r in t){const i=t[r],s=n[r];if(Ee(i))e.addValue(r,i);else if(Ee(s))e.addValue(r,wr(i,{owner:e}));else if(s!==i)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=e.getStaticValue(r);e.addValue(r,wr(o!==void 0?o:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Hd={current:null},Qb={current:!1},d3=typeof window<"u";function f3(){if(Qb.current=!0,!!d3)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Hd.current=e.matches;e.addEventListener("change",t),t()}else Hd.current=!1}const bg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Al={};function Yb(e){Al=e}function p3(){return Al}class Xb{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,skipAnimations:s,blockInitialAnimation:o,visualState:l},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Ep,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const m=He.now();this.renderScheduledAt<m&&(this.renderScheduledAt=m,se.render(this.render,!1,!0))};const{latestValues:u,renderState:d}=l;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=d,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=s,this.options=c,this.blockInitialAnimation=!!o,this.isControllingVariants=mc(n),this.isVariantNode=qb(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...p}=this.scrapeMotionValuesFromProps(n,{},this);for(const m in p){const v=p[m];u[m]!==void 0&&Ee(v)&&v.set(u[m])}}mount(t){var n,r;if(this.hasBeenMounted)for(const i in this.initialValues)(n=this.values.get(i))==null||n.jump(this.initialValues[i]),this.latestValues[i]=this.initialValues[i];this.current=t,To.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.forEach((i,s)=>this.bindToMotionValue(s,i)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Qb.current||f3(),this.shouldReduceMotion=Hd.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),An(this.notifyUpdate),An(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&Mb.has(t)&&this.current instanceof HTMLElement){const{factory:o,keyframes:l,times:c,ease:u,duration:d}=n.accelerate,f=new Eb({element:this.current,name:t,keyframes:l,times:c,ease:u,duration:Qe(d)}),p=o(f);this.valueSubscriptions.set(t,()=>{p(),f.cancel()});return}const r=ys.has(t);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&se.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let s;typeof window<"u"&&window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),s&&s(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Al){const n=Al[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):je()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=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<bg.length;r++){const i=bg[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const s="on"+i,o=t[s];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=u3(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),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}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&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=wr(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(U1(r)||H1(r))?r=parseFloat(r):!c3(r)&&$t.test(n)&&(r=zb(t,n)),this.setBaseTarget(t,Ee(r)?r.get():r)),Ee(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var s;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=Ip(this.props,n,(s=this.presenceContext)==null?void 0:s.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Ee(i)?i:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new bp),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Op.render(this.render)}}class Zb extends Xb{constructor(){super(...arguments),this.KeyframeResolver=W5}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Ee(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class Sr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Jb({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function m3({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function h3(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 cu(e){return e===void 0||e===1}function Kd({scale:e,scaleX:t,scaleY:n}){return!cu(e)||!cu(t)||!cu(n)}function Rr(e){return Kd(e)||ew(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function ew(e){return wg(e.x)||wg(e.y)}function wg(e){return e&&e!=="0%"}function Ml(e,t,n){const r=e-n,i=t*r;return n+i}function jg(e,t,n,r,i){return i!==void 0&&(e=Ml(e,i,r)),Ml(e,n,r)+t}function qd(e,t=0,n=1,r,i){e.min=jg(e.min,t,n,r,i),e.max=jg(e.max,t,n,r,i)}function tw(e,{x:t,y:n}){qd(e.x,t.translate,t.scale,t.originPoint),qd(e.y,n.translate,n.scale,n.originPoint)}const kg=.999999999999,Ng=1.0000000000001;function g3(e,t,n,r=!1){var l;const i=n.length;if(!i)return;t.x=t.y=1;let s,o;for(let c=0;c<i;c++){s=n[c],o=s.projectionDelta;const{visualElement:u}=s.options;u&&u.props.style&&u.props.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(tn(e.x,-s.scroll.offset.x),tn(e.y,-s.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,tw(e,o)),r&&Rr(s.latestValues)&&Ka(e,s.latestValues,(l=s.layout)==null?void 0:l.layoutBox))}t.x<Ng&&t.x>kg&&(t.x=1),t.y<Ng&&t.y>kg&&(t.y=1)}function tn(e,t){e.min+=t,e.max+=t}function Sg(e,t,n,r,i=.5){const s=le(e.min,e.max,i);qd(e,t,n,s,r)}function Tg(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function Ka(e,t,n){const r=n??e;Sg(e.x,Tg(t.x,r.x),t.scaleX,t.scale,t.originX),Sg(e.y,Tg(t.y,r.y),t.scaleY,t.scale,t.originY)}function nw(e,t){return Jb(h3(e.getBoundingClientRect(),t))}function y3(e,t,n){const r=nw(e,n),{scroll:i}=t;return i&&(tn(r.x,i.offset.x),tn(r.y,i.offset.y)),r}const x3={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},v3=gs.length;function b3(e,t,n){let r="",i=!0;for(let s=0;s<v3;s++){const o=gs[s],l=e[o];if(l===void 0)continue;let c=!0;if(typeof l=="number")c=l===(o.startsWith("scale")?1:0);else{const u=parseFloat(l);c=o.startsWith("scale")?u===1:u===0}if(!c||n){const u=$b(l,Vp[o]);if(!c){i=!1;const d=x3[o]||o;r+=`${d}(${u}) `}n&&(t[o]=u)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function zp(e,t,n){const{style:r,vars:i,transformOrigin:s}=e;let o=!1,l=!1;for(const c in t){const u=t[c];if(ys.has(c)){o=!0;continue}else if(cb(c)){i[c]=u;continue}else{const d=$b(u,Vp[c]);c.startsWith("origin")?(l=!0,s[c]=d):r[c]=d}}if(t.transform||(o||n?r.transform=b3(t,e.transform,n):r.transform&&(r.transform="none")),l){const{originX:c="50%",originY:u="50%",originZ:d=0}=s;r.transformOrigin=`${c} ${u} ${d}`}}function rw(e,{style:t,vars:n},r,i){const s=e.style;let o;for(o in t)s[o]=t[o];i==null||i.applyProjectionStyles(s,r);for(o in n)s.setProperty(o,n[o])}function Cg(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const As={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(_.test(e))e=parseFloat(e);else return e;const n=Cg(e,t.target.x),r=Cg(e,t.target.y);return`${n}% ${r}%`}},w3={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=$t.parse(e);if(i.length>5)return r;const s=$t.createTransformer(e),o=typeof i[0]!="number"?1:0,l=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=l,i[1+o]/=c;const u=le(l,c,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),s(i)}},Qd={borderRadius:{...As,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:As,borderTopRightRadius:As,borderBottomLeftRadius:As,borderBottomRightRadius:As,boxShadow:w3};function iw(e,{layout:t,layoutId:n}){return ys.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Qd[e]||e==="opacity")}function $p(e,t,n){var o;const r=e.style,i=t==null?void 0:t.style,s={};if(!r)return s;for(const l in r)(Ee(r[l])||i&&Ee(i[l])||iw(l,e)||((o=n==null?void 0:n.getValue(l))==null?void 0:o.liveStyle)!==void 0)&&(s[l]=r[l]);return s}function j3(e){return window.getComputedStyle(e)}class sw extends Zb{constructor(){super(...arguments),this.type="html",this.renderInstance=rw}readValueFromInstance(t,n){var r;if(ys.has(n))return(r=this.projection)!=null&&r.isProjecting?Dd(n):$4(t,n);{const i=j3(t),s=(cb(n)?i.getPropertyValue(n):i[n])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:n}){return nw(t,n)}build(t,n,r){zp(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return $p(t,n,r)}}function k3(e,t){return e in t}class N3 extends Xb{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,n){if(k3(n,t)){const r=t[n];if(typeof r=="string"||typeof r=="number")return r}}getBaseTargetFromProps(){}removeValueFromRenderState(t,n){delete n.output[t]}measureInstanceViewportBox(){return je()}build(t,n){Object.assign(t.output,n)}renderInstance(t,{output:n}){Object.assign(t,n)}sortInstanceNodePosition(){return 0}}const S3={offset:"stroke-dashoffset",array:"stroke-dasharray"},T3={offset:"strokeDashoffset",array:"strokeDasharray"};function C3(e,t,n=1,r=0,i=!0){e.pathLength=1;const s=i?S3:T3;e[s.offset]=`${-r}`,e[s.array]=`${t} ${n}`}const P3=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function ow(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:s=1,pathOffset:o=0,...l},c,u,d){if(zp(e,l,u),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:p}=e;f.transform&&(p.transform=f.transform,delete f.transform),(p.transform||f.transformOrigin)&&(p.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),p.transform&&(p.transformBox=(d==null?void 0:d.transformBox)??"fill-box",delete f.transformBox);for(const m of P3)f[m]!==void 0&&(p[m]=f[m],delete f[m]);t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),i!==void 0&&C3(f,i,s,o,!1)}const aw=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"]),lw=e=>typeof e=="string"&&e.toLowerCase()==="svg";function E3(e,t,n,r){rw(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(aw.has(i)?i:Lp(i),t.attrs[i])}function cw(e,t,n){const r=$p(e,t,n);for(const i in e)if(Ee(e[i])||Ee(t[i])){const s=gs.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}class uw extends Zb{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=je}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(ys.has(n)){const r=_b(n);return r&&r.default||0}return n=aw.has(n)?n:Lp(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return cw(t,n,r)}build(t,n,r){ow(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,i){E3(t,n,r,i)}mount(t){this.isSVGTag=lw(t.tagName),super.mount(t)}}const A3=_p.length;function dw(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?dw(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<A3;n++){const r=_p[n],i=e.props[r];(Co(i)||i===!1)&&(t[r]=i)}return t}function fw(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}const M3=[...Bp].reverse(),R3=Bp.length;function I3(e){return t=>Promise.all(t.map(({animation:n,options:r})=>R5(e,n,r)))}function L3(e){let t=I3(e),n=Pg(),r=!0,i=!1;const s=u=>(d,f)=>{var m;const p=Kr(e,f,u==="exit"?(m=e.presenceContext)==null?void 0:m.custom:void 0);if(p){const{transition:v,transitionEnd:y,...b}=p;d={...d,...b,...y}}return d};function o(u){t=u(e)}function l(u){const{props:d}=e,f=dw(e.parent)||{},p=[],m=new Set;let v={},y=1/0;for(let g=0;g<R3;g++){const h=M3[g],x=n[h],j=d[h]!==void 0?d[h]:f[h],k=Co(j),S=h===u?x.isActive:null;S===!1&&(y=g);let T=j===f[h]&&j!==d[h]&&k;if(T&&(r||i)&&e.manuallyAnimateOnMount&&(T=!1),x.protectedKeys={...v},!x.isActive&&S===null||!j&&!x.prevProp||pc(j)||typeof j=="boolean")continue;if(h==="exit"&&x.isActive&&S!==!0){x.prevResolvedValues&&(v={...v,...x.prevResolvedValues});continue}const C=D3(x.prevProp,j);let A=C||h===u&&x.isActive&&!T&&k||g>y&&k,E=!1;const O=Array.isArray(j)?j:[j];let L=O.reduce(s(h),{});S===!1&&(L={});const{prevResolvedValues:W={}}=x,D={...W,...L},K=P=>{A=!0,m.has(P)&&(E=!0,m.delete(P)),x.needsAnimating[P]=!0;const M=e.getValue(P);M&&(M.liveStyle=!1)};for(const P in D){const M=L[P],F=W[P];if(v.hasOwnProperty(P))continue;let G=!1;zd(M)&&zd(F)?G=!fw(M,F):G=M!==F,G?M!=null?K(P):m.add(P):M!==void 0&&m.has(P)?K(P):x.protectedKeys[P]=!0}x.prevProp=j,x.prevResolvedValues=L,x.isActive&&(v={...v,...L}),(r||i)&&e.blockInitialAnimation&&(A=!1);const z=T&&C;A&&(!z||E)&&p.push(...O.map(P=>{const M={type:h};if(typeof P=="string"&&(r||i)&&!z&&e.manuallyAnimateOnMount&&e.parent){const{parent:F}=e,G=Kr(F,P);if(F.enteringChildren&&G){const{delayChildren:$}=G.transition||{};M.delay=Rb(F.enteringChildren,e,$)}}return{animation:P,options:M}}))}if(m.size){const g={};if(typeof d.initial!="boolean"){const h=Kr(e,Array.isArray(d.initial)?d.initial[0]:d.initial);h&&h.transition&&(g.transition=h.transition)}m.forEach(h=>{const x=e.getBaseTarget(h),j=e.getValue(h);j&&(j.liveStyle=!0),g[h]=x??null}),p.push({animation:g})}let b=!!p.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(b=!1),r=!1,i=!1,b?t(p):Promise.resolve()}function c(u,d){var p;if(n[u].isActive===d)return Promise.resolve();(p=e.variantChildren)==null||p.forEach(m=>{var v;return(v=m.animationState)==null?void 0:v.setActive(u,d)}),n[u].isActive=d;const f=l(u);for(const m in n)n[m].protectedKeys={};return f}return{animateChanges:l,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Pg(),i=!0}}}function D3(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!fw(t,e):!1}function Er(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Pg(){return{animate:Er(!0),whileInView:Er(),whileHover:Er(),whileTap:Er(),whileDrag:Er(),whileFocus:Er(),exit:Er()}}function Yd(e,t){e.min=t.min,e.max=t.max}function Rt(e,t){Yd(e.x,t.x),Yd(e.y,t.y)}function Eg(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const pw=1e-4,V3=1-pw,O3=1+pw,mw=.01,F3=0-mw,B3=0+mw;function Ke(e){return e.max-e.min}function _3(e,t,n){return Math.abs(e-t)<=n}function Ag(e,t,n,r=.5){e.origin=r,e.originPoint=le(t.min,t.max,e.origin),e.scale=Ke(n)/Ke(t),e.translate=le(n.min,n.max,e.origin)-e.originPoint,(e.scale>=V3&&e.scale<=O3||isNaN(e.scale))&&(e.scale=1),(e.translate>=F3&&e.translate<=B3||isNaN(e.translate))&&(e.translate=0)}function Zs(e,t,n,r){Ag(e.x,t.x,n.x,r?r.originX:void 0),Ag(e.y,t.y,n.y,r?r.originY:void 0)}function Mg(e,t,n,r=0){const i=r?le(n.min,n.max,r):n.min;e.min=i+t.min,e.max=e.min+Ke(t)}function z3(e,t,n,r){Mg(e.x,t.x,n.x,r==null?void 0:r.x),Mg(e.y,t.y,n.y,r==null?void 0:r.y)}function Rg(e,t,n,r=0){const i=r?le(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Ke(t)}function Rl(e,t,n,r){Rg(e.x,t.x,n.x,r==null?void 0:r.x),Rg(e.y,t.y,n.y,r==null?void 0:r.y)}function Ig(e,t,n,r,i){return e-=t,e=Ml(e,1/n,r),i!==void 0&&(e=Ml(e,1/i,r)),e}function $3(e,t=0,n=1,r=.5,i,s=e,o=e){if(cn.test(t)&&(t=parseFloat(t),t=le(o.min,o.max,t/100)-o.min),typeof t!="number")return;let l=le(s.min,s.max,r);e===s&&(l-=t),e.min=Ig(e.min,t,n,l,i),e.max=Ig(e.max,t,n,l,i)}function Lg(e,t,[n,r,i],s,o){$3(e,t[n],t[r],t[i],t.scale,s,o)}const W3=["x","scaleX","originX"],U3=["y","scaleY","originY"];function Dg(e,t,n,r){Lg(e.x,t,W3,n?n.x:void 0,r?r.x:void 0),Lg(e.y,t,U3,n?n.y:void 0,r?r.y:void 0)}function Vg(e){return e.translate===0&&e.scale===1}function hw(e){return Vg(e.x)&&Vg(e.y)}function Og(e,t){return e.min===t.min&&e.max===t.max}function G3(e,t){return Og(e.x,t.x)&&Og(e.y,t.y)}function Fg(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function gw(e,t){return Fg(e.x,t.x)&&Fg(e.y,t.y)}function Bg(e){return Ke(e.x)/Ke(e.y)}function _g(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Xt(e){return[e("x"),e("y")]}function H3(e,t,n){let r="";const i=e.x.translate/t.x,s=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((i||s||o)&&(r=`translate3d(${i}px, ${s}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:d,rotateX:f,rotateY:p,skewX:m,skewY:v}=n;u&&(r=`perspective(${u}px) ${r}`),d&&(r+=`rotate(${d}deg) `),f&&(r+=`rotateX(${f}deg) `),p&&(r+=`rotateY(${p}deg) `),m&&(r+=`skewX(${m}deg) `),v&&(r+=`skewY(${v}deg) `)}const l=e.x.scale*t.x,c=e.y.scale*t.y;return(l!==1||c!==1)&&(r+=`scale(${l}, ${c})`),r||"none"}const yw=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],K3=yw.length,zg=e=>typeof e=="string"?parseFloat(e):e,$g=e=>typeof e=="number"||_.test(e);function q3(e,t,n,r,i,s){i?(e.opacity=le(0,n.opacity??1,Q3(r)),e.opacityExit=le(t.opacity??1,0,Y3(r))):s&&(e.opacity=le(t.opacity??1,n.opacity??1,r));for(let o=0;o<K3;o++){const l=yw[o];let c=Wg(t,l),u=Wg(n,l);if(c===void 0&&u===void 0)continue;c||(c=0),u||(u=0),c===0||u===0||$g(c)===$g(u)?(e[l]=Math.max(le(zg(c),zg(u),r),0),(cn.test(u)||cn.test(c))&&(e[l]+="%")):e[l]=u}(t.rotate||n.rotate)&&(e.rotate=le(t.rotate||0,n.rotate||0,r))}function Wg(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Q3=xw(0,.5,tb),Y3=xw(.5,.95,jt);function xw(e,t,n){return r=>r<e?0:r>t?1:n(is(e,t,r))}function vw(e,t,n){const r=Ee(e)?e:wr(e);return r.start(Rp("",r,t,n)),r.animation}function Po(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const X3=(e,t)=>e.depth-t.depth;class Z3{constructor(){this.children=[],this.isDirty=!1}add(t){vp(this.children,t),this.isDirty=!0}remove(t){rs(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(X3),this.isDirty=!1,this.children.forEach(t)}}function J3(e,t){const n=He.now(),r=({timestamp:i})=>{const s=i-n;s>=t&&(An(r),e(s-t))};return se.setup(r,!0),()=>An(r)}function qa(e){return Ee(e)?e.get():e}class eA{constructor(){this.members=[]}add(t){vp(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const i=r.instance;(!i||i.isConnected===!1)&&!r.snapshot&&(rs(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(rs(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){var n;for(let r=this.members.indexOf(t)-1;r>=0;r--){const i=this.members[r];if(i.isPresent!==!1&&((n=i.instance)==null?void 0:n.isConnected)!==!1)return this.promote(i),!0}return!1}promote(t,n){var i;const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:s}=r.options,{layoutDependency:o}=t.options;(s===void 0||s!==o)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),(i=t.root)!=null&&i.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,i,s,o;(r=(n=t.options).onExitComplete)==null||r.call(n),(o=(i=t.resumingFrom)==null?void 0:(s=i.options).onExitComplete)==null||o.call(s)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;(t=this.lead)!=null&&t.snapshot&&(this.lead.snapshot=void 0)}}const Qa={hasAnimatedSinceResize:!0,hasEverUpdated:!1},uu=["","X","Y","Z"],tA=1e3;let nA=0;function du(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function bw(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Ob(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",se,!(i||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&bw(r)}function ww({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},l=t==null?void 0:t()){this.id=nA++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(sA),this.nodes.forEach(dA),this.nodes.forEach(fA),this.nodes.forEach(oA)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new Z3)}addEventListener(o,l){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new bp),this.eventHandlers.get(o).add(l)}notifyListeners(o,...l){const c=this.eventHandlers.get(o);c&&c.notify(...l)}hasListeners(o){return this.eventHandlers.has(o)}mount(o){if(this.instance)return;this.isSVG=fc(o)&&!Kb(o),this.instance=o;const{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(c||l)&&(this.isLayoutDirty=!0),e){let d,f=0;const p=()=>this.root.updateBlockedByResize=!1;se.read(()=>{f=window.innerWidth}),e(o,()=>{const m=window.innerWidth;m!==f&&(f=m,this.root.updateBlockedByResize=!0,d&&d(),d=J3(p,250),Qa.hasAnimatedSinceResize&&(Qa.hasAnimatedSinceResize=!1,this.nodes.forEach(Hg)))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeLayoutChanged:p,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||u.getDefaultTransition()||yA,{onLayoutAnimationStart:y,onLayoutAnimationComplete:b}=u.getProps(),g=!this.targetLayout||!gw(this.targetLayout,m),h=!f&&p;if(this.options.layoutRoot||this.resumeFrom||h||f&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const x={...Mp(v,"layout"),onPlay:y,onComplete:b};(u.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x),this.setAnimationOrigin(d,h)}else f||Hg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),An(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(pA),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&bw(this),!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,(typeof f.latestValues.x=="string"||typeof f.latestValues.y=="string")&&(f.isLayoutDirty=!0),f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:l,layout:c}=this.options;if(l===void 0&&!c)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const c=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),c&&this.nodes.forEach(lA),this.nodes.forEach(Ug);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Gg);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(cA),this.nodes.forEach(uA),this.nodes.forEach(rA),this.nodes.forEach(iA)):this.nodes.forEach(Gg),this.clearAllSnapshots();const l=He.now();Le.delta=dn(0,1e3/60,l-Le.timestamp),Le.timestamp=l,Le.isProcessing=!0,nu.update.process(Le),nu.preRender.process(Le),nu.render.process(Le),Le.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Op.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(aA),this.sharedNodes.forEach(mA)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,se.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){se.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ke(this.snapshot.measuredBox.x)&&!Ke(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c<this.path.length;c++)this.path[c].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=je()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:l}=this.options;l&&l.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let l=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(l=!1),l&&this.instance){const c=r(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:c,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!i)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!hw(this.projectionDelta),c=this.getTransformTemplate(),u=c?c(this.latestValues,""):void 0,d=u!==this.prevTransformTemplateValue;o&&this.instance&&(l||Rr(this.latestValues)||d)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const l=this.measurePageBox();let c=this.removeElementScroll(l);return o&&(c=this.removeTransform(c)),xA(c),{animationId:this.root.animationId,measuredBox:l,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:o}=this.options;if(!o)return je();const l=o.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(vA))){const{scroll:d}=this.root;d&&(tn(l.x,d.offset.x),tn(l.y,d.offset.y))}return l}removeElementScroll(o){var c;const l=je();if(Rt(l,o),(c=this.scroll)!=null&&c.wasRoot)return l;for(let u=0;u<this.path.length;u++){const d=this.path[u],{scroll:f,options:p}=d;d!==this.root&&f&&p.layoutScroll&&(f.wasRoot&&Rt(l,o),tn(l.x,f.offset.x),tn(l.y,f.offset.y))}return l}applyTransform(o,l=!1,c){var d,f;const u=c||je();Rt(u,o);for(let p=0;p<this.path.length;p++){const m=this.path[p];!l&&m.options.layoutScroll&&m.scroll&&m!==m.root&&(tn(u.x,-m.scroll.offset.x),tn(u.y,-m.scroll.offset.y)),Rr(m.latestValues)&&Ka(u,m.latestValues,(d=m.layout)==null?void 0:d.layoutBox)}return Rr(this.latestValues)&&Ka(u,this.latestValues,(f=this.layout)==null?void 0:f.layoutBox),u}removeTransform(o){var c;const l=je();Rt(l,o);for(let u=0;u<this.path.length;u++){const d=this.path[u];if(!Rr(d.latestValues))continue;let f;d.instance&&(Kd(d.latestValues)&&d.updateSnapshot(),f=je(),Rt(f,d.measurePageBox())),Dg(l,d.latestValues,(c=d.snapshot)==null?void 0:c.layoutBox,f)}return Rr(this.latestValues)&&Dg(l,this.latestValues),l}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.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!==Le.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var m;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(!(o||c&&this.isSharedProjectionDirty||this.isProjectionDirty||(m=this.parent)!=null&&m.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!this.layout||!(d||f))return;this.resolvedRelativeTargetAt=Le.timestamp;const p=this.getClosestProjectingParent();p&&this.linkedParentVersion!==p.layoutVersion&&!p.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&p&&p.layout?this.createRelativeTarget(p,this.layout.layoutBox,p.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=je(),this.targetWithTransforms=je()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),z3(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Rt(this.target,this.layout.layoutBox),tw(this.target,this.targetDelta)):Rt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&p&&!!p.resumingFrom==!!this.resumingFrom&&!p.options.layoutScroll&&p.target&&this.animationProgress!==1?this.createRelativeTarget(p,this.target,p.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Kd(this.parent.latestValues)||ew(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(o,l,c){this.relativeParent=o,this.linkedParentVersion=o.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=je(),this.relativeTargetOrigin=je(),Rl(this.relativeTargetOrigin,l,c,this.options.layoutAnchor||void 0),Rt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var v;const o=this.getLead(),l=!!this.resumingFrom||this!==o;let c=!0;if((this.isProjectionDirty||(v=this.parent)!=null&&v.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Le.timestamp&&(c=!1),c)return;const{layout:u,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||d))return;Rt(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,p=this.treeScale.y;g3(this.layoutCorrected,this.treeScale,this.path,l),o.layout&&!o.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(o.target=o.layout.layoutBox,o.targetWithTransforms=je());const{target:m}=o;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Eg(this.prevProjectionDelta.x,this.projectionDelta.x),Eg(this.prevProjectionDelta.y,this.projectionDelta.y)),Zs(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==p||!_g(this.projectionDelta.x,this.prevProjectionDelta.x)||!_g(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var l;if((l=this.options.visualElement)==null||l.scheduleRender(),o){const c=this.getStack();c&&c.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Mi(),this.projectionDelta=Mi(),this.projectionDeltaWithTransform=Mi()}setAnimationOrigin(o,l=!1){const c=this.snapshot,u=c?c.latestValues:{},d={...this.latestValues},f=Mi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;const p=je(),m=c?c.source:void 0,v=this.layout?this.layout.source:void 0,y=m!==v,b=this.getStack(),g=!b||b.members.length<=1,h=!!(y&&!g&&this.options.crossfade===!0&&!this.path.some(gA));this.animationProgress=0;let x;this.mixTargetDelta=j=>{const k=j/1e3;Kg(f.x,o.x,k),Kg(f.y,o.y,k),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Rl(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),hA(this.relativeTarget,this.relativeTargetOrigin,p,k),x&&G3(this.relativeTarget,x)&&(this.isProjectionDirty=!1),x||(x=je()),Rt(x,this.relativeTarget)),y&&(this.animationValues=d,q3(d,u,this.latestValues,k,h,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=k},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){var l,c,u;this.notifyListeners("animationStart"),(l=this.currentAnimation)==null||l.stop(),(u=(c=this.resumingFrom)==null?void 0:c.currentAnimation)==null||u.stop(),this.pendingAnimation&&(An(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=se.update(()=>{Qa.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=wr(0)),this.motionValue.jump(0,!1),this.currentAnimation=vw(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),o.onUpdate&&o.onUpdate(d)},onStop:()=>{},onComplete:()=>{o.onComplete&&o.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 o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(tA),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:l,target:c,layout:u,latestValues:d}=o;if(!(!l||!c||!u)){if(this!==o&&this.layout&&u&&jw(this.options.animationType,this.layout.layoutBox,u.layoutBox)){c=this.target||je();const f=Ke(this.layout.layoutBox.x);c.x.min=o.target.x.min,c.x.max=c.x.min+f;const p=Ke(this.layout.layoutBox.y);c.y.min=o.target.y.min,c.y.max=c.y.min+p}Rt(l,c),Ka(l,d),Zs(this.projectionDeltaWithTransform,this.layoutCorrected,l,d)}}registerSharedNode(o,l){this.sharedNodes.has(o)||this.sharedNodes.set(o,new eA),this.sharedNodes.get(o).add(l);const u=l.options.initialPromotionConfig;l.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(l):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var l;const{layoutId:o}=this.options;return o?((l=this.getStack())==null?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:o}=this.options;return o?(l=this.getStack())==null?void 0:l.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:l,preserveFollowOpacity:c}={}){const u=this.getStack();u&&u.promote(this,c),o&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let l=!1;const{latestValues:c}=o;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(l=!0),!l)return;const u={};c.z&&du("z",o,u,this.animationValues);for(let d=0;d<uu.length;d++)du(`rotate${uu[d]}`,o,u,this.animationValues),du(`skew${uu[d]}`,o,u,this.animationValues);o.render();for(const d in u)o.setStaticValue(d,u[d]),this.animationValues&&(this.animationValues[d]=u[d]);o.scheduleRender()}applyProjectionStyles(o,l){if(!this.instance||this.isSVG)return;if(!this.isVisible){o.visibility="hidden";return}const c=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,o.visibility="",o.opacity="",o.pointerEvents=qa(l==null?void 0:l.pointerEvents)||"",o.transform=c?c(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(o.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,o.pointerEvents=qa(l==null?void 0:l.pointerEvents)||""),this.hasProjected&&!Rr(this.latestValues)&&(o.transform=c?c({},""):"none",this.hasProjected=!1);return}o.visibility="";const d=u.animationValues||u.latestValues;this.applyTransformsToTarget();let f=H3(this.projectionDeltaWithTransform,this.treeScale,d);c&&(f=c(d,f)),o.transform=f;const{x:p,y:m}=this.projectionDelta;o.transformOrigin=`${p.origin*100}% ${m.origin*100}% 0`,u.animationValues?o.opacity=u===this?d.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:o.opacity=u===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const v in Qd){if(d[v]===void 0)continue;const{correct:y,applyTo:b,isCSSVariable:g}=Qd[v],h=f==="none"?d[v]:y(d[v],u);if(b){const x=b.length;for(let j=0;j<x;j++)o[b[j]]=h}else g?this.options.visualElement.renderState.vars[v]=h:o[v]=h}this.options.layoutId&&(o.pointerEvents=u===this?qa(l==null?void 0:l.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var l;return(l=o.currentAnimation)==null?void 0:l.stop()}),this.root.nodes.forEach(Ug),this.root.sharedNodes.clear()}}}function rA(e){e.updateLayout()}function iA(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:s}=e.options,o=t.source!==e.layout.source;if(s==="size")Xt(f=>{const p=o?t.measuredBox[f]:t.layoutBox[f],m=Ke(p);p.min=r[f].min,p.max=p.min+m});else if(s==="x"||s==="y"){const f=s==="x"?"y":"x";Yd(o?t.measuredBox[f]:t.layoutBox[f],r[f])}else jw(s,t.layoutBox,r)&&Xt(f=>{const p=o?t.measuredBox[f]:t.layoutBox[f],m=Ke(r[f]);p.max=p.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+m)});const l=Mi();Zs(l,r,t.layoutBox);const c=Mi();o?Zs(c,e.applyTransform(i,!0),t.measuredBox):Zs(c,r,t.layoutBox);const u=!hw(l);let d=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:p,layout:m}=f;if(p&&m){const v=e.options.layoutAnchor||void 0,y=je();Rl(y,t.layoutBox,p.layoutBox,v);const b=je();Rl(b,r,m.layoutBox,v),gw(y,b)||(d=!0),f.options.layoutRoot&&(e.relativeTarget=b,e.relativeTargetOrigin=y,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:c,layoutDelta:l,hasLayoutChanged:u,hasRelativeLayoutChanged:d})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function sA(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function oA(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function aA(e){e.clearSnapshot()}function Ug(e){e.clearMeasurements()}function lA(e){e.isLayoutDirty=!0,e.updateLayout()}function Gg(e){e.isLayoutDirty=!1}function cA(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function uA(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Hg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function dA(e){e.resolveTargetDelta()}function fA(e){e.calcProjection()}
348function pA(e){e.resetSkewAndRotation()}function mA(e){e.removeLeadSnapshot()}function Kg(e,t,n){e.translate=le(t.translate,0,n),e.scale=le(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function qg(e,t,n,r){e.min=le(t.min,n.min,r),e.max=le(t.max,n.max,r)}function hA(e,t,n,r){qg(e.x,t.x,n.x,r),qg(e.y,t.y,n.y,r)}function gA(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const yA={duration:.45,ease:[.4,0,.1,1]},Qg=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Yg=Qg("applewebkit/")&&!Qg("chrome/")?Math.round:jt;function Xg(e){e.min=Yg(e.min),e.max=Yg(e.max)}function xA(e){Xg(e.x),Xg(e.y)}function jw(e,t,n){return e==="position"||e==="preserve-aspect"&&!_3(Bg(t),Bg(n),.2)}function vA(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const bA=ww({attachResizeListener:(e,t)=>Po(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),fu={current:void 0},kw=ww({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!fu.current){const e=new bA({});e.mount(window),e.setOptions({layoutScroll:!0}),fu.current=e}return fu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),hc=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function Zg(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function wA(...e){return t=>{let n=!1;const r=e.map(i=>{const s=Zg(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():Zg(e[i],null)}}}}function jA(...e){return w.useCallback(wA(...e),e)}class kA extends w.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(Wa(n)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,i=Wa(r)&&r.offsetWidth||0,s=Wa(r)&&r.offsetHeight||0,o=getComputedStyle(n),l=this.props.sizeRef.current;l.height=parseFloat(o.height),l.width=parseFloat(o.width),l.top=n.offsetTop,l.left=n.offsetLeft,l.right=i-l.width-l.left,l.bottom=s-l.height-l.top}return null}componentDidUpdate(){}render(){return this.props.children}}function NA({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:s}){var p;const o=w.useId(),l=w.useRef(null),c=w.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:u}=w.useContext(hc),d=((p=e.props)==null?void 0:p.ref)??(e==null?void 0:e.ref),f=jA(l,d);return w.useInsertionEffect(()=>{const{width:m,height:v,top:y,left:b,right:g,bottom:h}=c.current;if(t||s===!1||!l.current||!m||!v)return;const x=n==="left"?`left: ${b}`:`right: ${g}`,j=r==="bottom"?`bottom: ${h}`:`top: ${y}`;l.current.dataset.motionPopId=o;const k=document.createElement("style");u&&(k.nonce=u);const S=i??document.head;return S.appendChild(k),k.sheet&&k.sheet.insertRule(` 349 [data-motion-pop-id="${o}"] { 350 position: absolute !important; 351 width: ${m}px !important; 352 height: ${v}px !important; 353 ${x}px !important; 354 ${j}px !important; 355 } 356 `),()=>{var T;(T=l.current)==null||T.removeAttribute("data-motion-pop-id"),S.contains(k)&&S.removeChild(k)}},[t]),a.jsx(kA,{isPresent:t,childRef:l,sizeRef:c,pop:s,children:s===!1?e:w.cloneElement(e,{ref:f})})}const SA=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:o,anchorX:l,anchorY:c,root:u})=>{const d=Go(TA),f=w.useId();let p=!0,m=w.useMemo(()=>(p=!1,{id:f,initial:t,isPresent:n,custom:i,onExitComplete:v=>{d.set(v,!0);for(const y of d.values())if(!y)return;r&&r()},register:v=>(d.set(v,!1),()=>d.delete(v))}),[n,d,r]);return s&&p&&(m={...m}),w.useMemo(()=>{d.forEach((v,y)=>d.set(y,!1))},[n]),w.useEffect(()=>{!n&&!d.size&&r&&r()},[n]),e=a.jsx(NA,{pop:o==="popLayout",isPresent:n,anchorX:l,anchorY:c,root:u,children:e}),a.jsx(lc.Provider,{value:m,children:e})};function TA(){return new Map}function Nw(e=!0){const t=w.useContext(lc);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,s=w.useId();w.useEffect(()=>{if(e)return i(s)},[e]);const o=w.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,o]:[!0]}const Na=e=>e.key||"";function Jg(e){const t=[];
vendor: 5,454 bytes, line 356
356return w.Children.forEach(e,n=>{w.isValidElement(n)&&t.push(n)}),t}const oi=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:s="sync",propagate:o=!1,anchorX:l="left",anchorY:c="top",root:u})=>{const[d,f]=Nw(o),p=w.useMemo(()=>Jg(e),[e]),m=o&&!d?[]:p.map(Na),v=w.useRef(!0),y=w.useRef(p),b=Go(()=>new Map),g=w.useRef(new Set),[h,x]=w.useState(p),[j,k]=w.useState(p);xp(()=>{v.current=!1,y.current=p;for(let C=0;C<j.length;C++){const A=Na(j[C]);m.includes(A)?(b.delete(A),g.current.delete(A)):b.get(A)!==!0&&b.set(A,!1)}},[j,m.length,m.join("-")]);const S=[];if(p!==h){let C=[...p];for(let A=0;A<j.length;A++){const E=j[A],O=Na(E);m.includes(O)||(C.splice(A,0,E),S.push(E))}return s==="wait"&&S.length&&(C=S),k(Jg(C)),x(p),null}const{forceRender:T}=w.useContext(yp);return a.jsx(a.Fragment,{children:j.map(C=>{const A=Na(C),E=o&&!d?!1:p===j||m.includes(A),O=()=>{if(g.current.has(A))return;if(b.has(A))g.current.add(A),b.set(A,!0);else return;let L=!0;b.forEach(W=>{W||(L=!1)}),L&&(T==null||T(),k(y.current),o&&(f==null||f()),r&&r())};return a.jsx(SA,{isPresent:E,initial:!v.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:s,root:u,onExitComplete:E?void 0:O,anchorX:l,anchorY:c,children:C},A)})})},Sw=w.createContext({strict:!1}),ey={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let ty=!1;function CA(){if(ty)return;const e={};for(const t in ey)e[t]={isEnabled:n=>ey[t].some(r=>!!n[r])};Yb(e),ty=!0}function Tw(){return CA(),p3()}function PA(e){const t=Tw();for(const n in e)t[n]={...t[n],...e[n]};Yb(t)}const EA=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Il(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||EA.has(e)}let Cw=e=>!Il(e);function AA(e){typeof e=="function"&&(Cw=t=>t.startsWith("on")?!Il(t):e(t))}try{AA(require("@emotion/is-prop-valid").default)}catch{}function MA(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||Ee(e[i])||(Cw(i)||n===!0&&Il(i)||!t&&!Il(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}const gc=w.createContext({});function RA(e,t){if(mc(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Co(n)?n:void 0,animate:Co(r)?r:void 0}}return e.inherit!==!1?t:{}}function IA(e){const{initial:t,animate:n}=RA(e,w.useContext(gc));return w.useMemo(()=>({initial:t,animate:n}),[ny(t),ny(n)])}function ny(e){return Array.isArray(e)?e.join(" "):e}const Wp=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Pw(e,t,n){for(const r in t)!Ee(t[r])&&!iw(r,n)&&(e[r]=t[r])}function LA({transformTemplate:e},t){return w.useMemo(()=>{const n=Wp();return zp(n,t,e),Object.assign({},n.vars,n.style)},[t])}function DA(e,t){const n=e.style||{},r={};return Pw(r,n,e),Object.assign(r,LA(e,t)),r}function VA(e,t){const n={},r=DA(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const Ew=()=>({...Wp(),attrs:{}});function OA(e,t,n,r){const i=w.useMemo(()=>{const s=Ew();return ow(s,t,lw(r),e.transformTemplate,e.style),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};Pw(s,e.style,e),i.style={...s,...i.style}}return i}const FA=["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 Up(e){return typeof e!="string"||e.includes("-")?!1:!!(FA.indexOf(e)>-1||/[A-Z]/u.test(e))}function BA(e,t,n,{latestValues:r},i,s=!1,o){const c=(o??Up(e)?OA:VA)(t,r,i,e),u=MA(t,typeof e=="string",s),d=e!==w.Fragment?{...u,...c,ref:n}:{},{children:f}=t,p=w.useMemo(()=>Ee(f)?f.get():f,[f]);return w.createElement(e,{...d,children:p})}function _A({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:zA(n,r,i,e),renderState:t()}}function zA(e,t,n,r){const i={},s=r(e,{});for(const p in s)i[p]=qa(s[p]);let{initial:o,animate:l}=e;const c=mc(e),u=qb(e);t&&u&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),l===void 0&&(l=t.animate));let d=n?n.initial===!1:!1;d=d||o===!1;const f=d?l:o;if(f&&typeof f!="boolean"&&!pc(f)){const p=Array.isArray(f)?f:[f];for(let m=0;m<p.length;m++){const v=Ip(e,p[m]);if(v){const{transitionEnd:y,transition:b,...g}=v;for(const h in g){let x=g[h];if(Array.isArray(x)){const j=d?x.length-1:0;x=x[j]}x!==null&&(i[h]=x)}for(const h in y)i[h]=y[h]}}}return i}const Aw=e=>(t,n)=>{const r=w.useContext(gc),i=w.useContext(lc),s=()=>
vendor: 27,602 bytes, line 356
356_A(e,t,r,i);return n?s():Go(s)},$A=Aw({scrapeMotionValuesFromProps:$p,createRenderState:Wp}),WA=Aw({scrapeMotionValuesFromProps:cw,createRenderState:Ew}),UA=Symbol.for("motionComponentSymbol");function GA(e,t,n){const r=w.useRef(n);w.useInsertionEffect(()=>{r.current=n});const i=w.useRef(null);return w.useCallback(s=>{var l;s&&((l=e.onMount)==null||l.call(e,s));const o=r.current;if(typeof o=="function")if(s){const c=o(s);typeof c=="function"&&(i.current=c)}else i.current?(i.current(),i.current=null):o(s);else o&&(o.current=s);t&&(s?t.mount(s):t.unmount())},[t])}const Mw=w.createContext({});function gi(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function HA(e,t,n,r,i,s){var x,j;const{visualElement:o}=w.useContext(gc),l=w.useContext(Sw),c=w.useContext(lc),u=w.useContext(hc),d=u.reducedMotion,f=u.skipAnimations,p=w.useRef(null),m=w.useRef(!1);r=r||l.renderer,!p.current&&r&&(p.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:d,skipAnimations:f,isSVG:s}),m.current&&p.current&&(p.current.manuallyAnimateOnMount=!0));const v=p.current,y=w.useContext(Mw);v&&!v.projection&&i&&(v.type==="html"||v.type==="svg")&&KA(p.current,n,i,y);const b=w.useRef(!1);w.useInsertionEffect(()=>{v&&b.current&&v.update(n,c)});const g=n[Vb],h=w.useRef(!!g&&typeof window<"u"&&!((x=window.MotionHandoffIsComplete)!=null&&x.call(window,g))&&((j=window.MotionHasOptimisedAnimation)==null?void 0:j.call(window,g)));return xp(()=>{m.current=!0,v&&(b.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),h.current&&v.animationState&&v.animationState.animateChanges())}),w.useEffect(()=>{v&&(!h.current&&v.animationState&&v.animationState.animateChanges(),h.current&&(queueMicrotask(()=>{var k;(k=window.MotionHandoffMarkAsComplete)==null||k.call(window,g)}),h.current=!1),v.enteringChildren=void 0)}),v}function KA(e,t,n,r){const{layoutId:i,layout:s,drag:o,dragConstraints:l,layoutScroll:c,layoutRoot:u,layoutAnchor:d,layoutCrossfade:f}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Rw(e.parent)),e.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:!!o||l&&gi(l),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,crossfade:f,layoutScroll:c,layoutRoot:u,layoutAnchor:d})}function Rw(e){if(e)return e.options.allowProjection!==!1?e.projection:Rw(e.parent)}function pu(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&PA(r);const s=n?n==="svg":Up(e),o=s?WA:$A;function l(u,d){let f;const p={...w.useContext(hc),...u,layoutId:qA(u)},{isStatic:m}=p,v=IA(u),y=o(u,m);if(!m&&typeof window<"u"){QA();const b=YA(p);f=b.MeasureLayout,v.visualElement=HA(e,y,p,i,b.ProjectionNode,s)}return a.jsxs(gc.Provider,{value:v,children:[f&&v.visualElement?a.jsx(f,{visualElement:v.visualElement,...p}):null,BA(e,u,GA(y,v.visualElement,d),y,m,t,s)]})}l.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const c=w.forwardRef(l);return c[UA]=e,c}function qA({layoutId:e}){const t=w.useContext(yp).id;return t&&e!==void 0?t+"-"+e:e}function QA(e,t){w.useContext(Sw).strict}function YA(e){const t=Tw(),{drag:n,layout:r}=t;if(!n&&!r)return{};const i={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function XA(e,t){if(typeof Proxy>"u")return pu;const n=new Map,r=(s,o)=>pu(s,o,e,t),i=(s,o)=>r(s,o);return new Proxy(i,{get:(s,o)=>o==="create"?r:(n.has(o)||n.set(o,pu(o,void 0,e,t)),n.get(o))})}const ZA=(e,t)=>t.isSVG??Up(e)?new uw(t):new sw(t,{allowProjection:e!==w.Fragment});class JA extends Sr{constructor(t){super(t),t.animationState||(t.animationState=L3(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();pc(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let eM=0;class tM extends Sr{constructor(){super(...arguments),this.id=eM++,this.isExitComplete=!1}update(){var s;if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;if(t&&r===!1){if(this.isExitComplete){const{initial:o,custom:l}=this.node.getProps();if(typeof o=="string"){const c=Kr(this.node,o,l);if(c){const{transition:u,transitionEnd:d,...f}=c;for(const p in f)(s=this.node.getValue(p))==null||s.jump(f[p])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const nM={animation:{Feature:JA},exit:{Feature:tM}};function Qo(e){return{point:{x:e.pageX,y:e.pageY}}}const rM=e=>t=>Fp(t)&&e(t,Qo(t));function Js(e,t,n,r){return Po(e,t,rM(n),r)}const Iw=({current:e})=>e?e.ownerDocument.defaultView:null,ry=(e,t)=>Math.abs(e-t);function iM(e,t){const n=ry(e.x,t.x),r=ry(e.y,t.y);return Math.sqrt(n**2+r**2)}const iy=new Set(["auto","scroll"]);class Lw{constructor(t,n,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:s=!1,distanceThreshold:o=3,element:l}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=m=>{this.handleScroll(m.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Sa(this.lastRawMoveEventInfo,this.transformPagePoint));const m=mu(this.lastMoveEventInfo,this.history),v=this.startEvent!==null,y=iM(m.offset,{x:0,y:0})>=this.distanceThreshold;if(!v&&!y)return;const{point:b}=m,{timestamp:g}=Le;this.history.push({...b,timestamp:g});const{onStart:h,onMove:x}=this.handlers;v||(h&&h(this.lastMoveEvent,m),this.startEvent=this.lastMoveEvent),x&&x(this.lastMoveEvent,m)},this.handlePointerMove=(m,v)=>{this.lastMoveEvent=m,this.lastRawMoveEventInfo=v,this.lastMoveEventInfo=Sa(v,this.transformPagePoint),se.update(this.updatePoint,!0)},this.handlePointerUp=(m,v)=>{this.end();const{onEnd:y,onSessionEnd:b,resumeAnimation:g}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const h=mu(m.type==="pointercancel"?this.lastMoveEventInfo:Sa(v,this.transformPagePoint),this.history);this.startEvent&&y&&y(m,h),b&&b(m,h)},!Fp(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=i||window;const c=Qo(t),u=Sa(c,this.transformPagePoint),{point:d}=u,{timestamp:f}=Le;this.history=[{...d,timestamp:f}];const{onSessionStart:p}=n;p&&p(t,mu(u,this.history)),this.removeListeners=Ho(Js(this.contextWindow,"pointermove",this.handlePointerMove),Js(this.contextWindow,"pointerup",this.handlePointerUp),Js(this.contextWindow,"pointercancel",this.handlePointerUp)),l&&this.startScrollTracking(l)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(iy.has(r.overflowX)||iy.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,i=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:i.x-n.x,y:i.y-n.y};s.x===0&&s.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,i),se.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),An(this.updatePoint)}}function Sa(e,t){return t?{point:t(e.point)}:e}function sy(e,t){return{x:e.x-t.x,y:e.y-t.y}}function mu({point:e},t){return{point:e,delta:sy(e,Dw(t)),offset:sy(e,sM(t)),velocity:oM(t,.1)}}function sM(e){return e[0]}function Dw(e){return e[e.length-1]}function oM(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=Dw(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Qe(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>Qe(t)*2&&(r=e[1]);const s=bt(i.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const o={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function aM(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?le(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?le(n,e,r.max):Math.min(e,n)),e}function oy(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 lM(e,{top:t,left:n,bottom:r,right:i}){return{x:oy(e.x,n,i),y:oy(e.y,t,r)}}function ay(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 cM(e,t){return{x:ay(e.x,t.x),y:ay(e.y,t.y)}}function uM(e,t){let n=.5;const r=Ke(e),i=Ke(t);return i>r?n=is(t.min,t.max-r,e.min):r>i&&(n=is(e.min,e.max-i,t.min)),dn(0,1,n)}function dM(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 Xd=.35;function fM(e=Xd){return e===!1?e=0:e===!0&&(e=Xd),{x:ly(e,"left","right"),y:ly(e,"top","bottom")}}function ly(e,t,n){return{min:cy(e,t),max:cy(e,n)}}function cy(e,t){return typeof e=="number"?e:e[t]||0}const pM=new WeakMap;class mM{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=je(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const s=f=>{n&&this.snapToCursor(Qo(f).point),this.stopAnimation()},o=(f,p)=>{const{drag:m,dragPropagation:v,onDragStart:y}=this.getProps();if(m&&!v&&(this.openDragLock&&this.openDragLock(),this.openDragLock=U5(m),!this.openDragLock))return;this.latestPointerEvent=f,this.latestPanInfo=p,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Xt(g=>{let h=this.getAxisMotionValue(g).get()||0;if(cn.test(h)){const{projection:x}=this.visualElement;if(x&&x.layout){const j=x.layout.layoutBox[g];j&&(h=Ke(j)*(parseFloat(h)/100))}}this.originPoint[g]=h}),y&&se.update(()=>y(f,p),!1,!0),$d(this.visualElement,"transform");const{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},l=(f,p)=>{this.latestPointerEvent=f,this.latestPanInfo=p;const{dragPropagation:m,dragDirectionLock:v,onDirectionLock:y,onDrag:b}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:g}=p;if(v&&this.currentDirection===null){this.currentDirection=gM(g),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",p.point,g),this.updateAxis("y",p.point,g),this.visualElement.render(),b&&se.update(()=>b(f,p),!1,!0)},c=(f,p)=>{this.latestPointerEvent=f,this.latestPanInfo=p,this.stop(f,p),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{const{dragSnapToOrigin:f}=this.getProps();(f||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new Lw(t,{onSessionStart:s,onStart:o,onMove:l,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:r,contextWindow:Iw(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,i=n||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!i||!r)return;const{velocity:o}=i;this.startAnimation(o);const{onDragEnd:l}=this.getProps();l&&se.postRender(()=>l(r,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Ta(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=aM(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var s;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(s=this.visualElement.projection)==null?void 0:s.layout,i=this.constraints;t&&gi(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=lM(r.layoutBox,t):this.constraints=!1,this.elastic=fM(n),i!==this.constraints&&!gi(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&Xt(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=dM(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!gi(t))return!1;const r=t.current;vr(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=y3(r,i.root,this.visualElement.getTransformPagePoint());let o=cM(i.layout.layoutBox,s);if(n){const l=n(m3(o));this.hasMutatedConstraints=!!l,l&&(o=Jb(l))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:l}=this.getProps(),c=this.constraints||{},u=Xt(d=>{if(!Ta(d,n,this.currentDirection))return;let f=c&&c[d]||{};(o===!0||o===d)&&(f={min:0,max:0});const p=i?200:1e6,m=i?40:1e7,v={type:"inertia",velocity:r?t[d]:0,bounceStiffness:p,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...s,...f};return this.startAxisValueAnimation(d,v)});return Promise.all(u).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return $d(this.visualElement,t),r.start(Rp(t,r,0,n,this.visualElement,!1))}stopAnimation(){Xt(t=>this.getAxisMotionValue(t).stop())}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){Xt(n=>{const{drag:r}=this.getProps();if(!Ta(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:l}=i.layout.layoutBox[n],c=s.get()||0;s.set(t[n]-le(o,l,.5)+c)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!gi(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Xt(o=>{const l=this.getAxisMotionValue(o);if(l&&this.constraints!==!1){const c=l.get();i[o]=uM({min:c,max:c},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Xt(o=>{if(!Ta(o,t,null))return;const l=this.getAxisMotionValue(o),{min:c,max:u}=this.constraints[o];l.set(le(c,u,i[o]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;pM.set(this.visualElement,this);const t=this.visualElement.current,n=Js(t,"pointerdown",u=>{const{drag:d,dragListener:f=!0}=this.getProps(),p=u.target,m=p!==t&&Y5(p);d&&f&&!m&&this.start(u)});let r;const i=()=>{const{dragConstraints:u}=this.getProps();gi(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),r||(r=hM(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:s}=this.visualElement,o=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),se.read(i);const l=Po(window,"resize",()=>this.scalePositionWithinConstraints()),c=s.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(Xt(f=>{const p=this.getAxisMotionValue(f);p&&(this.originPoint[f]+=u[f].translate,p.set(p.get()+u[f].translate))}),this.visualElement.render())});return()=>{l(),n(),o(),c&&c(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=Xd,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:l}}}function uy(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function hM(e,t,n){const r=yg(e,uy(n)),i=yg(t,uy(n));return()=>{r(),i()}}function Ta(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function gM(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class yM extends Sr{constructor(t){super(t),this.removeGroupControls=jt,this.removeListeners=jt,this.controls=new mM(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||jt}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const hu=e=>(t,n)=>{e&&se.update(()=>e(t,n),!1,!0)};class xM extends Sr{constructor(){super(...arguments),this.removePointerDownListener=jt}onPointerDown(t){this.session=new Lw(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Iw(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:hu(t),onStart:hu(n),onMove:hu(r),onEnd:(s,o)=>{delete this.session,i&&se.postRender(()=>i(s,o))}}}mount(){this.removePointerDownListener=Js(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let gu=!1;class vM extends w.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:s}=t;s&&(n.group&&n.group.add(s),r&&r.register&&i&&r.register(s),gu&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Qa.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:s}=this.props,{projection:o}=r;return o&&(o.isPresent=s,t.layoutDependency!==n&&o.setOptions({...o.options,layoutDependency:n}),gu=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==s?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||se.postRender(()=>{const l=o.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),Op.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;gu=!0,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 Vw(e){const[t,n]=Nw(),r=w.useContext(yp);return a.jsx(vM,{...e,layoutGroup:r,switchLayoutGroup:w.useContext(Mw),isPresent:t,safeToRemove:n})}const bM={pan:{Feature:xM},drag:{Feature:yM,ProjectionNode:kw,MeasureLayout:Vw}};function dy(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,s=r[i];s&&se.postRender(()=>s(t,Qo(t)))}class wM extends Sr{mount(){const{current:t}=this.node;t&&(this.unmount=H5(t,(n,r)=>(dy(this.node,r,"Start"),i=>dy(this.node,i,"End"))))}unmount(){}}class jM extends Sr{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=Ho(Po(this.node.current,"focus",()=>this.onFocus()),Po(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function fy(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),s=r[i];s&&se.postRender(()=>s(t,Qo(t)))}class kM extends Sr{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=Z5(t,(i,s)=>(fy(this.node,s,"Start"),(o,{success:l})=>fy(this.node,o,l?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const Zd=new WeakMap,yu=new WeakMap,NM=e=>{const t=Zd.get(e.target);t&&t(e)},SM=e=>{e.forEach(NM)};function TM({root:e,...t}){const n=e||document;yu.has(n)||yu.set(n,{});const r=yu.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(SM,{root:e,...t})),r[i]}function CM(e,t,n){const r=TM(t);return Zd.set(e,n),r.observe(e),()=>{Zd.delete(e),r.unobserve(e)}}const PM={some:0,all:1};class EM extends Sr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var c;(c=this.stopObserver)==null||c.call(this);const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:s}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:PM[i]},l=u=>{const{isIntersecting:d}=u;if(this.isInView===d||(this.isInView=d,s&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:f,onViewportLeave:p}=this.node.getProps(),m=d?f:p;m&&m(u)};this.stopObserver=CM(this.node.current,o,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(AM(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function AM({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const MM={inView:{Feature:EM},tap:{Feature:kM},focus:{Feature:jM},hover:{Feature:wM}},RM={layout:{ProjectionNode:kw,MeasureLayout:Vw}},IM={...nM,...MM,...bM,...RM},N=XA(IM,ZA);function Ow(e){const t=Go(()=>wr(e)),{isStatic:n}=w.useContext(hc);if(n){const[,r]=w.useState(e);w.useEffect(()=>t.on("change",r),[])}return t}function Fw(e,t){const n=Ow(t()),r=()=>n.set(t());return r(),xp(()=>{const i=()=>se.preRender(r,!1,!0),s=e.map(o=>o.on("change",i));return()=>{s.forEach(o=>o()),An(r)}}),n}function LM(e){Xs.current=[],e();const t=Fw(Xs.current,e);return Xs.current=void 0,t}function DM(e,t,n,r){if(typeof e=="function")return LM(e);const s=typeof t=="function"?t:a3(t,n,r),o=Array.isArray(e)?py(e,s):py([e],([c])=>s(c)),l=Array.isArray(e)?void 0:e.accelerate;return l&&!l.isTransformed&&typeof t!="function"&&Array.isArray(n)&&(r==null?void 0:r.clamp)!==!1&&(o.accelerate={...l,times:t,keyframes:n,isTransformed:!0}),o}function py(e,t){const n=Go(()=>[]);return Fw(e,()=>{n.length=0;const r=e.length;for(let i=0;i<r;i++)n[i]=e[i].get();return t(n)})}function Gp(e){return typeof e=="object"&&!Array.isArray(e)}function Bw(e,t,n,r){return e==null?[]:typeof e=="string"&&Gp(t)?dc(e,n,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e.filter(i=>i!=null):[e]}function VM(e,t,n){return e*(t+1)}function my(e,t,n,r){return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?n:t.startsWith("<")?Math.max(0,n+parseFloat(t.slice(1))):r.get(t)??e}function OM(e,t,n){for(let r=0;r<e.length;r++){const i=e[r];i.at>t&&i.at<n&&(rs(e,i),r--)}}function FM(e,t,n,r,i,s){OM(e,i,s);for(let o=0;o<t.length;o++)e.push({value:t[o],at:le(i,s,r[o]),easing:sb(n,o)})}function BM(e,t){for(let n=0;n<e.length;n++)e[n]=e[n]/(t+1)}function _M(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}const zM="easeInOut",$M=20;function WM(e,{defaultTransition:t={},...n}={},r,i){const s=t.duration||.3,o=new Map,l=new Map,c={},u=new Map;let d=0,f=0,p=0;for(let m=0;m<e.length;m++){const v=e[m];if(typeof v=="string"){u.set(v,f);continue}else if(!Array.isArray(v)){u.set(v.name,my(f,v.at,d,u));continue}let[y,b,g={}]=v;g.at!==void 0&&(f=my(f,g.at,d,u));let h=0;const x=(j,k,S,T=0,C=0)=>{const A=UM(j),{delay:E=0,times:O=wb(A),type:L=t.type||"keyframes",repeat:W,repeatType:D,repeatDelay:K=0,...z}=k;let{ease:U=t.ease||"easeOut",duration:P}=k;const M=typeof E=="function"?E(T,C):E,F=A.length,G=Ap(L)?L:i==null?void 0:i[L||"keyframes"];if(F<=2&&G){let oe=100;if(F===2&&KM(A)){const mt=A[1]-A[0];oe=Math.abs(mt)}const be={...t,...z};P!==void 0&&(be.duration=Qe(P));const ee=yb(be,oe,G);U=ee.ease,P=ee.duration}P??(P=s);const $=f+M;O.length===1&&O[0]===0&&(O[1]=1);const X=O.length-A.length;if(X>0&&bb(O,X),A.length===1&&A.unshift(null),W){vr(W<$M,"Repeat count too high, must be less than 20","repeat-count-high"),P=VM(P,W);const oe=[...A],be=[...O];U=Array.isArray(U)?[...U]:[U];const ee=[...U];for(let mt=0;mt<W;mt++){A.push(...oe);for(let Ze=0;Ze<oe.length;Ze++)O.push(be[Ze]+(mt+1)),U.push(Ze===0?"linear":sb(ee,Ze-1))}BM(O,W)}const Z=$+P;FM(S,A,U,O,$,Z),h=Math.max(M+P,h),p=Math.max(Z,p)};if(Ee(y)){const j=hy(y,l);x(b,g,gy("default",j))}else{const j=Bw(y,b,r,c),k=j.length;for(let S=0;S<k;S++){b=b,g=g;const T=j[S],C=hy(T,l);for(const A in b)x(b[A],GM(g,A),gy(A,C),S,k)}}d=f,f+=h}return l.forEach((m,v)=>{for(const y in m){const b=m[y];b.sort(_M);const g=[],h=[],x=[];for(let T=0;T<b.length;T++){const{at:C,value:A,easing:E}=b[T];g.push(A),h.push(is(0,p,C)),x.push(E||"easeOut")}h[0]!==0&&(h.unshift(0),g.unshift(g[0]),x.unshift(zM)),h[h.length-1]!==1&&(h.push(1),g.push(null)),o.has(v)||o.set(v,{keyframes:{},transition:{}});const j=o.get(v);j.keyframes[y]=g;const{type:k,...S}=t;j.transition[y]={...S,duration:p,ease:x,times:h,...n}}}),o}function hy(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function gy(e,t){return t[e]||(t[e]=[]),t[e]}function UM(e){return Array.isArray(e)?e:[e]}function GM(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}const HM=e=>typeof e=="number",KM=e=>e.every(HM);function qM(e){const t={presenceContext:null,props:{}
356,visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=fc(e)&&!Kb(e)?new uw(t):new sw(t);n.mount(e),To.set(e,n)}function QM(e){const t={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},n=new N3(t);n.mount(e),To.set(e,n)}function YM(e,t){return Ee(e)||typeof e=="number"||typeof e=="string"&&!Gp(t)}function _w(e,t,n,r){const i=[];if(YM(e,t))i.push(vw(e,Gp(t)&&t.default||t,n&&(n.default||n)));else{if(e==null)return i;const s=Bw(e,t,r),o=s.length;vr(!!o,"No valid elements provided.","no-valid-elements");for(let l=0;l<o;l++){const c=s[l],u=c instanceof Element?qM:QM;To.has(c)||u(c);const d=To.get(c),f={...n};"delay"in f&&typeof f.delay=="function"&&(f.delay=f.delay(l,o)),i.push(...Dp(d,{...t,transition:f},{}))}}return i}function XM(e,t,n){const r=[],i=e.map(o=>{if(Array.isArray(o)&&typeof o[0]=="function"){const l=o[0],c=wr(0);return c.on("change",l),o.length===1?[c,[0,1]]:o.length===2?[c,[0,1],o[1]]:[c,o[1],o[2]]}return o});return WM(i,t,n,{spring:So}).forEach(({keyframes:o,transition:l},c)=>{r.push(..._w(c,o,l))}),r}function ZM(e){return Array.isArray(e)&&e.some(Array.isArray)}function JM(e={}){const{scope:t,reduceMotion:n}=e;function r(i,s,o){let l=[],c;if(ZM(i)){const{onComplete:d,...f}=s||{};typeof d=="function"&&(c=d),l=XM(i,n!==void 0?{reduceMotion:n,...f}:f,t)}else{const{onComplete:d,...f}=o||{};typeof d=="function"&&(c=d),l=_w(i,s,n!==void 0?{reduceMotion:n,...f}:f,t)}const u=new f5(l);return c&&u.finished.then(c),t&&(t.animations.push(u),u.finished.then(()=>{rs(t.animations,u)})),u}return r}const e6=JM(),t6={some:0,all:1};function n6(e,t,{root:n,margin:r,amount:i="some"}={}){const s=dc(e),o=new WeakMap,l=u=>{u.forEach(d=>{const f=o.get(d.target);if(d.isIntersecting!==!!f)if(d.isIntersecting){const p=t(d.target,d);typeof p=="function"?o.set(d.target,p):c.unobserve(d.target)}else typeof f=="function"&&(f(d),o.delete(d.target))})},c=new IntersectionObserver(l,{root:n,rootMargin:r,threshold:typeof i=="number"?i:t6[i]});return s.forEach(u=>c.observe(u)),()=>c.disconnect()}function r6(e,{root:t,margin:n,amount:r,once:i=!1,initial:s=!1}={}){const[o,l]=w.useState(s);return w.useEffect(()=>{if(!e.current||i&&o)return;const c=()=>(l(!0),i?void 0:()=>l(!1)),u={root:t&&t.current||void 0,margin:n,amount:r};return n6(e.current,c,u)},[t,e,n,i,r]),o}const i6=()=>a.jsxs("section",{className:"relative min-h-screen flex items-center justify-center overflow-hidden pt-20",children:[a.jsx("div",{className:"absolute inset-0 bg-background"}),a.jsx("div",{className:"absolute inset-0 opacity-[0.03]",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E")`}}),a.jsx("div",{className:"absolute top-0 left-0 right-0 h-[1px] line-gold"}),a.jsxs("div",{className:"relative z-10 container mx-auto px-6 text-center",children:[a.jsxs(N.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:1,ease:"easeOut"},children:[a.jsxs("div",{className:"inline-flex items-center gap-3 px-5 py-2 mb-8 border border-gold bg-gold-subtle",children:[a.jsx("span",{className:"font-display text-base text-gradient-gold tracking-wider",children:"A+"}),a.jsx("span",{className:"w-px h-4 bg-primary/40"}),a.jsx("span",{className:"font-body text-[11px] tracking-[0.25em] uppercase text-primary/80",children:"Three Global Rating Agency Model"})]}),a.jsx("p",{className:"text-primary/70 font-body text-sm tracking-[0.3em] uppercase mb-8",children:"Institutional Capital · Real-Economy Assets"}),a.jsxs("h1",{className:"font-display text-5xl md:text-7xl lg:text-8xl font-medium tracking-tight leading-[1.05] mb-8",children:[a.jsx("span",{className:"text-foreground",children:"Touchstone"}),a.jsx("br",{}),a.jsx("span",{className:"text-gradient-gold",children:"Capital Partners"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mb-8"}),a.jsx("p",{className:"font-body text-muted-foreground text-lg md:text-xl max-w-3xl mx-auto leading-relaxed font-light",children:"Advancing a portfolio of large-scale, cash-generative projects structured under a proprietary investment and risk-mitigation framework, anchored by AA-rated, Fortune Global 500 counterparties."}),a.jsxs("p",{className:"font-body text-muted-foreground text-sm md:text-base max-w-2xl mx-auto mt-6 leading-relaxed",children:["Touchstone Capital Partners applies a ",a.jsx("span",{className:"text-primary",children:"three global rating agency model"})," to deliver an ",a.jsx("span",{className:"text-primary font-medium",children:"A+ rated Touchstone Platform"})," across the entire platform."]})]}),a.jsxs(N.div,{initial:{opacity:0}
356,animate:{opacity:1},transition:{delay:.8,duration:1},className:"mt-16 flex flex-col sm:flex-row items-center justify-center gap-6",children:[a.jsx(vn,{to:"/portfolio",className:"px-8 py-3 bg-primary text-primary-foreground font-body text-sm tracking-widest uppercase hover:bg-gold-light transition-colors",children:"View Portfolio"}),a.jsx(vn,{to:"/strategy",className:"px-8 py-3 border border-gold font-body text-sm tracking-widest uppercase text-primary hover:bg-gold-subtle transition-colors",children:"Investment Strategy"})]}),a.jsx(N.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:1.2,duration:.8},className:"mt-24 grid grid-cols-2 md:grid-cols-4 gap-8 max-w-4xl mx-auto",children:[{value:"US$7.8B",label:"First Tranche"},{value:"â¥20%",label:"Target IRR p.a."},{value:"9",label:"Countries"},{value:"AA-Rated",label:"Counterparties"}].map(e=>a.jsxs("div",{className:"text-center",children:[a.jsx("p",{className:"font-display text-2xl md:text-3xl text-gradient-gold",children:e.value}),a.jsx("p",{className:"font-body text-xs tracking-widest uppercase text-muted-foreground mt-2",children:e.label})]},e.label))})]}),a.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-32 bg-gradient-to-t from-background to-transparent"})]}),s6=[{icon:$o,value:100,suffix:"+",label:"Global Partners"},{icon:fn,value:20,suffix:"+",label:"Fund Managers Engaged"},{icon:Kt,value:88,suffix:"+",label:"Project Countries"},{icon:WN,value:50,suffix:"+",label:"Industry Partners"},{icon:qt,value:30,suffix:"+",label:"Finance Partners"},{icon:pn,value:10,suffix:"+",label:"Sector Platforms"}],o6=({to:e})=>{const t=w.useRef(null),n=r6(t,{once:!0,margin:"-50px"}),r=Ow(0),i=DM(r,s=>Math.floor(s).toString());return w.useEffect(()=>{if(n)return e6(r,e,{duration:2,ease:"easeOut"}).stop},[n,e,r]),a.jsx(N.span,{ref:t,children:i})},a6=()=>a.jsx("section",{className:"py-24 bg-background border-y border-primary/10",children:a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16 max-w-3xl mx-auto",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Global Footprint"}),a.jsxs("h2",{className:"font-display text-3xl md:text-4xl text-foreground tracking-tight",children:["Touchstone ",a.jsx("span",{className:"text-gradient-gold",children:"By the Numbers"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mt-6"})]}),a.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-6 max-w-6xl mx-auto",children:s6.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.1},className:"text-center border border-primary/15 bg-card hover:bg-gold-subtle transition-colors p-6",children:[a.jsx(e.icon,{className:"w-6 h-6 text-primary mx-auto mb-4",strokeWidth:1.5}),a.jsxs("div",{className:"font-display text-4xl md:text-5xl text-gradient-gold mb-2 tracking-tight",children:[a.jsx(o6,{to:e.value}),e.suffix]}),a.jsx("p",{className:"font-body text-xs tracking-[0.15em] uppercase text-muted-foreground",children:e.label})]},e.label))})]})}),zw="/assets/industry-oil-DslgGvhO.jpg",$w="/assets/industry-mining-CN9WdvSo.jpg",Ww="/assets/industry-supply-VQCOYEtJ.jpg",Uw="/assets/industry-health-DtL1IeP0.jpg",Gw="/assets/industry-gold-DRObetpt.jpg",Hw="/assets/industry-agriculture-DepbGa_g.jpg",Kw="/assets/industry-media-DNlF45Km.jpg",qw="/assets/industry-hub-XP1N-o_9.jpg",Qw="/assets/industry-finance-C936hI1e.jpg",Yw="/assets/industry-energy-BP5KIEwK.jpg",yy=[{src:zw,label:"Oil & Gas"},{src:$w,label:"Mining"},{src:Ww,label:"Supply Chain"},{src:Uw,label:"Healthcare"},{src:Gw,label:"Gold"},{src:Hw,label:"Agriculture"},{src:Kw,label:"Media"},{src:qw,label:"Hub"},{src:Qw,label:"Finance"},{src:Yw,label:"New Energy"}],xu=[...yy,...yy],l6=()=>a.jsxs("section",{className:"relative w-full h-[60vh] md:h-[75vh] overflow-hidden bg-background",children:[a.jsx("div",{className:"absolute inset-0 overflow-hidden",children:a.jsx(N.div,{className:"flex h-full will-change-transform",initial:{x:"-50%"},animate:{x:"0%"},transition:{duration:60,ease:"linear",repeat:1/0},style:{width:"200%"},children:xu.map((e,t)=>a.jsxs("div",{className:"relative h-full flex-shrink-0",style:{width:`${100/xu.length}%`},children:[a.jsx("img",{src:e.src,alt:e.label,className:"w-full h-full object-cover",loading:"lazy"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-background/40 via-trans
356parent to-background/40"})]},`${e.label}-${t}`))})}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-background/70 via-background/40 to-background/95 pointer-events-none"}),a.jsxs("div",{className:"relative z-10 h-full container mx-auto px-6 flex flex-col items-center justify-center text-center",children:[a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:1,delay:.2},className:"flex items-center gap-3 mb-6",children:[a.jsx(Kt,{className:"w-6 h-6 text-primary",strokeWidth:1.5}),a.jsx("p",{className:"font-body text-sm tracking-[0.3em] uppercase text-primary/80",children:"Global Reach"})]}),a.jsxs(N.h1,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:1,delay:.4},className:"font-display text-4xl md:text-6xl lg:text-7xl text-foreground tracking-tight max-w-4xl",children:["Global Reach to Help"," ",a.jsx("span",{className:"text-gradient-gold",children:"Global People"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 my-8"}),a.jsx("div",{className:"relative w-full max-w-3xl overflow-hidden",children:a.jsx(N.div,{className:"flex gap-12 whitespace-nowrap",initial:{x:"0%"},animate:{x:"-50%"},transition:{duration:30,ease:"linear",repeat:1/0},children:xu.map((e,t)=>a.jsxs("span",{className:"font-display text-base md:text-lg text-primary/80 tracking-widest uppercase",children:[e.label,a.jsx("span",{className:"ml-12 text-primary/30",children:"â¢"})]},`label-${e.label}-${t}`))})})]})]}),xy=[{name:"USA",top:"38%",left:"22%"},{name:"Canada",top:"26%",left:"24%"},{name:"Panama",top:"58%",left:"27%"},{name:"UK",top:"30%",left:"47%"},{name:"Luxembourg",top:"34%",left:"50%"},{name:"Italy",top:"38%",left:"52%"},{name:"Gibraltar",top:"42%",left:"48%"},{name:"Morocco",top:"46%",left:"47%"},{name:"Jordan",top:"44%",left:"58%"},{name:"Saudi Arabia",top:"50%",left:"60%"},{name:"Dubai",top:"50%",left:"63%"},{name:"Beijing",top:"38%",left:"78%"},{name:"Shenzhen",top:"46%",left:"78%"},{name:"Hong Kong",top:"48%",left:"79%"},{name:"Malaysia",top:"62%",left:"80%"},{name:"Singapore",top:"64%",left:"80%"},{name:"Indonesia",top:"68%",left:"83%"},{name:"Australia",top:"80%",left:"87%"}],c6=()=>a.jsxs("section",{className:"py-32 relative bg-background",children:[a.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-40 h-[1px] line-gold"}),a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16 max-w-4xl mx-auto",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Global Partner Network"}),a.jsxs("h2",{className:"font-display text-4xl md:text-5xl text-foreground mb-6 tracking-tight",children:[a.jsx("span",{className:"text-gradient-gold",children:"100+ Strategic Partners"})," Worldwide"]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mb-8"}),a.jsxs("p",{className:"font-body text-muted-foreground text-base leading-relaxed",children:["Touchstone Capital Partners maintains an extensive global network of institutional partners, financial institutions, sovereign entities, and strategic operators across key",a.jsx("span",{className:"text-primary",children:" financial centres and emerging markets"})," on five continents."]})]}),a.jsxs(N.div,{initial:{opacity:0,scale:.96},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:1},className:"relative max-w-6xl mx-auto border border-primary/20 bg-card p-6 md:p-10",children:[a.jsxs("div",{className:"relative aspect-[2/1] w-full",children:[a.jsxs("svg",{viewBox:"0 0 1000 500",className:"absolute inset-0 w-full h-full",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[a.jsxs("defs",{children:[a.jsx("pattern",{id:"pdots",x:"0",y:"0",width:"8",height:"8",patternUnits:"userSpaceOnUse",children:a.jsx("circle",{cx:"1.2",cy:"1.2",r:"1.2",fill:"hsl(var(--primary) / 0.35)"})}),a.jsx("pattern",{id:"pdotsBright",x:"0",y:"0",width:"8",height:"8",patternUnits:"userSpaceOnUse",children:a.jsx("circle",{cx:"1.2",cy:"1.2",r:"1.4",fill:"hsl(var(--primary) / 0.7)"})})]}),a.jsx("path",{d:"M 80 110 L 180 90 L 280 100 L 320 150 L 300 220 L 240 260 L 180 270 L 140 240 L 100 200 L 70 160 Z",fill:"url(#pdotsBright)",stroke:"hsl(var(--primary) / 0.4)",strokeWidth:"1"}),a.jsx("path",{d:"M 240 270 L 280 285 L 290 310 L 270 320 L 245 305 Z",fill:"url(#pdotsBright)",stroke:"hsl(var(--primary) / 0.4)",strokeWidth:"1"}),a.jsx("path",{d:"M 290 310 L 340 315 L 360 360 L 350 420 L 320 460 L 290 450 L 270 400 L 275 350 Z",fill:"url(#pdots)",stroke:"hsl(var(--primary) / 0.3)",strokeWidth:"1"}),a.jsx("path",{d:"M 460 110 L 540 100 L 580 130 L 570 170 L 520 190 L 470 180 L 450 150 Z",fill:"url(#pdotsBright)",stroke:"hsl(var(--primary) / 0.45)",strokeWidth:"1"}),a.jsx("path",{d:"M 480 200 L 560 195 L 600 240 L 610 320 L 580 390 L 530 410 L 490 380 L 470 320 L 465 250 Z",fill:"url(#pdotsBright)",stroke:"hsl(var(--primary) / 0.45)",strokeWidth:"1"}),a.jsx("path",{d:"M 580 190 L 640 185 L 660 220 L 630 245 L 595 230 Z",fill:"url(#pdotsBright)",stroke:"hsl(var(--primary) / 0.45)",strokeWidth:"1"}),a.jsx("path",{d:"M 600 110 L 720 90 L 830 110 L 880 160 L 870 220 L 810 250 L 740 240 L 680 230 L 640 200 L 610 160 Z",fill:"url(#pdotsBright)",stroke:"hsl(var(--primary) / 0.45)",strokeWidth:"1"}),a.jsx("path",{d:"M 780 250 L 830 255 L 850 285 L 820 310 L 790 295 Z",fill:"url(#pdotsBright)",stroke:"hsl(var(--primary) / 0.45)",strokeWidth:"1"}),a.jsx("path",{d:"M 820 360 L 900 350 L 920 390 L 880 420 L 830 410 L 815 385 Z",fill:"url(#pdotsBright)",stroke:"hsl(var(--primary) / 0.45)",strokeWidth:"1"})]}),xy.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,scale:0},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.4,delay:.2+t*.06},className:"absolute -translate-x-1/2 -translate-y-1/2 group z-10",style:{to
356p:e.top,left:e.left},children:[a.jsx("span",{className:"absolute inset-0 -m-2 rounded-full bg-primary/30 animate-ping"}),a.jsx("span",{className:"relative block w-2.5 h-2.5 rounded-full bg-primary border border-primary-foreground/40 shadow-[0_0_10px_hsl(var(--primary)/0.9)]"}),a.jsx("div",{className:"absolute left-1/2 -translate-x-1/2 top-4 whitespace-nowrap pointer-events-none opacity-0 group-hover:opacity-100 transition-opacity z-20",children:a.jsx("div",{className:"bg-background/95 border border-gold px-2 py-0.5 backdrop-blur-sm",children:a.jsx("p",{className:"font-display text-[10px] md:text-xs text-foreground leading-tight",children:e.name})})})]},e.name))]}),a.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 mt-10 pt-8 border-t border-primary/15",children:[{value:"100+",label:"Partners"},{value:"18",label:"Key Markets"},{value:"5",label:"Continents"},{value:"25+",label:"Years Network"}].map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.1},className:"text-center",children:[a.jsx($o,{className:"w-4 h-4 text-primary mx-auto mb-2 opacity-60",strokeWidth:1.5}),a.jsx("p",{className:"font-display text-3xl md:text-4xl text-gradient-gold mb-1",children:e.value}),a.jsx("p",{className:"font-body text-[10px] tracking-[0.25em] uppercase text-muted-foreground",children:e.label})]},e.label))}),a.jsxs("div",{className:"mt-10 pt-6 border-t border-primary/15",children:[a.jsx("p",{className:"text-center font-body text-[10px] tracking-[0.3em] uppercase text-muted-foreground mb-4",children:"Strategic Partner Locations"}),a.jsx("div",{className:"flex flex-wrap justify-center gap-2",children:xy.map(e=>a.jsx("span",{className:"px-3 py-1 border border-primary/25 bg-card/50 font-body text-[11px] text-muted-foreground hover:text-primary hover:border-primary/50 transition-colors",children:e.name},e.name))})]})]})]})]}),u6="/assets/city-london-D6Nr6XXf.jpg",d6="/assets/city-newyork-DIPEn8ba.jpg",f6="/assets/city-hongkong-BjnswLWe.jpg",p6="/assets/city-singapore-e-qqw4GE.jpg",m6="/assets/city-dubai-B1lArhC0.jpg",h6="/assets/city-switzerland-CEPYNu0N.jpg",g6="/assets/city-panama-DEdqRm1k.jpg",y6="/assets/city-beijing-DW2CDqA1.jpg",x6="/assets/city-italy-CAJxFV8Y.jpg",v6="/assets/city-gibraltar-BnvPYKfD.jpg",vy=[{name:"London",src:u6},{name:"New York",src:d6},{name:"Hong Kong",src:f6},{name:"Singapore",src:p6},{name:"Dubai",src:m6},{name:"Switzerland",src:h6},{name:"Panama",src:g6},{name:"Beijing",src:y6},{name:"Italy",src:x6},{name:"Gibraltar",src:v6}],b6=[{name:"New York",cx:28,cy:38},{name:"Toronto",cx:27,cy:35},{name:"Panama",cx:27,cy:52},{name:"London",cx:48,cy:32},{name:"Luxembourg",cx:50,cy:33},{name:"Italy",cx:51,cy:37},{name:"Gibraltar",cx:47,cy:39},{name:"Morocco",cx:47,cy:43},{name:"Jordan",cx:56,cy:41},{name:"Saudi Arabia",cx:58,cy:46},{name:"Dubai",cx:60,cy:45},{name:"Beijing",cx:78,cy:36},{name:"Shenzhen",cx:78,cy:44},{name:"Hong Kong",cx:79,cy:46},{name:"Singapore",cx:78,cy:56},{name:"Malaysia",cx:77,cy:55},{name:"Indonesia",cx:81,cy:60},{name:"Australia",cx:86,cy:70}],vu=[...vy,...vy],w6=()=>a.jsxs("section",{className:"relative w-full min-h-[90vh] overflow-hidden bg-background flex items-center justify-center",children:[a.jsx("div",{className:"absolute inset-0 overflow-hidden",children:a.jsx(N.div,{className:"flex h-full opacity-50 will-change-transform",initial:{x:"-50%"},animate:{x:"0%"},transition:{duration:80,ease:"linear",repeat:1/0},style:{width:"200%"},children:vu.map((e,t)=>a.jsxs("div",{className:"relative h-full flex-shrink-0",style:{width:`${100/vu.length}%`},children:[a.jsx("img",{src:e.src,alt:e.name,className:"w-full h-full object-cover",loading:"lazy"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-background/30 via-transparent to-background/30"})]},`${e.name}-${t}`))})}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-background/85 via-background/70 to-background"}),a.jsx("div",{className:"absolute inset-0 opacity-20 [background-image:radial-gradient(white_1px,transparent_1px)] [background-size:40px_40px]"}),a.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[80vmin] h-[80vmin] rounded-full bg-primary/10 blur-3xl"}),a.jsx(N.div,{animate:{rotate:360},transition:{duration:60,repeat:1/0,ease:"linear"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[70vmin] h-[70vmin] rounded-full",style:{background:"radial-gradient(circle at 30% 30%, hsl(var(--primary) / 0.25), hsl(var(--background)) 65%)",boxShadow:"inset -20px -30px 80px hsl(var(--background)), inset 10px 20px 60px hsl(var(--primary) / 0.2), 0 0 80px hsl(var(--primary) / 0.3)"},children:a.jsxs("svg",{viewBox:"0 0 100 100",className:"absolute inset-0 w-full h-full",preserveAspectRatio:"xMidYMid slice",children:[[20,35,50,65,80].map(e=>a.jsx("ellipse",{cx:"50",cy:e,rx:"48",ry:Math.max(2,48-Math.abs(50-e)*.9),fill:"none",stroke:"hsl(var(--primary) / 0.25)",strokeWidth:"0.15"},`lat-${e}`)),[10,25,40,50,60,75,90].map(e=>a.jsx("ellipse",{cx:"50",cy:"50",rx:Math.max(2,48-Math.abs(50-e)*.9),ry:"48",fill:"none",stroke:"hsl(var(--primary) / 0.2)",strokeWidth:"0.15"},`lng-${e}`)),a.jsx("circle",{cx:"50",cy:"50",r:"48",fill:"none",stroke:"hsl(var(--primary) / 0.4)",strokeWidth:"0.2"}),b6.map((e,t)=>a.jsxs("g",{children:[a.jsxs("circle",{cx:e.cx,cy:e.cy,r:"0.8",fill:"hsl(var(--primary))",children:[a.jsx("animate",{attributeName:"r",values:"0.6;1.4;0.6",dur:"3s",begin:`${t*.2}
356s`,repeatCount:"indefinite"}),a.jsx("animate",{attributeName:"opacity",values:"0.4;1;0.4",dur:"3s",begin:`${t*.2}s`,repeatCount:"indefinite"})]}),a.jsx("circle",{cx:e.cx,cy:e.cy,r:"0.4",fill:"hsl(var(--primary))",opacity:"0.9"})]},e.name))]})}),a.jsx(N.div,{animate:{rotate:-360},transition:{duration:90,repeat:1/0,ease:"linear"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[78vmin] h-[78vmin] rounded-full border border-primary/20"}),a.jsxs("div",{className:"relative z-10 container mx-auto px-6 text-center",children:[a.jsxs(N.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:1,delay:.3},className:"flex items-center justify-center gap-3 mb-6",children:[a.jsx(Kt,{className:"w-6 h-6 text-primary",strokeWidth:1.5}),a.jsx("p",{className:"font-body text-sm tracking-[0.3em] uppercase text-primary/80",children:"Touchstone Capital Partners"})]}),a.jsxs(N.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:1.1,delay:.5},className:"font-display text-4xl md:text-6xl lg:text-7xl text-foreground tracking-tight max-w-5xl mx-auto leading-[1.1]",children:["Touchstone is a"," ",a.jsx("span",{className:"text-gradient-gold",children:"Global Platform"})]}),a.jsx(N.div,{initial:{scaleX:0},animate:{scaleX:1},transition:{duration:1,delay:.9},className:"w-24 h-[1px] bg-primary/50 mx-auto my-8 origin-center"}),a.jsx(N.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:1,delay:1},className:"font-body text-base md:text-lg text-muted-foreground max-w-2xl mx-auto leading-relaxed",children:"Connecting capital, industries and opportunities across continents â building institutional-grade investment platforms that span the world."}),a.jsxs(N.div,{initial:{opacity:0}
356,animate:{opacity:1},transition:{duration:1,delay:1.4},className:"mt-10 flex flex-wrap items-center justify-center gap-x-8 gap-y-3 font-body text-xs tracking-[0.25em] uppercase text-primary/70",children:[a.jsx("span",{children:"5 Continents"}),a.jsx("span",{className:"w-1 h-1 rounded-full bg-primary/40"}),a.jsx("span",{children:"18 Key Markets"}),a.jsx("span",{className:"w-1 h-1 rounded-full bg-primary/40"}),a.jsx("span",{children:"100+ Partners"})]})]}),a.jsx("div",{className:"absolute bottom-8 left-0 right-0 z-10 overflow-hidden px-6",children:a.jsx(N.div,{className:"flex gap-12 whitespace-nowrap",initial:{x:"0%"},animate:{x:"-50%"},transition:{duration:40,ease:"linear",repeat:1/0},children:vu.map((e,t)=>a.jsxs("span",{className:"font-display text-sm md:text-base text-primary tracking-[0.4em] uppercase",children:[e.name,a.jsx("span",{className:"ml-12 text-primary/30",children:"â¢"})]},`label-${e.name}-${t}`))})})]}),j6=[{icon:pn,number:"01",title:"Platform-First Strategy",desc:"Building scalable platforms rather than isolated projects â consolidating assets, optimising operations, and creating long-term growth across entire industries. This approach generates synergies, supports follow-on acquisitions, and builds industry leaders rather than passive portfolios."},{icon:Tt,number:"02",title:"Cash-Flow-Driven Investment",desc:"Prioritising investments that generate early and recurring cash flow. By targeting operational businesses, producing assets and revenue-generating platforms, Touchstone builds stable income streams that reduce risk, strengthen investor confidence and sustain value creation across market cycles."},{icon:St,number:"03",title:"Risk Mitigation via Touchstone IP",desc:"Applying the proprietary Touchstone IP framework â strategic structuring, asset-backed investments, governance implementation, and diversified platform development â reinforced by experienced operators, disciplined due diligence and rigorous financial and operational oversight."}],k6=()=>a.jsxs(a.Fragment,{children:[a.jsx(w6,{}),a.jsx(i6,{}),a.jsx(a6,{}),a.jsx(c6,{}),a.jsx("section",{className:"py-32 relative bg-card/30",children:a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-20 max-w-4xl mx-auto",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Touchstone Capital Partners"}),a.jsxs("h2",{className:"font-display text-4xl md:text-5xl text-foreground mb-6 tracking-tight",children:["Global Platform ",a.jsx("span",{className:"text-gradient-gold",children:"Vision, Mission & Philosophy"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mb-8"}),a.jsx("p",{className:"font-body text-muted-foreground text-base leading-relaxed",children:"Building Global Platforms, Delivering Sustainable Growth."})]}),a.jsx(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"max-w-5xl mx-auto mb-24",children:a.jsxs("div",{className:"border border-primary/20 bg-card p-8 md:p-12",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[a.jsx(Kt,{className:"w-6 h-6 text-primary",strokeWidth:1.5}),a.jsx("h3",{className:"font-display text-2xl md:text-3xl text-foreground tracking-tight",children:"Touchstone Global Platform Vision"})]}),a.jsxs("div",{className:"space-y-5 font-body text-muted-foreground leading-relaxed text-sm md:text-base",children:[a.jsx("p",{children:"Touchstone Capital Partners is committed to building institutional-grade global investment platforms designed to generate sustainable value, recurring cash flow, and long-term strategic growth. Rather than focusing on isolated transactions, Touchstone adopts a platform-driven investment strategy that consolidates assets, industries, and opportunities into scalable, diversified, and resilient global platforms."}),a.jsx("p",{children:"The firm's vision is centered on developing multi-sector investment ecosystems across key industries, including natural resources, energy, infrastru
356cture, healthcare, technology, logistics, and financial services. By building integrated platforms, Touchstone aims to unlock value across entire industry value chains while creating diversified revenue streams and reducing investment risk."}),a.jsx("p",{children:"Touchstone Capital Partners seeks to construct a strong portfolio of recurring cash flow assets that provide stability during market cycles while offering long-term capital appreciation. These platforms are designed to attract institutional investors, sovereign wealth funds, family offices, and global strategic partners seeking stable, asset-backed investment opportunities."}),a.jsx("p",{children:"Through disciplined execution, global partnerships, and proprietary investment methodologies, Touchstone Capital Partners aims to establish itself as a long-term global investment leader and trusted platform builder."})]})]})}),a.jsxs("div",{className:"max-w-6xl mx-auto grid lg:grid-cols-2 gap-8 mb-24",children:[a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"border border-primary/20 bg-card p-8 md:p-10",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[a.jsx(JN,{className:"w-6 h-6 text-primary",strokeWidth:1.5}),a.jsx("h3",{className:"font-display text-2xl text-foreground tracking-tight",children:"Our Mission"})]}),a.jsxs("div",{className:"space-y-4 font-body text-muted-foreground leading-relaxed text-sm",children:[a.jsx("p",{children:"Touchstone Capital Partners' mission is to identify, structure, and transform global opportunities into institutional-grade investment platforms that generate strong, sustainable, and recurring cash flow â converting fragmented or non-institutional opportunities into scalable, bankable platforms."}),a.jsx("p",{children:"Through the proprietary Touchstone IP Ecosystem, the firm transforms non-investable opportunities into investment-ready platforms by consolidating assets, improving operational efficiency, implementing governance frameworks, and enhancing financial transparency to attract institutional capital."}),a.jsx("p",{children:"Touchstone prioritises early and recurring cash flow generation, leverages its global network to structure complex large-scale transactions, and delivers risk-mitigated solutions through structured financing, strategic partnerships, asset-backed investments and diversified portfolios."}),a.jsx("p",{children:"By connecting global capital with real-economy opportunities â infrastructure, energy, natural resources, healthcare and industrial platforms â Touchstone supports sustainable economic development while delivering strong, long-term financial performance."})]})]}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8,delay:.15},className:"border border-primary/20 bg-card p-8 md:p-10",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[a.jsx(Bo,{className:"w-6 h-6 text-primary",strokeWidth:1.5}),a.jsx("h3",{className:"font-display text-2xl text-foreground tracking-tight",children:"Our Vision"})]}),a.jsxs("div",{className:"space-y-4 font-body text-muted-foreground leading-relaxed text-sm",children:[a.jsx("p",{children:"To become one of the world's leading multi-platform investment groups, building and operating diversified investment platforms across strategic industries and geographies â combining strong operational platforms, recurring cash flow, and long-term capital appreciation."}),a.jsx("p",{children:"Touchstone plans to build more than ten global sector investment platforms across energy, mining, infrastructure, healthcare, logistics, technology, financial services and agriculture â each operating independently while contributing to a diversified global portfolio."}),a.jsx("p",{children:"The firm aims to partner with governments, institutional investors, sovereign wealth funds and global corporations to develop large-scale strategic real-asset platforms, integrating upstream, midstream and downstream operations into vertically integrated ecosystems."}),a.jsx("p",{children:"The long-term vision is to create one of the world's most diversified institutional-grade investment ecosystems â delivering stability, growth, and sustainable global impact for investors and stakeholders alike."})]})]})]}),a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"max-w-6xl mx-auto",children:[a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-12",children:[a.jsx(N.p,{initial:{opacity:0,letterSpacing:"0.1em"},whileInView:{opacity:1,letterSpacing:"0.3em"},viewport:{once:!0},transition:{duration:.9},className:"text-primary/60 font-body text-sm uppercase mb-4",children:"Three Core Principles"}),a.jsxs("h3",{className:"font-display text-3xl md:text-4xl text-foreground tracking-tight",children:["Touchstone"," ",a.jsx(N.span,{initial:{backgroundPosition:"200% 50%"},whileInView:{backgroundPosition:"0% 50%"},viewport:{once:!0},transition:{duration:1.4,ease:"easeOut"},className:"text-gradient-gold inline-block",children:"Strategic Philosophy"})]}),a.jsx(N.div,{initial:{scaleX:0},whileInView:{scaleX:1},viewport:{once:!0},transition:{duration:.8,delay:.3},className:"w-16 h-[1px] bg-primary/40 mx-auto mt-6 origin-left"})]}),a.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:j6.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:40,rotateX:-10},whileInView:{opacity:1,y:0,rotateX:0},viewport:{once:!0},transition:{duration:.7,delay:t*.2,ease:"easeOut"},whileHover:{y:-8,transition:{duration:.3}},className:"p-8 border border-gold bg-card hover:bg-gold-subtle transition-colors group",children:[a.jsxs("div",{className:"flex items-center justify-between mb-5",children:[a.jsx(N.div,{whileHover:{rotate:360,scale:1.15},transition:{duration:.6},children:a.jsx(e.icon,{className:"w-6 h-6 text-primary",strokeWidth:1.5})}),a.jsx(N.span,{initial:{opacity:0,scale:.5},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.6,delay:t*.2+.3,type:"spring"},className:"font-display text-2xl text-gradient-gold",children:e.number})]}),a.jsx("h4",{className:"font-display text-lg text-foreground mb-3 group-hover:text-primary transition-colors",children:e.title}),a.jsx("p",{className:"font-body text-sm text-muted-foreground leading-relaxed",children:e.desc})]},e.title))}),a.jsx(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8,delay:.4},className:"mt-16 text-center",children:a.jsx("p",{className:"font-display text-base md:text-lg text-primary/80 italic tracking-wide",children:"Touchstone Capital Partners â Building Global Platforms, Delivering Sustainable Growth"})})]})]})}),a.jsx(l6,{})]}),N6="/assets/strategy-finance-CAxqiZyL.jpg",S6="/assets/strategy-energy-B_3S9X6q.jpg",T6="/assets/strategy-infrastru
356cture-DjlIQws_.jpg",C6="/assets/strategy-assets-B23vL49u.jpg",P6="/assets/strategy-governance-B_-B2EXE.jpg",pi=[{src:N6,label:"Global Capital Markets",caption:"Institutional pipeline & investor network"},{src:P6,label:"Institutional Governance",caption:"Fund managers with USD 10B+ experience"},{src:T6,label:"Infrastructure & Real Assets",caption:"Cash-flow backed projects"},{src:S6,label:"Energy & Resources",caption:"Oil, gas, mining and supply chain"},{src:C6,label:"Agriculture & Supply Chain",caption:"Income-generating sectors"}],E6=()=>{const[e,t]=w.useState(0);return w.useEffect(()=>{const n=setInterval(()=>t(r=>(r+1)%pi.length),5e3);return()=>clearInterval(n)},[]),a.jsxs("section",{className:"relative pt-32 pb-20 bg-background",children:[a.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-40 h-[1px] line-gold"}),a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center max-w-3xl mx-auto mb-16",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Investment Strategy"}),a.jsxs("h1",{className:"font-display text-4xl md:text-6xl text-foreground mb-6 tracking-tight",children:["Touchstone ",a.jsx("span",{className:"text-gradient-gold",children:"Investment Strategy"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto"})]}),a.jsxs("div",{className:"relative w-full max-w-6xl mx-auto aspect-[16/8] overflow-hidden border border-gold mb-20",children:[a.jsx(oi,{mode:"sync",children:a.jsxs(N.div,{initial:{opacity:0,scale:1.05},animate:{opacity:1,scale:1},exit:{opacity:0,scale:1},transition:{duration:1.6,ease:"easeInOut"},className:"absolute inset-0",children:[a.jsx("img",{src:pi[e].src,alt:pi[e].label,loading:"lazy",width:1600,height:900,className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background via-background/50 to-transparent"}),a.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-8 md:p-12",children:[a.jsx(N.p,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.3,duration:.8},className:"font-body text-xs tracking-[0.3em] uppercase text-primary/80 mb-2",children:pi[e].caption}),a.jsx(N.h3,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.45,duration:.8},className:"font-display text-2xl md:text-4xl text-gradient-gold",children:pi[e].label})]})]},e)}),a.jsx("div",{className:"absolute top-6 right-6 flex gap-2 z-10",children:pi.map((n,r)=>a.jsx("button",{"aria-label":`Slide ${r+1}`,onClick:()=>t(r),className:`h-[2px] transition-all ${r===e?"w-10 bg-primary":"w-5 bg-primary/30"}`},r))})]}),a.jsxs("div",{className:"max-w-4xl mx-auto space-y-8 font-body text-muted-foreground text-base md:text-lg leading-relaxed",children:[a.jsxs(N.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},children:[a.jsx("span",{className:"text-foreground font-display text-xl",children:"Touchstone Investment Strategy"})," is built upon Touchstone's strong existing project pool and established investor network. The platform leverages its extensive pipeline of high-quality projects and global investor relationships to engage leading third-party fund managers with over"," ",a.jsx("span",{className:"text-gradient-gold font-semibold",children:"USD 10 billion"})," in proven asset management experience."]}),a.jsx(N.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:.1},children:"These fund managers are responsible for the full investment cycle, including pre-investment due diligence, portfolio investment monitoring, risk management, liquidity protection, and structured exit execution, ensuring institutional-grade governance and investor protection."}),a.jsxs(N.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:.15},children:["At the same time, Touchstone collaborates with"," ",a.jsx("span",{className:"text-foreground",children:"Global Fortune 500 partners"})," and top-tier industry operators to manage projects from A to Z, ensuring proper execution, operational efficiency, project completion, and the realization of targeted returns."]}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:.2},className:"pt-4",children:[a.jsxs("p",{className:"mb-6",children:["The investment strategy follows a balanced"," ",a.jsx("span",{className:"text-gradient-gold font-semibold",children:"50% Liquidity Investment and 50% Real Asset Investment"})," ","model:"]}),a.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[a.jsxs("div",{className:"p-8 border border-gold bg-card",children:[a.jsx("p",{className:"font-display text-2xl text-gradient-gold mb-3",children:"50% Liquidity"}),a.jsx("p",{className:"text-sm",children:"Focused on capital preservation, repayment security, interest servicing, and maintaining continuous investor liquidity protection."})]}),a.jsxs("div",{className:"p-8 border border-gold bg-card",children:[a.jsx("p",{className:"font-display text-2xl text-gradient-gold mb-3",children:"50% Real Assets"}),a.jsx("p",{className:"text-sm",children:"Income-generating and cash-flow-backed sectors: energy, mining, oil & gas, infrastru
356cture, healthcare, agriculture, supply chain, and strategic real estate."})]})]})]}),a.jsx(N.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:.25},children:"This dual-structure strategy ensures that every investment maintains strong liquidity support while being backed by solid real assets and sustainable project cash flows. The platform also applies flexible real asset allocation to ensure continuous access to high-performing, cash-generating projects across all sectors under the Touchstone platform."}),a.jsxs(N.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:.3},children:["Through this structure, Touchstone creates a highly secure, scalable, and institutionally managed investment platform that protects capital, enhances returns, and supports long-term global expansion â from primary investment markets to secondary markets and RWA digital asset platforms under the"," ",a.jsx("span",{className:"text-foreground",children:"Touchstone IP Risk Mitigation System"}),"."]})]})]})]})},A6=[{icon:zo,title:"Risk Mitigation",description:"AA-rated counterparties as EPC contractors, O&M providers and long-term offtakers materially reduce construction, operational and counterparty risk."},{icon:ri,title:"Global Diversification",description:"Portfolio-level diversification across energy, mining, supply chain, healthcare, renewables and structured credit â balancing cyclicality and concentration risk."},{icon:Tt,title:"Predictable Cash Flows",description:"Complex, capital-intensive projects converted into stable, institutional-quality investment platforms with contractual revenue support and downside protection."},{icon:Rn,title:"Listed-Platform Architecture",description:"HKEX Main Board-aligned structure enabling capital market liquidity, valuation discovery and multiple independently listed platforms targeting US$10â50B market cap each."}],M6=()=>a.jsx("section",{id:"strategy",className:"py-32 relative",children:a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-20",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Framework"}),a.jsx("h2",{className:"font-display text-4xl md:text-5xl text-foreground mb-6",children:"Investment Strategy"}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto"})]}),a.jsx("div",{className:"grid md:grid-cols-2 gap-8 max-w-5xl mx-auto",children:A6.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t*.15},className:"p-8 border border-gold bg-card hover:bg-gold-subtle transition-colors group",children:[a.jsx(e.icon,{className:"w-6 h-6 text-primary mb-5",strokeWidth:1.5}),a.jsx("h3",{className:"font-display text-xl text-foreground mb-3",children:e.title}),a.jsx("p",{className:"font-body text-sm text-muted-foreground leading-relaxed",children:e.description})]},e.title))}),a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"max-w-6xl mx-auto mt-32",children:[a.jsxs("div",{className:"text-center mb-12",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Platform Pathway"}),a.jsxs("h2",{className:"font-display text-3xl md:text-4xl text-foreground mb-6",children:["Primary · Secondary · ",a.jsx("span",{className:"text-gradient-gold",children:"Digital RWA"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mb-6"}),a.jsx("p",{className:"font-body text-muted-foreground max-w-3xl mx-auto text-sm leading-relaxed",children:"The Touchstone platform progresses assets from primary market origination, into secondary market liquidity, and on to a digital Real-World Asset (RWA) layer â every stage backed by contractual guarantees designed to deliver sustainable, steady returns."})]}),a.jsx("div",{className:"grid md:grid-cols-3 gap-6 items-stretch",children:[{icon:Rn,stage:"Stage 01",title:"Primary Market",desc:"Origination and structuring of large-scale, cash-generative projects with AA-rated EPC, O&M and offtake counterparties."},{icon:Tt,stage:"Stage 02",title:"Secondary Market",desc:"Consolidation of mature assets into HKEX-aligned listed platforms, unlocking liquidity, valuation discovery and broader institutional participation."},{icon:pn,stage:"Stage 03",title:"Digital RWA Layer",desc:"Tokenisation of underlying real-economy assets across the platform â guarantee-backed structures designed for sustainable, steady investor returns."}].map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t*.15},className:"relative p-8 border border-gold bg-card hover:bg-gold-subtle transition-colors",children:[a.jsx(e.icon,{className:"w-6 h-6 text-primary mb-5",strokeWidth:1.5}),a.jsx("p",{className:"font-body text-xs tracking-[0.25em] uppercase text-primary/60 mb-2",children:e.stage}),a.jsx("h3",{className:"font-display text-xl text-foreground mb-3",children:e.title}),a.jsx("p",{className:"font-body text-sm text-muted-foreground leading-relaxed",children:e.desc}),t<2&&a.jsx(DN,{className:"hidden md:block absolute top-1/2 -right-5 -translate-y-1/2 w-5 h-5 text-primary/60",strokeWidth:1.5})]},e.title))})]})]})}),R6=()=>a.jsxs(a.Fragment,{children:[a.jsx(E6,{}),a.jsx(M6,{})]}),I6="/assets/strategy-2026-infographic-2QMIse36.png",L6=()=>a.jsxs("section",{className:"relative pt-32 pb-20 bg-background",children:[a.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-40 h-[1px] line-gold"}),a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:30}
356,animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center max-w-3xl mx-auto mb-12",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Investment Strategy"}),a.jsxs("h1",{className:"font-display text-4xl md:text-6xl text-foreground mb-6 tracking-tight",children:["2026 ",a.jsx("span",{className:"text-gradient-gold",children:"Investment Strategy"})]}),a.jsx("p",{className:"font-body text-muted-foreground",children:"Disciplined Capital. Strategic Allocation. Superior Returns."}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mt-6"})]}),a.jsx(N.div,{initial:{opacity:0,scale:.98},animate:{opacity:1,scale:1},transition:{duration:.8,delay:.2},className:"max-w-6xl mx-auto border border-gold bg-card overflow-hidden",children:a.jsx("img",{src:I6,alt:"Touchstone Capital Partners 2026 Investment Strategy infographic",className:"w-full h-auto"})})]})]}),D6="/assets/fund-bond-1-g4ePgB7n.jpg",V6="/assets/fund-bond-2-QcVTZqHw.jpg",O6="/assets/fund-bond-3-DyMvoTV6.jpg",F6="/assets/fund-bond-4-C41KXLgx.jpg",B6="/assets/fund-bond-5-BaoEChya.jpg",mi=[{src:D6,label:"Bond Programme"},{src:V6,label:"Global Capital Markets"},{src:O6,label:"Sovereign & Institutional"},{src:F6,label:"Asset-Backed Strength"},{src:B6,label:"RWA Tokenization"}],_6=()=>{const[e,t]=w.useState(0);return w.useEffect(()=>{const n=setInterval(()=>t(r=>(r+1)%mi.length),5e3);return()=>clearInterval(n)},[]),a.jsxs("section",{className:"relative",children:[a.jsxs("div",{className:"relative w-full h-[60vh] min-h-[420px] overflow-hidden bg-background",children:[a.jsx(oi,{mode:"sync",children:a.jsx(N.img,{src:mi[e].src,alt:mi[e].label,initial:{opacity:0,scale:1.05},animate:{opacity:1,scale:1},exit:{opacity:0,scale:1},transition:{duration:1.4,ease:"easeInOut"},className:"absolute inset-0 w-full h-full object-cover",width:1600,height:900,loading:"lazy"},e)}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-background/70 via-background/40 to-background"}),a.jsxs("div",{className:"relative z-10 container mx-auto px-6 h-full flex flex-col justify-center items-center text-center",children:[a.jsx(N.p,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-primary/70 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Touchstone-Backed"}),a.jsxs(N.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.9,delay:.1},className:"font-display text-4xl md:text-6xl text-foreground mb-6 tracking-tight",children:["Fund & ",a.jsx("span",{className:"text-gradient-gold",children:"Bond Programme"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mb-6"}),a.jsx(N.p,{initial:{opacity:0}
356,animate:{opacity:1},transition:{duration:.6},className:"font-body text-primary text-xs md:text-sm tracking-[0.25em] uppercase",children:mi[e].label},mi[e].label),a.jsx("div",{className:"absolute bottom-8 left-1/2 -translate-x-1/2 flex gap-3",children:mi.map((n,r)=>a.jsx("button",{onClick:()=>t(r),"aria-label":`Go to slide ${r+1}`,className:`h-[2px] transition-all duration-500 ${r===e?"w-10 bg-primary":"w-5 bg-primary/30"}`},r))})]})]}),a.jsxs("div",{className:"container mx-auto px-6 py-24",children:[a.jsxs("div",{className:"max-w-4xl mx-auto space-y-8",children:[a.jsxs(N.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"font-body text-muted-foreground text-base md:text-lg leading-relaxed",children:["Touchstone Capital Partners is establishing a ",a.jsx("span",{className:"text-foreground",children:"Touchstone-backed Fund and Bond Programme"})," to meet the capital requirements of its core investment platforms. The initial funding target is designed to support ",a.jsx("span",{className:"text-primary",children:"10 strategic platforms"}),", with a minimum allocation of",a.jsx("span",{className:"text-primary",children:" USD 2 billion"})," for each platform â creating a starting capital base of at least ",a.jsx("span",{className:"text-gradient-gold font-medium",children:"USD 20 billion"}),"."]}),a.jsx(N.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:.1},className:"font-body text-muted-foreground text-base md:text-lg leading-relaxed",children:"This structure is designed to provide strong liquidity, project security, and long-term financial sustainability across all platforms â including banking, insurance, digital assets, RWA tokenization, energy, infrastructure, and global trade finance. Through the Touchstone-backed bond programme, the platform will raise scalable capital from global institutional investors, sovereign funds, family offices, and strategic partners."}),a.jsxs(N.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:.2},className:"font-body text-muted-foreground text-base md:text-lg leading-relaxed",children:["The funding capacity is not limited to the initial amount. As each platform expands and new opportunities are developed, the fund and bond programme can scale ",a.jsx("span",{className:"text-foreground",children:"unlimited"})," based on project performance, asset backing, and market demand â ensuring continuous capital strength and bridging traditional finance with the future digital financial ecosystem."]})]}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6 mt-16 max-w-6xl mx-auto",children:[{icon:Rn,value:"10",label:"Strategic Platforms"},{icon:Fo,value:"US$2B+",label:"Per Platform"},{icon:Tt,value:"US$20B+",label:"Initial Capital Base"},{icon:Kt,value:"Unlimited",label:"Scalable Capacity"}].map((n,r)=>a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:r*.1},className:"p-6 border border-gold bg-card hover:bg-gold-subtle transition-colors text-center",children:[a.jsx(n.icon,{className:"w-5 h-5 text-primary mx-auto mb-3",strokeWidth:1.5}),a.jsx("p",{className:"font-display text-2xl md:text-3xl text-gradient-gold mb-2",children:n.value}),a.jsx("p",{className:"font-body text-[10px] tracking-[0.25em] uppercase text-muted-foreground",children:n.label})]},n.label))})]})]})},Jd=[{sector:"Oil & Gas",projects:[{geography:"Kazakhstan",investment:"1.1B",investmentValue:1.1,expandable:"Up to 2.5B",counterparty:"CNPC (or equivalent)",irr:"⥠20%"},{geography:"Indonesia",investment:"1.0B",investmentValue:1,expandable:"Scalable",counterparty:"CNOOC (or equivalent)",irr:"⥠20%"},{geography:"Ghana Energy Hub",investment:"1.0B",investmentValue:1,expandable:"~12.0B total",counterparty:"REGI Group (or equiv.)",irr:"⥠20%"},{geography:"Oil & Gas Trading",investment:"500M",investmentValue:.5,expandable:"Scalable",counterparty:"Global trading partners",irr:"⥠30%"}]},{sector:"Mining & Critical Resources",projects:[{geography:"Mauritania",investment:"500M",investmentValue:.5,expandable:"Scalable",counterparty:"CRCC (or equivalent)",irr:"⥠20%"},{geography:"Chile (Lithium)",investment:"500M",investmentValue:.5,expandable:"Scalable",counterparty:"CRCC (or equivalent)",irr:"⥠20%"},{geography:"Gold Mining Project",investment:"1.0B",investmentValue:1,expandable:"Scalable",counterparty:"Tier-1 mining operator",irr:"⥠40%"}
356]},{sector:"Supply Chain & Agriculture",projects:[{geography:"China",investment:"1.0B",investmentValue:1,expandable:"Scalable",counterparty:"State-linked group",irr:"⥠20%"}]},{sector:"Healthcare",projects:[{geography:"Multi-jurisdictional",investment:"1.0B",investmentValue:1,expandable:"Scalable",counterparty:"Structured governance",irr:"⥠20%"}]},{sector:"Renewable Energy & EV",projects:[{geography:"Philippines",investment:"200M",investmentValue:.2,expandable:"~2.0B (leveraged)",counterparty:"Contracted revenues",irr:"⥠20%"}]},{sector:"Fintech",projects:[{geography:"Payment Settlement",investment:"50M",investmentValue:.05,expandable:"Scalable",counterparty:"Licensed PSP partners",irr:"⥠40%"}]},{sector:"Structured Credit",projects:[{geography:"Multi-jurisdictional",investment:"500M",investmentValue:.5,expandable:"Scalable",counterparty:"Sector counterparties",irr:"⥠20%"}]}],z6=Jd.reduce((e,t)=>e+t.projects.reduce((n,r)=>n+r.investmentValue,0),0),$6=e=>`US$${e.toFixed(2)}B`,W6=()=>a.jsxs("section",{id:"portfolio",className:"py-32 relative",children:[a.jsx("div",{className:"absolute inset-0 bg-card/50"}),a.jsxs("div",{className:"relative container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-20",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"First Tranche"}),a.jsx("h2",{className:"font-display text-4xl md:text-5xl text-foreground mb-6",children:"Investment Programme"}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mb-6"}),a.jsx("p",{className:"font-body text-muted-foreground max-w-2xl mx-auto text-sm leading-relaxed",children:"Sector-consolidated overview of the initial deployment, structured across six sectors with AA-rated counterparty support."})]}),a.jsx(N.div,{initial:{opacity:0}
356,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.8,delay:.2},className:"overflow-x-auto",children:a.jsxs("table",{className:"w-full min-w-[800px] border-collapse",children:[a.jsx("thead",{children:a.jsxs("tr",{className:"border-b border-gold",children:[a.jsx("th",{className:"text-left py-4 px-4 font-body text-xs tracking-widest uppercase text-primary",children:"Sector"}),a.jsx("th",{className:"text-right py-4 px-4 font-body text-xs tracking-widest uppercase text-primary",children:"Initial (US$)"}),a.jsx("th",{className:"text-right py-4 px-4 font-body text-xs tracking-widest uppercase text-primary",children:"Expandable"}),a.jsx("th",{className:"text-center py-4 px-4 font-body text-xs tracking-widest uppercase text-primary",children:"Target IRR"})]})}),a.jsx("tbody",{children:Jd.map(e=>e.projects.map((t,n)=>a.jsxs("tr",{className:"border-b border-border hover:bg-gold-subtle transition-colors",children:[n===0&&a.jsx("td",{rowSpan:e.projects.length,className:"py-4 px-4 font-display text-sm text-foreground align-top font-medium",children:e.sector}),a.jsx("td",{className:"py-4 px-4 font-body text-sm text-foreground text-right tabular-nums",children:t.investment}),a.jsx("td",{className:"py-4 px-4 font-body text-sm text-muted-foreground text-right",children:t.expandable}),a.jsx("td",{className:"py-4 px-4 font-body text-sm text-primary text-center font-medium",children:t.irr})]},`${e.sector}-${n}`)))}),a.jsx("tfoot",{children:a.jsxs("tr",{className:"border-t-2 border-gold",children:[a.jsx("td",{className:"py-5 px-4 font-display text-sm text-primary uppercase tracking-widest font-medium",children:"Total Initial Investment"}),a.jsx("td",{className:"py-5 px-4 font-display text-base text-gradient-gold text-right tabular-nums font-medium",children:$6(z6)}),a.jsxs("td",{colSpan:2,className:"py-5 px-4 font-body text-xs text-muted-foreground",children:["Across ",Jd.length," sectors · First tranche deployment"]})]})})]})}),a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"max-w-6xl mx-auto mt-32",children:[a.jsxs("div",{className:"text-center mb-12",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Capital Discipline"}),a.jsxs("h2",{className:"font-display text-3xl md:text-4xl text-foreground mb-6",children:["Liquidity & ",a.jsx("span",{className:"text-gradient-gold",children:"Cash Flow Architecture"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mb-6"}),a.jsx("p",{className:"font-body text-muted-foreground max-w-3xl mx-auto text-sm leading-relaxed",children:"Touchstone deploys capital exclusively into projects with strong, near-term cash flow characteristics â reinforced by structural liquidity arrangements and a permanent sinking fund to safeguard scheduled interest obligations."})]}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6",children:[{icon:Sv,metric:"80%",title:"Strong Cash Flow Projects",desc:"Majority allocation into assets with robust, contracted operating cash flows."},{icon:Cv,metric:"20%",title:"Near Cash Flow Projects",desc:"Complementary allocation into near-term cash-generative opportunities."},{icon:Fo,metric:"50%",title:"Liquidity Arrangement",desc:"Standing liquidity facilities maintained to ensure flexibility and responsiveness."},{icon:QN,metric:"10%",title:"Sinking Fund",desc:"Permanent reserve fund maintained at all times to repay scheduled interest."}].map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t*.1},className:"p-6 border border-gold bg-card hover:bg-gold-subtle transition-colors",children:[a.jsx(e.icon,{className:"w-6 h-6 text-primary mb-4",strokeWidth:1.5}),a.jsx("p",{className:"font-display text-3xl text-gradient-gold mb-2",children:e.metric}),a.jsx("h3",{className:"font-display text-base text-foreground mb-2",children:e.title}),a.jsx("p",{className:"font-body text-xs text-muted-foreground leading-relaxed",children:e.desc})]},e.title))})]})]})]}),U6=()=>a.jsxs(a.Fragment,{children:[a.jsx(_6,{}),a.jsx(W6,{})]}),G6=[{icon:ep,label:"Performance Bonds (PB)"},{icon:qt,label:"Bank Guarantees (BG)"},{icon:Rn,label:"EPC contractual structures"},{icon:Bo,label:"Independent monitoring and verification systems"},{icon:Rv,label:"Long-term operational and maintenance frameworks"}],H6=[{icon:St,label:"Insurance wraps and structured insurance solutions"},{icon:qt,label:"Bank guarantees and standby instruments"},{icon:_o,label:"Long-term off-take agreements"},{icon:fn,label:"Revenue-backed contractual arrangements"},{icon:cs,label:"Cross-border institutional partnerships"},{icon:pn,label:"Strategic co-investment structures"},{icon:Jl,label:"Regulatory and compliance oversight"},{icon:ri,label:"Professional project governance"}],K6=()=>a.jsxs("section",{className:"py-32 relative",children:[a.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-40 h-[1px] line-gold"}),a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16 pt-20",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"TCP Risks Mitigation"}),a.jsxs("h1",{className:"font-display text-4xl md:text-5xl text-foreground mb-6",children:["Global Integrated Investment &"," ",a.jsx("span",{className:"text-gradient-gold",children:"Risk Mitigation Platform"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto"})]}
356),a.jsx("div",{className:"max-w-4xl mx-auto space-y-6 mb-20",children:["Touchstone Capital Partners is building a unique global ecosystem comprising 100 international partners, including high-net-worth individuals, institutional professionals, industry leaders, strategic advisors, and sector specialists.","The platform is designed to integrate primary markets, secondary markets, and digital financial infrastructure into a single coordinated ecosystem under the proprietary Touchstone IP framework, with a strong emphasis on comprehensive risk mitigation and capital protection mechanisms.","Under the Touchstone structure, the global partner network is organized into two core strategic pools."].map((e,t)=>a.jsx(N.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t*.08},className:"font-body text-muted-foreground leading-relaxed text-base",children:e},t))}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-5xl mx-auto mb-20",children:[a.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[a.jsx("div",{className:"w-12 h-12 border border-gold flex items-center justify-center",children:a.jsx(Rn,{className:"w-5 h-5 text-primary",strokeWidth:1.5})}),a.jsxs("h2",{className:"font-display text-2xl md:text-3xl text-foreground",children:["1. ",a.jsx("span",{className:"text-gradient-gold",children:"Project Pool"})]})]}),a.jsxs("div",{className:"space-y-5 mb-8",children:[a.jsx("p",{className:"font-body text-muted-foreground leading-relaxed",children:"The Project Pool consists of infrastructure, energy, technology, industrial, logistics, and strategic development projects sourced globally through the Touchstone partner ecosystem. Projects are carefully selected and structured with multiple layers of risk management to enhance bankability and long-term sustainability."}),a.jsx("p",{className:"font-body text-muted-foreground leading-relaxed",children:'Each project is intended to be managed, supervised, or verified by internationally recognized Top 500 professional firms, including engineering consultants, legal advisors, auditors, project managers, and technical specialists. The objective is to ensure full lifecycle project execution from origination to completion ("A to Z") with institutional-grade governance and operational oversight.'}),a.jsx("p",{className:"font-body text-muted-foreground leading-relaxed",children:"To further strengthen delivery assurance, the platform may incorporate:"})]}),a.jsx("div",{className:"grid sm:grid-cols-2 gap-4",children:G6.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.06},className:"flex items-center gap-4 p-5 border border-gold bg-card hover:bg-gold-subtle transition-colors",children:[a.jsx("div",{className:"w-10 h-10 shrink-0 border border-gold flex items-center justify-center",children:a.jsx(e.icon,{className:"w-4 h-4 text-primary",strokeWidth:1.5})}),a.jsx("p",{className:"font-body text-sm text-foreground",children:e.label})]},e.label))})]}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-5xl mx-auto mb-20",children:[a.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[a.jsx("div",{className:"w-12 h-12 border border-gold flex items-center justify-center",children:a.jsx(fn,{className:"w-5 h-5 text-primary",strokeWidth:1.5})}),a.jsxs("h2",{className:"font-display text-2xl md:text-3xl text-foreground",children:["2. ",a.jsx("span",{className:"text-gradient-gold",children:"Fund Pool"})]})]}),a.jsxs("div",{className:"space-y-5",children:[a.jsx("p",{className:"font-body text-muted-foreground leading-relaxed",children:"The Fund Pool is structured through a Luxembourg-based bond programme and institutional investment platform, enabling tailored financing solutions matched specifically to the requirements of each project within the Project Pool."}),a.jsx("p",{className:"font-body text-muted-foreground leading-relaxed",children:"This structure allows capital to be deployed efficie
356ntly while aligning investor objectives, project cash flow requirements, and long-term asset strategies. The platform aims to create scalable financing solutions that combine institutional debt, private capital, structured finance, and alternative investment products."})]})]}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-5xl mx-auto mb-20",children:[a.jsxs("div",{className:"text-center mb-10",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Integrated Risk Mitigation Framework"}),a.jsxs("h2",{className:"font-display text-3xl md:text-4xl text-foreground mb-4",children:["Multilayered"," ",a.jsx("span",{className:"text-gradient-gold",children:"Risk Mitigation Architecture"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mb-6"}),a.jsx("p",{className:"font-body text-muted-foreground leading-relaxed max-w-3xl mx-auto",children:"A key differentiator of the Touchstone ecosystem is its multilayered risk mitigation architecture. The platform seeks to reduce exposure across construction, operational, political, financial, and performance-related risks through the integration of:"})]}),a.jsx("div",{className:"grid sm:grid-cols-2 gap-4",children:H6.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.06},className:"flex items-center gap-4 p-5 border border-gold bg-card hover:bg-gold-subtle transition-colors",children:[a.jsx("div",{className:"w-10 h-10 shrink-0 border border-gold flex items-center justify-center",children:a.jsx(e.icon,{className:"w-4 h-4 text-primary",strokeWidth:1.5})}),a.jsx("p",{className:"font-body text-sm text-foreground",children:e.label})]},e.label))})]}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-4xl mx-auto text-center",children:[a.jsxs("p",{className:"font-display text-xl md:text-2xl text-foreground leading-relaxed",children:["By combining institutional finance, global strategic partnerships, project execution expertise, and advanced risk mitigation tools, Touchstone Capital Partners aims to establish a"," ",a.jsx("span",{className:"text-gradient-gold",children:"next-generation global platform"})," capable of supporting large-scale international projects while enhancing investor confidence and project delivery certainty."]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mt-8"})]})]})]}),q6="/assets/ip-global-network-Byenh6RT.jpg",Q6="/assets/ip-bank-guarantee-Co1l7bXr.jpg",Y6="/assets/ip-partnership-BGVOjVVv.jpg",X6="/assets/ip-vault-T6v3UNEV.jpg",Z6="/assets/ip-rwa-ecosystem-zKVpqbPi.jpg",Ms=[{src:q6,caption:"Global Financial & Industry Network"},{src:Q6,caption:"Bank Guarantees & Structured Security"},{src:Y6,caption:"Fortune 500 Partnerships"},{src:X6,caption:"Institutional Capital Protection"},{src:Z6,caption:"From Real Assets to RWA Digital Platforms"}],J6=[{icon:zo,label:"Strong Capital Protection"},{icon:qt,label:"Institutional-Level Risk Mitigation"},{icon:cs,label:"Project Execution Certainty"},{icon:ni,label:"Liquidity Security & Repayment Protection"},{icon:ri,label:"Cross-Border Investment Efficiency"},{icon:Tt,label:"Long-Term Sustainable Returns"}],eR=()=>{const[e,t]=w.useState(0);return w.useEffect(()=>{const n=setInterval(()=>t(r=>(r+1)%Ms.length),5e3);return()=>clearInterval(n)},[]),a.jsx("section",{className:"py-32 relative",children:a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Touchstone IP"}),a.jsxs("h2",{className:"font-display text-4xl md:text-5xl text-foreground mb-6",children:["A Global ",a.jsx("span",{className:"text-gradient-gold",children:"Execution & Protection"})," System"]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto"})]}),a.jsxs(N.div,{initial:{opacity:0}
356,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:1},className:"relative max-w-5xl mx-auto mb-20 overflow-hidden border border-gold",children:[a.jsx("div",{className:"relative aspect-[16/9]",children:a.jsx(oi,{mode:"wait",children:a.jsxs(N.div,{initial:{opacity:0,scale:1.05},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.98},transition:{duration:1},className:"absolute inset-0",children:[a.jsx("img",{src:Ms[e].src,alt:Ms[e].caption,loading:"lazy",width:1536,height:1024,className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background via-background/40 to-transparent"}),a.jsx("div",{className:"absolute bottom-6 left-8 right-8",children:a.jsx("p",{className:"font-display text-xl md:text-2xl text-foreground",children:Ms[e].caption})})]},e)})}),a.jsx("div",{className:"absolute bottom-4 right-8 flex gap-2",children:Ms.map((n,r)=>a.jsx("button",{onClick:()=>t(r),className:`h-[2px] transition-all ${r===e?"w-8 bg-primary":"w-4 bg-primary/30"}`,"aria-label":`Slide ${r+1}`},r))})]}),a.jsx("div",{className:"max-w-4xl mx-auto space-y-6 mb-20",children:["Touchstone IP is the result of over 25 years of dedicated work in building and integrating global networks across finance, industry, project development, and execution.","It combines strong relationships from financial institutions to project pools, from industry leaders to financial engineers, and from project origination to full project implementation through collaboration with global Fortune 500 companies and top-tier operators.","The core strength of Touchstone IP lies in transforming single-risk exposure into a comprehensive multi-risk mitigation system. This framework integrates financial instruments such as Bank Guarantees (BG), Insurance Guarantees, Standby Letters of Credit (SBLC), qualified corporate guarantees, and other structured security mechanisms to protect investments and enhance transaction security.","Touchstone IP creates a complete ecosystem where global industry players, financial institutions, and service providers can align their interests, share profitability, and participate within one unified platform under a true win-win structure."].map((n,r)=>a.jsx(N.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:r*.1},className:"font-body text-muted-foreground leading-relaxed text-base",children:n},r))}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-5xl mx-auto mb-16",children:[a.jsx("p",{className:"text-center font-body text-sm tracking-[0.3em] uppercase text-primary/60 mb-8",children:"This System Ensures"}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-4",children:J6.map((n,r)=>a.jsxs(N.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:r*.08},className:"flex items-center gap-4 p-5 border border-gold bg-card hover:bg-gold-subtle transition-colors",children:[a.jsx("div",{className:"w-10 h-10 shrink-0 border border-gold flex items-center justify-center",children:a.jsx(n.icon,{className:"w-4 h-4 text-primary",strokeWidth:1.5})}),a.jsx("p",{className:"font-body text-sm text-foreground",children:n.label})]},n.label))})]}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-4xl mx-auto space-y-6 text-center",children:[a.jsx("p",{className:"font-body text-muted-foreground leading-relaxed",children:"By linking finance directly with real assets, project delivery, and secured repayment structures, Touchstone IP allows investors and partners to participate in high-value opportunities with greater confidence, transparency, and reduced operational risk."}),a.jsxs("p",{className:"font-display text-xl md:text-2xl text-foreground leading-relaxed",children:["This is not only an investment platform â it is a fully integrated global execution and protection system designed to support large-scale international investments from primary markets to secondary structures and ultimately into"," ",a.jsx("span",{className:"text-gradient-gold",children:"RWA digital asset platforms"}),"."]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto"})]})]})})},tR=[{icon:zo,title:"Investment-Grade Counterparties",desc:"Engagement of AA-rated or Fortune Global 500 operators, EPC contractors and strategic partners ensures projects are executed and managed by experienced industry leaders."},{icon:Av,title:"Insurance-Backed Protections",desc:"Comprehensive insurance structures including construction risk, operational, political risk and performance-related policies underwritten by international insurers."},{icon:Pv,title:"Contractual Performance Guarantees",desc:"Long-term offtake contracts, EPC performance guarantees and operational commitments from counterparties provide assurance on project delivery and revenue generation."},{icon:np,title:"Financial Safeguards",desc:"Receivable-backed financing, escrow arrangements, collateralised assets and equity guarantees from project sponsors ensure capital is supported by underlying assets."},{icon:BN,title:"Portfolio Diversification",desc:"Investments distributed across energy, mining, supply chain, infrastru
356cture, healthcare and renewables â across multiple regions â to reduce concentration risk."},{icon:qt,title:"Institutional-Grade Risk Management",desc:"An integrated system of insurance, contractual guarantees, operational expertise and diversified allocation designed to deliver sustainable long-term returns."}],nR=()=>a.jsxs("section",{id:"ip-framework",className:"py-32 relative",children:[a.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-40 h-[1px] line-gold"}),a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-10",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Risk Mitigation"}),a.jsx("h2",{className:"font-display text-4xl md:text-5xl text-foreground mb-6",children:"Investment Protection Framework"}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto"})]}),a.jsx(N.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.1},className:"font-body text-sm text-muted-foreground leading-relaxed max-w-3xl mx-auto text-center mb-20",children:"The Touchstone Investment Protection (IP) Framework is a proprietary risk-mitigation structure designed to protect investor capital while enabling participation in large-scale infrastru
356cture, energy, and resource investments. It integrates insurance coverage, contractual guarantees, operational safeguards, and structured financial protections across development, construction, and operational phases."}),a.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8 max-w-6xl mx-auto",children:tR.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:25},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.1},className:"p-8 border border-gold bg-card hover:bg-gold-subtle transition-colors group",children:[a.jsx("div",{className:"w-12 h-12 mb-5 border border-gold flex items-center justify-center",children:a.jsx(e.icon,{className:"w-5 h-5 text-primary",strokeWidth:1.5})}),a.jsx("h3",{className:"font-display text-lg text-foreground mb-3",children:e.title}),a.jsx("p",{className:"font-body text-xs text-muted-foreground leading-relaxed",children:e.desc})]},e.title))})]})]}),rR=()=>a.jsxs(a.Fragment,{children:[a.jsx(eR,{}),a.jsx(nR,{})]}),iR="/assets/industry-technology-Ba-GcIJu.jpg",by=[{src:Qw,name:"Finance & Capital Markets"},{src:Yw,name:"Energy"},{src:zw,name:"Oil & Gas"},{src:Gw,name:"Gold & Precious Metals"},{src:$w,name:"Mining & Resources"},{src:Ww,name:"Supply Chain & Trade"},{src:qw,name:"Infrastructure Hub"},{src:Hw,name:"Agriculture"},{src:Uw,name:"Healthcare"},{src:Kw,name:"Media & Communications"},{src:iR,name:"Technology & Digital"}],sR=[{num:"1",icon:ri,title:"Dynamic Global Asset Allocation",body:"The platform utilizes an active asset allocation and portfolio-balancing mechanism designed to continuously optimize project exposure across sectors and geographies. This allows the platform to adapt dynamically to market conditions and maintain a targeted minimum internal rate of return (IRR) of 20% across underlying assets."},{num:"2",icon:St,title:"Institutional-Grade Risk Mitigation",body:"A central pillar of the Touchstone model is multilayered risk mitigation implemented from day one of every transaction. Each project undergoes tailored structuring to ensure operational, financial, political, and execution risks are reduced to institutional standards.",bullets:["Insurance wraps","Investment-grade bank guarantees","Corporate guarantees","Standby Letters of Credit (SBLC)","Export credit protections","Structured reserve mechanisms"],footer:"All guarantees and counterparties are intended to meet or exceed A-rated institutional standards where possible."},{num:"3",icon:ep,title:"Industry-Specific Operational Support",body:"Unlike traditional investment platforms, Touchstone integrates industrial and operational expertise directly into each transaction. Sector specialists, strategic operators, and implementation partners are engaged to support project execution and operational performance throughout the investment lifecycle. This ensures projects are not only financed, but also successfully delivered and commercially scalable."},{num:"4",icon:qt,title:"Professional Fund Governance & Management",body:"Dedicated fund managers, compliance teams, and strategic advisors are integrated into the structure to oversee governance, liquidity management, reporting, and institutional compliance standards. The model is designed to satisfy the requirements of sovereign funds, pension funds, insurance groups, family offices, and large financial institutions seeking protected exposure to real economy assets."},{num:"5",icon:_o,title:"Long-Term Revenue Security",body:"Projects within the platform are supported by long-term offtake agreements, typically structured on a 5+5-year basis, with additional security mechanisms including:",bullets:["Corporate guarantees","Bank guarantees","SBLC-backed payment obligations","Pre-arranged commodity purchase agreements","Institutional settlement structures"],footer:"This framework is intended to create predictable cash flows and improve credit quality across the investment portfolio."},{num:"6",icon:VN,title:"Multi-Agency Credit Enhancement Strategy",body:"The platform is designed with the objective of achieving institutional-grade credit enhancement through engagement with multiple international rating agencies and structured financial protections. The intention is to establish an A-category investment profile to supp
356ort large-scale institutional capital participation and secondary market liquidity."}],oR=[{icon:zo,label:"Principal protection-oriented structuring"},{icon:Tt,label:"Target minimum returns of 10% IRR at investor level"},{icon:fn,label:"Potential for substantial upside participation"},{icon:pn,label:"Diversified exposure across multiple sectors and jurisdictions"},{icon:qt,label:"Institutional-grade security and governance standards"},{icon:cs,label:"Access to proprietary global project flow"}],aR=()=>a.jsxs("section",{className:"py-32 relative",children:[a.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-40 h-[1px] line-gold"}),a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16 pt-20",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"IP Overview"}),a.jsxs("h1",{className:"font-display text-4xl md:text-5xl text-foreground mb-6",children:["Touchstone IP â"," ",a.jsx("span",{className:"text-gradient-gold",children:"Strategic Investment Platform"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto"})]}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"mb-20",children:[a.jsxs("p",{className:"text-center font-display text-2xl md:text-3xl text-foreground mb-2",children:["One Platform to service"," ",a.jsx("span",{className:"text-gradient-gold",children:"global industry and finance"})]}),a.jsx("p",{className:"text-center font-body text-sm tracking-[0.3em] uppercase text-primary/60 mb-10",children:"11 Global Sector Platforms"}),a.jsxs("div",{className:"relative overflow-hidden border-y border-gold py-6",children:[a.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 w-24 bg-gradient-to-r from-background to-transparent z-10"}),a.jsx("div",{className:"pointer-events-none absolute inset-y-0 right-0 w-24 bg-gradient-to-l from-background to-transparent z-10"}),a.jsx("div",{className:"flex gap-6 animate-marquee w-max",children:[...by,...by].map((e,t)=>a.jsxs("div",{className:"relative w-64 h-40 shrink-0 overflow-hidden border border-gold group",children:[a.jsx("img",{src:e.src,alt:e.name,loading:"lazy",width:1536,height:1024,className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background via-background/40 to-transparent"}),a.jsx("p",{className:"absolute bottom-3 left-4 right-4 font-display text-sm text-foreground",children:e.name})]},t))})]})]}),a.jsx("div",{className:"max-w-4xl mx-auto space-y-6 mb-20",children:['The Touchstone proprietary investment platform ("Touchstone IP") is a specialized institutional investment and risk-mitigation model developed over more than 25 years through the combined experience and global network of Touchstone Capital Partners and its international strategic partners.',"The platform is structured around a unique ecosystem of over 100 global partners across finance, insurance, banking, industry, commodities, infrastructure, energy, healthcare, technology, and government-linked sectors. Its core objective is to create a highly protected investment environment capable of delivering sustainable long-term returns while minimizing downside risks."].map((e,t)=>a.jsx(N.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t*.08},className:"font-body text-muted-foreground leading-relaxed text-base",children:e},t))}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-5xl mx-auto mb-20",children:[a.jsxs("div",{className:"text-center mb-10",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Core Features"}),a.jsxs("h2",{className:"font-display text-3xl md:text-4xl text-foreground",children:["The Touchstone IP ",a.jsx("span",{className:"text-gradient-gold",children:"Model"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mt-6"})]}),a.jsx("div",{className:"space-y-12",children:sR.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t*.08},children:[a.jsxs("div",{className:"flex items-start gap-4 mb-4",children:[a.jsx("div",{className:"w-12 h-12 shrink-0 border border-gold flex items-center justify-center",children:a.jsx(e.icon,{className:"w-5 h-5 text-primary",strokeWidth:1.5})}),a.jsx("div",{children:a.jsxs("h3",{className:"font-display text-xl md:text-2xl text-foreground",children:[e.num,". ",a.jsx("span",{className:"text-gradient-gold",children:e.title})]})})]}),a.jsxs("div",{className:"pl-16",children:[a.jsx("p",{className:"font-body text-muted-foreground leading-relaxed mb-4",children:e.body}),e.bullets&&a.jsx("ul",{className:"grid sm:grid-cols-2 gap-3 mb-4",children:e.bullets.map(n=>a.jsxs("li",{className:"flex items-center gap-3",children:[a.jsx("div",{className:"w-1.5 h-1.5 shrink-0 bg-primary rotate-45"}),a.jsx("span",{className:"font-body text-sm text-foreground",children:n})]},n))}),e.footer&&a.jsx("p",{className:"font-body text-muted-foreground leading-relaxed text-sm",children:e.footer})]})]},e.title))})]}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-5xl mx-auto mb-20",children:[a.jsxs("div",{className:"text-center mb-10",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Investor Value Proposition"}),a.jsxs("h2",{className:"font-display text-3xl md:text-4xl text-foreground",children:["What Investors ",a.jsx("span",{className:"text-gradient-gold",children:"Can Expect"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mt-6"})]}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-4",children:oR.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.06},className:"flex items-center gap-4 p-5 border border-gold bg-card hover:bg-gold-subtle transition-colors",children:[a.jsx("div",{className:"w-10 h-10 shrink-0 border border-gold flex items-center justify-center",children:a.jsx(e.icon,{className:"w-4 h-4 text-primary",strokeWidth:1.5})}),a.jsx("p",{className:"font-body text-sm text-foreground",children:e.label})]},e.label))})]}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-4xl mx-auto mb-20",children:[a.jsxs("div",{className:"text-center mb-10",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Global Platform Scale"}),a.jsxs("h2",{className:"font-display text-3xl md:text-4xl text-foreground",children:["Ecosystem ",a.jsx("span",{className:"text-gradient-gold",children:"Reach"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mt-6"})]}),a.jsxs("div",{className:"space-y-6 text-center",children:[a.jsxs(N.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"font-body text-muted-foreground leading-relaxed",children:["The Touchstone ecosystem is structured to connect institutional investors with a curated global project pipeline exceeding"," ",a.jsx("span",{className:"text-foreground font-medium",children:"USD 100 billion"})," in potential transaction value."]}),a.jsx(N.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.1},className:"font-body text-muted-foreground leading-relaxed",children:"The platform is intended to bridge the gap between:"}),a.jsxs("div",{className:"grid sm:grid-cols-2 gap-6 max-w-3xl mx-auto",children:[a.jsxs("div",{className:"p-6 border border-gold bg-card",children:[a.jsx("div",{className:"w-10 h-10 mx-auto mb-3 border border-gold flex items-center justify-center",children:a.jsx(fn,{className:"w-4 h-4 text-primary",strokeWidth:1.5})}),a.jsx("p",{className:"font-body text-sm text-foreground",children:"Large-scale infrastru
356cture and industrial projects seeking capital"})]}),a.jsxs("div",{className:"p-6 border border-gold bg-card",children:[a.jsx("div",{className:"w-10 h-10 mx-auto mb-3 border border-gold flex items-center justify-center",children:a.jsx($o,{className:"w-4 h-4 text-primary",strokeWidth:1.5})}),a.jsx("p",{className:"font-body text-sm text-foreground",children:"Global financial institutions requiring secure, structured, investment-grade opportunities with strong risk-adjusted returns"})]})]}),a.jsx(N.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.2},className:"font-body text-muted-foreground leading-relaxed",children:"Through its integrated financial, industrial, insurance, and operational framework, Touchstone aims to create a scalable international investment platform aligned with the evolving requirements of global institutional capital markets."})]})]}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-4xl mx-auto text-center",children:[a.jsxs("p",{className:"font-display text-xl md:text-2xl text-foreground leading-relaxed",children:["Touchstone IP represents a"," ",a.jsx("span",{className:"text-gradient-gold",children:"next-generation approach"})," to institutional investing â combining real asset exposure, multilayered protection, and professional governance into a single integrated platform."]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mt-8"})]})]})]}),lR="/assets/protection-vault-CPSjLa7W.jpg",cR="/assets/protection-liquidity-B6REO7K7.jpg",uR="/assets/protection-blockchain-D_SUr5pr.jpg",dR="/assets/protection-fund-managers-DS3oNjHN.jpg",fR="/assets/protection-shield-wKMIFUSn.jpg",Rs=[{src:lR,caption:"Institutional Capital Protection"},{src:cR,caption:"Liquidity-First Investment Structure"},{src:fR,caption:"Bank Guarantees, SBLC & Insurance Layers"},{src:uR,caption:"SRC Blockchain Real-Time Monitoring"},{src:dR,caption:"Top-Tier Institutional Fund Managers"}],pR=()=>{const[e,t]=w.useState(0);return w.useEffect(()=>{const n=setInterval(()=>t(r=>(r+1)%Rs.length),5e3);return()=>clearInterval(n)},[]),a.jsx("section",{className:"pt-32 pb-8 relative",children:a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-12",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Investor Protection"}),a.jsxs("h2",{className:"font-display text-4xl md:text-5xl text-foreground mb-6",children:["Capital ",a.jsx("span",{className:"text-gradient-gold",children:"Safeguarded"})," at Every Layer"]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto"})]}),a.jsxs(N.div,{initial:{opacity:0}
356,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:1},className:"relative max-w-5xl mx-auto overflow-hidden border border-gold",children:[a.jsx("div",{className:"relative aspect-[16/9]",children:a.jsx(oi,{mode:"wait",children:a.jsxs(N.div,{initial:{opacity:0,scale:1.05},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.98},transition:{duration:1},className:"absolute inset-0",children:[a.jsx("img",{src:Rs[e].src,alt:Rs[e].caption,loading:"lazy",width:1536,height:1024,className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background via-background/40 to-transparent"}),a.jsx("div",{className:"absolute bottom-6 left-8 right-8",children:a.jsx("p",{className:"font-display text-xl md:text-2xl text-foreground",children:Rs[e].caption})})]},e)})}),a.jsx("div",{className:"absolute bottom-4 right-8 flex gap-2",children:Rs.map((n,r)=>a.jsx("button",{onClick:()=>t(r),className:`h-[2px] transition-all ${r===e?"w-8 bg-primary":"w-4 bg-primary/30"}`,"aria-label":`Slide ${r+1}`},r))})]})]})})},mR=[{icon:St,title:"Tier-1 EPC / O&M Counterparties",desc:"Engagement with state-owned or A-rated operators ensures construction, operational continuity and performance discipline."},{icon:Pv,title:"Contractual IRR Targeting",desc:"Projects structured with a minimum targeted IRR of 20% p.a., supported by EPC, O&M, offtake and operational guarantees."},{icon:FN,title:"Sector & Geographic Diversification",desc:"Energy, mining, supply chain, healthcare, renewables and structured credit reduce concentration risk across the portfolio."},{icon:qt,title:"HKEX-Aligned Structuring",desc:"Assets prepared for injection into listed platforms, enabling capital market liquidity, valuation uplift and multiple exit routes."}],hR=[{icon:fn,title:"Engaged Sub-Fund Manager",desc:"A dedicated, engaged sub-fund manager oversees fund administration end-to-end â managing capital from A to Z with institutional-grade governance and reporting."},{icon:Rn,title:"Top Fortune 500 Project Delivery",desc:"Projects are executed and delivered by Top Fortune 500 industry companies, guaranteeing construction quality, O&M performance, and long-term offtake commitments."},{icon:Av,title:"Insurance Wrap & Non-Payment Cover",desc:"Every project is
356wrapped with insurance protections, including non-payment insurance to safeguard contractual cash flows against counterparty default."},{icon:ON,title:"Bank Guarantees Always In Place",desc:"Bank guarantees are maintained at all times across the structure, providing an additional, independently underwritten layer of capital protection for investors."}],gR=()=>a.jsx("section",{className:"py-32",children:a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-20",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Governance"}),a.jsx("h2",{className:"font-display text-4xl md:text-5xl text-foreground mb-6",children:"Investor Protection"}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto"})]}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6 max-w-6xl mx-auto",children:mR.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1},className:"text-center p-6",children:[a.jsx("div",{className:"w-12 h-12 mx-auto mb-5 border border-gold flex items-center justify-center",children:a.jsx(e.icon,{className:"w-5 h-5 text-primary",strokeWidth:1.5})}),a.jsx("h3",{className:"font-display text-base text-foreground mb-3",children:e.title}),a.jsx("p",{className:"font-body text-xs text-muted-foreground leading-relaxed",children:e.desc})]},e.title))}),a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"max-w-6xl mx-auto mt-32",children:[a.jsxs("div",{className:"text-center mb-12",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Touchstone IP"}),a.jsxs("h2",{className:"font-display text-3xl md:text-4xl text-foreground mb-6",children:["Risk Mitigation ",a.jsx("span",{className:"text-gradient-gold",children:"Safeguards"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mb-6"}),a.jsx("p",{className:"font-body text-muted-foreground max-w-3xl mx-auto text-sm leading-relaxed",children:"Investor protection under the Touchstone IP framework is reinforced by a dedicated sub-fund manager, Top Fortune 500 project execution, comprehensive insurance wraps and standing bank guarantees â ensuring capital is safeguarded at every stage."})]}),a.jsx("div",{className:"grid sm:grid-cols-2 gap-6 max-w-5xl mx-auto",children:hR.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t*.1},className:"p-8 border border-gold bg-card hover:bg-gold-subtle transition-colors",children:[a.jsx("div",{className:"w-12 h-12 mb-5 border border-gold flex items-center justify-center",children:a.jsx(e.icon,{className:"w-5 h-5 text-primary",strokeWidth:1.5})}),a.jsx("h3",{className:"font-display text-lg text-foreground mb-3",children:e.title}),a.jsx("p",{className:"font-body text-sm text-muted-foreground leading-relaxed",children:e.desc})]},e.title))})]})]})}),yR=[{icon:qt,title:"Bank Guarantees (BG)",desc:"Independent, bank-issued guarantees underwriting principal protection and contractual obligations across the structure."},{icon:St,title:"Insurance Guarantees",desc:"Comprehensive insurance wraps including non-payment, political risk, and credit insurance from A-rated global insurers."},{icon:_o,title:"Standby Letters of Credit (SBLC)",desc:"Top-tier bank-issued SBLCs providing on-demand liquidity coverage and repayment assurance to investors."},{icon:Tv,title:"Qualified Corporate Guarantees",desc:"Corporate guarantees issued by Fortune 500 partners and qualified industry leaders, backed by audited balance sheets."},{icon:ni,title:"Real Asset Backing",desc:"Investments collateralised by tangible real assets â energy, mining, infrastructure, and resource-based holdings."},{icon:ep,title:"EPC Performance Guarantees",desc:"Construction performance bonds issued by Tier-1 EPC contractors, ensuring on-time, on-budget project delivery."},{icon:Rv,title:"O&M Operational Guarantees",desc:"Long-term operations and maintenance guarantees from state-owned or A-rated operators, securing performance continuity."},{icon:KN,title:"Offtake & Supply Guarantees",desc:"Binding offtake agreements and supply contracts with creditworthy counterparties securing predictable cash flows."},{icon:YN,title:"Repayment Protection Mechanisms",desc:"Structured repayment waterfalls, escrow accounts, and reserve funds protecting interest servicing and capital return."},{icon:Fo,title:"Liquidity Reserve Guarantees",desc:"Dedicated liquidity reserves maintained at all times, ensuring exit availability and uninterrupted distributions."},{icon:Bo,title:"SRC Blockchain Monitoring",desc:"Real-time, on-chain supervision of fund flows, allocation, and repayment â guaranteeing transparency and auditability."}
356,{icon:Jl,title:"Strategic Project Control",desc:"Governance rights, board oversight, and step-in rights embedded into project structures to safeguard investor interests."}],xR=()=>a.jsxs("section",{className:"py-32 relative",children:[a.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-40 h-[1px] line-gold"}),a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Touchstone IP Risk Mitigation"}),a.jsxs("h2",{className:"font-display text-4xl md:text-5xl text-foreground mb-6",children:["Capital Safeguarded at Every Layer by"," ",a.jsx("span",{className:"text-gradient-gold",children:"Touchstone IP Mechanism"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mb-6"}),a.jsx("p",{className:"font-body text-muted-foreground max-w-3xl mx-auto text-sm leading-relaxed",children:"Every investment under the Touchstone IP framework is reinforced by a multi-layer guarantee structure â combining banking instruments, insurance wraps, corporate covenants, and real asset collateral to deliver institutional-grade capital protection."})]}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6 max-w-6xl mx-auto",children:yR.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t%3*.08},className:"p-7 border border-gold bg-card hover:bg-gold-subtle transition-colors",children:[a.jsx("div",{className:"w-12 h-12 mb-5 border border-gold flex items-center justify-center",children:a.jsx(e.icon,{className:"w-5 h-5 text-primary",strokeWidth:1.5})}),a.jsx("h3",{className:"font-display text-lg text-foreground mb-3",children:e.title}),a.jsx("p",{className:"font-body text-sm text-muted-foreground leading-relaxed",children:e.desc})]},e.title))}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-4xl mx-auto text-center mt-20",children:[a.jsxs("p",{className:"font-display text-xl md:text-2xl text-foreground leading-relaxed",children:["Together, these guarantees form the"," ",a.jsx("span",{className:"text-gradient-gold",children:"Touchstone IP Multi-Layer Risk Mitigation System"})," ","â transforming single-risk exposure into a fully insured, collateralised, and institutionally protected investment structure."]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mt-8"})]})]})]}),vR=[{icon:Cv,title:"Liquidity First",desc:"Sufficient funds are always available for repayment protection, interest servicing, and investor exit requirements â liquidity remains a priority at every stage of the investment cycle."},{icon:pn,title:"Touchstone IP Multi-Layer Risk Mitigation",desc:"Developed over 25 years of global structuring experience â real asset backing, Bank Guarantees (BG), Insurance Guarantees, SBLCs, qualified corporate guarantees, and strategic project control mechanisms."},{icon:Sv,title:"SRC Blockchain Monitoring",desc:"Real-time supervision of fund flows, allocation, usage, and repayment structures â ensuring all capital movements are monitored, controlled, and protected with full transparency."},{icon:fn,title:"Institutional Fund Management",desc:"Entrusted to third-party institutional fund managers with a proven track record of managing over USD 10 billion in assets â covering due diligence, portfolio monitoring, risk control, and structured exit execution."}],bR=[{icon:zN,label:"Guaranteed minimum return protection"},{icon:Tt,label:"Participate in future capital market upside"},{icon:tS,label:"Liquidity availability at all times"},{icon:zo,label:"Strong repayment and interest protection"},{icon:cs,label:"Multi-layer institutional risk mitigation"},{icon:Bo,label:"Real-time fund monitoring and transparency"},{icon:$o,label:"Professional management by top-tier global fund managers"},{icon:np,label:"Secure project execution and investor confidence"}],wR=()=>a.jsxs("section",{className:"py-32 relative",children:[a.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-40 h-[1px] line-gold"}),a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-12",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Full Protection Framework"}),a.jsxs("h2",{className:"font-display text-4xl md:text-5xl text-foreground mb-6",children:["Exceptionally Strong"," ",a.jsx("span",{className:"text-gradient-gold",children:"Investment Protection"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto"})]}
356),a.jsx("div",{className:"max-w-4xl mx-auto space-y-6 mb-20",children:["Touchstone provides exceptionally strong investment protection through a combination of liquidity-first strategy, multi-layer risk mitigation, institutional fund management, and advanced monitoring systems.","The foundation of the investment structure is Liquidity First, ensuring that sufficient funds are always available for repayment protection, interest servicing, and investor exit requirements. This guarantees that liquidity remains a priority at every stage of the investment cycle.","In addition, Touchstone applies its proprietary Touchstone IP Multi-Layer Risk Mitigation System, developed over 25 years of global project and financial structuring experience. This system protects investments through multiple security layers, including real asset backing, Bank Guarantees (BG), Insurance Guarantees, Standby Letters of Credit (SBLC), qualified corporate guarantees, and strategic project control mechanisms.","To further strengthen transparency and capital security, Touchstone operates under its SRC Blockchain Monitoring System, which provides real-time supervision of fund flows, allocation, usage, and repayment structures. This ensures that all capital movements are monitored, controlled, and protected with full transparency and accountability.","Fund management is entrusted only to highly experienced third-party institutional fund managers, each with a minimum proven track record of managing over USD 10 billion in assets. Their responsibility covers pre-investment due diligence, portfolio monitoring, risk control, liquidity management, and structured exit execution, ensuring professional governance at the highest international standard.","This full protection framework is designed not only to protect capital, but also to guarantee minimum target returns for investors while allowing them to benefit from future upside opportunities generated through capital markets, secondary market expansion, and long-term asset appreciation."].map((e,t)=>a.jsx(N.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t*.08},className:"font-body text-muted-foreground leading-relaxed text-base",children:e},t))}),a.jsx("div",{className:"grid sm:grid-cols-2 gap-6 max-w-5xl mx-auto mb-24",children:vR.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t*.1},className:"p-8 border border-gold bg-card hover:bg-gold-subtle transition-colors",children:[a.jsx("div",{className:"w-12 h-12 mb-5 border border-gold flex items-center justify-center",children:a.jsx(e.icon,{className:"w-5 h-5 text-primary",strokeWidth:1.5})}),a.jsx("h3",{className:"font-display text-lg text-foreground mb-3",children:e.title}),a.jsx("p",{className:"font-body text-sm text-muted-foreground leading-relaxed",children:e.desc})]},e.title))}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-5xl mx-auto mb-16",children:[a.jsx("p",{className:"text-center font-body text-sm tracking-[0.3em] uppercase text-primary/60 mb-8",children:"This Ensures Investors Receive"}),a.jsx("div",{className:"grid sm:grid-cols-2 gap-4",children:bR.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.06},className:"flex items-center gap-4 p-5 border border-gold bg-card hover:bg-gold-subtle transition-colors",children:[a.jsx("div",{className:"w-10 h-10 shrink-0 border border-gold flex items-center justify-center",children:a.jsx(e.icon,{className:"w-4 h-4 text-primary",strokeWidth:1.5})}),a.jsx("p",{className:"font-body text-sm text-foreground",children:e.label})]},e.label))})]}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-4xl mx-auto text-center",children:[a.jsxs("p",{className:"font-display text-xl md:text-2xl text-foreground leading-relaxed",children:["Through this structure, Touchstone delivers a highly secure, institutionally protected investment platform where"," ",a.jsx("span",{className:"text-gradient-gold",children:"capital preservation, guaranteed baseline returns, controlled growth, and long-term value creation"})," ","remain the highest priority."]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mt-8"})]})]})]}),jR=()=>a.jsxs(a.Fragment,{children:[a.jsx(pR,{}),a.jsx(gR,{}),a.jsx(xR,{}),a.jsx(wR,{})]}),kR="/assets/ipo-hongkong-D7YFQ3CI.jpg",NR="/assets/ipo-newyork-DQCfNAjT.jpg",SR="/assets/ipo-london-BBlngcSg.jpg",TR="/assets/ipo-singapore-DaaoGQAU.jpg",zn=[{src:kR,city:"Hong Kong",exchange:"HKEX â Primary Listing Platform"},{src:NR,city:"New York",exchange:"NYSE / NASDAQ â Global Capital Access"},{src:SR,city:"London",exchange:"LSE â International Capital Markets"},{src:TR,city:"Singapore",exchange:"SGX â Asian Financial Gateway"}],CR=()=>{const[e,t]=w.useState(0);return w.useEffect(()=>{const n=setInterval(()=>t(r=>(r+1)%zn.length),5e3);return()=>clearInterval(n)},[]),a.jsx("section",{className:"pt-32 pb-8 relative",children:a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-12",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Global Listing Strategy"}),a.jsxs("h2",{className:"font-display text-4xl md:text-5xl text-foreground mb-6",children:["Access to the World's Leading"," ",a.jsx("span",{className:"text-gradient-gold",children:"Stock Exchanges"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto"})]}),a.jsxs(N.div,{initial:{opacity:0}
356,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:1},className:"relative max-w-5xl mx-auto overflow-hidden border border-gold",children:[a.jsx("div",{className:"relative aspect-[16/9]",children:a.jsx(oi,{mode:"wait",children:a.jsxs(N.div,{initial:{opacity:0,scale:1.05},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.98},transition:{duration:1},className:"absolute inset-0",children:[a.jsx("img",{src:zn[e].src,alt:`${zn[e].city} â ${zn[e].exchange}`,loading:"lazy",width:1536,height:1024,className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background via-background/40 to-transparent"}),a.jsxs("div",{className:"absolute bottom-6 left-8 right-8",children:[a.jsx("p",{className:"text-primary/70 font-body text-xs tracking-[0.3em] uppercase mb-2",children:zn[e].city}),a.jsx("p",{className:"font-display text-xl md:text-2xl text-foreground",children:zn[e].exchange})]})]},e)})}),a.jsx("div",{className:"absolute bottom-4 right-8 flex gap-2",children:zn.map((n,r)=>a.jsx("button",{onClick:()=>t(r),className:`h-[2px] transition-all ${r===e?"w-8 bg-primary":"w-4 bg-primary/30"}`,"aria-label":`Slide ${r+1}`},r))})]}),a.jsx("div",{className:"max-w-5xl mx-auto mt-8 grid grid-cols-2 md:grid-cols-4 gap-4",children:zn.map((n,r)=>a.jsxs("button",{onClick:()=>t(r),className:`p-4 border transition-all text-left ${r===e?"border-primary bg-gold-subtle":"border-gold hover:bg-gold-subtle"}`,children:[a.jsx("p",{className:"font-display text-base text-foreground",children:n.city}),a.jsx("p",{className:"font-body text-xs text-muted-foreground mt-1",children:n.exchange.split(" â ")[0]})]},n.city))})]})})},PR=[{name:"United Kingdom",desc:"London â deep institutional liquidity & global capital access"},{name:"United States",desc:"NYSE / NASDAQ â world's largest investor base"},{name:"Singapore",desc:"SGX â Asia-Pacific gateway & sovereign wealth participation"},{name:"European Union",desc:"Euronext â diversified institutional networks"},{name:"Middle East",desc:"ADX / Tadawul â sovereign capital & strategic alignment"}],ER=[{icon:qt,title:"Asset-Backed Capital Raise",desc:"All funds raised are backed by existing revenue-generating assets and secured project pipelines â ensuring strong liquidity management and reduced investment risk."},{icon:St,title:"Regulated & Transparent Platform",desc:"Public listing strengthens governance, regulatory coordination and compliance with international banking, securities and investment standards across jurisdictions."},{icon:pn,title:"Integrated Capital Markets Engine",desc:"Enables margin gains through structured finance, bond issuance, treasury operations, bridge finance and strategic equity placements â backed by Touchstone IP."},{icon:Kt,title:"PrimaryâSecondaryâDigital RWA",desc:"Touchstone aims to be the only integrated platform connecting primary assets, secondary market liquidity, and digital Real World Asset (RWA) ecosystems under one structure."}],AR=[{icon:Tv,title:"HKEX Main Board Listing",desc:"IPO aligned with Hong Kong Exchanges and Clearing Limited Main Board framework, establishing Touchstone as a publicly traded holding platform with enhanced transparency and governance."},{icon:Tt,title:"Capital Mobilisation",desc:"Listed entity enables mobilisation of funding from institutional and strategic investors, supporting progressive development of the investment pipeline across all sectors."},{icon:LN,title:"PrimaryâSecondary Bridge",desc:"Assets, receivables and operating platforms originated in the primary market are consolidated and injected into the listed entity for secondary market liquidity and valuation discovery."},{icon:GN,title:"Scalable Capital Efficiency",desc:"Structure designed to scale investment capacity, optimise capital efficiency and unlock market value â providing transparent exposure to diversified global infrastructure assets."}],MR=()=>a.jsxs("section",{id:"ipo",className:"py-32 relative",children:[a.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-40 h-[1px] line-gold"}),a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-10",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Capital Markets"}),a.jsx("h2",{className:"font-display text-4xl md:text-5xl text-foreground mb-6",children:"IPO & Listing Strategy"}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto"})]}),a.jsx(N.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.1},className:"font-body text-sm text-muted-foreground leading-relaxed max-w-3xl mx-auto text-center mb-20",children:"Touchstone Capital Partners intends to pursue an initial public offering in Hong Kong, aligned with the Main Board framework of HKEX. The listing will establish Touchstone as a publicly traded holding platform â bridging primary market origination with secondary market liquidity, valuation discovery and broader institutional participation."}),a.jsx("div",{className:"grid sm:grid-cols-2 gap-8 max-w-5xl mx-auto",children:AR.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:25},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.12},className:"p-8 border border-gold bg-card hover:bg-gold-subtle transition-colors group",children:[a.jsx("div",{className:"w-12 h-12 mb-5 border border-gold flex items-center justify-center",children:a.jsx(e.icon,{className:"w-5 h-5 text-primary",strokeWidth:1.5})}),a.jsx("h3",{className:"font-display text-lg text-foreground mb-3",children:e.title}),a.jsx("p",{className:"font-body text-xs text-muted-foreground leading-relaxed",children:e.desc})]},e.title))}),a.jsxs("div",{className:"mt-32 max-w-6xl mx-auto",children:[a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-12",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Purpose & Strategic Vision"}),a.jsxs("h3",{className:"font-display text-3xl md:text-4xl text-foreground mb-6 tracking-tight",children:["Touchstone Capital Partners â ",a.jsx("span",{className:"text-gradient-gold",children:"IPO Purpose & Strategic Vision"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto"})]}),a.jsx(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"border border-primary/20 bg-card p-8 md:p-12 mb-16",children:a.jsxs("div",{className:"space-y-5 font-body text-muted-foreground leading-relaxed text-sm md:text-base",children:[a.jsx("p",{children:"Touchstone Capital Partners' IPO is designed to create a strong investment platform with sustainable liquidity, capital market access, and long-term value creation. The core purpose is to establish a powerful financial structure that links existing strong cash-flow assets with global capital markets â ensuring immediate liquidity from Day 1 and continuous capital growth."}),a.jsx("p",{children:"The IPO will provide Touchstone with a regulated and transparent platform to supp
356ort large-scale investments across energy, infrastructure, commodities, logistics, and strategic sovereign projects. Public markets strengthen investor confidence, improve governance standards, and create stronger institutional participation from banks, funds, insurers, and sovereign partners."}),a.jsx("p",{children:"A key objective is to ensure all funds raised are backed by existing revenue-generating assets and secured project pipelines â enabling guaranteed operational stability while unlocking margin gains from capital market activities such as structured finance, bond issuance, treasury operations, bridge finance, and strategic equity placements."}),a.jsx("p",{children:"The IPO accelerates platform expansion by increasing fund resources available for global deployment, improving transaction speed, and enhancing risk mitigation through the proprietary Touchstone IP structure, insurance-backed settlement systems, and regulated financial controls."}),a.jsx("p",{className:"text-foreground/90 italic border-l-2 border-primary/40 pl-5",children:"This IPO is not simply a listing event â it is the foundation for building a global financial infrastructure platform capable of supporting multi-billion-dollar sovereign and institutional investments with stability, liquidity, and long-term value creation."})]})}),a.jsx("div",{className:"grid sm:grid-cols-2 gap-6 mb-16",children:ER.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.1},className:"p-7 border border-gold bg-card hover:bg-gold-subtle transition-colors",children:[a.jsx("div",{className:"w-11 h-11 mb-4 border border-gold flex items-center justify-center",children:a.jsx(e.icon,{className:"w-5 h-5 text-primary",strokeWidth:1.5})}),a.jsx("h4",{className:"font-display text-lg text-foreground mb-3",children:e.title}),a.jsx("p",{className:"font-body text-xs text-muted-foreground leading-relaxed",children:e.desc})]},e.title))}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[a.jsxs("div",{className:"text-center mb-10",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-3",children:"Proposed IPO Destinations"}),a.jsxs("h4",{className:"font-display text-2xl md:text-3xl text-foreground tracking-tight",children:["Global ",a.jsx("span",{className:"text-gradient-gold",children:"Listing Markets"})]})]}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-5 gap-4",children:PR.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:t*.08},className:"p-5 border border-primary/20 bg-card hover:border-primary/50 transition-colors text-center",children:[a.jsx(Kt,{className:"w-5 h-5 text-primary mx-auto mb-3",strokeWidth:1.5}),a.jsx("h5",{className:"font-display text-base text-foreground mb-2",children:e.name}),a.jsx("p",{className:"font-body text-[11px] text-muted-foreground leading-relaxed",children:e.desc})]},e.name))})]})]})]})]}),RR=[{name:"Africa",countries:22,top:"58%",left:"52%"},{name:"Asia",countries:24,top:"38%",left:"70%"},{name:"Europe",countries:18,top:"30%",left:"50%"},{name:"North America",countries:8,top:"35%",left:"22%"},{name:"South America",countries:10,top:"68%",left:"32%"},{name:"Oceania",countries:6,top:"75%",left:"82%"}],IR=()=>a.jsxs("section",{className:"py-32 relative bg-card/30",children:[a.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-40 h-[1px] line-gold"}),a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16 max-w-4xl mx-auto",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Global Footprint"}),a.jsxs("h2",{className:"font-display text-4xl md:text-5xl text-foreground mb-6 tracking-tight",children:["Platform Portfolios Across ",a.jsx("span",{className:"text-gradient-gold",children:"88 Countries"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mb-8"}),a.jsxs("p",{className:"font-body text-muted-foreground text-base leading-relaxed",children:["Touchstone Capital Partners operates an institutional-grade investment platform spanning ",a.jsx("span",{className:"text-primary",children:"88 countries across all six continents"})," â bridging primary assets, secondary market liquidity, and digital RWA ecosystems."]})]}),a.jsxs(N.div,{initial:{opacity:0,scale:.96},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:1},className:"relative max-w-6xl mx-auto border border-primary/20 bg-card p-6 md:p-10",children:[a.jsxs("div",{className:"relative aspect-[2/1] w-full",children:[a.jsxs("svg",{viewBox:"0 0 1000 500",className:"absolute inset-0 w-full h-full",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[a.jsxs("defs",{children:[a.jsx("pattern",{id:"dots",x:"0",y:"0",width:"8",he
356ight:"8",patternUnits:"userSpaceOnUse",children:a.jsx("circle",{cx:"1.2",cy:"1.2",r:"1.2",fill:"hsl(var(--primary) / 0.35)"})}),a.jsx("pattern",{id:"dotsBright",x:"0",y:"0",width:"8",height:"8",patternUnits:"userSpaceOnUse",children:a.jsx("circle",{cx:"1.2",cy:"1.2",r:"1.4",fill:"hsl(var(--primary) / 0.7)"})})]}),a.jsx("path",{d:"M 80 110 L 180 90 L 280 100 L 320 150 L 300 220 L 240 260 L 180 270 L 140 240 L 100 200 L 70 160 Z",fill:"url(#dots)",stroke:"hsl(var(--primary) / 0.3)",strokeWidth:"1"}),a.jsx("path",{d:"M 240 270 L 280 285 L 290 310 L 270 320 L 245 305 Z",fill:"url(#dots)",stroke:"hsl(var(--primary) / 0.3)",strokeWidth:"1"}),a.jsx("path",{d:"M 290 310 L 340 315 L 360 360 L 350 420 L 320 460 L 290 450 L 270 400 L 275 350 Z",fill:"url(#dotsBright)",stroke:"hsl(var(--primary) / 0.4)",strokeWidth:"1"}),a.jsx("path",{d:"M 460 110 L 540 100 L 580 130 L 570 170 L 520 190 L 470 180 L 450 150 Z",fill:"url(#dotsBright)",stroke:"hsl(var(--primary) / 0.4)",strokeWidth:"1"}),a.jsx("path",{d:"M 480 200 L 560 195 L 600 240 L 610 320 L 580 390 L 530 410 L 490 380 L 470 320 L 465 250 Z",fill:"url(#dotsBright)",stroke:"hsl(var(--primary) / 0.45)",strokeWidth:"1"}),a.jsx("path",{d:"M 580 190 L 640 185 L 660 220 L 630 245 L 595 230 Z",fill:"url(#dotsBright)",stroke:"hsl(var(--primary) / 0.4)",strokeWidth:"1"}),a.jsx("path",{d:"M 600 110 L 720 90 L 830 110 L 880 160 L 870 220 L 810 250 L 740 240 L 680 230 L 640 200 L 610 160 Z",fill:"url(#dotsBright)",stroke:"hsl(var(--primary) / 0.45)",strokeWidth:"1"}),a.jsx("path",{d:"M 780 250 L 830 255 L 850 285 L 820 310 L 790 295 Z",fill:"url(#dots)",stroke:"hsl(var(--primary) / 0.3)",strokeWidth:"1"}),a.jsx("path",{d:"M 820 360 L 900 350 L 920 390 L 880 420 L 830 410 L 815 385 Z",fill:"url(#dots)",stroke:"hsl(var(--primary) / 0.3)",strokeWidth:"1"})]}),RR.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,scale:0},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.5,delay:.4+t*.12},className:"absolute -translate-x-1/2 -translate-y-1/2 group",style:{to
356p:e.top,left:e.left},children:[a.jsx("span",{className:"absolute inset-0 -m-2 rounded-full bg-primary/30 animate-ping"}),a.jsx("span",{className:"relative block w-3 h-3 rounded-full bg-primary border border-primary-foreground/40 shadow-[0_0_12px_hsl(var(--primary)/0.8)]"}),a.jsx("div",{className:"absolute left-1/2 -translate-x-1/2 top-5 whitespace-nowrap pointer-events-none",children:a.jsxs("div",{className:"bg-background/90 border border-gold px-2.5 py-1 backdrop-blur-sm",children:[a.jsx("p",{className:"font-display text-[10px] md:text-xs text-foreground leading-tight",children:e.name}),a.jsxs("p",{className:"font-body text-[9px] md:text-[10px] text-primary leading-tight",children:[e.countries," countries"]})]})})]},e.name))]}),a.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 mt-10 pt-8 border-t border-primary/15",children:[{value:"88",label:"Countries"},{value:"6",label:"Continents"},{value:"10+",label:"Sector Platforms"},{value:"24/7",label:"Global Coverage"}].map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.1},className:"text-center",children:[a.jsx(Kt,{className:"w-4 h-4 text-primary mx-auto mb-2 opacity-60",strokeWidth:1.5}),a.jsx("p",{className:"font-display text-3xl md:text-4xl text-gradient-gold mb-1",children:e.value}),a.jsx("p",{className:"font-body text-[10px] tracking-[0.25em] uppercase text-muted-foreground",children:e.label})]},e.label))})]})]})]}),LR=()=>a.jsxs(a.Fragment,{children:[a.jsx(CR,{}),a.jsx(MR,{}),a.jsx(IR,{})]}),DR="/assets/ipo-main-platform-DJT9ofB8.jpg",VR="/assets/ipo-oil-gas-rhO6lHhc.jpg",OR="/assets/ipo-gold-BxpkhgCK.jpg",FR="/assets/ipo-supply-chain-C5TLo3Ng.jpg",wy=[{name:"Touchstone Main Platform IPO",tag:"Hong Kong Main Board Listing",icon:Rn,img:DR,desc:"Flagship IPO serving as the core holding and strategic coordination platform for the global Touchstone ecosystem.",points:["Global project origination","Institutional financing","Luxembourg bond programme structures","Digital finance infrastructure","Risk mitigation and insurance solutions","Strategic global partnerships","Cross-border capital deployment"],footer:"Intended to act as the financial and operational headquarters for international expansion under the âOne Belt One Roadâ framework."},{name:"Oil & Gas Platform IPO",tag:"Energy Assets & Commodity Financing",icon:UN,img:VR,desc:"Focused on upstream and downstream energy assets integrated with institutional financing and structured commodity trading.",points:["Upstream and downstream energy assets","Oil trading and storage","Energy infrastructure development","Refinery and petrochemical opportunities","International energy partnerships","Commodity-backed financing structures"]},{name:"Gold Platform IPO",tag:"Precious Metals & Tokenization",icon:ni,img:OR,desc:"Integrating physical reserves, mining assets and tokenized gold within an institutional-grade settlement framework.",points:["Physical gold reserves","Gold mining assets","Gold-backed financing structures","Commodity settlement systems","Tokenized gold initiatives","Precious metals trading and refining"]},{name:"Supply Chain Platform IPO",tag:"Trade, Logistics & Settlement",icon:ZN,img:FR,desc:"A globally connected ecosystem linking production, logistics, finance and settlement into one integrated platform.",points:["International logistics","Smart supply chain systems","Commodity movement","Port and trade infrastructure","Blockchain-enabled trade finance","Cross-border settlement systems","AI and digital trade solutions"]}],jy=[{p:"Main Platform",r:"Capital markets and ecosystem coordination"},{p:"Oil & Gas Platform",r:"Energy assets and commodity financing"},{p:"Gold Platform",r:"Precious metals, reserves, and tokenization"},{p:"Supply Chain Platform",r:"Trade, logistics, and settlement infrastru
356cture"}],BR=["Expand global institutional investor participation","Strengthen capital market access","Accelerate international project development","Support large-scale infrastructure financing","Build long-term recurring revenue platforms","Integrate traditional finance with digital finance ecosystems","Enhance global strategic partnerships"],_R=()=>a.jsx("div",{className:"pt-24 pb-32",children:a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center mb-16 max-w-4xl mx-auto",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"2026 Roadmap"}),a.jsxs("h1",{className:"font-display text-4xl md:text-5xl text-foreground mb-6",children:["2026 Strategic IPO Roadmap â ",a.jsx("span",{className:"text-gradient-gold",children:"Touchstone Capital Partners"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mb-8"}),a.jsx("p",{className:"font-body text-sm md:text-base text-muted-foreground leading-relaxed",children:"Touchstone Capital Partners is preparing a major strategic expansion in 2026 through a multi-platform public market strategy centered around the Hong Kong Main Board capital market ecosystem â integrating finance, natural resources, infrastructure, technology and global supply chain systems under institutional-grade risk mitigation."})]}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-
3565 mb-24",children:wy.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:25},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.1},className:"relative overflow-hidden border border-gold bg-card group",children:[a.jsxs("div",{className:"relative h-48 overflow-hidden",children:[a.jsx("img",{src:e.img,alt:e.name,loading:"lazy",width:1024,height:640,className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-110"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background via-background/40 to-transparent"}),a.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-4",children:[a.jsx(e.icon,{className:"w-5 h-5 text-primary mb-2",strokeWidth:1.5}),a.jsx("h3",{className:"font-display text-base text-foreground leading-tight",children:e.name})]})]}),a.jsx("div",{className:"p-4",children:a.jsx("p",{className:"font-body text-[10px] tracking-[0.2em] uppercase text-primary/70",children:e.tag})})]},e.name))}),a.jsx("div",{className:"space-y-20 mb-24 max-w-6xl mx-auto",children:wy.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:`grid md:grid-cols-2 gap-10 items-center ${t%2===1?"md:[&>div:first-child]:order-2":""}`,children:[a.jsx("div",{className:"relative overflow-hidden border border-gold",children:a.jsx("img",{src:e.img,alt:e.name,loading:"lazy",width:1024,height:640,className:"w-full h-72 md:h-80 object-cover"})}),a.jsxs("div",{children:[a.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[a.jsx("div",{className:"w-10 h-10 border border-gold flex items-center justify-center",children:a.jsx(e.icon,{className:"w-4 h-4 text-primary",strokeWidth:1.5})}),a.jsx("p",{className:"font-body text-xs tracking-[0.25em] uppercase text-primary/70",children:e.tag})]}),a.jsx("h3",{className:"font-display text-2xl md:text-3xl text-foreground mb-4",children:e.name}),a.jsx("p",{className:"font-body text-sm text-muted-foreground leading-relaxed mb-5",children:e.desc}),a.jsx("ul",{className:"space-y-2 mb-5",children:e.points.map(n=>a.jsxs("li",{className:"flex items-start gap-3 font-body text-xs text-muted-foreground",children:[a.jsx("span",{className:"w-1 h-1 mt-2 bg-primary rounded-full flex-shrink-0"}),n]},n))}),e.footer&&a.jsx("p",{className:"font-body text-xs italic text-foreground/80 border-l-2 border-primary/40 pl-4",children:e.footer})]})]},e.name+"-detail"))}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"max-w-5xl mx-auto mb-24",children:[a.jsxs("div",{className:"text-center mb-10",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-3",children:"Integrated Ecosystem Strategy"}),a.jsxs("h3",{className:"font-display text-2xl md:text-3xl text-foreground",children:["Four Strategic ",a.jsx("span",{className:"text-gradient-gold",children:"Pillars"})]})]}),a.jsxs("div",{className:"border border-gold bg-card overflow-hidden",children:[a.jsxs("div",{className:"grid grid-cols-2 bg-gold-subtle border-b border-gold",children:[a.jsx("div",{className:"p-4 font-display text-sm text-foreground",children:"Platform"}),a.jsx("div",{className:"p-4 font-display text-sm text-foreground border-l border-gold",children:"Strategic Role"})]}),jy.map((e,t)=>a.jsxs("div",{className:`grid grid-cols-2 ${t!==jy.length-1?"border-b border-primary/15":""}`,children:[a.jsx("div",{className:"p-4 font-body text-sm text-foreground",children:e.p}),a.jsx("div",{className:"p-4 font-body text-xs text-muted-foreground border-l border-primary/15",children:e.r})]},e.p))]}),a.jsx("div",{className:"grid sm:grid-cols-3 gap-4 mt-10",children:[{icon:pn,t:"Institutional Finance + Real Assets"},{icon:Kt,t:"Commodity & Digital Settlement"},{icon:St,t:"Risk Mitigation & Project Finance"}].map(e=>a.jsxs("div",{className:"p-5 border border-gold bg-card flex items-center gap-3",children:[a.jsx(e.icon,{className:"w-5 h-5 text-primary",strokeWidth:1.5}),a.jsx("p",{className:"font-body text-xs text-muted-foreground",children:e.t})]},e.t))})]}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"max-w-5xl mx-auto mb-20",children:[a.jsxs("div",{className:"text-center mb-10",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-3",children:"Strategic Objectives"}),a.jsxs("h3",{className:"font-display text-2xl md:text-3xl text-foreground",children:["2026 ",a.jsx("span",{className:"text-gradient-gold",children:"Objectives"})]})]}),a.jsx("div",{className:"grid sm:grid-cols-2 gap-4",children:BR.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,x:-15},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.4,delay:t*.05},className:"p-4 border border-primary/20 bg-card flex items-start gap-3 hover:border-primary/50 transition-colors",children:[a.jsx(Tt,{className:"w-4 h-4 text-primary mt-0.5 flex-shrink-0",strokeWidth:1.5}),a.jsx("p",{className:"font-body text-sm text-muted-foreground",children:e})]},e))})]}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"max-w-4xl mx-auto border border-gold bg-card p-8 md:p-12 text-center",children:[a.jsx("p",{className:"text-primary/60 font-body text-xs tracking-[0.3em] uppercase mb-5",children:"Vision Statement"}),a.jsx("p",{className:"font-display text-xl md:text-2xl text-foreground leading-relaxed italic",children:'"Touchstone Capital Partners aims to establish a next-generation global ecosystem integrating finance, energy, gold, infrastru
356cture, and digital trade through multiple Hong Kong Main Board IPO platforms, supported by institutional risk mitigation, strategic partnerships, and international capital market access."'})]})]})}),zR="/assets/valuation-hero-CV5ihPu2.jpg",ky="/assets/valuation-capital-markets-Bd6bX9Ga.jpg",Ny="/assets/valuation-digital-infra-ePRbQgVo.jpg",bu="/assets/valuation-global-network-Caz8swBQ.jpg",$R=[{label:"Platform Enterprise Value",value:"US$77 Billion",desc:"Regulated investment infrastructure, capital formation capability, strategic partnerships, digital financial infrastructure, IP and institutional operating platform."},{label:"Investment Portfolio Value",value:"US$30 Billion",desc:"Existing operating businesses, mature projects and future investment pipeline."},{label:"Total Illustrative Enterprise Value",value:"US$107 Billion",desc:"Combined illustrative management assessment of TCPâs reusable institutional platform and current investment portfolio."}],WR=[{icon:Rn,title:"Global Capital Market Infrastructure",img:ky,items:["Luxembourg institutional investment platform â Fenchurch Alternatives S.A.R.L.","Initial â¬5 Billion Luxembourg Bond Programme (expandable multi-tranche)","BNY Mellon acting as institutional custodian","Gibraltar Bond Programme â Initial US$5 Billion issuance capacity","GLAS as security trustee / agency services","ICBC supporting custody and paying agency functions"]},{icon:St,title:"Institutional Risk Management Platform",img:bu,items:["Collaboration with MNT Group for institutional insurance solutions","Political Risk Insurance","Credit Enhancement","Insurance Wrap","Infrastructure Insurance","Construction Risk","Project Finance Risk Transfer"]},{icon:Kt,title:"Global Strategic Industrial Network",img:bu,items:["Strategic relationships with Shell, Petronas, CNPC, MCC, CRRC","Engineering companies and EPC contractors","Commodity traders and financial institutions","Infrastructure partners reducing development timelines","Significant execution risk reduction across projects"]},{icon:$N,title:"Digital Financial Infrastructure",img:Ny,items:["SRC Blockchain Platform","Trade Finance and Supply Chain Finance","Digital Settlement and Smart Contracts","Cross-border Transactions","Institutional Reporting","Intended future financial operating system for investment platforms"]},{icon:qt,title:"Red Ribbon Digital Bank",img:Ny,items:["Operating digital banking platform","Treasury Management","Cross-border Payments","Digital Banking","Working Capital Finance","Institutional Settlement"]},{icon:$o,title:"Institutional Capital Formation Network",img:bu,items:["Relationships with BlackRock, Bridgewater, CIC, CICC, TFI International","Sovereign wealth funds and pension funds","Insurance companies and family offices","Scalable capital formation for future investment programmes"]},{icon:fn,title:"Mature Investment Pipeline",img:ky,items:["Ghana Oil & Gas Development","Healthcare","Infrastructure","Energy","Hospitality","Financial Services","Approximately US$30 Billion illustrative project value"]}],Sy=[{multiple:"15Ã",value:"US$45 Billion"},{multiple:"20Ã",value:"US$60 Billion"},{multiple:"25Ã",value:"US$75 Billion"},{multiple:"30Ã",value:"US$90 Billion"}],UR=["Multiple institutional funds","Successive bond programmes","Cross-border infrastructure investments","Global healthcare projects","Energy transition projects","Strategic sovereign investments"],GR=()=>a.jsxs("div",{className:"pt-24 pb-32",children:[a.jsxs("section",{className:"relative h-[60vh] min-h-[480px] flex items-center justify-center overflow-hidden border-b border-gold",children:[a.jsx("img",{src:zR,alt:"Enterprise value visualization",className:"absolute inset-0 w-full h-full object-cover opacity-60",width:1536,height:768}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-background/80 via-background/60 to-background"}),a.jsxs("div",{className:"relative z-10 container mx-auto px-6 text-center",children:[a.jsx(N.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"July 2026 (Illustrative Management Assessment)"}),a.jsxs(N.h1,{initial:{opacity:0,y:30}
356,animate:{opacity:1,y:0},transition:{duration:.8,delay:.1},className:"font-display text-4xl md:text-6xl text-foreground mb-6",children:["Enterprise ",a.jsx("span",{className:"text-gradient-gold",children:"Valuation Summary"})]}),a.jsx(N.div,{initial:{opacity:0,scaleX:0},animate:{opacity:1,scaleX:1},transition:{duration:.8,delay:.2},className:"w-24 h-[1px] bg-primary/40 mx-auto mb-6"}),a.jsx(N.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.3},className:"font-body text-sm md:text-base text-muted-foreground max-w-3xl mx-auto leading-relaxed",children:"Touchstone Capital Partners is structured as an institutional investment ecosystem rather than a traditional investment manager or project developer. Its enterprise value is derived from two complementary components: Platform Enterprise Value and Investment Portfolio Value."})]})]}),a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"max-w-4xl mx-auto text-center py-20",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Executive Summary"}),a.jsxs("h2",{className:"font-display text-3xl md:text-4xl text-foreground mb-6",children:["A Reusable Institutional ",a.jsx("span",{className:"text-gradient-gold",children:"Platform"})]}),a.jsx("p",{className:"font-body text-sm md:text-base text-muted-foreground leading-relaxed",children:"Unlike conventional investment firms whose value depends primarily on existing assets, TCP has developed a reusable institutional platform capable of originating, financing, executing and managing multiple generations of funds, bond programmes and strategic investments globally."})]}),a.jsx("div",{className:"grid md:grid-cols-3 gap-6 mb-24",children:$R.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:25},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t*.1},className:"border border-gold bg-card p-8 text-center group hover:border-primary/50 transition-colors",children:[a.jsx("p",{className:"font-body text-xs tracking-[0.2em] uppercase text-primary/70 mb-4",children:e.label}),a.jsx("p",{className:"font-display text-3xl md:text-4xl text-gradient-gold mb-4",children:e.value}),a.jsx("p",{className:"font-body text-xs text-muted-foreground leading-relaxed",children:e.desc})]},e.label))}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"max-w-5xl mx-auto border border-gold bg-card p-10 md:p-14 text-center mb-24",children:[a.jsx("p",{className:"font-body text-sm tracking-[0.2em] uppercase text-primary/70 mb-4",children:"Total Illustrative Enterprise Value"}),a.jsx("p",{className:"font-display text-5xl md:text-7xl text-gradient-gold mb-6",children:"US$107 Billion"}),a.jsxs("div",{className:"flex flex-col md:flex-row justify-center gap-8 md:gap-16 text-sm text-muted-foreground font-body",children:[a.jsxs("div",{children:[a.jsx("span",{className:"block text-foreground font-display text-xl",children:"US$77B"}),"Platform Enterprise Value"]}),a.jsx("div",{className:"hidden md:block w-[1px] bg-gold"}),a.jsxs("div",{children:[a.jsx("span",{className:"block text-foreground font-display text-xl",children:"US$30B"}),"Investment Portfolio Value"]})]})]}),a.jsxs("div",{className:"mb-24",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Key Value Drivers"}),a.jsxs("h2",{className:"font-display text-3xl md:text-4xl text-foreground",children:["Supporting ",a.jsx("span",{className:"text-gradient-gold",children:"Enterprise Value"})]})]}),a.jsx("div",{className:"space-y-20 max-w-6xl mx-auto",children:WR.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:`grid md:grid-cols-2 gap-10 items-center ${t%2===1?"md:[&>div:first-child]:order-2":""}`,children:[a.jsx("div",{className:"relative overflow-hidden border border-gold",children:a.jsx("img",{src:e.img,alt:e.title,loading:"lazy",width:1024,height:640,className:"w-full h-64 md:h-80 object-cover"})}),a.jsxs("div",{children:[a.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[a.jsx("div",{className:"w-10 h-10 border border-gold flex items-center justify-center",children:a.jsx(e.icon,{className:"w-4 h-4 text-primary",strokeWidth:1.5})}),a.jsxs("p",{className:"font-body text-xs tracking-[0.25em] uppercase text-primary/70",children:["Value Driver ",t+1]})]}),a.jsx("h3",{className:"font-display text-2xl md:text-3xl text-foreground mb-5",children:e.title}),a.jsx("ul",{className:"space-y-3",children:e.items.map(n=>a.jsxs("li",{className:"flex items-start gap-3 font-body text-sm text-muted-foreground",children:[a.jsx("span",{className:"w-1 h-1 mt-2 bg-primary rounded-full flex-shrink-0"}),n]},n))})]})]},e.title))})]}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"max-w-5xl mx-auto mb-24",children:[a.jsxs("div",{className:"text-center mb-12",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"EBITDA Valuation Illustration"}),a.jsxs("h2",{className:"font-display text-3xl md:text-4xl text-foreground",children:["Illustrative ",a.jsx("span",{className:"text-gradient-gold",children:"EBITDA Scenarios"})]}),a.jsxs("p",{className:"font-body text-sm text-muted-foreground mt-4 max-w-2xl mx-auto",children:["Management indicates that the current mature project portfolio has the potential to generate approximately ",a.jsx("span",{className:"text-foreground font-medium",children:"US$3 Billion"})," of annual EBITDA."]})]}),a.jsxs("div",{className:"border border-gold bg-card overflow-hidden",children:[a.jsxs("div",{className:"grid grid-cols-2 bg-gold-subtle border-b border-gold",children:[a.jsx("div",{className:"p-4 font-display text-sm text-foreground",children:"EBITDA Multiple"}),a.jsx("div",{className:"p-4 font-display text-sm text-foreground border-l border-gold",children:"Illustrative Enterprise Value"})]}),Sy.map((e,t)=>a.jsxs("div",{className:`grid grid-cols-2 ${t!==Sy.length-1?"border-b border-primary/15":""}`,children:[a.jsx("div",{className:"p-4 font-body text-sm text-foreground",children:e.multiple}),a.jsx("div",{className:"p-4 font-body text-sm text-gradient-gold border-l border-primary/15 font-medium",children:e.value})]},e.multiple))]}),a.jsxs("p",{className:"font-body text-xs text-muted-foreground mt-4 text-center flex items-center justify-center gap-2",children:[a.jsx(hh,{className:"w-3 h-3"}),"These scenarios are presented solely for illustrative purposes and are not independent valuations."]})]}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"max-w-5xl mx-auto mb-24",children:[a.jsxs("div",{className:"text-center mb-12",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Long-Term Enterprise Value Outlook"}),a.jsxs("h2",{className:"font-display text-3xl md:text-4xl text-foreground",children:["From ",a.jsx("span",{className:"text-gradient-gold",children:"Initial Phase"})," to Multi-Trillion Scale"]}),a.jsx("p",{className:"font-body text-sm text-muted-foreground mt-4 max-w-2xl mx-auto",children:"The current investment portfolio represents only the initial phase of TCPâs long-term strategy. Management expects the platform to supp
356ort:"})]}),a.jsx("div",{className:"grid sm:grid-cols-2 md:grid-cols-3 gap-4 mb-10",children:UR.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,x:-15},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.4,delay:t*.05},className:"p-5 border border-primary/20 bg-card flex items-start gap-3 hover:border-primary/50 transition-colors",children:[a.jsx(Tt,{className:"w-4 h-4 text-primary mt-0.5 flex-shrink-0",strokeWidth:1.5}),a.jsx("p",{className:"font-body text-sm text-muted-foreground",children:e})]},e))}),a.jsxs("div",{className:"border border-gold bg-card p-8 text-center",children:[a.jsx("p",{className:"font-body text-sm tracking-[0.2em] uppercase text-primary/70 mb-3",children:"Cumulative Investment Activity Target"}),a.jsx("p",{className:"font-display text-3xl md:text-5xl text-gradient-gold mb-3",children:"US$100 Billion â US$1 Trillion+"}),a.jsx("p",{className:"font-body text-xs text-muted-foreground",children:"As additional regulated investment vehicles, institutional partnerships and assets under management are established over time."})]})]}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"max-w-4xl mx-auto border border-gold bg-card p-8 md:p-12 text-center",children:[a.jsxs("div",{className:"flex items-center justify-center gap-2 mb-5",children:[a.jsx(Jl,{className:"w-5 h-5 text-primary",strokeWidth:1.5}),a.jsx("p",{className:"text-primary/60 font-body text-xs tracking-[0.3em] uppercase",children:"Valuation Conclusion"})]}),a.jsxs("p",{className:"font-body text-sm md:text-base text-muted-foreground leading-relaxed mb-6",children:["The illustrative ",a.jsx("span",{className:"text-foreground font-medium",children:"US$107 billion"})," enterprise value reflects the combined value of TCPâs reusable institutional platform (",a.jsx("span",{className:"text-foreground font-medium",children:"US$77 billion"}),") and its current investment portfolio (",a.jsx("span",{className:"text-foreground font-medium",children:"US$30 billion"}),")."]}),a.jsx("p",{className:"font-body text-sm md:text-base text-muted-foreground leading-relaxed mb-6",children:"Management believes additional factors â including regulated bond issuance programmes, institutional banking infrastructure, insurance and risk-transfer capabilities, strategic industry partnerships, digital financial infrastructure, and a mature project pipeline with illustrative EBITDA potential â provide further qualitative support for this enterprise value framework."}),a.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-3 border border-primary/30 bg-gold-subtle",children:[a.jsx(hh,{className:"w-4 h-4 text-primary",strokeWidth:1.5}),a.jsx("p",{className:"font-body text-xs text-muted-foreground",children:"These figures are management estimates for strategic discussion and are not audited, independently verified, or prepared under a recognized valuation standard."})]})]})]})]}),HR="/assets/token-gold-bars-D5C-tS0h.jpg",KR="/assets/token-digital-coin-mM9CLGo4.jpg",qR="/assets/token-settlement-Eq6xTpcj.jpg",QR="/assets/token-gold-mine-D1X2fXhi.jpg",YR="/assets/token-vault-B5Rgr84e.jpg",hi=[{src:HR,label:"Physical Gold Reserves"},{src:KR,label:"Digital Gold Token"},{src:qR,label:"T+0 Global Settlement"},{src:QR,label:"Producing Gold Mine"},{src:YR,label:"Allocated & Audited Vault"}],XR=()=>{const[e,t]=w.useState(0);return w.useEffect(()=>{const n=setInterval(()=>t(r=>(r+1)%hi.length),5e3);return()=>clearInterval(n)},[]),a.jsxs("section",{className:"relative w-full h-[55vh] min-h-[380px] overflow-hidden bg-background",children:[a.jsx(oi,{mode:"sync",children:a.jsx(N.img,{src:hi[e].src,alt:hi[e].label,initial:{opacity:0,scale:1.05},animate:{opacity:1,scale:1},exit:{opacity:0,scale:1},transition:{duration:1.4,ease:"easeInOut"},className:"absolute inset-0 w-full h-full object-cover",width:1600,height:900,loading:"lazy"},e)}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-background/70 via-background/40 to-background"}),a.jsxs("div",{className:"relative z-10 container mx-auto px-6 h-full flex flex-col justify-center items-center text-center",children:[a.jsx(N.p,{initial:{opacity:0,y:10}
356,animate:{opacity:1,y:0},transition:{duration:.8},className:"text-primary/70 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Touchstone Digital Asset"}),a.jsxs(N.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.9,delay:.1},className:"font-display text-4xl md:text-6xl text-foreground mb-6 tracking-tight",children:["Global ",a.jsx("span",{className:"text-gradient-gold",children:"Gold-Backed Token"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mb-6"}),a.jsx(N.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.6},className:"font-body text-primary text-xs md:text-sm tracking-[0.25em] uppercase",children:hi[e].label},hi[e].label),a.jsx("div",{className:"absolute bottom-8 left-1/2 -translate-x-1/2 flex gap-3",children:hi.map((n,r)=>a.jsx("button",{onClick:()=>t(r),"aria-label":`Go to slide ${r+1}`,className:`h-[2px] transition-all duration-500 ${r===e?"w-10 bg-primary":"w-5 bg-primary/30"}`},r))})]})]})},ZR=[{icon:eS,title:"Global Supply Chain Finance",desc:"Powers Touchstone's internal supply chain â financing procurement, trade flows and logistics across the platform's global business network."},{icon:Fo,title:"Settlement Layer",desc:"Used as the primary settlement instrument across Touchstone platforms â gold-backed value transfer between counterparties, projects and partners."},{icon:Tt,title:"Investment Instrument",desc:"Serves as a stable, asset-backed investment vehicle for institutional and strategic investors seeking gold exposure with platform utility."},{icon:nS,title:"Digital Bank · T+0 Payment",desc:"Enables instant T+0 payments through the Touchstone digital banking layer â real-time settlement with no clearing delay."}],JR=[{icon:St,label:"Fully Gold-Backed"},{icon:Kt,label:"Global Utility"},{icon:pn,label:"Scalable Issuance"}],eI=()=>a.jsxs("section",{id:"gold-token",className:"py-32 relative",children:[a.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-40 h-[1px] line-gold"}),a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-10",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Digital Asset Issuance"}),a.jsxs("h2",{className:"font-display text-4xl md:text-5xl text-foreground mb-6",children:["Touchstone ",a.jsx("span",{className:"text-gradient-gold",children:"Global Gold-Backed Token"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto"})]}),a.jsx(N.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.1},className:"font-body text-sm md:text-base text-muted-foreground leading-relaxed max-w-3xl mx-auto text-center mb-16",children:"Touchstone Capital Partners issues a global gold-backed token built for the platform's own ecosystem â supporting supply chain finance, settlement, investment and digital banking with T+0 instant payment capability across all Touchstone operations."}),a.jsx(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"max-w-3xl mx-auto mb-20",children:a.jsxs("div",{className:"border border-gold bg-gold-subtle p-8 md:p-10 text-center",children:[a.jsx(ni,{className:"w-8 h-8 text-primary mx-auto mb-4",strokeWidth:1.5}),a.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-primary/70 mb-3",children:"First Tranche Issuance"}),a.jsx("p",{className:"font-display text-4xl md:text-5xl text-gradient-gold mb-4",children:"US$10 Billion"}),a.jsx("p",{className:"font-body text-sm text-muted-foreground leading-relaxed max-w-xl mx-auto",children:"Initial issuance of US$10B, structured across two token classes â each backed by physical gold or producing gold mine assets, with progressive scaling as platform demand grows."}),a.jsx("div",{className:"flex flex-wrap justify-center gap-4 mt-8 pt-6 border-t border-primary/20",children:JR.map(e=>a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(e.icon,{className:"w-4 h-4 text-primary",strokeWidth:1.5}),a.jsx("span",{className:"font-body text-xs tracking-[0.15em] uppercase text-foreground
356/80",children:e.label})]},e.label))})]})}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"max-w-5xl mx-auto mb-20",children:[a.jsxs("div",{className:"text-center mb-10",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-3",children:"Issuance Rationale"}),a.jsxs("h3",{className:"font-display text-2xl md:text-3xl text-foreground tracking-tight",children:["Why Touchstone Issues a ",a.jsx("span",{className:"text-gradient-gold",children:"Gold-Backed Token"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mt-6 mb-6"}),a.jsx("p",{className:"font-body text-sm md:text-base text-muted-foreground leading-relaxed max-w-3xl mx-auto",children:"The Touchstone Gold-Backed Token is engineered as the financial backbone of the platform â bridging real-world commodity value with the speed and programmability of digital assets. Issuance is driven by clear strategic objectives across capital, settlement, and global utility."})]}),a.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:[{title:"Real-Asset Anchored Liquidity",desc:"Every token is fully collateralised by audited physical gold or producing gold-mine cash flows â providing intrinsic, tangible value that does not rely on credit or fiat-system risk."},{title:"Capital for Platform Expansion",desc:"Issuance creates a scalable, asset-backed funding channel to capitalise Touchstone's banking, supply chain, energy, infrastructure and RWA platforms â without diluting equity in core operating businesses."},{title:"T+0 Settlement & Trade Finance",desc:"Replaces multi-day banking settlement with instant, on-chain settlement across counterparties, projects and partners â unlocking working c
356apital efficiency for global trade and supply chain flows."},{title:"Institutional Gold Exposure",desc:"Gives sovereign funds, family offices and institutional investors a regulated, audited and yield-bearing path to gold exposure â combining commodity stability with platform utility and operational yield."},{title:"Bridge to Digital Financial Ecosystem",desc:"Establishes Touchstone's foundational asset for the future RWA economy â interoperable across digital banking, tokenised funds and cross-border payment rails."},{title:"Hedge Against Macro & Currency Risk",desc:"Gold backing provides a natural hedge against inflation, currency devaluation and geopolitical volatility â preserving purchasing power across all Touchstone operating regions."}].map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.08},className:"p-6 border border-gold bg-card hover:bg-gold-subtle transition-colors",children:[a.jsxs("div",{className:"flex items-start gap-3 mb-3",children:[a.jsx("span",{className:"font-display text-xs text-primary/60 tracking-[0.2em]",children:String(t+1).padStart(2,"0")}),a.jsx("h4",{className:"font-display text-base md:text-lg text-foreground leading-tight",children:e.title})]}),a.jsx("p",{className:"font-body text-xs text-muted-foreground leading-relaxed",children:e.desc})]},e.title))})]}),a.jsxs("div",{className:"max-w-6xl mx-auto",children:[a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"text-center mb-10",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-3",children:"Token Utility"}),a.jsxs("h3",{className:"font-display text-2xl md:text-3xl text-foreground tracking-tight",children:["Platform ",a.jsx("span",{className:"text-gradient-gold",children:"Use Cases"})]})]}),a.jsx("div",{className:"grid sm:grid-cols-2 gap-6",children:ZR.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:25},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.1},className:"p-7 border border-gold bg-card hover:bg-gold-subtle transition-colors",children:[a.jsx("div",{className:"w-11 h-11 mb-4 border border-gold flex items-center justify-center",children:a.jsx(e.icon,{className:"w-5 h-5 text-primary",strokeWidth:1.5})}),a.jsx("h4",{className:"font-display text-lg text-foreground mb-3",children:e.title}),a.jsx("p",{className:"font-body text-xs text-muted-foreground leading-relaxed",children:e.desc})]},e.title))})]})]})]}),tI=()=>a.jsxs(a.Fragment,{children:[a.jsx(XR,{}),a.jsx(eI,{})]}),nI=[{icon:Mv,label:"Physical vaulted gold reserves"},{icon:qN,label:"Equity participation in producing gold mines"},{icon:tp,label:"Blockchain-based settlement and tokenization"},{icon:St,label:"Institutional risk mitigation and insurance structures"},{icon:ri,label:"Cross-border settlement capability for trade and infrastructure projects"}],rI=[{icon:ni,label:"Asset stability from physical bullion"},{icon:Tt,label:"Long-term appreciation from mining production"},{icon:Fo,label:"Fixed-income style returns"},{icon:cs,label:"Digital liquidity through blockchain infrastructure"}],iI=["Switzerland","Singapore","Other regulated custody jurisdictions"],sI=[{icon:_o,label:"Smart contract settlement"},{icon:tp,label:"Real-time transfer capability"},{icon:ri,label:"Cross-border digital settlement"},{icon:np,label:"Tokenized ownership records"},{icon:Bo,label:"Transparent transaction history"}],oI=[{icon:St,label:"Insurance wraps"},{icon:ni,label:"Asset collateralization"},{icon:_o,label:"Project guarantees"},{icon:fn,label:"Long-term off-take agreements"},{icon:Mv,label:"Institutional custody frameworks"},{icon:Jl,label:"KYC/AML compliance structures"}],aI=["Sovereign infrastructure financing","Cross-border trade settlement","Commodity settlement","Alternative reserve asset structures","Institutional treasury diversification","Digital collateral for project finance","Gold-backed liquidity mechanisms"],lI=["Real-world infrastructure assets","Institutional finance","Bond programme financing","Insurance-backed structures","Gold-backed settlement systems","Tokenized project ecosystems"],cI=()=>a.jsxs("section",{className:"py-32 relative",children:[a.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-40 h-[1px] line-gold"}),a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16 pt-20",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"TGT Overview"}),a.jsxs("h1",{className:"font-display text-4xl md:text-5xl text-foreground mb-6",children:["Touchstone ",a.jsx("span",{className:"text-gradient-gold",children:"Gold Token (TGT)"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto"})]}
356),a.jsxs("div",{className:"max-w-4xl mx-auto space-y-6 mb-20",children:[['The "Touchstone Gold Token" (TGT) can be positioned as a next-generation institutional-grade gold-backed digital asset designed to combine the stability of physical gold, the upside of producing mining assets, and the efficiency of blockchain settlement infrastructure.',"According to Touchstone's published materials, the proposed structure includes:"].map((e,t)=>a.jsx(N.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t*.08},className:"font-body text-muted-foreground leading-relaxed text-base",children:e},t)),a.jsx("div",{className:"grid sm:grid-cols-2 gap-4 pt-2",children:nI.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.06},className:"flex items-center gap-4 p-5 border border-gold bg-card hover:bg-gold-subtle transition-colors",children:[a.jsx("div",{className:"w-10 h-10 shrink-0 border border-gold flex items-center justify-center",children:a.jsx(e.icon,{className:"w-4 h-4 text-primary",strokeWidth:1.5})}),a.jsx("p",{className:"font-body text-sm text-foreground",children:e.label})]},e.label))})]}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-5xl mx-auto mb-20",children:[a.jsxs("div",{className:"flex items-center gap-4 mb-8",children:[a.jsx("div",{className:"w-12 h-12 border border-gold flex items-center justify-center",children:a.jsx(pn,{className:"w-5 h-5 text-primary",strokeWidth:1.5})}),a.jsxs("h2",{className:"font-display text-2xl md:text-3xl text-foreground",children:["Proposed ",a.jsx("span",{className:"text-gradient-gold",children:"Structure"})]})]}),a.jsxs("p",{className:"font-body text-muted-foreground leading-relaxed mb-8",children:[a.jsx("span",{className:"text-foreground font-medium",children:"Hybrid Asset Backing."})," The Touchstone Gold Token may be structured with:"]}),a.jsxs("div",{className:"grid sm:grid-cols-2 gap-6 mb-10",children:[a.jsxs("div",{className:"p-8 border border-gold bg-card",children:[a.jsx("p",{className:"font-display text-5xl text-gradient-gold mb-3",children:"20%"}),a.jsx("p",{className:"font-body text-sm text-foreground",children:"Allocated to physical vaulted gold"})]}),a.jsxs("div",{className:"p-8 border border-gold bg-card",children:[a.jsx("p",{className:"font-display text-5xl text-gradient-gold mb-3",children:"80%"}),a.jsx("p",{className:"font-body text-sm text-foreground",children:"Allocated to equity ownership in producing gold mining operations"})]})]}),a.jsx("p",{className:"font-body text-muted-foreground leading-relaxed mb-6",children:"This creates a hybrid model combining:"}),a.jsx("div",{className:"grid sm:grid-cols-2 gap-4",children:rI.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.06},className:"flex items-center gap-4 p-5 border border-gold bg-card hover:bg-gold-subtle transition-colors",children:[a.jsx("div",{className:"w-10 h-10 shrink-0 border border-gold flex items-center justify-center",children:a.jsx(e.icon,{className:"w-4 h-4 text-primary",strokeWidth:1.5})}),a.jsx("p",{className:"font-body text-sm text-foreground",children:e.label})]},e.label))})]}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-5xl mx-auto mb-20",children:[a.jsxs("div",{className:"text-center mb-10",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Core Features"}),a.jsxs("h2",{className:"font-display text-3xl md:text-4xl text-foreground",children:["Gold-Backed ",a.jsx("span",{className:"text-gradient-gold",children:"Stability"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mt-6"})]}),a.jsx("p",{className:"font-body text-muted-foreground leading-relaxed text-center max-w-3xl mx-auto mb-8",children:"The token is designed to be backed by audited gold reserves stored in international vault jurisdictions such as:"}),a.jsx("div",{className:"flex flex-wrap justify-center gap-4 mb-16",children:iI.map(e=>a.jsx("div",{className:"px-6 py-3 border border-gold bg-card font-body text-sm text-foreground",children:e},e))}),a.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[a.jsx("div",{className:"w-12 h-12 border border-gold flex items-center justify-center",children:a.jsx(tp,{className:"w-5 h-5 text-primary",strokeWidth:1.5})}),a.jsxs("h3",{className:"font-display text-2xl text-foreground",children:["Blockchain ",a.jsx("span",{className:"text-gradient-gold",children:"Settlement"})]})]}),a.jsx("div",{className:"grid sm:grid-cols-2 gap-4 mb-12",children:sI.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.06},className:"flex items-center gap-4 p-5 border border-gold bg-card hover:bg-gold-subtle transition-colors",children:[a.jsx("div",{className:"w-10 h-10 shrink-0 border border-gold flex items-center justify-center",children:a.jsx(e.icon,{className:"w-4 h-4 text-primary",strokeWidth:1.5})}),a.jsx("p",{className:"font-body text-sm text-foreground",children:e.label})]},e.label))}),a.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[a.jsx("div",{className:"w-12 h-12 border border-gold flex items-center justify-center",children:a.jsx(St,{className:"w-5 h-5 text-primary",strokeWidth:1.5})}),a.jsxs("h3",{className:"font-display text-2xl text-foreground",children:["Risk Mitigation ",a.jsx("span",{className:"text-gradient-gold",children:"Layer"})]})]}),a.jsx("p",{className:"font-body text-muted-foreground mb-6",children:"A
356key differentiator is the integration of:"}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-4",children:oI.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.06},className:"flex items-center gap-4 p-5 border border-gold bg-card hover:bg-gold-subtle transition-colors",children:[a.jsx("div",{className:"w-10 h-10 shrink-0 border border-gold flex items-center justify-center",children:a.jsx(e.icon,{className:"w-4 h-4 text-primary",strokeWidth:1.5})}),a.jsx("p",{className:"font-body text-sm text-foreground",children:e.label})]},e.label))})]}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-5xl mx-auto mb-20",children:[a.jsxs("div",{className:"text-center mb-10",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Strategic Use Cases"}),a.jsxs("h2",{className:"font-display text-3xl md:text-4xl text-foreground",children:["The Touchstone Gold Token"," ",a.jsx("span",{className:"text-gradient-gold",children:"Ecosystem"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mt-6"})]}),a.jsx("div",{className:"grid sm:grid-cols-2 gap-4",children:aI.map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.05},className:"flex items-center gap-4 p-5 border border-gold bg-card hover:bg-gold-subtle transition-colors",children:[a.jsx("div",{className:"w-2 h-2 shrink-0 bg-primary rotate-45"}),a.jsx("p",{className:"font-body text-sm text-foreground",children:e})]},e))})]}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-4xl mx-auto mb-20 text-center",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Positioning in the Tokenized Gold Market"}),a.jsx("p",{className:"font-body text-muted-foreground leading-relaxed mb-6",children:"Globally, tokenized gold is becoming a rapidly growing sector, with platforms such as:"}),a.jsx("div",{className:"flex flex-wrap justify-center gap-4 mb-6",children:["Tether Gold","PAX Gold","LCX"].map(e=>a.jsx("div",{className:"px-6 py-3 border border-gold bg-card font-body text-sm text-foreground",children:e},e))}),a.jsx("p",{className:"font-body text-muted-foreground leading-relaxed",children:"already demonstrating market demand for blockchain-based gold ownership."})]}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-5xl mx-auto mb-20",children:[a.jsxs("div",{className:"text-center mb-10",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Strategic Vision"}),a.jsxs("h2",{className:"font-display text-3xl md:text-4xl text-foreground",children:["Beyond Standard ",a.jsx("span",{className:"text-gradient-gold",children:"Gold Tokenization"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mt-6"})]}),a.jsx("p",{className:"font-body text-muted-foreground leading-relaxed text-center max-w-3xl mx-auto mb-8",children:"Touchstone's model aims to go beyond standard gold tokenization by integrating:"}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-4 mb-12",children:lI.map((e,t)=>a.jsx(N.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.06},className:"p-5 border border-gold bg-card text-center",children:a.jsx("p",{className:"font-body text-sm text-foreground",children:e})},e))}),a.jsx("p",{className:"font-body text-muted-foreground leading-relaxed text-center mb-6",children:"This positions the platform as a hybrid between:"}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-4",children:[{icon:Rn,label:"Traditional private equity"},{icon:fn,label:"Structured finance"},{icon:ni,label:"Commodity-backed digital assets"}
356,{icon:cs,label:"Blockchain settlement infrastructure"}].map((e,t)=>a.jsxs(N.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.08},className:"p-6 border border-gold bg-card text-center",children:[a.jsx("div",{className:"w-10 h-10 mx-auto mb-3 border border-gold flex items-center justify-center",children:a.jsx(e.icon,{className:"w-4 h-4 text-primary",strokeWidth:1.5})}),a.jsx("p",{className:"font-body text-sm text-foreground",children:e.label})]},e.label))})]}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-4xl mx-auto text-center",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-6",children:"Example Vision Statement"}),a.jsxs("p",{className:"font-display text-xl md:text-2xl text-foreground leading-relaxed italic",children:['"Touchstone Gold Token (TGT) is a'," ",a.jsx("span",{className:"text-gradient-gold",children:"next-generation asset-backed digital token"})," ",'combining physical gold reserves, producing mining assets, and institutional-grade risk mitigation to create a secure, transparent, and globally scalable settlement and investment ecosystem."']}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mt-8"})]})]})]}),uI="/assets/persist-handshake-RtbLFuku.jpg",dI="/assets/persist-hardwork-CR38JaT2.jpg",fI="/assets/persist-mountain-QKvE-epZ.jpg",pI="/assets/persist-f1-D02mtJCw.jpg",Is=[{src:uI,label:"Hand in Hand"},{src:dI,label:"Hard Work"},{src:fI,label:"Climbing the Summit"},{src:pI,label:"Racing Forward"}],mI=[["Nothing in this world is more powerful than persistence.","Talent without persistence fades.","Opportunities without persistence are lost.","Dreams without persistence remain only dreams."],["Persistence turns small steps into great achievements.","It is the quiet force that keeps moving forward when others stop.","Success is rarely about speed â it is about staying in the race long enough to win."],["Keep going. Even slowly, progress is progress.","Persistence is the bridge between vision and reality."]],hI=()=>{const[e,t]=w.useState(0);return w.useEffect(()=>{const n=setInterval(()=>t(r=>(r+1)%Is.length),5500);return()=>clearInterval(n)},[]),a.jsxs("section",{className:"relative w-full min-h-screen overflow-hidden flex items-center",children:[a.jsxs("div",{className:"absolute inset-0",children:[a.jsx(oi,{mode:"wait",children:a.jsx(N.div,{initial:{opacity:0,scale:1.08},animate:{opacity:1,scale:1},exit:{opacity:0,scale:1.02},transition:{duration:1.6,ease:"easeOut"},className:"absolute inset-0",children:a.jsx("img",{src:Is[e].src,alt:Is[e].label,width:1920,height:1080,className:"w-full h-full object-cover"})},e)}),a.jsx("div",{className:"absolute inset-0 bg-background/70"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-background via-background/60 to-background/30"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background via-transparent to-background/40"})]}),a.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-40 h-[1px] line-gold"}),a.jsx("div",{className:"relative w-full px-6 md:px-16 lg:px-24 py-32",children:a.jsxs("div",{className:"max-w-6xl mx-auto",children:[a.jsxs(N.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:1},className:"mb-14",children:[a.jsx("p",{className:"text-primary/70 font-body text-sm tracking-[0.4em] uppercase mb-6",children:"The Touchstone Spirit"}),a.jsxs("h1",{className:"font-display text-5xl md:text-7xl lg:text-8xl text-foreground tracking-tight leading-[1.05]",children:["The Power of"," ",a.jsx("span",{className:"text-gradient-gold italic",children:"Persistence"})]}),a.jsx("div",{className:"w-24 h-[1px] bg-primary/50 mt-8"})]}),a.jsx("div",{className:"grid md:grid-cols-3 gap-10 lg:gap-14 max-w-6xl",children:mI.map((n,r)=>a.jsx(N.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.9,delay:.4+r*.2},className:"relative pl-5 border-l border-gold",children:n.map((i,s)=>a.jsx("p",{className:"font-display text-base md:text-lg lg:text-xl text-foreground
356/90 leading-relaxed mb-3 last:mb-0",children:i},s))},r))}),a.jsxs("div",{className:"flex items-center gap-6 mt-16",children:[a.jsx("div",{className:"flex gap-3",children:Is.map((n,r)=>a.jsx("button",{onClick:()=>t(r),className:`h-[2px] transition-all ${r===e?"w-12 bg-primary":"w-6 bg-primary/30"}`,"aria-label":`Slide ${r+1}`},r))}),a.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-primary/70",children:Is[e].label})]})]})})]})},gI=()=>a.jsxs(a.Fragment,{children:[a.jsx(hI,{}),a.jsxs("section",{className:"py-32 relative min-h-[80vh] flex items-center",children:[a.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-40 h-[1px] line-gold"}),a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-16 max-w-3xl mx-auto",children:[a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Get In Touch"}),a.jsxs("h1",{className:"font-display text-4xl md:text-6xl text-foreground mb-6 tracking-tight",children:["Contact ",a.jsx("span",{className:"text-gradient-gold",children:"Touchstone"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mb-8"}),a.jsx("p",{className:"font-body text-muted-foreground text-base md:text-lg leading-relaxed",children:"For institutional enquiries, partnership opportunities and investor relations, please reach our team through the channels below."})]}),a.jsxs("div",{className:"grid md:grid-cols-2 gap-6 max-w-4xl mx-auto",children:[a.jsxs(N.a,{href:"mailto:[email protected]",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"group p-10 border border-gold bg-card hover:bg-gold-subtle transition-colors text-center",children:[a.jsx("div",{className:"w-14 h-14 mx-auto mb-6 border border-gold flex items-center justify-center group-hover:bg-primary/10 transition-colors",children:a.jsx(Ev,{className:"w-6 h-6 text-primary",strokeWidth:1.5})}),a.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-primary/60 mb-3",children:"Email"}),a.jsx("p",{className:"font-display text-xl md:text-2xl text-gradient-gold mb-2",children:"[email protected]"}),a.jsx("p",{className:"font-body text-xs text-muted-foreground tracking-[0.15em] uppercase",children:"Institutional & Investor Enquiries"})]}),a.jsxs(N.a,{href:"https://www.touchstonegroup.org",target:"_blank",rel:"noopener noreferrer",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.1},className:"group p-10 border border-gold bg-card hover:bg-gold-subtle transition-colors text-center",children:[a.jsx("div",{className:"w-14 h-14 mx-auto mb-6 border border-gold flex items-center justify-center group-hover:bg-primary/10 transition-colors",children:a.jsx(ri,{className:"w-6 h-6 text-primary",strokeWidth:1.5})}),a.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-primary/60 mb-3",children:"Website"}),a.jsx("p",{className:"font-display text-xl md:text-2xl text-gradient-gold mb-2",children:"www.touchstonegroup.org"}),a.jsx("p",{className:"font-body text-xs text-muted-foreground tracking-[0.15em] uppercase",children:"Touchstone Group · Global Platform"})]})]})]})]})]}),yI=[{title:"1. No Offer or Solicitation",body:["Nothing contained on this Website shall constitute or be construed as an offer, invitation, solicitation, recommendation, endorsement, or inducement to subscribe for, purchase, sell, or otherwise deal in any securities, bonds, notes, financial instruments, investment products, insurance products, structured finance products, private placements, mergers and acquisitions, project financing, or any other investment opportunity.","Any reference to transactions, projects, investment opportunities, or financial structures presented on this Website is for illustrative and informational purposes only and shall not be regarded as an offer to the public or private placement solicitation in any jurisdiction.","No securities or investment products will be offered except in compliance with applicable laws and regulations and only through formal offering documents, subscription agreements, private placement memoranda, prospectuses, or legally binding transaction documentation."]},{title:"2. Professional Advice Required",body:["Users of this Website should seek independent professional advice from qualified legal, tax, financial, accounting, compliance, regulatory, and investment advisers before making any decision based on information contained herein.","TCP does not act as a fiduciary, trustee, financial adviser, legal adviser, tax adviser, or investment adviser to visitors of this Website unless expressly agreed in writing under a separate formal engagement.","Reliance on any information provided on this Website is strictly at the user's own risk."]},{title:"3. Forward-Looking Statements",body:["This Website may contain forward-looking statements, projections, forecasts, expectations, estimates, assumptions, and opinions relating to future events, investment performance, market conditions, financing outcomes, project execution, regulatory approvals, listing outcomes, bond issuances, IPOs, mergers and acquisitions, energy projects, infrastru
356cture developments, and other business activities.","Such statements are inherently subject to significant business, economic, political, regulatory, market, operational, and other risks and uncertainties, many of which are beyond TCP's control.","Actual results may differ materially from those expressed or implied. TCP makes no representation, warranty, or guarantee regarding the achievement, completeness, accuracy, or reasonableness of any projections or forward-looking statements.","Past performance is not indicative of future results."]},{title:"4. No Guarantee of Results",body:["TCP makes no guarantees, warranties, or representations regarding:"],list:["investment returns;","capital preservation;","project completion;","financing approvals;","regulatory approvals;","listing approvals;","bond issuance success;","project profitability;","government approvals;","insurance recoverability;","counterparty performance;","timing of execution; or","commercial outcomes."],after:["All investments and business activities involve substantial risks, including partial or total loss of capital."]},{title:"5. Third-Party Information",body:["This Website may contain information obtained from third-party sources, including governments, financial institutions, insurers, legal advisers, rating agencies, consultants, project sponsors, operators, developers, and strategic partners.","While TCP believes such information may be reliable, we do not independently verify all such information and make no representation or warranty regarding its accuracy, completeness, reliability, or timeliness.","TCP shall not be liable for any errors, omissions, inaccuracies, or reliance placed upon third-party information."]},{title:"6. Regulatory and Jurisdictional Restrictions",body:["This Website is not directed at any person in any jurisdiction where publication, access, or availability would be prohibited by law or regulation.","Users are responsible for ensuring compliance with all applicable local laws, securities regulations, financial promotion rules, sanctions laws, anti-money laundering regulations, and investment restrictions in their respective jurisdictions.","Access to certain information may be restricted under applicable securities laws, private placement regulations, and financial promotion rules.","TCP does not represent that materials on this Website are appropriate or available for use in all jurisdictions."]},{title:"7. Confidentiality and No Privilege",body:["Submission of inquiries, emails, documents, or other communications through this Website does not create any advisory, fiduciary, attorney-client, banker-client, broker-client, trustee, agency, or confidential relationship unless expressly confirmed in writing.","Users should not submit confidential, proprietary, privileged, or sensitive information unless a formal confidentiality agreement, NDA, or engagement agreement has been fully executed."]},{title:"8. Intellectual Property Rights",body:["All content on this Website, including but not limited to text, graphics, designs, logos, presentations, financial structures, transaction models, investment frameworks, methodologies, reports, proprietary systems, branding, software, and documentation are owned by or licensed to TCP and are protected by intellectual property laws.","Unauthorized copying, reproduction, republication, distribution, modification, transmission, display, or commercial use without prior written consent is strictly prohibited."]},{title:"9. Limitation of Liability",body:["To the fullest extent permitted by law, TCP, its shareholders, directors, officers, employees, partners, advisers, affiliates, consultants, and representatives shall not be liable for any direct, indirect, incidental, consequential, special, punitive, or economic loss or damages arising out of or related to:"],list:["use of this Website;","inability to access the Website;","reliance on Website information;","investment decisions;","financing decisions;","project decisions;","third-party conduct;","cybersecurity incidents;","business interruption;","data loss;
356 or","inaccuracies or omissions."],after:["This applies whether arising in contract, tort, negligence, strict liability, or otherwise."]},{title:"10. Cybersecurity and Website Availability",body:["TCP does not warrant that this Website will be uninterrupted, error-free, virus-free, secure, or free from cyber threats, malicious code, or technical failures.","Users are responsible for implementing appropriate cybersecurity protections and precautions when accessing this Website."]},{title:"11. External Links",body:["This Website may contain links to external third-party websites for convenience only.","TCP does not control, endorse, or assume responsibility for any content, services, products, policies, or security practices of such external websites.","Access to third-party websites is entirely at the user's own risk."]},{title:"12. Amendments",body:["TCP reserves the right to modify, update, revise, or remove any part of this Disclaimer at any time without prior notice.","Users are encouraged to review this Disclaimer periodically.","Continued use of the Website constitutes acceptance of any updated terms."]},{title:"13. Governing Law",body:["This Disclaimer shall be governed by and construed in accordance with the laws of the applicable governing jurisdiction of Touchstone Capital Partners, including relevant international financial regulations where applicable.","Any disputes arising in connection with this Website shall be subject to the exclusive jurisdiction of the competent courts and dispute resolution mechanisms as determined by TCP's governing legal structure."]}],xI=()=>a.jsxs("section",{className:"py-32 relative",children:[a.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-40 h-[1px] line-gold"}),a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs(N.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center mb-16 max-w-3xl mx-auto",children:[a.jsx("div",{className:"w-14 h-14 mx-auto mb-6 border border-gold flex items-center justify-center",children:a.jsx(XN,{className:"w-5 h-5 text-primary",strokeWidth:1.5})}),a.jsx("p",{className:"text-primary/60 font-body text-sm tracking-[0.3em] uppercase mb-4",children:"Legal Notice"}),a.jsxs("h1",{className:"font-display text-4xl md:text-6xl text-foreground mb-6 tracking-tight",children:["Website ",a.jsx("span",{className:"text-gradient-gold",children:"Disclaimer"})]}),a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mb-8"}),a.jsx("p",{className:"font-body text-muted-foreground leading-relaxed",children:'The information contained on this website ("Website") is provided by Touchstone Capital Partners ("TCP", "we", "our", or "us") for general informational purposes only and does not constitute legal, financial, investment, tax, accounting, regulatory, or other professional advice.'}),a.jsx("p",{className:"font-body text-muted-foreground leading-relaxed mt-4",children:"By accessing and using this Website, you acknowledge and agree to the terms of this Disclaimer. If you do not agree with any part of this Disclaimer, you should discontinue use of this Website immediately."})]}),a.jsx("div",{className:"max-w-4xl mx-auto space-y-12",children:yI.map((e,t)=>{var n;return a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t%3*.08},className:"p-8 border border-gold bg-card",children:[a.jsx("h2",{className:"font-display text-xl md:text-2xl text-foreground mb-5",children:e.title}),a.jsxs("div",{className:"space-y-4",children:[e.body.map((r,i)=>a.jsx("p",{className:"font-body text-sm text-muted-foreground leading-relaxed",children:r},i)),e.list&&a.jsx("ul",{className:"font-body text-sm text-muted-foreground space-y-2 pl-5 list-disc marker:text-primary/60",children:e.list.map(r=>a.jsx("li",{children:r},r))}),(n=e.after)==null?void 0:n.map((r,i)=>a.jsx("p",{className:"font-body text-sm text-muted-foreground leading-relaxed",children:r},i))]})]},e.title)})}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"max-w-4xl mx-auto mt-12 p-10 border border-gold bg-gold-subtle",children:[a.jsx("h2",{className:"font-display text-xl md:text-2xl text-foreground mb-6",children:"14. Contact Information"}),a.jsx("p",{className:"font-body text-sm text-muted-foreground leading-relaxed mb-6",children:"For legal, compliance, regulatory, or disclaimer-related inquiries, please contact:"}),a.jsxs("div",{className:"space-y-3",children:[a.jsx("p",{className:"font-display text-lg text-foreground",children:"Touchstone Capital Partners"}),a.jsx("p",{className:"font-body text-xs text-primary/70 tracking-[0.2em] uppercase",children:"Compliance & Legal Department"}),a.jsx("div",{className:"flex flex-col sm:flex-row gap-4 sm:gap-8 mt-4",children:a.jsxs("a",{href:"mailto:[email protected]",className:"flex items-center gap-3 font-body text-sm text-foreground hover:text-primary transition-colors",children:[a.jsx(Ev,{className:"w-4 h-4 text-primary",strokeWidth:1.5}),"[email protected]"]})})]})]}),a.jsxs(N.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"max-w-4xl mx-auto mt-12 text-center",children:[a.jsx("div",{className:"w-16 h-[1px] bg-primary/40 mx-auto mb-8"}),a.jsx("p",{className:"font-body text-xs tracking-[0.3em] uppercase text-primary/60 mb-4",children:"Important Notice"}),a.jsx("p",{className:"font-display text-base md:text-lg text-foreground
356/90 leading-relaxed",children:"This Website is intended exclusively for sophisticated investors, institutional investors, professional counterparties, qualified purchasers, strategic partners, and eligible participants under applicable laws and regulations. It is not intended for retail investors or the general public unless expressly stated otherwise."})]})]})]}),vI=()=>{const e=ms();return w.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),a.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:a.jsxs("div",{className:"text-center",children:[a.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),a.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),a.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},bI=new SP,wI=()=>a.jsx(CP,{client:bI,children:a.jsxs(tP,{children:[a.jsx(FS,{}),a.jsx(gT,{}),a.jsx(NE,{children:a.jsx(_E,{children:a.jsxs(yE,{children:[a.jsx(Re,{path:"/",element:a.jsx(k6,{})}),a.jsx(Re,{path:"/strategy",element:a.jsx(R6,{})}),a.jsx(Re,{path:"/strategy/2026",element:a.jsx(L6,{})}),a.jsx(Re,{path:"/portfolio",element:a.jsx(U6,{})}),a.jsx(Re,{path:"/portfolio/tcp-risk-mitigation",element:a.jsx(K6,{})}),a.jsx(Re,{path:"/ip-framework",element:a.jsx(rR,{})}),a.jsx(Re,{path:"/ip-framework/ip-overview",element:a.jsx(aR,{})}),a.jsx(Re,{path:"/investor-protection",element:a.jsx(jR,{})}),a.jsx(Re,{path:"/ipo",element:a.jsx(LR,{})}),a.jsx(Re,{path:"/ipo/2026-plan",element:a.jsx(_R,{})}),a.jsx(Re,{path:"/ipo/valuation",element:a.jsx(GR,{})}),a.jsx(Re,{path:"/gold-token",element:a.jsx(tI,{})}),a.jsx(Re,{path:"/gold-token/tgt-overview",element:a.jsx(cI,{})}),a.jsx(Re,{path:"/contact",element:a.jsx(gI,{})}),a.jsx(Re,{path:"/disclaimer",element:a.jsx(xI,{})}),a.jsx(Re,{path:"*",element:a.jsx(vI,{})})]})})})]})});Q0(document.getElementById("root")).render(a.jsx(wI,{}));
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.