PageSourceSearch

https://soberevents.us/assets/index-DNqvsJj6.js

js soberevents.us collected 2026-10-08 06:49:09 UTC 584,693 bytes, 58 lines download raw bytes

1var Kg=e=>{throw TypeError(e)};var Gg=(e,t,r)=>t.has(e)||Kg("Cannot "+r);var yt=(e,t,r)=>(Gg(e,t,"read from private field"),r?r.call(e):t.get(e)),qg=(e,t,r)=>t.has(e)?Kg("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),rd=(e,t,r,i)=>(Gg(e,t,"write to private field"),i?i.call(e,r):t.set(e,r),r);function F2(e,t){for(var r=0;r<t.length;r++){const i=t[r];if(typeof i!="string"&&!Array.isArray(i)){for(const s in i)if(s!=="default"&&!(s in e)){const l=Object.getOwnPropertyDescriptor(i,s);l&&Object.defineProperty(e,s,l.get?l:{enumerable:!0,get:()=>i[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const l of s)if(l.type==="childList")for(const u of l.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&i(u)}).observe(document,{childList:!0,subtree:!0});function r(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerPolicy&&(l.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?l.credentials="include":s.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function i(s){if(s.ep)return;s.ep=!0;const l=r(s);fetch(s.href,l)}})();function ao(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var od={exports:{}},os={},id={exports:{}},Ce={};var Yg;function V2(){if(Yg)return Ce;Yg=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),v=Symbol.iterator;function w(I){return I===null||typeof I!="object"?null:(I=v&&I[v]||I["@@iterator"],typeof I=="function"?I:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j=Object.assign,E={};function b(I,B,ue){this.props=I,this.context=B,this.refs=E,this.updater=ue||S}b.prototype.isReactComponent={},b.prototype.setState=function(I,B){if(typeof I!="object"&&typeof I!="function"&&I!=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,I,B,"setState")},b.prototype.forceUpdate=function(I){this.updater.enqueueForceUpdate(this,I,"forceUpdate")};function N(){}N.prototype=b.prototype;function T(I,B,ue){this.props=I,this.context=B,this.refs=E,this.updater=ue||S}var P=T.prototype=new N;P.constructor=T,j(P,b.prototype),P.isPureReactComponent=!0;var R=Array.isArray,M=Object.prototype.hasOwnProperty,F={current:null},z={key:!0,ref:!0,__self:!0,__source:!0};function $(I,B,ue){var ge,we={},Se=null,je=null;if(B!=null)for(ge in B.ref!==void 0&&(je=B.ref),B.key!==void 0&&(Se=""+B.key),B)M.call(B,ge)&&!z.hasOwnProperty(ge)&&(we[ge]=B[ge]);var te=arguments.length-2;if(te===1)we.children=ue;else if(1<te){for(var ve=Array(te),Pe=0;Pe<te;Pe++)ve[Pe]=arguments[Pe+2];we.children=ve}if(I&&I.defaultProps)for(ge in te=I.defaultProps,te)we[ge]===void 0&&(we[ge]=te[ge]);return{$$typeof:e,type:I,key:Se,ref:je,props:we,_owner:F.current}}function X(I,B){return{$$typeof:e,type:I.type,key:B,ref:I.ref,props:I.props,_owner:I._owner}}function ee(I){return typeof I=="object"&&I!==null&&I.$$typeof===e}function se(I){var B={"=":"=0",":":"=2"};return"$"+I.replace(/[=:]/g,function(ue){return B[ue]})}var K=/\/+/g;function le(I,B){return typeof I=="object"&&I!==null&&I.key!=null?se(""+I.key):B.toString(36)}function q(I,B,ue,ge,we){var Se=typeof I;(Se==="undefined"||Se==="boolean")&&(I=null);var je=!1;if(I===null)je=!0;else switch(Se){case"string":case"number":je=!0;break;case"object":switch(I.$$typeof){case e:case t:je=!0}}if(je)return je=I,we=we(je),I=ge===""?"."+le(je,0):ge,R(we)?(ue="",I!=null&&(ue=I.replace(K,"$&/")+"/"),q(we,B,ue,"",function(Pe){return Pe})):we!=null&&(ee(we)&&(we=X(we,ue+(!we.key||je&&je.key===we.key?"":(""+we.key).replace(K,"$&/")+"/")+I)),B.push(we)),1;
vendor: 10,136 bytes, line 1
1if(je=0,ge=ge===""?".":ge+":",R(I))for(var te=0;te<I.length;te++){Se=I[te];var ve=ge+le(Se,te);je+=q(Se,B,ue,ve,we)}else if(ve=w(I),typeof ve=="function")for(I=ve.call(I),te=0;!(Se=I.next()).done;)Se=Se.value,ve=ge+le(Se,te++),je+=q(Se,B,ue,ve,we);else if(Se==="object")throw B=String(I),Error("Objects are not valid as a React child (found: "+(B==="[object Object]"?"object with keys {"+Object.keys(I).join(", ")+"}":B)+"). If you meant to render a collection of children, use an array instead.");return je}function he(I,B,ue){if(I==null)return I;var ge=[],we=0;return q(I,ge,"","",function(Se){return B.call(ue,Se,we++)}),ge}function oe(I){if(I._status===-1){var B=I._result;B=B(),B.then(function(ue){(I._status===0||I._status===-1)&&(I._status=1,I._result=ue)},function(ue){(I._status===0||I._status===-1)&&(I._status=2,I._result=ue)}),I._status===-1&&(I._status=0,I._result=B)}if(I._status===1)return I._result.default;throw I._result}var Z={current:null},V={transition:null},Y={ReactCurrentDispatcher:Z,ReactCurrentBatchConfig:V,ReactCurrentOwner:F};function H(){throw Error("act(...) is not supported in production builds of React.")}return Ce.Children={map:he,forEach:function(I,B,ue){he(I,function(){B.apply(this,arguments)},ue)},count:function(I){var B=0;return he(I,function(){B++}),B},toArray:function(I){return he(I,function(B){return B})||[]},only:function(I){if(!ee(I))throw Error("React.Children.only expected to receive a single React element child.");return I}},Ce.Component=b,Ce.Fragment=r,Ce.Profiler=s,Ce.PureComponent=T,Ce.StrictMode=i,Ce.Suspense=p,Ce.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Y,Ce.act=H,Ce.cloneElement=function(I,B,ue){if(I==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+I+".");var ge=j({},I.props),we=I.key,Se=I.ref,je=I._owner;if(B!=null){if(B.ref!==void 0&&(Se=B.ref,je=F.current),B.key!==void 0&&(we=""+B.key),I.type&&I.type.defaultProps)var te=I.type.defaultProps;for(ve in B)M.call(B,ve)&&!z.hasOwnProperty(ve)&&(ge[ve]=B[ve]===void 0&&te!==void 0?te[ve]:B[ve])}var ve=arguments.length-2;if(ve===1)ge.children=ue;else if(1<ve){te=Array(ve);for(var Pe=0;Pe<ve;Pe++)te[Pe]=arguments[Pe+2];ge.children=te}return{$$typeof:e,type:I.type,key:we,ref:Se,props:ge,_owner:je}},Ce.createContext=function(I){return I={$$typeof:u,_currentValue:I,_currentValue2:I,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},I.Provider={$$typeof:l,_context:I},I.Consumer=I},Ce.createElement=$,Ce.createFactory=function(I){var B=$.bind(null,I);return B.type=I,B},Ce.createRef=function(){return{current:null}},Ce.forwardRef=function(I){return{$$typeof:f,render:I}},Ce.isValidElement=ee,Ce.lazy=function(I){return{$$typeof:g,_payload:{_status:-1,_result:I},_init:oe}},Ce.memo=function(I,B){return{$$typeof:h,type:I,compare:B===void 0?null:B}},Ce.startTransition=function(I){var B=V.transition;V.transition={};try{I()}finally{V.transition=B}},Ce.unstable_act=H,Ce.useCallback=function(I,B){return Z.current.useCallback(I,B)},Ce.useContext=function(I){return Z.current.useContext(I)},Ce.useDebugValue=function(){},Ce.useDeferredValue=function(I){return Z.current.useDeferredValue(I)},Ce.useEffect=function(I,B){return Z.current.useEffect(I,B)},Ce.useId=function(){return Z.current.useId()},Ce.useImperativeHandle=function(I,B,ue){return Z.current.useImperativeHandle(I,B,ue)},Ce.useInsertionEffect=function(I,B){return Z.current.useInsertionEffect(I,B)},Ce.useLayoutEffect=function(I,B){return Z.current.useLayoutEffect(I,B)},Ce.useMemo=function(I,B){return Z.current.useMemo(I,B)},Ce.useReducer=function(I,B,ue){return Z.current.useReducer(I,B,ue)},Ce.useRef=function(I){return Z.current.useRef(I)},Ce.useState=function(I){return Z.current.useState(I)},Ce.useSyncExternalStore=function(I,B,ue){return Z.current.useSyncExternalStore(I,B,ue)},Ce.useTransition=function(){return Z.current.useTransition()},Ce.version="18.3.1",Ce}var Xg;function Ul(){return Xg||(Xg=1,id.exports=V2()),id.exports}var Qg;function z2(){if(Qg)return os;Qg=1;var e=Ul(),t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(f,p,h){var g,v={},w=null,S=null;h!==void 0&&(w=""+h),p.key!==void 0&&(w=""+p.key),p.ref!==void 0&&(S=p.ref);for(g in p)i.call(p,g)&&!l.hasOwnProperty(g)&&(v[g]=p[g]);if(f&&f.defaultProps)for(g in p=f.defaultProps,p)v[g]===void 0&&(v[g]=p[g]);return{$$typeof:t,type:f,key:w,ref:S,props:v,_owner:s.current}}return os.Fragment=r,os.jsx=u,os.jsxs=u,os}var Zg;function B2(){return Zg||(Zg=1,od.exports=z2()),od.exports}var c=B2(),x=Ul();const Ft=ao(x),ci=F2({__proto__:null,default:Ft},[x]);var el={},sd={exports:{}},Rt={},ad={exports:{}},ld={};var Jg;function $2(){return Jg||(Jg=1,(function(e){function t(V,Y){var H=V.length;V.push(Y);e:for(;0<H;){var I=H-1>>>1,B=V[I];if(0<s(B,Y))V[I]=Y,V[H]=B,H=I;else break e}}function r(V){return V.length===0?null:V[0]}function i(V){if(V.length===0)return null;var Y=V[0],H=V.pop();if(H!==Y){V[0]=H;e:for(var I=0,B=V.length,ue=B>>>1;I<ue;){var ge=2*(I+1)-1,we=V[ge],Se=ge+1,je=V[Se];if(0>s(we,H))Se<B&&0>s(je,we)?(V[I]=je,V[Se]=H,I=Se):(V[I]=we,V[ge]=H,I=ge);else if(Se<B&&0>s(je,H))V[I]=je,V[Se]=H,I=Se;else break e}}return Y}function s(V,Y){var H=V.sortIndex-Y.sortIndex;return H!==0?H:V.id-Y.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var u=Date,f=u.now();e.unstable_now=function(){return u.now()-f}}var p=[],h=[],g=1,v=null,w=3,S=!1,j=!1,E=!1,b=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,T=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function P(V){for(var Y=r(h);Y!==null;){if(Y.callback===null)i(h);else if(Y.startTime<=V)i(h),Y.sortIndex=Y.expirationTime,t(p,Y);else break;Y=r(h)}}function R(V){if(E=!1,P(V),!j)if(r(p)!==null)j=!0,oe(M);else{var Y=r(h);Y!==null&&Z(R,Y.startTime-V)}}function M(V,Y){j=!1,E&&(E=!1,N($),$=-1),S=!0;var H=w;try{for(P(Y),v=r(p);v!==null&&(!(v.expirationTime>Y)||V&&!se());){var I=v.callback;if(typeof I=="function"){v.callback=null,w=v.priorityLevel;var B=I(v.expirationTime<=Y);Y=e.unstable_now(),typeof B=="function"?v.callback=B:v===r(p)&&i(p),P(Y)}else i(p);v=r(p)}if(v!==null)var ue=!0;else{var ge=r(h);ge!==null&&Z(R,ge.startTime-Y),ue=!1}return ue}finally{v=null,w=H,S=!1}}var F=!1,z=null,$=-1,X=5,ee=-1;function se(){return!(e.unstable_now()-ee<X)}function K(){if(z!==null){var V=e.unstable_now();ee=V;var Y=!0;try{Y=z(!0,V)}finally{Y?le():(F=!1,z=null)}}else F=!1}var le;if(typeof T=="function")le=function(){T(K)};else if(typeof MessageChannel<"u"){var q=new MessageChannel,he=q.port2;q.port1.onmessage=K,le=function(){he.postMessage(null)}}else le=function(){b(K,0)};function oe(V){z=V,F||(F=!0,le())}function Z(V,Y){$=b(function(){V(e.unstable_now())},Y)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(V){V.callback=null},e.unstable_continueExecution=function(){j||S||(j=!0,oe(M))},e.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"):X=0<V?Math.floor(1e3/V):5},e.unstable_getCurrentPriorityLevel=function(){return w},e.unstable_getFirstCallbackNode=function(){return r(p)},e.unstable_next=function(V){switch(w){case 1:case 2:case 3:var Y=3;break;default:Y=w}var H=w;w=Y;try{return V()}finally{w=H}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(V,Y){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var H=w;w=V;try{return Y()}finally{w=H}},e.unstable_scheduleCallback=function(V,Y,H){var I=e.unstable_now();switch(typeof H=="object"&&H!==null?(H=H.delay,H=typeof H=="number"&&0<H?I+H:I):H=I,V){case 1:var B=-1;break;case 2:B=250;break;case 5:B=1073741823;break;case 4:B=1e4;break;default:B=5e3}return B=H+B,V={id:g++,callback:Y,priorityLevel:V,startTime:H,expirationTime:B,sortIndex:-1},H>I?(V.sortIndex=H,t(h,V),r(p)===null&&V===r(h)&&(E?(N($),$=-1):E=!0,Z(R,H-I))):(V.sortIndex=B,t(p,V),j||S||(j=!0,oe(M))),V},e.unstable_shouldYield=se,e.unstable_wrapCallback=function(V){var Y=w;return function(){var H=w;w=Y;try{return V.apply(this,arguments)}finally{w=H}}}})(ld)),ld}var ev;function W2(){return ev||(ev=1,ad.exports=$2()),ad.exports}var tv;function U2(){if(tv)return Rt;tv=1;var e=Ul(),t=W2();function r(n){for(var o="https://reactjs.org/docs/error-decoder.html?invariant="+n,a=1;a<arguments.length;a++)o+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+n+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,s={};function l(n,o){u(n,o),u(n+"Capture",o)}function u(n,o){for(s[n]=o,n=0;n<o.length;n++)i.add(o[n])}var f=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p=Object.prototype.hasOwnProperty,h=/^[: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]*$/,g={},v={};function w(n){return p.call(v,n)?!0:p.call(g,n)?!1:h.test(n)?v[n]=!0:(g[n]=!0,!1)}function S(n,o,a,d){if(a!==null&&a.type===0)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":return d?!1:a!==null?!a.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function j(n,o,a,d){if(o===null||typeof o>"u"||S(n,o,a,d))return!0;
vendor: 27,765 bytes, lines 1-5
1if(d)return!1;if(a!==null)switch(a.type){case 3:return!o;case 4:return o===!1;case 5:return isNaN(o);case 6:return isNaN(o)||1>o}return!1}function E(n,o,a,d,m,y,C){this.acceptsBooleans=o===2||o===3||o===4,this.attributeName=d,this.attributeNamespace=m,this.mustUseProperty=a,this.propertyName=n,this.type=o,this.sanitizeURL=y,this.removeEmptyString=C}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){b[n]=new E(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var o=n[0];b[o]=new E(o,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){b[n]=new E(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){b[n]=new E(n,2,!1,n,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(n){b[n]=new E(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){b[n]=new E(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){b[n]=new E(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){b[n]=new E(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){b[n]=new E(n,5,!1,n.toLowerCase(),null,!1,!1)});var N=/[\-:]([a-z])/g;function T(n){return n[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(n){var o=n.replace(N,T);b[o]=new E(o,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var o=n.replace(N,T);b[o]=new E(o,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var o=n.replace(N,T);b[o]=new E(o,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){b[n]=new E(n,1,!1,n.toLowerCase(),null,!1,!1)}),b.xlinkHref=new E("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){b[n]=new E(n,1,!1,n.toLowerCase(),null,!0,!0)});function P(n,o,a,d){var m=b.hasOwnProperty(o)?b[o]:null;(m!==null?m.type!==0:d||!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(j(o,a,m,d)&&(a=null),d||m===null?w(o)&&(a===null?n.removeAttribute(o):n.setAttribute(o,""+a)):m.mustUseProperty?n[m.propertyName]=a===null?m.type===3?!1:"":a:(o=m.attributeName,d=m.attributeNamespace,a===null?n.removeAttribute(o):(m=m.type,a=m===3||m===4&&a===!0?"":""+a,d?n.setAttributeNS(d,o,a):n.setAttribute(o,a))))}var R=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,M=Symbol.for("react.element"),F=Symbol.for("react.portal"),z=Symbol.for("react.fragment"),$=Symbol.for("react.strict_mode"),X=Symbol.for("react.profiler"),ee=Symbol.for("react.provider"),se=Symbol.for("react.context"),K=Symbol.for("react.forward_ref"),le=Symbol.for("react.suspense"),q=Symbol.for("react.suspense_list"),he=Symbol.for("react.memo"),oe=Symbol.for("react.lazy"),Z=Symbol.for("react.offscreen"),V=Symbol.iterator;function Y(n){return n===null||typeof n!="object"?null:(n=V&&n[V]||n["@@iterator"],typeof n=="function"?n:null)}var H=Object.assign,I;function B(n){if(I===void 0)try{throw Error()}catch(a){var o=a.stack.trim().match(/\n( *(at )?)/);I=o&&o[1]||""}return`
2`+I+n}var ue=!1;function ge(n,o){if(!n||ue)return"";ue=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(o)if(o=function(){throw Error()},Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(D){var d=D}Reflect.construct(n,[],o)}else{try{o.call()}catch(D){d=D}n.call(o.prototype)}else{try{throw Error()}catch(D){d=D}n()}}catch(D){if(D&&d&&typeof D.stack=="string"){for(var m=D.stack.split(`
3`),y=d.stack.split(`
4`),C=m.length-1,k=y.length-1;1<=C&&0<=k&&m[C]!==y[k];)k--;for(;1<=C&&0<=k;C--,k--)if(m[C]!==y[k]){if(C!==1||k!==1)do if(C--,k--,0>k||m[C]!==y[k]){var A=`
5`+m[C].replace(" at new "," at ");return n.displayName&&A.includes("<anonymous>")&&(A=A.replace("<anonymous>",n.displayName)),A}while(1<=C&&0<=k);break}}}finally{ue=!1,Error.prepareStackTrace=a}return(n=n?n.displayName||n.name:"")?B(n):""}function we(n){switch(n.tag){case 5:return B(n.type);case 16:return B("Lazy");case 13:return B("Suspense");case 19:return B("SuspenseList");case 0:case 2:case 15:return n=ge(n.type,!1),n;case 11:return n=ge(n.type.render,!1),n;case 1:return n=ge(n.type,!0),n;default:return""}}function Se(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case z:return"Fragment";case F:return"Portal";case X:return"Profiler";case $:return"StrictMode";case le:return"Suspense";case q:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case se:return(n.displayName||"Context")+".Consumer";case ee:return(n._context.displayName||"Context")+".Provider";case K:var o=n.render;return n=n.displayName,n||(n=o.displayName||o.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case he:return o=n.displayName||null,o!==null?o:Se(n.type)||"Memo";case oe:o=n._payload,n=n._init;try{return Se(n(o))}catch{}}return null}function je(n){var o=n.type;switch(n.tag){case 24:return"Cache";case 9:return(o.displayName||"Context")+".Consumer";case 10:return(o._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=o.render,n=n.displayName||n.name||"",o.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return o;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Se(o);case 8:return o===$?"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 o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o}return null}function te(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function ve(n){var o=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function Pe(n){var o=ve(n)?"checked":"value",a=Object.getOwnPropertyDescriptor(n.constructor.prototype,o),d=""+n[o];if(!n.hasOwnProperty(o)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var m=a.get,y=a.set;return Object.defineProperty(n,o,{configurable:!0,get:function(){return m.call(this)},set:function(C){d=""+C,y.call(this,C)}}),Object.defineProperty(n,o,{enumerable:a.enumerable}),{getValue:function(){return d},setValue:function(C){d=""+C},stopTracking:function(){n._valueTracker=null,delete n[o]}}}}function ke(n){n._valueTracker||(n._valueTracker=Pe(n))}function Me(n){if(!n)return!1;var o=n._valueTracker;if(!o)return!0;var a=o.getValue(),d="";return n&&(d=ve(n)?n.checked?"true":"false":n.value),n=d,n!==a?(o.setValue(n),!0):!1}function Ie(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function Mt(n,o){var a=o.checked;return H({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??n._wrapperState.initialChecked})}function bt(n,o){var a=o.defaultValue==null?"":o.defaultValue,d=o.checked!=null?o.checked:o.defaultChecked;a=te(o.value!=null?o.value:a),n._wrapperState={initialChecked:d,initialValue:a,controlled:o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null}}function ho(n,o){o=o.checked,o!=null&&P(n,"checked",o,!1)}function _r(n,o){ho(n,o);var a=te(o.value),d=o.type;if(a!=null)d==="number"?(a===0&&n.value===""||n.value!=a)&&(n.value=""+a):n.value!==""+a&&(n.value=""+a);else if(d==="submit"||d==="reset"){n.removeAttribute("value");return}o.hasOwnProperty("value")?fc(n,o.type,a):o.hasOwnProperty("defaultValue")&&fc(n,o.type,te(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(n.defaultChecked=!!o.defaultChecked)}function mo(n,o,a){if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var d=o.type;if(!(d!=="submit"&&d!=="reset"||o.value!==void 0&&o.value!==null))return;o=""+n._wrapperState.initialValue,a||o===n.value||(n.value=o),n.defaultValue=o}a=n.name,a!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,a!==""&&(n.name=a)}function fc(n,o,a){(o!=="number"||Ie(n.ownerDocument)!==n)&&(a==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+a&&(n.defaultValue=""+a))}var xi=Array.isArray;function go(n,o,a,d){if(n=n.options,o){o={};for(var m=0;m<a.length;m++)o["$"+a[m]]=!0;for(a=0;a<n.length;a++)m=o.hasOwnProperty("$"+n[a].value),n[a].selected!==m&&(n[a].selected=m),m&&d&&(n[a].defaultSelected=!0)}else{for(a=""+te(a),o=null,m=0;m<n.length;m++){if(n[m].value===a){n[m].selected=!0,d&&(n[m].defaultSelected=!0);return}o!==null||n[m].disabled||(o=n[m])}o!==null&&(o.selected=!0)}}function pc(n,o){if(o.dangerouslySetInnerHTML!=null)throw Error(r(91));return H({},o,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function nh(n,o){var a=o.value;if(a==null){if(a=o.children,o=o.defaultValue,a!=null){if(o!=null)throw Error(r(92));if(xi(a)){if(1<a.length)throw Error(r(93));a=a[0]}o=a}o==null&&(o=""),a=o}n._wrapperState={initialValue:te(a)}}function rh(n,o){var a=te(o.value),d=te(o.defaultValue);a!=null&&(a=""+a,a!==n.value&&(n.value=a),o.defaultValue==null&&n.defaultValue!==a&&(n.defaultValue=a)),d!=null&&(n.defaultValue=""+d)}function oh(n){var o=n.textContent;o===n._wrapperState.initialValue&&o!==""&&o!==null&&(n.value=o)}function ih(n){switch(n){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 hc(n,o){return n==null||n==="http://www.w3.org/1999/xhtml"?ih(o):n==="http://www.w3.org/2000/svg"&&o==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var Ks,sh=(function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,a,d,m){MSApp.execUnsafeLocalFunction(function(){return n(o,a,d,m)})}:n})(function(n,o){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=o;else{for(Ks=Ks||document.createElement("div"),Ks.innerHTML="<svg>"+o.valueOf().toString()+"</svg>",o=Ks.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;o.firstChild;)n.appendChild(o.firstChild)}});function wi(n,o){if(o){var a=n.firstChild;if(a&&a===n.lastChild&&a.nodeType===3){a.nodeValue=o;return}}n.textContent=o}var bi={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},$b=["Webkit","ms","Moz","O"];Object.keys(bi).forEach(function(n){$b.forEach(function(o){o=o+n.charAt(0).toUpperCase()+n.substring(1),bi[o]=bi[n]})});function ah(n,o,a){return o==null||typeof o=="boolean"||o===""?"":a||typeof o!="number"||o===0||bi.hasOwnProperty(n)&&bi[n]?(""+o).trim():o+"px"}function lh(n,o){n=n.style;for(var a in o)if(o.hasOwnProperty(a)){var d=a.indexOf("--")===0,m=ah(a,o[a],d);a==="float"&&(a="cssFloat"),d?n.setProperty(a,m):n[a]=m}}var Wb=H({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 mc(n,o){if(o){if(Wb[n]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw Error(r(137,n));if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw Error(r(60));if(typeof o.dangerouslySetInnerHTML!="object"||!("__html"in o.dangerouslySetInnerHTML))throw Error(r(61))}if(o.style!=null&&typeof o.style!="object")throw Error(r(62))}}function gc(n,o){if(n.indexOf("-")===-1)return typeof o.is=="string";switch(n){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 vc=null;function yc(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var xc=null,vo=null,yo=null;function ch(n){if(n=Wi(n)){if(typeof xc!="function")throw Error(r(280));var o=n.stateNode;o&&(o=ma(o),xc(n.stateNode,n.type,o))}}function uh(n){vo?yo?yo.push(n):yo=[n]:vo=n}function dh(){if(vo){var n=vo,o=yo;if(yo=vo=null,ch(n),o)for(n=0;n<o.length;n++)ch(o[n])}}function fh(n,o){return n(o)}function ph(){}var wc=!1;function hh(n,o,a){if(wc)return n(o,a);wc=!0;try{return fh(n,o,a)}finally{wc=!1,(vo!==null||yo!==null)&&(ph(),dh())}}function Si(n,o){var a=n.stateNode;if(a===null)return null;var d=ma(a);if(d===null)return null;a=d[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(d=!d.disabled)||(n=n.type,d=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!d;break e;default:n=!1}if(n)return null;if(a&&typeof a!="function")throw Error(r(231,o,typeof a));return a}var bc=!1;if(f)try{var Ci={};Object.defineProperty(Ci,"passive",{get:function(){bc=!0}}),window.addEventListener("test",Ci,Ci),window.removeEventListener("test",Ci,Ci)}catch{bc=!1}function Ub(n,o,a,d,m,y,C,k,A){var D=Array.prototype.slice.call(arguments,3);try{o.apply(a,D)}catch(U){this.onError(U)}}var Ei=!1,Gs=null,qs=!1,Sc=null,Hb={onError:function(n){Ei=!0,Gs=n}};function Kb(n,o,a,d,m,y,C,k,A){Ei=!1,Gs=null,Ub.apply(Hb,arguments)}function Gb(n,o,a,d,m,y,C,k,A){if(Kb.apply(this,arguments),Ei){if(Ei){var D=Gs;Ei=!1,Gs=null}else throw Error(r(198));qs||(qs=!0,Sc=D)}}function Lr(n){var o=n,a=n;if(n.alternate)for(;o.return;)o=o.return;else{n=o;do o=n,(o.flags&4098)!==0&&(a=o.return),n=o.return;while(n)}return o.tag===3?a:null}function mh(n){if(n.tag===13){var o=n.memoizedState;if(o===null&&(n=n.alternate,n!==null&&(o=n.memoizedState)),o!==null)return o.dehydrated}return null}function gh(n){if(Lr(n)!==n)throw Error(r(188))}function qb(n){var o=n.alternate;if(!o){if(o=Lr(n),o===null)throw Error(r(188));return o!==n?null:n}for(var a=n,d=o;;){var m=a.return;if(m===null)break;var y=m.alternate;if(y===null){if(d=m.return,d!==null){a=d;continue}break}if(m.child===y.child){for(y=m.child;y;){if(y===a)return gh(m),n;if(y===d)return gh(m),o;y=y.sibling}throw Error(r(188))}if(a.return!==d.return)a=m,d=y;else{for(var C=!1,k=m.child;k;){if(k===a){C=!0,a=m,d=y;break}if(k===d){C=!0,d=m,a=y;break}k=k.sibling}if(!C){for(k=y.child;k;){if(k===a){C=!0,a=y,d=m;break}if(k===d){C=!0,d=y,a=m;break}k=k.sibling}if(!C)throw Error(r(189))}}if(a.alternate!==d)throw Error(r(190))}if(a.tag!==3)throw Error(r(188));return a.stateNode.current===a?n:o}function vh(n){return n=qb(n),n!==null?yh(n):null}function yh(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var o=yh(n);if(o!==null)return o;n=n.sibling}return null}var xh=t.unstable_scheduleCallback,wh=t.unstable_cancelCallback,Yb=t.unstable_shouldYield,Xb=t.unstable_requestPaint,Ye=t.unstable_now,Qb=t.unstable_getCurrentPriorityLevel,Cc=t.unstable_ImmediatePriority,bh=t.unstable_UserBlockingPriority,Ys=t.unstable_NormalPriority,Zb=t.unstable_LowPriority,Sh=t.unstable_IdlePriority,Xs=null,yn=null;function Jb(n){if(yn&&typeof yn.onCommitFiberRoot=="function")try{yn.onCommitFiberRoot(Xs,n,void 0,(n.current.flags&128)===128)}catch{}}var tn=Math.clz32?Math.clz32:nS,eS=Math.log,tS=Math.LN2;function nS(n){return n>>>=0,n===0?32:31-(eS(n)/tS|0)|0}var Qs=64,Zs=4194304;function ji(n){switch(n&-n){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 n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function Js(n,o){var a=n.pendingLanes;if(a===0)return 0;var d=0,m=n.suspendedLanes,y=n.pingedLanes,C=a&268435455;if(C!==0){var k=C&~m;k!==0?d=ji(k):(y&=C,y!==0&&(d=ji(y)))}else C=a&~m,C!==0?d=ji(C):y!==0&&(d=ji(y));if(d===0)return 0;if(o!==0&&o!==d&&(o&m)===0&&(m=d&-d,y=o&-o,m>=y||m===16&&(y&4194240)!==0))return o;if((d&4)!==0&&(d|=a&16),o=n.entangledLanes,o!==0)for(n=n.entanglements,o&=d;0<o;)a=31-tn(o),m=1<<a,d|=n[a],o&=~m;return d}function rS(n,o){switch(n){case 1:case 2:case 4:return o+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 o+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 oS(n,o){for(var a=n.suspendedLanes,d=n.pingedLanes,m=n.expirationTimes,y=n.pendingLanes;0<y;){var C=31-tn(y),k=1<<C,A=m[C];A===-1?((k&a)===0||(k&d)!==0)&&(m[C]=rS(k,o)):A<=o&&(n.expiredLanes|=k),y&=~k}}function Ec(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function Ch(){var n=Qs;return Qs<<=1,(Qs&4194240)===0&&(Qs=64),n}function jc(n){for(var o=[],a=0;31>a;a++)o.push(n);return o}function Ni(n,o,a){n.pendingLanes|=o,o!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,o=31-tn(o),n[o]=a}function iS(n,o){var a=n.pendingLanes&~o;n.pendingLanes=o,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=o,n.mutableReadLanes&=o,n.entangledLanes&=o,o=n.entanglements;var d=n.eventTimes;for(n=n.expirationTimes;0<a;){var m=31-tn(a),y=1<<m;o[m]=0,d[m]=-1,n[m]=-1,a&=~y}}function Nc(n,o){var a=n.entangledLanes|=o;for(n=n.entanglements;a;){var d=31-tn(a),m=1<<d;m&o|n[d]&o&&(n[d]|=o),a&=~m}}var Ae=0;function Eh(n){return n&=-n,1<n?4<n?(n&268435455)!==0?16:536870912:4:1}var jh,Tc,Nh,Th,Ph,Pc=!1,ea=[],rr=null,or=null,ir=null,Ti=new Map,Pi=new Map,sr=[],sS="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 kh(n,o){switch(n){case"focusin":case"focusout":rr=null;break;case"dragenter":case"dragleave":or=null;break;case"mouseover":case"mouseout":ir=null;break;case"pointerover":case"pointerout":Ti.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pi.delete(o.pointerId)}}function ki(n,o,a,d,m,y){return n===null||n.nativeEvent!==y?(n={blockedOn:o,domEventName:a,eventSystemFlags:d,nativeEvent:y,targetContainers:[m]},o!==null&&(o=Wi(o),o!==null&&Tc(o)),n):(n.eventSystemFlags|=d,o=n.targetContainers,m!==null&&o.indexOf(m)===-1&&o.push(m),n)}function aS(n,o,a,d,m){switch(o){case"focusin":return rr=ki(rr,n,o,a,d,m),!0;case"dragenter":return or=ki(or,n,o,a,d,m),!0;case"mouseover":return ir=ki(ir,n,o,a,d,m),!0;case"pointerover":var y=m.pointerId;return Ti.set(y,ki(Ti.get(y)||null,n,o,a,d,m)),!0;case"gotpointercapture":return y=m.pointerId,Pi.set(y,ki(Pi.get(y)||null,n,o,a,d,m)),!0}return!1}function Rh(n){var o=Dr(n.target);if(o!==null){var a=Lr(o);if(a!==null){if(o=a.tag,o===13){if(o=mh(a),o!==null){n.blockedOn=o,Ph(n.priority,function(){Nh(a)});return}}else if(o===3&&a.stateNode.current.memoizedState.isDehydrated){n.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}n.blockedOn=null}function ta(n){if(n.blockedOn!==null)return!1;for(var o=n.targetContainers;0<o.length;){var a=Rc(n.domEventName,n.eventSystemFlags,o[0],n.nativeEvent);if(a===null){a=n.nativeEvent;var d=new a.constructor(a.type,a);vc=d,a.target.dispatchEvent(d),vc=null}else return o=Wi(a),o!==null&&Tc(o),n.blockedOn=a,!1;o.shift()}return!0}function Ah(n,o,a){ta(n)&&a.delete(o)}function lS(){Pc=!1,rr!==null&&ta(rr)&&(rr=null),or!==null&&ta(or)&&(or=null),ir!==null&&ta(ir)&&(ir=null),Ti.forEach(Ah),Pi.forEach(Ah)}function Ri(n,o){n.blockedOn===o&&(n.blockedOn=null,Pc||(Pc=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,lS)))}function Ai(n){function o(m){return Ri(m,n)}if(0<ea.length){Ri(ea[0],n);for(var a=1;a<ea.length;a++){var d=ea[a];d.blockedOn===n&&(d.blockedOn=null)}}for(rr!==null&&Ri(rr,n),or!==null&&Ri(or,n),ir!==null&&Ri(ir,n),Ti.forEach(o),Pi.forEach(o),a=0;a<sr.length;a++)d=sr[a],d.blockedOn===n&&(d.blockedOn=null);for(;0<sr.length&&(a=sr[0],a.blockedOn===null);)Rh(a),a.blockedOn===null&&sr.shift()}var xo=R.ReactCurrentBatchConfig,na=!0;function cS(n,o,a,d){var m=Ae,y=xo.transition;xo.transition=null;try{Ae=1,kc(n,o,a,d)}finally{Ae=m,xo.transition=y}}function uS(n,o,a,d){var m=Ae,y=xo.transition;xo.transition=null;try{Ae=4,kc(n,o,a,d)}finally{Ae=m,xo.transition=y}}function kc(n,o,a,d){if(na){var m=Rc(n,o,a,d);if(m===null)Gc(n,o,d,ra,a),kh(n,d);else if(aS(m,n,o,a,d))d.stopPropagation();else if(kh(n,d),o&4&&-1<sS.indexOf(n)){for(;m!==null;){var y=Wi(m);if(y!==null&&jh(y),y=Rc(n,o,a,d),y===null&&Gc(n,o,d,ra,a),y===m)break;m=y}m!==null&&d.stopPropagation()}else Gc(n,o,d,null,a)}}var ra=null;function Rc(n,o,a,d){if(ra=null,n=yc(d),n=Dr(n),n!==null)if(o=Lr(n),o===null)n=null;else if(a=o.tag,a===13){if(n=mh(o),n!==null)return n;n=null}else if(a===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;n=null}else o!==n&&(n=null);return ra=n,null}function Mh(n){switch(n){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(Qb()){case Cc:return 1;case bh:return 4;case Ys:case Zb:return 16;case Sh:return 536870912;default:return 16}default:return 16}}var ar=null,Ac=null,oa=null;function Oh(){if(oa)return oa;var n,o=Ac,a=o.length,d,m="value"in ar?ar.value:ar.textContent,y=m.length;for(n=0;n<a&&o[n]===m[n];n++);var C=a-n;for(d=1;d<=C&&o[a-d]===m[y-d];d++);return oa=m.slice(n,1<d?1-d:void 0)}function ia(n){var o=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&o===13&&(n=13)):n=o,n===10&&(n=13),32<=n||n===13?n:0}function sa(){return!0}function Ih(){return!1}function Ot(n){function o(a,d,m,y,C){this._reactName=a,this._targetInst=m,this.type=d,this.nativeEvent=y,this.target=C,this.currentTarget=null;for(var k in n)n.hasOwnProperty(k)&&(a=n[k],this[k]=a?a(y):y[k]);return this.isDefaultPrevented=(y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1)?sa:Ih,this.isPropagationStopped=Ih,this}return H(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=sa)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=sa)},persist:function(){},isPersistent:sa}),o}var wo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Mc=Ot(wo),Mi=H({},wo,{view:0,detail:0}),dS=Ot(Mi),Oc,Ic,Oi,aa=H({},Mi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Lc,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==Oi&&(Oi&&n.type==="mousemove"?(Oc=n.screenX-Oi.screenX,Ic=n.screenY-Oi.screenY):Ic=Oc=0,Oi=n),Oc)},movementY:function(n){return"movementY"in n?n.movementY:Ic}}),_h=Ot(aa),fS=H({},aa,{dataTransfer:0}),pS=Ot(fS),hS=H({},Mi,{relatedTarget:0}),_c=Ot(hS),mS=H({},wo,{animationName:0,elapsedTime:0,pseudoElement:0}),gS=Ot(mS),vS=H({},wo,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),yS=Ot(vS),xS=H({},wo,{data:0}),Lh=Ot(xS),wS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},bS={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},SS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function CS(n){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(n):(n=SS[n])?!!o[n]:!1}function Lc(){return CS}var ES=H({},Mi,{key:function(n){if(n.key){var o=wS[n.key]||n.key;if(o!=="Unidentified")return o}return n.type==="keypress"?(n=ia(n),n===13?"Enter":String.fromCharCode(n)):n.type==="
5keydown"||n.type==="keyup"?bS[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Lc,charCode:function(n){return n.type==="keypress"?ia(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?ia(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),jS=Ot(ES),NS=H({},aa,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Dh=Ot(NS),TS=H({},Mi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Lc}),PS=Ot(TS),kS=H({},wo,{propertyName:0,elapsedTime:0,pseudoElement:0}),RS=Ot(kS),AS=H({},aa,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),MS=Ot(AS),OS=[9,13,27,32],Dc=f&&"CompositionEvent"in window,Ii=null;f&&"documentMode"in document&&(Ii=document.documentMode);var IS=f&&"TextEvent"in window&&!Ii,Fh=f&&(!Dc||Ii&&8<Ii&&11>=Ii),Vh=" ",zh=!1;function Bh(n,o){switch(n){case"keyup":return OS.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $h(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var bo=!1;function _S(n,o){switch(n){case"compositionend":return $h(o);case"keypress":return o.which!==32?null:(zh=!0,Vh);case"textInput":return n=o.data,n===Vh&&zh?null:n;default:return null}}function LS(n,o){if(bo)return n==="compositionend"||!Dc&&Bh(n,o)?(n=Oh(),oa=Ac=ar=null,bo=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return Fh&&o.locale!=="ko"?null:o.data;default:return null}}var DS={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 Wh(n){var o=n&&n.nodeName&&n.nodeName.toLowerCase();return o==="input"?!!DS[n.type]:o==="textarea"}function Uh(n,o,a,d){uh(d),o=fa(o,"onChange"),0<o.length&&(a=new Mc("onChange","change",null,a,d),n.push({event:a,listeners:o}))}var _i=null,Li=null;function FS(n){lm(n,0)}function la(n){var o=No(n);if(Me(o))return n}function VS(n,o){if(n==="change")return o}var Hh=!1;if(f){var Fc;if(f){var Vc="oninput"in document;if(!Vc){var Kh=document.createElement("div");Kh.setAttribute("oninput","return;"),Vc=typeof Kh.oninput=="function"}Fc=Vc}else Fc=!1;Hh=Fc&&(!document.documentMode||9<document.documentMode)}function Gh(){_i&&(_i.detachEvent("onpropertychange",qh),Li=_i=null)}function qh(n){if(n.propertyName==="value"&&la(Li)){var o=[];Uh(o,Li,n,yc(n)),hh(FS,o)}}function zS(n,o,a){n==="focusin"?(Gh(),_i=o,Li=a,_i.attachEvent("onpropertychange",qh)):n==="focusout"&&Gh()}function BS(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return la(Li)}function $S(n,o){if(n==="click")return la(o)}function WS(n,o){if(n==="input"||n==="change")return la(o)}function US(n,o){return n===o&&(n!==0||1/n===1/o)||n!==n&&o!==o}var nn=typeof Object.is=="function"?Object.is:US;function Di(n,o){if(nn(n,o))return!0;if(typeof n!="object"||n===null||typeof o!="object"||o===null)return!1;var a=Object.keys(n),d=Object.keys(o);if(a.length!==d.length)return!1;for(d=0;d<a.length;d++){var m=a[d];if(!p.call(o,m)||!nn(n[m],o[m]))return!1}return!0}function Yh(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Xh(n,o){var a=Yh(n);n=0;for(var d;a;){if(a.nodeType===3){if(d=n+a.textContent.length,n<=o&&d>=o)return{node:a,offset:o-n};n=d}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Yh(a)}}function Qh(n,o){return n&&o?n===o?!0:n&&n.nodeType===3?!1:o&&o.nodeType===3?Qh(n,o.parentNode):"contains"in n?n.contains(o):n.compareDocumentPosition?!!(n.compareDocumentPosition(o)&16):!1:!1}function Zh(){for(var n=window,o=Ie();o instanceof n.HTMLIFrameElement;){try{var a=typeof o.contentWindow.location.href=="string"}catch{a=!1}if(a)n=o.contentWindow;else break;o=Ie(n.document)}return o}function zc(n){var o=n&&n.nodeName&&n.nodeName.toLowerCase();return o&&(o==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||o==="textarea"||n.contentEditable==="true")}function HS(n){var o=Zh(),a=n.focusedElem,d=n.selectionRange;if(o!==a&&a&&a.ownerDocument&&Qh(a.ownerDocument.documentElement,a)){if(d!==null&&zc(a)){if(o=d.start,n=d.end,n===void 0&&(n=o),"selectionStart"in a)a.selectionStart=o,a.selectionEnd=Math.min(n,a.value.length);else if(n=(o=a.ownerDocument||document)&&o.defaultView||window,n.getSelection){n=n.getSelection();var m=a.textContent.length,y=Math.min(d.start,m);d=d.end===void 0?y:Math.min(d.end,m),!n.extend&&y>d&&(m=d,d=y,y=m),m=Xh(a,y);var C=Xh(a,d);m&&C&&(n.rangeCount!==1||n.anchorNode!==m.node||n.anchorOffset!==m.offset||n.focusNode!==C.node||n.focusOffset!==C.offset)&&(o=o.createRange(),o.setStart(m.node,m.offset),n.removeAllRanges(),y>d?(n.addRange(o),n.extend(C.node,C.offset)):(o.setEnd(C.node,C.offset),n.addRange(o)))}}for(o=[],n=a;n=n.parentNode;)n.nodeType===1&&o.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof a.focus=="function"&&a.focus(),a=0;a<o.length;a++)n=o[a],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var KS=f&&"documentMode"in document&&11>=document.documentMode,So=null,Bc=null,Fi=null,$c=!1;function Jh(n,o,a){var d=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;$c||So==null||So!==Ie(d)||(d=So,"selectionStart"in d&&zc(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focu
vendor: 11,481 bytes, lines 5-6
5sNode:d.focusNode,focusOffset:d.focusOffset}),Fi&&Di(Fi,d)||(Fi=d,d=fa(Bc,"onSelect"),0<d.length&&(o=new Mc("onSelect","select",null,o,a),n.push({event:o,listeners:d}),o.target=So)))}function ca(n,o){var a={};return a[n.toLowerCase()]=o.toLowerCase(),a["Webkit"+n]="webkit"+o,a["Moz"+n]="moz"+o,a}var Co={animationend:ca("Animation","AnimationEnd"),animationiteration:ca("Animation","AnimationIteration"),animationstart:ca("Animation","AnimationStart"),transitionend:ca("Transition","TransitionEnd")},Wc={},em={};f&&(em=document.createElement("div").style,"AnimationEvent"in window||(delete Co.animationend.animation,delete Co.animationiteration.animation,delete Co.animationstart.animation),"TransitionEvent"in window||delete Co.transitionend.transition);function ua(n){if(Wc[n])return Wc[n];if(!Co[n])return n;var o=Co[n],a;for(a in o)if(o.hasOwnProperty(a)&&a in em)return Wc[n]=o[a];return n}var tm=ua("animationend"),nm=ua("animationiteration"),rm=ua("animationstart"),om=ua("transitionend"),im=new Map,sm="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 lr(n,o){im.set(n,o),l(o,[n])}for(var Uc=0;Uc<sm.length;Uc++){var Hc=sm[Uc],GS=Hc.toLowerCase(),qS=Hc[0].toUpperCase()+Hc.slice(1);lr(GS,"on"+qS)}lr(tm,"onAnimationEnd"),lr(nm,"onAnimationIteration"),lr(rm,"onAnimationStart"),lr("dblclick","onDoubleClick"),lr("focusin","onFocus"),lr("focusout","onBlur"),lr(om,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("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 Vi="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(" "),YS=new Set("cancel close invalid load scroll toggle".split(" ").concat(Vi));function am(n,o,a){var d=n.type||"unknown-event";n.currentTarget=a,Gb(d,o,void 0,n),n.currentTarget=null}function lm(n,o){o=(o&4)!==0;for(var a=0;a<n.length;a++){var d=n[a],m=d.event;d=d.listeners;e:{var y=void 0;if(o)for(var C=d.length-1;0<=C;C--){var k=d[C],A=k.instance,D=k.currentTarget;if(k=k.listener,A!==y&&m.isPropagationStopped())break e;am(m,k,D),y=A}else for(C=0;C<d.length;C++){if(k=d[C],A=k.instance,D=k.currentTarget,k=k.listener,A!==y&&m.isPropagationStopped())break e;am(m,k,D),y=A}}}if(qs)throw n=Sc,qs=!1,Sc=null,n}function _e(n,o){var a=o[Jc];a===void 0&&(a=o[Jc]=new Set);var d=n+"__bubble";a.has(d)||(cm(o,n,2,!1),a.add(d))}function Kc(n,o,a){var d=0;o&&(d|=4),cm(a,n,d,o)}var da="_reactListening"+Math.random().toString(36).slice(2);function zi(n){if(!n[da]){n[da]=!0,i.forEach(function(a){a!=="selectionchange"&&(YS.has(a)||Kc(a,!1,n),Kc(a,!0,n))});var o=n.nodeType===9?n:n.ownerDocument;o===null||o[da]||(o[da]=!0,Kc("selectionchange",!1,o))}}function cm(n,o,a,d){switch(Mh(o)){case 1:var m=cS;break;case 4:m=uS;break;default:m=kc}a=m.bind(null,o,a,n),m=void 0,!bc||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(m=!0),d?m!==void 0?n.addEventListener(o,a,{capture:!0,passive:m}):n.addEventListener(o,a,!0):m!==void 0?n.addEventListener(o,a,{passive:m}):n.addEventListener(o,a,!1)}function Gc(n,o,a,d,m){var y=d;if((o&1)===0&&(o&2)===0&&d!==null)e:for(;;){if(d===null)return;var C=d.tag;if(C===3||C===4){var k=d.stateNode.containerInfo;if(k===m||k.nodeType===8&&k.parentNode===m)break;if(C===4)for(C=d.return;C!==null;){var A=C.tag;if((A===3||A===4)&&(A=C.stateNode.containerInfo,A===m||A.nodeType===8&&A.parentNode===m))return;C=C.return}for(;k!==null;){if(C=Dr(k),C===null)return;if(A=C.tag,A===5||A===6){d=y=C;continue e}k=k.parentNode}}d=d.return}hh(function(){var D=y,U=yc(a),G=[];e:{var W=im.get(n);if(W!==void 0){var ne=Mc,ie=n;switch(n){case"keypress":if(ia(a)===0)break e;case"keydown":case"keyup":ne=jS;break;case"focusin":ie="focus",ne=_c;break;case"focusout":ie="blur",ne=_c;break;case"beforeblur":case"afterblur":ne=_c;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":ne=_h;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ne=pS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ne=PS;break;case tm:case nm:case rm:ne=gS;break;case om:ne=RS;break;case"scroll":ne=dS;break;case"wheel":ne=MS;break;case"copy":case"cut":case"paste":ne=yS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ne=Dh}var ae=(o&4)!==0,Xe=!ae&&n==="scroll",_=ae?W!==null?W+"Capture":null:W;ae=[];for(var O=D,L;O!==null;){L=O;var Q=L.stateNode;if(L.tag===5&&Q!==null&&(L=Q,_!==null&&(Q=Si(O,_),Q!=null&&ae.push(Bi(O,Q,L)))),Xe)break;O=O.return}0<ae.length&&(W=new ne(W,ie,null,a,U),G.push({event:W,listeners:ae}))}}if((o&7)===0){e:{if(W=n==="mouseover"||n==="pointerover",ne=n==="mouseout"||n==="pointerout",W&&a!==vc&&(ie=a.relatedTarget||a.fromElement)&&(Dr(ie)||ie[Mn]))break e;if((ne||W)&&(W=U.window===U?U:(W=U.ownerDocument)?W.defaultView||W.parentWindow:window,ne?(ie=a.relatedTarget||a.toElement,ne=D,ie=ie?Dr(ie):null,ie!==null&&(Xe=Lr(ie),ie!==Xe||ie.tag!==5&&ie.tag!==6)&&(ie=null)):(ne=null,ie=D),ne!==ie)){if(ae=_h,Q="onMouseLeave",_="onMouseEnter",O="mouse",(n==="pointerout"||n==="pointerover")&&(ae=Dh,Q="onPointerLeave",_="onPointerEnter",O="pointer"),Xe=ne==null?W:No(ne),L=ie==null?W:No(ie),W=new ae(Q,O+"leave",ne,a,U),W.target=Xe,W.relatedTarget=L,Q=null,Dr(U)===D&&(ae=new ae(_,O+"enter",ie,a,U),ae.target=L,ae.relatedTarget=Xe,Q=ae),Xe=Q,ne&&ie)t:{for(ae=ne,_=ie,O=0,L=ae;L;L=Eo(L))O++;for(L=0,Q=_;Q;Q=Eo(Q))L++;for(;0<O-L;)ae=Eo(ae),O--;for(;0<L-O;)_=Eo(_),L--;for(;O--;){if(ae===_||_!==null&&ae===_.alternate)break t;ae=Eo(ae),_=Eo(_)}ae=null}else ae=null;ne!==null&&um(G,W,ne,ae,!1),ie!==null&&Xe!==null&&um(G,Xe,ie,ae,!0)}}e:{if(W=D?No(D):window,ne=W.nodeName&&W.nodeName.toLowerCase(),ne==="select"||ne==="input"&&W.type==="file")var ce=VS;else if(Wh(W))if(Hh)ce=WS;else{ce=BS;var fe=zS}else(ne=W.nodeName)&&ne.toLowerCase()==="input"&&(W.type==="checkbox"||W.type==="radio")&&(ce=$S);if(ce&&(ce=ce(n,D))){Uh(G,ce,a,U);break e}fe&&fe(n,W,D),n==="focusout"&&(fe=W._wrapperState)&&fe.controlled&&W.type==="number"&&fc(W,"number",W.value)}switch(fe=D?No(D):window,n){case"focusin":(Wh(fe)||fe.contentEditable==="true")&&(So=fe,Bc=D,Fi=null);break;case"focusout":Fi=Bc=So=null;break;case"mousedown":$c=!0;break;case"contextmenu":case"mouseup":case"dragend":$c=!1,Jh(G,a,U);break;case"selectionchange":if(KS)break;case"keydown":case"keyup":Jh(G,a,U)}var pe;if(Dc)e:{switch(n){case"compositionstart":var ye="onCompositionStart";break e;case"compositionend":ye="onCompositionEnd";break e;case"compositionupdate":ye="onCompositionUpdate";break e}ye=void 0}else bo?Bh(n,a)&&(ye="onCompositionEnd"):n==="keydown"&&a.keyCode===229&&(ye="onCompositionStart");ye&&(Fh&&a.locale!=="ko"&&(bo||ye!=="onCompositionStart"?ye==="onCompositionEnd"&&bo&&(pe=Oh()):(ar=U,Ac="value"in ar?ar.value:ar.textContent,bo=!0)),fe=fa(D,ye),0<fe.length&&(ye=new Lh(ye,n,null,a,U),G.push({event:ye,listeners:fe}),pe?ye.data=pe:(pe=$h(a),pe!==null&&(ye.data=pe)))),(pe=IS?_S(n,a):LS(n,a))&&(D=fa(D,"onBeforeInput"),0<D.length&&(U=new Lh("onBeforeInput","beforeinput",null,a,U),G.push({event:U,listeners:D}),U.data=pe))}lm(G,o)})}function Bi(n,o,a){return{instance:n,listener:o,currentTarget:a}}function fa(n,o){for(var a=o+"Capture",d=[];n!==null;){var m=n,y=m.stateNode;m.tag===5&&y!==null&&(m=y,y=Si(n,a),y!=null&&d.unshift(Bi(n,y,m)),y=Si(n,o),y!=null&&d.push(Bi(n,y,m))),n=n.return}return d}function Eo(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function um(n,o,a,d,m){for(var y=o._reactName,C=[];a!==null&&a!==d;){var k=a,A=k.alternate,D=k.stateNode;if(A!==null&&A===d)break;k.tag===5&&D!==null&&(k=D,m?(A=Si(a,y),A!=null&&C.unshift(Bi(a,A,k))):m||(A=Si(a,y),A!=null&&C.push(Bi(a,A,k)))),a=a.return}C.length!==0&&n.push({event:o,listeners:C})}var XS=/\r\n?/g,QS=/\u0000|\uFFFD/g;function dm(n){return(typeof n=="string"?n:""+n).replace(XS,`
6`).replace(QS,"")}function pa(n,o,a){if(o=dm(o),dm(n)!==o&&a)throw Error(r(425))}function ha(){}var qc=null,Yc=null;function Xc(n,o){return n==="textarea"||n==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var Qc=typeof setTimeout=="function"?setTimeout:void 0,ZS=typeof clearTimeout=="function"?clearTimeout:void 0,fm=typeof Promise=="function"?Promise:void 0,JS=typeof queueMicrotask=="function"?queueMicrotask:typeof fm<"u"?function(n){return fm.resolve(null).then(n).catch(e2)}:Qc;function e2(n){setTimeout(function(){throw n})}function Zc(n,o){var a=o,d=0;do{var m=a.nextSibling;if(n.removeChild(a),m&&m.nodeType===8)if(a=m.data,a==="/$"){if(d===0){n.removeChild(m),Ai(o);return}d--}else a!=="$"&&a!=="$?"&&a!=="$!"||d++;a=m}while(a);Ai(o)}function cr(n){for(;n!=null;n=n.nextSibling){var o=n.nodeType;if(o===1||o===3)break;if(o===8){if(o=n.data,o==="$"||o==="$!"||o==="$?")break;if(o==="/$")return null}}return n}function pm(n){n=n.previousSibling;for(var o=0;n;){if(n.nodeType===8){var a=n.data;if(a==="$"||a==="$!"||a==="$?"){if(o===0)return n;o--}else a==="/$"&&o++}n=n.previousSibling}return null}var jo=Math.random().toString(36).slice(2),xn="__reactFiber$"+jo,$i="__reactProps$"+jo,Mn="__reactContainer$"+jo,Jc="__reactEvents$"+jo,t2="__reactListeners$"+jo,n2="__reactHandles$"+jo;function Dr(n){var o=n[xn];if(o)return o;for(var a=n.parentNode;a;){if(o=a[Mn]||a[xn]){if(a=o.alternate,o.child!==null||a!==null&&a.child!==null)for(n=pm(n);n!==null;){if(a=n[xn])return a;n=pm(n)}return o}n=a,a=n.parentNode}return null}function Wi(n){return n=n[xn]||n[Mn],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function No(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(r(33))}function ma(n){return n[$i]||null}var eu=[],To=-1;function ur(n){return{current:n}}function Le(n){0>To||(n.current=eu[To],eu[To]=null,To--)}function Oe(n,o){To++,eu[To]=n.current,n.current=o}var dr={},ht=ur(dr),jt=ur(!1),Fr=dr;function Po(n,o){var a=n.type.contextTypes;if(!a)return dr;var d=n.stateNode;
vendor: 5,189 bytes, line 6
6if(d&&d.__reactInternalMemoizedUnmaskedChildContext===o)return d.__reactInternalMemoizedMaskedChildContext;var m={},y;for(y in a)m[y]=o[y];return d&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=o,n.__reactInternalMemoizedMaskedChildContext=m),m}function Nt(n){return n=n.childContextTypes,n!=null}function ga(){Le(jt),Le(ht)}function hm(n,o,a){if(ht.current!==dr)throw Error(r(168));Oe(ht,o),Oe(jt,a)}function mm(n,o,a){var d=n.stateNode;if(o=o.childContextTypes,typeof d.getChildContext!="function")return a;d=d.getChildContext();for(var m in d)if(!(m in o))throw Error(r(108,je(n)||"Unknown",m));return H({},a,d)}function va(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||dr,Fr=ht.current,Oe(ht,n),Oe(jt,jt.current),!0}function gm(n,o,a){var d=n.stateNode;if(!d)throw Error(r(169));a?(n=mm(n,o,Fr),d.__reactInternalMemoizedMergedChildContext=n,Le(jt),Le(ht),Oe(ht,n)):Le(jt),Oe(jt,a)}var On=null,ya=!1,tu=!1;function vm(n){On===null?On=[n]:On.push(n)}function r2(n){ya=!0,vm(n)}function fr(){if(!tu&&On!==null){tu=!0;var n=0,o=Ae;try{var a=On;for(Ae=1;n<a.length;n++){var d=a[n];do d=d(!0);while(d!==null)}On=null,ya=!1}catch(m){throw On!==null&&(On=On.slice(n+1)),xh(Cc,fr),m}finally{Ae=o,tu=!1}}return null}var ko=[],Ro=0,xa=null,wa=0,Ht=[],Kt=0,Vr=null,In=1,_n="";function zr(n,o){ko[Ro++]=wa,ko[Ro++]=xa,xa=n,wa=o}function ym(n,o,a){Ht[Kt++]=In,Ht[Kt++]=_n,Ht[Kt++]=Vr,Vr=n;var d=In;n=_n;var m=32-tn(d)-1;d&=~(1<<m),a+=1;var y=32-tn(o)+m;if(30<y){var C=m-m%5;y=(d&(1<<C)-1).toString(32),d>>=C,m-=C,In=1<<32-tn(o)+m|a<<m|d,_n=y+n}else In=1<<y|a<<m|d,_n=n}function nu(n){n.return!==null&&(zr(n,1),ym(n,1,0))}function ru(n){for(;n===xa;)xa=ko[--Ro],ko[Ro]=null,wa=ko[--Ro],ko[Ro]=null;for(;n===Vr;)Vr=Ht[--Kt],Ht[Kt]=null,_n=Ht[--Kt],Ht[Kt]=null,In=Ht[--Kt],Ht[Kt]=null}var It=null,_t=null,Ve=!1,rn=null;function xm(n,o){var a=Xt(5,null,null,0);a.elementType="DELETED",a.stateNode=o,a.return=n,o=n.deletions,o===null?(n.deletions=[a],n.flags|=16):o.push(a)}function wm(n,o){switch(n.tag){case 5:var a=n.type;return o=o.nodeType!==1||a.toLowerCase()!==o.nodeName.toLowerCase()?null:o,o!==null?(n.stateNode=o,It=n,_t=cr(o.firstChild),!0):!1;case 6:return o=n.pendingProps===""||o.nodeType!==3?null:o,o!==null?(n.stateNode=o,It=n,_t=null,!0):!1;case 13:return o=o.nodeType!==8?null:o,o!==null?(a=Vr!==null?{id:In,overflow:_n}:null,n.memoizedState={dehydrated:o,treeContext:a,retryLane:1073741824},a=Xt(18,null,null,0),a.stateNode=o,a.return=n,n.child=a,It=n,_t=null,!0):!1;default:return!1}}function ou(n){return(n.mode&1)!==0&&(n.flags&128)===0}function iu(n){if(Ve){var o=_t;if(o){var a=o;if(!wm(n,o)){if(ou(n))throw Error(r(418));o=cr(a.nextSibling);var d=It;o&&wm(n,o)?xm(d,a):(n.flags=n.flags&-4097|2,Ve=!1,It=n)}}else{if(ou(n))throw Error(r(418));n.flags=n.flags&-4097|2,Ve=!1,It=n}}}function bm(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;It=n}function ba(n){if(n!==It)return!1;if(!Ve)return bm(n),Ve=!0,!1;var o;if((o=n.tag!==3)&&!(o=n.tag!==5)&&(o=n.type,o=o!=="head"&&o!=="body"&&!Xc(n.type,n.memoizedProps)),o&&(o=_t)){if(ou(n))throw Sm(),Error(r(418));for(;o;)xm(n,o),o=cr(o.nextSibling)}if(bm(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));e:{for(n=n.nextSibling,o=0;n;){if(n.nodeType===8){var a=n.data;if(a==="/$"){if(o===0){_t=cr(n.nextSibling);break e}o--}else a!=="$"&&a!=="$!"&&a!=="$?"||o++}n=n.nextSibling}_t=null}}else _t=It?cr(n.stateNode.nextSibling):null;return!0}function Sm(){for(var n=_t;n;)n=cr(n.nextSibling)}function Ao(){_t=It=null,Ve=!1}function su(n){rn===null?rn=[n]:rn.push(n)}var o2=R.ReactCurrentBatchConfig;function Ui(n,o,a){if(n=a.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(a._owner){if(a=a._owner,a){if(a.tag!==1)throw Error(r(309));var d=a.stateNode}if(!d)throw Error(r(147,n));var m=d,y=""+n;return o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===y?o.ref:(o=function(C){var k=m.refs;C===null?delete k[y]:k[y]=C},o._stringRef=y,o)}if(typeof n!="string")throw Error(r(284));if(!a._owner)throw Error(r(290,n))}return n}function Sa(n,o){throw n=Object.prototype.toString.call(o),Error(r(31,n==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":n))}function Cm(n){var o=n._init;return o(n._payload)}function Em(n){function o(_,O){if(n){var L=_.deletions;L===null?(_.deletions=[O],_.flags|=16):L.push(O)}}function a(_,O){if(!n)return null;for(;O!==null;)o(_,O),O=O.sibling;return null}function d(_,O){for(_=new Map;O!==null;)O.key!==null?_.set(O.key,O):_.set(O.index,O),O=O.sibling;return _}function m(_,O){return _=wr(_,O),_.index=0,_.sibling=null,_}function y(_,O,L){return _.index=L,n?(L=_.alternate,L!==null?(L=L.index,L<O?(_.flags|=2,O):L):(_.flags|=2,O)):(_.flags|=1048576,O)}function C(_){return n&&_.alternate===null&&(_.flags|=2),_}function k(_,O,L,Q){return O===null||O.tag!==6?(O=Qu(L,_.mode,Q),O.return=_,O):(O=m(O,L),O.return=_,O)}function A(_,O,L,Q){var ce=L.type;return ce===z?U(_,O,L.props.children,Q,L.key):O!==null&&(O.elementType===ce||typeof ce=="object"&&ce!==null&&ce.$$typeof===oe&&Cm(ce)===O.type)?(Q=m(O,L.props),Q.ref=Ui(_,O,L),Q.return=_,Q):(Q=Ka(L.type,L.
vendor: 4,256 bytes, line 6
6key,L.props,null,_.mode,Q),Q.ref=Ui(_,O,L),Q.return=_,Q)}function D(_,O,L,Q){return O===null||O.tag!==4||O.stateNode.containerInfo!==L.containerInfo||O.stateNode.implementation!==L.implementation?(O=Zu(L,_.mode,Q),O.return=_,O):(O=m(O,L.children||[]),O.return=_,O)}function U(_,O,L,Q,ce){return O===null||O.tag!==7?(O=qr(L,_.mode,Q,ce),O.return=_,O):(O=m(O,L),O.return=_,O)}function G(_,O,L){if(typeof O=="string"&&O!==""||typeof O=="number")return O=Qu(""+O,_.mode,L),O.return=_,O;if(typeof O=="object"&&O!==null){switch(O.$$typeof){case M:return L=Ka(O.type,O.key,O.props,null,_.mode,L),L.ref=Ui(_,null,O),L.return=_,L;case F:return O=Zu(O,_.mode,L),O.return=_,O;case oe:var Q=O._init;return G(_,Q(O._payload),L)}if(xi(O)||Y(O))return O=qr(O,_.mode,L,null),O.return=_,O;Sa(_,O)}return null}function W(_,O,L,Q){var ce=O!==null?O.key:null;if(typeof L=="string"&&L!==""||typeof L=="number")return ce!==null?null:k(_,O,""+L,Q);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case M:return L.key===ce?A(_,O,L,Q):null;case F:return L.key===ce?D(_,O,L,Q):null;case oe:return ce=L._init,W(_,O,ce(L._payload),Q)}if(xi(L)||Y(L))return ce!==null?null:U(_,O,L,Q,null);Sa(_,L)}return null}function ne(_,O,L,Q,ce){if(typeof Q=="string"&&Q!==""||typeof Q=="number")return _=_.get(L)||null,k(O,_,""+Q,ce);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case M:return _=_.get(Q.key===null?L:Q.key)||null,A(O,_,Q,ce);case F:return _=_.get(Q.key===null?L:Q.key)||null,D(O,_,Q,ce);case oe:var fe=Q._init;return ne(_,O,L,fe(Q._payload),ce)}if(xi(Q)||Y(Q))return _=_.get(L)||null,U(O,_,Q,ce,null);Sa(O,Q)}return null}function ie(_,O,L,Q){for(var ce=null,fe=null,pe=O,ye=O=0,st=null;pe!==null&&ye<L.length;ye++){pe.index>ye?(st=pe,pe=null):st=pe.sibling;var Te=W(_,pe,L[ye],Q);if(Te===null){pe===null&&(pe=st);break}n&&pe&&Te.alternate===null&&o(_,pe),O=y(Te,O,ye),fe===null?ce=Te:fe.sibling=Te,fe=Te,pe=st}if(ye===L.length)return a(_,pe),Ve&&zr(_,ye),ce;if(pe===null){for(;ye<L.length;ye++)pe=G(_,L[ye],Q),pe!==null&&(O=y(pe,O,ye),fe===null?ce=pe:fe.sibling=pe,fe=pe);return Ve&&zr(_,ye),ce}for(pe=d(_,pe);ye<L.length;ye++)st=ne(pe,_,ye,L[ye],Q),st!==null&&(n&&st.alternate!==null&&pe.delete(st.key===null?ye:st.key),O=y(st,O,ye),fe===null?ce=st:fe.sibling=st,fe=st);return n&&pe.forEach(function(br){return o(_,br)}),Ve&&zr(_,ye),ce}function ae(_,O,L,Q){var ce=Y(L);if(typeof ce!="function")throw Error(r(150));if(L=ce.call(L),L==null)throw Error(r(151));for(var fe=ce=null,pe=O,ye=O=0,st=null,Te=L.next();pe!==null&&!Te.done;ye++,Te=L.next()){pe.index>ye?(st=pe,pe=null):st=pe.sibling;var br=W(_,pe,Te.value,Q);if(br===null){pe===null&&(pe=st);break}n&&pe&&br.alternate===null&&o(_,pe),O=y(br,O,ye),fe===null?ce=br:fe.sibling=br,fe=br,pe=st}if(Te.done)return a(_,pe),Ve&&zr(_,ye),ce;if(pe===null){for(;!Te.done;ye++,Te=L.next())Te=G(_,Te.value,Q),Te!==null&&(O=y(Te,O,ye),fe===null?ce=Te:fe.sibling=Te,fe=Te);return Ve&&zr(_,ye),ce}for(pe=d(_,pe);!Te.done;ye++,Te=L.next())Te=ne(pe,_,ye,Te.value,Q),Te!==null&&(n&&Te.alternate!==null&&pe.delete(Te.key===null?ye:Te.key),O=y(Te,O,ye),fe===null?ce=Te:fe.sibling=Te,fe=Te);return n&&pe.forEach(function(D2){return o(_,D2)}),Ve&&zr(_,ye),ce}function Xe(_,O,L,Q){if(typeof L=="object"&&L!==null&&L.type===z&&L.key===null&&(L=L.props.children),typeof L=="object"&&L!==null){switch(L.$$typeof){case M:e:{for(var ce=L.key,fe=O;fe!==null;){if(fe.key===ce){if(ce=L.type,ce===z){if(fe.tag===7){a(_,fe.sibling),O=m(fe,L.props.children),O.return=_,_=O;break e}}else if(fe.elementType===ce||typeof ce=="object"&&ce!==null&&ce.$$typeof===oe&&Cm(ce)===fe.type){a(_,fe.sibling),O=m(fe,L.props),O.ref=Ui(_,fe,L),O.return=_,_=O;break e}a(_,fe);break}else o(_,fe);fe=fe.sibling}L.type===z?(O=qr(L.props.children,_.mode,Q,L.key),O.return=_,_=O):(Q=Ka(L.type,L.key,L.props,null,_.mode,Q),Q.ref=Ui(_,O,L),Q.return=_,_=Q)}return C(_);case F:e:{for(fe=L.key;O!==null;){if(O.key===fe)if(O.tag===4&&O.stateNode.containerInfo===L.containerInfo&&O.stateNode.implementation===L.implementation){a(_,O.sibling),O=m(O,L.children||[]),O.return=_,_=O;break e}else{a(_,O);break}else o(_,O);O=O.sibling}O=Zu(L,_.mode,Q),O.return=_,_=O}return C(_);case oe:return fe=L._init,Xe(_,O,fe(L._payload),Q)}if(xi(L))return ie(_,O,L,Q);if(Y(L))return ae(_,O,L,Q);
vendor: 4,245 bytes, line 6
6Sa(_,L)}return typeof L=="string"&&L!==""||typeof L=="number"?(L=""+L,O!==null&&O.tag===6?(a(_,O.sibling),O=m(O,L),O.return=_,_=O):(a(_,O),O=Qu(L,_.mode,Q),O.return=_,_=O),C(_)):a(_,O)}return Xe}var Mo=Em(!0),jm=Em(!1),Ca=ur(null),Ea=null,Oo=null,au=null;function lu(){au=Oo=Ea=null}function cu(n){var o=Ca.current;Le(Ca),n._currentValue=o}function uu(n,o,a){for(;n!==null;){var d=n.alternate;if((n.childLanes&o)!==o?(n.childLanes|=o,d!==null&&(d.childLanes|=o)):d!==null&&(d.childLanes&o)!==o&&(d.childLanes|=o),n===a)break;n=n.return}}function Io(n,o){Ea=n,au=Oo=null,n=n.dependencies,n!==null&&n.firstContext!==null&&((n.lanes&o)!==0&&(Tt=!0),n.firstContext=null)}function Gt(n){var o=n._currentValue;if(au!==n)if(n={context:n,memoizedValue:o,next:null},Oo===null){if(Ea===null)throw Error(r(308));Oo=n,Ea.dependencies={lanes:0,firstContext:n}}else Oo=Oo.next=n;return o}var Br=null;function du(n){Br===null?Br=[n]:Br.push(n)}function Nm(n,o,a,d){var m=o.interleaved;return m===null?(a.next=a,du(o)):(a.next=m.next,m.next=a),o.interleaved=a,Ln(n,d)}function Ln(n,o){n.lanes|=o;var a=n.alternate;for(a!==null&&(a.lanes|=o),a=n,n=n.return;n!==null;)n.childLanes|=o,a=n.alternate,a!==null&&(a.childLanes|=o),a=n,n=n.return;return a.tag===3?a.stateNode:null}var pr=!1;function fu(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Tm(n,o){n=n.updateQueue,o.updateQueue===n&&(o.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function Dn(n,o){return{eventTime:n,lane:o,tag:0,payload:null,callback:null,next:null}}function hr(n,o,a){var d=n.updateQueue;if(d===null)return null;if(d=d.shared,(Ne&2)!==0){var m=d.pending;return m===null?o.next=o:(o.next=m.next,m.next=o),d.pending=o,Ln(n,a)}return m=d.interleaved,m===null?(o.next=o,du(d)):(o.next=m.next,m.next=o),d.interleaved=o,Ln(n,a)}function ja(n,o,a){if(o=o.updateQueue,o!==null&&(o=o.shared,(a&4194240)!==0)){var d=o.lanes;d&=n.pendingLanes,a|=d,o.lanes=a,Nc(n,a)}}function Pm(n,o){var a=n.updateQueue,d=n.alternate;if(d!==null&&(d=d.updateQueue,a===d)){var m=null,y=null;if(a=a.firstBaseUpdate,a!==null){do{var C={eventTime:a.eventTime,lane:a.lane,tag:a.tag,payload:a.payload,callback:a.callback,next:null};y===null?m=y=C:y=y.next=C,a=a.next}while(a!==null);y===null?m=y=o:y=y.next=o}else m=y=o;a={baseState:d.baseState,firstBaseUpdate:m,lastBaseUpdate:y,shared:d.shared,effects:d.effects},n.updateQueue=a;return}n=a.lastBaseUpdate,n===null?a.firstBaseUpdate=o:n.next=o,a.lastBaseUpdate=o}function Na(n,o,a,d){var m=n.updateQueue;pr=!1;var y=m.firstBaseUpdate,C=m.lastBaseUpdate,k=m.shared.pending;if(k!==null){m.shared.pending=null;var A=k,D=A.next;A.next=null,C===null?y=D:C.next=D,C=A;var U=n.alternate;U!==null&&(U=U.updateQueue,k=U.lastBaseUpdate,k!==C&&(k===null?U.firstBaseUpdate=D:k.next=D,U.lastBaseUpdate=A))}if(y!==null){var G=m.baseState;C=0,U=D=A=null,k=y;do{var W=k.lane,ne=k.eventTime;if((d&W)===W){U!==null&&(U=U.next={eventTime:ne,lane:0,tag:k.tag,payload:k.payload,callback:k.callback,next:null});e:{var ie=n,ae=k;switch(W=o,ne=a,ae.tag){case 1:if(ie=ae.payload,typeof ie=="function"){G=ie.call(ne,G,W);break e}G=ie;break e;case 3:ie.flags=ie.flags&-65537|128;case 0:if(ie=ae.payload,W=typeof ie=="function"?ie.call(ne,G,W):ie,W==null)break e;G=H({},G,W);break e;case 2:pr=!0}}k.callback!==null&&k.lane!==0&&(n.flags|=64,W=m.effects,W===null?m.effects=[k]:W.push(k))}else ne={eventTime:ne,lane:W,tag:k.tag,payload:k.payload,callback:k.callback,next:null},U===null?(D=U=ne,A=G):U=U.next=ne,C|=W;if(k=k.next,k===null){if(k=m.shared.pending,k===null)break;W=k,k=W.next,W.next=null,m.lastBaseUpdate=W,m.shared.pending=null}}while(!0);if(U===null&&(A=G),m.baseState=A,m.firstBaseUpdate=D,m.lastBaseUpdate=U,o=m.shared.interleaved,o!==null){m=o;do C|=m.lane,m=m.next;while(m!==o)}else y===null&&(m.shared.lanes=0);Ur|=C,n.lanes=C,n.memoizedState=G}}function km(n,o,a){if(n=o.effects,o.effects=null,n!==null)for(o=0;o<n.length;o++){var d=n[o],m=d.callback;if(m!==null){if(d.callback=null,d=a,typeof m!="function")throw Error(r(191,m));m.call(d)}}}var Hi={},wn=ur(Hi),Ki=ur(Hi),Gi=ur(Hi);
vendor: 3,740 bytes, line 6
6function $r(n){if(n===Hi)throw Error(r(174));return n}function pu(n,o){switch(Oe(Gi,o),Oe(Ki,n),Oe(wn,Hi),n=o.nodeType,n){case 9:case 11:o=(o=o.documentElement)?o.namespaceURI:hc(null,"");break;default:n=n===8?o.parentNode:o,o=n.namespaceURI||null,n=n.tagName,o=hc(o,n)}Le(wn),Oe(wn,o)}function _o(){Le(wn),Le(Ki),Le(Gi)}function Rm(n){$r(Gi.current);var o=$r(wn.current),a=hc(o,n.type);o!==a&&(Oe(Ki,n),Oe(wn,a))}function hu(n){Ki.current===n&&(Le(wn),Le(Ki))}var We=ur(0);function Ta(n){for(var o=n;o!==null;){if(o.tag===13){var a=o.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return o}else if(o.tag===19&&o.memoizedProps.revealOrder!==void 0){if((o.flags&128)!==0)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===n)break;for(;o.sibling===null;){if(o.return===null||o.return===n)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var mu=[];function gu(){for(var n=0;n<mu.length;n++)mu[n]._workInProgressVersionPrimary=null;mu.length=0}var Pa=R.ReactCurrentDispatcher,vu=R.ReactCurrentBatchConfig,Wr=0,Ue=null,nt=null,ot=null,ka=!1,qi=!1,Yi=0,i2=0;function mt(){throw Error(r(321))}function yu(n,o){if(o===null)return!1;for(var a=0;a<o.length&&a<n.length;a++)if(!nn(n[a],o[a]))return!1;return!0}function xu(n,o,a,d,m,y){if(Wr=y,Ue=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,Pa.current=n===null||n.memoizedState===null?c2:u2,n=a(d,m),qi){y=0;do{if(qi=!1,Yi=0,25<=y)throw Error(r(301));y+=1,ot=nt=null,o.updateQueue=null,Pa.current=d2,n=a(d,m)}while(qi)}if(Pa.current=Ma,o=nt!==null&&nt.next!==null,Wr=0,ot=nt=Ue=null,ka=!1,o)throw Error(r(300));return n}function wu(){var n=Yi!==0;return Yi=0,n}function bn(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ot===null?Ue.memoizedState=ot=n:ot=ot.next=n,ot}function qt(){if(nt===null){var n=Ue.alternate;n=n!==null?n.memoizedState:null}else n=nt.next;var o=ot===null?Ue.memoizedState:ot.next;if(o!==null)ot=o,nt=n;else{if(n===null)throw Error(r(310));nt=n,n={memoizedState:nt.memoizedState,baseState:nt.baseState,baseQueue:nt.baseQueue,queue:nt.queue,next:null},ot===null?Ue.memoizedState=ot=n:ot=ot.next=n}return ot}function Xi(n,o){return typeof o=="function"?o(n):o}function bu(n){var o=qt(),a=o.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=n;var d=nt,m=d.baseQueue,y=a.pending;if(y!==null){if(m!==null){var C=m.next;m.next=y.next,y.next=C}d.baseQueue=m=y,a.pending=null}if(m!==null){y=m.next,d=d.baseState;var k=C=null,A=null,D=y;do{var U=D.lane;if((Wr&U)===U)A!==null&&(A=A.next={lane:0,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),d=D.hasEagerState?D.eagerState:n(d,D.action);else{var G={lane:U,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null};A===null?(k=A=G,C=d):A=A.next=G,Ue.lanes|=U,Ur|=U}D=D.next}while(D!==null&&D!==y);A===null?C=d:A.next=k,nn(d,o.memoizedState)||(Tt=!0),o.memoizedState=d,o.baseState=C,o.baseQueue=A,a.lastRenderedState=d}if(n=a.interleaved,n!==null){m=n;do y=m.lane,Ue.lanes|=y,Ur|=y,m=m.next;while(m!==n)}else m===null&&(a.lanes=0);return[o.memoizedState,a.dispatch]}function Su(n){var o=qt(),a=o.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=n;var d=a.dispatch,m=a.pending,y=o.memoizedState;if(m!==null){a.pending=null;var C=m=m.next;do y=n(y,C.action),C=C.next;while(C!==m);nn(y,o.memoizedState)||(Tt=!0),o.memoizedState=y,o.baseQueue===null&&(o.baseState=y),a.lastRenderedState=y}return[y,d]}function Am(){}function Mm(n,o){var a=Ue,d=qt(),m=o(),y=!nn(d.memoizedState,m);if(y&&(d.memoizedState=m,Tt=!0),d=d.queue,Cu(_m.bind(null,a,d,n),[n]),d.getSnapshot!==o||y||ot!==null&&ot.memoizedState.tag&1){if(a.flags|=2048,Qi(9,Im.b
vendor: 15,188 bytes, lines 6-8
6ind(null,a,d,m,o),void 0,null),it===null)throw Error(r(349));(Wr&30)!==0||Om(a,o,m)}return m}function Om(n,o,a){n.flags|=16384,n={getSnapshot:o,value:a},o=Ue.updateQueue,o===null?(o={lastEffect:null,stores:null},Ue.updateQueue=o,o.stores=[n]):(a=o.stores,a===null?o.stores=[n]:a.push(n))}function Im(n,o,a,d){o.value=a,o.getSnapshot=d,Lm(o)&&Dm(n)}function _m(n,o,a){return a(function(){Lm(o)&&Dm(n)})}function Lm(n){var o=n.getSnapshot;n=n.value;try{var a=o();return!nn(n,a)}catch{return!0}}function Dm(n){var o=Ln(n,1);o!==null&&ln(o,n,1,-1)}function Fm(n){var o=bn();return typeof n=="function"&&(n=n()),o.memoizedState=o.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Xi,lastRenderedState:n},o.queue=n,n=n.dispatch=l2.bind(null,Ue,n),[o.memoizedState,n]}function Qi(n,o,a,d){return n={tag:n,create:o,destroy:a,deps:d,next:null},o=Ue.updateQueue,o===null?(o={lastEffect:null,stores:null},Ue.updateQueue=o,o.lastEffect=n.next=n):(a=o.lastEffect,a===null?o.lastEffect=n.next=n:(d=a.next,a.next=n,n.next=d,o.lastEffect=n)),n}function Vm(){return qt().memoizedState}function Ra(n,o,a,d){var m=bn();Ue.flags|=n,m.memoizedState=Qi(1|o,a,void 0,d===void 0?null:d)}function Aa(n,o,a,d){var m=qt();d=d===void 0?null:d;var y=void 0;if(nt!==null){var C=nt.memoizedState;if(y=C.destroy,d!==null&&yu(d,C.deps)){m.memoizedState=Qi(o,a,y,d);return}}Ue.flags|=n,m.memoizedState=Qi(1|o,a,y,d)}function zm(n,o){return Ra(8390656,8,n,o)}function Cu(n,o){return Aa(2048,8,n,o)}function Bm(n,o){return Aa(4,2,n,o)}function $m(n,o){return Aa(4,4,n,o)}function Wm(n,o){if(typeof o=="function")return n=n(),o(n),function(){o(null)};if(o!=null)return n=n(),o.current=n,function(){o.current=null}}function Um(n,o,a){return a=a!=null?a.concat([n]):null,Aa(4,4,Wm.bind(null,o,n),a)}function Eu(){}function Hm(n,o){var a=qt();o=o===void 0?null:o;var d=a.memoizedState;return d!==null&&o!==null&&yu(o,d[1])?d[0]:(a.memoizedState=[n,o],n)}function Km(n,o){var a=qt();o=o===void 0?null:o;var d=a.memoizedState;return d!==null&&o!==null&&yu(o,d[1])?d[0]:(n=n(),a.memoizedState=[n,o],n)}function Gm(n,o,a){return(Wr&21)===0?(n.baseState&&(n.baseState=!1,Tt=!0),n.memoizedState=a):(nn(a,o)||(a=Ch(),Ue.lanes|=a,Ur|=a,n.baseState=!0),o)}function s2(n,o){var a=Ae;Ae=a!==0&&4>a?a:4,n(!0);var d=vu.transition;vu.transition={};try{n(!1),o()}finally{Ae=a,vu.transition=d}}function qm(){return qt().memoizedState}function a2(n,o,a){var d=yr(n);if(a={lane:d,action:a,hasEagerState:!1,eagerState:null,next:null},Ym(n))Xm(o,a);else if(a=Nm(n,o,a,d),a!==null){var m=Ct();ln(a,n,d,m),Qm(a,o,d)}}function l2(n,o,a){var d=yr(n),m={lane:d,action:a,hasEagerState:!1,eagerState:null,next:null};if(Ym(n))Xm(o,m);else{var y=n.alternate;if(n.lanes===0&&(y===null||y.lanes===0)&&(y=o.lastRenderedReducer,y!==null))try{var C=o.lastRenderedState,k=y(C,a);if(m.hasEagerState=!0,m.eagerState=k,nn(k,C)){var A=o.interleaved;A===null?(m.next=m,du(o)):(m.next=A.next,A.next=m),o.interleaved=m;return}}catch{}a=Nm(n,o,m,d),a!==null&&(m=Ct(),ln(a,n,d,m),Qm(a,o,d))}}function Ym(n){var o=n.alternate;return n===Ue||o!==null&&o===Ue}function Xm(n,o){qi=ka=!0;var a=n.pending;a===null?o.next=o:(o.next=a.next,a.next=o),n.pending=o}function Qm(n,o,a){if((a&4194240)!==0){var d=o.lanes;d&=n.pendingLanes,a|=d,o.lanes=a,Nc(n,a)}}var Ma={readContext:Gt,useCallback:mt,useContext:mt,useEffect:mt,useImperativeHandle:mt,useInsertionEffect:mt,useLayoutEffect:mt,useMemo:mt,useReducer:mt,useRef:mt,useState:mt,useDebugValue:mt,useDeferredValue:mt,useTransition:mt,useMutableSource:mt,useSyncExternalStore:mt,useId:mt,unstable_isNewReconciler:!1},c2={readContext:Gt,useCallback:function(n,o){return bn().memoizedState=[n,o===void 0?null:o],n},useContext:Gt,useEffect:zm,useImperativeHandle:function(n,o,a){return a=a!=null?a.concat([n]):null,Ra(4194308,4,Wm.bind(null,o,n),a)},useLayoutEffect:function(n,o){return Ra(4194308,4,n,o)},useInsertionEffect:function(n,o){return Ra(4,2,n,o)},useMemo:function(n,o){var a=bn();return o=o===void 0?null:o,n=n(),a.memoizedState=[n,o],n},useReducer:function(n,o,a){var d=bn();return o=a!==void 0?a(o):o,d.memoizedState=d.baseState=o,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:o},d.queue=n,n=n.dispatch=a2.bind(null,Ue,n),[d.memoizedState,n]},useRef:function(n){var o=bn();return n={current:n},o.memoizedState=n},useState:Fm,useDebugValue:Eu,useDeferredValue:function(n){return bn().memoizedState=n},useTransition:function(){var n=Fm(!1),o=n[0];return n=s2.bind(null,n[1]),bn().memoizedState=n,[o,n]},useMutableSource:function(){},useSyncExternalStore:function(n,o,a){var d=Ue,m=bn();if(Ve){if(a===void 0)throw Error(r(407));a=a()}else{if(a=o(),it===null)throw Error(r(349));(Wr&30)!==0||Om(d,o,a)}m.memoizedState=a;var y={value:a,getSnapshot:o};return m.queue=y,zm(_m.bind(null,d,y,n),[n]),d.flags|=2048,Qi(9,Im.bind(null,d,y,a,o),void 0,null),a},useId:function(){var n=bn(),o=it.identifierPrefix;if(Ve){var a=_n,d=In;a=(d&~(1<<32-tn(d)-1)).toString(32)+a,o=":"+o+"R"+a,a=Yi++,0<a&&(o+="H"+a.toString(32)),o+=":"}else a=i2++,o=":"+o+"r"+a.toString(32)+":";return n.memoizedState=o},unstable_isNewReconciler:!1},u2={readContext:Gt,useCallback:Hm,useContext:Gt,useEffect:Cu,useImperativeHandle:Um,useInsertionEffect:Bm,useLayoutEffect:$m,useMemo:Km,useReducer:bu,useRef:Vm,useState:function(){return bu(Xi)},useDebugValue:Eu,useDeferredValue:function(n){var o=qt();return Gm(o,nt.memoizedState,n)},useTransition:function(){var n=bu(Xi)[0],o=qt().memoizedState;return[n,o]},useMutableSource:Am,useSyncExternalStore:Mm,useId:qm,unstable_isNewReconciler:!1},d2={readContext:Gt,useCallback:Hm,useContext:Gt,useEffect:Cu,useImperativeHandle:Um,useInsertionEffect:Bm,useLayoutEffect:$m,useMemo:Km,useReducer:Su,useRef:Vm,useState:function(){return Su(Xi)},useDebugValue:Eu,useDeferredValue:function(n){var o=qt();return nt===null?o.memoizedState=n:Gm(o,nt.memoizedState,n)},useTransition:function(){var n=Su(Xi)[0],o=qt().memoizedState;return[n,o]},useMutableSource:Am,useSyncExternalStore:Mm,useId:qm,unstable_isNewReconciler:!1};function on(n,o){if(n&&n.defaultProps){o=H({},o),n=n.defaultProps;for(var a in n)o[a]===void 0&&(o[a]=n[a]);return o}return o}function ju(n,o,a,d){o=n.memoizedState,a=a(d,o),a=a==null?o:H({},o,a),n.memoizedState=a,n.lanes===0&&(n.updateQueue.baseState=a)}var Oa={isMounted:function(n){return(n=n._reactInternals)?Lr(n)===n:!1},enqueueSetState:function(n,o,a){n=n._reactInternals;var d=Ct(),m=yr(n),y=Dn(d,m);y.payload=o,a!=null&&(y.callback=a),o=hr(n,y,m),o!==null&&(ln(o,n,m,d),ja(o,n,m))},enqueueReplaceState:function(n,o,a){n=n._reactInternals;var d=Ct(),m=yr(n),y=Dn(d,m);y.tag=1,y.payload=o,a!=null&&(y.callback=a),o=hr(n,y,m),o!==null&&(ln(o,n,m,d),ja(o,n,m))},enqueueForceUpdate:function(n,o){n=n._reactInternals;var a=Ct(),d=yr(n),m=Dn(a,d);m.tag=2,o!=null&&(m.callback=o),o=hr(n,m,d),o!==null&&(ln(o,n,d,a),ja(o,n,d))}};function Zm(n,o,a,d,m,y,C){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(d,y,C):o.prototype&&o.prototype.isPureReactComponent?!Di(a,d)||!Di(m,y):!0}function Jm(n,o,a){var d=!1,m=dr,y=o.contextType;return typeof y=="object"&&y!==null?y=Gt(y):(m=Nt(o)?Fr:ht.current,d=o.contextTypes,y=(d=d!=null)?Po(n,m):dr),o=new o(a,y),n.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=Oa,n.stateNode=o,o._reactInternals=n,d&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=m,n.__reactInternalMemoizedMaskedChildContext=y),o}function eg(n,o,a,d){n=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(a,d),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(a,d),o.state!==n&&Oa.enqueueReplaceState(o,o.state,null)}function Nu(n,o,a,d){var m=n.stateNode;m.props=a,m.state=n.memoizedState,m.refs={},fu(n);var y=o.contextType;typeof y=="object"&&y!==null?m.context=Gt(y):(y=Nt(o)?Fr:ht.current,m.context=Po(n,y)),m.state=n.memoizedState,y=o.getDerivedStateFromProps,typeof y=="function"&&(ju(n,o,y,a),m.state=n.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(o=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),o!==m.state&&Oa.enqueueReplaceState(m,m.state,null),Na(n,a,m,d),m.state=n.memoizedState),typeof m.componentDidMount=="function"&&(n.flags|=4194308)}function Lo(n,o){try{var a="",d=o;do a+=we(d),d=d.return;while(d);var m=a}catch(y){m=`
7Error generating stack: `+y.message+`
8`+y.stack}return{value:n,source:o,stack:m,digest:null}}function Tu(n,o,a){return{value:n,source:null,stack:a??null,digest:o??null}}function Pu(n,o){try{console.error(o.value)}catch(a){setTimeout(function(){throw a})}}var f2=typeof WeakMap=="function"?WeakMap:Map;function tg(n,o,a){a=Dn(-1,a),a.tag=3,a.payload={element:null};var d=o.value;return a.callback=function(){za||(za=!0,Wu=d),Pu(n,o)},a}function ng(n,o,a){a=Dn(-1,a),a.tag=3;var d=n.type.getDerivedStateFromError;if(typeof d=="function"){var m=o.value;a.payload=function(){return d(m)},a.callback=function(){Pu(n,o)}}var y=n.stateNode;return y!==null&&typeof y.componentDidCatch=="function"&&(a.callback=function(){Pu(n,o),typeof d!="function"&&(gr===null?gr=new Set([this]):gr.add(this));var C=o.stack;this.componentDidCatch(o.value,{componentStack:C!==null?C:""})}),a}function rg(n,o,a){var d=n.pingCache;if(d===null){d=n.pingCache=new f2;var m=new Set;d.set(o,m)}else m=d.get(o),m===void 0&&(m=new Set,d.set(o,m));m.has(a)||(m.add(a),n=N2.bind(null,n,o,a),o.then(n,n))}function og(n){do{var o;if((o=n.tag===13)&&(o=n.memoizedState,o=o!==null?o.dehydrated!==null:!0),o)return n;n=n.return}while(n!==null);return null}function ig(n,o,a,d,m){return(n.mode&1)===0?(n===o?n.flags|=65536:(n.flags|=128,a.flags|=131072,a.flags&=-52805,a.tag===1&&(a.alternate===null?a.tag=17:(o=Dn(-1,1),o.tag=2,hr(a,o,1))),a.lanes|=1),n):(n.flags|=65536,n.lanes=m,n)}var p2=R.ReactCurrentOwner,Tt=!1;function St(n,o,a,d){o.child=n===null?jm(o,null,a,d):Mo(o,n.child,a,d)}function sg(n,o,a,d,m){a=a.render;var y=o.ref;return Io(o,m),d=xu(n,o,a,d,y,m),a=wu(),n!==null&&!Tt?(o.updateQueue=n.updateQueue,o.flags&=-2053,n.lanes&=~m,Fn(n,o,m)):(Ve&&a&&nu(o),o.flags|=1,St(n,o,d,m),o.child)}function ag(n,o,a,d,m){if(n===null){var y=a.type;return typeof y=="function"&&!Xu(y)&&y.defaultProps===void 0&&a.compare===null&&a.defaultProps===void 0?(o.tag=15,o.type=y,lg(n,o,y,d,m)):(n=Ka(a.type,null,d,o,o.mode,m),n.ref=o.ref,n.return=o,o.child=n)}if(y=n.child,(n.lanes&m)===0){var C=y.memoizedProps;if(a=a.compare,a=a!==null?a:Di,a(C,d)&&n.ref===o.ref)return Fn(n,o,m)}return o.flags|=1,n=wr(y,d),n.ref=o.ref,n.return=o,o.child=n}function lg(n,o,a,d,m){if(n!==null){var y=n.memoizedProps;if(Di(y,d)&&n.ref===o.ref)if(Tt=!1,o.pendingProps=d=y,(n.lanes&m)!==0)(n.flags&131072)!==0&&(Tt=!0);else return o.lanes=n.lanes,Fn(n,o,m)}return ku(n,o,a,d,m)}function cg(n,o,a){var d=o.pendingProps,m=d.children,y=n!==null?n.memoizedState:null;if(d.mode==="hidden")if((o.mode&1)===0)o.memoizedState={baseLanes:0,cachePool:null,transitions:null},Oe(Fo,Lt),Lt|=a;else{if((a&1073741824)===0)return n=y!==null?y.baseLanes|a:a,o.lanes=o.childLanes=1073741824,o.memoizedState={baseLanes:n,cachePool:null,transitions:null},o.updateQueue=null,Oe(Fo,Lt),Lt|=n,null;o.memoizedState={baseLanes:0,cachePool:null,transitions:null},d=y!==null?y.baseLanes:a,Oe(Fo,Lt),Lt|=d}else y!==null?(d=y.baseLanes|a,o.memoizedState=null):d=a,Oe(Fo,Lt),Lt|=d;return St(n,o,m,a),o.child}function ug(n,o){var a=o.ref;(n===null&&a!==null||n!==null&&n.ref!==a)&&(o.flags|=512,o.flags|=2097152)}function ku(n,o,a,d,m){var y=Nt(a)?Fr:ht.current;return y=Po(o,y),Io(o,m),a=xu(n,o,a,d,y,m),d=wu(),n!==null&&!Tt?(o.updateQueue=n.updateQueue,o.flags&=-2053,n.lanes&=~m,Fn(n,o,m)):(Ve&&d&&nu(o),o.flags|=1,St(n,o,a,m),o.child)}function dg(n,o,a,d,m){if(Nt(a)){var y=!0;va(o)}else y=!1;if(Io(o,m),o.stateNode===null)_a(n,o),Jm(o,a,d),Nu(o,a,d,m),d=!0;else if(n===null){var C=o.stateNode,k=o.memoizedProps;C.props=k;var A=C.context,D=a.contextType;typeof D=="object"&&D!==null?D=Gt(D):(D=Nt(a)?Fr:ht.current,D=Po(o,D));var U=a.getDerivedStateFromProps,G=typeof U=="function"||typeof C.getSnapshotBeforeUpdate=="function";G||typeof C.UNSAFE_componentWillReceiveProps!="function"&&typeof C.componentWillReceiveProps!="function"||(k!==d||A!==D)&&eg(o,C,d,D),pr=!1;var W=o.memoizedState;C.state=W,Na(o,d,C,m),A=o.memoizedState,k!==d||W!==A||jt.current||pr?(typeof U=="function"&&(ju(o,a,U,d),A=o.memoizedState),(k=pr||Zm(o,a,k,d,W,A,D))?(G||typeof C.UNSAFE_componentWillMount!="function"&&typeof C.componentWillMount!="function"||(typeof C.componentWillMount=="function"&&C.componentWillMount(),typeof C.UNSAFE_componentWillMount=="function"&&C.UNSAFE_componentWillMount()),typeof C.componentDidMount=="function"&&(o.flags|=4194308)):(typeof C.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=d,o.memoizedState=A),C.props=d,C.state=A,C.context=D,d=k):(typeof C.componentDidMount=="function"&&(o.flags|=4194308),d=!1)}else{C=o.stateNode,Tm(n,o),k=o.memoizedProps,D=o.type===o.elementType?k:on(o.type,k),C.props=D,G=o.pendingProps,W=C.context,A=a.contextType,typeof A=="object"&&A!==null?A=Gt(A):(A=Nt(a)?Fr:ht.current,A=Po(o,A));var ne=a.getDerivedStateFromProps;(U=typeof ne=="function"||typeof C.getSnapshotBeforeUpdate=="function")||typeof C.UNSAFE_componentWillReceiveProps!="function"&&typeof C.componentWillReceiveProps!="function"||(k!==G||W!==A)&&eg(o,C,d,A),pr=!1,W=o.memoizedState,C.state=W,Na(o,d,C,m);var ie=o.memoizedState;k!==G||W!==ie||jt.current||pr?(typeof ne=="function"&&(ju(o,a,ne,d),ie=o.memoizedState),(D=pr||Zm(o,a,D,d,W,ie,A)||!1)?(U||typeof C.UNSAFE_componentWillUpdate!="function"&&typeof C.componentWillUpdate!="function"||(typeof C.componentWillUpdate=="function"&&C.componentWillUpdate(d,ie,A),typeof C.UNSAFE_componentWillUpdate=="function"&&C.UNSAFE_componentWillUpdate(d,ie,A)),typeof C.componentDidUpdate=="function"&&(o.flags|=4),typeof C.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof C.componentDidUpdate!="function"||k===n.memoizedProps&&W===n.memoizedState||(o.flags|=4),typeof C.getSnapshotBeforeUpdate!="function"||k===n.memoizedProps&&W===n.memoizedState||(o.flags|=1024),o.memoizedProps=d,o.memoizedState=ie),C.props=d,C.state=ie,C.context=A,d=D):(typeof C.componentDidUpdate!="function"||k===n.memoizedProps&&W===n.memoizedState||(o.flags|=4),typeof C.getSnapshotBeforeUpdate!="function"||k===n.memoizedProps&&W===n.memoizedState||(o.flags|=1024),d=!1)}return Ru(n,o,a,d,y,m)}function Ru(n,o,a,d,m,y){ug(n,o);var C=(o.flags&128)!==0;if(!d&&!C)return m&&gm(o,a,!1),Fn(n,o,y);d=o.stateNode,p2.current=o;var k=C&&typeof a.getDerivedStateFromError!="function"?null:d.render();return o.flags|=1,n!==null&&C?(o.child=Mo(o,n.child,null,y),o.child=Mo(o,null,k,y)):St(n,o,k,y),o.memoizedState=d.state,m&&gm(o,a,!0),o.child}function fg(n){var o=n.stateNode;o.pendingContext?hm(n,o.pendingContext,o.pendingContext!==o.context):o.context&&hm(n,o.context,!1),pu(n,o.containerInfo)}
vendor: 10,254 bytes, line 8
8function pg(n,o,a,d,m){return Ao(),su(m),o.flags|=256,St(n,o,a,d),o.child}var Au={dehydrated:null,treeContext:null,retryLane:0};function Mu(n){return{baseLanes:n,cachePool:null,transitions:null}}function hg(n,o,a){var d=o.pendingProps,m=We.current,y=!1,C=(o.flags&128)!==0,k;if((k=C)||(k=n!==null&&n.memoizedState===null?!1:(m&2)!==0),k?(y=!0,o.flags&=-129):(n===null||n.memoizedState!==null)&&(m|=1),Oe(We,m&1),n===null)return iu(o),n=o.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?((o.mode&1)===0?o.lanes=1:n.data==="$!"?o.lanes=8:o.lanes=1073741824,null):(C=d.children,n=d.fallback,y?(d=o.mode,y=o.child,C={mode:"hidden",children:C},(d&1)===0&&y!==null?(y.childLanes=0,y.pendingProps=C):y=Ga(C,d,0,null),n=qr(n,d,a,null),y.return=o,n.return=o,y.sibling=n,o.child=y,o.child.memoizedState=Mu(a),o.memoizedState=Au,n):Ou(o,C));if(m=n.memoizedState,m!==null&&(k=m.dehydrated,k!==null))return h2(n,o,C,d,k,m,a);if(y){y=d.fallback,C=o.mode,m=n.child,k=m.sibling;var A={mode:"hidden",children:d.children};return(C&1)===0&&o.child!==m?(d=o.child,d.childLanes=0,d.pendingProps=A,o.deletions=null):(d=wr(m,A),d.subtreeFlags=m.subtreeFlags&14680064),k!==null?y=wr(k,y):(y=qr(y,C,a,null),y.flags|=2),y.return=o,d.return=o,d.sibling=y,o.child=d,d=y,y=o.child,C=n.child.memoizedState,C=C===null?Mu(a):{baseLanes:C.baseLanes|a,cachePool:null,transitions:C.transitions},y.memoizedState=C,y.childLanes=n.childLanes&~a,o.memoizedState=Au,d}return y=n.child,n=y.sibling,d=wr(y,{mode:"visible",children:d.children}),(o.mode&1)===0&&(d.lanes=a),d.return=o,d.sibling=null,n!==null&&(a=o.deletions,a===null?(o.deletions=[n],o.flags|=16):a.push(n)),o.child=d,o.memoizedState=null,d}function Ou(n,o){return o=Ga({mode:"visible",children:o},n.mode,0,null),o.return=n,n.child=o}function Ia(n,o,a,d){return d!==null&&su(d),Mo(o,n.child,null,a),n=Ou(o,o.pendingProps.children),n.flags|=2,o.memoizedState=null,n}function h2(n,o,a,d,m,y,C){if(a)return o.flags&256?(o.flags&=-257,d=Tu(Error(r(422))),Ia(n,o,C,d)):o.memoizedState!==null?(o.child=n.child,o.flags|=128,null):(y=d.fallback,m=o.mode,d=Ga({mode:"visible",children:d.children},m,0,null),y=qr(y,m,C,null),y.flags|=2,d.return=o,y.return=o,d.sibling=y,o.child=d,(o.mode&1)!==0&&Mo(o,n.child,null,C),o.child.memoizedState=Mu(C),o.memoizedState=Au,y);if((o.mode&1)===0)return Ia(n,o,C,null);if(m.data==="$!"){if(d=m.nextSibling&&m.nextSibling.dataset,d)var k=d.dgst;return d=k,y=Error(r(419)),d=Tu(y,d,void 0),Ia(n,o,C,d)}if(k=(C&n.childLanes)!==0,Tt||k){if(d=it,d!==null){switch(C&-C){case 4:m=2;break;case 16:m=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:m=32;break;case 536870912:m=268435456;break;default:m=0}m=(m&(d.suspendedLanes|C))!==0?0:m,m!==0&&m!==y.retryLane&&(y.retryLane=m,Ln(n,m),ln(d,n,m,-1))}return Yu(),d=Tu(Error(r(421))),Ia(n,o,C,d)}return m.data==="$?"?(o.flags|=128,o.child=n.child,o=T2.bind(null,n),m._reactRetry=o,null):(n=y.treeContext,_t=cr(m.nextSibling),It=o,Ve=!0,rn=null,n!==null&&(Ht[Kt++]=In,Ht[Kt++]=_n,Ht[Kt++]=Vr,In=n.id,_n=n.overflow,Vr=o),o=Ou(o,d.children),o.flags|=4096,o)}function mg(n,o,a){n.lanes|=o;var d=n.alternate;d!==null&&(d.lanes|=o),uu(n.return,o,a)}function Iu(n,o,a,d,m){var y=n.memoizedState;y===null?n.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:d,tail:a,tailMode:m}:(y.isBackwards=o,y.rendering=null,y.renderingStartTime=0,y.last=d,y.tail=a,y.tailMode=m)}function gg(n,o,a){var d=o.pendingProps,m=d.revealOrder,y=d.tail;if(St(n,o,d.children,a),d=We.current,(d&2)!==0)d=d&1|2,o.flags|=128;else{if(n!==null&&(n.flags&128)!==0)e:for(n=o.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&mg(n,a,o);else if(n.tag===19)mg(n,a,o);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===o)break e;for(;n.sibling===null;){if(n.return===null||n.return===o)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}d&=1}if(Oe(We,d),(o.mode&1)===0)o.memoizedState=null;else switch(m){case"forwards":for(a=o.child,m=null;a!==null;)n=a.alternate,n!==null&&Ta(n)===null&&(m=a),a=a.sibling;a=m,a===null?(m=o.child,o.child=null):(m=a.sibling,a.sibling=null),Iu(o,!1,m,a,y);break;case"backwards":for(a=null,m=o.child,o.child=null;m!==null;){if(n=m.alternate,n!==null&&Ta(n)===null){o.child=m;break}n=m.sibling,m.sibling=a,a=m,m=n}Iu(o,!0,a,null,y);break;case"together":Iu(o,!1,null,null,void 0);break;default:o.memoizedState=null}return o.child}function _a(n,o){(o.mode&1)===0&&n!==null&&(n.alternate=null,o.alternate=null,o.flags|=2)}function Fn(n,o,a){if(n!==null&&(o.dependencies=n.dependencies),Ur|=o.lanes,(a&o.childLanes)===0)return null;if(n!==null&&o.child!==n.child)throw Error(r(153));if(o.child!==null){for(n=o.child,a=wr(n,n.pendingProps),o.child=a,a.return=o;n.sibling!==null;)n=n.sibling,a=a.sibling=wr(n,n.pendingProps),a.return=o;a.sibling=null}return o.child}function m2(n,o,a){switch(o.tag){case 3:fg(o),Ao();break;case 5:Rm(o);break;case 1:Nt(o.type)&&va(o);break;case 4:pu(o,o.stateNode.containerInfo);break;case 10:var d=o.type._context,m=o.memoizedProps.value;Oe(Ca,d._currentValue),d._currentValue=m;break;case 13:if(d=o.memoizedState,d!==null)return d.dehydrated!==null?(Oe(We,We.current&1),o.flags|=128,null):(a&o.child.childLanes)!==0?hg(n,o,a):(Oe(We,We.current&1),n=Fn(n,o,a),n!==null?n.sibling:null);Oe(We,We.current&1);break;case 19:if(d=(a&o.childLanes)!==0,(n.flags&128)!==0){if(d)return gg(n,o,a);o.flags|=128}if(m=o.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),Oe(We,We.current),d)break;return null;case 22:case 23:return o.lanes=0,cg(n,o,a)}return Fn(n,o,a)}var vg,_u,yg,xg;vg=function(n,o){for(var a=o.child;a!==null;){if(a.tag===5||a.tag===6)n.appendChild(a.stateNode);else if(a.tag!==4&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===o)break;for(;a.sibling===null;){if(a.return===null||a.return===o)return;a=a.return}a.sibling.return=a.return,a=a.sibling}},_u=function(){},yg=function(n,o,a,d){var m=n.memoizedProps;if(m!==d){n=o.stateNode,$r(wn.current);var y=null;switch(a){case"input":m=Mt(n,m),d=Mt(n,d),y=[];break;case"select":m=H({},m,{value:void 0}),d=H({},d,{value:void 0}),y=[];break;case"textarea":m=pc(n,m),d=pc(n,d),y=[];break;default:typeof m.onClick!="function"&&typeof d.onClick=="function"&&(n.onclick=ha)}mc(a,d);var C;a=null;for(D in m)if(!d.hasOwnProperty(D)&&m.hasOwnProperty(D)&&m[D]!=null)if(D==="style"){var k=m[D];for(C in k)k.hasOwnProperty(C)&&(a||(a={}),a[C]="")}else D!=="dangerouslySetInnerHTML"&&D!=="children"&&D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&D!=="autoFocus"&&(s.hasOwnProperty(D)?y||(y=[]):(y=y||[]).push(D,null));for(D in d){var A=d[D];if(k=m?.[D],d.hasOwnProperty(D)&&A!==k&&(A!=null||k!=null))if(D==="style")if(k){for(C in k)!k.hasOwnProperty(C)||A&&A.hasOwnProperty(C)||(a||(a={}),a[C]="");for(C in A)A.hasOwnProperty(C)&&k[C]!==A[C]&&(a||(a={}),a[C]=A[C])}else a||(y||(y=[]),y.push(D,a)),a=A;else D==="dangerouslySetInnerHTML"?(A=A?A.__html:void 0,k=k?k.__html:void 0,A!=null&&k!==A&&(y=y||[]).push(D,A)):D==="children"?typeof A!="string"&&typeof A!="number"||(y=y||[]).push(D,""+A):D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&(s.hasOwnProperty(D)?(A!=null&&D==="onScroll"&&_e("scroll",n),y||k===A||(y=[])):(y=y||[]).push(D,A))}a&&(y=y||[]).push("style",a);var D=y;(o.updateQueue=D)&&(o.flags|=4)}},xg=function(n,o,a,d){a!==d&&(o.flags|=4)};function Zi(n,o){if(!Ve)switch(n.tailMode){case"hidden":o=n.tail;for(var a=null;o!==null;)o.alternate!==null&&(a=o),o=o.sibling;a===null?n.tail=null:a.sibling=null;break;case"collapsed":a=n.tail;for(var d=null;a!==null;)a.alternate!==null&&(d=a),a=a.sibling;d===null?o||n.tail===null?n.tail=null:n.tail.sibling=null:d.sibling=null}}function gt(n){var o=n.alternate!==null&&n.alternate.child===n.child,a=0,d=0;if(o)for(var m=n.child;m!==null;)a|=m.lanes|m.childLanes,d|=m.subtreeFlags&14680064,d|=m.flags&14680064,m.return=n,m=m.sibling;else for(m=n.child;m!==null;)a|=m.lanes|m.childLanes,d|=m.subtreeFlags,d|=m.flags,m.return=n,m=m.sibling;return n.subtreeFlags|=d,n.childLanes=a,o}function g2(n,o,a){var d=o.pendingProps;switch(ru(o),o.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return gt(o),null;case 1:return Nt(o.type)&&ga(),gt(o),null;case 3:return d=o.stateNode,_o(),Le(jt),Le(ht),gu(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(n===null||n.child===null)&&(ba(o)?o.flags|=4:n===null||n.memoizedState.isDehydrated&&(o.flags&256)===0||(o.flags|=1024,rn!==null&&(Ku(rn),rn=null))),_u(n,o),gt(o),null;case 5:hu(o);var m=$r(Gi.current);if(a=o.type,n!==null&&o.stateNode!=null)yg(n,o,a,d,m),n.ref!==o.ref&&(o.flags|=512,o.flags|=2097152);else{if(!d){if(o.stateNode===null)throw Error(r(166));return gt(o),null}if(n=$r(wn.current),ba(o)){d=o.stateNode,a=o.type;var y=o.memoizedProps;switch(d[xn]=o,d[$i]=y,n=(o.mode&1)!==0,a){case"dialog":_e("cancel",d),_e("close",d);break;case"iframe":case"object":case"embed":_e("load",d);break;case"video":case"audio":for(m=0;m<Vi.length;m++)_e(Vi[m],d);break;case"source":_e("error",d);break;case"img":case"image":case"link":_e("error",d),_e("load",d);break;case"details":_e("toggle",d);break;case"input":bt(d,y),_e("invalid",d);break;case"select":d._wrapperState={wasMultiple:!!y.multiple},_e("invalid",d);break;case"textarea":nh(d,y),_e("invalid",d)}mc(a,y),m=null;for(var C in y)if(y.hasOwnProperty(C)){var k=y[C];C==="children"?typeof k=="string"?d.textContent!==k&&(y.suppressHydrationWarning!==!0&&pa(d.textContent,k,n),m=["children",k]):typeof k=="number"&&d.textContent!==""+k&&(y.suppressHydrationWarning!==!0&&pa(d.textContent,k,n),m=["children",""+k]):s.hasOwnProperty(C)&&k!=null&&C==="onScroll"&&_e("scroll",d)}switch(a){case"input":ke(d),mo(d,y,!0);break;case"textarea":ke(d),oh(d);break;case"select":case"option":break;default:typeof y.onClick=="function"&&(d.onclick=ha)}d=m,o.updateQueue=d,d!==null&&(o.flags|=4)}else{C=m.nodeType===9?m:m.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=ih(a)),n==="http://www.w3.org/1999/xhtml"?a==="script"?(n=C.createElement("div"),n.innerHTML="<script><\/script>
8",n=n.removeChild(n.firstChild)):typeof d.is=="string"?n=C.createElement(a,{is:d.is}):(n=C.createElement(a),a==="select"&&(C=n,d.multiple?C.multiple=!0:d.size&&(C.size=d.size))):n=C.createElementNS(n,a),n[xn]=o,n[$i]=d,vg(n,o,!1,!1),o.stateNode=n;e:{switch(C=gc(a,d),a){case"dialog":_e("cancel",n),_e("close",n),m=d;break;case"iframe":case"object":case"embed":_e("load",n),m=d;break;case"video":case"audio":for(m=0;m<Vi.length;m++)_e(Vi[m],n);m=d;break;case"source":_e("error",n),m=d;break;case"img":case"image":case"link":_e("error",n),_e("load",n),m=d;break;case"details":_e("toggle",n),m=d;break;case"input":bt(n,d),m=Mt(n,d),_e("invalid",n);break;case"option":m=d;break;case"select":n._wrapperState={wasMultiple:!!d.multiple},m=H({},d,{value:void 0}),_e("invalid",n);break;case"textarea":nh(n,d),m=pc(n,d),_e("invalid",n);break;default:m=d}mc(a,m),k=m;for(y in k)if(k.hasOwnProperty(y)){var A=k[y];y==="style"?lh(n,A):y==="dangerouslySetInnerHTML"?(A=A?A.__html:void 0,A!=null&&sh(n,A)):y==="children"?typeof A=="string"?(a!=="textarea"||A!=="")&&wi(n,A):typeof A=="number"&&wi(n,""+A):y!=="suppressContentEditableWarning"&&y!=="suppressHydrationWarning"&&y!=="autoFocus"&&(s.hasOwnProperty(y)?A!=null&&y==="onScroll"&&_e("scroll",n):A!=null&&P(n,y,A,C))}switch(a){case"input":ke(n),mo(n,d,!1);break;case"textarea":ke(n),oh(n);break;case"option":d.value!=null&&n.setAttribute("value",""+te(d.value));break;case"select":n.multiple=!!d.multiple,y=d.value,y!=null?go(n,!!d.multiple,y,!1):d.defaultValue!=null&&go(n,!!d.multiple,d.defaultValue,!0);break;default:typeof m.onClick=="function"&&(n.onclick=ha)}switch(a){case"button":case"input":case"select":case"textarea":d=!!d.autoFocus;break e;case"img":d=!0;break e;default:d=!1}}d&&(o.flags|=4)}o.ref!==null&&(o.flags|=512,o.flags|=2097152)}return gt(o),null;case 6:if(n&&o.stateNode!=null)xg(n,o,n.memoizedProps,d);else{if(typeof d!="string"&&o.stateNode===null)throw Error(r(166));if(a=$r(Gi.current),$r(wn.current),ba(o)){if(d=o.stateNode,a=o.memoizedProps,d[xn]=o,(y=d.nodeValue!==a)&&(n=It,n!==null))switch(n.tag){case 3:pa(d.nodeValue,a,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&pa(d.nodeValue,a,(n.mode&1)!==0)}y&&(o.flags|=4)}else d=(a.nodeType===9?a:a.ownerDocument).createTextNode(d),d[xn]=o,o.stateNode=d}return gt(o),null;case 13:if(Le(We),d=o.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(Ve&&_t!==null&&(o.mode&1)!==0&&(o.flags&128)===0)Sm(),Ao(),o.flags|=98560,y=!1;else if(y=ba(o),d!==null&&d.dehydrated!==null){if(n===null){if(!y)throw Error(r(318));if(y=o.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error(r(317));y[xn]=o}else Ao(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;gt(o),y=!1}else rn!==null&&(Ku(rn),rn=null),y=!0;if(!y)return o.flags&65536?o:null}return(o.flags&128)!==0?(o.lanes=a,o):(d=d!==null,d!==(n!==null&&n.memoizedState!==null)&&d&&(o.child.flags|=8192,(o.mode&1)!==0&&(n===null||(We.current&1)!==0?rt===0&&(rt=3):Yu())),o.updateQueue!==null&&(o.flags|=4),gt(o),null);case 4:return _o(),_u(n,o),n===null&&zi(o.stateNode.containerInfo),gt(o),null;case 10:return cu(o.type._context),gt(o),null;case 17:return Nt(o.type)&&ga(),gt(o),null;case 19:if(Le(We),y=o.memoizedState,y===null)return gt(o),null;if(d=(o.flags&128)!==0,C=y.rendering,C===null)if(d)Zi(y,!1);else{if(rt!==0||n!==null&&(n.flags&128)!==0)for(n=o.child;n!==null;){if(C=Ta(n),C!==null){for(o.flags|=128,Zi(y,!1),d=C.updateQueue,d!==null&&(o.updateQueue=d,o.flags|=4),o.subtreeFlags=0,d=a,a=o.child;a!==null;)y=a,n=d,y.flags&=14680066,C=y.alternate,C===null?(y.childLanes=0,y.lanes=n,y.child=null,y.subtreeFlags=0,y.memoizedProps=null,y.memoizedState=null,y.updateQueue=null,y.dependencies=null,y.stateNode=null):(y.childLanes=C.childLanes,y.lanes=C.lanes,y.child=C.child,y.subtreeFlags=0,y.deletions=null,y.memoizedProps=C.memoizedProps,y.memoizedState=C.memoizedState,y.updateQueue=C.updateQueue,y.type=C.type,n=C.dependencies,y.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),a=a.sibling;return Oe(We,We.current&1|2),o.child}n=n.sibling}y.tail!==null&&Ye()>Vo&&(o.flags|=128,d=!0,Zi(y,!1),o.lanes=4194304)}else{if(!d)if(n=Ta(C),n!==null){if(o.flags|=128,d=!0,a=n.updateQueue,a!==null&&(o.updateQueue=a,o.flags|=4),Zi(y,!0),y.tail===null&&y.tailMode==="hidden"&&!C.alternate&&!Ve)return gt(o),null}else 2*Ye()-y.renderingStartTime>Vo&&a!==1073741824&&(o.flags|=128,d=!0,Zi(y,!1),o.lanes=4194304);y.isBackwards?(C.sibling=o.child,o.child=C):(a=y.last,a!==null?a.sibling=C:o.child=C,y.last=C)}return y.tail!==null?(o=y.tail,y.rendering=o,y.tail=o.sibling,y.renderingStartTime=Ye(),o.sibling=null,a=We.current,Oe(We,d?a&1|2:a&1),o):(gt(o),null);
vendor: 5,713 bytes, line 8
8case 22:case 23:return qu(),d=o.memoizedState!==null,n!==null&&n.memoizedState!==null!==d&&(o.flags|=8192),d&&(o.mode&1)!==0?(Lt&1073741824)!==0&&(gt(o),o.subtreeFlags&6&&(o.flags|=8192)):gt(o),null;case 24:return null;case 25:return null}throw Error(r(156,o.tag))}function v2(n,o){switch(ru(o),o.tag){case 1:return Nt(o.type)&&ga(),n=o.flags,n&65536?(o.flags=n&-65537|128,o):null;case 3:return _o(),Le(jt),Le(ht),gu(),n=o.flags,(n&65536)!==0&&(n&128)===0?(o.flags=n&-65537|128,o):null;case 5:return hu(o),null;case 13:if(Le(We),n=o.memoizedState,n!==null&&n.dehydrated!==null){if(o.alternate===null)throw Error(r(340));Ao()}return n=o.flags,n&65536?(o.flags=n&-65537|128,o):null;case 19:return Le(We),null;case 4:return _o(),null;case 10:return cu(o.type._context),null;case 22:case 23:return qu(),null;case 24:return null;default:return null}}var La=!1,vt=!1,y2=typeof WeakSet=="function"?WeakSet:Set,re=null;function Do(n,o){var a=n.ref;if(a!==null)if(typeof a=="function")try{a(null)}catch(d){Ge(n,o,d)}else a.current=null}function Lu(n,o,a){try{a()}catch(d){Ge(n,o,d)}}var wg=!1;function x2(n,o){if(qc=na,n=Zh(),zc(n)){if("selectionStart"in n)var a={start:n.selectionStart,end:n.selectionEnd};else e:{a=(a=n.ownerDocument)&&a.defaultView||window;var d=a.getSelection&&a.getSelection();if(d&&d.rangeCount!==0){a=d.anchorNode;var m=d.anchorOffset,y=d.focusNode;d=d.focusOffset;try{a.nodeType,y.nodeType}catch{a=null;break e}var C=0,k=-1,A=-1,D=0,U=0,G=n,W=null;t:for(;;){for(var ne;G!==a||m!==0&&G.nodeType!==3||(k=C+m),G!==y||d!==0&&G.nodeType!==3||(A=C+d),G.nodeType===3&&(C+=G.nodeValue.length),(ne=G.firstChild)!==null;)W=G,G=ne;for(;;){if(G===n)break t;if(W===a&&++D===m&&(k=C),W===y&&++U===d&&(A=C),(ne=G.nextSibling)!==null)break;G=W,W=G.parentNode}G=ne}a=k===-1||A===-1?null:{start:k,end:A}}else a=null}a=a||{start:0,end:0}}else a=null;for(Yc={focusedElem:n,selectionRange:a},na=!1,re=o;re!==null;)if(o=re,n=o.child,(o.subtreeFlags&1028)!==0&&n!==null)n.return=o,re=n;else for(;re!==null;){o=re;try{var ie=o.alternate;if((o.flags&1024)!==0)switch(o.tag){case 0:case 11:case 15:break;case 1:if(ie!==null){var ae=ie.memoizedProps,Xe=ie.memoizedState,_=o.stateNode,O=_.getSnapshotBeforeUpdate(o.elementType===o.type?ae:on(o.type,ae),Xe);_.__reactInternalSnapshotBeforeUpdate=O}break;case 3:var L=o.stateNode.containerInfo;L.nodeType===1?L.textContent="":L.nodeType===9&&L.documentElement&&L.removeChild(L.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(Q){Ge(o,o.return,Q)}if(n=o.sibling,n!==null){n.return=o.return,re=n;break}re=o.return}return ie=wg,wg=!1,ie}function Ji(n,o,a){var d=o.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var m=d=d.next;do{if((m.tag&n)===n){var y=m.destroy;m.destroy=void 0,y!==void 0&&Lu(o,a,y)}m=m.next}while(m!==d)}}function Da(n,o){if(o=o.updateQueue,o=o!==null?o.lastEffect:null,o!==null){var a=o=o.next;do{if((a.tag&n)===n){var d=a.create;a.destroy=d()}a=a.next}while(a!==o)}}function Du(n){var o=n.ref;if(o!==null){var a=n.stateNode;n.tag,n=a,typeof o=="function"?o(n):o.current=n}}function bg(n){var o=n.alternate;o!==null&&(n.alternate=null,bg(o)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(o=n.stateNode,o!==null&&(delete o[xn],delete o[$i],delete o[Jc],delete o[t2],delete o[n2])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function Sg(n){return n.tag===5||n.tag===3||n.tag===4}function Cg(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Sg(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Fu(n,o,a){var d=n.tag;if(d===5||d===6)n=n.stateNode,o?a.nodeType===8?a.parentNode.insertBefore(n,o):a.insertBefore(n,o):(a.nodeType===8?(o=a.parentNode,o.insertBefore(n,a)):(o=a,o.appendChild(n)),a=a._reactRootContainer,a!=null||o.onclick!==null||(o.onclick=ha));else if(d!==4&&(n=n.child,n!==null))for(Fu(n,o,a),n=n.sibling;n!==null;)Fu(n,o,a),n=n.sibling}function Vu(n,o,a){var d=n.tag;if(d===5||d===6)n=n.stateNode,o?a.insertBefore(n,o):a.appendChild(n);else if(d!==4&&(n=n.child,n!==null))for(Vu(n,o,a),n=n.sibling;n!==null;)Vu(n,o,a),n=n.sibling}var ct=null,sn=!1;function mr(n,o,a){for(a=a.child;a!==null;)Eg(n,o,a),a=a.sibling}function Eg(n,o,a){if(yn&&typeof yn.onCommitFiberUnmount=="function")try{yn.onCommitFiberUnmount(Xs,a)}catch{}switch(a.tag){case 5:vt||Do(a,o);case 6:var d=ct,m=sn;ct=null,mr(n,o,a),ct=d,sn=m,ct!==null&&(sn?(n=ct,a=a.stateNode,n.nodeType===8?n.parentNode.removeChild(a):n.removeChild(a)):ct.removeChild(a.stateNode));break;case 18:ct!==null&&(sn?(n=ct,a=a.stateNode,n.nodeType===8?Zc(n.parentNode,a):n.nodeType===1&&Zc(n,a),Ai(n)):Zc(ct,a.stateNode));break;case 4:d=ct,m=sn,ct=a.stateNode.containerInfo,sn=!0,mr(n,o,a),ct=d,sn=m;break;case 0:case 11:case 14:case 15:if(!vt&&(d=a.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){m=d=d.next;do{var y=m,C=y.destroy;y=y.tag,C!==void 0&&((y&2)!==0||(y&4)!==0)&&Lu(a,o,C),m=m.next}while(m!==d)}mr(n,o,a);break;case 1:if(!vt&&(Do(a,o),d=a.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=a.memoizedProps,d.state=a.memoizedState,d.componentWillUnmount()}catch(k){Ge(a,o,k)}mr(n,o,a);break;case 21:mr(n,o,a);break;case 22:a.mode&1?(vt=(d=vt)||a.memoizedState!==null,mr(n,o,a),vt=d):mr(n,o,a);break;default:mr(n,o,a)}}function jg(n){var o=n.updateQueue;if(o!==null){n.updateQueue=null;var a=n.stateNode;a===null&&(a=n.stateNode=new y2),o.forEach(function(d){var m=P2.bind(null,n,d);a.has(d)||(a.add(d),d.then(m,m))})}}
vendor: 16,442 bytes, line 8
8function an(n,o){var a=o.deletions;if(a!==null)for(var d=0;d<a.length;d++){var m=a[d];try{var y=n,C=o,k=C;e:for(;k!==null;){switch(k.tag){case 5:ct=k.stateNode,sn=!1;break e;case 3:ct=k.stateNode.containerInfo,sn=!0;break e;case 4:ct=k.stateNode.containerInfo,sn=!0;break e}k=k.return}if(ct===null)throw Error(r(160));Eg(y,C,m),ct=null,sn=!1;var A=m.alternate;A!==null&&(A.return=null),m.return=null}catch(D){Ge(m,o,D)}}if(o.subtreeFlags&12854)for(o=o.child;o!==null;)Ng(o,n),o=o.sibling}function Ng(n,o){var a=n.alternate,d=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(an(o,n),Sn(n),d&4){try{Ji(3,n,n.return),Da(3,n)}catch(ae){Ge(n,n.return,ae)}try{Ji(5,n,n.return)}catch(ae){Ge(n,n.return,ae)}}break;case 1:an(o,n),Sn(n),d&512&&a!==null&&Do(a,a.return);break;case 5:if(an(o,n),Sn(n),d&512&&a!==null&&Do(a,a.return),n.flags&32){var m=n.stateNode;try{wi(m,"")}catch(ae){Ge(n,n.return,ae)}}if(d&4&&(m=n.stateNode,m!=null)){var y=n.memoizedProps,C=a!==null?a.memoizedProps:y,k=n.type,A=n.updateQueue;if(n.updateQueue=null,A!==null)try{k==="input"&&y.type==="radio"&&y.name!=null&&ho(m,y),gc(k,C);var D=gc(k,y);for(C=0;C<A.length;C+=2){var U=A[C],G=A[C+1];U==="style"?lh(m,G):U==="dangerouslySetInnerHTML"?sh(m,G):U==="children"?wi(m,G):P(m,U,G,D)}switch(k){case"input":_r(m,y);break;case"textarea":rh(m,y);break;case"select":var W=m._wrapperState.wasMultiple;m._wrapperState.wasMultiple=!!y.multiple;var ne=y.value;ne!=null?go(m,!!y.multiple,ne,!1):W!==!!y.multiple&&(y.defaultValue!=null?go(m,!!y.multiple,y.defaultValue,!0):go(m,!!y.multiple,y.multiple?[]:"",!1))}m[$i]=y}catch(ae){Ge(n,n.return,ae)}}break;case 6:if(an(o,n),Sn(n),d&4){if(n.stateNode===null)throw Error(r(162));m=n.stateNode,y=n.memoizedProps;try{m.nodeValue=y}catch(ae){Ge(n,n.return,ae)}}break;case 3:if(an(o,n),Sn(n),d&4&&a!==null&&a.memoizedState.isDehydrated)try{Ai(o.containerInfo)}catch(ae){Ge(n,n.return,ae)}break;case 4:an(o,n),Sn(n);break;case 13:an(o,n),Sn(n),m=n.child,m.flags&8192&&(y=m.memoizedState!==null,m.stateNode.isHidden=y,!y||m.alternate!==null&&m.alternate.memoizedState!==null||($u=Ye())),d&4&&jg(n);break;case 22:if(U=a!==null&&a.memoizedState!==null,n.mode&1?(vt=(D=vt)||U,an(o,n),vt=D):an(o,n),Sn(n),d&8192){if(D=n.memoizedState!==null,(n.stateNode.isHidden=D)&&!U&&(n.mode&1)!==0)for(re=n,U=n.child;U!==null;){for(G=re=U;re!==null;){switch(W=re,ne=W.child,W.tag){case 0:case 11:case 14:case 15:Ji(4,W,W.return);break;case 1:Do(W,W.return);var ie=W.stateNode;if(typeof ie.componentWillUnmount=="function"){d=W,a=W.return;try{o=d,ie.props=o.memoizedProps,ie.state=o.memoizedState,ie.componentWillUnmount()}catch(ae){Ge(d,a,ae)}}break;case 5:Do(W,W.return);break;case 22:if(W.memoizedState!==null){kg(G);continue}}ne!==null?(ne.return=W,re=ne):kg(G)}U=U.sibling}e:for(U=null,G=n;;){if(G.tag===5){if(U===null){U=G;try{m=G.stateNode,D?(y=m.style,typeof y.setProperty=="function"?y.setProperty("display","none","important"):y.display="none"):(k=G.stateNode,A=G.memoizedProps.style,C=A!=null&&A.hasOwnProperty("display")?A.display:null,k.style.display=ah("display",C))}catch(ae){Ge(n,n.return,ae)}}}else if(G.tag===6){if(U===null)try{G.stateNode.nodeValue=D?"":G.memoizedProps}catch(ae){Ge(n,n.return,ae)}}else if((G.tag!==22&&G.tag!==23||G.memoizedState===null||G===n)&&G.child!==null){G.child.return=G,G=G.child;continue}if(G===n)break e;for(;G.sibling===null;){if(G.return===null||G.return===n)break e;U===G&&(U=null),G=G.return}U===G&&(U=null),G.sibling.return=G.return,G=G.sibling}}break;case 19:an(o,n),Sn(n),d&4&&jg(n);break;case 21:break;default:an(o,n),Sn(n)}}function Sn(n){var o=n.flags;if(o&2){try{e:{for(var a=n.return;a!==null;){if(Sg(a)){var d=a;break e}a=a.return}throw Error(r(160))}switch(d.tag){case 5:var m=d.stateNode;d.flags&32&&(wi(m,""),d.flags&=-33);var y=Cg(n);Vu(n,y,m);break;case 3:case 4:var C=d.stateNode.containerInfo,k=Cg(n);Fu(n,k,C);break;default:throw Error(r(161))}}catch(A){Ge(n,n.return,A)}n.flags&=-3}o&4096&&(n.flags&=-4097)}function w2(n,o,a){re=n,Tg(n)}function Tg(n,o,a){for(var d=(n.mode&1)!==0;re!==null;){var m=re,y=m.child;if(m.tag===22&&d){var C=m.memoizedState!==null||La;if(!C){var k=m.alternate,A=k!==null&&k.memoizedState!==null||vt;k=La;var D=vt;if(La=C,(vt=A)&&!D)for(re=m;re!==null;)C=re,A=C.child,C.tag===22&&C.memoizedState!==null?Rg(m):A!==null?(A.return=C,re=A):Rg(m);for(;y!==null;)re=y,Tg(y),y=y.sibling;re=m,La=k,vt=D}Pg(n)}else(m.subtreeFlags&8772)!==0&&y!==null?(y.return=m,re=y):Pg(n)}}function Pg(n){for(;re!==null;){var o=re;if((o.flags&8772)!==0){var a=o.alternate;try{if((o.flags&8772)!==0)switch(o.tag){case 0:case 11:case 15:vt||Da(5,o);break;case 1:var d=o.stateNode;if(o.flags&4&&!vt)if(a===null)d.componentDidMount();else{var m=o.elementType===o.type?a.memoizedProps:on(o.type,a.memoizedProps);d.componentDidUpdate(m,a.memoizedState,d.__reactInternalSnapshotBeforeUpdate)}var y=o.updateQueue;y!==null&&km(o,y,d);break;case 3:var C=o.updateQueue;if(C!==null){if(a=null,o.child!==null)switch(o.child.tag){case 5:a=o.child.stateNode;break;case 1:a=o.child.stateNode}km(o,C,a)}break;case 5:var k=o.stateNode;if(a===null&&o.flags&4){a=k;var A=o.memoizedProps;switch(o.type){case"button":case"input":case"select":case"textarea":A.autoFocus&&a.focus();break;case"img":A.src&&(a.src=A.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(o.memoizedState===null){var D=o.alternate;if(D!==null){var U=D.memoizedState;if(U!==null){var G=U.dehydrated;G!==null&&Ai(G)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}vt||o.flags&512&&Du(o)}catch(W){Ge(o,o.return,W)}}if(o===n){re=null;break}if(a=o.sibling,a!==null){a.return=o.return,re=a;break}re=o.return}}function kg(n){for(;re!==null;){var o=re;if(o===n){re=null;break}var a=o.sibling;if(a!==null){a.return=o.return,re=a;break}re=o.return}}function Rg(n){for(;re!==null;){var o=re;try{switch(o.tag){case 0:case 11:case 15:var a=o.return;try{Da(4,o)}catch(A){Ge(o,a,A)}break;case 1:var d=o.stateNode;if(typeof d.componentDidMount=="function"){var m=o.return;try{d.componentDidMount()}catch(A){Ge(o,m,A)}}var y=o.return;try{Du(o)}catch(A){Ge(o,y,A)}break;case 5:var C=o.return;try{Du(o)}catch(A){Ge(o,C,A)}}}catch(A){Ge(o,o.return,A)}if(o===n){re=null;break}var k=o.sibling;if(k!==null){k.return=o.return,re=k;break}re=o.return}}var b2=Math.ceil,Fa=R.ReactCurrentDispatcher,zu=R.ReactCurrentOwner,Yt=R.ReactCurrentBatchConfig,Ne=0,it=null,et=null,ut=0,Lt=0,Fo=ur(0),rt=0,es=null,Ur=0,Va=0,Bu=0,ts=null,Pt=null,$u=0,Vo=1/0,Vn=null,za=!1,Wu=null,gr=null,Ba=!1,vr=null,$a=0,ns=0,Uu=null,Wa=-1,Ua=0;function Ct(){return(Ne&6)!==0?Ye():Wa!==-1?Wa:Wa=Ye()}function yr(n){return(n.mode&1)===0?1:(Ne&2)!==0&&ut!==0?ut&-ut:o2.transition!==null?(Ua===0&&(Ua=Ch()),Ua):(n=Ae,n!==0||(n=window.event,n=n===void 0?16:Mh(n.type)),n)}function ln(n,o,a,d){if(50<ns)throw ns=0,Uu=null,Error(r(185));Ni(n,a,d),((Ne&2)===0||n!==it)&&(n===it&&((Ne&2)===0&&(Va|=a),rt===4&&xr(n,ut)),kt(n,d),a===1&&Ne===0&&(o.mode&1)===0&&(Vo=Ye()+500,ya&&fr()))}function kt(n,o){var a=n.callbackNode;oS(n,o);var d=Js(n,n===it?ut:0);if(d===0)a!==null&&wh(a),n.callbackNode=null,n.callbackPriority=0;else if(o=d&-d,n.callbackPriority!==o){if(a!=null&&wh(a),o===1)n.tag===0?r2(Mg.bind(null,n)):vm(Mg.bind(null,n)),JS(function(){(Ne&6)===0&&fr()}),a=null;else{switch(Eh(d)){case 1:a=Cc;break;case 4:a=bh;break;case 16:a=Ys;break;case 536870912:a=Sh;break;default:a=Ys}a=zg(a,Ag.bind(null,n))}n.callbackPriority=o,n.callbackNode=a}}function Ag(n,o){if(Wa=-1,Ua=0,(Ne&6)!==0)throw Error(r(327));var a=n.callbackNode;if(zo()&&n.callbackNode!==a)return null;var d=Js(n,n===it?ut:0);if(d===0)return null;if((d&30)!==0||(d&n.expiredLanes)!==0||o)o=Ha(n,d);else{o=d;var m=Ne;Ne|=2;var y=Ig();(it!==n||ut!==o)&&(Vn=null,Vo=Ye()+500,Kr(n,o));do try{E2();break}catch(k){Og(n,k)}while(!0);lu(),Fa.current=y,Ne=m,et!==null?o=0:(it=null,ut=0,o=rt)}if(o!==0){if(o===2&&(m=Ec(n),m!==0&&(d=m,o=Hu(n,m))),o===1)throw a=es,Kr(n,0),xr(n,d),kt(n,Ye()),a;if(o===6)xr(n,d);else{if(m=n.current.alternate,(d&30)===0&&!S2(m)&&(o=Ha(n,d),o===2&&(y=Ec(n),y!==0&&(d=y,o=Hu(n,y))),o===1))throw a=es,Kr(n,0),xr(n,d),kt(n,Ye()),a;switch(n.finishedWork=m,n.finishedLanes=d,o){case 0:case 1:throw Error(r(345));case 2:Gr(n,Pt,Vn);break;case 3:if(xr(n,d),(d&130023424)===d&&(o=$u+500-Ye(),10<o)){if(Js(n,0)!==0)break;if(m=n.suspendedLanes,(m&d)!==d){Ct(),n.pingedLanes|=n.suspendedLanes&m;break}n.timeoutHandle=Qc(Gr.bind(null,n,Pt,Vn),o);break}Gr(n,Pt,Vn);break;case 4:if(xr(n,d),(d&4194240)===d)break;for(o=n.eventTimes,m=-1;0<d;){var C=31-tn(d);y=1<<C,C=o[C],C>m&&(m=C),d&=~y}if(d=m,d=Ye()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*b2(d/1960))-d,10<d){n.timeoutHandle=Qc(Gr.bind(null,n,Pt,Vn),d);break}Gr(n,Pt,Vn);break;case 5:Gr(n,Pt,Vn);break;default:throw Error(r(329))}}}return kt(n,Ye()),n.callbackNode===a?Ag.bind(null,n):null}function Hu(n,o){var a=ts;return n.current.memoizedState.isDehydrated&&(Kr(n,o).flags|=256),n=Ha(n,o),n!==2&&(o=Pt,Pt=a,o!==null&&Ku(o)),n}function Ku(n){Pt===null?Pt=n:Pt.push.apply(Pt,n)}function S2(n){for(var o=n;;){if(o.flags&16384){var a=o.updateQueue;if(a!==null&&(a=a.stores,a!==null))for(var d=0;d<a.length;d++){var m=a[d],y=m.getSnapshot;m=m.value;try{if(!nn(y(),m))return!1}catch{return!1}}}if(a=o.child,o.subtreeFlags&16384&&a!==null)a.return=o,o=a;else{if(o===n)break;for(;o.sibling===null;){if(o.return===null||o.return===n)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function xr(n,o){for(o&=~Bu,o&=~Va,n.suspendedLanes|=o,n.pingedLanes&=~o,n=n.expirationTimes;0<o;){var a=31-tn(o),d=1<<a;n[a]=-1,o&=~d}}function Mg(n){if((Ne&6)!==0)throw Error(r(327));zo();var o=Js(n,0);if((o&1)===0)return kt(n,Ye()),null;var a=Ha(n,o);if(n.tag!==0&&a===2){var d=Ec(n);d!==0&&(o=d,a=Hu(n,d))}if(a===1)throw a=es,Kr(n,0),xr(n,o),kt(n,Ye()),a;if(a===6)throw Error(r(345));return n.finishedWork=n.current.alternate,n.finishedLanes=o,Gr(n,Pt,Vn),kt(n,Ye()),null}function Gu(n,o){var a=Ne;Ne|=1;try{return n(o)}finally{Ne=a,Ne===0&&(Vo=Ye()+500,ya&&fr())}}function Hr(n){vr!==null&&vr.tag===0&&(Ne&6)===0&&zo();var o=Ne;Ne|=1;var a=Yt.transition,d=Ae;try{if(Yt.transition=null,Ae=1,n)return n()}finally{Ae=d,Yt.transition=a,Ne=o,(Ne&6)===0&&fr()}}function qu(){Lt=Fo.current,Le(Fo)}function Kr(n,o){n.finishedWork=null,n.finishedLanes=0;var a=n.timeoutHandle;if(a!==-1&&(n.timeoutHandle=-1,ZS(a)),et!==null)for(a=et.return;a!==null;){var d=a;switch(ru(d),d.tag){case 1:d=d.type.childContextTypes,d!=null&&ga();break;case 3:_o(),Le(jt),Le(ht),gu();break;case 5:hu(d);break;case 4:_o();break;case 13:Le(We);break;case 19:Le(We);break;case 10:cu(d.type._context);break;case 22:case 23:qu()}a=a.return}if(it=n,et=n=wr(n.current,null),ut=Lt=o,rt=0,es=null,Bu=Va=Ur=0,Pt=ts=null,Br!==null){for(o=0;o<Br.length;o++)if(a=Br[o],d=a.interleaved,d!==null){a.interleaved=null;var m=d.next,y=a.pending;if(y!==null){var C=y.next;y.next=m,d.next=C}a.pending=d}Br=null}return n}function Og(n,o){do{var a=et;try{if(lu(),Pa.current=Ma,ka){for(var d=Ue.memoizedState;d!==null;){var m=d.queue;m!==null&&(m.pending=null),d=d.next}ka=!1}if(Wr=0,ot=nt=Ue=null,qi=!1,Yi=0,zu.current=null,a===null||a.return===null){rt=1,es=o,et=null;break}e:{var y=n,C=a.return,k=a,A=o;if(o=ut,k.flags|=32768,A!==null&&typeof A=="object"&&typeof A.then=="function"){var D=A,U=k,G=U.tag;if((U.mode&1)===0&&(G===0||G===11||G===15)){var W=U.alternate;W?(U.updateQueue=W.updateQueue,U.memoizedState=W.memoizedState,U.lanes=W.lanes):(U.updateQueue=null,U.memoizedState=null)}var ne=og(C);if(ne!==null){ne.flags&=-257,ig(ne,C,k,y,o),ne.mode&1&&rg(y,D,o),o=ne,A=D;var ie=o.updateQueue;if(ie===null){var ae=new Set;ae.add(A),o.updateQueue=ae}else ie.add(A);break e}else{if((o&1)===0){rg(y,D,o),Yu();break e}A=Error(r(426))}}else if(Ve&&k.mode&1){var Xe=og(C);if(Xe!==null){(Xe.flags&65536)===0&&(Xe.flags|=256),ig(Xe,C,k,y,o),su(Lo(A,k));break e}}y=A=Lo(A,k),rt!==4&&(rt=2),ts===null?ts=[y]:ts.push(y),y=C;do{switch(y.tag){case 3:y.flags|=65536,o&=-o,y.lanes|=o;var _=tg(y,A,o);Pm(y,_);break e;case 1:k=A;var O=y.type,L=y.stateNode;if((y.flags&128)===0&&(typeof O.getDerivedStateFromError=="function"||L!==null&&typeof L.componentDidCatch=="function"&&(gr===null||!gr.has(L)))){y.flags|=65536,o&=-o,y.lanes|=o;var Q=ng(y,k,o);Pm(y,Q);break e}}y=y.return}while(y!==null)}Lg(a)}catch(ce){o=ce,et===a&&a!==null&&(et=a=a.return);continue}break}while(!0)}function Ig(){var n=Fa.current;return Fa.current=Ma,n===null?Ma:n}function Yu(){(rt===0||rt===3||rt===2)&&(rt=4),it===null||(Ur&268435455)===0&&(Va&268435455)===0||xr(it,ut)}function Ha(n,o){var a=Ne;Ne|=2;var d=Ig();(it!==n||ut!==o)&&(Vn=null,Kr(n,o));do try{C2();break}catch(m){Og(n,m)}while(!0);if(lu(),Ne=a,Fa.current=d,et!==null)throw Error(r(261));return it=null,ut=0,rt}function C2(){for(;et!==null;)_g(et)}function E2(){for(;et!==null&&!Yb();)_g(et)}function _g(n){var o=Vg(n.alternate,n,Lt);n.memoizedProps=n.pendingProps,o===null?Lg(n):et=o,zu.current=null}function Lg(n){var o=n;do{var a=o.alternate;if(n=o.return,(o.flags&32768)===0){if(a=g2(a,o,Lt),a!==null){et=a;return}}else{if(a=v2(a,o),a!==null){a.flags&=32767,et=a;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{rt=6,et=null;return}}if(o=o.sibling,o!==null){et=o;return}et=o=n}while(o!==null);rt===0&&(rt=5)}function Gr(n,o,a){var d=Ae,m=Yt.transition;try{Yt.transition=null,Ae=1,j2(n,o,a,d)}finally{Yt.transition=m,Ae=d}return null}function j2(n,o,a,d){do zo();while(vr!==null);if((Ne&6)!==0)throw Error(r(327));a=n.finishedWork;var m=n.finishedLanes;if(a===null)return null;if(n.finishedWork=null,n.finishedLanes=0,a===n.current)throw Error(r(177));n.callbackNode=null,n.callbackPriority=0;var y=a.lanes|a.childLanes;if(iS(n,y),n===it&&(et=it=null,ut=0),(a.subtreeFlags&2064)===0&&(a.flags&2064)===0||Ba||(Ba=!0,zg(Ys,function(){return zo(),null})),y=(a.flags&15990)!==0,(a.subtreeFlags&15990)!==0||y){y=Yt.transition,Yt.transition=null;var C=Ae;Ae=1;var k=Ne;Ne|=4,zu.current=null,x2(n,a),Ng(a,n),HS(Yc),na=!!qc,Yc=qc=null,n.current=a,w2(a),Xb(),Ne=k,Ae=C,Yt.transition=y}else n.current=a;if(Ba&&(Ba=!1,vr=n,$a=m),y=n.pendingLanes,y===0&&(gr=null),Jb(a.stateNode),kt(n,Ye()),o!==null)for(d=n.onRecoverableError,a=0;a<o.length;a++)m=o[a],d(m.value,{componentStack:m.stack,digest:m.digest});if(za)throw za=!1,n=Wu,Wu=null,n;return($a&1)!==0&&n.tag!==0&&zo(),y=n.pendingLanes,(y&1)!==0?n===Uu?ns++:(ns=0,Uu=n):ns=0,fr(),null}function zo(){if(vr!==null){var n=Eh($a),o=Yt.transition,a=Ae;try{if(Yt.transition=null,Ae=16>n?16:n,vr===null)var d=!1;else{if(n=vr,vr=null,$a=0,(Ne&6)!==0)throw Error(r(331));var m=Ne;for(Ne|=4,re=n.current;re!==null;){var y=re,C=y.child;if((re.flags&16)!==0){var k=y.deletions;if(k!==null){for(var A=0;A<k.length;A++){var D=k[A];for(re=D;re!==null;){var U=re;switch(U.tag){case 0:case 11:case 15:Ji(8,U,y)}var G=U.child;if(G!==null)G.return=U,re=G;else for(;re!==null;){U=re;var W=U.sibling,ne=U.return;if(bg(U),U===D){re=null;break}if(W!==null){W.return=ne,re=W;break}re=ne}}}var ie=y.alternate;if(ie!==null){var ae=ie.child;if(ae!==null){ie.child=null;do{var Xe=ae.sibling;ae.sibling=null,ae=Xe}while(ae!==null)}}re=y}}if((y.subtreeFlags&2064)!==0&&C!==null)C.return=y,re=C;else e:for(;re!==null;){if(y=re,(y.flags&2048)!==0)switch(y.tag){case 0:case 11:case 15:Ji(9,y,y.return)}var _=y.sibling;if(_!==null){_.return=y.return,re=_;break e}re=y.return}}var O=n.current;for(re=O;re!==null;){C=re;var L=C.child;if((C.subtreeFlags&2064)!==0&&L!==null)L.return=C,re=L;else e:for(C=O;re!==null;){if(k=re,(k.flags&2048)!==0)try{switch(k.tag){case 0:case 11:case 15:Da(9,k)}}catch(ce){Ge(k,k.return,ce)}if(k===C){re=null;break e}var Q=k.sibling;if(Q!==null){Q.return=k.return,re=Q;break e}re=k.return}}if(Ne=m,fr(),yn&&typeof yn.onPostCommitFiberRoot=="function")try{yn.onPostCommitFiberRoot(Xs,n)}catch{}d=!0}return d}finally{Ae=a,Yt.transition=o}}return!1}function Dg(n,o,a){o=Lo(a,o),o=tg(n,o,1),n=hr(n,o,1),o=Ct(),n!==null&&(Ni(n,1,o),kt(n,o))}function Ge(n,o,a){if(n.tag===3)Dg(n,n,a);else for(;o!==null;){if(o.tag===3){Dg(o,n,a);break}else if(o.tag===1){var d=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&(gr===null||!gr.has(d))){n=Lo(a,n),n=ng(o,n,1),o=hr(o,n,1),n=Ct(),o!==null&&(Ni(o,1,n),kt(o,n));break}}o=o.return}}function N2(n,o,a){var d=n.pingCache;d!==null&&d.delete(o),o=Ct(),n.pingedLanes|=n.suspendedLanes&a,it===n&&(ut&a)===a&&(rt===4||rt===3&&(ut&130023424)===ut&&500>
vendor: 8,839 bytes, line 8
8Ye()-$u?Kr(n,0):Bu|=a),kt(n,o)}function Fg(n,o){o===0&&((n.mode&1)===0?o=1:(o=Zs,Zs<<=1,(Zs&130023424)===0&&(Zs=4194304)));var a=Ct();n=Ln(n,o),n!==null&&(Ni(n,o,a),kt(n,a))}function T2(n){var o=n.memoizedState,a=0;o!==null&&(a=o.retryLane),Fg(n,a)}function P2(n,o){var a=0;switch(n.tag){case 13:var d=n.stateNode,m=n.memoizedState;m!==null&&(a=m.retryLane);break;case 19:d=n.stateNode;break;default:throw Error(r(314))}d!==null&&d.delete(o),Fg(n,a)}var Vg;Vg=function(n,o,a){if(n!==null)if(n.memoizedProps!==o.pendingProps||jt.current)Tt=!0;else{if((n.lanes&a)===0&&(o.flags&128)===0)return Tt=!1,m2(n,o,a);Tt=(n.flags&131072)!==0}else Tt=!1,Ve&&(o.flags&1048576)!==0&&ym(o,wa,o.index);switch(o.lanes=0,o.tag){case 2:var d=o.type;_a(n,o),n=o.pendingProps;var m=Po(o,ht.current);Io(o,a),m=xu(null,o,d,n,m,a);var y=wu();return o.flags|=1,typeof m=="object"&&m!==null&&typeof m.render=="function"&&m.$$typeof===void 0?(o.tag=1,o.memoizedState=null,o.updateQueue=null,Nt(d)?(y=!0,va(o)):y=!1,o.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,fu(o),m.updater=Oa,o.stateNode=m,m._reactInternals=o,Nu(o,d,n,a),o=Ru(null,o,d,!0,y,a)):(o.tag=0,Ve&&y&&nu(o),St(null,o,m,a),o=o.child),o;case 16:d=o.elementType;e:{switch(_a(n,o),n=o.pendingProps,m=d._init,d=m(d._payload),o.type=d,m=o.tag=R2(d),n=on(d,n),m){case 0:o=ku(null,o,d,n,a);break e;case 1:o=dg(null,o,d,n,a);break e;case 11:o=sg(null,o,d,n,a);break e;case 14:o=ag(null,o,d,on(d.type,n),a);break e}throw Error(r(306,d,""))}return o;case 0:return d=o.type,m=o.pendingProps,m=o.elementType===d?m:on(d,m),ku(n,o,d,m,a);case 1:return d=o.type,m=o.pendingProps,m=o.elementType===d?m:on(d,m),dg(n,o,d,m,a);case 3:e:{if(fg(o),n===null)throw Error(r(387));d=o.pendingProps,y=o.memoizedState,m=y.element,Tm(n,o),Na(o,d,null,a);var C=o.memoizedState;if(d=C.element,y.isDehydrated)if(y={element:d,isDehydrated:!1,cache:C.cache,pendingSuspenseBoundaries:C.pendingSuspenseBoundaries,transitions:C.transitions},o.updateQueue.baseState=y,o.memoizedState=y,o.flags&256){m=Lo(Error(r(423)),o),o=pg(n,o,d,a,m);break e}else if(d!==m){m=Lo(Error(r(424)),o),o=pg(n,o,d,a,m);break e}else for(_t=cr(o.stateNode.containerInfo.firstChild),It=o,Ve=!0,rn=null,a=jm(o,null,d,a),o.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Ao(),d===m){o=Fn(n,o,a);break e}St(n,o,d,a)}o=o.child}return o;case 5:return Rm(o),n===null&&iu(o),d=o.type,m=o.pendingProps,y=n!==null?n.memoizedProps:null,C=m.children,Xc(d,m)?C=null:y!==null&&Xc(d,y)&&(o.flags|=32),ug(n,o),St(n,o,C,a),o.child;case 6:return n===null&&iu(o),null;case 13:return hg(n,o,a);case 4:return pu(o,o.stateNode.containerInfo),d=o.pendingProps,n===null?o.child=Mo(o,null,d,a):St(n,o,d,a),o.child;case 11:return d=o.type,m=o.pendingProps,m=o.elementType===d?m:on(d,m),sg(n,o,d,m,a);case 7:return St(n,o,o.pendingProps,a),o.child;case 8:return St(n,o,o.pendingProps.children,a),o.child;case 12:return St(n,o,o.pendingProps.children,a),o.child;case 10:e:{if(d=o.type._context,m=o.pendingProps,y=o.memoizedProps,C=m.value,Oe(Ca,d._currentValue),d._currentValue=C,y!==null)if(nn(y.value,C)){if(y.children===m.children&&!jt.current){o=Fn(n,o,a);break e}}else for(y=o.child,y!==null&&(y.return=o);y!==null;){var k=y.dependencies;if(k!==null){C=y.child;for(var A=k.firstContext;A!==null;){if(A.context===d){if(y.tag===1){A=Dn(-1,a&-a),A.tag=2;var D=y.updateQueue;if(D!==null){D=D.shared;var U=D.pending;U===null?A.next=A:(A.next=U.next,U.next=A),D.pending=A}}y.lanes|=a,A=y.alternate,A!==null&&(A.lanes|=a),uu(y.return,a,o),k.lanes|=a;break}A=A.next}}else if(y.tag===10)C=y.type===o.type?null:y.child;else if(y.tag===18){if(C=y.return,C===null)throw Error(r(341));C.lanes|=a,k=C.alternate,k!==null&&(k.lanes|=a),uu(C,a,o),C=y.sibling}else C=y.child;if(C!==null)C.return=y;else for(C=y;C!==null;){if(C===o){C=null;break}if(y=C.sibling,y!==null){y.return=C.return,C=y;break}C=C.return}y=C}St(n,o,m.children,a),o=o.child}return o;case 9:return m=o.type,d=o.pendingProps.children,Io(o,a),m=Gt(m),d=d(m),o.flags|=1,St(n,o,d,a),o.child;case 14:return d=o.type,m=on(d,o.pendingProps),m=on(d.type,m),ag(n,o,d,m,a);case 15:return lg(n,o,o.type,o.pendingProps,a);case 17:return d=o.type,m=o.pendingProps,m=o.elementType===d?m:on(d,m),_a(n,o),o.tag=1,Nt(d)?(n=!0,va(o)):n=!1,Io(o,a),Jm(o,d,m),Nu(o,d,m,a),Ru(null,o,d,!0,n,a);case 19:return gg(n,o,a);case 22:return cg(n,o,a)}throw Error(r(156,o.tag))};function zg(n,o){return xh(n,o)}function k2(n,o,a,d){this.tag=n,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Xt(n,o,a,d){return new k2(n,o,a,d)}function Xu(n){return n=n.prototype,!(!n||!n.isReactComponent)}function R2(n){if(typeof n=="function")return Xu(n)?1:0;if(n!=null){if(n=n.$$typeof,n===K)return 11;if(n===he)return 14}return 2}function wr(n,o){var a=n.alternate;return a===null?(a=Xt(n.tag,o,n.key,n.mode),a.elementType=n.elementType,a.type=n.type,a.stateNode=n.stateNode,a.alternate=n,n.alternate=a):(a.pendingProps=o,a.type=n.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=n.flags&14680064,a.childLanes=n.childLanes,a.lanes=n.lanes,a.child=n.child,a.memoizedProps=n.memoizedProps,a.memoizedState=n.memoizedState,a.updateQueue=n.updateQueue,o=n.dependencies,a.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},a.sibling=n.sibling,a.index=n.index,a.ref=n.ref,a}function Ka(n,o,a,d,m,y){var C=2;if(d=n,typeof n=="function")Xu(n)&&(C=1);else if(typeof n=="string")C=5;else e:switch(n){case z:return qr(a.children,m,y,o);case $:C=8,m|=8;break;case X:return n=Xt(12,a,o,m|2),n.elementType=X,n.lanes=y,n;case le:return n=Xt(13,a,o,m),n.elementType=le,n.lanes=y,n;case q:return n=Xt(19,a,o,m),n.elementType=q,n.lanes=y,n;case Z:return Ga(a,m,y,o);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case ee:C=10;break e;case se:C=9;break e;case K:C=11;break e;case he:C=14;break e;case oe:C=16,d=null;break e}throw Error(r(130,n==null?n:typeof n,""))}return o=Xt(C,a,o,m),o.elementType=n,o.type=d,o.lanes=y,o}function qr(n,o,a,d){return n=Xt(7,n,d,o),n.lanes=a,n}function Ga(n,o,a,d){return n=Xt(22,n,d,o),n.elementType=Z,n.lanes=a,n.stateNode={isHidden:!1},n}function Qu(n,o,a){return n=Xt(6,n,null,o),n.lanes=a,n}function Zu(n,o,a){return o=Xt(4,n.children!==null?n.children:[],n.key,o),o.lanes=a,o.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},o}function A2(n,o,a,d,m){this.tag=o,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=jc(0),this.expirationTimes=jc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=jc(0),this.identifierPrefix=d,this.onRecoverableError=m,this.mutableSourceEagerHydrationData=null}function Ju(n,o,a,d,m,y,C,k,A){return n=new A2(n,o,a,k,A),o===1?(o=1,y===!0&&(o|=8)):o=0,y=Xt(3,null,null,o),n.current=y,y.stateNode=n,y.memoizedState={element:d,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null},fu(y),n}function M2(n,o,a){var d=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:F,key:d==null?null:""+d,children:n,containerInfo:o,implementation:a}}function Bg(n){if(!n)return dr;n=n._reactInternals;e:{if(Lr(n)!==n||n.tag!==1)throw Error(r(170));var o=n;do{switch(o.tag){case 3:o=o.stateNode.context;break e;case 1:if(Nt(o.type)){o=o.stateNode.__reactInternalMemoizedMergedChildContext;break e}}o=o.return}while(o!==null);throw Error(r(171))}if(n.tag===1){var a=n.type;if(Nt(a))return mm(n,a,o)}return o}function $g(n,o,a,d,m,y,C,k,A){return n=Ju(a,d,!0,n,m,y,C,k,A),n.context=Bg(null),a=n.current,d=Ct(),m=yr(a),y=Dn(d,m),y.callback=o??null,hr(a,y,m),n.current.lanes=m,Ni(n,m,d),kt(n,d),n}function qa(n,o,a,d){var m=o.current,y=Ct(),C=yr(m);return a=Bg(a),o.context===null?o.context=a:o.pendingContext=a,o=Dn(y,C),o.payload={element:n},d=d===void 0?null:d,d!==null&&(o.callback=d),n=hr(m,o,C),n!==null&&(ln(n,m,C,y),ja(n,m,C)),C}function Ya(n){return n=n.current,n.child?(n.child.tag===5,n.child.stateNode):null}function Wg(n,o){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var a=n.retryLane;n.retryLane=a!==0&&a<o?a:o}}function ed(n,o){Wg(n,o),(n=n.alternate)&&Wg(n,o)}function O2(){return null}var Ug=typeof reportError=="function"?reportError:function(n){console.error(n)};function td(n){this._internalRoot=n}Xa.prototype.render=td.prototype.render=function(n){var o=this._internalRoot;if(o===null)throw Error(r(409));
vendor: 1,958 bytes, line 8
8qa(n,o,null,null)},Xa.prototype.unmount=td.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var o=n.containerInfo;Hr(function(){qa(null,n,null,null)}),o[Mn]=null}};function Xa(n){this._internalRoot=n}Xa.prototype.unstable_scheduleHydration=function(n){if(n){var o=Th();n={blockedOn:null,target:n,priority:o};for(var a=0;a<sr.length&&o!==0&&o<sr[a].priority;a++);sr.splice(a,0,n),a===0&&Rh(n)}};function nd(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function Qa(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function Hg(){}function I2(n,o,a,d,m){if(m){if(typeof d=="function"){var y=d;d=function(){var D=Ya(C);y.call(D)}}var C=$g(o,d,n,0,null,!1,!1,"",Hg);return n._reactRootContainer=C,n[Mn]=C.current,zi(n.nodeType===8?n.parentNode:n),Hr(),C}for(;m=n.lastChild;)n.removeChild(m);if(typeof d=="function"){var k=d;d=function(){var D=Ya(A);k.call(D)}}var A=Ju(n,0,!1,null,null,!1,!1,"",Hg);return n._reactRootContainer=A,n[Mn]=A.current,zi(n.nodeType===8?n.parentNode:n),Hr(function(){qa(o,A,a,d)}),A}function Za(n,o,a,d,m){var y=a._reactRootContainer;if(y){var C=y;if(typeof m=="function"){var k=m;m=function(){var A=Ya(C);k.call(A)}}qa(o,C,n,m)}else C=I2(a,o,n,m,d);return Ya(C)}jh=function(n){switch(n.tag){case 3:var o=n.stateNode;if(o.current.memoizedState.isDehydrated){var a=ji(o.pendingLanes);a!==0&&(Nc(o,a|1),kt(o,Ye()),(Ne&6)===0&&(Vo=Ye()+500,fr()))}break;case 13:Hr(function(){var d=Ln(n,1);if(d!==null){var m=Ct();ln(d,n,1,m)}}),ed(n,1)}},Tc=function(n){if(n.tag===13){var o=Ln(n,134217728);if(o!==null){var a=Ct();ln(o,n,134217728,a)}ed(n,134217728)}},Nh=function(n){if(n.tag===13){var o=yr(n),a=Ln(n,o);if(a!==null){var d=Ct();ln(a,n,o,d)}ed(n,o)}},Th=function(){return Ae},Ph=function(n,o){var a=Ae;try{return Ae=n,o()}finally{Ae=a}},xc=function(n,o,a){switch(o){case"input":if(_r(n,a),o=a.name,a.t
8ype==="radio"&&o!=null){for(a=n;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),o=0;o<a.length;o++){var d=a[o];if(d!==n&&d.form===n.form){var m=ma(d);if(!m)throw Error(r(90));Me(d),_r(d,m)}}}break;case"textarea":rh(n,a);break;case"select":o=a.value,o!=null&&go(n,!!a.multiple,o,!1)}},fh=Gu,ph=Hr;var _2={usingClientEntryPoint:!1,Events:[Wi,No,ma,uh,dh,Gu]},rs={findFiberByHostInstance:Dr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},L2={bundleType:rs.bundleType,version:rs.version,rendererPackageName:rs.rendererPackageName,rendererConfig:rs.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:R.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=vh(n),n===null?null:n.stateNode},findFiberByHostInstance:rs.findFiberByHostInstance||O2,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 Ja=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ja.isDisabled&&Ja.supportsFiber)try{Xs=Ja.inject(L2),yn=Ja}catch{}}return Rt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_2,Rt.createPortal=function(n,o){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!nd(o))throw Error(r(200));return M2(n,o,null,a)},Rt.createRoot=function(n,o){if(!nd(n))throw Error(r(299));var a=!1,d="",m=Ug;return o!=null&&(o.unstable_strictMode===!0&&(a=!0),o.identifierPrefix!==void 0&&(d=o.identifierPrefix),o.onRecoverableError!==void 0&&(m=o.onRecoverableError)),o=Ju(n,1,!1,null,null,a,!1,d,m),n[Mn]=o.current,zi(n.nodeType===8?n.parentNode:n),new td(o)},Rt.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var o=n._reactInternals;if(o===void 0)throw typeof n.render=="function"?Error(r(188)):(n=Object.keys(n).join(","),Error(r(268,n)));return n=vh(o),n=n===null?null:n.stateNode,n},Rt.flushSync=function(n){return Hr(n)},Rt.hydrate=function(n,o,a){if(!Qa(o))throw Error(r(200));return Za(null,n,o,!0,a)},Rt.hydrateRoot=function(n,o,a){if(!nd(n))throw Error(r(405));var d=a!=null&&a.hydratedSources||null,m=!1,y="",C=Ug;if(a!=null&&(a.unstable_strictMode===!0&&(m=!0),a.identifierPrefix!==void 0&&(y=a.identifierPrefix),a.onRecoverableError!==void 0&&(C=a.onRecoverableError)),o=$g(o,null,n,1,a??null,m,!1,y,C),n[Mn]=o.current,zi(n),d)for(n=0;n<d.length;n++)a=d[n],m=a._getVersion,m=m(a._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[a,m]:o.mutableSourceEagerHydrationData.push(a,m);return new Xa(o)},Rt.render=function(n,o,a){if(!Qa(o))throw Error(r(200));return Za(null,n,o,!1,a)},Rt.unmountComponentAtNode=function(n){if(!Qa(n))throw Error(r(40));return n._reactRootContainer?(Hr(function(){Za(null,null,n,!1,function(){n._reactRootContainer=null,n[Mn]=null})}),!0):!1},Rt.unstable_batchedUpdates=Gu,Rt.unstable_renderSubtreeIntoContainer=function(n,o,a,d){if(!Qa(a))throw Error(r(200));if(n==null||n._reactInternals===void 0)throw Error(r(38));return Za(n,o,a,!1,d)},Rt.version="18.3.1-next-f1338f8080-20240426",Rt}var nv;function px(){if(nv)return sd.exports;nv=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),sd.exports=U2(),sd.exports}var rv;function H2(){if(rv)return el;rv=1;var e=px();return el.createRoot=e.createRoot,el.hydrateRoot=e.hydrateRoot,el}var K2=H2();const G2=ao(K2);var ov="popstate";function q2(e={}){function t(i,s){let{pathname:l,search:u,hash:f}=i.location;return Hd("",{pathname:l,search:u,hash:f},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function r(i,s){return typeof s=="string"?s:xs(s)}return X2(t,r,null,e)}function Ke(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function pn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Y2(){return Math.random().toString(36).substring(2,10)}function iv(e,t){return{usr:e.state,key:e.key,idx:t}}function Hd(e,t,r=null,i){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?ui(t):t,state:r,key:t&&t.key||i||Y2()}}function xs({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function ui(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let i=e.indexOf("?");i>=0&&(t.search=e.substring(i),e=e.substring(0,i)),e&&(t.pathname=e)}return t}function X2(e,t,r,i={}){let{window:s=document.defaultView,v5Compat:l=!1}=i,u=s.history,f="POP",p=null,h=g();
8h==null&&(h=0,u.replaceState({...u.state,idx:h},""));function g(){return(u.state||{idx:null}).idx}function v(){f="POP";let b=g(),N=b==null?null:b-h;h=b,p&&p({action:f,location:E.location,delta:N})}function w(b,N){f="PUSH";let T=Hd(E.location,b,N);h=g()+1;let P=iv(T,h),R=E.createHref(T);try{u.pushState(P,"",R)}catch(M){if(M instanceof DOMException&&M.name==="DataCloneError")throw M;s.location.assign(R)}l&&p&&p({action:f,location:E.location,delta:1})}function S(b,N){f="REPLACE";let T=Hd(E.location,b,N);h=g();let P=iv(T,h),R=E.createHref(T);u.replaceState(P,"",R),l&&p&&p({action:f,location:E.location,delta:0})}function j(b){return Q2(b)}let E={get action(){return f},get location(){return e(s,u)},listen(b){if(p)throw new Error("A history only accepts one active listener");return s.addEventListener(ov,v),p=b,()=>{s.removeEventListener(ov,v),p=null}},createHref(b){return t(s,b)},createURL:j,encodeLocation(b){let N=j(b);return{pathname:N.pathname,search:N.search,hash:N.hash}},push:w,replace:S,go(b){return u.go(b)}};return E}function Q2(e,t=!1){let r="http://localhost";
8typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),Ke(r,"No window.location.(origin|href) available to create URL");let i=typeof e=="string"?e:xs(e);return i=i.replace(/ $/,"%20"),!t&&i.startsWith("//")&&(i=r+i),new URL(i,r)}function hx(e,t,r="/"){return Z2(e,t,r,!1)}function Z2(e,t,r,i){let s=typeof t=="string"?ui(t):t,l=Kn(s.pathname||"/",r);if(l==null)return null;let u=mx(e);J2(u);let f=null;for(let p=0;f==null&&p<u.length;++p){let h=uC(l);f=lC(u[p],h,i)}return f}function mx(e,t=[],r=[],i="",s=!1){let l=(u,f,p=s,h)=>{let g={relativePath:h===void 0?u.path||"":h,caseSensitive:u.caseSensitive===!0,childrenIndex:f,route:u};if(g.relativePath.startsWith("/")){if(!g.relativePath.startsWith(i)&&p)return;Ke(g.relativePath.startsWith(i),`Absolute route path "${g.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),g.relativePath=g.relativePath.slice(i.length)}let v=Wn([i,g.relativePath]),w=r.concat(g);u.children&&u.children.length>0&&(Ke(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),mx(u.children,t,w,v,p)),!(u.path==null&&!u.index)&&t.push({path:v,score:sC(v,u.index),routesMeta:w})};return e.forEach((u,f)=>{if(u.path===""||!u.path?.includes("?"))l(u,f);else for(let p of gx(u.path))l(u,f,!0,p)}),t}function gx(e){let t=e.split("/");if(t.length===0)return[];let[r,...i]=t,s=r.endsWith("?"),l=r.replace(/\?$/,"");if(i.length===0)return s?[l,""]:[l];let u=gx(i.join("/")),f=[];return f.push(...u.map(p=>p===""?l:[l,p].join("/"))),s&&f.push(...u),f.map(p=>e.startsWith("/")&&p===""?"/":p)}function J2(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:aC(t.routesMeta.map(i=>i.childrenIndex),r.routesMeta.map(i=>i.childrenIndex)))}var eC=/^:[\w-]+$/,tC=3,nC=2,rC=1,oC=10,iC=-2,sv=e=>e==="*";function sC(e,t){let r=e.split("/"),i=r.length;return r.some(sv)&&(i+=iC),t&&(i+=nC),r.filter(s=>!sv(s)).reduce((s,l)=>s+(eC.test(l)?tC:l===""?rC:oC),i)}function aC(e,t){return e.length===t.length&&e.slice(0,-1).every((i,s)=>i===t[s])?e[e.length-1]-t[t.length-1]:0}function lC(e,t,r=!1){let{routesMeta:i}=e,s={},l="/",u=[];for(let f=0;f<i.length;++f){let p=i[f],h=f===i.length-1,g=l==="/"?t:t.slice(l.length)||"/",v=Rl({path:p.relativePath,caseSensitive:p.caseSensitive,end:h},g),w=p.route;if(!v&&h&&r&&!i[i.length-1].route.index&&(v=Rl({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},g)),!v)return null;
8Object.assign(s,v.params),u.push({params:s,pathname:Wn([l,v.pathname]),pathnameBase:hC(Wn([l,v.pathnameBase])),route:w}),v.pathnameBase!=="/"&&(l=Wn([l,v.pathnameBase]))}return u}function Rl(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,i]=cC(e.path,e.caseSensitive,e.end),s=t.match(r);if(!s)return null;let l=s[0],u=l.replace(/(.)\/+$/,"$1"),f=s.slice(1);return{params:i.reduce((h,{paramName:g,isOptional:v},w)=>{if(g==="*"){let j=f[w]||"";u=l.slice(0,l.length-j.length).replace(/(.)\/+$/,"$1")}const S=f[w];return v&&!S?h[g]=void 0:h[g]=(S||"").replace(/%2F/g,"/"),h},{}),pathname:l,pathnameBase:u,pattern:e}}function cC(e,t=!1,r=!0){pn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let i=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,f,p)=>(i.push({paramName:f,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(i.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),i]}function uC(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return pn(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Kn(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,i=e.charAt(r);return i&&i!=="/"?null:e.slice(r)||"/"}var vx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,dC=e=>vx.test(e);function fC(e,t="/"){let{pathname:r,search:i="",hash:s=""}=typeof e=="string"?ui(e):e,l;if(r)if(dC(r))l=r;else{if(r.includes("//")){let u=r;r=r.replace(/\/\/+/g,"/"),pn(!1,`Pathnames cannot have embedded double slashes - normalizing ${u} -> ${r}`)}r.startsWith("/")?l=av(r.substring(1),"/"):l=av(r,t)}else l=t;return{pathname:l,search:mC(i),hash:gC(s)}}function av(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?r.length>1&&r.pop():s!=="."&&r.push(s)}),r.length>1?r.join("/"):"/"}function cd(e,t,r,i){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(i)}].  Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function pC(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function yx(e){let t=pC(e);return t.map((r,i)=>i===t.length-1?r.pathname:r.pathnameBase)}function xx(e,t,r,i=!1){let s;typeof e=="string"?s=ui(e):(s={...e},Ke(!s.pathname||!s.pathname.includes("?"),cd("?","pathname","search",s)),Ke(!s.pathname||!s.pathname.includes("#"),cd("#","pathname","hash",s)),Ke(!s.search||!s.search.includes("#"),cd("#","search","hash",s)));let l=e===""||s.pathname==="",u=l?"/":s.pathname,f;if(u==null)f=r;else{let v=t.length-1;if(!i&&u.startsWith("..")){let w=u.split("/");for(;w[0]==="..";)w.shift(),v-=1;s.pathname=w.join("/")}f=v>=0?t[v]:"/"}let p=fC(s,f),h=u&&u!=="/"&&u.endsWith("/"),g=(l||u===".")&&r.endsWith("/");return!p.pathname.endsWith("/")&&(h||g)&&(p.pathname+="/"),p}var Wn=e=>e.join("/").replace(/\/\/+/g,"/"),hC=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),mC=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,gC=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,vC=class{constructor(e,t,r,i=!1){this.status=e,this.statusText=t||"",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function yC(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function xC(e){return e.map(t=>t.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var wx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function bx(e,t){let r=e;if(typeof r!="string"||!vx.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let i=r,s=!1;if(wx)try{let l=new URL(window.location.href),u=r.startsWith("//")?new URL(l.protocol+r):new URL(r),f=Kn(u.pathname,t);u.origin===l.origin&&f!=null?r=f+u.search+u.hash:s=!0}catch{pn(!1,`<Link to="${r}">
8 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:i,isExternal:s,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Sx=["POST","PUT","PATCH","DELETE"];new Set(Sx);var wC=["GET",...Sx];new Set(wC);var di=x.createContext(null);di.displayName="DataRouter";var Hl=x.createContext(null);Hl.displayName="DataRouterState";var bC=x.createContext(!1),Cx=x.createContext({isTransitioning:!1});Cx.displayName="ViewTransition";var SC=x.createContext(new Map);SC.displayName="Fetchers";var CC=x.createContext(null);CC.displayName="Await";var en=x.createContext(null);en.displayName="Navigation";var ks=x.createContext(null);ks.displayName="Location";var er=x.createContext({outlet:null,matches:[],isDataRoute:!1});er.displayName="Route";var Vf=x.createContext(null);Vf.displayName="RouteError";var Ex="REACT_ROUTER_ERROR",EC="REDIRECT",jC="ROUTE_ERROR_RESPONSE";function NC(e){if(e.startsWith(`${Ex}:${EC}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function TC(e){if(e.startsWith(`${Ex}:${jC}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new vC(t.status,t.statusText,t.data)}catch{}}function PC(e,{relative:t}={}){Ke(Rs(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:i}=x.useContext(en),{hash:s,pathname:l,search:u}=As(e,{relative:t}),f=l;return r!=="/"&&(f=l==="/"?r:Wn([r,l])),i.createHref({pathname:f,search:u,hash:s})}function Rs(){return x.useContext(ks)!=null}function tr(){return Ke(Rs(),"useLocation() may be used only in the context of a <Router> component."),x.useContext(ks).location}var jx="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Nx(e){x.useContext(en).static||x.useLayoutEffect(e)}function kC(){let{isDataRoute:e}=x.useContext(er);return e?$C():RC()}function RC(){Ke(Rs(),"useNavigate() may be used only in the context of a <Router> component.");let e=x.useContext(di),{basename:t,navigator:r}=x.useContext(en),{matches:i}=x.useContext(er),{pathname:s}=tr(),l=JSON.stringify(yx(i)),u=x.useRef(!1);return Nx(()=>{u.current=!0}),x.useCallback((p,h={})=>
8{if(pn(u.current,jx),!u.current)return;if(typeof p=="number"){r.go(p);return}let g=xx(p,JSON.parse(l),s,h.relative==="path");e==null&&t!=="/"&&(g.pathname=g.pathname==="/"?t:Wn([t,g.pathname])),(h.replace?r.replace:r.push)(g,h.state,h)},[t,r,l,s,e])}x.createContext(null);function As(e,{relative:t}={}){let{matches:r}=x.useContext(er),{pathname:i}=tr(),s=JSON.stringify(yx(r));return x.useMemo(()=>xx(e,JSON.parse(s),i,t==="path"),[e,s,i,t])}function AC(e,t){return Tx(e,t)}function Tx(e,t,r,i,s){Ke(Rs(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:l}=x.useContext(en),{matches:u}=x.useContext(er),f=u[u.length-1],p=f?f.params:{},h=f?f.pathname:"/",g=f?f.pathnameBase:"/",v=f&&f.route;{let T=v&&v.path||"";kx(h,!v||T.endsWith("*")||T.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${T}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
9
10Please change the parent <Route path="${T}"> to <Route path="${T==="/"?"*":`${T}/*`}">.`)}let w=tr(),S;if(t){let T=typeof t=="string"?ui(t):t;Ke(g==="/"||T.pathname?.startsWith(g),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${g}" but pathname "${T.pathname}" was given in the \`location\` prop.`),S=T}else S=w;let j=S.pathname||"/",E=j;if(g!=="/"){let T=g.replace(/^\//,"").split("/");E="/"+j.replace(/^\//,"").split("/").slice(T.length).join("/")}let b=hx(e,{pathname:E});pn(v||b!=null,`No routes matched location "${S.pathname}${S.search}${S.hash}" `),pn(b==null||b[b.length-1].route.element!==void 0||b[b.length-1].route.Component!==void 0||b[b.length-1].route.lazy!==void 0,`Matched leaf route at location "${S.pathname}${S.search}${S.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let N=LC(b&&b.map(T=>Object.assign({},T,{params:Object.assign({},p,T.params),pathname:Wn([g,l.encodeLocation?l.encodeLocation(T.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:T.pathname]),pathnameBase:T.pathnameBase==="/"?g:Wn([g,l.encodeLocation?l.encodeLocation(T.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:T.pathnameBase])})),u,r,i,s);return t&&N?x.createElement(ks.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...S},navigationType:"POP"}},N):N}function MC(){let e=BC(),t=yC(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:i},l={padding:"2px 4px",backgroundColor:i},u=null;return console.error("Error handled by React Router default ErrorBoundary:",e),u=x.createElement(x.Fragment,null,x.createElement("p",null,"💿 Hey developer 👋"),x.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",x.createElement("code",{style:l},"ErrorBoundary")," or"," ",x.createElement("code",{style:l},"errorElement")," prop on your route.")),x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),r?x.createElement("pre",{style:s},r):null,u)}var OC=x.createElement(MC,null),Px=class extends x.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const r=TC(e.digest);r&&(e=r)}let t=e!==void 0?x.createElement(er.Provider,{value:this.props.routeContext},x.createElement(Vf.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?x.createElement(IC,{error:e},t):t}};
10Px.contextType=bC;var ud=new WeakMap;function IC({children:e,error:t}){let{basename:r}=x.useContext(en);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let i=NC(t.digest);if(i){let s=ud.get(t);if(s)throw s;let l=bx(i.location,r);if(wx&&!ud.get(t))if(l.isExternal||i.reloadDocument)window.location.href=l.absoluteURL||l.to;else{const u=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(l.to,{replace:i.replace}));throw ud.set(t,u),u}return x.createElement("meta",{httpEquiv:"refresh",content:`0;url=${l.absoluteURL||l.to}`})}}return e}function _C({routeContext:e,match:t,children:r}){let i=x.useContext(di);return i&&i.static&&i.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=t.route.id),x.createElement(er.Provider,{value:e},r)}function LC(e,t=[],r=null,i=null,s=null){if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let l=e,u=r?.errors;if(u!=null){let g=l.findIndex(v=>v.route.id&&u?.[v.route.id]!==void 0);Ke(g>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(u).join(",")}`),l=l.slice(0,Math.min(l.length,g+1))}let f=!1,p=-1;if(r)for(let g=0;g<l.length;g++){let v=l[g];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(p=g),v.route.id){let{loaderData:w,errors:S}=r,j=v.route.loader&&!w.hasOwnProperty(v.route.id)&&(!S||S[v.route.id]===void 0);if(v.route.lazy||j){f=!0,p>=0?l=l.slice(0,p+1):l=[l[0]];break}}}let h=r&&i?(g,v)=>{i(g,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:xC(r.matches),errorInfo:v})}:void 0;return l.reduceRight((g,v,w)=>{let S,j=!1,E=null,b=null;r&&(S=u&&v.route.id?u[v.route.id]:void 0,E=v.route.errorElement||OC,f&&(p<0&&w===0?(kx("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),j=!0,b=null):p===w&&(j=!0,b=v.route.hydrateFallbackElement||null)));let N=t.concat(l.slice(0,w+1)),T=()=>{let P;return S?P=E:j?P=b:v.route.Component?P=x.createElement(v.route.Component,null):v.route.element?P=v.route.element:P=g,x.createElement(_C,{match:v,routeContext:{outlet:g,matches:N,isDataRoute:r!=null},children:P})};return r&&(v.route.ErrorBoundary||v.route.errorElement||w===0)?x.createElement(Px,{location:r.location,revalidation:r.revalidation,component:E,error:S,children:T(),routeContext:{outlet:null,matches:N,isDataRoute:!0},onError:h}):T()},null)}function zf(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function DC(e){let t=x.useContext(di);return Ke(t,zf(e)),t}function FC(e){let t=x.useContext(Hl);return Ke(t,zf(e)),t}function VC(e){let t=x.useContext(er);return Ke(t,zf(e)),t}function Bf(e){let t=VC(e),r=t.matches[t.matches.length-1];return Ke(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function zC(){return Bf("useRouteId")}function BC(){let e=x.useContext(Vf),t=FC("useRouteError"),r=Bf("useRouteError");return e!==void 0?e:t.errors?.[r]}function $C(){let{router:e}=DC("useNavigate"),t=Bf("useNavigate"),r=x.useRef(!1);return Nx(()=>{r.current=!0}),x.useCallback(async(s,l={})=>{pn(r.current,jx),r.current&&(typeof s=="number"?await e.navigate(s):await e.navigate(s,{fromRouteId:t,...l}))},[e,t])}var lv={};function kx(e,t,r){!t&&!lv[e]&&(lv[e]=!0,pn(!1,r))}x.memo(WC);function WC({routes:e,future:t,state:r,onError:i}){return Tx(e,void 0,r,i,t)}function Er(e){Ke(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function UC({basename:e="/",children:t=null,location:r,navigationType:i="POP",navigator:s,static:l=!1,unstable_useTransitions:u}){Ke(!Rs(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let f=e.replace(/^\/*/,"/"),p=x.useMemo(()=>({basename:f,navigator:s,static:l,unstable_useTransitions:u,future:{}}),[f,s,l,u]);typeof r=="string"&&(r=ui(r));let{pathname:h="/",search:g="",hash:v="",state:w=null,key:S="default"}=r,j=x.useMemo(()=>{let E=Kn(h,f);return E==null?null:{location:{pathname:E,search:g,hash:v,state:w,key:S},navigationType:i}},[f,h,g,v,w,S,i]);
10return pn(j!=null,`<Router basename="${f}"> is not able to match the URL "${h}${g}${v}" because it does not start with the basename, so the <Router> won't render anything.`),j==null?null:x.createElement(en.Provider,{value:p},x.createElement(ks.Provider,{children:t,value:j}))}function HC({children:e,location:t}){return AC(Kd(e),t)}function Kd(e,t=[]){let r=[];return x.Children.forEach(e,(i,s)=>{if(!x.isValidElement(i))return;let l=[...t,s];if(i.type===x.Fragment){r.push.apply(r,Kd(i.props.children,l));return}Ke(i.type===Er,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Ke(!i.props.index||!i.props.children,"An index route cannot have child routes.");let u={id:i.props.id||l.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,middleware:i.props.middleware,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(u.children=Kd(i.props.children,l)),r.push(u)}),r}var yl="get",xl="application/x-www-form-urlencoded";function Kl(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function KC(e){return Kl(e)&&e.tagName.toLowerCase()==="button"}function GC(e){return Kl(e)&&e.tagName.toLowerCase()==="form"}function qC(e){return Kl(e)&&e.tagName.toLowerCase()==="input"}function YC(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function XC(e,t){return e.button===0&&(!t||t==="_self")&&!YC(e)}var tl=null;function QC(){if(tl===null)try{new FormData(document.createElement("form"),0),tl=!1}catch{tl=!0}return tl}var ZC=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function dd(e){return e!=null&&!ZC.has(e)?(pn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${xl}"`),null):e}function JC(e,t){let r,i,s,l,u;if(GC(e)){let f=e.getAttribute("action");i=f?Kn(f,t):null,r=e.getAttribute("method")||yl,s=dd(e.getAttribute("enctype"))||xl,l=new FormData(e)}else if(KC(e)||qC(e)&&(e.type==="submit"||e.type==="image")){let f=e.form;if(f==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=e.getAttribute("formaction")||f.getAttribute("action");if(i=p?Kn(p,t):null,r=e.getAttribute("formmethod")||f.getAttribute("method")||yl,s=dd(e.getAttribute("formenctype"))||dd(f.getAttribute("enctype"))||xl,l=new FormData(f,e),!QC()){let{name:h,type:g,value:v}=e;if(g==="image"){let w=h?`${h}.`:"";l.append(`${w}x`,"0"),l.append(`${w}y`,"0")}else h&&l.append(h,v)}}else{if(Kl(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');
10r=yl,i=null,s=xl,u=e}return l&&s==="text/plain"&&(u=l,l=void 0),{action:i,method:r.toLowerCase(),encType:s,formData:l,body:u}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function $f(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function eE(e,t,r,i){let s=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r?s.pathname.endsWith("/")?s.pathname=`${s.pathname}_.${i}`:s.pathname=`${s.pathname}.${i}`:s.pathname==="/"?s.pathname=`_root.${i}`:t&&Kn(s.pathname,t)==="/"?s.pathname=`${t.replace(/\/$/,"")}/_root.${i}`:s.pathname=`${s.pathname.replace(/\/$/,"")}.${i}`,s}async function tE(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(r){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function nE(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function rE(e,t,r){let i=await Promise.all(e.map(async s=>{let l=t.routes[s.route.id];if(l){let u=await tE(l,r);return u.links?u.links():[]}return[]}));return aE(i.flat(1).filter(nE).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function cv(e,t,r,i,s,l){let u=(p,h)=>r[h]?p.route.id!==r[h].route.id:!0,f=(p,h)=>r[h].pathname!==p.pathname||r[h].route.path?.endsWith("*")&&r[h].params["*"]!==p.params["*"];return l==="assets"?t.filter((p,h)=>u(p,h)||f(p,h)):l==="data"?t.filter((p,h)=>{let g=i.routes[p.route.id];if(!g||!g.hasLoader)return!1;if(u(p,h)||f(p,h))return!0;if(p.route.shouldRevalidate){let v=p.route.shouldRevalidate({currentUrl:new URL(s.pathname+s.search+s.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof v=="boolean")return v}return!0}):[]}function oE(e,t,{includeHydrateFallback:r}={}){return iE(e.map(i=>{let s=t.routes[i.route.id];if(!s)return[];let l=[s.module];return s.clientActionModule&&(l=l.concat(s.clientActionModule)),s.clientLoaderModule&&(l=l.concat(s.clientLoaderModule)),r&&s.hydrateFallbackModule&&(l=l.concat(s.hydrateFallbackModule)),s.imports&&(l=l.concat(s.imports)),l}).flat(1))}function iE(e){return[...new Set(e)]}function sE(e){let t={},r=Object.keys(e).sort();for(let i of r)t[i]=e[i];return t}function aE(e,t){let r=new Set;return new Set(t),e.reduce((i,s)=>{let l=JSON.stringify(sE(s));return r.has(l)||(r.add(l),i.push({key:l,link:s})),i},[])}function Rx(){let e=x.useContext(di);return $f(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function lE(){let e=x.useContext(Hl);return $f(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Wf=x.createContext(void 0);Wf.displayName="FrameworkContext";function Ax(){let e=x.useContext(Wf);return $f(e,"You must render this element inside a <HydratedRouter> element"),e}function cE(e,t){let r=x.useContext(Wf),[i,s]=x.useState(!1),[l,u]=x.useState(!1),{onFocus:f,onBlur:p,onMouseEnter:h,onMouseLeave:g,onTouchStart:v}=t,w=x.useRef(null);x.useEffect(()=>{if(e==="render"&&u(!0),e==="viewport"){let E=N=>{N.forEach(T=>{u(T.isIntersecting)})},b=new IntersectionObserver(E,{threshold:.5});return w.current&&b.observe(w.current),()=>{b.disconnect()}}},[e]),x.useEffect(()=>{if(i){let E=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(E)}}},[i]);let S=()=>{s(!0)},j=()=>{s(!1),u(!1)};return r?e!=="intent"?[l,w,{}]:[l,w,{onFocus:is(f,S),onBlur:is(p,j),onMouseEnter:is(h,S),onMouseLeave:is(g,j),onTouchStart:is(v,S)}]:[!1,w,{}]}function is(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function uE({page:e,...t}){let{router:r}=Rx(),i=x.useMemo(()=>hx(r.routes,e,r.basename),[r.routes,e,r.basename]);return i?x.createElement(fE,{page:e,matches:i,...t}):null}function dE(e){let{manifest:t,routeModules:r}=Ax(),[i,s]=x.useState([]);return x.useEffect(()=>{let l=!1;return rE(e,t,r).then(u=>{l||s(u)}),()=>{l=!0}},[e,t,r]),i}function fE({page:e,matches:t,...r}){let i=tr(),{future:s,manifest:l,routeModules:u}=Ax(),{basename:f}=Rx(),{loaderData:p,matches:h}=lE(),g=x.useMemo(()=>cv(e,t,h,l,i,"data"),[e,t,h,l,i]),v=x.useMemo(()=>cv(e,t,h,l,i,"assets"),[e,t,h,l,i]),w=x.useMemo(()=>
10{if(e===i.pathname+i.search+i.hash)return[];let E=new Set,b=!1;if(t.forEach(T=>{let P=l.routes[T.route.id];!P||!P.hasLoader||(!g.some(R=>R.route.id===T.route.id)&&T.route.id in p&&u[T.route.id]?.shouldRevalidate||P.hasClientLoader?b=!0:E.add(T.route.id))}),E.size===0)return[];let N=eE(e,f,s.unstable_trailingSlashAwareDataRequests,"data");return b&&E.size>0&&N.searchParams.set("_routes",t.filter(T=>E.has(T.route.id)).map(T=>T.route.id).join(",")),[N.pathname+N.search]},[f,s.unstable_trailingSlashAwareDataRequests,p,i,l,g,t,e,u]),S=x.useMemo(()=>oE(v,l),[v,l]),j=dE(v);return x.createElement(x.Fragment,null,w.map(E=>x.createElement("link",{key:E,rel:"prefetch",as:"fetch",href:E,...r})),S.map(E=>x.createElement("link",{key:E,rel:"modulepreload",href:E,...r})),j.map(({key:E,link:b})=>x.createElement("link",{key:E,nonce:r.nonce,...b})))}function pE(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var hE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{hE&&(window.__reactRouterVersion="7.12.0")}catch{}function mE({basename:e,children:t,unstable_useTransitions:r,window:i}){let s=x.useRef();s.current==null&&(s.current=q2({window:i,v5Compat:!0}));let l=s.current,[u,f]=x.useState({action:l.action,location:l.location}),p=x.useCallback(h=>{r===!1?f(h):x.startTransition(()=>f(h))},[r]);return x.useLayoutEffect(()=>l.listen(p),[l,p]),x.createElement(UC,{basename:e,children:t,location:u.location,navigationType:u.action,navigator:l,unstable_useTransitions:r})}var Mx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Vt=x.forwardRef(function({onClick:t,discover:r="render",prefetch:i="none",relative:s,reloadDocument:l,replace:u,state:f,target:p,to:h,preventScrollReset:g,viewTransition:v,unstable_defaultShouldRevalidate:w,...S},j){let{basename:E,unstable_useTransitions:b}=x.useContext(en),N=typeof h=="string"&&Mx.test(h),T=bx(h,E);h=T.to;let P=PC(h,{relative:s}),[R,M,F]=cE(i,S),z=xE(h,{replace:u,state:f,target:p,preventScrollReset:g,relative:s,viewTransition:v,unstable_defaultShouldRevalidate:w,unstable_useTransitions:b});function $(ee){t&&t(ee),ee.defaultPrevented||z(ee)}let X=x.createElement("a",{...S,...F,href:T.absoluteURL||P,onClick:T.isExternal||l?t:$,ref:pE(j,M),target:p,"data-discover":!N&&r==="render"?"true":void 0});return R&&!N?x.createElement(x.Fragment,null,X,x.createElement(uE,{page:P})):X});Vt.displayName="Link";var gE=x.forwardRef(function({"aria-current":t="page",caseSensitive:r=!1,className:i="",end:s=!1,style:l,to:u,viewTransition:f,children:p,...h},g){let v=As(u,{relative:h.relative}),w=tr(),S=x.useContext(Hl),{navigator:j,basename:E}=x.useContext(en),b=S!=null&&EE(v)&&f===!0,N=j.encodeLocation?j.encodeLocation(v).pathname:v.pathname,T=w.pathname,P=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;r||(T=T.toLowerCase(),P=P?P.toLowerCase():null,N=N.toLowerCase()),P&&E&&(P=Kn(P,E)||P);const R=N!=="/"&&N.endsWith("/")?N.length-1:N.length;let M=T===N||!s&&T.startsWith(N)&&T.charAt(R)==="/",F=P!=null&&(P===N||!s&&P.startsWith(N)&&P.charAt(N.length)==="/"),z={isActive:M,isPending:F,isTransitioning:b},$=M?t:void 0,X;typeof i=="function"?X=i(z):X=[i,M?"active":null,F?"pending":null,b?"transitioning":null].filter(Boolean).join(" ");let ee=typeof l=="function"?l(z):l;return x.createElement(Vt,{...h,"aria-current":$,className:X,ref:g,style:ee,to:u,viewTransition:f},typeof p=="function"?p(z):p)});gE.displayName="NavLink";var vE=x.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:i,replace:s,state:l,method:u=yl,action:f,onSubmit:p,relative:h,preventScrollReset:g,viewTransition:v,unstable_defaultShouldRevalidate:w,...S},j)=>{let{unstable_useTransitions:E}=x.useContext(en),b=SE(),N=CE(f,{relative:h}),T=u.toLowerCase()==="get"?"get":"post",P=typeof f=="string"&&Mx.test(f),R=M=>{if(p&&p(M),M.defaultPrevented)return;M.preventDefault();let F=M.nativeEvent.submitter,z=F?.getAttribute("formmethod")||u,$=()=>b(F||M.currentTarget,{fetcherKey:t,method:z,navigate:r,replace:s,state:l,relative:h,preventScrollReset:g,viewTransition:v,unstable_defaultShouldRevalidate:w});E&&r!==!1?x.startTransition(()=>$()):$()};return x.createElement("form",{ref:j,method:T,action:N,onSubmit:i?p:R,...S,"data-discover":!P&&e==="render"?"true":void 0})});vE.displayName="Form";function yE(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Ox(e){let t=x.useContext(di);return Ke(t,yE(e)),t}function xE(e,{target:t,replace:r,state:i,preventScrollReset:s,relative:l,viewTransition:u,unstable_defaultShouldRevalidate:f,unstable_useTransitions:p}={}){let h=kC(),g=tr(),v=As(e,{relative:l});return x.useCallback(w=>{if(XC(w,t)){w.preventDefault();let S=r!==void 0?r:xs(g)===xs(v),j=()=>h(e,{replace:S,state:i,preventScrollReset:s,relative:l,viewTransition:u,unstable_defaultShouldRevalidate:f});p?x.startTransition(()=>j()):j()}},[g,h,v,r,i,t,e,s,l,u,f,p])}var wE=0,bE=()=>`__${String(++wE)}__`;function SE(){let{router:e}=Ox("useSubmit"),{basename:t}=x.useContext(en),r=zC(),i=e.fetch,s=e.navigate;return x.useCallback(async(l,u={})=>{let{action:f,method:p,encType:h,formData:g,body:v}=JC(l,t);
10if(u.navigate===!1){let w=u.fetcherKey||bE();await i(w,r,u.action||f,{unstable_defaultShouldRevalidate:u.unstable_defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:g,body:v,formMethod:u.method||p,formEncType:u.encType||h,flushSync:u.flushSync})}else await s(u.action||f,{unstable_defaultShouldRevalidate:u.unstable_defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:g,body:v,formMethod:u.method||p,formEncType:u.encType||h,replace:u.replace,state:u.state,fromRouteId:r,flushSync:u.flushSync,viewTransition:u.viewTransition})},[i,s,t,r])}function CE(e,{relative:t}={}){let{basename:r}=x.useContext(en),i=x.useContext(er);Ke(i,"useFormAction must be used inside a RouteContext");let[s]=i.matches.slice(-1),l={...As(e||".",{relative:t})},u=tr();if(e==null){l.search=u.search;let f=new URLSearchParams(l.search),p=f.getAll("index");if(p.some(g=>g==="")){f.delete("index"),p.filter(v=>v).forEach(v=>f.append("index",v));let g=f.toString();l.search=g?`?${g}`:""}}return(!e||e===".")&&s.route.index&&(l.search=l.search?l.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(l.pathname=l.pathname==="/"?r:Wn([r,l.pathname])),xs(l)}function EE(e,{relative:t}={}){let r=x.useContext(Cx);Ke(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=Ox("useViewTransitionState"),s=As(e,{relative:t});if(!r.isTransitioning)return!1;let l=Kn(r.currentLocation.pathname,i)||r.currentLocation.pathname,u=Kn(r.nextLocation.pathname,i)||r.nextLocation.pathname;return Rl(s.pathname,u)!=null||Rl(s.pathname,l)!=null}var nr=px();const jE=ao(nr),NE=()=>{const{pathname:e}=tr();return x.useLayoutEffect(()=>{window.scrollTo({top:0,left:0,behavior:"instant"})},[e]),null};var fd={exports:{}},pd,uv;function TE(){if(uv)return pd;uv=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return pd=e,pd}var hd,dv;function PE(){if(dv)return hd;dv=1;var e=TE();function t(){}function r(){}return r.resetWarningCache=t,hd=function(){function i(u,f,p,h,g,v){if(v!==e){var w=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw w.name="Invariant Violation",w}}i.isRequired=i;function s(){return i}var l={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:s,element:i,elementType:i,instanceOf:s,node:i,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:r,resetWarningCache:t};return l.PropTypes=l,l},hd}var fv;function kE(){return fv||(fv=1,fd.exports=PE()()),fd.exports}var RE=kE();const ze=ao(RE);var md,pv;function AE(){if(pv)return md;pv=1;function e(f){return f&&typeof f=="object"&&"default"in f?f.default:f}var t=Ul(),r=e(t);function i(f,p,h){return p in f?Object.defineProperty(f,p,{value:h,enumerable:!0,configurable:!0,writable:!0}):f[p]=h,f}function s(f,p){f.prototype=Object.create(p.prototype),f.prototype.constructor=f,f.__proto__=p}var l=!!(typeof window<"u"&&window.document&&window.document.createElement);function u(f,p,h){if(typeof f!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof p!="function")throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof h<"u"&&typeof h!="function")throw new Error("Expected mapStateOnServer to either be undefined or a function.");function g(v){return v.displayName||v.name||"Component"}return function(w){if(typeof w!="function")throw new Error("Expected WrappedComponent to be a React component.");var S=[],j;function E(){j=f(S.map(function(N){return N.props})),b.canUseDOM?p(j):h&&(j=h(j))}var b=(function(N){s(T,N);function T(){return N.apply(this,arguments)||this}T.peek=function(){return j},T.rewind=function(){if(T.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var M=j;return j=void 0,S=[],M};var P=T.prototype;return P.UNSAFE_componentWillMount=function(){S.push(this),E()},P.componentDidUpdate=function(){E()},P.componentWillUnmount=function(){var M=S.indexOf(this);S.splice(M,1),E()},P.render=function(){return r.createElement(w,this.props)},T})(t.PureComponent);return i(b,"displayName","SideEffect("+g(w)+")"),i(b,"canUseDOM",l),b}}return md=u,md}
10var ME=AE();const OE=ao(ME);var gd,hv;function IE(){if(hv)return gd;hv=1;var e=typeof Element<"u",t=typeof Map=="function",r=typeof Set=="function",i=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function s(l,u){if(l===u)return!0;if(l&&u&&typeof l=="object"&&typeof u=="object"){if(l.constructor!==u.constructor)return!1;var f,p,h;if(Array.isArray(l)){if(f=l.length,f!=u.length)return!1;for(p=f;p--!==0;)if(!s(l[p],u[p]))return!1;return!0}var g;if(t&&l instanceof Map&&u instanceof Map){if(l.size!==u.size)return!1;for(g=l.entries();!(p=g.next()).done;)if(!u.has(p.value[0]))return!1;for(g=l.entries();!(p=g.next()).done;)if(!s(p.value[1],u.get(p.value[0])))return!1;return!0}if(r&&l instanceof Set&&u instanceof Set){if(l.size!==u.size)return!1;for(g=l.entries();!(p=g.next()).done;)if(!u.has(p.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(l)&&ArrayBuffer.isView(u)){if(f=l.length,f!=u.length)return!1;for(p=f;p--!==0;)if(l[p]!==u[p])return!1;return!0}if(l.constructor===RegExp)return l.source===u.source&&l.flags===u.flags;if(l.valueOf!==Object.prototype.valueOf&&typeof l.valueOf=="function"&&typeof u.valueOf=="function")return l.valueOf()===u.valueOf();if(l.toString!==Object.prototype.toString&&typeof l.toString=="function"&&typeof u.toString=="function")return l.toString()===u.toString();if(h=Object.keys(l),f=h.length,f!==Object.keys(u).length)return!1;for(p=f;p--!==0;)if(!Object.prototype.hasOwnProperty.call(u,h[p]))return!1;if(e&&l instanceof Element)return!1;for(p=f;p--!==0;)if(!((h[p]==="_owner"||h[p]==="__v"||h[p]==="__o")&&l.$$typeof)&&!s(l[h[p]],u[h[p]]))return!1;return!0}return l!==l&&u!==u}return gd=function(u,f){try{return s(u,f)}catch(p){if((p.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw p}},gd}var _E=IE();const LE=ao(_E);var vd,mv;function DE(){if(mv)return vd;mv=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(l){if(l==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(l)}function s(){try{if(!Object.assign)return!1;var l=new String("abc");if(l[5]="de",Object.getOwnPropertyNames(l)[0]==="5")return!1;for(var u={},f=0;f<10;f++)u["_"+String.fromCharCode(f)]=f;var p=Object.getOwnPropertyNames(u).map(function(g){return u[g]});if(p.join("")!=="0123456789")return!1;var h={};return"abcdefghijklmnopqrst".split("").forEach(function(g){h[g]=g}),Object.keys(Object.assign({},h)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return vd=s()?Object.assign:function(l,u){for(var f,p=i(l),h,g=1;g<arguments.length;g++){f=Object(arguments[g]);for(var v in f)t.call(f,v)&&(p[v]=f[v]);if(e){h=e(f);for(var w=0;w<h.length;w++)r.call(f,h[w])&&(p[h[w]]=f[h[w]])}}return p},vd}var FE=DE();const VE=ao(FE);var eo={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"},xe={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"};Object.keys(xe).map(function(e){return xe[e]});var Be={CHARSET:"charset",CSS_TEXT:"cssText",HREF:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src",TARGET:"target"},Al={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},ws={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},zE=Object.keys(Al).reduce(function(e,t){return e[Al[t]]=t,e},{}),BE=[xe.NOSCRIPT,xe.SCRIPT,xe.STYLE],fn="data-react-helmet",$E=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},WE=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},UE=(function(){function e(t,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}})(),At=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},HE=function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},gv=function(e,t){var r={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i]);return r},KE=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e},Gd=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return r===!1?String(t):String(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}
10,GE=function(t){var r=Jo(t,xe.TITLE),i=Jo(t,ws.TITLE_TEMPLATE);if(i&&r)return i.replace(/%s/g,function(){return Array.isArray(r)?r.join(""):r});var s=Jo(t,ws.DEFAULT_TITLE);return r||s||void 0},qE=function(t){return Jo(t,ws.ON_CHANGE_CLIENT_STATE)||function(){}},yd=function(t,r){return r.filter(function(i){return typeof i[t]<"u"}).map(function(i){return i[t]}).reduce(function(i,s){return At({},i,s)},{})},YE=function(t,r){return r.filter(function(i){return typeof i[xe.BASE]<"u"}).map(function(i){return i[xe.BASE]}).reverse().reduce(function(i,s){if(!i.length)for(var l=Object.keys(s),u=0;u<l.length;u++){var f=l[u],p=f.toLowerCase();if(t.indexOf(p)!==-1&&s[p])return i.concat(s)}return i},[])},ss=function(t,r,i){var s={};return i.filter(function(l){return Array.isArray(l[t])?!0:(typeof l[t]<"u"&&JE("Helmet: "+t+' should be of type "Array". Instead found type "'+$E(l[t])+'"'),!1)}).map(function(l){return l[t]}).reverse().reduce(function(l,u){var f={};u.filter(function(w){for(var S=void 0,j=Object.keys(w),E=0;E<j.length;E++){var b=j[E],N=b.toLowerCase();r.indexOf(N)!==-1&&!(S===Be.REL&&w[S].toLowerCase()==="canonical")&&!(N===Be.REL&&w[N].toLowerCase()==="stylesheet")&&(S=N),r.indexOf(b)!==-1&&(b===Be.INNER_HTML||b===Be.CSS_TEXT||b===Be.ITEM_PROP)&&(S=b)}if(!S||!w[S])return!1;var T=w[S].toLowerCase();return s[S]||(s[S]={}),f[S]||(f[S]={}),s[S][T]?!1:(f[S][T]=!0,!0)}).reverse().forEach(function(w){return l.push(w)});for(var p=Object.keys(f),h=0;h<p.length;h++){var g=p[h],v=VE({},s[g],f[g]);s[g]=v}return l},[]).reverse()},Jo=function(t,r){for(var i=t.length-1;i>=0;i--){var s=t[i];if(s.hasOwnProperty(r))return s[r]}return null},XE=function(t){return{baseTag:YE([Be.HREF,Be.TARGET],t),bodyAttributes:yd(eo.BODY,t),defer:Jo(t,ws.DEFER),encode:Jo(t,ws.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:yd(eo.HTML,t),linkTags:ss(xe.LINK,[Be.REL,Be.HREF],t),metaTags:ss(xe.META,[Be.NAME,Be.CHARSET,Be.HTTPEQUIV,Be.PROPERTY,Be.ITEM_PROP],t),noscriptTags:ss(xe.NOSCRIPT,[Be.INNER_HTML],t),onChangeClientState:qE(t),scriptTags:ss(xe.SCRIPT,[Be.SRC,Be.INNER_HTML],t),styleTags:ss(xe.STYLE,[Be.CSS_TEXT],t),title:GE(t),titleAttributes:yd(eo.TITLE,t)}},qd=(function(){var e=Date.now();return function(t){var r=Date.now();r-e>16?(e=r,t(r)):setTimeout(function(){qd(t)},0)}})(),vv=function(t){return clearTimeout(t)},QE=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||qd:global.requestAnimationFrame||qd,ZE=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||vv:global.cancelAnimationFrame||vv,JE=function(t){return console&&typeof console.warn=="function"&&console.warn(t)},as=null,ej=function(t){as&&ZE(as),t.defer?as=QE(function(){yv(t,function(){as=null})}):(yv(t),as=null)},yv=function(t,r){var i=t.baseTag,s=t.bodyAttributes,l=t.htmlAttributes,u=t.linkTags,f=t.metaTags,p=t.noscriptTags,h=t.onChangeClientState,g=t.scriptTags,v=t.styleTags,w=t.title,S=t.titleAttributes;Yd(xe.BODY,s),Yd(xe.HTML,l),tj(w,S);var j={baseTag:Bo(xe.BASE,i),linkTags:Bo(xe.LINK,u),metaTags:Bo(xe.META,f),noscriptTags:Bo(xe.NOSCRIPT,p),scriptTags:Bo(xe.SCRIPT,g),styleTags:Bo(xe.STYLE,v)},E={},b={};Object.keys(j).forEach(function(N){var T=j[N],P=T.newTags,R=T.oldTags;P.length&&(E[N]=P),R.length&&(b[N]=j[N].oldTags)}),r&&r(),h(t,E,b)},Ix=function(t){return Array.isArray(t)?t.join(""):t},tj=function(t,r){typeof t<"u"&&document.title!==t&&(document.title=Ix(t)),Yd(xe.TITLE,r)},Yd=function(t,r){var i=document.getElementsByTagName(t)[0];if(i){for(var s=i.getAttribute(fn),l=s?s.split(","):[],u=[].concat(l),f=Object.keys(r),p=0;p<f.length;p++){var h=f[p],g=r[h]||"";i.getAttribute(h)!==g&&i.setAttribute(h,g),l.indexOf(h)===-1&&l.push(h);var v=u.indexOf(h);v!==-1&&u.splice(v,1)}for(var w=u.length-1;w>=0;w--)i.removeAttribute(u[w]);l.length===u.length?i.removeAttribute(fn):i.getAttribute(fn)!==f.join(",")&&i.setAttribute(fn,f.join(","))}},Bo=function(t,r){var i=document.head||document.querySelector(xe.HEAD),s=i.querySelectorAll(t+"["+fn+"]"),l=Array.prototype.slice.call(s),u=[],f=void 0;return r&&r.length&&r.forEach(function(p){var h=document.createElement(t);for(var g in p)if(p.hasOwnProperty(g))if(g===Be.INNER_HTML)h.innerHTML=p.innerHTML;else if(g===Be.CSS_TEXT)h.styleSheet?h.styleSheet.cssText=p.cssText:h.appendChild(document.createTextNode(p.cssText));else{var v=typeof p[g]>"u"?"":p[g];h.setAttribute(g,v)}h.setAttribute(fn,"true"),l.some(function(w,S){return f=S,h.isEqualNode(w)})?l.splice(f,1):u.push(h)}),l.forEach(function(p){return p.parentNode.removeChild(p)}),u.forEach(function(p){return i.appendChild(p)}),{oldTags:l,newTags:u}},_x=function(t){return Object.keys(t).reduce(function(r,i){var s=typeof t[i]<"u"?i+'="'+t[i]+'"':""+i;return r?r+" "+s:s},"")},nj=function(t,r,i,s){var l=_x(i),u=Ix(r);return l?"<"+t+" "+fn+'="true" '+l+">"+Gd(u,s)+"</"+t+">":"<"+t+" "+fn+'="true">'+Gd(u,s)+"</"+t+">"},rj=function(t,r,i){return r.reduce(function(s,l){var u=Object.keys(l).filter(function(h){return!(h===Be.INNER_HTML||h===Be.CSS_TEXT)}).reduce(function(h,g){var v=typeof l[g]>"u"?g:g+'="'+Gd(l[g],i)+'"';return h?h+" "+v:v},""),f=l.innerHTML||l.cssText||"",p=BE.indexOf(t)===-1;return s+"<"+t+" "+fn+'="true" '+u+(p?"/>":">"+f+"</"+t+">")},"")},Lx=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(i,s){return i[Al[s]||s]=t[s],i},r)},oj=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(i,s){return i[zE[s]||s]=t[s],i},r)}
10,ij=function(t,r,i){var s,l=(s={key:r},s[fn]=!0,s),u=Lx(i,l);return[Ft.createElement(xe.TITLE,u,r)]},sj=function(t,r){return r.map(function(i,s){var l,u=(l={key:s},l[fn]=!0,l);return Object.keys(i).forEach(function(f){var p=Al[f]||f;if(p===Be.INNER_HTML||p===Be.CSS_TEXT){var h=i.innerHTML||i.cssText;u.dangerouslySetInnerHTML={__html:h}}else u[p]=i[f]}),Ft.createElement(t,u)})},zn=function(t,r,i){switch(t){case xe.TITLE:return{toComponent:function(){return ij(t,r.title,r.titleAttributes)},toString:function(){return nj(t,r.title,r.titleAttributes,i)}};case eo.BODY:case eo.HTML:return{toComponent:function(){return Lx(r)},toString:function(){return _x(r)}};default:return{toComponent:function(){return sj(t,r)},toString:function(){return rj(t,r,i)}}}},Dx=function(t){var r=t.baseTag,i=t.bodyAttributes,s=t.encode,l=t.htmlAttributes,u=t.linkTags,f=t.metaTags,p=t.noscriptTags,h=t.scriptTags,g=t.styleTags,v=t.title,w=v===void 0?"":v,S=t.titleAttributes;return{base:zn(xe.BASE,r,s),bodyAttributes:zn(eo.BODY,i,s),htmlAttributes:zn(eo.HTML,l,s),link:zn(xe.LINK,u,s),meta:zn(xe.META,f,s),noscript:zn(xe.NOSCRIPT,p,s),script:zn(xe.SCRIPT,h,s),style:zn(xe.STYLE,g,s),title:zn(xe.TITLE,{title:w,titleAttributes:S},s)}},aj=function(t){var r,i;return i=r=(function(s){HE(l,s);function l(){return WE(this,l),KE(this,s.apply(this,arguments))}return l.prototype.shouldComponentUpdate=function(f){return!LE(this.props,f)},l.prototype.mapNestedChildrenToProps=function(f,p){if(!p)return null;switch(f.type){case xe.SCRIPT:case xe.NOSCRIPT:return{innerHTML:p};case xe.STYLE:return{cssText:p}}throw new Error("<"+f.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},l.prototype.flattenArrayTypeChildren=function(f){var p,h=f.child,g=f.arrayTypeChildren,v=f.newChildProps,w=f.nestedChildren;return At({},g,(p={},p[h.type]=[].concat(g[h.type]||[],[At({},v,this.mapNestedChildrenToProps(h,w))]),p))},l.prototype.mapObjectTypeChildren=function(f){var p,h,g=f.child,v=f.newProps,w=f.newChildProps,S=f.nestedChildren;switch(g.type){case xe.TITLE:return At({},v,(p={},p[g.type]=S,p.titleAttributes=At({},w),p));case xe.BODY:return At({},v,{bodyAttributes:At({},w)});case xe.HTML:return At({},v,{htmlAttributes:At({},w)})}return At({},v,(h={},h[g.type]=At({},w),h))},l.prototype.mapArrayTypeChildrenToProps=function(f,p){var h=At({},p);return Object.keys(f).forEach(function(g){var v;h=At({},h,(v={},v[g]=f[g],v))}),h}
10,l.prototype.warnOnInvalidChildren=function(f,p){return!0},l.prototype.mapChildrenToProps=function(f,p){var h=this,g={};return Ft.Children.forEach(f,function(v){if(!(!v||!v.props)){var w=v.props,S=w.children,j=gv(w,["children"]),E=oj(j);switch(h.warnOnInvalidChildren(v,S),v.type){case xe.LINK:case xe.META:case xe.NOSCRIPT:case xe.SCRIPT:case xe.STYLE:g=h.flattenArrayTypeChildren({child:v,arrayTypeChildren:g,newChildProps:E,nestedChildren:S});break;default:p=h.mapObjectTypeChildren({child:v,newProps:p,newChildProps:E,nestedChildren:S});break}}}),p=this.mapArrayTypeChildrenToProps(g,p),p},l.prototype.render=function(){var f=this.props,p=f.children,h=gv(f,["children"]),g=At({},h);return p&&(g=this.mapChildrenToProps(p,g)),Ft.createElement(t,g)},UE(l,null,[{key:"canUseDOM",set:function(f){t.canUseDOM=f}}]),l})(Ft.Component),r.propTypes={base:ze.object,bodyAttributes:ze.object,children:ze.oneOfType([ze.arrayOf(ze.node),ze.node]),defaultTitle:ze.string,defer:ze.bool,encodeSpecialCharacters:ze.bool,htmlAttributes:ze.object,link:ze.arrayOf(ze.object),meta:ze.arrayOf(ze.object),noscript:ze.arrayOf(ze.object),onChangeClientState:ze.func,script:ze.arrayOf(ze.object),style:ze.arrayOf(ze.object),title:ze.string,titleAttributes:ze.object,titleTemplate:ze.string},r.defaultProps={defer:!0,encodeSpecialCharacters:!0},r.peek=t.peek,r.rewind=function(){var s=t.rewind();return s||(s=Dx({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),s},i},lj=function(){return null},cj=OE(XE,ej,Dx)(lj),Gn=aj(cj);Gn.renderStatic=Gn.rewind;function uj(e){if(typeof Proxy>"u")return e;const t=new Map,r=(...i)=>e(...i);return new Proxy(r,{get:(i,s)=>s==="create"?e:(t.has(s)||t.set(s,e(s)),t.get(s))})}function Gl(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Xd=e=>Array.isArray(e);function Fx(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let i=0;i<r;i++)if(t[i]!==e[i])return!1;return!0}function bs(e){return typeof e=="string"||Array.isArray(e)}function xv(e){const t=[{},{}];return e?.values.forEach((r,i)=>{t[0][i]=r.get(),t[1][i]=r.getVelocity()}),t}function Uf(e,t,r,i){if(typeof t=="function"){const[s,l]=xv(i);t=t(r!==void 0?r:e.custom,s,l)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,l]=xv(i);t=t(r!==void 0?r:e.custom,s,l)}return t}function ql(e,t,r){const i=e.getProps();return Uf(i,t,r!==void 0?r:i.custom,e)}const Hf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Kf=["initial",...Hf],Ms=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],lo=new Set(Ms),Un=e=>e*1e3,Hn=e=>e/1e3,dj={type:"spring",stiffness:500,damping:25,restSpeed:10},fj=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),pj={type:"keyframes",duration:.8},hj={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},mj=(e,{keyframes:t})=>t.length>2?pj:lo.has(e)?e.startsWith("scale")?fj(t[1]):dj:hj;function Gf(e,t){return e?e[t]||e.default||e:void 0}const gj={useManualTiming:!1},vj=e=>e!==null;function Yl(e,{repeat:t,repeatType:r="loop"},i){const s=e.filter(vj),l=t&&r!=="loop"&&t%2===1?0:s.length-1;return!l||i===void 0?s[l]:i}const $t=e=>e;let Vx=$t;function yj(e){let t=new Set,r=new Set,i=!1,s=!1;const l=new WeakSet;let u={delta:0,timestamp:0,isProcessing:!1};function f(h){l.has(h)&&(p.schedule(h),e()),h(u)}const p={schedule:(h,g=!1,v=!1)=>{const S=v&&i?t:r;return g&&l.add(h),S.has(h)||S.add(h),h},cancel:h=>{r.delete(h),l.delete(h)},process:h=>{if(u=h,i){s=!0;return}i=!0,[t,r]=[r,t],t.forEach(f),t.clear(),i=!1,s&&(s=!1,p.process(h))}};return p}const nl=["read","resolveKeyframes","update","preRender","render","postRender"],xj=40;function zx(e,t){let r=!1,i=!0;const s={delta:0,timestamp:0,isProcessing:!1},l=()=>r=!0,u=nl.reduce((N,T)=>(N[T]=yj(l),N),{}),{read:f,resolveKeyframes:p,update:h,preRender:g,render:v,postRender:w}=u,S=()=>{const N=performance.now();r=!1,s.delta=i?1e3/60:Math.max(Math.min(N-s.timestamp,xj),1),s.timestamp=N,s.isProcessing=!0,f.process(s),p.process(s),h.process(s),g.process(s),v.process(s),w.process(s),s.isProcessing=!1,r&&t&&(i=!1,e(S))},j=()=>{r=!0,i=!0,s.isProcessing||e(S)};return{schedule:nl.reduce((N,T)=>{const P=u[T];return N[T]=(R,M=!1,F=!1)=>(r||j(),P.schedule(R,M,F)),N},{}),cancel:N=>{for(let T=0;T<nl.length;T++)u[nl[T]].cancel(N)},state:s,steps:u}}const{schedule:Fe,cancel:Tr,state:dt,steps:xd}=zx(typeof requestAnimationFrame<"u"?requestAnimationFrame:$t,!0),Bx=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,wj=1e-7,bj=12;function Sj(e,t,r,i,s){let l,u,f=0;do u=t+(r-t)/2,l=Bx(u,i,s)-e,l>0?r=u:t=u;
10while(Math.abs(l)>wj&&++f<bj);return u}function Os(e,t,r,i){if(e===t&&r===i)return $t;const s=l=>Sj(l,0,1,e,r);return l=>l===0||l===1?l:Bx(s(l),t,i)}const $x=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Wx=e=>t=>1-e(1-t),Ux=Os(.33,1.53,.69,.99),qf=Wx(Ux),Hx=$x(qf),Kx=e=>(e*=2)<1?.5*qf(e):.5*(2-Math.pow(2,-10*(e-1))),Yf=e=>1-Math.sin(Math.acos(e)),Gx=Wx(Yf),qx=$x(Yf),Yx=e=>/^0[^.\s]+$/u.test(e);function Cj(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Yx(e):!0}const Xx=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Qx=e=>t=>typeof t=="string"&&t.startsWith(e),Zx=Qx("--"),Ej=Qx("var(--"),Xf=e=>Ej(e)?jj.test(e.split("/*")[0].trim()):!1,jj=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Nj=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Tj(e){const t=Nj.exec(e);if(!t)return[,];const[,r,i,s]=t;return[`--${r??i}`,s]}function Jx(e,t,r=1){const[i,s]=Tj(e);if(!i)return;const l=window.getComputedStyle(t).getPropertyValue(i);if(l){const u=l.trim();return Xx(u)?parseFloat(u):u}return Xf(s)?Jx(s,t,r+1):s}const qn=(e,t,r)=>r>t?t:r<e?e:r,fi={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ss={...fi,transform:e=>qn(0,1,e)},rl={...fi,default:1},Is=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),jr=Is("deg"),jn=Is("%"),me=Is("px"),Pj=Is("vh"),kj=Is("vw"),wv={...jn,parse:e=>jn.parse(e)/100,transform:e=>jn.transform(e*100)},Rj=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),bv=e=>e===fi||e===me,Sv=(e,t)=>parseFloat(e.split(", ")[t]),Cv=(e,t)=>(r,{transform:i})=>{if(i==="none"||!i)return 0;const s=i.match(/^matrix3d\((.+)\)$/u);if(s)return Sv(s[1],t);{const l=i.match(/^matrix\((.+)\)$/u);return l?Sv(l[1],e):0}},Aj=new Set(["x","y","z"]),Mj=Ms.filter(e=>!Aj.has(e));function Oj(e){const t=[];return Mj.forEach(r=>{const i=e.getValue(r);i!==void 0&&(t.push([r,i.get()]),i.set(r.startsWith("scale")?1:0))}),t}const ri={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Cv(4,13),y:Cv(5,14)};ri.translateX=ri.x;ri.translateY=ri.y;const e0=e=>t=>t.test(e),Ij={test:e=>e==="auto",parse:e=>e},t0=[fi,me,jn,jr,kj,Pj,Ij],Ev=e=>t0.find(e0(e)),to=new Set;let Qd=!1,Zd=!1;function n0(){if(Zd){const e=Array.from(to).filter(i=>i.needsMeasurement),t=new Set(e.map(i=>i.element)),r=new Map;t.forEach(i=>{const s=Oj(i);s.length&&(r.set(i,s),i.render())}),e.forEach(i=>i.measureInitialState()),t.forEach(i=>{i.render();const s=r.get(i);s&&s.forEach(([l,u])=>{var f;(f=i.getValue(l))===null||f===void 0||f.set(u)})}),e.forEach(i=>i.measureEndState()),e.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}Zd=!1,Qd=!1,to.forEach(e=>e.complete()),to.clear()}function r0(){to.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Zd=!0)})}function _j(){r0(),n0()}class Qf{constructor(t,r,i,s,l,u=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=r,this.name=i,this.motionValue=s,this.element=l,this.isAsync=u}scheduleResolve(){this.isScheduled=!0,this.isAsync?(to.add(this),Qd||(Qd=!0,Fe.read(r0),Fe.resolveKeyframes(n0))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:r,element:i,motionValue:s}=this;for(let l=0;l<t.length;l++)if(t[l]===null)if(l===0){const u=s?.get(),f=t[t.length-1];if(u!==void 0)t[0]=u;else if(i&&r){const p=i.readValue(r,f);p!=null&&(t[0]=p)}t[0]===void 0&&(t[0]=f),s&&u===void 0&&s.set(t[0])}else t[l]=t[l-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),to.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,to.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}
vendor: 24,454 bytes, line 10
10const hs=e=>Math.round(e*1e5)/1e5,Zf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Lj(e){return e==null}const Dj=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Jf=(e,t)=>r=>!!(typeof r=="string"&&Dj.test(r)&&r.startsWith(e)||t&&!Lj(r)&&Object.prototype.hasOwnProperty.call(r,t)),o0=(e,t,r)=>i=>{if(typeof i!="string")return i;const[s,l,u,f]=i.match(Zf);return{[e]:parseFloat(s),[t]:parseFloat(l),[r]:parseFloat(u),alpha:f!==void 0?parseFloat(f):1}},Fj=e=>qn(0,255,e),wd={...fi,transform:e=>Math.round(Fj(e))},Jr={test:Jf("rgb","red"),parse:o0("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:i=1})=>"rgba("+wd.transform(e)+", "+wd.transform(t)+", "+wd.transform(r)+", "+hs(Ss.transform(i))+")"};function Vj(e){let t="",r="",i="",s="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),i=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),i=e.substring(3,4),s=e.substring(4,5),t+=t,r+=r,i+=i,s+=s),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(i,16),alpha:s?parseInt(s,16)/255:1}}const Jd={test:Jf("#"),parse:Vj,transform:Jr.transform},qo={test:Jf("hsl","hue"),parse:o0("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:i=1})=>"hsla("+Math.round(e)+", "+jn.transform(hs(t))+", "+jn.transform(hs(r))+", "+hs(Ss.transform(i))+")"},xt={test:e=>Jr.test(e)||Jd.test(e)||qo.test(e),parse:e=>Jr.test(e)?Jr.parse(e):qo.test(e)?qo.parse(e):Jd.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Jr.transform(e):qo.transform(e)},zj=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Bj(e){var t,r;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Zf))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(zj))===null||r===void 0?void 0:r.length)||0)>0}const i0="number",s0="color",$j="var",Wj="var(",jv="${}",Uj=/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 Cs(e){const t=e.toString(),r=[],i={color:[],number:[],var:[]},s=[];let l=0;const f=t.replace(Uj,p=>(xt.test(p)?(i.color.push(l),s.push(s0),r.push(xt.parse(p))):p.startsWith(Wj)?(i.var.push(l),s.push($j),r.push(p)):(i.number.push(l),s.push(i0),r.push(parseFloat(p))),++l,jv)).split(jv);return{values:r,split:f,indexes:i,types:s}}function a0(e){return Cs(e).values}function l0(e){const{split:t,types:r}=Cs(e),i=t.length;return s=>{let l="";for(let u=0;u<i;u++)if(l+=t[u],s[u]!==void 0){const f=r[u];f===i0?l+=hs(s[u]):f===s0?l+=xt.transform(s[u]):l+=s[u]}return l}}const Hj=e=>typeof e=="number"?0:e;function Kj(e){const t=a0(e);return l0(e)(t.map(Hj))}const Pr={test:Bj,parse:a0,createTransformer:l0,getAnimatableNone:Kj},Gj=new Set(["brightness","contrast","saturate","opacity"]);function qj(e){const[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[i]=r.match(Zf)||[];if(!i)return e;const s=r.replace(i,"");let l=Gj.has(t)?1:0;return i!==r&&(l*=100),t+"("+l+s+")"}const Yj=/\b([a-z-]*)\(.*?\)/gu,ef={...Pr,getAnimatableNone:e=>{const t=e.match(Yj);return t?t.map(qj).join(" "):e}},Xj={borderWidth:me,borderTopWidth:me,borderRightWidth:me,borderBottomWidth:me,borderLeftWidth:me,borderRadius:me,radius:me,borderTopLeftRadius:me,borderTopRightRadius:me,borderBottomRightRadius:me,borderBottomLeftRadius:me,width:me,maxWidth:me,height:me,maxHeight:me,top:me,right:me,bottom:me,left:me,padding:me,paddingTop:me,paddingRight:me,paddingBottom:me,paddingLeft:me,margin:me,marginTop:me,marginRight:me,marginBottom:me,marginLeft:me,backgroundPositionX:me,backgroundPositionY:me},Qj={rotate:jr,rotateX:jr,rotateY:jr,rotateZ:jr,scale:rl,scaleX:rl,scaleY:rl,scaleZ:rl,skew:jr,skewX:jr,skewY:jr,distance:me,translateX:me,translateY:me,translateZ:me,x:me,y:me,z:me,perspective:me,transformPerspective:me,opacity:Ss,originX:wv,originY:wv,originZ:me},Nv={...fi,transform:Math.round},ep={...Xj,...Qj,zIndex:Nv,size:me,fillOpacity:Ss,strokeOpacity:Ss,numOctaves:Nv},Zj={...ep,color:xt,backgroundColor:xt,outlineColor:xt,fill:xt,stroke:xt,borderColor:xt,borderTopColor:xt,borderRightColor:xt,borderBottomColor:xt,borderLeftColor:xt,filter:ef,WebkitFilter:ef},tp=e=>Zj[e];function c0(e,t){let r=tp(e);return r!==ef&&(r=Pr),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const Jj=new Set(["auto","none","0"]);function eN(e,t,r){let i=0,s;for(;i<e.length&&!s;){const l=e[i];typeof l=="string"&&!Jj.has(l)&&Cs(l).values.length&&(s=e[i]),i++}if(s&&r)for(const l of t)e[l]=c0(r,s)}class u0 extends Qf{constructor(t,r,i,s,l){super(t,r,i,s,l,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:r,name:i}=this;if(!r||!r.current)return;super.readKeyframes();for(let p=0;p<t.length;p++){let h=t[p];if(typeof h=="string"&&(h=h.trim(),Xf(h))){const g=Jx(h,r.current);g!==void 0&&(t[p]=g),p===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!Rj.has(i)||t.length!==2)return;const[s,l]=t,u=Ev(s),f=Ev(l);if(u!==f)if(bv(u)&&bv(f))for(let p=0;p<t.length;p++){const h=t[p];typeof h=="string"&&(t[p]=parseFloat(h))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:r}=this,i=[];for(let s=0;s<t.length;s++)Cj(t[s])&&i.push(s);i.length&&eN(t,i,r)}measureInitialState(){const{element:t,unresolvedKeyframes:r,name:i}=this;if(!t||!t.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ri[i](t.measureViewportBox(),window.getComputedStyle(t.current)),r[0]=this.measuredOrigin;const s=r[r.length-1];s!==void 0&&t.getValue(i,s).jump(s,!1)}measureEndState(){var t;const{element:r,name:i,unresolvedKeyframes:s}=this;if(!r||!r.current)return;const l=r.getValue(i);l&&l.jump(this.measuredOrigin,!1);const u=s.length-1,f=s[u];s[u]=ri[i](r.measureViewportBox(),window.getComputedStyle(r.current)),f!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=f),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([p,h])=>{r.getValue(p).set(h)}),this.resolveNoneKeyframes()}}function np(e){return typeof e=="function"}let wl;function tN(){wl=void 0}const Nn={now:()=>(wl===void 0&&Nn.set(dt.isProcessing||gj.useManualTiming?dt.timestamp:performance.now()),wl),set:e=>{wl=e,queueMicrotask(tN)}},Tv=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Pr.test(e)||e==="0")&&!e.startsWith("url("));function nN(e){const t=e[0];if(e.length===1)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}function rN(e,t,r,i){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const l=e[e.length-1],u=Tv(s,t),f=Tv(l,t);return!u||!f?!1:nN(e)||(r==="spring"||np(r))&&i}const oN=40;class d0{constructor({autoplay:t=!0,delay:r=0,type:i="keyframes",repeat:s=0,repeatDelay:l=0,repeatType:u="loop",...f}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Nn.now(),this.options={autoplay:t,delay:r,type:i,repeat:s,repeatDelay:l,repeatType:u,...f},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>oN?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&_j(),this._resolved}onKeyframesResolved(t,r){this.resolvedAt=Nn.now(),this.hasAttemptedResolve=!0;const{name:i,type:s,velocity:l,delay:u,onComplete:f,onUpdate:p,isGenerator:h}=this.options;if(!h&&!rN(t,i,s,l))if(u)this.options.duration=0;else{p?.(Yl(t,this.options,r)),f?.(),this.resolveFinishedPromise();return}const g=this.initPlayback(t,r);g!==!1&&(this._resolved={keyframes:t,finalKeyframe:r,...g},this.onPostResolved())}onPostResolved(){}then(t,r){return this.currentFinishedPromise.then(t,r)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const oi=(e,t,r)=>{const i=t-e;return i===0?1:(r-e)/i},f0=(e,t,r=10)=>{let i="";const s=Math.max(Math.round(t/r),2);for(let l=0;l<s;l++)i+=e(oi(0,s-1,l))+", ";return`linear(${i.substring(0,i.length-2)})`};function p0(e,t){return t?e*(1e3/t):0}const iN=5;function h0(e,t,r){const i=Math.max(t-iN,0);return p0(r-e(i),t-i)}const qe={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},bd=.001;function sN({duration:e=qe.duration,bounce:t=qe.bounce,velocity:r=qe.velocity,mass:i=qe.mass}){let s,l,u=1-t;u=qn(qe.minDamping,qe.maxDamping,u),e=qn(qe.minDuration,qe.maxDuration,Hn(e)),u<1?(s=h=>{const g=h*u,v=g*e,w=g-r,S=tf(h,u),j=Math.exp(-v);return bd-w/S*j},l=h=>{const v=h*u*e,w=v*r+r,S=Math.pow(u,2)*Math.pow(h,2)*e,j=Math.exp(-v),E=tf(Math.pow(h,2),u);return(-s(h)+bd>0?-1:1)*((w-S)*j)/E}):(s=h=>{const g=Math.exp(-h*e),v=(h-r)*e+1;return-bd+g*v},l=h=>{const g=Math.exp(-h*e),v=(r-h)*(e*e);return g*v});const f=5/e,p=lN(s,l,f);if(e=Un(e),isNaN(p))return{stiffness:qe.stiffness,damping:qe.damping,duration:e};{const h=Math.pow(p,2)*i;return{stiffness:h,damping:u*2*Math.sqrt(i*h),duration:e}}}const aN=12;function lN(e,t,r){let i=r;for(let s=1;s<aN;s++)i=i-e(i)/t(i);return i}function tf(e,t){return e*Math.sqrt(1-t*t)}const nf=2e4;function m0(e){let t=0;const r=50;let i=e.next(t);for(;!i.done&&t<nf;)t+=r,i=e.next(t);return t>=nf?1/0:t}const cN=["duration","bounce"],uN=["stiffness","damping","mass"];function Pv(e,t){return t.some(r=>e[r]!==void 0)}function dN(e){let t={velocity:qe.velocity,stiffness:qe.stiffness,damping:qe.damping,mass:qe.mass,isResolvedFromDuration:!1,...e};if(!Pv(e,uN)&&Pv(e,cN))if(e.visualDuration){const r=e.visualDuration,i=2*Math.PI/(r*1.2),s=i*i,l=2*qn(.05,1,1-e.bounce)*Math.sqrt(s);t={...t,mass:qe.mass,stiffness:s,damping:l}}else{const r=sN(e);t={...t,...r,mass:qe.mass},t.isResolvedFromDuration=!0}return t}function g0(e=qe.visualDuration,t=qe.bounce){const r=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:i,restDelta:s}=r;const l=r.keyframes[0],u=r.keyframes[r.keyframes.length-1],f={done:!1,value:l},{stiffness:p,damping:h,mass:g,duration:v,velocity:w,isResolvedFromDuration:S}=dN({...r,velocity:-Hn(r.velocity||0)}),j=w||0,E=h/(2*Math.sqrt(p*g)),b=u-l,N=Hn(Math.sqrt(p/g)),T=Math.abs(b)<5;i||(i=T?qe.restSpeed.granular:qe.restSpeed.default),s||(s=T?qe.restDelta.granular:qe.restDelta.default);let P;if(E<1){const M=tf(N,E);P=F=>{const z=Math.exp(-E*N*F);return u-z*((j+E*N*b)/M*Math.sin(M*F)+b*Math.cos(M*F))}}else if(E===1)P=M=>u-Math.exp(-N*M)*(b+(j+N*b)*M);else{const M=N*Math.sqrt(E*E-1);P=F=>{const z=Math.exp(-E*N*F),$=Math.min(M*F,300);return u-z*((j+E*N*b)*Math.sinh($)+M*b*Math.cosh($))/M}}const R={calculatedDuration:S&&v||null,next:M=>{const F=P(M);if(S)f.done=M>=v;else{let z=0;E<1&&(z=M===0?Un(j):h0(P,M,F));const $=Math.abs(z)<=i,X=Math.abs(u-F)<=s;f.done=$&&X}return f.value=f.done?u:F,f},toString:()=>{const M=Math.min(m0(R),nf),F=f0(z=>R.next(M*z).value,M,30);return M+"ms "+F}};return R}function kv({keyframes:e,velocity:t=0,power:r=.8,timeConstant:i=325,bounceDamping:s=10,bounceStiffness:l=500,modifyTarget:u,min:f,max:p,restDelta:h=.5,restSpeed:g}){const v=e[0],w={done:!1,value:v},S=$=>f!==void 0&&$<f||p!==void 0&&$>p,j=$=>f===void 0?p:p===void 0||Math.abs(f-$)<Math.abs(p-$)?f:p;let E=r*t;const b=v+E,N=u===void 0?b:u(b);N!==b&&(E=N-v);const T=$=>-E*Math.exp(-$/i),P=$=>N+T($),R=$=>{const X=T($),ee=P($);w.done=Math.abs(X)<=h,w.value=w.done?N:ee};let M,F;const z=$=>{S(w.value)&&(M=$,F=g0({keyframes:[w.value,j(w.value)],velocity:h0(P,$,w.value),damping:s,stiffness:l,restDelta:h,restSpeed:g}))};return z(0),{calculatedDuration:null,next:$=>{let X=!1;return!F&&M===void 0&&(X=!0,R($),z($)),M!==void 0&&$>=M?F.next($-M):(!X&&R($),w)}}}const fN=Os(.42,0,1,1),pN=Os(0,0,.58,1),v0=Os(.42,0,.58,1),hN=e=>Array.isArray(e)&&typeof e[0]!="number",rp=e=>Array.isArray(e)&&typeof e[0]=="number",mN={linear:$t,easeIn:fN,easeInOut:v0,easeOut:pN,circIn:Yf,circInOut:qx,circOut:Gx,backIn:qf,backInOut:Hx,backOut:Ux,anticipate:Kx},Rv=e=>{if(rp(e)){Vx(e.length===4);const[t,r,i,s]=e;return Os(t,r,i,s)}else if(typeof e=="string")return mN[e];return e},gN=(e,t)=>r=>t(e(r)),_s=(...e)=>e.reduce(gN),He=(e,t,r)=>e+(t-e)*r;function Sd(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function vN({hue:e,saturation:t,lightness:r,alpha:i}){e/=360,t/=100,r/=100;let s=0,l=0,u=0;if(!t)s=l=u=r;else{const f=r<.5?r*(1+t):r+t-r*t,p=2*r-f;s=Sd(p,f,e+1/3),l=Sd(p,f,e),u=Sd(p,f,e-1/3)}return{red:Math.round(s*255),green:Math.round(l*255),blue:Math.round(u*255),alpha:i}}function Ml(e,t){return r=>r>0?t:e}const Cd=(e,t,r)=>{const i=e*e,s=r*(t*t-i)+i;return s<0?0:Math.sqrt(s)},yN=[Jd,Jr,qo],xN=e=>yN.find(t=>t.test(e));function Av(e){const t=xN(e);if(!t)return!1;let r=t.parse(e);return t===qo&&(r=vN(r)),r}const Mv=(e,t)=>{const r=Av(e),i=Av(t);if(!r||!i)return Ml(e,t);const s={...r};return l=>(s.red=Cd(r.red,i.red,l),s.green=Cd(r.green,i.green,l),s.blue=Cd(r.blue,i.blue,l),s.alpha=He(r.alpha,i.alpha,l),Jr.transform(s))},rf=new Set(["none","hidden"]);function wN(e,t){return rf.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}function bN(e,t){return r=>He(e,t,r)}function op(e){return typeof e=="number"?bN:typeof e=="string"?Xf(e)?Ml:xt.test(e)?Mv:EN:Array.isArray(e)?y0:typeof e=="object"?xt.test(e)?Mv:SN:Ml}function y0(e,t){const r=[...e],i=r.length,s=e.map((l,u)=>op(l)(l,t[u]));return l=>{for(let u=0;u<i;u++)r[u]=s[u](l);return r}}function SN(e,t){const r={...e,...t},i={};for(const s in r)e[s]!==void 0&&t[s]!==void 0&&(i[s]=op(e[s])(e[s],t[s]));return s=>{for(const l in i)r[l]=i[l](s);return r}}function CN(e,t){var r;const i=[],s={color:0,var:0,number:0};for(let l=0;l<t.values.length;l++){const u=t.types[l],f=e.indexes[u][s[u]],p=(r=e.values[f])!==null&&r!==void 0?r:0;i[l]=p,s[u]++}return i}const EN=(e,t)=>{const r=Pr.createTransformer(t),i=Cs(e),s=Cs(t);return i.indexes.var.length===s.indexes.var.length&&i.indexes.color.length===s.indexes.color.length&&i.indexes.number.length>=s.indexes.number.length?rf.has(e)&&!s.values.length||rf.has(t)&&!i.values.length?wN(e,t):_s(y0(CN(i,s),s.values),r):Ml(e,t)};function x0(e,t,r){return typeof e=="number"&&typeof t=="number"&&typeof r=="number"?He(e,t,r):op(e)(e,t)}function jN(e,t,r){const i=[],s=r||x0,l=e.length-1;for(let u=0;u<l;u++){let f=s(e[u],e[u+1]);if(t){const p=Array.isArray(t)?t[u]||$t:t;f=_s(p,f)}i.push(f)}return i}function NN(e,t,{clamp:r=!0,ease:i,mixer:s}={}){const l=e.length;if(Vx(l===t.length),l===1)return()=>t[0];if(l===2&&e[0]===e[1])return()=>t[1];e[0]>e[l-1]&&(e=[...e].reverse(),t=[...t].reverse());const u=jN(t,i,s),f=u.length,p=h=>{let g=0;if(f>1)for(;g<e.length-2&&!(h<e[g+1]);g++);const v=oi(e[g],e[g+1],h);return u[g](v)};return r?h=>p(qn(e[0],e[l-1],h)):p}function TN(e,t){const r=e[e.length-1];for(let i=1;i<=t;i++){const s=oi(0,t,i);e.push(He(r,1,s))}}function PN(e){const t=[0];return TN(t,e.length-1),t}function kN(e,t){return e.map(r=>r*t)}function RN(e,t){return e.map(()=>t||v0).splice(0,e.length-1)}function Ol({duration:e=300,keyframes:t,times:r,ease:i="easeInOut"}){const s=hN(i)?i.map(Rv):Rv(i),l={done:!1,value:t[0]},u=kN(r&&r.length===t.length?r:PN(t),e),f=NN(u,t,{ease:Array.isArray(s)?s:RN(t,s)});return{calculatedDuration:e,next:p=>(l.value=f(p),l.done=p>=e,l)}}const AN=e=>{const t=({timestamp:r})=>e(r);return{start:()=>Fe.update(t,!0),stop:()=>Tr(t),now:()=>dt.isProcessing?dt.timestamp:Nn.now()}},MN={decay:kv,inertia:kv,tween:Ol,keyframes:Ol,spring:g0},ON=e=>e/100;class ip extends d0{constructor(t){super(t),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:p}=this.options;p&&p()};const{name:r,motionValue:i,element:s,keyframes:l}=this.options,u=s?.KeyframeResolver||Qf,f=(p,h)=>this.onKeyframesResolved(p,h);this.resolver=new u(l,f,r,i,s),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:l,velocity:u=0}=this.options,f=np(r)?r:MN[r]||Ol;let p,h;f!==Ol&&typeof t[0]!="number"&&(p=_s(ON,x0(t[0],t[1])),t=[0,100]);const g=f({...this.options,keyframes:t});l==="mirror"&&(h=f({...this.options,keyframes:[...t].reverse(),velocity:-u})),g.calculatedDuration===null&&(g.calculatedDuration=m0(g));const{calculatedDuration:v}=g,w=v+s,S=w*(i+1)-s;return{generator:g,mirroredGenerator:h,mapPercentToKeyframes:p,calculatedDuration:v,resolvedDuration:w,totalDuration:S}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,r=!1){const{resolved:i}=this;if(!i){const{keyframes:$}=this.options;return{done:!0,value:$[$.length-1]}}const{finalKeyframe:s,generator:l,mirroredGenerator:u,mapPercentToKeyframes:f,keyframes:p,calculatedDuration:h,totalDuration:g,resolvedDuration:v}=i;if(this.startTime===null)return l.next(0);const{delay:w,repeat:S,repeatType:j,repeatDelay:E,onUpdate:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-g/this.speed,this.startTime)),r?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const N=this.currentTime-w*(this.speed>=0?1:-1),T=this.speed>=0?N<0:N>g;this.currentTime=Math.max(N,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=g);let P=this.currentTime,R=l;if(S){const $=Math.min(this.currentTime,g)/v;let X=Math.floor($),ee=$%1;!ee&&$>=1&&(ee=1),ee===1&&X--,X=Math.min(X,S+1),X%2&&(j==="reverse"?(ee=1-ee,E&&(ee-=E/v)):j==="mirror"&&(R=u)),P=qn(0,1,ee)*v}const M=T?{done:!1,value:p[0]}:R.next(P);f&&(M.value=f(M.value));let{done:F}=M;!T&&h!==null&&(F=this.speed>=0?this.currentTime>=g:this.currentTime<=0);const z=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&F);return z&&s!==void 0&&(M.value=Yl(p,this.options,s)),b&&b(M.value),z&&this.finish(),M}get duration(){const{resolved:t}=this;return t?Hn(t.calculatedDuration):0}get time(){return Hn(this.currentTime)}set time(t){t=Un(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const r=this.playbackSpeed!==t;this.playbackSpeed=t,r&&(this.time=Hn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=AN,onPlay:r,startTime:i}=this.options;this.driver||(this.driver=t(l=>this.tick(l))),r&&r();const s=this.driver.now();this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=s):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 t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}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(t){return this.startTime=0,this.tick(t,!0)}}const IN=new Set(["opacity","clipPath","filter","transform"]);function sp(e){let t;return()=>(t===void 0&&(t=e()),t)}const _N={linearEasing:void 0};function LN(e,t){const r=sp(e);return()=>{var i;return(i=_N[t])!==null&&i!==void 0?i:r()}}const Il=LN(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function w0(e){return!!(typeof e=="function"&&Il()||!e||typeof e=="string"&&(e in of||Il())||rp(e)||Array.isArray(e)&&e.every(w0))}const ds=([e,t,r,i])=>`cubic-bezier(${e}, ${t}, ${r}, ${i})`,of={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ds([0,.65,.55,1]),circOut:ds([.55,0,1,.45]),backIn:ds([.31,.01,.66,-.59]),backOut:ds([.33,1.53,.69,.99])};function b0(e,t){if(e)return typeof e=="function"&&Il()?f0(e,t):rp(e)?ds(e):Array.isArray(e)?e.map(r=>b0(r,t)||of.easeOut):of[e]}function DN(e,t,r,{delay:i=0,duration:s=300,repeat:l=0,repeatType:u="loop",ease:f="easeInOut",times:p}={}){const h={[t]:r};p&&(h.offset=p);const g=b0(f,s);return Array.isArray(g)&&(h.easing=g),e.animate(h,{delay:i,duration:s,easing:Array.isArray(g)?"linear":g,fill:"both",iterations:l+1,direction:u==="reverse"?"alternate":"normal"})}function Ov(e,t){e.timeline=t,e.onfinish=null}const FN=sp(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),_l=10,VN=2e4;function zN(e){return np(e.type)||e.type==="spring"||!w0(e.ease)}function BN(e,t){const r=new ip({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let i={done:!1,value:e[0]};const s=[];let l=0;for(;!i.done&&l<VN;)i=r.sample(l),s.push(i.value),l+=_l;return{times:void 0,keyframes:s,duration:l-_l,ease:"linear"}}const S0={anticipate:Kx,backInOut:Hx,circInOut:qx};function $N(e){return e in S0}class Iv extends d0{constructor(t){super(t);const{name:r,motionValue:i,element:s,keyframes:l}=this.options;this.resolver=new u0(l,(u,f)=>this.onKeyframesResolved(u,f),r,i,s),this.resolver.scheduleResolve()}initPlayback(t,r){var i;let{duration:s=300,times:l,ease:u,type:f,motionValue:p,name:h,startTime:g}=this.options;if(!(!((i=p.owner)===null||i===void 0)&&i.current))return!1;if(typeof u=="string"&&Il()&&$N(u)&&(u=S0[u]),zN(this.options)){const{onComplete:w,onUpdate:S,motionValue:j,element:E,...b}=this.options,N=BN(t,b);t=N.keyframes,t.length===1&&(t[1]=t[0]),s=N.duration,l=N.times,u=N.ease,f="keyframes"}const v=DN(p.owner.current,h,t,{...this.options,duration:s,times:l,ease:u});return v.startTime=g??this.calcStartTime(),this.pendingTimeline?(Ov(v,this.pendingTimeline),this.pendingTimeline=void 0):v.onfinish=()=>{const{onComplete:w}=this.options;p.set(Yl(t,this.options,r)),w&&w(),this.cancel(),this.resolveFinishedPromise()},{animation:v,duration:s,times:l,type:f,ease:u,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:r}=t;return Hn(r)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:r}=t;return Hn(r.currentTime||0)}set time(t){const{resolved:r}=this;if(!r)return;const{animation:i}=r;i.currentTime=Un(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:r}=t;return r.playbackRate}set speed(t){const{resolved:r}=this;if(!r)return;const{animation:i}=r;i.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:r}=t;return r.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:r}=t;return r.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:r}=this;if(!r)return $t;const{animation:i}=r;Ov(i,t)}return $t}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:r}=t;r.playState==="finished"&&this.updateFinishedPromise(),r.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:r}=t;r.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:r,keyframes:i,duration:s,type:l,ease:u,times:f}=t;if(r.playState==="idle"||r.playState==="finished")return;if(this.time){const{motionValue:h,onUpdate:g,onComplete:v,element:w,...S}=this.options,j=new ip({...S,keyframes:i,duration:s,type:l,ease:u,times:f,isGenerator:!0}),E=Un(this.time);h.setWithVelocity(j.sample(E-_l).value,j.sample(E).value,_l)}const{onStop:p}=this.options;p&&p(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}
10static supports(t){const{motionValue:r,name:i,repeatDelay:s,repeatType:l,damping:u,type:f}=t;return FN()&&i&&IN.has(i)&&r&&r.owner&&r.owner.current instanceof HTMLElement&&!r.owner.getProps().onUpdate&&!s&&l!=="mirror"&&u!==0&&f!=="inertia"}}const WN=sp(()=>window.ScrollTimeline!==void 0);class UN{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,r){return Promise.all(this.animations).then(t).catch(r)}getAll(t){return this.animations[0][t]}setAll(t,r){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=r}attachTimeline(t,r){const i=this.animations.map(s=>WN()&&s.attachTimeline?s.attachTimeline(t):r(s));return()=>{i.forEach((s,l)=>{s&&s(),this.animations[l].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let r=0;r<this.animations.length;r++)t=Math.max(t,this.animations[r].duration);return t}runAll(t){this.animations.forEach(r=>r[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function HN({when:e,delay:t,delayChildren:r,staggerChildren:i,staggerDirection:s,repeat:l,repeatType:u,repeatDelay:f,from:p,elapsed:
vendor: 59,896 bytes, line 10
10h,...g}){return!!Object.keys(g).length}const ap=(e,t,r,i={},s,l)=>u=>{const f=Gf(i,e)||{},p=f.delay||i.delay||0;let{elapsed:h=0}=i;h=h-Un(p);let g={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...f,delay:-h,onUpdate:w=>{t.set(w),f.onUpdate&&f.onUpdate(w)},onComplete:()=>{u(),f.onComplete&&f.onComplete()},name:e,motionValue:t,element:l?void 0:s};HN(f)||(g={...g,...mj(e,g)}),g.duration&&(g.duration=Un(g.duration)),g.repeatDelay&&(g.repeatDelay=Un(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let v=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(g.duration=0,g.delay===0&&(v=!0)),v&&!l&&t.get()!==void 0){const w=Yl(g.keyframes,f);if(w!==void 0)return Fe.update(()=>{g.onUpdate(w),g.onComplete()}),new UN([])}return!l&&Iv.supports(g)?new Iv(g):new ip(g)},KN=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),GN=e=>Xd(e)?e[e.length-1]||0:e;function lp(e,t){e.indexOf(t)===-1&&e.push(t)}function cp(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class up{constructor(){this.subscriptions=[]}add(t){return lp(this.subscriptions,t),()=>cp(this.subscriptions,t)}notify(t,r,i){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,r,i);else for(let l=0;l<s;l++){const u=this.subscriptions[l];u&&u(t,r,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const _v=30,qN=e=>!isNaN(parseFloat(e));class YN{constructor(t,r={}){this.version="11.15.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(i,s=!0)=>{const l=Nn.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),s&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=r.owner}setCurrent(t){this.current=t,this.updatedAt=Nn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=qN(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new up);const i=this.events[t].add(r);return t==="change"?()=>{i(),Fe.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t,r=!0){!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,r,i){this.set(r),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,r=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Nn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>_v)return 0;const r=Math.min(this.updatedAt-this.prevUpdatedAt,_v);return p0(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),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 Es(e,t){return new YN(e,t)}function XN(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Es(r))}function QN(e,t){const r=ql(e,t);let{transitionEnd:i={},transition:s={},...l}=r||{};l={...l,...i};for(const u in l){const f=GN(l[u]);XN(e,u,f)}}const dp=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),ZN="framerAppearId",C0="data-"+dp(ZN);function E0(e){return e.props[C0]}const wt=e=>!!(e&&e.getVelocity);function JN(e){return!!(wt(e)&&e.add)}function sf(e,t){const r=e.getValue("willChange");if(JN(r))return r.add(t)}function eT({protectedKeys:e,needsAnimating:t},r){const i=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,i}function j0(e,t,{delay:r=0,transitionOverride:i,type:s}={}){var l;let{transition:u=e.getDefaultTransition(),transitionEnd:f,...p}=t;i&&(u=i);const h=[],g=s&&e.animationState&&e.animationState.getState()[s];for(const v in p){const w=e.getValue(v,(l=e.latestValues[v])!==null&&l!==void 0?l:null),S=p[v];if(S===void 0||g&&eT(g,v))continue;const j={delay:r,...Gf(u||{},v)};let E=!1;if(window.MotionHandoffAnimation){const N=E0(e);if(N){const T=window.MotionHandoffAnimation(N,v,Fe);T!==null&&(j.startTime=T,E=!0)}}sf(e,v),w.start(ap(v,w,S,e.shouldReduceMotion&&lo.has(v)?{type:!1}:j,e,E));const b=w.animation;b&&h.push(b)}return f&&Promise.all(h).then(()=>{Fe.update(()=>{f&&QN(e,f)})}),h}function af(e,t,r={}){var i;const s=ql(e,t,r.type==="exit"?(i=e.presenceContext)===null||i===void 0?void 0:i.custom:void 0);let{transition:l=e.getDefaultTransition()||{}}=s||{};r.transitionOverride&&(l=r.transitionOverride);const u=s?()=>Promise.all(j0(e,s,r)):()=>Promise.resolve(),f=e.variantChildren&&e.variantChildren.size?(h=0)=>{const{delayChildren:g=0,staggerChildren:v,staggerDirection:w}=l;return tT(e,t,g+h,v,w,r)}:()=>Promise.resolve(),{when:p}=l;if(p){const[h,g]=p==="beforeChildren"?[u,f]:[f,u];return h().then(()=>g())}else return Promise.all([u(),f(r.delay)])}function tT(e,t,r=0,i=0,s=1,l){const u=[],f=(e.variantChildren.size-1)*i,p=s===1?(h=0)=>h*i:(h=0)=>f-h*i;return Array.from(e.variantChildren).sort(nT).forEach((h,g)=>{h.notify("AnimationStart",t),u.push(af(h,t,{...l,delay:r+p(g)}).then(()=>h.notify("AnimationComplete",t)))}),Promise.all(u)}function nT(e,t){return e.sortNodePosition(t)}function rT(e,t,r={}){e.notify("AnimationStart",t);let i;if(Array.isArray(t)){const s=t.map(l=>af(e,l,r));i=Promise.all(s)}else if(typeof t=="string")i=af(e,t,r);else{const s=typeof t=="function"?ql(e,t,r.custom):t;i=Promise.all(j0(e,s,r))}return i.then(()=>{e.notify("AnimationComplete",t)})}const oT=Kf.length;function N0(e){if(!e)return;if(!e.isControllingVariants){const r=e.parent?N0(e.parent)||{}:{};return e.props.initial!==void 0&&(r.initial=e.props.initial),r}const t={};for(let r=0;r<oT;r++){const i=Kf[r],s=e.props[i];(bs(s)||s===!1)&&(t[i]=s)}return t}const iT=[...Hf].reverse(),sT=Hf.length;function aT(e){return t=>Promise.all(t.map(({animation:r,options:i})=>rT(e,r,i)))}function lT(e){let t=aT(e),r=Lv(),i=!0;const s=p=>(h,g)=>{var v;const w=ql(e,g,p==="exit"?(v=e.presenceContext)===null||v===void 0?void 0:v.custom:void 0);if(w){const{transition:S,transitionEnd:j,...E}=w;h={...h,...E,...j}}return h};function l(p){t=p(e)}function u(p){const{props:h}=e,g=N0(e.parent)||{},v=[],w=new Set;let S={},j=1/0;for(let b=0;b<sT;b++){const N=iT[b],T=r[N],P=h[N]!==void 0?h[N]:g[N],R=bs(P),M=N===p?T.isActive:null;M===!1&&(j=b);let F=P===g[N]&&P!==h[N]&&R;if(F&&i&&e.manuallyAnimateOnMount&&(F=!1),T.protectedKeys={...S},!T.isActive&&M===null||!P&&!T.prevProp||Gl(P)||typeof P=="boolean")continue;const z=cT(T.prevProp,P);let $=z||N===p&&T.isActive&&!F&&R||b>j&&R,X=!1;const ee=Array.isArray(P)?P:[P];let se=ee.reduce(s(N),{});M===!1&&(se={});const{prevResolvedValues:K={}}=T,le={...K,...se},q=Z=>{$=!0,w.has(Z)&&(X=!0,w.delete(Z)),T.needsAnimating[Z]=!0;const V=e.getValue(Z);V&&(V.liveStyle=!1)};for(const Z in le){const V=se[Z],Y=K[Z];if(S.hasOwnProperty(Z))continue;let H=!1;Xd(V)&&Xd(Y)?H=!Fx(V,Y):H=V!==Y,H?V!=null?q(Z):w.add(Z):V!==void 0&&w.has(Z)?q(Z):T.protectedKeys[Z]=!0}T.prevProp=P,T.prevResolvedValues=se,T.isActive&&(S={...S,...se}),i&&e.blockInitialAnimation&&($=!1),$&&(!(F&&z)||X)&&v.push(...ee.map(Z=>({animation:Z,options:{type:N}})))}if(w.size){const b={};w.forEach(N=>{const T=e.getBaseTarget(N),P=e.getValue(N);P&&(P.liveStyle=!0),b[N]=T??null}),v.push({animation:b})}let E=!!v.length;return i&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(E=!1),i=!1,E?t(v):Promise.resolve()}function f(p,h){var g;if(r[p].isActive===h)return Promise.resolve();(g=e.variantChildren)===null||g===void 0||g.forEach(w=>{var S;return(S=w.animationState)===null||S===void 0?void 0:S.setActive(p,h)}),r[p].isActive=h;const v=u(p);for(const w in r)r[w].protectedKeys={};return v}return{animateChanges:u,setActive:f,setAnimateFunction:l,getState:()=>r,reset:()=>{r=Lv(),i=!0}}}function cT(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Fx(t,e):!1}function Yr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Lv(){return{animate:Yr(!0),whileInView:Yr(),whileHover:Yr(),whileTap:Yr(),whileDrag:Yr(),whileFocus:Yr(),exit:Yr()}}class Or{constructor(t){this.isMounted=!1,this.node=t}update(){}}class uT extends Or{constructor(t){super(t),t.animationState||(t.animationState=lT(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Gl(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let dT=0;class fT extends Or{constructor(){super(...arguments),this.id=dT++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:r}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const s=this.node.animationState.setActive("exit",!t);r&&!t&&s.then(()=>r(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const pT={animation:{Feature:uT},exit:{Feature:fT}},cn={x:!1,y:!1};function T0(){return cn.x||cn.y}function hT(e,t,r){var i;if(e instanceof Element)return[e];if(typeof e=="string"){let s=document;const l=(i=void 0)!==null&&i!==void 0?i:s.querySelectorAll(e);return l?Array.from(l):[]}return Array.from(e)}function P0(e,t){const r=hT(e),i=new AbortController,s={passive:!0,...t,signal:i.signal};return[r,s,()=>i.abort()]}function Dv(e){return t=>{t.pointerType==="touch"||T0()||e(t)}}function mT(e,t,r={}){const[i,s,l]=P0(e,r),u=Dv(f=>{const{target:p}=f,h=t(f);if(!h||!p)return;const g=Dv(v=>{h(v),p.removeEventListener("pointerleave",g)});p.addEventListener("pointerleave",g,s)});return i.forEach(f=>{f.addEventListener("pointerenter",u,s)}),l}const fp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,fs=new WeakSet;function Fv(e){return t=>{t.key==="Enter"&&e(t)}}function Ed(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const gT=(e,t)=>{const r=e.currentTarget;if(!r)return;const i=Fv(()=>{if(fs.has(r))return;Ed(r,"down");const s=Fv(()=>{Ed(r,"up")}),l=()=>Ed(r,"cancel");r.addEventListener("keyup",s,t),r.addEventListener("blur",l,t)});r.addEventListener("keydown",i,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",i),t)},vT=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function yT(e){return vT.has(e.tagName)||e.tabIndex!==-1}const k0=(e,t)=>t?e===t?!0:k0(e,t.parentElement):!1;function Vv(e){return fp(e)&&!T0()}function xT(e,t,r={}){const[i,s,l]=P0(e,r),u=f=>{const p=f.currentTarget;if(!Vv(f)||fs.has(p))return;fs.add(p);const h=t(f),g=(S,j)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",w),!(!Vv(S)||!fs.has(p))&&(fs.delete(p),h&&h(S,{success:j}))},v=S=>{g(S,r.useGlobalTarget||k0(p,S.target))},w=S=>{g(S,!1)};window.addEventListener("pointerup",v,s),window.addEventListener("pointercancel",w,s)};return i.forEach(f=>{yT(f)||(f.tabIndex=0),(r.useGlobalTarget?window:f).addEventListener("pointerdown",u,s),f.addEventListener("focus",h=>gT(h,s),s)}),l}function wT(e){return e==="x"||e==="y"?cn[e]?null:(cn[e]=!0,()=>{cn[e]=!1}):cn.x||cn.y?null:(cn.x=cn.y=!0,()=>{cn.x=cn.y=!1})}function Ls(e){return{point:{x:e.pageX,y:e.pageY}}}const bT=e=>t=>fp(t)&&e(t,Ls(t));function js(e,t,r,i={passive:!0}){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r)}function ms(e,t,r,i){return js(e,t,bT(r),i)}const zv=(e,t)=>Math.abs(e-t);function ST(e,t){const r=zv(e.x,t.x),i=zv(e.y,t.y);return Math.sqrt(r**2+i**2)}class R0{constructor(t,r,{transformPagePoint:i,contextWindow:s,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 v=Nd(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,S=ST(v.offset,{x:0,y:0})>=3;if(!w&&!S)return;const{point:j}=v,{timestamp:E}=dt;this.history.push({...j,timestamp:E});const{onStart:b,onMove:N}=this.handlers;w||(b&&b(this.lastMoveEvent,v),this.startEvent=this.lastMoveEvent),N&&N(this.lastMoveEvent,v)},this.handlePointerMove=(v,w)=>{this.lastMoveEvent=v,this.lastMoveEventInfo=jd(w,this.transformPagePoint),Fe.update(this.updatePoint,!0)},this.handlePointerUp=(v,w)=>{this.end();const{onEnd:S,onSessionEnd:j,resumeAnimation:E}=this.handlers;if(this.dragSnapToOrigin&&E&&E(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=Nd(v.type==="pointercancel"?this.lastMoveEventInfo:jd(w,this.transformPagePoint),this.history);this.startEvent&&S&&S(v,b),j&&j(v,b)},!fp(t))return;this.dragSnapToOrigin=l,this.handlers=r,this.transformPagePoint=i,this.contextWindow=s||window;const u=Ls(t),f=jd(u,this.transformPagePoint),{point:p}=f,{timestamp:h}=dt;this.history=[{...p,timestamp:h}];const{onSessionStart:g}=r;g&&g(t,Nd(f,this.history)),this.removeListeners=_s(ms(this.contextWindow,"pointermove",this.handlePointerMove),ms(this.contextWindow,"pointerup",this.handlePointerUp),ms(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Tr(this.updatePoint)}}function jd(e,t){return t?{point:t(e.point)}:e}function Bv(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Nd({point:e},t){return{point:e,delta:Bv(e,A0(t)),offset:Bv(e,CT(t)),velocity:ET(t,.1)}}function CT(e){return e[0]}function A0(e){return e[e.length-1]}function ET(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,i=null;const s=A0(e);for(;r>=0&&(i=e[r],!(s.timestamp-i.timestamp>Un(t)));)r--;if(!i)return{x:0,y:0};const l=Hn(s.timestamp-i.timestamp);if(l===0)return{x:0,y:0};const u={x:(s.x-i.x)/l,y:(s.y-i.y)/l};return u.x===1/0&&(u.x=0),u.y===1/0&&(u.y=0),u}function Yo(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}const M0=1e-4,jT=1-M0,NT=1+M0,O0=.01,TT=0-O0,PT=0+O0;function Ut(e){return e.max-e.min}function kT(e,t,r){return Math.abs(e-t)<=r}function $v(e,t,r,i=.5){e.origin=i,e.originPoint=He(t.min,t.max,e.origin),e.scale=Ut(r)/Ut(t),e.translate=He(r.min,r.max,e.origin)-e.originPoint,(e.scale>=jT&&e.scale<=NT||isNaN(e.scale))&&(e.scale=1),(e.translate>=TT&&e.translate<=PT||isNaN(e.translate))&&(e.translate=0)}function gs(e,t,r,i){$v(e.x,t.x,r.x,i?i.originX:void 0),$v(e.y,t.y,r.y,i?i.originY:void 0)}function Wv(e,t,r){e.min=r.min+t.min,e.max=e.min+Ut(t)}function RT(e,t,r){Wv(e.x,t.x,r.x),Wv(e.y,t.y,r.y)}function Uv(e,t,r){e.min=t.min-r.min,e.max=e.min+Ut(t)}function vs(e,t,r){Uv(e.x,t.x,r.x),Uv(e.y,t.y,r.y)}function AT(e,{min:t,max:r},i){return t!==void 0&&e<t?e=i?He(t,e,i.min):Math.max(e,t):r!==void 0&&e>r&&(e=i?He(r,e,i.max):Math.min(e,r)),e}function Hv(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function MT(e,{top:t,left:r,bottom:i,right:s}){return{x:Hv(e.x,r,s),y:Hv(e.y,t,i)}}function Kv(e,t){let r=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,i]=[i,r]),{min:r,max:i}}function OT(e,t){return{x:Kv(e.x,t.x),y:Kv(e.y,t.y)}}function IT(e,t){let r=.5;const i=Ut(e),s=Ut(t);return s>i?r=oi(t.min,t.max-i,e.min):i>s&&(r=oi(e.min,e.max-s,t.min)),qn(0,1,r)}function _T(e,t){const r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}const lf=.35;function LT(e=lf){return e===!1?e=0:e===!0&&(e=lf),{x:Gv(e,"left","right"),y:Gv(e,"top","bottom")}}function Gv(e,t,r){return{min:qv(e,t),max:qv(e,r)}}function qv(e,t){return typeof e=="number"?e:e[t]||0}const Yv=()=>({translate:0,scale:1,origin:0,originPoint:0}),Xo=()=>({x:Yv(),y:Yv()}),Xv=()=>({min:0,max:0}),Qe=()=>({x:Xv(),y:Xv()});function Zt(e){return[e("x"),e("y")]}function I0({top:e,left:t,right:r,bottom:i}){return{x:{min:t,max:r},y:{min:e,max:i}}}function DT({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function FT(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:i.y,right:i.x}}function Td(e){return e===void 0||e===1}function cf({scale:e,scaleX:t,scaleY:r}){return!Td(e)||!Td(t)||!Td(r)}function Qr(e){return cf(e)||_0(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function _0(e){return Qv(e.x)||Qv(e.y)}function Qv(e){return e&&e!=="0%"}function Ll(e,t,r){const i=e-r,s=t*i;return r+s}function Zv(e,t,r,i,s){return s!==void 0&&(e=Ll(e,s,i)),Ll(e,r,i)+t}function uf(e,t=0,r=1,i,s){e.min=Zv(e.min,t,r,i,s),e.max=Zv(e.max,t,r,i,s)}function L0(e,{x:t,y:r}){uf(e.x,t.translate,t.scale,t.originPoint),uf(e.y,r.translate,r.scale,r.originPoint)}const Jv=.999999999999,ey=1.0000000000001;function VT(e,t,r,i=!1){const s=r.length;if(!s)return;t.x=t.y=1;let l,u;for(let f=0;f<s;f++){l=r[f],u=l.projectionDelta;const{visualElement:p}=l.options;p&&p.props.style&&p.props.style.display==="contents"||(i&&l.options.layoutScroll&&l.scroll&&l!==l.root&&Zo(e,{x:-l.scroll.offset.x,y:-l.scroll.offset.y}),u&&(t.x*=u.x.scale,t.y*=u.y.scale,L0(e,u)),i&&Qr(l.latestValues)&&Zo(e,l.latestValues))}t.x<ey&&t.x>Jv&&(t.x=1),t.y<ey&&t.y>Jv&&(t.y=1)}function Qo(e,t){e.min=e.min+t,e.max=e.max+t}function ty(e,t,r,i,s=.5){const l=He(e.min,e.max,s);uf(e,t,r,l,i)}function Zo(e,t){ty(e.x,t.x,t.scaleX,t.scale,t.originX),ty(e.y,t.y,t.scaleY,t.scale,t.originY)}function D0(e,t){return I0(FT(e.getBoundingClientRect(),t))}function zT(e,t,r){const i=D0(e,r),{scroll:s}=t;return s&&(Qo(i.x,s.offset.x),Qo(i.y,s.offset.y)),i}const F0=({current:e})=>e?e.ownerDocument.defaultView:null,BT=new WeakMap;class $T{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Qe(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const s=g=>{const{dragSnapToOrigin:v}=this.getProps();v?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(Ls(g).point)},l=(g,v)=>{const{drag:w,dragPropagation:S,onDragStart:j}=this.getProps();if(w&&!S&&(this.openDragLock&&this.openDragLock(),this.openDragLock=wT(w),!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),Zt(b=>{let N=this.getAxisMotionValue(b).get()||0;if(jn.test(N)){const{projection:T}=this.visualElement;if(T&&T.layout){const P=T.layout.layoutBox[b];P&&(N=Ut(P)*(parseFloat(N)/100))}}this.originPoint[b]=N}),j&&Fe.postRender(()=>j(g,v)),sf(this.visualElement,"transform");const{animationState:E}=this.visualElement;E&&E.setActive("whileDrag",!0)},u=(g,v)=>{const{dragPropagation:w,dragDirectionLock:S,onDirectionLock:j,onDrag:E}=this.getProps();if(!w&&!this.openDragLock)return;const{offset:b}=v;if(S&&this.currentDirection===null){this.currentDirection=WT(b),this.currentDirection!==null&&j&&j(this.currentDirection);return}this.updateAxis("x",v.point,b),this.updateAxis("y",v.point,b),this.visualElement.render(),E&&E(g,v)},f=(g,v)=>this.stop(g,v),p=()=>Zt(g=>{var v;return this.getAnimationState(g)==="paused"&&((v=this.getAxisMotionValue(g).animation)===null||v===void 0?void 0:v.play())}),{dragSnapToOrigin:h}=this.getProps();this.panSession=new R0(t,{onSessionStart:s,onStart:l,onMove:u,onSessionEnd:f,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,contextWindow:F0(this.visualElement)})}stop(t,r){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:s}=r;this.startAnimation(s);const{onDragEnd:l}=this.getProps();l&&Fe.postRender(()=>l(t,r))}cancel(){this.isDragging=!1;const{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,i){const{drag:s}=this.getProps();if(!i||!ol(t,s,this.currentDirection))return;const l=this.getAxisMotionValue(t);let u=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(u=AT(u,this.constraints[t],this.elastic[t])),l.set(u)}resolveConstraints(){var t;const{dragConstraints:r,dragElastic:i}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,l=this.constraints;r&&Yo(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&s?this.constraints=MT(s.layoutBox,r):this.constraints=!1,this.elastic=LT(i),l!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&Zt(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=_T(s.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!Yo(t))return!1;const i=t.current,{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const l=zT(i,s.root,this.visualElement.getTransformPagePoint());let u=OT(s.layout.layoutBox,l);if(r){const f=r(DT(u));this.hasMutatedConstraints=!!f,f&&(u=I0(f))}return u}startAnimation(t){const{drag:r,dragMomentum:i,dragElastic:s,dragTransition:l,dragSnapToOrigin:u,onDragTransitionEnd:f}=this.getProps(),p=this.constraints||{},h=Zt(g=>{if(!ol(g,r,this.currentDirection))return;let v=p&&p[g]||{};u&&(v={min:0,max:0});const w=s?200:1e6,S=s?40:1e7,j={type:"inertia",velocity:i?t[g]:0,bounceStiffness:w,bounceDamping:S,timeConstant:750,restDelta:1,restSpeed:10,...l,...v};return this.startAxisValueAnimation(g,j)});return Promise.all(h).then(f)}startAxisValueAnimation(t,r){const i=this.getAxisMotionValue(t);return sf(this.visualElement,t),i.start(ap(t,i,0,r,this.visualElement,!1))}stopAnimation(){Zt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Zt(t=>{var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.pause()})}getAnimationState(t){var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.state}getAxisMotionValue(t){const r=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps(),s=i[r];return s||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){Zt(r=>{const{drag:i}=this.getProps();if(!ol(r,i,this.currentDirection))return;const{projection:s}=this.visualElement,l=this.getAxisMotionValue(r);if(s&&s.layout){const{min:u,max:f}=s.layout.layoutBox[r];l.set(t[r]-He(u,f,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:r}=this.getProps(),{projection:i}=this.visualElement;if(!Yo(r)||!i||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};Zt(u=>{const f=this.getAxisMotionValue(u);if(f&&this.constraints!==!1){const p=f.get();s[u]=IT({min:p,max:p},this.constraints[u])}});const{transformTemplate:l}=this.visualElement.getProps();this.visualElement.current.style.transform=l?l({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),Zt(u=>{if(!ol(u,t,null))return;const f=this.getAxisMotionValue(u),{min:p,max:h}=this.constraints[u];f.set(He(p,h,s[u]))})}addListeners(){if(!this.visualElement.current)return;BT.set(this.visualElement,this);const t=this.visualElement.current,r=ms(t,"pointerdown",p=>{const{drag:h,dragListener:g=!0}=this.getProps();h&&g&&this.start(p)}),i=()=>{const{dragConstraints:p}=this.getProps();Yo(p)&&p.current&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,l=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),Fe.read(i);const u=js(window,"resize",()=>this.scalePositionWithinConstraints()),f=s.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:h})=>{this.isDragging&&h&&(Zt(g=>{const v=this.getAxisMotionValue(g);v&&(this.originPoint[g]+=p[g].translate,v.set(v.get()+p[g].translate))}),this.visualElement.render())}));return()=>{u(),r(),l(),f&&f()}}getProps(){const t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:l=!1,dragElastic:u=lf,dragMomentum:f=!0}=t;return{...t,drag:r,dragDirectionLock:i,dragPropagation:s,dragConstraints:l,dragElastic:u,dragMomentum:f}}}function ol(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function WT(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}class UT extends Or{constructor(t){super(t),this.removeGroupControls=$t,this.removeListeners=$t,this.controls=new $T(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||$t}unmount(){this.removeGroupControls(),this.removeListeners()}}const ny=e=>(t,r)=>{e&&Fe.postRender(()=>e(t,r))};class HT extends Or{constructor(){super(...arguments),this.removePointerDownListener=$t}onPointerDown(t){this.session=new R0(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:F0(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:r,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:ny(t),onStart:ny(r),onMove:i,onEnd:(l,u)=>{delete this.session,s&&Fe.postRender(()=>s(l,u))}}}mount(){this.removePointerDownListener=ms(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Xl=x.createContext(null);function KT(){const e=x.useContext(Xl);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:r,register:i}=e,s=x.useId();x.useEffect(()=>i(s),[]);const l=x.useCallback(()=>r&&r(s),[s,r]);return!t&&r?[!1,l]:[!0]}const pp=x.createContext({}),V0=x.createContext({}),bl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ry(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ls={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(me.test(e))e=parseFloat(e);else return e;const r=ry(e,t.target.x),i=ry(e,t.target.y);return`${r}% ${i}%`}},GT={correct:(e,{treeScale:t,projectionDelta:r})=>{const i=e,s=Pr.parse(e);if(s.length>5)return i;const l=Pr.createTransformer(e),u=typeof s[0]!="number"?1:0,f=r.x.scale*t.x,p=r.y.scale*t.y;s[0+u]/=f,s[1+u]/=p;const h=He(f,p,.5);return typeof s[2+u]=="number"&&(s[2+u]/=h),typeof s[3+u]=="number"&&(s[3+u]/=h),l(s)}},Dl={};function qT(e){Object.assign(Dl,e)}const{schedule:hp}=zx(queueMicrotask,!1);class YT extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:i,layoutId:s}=this.props,{projection:l}=t;qT(XT),l&&(r.group&&r.group.add(l),i&&i.register&&s&&i.register(l),l.root.didUpdate(),l.addEventListener("animationComplete",()=>{this.safeToRemove()}),l.setOptions({...l.options,onExitComplete:()=>this.safeToRemove()})),bl.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:r,visualElement:i,drag:s,isPresent:l}=this.props,u=i.projection;return u&&(u.isPresent=l,s||t.layoutDependency!==r||r===void 0?u.willUpdate():this.safeToRemove(),t.isPresent!==l&&(l?u.promote():u.relegate()||Fe.postRender(()=>{const f=u.getStack();(!f||!f.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),hp.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:i}=this.props,{projection:s}=t;s&&(s.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function z0(e){const[t,r]=KT(),i=x.useContext(pp);return c.jsx(YT,{...e,layoutGroup:i,switchLayoutGroup:x.useContext(V0),isPresent:t,safeToRemove:r})}const XT={borderRadius:{...ls,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ls,borderTopRightRadius:ls,borderBottomLeftRadius:ls,borderBottomRightRadius:ls,boxShadow:GT},B0=["TopLeft","TopRight","BottomLeft","BottomRight"],QT=B0.length,oy=e=>typeof e=="string"?parseFloat(e):e,iy=e=>typeof e=="number"||me.test(e);function ZT(e,t,r,i,s,l){s?(e.opacity=He(0,r.opacity!==void 0?r.opacity:1,JT(i)),e.opacityExit=He(t.opacity!==void 0?t.opacity:1,0,eP(i))):l&&(e.opacity=He(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,i));for(let u=0;u<QT;u++){const f=`border${B0[u]}Radius`;let p=sy(t,f),h=sy(r,f);if(p===void 0&&h===void 0)continue;p||(p=0),h||(h=0),p===0||h===0||iy(p)===iy(h)?(e[f]=Math.max(He(oy(p),oy(h),i),0),(jn.test(h)||jn.test(p))&&(e[f]+="%")):e[f]=h}(t.rotate||r.rotate)&&(e.rotate=He(t.rotate||0,r.rotate||0,i))}function sy(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const JT=$0(0,.5,Gx),eP=$0(.5,.95,$t);function $0(e,t,r){return i=>i<e?0:i>t?1:r(oi(e,t,i))}function ay(e,t){e.min=t.min,e.max=t.max}function Qt(e,t){ay(e.x,t.x),ay(e.y,t.y)}function ly(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function cy(e,t,r,i,s){return e-=t,e=Ll(e,1/r,i),s!==void 0&&(e=Ll(e,1/s,i)),e}function tP(e,t=0,r=1,i=.5,s,l=e,u=e){if(jn.test(t)&&(t=parseFloat(t),t=He(u.min,u.max,t/100)-u.min),typeof t!="number")return;let f=He(l.min,l.max,i);e===l&&(f-=t),e.min=cy(e.min,t,r,f,s),e.max=cy(e.max,t,r,f,s)}function uy(e,t,[r,i,s],l,u){tP(e,t[r],t[i],t[s],t.scale,l,u)}const nP=["x","scaleX","originX"],rP=["y","scaleY","originY"];function dy(e,t,r,i){uy(e.x,t,nP,r?r.x:void 0,i?i.x:void 0),uy(e.y,t,rP,r?r.y:void 0,i?i.y:void 0)}function fy(e){return e.translate===0&&e.scale===1}function W0(e){return fy(e.x)&&fy(e.y)}function py(e,t){return e.min===t.min&&e.max===t.max}function oP(e,t){return py(e.x,t.x)&&py(e.y,t.y)}function hy(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function U0(e,t){return hy(e.x,t.x)&&hy(e.y,t.y)}function my(e){return Ut(e.x)/Ut(e.y)}function gy(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class iP{constructor(){this.members=[]}add(t){lp(this.members,t),t.scheduleRender()}remove(t){if(cp(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){const r=this.members.findIndex(s=>t===s);if(r===0)return!1;let i;for(let s=r;s>=0;s--){const l=this.members[s];if(l.isPresent!==!1){i=l;break}}return i?(this.promote(i),!0):!1}promote(t,r){const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,r&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:s}=t.options;s===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:r,resumingFrom:i}=t;r.onExitComplete&&r.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function sP(e,t,r){let i="";const s=e.x.translate/t.x,l=e.y.translate/t.y,u=r?.z||0;if((s||l||u)&&(i=`translate3d(${s}px, ${l}px, ${u}px) `),(t.x!==1||t.y!==1)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),r){const{transformPerspective:h,rotate:g,rotateX:v,rotateY:w,skewX:S,skewY:j}=r;h&&(i=`perspective(${h}px) ${i}`),g&&(i+=`rotate(${g}deg) `),v&&(i+=`rotateX(${v}deg) `),w&&(i+=`rotateY(${w}deg) `),S&&(i+=`skewX(${S}deg) `),j&&(i+=`skewY(${j}deg) `)}const f=e.x.scale*t.x,p=e.y.scale*t.y;return(f!==1||p!==1)&&(i+=`scale(${f}, ${p})`),i||"none"}const aP=(e,t)=>e.depth-t.depth;class lP{constructor(){this.children=[],this.isDirty=!1}add(t){lp(this.children,t),this.isDirty=!0}remove(t){cp(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(aP),this.isDirty=!1,this.children.forEach(t)}}function Sl(e){const t=wt(e)?e.get():e;return KN(t)?t.toValue():t}function cP(e,t){const r=Nn.now(),i=({timestamp:s})=>{const l=s-r;l>=t&&(Tr(i),e(l-t))};return Fe.read(i,!0),()=>Tr(i)}function uP(e){return e instanceof SVGElement&&e.tagName!=="svg"}function dP(e,t,r){const i=wt(e)?e:Es(e);return i.start(ap("",i,t,r)),i.animation}const Zr={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},ps=typeof window<"u"&&window.MotionDebug!==void 0,Pd=["","X","Y","Z"],fP={visibility:"hidden"},vy=1e3;let pP=0;function kd(e,t,r,i){const{latestValues:s}=t;s[e]&&(r[e]=s[e],t.setStaticValue(e,0),i&&(i[e]=0))}function H0(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const r=E0(t);if(window.MotionHasOptimisedAnimation(r,"transform")){const{layout:s,layoutId:l}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",Fe,!(s||l))}const{parent:i}=e;i&&!i.hasCheckedOptimisedAppear&&H0(i)}function K0({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:i,resetTransform:s}){return class{constructor(u={},f=t?.()){this.id=pP++,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,ps&&(Zr.totalNodes=Zr.resolvedTargetDeltas=Zr.recalculatedProjection=0),this.nodes.forEach(gP),this.nodes.forEach(bP),this.nodes.forEach(SP),this.nodes.forEach(vP),ps&&window.MotionDebug.record(Zr)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=u,this.root=f?f.root||f:this,this.path=f?[...f.path,f]:[],this.parent=f,this.depth=f?f.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new lP)}addEventListener(u,f){return this.eventHandlers.has(u)||this.eventHandlers.set(u,new up),this.eventHandlers.get(u).add(f)}notifyListeners(u,...f){const p=this.eventHandlers.get(u);p&&p.notify(...f)}hasListeners(u){return this.eventHandlers.has(u)}mount(u,f=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=uP(u),this.instance=u;const{layoutId:p,layout:h,visualElement:g}=this.options;if(g&&!g.current&&g.mount(u),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),f&&(h||p)&&(this.isLayoutDirty=!0),e){let v;const w=()=>this.root.updateBlockedByResize=!1;e(u,()=>{this.root.updateBlockedByResize=!0,v&&v(),v=cP(w,250),bl.hasAnimatedSinceResize&&(bl.hasAnimatedSinceResize=!1,this.nodes.forEach(xy))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&g&&(p||h)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:w,hasRelativeTargetChanged:S,layout:j})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const E=this.options.transition||g.getDefaultTransition()||TP,{onLayoutAnimationStart:b,onLayoutAnimationComplete:N}=g.getProps(),T=!this.targetLayout||!U0(this.targetLayout,j)||S,P=!w&&S;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||P||w&&(T||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(v,P);const R={...Gf(E,"layout"),onPlay:b,onComplete:N};(g.shouldReduceMotion||this.options.layoutRoot)&&(R.delay=0,R.type=!1),this.startAnimation(R)}else w||xy(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=j})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const u=this.getStack();u&&u.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Tr(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(CP),this.animationId++)}getTransformTemplate(){const{visualElement:u}=this.options;return u&&u.getProps().transformTemplate}willUpdate(u=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&H0(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const v=this.path[g];v.shouldResetTransform=!0,v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:f,layout:p}=this.options;if(f===void 0&&!p)return;const h=this.getTransformTemplate();this.prevTransformTemplateValue=h?h(this.latestValues,""):void 0,this.updateSnapshot(),u&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(yy);return}this.isUpdating||this.nodes.forEach(xP),this.isUpdating=!1,this.nodes.forEach(wP),this.nodes.forEach(hP),this.nodes.forEach(mP),this.clearAllSnapshots();const f=Nn.now();dt.delta=qn(0,1e3/60,f-dt.timestamp),dt.timestamp=f,dt.isProcessing=!0,xd.update.process(dt),xd.preRender.process(dt),xd.render.process(dt),dt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,hp.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(yP),this.sharedNodes.forEach(EP)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Fe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Fe.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 p=0;p<this.path.length;p++)this.path[p].updateScroll();const u=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Qe(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:f}=this.options;f&&f.notify("LayoutMeasure",this.layout.layoutBox,u?u.layoutBox:void 0)}updateScroll(u="measure"){let f=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===u&&(f=!1),f){const p=i(this.instance);this.scroll={animationId:this.root.animationId,phase:u,isRoot:p,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!s)return;const u=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,f=this.projectionDelta&&!W0(this.projectionDelta),p=this.getTransformTemplate(),h=p?p(this.latestValues,""):void 0,g=h!==this.prevTransformTemplateValue;u&&(f||Qr(this.latestValues)||g)&&(s(this.instance,h),this.shouldResetTransform=!1,this.scheduleRender())}measure(u=!0){const f=this.measurePageBox();let p=this.removeElementScroll(f);return u&&(p=this.removeTransform(p)),PP(p),{animationId:this.root.animationId,measuredBox:f,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:f}=this.options;if(!f)return Qe();const p=f.measureViewportBox();if(!(((u=this.scroll)===null||u===void 0?void 0:u.wasRoot)||this.path.some(kP))){const{scroll:g}=this.root;g&&(Qo(p.x,g.offset.x),Qo(p.y,g.offset.y))}return p}removeElementScroll(u){var f;const p=Qe();if(Qt(p,u),!((f=this.scroll)===null||f===void 0)&&f.wasRoot)return p;for(let h=0;h<this.path.length;h++){const g=this.path[h],{scroll:v,options:w}=g;g!==this.root&&v&&w.layoutScroll&&(v.wasRoot&&Qt(p,u),Qo(p.x,v.offset.x),Qo(p.y,v.offset.y))}return p}applyTransform(u,f=!1){const p=Qe();Qt(p,u);for(let h=0;h<this.path.length;h++){const g=this.path[h];!f&&g.options.layoutScroll&&g.scroll&&g!==g.root&&Zo(p,{x:-g.scroll.offset.x,y:-g.scroll.offset.y}),Qr(g.latestValues)&&Zo(p,g.latestValues)}return Qr(this.latestValues)&&Zo(p,this.latestValues),p}removeTransform(u){const f=Qe();Qt(f,u);for(let p=0;p<this.path.length;p++){const h=this.path[p];if(!h.instance||!Qr(h.latestValues))continue;cf(h.latestValues)&&h.updateSnapshot();const g=Qe(),v=h.measurePageBox();Qt(g,v),dy(f,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,g)}return Qr(this.latestValues)&&dy(f,this.latestValues),f}setTargetDelta(u){this.targetDelta=u,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(u){this.options={...this.options,...u,crossfade:u.crossfade!==void 0?u.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!==dt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(u=!1){var f;const p=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=p.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=p.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=p.isSharedProjectionDirty);const h=!!this.resumingFrom||this!==p;if(!(u||h&&this.isSharedProjectionDirty||this.isProjectionDirty||!((f=this.parent)===null||f===void 0)&&f.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:w}=this.options;if(!(!this.layout||!(v||w))){if(this.resolvedRelativeTargetAt=dt.timestamp,!this.targetDelta&&!this.relativeTarget){const S=this.getClosestProjectingParent();S&&S.layout&&this.animationProgress!==1?(this.relativeParent=S,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Qe(),this.relativeTargetOrigin=Qe(),vs(this.relativeTargetOrigin,this.layout.layoutBox,S.layout.layoutBox),Qt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Qe(),this.targetWithTransforms=Qe()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),RT(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Qt(this.target,this.layout.layoutBox),L0(this.target,this.targetDelta)):Qt(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=Qe(),this.relativeTargetOrigin=Qe(),vs(this.relativeTargetOrigin,this.target,S.target),Qt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ps&&Zr.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||cf(this.parent.latestValues)||_0(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 u;const f=this.getLead(),p=!!this.resumingFrom||this!==f;let h=!0;if((this.isProjectionDirty||!((u=this.parent)===null||u===void 0)&&u.isProjectionDirty)&&(h=!1),p&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(h=!1),this.resolvedRelativeTargetAt===dt.timestamp&&(h=!1),h)return;const{layout:g,layoutId:v}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(g||v))return;Qt(this.layoutCorrected,this.layout.layoutBox);const w=this.treeScale.x,S=this.treeScale.y;VT(this.layoutCorrected,this.treeScale,this.path,p),f.layout&&!f.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(f.target=f.layout.layoutBox,f.targetWithTransforms=Qe());const{target:j}=f;if(!j){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(ly(this.prevProjectionDelta.x,this.projectionDelta.x),ly(this.prevProjectionDelta.y,this.projectionDelta.y)),gs(this.projectionDelta,this.layoutCorrected,j,this.latestValues),(this.treeScale.x!==w||this.treeScale.y!==S||!gy(this.projectionDelta.x,this.prevProjectionDelta.x)||!gy(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",j)),ps&&Zr.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(u=!0){var f;if((f=this.options.visualElement)===null||f===void 0||f.scheduleRender(),u){const p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Xo(),this.projectionDelta=Xo(),this.projectionDeltaWithTransform=Xo()}setAnimationOrigin(u,f=!1){const p=this.snapshot,h=p?p.latestValues:{},g={...this.latestValues},v=Xo();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!f;const w=Qe(),S=p?p.source:void 0,j=this.layout?this.layout.source:void 0,E=S!==j,b=this.getStack(),N=!b||b.members.length<=1,T=!!(E&&!N&&this.options.crossfade===!0&&!this.path.some(NP));this.animationProgress=0;let P;this.mixTargetDelta=R=>{const M=R/1e3;wy(v.x,u.x,M),wy(v.y,u.y,M),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(vs(w,this.layout.layoutBox,this.relativeParent.layout.layoutBox),jP(this.relativeTarget,this.relativeTargetOrigin,w,M),P&&oP(this.relativeTarget,P)&&(this.isProjectionDirty=!1),P||(P=Qe()),Qt(P,this.relativeTarget)),E&&(this.animationValues=g,ZT(g,h,this.latestValues,M,T,N)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=M},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(u){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Tr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Fe.update(()=>{bl.hasAnimatedSinceResize=!0,this.currentAnimation=dP(0,vy,{...u,onUpdate:f=>{this.mixTargetDelta(f),u.onUpdate&&u.onUpdate(f)},onComplete:()=>{u.onComplete&&u.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 u=this.getStack();u&&u.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(vy),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const u=this.getLead();let{targetWithTransforms:f,target:p,layout:h,latestValues:g}=u;if(!(!f||!p||!h)){if(this!==u&&this.layout&&h&&G0(this.options.animationType,this.layout.layoutBox,h.layoutBox)){p=this.target||Qe();const v=Ut(this.layout.layoutBox.x);p.x.min=u.target.x.min,p.x.max=p.x.min+v;const w=Ut(this.layout.layoutBox.y);p.y.min=u.target.y.min,p.y.max=p.y.min+w}Qt(f,p),Zo(f,g),gs(this.projectionDeltaWithTransform,this.layoutCorrected,f,g)}}registerSharedNode(u,f){this.sharedNodes.has(u)||this.sharedNodes.set(u,new iP),this.sharedNodes.get(u).add(f);const h=f.options.initialPromotionConfig;f.promote({transition:h?h.transition:void 0,preserveFollowOpacity:h&&h.shouldPreserveFollowOpacity?h.shouldPreserveFollowOpacity(f):void 0})}isLead(){const u=this.getStack();return u?u.lead===this:!0}getLead(){var u;const{layoutId:f}=this.options;return f?((u=this.getStack())===null||u===void 0?void 0:u.lead)||this:this}getPrevLead(){var u;const{layoutId:f}=this.options;return f?(u=this.getStack())===null||u===void 0?void 0:u.prevLead:void 0}getStack(){const{layoutId:u}=this.options;if(u)return this.root.sharedNodes.get(u)}promote({needsReset:u,transition:f,preserveFollowOpacity:p}={}){const h=this.getStack();h&&h.promote(this,p),u&&(this.projectionDelta=void 0,this.needsReset=!0),f&&this.setOptions({transition:f})}relegate(){const u=this.getStack();return u?u.relegate(this):!1}resetSkewAndRotation(){const{visualElement:u}=this.options;if(!u)return;let f=!1;const{latestValues:p}=u;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(f=!0),!f)return;const h={};p.z&&kd("z",u,h,this.animationValues);for(let g=0;g<Pd.length;g++)kd(`rotate${Pd[g]}`,u,h,this.animationValues),kd(`skew${Pd[g]}`,u,h,this.animationValues);u.render();for(const g in h)u.setStaticValue(g,h[g]),this.animationValues&&(this.animationValues[g]=h[g]);u.scheduleRender()}getProjectionStyles(u){var f,p;if(!this.instance||this.isSVG)return;if(!this.isVisible)return fP;const h={visibility:""},g=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,h.opacity="",h.pointerEvents=Sl(u?.pointerEvents)||"",h.transform=g?g(this.latestValues,""):"none",h;const v=this.getLead();if(!this.projectionDelta||!this.layout||!v.target){const E={};return this.options.layoutId&&(E.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,E.pointerEvents=Sl(u?.pointerEvents)||""),this.hasProjected&&!Qr(this.latestValues)&&(E.transform=g?g({},""):"none",this.hasProjected=!1),E}const w=v.animationValues||v.latestValues;this.applyTransformsToTarget(),h.transform=sP(this.projectionDeltaWithTransform,this.treeScale,w),g&&(h.transform=g(w,h.transform));const{x:S,y:j}=this.projectionDelta;h.transformOrigin=`${S.origin*100}% ${j.origin*100}% 0`,v.animationValues?h.opacity=v===this?(p=(f=w.opacity)!==null&&f!==void 0?f:this.latestValues.opacity)!==null&&p!==void 0?p:1:this.preserveOpacity?this.latestValues.opacity:w.opacityExit:h.opacity=v===this?w.opacity!==void 0?w.opacity:"":w.opacityExit!==void 0?w.opacityExit:0;for(const E in Dl){if(w[E]===void 0)continue;const{correct:b,applyTo:N}=Dl[E],T=h.transform==="none"?w[E]:b(w[E],v);if(N){const P=N.length;for(let R=0;R<P;R++)h[N[R]]=T}else h[E]=T}return this.options.layoutId&&(h.pointerEvents=v===this?Sl(u?.pointerEvents)||"":"none"),h}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(u=>{var f;return(f=u.currentAnimation)===null||f===void 0?void 0:f.stop()}),this.root.nodes.forEach(yy),this.root.sharedNodes.clear()}}}function hP(e){e.updateLayout()}function mP(e){var t;const r=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:s}=e.layout,{animationType:l}=e.options,u=r.source!==e.layout.source;l==="size"?Zt(v=>{const w=u?r.measuredBox[v]:r.layoutBox[v],S=Ut(w);w.min=i[v].min,w.max=w.min+S}):G0(l,r.layoutBox,i)&&Zt(v=>{const w=u?r.measuredBox[v]:r.layoutBox[v],S=Ut(i[v]);w.max=w.min+S,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[v].max=e.relativeTarget[v].min+S)});const f=Xo();gs(f,i,r.layoutBox);const p=Xo();u?gs(p,e.applyTransform(s,!0),r.measuredBox):gs(p,i,r.layoutBox);const h=!W0(f);let g=!1;if(!e.resumeFrom){const v=e.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:w,layout:S}=v;if(w&&S){const j=Qe();vs(j,r.layoutBox,w.layoutBox);const E=Qe();vs(E,i,S.layoutBox),U0(j,E)||(g=!0),v.options.layoutRoot&&(e.relativeTarget=E,e.relativeTargetOrigin=j,e.relativeParent=v)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:r,delta:p,layoutDelta:f,hasLayoutChanged:h,hasRelativeTargetChanged:g})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function gP(e){ps&&Zr.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function vP(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function yP(e){e.clearSnapshot()}function yy(e){e.clearMeasurements()}function xP(e){e.isLayoutDirty=!1}function wP(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function xy(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function bP(e){e.resolveTargetDelta()}function SP(e){e.calcProjection()}function CP(e){e.resetSkewAndRotation()}function EP(e){e.removeLeadSnapshot()}function wy(e,t,r){e.translate=He(t.translate,0,r),e.scale=He(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function by(e,t,r,i){e.min=He(t.min,r.min,i),e.max=He(t.max,r.max,i)}function jP(e,t,r,i){by(e.x,t.x,r.x,i),by(e.y,t.y,r.y,i)}function NP(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const TP={duration:.45,ease:[.4,0,.1,1]},Sy=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Cy=Sy("applewebkit/")&&!Sy("chrome/")?Math.round:$t;function Ey(e){e.min=Cy(e.min),e.max=Cy(e.max)}function PP(e){Ey(e.x),Ey(e.y)}function G0(e,t,r){return e==="position"||e==="preserve-aspect"&&!kT(my(t),my(r),.2)}function kP(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const RP=K0({attachResizeListener:(e,t)=>js(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Rd={current:void 0},q0=K0({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Rd.current){const e=new RP({});e.mount(window),e.setOptions({layoutScroll:!0}),Rd.current=e}return Rd.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),AP={pan:{Feature:HT},drag:{Feature:UT,ProjectionNode:q0,MeasureLayout:z0}};function jy(e,t,r){const{props:i}=e;e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",r==="Start");const s="onHover"+r,l=i[s];l&&Fe.postRender(()=>l(t,Ls(t)))}class MP extends Or{mount(){const{current:t}=this.node;t&&(this.unmount=mT(t,r=>(jy(this.node,r,"Start"),i=>jy(this.node,i,"End"))))}unmount(){}}class OP extends Or{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=_s(js(this.node.current,"focus",()=>this.onFocus()),js(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Ny(e,t,r){const{props:i}=e;e.animationState&&i.whileTap&&e.animationState.setActive("whileTap",r==="Start");const s="onTap"+(r==="End"?"":r),l=i[s];l&&Fe.postRender(()=>l(t,Ls(t)))}class IP extends Or{mount(){const{current:t}=this.node;t&&(this.unmount=xT(t,r=>(Ny(this.node,r,"Start"),(i,{success:s})=>Ny(this.node,i,s?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const df=new WeakMap,Ad=new WeakMap,_P=e=>{const t=df.get(e.target);t&&t(e)},LP=e=>{e.forEach(_P)};function DP({root:e,...t}){const r=e||document;Ad.has(r)||Ad.set(r,{});const i=Ad.get(r),s=JSON.stringify(t);return i[s]||(i[s]=new IntersectionObserver(LP,{root:e,...t})),i[s]}function FP(e,t,r){const i=DP(t);return df.set(e,r),i.observe(e),()=>{df.delete(e),i.unobserve(e)}}const VP={some:0,all:1};class zP extends Or{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:r,margin:i,amount:s="some",once:l}=t,u={root:r?r.current:void 0,rootMargin:i,threshold:typeof s=="number"?s:VP[s]},f=p=>{const{isIntersecting:h}=p;if(this.isInView===h||(this.isInView=h,l&&!h&&this.hasEnteredView))return;h&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",h);const{onViewportEnter:g,onViewportLeave:v}=this.node.getProps(),w=h?g:v;w&&w(p)};return FP(this.node.current,u,f)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:r}=this.node;["amount","margin","root"].some(BP(t,r))&&this.startObserver()}unmount(){}}function BP({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}const $P={inView:{Feature:zP},tap:{Feature:IP},focus:{Feature:OP},hover:{Feature:MP}},WP={layout:{ProjectionNode:q0,MeasureLayout:z0}},mp=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Ql=x.createContext({}),gp=typeof window<"u",Y0=gp?x.useLayoutEffect:x.useEffect,X0=x.createContext({strict:!1});function UP(e,t,r,i,s){var l,u;const{visualElement:f}=x.useContext(Ql),p=x.useContext(X0),h=x.useContext(Xl),g=x.useContext(mp).reducedMotion,v=x.useRef(null);i=i||p.renderer,!v.current&&i&&(v.current=i(e,{visualState:t,parent:f,props:r,presenceContext:h,blockInitialAnimation:h?h.initial===!1:!1,reducedMotionConfig:g}));const w=v.current,S=x.useContext(V0);w&&!w.projection&&s&&(w.type==="html"||w.type==="svg")&&HP(v.current,r,s,S);const j=x.useRef(!1);x.useInsertionEffect(()=>{w&&j.current&&w.update(r,h)});const E=r[C0],b=x.useRef(!!E&&!(!((l=window.MotionHandoffIsComplete)===null||l===void 0)&&l.call(window,E))&&((u=window.MotionHasOptimisedAnimation)===null||u===void 0?void 0:u.call(window,E)));return Y0(()=>{w&&(j.current=!0,window.MotionIsMounted=!0,w.updateFeatures(),hp.render(w.render),b.current&&w.animationState&&w.animationState.animateChanges())}),x.useEffect(()=>{w&&(!b.current&&w.animationState&&w.animationState.animateChanges(),b.current&&(queueMicrotask(()=>{var N;(N=window.MotionHandoffMarkAsComplete)===null||N===void 0||N.call(window,E)}),b.current=!1))}),w}
vendor: 3,546 bytes, line 10
10function HP(e,t,r,i){const{layoutId:s,layout:l,drag:u,dragConstraints:f,layoutScroll:p,layoutRoot:h}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:Q0(e.parent)),e.projection.setOptions({layoutId:s,layout:l,alwaysMeasureLayout:!!u||f&&Yo(f),visualElement:e,animationType:typeof l=="string"?l:"both",initialPromotionConfig:i,layoutScroll:p,layoutRoot:h})}function Q0(e){if(e)return e.options.allowProjection!==!1?e.projection:Q0(e.parent)}function KP(e,t,r){return x.useCallback(i=>{i&&e.mount&&e.mount(i),t&&(i?t.mount(i):t.unmount()),r&&(typeof r=="function"?r(i):Yo(r)&&(r.current=i))},[t])}function Zl(e){return Gl(e.animate)||Kf.some(t=>bs(e[t]))}function Z0(e){return!!(Zl(e)||e.variants)}function GP(e,t){if(Zl(e)){const{initial:r,animate:i}=e;return{initial:r===!1||bs(r)?r:void 0,animate:bs(i)?i:void 0}}return e.inherit!==!1?t:{}}function qP(e){const{initial:t,animate:r}=GP(e,x.useContext(Ql));return x.useMemo(()=>({initial:t,animate:r}),[Ty(t),Ty(r)])}function Ty(e){return Array.isArray(e)?e.join(" "):e}const Py={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"]},ii={};for(const e in Py)ii[e]={isEnabled:t=>Py[e].some(r=>!!t[r])};function YP(e){for(const t in e)ii[t]={...ii[t],...e[t]}}const XP=Symbol.for("motionComponentSymbol");function QP({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:i,Component:s}){e&&YP(e);function l(f,p){let h;const g={...x.useContext(mp),...f,layoutId:ZP(f)},{isStatic:v}=g,w=qP(f),S=i(f,v);if(!v&&gp){JP();const j=ek(g);h=j.MeasureLayout,w.visualElement=UP(s,S,g,t,j.ProjectionNode)}return c.jsxs(Ql.Provider,{value:w,children:[h&&w.visualElement?c.jsx(h,{visualElement:w.visualElement,...g}):null,r(s,f,KP(S,w.visualElement,p),S,v,w.visualElement)]})}const u=x.forwardRef(l);return u[XP]=s,u}function ZP({layoutId:e}){const t=x.useContext(pp).id;return t&&e!==void 0?t+"-"+e:e}function JP(e,t){x.useContext(X0).strict}function ek(e){const{drag:t,layout:r}=ii;if(!t&&!r)return{};const i={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}const tk=["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 vp(e){return typeof e!="string"||e.includes("-")?!1:!!(tk.indexOf(e)>-1||/[A-Z]/u.test(e))}function J0(e,{style:t,vars:r},i,s){Object.assign(e.style,t,s&&s.getProjectionStyles(i));for(const l in r)e.style.setProperty(l,r[l])}const ew=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 tw(e,t,r,i){J0(e,t,void 0,i);for(const s in t.attrs)e.setAttribute(ew.has(s)?s:dp(s),t.attrs[s])}function nw(e,{layout:t,layoutId:r}){return lo.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!Dl[e]||e==="opacity")}function yp(e,t,r){var i;const{style:s}=e,l={};
10for(const u in s)(wt(s[u])||t.style&&wt(t.style[u])||nw(u,e)||((i=r?.getValue(u))===null||i===void 0?void 0:i.liveStyle)!==void 0)&&(l[u]=s[u]);return l}function rw(e,t,r){const i=yp(e,t,r);for(const s in e)if(wt(e[s])||wt(t[s])){const l=Ms.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;i[l]=e[s]}return i}function xp(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}function nk({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},i,s,l){const u={latestValues:rk(i,s,l,e),renderState:t()};return r&&(u.mount=f=>r(i,f,u)),u}const ow=e=>(t,r)=>{const i=x.useContext(Ql),s=x.useContext(Xl),l=()=>nk(e,t,i,s);return r?l():xp(l)};function rk(e,t,r,i){const s={},l=i(e,{});for(const w in l)s[w]=Sl(l[w]);let{initial:u,animate:f}=e;const p=Zl(e),h=Z0(e);t&&h&&!p&&e.inherit!==!1&&(u===void 0&&(u=t.initial),f===void 0&&(f=t.animate));let g=r?r.initial===!1:!1;g=g||u===!1;const v=g?f:u;if(v&&typeof v!="boolean"&&!Gl(v)){const w=Array.isArray(v)?v:[v];for(let S=0;S<w.length;S++){const j=Uf(e,w[S]);if(j){const{transitionEnd:E,transition:b,...N}=j;for(const T in N){let P=N[T];if(Array.isArray(P)){const R=g?P.length-1:0;P=P[R]}P!==null&&(s[T]=P)}for(const T in E)s[T]=E[T]}}}return s}const wp=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),iw=()=>({...wp(),attrs:{}}),sw=(e,t)=>t&&typeof e=="number"?t.transform(e):e,ok={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ik=Ms.length;function sk(e,t,r){let i="",s=!0;for(let l=0;l<ik;l++){const u=Ms[l],f=e[u];if(f===void 0)continue;let p=!0;if(typeof f=="number"?p=f===(u.startsWith("scale")?1:0):p=parseFloat(f)===0,!p||r){const h=sw(f,ep[u]);if(!p){s=!1;const g=ok[u]||u;i+=`${g}(${h}) `}r&&(t[u]=h)}}return i=i.trim(),r?i=r(t,s?"":i):s&&(i="none"),i}function bp(e,t,r){const{style:i,vars:s,transformOrigin:l}=e;let u=!1,f=!1;for(const p in t){const h=t[p];if(lo.has(p)){u=!0;continue}else if(Zx(p)){s[p]=h;continue}else{const g=sw(h,ep[p]);p.startsWith("origin")?(f=!0,l[p]=g):i[p]=g}}if(t.transform||(u||r?i.transform=sk(t,e.transform,r):i.transform&&(i.transform="none")),f){const{originX:p="50%",originY:h="50%",originZ:g=0}=l;i.transformOrigin=`${p} ${h} ${g}`}}function ky(e,t,r){return typeof e=="string"?e:me.transform(t+r*e)}function ak(e,t,r){const i=ky(t,e.x,e.width),s=ky(r,e.y,e.height);return`${i} ${s}`}const lk={offset:"stroke-dashoffset",array:"stroke-dasharray"},ck={offset:"strokeDashoffset",array:"strokeDasharray"};function uk(e,t,r=1,i=0,s=!0){e.pathLength=1;const l=s?lk:ck;e[l.offset]=me.transform(-i);const u=me.transform(t),f=me.transform(r);e[l.array]=`${u} ${f}`}function Sp(e,{attrX:t,attrY:r,attrScale:i,originX:s,originY:l,pathLength:u,pathSpacing:f=1,pathOffset:p=0,...h},g,v){if(bp(e,h,v),g){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:w,style:S,dimensions:j}=e;w.transform&&(j&&(S.transform=w.transform),delete w.transform),j&&(s!==void 0||l!==void 0||S.transform)&&(S.transformOrigin=ak(j,s!==void 0?s:.5,l!==void 0?l:.5)),t!==void 0&&(w.x=t),r!==void 0&&(w.y=r),i!==void 0&&(w.scale=i),u!==void 0&&uk(w,u,f,p,!1)}const Cp=e=>typeof e=="string"&&e.toLowerCase()==="svg",dk={useVisualState:ow({scrapeMotionValuesFromProps:rw,createRenderState:iw,onMount:(e,t,{renderState:r,latestValues:i})=>{Fe.read(()=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}),Fe.render(()=>{Sp(r,i,Cp(t.tagName),e.transformTemplate),tw(t,r)})}})},fk={useVisualState:ow({scrapeMotionValuesFromProps:yp,createRenderState:wp})};function aw(e,t,r){for(const i in t)!wt(t[i])&&!nw(i,r)&&(e[i]=t[i])}function pk({transformTemplate:e},t){return x.useMemo(()=>{const r=wp();return bp(r,t,e),Object.assign({},r.vars,r.style)},[t])}function hk(e,t){const r=e.style||{},i={};return aw(i,r,e),Object.assign(i,pk(e,t)),i}function mk(e,t){const r={},i=hk(e,t);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}
10`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}const gk=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 Fl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||gk.has(e)}let lw=e=>!Fl(e);function vk(e){e&&(lw=t=>t.startsWith("on")?!Fl(t):e(t))}try{vk(require("@emotion/is-prop-valid").default)}catch{}function yk(e,t,r){const i={};for(const s in e)s==="values"&&typeof e.values=="object"||(lw(s)||r===!0&&Fl(s)||!t&&!Fl(s)||e.draggable&&s.startsWith("onDrag"))&&(i[s]=e[s]);return i}function xk(e,t,r,i){const s=x.useMemo(()=>{const l=iw();return Sp(l,t,Cp(i),e.transformTemplate),{...l.attrs,style:{...l.style}}},[t]);if(e.style){const l={};aw(l,e.style,e),s.style={...l,...s.style}}return s}function wk(e=!1){return(r,i,s,{latestValues:l},u)=>{const p=(vp(r)?xk:mk)(i,l,u,r),h=yk(i,typeof r=="string",e),g=r!==x.Fragment?{...h,...p,ref:s}:{},{children:v}=i,w=x.useMemo(()=>wt(v)?v.get():v,[v]);return x.createElement(r,{...g,children:w})}}function bk(e,t){return function(i,{forwardMotionProps:s}={forwardMotionProps:!1}){const u={...vp(i)?dk:fk,preloadedFeatures:e,useRender:wk(s),createVisualElement:t,Component:i};return QP(u)}}const ff={current:null},cw={current:!1};function Sk(){if(cw.current=!0,!!gp)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ff.current=e.matches;e.addListener(t),t()}else ff.current=!1}function Ck(e,t,r){for(const i in t){const s=t[i],l=r[i];if(wt(s))e.addValue(i,s);else if(wt(l))e.addValue(i,Es(s,{owner:e}));else if(l!==s)if(e.hasValue(i)){const u=e.getValue(i);u.liveStyle===!0?u.jump(s):u.hasAnimated||u.set(s)}else{const u=e.getStaticValue(i);e.addValue(i,Es(u!==void 0?u:s,{owner:e}))}}for(const i in r)t[i]===void 0&&e.removeValue(i);return t}const Ry=new WeakMap,Ek=[...t0,xt,Pr],jk=e=>Ek.find(e0(e)),Ay=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Nk{scrapeMotionValuesFromProps(t,r,i){return{}}constructor({parent:t,props:r,presenceContext:i,reducedMotionConfig:s,blockInitialAnimation:l,visualState:u},f={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Qf,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 w=Nn.now();this.renderScheduledAt<w&&(this.renderScheduledAt=w,Fe.render(this.render,!1,!0))};const{latestValues:p,renderState:h}=u;this.latestValues=p,this.baseTarget={...p},this.initialValues=r.initial?{...p}:{},this.renderState=h,this.parent=t,this.props=r,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=f,this.blockInitialAnimation=!!l,this.isControllingVariants=Zl(r),this.isVariantNode=Z0(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:g,...v}=this.scrapeMotionValuesFromProps(r,{},this);for(const w in v){const S=v[w];p[w]!==void 0&&wt(S)&&S.set(p[w],!1)}}mount(t){this.current=t,Ry.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
vendor: 13,908 bytes, lines 10-18
10h((r,i)=>this.bindToMotionValue(i,r)),cw.current||Sk(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:ff.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Ry.delete(this.current),this.projection&&this.projection.unmount(),Tr(this.notifyUpdate),Tr(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const r=this.features[t];r&&(r.unmount(),r.isMounted=!1)}this.current=null}bindToMotionValue(t,r){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const i=lo.has(t),s=r.on("change",f=>{this.latestValues[t]=f,this.props.onUpdate&&Fe.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),l=r.on("renderRequest",this.scheduleRender);let u;window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,t,r)),this.valueSubscriptions.set(t,()=>{s(),l(),u&&u(),r.owner&&r.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in ii){const r=ii[t];if(!r)continue;const{isEnabled:i,Feature:s}=r;if(!this.features[t]&&s&&i(this.props)&&(this.features[t]=new s(this)),this.features[t]){const l=this.features[t];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):Qe()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let i=0;i<Ay.length;i++){const s=Ay[i];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const l="on"+s,u=t[l];u&&(this.propEventSubscriptions[s]=this.on(s,u))}this.prevMotionValues=Ck(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){const i=this.values.get(t);r!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,r),this.values.set(t,r),this.latestValues[t]=r.get())}removeValue(t){this.values.delete(t);const r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return i===void 0&&r!==void 0&&(i=Es(r===null?void 0:r,{owner:this}),this.addValue(t,i)),i}readValue(t,r){var i;let s=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(i=this.getBaseTargetFromProps(this.props,t))!==null&&i!==void 0?i:this.readValueFromInstance(this.current,t,this.options);return s!=null&&(typeof s=="string"&&(Xx(s)||Yx(s))?s=parseFloat(s):!jk(s)&&Pr.test(r)&&(s=c0(t,r)),this.setBaseTarget(t,wt(s)?s.get():s)),wt(s)?s.get():s}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){var r;const{initial:i}=this.props;let s;if(typeof i=="string"||typeof i=="object"){const u=Uf(this.props,i,(r=this.presenceContext)===null||r===void 0?void 0:r.custom);u&&(s=u[t])}if(i&&s!==void 0)return s;const l=this.getBaseTargetFromProps(this.props,t);return l!==void 0&&!wt(l)?l:this.initialValues[t]!==void 0&&s===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new up),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}}class uw extends Nk{constructor(){super(...arguments),this.KeyframeResolver=u0}sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:i}){delete r[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;wt(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}}function Tk(e){return window.getComputedStyle(e)}class Pk extends uw{constructor(){super(...arguments),this.type="html",this.renderInstance=J0}readValueFromInstance(t,r){if(lo.has(r)){const i=tp(r);return i&&i.default||0}else{const i=Tk(t),s=(Zx(r)?i.getPropertyValue(r):i[r])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:r}){return D0(t,r)}build(t,r,i){bp(t,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,r,i){return yp(t,r,i)}}class kk extends uw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Qe}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(lo.has(r)){const i=tp(r);return i&&i.default||0}return r=ew.has(r)?r:dp(r),t.getAttribute(r)}scrapeMotionValuesFromProps(t,r,i){return rw(t,r,i)}build(t,r,i){Sp(t,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,r,i,s){tw(t,r,i,s)}mount(t){this.isSVGTag=Cp(t.tagName),super.mount(t)}}const Rk=(e,t)=>vp(e)?new kk(t):new Pk(t,{allowProjection:e!==x.Fragment}),Ak=bk({...pT,...$P,...AP,...WP},Rk),J=uj(Ak);class Mk extends x.Component{getSnapshotBeforeUpdate(t){const r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){const i=this.props.sizeRef.current;i.height=r.offsetHeight||0,i.width=r.offsetWidth||0,i.top=r.offsetTop,i.left=r.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Ok({children:e,isPresent:t}){const r=x.useId(),i=x.useRef(null),s=x.useRef({width:0,height:0,top:0,left:0}),{nonce:l}=x.useContext(mp);return x.useInsertionEffect(()=>{const{width:u,height:f,top:p,left:h}=s.current;if(t||!i.current||!u||!f)return;i.current.dataset.motionPopId=r;const g=document.createElement("style");return l&&(g.nonce=l),document.head.appendChild(g),g.sheet&&g.sheet.insertRule(`
11          [data-motion-pop-id="${r}"] {
12            position: absolute !important;
13            width: ${u}px !important;
14            height: ${f}px !important;
15            top: ${p}px !important;
16            left: ${h}px !important;
17          }
18        `),()=>{document.head.removeChild(g)}},[t]),c.jsx(Mk,{isPresent:t,childRef:i,sizeRef:s,children:x.cloneElement(e,{ref:i})})}const Ik=({children:e,initial:t,isPresent:r,onExitComplete:i,custom:s,presenceAffectsLayout:l,mode:u})=>{const f=xp(_k),p=x.useId(),h=x.useCallback(v=>{f.set(v,!0);for(const w of f.values())if(!w)return;i&&i()},[f,i]),g=x.useMemo(()=>({id:p,initial:t,isPresent:r,custom:s,onExitComplete:h,register:v=>(f.set(v,!1),()=>f.delete(v))}),l?[Math.random(),h]:[r,h]);return x.useMemo(()=>{f.forEach((v,w)=>f.set(w,!1))},[r]),x.useEffect(()=>{!r&&!f.size&&i&&i()},[r]),u==="popLayout"&&(e=c.jsx(Ok,{isPresent:r,children:e})),c.jsx(Xl.Provider,{value:g,children:e})};function _k(){return new Map}const il=e=>e.key||"";function My(e){const t=[];return x.Children.forEach(e,r=>{x.isValidElement(r)&&t.push(r)}),t}const Ds=({children:e,exitBeforeEnter:t,custom:r,initial:i=!0,onExitComplete:s,presenceAffectsLayout:l=!0,mode:u="sync"})=>{const f=x.useMemo(()=>My(e),[e]),p=f.map(il),h=x.useRef(!0),g=x.useRef(f),v=xp(()=>new Map),[w,S]=x.useState(f),[j,E]=x.useState(f);Y0(()=>{h.current=!1,g.current=f;for(let T=0;T<j.length;T++){const P=il(j[T]);p.includes(P)?v.delete(P):v.get(P)!==!0&&v.set(P,!1)}},[j,p.length,p.join("-")]);const b=[];if(f!==w){let T=[...f];for(let P=0;P<j.length;P++){const R=j[P],M=il(R);p.includes(M)||(T.splice(P,0,R),b.push(R))}u==="wait"&&b.length&&(T=b),E(My(T)),S(f);return}const{forceRender:N}=x.useContext(pp);return c.jsx(c.Fragment,{children:j.map(T=>{const P=il(T),R=f===j||p.includes(P),M=()=>{if(v.has(P))v.set(P,!0);else return;let F=!0;v.forEach(z=>{z||(F=!1)}),F&&(N?.(),E(g.current),s&&s())};return c.jsx(Ik,{isPresent:R,initial:!h.current||i?void 0:!1,custom:R?void 0:r,presenceAffectsLayout:l,mode:u,onExitComplete:R?void 0:M,children:T},P)})})};function dw(e){var t,r,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(r=dw(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function fw(){for(var e,t,r=0,i="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=dw(e))&&(i&&(i+=" "),i+=t);return i}const Ep="-",Lk=e=>{const t=Fk(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:u=>{const f=u.split(Ep);return f[0]===""&&f.length!==1&&f.shift(),pw(f,t)||Dk(u)},getConflictingClassGroupIds:(u,f)=>{const p=r[u]||[];return f&&i[u]?[...p,...i[u]]:p}}},pw=(e,t)=>{if(e.length===0)return t.classGroupId;const r=e[0],i=t.nextPart.get(r),s=i?pw(e.slice(1),i):void 0;if(s)return s;if(t.validators.length===0)return;const l=e.join(Ep);return t.validators.find(({validator:u})=>u(l))?.classGroupId},Oy=/^\[(.+)\]$/,Dk=e=>{if(Oy.test(e)){const t=Oy.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Fk=e=>{const{theme:t,prefix:r}=e,i={nextPart:new Map,validators:[]};return zk(Object.entries(e.classGroups),r).forEach(([l,u])=>{pf(u,i,l,t)}),i},pf=(e,t,r,i)=>{e.forEach(s=>{if(typeof s=="string"){const l=s===""?t:Iy(t,s);l.classGroupId=r;return}if(typeof s=="function"){if(Vk(s)){pf(s(i),t,r,i);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([l,u])=>{pf(u,Iy(t,l),r,i)})})},Iy=(e,t)=>{let r=e;return t.split(Ep).forEach(i=>{r.nextPart.has(i)||r.nextPart.set(i,{nextPart:new Map,validators:[]}),r=r.nextPart.get(i)}),r},Vk=e=>e.isThemeGetter,zk=(e,t)=>t?e.map(([r,i])=>{const s=i.map(l=>typeof l=="string"?t+l:typeof l=="object"?Object.fromEntries(Object.entries(l).map(([u,f])=>[t+u,f])):l);return[r,s]}):e,Bk=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,i=new Map;const s=(l,u)=>{r.set(l,u),t++,t>e&&(t=0,i=r,r=new Map)};return{get(l){let u=r.get(l);if(u!==void 0)return u;if((u=i.get(l))!==void 0)return s(l,u),u},set(l,u){r.has(l)?r.set(l,u):s(l,u)}}},hw="!",$k=e=>{const{separator:t,experimentalParseClassName:r}=e,i=t.length===1,s=t[0],l=t.length,u=f=>{const p=[];let h=0,g=0,v;for(let b=0;b<f.length;b++){let N=f[b];if(h===0){if(N===s&&(i||f.slice(b,b+l)===t)){p.push(f.slice(g,b)),g=b+l;continue}if(N==="/"){v=b;continue}}N==="["?h++:N==="]"&&h--}const w=p.length===0?f:f.substring(g),S=w.startsWith(hw),j=S?w.substring(1):w,E=v&&v>g?v-g:void 0;return{modifiers:p,hasImportantModifier:S,baseClassName:j,maybePostfixModifierPosition:E}};return r?f=>r({className:f,parseClassName:u}):u},Wk=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach(i=>{i[0]==="["?(t.push(...r.sort(),i),r=[]):r.push(i)}),t.push(...r.sort()),t},Uk=e=>({cache:Bk(e.cacheSize),parseClassName:$k(e),...Lk(e)}),Hk=/\s+/,Kk=(e,t)=>{const{parseClassName:r,getClassGroupId:i,getConflictingClassGroupIds:s}=t,l=[],u=e.trim().split(Hk);let f="";for(let p=u.length-1;p>=0;p-=1){const h=u[p],{modifiers:g,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:S}=r(h);let j=!!S,E=i(j?w.substring(0,S):w);if(!E){if(!j){f=h+(f.length>0?" "+f:f);continue}if(E=i(w),!E){f=h+(f.length>0?" "+f:f);continue}j=!1}const b=Wk(g).join(":"),N=v?b+hw:b,T=N+E;if(l.includes(T))continue;l.push(T);const P=s(E,j);for(let R=0;R<P.length;++R){const M=P[R];l.push(N+M)}f=h+(f.length>0?" "+f:f)}return f};function Gk(){let e=0,t,r,i="";for(;e<arguments.length;)(t=arguments[e++])&&(r=mw(t))&&(i&&(i+=" "),i+=r);return i}const mw=e=>{if(typeof e=="string")return e;let t,r="";for(let i=0;i<e.length;i++)e[i]&&(t=mw(e[i]))&&(r&&(r+=" "),r+=t);return r};function qk(e,...t){let r,i,s,l=u;function u(p){const h=t.reduce((g,v)=>v(g),e());return r=Uk(h),i=r.cache.get,s=r.cache.set,l=f,f(p)}function f(p){const h=i(p);if(h)return h;const g=Kk(p,r);return s(p,g),g}return function(){return l(Gk.apply(null,arguments))}}const De=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},gw=/^\[(?:([a-z-]+):)?(.+)\]$/i,Yk=/^\d+\/\d+$/,Xk=new Set(["px","full","screen"]),Qk=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Zk=/\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$/,Jk=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,eR=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,tR=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Bn=e=>ei(e)||Xk.has(e)||Yk.test(e),Sr=e=>pi(e,"length",cR),ei=e=>!!e&&!Number.isNaN(Number(e)),Md=e=>pi(e,"number",ei),cs=e=>!!e&&Number.isInteger(Number(e)),nR=e=>e.endsWith("%")&&ei(e.slice(0,-1)),be=e=>gw.test(e),Cr=e=>Qk.test(e),rR=new Set(["length","size","percentage"]),oR=e=>pi(e,rR,vw),iR=e=>pi(e,"position",vw),sR=new Set(["image","url"]),aR=e=>pi(e,sR,dR),lR=e=>pi(e,"",uR),us=()=>!0,pi=(e,t,r)=>{const i=gw.exec(e);return i?i[1]?typeof t=="string"?i[1]===t:t.has(i[1]):r(i[2]):!1},cR=e=>Zk.test(e)&&!Jk.test(e),vw=()=>!1,uR=e=>eR.test(e),dR=e=>tR.test(e),fR=()=>{const e=De("colors"),t=De("spacing"),r=De("blur"),i=De("brightness"),s=De("borderColor"),l=De("borderRadius"),u=De("borderSpacing"),f=De("borderWidth"),p=De("
18contrast"),h=De("grayscale"),g=De("hueRotate"),v=De("invert"),w=De("gap"),S=De("gradientColorStops"),j=De("gradientColorStopPositions"),E=De("inset"),b=De("margin"),N=De("opacity"),T=De("padding"),P=De("saturate"),R=De("scale"),M=De("sepia"),F=De("skew"),z=De("space"),$=De("translate"),X=()=>["auto","contain","none"],ee=()=>["auto","hidden","clip","visible","scroll"],se=()=>["auto",be,t],K=()=>[be,t],le=()=>["",Bn,Sr],q=()=>["auto",ei,be],he=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],oe=()=>["solid","dashed","dotted","double","none"],Z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],V=()=>["start","end","center","between","around","evenly","stretch"],Y=()=>["","0",be],H=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[ei,be];return{cacheSize:500,separator:":",theme:{colors:[us],spacing:[Bn,Sr],blur:["none","",Cr,be],brightness:I(),borderColor:[e],borderRadius:["none","","full",Cr,be],borderSpacing:K(),borderWidth:le(),contrast:I(),grayscale:Y(),hueRotate:I(),invert:Y(),gap:K(),gradientColorStops:[e],gradientColorStopPositions:[nR,Sr],inset:se(),margin:se(),opacity:I(),padding:K(),saturate:I(),scale:I(),sepia:Y(),skew:I(),space:K(),translate:K()},classGroups:{aspect:[{aspect:["auto","square","video",be]}],container:["container"],columns:[{columns:[Cr]}],"break-after":[{"break-after":H()}],"break-before":[{"break-before":H()}],"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:[...he(),be]}],overflow:[{overflow:ee()}],"overflow-x":[{"overflow-x":ee()}],"overflow-y":[{"overflow-y":ee()}],overscroll:[{overscroll:X()}],"overscroll-x":[{"overscroll-x":X()}],"overscroll-y":[{"overscroll-y":X()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[E]}],"inset-x":[{"inset-x":[E]}],"inset-y":[{"inset-y":[E]}],start:[{start:[E]}],end:[{end:[E]}],top:[{top:[E]}],right:[{right:[E]}],bottom:[{bottom:[E]}],left:[{left:[E]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",cs,be]}],basis:[{basis:se()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",be]}],grow:[{grow:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",cs,be]}],"grid-cols":[{"grid-cols":[us]}],"col-start-end":[{col:["auto",{span:["full",cs,be]},be]}],"col-start":[{"col-start":q()}],"col-end":[{"col-end":q()}],"grid-rows":[{"grid-rows":[us]}],"row-start-end":[{row:["auto",{span:[cs,be]},be]}],"row-start":[{"row-start":q()}],"row-end":[{"row-end":q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",be]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",be]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"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:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[z]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[z]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",be,t]}],"min-w":[{"min-w":[be,t,"min","max","fit"]}],"max-w":[{"max-w":[be,t,"none","full","min","max","fit","prose",{screen:[Cr]},Cr]}],h:[{h:[be,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[be,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[be,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[be,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Cr,Sr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Md]}],"font-family":[{font:[us]}],"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",be]}],"line-clamp":[{"line-clamp":["none",ei,Md]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Bn,be]}],"list-image":[{"list-image":["none",be]}],"list-style-type":[{list:["none","disc","decimal",be]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[N]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[N]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...oe(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Bn,Sr]}],"underline-offset":[{"underline-offset":["auto",Bn,be]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:K()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",be]}],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",be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[N]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...he(),iR]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",oR]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},aR]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[j]}
18],"gradient-via-pos":[{via:[j]}],"gradient-to-pos":[{to:[j]}],"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:[f]}],"border-w-x":[{"border-x":[f]}],"border-w-y":[{"border-y":[f]}],"border-w-s":[{"border-s":[f]}],"border-w-e":[{"border-e":[f]}],"border-w-t":[{"border-t":[f]}],"border-w-r":[{"border-r":[f]}],"border-w-b":[{"border-b":[f]}],"border-w-l":[{"border-l":[f]}],"border-opacity":[{"border-opacity":[N]}],"border-style":[{border:[...oe(),"hidden"]}],"divide-x":[{"divide-x":[f]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[f]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[N]}
vendor: 4,470 bytes, line 18
18],"divide-style":[{divide:oe()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...oe()]}],"outline-offset":[{"outline-offset":[Bn,be]}],"outline-w":[{outline:[Bn,Sr]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:le()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[N]}],"ring-offset-w":[{"ring-offset":[Bn,Sr]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Cr,lR]}],"shadow-color":[{shadow:[us]}],opacity:[{opacity:[N]}],"mix-blend":[{"mix-blend":[...Z(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Z()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[i]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",Cr,be]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[v]}],saturate:[{saturate:[P]}],sepia:[{sepia:[M]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[i]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[N]}],"backdrop-saturate":[{"backdrop-saturate":[P]}],"backdrop-sepia":[{"backdrop-sepia":[M]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[u]}],"border-spacing-x":[{"border-spacing-x":[u]}],"border-spacing-y":[{"border-spacing-y":[u]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",be]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",be]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",be]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[R]}],"scale-x":[{"scale-x":[R]}],"scale-y":[{"scale-y":[R]}],rotate:[{rotate:[cs,be]}],"translate-x":[{"translate-x":[$]}],"translate-y":[{"translate-y":[$]}],"skew-x":[{"skew-x":[F]}],"skew-y":[{"skew-y":[F]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",be]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",be]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":K()}],"scroll-mx":[{"scroll-mx":K()}],"scroll-my":[{"scroll-my":K()}],"scroll-ms":[{"scroll-ms":K()}],"scroll-me":[{"scroll-me":K()}],"scroll-mt":[{"scroll-mt":K()}],"scroll-mr":[{"scroll-mr":K()}],"scroll-mb":[{"scroll-mb":K()}],"scroll-ml":[{"scroll-ml":K()}],"scroll-p":[{"scroll-p":K()}],"scroll-px":[{"scroll-px":K()}],"scroll-py":[{"scroll-py":K()}],"scroll-ps":[{"scroll-ps":K()}],"scroll-pe":[{"scroll-pe":K()}],"scroll-pt":[{"scroll-pt":K()}],"scroll-pr":[{"scroll-pr":K()}],"scroll-pb":[{"scroll-pb":K()}],"scroll-pl":[{"scroll-pl":K()}],"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",be]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Bn,Sr,Md]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","
18none"]}]},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"]}}},pR=qk(fR);function $e(...e){return pR(fw(e))}function _y(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function yw(...e){return t=>{let r=!1;const i=e.map(s=>{const l=_y(s,t);return!r&&typeof l=="function"&&(r=!0),l});if(r)return()=>{for(let s=0;s<i.length;s++){const l=i[s];typeof l=="function"?l():_y(e[s],null)}}}}function ro(...e){return x.useCallback(yw(...e),e)}var Ns=x.forwardRef((e,t)=>{const{children:r,...i}=e,s=x.Children.toArray(r),l=s.find(mR);if(l){const u=l.props.children,f=s.map(p=>p===l?x.Children.count(u)>1?x.Children.only(null):x.isValidElement(u)?u.props.children:null:p);return c.jsx(hf,{...i,ref:t,children:x.isValidElement(u)?x.cloneElement(u,void 0,f):null})}return c.jsx(hf,{...i,ref:t,children:r})});Ns.displayName="Slot";var hf=x.forwardRef((e,t)=>{const{children:r,...i}=e;if(x.isValidElement(r)){const s=vR(r);return x.cloneElement(r,{...gR(i,r.props),ref:t?yw(t,s):s})}return x.Children.count(r)>1?x.Children.only(null):null});hf.displayName="SlotClone";var hR=({children:e})=>c.jsx(c.Fragment,{children:e});function mR(e){return x.isValidElement(e)&&e.type===hR}function gR(e,t){const r={...t};for(const i in t){const s=e[i],l=t[i];/^on[A-Z]/.test(i)?s&&l?r[i]=(...f)=>{l(...f),s(...f)}:s&&(r[i]=s):i==="style"?r[i]={...s,...l}:i==="className"&&(r[i]=[s,l].filter(Boolean).join(" "))}return{...e,...r}}function vR(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}const Ly=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Dy=fw,jp=(e,t)=>r=>{var i;if(t?.variants==null)return Dy(e,r?.class,r?.className);const{variants:s,defaultVariants:l}=t,u=Object.keys(s).map(h=>{const g=r?.[h],v=l?.[h];if(g===null)return null;const w=Ly(g)||Ly(v);return s[h][w]}),f=r&&Object.entries(r).reduce((h,g)=>{let[v,w]=g;return w===void 0||(h[v]=w),h},{}),p=t==null||(i=t.compoundVariants)===null||i===void 0?void 0:i.reduce((h,g)=>{let{class:v,className:w,...S}=g;return Object.entries(S).every(j=>{let[E,b]=j;return Array.isArray(b)?b.includes({...l,...f}[E]):{...l,...f}[E]===b})?[...h,v,w]:h},[]);return Dy(e,u,p,r?.class,r?.className)},yR=jp("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Re=x.forwardRef(({className:e,variant:t,size:r,asChild:i=!1,...s},l)=>{const u=i?Ns:"button";return c.jsx(u,{className:$e(yR({variant:t,size:r,className:e})),ref:l,...s})});Re.displayName="Button";const xR=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),xw=(...e)=>e.filter((t,r,i)=>!!t&&t.trim()!==""&&i.indexOf(t)===r).join(" ").trim();var wR={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 bR=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:i,className:s="",children:l,iconNode:u,...f},p)=>x.createElement("svg",{ref:p,...wR,width:t,height:t,stroke:e,strokeWidth:i?Number(r)*24/Number(t):r,className:xw("lucide",s),...f},[...u.map(([h,g])=>x.createElement(h,g)),...Array.isArray(l)?l:[l]]));const de=(e,t)=>{const r=x.forwardRef(({className:i,...s},l)=>x.createElement(bR,{ref:l,iconNode:t,className:xw(`lucide-${xR(e)}`,i),...s}));return r.displayName=`${e}`,r};const SR=de("Apple",[["path",{d:"M12 20.94c1.5 0 2.75 1.06 4 1.06 3 0 6-8 6-12.22A4.91 4.91 0 0 0 17 5c-2.22 0-4 1.44-5 2-1-.56-2.78-2-5-2a4.9 4.9 0 0 0-5 4.78C2 14 5 22 8 22c1.25 0 2.5-1.06 4-1.06Z",key:"3s7exb"}],["path",{d:"M10 2c1 .5 2 2 2 5",key:"fcco2y"}]]);const Fs=de("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);const $o=de("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);const CR=de("Baby",[["path",{d:"M9 12h.01",key:"157uk2"}],["path",{d:"M15 12h.01",key:"1k8ypt"}],["path",{d:"M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5",key:"1u7htd"}],["path",{d:"M19 6.3a9 9 0 0 1 1.8 3.9 2 2 0 0 1 0 3.6 9 9 0 0 1-17.6 0 2 2 0 0 1 0-3.6A9 9 0 0 1 12 3c2 0 3.5 1.1 3.5 2.5s-.9 2.5-2 2.5c-.8 0-1.5-.4-1.5-1",key:"5yv0yz"}]]);const ww=de("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);const ER=de("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);const jR=de("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}
18],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);const NR=de("Bus",[["path",{d:"M8 6v6",key:"18i7km"}],["path",{d:"M15 6v6",key:"1sg6z9"}],["path",{d:"M2 12h19.6",key:"de5uta"}],["path",{d:"M18 18h3s.5-1.7.8-2.8c.1-.4.2-.8.2-1.2 0-.4-.1-.8-.2-1.2l-1.4-5C20.1 6.8 19.1 6 18 6H4a2 2 0 0 0-2 2v10h3",key:"1wwztk"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}],["path",{d:"M9 18h5",key:"lrx6i"}],["circle",{cx:"16",cy:"18",r:"2",key:"1v4tcr"}]]);const TR=de("CalendarDays",[["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"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);const co=de("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 bw=de("Car",[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]]);const PR=de("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);const Sw=de("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);const kR=de("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);const RR=de("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);const AR=de("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);const MR=de("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 Cl=de("CirclePlay",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"10 8 16 12 10 16 10 8",key:"1cimsy"}]]);const Vs=de("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);const Np=de("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);const OR=de("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);const Jl=de("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 IR=de("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);const _R=de("FolderHeart",[["path",{d:"M11 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v1.5",key:"6hud8k"}],["path",{d:"M13.9 17.45c-1.2-1.2-1.14-2.8-.2-3.73a2.43 2.43 0 0 1 3.44 0l.36.34.34-.34a2.43 2.43 0 0 1 3.45-.01c.95.95 1 2.53-.2 3.74L17.5 21Z",key:"wpff58"}]]);const LR=de("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);const DR=de("Headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]]);const FR=de("HeartPulse",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}],["path",{d:"M3.22 12H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"1uw2ng"}]]);const kr=de("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);const VR=de("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);const Cw=de("Laptop",[["path",{d:"M20 16V7a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v9m16 0H4m16 0 1.28 2.55a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45L4 16",key:"tarvll"}]]);const Ew=de("Leaf",[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]]);const zR=de("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);const BR=de("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);const $R=de("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);const si=de("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);const uo=de("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);const WR=de("Megaphone",[["path",{d:"m3 11 18-5v12L3 14v-3z",key:"n962bs"}],["path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6",key:"1yl0tm"}]]);const UR=de("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);const HR=de("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);const jw=de("Mic",[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]]);const Nw=de("Music",[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]);const KR=de("PartyPopper",[["path",{d:"M5.8 11.3 2 22l10.7-3.79",key:"gwxi1d"}],["path",{d:"M4 3h.01",key:"1vcuye"}],["path",{d:"M22 8h.01",key:"1mrtc2"}],["path",{d:"M15 2h.01",key:"1cjtqr"}],["path",{d:"M22 20h.01",key:"1mrys2"}],["path",{d:"m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10",key:"hbicv8"}],["path",{d:"m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11c-.11.7-.72 1.22-1.43 1.22H17",key:"1i94pl"}],["path",{d:"m11 2 .33.82c.34.86-.2 1.82-1.11 1.98C9.52 4.9 9 5.52 9 6.23V7",key:"1cofks"}],["path",{d:"M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z",key:"4kbmks"}]]);const Tp=de("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);const Pp=de("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);const GR=de("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);const qR=de("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);const kp=de("Smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);const Tw=de("Ticket",[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M13 5v2",key:"dyzc3o"}],["path",{d:"M13 17v2",key:"1ont0d"}],["path",{d:"M13 11v2",key:"1wjjxi"}]]);const YR=de("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);const XR=de("Truck",[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]);const QR=de("UserX",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"17",x2:"22",y1:"8",y2:"13",key:"3nzzx3"}],["line",{x1:"22",x2:"17",y1:"8",y2:"13",key:"1swrse"}]]);const Yn=de("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);const ZR=de("UtensilsCrossed",[["path",{d:"m16 2-2.3 2.3a3 3 0 0 0 0 4.2l1.8 1.8a3 3 0 0 0 4.2 0L22 8",key:"n7qcjb"}],["path",{d:"M15 15 3.3 3.3a4.2 4.2 0 0 0 0 6l7.3 7.3c.7.7 2 .7 2.8 0L15 15Zm0 0 7 7",key:"d0u48b"}],["path",{d:"m2.1 21.8 6.4-6.3",key:"yn04lh"}],["path",{d:"m19 5-7 7",key:"194lzd"}]]);const JR=de("Utensils",[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}
18],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]]);const eA=de("Video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);const ec=de("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);const mf=de("Youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]),hi=()=>{const[e,t]=x.useState(!1),[r,i]=x.useState(!1),s=tr();x.useEffect(()=>{const f=()=>{t(window.scrollY>20)};return window.addEventListener("scroll",f),()=>window.removeEventListener("scroll",f)},[]),x.useEffect(()=>{i(!1)},[s.pathname]);const l=[{name:"Home",path:"/"},{name:"Events",path:"/events"},{name:"Outreach 419",path:"/outreach-419"},{name:"Community Service",path:"/communityservice"},{name:"Media",path:"/media"},{name:"Support",path:"/support"}],u=()=>{const f=document.getElementById("campaign-section");f&&f.scrollIntoView({behavior:"smooth"})};return c.jsx("header",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-500 border-b ${e?"bg-background/95 backdrop-blur-xl shadow-premium border-border/50 py-3":"bg-background/70 backdrop-blur-sm py-5 md:py-6 border-transparent"}`,children:c.jsxs("div",{className:"container-custom",children:[c.jsxs("nav",{className:"flex items-center justify-between",children:[c.jsxs(Vt,{to:"/",className:"flex items-center gap-3 group",children:[c.jsx("img",{src:"https://horizons-cdn.hostinger.com/2e0a0993-347d-46d4-a97c-b7a6035af4ed/208a8d255d113a56b14e324f324806f5.png",alt:"Sober Events Logo",className:"h-10 md:h-12 w-auto object-contain transition-transform duration-500 group-hover:scale-105"}),c.jsxs("div",{className:"hidden sm:flex flex-col justify-center",children:[c.jsx("span",{className:"font-extrabold text-xl md:text-2xl leading-tight text-foreground tracking-tight group-hover:text-primary transition-colors",children:"Sober Events"}),c.jsx("span",{className:"text-[10px] uppercase tracking-widest text-muted-foreground font-semibold",children:"Not Boring"})]})]}),c.jsxs("div",{className:"hidden lg:flex items-center space-x-8",children:[l.map(f=>{const p=s.pathname===f.path;return c.jsxs(Vt,{to:f.path,className:`text-sm font-bold tracking-wide transition-all duration-300 relative group px-2 py-1 ${p?"text-primary":"text-foreground hover:text-primary"}`,children:[f.name,c.jsx("span",{className:`absolute -bottom-1 left-0 h-0.5 bg-primary transition-all duration-300 rounded-full ${p?"w-full":"w-0 group-hover:w-full"}`})]},f.path)}),c.jsx(Re,{onClick:u,className:"bg-primary hover:bg-primary/90 text-primary-foreground font-bold shadow-premium transition-all duration-300 hover:scale-105 rounded-full px-6 py-5",children:"$500k Campaign"})]}),c.jsx("button",{onClick:()=>i(!r),className:"lg:hidden p-2 text-foreground hover:text-primary transition-colors focus:outline-none","aria-label":"Toggle menu",children:r?c.jsx(ec,{size:28}):c.jsx(UR,{size:28})})]}),c.jsx(Ds,{children:r&&c.jsx(J.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.3,ease:"easeInOut"},className:"lg:hidden overflow-hidden",children:c.jsxs("div",{className:"py-6 space-y-4 border-t border-border mt-4",children:[l.map(f=>{const p=s.pathname===f.path;return c.jsx(Vt,{to:f.path,className:`block py-3 text-lg font-bold transition-colors text-center rounded-lg ${p?"text-primary bg-primary/10":"text-foreground hover:text-primary hover:bg-muted"}`,children:f.name},f.path)}),c.jsx(Re,{onClick:u,size:"lg",className:"w-full bg-primary hover:bg-primary/90 text-primary-foreground font-bold mt-6 rounded-xl py-6 shadow-premium",children:"Support $500k Campaign"})]})})})]})})},mi=()=>{x.useEffect(()=>{const r=document.createElement("script");r.src="https://js.givebutter.com/elements/latest.js",r.async=!0,document.body.appendChild(r);const i=document.createElement("script");return i.src="https://donatestock.com/easy-button/js/dseb.js",i.async=!0,document.body.appendChild(i),()=>{document.body.contains(r)&&document.body.removeChild(r),document.body.contains(i)&&document.body.removeChild(i)}},[]);const e=[{icon:Yn,title:"Get Help",description:"Connect with peer support and recovery resources",link:"/support",internal:!0},{icon:Np,title:"Donate",description:"Support recovery infrastru
18cture",link:"https://givebutter.com/build-the-lifeline-outreach-419-capital-campaign-cmrh7d",internal:!1},{icon:co,title:"Events",description:"Join community gatherings and festivals",link:"/events",internal:!0},{icon:DR,title:"Download App",description:"Get Sober Not Boring on iOS & Android",link:"https://sobernotboring.com",internal:!1},{icon:kr,title:"Volunteer",description:"Give your time to build community",link:"/support",internal:!0},{icon:si,title:"Contact",description:"Reach out with questions or partnership ideas",link:"/support",internal:!0}],t=[{icon:IR,href:"https://www.facebook.com/sobernotboringevents",label:"Facebook"},{icon:mf,href:"https://www.youtube.com/@sobernotboring",label:"YouTube"},{icon:BR,href:"https://www.linkedin.com/in/robertjwoldhuis/",label:"LinkedIn"},{icon:si,href:"mailto:[email protected]",label:"Email"}];return c.jsxs("footer",{className:"relative bg-gradient-to-b from-[#0a1128] to-black text-white pt-24 pb-12 overflow-hidden",children:[c.jsx(Gn,{children:c.jsx("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:'window.dsebConfig = { dsebEIN: "993741249" };'}})}),c.jsx("div",{className:"absolute top-0 left-1/4 w-96 h-96 bg-primary/10 rounded-full blur-[120px] pointer-events-none"}),c.jsx("div",{className:"absolute bottom-0 right-1/4 w-96 h-96 bg-accent/10 rounded-full blur-[120px] pointer-events-none"}),c.jsxs("div",{className:"relative z-10 container mx-auto px-4 sm:px-6 lg:px-8",children:[c.jsxs("div",{id:"campaign-section",className:"mb-20 scroll-mt-32",children:[c.jsxs("div",{className:"text-center mb-12",children:[c.jsxs("h2",{className:"text-4xl sm:text-5xl font-extrabold mb-6 tracking-tight text-white",children:["Support Our ",c.jsx("span",{className:"text-primary",children:"$500k"})," Capital Campaign"]}),c.jsx("p",{className:"text-xl text-white/80 max-w-3xl mx-auto font-medium",children:"See why investing in Outreach 419 isn’t charity — it’s one of the highest-impact community investments possible, generating $600+ in social return for every $1"})]}),c.jsx("div",{className:"flex justify-center",children:c.jsx(Re,{asChild:!0,size:"lg",className:"bg-primary hover:bg-primary/90 text-primary-foreground font-extrabold text-xl px-10 py-7 rounded-full shadow-premium hover:shadow-primary/30 transition-all duration-300 hover:scale-105 group",children:c.jsxs("a",{href:"https://givebutter.com/build-the-lifeline-outreach-419-capital-campaign-cmrh7d",target:"_blank",rel:"noopener noreferrer",children:[c.jsx(kr,{className:"mr-3 w-6 h-6"}),"Donate Now"]})})})]}),c.jsxs("div",{className:"mb-20 border-t border-white/10 pt-16",children:[c.jsx("h3",{className:"text-3xl font-extrabold text-white mb-12 text-center",children:"Take Action"}),c.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 max-w-6xl mx-auto",children:e.map((r,i)=>r.internal?c.jsx(Vt,{to:r.link,className:"bg-white/5 backdrop-blur-md border border-white/10 rounded-2xl p-6 hover:bg-white/10 transition-all duration-300 group shadow-premium hover:-translate-y-1",children:c.jsxs("div",{className:"flex items-start gap-4",children:[c.jsx("div",{className:"w-12 h-12 rounded-xl bg-primary/20 flex items-center justify-center flex-shrink-0 group-hover:bg-primary group-hover:scale-110 transition-all duration-300",children:c.jsx(r.icon,{className:"w-6 h-6 text-primary group-hover:text-primary-foreground",strokeWidth:2.5})}),c.jsxs("div",{children:[c.jsx("h4",{className:"text-lg font-bold text-white mb-2 group-hover:text-primary transition-colors",children:r.title}),c.jsx("p",{className:"text-white/70 text-sm",children:r.description})]})]})},i):c.jsx("a",{href:r.link,target:"_blank",rel:"noopener noreferrer",className:"bg-white/5 backdrop-blur-md border border-white/10 rounded-2xl p-6 hover:bg-white/10 transition-all duration-300 group shadow-premium hover:-translate-y-1",children:c.jsxs("div",{className:"flex items-start gap-4",children:[c.jsx("div",{className:"w-12 h-12 rounded-xl bg-primary/20 flex items-center justify-center flex-shrink-0 group-hover:bg-primary group-hover:scale-110 transition-all duration-300",children:c.jsx(r.icon,{className:"w-6 h-6 text-primary group-hover:text-primary-foreground",strokeWidth:2.5})}),c.jsxs("div",{children:[c.jsx("h4",{className:"text-lg font-bold text-white mb-2 group-hover:text-primary transition-colors",children:r.title}),c.jsx("p",{className:"text-white/70 text-sm",children:r.description})]})]})},i))})]}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-12 gap-12 mb-16 border-t border-white/10 pt-16",children:[c.jsxs("div",{className:"md:col-span-5 space-y-8",children:[c.jsx(Vt,{to:"/",className:"inline-block group",children:c.jsxs("div",{className:"flex items-center gap-3",children:[c.jsx("img",{src:"https://horizons-cdn.hostinger.com/2e0a0993-347d-46d4-a97c-b7a6035af4ed/208a8d255d113a56b14e324f324806f5.png",alt:"Sober Events Logo",className:"h-16 w-auto object-contain transition-transform group-hover:scale-105"}),c.jsxs("div",{children:[c.jsx("span",{className:"block font-extrabold text-2xl tracking-tight text-white group-hover:text-primary transition-colors",children:"Sober Events"}),c.jsx("span",{className:"block text-xs uppercase tracking-widest text-white/60 font-semibold",children:"Not Boring"})]})]})}),c.jsx("p",{className:"text-xl text-white font-bold leading-relaxed border-l-4 border-primary pl-4",children:"Sober Events is building recovery infrastru
18cture through connection, community, and action."}),c.jsxs("div",{className:"space-y-4 bg-white/5 backdrop-blur-md rounded-2xl p-6 border border-white/10",children:[c.jsxs("div",{className:"flex items-start gap-3",children:[c.jsx(Vs,{className:"w-5 h-5 text-primary mt-1 flex-shrink-0"}),c.jsxs("div",{children:[c.jsx("p",{className:"text-white font-bold mb-2",children:"Outreach 419 Center Hours:"}),c.jsx("p",{className:"text-white/80 text-sm",children:"Monday - Friday: 9am - 8pm"}),c.jsx("p",{className:"text-white/80 text-sm",children:"Saturday: 11am - 7pm"}),c.jsx("p",{className:"text-white/80 text-sm",children:"Sunday: 10am - 3pm"})]})]}),c.jsxs("div",{className:"flex items-start gap-3",children:[c.jsx(uo,{className:"w-5 h-5 text-primary mt-1 flex-shrink-0"}),c.jsxs("div",{children:[c.jsx("p",{className:"text-white font-semibold",children:"Location:"}),c.jsx("p",{className:"text-white/80 text-sm",children:"Outreach 419"}),c.jsx("p",{className:"text-white/80 text-sm",children:"235 W Fenwick Rd"}),c.jsx("p",{className:"text-white/80 text-sm",children:"Fenwick, MI 48834"})]})]}),c.jsxs("div",{className:"flex items-start gap-3",children:[c.jsx(Tp,{className:"w-5 h-5 text-primary mt-1 flex-shrink-0"}),c.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:text-white transition-colors font-bold text-sm border-b border-primary/30 hover:border-white",children:"[email protected]"})]})]}),c.jsxs("div",{className:"flex gap-4 items-center",children:[c.jsx("a",{href:"https://app.candid.org/profile/15737456/sober-events/?pkId=5ce4322c-f38c-4100-aff8-ce8e8aac2eaf&isActive=true",target:"_blank",rel:"noopener noreferrer",className:"transition-transform hover:scale-105",children:c.jsx("img",{src:"https://horizons-cdn.hostinger.com/2e0a0993-347d-46d4-a97c-b7a6035af4ed/db7c13b4440ae7e347c171b58112237d.png",alt:"Candid Platinum Seal of Transparency",className:"h-20 w-auto object-contain bg-white/10 rounded p-2"})}),c.jsx("img",{src:"https://horizons-cdn.hostinger.com/2e0a0993-347d-46d4-a97c-b7a6035af4ed/bfa63e7bc6d886f15d45f13cdec855c0.jpg",alt:"Greenville Area Chamber of Commerce Member",className:"h-20 w-auto object-contain bg-white/10 rounded p-2"})]})]}),c.jsxs("div",{className:"md:col-span-3 md:ml-auto",children:[c.jsx("h3",{className:"font-bold text-xl mb-6 text-white tracking-wide",children:"Quick Links"}),c.jsxs("nav",{className:"space-y-3",children:[c.jsxs(Vt,{to:"/",className:"flex items-center text-white/70 hover:text-primary transition-colors text-lg group w-fit",children:[c.jsx($o,{className:"w-4 h-4 mr-2 opacity-0 -ml-6 group-hover:opacity-100 group-hover:ml-0 transition-all duration-300"}),c.jsx("span",{children:"Home"})]}),c.jsxs(Vt,{to:"/events",className:"flex items-center text-white/70 hover:text-primary transition-colors text-lg group w-fit",children:[c.jsx($o,{className:"w-4 h-4 mr-2 opacity-0 -ml-6 group-hover:opacity-100 group-hover:ml-0 transition-all duration-300"}),c.jsx("span",{children:"Events"})]}),c.jsxs(Vt,{to:"/outreach-419",className:"flex items-center text-white/70 hover:text-primary transition-colors text-lg group w-fit",children:[c.jsx($o,{className:"w-4 h-4 mr-2 opacity-0 -ml-6 group-hover:opacity-100 group-hover:ml-0 transition-all duration-300"}),c.jsx("span",{children:"Outreach 419"})]}),c.jsxs(Vt,{to:"/media",className:"flex items-center text-white/70 hover:text-primary transition-colors text-lg group w-fit",children:[c.jsx($o,{className:"w-4 h-4 mr-2 opacity-0 -ml-6 group-hover:opacity-100 group-hover:ml-0 transition-all duration-300"}),c.jsx("span",{children:"Podcast & Media"})]}),c.jsxs(Vt,{to:"/support",className:"flex items-center text-white/70 hover:text-primary transition-colors text-lg group w-fit",children:[c.jsx($o,{className:"w-4 h-4 mr-2 opacity-0 -ml-6 group-hover:opacity-100 group-hover:ml-0 transition-all duration-300"}),c.jsx("span",{children:"Support"})]}),c.jsxs("a",{href:"https://app.candid.org/profile/15737456/sober-events/?pkId=5ce4322c-f38c-4100-aff8-ce8e8aac2eaf&isActive=true",target:"_blank",rel:"noopener noreferrer",className:"flex items-center text-white/70 hover:text-primary transition-colors text-lg group w-fit",children:[c.jsx($o,{className:"w-4 h-4 mr-2 opacity-0 -ml-6 group-hover:opacity-100 group-hover:ml-0 transition-all duration-300"}),c.jsx("span",{children:"Candid Profile"})]})]})]}),c.jsxs("div",{className:"md:col-span-4 md:ml-auto",children:[c.jsx("h3",{className:"font-bold text-xl mb-6 text-white tracking-wide",children:"Connect With Us"}),c.jsx("div",{className:"flex gap-3 mb-8",children:t.map((r,i)=>c.jsx("a",{href:r.href,target:r.href.startsWith("mailto:")?void 0:"_blank",rel:r.href.startsWith("mailto:")?void 0:"noopener noreferrer","aria-label":r.label,className:"w-12 h-12 rounded-full bg-white/5 border border-white/10 hover:bg-primary hover:border-primary hover:text-primary-foreground flex items-center justify-center transition-all duration-300 shadow-lg hover:-translate-y-1",children:c.jsx(r.icon,{size:20})},i))})]})]}),c.jsxs("div",{className:"border-t border-white/10 pt-8 flex flex-col md:flex-row justify-between items-center gap-4 text-white/50 text-sm font-medium",children:[c.jsxs("p",{children:["© ",new Date().getFullYear()," Sober Events. All rights reserved."]}),c.jsxs("div",{className:"flex gap-6",children:[c.jsx("span",{children:"EIN: 99-3741249"}),c.jsx("span",{children:"501(c)(3) Status"})]})]})]})]})},tA=(e=[],t=5e3)=>{const[r,i]=x.useState(0);x.useEffect(()=>{if(!e||e.length===0)return;const u=setInterval(()=>{i(f=>(f+1)%e.length)},t);return()=>clearInterval(u)},[e,t]);const s=u=>{u>=0&&u<e.length&&i(u)};return{currentImageUrl:e[r]||"",currentIndex:r,setImage:s,totalImages:e.length}},Pw=({imageUrls:e=[],overlayColor:t="rgba(0, 0, 0, 0.5)",overlayOpacity:r=.5,children:i,intervalMs:s=5e3,className:l=""})=>{const{currentIndex:u}=tA(e,s);return c.jsxs("div",{className:`relative w-full h-full overflow-hidden ${l}`,children:[c.jsx("div",{className:"absolute inset-0",children:e.map((f,p)=>c.jsx("div",{className:"absolute inset-0 bg-cover bg-center transition-opacity duration-1000 ease-in-out",style:{backgroundImage:`url('${f}')`,opacity:u===p?1:0,zIndex:u===p?1:0}
18,role:"img","aria-label":`Background image ${p+1} of ${e.length}`},f))}),c.jsx("div",{className:"absolute inset-0 z-10",style:{background:t,opacity:r}}),c.jsx("div",{className:"relative z-20 w-full h-full",children:i})]})},nA=()=>{const e=["https://images.unsplash.com/photo-1597120590849-a1d5a743d155?q=80&w=2400","https://images.unsplash.com/photo-1541097404307-1273796e0940?q=80&w=2400","https://images.unsplash.com/photo-1687893982145-27b2bcc5121f?q=80&w=2400","https://images.unsplash.com/photo-1563299796-b729d0af54a5?q=80&w=2400","https://images.unsplash.com/photo-1692271916392-91f71cd48bc7?q=80&w=2400","https://images.unsplash.com/photo-1698795635774-b077032941f0?q=80&w=2400"];return c.jsx("section",{className:"relative min-h-screen flex items-center justify-center overflow-hidden",children:c.jsxs(Pw,{imageUrls:e,overlayColor:"linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6))",overlayOpacity:1,intervalMs:5e3,children:[c.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 py-32 flex flex-col items-center justify-center min-h-screen",children:c.jsxs("div",{className:"max-w-5xl mx-auto text-center mt-12 md:mt-20",children:[c.jsx(J.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:.8,delay:.2,ease:"easeOut"},children:c.jsxs("h1",{className:"text-5xl sm:text-6xl md:text-7xl lg:text-8xl font-extrabold text-white mb-8 leading-[1.1] tracking-tight drop-shadow-2xl",children:["Building Recovery ",c.jsx("br",{className:"hidden md:block"}),c.jsx("span",{className:"text-primary drop-shadow-[0_0_15px_rgba(251,191,36,0.3)]",children:"Infrastructure"})]})}),c.jsx(J.p,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.4,ease:"easeOut"},className:"text-lg sm:text-xl md:text-2xl text-white/95 mb-12 leading-relaxed font-medium max-w-4xl mx-auto drop-shadow-lg",children:"Recovery doesn't happen in isolation. We build the community that makes it possible."}),c.jsxs(J.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.6,ease:"easeOut"},className:"flex flex-col sm:flex-row gap-5 justify-center items-center",children:[c.jsx(Re,{asChild:!0,size:"lg",className:"w-full sm:w-auto bg-primary hover:bg-primary/90 text-primary-foreground font-extrabold text-lg px-10 py-7 rounded-full shadow-premium transition-all duration-300 hover:scale-105 group",children:c.jsxs("a",{href:"https://givebutter.com/build-the-lifeline-outreach-419-capital-campaign-cmrh7d",target:"_blank",rel:"noopener noreferrer",children:["Support $500k Campaign",c.jsx(Fs,{className:"ml-3 group-hover:translate-x-1.5 transition-transform",size:22})]})}),c.jsxs(Re,{onClick:()=>{const t=document.getElementById("ecosystem-section");t&&t.scrollIntoView({behavior:"smooth"})},size:"lg",variant:"outline",className:"w-full sm:w-auto bg-white/5 hover:bg-white/10 text-white border-2 border-white/20 backdrop-blur-md font-bold text-lg px-10 py-7 rounded-full transition-all duration-300 hover:scale-105 shadow-premium",children:[c.jsx(Cl,{className:"mr-3",size:22}),"Explore Our Mission"]})]})]})}),c.jsx(J.div,{initial:{opacity:0}
18,animate:{opacity:1},transition:{duration:1,delay:1.2},className:"absolute bottom-10 left-1/2 transform -translate-x-1/2",children:c.jsx(J.div,{animate:{y:[0,12,0]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},className:"w-7 h-12 border-2 border-white/30 rounded-full flex items-start justify-center p-2 backdrop-blur-sm bg-black/10",children:c.jsx(J.div,{animate:{height:["20%","40%","20%"],opacity:[.5,1,.5]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},className:"w-1.5 bg-primary rounded-full"})})})]})})},rA=()=>{const e=[{icon:KR,title:"Sober Events",description:"Building community through substance-free fun and connection.",details:"From Sober Fest to bowling nights, roller skating parties, color runs, and parades—we create spaces where people can connect, celebrate, and belong without substances.",color:"text-primary",bgIcon:"bg-primary/10"},{icon:Yn,title:"Outreach 419",description:"RCO-aligned peer support and life skills development.",details:"Providing recovery-oriented peer support, life skills training, and our innovative workforce lab—empowering individuals to build sustainable, fulfilling lives in recovery.",color:"text-accent",bgIcon:"bg-accent/10"},{icon:WR,title:"Sober Not Boring",description:"Media LLC amplifying recovery voices and careers.",details:"Our media production company trains and hires program participants, creating professional opportunities while showcasing that recovery is vibrant, dynamic, and anything but boring.",color:"text-secondary",bgIcon:"bg-secondary/10"}];return c.jsxs("section",{id:"ecosystem-section",className:"relative py-24 md:py-32 bg-background overflow-hidden",children:[c.jsx("div",{className:"absolute top-0 inset-x-0 h-px bg-gradient-to-r from-transparent via-border to-transparent"}),c.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_top_right,_var(--tw-gradient-stops))] from-primary/5 via-background to-background"}),c.jsxs("div",{className:"relative z-10 container mx-auto px-4 sm:px-6 lg:px-8",children:[c.jsxs(J.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"text-center mb-20",children:[c.jsx("h2",{className:"text-4xl sm:text-5xl md:text-6xl font-extrabold text-foreground mb-6 tracking-tight",children:"Our Recovery Ecosystem"}),c.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground max-w-3xl mx-auto font-medium",children:"Three interconnected programs working in harmony to create lasting recovery infrastructure and transform lives."})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 md:gap-10",children:e.map((t,r)=>c.jsxs(J.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:r*.2},className:"card-premium h-full flex flex-col p-8 md:p-10",children:[c.jsxs("div",{className:"mb-8",children:[c.jsx("div",{className:`w-20 h-20 rounded-2xl ${t.bgIcon} flex items-center justify-center mb-6 shadow-inner transform -rotate-3 transition-transform group-hover:rotate-0`,children:c.jsx(t.icon,{size:40,className:t.color,strokeWidth:1.5})}),c.jsx("h3",{className:"text-2xl md:text-3xl font-bold text-foreground mb-3 tracking-tight",children:t.title}),c.jsx("p",{className:"text-lg font-semibold text-foreground/80 mb-4",children:t.description})]}),c.jsx("div",{className:"mt-auto",children:c.jsx("p",{className:"text-muted-foreground leading-relaxed text-base",children:t.details})})]},r))})]})]})},oA=()=>c.jsx("section",{className:"section-padding bg-background",children:c.jsx("div",{className:"container-custom",children:c.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 lg:gap-16 items-center",children:[c.jsxs(J.div,{initial:{opacity:0,x:-40},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.7},children:[c.jsx("h2",{className:"font-extrabold text-foreground mb-6",children:"Who We Are"}),c.jsxs("div",{className:"space-y-6 text-lg text-muted-foreground leading-relaxed",children:[c.jsxs("p",{children:[c.jsx("span",{className:"font-bold text-foreground",children:"Sober Events"})," is a Michigan-based nonprofit dedicated to building the recovery infrastru
18cture rural communities desperately need."]}),c.jsxs("p",{children:["Founded by people in recovery, for people in recovery, we understand firsthand that ",c.jsx("span",{className:"font-semibold text-foreground",children:"recovery doesn't happen in isolation"}),"—it happens in community."]}),c.jsxs("p",{children:["Through our flagship programs like ",c.jsx("span",{className:"font-semibold text-foreground",children:"Outreach 419"}),", ",c.jsx("span",{className:"font-semibold text-foreground",children:"Sober Not Boring App"}),", and ",c.jsx("span",{className:"font-semibold text-foreground",children:"Sober Fest MI"}),", we provide daily support, peer connection, transportation, workforce training, and family-friendly events that prove recovery can be fun, fulfilling, and sustainable."]}),c.jsxs("p",{children:["We're not just offering programs—we're building ",c.jsx("span",{className:"font-semibold text-foreground",children:"permanent infrastructure"})," that gives people real pathways to lasting recovery."]})]}),c.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 mt-8",children:[c.jsx(Re,{asChild:!0,size:"lg",className:"bg-primary hover:bg-primary/90 text-primary-foreground font-semibold px-8 py-6 text-base transition-all hover:scale-105 group",children:c.jsxs("a",{href:"https://www.outreach419.com",target:"_blank",rel:"noopener noreferrer",children:["Explore Our Programs",c.jsx(Fs,{className:"ml-2 group-hover:translate-x-1 transition-transform",size:20})]})}),c.jsx(Re,{asChild:!0,size:"lg",variant:"outline",className:"border-2 border-primary text-primary hover:bg-primary hover:text-primary-foreground font-semibold px-8 py-6 text-base transition-all hover:scale-105",children:c.jsxs("a",{href:"mailto:[email protected]",children:[c.jsx(si,{className:"mr-2",size:20}),"Get Involved"]})})]})]}),c.jsxs(J.div,{initial:{opacity:0,x:40},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.7},className:"relative",children:[c.jsx("div",{className:"relative rounded-3xl overflow-hidden shadow-premium aspect-video lg:aspect-[4/3] w-full",children:c.jsx("iframe",{className:"absolute top-0 left-0 w-full h-full",src:"https://www.youtube.com/embed/kFBQpTk4S38",title:"Sober Events Who We Are Video",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})}),c.jsxs(J.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:.3},className:"absolute -bottom-6 -left-6 bg-card text-card-foreground rounded-2xl p-6 shadow-premium border border-border/20 z-10 hidden sm:block",children:[c.jsx("div",{className:"text-4xl font-extrabold text-primary mb-2",children:"250+"}),c.jsx("div",{className:"text-sm font-semibold text-muted-foreground",children:"People Served Weekly"})]})]})]})})}),iA=({icon:e,number:t,label:r,delay:i=0})=>c.jsxs(J.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:i,duration:.5},className:"card-premium p-8 text-center group h-full flex flex-col items-center justify-center",children:[c.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 rounded-full bg-primary/10 text-primary mb-6 group-hover:bg-primary group-hover:text-primary-foreground transition-all duration-300 flex-shrink-0",children:c.jsx(e,{size:32,strokeWidth:2.5})}),c.jsx("div",{className:"text-4xl md:text-5xl font-extrabold text-foreground mb-3 tracking-tight leading-tight",children:t}),c.jsx("div",{className:"text-base md:text-lg text-muted-foreground font-medium leading-relaxed",children:r})]}),sA=({icon:e,title:t,description:r,delay:i=0,link:s})=>{const l=s?.startsWith("mailto:"),u=s?.startsWith("tel:"),f=s?.startsWith("http://")||s?.startsWith("https://")||s?.startsWith("www."),p=w=>w?w.startsWith("www.")?`https://${w}`:w:"#",h=()=>l?c.jsx(si,{size:18,className:"group-hover:translate-x-1 transition-transform"}):u?c.jsx(Tp,{size:18,className:"group-hover:translate-x-1 transition-transform"}):f?c.jsx(Jl,{size:18,className:"group-hover:translate-x-1 transition-transform"}):c.jsx(Fs,{size:18,className:"group-hover:translate-x-1 transition-transform"}),g=()=>l?"Send Email":u?"Call Now":f?"Visit Website":"Learn More",v=c.jsxs(c.Fragment,{children:[c.jsx("div",{className:"inline-flex items-center justify-center w-14 h-14 roun
18ded-xl bg-primary/10 text-primary mb-6 group-hover:bg-primary group-hover:text-primary-foreground transition-all duration-300 group-hover:scale-110",children:c.jsx(e,{size:28,strokeWidth:2.5})}),c.jsx("h3",{className:"text-2xl font-bold text-foreground mb-4 tracking-tight group-hover:text-primary transition-colors",children:t}),c.jsx("p",{className:"text-muted-foreground leading-relaxed mb-4",children:r}),s&&c.jsxs("div",{className:"flex items-center gap-2 text-primary font-semibold text-sm group-hover:gap-4 transition-all",children:[g(),h()]})]});return c.jsx(J.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:i,duration:.5},className:"card-premium p-8 group cursor-pointer",children:s?c.jsx("a",{href:p(s),target:f?"_blank":void 0,rel:f?"noopener noreferrer":void 0,className:"block h-full focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2 rounded-xl","aria-label":`${t} - ${g()}`,children:v}):c.jsx("div",{className:"h-full",children:v})})},aA=({icon:e,title:t,description:r,solution:i,delay:s=0})=>c.jsx(J.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:s,duration:.5},className:"card-premium p-8 group",children:c.jsxs("div",{className:"flex items-start gap-6",children:[c.jsx("div",{className:"flex-shrink-0",children:c.jsx("div",{className:"inline-flex items-center justify-center w-12 h-12 rounded-lg bg-destructive/10 text-destructive group-hover:bg-primary/10 group-hover:text-primary transition-all duration-300",children:c.jsx(e,{size:24,strokeWidth:2.5})})}),c.jsxs("div",{className:"flex-1",children:[c.jsx("h4",{className:"text-xl font-bold text-foreground mb-3 tracking-tight",children:t}),c.jsx("p",{className:"text-muted-foreground mb-4 leading-relaxed",children:r}),c.jsxs("div",{className:"border-l-4 border-primary pl-4",children:[c.jsx("p",{className:"text-sm font-semibold text-primary mb-1",children:"Our Response:"}),c.jsx("p",{className:"text-foreground font-medium",children:i})]})]})]})}),lA=()=>{const e=[{icon:ww,title:"Courses",desc:"Access exclusive recovery-focused educational content."},{icon:Yn,title:"Community Partners",desc:"Connect with local organizations and supportive businesses."},{icon:HR,title:"Group Chat",desc:"Engage in supportive, ad-free community discussions."},{icon:kr,title:"Recovery Resources",desc:"Find vital tools and immediate support whenever needed."}];return c.jsxs("section",{className:"relative py-32 md:py-40 bg-secondary overflow-hidden",children:[c.jsx("div",{className:"absolute inset-0 bg-cover bg-center opacity-30 mix-blend-overlay grayscale",style:{backgroundImage:"url('https://images.unsplash.com/photo-1648134859182-98df6e93ef58?q=80&w=2000')"}}),c.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-secondary/95 via-secondary/90 to-secondary"}),c.jsx("div",{className:"relative z-20 container mx-auto px-4 sm:px-6 lg:px-8",children:c.jsxs("div",{className:"flex flex-col lg:flex-row items-center justify-between gap-20",children:[c.jsxs("div",{className:"w-full lg:w-1/2 text-center lg:text-left space-y-12",children:[c.jsx(J.img,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},src:"https://horizons-cdn.hostinger.com/2e0a0993-347d-46d4-a97c-b7a6035af4ed/78ef8e6b390bbdaec0f56d717b6a8871.png",alt:"Sober Not Boring logo",className:"h-36 md:h-44 mx-auto lg:mx-0 object-contain drop-shadow-2xl"}),c.jsxs(J.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.2},children:[c.jsx("h2",{className:"text-5xl sm:text-6xl md:text-7xl font-extrabold text-white mb-8 leading-[1.1] tracking-tight",children:"Join the Sober Not Boring App"}),c.jsx("p",{className:"text-2xl md:text-3xl text-primary font-bold leading-tight mb-6 drop-shadow-lg",children:"The first recovery-centered digital community built to make sobriety connected, modern, and engaging."}),c.jsx("p",{className:"text-xl md:text-2xl text-white/90 leading-relaxed font-medium mb-12 max-w-2xl mx-auto lg:mx-0",children:"All recovery, all the time. Access courses, connect with partners, join group chats, and find resources—without the ads and noise. A premium social experience built explicitly for recovery."})]}),c.jsxs(J.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.4},className:"flex flex-col sm:flex-row gap-6 justify-center lg:justify-start",children:[c.jsx(Re,{asChild:!0,size:"lg",className:"bg-white hover:bg-gray-100 text-secondary font-bold px-10 py-8 h-auto flex items-center gap-4 roun
18ded-2xl shadow-premium transition-transform hover:-translate-y-1 hover:scale-105",children:c.jsxs("a",{href:"https://apps.apple.com/us/app/sober-not-boring/id6748838113",target:"_blank",rel:"noopener noreferrer",children:[c.jsx(kp,{className:"w-9 h-9"}),c.jsxs("div",{className:"text-left",children:[c.jsx("div",{className:"text-xs leading-none mb-1 uppercase tracking-widest text-secondary/70 font-bold",children:"Download on the"}),c.jsx("div",{className:"text-2xl leading-none font-extrabold",children:"App Store"})]})]})}),c.jsx(Re,{asChild:!0,size:"lg",className:"bg-white hover:bg-gray-100 text-secondary font-bold px-10 py-8 h-auto flex items-center gap-4 rounded-2xl shadow-premium transition-transform hover:-translate-y-1 hover:scale-105",children:c.jsxs("a",{href:"https://play.google.com/store/apps/details?id=com.createcommunity.sobernotboring",target:"_blank",rel:"noopener noreferrer",children:[c.jsx(OR,{className:"w-9 h-9"}),c.jsxs("div",{className:"text-left",children:[c.jsx("div",{className:"text-xs leading-none mb-1 uppercase tracking-widest text-secondary/70 font-bold",children:"GET IT ON"}),c.jsx("div",{className:"text-2xl leading-none font-extrabold",children:"Google Play"})]})]})})]}),c.jsx(J.div,{initial:{opacity:0}
18,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.6},className:"pt-8 flex justify-center lg:justify-start",children:c.jsx(Re,{asChild:!0,size:"lg",className:"bg-primary hover:bg-primary/90 text-primary-foreground font-extrabold text-xl px-12 py-8 h-auto flex items-center gap-3 rounded-2xl shadow-premium transition-transform hover:-translate-y-1 hover:scale-105 w-full sm:w-auto",children:c.jsxs("a",{href:"https://www.sobernotboring.app",target:"_blank",rel:"noopener noreferrer",children:["Visit Sober Not Boring App",c.jsx(Jl,{className:"w-6 h-6 ml-2"})]})})})]}),c.jsx("div",{className:"w-full lg:w-1/2",children:c.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-8",children:e.map((t,r)=>c.jsxs(J.div,{initial:{opacity:0,x:40},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:.2+r*.1,type:"spring",stiffness:100},className:"bg-white/5 backdrop-blur-xl border border-white/10 p-10 rounded-3xl hover:bg-white/10 transition-all duration-300 shadow-premium group",children:[c.jsx("div",{className:"w-16 h-16 rounded-2xl bg-primary/20 flex items-center justify-center mb-8 group-hover:scale-110 transition-transform",children:c.jsx(t.icon,{className:"w-8 h-8 text-primary"})}),c.jsx("h3",{className:"text-2xl font-bold text-white mb-4 tracking-tight",children:t.title}),c.jsx("p",{className:"text-white/70 text-lg leading-relaxed",children:t.desc})]},r))})})]})})]})},cA=()=>{const e=[{url:"https://www.youtube.com/embed/jE1BDhoJ5JA",title:"Recovery Journey Story 1"},{url:"https://www.youtube.com/embed/tzlumg-9AR0",title:"Recovery Journey Story 2"},{url:"https://www.youtube.com/embed/3K5-T9JkYmc",title:"Recovery Journey Story 3"}];return c.jsx("section",{className:"section-padding bg-background",children:c.jsxs("div",{className:"container-custom",children:[c.jsxs(J.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-16",children:[c.jsxs("div",{className:"inline-flex items-center gap-3 mb-6",children:[c.jsx(Pp,{className:"w-12 h-12 text-primary",strokeWidth:2.5}),c.jsx("h2",{className:"font-extrabold text-foreground uppercase tracking-wide",children:"Real Stories. Real Recovery."})]}),c.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground max-w-3xl mx-auto",children:"Hear directly from people in our community about their recovery journey."})]}),c.jsx("div",{className:"video-grid",children:e.map((t,r)=>c.jsx(J.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.15,duration:.6},className:"group",children:c.jsx("div",{className:"video-container group-hover:shadow-2xl transition-shadow duration-300",children:c.jsx("iframe",{src:t.url,title:t.title,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"rounded-2xl"})})},r))})]})})},kw=()=>{const e=[{icon:bw,amount:"$10",frequency:"month",impact:"Helps cover rides to treatment, meetings, and appointments—removing critical barriers to recovery."},{icon:ZR,amount:"$25",frequency:"month",impact:"Helps us cover the homecooked meals we serve on Friday night, bringing people together over food."},{icon:co,amount:"$50",frequency:"month",impact:"Helps cover events we do with the recovery community, creating spaces for connection and joy."}];return c.jsx("section",{className:"section-padding bg-gradient-to-b from-muted/30 to-background",children:c.jsxs("div",{className:"container-custom",children:[c.jsxs(J.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-16",children:[c.jsxs("h2",{className:"text-4xl sm:text-5xl md:text-6xl font-extrabold text-foreground mb-8 max-w-4xl mx-auto leading-tight",children:["Not everyone can give big.",c.jsx("span",{className:"block mt-3 text-primary",children:"But together, small monthly support builds something massive."})]}),c.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground max-w-3xl mx-auto",children:"Your recurring gift creates stability, allows us to plan ahead, and builds sustainable programs that transform lives."})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 mb-12 max-w-6xl mx-auto",children:e.map((t,r)=>c.jsxs(J.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.15,duration:.6},className:"impact-card",children:[c.jsx("div",{className:"inline-flex items-center justify-center w-20 h-20 rounded-full bg-primary/10 text-primary mb-6 group-hover:bg-primary group-hover:text-primary-foreground transition-all duration-300 group-hover:scale-110",children:c.jsx(t.icon,{size:36,strokeWidth:2.5})}),c.jsx("div",{className:"mb-6",children:c.jsxs("div",{className:"impact-amount",children:[t.amount,c.jsxs("span",{className:"text-2xl font-bold text-muted-foreground",children:["/",t.frequency]})]})}),c.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:t.impact})]},r))}),c.jsxs(J.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.5},className:"text-center",children:[c.jsx(Re,{asChild:!0,size:"lg",className:"bg-primary hover:bg-primary/90 text-primary-foreground font-extrabold text-xl px-14 py-8 rounded-full shadow-premium transition-all duration-300 hover:scale-105 group",children:c.jsxs("a",{href:"https://givebutter.com/build-the-lifeline-outreach-419-capital-campaign-cmrh7d",target:"_blank",rel:"noopener noreferrer",children:[c.jsx(kr,{className:"mr-3 w-6 h-6 group-hover:scale-110 transition-transform"}),"Give Monthly"]})}),c.jsx("p",{className:"mt-6 text-muted-foreground text-lg font-medium",children:"Every dollar goes directly to programs and people. Join our community of monthly supporters today."})]})]})})},uA=()=>c.jsxs("section",{className:"section-padding bg-secondary text-secondary-foreground relative overflow-hidden",children:[c.jsx("div",{className:"absolute inset-0 opacity-5",children:c.jsx("div",{className:"absolute inset-0",style:{backgroundImage:"radial-gradient(circle at 2px 2px, currentColor 1px, transparent 0)",backgroundSize:"40px 40px"}})}),c.jsxs("div",{className:"container-custom relative z-10",children:[c.jsxs(J.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-16",children:[c.jsx("h2",{className:"font-extrabold mb-6",children:"Support Our $500k Capital Campaign"}),c.jsx("p",{className:"text-xl md:text-2xl text-secondary-foreground
18/80 max-w-3xl mx-auto mb-12",children:"Help us build the permanent recovery infrastructure rural Michigan desperately needs"}),c.jsx("div",{className:"max-w-5xl mx-auto mb-12",children:c.jsx("div",{className:"relative w-full rounded-2xl overflow-hidden shadow-premium",style:{paddingBottom:"56.25%"},children:c.jsx("iframe",{className:"absolute top-0 left-0 w-full h-full",src:"https://www.youtube.com/embed/_OWMpOeXdN4",title:"Sober Events Capital Campaign Video",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})})})]}),c.jsx(J.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"flex justify-center",children:c.jsx(Re,{size:"lg",className:"bg-primary hover:bg-primary/90 text-primary-foreground font-semibold px-8 py-6 text-lg shadow-premium hover:shadow-xl transition-all hover:scale-105",onClick:()=>{const e=document.getElementById("donation-section");e&&e.scrollIntoView({behavior:"smooth"})},children:"Support the Campaign"})})]})]}),Rw=()=>{const e=["https://images.unsplash.com/photo-1597120590849-a1d5a743d155?q=80&w=2400","https://images.unsplash.com/photo-1541097404307-1273796e0940?q=80&w=2400","https://images.unsplash.com/photo-1687893982145-27b2bcc5121f?q=80&w=2400","https://images.unsplash.com/photo-1563299796-b729d0af54a5?q=80&w=2400","https://images.unsplash.com/photo-1692271916392-91f71cd48bc7?q=80&w=2400","https://images.unsplash.com/photo-1698795635774-b077032941f0?q=80&w=2400"],t=[{icon:kr,label:"Monthly Support",description:"Creates sustainable programs and stability"},{icon:Np,label:"$500k Goal",description:"Capital campaign for permanent infrastru
18cture"},{icon:Yn,label:"Community Impact",description:"Your gift directly serves 250+ people weekly"}];return c.jsx("section",{id:"donation-section",className:"relative min-h-screen flex items-center justify-center overflow-hidden",children:c.jsx(Pw,{imageUrls:e,overlayColor:"linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.8))",overlayOpacity:1,intervalMs:6e3,children:c.jsx("div",{className:"container-custom py-24 md:py-32 flex items-center justify-center min-h-screen",children:c.jsxs(J.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"max-w-5xl mx-auto text-center text-white",children:[c.jsxs("h2",{className:"text-4xl sm:text-5xl md:text-6xl lg:text-7xl font-extrabold mb-8 tracking-tight drop-shadow-2xl",children:["Your Gift ",c.jsx("span",{className:"text-primary drop-shadow-[0_0_15px_rgba(251,191,36,0.3)]",children:"Creates Hope"})]}),c.jsx(J.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.2,duration:.6},className:"text-xl md:text-2xl text-white/95 mb-12 leading-relaxed drop-shadow-lg max-w-4xl mx-auto",children:"Monthly donors create stability and long-term impact. Recurring gifts allow us to plan ahead, hire staff, and build sustainable programs that transform lives in our community."}),c.jsx(J.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.4,duration:.6},className:"grid grid-cols-1 md:grid-cols-3 gap-6 mb-12",children:t.map((r,i)=>c.jsxs("div",{className:"bg-white/10 backdrop-blur-md border border-white/20 rounded-2xl p-6 hover:bg-white/15 transition-all duration-300 hover:scale-105 shadow-premium",children:[c.jsx("div",{className:"inline-flex items-center justify-center w-14 h-14 rounded-full bg-primary/20 text-primary mb-4",children:c.jsx(r.icon,{size:28,strokeWidth:2.5})}),c.jsx("h3",{className:"text-xl font-bold text-white mb-2",children:r.label}),c.jsx("p",{className:"text-white/80 text-sm",children:r.description})]},i))}),c.jsxs(J.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.6,duration:.6},className:"flex flex-col sm:flex-row gap-5 justify-center items-center mb-12",children:[c.jsx(Re,{asChild:!0,size:"lg",className:"w-full sm:w-auto bg-primary hover:bg-primary/90 text-primary-foreground font-extrabold text-xl px-12 py-8 rounded-full shadow-premium transition-all duration-300 hover:scale-105",children:c.jsx("a",{href:"https://givebutter.com/build-the-lifeline-outreach-419-capital-campaign-cmrh7d",target:"_blank",rel:"noopener noreferrer",children:"Give Monthly"})}),c.jsx(Re,{asChild:!0,size:"lg",variant:"outline",className:"w-full sm:w-auto bg-white/10 hover:bg-white/20 backdrop-blur-md text-white border-2 border-white/30 hover:border-white font-bold text-lg px-10 py-7 rounded-full shadow-premium transition-all duration-300 hover:scale-105",children:c.jsx("a",{href:"https://givebutter.com/build-the-lifeline-outreach-419-capital-campaign-cmrh7d",target:"_blank",rel:"noopener noreferrer",children:"One Time Gift"})})]}),c.jsxs(J.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.8,duration:.6},className:"pt-8 border-t border-white/20",children:[c.jsx("p",{className:"text-lg text-white/90 mb-6 font-semibold drop-shadow-lg",children:"Help us reach our $500k capital campaign goal to build permanent recovery infrastructure"}),c.jsx(Re,{asChild:!0,size:"lg",className:"bg-accent hover:bg-accent/90 text-accent-foreground font-extrabold text-xl px-12 py-8 rounded-full shadow-premium transition-all duration-300 hover:scale-105",children:c.jsx("a",{href:"https://givebutter.com/build-the-lifeline-outreach-419-capital-campaign-cmrh7d",target:"_blank",rel:"noopener noreferrer",children:"Support the Campaign"})})]})]})})})})};function Bt(e,t,{checkForDefaultPrevented:r=!0}={}){return function(s){if(e?.(s),r===!1||!s.defaultPrevented)return t?.(s)}}function Aw(e,t=[]){let r=[];function i(l,u){const f=x.createContext(u),p=r.length;r=[...r,u];const h=v=>{const{scope:w,children:S,...j}=v,E=w?.[e]?.[p]||f,b=x.useMemo(()=>j,Object.values(j));return c.jsx(E.Provider,{value:b,children:S})};h.displayName=l+"Provider";function g(v,w){const S=w?.[e]?.[p]||f,j=x.useContext(S);if(j)return j;if(u!==void 0)return u;throw new Error(`\`${v}\` must be used within \`${l}\``)}return[h,g]}const s=()=>{const l=r.map(u=>x.createContext(u));return function(f){const p=f?.[e]||l;return x.useMemo(()=>({[`__scope${e}`]:{...f,[e]:p}}),[f,p])}};return s.scopeName=e,[i,dA(s,...t)]}function dA(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const i=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(l){const u=i.reduce((f,{useScope:p,scopeName:h})=>{const v=p(l)[`__scope${h}`];return{...f,...v}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return r.scopeName=t.scopeName,r}function fA(e){const t=e+"CollectionProvider",[r,i]=Aw(t),[s,l]=r(t,{collectionRef:{current:null},itemMap:new Map}),u=S=>{const{scope:j,children:E}=S,b=Ft.useRef(null),N=Ft.useRef(new Map).current;return c.jsx(s,{scope:j,itemMap:N,collectionRef:b,children:E})};u.displayName=t;const f=e+"CollectionSlot",p=Ft.forwardRef((S,j)=>{const{scope:E,children:b}=S,N=l(f,E),T=ro(j,N.collectionRef);return c.jsx(Ns,{ref:T,children:b})});p.displayName=f;const h=e+"CollectionItemSlot",g="data-radix-collection-item",v=Ft.forwardRef((S,j)=>{const{scope:E,children:b,...N}=S,T=Ft.useRef(null),P=ro(j,T),R=l(h,E);return Ft.useEffect(()=>(R.itemMap.set(T,{ref:T,...N}),()=>{R.itemMap.delete(T)})),c.jsx(Ns,{[g]:"",ref:P,children:b})});v.displayName=h;function w(S){const j=l(e+"CollectionConsumer",S);return Ft.useCallback(()=>{const b=j.collectionRef.current;if(!b)return[];const N=Array.from(b.querySelectorAll(`[${g}]`));return Array.from(j.itemMap.values()).sort((R,M)=>N.indexOf(R.ref.current)-N.indexOf(M.ref.current))},[j.collectionRef,j.itemMap])}return[{Provider:u,Slot:p,ItemSlot:v},w,i]}var pA=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Rn=pA.reduce((e,t)=>
vendor: 4,502 bytes, line 18
18{const r=x.forwardRef((i,s)=>{const{asChild:l,...u}=i,f=l?Ns:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(f,{...u,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Mw(e,t){e&&nr.flushSync(()=>e.dispatchEvent(t))}function Xn(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...r)=>t.current?.(...r),[])}function hA(e,t=globalThis?.document){const r=Xn(e);x.useEffect(()=>{const i=s=>{s.key==="Escape"&&r(s)};return t.addEventListener("keydown",i,{capture:!0}),()=>t.removeEventListener("keydown",i,{capture:!0})},[r,t])}var mA="DismissableLayer",gf="dismissableLayer.update",gA="dismissableLayer.pointerDownOutside",vA="dismissableLayer.focusOutside",Fy,Ow=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Iw=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:l,onInteractOutside:u,onDismiss:f,...p}=e,h=x.useContext(Ow),[g,v]=x.useState(null),w=g?.ownerDocument??globalThis?.document,[,S]=x.useState({}),j=ro(t,z=>v(z)),E=Array.from(h.layers),[b]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),N=E.indexOf(b),T=g?E.indexOf(g):-1,P=h.layersWithOutsidePointerEventsDisabled.size>0,R=T>=N,M=xA(z=>{const $=z.target,X=[...h.branches].some(ee=>ee.contains($));!R||X||(s?.(z),u?.(z),z.defaultPrevented||f?.())},w),F=wA(z=>{const $=z.target;[...h.branches].some(ee=>ee.contains($))||(l?.(z),u?.(z),z.defaultPrevented||f?.())},w);return hA(z=>{T===h.layers.size-1&&(i?.(z),!z.defaultPrevented&&f&&(z.preventDefault(),f()))},w),x.useEffect(()=>{if(g)return r&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(Fy=w.body.style.pointerEvents,w.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(g)),h.layers.add(g),Vy(),()=>{r&&h.layersWithOutsidePointerEventsDisabled.size===1&&(w.body.style.pointerEvents=Fy)}},[g,w,r,h]),x.useEffect(()=>()=>{g&&(h.layers.delete(g),h.layersWithOutsidePointerEventsDisabled.delete(g),Vy())},[g,h]),x.useEffect(()=>{const z=()=>S({});return document.addEventListener(gf,z),()=>document.removeEventListener(gf,z)},[]),c.jsx(Rn.div,{...p,ref:j,style:{pointerEvents:P?R?"auto":"none":void 0,...e.style},onFocusCapture:Bt(e.onFocusCapture,F.onFocusCapture),onBlurCapture:Bt(e.onBlurCapture,F.onBlurCapture),onPointerDownCapture:Bt(e.onPointerDownCapture,M.onPointerDownCapture)})});Iw.displayName=mA;var yA="DismissableLayerBranch",_w=x.forwardRef((e,t)=>{const r=x.useContext(Ow),i=x.useRef(null),s=ro(t,i);return x.useEffect(()=>{const l=i.current;if(l)return r.branches.add(l),()=>{r.branches.delete(l)}},[r.branches]),c.jsx(Rn.div,{...e,ref:s})});_w.displayName=yA;function xA(e,t=globalThis?.document){const r=Xn(e),i=x.useRef(!1),s=x.useRef(()=>{});return x.useEffect(()=>{const l=f=>{if(f.target&&!i.current){let p=function(){Lw(gA,r,h,{discrete:!0})};const h={originalEvent:f};f.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=p,t.addEventListener("click",s.current,{once:!0})):p()}else t.removeEventListener("click",s.current);i.current=!1},u=window.setTimeout(()=>{t.addEventListener("pointerdown",l)},0);return()=>{window.clearTimeout(u),t.removeEventListener("pointerdown",l),t.removeEventListener("click",s.current)}},[t,r]),{onPointerDownCapture:()=>i.current=!0}}function wA(e,t=globalThis?.document){const r=Xn(e),i=x.useRef(!1);return x.useEffect(()=>{const s=l=>{l.target&&!i.current&&Lw(vA,r,{originalEvent:l},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function Vy(){const e=new CustomEvent(gf);document.dispatchEvent(e)}function Lw(e,t,r,{discrete:i}){const s=r.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&s.addEventListener(e,t,{once:!0}),i?Mw(s,l):s.dispatchEvent(l)}var bA=Iw,SA=_w,Vl=globalThis?.document?x.useLayoutEffect:()=>{},CA="Portal",Dw=x.forwardRef((e,t)=>{const{container:r,...i}=e,[s,l]=x.useState(!1);Vl(()=>l(!0),[]);const u=r||s&&globalThis?.document?.body;return u?jE.createPortal(c.jsx(Rn.div,{...i,ref:t}),u):null});Dw.displayName=CA;function EA(e,t){return x.useReducer((r,i)=>t[r][i]??r,e)}var Fw=e=>{const{present:t,children:r}=e,i=jA(t),s=typeof r=="function"?r({present:i.isPresent}):x.Children.only(r),l=ro(i.ref,NA(s));return typeof r=="function"||i.isPresent?x.cloneElement(s,{ref:l}):null};Fw.displayName="Presence";
18function jA(e){const[t,r]=x.useState(),i=x.useRef({}),s=x.useRef(e),l=x.useRef("none"),u=e?"mounted":"unmounted",[f,p]=EA(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const h=sl(i.current);l.current=f==="mounted"?h:"none"},[f]),Vl(()=>{const h=i.current,g=s.current;if(g!==e){const w=l.current,S=sl(h);e?p("MOUNT"):S==="none"||h?.display==="none"?p("UNMOUNT"):p(g&&w!==S?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,p]),Vl(()=>{if(t){let h;const g=t.ownerDocument.defaultView??window,v=S=>{const E=sl(i.current).includes(S.animationName);if(S.target===t&&E&&(p("ANIMATION_END"),!s.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",h=g.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},w=S=>{S.target===t&&(l.current=sl(i.current))};return t.addEventListener("animationstart",w),t.addEventListener("animationcancel",v),t.addEventListener("animationend",v),()=>{g.clearTimeout(h),t.removeEventListener("animationstart",w),t.removeEventListener("animationcancel",v),t.removeEventListener("animationend",v)}}else p("ANIMATION_END")},[t,p]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:x.useCallback(h=>{h&&(i.current=getComputedStyle(h)),r(h)},[])}}function sl(e){return e?.animationName||"none"}function NA(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function TA({prop:e,defaultProp:t,onChange:r=()=>{}}){const[i,s]=PA({defaultProp:t,onChange:r}),l=e!==void 0,u=l?e:i,f=Xn(r),p=x.useCallback(h=>{if(l){const v=typeof h=="function"?h(e):h;v!==e&&f(v)}else s(h)},[l,e,s,f]);return[u,p]}function PA({defaultProp:e,onChange:t}){const r=x.useState(e),[i]=r,s=x.useRef(i),l=Xn(t);return x.useEffect(()=>{s.current!==i&&(l(i),s.current=i)},[i,s,l]),r}var kA="VisuallyHidden",Rp=x.forwardRef((e,t)=>c.jsx(Rn.span,{...e,ref:t,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",...e.style}}));Rp.displayName=kA;var Ap="ToastProvider",[Mp,RA,AA]=fA("Toast"),[Vw]=Aw("Toast",[AA]),[MA,tc]=Vw(Ap),zw=e=>{const{__scopeToast:t,label:r="Notification",duration:i=5e3,swipeDirection:s="right",swipeThreshold:l=50,children:u}=e,[f,p]=x.useState(null),[h,g]=x.useState(0),v=x.useRef(!1),w=x.useRef(!1);return r.trim()||console.error(`Invalid prop \`label\` supplied to \`${Ap}\`. Expected non-empty \`string\`.`),c.jsx(Mp.Provider,{scope:t,children:c.jsx(MA,{scope:t,label:r,duration:i,swipeDirection:s,swipeThreshold:l,toastCount:h,viewport:f,onViewportChange:p,onToastAdd:x.useCallback(()=>g(S=>S+1),[]),onToastRemove:x.useCallback(()=>g(S=>S-1),[]),isFocusedToastEscapeKeyDownRef:v,isClosePausedRef:w,children:u})})};zw.displayName=Ap;var Bw="ToastViewport",OA=["F8"],vf="toast.viewportPause",yf="toast.viewportResume",$w=x.forwardRef((e,t)=>{const{__scopeToast:r,hotkey:i=OA,label:s="Notifications ({hotkey})",...l}=e,u=tc(Bw,r),f=RA(r),p=x.useRef(null),h=x.useRef(null),g=x.useRef(null),v=x.useRef(null),w=ro(t,v,u.onViewportChange),S=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),j=u.toastCount>0;x.useEffect(()=>{const b=N=>{i.length!==0&&i.every(P=>N[P]||N.code===P)&&v.current?.focus()};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[i]),x.useEffect(()=>{const b=p.current,N=v.current;if(j&&b&&N){const T=()=>{if(!u.isClosePausedRef.current){const F=new CustomEvent(vf);N.dispatchEvent(F),u.isClosePausedRef.current=!0}},P=()=>{if(u.isClosePausedRef.current){const F=new CustomEvent(yf);N.dispatchEvent(F),u.isClosePausedRef.current=!1}},R=F=>{!b.contains(F.relatedTarget)&&P()},M=()=>{b.contains(document.activeElement)||P()};return b.addEventListener("focusin",T),b.addEventListener("focusout",R),b.addEventListener("pointermove",T),b.addEventListener("pointerleave",M),window.addEventListener("blur",T),window.addEventListener("focus",P),()=>{b.removeEventListener("focusin",T),b.removeEventListener("focusout",R),b.removeEventListener("pointermove",T),b.removeEventListener("pointerleave",M),window.removeEventListener("blur",T),window.removeEventListener("focus",P)}}},[j,u.isClosePausedRef]);const E=x.useCallback(({tabbingDirection:b})=>{const T=f().map(P=>{const R=P.ref.current,M=[R,...KA(R)];return b==="forwards"?M:M.reverse()});return(b==="forwards"?T.reverse():T).flat()},[f]);return x.useEffect(()=>{const b=v.current;if(b){const N=T=>{const P=T.altKey||T.ctrlKey||T.metaKey;if(T.key==="Tab"&&!P){const M=document.activeElement,F=T.shiftKey;if(T.target===b&&F){h.current?.focus();return}const X=E({tabbingDirection:F?"backwards":"forwards"}),ee=X.findIndex(se=>se===M);Od(X.slice(ee+1))?T.preventDefault():F?h.current?.focus():g.current?.focus()}};return b.addEventListener("keydown",N),()=>b.removeEventListener("keydown",N)}},[f,E]),c.jsxs(SA,{ref:p,role:"region","aria-label":s.replace("{hotkey}",S),tabIndex:-1,style:{pointerEvents:j?void 0:"none"},children:[j&&c.jsx(xf,{ref:h,onFocusFromOutsideViewport:()=>{const b=E({tabbingDirection:"forwards"});Od(b)}}),c.jsx(Mp.Slot,{scope:r,children:c.jsx(Rn.ol,{tabIndex:-1,...l,ref:w}
18)}),j&&c.jsx(xf,{ref:g,onFocusFromOutsideViewport:()=>{const b=E({tabbingDirection:"backwards"});Od(b)}})]})});$w.displayName=Bw;var Ww="ToastFocusProxy",xf=x.forwardRef((e,t)=>{const{__scopeToast:r,onFocusFromOutsideViewport:i,...s}=e,l=tc(Ww,r);return c.jsx(Rp,{"aria-hidden":!0,tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:u=>{const f=u.relatedTarget;!l.viewport?.contains(f)&&i()}})});xf.displayName=Ww;var nc="Toast",IA="toast.swipeStart",_A="toast.swipeMove",LA="toast.swipeCancel",DA="toast.swipeEnd",Uw=x.forwardRef((e,t)=>{const{forceMount:r,open:i,defaultOpen:s,onOpenChange:l,...u}=e,[f=!0,p]=TA({prop:i,defaultProp:s,onChange:l});return c.jsx(Fw,{present:r||f,children:c.jsx(zA,{open:f,...u,ref:t,onClose:()=>p(!1),onPause:Xn(e.onPause),onResume:Xn(e.onResume),onSwipeStart:Bt(e.onSwipeStart,h=>{h.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Bt(e.onSwipeMove,h=>{const{x:g,y:v}=h.detail.delta;h.currentTarget.setAttribute("data-swipe","move"),h.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${g}px`),h.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${v}px`)}),onSwipeCancel:Bt(e.onSwipeCancel,h=>{h.currentTarget.setAttribute("data-swipe","cancel"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),h.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Bt(e.onSwipeEnd,h=>{const{x:g,y:v}=h.detail.delta;h.currentTarget.setAttribute("data-swipe","end"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),h.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${g}px`),h.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${v}px`),p(!1)})})})});Uw.displayName=nc;var[FA,VA]=Vw(nc,{onClose(){}}),zA=x.forwardRef((e,t)=>{const{__scopeToast:r,type:i="foreground",duration:s,open:l,onClose:u,onEscapeKeyDown:f,onPause:p,onResume:h,onSwipeStart:g,onSwipeMove:v,onSwipeCancel:w,onSwipeEnd:S,...j}=e,E=tc(nc,r),[b,N]=x.useState(null),T=ro(t,q=>N(q)),P=x.useRef(null),R=x.useRef(null),M=s||E.duration,F=x.useRef(0),z=x.useRef(M),$=x.useRef(0),{onToastAdd:X,onToastRemove:ee}=E,se=Xn(()=>{b?.contains(document.activeElement)&&E.viewport?.focus(),u()}),K=x.useCallback(q=>{!q||q===1/0||(window.clearTimeout($.current),F.current=new Date().getTime(),$.current=window.setTimeout(se,q))},[se]);x.useEffect(()=>{const q=E.viewport;if(q){const he=()=>{K(z.current),h?.()},oe=()=>{const Z=new Date().getTime()-F.current;z.current=z.current-Z,window.clearTimeout($.current),p?.()};return q.addEventListener(vf,oe),q.addEventListener(yf,he),()=>{q.removeEventListener(vf,oe),q.removeEventListener(yf,he)}}},[E.viewport,M,p,h,K]),x.useEffect(()=>{l&&!E.isClosePausedRef.current&&K(M)},[l,M,E.isClosePausedRef,K]),x.useEffect(()=>(X(),()=>ee()),[X,ee]);const le=x.useMemo(()=>b?Qw(b):null,[b]);return E.viewport?c.jsxs(c.Fragment,{children:[le&&c.jsx(BA,{__scopeToast:r,role:"status","aria-live":i==="foreground"?"assertive":"polite","aria-atomic":!0,children:le}),c.jsx(FA,{scope:r,onClose:se,children:nr.createPortal(c.jsx(Mp.ItemSlot,{scope:r,children:c.jsx(bA,{asChild:!0,onEscapeKeyDown:Bt(f,()=>{E.isFocusedToastEscapeKeyDownRef.current||se(),E.isFocusedToastEscapeKeyDownRef.current=!1}),children:c.jsx(Rn.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":l?"open":"closed","data-swipe-direction":E.swipeDirection,...j,ref:T,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Bt(e.onKeyDown,q=>{q.key==="Escape"&&(f?.(q.nativeEvent),q.nativeEvent.defaultPrevented||(E.isFocusedToastEscapeKeyDownRef.current=!0,se()))}),onPointerDown:Bt(e.onPointerDown,q=>{q.button===0&&(P.current={x:q.clientX,y:q.clientY})}),onPointerMove:Bt(e.onPointerMove,q=>{if(!P.current)return;const he=q.clientX-P.current.x,oe=q.clientY-P.current.y,Z=!!R.current,V=["left","right"].includes(E.swipeDirection),Y=["left","up"].includes(E.swipeDirection)?Math.min:Math.max,H=V?Y(0,he):0,I=V?0:Y(0,oe),B=q.pointerType==="touch"?10:2,ue={x:H,y:I},ge={originalEvent:q,delta:ue};Z?(R.current=ue,al(_A,v,ge,{discrete:!1})):zy(ue,E.swipeDirection,B)?(R.current=ue,al(IA,g,ge,{discrete:!1}),q.target.setPointerCapture(q.pointerId)):(Math.abs(he)>B||Math.abs(oe)>B)&&(P.current=null)}),onPointerUp:Bt(e.onPointerUp,q=>{const he=R.current,oe=q.target;if(oe.hasPointerCapture(q.pointerId)&&oe.releasePointerCapture(q.pointerId),R.current=null,P.current=null,he){const Z=q.currentTarget,V={originalEvent:q,delta:he};zy(he,E.swipeDirection,E.swipeThreshold)?al(DA,S,V,{discrete:!0}):al(LA,w,V,{discrete:!0}),Z.addEventListener("click",Y=>Y.preventDefault(),{once:!0})}})})})}),E.viewport)})]}):null}),BA=e=>{const{__scopeToast:t,children:r,...i}=e,s=tc(nc,t),[l,u]=x.useState(!1),[f,p]=x.useState(!1);return UA(()=>u(!0)),x.useEffect(()=>{const h=window.setTimeout(()=>p(!0),1e3);return()=>window.clearTimeout(h)},[]),f?null:c.jsx(Dw,{asChild:!0,children:c.jsx(Rp,{...i,children:l&&c.jsxs(c.Fragment,{children:[s.label," ",r]})})})},$A="ToastTitle",Hw=x.forwardRef((e,t)=>
18{const{__scopeToast:r,...i}=e;return c.jsx(Rn.div,{...i,ref:t})});Hw.displayName=$A;var WA="ToastDescription",Kw=x.forwardRef((e,t)=>{const{__scopeToast:r,...i}=e;return c.jsx(Rn.div,{...i,ref:t})});Kw.displayName=WA;var Gw="ToastAction",qw=x.forwardRef((e,t)=>{const{altText:r,...i}=e;return r.trim()?c.jsx(Xw,{altText:r,asChild:!0,children:c.jsx(Op,{...i,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Gw}\`. Expected non-empty \`string\`.`),null)});qw.displayName=Gw;var Yw="ToastClose",Op=x.forwardRef((e,t)=>{const{__scopeToast:r,...i}=e,s=VA(Yw,r);return c.jsx(Xw,{asChild:!0,children:c.jsx(Rn.button,{type:"button",...i,ref:t,onClick:Bt(e.onClick,s.onClose)})})});Op.displayName=Yw;var Xw=x.forwardRef((e,t)=>{const{__scopeToast:r,altText:i,...s}=e;return c.jsx(Rn.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":i||void 0,...s,ref:t})});function Qw(e){const t=[];return Array.from(e.childNodes).forEach(i=>{if(i.nodeType===i.TEXT_NODE&&i.textContent&&t.push(i.textContent),HA(i)){const s=i.ariaHidden||i.hidden||i.style.display==="none",l=i.dataset.radixToastAnnounceExclude==="";if(!s)if(l){const u=i.dataset.radixToastAnnounceAlt;u&&t.push(u)}else t.push(...Qw(i))}}),t}function al(e,t,r,{discrete:i}){const s=r.originalEvent.currentTarget,l=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&s.addEventListener(e,t,{once:!0}),i?Mw(s,l):s.dispatchEvent(l)}var zy=(e,t,r=0)=>{const i=Math.abs(e.x),s=Math.abs(e.y),l=i>s;return t==="left"||t==="right"?l&&i>r:!l&&s>r};function UA(e=()=>{}){const t=Xn(e);Vl(()=>{let r=0,i=0;return r=window.requestAnimationFrame(()=>i=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(i)}},[t])}function HA(e){return e.nodeType===e.ELEMENT_NODE}function KA(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>{const s=i.tagName==="INPUT"&&i.type==="hidden";return i.disabled||i.hidden||s?NodeFilter.FILTER_SKIP:i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Od(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}var GA=zw,Zw=$w,Jw=Uw,e1=Hw,t1=Kw,n1=qw,r1=Op;const qA=GA,o1=x.forwardRef(({className:e,...t},r)=>c.jsx(Zw,{ref:r,className:$e("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));o1.displayName=Zw.displayName;const YA=jp("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 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"}}),i1=x.forwardRef(({className:e,variant:t,...r},i)=>c.jsx(Jw,{ref:i,className:$e(YA({variant:t}),e),...r}));i1.displayName=Jw.displayName;const XA=x.forwardRef(({className:e,...t},r)=>c.jsx(n1,{ref:r,className:$e("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring 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",e),...t}));XA.displayName=n1.displayName;const s1=x.forwardRef(({className:e,...t},r)=>c.jsx(r1,{ref:r,className:$e("absolute right-1 top-1 rounded-md p-1 text-foreground
18/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:c.jsx(ec,{className:"h-4 w-4"})}));s1.displayName=r1.displayName;const a1=x.forwardRef(({className:e,...t},r)=>c.jsx(e1,{ref:r,className:$e("text-sm font-semibold [&+div]:text-xs",e),...t}));a1.displayName=e1.displayName;const l1=x.forwardRef(({className:e,...t},r)=>c.jsx(t1,{ref:r,className:$e("text-sm opacity-90",e),...t}));l1.displayName=t1.displayName;const QA=1,ZA=1e6;let Id=0;function JA(){return Id=(Id+1)%Number.MAX_SAFE_INTEGER,Id.toString()}const _d=new Map,By=e=>{if(_d.has(e))return;const t=setTimeout(()=>{_d.delete(e),ys({type:"REMOVE_TOAST",toastId:e})},ZA);_d.set(e,t)},eM=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,QA)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(r=>r.id===t.toast.id?{...r,...t.toast}:r)};case"DISMISS_TOAST":{const{toastId:r}=t;return r?By(r):e.toasts.forEach(i=>{By(i.id)}),{...e,toasts:e.toasts.map(i=>
18i.id===r||r===void 0?{...i,open:!1}:i)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(r=>r.id!==t.toastId)}}},El=[];let jl={toasts:[]};function ys(e){jl=eM(jl,e),El.forEach(t=>{t(jl)})}function tM({...e}){const t=JA(),r=s=>ys({type:"UPDATE_TOAST",toast:{...s,id:t}}),i=()=>ys({type:"DISMISS_TOAST",toastId:t});return ys({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:s=>{s||i()}}}),{id:t,dismiss:i,update:r}}function zs(){const[e,t]=x.useState(jl);return x.useEffect(()=>(El.push(t),()=>{const r=El.indexOf(t);r>-1&&El.splice(r,1)}),[e]),{...e,toast:tM,dismiss:r=>ys({type:"DISMISS_TOAST",toastId:r})}}function Bs(){const{toasts:e}=zs();return c.jsxs(qA,{children:[e.map(function({id:t,title:r,description:i,action:s,...l}){return c.jsxs(i1,{...l,children:[c.jsxs("div",{className:"grid gap-1",children:[r&&c.jsx(a1,{children:r}),i&&c.jsx(l1,{children:i})]}),s,c.jsx(s1,{})]},t)}),c.jsx(o1,{})]})}const nM=()=>{const e=[{icon:Yn,number:"250+",label:"People Served Weekly"},{icon:Vs,number:"10,000+",label:"Volunteer Hours"},{icon:bw,number:"641",label:"Rides Facilitated"},{icon:kr,number:"7",label:"Days a Week Support"},{icon:co,number:"1,250+",label:"Attended Sober Fest"}],t=[{icon:jR,title:"Outreach 419",description:"A physical recovery community center providing daily support groups, meals, and connection in rural Michigan.",link:"www.outreach419.com"},{icon:kp,title:"Sober Not Boring App",description:"Ad-free social platform connecting people in recovery with courses, community partners, and group chats.",link:"www.sobernotboring.app"},{icon:Nw,title:"Sober Fest MI",description:"Michigan's premier free 3-day recovery festival featuring live music, speakers, camping, and community.",link:"www.soberfestmi.com"},{icon:_R,title:"Peer Recovery Support",description:"One-on-one guidance from people who've lived it, helping individuals navigate recovery, accountability, and real life next steps.",link:"mailto:[email protected]"},{icon:XR,title:"Transportation",description:"Free rides to treatment, meetings, appointments, and job interviews—removing barriers to recovery.",link:"tel:616-788-7394"},{icon:CR,title:"Family Friendly Events",description:"Inclusive sober community events welcoming children and families to build connection together.",link:"www.outreach419.com"},{icon:Cw,title:"Digital Workforce Lab",description:"Skills training and job placement services helping people in recovery build sustainable careers.",link:"www.sobernotboring.com"}],r=[{icon:QR,title:"Isolation",description:"People in recovery face profound loneliness, especially in rural areas with limited resources.",solution:"Daily community gatherings, peer support, and inclusive events that build real relationships."},{icon:MR,title:"Stigma",description:"Judgment and shame prevent people from seeking help and participating in their communities.",solution:"Peer-led programs that normalize recovery and celebrate progress without judgment."},{icon:uo,title:"Transportation Barriers",description:"Lack of reliable transportation keeps people from accessing treatment, meetings, and employment.",solution:"Free transportation services to remove this critical barrier to recovery and stability."},{icon:VR,title:"No Sober Community",description:"Without sober spaces and activities, maintaining recovery feels impossible and boring.",solution:"Vibrant events, festivals, and daily programming that prove recovery can be fun and fulfilling."},{icon:ER,title:"Need for Infrastructure",description:"Recovery needs sustainable systems, not just one-time interventions or temporary solutions.",solution:"Building permanent community centers, training programs, and support systems that last."}];return c.jsxs(c.Fragment,{children:[c.jsxs(Gn,{children:[c.jsx("title",{children:"Greenville MI Addiction Recovery & Peer Coaching - Sober Events"}),c.jsx("meta",{name:"description",content:"Sober Events builds recovery infrastructure with peer coaching, group meetings, and sober social events serving Greenville MI, Ionia, and Montcalm County."}),c.jsx("meta",{property:"og:title",content:"Greenville MI Addiction Recovery & Peer Coaching - Sober Events"}),c.jsx("meta",{property:"og:description",content:"Sober Events builds recovery infrastru
18cture with peer coaching, group meetings, and sober social events serving Greenville MI, Ionia, and Montcalm County."}),c.jsx("meta",{property:"og:url",content:"https://www.soberevents.us/"})]}),c.jsxs("div",{className:"min-h-screen flex flex-col bg-background",children:[c.jsx(hi,{}),c.jsxs("main",{className:"flex-grow",children:[c.jsx(nA,{}),c.jsx(oA,{}),c.jsx(rA,{}),c.jsx("section",{className:"section-padding bg-muted/30",children:c.jsxs("div",{className:"container-custom",children:[c.jsxs(J.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-16",children:[c.jsx("h2",{className:"font-extrabold text-foreground mb-6",children:"Making an Impact Every Day"}),c.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground max-w-3xl mx-auto",children:"Real people. Real recovery. Real results."})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-6",children:e.map((i,s)=>c.jsx(iA,{icon:i.icon,number:i.number,label:i.label,delay:s*.1},s))})]})}),c.jsx("section",{id:"programs-section",className:"section-padding bg-background",children:c.jsxs("div",{className:"container-custom",children:[c.jsxs(J.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-16",children:[c.jsx("h2",{className:"font-extrabold text-foreground mb-6",children:"Our Programs"}),c.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground max-w-3xl mx-auto",children:"Comprehensive support for every stage of recovery"})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 lg:gap-8",children:t.map((i,s)=>c.jsx(sA,{icon:i.icon,title:i.title,description:i.description,link:i.link,delay:s*.1},s))})]})}),c.jsx(lA,{}),c.jsx("section",{className:"section-padding bg-muted/30",children:c.jsxs("div",{className:"container-custom",children:[c.jsxs(J.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-16",children:[c.jsx("h2",{className:"font-extrabold text-foreground mb-6",children:"Why It Matters"}),c.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground max-w-3xl mx-auto",children:"The challenges are real. Our response is hope."})]}),c.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6 lg:gap-8 max-w-6xl mx-auto",children:r.map((i,s)=>c.jsx(aA,{icon:i.icon,title:i.title,description:i.description,solution:i.solution,delay:s*.1},s))})]})}),c.jsx(cA,{}),c.jsx(kw,{}),c.jsx(uA,{}),c.jsx(Rw,{})]}),c.jsx(mi,{}),c.jsx(Bs,{})]})]})},rM=()=>{const e=[{id:"omeWv91-910",title:"Recent Sober Event Video 1"},{id:"Ta7_eVvHMfY",title:"Recent Sober Event Video 2"},{id:"ytWuqpA7mC0",title:"Recent Sober Event Short"}];return c.jsx("section",{className:"py-20 bg-muted/20 border-t border-border",children:c.jsxs("div",{className:"container mx-auto px-4 max-w-7xl",children:[c.jsxs("div",{className:"text-center mb-12",children:[c.jsx(J.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-3xl md:text-4xl font-extrabold text-foreground mb-4",children:"Recent Sober Events Videos"}),c.jsx(J.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1},className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Check out some highlights and moments from our recent gatherings. Experience the joy and connection of the Sober Events community."})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map((t,r)=>c.jsx(J.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.15},whileHover:{y:-5},className:"bg-card rounded-2xl overflow-hidden shadow-premium border border-border/50 transition-all duration-300",children:c.jsx("div",{className:"relative w-full pt-[56.25%]",children:c.jsx("iframe",{src:`https://www.youtube.com/embed/${t.id}`,title:t.title,"aria-label":`Embedded YouTube video: ${t.title}`,className:"absolute top-0 left-0 w-full h-full border-0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})})},t.id))})]})})},oM=()=>
18{const[e,t]=x.useState(null),r={dates:"September 11-13, 2026",location:"Belding, MI",description:"Join us for Michigan's premier sober music and camping festival! Experience three days of connection, live music featuring headliner EXIT 73, and powerful speakers including a Saturday night keynote by Corey Warren.",link:"https://www.soberfestmi.com",flyers:[{src:"https://horizons-cdn.hostinger.com/2e0a0993-347d-46d4-a97c-b7a6035af4ed/bab925048afaa3b83f69fb17fef48625.png",alt:"Sober Fest MI 2026 Main Flyer - September 11-13 in Belding MI featuring EXIT 73",label:"Main Festival Lineup"},{src:"https://horizons-cdn.hostinger.com/2e0a0993-347d-46d4-a97c-b7a6035af4ed/546f9667da46ce8dc878ea5144d8fdc5.png",alt:"Corey Warren Keynote Speaker Flyer - Saturday Sept 12, 2026",label:"Saturday Night Keynote"}]};return c.jsxs("section",{className:"mb-24 w-full",children:[c.jsxs(J.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.6},className:"relative bg-gradient-to-br from-primary/10 via-background to-accent/5 rounded-3xl border-2 border-primary/30 p-6 md:p-10 shadow-premium overflow-hidden",children:[c.jsx("div",{className:"absolute top-0 right-0 w-64 h-64 bg-primary/20 rounded-full blur-[80px] pointer-events-none"}),c.jsxs("div",{className:"relative z-10 flex flex-col items-center text-center mb-10",children:[c.jsxs("div",{className:"inline-flex items-center justify-center space-x-2 bg-primary text-primary-foreground px-4 py-1.5 rounded-full text-sm font-bold tracking-widest uppercase mb-6 shadow-md",children:[c.jsx(Tw,{className:"w-4 h-4"}),c.jsx("span",{children:"Featured Event"})]}),c.jsx("h2",{className:"text-4xl md:text-5xl lg:text-6xl font-extrabold text-foreground mb-6 tracking-tight",children:"Sober Fest MI 2026"}),c.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground max-w-3xl mb-8 leading-relaxed",children:r.description}),c.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-6 mb-10 text-lg font-medium",children:[c.jsxs("div",{className:"flex items-center text-foreground bg-card px-5 py-3 rounded-xl border border-border shadow-sm",children:[c.jsx(co,{className:"w-5 h-5 text-primary mr-3"}),r.dates]}),c.jsxs("div",{className:"flex items-center text-foreground bg-card px-5 py-3 rounded-xl border border-border shadow-sm",children:[c.jsx(uo,{className:"w-5 h-5 text-primary mr-3"}),r.location]})]}),c.jsx(Re,{asChild:!0,size:"lg",className:"text-lg px-10 py-7 rounded-full shadow-xl hover:scale-105 transition-transform duration-300 group font-bold",children:c.jsxs("a",{href:r.link,target:"_blank",rel:"noopener noreferrer",children:["Get Free Tickets & Info",c.jsx(Jl,{className:"ml-2 w-5 h-5 group-hover:translate-x-1 group-hover:-translate-y-1 transition-transform"})]})})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 lg:gap-12 max-w-5xl mx-auto relative z-10",children:r.flyers.map((i,s)=>c.jsxs(J.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:.2+s*.1,duration:.5},className:"flex flex-col items-center",children:[c.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4 text-foreground font-bold text-xl",children:[s===0?c.jsx(Nw,{className:"w-5 h-5 text-primary"}):c.jsx(jw,{className:"w-5 h-5 text-primary"}),i.label]}),c.jsxs("button",{onClick:()=>t(i),className:"group relative w-full rounded-2xl overflow-hidden border-4 border-white/10 hover:border-primary/50 transition-all duration-300 shadow-2xl focus:outline-none focus:ring-4 focus:ring-primary/40 bg-white","aria-label":`View ${i.alt} full screen`,children:[c.jsx("div",{className:"absolute inset-0 bg-black/40 opacity-0 group-hover:opacity-100 transition-opacity duration-300 z-10 flex items-center justify-center backdrop-blur-sm",children:c.jsx("span",{className:"bg-primary text-primary-foreground px-6 py-3 rounded-full font-bold shadow-lg transform translate-y-4 group-hover:translate-y-0 transition-transform duration-300",children:"Click to Enlarge"})}),c.jsx("img",{src:i.src,alt:i.alt,className:"w-full h-auto object-contain transform group-hover:scale-[1.02] transition-transform duration-500",loading:"lazy"})]})]},s))})]}),c.jsx(Ds,{children:e&&c.jsxs(J.div,{initial:{opacity:0}
18,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-[100] flex items-center justify-center bg-black/95 p-4 md:p-8 backdrop-blur-md",onClick:()=>t(null),children:[c.jsx("button",{className:"absolute top-4 right-4 md:top-8 md:right-8 text-white/70 hover:text-white bg-white/10 hover:bg-white/20 p-3 rounded-full transition-all focus:outline-none focus:ring-2 focus:ring-primary z-[101]",onClick:i=>{i.stopPropagation(),t(null)},"aria-label":"Close image",children:c.jsx(ec,{className:"w-8 h-8"})}),c.jsx(J.img,{initial:{scale:.9,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.9,opacity:0},transition:{type:"spring",damping:25,stiffness:300},src:e.src,alt:e.alt,className:"max-w-full max-h-[90vh] object-contain rounded-xl shadow-2xl bg-white",onClick:i=>i.stopPropagation()})]})})]})},iM=()=>{const[e,t]=x.useState(null),r=[{id:"august-calendar",title:"September 2026 Event Calendar",description:"Check out all the support groups, activities, and special events happening this month at Outreach 419.",src:"https://horizons-cdn.hostinger.com/2e0a0993-347d-46d4-a97c-b7a6035af4ed/september-event-flyer-sZNEY.jpg",alt:"September 2026 Outreach 419 Calendar Flyer",icon:co,primary:!0},{id:"wellness-meditation",title:"Meditation & Wellness Program",description:"Join our special Focus, Reflect, Renew sessions. Build mental resilience and reconnect with your authentic self.",src:"https://horizons-cdn.hostinger.com/2e0a0993-347d-46d4-a97c-b7a6035af4ed/6becdaf82eceb231fc77456dfc519290.png",alt:"Meditation and Wellness Flyer - Focus, Reflect, Renew",icon:Ew,primary:!1},{id:"elmdale-hub",title:"Elmdale Recovery Support Hub",description:"Discover our location in Alto, MI. We offer peer support, community resources, and a safe space for your recovery journey.",src:"https://horizons-cdn.hostinger.com/2e0a0993-347d-46d4-a97c-b7a6035af4ed/0de4060b8806eeb882aab20bf43400dd.png",alt:"Outreach 419 Elmdale Recovery Support Hub flyer featuring location in Alto MI, current hours, services offered, and contact information",icon:uo,primary:!1}];return c.jsxs(c.Fragment,{children:[c.jsxs(Gn,{children:[c.jsx("title",{children:"Recovery Meetings & Sober Events in Greenville MI | Outreach 419"}),c.jsx("meta",{name:"description",content:"View our featured Sober Fest MI event, August 2026 calendar, Meditation & Wellness programs, and Elmdale Recovery Support Hub information serving Greenville MI and Alto MI."}),c.jsx("meta",{property:"og:title",content:"Recovery Meetings & Sober Events in Greenville MI | Outreach 419"}),c.jsx("meta",{property:"og:description",content:"View our featured Sober Fest MI event, August 2026 calendar, Meditation & Wellness programs, and Elmdale Recovery Support Hub information."}),c.jsx("meta",{property:"og:url",content:"https://www.soberevents.us/events"})]}),c.jsxs("div",{className:"min-h-screen flex flex-col bg-background selection:bg-primary selection:text-primary-foreground",children:[c.jsx(hi,{}),c.jsxs("main",{className:"flex-grow pt-24 pb-12",children:[c.jsxs("section",{className:"py-16 md:py-20 relative text-center px-4",children:[c.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-full max-w-4xl h-96 bg-primary/5 blur-[100px] pointer-events-none rounded-full"}),c.jsxs(J.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-4xl md:text-5xl lg:text-6xl font-extrabold text-foreground mb-6 tracking-tight relative z-10",children:["Upcoming Events & ",c.jsx("span",{className:"text-primary",children:"Programs"})]}),c.jsx(J.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1},className:"text-lg md:text-xl text-muted-foreground max-w-2xl mx-auto font-medium relative z-10",children:"Explore what's happening at Outreach 419 this month and learn about our local hubs. Click on any flyer to expand and view the full details!"})]}),c.jsx("div",{className:"container mx-auto px-4 max-w-6xl",children:c.jsx(oM,{})}),c.jsx("section",{className:"container mx-auto px-4 max-w-6xl pb-20",children:c.jsx("div",{className:"flex flex-col gap-24",children:r.map((i,s)=>c.jsxs(J.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:s*.1},className:`flex flex-col ${s%2!==0?"lg:flex-row-reverse":"lg:flex-row"} items-center gap-8 lg:gap-16`,children:[c.jsx("div",{className:"w-full lg:w-1/2 flex justify-center",children:c.jsxs("button",{onClick:()=>t(i),className:"group relative rounded-2xl overflow-hidden shadow-2xl border-4 border-border hover:border-primary/50 transition-colors duration-300 w-full max-w-md focus:outline-none focus:ring-4 focus:ring-primary/30","aria-label":`View ${i.title} full screen`,children:[c.jsx("div",{className:"absolute inset-0 bg-black/40 opacity-0 group-hover:opacity-100 transition-opacity duration-300 z-10 flex items-center justify-center backdrop-blur-sm",children:c.jsx("span",{className:"bg-primary text-primary-foreground px-6 py-3 rounded-full font-bold shadow-lg transform translate-y-4 group-hover:translate-y-0 transition-transform duration-300",children:"Click to Enlarge"})}),c.jsx("img",{src:i.src,alt:i.alt,className:"w-full h-auto object-contain transform group-hover:scale-105 transition-transform duration-700 bg-white",loading:"lazy"})]})}),c.jsxs("div",{className:"w-full lg:w-1/2 text-center lg:text-left",children:[c.jsx("div",{className:"inline-flex items-center justify-center p-4 bg-primary/10 rounded-2xl mb-6 text-primary",children:c.jsx(i.icon,{className:"w-8 h-8"})}),c.jsx("h2",{className:"text-3xl md:text-4xl font-extrabold text-foreground mb-4",children:i.title}),c.jsx("p",{className:"text-xl text-muted-foreground leading-relaxed",children:i.description})]})]},i.id))})}),c.jsx(rM,{}),c.jsx("section",{className:"py-20 bg-muted/30 border-t border-border",children:c.jsxs("div",{className:"container mx-auto px-4 text-center max-w-3xl",children:[c.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-6 text-foreground",children:"Want to join us?"}),c.jsx("p",{className:"text-xl text-muted-foreground mb-10",children:"If you have any questions about our events, support groups, or need directions to our facility in Greenville or Alto, don't hesitate to reach out!"}),c.jsx(Re,{asChild:!0,size:"lg",className:"rounded-full px-8 py-6 text-lg shadow-xl hover:scale-105 transition-transform font-bold",children:c.jsxs(Vt,{to:"/support",children:[c.jsx(si,{className:"mr-2 h-5 w-5"}),"Contact Us"]})})]})})]}),c.jsx(mi,{}),c.jsx(Bs,{}),c.jsx(Ds,{children:e&&c.jsxs(J.div,{initial:{opacity:0}
18,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 flex items-center justify-center bg-black/95 p-4 md:p-8 backdrop-blur-sm",onClick:()=>t(null),children:[c.jsx("button",{className:"absolute top-4 right-4 md:top-8 md:right-8 text-white/70 hover:text-white bg-black/50 hover:bg-black p-3 rounded-full transition-all focus:outline-none focus:ring-2 focus:ring-primary",onClick:i=>{i.stopPropagation(),t(null)},"aria-label":"Close image",children:c.jsx(ec,{className:"w-8 h-8"})}),c.jsx(J.img,{initial:{scale:.9,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.9,opacity:0},transition:{type:"spring",damping:25,stiffness:300},src:e.src,alt:e.alt,className:"max-w-full max-h-[90vh] object-contain rounded-lg shadow-2xl bg-white",onClick:i=>i.stopPropagation()})]})})]})]})},sM=()=>c.jsxs("section",{className:"relative h-screen flex items-center justify-center overflow-hidden",children:[c.jsx("div",{className:"absolute inset-0 z-0 bg-cover bg-center",style:{backgroundImage:"url('https://images.unsplash.com/photo-1562714601-8ace9d78d58d')"}}),c.jsx("div",{className:"absolute inset-0 z-10 bg-black/60"}),c.jsxs("div",{className:"relative z-20 text-center px-4 max-w-5xl mx-auto",children:[c.jsx("h1",{className:"text-5xl md:text-7xl font-extrabold text-white mb-6 uppercase tracking-tight drop-shadow-lg",children:"Outreach 419: The Lifeline Before 4:20"}),c.jsx("p",{className:"text-xl md:text-2xl text-white/90 font-medium max-w-3xl mx-auto drop-shadow-md",children:"A 7-day-a-week Recovery Community Center built on 1 John 4:19—leading with love, not judgment."})]})]}),aM=[{title:"Potlucks",desc:"Share a meal and build genuine connections.",img:"https://images.unsplash.com/photo-1695505038491-56b8d77c61c3",alt:"Community members sharing a potluck meal together"},{title:"Monthly Outings",desc:"Fun, sober adventures in our local community.",img:"https://images.unsplash.com/photo-1562714601-8ace9d78d58d",alt:"Group of friends enjoying a sober outdoor monthly outing"},{title:"Running Club",desc:"Physical wellness meets community support.",img:"https://images.unsplash.com/photo-1586173462302-a14010ea2755",alt:"People running together outdoors for physical wellness"},{title:"Wellness Groups",desc:"Holistic approaches to mind and body recovery.",img:"https://images.unsplash.com/photo-1517637633369-e4cc28755e01",alt:"Individuals participating in a holistic wellness group"},{title:"Daily Support Groups",desc:"Consistent, daily meetings to keep you grounded.",img:"https://images.unsplash.com/photo-1609234656388-0ff363383899",alt:"Circle of chairs arranged for a daily support group meeting"},{title:"Veterans and First Responders Support Group",desc:"Led by peers with lived experience and service. Our commitment to those who serve our country and our communities.",img:"https://images.unsplash.com/photo-1590242015475-9aa3ed6b85c8",alt:"Veterans and first responders in a community support setting sharing stories of recovery and resilience"}],lM=()=>c.jsx("section",{className:"py-20 bg-muted/30",children:c.jsxs("div",{className:"container mx-auto px-4 max-w-7xl",children:[c.jsxs("div",{className:"text-center mb-12",children:[c.jsx("h2",{className:"text-4xl font-extrabold uppercase text-foreground mb-4",children:"Real Life in Action"}),c.jsx("p",{className:"text-xl text-muted-foreground",children:"Doing life together, one day at a time."})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:aM.map((e,t)=>c.jsxs("div",{className:"group relative overflow-hidden rounded-xl shadow-lg hover:shadow-2xl transition-all duration-300",children:[c.jsx("div",{className:"aspect-w-16 aspect-h-10 h-64 w-full",children:c.jsx("img",{src:e.img,alt:e.alt||e.title,className:"object-cover w-full h-full transform group-hover:scale-110 transition-transform duration-500"})}),c.jsxs("div",{className:"absolute inset-0 bg-gradient-to-t from-black/90 via-black/40 to-transparent flex flex-col justify-end p-6",children:[c.jsx("h3",{className:"text-2xl font-bold text-white mb-2",children:e.title}),c.jsx("p",{className:"text-white/80",children:e.desc})]})]},t))})]})}),cM=()=>c.jsx("section",{className:"py-20 bg-background",children:c.jsx("div",{className:"container mx-auto px-4 max-w-6xl",children:c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[c.jsxs("div",{className:"bg-card text-card-foreground p-8 rounded-xl shadow-lg hover:shadow-xl transition-shadow border border-border",children:[c.jsx("div",{className:"bg-primary/10 w-16 h-16 rounded-full flex items-center justify-center mb-6",children:c.jsx(Vs,{className:"w-8 h-8 text-primary"})}),c.jsx("h2",{className:"text-3xl font-bold mb-4 uppercase",children:"Crossroads: The Moment Before 4:20"}),c.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:"That critical moment when you need support, community, and a lifeline. We're here 7 days a week, standing in the gap when you need us most."})]}),c.jsxs("div",{className:"bg-card text-card-foreground p-8 rounded-xl shadow-lg hover:shadow-xl transition-shadow border border-border",children:[c.jsx("div",{className:"bg-secondary/10 w-16 h-16 rounded-full flex items-center justify-center mb-6",children:c.jsx(kr,{className:"w-8 h-8 text-secondary"})}),c.jsx("h2",{className:"text-3xl font-bold mb-4 uppercase",children:"1 John 4:19"}),c.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:'"We love because he first loved us." Our foundation is love, not judgment. No insurance required. Funded by Montcalm Opioid Settlement Funds. We meet you where you are.'})]})]})})}),uM=()=>{const{toast:e}=zs(),t=()=>{e({title:"Coming Soon",description:"🚧 This feature isn't implemented yet—but don't worry! You can request it in your next prompt! 🚀"})};return c.jsxs("section",{className:"relative py-24 overflow-hidden",children:[c.jsx("div",{className:"absolute inset-0 z-0 bg-cover bg-center",style:{backgroundImage:"url('https://images.unsplash.com/photo-1690716743475-336661099c77')"}}),c.jsx("div",{className:"absolute inset-0 z-10 bg-black/75"}),c.jsxs("div",{className:"relative z-20 container mx-auto px-4 max-w-4xl text-center",children:[c.jsx(Cw,{className:"w-16 h-16 text-primary mx-auto mb-6"}),c.jsx("h2",{className:"text-4xl md:text-5xl font-extrabold text-white mb-6 uppercase tracking-tight",children:"Innovative Digital Workforce Lab"}),c.jsx("p",{className:"text-xl text-white/80 mb-10 leading-relaxed max-w-2xl mx-auto",children:"Equipping you with tech basics and workforce readiness. Our program bridges the digital divide, providing essential skills training to help you thrive in today's economy."}),c.jsx(Re,{onClick:t,size:"lg",className:"bg-primary hover:bg-primary/90 text-white font-bold text-lg px-8 py-6 uppercase tracking-wider",children:"Join the Program"})]})]})},dM=()=>(zs(),x.useEffect(()=>{const e=document.createElement("script");return e.src="https://cdn.commoninja.com/sdk/latest/commonninja.js",e.defer=!0,document.body.appendChild(e),()=>{document.body.contains(e)&&document.body.removeChild(e)}},[]),c.jsx("section",{className:"py-20 bg-background border-y border-border",children:c.jsxs("div",{className:"container mx-auto px-4 max-w-7xl",children:[c.jsx("h2",{className:"text-4xl font-extrabold uppercase text-center mb-16 text-foreground",children:"Live Media Zone"}),c.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[c.jsxs("div",{className:"bg-card rounded-xl shadow-lg p-6 border border-border flex flex-col h-full",children:[c.jsx("h3",{className:"text-2xl font-bold mb-4",children:"August Calendar"}),c.jsx("div",{className:"flex-grow bg-muted rounded-lg flex flex-col items-center justify-center p-4 border border-border mb-4 overflow-hidden",children:c.jsx("img",{src:"https://horizons-cdn.hostinger.com/2e0a0993-347d-46d4-a97c-b7a6035af4ed/september-event-flyer-Yksxv.jpg",alt:"Sober Events August Calendar with weekly group schedule, recovery events, and center hours",className:"w-full h-auto object-contain rounded shadow-sm hover:scale-105 transition-transform duration-300",loading:"lazy"})})]}),c.jsxs("div",{className:"bg-card rounded-xl shadow-lg p-6 border border-border h-[400px] overflow-hidden",children:[c.jsx("h3",{className:"text-2xl font-bold mb-4",children:"Community Updates"}),c.jsx("div",{className:"h-full w-full overflow-y-auto",children:c.jsx("div",{className:"commonninja_component pid-e92c5bc8-25bb-4c84-99f0-15105bd22a9c"})})]}),c.jsxs("div",{className:"bg-card rounded-xl shadow-lg p-6 border border-border flex flex-col h-full",children:[c.jsx("h3",{className:"text-2xl font-bold mb-4",children:"Sober Not Boring"}),c.jsx("div",{className:"w-full flex-grow flex items-center justify-center",children:c.jsx("iframe",{title:"Sober Not Boring Podcast",height:"240",width:"100%",style:{border:"none",minWidth:"min(100%, 430px)",height:"240px"},scrolling:"no","data-name":"pb-iframe-player",src:"https://www.podbean.com/player-v2/?i=95fya-d6c91d-pbblog-playlist&share=1&download=1&rtl=1&fonts=Tahoma&skin=3267a3&font-color=auto&logo_link=podcast_page&order=episodic&limit=39&filter=all&ss=8c2cac903345aa1ede91bb6a2351315b&btn-skin=1b1b1b&size=240",loading:"lazy",allowFullScreen:!0})})]})]})]})})),fM=()=>c.jsx("section",{className:"py-20 bg-black text-white overflow-hidden",children:c.jsxs("div",{className:"container mx-auto px-4 max-w-6xl",children:[c.jsx("h2",{className:"text-4xl font-extrabold uppercase text-center mb-12",children:"Community in Action"}),c.jsx(J.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"relative aspect-video max-w-4xl mx-auto rounded-2xl overflow-hidden shadow-2xl",children:c.jsx("iframe",{className:"absolute top-0 left-0 w-full h-full",src:"https://www.youtube.com/embed/PSyDiopdH4k",title:"Community in Action Video",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})})]})}),ll=[{text:"Outreach 419 saved my life when I had nowhere else to turn.",author:"Sarah M.",role:"Community Member"},{text:"The love and support here is unmatched. No judgment, just pure connection.",author:"James T.",role:"Participant"},{text:"I found my purpose again through the Digital Workforce Lab.",author:"Elena R.",role:"Alumni"},{text:"Finally, a place that understands that recovery is a daily journey.",author:"Marcus W.",role:"Volunteer"}
18,{text:"The daily support groups give me the anchor I need.",author:"David L.",role:"Community Member"}],pM=()=>{const[e,t]=x.useState(0);return c.jsx("section",{className:"py-24 bg-primary text-primary-foreground",children:c.jsxs("div",{className:"container mx-auto px-4 max-w-4xl text-center",children:[c.jsx("h2",{className:"text-3xl font-bold uppercase mb-12 opacity-80",children:"Participant Voices"}),c.jsx("div",{className:"relative min-h-[200px] flex items-center justify-center",children:c.jsx(Ds,{mode:"wait",children:c.jsxs(J.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.4},className:"px-4",children:[c.jsxs("p",{className:"text-3xl md:text-5xl font-extrabold mb-8 leading-tight",children:['"',ll[e].text,'"']}),c.jsxs("div",{className:"text-xl font-bold",children:[ll[e].author," ",c.jsxs("span",{className:"opacity-70 font-normal",children:["| ",ll[e].role]})]})]},e)})}),c.jsx("div",{className:"flex justify-center gap-3 mt-12",children:ll.map((r,i)=>c.jsx("button",{onClick:()=>t(i),className:`w-3 h-3 rounded-full transition-all ${i===e?"bg-white scale-125":"bg-white/40 hover:bg-white/60"}`,"aria-label":`Go to slide ${i+1}`},i))})]})})},$y=()=>c.jsxs(c.Fragment,{children:[c.jsxs(Gn,{children:[c.jsx("title",{children:"Community Outreach & Recovery Programs in Greenville MI & Montcalm County | Outreach 419"}),c.jsx("meta",{name:"description",content:"Outreach 419 offers peer coaching and community outreach initiatives to support addiction recovery in Greenville MI, Ionia, and Montcalm County."}),c.jsx("meta",{property:"og:title",content:"Community Outreach & Recovery Programs in Greenville MI & Montcalm County"}),c.jsx("meta",{property:"og:description",content:"Outreach 419 offers peer coaching and community outreach initiatives to support addiction recovery in Greenville MI, Ionia, and Montcalm County."}),c.jsx("meta",{property:"og:url",content:"https://www.soberevents.us/outreach"})]}),c.jsxs("div",{className:"min-h-screen flex flex-col bg-background",children:[c.jsx(hi,{}),c.jsxs("main",{className:"flex-grow pt-20",children:[c.jsx(sM,{}),c.jsx("div",{className:"bg-primary text-primary-foreground py-6",children:c.jsxs("div",{className:"container mx-auto px-4 flex flex-col md:flex-row justify-center items-center gap-8 text-center md:text-left",children:[c.jsxs("div",{className:"flex items-center gap-3",children:[c.jsx(uo,{className:"w-6 h-6"}),c.jsx("span",{className:"font-bold text-lg",children:"235 W Fenwick Rd, Fenwick, MI 48834"})]}),c.jsx("div",{className:"hidden md:block w-px h-8 bg-primary-foreground/30"}),c.jsxs("div",{className:"flex items-center gap-3",children:[c.jsx(Vs,{className:"w-6 h-6"}),c.jsx("span",{className:"font-bold",children:"M-F: 9am-8pm | Sat: 11am-7pm | Sun: 10am-3pm"})]})]})}),c.jsx(cM,{}),c.jsx(lM,{}),c.jsx("section",{className:"py-20 bg-background",children:c.jsx("div",{className:"container mx-auto px-4 max-w-7xl",children:c.jsxs("div",{className:"flex flex-col lg:flex-row items-center gap-12",children:[c.jsxs(J.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"lg:w-1/2",children:[c.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[c.jsx("div",{className:"p-3 bg-primary/10 rounded-full",children:c.jsx(Ew,{className:"w-8 h-8 text-primary"})}),c.jsx("h2",{className:"text-4xl font-extrabold uppercase text-foreground",children:"Focus • Reflect • Renew"})]}),c.jsx("p",{className:"text-xl text-muted-foreground mb-8 leading-relaxed",children:"Recovery is more than just stopping; it's about beginning a new way of living. Our Wellness and Meditation programs are designed to help you find inner peace, build mental resilience, and reconnect with your authentic self."}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[c.jsxs("div",{className:"p-6 bg-muted/50 rounded-xl border border-border",children:[c.jsx("h4",{className:"font-bold text-lg mb-2",children:"Mindful Meditation"}),c.jsx("p",{className:"text-muted-foreground",children:"Guided sessions to ground your thoughts and reduce stress."})]}),c.jsxs("div",{className:"p-6 bg-muted/50 rounded-xl border border-border",children:[c.jsx("h4",{className:"font-bold text-lg mb-2",children:"Holistic Healing"}),c.jsx("p",{className:"text-muted-foreground",children:"Workshops focusing on total body and spirit alignment."})]})]})]}),c.jsx(J.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"lg:w-1/2 flex justify-center",children:c.jsxs("div",{className:"relative group max-w-lg w-full",children:[c.jsx("div",{className:"absolute -inset-1 bg-gradient-to-r from-primary to-accent rounded-2xl blur opacity-25 group-hover:opacity-50 transition duration-1000 group-hover:duration-200"}),c.jsx("div",{className:"relative bg-background rounded-2xl overflow-hidden border border-border shadow-2xl",children:c.jsx("img",{src:"https://horizons-cdn.hostinger.com/2e0a0993-347d-46d4-a97c-b7a6035af4ed/6becdaf82eceb231fc77456dfc519290.png",alt:"Meditation and Wellness Flyer - Focus, Reflect, Renew theme",className:"w-full h-auto object-contain transition-transform duration-500 group-hover:scale-[1.02]"})})]})})]})})}),c.jsx(uM,{}
18),c.jsx(dM,{}),c.jsx(fM,{}),c.jsx(pM,{})]}),c.jsx(mi,{}),c.jsx(Bs,{})]})]}),hM=()=>{const e=()=>{const t=document.getElementById("inquiry-section");t&&t.scrollIntoView({behavior:"smooth"})};return c.jsxs("section",{className:"relative min-h-screen flex items-center justify-center overflow-hidden bg-zinc-950",children:[c.jsx("div",{className:"absolute inset-0 z-0",style:{backgroundImage:'url("https://images.unsplash.com/photo-1688876100187-2d051ec5f1bc")',backgroundSize:"cover",backgroundPosition:"center"},children:c.jsx("div",{className:"absolute inset-0 bg-zinc-950/80"})}),c.jsxs("div",{className:"container relative z-10 px-4 mx-auto flex flex-col items-center text-center pt-24 pb-16",children:[c.jsx(J.img,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{duration:.8},src:"https://horizons-cdn.hostinger.com/2e0a0993-347d-46d4-a97c-b7a6035af4ed/d4a1c32a8f670318ad51a94dbc956dcd.png",alt:"Sober Not Boring official logo",className:"h-32 md:h-48 w-auto object-contain mb-8 filter drop-shadow-[0_0_15px_rgba(34,211,238,0.5)]"}),c.jsxs(J.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.2},className:"text-4xl md:text-6xl font-extrabold text-white mb-6 tracking-tight max-w-4xl leading-tight",children:["Sober Not Boring: ",c.jsx("span",{className:"text-cyan-400",children:"Amplifying Recovery, Prevention, and Brain Health"})]}),c.jsx(J.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.4},className:"text-xl md:text-2xl text-zinc-300 mb-10 max-w-2xl",children:"A Media LLC powered by people in recovery. Professional quality with a purpose."}),c.jsx(J.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.5,delay:.6},children:c.jsx(Re,{onClick:e,size:"lg",className:"bg-cyan-500 hover:bg-cyan-400 text-zinc-950 font-bold text-lg px-8 py-6 rounded-full shadow-[0_0_20px_rgba(34,211,238,0.4)] transition-all hover:scale-105",children:"Work With Us"})})]})]})},mM=()=>c.jsxs("section",{className:"w-full py-20 bg-gradient-to-b from-zinc-950 to-zinc-900 border-y border-zinc-800 relative overflow-hidden",children:[c.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-4xl h-64 bg-red-600/10 blur-[100px] pointer-events-none rounded-full"}),c.jsx("div",{className:"container mx-auto px-4 max-w-5xl relative z-10",children:c.jsxs(J.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"flex flex-col items-center text-center bg-zinc-900/50 backdrop-blur-md p-8 md:p-12 rounded-3xl border border-zinc-800 shadow-2xl",children:[c.jsx("div",{className:"mb-6 inline-flex items-center justify-center p-4 bg-red-600/20 text-red-500 rounded-full",children:c.jsx(mf,{className:"w-12 h-12"})}),c.jsxs("h2",{className:"text-3xl md:text-5xl font-extrabold text-white mb-6 tracking-tight",children:["Watch & Listen on ",c.jsx("span",{className:"text-red-500",children:"YouTube"})]}),c.jsxs("p",{className:"text-lg md:text-xl text-zinc-400 max-w-2xl mb-10 leading-relaxed",children:["Dive deeper into recovery stories, expert interviews, and community highlights. Subscribe to our official ",c.jsx("strong",{children:"Sober Not Boring"})," channel to catch all our latest video content and live streams."]}),c.jsx("div",{className:"flex flex-col sm:flex-row gap-4 w-full sm:w-auto",children:c.jsx(Re,{asChild:!0,size:"lg",className:"bg-red-600 hover:bg-red-700 text-white rounded-full px-8 py-6 text-lg font-bold shadow-lg shadow-red-600/20 hover:scale-105 transition-all duration-300 group",children:c.jsxs("a",{href:"https://www.youtube.com/@sobernotboring",target:"_blank",rel:"noopener noreferrer",children:[c.jsx(mf,{className:"w-6 h-6 mr-2 group-hover:animate-pulse"}),"Subscribe Now",c.jsx(Jl,{className:"w-5 h-5 ml-2 opacity-70"})]})})}),c.jsxs("div",{className:"mt-8 flex items-center justify-center gap-6 text-sm font-medium text-zinc-500",children:[c.jsxs("div",{className:"flex items-center gap-2",children:[c.jsx(Cl,{className:"w-4 h-4 text-red-500"}),c.jsx("span",{children:"Interviews"})]}),c.jsxs("div",{className:"flex items-center gap-2",children:[c.jsx(Cl,{className:"w-4 h-4 text-red-500"}),c.jsx("span",{children:"Event Recaps"})]}),c.jsxs("div",{className:"flex items-center gap-2",children:[c.jsx(Cl,{className:"w-4 h-4 text-red-500"}),c.jsx("span",{children:"Shorts"})]})]})]})})]}),rc=x.forwardRef(({className:e,...t},r)=>c.jsx("div",{ref:r,className:$e("rounded-xl border bg-card text-card-foreground shadow",e),...t}));
18rc.displayName="Card";const c1=x.forwardRef(({className:e,...t},r)=>c.jsx("div",{ref:r,className:$e("flex flex-col space-y-1.5 p-6",e),...t}));c1.displayName="CardHeader";const u1=x.forwardRef(({className:e,...t},r)=>c.jsx("div",{ref:r,className:$e("font-semibold leading-none tracking-tight",e),...t}));u1.displayName="CardTitle";const gM=x.forwardRef(({className:e,...t},r)=>c.jsx("div",{ref:r,className:$e("text-sm text-muted-foreground",e),...t}));gM.displayName="CardDescription";const oc=x.forwardRef(({className:e,...t},r)=>c.jsx("div",{ref:r,className:$e("p-6 pt-0",e),...t}));oc.displayName="CardContent";const vM=x.forwardRef(({className:e,...t},r)=>c.jsx("div",{ref:r,className:$e("flex items-center p-6 pt-0",e),...t}));vM.displayName="CardFooter";const yM=()=>{const e=[{icon:Yn,title:"Hiring & Training",desc:"Outreach 419 Digital Workforce Lab graduates gain real-world tech and media skills."},{icon:YR,title:"Sustainable Income",desc:"Providing living wages and pathways to stable, long-term careers in digital media."},{icon:kr,title:"Purpose-Driven",desc:"Every project booked supports a journey of rebuilding and strengthens our community."}];return c.jsx("section",{className:"py-24 bg-zinc-950 text-white relative border-b border-zinc-800",children:c.jsxs("div",{className:"container mx-auto px-4",children:[c.jsxs("div",{className:"text-center mb-16",children:[c.jsx(J.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-4xl md:text-5xl font-bold mb-4 text-white",children:"The Circular Economy"}),c.jsx(J.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.2},className:"text-xl text-cyan-400 font-semibold max-w-2xl mx-auto",children:"Hiring and training Outreach 419 Digital Workforce Lab graduates for sustainable income and tech skills"})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 max-w-5xl mx-auto",children:e.map((t,r)=>c.jsx(J.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.2},children:c.jsx(rc,{className:"bg-zinc-900 border-zinc-800 h-full hover:border-cyan-500/50 transition-colors duration-300 group",children:c.jsxs(oc,{className:"p-8 text-center flex flex-col items-center",children:[c.jsx("div",{className:"w-16 h-16 rounded-full bg-zinc-950 border border-zinc-800 group-hover:border-cyan-500 flex items-center justify-center mb-6 transition-colors duration-300",children:c.jsx(t.icon,{className:"w-8 h-8 text-cyan-400"})}),c.jsx("h3",{className:"text-xl font-bold text-white mb-3",children:t.title}),c.jsx("p",{className:"text-zinc-400",children:t.desc})]})})},r))}),c.jsx(J.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},className:"mt-16 text-center",children:c.jsx("div",{className:"inline-block px-8 py-4 rounded-xl border border-cyan-500/30 bg-cyan-500/10",children:c.jsxs("p",{className:"text-2xl font-bold text-white",children:[c.jsx("span",{className:"text-cyan-400",children:"Every project booked"})," supports a journey of rebuilding."]})})})]})})},xM=[{icon:eA,title:"Video Production & Editing",desc:"High-quality filming, editing, and post-production for your brand or event.",color:"text-purple-400"},{icon:jw,title:"Podcast Production",desc:"End-to-end podcast services from recording and editing to distribution.",color:"text-cyan-400"},{icon:qR,title:"Social Media Management",desc:"Strategic content creation and community management to grow your audience.",color:"text-orange-400"},{icon:co,title:"Event Media Coverage",desc:"Comprehensive photography and videography for conferences and live events.",color:"text-green-400"},{icon:zR,title:"Consulting",desc:"Expert advice on media strategy, branding, and incorporating recovery-friendly practices.",color:"text-pink-400"}],wM=()=>c.jsx("section",{className:"py-24 bg-zinc-950 text-white relative border-b border-zinc-800",children:c.jsxs("div",{className:"container mx-auto px-4 max-w-6xl",children:[c.jsxs("div",{className:"text-center mb-16",children:[c.jsx(J.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-4xl md:text-5xl font-bold mb-4",children:"Hire Our Services"}),c.jsx(J.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1},className:"text-2xl font-bold text-cyan-400 max-w-2xl mx-auto mb-4",children:"You get a quality product and you support a recovery journey"}),c.jsx("p",{className:"text-xl text-zinc-400 max-w-2xl mx-auto",children:"Professional media solutions powered by purpose."})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:xM.map((e,t)=>c.jsx(J.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:t*.1},children:c.jsxs(rc,{className:"bg-zinc-900 border-zinc-800 h-full hover:border-zinc-600 transition-all duration-300 hover:shadow-[0_0_30px_rgba(255,255,255,0.05)] hover:-translate-y-1 group relative overflow-hidden",children:[c.jsx("div",{className:`absolute top-0 left-0 w-full h-1 bg-gradient-to-r from-transparent via-${e.color.split("-")[1]}-500 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500`}),c.jsxs(c1,{children:[c.jsx(e.icon,{className:`w-10 h-10 mb-4 ${e.color}`}),c.jsx(u1,{className:"text-2xl font-bold text-white",children:e.title})]}),c.jsx(oc,{className:"flex flex-col h-[calc(100%-100px)] justify-between",children:c.jsx("p",{className:"text-zinc-400",children:e.desc})})]})},t))})]})}),bM=()=>c.jsxs("section",{className:"py-24 bg-zinc-950 text-white relative border-b border-zinc-800 overflow-hidden",children:[c.jsx("div",{className:"absolute top-0 right-0 w-1/2 h-full opacity-10 pointer-events-none",children:c.jsx("div",{className:"absolute inset-0 bg-gradient-to-l from-purple-500 to-transparent mix-blend-screen"})}),c.jsx("div",{className:"container mx-auto px-4 max-w-6xl relative z-10",children:c.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[c.jsxs(J.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"space-y-8",children:[c.jsxs("div",{children:[c.jsx("h2",{className:"text-sm font-bold tracking-widest text-purple-400 uppercase mb-3",children:"On the Move"}),c.jsx("h3",{className:"text-4xl md:text-5xl font-bold leading-tight text-white mb-6",children:"Official media team for the 2026 Black Men's Brain Health Conference"}),c.jsx("p",{className:"text-xl text-zinc-400",children:"We are proud to bring our professional production capabilities to one of the most important health conferences of the year."})]}),c.jsxs("div",{className:"space-y-4",children:[c.jsxs("div",{className:"flex items-center gap-4 text-zinc-300",children:[c.jsx("div",{className:"w-12 h-12 rounded-full bg-purple-500/10 border border-purple-500/30 flex items-center justify-center shrink-0",children:c.jsx(co,{className:"text-purple-400 w-
185 h-5"})}),c.jsxs("div",{children:[c.jsx("p",{className:"font-semibold text-white",children:"Event Date"}),c.jsx("p",{children:"February 2026"})]})]}),c.jsxs("div",{className:"flex items-center gap-4 text-zinc-300",children:[c.jsx("div",{className:"w-12 h-12 rounded-full bg-purple-500/10 border border-purple-500/30 flex items-center justify-center shrink-0",children:c.jsx(uo,{className:"text-purple-400 w-5 h-5"})}),c.jsxs("div",{children:[c.jsx("p",{className:"font-semibold text-white",children:"Location"}),c.jsx("p",{children:"Oakland, CA"})]})]}),c.jsxs("div",{className:"flex items-center gap-4 text-zinc-300",children:[c.jsx("div",{className:"w-12 h-12 rounded-full bg-purple-500/10 border border-purple-500/30 flex items-center justify-center shrink-0",children:c.jsx(Yn,{className:"text-purple-400 w-5 h-5"})}),c.jsxs("div",{children:[c.jsx("p",{className:"font-semibold text-white",children:"Coverage"}),c.jsx("p",{children:"Full event videography, interviews, and live social media."})]})]})]}),c.jsxs(Re,{className:"bg-purple-600 hover:bg-purple-500 text-white font-bold px-6 py-6 rounded-lg shadow-[0_0_15px_rgba(168,85,247,0.4)] group",children:["Learn More About the Conference",c.jsx(Fs,{className:"ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform"})]})]}),c.jsxs(J.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"relative",children:[c.jsxs("div",{className:"relative rounded-2xl overflow-hidden border border-zinc-800 shadow-2xl z-10",children:[c.jsx("img",{src:"https://images.unsplash.com/photo-1516349913711-2d5cb60d46fe",alt:"Oakland California skyline",className:"w-full h-auto object-cover aspect-[4/3]"}),c.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-zinc-950 via-zinc-950/20 to-transparent"})]}),c.jsx("div",{className:"absolute -bottom-10 -left-10 w-2/3 rounded-2xl overflow-hidden border-4 border-zinc-950 shadow-xl z-20",children:c.jsx("img",{src:"https://images.unsplash.com/photo-1651009188116-bb5f80eaf6aa",alt:"Diverse team collaboration",className:"w-full h-auto object-cover aspect-video"})})]})]})})]}),SM=[{icon:kp,title:"Community Feed",desc:"Connect with peers in a safe, moderated environment."},{icon:ww,title:"Resource Catalog",desc:"Access essential recovery resources instantly."},{icon:LR,title:"Recovery Courses",desc:"Learn at your own pace with curated educational content."},{icon:TR,title:"Event Access",desc:"Stay updated on upcoming meetings and local events."}],CM=()=>c.jsx("section",{className:"py-24 bg-zinc-950 text-white relative border-b border-zinc-800",children:c.jsx("div",{className:"container mx-auto px-4 max-w-6xl",children:c.jsxs("div",{className:"flex flex-col lg:flex-row items-center gap-16",children:[c.jsxs(J.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"lg:w-1/2",children:[c.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-4 text-white",children:"Download Our App"}),c.jsx("p",{className:"text-xl text-cyan-400 font-medium mb-8",children:"Your recovery resource in your pocket. Connect, learn, and grow."}),c.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 mb-10",children:SM.map((e,t)=>c.jsx(rc,{className:"bg-zinc-900 border-zinc-800",children:c.jsxs(oc,{className:"p-4 flex items-start gap-4",children:[c.jsx("div",{className:"w-10 h-10 rounded-lg bg-cyan-500/10 flex items-center justify-center shrink-0",children:c.jsx(e.icon,{className:"w-5 h-5 text-cyan-400"})}),c.jsxs("div",{children:[c.jsx("h4",{className:"font-bold text-white mb-1",children:e.title}),c.jsx("p",{className:"text-sm text-zinc-400 leading-tight",children:e.desc})]})]})},t))}),c.jsxs("div",{className:"flex flex-wrap gap-4",children:[c.jsx(Re,{asChild:!0,className:"bg-zinc-100 hover:bg-white text-zinc-900 h-14 px-6 rounded-xl flex items-center gap-3",children:c.jsxs("a",{href:"https://apps.apple.com/us/app/sober-not-boring/id6748838113",target:"_blank",rel:"noopener noreferrer",children:[c.jsx(SR,{className:"w-6 h-6"}),c.jsxs("div",{className:"text-left",children:[c.jsx("div",{className:"text-[10px] leading-none mb-1",children:"Download on the"}),c.jsx("div",{className:"text-sm font-bold leading-none",children:"App Store"})]})]})}),c.jsx(Re,{asChild:!0,className:"bg-zinc-100 hover:bg-white text-zinc-900 h-14 px-6 rounded-xl flex items-center gap-3",children:c.jsxs("a",{href:"https://play.google.com/store/apps/details?id=com.createcommunity.sobernotboring",target:"_blank",rel:"noopener noreferrer",children:[c.jsx(Pp,{className:"w-6 h-6"}),c.jsxs("div",{className:"text-left",children:[c.jsx("div",{className:"text-[10px] leading-none mb-1",children:"GET IT ON"}),c.jsx("div",{className:"text-sm font-bold leading-none",children:"Google Play"})]})]})})]})]}),c.jsxs(J.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},className:"lg:w-1/2 relative flex justify-center",children:[c.jsxs("div",{className:"relative w-64 h-[500px] bg-zinc-900 border-8 border-zinc-800 rounded-[3rem] shadow-2xl overflow-hidden flex items-center justify-center",children:[c.jsx("div",{className:"absolute top-0 w-32 h-6 bg-zinc-800 rounded-b-xl z-20"}),c.jsxs("div",{className:"text-center p-6",children:[c.jsx("img",{src:"https://horizons-cdn.hostinger.com/2e0a0993-347d-46d4-a97c-b7a6035af4ed/d4a1c32a8f670318ad51a94dbc956dcd.png",alt:"App Preview",className:"w-32 mx-auto mb-6 opacity-50"}),c.jsx("p",{className:"text-zinc-500 font-medium",children:"Sober Not Boring App Preview"})]})]}),c.jsx("div",{className:"absolute inset-0 bg-cyan-500/20 blur-[100px] -z-10 rounded-full"})]})]})})}),Xr=[{id:1,title:"Conference B-Roll Mashup",desc:"Dynamic event coverage capturing the essence of large-scale recovery conventions.",image:"https://images.unsplash.com/photo-1693904501551-4e7e716a780d",alt:"Professional video production"},{id:2,title:"Podcast Marketing Package",desc:"High-quality audio recording and promotional video snippets for social media.",image:"https://images.unsplash.com/photo-1668608321309-8fa4f70deeed",alt:"Podcast recording session"}],EM=()=>
18{const[e,t]=x.useState(0),r=()=>{t(s=>s===Xr.length-1?0:s+1)},i=()=>{t(s=>s===0?Xr.length-1:s-1)};return c.jsx("section",{className:"py-24 bg-zinc-950 text-white relative border-b border-zinc-800",children:c.jsxs("div",{className:"container mx-auto px-4 max-w-5xl text-center",children:[c.jsx(J.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-4xl md:text-5xl font-bold mb-12 text-white",children:"Our Latest Work"}),c.jsxs("div",{className:"relative group rounded-2xl overflow-hidden border border-zinc-800 shadow-2xl bg-zinc-900 aspect-video",children:[c.jsx(Ds,{mode:"wait",children:c.jsxs(J.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.5},className:"absolute inset-0",children:[c.jsx("img",{src:Xr[e].image,alt:Xr[e].alt,className:"w-full h-full object-cover opacity-60"}),c.jsxs("div",{className:"absolute inset-0 bg-gradient-to-t from-zinc-950 via-zinc-950/40 to-transparent flex flex-col justify-end p-8 md:p-12 text-left",children:[c.jsx("div",{className:"w-16 h-16 rounded-full bg-cyan-500/20 backdrop-blur-md border border-cyan-500/50 flex items-center justify-center mb-6 cursor-pointer hover:scale-110 transition-transform",children:c.jsx(Pp,{className:"w-6 h-6 text-cyan-400 ml-1"})}),c.jsx("h3",{className:"text-3xl font-bold text-white mb-2",children:Xr[e].title}),c.jsx("p",{className:"text-xl text-zinc-300 max-w-2xl",children:Xr[e].desc})]})]},e)}),c.jsx(Re,{variant:"ghost",size:"icon",onClick:i,className:"absolute left-4 top-1/2 -translate-y-1/2 w-12 h-12 rounded-full bg-black/50 hover:bg-black/80 text-white border border-zinc-700 opacity-0 group-hover:opacity-100 transition-opacity",children:c.jsx(kR,{className:"w-6 h-6"})}),c.jsx(Re,{variant:"ghost",size:"icon",onClick:r,className:"absolute right-4 top-1/2 -translate-y-1/2 w-12 h-12 rounded-full bg-black/50 hover:bg-black/80 text-white border border-zinc-700 opacity-0 group-hover:opacity-100 transition-opacity",children:c.jsx(RR,{className:"w-6 h-6"})}),c.jsx("div",{className:"absolute bottom-6 right-8 flex gap-2",children:Xr.map((s,l)=>c.jsx("div",{className:`w-2 h-2 rounded-full transition-all ${l===e?"w-6 bg-cyan-400":"bg-zinc-600"}`},l))})]})]})})},no=x.forwardRef(({className:e,type:t,...r},i)=>c.jsx("input",{type:t,className:$e("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:i,...r}));no.displayName="Input";var jM=Object.defineProperty,Ip=(e,t)=>jM(e,"name",{value:t,configurable:!0});function wf(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}Ip(wf,"setRef");function d1(...e){return t=>{let r=!1;const i=e.map(s=>{const l=wf(s,t);return!r&&typeof l=="function"&&(r=!0),l});if(r)return()=>{for(let s=0;s<i.length;s++){const l=i[s];typeof l=="function"?l():wf(e[s],null)}}}}Ip(d1,"composeRefs");function f1(...e){return x.useCallback(d1(...e),e)}Ip(f1,"useComposedRefs");var NM=Object.defineProperty,gn=(e,t)=>NM(e,"name",{value:t,configurable:!0});function p1(e){const t=x.forwardRef((r,i)=>{let{children:s,...l}=r,u=null,f=!1;const p=[];bf(s)&&typeof cl=="function"&&(s=cl(s._payload)),x.Children.forEach(s,w=>{if(v1(w)){f=!0;const S=w;let j="child"in S.props?S.props.child:S.props.children;bf(j)&&typeof cl=="function"&&(j=cl(j._payload)),u=PM(S,j),p.push(u?.props?.children)}else p.push(w)}),u?u=x.cloneElement(u,void 0,p):!f&&x.Children.count(s)===1&&x.isValidElement(s)&&(u=s);const h=u?g1(u):void 0,g=f1(i,h);if(!u){if(s||s===0)throw new Error(f?AM(e):RM(e));return s}const v=m1(l,u.props??{});return u.type!==x.Fragment&&(v.ref=i?g:h),x.cloneElement(u,v)});return t.displayName=`${e}.Slot`,t}gn(p1,"createSlot");var h1=Symbol.for("radix.slottable");function TM(e){const t=gn(r=>"child"in r?r.children(r.child):r.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=h1,t}gn(TM,"createSlottable");var PM=gn((e,t)=>{if("child"in e.props){const r=e.props.child;return x.isValidElement(r)?x.cloneElement(r,void 0,e.props.children(r.props.children)):null}return x.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function m1(e,t){const r={...t};for(const i in t){const s=e[i],l=t[i];/^on[A-Z]/.test(i)?s&&l?r[i]=(...f)=>{const p=l(...f);return s(...f),p}:s&&(r[i]=s):i==="style"?r[i]={...s,...l}
18:i==="className"&&(r[i]=[s,l].filter(Boolean).join(" "))}return{...e,...r}}gn(m1,"mergeProps");function g1(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}gn(g1,"getElementRef");function v1(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===h1}gn(v1,"isSlottable");var kM=Symbol.for("react.lazy");function bf(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===kM&&"_payload"in e&&y1(e._payload)}gn(bf,"isLazyComponent");function y1(e){return typeof e=="object"&&e!==null&&"then"in e}gn(y1,"isPromiseLike");var RM=gn(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),AM=gn(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),cl=ci[" use ".trim().toString()],MM=Object.defineProperty,OM=(e,t)=>MM(e,"name",{value:t,configurable:!0}),IM=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],_M=IM.reduce((e,t)=>{const r=p1(`Primitive.${t}`),i=x.forwardRef((s,l)=>{const{asChild:u,...f}=s,p=u?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(p,{...f,ref:l})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function LM(e,t){e&&nr.flushSync(()=>e.dispatchEvent(t))}OM(LM,"dispatchDiscreteCustomEvent");var DM=Object.defineProperty,FM=(e,t)=>DM(e,"name",{value:t,configurable:!0}),VM=x.forwardRef(FM(function(t,r){return c.jsx(_M.label,{...t,ref:r,onMouseDown:i=>{i.target.closest("button, input, select, textarea")||(t.onMouseDown?.(i),!i.defaultPrevented&&i.detail>1&&i.preventDefault())}})},"Label")),x1=VM;const zM=jp("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),dn=x.forwardRef(({className:e,...t},r)=>c.jsx(x1,{ref:r,className:$e(zM(),e),...t}));dn.displayName=x1.displayName;const _p=x.forwardRef(({className:e,...t},r)=>c.jsx("textarea",{className:$e("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...t}));_p.displayName="Textarea";var BM=Object.defineProperty,$M=(e,t)=>BM(e,"name",{value:t,configurable:!0});function Sf(e,[t,r]){return Math.min(r,Math.max(t,e))}$M(Sf,"clamp");var WM=Object.defineProperty,gi=(e,t)=>WM(e,"name",{value:t,configurable:!0}),w1=!!(typeof window<"u"&&window.document&&window.document.createElement);function Ze(e,t,{checkForDefaultPrevented:r=!0}={}){return gi(function(s){if(e?.(s),r===!1||!s||!s.defaultPrevented)return t?.(s)},"handleEvent")}gi(Ze,"composeEventHandlers");function UM(e){if(!w1)throw new Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window}gi(UM,"getOwnerWindow");function Cf(e){if(!w1)throw new Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}gi(Cf,"getOwnerDocument");function b1(e,t=!1){const{activeElement:r}=Cf(e);if(!r?.nodeName)return null;if(S1(r)&&r.contentDocument)return b1(r.contentDocument.body,t);if(t){const i=r.getAttribute("aria-activedescendant");if(i){const s=Cf(r).getElementById(i);if(s)return s}}return r}gi(b1,"getActiveElement");function S1(e){return e.tagName==="IFRAME"}gi(S1,"isFrame");var HM=Object.defineProperty,Jt=(e,t)=>HM(e,"name",{value:t,configurable:!0});function KM(e,t){const r=x.createContext(t);r.displayName=e+"Context";const i=Jt(l=>{const{children:u,...f}=l,p=x.useMemo(()=>f,Object.values(f));return c.jsx(r.Provider,{value:p,children:u})},"Provider");i.displayName=e+"Provider";function s(l,u={}){const{optional:f=!1}=u,p=x.useContext(r);if(p)return p;if(t!==void 0)return t;if(!f)throw new Error(`\`${l}\` must be used within \`${e}\``)}return Jt(s,"useContext"),[i,s]}Jt(KM,"createContext");function $s(e,t=[]){let r=[];function i(l,u){const f=x.createContext(u);f.displayName=l+"Context";const p=r.length;r=[...r,u];const h=Jt(v=>{const{scope:w,children:S,...j}=v,E=w?.[e]?.[p]||f,b=x.useMemo(()=>j,Object.values(j));return c.jsx(E.Provider,{value:b,children:S})},"Provider");h.displayName=l+"Provider";function g(v,w,S={}){const{optional:j=!1}=S,E=w?.[e]?.[p]||f,b=x.useContext(E);if(b)return b;if(u!==void 0)return u;if(!j)throw new Error(`\`${v}\` must be used within \`${l}\``)}return Jt(g,"useContext"),[h,g]}Jt(i,"createContext");const s=Jt(()=>{const l=r.map(u=>x.createContext(u));return Jt(function(f){const p=f?.[e]||l;return x.useMemo(()=>({[`__scope${e}`]:{...f,[e]:p}}),[f,p])},"useScope")},"createScope");return s.scopeName=e,[i,C1(s,...t)]}Jt($s,"createContextScope");function C1(...e){const t=e[0];if(e.length===1)return t;const r=Jt(()=>{const i=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return Jt(function(l){const u=i.reduce((f,{useScope:p,scopeName:h})=>{const v=p(l)[`__scope${h}`];return{...f,...v}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}Jt(C1,"composeContextScopes");var GM=Object.defineProperty,Lp=(e,t)=>GM(e,"name",{value:t,configurable:!0});function Ef(e,t){if(typeof e=="function")return e(t);
18e!=null&&(e.current=t)}Lp(Ef,"setRef");function E1(...e){return t=>{let r=!1;const i=e.map(s=>{const l=Ef(s,t);return!r&&typeof l=="function"&&(r=!0),l});if(r)return()=>{for(let s=0;s<i.length;s++){const l=i[s];typeof l=="function"?l():Ef(e[s],null)}}}}Lp(E1,"composeRefs");function Je(...e){return x.useCallback(E1(...e),e)}Lp(Je,"useComposedRefs");var qM=Object.defineProperty,vn=(e,t)=>qM(e,"name",{value:t,configurable:!0});function oo(e){const t=x.forwardRef((r,i)=>{let{children:s,...l}=r,u=null,f=!1;const p=[];jf(s)&&typeof ul=="function"&&(s=ul(s._payload)),x.Children.forEach(s,w=>{if(P1(w)){f=!0;const S=w;let j="child"in S.props?S.props.child:S.props.children;jf(j)&&typeof ul=="function"&&(j=ul(j._payload)),u=XM(S,j),p.push(u?.props?.children)}else p.push(w)}),u?u=x.cloneElement(u,void 0,p):!f&&x.Children.count(s)===1&&x.isValidElement(s)&&(u=s);const h=u?T1(u):void 0,g=Je(i,h);if(!u){if(s||s===0)throw new Error(f?JM(e):ZM(e));return s}const v=N1(l,u.props??{});return u.type!==x.Fragment&&(v.ref=i?g:h),x.cloneElement(u,v)});return t.displayName=`${e}.Slot`,t}vn(oo,"createSlot");var j1=Symbol.for("radix.slottable");function YM(e){const t=vn(r=>"child"in r?r.children(r.child):r.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=j1,t}vn(YM,"createSlottable");var XM=vn((e,t)=>{if("child"in e.props){const r=e.props.child;return x.isValidElement(r)?x.cloneElement(r,void 0,e.props.children(r.props.children)):null}return x.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function N1(e,t){const r={...t};for(const i in t){const s=e[i],l=t[i];/^on[A-Z]/.test(i)?s&&l?r[i]=(...f)=>{const p=l(...f);return s(...f),p}:s&&(r[i]=s):i==="style"?r[i]={...s,...l}:i==="className"&&(r[i]=[s,l].filter(Boolean).join(" "))}return{...e,...r}}vn(N1,"mergeProps");function T1(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}vn(T1,"getElementRef");function P1(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===j1}vn(P1,"isSlottable");var QM=Symbol.for("react.lazy");function jf(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===QM&&"_payload"in e&&k1(e._payload)}vn(jf,"isLazyComponent");function k1(e){return typeof e=="object"&&e!==null&&"then"in e}vn(k1,"isPromiseLike");var ZM=vn(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),JM=vn(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),ul=ci[" use ".trim().toString()],e4=Object.defineProperty,lt=(e,t)=>e4(e,"name",{value:t,configurable:!0});function R1(e){const t=e+"CollectionProvider",[r,i]=$s(t),[s,l]=r(t,{collectionRef:{current:null},itemMap:new Map}),u=lt(E=>{const{scope:b,children:N}=E,T=x.useRef(null),P=x.useRef(new Map).current;return c.jsx(s,{scope:b,itemMap:P,collectionRef:T,children:N})},"CollectionProvider");u.displayName=t;const f=e+"CollectionSlot",p=oo(f),h=x.forwardRef((E,b)=>{const{scope:N,children:T}=E,P=l(f,N),R=Je(b,P.collectionRef);return c.jsx(p,{ref:R,children:T})});h.displayName=f;const g=e+"CollectionItemSlot",v="data-radix-collection-item",w=oo(g),S=x.forwardRef((E,b)=>{const{scope:N,children:T,...P}=E,R=x.useRef(null),M=Je(b,R),F=l(g,N);return x.useEffect(()=>(F.itemMap.set(R,{ref:R,...P}),()=>{F.itemMap.delete(R)})),c.jsx(w,{[v]:"",ref:M,children:T})});S.displayName=g;function j(E){const b=l(e+"CollectionConsumer",E);return x.useCallback(()=>{const T=b.collectionRef.current;if(!T)return[];const P=Array.from(T.querySelectorAll(`[${v}]`));return Array.from(b.itemMap.values()).sort((F,z)=>P.indexOf(F.ref.current)-P.indexOf(z.ref.current))},[b.collectionRef,b.itemMap])}return lt(j,"useCollection"),[{Provider:u,Slot:h,ItemSlot:S}
18,j,i]}lt(R1,"createCollection");var Wy=new WeakMap,tt,Dt,Ld=(Dt=class extends Map{constructor(r){super(r);qg(this,tt);rd(this,tt,[...super.keys()]),Wy.set(this,!0)}set(r,i){return Wy.get(this)&&(this.has(r)?yt(this,tt)[yt(this,tt).indexOf(r)]=r:yt(this,tt).push(r)),super.set(r,i),this}insert(r,i,s){const l=this.has(i),u=yt(this,tt).length,f=Dp(r);let p=f>=0?f:u+f;const h=p<0||p>=u?-1:p;if(h===this.size||l&&h===this.size-1||h===-1)return this.set(i,s),this;const g=this.size+(l?0:1);f<0&&p++;const v=[...yt(this,tt)];let w,S=!1;for(let j=p;j<g;j++)if(p===j){let E=v[j];v[j]===i&&(E=v[j+1]),l&&this.delete(i),w=this.get(E),this.set(i,s)}else{!S&&v[j-1]===i&&(S=!0);const E=v[S?j:j-1],b=w;w=this.get(E),this.delete(E),this.set(E,b)}return this}with(r,i,s){const l=new Dt(this);return l.insert(r,i,s),l}before(r){const i=yt(this,tt).indexOf(r)-1;if(!(i<0))return this.entryAt(i)}setBefore(r,i,s){const l=yt(this,tt).indexOf(r);return l===-1?this:this.insert(l,i,s)}after(r){let i=yt(this,tt).indexOf(r);if(i=i===-1||i===this.size-1?-1:i+1,i!==-1)return this.entryAt(i)}setAfter(r,i,s){const l=yt(this,tt).indexOf(r);return l===-1?this:this.insert(l+1,i,s)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return rd(this,tt,[]),super.clear()}delete(r){const i=super.delete(r);return i&&yt(this,tt).splice(yt(this,tt).indexOf(r),1),i}deleteAt(r){const i=this.keyAt(r);return i!==void 0?this.delete(i):!1}at(r){const i=Nl(yt(this,tt),r);if(i!==void 0)return this.get(i)}entryAt(r){const i=Nl(yt(this,tt),r);if(i!==void 0)return[i,this.get(i)]}indexOf(r){return yt(this,tt).indexOf(r)}keyAt(r){return Nl(yt(this,tt),r)}from(r,i){const s=this.indexOf(r);if(s===-1)return;let l=s+i;return l<0&&(l=0),l>=this.size&&(l=this.size-1),this.at(l)}keyFrom(r,i){const s=this.indexOf(r);if(s===-1)return;let l=s+i;return l<0&&(l=0),l>=this.size&&(l=this.size-1),this.keyAt(l)}find(r,i){let s=0;for(const l of this){if(Reflect.apply(r,i,[l,s,this]))return l;s++}}findIndex(r,i){let s=0;for(const l of this){if(Reflect.apply(r,i,[l,s,this]))return s;s++}return-1}filter(r,i){const s=[];let l=0;for(const u of this)Reflect.apply(r,i,[u,l,this])&&s.push(u),l++;return new Dt(s)}map(r,i){const s=[];let l=0;for(const u of this)s.push([u[0],Reflect.apply(r,i,[u,l,this])]),l++;return new Dt(s)}reduce(...r){const[i,s]=r;let l=0,u=s??this.at(0);for(const f of this)l===0&&r.length===1?u=f:u=Reflect.apply(i,this,[u,f,l,this]),l++;return u}reduceRight(...r){const[i,s]=r;let l=s??this.at(-1);for(let u=this.size-1;u>=0;u--){const f=this.at(u);u===this.size-1&&r.length===1?l=f:l=Reflect.apply(i,this,[l,f,u,this])}return l}toSorted(r){const i=[...this.entries()].sort(r);return new Dt(i)}toReversed(){const r=new Dt;for(let i=this.size-1;i>=0;i--){const s=this.keyAt(i),l=this.get(s);r.set(s,l)}return r}toSpliced(...r){const i=[...this.entries()];return i.splice(...r),new Dt(i)}slice(r,i){const s=new Dt;let l=this.size-1;if(r===void 0)return s;r<0&&(r=r+this.size),i!==void 0&&i>0&&(l=i-1);for(let u=r;u<=l;u++){const f=this.keyAt(u),p=this.get(f);s.set(f,p)}return s}every(r,i){let s=0;for(const l of this){if(!Reflect.apply(r,i,[l,s,this]))return!1;s++}return!0}some(r,i){let s=0;for(const l of this){if(Reflect.apply(r,i,[l,s,this]))return!0;s++}return!1}},tt=new WeakMap,lt(Dt,"OrderedDict"),Dt);function Nl(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);const r=A1(e,t);return r===-1?void 0:e[r]}lt(Nl,"at");function A1(e,t){const r=e.length,i=Dp(t),s=i>=0?i:r+i;return s<0||s>=r?-1:s}lt(A1,"toSafeIndex");function Dp(e){return e!==e||e===0?0:Math.trunc(e)}lt(Dp,"toSafeInteger");function t4(e){const t=e+"CollectionProvider",[r,i]=$s(t),[s,l]=r(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new Ld,setItemMap:lt(()=>{},"setItemMap")}),u=lt(({state:P,...R})=>P?c.jsx(p,{...R,state:P}):c.jsx(f,{...R}),"CollectionProvider");u.displayName=t;const f=lt(P=>{const R=b();return c.jsx(p,{...P,state:R})},"CollectionInit");f.displayName=t+"Init";const p=lt(P=>{const{scope:R,children:M,state:F}=P,z=x.useRef(null),[$,X]=x.useState(null),ee=Je(z,X),[se,K]=F;return x.useEffect(()=>{if(!$)return;const le=I1(()=>{});return le.observe($,{childList:!0,subtree:!0}),()=>{le.disconnect()}},[$]),c.jsx(s,{scope:R,itemMap:se,setItemMap:K,collectionRef:ee,collectionRefObject:z,collectionElement:$,children:M})},"CollectionProviderImpl");p.displayName=t+"Impl";const h=e+"CollectionSlot",g=oo(h),v=x.forwardRef((P,R)=>{const{scope:M,children:F}
18=P,z=l(h,M),$=Je(R,z.collectionRef);return c.jsx(g,{ref:$,children:F})});v.displayName=h;const w=e+"CollectionItemSlot",S="data-radix-collection-item",j=oo(w),E=x.forwardRef((P,R)=>{const{scope:M,children:F,...z}=P,$=x.useRef(null),[X,ee]=x.useState(null),se=Je(R,$,ee),K=l(w,M),{setItemMap:le}=K,q=x.useRef(z);M1(q.current,z)||(q.current=z);const he=q.current;return x.useEffect(()=>{const oe=he;return le(Z=>X?Z.has(X)?Z.set(X,{...oe,element:X}).toSorted(Nf):(Z.set(X,{...oe,element:X}),Z.toSorted(Nf)):Z),()=>{le(Z=>!X||!Z.has(X)?Z:(Z.delete(X),new Ld(Z)))}},[X,he,le]),c.jsx(j,{[S]:"",ref:se,children:F})});E.displayName=w;function b(){return x.useState(new Ld)}lt(b,"useInitCollection");function N(P){const{itemMap:R}=l(e+"CollectionConsumer",P);return R}return lt(N,"useCollection"),[{Provider:u,Slot:v,ItemSlot:E},{createCollectionScope:i,useCollection:N,useInitCollection:b}]}lt(t4,"createCollection");function M1(e,t){if(e===t)return!0;if(typeof e!="object"||typeof t!="object"||e==null||t==null)return!1;const r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(const s of r)if(!Object.prototype.hasOwnProperty.call(t,s)||e[s]!==t[s])return!1;return!0}lt(M1,"shallowEqual");function O1(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}lt(O1,"isElementPreceding");function Nf(e,t){return!e[1].element||!t[1].element?0:O1(e[1].element,t[1].element)?-1:1}lt(Nf,"sortByDocumentPosition");function I1(e){return new MutationObserver(r=>{for(const i of r)if(i.type==="childList"){e();return}})}lt(I1,"getChildListObserver");var n4=Object.defineProperty,r4=(e,t)=>n4(e,"name",{value:t,configurable:!0}),o4=x.createContext(void 0);function _1(e){const t=x.useContext(o4);return e||t||"ltr"}r4(_1,"useDirection");var i4=Object.defineProperty,s4=(e,t)=>i4(e,"name",{value:t,configurable:!0}),a4=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],pt=a4.reduce((e,t)=>{const r=oo(`Primitive.${t}`),i=x.forwardRef((s,l)=>{const{asChild:u,...f}=s,p=u?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(p,{...f,ref:l})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function L1(e,t){e&&nr.flushSync(()=>e.dispatchEvent(t))}s4(L1,"dispatchDiscreteCustomEvent");var l4=Object.defineProperty,c4=(e,t)=>l4(e,"name",{value:t,configurable:!0});function Pn(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>((...r)=>t.current?.(...r)),[])}c4(Pn,"useCallbackRef");var u4=Object.defineProperty,at=(e,t)=>u4(e,"name",{value:t,configurable:!0}),Tf="dismissableLayer.update",d4="dismissableLayer.pointerDownOutside",f4="dismissableLayer.focusOutside",Uy,D1=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),p4=x.forwardRef(at(function(t,r){const{disableOutsidePointerEvents:i=!1,deferPointerDownOutside:s=!1,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:f,onInteractOutside:p,onDismiss:h,...g}=t,v=x.useContext(D1),[w,S]=x.useState(null),j=w?.ownerDocument??globalThis?.document,[,E]=x.useState({}),b=Je(r,S),N=Array.from(v.layers),[T]=[...v.layersWithOutsidePointerEventsDisabled].slice(-1),P=T?N.indexOf(T):-1,R=w?N.indexOf(w):-1,M=v.layersWithOutsidePointerEventsDisabled.size>0,F=R>=P,z=x.useRef(!1),$=F1(K=>{u?.(K),p?.(K),K.defaultPrevented||h?.()},{ownerDocument:j,deferPointerDownOutside:s,isDeferredPointerDownOutsideRef:z,dismissableSurfaces:v.dismissableSurfaces,shouldHandlePointerDownOutside:x.useCallback(K=>{if(!(K instanceof Node))return!1;const le=[...v.branches].some(q=>q.contains(K));return F&&!le},[v.branches,F])}),X=V1(K=>{if(s&&z.current)return;const le=K.target;[...v.branches].some(he=>he.contains(le))||(f?.(K),p?.(K),K.defaultPrevented||h?.())},j),ee=w?R===N.length-1:!1,se=Pn(K=>{K.key==="Escape"&&(l?.(K),!K.defaultPrevented&&h&&(K.preventDefault(),h()))});return x.useEffect(()=>{if(ee)return j.addEventListener("keydown",se,{capture:!0}),()=>j.removeEventListener("keydown",se,{capture:!0})},[j,ee,se]),x.useEffect(()=>{if(w)return i&&(v.layersWithOutsidePointerEventsDisabled.size===0&&(Uy=j.body.style.pointerEvents,j.body.style.pointerEvents="none"),v.layersWithOutsidePointerEventsDisabled.add(w)),v.layers.add(w),Pf(),()=>{i&&(v.layersWithOutsidePointerEventsDisabled.delete(w),v.layersWithOutsidePointerEventsDisabled.size===0&&(j.body.style.pointerEvents=Uy))}},[w,j,i,v]),x.useEffect(()=>()=>{w&&(v.layers.delete(w),v.layersWithOutsidePointerEventsDisabled.delete(w),Pf())},[w,v]),x.useEffect(()=>{const K=at(()=>E({}),"handleUpdate");return document.addEventListener(Tf,K),()=>document.removeEventListener(Tf,K)},[]),c.jsx(pt.div,{...g,ref:b,style:{pointerEvents:M?F?"auto":"none":void 0,...t.style},onFocusCapture:Ze(t.onFocusCapture,X.onFocusCapture),onBlurCapture:Ze(t.onBlurCapture,X.onBlurCapture),onPointerDownCapture:Ze(t.onPointerDownCapture,$.onPointerDownCapture)})},"DismissableLayer"));
18function h4(){const e=x.useContext(D1),[t,r]=x.useState(null);return x.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),r}at(h4,"useDismissableLayerSurface");var m4=at(()=>!0,"IS_TRUE");function F1(e,t){const{ownerDocument:r=globalThis?.document,deferPointerDownOutside:i=!1,isDeferredPointerDownOutsideRef:s,dismissableSurfaces:l,shouldHandlePointerDownOutside:u=m4}=t,f=Pn(e),p=x.useRef(!1),h=x.useRef(!1),g=x.useRef(new Map),v=x.useRef(()=>{});return x.useEffect(()=>{function w(){h.current=!1,s.current=!1,g.current.clear()}at(w,"resetOutsideInteraction");function S(){return Array.from(g.current.values()).some(Boolean)}at(S,"isOutsideInteractionIntercepted");function j(P){if(!h.current)return;const R=P.target;R instanceof Node&&[...l].some(F=>F.contains(R))||g.current.set(P.type,!0),P.type==="click"&&window.setTimeout(()=>{h.current&&v.current()},0)}at(j,"handleInteractionCapture");function E(P){h.current&&g.current.set(P.type,!1)}at(E,"handleInteractionBubble");const b=at(P=>{if(P.target&&!p.current){let R=function(){r.removeEventListener("click",v.current);const F=S();w(),F||Fp(d4,f,M,{discrete:!0})};if(at(R,"handleAndDispatchPointerDownOutsideEvent"),!u(P.target)){r.removeEventListener("click",v.current),w(),p.current=!1;return}const M={originalEvent:P};h.current=!0,s.current=i&&P.button===0,g.current.clear(),!i||P.button!==0?R():(r.removeEventListener("click",v.current),v.current=R,r.addEventListener("click",v.current,{once:!0}))}else r.removeEventListener("click",v.current),w();p.current=!1},"handlePointerDown"),N=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const P of N)r.addEventListener(P,j,!0),r.addEventListener(P,E);const T=window.setTimeout(()=>{r.addEventListener("pointerdown",b)},0);return()=>{window.clearTimeout(T),r.removeEventListener("pointerdown",b),r.removeEventListener("click",v.current);for(const P of N)r.removeEventListener(P,j,!0),r.removeEventListener(P,E)}},[r,f,i,s,l,u]),{onPointerDownCapture:at(()=>p.current=!0,"onPointerDownCapture")}}at(F1,"usePointerDownOutside");function V1(e,t=globalThis?.document){const r=Pn(e),i=x.useRef(!1);return x.useEffect(()=>{const s=at(l=>{l.target&&!i.current&&Fp(f4,r,{originalEvent:l},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,r]),{onFocusCapture:at(()=>i.current=!0,"onFocusCapture"),onBlurCapture:at(()=>i.current=!1,"onBlurCapture")}}at(V1,"useFocusOutside");function Pf(){const e=new CustomEvent(Tf);document.dispatchEvent(e)}at(Pf,"dispatchUpdate");function Fp(e,t,r,{discrete:i}){const s=r.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&s.addEventListener(e,t,{once:!0}),i?L1(s,l):s.dispatchEvent(l)}at(Fp,"handleAndDispatchCustomEvent");var g4=Object.defineProperty,Vp=(e,t)=>g4(e,"name",{value:t,configurable:!0}),dl=0,Wo=null;function v4(e){return zp(),e.children}Vp(v4,"FocusGuards");function zp(){x.useEffect(()=>{Wo||(Wo={start:kf(),end:kf()});const{start:e,end:t}=Wo;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),dl++,()=>{dl===1&&(Wo?.start.remove(),Wo?.end.remove(),Wo=null),dl=Math.max(0,dl-1)}},[])}Vp(zp,"useFocusGuards");function kf(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}Vp(kf,"createFocusGuard");var y4=Object.defineProperty,Et=(e,t)=>y4(e,"name",{value:t,configurable:!0}),Dd="focusScope.autoFocusOnMount",Fd="focusScope.autoFocusOnUnmount",Hy={bubbles:!1,cancelable:!0},x4=x.forwardRef(Et(function(t,r){const{loop:i=!1,trapped:s=!1,onMountAutoFocus:l,onUnmountAutoFocus:u,...f}=t,[p,h]=x.useState(null),g=Pn(l),v=Pn(u),w=x.useRef(null),S=Je(r,h),j=x.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;x.useEffect(()=>{if(s){let b=function(R){if(j.paused||!p)return;const M=R.target;p.contains(M)?w.current=M:$n(w.current,{select:!0})},N=function(R){if(j.paused||!p)return;const M=R.relatedTarget;
18M!==null&&(p.contains(M)||$n(w.current,{select:!0}))},T=function(R){if(document.activeElement===document.body)for(const F of R)F.removedNodes.length>0&&$n(p)};Et(b,"handleFocusIn"),Et(N,"handleFocusOut"),Et(T,"handleMutations"),document.addEventListener("focusin",b),document.addEventListener("focusout",N);const P=new MutationObserver(T);return p&&P.observe(p,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",b),document.removeEventListener("focusout",N),P.disconnect()}}},[s,p,j.paused]),x.useEffect(()=>{if(p){Ky.add(j);const b=document.activeElement;if(!p.contains(b)){const T=new CustomEvent(Dd,Hy);p.addEventListener(Dd,g),p.dispatchEvent(T),T.defaultPrevented||(z1(H1(Bp(p)),{select:!0}),document.activeElement===b&&$n(p))}return()=>{p.removeEventListener(Dd,g),setTimeout(()=>{const T=new CustomEvent(Fd,Hy);p.addEventListener(Fd,v),p.dispatchEvent(T),T.defaultPrevented||$n(b??document.body,{select:!0}),p.removeEventListener(Fd,v),Ky.remove(j)},0)}}},[p,g,v,j]);const E=x.useCallback(b=>{if(!i&&!s||j.paused)return;const N=b.key==="Tab"&&!b.altKey&&!b.ctrlKey&&!b.metaKey,T=document.activeElement;if(N&&T){const P=b.currentTarget,[R,M]=B1(P);R&&M?!b.shiftKey&&T===M?(b.preventDefault(),i&&$n(R,{select:!0})):b.shiftKey&&T===R&&(b.preventDefault(),i&&$n(M,{select:!0})):T===P&&b.preventDefault()}},[i,s,j.paused]);return c.jsx(pt.div,{tabIndex:-1,...f,ref:S,onKeyDown:E})},"FocusScope"));function z1(e,{select:t=!1}={}){const r=document.activeElement;for(const i of e)if($n(i,{select:t}),document.activeElement!==r)return}Et(z1,"focusFirst");function B1(e){const t=Bp(e),r=Rf(t,e),i=Rf(t.reverse(),e);return[r,i]}Et(B1,"getTabbableEdges");function Bp(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:Et(i=>{const s=i.tagName==="INPUT"&&i.type==="hidden";return i.disabled||i.hidden||s?NodeFilter.FILTER_SKIP:i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}Et(Bp,"getTabbableCandidates");function Rf(e,t){const r=typeof t.checkVisibility=="function"&&t.checkVisibility({checkVisibilityCSS:!0});for(const i of e)if(!(r?!i.checkVisibility({checkVisibilityCSS:!0}):$1(i,{upTo:t})))return i}Et(Rf,"findVisible");function $1(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}Et($1,"isHidden");function W1(e){return e instanceof HTMLInputElement&&"select"in e}Et(W1,"isSelectableInput");function $n(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&W1(e)&&t&&e.select()}}Et($n,"focus");var Ky=U1();function U1(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=Af(e,t),e.unshift(t)},remove(t){e=Af(e,t),e[0]?.resume()}}}Et(U1,"createFocusScopesStack");function Af(e,t){const r=[...e],i=r.indexOf(t);return i!==-1&&r.splice(i,1),r}Et(Af,"arrayRemove");function H1(e){return e.filter(t=>t.tagName!=="A")}Et(H1,"removeLinks");var ft=globalThis?.document?x.useLayoutEffect:()=>{},w4=Object.defineProperty,b4=(e,t)=>w4(e,"name",{value:t,configurable:!0}),S4=ci[" useId ".trim().toString()]||(()=>{}),C4=0;
vendor: 11,939 bytes, line 18
18function $p(e){const[t,r]=x.useState(S4());return ft(()=>{e||r(i=>i??String(C4++))},[e]),e||(t?`radix-${t}`:"")}b4($p,"useId");const E4=["top","right","bottom","left"],Rr=Math.min,zt=Math.max,zl=Math.round,fl=Math.floor,Tn=e=>({x:e,y:e}),j4={left:"right",right:"left",bottom:"top",top:"bottom"},N4={start:"end",end:"start"};function Mf(e,t,r){return zt(e,Rr(t,r))}function Qn(e,t){return typeof e=="function"?e(t):e}function Zn(e){return e.split("-")[0]}function vi(e){return e.split("-")[1]}function Wp(e){return e==="x"?"y":"x"}function Up(e){return e==="y"?"height":"width"}function Ar(e){return["top","bottom"].includes(Zn(e))?"y":"x"}function Hp(e){return Wp(Ar(e))}function T4(e,t,r){r===void 0&&(r=!1);const i=vi(e),s=Hp(e),l=Up(s);let u=s==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[l]>t.floating[l]&&(u=Bl(u)),[u,Bl(u)]}function P4(e){const t=Bl(e);return[Of(e),t,Of(t)]}function Of(e){return e.replace(/start|end/g,t=>N4[t])}function k4(e,t,r){const i=["left","right"],s=["right","left"],l=["top","bottom"],u=["bottom","top"];switch(e){case"top":case"bottom":return r?t?s:i:t?i:s;case"left":case"right":return t?l:u;default:return[]}}function R4(e,t,r,i){const s=vi(e);let l=k4(Zn(e),r==="start",i);return s&&(l=l.map(u=>u+"-"+s),t&&(l=l.concat(l.map(Of)))),l}function Bl(e){return e.replace(/left|right|bottom|top/g,t=>j4[t])}function A4(e){return{top:0,right:0,bottom:0,left:0,...e}}function K1(e){return typeof e!="number"?A4(e):{top:e,right:e,bottom:e,left:e}}function $l(e){const{x:t,y:r,width:i,height:s}=e;return{width:i,height:s,top:r,left:t,right:t+i,bottom:r+s,x:t,y:r}}function Gy(e,t,r){let{reference:i,floating:s}=e;const l=Ar(t),u=Hp(t),f=Up(u),p=Zn(t),h=l==="y",g=i.x+i.width/2-s.width/2,v=i.y+i.height/2-s.height/2,w=i[f]/2-s[f]/2;let S;switch(p){case"top":S={x:g,y:i.y-s.height};break;case"bottom":S={x:g,y:i.y+i.height};break;case"right":S={x:i.x+i.width,y:v};break;case"left":S={x:i.x-s.width,y:v};break;default:S={x:i.x,y:i.y}}switch(vi(t)){case"start":S[u]-=w*(r&&h?-1:1);break;case"end":S[u]+=w*(r&&h?-1:1);break}return S}const M4=async(e,t,r)=>{const{placement:i="bottom",strategy:s="absolute",middleware:l=[],platform:u}=r,f=l.filter(Boolean),p=await(u.isRTL==null?void 0:u.isRTL(t));let h=await u.getElementRects({reference:e,floating:t,strategy:s}),{x:g,y:v}=Gy(h,i,p),w=i,S={},j=0;for(let E=0;E<f.length;E++){const{name:b,fn:N}=f[E],{x:T,y:P,data:R,reset:M}=await N({x:g,y:v,initialPlacement:i,placement:w,strategy:s,middlewareData:S,rects:h,platform:u,elements:{reference:e,floating:t}});g=T??g,v=P??v,S={...S,[b]:{...S[b],...R}},M&&j<=50&&(j++,typeof M=="object"&&(M.placement&&(w=M.placement),M.rects&&(h=M.rects===!0?await u.getElementRects({reference:e,floating:t,strategy:s}):M.rects),{x:g,y:v}=Gy(h,w,p)),E=-1)}return{x:g,y:v,placement:w,strategy:s,middlewareData:S}};async function Ts(e,t){var r;t===void 0&&(t={});const{x:i,y:s,platform:l,rects:u,elements:f,strategy:p}=e,{boundary:h="clippingAncestors",rootBoundary:g="viewport",elementContext:v="floating",altBoundary:w=!1,padding:S=0}=Qn(t,e),j=K1(S),b=f[w?v==="floating"?"reference":"floating":v],N=$l(await l.getClippingRect({element:(r=await(l.isElement==null?void 0:l.isElement(b)))==null||r?b:b.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(f.floating)),boundary:h,rootBoundary:g,strategy:p})),T=v==="floating"?{x:i,y:s,width:u.floating.width,height:u.floating.height}:u.reference,P=await(l.getOffsetParent==null?void 0:l.getOffsetParent(f.floating)),R=await(l.isElement==null?void 0:l.isElement(P))?await(l.getScale==null?void 0:l.getScale(P))||{x:1,y:1}:{x:1,y:1},M=$l(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:T,offsetParent:P,strategy:p}):T);return{top:(N.top-M.top+j.top)/R.y,bottom:(M.bottom-N.bottom+j.bottom)/R.y,left:(N.left-M.left+j.left)/R.x,right:(M.right-N.right+j.right)/R.x}}const O4=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:i,placement:s,rects:l,platform:u,elements:f,middlewareData:p}=t,{element:h,padding:g=0}=Qn(e,t)||{};if(h==null)return{};const v=K1(g),w={x:r,y:i},S=Hp(s),j=Up(S),E=await u.getDimensions(h),b=S==="y",N=b?"top":"left",T=b?"bottom":"right",P=b?"clientHeight":"clientWidth",R=l.reference[j]+l.reference[S]-w[S]-l.floating[j],M=w[S]-l.reference[S],F=await(u.getOffsetParent==null?void 0:u.getOffsetParent(h));let z=F?F[P]:0;(!z||!await(u.isElement==null?void 0:u.isElement(F)))&&(z=f.floating[P]||l.floating[j]);const $=R/2-M/2,X=z/2-E[j]/2-1,ee=Rr(v[N],X),se=Rr(v[T],X),K=ee,le=z-E[j]-se,q=z/2-E[j]/2+$,he=Mf(K,q,le),oe=!p.arrow&&vi(s)!=null&&q!==he&&l.reference[j]/2-(q<K?ee:se)-E[j]/2<0,Z=oe?q<K?q-K:q-le:0;return{[S]:w[S]+Z,data:{[S]:he,centerOffset:q-he-Z,...oe&&{alignmentOffset:Z}},reset:oe}}}),I4=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,i;const{placement:s,middlewareData:l,rects:u,initialPlacement:f,platform:p,elements:h}=t,{mainAxis:g=!0,crossAxis:v=!0,fallbackPlacements:w,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:j="none",flipAlignment:E=!0,...b}=Qn(e,t);if((r=l.arrow)!=null&&r.alignmentOffset)return{};const N=Zn(s),T=Ar(f),P=Zn(f)===f,R=await(p.isRTL==null?void 0:p.isRTL(h.floating)),M=w||(P||!E?[Bl(f)]:P4(f)),F=j!=="none";!w&&F&&M.push(...R4(f,E,j,R));const z=[f,...M],$=await Ts(t,b),X=[];let ee=((i=l.flip)==null?void 0:i.overflows)||[];if(g&&X.push($[N]),v){const q=T4(s,u,R);X.push($[q[0]],$[q[1]])}if(ee=[...ee,{placement:s,overflows:X}],!X.every(q=>q<=0)){var se,K;const q=(((se=l.flip)==null?void 0:se.index)||0)+1,he=z[q];if(he)return{data:{index:q,overflows:ee},reset:{placement:he}};let oe=(K=ee.filter(Z=>Z.overflows[0]<=0).sort((Z,V)=>Z.overflows[1]-V.overflows[1])[0])==null?void 0:K.placement;if(!oe)switch(S){case"bestFit":{var le;const Z=(le=ee.filter(V=>{if(F){const Y=Ar(V.placement);return Y===T||Y==="y"}return!0}).map(V=>[V.placement,V.overflows.filter(Y=>Y>0).reduce((Y,H)=>Y+H,0)]).sort((V,Y)=>V[1]-Y[1])[0])==null?void 0:le[0];Z&&(oe=Z);break}case"initialPlacement":oe=f;break}if(s!==oe)return{reset:{placement:oe}}}return{}}}};function qy(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Yy(e){return E4.some(t=>e[t]>=0)}const _4=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:i="referenceHidden",...s}=Qn(e,t);switch(i){case"referenceHidden":{const l=await Ts(t,{...s,elementContext:"reference"}),u=qy(l,r.reference);return{data:{referenceHiddenOffsets:u,referenceHidden:Yy(u)}}}case"escaped":{const l=await Ts(t,{...s,altBoundary:!0}),u=qy(l,r.floating);return{data:{escapedOffsets:u,escaped:Yy(u)}}}default:return{}}}}};async function L4(e,t){const{placement:r,platform:i,elements:s}=e,l=await(i.isRTL==null?void 0:i.isRTL(s.floating)),u=Zn(r),f=vi(r),p=Ar(r)==="y",h=["left","top"].includes(u)?-1:1,g=l&&p?-1:1,v=Qn(t,e);let{mainAxis:w,crossAxis:S,alignmentAxis:j}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};return f&&typeof j=="number"&&(S=f==="end"?j*-1:j),p?{x:S*g,y:w*h}:{x:w*h,y:S*g}}const D4=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,i;const{x:s,y:l,placement:u,middlewareData:f}=t,p=await L4(t,e);return u===((r=f.offset)==null?void 0:r.placement)&&(i=f.arrow)!=null&&i.alignmentOffset?{}:{x:s+p.x,y:l+p.y,data:{...p,placement:u}}}}},F4=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:i,placement:s}=t,{mainAxis:l=!0,crossAxis:u=!1,limiter:f={fn:b=>{let{x:N,y:T}=b;return{x:N,y:T}}},...p}=Qn(e,t),h={x:r,y:i},g=await Ts(t,p),v=Ar(Zn(s)),w=Wp(v);let S=h[w],j=h[v];if(l){const b=w==="y"?"top":"left",N=w==="y"?"bottom":"right",T=S+g[b],P=S-g[N];S=Mf(T,S,P)}if(u){const b=v==="y"?"top":"left",N=v==="y"?"bottom":"right",T=j+g[b],P=j-g[N];j=Mf(T,j,P)}const E=f.fn({...t,[w]:S,[v]:j});return{...E,data:{x:E.x-r,y:E.y-i,enabled:{[w]:l,[v]:u}}}}}},V4=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:i,placement:s,rects:l,middlewareData:u}=t,{offset:f=0,mainAxis:p=!0,crossAxis:h=!0}=Qn(e,t),g={x:r,y:i},v=Ar(s),w=Wp(v);let S=g[w],j=g[v];const E=Qn(f,t),b=typeof E=="number"?{mainAxis:E,crossAxis:0}:{mainAxis:0,crossAxis:0,...E};if(p){const P=w==="y"?"height":"width",R=l.reference[w]-l.floating[P]+b.mainAxis,M=l.reference[w]+l.reference[P]-b.mainAxis;S<R?S=R:S>M&&(S=M)}if(h){var N,T;const P=w==="y"?"width":"height",R=["top","left"].includes(Zn(s)),M=l.reference[v]-l.floating[P]+(R&&((N=u.offset)==null?void 0:N[v])||0)+(R?0:b.crossAxis),F=l.reference[v]+l.reference[P]+(R?0:((T=u.offset)==null?void 0:T[v])||0)-(R?b.crossAxis:0);j<M?j=M:j>F&&(j=F)}return{[w]:S,[v]:j}}}},z4=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,i;const{placement:s,rects:l,platform:u,elements:f}=t,{apply:p=()=>{},...h}=Qn(e,t),g=await Ts(t,h),v=Zn(s),w=vi(s),S=Ar(s)==="y",{width:j,height:E}=l.floating;let b,N;v==="top"||v==="bottom"?(b=v,N=w===(await(u.isRTL==null?void 0:u.isRTL(f.floating))?"start":"end")?"left":"right"):(N=v,b=w==="end"?"top":"bottom");const T=E-g.top-g.bottom,P=j-g.left-g.right,R=Rr(E-g[b],T),M=Rr(j-g[N],P),F=!t.middlewareData.shift;let z=R,$=M;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&($=P),(i=t.middlewareData.shift)!=null&&i.enabled.y&&(z=T),F&&!w){const ee=zt(g.left,0),se=zt(g.right,0),K=zt(g.top,0),le=zt(g.bottom,0);S?$=j-2*(ee!==0||se!==0?ee+se:zt(g.left,g.right)):z=E-2*(K!==0||le!==0?K+le:zt(g.top,g.bottom))}await p({...t,availableWidth:$,availableHeight:z});const X=await u.getDimensions(f.floating);return j!==X.width||E!==X.height?{reset:{rects:!0}}:{}}}};function ic(){return typeof window<"u"}function yi(e){return G1(e)?(e.nodeName||"").toLowerCase():"#document"}function Wt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function An(e){var t;return(t=(G1(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function G1(e){return ic()?e instanceof Node||e instanceof Wt(e).Node:!1}function hn(e){return ic()?e instanceof Element||e instanceof Wt(e).Element:!1}function kn(e){return ic()?e instanceof HTMLElement||e instanceof Wt(e).HTMLElement:!1}function Xy(e){return!ic()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Wt(e).ShadowRoot}function Ws(e){const{overflow:t,overflowX:r,overflowY:i,display:s}=mn(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+r)&&!["inline","contents"].includes(s)}function B4(e){return["table","td","th"].includes(yi(e))}function sc(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Kp(e){const t=Gp(),r=hn(e)?mn(e):e;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function $4(e){let t=Mr(e);for(;kn(t)&&!ai(t);){if(Kp(t))return t;if(sc(t))return null;t=Mr(t)}return null}function Gp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ai(e){return["html","body","#document"].includes(yi(e))}function mn(e){return Wt(e).getComputedStyle(e)}function ac(e){return hn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Mr(e){if(yi(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Xy(e)&&e.host||An(e);return Xy(t)?t.host:t}function q1(e){const t=Mr(e);return ai(t)?e.ownerDocument?e.ownerDocument.body:e.body:kn(t)&&Ws(t)?t:q1(t)}function Ps(e,t,r){var i;t===void 0&&(t=[]),r===void 0&&(r=!0);const s=q1(e),l=s===((i=e.ownerDocument)==null?void 0:i.body),u=Wt(s);if(l){const f=If(u);
vendor: 6,068 bytes, line 18
18return t.concat(u,u.visualViewport||[],Ws(s)?s:[],f&&r?Ps(f):[])}return t.concat(s,Ps(s,[],r))}function If(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Y1(e){const t=mn(e);let r=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const s=kn(e),l=s?e.offsetWidth:r,u=s?e.offsetHeight:i,f=zl(r)!==l||zl(i)!==u;return f&&(r=l,i=u),{width:r,height:i,$:f}}function qp(e){return hn(e)?e:e.contextElement}function ti(e){const t=qp(e);if(!kn(t))return Tn(1);const r=t.getBoundingClientRect(),{width:i,height:s,$:l}=Y1(t);let u=(l?zl(r.width):r.width)/i,f=(l?zl(r.height):r.height)/s;return(!u||!Number.isFinite(u))&&(u=1),(!f||!Number.isFinite(f))&&(f=1),{x:u,y:f}}const W4=Tn(0);function X1(e){const t=Wt(e);return!Gp()||!t.visualViewport?W4:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function U4(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Wt(e)?!1:t}function io(e,t,r,i){t===void 0&&(t=!1),r===void 0&&(r=!1);const s=e.getBoundingClientRect(),l=qp(e);let u=Tn(1);t&&(i?hn(i)&&(u=ti(i)):u=ti(e));const f=U4(l,r,i)?X1(l):Tn(0);let p=(s.left+f.x)/u.x,h=(s.top+f.y)/u.y,g=s.width/u.x,v=s.height/u.y;if(l){const w=Wt(l),S=i&&hn(i)?Wt(i):i;let j=w,E=If(j);for(;E&&i&&S!==j;){const b=ti(E),N=E.getBoundingClientRect(),T=mn(E),P=N.left+(E.clientLeft+parseFloat(T.paddingLeft))*b.x,R=N.top+(E.clientTop+parseFloat(T.paddingTop))*b.y;p*=b.x,h*=b.y,g*=b.x,v*=b.y,p+=P,h+=R,j=Wt(E),E=If(j)}}return $l({width:g,height:v,x:p,y:h})}function Yp(e,t){const r=ac(e).scrollLeft;return t?t.left+r:io(An(e)).left+r}function Q1(e,t,r){r===void 0&&(r=!1);const i=e.getBoundingClientRect(),s=i.left+t.scrollLeft-(r?0:Yp(e,i)),l=i.top+t.scrollTop;return{x:s,y:l}}function H4(e){let{elements:t,rect:r,offsetParent:i,strategy:s}=e;const l=s==="fixed",u=An(i),f=t?sc(t.floating):!1;if(i===u||f&&l)return r;let p={scrollLeft:0,scrollTop:0},h=Tn(1);const g=Tn(0),v=kn(i);if((v||!v&&!l)&&((yi(i)!=="body"||Ws(u))&&(p=ac(i)),kn(i))){const S=io(i);h=ti(i),g.x=S.x+i.clientLeft,g.y=S.y+i.clientTop}const w=u&&!v&&!l?Q1(u,p,!0):Tn(0);return{width:r.width*h.x,height:r.height*h.y,x:r.x*h.x-p.scrollLeft*h.x+g.x+w.x,y:r.y*h.y-p.scrollTop*h.y+g.y+w.y}}function K4(e){return Array.from(e.getClientRects())}function G4(e){const t=An(e),r=ac(e),i=e.ownerDocument.body,s=zt(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),l=zt(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let u=-r.scrollLeft+Yp(e);const f=-r.scrollTop;return mn(i).direction==="rtl"&&(u+=zt(t.clientWidth,i.clientWidth)-s),{width:s,height:l,x:u,y:f}}function q4(e,t){const r=Wt(e),i=An(e),s=r.visualViewport;let l=i.clientWidth,u=i.clientHeight,f=0,p=0;if(s){l=s.width,u=s.height;const h=Gp();(!h||h&&t==="fixed")&&(f=s.offsetLeft,p=s.offsetTop)}return{width:l,height:u,x:f,y:p}}function Y4(e,t){const r=io(e,!0,t==="fixed"),i=r.top+e.clientTop,s=r.left+e.clientLeft,l=kn(e)?ti(e):Tn(1),u=e.clientWidth*l.x,f=e.clientHeight*l.y,p=s*l.x,h=i*l.y;return{width:u,height:f,x:p,y:h}}function Qy(e,t,r){let i;if(t==="viewport")i=q4(e,r);else if(t==="document")i=G4(An(e));else if(hn(t))i=Y4(t,r);else{const s=X1(e);i={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return $l(i)}function Z1(e,t){const r=Mr(e);return r===t||!hn(r)||ai(r)?!1:mn(r).position==="fixed"||Z1(r,t)}function X4(e,t){const r=t.get(e);if(r)return r;let i=Ps(e,[],!1).filter(f=>hn(f)&&yi(f)!=="body"),s=null;const l=mn(e).position==="fixed";let u=l?Mr(e):e;for(;hn(u)&&!ai(u);){const f=mn(u),p=Kp(u);!p&&f.position==="fixed"&&(s=null),(l?!p&&!s:!p&&f.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||Ws(u)&&!p&&Z1(e,u))?i=i.filter(g=>g!==u):s=f,u=Mr(u)}return t.set(e,i),i}function Q4(e){let{element:t,boundary:r,rootBoundary:i,strategy:s}=e;const u=[...r==="clippingAncestors"?sc(t)?[]:X4(t,this._c):[].concat(r),i],f=u[0],p=u.reduce((h,g)=>{const v=Qy(t,g,s);return h.top=zt(v.top,h.top),h.right=Rr(v.right,h.right),h.bottom=Rr(v.bottom,h.bottom),h.left=zt(v.left,h.left),h},Qy(t,f,s));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Z4(e){const{width:t,height:r}=Y1(e);return{width:t,height:r}}function J4(e,t,r){const i=kn(t),s=An(t),l=r==="fixed",u=io(e,!0,l,t);let f={scrollLeft:0,scrollTop:0};const p=Tn(0);if(i||!i&&!l)if((yi(t)!=="body"||Ws(s))&&(f=ac(t)),i){const w=io(t,!0,l,t);p.x=w.x+t.clientLeft,p.y=w.y+t.clientTop}else s&&(p.x=Yp(s));const h=s&&!i&&!l?Q1(s,f):Tn(0),g=u.left+f.scrollLeft-p.x-h.x,v=u.top+f.scrollTop-p.y-h.y;return{x:g,y:v,width:u.width,height:u.height}}function Vd(e){return mn(e).position==="static"}function Zy(e,t){if(!kn(e)||mn(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return An(e)===r&&(r=r.ownerDocument.body),r}function J1(e,t){const r=Wt(e);if(sc(e))return r;if(!kn(e)){let s=Mr(e);for(;s&&!ai(s);){if(hn(s)&&!Vd(s))return s;s=Mr(s)}return r}let i=Zy(e,t);for(;i&&B4(i)&&Vd(i);)i=Zy(i,t);return i&&ai(i)&&Vd(i)&&!Kp(i)?r:i||$4(e)||r}const e3=async function(e){const t=this.getOffsetParent||J1,r=this.getDimensions,i=await r(e.floating);return{reference:J4(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function t3(e){return mn(e).direction==="rtl"}const n3={convertOffsetParentRelativeRectToViewportRelativeRect:H4,getDocumentElement:An,getClippingRect:Q4,getOffsetParent:J1,getElementRects:e3,getClientRects:K4,getDimensions:Z4,getScale:ti,isElement:hn,isRTL:t3};function r3(e,t){let r=null,i;const s=An(e);function l(){var f;clearTimeout(i),(f=r)==null||f.disconnect(),r=null}function u(f,p){f===void 0&&(f=!1),p===void 0&&(p=1),l();const{left:h,top:g,width:v,height:w}=e.getBoundingClientRect();if(f||t(),!v||!w)return;const S=fl(g),j=fl(s.clientWidth-(h+v)),E=fl(s.clientHeight-(g+w)),b=fl(h),T={rootMargin:-S+"px "+-j+"px "+-E+"px "+-b+"px",threshold:zt(0,Rr(1,p))||1};let P=!0;function R(M){const F=M[0].intersectionRatio;if(F!==p){if(!P)return u();F?u(!1,F):i=setTimeout(()=>{u(!1,1e-7)},1e3)}P=!1}try{r=new IntersectionObserver(R,{...T,root:s.ownerDocument})}catch{r=new IntersectionObserver(R,T)}r.observe(e)}return u(!0),l}
vendor: 3,891 bytes, line 18
18function o3(e,t,r,i){i===void 0&&(i={});const{ancestorScroll:s=!0,ancestorResize:l=!0,elementResize:u=typeof ResizeObserver=="function",layoutShift:f=typeof IntersectionObserver=="function",animationFrame:p=!1}=i,h=qp(e),g=s||l?[...h?Ps(h):[],...Ps(t)]:[];g.forEach(N=>{s&&N.addEventListener("scroll",r,{passive:!0}),l&&N.addEventListener("resize",r)});const v=h&&f?r3(h,r):null;let w=-1,S=null;u&&(S=new ResizeObserver(N=>{let[T]=N;T&&T.target===h&&S&&(S.unobserve(t),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var P;(P=S)==null||P.observe(t)})),r()}),h&&!p&&S.observe(h),S.observe(t));let j,E=p?io(e):null;p&&b();function b(){const N=io(e);E&&(N.x!==E.x||N.y!==E.y||N.width!==E.width||N.height!==E.height)&&r(),E=N,j=requestAnimationFrame(b)}return r(),()=>{var N;g.forEach(T=>{s&&T.removeEventListener("scroll",r),l&&T.removeEventListener("resize",r)}),v?.(),(N=S)==null||N.disconnect(),S=null,p&&cancelAnimationFrame(j)}}const i3=D4,s3=F4,a3=I4,l3=z4,c3=_4,Jy=O4,u3=V4,d3=(e,t,r)=>{const i=new Map,s={platform:n3,...r},l={...s.platform,_c:i};return M4(e,t,{...s,platform:l})};var Tl=typeof document<"u"?x.useLayoutEffect:x.useEffect;function Wl(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,i,s;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(i=r;i--!==0;)if(!Wl(e[i],t[i]))return!1;return!0}if(s=Object.keys(e),r=s.length,r!==Object.keys(t).length)return!1;for(i=r;i--!==0;)if(!{}.hasOwnProperty.call(t,s[i]))return!1;for(i=r;i--!==0;){const l=s[i];if(!(l==="_owner"&&e.$$typeof)&&!Wl(e[l],t[l]))return!1}return!0}return e!==e&&t!==t}function eb(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ex(e,t){const r=eb(e);return Math.round(t*r)/r}function zd(e){const t=x.useRef(e);return Tl(()=>{t.current=e}),t}function f3(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:i=[],platform:s,elements:{reference:l,floating:u}={},transform:f=!0,whileElementsMounted:p,open:h}=e,[g,v]=x.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[w,S]=x.useState(i);Wl(w,i)||S(i);const[j,E]=x.useState(null),[b,N]=x.useState(null),T=x.useCallback(V=>{V!==F.current&&(F.current=V,E(V))},[]),P=x.useCallback(V=>{V!==z.current&&(z.current=V,N(V))},[]),R=l||j,M=u||b,F=x.useRef(null),z=x.useRef(null),$=x.useRef(g),X=p!=null,ee=zd(p),se=zd(s),K=zd(h),le=x.useCallback(()=>{if(!F.current||!z.current)return;const V={placement:t,strategy:r,middleware:w};se.current&&(V.platform=se.current),d3(F.current,z.current,V).then(Y=>{const H={...Y,isPositioned:K.current!==!1};q.current&&!Wl($.current,H)&&($.current=H,nr.flushSync(()=>{v(H)}))})},[w,t,r,se,K]);Tl(()=>{h===!1&&$.current.isPositioned&&($.current.isPositioned=!1,v(V=>({...V,isPositioned:!1})))},[h]);const q=x.useRef(!1);Tl(()=>(q.current=!0,()=>{q.current=!1}),[]),Tl(()=>{if(R&&(F.current=R),M&&(z.current=M),R&&M){if(ee.current)return ee.current(R,M,le);le()}},[R,M,le,ee,X]);const he=x.useMemo(()=>({reference:F,floating:z,setReference:T,setFloating:P}),[T,P]),oe=x.useMemo(()=>({reference:R,floating:M}),[R,M]),Z=x.useMemo(()=>{const V={position:r,left:0,top:0};if(!oe.floating)return V;const Y=ex(oe.floating,g.x),H=ex(oe.floating,g.y);return f?{...V,transform:"translate("+Y+"px, "+H+"px)",...eb(oe.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:Y,top:H}},[r,f,oe.floating,g.x,g.y]);return x.useMemo(()=>({...g,update:le,refs:he,elements:oe,floatingStyles:Z}),[g,le,he,oe,Z])}const p3=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:i,padding:s}=typeof e=="function"?e(r):e;return i&&t(i)?i.current!=null?Jy({element:i.current,padding:s}).fn(r):{}:i?Jy({element:i,padding:s}).fn(r):{}}}},h3=(e,t)=>({...i3(e),options:[e,t]}),m3=(e,t)=>
18({...s3(e),options:[e,t]}),g3=(e,t)=>({...u3(e),options:[e,t]}),v3=(e,t)=>({...a3(e),options:[e,t]}),y3=(e,t)=>({...l3(e),options:[e,t]}),x3=(e,t)=>({...c3(e),options:[e,t]}),w3=(e,t)=>({...p3(e),options:[e,t]});var b3=Object.defineProperty,S3=(e,t)=>b3(e,"name",{value:t,configurable:!0});function tb(e){const[t,r]=x.useState(void 0);return ft(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const i=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const l=s[0];let u,f;if("borderBoxSize"in l){const p=l.borderBoxSize,h=Array.isArray(p)?p[0]:p;u=h.inlineSize,f=h.blockSize}else u=e.offsetWidth,f=e.offsetHeight;r({width:u,height:f})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else r(void 0)},[e]),t}S3(tb,"useSize");var C3=Object.defineProperty,Nr=(e,t)=>C3(e,"name",{value:t,configurable:!0}),nb="Popper",[rb,ob]=$s(nb),[E3,ib]=rb(nb),j3=Nr(e=>{const{__scopePopper:t,children:r}=e,[i,s]=x.useState(null),[l,u]=x.useState(void 0);return c.jsx(E3,{scope:t,anchor:i,onAnchorChange:s,placementState:l,setPlacementState:u,children:r})},"Popper"),N3="PopperAnchor",T3=x.forwardRef(Nr(function(t,r){const{__scopePopper:i,virtualRef:s,...l}=t,u=ib(N3,i),f=x.useRef(null),p=u.onAnchorChange,h=x.useCallback(E=>{f.current=E,E&&p(E)},[p]),g=Je(r,h),v=x.useRef(null);x.useEffect(()=>{if(!s)return;const E=v.current;v.current=s.current,E!==v.current&&p(v.current)});const w=u.placementState&&lc(u.placementState),S=w?.[0],j=w?.[1];return s?null:c.jsx(pt.div,{"data-radix-popper-side":S,"data-radix-popper-align":j,...l,ref:g})},"PopperAnchor")),sb="PopperContent",[P3,SI]=rb(sb),k3=x.forwardRef(Nr(function(t,r){const{__scopePopper:i,side:s="bottom",sideOffset:l=0,align:u="center",alignOffset:f=0,arrowPadding:p=0,avoidCollisions:h=!0,collisionBoundary:g=[],collisionPadding:v=0,sticky:w="partial",hideWhenDetached:S=!1,updatePositionStrategy:j="optimized",onPlaced:E,...b}=t,N=ib(sb,i),[T,P]=x.useState(null),R=Je(r,P),[M,F]=x.useState(null),z=tb(M),$=z?.width??0,X=z?.height??0,ee=s+(u!=="center"?"-"+u:""),se=typeof v=="number"?v:{top:0,right:0,bottom:0,left:0,...v},K=Array.isArray(g)?g:[g],le=K.length>0,q={padding:se,boundary:K.filter(ab),altBoundary:le},{refs:he,floatingStyles:oe,placement:Z,isPositioned:V,middlewareData:Y}=f3({strategy:"fixed",placement:ee,whileElementsMounted:Nr((...ve)=>o3(...ve,{animationFrame:j==="always"}),"whileElementsMounted"),elements:{reference:N.anchor},middleware:[h3({mainAxis:l+X,alignmentAxis:f}),h&&m3({mainAxis:!0,crossAxis:!1,limiter:w==="partial"?g3():void 0,...q}),h&&v3({...q}),y3({...q,apply:Nr(({elements:ve,rects:Pe,availableWidth:ke,availableHeight:Me})=>{const{width:Ie,height:Mt}=Pe.reference,bt=ve.floating.style;bt.setProperty("--radix-popper-available-width",`${ke}px`),bt.setProperty("--radix-popper-available-height",`${Me}px`),bt.setProperty("--radix-popper-anchor-width",`${Ie}px`),bt.setProperty("--radix-popper-anchor-height",`${Mt}px`)},"apply")}),M&&w3({element:M,padding:p}),R3({arrowWidth:$,arrowHeight:X}),S&&x3({strategy:"referenceHidden",...q,boundary:le?q.boundary:void 0})]}),H=N.setPlacementState;ft(()=>(H(Z),()=>{H(void 0)}),[Z,H]);const[I,B]=lc(Z),ue=Pn(E);ft(()=>{V&&ue?.()},[V,ue]);const ge=Y.arrow?.x,we=Y.arrow?.y,Se=Y.arrow?.centerOffset!==0,[je,te]=x.useState();return ft(()=>{T&&te(window.getComputedStyle(T).zIndex)},[T]),c.jsx("div",{ref:he.setFloating,"data-radix-popper-content-wrapper":"",style:{...oe,transform:V?oe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:je,"--radix-popper-transform-origin":[Y.transformOrigin?.x,Y.transformOrigin?.y].join(" "),...Y.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:c.jsx(P3,{scope:i,placedSide:I,placedAlign:B,onArrowChange:F,arrowX:ge,arrowY:we,shouldHideArrow:Se,children:c.jsx(pt.div,{"data-side":I,"data-align":B,...b,ref:R,style:{...b.style,animation:V?b.style?.animation:"none"}})})})},"PopperContent"));function ab(e){return e!==null}Nr(ab,"isNotNull");var R3=Nr(e=>({name:"transformOrigin",options:e,fn(t){const{placement:r,rects:i,middlewareData:s}=t,u=s.arrow?.centerOffset!==0,f=u?0:e.arrowWidth,p=u?0:e.arrowHeight,[h,g]=lc(r),v={start:"0%",center:"50%",end:"100%"}[g],w=(s.arrow?.x??0)+f/2,S=(s.arrow?.y??0)+p/2;let j="",E="";return h==="bottom"?(j=u?v:`${w}px`,E=`${-p}px`):h==="top"?(j=u?v:`${w}px`,E=`${i.floating.height+p}px`):h==="right"?(j=`${-p}px`,E=u?v:`${S}px`):h==="left"&&(j=`${i.floating.width+p}px`,E=u?v:`${S}px`),{data:{x:j,y:E}}}}),"transformOrigin");function lc(e){const[t,r="center"]=e.split("-");return[t,r]}Nr(lc,"getSideAndAlignFromPlacement");var A3=j3,M3=T3,O3=k3,I3=Object.defineProperty,_3=(e,t)=>
18I3(e,"name",{value:t,configurable:!0}),L3=x.forwardRef(_3(function(t,r){const{container:i,...s}=t,[l,u]=x.useState(!1);ft(()=>u(!0),[]);const f=i||l&&globalThis?.document?.body;return f?nr.createPortal(c.jsx(pt.div,{...s,ref:r}),f):null},"Portal")),D3=Object.defineProperty,Jn=(e,t)=>D3(e,"name",{value:t,configurable:!0});function lb(e,t){return x.useReducer((r,i)=>t[r][i]??r,e)}Jn(lb,"useStateMachine");var F3=Jn(e=>{const{present:t,children:r}=e,i=cb(t),s=typeof r=="function"?r({present:i.isPresent}):x.Children.only(r),l=ub(i.ref,db(s));return typeof r=="function"||i.isPresent?x.cloneElement(s,{ref:l}):null},"Presence");function cb(e){const[t,r]=x.useState(),i=x.useRef(null),s=x.useRef(e),l=x.useRef("none"),u=x.useRef(void 0),f=e?"mounted":"unmounted",[p,h]=lb(f,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{p==="mounted"?(l.current=u.current??Go(i.current),u.current=void 0):l.current="none"},[p]),ft(()=>{const g=i.current,v=s.current;if(v!==e){const S=l.current,j=Go(g);e?(u.current=j,h("MOUNT")):j==="none"||g?.display==="none"?h("UNMOUNT"):h(v&&S!==j?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,h]),ft(()=>{if(t){let g;const v=t.ownerDocument.defaultView??window,w=Jn(j=>{const b=Go(i.current).includes(CSS.escape(j.animationName));if(j.target===t&&b&&(h("ANIMATION_END"),!s.current)){const N=t.style.animationFillMode;t.style.animationFillMode="forwards",g=v.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=N)})}},"handleAnimationEnd"),S=Jn(j=>{j.target===t&&(l.current=Go(i.current))},"handleAnimationStart");return t.addEventListener("animationstart",S),t.addEventListener("animationcancel",w),t.addEventListener("animationend",w),()=>{v.clearTimeout(g),t.removeEventListener("animationstart",S),t.removeEventListener("animationcancel",w),t.removeEventListener("animationend",w)}}else h("ANIMATION_END")},[t,h]),{isPresent:["mounted","unmountSuspended"].includes(p),ref:x.useCallback(g=>{if(g){const v=getComputedStyle(g);i.current=v,u.current=Go(v)}else i.current=null;r(g)},[])}}Jn(cb,"usePresence");function _f(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}Jn(_f,"setRef");function ub(...e){const t=x.useRef(e);return t.current=e,x.useCallback(r=>{const i=t.current;let s=!1;const l=i.map(u=>{const f=_f(u,r);return!s&&typeof f=="function"&&(s=!0),f});if(s)return()=>{for(let u=0;u<l.length;u++){const f=l[u];typeof f=="function"?f():_f(i[u],null)}}},[])}Jn(ub,"useStableComposedRefs");function Go(e){return e?.animationName||"none"}Jn(Go,"getAnimationName");function db(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}Jn(db,"getElementRef");var V3=globalThis?.document?x.useLayoutEffect:()=>{},z3=Object.defineProperty,B3=(e,t)=>z3(e,"name",{value:t,configurable:!0}),tx=ci[" useEffectEvent ".trim().toString()],nx=ci[" useInsertionEffect ".trim().toString()];function fb(e){if(typeof tx=="function")return tx(e);const t=x.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return typeof nx=="function"?nx(()=>{t.current=e}):V3(()=>{t.current=e}),x.useMemo(()=>((...r)=>t.current?.(...r)),[])}B3(fb,"useEffectEvent");var $3=Object.defineProperty,Us=(e,t)=>$3(e,"name",{value:t,configurable:!0}),W3=ci[" useInsertionEffect ".trim().toString()]||ft;function Lf({prop:e,defaultProp:t,onChange:r=Us(()=>{},"onChange"),caller:i}){const[s,l,u]=pb({defaultProp:t,onChange:r}),f=e!==void 0,p=f?e:s,h=x.useCallback(g=>{if(f){const v=hb(g)?g(e):g;v!==e&&u.current?.(v)}else l(g)},[f,e,l,u]);return[p,h]}Us(Lf,"useControllableState");function pb({defaultProp:e,onChange:t}){const[r,i]=x.useState(e),s=x.useRef(r),l=x.useRef(t);return W3(()=>{l.current=t},[t]),x.useEffect(()=>{s.current!==r&&(l.current?.(r),s.current=r)},[r,s]),[r,i,l]}Us(pb,"useUncontrolledState");function hb(e){return typeof e=="function"}Us(hb,"isFunction");var rx=Symbol("RADIX:SYNC_STATE");
18function U3(e,t,r,i){const{prop:s,defaultProp:l,onChange:u,caller:f}=t,p=s!==void 0,h=fb(u),g=[{...r,state:l}];i&&g.push(i);const[v,w]=x.useReducer((b,N)=>{if(N.type===rx)return{...b,state:N.state};const T=e(b,N);return p&&!Object.is(T.state,b.state)&&h(T.state),T},...g),S=v.state,j=x.useRef(S);x.useEffect(()=>{j.current!==S&&(j.current=S,p||h(S))},[S,j,p]);const E=x.useMemo(()=>s!==void 0?{...v,state:s}:v,[v,s]);return x.useEffect(()=>{p&&!Object.is(s,v.state)&&w({type:rx,state:s})},[s,v.state,p]),[E,w]}Us(U3,"useControllableStateReducer");var H3=Object.defineProperty,K3=(e,t)=>H3(e,"name",{value:t,configurable:!0});function mb(e){const t=x.useRef({value:e,previous:e});return x.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}K3(mb,"usePrevious");var G3=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),q3=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Uo=new WeakMap,pl=new WeakMap,hl={},Bd=0,gb=function(e){return e&&(e.host||gb(e.parentNode))},Y3=function(e,t){return t.map(function(r){if(e.contains(r))return r;var i=gb(r);return i&&e.contains(i)?i:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},X3=function(e,t,r,i){var s=Y3(t,Array.isArray(e)?e:[e]);hl[r]||(hl[r]=new WeakMap);var l=hl[r],u=[],f=new Set,p=new Set(s),h=function(v){!v||f.has(v)||(f.add(v),h(v.parentNode))};s.forEach(h);var g=function(v){!v||p.has(v)||Array.prototype.forEach.call(v.children,function(w){if(f.has(w))g(w);else try{var S=w.getAttribute(i),j=S!==null&&S!=="false",E=(Uo.get(w)||0)+1,b=(l.get(w)||0)+1;Uo.set(w,E),l.set(w,b),u.push(w),E===1&&j&&pl.set(w,!0),b===1&&w.setAttribute(r,"true"),j||w.setAttribute(i,"true")}catch(N){console.error("aria-hidden: cannot operate on ",w,N)}})};return g(t),f.clear(),Bd++,function(){u.forEach(function(v){var w=Uo.get(v)-1,S=l.get(v)-1;Uo.set(v,w),l.set(v,S),w||(pl.has(v)||v.removeAttribute(i),pl.delete(v)),S||v.removeAttribute(r)}),Bd--,Bd||(Uo=new WeakMap,Uo=new WeakMap,pl=new WeakMap,hl={})}},Q3=function(e,t,r){r===void 0&&(r="data-aria-hidden");var i=Array.from(Array.isArray(e)?e:[e]),s=q3(e);return s?(i.push.apply(i,Array.from(s.querySelectorAll("[aria-live]"))),X3(i,s,r,"aria-hidden")):function(){return null}},Cn=function(){return Cn=Object.assign||function(t){for(var r,i=1,s=arguments.length;i<s;i++){r=arguments[i];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(t[l]=r[l])}return t},Cn.apply(this,arguments)};function vb(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(e);s<i.length;s++)t.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(e,i[s])&&(r[i[s]]=e[i[s]]);return r}function Z3(e,t,r){if(r||arguments.length===2)for(var i=0,s=t.length,l;i<s;i++)(l||!(i in t))&&(l||(l=Array.prototype.slice.call(t,0,i)),l[i]=t[i]);return e.concat(l||Array.prototype.slice.call(t))}var Pl="right-scroll-bar-position",kl="width-before-scroll-bar",J3="with-scroll-bars-hidden",eO="--removed-body-scroll-bar-size";function $d(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function tO(e,t){var r=x.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(i){var s=r.value;s!==i&&(r.value=i,r.callback(i,s))}}}})[0];return r.callback=t,r.facade}var nO=typeof window<"u"?x.useLayoutEffect:x.useEffect,ox=new WeakMap;function rO(e,t){var r=tO(null,function(i){return e.forEach(function(s){return $d(s,i)})});return nO(function(){var i=ox.get(r);if(i){var s=new Set(i),l=new Set(e),u=r.current;s.forEach(function(f){l.has(f)||$d(f,null)}),l.forEach(function(f){s.has(f)||$d(f,u)})}ox.set(r,e)},[e]),r}function oO(e){return e}function iO(e,t){t===void 0&&(t=oO);var r=[],i=!1,s={read:function(){if(i)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(l){var u=t(l,i);return r.push(u),function(){r=r.filter(function(f){return f!==u})}},assignSyncMedium:function(l){for(i=!0;r.length;){var u=r;r=[],u.forEach(l)}r={push:function(f){return l(f)},filter:function(){return r}}},assignMedium:function(l){i=!0;var u=[];
vendor: 10,236 bytes, lines 18-58
18if(r.length){var f=r;r=[],f.forEach(l),u=r}var p=function(){var g=u;u=[],g.forEach(l)},h=function(){return Promise.resolve().then(p)};h(),r={push:function(g){u.push(g),h()},filter:function(g){return u=u.filter(g),r}}}};return s}function sO(e){e===void 0&&(e={});var t=iO(null);return t.options=Cn({async:!0,ssr:!1},e),t}var yb=function(e){var t=e.sideCar,r=vb(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw new Error("Sidecar medium not found");return x.createElement(i,Cn({},r))};yb.isSideCarExport=!0;function aO(e,t){return e.useMedium(t),yb}var xb=sO(),Wd=function(){},cc=x.forwardRef(function(e,t){var r=x.useRef(null),i=x.useState({onScrollCapture:Wd,onWheelCapture:Wd,onTouchMoveCapture:Wd}),s=i[0],l=i[1],u=e.forwardProps,f=e.children,p=e.className,h=e.removeScrollBar,g=e.enabled,v=e.shards,w=e.sideCar,S=e.noRelative,j=e.noIsolation,E=e.inert,b=e.allowPinchZoom,N=e.as,T=N===void 0?"div":N,P=e.gapMode,R=vb(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),M=w,F=rO([r,t]),z=Cn(Cn({},R),s);return x.createElement(x.Fragment,null,g&&x.createElement(M,{sideCar:xb,removeScrollBar:h,shards:v,noRelative:S,noIsolation:j,inert:E,setCallbacks:l,allowPinchZoom:!!b,lockRef:r,gapMode:P}),u?x.cloneElement(x.Children.only(f),Cn(Cn({},z),{ref:F})):x.createElement(T,Cn({},z,{className:p,ref:F}),f))});cc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};cc.classNames={fullWidth:kl,zeroRight:Pl};var lO=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function cO(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=lO();return t&&e.setAttribute("nonce",t),e}function uO(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function dO(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var fO=function(){var e=0,t=null;return{add:function(r){e==0&&(t=cO())&&(uO(t,r),dO(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},pO=function(){var e=fO();return function(t,r){x.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},wb=function(){var e=pO(),t=function(r){var i=r.styles,s=r.dynamic;return e(i,s),null};return t},hO={left:0,top:0,right:0,gap:0},Ud=function(e){return parseInt(e||"",10)||0},mO=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],i=t[e==="padding"?"paddingTop":"marginTop"],s=t[e==="padding"?"paddingRight":"marginRight"];return[Ud(r),Ud(i),Ud(s)]},gO=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return hO;var t=mO(e),r=document.documentElement.clientWidth,i=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,i-r+t[2]-t[0])}},vO=wb(),ni="data-scroll-locked",yO=function(e,t,r,i){var s=e.left,l=e.top,u=e.right,f=e.gap;return r===void 0&&(r="margin"),`
19  .`.concat(J3,` {
20   overflow: hidden `).concat(i,`;
21   padding-right: `).concat(f,"px ").concat(i,`;
22  }
23  body[`).concat(ni,`] {
24    overflow: hidden `).concat(i,`;
25    overscroll-behavior: contain;
26    `).concat([t&&"position: relative ".concat(i,";"),r==="margin"&&`
27    padding-left: `.concat(s,`px;
28    padding-top: `).concat(l,`px;
29    padding-right: `).concat(u,`px;
30    margin-left:0;
31    margin-top:0;
32    margin-right: `).concat(f,"px ").concat(i,`;
33    `),r==="padding"&&"padding-right: ".concat(f,"px ").concat(i,";")].filter(Boolean).join(""),`
34  }
35  
36  .`).concat(Pl,` {
37    right: `).concat(f,"px ").concat(i,`;
38  }
39  
40  .`).concat(kl,` {
41    margin-right: `).concat(f,"px ").concat(i,`;
42  }
43  
44  .`).concat(Pl," .").concat(Pl,` {
45    right: 0 `).concat(i,`;
46  }
47  
48  .`).concat(kl," .").concat(kl,` {
49    margin-right: 0 `).concat(i,`;
50  }
51  
52  body[`).concat(ni,`] {
53    `).concat(eO,": ").concat(f,`px;
54  }
55`)},ix=function(){var e=parseInt(document.body.getAttribute(ni)||"0",10);return isFinite(e)?e:0},xO=function(){x.useEffect(function(){return document.body.setAttribute(ni,(ix()+1).toString()),function(){var e=ix()-1;e<=0?document.body.removeAttribute(ni):document.body.setAttribute(ni,e.toString())}},[])},wO=function(e){var t=e.noRelative,r=e.noImportant,i=e.gapMode,s=i===void 0?"margin":i;xO();var l=x.useMemo(function(){return gO(s)},[s]);return x.createElement(vO,{styles:yO(l,!t,s,r?"":"!important")})},Df=!1;if(typeof window<"u")try{var ml=Object.defineProperty({},"passive",{get:function(){return Df=!0,!0}});window.addEventListener("test",ml,ml),window.removeEventListener("test",ml,ml)}catch{Df=!1}var Ho=Df?{passive:!1}:!1,bO=function(e){return e.tagName==="TEXTAREA"},bb=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!bO(e)&&r[t]==="visible")},SO=function(e){return bb(e,"overflowY")},CO=function(e){return bb(e,"overflowX")},sx=function(e,t){var r=t.ownerDocument,i=t;do{typeof ShadowRoot<"u"&&i instanceof ShadowRoot&&(i=i.host);var s=Sb(e,i);if(s){var l=Cb(e,i),u=l[1],f=l[2];if(u>f)return!0}i=i.parentNode}while(i&&i!==r.body);return!1},EO=function(e){var t=e.scrollTop,r=e.scrollHeight,i=e.clientHeight;return[t,r,i]},jO=function(e){var t=e.scrollLeft,r=e.scrollWidth,i=e.clientWidth;return[t,r,i]},Sb=function(e,t){return e==="v"?SO(t):CO(t)},Cb=function(e,t){return e==="v"?EO(t):jO(t)},NO=function(e,t){return e==="h"&&t==="rtl"?-1:1},TO=function(e,t,r,i,s){var l=NO(e,window.getComputedStyle(t).direction),u=l*i,f=r.target,p=t.contains(f),h=!1,g=u>0,v=0,w=0;do{if(!f)break;var S=Cb(e,f),j=S[0],E=S[1],b=S[2],N=E-b-l*j;(j||N)&&Sb(e,f)&&(v+=N,w+=j);var T=f.parentNode;f=T&&T.nodeType===Node.DOCUMENT_FRAGMENT_NODE?T.host:T}while(!p&&f!==document.body||p&&(t.contains(f)||t===f));return(g&&Math.abs(v)<1||!g&&Math.abs(w)<1)&&(h=!0),h},gl=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ax=function(e){return[e.deltaX,e.deltaY]},lx=function(e){return e&&"current"in e?e.current:e},PO=function(e,t){return e[0]===t[0]&&e[1]===t[1]},kO=function(e){return`
56  .block-interactivity-`.concat(e,` {pointer-events: none;}
57  .allow-interactivity-`).concat(e,` {pointer-events: all;}
58`)},RO=0,Ko=[];function AO(e){var t=x.useRef([]),r=x.useRef([0,0]),i=x.useRef(),s=x.useState(RO++)[0],l=x.useState(wb)[0],u=x.useRef(e);x.useEffect(function(){u.current=e},[e]),x.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var E=Z3([e.lockRef.current],(e.shards||[]).map(lx),!0).filter(Boolean);return E.forEach(function(b){return b.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),E.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(s))})}}},[e.inert,e.lockRef.current,e.shards]);var f=x.useCallback(function(E,b){if("touches"in E&&E.touches.length===2||E.type==="wheel"&&E.ctrlKey)return!u.current.allowPinchZoom;var N=gl(E),T=r.current,P="deltaX"in E?E.deltaX:T[0]-N[0],R="deltaY"in E?E.deltaY:T[1]-N[1],M,F=E.target,z=Math.abs(P)>Math.abs(R)?"h":"v";if("touches"in E&&z==="h"&&F.type==="range")return!1;var $=window.getSelection(),X=$&&$.anchorNode,ee=X?X===F||X.contains(F):!1;if(ee)return!1;var se=sx(z,F);if(!se)return!0;if(se?M=z:(M=z==="v"?"h":"v",se=sx(z,F)),!se)return!1;if(!i.current&&"changedTouches"in E&&(P||R)&&(i.current=M),!M)return!0;var K=i.current||M;return TO(K,b,E,K==="h"?P:R)},[]),p=x.useCallback(function(E){var b=E;if(!(!Ko.length||Ko[Ko.length-1]!==l)){var N="deltaY"in b?ax(b):gl(b),T=t.current.filter(function(M){return M.name===b.type&&(M.target===b.target||b.target===M.shadowParent)&&PO(M.delta,N)})[0];if(T&&T.should){b.cancelable&&b.preventDefault();return}if(!T){var P=(u.current.shards||[]).map(lx).filter(Boolean).filter(function(M){return M.contains(b.target)}),R=P.length>0?f(b,P[0]):!u.current.noIsolation;R&&b.cancelable&&b.preventDefault()}}},[]),h=x.useCallback(function(E,b,N,T){var P={name:E,delta:b,target:N,should:T,shadowParent:MO(N)};t.current.push(P),setTimeout(function(){t.current=t.current.filter(function(R){return R!==P})},1)},[]),g=x.useCallback(function(E){r.current=gl(E),i.current=void 0},[]),v=x.useCallback(function(E){h(E.type,ax(E),E.target,f(E,e.lockRef.current))},[]),w=x.useCallback(function(E){h(E.type,gl(E),E.target,f(E,e.lockRef.current))},[]);x.useEffect(function(){return Ko.push(l),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:w}),document.addEventListener("wheel",p,Ho),document.addEventListener("touchmove",p,Ho),document.addEventListener("touchstart",g,Ho),function(){Ko=Ko.filter(function(E){return E!==l}),document.removeEventListener("wheel",p,Ho),document.removeEventListener("touchmove",p,Ho),document.removeEventListener("touchstart",g,Ho)}},[]);var S=e.removeScrollBar,j=e.inert;return x.createElement(x.Fragment,null,j?x.createElement(l,{styles:kO(s)}):null,S?x.createElement(wO,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function MO(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const OO=aO(xb,AO);var Eb=x.forwardRef(function(e,t){return x.createElement(cc,Cn({},e,{ref:t,sideCar:OO}))});Eb.classNames=cc.classNames;var IO=Object.defineProperty,Ee=(e,t)=>IO(e,"name",{value:t,configurable:!0}),_O=[" ","Enter","ArrowUp","ArrowDown"],LO=[" ","Enter"],li="Select",[uc,dc,DO]=R1(li),[fo,CI]=$s(li,[DO,ob]),Xp=ob(),[FO,Ir]=fo(li),[VO,zO]=fo(li);function jb(e){const{__scopeSelect:t,children:r,open:i,defaultOpen:s,onOpenChange:l,value:u,defaultValue:f,onValueChange:p,dir:h,name:g,autoComplete:v,disabled:w,required:S,form:j,internal_do_not_use_render:E}=e,b=Xp(t),[N,T]=x.useState(null),[P,R]=x.useState(null),[M,F]=x.useState(!1),z=_1(h),[$,X]=Lf({prop:i,defaultProp:s??!1,onChange:l,caller:li}),[ee,se]=Lf({prop:u,defaultProp:f,onChange:p,caller:li}),K=x.useRef(null),le=x.useRef(ee);x.useEffect(()=>{const B=j?N?.ownerDocument.getElementById(j):N?.form;if(B instanceof HTMLFormElement){const ue=Ee(()=>se(le.current),"reset");return B.addEventListener("reset",ue),()=>B.removeEventListener("reset",ue)}},[j,N,se]);
58const q=N?!!j||!!N.closest("form"):!0,[he,oe]=x.useState(new Set),Z=$p(),V=Array.from(he).map(B=>B.props.value).join(";"),Y=x.useCallback(B=>{oe(ue=>new Set(ue).add(B))},[]),H=x.useCallback(B=>{oe(ue=>{const ge=new Set(ue);return ge.delete(B),ge})},[]),I={required:S,trigger:N,onTriggerChange:T,valueNode:P,onValueNodeChange:R,valueNodeHasChildren:M,onValueNodeHasChildrenChange:F,contentId:Z,value:ee,onValueChange:se,open:$,onOpenChange:X,dir:z,triggerPointerDownPosRef:K,disabled:w,name:g,autoComplete:v,form:j,nativeOptions:he,nativeSelectKey:V,isFormControl:q};return c.jsx(A3,{...b,children:c.jsx(FO,{scope:t,...I,children:c.jsx(uc.Provider,{scope:t,children:c.jsx(VO,{scope:t,onNativeOptionAdd:Y,onNativeOptionRemove:H,children:Lb(E)?E(I):r})})})})}Ee(jb,"SelectProvider");var BO=Ee(e=>{const{__scopeSelect:t,children:r,...i}=e;return c.jsx(jb,{__scopeSelect:t,...i,internal_do_not_use_render:({isFormControl:s})=>c.jsxs(c.Fragment,{children:[r,s?c.jsx(uI,{__scopeSelect:t}):null]})})},"Select"),$O="SelectTrigger",Nb=x.forwardRef(Ee(function(t,r){const{__scopeSelect:i,disabled:s=!1,...l}=t,u=Xp(i),f=Ir($O,i),p=f.disabled||s,h=Je(r,f.onTriggerChange),g=dc(i),v=x.useRef("touch"),[w,S,j]=Zp(b=>{const N=g().filter(R=>!R.disabled),T=N.find(R=>R.value===f.value),P=Jp(N,b,T);P!==void 0&&f.onValueChange(P.value)}),E=Ee(b=>{p||(f.onOpenChange(!0),j()),b&&(f.triggerPointerDownPosRef.current={x:Math.round(b.pageX),y:Math.round(b.pageY)})},"handleOpen");return c.jsx(M3,{asChild:!0,...u,children:c.jsx(pt.button,{type:"button",role:"combobox","aria-controls":f.open?f.contentId:void 0,"aria-expanded":f.open,"aria-required":f.required,"aria-autocomplete":"none",dir:f.dir,"data-state":f.open?"open":"closed",disabled:p,"data-disabled":p?"":void 0,"data-placeholder":Hs(f.value)?"":void 0,...l,ref:h,onClick:Ze(l.onClick,b=>{b.currentTarget.focus(),v.current!=="mouse"&&E(b)}),onPointerDown:Ze(l.onPointerDown,b=>{v.current=b.pointerType;const N=b.target;N.hasPointerCapture(b.pointerId)&&N.releasePointerCapture(b.pointerId),b.button===0&&b.ctrlKey===!1&&b.pointerType==="mouse"&&(E(b),b.preventDefault())}),onKeyDown:Ze(l.onKeyDown,b=>{const N=w.current!=="";!(b.ctrlKey||b.altKey||b.metaKey)&&b.key.length===1&&S(b.key),!(N&&b.key===" ")&&_O.includes(b.key)&&(E(),b.preventDefault())})})})},"SelectTrigger")),WO="SelectValue",UO=x.forwardRef(Ee(function(t,r){const{__scopeSelect:i,className:s,style:l,children:u,placeholder:f="",...p}=t,h=Ir(WO,i),{onValueNodeHasChildrenChange:g}=h,v=u!==void 0,w=Je(r,h.onValueNodeChange);ft(()=>{g(v)},[g,v]);const S=Hs(h.value);return c.jsx(pt.span,{...p,asChild:S?!1:p.asChild,ref:w,style:{pointerEvents:"none"},children:c.jsx(x.Fragment,{children:S?f:u},S?"placeholder":"value")})},"SelectValue")),HO=x.forwardRef(Ee(function(t,r){const{__scopeSelect:i,children:s,...l}=t;return c.jsx(pt.span,{"aria-hidden":!0,...l,ref:r,children:s||"▼"})},"SelectIcon")),KO="SelectPortal",[GO,qO]=fo(KO,{forceMount:void 0}),YO=Ee(e=>{const{__scopeSelect:t,forceMount:r,...i}=e;return c.jsx(GO,{scope:e.__scopeSelect,forceMount:r,children:c.jsx(L3,{asChild:!0,...i})})},"SelectPortal"),so="SelectContent",Tb=x.forwardRef(Ee(function(t,r){const i=qO(so,t.__scopeSelect),{forceMount:s=i.forceMount,...l}=t,u=Ir(so,t.__scopeSelect),[f,p]=x.useState();return ft(()=>{p(new DocumentFragment)},[]),c.jsx(F3,{present:s||u.open,children:({present:h})=>h?c.jsx(ZO,{...l,ref:r}):c.jsx(XO,{...l,fragment:f})})},"SelectContent")),XO=x.forwardRef(Ee(function(t,r){const{__scopeSelect:i,children:s,fragment:l}=t;return l?nr.createPortal(c.jsx(Pb,{scope:i,children:c.jsx(uc.Slot,{scope:i,children:c.jsx("div",{ref:r,children:s})})}),l):null},"SelectContentFragment")),un=10,[Pb,po]=fo(so),QO=oo("SelectContent.RemoveScroll"),ZO=x.forwardRef(Ee(function(t,r){const{__scopeSelect:i}=t,{position:s="item-aligned",onCloseAutoFocus:l,onEscapeKeyDown:u,onPointerDownOutside:f,side:p,sideOffset:h,align:g,alignOffset:v,arrowPadding:w,collisionBoundary:S,collisionPadding:j,sticky:E,hideWhenDetached:b,avoidCollisions:N,...T}=t,P=Ir(so,i),[R,M]=x.useState(null),[F,z]=x.useState(null),$=Je(r,M),[X,ee]=x.useState(null),[se,K]=x.useState(null),le=dc(i),[q,he]=x.use
vendor: 4,357 bytes, line 58
58State(!1),oe=x.useRef(!1);x.useEffect(()=>{if(R)return Q3(R)},[R]),zp();const Z=x.useCallback(te=>{const[ve,...Pe]=le().map(Ie=>Ie.ref.current),[ke]=Pe.slice(-1),Me=document.activeElement;for(const Ie of te)if(Ie===Me||(Ie?.scrollIntoView({block:"nearest"}),Ie===ve&&F&&(F.scrollTop=0),Ie===ke&&F&&(F.scrollTop=F.scrollHeight),Ie?.focus(),document.activeElement!==Me))return},[le,F]),V=x.useCallback(()=>Z([X,R]),[Z,X,R]);x.useEffect(()=>{q&&V()},[q,V]);const{onOpenChange:Y,triggerPointerDownPosRef:H}=P;x.useEffect(()=>{if(R){let te={x:0,y:0};const ve=Ee(ke=>{te={x:Math.abs(Math.round(ke.pageX)-(H.current?.x??0)),y:Math.abs(Math.round(ke.pageY)-(H.current?.y??0))}},"handlePointerMove"),Pe=Ee(ke=>{te.x<=10&&te.y<=10?ke.preventDefault():ke.composedPath().includes(R)||Y(!1),document.removeEventListener("pointermove",ve),H.current=null},"handlePointerUp");return H.current!==null&&(document.addEventListener("pointermove",ve),document.addEventListener("pointerup",Pe,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ve),document.removeEventListener("pointerup",Pe,{capture:!0})}}},[R,Y,H]),x.useEffect(()=>{const te=Ee(()=>Y(!1),"close");return window.addEventListener("blur",te),window.addEventListener("resize",te),()=>{window.removeEventListener("blur",te),window.removeEventListener("resize",te)}},[Y]);const[I,B]=Zp(te=>{const ve=le().filter(Me=>!Me.disabled),Pe=ve.find(Me=>Me.ref.current===document.activeElement),ke=Jp(ve,te,Pe);ke&&setTimeout(()=>ke.ref.current?.focus())}),ue=x.useCallback((te,ve,Pe)=>{const ke=!oe.current&&!Pe;(P.value!==void 0&&P.value===ve||ke)&&(ee(te),ke&&(oe.current=!0))},[P.value]),ge=x.useCallback(()=>R?.focus(),[R]),we=x.useCallback((te,ve,Pe)=>{const ke=!oe.current&&!Pe;(P.value!==void 0&&P.value===ve||ke)&&K(te)},[P.value]),Se=s==="popper"?cx:JO,je=Se===cx?{side:p,sideOffset:h,align:g,alignOffset:v,arrowPadding:w,collisionBoundary:S,collisionPadding:j,sticky:E,hideWhenDetached:b,avoidCollisions:N}:{};return c.jsx(Pb,{scope:i,content:R,viewport:F,onViewportChange:z,itemRefCallback:ue,selectedItem:X,onItemLeave:ge,itemTextRefCallback:we,focusSelectedItem:V,selectedItemText:se,position:s,isPositioned:q,searchRef:I,children:c.jsx(Eb,{as:QO,allowPinchZoom:!0,children:c.jsx(x4,{asChild:!0,trapped:P.open,onMountAutoFocus:te=>{te.preventDefault()},onUnmountAutoFocus:Ze(l,te=>{P.trigger?.focus({preventScroll:!0}),te.preventDefault()}),children:c.jsx(p4,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:u,onPointerDownOutside:f,onFocusOutside:te=>te.preventDefault(),onDismiss:()=>P.onOpenChange(!1),children:c.jsx(Se,{role:"listbox",id:P.contentId,"data-state":P.open?"open":"closed",dir:P.dir,onContextMenu:te=>te.preventDefault(),...T,...je,onPlaced:()=>he(!0),ref:$,style:{display:"flex",flexDirection:"column",outline:"none",...T.style},onKeyDown:Ze(T.onKeyDown,te=>{const ve=te.ctrlKey||te.altKey||te.metaKey;if(te.key==="Tab"&&te.preventDefault(),!ve&&te.key.length===1&&B(te.key),["ArrowUp","ArrowDown","Home","End"].includes(te.key)){let ke=le().filter(Me=>!Me.disabled).map(Me=>Me.ref.current);if(["ArrowUp","End"].includes(te.key)&&(ke=ke.slice().reverse()),["ArrowUp","ArrowDown"].includes(te.key)){const Me=te.target,Ie=ke.indexOf(Me);ke=ke.slice(Ie+1)}setTimeout(()=>Z(ke)),te.preventDefault()}})})})})})})},"SelectContentImpl")),JO=x.forwardRef(Ee(function(t,r){const{__scopeSelect:i,onPlaced:s,...l}=t,u=Ir(so,i),f=po(so,i),[p,h]=x.useState(null),[g,v]=x.useState(null),w=Je(r,v),S=dc(i),j=x.useRef(!1),E=x.useRef(!0),{viewport:b,selectedItem:N,selectedItemText:T,focusSelectedItem:P}=f,R=x.useCallback(()=>{if(u.trigger&&u.valueNode&&p&&g&&b&&N&&T){const $=u.trigger.getBoundingClientRect(),X=g.getBoundingClientRect(),ee=u.valueNode.getBoundingClientRect(),se=T.getBoundingClientRect();if(u.dir!=="rtl"){const Me=se.left-X.left,Ie=ee.left-Me,Mt=$.left-Ie,bt=$.width+Mt,ho=Math.max(bt,X.width),_r=window.innerWidth-un,mo=Sf(Ie,[un,Math.max(un,_r-ho)]);p.style.minWidth=bt+"px",p.style.left=mo+"px"}else{const Me=X.right-se.right,Ie=window.innerWidth-ee.right-Me,Mt=window.innerWidth-$.right-Ie,bt=$.width+Mt,ho=Math.max(bt,X.width),_r=window.innerWidth-un,mo=Sf(Ie,[un,Math.max(un,_r-ho)]);p.style.minWidth=bt+"px",p.style.right=mo+"px"}const K=S(),le=window.innerHeight-un*2,q=b.scrollHeight,he=window.getComputedStyle(g),oe=parseInt(he.borderTopWidth,10),Z=
vendor: 4,390 bytes, line 58
58parseInt(he.paddingTop,10),V=parseInt(he.borderBottomWidth,10),Y=parseInt(he.paddingBottom,10),H=oe+Z+q+Y+V,I=Math.min(N.offsetHeight*5,H),B=window.getComputedStyle(b),ue=parseInt(B.paddingTop,10),ge=parseInt(B.paddingBottom,10),we=$.top+$.height/2-un,Se=le-we,je=N.offsetHeight/2,te=N.offsetTop+je,ve=oe+Z+te,Pe=H-ve;if(ve<=we){const Me=K.length>0&&N===K[K.length-1].ref.current;p.style.bottom="0px";const Ie=g.clientHeight-b.offsetTop-b.offsetHeight,Mt=Math.max(Se,je+(Me?ge:0)+Ie+V),bt=ve+Mt;p.style.height=bt+"px"}else{const Me=K.length>0&&N===K[0].ref.current;p.style.top="0px";const Mt=Math.max(we,oe+b.offsetTop+(Me?ue:0)+je)+Pe;p.style.height=Mt+"px",b.scrollTop=ve-we+b.offsetTop}p.style.margin=`${un}px 0`,p.style.minHeight=I+"px",p.style.maxHeight=le+"px",s?.(),requestAnimationFrame(()=>j.current=!0)}},[S,u.trigger,u.valueNode,p,g,b,N,T,u.dir,s]);ft(()=>R(),[R]);const[M,F]=x.useState();ft(()=>{g&&F(window.getComputedStyle(g).zIndex)},[g]);const z=x.useCallback($=>{$&&E.current===!0&&(R(),P?.(),E.current=!1)},[R,P]);return c.jsx(eI,{scope:i,contentWrapper:p,shouldExpandOnScrollRef:j,onScrollButtonChange:z,children:c.jsx("div",{ref:h,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:M},children:c.jsx(pt.div,{...l,ref:w,style:{boxSizing:"border-box",maxHeight:"100%",...l.style}})})})},"SelectItemAlignedPosition")),cx=x.forwardRef(Ee(function(t,r){const{__scopeSelect:i,align:s="start",collisionPadding:l=un,...u}=t,f=Xp(i);return c.jsx(O3,{...f,...u,ref:r,align:s,collisionPadding:l,style:{boxSizing:"border-box",...u.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})},"SelectPopperPosition")),[eI,Qp]=fo(so,{}),ux="SelectViewport",tI=x.forwardRef(Ee(function(t,r){const{__scopeSelect:i,nonce:s,...l}=t,u=po(ux,i),f=Qp(ux,i),p=Je(r,u.onViewportChange),h=x.useRef(0);return c.jsxs(c.Fragment,{children:[c.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:s}),c.jsx(uc.Slot,{scope:i,children:c.jsx(pt.div,{"data-radix-select-viewport":"",role:"presentation",...l,ref:p,style:{position:"relative",flex:1,overflow:"hidden auto",...l.style},onScroll:Ze(l.onScroll,g=>{const v=g.currentTarget,{contentWrapper:w,shouldExpandOnScrollRef:S}=f;if(S?.current&&w){const j=Math.abs(h.current-v.scrollTop);if(j>0){const E=window.innerHeight-un*2,b=parseFloat(w.style.minHeight),N=parseFloat(w.style.height),T=Math.max(b,N);if(T<E){const P=T+j,R=Math.min(E,P),M=P-R;w.style.height=R+"px",w.style.bottom==="0px"&&(v.scrollTop=M>0?M:0,w.style.justifyContent="flex-end")}}}h.current=v.scrollTop})})})]})},"SelectViewport")),nI="SelectGroup",[EI,rI]=fo(nI),oI="SelectLabel",kb=x.forwardRef(Ee(function(t,r){const{__scopeSelect:i,...s}=t,l=rI(oI,i);return c.jsx(pt.div,{id:l.id,...s,ref:r})},"SelectLabel")),Ff="SelectItem",[iI,Rb]=fo(Ff),Ab=x.forwardRef(Ee(function(t,r){const{__scopeSelect:i,value:s,disabled:l=!1,textValue:u,...f}=t,p=Ir(Ff,i),h=po(Ff,i),g=p.value===s,[v,w]=x.useState(u??""),[S,j]=x.useState(!1),E=Pn(R=>h.itemRefCallback?.(R,s,l)),b=Je(r,E),N=$p(),T=x.useRef("touch"),P=Ee(()=>{l||(p.onValueChange(s),p.onOpenChange(!1))},"handleSelect");return c.jsx(iI,{scope:i,value:s,disabled:l,textId:N,isSelected:g,onItemTextChange:x.useCallback(R=>{w(M=>M||(R?.textContent??"").trim())},[]),children:c.jsx(uc.ItemSlot,{scope:i,value:s,disabled:l,textValue:v,children:c.jsx(pt.div,{role:"option","aria-labelledby":N,"data-highlighted":S?"":void 0,"aria-selected":g&&S,"data-state":g?"checked":"unchecked","aria-disabled":l||void 0,"data-disabled":l?"":void 0,tabIndex:l?void 0:-1,...f,ref:b,onFocus:Ze(f.onFocus,()=>j(!0)),onBlur:Ze(f.onBlur,()=>j(!1)),onClick:Ze(f.onClick,()=>{T.current!=="mouse"&&P()}),onPointerUp:Ze(f.onPointerUp,()=>{T.current==="mouse"&&P()}),onPointerDown:Ze(f.onPointerDown,R=>{T.current=R.pointerType}),onPointerMove:Ze(f.onPointerMove,R=>{T.current=R.pointerType,l?h.onItemLeave?.():T.current==="mouse"&&R.currentTarget.focu
58s({preventScroll:!0})}),onPointerLeave:Ze(f.onPointerLeave,R=>{R.currentTarget===document.activeElement&&h.onItemLeave?.()}),onKeyDown:Ze(f.onKeyDown,R=>{l||R.target!==R.currentTarget||h.searchRef?.current!==""&&R.key===" "||(LO.includes(R.key)&&P(),R.key===" "&&R.preventDefault())})})})})},"SelectItem")),vl="SelectItemText",sI=x.forwardRef(Ee(function(t,r){const{__scopeSelect:i,className:s,style:l,...u}=t,f=Ir(vl,i),p=po(vl,i),h=Rb(vl,i),g=zO(vl,i),[v,w]=x.useState(null),S=Pn(P=>p.itemTextRefCallback?.(P,h.value,h.disabled)),j=Je(r,w,h.onItemTextChange,S),E=v?.textContent,b=x.useMemo(()=>c.jsx("option",{value:h.value,disabled:h.disabled,children:E},h.value),[h.disabled,h.value,E]),{onNativeOptionAdd:N,onNativeOptionRemove:T}=g;return ft(()=>(N(b),()=>T(b)),[N,T,b]),c.jsxs(c.Fragment,{children:[c.jsx(pt.span,{id:h.textId,...u,ref:j}),h.isSelected&&f.valueNode&&!f.valueNodeHasChildren&&!Hs(f.value)?nr.createPortal(u.children,f.valueNode):null]})},"SelectItemText")),aI="SelectItemIndicator",lI=x.forwardRef(Ee(function(t,r){const{__scopeSelect:i,...s}=t;return Rb(aI,i).isSelected?c.jsx(pt.span,{"aria-hidden":!0,...s,ref:r}):null},"SelectItemIndicator")),dx="SelectScrollUpButton",Mb=x.forwardRef(Ee(function(t,r){const i=po(dx,t.__scopeSelect),s=Qp(dx,t.__scopeSelect),[l,u]=x.useState(!1),f=Je(r,s.onScrollButtonChange);return ft(()=>{if(i.viewport&&i.isPositioned){let p=function(){const g=h.scrollTop>0;u(g)};Ee(p,"handleScroll");const h=i.viewport;return p(),h.addEventListener("scroll",p),()=>h.removeEventListener("scroll",p)}},[i.viewport,i.isPositioned]),l?c.jsx(Ib,{...t,ref:f,onAutoScroll:()=>{const{viewport:p,selectedItem:h}=i;p&&h&&(p.scrollTop=p.scrollTop-h.offsetHeight)}}):null},"SelectScrollUpButton")),fx="SelectScrollDownButton",Ob=x.forwardRef(Ee(function(t,r){const i=po(fx,t.__scopeSelect),s=Qp(fx,t.__scopeSelect),[l,u]=x.useState(!1),f=Je(r,s.onScrollButtonChange);return ft(()=>{if(i.viewport&&i.isPositioned){let p=function(){const g=h.scrollHeight-h.clientHeight,v=Math.ceil(h.scrollTop)<g;u(v)};Ee(p,"handleScroll");const h=i.viewport;return p(),h.addEventListener("scroll",p),()=>h.removeEventListener("scroll",p)}},[i.viewport,i.isPositioned]),l?c.jsx(Ib,{...t,ref:f,onAutoScroll:()=>{const{viewport:p,selectedItem:h}=i;p&&h&&(p.scrollTop=p.scrollTop+h.offsetHeight)}}):null},"SelectScrollDownButton")),Ib=x.forwardRef(Ee(function(t,r){const{__scopeSelect:i,onAutoScroll:s,...l}=t,u=po("SelectScrollButton",i),f=x.useRef(null),p=dc(i),h=x.useCallback(()=>{f.current!==null&&(window.clearInterval(f.current),f.current=null)},[]);return x.useEffect(()=>()=>h(),[h]),ft(()=>{p().find(v=>v.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[p]),c.jsx(pt.div,{"aria-hidden":!0,...l,ref:r,style:{flexShrink:0,...l.style},onPointerDown:Ze(l.onPointerDown,()=>{f.current===null&&(f.current=window.setInterval(s,50))}),onPointerMove:Ze(l.onPointerMove,()=>{u.onItemLeave?.(),f.current===null&&(f.current=window.setInterval(s,50))}),onPointerLeave:Ze(l.onPointerLeave,()=>{h()})})},"SelectScrollButtonImpl")),_b=x.forwardRef(Ee(function(t,r){const{__scopeSelect:i,...s}=t;return c.jsx(pt.div,{"aria-hidden":!0,...s,ref:r})},"SelectSeparator")),cI="SelectBubbleInput",uI=x.forwardRef(Ee(function({__scopeSelect:t,...r},i){const s=Ir(cI,t),{value:l,onValueChange:u,required:f,disabled:p,name:h,autoComplete:g,form:v}=s,{nativeOptions:w,nativeSelectKey:S}=s,j=x.useRef(null),E=Je(i,j),b=l??"",N=mb(b),T=Array.from(w).some(P=>(P.props.value??"")==="");return x.useEffect(()=>{const P=j.current;if(!P)return;const R=window.HTMLSelectElement.prototype,F=Object.getOwnPropertyDescriptor(R,"value").set;if(N!==b&&F){const z=new Event("change",{bubbles:!0});F.call(P,b),P.dispatchEvent(z)}},[N,b]),c.jsxs(pt.select,{"aria-hidden":!0,required:f,tabIndex:-1,name:h,autoComplete:g,disabled:p,form:v,onChange:P=>u(P.target.value),...r,style:{...G3,...r.style},ref:E,defaultValue:b,children:[Hs(l)&&!T?c.jsx("option",{value:""}):null,Array.from(w)]},S)},"SelectBubbleInput"));
58function Lb(e){return typeof e=="function"}Ee(Lb,"isFunction");function Hs(e){return e===""||e===void 0}Ee(Hs,"shouldShowPlaceholder");function Zp(e){const t=Pn(e),r=x.useRef(""),i=x.useRef(0),s=x.useCallback(u=>{const f=r.current+u;t(f),Ee((function p(h){r.current=h,window.clearTimeout(i.current),h!==""&&(i.current=window.setTimeout(()=>p(""),1e3))}),"updateSearch")(f)},[t]),l=x.useCallback(()=>{r.current="",window.clearTimeout(i.current)},[]);return x.useEffect(()=>()=>window.clearTimeout(i.current),[]),[r,s,l]}Ee(Zp,"useTypeaheadSearch");function Jp(e,t,r){const s=t.length>1&&Array.from(t).every(h=>h===t[0])?t[0]:t,l=r?e.indexOf(r):-1;let u=Db(e,Math.max(l,0));s.length===1&&(u=u.filter(h=>h!==r));const p=u.find(h=>h.textValue.toLowerCase().startsWith(s.toLowerCase()));return p!==r?p:void 0}Ee(Jp,"findNextItem");function Db(e,t){return e.map((r,i)=>e[(t+i)%e.length])}Ee(Db,"wrapArray");const Fb=BO,Vb=UO,eh=x.forwardRef(({className:e,children:t,...r},i)=>c.jsxs(Nb,{ref:i,className:$e("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...r,children:[t,c.jsx(HO,{asChild:!0,children:c.jsx(Sw,{className:"h-4 w-4 opacity-50"})})]}));eh.displayName=Nb.displayName;const zb=x.forwardRef(({className:e,...t},r)=>c.jsx(Mb,{ref:r,className:$e("flex cursor-default items-center justify-center py-1",e),...t,children:c.jsx(AR,{className:"h-4 w-4"})}));zb.displayName=Mb.displayName;const Bb=x.forwardRef(({className:e,...t},r)=>c.jsx(Ob,{ref:r,className:$e("flex cursor-default items-center justify-center py-1",e),...t,children:c.jsx(Sw,{className:"h-4 w-4"})}));Bb.displayName=Ob.displayName;const th=x.forwardRef(({className:e,children:t,position:r="popper",...i},s)=>c.jsx(YO,{children:c.jsxs(Tb,{ref:s,className:$e("relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-select-content-transform-origin]",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:r,...i,children:[c.jsx(zb,{}),c.jsx(tI,{className:$e("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),c.jsx(Bb,{})]})}));th.displayName=Tb.displayName;const dI=x.forwardRef(({className:e,...t},r)=>c.jsx(kb,{ref:r,className:$e("px-2 py-1.5 text-sm font-semibold",e),...t}));dI.displayName=kb.displayName;const En=x.forwardRef(({className:e,children:t,...r},i)=>c.jsxs(Ab,{ref:i,className:$e("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...r,children:[c.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:c.jsx(lI,{children:c.jsx(PR,{className:"h-4 w-4"})})}),c.jsx(sI,{children:t})]}));En.displayName=Ab.displayName;const fI=x.forwardRef(({className:e,...t},r)=>c.jsx(_b,{ref:r,className:$e("-mx-1 my-1 h-px bg-muted",e),...t}));fI.displayName=_b.displayName;const pI=()=>{const{toast:e}=zs(),t=r=>{r.preventDefault(),e({title:"Success!",description:"Your inquiry has been submitted. We will get back to you shortly."}),r.target.reset()};return c.jsx("section",{id:"inquiry-section",className:"py-24 bg-zinc-950 text-white relative",children:c.jsxs("div",{className:"container mx-auto px-4 max-w-3xl",children:[c.jsxs(J.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[c.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-4 text-white",children:"Ready to Work With Us?"}),c.jsx("p",{className:"text-xl text-zinc-400",children:"Tell us about your project and how we 
58can collaborate."})]}),c.jsx(J.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"bg-zinc-900 border border-zinc-800 rounded-2xl p-8 shadow-2xl",children:c.jsxs("form",{onSubmit:t,className:"space-y-6",children:[c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[c.jsxs("div",{className:"space-y-2",children:[c.jsx(dn,{htmlFor:"name",className:"text-zinc-300",children:"Name"}),c.jsx(no,{id:"name",required:!0,className:"bg-zinc-950 border-zinc-800 text-white placeholder:text-zinc-600 focus-visible:ring-cyan-500",placeholder:"John Smith"})]}),c.jsxs("div",{className:"space-y-2",children:[c.jsx(dn,{htmlFor:"email",className:"text-zinc-300",children:"Email"}),c.jsx(no,{id:"email",type:"email",required:!0,className:"bg-zinc-950 border-zinc-800 text-white placeholder:text-zinc-600 focus-visible:ring-cyan-500",placeholder:"[email protected]"})]})]}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[c.jsxs("div",{className:"space-y-2",children:[c.jsx(dn,{htmlFor:"company",className:"text-zinc-300",children:"Company / Organization"}),c.jsx(no,{id:"company",className:"bg-zinc-950 border-zinc-800 text-white placeholder:text-zinc-600 focus-visible:ring-cyan-500",placeholder:"Your Company"})]}),c.jsxs("div",{className:"space-y-2",children:[c.jsx(dn,{htmlFor:"service",className:"text-zinc-300",children:"Service Interest"}),c.jsxs(Fb,{required:!0,children:[c.jsx(eh,{className:"bg-zinc-950 border-zinc-800 text-white focus:ring-cyan-500",children:c.jsx(Vb,{placeholder:"Select a service"})}),c.jsxs(th,{className:"bg-zinc-900 border-zinc-800 text-white",children:[c.jsx(En,{value:"video",children:"Video Production"}),c.jsx(En,{value:"podcast",children:"Podcast Production"}),c.jsx(En,{value:"social",children:"Social Media"}),c.jsx(En,{value:"event",children:"Event Coverage"}),c.jsx(En,{value:"consulting",children:"Consulting"})]})]})]})]}),c.jsxs("div",{className:"space-y-2",children:[c.jsx(dn,{htmlFor:"message",className:"text-zinc-300",children:"Message Details"}),c.jsx(_p,{id:"message",required:!0,className:"bg-zinc-950 border-zinc-800 text-white placeholder:text-zinc-600 min-h-[120px] focus-visible:ring-cyan-500",placeholder:"Tell us about your project goals and timeline..."})]}),c.jsx(Re,{type:"submit",className:"w-full bg-cyan-500 hover:bg-cyan-400 text-zinc-950 font-bold text-lg py-6 shadow-[0_0_15px_rgba(34,211,238,0.3)]",children:"Book a Discovery Call"})]})})]})})},hI=()=>c.jsxs(c.Fragment,{children:[c.jsxs(Gn,{children:[c.jsx("title",{children:"Recovery Stories & Resources for Greenville MI & Ionia Communities | Sober Not Boring"}),c.jsx("meta",{name:"description",content:"Discover inspiring recovery stories, professional media resources, and prevention tools for communities in Greenville MI, Ionia, and Montcalm County."}),c.jsx("meta",{property:"og:title",content:"Recovery Stories & Resources for Greenville MI & Ionia Communities"}),c.jsx("meta",{property:"og:description",content:"Discover inspiring recovery stories, professional media resources, and prevention tools for communities in Greenville MI, Ionia, and Montcalm County."}),c.jsx("meta",{property:"og:url",content:"https://www.soberevents.us/media"})]}),c.jsxs("div",{className:"min-h-screen flex flex-col bg-zinc-950",children:[c.jsx(hi,{}),c.jsxs("main",{className:"flex-grow",children:[c.jsx(hM,{}),c.jsx(mM,{}),c.jsx(yM,{}),c.jsx(wM,{}),c.jsx(bM,{}),c.jsx(CM,{}),c.jsx(EM,{}),c.jsx(pI,{})]}),c.jsx(mi,{}),c.jsx(Bs,{})]})]}),mI=()=>{const{toast:e}
58=zs(),[t,r]=x.useState(!1),[i,s]=x.useState({name:"",email:"",phone:"",inquiryType:"",message:""}),[l,u]=x.useState({}),f=()=>{const h={};return i.name.trim()||(h.name="Name is required"),(!i.email.trim()||!/^\S+@\S+\.\S+$/.test(i.email))&&(h.email="Valid email is required"),i.inquiryType||(h.inquiryType="Please select an inquiry type"),i.message.trim()||(h.message="Message is required"),h},p=async h=>{h.preventDefault();const g=f();if(Object.keys(g).length>0){u(g);return}u({}),r(!0),setTimeout(()=>{r(!1),e({title:"Message Sent Successfully!",description:"Thank you for reaching out. We will forward this to [email protected] and get back to you soon."}),s({name:"",email:"",phone:"",inquiryType:"",message:""})},1500)};return c.jsxs("section",{className:"relative py-24",children:[c.jsx("div",{className:"absolute inset-0 bg-cover bg-center bg-no-repeat",style:{backgroundImage:"url('https://images.unsplash.com/photo-1693045181224-9fc2f954f054?q=80&w=2000')"}}),c.jsx("div",{className:"absolute inset-0 bg-black/70 backdrop-blur-sm z-10"}),c.jsx("div",{className:"relative z-20 container mx-auto px-4 sm:px-6 lg:px-8",children:c.jsx("div",{className:"max-w-3xl mx-auto bg-white/5 backdrop-blur-md rounded-2xl shadow-2xl border border-white/20 overflow-hidden",children:c.jsxs("div",{className:"p-8 sm:p-12",children:[c.jsxs(J.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-8",children:[c.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-white mb-4",children:"Get in Touch"}),c.jsx("p",{className:"text-white/80 text-lg",children:"Have questions or want to partner with us? Fill out the form below."})]}),c.jsxs("form",{onSubmit:p,className:"space-y-6",children:[c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[c.jsxs("div",{className:"space-y-2",children:[c.jsxs(dn,{htmlFor:"name",className:"text-white",children:["Name ",c.jsx("span",{className:"text-red-400",children:"*"})]}),c.jsx(no,{id:"name",placeholder:"John Smith",value:i.name,onChange:h=>s({...i,name:h.target.value}),className:"bg-white text-gray-900 border-white/30 focus:border-primary"}),l.name&&c.jsx("p",{className:"text-red-400 text-sm",children:l.name})]}),c.jsxs("div",{className:"space-y-2",children:[c.jsxs(dn,{htmlFor:"email",className:"text-white",children:["Email ",c.jsx("span",{className:"text-red-400",children:"*"})]}),c.jsx(no,{id:"email",type:"email",placeholder:"[email protected]",value:i.email,onChange:h=>s({...i,email:h.target.value}),className:"bg-white text-gray-900 border-white/30 focus:border-primary"}),l.email&&c.jsx("p",{className:"text-red-400 text-sm",children:l.email})]})]}),c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[c.jsxs("div",{className:"space-y-2",children:[c.jsx(dn,{htmlFor:"phone",className:"text-white",children:"Phone (Optional)"}),c.jsx(no,{id:"phone",type:"tel",placeholder:"(555) 123-4567",value:i.phone,onChange:h=>s({...i,phone:h.target.value}),className:"bg-white text-gray-900 border-white/30 focus:border-primary"})]}),c.jsxs("div",{className:"space-y-2",children:[c.jsxs(dn,{htmlFor:"inquiryType",className:"text-white",children:["Inquiry Type ",c.jsx("span",{className:"text-red-400",children:"*"})]}),c.jsxs(Fb,{value:i.inquiryType,onValueChange:h=>s({...i,inquiryType:h}),children:[c.jsx(eh,{className:"bg-white text-gray-900 border-white/30",children:c.jsx(Vb,{placeholder:"Select an option"})}),c.jsxs(th,{children:[c.jsx(En,{value:"General Inquiry",children:"General Inquiry"}),c.jsx(En,{value:"Event Updates",children:"Event Updates"}),c.jsx(En,{value:"Partnership",children:"Partnership"}),c.jsx(En,{value:"Other",children:"Other"})]})]}),l.inquiryType&&c.jsx("p",{className:"text-red-400 text-sm",children:l.inquiryType})]})]}),c.jsxs("div",{className:"space-y-2",children:[c.jsxs(dn,{htmlFor:"message",className:"text-white",children:["Message ",c.jsx("span",{className:"text-red-400",children:"*"})]}),c.jsx(_p,{id:"message",placeholder:"How can we help you?",rows:5,value:i.message,onChange:h=>s({...i,message:h.target.value}),className:"bg-white text-gray-900 border-white/30 focus:border-primary resize-none"}),l.message&&c.jsx("p",{className:"text-red-400 text-sm",children:l.message})]}),c.jsx(Re,{type:"submit",disabled:t,className:"w-full bg-primary hover:bg-primary/90 text-white font-bold py-6 text-lg transition-all",children:t?c.jsxs(c.Fragment,{children:[c.jsx($R,{className:"mr-2 h-5 w-5 animate-spin"})," Sending..."]}):c.jsxs(c.Fragment,{children:[c.jsx(GR,{className:"mr-2 h-5 w-5"})," Send Message"]})})]})]})})})]})},gI=()=>{const e=[{icon:Tw,label:"Raffle Tickets"},{icon:Yn,label:"Community Impact"},{icon:JR,label:"Meals & Nutrition"}
58,{icon:NR,label:"Transportation Support"},{icon:FR,label:"Recovery Services"},{icon:Np,label:"Fundraising"}],t={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1}}},r={hidden:{opacity:0,y:20},visible:{opacity:1,y:0}};return c.jsxs("section",{className:"py-20 md:py-28 bg-raffle-cream bg-wood-texture relative overflow-hidden",children:[c.jsx("div",{className:"absolute top-0 left-0 w-full h-1 bg-raffle-gold opacity-50"}),c.jsx("div",{className:"absolute bottom-0 left-0 w-full h-1 bg-raffle-earth opacity-50"}),c.jsx("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:c.jsxs("div",{className:"flex flex-col lg:flex-row gap-12 lg:gap-16 items-center max-w-7xl mx-auto",children:[c.jsxs(J.div,{initial:{opacity:0,x:-40},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},className:"w-full lg:w-1/2 flex flex-col items-center gap-6",children:[c.jsxs("div",{className:"relative rounded-2xl overflow-hidden shadow-2xl border-4 border-white group w-full max-w-md",children:[c.jsx("div",{className:"absolute inset-0 bg-raffle-earth/10 opacity-0 group-hover:opacity-100 transition-opacity duration-300 pointer-events-none z-10"}),c.jsx("img",{src:"https://horizons-cdn.hostinger.com/2e0a0993-347d-46d4-a97c-b7a6035af4ed/063582f44c900d27444ccda223e3c73d.png",alt:"Half Hog Raffle Main Flyer",className:"w-full h-auto object-contain transition-transform duration-700 group-hover:scale-[1.02]"})]}),c.jsxs("div",{className:"grid grid-cols-2 gap-4 w-full max-w-md",children:[c.jsx("div",{className:"relative rounded-xl overflow-hidden shadow-lg border-2 border-white/80 group",children:c.jsx("img",{src:"https://horizons-cdn.hostinger.com/2e0a0993-347d-46d4-a97c-b7a6035af4ed/f71e6fed9b0792f5ab54cf03e78e9bfd.png",alt:"5-Ticket Bundle Promotion",className:"w-full h-auto object-contain transition-transform duration-500 group-hover:scale-105"})}),c.jsx("div",{className:"relative rounded-xl overflow-hidden shadow-lg border-2 border-white/80 group",children:c.jsx("img",{src:"https://horizons-cdn.hostinger.com/2e0a0993-347d-46d4-a97c-b7a6035af4ed/f82a8f2fe36a64f8d0493d97a3a66193.png",alt:"15-Ticket Bundle Promotion",className:"w-full h-auto object-contain transition-transform duration-500 group-hover:scale-105"})})]})]}),c.jsxs("div",{className:"w-full lg:w-1/2 flex flex-col justify-center",children:[c.jsxs(J.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[c.jsxs("h2",{className:"text-4xl sm:text-5xl lg:text-6xl font-extrabold text-foreground mb-4 tracking-tight leading-tight",children:["Support Recovery. ",c.jsx("br",{}),c.jsx("span",{className:"text-raffle-red",children:"Win Big."})," ",c.jsx("br",{}),"Change Lives."]}),c.jsx("p",{className:"text-xl md:text-2xl font-bold text-raffle-earth mb-4",children:"100% of raffle proceeds support year-round recovery services and direct outreach."}),c.jsxs("div",{className:"bg-white/80 backdrop-blur-sm border border-raffle-gold/30 rounded-xl p-5 mb-8 shadow-sm",children:[c.jsxs("p",{className:"text-lg text-foreground font-semibold flex items-center gap-3",children:[c.jsx("span",{className:"flex items-center justify-center bg-raffle-gold/20 text-raffle-earth w-10 h-10 rounded-full",children:c.jsx(Yn,{className:"w-5 h-5"})}),"Serving 250+ people weekly with critical lifelines."]}),c.jsx("p",{className:"text-muted-foreground mt-2 text-sm ml-13",children:"Your participation builds a 
58stronger, healthier community. Every ticket sold is an investment in someone's recovery journey."})]})]}),c.jsx(J.div,{variants:t,initial:"hidden",whileInView:"visible",viewport:{once:!0},className:"grid grid-cols-2 sm:grid-cols-3 gap-4 mb-10",children:e.map((i,s)=>c.jsxs(J.div,{variants:r,className:"flex flex-col items-center justify-center p-4 bg-white/60 border border-white rounded-xl shadow-sm hover:shadow-md hover:-translate-y-1 transition-all text-center",children:[c.jsx(i.icon,{className:"w-7 h-7 text-raffle-earth mb-2"}),c.jsx("span",{className:"text-sm font-bold text-foreground",children:i.label})]},s))}),c.jsxs(J.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.4},className:"flex flex-col sm:flex-row gap-4 items-start sm:items-center",children:[c.jsx(Re,{asChild:!0,size:"lg",className:"w-full sm:w-auto bg-raffle-red hover:bg-raffle-red/90 text-white font-extrabold text-lg px-8 py-7 rounded-xl shadow-lg transition-transform hover:scale-105 group",children:c.jsxs("a",{href:"https://www.outreach419.com/shop",target:"_blank",rel:"noopener noreferrer",children:["Get Tickets Now",c.jsx(Fs,{className:"ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform"})]})}),c.jsx(Re,{asChild:!0,size:"lg",variant:"outline",className:"w-full sm:w-auto border-2 border-raffle-earth text-raffle-earth hover:bg-raffle-earth hover:text-white font-bold text-lg px-8 py-7 rounded-xl transition-all duration-300",children:c.jsx("a",{href:"#donation-section",children:"Learn More About Our Impact"})})]})]})]})})]})},vI=()=>c.jsxs(c.Fragment,{children:[c.jsxs(Gn,{children:[c.jsx("title",{children:"Support & Donations for Greenville MI Addiction Recovery | Sober Events"}),c.jsx("meta",{name:"description",content:"Help expand local support options and make a lasting community impact. Donate to support addiction recovery in Greenville MI, Ionia, and Montcalm County."}),c.jsx("meta",{property:"og:title",content:"Support & Donations for Greenville MI Addiction Recovery"}),c.jsx("meta",{property:"og:description",content:"Help expand local support options and make a lasting community impact. Donate to support addiction recovery in Greenville MI, Ionia, and Montcalm County."}),c.jsx("meta",{property:"og:url",content:"https://www.soberevents.us/support"})]}),c.jsxs("div",{className:"min-h-screen flex flex-col bg-background",children:[c.jsx(hi,{}),c.jsxs("main",{className:"flex-grow pt-24",children:[c.jsx("section",{className:"py-12 bg-muted/30 border-b border-border/50",children:c.jsx("div",{className:"container mx-auto px-4",children:c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:[c.jsxs("div",{className:"flex items-start gap-4",children:[c.jsx("div",{className:"bg-primary/10 p-3 rounded-xl text-primary",children:c.jsx(uo,{className:"w-6 h-6"})}),c.jsxs("div",{children:[c.jsx("h3",{className:"font-bold text-foreground",children:"Our Location"}),c.jsxs("p",{className:"text-muted-foreground text-sm",children:["235 W Fenwick Rd",c.jsx("br",{}),"Fenwick, MI 48834"]})]})]}),c.jsxs("div",{className:"flex items-start gap-4",children:[c.jsx("div",{className:"bg-primary/10 p-3 rounded-xl text-primary",children:c.jsx(Vs,{className:"w-6 h-6"})}),c.jsxs("div",{children:[c.jsx("h3",{className:"font-bold text-foreground",children:"Center Hours"}),c.jsxs("p",{className:"text-muted-foreground text-sm",children:["M-F: 10am - 8pm",c.jsx("br",{}),"Sat: 11am-7pm | Sun: 10am-3pm"]})]})]}),c.jsxs("div",{className:"flex items-start gap-4",children:[c.jsx("div",{className:"bg-primary/10 p-3 rounded-xl text-primary",children:c.jsx(Tp,{className:"w-6 h-6"})}),c.jsxs("div",{children:[c.jsx("h3",{className:"font-bold text-foreground",children:"Phone"}),c.jsx("p",{className:"text-muted-foreground text-sm",children:"Contact via app or email"})]})]}),c.jsxs("div",{className:"flex items-start gap-4",children:[c.jsx("div",{className:"bg-primary/10 p-3 rounded-xl text-primary",children:c.jsx(si,{className:"w-6 h-6"})}),c.jsxs("div",{children:[c.jsx("h3",{className:"font-bold text-foreground",children:"Email"}),c.jsx("p",{className:"text-muted-foreground text-sm",children:"[email protected]"})]})]})]})})}),c.jsx(Rw,{}),c.jsx(gI,{}),c.jsx(kw,{}),c.jsx(mI,{})]}),c.jsx(mi,{}),c.jsx(Bs,{})]})]}),yI=()=>(x.useEffect(()=>{const e=t=>{if(t&&t.data&&t.data.type==="se-glasses-height"){const r=document.getElementById("glasses-frame");r&&t.data.height&&(r.style.height=t.data.height+"px")}};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[]),c.jsxs(c.Fragment,{children:[c.jsxs(Gn,{children:[c.jsx("title",{children:"Free Meta AI Glasses for Blind & Low-Vision Veterans"}),c.jsx("meta",{name:"description",content:"Sober Events is helping eligible blind and low-vision U.S. veterans get free Ray-Ban Meta AI glasses through a national initiative with Meta and the Blinded Veterans Association. Refer a veteran or request an event."}),c.jsx("meta",{property:"og:title",content:"Free Meta AI Glasses for Blind & Low-Vision Veterans"}),c.jsx("meta",{property:"og:description",content:"Sober Events is helping eligible blind and low-vision U.S. veterans get free Ray-Ban Meta AI glasses through a national initiative with Meta and the Blinded Veterans Association. Refer a veteran or request an event."}),c.jsx("meta",{property:"og:image",content:"https://horizons-cdn.hostinger.com/2e0a0993-347d-46d4-a97c-b7a6035af4ed/cff7d7aaf17d395ed6ca1de4bf5dcca5.jpg"}),c.jsx("meta",{property:"og:url",content:"https://www.soberevents.us/communityservice"})]}),c.jsxs("div",{className:"min-h-screen flex flex-col bg-background",children:[c.jsx(hi,{}),c.jsxs("main",{className:"flex-grow pt-24 w-full flex flex-col",children:[c.jsx("section",{className:"w-full",children:c.jsx("iframe",{id:"glasses-frame",src:"https://communityservice.soberevents.us/",t
58itle:"Free Meta AI Glasses for Blind & Low-Vision Veterans",style:{width:"100%",border:"0",display:"block",minHeight:"640px"},scrolling:"no",loading:"lazy"})}),c.jsx("section",{className:"w-full py-16 md:py-24 bg-muted/30 border-y border-border",children:c.jsx("div",{className:"container mx-auto px-4 max-w-5xl",children:c.jsxs(J.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"flex flex-col items-center",children:[c.jsxs("div",{className:"text-center mb-10",children:[c.jsx("span",{className:"inline-block px-4 py-1.5 rounded-full bg-primary/10 text-primary text-sm font-bold tracking-wider uppercase mb-4",children:"Program Details"}),c.jsx("h2",{className:"text-3xl md:text-4xl font-extrabold text-foreground tracking-tight",children:"Program Information & Eligibility"})]}),c.jsx("div",{className:"w-full rounded-2xl overflow-hidden shadow-2xl border-4 border-white dark:border-zinc-800 bg-white dark:bg-zinc-900 group",children:c.jsx("img",{src:"https://horizons-cdn.hostinger.com/2e0a0993-347d-46d4-a97c-b7a6035af4ed/1c6f343f2215cd251741efe201c5de0a.png",alt:"Meta AI Glasses flyer for blind and low-vision veterans showing Ray-Ban Meta AI glasses, eligibility requirements, and features",className:"w-full h-auto object-contain transition-transform duration-500 group-hover:scale-[1.01]",loading:"lazy"})}),c.jsx("p",{className:"mt-8 text-center text-muted-foreground text-sm font-medium italic",children:"*Refer to the flyer above for specific eligibility requirements and program features."})]})})})]}),c.jsx(mi,{})]})]}));function xI(){return c.jsxs(mE,{children:[c.jsx(NE,{}),c.jsxs(HC,{children:[c.jsx(Er,{path:"/",element:c.jsx(nM,{})}),c.jsx(Er,{path:"/events",element:c.jsx(iM,{})}),c.jsx(Er,{path:"/outreach",element:c.jsx($y,{})}),c.jsx(Er,{path:"/outreach-419",element:c.jsx($y,{})}),c.jsx(Er,{path:"/media",element:c.jsx(hI,{})}),c.jsx(Er,{path:"/support",element:c.jsx(vI,{})}),c.jsx(Er,{path:"/communityservice",element:c.jsx(yI,{})})]})]})}G2.createRoot(document.getElementById("root")).render(c.jsx(xI,{}));

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.