vendor: 8,210 bytes, lines 1-9
1var Ch=e=>{throw TypeError(e)};var Gl=(e,t,n)=>t.has(e)||Ch("Cannot "+n);var N=(e,t,n)=>(Gl(e,t,"read from private field"),n?n.call(e):t.get(e)),ee=(e,t,n)=>t.has(e)?Ch("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),K=(e,t,n,r)=>(Gl(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Oe=(e,t,n)=>(Gl(e,t,"access private method"),n);var Do=(e,t,n,r)=>({set _(i){K(e,t,i,n)},get _(){return N(e,t,r)}});function Gw(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 Gg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Qg={exports:{}},dl={},Yg={exports:{}},X={};/** 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 go=Symbol.for("react.element"),Qw=Symbol.for("react.portal"),Yw=Symbol.for("react.fragment"),Xw=Symbol.for("react.strict_mode"),Zw=Symbol.for("react.profiler"),Jw=Symbol.for("react.provider"),eb=Symbol.for("react.context"),tb=Symbol.for("react.forward_ref"),nb=Symbol.for("react.suspense"),rb=Symbol.for("react.memo"),ib=Symbol.for("react.lazy"),Eh=Symbol.iterator;function sb(e){return e===null||typeof e!="object"?null:(e=Eh&&e[Eh]||e["@@iterator"],typeof e=="function"?e:null)}var Xg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Zg=Object.assign,Jg={};function Gi(e,t,n){this.props=e,this.context=t,this.refs=Jg,this.updater=n||Xg}Gi.prototype.isReactComponent={};Gi.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")};Gi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ey(){}ey.prototype=Gi.prototype;function Td(e,t,n){this.props=e,this.context=t,this.refs=Jg,this.updater=n||Xg}var Pd=Td.prototype=new ey;Pd.constructor=Td;Zg(Pd,Gi.prototype);Pd.isPureReactComponent=!0;var Th=Array.isArray,ty=Object.prototype.hasOwnProperty,kd={current:null},ny={key:!0,ref:!0,__self:!0,__source:!0};function ry(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)ty.call(t,r)&&!ny.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:go,type:e,key:s,ref:o,props:i,_owner:kd.current}}function ob(e,t){return{$$typeof:go,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Nd(e){return typeof e=="object"&&e!==null&&e.$$typeof===go}function ab(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Ph=/\/+/g;function Ql(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ab(""+e.key):t.toString(36)}function aa(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 go:case Qw:o=!0}}if(o)return o=e,i=i(o),e=r===""?"."+Ql(o,0):r,Th(i)?(n="",e!=null&&(n=e.replace(Ph,"$&/")+"/"),aa(i,t,n,"",function(u){return u})):i!=null&&(Nd(i)&&(i=ob(i,n+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(Ph,"$&/")+"/")+e)),t.push(i)),1;if(o=0,r=r===""?".":r+":",Th(e))for(var a=0;a<e.length;a++){s=e[a];var l=r+Ql(s,a);o+=aa(s,t,n,l,i)}else if(l=sb(e),typeof l=="function")for(e=l.call(e),a=0;!(s=e.next()).done;)s=s.value,l=r+Ql(s,a++),o+=aa(s,t,n,l,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 Lo(e,t,n){if(e==null)return e;var r=[],i=0;return aa(e,r,"","",function(s){return t.call(n,s,i++)}),r}function lb(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 Qe={current:null},la={transition:null},ub={ReactCurrentDispatcher:Qe,ReactCurrentBatchConfig:la,ReactCurrentOwner:kd};function iy(){throw Error("act(...) is not supported in production builds of React.")}X.Children={map:Lo,forEach:function(e,t,n){Lo(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Lo(e,function(){t++}),t},toArray:function(e){return Lo(e,function(t){return t})||[]},only:function(e){if(!Nd(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};X.Component=Gi;X.Fragment=Yw;X.Profiler=Zw;X.PureComponent=Td;X.StrictMode=Xw;X.Suspense=nb;X.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ub;X.act=iy;X.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=Zg({},e.props),i=e.key,s=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,o=kd.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)ty.call(t,l)&&!ny.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:go,type:e.type,key:i,ref:s,props:r,_owner:o}};X.createContext=function(e){return e={$$typeof:eb,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Jw,_context:e},e.Consumer=e};X.createElement=ry;X.createFactory=function(e){var t=ry.bind(null,e);return t.type=e,t};X.createRef=function(){return{current:null}};X.forwardRef=function(e){return{$$typeof:tb,render:e}};X.isValidElement=Nd;X.lazy=function(e){return{$$typeof:ib,_payload:{_status:-1,_result:e},_init:lb}};X.memo=function(e,t){return{$$typeof:rb,type:e,compare:t===void 0?null:t}};X.startTransition=function(e){var t=la.transition;la.transition={};try{e()}finally{la.transition=t}};X.unstable_act=iy;X.useCallback=function(e,t){return Qe.current.useCallback(e,t)};X.useContext=function(e){return Qe.current.useContext(e)};X.useDebugValue=function(){};X.useDeferredValue=function(e){return Qe.current.useDeferredValue(e)};X.useEffect=function(e,t){return Qe.current.useEffect(e,t)};X.useId=function(){return Qe.current.useId()};X.useImperativeHandle=function(e,t,n){return Qe.current.useImperativeHandle(e,t,n)};X.useInsertionEffect=function(e,t){return Qe.current.useInsertionEffect(e,t)};X.useLayoutEffect=function(e,t){return Qe.current.useLayoutEffect(e,t)};X.useMemo=function(e,t){return Qe.current.useMemo(e,t)};X.useReducer=function(e,t,n){return Qe.current.useReducer(e,t,n)};X.useRef=function(e){return Qe.current.useRef(e)};
vendor: 4,888 bytes, lines 9-25
9X.useState=function(e){return Qe.current.useState(e)};X.useSyncExternalStore=function(e,t,n){return Qe.current.useSyncExternalStore(e,t,n)};X.useTransition=function(){return Qe.current.useTransition()};X.version="18.3.1";Yg.exports=X;var x=Yg.exports;const L=Gg(x),sy=Gw({__proto__:null,default:L},[x]);/** 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 cb=x,db=Symbol.for("react.element"),fb=Symbol.for("react.fragment"),hb=Object.prototype.hasOwnProperty,pb=cb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,mb={key:!0,ref:!0,__self:!0,__source:!0};function oy(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)hb.call(t,r)&&!mb.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:db,type:e,key:s,ref:o,props:i,_owner:pb.current}}dl.Fragment=fb;dl.jsx=oy;dl.jsxs=oy;Qg.exports=dl;var d=Qg.exports,ay={exports:{}},dt={},ly={exports:{}},uy={};/** 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(k,j){var I=k.length;k.push(j);e:for(;0<I;){var W=I-1>>>1,B=k[W];if(0<i(B,j))k[W]=j,k[I]=B,I=W;else break e}}function n(k){return k.length===0?null:k[0]}function r(k){if(k.length===0)return null;var j=k[0],I=k.pop();if(I!==j){k[0]=I;e:for(var W=0,B=k.length,Y=B>>>1;W<Y;){var Z=2*(W+1)-1,we=k[Z],Le=Z+1,te=k[Le];if(0>i(we,I))Le<B&&0>i(te,we)?(k[W]=te,k[Le]=I,W=Le):(k[W]=we,k[Z]=I,W=Z);else if(Le<B&&0>i(te,I))k[W]=te,k[Le]=I,W=Le;else break e}}return j}function i(k,j){var I=k.sortIndex-j.sortIndex;return I!==0?I:k.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var l=[],u=[],c=1,f=null,h=3,p=!1,w=!1,y=!1,b=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(k){for(var j=n(u);j!==null;){if(j.callback===null)r(u);else if(j.startTime<=k)r(u),j.sortIndex=j.expirationTime,t(l,j);else break;j=n(u)}}function S(k){if(y=!1,v(k),!w)if(n(l)!==null)w=!0,U(C);else{var j=n(u);j!==null&&z(S,j.startTime-k)}}function C(k,j){w=!1,y&&(y=!1,g(P),P=-1),p=!0;var I=h;try{for(v(j),f=n(l);f!==null&&(!(f.expirationTime>j)||k&&!$());){var W=f.callback;if(typeof W=="function"){f.callback=null,h=f.priorityLevel;var B=W(f.expirationTime<=j);j=e.unstable_now(),typeof B=="function"?f.callback=B:f===n(l)&&r(l),v(j)}else r(l);f=n(l)}if(f!==null)var Y=!0;else{var Z=n(u);Z!==null&&z(S,Z.startTime-j),Y=!1}return Y}finally{f=null,h=I,p=!1}}var E=!1,T=null,P=-1,R=5,M=-1;function $(){return!(e.unstable_now()-M<R)}function V(){if(T!==null){var k=e.unstable_now();M=k;var j=!0;try{j=T(!0,k)}finally{j?q():(E=!1,T=null)}}else E=!1}var q;if(typeof m=="function")q=function(){m(V)};else if(typeof MessageChannel<"u"){var O=new MessageChannel,Q=O.port2;O.port1.onmessage=V,q=function(){Q.postMessage(null)}}else q=function(){b(V,0)};function U(k){T=k,E||(E=!0,q())}function z(k,j){P=b(function(){k(e.unstable_now())},j)}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(k){k.callback=null},e.unstable_continueExecution=function(){w||p||(w=!0,U(C))},e.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<k?Math.floor(1e3/k):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(k){switch(h){case 1:case 2:case 3:var j=3;break;default:j=h}var I=h;h=j;try{return k()}finally{h=I}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(k,j){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var I=h;h=k;try{return j()}finally{h=I}},e.unstable_scheduleCallback=function(k,j,I){var W=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?W+I:W):I=W,k){case 1:var B=-1;break;case 2:B=250;break;case 5:B=1073741823;break;case 4:B=1e4;break;default:B=5e3}
vendor: 4,614 bytes, lines 25-33
25return B=I+B,k={id:c++,callback:j,priorityLevel:k,startTime:I,expirationTime:B,sortIndex:-1},I>W?(k.sortIndex=I,t(u,k),n(l)===null&&k===n(u)&&(y?(g(P),P=-1):y=!0,z(S,I-W))):(k.sortIndex=B,t(l,k),w||p||(w=!0,U(C))),k},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(k){var j=h;return function(){var I=h;h=j;try{return k.apply(this,arguments)}finally{h=I}}}})(uy);ly.exports=uy;var gb=ly.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 yb=x,ct=gb;function A(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 cy=new Set,Fs={};function Wr(e,t){Vi(e,t),Vi(e+"Capture",t)}function Vi(e,t){for(Fs[e]=t,e=0;e<t.length;e++)cy.add(t[e])}var yn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Qu=Object.prototype.hasOwnProperty,vb=/^[: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]*$/,kh={},Nh={};function xb(e){return Qu.call(Nh,e)?!0:Qu.call(kh,e)?!1:vb.test(e)?Nh[e]=!0:(kh[e]=!0,!1)}function wb(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 bb(e,t,n,r){if(t===null||typeof t>"u"||wb(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 Ye(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 De={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){De[e]=new Ye(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];De[t]=new Ye(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){De[e]=new Ye(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){De[e]=new Ye(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){De[e]=new Ye(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){De[e]=new Ye(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){De[e]=new Ye(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){De[e]=new Ye(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){De[e]=new Ye(e,5,!1,e.toLowerCase(),null,!1,!1)});var jd=/[\-:]([a-z])/g;function Rd(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
33-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(jd,Rd);De[t]=new Ye(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(jd,Rd);De[t]=new Ye(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(jd,Rd);De[t]=new Ye(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){De[e]=new Ye(e,1,!1,e.toLowerCase(),null,!1,!1)});De.xlinkHref=new Ye("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){De[e]=new Ye(e,1,!1,e.toLowerCase(),null,!0,!0)});function Md(e,t,n,r){var i=De.hasOwnProperty(t)?De[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(bb(t,n,i,r)&&(n=null),r||i===null?xb(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 En=yb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Oo=Symbol.for("react.element"),ii=Symbol.for("react.portal"),si=Symbol.for("react.fragment"),Ad=Symbol.for("react.strict_mode"),Yu=Symbol.for("react.profiler"),dy=Symbol.for("react.provider"),fy=Symbol.for("react.context"),Dd=Symbol.for("react.forward_ref"),Xu=Symbol.for("react.suspense"),Zu=Symbol.for("react.suspense_list"),Ld=Symbol.for("react.memo"),In=Symbol.for("react.lazy"),hy=Symbol.for("react.offscreen"),jh=Symbol.iterator;function os(e){return e===null||typeof e!="object"?null:(e=jh&&e[jh]||e["@@iterator"],typeof e=="function"?e:null)}var ge=Object.assign,Yl;function ys(e){if(Yl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Yl=t&&t[1]||""}return` 34`+Yl+e}var Xl=!1;function Zl(e,t){if(!e||Xl)return"";Xl=!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()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(` 35`),s=r.stack.split(` 36`),o=i.length-1,a=s.length-1;1<=o&&0<=a&&i[o]!==s[a];)a--;for(;1<=o&&0<=a;o--,a--)if(i[o]!==s[a]){if(o!==1||a!==1)do if(o--,a--,0>a||i[o]!==s[a]){var l=` 37`+i[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=o&&0<=a);break}}}finally{Xl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ys(e):""}function Sb(e){switch(e.tag){case 5:return ys(e.type);case 16:return ys("Lazy");case 13:return ys("Suspense");case 19:return ys("SuspenseList");case 0:case 2:case 15:return e=Zl(e.type,!1),e;case 11:return e=Zl(e.type.render,!1),e;case 1:return e=Zl(e.type,!0),e;default:return""}}function Ju(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 si:return"Fragment";case ii:return"Portal";case Yu:return"Profiler";case Ad:return"StrictMode";case Xu:return"Suspense";case Zu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case fy:return(e.displayName||"Context")+".Consumer";case dy:return(e._context.displayName||"Context")+".Provider";case Dd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ld:return t=e.displayName||null,t!==null?t:Ju(e.type)||"Memo";case In:t=e._payload,e=e._init;try{return Ju(e(t))}catch{}}return null}function Cb(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 Ju(t);case 8:return t===Ad?"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 ir(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function py(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Eb(e){var t=py(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 Io(e){e._valueTracker||(e._valueTracker=Eb(e))}function my(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=py(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Pa(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 ec(e,t){var n=t.checked;return ge({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Rh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ir(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}}
vendor: 4,651 bytes, line 37
37function gy(e,t){t=t.checked,t!=null&&Md(e,"checked",t,!1)}function tc(e,t){gy(e,t);var n=ir(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")?nc(e,t.type,n):t.hasOwnProperty("defaultValue")&&nc(e,t.type,ir(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Mh(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 nc(e,t,n){(t!=="number"||Pa(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var vs=Array.isArray;function wi(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=""+ir(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 rc(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(A(91));return ge({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ah(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(A(92));if(vs(n)){if(1<n.length)throw Error(A(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:ir(n)}}function yy(e,t){var n=ir(t.value),r=ir(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 Dh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function vy(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 ic(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?vy(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Vo,xy=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(Vo=Vo||document.createElement("div"),Vo.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Vo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function zs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ts={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},Tb=["Webkit","ms","Moz","O"];Object.keys(Ts).forEach(function(e){Tb.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ts[t]=Ts[e]})});function wy(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ts.hasOwnProperty(e)&&Ts[e]?(""+t).trim():t+"px"}function by(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=wy(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Pb=ge({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 sc(e,t){if(t){if(Pb[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(A(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(A(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(A(61))}if(t.style!=null&&typeof t.style!="object")throw Error(A(62))}}function oc(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
37ing";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 ac=null;function Od(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var lc=null,bi=null,Si=null;function Lh(e){if(e=xo(e)){if(typeof lc!="function")throw Error(A(280));var t=e.stateNode;t&&(t=gl(t),lc(e.stateNode,e.type,t))}}function Sy(e){bi?Si?Si.push(e):Si=[e]:bi=e}function Cy(){if(bi){var e=bi,t=Si;if(Si=bi=null,Lh(e),t)for(e=0;e<t.length;e++)Lh(t[e])}}function Ey(e,t){return e(t)}function Ty(){}var Jl=!1;function Py(e,t,n){if(Jl)return e(t,n);Jl=!0;try{return Ey(e,t,n)}finally{Jl=!1,(bi!==null||Si!==null)&&(Ty(),Cy())}}function $s(e,t){var n=e.stateNode;if(n===null)return null;var r=gl(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(A(231,t,typeof n));return n}var uc=!1;if(yn)try{var as={};Object.defineProperty(as,"passive",{get:function(){uc=!0}}),window.addEventListener("test",as,as),window.removeEventListener("test",as,as)}catch{uc=!1}function kb(e,t,n,r,i,s,o,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Ps=!1,ka=null,Na=!1,cc=null,Nb={onError:function(e){Ps=!0,ka=e}};function jb(e,t,n,r,i,s,o,a,l){Ps=!1,ka=null,kb.apply(Nb,arguments)}function Rb(e,t,n,r,i,s,o,a,l){if(jb.apply(this,arguments),Ps){if(Ps){var u=ka;Ps=!1,ka=null}else throw Error(A(198));Na||(Na=!0,cc=u)}}function Hr(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 ky(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 Oh(e){if(Hr(e)!==e)throw Error(A(188))}function Mb(e){var t=e.alternate;if(!t){if(t=Hr(e),t===null)throw Error(A(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 Oh(i),e;if(s===r)return Oh(i),t;s=s.sibling}throw Error(A(188))}if(n.return!==r.return)n=i,r=s;else{for(var o=!1,a=i.child;a;){if(a===n){o=!0,n=i,r=s;break}if(a===r){o=!0,r=i,n=s;break}a=a.sibling}if(!o){for(a=s.child;a;){if(a===n){o=!0,n=s,r=i;break}if(a===r){o=!0,r=s,n=i;break}a=a.sibling}if(!o)throw Error(A(189))}}if(n.alternate!==r)throw Error(A(190))}if(n.tag!==3)throw Error(A(188));return n.stateNode.current===n?e:t}function Ny(e){return e=Mb(e),e!==null?jy(e):null}function jy(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=jy(e);if(t!==null)return t;e=e.sibling}return null}var Ry=ct.unstable_scheduleCallback,Ih=ct.unstable_cancelCallback,Ab=ct.unstable_shouldYield,Db=ct.unstable_requestPaint,xe=ct.unstable_now,Lb=ct.unstable_getCurrentPriorityLevel,Id=ct.unstable_ImmediatePriority,My=ct.unstable_UserBlockingPriority,ja=ct.unstable_NormalPriority,Ob=ct.unstable_LowPriority,Ay=ct.unstable_IdlePriority,fl=null,en=null;function Ib(e){if(en&&typeof en.onCommitFiberRoot=="function")try{en.onCommitFiberRoot(fl,e,void 0,(e.current.flags&128)===128)}catch{}}var _t=Math.clz32?Math.clz32:Fb,Vb=Math.log,_b=Math.LN2;function Fb(e){return e>>>=0,e===0?32:31-(Vb(e)/_b|0)|0}var _o=64,Fo=4194304;function xs(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 Ra(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 a=o&~i;a!==0?r=xs(a):(s&=o,s!==0&&(r=xs(s)))}else o=n&~i,o!==0?r=xs(o):s!==0&&(r=xs(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 zb(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 $b(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var o=31-_t(s),a=1<<o,l=i[o];l===-1?(!(a&n)||a&r)&&(i[o]=zb(a,t)):l<=t&&(e.expiredLanes|=a),s&=~a}}function dc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Dy(){var e=_o;return _o<<=1,!(_o&4194240)&&(_o=64),e}function eu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yo(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 Bb(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 Vd(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 ne=0;function Ly(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Oy,_d,Iy,Vy,_y,fc=!1,zo=[],Qn=null,Yn=null,Xn=null,Bs=new Map,Us=new Map,_n=[],Ub="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 Vh(e,t){switch(e){case"focusin":case"focusout":Qn=null;break;case"dragenter":case"dragleave":Yn=null;break;case"mouseover":case"mouseout":Xn=null;break;case"pointerover":case"pointerout":Bs.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Us.delete(t.pointerId)}}function ls(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=xo(t),t!==null&&_d(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Wb(e,t,n,r,i){switch(t){case"focusin":return Qn=ls(Qn,e,t,n,r,i),!0;case"dragenter":return Yn=ls(Yn,e,t,n,r,i),!0;case"mouseover":return Xn=ls(Xn,e,t,n,r,i),!0;case"pointerover":var s=i.pointerId;return Bs.set(s,ls(Bs.get(s)||null,e,t,n,r,i)),!0;case"gotpointercapture":return s=i.pointerId,Us.set(s,ls(Us.get(s)||null,e,t,n,r,i)),!0}return!1}function Fy(e){var t=Er(e.target);if(t!==null){var n=Hr(t);if(n!==null){if(t=n.tag,t===13){if(t=ky(n),t!==null){e.blockedOn=t,_y(e.priority,function(){Iy(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 ua(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=hc(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ac=r,n.target.dispatchEvent(r),ac=null}else return t=xo(n),t!==null&&_d(t),e.blockedOn=n,!1;t.shift()}return!0}function _h(e,t,n){ua(e)&&n.delete(t)}function Hb(){fc=!1,Qn!==null&&ua(Qn)&&(Qn=null),Yn!==null&&ua(Yn)&&(Yn=null),Xn!==null&&ua(Xn)&&(Xn=null),Bs.forEach(_h),Us.forEach(_h)}function us(e,t){e.blockedOn===t&&(e.blockedOn=null,fc||(fc=!0,ct.unstable_scheduleCallback(ct.unstable_NormalPriority,Hb)))}function Ws(e){function t(i){return us(i,e)}if(0<zo.length){us(zo[0],e);for(var n=1;n<zo.length;n++){var r=zo[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Qn!==null&&us(Qn,e),Yn!==null&&us(Yn,e),Xn!==null&&us(Xn,e),Bs.forEach(t),Us.forEach(t),n=0;n<_n.length;n++)r=_n[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<_n.length&&(n=_n[0],n.blockedOn===null);)Fy(n),n.blockedOn===null&&_n.shift()}var Ci=En.ReactCurrentBatchConfig,Ma=!0;function Kb(e,t,n,r){var i=ne,s=Ci.transition;Ci.transition=null;try{ne=1,Fd(e,t,n,r)}finally{ne=i,Ci.transition=s}}function qb(e,t,n,r){var i=ne,s=Ci.transition;Ci.transition=null;try{ne=4,Fd(e,t,n,r)}finally{ne=i,Ci.transition=s}}
vendor: 11,032 bytes, line 37
37function Fd(e,t,n,r){if(Ma){var i=hc(e,t,n,r);if(i===null)cu(e,t,r,Aa,n),Vh(e,r);else if(Wb(i,e,t,n,r))r.stopPropagation();else if(Vh(e,r),t&4&&-1<Ub.indexOf(e)){for(;i!==null;){var s=xo(i);if(s!==null&&Oy(s),s=hc(e,t,n,r),s===null&&cu(e,t,r,Aa,n),s===i)break;i=s}i!==null&&r.stopPropagation()}else cu(e,t,r,null,n)}}var Aa=null;function hc(e,t,n,r){if(Aa=null,e=Od(r),e=Er(e),e!==null)if(t=Hr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=ky(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 Aa=e,null}function zy(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(Lb()){case Id:return 1;case My:return 4;case ja:case Ob:return 16;case Ay:return 536870912;default:return 16}default:return 16}}var Hn=null,zd=null,ca=null;function $y(){if(ca)return ca;var e,t=zd,n=t.length,r,i="value"in Hn?Hn.value:Hn.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 ca=i.slice(e,1<r?1-r:void 0)}function da(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 $o(){return!0}function Fh(){return!1}function ft(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 a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?$o:Fh,this.isPropagationStopped=Fh,this}return ge(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=$o)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=$o)},persist:function(){},isPersistent:$o}),t}var Qi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$d=ft(Qi),vo=ge({},Qi,{view:0,detail:0}),Gb=ft(vo),tu,nu,cs,hl=ge({},vo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Bd,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!==cs&&(cs&&e.type==="mousemove"?(tu=e.screenX-cs.screenX,nu=e.screenY-cs.screenY):nu=tu=0,cs=e),tu)},movementY:function(e){return"movementY"in e?e.movementY:nu}}),zh=ft(hl),Qb=ge({},hl,{dataTransfer:0}),Yb=ft(Qb),Xb=ge({},vo,{relatedTarget:0}),ru=ft(Xb),Zb=ge({},Qi,{animationName:0,elapsedTime:0,pseudoElement:0}),Jb=ft(Zb),eS=ge({},Qi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),tS=ft(eS),nS=ge({},Qi,{data:0}),$h=ft(nS),rS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},iS={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"},sS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function oS(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=sS[e])?!!t[e]:!1}function Bd(){return oS}var aS=ge({},vo,{key:function(e){if(e.key){var t=rS[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=da(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?iS[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Bd,charCode:function(e){return e.type==="keypress"?da(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?da(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),lS=ft(aS),uS=ge({},hl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Bh=ft(uS),cS=ge({},vo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Bd}),dS=ft(cS),fS=ge({},Qi,{propertyName:0,elapsedTime:0,pseudoElement:0}),hS=ft(fS),pS=ge({},hl,{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}),mS=ft(pS),gS=[9,13,27,32],Ud=yn&&"CompositionEvent"in window,ks=null;yn&&"documentMode"in document&&(ks=document.documentMode);var yS=yn&&"TextEvent"in window&&!ks,By=yn&&(!Ud||ks&&8<ks&&11>=ks),Uh=" ",Wh=!1;function Uy(e,t){switch(e){case"keyup":return gS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wy(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var oi=!1;function vS(e,t){switch(e){case"compositionend":return Wy(t);case"keypress":return t.which!==32?null:(Wh=!0,Uh);case"textInput":return e=t.data,e===Uh&&Wh?null:e;default:return null}}function xS(e,t){if(oi)return e==="compositionend"||!Ud&&Uy(e,t)?(e=$y(),ca=zd=Hn=null,oi=!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 By&&t.locale!=="ko"?null:t.data;default:return null}}var wS={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 Hh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!wS[e.type]:t==="textarea"}function Hy(e,t,n,r){Sy(r),t=Da(t,"onChange"),0<t.length&&(n=new $d("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Ns=null,Hs=null;function bS(e){nv(e,0)}function pl(e){var t=ui(e);if(my(t))return e}function SS(e,t){if(e==="change")return t}var Ky=!1;if(yn){var iu;if(yn){var su="oninput"in document;if(!su){var Kh=document.createElement("div");Kh.setAttribute("oninput","return;"),su=typeof Kh.oninput=="function"}iu=su}else iu=!1;Ky=iu&&(!document.documentMode||9<document.documentMode)}function qh(){Ns&&(Ns.detachEvent("onpropertychange",qy),Hs=Ns=null)}function qy(e){if(e.propertyName==="value"&&pl(Hs)){var t=[];Hy(t,Hs,e,Od(e)),Py(bS,t)}}function CS(e,t,n){e==="focusin"?(qh(),Ns=t,Hs=n,Ns.attachEvent("onpropertychange",qy)):e==="focusout"&&qh()}function ES(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return pl(Hs)}function TS(e,t){if(e==="click")return pl(t)}function PS(e,t){if(e==="input"||e==="change")return pl(t)}function kS(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var zt=typeof Object.is=="function"?Object.is:kS;function Ks(e,t){if(zt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Qu.call(t,i)||!zt(e[i],t[i]))return!1}return!0}function Gh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Qh(e,t){var n=Gh(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=Gh(n)}}function Gy(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Gy(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Qy(){for(var e=window,t=Pa();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Pa(e.document)}return t}function Wd(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 NS(e){var t=Qy(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Gy(n.ownerDocument.documentElement,n)){if(r!==null&&Wd(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=Qh(n,s);var o=Qh(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 jS=yn&&"documentMode"in document&&11>=document.documentMode,ai=null,pc=null,js=null,mc=!1;function Yh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;mc||ai==null||ai!==Pa(r)||(r=ai,"selectionStart"in r&&Wd(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,501 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),js&&Ks(js,r)||(js=r,r=Da(pc,"onSelect"),0<r.length&&(t=new $d("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ai)))}function Bo(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var li={animationend:Bo("Animation","AnimationEnd"),animationiteration:Bo("Animation","AnimationIteration"),animationstart:Bo("Animation","AnimationStart"),transitionend:Bo("Transition","TransitionEnd")},ou={},Yy={};yn&&(Yy=document.createElement("div").style,"AnimationEvent"in window||(delete li.animationend.animation,delete li.animationiteration.animation,delete li.animationstart.animation),"TransitionEvent"in window||delete li.transitionend.transition);function ml(e){if(ou[e])return ou[e];if(!li[e])return e;var t=li[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Yy)return ou[e]=t[n];return e}var Xy=ml("animationend"),Zy=ml("animationiteration"),Jy=ml("animationstart"),ev=ml("transitionend"),tv=new Map,Xh="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 fr(e,t){tv.set(e,t),Wr(t,[e])}for(var au=0;au<Xh.length;au++){var lu=Xh[au],RS=lu.toLowerCase(),MS=lu[0].toUpperCase()+lu.slice(1);fr(RS,"on"+MS)}fr(Xy,"onAnimationEnd");fr(Zy,"onAnimationIteration");fr(Jy,"onAnimationStart");fr("dblclick","onDoubleClick");fr("focusin","onFocus");fr("focusout","onBlur");fr(ev,"onTransitionEnd");Vi("onMouseEnter",["mouseout","mouseover"]);Vi("onMouseLeave",["mouseout","mouseover"]);Vi("onPointerEnter",["pointerout","pointerover"]);Vi("onPointerLeave",["pointerout","pointerover"]);Wr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Wr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Wr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Wr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Wr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Wr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ws="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(" "),AS=new Set("cancel close invalid load scroll toggle".split(" ").concat(ws));function Zh(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Rb(r,t,void 0,e),e.currentTarget=null}function nv(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 a=r[o],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==s&&i.isPropagationStopped())break e;Zh(i,a,u),s=l}else for(o=0;o<r.length;o++){if(a=r[o],l=a.instance,u=a.currentTarget,a=a.listener,l!==s&&i.isPropagationStopped())break e;Zh(i,a,u),s=l}}}if(Na)throw e=cc,Na=!1,cc=null,e}function oe(e,t){var n=t[wc];n===void 0&&(n=t[wc]=new Set);var r=e+"__bubble";n.has(r)||(rv(t,e,2,!1),n.add(r))}function uu(e,t,n){var r=0;t&&(r|=4),rv(n,e,r,t)}var Uo="_reactListening"+Math.random().toString(36).slice(2);function qs(e){if(!e[Uo]){e[Uo]=!0,cy.forEach(function(n){n!=="selectionchange"&&(AS.has(n)||uu(n,!1,e),uu(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Uo]||(t[Uo]=!0,uu("selectionchange",!1,t))}}function rv(e,t,n,r){switch(zy(t)){case 1:var i=Kb;break;case 4:i=qb;break;default:i=Fd}n=i.bind(null,t,n,e),i=void 0,!uc||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 cu(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 a=r.stateNode.containerInfo;
vendor: 22,690 bytes, lines 37-38
37if(a===i||a.nodeType===8&&a.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&(l=o.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;o=o.return}for(;a!==null;){if(o=Er(a),o===null)return;if(l=o.tag,l===5||l===6){r=s=o;continue e}a=a.parentNode}}r=r.return}Py(function(){var u=s,c=Od(n),f=[];e:{var h=tv.get(e);if(h!==void 0){var p=$d,w=e;switch(e){case"keypress":if(da(n)===0)break e;case"keydown":case"keyup":p=lS;break;case"focusin":w="focus",p=ru;break;case"focusout":w="blur",p=ru;break;case"beforeblur":case"afterblur":p=ru;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":p=zh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=Yb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=dS;break;case Xy:case Zy:case Jy:p=Jb;break;case ev:p=hS;break;case"scroll":p=Gb;break;case"wheel":p=mS;break;case"copy":case"cut":case"paste":p=tS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=Bh}var y=(t&4)!==0,b=!y&&e==="scroll",g=y?h!==null?h+"Capture":null:h;y=[];for(var m=u,v;m!==null;){v=m;var S=v.stateNode;if(v.tag===5&&S!==null&&(v=S,g!==null&&(S=$s(m,g),S!=null&&y.push(Gs(m,S,v)))),b)break;m=m.return}0<y.length&&(h=new p(h,w,null,n,c),f.push({event:h,listeners:y}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",h&&n!==ac&&(w=n.relatedTarget||n.fromElement)&&(Er(w)||w[vn]))break e;if((p||h)&&(h=c.window===c?c:(h=c.ownerDocument)?h.defaultView||h.parentWindow:window,p?(w=n.relatedTarget||n.toElement,p=u,w=w?Er(w):null,w!==null&&(b=Hr(w),w!==b||w.tag!==5&&w.tag!==6)&&(w=null)):(p=null,w=u),p!==w)){if(y=zh,S="onMouseLeave",g="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(y=Bh,S="onPointerLeave",g="onPointerEnter",m="pointer"),b=p==null?h:ui(p),v=w==null?h:ui(w),h=new y(S,m+"leave",p,n,c),h.target=b,h.relatedTarget=v,S=null,Er(c)===u&&(y=new y(g,m+"enter",w,n,c),y.target=v,y.relatedTarget=b,S=y),b=S,p&&w)t:{for(y=p,g=w,m=0,v=y;v;v=ti(v))m++;for(v=0,S=g;S;S=ti(S))v++;for(;0<m-v;)y=ti(y),m--;for(;0<v-m;)g=ti(g),v--;for(;m--;){if(y===g||g!==null&&y===g.alternate)break t;y=ti(y),g=ti(g)}y=null}else y=null;p!==null&&Jh(f,h,p,y,!1),w!==null&&b!==null&&Jh(f,b,w,y,!0)}}e:{if(h=u?ui(u):window,p=h.nodeName&&h.nodeName.toLowerCase(),p==="select"||p==="input"&&h.type==="file")var C=SS;else if(Hh(h))if(Ky)C=PS;else{C=ES;var E=CS}else(p=h.nodeName)&&p.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(C=TS);if(C&&(C=C(e,u))){Hy(f,C,n,c);break e}E&&E(e,h,u),e==="focusout"&&(E=h._wrapperState)&&E.controlled&&h.type==="number"&&nc(h,"number",h.value)}switch(E=u?ui(u):window,e){case"focusin":(Hh(E)||E.contentEditable==="true")&&(ai=E,pc=u,js=null);break;case"focusout":js=pc=ai=null;break;case"mousedown":mc=!0;break;case"contextmenu":case"mouseup":case"dragend":mc=!1,Yh(f,n,c);break;case"selectionchange":if(jS)break;case"keydown":case"keyup":Yh(f,n,c)}var T;if(Ud)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else oi?Uy(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(By&&n.locale!=="ko"&&(oi||P!=="onCompositionStart"?P==="onCompositionEnd"&&oi&&(T=$y()):(Hn=c,zd="value"in Hn?Hn.value:Hn.textContent,oi=!0)),E=Da(u,P),0<E.length&&(P=new $h(P,e,null,n,c),f.push({event:P,listeners:E}),T?P.data=T:(T=Wy(n),T!==null&&(P.data=T)))),(T=yS?vS(e,n):xS(e,n))&&(u=Da(u,"onBeforeInput"),0<u.length&&(c=new $h("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:u}),c.data=T))}nv(f,t)})}function Gs(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Da(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,s=i.stateNode;i.tag===5&&s!==null&&(i=s,s=$s(e,n),s!=null&&r.unshift(Gs(e,s,i)),s=$s(e,t),s!=null&&r.push(Gs(e,s,i))),e=e.return}return r}function ti(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Jh(e,t,n,r,i){for(var s=t._reactName,o=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,i?(l=$s(n,s),l!=null&&o.unshift(Gs(n,l,a))):i||(l=$s(n,s),l!=null&&o.push(Gs(n,l,a)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var DS=/\r\n?/g,LS=/\u0000|\uFFFD/g;function ep(e){return(typeof e=="string"?e:""+e).replace(DS,` 38`).replace(LS,"")}function Wo(e,t,n){if(t=ep(t),ep(e)!==t&&n)throw Error(A(425))}function La(){}var gc=null,yc=null;function vc(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 xc=typeof setTimeout=="function"?setTimeout:void 0,OS=typeof clearTimeout=="function"?clearTimeout:void 0,tp=typeof Promise=="function"?Promise:void 0,IS=typeof queueMicrotask=="function"?queueMicrotask:typeof tp<"u"?function(e){return tp.resolve(null).then(e).catch(VS)}:xc;function VS(e){setTimeout(function(){throw e})}function du(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),Ws(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Ws(t)}function Zn(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 np(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 Yi=Math.random().toString(36).slice(2),Zt="__reactFiber$"+Yi,Qs="__reactProps$"+Yi,vn="__reactContainer$"+Yi,wc="__reactEvents$"+Yi,_S="__reactListeners$"+Yi,FS="__reactHandles$"+Yi;function Er(e){var t=e[Zt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[vn]||n[Zt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=np(e);e!==null;){if(n=e[Zt])return n;e=np(e)}return t}e=n,n=e.parentNode}return null}function xo(e){return e=e[Zt]||e[vn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ui(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(A(33))}function gl(e){return e[Qs]||null}var bc=[],ci=-1;function hr(e){return{current:e}}function ae(e){0>ci||(e.current=bc[ci],bc[ci]=null,ci--)}function ie(e,t){ci++,bc[ci]=e.current,e.current=t}var sr={},$e=hr(sr),tt=hr(!1),_r=sr;function _i(e,t){var n=e.type.contextTypes;if(!n)return sr;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 nt(e){return e=e.childContextTypes,e!=null}function Oa(){ae(tt),ae($e)}function rp(e,t,n){if($e.current!==sr)throw Error(A(168));ie($e,t),ie(tt,n)}function iv(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(A(108,Cb(e)||"Unknown",i));return ge({},n,r)}function Ia(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||sr,_r=$e.current,ie($e,e),ie(tt,tt.current),!0}function ip(e,t,n){var r=e.stateNode;if(!r)throw Error(A(169));n?(e=iv(e,t,_r),r.__reactInternalMemoizedMergedChildContext=e,ae(tt),ae($e),ie($e,e)):ae(tt),ie(tt,n)}var fn=null,yl=!1,fu=!1;function sv(e){fn===null?fn=[e]:fn.push(e)}function zS(e){yl=!0,sv(e)}function pr(){if(!fu&&fn!==null){fu=!0;var e=0,t=ne;try{var n=fn;for(ne=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}fn=null,yl=!1}catch(i){throw fn!==null&&(fn=fn.slice(e+1)),Ry(Id,pr),i}finally{ne=t,fu=!1}}return null}var di=[],fi=0,Va=null,_a=0,yt=[],vt=0,Fr=null,pn=1,mn="";function br(e,t){di[fi++]=_a,di[fi++]=Va,Va=e,_a=t}function ov(e,t,n){yt[vt++]=pn,yt[vt++]=mn,yt[vt++]=Fr,Fr=e;var r=pn;e=mn;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,pn=1<<32-_t(t)+i|n<<i|r,mn=s+e}else pn=1<<s|n<<i|r,mn=e}function Hd(e){e.return!==null&&(br(e,1),ov(e,1,0))}function Kd(e){for(;e===Va;)Va=di[--fi],di[fi]=null,_a=di[--fi],di[fi]=null;for(;e===Fr;)Fr=yt[--vt],yt[vt]=null,mn=yt[--vt],yt[vt]=null,pn=yt[--vt],yt[vt]=null}var lt=null,at=null,ce=!1,Vt=null;function av(e,t){var n=xt(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 sp(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,lt=e,at=Zn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,lt=e,at=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Fr!==null?{id:pn,overflow:mn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=xt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,lt=e,at=null,!0):!1;default:return!1}}function Sc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Cc(e){if(ce){var t=at;if(t){var n=t;if(!sp(e,t)){if(Sc(e))throw Error(A(418));t=Zn(n.nextSibling);var r=lt;t&&sp(e,t)?av(r,n):(e.flags=e.flags&-4097|2,ce=!1,lt=e)}}else{if(Sc(e))throw Error(A(418));e.flags=e.flags&-4097|2,ce=!1,lt=e}}}function op(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;lt=e}function Ho(e){if(e!==lt)return!1;if(!ce)return op(e),ce=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!vc(e.type,e.memoizedProps)),t&&(t=at)){if(Sc(e))throw lv(),Error(A(418));for(;t;)av(e,t),t=Zn(t.nextSibling)}if(op(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(A(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){at=Zn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}at=null}}else at=lt?Zn(e.stateNode.nextSibling):null;return!0}function lv(){for(var e=at;e;)e=Zn(e.nextSibling)}function Fi(){at=lt=null,ce=!1}function qd(e){Vt===null?Vt=[e]:Vt.push(e)}var $S=En.ReactCurrentBatchConfig;function ds(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(A(309));var r=n.stateNode}if(!r)throw Error(A(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 a=i.refs;o===null?delete a[s]:a[s]=o},t._stringRef=s,t)}if(typeof e!="string")throw Error(A(284));if(!n._owner)throw Error(A(290,e))}return e}function Ko(e,t){throw e=Object.prototype.toString.call(t),Error(A(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ap(e){var t=e._init;return t(e._payload)}function uv(e){function t(g,m){if(e){var v=g.deletions;v===null?(g.deletions=[m],g.flags|=16):v.push(m)}}function n(g,m){if(!e)return null;for(;m!==null;)t(g,m),m=m.sibling;return null}function r(g,m){for(g=new Map;m!==null;)m.key!==null?g.set(m.key,m):g.set(m.index,m),m=m.sibling;return g}function i(g,m){return g=nr(g,m),g.index=0,g.sibling=null,g}function s(g,m,v){return g.index=v,e?(v=g.alternate,v!==null?(v=v.index,v<m?(g.flags|=2,m):v):(g.flags|=2,m)):(g.flags|=1048576,m)}function o(g){return e&&g.alternate===null&&(g.flags|=2),g}function a(g,m,v,S){return m===null||m.tag!==6?(m=xu(v,g.mode,S),m.return=g,m):(m=i(m,v),m.return=g,m)}function l(g,m,v,S){var C=v.type;return C===si?c(g,m,v.props.children,S,v.key):m!==null&&(m.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===In&&ap(C)===m.type)?(S=i(m,v.props),S.ref=ds(g,m,v),S.return=g,S):(S=va(v.type,v.key,v.props,null,g.mode,S),S.ref=ds(g,m,v),S.return=g,S)}function u(g,m,v,S){return m===null||m.tag!==4||m.stateNode.containerInfo!==v.containerInfo||m.stateNode.implementation!==v.implementation?(m=wu(v,g.mode,S),m.return=g,m):(m=i(m,v.children||[]),m.return=g,m)}function c(g,m,v,S,C){return m===null||m.tag!==7?(m=Ir(v,g.mode,S,C),m.return=g,m):(m=i(m,v),m.return=g,m)}function f(g,m,v){if(typeof m=="string"&&m!==""||typeof m=="number")return m=xu(""+m,g.mode,v),m.return=g,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Oo:return v=va(m.type,m.key,m.props,null,g.mode,v),v.ref=ds(g,null,m),v.return=g,v;case ii:return m=wu(m,g.mode,v),m.return=g,m;case In:var S=m._init;return f(g,S(m._payload),v)}if(vs(m)||os(m))return m=Ir(m,g.mode,v,null),m.return=g,m;Ko(g,m)}return null}function h(g,m,v,S){var C=m!==null?m.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return C!==null?null:a(g,m,""+v,S);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Oo:return v.key===C?l(g,m,v,S):null;case ii:return v.key===C?u(g,m,v,S):null;case In:return C=v._init,h(g,m,C(v._payload),S)}if(vs(v)||os(v))return C!==null?null:c(g,m,v,S,null);Ko(g,v)}return null}function p(g,m,v,S,C){if(typeof S=="string"&&S!==""||typeof S=="number")return g=g.get(v)||null,a(m,g,""+S,C);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Oo:return g=g.get(S.key===null?v:S.key)||null,l(m,g,S,C);case ii:return g=g.get(S.key===null?v:S.key)||null,u(m,g,S,C);case In:var E=S._init;return p(g,m,v,E(S._payload),C)}if(vs(S)||os(S))return g=g.get(v)||null,c(m,g,S,C,null);Ko(m,S)}return null}function w(g,m,v,S){for(var C=null,E=null,T=m,P=m=0,R=null;T!==null&&P<v.length;P++){T.index>P?(R=T,T=null):R=T.sibling;var M=h(g,T,v[P],S);if(M===null){T===null&&(T=R);break}e&&T&&M.alternate===null&&t(g,T),m=s(M,m,P),E===null?C=M:E.sibling=M,E=M,T=R}if(P===v.length)return n(g,T),ce&&br(g,P),C;if(T===null){for(;P<v.length;P++)T=f(g,v[P],S),T!==null&&(m=s(T,m,P),E===null?C=T:E.sibling=T,E=T);return ce&&br(g,P),C}for(T=r(g,T);P<v.length;P++)R=p(T,g,P,v[P],S),R!==null&&(e&&R.alternate!==null&&T.delete(R.key===null?P:R.key),m=s(R,m,P),E===null?C=R:E.sibling=R,E=R);return e&&T.forEach(function($){return t(g,$)}),ce&&br(g,P),C}function y(g,m,v,S){var C=os(v);if(typeof C!="function")throw Error(A(150));if(v=C.call(v),v==null)throw Error(A(151));for(var E=C=null,T=m,P=m=0,R=null,M=v.next();T!==null&&!M.done;P++,M=v.next()){T.index>P?(R=T,T=null):R=T.sibling;var $=h(g,T,M.value,S);if($===null){T===null&&(T=R);break}e&&T&&$.alternate===null&&t(g,T),m=s($,m,P),E===null?C=$:E.sibling=$,E=$,T=R}if(M.done)return n(g,T),ce&&br(g,P),C;if(T===null){for(;!M.done;P++,M=v.next())M=f(g,M.value,S),M!==null&&(m=s(M,m,P),E===null?C=M:E.sibling=M,E=M);return ce&&br(g,P),C}for(T=r(g,T);!M.done;P++,M=v.next())M=p(T,g,P,M.value,S),M!==null&&(e&&M.alternate!==null&&T.delete(M.key===null?P:M.key),m=s(M,m,P),E===null?C=M:E.sibling=M,E=M);return e&&T.forEach(function(V){return t(g,V)}),ce&&br(g,P),C}function b(g,m,v,S){if(typeof v=="object"&&v!==null&&v.type===si&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Oo:e:{for(var C=v.key,E=m;E!==null;){if(E.key===C){if(C=v.type,C===si){if(E.tag===7){n(g,E.sibling),m=i(E,v.props.children),m.return=g,g=m;break e}}else if(E.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===In&&ap(C)===E.type){n(g,E.sibling),m=i(E,v.props),m.ref=ds(g,E,v),m.return=g,g=m;break e}n(g,E);break}else t(g,E);E=E.sibling}v.type===si?(m=Ir(v.props.children,g.mode,S,v.key),m.return=g,g=m):(S=va(v.type,v.key,v.props,null,g.mode,S),S.ref=ds(g,m,v),S.return=g,g=S)}return o(g);case ii:e:{for(E=v.key;m!==null;){if(m.key===E)if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){n(g,m.sibling),m=i(m,v.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=wu(v,g.mode,S),m.return=g,g=m}return o(g);case In:return E=v._init,b(g,m,E(v._payload),S)}if(vs(v))return w(g,m,v,S);if(os(v))return y(g,m,v,S);Ko(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,m!==null&&m.tag===6?(n(g,m.sibling),m=i(m,v),m.return=g,g=m):(n(g,m),m=xu(v,g.mode,S),m.return=g,g=m),o(g)):n(g,m)}return b}var zi=uv(!0),cv=uv(!1),Fa=hr(null),za=null,hi=null,Gd=null;function Qd(){Gd=hi=za=null}function Yd(e){var t=Fa.current;ae(Fa),e._currentValue=t}function Ec(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 Ei(e,t){za=e,Gd=hi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(et=!0),e.firstContext=null)}function Ct(e){var t=e._currentValue;if(Gd!==e)if(e={context:e,memoizedValue:t,next:null},hi===null){if(za===null)throw Error(A(308));hi=e,za.dependencies={lanes:0,firstContext:e}}else hi=hi.next=e;return t}var Tr=null;function Xd(e){Tr===null?Tr=[e]:Tr.push(e)}function dv(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Xd(t)):(n.next=i.next,i.next=n),t.interleaved=n,xn(e,r)}function xn(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 Vn=!1;function Zd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function fv(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 gn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Jn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,J&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,xn(e,n)}return i=r.interleaved,i===null?(t.next=t,Xd(r)):(t.next=i.next,i.next=t),r.interleaved=t,xn(e,n)}function fa(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,Vd(e,n)}}function lp(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 $a(e,t,n,r){var i=e.updateQueue;Vn=!1;var s=i.firstBaseUpdate,o=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,o===null?s=u:o.next=u,o=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==o&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(s!==null){var f=i.baseState;o=0,c=u=l=null,a=s;do{var h=a.lane,p=a.eventTime;if((r&h)===h){c!==null&&(c=c.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var w=e,y=a;switch(h=t,p=n,y.tag){case 1:if(w=y.payload,typeof w=="function"){f=w.call(p,f,h);break e}f=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=y.payload,h=typeof w=="function"?w.call(p,f,h):w,h==null)break e;f=ge({},f,h);break e;case 2:Vn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=i.effects,h===null?i.effects=[a]:h.push(a))}else p={eventTime:p,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=p,l=f):c=c.next=p,o|=h;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;h=a,a=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(!0);if(c===null&&(l=f),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,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);$r|=o,e.lanes=o,e.memoizedState=f}}function up(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(A(191,i));i.call(r)}}}var wo={},tn=hr(wo),Ys=hr(wo),Xs=hr(wo);function Pr(e){if(e===wo)throw Error(A(174));return e}function Jd(e,t){switch(ie(Xs,t),ie(Ys,e),ie(tn,wo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ic(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ic(t,e)}ae(tn),ie(tn,t)}function $i(){ae(tn),ae(Ys),ae(Xs)}function hv(e){Pr(Xs.current);var t=Pr(tn.current),n=ic(t,e.type);t!==n&&(ie(Ys,e),ie(tn,n))}function ef(e){Ys.current===e&&(ae(tn),ae(Ys))}var he=hr(0);function Ba(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 hu=[];function tf(){for(var e=0;e<hu.length;e++)hu[e]._workInProgressVersionPrimary=null;hu.length=0}var ha=En.ReactCurrentDispatcher,pu=En.ReactCurrentBatchConfig,zr=0,me=null,Te=null,Ne=null,Ua=!1,Rs=!1,Zs=0,BS=0;function Ie(){throw Error(A(321))}function nf(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!zt(e[n],t[n]))return!1;return!0}function rf(e,t,n,r,i,s){if(zr=s,me=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ha.current=e===null||e.memoizedState===null?KS:qS,e=n(r,i),Rs){s=0;do{if(Rs=!1,Zs=0,25<=s)throw Error(A(301));s+=1,Ne=Te=null,t.updateQueue=null,ha.current=GS,e=n(r,i)}while(Rs)}if(ha.current=Wa,t=Te!==null&&Te.next!==null,zr=0,Ne=Te=me=null,Ua=!1,t)throw Error(A(300));return e}function sf(){var e=Zs!==0;return Zs=0,e}function Gt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ne===null?me.memoizedState=Ne=e:Ne=Ne.next=e,Ne}function Et(){if(Te===null){var e=me.alternate;e=e!==null?e.memoizedState:null}else e=Te.next;var t=Ne===null?me.memoizedState:Ne.next;if(t!==null)Ne=t,Te=e;else{if(e===null)throw Error(A(310));Te=e,e={memoizedState:Te.memoizedState,baseState:Te.baseState,baseQueue:Te.baseQueue,queue:Te.queue,next:null},Ne===null?me.memoizedState=Ne=e:Ne=Ne.next=e}return Ne}function Js(e,t){return typeof t=="function"?t(e):t}function mu(e){var t=Et(),n=t.queue;if(n===null)throw Error(A(311));n.lastRenderedReducer=e;var r=Te,i=r.baseQueue,s=n.pending;if(s!==null){if(i!==null){var o=i.next;
vendor: 11,692 bytes, lines 38-40
38i.next=s.next,s.next=o}r.baseQueue=i=s,n.pending=null}if(i!==null){s=i.next,r=r.baseState;var a=o=null,l=null,u=s;do{var c=u.lane;if((zr&c)===c)l!==null&&(l=l.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:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=f,o=r):l=l.next=f,me.lanes|=c,$r|=c}u=u.next}while(u!==null&&u!==s);l===null?o=r:l.next=a,zt(r,t.memoizedState)||(et=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do s=i.lane,me.lanes|=s,$r|=s,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function gu(e){var t=Et(),n=t.queue;if(n===null)throw Error(A(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);zt(s,t.memoizedState)||(et=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function pv(){}function mv(e,t){var n=me,r=Et(),i=t(),s=!zt(r.memoizedState,i);if(s&&(r.memoizedState=i,et=!0),r=r.queue,of(vv.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||Ne!==null&&Ne.memoizedState.tag&1){if(n.flags|=2048,eo(9,yv.bind(null,n,r,i,t),void 0,null),je===null)throw Error(A(349));zr&30||gv(n,t,i)}return i}function gv(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=me.updateQueue,t===null?(t={lastEffect:null,stores:null},me.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function yv(e,t,n,r){t.value=n,t.getSnapshot=r,xv(t)&&wv(e)}function vv(e,t,n){return n(function(){xv(t)&&wv(e)})}function xv(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!zt(e,n)}catch{return!0}}function wv(e){var t=xn(e,1);t!==null&&Ft(t,e,1,-1)}function cp(e){var t=Gt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Js,lastRenderedState:e},t.queue=e,e=e.dispatch=HS.bind(null,me,e),[t.memoizedState,e]}function eo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=me.updateQueue,t===null?(t={lastEffect:null,stores:null},me.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 bv(){return Et().memoizedState}function pa(e,t,n,r){var i=Gt();me.flags|=e,i.memoizedState=eo(1|t,n,void 0,r===void 0?null:r)}function vl(e,t,n,r){var i=Et();r=r===void 0?null:r;var s=void 0;if(Te!==null){var o=Te.memoizedState;if(s=o.destroy,r!==null&&nf(r,o.deps)){i.memoizedState=eo(t,n,s,r);return}}me.flags|=e,i.memoizedState=eo(1|t,n,s,r)}function dp(e,t){return pa(8390656,8,e,t)}function of(e,t){return vl(2048,8,e,t)}function Sv(e,t){return vl(4,2,e,t)}function Cv(e,t){return vl(4,4,e,t)}function Ev(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 Tv(e,t,n){return n=n!=null?n.concat([e]):null,vl(4,4,Ev.bind(null,t,e),n)}function af(){}function Pv(e,t){var n=Et();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&nf(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function kv(e,t){var n=Et();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&nf(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Nv(e,t,n){return zr&21?(zt(n,t)||(n=Dy(),me.lanes|=n,$r|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,et=!0),e.memoizedState=n)}function US(e,t){var n=ne;ne=n!==0&&4>n?n:4,e(!0);var r=pu.transition;pu.transition={};try{e(!1),t()}finally{ne=n,pu.transition=r}}function jv(){return Et().memoizedState}function WS(e,t,n){var r=tr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Rv(e))Mv(t,n);else if(n=dv(e,t,n,r),n!==null){var i=Ge();Ft(n,e,r,i),Av(n,t,r)}}function HS(e,t,n){var r=tr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Rv(e))Mv(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,a=s(o,n);if(i.hasEagerState=!0,i.eagerState=a,zt(a,o)){var l=t.interleaved;l===null?(i.next=i,Xd(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=dv(e,t,i,r),n!==null&&(i=Ge(),Ft(n,e,r,i),Av(n,t,r))}}function Rv(e){var t=e.alternate;return e===me||t!==null&&t===me}function Mv(e,t){Rs=Ua=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Av(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Vd(e,n)}}var Wa={readContext:Ct,useCallback:Ie,useContext:Ie,useEffect:Ie,useImperativeHandle:Ie,useInsertionEffect:Ie,useLayoutEffect:Ie,useMemo:Ie,useReducer:Ie,useRef:Ie,useState:Ie,useDebugValue:Ie,useDeferredValue:Ie,useTransition:Ie,useMutableSource:Ie,useSyncExternalStore:Ie,useId:Ie,unstable_isNewReconciler:!1},KS={readContext:Ct,useCallback:function(e,t){return Gt().memoizedState=[e,t===void 0?null:t],e},useContext:Ct,useEffect:dp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,pa(4194308,4,Ev.bind(null,t,e),n)},useLayoutEffect:function(e,t){return pa(4194308,4,e,t)},useInsertionEffect:function(e,t){return pa(4,2,e,t)},useMemo:function(e,t){var n=Gt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Gt();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=WS.bind(null,me,e),[r.memoizedState,e]},useRef:function(e){var t=Gt();return e={current:e},t.memoizedState=e},useState:cp,useDebugValue:af,useDeferredValue:function(e){return Gt().memoizedState=e},useTransition:function(){var e=cp(!1),t=e[0];return e=US.bind(null,e[1]),Gt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=me,i=Gt();if(ce){if(n===void 0)throw Error(A(407));n=n()}else{if(n=t(),je===null)throw Error(A(349));zr&30||gv(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,dp(vv.bind(null,r,s,e),[e]),r.flags|=2048,eo(9,yv.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Gt(),t=je.identifierPrefix;if(ce){var n=mn,r=pn;n=(r&~(1<<32-_t(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Zs++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=BS++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},qS={readContext:Ct,useCallback:Pv,useContext:Ct,useEffect:of,useImperativeHandle:Tv,useInsertionEffect:Sv,useLayoutEffect:Cv,useMemo:kv,useReducer:mu,useRef:bv,useState:function(){return mu(Js)},useDebugValue:af,useDeferredValue:function(e){var t=Et();return Nv(t,Te.memoizedState,e)},useTransition:function(){var e=mu(Js)[0],t=Et().memoizedState;return[e,t]},useMutableSource:pv,useSyncExternalStore:mv,useId:jv,unstable_isNewReconciler:!1},GS={readContext:Ct,useCallback:Pv,useContext:Ct,useEffect:of,useImperativeHandle:Tv,useInsertionEffect:Sv,useLayoutEffect:Cv,useMemo:kv,useReducer:gu,useRef:bv,useState:function(){return gu(Js)},useDebugValue:af,useDeferredValue:function(e){var t=Et();return Te===null?t.memoizedState=e:Nv(t,Te.memoizedState,e)},useTransition:function(){var e=gu(Js)[0],t=Et().memoizedState;return[e,t]},useMutableSource:pv,useSyncExternalStore:mv,useId:jv,unstable_isNewReconciler:!1};function At(e,t){if(e&&e.defaultProps){t=ge({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Tc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ge({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var xl={isMounted:function(e){return(e=e._reactInternals)?Hr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ge(),i=tr(e),s=gn(r,i);s.payload=t,n!=null&&(s.callback=n),t=Jn(e,s,i),t!==null&&(Ft(t,e,i,r),fa(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ge(),i=tr(e),s=gn(r,i);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=Jn(e,s,i),t!==null&&(Ft(t,e,i,r),fa(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ge(),r=tr(e),i=gn(n,r);i.tag=2,t!=null&&(i.callback=t),t=Jn(e,i,r),t!==null&&(Ft(t,e,r,n),fa(t,e,r))}};function fp(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?!Ks(n,r)||!Ks(i,s):!0}function Dv(e,t,n){var r=!1,i=sr,s=t.contextType;return typeof s=="object"&&s!==null?s=Ct(s):(i=nt(t)?_r:$e.current,r=t.contextTypes,s=(r=r!=null)?_i(e,i):sr),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=xl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=s),t}function hp(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&&xl.enqueueReplaceState(t,t.state,null)}function Pc(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Zd(e);var s=t.contextType;typeof s=="object"&&s!==null?i.context=Ct(s):(s=nt(t)?_r:$e.current,i.context=_i(e,s)),i.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(Tc(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&&xl.enqueueReplaceState(i,i.state,null),$a(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Bi(e,t){try{var n="",r=t;do n+=Sb(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 yu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function kc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var QS=typeof WeakMap=="function"?WeakMap:Map;function Lv(e,t,n){n=gn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ka||(Ka=!0,Vc=r),kc(e,t)},n}function Ov(e,t,n){n=gn(-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(){kc(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){kc(e,t),typeof r!="function"&&(er===null?er=new Set([this]):er.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function pp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new QS;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=uC.bind(null,e,t,n),t.then(e,e))}function mp(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 gp(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=gn(-1,1),t.tag=2,Jn(n,t,1))),n.lanes|=1),e)}var YS=En.ReactCurrentOwner,et=!1;function Ue(e,t,n,r){t.child=e===null?cv(t,null,n,r):zi(t,e.child,n,r)}function yp(e,t,n,r,i){n=n.render;var s=t.ref;return Ei(t,i),r=rf(e,t,n,r,s,i),n=sf(),e!==null&&!et?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,wn(e,t,i)):(ce&&n&&Hd(t),t.flags|=1,Ue(e,t,r,i
vendor: 9,531 bytes, line 40
40),t.child)}function vp(e,t,n,r,i){if(e===null){var s=n.type;return typeof s=="function"&&!mf(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,Iv(e,t,s,r,i)):(e=va(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:Ks,n(o,r)&&e.ref===t.ref)return wn(e,t,i)}return t.flags|=1,e=nr(s,r),e.ref=t.ref,e.return=t,t.child=e}function Iv(e,t,n,r,i){if(e!==null){var s=e.memoizedProps;if(Ks(s,r)&&e.ref===t.ref)if(et=!1,t.pendingProps=r=s,(e.lanes&i)!==0)e.flags&131072&&(et=!0);else return t.lanes=e.lanes,wn(e,t,i)}return Nc(e,t,n,r,i)}function Vv(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},ie(mi,st),st|=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,ie(mi,st),st|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,ie(mi,st),st|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,ie(mi,st),st|=r;return Ue(e,t,i,n),t.child}function _v(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Nc(e,t,n,r,i){var s=nt(n)?_r:$e.current;return s=_i(t,s),Ei(t,i),n=rf(e,t,n,r,s,i),r=sf(),e!==null&&!et?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,wn(e,t,i)):(ce&&r&&Hd(t),t.flags|=1,Ue(e,t,n,i),t.child)}function xp(e,t,n,r,i){if(nt(n)){var s=!0;Ia(t)}else s=!1;if(Ei(t,i),t.stateNode===null)ma(e,t),Dv(t,n,r),Pc(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var l=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=Ct(u):(u=nt(n)?_r:$e.current,u=_i(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";f||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||l!==u)&&hp(t,o,r,u),Vn=!1;var h=t.memoizedState;o.state=h,$a(t,r,o,i),l=t.memoizedState,a!==r||h!==l||tt.current||Vn?(typeof c=="function"&&(Tc(t,n,c,r),l=t.memoizedState),(a=Vn||fp(t,n,a,r,h,l,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=l),o.props=r,o.state=l,o.context=u,r=a):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,fv(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:At(t.type,a),o.props=u,f=t.pendingProps,h=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=Ct(l):(l=nt(n)?_r:$e.current,l=_i(t,l));var p=n.getDerivedStateFromProps;(c=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==f||h!==l)&&hp(t,o,r,l),Vn=!1,h=t.memoizedState,o.state=h,$a(t,r,o,i);var w=t.memoizedState;a!==f||h!==w||tt.current||Vn?(typeof p=="function"&&(Tc(t,n,p,r),w=t.memoizedState),(u=Vn||fp(t,n,u,r,h,w,l)||!1)?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,w,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,w,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),o.props=r,o.state=w,o.context=l,r=u):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return jc(e,t,n,r,s,i)}function jc(e,t,n,r,i,s){_v(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&ip(t,n,!1),wn(e,t,s);r=t.stateNode,YS.current=t;var a=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=zi(t,e.child,null,s),t.child=zi(t,null,a,s)):Ue(e,t,a,s),t.memoizedState=r.state,i&&ip(t,n,!0),t.child}function Fv(e){var t=e.stateNode;t.pendingContext?rp(e,t.pendingContext,t.pendingContext!==t.context):t.context&&rp(e,t.context,!1),Jd(e,t.containerInfo)}function wp(e,t,n,r,i){return Fi(),qd(i),t.flags|=256,Ue(e,t,n,r),t.child}var Rc={dehydrated:null,treeContext:null,retryLane:0};function Mc(e){return{baseLanes:e,cachePool:null,transitions:null}}function zv(e,t,n){var r=t.pendingProps,i=he.current,s=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),ie(he,i&1),e===null)return Cc(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=Sl(o,r,0,null),e=Ir(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Mc(n),t.memoizedState=Rc,e):lf(t,o));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return XS(e,t,o,r,a,i,n);if(s){s=r.fallback,o=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=nr(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?s=nr(a,s):(s=Ir(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?Mc(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=e.childLanes&~n,t.memoizedState=Rc,r}return s=e.child,e=s.sibling,r=nr(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 lf(e,t){return t=Sl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function qo(e,t,n,r){return r!==null&&qd(r),zi(t,e.child,null,n),e=lf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function XS(e,t,n,r,i,s,o){if(n)return t.flags&256?(t.flags&=-257,r=yu(Error(A(422))),qo(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,i=t.mode,r=Sl({mode:"visible",children:r.children},i,0,null),s=Ir(s,i,o,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&zi(t,e.child,null,o),t.child.memoizedState=Mc(o),t.memoizedState=Rc,s);if(!(t.mode&1))return qo(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(A(419)),r=yu(s,r,void 0),qo(e,t,o,r)}if(a=(o&e.childLanes)!==0,et||a){if(r=je,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,xn(e,i),Ft(r,e,i,-1))}return pf(),r=yu(Error(A(421))),qo(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=cC.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,at=Zn(i.nextSibling),lt=t,ce=!0,Vt=null,e!==null&&(yt[vt++]=pn,yt[vt++]=mn,yt[vt++]=Fr,pn=e.id,mn=e.overflow,Fr=t),t=lf(t,r.children),t.flags|=4096,t)}function bp(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ec(e.return,t,n)}function vu(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 $v(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&&bp(e,n,t);else if(e.tag===19)bp(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(ie(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&&Ba(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),vu(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&&Ba(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}vu(t,!0,n,null,s);break;case"together":vu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ma(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function wn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),$r|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(A(153));
vendor: 4,746 bytes, line 40
40if(t.child!==null){for(e=t.child,n=nr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=nr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function ZS(e,t,n){switch(t.tag){case 3:Fv(t),Fi();break;case 5:hv(t);break;case 1:nt(t.type)&&Ia(t);break;case 4:Jd(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;ie(Fa,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ie(he,he.current&1),t.flags|=128,null):n&t.child.childLanes?zv(e,t,n):(ie(he,he.current&1),e=wn(e,t,n),e!==null?e.sibling:null);ie(he,he.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return $v(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),ie(he,he.current),r)break;return null;case 22:case 23:return t.lanes=0,Vv(e,t,n)}return wn(e,t,n)}var Bv,Ac,Uv,Wv;Bv=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}};Ac=function(){};Uv=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Pr(tn.current);var s=null;switch(n){case"input":i=ec(e,i),r=ec(e,r),s=[];break;case"select":i=ge({},i,{value:void 0}),r=ge({},r,{value:void 0}),s=[];break;case"textarea":i=rc(e,i),r=rc(e,r),s=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=La)}sc(n,r);var o;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Fs.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var l=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(o in a)!a.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&a[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(s||(s=[]),s.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(s=s||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(s=s||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Fs.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&oe("scroll",e),s||a===l||(s=[])):(s=s||[]).push(u,l))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};Wv=function(e,t,n,r){n!==r&&(t.flags|=4)};function fs(e,t){if(!ce)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 Ve(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 JS(e,t,n){var r=t.pendingProps;switch(Kd(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ve(t),null;case 1:return nt(t.type)&&Oa(),Ve(t),null;case 3:return r=t.stateNode,$i(),ae(tt),ae($e),tf(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ho(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Vt!==null&&(zc(Vt),Vt=null))),Ac(e,t),Ve(t),null;case 5:ef(t);var i=Pr(Xs.current);if(n=t.type,e!==null&&t.stateNode!=null)Uv(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(A(166));return Ve(t),null}if(e=Pr(tn.current),Ho(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Zt]=t,r[Qs]=s,e=(t.mode&1)!==0,n){case"dialog":oe("cancel",r),oe("close",r);break;case"iframe":case"object":case"embed":oe("load",r);break;case"video":case"audio":for(i=0;i<ws.length;i++)oe(ws[i],r);break;case"source":oe("error",r);break;case"img":case"image":case"link":oe("error",r),oe("load",r);break;case"details":oe("toggle",r);break;case"input":Rh(r,s),oe("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},oe("invalid",r);break;case"textarea":Ah(r,s),oe("invalid",r)}sc(n,s),i=null;for(var o in s)if(s.hasOwnProperty(o)){var a=s[o];
vendor: 31,067 bytes, line 40
40o==="children"?typeof a=="string"?r.textContent!==a&&(s.suppressHydrationWarning!==!0&&Wo(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&Wo(r.textContent,a,e),i=["children",""+a]):Fs.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&oe("scroll",r)}switch(n){case"input":Io(r),Mh(r,s,!0);break;case"textarea":Io(r),Dh(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=La)}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=vy(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",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[Zt]=t,e[Qs]=r,Bv(e,t,!1,!1),t.stateNode=e;e:{switch(o=oc(n,r),n){case"dialog":oe("cancel",e),oe("close",e),i=r;break;case"iframe":case"object":case"embed":oe("load",e),i=r;break;case"video":case"audio":for(i=0;i<ws.length;i++)oe(ws[i],e);i=r;break;case"source":oe("error",e),i=r;break;case"img":case"image":case"link":oe("error",e),oe("load",e),i=r;break;case"details":oe("toggle",e),i=r;break;case"input":Rh(e,r),i=ec(e,r),oe("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=ge({},r,{value:void 0}),oe("invalid",e);break;case"textarea":Ah(e,r),i=rc(e,r),oe("invalid",e);break;default:i=r}sc(n,i),a=i;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];s==="style"?by(e,l):s==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&xy(e,l)):s==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&zs(e,l):typeof l=="number"&&zs(e,""+l):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Fs.hasOwnProperty(s)?l!=null&&s==="onScroll"&&oe("scroll",e):l!=null&&Md(e,s,l,o))}switch(n){case"input":Io(e),Mh(e,r,!1);break;case"textarea":Io(e),Dh(e);break;case"option":r.value!=null&&e.setAttribute("value",""+ir(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?wi(e,!!r.multiple,s,!1):r.defaultValue!=null&&wi(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=La)}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 Ve(t),null;case 6:if(e&&t.stateNode!=null)Wv(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(A(166));if(n=Pr(Xs.current),Pr(tn.current),Ho(t)){if(r=t.stateNode,n=t.memoizedProps,r[Zt]=t,(s=r.nodeValue!==n)&&(e=lt,e!==null))switch(e.tag){case 3:Wo(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Wo(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Zt]=t,t.stateNode=r}return Ve(t),null;case 13:if(ae(he),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ce&&at!==null&&t.mode&1&&!(t.flags&128))lv(),Fi(),t.flags|=98560,s=!1;else if(s=Ho(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(A(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(A(317));s[Zt]=t}else Fi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ve(t),s=!1}else Vt!==null&&(zc(Vt),Vt=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?ke===0&&(ke=3):pf())),t.updateQueue!==null&&(t.flags|=4),Ve(t),null);case 4:return $i(),Ac(e,t),e===null&&qs(t.stateNode.containerInfo),Ve(t),null;case 10:return Yd(t.type._context),Ve(t),null;case 17:return nt(t.type)&&Oa(),Ve(t),null;case 19:if(ae(he),s=t.memoizedState,s===null)return Ve(t),null;if(r=(t.flags&128)!==0,o=s.rendering,o===null)if(r)fs(s,!1);else{if(ke!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Ba(e),o!==null){for(t.flags|=128,fs(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 ie(he,he.current&1|2),t.child}e=e.sibling}s.tail!==null&&xe()>Ui&&(t.flags|=128,r=!0,fs(s,!1),t.lanes=4194304)}else{if(!r)if(e=Ba(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),fs(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!ce)return Ve(t),null}else 2*xe()-s.renderingStartTime>Ui&&n!==1073741824&&(t.flags|=128,r=!0,fs(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=xe(),t.sibling=null,n=he.current,ie(he,r?n&1|2:n&1),t):(Ve(t),null);case 22:case 23:return hf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?st&1073741824&&(Ve(t),t.subtreeFlags&6&&(t.flags|=8192)):Ve(t),null;case 24:return null;case 25:return null}throw Error(A(156,t.tag))}function eC(e,t){switch(Kd(t),t.tag){case 1:return nt(t.type)&&Oa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return $i(),ae(tt),ae($e),tf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ef(t),null;case 13:if(ae(he),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(A(340));Fi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ae(he),null;case 4:return $i(),null;case 10:return Yd(t.type._context),null;case 22:case 23:return hf(),null;case 24:return null;default:return null}}var Go=!1,Fe=!1,tC=typeof WeakSet=="function"?WeakSet:Set,_=null;function pi(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 Dc(e,t,n){try{n()}catch(r){ve(e,t,r)}}var Sp=!1;function nC(e,t){if(gc=Ma,e=Qy(),Wd(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,a=-1,l=-1,u=0,c=0,f=e,h=null;t:for(;;){for(var p;f!==n||i!==0&&f.nodeType!==3||(a=o+i),f!==s||r!==0&&f.nodeType!==3||(l=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(p=f.firstChild)!==null;)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++u===i&&(a=o),h===s&&++c===r&&(l=o),(p=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(yc={focusedElem:e,selectionRange:n},Ma=!1,_=t;_!==null;)if(t=_,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_=e;else for(;_!==null;){t=_;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var y=w.memoizedProps,b=w.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?y:At(t.type,y),b);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(A(163))}}catch(S){ve(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,_=e;break}_=t.return}return w=Sp,Sp=!1,w}function Ms(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&&Dc(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 Lc(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 Hv(e){var t=e.alternate;t!==null&&(e.alternate=null,Hv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Zt],delete t[Qs],delete t[wc],delete t[_S],delete t[FS])),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 Kv(e){return e.tag===5||e.tag===3||e.tag===4}function Cp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Kv(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 Oc(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=La));else if(r!==4&&(e=e.child,e!==null))for(Oc(e,t,n),e=e.sibling;e!==null;)Oc(e,t,n),e=e.sibling}function Ic(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(Ic(e,t,n),e=e.sibling;e!==null;)Ic(e,t,n),e=e.sibling}var Re=null,It=!1;function Mn(e,t,n){for(n=n.child;n!==null;)qv(e,t,n),n=n.sibling}function qv(e,t,n){if(en&&typeof en.onCommitFiberUnmount=="function")try{en.onCommitFiberUnmount(fl,n)}catch{}switch(n.tag){case 5:Fe||pi(n,t);case 6:var r=Re,i=It;Re=null,Mn(e,t,n),Re=r,It=i,Re!==null&&(It?(e=Re,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Re.removeChild(n.stateNode));break;case 18:Re!==null&&(It?(e=Re,n=n.stateNode,e.nodeType===8?du(e.parentNode,n):e.nodeType===1&&du(e,n),Ws(e)):du(Re,n.stateNode));break;case 4:r=Re,i=It,Re=n.stateNode.containerInfo,It=!0,Mn(e,t,n),Re=r,It=i;break;case 0:case 11:case 14:case 15:if(!Fe&&(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)&&Dc(n,t,o),i=i.next}while(i!==r)}Mn(e,t,n);break;case 1:if(!Fe&&(pi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ve(n,t,a)}Mn(e,t,n);break;case 21:Mn(e,t,n);break;case 22:n.mode&1?(Fe=(r=Fe)||n.memoizedState!==null,Mn(e,t,n),Fe=r):Mn(e,t,n);break;default:Mn(e,t,n)}}function Ep(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new tC),t.forEach(function(r){var i=dC.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Nt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var s=e,o=t,a=o;e:for(;a!==null;){switch(a.tag){case 5:Re=a.stateNode,It=!1;break e;case 3:Re=a.stateNode.containerInfo,It=!0;break e;case 4:Re=a.stateNode.containerInfo,It=!0;break e}a=a.return}if(Re===null)throw Error(A(160));qv(s,o,i),Re=null,It=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){ve(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Gv(t,e),t=t.sibling}function Gv(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Nt(t,e),Kt(e),r&4){try{Ms(3,e,e.return),wl(3,e)}catch(y){ve(e,e.return,y)}try{Ms(5,e,e.return)}catch(y){ve(e,e.return,y)}}break;case 1:Nt(t,e),Kt(e),r&512&&n!==null&&pi(n,n.return);break;case 5:if(Nt(t,e),Kt(e),r&512&&n!==null&&pi(n,n.return),e.flags&32){var i=e.stateNode;try{zs(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,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&gy(i,s),oc(a,o);var u=oc(a,s);for(o=0;o<l.length;o+=2){var c=l[o],f=l[o+1];c==="style"?by(i,f):c==="dangerouslySetInnerHTML"?xy(i,f):c==="children"?zs(i,f):Md(i,c,f,u)}switch(a){case"input":tc(i,s);break;case"textarea":yy(i,s);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var p=s.value;p!=null?wi(i,!!s.multiple,p,!1):h!==!!s.multiple&&(s.defaultValue!=null?wi(i,!!s.multiple,s.defaultValue,!0):wi(i,!!s.multiple,s.multiple?[]:"",!1))}i[Qs]=s}catch(y){ve(e,e.return,y)}}break;case 6:if(Nt(t,e),Kt(e),r&4){if(e.stateNode===null)throw Error(A(162));i=e.stateNode,s=e.memoizedProps;try{i.nodeValue=s}catch(y){ve(e,e.return,y)}}break;case 3:if(Nt(t,e),Kt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Ws(t.containerInfo)}catch(y){ve(e,e.return,y)}break;case 4:Nt(t,e),Kt(e);break;case 13:Nt(t,e),Kt(e),i=e.child,i.flags&8192&&(s=i.memoizedState!==null,i.stateNode.isHidden=s,!s||i.alternate!==null&&i.alternate.memoizedState!==null||(df=xe())),r&4&&Ep(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Fe=(u=Fe)||c,Nt(t,e),Fe=u):Nt(t,e),Kt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(_=e,c=e.child;c!==null;){for(f=_=c;_!==null;){switch(h=_,p=h.child,h.tag){case 0:case 11:case 14:case 15:Ms(4,h,h.return);break;case 1:pi(h,h.return);var w=h.stateNode;if(typeof w.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(y){ve(r,n,y)}}break;case 5:pi(h,h.return);break;case 22:if(h.memoizedState!==null){Pp(f);continue}}p!==null?(p.return=h,_=p):Pp(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{i=f.stateNode,u?(s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=f.stateNode,l=f.memoizedProps.style,o=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=wy("display",o))}catch(y){ve(e,e.return,y)}}}else if(f.tag===6){if(c===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;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Nt(t,e),Kt(e),r&4&&Ep(e);break;case 21:break;default:Nt(t,e),Kt(e)}}function Kt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Kv(n)){var r=n;break e}n=n.return}throw Error(A(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(zs(i,""),r.flags&=-33);var s=Cp(e);Ic(e,s,i);break;case 3:case 4:var o=r.stateNode.containerInfo,a=Cp(e);Oc(e,a,o);break;default:throw Error(A(161))}}catch(l){ve(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function rC(e,t,n){_=e,Qv(e)}function Qv(e,t,n){for(var r=(e.mode&1)!==0;_!==null;){var i=_,s=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||Go;if(!o){var a=i.alternate,l=a!==null&&a.memoizedState!==null||Fe;a=Go;var u=Fe;if(Go=o,(Fe=l)&&!u)for(_=i;_!==null;)o=_,l=o.child,o.tag===22&&o.memoizedState!==null?kp(i):l!==null?(l.return=o,_=l):kp(i);for(;s!==null;)_=s,Qv(s),s=s.sibling;_=i,Go=a,Fe=u}Tp(e)}else i.subtreeFlags&8772&&s!==null?(s.return=i,_=s):Tp(e)}}function Tp(e){for(;_!==null;){var t=_;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Fe||wl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Fe)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:At(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&up(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}up(t,o,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&Ws(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(A(163))}Fe||t.flags&512&&Lc(t)}catch(h){ve(t,t.return,h)}}if(t===e){_=null;break}if(n=t.sibling,n!==null){n.return=t.return,_=n;break}_=t.return}}function Pp(e){for(;_!==null;){var t=_;if(t===e){_=null;break}var n=t.sibling;if(n!==null){n.return=t.return,_=n;break}_=t.return}}function kp(e){for(;_!==null;){var t=_;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{wl(4,t)}catch(l){ve(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){ve(t,i,l)}}var s=t.return;try{Lc(t)}catch(l){ve(t,s,l)}break;case 5:var o=t.return;try{Lc(t)}catch(l){ve(t,o,l)}}}catch(l){ve(t,t.return,l)}if(t===e){_=null;break}var a=t.sibling;if(a!==null){a.return=t.return,_=a;break}_=t.return}}var iC=Math.ceil,Ha=En.ReactCurrentDispatcher,uf=En.ReactCurrentOwner,bt=En.ReactCurrentBatchConfig,J=0,je=null,Se=null,Ae=0,st=0,mi=hr(0),ke=0,to=null,$r=0,bl=0,cf=0,As=null,Je=null,df=0,Ui=1/0,dn=null,Ka=!1,Vc=null,er=null,Qo=!1,Kn=null,qa=0,Ds=0,_c=null,ga=-1,ya=0;function Ge(){return J&6?xe():ga!==-1?ga:ga=xe()}function tr(e){return e.mode&1?J&2&&Ae!==0?Ae&-Ae:$S.transition!==null?(ya===0&&(ya=Dy()),ya):(e=ne,e!==0||(e=window.event,e=e===void 0?16:zy(e.type)),e):1}function Ft(e,t,n,r){if(50<Ds)throw Ds=0,_c=null,Error(A(185));yo(e,n,r),(!(J&2)||e!==je)&&(e===je&&(!(J&2)&&(bl|=n),ke===4&&Fn(e,Ae)),rt(e,r),n===1&&J===0&&!(t.mode&1)&&(Ui=xe()+500,yl&&pr()))}function rt(e,t){var n=e.callbackNode;$b(e,t);var r=Ra(e,e===je?Ae:0);if(r===0)n!==null&&Ih(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ih(n),t===1)e.tag===0?zS(Np.bind(null,e)):sv(Np.bind(null,e)),IS(function(){!(J&6)&&pr()}),n=null;else{switch(Ly(r)){case 1:n=Id;break;case 4:n=My;break;case 16:n=ja;break;case 536870912:n=Ay;break;default:n=ja}n=r0(n,Yv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Yv(e,t){if(ga=-1,ya=0,J&6)throw Error(A(327));var n=e.callbackNode;if(Ti()&&e.callbackNode!==n)return null;var r=Ra(e,e===je?Ae:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Ga(e,r);else{t=r;var i=J;J|=2;var s=Zv();(je!==e||Ae!==t)&&(dn=null,Ui=xe()+500,Or(e,t));do try{aC();break}catch(a){Xv(e,a)}while(!0);Qd(),Ha.current=s,J=i,Se!==null?t=0:(je=null,Ae=0,t=ke)}if(t!==0){if(t===2&&(i=dc(e),i!==0&&(r=i,t=Fc(e,i))),t===1)throw n=to,Or(e,0),Fn(e,r),rt(e,xe()),n;if(t===6)Fn(e,r);else{if(i=e.current.alternate,!(r&30)&&!sC(i)&&(t=Ga(e,r),t===2&&(s=dc(e),s!==0&&(r=s,t=Fc(e,s))),t===1))throw n=to,Or(e,0),Fn(e,r),rt(e,xe()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(A(345));case 2:Sr(e,Je,dn);break;case 3:if(Fn(e,r),(r&130023424)===r&&(t=df+500-xe(),10<t)){if(Ra(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Ge(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=xc(Sr.bind(null,e,Je,dn),t);break}Sr(e,Je,dn);break;case 4:if(Fn(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=xe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*iC(r/1960))-r,10<r){e.timeoutHandle=xc(Sr.bind(null,e,Je,dn),r);break}Sr(e,Je,dn);break;case 5:Sr(e,Je,dn);break;default:throw Error(A(329))}}}return rt(e,xe()),e.callbackNode===n?Yv.bind(null,e):null}function Fc(e,t){var n=As;return e.current.memoizedState.isDehydrated&&(Or(e,t).flags|=256),e=Ga(e,t),e!==2&&(t=Je,Je=n,t!==null&&zc(t)),e}function zc(e){Je===null?Je=e:Je.push.apply(Je,e)}function sC(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(!zt(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 Fn(e,t){for(t&=~cf,t&=~bl,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 Np(e){if(J&6)throw Error(A(327));Ti();var t=Ra(e,0);if(!(t&1))return rt(e,xe()),null;var n=Ga(e,t);if(e.tag!==0&&n===2){var r=dc(e);r!==0&&(t=r,n=Fc(e,r))}if(n===1)throw n=to,Or(e,0),Fn(e,t),rt(e,xe()),n;if(n===6)throw Error(A(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Sr(e,Je,dn),rt(e,xe()),null}function ff(e,t){var n=J;J|=1;try{return e(t)}finally{J=n,J===0&&(Ui=xe()+500,yl&&pr())}}function Br(e){Kn!==null&&Kn.tag===0&&!(J&6)&&Ti();var t=J;J|=1;var n=bt.transition,r=ne;try{if(bt.transition=null,ne=1,e)return e()}finally{ne=r,bt.transition=n,J=t,!(J&6)&&pr()}}function hf(){st=mi.current,ae(mi)}function Or(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,OS(n)),Se!==null)for(n=Se.return;n!==null;){var r=n;switch(Kd(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Oa();break;case 3:$i(),ae(tt),ae($e),tf();break;case 5:ef(r);break;case 4:$i();break;case 13:ae(he);break;case 19:ae(he);break;case 10:Yd(r.type._context);break;case 22:case 23:hf()}n=n.return}if(je=e,Se=e=nr(e.current,null),Ae=st=t,ke=0,to=null,cf=bl=$r=0,Je=As=null,Tr!==null){for(t=0;t<Tr.length;t++)if(n=Tr[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}Tr=null}return e}function Xv(e,t){do{var n=Se;try{if(Qd(),ha.current=Wa,Ua){for(var r=me.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Ua=!1}if(zr=0,Ne=Te=me=null,Rs=!1,Zs=0,uf.current=null,n===null||n.return===null){ke=1,to=t,Se=null;break}e:{var s=e,o=n.return,a=n,l=t;if(t=Ae,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,f=c.tag;if(!(c.mode&1)&&(f===0||f===11||f===15)){var h=c.alternate;h?(c.updateQueue=h.updateQueue,c.memoizedState=h.memoizedState,c.lanes=h.lanes):(c.updateQueue=null,c.memoizedState=null)}var p=mp(o);if(p!==null){p.flags&=-257,gp(p,o,a,s,t),p.mode&1&&pp(s,u,t),t=p,l=u;var w=t.updateQueue;if(w===null){var y=new Set;y.add(l),t.updateQueue=y}else w.add(l);break e}else{if(!(t&1)){pp(s,u,t),pf();break e}l=Error(A(426))}}else if(ce&&a.mode&1){var b=mp(o);if(b!==null){!(b.flags&65536)&&(b.flags|=256),gp(b,o,a,s,t),qd(Bi(l,a));break e}}s=l=Bi(l,a),ke!==4&&(ke=2),As===null?As=[s]:As.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var g=Lv(s,l,t);lp(s,g);break e;case 1:a=l;var m=s.type,v=s.stateNode;if(!(s.flags&128)&&(typeof m.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(er===null||!er.has(v)))){s.flags|=65536,t&=-t,s.lanes|=t;var S=Ov(s,a,t);lp(s,S);break e}}s=s.return}while(s!==null)}e0(n)}catch(C){t=C,Se===n&&n!==null&&(Se=n=n.return);continue}break}while(!0)}function Zv(){var e=Ha.current;return Ha.current=Wa,e===null?Wa:e}function pf(){(ke===0||ke===3||ke===2)&&(ke=4),je===null||!($r&268435455)&&!(bl&268435455)||Fn(je,Ae)}function Ga(e,t){var n=J;J|=2;var r=Zv();(je!==e||Ae!==t)&&(dn=null,Or(e,t));do try{oC();break}catch(i){Xv(e,i)}while(!0);if(Qd(),J=n,Ha.current=r,Se!==null)throw Error(A(261));return je=null,Ae=0,ke}function oC(){for(;Se!==null;)Jv(Se)}function aC(){for(;Se!==null&&!Ab();)Jv(Se)}function Jv(e){var t=n0(e.alternate,e,st);e.memoizedProps=e.pendingProps,t===null?e0(e):Se=t,uf.current=null}function e0(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=eC(n,t),n!==null){n.flags&=32767,Se=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ke=6,Se=null;return}}else if(n=JS(n,t,st),n!==null){Se=n;return}if(t=t.sibling,t!==null){Se=t;return}Se=t=e}while(t!==null);ke===0&&(ke=5)}function Sr(e,t,n){var r=ne,i=bt.transition;try{bt.transition=null,ne=1,lC(e,t,n,r)}finally{bt.transition=i,ne=r}return null}function lC(e,t,n,r){do Ti();while(Kn!==null);if(J&6)throw Error(A(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(A(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(Bb(e,s),e===je&&(Se=je=null,Ae=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Qo||(Qo=!0,r0(ja,function(){return Ti(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=bt.transition,bt.transition=null;var o=ne;ne=1;var a=J;J|=4,uf.current=null,nC(e,n),Gv(n,e),NS(yc),Ma=!!gc,yc=gc=null,e.current=n,rC(n),Db(),J=a,ne=o,bt.transition=s}else e.current=n;if(Qo&&(Qo=!1,Kn=e,qa=i),s=e.pendingLanes,s===0&&(er=null),Ib(n.stateNode),rt(e,xe()),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(Ka)throw Ka=!1,e=Vc,Vc=null,e;return qa&1&&e.tag!==0&&Ti(),s=e.pendingLanes,s&1?e===_c?Ds++:(Ds=0,_c=e):Ds=0,pr(),null}function Ti(){if(Kn!==null){var e=Ly(qa),t=bt.transition,n=ne;try{if(bt.transition=null,ne=16>e?16:e,Kn===null)var r=!1;else{if(e=Kn,Kn=null,qa=0,J&6)throw Error(A(331));var i=J;for(J|=4,_=e.current;_!==null;){var s=_,o=s.child;if(_.flags&16){var a=s.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(_=u;_!==null;){var c=_;switch(c.tag){case 0:case 11:case 15:Ms(8,c,s)}var f=c.child;if(f!==null)f.return=c,_=f;else for(;_!==null;){c=_;var h=c.sibling,p=c.return;if(Hv(c),c===u){_=null;break}if(h!==null){h.return=p,_=h;break}_=p}}}var w=s.alternate;if(w!==null){var y=w.child;if(y!==null){w.child=null;do{var b=y.sibling;y.sibling=null,y=b}while(y!==null)}}_=s}}if(s.subtreeFlags&2064&&o!==null)o.return=s,_=o;else e:for(;_!==null;){if(s=_,s.flags&2048)switch(s.tag){case 0:case 11:case 15:Ms(9,s,s.return)}var g=s.sibling;if(g!==null){g.return=s.return,_=g;break e}_=s.return}}var m=e.current;for(_=m;_!==null;){o=_;var v=o.child;if(o.subtreeFlags&2064&&v!==null)v.return=o,_=v;else e:for(o=m;_!==null;){if(a=_,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:wl(9,a)}}catch(C){ve(a,a.return,C)}if(a===o){_=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,_=S;break e}_=a.return}}if(J=i,pr(),en&&typeof en.onPostCommitFiberRoot=="function")try{en.onPostCommitFiberRoot(fl,e)}catch{}r=!0}return r}finally{ne=n,bt.transition=t}}return!1}function jp(e,t,n){t=Bi(n,t),t=Lv(e,t,1),e=Jn(e,t,1),t=Ge(),e!==null&&(yo(e,1,t),rt(e,t))}function ve(e,t,n){if(e.tag===3)jp(e,e,n);else for(;t!==null;){if(t.tag===3){jp(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(er===null||!er.has(r))){e=Bi(n,e),e=Ov(t,e,1),t=Jn(t,e,1),e=Ge(),t!==null&&(yo(t,1,e),rt(t,e));break}}t=t.return}}function uC(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ge(),e.pingedLanes|=e.suspendedLanes&n,je===e&&(Ae&n)===n&&(ke===4||ke===3&&(Ae&130023424)===Ae&&500>xe()-df?Or(e,0):cf|=n),rt(e,t)}function t0(e,t){t===0&&(e.mode&1?(t=Fo,Fo<<=1,!(Fo&130023424)&&(Fo=4194304)):t=1);var n=Ge();e=xn(e,t),e!==null&&(yo(e,t,n),rt(e,n))}function cC(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),t0(e,n)}function dC(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(A(314))}r!==null&&r.delete(t),t0(e,n)}var n0;n0=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||tt.current)et=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return et=!1,ZS(e,t,n);et=!!(e.flags&131072)}else et=!1,ce&&t.flags&1048576&&ov(t,_a,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ma(e,t),e=t.pendingProps;var i=_i(t,$e.current);Ei(t,n),i=rf(null,t,r,e,i,n);var s=sf();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,nt(r)?(s=!0,Ia(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Zd(t),i.updater=xl,t.stateNode=i,i._reactInternals=t,Pc(t,r,e,n),t=jc(null,t,r,!0,s,n)):(t.tag=0,ce&&s&&Hd(t),Ue(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ma(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=hC(r),e=At(r,e),i){case 0:t=Nc(null,t,r,e,n);break e;case 1:t=xp(null,t,r,e,n);break e;case 11:t=yp(null,t,r,e,n);break e;case 14:t=vp(null,t,r,At(r.type,e),n);break e}throw Error(A(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:At(r,i),Nc(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:At(r,i),xp(e,t,r,i,n);case 3:e:{if(Fv(t),e===null)throw Error(A(387));r=t.pendingProps,s=t.memoizedState,i=s.element,fv(e,t),$a(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=Bi(Error(A(423)),t),t=wp(e,t,r,n,i);break e}else if(r!==i){i=Bi(Error(A(424)),t),t=wp(e,t,r,n,i);break e}else for(at=Zn(t.stateNode.containerInfo.firstChild),lt=t,ce=!0,Vt=null,n=cv(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Fi(),r===i){t=wn(e,t,n);break e}Ue(e,t,r,n)}t=t.child}return t;case 5:return hv(t),e===null&&Cc(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,vc(r,i)?o=null:s!==null&&vc(r,s)&&(t.flags|=32),_v(e,t),Ue(e,t,o,n),t.child;case 6:return e===null&&Cc(t),null;case 13:return zv(e,t,n);case 4:return Jd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=zi(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:At(r,i),yp(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,ie(Fa,r._currentValue),r._currentValue=o,s!==null)if(zt(s.value,o)){if(s.children===i.children&&!tt.current){t=wn(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=gn(-1,n&-n),l.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Ec(s.return,n,t),a.lanes|=n;break}l=l.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(A(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Ec(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;
vendor: 4,112 bytes, line 40
40case 9:return i=t.type,r=t.pendingProps.children,Ei(t,n),i=Ct(i),r=r(i),t.flags|=1,Ue(e,t,r,n),t.child;case 14:return r=t.type,i=At(r,t.pendingProps),i=At(r.type,i),vp(e,t,r,i,n);case 15:return Iv(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:At(r,i),ma(e,t),t.tag=1,nt(r)?(e=!0,Ia(t)):e=!1,Ei(t,n),Dv(t,r,i),Pc(t,r,i,n),jc(null,t,r,!0,e,n);case 19:return $v(e,t,n);case 22:return Vv(e,t,n)}throw Error(A(156,t.tag))};function r0(e,t){return Ry(e,t)}function fC(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xt(e,t,n,r){return new fC(e,t,n,r)}function mf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function hC(e){if(typeof e=="function")return mf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Dd)return 11;if(e===Ld)return 14}return 2}function nr(e,t){var n=e.alternate;return n===null?(n=xt(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 va(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")mf(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case si:return Ir(n.children,i,s,t);case Ad:o=8,i|=8;break;case Yu:return e=xt(12,n,t,i|2),e.elementType=Yu,e.lanes=s,e;case Xu:return e=xt(13,n,t,i),e.elementType=Xu,e.lanes=s,e;case Zu:return e=xt(19,n,t,i),e.elementType=Zu,e.lanes=s,e;case hy:return Sl(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case dy:o=10;break e;case fy:o=9;break e;case Dd:o=11;break e;case Ld:o=14;break e;case In:o=16,r=null;break e}throw Error(A(130,e==null?e:typeof e,""))}return t=xt(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function Ir(e,t,n,r){return e=xt(7,e,r,t),e.lanes=n,e}function Sl(e,t,n,r){return e=xt(22,e,r,t),e.elementType=hy,e.lanes=n,e.stateNode={isHidden:!1},e}function xu(e,t,n){return e=xt(6,e,null,t),e.lanes=n,e}function wu(e,t,n){return t=xt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function pC(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=eu(0),this.expirationTimes=eu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eu(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function gf(e,t,n,r,i,s,o,a,l){return e=new pC(e,t,n,a,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=xt(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Zd(s),e}function mC(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ii,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function i0(e){if(!e)return sr;e=e._reactInternals;e:{if(Hr(e)!==e||e.tag!==1)throw Error(A(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(nt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(A(171))}if(e.tag===1){var n=e.type;if(nt(n))return iv(e,n,t)}return t}function s0(e,t,n,r,i,s,o,a,l){return e=gf(n,r,!0,e,i,s,o,a,l),e.context=i0(null),n=e.current,r=Ge(
vendor: 4,204 bytes, line 40
40),i=tr(n),s=gn(r,i),s.callback=t??null,Jn(n,s,i),e.current.lanes=i,yo(e,i,r),rt(e,r),e}function Cl(e,t,n,r){var i=t.current,s=Ge(),o=tr(i);return n=i0(n),t.context===null?t.context=n:t.pendingContext=n,t=gn(s,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Jn(i,t,o),e!==null&&(Ft(e,i,o,s),fa(e,i,o)),o}function Qa(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 Rp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function yf(e,t){Rp(e,t),(e=e.alternate)&&Rp(e,t)}function gC(){return null}var o0=typeof reportError=="function"?reportError:function(e){console.error(e)};function vf(e){this._internalRoot=e}El.prototype.render=vf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(A(409));Cl(e,t,null,null)};El.prototype.unmount=vf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Br(function(){Cl(null,e,null,null)}),t[vn]=null}};function El(e){this._internalRoot=e}El.prototype.unstable_scheduleHydration=function(e){if(e){var t=Vy();e={blockedOn:null,target:e,priority:t};for(var n=0;n<_n.length&&t!==0&&t<_n[n].priority;n++);_n.splice(n,0,e),n===0&&Fy(e)}};function xf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Tl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Mp(){}function yC(e,t,n,r,i){if(i){if(typeof r=="function"){var s=r;r=function(){var u=Qa(o);s.call(u)}}var o=s0(t,r,e,0,null,!1,!1,"",Mp);return e._reactRootContainer=o,e[vn]=o.current,qs(e.nodeType===8?e.parentNode:e),Br(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=Qa(l);a.call(u)}}var l=gf(e,0,!1,null,null,!1,!1,"",Mp);return e._reactRootContainer=l,e[vn]=l.current,qs(e.nodeType===8?e.parentNode:e),Br(function(){Cl(t,l,n,r)}),l}function Pl(e,t,n,r,i){var s=n._reactRootContainer;if(s){var o=s;if(typeof i=="function"){var a=i;i=function(){var l=Qa(o);a.call(l)}}Cl(t,o,e,i)}else o=yC(n,t,e,i,r);return Qa(o)}Oy=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=xs(t.pendingLanes);n!==0&&(Vd(t,n|1),rt(t,xe()),!(J&6)&&(Ui=xe()+500,pr()))}break;case 13:Br(function(){var r=xn(e,1);if(r!==null){var i=Ge();Ft(r,e,1,i)}}),yf(e,1)}};_d=function(e){if(e.tag===13){var t=xn(e,134217728);if(t!==null){var n=Ge();Ft(t,e,134217728,n)}yf(e,134217728)}};Iy=function(e){if(e.tag===13){var t=tr(e),n=xn(e,t);if(n!==null){var r=Ge();Ft(n,e,t,r)}yf(e,t)}};Vy=function(){return ne};_y=function(e,t){var n=ne;try{return ne=e,t()}finally{ne=n}};lc=function(e,t,n){switch(t){case"input":if(tc(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=gl(r);if(!i)throw Error(A(90));my(r),tc(r,i)}}}break;case"textarea":yy(e,n);break;case"select":t=n.value,t!=null&&wi(e,!!n.multiple,t,!1)}};Ey=ff;Ty=Br;var vC={usingClientEntryPoint:!1,Events:[xo,ui,gl,Sy,Cy,ff]},hs={findFiberByHostInstance:Er,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},xC={bundleType:hs.bundleType,version:hs.version,rendererPackageName:hs.rendererPackageName,rendererConfig:hs.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:En.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ny(e),e===null?null:e.stateNode},findFiberByHostInstance:hs.findFiberByHostInstance||gC,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 Yo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Yo.isDisabled&&Yo.supportsFiber)try{fl=Yo.inject(xC),en=Yo}catch{}}
40dt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vC;dt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!xf(t))throw Error(A(200));return mC(e,t,null,n)};dt.createRoot=function(e,t){if(!xf(e))throw Error(A(299));var n=!1,r="",i=o0;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[vn]=t.current,qs(e.nodeType===8?e.parentNode:e),new vf(t)};dt.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(A(188)):(e=Object.keys(e).join(","),Error(A(268,e)));return e=Ny(t),e=e===null?null:e.stateNode,e};dt.flushSync=function(e){return Br(e)};dt.hydrate=function(e,t,n){if(!Tl(t))throw Error(A(200));return Pl(null,e,t,!0,n)};dt.hydrateRoot=function(e,t,n){if(!xf(e))throw Error(A(405));var r=n!=null&&n.hydratedSources||null,i=!1,s="",o=o0;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=s0(t,null,e,1,n??null,i,!1,s,o),e[vn]=t.current,qs(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 El(t)};dt.render=function(e,t,n){if(!Tl(t))throw Error(A(200));return Pl(null,e,t,!1,n)};dt.unmountComponentAtNode=function(e){if(!Tl(e))throw Error(A(40));return e._reactRootContainer?(Br(function(){Pl(null,null,e,!1,function(){e._reactRootContainer=null,e[vn]=null})}),!0):!1};dt.unstable_batchedUpdates=ff;dt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Tl(n))throw Error(A(200));if(e==null||e._reactInternals===void 0)throw Error(A(38));return Pl(e,t,n,!1,r)};dt.version="18.3.1-next-f1338f8080-20240426";function a0(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a0)}catch(e){console.error(e)}}a0(),ay.exports=dt;var bo=ay.exports;const l0=Gg(bo);var u0,Ap=bo;u0=Ap.createRoot,Ap.hydrateRoot;const wC=1,bC=1e6;let bu=0;function SC(){return bu=(bu+1)%Number.MAX_SAFE_INTEGER,bu.toString()}const Su=new Map,Dp=e=>{if(Su.has(e))return;const t=setTimeout(()=>{Su.delete(e),Ls({type:"REMOVE_TOAST",toastId:e})},bC);Su.set(e,t)},CC=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,wC)};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?Dp(n):e.toasts.forEach(r=>{Dp(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)}}},xa=[];let wa={toasts:[]};function Ls(e){wa=CC(wa,e),xa.forEach(t=>{t(wa)})}function EC({...e}){const t=SC(),n=i=>Ls({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>Ls({type:"DISMISS_TOAST",toastId:t});return Ls({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function c0(){const[e,t]=x.useState(wa);return x.useEffect(()=>(xa.push(t),()=>{const n=xa.indexOf(t);n>-1&&xa.splice(n,1)}),[e]),{...e,toast:EC,dismiss:n=>Ls({type:"DISMISS_TOAST",toastId:n})}}function Pe(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 Lp(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function d0(...e){return t=>{let n=!1;const r=e.map(i=>{const s=Lp(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():Lp(e[i],null)}}}}function $t(...e){return x.useCallback(d0(...e),e)}function kl(e,t=[]){let n=[];function r(s,o){const a=x.createContext(o),l=n.length;n=[...n,o];const u=f=>{var g;const{scope:h,children:p,...w}=f,y=((g=h==null?void 0:h[e])==null?void 0:g[l])||a,b=x.useMemo(()=>w,Object.values(w));return d.jsx(y.Provider,{value:b,children:p})};u.displayName=s+"Provider";function c(f,h){var y;const p=((y=h==null?void 0:h[e])==null?void 0:y[l])||a,w=x.useContext(p);if(w)return w;if(o!==void 0)return o;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[u,c]}const i=()=>{const s=n.map(o=>x.createContext(o));return function(a){const l=(a==null?void 0:a[e])||s;return x.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,TC(i,...t)]}function TC(...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((a,{useScope:l,scopeName:u})=>{const f=l(s)[`__scope${u}`];return{...a,...f}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function Ya(e){const t=kC(e),n=x.forwardRef((r,i)=>{const{children:s,...o}=r,a=x.Children.toArray(s),l=a.find(jC);if(l){const u=l.props.children,c=a.map(f=>f===l?x.Children.count(u)>1?x.Children.only(null):x.isValidElement(u)?u.props.children:null:f);return d.jsx(t,{...o,ref:i,children:x.isValidElement(u)?x.cloneElement(u,void 0,c):null})}return d.jsx(t,{...o,ref:i,children:s})});return n.displayName=`${e}.Slot`,n}var PC=Ya("Slot");function kC(e){const t=x.forwardRef((n,r)=>{const{children:i,...s}=n;
vendor: 7,435 bytes, line 40
40if(x.isValidElement(i)){const o=MC(i),a=RC(s,i.props);return i.type!==x.Fragment&&(a.ref=r?d0(r,o):o),x.cloneElement(i,a)}return x.Children.count(i)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var f0=Symbol("radix.slottable");function NC(e){const t=({children:n})=>d.jsx(d.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=f0,t}function jC(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===f0}function RC(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]=(...a)=>{const l=s(...a);return i(...a),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...s}:r==="className"&&(n[r]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}function MC(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 AC(e){const t=e+"CollectionProvider",[n,r]=kl(t),[i,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=y=>{const{scope:b,children:g}=y,m=L.useRef(null),v=L.useRef(new Map).current;return d.jsx(i,{scope:b,itemMap:v,collectionRef:m,children:g})};o.displayName=t;const a=e+"CollectionSlot",l=Ya(a),u=L.forwardRef((y,b)=>{const{scope:g,children:m}=y,v=s(a,g),S=$t(b,v.collectionRef);return d.jsx(l,{ref:S,children:m})});u.displayName=a;const c=e+"CollectionItemSlot",f="data-radix-collection-item",h=Ya(c),p=L.forwardRef((y,b)=>{const{scope:g,children:m,...v}=y,S=L.useRef(null),C=$t(b,S),E=s(c,g);return L.useEffect(()=>(E.itemMap.set(S,{ref:S,...v}),()=>void E.itemMap.delete(S))),d.jsx(h,{[f]:"",ref:C,children:m})});p.displayName=c;function w(y){const b=s(e+"CollectionConsumer",y);return L.useCallback(()=>{const m=b.collectionRef.current;if(!m)return[];const v=Array.from(m.querySelectorAll(`[${f}]`));return Array.from(b.itemMap.values()).sort((E,T)=>v.indexOf(E.ref.current)-v.indexOf(T.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:o,Slot:u,ItemSlot:p},w,r]}var DC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Xe=DC.reduce((e,t)=>{const n=Ya(`Primitive.${t}`),r=x.forwardRef((i,s)=>{const{asChild:o,...a}=i,l=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsx(l,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function h0(e,t){e&&bo.flushSync(()=>e.dispatchEvent(t))}function or(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function LC(e,t=globalThis==null?void 0:globalThis.document){const n=or(e);x.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 OC="DismissableLayer",$c="dismissableLayer.update",IC="dismissableLayer.pointerDownOutside",VC="dismissableLayer.focusOutside",Op,p0=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),wf=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:o,onDismiss:a,...l}=e,u=x.useContext(p0),[c,f]=x.useState(null),h=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=x.useState({}),w=$t(t,T=>f(T)),y=Array.from(u.layers),[b]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=y.indexOf(b),m=c?y.indexOf(c):-1,v=u.layersWithOutsidePointerEventsDisabled.size>0,S=m>=g,C=FC(T=>{const P=T.target,R=[...u.branches].some(M=>M.contains(P));!S||R||(i==null||i(T),o==null||o(T),T.defaultPrevented||a==null||a())},h),E=zC(T=>{const P=T.target;[...u.branches].some(M=>M.contains(P))||(s==null||s(T),o==null||o(T),T.defaultPrevented||a==null||a())},h);return LC(T=>{m===u.layers.size-1&&(r==null||r(T),!T.defaultPrevented&&a&&(T.preventDefault(),a()))},h),x.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Op=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Ip(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=Op)}},[c,h,n,u]),x.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Ip())},[c,u]),x.useEffect(()=>{const T=()=>p({});return document.addEventListener($c,T),()=>document.removeEventListener($c,T)},[]),d.jsx(Xe.div,{...l,ref:w,style:{pointerEvents:v?S?"auto":"none":void 0,...e.style},onFocusCapture:Pe(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Pe(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Pe(e.onPointerDownCapture,C.onPointerDownCapture)})});wf.displayName=OC;var _C="DismissableLayerBranch",m0=x.forwardRef((e,t)=>{const n=x.useContext(p0),r=x.useRef(null),i=$t(t,r);return x.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),d.jsx(Xe.div,{...e,ref:i})});m0.displayName=_C;function FC(e,t=globalThis==null?void 0:globalThis.document){const n=or(e),r=x.useRef(!1),i=x.useRef(()=>{});return x.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let l=function(){g0(IC,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=l,t.addEventListener("click",i.current,{once:!0})):l()}else t.removeEventListener("click",i.current);r.current=!1},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 zC(e,t=globalThis==null?void 0:globalThis.document){const n=or(e),r=x.useRef(!1);return x.useEffect(()=>{const i=s=>{s.target&&!r.current&&g0(VC,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 Ip(){const e=new CustomEvent($c);document.dispatchEvent(e)}function g0(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?h0(i,s):i.dispatchEvent(s)}var $C=wf,BC=m0,ar=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},UC="Portal",y0=x.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[i,s]=x.useState(!1);ar(()=>s(!0),[]);const o=n||i&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return o?l0.createPortal(d.jsx(Xe.div,{...r,ref:t}),o):null});y0.displayName=UC;function WC(e,t){return x.useReducer((n,r)=>t[n][r]??n,e)}var bf=e=>{const{present:t,children:n}=e,r=HC(t),i=typeof n=="function"?n({present:r.isPresent}):x.Children.only(n),s=$t(r.ref,KC(i));return typeof n=="function"||r.isPresent?x.cloneElement(i,{ref:s}):null};bf.displayName="Presence";function HC(e){const[t,n]=x.useState(),r=x.useRef(null),i=x.useRef(e),s=x.useRef("none"),o=e?"mounted":"unmounted",[a,l]=WC(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const u=Xo(r.current);s.current=a==="mounted"?u:"none"},[a]),ar(()=>
40{const u=r.current,c=i.current;if(c!==e){const h=s.current,p=Xo(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&h!==p?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),ar(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,f=p=>{const y=Xo(r.current).includes(p.animationName);if(p.target===t&&y&&(l("ANIMATION_END"),!i.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},h=p=>{p.target===t&&(s.current=Xo(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:x.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Xo(e){return(e==null?void 0:e.animationName)||"none"}function KC(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 qC=sy[" useInsertionEffect ".trim().toString()]||ar;function GC({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,s,o]=QC({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:i;{const c=x.useRef(e!==void 0);x.useEffect(()=>{const f=c.current;f!==a&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=a},[a,r])}const u=x.useCallback(c=>{var f;if(a){const h=YC(c)?c(e):c;h!==e&&((f=o.current)==null||f.call(o,h))}else s(c)},[a,e,s,o]);return[l,u]}function QC({defaultProp:e,onChange:t}){const[n,r]=x.useState(e),i=x.useRef(n),s=x.useRef(t);return qC(()=>{s.current=t},[t]),x.useEffect(()=>{var o;i.current!==n&&((o=s.current)==null||o.call(s,n),i.current=n)},[n,i]),[n,r,s]}function YC(e){return typeof e=="function"}var XC=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"}),ZC="VisuallyHidden",Nl=x.forwardRef((e,t)=>d.jsx(Xe.span,{...e,ref:t,style:{...XC,...e.style}}));Nl.displayName=ZC;var JC=Nl,Sf="ToastProvider",[Cf,eE,tE]=AC("Toast"),[v0,I3]=kl("Toast",[tE]),[nE,jl]=v0(Sf),x0=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:s=50,children:o}=e,[a,l]=x.useState(null),[u,c]=x.useState(0),f=x.useRef(!1),h=x.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Sf}\`. Expected non-empty \`string\`.`),d.jsx(Cf.Provider,{scope:t,children:d.jsx(nE,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:s,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:x.useCallback(()=>c(p=>p+1),[]),onToastRemove:x.useCallback(()=>c(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:h,children:o})})};x0.displayName=Sf;var w0="ToastViewport",rE=["F8"],Bc="toast.viewportPause",Uc="toast.viewportResume",b0=x.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=rE,label:i="Notifications ({hotkey})",...s}=e,o=jl(w0,n),a=eE(n),l=x.useRef(null),u=x.useRef(null),c=x.useRef(null),f=x.useRef(null),h=$t(t,f,o.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),w=o.toastCount>0;x.useEffect(()=>{const b=g=>{var v;r.length!==0&&r.every(S=>g[S]||g.code===S)&&((v=f.current)==null||v.focus())};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[r]),x.useEffect(()=>{const b=l.current,g=f.current;if(w&&b&&g){const m=()=>{if(!o.isClosePausedRef.current){const E=new CustomEvent(Bc);g.dispatchEvent(E),o.isClosePausedRef.current=!0}},v=()=>{if(o.isClosePausedRef.current){const E=new CustomEvent(Uc);g.dispatchEvent(E),o.isClosePausedRef.current=!1}},S=E=>{!b.contains(E.relatedTarget)&&v()},C=()=>{b.contains(document.activeElement)||v()};return b.addEventListener("focusin",m),b.addEventListener("focusout",S),b.addEventListener("pointermove",m),b.addEventListener("pointerleave",C),window.addEventListener("blur",m),window.addEventListener("focus",v),()=>{b.removeEventListener("focusin",m),b.removeEventListener("focusout",S),b.removeEventListener("pointermove",m),b.removeEventListener("pointerleave",C),window.removeEventListener("blur",m),window.removeEventListener("focus",v)}}},[w,o.isClosePausedRef]);const y=x.useCallback(({tabbingDirection:b})=>{const m=a().map(v=>{const S=v.ref.current,C=[S,...gE(S)];return b==="forwards"?C:C.reverse()});return(b==="forwards"?m.reverse():m).flat()},[a]);return x.useEffect(()=>{const b=f.current;if(b){const g=m=>{var C,E,T;const v=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!v){const P=document.activeElement,R=m.shiftKey;if(m.target===b&&R){(C=u.current)==null||C.focus();return}const V=y({tabbingDirection:R?"backwards":"forwards"}),q=V.findIndex(O=>O===P);Cu(V.slice(q+1))?m.preventDefault():R?(E=u.current)==null||E.focus():(T=c.current)==null||T.focus()}};return b.addEventListener("keydown",g),()=>b.removeEventListener("keydown",g)}},[a,y]),d.jsxs(BC,{ref:l,role:"region","aria-label":i.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:w?void 0:"none"},children:[w&&d.jsx(Wc,{ref:u,onFocusFromOutsideViewport:()=>{const b=y({tabbingDirection:"forwards"});Cu(b)}}),d.jsx(Cf.Slot,{scope:n,children:d.jsx(Xe.ol,{tabIndex:-1,...s,ref:h})}),w&&d.jsx(Wc,{ref:c,onFocusFromOutsideViewport:()=>{const b=y({tabbingDirection:"backwards"});Cu(b)}})]})});b0.displayName=w0;var S0="ToastFocusProxy",Wc=x.forwardRef((e,t)=>
40{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,s=jl(S0,n);return d.jsx(Nl,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:o=>{var u;const a=o.relatedTarget;!((u=s.viewport)!=null&&u.contains(a))&&r()}})});Wc.displayName=S0;var So="Toast",iE="toast.swipeStart",sE="toast.swipeMove",oE="toast.swipeCancel",aE="toast.swipeEnd",C0=x.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:s,...o}=e,[a,l]=GC({prop:r,defaultProp:i??!0,onChange:s,caller:So});return d.jsx(bf,{present:n||a,children:d.jsx(cE,{open:a,...o,ref:t,onClose:()=>l(!1),onPause:or(e.onPause),onResume:or(e.onResume),onSwipeStart:Pe(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Pe(e.onSwipeMove,u=>{const{x:c,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:Pe(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:Pe(e.onSwipeEnd,u=>{const{x:c,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",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),l(!1)})})})});C0.displayName=So;var[lE,uE]=v0(So,{onClose(){}}),cE=x.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:i,open:s,onClose:o,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:f,onSwipeCancel:h,onSwipeEnd:p,...w}=e,y=jl(So,n),[b,g]=x.useState(null),m=$t(t,O=>g(O)),v=x.useRef(null),S=x.useRef(null),C=i||y.duration,E=x.useRef(0),T=x.useRef(C),P=x.useRef(0),{onToastAdd:R,onToastRemove:M}=y,$=or(()=>{var Q;(b==null?void 0:b.contains(document.activeElement))&&((Q=y.viewport)==null||Q.focus()),o()}),V=x.useCallback(O=>{!O||O===1/0||(window.clearTimeout(P.current),E.current=new Date().getTime(),P.current=window.setTimeout($,O))},[$]);x.useEffect(()=>{const O=y.viewport;if(O){const Q=()=>{V(T.current),u==null||u()},U=()=>{const z=new Date().getTime()-E.current;T.current=T.current-z,window.clearTimeout(P.current),l==null||l()};return O.addEventListener(Bc,U),O.addEventListener(Uc,Q),()=>{O.removeEventListener(Bc,U),O.removeEventListener(Uc,Q)}}},[y.viewport,C,l,u,V]),x.useEffect(()=>{s&&!y.isClosePausedRef.current&&V(C)},[s,C,y.isClosePausedRef,V]),x.useEffect(()=>(R(),()=>M()),[R,M]);const q=x.useMemo(()=>b?R0(b):null,[b]);return y.viewport?d.jsxs(d.Fragment,{children:[q&&d.jsx(dE,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:q}),d.jsx(lE,{scope:n,onClose:$,children:bo.createPortal(d.jsx(Cf.ItemSlot,{scope:n,children:d.jsx($C,{asChild:!0,onEscapeKeyDown:Pe(a,()=>{y.isFocusedToastEscapeKeyDownRef.current||$(),y.isFocusedToastEscapeKeyDownRef.current=!1}),children:d.jsx(Xe.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":y.swipeDirection,...w,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Pe(e.onKeyDown,O=>{O.key==="Escape"&&(a==null||a(O.nativeEvent),O.nativeEvent.defaultPrevented||(y.isFocusedToastEscapeKeyDownRef.current=!0,$()))}),onPointerDown:Pe(e.onPointerDown,O=>{O.button===0&&(v.current={x:O.clientX,y:O.clientY})}),onPointerMove:Pe(e.onPointerMove,O=>{if(!v.current)return;const Q=O.clientX-v.current.x,U=O.clientY-v.current.y,z=!!S.current,k=["left","right"].includes(y.swipeDirection),j=["left","up"].includes(y.swipeDirection)?Math.min:Math.max,I=k?j(0,Q):0,W=k?0:j(0,U),B=O.pointerType==="touch"?10:2,Y={x:I,y:W},Z={originalEvent:O,delta:Y};z?(S.current=Y,Zo(sE,f,Z,{discrete:!1})):Vp(Y,y.swipeDirection,B)?(S.current=Y,Zo(iE,c,Z,{discrete:!1}),O.target.setPointerCapture(O.pointerId)):(Math.abs(Q)>B||Math.abs(U)>B)&&(v.current=null)}),onPointerUp:Pe(e.onPointerUp,O=>{const Q=S.current,U=O.target;if(U.hasPointerCapture(O.pointerId)&&U.releasePointerCapture(O.pointerId),S.current=null,v.current=null,Q){const z=O.currentTarget,k={originalEvent:O,delta:Q};Vp(Q,y.swipeDirection,y.swipeThreshold)?Zo(aE,p,k,{discrete:!0}):Zo(oE,h,k,{discrete:!0}),z.addEventListener("click",j=>j.preventDefault(),{once:!0})}})})})}),y.viewport)})]}):null}),dE=e=>{const{__scopeToast:t,children:n,...r}=e,i=jl(So,t),[s,o]=x.useState(!1),[a,l]=x.useState(!1);return pE(()=>o(!0)),x.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:d.jsx(y0,{asChild:!0,children:d.jsx(Nl,{...r,children:s&&d.jsxs(d.Fragment,{children:[i.label," ",n]})})})},fE="ToastTitle",E0=x.forwardRef((e,t)=>
vendor: 5,652 bytes, lines 40-70
40{const{__scopeToast:n,...r}=e;return d.jsx(Xe.div,{...r,ref:t})});E0.displayName=fE;var hE="ToastDescription",T0=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return d.jsx(Xe.div,{...r,ref:t})});T0.displayName=hE;var P0="ToastAction",k0=x.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?d.jsx(j0,{altText:n,asChild:!0,children:d.jsx(Ef,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${P0}\`. Expected non-empty \`string\`.`),null)});k0.displayName=P0;var N0="ToastClose",Ef=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=uE(N0,n);return d.jsx(j0,{asChild:!0,children:d.jsx(Xe.button,{type:"button",...r,ref:t,onClick:Pe(e.onClick,i.onClose)})})});Ef.displayName=N0;var j0=x.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return d.jsx(Xe.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function R0(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),mE(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(...R0(r))}}),t}function Zo(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?h0(i,s):i.dispatchEvent(s)}var Vp=(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 pE(e=()=>{}){const t=or(e);ar(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function mE(e){return e.nodeType===e.ELEMENT_NODE}function gE(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 Cu(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var yE=x0,M0=b0,A0=C0,D0=E0,L0=T0,O0=k0,I0=Ef;function V0(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=V0(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function _0(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=V0(e))&&(r&&(r+=" "),r+=t);return r}const _p=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Fp=_0,Tf=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Fp(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 c=n==null?void 0:n[u],f=s==null?void 0:s[u];if(c===null)return null;const h=_p(c)||_p(f);return i[u][h]}),a=n&&Object.entries(n).reduce((u,c)=>{let[f,h]=c;return h===void 0||(u[f]=h),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:f,className:h,...p}=c;return Object.entries(p).every(w=>{let[y,b]=w;return Array.isArray(b)?b.includes({...s,...a}[y]):{...s,...a}[y]===b})?[...u,f,h]:u},[]);return Fp(e,o,l,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 vE=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),F0=(...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 xE={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 wE=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:s,iconNode:o,...a},l)=>x.createElement("svg",{ref:l,...xE,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:F0("lucide",i),...a},[...o.map(([u,c])=>x.createElement(u,c)),...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 de=(e,t)=>{const n=x.forwardRef(({className:r,...i},s)=>x.createElement(wE,{ref:s,iconNode:t,className:F0(`lucide-${vE(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 Co=de("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 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 bE=de("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"}
70],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/** 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 SE=de("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** 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 CE=de("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** 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 EE=de("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** 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 TE=de("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** 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 z0=de("Container",[["path",{d:"M22 7.7c0-.6-.4-1.2-.8-1.5l-6.3-3.9a1.72 1.72 0 0 0-1.7 0l-10.3 6c-.5.2-.9.8-.9 1.4v6.6c0 .5.4 1.2.8 1.5l6.3 3.9a1.72 1.72 0 0 0 1.7 0l10.3-6c.5-.3.9-1 .9-1.5Z",key:"1t2lqe"}],["path",{d:"M10 21.9V14L2.1 9.1",key:"o7czzq"}],["path",{d:"m10 14 11.9-6.9",key:"zm5e20"}],["path",{d:"M14 19.8v-8.1",key:"159ecu"}],["path",{d:"M18 17.5V9.4",key:"11uown"}]]);/** 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 PE=de("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"}]]);/** 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 $0=de("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"}]]);/** 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 kE=de("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/** 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 NE=de("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/** 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 B0=de("Leaf",[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]]);/** 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 Rl=de("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/** 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 U0=de("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"}]]);/** 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 jE=de("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"}]]);/** 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 W0=de("Recycle",[["path",{d:"M7 19H4.815a1.83 1.83 0 0 1-1.57-.881 1.785 1.785 0 0 1-.004-1.784L7.196 9.5",key:"x6z5xu"}],["path",{d:"M11 19h8.203a1.83 1.83 0 0 0 1.556-.89 1.784 1.784 0 0 0 0-1.775l-1.226-2.12",key:"1x4zh5"}],["path",{d:"m14 16-3 3 3 3",key:"f6jyew"}],["path",{d:"M8.293 13.596 7.196 9.5 3.1 10.598",key:"wf1obh"}],["path",{d:"m9.344 5.811 1.093-1.892A1.83 1.83 0 0 1 11.985 3a1.784 1.784 0 0 1 1.546.888l3.943 6.843",key:"9tzpgr"}],["path",{d:"m13.378 9.633 4.096 1.098 1.097-4.096",key:"1oe83g"}]]);/** 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 RE=de("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/** 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 H0=de("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** 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 ME=de("Sprout",[["path",{d:"M7 20h10",key:"e6iznv"}],["path",{d:"M10 20c5.5-2.5.8-6.4 3-10",key:"161w41"}],["path",{d:"M9.5 9.4c1.1.8 1.8 2.2 2.3 3.7-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2 2.8-.5 4.4 0 5.5.8z",key:"9gtqwd"}],["path",{d:"M14.1 6a7 7 0 0 0-1.1 4c1.9-.1 3.3-.6 4.3-1.4 1-1 1.6-2.3 1.7-4.6-2.7.1-4 1-4.9 2z",key:"bkxnd2"}]]);/** 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 K0=de("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"}]]);/** 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 AE=de("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"}]]);/** 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 DE=de("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"}]]);/** 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 q0=de("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 6,283 bytes, lines 175-180
175],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** 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 zp=de("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"}]]),Pf="-",LE=e=>{const t=IE(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const a=o.split(Pf);return a[0]===""&&a.length!==1&&a.shift(),G0(a,t)||OE(o)},getConflictingClassGroupIds:(o,a)=>{const l=n[o]||[];return a&&r[o]?[...l,...r[o]]:l}}},G0=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?G0(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const s=e.join(Pf);return(o=t.validators.find(({validator:a})=>a(s)))==null?void 0:o.classGroupId},$p=/^\[(.+)\]$/,OE=e=>{if($p.test(e)){const t=$p.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},IE=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return _E(Object.entries(e.classGroups),n).forEach(([s,o])=>{Hc(o,r,s,t)}),r},Hc=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const s=i===""?t:Bp(t,i);s.classGroupId=n;return}if(typeof i=="function"){if(VE(i)){Hc(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([s,o])=>{Hc(o,Bp(t,s),n,r)})})},Bp=(e,t)=>{let n=e;return t.split(Pf).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},VE=e=>e.isThemeGetter,_E=(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,a])=>[t+o,a])):s);return[n,i]}):e,FE=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)}}},Q0="!",zE=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],s=t.length,o=a=>{const l=[];let u=0,c=0,f;for(let b=0;b<a.length;b++){let g=a[b];if(u===0){if(g===i&&(r||a.slice(b,b+s)===t)){l.push(a.slice(c,b)),c=b+s;continue}if(g==="/"){f=b;continue}}g==="["?u++:g==="]"&&u--}const h=l.length===0?a:a.substring(c),p=h.startsWith(Q0),w=p?h.substring(1):h,y=f&&f>c?f-c:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:w,maybePostfixModifierPosition:y}};return n?a=>n({className:a,parseClassName:o}):o},$E=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},BE=e=>({cache:FE(e.cacheSize),parseClassName:zE(e),...LE(e)}),UE=/\s+/,WE=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,s=[],o=e.trim().split(UE);let a="";for(let l=o.length-1;l>=0;l-=1){const u=o[l],{modifiers:c,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:p}=n(u);let w=!!p,y=r(w?h.substring(0,p):h);if(!y){if(!w){a=u+(a.length>0?" "+a:a);continue}if(y=r(h),!y){a=u+(a.length>0?" "+a:a);continue}w=!1}const b=$E(c).join(":"),g=f?b+Q0:b,m=g+y;if(s.includes(m))continue;s.push(m);const v=i(y,w);for(let S=0;S<v.length;++S){const C=v[S];s.push(g+C)}a=u+(a.length>0?" "+a:a)}return a};function HE(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Y0(t))&&(r&&(r+=" "),r+=n);return r}const Y0=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Y0(e[r]))&&(n&&(n+=" "),n+=t);return n};function KE(e,...t){let n,r,i,s=o;function o(l){const u=t.reduce((c,f)=>f(c),e());return n=BE(u),r=n.cache.get,i=n.cache.set,s=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=WE(l,n);return i(l,c),c}return function(){return s(HE.apply(null,arguments))}}const se=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},X0=/^\[(?:([a-z-]+):)?(.+)\]$/i,qE=/^\d+\/\d+$/,GE=new Set(["px","full","screen"]),QE=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,YE=/\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$/,XE=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ZE=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,JE=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,un=e=>Pi(e)||GE.has(e)||qE.test(e),An=e=>Xi(e,"length",aT),Pi=e=>!!e&&!Number.isNaN(Number(e)),Eu=e=>Xi(e,"number",Pi),ps=e=>!!e&&Number.isInteger(Number(e)),eT=e=>e.endsWith("%")&&Pi(e.slice(0,-1)),G=e=>X0.test(e),Dn=e=>QE.test(e),tT=new Set(["length","size","percentage"]),nT=e=>Xi(e,tT,Z0),rT=e=>Xi(e,"position",Z0),iT=new Set(["image","url"]),sT=e=>Xi(e,iT,uT),oT=e=>Xi(e,"",lT),ms=()=>!0,Xi=(e,t,n)=>{const r=X0.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},aT=e=>YE.test(e)&&!XE.test(e),Z0=()=>!1,lT=e=>ZE.test(e),uT=e=>JE.test(e),cT=()=>{const e=se("colors"),t=se("spacing"),n=se("blur"),r=se("brightness"),i=se("borderColor"),s=se("borderRadius"),o=se("borderSpacing"),a=se("borderWidth"),l=se("contrast"),u=se("grayscale"),c=se("hueRotate"),f=se("invert"),h=se("gap"),p=se("gradientColorStops"),w=se("gradientColorStopPositions"),y=se("inset"),b=se("margin"),g=se("opacity"),m=se("padding"),v=se("saturate"),S=se("scale"),C=se("sepia"),E=se("skew"),T=se("space"),P=se("translate"),R=()=>["auto","contain","none"],M=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto",G,t],V=()=>[G,t],q=()=>["",un,An],O=()=>["auto",Pi,G],Q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],k=()=>["start","end","center","between","around","evenly","stretch"],j=()=>["","0",G],I=()=>["auto","avoid","all","avoid-page","page","left","right","column"],W=()=>[Pi,G];return{cacheSize:500,separator:":",theme:{colors:[ms],spacing:[un,An],blur:["none","",Dn,G],brightness:W(),borderColor:[e],borderRadius:["n
180one","","full",Dn,G],borderSpacing:V(),borderWidth:q(),contrast:W(),grayscale:j(),hueRotate:W(),invert:j(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[eT,An],inset:$(),margin:$(),opacity:W(),padding:V(),saturate:W(),scale:W(),sepia:j(),skew:W(),space:V(),translate:V()},classGroups:{aspect:[{aspect:["auto","square","video",G]}],container:["container"],columns:[{columns:[Dn]}],"break-after":[{"break-after":I()}],"break-before":[{"break-before":I()}],"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:[...Q(),G]}],overflow:[{overflow:M()}],"overflow-x":[{"overflow-x":M()}],"overflow-y":[{"overflow-y":M()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],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,G]}],basis:[{basis:$()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",G]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",ps,G]}],"grid-cols":[{"grid-cols":[ms]}],"col-start-end":[{col:["auto",{span:["full",ps,G]},G]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[ms]}],"row-start-end":[{row:["auto",{span:[ps,G]},G]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",G]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",G]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...k()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...k(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...k(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[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",G,t]}],"min-w":[{"min-w":[G,t,"min","max","fit"]}],"max-w":[{"max-w":[G,t,"none","full","min","max","fit","prose",{screen:[Dn]},Dn]}],h:[{h:[G,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[G,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[G,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[G,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Dn,An]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Eu]}],"font-family":[{font:[ms]}],"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",G]}],"line-clamp":[{"line-clamp":["none",Pi,Eu]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",un,G]}],"list-image":[{"list-image":["none",G]}],"list-style-type":[{list:["none","disc","decimal",G]}],"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:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",un,An]}],"underline-offset":[{"underline-offset":["auto",un,G]}],"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:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",G]}],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",G]}],"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:[...Q(),rT]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",nT]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},sT]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}
vendor: 5,172 bytes, line 180
180],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],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:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...U(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:U()}],"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:["",...U()]}],"outline-offset":[{"outline-offset":[un,G]}],"outline-w":[{outline:[un,An]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[un,An]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Dn,oT]}],"shadow-color":[{shadow:[ms]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...z(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":z()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Dn,G]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[f]}],saturate:[{saturate:[v]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"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",G]}],duration:[{duration:W()}],ease:[{ease:["linear","in","out","in-out",G]}],delay:[{delay:W()}],animate:[{animate:["none","spin","ping","pulse","bounce",G]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[ps,G]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",G]}],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",G]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 4,646 bytes, line 180
180],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",G]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[un,An,Eu]}],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"]}}},dT=KE(cT);function Ht(...e){return dT(_0(e))}const fT=yE,J0=x.forwardRef(({className:e,...t},n)=>d.jsx(M0,{ref:n,className:Ht("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}));J0.displayName=M0.displayName;const hT=Tf("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"}}),ex=x.forwardRef(({className:e,variant:t,...n},r)=>d.jsx(A0,{ref:r,className:Ht(hT({variant:t}),e),...n}));ex.displayName=A0.displayName;const pT=x.forwardRef(({className:e,...t},n)=>d.jsx(O0,{ref:n,className:Ht("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}));pT.displayName=O0.displayName;const tx=x.forwardRef(({className:e,...t},n)=>d.jsx(I0,{ref:n,className:Ht("absolute right-2 top-2 rounded-md p-1 text-foreground
180/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:d.jsx(q0,{className:"h-4 w-4"})}));tx.displayName=I0.displayName;const nx=x.forwardRef(({className:e,...t},n)=>d.jsx(D0,{ref:n,className:Ht("text-sm font-semibold",e),...t}));nx.displayName=D0.displayName;const rx=x.forwardRef(({className:e,...t},n)=>d.jsx(L0,{ref:n,className:Ht("text-sm opacity-90",e),...t}));rx.displayName=L0.displayName;function mT(){const{toasts:e}=c0();return d.jsxs(fT,{children:[e.map(function({id:t,title:n,description:r,action:i,...s}){return d.jsxs(ex,{...s,children:[d.jsxs("div",{className:"grid gap-1",children:[n&&d.jsx(nx,{children:n}),r&&d.jsx(rx,{children:r})]}),i,d.jsx(tx,{})]},t)}),d.jsx(J0,{})]})}var Up=["light","dark"],gT="(prefers-color-scheme: dark)",yT=x.createContext(void 0),vT={setTheme:e=>{},themes:[]},xT=()=>{var e;return(e=x.useContext(yT))!=null?e:vT};x.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:s,value:o,attrs:a,nonce:l})=>{let u=s==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(w=>`'${w}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=i?Up.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(w,y=!1,b=!0)=>{let g=o?o[w]:w,m=y?w+"|| ''":`'${g}'`,v="";return i&&b&&!y&&Up.includes(w)&&(v+=`d.style.colorScheme = '${w}';`),n==="class"?y||g?v+=`c.add(${m})`:v+="null":g&&(v+=`d[s](n,${m})`),v},p=e?`!function(){${c}${h(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${gT}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${h(o?"x[e]":"e",!0)}}${u?"":"else{"+h(s,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${h(o?"x[e]":"e",!0)}}else{${h(s,!1,!1)};}${f}}catch(t){}}();`;return x.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:p}})});var wT=e=>{switch(e){case"success":return CT;case"info":return TT;case"warning":return ET;case"error":return PT;default:return null}},bT=Array(12).fill(0),ST=({visible:e,className:t})=>L.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},L.createElement("div",{className:"sonner-spinner"},bT.map((n,r)=>L.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),CT=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.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"})),ET=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},L.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"})),TT=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.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"})),PT=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.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"})),kT=L.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"},L.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),L.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),NT=()=>{let[e,t]=L.useState(document.hidden);return L.useEffect(()=>{let n=()=>{t(document.hidden)};
180return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Kc=1,jT=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:Kc++,s=this.toasts.find(a=>a.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(a=>a.id===i?(this.publish({...a,...e,id:i,title:n}),{...a,...e,id:i,dismissible:o,title:n}):a):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)=>
180this.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 l=>{if(s=["resolve",l],L.isValidElement(l))i=!1,this.create({id:n,type:"default",message:l});else if(MT(l)&&!l.ok){i=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,c=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:u,description:c})}else if(t.success!==void 0){i=!1;let u=typeof t.success=="function"?await t.success(l):t.success,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:u,description:c})}}).catch(async l=>{if(s=["reject",l],t.error!==void 0){i=!1;let u=typeof t.error=="function"?await t.error(l):t.error,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:u,description:c})}}).finally(()=>{var l;i&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,u)=>o.then(()=>s[0]==="reject"?u(s[1]):l(s[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Kc++;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}},Ze=new jT,RT=(e,t)=>{let n=(t==null?void 0:t.id)||Kc++;return Ze.addToast({title:e,...t,id:n}),n},MT=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",AT=RT,DT=()=>Ze.toasts,LT=()=>Ze.getActiveToasts();Object.assign(AT,{success:Ze.success,info:Ze.info,warning:Ze.warning,error:Ze.error,custom:Ze.custom,message:Ze.message,promise:Ze.promise,dismiss:Ze.dismiss,loading:Ze.loading},{getHistory:DT,getToasts:LT});function OT(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))}OT(`: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;
180left: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}
180: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%);
180--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%)} 181`);function Jo(e){return e.label!==void 0}var IT=3,VT="32px",_T="16px",Wp=4e3,FT=356,zT=14,$T=20,BT=200;function jt(...e){return e.filter(Boolean).join(" ")}function UT(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var WT=e=>{var t,n,r,i,s,o,a,l,u,c,f;let{invert:h,toast:p,unstyled:w,interacting:y,setHeights:b,visibleToasts:g,heights:m,index:v,toasts:S,expanded:C,removeToast:E,defaultRichColors:T,closeButton:P,style:R,cancelButtonStyle:M,actionButtonStyle:$,className:V="",descriptionClassName:q="",duration:O,position:Q,gap:U,loadingIcon:z,expandByDefault:k,classNames:j,icons:I,closeButtonAriaLabel:W="Close toast",pauseWhenPageIsHidden:B}=e,[Y,Z]=L.useState(null),[we,Le]=L.useState(null),[te,Qr]=L.useState(!1),[Tn,yr]=L.useState(!1),[Pn,Yr]=L.useState(!1),[kn,Ro]=L.useState(!1),[Wl,Mo]=L.useState(!1),[Hl,is]=L.useState(0),[Xr,yh]=L.useState(0),ss=L.useRef(p.duration||O||Wp),vh=L.useRef(null),vr=L.useRef(null),Fw=v===0,zw=v+1<=g,ht=p.type,Zr=p.dismissible!==!1,$w=p.className||"",Bw=p.descriptionClassName||"",Ao=L.useMemo(()=>m.findIndex(H=>H.toastId===p.id)||0,[m,p.id]),Uw=L.useMemo(()=>{var H;return(H=p.closeButton)!=null?H:P},[p.closeButton,P]),xh=L.useMemo(()=>p.duration||O||Wp,[p.duration,O]),Kl=L.useRef(0),Jr=L.useRef(0),wh=L.useRef(0),ei=L.useRef(null),[Ww,Hw]=Q.split("-"),bh=L.useMemo(()=>m.reduce((H,re,ue)=>ue>=Ao?H:H+re.height,0),[m,Ao]),Sh=NT(),Kw=p.invert||h,ql=ht==="loading";Jr.current=L.useMemo(()=>Ao*U+bh,[Ao,bh]),L.useEffect(()=>{ss.current=xh},[xh]),L.useEffect(()=>{Qr(!0)},[]),L.useEffect(()=>{let H=vr.current;if(H){let re=H.getBoundingClientRect().height;return yh(re),b(ue=>[{toastId:p.id,height:re,position:p.position},...ue]),()=>b(ue=>ue.filter(Tt=>Tt.toastId!==p.id))}},[b,p.id]),L.useLayoutEffect(()=>{if(!te)return;let H=vr.current,re=H.style.height;H.style.height="auto";let ue=H.getBoundingClientRect().height;H.style.height=re,yh(ue),b(Tt=>Tt.find(Pt=>Pt.toastId===p.id)?Tt.map(Pt=>Pt.toastId===p.id?{...Pt,height:ue}:Pt):[{toastId:p.id,height:ue,position:p.position},...Tt])},[te,p.title,p.description,b,p.id]);let Nn=L.useCallback(()=>{yr(!0),is(Jr.current),b(H=>H.filter(re=>re.toastId!==p.id)),setTimeout(()=>{E(p)},BT)},[p,E,b,Jr]);L.useEffect(()=>{if(p.promise&&ht==="loading"||p.duration===1/0||p.type==="loading")return;let H;return C||y||B&&Sh?(()=>{if(wh.current<Kl.current){let re=new Date().getTime()-Kl.current;ss.current=ss.current-re}
181wh.current=new Date().getTime()})():ss.current!==1/0&&(Kl.current=new Date().getTime(),H=setTimeout(()=>{var re;(re=p.onAutoClose)==null||re.call(p,p),Nn()},ss.current)),()=>clearTimeout(H)},[C,y,p,ht,B,Sh,Nn]),L.useEffect(()=>{p.delete&&Nn()},[Nn,p.delete]);function qw(){var H,re,ue;return I!=null&&I.loading?L.createElement("div",{className:jt(j==null?void 0:j.loader,(H=p==null?void 0:p.classNames)==null?void 0:H.loader,"sonner-loader"),"data-visible":ht==="loading"},I.loading):z?L.createElement("div",{className:jt(j==null?void 0:j.loader,(re=p==null?void 0:p.classNames)==null?void 0:re.loader,"sonner-loader"),"data-visible":ht==="loading"},z):L.createElement(ST,{className:jt(j==null?void 0:j.loader,(ue=p==null?void 0:p.classNames)==null?void 0:ue.loader),visible:ht==="loading"})}return L.createElement("li",{tabIndex:0,ref:vr,className:jt(V,$w,j==null?void 0:j.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,j==null?void 0:j.default,j==null?void 0:j[ht],(n=p==null?void 0:p.classNames)==null?void 0:n[ht]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:T,"data-styled":!(p.jsx||p.unstyled||w),"data-mounted":te,"data-promise":!!p.promise,"data-swiped":Wl,"data-removed":Tn,"data-visible":zw,"data-y-position":Ww,"data-x-position":Hw,"data-index":v,"data-front":Fw,"data-swiping":Pn,"data-dismissible":Zr,"data-type":ht,"data-invert":Kw,"data-swipe-out":kn,"data-swipe-direction":we,"data-expanded":!!(C||k&&te),style:{"--index":v,"--toasts-before":v,"--z-index":S.length-v,"--offset":`${Tn?Hl:Jr.current}px`,"--initial-height":k?"auto":`${Xr}px`,...R,...p.style},onDragEnd:()=>{Yr(!1),Z(null),ei.current=null},onPointerDown:H=>{ql||!Zr||(vh.current=new Date,is(Jr.current),H.target.setPointerCapture(H.pointerId),H.target.tagName!=="BUTTON"&&(Yr(!0),ei.current={x:H.clientX,y:H.clientY}))},onPointerUp:()=>{var H,re,ue,Tt;if(kn||!Zr)return;ei.current=null;let Pt=Number(((H=vr.current)==null?void 0:H.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),jn=Number(((re=vr.current)==null?void 0:re.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),xr=new Date().getTime()-((ue=vh.current)==null?void 0:ue.getTime()),kt=Y==="x"?Pt:jn,Rn=Math.abs(kt)/xr;if(Math.abs(kt)>=$T||Rn>.11){is(Jr.current),(Tt=p.onDismiss)==null||Tt.call(p,p),Le(Y==="x"?Pt>0?"right":"left":jn>0?"down":"up"),Nn(),Ro(!0),Mo(!1);return}Yr(!1),Z(null)},onPointerMove:H=>{var re,ue,Tt,Pt;if(!ei.current||!Zr||((re=window.getSelection())==null?void 0:re.toString().length)>0)return;let jn=H.clientY-ei.current.y,xr=H.clientX-ei.current.x,kt=(ue=e.swipeDirections)!=null?ue:UT(Q);!Y&&(Math.abs(xr)>1||Math.abs(jn)>1)&&Z(Math.abs(xr)>Math.abs(jn)?"x":"y");let Rn={x:0,y:0};Y==="y"?(kt.includes("top")||kt.includes("bottom"))&&(kt.includes("top")&&jn<0||kt.includes("bottom")&&jn>0)&&(Rn.y=jn):Y==="x"&&(kt.includes("left")||kt.includes("right"))&&(kt.includes("left")&&xr<0||kt.includes("right")&&xr>0)&&(Rn.x=xr),(Math.abs(Rn.x)>0||Math.abs(Rn.y)>0)&&Mo(!0),(Tt=vr.current)==null||Tt.style.setProperty("--swipe-amount-x",`${Rn.x}px`),(Pt=vr.current)==null||Pt.style.setProperty("--swipe-amount-y",`${Rn.y}px`)}},Uw&&!p.jsx?L.createElement("button",{"aria-label":W,"data-disabled":ql,"data-close-button":!0,onClick:ql||!Zr?()=>{}:()=>{var H;Nn(),(H=p.onDismiss)==null||H.call(p,p)},className:jt(j==null?void 0:j.closeButton,(i=p==null?void 0:p.classNames)==null?void 0:i.closeButton)},(s=I==null?void 0:I.close)!=null?s:kT):null,p.jsx||x.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:L.createElement(L.Fragment,null,ht||p.icon||p.promise?L.createElement("div",{"data-icon":"",className:jt(j==null?void 0:j.icon,(o=p==null?void 0:p.classNames)==null?void 0:o.icon)},p.promise||p.type==="loading"&&!p.icon?p.icon||qw():null,p.type!=="loading"?p.icon||(I==null?void 0:I[ht])||wT(ht):null):null,L.createElement("div",{"data-content":"",className:jt(j==null?void 0:j.content,(a=p==null?void 0:p.classNames)==null?void 0:a.content)},L.createElement("div",{"data-title":"",className:jt(j==null?void 0:j.title,(l=p==null?void 0:p.classNames)==null?void 0:l.title)},typeof p.title=="function"?p.title():p.title),p.description?L.createElement("div",{"data-description":"",className:jt(q,Bw,j==null?void 0:j.description,(u=p==null?void 0:p.classNames)==null?void 0:u.description)},typeof p.description=="function"?p.description():p.description):null),x.isValidElement(p.cancel)?p.cancel:p.cancel&&Jo(p.cancel)?L.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||M,onClick:H=>{var re,ue;Jo(p.cancel)&&Zr&&((ue=(re=p.cancel).onClick)==null||ue.call(re,H),Nn())},className:jt(j==null?void 0:j.cancelButton,(c=p==null?void 0:p.classNames)==null?void 0:c.cancelButton)},p.cancel.label):null,x.isValidElement(p.action)?p.action:p.action&&Jo(p.action)?L.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||$,onClick:H=>{var re,ue;Jo(p.action)&&((ue=(re=p.action).onClick)==null||ue.call(re,H),!H.defaultPrevented&&Nn())},className:jt(j==null?void 0:j.actionButton,(f=p==null?void 0:p.classNames)==null?void 0:f.actionButton)},p.action.label):null))};function Hp(){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 HT(e,t){let n={};return[e,t].forEach((r,i)=>{let s=i===1,o=s?"--mobile-offset":"--offset",a=s?_T:VT;function l(u){["top","right","bottom","left"].forEach(c=>{n[`${o}-${c}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${o}-${u}`]=a:n[`${o}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):l(a)}),n}var KT=x.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:i=["altKey","KeyT"],expand:s,closeButton:o,className:a,offset:l,mobileOffset:u,theme:c="light",richColors:f,duration:h,style:p,visibleToasts:w=IT,toastOptions:y,dir:b=Hp(),gap:g=zT,loadingIcon:m,icons:v,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:C}=e,[E,T]=L.useState([]),P=L.useMemo(()=>
vendor: 4,231 bytes, line 181
181Array.from(new Set([r].concat(E.filter(B=>B.position).map(B=>B.position)))),[E,r]),[R,M]=L.useState([]),[$,V]=L.useState(!1),[q,O]=L.useState(!1),[Q,U]=L.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),z=L.useRef(null),k=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),j=L.useRef(null),I=L.useRef(!1),W=L.useCallback(B=>{T(Y=>{var Z;return(Z=Y.find(we=>we.id===B.id))!=null&&Z.delete||Ze.dismiss(B.id),Y.filter(({id:we})=>we!==B.id)})},[]);return L.useEffect(()=>Ze.subscribe(B=>{if(B.dismiss){T(Y=>Y.map(Z=>Z.id===B.id?{...Z,delete:!0}:Z));return}setTimeout(()=>{l0.flushSync(()=>{T(Y=>{let Z=Y.findIndex(we=>we.id===B.id);return Z!==-1?[...Y.slice(0,Z),{...Y[Z],...B},...Y.slice(Z+1)]:[B,...Y]})})})}),[]),L.useEffect(()=>{if(c!=="system"){U(c);return}if(c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?U("dark"):U("light")),typeof window>"u")return;let B=window.matchMedia("(prefers-color-scheme: dark)");try{B.addEventListener("change",({matches:Y})=>{U(Y?"dark":"light")})}catch{B.addListener(({matches:Z})=>{try{U(Z?"dark":"light")}catch(we){console.error(we)}})}},[c]),L.useEffect(()=>{E.length<=1&&V(!1)},[E]),L.useEffect(()=>{let B=Y=>{var Z,we;i.every(Le=>Y[Le]||Y.code===Le)&&(V(!0),(Z=z.current)==null||Z.focus()),Y.code==="Escape"&&(document.activeElement===z.current||(we=z.current)!=null&&we.contains(document.activeElement))&&V(!1)};return document.addEventListener("keydown",B),()=>document.removeEventListener("keydown",B)},[i]),L.useEffect(()=>{if(z.current)return()=>{j.current&&(j.current.focus({preventScroll:!0}),j.current=null,I.current=!1)}},[z.current]),L.createElement("section",{ref:t,"aria-label":`${S} ${k}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},P.map((B,Y)=>{var Z;let[we,Le]=B.split("-");return E.length?L.createElement("ol",{key:B,dir:b==="auto"?Hp():b,tabIndex:-1,ref:z,className:a,"data-sonner-toaster":!0,"data-theme":Q,"data-y-position":we,"data-lifted":$&&E.length>1&&!s,"data-x-position":Le,style:{"--front-toast-height":`${((Z=R[0])==null?void 0:Z.height)||0}px`,"--width":`${FT}px`,"--gap":`${g}px`,...p,...HT(l,u)},onBlur:te=>{I.current&&!te.currentTarget.contains(te.relatedTarget)&&(I.current=!1,j.current&&(j.current.focus({preventScroll:!0}),j.current=null))},onFocus:te=>{te.target instanceof HTMLElement&&te.target.dataset.dismissible==="false"||I.current||(I.current=!0,j.current=te.relatedTarget)},onMouseEnter:()=>V(!0),onMouseMove:()=>V(!0),onMouseLeave:()=>{q||V(!1)},onDragEnd:()=>V(!1),onPointerDown:te=>{te.target instanceof HTMLElement&&te.target.dataset.dismissible==="false"||O(!0)},onPointerUp:()=>O(!1)},E.filter(te=>!te.position&&Y===0||te.position===B).map((te,Qr)=>{var Tn,yr;return L.createElement(WT,{key:te.id,icons:v,index:Qr,toast:te,defaultRichColors:f,duration:(Tn=y==null?void 0:y.duration)!=null?Tn:h,className:y==null?void 0:y.className,descriptionClassName:y==null?void 0:y.descriptionClassName,invert:n,visibleToasts:w,closeButton:(yr=y==null?void 0:y.closeButton)!=null?yr:o,interacting:q,position:B,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:W,toasts:E.filter(Pn=>Pn.position==te.position),heights:R.filter(Pn=>Pn.position==te.position),setHeights:M,expandByDefault:s,gap:g,loadingIcon:m,expanded:$,pauseWhenPageIsHidden:C,swipeDirections:e.swipeDirections})})):null}))});const qT=({...e})=>{const{theme:t="system"}=xT();return d.jsx(KT,{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})},GT=["top","right","bottom","left"],lr=Math.min,ot=Math.max,Xa=Math.round,ea=Math.floor,nn=e=>({x:e,y:e}
vendor: 9,256 bytes, line 181
181),QT={left:"right",right:"left",bottom:"top",top:"bottom"},YT={start:"end",end:"start"};function qc(e,t,n){return ot(e,lr(t,n))}function bn(e,t){return typeof e=="function"?e(t):e}function Sn(e){return e.split("-")[0]}function Zi(e){return e.split("-")[1]}function kf(e){return e==="x"?"y":"x"}function Nf(e){return e==="y"?"height":"width"}const XT=new Set(["top","bottom"]);function Jt(e){return XT.has(Sn(e))?"y":"x"}function jf(e){return kf(Jt(e))}function ZT(e,t,n){n===void 0&&(n=!1);const r=Zi(e),i=jf(e),s=Nf(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=Za(o)),[o,Za(o)]}function JT(e){const t=Za(e);return[Gc(e),t,Gc(t)]}function Gc(e){return e.replace(/start|end/g,t=>YT[t])}const Kp=["left","right"],qp=["right","left"],e2=["top","bottom"],t2=["bottom","top"];function n2(e,t,n){switch(e){case"top":case"bottom":return n?t?qp:Kp:t?Kp:qp;case"left":case"right":return t?e2:t2;default:return[]}}function r2(e,t,n,r){const i=Zi(e);let s=n2(Sn(e),n==="start",r);return i&&(s=s.map(o=>o+"-"+i),t&&(s=s.concat(s.map(Gc)))),s}function Za(e){return e.replace(/left|right|bottom|top/g,t=>QT[t])}function i2(e){return{top:0,right:0,bottom:0,left:0,...e}}function ix(e){return typeof e!="number"?i2(e):{top:e,right:e,bottom:e,left:e}}function Ja(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 Gp(e,t,n){let{reference:r,floating:i}=e;const s=Jt(t),o=jf(t),a=Nf(o),l=Sn(t),u=s==="y",c=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,h=r[a]/2-i[a]/2;let p;switch(l){case"top":p={x:c,y:r.y-i.height};break;case"bottom":p={x:c,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-i.width,y:f};break;default:p={x:r.x,y:r.y}}switch(Zi(t)){case"start":p[o]-=h*(n&&u?-1:1);break;case"end":p[o]+=h*(n&&u?-1:1);break}return p}const s2=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}=n,a=s.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=Gp(u,r,l),h=r,p={},w=0;for(let y=0;y<a.length;y++){const{name:b,fn:g}=a[y],{x:m,y:v,data:S,reset:C}=await g({x:c,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:p,rects:u,platform:o,elements:{reference:e,floating:t}});c=m??c,f=v??f,p={...p,[b]:{...p[b],...S}},C&&w<=50&&(w++,typeof C=="object"&&(C.placement&&(h=C.placement),C.rects&&(u=C.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):C.rects),{x:c,y:f}=Gp(u,h,l)),y=-1)}return{x:c,y:f,placement:h,strategy:i,middlewareData:p}};async function no(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:s,rects:o,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:h=!1,padding:p=0}=bn(t,e),w=ix(p),b=a[h?f==="floating"?"reference":"floating":f],g=Ja(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(a.floating)),boundary:u,rootBoundary:c,strategy:l})),m=f==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),S=await(s.isElement==null?void 0:s.isElement(v))?await(s.getScale==null?void 0:s.getScale(v))||{x:1,y:1}:{x:1,y:1},C=Ja(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:m,offsetParent:v,strategy:l}):m);return{top:(g.top-C.top+w.top)/S.y,bottom:(C.bottom-g.bottom+w.bottom)/S.y,left:(g.left-C.left+w.left)/S.x,right:(C.right-g.right+w.right)/S.x}}const o2=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:s,platform:o,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=bn(e,t)||{};if(u==null)return{};const f=ix(c),h={x:n,y:r},p=jf(i),w=Nf(p),y=await o.getDimensions(u),b=p==="y",g=b?"top":"left",m=b?"bottom":"right",v=b?"clientHeight":"clientWidth",S=s.reference[w]+s.reference[p]-h[p]-s.floating[w],C=h[p]-s.reference[p],E=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let T=E?E[v]:0;(!T||!await(o.isElement==null?void 0:o.isElement(E)))&&(T=a.floating[v]||s.floating[w]);const P=S/2-C/2,R=T/2-y[w]/2-1,M=lr(f[g],R),$=lr(f[m],R),V=M,q=T-y[w]-$,O=T/2-y[w]/2+P,Q=qc(V,O,q),U=!l.arrow&&Zi(i)!=null&&O!==Q&&s.reference[w]/2-(O<V?M:$)-y[w]/2<0,z=U?O<V?O-V:O-q:0;return{[p]:h[p]+z,data:{[p]:Q,centerOffset:O-Q-z,...U&&{alignmentOffset:z}},reset:U}}}),a2=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:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:y=!0,...b}=bn(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const g=Sn(i),m=Jt(a),v=Sn(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(u.floating)),C=h||(v||!y?[Za(a)]:JT(a)),E=w!=="none";!h&&E&&C.push(...r2(a,y,w,S));const T=[a,...C],P=await no(t,b),R=[];let M=((r=s.flip)==null?void 0:r.overflows)||[];if(c&&R.push(P[g]),f){const O=ZT(i,o,S);R.push(P[O[0]],P[O[1]])}if(M=[...M,{placement:i,overflows:R}],!R.every(O=>O<=0)){var $,V;const O=((($=s.flip)==null?void 0:$.index)||0)+1,Q=T[O];if(Q&&(!(f==="alignment"?m!==Jt(Q):!1)||M.every(k=>k.overflows[0]>0&&Jt(k.placement)===m)))return{data:{index:O,overflows:M},reset:{placement:Q}};let U=(V=M.filter(z=>z.overflows[0]<=0).sort((z,k)=>z.overflows[1]-k.overflows[1])[0])==null?void 0:V.placement;if(!U)switch(p){case"bestFit":{var q;const z=(q=M.filter(k=>{if(E){const j=Jt(k.placement);return j===m||j==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(j=>j>0).reduce((j,I)=>j+I,0)]).sort((k,j)=>k[1]-j[1])[0])==null?void 0:q[0];z&&(U=z);break}case"initialPlacement":U=a;break}if(i!==U)return{reset:{placement:U}}}return{}}}};function Qp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Yp(e){return GT.some(t=>e[t]>=0)}const l2=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=bn(e,t);switch(r){case"referenceHidden":{const s=await no(t,{...i,elementContext:"reference"}),o=Qp(s,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:Yp(o)}}}case"escaped":{const s=await no(t,{...i,altBoundary:!0}),o=Qp(s,n.floating);return{data:{escapedOffsets:o,escaped:Yp(o)}}}default:return{}}}}},sx=new Set(["left","top"]);async function u2(e,t){const{placement:n,platform:r,elements:i}=e,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Sn(n),a=Zi(n),l=Jt(n)==="y",u=sx.has(o)?-1:1,c=s&&l?-1:1,f=bn(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:w}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof w=="number"&&(p=a==="end"?w*-1:w),l?{x:p*c,y:h*u}:{x:h*u,y:p*c}}const c2=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:a}=t,l=await u2(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:o}}}}},d2=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:a={fn:b=>{let{x:g,y:m}=b;return{x:g,y:m}}},...l}=bn(e,t),u={x:n,y:r},c=await no(t,l),f=Jt(Sn(i)),h=kf(f);let p=u[h],w=u[f];if(s){const b=h==="y"?"top":"left",g=h==="y"?"bottom":"right",m=p+c[b],v=p-c[g];p=qc(m,p,v)}if(o){const b=f==="y"?"top":"left",g=f==="y"?"bottom":"right",m=w+c[b],v=w-c[g];w=qc(m,w,v)}const y=a.fn({...t,[h]:p,[f]:w});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[h]:s,[f]:o}}}}}},f2=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:s,middlewareData:o}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=bn(e,t),c={x:n,y:r},f=Jt(i),h=kf(f);let p=c[h],w=c[f];const y=bn(a,t),b=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(l){const v=h==="y"?"height":"width",S=s.reference[h]-s.floating[v]+b.mainAxis,C=s.reference[h]+s.reference[v]-b.mainAxis;p<S?p=S:p>C&&(p=C)}if(u){var g,m;const v=h==="y"?"width":"height",S=sx.has(Sn(i)),C=s.reference[f]-s.floating[v]+(S&&((g=o.offset)==null?void 0:g[f])||0)+(S?0:b.crossAxis),E=s.reference[f]+s.reference[v]+(S?0:((m=o.offset)==null?void 0:m[f])||0)-(S?b.crossAxis:0);w<C?w=C:w>E&&(w=E)}return{[h]:p,[f]:w}}}},h2=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:a}=t,{apply:l=()=>{},...u}=bn(e,t),c=await no(t,u),f=Sn(i),h=Zi(i),p=Jt(i)==="y",{width:w,height:y}=s.floating;let b,g;f==="top"||f==="bottom"?(b=f,g=h===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(g=f,b=h==="end"?"top":"bottom");const m=y-c.top-c.bottom,v=w-c.left-c.right,S=lr(y-c[b],m),C=lr(w-c[g],v),E=!t.middlewareData.shift;let T=S,P=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(T=m),E&&
vendor: 4,415 bytes, line 181
181!h){const M=ot(c.left,0),$=ot(c.right,0),V=ot(c.top,0),q=ot(c.bottom,0);p?P=w-2*(M!==0||$!==0?M+$:ot(c.left,c.right)):T=y-2*(V!==0||q!==0?V+q:ot(c.top,c.bottom))}await l({...t,availableWidth:P,availableHeight:T});const R=await o.getDimensions(a.floating);return w!==R.width||y!==R.height?{reset:{rects:!0}}:{}}}};function Ml(){return typeof window<"u"}function Ji(e){return ox(e)?(e.nodeName||"").toLowerCase():"#document"}function ut(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ln(e){var t;return(t=(ox(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ox(e){return Ml()?e instanceof Node||e instanceof ut(e).Node:!1}function Bt(e){return Ml()?e instanceof Element||e instanceof ut(e).Element:!1}function on(e){return Ml()?e instanceof HTMLElement||e instanceof ut(e).HTMLElement:!1}function Xp(e){return!Ml()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ut(e).ShadowRoot}const p2=new Set(["inline","contents"]);function Eo(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Ut(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!p2.has(i)}const m2=new Set(["table","td","th"]);function g2(e){return m2.has(Ji(e))}const y2=[":popover-open",":modal"];function Al(e){return y2.some(t=>{try{return e.matches(t)}catch{return!1}})}const v2=["transform","translate","scale","rotate","perspective"],x2=["transform","translate","scale","rotate","perspective","filter"],w2=["paint","layout","strict","content"];function Rf(e){const t=Mf(),n=Bt(e)?Ut(e):e;return v2.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)||x2.some(r=>(n.willChange||"").includes(r))||w2.some(r=>(n.contain||"").includes(r))}function b2(e){let t=ur(e);for(;on(t)&&!Wi(t);){if(Rf(t))return t;if(Al(t))return null;t=ur(t)}return null}function Mf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const S2=new Set(["html","body","#document"]);function Wi(e){return S2.has(Ji(e))}function Ut(e){return ut(e).getComputedStyle(e)}function Dl(e){return Bt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ur(e){if(Ji(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Xp(e)&&e.host||ln(e);return Xp(t)?t.host:t}function ax(e){const t=ur(e);return Wi(t)?e.ownerDocument?e.ownerDocument.body:e.body:on(t)&&Eo(t)?t:ax(t)}function ro(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=ax(e),s=i===((r=e.ownerDocument)==null?void 0:r.body),o=ut(i);if(s){const a=Qc(o);return t.concat(o,o.visualViewport||[],Eo(i)?i:[],a&&n?ro(a):[])}return t.concat(i,ro(i,[],n))}function Qc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function lx(e){const t=Ut(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=on(e),s=i?e.offsetWidth:n,o=i?e.offsetHeight:r,a=Xa(n)!==s||Xa(r)!==o;return a&&(n=s,r=o),{width:n,height:r,$:a}}function Af(e){return Bt(e)?e:e.contextElement}function ki(e){const t=Af(e);if(!on(t))return nn(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:s}=lx(t);let o=(s?Xa(n.width):n.width)/r,a=(s?Xa(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const C2=nn(0);function ux(e){const t=ut(e);return!Mf()||!t.visualViewport?C2:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function E2(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ut(e)?!1:t}function Ur(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=Af(e);let o=nn(1);t&&(r?Bt(r)&&(o=ki(r)):o=ki(e));const a=E2(s,n,r)?ux(s):nn(0);let l=(i.left+a.x)/o.x,u=(i.top+a.y)/o.y,c=i.width/o.x,f=i.height/o.y;if(s){const h=ut(s),p=r&&Bt(r)?ut(r):r;let w=h,y=Qc(w);for(;y&&r&&p!==w;){const b=ki(y),g=y.getBoundingClientRect(),m=Ut(y),v=g.left+(y.clientLeft+parseFloat(m.paddingLeft))*b.x,S=g.top+(y.clientTop+parseFloat(m.paddingTop))*b.y;l*=b.x,u*=b.y,c*=b.x,f*=b.y,l+=v,u+=S,w=ut(y),y=Qc(w)}}return Ja({width:c,height:f,x:l,y:u})}function Df(e,t){const n=Dl(e).scrollLeft;return t?t.left+n:Ur(ln(e)).left+n}function cx(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:Df(e,r)),s=r.top+t.scrollTop;return{x:i,y:s}}function T2(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;
vendor: 13,842 bytes, line 181
181const s=i==="fixed",o=ln(r),a=t?Al(t.floating):!1;if(r===o||a&&s)return n;let l={scrollLeft:0,scrollTop:0},u=nn(1);const c=nn(0),f=on(r);if((f||!f&&!s)&&((Ji(r)!=="body"||Eo(o))&&(l=Dl(r)),on(r))){const p=Ur(r);u=ki(r),c.x=p.x+r.clientLeft,c.y=p.y+r.clientTop}const h=o&&!f&&!s?cx(o,l,!0):nn(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+h.x,y:n.y*u.y-l.scrollTop*u.y+c.y+h.y}}function P2(e){return Array.from(e.getClientRects())}function k2(e){const t=ln(e),n=Dl(e),r=e.ownerDocument.body,i=ot(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=ot(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+Df(e);const a=-n.scrollTop;return Ut(r).direction==="rtl"&&(o+=ot(t.clientWidth,r.clientWidth)-i),{width:i,height:s,x:o,y:a}}function N2(e,t){const n=ut(e),r=ln(e),i=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;const u=Mf();(!u||u&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a,y:l}}const j2=new Set(["absolute","fixed"]);function R2(e,t){const n=Ur(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=on(e)?ki(e):nn(1),o=e.clientWidth*s.x,a=e.clientHeight*s.y,l=i*s.x,u=r*s.y;return{width:o,height:a,x:l,y:u}}function Zp(e,t,n){let r;if(t==="viewport")r=N2(e,n);else if(t==="document")r=k2(ln(e));else if(Bt(t))r=R2(t,n);else{const i=ux(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Ja(r)}function dx(e,t){const n=ur(e);return n===t||!Bt(n)||Wi(n)?!1:Ut(n).position==="fixed"||dx(n,t)}function M2(e,t){const n=t.get(e);if(n)return n;let r=ro(e,[],!1).filter(a=>Bt(a)&&Ji(a)!=="body"),i=null;const s=Ut(e).position==="fixed";let o=s?ur(e):e;for(;Bt(o)&&!Wi(o);){const a=Ut(o),l=Rf(o);!l&&a.position==="fixed"&&(i=null),(s?!l&&!i:!l&&a.position==="static"&&!!i&&j2.has(i.position)||Eo(o)&&!l&&dx(e,o))?r=r.filter(c=>c!==o):i=a,o=ur(o)}return t.set(e,r),r}function A2(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?Al(t)?[]:M2(t,this._c):[].concat(n),r],a=o[0],l=o.reduce((u,c)=>{const f=Zp(t,c,i);return u.top=ot(f.top,u.top),u.right=lr(f.right,u.right),u.bottom=lr(f.bottom,u.bottom),u.left=ot(f.left,u.left),u},Zp(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function D2(e){const{width:t,height:n}=lx(e);return{width:t,height:n}}function L2(e,t,n){const r=on(t),i=ln(t),s=n==="fixed",o=Ur(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=nn(0);function u(){l.x=Df(i)}if(r||!r&&!s)if((Ji(t)!=="body"||Eo(i))&&(a=Dl(t)),r){const p=Ur(t,!0,s,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else i&&u();s&&!r&&i&&u();const c=i&&!r&&!s?cx(i,a):nn(0),f=o.left+a.scrollLeft-l.x-c.x,h=o.top+a.scrollTop-l.y-c.y;return{x:f,y:h,width:o.width,height:o.height}}function Tu(e){return Ut(e).position==="static"}function Jp(e,t){if(!on(e)||Ut(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ln(e)===n&&(n=n.ownerDocument.body),n}function fx(e,t){const n=ut(e);if(Al(e))return n;if(!on(e)){let i=ur(e);for(;i&&!Wi(i);){if(Bt(i)&&!Tu(i))return i;i=ur(i)}return n}let r=Jp(e,t);for(;r&&g2(r)&&Tu(r);)r=Jp(r,t);return r&&Wi(r)&&Tu(r)&&!Rf(r)?n:r||b2(e)||n}const O2=async function(e){const t=this.getOffsetParent||fx,n=this.getDimensions,r=await n(e.floating);return{reference:L2(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function I2(e){return Ut(e).direction==="rtl"}const V2={convertOffsetParentRelativeRectToViewportRelativeRect:T2,getDocumentElement:ln,getClippingRect:A2,getOffsetParent:fx,getElementRects:O2,getClientRects:P2,getDimensions:D2,getScale:ki,isElement:Bt,isRTL:I2};function hx(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function _2(e,t){let n=null,r;const i=ln(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function o(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const u=e.getBoundingClientRect(),{left:c,top:f,width:h,height:p}=u;if(a||t(),!h||!p)return;const w=ea(f),y=ea(i.clientWidth-(c+h)),b=ea(i.clientHeight-(f+p)),g=ea(c),v={rootMargin:-w+"px "+-y+"px "+-b+"px "+-g+"px",threshold:ot(0,lr(1,l))||1};let S=!0;function C(E){const T=E[0].intersectionRatio;if(T!==l){if(!S)return o();T?o(!1,T):r=setTimeout(()=>{o(!1,1e-7)},1e3)}T===1&&!hx(u,e.getBoundingClientRect())&&o(),S=!1}try{n=new IntersectionObserver(C,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(C,v)}n.observe(e)}return o(!0),s}function F2(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Af(e),c=i||s?[...u?ro(u):[],...ro(t)]:[];c.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),s&&g.addEventListener("resize",n)});const f=u&&a?_2(u,n):null;let h=-1,p=null;o&&(p=new ResizeObserver(g=>{let[m]=g;m&&m.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var v;(v=p)==null||v.observe(t)})),n()}),u&&!l&&p.observe(u),p.observe(t));let w,y=l?Ur(e):null;l&&b();function b(){const g=Ur(e);y&&!hx(y,g)&&n(),y=g,w=requestAnimationFrame(b)}return n(),()=>{var g;c.forEach(m=>{i&&m.removeEventListener("scroll",n),s&&m.removeEventListener("resize",n)}),f==null||f(),(g=p)==null||g.disconnect(),p=null,l&&cancelAnimationFrame(w)}}const z2=c2,$2=d2,B2=a2,U2=h2,W2=l2,em=o2,H2=f2,K2=(e,t,n)=>{const r=new Map,i={platform:V2,...n},s={...i.platform,_c:r};return s2(e,t,{...i,platform:s})};var q2=typeof document<"u",G2=function(){},ba=q2?x.useLayoutEffect:G2;function el(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(!el(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)&&!el(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function px(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function tm(e,t){const n=px(e);return Math.round(t*n)/n}function Pu(e){const t=x.useRef(e);return ba(()=>{t.current=e}),t}function Q2(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:s,floating:o}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[c,f]=x.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=x.useState(r);el(h,r)||p(r);const[w,y]=x.useState(null),[b,g]=x.useState(null),m=x.useCallback(k=>{k!==E.current&&(E.current=k,y(k))},[]),v=x.useCallback(k=>{k!==T.current&&(T.current=k,g(k))},[]),S=s||w,C=o||b,E=x.useRef(null),T=x.useRef(null),P=x.useRef(c),R=l!=null,M=Pu(l),$=Pu(i),V=Pu(u),q=x.useCallback(()=>{if(!E.current||!T.current)return;const k={placement:t,strategy:n,middleware:h};$.current&&(k.platform=$.current),K2(E.current,T.current,k).then(j=>{const I={...j,isPositioned:V.current!==!1};O.current&&!el(P.current,I)&&(P.current=I,bo.flushSync(()=>{f(I)}))})},[h,t,n,$,V]);ba(()=>{u===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,f(k=>({...k,isPositioned:!1})))},[u]);const O=x.useRef(!1);ba(()=>(O.current=!0,()=>{O.current=!1}),[]),ba(()=>{if(S&&(E.current=S),C&&(T.current=C),S&&C){if(M.current)return M.current(S,C,q);q()}},[S,C,q,M,R]);const Q=x.useMemo(()=>({reference:E,floating:T,setReference:m,setFloating:v}),[m,v]),U=x.useMemo(()=>({reference:S,floating:C}),[S,C]),z=x.useMemo(()=>{const k={position:n,left:0,top:0};if(!U.floating)return k;const j=tm(U.floating,c.x),I=tm(U.floating,c.y);return a?{...k,transform:"translate("+j+"px, "+I+"px)",...px(U.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:j,top:I}},[n,a,U.floating,c.x,c.y]);return x.useMemo(()=>({...c,update:q,refs:Q,elements:U,floatingStyles:z}),[c,q,Q,U,z])}const Y2=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?em({element:r.current,padding:i}).fn(n):{}:r?em({element:r,padding:i}).fn(n):{}}}},X2=(e,t)=>({...z2(e),options:[e,t]}),Z2=(e,t)=>({...$2(e),options:[e,t]}),J2=(e,t)=>({...H2(e),options:[e,t]}),eP=(e,t)=>({...B2(e),options:[e,t]}),tP=(e,t)=>({...U2(e),options:[e,t]}),nP=(e,t)=>({...W2(e),options:[e,t]}),rP=(e,t)=>({...Y2(e),options:[e,t]});var iP="Arrow",mx=x.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...s}=e;return d.jsx(Xe.svg,{...s,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:d.jsx("polygon",{points:"0,0 30,0 15,10"})})});mx.displayName=iP;var sP=mx;function oP(e){const[t,n]=x.useState(void 0);return ar(()=>{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,a;if("borderBoxSize"in s){const l=s.borderBoxSize,u=Array.isArray(l)?l[0]:l;o=u.inlineSize,a=u.blockSize}else o=e.offsetWidth,a=e.offsetHeight;n({width:o,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var gx="Popper",[yx,vx]=kl(gx),[V3,xx]=yx(gx),wx="PopperAnchor",bx=x.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,s=xx(wx,n),o=x.useRef(null),a=$t(t,o);return x.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:d.jsx(Xe.div,{...i,ref:a})});bx.displayName=wx;var Lf="PopperContent",[aP,lP]=yx(Lf),Sx=x.forwardRef((e,t)=>{var te,Qr,Tn,yr,Pn,Yr;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:s="center",alignOffset:o=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:f="partial",hideWhenDetached:h=!1,updatePositionStrategy:p="optimized",onPlaced:w,...y}=e,b=xx(Lf,n),[g,m]=x.useState(null),v=$t(t,kn=>m(kn)),[S,C]=x.useState(null),E=oP(S),T=(E==null?void 0:E.width)??0,P=(E==null?void 0:E.height)??0,R=r+(s!=="center"?"-"+s:""),M=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},$=Array.isArray(u)?u:[u],V=$.length>0,q={padding:M,boundary:$.filter(cP),altBoundary:V},{refs:O,floatingStyles:Q,placement:U,isPositioned:z,middlewareData:k}=Q2({strategy:"fixed",placement:R,whileElementsMounted:(...kn)=>F2(...kn,{animationFrame:p==="always"}),elements:{reference:b.anchor},middleware:[X2({mainAxis:i+P,alignmentAxis:o}),l&&Z2({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?J2():void 0,...q}),l&&eP({...q}),tP({...q,apply:({elements:kn,rects:Ro,availableWidth:Wl,availableHeight:Mo})=>{const{width:Hl,height:is}=Ro.reference,Xr=kn.floating.style;Xr.setProperty("--radix-popper-available-width",`${Wl}px`),Xr.setProperty("--radix-popper-available-height",`${Mo}px`),Xr.setProperty("--radix-popper-anchor-width",`${Hl}px`),Xr.setProperty("--radix-popper-anchor-height",`${is}px`)}}),S&&rP({element:S,padding:a}),dP({arrowWidth:T,arrowHeight:P}),h&&nP({strategy:"referenceHidden",...q})]}),[j,I]=Tx(U),W=or(w);ar(()=>{z&&(W==null||W())},[z,W]);const B=(te=k.arrow)==null?void 0:te.x,Y=(Qr=k.arrow)==null?void 0:Qr.y,Z=((Tn=k.arrow)==null?void 0:Tn.centerOffset)!==0,[we,Le]=x.useState();return ar(()=>{g&&Le(window.getComputedStyle(g).zIndex)},[g]),d.jsx("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:z?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:we,"--radix-popper-transform-origin":[(yr=k.transformOrigin)==null?void 0:yr.x,(Pn=k.transformOrigin)==null?void 0:Pn.y].join(" "),...((Yr=k.hide)==null?void 0:Yr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:d.jsx(aP,{scope:n,placedSide:j,onArrowChange:C,arrowX:B,arrowY:Y,shouldHideArrow:Z,children:d.jsx(Xe.div,{"data-side":j,"data-align":I,...y,ref:v,style:{...y.style,animation:z?void 0:"none"}})})})});Sx.displayName=Lf;var Cx="PopperArrow",uP={top:"bottom",right:"left",bottom:"top",left:"right"},Ex=x.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,s=lP(Cx,r),o=uP[s.placedSide];return d.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:d.jsx(sP,{...i,ref:n,style:{...i.style,display:"block"}})})});Ex.displayName=Cx;function cP(e){return e!==null}var dP=e=>({name:"transformOrigin",options:e,fn(t){var b,g,m;const{placement:n,rects:r,middlewareData:i}=t,o=((b=i.arrow)==null?void 0:b.centerOffset)!==0,a=o?0:e.arrowWidth,l=o?0:e.arrowHeight,[u,c]=Tx(n),f={start:"0%",center:"50%",end:"100%"}[c],h=(((g=i.arrow)==null?void 0:g.x)??0)+a/2,p=(((m=i.arrow)==null?void 0:m.y)??0)+l/2;let w="",y="";return u==="bottom"?(w=o?f:`${h}px`,y=`${-l}px`):u==="top"?(w=o?f:`${h}px`,y=`${r.floating.height+l}px`):u==="right"?(w=`${-l}px`,y=o?f:`${p}px`):u==="left"&&(w=`${r.floating.width+l}px`,y=o?f:`${p}px`),{data:{x:w,y}}}});function Tx(e){const[t,n="center"]=e.split("-");return[t,n]}var fP=bx,hP=Sx,pP=Ex,[Ll,_3]=kl("Tooltip",[vx]),Of=vx(),Px="TooltipProvider",mP=700,nm="tooltip.open",[gP,kx]=Ll(Px),Nx=e=>{const{__scopeTooltip:t,delayDuration:n=mP,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:s}=e,o=x.useRef(!0),a=x.useRef(!1),l=x.useRef(0);return x.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),d.jsx(gP,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:x.useCallback(()=>{window.clearTimeout(l.current),o.current=!1},[]),onClose:x.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>
vendor: 4,870 bytes, line 181
181o.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:x.useCallback(u=>{a.current=u},[]),disableHoverableContent:i,children:s})};Nx.displayName=Px;var jx="Tooltip",[F3,Ol]=Ll(jx),Yc="TooltipTrigger",yP=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Ol(Yc,n),s=kx(Yc,n),o=Of(n),a=x.useRef(null),l=$t(t,a,i.onTriggerChange),u=x.useRef(!1),c=x.useRef(!1),f=x.useCallback(()=>u.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),d.jsx(fP,{asChild:!0,...o,children:d.jsx(Xe.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:l,onPointerMove:Pe(e.onPointerMove,h=>{h.pointerType!=="touch"&&!c.current&&!s.isPointerInTransitRef.current&&(i.onTriggerEnter(),c.current=!0)}),onPointerLeave:Pe(e.onPointerLeave,()=>{i.onTriggerLeave(),c.current=!1}),onPointerDown:Pe(e.onPointerDown,()=>{i.open&&i.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:Pe(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:Pe(e.onBlur,i.onClose),onClick:Pe(e.onClick,i.onClose)})})});yP.displayName=Yc;var vP="TooltipPortal",[z3,xP]=Ll(vP,{forceMount:void 0}),Hi="TooltipContent",Rx=x.forwardRef((e,t)=>{const n=xP(Hi,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...s}=e,o=Ol(Hi,e.__scopeTooltip);return d.jsx(bf,{present:r||o.open,children:o.disableHoverableContent?d.jsx(Mx,{side:i,...s,ref:t}):d.jsx(wP,{side:i,...s,ref:t})})}),wP=x.forwardRef((e,t)=>{const n=Ol(Hi,e.__scopeTooltip),r=kx(Hi,e.__scopeTooltip),i=x.useRef(null),s=$t(t,i),[o,a]=x.useState(null),{trigger:l,onClose:u}=n,c=i.current,{onPointerInTransitChange:f}=r,h=x.useCallback(()=>{a(null),f(!1)},[f]),p=x.useCallback((w,y)=>{const b=w.currentTarget,g={x:w.clientX,y:w.clientY},m=TP(g,b.getBoundingClientRect()),v=PP(g,m),S=kP(y.getBoundingClientRect()),C=jP([...v,...S]);a(C),f(!0)},[f]);return x.useEffect(()=>()=>h(),[h]),x.useEffect(()=>{if(l&&c){const w=b=>p(b,c),y=b=>p(b,l);return l.addEventListener("pointerleave",w),c.addEventListener("pointerleave",y),()=>{l.removeEventListener("pointerleave",w),c.removeEventListener("pointerleave",y)}}},[l,c,p,h]),x.useEffect(()=>{if(o){const w=y=>{const b=y.target,g={x:y.clientX,y:y.clientY},m=(l==null?void 0:l.contains(b))||(c==null?void 0:c.contains(b)),v=!NP(g,o);m?h():v&&(h(),u())};return document.addEventListener("pointermove",w),()=>document.removeEventListener("pointermove",w)}},[l,c,o,u,h]),d.jsx(Mx,{...e,ref:s})}),[bP,SP]=Ll(jx,{isInside:!1}),CP=NC("TooltipContent"),Mx=x.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:s,onPointerDownOutside:o,...a}=e,l=Ol(Hi,n),u=Of(n),{onClose:c}=l;return x.useEffect(()=>(document.addEventListener(nm,c),()=>document.removeEventListener(nm,c)),[c]),x.useEffect(()=>{if(l.trigger){const f=h=>{const p=h.target;p!=null&&p.contains(l.trigger)&&c()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[l.trigger,c]),d.jsx(wf,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:o,onFocusOutside:f=>f.preventDefault(),onDismiss:c,children:d.jsxs(hP,{"data-state":l.stateAttribute,...u,...a,ref:t,style:{...a.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:[d.jsx(CP,{children:r}),d.jsx(bP,{scope:n,isInside:!0,children:d.jsx(JC,{id:l.contentId,role:"tooltip",children:i||r})})]})})});Rx.displayName=Hi;var Ax="TooltipArrow",EP=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Of(n);return SP(Ax,n).isInside?null:d.jsx(pP,{...i,...r,ref:t})});EP.displayName=Ax;function TP(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 PP(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 kP(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 NP(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 a=t[s],l=t[o],u=a.x,c=a.y,f=l.x,h=l.y;c>r!=h>r&&n<(f-u)*(r-c)/(h-c)+u&&(i=!i)}return i}function jP(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),RP(t)}
181function RP(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 MP=Nx,Dx=Rx;const AP=MP,DP=x.forwardRef(({className:e,sideOffset:t=4,...n},r)=>d.jsx(Dx,{ref:r,sideOffset:t,className:Ht("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}));DP.displayName=Dx.displayName;var Il=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(){}},Vl=typeof window>"u"||"Deno"in globalThis;function Dt(){}function LP(e,t){return typeof e=="function"?e(t):e}function OP(e){return typeof e=="number"&&e>=0&&e!==1/0}function IP(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Xc(e,t){return typeof e=="function"?e(t):e}function VP(e,t){return typeof e=="function"?e(t):e}function rm(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:o,stale:a}=e;if(o){if(r){if(t.queryHash!==If(o,t.options))return!1}else if(!so(t.queryKey,o))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||i&&i!==t.state.fetchStatus||s&&!s(t))}function im(e,t){const{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(io(t.options.mutationKey)!==io(s))return!1}else if(!so(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function If(e,t){return((t==null?void 0:t.queryKeyHashFn)||io)(e)}function io(e){return JSON.stringify(e,(t,n)=>Zc(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function so(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>so(e[n],t[n])):!1}function Lx(e,t){if(e===t)return e;const n=sm(e)&&sm(t);if(n||Zc(e)&&Zc(t)){const r=n?e:Object.keys(e),i=r.length,s=n?t:Object.keys(t),o=s.length,a=n?[]:{},l=new Set(r);let u=0;for(let c=0;c<o;c++){const f=n?c:s[c];(!n&&l.has(f)||n)&&e[f]===void 0&&t[f]===void 0?(a[f]=void 0,u++):(a[f]=Lx(e[f],t[f]),a[f]===e[f]&&e[f]!==void 0&&u++)}return i===o&&u===i?e:a}return t}function sm(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Zc(e){if(!om(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!om(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function om(e){return Object.prototype.toString.call(e)==="[object Object]"}function _P(e){return new Promise(t=>{setTimeout(t,e)})}function FP(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Lx(e,t):t}function zP(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function $P(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Vf=Symbol();function Ox(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Vf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var jr,zn,ji,zg,BP=(zg=class extends Il{constructor(){super();ee(this,jr);ee(this,zn);ee(this,ji);K(this,ji,t=>{if(!Vl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){N(this,zn)||this.setEventListener(N(this,ji))}onUnsubscribe(){var t;this.hasListeners()||((t=N(this,zn))==null||t.call(this),K(this,zn,void 0))}setEventListener(t){var n;
vendor: 23,607 bytes, lines 181-190
181K(this,ji,t),(n=N(this,zn))==null||n.call(this),K(this,zn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){N(this,jr)!==t&&(K(this,jr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof N(this,jr)=="boolean"?N(this,jr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},jr=new WeakMap,zn=new WeakMap,ji=new WeakMap,zg),Ix=new BP,Ri,$n,Mi,$g,UP=($g=class extends Il{constructor(){super();ee(this,Ri,!0);ee(this,$n);ee(this,Mi);K(this,Mi,t=>{if(!Vl&&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(){N(this,$n)||this.setEventListener(N(this,Mi))}onUnsubscribe(){var t;this.hasListeners()||((t=N(this,$n))==null||t.call(this),K(this,$n,void 0))}setEventListener(t){var n;K(this,Mi,t),(n=N(this,$n))==null||n.call(this),K(this,$n,t(this.setOnline.bind(this)))}setOnline(t){N(this,Ri)!==t&&(K(this,Ri,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return N(this,Ri)}},Ri=new WeakMap,$n=new WeakMap,Mi=new WeakMap,$g),tl=new UP;function WP(){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 HP(e){return Math.min(1e3*2**e,3e4)}function Vx(e){return(e??"online")==="online"?tl.isOnline():!0}var _x=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function ku(e){return e instanceof _x}function Fx(e){let t=!1,n=0,r=!1,i;const s=WP(),o=y=>{var b;r||(h(new _x(y)),(b=e.abort)==null||b.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>Ix.isFocused()&&(e.networkMode==="always"||tl.isOnline())&&e.canRun(),c=()=>Vx(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))},h=y=>{var b;r||(r=!0,(b=e.onError)==null||b.call(e,y),i==null||i(),s.reject(y))},p=()=>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)}),w=()=>{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 E;if(r)return;const m=e.retry??(Vl?0:3),v=e.retryDelay??HP,S=typeof v=="function"?v(n,g):v,C=m===!0||typeof m=="number"&&n<m||typeof m=="function"&&m(n,g);if(t||!C){h(g);return}n++,(E=e.onFail)==null||E.call(e,n,g),_P(S).then(()=>u()?void 0:p()).then(()=>{t?h(g):w()})})};return{promise:s,cancel:o,continue:()=>(i==null||i(),s),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?w():p().then(w),s)}}var KP=e=>setTimeout(e,0);function qP(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=KP;const s=a=>{t?e.push(a):i(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&i(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||o()}return l},batchCalls:a=>(...l)=>{s(()=>{a(...l)})},schedule:s,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{i=a}}}var We=qP(),Rr,Bg,zx=(Bg=class{constructor(){ee(this,Rr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),OP(this.gcTime)&&K(this,Rr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Vl?1/0:5*60*1e3))}clearGcTimeout(){N(this,Rr)&&(clearTimeout(N(this,Rr)),K(this,Rr,void 0))}},Rr=new WeakMap,Bg),Ai,Mr,gt,Ar,_e,po,Dr,Lt,cn,Ug,GP=(Ug=class extends zx{constructor(t){super();ee(this,Lt);ee(this,Ai);ee(this,Mr);ee(this,gt);ee(this,Ar);ee(this,_e);ee(this,po);ee(this,Dr);K(this,Dr,!1),K(this,po,t.defaultOptions),this.setOptions(t.options),this.observers=[],K(this,Ar,t.client),K(this,gt,N(this,Ar).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,K(this,Ai,YP(this.options)),this.state=t.state??N(this,Ai),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=N(this,_e))==null?void 0:t.promise}setOptions(t){this.options={...N(this,po),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&N(this,gt).remove(this)}setData(t,n){const r=FP(this.state.data,t,this.options);return Oe(this,Lt,cn).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,Lt,cn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=N(this,_e))==null?void 0:r.promise;return(i=N(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(N(this,Ai))}isActive(){return this.observers.some(t=>VP(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Vf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Xc(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:!IP(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=N(this,_e))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=N(this,_e))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),N(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||(N(this,_e)&&(N(this,Dr)?N(this,_e).cancel({revert:!0}):N(this,_e).cancelRetry()),this.scheduleGc()),N(this,gt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Oe(this,Lt,cn).call(this,{type:"invalidate"})}fetch(t,n){var u,c,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(N(this,_e))return N(this,_e).continueRetry(),N(this,_e).promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(p=>p.options.queryFn);h&&this.setOptions(h.options)}const r=new AbortController,i=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(K(this,Dr,!0),r.signal)})},s=()=>{const h=Ox(this.options,n),w=(()=>{const y={client:N(this,Ar),queryKey:this.queryKey,meta:this.meta};return i(y),y})();return K(this,Dr,!1),this.options.persister?this.options.persister(h,w,this):h(w)},a=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:N(this,Ar),state:this.state,fetchFn:s};return i(h),h})();(u=this.options.behavior)==null||u.onFetch(a,this),K(this,Mr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&Oe(this,Lt,cn).call(this,{type:"fetch",meta:(f=a.fetchOptions)==null?void 0:f.meta});const l=h=>{var p,w,y,b;ku(h)&&h.silent||Oe(this,Lt,cn).call(this,{type:"error",error:h}),ku(h)||((w=(p=N(this,gt).config).onError)==null||w.call(p,h,this),(b=(y=N(this,gt).config).onSettled)==null||b.call(y,this.state.data,h,this)),this.scheduleGc()};return K(this,_e,Fx({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var p,w,y,b;if(h===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(g){l(g);return}(w=(p=N(this,gt).config).onSuccess)==null||w.call(p,h,this),(b=(y=N(this,gt).config).onSettled)==null||b.call(y,h,this.state.error,this),this.scheduleGc()},onError:l,onFail:(h,p)=>{Oe(this,Lt,cn).call(this,{type:"failed",failureCount:h,error:p})},onPause:()=>{Oe(this,Lt,cn).call(this,{type:"pause"})},onContinue:()=>{Oe(this,Lt,cn).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),N(this,_e).start()}},Ai=new WeakMap,Mr=new WeakMap,gt=new WeakMap,Ar=new WeakMap,_e=new WeakMap,po=new WeakMap,Dr=new WeakMap,Lt=new WeakSet,cn=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,...QP(r.data,this.options),fetchMeta:t.meta??null};case"success":return K(this,Mr,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 ku(i)&&i.revert&&N(this,Mr)?{...N(this,Mr),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),We.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),N(this,gt).notify({query:this,type:"updated",action:t})})},Ug);function QP(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Vx(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function YP(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 Qt,Wg,XP=(Wg=class extends Il{constructor(t={}){super();ee(this,Qt);this.config=t,K(this,Qt,new Map)}build(t,n,r){const i=n.queryKey,s=n.queryHash??If(i,n);let o=this.get(s);return o||(o=new GP({client:t,queryKey:i,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(o)),o}add(t){N(this,Qt).has(t.queryHash)||(N(this,Qt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=N(this,Qt).get(t.queryHash);n&&(t.destroy(),n===t&&N(this,Qt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){We.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return N(this,Qt).get(t)}getAll(){return[...N(this,Qt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>rm(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>rm(t,r)):n}notify(t){We.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){We.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){We.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Qt=new WeakMap,Wg),Yt,Be,Lr,Xt,Ln,Hg,ZP=(Hg=class extends zx{constructor(t){super();ee(this,Xt);ee(this,Yt);ee(this,Be);ee(this,Lr);this.mutationId=t.mutationId,K(this,Be,t.mutationCache),K(this,Yt,[]),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){N(this,Yt).includes(t)||(N(this,Yt).push(t),this.clearGcTimeout(),N(this,Be).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){K(this,Yt,N(this,Yt).filter(n=>n!==t)),this.scheduleGc(),N(this,Be).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){N(this,Yt).length||(this.state.status==="pending"?this.scheduleGc():N(this,Be).remove(this))}continue(){var t;return((t=N(this,Lr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,o,a,l,u,c,f,h,p,w,y,b,g,m,v,S,C,E,T,P;const n=()=>{Oe(this,Xt,Ln).call(this,{type:"continue"})};K(this,Lr,Fx({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(R,M)=>{Oe(this,Xt,Ln).call(this,{type:"failed",failureCount:R,error:M})},onPause:()=>{Oe(this,Xt,Ln).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>N(this,Be).canRun(this)}));const r=this.state.status==="pending",i=!N(this,Lr).canStart();try{if(r)n();else{Oe(this,Xt,Ln).call(this,{type:"pending",variables:t,isPaused:i}),await((o=(s=N(this,Be).config).onMutate)==null?void 0:o.call(s,t,this));const M=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));M!==this.state.context&&Oe(this,Xt,Ln).call(this,{type:"pending",context:M,variables:t,isPaused:i})}const R=await N(this,Lr).start();return await((c=(u=N(this,Be).config).onSuccess)==null?void 0:c.call(u,R,t,this.state.context,this)),await((h=(f=this.options).onSuccess)==null?void 0:h.call(f,R,t,this.state.context)),await((w=(p=N(this,Be).config).onSettled)==null?void 0:w.call(p,R,null,this.state.variables,this.state.context,this)),await((b=(y=this.options).onSettled)==null?void 0:b.call(y,R,null,t,this.state.context)),Oe(this,Xt,Ln).call(this,{type:"success",data:R}),R}catch(R){try{throw await((m=(g=N(this,Be).config).onError)==null?void 0:m.call(g,R,t,this.state.context,this)),await((S=(v=this.options).onError)==null?void 0:S.call(v,R,t,this.state.context)),await((E=(C=N(this,Be).config).onSettled)==null?void 0:E.call(C,void 0,R,this.state.variables,this.state.context,this)),await((P=(T=this.options).onSettled)==null?void 0:P.call(T,void 0,R,t,this.state.context)),R}finally{Oe(this,Xt,Ln).call(this,{type:"error",error:R})}}finally{N(this,Be).runNext(this)}}},Yt=new WeakMap,Be=new WeakMap,Lr=new WeakMap,Xt=new WeakSet,Ln=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),We.batch(()=>{N(this,Yt).forEach(r=>{r.onMutationUpdate(t)}),N(this,Be).notify({mutation:this,type:"updated",action:t})})},Hg);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 hn,Ot,mo,Kg,ek=(Kg=class extends Il{constructor(t={}){super();ee(this,hn);ee(this,Ot);ee(this,mo);this.config=t,K(this,hn,new Set),K(this,Ot,new Map),K(this,mo,0)}build(t,n,r){const i=new ZP({mutationCache:this,mutationId:++Do(this,mo)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){N(this,hn).add(t);const n=ta(t);if(typeof n=="string"){const r=N(this,Ot).get(n);r?r.push(t):N(this,Ot).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(N(this,hn).delete(t)){const n=ta(t);if(typeof n=="string"){const r=N(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&&N(this,Ot).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=ta(t);if(typeof n=="string"){const r=N(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=ta(t);if(typeof n=="string"){const i=(r=N(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(){We.batch(()=>{N(this,hn).forEach(t=>{this.notify({type:"removed",mutation:t})}),N(this,hn).clear(),N(this,Ot).clear()})}getAll(){return Array.from(N(this,hn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>im(n,r))}findAll(t={}){return this.getAll().filter(n=>im(t,n))}notify(t){We.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return We.batch(()=>Promise.all(t.map(n=>n.continue().catch(Dt))))}},hn=new WeakMap,Ot=new WeakMap,mo=new WeakMap,Kg);function ta(e){var t;return(t=e.options.scope)==null?void 0:t.id}function am(e){return{onFetch:(t,n)=>{var c,f,h,p,w;const r=t.options,i=(h=(f=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:f.fetchMore)==null?void 0:h.direction,s=((p=t.state.data)==null?void 0:p.pages)||[],o=((w=t.state.data)==null?void 0:w.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let y=!1;const b=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?y=!0:t.signal.addEventListener("abort",()=>{y=!0}),t.signal)})},g=Ox(t.options,t.fetchOptions),m=async(v,S,C)=>{if(y)return Promise.reject();if(S==null&&v.pages.length)return Promise.resolve(v);const T=(()=>{const $={client:t.client,queryKey:t.queryKey,pageParam:S,direction:C?"backward":"forward",meta:t.options.meta};return b($),$})(),P=await g(T),{maxPages:R}=t.options,M=C?$P:zP;return{pages:M(v.pages,P,R),pageParams:M(v.pageParams,S,R)}};if(i&&s.length){const v=i==="backward",S=v?tk:lm,C={pages:s,pageParams:o},E=S(r,C);a=await m(C,E,v)}else{const v=e??s.length;do{const S=l===0?o[0]??r.initialPageParam:lm(r,a);if(l>0&&S==null)break;a=await m(a,S),l++}while(l<v)}return a};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 lm(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 tk(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 ye,Bn,Un,Di,Li,Wn,Oi,Ii,qg,nk=(qg=class{constructor(e={}){ee(this,ye);ee(this,Bn);ee(this,Un);ee(this,Di);ee(this,Li);ee(this,Wn);ee(this,Oi);ee(this,Ii);K(this,ye,e.queryCache||new XP),K(this,Bn,e.mutationCache||new ek),K(this,Un,e.defaultOptions||{}),K(this,Di,new Map),K(this,Li,new Map),K(this,Wn,0)}mount(){Do(this,Wn)._++,N(this,Wn)===1&&(K(this,Oi,Ix.subscribe(async e=>{e&&(await this.resumePausedMutations(),N(this,ye).onFocus())})),K(this,Ii,tl.subscribe(async e=>{e&&(await this.resumePausedMutations(),N(this,ye).onOnline())})))}unmount(){var e,t;Do(this,Wn)._--,N(this,Wn)===0&&((e=N(this,Oi))==null||e.call(this),K(this,Oi,void 0),(t=N(this,Ii))==null||t.call(this),K(this,Ii,void 0))}isFetching(e){return N(this,ye).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return N(this,Bn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=N(this,ye).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=N(this,ye).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Xc(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return N(this,ye).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=N(this,ye).get(r.queryHash),s=i==null?void 0:i.state.data,o=LP(t,s);if(o!==void 0)return N(this,ye).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return We.batch(()=>N(this,ye).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=N(this,ye).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=N(this,ye);We.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=N(this,ye);return We.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=We.batch(()=>N(this,ye).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(Dt).catch(Dt)}invalidateQueries(e,t={}){return We.batch(()=>(N(this,ye).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=We.batch(()=>N(this,ye).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=N(this,ye).build(this,t);return n.isStaleByTime(Xc(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=am(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Dt).catch(Dt)}ensureInfiniteQueryData(e){return e.behavior=am(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return tl.isOnline()?N(this,Bn).resumePausedMutations():Promise.resolve()}getQueryCache(){return N(this,ye)}getMutationCache(){return N(this,Bn)}getDefaultOptions(){return N(this,Un)}setDefaultOptions(e){K(this,Un,e)}setQueryDefaults(e,t){N(this,Di).set(io(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...N(this,Di).values()],n={};return t.forEach(r=>{so(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){N(this,Li).set(io(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...N(this,Li).values()],n={};return t.forEach(r=>{so(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...N(this,Un).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=If(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===Vf&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...N(this,Un).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){N(this,ye).clear(),N(this,Bn).clear()}},ye=new WeakMap,Bn=new WeakMap,Un=new WeakMap,Di=new WeakMap,Li=new WeakMap,Wn=new WeakMap,Oi=new WeakMap,Ii=new WeakMap,qg),rk=x.createContext(void 0),ik=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),d.jsx(rk.Provider,{value:e,children:t}));/** 182 * @remix-run/router v1.23.0 183 * 184 * Copyright (c) Remix Software Inc. 185 * 186 * This source code is licensed under the MIT license found in the 187 * LICENSE.md file in the root directory of this source tree. 188 * 189 * @license MIT 190 */function oo(){return oo=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},oo.apply(this,arguments)}var qn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}
vendor: 4,657 bytes, line 190
190)(qn||(qn={}));const um="popstate";function sk(e){e===void 0&&(e={});function t(r,i){let{pathname:s,search:o,hash:a}=r.location;return Jc("",{pathname:s,search:o,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:nl(i)}return ak(t,n,null,e)}function Ce(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function $x(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function ok(){return Math.random().toString(36).substr(2,8)}function cm(e,t){return{usr:e.state,key:e.key,idx:t}}function Jc(e,t,n,r){return n===void 0&&(n=null),oo({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?es(t):t,{state:n,key:t&&t.key||r||ok()})}function nl(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 es(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 ak(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:s=!1}=r,o=i.history,a=qn.Pop,l=null,u=c();u==null&&(u=0,o.replaceState(oo({},o.state,{idx:u}),""));function c(){return(o.state||{idx:null}).idx}function f(){a=qn.Pop;let b=c(),g=b==null?null:b-u;u=b,l&&l({action:a,location:y.location,delta:g})}function h(b,g){a=qn.Push;let m=Jc(y.location,b,g);u=c()+1;let v=cm(m,u),S=y.createHref(m);try{o.pushState(v,"",S)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;i.location.assign(S)}s&&l&&l({action:a,location:y.location,delta:1})}function p(b,g){a=qn.Replace;let m=Jc(y.location,b,g);u=c();let v=cm(m,u),S=y.createHref(m);o.replaceState(v,"",S),s&&l&&l({action:a,location:y.location,delta:0})}function w(b){let g=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof b=="string"?b:nl(b);return m=m.replace(/ $/,"%20"),Ce(g,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,g)}let y={get action(){return a},get location(){return e(i,o)},listen(b){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(um,f),l=b,()=>{i.removeEventListener(um,f),l=null}},createHref(b){return t(i,b)},createURL:w,encodeLocation(b){let g=w(b);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:h,replace:p,go(b){return o.go(b)}};return y}var dm;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(dm||(dm={}));function lk(e,t,n){return n===void 0&&(n="/"),uk(e,t,n,!1)}function uk(e,t,n,r){let i=typeof t=="string"?es(t):t,s=_f(i.pathname||"/",n);if(s==null)return null;let o=Bx(e);ck(o);let a=null;for(let l=0;a==null&&l<o.length;++l){let u=bk(s);a=xk(o[l],u,r)}return a}function Bx(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(s,o,a)=>{let l={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};l.relativePath.startsWith("/")&&(Ce(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=rr([r,l.relativePath]),c=n.concat(l);s.children&&s.children.length>0&&(Ce(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Bx(s.children,t,c,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:yk(u,s.index),routesMeta:c})};return e.forEach((s,o)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))i(s,o);else for(let l of Ux(s.path))i(s,o,l)}),t}function Ux(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=Ux(r.join("/")),a=[];return a.push(...o.map(l=>l===""?s:[s,l].join("/"))),i&&a.push(...o),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function ck(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:vk(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const dk=/^:[\w-]+$/,fk=3,hk=2,pk=1,mk=10,gk=-2,fm=e=>e==="*";function yk(e,t){let n=e.split("/"),r=n.length;return n.some(fm)&&(r+=gk),t&&(r+=hk),n.filter(i=>!fm(i)).reduce((i,s)=>i+(dk.test(s)?fk:s===""?pk:mk),r)}function vk(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 xk(e,t,n){let{routesMeta:r}=e,i={},s="/",o=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,c=s==="/"?t:t.slice(s.length)||"/",f
vendor: 9,612 bytes, lines 190-199
190=hm({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),h=l.route;if(!f&&u&&n&&!r[r.length-1].route.index&&(f=hm({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!f)return null;Object.assign(i,f.params),o.push({params:i,pathname:rr([s,f.pathname]),pathnameBase:Tk(rr([s,f.pathnameBase])),route:h}),f.pathnameBase!=="/"&&(s=rr([s,f.pathnameBase]))}return o}function hm(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=wk(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let s=i[0],o=s.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce((u,c,f)=>{let{paramName:h,isOptional:p}=c;if(h==="*"){let y=a[f]||"";o=s.slice(0,s.length-y.length).replace(/(.)\/+$/,"$1")}const w=a[f];return p&&!w?u[h]=void 0:u[h]=(w||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:o,pattern:e}}function wk(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),$x(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,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function bk(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return $x(!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 _f(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 Sk(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?es(e):e;return{pathname:n?n.startsWith("/")?n:Ck(n,t):t,search:Pk(r),hash:kk(i)}}function Ck(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 Nu(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 Ek(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Wx(e,t){let n=Ek(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Hx(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=es(e):(i=oo({},e),Ce(!i.pathname||!i.pathname.includes("?"),Nu("?","pathname","search",i)),Ce(!i.pathname||!i.pathname.includes("#"),Nu("#","pathname","hash",i)),Ce(!i.search||!i.search.includes("#"),Nu("#","search","hash",i)));let s=e===""||i.pathname==="",o=s?"/":i.pathname,a;if(o==null)a=n;else{let f=t.length-1;if(!r&&o.startsWith("..")){let h=o.split("/");for(;h[0]==="..";)h.shift(),f-=1;i.pathname=h.join("/")}a=f>=0?t[f]:"/"}let l=Sk(i,a),u=o&&o!=="/"&&o.endsWith("/"),c=(s||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const rr=e=>e.join("/").replace(/\/\/+/g,"/"),Tk=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Pk=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,kk=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Nk(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Kx=["post","put","patch","delete"];new Set(Kx);const jk=["get",...Kx];new Set(jk);/** 191 * React Router v6.30.1 192 * 193 * Copyright (c) Remix Software Inc. 194 * 195 * This source code is licensed under the MIT license found in the 196 * LICENSE.md file in the root directory of this source tree. 197 * 198 * @license MIT 199 */function ao(){return ao=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},ao.apply(this,arguments)}const Ff=x.createContext(null),Rk=x.createContext(null),Kr=x.createContext(null),_l=x.createContext(null),qr=x.createContext({outlet:null,matches:[],isDataRoute:!1}),qx=x.createContext(null);function Mk(e,t){let{relative:n}=t===void 0?{}:t;To()||Ce(!1);let{basename:r,navigator:i}=x.useContext(Kr),{hash:s,pathname:o,search:a}=Qx(e,{relative:n}),l=o;return r!=="/"&&(l=o==="/"?r:rr([r,o])),i.createHref({pathname:l,search:a,hash:s})}function To(){return x.useContext(_l)!=null}function Gr(){return To()||Ce(!1),x.useContext(_l).location}function Gx(e){x.useContext(Kr).static||x.useLayoutEffect(e)}function Ak(){let{isDataRoute:e}=x.useContext(qr);return e?Hk():Dk()}function Dk(){To()||Ce(!1);let e=x.useContext(Ff),{basename:t,future:n,navigator:r}=x.useContext(Kr),{matches:i}=x.useContext(qr),{pathname:s}=Gr(),o=JSON.stringify(Wx(i,n.v7_relativeSplatPath)),a=x.useRef(!1);return Gx(()=>{a.current=!0}),x.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let f=Hx(u,JSON.parse(o),s,c.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:rr([t,f.pathname])),(c.replace?r.replace:r.push)(f,c.state,c)},[t,r,o,s,e])}function Qx(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=x.useContext(Kr),{matches:i}=x.useContext(qr),{pathname:s}=Gr(),o=JSON.stringify(Wx(i,r.v7_relativeSplatPath));return x.useMemo(()=>Hx(e,JSON.parse(o),s,n==="path"),[e,o,s,n])}function Lk(e,t){return Ok(e,t)}function Ok(e,t,n,r){To()||Ce(!1);let{navigator:i}=x.useContext(Kr),{matches:s}=x.useContext(qr),o=s[s.length-1],a=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let u=Gr(),c;if(t){var f;let b=typeof t=="string"?es(t):t;l==="/"||(f=b.pathname)!=null&&f.startsWith(l)||Ce(!1),c=b}else c=u;let h=c.pathname||"/",p=h;if(l!=="/"){let b=l.replace(/^\//,"").split("/");p="/"+h.replace(/^\//,"").split("/").slice(b.length).join("/")}let w=lk(e,{pathname:p}),y=zk(w&&w.map(b=>Object.assign({},b,{params:Object.assign({},a,b.params),pathname:rr([l,i.encodeLocation?i.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?l:rr([l,i.encodeLocation?i.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),s,n,r);return t&&y?x.createElement(_l.Provider,{value:{location:ao({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:qn.Pop}},y):y}function Ik(){let e=Wk(),t=Nk(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 x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:i},n):null,null)}const Vk=x.createElement(Ik,null);class _k extends x.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?x.createElement(qr.Provider,{value:this.props.routeContext},x.createElement(qx.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Fk(e){let{routeContext:t,match:n,children:r}=e,i=x.useContext(Ff);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(qr.Provider,{value:t},r)}function zk(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,a=(i=n)==null?void 0:i.errors;if(a!=null){let c=o.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);c>=0||Ce(!1),o=o.slice(0,Math.min(o.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<o.length;c++){let f=o[c];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=c),f.route.id){let{loaderData:h,errors:p}=n,w=f.route.loader&&h[f.route.id]===void 0&&(!p||p[f.route.id]===void 0);if(f.route.lazy||w){l=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((c,f,h)=>{let p,w=!1,y=null,b=null;n&&(p=a&&f.route.id?a[f.route.id]:void 0,y=f.route.errorElement||Vk,l&&(u<0&&h===0?(w=!0,b=null):u===h&&(w=!0,b=f.route.hydrateFallbackElement||null)));let g=t.concat(o.slice(0,h+1)),m=()=>{let v;return p?v=y:w?v=b:f.route.Component?v=x.createElement(f.route.Component,null):f.route.element?v=f.route.element:v=c,x.createElement(Fk,{match:f,routeContext:{outlet:c,matches:g,isDataRoute:n!=null},children:v})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?x.createElement(_k,{location:n.location,revalidation:n.revalidation,component:y,error:p,children:m(),routeC
199ontext:{outlet:null,matches:g,isDataRoute:!0}}):m()},null)}var Yx=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Yx||{}),rl=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}(rl||{});function $k(e){let t=x.useContext(Ff);return t||Ce(!1),t}function Bk(e){let t=x.useContext(Rk);return t||Ce(!1),t}function Uk(e){let t=x.useContext(qr);return t||Ce(!1),t}function Xx(e){let t=Uk(),n=t.matches[t.matches.length-1];return n.route.id||Ce(!1),n.route.id}function Wk(){var e;let t=x.useContext(qx),n=Bk(rl.UseRouteError),r=Xx(rl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Hk(){let{router:e}=$k(Yx.UseNavigateStable),t=Xx(rl.UseNavigateStable),n=x.useRef(!1);return Gx(()=>{n.current=!0}),x.useCallback(function(i,s){s===void 0&&(s={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,ao({fromRouteId:t},s)))},[e,t])}function Kk(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function qt(e){Ce(!1)}function qk(e){let{basename:t="/",children:n=null,location:r,navigationType:i=qn.Pop,navigator:s,static:o=!1,future:a}=e;To()&&Ce(!1);let l=t.replace(/^\/*/,"/"),u=x.useMemo(()=>({basename:l,navigator:s,static:o,future:ao({v7_relativeSplatPath:!1},a)}),[l,a,s,o]);typeof r=="string"&&(r=es(r));let{pathname:c="/",search:f="",hash:h="",state:p=null,key:w="default"}=r,y=x.useMemo(()=>{let b=_f(c,l);return b==null?null:{location:{pathname:b,search:f,hash:h,state:p,key:w},navigationType:i}},[l,c,f,h,p,w,i]);return y==null?null:x.createElement(Kr.Provider,{value:u},x.createElement(_l.Provider,{children:n,value:y}))}function Gk(e){let{children:t,location:n}=e;return Lk(ed(t),n)}new Promise(()=>{});function ed(e,t){t===void 0&&(t=[]);let n=[];return x.Children.forEach(e,(r,i)=>{if(!x.isValidElement(r))return;let s=[...t,i];if(r.type===x.Fragment){n.push.apply(n,ed(r.props.children,s));return}r.type!==qt&&Ce(!1),!r.props.index||!r.props.children||Ce(!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=ed(r.props.children,s)),n.push(o)}),n}/** 200 * React Router DOM v6.30.1 201 * 202 * Copyright (c) Remix Software Inc. 203 * 204 * This source code is licensed under the MIT license found in the 205 * LICENSE.md file in the root directory of this source tree. 206 * 207 * @license MIT 208 */function td(){return td=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},td.apply(this,arguments)}function Qk(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 Yk(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Xk(e,t){return e.button===0&&(!t||t==="_self")&&!Yk(e)}const Zk=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Jk="6";try{window.__reactRouterVersion=Jk}catch{}const eN="startTransition",pm=sy[eN];function tN(e){let{basename:t,children:n,future:r,window:i}=e,s=x.useRef();s.current==null&&(s.current=sk({window:i,v5Compat:!0}));let o=s.current,[a,l]=x.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},c=x.useCallback(f=>{u&&pm?pm(()=>l(f)):l(f)},[l,u]);return x.useLayoutEffect(()=>o.listen(c),[o,c]),x.useEffect(()=>Kk(r),[r]),x.createElement(qk,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}const nN=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",rN=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,He=x.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:s,replace:o,state:a,target:l,to:u,preventScrollReset:c,viewTransition:f}=t,h=Qk(t,Zk),{basename:p}=x.useContext(Kr),w,y=!1;if(typeof u=="string"&&rN.test(u)&&(w=u,nN))try{let v=new URL(window.location.href),S=u.startsWith("//")?new URL(v.protocol+u):new URL(u),C=_f(S.pathname,p);S.origin===v.origin&&C!=null?u=C+S.search+S.hash:y=!0}catch{}let b=Mk(u,{relative:i}),g=iN(u,{replace:o,state:a,target:l,preventScrollReset:c,relative:i,viewTransition:f});function m(v){r&&r(v),v.defaultPrevented||g(v)}return x.createElement("a",td({},h,{href:w||b,onClick:y||s?r:m,ref:n,target:l}))});var mm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(mm||(mm={}));var gm;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(gm||(gm={}));function iN(e,t){let{target:n,replace:r,state:i,preventScrollReset:s,relative:o,viewTransition:a}=t===void 0?{}:t,l=Ak(),u=Gr(),c=Qx(e,{relative:o});return x.useCallback(f=>{if(Xk(f,n)){f.preventDefault();let h=r!==void 0?r:nl(u)===nl(c);l(e,{replace:h,state:i,preventScrollReset:s,relative:o,viewTransition:a})}},[u,l,c,r,i,n,e,s,o,a])}const sN=()=>{const{pathname:e}=Gr();return x.useEffect(()=>{window.scrollTo(0,0)},[e]),null},oN=Tf("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg text-sm font-medium ring-offset-background transition-all duration-300 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 shadow-sm hover:shadow-md",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",hero:"bg-primary text-primary-foreground hover:bg-primary/90 shadow-lg hover:shadow-xl hover:-translate-y-0.5 font-semibold",heroOutline:"border-2 border-primary-foreground
208/30 bg-transparent text-primary-foreground hover:bg-primary-foreground/10 backdrop-blur-sm font-semibold",accent:"bg-accent text-accent-foreground hover:bg-accent/90 shadow-md hover:shadow-lg hover:-translate-y-0.5",cta:"bg-gradient-to-r from-primary to-accent text-primary-foreground hover:opacity-90 shadow-lg hover:shadow-xl hover:-translate-y-0.5 font-semibold"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-12 rounded-xl px-8 text-base",xl:"h-14 rounded-xl px-10 text-lg",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Wt=x.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},s)=>{const o=r?PC:"button";return d.jsx(o,{className:Ht(oN({variant:t,size:n,className:e})),ref:s,...i})});Wt.displayName="Button";const zf=x.createContext({});function $f(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}const Zx=typeof window<"u",Jx=Zx?x.useLayoutEffect:x.useEffect,Fl=x.createContext(null);function Bf(e,t){e.indexOf(t)===-1&&e.push(t)}function Uf(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const an=(e,t,n)=>n>t?t:n<e?e:n;let zl=()=>{},Ki=()=>{};const Cn={},e1=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function t1(e){return typeof e=="object"&&e!==null}const n1=e=>/^0[^.\s]+$/u.test(e);function Wf(e){let t;return()=>(t===void 0&&(t=e()),t)}const St=e=>e,aN=(e,t)=>n=>t(e(n)),Po=(...e)=>e.reduce(aN),lo=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class Hf{constructor(){this.subscriptions=[]}add(t){return Bf(this.subscriptions,t),()=>Uf(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 rn=e=>e*1e3,wt=e=>e/1e3;function r1(e,t){return t?e*(1e3/t):0}const i1=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,lN=1e-7,uN=12;function cN(e,t,n,r,i){let s,o,a=0;do o=t+(n-t)/2,s=i1(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>lN&&++a<uN);return o}function ko(e,t,n,r){if(e===t&&n===r)return St;const i=s=>cN(s,0,1,e,n);return s=>s===0||s===1?s:i1(i(s),t,r)}const s1=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,o1=e=>t=>1-e(1-t),a1=ko(.33,1.53,.69,.99),Kf=o1(a1),l1=s1(Kf),u1=e=>(e*=2)<1?.5*Kf(e):.5*(2-Math.pow(2,-10*(e-1))),qf=e=>1-Math.sin(Math.acos(e)),c1=o1(qf),d1=s1(qf),dN=ko(.42,0,1,1),fN=ko(0,0,.58,1),f1=ko(.42,0,.58,1),hN=e=>Array.isArray(e)&&typeof e[0]!="number",h1=e=>Array.isArray(e)&&typeof e[0]=="number",ym={linear:St,easeIn:dN,easeInOut:f1,easeOut:fN,circIn:qf,circInOut:d1,circOut:c1,backIn:Kf,backInOut:l1,backOut:a1,anticipate:u1},pN=e=>typeof e=="string",vm=e=>{if(h1(e)){Ki(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(pN(e))return Ki(ym[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),ym[e];return e},na=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],xm={value:null,addProjectionMetrics:null};function mN(e,t){let n=new Set,r=new Set,i=!1,s=!1;const o=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(f){o.has(f)&&(c.schedule(f),e()),l++,f(a)}const c={schedule:(f,h=!1,p=!1)=>{const y=p&&i?n:r;return h&&o.add(f),y.has(f)||y.add(f),f},cancel:f=>{r.delete(f),o.delete(f)},process:f=>{if(a=f,i){s=!0;return}i=!0,[n,r]=[r,n],n.forEach(u),t&&xm.value&&xm.value.frameloop[t].push(l),l=0,n.clear(),i=!1,s&&(s=!1,c.process(f))}};return c}const gN=40;function p1(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=na.reduce((v,S)=>(v[S]=mN(s,t?S:void 0),v),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:f,preRender:h,render:p,postRender:w}=o,y=()=>{const v=Cn.useManualTiming?i.timestamp:performance.now();n=!1,Cn.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(v-i.timestamp,gN),1)),i.timestamp=v,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),f.process(i),h.process(i),p.process(i),w.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(y))},b=()=>{n=!0,r=!0,i.isProcessing||e(y)};return{schedule:na.reduce((v,S)=>{const C=o[S];return v[S]=(E,T=!1,P=!1)=>(n||b(),C.schedule(E,T,P)),v},{}),cancel:v=>{for(let S=0;S<na.length;S++)o[na[S]].cancel(v)},state:i,steps:o}}const{schedule:le,cancel:cr,state:Me,steps:ju}=p1(typeof requestAnimationFrame<"u"?requestAnimationFrame:St,!0);let Sa;function yN(){Sa=void 0}const Ke={now:()=>(Sa===void 0&&Ke.set(Me.isProcessing||Cn.useManualTiming?Me.timestamp:performance.now()),Sa),set:e=>{Sa=e,queueMicrotask(yN)}},m1=e=>t=>typeof t=="string"&&t.startsWith(e),g1=m1("--"),vN=m1("var(--"),Gf=e=>vN(e)?xN.test(e.split("/*")[0].trim()):!1,xN=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function wm(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const ts={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},uo={...ts,transform:e=>an(0,1,e)},ra={...ts,default:1},Os=e=>Math.round(e*1e5)/1e5,Qf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function wN(e){return e==null}const bN=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Yf=(e,t)=>n=>!!(typeof n=="string"&&bN.test(n)&&n.startsWith(e)||t&&!wN(n)&&Object.prototype.hasOwnProperty.call(n,t)),y1=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,s,o,a]=r.match(Qf);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},SN=e=>an(0,255,e),Ru={...ts,transform:e=>Math.round(SN(e))},kr={test:Yf("rgb","red"),parse:y1("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Ru.transform(e)+", "+Ru.transform(t)+", "+Ru.transform(n)+", "+Os(uo.transform(r))+")"};function CN(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),alph
vendor: 4,202 bytes, line 208
208a:i?parseInt(i,16)/255:1}}const nd={test:Yf("#"),parse:CN,transform:kr.transform},No=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),On=No("deg"),sn=No("%"),F=No("px"),EN=No("vh"),TN=No("vw"),bm={...sn,parse:e=>sn.parse(e)/100,transform:e=>sn.transform(e*100)},gi={test:Yf("hsl","hue"),parse:y1("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+sn.transform(Os(t))+", "+sn.transform(Os(n))+", "+Os(uo.transform(r))+")"},be={test:e=>kr.test(e)||nd.test(e)||gi.test(e),parse:e=>kr.test(e)?kr.parse(e):gi.test(e)?gi.parse(e):nd.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?kr.transform(e):gi.transform(e),getAnimatableNone:e=>{const t=be.parse(e);return t.alpha=0,be.transform(t)}},PN=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function kN(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Qf))==null?void 0:t.length)||0)+(((n=e.match(PN))==null?void 0:n.length)||0)>0}const v1="number",x1="color",NN="var",jN="var(",Sm="${}",RN=/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 co(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let s=0;const a=t.replace(RN,l=>(be.test(l)?(r.color.push(s),i.push(x1),n.push(be.parse(l))):l.startsWith(jN)?(r.var.push(s),i.push(NN),n.push(l)):(r.number.push(s),i.push(v1),n.push(parseFloat(l))),++s,Sm)).split(Sm);return{values:n,split:a,indexes:r,types:i}}function w1(e){return co(e).values}function b1(e){const{split:t,types:n}=co(e),r=t.length;return i=>{let s="";for(let o=0;o<r;o++)if(s+=t[o],i[o]!==void 0){const a=n[o];a===v1?s+=Os(i[o]):a===x1?s+=be.transform(i[o]):s+=i[o]}return s}}const MN=e=>typeof e=="number"?0:be.test(e)?be.getAnimatableNone(e):e;function AN(e){const t=w1(e);return b1(e)(t.map(MN))}const dr={test:kN,parse:w1,createTransformer:b1,getAnimatableNone:AN};function Mu(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 DN({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 a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=Mu(l,a,e+1/3),s=Mu(l,a,e),o=Mu(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}function il(e,t){return n=>n>0?t:e}const pe=(e,t,n)=>e+(t-e)*n,Au=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},LN=[nd,kr,gi],ON=e=>LN.find(t=>t.test(e));function Cm(e){const t=ON(e);if(zl(!!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===gi&&(n=DN(n)),n}const Em=(e,t)=>{const n=Cm(e),r=Cm(t);if(!n||!r)return il(e,t);const i={...n};return s=>(i.red=Au(n.red,r.red,s),i.green=Au(n.green,r.green,s),i.blue=Au(n.blue,r.blue,s),i.alpha=pe(n.alpha,r.alpha,s),kr.transform(i))},rd=new Set(["none","hidden"]);function IN(e,t){return rd.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function VN(e,t){return n=>pe(e,t,n)}function Xf(e){return typeof e=="number"?VN:typeof e=="string"?Gf(e)?il:be.test(e)?Em:zN:Array.isArray(e)?S1:typeof e=="object"?be.test(e)?Em:_N:il}function S1(e,t){const n=[...e],r=n.length,i=e.map((s,o)=>Xf(s)(s,t[o]));return s=>{for(let o=0;o<r;o++)n[o]=i[o](s);return n}}function _N(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Xf(e[i])(e[i],t[i]));return i=>{for(const s in r)n[s]=r[s](i);return n}}function FN(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]],a=e.values[o]??0;n[i]=a,r[s]++}return n}const zN=(e,t)=>{const n=dr.createTransformer(t),r=co(e),i=co(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?rd.has(e)&&!i.values.length||rd.has(t)&&!r.values.length?IN(e,t):Po(S1(FN(r,i),i.values),n):(zl(!0,`Complex values '${e}' and '${t}
208' 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"),il(e,t))};function C1(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?pe(e,t,n):Xf(e)(e,t)}const $N=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>le.update(t,n),stop:()=>cr(t),now:()=>Me.isProcessing?Me.timestamp:Ke.now()}},E1=(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)})`},sl=2e4;function Zf(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<sl;)t+=n,r=e.next(t);return t>=sl?1/0:t}function BN(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(Zf(r),sl);return{type:"keyframes",ease:s=>r.next(i*s).value/t,duration:wt(i)}}const UN=5;function T1(e,t,n){const r=Math.max(t-UN,0);return r1(n-e(r),t-r)}const fe={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},Du=.001;function WN({duration:e=fe.duration,bounce:t=fe.bounce,velocity:n=fe.velocity,mass:r=fe.mass}){let i,s;zl(e<=rn(fe.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=an(fe.minDamping,fe.maxDamping,o),e=an(fe.minDuration,fe.maxDuration,wt(e)),o<1?(i=u=>{const c=u*o,f=c*e,h=c-n,p=id(u,o),w=Math.exp(-f);return Du-h/p*w},s=u=>{const f=u*o*e,h=f*n+n,p=Math.pow(o,2)*Math.pow(u,2)*e,w=Math.exp(-f),y=id(Math.pow(u,2),o);return(-i(u)+Du>0?-1:1)*((h-p)*w)/y}):(i=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-Du+c*f},s=u=>{const c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});const a=5/e,l=KN(i,s,a);if(e=rn(e),isNaN(l))return{stiffness:fe.stiffness,damping:fe.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const HN=12;function KN(e,t,n){let r=n;for(let i=1;i<HN;i++)r=r-e(r)/t(r);return r}function id(e,t){return e*Math.sqrt(1-t*t)}const qN=["duration","bounce"],GN=["stiffness","damping","mass"];function Tm(e,t){return t.some(n=>e[n]!==void 0)}function QN(e){let t={velocity:fe.velocity,stiffness:fe.stiffness,damping:fe.damping,mass:fe.mass,isResolvedFromDuration:!1,...e};if(!Tm(e,GN)&&Tm(e,qN))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,s=2*an(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:fe.mass,stiffness:i,damping:s}}else{const n=WN(e);t={...t,...n,mass:fe.mass},t.isResolvedFromDuration=!0}return t}function ol(e=fe.visualDuration,t=fe.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],a={done:!1,value:s},{stiffness:l,damping:u,mass:c,duration:f,velocity:h,isResolvedFromDuration:p}=QN({...n,velocity:-wt(n.velocity||0)}),w=h||0,y=u/(2*Math.sqrt(l*c)),b=o-s,g=wt(Math.sqrt(l/c)),m=Math.abs(b)<5;r||(r=m?fe.restSpeed.granular:fe.restSpeed.default),i||(i=m?fe.restDelta.granular:fe.restDelta.default);let v;if(y<1){const C=id(g,y);v=E=>{const T=Math.exp(-y*g*E);return o-T*((w+y*g*b)/C*Math.sin(C*E)+b*Math.cos(C*E))}}else if(y===1)v=C=>o-Math.exp(-g*C)*(b+(w+g*b)*C);else{const C=g*Math.sqrt(y*y-1);v=E=>{const T=Math.exp(-y*g*E),P=Math.min(C*E,300);return o-T*((w+y*g*b)*Math.sinh(P)+C*b*Math.cosh(P))/C}}const S={calculatedDuration:p&&f||null,next:C=>{const E=v(C);if(p)a.done=C>=f;else{let T=C===0?w:0;y<1&&(T=C===0?rn(w):T1(v,C,E));const P=Math.abs(T)<=r,R=Math.abs(o-E)<=i;a.done=P&&R}return a.value=a.done?o:E,a},toString:()=>{const C=Math.min(Zf(S),sl),E=E1(T=>S.next(C*T).value,C,30);return C+"ms "+E},toTransition:()=>{}};return S}ol.applyToOptions=e=>{const t=BN(e,100,ol);return e.ease=t.ease,e.duration=rn(t.duration),e.type="keyframes",e};function sd({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){const f=e[0],h={done:!1,value:f},p=P=>a!==void 0&&P<a||l!==void 0&&P>l,w=P=>a===void 0?l:l===void 0||Math.abs(a-P)<Math.abs(l-P)?a:l;let y=n*t;
vendor: 15,403 bytes, line 208
208const b=f+y,g=o===void 0?b:o(b);g!==b&&(y=g-f);const m=P=>-y*Math.exp(-P/r),v=P=>g+m(P),S=P=>{const R=m(P),M=v(P);h.done=Math.abs(R)<=u,h.value=h.done?g:M};let C,E;const T=P=>{p(h.value)&&(C=P,E=ol({keyframes:[h.value,w(h.value)],velocity:T1(v,P,h.value),damping:i,stiffness:s,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:P=>{let R=!1;return!E&&C===void 0&&(R=!0,S(P),T(P)),C!==void 0&&P>=C?E.next(P-C):(!R&&S(P),h)}}}function YN(e,t,n){const r=[],i=n||Cn.mix||C1,s=e.length-1;for(let o=0;o<s;o++){let a=i(e[o],e[o+1]);if(t){const l=Array.isArray(t)?t[o]||St:t;a=Po(l,a)}r.push(a)}return r}function XN(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const s=e.length;if(Ki(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 a=YN(t,r,i),l=a.length,u=c=>{if(o&&c<e[0])return t[0];let f=0;if(l>1)for(;f<e.length-2&&!(c<e[f+1]);f++);const h=lo(e[f],e[f+1],c);return a[f](h)};return n?c=>u(an(e[0],e[s-1],c)):u}function ZN(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=lo(0,t,r);e.push(pe(n,1,i))}}function JN(e){const t=[0];return ZN(t,e.length-1),t}function ej(e,t){return e.map(n=>n*t)}function tj(e,t){return e.map(()=>t||f1).splice(0,e.length-1)}function Is({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=hN(r)?r.map(vm):vm(r),s={done:!1,value:t[0]},o=ej(n&&n.length===t.length?n:JN(t),e),a=XN(o,t,{ease:Array.isArray(i)?i:tj(t,i)});return{calculatedDuration:e,next:l=>(s.value=a(l),s.done=l>=e,s)}}const nj=e=>e!==null;function Jf(e,{repeat:t,repeatType:n="loop"},r,i=1){const s=e.filter(nj),a=i<0||t&&n!=="loop"&&t%2===1?0:s.length-1;return!a||r===void 0?s[a]:r}const rj={decay:sd,inertia:sd,tween:Is,keyframes:Is,spring:ol};function P1(e){typeof e.type=="string"&&(e.type=rj[e.type])}class eh{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 ij=e=>e/100;class th extends eh{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var r,i;const{motionValue:n}=this.options;n&&n.updatedAt!==Ke.now()&&this.tick(Ke.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;P1(t);const{type:n=Is,repeat:r=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=t;let{keyframes:a}=t;const l=n||Is;l!==Is&&typeof a[0]!="number"&&(this.mixKeyframes=Po(ij,C1(a[0],a[1])),a=[0,100]);const u=l({...t,keyframes:a});s==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=Zf(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+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:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:c,repeat:f,repeatType:h,repeatDelay:p,type:w,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),m=this.playbackSpeed>=0?g<0:g>i;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let v=this.currentTime,S=r;if(f){const P=Math.min(this.currentTime,i)/a;let R=Math.floor(P),M=P%1;!M&&P>=1&&(M=1),M===1&&R--,R=Math.min(R,f+1),!!(R%2)&&(h==="reverse"?(M=1-M,p&&(M-=p/a)):h==="mirror"&&(S=o)),v=an(0,1,M)*a}const C=m?{done:!1,value:c[0]}:S.next(v);s&&(C.value=s(C.value));let{done:E}=C;!m&&l!==null&&(E=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return T&&w!==sd&&(C.value=Jf(c,this.options,b,this.speed)),y&&y(C.value),T&&this.finish(),C}then(t,n){return this.finished.then(t,n)}get duration(){return wt(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+wt(t)}get time(){return wt(this.currentTime)}set time(t){var n;t=rn(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),(n=this.driver)==null||n.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(Ke.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=wt(this.currentTime))}play(){var i,s;if(this.isStopped)return;const{driver:t=$N,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(Ke.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 sj(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Nr=e=>e*180/Math.PI,od=e=>{const t=Nr(Math.atan2(e[1],e[0]));return ad(t)},oj={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:od,rotateZ:od,skewX:e=>Nr(Math.atan(e[1])),skewY:e=>Nr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},ad=e=>(e=e%360,e<0&&(e+=360),e),Pm=od,km=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Nm=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),aj={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:km,scaleY:Nm,scale:e=>(km(e)+Nm(e))/2,rotateX:e=>ad(Nr(Math.atan2(e[6],e[5]))),rotateY:e=>ad(Nr(Math.atan2(-e[2],e[0]))),rotateZ:Pm,rotate:Pm,skewX:e=>Nr(Math.atan(e[4])),skewY:e=>Nr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ld(e){return e.includes("scale")?1:0}function ud(e,t){if(!e||e==="none")return ld(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=aj,i=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=oj,i=a}if(!i)return ld(t);const s=r[t],o=i[1].split(",").map(uj);return typeof s=="function"?s(o):o[s]}const lj=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return ud(n,t)};function uj(e){return parseFloat(e.trim())}const ns=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],rs=new Set(ns),jm=e=>e===ts||e===F,cj=new Set(["x","y","z"]),dj=ns.filter(e=>!cj.has(e));function fj(e){const t=[];return dj.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Gn={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>ud(t,"x"),y:(e,{transform:t})=>ud(t,"y")};Gn.translateX=Gn.x;Gn.translateY=Gn.y;const Vr=new Set;let cd=!1,dd=!1,fd=!1;function k1(){if(dd){const e=Array.from(Vr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=fj(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 a;(a=r.getValue(s))==null||a.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}dd=!1,cd=!1,Vr.forEach(e=>e.complete(fd)),Vr.clear()}function N1(){Vr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(dd=!0)})}function hj(){fd=!0,N1(),k1(),fd=!1}class nh{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?(Vr.add(this),cd||(cd=!0,le.read(N1),le.resolveKeyframes(k1))):(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 a=r.readValue(n,o);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=o),i&&s===void 0&&i.set(t[0])}sj(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Vr.delete(this)}cancel(){this.state==="scheduled"&&(Vr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const pj=e=>e.startsWith("--");function mj(e,t,n){pj(t)?e.style.setProperty(t,n):e.style[t]=n}const gj=Wf(()=>window.ScrollTimeline!==void 0),yj={};function vj(e,t){const n=Wf(e);return()=>yj[t]??n()}const j1=vj(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),bs=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Rm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:bs([0,.65,.55,1]),circOut:bs([.55,0,1,.45]),backIn:bs([.31,.01,.66,-.59]),backOut:bs([.33,1.53,.69,.99])};function R1(e,t){if(e)return typeof e=="function"?j1()?E1(e,t):"ease-out":h1(e)?bs(e):Array.isArray(e)?e.map(n=>R1(n,t)||Rm.easeOut):Rm[e]}function xj(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[t]:n};l&&(c.offset=l);const f=R1(a,i);Array.isArray(f)&&(c.easing=f);const h={delay:r,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"};return u&&(h.pseudoElement=u),e.animate(c,h)}function M1(e){return typeof e=="function"&&"applyToOptions"in e}function wj({type:e,...t}){return M1(e)&&j1()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class bj extends eh{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:a,onComplete:l}=t;this.isPseudoElement=!!s,this.allowFlatten=o,this.options=t,Ki(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=wj(t);this.animation=xj(n,r,i,u,s),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const c=Jf(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(c):mj(n,r,c),this.animation.cancel()}l==null||l(),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 t,n;this.isPseudoElement||(n=(t=this.animation).commitStyles)==null||n.call(t)}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 wt(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+wt(t)}get time(){return wt(Number(this.animation.currentTime)||0)}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=rn(t)}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,observe:n}){var r;return this.allowFlatten&&((r=this.animation.effect)==null||r.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&gj()?(this.animation.timeline=t,St):n(this)}}const A1={anticipate:u1,backInOut:l1,circInOut:d1};function Sj(e){return e in A1}function Cj(e){typeof e.ease=="string"&&Sj(e.ease)&&(e.ease=A1[e.ease])}const Lu=10;class Ej extends bj{constructor(t){Cj(t),P1(t),super(t),t.startTime!==void 0&&(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 a=new th({...o,autoplay:!1}),l=Math.max(Lu,Ke.now()-this.startTime),u=an(0,Lu,l-Lu);n.setWithVelocity(a.sample(Math.max(0,l-u)).value,a.sample(l).value,u),a.stop()}}const Mm=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(dr.test(e)||e==="0")&&!e.startsWith("url("));function Tj(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 Pj(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=Mm(i,t),a=Mm(s,t);return zl(o===a,`You are trying to animate ${t} from "${i}" to "${s}". "${o?s:i}" is not an animatable value.`,"value-not-animatable"),!o||!a?!1:Tj(e)||(n==="spring"||M1(n))&&r}function hd(e){e.duration=0,e.type="keyframes"}const kj=new Set(["opacity","clipPath","filter","transform"]),Nj=Wf(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function jj(e){var c;const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:s,type:o}=e;if(!(((c=t==null?void 0:t.owner)==null?void 0:c.current)instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:u}=t.owner.getProps();return Nj()&&n&&kj.has(n)&&(n!=="transform"||!u)&&!l&&!r&&i!=="mirror"&&s!==0&&o!=="inertia"}const Rj=40;class Mj extends eh{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:
208o="loop",keyframes:a,name:l,motionValue:u,element:c,...f}){var w;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=Ke.now();const h={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:s,repeatType:o,name:l,motionValue:u,element:c,...f},p=(c==null?void 0:c.KeyframeResolver)||nh;this.keyframeResolver=new p(a,(y,b,g)=>this.onKeyframesResolved(y,b,h,!g),l,u,c),(w=this.keyframeResolver)==null||w.scheduleResolve()}onKeyframesResolved(t,n,r,i){var b,g;this.keyframeResolver=void 0;const{name:s,type:o,velocity:a,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=Ke.now(),Pj(t,s,o,a)||((Cn.instantAnimations||!l)&&(c==null||c(Jf(t,r,n))),t[0]=t[t.length-1],hd(r),r.repeat=0);const h={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Rj?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},p=!u&&jj(h),w=(g=(b=h.motionValue)==null?void 0:b.owner)==null?void 0:g.current,y=p?new Ej({...h,element:w}):new th(h);y.finished.then(()=>{this.notifyFinished()}).catch(St),this.pendingTimeline&&(this.stopTimeline=y.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=y}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(),hj()),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()}}function D1(e,t,n,r=0,i=1){const s=Array.from(e).sort((u,c)=>u.sortNodePosition(c)).indexOf(t),o=e.size,a=(o-1)*r;return typeof n=="function"?n(s,o):i===1?s*r:a-s*r}const Aj=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Dj(e){const t=Aj.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}const Lj=4;function L1(e,t,n=1){Ki(n<=Lj,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,i]=Dj(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const o=s.trim();return e1(o)?parseFloat(o):o}return Gf(i)?L1(i,t,n+1):i}const Oj={type:"spring",stiffness:500,damping:25,restSpeed:10},Ij=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Vj={type:"keyframes",duration:.8},_j={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Fj=(e,{keyframes:t})=>t.length>2?Vj:rs.has(e)?e.startsWith("scale")?Ij(t[1]):Oj:_j,zj=e=>e!==null;function $j(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(zj),s=t&&n!=="loop"&&t%2===1?0:i.length-1;return!s||r===void 0?i[s]:r}function rh(e,t){return(e==null?void 0:e[t])??(e==null?void 0:e.default)??e}function Bj({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}const ih=(e,t,n,r={},i,s)=>o=>{const a=rh(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-rn(l);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:i};Bj(a)||Object.assign(c,Fj(e,c)),c.duration&&(c.duration=rn(c.duration)),c.repeatDelay&&(c.repeatDelay=rn(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(hd(c),c.delay===0&&(f=!0)),(Cn.instantAnimations||Cn.skipAnimations)&&(f=!0,hd(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,f&&!s&&t.get()!==void 0){const h=$j(c.keyframes,a);if(h!==void 0){le.update(()=>{c.onUpdate(h),c.onComplete()});return}}return a.isSync?new th(c):new Mj(c)};function Am(e){const t=[{},{}];
vendor: 22,062 bytes, line 208
208return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function sh(e,t,n,r){if(typeof t=="function"){const[i,s]=Am(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]=Am(r);t=t(n!==void 0?n:e.custom,i,s)}return t}function Ni(e,t,n){const r=e.getProps();return sh(r,t,n!==void 0?n:r.custom,e)}const O1=new Set(["width","height","top","left","right","bottom",...ns]),Dm=30,Uj=e=>!isNaN(parseFloat(e));class Wj{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var s;const i=Ke.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=Ke.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Uj(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 Hf);const r=this.events[t].add(n);return t==="change"?()=>{r(),le.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 this.current}getPrevious(){return this.prev}getVelocity(){const t=Ke.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Dm)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Dm);return r1(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 qi(e,t){return new Wj(e,t)}const pd=e=>Array.isArray(e);function Hj(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,qi(n))}function Kj(e){return pd(e)?e[e.length-1]||0:e}function qj(e,t){const n=Ni(e,t);let{transitionEnd:r={},transition:i={},...s}=n||{};s={...s,...r};for(const o in s){const a=Kj(s[o]);Hj(e,o,a)}}const ze=e=>!!(e&&e.getVelocity);function Gj(e){return!!(ze(e)&&e.add)}function md(e,t){const n=e.getValue("willChange");if(Gj(n))return n.add(t);if(!n&&Cn.WillChange){const r=new Cn.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function oh(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const Qj="framerAppearId",I1="data-"+oh(Qj);function V1(e){return e.props[I1]}function Yj({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function _1(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:s=e.getDefaultTransition(),transitionEnd:o,...a}=t;r&&(s=r);const l=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const c in a){const f=e.getValue(c,e.latestValues[c]??null),h=a[c];if(h===void 0||u&&Yj(u,c))continue;const p={delay:n,...rh(s||{},c)},w=f.get();if(w!==void 0&&!f.isAnimating&&!Array.isArray(h)&&h===w&&!p.velocity)continue;let y=!1;if(window.MotionHandoffAnimation){const g=V1(e);if(g){const m=window.MotionHandoffAnimation(g,c,le);m!==null&&(p.startTime=m,y=!0)}}md(e,c),f.start(ih(c,f,h,e.shouldReduceMotion&&O1.has(c)?{type:!1}:p,e,y));const b=f.animation;b&&l.push(b)}return o&&Promise.all(l).then(()=>{le.update(()=>{o&&qj(e,o)})}),l}function gd(e,t,n={}){var l;const r=Ni(e,t,n.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const s=r?()=>Promise.all(_1(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:f,staggerDirection:h}=i;return Xj(e,t,u,c,f,h,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[u,c]=a==="beforeChildren"?[s,o]:[o,s];return u().then(()=>c())}else return Promise.all([s(),o(n.delay)])}function Xj(e,t,n=0,r=0,i=0,s=1,o){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(gd(l,t,{...o,delay:n+(typeof r=="function"?0:r)+D1(e.variantChildren,l,r,i,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function Zj(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(s=>gd(e,s,n));r=Promise.all(i)}else if(typeof t=="string")r=gd(e,t,n);else{const i=typeof t=="function"?Ni(e,t,n.custom):t;r=Promise.all(_1(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const Jj={test:e=>e==="auto",parse:e=>e},F1=e=>t=>t.test(e),z1=[ts,F,sn,On,TN,EN,Jj],Lm=e=>z1.find(F1(e));function eR(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||n1(e):!0}const tR=new Set(["brightness","contrast","saturate","opacity"]);function nR(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Qf)||[];if(!r)return e;const i=n.replace(r,"");let s=tR.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const rR=/\b([a-z-]*)\(.*?\)/gu,yd={...dr,getAnimatableNone:e=>{const t=e.match(rR);return t?t.map(nR).join(" "):e}},Om={...ts,transform:Math.round},iR={rotate:On,rotateX:On,rotateY:On,rotateZ:On,scale:ra,scaleX:ra,scaleY:ra,scaleZ:ra,skew:On,skewX:On,skewY:On,distance:F,translateX:F,translateY:F,translateZ:F,x:F,y:F,z:F,perspective:F,transformPerspective:F,opacity:uo,originX:bm,originY:bm,originZ:F},ah={borderWidth:F,borderTopWidth:F,borderRightWidth:F,borderBottomWidth:F,borderLeftWidth:F,borderRadius:F,radius:F,borderTopLeftRadius:F,borderTopRightRadius:F,borderBottomRightRadius:F,borderBottomLeftRadius:F,width:F,maxWidth:F,height:F,maxHeight:F,top:F,right:F,bottom:F,left:F,inset:F,insetBlock:F,insetBlockStart:F,insetBlockEnd:F,insetInline:F,insetInlineStart:F,insetInlineEnd:F,padding:F,paddingTop:F,paddingRight:F,paddingBottom:F,paddingLeft:F,paddingBlock:F,paddingBlockStart:F,paddingBlockEnd:F,paddingInline:F,paddingInlineStart:F,paddingInlineEnd:F,margin:F,marginTop:F,marginRight:F,marginBottom:F,marginLeft:F,marginBlock:F,marginBlockStart:F,marginBlockEnd:F,marginInline:F,marginInlineStart:F,marginInlineEnd:F,backgroundPositionX:F,backgroundPositionY:F,...iR,zIndex:Om,fillOpacity:uo,strokeOpacity:uo,numOctaves:Om},sR={...ah,color:be,backgroundColor:be,outlineColor:be,fill:be,stroke:be,borderColor:be,borderTopColor:be,borderRightColor:be,borderBottomColor:be,borderLeftColor:be,filter:yd,WebkitFilter:yd},$1=e=>sR[e];function B1(e,t){let n=$1(e);return n!==yd&&(n=dr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const oR=new Set(["auto","none","0"]);function aR(e,t,n){let r=0,i;for(;r<e.length&&!i;){const s=e[r];typeof s=="string"&&!oR.has(s)&&co(s).values.length&&(i=e[r]),r++}if(i&&n)for(const s of t)e[s]=B1(n,i)}class lR extends nh{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 c=0;c<t.length;c++){let f=t[c];if(typeof f=="string"&&(f=f.trim(),Gf(f))){const h=L1(f,n.current);h!==void 0&&(t[c]=h),c===t.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!O1.has(r)||t.length!==2)return;const[i,s]=t,o=Lm(i),a=Lm(s),l=wm(i),u=wm(s);if(l!==u&&Gn[r]){this.needsMeasurement=!0;return}if(o!==a)if(jm(o)&&jm(a))for(let c=0;c<t.length;c++){const f=t[c];typeof f=="string"&&(t[c]=parseFloat(f))}else Gn[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)(t[i]===null||eR(t[i]))&&r.push(i);r.length&&aR(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=Gn[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 a;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]=Gn[n](t.measureViewportBox(),window.getComputedStyle(t.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEach(([l,u])=>{t.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function uR(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const i=document.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(r=>r!=null)}const U1=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function vd(e){return t1(e)&&"offsetHeight"in e}const{schedule:lh,cancel:$3}=p1(queueMicrotask,!1),Mt={x:!1,y:!1};function W1(){return Mt.x||Mt.y}function cR(e){return e==="x"||e==="y"?Mt[e]?null:(Mt[e]=!0,()=>{Mt[e]=!1}):Mt.x||Mt.y?null:(Mt.x=Mt.y=!0,()=>{Mt.x=Mt.y=!1})}function H1(e,t){const n=uR(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function Im(e){return!(e.pointerType==="touch"||W1())}function dR(e,t,n={}){const[r,i,s]=H1(e,n),o=a=>{if(!Im(a))return;const{target:l}=a,u=t(l,a);if(typeof u!="function"||!l)return;const c=f=>{Im(f)&&(u(f),l.removeEventListener("pointerleave",c))};l.addEventListener("pointerleave",c,i)};return r.forEach(a=>{a.addEventListener("pointerenter",o,i)}),s}const K1=(e,t)=>t?e===t?!0:K1(e,t.parentElement):!1,uh=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,fR=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function q1(e){return fR.has(e.tagName)||e.isContentEditable===!0}const Ca=new WeakSet;function Vm(e){return t=>{t.key==="Enter"&&e(t)}}function Ou(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const hR=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Vm(()=>{if(Ca.has(n))return;Ou(n,"down");const i=Vm(()=>{Ou(n,"up")}),s=()=>Ou(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 _m(e){return uh(e)&&!W1()}function pR(e,t,n={}){const[r,i,s]=H1(e,n),o=a=>{const l=a.currentTarget;if(!_m(a))return;Ca.add(l);const u=t(l,a),c=(p,w)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",h),Ca.has(l)&&Ca.delete(l),_m(p)&&typeof u=="function"&&u(p,{success:w})},f=p=>{c(p,l===window||l===document||n.useGlobalTarget||K1(l,p.target))},h=p=>{c(p,!1)};window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",h,i)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,i),vd(a)&&(a.addEventListener("focus",u=>hR(u,i)),!q1(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),s}function G1(e){return t1(e)&&"ownerSVGElement"in e}function mR(e){return G1(e)&&e.tagName==="svg"}const gR=[...z1,be,dr],yR=e=>gR.find(F1(e)),Fm=()=>({translate:0,scale:1,origin:0,originPoint:0}),yi=()=>({x:Fm(),y:Fm()}),zm=()=>({min:0,max:0}),Ee=()=>({x:zm(),y:zm()}),xd={current:null},Q1={current:!1},vR=typeof window<"u";function xR(){if(Q1.current=!0,!!vR)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>xd.current=e.matches;e.addEventListener("change",t),t()}else xd.current=!1}const wR=new WeakMap;function $l(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function fo(e){return typeof e=="string"||Array.isArray(e)}const ch=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],dh=["initial",...ch];function Bl(e){return $l(e.animate)||dh.some(t=>fo(e[t]))}function Y1(e){return!!(Bl(e)||e.variants)}function bR(e,t,n){for(const r in t){const i=t[r],s=n[r];if(ze(i))e.addValue(r,i);else if(ze(s))e.addValue(r,qi(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,qi(o!==void 0?o:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const $m=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let al={};function X1(e){al=e}function SR(){return al}class CR{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:s,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=nh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=Ke.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,le.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=Bl(n),this.isVariantNode=Y1(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in f){const p=f[h];l[h]!==void 0&&ze(p)&&p.set(l[h])}}mount(t){var n;this.current=t,wR.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((r,i)=>this.bindToMotionValue(i,r)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Q1.current||xR(),this.shouldReduceMotion=xd.current),(n=this.parent)==null||n.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var t;this.projection&&this.projection.unmount(),cr(this.notifyUpdate),cr(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){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=rs.has(t);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&le.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):Ee()}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<$m.length;r++){const i=$m[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=bR(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=qi(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"&&(e1(r)||n1(r))?r=parseFloat(r):!yR(r)&&dr.test(n)&&(r=B1(t,n)),this.setBaseTarget(t,ze(r)?r.get():r)),ze(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=sh(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&&!ze(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 Hf),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){lh.render(this.render)}}class Z1 extends CR{constructor(){super(...arguments),this.KeyframeResolver=lR}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;ze(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class mr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function J1({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function ER({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function TR(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 Iu(e){return e===void 0||e===1}function wd({scale:e,scaleX:t,scaleY:n}){return!Iu(e)||!Iu(t)||!Iu(n)}function Cr(e){return wd(e)||ew(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function ew(e){return Bm(e.x)||Bm(e.y)}function Bm(e){return e&&e!=="0%"}function ll(e,t,n){const r=e-n,i=t*r;return n+i}function Um(e,t,n,r,i){return i!==void 0&&(e=ll(e,i,r)),ll(e,n,r)+t}function bd(e,t=0,n=1,r,i){e.min=Um(e.min,t,n,r,i),e.max=Um(e.max,t,n,r,i)}function tw(e,{x:t,y:n}){bd(e.x,t.translate,t.scale,t.originPoint),bd(e.y,n.translate,n.scale,n.originPoint)}const Wm=.999999999999,Hm=1.0000000000001;function PR(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let s,o;for(let a=0;a<i;a++){s=n[a],o=s.projectionDelta;const{visualElement:l}=s.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&xi(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,tw(e,o)),r&&Cr(s.latestValues)&&xi(e,s.latestValues))}t.x<Hm&&t.x>Wm&&(t.x=1),t.y<Hm&&t.y>Wm&&(t.y=1)}function vi(e,t){e.min=e.min+t,e.max=e.max+t}function Km(e,t,n,r,i=.5){const s=pe(e.min,e.max,i);bd(e,t,n,s,r)}function xi(e,t){Km(e.x,t.x,t.scaleX,t.scale,t.originX),Km(e.y,t.y,t.scaleY,t.scale,t.originY)}function nw(e,t){return J1(TR(e.getBoundingClientRect(),t))}function kR(e,t,n){const r=nw(e,n),{scroll:i}=t;return i&&(vi(r.x,i.offset.x),vi(r.y,i.offset.y)),r}const NR={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},jR=ns.length;
vendor: 4,560 bytes, line 208
208function RR(e,t,n){let r="",i=!0;for(let s=0;s<jR;s++){const o=ns[s],a=e[o];if(a===void 0)continue;let l=!0;if(typeof a=="number"?l=a===(o.startsWith("scale")?1:0):l=parseFloat(a)===0,!l||n){const u=U1(a,ah[o]);if(!l){i=!1;const c=NR[o]||o;r+=`${c}(${u}) `}n&&(t[o]=u)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function fh(e,t,n){const{style:r,vars:i,transformOrigin:s}=e;let o=!1,a=!1;for(const l in t){const u=t[l];if(rs.has(l)){o=!0;continue}else if(g1(l)){i[l]=u;continue}else{const c=U1(u,ah[l]);l.startsWith("origin")?(a=!0,s[l]=c):r[l]=c}}if(t.transform||(o||n?r.transform=RR(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=s;r.transformOrigin=`${l} ${u} ${c}`}}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 qm(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const gs={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(F.test(e))e=parseFloat(e);else return e;const n=qm(e,t.target.x),r=qm(e,t.target.y);return`${n}% ${r}%`}},MR={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=dr.parse(e);if(i.length>5)return r;const s=dr.createTransformer(e),o=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+o]/=a,i[1+o]/=l;const u=pe(a,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),s(i)}},Sd={borderRadius:{...gs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:gs,borderTopRightRadius:gs,borderBottomLeftRadius:gs,borderBottomRightRadius:gs,boxShadow:MR};function iw(e,{layout:t,layoutId:n}){return rs.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Sd[e]||e==="opacity")}function hh(e,t,n){var o;const r=e.style,i=t==null?void 0:t.style,s={};if(!r)return s;for(const a in r)(ze(r[a])||i&&ze(i[a])||iw(a,e)||((o=n==null?void 0:n.getValue(a))==null?void 0:o.liveStyle)!==void 0)&&(s[a]=r[a]);return s}function AR(e){return window.getComputedStyle(e)}class DR extends Z1{constructor(){super(...arguments),this.type="html",this.renderInstance=rw}readValueFromInstance(t,n){var r;if(rs.has(n))return(r=this.projection)!=null&&r.isProjecting?ld(n):lj(t,n);{const i=AR(t),s=(g1(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){fh(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return hh(t,n,r)}}const LR={offset:"stroke-dashoffset",array:"stroke-dasharray"},OR={offset:"strokeDashoffset",array:"strokeDasharray"};function IR(e,t,n=1,r=0,i=!0){e.pathLength=1;const s=i?LR:OR;e[s.offset]=`${-r}`,e[s.array]=`${t} ${n}`}const VR=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function sw(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:s=1,pathOffset:o=0,...a},l,u,c){if(fh(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:h}=e;f.transform&&(h.transform=f.transform,delete f.transform),(h.transform||f.transformOrigin)&&(h.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),h.transform&&(h.transformBox=(c==null?void 0:c.transformBox)??"fill-box",delete f.transformBox);for(const p of VR)f[p]!==void 0&&(h[p]=f[p],delete f[p]);t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),i!==void 0&&IR(f,i,s,o,!1)}const ow=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"]),aw=e=>typeof e=="string"&&e.toLowerCase()==="svg";function _R(e,t,n,r){rw(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(ow.has(i)?i:oh(i),t.attrs[i])}function lw(e,t,n){const r=hh(e,t,n);for(const i in e)if(ze(e[i])||ze(t[i])){const s=ns.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}class FR extends Z1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ee}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(rs.has(n)){const r=$1(n);return r&&r.default||0}return n=ow.has(n)?n:oh(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return lw(t,n,r)}build(t,n,r){sw(t,n,this.isSVGTag,r.transformTemplate,r.style)}
vendor: 20,101 bytes, line 208
208renderInstance(t,n,r,i){_R(t,n,r,i)}mount(t){this.isSVGTag=aw(t.tagName),super.mount(t)}}const zR=dh.length;function uw(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?uw(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<zR;n++){const r=dh[n],i=e.props[r];(fo(i)||i===!1)&&(t[r]=i)}return t}function cw(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 $R=[...ch].reverse(),BR=ch.length;function UR(e){return t=>Promise.all(t.map(({animation:n,options:r})=>Zj(e,n,r)))}function WR(e){let t=UR(e),n=Gm(),r=!0;const i=l=>(u,c)=>{var h;const f=Ni(e,c,l==="exit"?(h=e.presenceContext)==null?void 0:h.custom:void 0);if(f){const{transition:p,transitionEnd:w,...y}=f;u={...u,...y,...w}}return u};function s(l){t=l(e)}function o(l){const{props:u}=e,c=uw(e.parent)||{},f=[],h=new Set;let p={},w=1/0;for(let b=0;b<BR;b++){const g=$R[b],m=n[g],v=u[g]!==void 0?u[g]:c[g],S=fo(v),C=g===l?m.isActive:null;C===!1&&(w=b);let E=v===c[g]&&v!==u[g]&&S;if(E&&r&&e.manuallyAnimateOnMount&&(E=!1),m.protectedKeys={...p},!m.isActive&&C===null||!v&&!m.prevProp||$l(v)||typeof v=="boolean")continue;const T=HR(m.prevProp,v);let P=T||g===l&&m.isActive&&!E&&S||b>w&&S,R=!1;const M=Array.isArray(v)?v:[v];let $=M.reduce(i(g),{});C===!1&&($={});const{prevResolvedValues:V={}}=m,q={...V,...$},O=z=>{P=!0,h.has(z)&&(R=!0,h.delete(z)),m.needsAnimating[z]=!0;const k=e.getValue(z);k&&(k.liveStyle=!1)};for(const z in q){const k=$[z],j=V[z];if(p.hasOwnProperty(z))continue;let I=!1;pd(k)&&pd(j)?I=!cw(k,j):I=k!==j,I?k!=null?O(z):h.add(z):k!==void 0&&h.has(z)?O(z):m.protectedKeys[z]=!0}m.prevProp=v,m.prevResolvedValues=$,m.isActive&&(p={...p,...$}),r&&e.blockInitialAnimation&&(P=!1);const Q=E&&T;P&&(!Q||R)&&f.push(...M.map(z=>{const k={type:g};if(typeof z=="string"&&r&&!Q&&e.manuallyAnimateOnMount&&e.parent){const{parent:j}=e,I=Ni(j,z);if(j.enteringChildren&&I){const{delayChildren:W}=I.transition||{};k.delay=D1(j.enteringChildren,e,W)}}return{animation:z,options:k}}))}if(h.size){const b={};if(typeof u.initial!="boolean"){const g=Ni(e,Array.isArray(u.initial)?u.initial[0]:u.initial);g&&g.transition&&(b.transition=g.transition)}h.forEach(g=>{const m=e.getBaseTarget(g),v=e.getValue(g);v&&(v.liveStyle=!0),b[g]=m??null}),f.push({animation:b})}let y=!!f.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(y=!1),r=!1,y?t(f):Promise.resolve()}function a(l,u){var f;if(n[l].isActive===u)return Promise.resolve();(f=e.variantChildren)==null||f.forEach(h=>{var p;return(p=h.animationState)==null?void 0:p.setActive(l,u)}),n[l].isActive=u;const c=o(l);for(const h in n)n[h].protectedKeys={};return c}return{animateChanges:o,setActive:a,setAnimateFunction:s,getState:()=>n,reset:()=>{n=Gm()}}}function HR(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!cw(t,e):!1}function wr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Gm(){return{animate:wr(!0),whileInView:wr(),whileHover:wr(),whileTap:wr(),whileDrag:wr(),whileFocus:wr(),exit:wr()}}function Qm(e,t){e.min=t.min,e.max=t.max}function Rt(e,t){Qm(e.x,t.x),Qm(e.y,t.y)}function Ym(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const dw=1e-4,KR=1-dw,qR=1+dw,fw=.01,GR=0-fw,QR=0+fw;function qe(e){return e.max-e.min}function YR(e,t,n){return Math.abs(e-t)<=n}function Xm(e,t,n,r=.5){e.origin=r,e.originPoint=pe(t.min,t.max,e.origin),e.scale=qe(n)/qe(t),e.translate=pe(n.min,n.max,e.origin)-e.originPoint,(e.scale>=KR&&e.scale<=qR||isNaN(e.scale))&&(e.scale=1),(e.translate>=GR&&e.translate<=QR||isNaN(e.translate))&&(e.translate=0)}function Vs(e,t,n,r){Xm(e.x,t.x,n.x,r?r.originX:void 0),Xm(e.y,t.y,n.y,r?r.originY:void 0)}function Zm(e,t,n){e.min=n.min+t.min,e.max=e.min+qe(t)}function XR(e,t,n){Zm(e.x,t.x,n.x),Zm(e.y,t.y,n.y)}function Jm(e,t,n){e.min=t.min-n.min,e.max=e.min+qe(t)}function ul(e,t,n){Jm(e.x,t.x,n.x),Jm(e.y,t.y,n.y)}function eg(e,t,n,r,i){return e-=t,e=ll(e,1/n,r),i!==void 0&&(e=ll(e,1/i,r)),e}function ZR(e,t=0,n=1,r=.5,i,s=e,o=e){if(sn.test(t)&&(t=parseFloat(t),t=pe(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=pe(s.min,s.max,r);e===s&&(a-=t),e.min=eg(e.min,t,n,a,i),e.max=eg(e.max,t,n,a,i)}function tg(e,t,[n,r,i],s,o){ZR(e,t[n],t[r],t[i],t.scale,s,o)}const JR=["x","scaleX","originX"],eM=["y","scaleY","originY"];function ng(e,t,n,r){tg(e.x,t,JR,n?n.x:void 0,r?r.x:void 0),tg(e.y,t,eM,n?n.y:void 0,r?r.y:void 0)}function rg(e){return e.translate===0&&e.scale===1}function hw(e){return rg(e.x)&&rg(e.y)}function ig(e,t){return e.min===t.min&&e.max===t.max}function tM(e,t){return ig(e.x,t.x)&&ig(e.y,t.y)}function sg(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function pw(e,t){return sg(e.x,t.x)&&sg(e.y,t.y)}function og(e){return qe(e.x)/qe(e.y)}function ag(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function mt(e){return[e("x"),e("y")]}function nM(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:c,rotateX:f,rotateY:h,skewX:p,skewY:w}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),f&&(r+=`rotateX(${f}deg) `),h&&(r+=`rotateY(${h}deg) `),p&&(r+=`skewX(${p}deg) `),w&&(r+=`skewY(${w}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const mw=["TopLeft","TopRight","BottomLeft","BottomRight"],rM=mw.length,lg=e=>typeof e=="string"?parseFloat(e):e,ug=e=>typeof e=="number"||F.test(e);function iM(e,t,n,r,i,s){i?(e.opacity=pe(0,n.opacity??1,sM(r)),e.opacityExit=pe(t.opacity??1,0,oM(r))):s&&(e.opacity=pe(t.opacity??1,n.opacity??1,r));for(let o=0;o<rM;o++){const a=`border${mw[o]}Radius`;let l=cg(t,a),u=cg(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||ug(l)===ug(u)?(e[a]=Math.max(pe(lg(l),lg(u),r),0),(sn.test(u)||sn.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=pe(t.rotate||0,n.rotate||0,r))}function cg(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const sM=gw(0,.5,c1),oM=gw(.5,.95,St);function gw(e,t,n){return r=>r<e?0:r>t?1:n(lo(e,t,r))}function aM(e,t,n){const r=ze(e)?e:qi(e);return r.start(ih("",r,t,n)),r.animation}function ho(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const lM=(e,t)=>e.depth-t.depth;class uM{constructor(){this.children=[],this.isDirty=!1}add(t){Bf(this.children,t),this.isDirty=!0}remove(t){Uf(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(lM),this.isDirty=!1,this.children.forEach(t)}}function cM(e,t){const n=Ke.now(),r=({timestamp:i})=>{const s=i-n;s>=t&&(cr(r),e(s-t))};return le.setup(r,!0),()=>cr(r)}function Ea(e){return ze(e)?e.get():e}class dM{constructor(){this.members=[]}add(t){Bf(this.members,t),t.scheduleRender()}remove(t){if(Uf(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const s=this.members[i];if(s.isPresent!==!1){r=s;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Ta={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Vu=["","X","Y","Z"],fM=1e3;let hM=0;function _u(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function yw(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=V1(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",le,!(i||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&yw(r)}function vw({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},a=t==null?void 0:t()){this.id=hM++,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(gM),this.nodes.forEach(wM),this.nodes.forEach(bM),this.nodes.forEach(yM)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new uM)}addEventListener(o,a){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new Hf),this.eventHandlers.get(o).add(a)}notifyListeners(o,...a){const l=this.eventHandlers.get(o);l&&l.notify(...a)}hasListeners(o){return this.eventHandlers.has(o)}mount(o){if(this.instance)return;this.isSVG=G1(o)&&!mR(o),this.instance=o;const{layoutId:a,layout:l,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&&(l||a)&&(this.isLayoutDirty=!0),e){let c,f=0;const h=()=>this.root.updateBlockedByResize=!1;le.read(()=>{f=window.innerWidth}),e(o,()=>{const p=window.innerWidth;p!==f&&(f=p,this.root.updateBlockedByResize=!0,c&&c(),c=cM(h,250),Ta.hasAnimatedSinceResize&&(Ta.hasAnimatedSinceResize=!1,this.nodes.forEach(hg)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:f,hasRelativeLayoutChanged:h,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const w=this.options.transition||u.getDefaultTransition()||PM,{onLayoutAnimationStart:y,onLayoutAnimationComplete:b}=u.getProps(),g=!this.targetLayout||!pw(this.targetLayout,p),m=!f&&h;if(this.options.layoutRoot||this.resumeFrom||m||f&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const v={...rh(w,"layout"),onPlay:y,onComplete:b};(u.shouldReduceMotion||this.options.layoutRoot)&&(v.delay=0,v.type=!1),this.startAnimation(v),this.setAnimationOrigin(c,m)}else f||hg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}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(),cr(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(SM),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&&yw(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const f=this.path[c];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(dg);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(fg);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(xM),this.nodes.forEach(pM),this.nodes.forEach(mM)):this.nodes.forEach(fg),this.clearAllSnapshots();const a=Ke.now();Me.delta=an(0,1e3/60,a-Me.timestamp),Me.timestamp=a,Me.isProcessing=!0,ju.update.process(Me),ju.preRender.process(Me),ju.render.process(Me),Me.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,lh.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(vM),this.sharedNodes.forEach(CM)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,le.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){le.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!qe(this.snapshot.measuredBox.x)&&!qe(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 l=0;l<this.path.length;l++)this.path[l].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Ee(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!hw(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;o&&this.instance&&(a||Cr(this.latestValues)||c)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return o&&(l=this.removeTransform(l)),kM(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:o}=this.options;if(!o)return Ee();const a=o.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(NM))){const{scroll:c}=this.root;c&&(vi(a.x,c.offset.x),vi(a.y,c.offset.y))}return a}removeElementScroll(o){var l;const a=Ee();if(Rt(a,o),(l=this.scroll)!=null&&l.wasRoot)return a;for(let u=0;u<this.path.length;u++){const c=this.path[u],{scroll:f,options:h}=c;c!==this.root&&f&&h.layoutScroll&&(f.wasRoot&&Rt(a,o),vi(a.x,f.offset.x),vi(a.y,f.offset.y))}return a}applyTransform(o,a=!1){const l=Ee();Rt(l,o);for(let u=0;u<this.path.length;u++){const c=this.path[u];!a&&c.options.layoutScroll&&c.scroll&&c!==c.root&&xi(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Cr(c.latestValues)&&xi(l,c.latestValues)}return Cr(this.latestValues)&&xi(l,this.latestValues),l}removeTransform(o){const a=Ee();Rt(a,o);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!Cr(u.latestValues))continue;wd(u.latestValues)&&u.updateSnapshot();const c=Ee(),f=u.measurePageBox();Rt(c,f),ng(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return Cr(this.latestValues)&&ng(a,this.latestValues),a}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!==Me.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var p;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(o||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(p=this.parent)!=null&&p.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:c,layoutId:f}=this.options;if(!this.layout||!(c||f))return;this.resolvedRelativeTargetAt=Me.timestamp;const h=this.getClosestProjectingParent();h&&this.linkedParentVersion!==h.layoutVersion&&!h.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(h&&h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Ee(),this.targetWithTransforms=Ee()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),XR(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Rt(this.target,this.layout.layoutBox),tw(this.target,this.targetDelta)):Rt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?this.createRelativeTarget(h,this.target,h.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||wd(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,a,l){this.relativeParent=o,this.linkedParentVersion=o.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ee(),this.relativeTargetOrigin=Ee(),ul(this.relativeTargetOrigin,a,l),Rt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var w;const o=this.getLead(),a=!!this.resumingFrom||this!==o;let l=!0;if((this.isProjectionDirty||(w=this.parent)!=null&&w.isProjectionDirty)&&
vendor: 5,271 bytes, line 208
208(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Me.timestamp&&(l=!1),l)return;const{layout:u,layoutId:c}=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||c))return;Rt(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;PR(this.layoutCorrected,this.treeScale,this.path,a),o.layout&&!o.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(o.target=o.layout.layoutBox,o.targetWithTransforms=Ee());const{target:p}=o;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Ym(this.prevProjectionDelta.x,this.projectionDelta.x),Ym(this.prevProjectionDelta.y,this.projectionDelta.y)),Vs(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!ag(this.projectionDelta.x,this.prevProjectionDelta.x)||!ag(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),o){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=yi(),this.projectionDelta=yi(),this.projectionDeltaWithTransform=yi()}setAnimationOrigin(o,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},f=yi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const h=Ee(),p=l?l.source:void 0,w=this.layout?this.layout.source:void 0,y=p!==w,b=this.getStack(),g=!b||b.members.length<=1,m=!!(y&&!g&&this.options.crossfade===!0&&!this.path.some(TM));this.animationProgress=0;let v;this.mixTargetDelta=S=>{const C=S/1e3;pg(f.x,o.x,C),pg(f.y,o.y,C),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ul(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),EM(this.relativeTarget,this.relativeTargetOrigin,h,C),v&&tM(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=Ee()),Rt(v,this.relativeTarget)),y&&(this.animationValues=c,iM(c,u,this.latestValues,C,m,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){var a,l,u;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(),(u=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||u.stop(),this.pendingAnimation&&(cr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=le.update(()=>{Ta.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=qi(0)),this.currentAnimation=aM(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:c=>{this.mixTargetDelta(c),o.onUpdate&&o.onUpdate(c)},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(fM),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=o;if(!(!a||!l||!u)){if(this!==o&&this.layout&&u&&xw(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Ee();const f=qe(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+f;const h=qe(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+h}Rt(a,l),xi(a,c),Vs(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new dM),this.sharedNodes.get(o).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var a;const{layoutId:o}=this.options;return o?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:o}=this.options;return o?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}
vendor: 35,019 bytes, lines 208-216
208resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&_u("z",o,u,this.animationValues);for(let c=0;c<Vu.length;c++)_u(`rotate${Vu[c]}`,o,u,this.animationValues),_u(`skew${Vu[c]}`,o,u,this.animationValues);o.render();for(const c in u)o.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);o.scheduleRender()}applyProjectionStyles(o,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){o.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,o.visibility="",o.opacity="",o.pointerEvents=Ea(a==null?void 0:a.pointerEvents)||"",o.transform=l?l(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=Ea(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!Cr(this.latestValues)&&(o.transform=l?l({},""):"none",this.hasProjected=!1);return}o.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let f=nM(this.projectionDeltaWithTransform,this.treeScale,c);l&&(f=l(c,f)),o.transform=f;const{x:h,y:p}=this.projectionDelta;o.transformOrigin=`${h.origin*100}% ${p.origin*100}% 0`,u.animationValues?o.opacity=u===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:o.opacity=u===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(const w in Sd){if(c[w]===void 0)continue;const{correct:y,applyTo:b,isCSSVariable:g}=Sd[w],m=f==="none"?c[w]:y(c[w],u);if(b){const v=b.length;for(let S=0;S<v;S++)o[b[S]]=m}else g?this.options.visualElement.renderState.vars[w]=m:o[w]=m}this.options.layoutId&&(o.pointerEvents=u===this?Ea(a==null?void 0:a.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var a;return(a=o.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(dg),this.root.sharedNodes.clear()}}}function pM(e){e.updateLayout()}function mM(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;s==="size"?mt(f=>{const h=o?t.measuredBox[f]:t.layoutBox[f],p=qe(h);h.min=r[f].min,h.max=h.min+p}):xw(s,t.layoutBox,r)&&mt(f=>{const h=o?t.measuredBox[f]:t.layoutBox[f],p=qe(r[f]);h.max=h.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+p)});const a=yi();Vs(a,r,t.layoutBox);const l=yi();o?Vs(l,e.applyTransform(i,!0),t.measuredBox):Vs(l,r,t.layoutBox);const u=!hw(a);let c=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:h,layout:p}=f;if(h&&p){const w=Ee();ul(w,t.layoutBox,h.layoutBox);const y=Ee();ul(y,r,p.layoutBox),pw(w,y)||(c=!0),f.options.layoutRoot&&(e.relativeTarget=y,e.relativeTargetOrigin=w,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function gM(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 yM(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function vM(e){e.clearSnapshot()}function dg(e){e.clearMeasurements()}function fg(e){e.isLayoutDirty=!1}function xM(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 wM(e){e.resolveTargetDelta()}function bM(e){e.calcProjection()}function SM(e){e.resetSkewAndRotation()}function CM(e){e.removeLeadSnapshot()}function pg(e,t,n){e.translate=pe(t.translate,0,n),e.scale=pe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function mg(e,t,n,r){e.min=pe(t.min,n.min,r),e.max=pe(t.max,n.max,r)}function EM(e,t,n,r){mg(e.x,t.x,n.x,r),mg(e.y,t.y,n.y,r)}function TM(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const PM={duration:.45,ease:[.4,0,.1,1]},gg=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),yg=gg("applewebkit/")&&!gg("chrome/")?Math.round:St;function vg(e){e.min=yg(e.min),e.max=yg(e.max)}function kM(e){vg(e.x),vg(e.y)}function xw(e,t,n){return e==="position"||e==="preserve-aspect"&&!YR(og(t),og(n),.2)}function NM(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const jM=vw({attachResizeListener:(e,t)=>ho(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},ww=vw({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Fu.current){const e=new jM({});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"}),ph=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function xg(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function RM(...e){return t=>{let n=!1;const r=e.map(i=>{const s=xg(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():xg(e[i],null)}}}}function MM(...e){return x.useCallback(RM(...e),e)}class AM extends x.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=n.offsetParent,i=vd(r)&&r.offsetWidth||0,s=vd(r)&&r.offsetHeight||0,o=this.props.sizeRef.current;o.height=n.offsetHeight||0,o.width=n.offsetWidth||0,o.top=n.offsetTop,o.left=n.offsetLeft,o.right=i-o.width-o.left,o.bottom=s-o.height-o.top}return null}componentDidUpdate(){}render(){return this.props.children}}function DM({children:e,isPresent:t,anchorX:n,anchorY:r,root:i}){var f;const s=x.useId(),o=x.useRef(null),a=x.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:l}=x.useContext(ph),u=((f=e.props)==null?void 0:f.ref)??(e==null?void 0:e.ref),c=MM(o,u);return x.useInsertionEffect(()=>{const{width:h,height:p,top:w,left:y,right:b,bottom:g}=a.current;if(t||!o.current||!h||!p)return;const m=n==="left"?`left: ${y}`:`right: ${b}`,v=r==="bottom"?`bottom: ${g}`:`top: ${w}`;o.current.dataset.motionPopId=s;const S=document.createElement("style");l&&(S.nonce=l);const C=i??document.head;return C.appendChild(S),S.sheet&&S.sheet.insertRule(` 209 [data-motion-pop-id="${s}"] { 210 position: absolute !important; 211 width: ${h}px !important; 212 height: ${p}px !important; 213 ${m}px !important; 214 ${v}px !important; 215 } 216 `),()=>{C.contains(S)&&C.removeChild(S)}},[t]),d.jsx(AM,{isPresent:t,childRef:o,sizeRef:a,children:x.cloneElement(e,{ref:c})})}const LM=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:o,anchorX:a,anchorY:l,root:u})=>{const c=$f(OM),f=x.useId();let h=!0,p=x.useMemo(()=>(h=!1,{id:f,initial:t,isPresent:n,custom:i,onExitComplete:w=>{c.set(w,!0);for(const y of c.values())if(!y)return;r&&r()},register:w=>(c.set(w,!1),()=>c.delete(w))}),[n,c,r]);return s&&h&&(p={...p}),x.useMemo(()=>{c.forEach((w,y)=>c.set(y,!1))},[n]),x.useEffect(()=>{!n&&!c.size&&r&&r()},[n]),o==="popLayout"&&(e=d.jsx(DM,{isPresent:n,anchorX:a,anchorY:l,root:u,children:e})),d.jsx(Fl.Provider,{value:p,children:e})};function OM(){return new Map}function bw(e=!0){const t=x.useContext(Fl);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,s=x.useId();x.useEffect(()=>{if(e)return i(s)},[e]);const o=x.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,o]:[!0]}const ia=e=>e.key||"";function wg(e){const t=[];return x.Children.forEach(e,n=>{x.isValidElement(n)&&t.push(n)}),t}const IM=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:s="sync",propagate:o=!1,anchorX:a="left",anchorY:l="top",root:u})=>{const[c,f]=bw(o),h=x.useMemo(()=>wg(e),[e]),p=o&&!c?[]:h.map(ia),w=x.useRef(!0),y=x.useRef(h),b=$f(()=>new Map),g=x.useRef(new Set),[m,v]=x.useState(h),[S,C]=x.useState(h);Jx(()=>{w.current=!1,y.current=h;for(let P=0;P<S.length;P++){const R=ia(S[P]);p.includes(R)?(b.delete(R),g.current.delete(R)):b.get(R)!==!0&&b.set(R,!1)}},[S,p.length,p.join("-")]);const E=[];if(h!==m){let P=[...h];for(let R=0;R<S.length;R++){const M=S[R],$=ia(M);p.includes($)||(P.splice(R,0,M),E.push(M))}return s==="wait"&&E.length&&(P=E),C(wg(P)),v(h),null}const{forceRender:T}=x.useContext(zf);return d.jsx(d.Fragment,{children:S.map(P=>{const R=ia(P),M=o&&!c?!1:h===S||p.includes(R),$=()=>{if(g.current.has(R))return;if(g.current.add(R),b.has(R))b.set(R,!0);else return;let V=!0;b.forEach(q=>{q||(V=!1)}),V&&(T==null||T(),C(y.current),o&&(f==null||f()),r&&r())};return d.jsx(LM,{isPresent:M,initial:!w.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:s,root:u,onExitComplete:M?void 0:$,anchorX:a,anchorY:l,children:P},R)})})},Sw=x.createContext({strict:!1}),bg={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 Sg=!1;function VM(){if(Sg)return;const e={};for(const t in bg)e[t]={isEnabled:n=>bg[t].some(r=>!!n[r])};X1(e),Sg=!0}function Cw(){return VM(),SR()}function _M(e){const t=Cw();for(const n in e)t[n]={...t[n],...e[n]};X1(t)}const FM=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function cl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||FM.has(e)}let Ew=e=>!cl(e);function zM(e){typeof e=="function"&&(Ew=t=>t.startsWith("on")?!cl(t):e(t))}try{zM(require("@emotion/is-prop-valid").default)}catch{}function $M(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(Ew(i)||n===!0&&cl(i)||!t&&!cl(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}const Ul=x.createContext({});function BM(e,t){if(Bl(e)){const{initial:n,animate:r}=e;return{initial:n===!1||fo(n)?n:void 0,animate:fo(r)?r:void 0}}return e.inherit!==!1?t:{}}function UM(e){const{initial:t,animate:n}=BM(e,x.useContext(Ul));return x.useMemo(()=>({initial:t,animate:n}),[Cg(t),Cg(n)])}function Cg(e){return Array.isArray(e)?e.join(" "):e}const mh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Tw(e,t,n){for(const r in t)!ze(t[r])&&!iw(r,n)&&(e[r]=t[r])}function WM({transformTemplate:e},t){return x.useMemo(()=>{const n=mh();return fh(n,t,e),Object.assign({},n.vars,n.style)},[t])}function HM(e,t){const n=e.style||{},r={};return Tw(r,n,e),Object.assign(r,WM(e,t)),r}function KM(e,t){const n={},r=HM(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 Pw=()=>({...mh(),attrs:{}});function qM(e,t,n,r){const i=x.useMemo(()=>{const s=Pw();return sw(s,t,aw(r),e.transformTemplate,e.style),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};Tw(s,e.style,e),i.style={...s,...i.style}}return i}const GM=["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 gh(e){return typeof e!="string"||e.includes("-")?!1:!!(GM.indexOf(e)>-1||/[A-Z]/u.test(e))}function QM(e,t,n,{latestValues:r},i,s=!1,o){const l=(o??gh(e)?qM:KM)(t,r,i,e),u=$M(t,typeof e=="string",s),c=e!==x.Fragment?{...u,...l,ref:n}:{},{children:f}=t,h=x.useMemo(()=>ze(f)?f.get():f,[f]);return x.createElement(e,{...c,children:h})}function YM({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:XM(n,r,i,e),renderState:t()}}function XM(e,t,n,r){const i={},s=r(e,{});for(const h in s)i[h]=Ea(s[h]);let{initial:o,animate:a}=e;const l=Bl(e),u=Y1(e);t&&u&&!l&&e.inherit!==!1&&(o===void 0&&(o=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||o===!1;const f=c?a:o;if(f&&typeof f!="boolean"&&!$l(f)){const h=Array.isArray(f)?f:[f];for(let p=0;p<h.length;p++){const w=sh(e,h[p]);if(w){const{transitionEnd:y,transition:b,...g}=w;for(const m in g){let v=g[m];if(Array.isArray(v)){const S=c?v.length-1:0;v=v[S]}v!==null&&(i[m]=v)}for(const m in y)i[m]=y[m]}}}return i}const kw=e=>(t,n)=>{const r=x.useContext(Ul),i=x.useContext(Fl),s=()=>YM(e,t,r,i);return n?s():$f(s)},ZM=kw({scrapeMotionValuesFromProps:hh,createRenderState:mh}),JM=kw({scrapeMotionValuesFromProps:lw,createRenderState:Pw}),eA=Symbol.for("motionComponentSymbol");function tA(e,t,n){const r=x.useRef(n);x.useInsertionEffect(()=>{r.current=n});const i=x.useRef(null);return x.useCallback(s=>{var a;s&&((a=e.onMount)==null||a.call(e,s)),t&&(s?t.mount(s):t.unmount());const o=r.current;if(typeof o=="function")if(s){const l=o(s);typeof l=="function"&&(i.current=l)}else i.current?(i.current(),i.current=null):o(s);else o&&(o.current=s)},[t])}const Nw=x.createContext({});function Ss(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function nA(e,t,n,r,i,s){var b,g;const{visualElement:o}=x.useContext(Ul),a=x.useContext(Sw),l=x.useContext(Fl),u=x.useContext(ph).reducedMotion,c=x.useRef(null);r=r||a.renderer,!c.current&&r&&(c.current=r(e,{visualState:t,parent:o,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u,isSVG:s}));const f=c.current,h=x.useContext(Nw);f&&!f.projection&&i&&(f.type==="html"||f.type==="svg")&&rA(c.current,n,i,h);const p=x.useRef(!1);x.useInsertionEffect(()=>{f&&p.current&&f.update(n,l)});const w=n[I1],y=x.useRef(!!w&&!((b=window.MotionHandoffIsComplete)!=null&&b.call(window,w))&&((g=window.MotionHasOptimisedAnimation)==null?void 0:g.call(window,w)));return Jx(()=>{f&&(p.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),y.current&&f.animationState&&f.animationState.animateChanges())}),x.useEffect(()=>{f&&(!y.current&&f.animationState&&f.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{var m;(m=window.MotionHandoffMarkAsComplete)==null||m.call(window,w)}),y.current=!1),f.enteringChildren=void 0)}),f}function rA(e,t,n,r){const{layoutId:i,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:jw(e.parent)),e.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:!!o||a&&Ss(a),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:u})}function jw(e){if(e)return e.options.allowProjection!==!1?e.projection:jw(e.parent)}function zu(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&_M(r);const s=n?n==="svg":gh(e),o=s?JM:ZM;function a(u,c){let f;const h={...x.useContext(ph),...u,layoutId:iA(u)},{isStatic:p}=h,w=UM(u),y=o(u,p);if(!p&&Zx){sA();const b=oA(h);f=b.MeasureLayout,w.visualElement=nA(e,y,h,i,b.ProjectionNode,s)}return d.jsxs(Ul.Provider,{value:w,children:[f&&w.visualElement?d.jsx(f,{visualElement:w.visualElement,...h}):null,QM(e,u,tA(y,w.visualElement,c),y,p,t,s)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=x.forwardRef(a);return l[eA]=e,l}function iA({layoutId:e}){const t=x.useContext(zf).id;return t&&e!==void 0?t+"-"+e:e}function sA(e,t){x.useContext(Sw).strict}function oA(e){const t=Cw(),{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 aA(e,t){if(typeof Proxy>"u")return zu;const n=new Map,r=(s,o)=>zu(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,zu(o,void 0,e,t)),n.get(o))})}const lA=(e,t)=>t.isSVG??gh(e)?new FR(t):new DR(t,{allowProjection:e!==x.Fragment});class uA extends mr{constructor(t){super(t),t.animationState||(t.animationState=WR(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();$l(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 cA=0;class dA extends mr{constructor(){super(...arguments),this.id=cA++}update(){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;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const fA={animation:{Feature:uA},exit:{Feature:dA}};function jo(e){return{point:{x:e.pageX,y:e.pageY}}}const hA=e=>t=>uh(t)&&e(t,jo(t));function _s(e,t,n,r){return ho(e,t,hA(n),r)}const Rw=({current:e})=>e?e.ownerDocument.defaultView:null,Eg=(e,t)=>Math.abs(e-t);function pA(e,t){const n=Eg(e.x,t.x),r=Eg(e.y,t.y);return Math.sqrt(n**2+r**2)}const Tg=new Set(["auto","scroll"]);class Mw{constructor(t,n,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:s=!1,distanceThreshold:o=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=p=>{this.handleScroll(p.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const p=Bu(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,y=pA(p.offset,{x:0,y:0})>=this.distanceThreshold;if(!w&&!y)return;const{point:b}=p,{timestamp:g}=Me;this.history.push({...b,timestamp:g});const{onStart:m,onMove:v}=this.handlers;w||(m&&m(this.lastMoveEvent,p),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,p)},this.handlePointerMove=(p,w)=>{this.lastMoveEvent=p,this.lastMoveEventInfo=$u(w,this.transformPagePoint),le.update(this.updatePoint,!0)},this.handlePointerUp=(p,w)=>{this.end();const{onEnd:y,onSessionEnd:b,resumeAnimation:g}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const m=Bu(p.type==="pointercancel"?this.lastMoveEventInfo:$u(w,this.transformPagePoint),this.history);this.startEvent&&y&&y(p,m),b&&b(p,m)},!uh(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=i||window;const l=jo(t),u=$u(l,this.transformPagePoint),{point:c}=u,{timestamp:f}=Me;this.history=[{...c,timestamp:f}];const{onSessionStart:h}=n;h&&h(t,Bu(u,this.history)),this.removeListeners=Po(_s(this.contextWindow,"pointermove",this.handlePointerMove),_s(this.contextWindow,"pointerup",this.handlePointerUp),_s(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(Tg.has(r.overflowX)||Tg.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,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),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),le.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),cr(this.updatePoint)}}function $u(e,t){return t?{point:t(e.point)}:e}function Pg(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Bu({point:e},t){return{point:e,delta:Pg(e,Aw(t)),offset:Pg(e,mA(t)),velocity:gA(t,.1)}}function mA(e){return e[0]}function Aw(e){return e[e.length-1]}function gA(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=Aw(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>rn(t)));)n--;if(!r)return{x:0,y:0};const s=wt(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 yA(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?pe(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?pe(n,e,r.max):Math.min(e,n)),e}function kg(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 vA(e,{top:t,left:n,bottom:r,right:i}){return{x:kg(e.x,n,i),y:kg(e.y,t,r)}}function Ng(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 xA(e,t){return{x:Ng(e.x,t.x),y:Ng(e.y,t.y)}}function wA(e,t){let n=.5;const r=qe(e),i=qe(t);return i>r?n=lo(t.min,t.max-r,e.min):r>i&&(n=lo(e.min,e.max-i,t.min)),an(0,1,n)}function bA(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 Cd=.35;function SA(e=Cd){return e===!1?e=0:e===!0&&(e=Cd),{x:jg(e,"left","right"),y:jg(e,"top","bottom")}}function jg(e,t,n){return{min:Rg(e,t),max:Rg(e,n)}}function Rg(e,t){return typeof e=="number"?e:e[t]||0}const CA=new WeakMap;class EA{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=Ee(),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.stopAnimation(),this.snapToCursor(jo(f).point)):this.pauseAnimation()},o=(f,h)=>{this.stopAnimation();const{drag:p,dragPropagation:w,onDragStart:y}=this.getProps();if(p&&!w&&(this.openDragLock&&this.openDragLock(),this.openDragLock=cR(p),!this.openDragLock))return;this.latestPointerEvent=f,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),mt(g=>{let m=this.getAxisMotionValue(g).get()||0;if(sn.test(m)){const{projection:v}=this.visualElement;if(v&&v.layout){const S=v.layout.layoutBox[g];S&&(m=qe(S)*(parseFloat(m)/100))}}this.originPoint[g]=m}),y&&le.postRender(()=>y(f,h)),md(this.visualElement,"transform");const{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},a=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h;const{dragPropagation:p,dragDirectionLock:w,onDirectionLock:y,onDrag:b}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:g}=h;if(w&&this.currentDirection===null){this.currentDirection=TA(g),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",h.point,g),this.updateAxis("y",h.point,g),this.visualElement.render(),b&&b(f,h)},l=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h,this.stop(f,h),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>mt(f=>{var h;return this.getAnimationState(f)==="paused"&&((h=this.getAxisMotionValue(f).animation)==null?void 0:h.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new Mw(t,{onSessionStart:s,onStart:o,onMove:a,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:r,contextWindow:Rw(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:a}=this.getProps();a&&le.postRender(()=>a(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||!sa(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=yA(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&&Ss(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=vA(r.layoutBox,t):this.constraints=!1,this.elastic=SA(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&mt(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=bA(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Ss(t))return!1;const r=t.current;Ki(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=kR(r,i.root,this.visualElement.getTransformPagePoint());let o=xA(i.layout.layoutBox,s);if(n){const a=n(ER(o));this.hasMutatedConstraints=!!a,a&&(o=J1(a))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=mt(c=>{if(!sa(c,n,this.currentDirection))return;let f=l&&l[c]||{};o&&(f={min:0,max:0});const h=i?200:1e6,p=i?40:1e7,w={type:"inertia",velocity:r?t[c]:0,bounceStiffness:h,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...s,...f};return this.startAxisValueAnimation(c,w)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return md(this.visualElement,t),r.start(ih(t,r,0,n,this.visualElement,!1))}stopAnimation(){mt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){mt(t=>{var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){mt(n=>{const{drag:r}=this.getProps();if(!sa(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n],l=s.get()||0;s.set(t[n]-pe(o,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Ss(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};mt(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const l=a.get();i[o]=wA({min:l,max:l},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.resolveConstraints(),mt(o=>{if(!sa(o,t,null))return;const a=this.getAxisMotionValue(o),{min:l,max:u}=this.constraints[o];a.set(pe(l,u,i[o]))})}addListeners(){if(!this.visualElement.current)return;CA.set(this.visualElement,this);const t=this.visualElement.current,n=_s(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps(),f=l.target,h=f!==t&&q1(f);u&&c&&!h&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();Ss(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),le.read(r);const o=ho(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(mt(c=>{const f=this.getAxisMotionValue(c);f&&(this.originPoint[c]+=l[c].translate,f.set(f.get()+l[c].translate))}),this.visualElement.render())});return()=>{o(),n(),s(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=Cd,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:a}}}function sa(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function TA(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class PA extends mr{constructor(t){super(t),this.removeGroupControls=St,this.removeListeners=St,this.controls=new EA(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||St}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.endPanSession()}}const Mg=e=>(t,n)=>{e&&le.postRender(()=>e(t,n))};class kA extends mr{constructor(){super(...arguments),this.removePointerDownListener=St}onPointerDown(t){this.session=new Mw(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Rw(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:Mg(t),onStart:Mg(n),onMove:r,onEnd:(s,o)=>{delete this.session,i&&le.postRender(()=>i(s,o))}}}mount(){this.removePointerDownListener=_s(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 Uu=!1;class NA extends x.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),Uu&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),Ta.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:s}=this.props,{projection:o}=r;return o&&(o.isPresent=s,Uu=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==s?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||le.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),lh.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;Uu=!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 Dw(e){const[t,n]=bw(),r=x.useContext(zf);return d.jsx(NA,{...e,layoutGroup:r,switchLayoutGroup:x.useContext(Nw),isPresent:t,safeToRemove:n})}const jA={pan:{Feature:kA},drag:{Feature:PA,ProjectionNode:ww,MeasureLayout:Dw}};function Ag(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&&le.postRender(()=>s(t,jo(t)))}class RA extends mr{mount(){const{current:t}=this.node;t&&(this.unmount=dR(t,(n,r)=>(Ag(this.node,r,"Start"),i=>Ag(this.node,i,"End"))))}unmount(){}}class MA extends mr{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=Po(ho(this.node.current,"focus",()=>this.onFocus()),ho(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Dg(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&&le.postRender(()=>s(t,jo(t)))}class AA extends mr{mount(){const{current:t}=this.node;t&&(this.unmount=pR(t,(n,r)=>(Dg(this.node,r,"Start"),(i,{success:s})=>Dg(this.node,i,s?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Ed=new WeakMap,Wu=new WeakMap,DA=e=>{const t=Ed.get(e.target);t&&t(e)},LA=e=>{e.forEach(DA)};function OA({root:e,...t}){const n=e||document;
216Wu.has(n)||Wu.set(n,{});const r=Wu.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(LA,{root:e,...t})),r[i]}function IA(e,t,n){const r=OA(t);return Ed.set(e,n),r.observe(e),()=>{Ed.delete(e),r.unobserve(e)}}const VA={some:0,all:1};class _A extends mr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:s}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:VA[i]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,s&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:f}=this.node.getProps(),h=u?c:f;h&&h(l)};return IA(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(FA(t,n))&&this.startObserver()}unmount(){}}function FA({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const zA={inView:{Feature:_A},tap:{Feature:AA},focus:{Feature:MA},hover:{Feature:RA}},$A={layout:{ProjectionNode:ww,MeasureLayout:Dw}},BA={...fA,...zA,...jA,...$A},D=aA(BA,lA),UA="/assets/logo-micromea-CDhgXa9O.jpg",Lg=[{name:"Accueil",href:"/"},{name:"à propos",href:"/a-propos"},{name:"Produits & Services",href:"/produits-services"},{name:"Partenaires",href:"/partenaires"},{name:"Actualités",href:"/actualites"},{name:"Contact",href:"/contact"}];function WA(){const[e,t]=x.useState(!1),[n,r]=x.useState(!1),i=Gr();return x.useEffect(()=>{const s=()=>{t(window.scrollY>20)};return window.addEventListener("scroll",s),()=>window.removeEventListener("scroll",s)},[]),x.useEffect(()=>{r(!1)},[i]),d.jsxs("header",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 bg-background ${e?"shadow-sm border-b border-border":""}`,children:[d.jsx("div",{className:"section-container",children:d.jsxs("nav",{className:"flex items-center justify-between h-20",children:[d.jsx(He,{to:"/",className:"flex items-center gap-3",children:d.jsx("img",{src:UA,alt:"MicroMea Logo",className:"h-10 w-auto rounded-md"})}),d.jsx("div",{className:"hidden lg:flex items-center gap-1",children:Lg.map(s=>d.jsx(He,{to:s.href,className:`px-4 py-2 rounded-lg text-sm font-medium transition-colors duration-200 ${i.pathname===s.href?"bg-primary/10 text-primary":"text-foreground/70 hover:text-primary hover:bg-primary/5"}`,children:s.name},s.name))}),d.jsxs("div",{className:"hidden lg:flex items-center gap-3",children:[d.jsx("a",{href:"https://linkedin.com/company/technologies-micromea-inc",target:"_blank",rel:"noopener noreferrer",className:"p-2 rounded-lg text-foreground/60 hover:text-primary hover:bg-primary/5 transition-colors",children:d.jsx(Rl,{className:"w-5 h-5"})}),d.jsx(Wt,{asChild:!0,variant:"default",size:"sm",children:d.jsx(He,{to:"/contact",children:"Contactez-nous"})})]}),d.jsx("button",{className:"lg:hidden p-2 rounded-lg text-foreground hover:bg-primary/5",onClick:()=>r(!n),children:n?d.jsx(q0,{className:"w-6 h-6"}):d.jsx(jE,{className:"w-6 h-6"})})]})}),d.jsx(IM,{children:n&&d.jsx(D.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"lg:hidden bg-background border-t border-border",children:d.jsxs("div",{className:"section-container py-4 space-y-2",children:[Lg.map((s,o)=>d.jsx(D.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:o*.05},children:d.jsx(He,{to:s.href,className:`block px-4 py-3 rounded-lg text-sm font-medium transition-colors ${i.pathname===s.href?"bg-primary/10 text-primary":"text-foreground/70 hover:text-primary hover:bg-primary/5"}`,children:s.name})},s.name)),d.jsx("div",{className:"pt-4 border-t border-border mt-4",children:d.jsx(Wt,{asChild:!0,className:"w-full",size:"lg",children:d.jsx(He,{to:"/contact",children:"Contactez-nous"})})})]})})})]})}const HA={navigation:[{name:"Accueil",href:"/"},{name:"à propos",href:"/a-propos"},{name:"Produits & Services",href:"/produits-services"},{name:"Partenaires",href:"/partenaires"},{name:"Actualités",href:"/actualites"},{name:"Contact",href:"/contact"}]};function KA(){return d.jsx("footer",{className:"bg-forest text-forest-foreground",children:d.jsxs("div",{className:"section-container py-16",children:[d.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-12",children:[d.jsxs("div",{className:"lg:col-span-1",children:[d.jsx(He,{to:"/",className:"flex items-center gap-3 mb-6",children:d.jsx("span",{className:"font-display font-bold text-xl",children:"MicroMea"})}
216),d.jsx("p",{className:"text-forest-foreground/80 text-sm mb-6 leading-relaxed",children:"Transformer ses déchets en énergie, localement et durablement. Technologies de micro-méthanisation décentralisée pour la valorisation des matières organiques."}),d.jsx("div",{className:"flex gap-3",children:d.jsx("a",{href:"https://linkedin.com/company/technologies-micromea-inc",target:"_blank",rel:"noopener noreferrer",className:"p-2 rounded-lg bg-forest-foreground/10 hover:bg-forest-foreground/20 transition-colors","aria-label":"LinkedIn",children:d.jsx(Rl,{className:"w-5 h-5"})})})]}),d.jsxs("div",{children:[d.jsx("h4",{className:"font-display font-semibold text-lg mb-4",children:"Navigation"}),d.jsx("ul",{className:"space-y-3",children:HA.navigation.map(e=>d.jsx("li",{children:d.jsx(He,{to:e.href,className:"text-sm text-forest-foreground/70 hover:text-forest-foreground transition-colors",children:e.name})},e.name))})]}),d.jsxs("div",{children:[d.jsx("h4",{className:"font-display font-semibold text-lg mb-4",children:"Contact"}),d.jsx("ul",{className:"space-y-4",children:d.jsxs("li",{className:"flex items-center gap-3 text-sm",children:[d.jsx(U0,{className:"w-5 h-5 flex-shrink-0 text-leaf"}),d.jsx("a",{href:"mailto:[email protected]",className:"text-forest-foreground/80 hover:text-forest-foreground transition-colors",children:"[email protected]"})]})})]})]}),d.jsx("div",{className:"mt-12 pt-8 border-t border-forest-foreground/10",children:d.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4",children:[d.jsx("p",{className:"text-sm text-forest-foreground/60",children:"© 2026 Technologies MicroMea Inc. Tous droits réservés."}),d.jsxs("div",{className:"flex gap-6 text-sm text-forest-foreground/60",children:[d.jsx(He,{to:"/mentions-legales",className:"hover:text-forest-foreground transition-colors",children:"Mentions légales"}),d.jsx(He,{to:"/politique-confidentialite",className:"hover:text-forest-foreground transition-colors",children:"Politique de confidentialité"})]})]})})]})})}function gr({children:e}){return d.jsxs("div",{className:"min-h-screen flex flex-col",children:[d.jsx(WA,{}),d.jsx("main",{className:"flex-1",children:e}),d.jsx(KA,{})]})}const Lw="/assets/hero-technology-LMuorpoa.jpg",qA="/assets/dechets-B_GhkNl3.jpg",Cs={hidden:{opacity:0,y:30},visible:{opacity:1,y:0}},Ow={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.15}}},GA=[{value:"Jusqu'à 20%",label:"de réduction de gaz naturel",icon:B0,description:"Moins de combustibles fossiles utilisés"},{value:"4-14 jours",label:"pour valorisation",icon:TE,description:"vs 30 jours en méthanisation traditionnelle"},{value:"Jusqu'à 100%",label:"de réduction du volume de déchets",icon:W0,description:"Valorisation complète de la matière organique"}];function QA(){return d.jsxs("section",{className:"relative min-h-screen flex items-center pt-20 overflow-hidden",children:[d.jsxs("div",{className:"absolute inset-0 z-0",children:[d.jsx("img",{src:Lw,alt:"Technologie de micro-méthanisation MicroMea",className:"w-full h-full object-cover"}),d.jsx("div",{className:"absolute inset-0 hero-overlay"})]}),d.jsx("div",{className:"section-container relative z-10 py-24",children:d.jsxs(D.div,{initial:"hidden",animate:"visible",variants:Ow,className:"max-w-3xl",children:[d.jsxs(D.div,{variants:Cs,className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-primary-foreground/10 backdrop-blur-sm border border-primary-foreground/20 text-primary-foreground text-sm font-medium mb-6",children:[d.jsx(B0,{className:"w-4 h-4"}),d.jsx("span",{children:"Technologies propres ⢠Québec"})]}),d.jsxs(D.h1,{variants:Cs,className:"font-display text-4xl sm:text-5xl lg:text-6xl font-bold text-primary-foreground leading-tight mb-6",children:["Transformer ses déchets en énergie,"," ",d.jsx("span",{className:"text-leaf",children:"localement et durablement"})]}),d.jsx(D.p,{variants:Cs,className:"text-lg sm:text-xl text-primary-foreground/90 mb-8 max-w-2xl leading-relaxed",children:"MicroMea développe une technologie révolutionnaire de micro-méthanisation décentralisée, permettant de valoriser la matière organique en biogaz directement sur site."}),d.jsxs(D.div,{variants:Cs,className:"flex flex-col sm:flex-row gap-4",children:[d.jsx(Wt,{asChild:!0,variant:"hero",size:"xl",children:d.jsxs(He,{to:"/produits-services",children:["Découvrez notre technologie",d.jsx(Co,{className:"w-5 h-5"})]})}),d.jsx(Wt,{asChild:!0,variant:"heroOutline",size:"xl",children:d.jsx(He,{to:"/contact",children:"Contactez-nous"})})]})]})}),d.jsx(D.div,{initial:{opacity:0}
216,animate:{opacity:1},transition:{delay:1},className:"absolute bottom-8 left-1/2 -translate-x-1/2 z-10",children:d.jsxs("div",{className:"flex flex-col items-center gap-2 text-primary-foreground/60",children:[d.jsx("span",{className:"text-xs uppercase tracking-widest",children:"Défiler"}),d.jsx(D.div,{animate:{y:[0,8,0]},transition:{repeat:1/0,duration:1.5},children:d.jsx(CE,{className:"w-5 h-5 rotate-90"})})]})})]})}function YA(){return d.jsx("section",{className:"py-20 bg-sage pattern-bg",children:d.jsx("div",{className:"section-container",children:d.jsx(D.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Ow,className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:GA.map((e,t)=>d.jsx(D.div,{variants:Cs,className:"stat-card",children:d.jsxs("div",{className:"flex items-start gap-4",children:[d.jsx("div",{className:"p-3 rounded-xl bg-primary/10",children:d.jsx(e.icon,{className:"w-6 h-6 text-primary"})}),d.jsxs("div",{children:[d.jsx("div",{className:"font-display text-4xl font-bold text-primary mb-1",children:e.value}),d.jsx("div",{className:"text-lg font-semibold text-foreground mb-1",children:e.label}),d.jsx("div",{className:"text-sm text-muted-foreground",children:e.description})]})]})},t))})})})}function XA(){return d.jsx("section",{className:"py-24 bg-background overflow-hidden",children:d.jsx("div",{className:"section-container",children:d.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[d.jsxs(D.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},children:[d.jsxs("h2",{className:"font-display text-3xl sm:text-4xl font-bold text-foreground mb-6",children:["Une solution innovante pour la"," ",d.jsx("span",{className:"gradient-text",children:"transition énergétique"})]}),d.jsx("div",{className:"space-y-4 text-muted-foreground leading-relaxed mb-8",children:d.jsx("p",{children:"Fondée en 2025, MicroMea propose une solution clé en main de valorisation des matières organiques pour des volumes allant de 500 à 10 000 tonnes par an."})}),d.jsxs("div",{className:"p-6 rounded-2xl bg-secondary border border-border",children:[d.jsx("h3",{className:"font-display font-semibold text-lg text-foreground mb-3",children:"Notre Mission"}),d.jsx("p",{className:"text-muted-foreground",children:"Concevoir et de déployer de petites unités modulaires de micro-méthanisation adaptées aux besoins des entreprises."})]}),d.jsx("div",{className:"mt-8",children:d.jsx(Wt,{asChild:!0,size:"lg",children:d.jsxs(He,{to:"/a-propos",children:["En savoir plus",d.jsx(Co,{className:"w-4 h-4"})]})})})]}),d.jsxs(D.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},className:"relative",children:[d.jsx("div",{className:"relative rounded-3xl overflow-hidden shadow-2xl",children:d.jsx("img",{src:qA,alt:"Technologie de micro-méthanisation MicroMea",className:"w-full h-auto"})}),d.jsx("div",{className:"absolute -z-10 top-8 -right-8 w-full h-full rounded-3xl bg-primary/10"})]})]})})})}function ZA(){return d.jsxs("section",{className:"py-24 bg-gradient-to-br from-primary to-forest relative overflow-hidden",children:[d.jsxs("div",{className:"absolute inset-0 opacity-10",children:[d.jsx("div",{className:"absolute top-0 left-1/4 w-96 h-96 bg-leaf rounded-full blur-3xl"}),d.jsx("div",{className:"absolute bottom-0 right-1/4 w-96 h-96 bg-primary rounded-full blur-3xl"})]}),d.jsx("div",{className:"section-container relative z-10",children:d.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center max-w-3xl mx-auto",children:[d.jsx("h2",{className:"font-display text-3xl sm:text-4xl lg:text-5xl font-bold text-primary-foreground mb-6",children:"Prêts à réduire votre empreinte carbone?"}),d.jsx("p",{className:"text-lg text-primary-foreground/90 mb-10",children:"Découvrez comment notre technologie de micro-méthanisation peut transformer vos déchets organiques en ressource énergétique précieuse."}),d.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[d.jsx(Wt,{asChild:!0,variant:"hero",size:"xl",className:"bg-leaf hover:bg-leaf/90",children:d.jsxs(He,{to:"/contact",children:["Planifier une consultation",d.jsx(Co,{className:"w-5 h-5"})]})}),d.jsx(Wt,{asChild:!0,variant:"heroOutline",size:"xl",children:d.jsx(He,{to:"/produits-services",children:"Voir nos solutions"})})]})]})})]})}const JA=()=>d.jsxs(gr,{children:[d.jsx(QA,{}),d.jsx(YA,{}),d.jsx(XA,{}),d.jsx(ZA,{})]}),e3="/assets/team-juliette-C2qFJp03.jpg",t3="/assets/team-marie-eve-B86Z2vTK.jpg",ni={hidden:{opacity:0,y:30},visible:{opacity:1,y:0}},Hu={hidden:{opacity:0}
216,visible:{opacity:1,transition:{staggerChildren:.15}}},n3=[{name:"Durabilité",description:"Contribuer activement à la transition énergétique et à l'économie circulaire.",icon:NE},{name:"Innovation",description:"Développer des technologies de rupture pour répondre aux défis environnementaux.",icon:K0},{name:"Accessibilité",description:"Rendre la biométhanisation accessible à toutes les échelles d'opération.",icon:$0}],r3=[{name:"Juliette Gagnon, ing.",role:"Cofondatrice",image:e3,bio:"Doctorante en génie chimique et experte en bioénergies",linkedin:"https://www.linkedin.com/in/juliette-gagnon/"},{name:"Marie-Ãve Morissette, Candidate CPA",role:"Cofondatrice",image:t3,bio:"Spécialisée en planification stratégique et plan financier.",linkedin:"https://www.linkedin.com/in/marie-eve-morissette/"}],i3=()=>d.jsxs(gr,{children:[d.jsx("section",{className:"pt-32 pb-20 bg-sage pattern-bg",children:d.jsx("div",{className:"section-container",children:d.jsxs(D.div,{initial:"hidden",animate:"visible",variants:Hu,className:"max-w-3xl",children:[d.jsxs(D.h1,{variants:ni,className:"font-display text-4xl sm:text-5xl font-bold text-foreground mb-6",children:["à propos de ",d.jsx("span",{className:"gradient-text",children:"MicroMea"})]}),d.jsx(D.p,{variants:ni,className:"text-lg text-muted-foreground leading-relaxed",children:"Une équipe passionnée au service de la transition énergétique québécoise, développant des solutions innovantes de micro-méthanisation décentralisée."})]})})}),d.jsx("section",{className:"py-24 bg-background",children:d.jsxs("div",{className:"section-container",children:[d.jsxs(D.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Hu,className:"grid md:grid-cols-2 gap-8 mb-16",children:[d.jsxs(D.div,{variants:ni,className:"p-8 rounded-3xl bg-primary text-primary-foreground",children:[d.jsx("div",{className:"p-3 rounded-xl bg-primary-foreground/10 w-fit mb-6",children:d.jsx(K0,{className:"w-6 h-6"})}),d.jsx("h3",{className:"font-display text-2xl font-bold mb-4",children:"Notre mission"}),d.jsx("p",{className:"text-primary-foreground/90 leading-relaxed",children:"Concevoir et de déployer de petites unités modulaires de micro-méthanisation adaptées aux besoins des entreprises."})]}),d.jsxs(D.div,{variants:ni,className:"p-8 rounded-3xl bg-secondary border border-border",children:[d.jsx("div",{className:"p-3 rounded-xl bg-primary/10 w-fit mb-6",children:d.jsx($0,{className:"w-6 h-6 text-primary"})}),d.jsx("h3",{className:"font-display text-2xl font-bold text-foreground mb-4",children:"Notre vision"}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Démocratiser la valorisation des matières organiques afin de réduire lâenfouissement et lâutilisation du gaz naturel."})]})]}),d.jsxs(D.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Hu,children:[d.jsx(D.h2,{variants:ni,className:"font-display text-3xl font-bold text-foreground text-center mb-12",children:"Nos valeurs"}),d.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:n3.map((e,t)=>d.jsxs(D.div,{variants:ni,className:"feature-card text-center",children:[d.jsx("div",{className:"p-4 rounded-2xl bg-primary/10 w-fit mx-auto mb-6",children:d.jsx(e.icon,{className:"w-8 h-8 text-primary"})}),d.jsx("h3",{className:"font-display text-xl font-semibold text-foreground mb-3",children:e.name}),d.jsx("p",{className:"text-muted-foreground",children:e.description})]},t))})]})]})}),d.jsx("section",{className:"py-24 bg-sage",children:d.jsxs("div",{className:"section-container",children:[d.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-16",children:[d.jsx("h2",{className:"font-display text-3xl sm:text-4xl font-bold text-foreground mb-4",children:"Ãquipe fondatrice"}),d.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"Une équipe complémentaire et multidisciplinaire, alliant expertise technique et vision stratégique."})]}),d.jsx("div",{className:"bg-card rounded-2xl border border-border overflow-hidden",children:d.jsx("div",{className:"grid lg:grid-cols-2 divide-y lg:divide-y-0 lg:divide-x divide-border",children:r3.map((e,t)=>d.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1},className:"p-10 flex flex-col items-center text-center relative group",children:[d.jsx("div",{className:"absolute inset-0 bg-muted/30 opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),d.jsxs("div",{className:"relative z-10 w-full",children:[d.jsx("div",{className:"relative mb-6 inline-block",children:d.jsx("div",{className:"w-40 h-40 rounded-full overflow-hidden relative ring-4 ring-background transition-all duration-300 hover:scale-110",children:d.jsx("img",{src:e.image,alt:e.name,className:"w-full h-full object-cover object-center"})})}),d.jsx("h3",{className:"font-display text-2xl font-bold text-foreground mb-1",children:e.name}),d.jsx("p",{className:"text-muted-foreground font-medium mb-4 text-sm uppercase tracking-wide",children:e.role}),d.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6 text-sm",children:e.bio}),d.jsxs("a",{href:e.linkedin,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-sm font-medium text-foreground hover:text-muted-foreground transition-colors duration-300 group/link",children:[d.jsx("div",{className:"h-9 w-9 rounded-full bg-foreground group-hover/link:bg-muted-foreground flex items-center justify-center transition-colors duration-300",children:d.jsx(Rl,{className:"text-background w-4 h-4"})}),d.jsx("span",{className:"border-b border-foreground group-hover/link:border-muted-foreground transition-colors",children:"LinkedIn"})]})]})]},t))})})]})})]}),s3="/assets/technology-process-CNYYw0tp.jpg",oa={hidden:{opacity:0,y:30},visible:{opacity:1,y:0}},Ku={hidden:{opacity:0}
216,visible:{opacity:1,transition:{staggerChildren:.15}}},o3=[{title:"Vente d'unité modulaire",description:"Conteneur intelligent de 20 m³. Installation sans modification majeure des infrastructures existantes.",icon:z0,features:["Conteneur de 20 m³ complet","Installation clé en main","Capteurs intégrés"]},{title:"Service clé en main",description:"MicroMea prend en charge l'installation, la mise en service, la maintenance et le suivi de la performance de ses conteneurs.",icon:DE,features:["Installation professionnelle","Mise en service complète","Maintenance préventive","Suivi de performance"]},{title:"Personnalisation et optimisation",description:"Accompagnement pour optimiser le paramétrage initial et en continu afin de maximiser la valorisation de vos intrants.",icon:H0,features:["Paramétrage personnalisé","Optimisation continue","Formation des opérateurs","Support technique"]},{title:"Valorisation du digestat",description:"Le procédé permet de réduire le volume du déchet de 50 à 100%. L'extrant est valorisé sous forme de fertilisant agricole.",icon:ME,features:["Réduction maximale du volume","Transformation en fertilisant","Conformité réglementaire","Valeur ajoutée agricole"]}],a3=[{icon:zp,title:"Aucune agitation mécanique",description:"Conception simplifiée réduisant les coûts de maintenance"},{icon:PE,title:"Pas de traitement des eaux",description:"Procédé en voie solide sans effluents liquides"},{icon:H0,title:"Pas de broyage nécessaire",description:"Accepte la matière organique sans prétraitement"},{icon:zp,title:"Consommation énergétique réduite",description:"Efficacité maximale pour un bilan carbone optimisé"},{icon:z0,title:"Grande modularité",description:"S'adapte à différentes échelles d'opération"},{icon:W0,title:"Coût avantageux",description:"Solution économique comparée aux alternatives traditionnelles"}],l3=[{aspect:"Durée de valorisation",traditional:"30 jours",micromea:"4-14 jours"},{aspect:"Type d'installation",traditional:"Centralisée",micromea:"Décentralisée"},{aspect:"Infrastructure",traditional:"Complexe",micromea:"Conteneur de 20 m³"},{aspect:"Flexibilité",traditional:"Limitée",micromea:"Modulaire"}],u3=()=>d.jsxs(gr,{children:[d.jsxs("section",{className:"relative pt-32 pb-20 bg-primary overflow-hidden",children:[d.jsx("div",{className:"absolute inset-0 opacity-20",children:d.jsx("img",{src:Lw,alt:"",className:"w-full h-full object-cover"})}),d.jsx("div",{className:"section-container relative z-10",children:d.jsxs(D.div,{initial:"hidden",animate:"visible",variants:Ku,className:"max-w-3xl",children:[d.jsxs(D.h1,{variants:oa,className:"font-display text-4xl sm:text-5xl font-bold text-primary-foreground mb-6",children:["Une solution clé en main de"," ",d.jsx("span",{className:"text-leaf",children:"micro-méthanisation décentralisée"})]}),d.jsx(D.p,{variants:oa,className:"text-lg text-primary-foreground/90 leading-relaxed",children:"Notre technologie révolutionnaire permet de valoriser localement vos résidus organiques en biogaz, directement au sein d'un conteneur conventionnel de 20 tonnes."})]})})]}),d.jsx("section",{className:"py-24 bg-sage",children:d.jsxs("div",{className:"section-container",children:[d.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-16",children:[d.jsx("h2",{className:"font-display text-3xl sm:text-4xl font-bold text-foreground mb-4",children:"L'innovation MicroMea"}),d.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"Procédé de micro-méthanisation en voie solide opéré par immersion séquencée de la matière organique."})]}),d.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[d.jsx(D.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},children:d.jsx("div",{className:"rounded-3xl overflow-hidden shadow-2xl",children:d.jsx("img",{src:s3,alt:"Technologie MicroMea",className:"w-full h-auto"})})}),d.jsxs(D.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},children:[d.jsx("h3",{className:"font-display text-2xl font-bold text-foreground mb-6",children:"Comparatif des technologies"}),d.jsxs("div",{className:"bg-card rounded-2xl border border-border overflow-hidden",children:[d.jsxs("div",{className:"grid grid-cols-3 gap-px bg-border",children:[d.jsx("div",{className:"bg-muted p-4 font-semibold text-foreground",children:"Aspect"}),d.jsx("div",{className:"bg-muted p-4 font-semibold text-muted-foreground text-center",children:"Traditionnel"}),d.jsx("div",{className:"bg-primary p-4 font-semibold text-primary-foreground text-center",children:"MicroMea"})]}),l3.map((e,t)=>d.jsxs("div",{className:"grid grid-cols-3 gap-px bg-border",children:[d.jsx("div",{className:"bg-card p-4 text-foreground",children:e.aspect}),d.jsx("div",{className:"bg-card p-4 text-muted-foreground text-center",children:e.traditional}),d.jsx("div",{className:"bg-primary/10 p-4 text-primary font-medium text-center",children:e.micromea})]},t))]})]})]})]})}),d.jsx("section",{className:"py-24 bg-background",children:d.jsxs("div",{className:"section-container",children:[d.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-16",children:[d.jsx("h2",{className:"font-display text-3xl sm:text-4xl font-bold text-foreground mb-4",children:"Avantages de notre technologie"}),d.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"Une architecture innovante qui simplifie la biométhanisation tout en maximisant l'efficacité."})]}
216),d.jsx(D.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Ku,className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6",children:a3.map((e,t)=>d.jsxs(D.div,{variants:oa,className:"feature-card flex items-start gap-4",children:[d.jsx("div",{className:"p-3 rounded-xl bg-primary/10 flex-shrink-0",children:d.jsx(e.icon,{className:"w-6 h-6 text-primary"})}),d.jsxs("div",{children:[d.jsx("h3",{className:"font-semibold text-foreground mb-1",children:e.title}),d.jsx("p",{className:"text-sm text-muted-foreground",children:e.description})]})]},t))})]})}),d.jsx("section",{className:"py-24 bg-sage",children:d.jsxs("div",{className:"section-container",children:[d.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-16",children:[d.jsx("h2",{className:"font-display text-3xl sm:text-4xl font-bold text-foreground mb-4",children:"Nos produits & services"}),d.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"Un accompagnement complet de votre transition vers une gestion durable des matières organiques."})]}),d.jsx(D.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Ku,className:"grid md:grid-cols-2 gap-8",children:o3.map((e,t)=>d.jsxs(D.div,{variants:oa,className:"bg-card rounded-3xl p-8 border border-border card-hover",children:[d.jsx("div",{className:"p-4 rounded-2xl bg-primary/10 w-fit mb-6",children:d.jsx(e.icon,{className:"w-8 h-8 text-primary"})}),d.jsx("h3",{className:"font-display text-xl font-bold text-foreground mb-3",children:e.title}),d.jsx("p",{className:"text-muted-foreground mb-6",children:e.description}),d.jsx("ul",{className:"space-y-3",children:e.features.map((n,r)=>d.jsxs("li",{className:"flex items-center gap-3 text-sm",children:[d.jsx("div",{className:"p-1 rounded-full bg-primary/20",children:d.jsx(SE,{className:"w-3 h-3 text-primary"})}),d.jsx("span",{className:"text-foreground",children:n})]},r))})]},t))})]})}),d.jsx("section",{className:"py-24 bg-primary",children:d.jsx("div",{className:"section-container",children:d.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center max-w-3xl mx-auto",children:[d.jsx("h2",{className:"font-display text-3xl sm:text-4xl font-bold text-primary-foreground mb-6",children:"Prêts à transformer vos déchets en ressource?"}),d.jsx("p",{className:"text-lg text-primary-foreground/90 mb-10",children:"Contactez notre équipe pour découvrir comment notre technologie peut s'adapter à vos besoins spécifiques."}),d.jsx(Wt,{asChild:!0,variant:"hero",size:"xl",className:"bg-leaf hover:bg-leaf/90",children:d.jsxs(He,{to:"/contact",children:["Demander une consultation",d.jsx(Co,{className:"w-5 h-5"})]})})]})})})]}),c3="/assets/celine-vaneeckhaute-MXNz6KYN.jpg",d3="/assets/francois-lepine-cossette-Bg5WdLOl.png",f3="/assets/richard-painchaud-DJr_fj4Z.png",h3="/assets/cnete-6ujocgcN.jpg",p3="/assets/lavery-C4fey58v.png",m3="/assets/osler-CfOKSzpu.jpg",g3="/assets/vte-D-NTZrD8.png",y3="/assets/2degres-DhrbiScb.jpg",v3="/assets/ciradd-a94gs57e.png",x3="/assets/ul-B-7vz6Ta.png",w3="/assets/uqtr-Cp6xt51Q.png",b3="/assets/entrep-ulaval-DsHTLAwd.png",qu={hidden:{opacity:0,y:30},visible:{opacity:1,y:0}},Og={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1}}},S3=[{name:"Céline Vaneeckhaute, P.Eng. Ph.D.",expertise:"Valorisation des matières résiduelles, biométhanisation",role:"Mentore principale du projet. Encadrement scientifique et stratégique. Supervision de la recherche et développement de la technologie MicroMea.",image:c3},{name:"Richard Painchaud",expertise:"PDG et fondateur Kourant",role:"Conseiller dâaffaires pour MicroMea ",image:f3},{name:"François Lépine-Cossette",expertise:"Programme d'incubation en énergie",role:"Conseiller entrepreneurial chez 2 Degrés",image:d3}],Gu=[{name:"CNETE",image:h3,url:"https://www.cnete.qc.ca/"},{name:"Lavery",image:p3,url:"https://www.lavery.ca/"},{name:"Osler",image:m3,url:"https://www.osler.com/"},{name:"2 Degrés",image:y3,url:"https://2degres.com/"},{name:"VTE",image:g3,url:"https://zivte.com/"}
216,{name:"CIRADD",image:v3,url:"https://www.ciradd.ca/"},{name:"Université Laval",image:x3,url:"https://www.ulaval.ca/"},{name:"Université du Québec à Trois-Rivières",image:w3,url:"https://www.uqtr.ca/"},{name:"Entreprenariat ULaval",image:b3,url:"https://www.eul.ulaval.ca/"}],C3=()=>d.jsxs(gr,{children:[d.jsx("section",{className:"pt-32 pb-20 bg-sage pattern-bg",children:d.jsx("div",{className:"section-container",children:d.jsxs(D.div,{initial:"hidden",animate:"visible",variants:Og,className:"max-w-3xl",children:[d.jsxs(D.h1,{variants:qu,className:"font-display text-4xl sm:text-5xl font-bold text-foreground mb-6",children:["Nos"," ",d.jsx("span",{className:"gradient-text",children:"conseillers et partenaires"})]}),d.jsx(D.p,{variants:qu,className:"text-lg text-muted-foreground leading-relaxed",children:"MicroMea s'appuie sur un réseau de partenaires scientifiques reconnus et des collaborations solides pour développer et valider sa technologie innovante."})]})})}),d.jsx("section",{className:"py-24 bg-background",children:d.jsxs("div",{className:"section-container",children:[d.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"flex items-center gap-4 mb-12",children:[d.jsx("div",{className:"p-3 rounded-xl bg-primary/10",children:d.jsx(kE,{className:"w-6 h-6 text-primary"})}),d.jsx("h2",{className:"font-display text-3xl font-bold text-foreground",children:"Conseillers"})]}),d.jsx(D.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Og,className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:S3.map((e,t)=>d.jsxs(D.div,{variants:qu,className:"bg-card rounded-2xl p-6 border border-border card-hover",children:[e.image?d.jsx("img",{src:e.image,alt:e.name,className:"w-20 h-20 rounded-xl object-cover mb-4"}):d.jsx("div",{className:"w-20 h-20 rounded-xl bg-primary/10 flex items-center justify-center mb-4",children:d.jsx("span",{className:"font-display font-bold text-primary text-2xl",children:e.name.charAt(0)})}),d.jsx("h3",{className:"font-display text-lg font-bold text-foreground mb-2",children:e.name}),d.jsx("p",{className:"text-sm text-primary font-medium mb-3",children:e.expertise}),d.jsx("p",{className:"text-sm text-muted-foreground",children:e.role})]},t))})]})}),d.jsx("section",{className:"py-24 bg-sage",children:d.jsxs("div",{className:"section-container",children:[d.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"flex items-center gap-4 mb-12",children:[d.jsx("div",{className:"p-3 rounded-xl bg-primary/10",children:d.jsx(bE,{className:"w-6 h-6 text-primary"})}),d.jsx("h2",{className:"font-display text-3xl font-bold text-foreground",children:"Partenaires"})]}),d.jsxs("div",{className:"relative",children:[d.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-32 bg-gradient-to-r from-sage to-transparent z-10 pointer-events-none"}),d.jsx("div",{className:"absolute right-0 top-0 bottom-0 w-32 bg-gradient-to-l from-sage to-transparent z-10 pointer-events-none"}),d.jsx("div",{className:"overflow-hidden",children:d.jsxs("div",{className:"partners-carousel py-8 flex gap-8",children:[Gu.map((e,t)=>d.jsx("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"flex-shrink-0",children:d.jsx("div",{className:"bg-card border border-border p-8 h-40 w-64 flex items-center justify-center rounded-xl transition-all duration-300 hover:border-primary/30",children:d.jsx("img",{src:e.image,alt:`${e.name} logo`,className:"max-w-full max-h-full object-contain opacity-70 hover:opacity-100 transition-opacity duration-300"})})},`set1-${t}`)),Gu.map((e,t)=>d.jsx("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"flex-shrink-0",children:d.jsx("div",{className:"bg-card border border-border p-8 h-40 w-64 flex items-center justify-center rounded-xl transition-all duration-300 hover:border-primary/30",children:d.jsx("img",{src:e.image,alt:`${e.name} logo`,className:"max-w-full max-h-full object-contain opacity-70 hover:opacity-100 transition-opacity duration-300"})})},`set2-${t}`)),Gu.map((e,t)=>d.jsx("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"flex-shrink-0",children:d.jsx("div",{className:"bg-card border border-border p-8 h-40 w-64 flex items-center justify-center rounded-xl transition-all duration-300 hover:border-primary/30",children:d.jsx("img",{src:e.image,alt:`${e.name} logo`,className:"max-w-full max-h-full object-contain opacity-70 hover:opacity-100 transition-opacity duration-300"})})},`set3-${t}`))]})})]})]})}),d.jsx("section",{className:"py-24 bg-background",children:d.jsx("div",{className:"section-container",children:d.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-3xl mx-auto text-center",children:[d.jsx("div",{className:"p-4 rounded-2xl bg-primary/10 w-fit mx-auto mb-6",children:d.jsx(AE,{className:"w-8 h-8 text-primary"})}),d.jsx("h2",{className:"font-display text-3xl font-bold text-foreground mb-4",children:"Devenez partenaire"}),d.jsx("p",{className:"text-muted-foreground mb-8",children:"MicroMea recherche activement de nouveaux partenaires industriels et scientifiques pour accélérer le développement et le déploiement de sa technologie. Si vous souhaitez contribuer à la transition énergétique québécoise, contactez-nous."}),d.jsx("a",{href:"/contact",className:"inline-flex items-center gap-2 px-8 py-4 rounded-xl bg-primary text-primary-foreground font-semibold hover:bg-primary/90 transition-colors",children:"Nous contacter"})]})})})]}),Ig={hidden:{opacity:0,y:30},visible:{opacity:1,y:0}},E3={hidden:{opacity:0}
216,visible:{opacity:1,transition:{staggerChildren:.1}}},T3=()=>d.jsxs(gr,{children:[d.jsx("section",{className:"pt-32 pb-20 bg-sage pattern-bg",children:d.jsx("div",{className:"section-container",children:d.jsxs(D.div,{initial:"hidden",animate:"visible",variants:E3,className:"max-w-3xl",children:[d.jsxs(D.h1,{variants:Ig,className:"font-display text-4xl sm:text-5xl font-bold text-foreground mb-6",children:["Actualités ",d.jsx("span",{className:"gradient-text",children:"MicroMea"})]}),d.jsx(D.p,{variants:Ig,className:"text-lg text-muted-foreground leading-relaxed",children:"Restez informés des dernières nouvelles, partenariats et réalisations de Technologies MicroMea inc."})]})})}),d.jsx("section",{className:"py-24 bg-background",children:d.jsxs("div",{className:"section-container",children:[d.jsx(D.div,{initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0},className:"rounded-3xl overflow-hidden border border-border mb-12",children:d.jsx("div",{className:"elfsight-app-6080d64c-e507-4305-8af2-6b8d1d3ac4b4","data-elfsight-app-lazy":!0})}),d.jsxs(D.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center",children:[d.jsx("p",{className:"text-muted-foreground mb-6",children:"Vous voulez en savoir plus ou vous connecter directement avec nous?"}),d.jsxs("a",{href:"https://linkedin.com/company/technologies-micromea-inc",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-8 py-4 rounded-xl bg-primary text-primary-foreground font-semibold hover:bg-primary/90 transition-colors",children:["Visiter notre profil LinkedIn",d.jsx(Co,{className:"w-5 h-5"})]})]})]})})]}),Es=x.forwardRef(({className:e,type:t,...n},r)=>d.jsx("input",{type:t,className:Ht("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));Es.displayName="Input";const Iw=x.forwardRef(({className:e,...t},n)=>d.jsx("textarea",{className:Ht("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
216ing-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...t}));Iw.displayName="Textarea";var P3="Label",Vw=x.forwardRef((e,t)=>d.jsx(Xe.label,{...e,ref:t,onMouseDown:n=>{var i;n.target.closest("button, input, select, textarea")||((i=e.onMouseDown)==null||i.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));Vw.displayName=P3;var _w=Vw;const k3=Tf("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ri=x.forwardRef(({className:e,...t},n)=>d.jsx(_w,{ref:n,className:Ht(k3(),e),...t}));ri.displayName=_w.displayName;const Vg={hidden:{opacity:0,y:30},visible:{opacity:1,y:0}},N3={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1}}},j3=()=>{const{toast:e}=c0(),[t,n]=x.useState(!1),[r,i]=x.useState(!1),[s,o]=x.useState({name:"",email:"",phone:"",company:"",message:""}),a=async u=>{u.preventDefault(),n(!0);try{const c=new FormData(u.currentTarget);
216c.append("access_key","034e02f5-6bfc-43ae-af38-0c154c6444ab"),(await(await fetch("https://api.web3forms.com/submit",{method:"POST",body:c})).json()).success?(i(!0),e({title:"Message envoyé!",description:"Nous vous répondrons dans les plus brefs délais."}),o({name:"",email:"",phone:"",company:"",message:""})):e({title:"Erreur d'envoi",description:"Une erreur s'est produite. Réessaye plus tard.",variant:"destructive"})}catch{e({title:"Erreur d'envoi",description:"Une erreur s'est produite. Réessaye plus tard.",variant:"destructive"})}finally{n(!1)}},l=u=>{o({...s,[u.target.name]:u.target.value})};return d.jsxs(gr,{children:[d.jsx("section",{className:"pt-32 pb-20 bg-sage pattern-bg",children:d.jsx("div",{className:"section-container",children:d.jsxs(D.div,{initial:"hidden",animate:"visible",variants:N3,className:"max-w-3xl",children:[d.jsxs(D.h1,{variants:Vg,className:"font-display text-4xl sm:text-5xl font-bold text-foreground mb-6",children:["Contactez-",d.jsx("span",{className:"gradient-text",children:"nous"})]}),d.jsx(D.p,{variants:Vg,className:"text-lg text-muted-foreground leading-relaxed",children:"Vous avez des questions sur notre technologie ou souhaitez discuter d'un projet? Notre équipe est à votre disposition."})]})})}),d.jsx("section",{className:"py-24 bg-background",children:d.jsx("div",{className:"section-container",children:d.jsxs("div",{className:"grid lg:grid-cols-2 gap-16",children:[d.jsxs(D.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},children:[d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-8",children:"Envoyez-nous un message"}),r?d.jsxs(D.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},className:"bg-primary/10 rounded-3xl p-12 text-center",children:[d.jsx("div",{className:"p-4 rounded-full bg-primary/20 w-fit mx-auto mb-6",children:d.jsx(EE,{className:"w-12 h-12 text-primary"})}),d.jsx("h3",{className:"font-display text-xl font-bold text-foreground mb-3",children:"Message envoyé avec succès!"}),d.jsx("p",{className:"text-muted-foreground mb-6",children:"Merci pour votre message. Notre équipe vous répondra dans les plus brefs délais."}),d.jsx(Wt,{onClick:()=>{i(!1),o({name:"",email:"",phone:"",company:"",message:""})},children:"Envoyer un autre message"})]}):d.jsxs("form",{onSubmit:a,className:"space-y-6",children:[d.jsxs("div",{className:"grid sm:grid-cols-2 gap-6",children:[d.jsxs("div",{className:"space-y-2",children:[d.jsx(ri,{htmlFor:"name",children:"Nom complet *"}),d.jsx(Es,{id:"name",name:"name",value:s.name,onChange:l,required:!0,placeholder:"Votre nom",className:"h-12"})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx(ri,{htmlFor:"email",children:"Courriel *"}),d.jsx(Es,{id:"email",name:"email",type:"email",value:s.email,onChange:l,required:!0,placeholder:"[email protected]",className:"h-12"})]})]}),d.jsxs("div",{className:"grid sm:grid-cols-2 gap-6",children:[d.jsxs("div",{className:"space-y-2",children:[d.jsx(ri,{htmlFor:"phone",children:"Téléphone"}),d.jsx(Es,{id:"phone",name:"phone",type:"tel",value:s.phone,onChange:l,placeholder:"(555) 555-5555",className:"h-12"})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx(ri,{htmlFor:"company",children:"Entreprise / Organisation"}),d.jsx(Es,{id:"company",name:"company",value:s.company,onChange:l,placeholder:"Nom de votre organisation",className:"h-12"})]})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx(ri,{htmlFor:"message",children:"Message *"}),d.jsx(Iw,{id:"message",name:"message",value:s.message,onChange:l,required:!0,placeholder:"Décrivez votre projet ou posez vos questions...",className:"min-h-[160px] resize-none"})]}),d.jsx(Wt,{type:"submit",size:"lg",className:"w-full sm:w-auto",disabled:t,children:t?"Envoi en cours...":d.jsxs(d.Fragment,{children:["Envoyer le message",d.jsx(RE,{className:"w-4 h-4"})]})})]})]}),d.jsxs(D.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},children:[d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-8",children:"Nos coordonnées"}),d.jsxs("div",{className:"space-y-6 mb-12",children:[d.jsxs("div",{className:"flex items-start gap-4 p-6 rounded-2xl bg-secondary",children:[d.jsx("div",{className:"p-3 rounded-xl bg-primary/10",children:d.jsx(U0,{className:"w-6 h-6 text-primary"})}),d.jsxs("div",{children:[d.jsx("h3",{className:"font-semibold text-foreground mb-1",children:"Courriel"}),d.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:underline",children:"[email protected]"})]})]}),d.jsxs("div",{className:"flex items-start gap-4 p-6 rounded-2xl bg-secondary",children:[d.jsx("div",{className:"p-3 rounded-xl bg-primary/10",children:d.jsx(Rl,{className:"w-6 h-6 text-primary"})}),d.jsxs("div",{children:[d.jsx("h3",{className:"font-semibold text-foreground mb-1",children:"LinkedIn"}),d.jsx("a",{href:"https://linkedin.com/company/technologies-micromea-inc",target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:underline",children:"Technologies MicroMea Inc."})]})]})]})]})]})})})]})},pt={hidden:{opacity:0,y:30},visible:{opacity:1,y:0}},_g={hidden:{opacity:0}
216,visible:{opacity:1,transition:{staggerChildren:.1}}},R3=()=>d.jsxs(gr,{children:[d.jsx("section",{className:"pt-32 pb-20 bg-sage pattern-bg",children:d.jsx("div",{className:"section-container",children:d.jsxs(D.div,{initial:"hidden",animate:"visible",variants:_g,className:"max-w-3xl",children:[d.jsxs(D.h1,{variants:pt,className:"font-display text-4xl sm:text-5xl font-bold text-foreground mb-6",children:["Mentions ",d.jsx("span",{className:"gradient-text",children:"Légales"})]}),d.jsx(D.p,{variants:pt,className:"text-lg text-muted-foreground leading-relaxed",children:"Informations légales concernant le site et l'entreprise Technologies MicroMea Inc."})]})})}),d.jsx("section",{className:"py-24 bg-background",children:d.jsx("div",{className:"section-container max-w-3xl",children:d.jsxs(D.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:_g,className:"prose prose-invert max-w-none space-y-12",children:[d.jsxs(D.div,{variants:pt,children:[d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-4",children:"1. Ãditeur du site"}),d.jsxs("div",{className:"text-muted-foreground space-y-2",children:[d.jsxs("p",{children:[d.jsx("strong",{className:"text-foreground",children:"Entreprise:"})," ","Technologies MicroMea Inc."]}),d.jsxs("p",{children:[d.jsx("strong",{className:"text-foreground",children:"Numéro NEQ:"})," ","1180512478"]}),d.jsxs("p",{children:[d.jsx("strong",{className:"text-foreground",children:"Email:"})," ","[email protected]"]})]})]}),d.jsxs(D.div,{variants:pt,children:[d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-4",children:"2. Propriété intellectuelle"}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"L'ensemble du contenu du site (textes, images, logos, vidéos, design) est la propriété exclusive de Technologies MicroMea Inc. ou de ses partenaires. Toute reproduction, modification ou utilisation sans autorisation écrite préalable est strictement interdite."}),d.jsx("p",{className:"text-muted-foreground leading-relaxed mt-4",children:"Technologies MicroMea Inc. est une marque déposée de Technologies MicroMea Inc."})]}),d.jsxs(D.div,{variants:pt,children:[d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-4",children:"3. Limitations de responsabilité"}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Nous faisons de notre mieux pour que le contenu du site soit exact et disponible, mais Technologies MicroMea Inc. ne peut garantir que le site soit exempt d'erreurs ou accessible en permanence."}),d.jsxs("ul",{className:"list-disc list-inside text-muted-foreground space-y-2 mt-4 ml-4",children:[d.jsx("li",{children:"Les erreurs ou omissions dans le contenu du site"}),d.jsx("li",{children:"Les interruptions temporaires d'accès ou problèmes techniques"}),d.jsx("li",{children:"Les dommages éventuels résultant de l'utilisation du site"}),d.jsx("li",{children:"Les contenus et pratiques des sites externes liés"})]})]}),d.jsxs(D.div,{variants:pt,children:[d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-4",children:"4. Données personnelles"}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Technologies MicroMea Inc. collecte et traite vos données personnelles conformément à la Loi sur la protection des renseignements personnels dans le secteur privé (Loi 25) du Québec et au Règlement général sur la protection des données (RGPD)."}),d.jsx("p",{className:"text-muted-foreground leading-relaxed mt-4",children:"Les informations collectées via le formulaire de contact sont utilisées uniquement pour vous répondre et améliorer nos services. Vos données ne seront pas partagées avec des tiers sans votre consentement."}),d.jsx("p",{className:"text-muted-foreground leading-relaxed mt-4",children:"Vous disposez du droit d'accès, de rectification et de suppression de vos données. Pour exercer ces droits, contactez [email protected]."})]}),d.jsxs(D.div,{variants:pt,children:[d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-4",children:"5. Cookies"}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Notre site vitrine nâutilise pas de cookies pour le suivi ou lâanalyse directement. Certains contenus intégrés, comme le widget LinkedIn via Elfsight, peuvent déposer des cookies selon leurs propres politiques. Vous pouvez gérer vos préférences ou les désactiver dans les paramètres de votre navigateur."})]}),d.jsxs(D.div,{variants:pt,children:[d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-4",children:"6. Sécurité"}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Nous mettons en place des mesures raisonnables pour protéger vos informations personnelles et limiter les risques dâaccès non autorisé."})]}),d.jsxs(D.div,{variants:pt,children:[d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-4",children:"7. Liens externes"}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Ce site peut contenir des liens vers d'autres sites web. Technologies MicroMea Inc. n'est pas responsable du contenu, des politiques de confidentialité ou des pratiques de ces sites externes. La consultation de ces sites se fait à vos risques et périls."})]}),d.jsxs(D.div,{variants:pt,children:[d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-4",children:"8. Modification des présentes mentions légales"}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Technologies MicroMea Inc. se réserve le droit de modifier les présentes mentions légales à tout moment sans préavis. Les modifications entreront en vigueur dès leur publication sur le site."})]}),d.jsxs(D.div,{variants:pt,children:[d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-4",children:"9. Contact"}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Pour toute question concernant ces mentions légales ou la collecte de données personnelles, veuillez nous contacter à :"}),d.jsxs("div",{className:"text-muted-foreground space-y-1 mt-4",children:[d.jsxs("p",{children:[d.jsx("strong",{className:"text-foreground",children:"Email:"})," ","[email protected]"]}),d.jsxs("p",{children:[d.jsx("strong",{className:"text-foreground",children:"Formulaire:"})," ",d.jsx("a",{href:"/contact",className:"text-primary hover:underline transition-colors",children:"Contactez-nous"})]})]})]}),d.jsx(D.div,{variants:pt,children:d.jsx("p",{className:"text-sm text-muted-foreground italic",children:"Dernière mise à jour: janvier 2026"})})]})})})]}),it={hidden:{opacity:0,y:30},visible:{opacity:1,y:0}},Fg={hidden:{opacity:0}
216,visible:{opacity:1,transition:{staggerChildren:.1}}},M3=()=>d.jsxs(gr,{children:[d.jsx("section",{className:"pt-32 pb-20 bg-sage pattern-bg",children:d.jsx("div",{className:"section-container",children:d.jsxs(D.div,{initial:"hidden",animate:"visible",variants:Fg,className:"max-w-3xl",children:[d.jsxs(D.h1,{variants:it,className:"font-display text-4xl sm:text-5xl font-bold text-foreground mb-6",children:["Politique de"," ",d.jsx("span",{className:"gradient-text",children:"confidentialité"})]}),d.jsx(D.p,{variants:it,className:"text-lg text-muted-foreground leading-relaxed",children:"Comment nous collectons, utilisons et protégeons vos renseignements personnels conformément à la Loi 25 du Québec."})]})})}),d.jsx("section",{className:"py-24 bg-background",children:d.jsx("div",{className:"section-container max-w-3xl",children:d.jsxs(D.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Fg,className:"prose prose-invert max-w-none space-y-12",children:[d.jsxs(D.div,{variants:it,children:[d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-4",children:"1. Introduction"}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Technologies MicroMea Inc. (« nous », « notre » ou « MicroMea ») accorde une grande importance à la protection de vos renseignements personnels. Cette politique explique comment nous collectons, utilisons, conservons et protégeons vos données, conformément à la Loi sur la protection des renseignements personnels dans le secteur privé (Loi 25)."})]}),d.jsxs(D.div,{variants:it,children:[d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-4",children:"2. Données que nous collectons"}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Nous collectons uniquement les renseignements que vous nous fournissez volontairement via notre site web."}),d.jsxs("div",{className:"mt-6 space-y-4",children:[d.jsxs("div",{className:"p-4 rounded-lg bg-secondary",children:[d.jsx("h3",{className:"font-semibold text-foreground mb-2",children:"Formulaire de contact"}),d.jsxs("ul",{className:"list-disc list-inside text-sm text-muted-foreground space-y-1 mt-2 ml-2",children:[d.jsx("li",{children:"Nom"}),d.jsx("li",{children:"Adresse courriel"}),d.jsx("li",{children:"Numéro de téléphone (optionnel)"}),d.jsx("li",{children:"Nom de lâentreprise (optionnel)"}),d.jsx("li",{children:"Contenu du message"})]})]}),d.jsxs("div",{className:"p-4 rounded-lg bg-secondary",children:[d.jsx("h3",{className:"font-semibold text-foreground mb-2",children:"Contenus intégrés (tiers)"}),d.jsx("p",{className:"text-sm text-muted-foreground",children:"Notre site intègre du contenu provenant de LinkedIn via le service Elfsight. Ces services tiers peuvent collecter certaines données automatiquement (par exemple via des cookies), selon leurs propres politiques de confidentialité."})]})]})]}),d.jsxs(D.div,{variants:it,children:[d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-4",children:"3. Utilisation de vos données"}),d.jsxs("ul",{className:"list-disc list-inside text-muted-foreground space-y-2 mt-4 ml-4",children:[d.jsx("li",{children:"Répondre à vos demandes"}),d.jsx("li",{children:"Communiquer avec vous"}),d.jsx("li",{children:"Améliorer nos services et notre offre"})]})]}),d.jsxs(D.div,{variants:it,children:[d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-4",children:"4. Partage de vos renseignements"}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Nous ne vendons ni ne louons vos données personnelles. Elles peuvent être partagées uniquement dans les cas suivants :"}),d.jsxs("ul",{className:"list-disc list-inside text-muted-foreground space-y-2 mt-4 ml-4",children:[d.jsx("li",{children:"Lorsque requis par la loi"}),d.jsx("li",{children:"Avec votre consentement"}),d.jsx("li",{children:"Avec nos fournisseurs de services (ex. : traitement des formulaires)"})]})]}),d.jsxs(D.div,{variants:it,children:[d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-4",children:"5. Cookies et technologies similaires"}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Nous nâutilisons pas de cookies de suivi ou dâanalyse directement sur notre site. Toutefois, certains contenus intégrés provenant de services tiers (comme LinkedIn via Elfsight) peuvent déposer des cookies conformément à leurs propres politiques."})]}),d.jsxs(D.div,{variants:it,children:[d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-4",children:"6. Sécurité"}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Nous mettons en place des mesures raisonnables pour protéger vos renseignements personnels. Toutefois, aucun système nâest entièrement sécurisé."})]}),d.jsxs(D.div,{variants:it,children:[d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-4",children:"7.
216Conservation"}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Vos renseignements sont conservés uniquement pour la durée nécessaire aux fins pour lesquelles ils ont été collectés, généralement jusquâà 3 ans, sauf obligation légale contraire."})]}),d.jsxs(D.div,{variants:it,children:[d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-4",children:"8. Vos droits"}),d.jsxs("ul",{className:"list-disc list-inside text-muted-foreground space-y-2 mt-4 ml-4",children:[d.jsx("li",{children:"Droit dâaccès"}),d.jsx("li",{children:"Droit de rectification"}),d.jsx("li",{children:"Droit à lâeffacement"}),d.jsx("li",{children:"Droit de retrait du consentement"})]})]}),d.jsxs(D.div,{variants:it,children:[d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-4",children:"9. Nous contacter"}),d.jsxs("div",{className:"text-muted-foreground space-y-2 mt-4 p-4 rounded-lg bg-secondary",children:[d.jsxs("p",{children:[d.jsx("strong",{className:"text-foreground",children:"Courriel :"})," ","[email protected]"]}),d.jsxs("p",{children:[d.jsx("strong",{className:"text-foreground",children:"Formulaire :"})," ",d.jsx("a",{href:"/contact",className:"text-primary hover:underline transition-colors",children:"Contactez-nous"})]})]})]}),d.jsxs(D.div,{variants:it,children:[d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-4",children:"10. Modifications"}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Cette politique peut être modifiée à tout moment. La version la plus récente sera toujours disponible sur cette page."})]}),d.jsx(D.div,{variants:it,children:d.jsx("p",{className:"text-sm text-muted-foreground italic border-t border-border pt-8",children:"Dernière mise à jour : janvier 2026"})})]})})})]}),A3=()=>{const e=Gr();return x.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),d.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:d.jsxs("div",{className:"text-center",children:[d.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),d.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),d.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},D3=new nk,L3=()=>d.jsx(ik,{client:D3,children:d.jsxs(AP,{children:[d.jsx(mT,{}),d.jsx(qT,{}),d.jsxs(tN,{children:[d.jsx(sN,{}),d.jsxs(Gk,{children:[d.jsx(qt,{path:"/",element:d.jsx(JA,{})}),d.jsx(qt,{path:"/a-propos",element:d.jsx(i3,{})}),d.jsx(qt,{path:"/produits-services",element:d.jsx(u3,{})}),d.jsx(qt,{path:"/partenaires",element:d.jsx(C3,{})}),d.jsx(qt,{path:"/actualites",element:d.jsx(T3,{})}),d.jsx(qt,{path:"/contact",element:d.jsx(j3,{})}),d.jsx(qt,{path:"/mentions-legales",element:d.jsx(R3,{})}),d.jsx(qt,{path:"/politique-confidentialite",element:d.jsx(M3,{})}),d.jsx(qt,{path:"*",element:d.jsx(A3,{})})]})]})]})});u0(document.getElementById("root")).render(d.jsx(L3,{}));
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.