PageSourceSearch

https://neahmcmeen.com/assets/index-B06LWZD9.js

js neahmcmeen.com collected 2026-10-08 06:29:12 UTC 523,039 bytes, 16 lines download raw bytes

vendor: 5,558 bytes, line 1
1function ET(t,e){for(var n=0;n<e.length;n++){const i=e[n];if(typeof i!="string"&&!Array.isArray(i)){for(const o in i)if(o!=="default"&&!(o in t)){const l=Object.getOwnPropertyDescriptor(i,o);l&&Object.defineProperty(t,o,l.get?l:{enumerable:!0,get:()=>i[o]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const c of l.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&i(c)}).observe(document,{childList:!0,subtree:!0});function n(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function i(o){if(o.ep)return;o.ep=!0;const l=n(o);fetch(o.href,l)}})();function ko(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var qc={exports:{}},Ui={},Kc={exports:{}},Ce={};var dg;function _T(){if(dg)return Ce;dg=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),y=Symbol.iterator;function x(N){return N===null||typeof N!="object"?null:(N=y&&N[y]||N["@@iterator"],typeof N=="function"?N:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,b={};function P(N,F,ye){this.props=N,this.context=F,this.refs=b,this.updater=ye||S}P.prototype.isReactComponent={},P.prototype.setState=function(N,F){if(typeof N!="object"&&typeof N!="function"&&N!=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,N,F,"setState")},P.prototype.forceUpdate=function(N){this.updater.enqueueForceUpdate(this,N,"forceUpdate")};function A(){}A.prototype=P.prototype;function R(N,F,ye){this.props=N,this.context=F,this.refs=b,this.updater=ye||S}var j=R.prototype=new A;j.constructor=R,E(j,P.prototype),j.isPureReactComponent=!0;var L=Array.isArray,I=Object.prototype.hasOwnProperty,$={current:null},q={key:!0,ref:!0,__self:!0,__source:!0};function Z(N,F,ye){var xe,_e={},ke=null,Oe=null;if(F!=null)for(xe in F.ref!==void 0&&(Oe=F.ref),F.key!==void 0&&(ke=""+F.key),F)I.call(F,xe)&&!q.hasOwnProperty(xe)&&(_e[xe]=F[xe]);var Me=arguments.length-2;if(Me===1)_e.children=ye;else if(1<Me){for(var Ie=Array(Me),Pt=0;Pt<Me;Pt++)Ie[Pt]=arguments[Pt+2];_e.children=Ie}if(N&&N.defaultProps)for(xe in Me=N.defaultProps,Me)_e[xe]===void 0&&(_e[xe]=Me[xe]);return{$$typeof:t,type:N,key:ke,ref:Oe,props:_e,_owner:$.current}}function le(N,F){return{$$typeof:t,type:N.type,key:F,ref:N.ref,props:N.props,_owner:N._owner}}function ue(N){return typeof N=="object"&&N!==null&&N.$$typeof===t}function ve(N){var F={"=":"=0",":":"=2"};return"$"+N.replace(/[=:]/g,function(ye){return F[ye]})}var ae=/\/+/g;function Se(N,F){return typeof N=="object"&&N!==null&&N.key!=null?ve(""+N.key):F.toString(36)}function X(N,F,ye,xe,_e){var ke=typeof N;(ke==="undefined"||ke==="boolean")&&(N=null);var Oe=!1;if(N===null)Oe=!0;else switch(ke){case"string":case"number":Oe=!0;break;case"object":switch(N.$$typeof){case t:case e:Oe=!0}}if(Oe)return Oe=N,_e=_e(Oe),N=xe===""?"."+Se(Oe,0):xe,L(_e)?(ye="",N!=null&&(ye=N.replace(ae,"$&/")+"/"),X(_e,F,ye,"",function(Pt){return Pt})):_e!=null&&(ue(_e)&&(_e=le(_e,ye+(!_e.key||Oe&&Oe.key===_e.key?"":(""+_e.key).replace(ae,"$&/")+"/")+N)),F.push(_e)),1;if(Oe=0,xe=xe===""?".":xe+":",L(N))for(var Me=0;Me<N.length;Me++){ke=N[Me];var Ie=xe+Se(ke,Me);Oe+=X(ke,F,ye,Ie,_e)}else if(Ie=x(N),typeof Ie=="function")for(N=Ie.call(N),Me=0;!(ke=N.next()).done;)ke=ke.value,Ie=xe+Se(ke,Me++),Oe+=X(ke,F,ye,Ie,_e);else if(ke==="object")throw F=String(N),Error("Objects are not valid as a React child (found: "+(F==="[object Object]"?"object with keys {"+Object.keys(N).join(", ")+"}":F)+"). If you meant to render a collection of children, use an array instead.");return Oe}function Ee(N,F,ye){if(N==null)return N;var xe=[],_e=0;return X(N,xe,"","",function(ke){return F.call(ye,ke,_e++)}),xe}function he(N){if(N._status===-1){var F=N._result;F=F(),F.then(function(ye){(N._status===0||N._status===-1)&&(N._status=1,N._result=ye)},function(ye){(N._status===0||N._status===-1)&&(N._status=2,N._result=ye)}),N._status===-1&&(N._status=0,N._result=F)}if(N._status===1)return N._result.default;throw N._result}var te={current:null},V={transition:null},G={ReactCurrentDispatcher:te,ReactCurrentBatchConfig:V,ReactCurrentOwner:$};function Q(){throw Error("act(...) is not supported in production builds of React.")}return Ce.Children={map:Ee,forEach:function(N,F,ye){Ee(N,function(){F.apply(this,arguments)},ye)},count:function(N){var F=0;return Ee(N,function(){F++}),F},toArray:function(N){return Ee(N,function(F){return F})||[]},only:function(N){if(!ue(N))throw Error("React.Children.only expected to receive a single React element child.");return N}},Ce.Component=P,Ce.Fragment=n,Ce.Profiler=o,Ce.PureComponent=R,Ce.StrictMode=i,Ce.Suspense=f,Ce.__SECRET_INT
vendor: 8,510 bytes, line 1
1ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=G,Ce.act=Q,Ce.cloneElement=function(N,F,ye){if(N==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+N+".");var xe=E({},N.props),_e=N.key,ke=N.ref,Oe=N._owner;if(F!=null){if(F.ref!==void 0&&(ke=F.ref,Oe=$.current),F.key!==void 0&&(_e=""+F.key),N.type&&N.type.defaultProps)var Me=N.type.defaultProps;for(Ie in F)I.call(F,Ie)&&!q.hasOwnProperty(Ie)&&(xe[Ie]=F[Ie]===void 0&&Me!==void 0?Me[Ie]:F[Ie])}var Ie=arguments.length-2;if(Ie===1)xe.children=ye;else if(1<Ie){Me=Array(Ie);for(var Pt=0;Pt<Ie;Pt++)Me[Pt]=arguments[Pt+2];xe.children=Me}return{$$typeof:t,type:N.type,key:_e,ref:ke,props:xe,_owner:Oe}},Ce.createContext=function(N){return N={$$typeof:c,_currentValue:N,_currentValue2:N,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},N.Provider={$$typeof:l,_context:N},N.Consumer=N},Ce.createElement=Z,Ce.createFactory=function(N){var F=Z.bind(null,N);return F.type=N,F},Ce.createRef=function(){return{current:null}},Ce.forwardRef=function(N){return{$$typeof:d,render:N}},Ce.isValidElement=ue,Ce.lazy=function(N){return{$$typeof:m,_payload:{_status:-1,_result:N},_init:he}},Ce.memo=function(N,F){return{$$typeof:p,type:N,compare:F===void 0?null:F}},Ce.startTransition=function(N){var F=V.transition;V.transition={};try{N()}finally{V.transition=F}},Ce.unstable_act=Q,Ce.useCallback=function(N,F){return te.current.useCallback(N,F)},Ce.useContext=function(N){return te.current.useContext(N)},Ce.useDebugValue=function(){},Ce.useDeferredValue=function(N){return te.current.useDeferredValue(N)},Ce.useEffect=function(N,F){return te.current.useEffect(N,F)},Ce.useId=function(){return te.current.useId()},Ce.useImperativeHandle=function(N,F,ye){return te.current.useImperativeHandle(N,F,ye)},Ce.useInsertionEffect=function(N,F){return te.current.useInsertionEffect(N,F)},Ce.useLayoutEffect=function(N,F){return te.current.useLayoutEffect(N,F)},Ce.useMemo=function(N,F){return te.current.useMemo(N,F)},Ce.useReducer=function(N,F,ye){return te.current.useReducer(N,F,ye)},Ce.useRef=function(N){return te.current.useRef(N)},Ce.useState=function(N){return te.current.useState(N)},Ce.useSyncExternalStore=function(N,F,ye){return te.current.useSyncExternalStore(N,F,ye)},Ce.useTransition=function(){return te.current.useTransition()},Ce.version="18.3.1",Ce}var fg;function Ol(){return fg||(fg=1,Kc.exports=_T()),Kc.exports}var hg;function kT(){if(hg)return Ui;hg=1;var t=Ol(),e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,o=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(d,f,p){var m,y={},x=null,S=null;p!==void 0&&(x=""+p),f.key!==void 0&&(x=""+f.key),f.ref!==void 0&&(S=f.ref);for(m in f)i.call(f,m)&&!l.hasOwnProperty(m)&&(y[m]=f[m]);if(d&&d.defaultProps)for(m in f=d.defaultProps,f)y[m]===void 0&&(y[m]=f[m]);return{$$typeof:e,type:d,key:x,ref:S,props:y,_owner:o.current}}return Ui.Fragment=n,Ui.jsx=c,Ui.jsxs=c,Ui}var pg;function AT(){return pg||(pg=1,qc.exports=kT()),qc.exports}var w=AT(),qa={},Qc={exports:{}},Mt={},Zc={exports:{}},Gc={};var mg;function NT(){return mg||(mg=1,(function(t){function e(V,G){var Q=V.length;V.push(G);e:for(;0<Q;){var N=Q-1>>>1,F=V[N];if(0<o(F,G))V[N]=G,V[Q]=F,Q=N;else break e}}function n(V){return V.length===0?null:V[0]}function i(V){if(V.length===0)return null;var G=V[0],Q=V.pop();if(Q!==G){V[0]=Q;e:for(var N=0,F=V.length,ye=F>>>1;N<ye;){var xe=2*(N+1)-1,_e=V[xe],ke=xe+1,Oe=V[ke];if(0>o(_e,Q))ke<F&&0>o(Oe,_e)?(V[N]=Oe,V[ke]=Q,N=ke):(V[N]=_e,V[xe]=Q,N=xe);else if(ke<F&&0>o(Oe,Q))V[N]=Oe,V[ke]=Q,N=ke;else break e}}return G}function o(V,G){var Q=V.sortIndex-G.sortIndex;return Q!==0?Q:V.id-G.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;t.unstable_now=function(){return l.now()}}else{var c=Date,d=c.now();t.unstable_now=function(){return c.now()-d}}var f=[],p=[],m=1,y=null,x=3,S=!1,E=!1,b=!1,P=typeof setTimeout=="function"?setTimeout:null,A=typeof clearTimeout=="function"?clearTimeout:null,R=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function j(V){for(var G=n(p);G!==null;){if(G.callback===null)i(p);else if(G.startTime<=V)i(p),G.sortIndex=G.expirationTime,e(f,G);else break;G=n(p)}}function L(V){if(b=!1,j(V),!E)if(n(f)!==null)E=!0,he(I);else{var G=n(p);G!==null&&te(L,G.startTime-V)}}function I(V,G){E=!1,b&&(b=!1,A(Z),Z=-1),S=!0;var Q=x;try{for(j(G),y=n(f);y!==null&&(!(y.expirationTime>G)||V&&!ve());){var N=y.callback;if(typeof N=="function"){y.callback=null,x=y.priorityLevel;var F=N(y.expirationTime<=G);G=t.unstable_now(),typeof F=="function"?y.callback=F:y===n(f)&&i(f),j(G)}else i(f);y=n(f)}if(y!==null)var ye=!0;else{var xe=n(p);xe!==null&&te(L,xe.startTime-G),ye=!1}return ye}finally{y=null,x=Q,S=!1}}var $=!1,q=null,Z=-1,le=5,ue=-1;function ve(){return!(t.unstable_now()-ue<le)}function ae(){if(q!==null){var V=t.unstable_now();ue=V;var G=!0;try{G=q(!0,V)}finally{G?Se():($=!1,q=null)}}else $=!1}var Se;if(typeof R=="function")Se=function(){R(ae)};else if(typeof MessageChannel<"u"){var X=new MessageChannel,Ee=X.port2;X.port1.onmessage=ae,Se=function(){Ee.postMessage(null)}}else Se=function(){P(ae,0)};function he(V){q=V,$||($=!0,Se())}function te(V,G){Z=P(function(){V(t.unstable_now())},G)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(V){V.callback=null},t.unstable_continueExecution=function(){E||S||(E=!0,he(I))},t.unstable_forceFrameRate=function(V){0>V||125<V?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):le=0<V?Math.floor(1e3/V):5},t.unstable_getCurrentPriorityLevel=function(){return x},t.unstable_getFirstCallbackNode=function(){return n(f)},t.unstable_next=function(V){switch(x){case 1:case 2:case 3:var G=3;break;default:G=x}var Q=x;x=G;try{return V()}finally{x=Q}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(V,G){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var Q=x;x=V;try{return G()}finally{x=Q}},t.unstable_scheduleCallback=function(V,G,Q){var N=t.unstable_now();switch(typeof Q=="object"&&Q!==null?(Q=Q.delay,Q=typeof Q=="number"&&0<Q?N+Q:N):Q=N,V){case 1:var F=-1;break;case 2:F=250;break;case 5:F=1073741823;break;case 4:F=1e4;break;default:F=5e3}return F=Q+F,V={id:m++,callback:G,priorityLevel:V,startTime:Q,expirationTime:F,sortIndex:-1},Q>N?(V.sortIndex=Q,e(p,V),n(f)===null&&V===n(p)&&(b?(A(Z),Z=-1):b=!0,te(L,Q-N))):(V.sortIndex=F,e(f,V),E||S||(E=!0,he(I))),V},t.unstable_shouldYield=ve,t.unstable_wrapCallback=function(V){var G=x;return function(){var Q=x;x=G;try{return V.apply(this,arguments)}finally{x=Q}}}})(Gc)),Gc}var gg;function RT(){return gg||(gg=1,Zc.exports=NT()),Zc.exports}var yg;function OT(){if(yg)return Mt;yg=1;var t=Ol(),e=RT();function n(r){for(var s="https://reactjs.org/docs/error-decoder.html?invariant="+r,a=1;a<arguments.length;a++)s+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+r+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,o={};function l(r,s){c(r,s),c(r+"Capture",s)}function c(r,s){for(o[r]=s,r=0;r<s.length;r++)i.add(s[r])}var d=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,p=/^[: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]*$/,m={},y={};function x(r){return f.call(y,r)?!0:f.call(m,r)?!1:p.test(r)?y[r]=!0:(m[r]=!0,!1)}function S(r,s,a,u){if(a!==null&&a.type===0)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":return u?!1:a!==null?!a.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function E(r,s,a,u){if(s===null||typeof s>"u"||S(r,s,a,u))return!0;
vendor: 46,512 bytes, lines 1-6
1if(u)return!1;if(a!==null)switch(a.type){case 3:return!s;case 4:return s===!1;case 5:return isNaN(s);case 6:return isNaN(s)||1>s}return!1}function b(r,s,a,u,h,g,v){this.acceptsBooleans=s===2||s===3||s===4,this.attributeName=u,this.attributeNamespace=h,this.mustUseProperty=a,this.propertyName=r,this.type=s,this.sanitizeURL=g,this.removeEmptyString=v}var P={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){P[r]=new b(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var s=r[0];P[s]=new b(s,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){P[r]=new b(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){P[r]=new b(r,2,!1,r,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(r){P[r]=new b(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){P[r]=new b(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){P[r]=new b(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){P[r]=new b(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){P[r]=new b(r,5,!1,r.toLowerCase(),null,!1,!1)});var A=/[\-:]([a-z])/g;function R(r){return r[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(r){var s=r.replace(A,R);P[s]=new b(s,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var s=r.replace(A,R);P[s]=new b(s,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var s=r.replace(A,R);P[s]=new b(s,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){P[r]=new b(r,1,!1,r.toLowerCase(),null,!1,!1)}),P.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){P[r]=new b(r,1,!1,r.toLowerCase(),null,!0,!0)});function j(r,s,a,u){var h=P.hasOwnProperty(s)?P[s]:null;(h!==null?h.type!==0:u||!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(E(s,a,h,u)&&(a=null),u||h===null?x(s)&&(a===null?r.removeAttribute(s):r.setAttribute(s,""+a)):h.mustUseProperty?r[h.propertyName]=a===null?h.type===3?!1:"":a:(s=h.attributeName,u=h.attributeNamespace,a===null?r.removeAttribute(s):(h=h.type,a=h===3||h===4&&a===!0?"":""+a,u?r.setAttributeNS(u,s,a):r.setAttribute(s,a))))}var L=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,I=Symbol.for("react.element"),$=Symbol.for("react.portal"),q=Symbol.for("react.fragment"),Z=Symbol.for("react.strict_mode"),le=Symbol.for("react.profiler"),ue=Symbol.for("react.provider"),ve=Symbol.for("react.context"),ae=Symbol.for("react.forward_ref"),Se=Symbol.for("react.suspense"),X=Symbol.for("react.suspense_list"),Ee=Symbol.for("react.memo"),he=Symbol.for("react.lazy"),te=Symbol.for("react.offscreen"),V=Symbol.iterator;function G(r){return r===null||typeof r!="object"?null:(r=V&&r[V]||r["@@iterator"],typeof r=="function"?r:null)}var Q=Object.assign,N;function F(r){if(N===void 0)try{throw Error()}catch(a){var s=a.stack.trim().match(/\n( *(at )?)/);N=s&&s[1]||""}return`
2`+N+r}var ye=!1;function xe(r,s){if(!r||ye)return"";ye=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(s)if(s=function(){throw Error()},Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(D){var u=D}Reflect.construct(r,[],s)}else{try{s.call()}catch(D){u=D}r.call(s.prototype)}else{try{throw Error()}catch(D){u=D}r()}}catch(D){if(D&&u&&typeof D.stack=="string"){for(var h=D.stack.split(`
3`),g=u.stack.split(`
4`),v=h.length-1,C=g.length-1;1<=v&&0<=C&&h[v]!==g[C];)C--;for(;1<=v&&0<=C;v--,C--)if(h[v]!==g[C]){if(v!==1||C!==1)do if(v--,C--,0>C||h[v]!==g[C]){var _=`
5`+h[v].replace(" at new "," at ");return r.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",r.displayName)),_}while(1<=v&&0<=C);break}}}finally{ye=!1,Error.prepareStackTrace=a}return(r=r?r.displayName||r.name:"")?F(r):""}function _e(r){switch(r.tag){case 5:return F(r.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return r=xe(r.type,!1),r;case 11:return r=xe(r.type.render,!1),r;case 1:return r=xe(r.type,!0),r;default:return""}}function ke(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case q:return"Fragment";case $:return"Portal";case le:return"Profiler";case Z:return"StrictMode";case Se:return"Suspense";case X:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case ve:return(r.displayName||"Context")+".Consumer";case ue:return(r._context.displayName||"Context")+".Provider";case ae:var s=r.render;return r=r.displayName,r||(r=s.displayName||s.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case Ee:return s=r.displayName||null,s!==null?s:ke(r.type)||"Memo";case he:s=r._payload,r=r._init;try{return ke(r(s))}catch{}}return null}function Oe(r){var s=r.type;switch(r.tag){case 24:return"Cache";case 9:return(s.displayName||"Context")+".Consumer";case 10:return(s._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return r=s.render,r=r.displayName||r.name||"",s.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return s;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ke(s);case 8:return s===Z?"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 s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s}return null}function Me(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function Ie(r){var s=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function Pt(r){var s=Ie(r)?"checked":"value",a=Object.getOwnPropertyDescriptor(r.constructor.prototype,s),u=""+r[s];if(!r.hasOwnProperty(s)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var h=a.get,g=a.set;return Object.defineProperty(r,s,{configurable:!0,get:function(){return h.call(this)},set:function(v){u=""+v,g.call(this,v)}}),Object.defineProperty(r,s,{enumerable:a.enumerable}),{getValue:function(){return u},setValue:function(v){u=""+v},stopTracking:function(){r._valueTracker=null,delete r[s]}}}}function ns(r){r._valueTracker||(r._valueTracker=Pt(r))}function Lo(r){if(!r)return!1;var s=r._valueTracker;if(!s)return!0;var a=s.getValue(),u="";return r&&(u=Ie(r)?r.checked?"true":"false":r.value),r=u,r!==a?(s.setValue(r),!0):!1}function jn(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function Jl(r,s){var a=s.checked;return Q({},s,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??r._wrapperState.initialChecked})}function vh(r,s){var a=s.defaultValue==null?"":s.defaultValue,u=s.checked!=null?s.checked:s.defaultChecked;a=Me(s.value!=null?s.value:a),r._wrapperState={initialChecked:u,initialValue:a,controlled:s.type==="checkbox"||s.type==="radio"?s.checked!=null:s.value!=null}}function xh(r,s){s=s.checked,s!=null&&j(r,"checked",s,!1)}function eu(r,s){xh(r,s);var a=Me(s.value),u=s.type;if(a!=null)u==="number"?(a===0&&r.value===""||r.value!=a)&&(r.value=""+a):r.value!==""+a&&(r.value=""+a);else if(u==="submit"||u==="reset"){r.removeAttribute("value");return}s.hasOwnProperty("value")?tu(r,s.type,a):s.hasOwnProperty("defaultValue")&&tu(r,s.type,Me(s.defaultValue)),s.checked==null&&s.defaultChecked!=null&&(r.defaultChecked=!!s.defaultChecked)}function wh(r,s,a){if(s.hasOwnProperty("value")||s.hasOwnProperty("defaultValue")){var u=s.type;if(!(u!=="submit"&&u!=="reset"||s.value!==void 0&&s.value!==null))return;s=""+r._wrapperState.initialValue,a||s===r.value||(r.value=s),r.defaultValue=s}a=r.name,a!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,a!==""&&(r.name=a)}function tu(r,s,a){(s!=="number"||jn(r.ownerDocument)!==r)&&(a==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+a&&(r.defaultValue=""+a))}var ri=Array.isArray;function rs(r,s,a,u){if(r=r.options,s){s={};for(var h=0;h<a.length;h++)s["$"+a[h]]=!0;for(a=0;a<r.length;a++)h=s.hasOwnProperty("$"+r[a].value),r[a].selected!==h&&(r[a].selected=h),h&&u&&(r[a].defaultSelected=!0)}else{for(a=""+Me(a),s=null,h=0;h<r.length;h++){if(r[h].value===a){r[h].selected=!0,u&&(r[h].defaultSelected=!0);return}s!==null||r[h].disabled||(s=r[h])}s!==null&&(s.selected=!0)}}function nu(r,s){if(s.dangerouslySetInnerHTML!=null)throw Error(n(91));return Q({},s,{value:void 0,defaultValue:void 0,children:""+r._wrapperState.initialValue})}function Sh(r,s){var a=s.value;if(a==null){if(a=s.children,s=s.defaultValue,a!=null){if(s!=null)throw Error(n(92));if(ri(a)){if(1<a.length)throw Error(n(93));a=a[0]}s=a}s==null&&(s=""),a=s}r._wrapperState={initialValue:Me(a)}}function Th(r,s){var a=Me(s.value),u=Me(s.defaultValue);a!=null&&(a=""+a,a!==r.value&&(r.value=a),s.defaultValue==null&&r.defaultValue!==a&&(r.defaultValue=a)),u!=null&&(r.defaultValue=""+u)}function bh(r){var s=r.textContent;s===r._wrapperState.initialValue&&s!==""&&s!==null&&(r.value=s)}function Ph(r){switch(r){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 ru(r,s){return r==null||r==="http://www.w3.org/1999/xhtml"?Ph(s):r==="http://www.w3.org/2000/svg"&&s==="foreignObject"?"http://www.w3.org/1999/xhtml":r}var Vo,Ch=(function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(s,a,u,h){MSApp.execUnsafeLocalFunction(function(){return r(s,a,u,h)})}:r})(function(r,s){if(r.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in r)r.innerHTML=s;else{for(Vo=Vo||document.createElement("div"),Vo.innerHTML="<svg>"+s.valueOf().toString()+"</svg>",s=Vo.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;s.firstChild;)r.appendChild(s.firstChild)}});function si(r,s){if(s){var a=r.firstChild;if(a&&a===r.lastChild&&a.nodeType===3){a.nodeValue=s;return}}r.textContent=s}var ii={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},N1=["Webkit","ms","Moz","O"];Object.keys(ii).forEach(function(r){N1.forEach(function(s){s=s+r.charAt(0).toUpperCase()+r.substring(1),ii[s]=ii[r]})});function Eh(r,s,a){return s==null||typeof s=="boolean"||s===""?"":a||typeof s!="number"||s===0||ii.hasOwnProperty(r)&&ii[r]?(""+s).trim():s+"px"}function _h(r,s){r=r.style;for(var a in s)if(s.hasOwnProperty(a)){var u=a.indexOf("--")===0,h=Eh(a,s[a],u);a==="float"&&(a="cssFloat"),u?r.setProperty(a,h):r[a]=h}}var R1=Q({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 su(r,s){if(s){if(R1[r]&&(s.children!=null||s.dangerouslySetInnerHTML!=null))throw Error(n(137,r));if(s.dangerouslySetInnerHTML!=null){if(s.children!=null)throw Error(n(60));if(typeof s.dangerouslySetInnerHTML!="object"||!("__html"in s.dangerouslySetInnerHTML))throw Error(n(61))}if(s.style!=null&&typeof s.style!="object")throw Error(n(62))}}function iu(r,s){if(r.indexOf("-")===-1)return typeof s.is=="string";switch(r){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 ou=null;function au(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var lu=null,ss=null,is=null;function kh(r){if(r=_i(r)){if(typeof lu!="function")throw Error(n(280));var s=r.stateNode;s&&(s=aa(s),lu(r.stateNode,r.type,s))}}function Ah(r){ss?is?is.push(r):is=[r]:ss=r}function Nh(){if(ss){var r=ss,s=is;if(is=ss=null,kh(r),s)for(r=0;r<s.length;r++)kh(s[r])}}function Rh(r,s){return r(s)}function Oh(){}var uu=!1;function Mh(r,s,a){if(uu)return r(s,a);uu=!0;try{return Rh(r,s,a)}finally{uu=!1,(ss!==null||is!==null)&&(Oh(),Nh())}}function oi(r,s){var a=r.stateNode;if(a===null)return null;var u=aa(a);if(u===null)return null;a=u[s];e:switch(s){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(r=r.type,u=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!u;break e;default:r=!1}if(r)return null;if(a&&typeof a!="function")throw Error(n(231,s,typeof a));return a}var cu=!1;if(d)try{var ai={};Object.defineProperty(ai,"passive",{get:function(){cu=!0}}),window.addEventListener("test",ai,ai),window.removeEventListener("test",ai,ai)}catch{cu=!1}function O1(r,s,a,u,h,g,v,C,_){var D=Array.prototype.slice.call(arguments,3);try{s.apply(a,D)}catch(U){this.onError(U)}}var li=!1,Fo=null,zo=!1,du=null,M1={onError:function(r){li=!0,Fo=r}};function j1(r,s,a,u,h,g,v,C,_){li=!1,Fo=null,O1.apply(M1,arguments)}function D1(r,s,a,u,h,g,v,C,_){if(j1.apply(this,arguments),li){if(li){var D=Fo;li=!1,Fo=null}else throw Error(n(198));zo||(zo=!0,du=D)}}function Nr(r){var s=r,a=r;if(r.alternate)for(;s.return;)s=s.return;else{r=s;do s=r,(s.flags&4098)!==0&&(a=s.return),r=s.return;while(r)}return s.tag===3?a:null}function jh(r){if(r.tag===13){var s=r.memoizedState;if(s===null&&(r=r.alternate,r!==null&&(s=r.memoizedState)),s!==null)return s.dehydrated}return null}function Dh(r){if(Nr(r)!==r)throw Error(n(188))}function I1(r){var s=r.alternate;if(!s){if(s=Nr(r),s===null)throw Error(n(188));return s!==r?null:r}for(var a=r,u=s;;){var h=a.return;if(h===null)break;var g=h.alternate;if(g===null){if(u=h.return,u!==null){a=u;continue}break}if(h.child===g.child){for(g=h.child;g;){if(g===a)return Dh(h),r;if(g===u)return Dh(h),s;g=g.sibling}throw Error(n(188))}if(a.return!==u.return)a=h,u=g;else{for(var v=!1,C=h.child;C;){if(C===a){v=!0,a=h,u=g;break}if(C===u){v=!0,u=h,a=g;break}C=C.sibling}if(!v){for(C=g.child;C;){if(C===a){v=!0,a=g,u=h;break}if(C===u){v=!0,u=g,a=h;break}C=C.sibling}if(!v)throw Error(n(189))}}if(a.alternate!==u)throw Error(n(190))}if(a.tag!==3)throw Error(n(188));return a.stateNode.current===a?r:s}function Ih(r){return r=I1(r),r!==null?Lh(r):null}function Lh(r){if(r.tag===5||r.tag===6)return r;for(r=r.child;r!==null;){var s=Lh(r);if(s!==null)return s;r=r.sibling}return null}var Vh=e.unstable_scheduleCallback,Fh=e.unstable_cancelCallback,L1=e.unstable_shouldYield,V1=e.unstable_requestPaint,Je=e.unstable_now,F1=e.unstable_getCurrentPriorityLevel,fu=e.unstable_ImmediatePriority,zh=e.unstable_UserBlockingPriority,Bo=e.unstable_NormalPriority,z1=e.unstable_LowPriority,Bh=e.unstable_IdlePriority,Uo=null,wn=null;function B1(r){if(wn&&typeof wn.onCommitFiberRoot=="function")try{wn.onCommitFiberRoot(Uo,r,void 0,(r.current.flags&128)===128)}catch{}}var tn=Math.clz32?Math.clz32:W1,U1=Math.log,$1=Math.LN2;function W1(r){return r>>>=0,r===0?32:31-(U1(r)/$1|0)|0}var $o=64,Wo=4194304;function ui(r){switch(r&-r){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 r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function Ho(r,s){var a=r.pendingLanes;if(a===0)return 0;var u=0,h=r.suspendedLanes,g=r.pingedLanes,v=a&268435455;if(v!==0){var C=v&~h;C!==0?u=ui(C):(g&=v,g!==0&&(u=ui(g)))}else v=a&~h,v!==0?u=ui(v):g!==0&&(u=ui(g));if(u===0)return 0;if(s!==0&&s!==u&&(s&h)===0&&(h=u&-u,g=s&-s,h>=g||h===16&&(g&4194240)!==0))return s;if((u&4)!==0&&(u|=a&16),s=r.entangledLanes,s!==0)for(r=r.entanglements,s&=u;0<s;)a=31-tn(s),h=1<<a,u|=r[a],s&=~h;return u}function H1(r,s){switch(r){case 1:case 2:case 4:return s+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 s+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 q1(r,s){for(var a=r.suspendedLanes,u=r.pingedLanes,h=r.expirationTimes,g=r.pendingLanes;0<g;){var v=31-tn(g),C=1<<v,_=h[v];_===-1?((C&a)===0||(C&u)!==0)&&(h[v]=H1(C,s)):_<=s&&(r.expiredLanes|=C),g&=~C}}function hu(r){return r=r.pendingLanes&-1073741825,r!==0?r:r&1073741824?1073741824:0}function Uh(){var r=$o;return $o<<=1,($o&4194240)===0&&($o=64),r}function pu(r){for(var s=[],a=0;31>a;a++)s.push(r);return s}function ci(r,s,a){r.pendingLanes|=s,s!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,s=31-tn(s),r[s]=a}function K1(r,s){var a=r.pendingLanes&~s;r.pendingLanes=s,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=s,r.mutableReadLanes&=s,r.entangledLanes&=s,s=r.entanglements;var u=r.eventTimes;for(r=r.expirationTimes;0<a;){var h=31-tn(a),g=1<<h;s[h]=0,u[h]=-1,r[h]=-1,a&=~g}}function mu(r,s){var a=r.entangledLanes|=s;for(r=r.entanglements;a;){var u=31-tn(a),h=1<<u;h&s|r[u]&s&&(r[u]|=s),a&=~h}}var De=0;function $h(r){return r&=-r,1<r?4<r?(r&268435455)!==0?16:536870912:4:1}var Wh,gu,Hh,qh,Kh,yu=!1,qo=[],Yn=null,Jn=null,er=null,di=new Map,fi=new Map,tr=[],Q1="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 Qh(r,s){switch(r){case"focusin":case"focusout":Yn=null;break;case"dragenter":case"dragleave":Jn=null;break;case"mouseover":case"mouseout":er=null;break;case"pointerover":case"pointerout":di.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":fi.delete(s.pointerId)}}function hi(r,s,a,u,h,g){return r===null||r.nativeEvent!==g?(r={blockedOn:s,domEventName:a,eventSystemFlags:u,nativeEvent:g,targetContainers:[h]},s!==null&&(s=_i(s),s!==null&&gu(s)),r):(r.eventSystemFlags|=u,s=r.targetContainers,h!==null&&s.indexOf(h)===-1&&s.push(h),r)}function Z1(r,s,a,u,h){switch(s){case"focusin":return Yn=hi(Yn,r,s,a,u,h),!0;case"dragenter":return Jn=hi(Jn,r,s,a,u,h),!0;case"mouseover":return er=hi(er,r,s,a,u,h),!0;case"pointerover":var g=h.pointerId;return di.set(g,hi(di.get(g)||null,r,s,a,u,h)),!0;case"gotpointercapture":return g=h.pointerId,fi.set(g,hi(fi.get(g)||null,r,s,a,u,h)),!0}return!1}function Zh(r){var s=Rr(r.target);if(s!==null){var a=Nr(s);if(a!==null){if(s=a.tag,s===13){if(s=jh(a),s!==null){r.blockedOn=s,Kh(r.priority,function(){Hh(a)});return}}else if(s===3&&a.stateNode.current.memoizedState.isDehydrated){r.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}r.blockedOn=null}function Ko(r){if(r.blockedOn!==null)return!1;for(var s=r.targetContainers;0<s.length;){var a=xu(r.domEventName,r.eventSystemFlags,s[0],r.nativeEvent);if(a===null){a=r.nativeEvent;var u=new a.constructor(a.type,a);ou=u,a.target.dispatchEvent(u),ou=null}else return s=_i(a),s!==null&&gu(s),r.blockedOn=a,!1;s.shift()}return!0}function Gh(r,s,a){Ko(r)&&a.delete(s)}function G1(){yu=!1,Yn!==null&&Ko(Yn)&&(Yn=null),Jn!==null&&Ko(Jn)&&(Jn=null),er!==null&&Ko(er)&&(er=null),di.forEach(Gh),fi.forEach(Gh)}function pi(r,s){r.blockedOn===s&&(r.blockedOn=null,yu||(yu=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,G1)))}function mi(r){function s(h){return pi(h,r)}if(0<qo.length){pi(qo[0],r);for(var a=1;a<qo.length;a++){var u=qo[a];u.blockedOn===r&&(u.blockedOn=null)}}for(Yn!==null&&pi(Yn,r),Jn!==null&&pi(Jn,r),er!==null&&pi(er,r),di.forEach(s),fi.forEach(s),a=0;a<tr.length;a++)u=tr[a],u.blockedOn===r&&(u.blockedOn=null);for(;0<tr.length&&(a=tr[0],a.blockedOn===null);)Zh(a),a.blockedOn===null&&tr.shift()}var os=L.ReactCurrentBatchConfig,Qo=!0;function X1(r,s,a,u){var h=De,g=os.transition;os.transition=null;try{De=1,vu(r,s,a,u)}finally{De=h,os.transition=g}}function Y1(r,s,a,u){var h=De,g=os.transition;os.transition=null;try{De=4,vu(r,s,a,u)}finally{De=h,os.transition=g}}function vu(r,s,a,u){if(Qo){var h=xu(r,s,a,u);if(h===null)Iu(r,s,u,Zo,a),Qh(r,u);else if(Z1(h,r,s,a,u))u.stopPropagation();else if(Qh(r,u),s&4&&-1<Q1.indexOf(r)){for(;h!==null;){var g=_i(h);if(g!==null&&Wh(g),g=xu(r,s,a,u),g===null&&Iu(r,s,u,Zo,a),g===h)break;h=g}h!==null&&u.stopPropagation()}else Iu(r,s,u,null,a)}}var Zo=null;function xu(r,s,a,u){if(Zo=null,r=au(u),r=Rr(r),r!==null)if(s=Nr(r),s===null)r=null;else if(a=s.tag,a===13){if(r=jh(s),r!==null)return r;r=null}else if(a===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;r=null}else s!==r&&(r=null);return Zo=r,null}function Xh(r){switch(r){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(F1()){case fu:return 1;case zh:return 4;case Bo:case z1:return 16;case Bh:return 536870912;default:return 16}default:return 16}}var nr=null,wu=null,Go=null;function Yh(){if(Go)return Go;var r,s=wu,a=s.length,u,h="value"in nr?nr.value:nr.textContent,g=h.length;for(r=0;r<a&&s[r]===h[r];r++);var v=a-r;for(u=1;u<=v&&s[a-u]===h[g-u];u++);return Go=h.slice(r,1<u?1-u:void 0)}function Xo(r){var s=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&s===13&&(r=13)):r=s,r===10&&(r=13),32<=r||r===13?r:0}function Yo(){return!0}function Jh(){return!1}function Dt(r){function s(a,u,h,g,v){this._reactName=a,this._targetInst=h,this.type=u,this.nativeEvent=g,this.target=v,this.currentTarget=null;for(var C in r)r.hasOwnProperty(C)&&(a=r[C],this[C]=a?a(g):g[C]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?Yo:Jh,this.isPropagationStopped=Jh,this}return Q(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Yo)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Yo)},persist:function(){},isPersistent:Yo}),s}var as={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Su=Dt(as),gi=Q({},as,{view:0,detail:0}),J1=Dt(gi),Tu,bu,yi,Jo=Q({},gi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cu,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==yi&&(yi&&r.type==="mousemove"?(Tu=r.screenX-yi.screenX,bu=r.screenY-yi.screenY):bu=Tu=0,yi=r),Tu)},movementY:function(r){return"movementY"in r?r.movementY:bu}}),ep=Dt(Jo),eS=Q({},Jo,{dataTransfer:0}),tS=Dt(eS),nS=Q({},gi,{relatedTarget:0}),Pu=Dt(nS),rS=Q({},as,{animationName:0,elapsedTime:0,pseudoElement:0}),sS=Dt(rS),iS=Q({},as,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),oS=Dt(iS),aS=Q({},as,{data:0}),tp=Dt(aS),lS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},uS={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"},cS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function dS(r){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(r):(r=cS[r])?!!s[r]:!1}function Cu(){return dS}var fS=Q({},gi,{key:function(r){if(r.key){var s=lS[r.key]||r.key;if(s!=="Unidentified")return s}return r.type==="keypress"?(r=Xo(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?uS[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cu,charCode:function(r){return r.type==="keypress"?Xo(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?Xo(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),hS=Dt(fS),pS=Q({},Jo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),np=Dt(pS),mS=Q({},gi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cu}),gS=Dt(mS),yS=Q({},as,{propertyName:0,elapsedTime:0,pseudoElement:0}),vS=Dt(yS),xS=Q({},Jo,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),wS=Dt(xS),SS=[9,13,27,32],Eu=d&&"CompositionEvent"in window,vi=null;d&&"documentMode"in document&&(vi=document.documentMode);var TS=d&&"TextEvent"in window&&!vi,rp=d&&(!Eu||vi&&8<vi&&11>=vi),sp=" ",ip=!1;function op(r,s){switch(r){case"keyup":return SS.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ap(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var ls=!1;function bS(r,s){switch(r){case"compositionend":return ap(s);case"keypress":return s.which!==32?null:(ip=!0,sp);case"textInput":return r=s.data,r===sp&&ip?null:r;default:return null}}function PS(r,s){if(ls)return r==="compositionend"||!Eu&&op(r,s)?(r=Yh(),Go=wu=nr=null,ls=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return rp&&s.locale!=="ko"?null:s.data;default:return null}}var CS={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 lp(r){var s=r&&r.nodeName&&r.nodeName.toLowerCase();return s==="input"?!!CS[r.type]:s==="textarea"}function up(r,s,a,u){Ah(u),s=sa(s,"onChange"),0<s.length&&(a=new Su("onChange","change",null,a,u),r.push({event:a,listeners:s}))}var xi=null,wi=null;function ES(r){_p(r,0)}function ea(r){var s=hs(r);if(Lo(s))return r}function _S(r,s){if(r==="change")return s}var cp=!1;if(d){var _u;if(d){var ku="oninput"in document;if(!ku){var dp=document.createElement("div");dp.setAttribute("oninput","return;"),ku=typeof dp.oninput=="function"}_u=ku}else _u=!1;cp=_u&&(!document.documentMode||9<document.documentMode)}function fp(){xi&&(xi.detachEvent("onpropertychange",hp),wi=xi=null)}function hp(r){if(r.propertyName==="value"&&ea(wi)){var s=[];up(s,wi,r,au(r)),Mh(ES,s)}}function kS(r,s,a){r==="focusin"?(fp(),xi=s,wi=a,xi.attachEvent("onpropertychange",hp)):r==="focusout"&&fp()}function AS(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return ea(wi)}function NS(r,s){if(r==="click")return ea(s)}function RS(r,s){if(r==="input"||r==="change")return ea(s)}function OS(r,s){return r===s&&(r!==0||1/r===1/s)||r!==r&&s!==s}var nn=typeof Object.is=="function"?Object.is:OS;function Si(r,s){if(nn(r,s))return!0;if(typeof r!="object"||r===null||typeof s!="object"||s===null)return!1;var a=Object.keys(r),u=Object.keys(s);if(a.length!==u.length)return!1;for(u=0;u<a.length;u++){var h=a[u];if(!f.call(s,h)||!nn(r[h],s[h]))return!1}return!0}function pp(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function mp(r,s){var a=pp(r);r=0;for(var u;a;){if(a.nodeType===3){if(u=r+a.textContent.length,r<=s&&u>=s)return{node:a,offset:s-r};r=u}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=pp(a)}}function gp(r,s){return r&&s?r===s?!0:r&&r.nodeType===3?!1:s&&s.nodeType===3?gp(r,s.parentNode):"contains"in r?r.contains(s):r.compareDocumentPosition?!!(r.compareDocumentPosition(s)&16):!1:!1}function yp(){for(var r=window,s=jn();s instanceof r.HTMLIFrameElement;){try{var a=typeof s.contentWindow.location.href=="string"}catch{a=!1}if(a)r=s.contentWindow;else break;s=jn(r.document)}return s}function Au(r){var s=r&&r.nodeName&&r.nodeName.toLowerCase();return s&&(s==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||s==="textarea"||r.contentEditable==="true")}function MS(r){var s=yp(),a=r.focusedElem,u=r.selectionRange;if(s!==a&&a&&a.ownerDocument&&gp(a.ownerDocument.documentElement,a)){if(u!==null&&Au(a)){if(s=u.start,r=u.end,r===void 0&&(r=s),"selectionStart"in a)a.selectionStart=s,a.selectionEnd=Math.min(r,a.value.length);else if(r=(s=a.ownerDocument||document)&&s.defaultView||window,r.getSelection){r=r.getSelection();var h=a.textContent.length,g=Math.min(u.start,h);u=u.end===void 0?g:Math.min(u.end,h),!r.extend&&g>u&&(h=u,u=g,g=h),h=mp(a,g);var v=mp(a,u);h&&v&&(r.rangeCount!==1||r.anchorNode!==h.node||r.anchorOffset!==h.offset||r.focusNode!==v.node||r.focusOffset!==v.offset)&&(s=s.createRange(),s.setStart(h.node,h.offset),r.removeAllRanges(),g>u?(r.addRange(s),r.extend(v.node,v.offset)):(s.setEnd(v.node,v.offset),r.addRange(s)))}}for(s=[],r=a;r=r.parentNode;)r.nodeType===1&&s.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof a.focus=="function"&&a.focus(),a=0;a<s.length;a++)r=s[a],r.element.scrollLeft=r.left,r.element.scrollTop=r.top}}var jS=d&&"documentMode"in document&&11>=document.documentMode,us=null,Nu=null,Ti=null,Ru=!1;function vp(r,s,a){var u=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Ru||us==null||us!==jn(u)||(u=us,"selectionStart"in u&&Au(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Ti&&Si(Ti,u)||(Ti=u,u=sa(Nu,"onSelect"),0<u.length&&(s=new Su("onSelect","select",null,s,a),r.push({event:s,listeners:u}),s.target=us)))}function ta(r,s){var a={};return a[r.toLowerCase()]=s.toLowerCase(),a["Webkit"+r]="webkit"+s,a["Moz"+r]="moz"+s,a}var cs={animationend:ta("Animation","AnimationEnd"),animationiteration:ta("Animation","AnimationIteration"),animationstart:ta("Animation","AnimationStart"),transitionend:ta("Transition","TransitionEnd")},Ou={},xp={};d&&(xp=document.createElement("div").style,"AnimationEvent"in window||(delete cs.animationend.animation,delete cs.animationiteration.animation,delete cs.animationstart.animation),"TransitionEvent"in window||delete cs.transitionend.transition);function na(r){if(Ou[r])return Ou[r];if(!cs[r])return r;var s=cs[r],a;for(a in s)if(s.hasOwnProperty(a)&&a in xp)return Ou[r]=s[a];return r}var wp=na("animationend"),Sp=na("animationiteration"),Tp=na("animationstart"),bp=na("transitionend"),Pp=new Map,Cp="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 rr(r,s){Pp.set(r,s),l(s,[r])}for(var Mu=0;Mu<Cp.length;Mu++){var ju=Cp[Mu],DS=ju.toLowerCase(),IS=ju[0].toUpperCase()+ju.slice(1);rr(DS,"on"+IS)}rr(wp,"onAnimationEnd"),rr(Sp,"onAnimationIteration"),rr(Tp,"onAnimationStart"),rr("dblclick","onDoubleClick"),rr("focusin","onFocus"),rr("focusout","onBlur"),rr(bp,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var bi="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(" "),LS=new Set("cancel close invalid load scroll toggle".split(" ").concat(bi));function Ep(r,s,a){var u=r.type||"unknown-event";r.currentTarget=a,D1(u,s,void 0,r),r.currentTarget=null}function _p(r,s){s=(s&4)!==0;for(var a=0;a<r.length;a++){var u=r[a],h=u.event;u=u.listeners;e:{var g=void 0;if(s)for(var v=u.length-1;0<=v;v--){var C=u[v],_=C.instance,D=C.currentTarget;if(C=C.listener,_!==g&&h.isPropagationStopped())break e;Ep(h,C,D),g=_}else for(v=0;v<u.length;v++){if(C=u[v],_=C.instance,D=C.currentTarget,C=C.listener,_!==g&&h.isPropagationStopped())break e;Ep(h,C,D),g=_}}}if(zo)throw r=du,zo=!1,du=null,r}function Ve(r,s){var a=s[Uu];a===void 0&&(a=s[Uu]=new Set);var u=r+"__bubble";a.has(u)||(kp(s,r,2,!1),a.add(u))}function Du(r,s,a){var u=0;s&&(u|=4),kp(a,r,u,s)}var ra="_reactListening"+Math.random().toString(36).slice(2);function Pi(r){if(!r[ra]){r[ra]=!0,i.forEach(function(a){a!=="selectionchange"&&(LS.has(a)||Du(a,!1,r),Du(a,!0,r))});var s=r.nodeType===9?r:r.ownerDocument;s===null||s[ra]||(s[ra]=!0,Du("selectionchange",!1,s))}}function kp(r,s,a,u){switch(Xh(s)){case 1:var h=X1;break;case 4:h=Y1;break;default:h=vu}a=h.bind(null,s,a,r),h=void 0,!cu||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(h=!0),u?h!==void 0?r.addEventListener(s,a,{capture:!0,passive:h}):r.addEventListener(s,a,!0):h!==void 0?r.addEventListener(s,a,{passive:h}):r.addEventListener(s,a,!1)}function Iu(r,s,a,u,h){var g=u;if((s&1)===0&&(s&2)===0&&u!==null)e:for(;;){if(u===null)return;var v=u.tag;if(v===3||v===4){var C=u.stateNode.containerInfo;if(C===h||C.nodeType===8&&C.parentNode===h)break;if(v===4)for(v=u.return;v!==null;){var _=v.tag;if((_===3||_===4)&&(_=v.stateNode.containerInfo,_===h||_.nodeType===8&&_.parentNode===h))return;v=v.return}for(;C!==null;){if(v=Rr(C),v===null)return;if(_=v.tag,_===5||_===6){u=g=v;continue e}C=C.parentNode}}u=u.return}Mh(function(){var D=g,U=au(a),W=[];e:{var z=Pp.get(r);if(z!==void 0){var J=Su,re=r;switch(r){case"keypress":if(Xo(a)===0)break e;case"keydown":case"keyup":J=hS;break;case"focusin":re="focus",J=Pu;break;case"focusout":re="blur",J=Pu;break;case"beforeblur":case"afterblur":J=Pu;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":J=ep;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":J=tS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":J=gS;break;case wp:case Sp:case Tp:J=sS;break;case bp:J=vS;break;case"scroll":J=J1;break;case"wheel":J=wS;break;case"copy":case"cut":case"paste":J=oS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":J=np}var se=(s&4)!==0,et=!se&&r==="scroll",O=se?z!==null?z+"Capture":null:z;se=[];for(var k=D,M;k!==null;){M=k;var K=M.stateNode;if(M.tag===5&&K!==null&&(M=K,O!==null&&(K=oi(k,O),K!=null&&se.push(Ci(k,K,M)))),et)break;k=k.return}0<se.length&&(z=new J(z,re,null,a,U),W.push({event:z,listeners:se}))}}if((s&7)===0){e:{if(z=r==="mouseover"||r==="pointerover",J=r==="mouseout"||r==="pointerout",z&&a!==ou&&(re=a.relatedTarget||a.fromElement)&&(Rr(re)||re[Dn]))break e;if((J||z)&&(z=U.window===U?U:(z=U.ownerDocument)?z.defaultView||z.parentWindow:window,J?(re=a.relatedTarget||a.toElement,J=D,re=re?Rr(re):null,re!==null&&(et=Nr(re),re!==et||re.tag!==5&&re.tag!==6)&&(re=null)):(J=null,re=D),J!==re)){if(se=ep,K="onMouseLeave",O="onMouseEnter",k="mouse",(r==="pointerout"||r==="pointerover")&&(se=np,K="onPointerLeave",O="onPointerEnter",k="pointer"),et=J==null?z:hs(J),M=re==null?z:hs(re),z=new se(K,k+"leave",J,a,U),z.target=et,z.relatedTarget=M,K=null,Rr(U)===D&&(se=new se(O,k+"enter",re,a,U),se.target=M,se.relatedTarget=et,K=se),et=K,J&&re)t:{for(se=J,O=re,k=0,M=se;M;M=ds(M))k++;for(M=0,K=O;K;K=ds(K))M++;for(;0<k-M;)se=ds(se),k--;for(;0<M-k;)O=ds(O),M--;for(;k--;){if(se===O||O!==null&&se===O.alternate)break t;se=ds(se),O=ds(O)}se=null}else se=null;J!==null&&Ap(W,z,J,se,!1),re!==null&&et!==null&&Ap(W,et,re,se,!0)}}e:{if(z=D?hs(D):window,J=z.nodeName&&z.nodeName.toLowerCase(),J==="select"||J==="input"&&z.type==="file")var ie=_S;else if(lp(z))if(cp)ie=RS;else{ie=AS;var ce=kS}else(J=z.nodeName)&&J.toLowerCase()==="input"&&(z.type==="checkbox"||z.type==="radio")&&(ie=NS);if(ie&&(ie=ie(r,D))){up(W,ie,a,U);break e}ce&&ce(r,z,D),r==="focusout"&&(ce=z._wrapperState)&&ce.controlled&&z.type==="number"&&tu(z,"number",z.value)}switch(ce=D?hs(D):window,r){case"focusin":(lp(ce)||ce.contentEditable==="true")&&(us=ce,Nu=D,Ti=null);break;case"focusout":Ti=Nu=us=null;break;case"mousedown":Ru=!0;break;case"contextmenu":case"mouseup":case"dragend":Ru=!1,vp(W,a,U);break;case"selectionchange":if(jS)break;case"keydown":case"keyup":vp(W,a,U)}var de;if(Eu)e:{switch(r){case"compositionstart":var ge="onCompositionStart";break e;case"compositionend":ge="onCompositionEnd";break e;case"compositionupdate":ge="onCompositionUpdate";break e}ge=void 0}else ls?op(r,a)&&(ge="onCompositionEnd"):r==="keydown"&&a.keyCode===229&&(ge="onCompositionStart");ge&&(rp&&a.locale!=="ko"&&(ls||ge!=="onCompositionStart"?ge==="onCompositionEnd"&&ls&&(de=Yh()):(nr=U,wu="value"in nr?nr.value:nr.textContent,ls=!0)),ce=sa(D,ge),0<ce.length&&(ge=new tp(ge,r,null,a,U),W.push({event:ge,listeners:ce}),de?ge.data=de:(de=ap(a),de!==null&&(ge.data=de)))),(de=TS?bS(r,a):PS(r,a))&&(D=sa(D,"onBeforeInput"),0<D.length&&(U=new tp("onBeforeInput","beforeinput",null,a,U),W.push({event:U,listeners:D}),U.data=de))}_p(W,s)})}function Ci(r,s,a){return{instance:r,listener:s,currentTarget:a}}function sa(r,s){for(var a=s+"Capture",u=[];r!==null;){var h=r,g=h.stateNode;h.tag===5&&g!==null&&(h=g,g=oi(r,a),g!=null&&u.unshift(Ci(r,g,h)),g=oi(r,s),g!=null&&u.push(Ci(r,g,h))),r=r.return}return u}function ds(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5);return r||null}function Ap(r,s,a,u,h){for(var g=s._reactName,v=[];a!==null&&a!==u;){var C=a,_=C.alternate,D=C.stateNode;if(_!==null&&_===u)break;C.tag===5&&D!==null&&(C=D,h?(_=oi(a,g),_!=null&&v.unshift(Ci(a,_,C))):h||(_=oi(a,g),_!=null&&v.push(Ci(a,_,C)))),a=a.return}v.length!==0&&r.push({event:s,listeners:v})}var VS=/\r\n?/g,FS=/\u0000|\uFFFD/g;function Np(r){return(typeof r=="string"?r:""+r).replace(VS,`
6`).replace(FS,"")}function ia(r,s,a){if(s=Np(s),Np(r)!==s&&a)throw Error(n(425))}function oa(){}var Lu=null,Vu=null;function Fu(r,s){return r==="textarea"||r==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var zu=typeof setTimeout=="function"?setTimeout:void 0,zS=typeof clearTimeout=="function"?clearTimeout:void 0,Rp=typeof Promise=="function"?Promise:void 0,BS=typeof queueMicrotask=="function"?queueMicrotask:typeof Rp<"u"?function(r){return Rp.resolve(null).then(r).catch(US)}:zu;function US(r){setTimeout(function(){throw r})}function Bu(r,s){var a=s,u=0;do{var h=a.nextSibling;if(r.removeChild(a),h&&h.nodeType===8)if(a=h.data,a==="/$"){if(u===0){r.removeChild(h),mi(s);return}u--}else a!=="$"&&a!=="$?"&&a!=="$!"||u++;a=h}while(a);mi(s)}function sr(r){for(;r!=null;r=r.nextSibling){var s=r.nodeType;if(s===1||s===3)break;if(s===8){if(s=r.data,s==="$"||s==="$!"||s==="$?")break;if(s==="/$")return null}}return r}function Op(r){r=r.previousSibling;for(var s=0;r;){if(r.nodeType===8){var a=r.data;if(a==="$"||a==="$!"||a==="$?"){if(s===0)return r;s--}else a==="/$"&&s++}r=r.previousSibling}return null}var fs=Math.random().toString(36).slice(2),Sn="__reactFiber$"+fs,Ei="__reactProps$"+fs,Dn="__reactContainer$"+fs,Uu="__reactEvents$"+fs,$S="__reactListeners$"+fs,WS="__reactHandles$"+fs;function Rr(r){var s=r[Sn];if(s)return s;for(var a=r.parentNode;a;){if(s=a[Dn]||a[Sn]){if(a=s.alternate,s.child!==null||a!==null&&a.child!==null)for(r=Op(r);r!==null;){if(a=r[Sn])return a;r=Op(r)}return s}r=a,a=r.parentNode}return null}function _i(r){return r=r[Sn]||r[Dn],!r||r.tag!==5&&r.tag!==6&&r.tag!==13&&r.tag!==3?null:r}function hs(r){if(r.tag===5||r.tag===6)return r.stateNode;throw Error(n(33))}function aa(r){return r[Ei]||null}var $u=[],ps=-1;function ir(r){return{current:r}}function Fe(r){0>ps||(r.current=$u[ps],$u[ps]=null,ps--)}function Le(r,s){ps++,$u[ps]=r.current,r.current=s}var or={},yt=ir(or),kt=ir(!1),Or=or;function ms(r,s){var a=r.type.contextTypes;if(!a)return or;var u=r.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===s)return u.__reactInternalMemoizedMaskedChildContext;var h={},g;for(g in a)h[g]=s[g];return u&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=s,r.__reactInternalMemoizedMaskedChildContext=h),h}function At(r){return r=r.childContextTypes,r!=null}function la(){Fe(kt),Fe(yt)}function Mp(r,s,a){if(yt.current!==or)throw Error(n(168));Le(yt,s),Le(kt,a)}function jp(r,s,a){var u=r.stateNode;if(s=s.childContextTypes,typeof u.getChildContext!="function")return a;u=u.getChildContext();for(var h in u)if(!(h in s))throw Error(n(108,Oe(r)||"Unknown",h));return Q({},a,u)}function ua(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||or,Or=yt.current,Le(yt,r),Le(kt,kt.current),!0}function Dp(r,s,a){var u=r.stateNode;if(!u)throw Error(n(169));a?(r=jp(r,s,Or),u.__reactInternalMemoizedMergedChildContext=r,Fe(kt),Fe(yt),Le(yt,r)):Fe(kt),Le(kt,a)}var In=null,ca=!1,Wu=!1;function Ip(r){In===null?In=[r]:In.push(r)}function HS(r){ca=!0,Ip(r)}function ar(){if(!Wu&&In!==null){Wu=!0;var r=0,s=De;try{var a=In;for(De=1;r<a.length;r++){var u=a[r];do u=u(!0);while(u!==null)}In=null,ca=!1}catch(h){throw In!==null&&(In=In.slice(r+1)),Vh(fu,ar),h}finally{De=s,Wu=!1}}return null}var gs=[],ys=0,da=null,fa=0,qt=[],Kt=0,Mr=null,Ln=1,Vn="";function jr(r,s){gs[ys++]=fa,gs[ys++]=da,da=r,fa=s}
vendor: 4,665 bytes, line 6
6function Lp(r,s,a){qt[Kt++]=Ln,qt[Kt++]=Vn,qt[Kt++]=Mr,Mr=r;var u=Ln;r=Vn;var h=32-tn(u)-1;u&=~(1<<h),a+=1;var g=32-tn(s)+h;if(30<g){var v=h-h%5;g=(u&(1<<v)-1).toString(32),u>>=v,h-=v,Ln=1<<32-tn(s)+h|a<<h|u,Vn=g+r}else Ln=1<<g|a<<h|u,Vn=r}function Hu(r){r.return!==null&&(jr(r,1),Lp(r,1,0))}function qu(r){for(;r===da;)da=gs[--ys],gs[ys]=null,fa=gs[--ys],gs[ys]=null;for(;r===Mr;)Mr=qt[--Kt],qt[Kt]=null,Vn=qt[--Kt],qt[Kt]=null,Ln=qt[--Kt],qt[Kt]=null}var It=null,Lt=null,Ue=!1,rn=null;function Vp(r,s){var a=Xt(5,null,null,0);a.elementType="DELETED",a.stateNode=s,a.return=r,s=r.deletions,s===null?(r.deletions=[a],r.flags|=16):s.push(a)}function Fp(r,s){switch(r.tag){case 5:var a=r.type;return s=s.nodeType!==1||a.toLowerCase()!==s.nodeName.toLowerCase()?null:s,s!==null?(r.stateNode=s,It=r,Lt=sr(s.firstChild),!0):!1;case 6:return s=r.pendingProps===""||s.nodeType!==3?null:s,s!==null?(r.stateNode=s,It=r,Lt=null,!0):!1;case 13:return s=s.nodeType!==8?null:s,s!==null?(a=Mr!==null?{id:Ln,overflow:Vn}:null,r.memoizedState={dehydrated:s,treeContext:a,retryLane:1073741824},a=Xt(18,null,null,0),a.stateNode=s,a.return=r,r.child=a,It=r,Lt=null,!0):!1;default:return!1}}function Ku(r){return(r.mode&1)!==0&&(r.flags&128)===0}function Qu(r){if(Ue){var s=Lt;if(s){var a=s;if(!Fp(r,s)){if(Ku(r))throw Error(n(418));s=sr(a.nextSibling);var u=It;s&&Fp(r,s)?Vp(u,a):(r.flags=r.flags&-4097|2,Ue=!1,It=r)}}else{if(Ku(r))throw Error(n(418));r.flags=r.flags&-4097|2,Ue=!1,It=r}}}function zp(r){for(r=r.return;r!==null&&r.tag!==5&&r.tag!==3&&r.tag!==13;)r=r.return;It=r}function ha(r){if(r!==It)return!1;if(!Ue)return zp(r),Ue=!0,!1;var s;if((s=r.tag!==3)&&!(s=r.tag!==5)&&(s=r.type,s=s!=="head"&&s!=="body"&&!Fu(r.type,r.memoizedProps)),s&&(s=Lt)){if(Ku(r))throw Bp(),Error(n(418));for(;s;)Vp(r,s),s=sr(s.nextSibling)}if(zp(r),r.tag===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(n(317));e:{for(r=r.nextSibling,s=0;r;){if(r.nodeType===8){var a=r.data;if(a==="/$"){if(s===0){Lt=sr(r.nextSibling);break e}s--}else a!=="$"&&a!=="$!"&&a!=="$?"||s++}r=r.nextSibling}Lt=null}}else Lt=It?sr(r.stateNode.nextSibling):null;return!0}function Bp(){for(var r=Lt;r;)r=sr(r.nextSibling)}function vs(){Lt=It=null,Ue=!1}function Zu(r){rn===null?rn=[r]:rn.push(r)}var qS=L.ReactCurrentBatchConfig;function ki(r,s,a){if(r=a.ref,r!==null&&typeof r!="function"&&typeof r!="object"){if(a._owner){if(a=a._owner,a){if(a.tag!==1)throw Error(n(309));var u=a.stateNode}if(!u)throw Error(n(147,r));var h=u,g=""+r;return s!==null&&s.ref!==null&&typeof s.ref=="function"&&s.ref._stringRef===g?s.ref:(s=function(v){var C=h.refs;v===null?delete C[g]:C[g]=v},s._stringRef=g,s)}if(typeof r!="string")throw Error(n(284));if(!a._owner)throw Error(n(290,r))}return r}function pa(r,s){throw r=Object.prototype.toString.call(s),Error(n(31,r==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":r))}function Up(r){var s=r._init;return s(r._payload)}function $p(r){function s(O,k){if(r){var M=O.deletions;M===null?(O.deletions=[k],O.flags|=16):M.push(k)}}function a(O,k){if(!r)return null;for(;k!==null;)s(O,k),k=k.sibling;return null}function u(O,k){for(O=new Map;k!==null;)k.key!==null?O.set(k.key,k):O.set(k.index,k),k=k.sibling;return O}function h(O,k){return O=mr(O,k),O.index=0,O.sibling=null,O}function g(O,k,M){return O.index=M,r?(M=O.alternate,M!==null?(M=M.index,M<k?(O.flags|=2,k):M):(O.flags|=2,k)):(O.flags|=1048576,k)}function v(O){return r&&O.alternate===null&&(O.flags|=2),O}function C(O,k,M,K){return k===null||k.tag!==6?(k=zc(M,O.mode,K),k.return=O,k):(k=h(k,M),k.return=O,k)}function _(O,k,M,K){var ie=M.type;return ie===q?U(O,k,M.props.children,K,M.key):k!==null&&(k.elementType===ie||typeof ie=="object"&&ie!==null&&ie.$$typeof===he&&Up(ie)===k.type)?(K=h(k,M.props),K.ref=ki(O,k,M),K.return=O,K):(K=Va(M.type,M.key,M.props,null,O.mode,K),K.ref=ki(O,k,M),K.return=O,K)}function D(O,k,M,K){return k===null||k.tag!==4||k.stateNode.containerInfo!==M.containerInfo||k.stateNode.implementation!==M.implementation?(k=Bc(M,O.mode,K),k.return=O,k):(k=h(k,M.children||[]),k.return=O,k)}function U(O,k,M,K,ie){return k===null||k.tag!==7?(k=Ur(M,O.mode,K,ie),k.return=O,k):(k=h(k,M),k.return=O,k)}function W(O,k,M){if(typeof k=="string"&&k!==""||typeof k=="number")return k=zc(""+k,O.mode,M),k.return=O,k;if(typeof k=="object"&&k!==null){switch(k.$$typeof){case I:return M=Va(k.type,k.key,k.props,null,O.mode,M),M.ref=ki(O,null,k),M.return=O,M;case $:return k=Bc(k,O.mode,M),k.return=O,k;case he:var K=k._init;return W(O,K(k._payload),M)}if(ri(k)||G(k))return k=Ur(k,O.mode,M,null),k.return=O,k;pa(O,k)}return null}function z(O,k,M,K){var ie=k!==null?k.key:null;
vendor: 23,142 bytes, lines 6-8
6if(typeof M=="string"&&M!==""||typeof M=="number")return ie!==null?null:C(O,k,""+M,K);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case I:return M.key===ie?_(O,k,M,K):null;case $:return M.key===ie?D(O,k,M,K):null;case he:return ie=M._init,z(O,k,ie(M._payload),K)}if(ri(M)||G(M))return ie!==null?null:U(O,k,M,K,null);pa(O,M)}return null}function J(O,k,M,K,ie){if(typeof K=="string"&&K!==""||typeof K=="number")return O=O.get(M)||null,C(k,O,""+K,ie);if(typeof K=="object"&&K!==null){switch(K.$$typeof){case I:return O=O.get(K.key===null?M:K.key)||null,_(k,O,K,ie);case $:return O=O.get(K.key===null?M:K.key)||null,D(k,O,K,ie);case he:var ce=K._init;return J(O,k,M,ce(K._payload),ie)}if(ri(K)||G(K))return O=O.get(M)||null,U(k,O,K,ie,null);pa(k,K)}return null}function re(O,k,M,K){for(var ie=null,ce=null,de=k,ge=k=0,ct=null;de!==null&&ge<M.length;ge++){de.index>ge?(ct=de,de=null):ct=de.sibling;var je=z(O,de,M[ge],K);if(je===null){de===null&&(de=ct);break}r&&de&&je.alternate===null&&s(O,de),k=g(je,k,ge),ce===null?ie=je:ce.sibling=je,ce=je,de=ct}if(ge===M.length)return a(O,de),Ue&&jr(O,ge),ie;if(de===null){for(;ge<M.length;ge++)de=W(O,M[ge],K),de!==null&&(k=g(de,k,ge),ce===null?ie=de:ce.sibling=de,ce=de);return Ue&&jr(O,ge),ie}for(de=u(O,de);ge<M.length;ge++)ct=J(de,O,ge,M[ge],K),ct!==null&&(r&&ct.alternate!==null&&de.delete(ct.key===null?ge:ct.key),k=g(ct,k,ge),ce===null?ie=ct:ce.sibling=ct,ce=ct);return r&&de.forEach(function(gr){return s(O,gr)}),Ue&&jr(O,ge),ie}function se(O,k,M,K){var ie=G(M);if(typeof ie!="function")throw Error(n(150));if(M=ie.call(M),M==null)throw Error(n(151));for(var ce=ie=null,de=k,ge=k=0,ct=null,je=M.next();de!==null&&!je.done;ge++,je=M.next()){de.index>ge?(ct=de,de=null):ct=de.sibling;var gr=z(O,de,je.value,K);if(gr===null){de===null&&(de=ct);break}r&&de&&gr.alternate===null&&s(O,de),k=g(gr,k,ge),ce===null?ie=gr:ce.sibling=gr,ce=gr,de=ct}if(je.done)return a(O,de),Ue&&jr(O,ge),ie;if(de===null){for(;!je.done;ge++,je=M.next())je=W(O,je.value,K),je!==null&&(k=g(je,k,ge),ce===null?ie=je:ce.sibling=je,ce=je);return Ue&&jr(O,ge),ie}for(de=u(O,de);!je.done;ge++,je=M.next())je=J(de,O,ge,je.value,K),je!==null&&(r&&je.alternate!==null&&de.delete(je.key===null?ge:je.key),k=g(je,k,ge),ce===null?ie=je:ce.sibling=je,ce=je);return r&&de.forEach(function(CT){return s(O,CT)}),Ue&&jr(O,ge),ie}function et(O,k,M,K){if(typeof M=="object"&&M!==null&&M.type===q&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case I:e:{for(var ie=M.key,ce=k;ce!==null;){if(ce.key===ie){if(ie=M.type,ie===q){if(ce.tag===7){a(O,ce.sibling),k=h(ce,M.props.children),k.return=O,O=k;break e}}else if(ce.elementType===ie||typeof ie=="object"&&ie!==null&&ie.$$typeof===he&&Up(ie)===ce.type){a(O,ce.sibling),k=h(ce,M.props),k.ref=ki(O,ce,M),k.return=O,O=k;break e}a(O,ce);break}else s(O,ce);ce=ce.sibling}M.type===q?(k=Ur(M.props.children,O.mode,K,M.key),k.return=O,O=k):(K=Va(M.type,M.key,M.props,null,O.mode,K),K.ref=ki(O,k,M),K.return=O,O=K)}return v(O);case $:e:{for(ce=M.key;k!==null;){if(k.key===ce)if(k.tag===4&&k.stateNode.containerInfo===M.containerInfo&&k.stateNode.implementation===M.implementation){a(O,k.sibling),k=h(k,M.children||[]),k.return=O,O=k;break e}else{a(O,k);break}else s(O,k);k=k.sibling}k=Bc(M,O.mode,K),k.return=O,O=k}return v(O);case he:return ce=M._init,et(O,k,ce(M._payload),K)}if(ri(M))return re(O,k,M,K);if(G(M))return se(O,k,M,K);pa(O,M)}return typeof M=="string"&&M!==""||typeof M=="number"?(M=""+M,k!==null&&k.tag===6?(a(O,k.sibling),k=h(k,M),k.return=O,O=k):(a(O,k),k=zc(M,O.mode,K),k.return=O,O=k),v(O)):a(O,k)}return et}var xs=$p(!0),Wp=$p(!1),ma=ir(null),ga=null,ws=null,Gu=null;function Xu(){Gu=ws=ga=null}function Yu(r){var s=ma.current;Fe(ma),r._currentValue=s}function Ju(r,s,a){for(;r!==null;){var u=r.alternate;if((r.childLanes&s)!==s?(r.childLanes|=s,u!==null&&(u.childLanes|=s)):u!==null&&(u.childLanes&s)!==s&&(u.childLanes|=s),r===a)break;r=r.return}}function Ss(r,s){ga=r,Gu=ws=null,r=r.dependencies,r!==null&&r.firstContext!==null&&((r.lanes&s)!==0&&(Nt=!0),r.firstContext=null)}function Qt(r){var s=r._currentValue;if(Gu!==r)if(r={context:r,memoizedValue:s,next:null},ws===null){if(ga===null)throw Error(n(308));ws=r,ga.dependencies={lanes:0,firstContext:r}}else ws=ws.next=r;return s}var Dr=null;function ec(r){Dr===null?Dr=[r]:Dr.push(r)}function Hp(r,s,a,u){var h=s.interleaved;return h===null?(a.next=a,ec(s)):(a.next=h.next,h.next=a),s.interleaved=a,Fn(r,u)}function Fn(r,s){r.lanes|=s;var a=r.alternate;for(a!==null&&(a.lanes|=s),a=r,r=r.return;r!==null;)r.childLanes|=s,a=r.alternate,a!==null&&(a.childLanes|=s),a=r,r=r.return;return a.tag===3?a.stateNode:null}var lr=!1;function tc(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function qp(r,s){r=r.updateQueue,s.updateQueue===r&&(s.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects})}function zn(r,s){return{eventTime:r,lane:s,tag:0,payload:null,callback:null,next:null}}function ur(r,s,a){var u=r.updateQueue;if(u===null)return null;if(u=u.shared,(Ne&2)!==0){var h=u.pending;return h===null?s.next=s:(s.next=h.next,h.next=s),u.pending=s,Fn(r,a)}return h=u.interleaved,h===null?(s.next=s,ec(u)):(s.next=h.next,h.next=s),u.interleaved=s,Fn(r,a)}function ya(r,s,a){if(s=s.updateQueue,s!==null&&(s=s.shared,(a&4194240)!==0)){var u=s.lanes;u&=r.pendingLanes,a|=u,s.lanes=a,mu(r,a)}}function Kp(r,s){var a=r.updateQueue,u=r.alternate;if(u!==null&&(u=u.updateQueue,a===u)){var h=null,g=null;if(a=a.firstBaseUpdate,a!==null){do{var v={eventTime:a.eventTime,lane:a.lane,tag:a.tag,payload:a.payload,callback:a.callback,next:null};g===null?h=g=v:g=g.next=v,a=a.next}while(a!==null);g===null?h=g=s:g=g.next=s}else h=g=s;a={baseState:u.baseState,firstBaseUpdate:h,lastBaseUpdate:g,shared:u.shared,effects:u.effects},r.updateQueue=a;return}r=a.lastBaseUpdate,r===null?a.firstBaseUpdate=s:r.next=s,a.lastBaseUpdate=s}function va(r,s,a,u){var h=r.updateQueue;lr=!1;var g=h.firstBaseUpdate,v=h.lastBaseUpdate,C=h.shared.pending;if(C!==null){h.shared.pending=null;var _=C,D=_.next;_.next=null,v===null?g=D:v.next=D,v=_;var U=r.alternate;U!==null&&(U=U.updateQueue,C=U.lastBaseUpdate,C!==v&&(C===null?U.firstBaseUpdate=D:C.next=D,U.lastBaseUpdate=_))}if(g!==null){var W=h.baseState;v=0,U=D=_=null,C=g;do{var z=C.lane,J=C.eventTime;if((u&z)===z){U!==null&&(U=U.next={eventTime:J,lane:0,tag:C.tag,payload:C.payload,callback:C.callback,next:null});e:{var re=r,se=C;switch(z=s,J=a,se.tag){case 1:if(re=se.payload,typeof re=="function"){W=re.call(J,W,z);break e}W=re;break e;case 3:re.flags=re.flags&-65537|128;case 0:if(re=se.payload,z=typeof re=="function"?re.call(J,W,z):re,z==null)break e;W=Q({},W,z);break e;case 2:lr=!0}}C.callback!==null&&C.lane!==0&&(r.flags|=64,z=h.effects,z===null?h.effects=[C]:z.push(C))}else J={eventTime:J,lane:z,tag:C.tag,payload:C.payload,callback:C.callback,next:null},U===null?(D=U=J,_=W):U=U.next=J,v|=z;if(C=C.next,C===null){if(C=h.shared.pending,C===null)break;z=C,C=z.next,z.next=null,h.lastBaseUpdate=z,h.shared.pending=null}}while(!0);if(U===null&&(_=W),h.baseState=_,h.firstBaseUpdate=D,h.lastBaseUpdate=U,s=h.shared.interleaved,s!==null){h=s;do v|=h.lane,h=h.next;while(h!==s)}else g===null&&(h.shared.lanes=0);Vr|=v,r.lanes=v,r.memoizedState=W}}function Qp(r,s,a){if(r=s.effects,s.effects=null,r!==null)for(s=0;s<r.length;s++){var u=r[s],h=u.callback;if(h!==null){if(u.callback=null,u=a,typeof h!="function")throw Error(n(191,h));h.call(u)}}}var Ai={},Tn=ir(Ai),Ni=ir(Ai),Ri=ir(Ai);function Ir(r){if(r===Ai)throw Error(n(174));return r}function nc(r,s){switch(Le(Ri,s),Le(Ni,r),Le(Tn,Ai),r=s.nodeType,r){case 9:case 11:s=(s=s.documentElement)?s.namespaceURI:ru(null,"");break;default:r=r===8?s.parentNode:s,s=r.namespaceURI||null,r=r.tagName,s=ru(s,r)}Fe(Tn),Le(Tn,s)}function Ts(){Fe(Tn),Fe(Ni),Fe(Ri)}function Zp(r){Ir(Ri.current);var s=Ir(Tn.current),a=ru(s,r.type);s!==a&&(Le(Ni,r),Le(Tn,a))}function rc(r){Ni.current===r&&(Fe(Tn),Fe(Ni))}var We=ir(0);function xa(r){for(var s=r;s!==null;){if(s.tag===13){var a=s.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var sc=[];function ic(){for(var r=0;r<sc.length;r++)sc[r]._workInProgressVersionPrimary=null;sc.length=0}var wa=L.ReactCurrentDispatcher,oc=L.ReactCurrentBatchConfig,Lr=0,He=null,it=null,lt=null,Sa=!1,Oi=!1,Mi=0,KS=0;function vt(){throw Error(n(321))}function ac(r,s){if(s===null)return!1;for(var a=0;a<s.length&&a<r.length;a++)if(!nn(r[a],s[a]))return!1;return!0}function lc(r,s,a,u,h,g){if(Lr=g,He=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,wa.current=r===null||r.memoizedState===null?XS:YS,r=a(u,h),Oi){g=0;do{if(Oi=!1,Mi=0,25<=g)throw Error(n(301));g+=1,lt=it=null,s.updateQueue=null,wa.current=JS,r=a(u,h)}while(Oi)}if(wa.current=Pa,s=it!==null&&it.next!==null,Lr=0,lt=it=He=null,Sa=!1,s)throw Error(n(300));return r}function uc(){var r=Mi!==0;return Mi=0,r}function bn(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return lt===null?He.memoizedState=lt=r:lt=lt.next=r,lt}function Zt(){if(it===null){var r=He.alternate;r=r!==null?r.memoizedState:null}else r=it.next;var s=lt===null?He.memoizedState:lt.next;if(s!==null)lt=s,it=r;else{if(r===null)throw Error(n(310));it=r,r={memoizedState:it.memoizedState,baseState:it.baseState,baseQueue:it.baseQueue,queue:it.queue,next:null},lt===null?He.memoizedState=lt=r:lt=lt.next=r}return lt}function ji(r,s){return typeof s=="function"?s(r):s}function cc(r){var s=Zt(),a=s.queue;if(a===null)throw Error(n(311));a.lastRenderedReducer=r;var u=it,h=u.baseQueue,g=a.pending;if(g!==null){if(h!==null){var v=h.next;h.next=g.next,g.next=v}u.baseQueue=h=g,a.pending=null}if(h!==null){g=h.next,u=u.baseState;var C=v=null,_=null,D=g;do{var U=D.lane;if((Lr&U)===U)_!==null&&(_=_.next={lane:0,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),u=D.hasEagerState?D.eagerState:r(u,D.action);else{var W={lane:U,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null};_===null?(C=_=W,v=u):_=_.next=W,He.lanes|=U,Vr|=U}D=D.next}while(D!==null&&D!==g);_===null?v=u:_.next=C,nn(u,s.memoizedState)||(Nt=!0),s.memoizedState=u,s.baseState=v,s.baseQueue=_,a.lastRenderedState=u}if(r=a.interleaved,r!==null){h=r;do g=h.lane,He.lanes|=g,Vr|=g,h=h.next;while(h!==r)}else h===null&&(a.lanes=0);return[s.memoizedState,a.dispatch]}function dc(r){var s=Zt(),a=s.queue;if(a===null)throw Error(n(311));a.lastRenderedReducer=r;var u=a.dispatch,h=a.pending,g=s.memoizedState;if(h!==null){a.pending=null;var v=h=h.next;do g=r(g,v.action),v=v.next;while(v!==h);nn(g,s.memoizedState)||(Nt=!0),s.memoizedState=g,s.baseQueue===null&&(s.baseState=g),a.lastRenderedState=g}return[g,u]}function Gp(){}function Xp(r,s){var a=He,u=Zt(),h=s(),g=!nn(u.memoizedState,h);if(g&&(u.memoizedState=h,Nt=!0),u=u.queue,fc(em.bind(null,a,u,r),[r]),u.getSnapshot!==s||g||lt!==null&&lt.memoizedState.tag&1){if(a.flags|=2048,Di(9,Jp.bind(null,a,u,h,s),void 0,null),ut===null)throw Error(n(349));(Lr&30)!==0||Yp(a,s,h)}return h}function Yp(r,s,a){r.flags|=16384,r={getSnapshot:s,value:a},s=He.updateQueue,s===null?(s={lastEffect:null,stores:null},He.updateQueue=s,s.stores=[r]):(a=s.stores,a===null?s.stores=[r]:a.push(r))}function Jp(r,s,a,u){s.value=a,s.getSnapshot=u,tm(s)&&nm(r)}function em(r,s,a){return a(function(){tm(s)&&nm(r)})}function tm(r){var s=r.getSnapshot;r=r.value;try{var a=s();return!nn(r,a)}catch{return!0}}function nm(r){var s=Fn(r,1);s!==null&&ln(s,r,1,-1)}function rm(r){var s=bn();return typeof r=="function"&&(r=r()),s.memoizedState=s.baseState=r,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ji,lastRenderedState:r},s.queue=r,r=r.dispatch=GS.bind(null,He,r),[s.memoizedState,r]}function Di(r,s,a,u){return r={tag:r,create:s,destroy:a,deps:u,next:null},s=He.updateQueue,s===null?(s={lastEffect:null,stores:null},He.updateQueue=s,s.lastEffect=r.next=r):(a=s.lastEffect,a===null?s.lastEffect=r.next=r:(u=a.next,a.next=r,r.next=u,s.lastEffect=r)),r}function sm(){return Zt().memoizedState}function Ta(r,s,a,u){var h=bn();He.flags|=r,h.memoizedState=Di(1|s,a,void 0,u===void 0?null:u)}function ba(r,s,a,u){var h=Zt();u=u===void 0?null:u;var g=void 0;if(it!==null){var v=it.memoizedState;if(g=v.destroy,u!==null&&ac(u,v.deps)){h.memoizedState=Di(s,a,g,u);return}}He.flags|=r,h.memoizedState=Di(1|s,a,g,u)}function im(r,s){return Ta(8390656,8,r,s)}function fc(r,s){return ba(2048,8,r,s)}function om(r,s){return ba(4,2,r,s)}function am(r,s){return ba(4,4,r,s)}function lm(r,s){if(typeof s=="function")return r=r(),s(r),function(){s(null)};if(s!=null)return r=r(),s.current=r,function(){s.current=null}}function um(r,s,a){return a=a!=null?a.concat([r]):null,ba(4,4,lm.bind(null,s,r),a)}function hc(){}function cm(r,s){var a=Zt();s=s===void 0?null:s;var u=a.memoizedState;return u!==null&&s!==null&&ac(s,u[1])?u[0]:(a.memoizedState=[r,s],r)}function dm(r,s){var a=Zt();s=s===void 0?null:s;var u=a.memoizedState;return u!==null&&s!==null&&ac(s,u[1])?u[0]:(r=r(),a.memoizedState=[r,s],r)}function fm(r,s,a){return(Lr&21)===0?(r.baseState&&(r.baseState=!1,Nt=!0),r.memoizedState=a):(nn(a,s)||(a=Uh(),He.lanes|=a,Vr|=a,r.baseState=!0),s)}function QS(r,s){var a=De;De=a!==0&&4>a?a:4,r(!0);var u=oc.transition;oc.transition={};try{r(!1),s()}finally{De=a,oc.transition=u}}function hm(){return Zt().memoizedState}function ZS(r,s,a){var u=hr(r);if(a={lane:u,action:a,hasEagerState:!1,eagerState:null,next:null},pm(r))mm(s,a);else if(a=Hp(r,s,a,u),a!==null){var h=Et();ln(a,r,u,h),gm(a,s,u)}}function GS(r,s,a){var u=hr(r),h={lane:u,action:a,hasEagerState:!1,eagerState:null,next:null};if(pm(r))mm(s,h);else{var g=r.alternate;if(r.lanes===0&&(g===null||g.lanes===0)&&(g=s.lastRenderedReducer,g!==null))try{var v=s.lastRenderedState,C=g(v,a);if(h.hasEagerState=!0,h.eagerState=C,nn(C,v)){var _=s.interleaved;_===null?(h.next=h,ec(s)):(h.next=_.next,_.next=h),s.interleaved=h;return}}catch{}a=Hp(r,s,h,u),a!==null&&(h=Et(),ln(a,r,u,h),gm(a,s,u))}}function pm(r){var s=r.alternate;return r===He||s!==null&&s===He}function mm(r,s){Oi=Sa=!0;var a=r.pending;a===null?s.next=s:(s.next=a.next,a.next=s),r.pending=s}function gm(r,s,a){if((a&4194240)!==0){var u=s.lanes;u&=r.pendingLanes,a|=u,s.lanes=a,mu(r,a)}}var Pa={readContext:Qt,useCallback:vt,useContext:vt,useEffect:vt,useImperativeHandle:vt,useInsertionEffect:vt,useLayoutEffect:vt,useMemo:vt,useReducer:vt,useRef:vt,useState:vt,useDebugValue:vt,useDeferredValue:vt,useTransition:vt,useMutableSource:vt,useSyncExternalStore:vt,useId:vt,unstable_isNewReconciler:!1},XS={readContext:Qt,useCallback:function(r,s){return bn().memoizedState=[r,s===void 0?null:s],r},useContext:Qt,useEffect:im,useImperativeHandle:function(r,s,a){return a=a!=null?a.concat([r]):null,Ta(4194308,4,lm.bind(null,s,r),a)},useLayoutEffect:function(r,s){return Ta(4194308,4,r,s)},useInsertionEffect:function(r,s){return Ta(4,2,r,s)},useMemo:function(r,s){var a=bn();return s=s===void 0?null:s,r=r(),a.memoizedState=[r,s],r},useReducer:function(r,s,a){var u=bn();return s=a!==void 0?a(s):s,u.memoizedState=u.baseState=s,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:s},u.queue=r,r=r.dispatch=ZS.bind(null,He,r),[u.memoizedState,r]},useRef:function(r){var s=bn();return r={current:r},s.memoizedState=r},useState:rm,useDebugValue:hc,useDeferredValue:function(r){return bn().memoizedState=r},useTransition:function(){var r=rm(!1),s=r[0];return r=QS.bind(null,r[1]),bn().memoizedState=r,[s,r]},useMutableSource:function(){},useSyncExternalStore:function(r,s,a){var u=He,h=bn();if(Ue){if(a===void 0)throw Error(n(407));a=a()}else{if(a=s(),ut===null)throw Error(n(349));(Lr&30)!==0||Yp(u,s,a)}h.memoizedState=a;var g={value:a,getSnapshot:s};return h.queue=g,im(em.bind(null,u,g,r),[r]),u.flags|=2048,Di(9,Jp.bind(null,u,g,a,s),void 0,null),a},useId:function(){var r=bn(),s=ut.identifierPrefix;if(Ue){var a=Vn,u=Ln;a=(u&~(1<<32-tn(u)-1)).toString(32)+a,s=":"+s+"R"+a,a=Mi++,0<a&&(s+="H"+a.toString(32)),s+=":"}else a=KS++,s=":"+s+"r"+a.toString(32)+":";return r.memoizedState=s},unstable_isNewReconciler:!1},YS={readContext:Qt,useCallback:cm,useContext:Qt,useEffect:fc,useImperativeHandle:um,useInsertionEffect:om,useLayoutEffect:am,useMemo:dm,useReducer:cc,useRef:sm,useState:function(){return cc(ji)},useDebugValue:hc,useDeferredValue:function(r){var s=Zt();return fm(s,it.memoizedState,r)},useTransition:function(){var r=cc(ji)[0],s=Zt().memoizedState;return[r,s]},useMutableSource:Gp,useSyncExternalStore:Xp,useId:hm,unstable_isNewReconciler:!1},JS={readContext:Qt,useCallback:cm,useContext:Qt,useEffect:fc,useImperativeHandle:um,useInsertionEffect:om,useLayoutEffect:am,useMemo:dm,useReducer:dc,useRef:sm,useState:function(){return dc(ji)},useDebugValue:hc,useDeferredValue:function(r){var s=Zt();return it===null?s.memoizedState=r:fm(s,it.memoizedState,r)},useTransition:function(){var r=dc(ji)[0],s=Zt().memoizedState;return[r,s]},useMutableSource:Gp,useSyncExternalStore:Xp,useId:hm,unstable_isNewReconciler:!1};function sn(r,s){if(r&&r.defaultProps){s=Q({},s),r=r.defaultProps;for(var a in r)s[a]===void 0&&(s[a]=r[a]);return s}return s}function pc(r,s,a,u){s=r.memoizedState,a=a(u,s),a=a==null?s:Q({},s,a),r.memoizedState=a,r.lanes===0&&(r.updateQueue.baseState=a)}var Ca={isMounted:function(r){return(r=r._reactInternals)?Nr(r)===r:!1},enqueueSetState:function(r,s,a){r=r._reactInternals;var u=Et(),h=hr(r),g=zn(u,h);g.payload=s,a!=null&&(g.callback=a),s=ur(r,g,h),s!==null&&(ln(s,r,h,u),ya(s,r,h))},enqueueReplaceState:function(r,s,a){r=r._reactInternals;var u=Et(),h=hr(r),g=zn(u,h);g.tag=1,g.payload=s,a!=null&&(g.callback=a),s=ur(r,g,h),s!==null&&(ln(s,r,h,u),ya(s,r,h))},enqueueForceUpdate:function(r,s){r=r._reactInternals;var a=Et(),u=hr(r),h=zn(a,u);h.tag=2,s!=null&&(h.callback=s),s=ur(r,h,u),s!==null&&(ln(s,r,u,a),ya(s,r,u))}};function ym(r,s,a,u,h,g,v){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(u,g,v):s.prototype&&s.prototype.isPureReactComponent?!Si(a,u)||!Si(h,g):!0}function vm(r,s,a){var u=!1,h=or,g=s.contextType;return typeof g=="object"&&g!==null?g=Qt(g):(h=At(s)?Or:yt.current,u=s.contextTypes,g=(u=u!=null)?ms(r,h):or),s=new s(a,g),r.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=Ca,r.stateNode=s,s._reactInternals=r,u&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=h,r.__reactInternalMemoizedMaskedChildContext=g),s}function xm(r,s,a,u){r=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(a,u),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(a,u),s.state!==r&&Ca.enqueueReplaceState(s,s.state,null)}function mc(r,s,a,u){var h=r.stateNode;h.props=a,h.state=r.memoizedState,h.refs={},tc(r);var g=s.contextType;typeof g=="object"&&g!==null?h.context=Qt(g):(g=At(s)?Or:yt.current,h.context=ms(r,g)),h.state=r.memoizedState,g=s.getDerivedStateFromProps,typeof g=="function"&&(pc(r,s,g,a),h.state=r.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(s=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),s!==h.state&&Ca.enqueueReplaceState(h,h.state,null),va(r,a,h,u),h.state=r.memoizedState),typeof h.componentDidMount=="function"&&(r.flags|=4194308)}function bs(r,s){try{var a="",u=s;do a+=_e(u),u=u.return;while(u);var h=a}catch(g){h=`
7Error generating stack: `+g.message+`
8`+g.stack}return{value:r,source:s,stack:h,digest:null}}function gc(r,s,a){return{value:r,source:null,stack:a??null,digest:s??null}}function yc(r,s){try{console.error(s.value)}catch(a){setTimeout(function(){throw a})}}var eT=typeof WeakMap=="function"?WeakMap:Map;function wm(r,s,a){a=zn(-1,a),a.tag=3,a.payload={element:null};var u=s.value;return a.callback=function(){Oa||(Oa=!0,Oc=u),yc(r,s)},a}function Sm(r,s,a){a=zn(-1,a),a.tag=3;var u=r.type.getDerivedStateFromError;if(typeof u=="function"){var h=s.value;a.payload=function(){return u(h)},a.callback=function(){yc(r,s)}}var g=r.stateNode;return g!==null&&typeof g.componentDidCatch=="function"&&(a.callback=function(){yc(r,s),typeof u!="function"&&(dr===null?dr=new Set([this]):dr.add(this));var v=s.stack;this.componentDidCatch(s.value,{componentStack:v!==null?v:""})}),a}function Tm(r,s,a){var u=r.pingCache;if(u===null){u=r.pingCache=new eT;var h=new Set;u.set(s,h)}else h=u.get(s),h===void 0&&(h=new Set,u.set(s,h));h.has(a)||(h.add(a),r=pT.bind(null,r,s,a),s.then(r,r))}function bm(r){do{var s;if((s=r.tag===13)&&(s=r.memoizedState,s=s!==null?s.dehydrated!==null:!0),s)return r;r=r.return}while(r!==null);return null}function Pm(r,s,a,u,h){return(r.mode&1)===0?(r===s?r.flags|=65536:(r.flags|=128,a.flags|=131072,a.flags&=-52805,a.tag===1&&(a.alternate===null?a.tag=17:(s=zn(-1,1),s.tag=2,ur(a,s,1))),a.lanes|=1),r):(r.flags|=65536,r.lanes=h,r)}var tT=L.ReactCurrentOwner,Nt=!1;function Ct(r,s,a,u){s.child=r===null?Wp(s,null,a,u):xs(s,r.child,a,u)}function Cm(r,s,a,u,h){a=a.render;var g=s.ref;return Ss(s,h),u=lc(r,s,a,u,g,h),a=uc(),r!==null&&!Nt?(s.updateQueue=r.updateQueue,s.flags&=-2053,r.lanes&=~h,Bn(r,s,h)):(Ue&&a&&Hu(s),s.flags|=1,Ct(r,s,u,h),s.child)}function Em(r,s,a,u,h){if(r===null){var g=a.type;return typeof g=="function"&&!Fc(g)&&g.defaultProps===void 0&&a.compare===null&&a.defaultProps===void 0?(s.tag=15,s.type=g,_m(r,s,g,u,h)):(r=Va(a.type,null,u,s,s.mode,h),r.ref=s.ref,r.return=s,s.child=r)}if(g=r.child,(r.lanes&h)===0){var v=g.memoizedProps;if(a=a.compare,a=a!==null?a:Si,a(v,u)&&r.ref===s.ref)return Bn(r,s,h)}return s.flags|=1,r=mr(g,u),r.ref=s.ref,r.return=s,s.child=r}function _m(r,s,a,u,h){if(r!==null){var g=r.memoizedProps;if(Si(g,u)&&r.ref===s.ref)if(Nt=!1,s.pendingProps=u=g,(r.lanes&h)!==0)(r.flags&131072)!==0&&(Nt=!0);else return s.lanes=r.lanes,Bn(r,s,h)}return vc(r,s,a,u,h)}function km(r,s,a){var u=s.pendingProps,h=u.children,g=r!==null?r.memoizedState:null;if(u.mode==="hidden")if((s.mode&1)===0)s.memoizedState={baseLanes:0,cachePool:null,transitions:null},Le(Cs,Vt),Vt|=a;else{if((a&1073741824)===0)return r=g!==null?g.baseLanes|a:a,s.lanes=s.childLanes=1073741824,s.memoizedState={baseLanes:r,cachePool:null,transitions:null},s.updateQueue=null,Le(Cs,Vt),Vt|=r,null;s.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=g!==null?g.baseLanes:a,Le(Cs,Vt),Vt|=u}else g!==null?(u=g.baseLanes|a,s.memoizedState=null):u=a,Le(Cs,Vt),Vt|=u;return Ct(r,s,h,a),s.child}function Am(r,s){var a=s.ref;(r===null&&a!==null||r!==null&&r.ref!==a)&&(s.flags|=512,s.flags|=2097152)}
vendor: 4,517 bytes, line 8
8function vc(r,s,a,u,h){var g=At(a)?Or:yt.current;return g=ms(s,g),Ss(s,h),a=lc(r,s,a,u,g,h),u=uc(),r!==null&&!Nt?(s.updateQueue=r.updateQueue,s.flags&=-2053,r.lanes&=~h,Bn(r,s,h)):(Ue&&u&&Hu(s),s.flags|=1,Ct(r,s,a,h),s.child)}function Nm(r,s,a,u,h){if(At(a)){var g=!0;ua(s)}else g=!1;if(Ss(s,h),s.stateNode===null)_a(r,s),vm(s,a,u),mc(s,a,u,h),u=!0;else if(r===null){var v=s.stateNode,C=s.memoizedProps;v.props=C;var _=v.context,D=a.contextType;typeof D=="object"&&D!==null?D=Qt(D):(D=At(a)?Or:yt.current,D=ms(s,D));var U=a.getDerivedStateFromProps,W=typeof U=="function"||typeof v.getSnapshotBeforeUpdate=="function";W||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(C!==u||_!==D)&&xm(s,v,u,D),lr=!1;var z=s.memoizedState;v.state=z,va(s,u,v,h),_=s.memoizedState,C!==u||z!==_||kt.current||lr?(typeof U=="function"&&(pc(s,a,U,u),_=s.memoizedState),(C=lr||ym(s,a,C,u,z,_,D))?(W||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(s.flags|=4194308)):(typeof v.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=u,s.memoizedState=_),v.props=u,v.state=_,v.context=D,u=C):(typeof v.componentDidMount=="function"&&(s.flags|=4194308),u=!1)}else{v=s.stateNode,qp(r,s),C=s.memoizedProps,D=s.type===s.elementType?C:sn(s.type,C),v.props=D,W=s.pendingProps,z=v.context,_=a.contextType,typeof _=="object"&&_!==null?_=Qt(_):(_=At(a)?Or:yt.current,_=ms(s,_));var J=a.getDerivedStateFromProps;(U=typeof J=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(C!==W||z!==_)&&xm(s,v,u,_),lr=!1,z=s.memoizedState,v.state=z,va(s,u,v,h);var re=s.memoizedState;C!==W||z!==re||kt.current||lr?(typeof J=="function"&&(pc(s,a,J,u),re=s.memoizedState),(D=lr||ym(s,a,D,u,z,re,_)||!1)?(U||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(u,re,_),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(u,re,_)),typeof v.componentDidUpdate=="function"&&(s.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof v.componentDidUpdate!="function"||C===r.memoizedProps&&z===r.memoizedState||(s.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||C===r.memoizedProps&&z===r.memoizedState||(s.flags|=1024),s.memoizedProps=u,s.memoizedState=re),v.props=u,v.state=re,v.context=_,u=D):(typeof v.componentDidUpdate!="function"||C===r.memoizedProps&&z===r.memoizedState||(s.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||C===r.memoizedProps&&z===r.memoizedState||(s.flags|=1024),u=!1)}return xc(r,s,a,u,g,h)}function xc(r,s,a,u,h,g){Am(r,s);var v=(s.flags&128)!==0;if(!u&&!v)return h&&Dp(s,a,!1),Bn(r,s,g);u=s.stateNode,tT.current=s;var C=v&&typeof a.getDerivedStateFromError!="function"?null:u.render();return s.flags|=1,r!==null&&v?(s.child=xs(s,r.child,null,g),s.child=xs(s,null,C,g)):Ct(r,s,C,g),s.memoizedState=u.state,h&&Dp(s,a,!0),s.child}function Rm(r){var s=r.stateNode;s.pendingContext?Mp(r,s.pendingContext,s.pendingContext!==s.context):s.context&&Mp(r,s.context,!1),nc(r,s.containerInfo)}function Om(r,s,a,u,h){return vs(),Zu(h),s.flags|=256,Ct(r,s,a,u),s.child}var wc={dehydrated:null,treeContext:null,retryLane:0};function Sc(r){return{baseLanes:r,cachePool:null,transitions:null}}function Mm(r,s,a){var u=s.pendingProps,h=We.current,g=!1,v=(s.flags&128)!==0,C;if((C=v)||(C=r!==null&&r.memoizedState===null?!1:(h&2)!==0),C?(g=!0,s.flags&=-129):(r===null||r.memoizedState!==null)&&(h|=1),Le(We,h&1),r===null)return Qu(s),r=s.memoizedState,r!==null&&(r=r.dehydrated,r!==null)?((s.mode&1)===0?s.lanes=1:r.data==="$!"?s.lanes=8:s.lanes=1073741824,null):(v=u.children,r=u.fallback,g?(u=s.mode,g=s.child,v={mode:"hidden",children:v},(u&1)===0&&g!==null?(g.childLanes=0,g.pendingProps=v):g=Fa(v,u,0,null),r=Ur(r,u,a,null),g.return=s,r.return=s,g.sibling=r,s.child=g,s.child.memoizedState=Sc(a),s.memoizedState=wc,r):Tc(s,v));if(h=r.memoizedState,h!==null&&(C=h.dehydrated,C!==null))return nT(r,s,v,u,C,h,a);if(g){g=u.fallback,v=s.mode,h=r.child,C=h.sibling;var _={mode:"hidden",children:u.children};return(v&1)===0&&s.child!==h?(u=s.child,u.childLanes=0,u.pendingProps=_,s.deleti
vendor: 6,055 bytes, line 8
8ons=null):(u=mr(h,_),u.subtreeFlags=h.subtreeFlags&14680064),C!==null?g=mr(C,g):(g=Ur(g,v,a,null),g.flags|=2),g.return=s,u.return=s,u.sibling=g,s.child=u,u=g,g=s.child,v=r.child.memoizedState,v=v===null?Sc(a):{baseLanes:v.baseLanes|a,cachePool:null,transitions:v.transitions},g.memoizedState=v,g.childLanes=r.childLanes&~a,s.memoizedState=wc,u}return g=r.child,r=g.sibling,u=mr(g,{mode:"visible",children:u.children}),(s.mode&1)===0&&(u.lanes=a),u.return=s,u.sibling=null,r!==null&&(a=s.deletions,a===null?(s.deletions=[r],s.flags|=16):a.push(r)),s.child=u,s.memoizedState=null,u}function Tc(r,s){return s=Fa({mode:"visible",children:s},r.mode,0,null),s.return=r,r.child=s}function Ea(r,s,a,u){return u!==null&&Zu(u),xs(s,r.child,null,a),r=Tc(s,s.pendingProps.children),r.flags|=2,s.memoizedState=null,r}function nT(r,s,a,u,h,g,v){if(a)return s.flags&256?(s.flags&=-257,u=gc(Error(n(422))),Ea(r,s,v,u)):s.memoizedState!==null?(s.child=r.child,s.flags|=128,null):(g=u.fallback,h=s.mode,u=Fa({mode:"visible",children:u.children},h,0,null),g=Ur(g,h,v,null),g.flags|=2,u.return=s,g.return=s,u.sibling=g,s.child=u,(s.mode&1)!==0&&xs(s,r.child,null,v),s.child.memoizedState=Sc(v),s.memoizedState=wc,g);if((s.mode&1)===0)return Ea(r,s,v,null);if(h.data==="$!"){if(u=h.nextSibling&&h.nextSibling.dataset,u)var C=u.dgst;return u=C,g=Error(n(419)),u=gc(g,u,void 0),Ea(r,s,v,u)}if(C=(v&r.childLanes)!==0,Nt||C){if(u=ut,u!==null){switch(v&-v){case 4:h=2;break;case 16:h=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:h=32;break;case 536870912:h=268435456;break;default:h=0}h=(h&(u.suspendedLanes|v))!==0?0:h,h!==0&&h!==g.retryLane&&(g.retryLane=h,Fn(r,h),ln(u,r,h,-1))}return Vc(),u=gc(Error(n(421))),Ea(r,s,v,u)}return h.data==="$?"?(s.flags|=128,s.child=r.child,s=mT.bind(null,r),h._reactRetry=s,null):(r=g.treeContext,Lt=sr(h.nextSibling),It=s,Ue=!0,rn=null,r!==null&&(qt[Kt++]=Ln,qt[Kt++]=Vn,qt[Kt++]=Mr,Ln=r.id,Vn=r.overflow,Mr=s),s=Tc(s,u.children),s.flags|=4096,s)}function jm(r,s,a){r.lanes|=s;var u=r.alternate;u!==null&&(u.lanes|=s),Ju(r.return,s,a)}function bc(r,s,a,u,h){var g=r.memoizedState;g===null?r.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:u,tail:a,tailMode:h}:(g.isBackwards=s,g.rendering=null,g.renderingStartTime=0,g.last=u,g.tail=a,g.tailMode=h)}function Dm(r,s,a){var u=s.pendingProps,h=u.revealOrder,g=u.tail;if(Ct(r,s,u.children,a),u=We.current,(u&2)!==0)u=u&1|2,s.flags|=128;else{if(r!==null&&(r.flags&128)!==0)e:for(r=s.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&jm(r,a,s);else if(r.tag===19)jm(r,a,s);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===s)break e;for(;r.sibling===null;){if(r.return===null||r.return===s)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}u&=1}if(Le(We,u),(s.mode&1)===0)s.memoizedState=null;else switch(h){case"forwards":for(a=s.child,h=null;a!==null;)r=a.alternate,r!==null&&xa(r)===null&&(h=a),a=a.sibling;a=h,a===null?(h=s.child,s.child=null):(h=a.sibling,a.sibling=null),bc(s,!1,h,a,g);break;case"backwards":for(a=null,h=s.child,s.child=null;h!==null;){if(r=h.alternate,r!==null&&xa(r)===null){s.child=h;break}r=h.sibling,h.sibling=a,a=h,h=r}bc(s,!0,a,null,g);break;case"together":bc(s,!1,null,null,void 0);break;default:s.memoizedState=null}return s.child}function _a(r,s){(s.mode&1)===0&&r!==null&&(r.alternate=null,s.alternate=null,s.flags|=2)}function Bn(r,s,a){if(r!==null&&(s.dependencies=r.dependencies),Vr|=s.lanes,(a&s.childLanes)===0)return null;if(r!==null&&s.child!==r.child)throw Error(n(153));if(s.child!==null){for(r=s.child,a=mr(r,r.pendingProps),s.child=a,a.return=s;r.sibling!==null;)r=r.sibling,a=a.sibling=mr(r,r.pendingProps),a.return=s;a.sibling=null}return s.child}function rT(r,s,a){switch(s.tag){case 3:Rm(s),vs();break;case 5:Zp(s);break;case 1:At(s.type)&&ua(s);break;case 4:nc(s,s.stateNode.containerInfo);break;case 10:var u=s.type._context,h=s.memoizedProps.value;Le(ma,u._currentValue),u._currentValue=h;break;case 13:if(u=s.memoizedState,u!==null)return u.dehydrated!==null?(Le(We,We.current&1),s.flags|=128,null):(a&s.child.childLanes)!==0?Mm(r,s,a):(Le(We,We.current&1),r=Bn(r,s,a),r!==null?r.sibling:null);Le(We,We.current&1);break;case 19:if(u=(a&s.childLanes)!==0,(r.flags&128)!==0){if(u)return Dm(r,s,a);s.flags|=128}if(h=s.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),Le(We,We.current),u)break;return null;case 22:case 23:return s.lanes=0,km(r,s,a)}return Bn(r,s,a)}var Im,Pc,Lm,Vm;Im=function(r,s){for(var a=s.child;a!==null;){if(a.tag===5||a.tag===6)r.appendChild(a.stateNode);else if(a.tag!==4&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===s)break;for(;a.sibling===null;){if(a.return===null||a.return===s)return;a=a.return}a.sibling.return=a.return,a=a.sibling}},Pc=function(){},Lm=function(r,s,a,u){var h=r.memoizedProps;if(h!==u){r=s.stateNode,Ir(Tn.current);var g=null;switch(a){case"input":h=Jl(r,h),u=Jl(r,u),g=[];break;case"select":h=Q({},h,{value:void 0}),u=Q({},u,{value:void 0}),g=[];break;case"textarea":h=nu(r,h),u=nu(r,u),g=[];break;default:typeof h.onClick!="function"&&typeof u.onClick=="function"&&(r.onclick=oa)}su(a,u);var v;a=null;for(D in h)if(!u.hasOwnProperty(D)&&h.hasOwnProperty(D)&&h[D]!=null)if(D==="style"){var C=h[D];for(v in C)C.hasOwnProperty(v)&&(a||(a={}),a[v]="")}else D!=="dangerouslySetInnerHTML"&&D!=="children"&&D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&D!=="autoFocus"&&(o.hasOwnProperty(D)?g||(g=[]):(g=g||[]).push(D,null));for(D in u){var _=u[D];if(C=h?.[D],u.hasOwnProperty(D)&&_!==C&&(_!=null||C!=null))if(D==="style")if(C){for(v in C)!C.hasOwnProperty(v)||_&&_.hasOwnProperty(v)||(a||(a={}),a[v]="");for(v in _)_.hasOwnProperty(v)&&C[v]!==_[v]&&(a||(a={}),a[v]=_[v])}else a||(g||(g=[]),g.push(D,a)),a=_;else D==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,C=C?C.__html:void 0,_!=null&&
vendor: 9,152 bytes, line 8
8C!==_&&(g=g||[]).push(D,_)):D==="children"?typeof _!="string"&&typeof _!="number"||(g=g||[]).push(D,""+_):D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&(o.hasOwnProperty(D)?(_!=null&&D==="onScroll"&&Ve("scroll",r),g||C===_||(g=[])):(g=g||[]).push(D,_))}a&&(g=g||[]).push("style",a);var D=g;(s.updateQueue=D)&&(s.flags|=4)}},Vm=function(r,s,a,u){a!==u&&(s.flags|=4)};function Ii(r,s){if(!Ue)switch(r.tailMode){case"hidden":s=r.tail;for(var a=null;s!==null;)s.alternate!==null&&(a=s),s=s.sibling;a===null?r.tail=null:a.sibling=null;break;case"collapsed":a=r.tail;for(var u=null;a!==null;)a.alternate!==null&&(u=a),a=a.sibling;u===null?s||r.tail===null?r.tail=null:r.tail.sibling=null:u.sibling=null}}function xt(r){var s=r.alternate!==null&&r.alternate.child===r.child,a=0,u=0;if(s)for(var h=r.child;h!==null;)a|=h.lanes|h.childLanes,u|=h.subtreeFlags&14680064,u|=h.flags&14680064,h.return=r,h=h.sibling;else for(h=r.child;h!==null;)a|=h.lanes|h.childLanes,u|=h.subtreeFlags,u|=h.flags,h.return=r,h=h.sibling;return r.subtreeFlags|=u,r.childLanes=a,s}function sT(r,s,a){var u=s.pendingProps;switch(qu(s),s.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return xt(s),null;case 1:return At(s.type)&&la(),xt(s),null;case 3:return u=s.stateNode,Ts(),Fe(kt),Fe(yt),ic(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(r===null||r.child===null)&&(ha(s)?s.flags|=4:r===null||r.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,rn!==null&&(Dc(rn),rn=null))),Pc(r,s),xt(s),null;case 5:rc(s);var h=Ir(Ri.current);if(a=s.type,r!==null&&s.stateNode!=null)Lm(r,s,a,u,h),r.ref!==s.ref&&(s.flags|=512,s.flags|=2097152);else{if(!u){if(s.stateNode===null)throw Error(n(166));return xt(s),null}if(r=Ir(Tn.current),ha(s)){u=s.stateNode,a=s.type;var g=s.memoizedProps;switch(u[Sn]=s,u[Ei]=g,r=(s.mode&1)!==0,a){case"dialog":Ve("cancel",u),Ve("close",u);break;case"iframe":case"object":case"embed":Ve("load",u);break;case"video":case"audio":for(h=0;h<bi.length;h++)Ve(bi[h],u);break;case"source":Ve("error",u);break;case"img":case"image":case"link":Ve("error",u),Ve("load",u);break;case"details":Ve("toggle",u);break;case"input":vh(u,g),Ve("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!g.multiple},Ve("invalid",u);break;case"textarea":Sh(u,g),Ve("invalid",u)}su(a,g),h=null;for(var v in g)if(g.hasOwnProperty(v)){var C=g[v];v==="children"?typeof C=="string"?u.textContent!==C&&(g.suppressHydrationWarning!==!0&&ia(u.textContent,C,r),h=["children",C]):typeof C=="number"&&u.textContent!==""+C&&(g.suppressHydrationWarning!==!0&&ia(u.textContent,C,r),h=["children",""+C]):o.hasOwnProperty(v)&&C!=null&&v==="onScroll"&&Ve("scroll",u)}switch(a){case"input":ns(u),wh(u,g,!0);break;case"textarea":ns(u),bh(u);break;case"select":case"option":break;default:typeof g.onClick=="function"&&(u.onclick=oa)}u=h,s.updateQueue=u,u!==null&&(s.flags|=4)}else{v=h.nodeType===9?h:h.ownerDocument,r==="http://www.w3.org/1999/xhtml"&&(r=Ph(a)),r==="http://www.w3.org/1999/xhtml"?a==="script"?(r=v.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild)):typeof u.is=="string"?r=v.createElement(a,{is:u.is}):(r=v.createElement(a),a==="select"&&(v=r,u.multiple?v.multiple=!0:u.size&&(v.size=u.size))):r=v.createElementNS(r,a),r[Sn]=s,r[Ei]=u,Im(r,s,!1,!1),s.stateNode=r;e:{switch(v=iu(a,u),a){case"dialog":Ve("cancel",r),Ve("close",r),h=u;break;case"iframe":case"object":case"embed":Ve("load",r),h=u;break;case"video":case"audio":for(h=0;h<bi.length;h++)Ve(bi[h],r);h=u;break;case"source":Ve("error",r),h=u;break;case"img":case"image":case"link":Ve("error",r),Ve("load",r),h=u;break;case"details":Ve("toggle",r),h=u;break;case"input":vh(r,u),h=Jl(r,u),Ve("invalid",r);break;case"option":h=u;break;case"select":r._wrapperState={wasMultiple:!!u.multiple},h=Q({},u,{value:void 0}),Ve("invalid",r);break;case"textarea":Sh(r,u),h=nu(r,u),Ve("invalid",r);break;default:h=u}su(a,h),C=h;for(g in C)if(C.hasOwnProperty(g)){var _=C[g];g==="style"?_h(r,_):g==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,_!=null&&Ch(r,_)):g==="children"?typeof _=="string"?(a!=="textarea"||_!=="")&&si(r,_):typeof _=="number"&&si(r,""+_):g!=="suppressContentEditableWarning"&&g!=="suppressHydrationWarning"&&g!=="autoFocus"&&(o.hasOwnProperty(g)?_!=null&&g==="onScroll"&&Ve("scroll",r):_!=null&&j(r,g,_,v))}switch(a){case"input":ns(r),wh(r,u,!1);break;case"textarea":ns(r),bh(r);break;case"option":u.value!=null&&r.setAttribute("value",""+Me(u.value));break;case"select":r.multiple=!!u.multiple,g=u.value,g!=null?rs(r,!!u.multiple,g,!1):u.defaultValue!=null&&rs(r,!!u.multiple,u.defaultValue,!0);break;default:typeof h.onClick=="function"&&(r.onclick=oa)}switch(a){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}}u&&(s.flags|=4)}s.ref!==null&&(s.flags|=512,s.flags|=2097152)}return xt(s),null;case 6:if(r&&s.stateNode!=null)Vm(r,s,r.memoizedProps,u);else{if(typeof u!="string"&&s.stateNode===null)throw Error(n(166));if(a=Ir(Ri.current),Ir(Tn.current),ha(s)){if(u=s.stateNode,a=s.memoizedProps,u[Sn]=s,(g=u.nodeValue!==a)&&(r=It,r!==null))switch(r.tag){case 3:ia(u.nodeValue,a,(r.mode&1)!==0);break;case 5:r.memoizedProps.suppressHydrationWarning!==!0&&ia(u.nodeValue,a,(r.mode&1)!==0)}g&&(s.flags|=4)}else u=(a.nodeType===9?a:a.ownerDocument).createTextNode(u),u[Sn]=s,s.stateNode=u}return xt(s),null;case 13:if(Fe(We),u=s.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(Ue&&Lt!==null&&(s.mode&1)!==0&&(s.flags&128)===0)Bp(),vs(),s.flags|=98560,g=!1;else if(g=ha(s),u!==null&&u.dehydrated!==null){if(r===null){if(!g)throw Error(n(318));if(g=s.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(n(317));g[Sn]=s}else vs(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;xt(s),g=!1}else rn!==null&&(Dc(rn),rn=null),g=!0;if(!g)return s.flags&65536?s:null}return(s.flags&128)!==0?(s.lanes=a,s):(u=u!==null,u!==(r!==null&&r.memoizedState!==null)&&u&&(s.child.flags|=8192,(s.mode&1)!==0&&(r===null||(We.current&1)!==0?ot===0&&(ot=3):Vc())),s.updateQueue!==null&&(s.flags|=4),xt(s),null);case 4:return Ts(),Pc(r,s),r===null&&Pi(s.stateNode.containerInfo),xt(s),null;case 10:return Yu(s.type._context),xt(s),null;case 17:return At(s.type)&&la(),xt(s),null;case 19:if(Fe(We),g=s.memoizedState,g===null)return xt(s),null;if(u=(s.flags&128)!==0,v=g.rendering,v===null)if(u)Ii(g,!1);else{if(ot!==0||r!==null&&(r.flags&128)!==0)for(r=s.child;r!==null;){if(v=xa(r),v!==null){for(s.flags|=128,Ii(g,!1),u=v.updateQueue,u!==null&&(s.updateQueue=u,s.flags|=4),s.subtreeFlags=0,u=a,a=s.child;a!==null;)g=a,r=u,g.flags&=14680066,v=g.alternate,v===null?(g.childLanes=0,g.lanes=r,g.child=null,g.subtreeFlags=0,g.memoizedProps=null,g.memoizedState=null,g.updateQueue=null,g.dependencies=null,g.stateNode=null):(g.childLanes=v.childLanes,g.lanes=v.lanes,g.child=v.child,g.subtreeFlags=0,g.deletions=null,g.memoizedProps=v.memoizedProps,g.memoizedState=v.memoizedState,g.updateQueue=v.updateQueue,g.type=v.type,r=v.dependencies,g.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),a=a.sibling;return Le(We,We.current&1|2),s.child}r=r.sibling}g.tail!==null&&Je()>Es&&(s.flags|=128,u=!0,Ii(g,!1),s.lanes=4194304)}else{if(!u)if(r=xa(v),r!==null){if(s.flags|=128,u=!0,a=r.updateQueue,a!==null&&(s.updateQueue=a,s.flags|=4),Ii(g,!0),g.tail===null&&g.tailMode==="hidden"&&!v.alternate&&!Ue)return xt(s),null}else 2*Je()-g.renderingStartTime>Es&&a!==1073741824&&(s.flags|=128,u=!0,Ii(g,!1),s.lanes=4194304);g.isBackwards?(v.sibling=s.child,s.child=v):(a=g.last,a!==null?a.sibling=v:s.child=v,g.last=v)}return g.tail!==null?(s=g.tail,g.rendering=s,g.tail=s.sibling,g.renderingStartTime=Je(),s.sibling=null,a=We.current,Le(We,u?a&1|2:a&1),s):(xt(s),null);case 22:case 23:return Lc(),u=s.memoizedState!==null,r!==null&&r.memoizedState!==null!==u&&(s.flags|=8192),u&&(s.mode&1)!==0?(Vt&1073741824)!==0&&(xt(s),s.subtreeFlags&6&&(s.flags|=8192)):xt(s),null;case 24:return null;case 25:return null}throw Error(n(156,s.tag))}function iT(r,s){switch(qu(s),s.tag){case 1:return At(s.type)&&la(),r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 3:return Ts(),Fe(kt),Fe(yt),ic(),r=s.flags,(r&65536)!==0&&(r&128)===0?(s.flags=r&-65537|128,s):null;case 5:return rc(s),null;case 13:if(Fe(We),r=s.memoizedState,r!==null&&r.dehydrated!==null){if(s.alternate===null)throw Error(n(340));vs()}return r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 19:return Fe(We),null;case 4:return Ts(),null;case 10:return Yu(s.type._context),null;case 22:case 23:return Lc(),null;case 24:return null;default:return null}}var ka=!1,wt=!1,oT=typeof WeakSet=="function"?WeakSet:Set,ne=null;function Ps(r,s){var a=r.ref;if(a!==null)if(typeof a=="function")try{a(null)}catch(u){Ge(r,s,u)}else a.current=null}function Cc(r,s,a){try{a()}catch(u){Ge(r,s,u)}}var Fm=!1;function aT(r,s){if(Lu=Qo,r=yp(),Au(r)){if("selectionStart"in r)var a={start:r.selectionStart,end:r.selectionEnd};else e:{a=(a=r.ownerDocument)&&a.defaultView||window;var u=a.getSelection&&a.getSelection();if(u&&u.rangeCount!==0){a=u.anchorNode;
vendor: 4,264 bytes, line 8
8var h=u.anchorOffset,g=u.focusNode;u=u.focusOffset;try{a.nodeType,g.nodeType}catch{a=null;break e}var v=0,C=-1,_=-1,D=0,U=0,W=r,z=null;t:for(;;){for(var J;W!==a||h!==0&&W.nodeType!==3||(C=v+h),W!==g||u!==0&&W.nodeType!==3||(_=v+u),W.nodeType===3&&(v+=W.nodeValue.length),(J=W.firstChild)!==null;)z=W,W=J;for(;;){if(W===r)break t;if(z===a&&++D===h&&(C=v),z===g&&++U===u&&(_=v),(J=W.nextSibling)!==null)break;W=z,z=W.parentNode}W=J}a=C===-1||_===-1?null:{start:C,end:_}}else a=null}a=a||{start:0,end:0}}else a=null;for(Vu={focusedElem:r,selectionRange:a},Qo=!1,ne=s;ne!==null;)if(s=ne,r=s.child,(s.subtreeFlags&1028)!==0&&r!==null)r.return=s,ne=r;else for(;ne!==null;){s=ne;try{var re=s.alternate;if((s.flags&1024)!==0)switch(s.tag){case 0:case 11:case 15:break;case 1:if(re!==null){var se=re.memoizedProps,et=re.memoizedState,O=s.stateNode,k=O.getSnapshotBeforeUpdate(s.elementType===s.type?se:sn(s.type,se),et);O.__reactInternalSnapshotBeforeUpdate=k}break;case 3:var M=s.stateNode.containerInfo;M.nodeType===1?M.textContent="":M.nodeType===9&&M.documentElement&&M.removeChild(M.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(K){Ge(s,s.return,K)}if(r=s.sibling,r!==null){r.return=s.return,ne=r;break}ne=s.return}return re=Fm,Fm=!1,re}function Li(r,s,a){var u=s.updateQueue;if(u=u!==null?u.lastEffect:null,u!==null){var h=u=u.next;do{if((h.tag&r)===r){var g=h.destroy;h.destroy=void 0,g!==void 0&&Cc(s,a,g)}h=h.next}while(h!==u)}}function Aa(r,s){if(s=s.updateQueue,s=s!==null?s.lastEffect:null,s!==null){var a=s=s.next;do{if((a.tag&r)===r){var u=a.create;a.destroy=u()}a=a.next}while(a!==s)}}function Ec(r){var s=r.ref;if(s!==null){var a=r.stateNode;r.tag,r=a,typeof s=="function"?s(r):s.current=r}}function zm(r){var s=r.alternate;s!==null&&(r.alternate=null,zm(s)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(s=r.stateNode,s!==null&&(delete s[Sn],delete s[Ei],delete s[Uu],delete s[$S],delete s[WS])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function Bm(r){return r.tag===5||r.tag===3||r.tag===4}function Um(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||Bm(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function _c(r,s,a){var u=r.tag;if(u===5||u===6)r=r.stateNode,s?a.nodeType===8?a.parentNode.insertBefore(r,s):a.insertBefore(r,s):(a.nodeType===8?(s=a.parentNode,s.insertBefore(r,a)):(s=a,s.appendChild(r)),a=a._reactRootContainer,a!=null||s.onclick!==null||(s.onclick=oa));else if(u!==4&&(r=r.child,r!==null))for(_c(r,s,a),r=r.sibling;r!==null;)_c(r,s,a),r=r.sibling}function kc(r,s,a){var u=r.tag;if(u===5||u===6)r=r.stateNode,s?a.insertBefore(r,s):a.appendChild(r);else if(u!==4&&(r=r.child,r!==null))for(kc(r,s,a),r=r.sibling;r!==null;)kc(r,s,a),r=r.sibling}var ft=null,on=!1;function cr(r,s,a){for(a=a.child;a!==null;)$m(r,s,a),a=a.sibling}function $m(r,s,a){if(wn&&typeof wn.onCommitFiberUnmount=="function")try{wn.onCommitFiberUnmount(Uo,a)}catch{}switch(a.tag){case 5:wt||Ps(a,s);case 6:var u=ft,h=on;ft=null,cr(r,s,a),ft=u,on=h,ft!==null&&(on?(r=ft,a=a.stateNode,r.nodeType===8?r.parentNode.removeChild(a):r.removeChild(a)):ft.removeChild(a.stateNode));break;case 18:ft!==null&&(on?(r=ft,a=a.stateNode,r.nodeType===8?Bu(r.parentNode,a):r.nodeType===1&&Bu(r,a),mi(r)):Bu(ft,a.stateNode));break;case 4:u=ft,h=on,ft=a.stateNode.containerInfo,on=!0,cr(r,s,a),ft=u,on=h;break;case 0:case 11:case 14:case 15:if(!wt&&(u=a.updateQueue,u!==null&&(u=u.lastEffect,u!==null))){h=u=u.next;do{var g=h,v=g.destroy;g=g.tag,v!==void 0&&((g&2)!==0||(g&4)!==0)&&Cc(a,s,v),h=h.next}while(h!==u)}cr(r,s,a);break;case 1:if(!wt&&(Ps(a,s),u=a.stateNode,typeof u.componentWillUnmount=="function"))try{u.props=a.memoizedProps,u.state=a.memoizedState,u.componentWillUnmount()}catch(C){Ge(a,s,C)}cr(r,s,a);break;case 21:cr(r,s,a);break;case 22:a.mode&1?(wt=(u=wt)||a.memoizedState!==null,cr(r,s,a),wt=u):cr(r,s,a);break;default:cr(r,s,a)}}function Wm(r){var s=r.updateQueue;if(s!==null){r.updateQueue=null;var a=r.stateNode;
vendor: 13,881 bytes, line 8
8a===null&&(a=r.stateNode=new oT),s.forEach(function(u){var h=gT.bind(null,r,u);a.has(u)||(a.add(u),u.then(h,h))})}}function an(r,s){var a=s.deletions;if(a!==null)for(var u=0;u<a.length;u++){var h=a[u];try{var g=r,v=s,C=v;e:for(;C!==null;){switch(C.tag){case 5:ft=C.stateNode,on=!1;break e;case 3:ft=C.stateNode.containerInfo,on=!0;break e;case 4:ft=C.stateNode.containerInfo,on=!0;break e}C=C.return}if(ft===null)throw Error(n(160));$m(g,v,h),ft=null,on=!1;var _=h.alternate;_!==null&&(_.return=null),h.return=null}catch(D){Ge(h,s,D)}}if(s.subtreeFlags&12854)for(s=s.child;s!==null;)Hm(s,r),s=s.sibling}function Hm(r,s){var a=r.alternate,u=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(an(s,r),Pn(r),u&4){try{Li(3,r,r.return),Aa(3,r)}catch(se){Ge(r,r.return,se)}try{Li(5,r,r.return)}catch(se){Ge(r,r.return,se)}}break;case 1:an(s,r),Pn(r),u&512&&a!==null&&Ps(a,a.return);break;case 5:if(an(s,r),Pn(r),u&512&&a!==null&&Ps(a,a.return),r.flags&32){var h=r.stateNode;try{si(h,"")}catch(se){Ge(r,r.return,se)}}if(u&4&&(h=r.stateNode,h!=null)){var g=r.memoizedProps,v=a!==null?a.memoizedProps:g,C=r.type,_=r.updateQueue;if(r.updateQueue=null,_!==null)try{C==="input"&&g.type==="radio"&&g.name!=null&&xh(h,g),iu(C,v);var D=iu(C,g);for(v=0;v<_.length;v+=2){var U=_[v],W=_[v+1];U==="style"?_h(h,W):U==="dangerouslySetInnerHTML"?Ch(h,W):U==="children"?si(h,W):j(h,U,W,D)}switch(C){case"input":eu(h,g);break;case"textarea":Th(h,g);break;case"select":var z=h._wrapperState.wasMultiple;h._wrapperState.wasMultiple=!!g.multiple;var J=g.value;J!=null?rs(h,!!g.multiple,J,!1):z!==!!g.multiple&&(g.defaultValue!=null?rs(h,!!g.multiple,g.defaultValue,!0):rs(h,!!g.multiple,g.multiple?[]:"",!1))}h[Ei]=g}catch(se){Ge(r,r.return,se)}}break;case 6:if(an(s,r),Pn(r),u&4){if(r.stateNode===null)throw Error(n(162));h=r.stateNode,g=r.memoizedProps;try{h.nodeValue=g}catch(se){Ge(r,r.return,se)}}break;case 3:if(an(s,r),Pn(r),u&4&&a!==null&&a.memoizedState.isDehydrated)try{mi(s.containerInfo)}catch(se){Ge(r,r.return,se)}break;case 4:an(s,r),Pn(r);break;case 13:an(s,r),Pn(r),h=r.child,h.flags&8192&&(g=h.memoizedState!==null,h.stateNode.isHidden=g,!g||h.alternate!==null&&h.alternate.memoizedState!==null||(Rc=Je())),u&4&&Wm(r);break;case 22:if(U=a!==null&&a.memoizedState!==null,r.mode&1?(wt=(D=wt)||U,an(s,r),wt=D):an(s,r),Pn(r),u&8192){if(D=r.memoizedState!==null,(r.stateNode.isHidden=D)&&!U&&(r.mode&1)!==0)for(ne=r,U=r.child;U!==null;){for(W=ne=U;ne!==null;){switch(z=ne,J=z.child,z.tag){case 0:case 11:case 14:case 15:Li(4,z,z.return);break;case 1:Ps(z,z.return);var re=z.stateNode;if(typeof re.componentWillUnmount=="function"){u=z,a=z.return;try{s=u,re.props=s.memoizedProps,re.state=s.memoizedState,re.componentWillUnmount()}catch(se){Ge(u,a,se)}}break;case 5:Ps(z,z.return);break;case 22:if(z.memoizedState!==null){Qm(W);continue}}J!==null?(J.return=z,ne=J):Qm(W)}U=U.sibling}e:for(U=null,W=r;;){if(W.tag===5){if(U===null){U=W;try{h=W.stateNode,D?(g=h.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none"):(C=W.stateNode,_=W.memoizedProps.style,v=_!=null&&_.hasOwnProperty("display")?_.display:null,C.style.display=Eh("display",v))}catch(se){Ge(r,r.return,se)}}}else if(W.tag===6){if(U===null)try{W.stateNode.nodeValue=D?"":W.memoizedProps}catch(se){Ge(r,r.return,se)}}else if((W.tag!==22&&W.tag!==23||W.memoizedState===null||W===r)&&W.child!==null){W.child.return=W,W=W.child;continue}if(W===r)break e;for(;W.sibling===null;){if(W.return===null||W.return===r)break e;U===W&&(U=null),W=W.return}U===W&&(U=null),W.sibling.return=W.return,W=W.sibling}}break;case 19:an(s,r),Pn(r),u&4&&Wm(r);break;case 21:break;default:an(s,r),Pn(r)}}function Pn(r){var s=r.flags;if(s&2){try{e:{for(var a=r.return;a!==null;){if(Bm(a)){var u=a;break e}a=a.return}throw Error(n(160))}switch(u.tag){case 5:var h=u.stateNode;u.flags&32&&(si(h,""),u.flags&=-33);var g=Um(r);kc(r,g,h);break;case 3:case 4:var v=u.stateNode.containerInfo,C=Um(r);_c(r,C,v);break;default:throw Error(n(161))}}catch(_){Ge(r,r.return,_)}r.flags&=-3}s&4096&&(r.flags&=-4097)}function lT(r,s,a){ne=r,qm(r)}function qm(r,s,a){for(var u=(r.mode&1)!==0;ne!==null;){var h=ne,g=h.child;if(h.tag===22&&u){var v=h.memoizedState!==null||ka;if(!v){var C=h.alternate,_=C!==null&&C.memoizedState!==null||wt;C=ka;var D=wt;if(ka=v,(wt=_)&&!D)for(ne=h;ne!==null;)v=ne,_=v.child,v.tag===22&&v.memoizedState!==null?Zm(h):_!==null?(_.return=v,ne=_):Zm(h);for(;g!==null;)ne=g,qm(g),g=g.sibling;ne=h,ka=C,wt=D}Km(r)}else(h.subtreeFlags&8772)!==0&&g!==null?(g.return=h,ne=g):Km(r)}}function Km(r){for(;ne!==null;){var s=ne;if((s.flags&8772)!==0){var a=s.alternate;try{if((s.flags&8772)!==0)switch(s.tag){case 0:case 11:case 15:wt||Aa(5,s);break;case 1:var u=s.stateNode;if(s.flags&4&&!wt)if(a===null)u.componentDidMount();else{var h=s.elementType===s.type?a.memoizedProps:sn(s.type,a.memoizedProps);u.componentDidUpdate(h,a.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var g=s.updateQueue;g!==null&&Qp(s,g,u);break;case 3:var v=s.updateQueue;if(v!==null){if(a=null,s.child!==null)switch(s.child.tag){case 5:a=s.child.stateNode;break;case 1:a=s.child.stateNode}Qp(s,v,a)}break;case 5:var C=s.stateNode;if(a===null&&s.flags&4){a=C;var _=s.memoizedProps;switch(s.type){case"button":case"input":case"select":case"textarea":_.autoFocus&&a.focus();break;case"img":_.src&&(a.src=_.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(s.memoizedState===null){var D=s.alternate;if(D!==null){var U=D.memoizedState;if(U!==null){var W=U.dehydrated;W!==null&&mi(W)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}wt||s.flags&512&&Ec(s)}catch(z){Ge(s,s.return,z)}}if(s===r){ne=null;break}if(a=s.sibling,a!==null){a.return=s.return,ne=a;break}ne=s.return}}function Qm(r){for(;ne!==null;){var s=ne;if(s===r){ne=null;break}var a=s.sibling;if(a!==null){a.return=s.return,ne=a;break}ne=s.return}}function Zm(r){for(;ne!==null;){var s=ne;try{switch(s.tag){case 0:case 11:case 15:var a=s.return;try{Aa(4,s)}catch(_){Ge(s,a,_)}break;case 1:var u=s.stateNode;if(typeof u.componentDidMount=="function"){var h=s.return;try{u.componentDidMount()}catch(_){Ge(s,h,_)}}var g=s.return;try{Ec(s)}catch(_){Ge(s,g,_)}break;case 5:var v=s.return;try{Ec(s)}catch(_){Ge(s,v,_)}}}catch(_){Ge(s,s.return,_)}if(s===r){ne=null;break}var C=s.sibling;if(C!==null){C.return=s.return,ne=C;break}ne=s.return}}var uT=Math.ceil,Na=L.ReactCurrentDispatcher,Ac=L.ReactCurrentOwner,Gt=L.ReactCurrentBatchConfig,Ne=0,ut=null,st=null,ht=0,Vt=0,Cs=ir(0),ot=0,Vi=null,Vr=0,Ra=0,Nc=0,Fi=null,Rt=null,Rc=0,Es=1/0,Un=null,Oa=!1,Oc=null,dr=null,Ma=!1,fr=null,ja=0,zi=0,Mc=null,Da=-1,Ia=0;function Et(){return(Ne&6)!==0?Je():Da!==-1?Da:Da=Je()}function hr(r){return(r.mode&1)===0?1:(Ne&2)!==0&&ht!==0?ht&-ht:qS.transition!==null?(Ia===0&&(Ia=Uh()),Ia):(r=De,r!==0||(r=window.event,r=r===void 0?16:Xh(r.type)),r)}function ln(r,s,a,u){if(50<zi)throw zi=0,Mc=null,Error(n(185));ci(r,a,u),((Ne&2)===0||r!==ut)&&(r===ut&&((Ne&2)===0&&(Ra|=a),ot===4&&pr(r,ht)),Ot(r,u),a===1&&Ne===0&&(s.mode&1)===0&&(Es=Je()+500,ca&&ar()))}function Ot(r,s){var a=r.callbackNode;q1(r,s);var u=Ho(r,r===ut?ht:0);if(u===0)a!==null&&Fh(a),r.callbackNode=null,r.callbackPriority=0;else if(s=u&-u,r.callbackPriority!==s){if(a!=null&&Fh(a),s===1)r.tag===0?HS(Xm.bind(null,r)):Ip(Xm.bind(null,r)),BS(function(){(Ne&6)===0&&ar()}),a=null;else{switch($h(u)){case 1:a=fu;break;case 4:a=zh;break;case 16:a=Bo;break;case 536870912:a=Bh;break;default:a=Bo}a=ig(a,Gm.bind(null,r))}r.callbackPriority=s,r.callbackNode=a}}function Gm(r,s){if(Da=-1,Ia=0,(Ne&6)!==0)throw Error(n(327));var a=r.callbackNode;if(_s()&&r.callbackNode!==a)return null;var u=Ho(r,r===ut?ht:0);if(u===0)return null;if((u&30)!==0||(u&r.expiredLanes)!==0||s)s=La(r,u);else{s=u;var h=Ne;Ne|=2;var g=Jm();(ut!==r||ht!==s)&&(Un=null,Es=Je()+500,zr(r,s));do try{fT();break}catch(C){Ym(r,C)}while(!0);Xu(),Na.current=g,Ne=h,st!==null?s=0:(ut=null,ht=0,s=ot)}if(s!==0){if(s===2&&(h=hu(r),h!==0&&(u=h,s=jc(r,h))),s===1)throw a=Vi,zr(r,0),pr(r,u),Ot(r,Je()),a;if(s===6)pr(r,u);else{if(h=r.current.alternate,(u&30)===0&&!cT(h)&&(s=La(r,u),s===2&&(g=hu(r),g!==0&&(u=g,s=jc(r,g))),s===1))throw a=Vi,zr(r,0),pr(r,u),Ot(r,Je()),a;switch(r.finishedWork=h,r.finishedLanes=u,s){case 0:case 1:throw Error(n(345));case 2:Br(r,Rt,Un);break;case 3:if(pr(r,u),(u&130023424)===u&&(s=Rc+500-Je(),10<s)){if(Ho(r,0)!==0)break;if(h=r.suspendedLanes,(h&u)!==u){Et(),r.pingedLanes|=r.suspendedLanes&h;break}r.timeoutHandle=zu(Br.bind(null,r,Rt,Un),s);break}Br(r,Rt,Un);break;case 4:if(pr(r,u),(u&4194240)===u)break;for(s=r.eventTimes,h=-1;0<u;){var v=31-tn(u);g=1<<v,v=s[v],v>h&&(h=v),u&=~g}if(u=h,u=Je()-u,u=(120>u?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*uT(u/1960))-u,10<u){r.timeoutHandle=zu(Br.bind(null,r,Rt,Un),u);break}Br(r,Rt,Un);break;case 5:Br(r,Rt,Un);break;default:throw Error(n(329))}}}return Ot(r,Je()),r.callbackNode===a?Gm.bind(null,r):null}function jc(r,s){var a=Fi;return r.current.memoizedState.isDehydrated&&(zr(r,s).flags|=256),r=La(r,s),r!==2&&(s=Rt,Rt=a,s!==null&&Dc(s)),r}function Dc(r){Rt===null?Rt=r:Rt.push.apply(Rt,r)}function cT(r){for(var s=r;;){if(s.flags&16384){var a=s.updateQueue;if(a!==null&&(a=a.stores,a!==null))for(var u=0;u<a.length;u++){var h=a[u],g=h.getSnapshot;h=h.value;try{if(!nn(g(),h))return!1}catch{return!1}}}if(a=s.child,s.subtreeFlags&16384&&a!==null)a.return=s,s=a;else{if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function pr(r,s){for(s&=~Nc,s&=~Ra,r.suspendedLanes|=s,r.pingedLanes&=~s,r=r.expirationTimes;0<s;){var a=31-tn(s),u=1<<a;r[a]=-1,s&=~u}}function Xm(r){if((Ne&6)!==0)throw Error(n(327));_s();var s=Ho(r,0);if((s&1)===0)return Ot(r,Je()),null;var a=La(r,s);if(r.tag!==0&&a===2){var u=hu(r);u!==0&&(s=u,a=jc(r,u))}if(a===1)throw a=Vi,zr(r,0),pr(r,s),Ot(r,Je()),a;if(a===6)throw Error(n(345));return r.finishedWork=r.current.alternate,r.finishedLanes=s,Br(r,Rt,Un),Ot(r,Je()),null}function Ic(r,s){var a=Ne;Ne|=1;try{return r(s)}finally{Ne=a,Ne===0&&(Es=Je()+500,ca&&ar())}}function Fr(r){fr!==null&&fr.tag===0&&(Ne&6)===0&&_s();var s=Ne;Ne|=1;var a=Gt.transition,u=De;try{if(Gt.transition=null,De=1,r)return r()}finally{De=u,Gt.transition=a,Ne=s,(Ne&6)===0&&ar()}}function Lc(){Vt=Cs.current,Fe(Cs)}function zr(r,s){r.finishedWork=null,r.finishedLanes=0;var a=r.timeoutHandle;if(a!==-1&&(r.timeoutHandle=-1,zS(a)),st!==null)for(a=st.return;a!==null;){var u=a;switch(qu(u),u.tag){case 1:u=u.type.childContextTypes,u!=null&&la();break;case 3:Ts(),Fe(kt),Fe(yt),ic();break;case 5:rc(u);break;case 4:Ts();break;case 13:Fe(We);break;case 19:Fe(We);break;case 10:Yu(u.type._context);break;case 22:case 23:Lc()}a=a.return}if(ut=r,st=r=mr(r.current,null),ht=Vt=s,ot=0,Vi=null,Nc=Ra=Vr=0,Rt=Fi=null,Dr!==null){for(s=0;s<Dr.length;s++)if(a=Dr[s],u=a.interleaved,u!==null){a.interleaved=null;var h=u.next,g=a.pending;if(g!==null){var v=g.next;g.next=h,u.next=v}a.pending=u}Dr=null}return r}function Ym(r,s){do{var a=st;try{if(Xu(),wa.current=Pa,Sa){for(var u=He.memoizedState;u!==null;){var h=u.queue;h!==null&&(h.pending=null),u=u.next}Sa=!1}if(Lr=0,lt=it=He=null,Oi=!1,Mi=0,Ac.current=null,a===null||a.return===null){ot=1,Vi=s,st=null;break}e:{var g=r,v=a.return,C=a,_=s;if(s=ht,C.flags|=32768,_!==null&&typeof _=="object"&&typeof _.then=="function"){var D=_,U=C,W=U.tag;if((U.mode&1)===0&&(W===0||W===11||W===15)){var z=U.alternate;z?(U.updateQueue=z.updateQueue,U.memoizedState=z.memoizedState,U.lanes=z.lanes):(U.updateQueue=null,U.memoizedState=null)}var J=bm(v);if(J!==null){J.flags&=-257,Pm(J,v,C,g,s),J.mode&1&&Tm(g,D,s),s=J,_=D;var re=s.updateQueue;if(re===null){var se=new Set;se.add(_),s.updateQueue=se}else re.add(_);break e}else{if((s&1)===0){Tm(g,D,s),Vc();break e}_=Error(n(426))}}else if(Ue&&C.mode&1){var et=bm(v);if(et!==null){(et.flags&65536)===0&&(et.flags|=256),Pm(et,v,C,g,s),Zu(bs(_,C));break e}}g=_=bs(_,C),ot!==4&&(ot=2),Fi===null?Fi=[g]:Fi.push(g),g=v;do{switch(g.tag){case 3:g.flags|=65536,s&=-s,g.lanes|=s;var O=wm(g,_,s);Kp(g,O);break e;case 1:C=_;var k=g.type,M=g.stateNode;if((g.flags&128)===0&&(typeof k.getDerivedStateFromError=="function"||M!==null&&typeof M.componentDidCatch=="function"&&(dr===null||!dr.has(M)))){g.flags|=65536,s&=-s,g.lanes|=s;var K=Sm(g,C,s);Kp(g,K);break e}}g=g.return}while(g!==null)}tg(a)}catch(ie){s=ie,st===a&&a!==null&&(st=a=a.return);continue}break}while(!0)}function Jm(){var r=Na.current;return Na.current=Pa,r===null?Pa:r}function Vc(){(ot===0||ot===3||ot===2)&&(ot=4),ut===null||(Vr&268435455)===0&&(Ra&268435455)===0||pr(ut,ht)}function La(r,s){var a=Ne;Ne|=2;var u=Jm();(ut!==r||ht!==s)&&(Un=null,zr(r,s));do try{dT();break}catch(h){Ym(r,h)}while(!0);if(Xu(),Ne=a,Na.current=u,st!==null)throw Error(n(261));return ut=null,ht=0,ot}function dT(){for(;st!==null;)eg(st)}function fT(){for(;st!==null&&!L1();)eg(st)}function eg(r){var s=sg(r.alternate,r,Vt);r.memoizedProps=r.pendingProps,s===null?tg(r):st=s,Ac.current=null}function tg(r){var s=r;do{var a=s.alternate;if(r=s.return,(s.flags&32768)===0){if(a=sT(a,s,Vt),a!==null){st=a;return}}else{if(a=iT(a,s),a!==null){a.flags&=32767,st=a;return}if(r!==null)r.flags|=32768,r.subtreeFlags=0,r.deletions=null;else{ot=6,st=null;return}}if(s=s.sibling,s!==null){st=s;return}st=s=r}while(s!==null);ot===0&&(ot=5)}function Br(r,s,a){var u=De,h=Gt.transition;try{Gt.transition=null,De=1,hT(r,s,a,u)}finally{Gt.transition=h,De=u}return null}function hT(r,s,a,u){do _s();while(fr!==null);if((Ne&6)!==0)throw Error(n(327));a=r.finishedWork;var h=r.finishedLanes;if(a===null)return null;if(r.finishedWork=null,r.finishedLanes=0,a===r.current)throw Error(n(177));r.callbackNode=null,r.callbackPriority=0;var g=a.lanes|a.childLanes;if(K1(r,g),r===ut&&(st=ut=null,ht=0),(a.subtreeFlags&2064)===0&&(a.flags&2064)===0||Ma||(M
vendor: 5,434 bytes, line 8
8a=!0,ig(Bo,function(){return _s(),null})),g=(a.flags&15990)!==0,(a.subtreeFlags&15990)!==0||g){g=Gt.transition,Gt.transition=null;var v=De;De=1;var C=Ne;Ne|=4,Ac.current=null,aT(r,a),Hm(a,r),MS(Vu),Qo=!!Lu,Vu=Lu=null,r.current=a,lT(a),V1(),Ne=C,De=v,Gt.transition=g}else r.current=a;if(Ma&&(Ma=!1,fr=r,ja=h),g=r.pendingLanes,g===0&&(dr=null),B1(a.stateNode),Ot(r,Je()),s!==null)for(u=r.onRecoverableError,a=0;a<s.length;a++)h=s[a],u(h.value,{componentStack:h.stack,digest:h.digest});if(Oa)throw Oa=!1,r=Oc,Oc=null,r;return(ja&1)!==0&&r.tag!==0&&_s(),g=r.pendingLanes,(g&1)!==0?r===Mc?zi++:(zi=0,Mc=r):zi=0,ar(),null}function _s(){if(fr!==null){var r=$h(ja),s=Gt.transition,a=De;try{if(Gt.transition=null,De=16>r?16:r,fr===null)var u=!1;else{if(r=fr,fr=null,ja=0,(Ne&6)!==0)throw Error(n(331));var h=Ne;for(Ne|=4,ne=r.current;ne!==null;){var g=ne,v=g.child;if((ne.flags&16)!==0){var C=g.deletions;if(C!==null){for(var _=0;_<C.length;_++){var D=C[_];for(ne=D;ne!==null;){var U=ne;switch(U.tag){case 0:case 11:case 15:Li(8,U,g)}var W=U.child;if(W!==null)W.return=U,ne=W;else for(;ne!==null;){U=ne;var z=U.sibling,J=U.return;if(zm(U),U===D){ne=null;break}if(z!==null){z.return=J,ne=z;break}ne=J}}}var re=g.alternate;if(re!==null){var se=re.child;if(se!==null){re.child=null;do{var et=se.sibling;se.sibling=null,se=et}while(se!==null)}}ne=g}}if((g.subtreeFlags&2064)!==0&&v!==null)v.return=g,ne=v;else e:for(;ne!==null;){if(g=ne,(g.flags&2048)!==0)switch(g.tag){case 0:case 11:case 15:Li(9,g,g.return)}var O=g.sibling;if(O!==null){O.return=g.return,ne=O;break e}ne=g.return}}var k=r.current;for(ne=k;ne!==null;){v=ne;var M=v.child;if((v.subtreeFlags&2064)!==0&&M!==null)M.return=v,ne=M;else e:for(v=k;ne!==null;){if(C=ne,(C.flags&2048)!==0)try{switch(C.tag){case 0:case 11:case 15:Aa(9,C)}}catch(ie){Ge(C,C.return,ie)}if(C===v){ne=null;break e}var K=C.sibling;if(K!==null){K.return=C.return,ne=K;break e}ne=C.return}}if(Ne=h,ar(),wn&&typeof wn.onPostCommitFiberRoot=="function")try{wn.onPostCommitFiberRoot(Uo,r)}catch{}u=!0}return u}finally{De=a,Gt.transition=s}}return!1}function ng(r,s,a){s=bs(a,s),s=wm(r,s,1),r=ur(r,s,1),s=Et(),r!==null&&(ci(r,1,s),Ot(r,s))}function Ge(r,s,a){if(r.tag===3)ng(r,r,a);else for(;s!==null;){if(s.tag===3){ng(s,r,a);break}else if(s.tag===1){var u=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(dr===null||!dr.has(u))){r=bs(a,r),r=Sm(s,r,1),s=ur(s,r,1),r=Et(),s!==null&&(ci(s,1,r),Ot(s,r));break}}s=s.return}}function pT(r,s,a){var u=r.pingCache;u!==null&&u.delete(s),s=Et(),r.pingedLanes|=r.suspendedLanes&a,ut===r&&(ht&a)===a&&(ot===4||ot===3&&(ht&130023424)===ht&&500>Je()-Rc?zr(r,0):Nc|=a),Ot(r,s)}function rg(r,s){s===0&&((r.mode&1)===0?s=1:(s=Wo,Wo<<=1,(Wo&130023424)===0&&(Wo=4194304)));var a=Et();r=Fn(r,s),r!==null&&(ci(r,s,a),Ot(r,a))}function mT(r){var s=r.memoizedState,a=0;s!==null&&(a=s.retryLane),rg(r,a)}function gT(r,s){var a=0;switch(r.tag){case 13:var u=r.stateNode,h=r.memoizedState;h!==null&&(a=h.retryLane);break;case 19:u=r.stateNode;break;default:throw Error(n(314))}u!==null&&u.delete(s),rg(r,a)}var sg;sg=function(r,s,a){if(r!==null)if(r.memoizedProps!==s.pendingProps||kt.current)Nt=!0;else{if((r.lanes&a)===0&&(s.flags&128)===0)return Nt=!1,rT(r,s,a);Nt=(r.flags&131072)!==0}else Nt=!1,Ue&&(s.flags&1048576)!==0&&Lp(s,fa,s.index);switch(s.lanes=0,s.tag){case 2:var u=s.type;_a(r,s),r=s.pendingProps;var h=ms(s,yt.current);Ss(s,a),h=lc(null,s,u,r,h,a);var g=uc();return s.flags|=1,typeof h=="object"&&h!==null&&typeof h.render=="function"&&h.$$typeof===void 0?(s.tag=1,s.memoizedState=null,s.updateQueue=null,At(u)?(g=!0,ua(s)):g=!1,s.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,tc(s),h.updater=Ca,s.stateNode=h,h._reactInternals=s,mc(s,u,r,a),s=xc(null,s,u,!0,g,a)):(s.tag=0,Ue&&g&&Hu(s),Ct(null,s,h,a),s=s.child),s;case 16:u=s.elementType;e:{switch(_a(r,s),r=s.pendingProps,h=u._init,u=h(u._payload),s.type=u,h=s.tag=vT(u),r=sn(u,r),h){case 0:s=vc(null,s,u,r,a);break e;case 1:s=Nm(null,s,u,r,a);break e;case 11:s=Cm(null,s,u,r,a);break e;case 14:s=Em(null,s,u,sn(u.type,r),a);break e}throw Error(n(306,u,""))}return s;case 0:return u=s.type,h=s.pendingProps,h=s.elementType===u?h:sn(u,h),vc(r,s,u,h,a);case 1:return u=s.type,h=s.pendingProps,h=s.elementType===u?h:sn(u,h),Nm(r,s,u,h,a);case 3:e:{if(Rm(s),r===null)throw Error(n(387));u=s.pendingProps,g=s.memoizedState,h=g.element,qp(r,s),va(s,u,null,a);var v=s.memoizedState;if(u=v.element,g.isDehydrated)if(g={element:u,isDehydrated:!1,cache:v.cache,pendingSuspenseBoundaries:v.pendingSuspenseBoundaries,transitions:v.transitions},s.updateQueue.baseState=g,s.memoizedState=g,s.flags&256){h=bs(Error(n(423)),s),s=Om(r,s,u,a,h);break e}else if(u!==h){h=bs(Error(n(424)),s),s=Om(r,s,u,a,h);break e}else for(Lt=sr(s.stateNode.containerInfo.firstChild),It=s,Ue=!0,rn=null,a=Wp(s,null,u,a),s.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(vs(),u===h){s=Bn(r,s,a);break e}Ct(r,s,u,a)}s=s.child}return s;case 5:return Zp(s),r===null&&Qu(s),u=s.type,h=s.pendingProps,g=r!==null?r.memoizedProps:null,v=h.children,Fu(u,h)?v=null:g!==null&&Fu(u,g)&&(s.flags|=32),Am(r,s),Ct(r,s,v,a),s.child;case 6:return r===null&&Qu(s),null;case 13:return Mm(r,s,a);case 4:return nc(s,s.stateNode.containerInfo),u=s.pendingProps,r===null?s.child=xs(s,null,u,a):Ct(r,s,u,a),s.child;case 11:return u=s.type,h=s.pendingProps,h=s.elementType===u?h:sn(u,h),Cm(r,s,u,h,a);
vendor: 8,029 bytes, line 8
8case 7:return Ct(r,s,s.pendingProps,a),s.child;case 8:return Ct(r,s,s.pendingProps.children,a),s.child;case 12:return Ct(r,s,s.pendingProps.children,a),s.child;case 10:e:{if(u=s.type._context,h=s.pendingProps,g=s.memoizedProps,v=h.value,Le(ma,u._currentValue),u._currentValue=v,g!==null)if(nn(g.value,v)){if(g.children===h.children&&!kt.current){s=Bn(r,s,a);break e}}else for(g=s.child,g!==null&&(g.return=s);g!==null;){var C=g.dependencies;if(C!==null){v=g.child;for(var _=C.firstContext;_!==null;){if(_.context===u){if(g.tag===1){_=zn(-1,a&-a),_.tag=2;var D=g.updateQueue;if(D!==null){D=D.shared;var U=D.pending;U===null?_.next=_:(_.next=U.next,U.next=_),D.pending=_}}g.lanes|=a,_=g.alternate,_!==null&&(_.lanes|=a),Ju(g.return,a,s),C.lanes|=a;break}_=_.next}}else if(g.tag===10)v=g.type===s.type?null:g.child;else if(g.tag===18){if(v=g.return,v===null)throw Error(n(341));v.lanes|=a,C=v.alternate,C!==null&&(C.lanes|=a),Ju(v,a,s),v=g.sibling}else v=g.child;if(v!==null)v.return=g;else for(v=g;v!==null;){if(v===s){v=null;break}if(g=v.sibling,g!==null){g.return=v.return,v=g;break}v=v.return}g=v}Ct(r,s,h.children,a),s=s.child}return s;case 9:return h=s.type,u=s.pendingProps.children,Ss(s,a),h=Qt(h),u=u(h),s.flags|=1,Ct(r,s,u,a),s.child;case 14:return u=s.type,h=sn(u,s.pendingProps),h=sn(u.type,h),Em(r,s,u,h,a);case 15:return _m(r,s,s.type,s.pendingProps,a);case 17:return u=s.type,h=s.pendingProps,h=s.elementType===u?h:sn(u,h),_a(r,s),s.tag=1,At(u)?(r=!0,ua(s)):r=!1,Ss(s,a),vm(s,u,h),mc(s,u,h,a),xc(null,s,u,!0,r,a);case 19:return Dm(r,s,a);case 22:return km(r,s,a)}throw Error(n(156,s.tag))};function ig(r,s){return Vh(r,s)}function yT(r,s,a,u){this.tag=r,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Xt(r,s,a,u){return new yT(r,s,a,u)}function Fc(r){return r=r.prototype,!(!r||!r.isReactComponent)}function vT(r){if(typeof r=="function")return Fc(r)?1:0;if(r!=null){if(r=r.$$typeof,r===ae)return 11;if(r===Ee)return 14}return 2}function mr(r,s){var a=r.alternate;return a===null?(a=Xt(r.tag,s,r.key,r.mode),a.elementType=r.elementType,a.type=r.type,a.stateNode=r.stateNode,a.alternate=r,r.alternate=a):(a.pendingProps=s,a.type=r.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=r.flags&14680064,a.childLanes=r.childLanes,a.lanes=r.lanes,a.child=r.child,a.memoizedProps=r.memoizedProps,a.memoizedState=r.memoizedState,a.updateQueue=r.updateQueue,s=r.dependencies,a.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},a.sibling=r.sibling,a.index=r.index,a.ref=r.ref,a}function Va(r,s,a,u,h,g){var v=2;if(u=r,typeof r=="function")Fc(r)&&(v=1);else if(typeof r=="string")v=5;else e:switch(r){case q:return Ur(a.children,h,g,s);case Z:v=8,h|=8;break;case le:return r=Xt(12,a,s,h|2),r.elementType=le,r.lanes=g,r;case Se:return r=Xt(13,a,s,h),r.elementType=Se,r.lanes=g,r;case X:return r=Xt(19,a,s,h),r.elementType=X,r.lanes=g,r;case te:return Fa(a,h,g,s);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case ue:v=10;break e;case ve:v=9;break e;case ae:v=11;break e;case Ee:v=14;break e;case he:v=16,u=null;break e}throw Error(n(130,r==null?r:typeof r,""))}return s=Xt(v,a,s,h),s.elementType=r,s.type=u,s.lanes=g,s}function Ur(r,s,a,u){return r=Xt(7,r,u,s),r.lanes=a,r}function Fa(r,s,a,u){return r=Xt(22,r,u,s),r.elementType=te,r.lanes=a,r.stateNode={isHidden:!1},r}function zc(r,s,a){return r=Xt(6,r,null,s),r.lanes=a,r}function Bc(r,s,a){return s=Xt(4,r.children!==null?r.children:[],r.key,s),s.lanes=a,s.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},s}function xT(r,s,a,u,h){this.tag=s,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=pu(0),this.expirationTimes=pu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pu(0),this.identifierPrefix=u,this.onRecoverableError=h,this.mutableSourceEagerHydrationData=null}function Uc(r,s,a,u,h,g,v,C,_){return r=new xT(r,s,a,C,_),s===1?(s=1,g===!0&&(s|=8)):s=0,g=Xt(3,null,null,s),r.current=g,g.stateNode=r,g.memoizedState={element:u,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null},tc(g),r}function wT(r,s,a){var u=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:$,key:u==null?null:""+u,children:r,containerInfo:s,implementation:a}}function og(r){if(!r)return or;r=r._reactInternals;e:{if(Nr(r)!==r||r.tag!==1)throw Error(n(170));var s=r;do{switch(s.tag){case 3:s=s.stateNode.context;break e;case 1:if(At(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break e}}s=s.return}while(s!==null);throw Error(n(171))}if(r.tag===1){var a=r.type;if(At(a))return jp(r,a,s)}return s}function ag(r,s,a,u,h,g,v,C,_){return r=Uc(a,u,!0,r,h,g,v,C,_),r.context=og(null),a=r.current,u=Et(),h=hr(a),g=zn(u,h),g.callback=s??null,ur(a,g,h),r.current.lanes=h,ci(r,h,u),Ot(r,u),r}function za(r,s,a,u){var h=s.current,g=Et(),v=hr(h);return a=og(a),s.context===null?s.context=a:s.pendingContext=a,s=zn(g,v),s.payload={element:r},u=u===void 0?null:u,u!==null&&(s.callback=u),r=ur(h,s,v),r!==null&&(ln(r,h,v,g),ya(r,h,v)),v}function Ba(r){return r=r.current,r.child?(r.child.tag===5,r.child.stateNode):null}function lg(r,s){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var a=r.retryLane;r.retryLane=a!==0&&a<s?a:s}}function $c(r,s){lg(r,s),(r=r.alternate)&&lg(r,s)}function ST(){return null}var ug=typeof reportError=="function"?reportError:function(r){console.error(r)};function Wc(r){this._internalRoot=r}Ua.prototype.render=Wc.prototype.render=function(r){var s=this._internalRoot;if(s===null)throw Error(n(409));za(r,s,null,null)},Ua.prototype.unmount=Wc.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var s=r.containerInfo;Fr(function(){za(null,r,null,null)}),s[Dn]=null}};function Ua(r){this._internalRoot=r}Ua.prototype.unstable_scheduleHydration=function(r){if(r){var s=qh();r={blockedOn:null,target:r,priority:s};for(var a=0;a<tr.length&&s!==0&&s<tr[a].priority;a++);tr.splice(a,0,r),a===0&&Zh(r)}};function Hc(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function $a(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11&&(r.nodeType!==8||r.nodeValue!==" react-mount-point-unstable "))}function cg(){}function TT(r,s,a,u,h){if(h){if(typeof u=="function"){var g=u;u=function(){var D=Ba(v);g.call(D)}}var v=ag(s,u,r,0,null,!1,!1,"",cg);return r._reactRootContainer=v,r[Dn]=v.current,Pi(r.nodeType===8?r.parentNode:r),Fr(),v}for(;h=r.lastChild;)r.removeChild(h);if(typeof u=="function"){var C=u;u=function(){var D=Ba(_);C.call(D)}}var _=Uc(r,0,!1,null,null,!1,!1,"",cg);return r._reactRootContainer=_,r[Dn]=_.current,Pi(r.nodeType===8?r.parentNode:r),Fr(function(){za(s,_,a,u)}),_}function Wa(r,s,a,u,h){var g=a._reactRootContainer;if(g){var v=g;if(typeof h=="function"){var C=h;h=function(){var _=Ba(v);C.call(_)}}za(s,v,r,h)}else v=TT(a,s,r,h,u);return Ba(v)}Wh=function(r){switch(r.tag){case 3:var s=r.stateNode;if(s.current.memoizedState.isDehydrated){var a=ui(s.pendingLanes);a!==0&&(mu(s,a|1),Ot(s,Je()),(Ne&6)===0&&(Es=Je()+500,ar()))}break;case 13:Fr(function(){var u=Fn(r,1);if(u!==null){var h=Et();ln(u,r,1,h)}}),$c(r,1)}},gu=function(r){if(r.tag===13){var s=Fn(r,134217728);if(s!==null){var a=Et();ln(s,r,134217728,a)}$c(r,134217728)}},Hh=function(r){if(r.tag===13){var s=hr(r),a=Fn(r,s);if(a!==null){var u=Et();ln(a,r,s,u)}$c(r,s)}},qh=function(){return De},Kh=function(r,s){var a=De;try{return De=r,s()}finally{De=a}},lu=function(r,s,a){switch(s){case"input":if(eu(r,a),s=a.name,a.t
8ype==="radio"&&s!=null){for(a=r;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll("input[name="+JSON.stringify(""+s)+'][type="radio"]'),s=0;s<a.length;s++){var u=a[s];if(u!==r&&u.form===r.form){var h=aa(u);if(!h)throw Error(n(90));Lo(u),eu(u,h)}}}break;case"textarea":Th(r,a);break;case"select":s=a.value,s!=null&&rs(r,!!a.multiple,s,!1)}},Rh=Ic,Oh=Fr;var bT={usingClientEntryPoint:!1,Events:[_i,hs,aa,Ah,Nh,Ic]},Bi={findFiberByHostInstance:Rr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},PT={bundleType:Bi.bundleType,version:Bi.version,rendererPackageName:Bi.rendererPackageName,rendererConfig:Bi.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:L.ReactCurrentDispatcher,findHostInstanceByFiber:function(r){return r=Ih(r),r===null?null:r.stateNode},findFiberByHostInstance:Bi.findFiberByHostInstance||ST,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 Ha=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ha.isDisabled&&Ha.supportsFiber)try{Uo=Ha.inject(PT),wn=Ha}catch{}}return Mt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=bT,Mt.createPortal=function(r,s){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Hc(s))throw Error(n(200));return wT(r,s,null,a)},Mt.createRoot=function(r,s){if(!Hc(r))throw Error(n(299));var a=!1,u="",h=ug;return s!=null&&(s.unstable_strictMode===!0&&(a=!0),s.identifierPrefix!==void 0&&(u=s.identifierPrefix),s.onRecoverableError!==void 0&&(h=s.onRecoverableError)),s=Uc(r,1,!1,null,null,a,!1,u,h),r[Dn]=s.current,Pi(r.nodeType===8?r.parentNode:r),new Wc(s)},Mt.findDOMNode=function(r){if(r==null)return null;if(r.nodeType===1)return r;var s=r._reactInternals;if(s===void 0)throw typeof r.render=="function"?Error(n(188)):(r=Object.keys(r).join(","),Error(n(268,r)));return r=Ih(s),r=r===null?null:r.stateNode,r},Mt.flushSync=function(r){return Fr(r)},Mt.hydrate=function(r,s,a){if(!$a(s))throw Error(n(200));return Wa(null,r,s,!0,a)},Mt.hydrateRoot=function(r,s,a){if(!Hc(r))throw Error(n(405));var u=a!=null&&a.hydratedSources||null,h=!1,g="",v=ug;if(a!=null&&(a.unstable_strictMode===!0&&(h=!0),a.identifierPrefix!==void 0&&(g=a.identifierPrefix),a.onRecoverableError!==void 0&&(v=a.onRecoverableError)),s=ag(s,null,r,1,a??null,h,!1,g,v),r[Dn]=s.current,Pi(r),u)for(r=0;r<u.length;r++)a=u[r],h=a._getVersion,h=h(a._source),s.mutableSourceEagerHydrationData==null?s.mutableSourceEagerHydrationData=[a,h]:s.mutableSourceEagerHydrationData.push(a,h);return new Ua(s)},Mt.render=function(r,s,a){if(!$a(s))throw Error(n(200));return Wa(null,r,s,!1,a)},Mt.unmountComponentAtNode=function(r){if(!$a(r))throw Error(n(40));return r._reactRootContainer?(Fr(function(){Wa(null,null,r,!1,function(){r._reactRootContainer=null,r[Dn]=null})}),!0):!1},Mt.unstable_batchedUpdates=Ic,Mt.unstable_renderSubtreeIntoContainer=function(r,s,a,u){if(!$a(a))throw Error(n(200));if(r==null||r._reactInternals===void 0)throw Error(n(38));return Wa(r,s,a,!1,u)},Mt.version="18.3.1-next-f1338f8080-20240426",Mt}var vg;function Iv(){if(vg)return Qc.exports;vg=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),Qc.exports=OT(),Qc.exports}var xg;function MT(){if(xg)return qa;xg=1;var t=Iv();return qa.createRoot=t.createRoot,qa.hydrateRoot=t.hydrateRoot,qa}var jT=MT();function DT(t,e){if(t instanceof RegExp)return{keys:!1,pattern:t};var n,i,o,l,c=[],d="",f=t.split("/");for(f[0]||f.shift();o=f.shift();)n=o[0],n==="*"?(c.push(n),d+=o[1]==="?"?"(?:/(.*))?":"/(.*)"):n===":"?(i=o.indexOf("?",1),l=o.indexOf(".",1),c.push(o.substring(1,~i?i:~l?l:o.length)),d+=~i&&!~l?"(?:/([^/]+?))?":"/([^/]+?)",~l&&(d+=(~i?"?":"")+"\\"+o.substring(l))):d+="/"+o;return{keys:c,pattern:new RegExp("^"+d+(e?"(?=$|/)":"/?$"),"i")}}var T=Ol();const Qe=ko(T),IT=ET({__proto__:null,default:Qe},[T]);var Xc={exports:{}},Yc={};var wg;
8function LT(){if(wg)return Yc;wg=1;var t=Ol();function e(y,x){return y===x&&(y!==0||1/y===1/x)||y!==y&&x!==x}var n=typeof Object.is=="function"?Object.is:e,i=t.useState,o=t.useEffect,l=t.useLayoutEffect,c=t.useDebugValue;function d(y,x){var S=x(),E=i({inst:{value:S,getSnapshot:x}}),b=E[0].inst,P=E[1];return l(function(){b.value=S,b.getSnapshot=x,f(b)&&P({inst:b})},[y,S,x]),o(function(){return f(b)&&P({inst:b}),y(function(){f(b)&&P({inst:b})})},[y]),c(S),S}function f(y){var x=y.getSnapshot;y=y.value;try{var S=x();return!n(y,S)}catch{return!0}}function p(y,x){return x()}var m=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:d;return Yc.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:m,Yc}var Sg;function VT(){return Sg||(Sg=1,Xc.exports=LT()),Xc.exports}var FT=VT();const zT=IT.useInsertionEffect,BT=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",UT=BT?T.useLayoutEffect:T.useEffect,$T=zT||UT,Lv=t=>{const e=T.useRef([t,(...n)=>e[0](...n)]).current;return $T(()=>{e[0]=t}),e[1]},WT="popstate",mf="pushState",gf="replaceState",HT="hashchange",Tg=[WT,mf,gf,HT],qT=t=>{for(const e of Tg)addEventListener(e,t);return()=>{for(const e of Tg)removeEventListener(e,t)}},Vv=(t,e)=>FT.useSyncExternalStore(qT,t,e),KT=()=>location.search,QT=({ssrSearch:t=""}={})=>Vv(KT,()=>t),bg=()=>location.pathname,ZT=({ssrPath:t}={})=>Vv(bg,t?()=>t:bg),GT=(t,{replace:e=!1,state:n=null}={})=>history[e?gf:mf](n,"",t),XT=(t={})=>[ZT(t),GT],Pg=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[Pg]>"u"){for(const t of[mf,gf]){const e=history[t];history[t]=function(){const n=e.apply(this,arguments),i=new Event(t);return i.arguments=arguments,dispatchEvent(i),n}}Object.defineProperty(window,Pg,{value:!0})}const YT=(t,e)=>e.toLowerCase().indexOf(t.toLowerCase())?"~"+e:e.slice(t.length)||"/",Fv=(t="")=>t==="/"?"":t,JT=(t,e)=>t[0]==="~"?t.slice(1):Fv(e)+t,eb=(t="",e)=>YT(Cg(Fv(t)),Cg(e)),Cg=t=>{try{return decodeURI(t)}catch{return t}},zv={hook:XT,searchHook:QT,parser:DT,base:"",ssrPath:void 0,ssrSearch:void 0,hrefs:t=>t},Bv=T.createContext(zv),Ml=()=>T.useContext(Bv),Uv={},$v=T.createContext(Uv),tb=()=>T.useContext($v),yf=t=>{const[e,n]=t.hook(t);return[eb(t.base,e),Lv((i,o)=>n(JT(i,t.base),o))]},Wv=(t,e,n,i)=>{const{pattern:o,keys:l}=e instanceof RegExp?{keys:!1,pattern:e}:t(e||"*",i),c=o.exec(n)||[],[d,...f]=c;return d!==void 0?[!0,(()=>{const p=l!==!1?Object.fromEntries(l.map((y,x)=>[y,f[x]])):c.groups;let m={...f};return p&&Object.assign(m,p),m})(),...i?[d]:[]]:[!1,null]},nb=({children:t,...e})=>{const n=Ml(),i=e.hook?zv:n;let o=i;const[l,c]=e.ssrPath?.split("?")??[];c&&(e.ssrSearch=c,e.ssrPath=l),e.hrefs=e.hrefs??e.hook?.hrefs;let d=T.useRef({}),f=d.current,p=f;for(let m in i){const y=m==="base"?i[m]+(e[m]||""):e[m]||i[m];f===p&&y!==p[m]&&(d.current=p={...p}),p[m]=y,y!==i[m]&&(o=p)}return T.createElement(Bv.Provider,{value:o,children:t})},Eg=({children:t,component:e},n)=>e?T.createElement(e,{params:n}):typeof t=="function"?t(n):t,rb=t=>{let e=T.useRef(Uv),n=e.current;for(const i in t)t[i]!==n[i]&&(n=t);return Object.keys(t).length===0&&(n=t),e.current=n},_g=({path:t,nest:e,match:n,...i})=>{const o=Ml(),[l]=yf(o),[c,d,f]=n??Wv(o.parser,t,l,e),p=rb({...tb(),...d});if(!c)return null;const m=f?T.createElement(nb,{base:f},Eg(i,p)):Eg(i,p);return T.createElement($v.Provider,{value:p,children:m})};T.forwardRef((t,e)=>{const n=Ml(),[i,o]=yf(n),{to:l="",href:c=l,onClick:d,asChild:f,children:p,className:m,replace:y,state:x,...S}=t,E=Lv(P=>{P.ctrlKey||P.metaKey||P.altKey||P.shiftKey||P.button!==0||(d?.(P),P.defaultPrevented||(P.preventDefault(),o(c,t)))}),b=n.hrefs(c[0]==="~"?c.slice(1):n.base+c,n);return f&&T.isValidElement(p)?T.cloneElement(p,{onClick:E,href:b}):T.createElement("a",{...S,onClick:E,href:b,className:m?.call?m(i===c):m,children:p,ref:e})});const Hv=t=>Array.isArray(t)?t.flatMap(e=>Hv(e&&e.type===T.Fragment?e.props.children:e)):[t],sb=({children:t,location:e})=>{const n=Ml(),[i]=yf(n);for(const o of Hv(t)){let l=0;if(T.isValidElement(o)&&(l=Wv(n.parser,o.props.path,e||i,o.props.nest))[0])return T.cloneElement(o,{match:l})}return null};var Ao=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},jl=typeof window>"u"||"Deno"in globalThis;function cn(){}function ib(t,e){return typeof t=="function"?t(e):t}function ob(t){return typeof t=="number"&&t>=0&&t!==1/0}function ab(t,e){return Math.max(t+(e||0)-Date.now(),0)}function kg(t,e){return typeof t=="function"?t(e):t}function lb(t,e){return typeof t=="function"?t(e):t}function Ag(t,e){const{type:n="all",exact:i,fetchStatus:o,predicate:l,queryKey:c,stale:d}=t;if(c){if(i){if(e.queryHash!==vf(c,e.options))return!1}else if(!io(e.queryKey,c))return!1}if(n!=="all"){const f=e.isActive();if(n==="active"&&!f||n==="inactive"&&f)return!1}return!(typeof d=="boolean"&&e.isStale()!==d||o&&o!==e.state.fetchStatus||l&&!l(e))}function Ng(t,e){const{exact:n,status:i,predicate:o,mutationKey:l}=t;if(l){if(!e.options.mutationKey)return!1;if(n){if(Zr(e.options.mutationKey)!==Zr(l))return!1}else if(!io(e.options.mutationKey,l))return!1}return!(i&&e.state.status!==i||o&&!o(e))}function vf(t,e){return(e?.queryKeyHashFn||Zr)(t)}function Zr(t){return JSON.stringify(t,(e,n)=>Nd(n)?Object.keys(n).sort().reduce((i,o)=>(i[o]=n[o],i),{}):n)}function io(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?!Object.keys(e).some(n=>!io(t[n],e[n])):!1}function qv(t,e){if(t===e)return t;const n=Rg(t)&&Rg(e);if(n||Nd(t)&&Nd(e)){const i=n?t:Object.keys(t),o=i.length,l=n?e:Object.keys(e),c=l.length,d=n?[]:{};let f=0;for(let p=0;p<c;p++){const m=n?p:l[p];(!n&&i.includes(m)||n)&&t[m]===void 0&&e[m]===void 0?(d[m]=void 0,f++):(d[m]=qv(t[m],e[m]),d[m]===t[m]&&t[m]!==void 0&&f++)}return o===c&&f===o?t:d}return e}function ub(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(t[n]!==e[n])return!1;return!0}function Rg(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function Nd(t){if(!Og(t))return!1;const e=t.constructor;if(e===void 0)return!0;const n=e.prototype;return!(!Og(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function Og(t){return Object.prototype.toString.call(t)==="[object Object]"}function cb(t){return new Promise(e=>{setTimeout(e,t)})}function db(t,e,n){return typeof n.structuralSharing=="function"?n.structuralSharing(t,e):n.structuralSharing!==!1?qv(t,e):e}function fb(t,e,n=0){const i=[...t,e];return n&&i.length>n?i.slice(1):i}function hb(t,e,n=0){const i=[e,...t];return n&&i.length>n?i.slice(0,-1):i}var xf=Symbol();function Kv(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:!t.queryFn||t.queryFn===xf?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}var pb=class extends Ao{#e;#t;#n;constructor(){super(),this.#n=t=>{if(!jl&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#n=t,this.#t?.(),this.#t=t(e=>{typeof e=="boolean"?this.setFocused(e):this.onFocus()})}setFocused(t){this.#e!==t&&(this.#e=t,this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 17,639 bytes, line 8
8this.listeners.forEach(e=>{e(t)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},Qv=new pb,mb=class extends Ao{#e=!0;#t;#n;constructor(){super(),this.#n=t=>{if(!jl&&window.addEventListener){const e=()=>t(!0),n=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#n=t,this.#t?.(),this.#t=t(this.setOnline.bind(this))}setOnline(t){this.#e!==t&&(this.#e=t,this.listeners.forEach(n=>{n(t)}))}isOnline(){return this.#e}},ul=new mb;function gb(){let t,e;const n=new Promise((o,l)=>{t=o,e=l});n.status="pending",n.catch(()=>{});function i(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{i({status:"fulfilled",value:o}),t(o)},n.reject=o=>{i({status:"rejected",reason:o}),e(o)},n}function yb(t){return Math.min(1e3*2**t,3e4)}function Zv(t){return(t??"online")==="online"?ul.isOnline():!0}var Gv=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function Jc(t){return t instanceof Gv}function Xv(t){let e=!1,n=0,i=!1,o;const l=gb(),c=b=>{i||(x(new Gv(b)),t.abort?.())},d=()=>{e=!0},f=()=>{e=!1},p=()=>Qv.isFocused()&&(t.networkMode==="always"||ul.isOnline())&&t.canRun(),m=()=>Zv(t.networkMode)&&t.canRun(),y=b=>{i||(i=!0,t.onSuccess?.(b),o?.(),l.resolve(b))},x=b=>{i||(i=!0,t.onError?.(b),o?.(),l.reject(b))},S=()=>new Promise(b=>{o=P=>{(i||p())&&b(P)},t.onPause?.()}).then(()=>{o=void 0,i||t.onContinue?.()}),E=()=>{if(i)return;let b;const P=n===0?t.initialPromise:void 0;try{b=P??t.fn()}catch(A){b=Promise.reject(A)}Promise.resolve(b).then(y).catch(A=>{if(i)return;const R=t.retry??(jl?0:3),j=t.retryDelay??yb,L=typeof j=="function"?j(n,A):j,I=R===!0||typeof R=="number"&&n<R||typeof R=="function"&&R(n,A);if(e||!I){x(A);return}n++,t.onFail?.(n,A),cb(L).then(()=>p()?void 0:S()).then(()=>{e?x(A):E()})})};return{promise:l,cancel:c,continue:()=>(o?.(),l),cancelRetry:d,continueRetry:f,canStart:m,start:()=>(m()?E():S().then(E),l)}}function vb(){let t=[],e=0,n=d=>{d()},i=d=>{d()},o=d=>setTimeout(d,0);const l=d=>{e?t.push(d):o(()=>{n(d)})},c=()=>{const d=t;t=[],d.length&&o(()=>{i(()=>{d.forEach(f=>{n(f)})})})};return{batch:d=>{let f;e++;try{f=d()}finally{e--,e||c()}return f},batchCalls:d=>(...f)=>{l(()=>{d(...f)})},schedule:l,setNotifyFunction:d=>{n=d},setBatchNotifyFunction:d=>{i=d},setScheduler:d=>{o=d}}}var gt=vb(),Yv=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ob(this.gcTime)&&(this.#e=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(jl?1/0:300*1e3))}clearGcTimeout(){this.#e&&(clearTimeout(this.#e),this.#e=void 0)}},xb=class extends Yv{#e;#t;#n;#r;#o;#s;constructor(t){super(),this.#s=!1,this.#o=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#n=t.cache,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#e=Sb(this.options),this.state=t.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(t){this.options={...this.#o,...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(t,e){const n=db(this.state.data,t,this.options);return this.#i({data:n,type:"success",dataUpdatedAt:e?.updatedAt,manual:e?.manual}),n}setState(t,e){this.#i({type:"setState",state:t,setStateOptions:e})}cancel(t){const e=this.#r?.promise;return this.#r?.cancel(t),e?e.then(cn).catch(cn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(t=>lb(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===xf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!ab(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(this.#r&&(this.#s?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#i({type:"invalidate"})}fetch(t,e){if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&e?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(f=>f.options.queryFn);d&&this.setOptions(d.options)}const n=new AbortController,i=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},o=()=>{const d=Kv(this.options,e),f={queryKey:this.queryKey,meta:this.meta};return i(f),this.#s=!1,this.options.persister?this.options.persister(d,f,this):d(f)},l={fetchOptions:e,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:o};i(l),this.options.behavior?.onFetch(l,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#i({type:"fetch",meta:l.fetchOptions?.meta});const c=d=>{Jc(d)&&d.silent||this.#i({type:"error",error:d}),Jc(d)||(this.#n.config.onError?.(d,this),this.#n.config.onSettled?.(this.state.data,d,this)),this.scheduleGc()};return this.#r=Xv({initialPromise:e?.initialPromise,fn:l.fetchFn,abort:n.abort.bind(n),onSuccess:d=>{if(d===void 0){c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(d)}catch(f){c(f);return}this.#n.config.onSuccess?.(d,this),this.#n.config.onSettled?.(d,this.state.error,this),this.scheduleGc()},onError:c,onFail:(d,f)=>{this.#i({type:"failed",failureCount:d,error:f})},onPause:()=>{this.#i({type:"pause"})},onContinue:()=>{this.#i({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0}),this.#r.start()}#i(t){const e=n=>{switch(t.type){case"failed":return{...n,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...wb(n.data,this.options),fetchMeta:t.meta??null};case"success":return{...n,data:t.data,dataUpdateCount:n.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 Jc(i)&&i.revert&&this.#t?{...this.#t,fetchStatus:"idle"}:{...n,error:i,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...t.state}}};this.state=e(this.state),gt.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:t})})}};function wb(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Zv(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function Sb(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,n=e!==void 0,i=n?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:n?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Tb=class extends Ao{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,e,n){const i=e.queryKey,o=e.queryHash??vf(i,e);let l=this.get(o);return l||(l=new xb({cache:this,queryKey:i,queryHash:o,options:t.defaultQueryOptions(e),state:n,defaultOptions:t.getQueryDefaults(i)}),this.add(l)),l}add(t){this.#e.has(t.queryHash)||(this.#e.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const e=this.#e.get(t.queryHash);e&&(t.destroy(),e===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){gt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const e={exact:!0,...t};return this.getAll().find(n=>Ag(e,n))}findAll(t={}){const e=this.getAll();return Object.keys(t).length>0?e.filter(n=>Ag(t,n)):e}notify(t){gt.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){gt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){gt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},bb=class extends Yv{#e;#t;#n;constructor(t){super(),this.mutationId=t.mutationId,this.#t=t.mutationCache,this.#e=[],this.state=t.state||Jv(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#e.includes(t)||(this.#e.push(t),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#e=this.#e.filter(e=>e!==t),this.scheduleGc(),this.#t.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#t.remove(this))}continue(){return this.#n?.continue()??this.execute(this.state.variables)}async execute(t){this.#n=Xv({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(i,o)=>{this.#r({type:"failed",failureCount:i,error:o})},onPause:()=>{this.#r({type:"pause"})},onContinue:()=>{this.#r({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#t.canRun(this)});const e=this.state.status==="pending",n=!this.#n.canStart();try{if(!e){this.#r({type:"pending",variables:t,isPaused:n}),await this.#t.config.onMutate?.(t,this);const o=await this.options.onMutate?.(t);o!==this.state.context&&this.#r({type:"pending",context:o,variables:t,isPaused:n})}const i=await this.#n.start();return await this.#t.config.onSuccess?.(i,t,this.state.context,this),await this.options.onSuccess?.(i,t,this.state.context),await this.#t.config.onSettled?.(i,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(i,null,t,this.state.context),this.#r({type:"success",data:i}),i}catch(i){try{throw await this.#t.config.onError?.(i,t,this.state.context,this),await this.options.onError?.(i,t,this.state.context),await this.#t.config.onSettled?.(void 0,i,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,i,t,this.state.context),i}finally{this.#r({type:"error",error:i})}}finally{this.#t.runNext(this)}}#r(t){const e=n=>{switch(t.type){case"failed":return{...n,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,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{...n,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),gt.batch(()=>{this.#e.forEach(n=>{n.onMutationUpdate(t)}),this.#t.notify({mutation:this,type:"updated",action:t})})}};function Jv(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Pb=class extends Ao{constructor(t={}){super(),this.config=t,this.#e=new Map,this.#t=Date.now()}#e;#t;build(t,e,n){const i=new bb({mutationCache:this,mutationId:++this.#t,options:t.defaultMutationOptions(e),state:n});return this.add(i),i}add(t){const e=Ka(t),n=this.#e.get(e)??[];n.push(t),this.#e.set(e,n),this.notify({type:"added",mutation:t})}remove(t){const e=Ka(t);if(this.#e.has(e)){const n=this.#e.get(e)?.filter(i=>i!==t);n&&(n.length===0?this.#e.delete(e):this.#e.set(e,n))}this.notify({type:"removed",mutation:t})}canRun(t){const e=this.#e.get(Ka(t))?.find(n=>n.state.status==="pending");return!e||e===t}runNext(t){return this.#e.get(Ka(t))?.find(n=>n!==t&&n.state.isPaused)?.continue()??Promise.resolve()}clear(){gt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...this.#e.values()].flat()}find(t){const e={exact:!0,...t};return this.getAll().find(n=>Ng(e,n))}findAll(t={}){return this.getAll().filter(e=>Ng(t,e))}notify(t){gt.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){const t=this.getAll().filter(e=>e.state.isPaused);return gt.batch(()=>Promise.all(t.map(e=>e.continue().catch(cn))))}};function Ka(t){return t.options.scope?.id??String(t.mutationId)}function Mg(t){return{onFetch:(e,n)=>{const i=e.options,o=e.fetchOptions?.meta?.fetchMore?.direction,l=e.state.data?.pages||[],c=e.state.data?.pageParams||[];let d={pages:[],pageParams:[]},f=0;const p=async()=>{let m=!1;const y=E=>{Object.defineProperty(E,"signal",{enumerable:!0,get:()=>(e.signal.aborted?m=!0:e.signal.addEventListener("abort",()=>{m=!0}),e.signal)})},x=Kv(e.options,e.fetchOptions),S=async(E,b,P)=>{if(m)return Promise.reject();if(b==null&&E.pages.length)return Promise.resolve(E);const A={queryKey:e.queryKey,pageParam:b,direction:P?"backward":"forward",meta:e.options.meta};y(A);const R=await x(A),{maxPages:j}=e.options,L=P?hb:fb;return{pages:L(E.pages,R,j),pageParams:L(E.pageParams,b,j)}};if(o&&l.length){const E=o==="backward",b=E?Cb:jg,P={pages:l,pageParams:c},A=b(i,P);d=await S(P,A,E)}else{const E=t??l.length;do{const b=f===0?c[0]??i.initialPageParam:jg(i,d);if(f>0&&b==null)break;d=await S(d,b),f++}while(f<E)}return d};e.options.persister?e.fetchFn=()=>e.options.persister?.(p,{queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},n):e.fetchFn=p}}}function jg(t,{pages:e,pageParams:n}){const i=e.length-1;return e.length>0?t.getNextPageParam(e[i],e,n[i],n):void 0}function Cb(t,{pages:e,pageParams:n}){return e.length>0?t.getPreviousPageParam?.(e[0],e,n[0],n):void 0}var Eb=class{#e;#t;#n;#r;#o;#s;#i;#a;constructor(t={}){this.#e=t.queryCache||new Tb,this.#t=t.mutationCache||new Pb,this.#n=t.defaultOptions||{},this.#r=new Map,this.#o=new Map,this.#s=0}mount(){this.#s++,this.#s===1&&(this.#i=Qv.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#a=ul.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#s--,this.#s===0&&(this.#i?.(),this.#i=void 0,this.#a?.(),this.#a=void 0)}isFetching(t){return this.#e.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#t.findAll({...t,status:"pending"}).length}getQueryData(t){const e=this.defaultQueryOptions({queryKey:t});return this.#e.get(e.queryHash)?.state.data}ensureQueryData(t){const e=this.getQueryData(t.queryKey);if(e===void 0)return this.fetchQuery(t);{const n=this.defaultQueryOptions(t),i=this.#e.build(this,n);return t.revalidateIfStale&&i.isStaleByTime(kg(n.staleTime,i))&&this.prefetchQuery(n),Promise.resolve(e)}}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:e,state:n})=>{const i=n.data;return[e,i]})}setQueryData(t,e,n){const i=this.defaultQueryOptions({queryKey:t}),l=this.#e.get(i.queryHash)?.state.data,c=ib(e,l);if(c!==void 0)return this.#e.build(this,i).setData(c,{...n,manual:!0})}setQueriesData(t,e,n){return gt.batch(()=>this.#e.findAll(t).map(({queryKey:i})=>[i,this.setQueryData(i,e,n)]))}getQueryState(t){const e=this.defaultQueryOptions({queryKey:t});return this.#e.get(e.queryHash)?.state}removeQueries(t){const e=this.#e;gt.batch(()=>{e.findAll(t).forEach(n=>{e.remove(n)})})}resetQueries(t,e){const n=this.#e,i={type:"active",...t};return gt.batch(()=>(n.findAll(t).forEach(o=>{o.reset()}),this.refetchQueries(i,e)))}cancelQueries(t={},e={}){const n={revert:!0,...e},i=gt.batch(()=>this.#e.findAll(t).map(o=>o.cancel(n)));return Promise.all(i).then(cn).catch(cn)}invalidateQueries(t={},e={}){return gt.batch(()=>{if(this.#e.findAll(t).forEach(i=>{i.invalidate()}),t.refetchType==="none")return Promise.resolve();const n={...t,type:t.refetchType??t.type??"active"};return this.refetchQueries(n,e)})}refetchQueries(t={},e){const n={...e,cancelRefetch:e?.cancelRefetch??!0},i=gt.batch(()=>this.#e.findAll(t).filter(o=>!o.isDisabled()).map(o=>{let l=o.fetch(void 0,n);return n.throwOnError||(l=l.catch(cn)),o.state.fetchStatus==="paused"?Promise.resolve():l}));return Promise.all(i).then(cn)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const n=this.#e.build(this,e);return n.isStaleByTime(kg(e.staleTime,n))?n.fetch(e):Promise.resolve(n.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(cn).catch(cn)}
8fetchInfiniteQuery(t){return t.behavior=Mg(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(cn).catch(cn)}ensureInfiniteQueryData(t){return t.behavior=Mg(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return ul.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(t){this.#n=t}setQueryDefaults(t,e){this.#r.set(Zr(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...this.#r.values()];let n={};return e.forEach(i=>{io(t,i.queryKey)&&(n={...n,...i.defaultOptions})}),n}setMutationDefaults(t,e){this.#o.set(Zr(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...this.#o.values()];let n={};return e.forEach(i=>{io(t,i.mutationKey)&&(n={...n,...i.defaultOptions})}),n}defaultQueryOptions(t){if(t._defaulted)return t;const e={...this.#n.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=vf(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.enabled!==!0&&e.queryFn===xf&&(e.enabled=!1),e}defaultMutationOptions(t){return t?._defaulted?t:{...this.#n.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},_b=class extends Ao{#e;#t=void 0;#n;#r;constructor(e,n){super(),this.#e=e,this.setOptions(n),this.bindMethods(),this.#o()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){const n=this.options;this.options=this.#e.defaultMutationOptions(e),ub(this.options,n)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),n?.mutationKey&&this.options.mutationKey&&Zr(n.mutationKey)!==Zr(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(e){this.#o(),this.#s(e)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#o(),this.#s()}mutate(e,n){return this.#r=n,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(e)}#o(){const e=this.#n?.state??Jv();this.#t={...e,isPending:e.status==="pending",isSuccess:e.status==="success",isError:e.status==="error",isIdle:e.status==="idle",mutate:this.mutate,reset:this.reset}}#s(e){gt.batch(()=>{if(this.#r&&this.hasListeners()){const n=this.#t.variables,i=this.#t.context;e?.type==="success"?(this.#r.onSuccess?.(e.data,n,i),this.#r.onSettled?.(e.data,null,n,i)):e?.type==="error"&&(this.#r.onError?.(e.error,n,i),this.#r.onSettled?.(void 0,e.error,n,i))}this.listeners.forEach(n=>{n(this.#t)})})}},e0=T.createContext(void 0),kb=t=>{const e=T.useContext(e0);if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},Ab=({client:t,children:e})=>(T.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),w.jsx(e0.Provider,{value:t,children:e}));function Nb(t,e){return typeof t=="function"?t(...e):!!t}function Rb(){}function Ob(t,e){const n=kb(),[i]=T.useState(()=>new _b(n,t));T.useEffect(()=>{i.setOptions(t)},[i,t]);const o=T.useSyncExternalStore(T.useCallback(c=>i.subscribe(gt.batchCalls(c)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),l=T.useCallback((c,d)=>{i.mutate(c,d).catch(Rb)},[i]);if(o.error&&Nb(i.options.throwOnError,[o.error]))throw o.error;return{...o,mutate:l,mutateAsync:o.mutate}}async function Mb(t){if(!t.ok){const e=await t.text()||t.statusText;throw new Error(`${t.status}: ${e}`)}}const jb=({on401:t})=>async({queryKey:e})=>{const n=await fetch(e.join("/"),{credentials:"include"});return await Mb(n),await n.json()},Db=new Eb({defaultOptions:{queries:{queryFn:jb({on401:"throw"}),refetchInterval:!1,refetchOnWindowFocus:!1,staleTime:1/0,retry:!1},mutations:{retry:!1}}}),Ib=1,Lb=1e6;let ed=0;function Vb(){return ed=(ed+1)%Number.MAX_SAFE_INTEGER,ed.toString()}const td=new Map,Dg=t=>{if(td.has(t))return;const e=setTimeout(()=>{td.delete(t),eo({type:"REMOVE_TOAST",toastId:t})},Lb);td.set(t,e)},Fb=(t,e)=>{switch(e.type){case"ADD_TOAST":return{...t,toasts:[e.toast,...t.toasts].slice(0,Ib)};case"UPDATE_TOAST":return{...t,toasts:t.toasts.map(n=>n.id===e.toast.id?{...n,...e.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=e;
8return n?Dg(n):t.toasts.forEach(i=>{Dg(i.id)}),{...t,toasts:t.toasts.map(i=>i.id===n||n===void 0?{...i,open:!1}:i)}}case"REMOVE_TOAST":return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(n=>n.id!==e.toastId)}}},nl=[];let rl={toasts:[]};function eo(t){rl=Fb(rl,t),nl.forEach(e=>{e(rl)})}function zb({...t}){const e=Vb(),n=o=>eo({type:"UPDATE_TOAST",toast:{...o,id:e}}),i=()=>eo({type:"DISMISS_TOAST",toastId:e});return eo({type:"ADD_TOAST",toast:{...t,id:e,open:!0,onOpenChange:o=>{o||i()}}}),{id:e,dismiss:i,update:n}}function t0(){const[t,e]=T.useState(rl);return T.useEffect(()=>(nl.push(e),()=>{const n=nl.indexOf(e);n>-1&&nl.splice(n,1)}),[t]),{...t,toast:zb,dismiss:n=>eo({type:"DISMISS_TOAST",toastId:n})}}var Dl=Iv();const Bb=ko(Dl);function at(t,e,{checkForDefaultPrevented:n=!0}={}){return function(o){if(t?.(o),n===!1||!o.defaultPrevented)return e?.(o)}}function Ig(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function n0(...t){return e=>{let n=!1;const i=t.map(o=>{const l=Ig(o,e);return!n&&typeof l=="function"&&(n=!0),l});if(n)return()=>{for(let o=0;o<i.length;o++){const l=i[o];typeof l=="function"?l():Ig(t[o],null)}}}}function mn(...t){return T.useCallback(n0(...t),t)}function Il(t,e=[]){let n=[];function i(l,c){const d=T.createContext(c),f=n.length;n=[...n,c];const p=y=>{const{scope:x,children:S,...E}=y,b=x?.[t]?.[f]||d,P=T.useMemo(()=>E,Object.values(E));return w.jsx(b.Provider,{value:P,children:S})};p.displayName=l+"Provider";function m(y,x){const S=x?.[t]?.[f]||d,E=T.useContext(S);if(E)return E;if(c!==void 0)return c;throw new Error(`\`${y}\` must be used within \`${l}\``)}return[p,m]}const o=()=>{const l=n.map(c=>T.createContext(c));return function(d){const f=d?.[t]||l;return T.useMemo(()=>({[`__scope${t}`]:{...d,[t]:f}}),[d,f])}};return o.scopeName=t,[i,Ub(o,...e)]}function Ub(...t){const e=t[0];if(t.length===1)return e;const n=()=>{const i=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(l){const c=i.reduce((d,{useScope:f,scopeName:p})=>{const y=f(l)[`__scope${p}`];return{...d,...y}},{});return T.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return n.scopeName=e.scopeName,n}function Rd(t){const e=$b(t),n=T.forwardRef((i,o)=>{const{children:l,...c}=i,d=T.Children.toArray(l),f=d.find(Hb);if(f){const p=f.props.children,m=d.map(y=>y===f?T.Children.count(p)>1?T.Children.only(null):T.isValidElement(p)?p.props.children:null:y);return w.jsx(e,{...c,ref:o,children:T.isValidElement(p)?T.cloneElement(p,void 0,m):null})}return w.jsx(e,{...c,ref:o,children:l})});return n.displayName=`${t}.Slot`,n}function $b(t){const e=T.forwardRef((n,i)=>{const{children:o,...l}=n;if(T.isValidElement(o)){const c=Kb(o),d=qb(l,o.props);return o.type!==T.Fragment&&(d.ref=i?n0(i,c):c),T.cloneElement(o,d)}return T.Children.count(o)>1?T.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var r0=Symbol("radix.slottable");function Wb(t){const e=({children:n})=>w.jsx(w.Fragment,{children:n});return e.displayName=`${t}.Slottable`,e.__radixId=r0,e}function Hb(t){return T.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===r0}function qb(t,e){const n={...e};for(const i in e){const o=t[i],l=e[i];/^on[A-Z]/.test(i)?o&&l?n[i]=(...d)=>{l(...d),o(...d)}:o&&(n[i]=o):i==="style"?n[i]={...o,...l}:i==="className"&&(n[i]=[o,l].filter(Boolean).join(" "))}return{...t,...n}}function Kb(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}function Qb(t){const e=t+"CollectionProvider",[n,i]=Il(e),[o,l]=n(e,{collectionRef:{current:null},itemMap:new Map}),c=b=>{const{scope:P,children:A}=b,R=Qe.useRef(null),j=Qe.useRef(new Map).current;return w.jsx(o,{scope:P,itemMap:j,collectionRef:R,children:A})};c.displayName=e;const d=t+"CollectionSlot",f=Rd(d),p=Qe.forwardRef((b,P)=>{const{scope:A,children:R}=b,j=l(d,A),L=mn(P,j.collectionRef);return w.jsx(f,{ref:L,children:R})});p.displayName=d;const m=t+"CollectionItemSlot",y="data-radix-collection-item",x=Rd(m),S=Qe.forwardRef((b,P)=>{const{scope:A,children:R,...j}=b,L=Qe.useRef(null),I=mn(P,L),$=l(m,A);return Qe.useEffect(()=>($.itemMap.set(L,{ref:L,...j}),()=>{$.itemMap.delete(L)})),w.jsx(x,{[y]:"",ref:I,children:R})});S.displayName=m;function E(b){const P=l(t+"CollectionConsumer",b);return Qe.useCallback(()=>{const R=P.collectionRef.current;if(!R)return[];const j=Array.from(R.querySelectorAll(`[${y}]`));return Array.from(P.itemMap.values()).sort(($,q)=>j.indexOf($.ref.current)-j.indexOf(q.ref.current))},[P.collectionRef,P.itemMap])}return[{Provider:c,Slot:p,ItemSlot:S}
vendor: 6,170 bytes, line 8
8,E,i]}var Zb=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],jt=Zb.reduce((t,e)=>{const n=Rd(`Primitive.${e}`),i=T.forwardRef((o,l)=>{const{asChild:c,...d}=o,f=c?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),w.jsx(f,{...d,ref:l})});return i.displayName=`Primitive.${e}`,{...t,[e]:i}},{});function s0(t,e){t&&Dl.flushSync(()=>t.dispatchEvent(e))}function An(t){const e=T.useRef(t);return T.useEffect(()=>{e.current=t}),T.useMemo(()=>(...n)=>e.current?.(...n),[])}function Gb(t,e=globalThis?.document){const n=An(t);T.useEffect(()=>{const i=o=>{o.key==="Escape"&&n(o)};return e.addEventListener("keydown",i,{capture:!0}),()=>e.removeEventListener("keydown",i,{capture:!0})},[n,e])}var Xb="DismissableLayer",Od="dismissableLayer.update",Yb="dismissableLayer.pointerDownOutside",Jb="dismissableLayer.focusOutside",Lg,i0=T.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),wf=T.forwardRef((t,e)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:l,onInteractOutside:c,onDismiss:d,...f}=t,p=T.useContext(i0),[m,y]=T.useState(null),x=m?.ownerDocument??globalThis?.document,[,S]=T.useState({}),E=mn(e,q=>y(q)),b=Array.from(p.layers),[P]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),A=b.indexOf(P),R=m?b.indexOf(m):-1,j=p.layersWithOutsidePointerEventsDisabled.size>0,L=R>=A,I=tP(q=>{const Z=q.target,le=[...p.branches].some(ue=>ue.contains(Z));!L||le||(o?.(q),c?.(q),q.defaultPrevented||d?.())},x),$=nP(q=>{const Z=q.target;[...p.branches].some(ue=>ue.contains(Z))||(l?.(q),c?.(q),q.defaultPrevented||d?.())},x);return Gb(q=>{R===p.layers.size-1&&(i?.(q),!q.defaultPrevented&&d&&(q.preventDefault(),d()))},x),T.useEffect(()=>{if(m)return n&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(Lg=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(m)),p.layers.add(m),Vg(),()=>{n&&p.layersWithOutsidePointerEventsDisabled.size===1&&(x.body.style.pointerEvents=Lg)}},[m,x,n,p]),T.useEffect(()=>()=>{m&&(p.layers.delete(m),p.layersWithOutsidePointerEventsDisabled.delete(m),Vg())},[m,p]),T.useEffect(()=>{const q=()=>S({});return document.addEventListener(Od,q),()=>document.removeEventListener(Od,q)},[]),w.jsx(jt.div,{...f,ref:E,style:{pointerEvents:j?L?"auto":"none":void 0,...t.style},onFocusCapture:at(t.onFocusCapture,$.onFocusCapture),onBlurCapture:at(t.onBlurCapture,$.onBlurCapture),onPointerDownCapture:at(t.onPointerDownCapture,I.onPointerDownCapture)})});wf.displayName=Xb;var eP="DismissableLayerBranch",o0=T.forwardRef((t,e)=>{const n=T.useContext(i0),i=T.useRef(null),o=mn(e,i);return T.useEffect(()=>{const l=i.current;if(l)return n.branches.add(l),()=>{n.branches.delete(l)}},[n.branches]),w.jsx(jt.div,{...t,ref:o})});o0.displayName=eP;function tP(t,e=globalThis?.document){const n=An(t),i=T.useRef(!1),o=T.useRef(()=>{});return T.useEffect(()=>{const l=d=>{if(d.target&&!i.current){let f=function(){a0(Yb,n,p,{discrete:!0})};const p={originalEvent:d};d.pointerType==="touch"?(e.removeEventListener("click",o.current),o.current=f,e.addEventListener("click",o.current,{once:!0})):f()}else e.removeEventListener("click",o.current);i.current=!1},c=window.setTimeout(()=>{e.addEventListener("pointerdown",l)},0);return()=>{window.clearTimeout(c),e.removeEventListener("pointerdown",l),e.removeEventListener("click",o.current)}},[e,n]),{onPointerDownCapture:()=>i.current=!0}}function nP(t,e=globalThis?.document){const n=An(t),i=T.useRef(!1);return T.useEffect(()=>{const o=l=>{l.target&&!i.current&&a0(Jb,n,{originalEvent:l},{discrete:!1})};return e.addEventListener("focusin",o),()=>e.removeEventListener("focusin",o)},[e,n]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function Vg(){const t=new CustomEvent(Od);document.dispatchEvent(t)}function a0(t,e,n,{discrete:i}){const o=n.originalEvent.target,l=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:n});e&&o.addEventListener(t,e,{once:!0}),i?s0(o,l):o.dispatchEvent(l)}var rP=wf,sP=o0,Gr=globalThis?.document?T.useLayoutEffect:()=>{},iP="Portal",l0=T.forwardRef((t,e)=>{const{container:n,...i}=t,[o,l]=T.useState(!1);Gr(()=>l(!0),[]);const c=n||o&&globalThis?.document?.body;return c?Bb.createPortal(w.jsx(jt.div,{...i,ref:e}),c):null});l0.displayName=iP;function oP(t,e){return T.useReducer((n,i)=>e[n][i]??n,t)}var Sf=t=>{const{present:e,children:n}=t,i=aP(e),o=typeof n=="function"?n({present:i.isPresent}):T.Children.only(n),l=mn(i.ref,lP(o));return typeof n=="function"||i.isPresent?T.cloneElement(o,{ref:l}):null};Sf.displayName="Presence";function aP(t){const[e,n]=T.useState(),i=T.useRef({}),o=T.useRef(t),l=T.useRef("none"),c=t?"mounted":"unmounted",[d,f]=oP(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return T.useEffect(()=>{const p=Qa(i.current);l.current=d==="mounted"?p:"none"},[d]),Gr(()=>{const p=i.current,m=o.current;if(m!==t){const x=l.current,S=Qa(p);t?f("MOUNT"):S==="none"||p?.display==="none"?f("UNMOUNT"):f(m&&x!==S?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,f]),Gr(()=>{if(e){let p;const m=e.ownerDocument.defaultView??window,y=S=>{const b=Qa(i.current).includes(S.animationName);if(S.target===e&&b&&(f("ANIMATION_END"),!o.current)){const P=e.style.animationFillMode;e.style.animationFillMode="forwards",p=m.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=P)})}},x=S=>{S.target===e&&(l.current=Qa(i.current))};return e.addEventListener("animationstart",x),e.addEventListener("animationcancel",y),e.addEventListener("animationend",y),()=>{m.clearTimeout(p),e.removeEventListener("animationstart",x),e.removeEventListener("animationcancel",y),e.removeEventListener("animationend",y)}}else f("ANIMATION_END")},[e,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:T.useCallback(p=>{p&&(i.current=getComputedStyle(p)),n(p)},[])}}function Qa(t){return t?.animationName||"none"}function lP(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.
8isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}function uP({prop:t,defaultProp:e,onChange:n=()=>{}}){const[i,o]=cP({defaultProp:e,onChange:n}),l=t!==void 0,c=l?t:i,d=An(n),f=T.useCallback(p=>{if(l){const y=typeof p=="function"?p(t):p;y!==t&&d(y)}else o(p)},[l,t,o,d]);return[c,f]}function cP({defaultProp:t,onChange:e}){const n=T.useState(t),[i]=n,o=T.useRef(i),l=An(e);return T.useEffect(()=>{o.current!==i&&(l(i),o.current=i)},[i,o,l]),n}var dP="VisuallyHidden",Ll=T.forwardRef((t,e)=>w.jsx(jt.span,{...t,ref:e,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...t.style}}));Ll.displayName=dP;var fP=Ll,Tf="ToastProvider",[bf,hP,pP]=Qb("Toast"),[u0]=Il("Toast",[pP]),[mP,Vl]=u0(Tf),c0=t=>{const{__scopeToast:e,label:n="Notification",duration:i=5e3,swipeDirection:o="right",swipeThreshold:l=50,children:c}=t,[d,f]=T.useState(null),[p,m]=T.useState(0),y=T.useRef(!1),x=T.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Tf}\`. Expected non-empty \`string\`.`),w.jsx(bf.Provider,{scope:e,children:w.jsx(mP,{scope:e,label:n,duration:i,swipeDirection:o,swipeThreshold:l,toastCount:p,viewport:d,onViewportChange:f,onToastAdd:T.useCallback(()=>m(S=>S+1),[]),onToastRemove:T.useCallback(()=>m(S=>S-1),[]),isFocusedToastEscapeKeyDownRef:y,isClosePausedRef:x,children:c})})};c0.displayName=Tf;var d0="ToastViewport",gP=["F8"],Md="toast.viewportPause",jd="toast.viewportResume",f0=T.forwardRef((t,e)=>{const{__scopeToast:n,hotkey:i=gP,label:o="Notifications ({hotkey})",...l}=t,c=Vl(d0,n),d=hP(n),f=T.useRef(null),p=T.useRef(null),m=T.useRef(null),y=T.useRef(null),x=mn(e,y,c.onViewportChange),S=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),E=c.toastCount>0;T.useEffect(()=>{const P=A=>{i.length!==0&&i.every(j=>A[j]||A.code===j)&&y.current?.focus()};return document.addEventListener("keydown",P),()=>document.removeEventListener("keydown",P)},[i]),T.useEffect(()=>{const P=f.current,A=y.current;if(E&&P&&A){const R=()=>{if(!c.isClosePausedRef.current){const $=new CustomEvent(Md);A.dispatchEvent($),c.isClosePausedRef.current=!0}},j=()=>
8{if(c.isClosePausedRef.current){const $=new CustomEvent(jd);A.dispatchEvent($),c.isClosePausedRef.current=!1}},L=$=>{!P.contains($.relatedTarget)&&j()},I=()=>{P.contains(document.activeElement)||j()};return P.addEventListener("focusin",R),P.addEventListener("focusout",L),P.addEventListener("pointermove",R),P.addEventListener("pointerleave",I),window.addEventListener("blur",R),window.addEventListener("focus",j),()=>{P.removeEventListener("focusin",R),P.removeEventListener("focusout",L),P.removeEventListener("pointermove",R),P.removeEventListener("pointerleave",I),window.removeEventListener("blur",R),window.removeEventListener("focus",j)}}},[E,c.isClosePausedRef]);const b=T.useCallback(({tabbingDirection:P})=>{const R=d().map(j=>{const L=j.ref.current,I=[L,...AP(L)];return P==="forwards"?I:I.reverse()});return(P==="forwards"?R.reverse():R).flat()},[d]);return T.useEffect(()=>{const P=y.current;if(P){const A=R=>{const j=R.altKey||R.ctrlKey||R.metaKey;if(R.key==="Tab"&&!j){const I=document.activeElement,$=R.shiftKey;if(R.target===P&&$){p.current?.focus();return}const le=b({tabbingDirection:$?"backwards":"forwards"}),ue=le.findIndex(ve=>ve===I);nd(le.slice(ue+1))?R.preventDefault():$?p.current?.focus():m.current?.focus()}};return P.addEventListener("keydown",A),()=>P.removeEventListener("keydown",A)}},[d,b]),w.jsxs(sP,{ref:f,role:"region","aria-label":o.replace("{hotkey}",S),tabIndex:-1,style:{pointerEvents:E?void 0:"none"},children:[E&&w.jsx(Dd,{ref:p,onFocusFromOutsideViewport:()=>{const P=b({tabbingDirection:"forwards"});nd(P)}}),w.jsx(bf.Slot,{scope:n,children:w.jsx(jt.ol,{tabIndex:-1,...l,ref:x})}),E&&w.jsx(Dd,{ref:m,onFocusFromOutsideViewport:()=>{const P=b({tabbingDirection:"backwards"});nd(P)}})]})});f0.displayName=d0;var h0="ToastFocusProxy",Dd=T.forwardRef((t,e)=>{const{__scopeToast:n,onFocusFromOutsideViewport:i,...o}=t,l=Vl(h0,n);return w.jsx(Ll,{"aria-hidden":!0,tabIndex:0,...o,ref:e,style:{position:"fixed"},onFocus:c=>{const d=c.relatedTarget;!l.viewport?.contains(d)&&i()}})});Dd.displayName=h0;var Fl="Toast",yP="toast.swipeStart",vP="toast.swipeMove",xP="toast.swipeCancel",wP="toast.swipeEnd",p0=T.forwardRef((t,e)=>{const{forceMount:n,open:i,defaultOpen:o,onOpenChange:l,...c}=t,[d=!0,f]=uP({prop:i,defaultProp:o,onChange:l});return w.jsx(Sf,{present:n||d,children:w.jsx(bP,{open:d,...c,ref:e,onClose:()=>f(!1),onPause:An(t.onPause),onResume:An(t.onResume),onSwipeStart:at(t.onSwipeStart,p=>{p.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:at(t.onSwipeMove,p=>{const{x:m,y}=p.detail.delta;p.currentTarget.setAttribute("data-swipe","move"),p.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${m}px`),p.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${y}px`)}),onSwipeCancel:at(t.onSwipeCancel,p=>{p.currentTarget.setAttribute("data-swipe","cancel"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),p.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),p.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:at(t.onSwipeEnd,p=>{const{x:m,y}=p.detail.delta;p.currentTarget.setAttribute("data-swipe","end"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),p.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${m}px`),p.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${y}px`),f(!1)})})})});p0.displayName=Fl;var[SP,TP]=u0(Fl,{onClose(){}}),bP=T.forwardRef((t,e)=>{const{__scopeToast:n,type:i="foreground",duration:o,open:l,onClose:c,onEscapeKeyDown:d,onPause:f,onResume:p,onSwipeStart:m,onSwipeMove:y,onSwipeCancel:x,onSwipeEnd:S,...E}=t,b=Vl(Fl,n),[P,A]=T.useState(null),R=mn(e,X=>A(X)),j=T.useRef(null),L=T.useRef(null),I=o||b.duration,$=T.useRef(0),q=T.useRef(I),Z=T.useRef(0),{onToastAdd:le,onToastRemove:ue}=b,ve=An(()=>{P?.contains(document.activeElement)&&b.viewport?.focus(),c()}),ae=T.useCallback(X=>{!X||X===1/0||(window.clearTimeout(Z.current),$.current=new Date().getTime(),Z.current=window.setTimeout(ve,X))},[ve]);T.useEffect(()=>{const X=b.viewport;if(X){const Ee=()=>{ae(q.current),p?.()},he=()=>{const te=new Date().getTime()-$.current;q.current=q.current-te,window.clearTimeout(Z.current),f?.()};
8return X.addEventListener(Md,he),X.addEventListener(jd,Ee),()=>{X.removeEventListener(Md,he),X.removeEventListener(jd,Ee)}}},[b.viewport,I,f,p,ae]),T.useEffect(()=>{l&&!b.isClosePausedRef.current&&ae(I)},[l,I,b.isClosePausedRef,ae]),T.useEffect(()=>(le(),()=>ue()),[le,ue]);const Se=T.useMemo(()=>P?S0(P):null,[P]);return b.viewport?w.jsxs(w.Fragment,{children:[Se&&w.jsx(PP,{__scopeToast:n,role:"status","aria-live":i==="foreground"?"assertive":"polite","aria-atomic":!0,children:Se}),w.jsx(SP,{scope:n,onClose:ve,children:Dl.createPortal(w.jsx(bf.ItemSlot,{scope:n,children:w.jsx(rP,{asChild:!0,onEscapeKeyDown:at(d,()=>{b.isFocusedToastEscapeKeyDownRef.current||ve(),b.isFocusedToastEscapeKeyDownRef.current=!1}),children:w.jsx(jt.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":l?"open":"closed","data-swipe-direction":b.swipeDirection,...E,ref:R,style:{userSelect:"none",touchAction:"none",...t.style},onKeyDown:at(t.onKeyDown,X=>{X.key==="Escape"&&(d?.(X.nativeEvent),X.nativeEvent.defaultPrevented||(b.is
8FocusedToastEscapeKeyDownRef.current=!0,ve()))}),onPointerDown:at(t.onPointerDown,X=>{X.button===0&&(j.current={x:X.clientX,y:X.clientY})}),onPointerMove:at(t.onPointerMove,X=>{if(!j.current)return;const Ee=X.clientX-j.current.x,he=X.clientY-j.current.y,te=!!L.current,V=["left","right"].includes(b.swipeDirection),G=["left","up"].includes(b.swipeDirection)?Math.min:Math.max,Q=V?G(0,Ee):0,N=V?0:G(0,he),F=X.pointerType==="touch"?10:2,ye={x:Q,y:N},xe={originalEvent:X,delta:ye};te?(L.current=ye,Za(vP,y,xe,{discrete:!1})):Fg(ye,b.swipeDirection,F)?(L.current=ye,Za(yP,m,xe,{discrete:!1}),X.target.setPointerCapture(X.pointerId)):(Math.abs(Ee)>F||Math.abs(he)>F)&&(j.current=null)}),onPointerUp:at(t.onPointerUp,X=>{const Ee=L.current,he=X.target;if(he.hasPointerCapture(X.pointerId)&&he.releasePointerCapture(X.pointerId),L.current=null,j.current=null,Ee){const te=X.currentTarget,V={originalEvent:X,delta:Ee};Fg(Ee,b.swipeDirection,b.swipeThreshold)?Za(wP,S,V,{discrete:!0}):Za(xP,x,V,{discrete:!0}),te.addEventListener("click",G=>G.preventDefault(),{once:!0})}})})})}),b.viewport)})]}):null}),PP=t=>{const{__scopeToast:e,children:n,...i}=t,o=Vl(Fl,e),[l,c]=T.useState(!1),[d,f]=T.useState(!1);return _P(()=>c(!0)),T.useEffect(()=>{const p=window.setTimeout(()=>f(!0),1e3);return()=>window.clearTimeout(p)},[]),d?null:w.jsx(l0,{asChild:!0,children:w.jsx(Ll,{...i,children:l&&w.jsxs(w.Fragment,{children:[o.label," ",n]})})})},CP="ToastTitle",m0=T.forwardRef((t,e)=>{const{__scopeToast:n,...i}=t;return w.jsx(jt.div,{...i,ref:e})});m0.displayName=CP;var EP="ToastDescription",g0=T.forwardRef((t,e)=>{const{__scopeToast:n,...i}=t;return w.jsx(jt.div,{...i,ref:e})});g0.displayName=EP;var y0="ToastAction",v0=T.forwardRef((t,e)=>{const{altText:n,...i}=t;return n.trim()?w.jsx(w0,{altText:n,asChild:!0,children:w.jsx(Pf,{...i,ref:e})}):(console.error(`Invalid prop \`altText\` supplied to \`${y0}\`. Expected non-empty \`string\`.`),null)});v0.displayName=y0;var x0="ToastClose",Pf=T.forwardRef((t,e)=>{const{__scopeToast:n,...i}=t,o=TP(x0,n);return w.jsx(w0,{asChild:!0,children:w.jsx(jt.button,{type:"button",...i,ref:e,onClick:at(t.onClick,o.onClose)})})});Pf.displayName=x0;var w0=T.forwardRef((t,e)=>{const{__scopeToast:n,altText:i,...o}=t;return w.jsx(jt.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":i||void 0,...o,ref:e})});function S0(t){const e=[];return Array.from(t.childNodes).forEach(i=>{if(i.nodeType===i.TEXT_NODE&&i.textContent&&e.push(i.textContent),kP(i)){const o=i.ariaHidden||i.hidden||i.style.display==="none",l=i.dataset.radixToastAnnounceExclude==="";if(!o)if(l){const c=i.dataset.radixToastAnnounceAlt;c&&e.push(c)}else e.push(...S0(i))}}),e}function Za(t,e,n,{discrete:i}){const o=n.originalEvent.currentTarget,l=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:n});e&&o.addEventListener(t,e,{once:!0}),i?s0(o,l):o.dispatchEvent(l)}var Fg=(t,e,n=0)=>{const i=Math.abs(t.x),o=Math.abs(t.y),l=i>o;return e==="left"||e==="right"?l&&i>n:!l&&o>n};function _P(t=()=>{}){const e=An(t);Gr(()=>{let n=0,i=0;return n=window.requestAnimationFrame(()=>i=window.requestAnimationFrame(e)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(i)}},[e])}function kP(t){return t.nodeType===t.ELEMENT_NODE}function AP(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>{const o=i.tagName==="INPUT"&&i.type==="hidden";return i.disabled||i.hidden||o?NodeFilter.FILTER_SKIP:i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e}function nd(t){const e=document.activeElement;return t.some(n=>n===e?!0:(n.focus(),document.activeElement!==e))}var NP=c0,T0=f0,b0=p0,P0=m0,C0=g0,E0=v0,_0=Pf;function k0(t){var e,n,i="";if(typeof t=="string"||typeof t=="number")i+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(e=0;e<o;e++)t[e]&&(n=k0(t[e]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}function A0(){for(var t,e,n=0,i="",o=arguments.length;n<o;n++)(t=arguments[n])&&(e=k0(t))&&(i&&(i+=" "),i+=e);return i}const zg=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,Bg=A0,RP=(t,e)=>n=>{var i;if(e?.variants==null)return Bg(t,n?.class,n?.className);const{variants:o,defaultVariants:l}=e,c=Object.keys(o).map(p=>{const m=n?.[p],y=l?.[p];if(m===null)return null;const x=zg(m)||zg(y);return o[p][x]}),d=n&&Object.entries(n).reduce((p,m)=>{let[y,x]=m;return x===void 0||(p[y]=x),p},{}),f=e==null||(i=e.compoundVariants)===null||i===void 0?void 0:i.reduce((p,m)=>{let{class:y,className:x,...S}=m;return Object.entries(S).every(E=>
vendor: 8,397 bytes, line 8
8{let[b,P]=E;return Array.isArray(P)?P.includes({...l,...d}[b]):{...l,...d}[b]===P})?[...p,y,x]:p},[]);return Bg(t,c,f,n?.class,n?.className)};const OP=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),N0=(...t)=>t.filter((e,n,i)=>!!e&&i.indexOf(e)===n).join(" ");var MP={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const jP=T.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:i,className:o="",children:l,iconNode:c,...d},f)=>T.createElement("svg",{ref:f,...MP,width:e,height:e,stroke:t,strokeWidth:i?Number(n)*24/Number(e):n,className:N0("lucide",o),...d},[...c.map(([p,m])=>T.createElement(p,m)),...Array.isArray(l)?l:[l]]));const xn=(t,e)=>{const n=T.forwardRef(({className:i,...o},l)=>T.createElement(jP,{ref:l,iconNode:e,className:N0(`lucide-${OP(t)}`,i),...o}));return n.displayName=`${t}`,n};const DP=xn("ArrowDown",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);const IP=xn("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);const LP=xn("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);const VP=xn("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);const Ug=xn("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);const FP=xn("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);const zP=xn("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"}]]);const BP=xn("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"}]]);const UP=xn("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);const $P=xn("ShoppingBag",[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]]);const R0=xn("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Cf="-",WP=t=>{const e=qP(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=t;return{getClassGroupId:c=>{const d=c.split(Cf);return d[0]===""&&d.length!==1&&d.shift(),O0(d,e)||HP(c)},getConflictingClassGroupIds:(c,d)=>{const f=n[c]||[];return d&&i[c]?[...f,...i[c]]:f}}},O0=(t,e)=>{if(t.length===0)return e.classGroupId;const n=t[0],i=e.nextPart.get(n),o=i?O0(t.slice(1),i):void 0;if(o)return o;if(e.validators.length===0)return;const l=t.join(Cf);return e.validators.find(({validator:c})=>c(l))?.classGroupId},$g=/^\[(.+)\]$/,HP=t=>{if($g.test(t)){const e=$g.exec(t)[1],n=e?.substring(0,e.indexOf(":"));if(n)return"arbitrary.."+n}},qP=t=>{const{theme:e,prefix:n}=t,i={nextPart:new Map,validators:[]};return QP(Object.entries(t.classGroups),n).forEach(([l,c])=>{Id(c,i,l,e)}),i},Id=(t,e,n,i)=>{t.forEach(o=>{if(typeof o=="string"){const l=o===""?e:Wg(e,o);l.classGroupId=n;return}if(typeof o=="function"){if(KP(o)){Id(o(i),e,n,i);return}e.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([l,c])=>{Id(c,Wg(e,l),n,i)})})},Wg=(t,e)=>{let n=t;return e.split(Cf).forEach(i=>{n.nextPart.has(i)||n.nextPart.set(i,{nextPart:new Map,validators:[]}),n=n.nextPart.get(i)}),n},KP=t=>t.isThemeGetter,QP=(t,e)=>e?t.map(([n,i])=>{const o=i.map(l=>typeof l=="string"?e+l:typeof l=="object"?Object.fromEntries(Object.entries(l).map(([c,d])=>[e+c,d])):l);return[n,o]}):t,ZP=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=new Map,i=new Map;const o=(l,c)=>{n.set(l,c),e++,e>t&&(e=0,i=n,n=new Map)};return{get(l){let c=n.get(l);if(c!==void 0)return c;if((c=i.get(l))!==void 0)return o(l,c),c},set(l,c){n.has(l)?n.set(l,c):o(l,c)}}},M0="!",GP=t=>{const{separator:e,experimentalParseClassName:n}=t,i=e.length===1,o=e[0],l=e.length,c=d=>{const f=[];let p=0,m=0,y;for(let P=0;P<d.length;P++){let A=d[P];if(p===0){if(A===o&&(i||d.slice(P,P+l)===e)){f.push(d.slice(m,P)),m=P+l;continue}if(A==="/"){y=P;continue}}A==="["?p++:A==="]"&&p--}const x=f.length===0?d:d.substring(m),S=x.startsWith(M0),E=S?x.substring(1):x,b=y&&y>m?y-m:void 0;return{modifiers:f,hasImportantModifier:S,baseClassName:E,maybePostfixModifierPosition:b}};return n?d=>n({className:d,parseClassName:c}):c},XP=t=>{if(t.length<=1)return t;const e=[];let n=[];return t.forEach(i=>{i[0]==="["?(e.push(...n.sort(),i),n=[]):n.push(i)}),e.push(...n.sort()),e},YP=t=>({cache:ZP(t.cacheSize),parseClassName:GP(t),...WP(t)}),JP=/\s+/,eC=(t,e)=>{const{parseClassName:n,getClassGroupId:i,getConflictingClassGroupIds:o}=e,l=[],c=t.trim().split(JP);let d="";for(let f=c.length-1;f>=0;f-=1){const p=c[f],{modifiers:m,hasImportantModifier:y,baseClassName:x,maybePostfixModifierPosition:S}=n(p);let E=!!S,b=i(E?x.substring(0,S):x);if(!b){if(!E){d=p+(d.length>0?" "+d:d);continue}if(b=i(x),!b){d=p+(d.length>0?" "+d:d);continue}E=!1}const P=XP(m).join(":"),A=y?P+M0:P,R=A+b;if(l.includes(R))continue;l.push(R);const j=o(b,E);for(let L=0;L<j.length;++L){const I=j[L];l.push(A+I)}d=p+(d.length>0?" "+d:d)}return d};function tC(){let t=0,e,n,i="";for(;t<arguments.length;)(e=arguments[t++])&&(n=j0(e))&&(i&&(i+=" "),i+=n);return i}const j0=t=>{if(typeof t=="string")return t;let e,n="";for(let i=0;i<t.length;i++)t[i]&&(e=j0(t[i]))&&(n&&(n+=" "),n+=e);return n};function nC(t,...e){let n,i,o,l=c;function c(f){const p=e.reduce((m,y)=>y(m),t());return n=YP(p),i=n.cache.get,o=n.cache.set,l=d,d(f)}function d(f){const p=i(f);if(p)return p;const m=eC(f,n);return o(f,m),m}return function(){return l(tC.apply(null,arguments))}}const ze=t=>{const e=n=>n[t]||[];return e.isThemeGetter=!0,e},D0=/^\[(?:([a-z-]+):)?(.+)\]$/i,rC=/^\d+\/\d+$/,sC=new Set(["px","full","screen"]),iC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,oC=/\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$/,aC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,lC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,uC=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$n=t=>Is(t)||sC.has(t)||rC.test(t),yr=t=>Xs(t,"length",yC),Is=t=>!!t&&!Number.isNaN(Number(t)),rd=t=>Xs(t,"number",Is),$i=t=>!!t&&Number.isInteger(Number(t)),cC=t=>t.endsWith("%")&&Is(t.slice(0,-1)),Te=t=>D0.test(t),vr=t=>iC.test(t),dC=new Set(["length","size","percentage"]),fC=t=>Xs(t,dC,I0),hC=t=>Xs(t,"position",I0),pC=new Set(["image","url"]),mC=t=>Xs(t,pC,xC),gC=t=>Xs(t,"",vC),Wi=()=>!0,Xs=(t,e,n)=>{const i=D0.exec(t);return i?i[1]?typeof e=="string"?i[1]===e:e.has(i[1]):n(i[2]):!1},yC=t=>oC.test(t)&&!aC.test(t),I0=()=>!1,vC=t=>lC.test(t),xC=t=>uC.test(t),wC=()=>{const t=ze("colors"),e=ze("spacing"),n=ze("blur"),i=ze("brightness"),o=ze("borderColor"),l=ze("borderRadius"),c=ze("borderSpacing"),d=ze("borderWidth"),f=ze("contrast"),p=ze("grayscale"),m=ze("hueRotate"),y=ze("invert"),x=ze("gap"),S=ze("gradientColorStops"),E=ze("gradientColorStopPositions"),b=ze("inset"),P=ze("margin"),A=ze("opacity"),R=ze("padding"),j=ze("saturate"),L=ze("scale"),I=ze("sepia"),$=ze("skew"),q=ze("space"),Z=ze("translate"),le=()=>["auto","contain","none"],ue=()=>["auto","hidden","clip","visible","scroll"],ve=()=>["auto",Te,e],ae=()=>[Te,e],Se=()=>["",$n,yr],X=()=>["auto",Is,Te],Ee=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],he=()=>["solid","dashed","dotted","double","none"],te=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],V=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",Te],Q=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[Is,Te];return{cacheSize:500,separator:":",theme:{colors:[Wi],spacing:[$n,yr],blur:["none","",vr,Te],brightness:N(),borderColor:[t],borderRadius:["n
8one","","full",vr,Te],borderSpacing:ae(),borderWidth:Se(),contrast:N(),grayscale:G(),hueRotate:N(),invert:G(),gap:ae(),gradientColorStops:[t],gradientColorStopPositions:[cC,yr],inset:ve(),margin:ve(),opacity:N(),padding:ae(),saturate:N(),scale:N(),sepia:G(),skew:N(),space:ae(),translate:ae()},classGroups:{aspect:[{aspect:["auto","square","video",Te]}],container:["container"],columns:[{columns:[vr]}],"break-after":[{"break-after":Q()}],"break-before":[{"break-before":Q()}],"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:[...Ee(),Te]}],overflow:[{overflow:ue()}],"overflow-x":[{"overflow-x":ue()}],"overflow-y":[{"overflow-y":ue()}],overscroll:[{overscroll:le()}],"overscroll-x":[{"overscroll-x":le()}],"overscroll-y":[{"overscroll-y":le()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",$i,Te]}],basis:[{basis:ve()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Te]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",$i,Te]}],"grid-cols":[{"grid-cols":[Wi]}],"col-start-end":[{col:["auto",{span:["full",$i,Te]},Te]}],"col-start":[{"col-start":X()}],"col-end":[{"col-end":X()}],"grid-rows":[{"grid-rows":[Wi]}],"row-start-end":[{row:["auto",{span:[$i,Te]},Te]}],"row-start":[{"row-start":X()}],"row-end":[{"row-end":X()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Te]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Te]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...V()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...V(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...V(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[R]}],px:[{px:[R]}],py:[{py:[R]}],ps:[{ps:[R]}],pe:[{pe:[R]}],pt:[{pt:[R]}],pr:[{pr:[R]}],pb:[{pb:[R]}],pl:[{pl:[R]}],m:[{m:[P]}],mx:[{mx:[P]}],my:[{my:[P]}],ms:[{ms:[P]}],me:[{me:[P]}],mt:[{mt:[P]}],mr:[{mr:[P]}],mb:[{mb:[P]}],ml:[{ml:[P]}],"space-x":[{"space-x":[q]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[q]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Te,e]}],"min-w":[{"min-w":[Te,e,"min","max","fit"]}],"max-w":[{"max-w":[Te,e,"none","full","min","max","fit","prose",{screen:[vr]},vr]}],h:[{h:[Te,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Te,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Te,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Te,e,"auto","min","max","fit"]}],"font-size":[{text:["base",vr,yr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",rd]}],"font-family":[{font:[Wi]}],"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",Te]}],"line-clamp":[{"line-clamp":["none",Is,rd]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$n,Te]}],"list-image":[{"list-image":["none",Te]}],"list-style-type":[{list:["none","disc","decimal",Te]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...he(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$n,yr]}],"underline-offset":[{"underline-offset":["auto",$n,Te]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ae()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Te]}],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",Te]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ee(),hC]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",fC]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},mC]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[E]}
vendor: 4,545 bytes, line 8
8],"gradient-via-pos":[{via:[E]}],"gradient-to-pos":[{to:[E]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[d]}],"border-w-x":[{"border-x":[d]}],"border-w-y":[{"border-y":[d]}],"border-w-s":[{"border-s":[d]}],"border-w-e":[{"border-e":[d]}],"border-w-t":[{"border-t":[d]}],"border-w-r":[{"border-r":[d]}],"border-w-b":[{"border-b":[d]}],"border-w-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...he(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[A]}],"divide-style":[{divide:he()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...he()]}],"outline-offset":[{"outline-offset":[$n,Te]}],"outline-w":[{outline:[$n,yr]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:Se()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[$n,yr]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",vr,gC]}],"shadow-color":[{shadow:[Wi]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...te(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":te()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[i]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",vr,Te]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[y]}],saturate:[{saturate:[j]}],sepia:[{sepia:[I]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[i]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[j]}],"backdrop-sepia":[{"backdrop-sepia":[I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Te]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",Te]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",Te]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[$i,Te]}],"translate-x":[{"translate-x":[Z]}],"translate-y":[{"translate-y":[Z]}],"skew-x":[{"skew-x":[$]}],"skew-y":[{"skew-y":[$]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Te]}],accent:[{accent:["auto",t]}],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",Te]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":ae()}],"scroll-mx":[{"scroll-mx":ae()}],"scroll-my":[{"scroll-my":ae()}],"scroll-ms":[{"scroll-ms":ae()}
8],"scroll-me":[{"scroll-me":ae()}],"scroll-mt":[{"scroll-mt":ae()}],"scroll-mr":[{"scroll-mr":ae()}],"scroll-mb":[{"scroll-mb":ae()}],"scroll-ml":[{"scroll-ml":ae()}],"scroll-p":[{"scroll-p":ae()}],"scroll-px":[{"scroll-px":ae()}],"scroll-py":[{"scroll-py":ae()}],"scroll-ps":[{"scroll-ps":ae()}],"scroll-pe":[{"scroll-pe":ae()}],"scroll-pt":[{"scroll-pt":ae()}],"scroll-pr":[{"scroll-pr":ae()}],"scroll-pb":[{"scroll-pb":ae()}],"scroll-pl":[{"scroll-pl":ae()}],"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"]}],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",Te]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[$n,yr,rd]}],stroke:[{stroke:[t,"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"]}}},SC=nC(wC);function Ht(...t){return SC(A0(t))}const TC=NP,L0=T.forwardRef(({className:t,...e},n)=>w.jsx(T0,{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]",t),...e}));L0.displayName=T0.displayName;const bC=RP("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"}}),V0=T.forwardRef(({className:t,variant:e,...n},i)=>w.jsx(b0,{ref:i,className:Ht(bC({variant:e}),t),...n}));V0.displayName=b0.displayName;const PC=T.forwardRef(({className:t,...e},n)=>w.jsx(E0,{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 hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",t),...e}));PC.displayName=E0.displayName;const F0=T.forwardRef(({className:t,...e},n)=>w.jsx(_0,{ref:n,className:Ht("absolute right-2 top-2 rounded-md p-1 text-foreground
vendor: 12,865 bytes, line 8
8/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",t),"toast-close":"",...e,children:w.jsx(R0,{className:"h-4 w-4"})}));F0.displayName=_0.displayName;const z0=T.forwardRef(({className:t,...e},n)=>w.jsx(P0,{ref:n,className:Ht("text-sm font-semibold",t),...e}));z0.displayName=P0.displayName;const B0=T.forwardRef(({className:t,...e},n)=>w.jsx(C0,{ref:n,className:Ht("text-sm opacity-90",t),...e}));B0.displayName=C0.displayName;function CC(){const{toasts:t}=t0();return w.jsxs(TC,{children:[t.map(function({id:e,title:n,description:i,action:o,...l}){return w.jsxs(V0,{...l,children:[w.jsxs("div",{className:"grid gap-1",children:[n&&w.jsx(z0,{children:n}),i&&w.jsx(B0,{children:i})]}),o,w.jsx(F0,{})]},e)}),w.jsx(L0,{})]})}const EC=["top","right","bottom","left"],wr=Math.min,Ft=Math.max,cl=Math.round,Ga=Math.floor,Cn=t=>({x:t,y:t}),_C={left:"right",right:"left",bottom:"top",top:"bottom"},kC={start:"end",end:"start"};function Ld(t,e,n){return Ft(t,wr(e,n))}function Qn(t,e){return typeof t=="function"?t(e):t}function Zn(t){return t.split("-")[0]}function Ys(t){return t.split("-")[1]}function Ef(t){return t==="x"?"y":"x"}function _f(t){return t==="y"?"height":"width"}function Sr(t){return["top","bottom"].includes(Zn(t))?"y":"x"}function kf(t){return Ef(Sr(t))}function AC(t,e,n){n===void 0&&(n=!1);const i=Ys(t),o=kf(t),l=_f(o);let c=o==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[l]>e.floating[l]&&(c=dl(c)),[c,dl(c)]}function NC(t){const e=dl(t);return[Vd(t),e,Vd(e)]}function Vd(t){return t.replace(/start|end/g,e=>kC[e])}function RC(t,e,n){const i=["left","right"],o=["right","left"],l=["top","bottom"],c=["bottom","top"];switch(t){case"top":case"bottom":return n?e?o:i:e?i:o;case"left":case"right":return e?l:c;default:return[]}}function OC(t,e,n,i){const o=Ys(t);let l=RC(Zn(t),n==="start",i);return o&&(l=l.map(c=>c+"-"+o),e&&(l=l.concat(l.map(Vd)))),l}function dl(t){return t.replace(/left|right|bottom|top/g,e=>_C[e])}function MC(t){return{top:0,right:0,bottom:0,left:0,...t}}function U0(t){return typeof t!="number"?MC(t):{top:t,right:t,bottom:t,left:t}}function fl(t){const{x:e,y:n,width:i,height:o}=t;return{width:i,height:o,top:n,left:e,right:e+i,bottom:n+o,x:e,y:n}}function Hg(t,e,n){let{reference:i,floating:o}=t;const l=Sr(e),c=kf(e),d=_f(c),f=Zn(e),p=l==="y",m=i.x+i.width/2-o.width/2,y=i.y+i.height/2-o.height/2,x=i[d]/2-o[d]/2;let S;switch(f){case"top":S={x:m,y:i.y-o.height};break;case"bottom":S={x:m,y:i.y+i.height};break;case"right":S={x:i.x+i.width,y};break;case"left":S={x:i.x-o.width,y};break;default:S={x:i.x,y:i.y}}switch(Ys(e)){case"start":S[c]-=x*(n&&p?-1:1);break;case"end":S[c]+=x*(n&&p?-1:1);break}return S}const jC=async(t,e,n)=>{const{placement:i="bottom",strategy:o="absolute",middleware:l=[],platform:c}=n,d=l.filter(Boolean),f=await(c.isRTL==null?void 0:c.isRTL(e));let p=await c.getElementRects({reference:t,floating:e,strategy:o}),{x:m,y}=Hg(p,i,f),x=i,S={},E=0;for(let b=0;b<d.length;b++){const{name:P,fn:A}=d[b],{x:R,y:j,data:L,reset:I}=await A({x:m,y,initialPlacement:i,placement:x,strategy:o,middlewareData:S,rects:p,platform:c,elements:{reference:t,floating:e}});m=R??m,y=j??y,S={...S,[P]:{...S[P],...L}},I&&E<=50&&(E++,typeof I=="object"&&(I.placement&&(x=I.placement),I.rects&&(p=I.rects===!0?await c.getElementRects({reference:t,floating:e,strategy:o}):I.rects),{x:m,y}=Hg(p,x,f)),b=-1)}return{x:m,y,placement:x,strategy:o,middlewareData:S}};async function oo(t,e){var n;e===void 0&&(e={});const{x:i,y:o,platform:l,rects:c,elements:d,strategy:f}=t,{boundary:p="clippingAncestors",rootBoundary:m="viewport",elementContext:y="floating",altBoundary:x=!1,padding:S=0}=Qn(e,t),E=U0(S),P=d[x?y==="floating"?"reference":"floating":y],A=fl(await l.getClippingRect({element:(n=await(l.isElement==null?void 0:l.isElement(P)))==null||n?P:P.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(d.floating)),boundary:p,rootBoundary:m,strategy:f})),R=y==="floating"?{x:i,y:o,width:c.floating.width,height:c.floating.height}:c.reference,j=await(l.getOffsetParent==null?void 0:l.getOffsetParent(d.floating)),L=await(l.isElement==null?void 0:l.isElement(j))?await(l.getScale==null?void 0:l.getScale(j))||{x:1,y:1}:{x:1,y:1},I=fl(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:R,offsetParent:j,strategy:f}):R);return{top:(A.top-I.top+E.top)/L.y,bottom:(I.bottom-A.bottom+E.bottom)/L.y,left:(A.left-I.left+E.left)/L.x,right:(I.right-A.right+E.right)/L.x}}const DC=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:i,placement:o,rects:l,platform:c,elements:d,middlewareData:f}=e,{element:p,padding:m=0}=Qn(t,e)||{};if(p==null)return{};const y=U0(m),x={x:n,y:i},S=kf(o),E=_f(S),b=await c.getDimensions(p),P=S==="y",A=P?"top":"left",R=P?"bottom":"right",j=P?"clientHeight":"clientWidth",L=l.reference[E]+l.reference[S]-x[S]-l.floating[E],I=x[S]-l.reference[S],$=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p));let q=$?$[j]:0;(!q||!await(c.isElement==null?void 0:c.isElement($)))&&(q=d.floating[j]||l.floating[E]);const Z=L/2-I/2,le=q/2-b[E]/2-1,ue=wr(y[A],le),ve=wr(y[R],le),ae=ue,Se=q-b[E]-ve,X=q/2-b[E]/2+Z,Ee=Ld(ae,X,Se),he=!f.arrow&&Ys(o)!=null&&X!==Ee&&l.reference[E]/2-(X<ae?ue:ve)-b[E]/2<0,te=he?X<ae?X-ae:X-Se:0;return{[S]:x[S]+te,data:{[S]:Ee,centerOffset:X-Ee-te,...he&&{alignmentOffset:te}},reset:he}}}),IC=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,i;const{placement:o,middlewareData:l,rects:c,initialPlacement:d,platform:f,elements:p}=e,{mainAxis:m=!0,crossAxis:y=!0,fallbackPlacements:x,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:b=!0,...P}=Qn(t,e);if((n=l.arrow)!=null&&n.alignmentOffset)return{};const A=Zn(o),R=Sr(d),j=Zn(d)===d,L=await(f.isRTL==null?void 0:f.isRTL(p.floating)),I=x||(j||!b?[dl(d)]:NC(d)),$=E!=="none";!x&&$&&I.push(...OC(d,b,E,L));const q=[d,...I],Z=await oo(e,P),le=[];let ue=((i=l.flip)==null?void 0:i.overflows)||[];if(m&&le.push(Z[A]),y){const X=AC(o,c,L);le.push(Z[X[0]],Z[X[1]])}if(ue=[...ue,{placement:o,overflows:le}],!le.every(X=>X<=0)){var ve,ae;const X=(((ve=l.flip)==null?void 0:ve.index)||0)+1,Ee=q[X];if(Ee)return{data:{index:X,overflows:ue},reset:{placement:Ee}};let he=(ae=ue.filter(te=>te.overflows[0]<=0).sort((te,V)=>te.overflows[1]-V.overflows[1])[0])==null?void 0:ae.placement;if(!he)switch(S){case"bestFit":{var Se;const te=(Se=ue.filter(V=>{if($){const G=Sr(V.placement);return G===R||G==="y"}return!0}).map(V=>[V.placement,V.overflows.filter(G=>G>0).reduce((G,Q)=>G+Q,0)]).sort((V,G)=>V[1]-G[1])[0])==null?void 0:Se[0];te&&(he=te);break}case"initialPlacement":he=d;break}if(o!==he)return{reset:{placement:he}}}return{}}}};function qg(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Kg(t){return EC.some(e=>t[e]>=0)}const LC=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:i="referenceHidden",...o}=Qn(t,e);switch(i){case"referenceHidden":{const l=await oo(e,{...o,elementContext:"reference"}),c=qg(l,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:Kg(c)}}}case"escaped":{const l=await oo(e,{...o,altBoundary:!0}),c=qg(l,n.floating);return{data:{escapedOffsets:c,escaped:Kg(c)}}}default:return{}}}}};async function VC(t,e){const{placement:n,platform:i,elements:o}=t,l=await(i.isRTL==null?void 0:i.isRTL(o.floating)),c=Zn(n),d=Ys(n),f=Sr(n)==="y",p=["left","top"].includes(c)?-1:1,m=l&&f?-1:1,y=Qn(e,t);let{mainAxis:x,crossAxis:S,alignmentAxis:E}=typeof y=="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:y.mainAxis||0,crossAxis:y.crossAxis||0,alignmentAxis:y.alignmentAxis};return d&&typeof E=="number"&&(S=d==="end"?E*-1:E),f?{x:S*m,y:x*p}:{x:x*p,y:S*m}}const FC=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,i;const{x:o,y:l,placement:c,middlewareData:d}=e,f=await VC(e,t);return c===((n=d.offset)==null?void 0:n.placement)&&(i=d.arrow)!=null&&i.alignmentOffset?{}:{x:o+f.x,y:l+f.y,data:{...f,placement:c}}}}},zC=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:i,placement:o}=e,{mainAxis:l=!0,crossAxis:c=!1,limiter:d={fn:P=>{let{x:A,y:R}=P;return{x:A,y:R}}},...f}=Qn(t,e),p={x:n,y:i},m=await oo(e,f),y=Sr(Zn(o)),x=Ef(y);let S=p[x],E=p[y];if(l){const P=x==="y"?"top":"left",A=x==="y"?"bottom":"right",R=S+m[P],j=S-m[A];S=Ld(R,S,j)}if(c){const P=y==="y"?"top":"left",A=y==="y"?"bottom":"right",R=E+m[P],j=E-m[A];E=Ld(R,E,j)}const b=d.fn({...e,[x]:S,[y]:E});return{...b,data:{x:b.x-n,y:b.y-i,enabled:{[x]:l,[y]:c}}}}}},BC=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:i,placement:o,rects:l,middlewareData:c}=e,{offset:d=0,mainAxis:f=!0,crossAxis:p=!0}=Qn(t,e),m={x:n,y:i},y=Sr(o),x=Ef(y);let S=m[x],E=m[y];const b=Qn(d,e),P=typeof b=="number"?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(f){const j=x==="y"?"height":"width",L=l.reference[x]-l.floating[j]+P.mainAxis,I=l.reference[x]+l.reference[j]-P.mainAxis;S<L?S=L:S>I&&(S=I)}if(p){var A,R;const j=x==="y"?"width":"height",L=["top","left"].includes(Zn(o)),I=l.reference[y]-l.floating[j]+(L&&((A=c.offset)==null?void 0:A[y])||0)+(L?0:P.crossAxis),$=l.reference[y]+l.reference[j]+(L?0:((R=c.offset)==null?void 0:R[y])||0)-(L?P.crossAxis:0);E<I?E=I:E>$&&(E=$)}return{[x]:S,[y]:E}}}},UC=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,i;const{placement:o,rects:l,platform:c,elements:d}=e,{apply:f=()=>{},...p}=Qn(t,e),m=await oo(e,p),y=Zn(o),x=Ys(o),S=Sr(o)==="y",{width:E,height:b}=l.floating;let P,A;y==="top"||y==="bottom"?(P=y,A=x===(await(c.isRTL==null?void 0:c.isRTL(d.floating))?"start":"end")?"left":"right"):(A=y,P=x==="end"?"top":"bottom");const R=b-m.top-m.bottom,j=E-m.left-m.right,L=wr(b-m[P],R),I=wr(E-m[A],j),$=!e.middlewareData.shift;let q=L,Z=I;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(Z=j),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(q=R),$&&!x){const ue=Ft(m.left,0),ve=Ft(m.right,0),ae=Ft(m.top,0),Se=Ft(m.bottom,0);S?Z=E-2*(ue!==0||ve!==0?ue+ve:Ft(m.left,m.right)):q=b-2*(ae!==0||Se!==0?ae+Se:Ft(m.top,m.bottom))}await f({...e,availableWidth:Z,availableHeight:q});const le=await c.getDimensions(d.floating);return E!==le.width||b!==le.height?{reset:{rects:!0}}:{}}}};function zl(){return typeof window<"u"}function Js(t){return $0(t)?(t.nodeName||"").toLowerCase():"#document"}function Bt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Mn(t){var e;return(e=($0(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function $0(t){return zl()?t instanceof Node||t instanceof Bt(t).Node:!1}function gn(t){return zl()?t instanceof Element||t instanceof Bt(t).Element:!1}function Nn(t){return zl()?t instanceof HTMLElement||t instanceof Bt(t).HTMLElement:!1}function Qg(t){return!zl()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Bt(t).ShadowRoot}function No(t){const{overflow:e,overflowX:n,overflowY:i,display:o}=yn(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&!["inline","contents"].includes(o)}function $C(t){return["table","td","th"].includes(Js(t))}function Bl(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Af(t){const e=Nf(),n=gn(t)?yn(t):t;return["transform","translate","scale","rotate","perspective"].some(i=>n[i]?n[i]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(i=>(n.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(n.contain||"").includes(i))}function WC(t){let e=Tr(t);for(;Nn(e)&&!$s(e);){if(Af(e))return e;if(Bl(e))return null;e=Tr(e)}return null}function Nf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function $s(t){return["html","body","#document"].includes(Js(t))}function yn(t){return Bt(t).getComputedStyle(t)}function Ul(t){return gn(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Tr(t){if(Js(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Qg(t)&&t.host||Mn(t);return Qg(e)?e.host:e}function W0(t){const e=Tr(t);return $s(e)?t.ownerDocument?t.ownerDocument.body:t.body:Nn(e)&&No(e)?e:W0(e)}function ao(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);const o=W0(t),l=o===((i=t.ownerDocument)==null?void 0:i.body),c=Bt(o);if(l){const d=Fd(c);
vendor: 4,694 bytes, line 8
8return e.concat(c,c.visualViewport||[],No(o)?o:[],d&&n?ao(d):[])}return e.concat(o,ao(o,[],n))}function Fd(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function H0(t){const e=yn(t);let n=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const o=Nn(t),l=o?t.offsetWidth:n,c=o?t.offsetHeight:i,d=cl(n)!==l||cl(i)!==c;return d&&(n=l,i=c),{width:n,height:i,$:d}}function Rf(t){return gn(t)?t:t.contextElement}function Ls(t){const e=Rf(t);if(!Nn(e))return Cn(1);const n=e.getBoundingClientRect(),{width:i,height:o,$:l}=H0(e);let c=(l?cl(n.width):n.width)/i,d=(l?cl(n.height):n.height)/o;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}const HC=Cn(0);function q0(t){const e=Bt(t);return!Nf()||!e.visualViewport?HC:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function qC(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==Bt(t)?!1:e}function Xr(t,e,n,i){e===void 0&&(e=!1),n===void 0&&(n=!1);const o=t.getBoundingClientRect(),l=Rf(t);let c=Cn(1);e&&(i?gn(i)&&(c=Ls(i)):c=Ls(t));const d=qC(l,n,i)?q0(l):Cn(0);let f=(o.left+d.x)/c.x,p=(o.top+d.y)/c.y,m=o.width/c.x,y=o.height/c.y;if(l){const x=Bt(l),S=i&&gn(i)?Bt(i):i;let E=x,b=Fd(E);for(;b&&i&&S!==E;){const P=Ls(b),A=b.getBoundingClientRect(),R=yn(b),j=A.left+(b.clientLeft+parseFloat(R.paddingLeft))*P.x,L=A.top+(b.clientTop+parseFloat(R.paddingTop))*P.y;f*=P.x,p*=P.y,m*=P.x,y*=P.y,f+=j,p+=L,E=Bt(b),b=Fd(E)}}return fl({width:m,height:y,x:f,y:p})}function Of(t,e){const n=Ul(t).scrollLeft;return e?e.left+n:Xr(Mn(t)).left+n}function K0(t,e,n){n===void 0&&(n=!1);const i=t.getBoundingClientRect(),o=i.left+e.scrollLeft-(n?0:Of(t,i)),l=i.top+e.scrollTop;return{x:o,y:l}}function KC(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t;const l=o==="fixed",c=Mn(i),d=e?Bl(e.floating):!1;if(i===c||d&&l)return n;let f={scrollLeft:0,scrollTop:0},p=Cn(1);const m=Cn(0),y=Nn(i);if((y||!y&&!l)&&((Js(i)!=="body"||No(c))&&(f=Ul(i)),Nn(i))){const S=Xr(i);p=Ls(i),m.x=S.x+i.clientLeft,m.y=S.y+i.clientTop}const x=c&&!y&&!l?K0(c,f,!0):Cn(0);return{width:n.width*p.x,height:n.height*p.y,x:n.x*p.x-f.scrollLeft*p.x+m.x+x.x,y:n.y*p.y-f.scrollTop*p.y+m.y+x.y}}function QC(t){return Array.from(t.getClientRects())}function ZC(t){const e=Mn(t),n=Ul(t),i=t.ownerDocument.body,o=Ft(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),l=Ft(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let c=-n.scrollLeft+Of(t);const d=-n.scrollTop;return yn(i).direction==="rtl"&&(c+=Ft(e.clientWidth,i.clientWidth)-o),{width:o,height:l,x:c,y:d}}function GC(t,e){const n=Bt(t),i=Mn(t),o=n.visualViewport;let l=i.clientWidth,c=i.clientHeight,d=0,f=0;if(o){l=o.width,c=o.height;const p=Nf();(!p||p&&e==="fixed")&&(d=o.offsetLeft,f=o.offsetTop)}return{width:l,height:c,x:d,y:f}}function XC(t,e){const n=Xr(t,!0,e==="fixed"),i=n.top+t.clientTop,o=n.left+t.clientLeft,l=Nn(t)?Ls(t):Cn(1),c=t.clientWidth*l.x,d=t.clientHeight*l.y,f=o*l.x,p=i*l.y;return{width:c,height:d,x:f,y:p}}function Zg(t,e,n){let i;if(e==="viewport")i=GC(t,n);else if(e==="document")i=ZC(Mn(t));else if(gn(e))i=XC(e,n);else{const o=q0(t);i={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return fl(i)}function Q0(t,e){const n=Tr(t);return n===e||!gn(n)||$s(n)?!1:yn(n).position==="fixed"||Q0(n,e)}function YC(t,e){const n=e.get(t);if(n)return n;let i=ao(t,[],!1).filter(d=>gn(d)&&Js(d)!=="body"),o=null;const l=yn(t).position==="fixed";let c=l?Tr(t):t;for(;gn(c)&&!$s(c);){const d=yn(c),f=Af(c);!f&&d.position==="fixed"&&(o=null),(l?!f&&!o:!f&&d.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||No(c)&&!f&&Q0(t,c))?i=i.filter(m=>m!==c):o=d,c=Tr(c)}return e.set(t,i),i}function JC(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t;const c=[...n==="clippingAncestors"?Bl(e)?[]:YC(e,this._c):[].concat(n),i],d=c[0],f=c.reduce((p,m)=>{const y=Zg(e,m,o);return p.top=Ft(y.top,p.top),p.right=wr(y.right,p.right),p.bottom=wr(y.bottom,p.bottom),p.left=Ft(y.left,p.left),p},Zg(e,d,o));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function eE(t){const{width:e,height:n}=H0(t);return{width:e,height:n}}function tE(t,e,n){const i=Nn(e),o=Mn(e),l=n==="fixed",c=Xr(t,!0,l,e);let d={scrollLeft:0,scrollTop:0};const f=Cn(0);if(i||!i&&!l)if((Js(e)!=="body"||No(o))&&(d=Ul(e)),i){const x=Xr(e,!0,l,e);f.x=x.x+e.clientLeft,f.y=x.y+e.clientTop}else o&&(f.x=Of(o));const p=o&&!i&&!l?K0(o,d):Cn(0),m=c.left+d.scrollLeft-f.x-p.x,y=c.top+d.scrollTop-f.y-p.y;return{x:m,y,width:c.width,height:c.height}}function sd(t){return yn(t).position==="static"}function Gg(t,e){if(!Nn(t)||yn(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return Mn(t)===n&&(n=n.ownerDocument.body),n}
vendor: 8,857 bytes, line 8
8function Z0(t,e){const n=Bt(t);if(Bl(t))return n;if(!Nn(t)){let o=Tr(t);for(;o&&!$s(o);){if(gn(o)&&!sd(o))return o;o=Tr(o)}return n}let i=Gg(t,e);for(;i&&$C(i)&&sd(i);)i=Gg(i,e);return i&&$s(i)&&sd(i)&&!Af(i)?n:i||WC(t)||n}const nE=async function(t){const e=this.getOffsetParent||Z0,n=this.getDimensions,i=await n(t.floating);return{reference:tE(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function rE(t){return yn(t).direction==="rtl"}const sE={convertOffsetParentRelativeRectToViewportRelativeRect:KC,getDocumentElement:Mn,getClippingRect:JC,getOffsetParent:Z0,getElementRects:nE,getClientRects:QC,getDimensions:eE,getScale:Ls,isElement:gn,isRTL:rE};function G0(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function iE(t,e){let n=null,i;const o=Mn(t);function l(){var d;clearTimeout(i),(d=n)==null||d.disconnect(),n=null}function c(d,f){d===void 0&&(d=!1),f===void 0&&(f=1),l();const p=t.getBoundingClientRect(),{left:m,top:y,width:x,height:S}=p;if(d||e(),!x||!S)return;const E=Ga(y),b=Ga(o.clientWidth-(m+x)),P=Ga(o.clientHeight-(y+S)),A=Ga(m),j={rootMargin:-E+"px "+-b+"px "+-P+"px "+-A+"px",threshold:Ft(0,wr(1,f))||1};let L=!0;function I($){const q=$[0].intersectionRatio;if(q!==f){if(!L)return c();q?c(!1,q):i=setTimeout(()=>{c(!1,1e-7)},1e3)}q===1&&!G0(p,t.getBoundingClientRect())&&c(),L=!1}try{n=new IntersectionObserver(I,{...j,root:o.ownerDocument})}catch{n=new IntersectionObserver(I,j)}n.observe(t)}return c(!0),l}function oE(t,e,n,i){i===void 0&&(i={});const{ancestorScroll:o=!0,ancestorResize:l=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:d=typeof IntersectionObserver=="function",animationFrame:f=!1}=i,p=Rf(t),m=o||l?[...p?ao(p):[],...ao(e)]:[];m.forEach(A=>{o&&A.addEventListener("scroll",n,{passive:!0}),l&&A.addEventListener("resize",n)});const y=p&&d?iE(p,n):null;let x=-1,S=null;c&&(S=new ResizeObserver(A=>{let[R]=A;R&&R.target===p&&S&&(S.unobserve(e),cancelAnimationFrame(x),x=requestAnimationFrame(()=>{var j;(j=S)==null||j.observe(e)})),n()}),p&&!f&&S.observe(p),S.observe(e));let E,b=f?Xr(t):null;f&&P();function P(){const A=Xr(t);b&&!G0(b,A)&&n(),b=A,E=requestAnimationFrame(P)}return n(),()=>{var A;m.forEach(R=>{o&&R.removeEventListener("scroll",n),l&&R.removeEventListener("resize",n)}),y?.(),(A=S)==null||A.disconnect(),S=null,f&&cancelAnimationFrame(E)}}const aE=FC,lE=zC,uE=IC,cE=UC,dE=LC,Xg=DC,fE=BC,hE=(t,e,n)=>{const i=new Map,o={platform:sE,...n},l={...o.platform,_c:i};return jC(t,e,{...o,platform:l})};var sl=typeof document<"u"?T.useLayoutEffect:T.useEffect;function hl(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,i,o;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(i=n;i--!==0;)if(!hl(t[i],e[i]))return!1;return!0}if(o=Object.keys(t),n=o.length,n!==Object.keys(e).length)return!1;for(i=n;i--!==0;)if(!{}.hasOwnProperty.call(e,o[i]))return!1;for(i=n;i--!==0;){const l=o[i];if(!(l==="_owner"&&t.$$typeof)&&!hl(t[l],e[l]))return!1}return!0}return t!==t&&e!==e}function X0(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Yg(t,e){const n=X0(t);return Math.round(e*n)/n}function id(t){const e=T.useRef(t);return sl(()=>{e.current=t}),e}function pE(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:i=[],platform:o,elements:{reference:l,floating:c}={},transform:d=!0,whileElementsMounted:f,open:p}=t,[m,y]=T.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[x,S]=T.useState(i);hl(x,i)||S(i);const[E,b]=T.useState(null),[P,A]=T.useState(null),R=T.useCallback(V=>{V!==$.current&&($.current=V,b(V))},[]),j=T.useCallback(V=>{V!==q.current&&(q.current=V,A(V))},[]),L=l||E,I=c||P,$=T.useRef(null),q=T.useRef(null),Z=T.useRef(m),le=f!=null,ue=id(f),ve=id(o),ae=id(p),Se=T.useCallback(()=>{if(!$.current||!q.current)return;const V={placement:e,strategy:n,middleware:x};ve.current&&(V.platform=ve.current),hE($.current,q.current,V).then(G=>{const Q={...G,isPositioned:ae.current!==!1};X.current&&!hl(Z.current,Q)&&(Z.current=Q,Dl.flushSync(()=>{y(Q)}))})},[x,e,n,ve,ae]);sl(()=>{p===!1&&Z.current.isPositioned&&(Z.current.isPositioned=!1,y(V=>({...V,isPositioned:!1})))},[p]);const X=T.useRef(!1);sl(()=>(X.current=!0,()=>{X.current=!1}),[]),sl(()=>{if(L&&($.current=L),I&&(q.current=I),L&&I){if(ue.current)return ue.current(L,I,Se);Se()}},[L,I,Se,ue,le]);const Ee=T.useMemo(()=>({reference:$,floating:q,setReference:R,setFloating:j}),[R,j]),he=T.useMemo(()=>({reference:L,floating:I}),[L,I]),te=T.useMemo(()=>{const V={position:n,left:0,top:0};if(!he.floating)return V;const G=Yg(he.floating,m.x),Q=Yg(he.floating,m.y);return d?{...V,transform:"translate("+G+"px, "+Q+"px)",...X0(he.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:G,top:Q}},[n,d,he.floating,m.x,m.y]);return T.useMemo(()=>({...m,update:Se,refs:Ee,elements:he,floatingStyles:te}),[m,Se,Ee,he,te])}const mE=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:i,padding:o}=typeof t=="function"?t(n):t;return i&&e(i)?i.current!=null?Xg({element:i.current,padding:o}).fn(n):{}:i?Xg({element:i,padding:o}).fn(n):{}}}},gE=(t,e)=>({...aE(t),options:[t,e]}),yE=(t,e)=>({...lE(t),options:[t,e]}),vE=(t,e)=>({...fE(t),options:[t,e]}),xE=(t,e)=>({...uE(t),options:[t,e]}),wE=(t,e)=>({...cE(t),options:[t,e]}),SE=(t,e)=>({...dE(t),options:[t,e]}),TE=(t,e)=>({...mE(t),options:[t,e]});var bE="Arrow",Y0=T.forwardRef((t,e)=>{const{children:n,width:i=10,height:o=5,...l}=t;return w.jsx(jt.svg,{...l,ref:e,width:i,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:w.jsx("polygon",{points:"0,0 30,0 15,10"})})});Y0.displayName=bE;var PE=Y0;function CE(t){const[e,n]=T.useState(void 0);return Gr(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const i=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const l=o[0];let c,d;if("borderBoxSize"in l){const f=l.borderBoxSize,p=Array.isArray(f)?f[0]:f;c=p.inlineSize,d=p.blockSize}else c=t.offsetWidth,d=t.offsetHeight;n({width:c,height:d})});return i.observe(t,{box:"border-box"}),()=>i.unobserve(t)}else n(void 0)},[t]),e}var J0="Popper",[ex,tx]=Il(J0),[S4,nx]=ex(J0),rx="PopperAnchor",sx=T.forwardRef((t,e)=>{const{__scopePopper:n,virtualRef:i,...o}=t,l=nx(rx,n),c=T.useRef(null),d=mn(e,c);return T.useEffect(()=>{l.onAnchorChange(i?.current||c.current)}),i?null:w.jsx(jt.div,{...o,ref:d})});sx.displayName=rx;var Mf="PopperContent",[EE,_E]=ex(Mf),ix=T.forwardRef((t,e)=>{const{__scopePopper:n,side:i="bottom",sideOffset:o=0,align:l="center",alignOffset:c=0,arrowPadding:d=0,avoidCollisions:f=!0,collisionBoundary:p=[],collisionPadding:m=0,sticky:y="partial",hideWhenDetached:x=!1,updatePositionStrategy:S="optimized",onPlaced:E,...b}=t,P=nx(Mf,n),[A,R]=T.useState(null),j=mn(e,Oe=>R(Oe)),[L,I]=T.useState(null),$=CE(L),q=$?.width??0,Z=$?.height??0,le=i+(l!=="center"?"-"+l:""),ue=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},ve=Array.isArray(p)?p:[p],ae=ve.length>0,Se={padding:ue,boundary:ve.filter(AE),altBoundary:ae},{refs:X,floatingStyles:Ee,placement:he,isPositioned:te,middlewareData:V}=pE({strategy:"fixed",placement:le,whileElementsMounted:(...Oe)=>oE(...Oe,{animationFrame:S==="always"}),elements:{reference:P.anchor},middleware:[gE({mainAxis:o+Z,alignmentAxis:c}),f&&yE({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?vE():void 0,...Se}),f&&xE({...Se}),wE({...Se,apply:({elements:Oe,rects:Me,availableWidth:Ie,availableHeight:Pt})=>{const{width:ns,height:Lo}=Me.reference,jn=Oe.floating.style;jn.setProperty("--radix-popper-available-width",`${Ie}px`),jn.setProperty("--radix-popper-available-height",`${Pt}px`),jn.setProperty("--radix-popper-anchor-width",`${ns}px`),jn.setProperty("--radix-popper-anchor-height",`${Lo}px`)}}),L&&TE({element:L,padding:d}),NE({arrowWidth:q,arrowHeight:Z}),x&&SE({strategy:"referenceHidden",...Se})]}),[G,Q]=lx(he),N=An(E);Gr(()=>{te&&N?.()},[te,N]);const F=V.arrow?.x,ye=V.arrow?.y,xe=V.arrow?.centerOffset!==0,[_e,ke]=T.useState();return Gr(()=>{A&&ke(window.getComputedStyle(A).zIndex)},[A]),w.jsx("div",{ref:X.setFloating,"data-radix-popper-content-wrapper":"",style:{...Ee,transform:te?Ee.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:_e,"--radix-popper-transform-origin":[V.transformOrigin?.x,V.transformOrigin?.y].join(" "),...V.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:w.jsx(EE,{scope:n,placedSide:G,onArrowChange:I,arrowX:F,arrowY:ye,shouldHideArrow:xe,children:w.jsx(jt.div,{"data-side":G,"data-align":Q,...b,ref:j,style:{...b.style,animation:te?void 0:"none"}})})})});ix.displayName=Mf;var ox="PopperArrow",kE={top:"bottom",right:"left",bottom:"top",left:"r
8ight"},ax=T.forwardRef(function(e,n){const{__scopePopper:i,...o}=e,l=_E(ox,i),c=kE[l.placedSide];return w.jsx("span",{ref:l.onArrowChange,style:{position:"absolute",left:l.arrowX,top:l.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[l.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[l.placedSide],visibility:l.shouldHideArrow?"hidden":void 0},children:w.jsx(PE,{...o,ref:n,style:{...o.style,display:"block"}})})});ax.displayName=ox;function AE(t){return t!==null}var NE=t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:i,middlewareData:o}=e,c=o.arrow?.centerOffset!==0,d=c?0:t.arrowWidth,f=c?0:t.arrowHeight,[p,m]=lx(n),y={start:"0%",center:"50%",end:"100%"}[m],x=(o.arrow?.x??0)+d/2,S=(o.arrow?.y??0)+f/2;let E="",b="";return p==="bottom"?(E=c?y:`${x}px`,b=`${-f}px`):p==="top"?(E=c?y:`${x}px`,b=`${i.floating.height+f}px`):p==="right"?(E=`${-f}px`,b=c?y:`${S}px`):p==="left"&&(E=`${i.floating.width+f}px`,b=c?y:`${S}px`),{data:{x:E,y:b}}}});function lx(t){const[e,n="center"]=t.split("-");return[e,n]}var RE=sx,OE=ix,ME=ax,[$l]=Il("Tooltip",[tx]),jf=tx(),ux="TooltipProvider",jE=700,Jg="tooltip.open",[DE,cx]=$l(ux),dx=t=>{const{__scopeTooltip:e,delayDuration:n=jE,skipDelayDuration:i=300,disableHoverableContent:o=!1,children:l}=t,c=T.useRef(!0),d=T.useRef(!1),f=T.useRef(0);return T.useEffect(()=>{const p=f.current;return()=>window.clearTimeout(p)},[]),w.jsx(DE,{scope:e,isOpenDelayedRef:c,delayDuration:n,onOpen:T.useCallback(()=>{window.clearTimeout(f.current),c.current=!1},[]),onClose:T.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>c.current=!0,i)},[i]),isPointerInTransitRef:d,onPointerInTransitChange:T.useCallback(p=>{d.current=p},[]),disableHoverableContent:o,children:l})};dx.displayName=ux;var fx="Tooltip",[T4,Wl]=$l(fx),zd="TooltipTrigger",IE=T.forwardRef((t,e)=>{const{__scopeTooltip:n,...i}=t,o=Wl(zd,n),l=cx(zd,n),c=jf(n),d=T.useRef(null),f=mn(e,d,o.onTriggerChange),p=T.useRef(!1),m=T.useRef(!1),y=T.useCallback(()=>p.current=!1,[]);return T.useEffect(()=>()=>document.removeEventListener("pointerup",y),[y]),w.jsx(RE,{asChild:!0,...c,children:w.jsx(jt.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...i,ref:f,onPointerMove:at(t.onPointerMove,x=>{x.pointerType!=="touch"&&!m.current&&!l.isPointerInTransitRef.current&&(o.onTriggerEnter(),m.current=!0)}),onPointerLeave:at(t.onPointerLeave,()=>{o.onTriggerLeave(),m.current=!1}),onPointerDown:at(t.onPointerDown,()=>{o.open&&o.onClose(),p.current=!0,document.addEventListener("pointerup",y,{once:!0})}),onFocus:at(t.onFocus,()=>{p.current||o.onOpen()}),onBlur:at(t.onBlur,o.onClose),onClick:at(t.onClick,o.onClose)})})});IE.displayName=zd;var LE="TooltipPortal",[b4,VE]=$l(LE,{forceMount:void 0}),Ws="TooltipContent",hx=T.forwardRef((t,e)=>{const n=VE(Ws,t.__scopeTooltip),{forceMount:i=n.forceMount,side:o="top",...l}=t,c=Wl(Ws,t.__scopeTooltip);return w.jsx(Sf,{present:i||c.open,children:c.disableHoverableContent?w.jsx(px,{side:o,...l,ref:e}):w.jsx(FE,{side:o,...l,ref:e})})}),FE=T.forwardRef((t,e)=>{const n=Wl(Ws,t.__scopeTooltip),i=cx(Ws,t.__scopeTooltip),o=T.useRef(null),l=mn(e,o),[c,d]=T.useState(null),{trigger:f,onClose:p}=n,m=o.current,{onPointerInTransitChange:y}=i,x=T.useCallback(()=>{d(null),y(!1)},[y]),S=T.useCallback((E,b)=>{const P=E.currentTarget,A={x:E.clientX,y:E.clientY},R=WE(A,P.getBoundingClientRect()),j=HE(A,R),L=qE(b.getBoundingClientRect()),I=QE([...j,...L]);d(I),y(!0)},[y]);return T.useEffect(()=>()=>x(),[x]),T.useEffect(()=>{if(f&&m){const E=P=>S(P,m),b=P=>S(P,f);return f.addEventListener("pointerleave",E),m.addEventListener("pointerleave",b),()=>{f.removeEventListener("pointerleave",E),m.removeEventListener("pointerleave",b)}}},[f,m,S,x]),T.useEffect(()=>{if(c){const E=b=>{const P=b.target,A={x:b.clientX,y:b.clientY},R=f?.contains(P)||m?.contains(P),j=!KE(A,c);R?x():j&&(x(),p())};return document.addEventListener("pointermove",E),()=>document.removeEventListener("pointermove",E)}},[f,m,c,p,x]),w.jsx(px,{...t,ref:l})}),[zE,BE]=$l(fx,{isInside:!1}),UE=Wb("TooltipContent"),px=T.forwardRef((t,e)=>{const{__scopeTooltip:n,children:i,"aria-label":o,onEscapeKeyDown:l,onPointerDownOutside:c,...d}=t,f=Wl(Ws,n),p=jf(n),{onClose:m}=f;return T.useEffect(()=>(document.addEventListener(Jg,m),()=>document.removeEventListener(Jg,m)),[m]),T.useEffect(()=>{if(f.trigger){const y=x=>{x.target?.contains(f.trigger)&&m()};return window.addEventListener("scroll",y,{capture:!0}),()=>window.removeEventListener("scroll",y,{capture:!0})}},[f.trigger,m]),w.jsx(wf,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:y=>y.preventDefault(),onDismiss:m,children:w.jsxs(OE,{"data-state":f.stateAttribute,...p,...d,ref:e,style:{...d.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:[w.jsx(UE,{children:i}),w.jsx(zE,{scope:n,isInside:!0,children:w.jsx(fP,{id:f.contentId,role:"tooltip",children:o||i})})]})})});hx.displayName=Ws;var mx="TooltipArrow",$E=T.forwardRef((t,e)=>{const{__scopeTooltip:n,...i}=t,o=jf(n);return BE(mx,n).isInside?null:w.jsx(ME,{...o,...i,ref:e})});$E.displayName=mx;function WE(t,e){const n=Math.abs(e.top-t.y),i=Math.abs(e.bottom-t.y),o=Math.abs(e.right-t.x),l=Math.abs(e.left-t.x);switch(Math.min(n,i,o,l)){case l:return"left";case o:return"right";case n:return"top";case i:return"bottom";default:throw new Error("unreachable")}}function HE(t,e,n=5){const i=[];switch(e){case"top":i.push({x:t.x-n,y:t.y+n},{x:t.x+n,y:t.y+n});break;case"bottom":i.push({x:t.x-n,y:t.y-n},{x:t.x+n,y:t.y-n});break;case"left":i.push({x:t.x+n,y:t.y-n},{x:t.x+n,y:t.y+n});break;case"right":i.push({x:t.x-n,y:t.y-n},{x:t.x-n,y:t.y+n});break}return i}function qE(t){const{top:e,right:n,bottom:i,left:o}=t;return[{x:o,y:e},{x:n,y:e},{x:n,y:i},{x:o,y:i}]}function KE(t,e){const{x:n,y:i}=t;let o=!1;for(let l=0,c=e.length-1;l<e.length;c=l++){const d=e[l].x,f=e[l].y,p=e[c].x,m=e[c].y;f>i!=m>i&&n<(p-d)*(i-f)/(m-f)+d&&(o=!o)}return o}function QE(t){const e=t.slice();return e.sort((n,i)=>n.x<i.x?-1:n.x>i.x?1:n.y<i.y?-1:n.y>i.y?1:0),ZE(e)}function ZE(t){if(t.length<=1)return t.slice();const e=[];for(let i=0;i<t.length;i++){const o=t[i];for(;e.length>=2;){const l=e[e.length-1],c=e[e.length-2];if((l.x-c.x)*(o.y-c.y)>=(l.y-c.y)*(o.x-c.x))e.pop();else break}e.push(o)}e.pop();const n=[];for(let i=t.length-1;i>=0;i--){const o=t[i];for(;n.length>=2;){const l=n[n.length-1],c=n[n.length-2];if((l.x-c.x)*(o.y-c.y)>=(l.y-c.y)*(o.x-c.x))n.pop();else break}n.push(o)}return n.pop(),e.length===1&&n.length===1&&e[0].x===n[0].x&&e[0].y===n[0].y?e:e.concat(n)}var GE=dx,gx=hx;const XE=GE,YE=T.forwardRef(({className:t,sideOffset:e=4,...n},i)=>w.jsx(gx,{ref:i,sideOffset:e,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]:sli
8de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",t),...n}));YE.displayName=gx.displayName;var od,ey;function JE(){if(ey)return od;ey=1;var t=typeof Element<"u",e=typeof Map=="function",n=typeof Set=="function",i=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function o(l,c){if(l===c)return!0;if(l&&c&&typeof l=="object"&&typeof c=="object"){if(l.constructor!==c.constructor)return!1;var d,f,p;if(Array.isArray(l)){if(d=l.length,d!=c.length)return!1;for(f=d;f--!==0;)if(!o(l[f],c[f]))return!1;return!0}var m;if(e&&l instanceof Map&&c instanceof Map){if(l.size!==c.size)return!1;for(m=l.entries();!(f=m.next()).done;)if(!c.has(f.value[0]))return!1;for(m=l.entries();!(f=m.next()).done;)if(!o(f.value[1],c.get(f.value[0])))return!1;return!0}if(n&&l instanceof Set&&c instanceof Set){if(l.size!==c.size)return!1;for(m=l.entries();!(f=m.next()).done;)if(!c.has(f.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(l)&&ArrayBuffer.isView(c)){if(d=l.length,d!=c.length)return!1;for(f=d;f--!==0;)if(l[f]!==c[f])return!1;return!0}if(l.constructor===RegExp)return l.source===c.source&&l.flags===c.flags;if(l.valueOf!==Object.prototype.valueOf&&typeof l.valueOf=="function"&&typeof c.valueOf=="function")return l.valueOf()===c.valueOf();if(l.toString!==Object.prototype.toString&&typeof l.toString=="function"&&typeof c.toString=="function")return l.toString()===c.toString();if(p=Object.keys(l),d=p.length,d!==Object.keys(c).length)return!1;for(f=d;f--!==0;)if(!Object.prototype.hasOwnProperty.call(c,p[f]))return!1;if(t&&l instanceof Element)return!1;for(f=d;f--!==0;)if(!((p[f]==="_owner"||p[f]==="__v"||p[f]==="__o")&&l.$$typeof)&&!o(l[p[f]],c[p[f]]))return!1;return!0}return l!==l&&c!==c}return od=function(c,d){try{return o(c,d)}catch(f){if((f.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw f}},od}var e_=JE();const t_=ko(e_);var ad,ty;function n_(){if(ty)return ad;ty=1;var t=function(e,n,i,o,l,c,d,f){if(!e){var p;if(n===void 0)p=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var m=[i,o,l,c,d,f],y=0;p=new Error(n.replace(/%s/g,function(){return m[y++]})),p.name="Invariant Violation"}throw p.framesToPop=1,p}};return ad=t,ad}var r_=n_();const ny=ko(r_);var ld,ry;function s_(){return ry||(ry=1,ld=function(e,n,i,o){var l=i?i.call(o,e,n):void 0;if(l!==void 0)return!!l;if(e===n)return!0;if(typeof e!="object"||!e||typeof n!="object"||!n)return!1;var c=Object.keys(e),d=Object.keys(n);if(c.length!==d.length)return!1;for(var f=Object.prototype.hasOwnProperty.bind(n),p=0;p<c.length;p++){var m=c[p];if(!f(m))return!1;var y=e[m],x=n[m];if(l=i?i.call(o,y,x,m):void 0,l===!1||l===void 0&&y!==x)return!1}return!0}),ld}var i_=s_();const o_=ko(i_);var yx=(t=>(t.BASE="base",t.BODY="body",t.HEAD="head",t.HTML="html",t.LINK="link",t.META="meta",t.NOSCRIPT="noscript",t.SCRIPT="script",t.STYLE="style",t.TITLE="title",t.FRAGMENT="Symbol(react.fragment)",t))(yx||{}),ud={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},sy=Object.values(yx),Df={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},a_=Object.entries(Df).reduce((t,[e,n])=>(t[n]=e,t),{}),fn="data-rh",Vs={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},Fs=(t,e)=>{for(let n=t.length-1;n>=0;n-=1){const i=t[n];if(Object.prototype.hasOwnProperty.call(i,e))return i[e]}return null},l_=t=>{let e=Fs(t,"title");const n=Fs(t,Vs.TITLE_TEMPLATE);if(Array.isArray(e)&&(e=e.join("")),n&&e)return n.replace(/%s/g,()=>e);const i=Fs(t,Vs.DEFAULT_TITLE);return e||i||void 0},u_=t=>Fs(t,Vs.ON_CHANGE_CLIENT_STATE)||(()=>{}),cd=(t,e)=>e.filter(n=>typeof n[t]<"u").map(n=>n[t]).reduce((n,i)=>({...n,...i}),{}),c_=(t,e)=>e.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,i)=>{if(!n.length){const o=Object.keys(i);for(let l=0;l<o.length;l+=1){const d=o[l].toLowerCase();if(t.indexOf(d)!==-1&&i[d])return n.concat(i)}}return n},[]),d_=t=>console&&typeof console.warn=="function"&&console.warn(t),Hi=(t,e,n)=>{const i={};return n.filter(o=>Array.isArray(o[t])?!0:(typeof o[t]<"u"&&d_(`Helmet: ${t} should be of type "Array". Instead found type "${typeof o[t]}"`),!1)).map(o=>o[t]).reverse().reduce((o,l)=>{const c={};l.filter(f=>{let p;const m=Object.keys(f);for(let x=0;x<m.length;x+=1){const S=m[x],E=S.toLowerCase();e.indexOf(E)!==-1&&!(p==="rel"&&f[p].toLowerCase()==="canonical")&&!(E==="rel"&&f[E].toLowerCase()==="stylesheet")&&(p=E),e.indexOf(S)!==-1&&(S==="innerHTML"||S==="cssText"||S==="itemprop")&&(p=S)}if(!p||!f[p])return!1;const y=f[p].toLowerCase();return i[p]||(i[p]={}),c[p]||(c[p]={}),i[p][y]?!1:(c[p][y]=!0,!0)}
8).reverse().forEach(f=>o.push(f));const d=Object.keys(c);for(let f=0;f<d.length;f+=1){const p=d[f],m={...i[p],...c[p]};i[p]=m}return o},[]).reverse()},f_=(t,e)=>{if(Array.isArray(t)&&t.length){for(let n=0;n<t.length;n+=1)if(t[n][e])return!0}return!1},h_=t=>({baseTag:c_(["href"],t),bodyAttributes:cd("bodyAttributes",t),defer:Fs(t,Vs.DEFER),encode:Fs(t,Vs.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:cd("htmlAttributes",t),linkTags:Hi("link",["rel","href"],t),metaTags:Hi("meta",["name","charset","http-equiv","property","itemprop"],t),noscriptTags:Hi("noscript",["innerHTML"],t),onChangeClientState:u_(t),scriptTags:Hi("script",["src","innerHTML"],t),styleTags:Hi("style",["cssText"],t),title:l_(t),titleAttributes:cd("titleAttributes",t),prioritizeSeoTags:f_(t,Vs.PRIORITIZE_SEO_TAGS)}),vx=t=>Array.isArray(t)?t.join(""):t,p_=(t,e)=>{const n=Object.keys(t);for(let i=0;i<n.length;i+=1)if(e[n[i]]&&e[n[i]].includes(t[n[i]]))return!0;return!1},dd=(t,e)=>Array.isArray(t)?t.reduce((n,i)=>(p_(i,e)?n.priority.push(i):n.default.push(i),n),{priority:[],default:[]}):{default:t,priority:[]},iy=(t,e)=>({...t,[e]:void 0}),m_=["noscript","script","style"],Bd=(t,e=!0)=>e===!1?String(t):String(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),xx=t=>Object.keys(t).reduce((e,n)=>{const i=typeof t[n]<"u"?`${n}="${t[n]}"`:`${n}`;return e?`${e} ${i}`:i},""),g_=(t,e,n,i)=>{const o=xx(n),l=vx(e);return o?`<${t} ${fn}="true" ${o}>${Bd(l,i)}</${t}>`:`<${t} ${fn}="true">${Bd(l,i)}</${t}>`},y_=(t,e,n=!0)=>e.reduce((i,o)=>{const l=o,c=Object.keys(l).filter(p=>!(p==="innerHTML"||p==="cssText")).reduce((p,m)=>{const y=typeof l[m]>"u"?m:`${m}="${Bd(l[m],n)}"`;return p?`${p} ${y}`:y},""),d=l.innerHTML||l.cssText||"",f=m_.indexOf(t)===-1;return`${i}<${t} ${fn}="true" ${c}${f?"/>":`>${d}</${t}>`}`},""),wx=(t,e={})=>Object.keys(t).reduce((n,i)=>{const o=Df[i];return n[o||i]=t[i],n},e),v_=(t,e,n)=>{const i={key:e,[fn]:!0},o=wx(n,i);return[Qe.createElement("title",o,e)]},il=(t,e)=>e.map((n,i)=>{const o={key:i,[fn]:!0};return Object.keys(n).forEach(l=>{const d=Df[l]||l;if(d==="innerHTML"||d==="cssText"){const f=n.innerHTML||n.cssText;o.dangerouslySetInnerHTML={__html:f}}else o[d]=n[l]}),Qe.createElement(t,o)}),en=(t,e,n=!0)=>{switch(t){case"title":return{toComponent:()=>v_(t,e.title,e.titleAttributes),toString:()=>g_(t,e.title,e.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>wx(e),toString:()=>xx(e)};default:return{toComponent:()=>il(t,e),toString:()=>y_(t,e,n)}}},x_=({metaTags:t,linkTags:e,scriptTags:n,encode:i})=>{const o=dd(t,ud.meta),l=dd(e,ud.link),c=dd(n,ud.script);return{priorityMethods:{toComponent:()=>[...il("meta",o.priority),...il("link",l.priority),...il("script",c.priority)],toString:()=>`${en("meta",o.priority,i)} ${en("link",l.priority,i)} ${en("script",c.priority,i)}`},metaTags:o.default,linkTags:l.default,scriptTags:c.default}},w_=t=>{const{baseTag:e,bodyAttributes:n,encode:i=!0,htmlAttributes:o,noscriptTags:l,styleTags:c,title:d="",titleAttributes:f,prioritizeSeoTags:p}=t;let{linkTags:m,metaTags:y,scriptTags:x}=t,S={toComponent:()=>{},toString:()=>""};return p&&({priorityMethods:S,linkTags:m,metaTags:y,scriptTags:x}=x_(t)),{priority:S,base:en("base",e,i),bodyAttributes:en("bodyAttributes",n,i),htmlAttributes:en("htmlAttributes",o,i),link:en("link",m,i),meta:en("meta",y,i),noscript:en("noscript",l,i),script:en("script",x,i),style:en("style",c,i),title:en("title",{title:d,titleAttributes:f},i)}},Ud=w_,Xa=[],Sx=!!(typeof window<"u"&&window.document&&window.document.createElement),$d=class{instances=[];canUseDOM=Sx;context;value={setHelmet:t=>{this.context.helmet=t},helmetInstances:{get:()=>this.canUseDOM?Xa:this.instances,add:t=>{(this.canUseDOM?Xa:this.instances).push(t)},remove:t=>{const e=(this.canUseDOM?Xa:this.instances).indexOf(t);(this.canUseDOM?Xa:this.instances).splice(e,1)}}};constructor(t,e){this.context=t,this.canUseDOM=e||!1,e||(t.helmet=Ud({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},S_={},Tx=Qe.createContext(S_),bx=class Px extends T.Component{static canUseDOM=Sx;helmetData;constructor(e){super(e),this.helmetData=new $d(this.props.context||{},Px.canUseDOM)}render(){return Qe.createElement(Tx.Provider,{value:this.helmetData.value},this.props.children)}},ks=(t,e)=>{const n=document.head||document.querySelector("head"),i=n.querySelectorAll(`${t}[${fn}]`),o=[].slice.call(i),l=[];let c;return e&&e.length&&e.forEach(d=>{const f=document.createElement(t);for(const p in d)if(Object.prototype.hasOwnProperty.call(d,p))if(p==="innerHTML")f.innerHTML=d.innerHTML;else if(p==="cssText")f.styleSheet?f.styleSheet.cssText=d.cssText:f.appendChild(document.createTextNode(d.cssText));else{const m=p,y=typeof d[m]>"u"?"":d[m];f.setAttribute(p,y)}f.setAttribute(fn,"true"),o.some((p,m)=>(c=m,f.isEqualNode(p)))?o.splice(c,1):l.push(f)}),o.forEach(d=>d.parentNode?.removeChild(d)),l.forEach(d=>n.appendChild(d)),{oldTags:o,newTags:l}},Wd=(t,e)=>{const n=document.getElementsByTagName(t)[0];if(!n)return;const i=n.getAttribute(fn),o=i?i.split(","):[],l=[...o],c=Object.keys(e);for(const d of c){const f=e[d]||"";n.getAttribute(d)!==f&&n.setAttribute(d,f),o.indexOf(d)===-1&&o.push(d);const p=l.indexOf(d);p!==-1&&l.splice(p,1)}for(let d=l.length-1;d>=0;d-=1)n.removeAttribute(l[d]);o.length===l.length?n.removeAttribute(fn):n.getAttribute(fn)!==c.join(",")&&n.setAttribute(fn,c.join(","))},T_=(t,e)=>{typeof t<"u"&&document.title!==t&&(document.title=vx(t)),Wd("title",e)},oy=(t,e)=>{const{baseTag:n,bodyAttributes:i,htmlAttributes:o,linkTags:l,metaTags:c,noscriptTags:d,onChangeClientState:f,scriptTags:p,styleTags:m,title:y,titleAttributes:x}=t;Wd("body",i),Wd("html",o),T_(y,x);const S={baseTag:ks("base",n),linkTags:ks("link",l),metaTags:ks("meta",c),noscriptTags:ks("noscript",d),scriptTags:ks("script",p),styleTags:ks("style",m)},E={},b={};
8Object.keys(S).forEach(P=>{const{newTags:A,oldTags:R}=S[P];A.length&&(E[P]=A),R.length&&(b[P]=S[P].oldTags)}),e&&e(),f(t,E,b)},qi=null,b_=t=>{qi&&cancelAnimationFrame(qi),t.defer?qi=requestAnimationFrame(()=>{oy(t,()=>{qi=null})}):(oy(t),qi=null)},P_=b_,ay=class extends T.Component{rendered=!1;shouldComponentUpdate(t){return!o_(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:e}=this.props.context;let n=null;const i=h_(t.get().map(o=>{const l={...o.props};return delete l.context,l}));bx.canUseDOM?P_(i):Ud&&(n=Ud(i)),e(n)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},C_=class extends T.Component{static defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1};shouldComponentUpdate(t){return!t_(iy(this.props,"helmetData"),iy(t,"helmetData"))}mapNestedChildrenToProps(t,e){if(!e)return null;switch(t.type){case"script":case"noscript":return{innerHTML:e};case"style":return{cssText:e};default:throw new Error(`<${t.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(t,e,n,i){return{...e,[t.type]:[...e[t.type]||[],{...n,...this.mapNestedChildrenToProps(t,i)}]}}mapObjectTypeChildren(t,e,n,i){switch(t.type){case"title":return{...e,[t.type]:i,titleAttributes:{...n}};case"body":return{...e,bodyAttributes:{...n}};case"html":return{...e,htmlAttributes:{...n}};default:return{...e,[t.type]:{...n}}}}mapArrayTypeChildrenToProps(t,e){let n={...e};return Object.keys(t).forEach(i=>{n={...n,[i]:t[i]}}),n}warnOnInvalidChildren(t,e){return ny(sy.some(n=>t.type===n),typeof t.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${sy.join(", ")} are allowed. Helmet does not support rendering <${t.type}> elements. Refer to our API for more information.`),ny(!e||typeof e=="string"||Array.isArray(e)&&!e.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${t.type}>. Did you forget to wrap your children in braces? ( <${t.type}>{\`\`}</${t.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(t,e){let n={};return Qe.Children.forEach(t,i=>{if(!i||!i.props)return;const{children:o,...l}=i.props,c=Object.keys(l).reduce((f,p)=>(f[a_[p]||p]=l[p],f),{});let{type:d}=i;
8switch(typeof d=="symbol"?d=d.toString():this.warnOnInvalidChildren(i,o),d){case"Symbol(react.fragment)":e=this.mapChildrenToProps(o,e);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(i,n,c,o);break;default:e=this.mapObjectTypeChildren(i,e,c,o);break}}),this.mapArrayTypeChildrenToProps(n,e)}render(){const{children:t,...e}=this.props;let n={...e},{helmetData:i}=e;if(t&&(n=this.mapChildrenToProps(t,n)),i&&!(i instanceof $d)){const o=i;i=new $d(o.context,!0),delete n.helmetData}return i?Qe.createElement(ay,{...n,context:i.value}):Qe.createElement(Tx.Consumer,null,o=>Qe.createElement(ay,{...n,context:o}))}};const If=T.createContext({});function Lf(t){const e=T.useRef(null);return e.current===null&&(e.current=t()),e.current}const Hl=T.createContext(null),Vf=T.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});class E_ extends T.Component{getSnapshotBeforeUpdate(e){const n=this.props.childRef.current;if(n&&e.isPresent&&!this.props.isPresent){const i=this.props.sizeRef.current;i.height=n.offsetHeight||0,i.width=n.offsetWidth||0,i.top=n.offsetTop,i.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function __({children:t,isPresent:e}){const n=T.useId(),i=T.useRef(null),o=T.useRef({width:0,height:0,top:0,left:0}),{nonce:l}=T.useContext(Vf);return T.useInsertionEffect(()=>{const{width:c,height:d,top:f,left:p}=o.current;if(e||!i.current||!c||!d)return;i.current.dataset.motionPopId=n;const m=document.createElement("style");return l&&(m.nonce=l),document.head.appendChild(m),m.sheet&&m.sheet.insertRule(`
9          [data-motion-pop-id="${n}"] {
10            position: absolute !important;
11            width: ${c}px !important;
12            height: ${d}px !important;
13            top: ${f}px !important;
14            left: ${p}px !important;
15          }
16        `),()=>{document.head.removeChild(m)}},[e]),w.jsx(E_,{isPresent:e,childRef:i,sizeRef:o,children:T.cloneElement(t,{ref:i})})}const k_=({children:t,initial:e,isPresent:n,onExitComplete:i,custom:o,presenceAffectsLayout:l,mode:c})=>{const d=Lf(A_),f=T.useId(),p=T.useCallback(y=>{d.set(y,!0);for(const x of d.values())if(!x)return;i&&i()},[d,i]),m=T.useMemo(()=>({id:f,initial:e,isPresent:n,custom:o,onExitComplete:p,register:y=>(d.set(y,!1),()=>d.delete(y))}),l?[Math.random(),p]:[n,p]);return T.useMemo(()=>{d.forEach((y,x)=>d.set(x,!1))},[n]),T.useEffect(()=>{!n&&!d.size&&i&&i()},[n]),c==="popLayout"&&(t=w.jsx(__,{isPresent:n,children:t})),w.jsx(Hl.Provider,{value:m,children:t})};function A_(){return new Map}function Cx(t=!0){const e=T.useContext(Hl);if(e===null)return[!0,null];const{isPresent:n,onExitComplete:i,register:o}=e,l=T.useId();T.useEffect(()=>{t&&o(l)},[t]);const c=T.useCallback(()=>t&&i&&i(l),[l,i,t]);return!n&&i?[!1,c]:[!0]}const Ya=t=>t.key||"";function ly(t){const e=[];return T.Children.forEach(t,n=>{T.isValidElement(n)&&e.push(n)}),e}const Ff=typeof window<"u",Ex=Ff?T.useLayoutEffect:T.useEffect,N_=({children:t,custom:e,initial:n=!0,onExitComplete:i,presenceAffectsLayout:o=!0,mode:l="sync",propagate:c=!1})=>{const[d,f]=Cx(c),p=T.useMemo(()=>ly(t),[t]),m=c&&!d?[]:p.map(Ya),y=T.useRef(!0),x=T.useRef(p),S=Lf(()=>new Map),[E,b]=T.useState(p),[P,A]=T.useState(p);Ex(()=>{y.current=!1,x.current=p;for(let L=0;L<P.length;L++){const I=Ya(P[L]);m.includes(I)?S.delete(I):S.get(I)!==!0&&S.set(I,!1)}},[P,m.length,m.join("-")]);const R=[];if(p!==E){let L=[...p];for(let I=0;I<P.length;I++){const $=P[I],q=Ya($);m.includes(q)||(L.splice(I,0,$),R.push($))}l==="wait"&&R.length&&(L=R),A(ly(L)),b(p);return}const{forceRender:j}=T.useContext(If);return w.jsx(w.Fragment,{children:P.map(L=>{const I=Ya(L),$=c&&!d?!1:p===P||m.includes(I),q=()=>{if(S.has(I))S.set(I,!0);else return;let Z=!0;S.forEach(le=>{le||(Z=!1)}),Z&&(j?.(),A(x.current),c&&f?.(),i&&i())};return w.jsx(k_,{isPresent:$,initial:!y.current||n?void 0:!1,custom:$?void 0:e,presenceAffectsLayout:o,mode:l,onExitComplete:$?void 0:q,children:L},I)})})},Ut=t=>t;let _x=Ut;function zf(t){let e;return()=>(e===void 0&&(e=t()),e)}const Hs=(t,e,n)=>{const i=e-t;return i===0?1:(n-t)/i},qn=t=>t*1e3,Kn=t=>t/1e3,R_={useManualTiming:!1};function O_(t){let e=new Set,n=new Set,i=!1,o=!1;const l=new WeakSet;let c={delta:0,timestamp:0,isProcessing:!1};function d(p){l.has(p)&&(f.schedule(p),t()),p(c)}const f={schedule:(p,m=!1,y=!1)=>{const S=y&&i?e:n;
vendor: 28,525 bytes, line 16
16return m&&l.add(p),S.has(p)||S.add(p),p},cancel:p=>{n.delete(p),l.delete(p)},process:p=>{if(c=p,i){o=!0;return}i=!0,[e,n]=[n,e],e.forEach(d),e.clear(),i=!1,o&&(o=!1,f.process(p))}};return f}const Ja=["read","resolveKeyframes","update","preRender","render","postRender"],M_=40;function kx(t,e){let n=!1,i=!0;const o={delta:0,timestamp:0,isProcessing:!1},l=()=>n=!0,c=Ja.reduce((A,R)=>(A[R]=O_(l),A),{}),{read:d,resolveKeyframes:f,update:p,preRender:m,render:y,postRender:x}=c,S=()=>{const A=performance.now();n=!1,o.delta=i?1e3/60:Math.max(Math.min(A-o.timestamp,M_),1),o.timestamp=A,o.isProcessing=!0,d.process(o),f.process(o),p.process(o),m.process(o),y.process(o),x.process(o),o.isProcessing=!1,n&&e&&(i=!1,t(S))},E=()=>{n=!0,i=!0,o.isProcessing||t(S)};return{schedule:Ja.reduce((A,R)=>{const j=c[R];return A[R]=(L,I=!1,$=!1)=>(n||E(),j.schedule(L,I,$)),A},{}),cancel:A=>{for(let R=0;R<Ja.length;R++)c[Ja[R]].cancel(A)},state:o,steps:c}}const{schedule:Be,cancel:br,state:mt,steps:fd}=kx(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ut,!0),Ax=T.createContext({strict:!1}),uy={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"]},qs={};for(const t in uy)qs[t]={isEnabled:e=>uy[t].some(n=>!!e[n])};function j_(t){for(const e in t)qs[e]={...qs[e],...t[e]}}const D_=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 pl(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||D_.has(t)}let Nx=t=>!pl(t);function I_(t){t&&(Nx=e=>e.startsWith("on")?!pl(e):t(e))}try{I_(require("@emotion/is-prop-valid").default)}catch{}function L_(t,e,n){const i={};for(const o in t)o==="values"&&typeof t.values=="object"||(Nx(o)||n===!0&&pl(o)||!e&&!pl(o)||t.draggable&&o.startsWith("onDrag"))&&(i[o]=t[o]);return i}function V_(t){if(typeof Proxy>"u")return t;const e=new Map,n=(...i)=>t(...i);return new Proxy(n,{get:(i,o)=>o==="create"?t:(e.has(o)||e.set(o,t(o)),e.get(o))})}const ql=T.createContext({});function lo(t){return typeof t=="string"||Array.isArray(t)}function Kl(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const Bf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Uf=["initial",...Bf];function Ql(t){return Kl(t.animate)||Uf.some(e=>lo(t[e]))}function Rx(t){return!!(Ql(t)||t.variants)}function F_(t,e){if(Ql(t)){const{initial:n,animate:i}=t;return{initial:n===!1||lo(n)?n:void 0,animate:lo(i)?i:void 0}}return t.inherit!==!1?e:{}}function z_(t){const{initial:e,animate:n}=F_(t,T.useContext(ql));return T.useMemo(()=>({initial:e,animate:n}),[cy(e),cy(n)])}function cy(t){return Array.isArray(t)?t.join(" "):t}const B_=Symbol.for("motionComponentSymbol");function Ns(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function U_(t,e,n){return T.useCallback(i=>{i&&t.onMount&&t.onMount(i),e&&(i?e.mount(i):e.unmount()),n&&(typeof n=="function"?n(i):Ns(n)&&(n.current=i))},[e])}const $f=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),$_="framerAppearId",Ox="data-"+$f($_),{schedule:Wf}=kx(queueMicrotask,!1),Mx=T.createContext({});function W_(t,e,n,i,o){var l,c;const{visualElement:d}=T.useContext(ql),f=T.useContext(Ax),p=T.useContext(Hl),m=T.useContext(Vf).reducedMotion,y=T.useRef(null);i=i||f.renderer,!y.current&&i&&(y.current=i(t,{visualState:e,parent:d,props:n,presenceContext:p,blockInitialAnimation:p?p.initial===!1:!1,reducedMotionConfig:m}));const x=y.current,S=T.useContext(Mx);x&&!x.projection&&o&&(x.type==="html"||x.type==="svg")&&H_(y.current,n,o,S);const E=T.useRef(!1);T.useInsertionEffect(()=>{x&&E.current&&x.update(n,p)});const b=n[Ox],P=T.useRef(!!b&&!(!((l=window.MotionHandoffIsComplete)===null||l===void 0)&&l.call(window,b))&&((c=window.MotionHasOptimisedAnimation)===null||c===void 0?void 0:c.call(window,b)));return Ex(()=>{x&&(E.current=!0,window.MotionIsMounted=!0,x.updateFeatures(),Wf.render(x.render),P.current&&x.animationState&&x.animationState.animateChanges())}),T.useEffect(()=>{x&&(!P.current&&x.animationState&&x.animationState.animateChanges(),P.current&&(queueMicrotask(()=>{var A;(A=window.MotionHandoffMarkAsComplete)===null||A===void 0||A.call(window,b)}),P.current=!1))}),x}function H_(t,e,n,i){const{layoutId:o,layout:l,drag:c,dragConstraints:d,layoutScroll:f,layoutRoot:p}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:jx(t.parent)),t.projection.setOptions({layoutId:o,layout:l,alwaysMeasureLayout:!!c||d&&Ns(d),visualElement:t,animationType:typeof l=="string"?l:"both",initialPromotionConfig:i,layoutScroll:f,layoutRoot:p})}function jx(t){if(t)return t.options.allowProjection!==!1?t.projection:jx(t.parent)}function q_({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:i,Component:o}){var l,c;t&&j_(t);function d(p,m){let y;const x={...T.useContext(Vf),...p,layoutId:K_(p)},{isStatic:S}=x,E=z_(p),b=i(p,S);if(!S&&Ff){Q_();const P=Z_(x);y=P.MeasureLayout,E.visualElement=W_(o,b,x,e,P.ProjectionNode)}return w.jsxs(ql.Provider,{value:E,children:[y&&E.visualElement?w.jsx(y,{visualElement:E.visualElement,...x}):null,n(o,p,U_(b,E.visualElement,m),b,S,E.visualElement)]})}d.displayName=`motion.${typeof o=="string"?o:`create(${(c=(l=o.displayName)!==null&&l!==void 0?l:o.name)!==null&&c!==void 0?c:""})`}`;const f=T.forwardRef(d);return f[B_]=o,f}function K_({layoutId:t}){const e=T.useContext(If).id;return e&&t!==void 0?e+"-"+t:t}function Q_(t,e){T.useContext(Ax).strict}function Z_(t){const{drag:e,layout:n}=qs;if(!e&&!n)return{};const i={...e,...n};return{MeasureLayout:e?.isEnabled(t)||n?.isEnabled(t)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}const G_=["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 Hf(t){return typeof t!="string"||t.includes("-")?!1:!!(G_.indexOf(t)>-1||/[A-Z]/u.test(t))}function dy(t){const e=[{},{}];return t?.values.forEach((n,i)=>{e[0][i]=n.get(),e[1][i]=n.getVelocity()}),e}function qf(t,e,n,i){if(typeof e=="function"){const[o,l]=dy(i);e=e(n!==void 0?n:t.custom,o,l)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[o,l]=dy(i);e=e(n!==void 0?n:t.custom,o,l)}return e}const Hd=t=>Array.isArray(t),X_=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),Y_=t=>Hd(t)?t[t.length-1]||0:t,Tt=t=>!!(t&&t.getVelocity);function ol(t){const e=Tt(t)?t.get():t;return X_(e)?e.toValue():e}function J_({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:n},i,o,l){const c={latestValues:e2(i,o,l,t),renderState:e()};return n&&(c.onMount=d=>n({props:i,current:d,...c}),c.onUpdate=d=>n(d)),c}const Dx=t=>(e,n)=>{const i=T.useContext(ql),o=T.useContext(Hl),l=()=>J_(t,e,i,o);return n?l():Lf(l)};function e2(t,e,n,i){const o={},l=i(t,{});for(const x in l)o[x]=ol(l[x]);let{initial:c,animate:d}=t;const f=Ql(t),p=Rx(t);e&&p&&!f&&t.inherit!==!1&&(c===void 0&&(c=e.initial),d===void 0&&(d=e.animate));let m=n?n.initial===!1:!1;m=m||c===!1;const y=m?d:c;if(y&&typeof y!="boolean"&&!Kl(y)){const x=Array.isArray(y)?y:[y];for(let S=0;S<x.length;S++){const E=qf(t,x[S]);if(E){const{transitionEnd:b,transition:P,...A}=E;for(const R in A){let j=A[R];if(Array.isArray(j)){const L=m?j.length-1:0;j=j[L]}j!==null&&(o[R]=j)}for(const R in b)o[R]=b[R]}}}return o}const ei=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ts=new Set(ei),Ix=t=>e=>typeof e=="string"&&e.startsWith(t),Lx=Ix("--"),t2=Ix("var(--"),Kf=t=>t2(t)?n2.test(t.split("/*")[0].trim()):!1,n2=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Vx=(t,e)=>e&&typeof t=="number"?e.transform(t):t,Gn=(t,e,n)=>n>e?e:n<t?t:n,ti={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},uo={...ti,transform:t=>Gn(0,1,t)},el={...ti,default:1},Ro=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),xr=Ro("deg"),En=Ro("%"),fe=Ro("px"),r2=Ro("vh"),s2=Ro("vw"),fy={...En,parse:t=>En.parse(t)/100,transform:t=>En.transform(t*100)},i2={borderWidth:fe,borderTopWidth:fe,borderRightWidth:fe,borderBottomWidth:fe,borderLeftWidth:fe,borderRadius:fe,radius:fe,borderTopLeftRadius:fe,borderTopRightRadius:fe,borderBottomRightRadius:fe,borderBottomLeftRadius:fe,width:fe,maxWidth:fe,height:fe,maxHeight:fe,top:fe,right:fe,bottom:fe,left:fe,padding:fe,paddingTop:fe,paddingRight:fe,paddingBottom:fe,paddingLeft:fe,margin:fe,marginTop:fe,marginRight:fe,marginBottom:fe,marginLeft:fe,backgroundPositionX:fe,backgroundPositionY:fe},o2={rotate:xr,rotateX:xr,rotateY:xr,rotateZ:xr,scale:el,scaleX:el,scaleY:el,scaleZ:el,skew:xr,skewX:xr,skewY:xr,distance:fe,translateX:fe,translateY:fe,translateZ:fe,x:fe,y:fe,z:fe,perspective:fe,transformPerspective:fe,opacity:uo,originX:fy,originY:fy,originZ:fe},hy={...ti,transform:Math.round},Qf={...i2,...o2,zIndex:hy,size:fe,fillOpacity:uo,strokeOpacity:uo,numOctaves:hy},a2={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l2=ei.length;function u2(t,e,n){let i="",o=!0;for(let l=0;l<l2;l++){const c=ei[l],d=t[c];if(d===void 0)continue;let f=!0;if(typeof d=="number"?f=d===(c.startsWith("scale")?1:0):f=parseFloat(d)===0,!f||n){const p=Vx(d,Qf[c]);if(!f){o=!1;const m=a2[c]||c;i+=`${m}(${p}) `}n&&(e[c]=p)}}return i=i.trim(),n?i=n(e,o?"":i):o&&(i="none"),i}function Zf(t,e,n){const{style:i,vars:o,transformOrigin:l}=t;let c=!1,d=!1;for(const f in e){const p=e[f];if(ts.has(f)){c=!0;continue}else if(Lx(f)){o[f]=p;continue}else{const m=Vx(p,Qf[f]);f.startsWith("origin")?(d=!0,l[f]=m):i[f]=m}}if(e.transform||(c||n?i.transform=u2(e,t.transform,n):i.transform&&(i.transform="none")),d){const{originX:f="50%",originY:p="50%",originZ:m=0}=l;i.transformOrigin=`${f} ${p} ${m}`}}const c2={offset:"stroke-dashoffset",array:"stroke-dasharray"},d2={offset:"strokeDashoffset",array:"strokeDasharray"};function f2(t,e,n=1,i=0,o=!0){t.pathLength=1;const l=o?c2:d2;t[l.offset]=fe.transform(-i);const c=fe.transform(e),d=fe.transform(n);t[l.array]=`${c} ${d}`}function py(t,e,n){return typeof t=="string"?t:fe.transform(e+n*t)}function h2(t,e,n){const i=py(e,t.x,t.width),o=py(n,t.y,t.height);return`${i} ${o}`}function Gf(t,{attrX:e,attrY:n,attrScale:i,originX:o,originY:l,pathLength:c,pathSpacing:d=1,pathOffset:f=0,...p},m,y){if(Zf(t,p,y),m){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:x,style:S,dimensions:E}=t;x.transform&&(E&&(S.transform=x.transform),delete x.transform),E&&(o!==void 0||l!==void 0||S.transform)&&(S.transformOrigin=h2(E,o!==void 0?o:.5,l!==void 0?l:.5)),e!==void 0&&(x.x=e),n!==void 0&&(x.y=n),i!==void 0&&(x.scale=i),c!==void 0&&f2(x,c,d,f,!1)}const Xf=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),Fx=()=>({...Xf(),attrs:{}}),Yf=t=>typeof t=="string"&&t.toLowerCase()==="svg";function zx(t,{style:e,vars:n},i,o){Object.assign(t.style,e,o&&o.getProjectionStyles(i));for(const l in n)t.style.setProperty(l,n[l])}const Bx=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Ux(t,e,n,i){zx(t,e,void 0,i);for(const o in e.attrs)t.setAttribute(Bx.has(o)?o:$f(o),e.attrs[o])}const ml={};function p2(t){Object.assign(ml,t)}function $x(t,{layout:e,layoutId:n}){return ts.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!ml[t]||t==="opacity")}function Jf(t,e,n){var i;const{style:o}=t,l={};for(const c in o)(Tt(o[c])||e.style&&Tt(e.style[c])||$x(c,t)||((i=n?.getValue(c))===null||i===void 0?void 0:i.liveStyle)!==void 0)&&(l[c]=o[c]);return l}function Wx(t,e,n){const i=Jf(t,e,n);for(const o in t)if(Tt(t[o])||Tt(e[o])){const l=ei.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;i[l]=t[o]}return i}function m2(t,e){try{e.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{e.dimensions={x:0,y:0,width:0,height:0}}}const my=["x","y","width","height","cx","cy","r"],g2={useVisualState:Dx({scrapeMotionValuesFromProps:Wx,createRenderState:Fx,onUpdate:({props:t,prevProps:e,current:n,renderState:i,latestValues:o})=>{if(!n)return;let l=!!t.drag;if(!l){for(const d in o)if(ts.has(d)){l=!0;break}}if(!l)return;let c=!e;if(e)for(let d=0;d<my.length;d++){const f=my[d];t[f]!==e[f]&&(c=!0)}c&&Be.read(()=>{m2(n,i),Be.render(()=>{Gf(i,o,Yf(n.tagName),t.transformTemplate),Ux(n,i)})})}})},y2={useVisualState:Dx({scrapeMotionValuesFromProps:Jf,createRenderState:Xf})};function Hx(t,e,n){for(const i in e)!Tt(e[i])&&!$x(i,n)&&(t[i]=e[i])}function v2({transformTemplate:t},e){return T.useMemo(()=>{const n=Xf();return Zf(n,e,t),Object.assign({},n.vars,n.style)},[e])}function x2(t,e){const n=t.style||{},i={};return Hx(i,n,t),Object.assign(i,v2(t,e)),i}function w2(t,e){const n={},i=x2(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n}function S2(t,e,n,i){const o=T.useMemo(()=>{const l=Fx();return Gf(l,e,Yf(i),t.transformTemplate),{...l.attrs,style:{...l.style}}},[e]);if(t.style){const l={};Hx(l,t.style,t),o.style={...l,...o.style}}return o}function T2(t=!1){return(n,i,o,{latestValues:l},c)=>{const f=(Hf(n)?S2:w2)(i,l,c,n),p=L_(i,typeof n=="string",t),m=n!==T.Fragment?{...p,...f,ref:o}:{},{children:y}=i,x=T.useMemo(()=>Tt(y)?y.get():y,[y]);return T.createElement(n,{...m,children:x})}}function b2(t,e){return function(i,{forwardMotionProps:o}={forwardMotionProps:!1}){const c={...Hf(i)?g2:y2,preloadedFeatures:t,useRender:T2(o),createVisualElement:e,Component:i};return q_(c)}}function qx(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}function Zl(t,e,n){const i=t.getProps();return qf(i,e,n!==void 0?n:i.custom,t)}const P2=zf(()=>window.ScrollTimeline!==void 0);class C2{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}getAll(e){return this.animations[0][e]}setAll(e,n){for(let i=0;i<this.animations.length;i++)this.animations[i][e]=n}attachTimeline(e,n){const i=this.animations.map(o=>{if(P2()&&o.attachTimeline)return o.attachTimeline(e);if(typeof n=="function")return n(o)});return()=>{i.forEach((o,l)=>{o&&o(),this.animations[l].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let n=0;n<this.animations.length;n++)e=Math.max(e,this.animations[n].duration);return e}runAll(e){this.animations.forEach(n=>n[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class E2 extends C2{then(e,n){return Promise.all(this.animations).then(e).catch(n)}}function eh(t,e){return t?t[e]||t.default||t:void 0}const qd=2e4;function Kx(t){let e=0;const n=50;let i=t.next(e);for(;!i.done&&e<qd;)e+=n,i=t.next(e);return e>=qd?1/0:e}function th(t){return typeof t=="function"}function gy(t,e){t.timeline=e,t.onfinish=null}const nh=t=>Array.isArray(t)&&typeof t[0]=="number",_2={linearEasing:void 0};function k2(t,e){const n=zf(t);return()=>{var i;return(i=_2[e])!==null&&i!==void 0?i:n()}}const gl=k2(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Qx=(t,e,n=10)=>{let i="";const o=Math.max(Math.round(e/n),2);for(let l=0;l<o;l++)i+=t(Hs(0,o-1,l))+", ";return`linear(${i.substring(0,i.length-2)})`};function Zx(t){return!!(typeof t=="function"&&gl()||!t||typeof t=="string"&&(t in Kd||gl())||nh(t)||Array.isArray(t)&&t.every(Zx))}const Zi=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,Kd={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Zi([0,.65,.55,1]),circOut:Zi([.55,0,1,.45]),backIn:Zi([.31,.01,.66,-.59]),backOut:Zi([.33,1.53,.69,.99])};function Gx(t,e){if(t)return typeof t=="function"&&gl()?Qx(t,e):nh(t)?Zi(t):Array.isArray(t)?t.map(n=>Gx(n,e)||Kd.easeOut):Kd[t]}const un={x:!1,y:!1};function Xx(){return un.x||un.y}function A2(t,e,n){var i;if(t instanceof Element)return[t];if(typeof t=="string"){let o=document;const l=(i=void 0)!==null&&i!==void 0?i:o.querySelectorAll(t);return l?Array.from(l):[]}return Array.from(t)}function Yx(t,e){const n=A2(t),i=new AbortController,o={passive:!0,...e,signal:i.signal};return[n,o,()=>i.abort()]}function yy(t){return e=>{e.pointerType==="touch"||Xx()||t(e)}}function N2(t,e,n={}){const[i,o,l]=Yx(t,n),c=yy(d=>{const{target:f}=d,p=e(d);if(typeof p!="function"||!f)return;const m=yy(y=>{p(y),f.removeEventListener("pointerleave",m)});f.addEventListener("pointerleave",m,o)});return i.forEach(d=>{d.addEventListener("pointerenter",c,o)}),l}const Jx=(t,e)=>e?t===e?!0:Jx(t,e.parentElement):!1,rh=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,R2=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function O2(t){return R2.has(t.tagName)||t.tabIndex!==-1}const Gi=new WeakSet;function vy(t){return e=>{e.key==="Enter"&&t(e)}}function hd(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const M2=(t,e)=>{const n=t.currentTarget;if(!n)return;const i=vy(()=>{if(Gi.has(n))return;hd(n,"down");const o=vy(()=>{hd(n,"up")}),l=()=>hd(n,"cancel");n.addEventListener("keyup",o,e),n.addEventListener("blur",l,e)});n.addEventListener("keydown",i,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),e)};function xy(t){return rh(t)&&!Xx()}function j2(t,e,n={}){const[i,o,l]=Yx(t,n),c=d=>{const f=d.currentTarget;if(!xy(d)||Gi.has(f))return;Gi.add(f);const p=e(d),m=(S,E)=>{window.removeEventListener("pointerup",y),window.removeEventListener("pointercancel",x),!(!xy(S)||!Gi.has(f))&&(Gi.delete(f),typeof p=="function"&&p(S,{success:E}))},y=S=>{m(S,n.useGlobalTarget||Jx(f,S.target))},x=S=>{m(S,!1)};window.addEventListener("pointerup",y,o),window.addEventListener("pointercancel",x,o)};return i.forEach(d=>{!O2(d)&&d.getAttribute("tabindex")===null&&(d.tabIndex=0),(n.useGlobalTarget?window:d).addEventListener("pointerdown",c,o),d.addEventListener("focus",p=>M2(p,o),o)}),l}function D2(t){return t==="x"||t==="y"?un[t]?null:(un[t]=!0,()=>{un[t]=!1}):un.x||un.y?null:(un.x=un.y=!0,()=>{un.x=un.y=!1})}const ew=new Set(["width","height","top","left","right","bottom",...ei]);let al;function I2(){al=void 0}const _n={now:()=>(al===void 0&&_n.set(mt.isProcessing||R_.useManualTiming?mt.timestamp:performance.now()),al),set:t=>{al=t,queueMicrotask(I2)}};function sh(t,e){t.indexOf(e)===-1&&t.push(e)}function ih(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class oh{constructor(){this.subscriptions=[]}add(e){return sh(this.subscriptions,e),()=>ih(this.subscriptions,e)}notify(e,n,i){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](e,n,i);else for(let l=0;l<o;l++){const c=this.subscriptions[l];c&&c(e,n,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function tw(t,e){return e?t*(1e3/e):0}const wy=30,L2=t=>!isNaN(parseFloat(t));class V2{constructor(e,n={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(i,o=!0)=>{const l=_n.now();this.updatedAt!==l&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=_n.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=L2(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new oh);const i=this.events[e].add(n);return e==="change"?()=>{i(),Be.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,n,i){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=_n.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>wy)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,wy);return tw(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function co(t,e){return new V2(t,e)}function F2(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,co(n))}function z2(t,e){const n=Zl(t,e);let{transitionEnd:i={},transition:o={},...l}=n||{};l={...l,...i};for(const c in l){const d=Y_(l[c]);F2(t,c,d)}}function B2(t){return!!(Tt(t)&&t.add)}function Qd(t,e){const n=t.getValue("willChange");if(B2(n))return n.add(e)}function nw(t){return t.props[Ox]}const rw=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,U2=1e-7,$2=12;function W2(t,e,n,i,o){let l,c,d=0;do c=e+(n-e)/2,l=rw(c,i,o)-t,l>0?n=c:e=c;while(Math.abs(l)>U2&&++d<$2);return c}function Oo(t,e,n,i){if(t===e&&n===i)return Ut;const o=l=>W2(l,0,1,t,n);return l=>l===0||l===1?l:rw(o(l),e,i)}const sw=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,iw=t=>e=>1-t(1-e),ow=Oo(.33,1.53,.69,.99),ah=iw(ow),aw=sw(ah),lw=t=>(t*=2)<1?.5*ah(t):.5*(2-Math.pow(2,-10*(t-1))),lh=t=>1-Math.sin(Math.acos(t)),uw=iw(lh),cw=sw(lh),dw=t=>/^0[^.\s]+$/u.test(t);function H2(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||dw(t):!0}const to=t=>Math.round(t*1e5)/1e5,uh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function q2(t){return t==null}const K2=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ch=(t,e)=>n=>!!(typeof n=="string"&&K2.test(n)&&n.startsWith(t)||e&&!q2(n)&&Object.prototype.hasOwnProperty.call(n,e)),fw=(t,e,n)=>i=>{if(typeof i!="string")return i;const[o,l,c,d]=i.match(uh);return{[t]:parseFloat(o),[e]:parseFloat(l),[n]:parseFloat(c),alpha:d!==void 0?parseFloat(d):1}},Q2=t=>Gn(0,255,t),pd={...ti,transform:t=>Math.round(Q2(t))},qr={test:ch("rgb","red"),parse:fw("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+pd.transform(t)+", "+pd.transform(e)+", "+pd.transform(n)+", "+to(uo.transform(i))+")"};function Z2(t){let e="",n="",i="",o="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),o=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),o=t.substring(4,5),e+=e,n+=n,i+=i,o+=o),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:o?parseInt(o,16)/255:1}}const Zd={test:ch("#"),parse:Z2,transform:qr.transform},Rs={test:ch("hsl","hue"),parse:fw("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+En.transform(to(e))+", "+En.transform(to(n))+", "+to(uo.transform(i))+")"},St={test:t=>qr.test(t)||Zd.test(t)||Rs.test(t),parse:t=>qr.test(t)?qr.parse(t):Rs.test(t)?Rs.parse(t):Zd.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?qr.transform(t):Rs.transform(t)},G2=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function X2(t){var e,n;return isNaN(t)&&typeof t=="string"&&(((e=t.match(uh))===null||e===void 0?void 0:e.length)||0)+(((n=t.match(G2))===null||n===void 0?void 0:n.length)||0)>0}const hw="number",pw="color",Y2="var",J2="var(",Sy="${}",ek=/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 fo(t){const e=t.toString(),n=[],i={color:[],number:[],var:[]},o=[];let l=0;const d=e.replace(ek,f=>(St.test(f)?(i.color.push(l),o.push(pw),n.push(St.parse(f))):f.startsWith(J2)?(i.var.push(l),o.push(Y2),n.push(f)):(i.number.push(l),o.push(hw),n.push(parseFloat(f))),++l,Sy)).split(Sy);return{values:n,split:d,indexes:i,types:o}}function mw(t){return fo(t).values}function gw(t){const{split:e,types:n}=fo(t),i=e.length;return o=>{let l="";for(let c=0;c<i;c++)if(l+=e[c],o[c]!==void 0){const d=n[c];d===hw?l+=to(o[c]):d===pw?l+=St.transform(o[c]):l+=o[c]}return l}}const tk=t=>typeof t=="number"?0:t;function nk(t){const e=mw(t);return gw(t)(e.map(tk))}const Pr={test:X2,parse:mw,createTransformer:gw,getAnimatableNone:nk},rk=new Set(["brightness","contrast","saturate","opacity"]);function sk(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[i]=n.match(uh)||[];if(!i)return t;const o=n.replace(i,"");let l=rk.has(e)?1:0;return i!==n&&(l*=100),e+"("+l+o+")"}const ik=/\b([a-z-]*)\(.*?\)/gu,Gd={...Pr,getAnimatableNone:t=>{const e=t.match(ik);return e?e.map(sk).join(" "):t}},ok={...Qf,color:St,backgroundColor:St,outlineColor:St,fill:St,stroke:St,borderColor:St,borderTopColor:St,borderRightColor:St,borderBottomColor:St,borderLeftColor:St,filter:Gd,WebkitFilter:Gd},dh=t=>ok[t];function yw(t,e){let n=dh(t);return n!==Gd&&(n=Pr),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const ak=new Set(["auto","none","0"]);function lk(t,e,n){let i=0,o;for(;i<t.length&&!o;){const l=t[i];typeof l=="string"&&!ak.has(l)&&fo(l).values.length&&(o=t[i]),i++}if(o&&n)for(const l of e)t[l]=yw(n,o)}const Ty=t=>t===ti||t===fe,by=(t,e)=>parseFloat(t.split(", ")[e]),Py=(t,e)=>(n,{transform:i})=>{if(i==="none"||!i)return 0;const o=i.match(/^matrix3d\((.+)\)$/u);if(o)return by(o[1],e);{const l=i.match(/^matrix\((.+)\)$/u);return l?by(l[1],t):0}},uk=new Set(["x","y","z"]),ck=ei.filter(t=>!uk.has(t));function dk(t){const e=[];return ck.forEach(n=>{const i=t.getValue(n);i!==void 0&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}const Ks={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:Py(4,13),y:Py(5,14)};Ks.translateX=Ks.x;Ks.translateY=Ks.y;const Kr=new Set;let Xd=!1,Yd=!1;function vw(){if(Yd){const t=Array.from(Kr).filter(i=>i.needsMeasurement),e=new Set(t.map(i=>i.element)),n=new Map;e.forEach(i=>
vendor: 3,406 bytes, line 16
16{const o=dk(i);o.length&&(n.set(i,o),i.render())}),t.forEach(i=>i.measureInitialState()),e.forEach(i=>{i.render();const o=n.get(i);o&&o.forEach(([l,c])=>{var d;(d=i.getValue(l))===null||d===void 0||d.set(c)})}),t.forEach(i=>i.measureEndState()),t.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}Yd=!1,Xd=!1,Kr.forEach(t=>t.complete()),Kr.clear()}function xw(){Kr.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Yd=!0)})}function fk(){xw(),vw()}class fh{constructor(e,n,i,o,l,c=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=i,this.motionValue=o,this.element=l,this.isAsync=c}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Kr.add(this),Xd||(Xd=!0,Be.read(xw),Be.resolveKeyframes(vw))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:i,motionValue:o}=this;for(let l=0;l<e.length;l++)if(e[l]===null)if(l===0){const c=o?.get(),d=e[e.length-1];if(c!==void 0)e[0]=c;else if(i&&n){const f=i.readValue(n,d);f!=null&&(e[0]=f)}e[0]===void 0&&(e[0]=d),o&&c===void 0&&o.set(e[0])}else e[l]=e[l-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Kr.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Kr.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const ww=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),hk=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function pk(t){const e=hk.exec(t);if(!e)return[,];const[,n,i,o]=e;return[`--${n??i}`,o]}function Sw(t,e,n=1){const[i,o]=pk(t);if(!i)return;const l=window.getComputedStyle(e).getPropertyValue(i);if(l){const c=l.trim();return ww(c)?parseFloat(c):c}return Kf(o)?Sw(o,e,n+1):o}const Tw=t=>e=>e.test(t),mk={test:t=>t==="auto",parse:t=>t},bw=[ti,fe,En,xr,s2,r2,mk],Cy=t=>bw.find(Tw(t));class Pw extends fh{constructor(e,n,i,o,l){super(e,n,i,o,l,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:n,name:i}=this;if(!n||!n.current)return;super.readKeyframes();for(let f=0;f<e.length;f++){let p=e[f];if(typeof p=="string"&&(p=p.trim(),Kf(p))){const m=Sw(p,n.current);m!==void 0&&(e[f]=m),f===e.length-1&&(this.finalKeyframe=p)}}if(this.resolveNoneKeyframes(),!ew.has(i)||e.length!==2)return;const[o,l]=e,c=Cy(o),d=Cy(l);if(c!==d)if(Ty(c)&&Ty(d))for(let f=0;f<e.length;f++){const p=e[f];typeof p=="string"&&(e[f]=parseFloat(p))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:n}=this,i=[];for(let o=0;o<e.length;o++)H2(e[o])&&i.push(o);i.length&&lk(e,i,n)}measureInitialState(){const{element:e,unresolvedKeyframes:n,name:i}=this;if(!e||!e.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ks[i](e.measureViewportBox(),window.getComputedStyle(e.current)),n[0]=this.measuredOrigin;const o=n[n.length-1];o!==void 0&&e.getValue(i,o).jump(o,!1)}measureEndState(){var e;const{element:n,name:i,unresolvedKeyframes:o}=this;if(!n||!n.current)return;const l=n.getValue(i);l&&l.jump(this.measuredOrigin,!1);const c=o.length-1,d=o[c];o[c]=Ks[i](n.measureViewportBox(),window.getComputedStyle(n.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),!((e=this.removedTransforms)===null||e===void 0)&&e.length&&this.removedTransforms.forEac
vendor: 66,235 bytes, line 16
16h(([f,p])=>{n.getValue(f).set(p)}),this.resolveNoneKeyframes()}}const Ey=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Pr.test(t)||t==="0")&&!t.startsWith("url("));function gk(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}function yk(t,e,n,i){const o=t[0];if(o===null)return!1;if(e==="display"||e==="visibility")return!0;const l=t[t.length-1],c=Ey(o,e),d=Ey(l,e);return!c||!d?!1:gk(t)||(n==="spring"||th(n))&&i}const vk=t=>t!==null;function Gl(t,{repeat:e,repeatType:n="loop"},i){const o=t.filter(vk),l=e&&n!=="loop"&&e%2===1?0:o.length-1;return!l||i===void 0?o[l]:i}const xk=40;class Cw{constructor({autoplay:e=!0,delay:n=0,type:i="keyframes",repeat:o=0,repeatDelay:l=0,repeatType:c="loop",...d}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=_n.now(),this.options={autoplay:e,delay:n,type:i,repeat:o,repeatDelay:l,repeatType:c,...d},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>xk?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&fk(),this._resolved}onKeyframesResolved(e,n){this.resolvedAt=_n.now(),this.hasAttemptedResolve=!0;const{name:i,type:o,velocity:l,delay:c,onComplete:d,onUpdate:f,isGenerator:p}=this.options;if(!p&&!yk(e,i,o,l))if(c)this.options.duration=0;else{f&&f(Gl(e,this.options,n)),d&&d(),this.resolveFinishedPromise();return}const m=this.initPlayback(e,n);m!==!1&&(this._resolved={keyframes:e,finalKeyframe:n,...m},this.onPostResolved())}onPostResolved(){}then(e,n){return this.currentFinishedPromise.then(e,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}const Ze=(t,e,n)=>t+(e-t)*n;function md(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function wk({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,e/=100,n/=100;let o=0,l=0,c=0;if(!e)o=l=c=n;else{const d=n<.5?n*(1+e):n+e-n*e,f=2*n-d;o=md(f,d,t+1/3),l=md(f,d,t),c=md(f,d,t-1/3)}return{red:Math.round(o*255),green:Math.round(l*255),blue:Math.round(c*255),alpha:i}}function yl(t,e){return n=>n>0?e:t}const gd=(t,e,n)=>{const i=t*t,o=n*(e*e-i)+i;return o<0?0:Math.sqrt(o)},Sk=[Zd,qr,Rs],Tk=t=>Sk.find(e=>e.test(t));function _y(t){const e=Tk(t);if(!e)return!1;let n=e.parse(t);return e===Rs&&(n=wk(n)),n}const ky=(t,e)=>{const n=_y(t),i=_y(e);if(!n||!i)return yl(t,e);const o={...n};return l=>(o.red=gd(n.red,i.red,l),o.green=gd(n.green,i.green,l),o.blue=gd(n.blue,i.blue,l),o.alpha=Ze(n.alpha,i.alpha,l),qr.transform(o))},bk=(t,e)=>n=>e(t(n)),Mo=(...t)=>t.reduce(bk),Jd=new Set(["none","hidden"]);function Pk(t,e){return Jd.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function Ck(t,e){return n=>Ze(t,e,n)}function hh(t){return typeof t=="number"?Ck:typeof t=="string"?Kf(t)?yl:St.test(t)?ky:kk:Array.isArray(t)?Ew:typeof t=="object"?St.test(t)?ky:Ek:yl}function Ew(t,e){const n=[...t],i=n.length,o=t.map((l,c)=>hh(l)(l,e[c]));return l=>{for(let c=0;c<i;c++)n[c]=o[c](l);return n}}function Ek(t,e){const n={...t,...e},i={};for(const o in n)t[o]!==void 0&&e[o]!==void 0&&(i[o]=hh(t[o])(t[o],e[o]));return o=>{for(const l in i)n[l]=i[l](o);return n}}function _k(t,e){var n;const i=[],o={color:0,var:0,number:0};for(let l=0;l<e.values.length;l++){const c=e.types[l],d=t.indexes[c][o[c]],f=(n=t.values[d])!==null&&n!==void 0?n:0;i[l]=f,o[c]++}return i}const kk=(t,e)=>{const n=Pr.createTransformer(e),i=fo(t),o=fo(e);return i.indexes.var.length===o.indexes.var.length&&i.indexes.color.length===o.indexes.color.length&&i.indexes.number.length>=o.indexes.number.length?Jd.has(t)&&!o.values.length||Jd.has(e)&&!i.values.length?Pk(t,e):Mo(Ew(_k(i,o),o.values),n):yl(t,e)};function _w(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?Ze(t,e,n):hh(t)(t,e)}const Ak=5;function kw(t,e,n){const i=Math.max(e-Ak,0);return tw(n-t(i),e-i)}const Xe={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},yd=.001;function Nk({duration:t=Xe.duration,bounce:e=Xe.bounce,velocity:n=Xe.velocity,mass:i=Xe.mass}){let o,l,c=1-e;c=Gn(Xe.minDamping,Xe.maxDamping,c),t=Gn(Xe.minDuration,Xe.maxDuration,Kn(t)),c<1?(o=p=>{const m=p*c,y=m*t,x=m-n,S=ef(p,c),E=Math.exp(-y);return yd-x/S*E},l=p=>{const y=p*c*t,x=y*n+n,S=Math.pow(c,2)*Math.pow(p,2)*t,E=Math.exp(-y),b=ef(Math.pow(p,2),c);return(-o(p)+yd>0?-1:1)*((x-S)*E)/b}):(o=p=>{const m=Math.exp(-p*t),y=(p-n)*t+1;return-yd+m*y},l=p=>{const m=Math.exp(-p*t),y=(n-p)*(t*t);return m*y});const d=5/t,f=Ok(o,l,d);if(t=qn(t),isNaN(f))return{stiffness:Xe.stiffness,damping:Xe.damping,duration:t};{const p=Math.pow(f,2)*i;return{stiffness:p,damping:c*2*Math.sqrt(i*p),duration:t}}}const Rk=12;function Ok(t,e,n){let i=n;for(let o=1;o<Rk;o++)i=i-t(i)/e(i);return i}function ef(t,e){return t*Math.sqrt(1-e*e)}const Mk=["duration","bounce"],jk=["stiffness","damping","mass"];function Ay(t,e){return e.some(n=>t[n]!==void 0)}function Dk(t){let e={velocity:Xe.velocity,stiffness:Xe.stiffness,damping:Xe.damping,mass:Xe.mass,isResolvedFromDuration:!1,...t};if(!Ay(t,jk)&&Ay(t,Mk))if(t.visualDuration){const n=t.visualDuration,i=2*Math.PI/(n*1.2),o=i*i,l=2*Gn(.05,1,1-(t.bounce||0))*Math.sqrt(o);e={...e,mass:Xe.mass,stiffness:o,damping:l}}else{const n=Nk(t);e={...e,...n,mass:Xe.mass},e.isResolvedFromDuration=!0}return e}function Aw(t=Xe.visualDuration,e=Xe.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:i,restDelta:o}=n;const l=n.keyframes[0],c=n.keyframes[n.keyframes.length-1],d={done:!1,value:l},{stiffness:f,damping:p,mass:m,duration:y,velocity:x,isResolvedFromDuration:S}=Dk({...n,velocity:-Kn(n.velocity||0)}),E=x||0,b=p/(2*Math.sqrt(f*m)),P=c-l,A=Kn(Math.sqrt(f/m)),R=Math.abs(P)<5;i||(i=R?Xe.restSpeed.granular:Xe.restSpeed.default),o||(o=R?Xe.restDelta.granular:Xe.restDelta.default);let j;if(b<1){const I=ef(A,b);j=$=>{const q=Math.exp(-b*A*$);return c-q*((E+b*A*P)/I*Math.sin(I*$)+P*Math.cos(I*$))}}else if(b===1)j=I=>c-Math.exp(-A*I)*(P+(E+A*P)*I);else{const I=A*Math.sqrt(b*b-1);j=$=>{const q=Math.exp(-b*A*$),Z=Math.min(I*$,300);return c-q*((E+b*A*P)*Math.sinh(Z)+I*P*Math.cosh(Z))/I}}const L={calculatedDuration:S&&y||null,next:I=>{const $=j(I);if(S)d.done=I>=y;else{let q=0;b<1&&(q=I===0?qn(E):kw(j,I,$));const Z=Math.abs(q)<=i,le=Math.abs(c-$)<=o;d.done=Z&&le}return d.value=d.done?c:$,d},toString:()=>{const I=Math.min(Kx(L),qd),$=Qx(q=>L.next(I*q).value,I,30);return I+"ms "+$}};return L}function Ny({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:o=10,bounceStiffness:l=500,modifyTarget:c,min:d,max:f,restDelta:p=.5,restSpeed:m}){const y=t[0],x={done:!1,value:y},S=Z=>d!==void 0&&Z<d||f!==void 0&&Z>f,E=Z=>d===void 0?f:f===void 0||Math.abs(d-Z)<Math.abs(f-Z)?d:f;let b=n*e;const P=y+b,A=c===void 0?P:c(P);A!==P&&(b=A-y);const R=Z=>-b*Math.exp(-Z/i),j=Z=>A+R(Z),L=Z=>{const le=R(Z),ue=j(Z);x.done=Math.abs(le)<=p,x.value=x.done?A:ue};let I,$;const q=Z=>{S(x.value)&&(I=Z,$=Aw({keyframes:[x.value,E(x.value)],velocity:kw(j,Z,x.value),damping:o,stiffness:l,restDelta:p,restSpeed:m}))};return q(0),{calculatedDuration:null,next:Z=>{let le=!1;return!$&&I===void 0&&(le=!0,L(Z),q(Z)),I!==void 0&&Z>=I?$.next(Z-I):(!le&&L(Z),x)}}}const Ik=Oo(.42,0,1,1),Lk=Oo(0,0,.58,1),Nw=Oo(.42,0,.58,1),Vk=t=>Array.isArray(t)&&typeof t[0]!="number",Fk={linear:Ut,easeIn:Ik,easeInOut:Nw,easeOut:Lk,circIn:lh,circInOut:cw,circOut:uw,backIn:ah,backInOut:aw,backOut:ow,anticipate:lw},Ry=t=>{if(nh(t)){_x(t.length===4);const[e,n,i,o]=t;return Oo(e,n,i,o)}else if(typeof t=="string")return Fk[t];return t};function zk(t,e,n){const i=[],o=n||_w,l=t.length-1;for(let c=0;c<l;c++){let d=o(t[c],t[c+1]);if(e){const f=Array.isArray(e)?e[c]||Ut:e;d=Mo(f,d)}i.push(d)}return i}function Bk(t,e,{clamp:n=!0,ease:i,mixer:o}={}){const l=t.length;if(_x(l===e.length),l===1)return()=>e[0];if(l===2&&e[0]===e[1])return()=>e[1];const c=t[0]===t[1];t[0]>t[l-1]&&(t=[...t].reverse(),e=[...e].reverse());const d=zk(e,i,o),f=d.length,p=m=>{if(c&&m<t[0])return e[0];let y=0;if(f>1)for(;y<t.length-2&&!(m<t[y+1]);y++);const x=Hs(t[y],t[y+1],m);return d[y](x)};return n?m=>p(Gn(t[0],t[l-1],m)):p}function Uk(t,e){const n=t[t.length-1];for(let i=1;i<=e;i++){const o=Hs(0,e,i);t.push(Ze(n,1,o))}}function $k(t){const e=[0];return Uk(e,t.length-1),e}function Wk(t,e){return t.map(n=>n*e)}function Hk(t,e){return t.map(()=>e||Nw).splice(0,t.length-1)}function vl({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){const o=Vk(i)?i.map(Ry):Ry(i),l={done:!1,value:e[0]},c=Wk(n&&n.length===e.length?n:$k(e),t),d=Bk(c,e,{ease:Array.isArray(o)?o:Hk(e,o)});return{calculatedDuration:t,next:f=>(l.value=d(f),l.done=f>=t,l)}}const qk=t=>{const e=({timestamp:n})=>t(n);return{start:()=>Be.update(e,!0),stop:()=>br(e),now:()=>mt.isProcessing?mt.timestamp:_n.now()}},Kk={decay:Ny,inertia:Ny,tween:vl,keyframes:vl,spring:Aw},Qk=t=>t/100;class ph extends Cw{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:f}=this.options;f&&f()};const{name:n,motionValue:i,element:o,keyframes:l}=this.options,c=o?.KeyframeResolver||fh,d=(f,p)=>this.onKeyframesResolved(f,p);this.resolver=new c(l,d,n,i,o),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:n="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:l,velocity:c=0}=this.options,d=th(n)?n:Kk[n]||vl;let f,p;d!==vl&&typeof e[0]!="number"&&(f=Mo(Qk,_w(e[0],e[1])),e=[0,100]);const m=d({...this.options,keyframes:e});l==="mirror"&&(p=d({...this.options,keyframes:[...e].reverse(),velocity:-c})),m.calculatedDuration===null&&(m.calculatedDuration=Kx(m));const{calculatedDuration:y}=m,x=y+o,S=x*(i+1)-o;return{generator:m,mirroredGenerator:p,mapPercentToKeyframes:f,calculatedDuration:y,resolvedDuration:x,totalDuration:S}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,n=!1){const{resolved:i}=this;if(!i){const{keyframes:Z}=this.options;return{done:!0,value:Z[Z.length-1]}}const{finalKeyframe:o,generator:l,mirroredGenerator:c,mapPercentToKeyframes:d,keyframes:f,calculatedDuration:p,totalDuration:m,resolvedDuration:y}=i;if(this.startTime===null)return l.next(0);const{delay:x,repeat:S,repeatType:E,repeatDelay:b,onUpdate:P}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-m/this.speed,this.startTime)),n?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const A=this.currentTime-x*(this.speed>=0?1:-1),R=this.speed>=0?A<0:A>m;this.currentTime=Math.max(A,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=m);let j=this.currentTime,L=l;if(S){const Z=Math.min(this.currentTime,m)/y;let le=Math.floor(Z),ue=Z%1;!ue&&Z>=1&&(ue=1),ue===1&&le--,le=Math.min(le,S+1),le%2&&(E==="reverse"?(ue=1-ue,b&&(ue-=b/y)):E==="mirror"&&(L=c)),j=Gn(0,1,ue)*y}const I=R?{done:!1,value:f[0]}:L.next(j);d&&(I.value=d(I.value));let{done:$}=I;!R&&p!==null&&($=this.speed>=0?this.currentTime>=m:this.currentTime<=0);const q=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&$);return q&&o!==void 0&&(I.value=Gl(f,this.options,o)),P&&P(I.value),q&&this.finish(),I}get duration(){const{resolved:e}=this;return e?Kn(e.calculatedDuration):0}get time(){return Kn(this.currentTime)}set time(e){e=qn(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=Kn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:e=qk,onPlay:n,startTime:i}=this.options;this.driver||(this.driver=e(l=>this.tick(l))),n&&n();const o=this.driver.now();this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=o):this.startTime=i??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const Zk=new Set(["opacity","clipPath","filter","transform"]);function Gk(t,e,n,{delay:i=0,duration:o=300,repeat:l=0,repeatType:c="loop",ease:d="easeInOut",times:f}={}){const p={[e]:n};f&&(p.offset=f);const m=Gx(d,o);return Array.isArray(m)&&(p.easing=m),t.animate(p,{delay:i,duration:o,easing:Array.isArray(m)?"linear":m,fill:"both",iterations:l+1,direction:c==="reverse"?"alternate":"normal"})}const Xk=zf(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),xl=10,Yk=2e4;function Jk(t){return th(t.type)||t.type==="spring"||!Zx(t.ease)}function eA(t,e){const n=new ph({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let i={done:!1,value:t[0]};const o=[];let l=0;for(;!i.done&&l<Yk;)i=n.sample(l),o.push(i.value),l+=xl;return{times:void 0,keyframes:o,duration:l-xl,ease:"linear"}}const Rw={anticipate:lw,backInOut:aw,circInOut:cw};function tA(t){return t in Rw}class Oy extends Cw{constructor(e){super(e);const{name:n,motionValue:i,element:o,keyframes:l}=this.options;this.resolver=new Pw(l,(c,d)=>this.onKeyframesResolved(c,d),n,i,o),this.resolver.scheduleResolve()}initPlayback(e,n){let{duration:i=300,times:o,ease:l,type:c,motionValue:d,name:f,startTime:p}=this.options;if(!d.owner||!d.owner.current)return!1;if(typeof l=="string"&&gl()&&tA(l)&&(l=Rw[l]),Jk(this.options)){const{onComplete:y,onUpdate:x,motionValue:S,element:E,...b}=this.options,P=eA(e,b);e=P.keyframes,e.length===1&&(e[1]=e[0]),i=P.duration,o=P.times,l=P.ease,c="keyframes"}const m=Gk(d.owner.current,f,e,{...this.options,duration:i,times:o,ease:l});return m.startTime=p??this.calcStartTime(),this.pendingTimeline?(gy(m,this.pendingTimeline),this.pendingTimeline=void 0):m.onfinish=()=>{const{onComplete:y}=this.options;d.set(Gl(e,this.options,n)),y&&y(),this.cancel(),this.resolveFinishedPromise()},{animation:m,duration:i,times:o,type:c,ease:l,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:n}=e;return Kn(n)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:n}=e;return Kn(n.currentTime||0)}set time(e){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.currentTime=qn(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:n}=e;return n.playbackRate}set speed(e){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:n}=e;return n.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:n}=e;return n.startTime}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{const{resolved:n}=this;if(!n)return Ut;const{animation:i}=n;gy(i,e)}return Ut}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:n,keyframes:i,duration:o,type:l,ease:c,times:d}=e;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:p,onUpdate:m,onComplete:y,element:x,...S}=this.options,E=new ph({...S,keyframes:i,duration:o,type:l,ease:c,times:d,isGenerator:!0}),b=qn(this.time);p.setWithVelocity(E.sample(b-xl).value,E.sample(b).value,xl)}const{onStop:f}=this.options;f&&f(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:n,name:i,repeatDelay:o,repeatType:l,damping:c,type:d}=e;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;const{onUpdate:f,transformTemplate:p}=n.owner.getProps();return Xk()&&i&&Zk.has(i)&&!f&&!p&&!o&&l!=="mirror"&&c!==0&&d!=="inertia"}}const nA={type:"spring",stiffness:500,damping:25,restSpeed:10},rA=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),sA={type:"keyframes",duration:.8},iA={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},oA=(t,{keyframes:e})=>e.length>2?sA:ts.has(t)?t.startsWith("scale")?rA(e[1]):nA:iA;function aA({when:t,delay:e,delayChildren:n,staggerChildren:i,staggerDirection:o,repeat:l,repeatType:c,repeatDelay:d,from:f,elapsed:p,...m}){return!!Object.keys(m).length}const mh=(t,e,n,i={},o,l)=>c=>{const d=eh(i,t)||{},f=d.delay||i.delay||0;let{elapsed:p=0}=i;p=p-qn(f);let m={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...d,delay:-p,onUpdate:x=>{e.set(x),d.onUpdate&&d.onUpdate(x)},onComplete:()=>{c(),d.onComplete&&d.onComplete()},name:t,motionValue:e,element:l?void 0:o};aA(d)||(m={...m,...oA(t,m)}),m.duration&&(m.duration=qn(m.duration)),m.repeatDelay&&(m.repeatDelay=qn(m.repeatDelay)),m.from!==void 0&&(m.keyframes[0]=m.from);let y=!1;if((m.type===!1||m.duration===0&&!m.repeatDelay)&&(m.duration=0,m.delay===0&&(y=!0)),y&&!l&&e.get()!==void 0){const x=Gl(m.keyframes,d);if(x!==void 0)return Be.update(()=>{m.onUpdate(x),m.onComplete()}),new E2([])}return!l&&Oy.supports(m)?new Oy(m):new ph(m)};function lA({protectedKeys:t,needsAnimating:e},n){const i=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,i}function Ow(t,e,{delay:n=0,transitionOverride:i,type:o}={}){var l;let{transition:c=t.getDefaultTransition(),transitionEnd:d,...f}=e;i&&(c=i);const p=[],m=o&&t.animationState&&t.animationState.getState()[o];for(const y in f){const x=t.getValue(y,(l=t.latestValues[y])!==null&&l!==void 0?l:null),S=f[y];if(S===void 0||m&&lA(m,y))continue;const E={delay:n,...eh(c||{},y)};let b=!1;if(window.MotionHandoffAnimation){const A=nw(t);if(A){const R=window.MotionHandoffAnimation(A,y,Be);R!==null&&(E.startTime=R,b=!0)}}Qd(t,y),x.start(mh(y,x,S,t.shouldReduceMotion&&ew.has(y)?{type:!1}:E,t,b));const P=x.animation;P&&p.push(P)}return d&&Promise.all(p).then(()=>{Be.update(()=>{d&&z2(t,d)})}),p}function tf(t,e,n={}){var i;const o=Zl(t,e,n.type==="exit"?(i=t.presenceContext)===null||i===void 0?void 0:i.custom:void 0);let{transition:l=t.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(l=n.transitionOverride);const c=o?()=>Promise.all(Ow(t,o,n)):()=>Promise.resolve(),d=t.variantChildren&&t.variantChildren.size?(p=0)=>{const{delayChildren:m=0,staggerChildren:y,staggerDirection:x}=l;return uA(t,e,m+p,y,x,n)}:()=>Promise.resolve(),{when:f}=l;if(f){const[p,m]=f==="beforeChildren"?[c,d]:[d,c];return p().then(()=>m())}else return Promise.all([c(),d(n.delay)])}function uA(t,e,n=0,i=0,o=1,l){const c=[],d=(t.variantChildren.size-1)*i,f=o===1?(p=0)=>p*i:(p=0)=>d-p*i;return Array.from(t.variantChildren).sort(cA).forEach((p,m)=>{p.notify("AnimationStart",e),c.push(tf(p,e,{...l,delay:n+f(m)}).then(()=>p.notify("AnimationComplete",e)))}),Promise.all(c)}function cA(t,e){return t.sortNodePosition(e)}function dA(t,e,n={}){t.notify("AnimationStart",e);let i;if(Array.isArray(e)){const o=e.map(l=>tf(t,l,n));i=Promise.all(o)}else if(typeof e=="string")i=tf(t,e,n);else{const o=typeof e=="function"?Zl(t,e,n.custom):e;i=Promise.all(Ow(t,o,n))}return i.then(()=>{t.notify("AnimationComplete",e)})}const fA=Uf.length;function Mw(t){if(!t)return;if(!t.isControllingVariants){const n=t.parent?Mw(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}const e={};for(let n=0;n<fA;n++){const i=Uf[n],o=t.props[i];(lo(o)||o===!1)&&(e[i]=o)}return e}const hA=[...Bf].reverse(),pA=Bf.length;function mA(t){return e=>Promise.all(e.map(({animation:n,options:i})=>dA(t,n,i)))}function gA(t){let e=mA(t),n=My(),i=!0;const o=f=>(p,m)=>{var y;const x=Zl(t,m,f==="exit"?(y=t.presenceContext)===null||y===void 0?void 0:y.custom:void 0);if(x){const{transition:S,transitionEnd:E,...b}=x;p={...p,...b,...E}}return p};function l(f){e=f(t)}function c(f){const{props:p}=t,m=Mw(t.parent)||{},y=[],x=new Set;let S={},E=1/0;for(let P=0;P<pA;P++){const A=hA[P],R=n[A],j=p[A]!==void 0?p[A]:m[A],L=lo(j),I=A===f?R.isActive:null;I===!1&&(E=P);let $=j===m[A]&&j!==p[A]&&L;if($&&i&&t.manuallyAnimateOnMount&&($=!1),R.protectedKeys={...S},!R.isActive&&I===null||!j&&!R.prevProp||Kl(j)||typeof j=="boolean")continue;const q=yA(R.prevProp,j);let Z=q||A===f&&R.isActive&&!$&&L||P>E&&L,le=!1;const ue=Array.isArray(j)?j:[j];let ve=ue.reduce(o(A),{});I===!1&&(ve={});const{prevResolvedValues:ae={}}=R,Se={...ae,...ve},X=te=>{Z=!0,x.has(te)&&(le=!0,x.delete(te)),R.needsAnimating[te]=!0;const V=t.getValue(te);V&&(V.liveStyle=!1)};for(const te in Se){const V=ve[te],G=ae[te];if(S.hasOwnProperty(te))continue;let Q=!1;Hd(V)&&Hd(G)?Q=!qx(V,G):Q=V!==G,Q?V!=null?X(te):x.add(te):V!==void 0&&x.has(te)?X(te):R.protectedKeys[te]=!0}R.prevProp=j,R.prevResolvedValues=ve,R.isActive&&(S={...S,...ve}),i&&t.blockInitialAnimation&&(Z=!1),Z&&(!($&&q)||le)&&y.push(...ue.map(te=>({animation:te,options:{type:A}})))}if(x.size){const P={};x.forEach(A=>{const R=t.getBaseTarget(A),j=t.getValue(A);j&&(j.liveStyle=!0),P[A]=R??null}),y.push({animation:P})}let b=!!y.length;return i&&(p.initial===!1||p.initial===p.animate)&&!t.manuallyAnimateOnMount&&(b=!1),i=!1,b?e(y):Promise.resolve()}function d(f,p){var m;if(n[f].isActive===p)return Promise.resolve();(m=t.variantChildren)===null||m===void 0||m.forEach(x=>{var S;return(S=x.animationState)===null||S===void 0?void 0:S.setActive(f,p)}),n[f].isActive=p;const y=c(f);for(const x in n)n[x].protectedKeys={};return y}return{animateChanges:c,setActive:d,setAnimateFunction:l,getState:()=>n,reset:()=>{n=My(),i=!0}}}function yA(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!qx(e,t):!1}function $r(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function My(){return{animate:$r(!0),whileInView:$r(),whileHover:$r(),whileTap:$r(),whileDrag:$r(),whileFocus:$r(),exit:$r()}}class Ar{constructor(e){this.isMounted=!1,this.node=e}update(){}}class vA extends Ar{constructor(e){super(e),e.animationState||(e.animationState=gA(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();Kl(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)===null||e===void 0||e.call(this)}}let xA=0;class wA extends Ar{constructor(){super(...arguments),this.id=xA++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;const o=this.node.animationState.setActive("exit",!e);n&&!e&&o.then(()=>n(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}const SA={animation:{Feature:vA},exit:{Feature:wA}};function ho(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}function jo(t){return{point:{x:t.pageX,y:t.pageY}}}const TA=t=>e=>rh(e)&&t(e,jo(e));function no(t,e,n,i){return ho(t,e,TA(n),i)}const jy=(t,e)=>Math.abs(t-e);function bA(t,e){const n=jy(t.x,e.x),i=jy(t.y,e.y);return Math.sqrt(n**2+i**2)}class jw{constructor(e,n,{transformPagePoint:i,contextWindow:o,dragSnapToOrigin:l=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=xd(this.lastMoveEventInfo,this.history),x=this.startEvent!==null,S=bA(y.offset,{x:0,y:0})>=3;if(!x&&!S)return;const{point:E}=y,{timestamp:b}=mt;this.history.push({...E,timestamp:b});const{onStart:P,onMove:A}=this.handlers;x||(P&&P(this.lastMoveEvent,y),this.startEvent=this.lastMoveEvent),A&&A(this.lastMoveEvent,y)},this.handlePointerMove=(y,x)=>{this.lastMoveEvent=y,this.lastMoveEventInfo=vd(x,this.transformPagePoint),Be.update(this.updatePoint,!0)},this.handlePointerUp=(y,x)=>{this.end();const{onEnd:S,onSessionEnd:E,resumeAnimation:b}=this.handlers;if(this.dragSnapToOrigin&&b&&b(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const P=xd(y.type==="pointercancel"?this.lastMoveEventInfo:vd(x,this.transformPagePoint),this.history);this.startEvent&&S&&S(y,P),E&&E(y,P)},!rh(e))return;this.dragSnapToOrigin=l,this.handlers=n,this.transformPagePoint=i,this.contextWindow=o||window;const c=jo(e),d=vd(c,this.transformPagePoint),{point:f}=d,{timestamp:p}=mt;this.history=[{...f,timestamp:p}];const{onSessionStart:m}=n;m&&m(e,xd(d,this.history)),this.removeListeners=Mo(no(this.contextWindow,"pointermove",this.handlePointerMove),no(this.contextWindow,"pointerup",this.handlePointerUp),no(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),br(this.updatePoint)}}function vd(t,e){return e?{point:e(t.point)}:t}function Dy(t,e){return{x:t.x-e.x,y:t.y-e.y}}function xd({point:t},e){return{point:t,delta:Dy(t,Dw(e)),offset:Dy(t,PA(e)),velocity:CA(e,.1)}}function PA(t){return t[0]}function Dw(t){return t[t.length-1]}function CA(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null;const o=Dw(t);for(;n>=0&&(i=t[n],!(o.timestamp-i.timestamp>qn(e)));)n--;if(!i)return{x:0,y:0};const l=Kn(o.timestamp-i.timestamp);if(l===0)return{x:0,y:0};const c={x:(o.x-i.x)/l,y:(o.y-i.y)/l};return c.x===1/0&&(c.x=0),c.y===1/0&&(c.y=0),c}const Iw=1e-4,EA=1-Iw,_A=1+Iw,Lw=.01,kA=0-Lw,AA=0+Lw;function Wt(t){return t.max-t.min}function NA(t,e,n){return Math.abs(t-e)<=n}function Iy(t,e,n,i=.5){t.origin=i,t.originPoint=Ze(e.min,e.max,t.origin),t.scale=Wt(n)/Wt(e),t.translate=Ze(n.min,n.max,t.origin)-t.originPoint,(t.scale>=EA&&t.scale<=_A||isNaN(t.scale))&&(t.scale=1),(t.translate>=kA&&t.translate<=AA||isNaN(t.translate))&&(t.translate=0)}function ro(t,e,n,i){Iy(t.x,e.x,n.x,i?i.originX:void 0),Iy(t.y,e.y,n.y,i?i.originY:void 0)}function Ly(t,e,n){t.min=n.min+e.min,t.max=t.min+Wt(e)}function RA(t,e,n){Ly(t.x,e.x,n.x),Ly(t.y,e.y,n.y)}function Vy(t,e,n){t.min=e.min-n.min,t.max=t.min+Wt(e)}function so(t,e,n){Vy(t.x,e.x,n.x),Vy(t.y,e.y,n.y)}function OA(t,{min:e,max:n},i){return e!==void 0&&t<e?t=i?Ze(e,t,i.min):Math.max(t,e):n!==void 0&&t>n&&(t=i?Ze(n,t,i.max):Math.min(t,n)),t}function Fy(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function MA(t,{top:e,left:n,bottom:i,right:o}){return{x:Fy(t.x,n,o),y:Fy(t.y,e,i)}}function zy(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}function jA(t,e){return{x:zy(t.x,e.x),y:zy(t.y,e.y)}}function DA(t,e){let n=.5;const i=Wt(t),o=Wt(e);return o>i?n=Hs(e.min,e.max-i,t.min):i>o&&(n=Hs(t.min,t.max-o,e.min)),Gn(0,1,n)}function IA(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const nf=.35;function LA(t=nf){return t===!1?t=0:t===!0&&(t=nf),{x:By(t,"left","right"),y:By(t,"top","bottom")}}function By(t,e,n){return{min:Uy(t,e),max:Uy(t,n)}}function Uy(t,e){return typeof t=="number"?t:t[e]||0}const $y=()=>({translate:0,scale:1,origin:0,originPoint:0}),Os=()=>({x:$y(),y:$y()}),Wy=()=>({min:0,max:0}),tt=()=>({x:Wy(),y:Wy()});function Jt(t){return[t("x"),t("y")]}function Vw({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function VA({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function FA(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function wd(t){return t===void 0||t===1}function rf({scale:t,scaleX:e,scaleY:n}){return!wd(t)||!wd(e)||!wd(n)}function Wr(t){return rf(t)||Fw(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Fw(t){return Hy(t.x)||Hy(t.y)}function Hy(t){return t&&t!=="0%"}function wl(t,e,n){const i=t-n,o=e*i;return n+o}function qy(t,e,n,i,o){return o!==void 0&&(t=wl(t,o,i)),wl(t,n,i)+e}function sf(t,e=0,n=1,i,o){t.min=qy(t.min,e,n,i,o),t.max=qy(t.max,e,n,i,o)}function zw(t,{x:e,y:n}){sf(t.x,e.translate,e.scale,e.originPoint),sf(t.y,n.translate,n.scale,n.originPoint)}const Ky=.999999999999,Qy=1.0000000000001;function zA(t,e,n,i=!1){const o=n.length;if(!o)return;e.x=e.y=1;let l,c;for(let d=0;d<o;d++){l=n[d],c=l.projectionDelta;const{visualElement:f}=l.options;f&&f.props.style&&f.props.style.display==="contents"||(i&&l.options.layoutScroll&&l.scroll&&l!==l.root&&js(t,{x:-l.scroll.offset.x,y:-l.scroll.offset.y}),c&&(e.x*=c.x.scale,e.y*=c.y.scale,zw(t,c)),i&&Wr(l.latestValues)&&js(t,l.latestValues))}e.x<Qy&&e.x>Ky&&(e.x=1),e.y<Qy&&e.y>Ky&&(e.y=1)}function Ms(t,e){t.min=t.min+e,t.max=t.max+e}function Zy(t,e,n,i,o=.5){const l=Ze(t.min,t.max,o);sf(t,e,n,l,i)}function js(t,e){Zy(t.x,e.x,e.scaleX,e.scale,e.originX),Zy(t.y,e.y,e.scaleY,e.scale,e.originY)}function Bw(t,e){return Vw(FA(t.getBoundingClientRect(),e))}function BA(t,e,n){const i=Bw(t,n),{scroll:o}=e;return o&&(Ms(i.x,o.offset.x),Ms(i.y,o.offset.y)),i}const Uw=({current:t})=>t?t.ownerDocument.defaultView:null,UA=new WeakMap;class $A{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=tt(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const o=m=>{const{dragSnapToOrigin:y}=this.getProps();y?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(jo(m).point)},l=(m,y)=>{const{drag:x,dragPropagation:S,onDragStart:E}=this.getProps();if(x&&!S&&(this.openDragLock&&this.openDragLock(),this.openDragLock=D2(x),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Jt(P=>{let A=this.getAxisMotionValue(P).get()||0;if(En.test(A)){const{projection:R}=this.visualElement;if(R&&R.layout){const j=R.layout.layoutBox[P];j&&(A=Wt(j)*(parseFloat(A)/100))}}this.originPoint[P]=A}),E&&Be.postRender(()=>E(m,y)),Qd(this.visualElement,"transform");const{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},c=(m,y)=>{const{dragPropagation:x,dragDirectionLock:S,onDirectionLock:E,onDrag:b}=this.getProps();if(!x&&!this.openDragLock)return;const{offset:P}=y;if(S&&this.currentDirection===null){this.currentDirection=WA(P),this.currentDirection!==null&&E&&E(this.currentDirection);return}this.updateAxis("x",y.point,P),this.updateAxis("y",y.point,P),this.visualElement.render(),b&&b(m,y)},d=(m,y)=>this.stop(m,y),f=()=>Jt(m=>{var y;return this.getAnimationState(m)==="paused"&&((y=this.getAxisMotionValue(m).animation)===null||y===void 0?void 0:y.play())}),{dragSnapToOrigin:p}=this.getProps();this.panSession=new jw(e,{onSessionStart:o,onStart:l,onMove:c,onSessionEnd:d,resumeAnimation:f},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:p,contextWindow:Uw(this.visualElement)})}stop(e,n){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:l}=this.getProps();l&&Be.postRender(()=>l(e,n))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,i){const{drag:o}=this.getProps();if(!i||!tl(e,o,this.currentDirection))return;const l=this.getAxisMotionValue(e);let c=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(c=OA(c,this.constraints[e],this.elastic[e])),l.set(c)}resolveConstraints(){var e;const{dragConstraints:n,dragElastic:i}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,l=this.constraints;n&&Ns(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=MA(o.layoutBox,n):this.constraints=!1,this.elastic=LA(i),l!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Jt(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=IA(o.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!Ns(e))return!1;const i=e.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const l=BA(i,o.root,this.visualElement.getTransformPagePoint());let c=jA(o.layout.layoutBox,l);if(n){const d=n(VA(c));this.hasMutatedConstraints=!!d,d&&(c=Vw(d))}return c}startAnimation(e){const{drag:n,dragMomentum:i,dragElastic:o,dragTransition:l,dragSnapToOrigin:c,onDragTransitionEnd:d}=this.getProps(),f=this.constraints||{},p=Jt(m=>{if(!tl(m,n,this.currentDirection))return;let y=f&&f[m]||{};c&&(y={min:0,max:0});const x=o?200:1e6,S=o?40:1e7,E={type:"inertia",velocity:i?e[m]:0,bounceStiffness:x,bounceDamping:S,timeConstant:750,restDelta:1,restSpeed:10,...l,...y};return this.startAxisValueAnimation(m,E)});return Promise.all(p).then(d)}startAxisValueAnimation(e,n){const i=this.getAxisMotionValue(e);return Qd(this.visualElement,e),i.start(mh(e,i,0,n,this.visualElement,!1))}stopAnimation(){Jt(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Jt(e=>{var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(e){var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,i=this.visualElement.getProps(),o=i[n];return o||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){Jt(n=>{const{drag:i}=this.getProps();if(!tl(n,i,this.currentDirection))return;const{projection:o}=this.visualElement,l=this.getAxisMotionValue(n);if(o&&o.layout){const{min:c,max:d}=o.layout.layoutBox[n];l.set(e[n]-Ze(c,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:i}=this.visualElement;if(!Ns(n)||!i||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Jt(c=>{const d=this.getAxisMotionValue(c);if(d&&this.constraints!==!1){const f=d.get();o[c]=DA({min:f,max:f},this.constraints[c])}});const{transformTemplate:l}=this.visualElement.getProps();this.visualElement.current.style.transform=l?l({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),Jt(c=>{if(!tl(c,e,null))return;const d=this.getAxisMotionValue(c),{min:f,max:p}=this.constraints[c];d.set(Ze(f,p,o[c]))})}addListeners(){if(!this.visualElement.current)return;UA.set(this.visualElement,this);const e=this.visualElement.current,n=no(e,"pointerdown",f=>{const{drag:p,dragListener:m=!0}=this.getProps();p&&m&&this.start(f)}),i=()=>{const{dragConstraints:f}=this.getProps();Ns(f)&&f.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,l=o.addEventListener("measure",i);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),Be.read(i);const c=ho(window,"resize",()=>this.scalePositionWithinConstraints()),d=o.addEventListener("didUpdate",(({delta:f,hasLayoutChanged:p})=>{this.isDragging&&p&&(Jt(m=>{const y=this.getAxisMotionValue(m);y&&(this.originPoint[m]+=f[m].translate,y.set(y.get()+f[m].translate))}),this.visualElement.render())}));return()=>{c(),n(),l(),d&&d()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:i=!1,dragPropagation:o=!1,dragConstraints:l=!1,dragElastic:c=nf,dragMomentum:d=!0}=e;return{...e,drag:n,dragDirectionLock:i,dragPropagation:o,dragConstraints:l,dragElastic:c,dragMomentum:d}}}function tl(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function WA(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class HA extends Ar{constructor(e){super(e),this.removeGroupControls=Ut,this.removeListeners=Ut,this.controls=new $A(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ut}unmount(){this.removeGroupControls(),this.removeListeners()}}const Gy=t=>(e,n)=>{t&&Be.postRender(()=>t(e,n))};class qA extends Ar{constructor(){super(...arguments),this.removePointerDownListener=Ut}onPointerDown(e){this.session=new jw(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Uw(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:i,onPanEnd:o}=this.node.getProps();return{onSessionStart:Gy(e),onStart:Gy(n),onMove:i,onEnd:(l,c)=>{delete this.session,o&&Be.postRender(()=>o(l,c))}}}mount(){this.removePointerDownListener=no(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const ll={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Xy(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Ki={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(fe.test(t))t=parseFloat(t);else return t;const n=Xy(t,e.target.x),i=Xy(t,e.target.y);return`${n}% ${i}%`}},KA={correct:(t,{treeScale:e,projectionDelta:n})=>{const i=t,o=Pr.parse(t);if(o.length>5)return i;const l=Pr.createTransformer(t),c=typeof o[0]!="number"?1:0,d=n.x.scale*e.x,f=n.y.scale*e.y;o[0+c]/=d,o[1+c]/=f;const p=Ze(d,f,.5);return typeof o[2+c]=="number"&&(o[2+c]/=p),typeof o[3+c]=="number"&&(o[3+c]/=p),l(o)}};class QA extends T.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:i,layoutId:o}=this.props,{projection:l}=e;p2(ZA),l&&(n.group&&n.group.add(l),i&&i.register&&o&&i.register(l),l.root.didUpdate(),l.addEventListener("animationComplete",()=>{this.safeToRemove()}),l.setOptions({...l.options,onExitComplete:()=>this.safeToRemove()})),ll.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:i,drag:o,isPresent:l}=this.props,c=i.projection;return c&&(c.isPresent=l,o||e.layoutDependency!==n||n===void 0?c.willUpdate():this.safeToRemove(),e.isPresent!==l&&(l?c.promote():c.relegate()||Be.postRender(()=>{const d=c.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Wf.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:i}=this.props,{projection:o}=e;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),i&&i.deregister&&i.deregister(o))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function $w(t){const[e,n]=Cx(),i=T.useContext(If);return w.jsx(QA,{...t,layoutGroup:i,switchLayoutGroup:T.useContext(Mx),isPresent:e,safeToRemove:n})}const ZA={borderRadius:{...Ki,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ki,borderTopRightRadius:Ki,borderBottomLeftRadius:Ki,borderBottomRightRadius:Ki,boxShadow:KA};function GA(t,e,n){const i=Tt(t)?t:co(t);return i.start(mh("",i,e,n)),i.animation}function XA(t){return t instanceof SVGElement&&t.tagName!=="svg"}const YA=(t,e)=>t.depth-e.depth;class JA{constructor(){this.children=[],this.isDirty=!1}add(e){sh(this.children,e),this.isDirty=!0}remove(e){ih(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(YA),this.isDirty=!1,this.children.forEach(e)}}function eN(t,e){const n=_n.now(),i=({timestamp:o})=>{const l=o-n;l>=e&&(br(i),t(l-e))};return Be.read(i,!0),()=>br(i)}const Ww=["TopLeft","TopRight","BottomLeft","BottomRight"],tN=Ww.length,Yy=t=>typeof t=="string"?parseFloat(t):t,Jy=t=>typeof t=="number"||fe.test(t);function nN(t,e,n,i,o,l){o?(t.opacity=Ze(0,n.opacity!==void 0?n.opacity:1,rN(i)),t.opacityExit=Ze(e.opacity!==void 0?e.opacity:1,0,sN(i))):l&&(t.opacity=Ze(e.opacity!==void 0?e.opacity:1,n.opacity!==void 0?n.opacity:1,i));for(let c=0;c<tN;c++){const d=`border${Ww[c]}Radius`;let f=ev(e,d),p=ev(n,d);if(f===void 0&&p===void 0)continue;f||(f=0),p||(p=0),f===0||p===0||Jy(f)===Jy(p)?(t[d]=Math.max(Ze(Yy(f),Yy(p),i),0),(En.test(p)||En.test(f))&&(t[d]+="%")):t[d]=p}(e.rotate||n.rotate)&&(t.rotate=Ze(e.rotate||0,n.rotate||0,i))}function ev(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const rN=Hw(0,.5,uw),sN=Hw(.5,.95,Ut);function Hw(t,e,n){return i=>i<t?0:i>e?1:n(Hs(t,e,i))}function tv(t,e){t.min=e.min,t.max=e.max}function Yt(t,e){tv(t.x,e.x),tv(t.y,e.y)}function nv(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function rv(t,e,n,i,o){return t-=e,t=wl(t,1/n,i),o!==void 0&&(t=wl(t,1/o,i)),t}function iN(t,e=0,n=1,i=.5,o,l=t,c=t){if(En.test(e)&&(e=parseFloat(e),e=Ze(c.min,c.max,e/100)-c.min),typeof e!="number")return;let d=Ze(l.min,l.max,i);t===l&&(d-=e),t.min=rv(t.min,e,n,d,o),t.max=rv(t.max,e,n,d,o)}function sv(t,e,[n,i,o],l,c){iN(t,e[n],e[i],e[o],e.scale,l,c)}const oN=["x","scaleX","originX"],aN=["y","scaleY","originY"];function iv(t,e,n,i){sv(t.x,e,oN,n?n.x:void 0,i?i.x:void 0),sv(t.y,e,aN,n?n.y:void 0,i?i.y:void 0)}function ov(t){return t.translate===0&&t.scale===1}function qw(t){return ov(t.x)&&ov(t.y)}function av(t,e){return t.min===e.min&&t.max===e.max}function lN(t,e){return av(t.x,e.x)&&av(t.y,e.y)}function lv(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Kw(t,e){return lv(t.x,e.x)&&lv(t.y,e.y)}function uv(t){return Wt(t.x)/Wt(t.y)}function cv(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class uN{constructor(){this.members=[]}add(e){sh(this.members,e),e.scheduleRender()}remove(e){if(ih(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(o=>e===o);if(n===0)return!1;let i;for(let o=n;o>=0;o--){const l=this.members[o];if(l.isPresent!==!1){i=l;break}}return i?(this.promote(i),!0):!1}promote(e,n){const i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender(),e.resumeFrom=i,n&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:o}=e.options;o===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:i}=e;n.onExitComplete&&n.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function cN(t,e,n){let i="";const o=t.x.translate/e.x,l=t.y.translate/e.y,c=n?.z||0;if((o||l||c)&&(i=`translate3d(${o}px, ${l}px, ${c}px) `),(e.x!==1||e.y!==1)&&(i+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:p,rotate:m,rotateX:y,rotateY:x,skewX:S,skewY:E}=n;p&&(i=`perspective(${p}px) ${i}`),m&&(i+=`rotate(${m}deg) `),y&&(i+=`rotateX(${y}deg) `),x&&(i+=`rotateY(${x}deg) `),S&&(i+=`skewX(${S}deg) `),E&&(i+=`skewY(${E}deg) `)}const d=t.x.scale*e.x,f=t.y.scale*e.y;return(d!==1||f!==1)&&(i+=`scale(${d}, ${f})`),i||"none"}const Hr={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Xi=typeof window<"u"&&window.MotionDebug!==void 0,Sd=["","X","Y","Z"],dN={visibility:"hidden"},dv=1e3;let fN=0;function Td(t,e,n,i){const{latestValues:o}=e;o[t]&&(n[t]=o[t],e.setStaticValue(t,0),i&&(i[t]=0))}function Qw(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=nw(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:l}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",Be,!(o||l))}const{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&Qw(i)}function Zw({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:o}){return class{constructor(c={},d=e?.()){this.id=fN++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Xi&&(Hr.totalNodes=Hr.resolvedTargetDeltas=Hr.recalculatedProjection=0),this.nodes.forEach(mN),this.nodes.forEach(wN),this.nodes.forEach(SN),this.nodes.forEach(gN),Xi&&window.MotionDebug.record(Hr)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=c,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new JA)}addEventListener(c,d){return this.eventHandlers.has(c)||this.eventHandlers.set(c,new oh),this.eventHandlers.get(c).add(d)}notifyListeners(c,...d){const f=this.eventHandlers.get(c);f&&f.notify(...d)}hasListeners(c){return this.eventHandlers.has(c)}mount(c,d=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=XA(c),this.instance=c;const{layoutId:f,layout:p,visualElement:m}=this.options;if(m&&!m.current&&m.mount(c),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),d&&(p||f)&&(this.isLayoutDirty=!0),t){let y;const x=()=>this.root.updateBlockedByResize=!1;t(c,()=>{this.root.updateBlockedByResize=!0,y&&y(),y=eN(x,250),ll.hasAnimatedSinceResize&&(ll.hasAnimatedSinceResize=!1,this.nodes.forEach(hv))})}f&&this.root.registerSharedNode(f,this),this.options.animate!==!1&&m&&(f||p)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:x,hasRelativeTargetChanged:S,layout:E})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const b=this.options.transition||m.getDefaultTransition()||EN,{onLayoutAnimationStart:P,onLayoutAnimationComplete:A}=m.getProps(),R=!this.targetLayout||!Kw(this.targetLayout,E)||S,j=!x&&S;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||j||x&&(R||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(y,j);const L={...eh(b,"layout"),onPlay:P,onComplete:A};(m.shouldReduceMotion||this.options.layoutRoot)&&(L.delay=0,L.type=!1),this.startAnimation(L)}else x||hv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=E})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const c=this.getStack();c&&c.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,br(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(TN),this.animationId++)}getTransformTemplate(){const{visualElement:c}=this.options;return c&&c.getProps().transformTemplate}willUpdate(c=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Qw(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let m=0;m<this.path.length;m++){const y=this.path[m];y.shouldResetTransform=!0,y.updateScroll("snapshot"),y.options.layoutRoot&&y.willUpdate(!1)}const{layoutId:d,layout:f}=this.options;if(d===void 0&&!f)return;const p=this.getTransformTemplate();this.prevTransformTemplateValue=p?p(this.latestValues,""):void 0,this.updateSnapshot(),c&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(fv);return}this.isUpdating||this.nodes.forEach(vN),this.isUpdating=!1,this.nodes.forEach(xN),this.nodes.forEach(hN),this.nodes.forEach(pN),this.clearAllSnapshots();const d=_n.now();mt.delta=Gn(0,1e3/60,d-mt.timestamp),mt.timestamp=d,mt.isProcessing=!0,fd.update.process(mt),fd.preRender.process(mt),fd.render.process(mt),mt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Wf.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(yN),this.sharedNodes.forEach(bN)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Be.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Be.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let f=0;f<this.path.length;f++)this.path[f].updateScroll();const c=this.layout;this.layout=this.measure(!1),this.layoutCorrected=tt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,c?c.layoutBox:void 0)}updateScroll(c="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===c&&(d=!1),d){const f=i(this.instance);this.scroll={animationId:this.root.animationId,phase:c,isRoot:f,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:f}}}resetTransform(){if(!o)return;const c=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!qw(this.projectionDelta),f=this.getTransformTemplate(),p=f?f(this.latestValues,""):void 0,m=p!==this.prevTransformTemplateValue;c&&(d||Wr(this.latestValues)||m)&&(o(this.instance,p),this.shouldResetTransform=!1,this.scheduleRender())}measure(c=!0){const d=this.measurePageBox();let f=this.removeElementScroll(d);return c&&(f=this.removeTransform(f)),_N(f),{animationId:this.root.animationId,measuredBox:d,layoutBox:f,latestValues:{},source:this.id}}measurePageBox(){var c;const{visualElement:d}=this.options;if(!d)return tt();const f=d.measureViewportBox();if(!(((c=this.scroll)===null||c===void 0?void 0:c.wasRoot)||this.path.some(kN))){const{scroll:m}=this.root;m&&(Ms(f.x,m.offset.x),Ms(f.y,m.offset.y))}return f}removeElementScroll(c){var d;const f=tt();if(Yt(f,c),!((d=this.scroll)===null||d===void 0)&&d.wasRoot)return f;for(let p=0;p<this.path.length;p++){const m=this.path[p],{scroll:y,options:x}=m;m!==this.root&&y&&x.layoutScroll&&(y.wasRoot&&Yt(f,c),Ms(f.x,y.offset.x),Ms(f.y,y.offset.y))}return f}applyTransform(c,d=!1){const f=tt();Yt(f,c);for(let p=0;p<this.path.length;p++){const m=this.path[p];!d&&m.options.layoutScroll&&m.scroll&&m!==m.root&&js(f,{x:-m.scroll.offset.x,y:-m.scroll.offset.y}),Wr(m.latestValues)&&js(f,m.latestValues)}return Wr(this.latestValues)&&js(f,this.latestValues),f}removeTransform(c){const d=tt();Yt(d,c);for(let f=0;f<this.path.length;f++){const p=this.path[f];if(!p.instance||!Wr(p.latestValues))continue;rf(p.latestValues)&&p.updateSnapshot();const m=tt(),y=p.measurePageBox();Yt(m,y),iv(d,p.latestValues,p.snapshot?p.snapshot.layoutBox:void 0,m)}return Wr(this.latestValues)&&iv(d,this.latestValues),d}setTargetDelta(c){this.targetDelta=c,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(c){this.options={...this.options,...c,crossfade:c.crossfade!==void 0?c.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!==mt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(c=!1){var d;const f=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=f.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=f.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=f.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==f;if(!(c||p&&this.isSharedProjectionDirty||this.isProjectionDirty||!((d=this.parent)===null||d===void 0)&&d.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:y,layoutId:x}=this.options;if(!(!this.layout||!(y||x))){if(this.resolvedRelativeTargetAt=mt.timestamp,!this.targetDelta&&!this.relativeTarget){const S=this.getClosestProjectingParent();S&&S.layout&&this.animationProgress!==1?(this.relativeParent=S,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tt(),this.relativeTargetOrigin=tt(),so(this.relativeTargetOrigin,this.layout.layoutBox,S.layout.layoutBox),Yt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=tt(),this.targetWithTransforms=tt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),RA(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Yt(this.target,this.layout.layoutBox),zw(this.target,this.targetDelta)):Yt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const S=this.getClosestProjectingParent();S&&!!S.resumingFrom==!!this.resumingFrom&&!S.options.layoutScroll&&S.target&&this.animationProgress!==1?(this.relativeParent=S,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tt(),this.relativeTargetOrigin=tt(),so(this.relativeTargetOrigin,this.target,S.target),Yt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Xi&&Hr.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||rf(this.parent.latestValues)||Fw(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var c;const d=this.getLead(),f=!!this.resumingFrom||this!==d;let p=!0;if((this.isProjectionDirty||!((c=this.parent)===null||c===void 0)&&c.isProjectionDirty)&&(p=!1),f&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===mt.timestamp&&(p=!1),p)return;const{layout:m,layoutId:y}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(m||y))return;Yt(this.layoutCorrected,this.layout.layoutBox);const x=this.treeScale.x,S=this.treeScale.y;zA(this.layoutCorrected,this.treeScale,this.path,f),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=tt());const{target:E}=d;if(!E){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(nv(this.prevProjectionDelta.x,this.projectionDelta.x),nv(this.prevProjectionDelta.y,this.projectionDelta.y)),ro(this.projectionDelta,this.layoutCorrected,E,this.latestValues),(this.treeScale.x!==x||this.treeScale.y!==S||!cv(this.projectionDelta.x,this.prevProjectionDelta.x)||!cv(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",E)),Xi&&Hr.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(c=!0){var d;if((d=this.options.visualElement)===null||d===void 0||d.scheduleRender(),c){const f=this.getStack();f&&f.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Os(),this.projectionDelta=Os(),this.projectionDeltaWithTransform=Os()}setAnimationOrigin(c,d=!1){const f=this.snapshot,p=f?f.latestValues:{},m={...this.latestValues},y=Os();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const x=tt(),S=f?f.source:void 0,E=this.layout?this.layout.source:void 0,b=S!==E,P=this.getStack(),A=!P||P.members.length<=1,R=!!(b&&!A&&this.options.crossfade===!0&&!this.path.some(CN));this.animationProgress=0;let j;this.mixTargetDelta=L=>{const I=L/1e3;pv(y.x,c.x,I),pv(y.y,c.y,I),this.setTargetDelta(y),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(so(x,this.layout.layoutBox,this.relativeParent.layout.layoutBox),PN(this.relativeTarget,this.relativeTargetOrigin,x,I),j&&lN(this.relativeTarget,j)&&(this.isProjectionDirty=!1),j||(j=tt()),Yt(j,this.relativeTarget)),b&&(this.animationValues=m,nN(m,p,this.latestValues,I,R,A)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=I},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(c){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(br(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Be.update(()=>{ll.hasAnimatedSinceResize=!0,this.currentAnimation=GA(0,dv,{...c,onUpdate:d=>{this.mixTargetDelta(d),c.onUpdate&&c.onUpdate(d)},onComplete:()=>{c.onComplete&&c.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 c=this.getStack();c&&c.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(dv),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const c=this.getLead();let{targetWithTransforms:d,target:f,layout:p,latestValues:m}=c;if(!(!d||!f||!p)){if(this!==c&&this.layout&&p&&Gw(this.options.animationType,this.layout.layoutBox,p.layoutBox)){f=this.target||tt();const y=Wt(this.layout.layoutBox.x);f.x.min=c.target.x.min,f.x.max=f.x.min+y;const x=Wt(this.layout.layoutBox.y);f.y.min=c.target.y.min,f.y.max=f.y.min+x}Yt(d,f),js(d,m),ro(this.projectionDeltaWithTransform,this.layoutCorrected,d,m)}}registerSharedNode(c,d){this.sharedNodes.has(c)||this.sharedNodes.set(c,new uN),this.sharedNodes.get(c).add(d);const p=d.options.initialPromotionConfig;d.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.shouldPreserveFollowOpacity(d):void 0})}isLead(){const c=this.getStack();return c?c.lead===this:!0}getLead(){var c;const{layoutId:d}=this.options;return d?((c=this.getStack())===null||c===void 0?void 0:c.lead)||this:this}getPrevLead(){var c;const{layoutId:d}=this.options;return d?(c=this.getStack())===null||c===void 0?void 0:c.prevLead:void 0}getStack(){const{layoutId:c}=this.options;if(c)return this.root.sharedNodes.get(c)}promote({needsReset:c,transition:d,preserveFollowOpacity:f}={}){const p=this.getStack();p&&p.promote(this,f),c&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const c=this.getStack();return c?c.relegate(this):!1}resetSkewAndRotation(){const{visualElement:c}=this.options;if(!c)return;let d=!1;const{latestValues:f}=c;if((f.z||f.rotate||f.rotateX||f.rotateY||f.rotateZ||f.skewX||f.skewY)&&(d=!0),!d)return;const p={};f.z&&Td("z",c,p,this.animationValues);for(let m=0;m<Sd.length;m++)Td(`rotate${Sd[m]}`,c,p,this.animationValues),Td(`skew${Sd[m]}`,c,p,this.animationValues);c.render();for(const m in p)c.setStaticValue(m,p[m]),this.animationValues&&(this.animationValues[m]=p[m]);c.scheduleRender()}getProjectionStyles(c){var d,f;if(!this.instance||this.isSVG)return;if(!this.isVisible)return dN;const p={visibility:""},m=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,p.opacity="",p.pointerEvents=ol(c?.pointerEvents)||"",p.transform=m?m(this.latestValues,""):"none",p;const y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){const b={};return this.options.layoutId&&(b.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,b.pointerEvents=ol(c?.pointerEvents)||""),this.hasProjected&&!Wr(this.latestValues)&&(b.transform=m?m({},""):"none",this.hasProjected=!1),b}const x=y.animationValues||y.latestValues;this.applyTransformsToTarget(),p.transform=cN(this.projectionDeltaWithTransform,this.treeScale,x),m&&(p.transform=m(x,p.transform));const{x:S,y:E}=this.projectionDelta;p.transformOrigin=`${S.origin*100}% ${E.origin*100}% 0`,y.animationValues?p.opacity=y===this?(f=(d=x.opacity)!==null&&d!==void 0?d:this.latestValues.opacity)!==null&&f!==void 0?f:1:this.preserveOpacity?this.latestValues.opacity:x.opacityExit:p.opacity=y===this?x.opacity!==void 0?x.opacity:"":x.opacityExit!==void 0?x.opacityExit:0;for(const b in ml){if(x[b]===void 0)continue;const{correct:P,applyTo:A}=ml[b],R=p.transform==="none"?x[b]:P(x[b],y);if(A){const j=A.length;for(let L=0;L<j;L++)p[A[L]]=R}else p[b]=R}return this.options.layoutId&&(p.pointerEvents=y===this?ol(c?.pointerEvents)||"":"none"),p}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(c=>{var d;return(d=c.currentAnimation)===null||d===void 0?void 0:d.stop()}),this.root.nodes.forEach(fv),this.root.sharedNodes.clear()}}}function hN(t){t.updateLayout()}function pN(t){var e;const n=((e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:o}=t.layout,{animationType:l}=t.options,c=n.source!==t.layout.source;l==="size"?Jt(y=>{const x=c?n.measuredBox[y]:n.layoutBox[y],S=Wt(x);x.min=i[y].min,x.max=x.min+S}):Gw(l,n.layoutBox,i)&&Jt(y=>{const x=c?n.measuredBox[y]:n.layoutBox[y],S=Wt(i[y]);x.max=x.min+S,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[y].max=t.relativeTarget[y].min+S)});const d=Os();ro(d,i,n.layoutBox);const f=Os();c?ro(f,t.applyTransform(o,!0),n.measuredBox):ro(f,i,n.layoutBox);const p=!qw(d);let m=!1;if(!t.resumeFrom){const y=t.getClosestProjectingParent();if(y&&!y.resumeFrom){const{snapshot:x,layout:S}=y;if(x&&S){const E=tt();so(E,n.layoutBox,x.layoutBox);const b=tt();so(b,i,S.layoutBox),Kw(E,b)||(m=!0),y.options.layoutRoot&&(t.relativeTarget=b,t.relativeTargetOrigin=E,t.relativeParent=y)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:n,delta:f,layoutDelta:d,hasLayoutChanged:p,hasRelativeTargetChanged:m})}else if(t.isLead()){const{onExitComplete:i}=t.options;i&&i()}t.options.transition=void 0}function mN(t){Xi&&Hr.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function gN(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function yN(t){t.clearSnapshot()}function fv(t){t.clearMeasurements()}function vN(t){t.isLayoutDirty=!1}function xN(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function hv(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function wN(t){t.resolveTargetDelta()}function SN(t){t.calcProjection()}
vendor: 5,738 bytes, line 16
16function TN(t){t.resetSkewAndRotation()}function bN(t){t.removeLeadSnapshot()}function pv(t,e,n){t.translate=Ze(e.translate,0,n),t.scale=Ze(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function mv(t,e,n,i){t.min=Ze(e.min,n.min,i),t.max=Ze(e.max,n.max,i)}function PN(t,e,n,i){mv(t.x,e.x,n.x,i),mv(t.y,e.y,n.y,i)}function CN(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const EN={duration:.45,ease:[.4,0,.1,1]},gv=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),yv=gv("applewebkit/")&&!gv("chrome/")?Math.round:Ut;function vv(t){t.min=yv(t.min),t.max=yv(t.max)}function _N(t){vv(t.x),vv(t.y)}function Gw(t,e,n){return t==="position"||t==="preserve-aspect"&&!NA(uv(e),uv(n),.2)}function kN(t){var e;return t!==t.root&&((e=t.scroll)===null||e===void 0?void 0:e.wasRoot)}const AN=Zw({attachResizeListener:(t,e)=>ho(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),bd={current:void 0},Xw=Zw({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!bd.current){const t=new AN({});t.mount(window),t.setOptions({layoutScroll:!0}),bd.current=t}return bd.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),NN={pan:{Feature:qA},drag:{Feature:HA,ProjectionNode:Xw,MeasureLayout:$w}};function xv(t,e,n){const{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover",n==="Start");const o="onHover"+n,l=i[o];l&&Be.postRender(()=>l(e,jo(e)))}class RN extends Ar{mount(){const{current:e}=this.node;e&&(this.unmount=N2(e,n=>(xv(this.node,n,"Start"),i=>xv(this.node,i,"End"))))}unmount(){}}class ON extends Ar{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!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=Mo(ho(this.node.current,"focus",()=>this.onFocus()),ho(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function wv(t,e,n){const{props:i}=t;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap",n==="Start");const o="onTap"+(n==="End"?"":n),l=i[o];l&&Be.postRender(()=>l(e,jo(e)))}class MN extends Ar{mount(){const{current:e}=this.node;e&&(this.unmount=j2(e,n=>(wv(this.node,n,"Start"),(i,{success:o})=>wv(this.node,i,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const of=new WeakMap,Pd=new WeakMap,jN=t=>{const e=of.get(t.target);e&&e(t)},DN=t=>{t.forEach(jN)};function IN({root:t,...e}){const n=t||document;Pd.has(n)||Pd.set(n,{});const i=Pd.get(n),o=JSON.stringify(e);return i[o]||(i[o]=new IntersectionObserver(DN,{root:t,...e})),i[o]}function LN(t,e,n){const i=IN(e);return of.set(t,n),i.observe(t),()=>{of.delete(t),i.unobserve(t)}}const VN={some:0,all:1};class FN extends Ar{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:i,amount:o="some",once:l}=e,c={root:n?n.current:void 0,rootMargin:i,threshold:typeof o=="number"?o:VN[o]},d=f=>{const{isIntersecting:p}=f;if(this.isInView===p||(this.isInView=p,l&&!p&&this.hasEnteredView))return;p&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",p);const{onViewportEnter:m,onViewportLeave:y}=this.node.getProps(),x=p?m:y;x&&x(f)};return LN(this.node.current,c,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(zN(e,n))&&this.startObserver()}unmount(){}}function zN({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const BN={inView:{Feature:FN},tap:{Feature:MN},focus:{Feature:ON},hover:{Feature:RN}},UN={layout:{ProjectionNode:Xw,MeasureLayout:$w}},af={current:null},Yw={current:!1};function $N(){if(Yw.current=!0,!!Ff)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>af.current=t.matches;t.addListener(e),e()}else af.current=!1}const WN=[...bw,St,Pr],HN=t=>WN.find(Tw(t)),Sv=new WeakMap;function qN(t,e,n){for(const i in e){const o=e[i],l=n[i];if(Tt(o))t.addValue(i,o);else if(Tt(l))t.addValue(i,co(o,{owner:t}));else if(l!==o)if(t.hasValue(i)){const c=t.getValue(i);c.liveStyle===!0?c.jump(o):c.hasAnimated||c.set(o)}else{const c=t.getStaticValue(i);t.addValue(i,co(c!==void 0?c:o,{owner:t}))}}for(const i in n)e[i]===void 0&&t.removeValue(i);return e}const Tv=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class KN{scrapeMotionValuesFromProps(e,n,i){return{}}constructor({parent:e,props:n,presenceContext:i,reducedMotionConfig:o,blockInitialAnimation:l,visualState:c},d={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=fh,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 S=_n.now();this.renderScheduledAt<S&&(this.renderScheduledAt=S,Be.render(this.render,!1,!0))};
vendor: 4,590 bytes, line 16
16const{latestValues:f,renderState:p,onUpdate:m}=c;this.onUpdate=m,this.latestValues=f,this.baseTarget={...f},this.initialValues=n.initial?{...f}:{},this.renderState=p,this.parent=e,this.props=n,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=o,this.options=d,this.blockInitialAnimation=!!l,this.isControllingVariants=Ql(n),this.isVariantNode=Rx(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:y,...x}=this.scrapeMotionValuesFromProps(n,{},this);for(const S in x){const E=x[S];f[S]!==void 0&&Tt(E)&&E.set(f[S],!1)}}mount(e){this.current=e,Sv.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,i)=>this.bindToMotionValue(i,n)),Yw.current||$N(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:af.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Sv.delete(this.current),this.projection&&this.projection.unmount(),br(this.notifyUpdate),br(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(e,n){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const i=ts.has(e),o=n.on("change",d=>{this.latestValues[e]=d,this.props.onUpdate&&Be.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),l=n.on("renderRequest",this.scheduleRender);let c;window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{o(),l(),c&&c(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in qs){const n=qs[e];if(!n)continue;const{isEnabled:i,Feature:o}=n;if(!this.features[e]&&o&&i(this.props)&&(this.features[e]=new o(this)),this.features[e]){const l=this.features[e];l.isMounted?l.update():(l.mount(),l.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):tt()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let i=0;i<Tv.length;i++){const o=Tv[i];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const l="on"+o,c=e[l];c&&(this.propEventSubscriptions[o]=this.on(o,c))}this.prevMotionValues=qN(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]: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(e){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){const i=this.values.get(e);n!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return i===void 0&&n!==void 0&&(i=co(n===null?void 0:n,{owner:this}),this.addValue(e,i)),i}readValue(e,n){var i;let o=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(i=this.getBaseTargetFromProps(this.props,e))!==null&&i!==void 0?i:this.readValueFromInstance(this.current,e,this.options);
16return o!=null&&(typeof o=="string"&&(ww(o)||dw(o))?o=parseFloat(o):!HN(o)&&Pr.test(n)&&(o=yw(e,n)),this.setBaseTarget(e,Tt(o)?o.get():o)),Tt(o)?o.get():o}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var n;const{initial:i}=this.props;let o;if(typeof i=="string"||typeof i=="object"){const c=qf(this.props,i,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);c&&(o=c[e])}if(i&&o!==void 0)return o;const l=this.getBaseTargetFromProps(this.props,e);return l!==void 0&&!Tt(l)?l:this.initialValues[e]!==void 0&&o===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new oh),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}}class Jw extends KN{constructor(){super(...arguments),this.KeyframeResolver=Pw}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:i}){delete n[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Tt(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function QN(t){return window.getComputedStyle(t)}class ZN extends Jw{constructor(){super(...arguments),this.type="html",this.renderInstance=zx}readValueFromInstance(e,n){if(ts.has(n)){const i=dh(n);return i&&i.default||0}else{const i=QN(e),o=(Lx(n)?i.getPropertyValue(n):i[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(e,{transformPagePoint:n}){return Bw(e,n)}build(e,n,i){Zf(e,n,i.transformTemplate)}scrapeMotionValuesFromProps(e,n,i){return Jf(e,n,i)}}class GN extends Jw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=tt}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(ts.has(n)){const i=dh(n);return i&&i.default||0}return n=Bx.has(n)?n:$f(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,i){return Wx(e,n,i)}build(e,n,i){Gf(e,n,this.isSVGTag,i.transformTemplate)}renderInstance(e,n,i,o){Ux(e,n,i,o)}mount(e){this.isSVGTag=Yf(e.tagName),super.mount(e)}}const XN=(t,e)=>Hf(t)?new GN(e):new ZN(e,{allowProjection:t!==T.Fragment}),YN=b2({...SA,...BN,...NN,...UN},XN),$e=V_(YN),Cd=[{name:"Home",href:"#"},{name:"Music",href:"#music"},{name:"Video",href:"#video"},{name:"Store",href:"#store"},{name:"Tour",href:"#tour"},{name:"About",href:"#about"},{name:"Contact",href:"#contact"}];function JN(){const[t,e]=T.useState(!1),[n,i]=T.useState(!1);return T.useEffect(()=>{const o=()=>{i(window.scrollY>50)};return window.addEventListener("scroll",o),()=>window.removeEventListener("scroll",o)},[]),T.useEffect(()=>(t?document.body.style.overflow="hidden":document.body.style.overflow="unset",()=>{document.body.style.overflow="unset"}),[t]),w.jsxs(w.Fragment,{children:[w.jsx("header",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-500 ${n||t?"bg-white/90 backdrop-blur-md shadow-sm py-4":"bg-transparent py-6"}`,children:w.jsxs("div",{className:"max-w-7xl mx-auto px-6 md:px-12 flex justify-between items-center",children:[w.jsx("a",{href:"#",className:"z-50",onClick:()=>e(!1),"data-testid":"link-logo",children:w.jsx("span",{className:"font-brand text-3xl md:text-4xl text-foreground tracking-tight",children:"neah mcmeen"})}),w.jsxs("nav",{className:"hidden md:flex items-center gap-6 lg:gap-8",children:[Cd.slice(1).map(o=>w.jsx("a",{href:o.href,className:"text-sm font-medium tracking-wide text-foreground/80 hover:text-primary transition-colors uppercase font-heading",children:o.name},o.name)),w.jsx("a",{href:"https://hypeddit.com/neahmcmeen/loveletterep",target:"_blank",rel:"noreferrer","data-testid":"link-nav-listen",className:"px-6 py-2 rounded-full bg-primary text-white text-sm font-medium hover:opacity-90 transition-all shadow-lg shadow-primary/15",children:"Stream the EP"})]}),w.jsx("button",{className:"md:hidden z-50 p-2 text-foreground hover:text-primary transition-colors",onClick:()=>e(!t),"aria-label":"Toggle menu","data-testid":"button-hamburger",children:t?w.jsx(R0,{size:28}):w.jsx(BP,{size:28})})]})}),w.jsx(N_,{children:t&&w.jsx($e.div,{initial:{opacity:0,x:"100%"}
16,animate:{opacity:1,x:0},exit:{opacity:0,x:"100%"},transition:{type:"spring",damping:25,stiffness:200},className:"fixed inset-0 z-40 bg-white flex flex-col items-center justify-center",children:w.jsxs("nav",{className:"flex flex-col items-center gap-8",children:[Cd.map((o,l)=>w.jsx($e.a,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:l*.1+.1},href:o.href,onClick:()=>e(!1),className:"text-3xl font-heading tracking-widest text-foreground hover:text-primary transition-colors uppercase",children:o.name},o.name)),w.jsx($e.a,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:Cd.length*.1+.1},href:"https://hypeddit.com/neahmcmeen/loveletterep",target:"_blank",rel:"noreferrer",className:"mt-8 px-10 py-4 rounded-full bg-primary text-white text-lg font-medium shadow-xl shadow-primary/20",children:"Stream the EP"})]})})})]})}function eR(){return w.jsxs("section",{className:"relative min-h-[100svh] flex items-center justify-center overflow-hidden",children:[w.jsxs("div",{className:"absolute inset-0 -z-20",children:[w.jsx("img",{src:"/assets/hero-main.jpeg",alt:"Neah McMeen",className:"w-full h-full object-cover object-top"}),w.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-white via-white/60 to-white/30"})]}),w.jsxs("div",{className:"max-w-7xl mx-auto px-6 pt-32 pb-20 text-center relative z-10 flex flex-col items-center mt-auto",children:[w.jsx($e.h1,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},transition:{duration:1,delay:.3,ease:"easeOut"},className:"font-brand text-7xl sm:text-8xl md:text-9xl lg:text-[10rem] leading-[0.85] text-foreground mb-6 drop-shadow-sm",children:"Unexpectedly"}),w.jsxs($e.blockquote,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.4,ease:"easeOut"},className:"text-base md:text-lg text-foreground/70 max-w-2xl mx-auto mb-10 font-light italic leading-relaxed","data-testid":"text-hero-quote",children:[w.jsx("span",{className:"text-primary text-2xl leading-none",children:"“"}),"'Unexpectedly' was one of the first songs I ever wrote, co-written with Deborah Allen. Inspired by ",w.jsx("em",{className:"not-italic font-medium",children:"Love Story"})," from ",w.jsx("em",{className:"not-italic font-medium",children:"Fearless (Taylor's Version)"}),", it's about when love shows up out of nowhere — the sparks, the hesitation, and learning to trust something real. Writing it reminded me why I fell in love with songwriting and telling stories that feel honest, heartfelt, and full of story.",w.jsx("span",{className:"text-primary text-2xl leading-none",children:"”"}),w.jsx("span",{className:"block mt-3 text-sm not-italic font-heading uppercase tracking-widest text-primary/80",children:"— Neah McMeen"})]}),w.jsxs($e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.6,ease:"easeOut"},className:"flex flex-col sm:flex-row items-center justify-center gap-4 w-full sm:w-auto",children:[w.jsx("a",{href:"https://hypeddit.com/neahmcmeen/loveletterep",target:"_blank",rel:"noreferrer","data-testid":"link-love-letter",className:"btn-pill btn-primary w-full sm:w-auto",children:"Stream the EP"}),w.jsx("a",{href:"https://wmd.ffm.to/unexpectedly",target:"_blank",rel:"noreferrer","data-testid":"link-listen-now",className:"btn-pill btn-outline w-full sm:w-auto",children:"Listen Now"})]}),w.jsx($e.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:1,delay:.8,ease:"easeOut"},className:"w-56 sm:w-64 md:w-72 aspect-square rounded-2xl overflow-hidden shadow-2xl mt-10",children:w.jsx("a",{href:"https://wmd.ffm.to/unexpectedly",target:"_blank",rel:"noreferrer","data-testid":"link-hero-cover",children:w.jsx("img",{src:"/assets/unexpectedly.jpeg",alt:"Unexpectedly — Neah McMeen",className:"w-full h-full object-cover hover:scale-105 transition-transform duration-700","data-testid":"img-hero-cover"})})}),w.jsx($e.a,{href:"https://wmd.ffm.to/unexpectedly",target:"_blank",rel:"noreferrer",initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.8,delay:1,ease:"easeOut"},className:"mt-4 inline-block px-6 py-2 rounded-full border border-primary/30 bg-primary/10 backdrop-blur-sm text-sm font-medium text-primary uppercase tracking-widest font-heading hover:bg-primary hover:text-white transition-colors duration-300","data-testid":"link-out-friday",children:"Out Now — Listen"})]}),w.jsx($e.div,{initial:{opacity:0}
16,animate:{opacity:1},transition:{delay:1.2,duration:1},className:"absolute bottom-10 left-1/2 -translate-x-1/2 animate-bounce text-foreground/40",children:w.jsx(DP,{size:24,strokeWidth:1.5})})]})}const tR=[{title:"Talk of the Town",type:"Single",cover:"/assets/talk-of-the-town.jpg",link:"https://hypeddit.com/hh2rdv"},{title:"Little Scrap of Love",type:"Single",cover:"/assets/little-scrap-of-love.jpg",link:"https://hypeddit.com/neahmcmeen"},{title:"Unexpectedly",type:"Single",cover:"/assets/unexpectedly.jpeg",link:"https://wmd.ffm.to/unexpectedly"},{title:"Love Letter",type:"Single",cover:"/assets/love-letter.jpeg",link:"https://loveletter.lnk.to/aKjnOb"},{title:"Girls Cry In Cars",type:"Single",cover:"/assets/girls-cry-in-cars.webp",link:"https://wmd.ffm.to/girlscryincars"},{title:"Lonely Night",type:"Single",cover:"/assets/lonely-night.webp",link:"https://wmd.ffm.to/lonelynight"},{title:"Bitter",type:"Single",cover:"/assets/bitter.jpg",link:"https://wmd.ffm.to/bitter"}];function nR(){return w.jsx("section",{id:"music",className:"py-24 md:py-32 px-6 bg-[hsl(214_50%_79%/0.08)]",children:w.jsxs("div",{className:"max-w-7xl mx-auto",children:[w.jsxs($e.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},className:"text-center mb-16",children:[w.jsx("h2",{className:"text-4xl md:text-5xl font-heading text-foreground mb-4 uppercase tracking-wide",children:"Latest Music"}),w.jsx("div",{className:"w-16 h-1 bg-primary/30 mx-auto rounded-full mb-8"})]}),w.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-8 lg:gap-12",children:[w.jsxs($e.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"lg:col-span-7 glass-card rounded-[2rem] p-6 sm:p-8 flex flex-col md:flex-row gap-8 items-center",children:[w.jsxs("div",{className:"w-full md:w-1/2 aspect-square rounded-2xl overflow-hidden shadow-lg relative group",children:[w.jsx("div",{className:"absolute inset-0 bg-foreground
16/20 group-hover:bg-transparent transition-colors z-10 duration-500"}),w.jsx("img",{src:"/assets/talk-of-the-town.jpg",alt:"Talk of the Town Cover",className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-700","data-testid":"img-featured-cover"}),w.jsx("a",{href:"https://hypeddit.com/hh2rdv",target:"_blank",rel:"noreferrer","data-testid":"link-featured-play",className:"absolute inset-0 z-20 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity duration-300",children:w.jsx("div",{className:"w-16 h-16 rounded-full bg-primary text-white flex items-center justify-center shadow-2xl",children:w.jsx(UP,{fill:"currentColor",size:24,className:"ml-1"})})})]}),w.jsxs("div",{className:"w-full md:w-1/2 flex flex-col justify-center text-center md:text-left",children:[w.jsx("span",{className:"text-sm font-semibold tracking-wider text-primary uppercase mb-2 font-heading",children:"Latest Release"}),w.jsx("h3",{className:"text-3xl font-bold text-foreground mb-3",children:"Talk of the Town"}),w.jsx("p",{className:"text-foreground/60 mb-8 font-light",children:"Out now on all streaming platforms."}),w.jsxs("div",{className:"flex flex-col gap-3",children:[w.jsx("a",{href:"https://hypeddit.com/hh2rdv",target:"_blank",rel:"noreferrer","data-testid":"link-stream-single",className:"btn-pill btn-primary py-3",children:"Stream Now"}),w.jsx("a",{href:"https://open.spotify.com/artist/2mBE8Q2C0t9cReZaGdIa2X",target:"_blank",rel:"noreferrer","data-testid":"link-spotify",className:"btn-pill bg-[#1DB954]/10 text-[#1DB954] hover:bg-[#1DB954] hover:text-white border-none py-3",children:"Listen on Spotify"}),w.jsx("a",{href:"https://music.apple.com/us/artist/neah-mcmeen/1773765599",target:"_blank",rel:"noreferrer","data-testid":"link-apple-music",className:"btn-pill bg-[#FA243C]/10 text-[#FA243C] hover:bg-[#FA243C] hover:text-white border-none py-3",children:"Listen on Apple Music"})]})]})]}),w.jsx("div",{className:"lg:col-span-5 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-1 gap-6",children:tR.map((t,e)=>{const n=w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"w-20 h-20 rounded-xl overflow-hidden flex-shrink-0 bg-foreground
16/10 flex items-center justify-center",children:t.cover?w.jsx("img",{src:t.cover,alt:`${t.title} cover`,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"}):w.jsx("span",{className:"text-xs font-heading text-foreground/30 uppercase tracking-wider text-center leading-tight px-2",children:"♪"})}),w.jsxs("div",{className:"flex-1 min-w-0",children:[w.jsx("h4",{className:"font-semibold text-foreground text-lg group-hover:text-primary transition-colors truncate",children:t.title}),w.jsx("p",{className:"text-sm text-foreground/50",children:t.type})]}),t.link?w.jsx(Ug,{size:20,className:"text-foreground/20 mr-2 group-hover:text-primary transition-colors flex-shrink-0"}):w.jsx("span",{className:"text-xs font-heading uppercase tracking-widest text-primary/50 mr-1",children:"Soon"})]}),i="glass-card rounded-2xl p-4 flex items-center gap-4 hover:border-primary/30 hover:shadow-xl transition-all duration-300 group";return t.link?w.jsx($e.a,{href:t.link,target:"_blank",rel:"noreferrer",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:e*.1},"data-testid":`link-track-${e}`,className:`${i} cursor-pointer`,children:n},t.title):w.jsx($e.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:e*.1},"data-testid":`div-track-${e}`,className:`${i} opacity-80`,children:n},t.title)})})]}),w.jsxs($e.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"mt-12",children:[w.jsx("h3",{className:"text-2xl font-heading text-foreground mb-6 text-center uppercase tracking-wide",children:"The Acoustic Sessions"}),w.jsxs("div",{className:"flex flex-col items-center max-w-sm mx-auto",children:[w.jsx("div",{className:"w-full aspect-square rounded-2xl overflow-hidden shadow-lg mb-6",children:w.jsx("img",{src:"/assets/bitter-acoustic.jpg",alt:"The Acoustic Sessions cover",className:"w-full h-full object-cover","data-testid":"img-acoustic-cover"})}),w.jsx("div",{className:"w-full flex flex-col gap-3",children:[{title:"God Knows Where (Acoustic)",link:"https://ffm.to/godknowswhere"},{title:"Bitter (Acoustic)",link:"https://wmd.ffm.to/bitteracoustic"},{title:"Lonely Night (Acoustic)",link:"https://wmd.ffm.to/lonelynight-acoustic"},{title:"Girls Cry In Cars (Acoustic)",link:"https://wmd.ffm.to/girlscryincars-acoustic"}].map((t,e)=>w.jsxs("a",{href:t.link,target:"_blank",rel:"noreferrer","data-testid":`link-acoustic-${e}`,className:"glass-card rounded-xl px-5 py-3 flex items-center justify-between hover:border-primary/30 hover:shadow-xl transition-all duration-300 group",children:[w.jsx("span",{className:"font-semibold text-foreground group-hover:text-primary transition-colors",children:t.title}),w.jsx(Ug,{size:18,className:"text-foreground/20 group-hover:text-primary transition-colors flex-shrink-0 ml-3"})]},t.title))})]})]})]})})}const rR=[{id:"ruF-ZEdW1pI",title:"Little Scrap of Love - Official Lyric Video"},{id:"pfuD5FTs5Gc",title:'"God Knows Where" Official Music Video'},{id:"nN0bTGStG4w",title:"Bitter - Official Lyric Video"},{id:"x4SWDIqFLmI",title:'"Lonely Night" Official Music Video'},{id:"R3ealStcEdc",title:"Girls Cry In Cars - Official Lyric Video"}];function sR(){return w.jsxs("section",{id:"video",className:"py-24 md:py-32 px-6 relative",children:[w.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent to-[hsl(354_53%_75%/0.06)] -z-10"}),w.jsxs("div",{className:"max-w-7xl mx-auto",children:[w.jsxs("div",{className:"flex flex-col md:flex-row md:items-end justify-between mb-16 gap-6",children:[w.jsxs($e.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},children:[w.jsx("h2",{className:"text-4xl md:text-5xl font-heading text-foreground mb-4 uppercase tracking-wide",children:"Watch"}),w.jsx("div",{className:"w-16 h-1 bg-primary/30 rounded-full"})]}),w.jsx($e.a,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},href:"https://youtube.com/@neahmcmeen",target:"_blank",rel:"noreferrer","data-testid":"link-youtube-channel",className:"text-primary font-medium hover:text-foreground transition-colors flex items-center gap-2",children:"View YouTube Channel →"})]}),w.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:rR.map((t,e)=>w.jsxs($e.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:e*.1},className:"glass-card rounded-[2rem] overflow-hidden",children:[w.jsx("div",{className:"aspect-video",children:w.jsx("iframe",{src:`https://www.youtube.com/embed/${t.id}`,title:t.title,className:"w-full h-full",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,loading:"lazy","data-testid":`video-embed-${t.id}`})}),w.jsx("div",{className:"p-4 text-center",children:w.jsx("h3",{className:"font-semibold text-foreground text-sm",children:t.title})})]},t.id))})]})]})}const iR=[{name:"GKW Club Hat",price:"$25.00",image:"https://cdn.shopify.com/s/files/1/0968/3891/0234/files/hat_front.png?v=1763156797&width=512",link:"https://shop.app/products/10045947150618/gkw-club-hat?fromShop=true"},{name:"NM Signature Tee",price:"$25.00",image:"https://cdn.shopify.com/s/files/1/0968/3891/0234/files/NMSignatureTee.png?v=1763156847&width=512",link:"https://shop.app/products/10045947314458/nm-signature-tee?fromShop=true"},{name:"Embroidered Neah McMeen Hoodie",price:"$50.00",image:"https://cdn.shopify.com/s/files/1/0968/3891/0234/files/0D78A68E-81A3-406C-972D-B1A76CBF1486.jpg?v=1766509144&width=512",link:"https://shop.app/products/10045947117850/embroidered-neah-mcmeen-hoodie?fromShop=true"},{name:"BITTER Gingham Crewneck",price:"$40.00",image:"https://cdn.shopify.com/s/files/1/0968/3891/0234/files/Gingham_BITTER_Crewneck.png?v=1763156794&width=512",link:"https://shop.app/products/10045947052314/bitter-gingham-crewneck?fromShop=true"}],oR="https://shop.app/m/r5a1qjhb8c?dynamicFilterVAvailability=%7B%22available%22%3Atrue%7D&sortBy=MOST_SALES";function aR(){return w.jsx("section",{id:"store",className:"py-24 md:py-32 px-6 bg-[hsl(354_53%_75%/0.06)]",children:w.jsxs("div",{className:"max-w-7xl mx-auto",children:[w.jsxs($e.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},className:"text-center mb-16",children:[w.jsx("h2",{className:"text-4xl md:text-5xl font-heading text-foreground mb-4 uppercase tracking-wide",children:"Shop"}),w.jsx("div",{className:"w-16 h-1 bg-primary/30 mx-auto rounded-full mb-6"}
16),w.jsx("p",{className:"text-foreground/60 font-light max-w-lg mx-auto",children:"Official merch. Rep your favorite artist."})]}),w.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 md:gap-8",children:iR.map((t,e)=>w.jsxs($e.a,{href:t.link,target:"_blank",rel:"noreferrer",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:e*.08},"data-testid":`link-product-${e}`,className:"group",children:[w.jsx("div",{className:"glass-card rounded-2xl overflow-hidden mb-3 aspect-square",children:w.jsx("img",{src:t.image,alt:t.name,className:"w-full h-full object-contain p-4 group-hover:scale-105 transition-transform duration-500",loading:"lazy"})}),w.jsx("h3",{className:"font-semibold text-foreground text-sm md:text-base group-hover:text-primary transition-colors leading-snug",children:t.name}),w.jsx("p",{className:"text-foreground/50 text-sm mt-1",children:t.price})]},t.name))}),w.jsx($e.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mt-12",children:w.jsxs("a",{href:oR,target:"_blank",rel:"noreferrer","data-testid":"link-view-all-merch",className:"btn-pill btn-primary inline-flex items-center gap-2",children:[w.jsx($P,{size:18}),"View All Merch"]})})]})})}function lR(){return w.jsxs("section",{id:"tour",className:"py-24 md:py-32 px-6 bg-foreground text-white relative overflow-hidden",children:[w.jsx("div",{className:"absolute top-0 right-0 w-[800px] h-[800px] bg-primary/5 rounded-full blur-[100px] -translate-y-1/2 translate-x-1/3"}),w.jsx("div",{className:"absolute bottom-0 left-0 w-[600px] h-[600px] bg-[hsl(214_50%_79%/0.05)] rounded-full blur-[80px] translate-y-1/3 -translate-x-1/4"}),w.jsxs("div",{className:"max-w-5xl mx-auto relative z-10",children:[w.jsxs($e.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-16",children:[w.jsx("h2",{className:"text-4xl md:text-6xl font-heading text-white mb-6 uppercase tracking-wide",children:"On The Road"}),w.jsx("p",{className:"text-white/70 text-lg max-w-xl mx-auto font-light",children:"Join Neah for an intimate evening of storytelling and music."})]}),w.jsxs("div",{className:"text-center py-12 bg-white/5 rounded-3xl border border-white/10",children:[w.jsx(LP,{className:"mx-auto w-12 h-12 text-white/30 mb-4"}),w.jsx("h3",{className:"text-xl font-medium mb-2",children:"Dates Coming Soon"}),w.jsx("p",{className:"text-white/50 max-w-md mx-auto",children:"Join the mailing list below to be the first to hear about upcoming shows and appearances."}),w.jsx("a",{href:"#contact",className:"inline-block mt-6 px-8 py-3 rounded-full bg-primary text-white font-medium hover:opacity-90 transition-opacity shadow-lg","data-testid":"link-tour-notify",children:"Get Notified"})]})]})]})}function uR(){return w.jsx("section",{id:"about",className:"py-24 md:py-32 px-6",children:w.jsx("div",{className:"max-w-7xl mx-auto",children:w.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-16 lg:gap-24 items-start",children:[w.jsxs($e.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},className:"flex flex-col gap-6",children:[w.jsx("div",{className:"relative aspect-[3/4] w-full rounded-[3rem] overflow-hidden shadow-2xl shadow-foreground/10",children:w.jsx("img",{src:"/assets/love-letter-bed.jpeg",alt:"Neah McMeen portrait",className:"w-full h-full object-cover object-top","data-testid":"img-about-photo"})}),w.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[w.jsx("div",{className:"aspect-square rounded-2xl overflow-hidden shadow-lg",children:w.jsx("img",{src:"/assets/love-letter-mirror.jpeg",alt:"Neah McMeen mirror reflection",className:"w-full h-full object-cover object-top"})}),w.jsx("div",{className:"aspect-square rounded-2xl overflow-hidden shadow-lg",children:w.jsx("img",{src:"/assets/love-letter-tulips.jpeg",alt:"Neah McMeen with tulips",className:"w-full h-full object-cover object-top"})})]})]}),w.jsxs($e.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"flex flex-col lg:sticky lg:top-24",children:[w.jsxs("h2",{className:"text-5xl md:text-7xl font-heading text-foreground mb-8 leading-tight uppercase tracking-wide",children:["About",w.jsx("br",{}),"Neah"]}
vendor: 59,716 bytes, line 16
16),w.jsxs("div",{className:"prose prose-lg text-foreground/70 font-light mb-10 space-y-4",children:[w.jsx("p",{children:"Neah McMeen makes country music that tells the truth. Originally from a small town in Kansas, she grew up surrounded by the kinds of stories that don't always get written down, but stick with you anyway. That influence shows up in her songwriting, where she focuses on real emotions, specific moments, and the things people usually keep to themselves."}),w.jsx("p",{children:"She started releasing music in 2024, building momentum through a series of singles that connected quickly with listeners online. Instead of chasing trends, Neah leans into authenticity, whether that's a stripped-down vocal, a lyric that hits a little too close, or a song that doesn't try to tie everything up neatly."}),w.jsx("p",{children:"Her music lives somewhere between heartbreak and healing, meeting people where they are, and capturing what it feels like to be figuring out life in real time. As she continues to release new music, she is focused on creating songs people find themselves in the moment they hear it."})]}),w.jsxs("details",{className:"mb-10 group",children:[w.jsxs("summary",{className:"cursor-pointer text-primary font-semibold tracking-wide uppercase text-sm flex items-center gap-2 font-heading",children:[w.jsx("span",{children:"Read Full Press Bio"}),w.jsx("span",{className:"group-open:rotate-180 transition-transform",children:"▼"})]}),w.jsxs("div",{className:"mt-6 prose prose-lg text-foreground/70 font-light space-y-4",children:[w.jsx("p",{children:`"'God Knows Where' was given to me last summer, and the first time I heard the demo, it just got me," says McMeen. "It resonated so deeply with what I was going through — especially recently moving to Nashville to chase my dream. I really don't know where I'm going, but I trust that God does. I'm a firm believer that everything happens for a reason, and this song captures that in such a beautiful way."`}),w.jsx("p",{children:'Written by Emily Ann Roberts and Billy Aerts, the track holds personal significance. "Emily Ann Roberts is one of my favorite artists, so being able to sing something she helped create — it just means the world to me."'}),w.jsx("p",{children:'Her latest single "Unexpectedly" — her first-ever co-write with Grammy-nominated Deborah Allen ("Baby I Lied," "Hurt Me Bad (In a Real Good Way)") — has been met with an overwhelmingly warm response from fans and industry alike. With more music on the way, Neah shows no signs of slowing down.'}),w.jsx("p",{children:"With talent, grit, and a message rooted in faith and authenticity, Neah McMeen is proving that hard work pays off — and fans are lining up to join her on the journey."})]})]}),w.jsxs("div",{className:"glass-panel p-8 rounded-3xl relative overflow-visible",children:[w.jsx("div",{className:"absolute top-0 left-0 w-1 h-full bg-primary rounded-full"}),w.jsx("h3",{className:"text-xs font-heading font-bold tracking-widest text-primary uppercase mb-3",children:"In The News"}),w.jsxs("ul",{className:"space-y-3",children:[w.jsx("li",{children:w.jsx("a",{href:"https://www.plamedia.com/rising-star-neah-mcmeen-inks-exclusive-publicity-deal-with-renowned-pla-media/",target:"_blank",rel:"noreferrer",className:"text-foreground hover:text-primary transition-colors font-medium","data-testid":"link-news-pla",children:"Rising Star Neah McMeen Inks Exclusive Publicity Deal with PLA Media →"})}),w.jsx("li",{children:w.jsx("a",{href:"https://www.plamedia.com/neah-mcmeen-finds-solace-and-sisterhood-in-new-single-girls-cry-in-cars-out-this-friday/",target:"_blank",rel:"noreferrer",className:"text-foreground hover:text-primary transition-colors font-medium","data-testid":"link-news-gcic",children:'Neah McMeen Finds Solace and Sisterhood in "Girls Cry In Cars" →'})}),w.jsx("li",{children:w.jsx("a",{href:"https://countrymusicnewsinternational.com/neah-mcmeen-girls-cry-in-cars/",target:"_blank",rel:"noreferrer",className:"text-foreground hover:text-primary transition-colors font-medium","data-testid":"link-news-cmni",children:"Country Music News International — Girls Cry In Cars →"})}),w.jsx("li",{children:w.jsx("a",{href:"https://countryline.tv/country-music-shows/countryline-tv-season-4/countryline-tv-season-4-episode-12",target:"_blank",rel:"noreferrer",className:"text-foreground hover:text-primary transition-colors font-medium","data-testid":"link-news-countryline",children:"CountryLine TV — Season 4, Episode 12 →"})})]})]})]})]})})})}var Ae;(function(t){t.assertEqual=o=>o;function e(o){}t.assertIs=e;function n(o){throw new Error}t.assertNever=n,t.arrayToEnum=o=>{const l={};for(const c of o)l[c]=c;return l},t.getValidEnumValues=o=>{const l=t.objectKeys(o).filter(d=>typeof o[o[d]]!="number"),c={};for(const d of l)c[d]=o[d];return t.objectValues(c)},t.objectValues=o=>t.objectKeys(o).map(function(l){return o[l]}),t.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const l=[];for(const c in o)Object.prototype.hasOwnProperty.call(o,c)&&l.push(c);return l},t.find=(o,l)=>{for(const c of o)if(l(c))return c},t.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&isFinite(o)&&Math.floor(o)===o;function i(o,l=" | "){return o.map(c=>typeof c=="string"?`'${c}'`:c).join(l)}t.joinValues=i,t.jsonStringifyReplacer=(o,l)=>typeof l=="bigint"?l.toString():l})(Ae||(Ae={}));var lf;(function(t){t.mergeShapes=(e,n)=>({...e,...n})})(lf||(lf={}));const ee=Ae.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Hn=t=>{switch(typeof t){case"undefined":return ee.undefined;case"string":return ee.string;case"number":return isNaN(t)?ee.nan:ee.number;case"boolean":return ee.boolean;case"function":return ee.function;case"bigint":return ee.bigint;case"symbol":return ee.symbol;case"object":return Array.isArray(t)?ee.array:t===null?ee.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?ee.promise:typeof Map<"u"&&t instanceof Map?ee.map:typeof Set<"u"&&t instanceof Set?ee.set:typeof Date<"u"&&t instanceof Date?ee.date:ee.object;default:return ee.unknown}},H=Ae.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),cR=t=>JSON.stringify(t,null,2).replace(/"([^"]+)":/g,"$1:");class $t extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=i=>{this.issues=[...this.issues,i]},this.addIssues=(i=[])=>{this.issues=[...this.issues,...i]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}format(e){const n=e||function(l){return l.message},i={_errors:[]},o=l=>{for(const c of l.issues)if(c.code==="invalid_union")c.unionErrors.map(o);else if(c.code==="invalid_return_type")o(c.returnTypeError);else if(c.code==="invalid_arguments")o(c.argumentsError);else if(c.path.length===0)i._errors.push(n(c));else{let d=i,f=0;for(;f<c.path.length;){const p=c.path[f];f===c.path.length-1?(d[p]=d[p]||{_errors:[]},d[p]._errors.push(n(c))):d[p]=d[p]||{_errors:[]},d=d[p],f++}}};return o(this),i}static assert(e){if(!(e instanceof $t))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Ae.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=n=>n.message){const n={},i=[];for(const o of this.issues)o.path.length>0?(n[o.path[0]]=n[o.path[0]]||[],n[o.path[0]].push(e(o))):i.push(e(o));return{formErrors:i,fieldErrors:n}}get formErrors(){return this.flatten()}}$t.create=t=>new $t(t);const Qs=(t,e)=>{let n;switch(t.code){case H.invalid_type:t.received===ee.undefined?n="Required":n=`Expected ${t.expected}, received ${t.received}`;break;case H.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(t.expected,Ae.jsonStringifyReplacer)}`;break;case H.unrecognized_keys:n=`Unrecognized key(s) in object: ${Ae.joinValues(t.keys,", ")}`;break;case H.invalid_union:n="Invalid input";break;case H.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Ae.joinValues(t.options)}`;break;case H.invalid_enum_value:n=`Invalid enum value. Expected ${Ae.joinValues(t.options)}, received '${t.received}'`;break;case H.invalid_arguments:n="Invalid function arguments";break;case H.invalid_return_type:n="Invalid function return type";break;case H.invalid_date:n="Invalid date";break;case H.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(n=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?n=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?n=`Invalid input: must end with "${t.validation.endsWith}"`:Ae.assertNever(t.validation):t.validation!=="regex"?n=`Invalid ${t.validation}`:n="Invalid";break;case H.too_small:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:n="Invalid input";break;case H.too_big:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?n=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:n="Invalid input";break;case H.custom:n="Invalid input";break;case H.invalid_intersection_types:n="Intersection results could not be merged";break;case H.not_multiple_of:n=`Number must be a multiple of ${t.multipleOf}`;break;case H.not_finite:n="Number must be finite";break;default:n=e.defaultError,Ae.assertNever(t)}return{message:n}};let e1=Qs;function dR(t){e1=t}function Sl(){return e1}const Tl=t=>{const{data:e,path:n,errorMaps:i,issueData:o}=t,l=[...n,...o.path||[]],c={...o,path:l};if(o.message!==void 0)return{...o,path:l,message:o.message};let d="";const f=i.filter(p=>!!p).slice().reverse();for(const p of f)d=p(c,{data:e,defaultError:d}).message;return{...o,path:l,message:d}},fR=[];function Y(t,e){const n=Sl(),i=Tl({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,n,n===Qs?void 0:Qs].filter(o=>!!o)});t.common.issues.push(i)}class bt{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,n){const i=[];for(const o of n){if(o.status==="aborted")return me;o.status==="dirty"&&e.dirty(),i.push(o.value)}return{status:e.value,value:i}}static async mergeObjectAsync(e,n){const i=[];for(const o of n){const l=await o.key,c=await o.value;i.push({key:l,value:c})}return bt.mergeObjectSync(e,i)}static mergeObjectSync(e,n){const i={};for(const o of n){const{key:l,value:c}=o;if(l.status==="aborted"||c.status==="aborted")return me;l.status==="dirty"&&e.dirty(),c.status==="dirty"&&e.dirty(),l.value!=="__proto__"&&(typeof c.value<"u"||o.alwaysSet)&&(i[l.value]=c.value)}return{status:e.value,value:i}}}const me=Object.freeze({status:"aborted"}),Ds=t=>({status:"dirty",value:t}),_t=t=>({status:"valid",value:t}),uf=t=>t.status==="aborted",cf=t=>t.status==="dirty",Yr=t=>t.status==="valid",po=t=>typeof Promise<"u"&&t instanceof Promise;function bl(t,e,n,i){if(typeof e=="function"?t!==e||!0:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return e.get(t)}function t1(t,e,n,i,o){if(typeof e=="function"?t!==e||!0:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return e.set(t,n),n}var oe;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e?.message})(oe||(oe={}));var Yi,Ji;class Rn{constructor(e,n,i,o){this._cachedPath=[],this.parent=e,this.data=n,this._path=i,this._key=o}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const bv=(t,e)=>{if(Yr(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new $t(t.common.issues);return this._error=n,this._error}}};function we(t){if(!t)return{};const{errorMap:e,invalid_type_error:n,required_error:i,description:o}=t;if(e&&(n||i))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:o}:{errorMap:(c,d)=>{var f,p;const{message:m}=t;return c.code==="invalid_enum_value"?{message:m??d.defaultError}:typeof d.data>"u"?{message:(f=m??i)!==null&&f!==void 0?f:d.defaultError}:c.code!=="invalid_type"?{message:d.defaultError}:{message:(p=m??n)!==null&&p!==void 0?p:d.defaultError}},description:o}}class Pe{get description(){return this._def.description}_getType(e){return Hn(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:Hn(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new bt,ctx:{common:e.parent.common,data:e.data,parsedType:Hn(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const n=this._parse(e);if(po(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(e){const n=this._parse(e);return Promise.resolve(n)}parse(e,n){const i=this.safeParse(e,n);if(i.success)return i.data;throw i.error}safeParse(e,n){var i;const o={common:{issues:[],async:(i=n?.async)!==null&&i!==void 0?i:!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Hn(e)},l=this._parseSync({data:e,path:o.path,parent:o});return bv(o,l)}"~validate"(e){var n,i;const o={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Hn(e)};if(!this["~standard"].async)try{const l=this._parseSync({data:e,path:[],parent:o});return Yr(l)?{value:l.value}:{issues:o.common.issues}}catch(l){!((i=(n=l?.message)===null||n===void 0?void 0:n.toLowerCase())===null||i===void 0)&&i.includes("encountered")&&(this["~standard"].async=!0),o.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:o}).then(l=>Yr(l)?{value:l.value}:{issues:o.common.issues})}async parseAsync(e,n){const i=await this.safeParseAsync(e,n);if(i.success)return i.data;throw i.error}async safeParseAsync(e,n){const i={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Hn(e)},o=this._parse({data:e,path:i.path,parent:i}),l=await(po(o)?o:Promise.resolve(o));return bv(i,l)}refine(e,n){const i=o=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(o):n;return this._refinement((o,l)=>{const c=e(o),d=()=>l.addIssue({code:H.custom,...i(o)});return typeof Promise<"u"&&c instanceof Promise?c.then(f=>f?!0:(d(),!1)):c?!0:(d(),!1)})}refinement(e,n){return this._refinement((i,o)=>e(i)?!0:(o.addIssue(typeof n=="function"?n(i,o):n),!1))}_refinement(e){return new vn({schema:this,typeName:pe.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return kn.create(this,this._def)}nullable(){return kr.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return pn.create(this)}promise(){return Gs.create(this,this._def)}or(e){return vo.create([this,e],this._def)}and(e){return xo.create(this,e,this._def)}transform(e){return new vn({...we(this._def),schema:this,typeName:pe.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const n=typeof e=="function"?e:()=>e;return new Po({...we(this._def),innerType:this,defaultValue:n,typeName:pe.ZodDefault})}brand(){return new gh({typeName:pe.ZodBranded,type:this,...we(this._def)})}catch(e){const n=typeof e=="function"?e:()=>e;return new Co({...we(this._def),innerType:this,catchValue:n,typeName:pe.ZodCatch})}describe(e){const n=this.constructor;return new n({...this._def,description:e})}pipe(e){return Do.create(this,e)}readonly(){return Eo.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const hR=/^c[^\s-]{8,}$/i,pR=/^[0-9a-z]+$/,mR=/^[0-9A-HJKMNP-TV-Z]{26}$/i,gR=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,yR=/^[a-z0-9_-]{21}$/i,vR=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,xR=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,wR=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,SR="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Ed;const TR=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,bR=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,PR=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,CR=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,ER=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,_R=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,n1="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",kR=new RegExp(`^${n1}$`);function r1(t){let e="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return t.precision?e=`${e}\\.\\d{${t.precision}}`:t.precision==null&&(e=`${e}(\\.\\d+)?`),e}function AR(t){return new RegExp(`^${r1(t)}$`)}function s1(t){let e=`${n1}T${r1(t)}`;const n=[];return n.push(t.local?"Z?":"Z"),t.offset&&n.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${n.join("|")})`,new RegExp(`^${e}$`)}function NR(t,e){return!!((e==="v4"||!e)&&TR.test(t)||(e==="v6"||!e)&&PR.test(t))}function RR(t,e){if(!vR.test(t))return!1;try{const[n]=t.split("."),i=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),o=JSON.parse(atob(i));return!(typeof o!="object"||o===null||!o.typ||!o.alg||e&&o.alg!==e)}catch{return!1}}function OR(t,e){return!!((e==="v4"||!e)&&bR.test(t)||(e==="v6"||!e)&&CR.test(t))}class hn extends Pe{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==ee.string){const l=this._getOrReturnCtx(e);return Y(l,{code:H.invalid_type,expected:ee.string,received:l.parsedType}),me}const i=new bt;let o;for(const l of this._def.checks)if(l.kind==="min")e.data.length<l.value&&(o=this._getOrReturnCtx(e,o),Y(o,{code:H.too_small,minimum:l.value,type:"string",inclusive:!0,exact:!1,message:l.message}),i.dirty());else if(l.kind==="max")e.data.length>l.value&&(o=this._getOrReturnCtx(e,o),Y(o,{code:H.too_big,maximum:l.value,type:"string",inclusive:!0,exact:!1,message:l.message}),i.dirty());else if(l.kind==="length"){const c=e.data.length>l.value,d=e.data.length<l.value;(c||d)&&(o=this._getOrReturnCtx(e,o),c?Y(o,{code:H.too_big,maximum:l.value,type:"string",inclusive:!0,exact:!0,message:l.message}):d&&Y(o,{code:H.too_small,minimum:l.value,type:"string",inclusive:!0,exact:!0,message:l.message}),i.dirty())}else if(l.kind==="email")wR.test(e.data)||(o=this._getOrReturnCtx(e,o),Y(o,{validation:"email",code:H.invalid_string,message:l.message}),i.dirty());else if(l.kind==="emoji")Ed||(Ed=new RegExp(SR,"u")),Ed.test(e.data)||(o=this._getOrReturnCtx(e,o),Y(o,{validation:"emoji",code:H.invalid_string,message:l.message}),i.dirty());else if(l.kind==="uuid")gR.test(e.data)||(o=this._getOrReturnCtx(e,o),Y(o,{validation:"uuid",code:H.invalid_string,message:l.message}),i.dirty());else if(l.kind==="nanoid")yR.test(e.data)||(o=this._getOrReturnCtx(e,o),Y(o,{validation:"nanoid",code:H.invalid_string,message:l.message}),i.dirty());else if(l.kind==="cuid")hR.test(e.data)||(o=this._getOrReturnCtx(e,o),Y(o,{validation:"cuid",code:H.invalid_string,message:l.message}),i.dirty());else if(l.kind==="cuid2")pR.test(e.data)||(o=this._getOrReturnCtx(e,o),Y(o,{validation:"cuid2",code:H.invalid_string,message:l.message}),i.dirty());else if(l.kind==="ulid")mR.test(e.data)||(o=this._getOrReturnCtx(e,o),Y(o,{validation:"ulid",code:H.invalid_string,message:l.message}),i.dirty());else if(l.kind==="url")try{new URL(e.data)}catch{o=this._getOrReturnCtx(e,o),Y(o,{validation:"url",code:H.invalid_string,message:l.message}),i.dirty()}else l.kind==="regex"?(l.regex.lastIndex=0,l.regex.test(e.data)||(o=this._getOrReturnCtx(e,o),Y(o,{validation:"regex",code:H.invalid_string,message:l.message}),i.dirty())):l.kind==="trim"?e.data=e.data.trim():l.kind==="includes"?e.data.includes(l.value,l.position)||(o=this._getOrReturnCtx(e,o),Y(o,{code:H.invalid_string,validation:{includes:l.value,position:l.position},message:l.message}),i.dirty()):l.kind==="toLowerCase"?e.data=e.data.toLowerCase():l.kind==="toUpperCase"?e.data=e.data.toUpperCase():l.kind==="startsWith"?e.data.startsWith(l.value)||(o=this._getOrReturnCtx(e,o),Y(o,{code:H.invalid_string,validation:{startsWith:l.value},message:l.message}),i.dirty()):l.kind==="endsWith"?e.data.endsWith(l.value)||(o=this._getOrReturnCtx(e,o),Y(o,{code:H.invalid_string,validation:{endsWith:l.value},message:l.message}),i.dirty()):l.kind==="datetime"?s1(l).test(e.data)||(o=this._getOrReturnCtx(e,o),Y(o,{code:H.invalid_string,validation:"datetime",message:l.message}),i.dirty()):l.kind==="date"?kR.test(e.data)||(o=this._getOrReturnCtx(e,o),Y(o,{code:H.invalid_string,validation:"date",message:l.message}),i.dirty()):l.kind==="time"?AR(l).test(e.data)||(o=this._getOrReturnCtx(e,o),Y(o,{code:H.invalid_string,validation:"time",message:l.message}),i.dirty()):l.kind==="duration"?xR.test(e.data)||(o=this._getOrReturnCtx(e,o),Y(o,{validation:"duration",code:H.invalid_string,message:l.message}),i.dirty()):l.kind==="ip"?NR(e.data,l.version)||(o=this._getOrReturnCtx(e,o),Y(o,{validation:"ip",code:H.invalid_string,message:l.message}),i.dirty()):l.kind==="jwt"?RR(e.data,l.alg)||(o=this._getOrReturnCtx(e,o),Y(o,{validation:"jwt",code:H.invalid_string,message:l.message}),i.dirty()):l.kind==="cidr"?OR(e.data,l.version)||(o=this._getOrReturnCtx(e,o),Y(o,{validation:"cidr",code:H.invalid_string,message:l.message}),i.dirty()):l.kind==="base64"?ER.test(e.data)||(o=this._getOrReturnCtx(e,o),Y(o,{validation:"base64",code:H.invalid_string,message:l.message}),i.dirty()):l.kind==="base64url"?_R.test(e.data)||(o=this._getOrReturnCtx(e,o),Y(o,{validation:"base64url",code:H.invalid_string,message:l.message}),i.dirty()):Ae.assertNever(l);return{status:i.value,value:e.data}}_regex(e,n,i){return this.refinement(o=>e.test(o),{validation:n,code:H.invalid_string,...oe.errToObj(i)})}_addCheck(e){return new hn({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...oe.errToObj(e)})}url(e){return this._addCheck({kind:"url",...oe.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...oe.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...oe.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...oe.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...oe.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...oe.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...oe.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...oe.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...oe.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...oe.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...oe.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...oe.errToObj(e)})}datetime(e){var n,i;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:(n=e?.offset)!==null&&n!==void 0?n:!1,local:(i=e?.local)!==null&&i!==void 0?i:!1,...oe.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof e?.precision>"u"?null:e?.precision,...oe.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...oe.errToObj(e)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...oe.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n?.position,...oe.errToObj(n?.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...oe.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...oe.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...oe.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...oe.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...oe.errToObj(n)})}nonempty(e){return this.min(1,oe.errToObj(e))}trim(){return new hn({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new hn({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new hn({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxLength(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}hn.create=t=>{var e;return new hn({checks:[],typeName:pe.ZodString,coerce:(e=t?.coerce)!==null&&e!==void 0?e:!1,...we(t)})};function MR(t,e){const n=(t.toString().split(".")[1]||"").length,i=(e.toString().split(".")[1]||"").length,o=n>i?n:i,l=parseInt(t.toFixed(o).replace(".","")),c=parseInt(e.toFixed(o).replace(".",""));return l%c/Math.pow(10,o)}class Cr extends Pe{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==ee.number){const l=this._getOrReturnCtx(e);return Y(l,{code:H.invalid_type,expected:ee.number,received:l.parsedType}),me}let i;const o=new bt;for(const l of this._def.checks)l.kind==="int"?Ae.isInteger(e.data)||(i=this._getOrReturnCtx(e,i),Y(i,{code:H.invalid_type,expected:"integer",received:"float",message:l.message}),o.dirty()):l.kind==="min"?(l.inclusive?e.data<l.value:e.data<=l.value)&&(i=this._getOrReturnCtx(e,i),Y(i,{code:H.too_small,minimum:l.value,type:"number",inclusive:l.inclusive,exact:!1,message:l.message}),o.dirty()):l.kind==="max"?(l.inclusive?e.data>l.value:e.data>=l.value)&&(i=this._getOrReturnCtx(e,i),Y(i,{code:H.too_big,maximum:l.value,type:"number",inclusive:l.inclusive,exact:!1,message:l.message}),o.dirty()):l.kind==="multipleOf"?MR(e.data,l.value)!==0&&(i=this._getOrReturnCtx(e,i),Y(i,{code:H.not_multiple_of,multipleOf:l.value,message:l.message}),o.dirty()):l.kind==="finite"?Number.isFinite(e.data)||(i=this._getOrReturnCtx(e,i),Y(i,{code:H.not_finite,message:l.message}),o.dirty()):Ae.assertNever(l);return{status:o.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,oe.toString(n))}gt(e,n){return this.setLimit("min",e,!1,oe.toString(n))}lte(e,n){return this.setLimit("max",e,!0,oe.toString(n))}lt(e,n){return this.setLimit("max",e,!1,oe.toString(n))}setLimit(e,n,i,o){return new Cr({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:i,message:oe.toString(o)}]})}_addCheck(e){return new Cr({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:oe.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:oe.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:oe.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:oe.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:oe.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:oe.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:oe.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:oe.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:oe.toString(e)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&Ae.isInteger(e.value))}get isFinite(){let e=null,n=null;for(const i of this._def.checks){if(i.kind==="finite"||i.kind==="int"||i.kind==="multipleOf")return!0;i.kind==="min"?(n===null||i.value>n)&&(n=i.value):i.kind==="max"&&(e===null||i.value<e)&&(e=i.value)}return Number.isFinite(n)&&Number.isFinite(e)}}Cr.create=t=>new Cr({checks:[],typeName:pe.ZodNumber,coerce:t?.coerce||!1,...we(t)});class Er extends Pe{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==ee.bigint)return this._getInvalidInput(e);let i;const o=new bt;for(const l of this._def.checks)l.kind==="min"?(l.inclusive?e.data<l.value:e.data<=l.value)&&(i=this._getOrReturnCtx(e,i),Y(i,{code:H.too_small,type:"bigint",minimum:l.value,inclusive:l.inclusive,message:l.message}),o.dirty()):l.kind==="max"?(l.inclusive?e.data>l.value:e.data>=l.value)&&(i=this._getOrReturnCtx(e,i),Y(i,{code:H.too_big,type:"bigint",maximum:l.value,inclusive:l.inclusive,message:l.message}),o.dirty()):l.kind==="multipleOf"?e.data%l.value!==BigInt(0)&&(i=this._getOrReturnCtx(e,i),Y(i,{code:H.not_multiple_of,multipleOf:l.value,message:l.message}),o.dirty()):Ae.assertNever(l);return{status:o.value,value:e.data}}_getInvalidInput(e){const n=this._getOrReturnCtx(e);return Y(n,{code:H.invalid_type,expected:ee.bigint,received:n.parsedType}),me}gte(e,n){return this.setLimit("min",e,!0,oe.toString(n))}gt(e,n){return this.setLimit("min",e,!1,oe.toString(n))}lte(e,n){return this.setLimit("max",e,!0,oe.toString(n))}lt(e,n){return this.setLimit("max",e,!1,oe.toString(n))}setLimit(e,n,i,o){return new Er({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:i,message:oe.toString(o)}]})}_addCheck(e){return new Er({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:oe.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:oe.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:oe.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:oe.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:oe.toString(n)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}Er.create=t=>{var e;return new Er({checks:[],typeName:pe.ZodBigInt,coerce:(e=t?.coerce)!==null&&e!==void 0?e:!1,...we(t)})};class mo extends Pe{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==ee.boolean){const i=this._getOrReturnCtx(e);return Y(i,{code:H.invalid_type,expected:ee.boolean,received:i.parsedType}),me}return _t(e.data)}}mo.create=t=>new mo({typeName:pe.ZodBoolean,coerce:t?.coerce||!1,...we(t)});class Jr extends Pe{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==ee.date){const l=this._getOrReturnCtx(e);return Y(l,{code:H.invalid_type,expected:ee.date,received:l.parsedType}),me}if(isNaN(e.data.getTime())){const l=this._getOrReturnCtx(e);return Y(l,{code:H.invalid_date}),me}const i=new bt;let o;for(const l of this._def.checks)l.kind==="min"?e.data.getTime()<l.value&&(o=this._getOrReturnCtx(e,o),Y(o,{code:H.too_small,message:l.message,inclusive:!0,exact:!1,minimum:l.value,type:"date"}),i.dirty()):l.kind==="max"?e.data.getTime()>l.value&&(o=this._getOrReturnCtx(e,o),Y(o,{code:H.too_big,message:l.message,inclusive:!0,exact:!1,maximum:l.value,type:"date"}),i.dirty()):Ae.assertNever(l);return{status:i.value,value:new Date(e.data.getTime())}}_addCheck(e){return new Jr({...this._def,checks:[...this._def.checks,e]})}min(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:oe.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:oe.toString(n)})}get minDate(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e!=null?new Date(e):null}}Jr.create=t=>new Jr({checks:[],coerce:t?.coerce||!1,typeName:pe.ZodDate,...we(t)});class Pl extends Pe{_parse(e){if(this._getType(e)!==ee.symbol){const i=this._getOrReturnCtx(e);return Y(i,{code:H.invalid_type,expected:ee.symbol,received:i.parsedType}),me}return _t(e.data)}}Pl.create=t=>new Pl({typeName:pe.ZodSymbol,...we(t)});class go extends Pe{_parse(e){if(this._getType(e)!==ee.undefined){const i=this._getOrReturnCtx(e);return Y(i,{code:H.invalid_type,expected:ee.undefined,received:i.parsedType}),me}return _t(e.data)}}go.create=t=>new go({typeName:pe.ZodUndefined,...we(t)});class yo extends Pe{_parse(e){if(this._getType(e)!==ee.null){const i=this._getOrReturnCtx(e);return Y(i,{code:H.invalid_type,expected:ee.null,received:i.parsedType}),me}return _t(e.data)}}yo.create=t=>new yo({typeName:pe.ZodNull,...we(t)});class Zs extends Pe{constructor(){super(...arguments),this._any=!0}_parse(e){return _t(e.data)}}Zs.create=t=>new Zs({typeName:pe.ZodAny,...we(t)});class Qr extends Pe{constructor(){super(...arguments),this._unknown=!0}_parse(e){return _t(e.data)}}Qr.create=t=>new Qr({typeName:pe.ZodUnknown,...we(t)});class Xn extends Pe{_parse(e){const n=this._getOrReturnCtx(e);return Y(n,{code:H.invalid_type,expected:ee.never,received:n.parsedType}),me}}Xn.create=t=>new Xn({typeName:pe.ZodNever,...we(t)});class Cl extends Pe{_parse(e){if(this._getType(e)!==ee.undefined){const i=this._getOrReturnCtx(e);return Y(i,{code:H.invalid_type,expected:ee.void,received:i.parsedType}),me}return _t(e.data)}}Cl.create=t=>new Cl({typeName:pe.ZodVoid,...we(t)});class pn extends Pe{_parse(e){const{ctx:n,status:i}=this._processInputParams(e),o=this._def;if(n.parsedType!==ee.array)return Y(n,{code:H.invalid_type,expected:ee.array,received:n.parsedType}),me;if(o.exactLength!==null){const c=n.data.length>o.exactLength.value,d=n.data.length<o.exactLength.value;(c||d)&&(Y(n,{code:c?H.too_big:H.too_small,minimum:d?o.exactLength.value:void 0,maximum:c?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),i.dirty())}if(o.minLength!==null&&n.data.length<o.minLength.value&&(Y(n,{code:H.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),i.dirty()),o.maxLength!==null&&n.data.length>o.maxLength.value&&(Y(n,{code:H.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),i.dirty()),n.common.async)return Promise.all([...n.data].map((c,d)=>o.type._parseAsync(new Rn(n,c,n.path,d)))).then(c=>bt.mergeArray(i,c));const l=[...n.data].map((c,d)=>o.type._parseSync(new Rn(n,c,n.path,d)));return bt.mergeArray(i,l)}get element(){return this._def.type}min(e,n){return new pn({...this._def,minLength:{value:e,message:oe.toString(n)}})}max(e,n){return new pn({...this._def,maxLength:{value:e,message:oe.toString(n)}})}length(e,n){return new pn({...this._def,exactLength:{value:e,message:oe.toString(n)}})}nonempty(e){return this.min(1,e)}}pn.create=(t,e)=>new pn({type:t,minLength:null,maxLength:null,exactLength:null,typeName:pe.ZodArray,...we(e)});function As(t){if(t instanceof Ke){const e={};for(const n in t.shape){const i=t.shape[n];e[n]=kn.create(As(i))}return new Ke({...t._def,shape:()=>e})}else return t instanceof pn?new pn({...t._def,type:As(t.element)}):t instanceof kn?kn.create(As(t.unwrap())):t instanceof kr?kr.create(As(t.unwrap())):t instanceof On?On.create(t.items.map(e=>As(e))):t}class Ke extends Pe{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),n=Ae.objectKeys(e);return this._cached={shape:e,keys:n}}_parse(e){if(this._getType(e)!==ee.object){const p=this._getOrReturnCtx(e);return Y(p,{code:H.invalid_type,expected:ee.object,received:p.parsedType}),me}const{status:i,ctx:o}=this._processInputParams(e),{shape:l,keys:c}=this._getCached(),d=[];if(!(this._def.catchall instanceof Xn&&this._def.unknownKeys==="strip"))for(const p in o.data)c.includes(p)||d.push(p);const f=[];for(const p of c){const m=l[p],y=o.data[p];f.push({key:{status:"valid",value:p},value:m._parse(new Rn(o,y,o.path,p)),alwaysSet:p in o.data})}if(this._def.catchall instanceof Xn){const p=this._def.unknownKeys;if(p==="passthrough")for(const m of d)f.push({key:{status:"valid",value:m},value:{status:"valid",value:o.data[m]}});else if(p==="strict")d.length>0&&(Y(o,{code:H.unrecognized_keys,keys:d}),i.dirty());else if(p!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const p=this._def.catchall;for(const m of d){const y=o.data[m];f.push({key:{status:"valid",value:m},value:p._parse(new Rn(o,y,o.path,m)),alwaysSet:m in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const p=[];for(const m of f){const y=await m.key,x=await m.value;p.push({key:y,value:x,alwaysSet:m.alwaysSet})}return p}).then(p=>bt.mergeObjectSync(i,p)):bt.mergeObjectSync(i,f)}get shape(){return this._def.shape()}strict(e){return oe.errToObj,new Ke({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(n,i)=>{var o,l,c,d;const f=(c=(l=(o=this._def).errorMap)===null||l===void 0?void 0:l.call(o,n,i).message)!==null&&c!==void 0?c:i.defaultError;return n.code==="unrecognized_keys"?{message:(d=oe.errToObj(e).message)!==null&&d!==void 0?d:f}:{message:f}}}:{}})}strip(){return new Ke({...this._def,unknownKeys:"strip"})}passthrough(){return new Ke({...this._def,unknownKeys:"passthrough"})}extend(e){return new Ke({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new Ke({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:pe.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new Ke({...this._def,catchall:e})}pick(e){const n={};return Ae.objectKeys(e).forEach(i=>{e[i]&&this.shape[i]&&(n[i]=this.shape[i])}),new Ke({...this._def,shape:()=>n})}omit(e){const n={};return Ae.objectKeys(this.shape).forEach(i=>{e[i]||(n[i]=this.shape[i])}),new Ke({...this._def,shape:()=>n})}deepPartial(){return As(this)}partial(e){const n={};return Ae.objectKeys(this.shape).forEach(i=>{const o=this.shape[i];e&&!e[i]?n[i]=o:n[i]=o.optional()}),new Ke({...this._def,shape:()=>n})}required(e){const n={};return Ae.objectKeys(this.shape).forEach(i=>{if(e&&!e[i])n[i]=this.shape[i];else{let l=this.shape[i];for(;l instanceof kn;)l=l._def.innerType;n[i]=l}}),new Ke({...this._def,shape:()=>n})}keyof(){return i1(Ae.objectKeys(this.shape))}}Ke.create=(t,e)=>new Ke({shape:()=>t,unknownKeys:"strip",catchall:Xn.create(),typeName:pe.ZodObject,...we(e)});Ke.strictCreate=(t,e)=>new Ke({shape:()=>t,unknownKeys:"strict",catchall:Xn.create(),typeName:pe.ZodObject,...we(e)});Ke.lazycreate=(t,e)=>new Ke({shape:t,unknownKeys:"strip",catchall:Xn.create(),typeName:pe.ZodObject,...we(e)});class vo extends Pe{_parse(e){const{ctx:n}=this._processInputParams(e),i=this._def.options;function o(l){for(const d of l)if(d.result.status==="valid")return d.result;for(const d of l)if(d.result.status==="dirty")return n.common.issues.push(...d.ctx.common.issues),d.result;const c=l.map(d=>new $t(d.ctx.common.issues));return Y(n,{code:H.invalid_union,unionErrors:c}),me}if(n.common.async)return Promise.all(i.map(async l=>{const c={...n,common:{...n.common,issues:[]},parent:null};return{result:await l._parseAsync({data:n.data,path:n.path,parent:c}),ctx:c}})).then(o);{let l;const c=[];for(const f of i){const p={...n,common:{...n.common,issues:[]},parent:null},m=f._parseSync({data:n.data,path:n.path,parent:p});if(m.status==="valid")return m;m.status==="dirty"&&!l&&(l={result:m,ctx:p}),p.common.issues.length&&c.push(p.common.issues)}if(l)return n.common.issues.push(...l.ctx.common.issues),l.result;const d=c.map(f=>new $t(f));return Y(n,{code:H.invalid_union,unionErrors:d}),me}}get options(){return this._def.options}}vo.create=(t,e)=>new vo({options:t,typeName:pe.ZodUnion,...we(e)});const Wn=t=>t instanceof So?Wn(t.schema):t instanceof vn?Wn(t.innerType()):t instanceof To?[t.value]:t instanceof _r?t.options:t instanceof bo?Ae.objectValues(t.enum):t instanceof Po?Wn(t._def.innerType):t instanceof go?[void 0]:t instanceof yo?[null]:t instanceof kn?[void 0,...Wn(t.unwrap())]:t instanceof kr?[null,...Wn(t.unwrap())]:t instanceof gh||t instanceof Eo?Wn(t.unwrap()):t instanceof Co?Wn(t._def.innerType):[];class Xl extends Pe{_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==ee.object)return Y(n,{code:H.invalid_type,expected:ee.object,received:n.parsedType}),me;const i=this.discriminator,o=n.data[i],l=this.optionsMap.get(o);return l?n.common.async?l._parseAsync({data:n.data,path:n.path,parent:n}):l._parseSync({data:n.data,path:n.path,parent:n}):(Y(n,{code:H.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[i]}),me)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,n,i){const o=new Map;for(const l of n){const c=Wn(l.shape[e]);if(!c.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const d of c){if(o.has(d))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(d)}`);o.set(d,l)}}return new Xl({typeName:pe.ZodDiscriminatedUnion,discriminator:e,options:n,optionsMap:o,...we(i)})}}function df(t,e){const n=Hn(t),i=Hn(e);if(t===e)return{valid:!0,data:t};if(n===ee.object&&i===ee.object){const o=Ae.objectKeys(e),l=Ae.objectKeys(t).filter(d=>o.indexOf(d)!==-1),c={...t,...e};for(const d of l){const f=df(t[d],e[d]);if(!f.valid)return{valid:!1};c[d]=f.data}return{valid:!0,data:c}}else if(n===ee.array&&i===ee.array){if(t.length!==e.length)return{valid:!1};const o=[];for(let l=0;l<t.length;l++){const c=t[l],d=e[l],f=df(c,d);if(!f.valid)return{valid:!1};o.push(f.data)}return{valid:!0,data:o}}else return n===ee.date&&i===ee.date&&+t==+e?{valid:!0,data:t}:{valid:!1}}class xo extends Pe{_parse(e){const{status:n,ctx:i}=this._processInputParams(e),o=(l,c)=>{if(uf(l)||uf(c))return me;const d=df(l.value,c.value);return d.valid?((cf(l)||cf(c))&&n.dirty(),{status:n.value,value:d.data}):(Y(i,{code:H.invalid_intersection_types}),me)};return i.common.async?Promise.all([this._def.left._parseAsync({data:i.data,path:i.path,parent:i}),this._def.right._parseAsync({data:i.data,path:i.path,parent:i})]).then(([l,c])=>o(l,c)):o(this._def.left._parseSync({data:i.data,path:i.path,parent:i}),this._def.right._parseSync({data:i.data,path:i.path,parent:i}))}}xo.create=(t,e,n)=>new xo({left:t,right:e,typeName:pe.ZodIntersection,...we(n)});class On extends Pe{_parse(e){const{status:n,ctx:i}=this._processInputParams(e);if(i.parsedType!==ee.array)return Y(i,{code:H.invalid_type,expected:ee.array,received:i.parsedType}),me;if(i.data.length<this._def.items.length)return Y(i,{code:H.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),me;!this._def.rest&&i.data.length>this._def.items.length&&(Y(i,{code:H.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const l=[...i.data].map((c,d)=>{const f=this._def.items[d]||this._def.rest;return f?f._parse(new Rn(i,c,i.path,d)):null}).filter(c=>!!c);return i.common.async?Promise.all(l).then(c=>bt.mergeArray(n,c)):bt.mergeArray(n,l)}get items(){return this._def.items}rest(e){return new On({...this._def,rest:e})}}On.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new On({items:t,typeName:pe.ZodTuple,rest:null,...we(e)})};class wo extends Pe{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:i}=this._processInputParams(e);if(i.parsedType!==ee.object)return Y(i,{code:H.invalid_type,expected:ee.object,received:i.parsedType}),me;const o=[],l=this._def.keyType,c=this._def.valueType;for(const d in i.data)o.push({key:l._parse(new Rn(i,d,i.path,d)),value:c._parse(new Rn(i,i.data[d],i.path,d)),alwaysSet:d in i.data});return i.common.async?bt.mergeObjectAsync(n,o):bt.mergeObjectSync(n,o)}get element(){return this._def.valueType}static create(e,n,i){return n instanceof Pe?new wo({keyType:e,valueType:n,typeName:pe.ZodRecord,...we(i)}):new wo({keyType:hn.create(),valueType:e,typeName:pe.ZodRecord,...we(n)})}}class El extends Pe{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:i}=this._processInputParams(e);if(i.parsedType!==ee.map)return Y(i,{code:H.invalid_type,expected:ee.map,received:i.parsedType}),me;const o=this._def.keyType,l=this._def.valueType,c=[...i.data.entries()].map(([d,f],p)=>({key:o._parse(new Rn(i,d,i.path,[p,"key"])),value:l._parse(new Rn(i,f,i.path,[p,"value"]))}));if(i.common.async){const d=new Map;return Promise.resolve().then(async()=>{for(const f of c){const p=await f.key,m=await f.value;if(p.status==="aborted"||m.status==="aborted")return me;(p.status==="dirty"||m.status==="dirty")&&n.dirty(),d.set(p.value,m.value)}return{status:n.value,value:d}})}else{const d=new Map;for(const f of c){const p=f.key,m=f.value;if(p.status==="aborted"||m.status==="aborted")return me;(p.status==="dirty"||m.status==="dirty")&&n.dirty(),d.set(p.value,m.value)}return{status:n.value,value:d}}}}El.create=(t,e,n)=>new El({valueType:e,keyType:t,typeName:pe.ZodMap,...we(n)});class es extends Pe{_parse(e){const{status:n,ctx:i}=this._processInputParams(e);if(i.parsedType!==ee.set)return Y(i,{code:H.invalid_type,expected:ee.set,received:i.parsedType}),me;const o=this._def;o.minSize!==null&&i.data.size<o.minSize.value&&(Y(i,{code:H.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),n.dirty()),o.maxSize!==null&&i.data.size>o.maxSize.value&&(Y(i,{code:H.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),n.dirty());const l=this._def.valueType;function c(f){const p=new Set;for(const m of f){if(m.status==="aborted")return me;m.status==="dirty"&&n.dirty(),p.add(m.value)}return{status:n.value,value:p}}const d=[...i.data.values()].map((f,p)=>l._parse(new Rn(i,f,i.path,p)));return i.common.async?Promise.all(d).then(f=>c(f)):c(d)}min(e,n){return new es({...this._def,minSize:{value:e,message:oe.toString(n)}})}max(e,n){return new es({...this._def,maxSize:{value:e,message:oe.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}}es.create=(t,e)=>new es({valueType:t,minSize:null,maxSize:null,typeName:pe.ZodSet,...we(e)});class zs extends Pe{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==ee.function)return Y(n,{code:H.invalid_type,expected:ee.function,received:n.parsedType}),me;function i(d,f){return Tl({data:d,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Sl(),Qs].filter(p=>!!p),issueData:{code:H.invalid_arguments,argumentsError:f}})}function o(d,f){return Tl({data:d,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Sl(),Qs].filter(p=>!!p),issueData:{code:H.invalid_return_type,returnTypeError:f}})}const l={errorMap:n.common.contextualErrorMap},c=n.data;if(this._def.returns instanceof Gs){const d=this;return _t(async function(...f){const p=new $t([]),m=await d._def.args.parseAsync(f,l).catch(S=>{throw p.addIssue(i(f,S)),p}),y=await Reflect.apply(c,this,m);return await d._def.returns._def.type.parseAsync(y,l).catch(S=>{throw p.addIssue(o(y,S)),p})})}else{const d=this;return _t(function(...f){const p=d._def.args.safeParse(f,l);if(!p.success)throw new $t([i(f,p.error)]);const m=Reflect.apply(c,this,p.data),y=d._def.returns.safeParse(m,l);if(!y.success)throw new $t([o(m,y.error)]);return y.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new zs({...this._def,args:On.create(e).rest(Qr.create())})}returns(e){return new zs({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,n,i){return new zs({args:e||On.create([]).rest(Qr.create()),returns:n||Qr.create(),typeName:pe.ZodFunction,...we(i)})}}class So extends Pe{get schema(){return this._def.getter()}_parse(e){const{ctx:n}=this._processInputParams(e);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}So.create=(t,e)=>new So({getter:t,typeName:pe.ZodLazy,...we(e)});class To extends Pe{_parse(e){if(e.data!==this._def.value){const n=this._getOrReturnCtx(e);return Y(n,{received:n.data,code:H.invalid_literal,expected:this._def.value}),me}return{status:"valid",value:e.data}}get value(){return this._def.value}}To.create=(t,e)=>new To({value:t,typeName:pe.ZodLiteral,...we(e)});function i1(t,e){return new _r({values:t,typeName:pe.ZodEnum,...we(e)})}class _r extends Pe{constructor(){super(...arguments),Yi.set(this,void 0)}_parse(e){if(typeof e.data!="string"){const n=this._getOrReturnCtx(e),i=this._def.values;return Y(n,{expected:Ae.joinValues(i),received:n.parsedType,code:H.invalid_type}),me}if(bl(this,Yi)||t1(this,Yi,new Set(this._def.values)),!bl(this,Yi).has(e.data)){const n=this._getOrReturnCtx(e),i=this._def.values;return Y(n,{received:n.data,code:H.invalid_enum_value,options:i}),me}return _t(e.data)}get options(){return this._def.values}get enum(){const e={};for(const n of this._def.values)e[n]=n;return e}get Values(){const e={};for(const n of this._def.values)e[n]=n;return e}get Enum(){const e={};for(const n of this._def.values)e[n]=n;return e}extract(e,n=this._def){return _r.create(e,{...this._def,...n})}exclude(e,n=this._def){return _r.create(this.options.filter(i=>!e.includes(i)),{...this._def,...n})}}Yi=new WeakMap;_r.create=i1;class bo extends Pe{constructor(){super(...arguments),Ji.set(this,void 0)}_parse(e){const n=Ae.getValidEnumValues(this._def.values),i=this._getOrReturnCtx(e);if(i.parsedType!==ee.string&&i.parsedType!==ee.number){const o=Ae.objectValues(n);return Y(i,{expected:Ae.joinValues(o),received:i.parsedType,code:H.invalid_type}),me}if(bl(this,Ji)||t1(this,Ji,new Set(Ae.getValidEnumValues(this._def.values))),!bl(this,Ji).has(e.data)){const o=Ae.objectValues(n);return Y(i,{received:i.data,code:H.invalid_enum_value,options:o}),me}return _t(e.data)}get enum(){return this._def.values}}Ji=new WeakMap;bo.create=(t,e)=>new bo({values:t,typeName:pe.ZodNativeEnum,...we(e)});class Gs extends Pe{unwrap(){return this._def.type}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==ee.promise&&n.common.async===!1)return Y(n,{code:H.invalid_type,expected:ee.promise,received:n.parsedType}),me;const i=n.parsedType===ee.promise?n.data:Promise.resolve(n.data);return _t(i.then(o=>this._def.type.parseAsync(o,{path:n.path,errorMap:n.common.contextualErrorMap})))}}Gs.create=(t,e)=>new Gs({type:t,typeName:pe.ZodPromise,...we(e)});class vn extends Pe{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===pe.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:n,ctx:i}=this._processInputParams(e),o=this._def.effect||null,l={addIssue:c=>{Y(i,c),c.fatal?n.abort():n.dirty()},get path(){return i.path}};if(l.addIssue=l.addIssue.bind(l),o.type==="preprocess"){const c=o.transform(i.data,l);if(i.common.async)return Promise.resolve(c).then(async d=>{if(n.value==="aborted")return me;const f=await this._def.schema._parseAsync({data:d,path:i.path,parent:i});return f.status==="aborted"?me:f.status==="dirty"||n.value==="dirty"?Ds(f.value):f});{if(n.value==="aborted")return me;const d=this._def.schema._parseSync({data:c,path:i.path,parent:i});return d.status==="aborted"?me:d.status==="dirty"||n.value==="dirty"?Ds(d.value):d}}if(o.type==="refinement"){const c=d=>{const f=o.refinement(d,l);if(i.common.async)return Promise.resolve(f);if(f instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return d};if(i.common.async===!1){const d=this._def.schema._parseSync({data:i.data,path:i.path,parent:i});return d.status==="aborted"?me:(d.status==="dirty"&&n.dirty(),c(d.value),{status:n.value,value:d.value})}else return this._def.schema._parseAsync({data:i.data,path:i.path,parent:i}).then(d=>d.status==="aborted"?me:(d.status==="dirty"&&n.dirty(),c(d.value).then(()=>({status:n.value,value:d.value}))))}if(o.type==="transform")if(i.common.async===!1){const c=this._def.schema._parseSync({data:i.data,path:i.path,parent:i});if(!Yr(c))return c;const d=o.transform(c.value,l);if(d instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:d}}else return this._def.schema._parseAsync({data:i.data,path:i.path,parent:i}).then(c=>Yr(c)?Promise.resolve(o.transform(c.value,l)).then(d=>({status:n.value,value:d})):c);Ae.assertNever(o)}}vn.create=(t,e,n)=>new vn({schema:t,typeName:pe.ZodEffects,effect:e,...we(n)});vn.createWithPreprocess=(t,e,n)=>new vn({schema:e,effect:{type:"preprocess",transform:t},typeName:pe.ZodEffects,...we(n)});class kn extends Pe{_parse(e){return this._getType(e)===ee.undefined?_t(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}kn.create=(t,e)=>new kn({innerType:t,typeName:pe.ZodOptional,...we(e)});class kr extends Pe{_parse(e){return this._getType(e)===ee.null?_t(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}kr.create=(t,e)=>new kr({innerType:t,typeName:pe.ZodNullable,...we(e)});class Po extends Pe{_parse(e){const{ctx:n}=this._processInputParams(e);let i=n.data;return n.parsedType===ee.undefined&&(i=this._def.defaultValue()),this._def.innerType._parse({data:i,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}Po.create=(t,e)=>new Po({innerType:t,typeName:pe.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...we(e)});class Co extends Pe{_parse(e){const{ctx:n}=this._processInputParams(e),i={...n,common:{...n.common,issues:[]}},o=this._def.innerType._parse({data:i.data,path:i.path,parent:{...i}});return po(o)?o.then(l=>
16({status:"valid",value:l.status==="valid"?l.value:this._def.catchValue({get error(){return new $t(i.common.issues)},input:i.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new $t(i.common.issues)},input:i.data})}}removeCatch(){return this._def.innerType}}Co.create=(t,e)=>new Co({innerType:t,typeName:pe.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...we(e)});class _l extends Pe{_parse(e){if(this._getType(e)!==ee.nan){const i=this._getOrReturnCtx(e);return Y(i,{code:H.invalid_type,expected:ee.nan,received:i.parsedType}),me}return{status:"valid",value:e.data}}}_l.create=t=>new _l({typeName:pe.ZodNaN,...we(t)});const jR=Symbol("zod_brand");class gh extends Pe{_parse(e){const{ctx:n}=this._processInputParams(e),i=n.data;return this._def.type._parse({data:i,path:n.path,parent:n})}unwrap(){return this._def.type}}class Do extends Pe{_parse(e){const{status:n,ctx:i}=this._processInputParams(e);if(i.common.async)return(async()=>{const l=await this._def.in._parseAsync({data:i.data,path:i.path,parent:i});return l.status==="aborted"?me:l.status==="dirty"?(n.dirty(),Ds(l.value)):this._def.out._parseAsync({data:l.value,path:i.path,parent:i})})();{const o=this._def.in._parseSync({data:i.data,path:i.path,parent:i});return o.status==="aborted"?me:o.status==="dirty"?(n.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:i.path,parent:i})}}static create(e,n){return new Do({in:e,out:n,typeName:pe.ZodPipeline})}}class Eo extends Pe{_parse(e){const n=this._def.innerType._parse(e),i=o=>(Yr(o)&&(o.value=Object.freeze(o.value)),o);return po(n)?n.then(o=>i(o)):i(n)}unwrap(){return this._def.innerType}}Eo.create=(t,e)=>new Eo({innerType:t,typeName:pe.ZodReadonly,...we(e)});function Pv(t,e){const n=typeof t=="function"?t(e):typeof t=="string"?{message:t}:t;return typeof n=="string"?{message:n}:n}function o1(t,e={},n){return t?Zs.create().superRefine((i,o)=>{var l,c;const d=t(i);if(d instanceof Promise)return d.then(f=>{var p,m;if(!f){const y=Pv(e,i),x=(m=(p=y.fatal)!==null&&p!==void 0?p:n)!==null&&m!==void 0?m:!0;o.addIssue({code:"custom",...y,fatal:x})}});if(!d){const f=Pv(e,i),p=(c=(l=f.fatal)!==null&&l!==void 0?l:n)!==null&&c!==void 0?c:!0;o.addIssue({code:"custom",...f,fatal:p})}}):Zs.create()}const DR={object:Ke.lazycreate};var pe;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(pe||(pe={}));const IR=(t,e={message:`Input not instance of ${t.name}`})=>o1(n=>n instanceof t,e),a1=hn.create,l1=Cr.create,LR=_l.create,VR=Er.create,u1=mo.create,FR=Jr.create,zR=Pl.create,BR=go.create,UR=yo.create,$R=Zs.create,WR=Qr.create,HR=Xn.create,qR=Cl.create,KR=pn.create,QR=Ke.create,ZR=Ke.strictCreate,GR=vo.create,XR=Xl.create,YR=xo.create,JR=On.create,eO=wo.create,tO=El.create,nO=es.create,rO=zs.create,sO=So.create,iO=To.create,oO=_r.create,aO=bo.create,lO=Gs.create,Cv=vn.create,uO=kn.create,cO=kr.create,dO=vn.createWithPreprocess,fO=Do.create,hO=()=>a1().optional(),pO=()=>l1().optional(),mO=()=>u1().optional(),gO={string:(t=>hn.create({...t,coerce:!0})),number:(t=>Cr.create({...t,coerce:!0})),boolean:(t=>mo.create({...t,coerce:!0})),bigint:(t=>Er.create({...t,coerce:!0})),date:(t=>Jr.create({...t,coerce:!0}))},yO=me;var rt=Object.freeze({__proto__:null,defaultErrorMap:Qs,setErrorMap:dR,getErrorMap:Sl,makeIssue:Tl,EMPTY_PATH:fR,addIssueToContext:Y,ParseStatus:bt,INVA
16LID:me,DIRTY:Ds,OK:_t,isAborted:uf,isDirty:cf,isValid:Yr,isAsync:po,get util(){return Ae},get objectUtil(){return lf},ZodParsedType:ee,getParsedType:Hn,ZodType:Pe,datetimeRegex:s1,ZodString:hn,ZodNumber:Cr,ZodBigInt:Er,ZodBoolean:mo,ZodDate:Jr,ZodSymbol:Pl,ZodUndefined:go,ZodNull:yo,ZodAny:Zs,ZodUnknown:Qr,ZodNever:Xn,ZodVoid:Cl,ZodArray:pn,ZodObject:Ke,ZodUnion:vo,ZodDiscriminatedUnion:Xl,ZodIntersection:xo,ZodTuple:On,ZodRecord:wo,ZodMap:El,ZodSet:es,ZodFunction:zs,ZodLazy:So,ZodLiteral:To,ZodEnum:_r,ZodNativeEnum:bo,ZodPromise:Gs,ZodEffects:vn,ZodTransformer:vn,ZodOptional:kn,ZodNullable:kr,ZodDefault:Po,ZodCatch:Co,ZodNaN:_l,BRAND:jR,ZodBranded:gh,ZodPipeline:Do,ZodReadonly:Eo,custom:o1,Schema:Pe,ZodSchema:Pe,late:DR,get ZodFirstPartyTypeKind(){return pe},coerce:gO,any:$R,array:KR,bigint:VR,boolean:u1,date:FR,discriminatedUnion:XR,effect:Cv,enum:oO,function:rO,instanceof:IR,intersection:YR,lazy:sO,literal:iO,map:tO,nan:LR,nativeEnum:aO,never:HR,null:UR,nullable:cO,number:l1,object:QR,oboolean:mO,onumber:pO,optional:uO,ostring:hO,pipeline:fO,preprocess:dO,promise:lO,record:eO,set:nO,strictObject:ZR,string:a1,symbol:zR,transformer:Cv,tuple:JR,undefined:BR,union:GR,unknown:WR,void:qR,NEVER:yO,ZodIssueCode:H,quotelessJson:cR,ZodError:$t});const B=Symbol.for("drizzle:entityKind");function pt(t,e){if(!t||typeof t!="object")return!1;if(t instanceof e)return!0;if(!Object.prototype.hasOwnProperty.call(e,B))throw new Error(`Class "${e.name??"<unknown>"}" doesn't look like a Drizzle entity. If this is incorrect and the class is provided by Drizzle, please report this as a bug.`);let n=Object.getPrototypeOf(t).constructor;if(n)for(;n;){if(B in n&&n[B]===e[B])return!0;n=Object.getPrototypeOf(n)}return!1}class _o{constructor(e,n){this.table=e,this.config=n,this.name=n.name,this.keyAsName=n.keyAsName,this.notNull=n.notNull,this.default=n.default,this.defaultFn=n.defaultFn,this.onUpdateFn=n.onUpdateFn,this.hasDefault=n.hasDefault,this.primary=n.primaryKey,this.isUnique=n.isUnique,this.uniqueName=n.uniqueName,this.uniqueType=n.uniqueType,this.dataType=n.dataType,this.columnType=n.columnType,this.generated=n.generated,this.generatedIdentity=n.generatedIdentity}static[B]="Column";name;keyAsName;primary;notNull;default;defaultFn;onUpdateFn;hasDefault;isUnique;uniqueName;uniqueType;dataType;columnType;enumValues=void 0;generated=void 0;generatedIdentity=void 0;config;mapFromDriverValue(e){return e}mapToDriverValue(e){return e}shouldDisableInsert(){return this.config.generated!==void 0&&this.config.generated.type!=="byDefault"}}class vO{static[B]="ColumnBuilder";config;constructor(e,n,i){this.config={name:e,keyAsName:e==="",notNull:!1,default:void 0,hasDefault:!1,primaryKey:!1,isUnique:!1,uniqueName:void 0,uniqueType:void 0,dataType:n,columnType:i,generated:void 0}}$type(){return this}notNull(){return this.config.notNull=!0,this}default(e){return this.config.default=e,this.config.hasDefault=!0,this}$defaultFn(e){return this.config.defaultFn=e,this.config.hasDefault=!0,this}$default=this.$defaultFn;$onUpdateFn(e){return this.config.onUpdateFn=e,this.config.hasDefault=!0,this}$onUpdate=this.$onUpdateFn;primaryKey(){return this.config.primaryKey=!0,this.config.notNull=!0,this}setName(e){this.config.name===""&&(this.config.name=e)}}const Bs=Symbol.for("drizzle:Name");class xO{static[B]="PgForeignKeyBuilder";reference;_onUpdate="no action";_onDelete="no action";constructor(e,n){this.reference=()=>{const{name:i,columns:o,foreignColumns:l}=e();return{name:i,columns:o,foreignTable:l[0].table,foreignColumns:l}},n&&(this._onUpdate=n.onUpdate,this._onDelete=n.onDelete)}onUpdate(e){return this._onUpdate=e===void 0?"no action":e,this}onDelete(e){return this._onDelete=e===void 0?"no action":e,this}build(e){return new wO(e,this)}}class wO{constructor(e,n){this.table=e,this.reference=n.reference,this.onUpdate=n._onUpdate,this.onDelete=n._onDelete}static[B]="PgForeignKey";reference;onUpdate;onDelete;getName(){const{name:e,columns:n,foreignColumns:i}=this.reference(),o=n.map(d=>d.name),l=i.map(d=>d.name),c=[this.table[Bs],...o,i[0].table[Bs],...l];return e??`${c.join("_")}_fk`}}function SO(t,...e){return t(...e)}function TO(t,e){return`${t[Bs]}_${e.join("_")}_unique`}function Ev(t,e,n){for(let i=e;i<t.length;i++){const o=t[i];if(o==="\\"){i++;continue}if(o==='"')return[t.slice(e,i).replace(/\\/g,""),i+1];if(!n&&(o===","||o==="}"))return[t.slice(e,i).replace(/\\/g,""),i]}return[t.slice(e).replace(/\\/g,""),t.length]}function c1(t,e=0){const n=[];let i=e,o=!1;for(;i<t.length;){const l=t[i];if(l===","){(o||i===e)&&n.push(""),o=!0,i++;continue}if(o=!1,l==="\\"){i+=2;continue}if(l==='"'){const[f,p]=Ev(t,i+1,!0);n.push(f),i=p;continue}if(l==="}")return[n,i+1];if(l==="{"){const[f,p]=c1(t,i+1);n.push(f),i=p;continue}const[c,d]=Ev(t,i,!1);n.push(c),i=d}return[n,i]}function bO(t){const[e]=c1(t,1);return e}function d1(t){return`{${t.map(e=>Array.isArray(e)?d1(e):typeof e=="string"?`"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`:`${e}`).join(",")}}`}class Re extends vO{foreignKeyConfigs=[];static[B]="PgColumnBuilder";array(e){return new CO(this.config.name,this,e)}references(e,n={}){return this.foreignKeyConfigs.push({ref:e,actions:n}),this}unique(e,n){return this.config.isUnique=!0,this.config.uniqueName=e,this.config.uniqueType=n?.nulls,this}generatedAlwaysAs(e){return this.config.generated={as:e,type:"always",mode:"stored"},this}buildForeignKeys(e,n){return this.foreignKeyConfigs.map(({ref:i,actions:o})=>SO((l,c)=>{const d=new xO(()=>{const f=l();return{columns:[e],foreignColumns:[f]}});
16return c.onUpdate&&d.onUpdate(c.onUpdate),c.onDelete&&d.onDelete(c.onDelete),d.build(n)},i,o))}buildExtraConfigColumn(e){return new PO(e,this.config)}}class be extends _o{constructor(e,n){n.uniqueName||(n.uniqueName=TO(e,[n.name])),super(e,n),this.table=e}static[B]="PgColumn"}class PO extends be{static[B]="ExtraConfigColumn";getSQLType(){return this.getSQLType()}indexConfig={order:this.config.order??"asc",nulls:this.config.nulls??"last",opClass:this.config.opClass};defaultConfig={order:"asc",nulls:"last",opClass:void 0};asc(){return this.indexConfig.order="asc",this}desc(){return this.indexConfig.order="desc",this}nullsFirst(){return this.indexConfig.nulls="first",this}nullsLast(){return this.indexConfig.nulls="last",this}op(e){return this.indexConfig.opClass=e,this}}class CO extends Re{static[B]="PgArrayBuilder";constructor(e,n,i){super(e,"array","PgArray"),this.config.baseBuilder=n,this.config.size=i}build(e){const n=this.config.baseBuilder.build(e);return new yh(e,this.config,n)}}class yh extends be{constructor(e,n,i,o){super(e,n),this.baseColumn=i,this.range=o,this.size=n.size}size;static[B]="PgArray";getSQLType(){return`${this.baseColumn.getSQLType()}[${typeof this.size=="number"?this.size:""}]`}mapFromDriverValue(e){return typeof e=="string"&&(e=bO(e)),e.map(n=>this.baseColumn.mapFromDriverValue(n))}mapToDriverValue(e,n=!1){const i=e.map(o=>o===null?null:pt(this.baseColumn,yh)?this.baseColumn.mapToDriverValue(o,!0):this.baseColumn.mapToDriverValue(o));return n?i:d1(i)}}const _v=Symbol.for("drizzle:isPgEnum");function EO(t){return!!t&&typeof t=="function"&&_v in t&&t[_v]===!0}class f1{static[B]="Subquery";constructor(e,n,i,o=!1){this._={brand:"Subquery",sql:e,selectedFields:n,alias:i,isWith:o}}}const _O={startActiveSpan(t,e){return e()}},Us=Symbol.for("drizzle:ViewBaseConfig"),_d=Symbol.for("drizzle:Schema"),kv=Symbol.for("drizzle:Columns"),Av=Symbol.for("drizzle:ExtraConfigColumns"),kd=Symbol.for("drizzle:OriginalName"),Ad=Symbol.for("drizzle:BaseName"),kl=Symbol.for("drizzle:IsAlias"),Nv=Symbol.for("drizzle:ExtraConfigBuilder"),h1=Symbol.for("drizzle:IsDrizzleTable");class zt{static[B]="Table";static Symbol={Name:Bs,Schema:_d,OriginalName:kd,Columns:kv,ExtraConfigColumns:Av,BaseName:Ad,IsAlias:kl,ExtraConfigBuilder:Nv};[Bs];[kd];[_d];[kv];[Av];[Ad];[kl]=!1;[h1]=!0;[Nv]=void 0;constructor(e,n,i){this[Bs]=this[kd]=e,this[_d]=n,this[Ad]=i}}function p1(t){return typeof t=="object"&&t!==null&&h1 in t}function kO(t){return t!=null&&typeof t.getSQL=="function"}function AO(t){const e={sql:"",params:[]};for(const n of t)e.sql+=n.sql,e.params.push(...n.params),n.typings?.length&&(e.typings||(e.typings=[]),e.typings.push(...n.typings));return e}class dn{static[B]="StringChunk";value;constructor(e){this.value=Array.isArray(e)?e:[e]}getSQL(){return new Ye([this])}}class Ye{constructor(e){this.queryChunks=e}static[B]="SQL";decoder=m1;shouldInlineParams=!1;append(e){return this.queryChunks.push(...e.queryChunks),this}toQuery(e){return _O.startActiveSpan("drizzle.buildSQL",n=>{const i=this.buildQueryFromSourceParams(this.queryChunks,e);return n?.setAttributes({"drizzle.query.text":i.sql,"drizzle.query.params":JSON.stringify(i.params)}),i})}buildQueryFromSourceParams(e,n){const i=Object.assign({},n,{inlineParams:n.inlineParams||this.shouldInlineParams,paramStartIndex:n.paramStartIndex||{value:0}}),{casing:o,escapeName:l,escapeParam:c,prepareTyping:d,inlineParams:f,paramStartIndex:p}=i;return AO(e.map(m=>{if(pt(m,dn))return{sql:m.value.join(""),params:[]};if(pt(m,ff))return{sql:l(m.value),params:[]};if(m===void 0)return{sql:"",params:[]};if(Array.isArray(m)){const y=[new dn("(")];for(const[x,S]of m.entries())y.push(S),x<m.length-1&&y.push(new dn(", "));return y.push(new dn(")")),this.buildQueryFromSourceParams(y,i)}if(pt(m,Ye))return this.buildQueryFromSourceParams(m.queryChunks,{...i,inlineParams:f||m.shouldInlineParams});if(pt(m,zt)){const y=m[zt.Symbol.Schema],x=m[zt.Symbol.Name];return{sql:y===void 0||m[kl]?l(x):l(y)+"."+l(x),params:[]}}if(pt(m,_o)){const y=o.getColumnCasing(m);if(n.invokeSource==="indexes")return{sql:l(y),params:[]};const x=m.table[zt.Symbol.Schema];return{sql:m.table[kl]||x===void 0?l(m.table[zt.Symbol.Name])+"."+l(y):l(x)+"."+l(m.table[zt.Symbol.Name])+"."+l(y),params:[]}}if(pt(m,NO)){const y=m[Us].schema,x=m[Us].name;return{sql:y===void 0||m[Us].isAlias?l(x):l(y)+"."+l(x),params:[]}}if(pt(m,y1)){if(pt(m.value,hf))return{sql:c(p.value++,m),params:[m],typings:["none"]};const y=m.value===null?null:m.encoder.mapToDriverValue(m.value);if(pt(y,Ye))return this.buildQueryFromSourceParams([y],i);if(f)return{sql:this.mapInlineParam(y,i),params:[]};let x=["none"];return d&&(x=[d(m.encoder)]),{sql:c(p.value++,y),params:[y],typings:x}}return pt(m,hf)?{sql:c(p.value++,m),params:[m],typings:["none"]}:pt(m,Ye.Aliased)&&m.fieldAlias!==void 0?{sql:l(m.fieldAlias),params:[]}:pt(m,f1)?m._.isWith?{sql:l(m._.alias),params:[]}:this.buildQueryFromSourceParams([new dn("("),m._.sql,new dn(") "),new ff(m._.alias)],i):EO(m)?m.schema?{sql:l(m.schema)+"."+l(m.enumName),params:[]}:{sql:l(m.enumName),params:[]}:kO(m)?m.shouldOmitSQLParens?.()?this.buildQueryFromSourceParams([m.getSQL()],i):this.buildQueryFromSourceParams([new dn("("),m.getSQL(),new dn(")")],i):f?{sql:this.mapInlineParam(m,i),params:[]}:{sql:c(p.value++,m),params:[m],typings:["none"]}}))}mapInlineParam(e,{escapeString:n}){if(e===null)return"null";if(typeof e=="number"||typeof e=="boolean")return e.toString();if(typeof e=="string")return n(e);if(typeof e=="object"){const i=e.toString();return n(i==="[object Object]"?JSON.stringify(e):i)}throw new Error("Unexpected param value: "+e)}getSQL(){return this}as(e){return e===void 0?this:new Ye.Aliased(this,e)}mapWith(e){return this.decoder=typeof e=="function"?{mapFromDriverValue:e}:e,this}inlineParams(){return this.shouldInlineParams=!0,this}if(e){return e?this:void 0}}class ff{constructor(e){this.value=e}static[B]="Name";brand;getSQL(){return new Ye([this])}}const m1={mapFromDriverValue:t=>t},g1={mapToDriverValue:t=>t};({...m1,...g1});class y1{constructor(e,n=g1){this.value=e,this.encoder=n}static[B]="Param";brand;getSQL(){return new Ye([this])}}function Al(t,...e){const n=[];(e.length>0||t.length>0&&t[0]!=="")&&n.push(new dn(t[0]));for(const[i,o]of e.entries())n.push(o,new dn(t[i+1]));return new Ye(n)}(t=>{function e(){return new Ye([])}t.empty=e;function n(f){return new Ye(f)}t.fromList=n;function i(f){return new Ye([new dn(f)])}t.raw=i;function o(f,p){const m=[];for(const[y,x]of f.entries())y>0&&p!==void 0&&m.push(p),m.push(x);return new Ye(m)}t.join=o;function l(f){return new ff(f)}t.identifier=l;function c(f){return new hf(f)}t.placeholder=c;function d(f,p){return new y1(f,p)}t.param=d})(Al||(Al={}));(t=>{class e{constructor(i,o){this.sql=i,this.fieldAlias=o}static[B]="SQL.Aliased";isSelectionField=!1;getSQL(){return this.sql}clone(){return new e(this.sql,this.fieldAlias)}}t.Aliased=e})(Ye||(Ye={}));class hf{constructor(e){this.name=e}static[B]="Placeholder";getSQL(){return new Ye([this])}}const v1=Symbol.for("drizzle:IsDrizzleView");class NO{static[B]="View";[Us];[v1]=!0;
16constructor({name:e,schema:n,selectedFields:i,query:o}){this[Us]={name:e,originalName:e,schema:n,selectedFields:i,query:o,isExisting:!o,isAlias:!1}}getSQL(){return new Ye([this])}}function RO(t){return typeof t=="object"&&t!==null&&v1 in t}_o.prototype.getSQL=function(){return new Ye([this])};zt.prototype.getSQL=function(){return new Ye([this])};f1.prototype.getSQL=function(){return new Ye([this])};function OO(t){return t[zt.Symbol.Columns]}function MO(t){return t[Us].selectedFields}function dt(t,e){return{name:typeof t=="string"&&t.length>0?t:"",config:typeof t=="object"?t:e}}class Yl extends Re{static[B]="PgIntColumnBaseBuilder";generatedAlwaysAsIdentity(e){if(e){const{name:n,...i}=e;this.config.generatedIdentity={type:"always",sequenceName:n,sequenceOptions:i}}else this.config.generatedIdentity={type:"always"};return this.config.hasDefault=!0,this.config.notNull=!0,this}generatedByDefaultAsIdentity(e){if(e){const{name:n,...i}=e;this.config.generatedIdentity={type:"byDefault",sequenceName:n,sequenceOptions:i}}else this.config.generatedIdentity={type:"byDefault"};return this.config.hasDefault=!0,this.config.notNull=!0,this}}class jO extends Yl{static[B]="PgBigInt53Builder";constructor(e){super(e,"number","PgBigInt53")}build(e){return new DO(e,this.config)}}class DO extends be{static[B]="PgBigInt53";getSQLType(){return"bigint"}mapFromDriverValue(e){return typeof e=="number"?e:Number(e)}}class IO extends Yl{static[B]="PgBigInt64Builder";constructor(e){super(e,"bigint","PgBigInt64")}build(e){return new LO(e,this.config)}}class LO extends be{static[B]="PgBigInt64";getSQLType(){return"bigint"}mapFromDriverValue(e){return BigInt(e)}}function VO(t,e){const{name:n,config:i}=dt(t,e);return i.mode==="number"?new jO(n):new IO(n)}class FO extends Re{static[B]="PgBigSerial53Builder";constructor(e){super(e,"number","PgBigSerial53"),this.config.hasDefault=!0,this.config.notNull=!0}build(e){return new zO(e,this.config)}}class zO extends be{static[B]="PgBigSerial53";getSQLType(){return"bigserial"}mapFromDriverValue(e){return typeof e=="number"?e:Number(e)}}class BO extends Re{static[B]="PgBigSerial64Builder";constructor(e){super(e,"bigint","PgBigSerial64"),this.config.hasDefault=!0}build(e){return new UO(e,this.config)}}class UO extends be{static[B]="PgBigSerial64";getSQLType(){return"bigserial"}mapFromDriverValue(e){return BigInt(e)}}function $O(t,e){const{name:n,config:i}=dt(t,e);return i.mode==="number"?new FO(n):new BO(n)}class WO extends Re{static[B]="PgBooleanBuilder";constructor(e){super(e,"boolean","PgBoolean")}build(e){return new HO(e,this.config)}}class HO extends be{static[B]="PgBoolean";getSQLType(){return"boolean"}}function qO(t){return new WO(t??"")}class KO extends Re{static[B]="PgCharBuilder";constructor(e,n){super(e,"string","PgChar"),this.config.length=n.length,this.config.enumValues=n.enum}build(e){return new QO(e,this.config)}}class QO extends be{static[B]="PgChar";length=this.config.length;enumValues=this.config.enumValues;getSQLType(){return this.length===void 0?"char":`char(${this.length})`}}function ZO(t,e={}){const{name:n,config:i}=dt(t,e);return new KO(n,i)}class GO extends Re{static[B]="PgCidrBuilder";constructor(e){super(e,"string","PgCidr")}build(e){return new XO(e,this.config)}}class XO extends be{static[B]="PgCidr";getSQLType(){return"cidr"}}function YO(t){return new GO(t??"")}class JO extends Re{static[B]="PgCustomColumnBuilder";constructor(e,n,i){super(e,"custom","PgCustomColumn"),this.config.fieldConfig=n,this.config.customTypeParams=i}build(e){return new eM(e,this.config)}}class eM extends be{static[B]="PgCustomColumn";sqlName;mapTo;mapFrom;constructor(e,n){super(e,n),this.sqlName=n.customTypeParams.dataType(n.fieldConfig),this.mapTo=n.customTypeParams.toDriver,this.mapFrom=n.customTypeParams.fromDriver}getSQLType(){return this.sqlName}mapFromDriverValue(e){return typeof this.mapFrom=="function"?this.mapFrom(e):e}mapToDriverValue(e){return typeof this.mapTo=="function"?this.mapTo(e):e}}function tM(t){return(e,n)=>{const{name:i,config:o}=dt(e,n);return new JO(i,o,t)}}class Io extends Re{static[B]="PgDateColumnBaseBuilder";defaultNow(){return this.default(Al`now()`)}}class nM extends Io{static[B]="PgDateBuilder";constructor(e){super(e,"date","PgDate")}build(e){return new rM(e,this.config)}}class rM extends be{static[B]="PgDate";
16getSQLType(){return"date"}mapFromDriverValue(e){return new Date(e)}mapToDriverValue(e){return e.toISOString()}}class sM extends Io{static[B]="PgDateStringBuilder";constructor(e){super(e,"string","PgDateString")}build(e){return new iM(e,this.config)}}class iM extends be{static[B]="PgDateString";getSQLType(){return"date"}}function oM(t,e){const{name:n,config:i}=dt(t,e);return i?.mode==="date"?new nM(n):new sM(n)}class aM extends Re{static[B]="PgDoublePrecisionBuilder";constructor(e){super(e,"number","PgDoublePrecision")}build(e){return new lM(e,this.config)}}class lM extends be{static[B]="PgDoublePrecision";getSQLType(){return"double precision"}mapFromDriverValue(e){return typeof e=="string"?Number.parseFloat(e):e}}function uM(t){return new aM(t??"")}class cM extends Re{static[B]="PgInetBuilder";constructor(e){super(e,"string","PgInet")}build(e){return new dM(e,this.config)}}class dM extends be{static[B]="PgInet";getSQLType(){return"inet"}}function fM(t){return new cM(t??"")}class hM extends Yl{static[B]="PgIntegerBuilder";constructor(e){super(e,"number","PgInteger")}build(e){return new pM(e,this.config)}}class pM extends be{static[B]="PgInteger";getSQLType(){return"integer"}mapFromDriverValue(e){return typeof e=="string"?Number.parseInt(e):e}}function mM(t){return new hM(t??"")}class gM extends Re{static[B]="PgIntervalBuilder";constructor(e,n){super(e,"string","PgInterval"),this.config.intervalConfig=n}build(e){return new yM(e,this.config)}}class yM extends be{static[B]="PgInterval";fields=this.config.intervalConfig.fields;precision=this.config.intervalConfig.precision;getSQLType(){const e=this.fields?` ${this.fields}`:"",n=this.precision?`(${this.precision})`:"";return`interval${e}${n}`}}function vM(t,e={}){const{name:n,config:i}=dt(t,e);return new gM(n,i)}class xM extends Re{static[B]="PgJsonBuilder";constructor(e){super(e,"json","PgJson")}build(e){return new wM(e,this.config)}}class wM extends be{static[B]="PgJson";constructor(e,n){super(e,n)}getSQLType(){return"json"}mapToDriverValue(e){return JSON.stringify(e)}mapFromDriverValue(e){if(typeof e=="string")try{return JSON.parse(e)}catch{return e}return e}}function SM(t){return new xM(t??"")}class TM extends Re{static[B]="PgJsonbBuilder";constructor(e){super(e,"json","PgJsonb")}build(e){return new bM(e,this.config)}}class bM extends be{static[B]="PgJsonb";constructor(e,n){super(e,n)}getSQLType(){return"jsonb"}mapToDriverValue(e){return JSON.stringify(e)}mapFromDriverValue(e){if(typeof e=="string")try{return JSON.parse(e)}catch{return e}return e}}function PM(t){return new TM(t??"")}class CM extends Re{static[B]="PgLineBuilder";constructor(e){super(e,"array","PgLine")}build(e){return new EM(e,this.config)}}class EM extends be{static[B]="PgLine";getSQLType(){return"line"}mapFromDriverValue(e){const[n,i,o]=e.slice(1,-1).split(",");return[Number.parseFloat(n),Number.parseFloat(i),Number.parseFloat(o)]}mapToDriverValue(e){return`{${e[0]},${e[1]},${e[2]}}`}}class _M extends Re{static[B]="PgLineABCBuilder";constructor(e){super(e,"json","PgLineABC")}build(e){return new kM(e,this.config)}}class kM extends be{static[B]="PgLineABC";getSQLType(){return"line"}mapFromDriverValue(e){const[n,i,o]=e.slice(1,-1).split(",");return{a:Number.parseFloat(n),b:Number.parseFloat(i),c:Number.parseFloat(o)}}mapToDriverValue(e){return`{${e.a},${e.b},${e.c}}`}}function AM(t,e){const{name:n,config:i}=dt(t,e);return!i?.mode||i.mode==="tuple"?new CM(n):new _M(n)}class NM extends Re{static[B]="PgMacaddrBuilder";constructor(e){super(e,"string","PgMacaddr")}build(e){return new RM(e,this.config)}}class RM extends be{static[B]="PgMacaddr";getSQLType(){return"macaddr"}}function OM(t){return new NM(t??"")}class MM extends Re{static[B]="PgMacaddr8Builder";constructor(e){super(e,"string","PgMacaddr8")}build(e){return new jM(e,this.config)}}class jM extends be{static[B]="PgMacaddr8";getSQLType(){return"macaddr8"}}function DM(t){return new MM(t??"")}class IM extends Re{static[B]="PgNumericBuilder";constructor(e,n,i){super(e,"string","PgNumeric"),this.config.precision=n,this.config.scale=i}build(e){return new LM(e,this.config)}}class LM extends be{static[B]="PgNumeric";precision;scale;constructor(e,n){super(e,n),this.precision=n.precision,this.scale=n.scale}getSQLType(){return this.precision!==void 0&&this.scale!==void 0?`numeric(${this.precision}, ${this.scale})`:this.precision===void 0?"numeric":`numeric(${this.precision})`}}
16function VM(t,e){const{name:n,config:i}=dt(t,e);return new IM(n,i?.precision,i?.scale)}class FM extends Re{static[B]="PgPointTupleBuilder";constructor(e){super(e,"array","PgPointTuple")}build(e){return new zM(e,this.config)}}class zM extends be{static[B]="PgPointTuple";getSQLType(){return"point"}mapFromDriverValue(e){if(typeof e=="string"){const[n,i]=e.slice(1,-1).split(",");return[Number.parseFloat(n),Number.parseFloat(i)]}return[e.x,e.y]}mapToDriverValue(e){return`(${e[0]},${e[1]})`}}class BM extends Re{static[B]="PgPointObjectBuilder";constructor(e){super(e,"json","PgPointObject")}build(e){return new UM(e,this.config)}}class UM extends be{static[B]="PgPointObject";getSQLType(){return"point"}mapFromDriverValue(e){if(typeof e=="string"){const[n,i]=e.slice(1,-1).split(",");return{x:Number.parseFloat(n),y:Number.parseFloat(i)}}return e}mapToDriverValue(e){return`(${e.x},${e.y})`}}function $M(t,e){const{name:n,config:i}=dt(t,e);return!i?.mode||i.mode==="tuple"?new FM(n):new BM(n)}function WM(t){const e=[];for(let n=0;n<t.length;n+=2)e.push(Number.parseInt(t.slice(n,n+2),16));return new Uint8Array(e)}function Rv(t,e){const n=new ArrayBuffer(8),i=new DataView(n);for(let o=0;o<8;o++)i.setUint8(o,t[e+o]);return i.getFloat64(0,!0)}function x1(t){const e=WM(t);let n=0;const i=e[n];n+=1;const o=new DataView(e.buffer),l=o.getUint32(n,i===1);if(n+=4,l&536870912&&(o.getUint32(n,i===1),n+=4),(l&65535)===1){const c=Rv(e,n);n+=8;const d=Rv(e,n);return n+=8,[c,d]}throw new Error("Unsupported geometry type")}class HM extends Re{static[B]="PgGeometryBuilder";constructor(e){super(e,"array","PgGeometry")}build(e){return new qM(e,this.config)}}class qM extends be{static[B]="PgGeometry";getSQLType(){return"geometry(point)"}mapFromDriverValue(e){return x1(e)}mapToDriverValue(e){return`point(${e[0]} ${e[1]})`}}class KM extends Re{static[B]="PgGeometryObjectBuilder";constructor(e){super(e,"json","PgGeometryObject")}build(e){return new QM(e,this.config)}}class QM extends be{static[B]="PgGeometryObject";getSQLType(){return"geometry(point)"}mapFromDriverValue(e){const n=x1(e);return{x:n[0],y:n[1]}}mapToDriverValue(e){return`point(${e.x} ${e.y})`}}function ZM(t,e){const{name:n,config:i}=dt(t,e);return!i?.mode||i.mode==="tuple"?new HM(n):new KM(n)}class GM extends Re{static[B]="PgRealBuilder";constructor(e,n){super(e,"number","PgReal"),this.config.length=n}build(e){return new XM(e,this.config)}}class XM extends be{static[B]="PgReal";constructor(e,n){super(e,n)}getSQLType(){return"real"}mapFromDriverValue=e=>typeof e=="string"?Number.parseFloat(e):e}function YM(t){return new GM(t??"")}class JM extends Re{static[B]="PgSerialBuilder";constructor(e){super(e,"number","PgSerial"),this.config.hasDefault=!0,this.config.notNull=!0}build(e){return new ej(e,this.config)}}class ej extends be{static[B]="PgSerial";getSQLType(){return"serial"}}function w1(t){return new JM(t??"")}class tj extends Yl{static[B]="PgSmallIntBuilder";constructor(e){super(e,"number","PgSmallInt")}build(e){return new nj(e,this.config)}}class nj extends be{static[B]="PgSmallInt";getSQLType(){return"smallint"}mapFromDriverValue=e=>typeof e=="string"?Number(e):e}function rj(t){return new tj(t??"")}class sj extends Re{static[B]="PgSmallSerialBuilder";constructor(e){super(e,"number","PgSmallSerial"),this.config.hasDefault=!0,this.config.notNull=!0}build(e){return new ij(e,this.config)}}class ij extends be{static[B]="PgSmallSerial";getSQLType(){return"smallserial"}}function oj(t){return new sj(t??"")}class aj extends Re{static[B]="PgTextBuilder";constructor(e,n){super(e,"string","PgText"),this.config.enumValues=n.enum}build(e){return new lj(e,this.config)}}class lj extends be{static[B]="PgText";enumValues=this.config.enumValues;getSQLType(){return"text"}}function S1(t,e={}){const{name:n,config:i}=dt(t,e);return new aj(n,i)}class uj extends Io{constructor(e,n,i){super(e,"string","PgTime"),this.withTimezone=n,this.precision=i,this.config.withTimezone=n,this.config.precision=i}static[B]="PgTimeBuilder";build(e){return new cj(e,this.config)}}class cj extends be{static[B]="PgTime";withTimezone;precision;constructor(e,n){super(e,n),this.withTimezone=n.withTimezone,this.precision=n.precision}getSQLType(){return`time${this.precision===void 0?"":`(${this.precision})`}
16${this.withTimezone?" with time zone":""}`}}function dj(t,e={}){const{name:n,config:i}=dt(t,e);return new uj(n,i.withTimezone??!1,i.precision)}class fj extends Io{static[B]="PgTimestampBuilder";constructor(e,n,i){super(e,"date","PgTimestamp"),this.config.withTimezone=n,this.config.precision=i}build(e){return new hj(e,this.config)}}class hj extends be{static[B]="PgTimestamp";withTimezone;precision;constructor(e,n){super(e,n),this.withTimezone=n.withTimezone,this.precision=n.precision}getSQLType(){return`timestamp${this.precision===void 0?"":` (${this.precision})`}${this.withTimezone?" with time zone":""}`}mapFromDriverValue=e=>new Date(this.withTimezone?e:e+"+0000");mapToDriverValue=e=>e.toISOString()}class pj extends Io{static[B]="PgTimestampStringBuilder";constructor(e,n,i){super(e,"string","PgTimestampString"),this.config.withTimezone=n,this.config.precision=i}build(e){return new mj(e,this.config)}}class mj extends be{static[B]="PgTimestampString";withTimezone;precision;constructor(e,n){super(e,n),this.withTimezone=n.withTimezone,this.precision=n.precision}getSQLType(){return`timestamp${this.precision===void 0?"":`(${this.precision})`}${this.withTimezone?" with time zone":""}`}}function T1(t,e={}){const{name:n,config:i}=dt(t,e);return i?.mode==="string"?new pj(n,i.withTimezone??!1,i.precision):new fj(n,i?.withTimezone??!1,i?.precision)}class gj extends Re{static[B]="PgUUIDBuilder";constructor(e){super(e,"string","PgUUID")}defaultRandom(){return this.default(Al`gen_random_uuid()`)}build(e){return new yj(e,this.config)}}class yj extends be{static[B]="PgUUID";getSQLType(){return"uuid"}}function vj(t){return new gj(t??"")}class xj extends Re{static[B]="PgVarcharBuilder";constructor(e,n){super(e,"string","PgVarchar"),this.config.length=n.length,this.config.enumValues=n.enum}build(e){return new wj(e,this.config)}}class wj extends be{static[B]="PgVarchar";length=this.config.length;enumValues=this.config.enumValues;getSQLType(){return this.length===void 0?"varchar":`varchar(${this.length})`}}function Sj(t,e={}){const{name:n,config:i}=dt(t,e);return new xj(n,i)}class Tj extends Re{static[B]="PgBinaryVectorBuilder";constructor(e,n){super(e,"string","PgBinaryVector"),this.config.dimensions=n.dimensions}build(e){return new bj(e,this.config)}}class bj extends be{static[B]="PgBinaryVector";dimensions=this.config.dimensions;getSQLType(){return`bit(${this.dimensions})`}}function Pj(t,e){const{name:n,config:i}=dt(t,e);return new Tj(n,i)}class Cj extends Re{static[B]="PgHalfVectorBuilder";constructor(e,n){super(e,"array","PgHalfVector"),this.config.dimensions=n.dimensions}build(e){return new Ej(e,this.config)}}class Ej extends be{static[B]="PgHalfVector";dimensions=this.config.dimensions;getSQLType(){return`halfvec(${this.dimensions})`}mapToDriverValue(e){return JSON.stringify(e)}mapFromDriverValue(e){return e.slice(1,-1).split(",").map(n=>Number.parseFloat(n))}}function _j(t,e){const{name:n,config:i}=dt(t,e);return new Cj(n,i)}class kj extends Re{static[B]="PgSparseVectorBuilder";constructor(e,n){super(e,"string","PgSparseVector"),this.config.dimensions=n.dimensions}build(e){return new Aj(e,this.config)}}class Aj extends be{static[B]="PgSparseVector";dimensions=this.config.dimensions;getSQLType(){return`sparsevec(${this.dimensions})`}}function Nj(t,e){const{name:n,config:i}=dt(t,e);return new kj(n,i)}class Rj extends Re{static[B]="PgVectorBuilder";constructor(e,n){super(e,"array","PgVector"),this.config.dimensions=n.dimensions}build(e){return new Oj(e,this.config)}}class Oj extends be{static[B]="PgVector";dimensions=this.config.dimensions;getSQLType(){return`vector(${this.dimensions})`}mapToDriverValue(e){return JSON.stringify(e)}mapFromDriverValue(e){return e.slice(1,-1).split(",").map(n=>Number.parseFloat(n))}}function Mj(t,e){const{name:n,config:i}=dt(t,e);return new Rj(n,i)}function jj(){return{bigint:VO,bigserial:$O,boolean:qO,char:ZO,cidr:YO,customType:tM,date:oM,doublePrecision:uM,inet:fM,integer:mM,interval:vM,json:SM,jsonb:PM,line:AM,macaddr:OM,macaddr8:DM,numeric:VM,point:$M,geometry:ZM,real:YM,serial:w1,smallint:rj,smallseri
16al:oj,text:S1,time:dj,timestamp:T1,uuid:vj,varchar:Sj,bit:Pj,halfvec:_j,sparsevec:Nj,vector:Mj}}const pf=Symbol.for("drizzle:PgInlineForeignKeys"),Ov=Symbol.for("drizzle:EnableRLS");class Mv extends zt{static[B]="PgTable";static Symbol=Object.assign({},zt.Symbol,{InlineForeignKeys:pf,EnableRLS:Ov});[pf]=[];[Ov]=!1;[zt.Symbol.ExtraConfigBuilder]=void 0}function Dj(t,e,n,i,o=t){const l=new Mv(t,i,o),c=typeof e=="function"?e(jj()):e,d=Object.fromEntries(Object.entries(c).map(([m,y])=>{const x=y;x.setName(m);const S=x.build(l);return l[pf].push(...x.buildForeignKeys(S,l)),[m,S]})),f=Object.fromEntries(Object.entries(c).map(([m,y])=>{const x=y;x.setName(m);const S=x.buildExtraConfigColumn(l);return[m,S]})),p=Object.assign(l,d);return p[zt.Symbol.Columns]=d,p[zt.Symbol.ExtraConfigColumns]=f,Object.assign(p,{enableRLS:()=>(p[Mv.Symbol.EnableRLS]=!0,p)})}const Ij=(t,e,n)=>Dj(t,e,n,void 0),qe={INT8_MIN:-128,INT8_MAX:127,INT8_UNSIGNED_MAX:255,INT16_MIN:-32768,INT16_MAX:32767,INT16_UNSIGNED_MAX:65535,INT24_MIN:-8388608,INT24_MAX:8388607,INT24_UNSIGNED_MAX:16777215,INT32_MIN:-2147483648,INT32_MAX:2147483647,INT32_UNSIGNED_MAX:4294967295,INT48_MIN:-0x800000000000,INT48_MAX:0x7fffffffffff,INT48_UNSIGNED_MAX:0xffffffffffff,INT64_MIN:-9223372036854775808n,INT64_MAX:9223372036854775807n,INT64_UNSIGNED_MAX:18446744073709551615n};function nt(t,e){return e.includes(t.columnType)}function Lj(t){return"enumValues"in t&&Array.isArray(t.enumValues)&&t.enumValues.length>0}const Vj=rt.union([rt.string(),rt.number(),rt.boolean(),rt.null()]),Fj=rt.union([Vj,rt.record(rt.any()),rt.array(rt.any())]),zj=rt.custom(t=>t instanceof Buffer);function b1(t,e){const n=e?.zodInstance??rt,i=e?.coerce??{};let o;return Lj(t)&&(o=t.enumValues.length?n.enum(t.enumValues):n.string()),o||(nt(t,["PgGeometry","PgPointTuple"])?o=n.tuple([n.number(),n.number()]):nt(t,["PgGeometryObject","PgPointObject"])?o=n.object({x:n.number(),y:n.number()}):nt(t,["PgHalfVector","PgVector"])?(o=n.array(n.number()),o=t.dimensions?o.length(t.dimensions):o):nt(t,["PgLine"])?o=n.tuple([n.number(),n.number(),n.number()]):nt(t,["PgLineABC"])?o=n.object({a:n.number(),b:n.number(),c:n.number()}):nt(t,["PgArray"])?(o=n.array(b1(t.baseColumn,n)),o=t.size?o.length(t.size):o):t.dataType==="array"?o=n.array(n.any()):t.dataType==="number"?o=Bj(t,n,i):t.dataType==="bigint"?o=Uj(t,n,i):t.dataType==="boolean"?o=i===!0||i.boolean?n.coerce.boolean():n.boolean():t.dataType==="date"?o=i===!0||i.date?n.coerce.date():n.date():t.dataType==="string"?o=$j(t,n,i):t.dataType==="json"?o=Fj:t.dataType==="custom"?o=n.any():t.dataType==="buffer"&&(o=zj)),o||(o=n.any()),o}function Bj(t,e,n){let i=t.getSQLType().includes("unsigned"),o,l,c=!1;nt(t,["MySqlTinyInt","SingleStoreTinyInt"])?(o=i?0:qe.INT8_MIN,l=i?qe.INT8_UNSIGNED_MAX:qe.INT8_MAX,c=!0):nt(t,["PgSmallInt","PgSmallSerial","MySqlSmallInt","SingleStoreSmallInt"])?(o=i?0:qe.INT16_MIN,l=i?qe.INT16_UNSIGNED_MAX:qe.INT16_MAX,c=!0):nt(t,["PgReal","MySqlFloat","MySqlMediumInt","SingleStoreMediumInt","SingleStoreFloat"])?(o=i?0:qe.INT24_MIN,l=i?qe.INT24_UNSIGNED_MAX:qe.INT24_MAX,c=nt(t,["MySqlMediumInt","SingleStoreMediumInt"])):nt(t,["PgInteger","PgSerial","MySqlInt","SingleStoreInt"])?(o=i?0:qe.INT32_MIN,l=i?qe.INT32_UNSIGNED_MAX:qe.INT32_MAX,c=!0):nt(t,["PgDoublePrecision","MySqlReal","MySqlDouble","SingleStoreReal","SingleStoreDouble","SQLiteReal"])?(o=i?0:qe.INT48_MIN,l=i?qe.INT48_UNSIGNED_MAX:qe.INT48_MAX):nt(t,["PgBigInt53","PgBigSerial53","MySqlBigInt53","MySqlSerial","SingleStoreBigInt53","SingleStoreSerial","SQLiteInteger"])?(i=i||nt(t,["MySqlSerial","SingleStoreSerial"]),o=i?0:Number.MIN_SAFE_INTEGER,l=Number.MAX_SAFE_INTEGER,c=!0):nt(t,["MySqlYear","SingleStoreYear"])?(o=1901,l=2155,c=!0):(o=Number.MIN_SAFE_INTEGER,l=Number.MAX_SAFE_INTEGER);let d=n===!0||n?.number?e.coerce.number():e.number();return d=d.min(o).max(l),c?d.int():d}function Uj(t,e,n){const i=t.getSQLType().includes("unsigned"),o=i?0n:qe.INT64_MIN,l=i?qe.INT64_UNSIGNED_MAX:qe.INT64_MAX;return(n===!0||n?.bigint?e.coerce.bigint():e.bigint()).min(o).max(l)}function $j(t,e,n){if(nt(t,["PgUUID"]))return e.string().uuid();let i,o,l=!1;nt(t,["PgVarchar","SQLiteText"])?i=t.length:nt(t,["MySqlVarChar","SingleStoreVarChar"])?i=t.length??qe.INT16_UNSIGNED_MAX:nt(t,["MySqlText","SingleStoreText"])&&(t.textType==="longtext"?i=qe.INT32_UNSIGNED_MAX:t.textType==="mediumtext"?i=qe.INT24_UNSIGNED_MAX:t.textType==="text"?i=qe.INT16_UNSIGNED_MAX:i=qe.INT8_UNSIGNED_MAX),nt(t,["PgChar","MySqlChar","SingleStoreChar"])&&(i=t.length,l=!0),nt(t,["PgBinaryVector"])&&(o=/^[01]+$/,i=t.dimensions);let c=n===!0||n?.string?e.coerce.string():e.string();return c=o?c.regex(o):c,i&&l?c.length(i):i?c.max(i):c}function P1(t){return p1(t)?OO(t):MO(t)}function C1(t,e,n,i){const o={};for(const[l,c]of Object.entries(t)){if(!pt(c,_o)&&!pt(c,Ye)&&!pt(c,Ye.Aliased)&&typeof c=="object"){const y=p1(c)||RO(c)?P1(c):c;o[l]=C1(y,e[l]??{},n,i);continue}const d=e[l];
16if(d!==void 0&&typeof d!="function"){o[l]=d;continue}const f=pt(c,_o)?c:void 0,p=f?b1(f,i):rt.any(),m=typeof d=="function"?d(p):p;n.never(f)||(o[l]=m,f&&(n.nullable(f)&&(o[l]=o[l].nullable()),n.optional(f)&&(o[l]=o[l].optional())))}return rt.object(o)}const Wj={never:t=>t?.generated?.type==="always"||t?.generatedIdentity?.type==="always",optional:t=>!t.notNull||t.notNull&&t.hasDefault,nullable:t=>!t.notNull},Hj=(t,e)=>{const n=P1(t);return C1(n,{},Wj)},qj=Ij("subscribers",{id:w1("id").primaryKey(),email:S1("email").notNull().unique(),createdAt:T1("created_at").defaultNow()}),Kj=Hj(qj).pick({email:!0}).extend({email:rt.string().email("Please enter a valid email address")}),Qj={validation:rt.object({message:rt.string(),field:rt.string().optional()}),internal:rt.object({message:rt.string()})},Qi={subscribers:{create:{method:"POST",path:"/api/subscribe",input:Kj,responses:{201:rt.custom(),400:Qj.validation}}}};function Zj(){const{toast:t}=t0();return Ob({mutationFn:async e=>{const n=Qi.subscribers.create.input.parse(e),i=await fetch(Qi.subscribers.create.path,{method:Qi.subscribers.create.method,headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!i.ok){if(i.status===400){const o=Qi.subscribers.create.responses[400].parse(await i.json());throw new Error(o.message)}throw new Error("Failed to subscribe")}return Qi.subscribers.create.responses[201].parse(await i.json())},onSuccess:()=>{t({title:"Welcome to the family!",description:"You've been successfully added to the mailing list.",duration:5e3})},onError:e=>{t({variant:"destructive",title:"Subscription failed",description:e.message||"Please try again later."})}})}function Gj(){const[t,e]=T.useState(""),n=Zj(),i=o=>{o.preventDefault(),t&&n.mutate({email:t},{onSuccess:()=>e("")})};return w.jsxs("section",{id:"contact",className:"py-24 md:py-32 px-6 relative",children:[w.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[hsl(214_50%_79%/0.12)] to-transparent -z-10"}),w.jsx("div",{className:"max-w-4xl mx-auto text-center",children:w.jsxs($e.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[w.jsx(zP,{className:"mx-auto w-12 h-12 text-primary mb-6"}),w.jsx("h2",{className:"text-4xl md:text-6xl font-heading text-foreground mb-6 uppercase tracking-wide",children:"Stay Connected"}),w.jsx("p",{className:"text-lg text-foreground/70 mb-12 max-w-2xl mx-auto font-light",children:"Join the mailing list to be the first to know about new music, exclusive content, and upcoming shows."}),w.jsxs("form",{onSubmit:i,className:"relative max-w-md mx-auto mb-16","data-testid":"form-subscribe",children:[w.jsx("input",{type:"email",placeholder:"Enter your email address",value:t,onChange:o=>e(o.target.value),required:!0,"data-testid":"input-email",className:"w-full pl-6 pr-16 py-4 rounded-full bg-white shadow-lg shadow-black/5 border border-foreground
16/10 text-foreground placeholder:text-foreground/40 focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary/50 transition-all"}),w.jsx("button",{type:"submit",disabled:n.isPending,"data-testid":"button-subscribe",className:"absolute right-2 top-2 bottom-2 aspect-square rounded-full bg-primary text-white flex items-center justify-center hover:opacity-90 transition-opacity shadow-md disabled:opacity-50 disabled:cursor-not-allowed","aria-label":"Subscribe",children:n.isPending?w.jsx(FP,{className:"animate-spin",size:20}):w.jsx(IP,{size:20})})]}),n.isSuccess&&w.jsx("p",{className:"text-green-600 text-sm mt-[-2rem] mb-12","data-testid":"text-subscribe-success",children:"You're on the list! Welcome to the journey."}),n.isError&&w.jsx("p",{className:"text-red-500 text-sm mt-[-2rem] mb-12","data-testid":"text-subscribe-error",children:n.error.message})]})})]})}var E1={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},jv=Qe.createContext&&Qe.createContext(E1),Xj=["attr","size","title"];function Yj(t,e){if(t==null)return{};var n=Jj(t,e),i,o;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);for(o=0;o<l.length;o++)i=l[o],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(t,i)&&(n[i]=t[i])}return n}function Jj(t,e){if(t==null)return{};var n={};for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){if(e.indexOf(i)>=0)continue;n[i]=t[i]}return n}function Nl(){return Nl=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Nl.apply(this,arguments)}function Dv(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,i)}return n}function Rl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Dv(Object(n),!0).forEach(function(i){e4(t,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Dv(Object(n)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))})}return t}function e4(t,e,n){return e=t4(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function t4(t){var e=n4(t,"string");return typeof e=="symbol"?e:e+""}function n4(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var i=n.call(t,e);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function _1(t){return t&&t.map((e,n)=>Qe.createElement(e.tag,Rl({key:n},e.attr),_1(e.child)))}function ni(t){return e=>Qe.createElement(r4,Nl({attr:Rl({},t.attr)},e),_1(t.child))}function r4(t){var e=n=>{var{attr:i,size:o,title:l}=t,c=Yj(t,Xj),d=o||n.size||"1em",f;return n.className&&(f=n.className),t.className&&(f=(f?f+" ":"")+t.className),Qe.createElement("svg",Nl({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,i,c,{className:f,style:Rl(Rl({color:t.color||n.color},n.style),t.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),l&&Qe.createElement("title",null,l),t.children)};return jv!==void 0?Qe.createElement(jv.Consumer,null,n=>e(n)):e(E1)}function s4(t){return ni({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M23.994 6.124a9.23 9.23 0 00-.24-2.19c-.317-1.31-1.062-2.31-2.18-3.043a5.022 5.022 0 00-1.877-.726 10.496 10.496 0 00-1.564-.15c-.04-.003-.083-.01-.124-.013H5.986c-.152.01-.303.017-.455.026-.747.043-1.49.123-2.193.4-1.336.53-2.3 1.452-2.865 2.78-.192.448-.292.925-.363 1.408-.056.392-.088.785-.1 1.18 0 .032-.007.062-.01.
16093v12.223c.01.14.017.283.027.424.05.815.154 1.624.497 2.373.65 1.42 1.738 2.353 3.234 2.801.42.127.856.187 1.293.228.555.053 1.11.06 1.667.06h11.03a12.5 12.5 0 001.57-.1c.822-.106 1.596-.35 2.295-.81a5.046 5.046 0 001.88-2.207c.186-.42.293-.87.37-1.324.113-.675.138-1.358.137-2.04-.002-3.8 0-7.595-.003-11.393zm-6.423 3.99v5.712c0 .417-.058.827-.244 1.206-.29.59-.76.962-1.388 1.14-.35.1-.706.157-1.07.173-.95.045-1.773-.6-1.943-1.536a1.88 1.88 0 011.038-2.022c.323-.16.67-.25 1.018-.324.378-.082.758-.153 1.134-.24.274-.063.457-.23.51-.516a.904.904 0 00.02-.193c0-1.815 0-3.63-.002-5.443a.725.725 0 00-.026-.185c-.04-.15-.15-.243-.304-.234-.16.01-.318.035-.475.066-.76.15-1.52.303-2.28.456l-2.325.47-1.374.278c-.016.003-.032.01-.048.013-.277.077-.377.203-.39.49-.002.042 0 .086 0 .13-.002 2.602 0 5.204-.003 7.805 0 .42-.047.836-.215 1.227-.278.64-.77 1.04-1.434 1.233-.35.1-.71.16-1.075.172-.96.036-1.755-.6-1.92-1.544-.14-.812.23-1.685 1.154-2.075.357-.15.73-.232 1.108-.31.287-.06.575-.116.86-.177.383-.083.583-.323.6-.714v-.15c0-2.96 0-5.922.002-8.882 0-.123.013-.25.042-.37.07-.285.273-.448.546-.518.255-.066.515-.112.774-.165.733-.15 1.466-.296 2.2-.444l2.27-.46c.67-.134 1.34-.27 2.01-.403.22-.043.442-.088.663-.106.31-.025.523.17.554.482.008.073.012.148.012.223.002 1.91.002 3.822 0 5.732z"},child:[]}]})(t)}function i4(t){return ni({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z"},child:[]}]})(t)}function o4(t){return ni({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077"},child:[]}]})(t)}function a4(t){return ni({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 0C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.66 0 12 0zm5.521 17.34c-.24.359-.66.48-1.021.24-2.82-1.74-6.36-2.101-10.561-1.141-.418.122-.779-.179-.899-.539-.12-.421.18-.78.54-.9 4.56-1.021 8.52-.6 11.64 1.32.42.18.479.659.301 1.02zm1.44-3.3c-.301.42-.841.6-1.262.3-3.239-1.98-8.159-2.58-11.939-1.38-.479.12-1.02-.12-1.14-.6-.12-.48.12-1.021.6-1.141C9.6 9.9 15 10.561 18.72 12.84c.361.181.54.78.241 1.2zm.12-3.36C15.24 8.4 8.82 8.16 5.16 9.301c-.6.179-1.2-.181-1.38-.721-.18-.601.18-1.2.72-1.381 4.26-1.26 11.28-1.02 15.721 1.621.539.3.719 1.02.419 1.56-.299.421-1.02.599-1.559.3z"},child:[]}]})(t)}function l4(t){return ni({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08
16-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"},child:[]}]})(t)}function u4(t){return ni({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"},child:[]}]})(t)}const c4=[{icon:a4,href:"https://open.spotify.com/artist/2mBE8Q2C0t9cReZaGdIa2X",label:"Spotify"},{icon:s4,href:"https://music.apple.com/us/artist/neah-mcmeen/1773765599",label:"Apple Music"},{icon:u4,href:"https://youtube.com/@neahmcmeen",label:"YouTube"},{icon:o4,href:"https://www.instagram.com/neahlmcmeen/",label:"Instagram"},{icon:l4,href:"https://www.tiktok.com/@neahmcmeen",label:"TikTok"},{icon:i4,href:"https://www.facebook.com/people/Neah-McMeen/pfbid0L2gX7mZ5UeARPPjxsSUuiFM8BnRH1fGnxy71jZvdmRdPGJaaMgzMoNvQgBBb38sRl/",label:"Facebook"}];function d4(){const t=new Date().getFullYear();return w.jsx("footer",{className:"bg-foreground text-white py-16 px-6",children:w.jsxs("div",{className:"max-w-7xl mx-auto flex flex-col items-center gap-8",children:[w.jsx("img",{src:"/assets/logo-white.webp",alt:"Neah McMeen Logo",className:"h-16 w-auto","data-testid":"img-footer-logo"}),w.jsx("a",{href:"https://hypeddit.com/neahmcmeen/loveletterep",target:"_blank",rel:"noreferrer","data-testid":"link-footer-love-letter",className:"px-8 py-3 rounded-full bg-primary text-white font-medium text-sm font-heading uppercase tracking-widest hover:opacity-90 transition-all shadow-lg shadow-primary/20",children:"Stream the EP"}),w.jsx("div",{className:"flex items-center gap-5",children:c4.map(e=>w.jsx("a",{href:e.href,target:"_blank",rel:"noreferrer",className:"text-white/60 hover:text-[hsl(354_100%_76%)] transition-colors","aria-label":e.label,"data-testid":`link-social-${e.label.toLowerCase().replace(" ","-")}`,children:w.jsx(e.icon,{size:22})},e.label))}),w.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-6 text-sm font-heading font-medium text-white/50 uppercase tracking-wide",children:[w.jsx("a",{href:"#music",className:"hover:text-white transition-colors",children:"Music"}),w.jsx("a",{href:"#video",className:"hover:text-white transition-colors",children:"Video"}),w.jsx("a",{href:"#store",className:"hover:text-white transition-colors",children:"Store"}),w.jsx("a",{href:"#tour",className:"hover:text-white transition-colors",children:"Tour"}),w.jsx("a",{href:"#about",className:"hover:text-white transition-colors",children:"About"}),w.jsx("a",{href:"#contact",className:"hover:text-white transition-colors",children:"Contact"})]}),w.jsxs("div",{className:"text-white/30 text-sm font-light text-center",children:["© ",t," Neah McMeen Music. All rights reserved."]})]})})}function f4(){return w.jsxs(w.Fragment,{children:[w.jsxs(C_,{children:[w.jsx("title",{children:'Neah McMeen | "Unexpectedly" — Out Next Friday'}),w.jsx("meta",{name:"description",content:"Official website of Neah McMeen — contemporary country artist. New single 'Unexpectedly' drops next Friday. Listen to music, watch videos, shop merch, and stay connected."}),w.jsx("meta",{property:"og:title",content:"Neah McMeen | 'Unexpectedly' — Out Next Friday"}),w.jsx("meta",{property:"og:description",content:"Contemporary country artist from the heartland. New single 'Unexpectedly' co-written with Grammy-nominated Deborah Allen drops next Friday."}),w.jsx("meta",{property:"og:image",content:"/assets/og-neah.jpg"}),w.jsx("meta",{property:"og:type",content:"music.musician"}),w.jsx("meta",{property:"og:url",content:"https://neahmcmeen.com"}),w.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),w.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"MusicGroup",name:"Neah McMeen",genre:["Contemporary Country"],description:"Contemporary country artist from Superior, Nebraska. Faith-forward storytelling rooted in the heartland.",url:"https://neahmcmeen.com",sameAs:["https://open.spotify.com/artist/2mBE8Q2C0t9cReZaGdIa2X","https://music.apple.com/us/artist/neah-mcmeen/1773765599","https://youtube.com/@neahmcmeen","https://www.instagram.com/neahlmcmeen/","https://www.tiktok.com/@neahmcmeen","https://www.facebook.com/people/Neah-McMeen/pfbid0L2gX7mZ5UeARPPjxsSUuiFM8BnRH1fGnxy71jZvdmRdPGJaaMgzMoNvQgBBb38sRl/"]})})]}),w.jsx(JN,{}),w.jsxs("main",{children:[w.jsx(eR,{}),w.jsx(nR,{}),w.jsx(sR,{}),w.jsx(aR,{}),w.jsx(lR,{}),w.jsx(uR,{}),w.jsx(Gj,{})]}),w.jsx(d4,{})]})}const k1=T.forwardRef(({className:t,...e},n)=>w.jsx("div",{ref:n,className:Ht("shadcn-card rounded-xl border bg-card border-card-border text-card-foreground shadow-sm",t),...e}));
16k1.displayName="Card";const h4=T.forwardRef(({className:t,...e},n)=>w.jsx("div",{ref:n,className:Ht("flex flex-col space-y-1.5 p-6",t),...e}));h4.displayName="CardHeader";const p4=T.forwardRef(({className:t,...e},n)=>w.jsx("div",{ref:n,className:Ht("text-2xl font-semibold leading-none tracking-tight",t),...e}));p4.displayName="CardTitle";const m4=T.forwardRef(({className:t,...e},n)=>w.jsx("div",{ref:n,className:Ht("text-sm text-muted-foreground",t),...e}));m4.displayName="CardDescription";const A1=T.forwardRef(({className:t,...e},n)=>w.jsx("div",{ref:n,className:Ht("p-6 pt-0",t),...e}));A1.displayName="CardContent";const g4=T.forwardRef(({className:t,...e},n)=>w.jsx("div",{ref:n,className:Ht("flex items-center p-6 pt-0",t),...e}));g4.displayName="CardFooter";function y4(){return w.jsx("div",{className:"min-h-screen w-full flex items-center justify-center bg-gray-50",children:w.jsx(k1,{className:"w-full max-w-md mx-4",children:w.jsxs(A1,{className:"pt-6",children:[w.jsxs("div",{className:"flex mb-4 gap-2",children:[w.jsx(VP,{className:"h-8 w-8 text-red-500"}),w.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"404 Page Not Found"})]}),w.jsx("p",{className:"mt-4 text-sm text-gray-600",children:"Did you forget to add the page to the router?"})]})})})}function v4(){return w.jsxs(sb,{children:[w.jsx(_g,{path:"/",component:f4}),w.jsx(_g,{component:y4})]})}function x4(){return w.jsx(bx,{children:w.jsx(Ab,{client:Db,children:w.jsxs(XE,{children:[w.jsx(CC,{}),w.jsx(v4,{})]})})})}jT.createRoot(document.getElementById("root")).render(w.jsx(x4,{}));

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.