PageSourceSearch

https://prompthulk.com/assets/index-CLtElfg9.js

js prompthulk.com collected 2026-09-24 14:50:26 UTC 452,048 bytes, 15 lines download raw bytes

vendor: 5,434 bytes, line 1
1function R0(t,r){for(var o=0;o<r.length;o++){const s=r[o];if(typeof s!="string"&&!Array.isArray(s)){for(const a in s)if(a!=="default"&&!(a in t)){const u=Object.getOwnPropertyDescriptor(s,a);u&&Object.defineProperty(t,a,u.get?u:{enumerable:!0,get:()=>s[a]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))s(a);new MutationObserver(a=>{for(const u of a)if(u.type==="childList")for(const c of u.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&s(c)}).observe(document,{childList:!0,subtree:!0});function o(a){const u={};return a.integrity&&(u.integrity=a.integrity),a.referrerPolicy&&(u.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?u.credentials="include":a.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function s(a){if(a.ep)return;a.ep=!0;const u=o(a);fetch(a.href,u)}})();function Fn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Cu={exports:{}},Si={},Pu={exports:{}},ge={};var fh;function A0(){if(fh)return ge;fh=1;var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),y=Symbol.iterator;function w(R){return R===null||typeof R!="object"?null:(R=y&&R[y]||R["@@iterator"],typeof R=="function"?R:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,P={};function T(R,I,G){this.props=R,this.context=I,this.refs=P,this.updater=G||b}T.prototype.isReactComponent={},T.prototype.setState=function(R,I){if(typeof R!="object"&&typeof R!="function"&&R!=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,R,I,"setState")},T.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function A(){}A.prototype=T.prototype;function D(R,I,G){this.props=R,this.context=I,this.refs=P,this.updater=G||b}var _=D.prototype=new A;_.constructor=D,E(_,T.prototype),_.isPureReactComponent=!0;var O=Array.isArray,H=Object.prototype.hasOwnProperty,X={current:null},ae={key:!0,ref:!0,__self:!0,__source:!0};function Y(R,I,G){var ne,re={},fe=null,xe=null;if(I!=null)for(ne in I.ref!==void 0&&(xe=I.ref),I.key!==void 0&&(fe=""+I.key),I)H.call(I,ne)&&!ae.hasOwnProperty(ne)&&(re[ne]=I[ne]);var oe=arguments.length-2;if(oe===1)re.children=G;else if(1<oe){for(var Te=Array(oe),Ze=0;Ze<oe;Ze++)Te[Ze]=arguments[Ze+2];re.children=Te}if(R&&R.defaultProps)for(ne in oe=R.defaultProps,oe)re[ne]===void 0&&(re[ne]=oe[ne]);return{$$typeof:t,type:R,key:fe,ref:xe,props:re,_owner:X.current}}function ye(R,I){return{$$typeof:t,type:R.type,key:I,ref:R.ref,props:R.props,_owner:R._owner}}function ve(R){return typeof R=="object"&&R!==null&&R.$$typeof===t}function Le(R){var I={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(G){return I[G]})}var de=/\/+/g;function be(R,I){return typeof R=="object"&&R!==null&&R.key!=null?Le(""+R.key):I.toString(36)}function Ce(R,I,G,ne,re){var fe=typeof R;(fe==="undefined"||fe==="boolean")&&(R=null);var xe=!1;if(R===null)xe=!0;else switch(fe){case"string":case"number":xe=!0;break;case"object":switch(R.$$typeof){case t:case r:xe=!0}}if(xe)return xe=R,re=re(xe),R=ne===""?"."+be(xe,0):ne,O(re)?(G="",R!=null&&(G=R.replace(de,"$&/")+"/"),Ce(re,I,G,"",function(Ze){return Ze})):re!=null&&(ve(re)&&(re=ye(re,G+(!re.key||xe&&xe.key===re.key?"":(""+re.key).replace(de,"$&/")+"/")+R)),I.push(re)),1;if(xe=0,ne=ne===""?".":ne+":",O(R))for(var oe=0;oe<R.length;oe++){fe=R[oe];var Te=ne+be(fe,oe);xe+=Ce(fe,I,G,Te,re)}else if(Te=w(R),typeof Te=="function")for(R=Te.call(R),oe=0;!(fe=R.next()).done;)fe=fe.value,Te=ne+be(fe,oe++),xe+=Ce(fe,I,G,Te,re);else if(fe==="object")throw I=String(R),Error("Objects are not valid as a React child (found: "+(I==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":I)+"). If you meant to render a collection of children, use an array instead.");return xe}function ke(R,I,G){if(R==null)return R;var ne=[],re=0;return Ce(R,ne,"","",function(fe){return I.call(G,fe,re++)}),ne}function ue(R){if(R._status===-1){var I=R._result;I=I(),I.then(function(G){(R._status===0||R._status===-1)&&(R._status=1,R._result=G)},function(G){(R._status===0||R._status===-1)&&(R._status=2,R._result=G)}),R._status===-1&&(R._status=0,R._result=I)}if(R._status===1)return R._result.default;throw R._result}var te={current:null},B={transition:null},q={ReactCurrentDispatcher:te,ReactCurrentBatchConfig:B,ReactCurrentOwner:X};function W(){throw Error("act(...) is not supported in production builds of React.")}return ge.Children={map:ke,forEach:function(R,I,G){ke(R,function(){I.apply(this,arguments)},G)},count:function(R){var I=0;return ke(R,function(){I++}),I},toArray:function(R){return ke(R,function(I){return I})||[]},only:function(R){if(!ve(R))throw Error("React.Children.only expected to receive a single React element child.");return R}}
vendor: 5,868 bytes, line 1
1,ge.Component=T,ge.Fragment=o,ge.Profiler=a,ge.PureComponent=D,ge.StrictMode=s,ge.Suspense=p,ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=q,ge.act=W,ge.cloneElement=function(R,I,G){if(R==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+R+".");var ne=E({},R.props),re=R.key,fe=R.ref,xe=R._owner;if(I!=null){if(I.ref!==void 0&&(fe=I.ref,xe=X.current),I.key!==void 0&&(re=""+I.key),R.type&&R.type.defaultProps)var oe=R.type.defaultProps;for(Te in I)H.call(I,Te)&&!ae.hasOwnProperty(Te)&&(ne[Te]=I[Te]===void 0&&oe!==void 0?oe[Te]:I[Te])}var Te=arguments.length-2;if(Te===1)ne.children=G;else if(1<Te){oe=Array(Te);for(var Ze=0;Ze<Te;Ze++)oe[Ze]=arguments[Ze+2];ne.children=oe}return{$$typeof:t,type:R.type,key:re,ref:fe,props:ne,_owner:xe}},ge.createContext=function(R){return R={$$typeof:c,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},R.Provider={$$typeof:u,_context:R},R.Consumer=R},ge.createElement=Y,ge.createFactory=function(R){var I=Y.bind(null,R);return I.type=R,I},ge.createRef=function(){return{current:null}},ge.forwardRef=function(R){return{$$typeof:f,render:R}},ge.isValidElement=ve,ge.lazy=function(R){return{$$typeof:v,_payload:{_status:-1,_result:R},_init:ue}},ge.memo=function(R,I){return{$$typeof:g,type:R,compare:I===void 0?null:I}},ge.startTransition=function(R){var I=B.transition;B.transition={};try{R()}finally{B.transition=I}},ge.unstable_act=W,ge.useCallback=function(R,I){return te.current.useCallback(R,I)},ge.useContext=function(R){return te.current.useContext(R)},ge.useDebugValue=function(){},ge.useDeferredValue=function(R){return te.current.useDeferredValue(R)},ge.useEffect=function(R,I){return te.current.useEffect(R,I)},ge.useId=function(){return te.current.useId()},ge.useImperativeHandle=function(R,I,G){return te.current.useImperativeHandle(R,I,G)},ge.useInsertionEffect=function(R,I){return te.current.useInsertionEffect(R,I)},ge.useLayoutEffect=function(R,I){return te.current.useLayoutEffect(R,I)},ge.useMemo=function(R,I){return te.current.useMemo(R,I)},ge.useReducer=function(R,I,G){return te.current.useReducer(R,I,G)},ge.useRef=function(R){return te.current.useRef(R)},ge.useState=function(R){return te.current.useState(R)},ge.useSyncExternalStore=function(R,I,G){return te.current.useSyncExternalStore(R,I,G)},ge.useTransition=function(){return te.current.useTransition()},ge.version="18.3.1",ge}var ph;function Oa(){return ph||(ph=1,Pu.exports=A0()),Pu.exports}var hh;function N0(){if(hh)return Si;hh=1;var t=Oa(),r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function c(f,p,g){var v,y={},w=null,b=null;g!==void 0&&(w=""+g),p.key!==void 0&&(w=""+p.key),p.ref!==void 0&&(b=p.ref);for(v in p)s.call(p,v)&&!u.hasOwnProperty(v)&&(y[v]=p[v]);if(f&&f.defaultProps)for(v in p=f.defaultProps,p)y[v]===void 0&&(y[v]=p[v]);return{$$typeof:r,type:f,key:w,ref:b,props:y,_owner:a.current}}return Si.Fragment=o,Si.jsx=c,Si.jsxs=c,Si}var mh;function M0(){return mh||(mh=1,Cu.exports=N0()),Cu.exports}var h=M0(),k=Oa();const $=Fn(k),L0=R0({__proto__:null,default:$},[k]);var ca={},ju={exports:{}},St={},Ru={exports:{}},Au={};var gh;function D0(){return gh||(gh=1,(function(t){function r(B,q){var W=B.length;B.push(q);e:for(;0<W;){var R=W-1>>>1,I=B[R];if(0<a(I,q))B[R]=q,B[W]=I,W=R;else break e}}function o(B){return B.length===0?null:B[0]}function s(B){if(B.length===0)return null;var q=B[0],W=B.pop();if(W!==q){B[0]=W;e:for(var R=0,I=B.length,G=I>>>1;R<G;){var ne=2*(R+1)-1,re=B[ne],fe=ne+1,xe=B[fe];if(0>a(re,W))fe<I&&0>a(xe,re)?(B[R]=xe,B[fe]=W,R=fe):(B[R]=re,B[ne]=W,R=ne);else if(fe<I&&0>a(xe,W))B[R]=xe,B[fe]=W,R=fe;else break e}}return q}function a(B,q){var W=B.sortIndex-q.sortIndex;return W!==0?W:B.id-q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var c=Date,f=c.now();t.unstable_now=function(){return c.now()-f}}var p=[],g=[],v=1,y=null,w=3,b=!1,E=!1,P=!1,T=typeof setTimeout=="function"?setTimeout:null,A=typeof clearTimeout=="function"?clearTimeout:null,D=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function _(B){for(var q=o(g);q!==null;){if(q.callback===null)s(g);else if(q.startTime<=B)s(g),q.sortIndex=q.expirationTime,r(p,q);else break;q=o(g)}}function O(B){if(P=!1,_(B),!E)if(o(p)!==null)E=!0,ue(H);else{var q=o(g);q!==null&&te(O,q.startTime-B)}}function H(B,q){E=!1,P&&(P=!1,A(Y),Y=-1),b=!0;var W=w;try{for(_(q),y=o(p);y!==null&&(!(y.expirationTime>q)||B&&!Le());){var R=y.callback;if(typeof R=="function"){y.callback=null,w=y.priorityLevel;var I=R(y.expirationTime<=q);q=t.unstable_now(),typeof I=="function"?y.callback=I:y===o(p)&&s(p),_(q)}else s(p);y=o(p)}if(y!==null)var G=!0;else{var ne=o(g);ne!==null&&te(O,ne.startTime-q),G=!1}return G}finally{y=null,w=W,b=!1}}var X=!1,ae=null,Y=-1,ye=5,ve=-1;function Le(){return!(t.unstable_now()-ve<ye)}function de(){if(ae!==null){var B=t.unstable_now();ve=B;var q=!0;try{q=ae(!0,B)}finally{q?be():(X=!1,ae=null)}}else X=!1}var be;if(typeof D=="function")be=function(){D(de)};else if(typeof MessageChannel<"u"){var Ce=new MessageChannel,ke=Ce.port2;Ce.port1.onmessage=de,be=function(){ke.postMessage(null)}}else be=function(){T(de,0)};function ue(B){ae=B,X||(X=!0,be())}function te(B,q){Y=T(function(){B(t.unstable_now())},q)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(B){B.
vendor: 50,539 bytes, lines 1-6
1callback=null},t.unstable_continueExecution=function(){E||b||(E=!0,ue(H))},t.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ye=0<B?Math.floor(1e3/B):5},t.unstable_getCurrentPriorityLevel=function(){return w},t.unstable_getFirstCallbackNode=function(){return o(p)},t.unstable_next=function(B){switch(w){case 1:case 2:case 3:var q=3;break;default:q=w}var W=w;w=q;try{return B()}finally{w=W}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(B,q){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var W=w;w=B;try{return q()}finally{w=W}},t.unstable_scheduleCallback=function(B,q,W){var R=t.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?R+W:R):W=R,B){case 1:var I=-1;break;case 2:I=250;break;case 5:I=1073741823;break;case 4:I=1e4;break;default:I=5e3}return I=W+I,B={id:v++,callback:q,priorityLevel:B,startTime:W,expirationTime:I,sortIndex:-1},W>R?(B.sortIndex=W,r(g,B),o(p)===null&&B===o(g)&&(P?(A(Y),Y=-1):P=!0,te(O,W-R))):(B.sortIndex=I,r(p,B),E||b||(E=!0,ue(H))),B},t.unstable_shouldYield=Le,t.unstable_wrapCallback=function(B){var q=w;return function(){var W=w;w=q;try{return B.apply(this,arguments)}finally{w=W}}}})(Au)),Au}var yh;function _0(){return yh||(yh=1,Ru.exports=D0()),Ru.exports}var vh;function O0(){if(vh)return St;vh=1;var t=Oa(),r=_0();function o(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,i=1;i<arguments.length;i++)n+="&args[]="+encodeURIComponent(arguments[i]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=new Set,a={};function u(e,n){c(e,n),c(e+"Capture",n)}function c(e,n){for(a[e]=n,e=0;e<n.length;e++)s.add(n[e])}var f=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p=Object.prototype.hasOwnProperty,g=/^[: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]*$/,v={},y={};function w(e){return p.call(y,e)?!0:p.call(v,e)?!1:g.test(e)?y[e]=!0:(v[e]=!0,!1)}function b(e,n,i,l){if(i!==null&&i.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return l?!1:i!==null?!i.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function E(e,n,i,l){if(n===null||typeof n>"u"||b(e,n,i,l))return!0;if(l)return!1;if(i!==null)switch(i.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function P(e,n,i,l,d,m,x){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=l,this.attributeNamespace=d,this.mustUseProperty=i,this.propertyName=e,this.type=n,this.sanitizeURL=m,this.removeEmptyString=x}var T={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){T[e]=new P(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];T[n]=new P(n,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){T[e]=new P(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){T[e]=new P(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){T[e]=new P(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){T[e]=new P(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){T[e]=new P(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){T[e]=new P(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){T[e]=new P(e,5,!1,e.toLowerCase(),null,!1,!1)});var A=/[\-:]([a-z])/g;function D(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(A,D);T[n]=new P(n,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(A,D);T[n]=new P(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(A,D);T[n]=new P(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){T[e]=new P(e,1,!1,e.toLowerCase(),null,!1,!1)}),T.xlinkHref=new P("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){T[e]=new P(e,1,!1,e.toLowerCase(),null,!0,!0)});function _(e,n,i,l){var d=T.hasOwnProperty(n)?T[n]:null;(d!==null?d.type!==0:l||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(E(n,i,d,l)&&(i=null),l||d===null?w(n)&&(i===null?e.removeAttribute(n):e.setAttribute(n,""+i)):d.mustUseProperty?e[d.propertyName]=i===null?d.type===3?!1:"":i:(n=d.attributeName,l=d.attributeNamespace,i===null?e.removeAttribute(n):(d=d.type,i=d===3||d===4&&i===!0?"":""+i,l?e.setAttributeNS(l,n,i):e.setAttribute(n,i))))}var O=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,H=Symbol.for("react.element"),X=Symbol.for("react.portal"),ae=Symbol.for("react.fragment"),Y=Symbol.for("react.strict_mode"),ye=Symbol.for("react.profiler"),ve=Symbol.for("react.provider"),Le=Symbol.for("react.context"),de=Symbol.for("react.forward_ref"),be=Symbol.for("react.suspense"),Ce=Symbol.for("react.suspense_list"),ke=Symbol.for("react.memo"),ue=Symbol.for("react.lazy"),te=Symbol.for("react.offscreen"),B=Symbol.iterator;function q(e){return e===null||typeof e!="object"?null:(e=B&&e[B]||e["@@iterator"],typeof e=="function"?e:null)}var W=Object.assign,R;function I(e){if(R===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);R=n&&n[1]||""}return`
2`+R+e}var G=!1;function ne(e,n){if(!e||G)return"";G=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(L){var l=L}Reflect.construct(e,[],n)}else{try{n.call()}catch(L){l=L}e.call(n.prototype)}else{try{throw Error()}catch(L){l=L}e()}}catch(L){if(L&&l&&typeof L.stack=="string"){for(var d=L.stack.split(`
3`),m=l.stack.split(`
4`),x=d.length-1,S=m.length-1;1<=x&&0<=S&&d[x]!==m[S];)S--;for(;1<=x&&0<=S;x--,S--)if(d[x]!==m[S]){if(x!==1||S!==1)do if(x--,S--,0>S||d[x]!==m[S]){var C=`
5`+d[x].replace(" at new "," at ");return e.displayName&&C.includes("<anonymous>")&&(C=C.replace("<anonymous>",e.displayName)),C}while(1<=x&&0<=S);break}}}finally{G=!1,Error.prepareStackTrace=i}return(e=e?e.displayName||e.name:"")?I(e):""}function re(e){switch(e.tag){case 5:return I(e.type);case 16:return I("Lazy");case 13:return I("Suspense");case 19:return I("SuspenseList");case 0:case 2:case 15:return e=ne(e.type,!1),e;case 11:return e=ne(e.type.render,!1),e;case 1:return e=ne(e.type,!0),e;default:return""}}function fe(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ae:return"Fragment";case X:return"Portal";case ye:return"Profiler";case Y:return"StrictMode";case be:return"Suspense";case Ce:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Le:return(e.displayName||"Context")+".Consumer";case ve:return(e._context.displayName||"Context")+".Provider";case de:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ke:return n=e.displayName||null,n!==null?n:fe(e.type)||"Memo";case ue:n=e._payload,e=e._init;try{return fe(e(n))}catch{}}return null}function xe(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return fe(n);case 8:return n===Y?"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 n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function oe(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Te(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Ze(e){var n=Te(e)?"checked":"value",i=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),l=""+e[n];if(!e.hasOwnProperty(n)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var d=i.get,m=i.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return d.call(this)},set:function(x){l=""+x,m.call(this,x)}}),Object.defineProperty(e,n,{enumerable:i.enumerable}),{getValue:function(){return l},setValue:function(x){l=""+x},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function xn(e){e._valueTracker||(e._valueTracker=Ze(e))}function wn(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var i=n.getValue(),l="";return e&&(l=Te(e)?e.checked?"true":"false":e.value),e=l,e!==i?(n.setValue(e),!0):!1}function Wr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function wr(e,n){var i=n.checked;return W({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??e._wrapperState.initialChecked})}function Ji(e,n){var i=n.defaultValue==null?"":n.defaultValue,l=n.checked!=null?n.checked:n.defaultChecked;i=oe(n.value!=null?n.value:i),e._wrapperState={initialChecked:l,initialValue:i,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function Oo(e,n){n=n.checked,n!=null&&_(e,"checked",n,!1)}function bn(e,n){Oo(e,n);var i=oe(n.value),l=n.type;if(i!=null)l==="number"?(i===0&&e.value===""||e.value!=i)&&(e.value=""+i):e.value!==""+i&&(e.value=""+i);else if(l==="submit"||l==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Pt(e,n.type,i):n.hasOwnProperty("defaultValue")&&Pt(e,n.type,oe(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Io(e,n,i){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var l=n.type;if(!(l!=="submit"&&l!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,i||n===e.value||(e.value=n),e.defaultValue=n}i=e.name,i!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,i!==""&&(e.name=i)}function Pt(e,n,i){(n!=="number"||Wr(e.ownerDocument)!==e)&&(i==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+i&&(e.defaultValue=""+i))}var br=Array.isArray;function zn(e,n,i,l){if(e=e.options,n){n={};for(var d=0;d<i.length;d++)n["$"+i[d]]=!0;for(i=0;i<e.length;i++)d=n.hasOwnProperty("$"+e[i].value),e[i].selected!==d&&(e[i].selected=d),d&&l&&(e[i].defaultSelected=!0)}else{for(i=""+oe(i),n=null,d=0;d<e.length;d++){if(e[d].value===i){e[d].selected=!0,l&&(e[d].defaultSelected=!0);return}n!==null||e[d].disabled||(n=e[d])}n!==null&&(n.selected=!0)}}function rt(e,n){if(n.dangerouslySetInnerHTML!=null)throw Error(o(91));return W({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Sn(e,n){var i=n.value;if(i==null){if(i=n.children,n=n.defaultValue,i!=null){if(n!=null)throw Error(o(92));if(br(i)){if(1<i.length)throw Error(o(93));i=i[0]}n=i}n==null&&(n=""),i=n}e._wrapperState={initialValue:oe(i)}}function es(e,n){var i=oe(n.value),l=oe(n.defaultValue);i!=null&&(i=""+i,i!==e.value&&(e.value=i),n.defaultValue==null&&e.defaultValue!==i&&(e.defaultValue=i)),l!=null&&(e.defaultValue=""+l)}function ts(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}function Sr(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Fo(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?Sr(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Tr,Gr=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,i,l,d){MSApp.execUnsafeLocalFunction(function(){return e(n,i,l,d)})}:e})(function(e,n){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=n;else{for(Tr=Tr||document.createElement("div"),Tr.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=Tr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function It(e,n){if(n){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=n;return}}e.textContent=n}var Bn={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},$n=["Webkit","ms","Moz","O"];Object.keys(Bn).forEach(function(e){$n.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Bn[n]=Bn[e]})});function ns(e,n,i){return n==null||typeof n=="boolean"||n===""?"":i||typeof n!="number"||n===0||Bn.hasOwnProperty(e)&&Bn[e]?(""+n).trim():n+"px"}function rs(e,n){e=e.style;for(var i in n)if(n.hasOwnProperty(i)){var l=i.indexOf("--")===0,d=ns(i,n[i],l);i==="float"&&(i="cssFloat"),l?e.setProperty(i,d):e[i]=d}}var os=W({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 Kr(e,n){if(n){if(os[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(o(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(o(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(o(61))}if(n.style!=null&&typeof n.style!="object")throw Error(o(62))}}function Vo(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var kr=null;function Ft(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var zo=null,Un=null,Tn=null;function Bo(e){if(e=ai(e)){if(typeof zo!="function")throw Error(o(280));var n=e.stateNode;n&&(n=Es(n),zo(e.stateNode,e.type,n))}}function pe(e){Un?Tn?Tn.push(e):Tn=[e]:Un=e}function Ue(){if(Un){var e=Un,n=Tn;if(Tn=Un=null,Bo(e),n)for(e=0;e<n.length;e++)Bo(n[e])}}function qe(e,n){return e(n)}function lt(){}var Hn=!1;function Ke(e,n,i){if(Hn)return e(n,i);Hn=!0;try{return qe(e,n,i)}finally{Hn=!1,(Un!==null||Tn!==null)&&(lt(),Ue())}}function Je(e,n){var i=e.stateNode;if(i===null)return null;var l=Es(i);if(l===null)return null;i=l[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(i&&typeof i!="function")throw Error(o(231,n,typeof i));return i}var Wn=!1;if(f)try{var ot={};Object.defineProperty(ot,"passive",{get:function(){Wn=!0}}),window.addEventListener("test",ot,ot),window.removeEventListener("test",ot,ot)}catch{Wn=!1}function jt(e,n,i,l,d,m,x,S,C){var L=Array.prototype.slice.call(arguments,3);try{n.apply(i,L)}catch(V){this.onError(V)}}var Gn=!1,Vt=null,$o=!1,Wa=null,Ov={onError:function(e){Gn=!0,Vt=e}};function Iv(e,n,i,l,d,m,x,S,C){Gn=!1,Vt=null,jt.apply(Ov,arguments)}function Fv(e,n,i,l,d,m,x,S,C){if(Iv.apply(this,arguments),Gn){if(Gn){var L=Vt;Gn=!1,Vt=null}else throw Error(o(198));$o||($o=!0,Wa=L)}}function Er(e){var n=e,i=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(i=n.return),e=n.return;while(e)}return n.tag===3?i:null}function Dd(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function _d(e){if(Er(e)!==e)throw Error(o(188))}function Vv(e){var n=e.alternate;if(!n){if(n=Er(e),n===null)throw Error(o(188));return n!==e?null:e}for(var i=e,l=n;;){var d=i.return;if(d===null)break;var m=d.alternate;if(m===null){if(l=d.return,l!==null){i=l;continue}break}if(d.child===m.child){for(m=d.child;m;){if(m===i)return _d(d),e;if(m===l)return _d(d),n;m=m.sibling}throw Error(o(188))}if(i.return!==l.return)i=d,l=m;else{for(var x=!1,S=d.child;S;){if(S===i){x=!0,i=d,l=m;break}if(S===l){x=!0,l=d,i=m;break}S=S.sibling}if(!x){for(S=m.child;S;){if(S===i){x=!0,i=m,l=d;break}if(S===l){x=!0,l=m,i=d;break}S=S.sibling}if(!x)throw Error(o(189))}}if(i.alternate!==l)throw Error(o(190))}if(i.tag!==3)throw Error(o(188));return i.stateNode.current===i?e:n}function Od(e){return e=Vv(e),e!==null?Id(e):null}function Id(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var n=Id(e);if(n!==null)return n;e=e.sibling}return null}var Fd=r.unstable_scheduleCallback,Vd=r.unstable_cancelCallback,zv=r.unstable_shouldYield,Bv=r.unstable_requestPaint,He=r.unstable_now,$v=r.unstable_getCurrentPriorityLevel,Ga=r.unstable_ImmediatePriority,zd=r.unstable_UserBlockingPriority,is=r.unstable_NormalPriority,Uv=r.unstable_LowPriority,Bd=r.unstable_IdlePriority,ss=null,un=null;function Hv(e){if(un&&typeof un.onCommitFiberRoot=="function")try{un.onCommitFiberRoot(ss,e,void 0,(e.current.flags&128)===128)}catch{}}var Qt=Math.clz32?Math.clz32:Kv,Wv=Math.log,Gv=Math.LN2;function Kv(e){return e>>>=0,e===0?32:31-(Wv(e)/Gv|0)|0}var as=64,ls=4194304;function Uo(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function us(e,n){var i=e.pendingLanes;if(i===0)return 0;var l=0,d=e.suspendedLanes,m=e.pingedLanes,x=i&268435455;if(x!==0){var S=x&~d;S!==0?l=Uo(S):(m&=x,m!==0&&(l=Uo(m)))}else x=i&~d,x!==0?l=Uo(x):m!==0&&(l=Uo(m));if(l===0)return 0;if(n!==0&&n!==l&&(n&d)===0&&(d=l&-l,m=n&-n,d>=m||d===16&&(m&4194240)!==0))return n;if((l&4)!==0&&(l|=i&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=l;0<n;)i=31-Qt(n),d=1<<i,l|=e[i],n&=~d;return l}function Yv(e,n){switch(e){case 1:case 2:case 4:return n+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 n+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 qv(e,n){for(var i=e.suspendedLanes,l=e.pingedLanes,d=e.expirationTimes,m=e.pendingLanes;0<m;){var x=31-Qt(m),S=1<<x,C=d[x];C===-1?((S&i)===0||(S&l)!==0)&&(d[x]=Yv(S,n)):C<=n&&(e.expiredLanes|=S),m&=~S}}function Ka(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function $d(){var e=as;return as<<=1,(as&4194240)===0&&(as=64),e}function Ya(e){for(var n=[],i=0;31>i;i++)n.push(e);return n}function Ho(e,n,i){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Qt(n),e[n]=i}function Qv(e,n){var i=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var l=e.eventTimes;for(e=e.expirationTimes;0<i;){var d=31-Qt(i),m=1<<d;n[d]=0,l[d]=-1,e[d]=-1,i&=~m}}function qa(e,n){var i=e.entangledLanes|=n;for(e=e.entanglements;i;){var l=31-Qt(i),d=1<<l;d&n|e[l]&n&&(e[l]|=n),i&=~d}}var Ee=0;function Ud(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Hd,Qa,Wd,Gd,Kd,Xa=!1,cs=[],Kn=null,Yn=null,qn=null,Wo=new Map,Go=new Map,Qn=[],Xv="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 Yd(e,n){switch(e){case"focusin":case"focusout":Kn=null;break;case"dragenter":case"dragleave":Yn=null;break;case"mouseover":case"mouseout":qn=null;break;case"pointerover":case"pointerout":Wo.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Go.delete(n.pointerId)}}function Ko(e,n,i,l,d,m){return e===null||e.nativeEvent!==m?(e={blockedOn:n,domEventName:i,eventSystemFlags:l,nativeEvent:m,targetContainers:[d]},n!==null&&(n=ai(n),n!==null&&Qa(n)),e):(e.eventSystemFlags|=l,n=e.targetContainers,d!==null&&n.indexOf(d)===-1&&n.push(d),e)}function Zv(e,n,i,l,d){switch(n){case"focusin":return Kn=Ko(Kn,e,n,i,l,d),!0;case"dragenter":return Yn=Ko(Yn,e,n,i,l,d),!0;case"mouseover":return qn=Ko(qn,e,n,i,l,d),!0;case"pointerover":var m=d.pointerId;return Wo.set(m,Ko(Wo.get(m)||null,e,n,i,l,d)),!0;case"gotpointercapture":return m=d.pointerId,Go.set(m,Ko(Go.get(m)||null,e,n,i,l,d)),!0}return!1}function qd(e){var n=Cr(e.target);if(n!==null){var i=Er(n);if(i!==null){if(n=i.tag,n===13){if(n=Dd(i),n!==null){e.blockedOn=n,Kd(e.priority,function(){Wd(i)});return}}else if(n===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ds(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var i=Ja(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(i===null){i=e.nativeEvent;var l=new i.constructor(i.type,i);kr=l,i.target.dispatchEvent(l),kr=null}else return n=ai(i),n!==null&&Qa(n),e.blockedOn=i,!1;n.shift()}return!0}function Qd(e,n,i){ds(e)&&i.delete(n)}function Jv(){Xa=!1,Kn!==null&&ds(Kn)&&(Kn=null),Yn!==null&&ds(Yn)&&(Yn=null),qn!==null&&ds(qn)&&(qn=null),Wo.forEach(Qd),Go.forEach(Qd)}function Yo(e,n){e.blockedOn===n&&(e.blockedOn=null,Xa||(Xa=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Jv)))}function qo(e){function n(d){return Yo(d,e)}if(0<cs.length){Yo(cs[0],e);for(var i=1;i<cs.length;i++){var l=cs[i];l.blockedOn===e&&(l.blockedOn=null)}}for(Kn!==null&&Yo(Kn,e),Yn!==null&&Yo(Yn,e),qn!==null&&Yo(qn,e),Wo.forEach(n),Go.forEach(n),i=0;i<Qn.length;i++)l=Qn[i],l.blockedOn===e&&(l.blockedOn=null);for(;0<Qn.length&&(i=Qn[0],i.blockedOn===null);)qd(i),i.blockedOn===null&&Qn.shift()}var Yr=O.ReactCurrentBatchConfig,fs=!0;function ex(e,n,i,l){var d=Ee,m=Yr.transition;Yr.transition=null;try{Ee=1,Za(e,n,i,l)}finally{Ee=d,Yr.transition=m}}function tx(e,n,i,l){var d=Ee,m=Yr.transition;Yr.transition=null;try{Ee=4,Za(e,n,i,l)}finally{Ee=d,Yr.transition=m}}function Za(e,n,i,l){if(fs){var d=Ja(e,n,i,l);if(d===null)gl(e,n,l,ps,i),Yd(e,l);else if(Zv(d,e,n,i,l))l.stopPropagation();else if(Yd(e,l),n&4&&-1<Xv.indexOf(e)){for(;d!==null;){var m=ai(d);if(m!==null&&Hd(m),m=Ja(e,n,i,l),m===null&&gl(e,n,l,ps,i),m===d)break;d=m}d!==null&&l.stopPropagation()}else gl(e,n,l,null,i)}}var ps=null;function Ja(e,n,i,l){if(ps=null,e=Ft(l),e=Cr(e),e!==null)if(n=Er(e),n===null)e=null;else if(i=n.tag,i===13){if(e=Dd(n),e!==null)return e;e=null}else if(i===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null);return ps=e,null}function Xd(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch($v()){case Ga:return 1;case zd:return 4;case is:case Uv:return 16;case Bd:return 536870912;default:return 16}default:return 16}}var Xn=null,el=null,hs=null;function Zd(){if(hs)return hs;var e,n=el,i=n.length,l,d="value"in Xn?Xn.value:Xn.textContent,m=d.length;for(e=0;e<i&&n[e]===d[e];e++);var x=i-e;for(l=1;l<=x&&n[i-l]===d[m-l];l++);return hs=d.slice(e,1<l?1-l:void 0)}function ms(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function gs(){return!0}function Jd(){return!1}function Rt(e){function n(i,l,d,m,x){this._reactName=i,this._targetInst=d,this.type=l,this.nativeEvent=m,this.target=x,this.currentTarget=null;for(var S in e)e.hasOwnProperty(S)&&(i=e[S],this[S]=i?i(m):m[S]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?gs:Jd,this.isPropagationStopped=Jd,this}return W(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=gs)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=gs)},persist:function(){},isPersistent:gs}),n}var qr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tl=Rt(qr),Qo=W({},qr,{view:0,detail:0}),nx=Rt(Qo),nl,rl,Xo,ys=W({},Qo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:il,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Xo&&(Xo&&e.type==="mousemove"?(nl=e.screenX-Xo.screenX,rl=e.screenY-Xo.screenY):rl=nl=0,Xo=e),nl)},movementY:function(e){return"movementY"in e?e.movementY:rl}}),ef=Rt(ys),rx=W({},ys,{dataTransfer:0}),ox=Rt(rx),ix=W({},Qo,{relatedTarget:0}),ol=Rt(ix),sx=W({},qr,{animationName:0,elapsedTime:0,pseudoElement:0}),ax=Rt(sx),lx=W({},qr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ux=Rt(lx),cx=W({},qr,{data:0}),tf=Rt(cx),dx={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},fx={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"},px={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function hx(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=px[e])?!!n[e]:!1}function il(){return hx}var mx=W({},Qo,{key:function(e){if(e.key){var n=dx[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=ms(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?fx[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:il,charCode:function(e){return e.type==="keypress"?ms(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ms(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),gx=Rt(mx),yx=W({},ys,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),nf=Rt(yx),vx=W({},Qo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:il}),xx=Rt(vx),wx=W({},qr,{propertyName:0,elapsedTime:0,pseudoElement:0}),bx=Rt(wx),Sx=W({},ys,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Tx=Rt(Sx),kx=[9,13,27,32],sl=f&&"CompositionEvent"in window,Zo=null;f&&"documentMode"in document&&(Zo=document.documentMode);var Ex=f&&"TextEvent"in window&&!Zo,rf=f&&(!sl||Zo&&8<Zo&&11>=Zo),of=" ",sf=!1;function af(e,n){switch(e){case"keyup":return kx.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function lf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Qr=!1;function Cx(e,n){switch(e){case"compositionend":return lf(n);case"keypress":return n.which!==32?null:(sf=!0,of);case"textInput":return e=n.data,e===of&&sf?null:e;default:return null}}function Px(e,n){if(Qr)return e==="compositionend"||!sl&&af(e,n)?(e=Zd(),hs=el=Xn=null,Qr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return rf&&n.locale!=="ko"?null:n.data;default:return null}}var jx={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 uf(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!jx[e.type]:n==="textarea"}function cf(e,n,i,l){pe(l),n=Ss(n,"onChange"),0<n.length&&(i=new tl("onChange","change",null,i,l),e.push({event:i,listeners:n}))}var Jo=null,ei=null;function Rx(e){jf(e,0)}function vs(e){var n=to(e);if(wn(n))return e}function Ax(e,n){if(e==="change")return n}var df=!1;if(f){var al;if(f){var ll="oninput"in document;if(!ll){var ff=document.createElement("div");ff.setAttribute("oninput","return;"),ll=typeof ff.oninput=="function"}al=ll}else al=!1;df=al&&(!document.documentMode||9<document.documentMode)}function pf(){Jo&&(Jo.detachEvent("onpropertychange",hf),ei=Jo=null)}function hf(e){if(e.propertyName==="value"&&vs(ei)){var n=[];cf(n,ei,e,Ft(e)),Ke(Rx,n)}}function Nx(e,n,i){e==="focusin"?(pf(),Jo=n,ei=i,Jo.attachEvent("onpropertychange",hf)):e==="focusout"&&pf()}function Mx(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return vs(ei)}function Lx(e,n){if(e==="click")return vs(n)}function Dx(e,n){if(e==="input"||e==="change")return vs(n)}function _x(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var Xt=typeof Object.is=="function"?Object.is:_x;function ti(e,n){if(Xt(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var i=Object.keys(e),l=Object.keys(n);if(i.length!==l.length)return!1;for(l=0;l<i.length;l++){var d=i[l];if(!p.call(n,d)||!Xt(e[d],n[d]))return!1}return!0}function mf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function gf(e,n){var i=mf(e);e=0;for(var l;i;){if(i.nodeType===3){if(l=e+i.textContent.length,e<=n&&l>=n)return{node:i,offset:n-e};e=l}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=mf(i)}}function yf(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?yf(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function vf(){for(var e=window,n=Wr();n instanceof e.HTMLIFrameElement;){try{var i=typeof n.contentWindow.location.href=="string"}catch{i=!1}if(i)e=n.contentWindow;else break;n=Wr(e.document)}return n}function ul(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Ox(e){var n=vf(),i=e.focusedElem,l=e.selectionRange;if(n!==i&&i&&i.ownerDocument&&yf(i.ownerDocument.documentElement,i)){if(l!==null&&ul(i)){if(n=l.start,e=l.end,e===void 0&&(e=n),"selectionStart"in i)i.selectionStart=n,i.selectionEnd=Math.min(e,i.value.length);else if(e=(n=i.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var d=i.textContent.length,m=Math.min(l.start,d);l=l.end===void 0?m:Math.min(l.end,d),!e.extend&&m>l&&(d=l,l=m,m=d),d=gf(i,m);var x=gf(i,l);d&&x&&(e.rangeCount!==1||e.anchorNode!==d.node||e.anchorOffset!==d.offset||e.focusNode!==x.node||e.focusOffset!==x.offset)&&(n=n.createRange(),n.setStart(d.node,d.offset),e.removeAllRanges(),m>l?(e.addRange(n),e.extend(x.node,x.offset)):(n.setEnd(x.node,x.offset),e.addRange(n)))}}for(n=[],e=i;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<n.length;i++)e=n[i],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Ix=f&&"documentMode"in document&&11>=document.documentMode,Xr=null,cl=null,ni=null,dl=!1;function xf(e,n,i){var l=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;dl||Xr==null||Xr!==Wr(l)||(l=Xr,"selectionStart"in l&&ul(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),ni&&ti(ni,l)||(ni=l,l=Ss(cl,"onSelect"),0<l.length&&(n=new tl("onSelect","select",null,n,i),e.push({event:n,listeners:l}),n.target=Xr)))}function xs(e,n){var i={};return i[e.toLowerCase()]=n.toLowerCase(),i["Webkit"+e]="webkit"+n,i["Moz"+e]="moz"+n,i}var Zr={animationend:xs("Animation","AnimationEnd"),animationiteration:xs("Animation","AnimationIteration"),animationstart:xs("Animation","AnimationStart"),transitionend:xs("Transition","TransitionEnd")},fl={},wf={};f&&(wf=document.createElement("div").style,"AnimationEvent"in window||(delete Zr.animationend.animation,delete Zr.animationiteration.animation,delete Zr.animationstart.animation),"TransitionEvent"in window||delete Zr.transitionend.transition);function ws(e){if(fl[e])return fl[e];if(!Zr[e])return e;var n=Zr[e],i;for(i in n)if(n.hasOwnProperty(i)&&i in wf)return fl[e]=n[i];return e}var bf=ws("animationend"),Sf=ws("animationiteration"),Tf=ws("animationstart"),kf=ws("transitionend"),Ef=new Map,Cf="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 Zn(e,n){Ef.set(e,n),u(n,[e])}for(var pl=0;pl<Cf.length;pl++){var hl=Cf[pl],Fx=hl.toLowerCase(),Vx=hl[0].toUpperCase()+hl.slice(1);Zn(Fx,"on"+Vx)}Zn(bf,"onAnimationEnd"),Zn(Sf,"onAnimationIteration"),Zn(Tf,"onAnimationStart"),Zn("dblclick","onDoubleClick"),Zn("focusin","onFocus"),Zn("focusout","onBlur"),Zn(kf,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ri="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(" "),zx=new Set("cancel close invalid load scroll toggle".split(" ").concat(ri));function Pf(e,n,i){var l=e.type||"unknown-event";e.currentTarget=i,Fv(l,n,void 0,e),e.currentTarget=null}function jf(e,n){n=(n&4)!==0;for(var i=0;i<e.length;i++){var l=e[i],d=l.event;l=l.listeners;e:{var m=void 0;if(n)for(var x=l.length-1;0<=x;x--){var S=l[x],C=S.instance,L=S.currentTarget;if(S=S.listener,C!==m&&d.isPropagationStopped())break e;Pf(d,S,L),m=C}else for(x=0;x<l.length;x++){if(S=l[x],C=S.instance,L=S.currentTarget,S=S.listener,C!==m&&d.isPropagationStopped())break e;Pf(d,S,L),m=C}}}if($o)throw e=Wa,$o=!1,Wa=null,e}function je(e,n){var i=n[Sl];i===void 0&&(i=n[Sl]=new Set);var l=e+"__bubble";i.has(l)||(Rf(n,e,2,!1),i.add(l))}function ml(e,n,i){var l=0;n&&(l|=4),Rf(i,e,l,n)}var bs="_reactListening"+Math.random().toString(36).slice(2);function oi(e){if(!e[bs]){e[bs]=!0,s.forEach(function(i){i!=="selectionchange"&&(zx.has(i)||ml(i,!1,e),ml(i,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[bs]||(n[bs]=!0,ml("selectionchange",!1,n))}}function Rf(e,n,i,l){switch(Xd(n)){case 1:var d=ex;break;case 4:d=tx;break;default:d=Za}i=d.bind(null,n,i,e),d=void 0,!Wn||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(d=!0),l?d!==void 0?e.addEventListener(n,i,{capture:!0,passive:d}):e.addEventListener(n,i,!0):d!==void 0?e.addEventListener(n,i,{passive:d}):e.addEventListener(n,i,!1)}function gl(e,n,i,l,d){var m=l;if((n&1)===0&&(n&2)===0&&l!==null)e:for(;;){if(l===null)return;var x=l.tag;if(x===3||x===4){var S=l.stateNode.containerInfo;if(S===d||S.nodeType===8&&S.parentNode===d)break;if(x===4)for(x=l.return;x!==null;){var C=x.tag;if((C===3||C===4)&&(C=x.stateNode.containerInfo,C===d||C.nodeType===8&&C.parentNode===d))return;x=x.return}for(;S!==null;){if(x=Cr(S),x===null)return;if(C=x.tag,C===5||C===6){l=m=x;continue e}S=S.parentNode}}l=l.return}Ke(function(){var L=m,V=Ft(i),z=[];e:{var F=Ef.get(e);if(F!==void 0){var K=tl,Z=e;switch(e){case"keypress":if(ms(i)===0)break e;case"keydown":case"keyup":K=gx;break;case"focusin":Z="focus",K=ol;break;case"focusout":Z="blur",K=ol;break;case"beforeblur":case"afterblur":K=ol;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":K=ef;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":K=ox;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":K=xx;break;case bf:case Sf:case Tf:K=ax;break;case kf:K=bx;break;case"scroll":K=nx;break;case"wheel":K=Tx;break;case"copy":case"cut":case"paste":K=ux;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":K=nf}var J=(n&4)!==0,We=!J&&e==="scroll",N=J?F!==null?F+"Capture":null:F;J=[];for(var j=L,M;j!==null;){M=j;var U=M.stateNode;if(M.tag===5&&U!==null&&(M=U,N!==null&&(U=Je(j,N),U!=null&&J.push(ii(j,U,M)))),We)break;j=j.return}0<J.length&&(F=new K(F,Z,null,i,V),z.push({event:F,listeners:J}))}}if((n&7)===0){e:{if(F=e==="mouseover"||e==="pointerover",K=e==="mouseout"||e==="pointerout",F&&i!==kr&&(Z=i.relatedTarget||i.fromElement)&&(Cr(Z)||Z[kn]))break e;if((K||F)&&(F=V.window===V?V:(F=V.ownerDocument)?F.defaultView||F.parentWindow:window,K?(Z=i.relatedTarget||i.toElement,K=L,Z=Z?Cr(Z):null,Z!==null&&(We=Er(Z),Z!==We||Z.tag!==5&&Z.tag!==6)&&(Z=null)):(K=null,Z=L),K!==Z)){if(J=ef,U="onMouseLeave",N="onMouseEnter",j="mouse",(e==="pointerout"||e==="pointerover")&&(J=nf,U="onPointerLeave",N="onPointerEnter",j="pointer"),We=K==null?F:to(K),M=Z==null?F:to(Z),F=new J(U,j+"leave",K,i,V),F.target=We,F.relatedTarget=M,U=null,Cr(V)===L&&(J=new J(N,j+"enter",Z,i,V),J.target=M,J.relatedTarget=We,U=J),We=U,K&&Z)t:{for(J=K,N=Z,j=0,M=J;M;M=Jr(M))j++;for(M=0,U=N;U;U=Jr(U))M++;for(;0<j-M;)J=Jr(J),j--;for(;0<M-j;)N=Jr(N),M--;for(;j--;){if(J===N||N!==null&&J===N.alternate)break t;J=Jr(J),N=Jr(N)}J=null}else J=null;K!==null&&Af(z,F,K,J,!1),Z!==null&&We!==null&&Af(z,We,Z,J,!0)}}e:{if(F=L?to(L):window,K=F.nodeName&&F.nodeName.toLowerCase(),K==="select"||K==="input"&&F.type==="file")var ee=Ax;else if(uf(F))if(df)ee=Dx;else{ee=Mx;var ie=Nx}else(K=F.nodeName)&&K.toLowerCase()==="input"&&(F.type==="checkbox"||F.type==="radio")&&(ee=Lx);if(ee&&(ee=ee(e,L))){cf(z,ee,i,V);break e}ie&&ie(e,F,L),e==="focusout"&&(ie=F._wrapperState)&&ie.controlled&&F.type==="number"&&Pt(F,"number",F.value)}switch(ie=L?to(L):window,e){case"focusin":(uf(ie)||ie.contentEditable==="true")&&(Xr=ie,cl=L,ni=null);break;case"focusout":ni=cl=Xr=null;break;case"mousedown":dl=!0;break;case"contextmenu":case"mouseup":case"dragend":dl=!1,xf(z,i,V);break;case"selectionchange":if(Ix)break;case"keydown":case"keyup":xf(z,i,V)}var se;if(sl)e:{switch(e){case"compositionstart":var ce="onCompositionStart";break e;case"compositionend":ce="onCompositionEnd";break e;case"compositionupdate":ce="onCompositionUpdate";break e}ce=void 0}else Qr?af(e,i)&&(ce="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(ce="onCompositionStart");ce&&(rf&&i.locale!=="ko"&&(Qr||ce!=="onCompositionStart"?ce==="onCompositionEnd"&&Qr&&(se=Zd()):(Xn=V,el="value"in Xn?Xn.value:Xn.textContent,Qr=!0)),ie=Ss(L,ce),0<ie.length&&(ce=new tf(ce,e,null,i,V),z.push({event:ce,listeners:ie}),se?ce.data=se:(se=lf(i),se!==null&&(ce.data=se)))),(se=Ex?Cx(e,i):Px(e,i))&&(L=Ss(L,"onBeforeInput"),0<L.length&&(V=new tf("onBeforeInput","beforeinput",null,i,V),z.push({event:V,listeners:L}),V.data=se))}jf(z,n)})}function ii(e,n,i){return{instance:e,listener:n,currentTarget:i}}function Ss(e,n){for(var i=n+"Capture",l=[];e!==null;){var d=e,m=d.stateNode;d.tag===5&&m!==null&&(d=m,m=Je(e,i),m!=null&&l.unshift(ii(e,m,d)),m=Je(e,n),m!=null&&l.push(ii(e,m,d))),e=e.return}return l}function Jr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Af(e,n,i,l,d){for(var m=n._reactName,x=[];i!==null&&i!==l;){var S=i,C=S.alternate,L=S.stateNode;if(C!==null&&C===l)break;S.tag===5&&L!==null&&(S=L,d?(C=Je(i,m),C!=null&&x.unshift(ii(i,C,S))):d||(C=Je(i,m),C!=null&&x.push(ii(i,C,S)))),i=i.return}x.length!==0&&e.push({event:n,listeners:x})}var Bx=/\r\n?/g,$x=/\u0000|\uFFFD/g;function Nf(e){return(typeof e=="string"?e:""+e).replace(Bx,`
6`).replace($x,"")}function Ts(e,n,i){if(n=Nf(n),Nf(e)!==n&&i)throw Error(o(425))}function ks(){}var yl=null,vl=null;function xl(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var wl=typeof setTimeout=="function"?setTimeout:void 0,Ux=typeof clearTimeout=="function"?clearTimeout:void 0,Mf=typeof Promise=="function"?Promise:void 0,Hx=typeof queueMicrotask=="function"?queueMicrotask:typeof Mf<"u"?function(e){return Mf.resolve(null).then(e).catch(Wx)}:wl;function Wx(e){setTimeout(function(){throw e})}function bl(e,n){var i=n,l=0;do{var d=i.nextSibling;if(e.removeChild(i),d&&d.nodeType===8)if(i=d.data,i==="/$"){if(l===0){e.removeChild(d),qo(n);return}l--}else i!=="$"&&i!=="$?"&&i!=="$!"||l++;i=d}while(i);qo(n)}function Jn(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return e}function Lf(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var i=e.data;if(i==="$"||i==="$!"||i==="$?"){if(n===0)return e;n--}else i==="/$"&&n++}e=e.previousSibling}return null}var eo=Math.random().toString(36).slice(2),cn="__reactFiber$"+eo,si="__reactProps$"+eo,kn="__reactContainer$"+eo,Sl="__reactEvents$"+eo,Gx="__reactListeners$"+eo,Kx="__reactHandles$"+eo;function Cr(e){var n=e[cn];if(n)return n;for(var i=e.parentNode;i;){if(n=i[kn]||i[cn]){if(i=n.alternate,n.child!==null||i!==null&&i.child!==null)for(e=Lf(e);e!==null;){if(i=e[cn])return i;e=Lf(e)}return n}e=i,i=e.parentNode}return null}function ai(e){return e=e[cn]||e[kn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function to(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(o(33))}function Es(e){return e[si]||null}var Tl=[],no=-1;function er(e){return{current:e}}function Re(e){0>no||(e.current=Tl[no],Tl[no]=null,no--)}function Pe(e,n){no++,Tl[no]=e.current,e.current=n}var tr={},ut=er(tr),yt=er(!1),Pr=tr;function ro(e,n){var i=e.type.contextTypes;if(!i)return tr;var l=e.stateNode;if(l&&l.__reactInternalMemoizedUnmaskedChildContext===n)return l.__reactInternalMemoizedMaskedChildContext;var d={},m;for(m in i)d[m]=n[m];return l&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=d),d}function vt(e){return e=e.childContextTypes,e!=null}function Cs(){Re(yt),Re(ut)}function Df(e,n,i){if(ut.current!==tr)throw Error(o(168));Pe(ut,n),Pe(yt,i)}function _f(e,n,i){var l=e.stateNode;if(n=n.childContextTypes,typeof l.getChildContext!="function")return i;l=l.getChildContext();for(var d in l)if(!(d in n))throw Error(o(108,xe(e)||"Unknown",d));return W({},i,l)}function Ps(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||tr,Pr=ut.current,Pe(ut,e),Pe(yt,yt.current),!0}function Of(e,n,i){var l=e.stateNode;if(!l)throw Error(o(169));i?(e=_f(e,n,Pr),l.__reactInternalMemoizedMergedChildContext=e,Re(yt),Re(ut),Pe(ut,e)):Re(yt),Pe(yt,i)}var En=null,js=!1,kl=!1;function If(e){En===null?En=[e]:En.push(e)}function Yx(e){js=!0,If(e)}function nr(){if(!kl&&En!==null){kl=!0;var e=0,n=Ee;try{var i=En;for(Ee=1;e<i.length;e++){var l=i[e];do l=l(!0);while(l!==null)}En=null,js=!1}catch(d){throw En!==null&&(En=En.slice(e+1)),Fd(Ga,nr),d}finally{Ee=n,kl=!1}}return null}var oo=[],io=0,Rs=null,As=0,zt=[],Bt=0,jr=null,Cn=1,Pn="";function Rr(e,n){oo[io++]=As,oo[io++]=Rs,Rs=e,As=n}function Ff(e,n,i){zt[Bt++]=Cn,zt[Bt++]=Pn,zt[Bt++]=jr,jr=e;var l=Cn;e=Pn;var d=32-Qt(l)-1;l&=~(1<<d),i+=1;var m=32-Qt(n)+d;if(30<m){var x=d-d%5;m=(l&(1<<x)-1).toString(32),l>>=x,d-=x,Cn=1<<32-Qt(n)+d|i<<d|l,Pn=m+e}else Cn=1<<m|i<<d|l,Pn=e}function El(e){e.return!==null&&(Rr(e,1),Ff(e,1,0))}function Cl(e){for(;e===Rs;)Rs=oo[--io],oo[io]=null,As=oo[--io],oo[io]=null;for(;e===jr;)jr=zt[--Bt],zt[Bt]=null,Pn=zt[--Bt],zt[Bt]=null,Cn=zt[--Bt],zt[Bt]=null}var At=null,Nt=null,De=!1,Zt=null;function Vf(e,n){var i=Wt(5,null,null,0);i.elementType="DELETED",i.stateNode=n,i.return=e,n=e.deletions,n===null?(e.deletions=[i],e.flags|=16):n.push(i)}function zf(e,n){switch(e.tag){case 5:var i=e.type;return n=n.nodeType!==1||i.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(e.stateNode=n,At=e,Nt=Jn(n.firstChild),!0):!1;case 6:return n=e.pendingProps===""||n.nodeType!==3?null:n,n!==null?(e.stateNode=n,At=e,Nt=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(i=jr!==null?{id:Cn,overflow:Pn}:null,e.memoizedState={dehydrated:n,treeContext:i,retryLane:1073741824},i=Wt(18,null,null,0),i.stateNode=n,i.return=e,e.child=i,At=e,Nt=null,!0):!1;default:return!1}}function Pl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function jl(e){if(De){var n=Nt;if(n){var i=n;
vendor: 5,352 bytes, line 6
6if(!zf(e,n)){if(Pl(e))throw Error(o(418));n=Jn(i.nextSibling);var l=At;n&&zf(e,n)?Vf(l,i):(e.flags=e.flags&-4097|2,De=!1,At=e)}}else{if(Pl(e))throw Error(o(418));e.flags=e.flags&-4097|2,De=!1,At=e}}}function Bf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;At=e}function Ns(e){if(e!==At)return!1;if(!De)return Bf(e),De=!0,!1;var n;if((n=e.tag!==3)&&!(n=e.tag!==5)&&(n=e.type,n=n!=="head"&&n!=="body"&&!xl(e.type,e.memoizedProps)),n&&(n=Nt)){if(Pl(e))throw $f(),Error(o(418));for(;n;)Vf(e,n),n=Jn(n.nextSibling)}if(Bf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"){if(n===0){Nt=Jn(e.nextSibling);break e}n--}else i!=="$"&&i!=="$!"&&i!=="$?"||n++}e=e.nextSibling}Nt=null}}else Nt=At?Jn(e.stateNode.nextSibling):null;return!0}function $f(){for(var e=Nt;e;)e=Jn(e.nextSibling)}function so(){Nt=At=null,De=!1}function Rl(e){Zt===null?Zt=[e]:Zt.push(e)}var qx=O.ReactCurrentBatchConfig;function li(e,n,i){if(e=i.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(i._owner){if(i=i._owner,i){if(i.tag!==1)throw Error(o(309));var l=i.stateNode}if(!l)throw Error(o(147,e));var d=l,m=""+e;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===m?n.ref:(n=function(x){var S=d.refs;x===null?delete S[m]:S[m]=x},n._stringRef=m,n)}if(typeof e!="string")throw Error(o(284));if(!i._owner)throw Error(o(290,e))}return e}function Ms(e,n){throw e=Object.prototype.toString.call(n),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function Uf(e){var n=e._init;return n(e._payload)}function Hf(e){function n(N,j){if(e){var M=N.deletions;M===null?(N.deletions=[j],N.flags|=16):M.push(j)}}function i(N,j){if(!e)return null;for(;j!==null;)n(N,j),j=j.sibling;return null}function l(N,j){for(N=new Map;j!==null;)j.key!==null?N.set(j.key,j):N.set(j.index,j),j=j.sibling;return N}function d(N,j){return N=cr(N,j),N.index=0,N.sibling=null,N}function m(N,j,M){return N.index=M,e?(M=N.alternate,M!==null?(M=M.index,M<j?(N.flags|=2,j):M):(N.flags|=2,j)):(N.flags|=1048576,j)}function x(N){return e&&N.alternate===null&&(N.flags|=2),N}function S(N,j,M,U){return j===null||j.tag!==6?(j=wu(M,N.mode,U),j.return=N,j):(j=d(j,M),j.return=N,j)}function C(N,j,M,U){var ee=M.type;return ee===ae?V(N,j,M.props.children,U,M.key):j!==null&&(j.elementType===ee||typeof ee=="object"&&ee!==null&&ee.$$typeof===ue&&Uf(ee)===j.type)?(U=d(j,M.props),U.ref=li(N,j,M),U.return=N,U):(U=na(M.type,M.key,M.props,null,N.mode,U),U.ref=li(N,j,M),U.return=N,U)}function L(N,j,M,U){return j===null||j.tag!==4||j.stateNode.containerInfo!==M.containerInfo||j.stateNode.implementation!==M.implementation?(j=bu(M,N.mode,U),j.return=N,j):(j=d(j,M.children||[]),j.return=N,j)}function V(N,j,M,U,ee){return j===null||j.tag!==7?(j=Ir(M,N.mode,U,ee),j.return=N,j):(j=d(j,M),j.return=N,j)}function z(N,j,M){if(typeof j=="string"&&j!==""||typeof j=="number")return j=wu(""+j,N.mode,M),j.return=N,j;if(typeof j=="object"&&j!==null){switch(j.$$typeof){case H:return M=na(j.type,j.key,j.props,null,N.mode,M),M.ref=li(N,null,j),M.return=N,M;case X:return j=bu(j,N.mode,M),j.return=N,j;case ue:var U=j._init;return z(N,U(j._payload),M)}if(br(j)||q(j))return j=Ir(j,N.mode,M,null),j.return=N,j;Ms(N,j)}return null}function F(N,j,M,U){var ee=j!==null?j.key:null;if(typeof M=="string"&&M!==""||typeof M=="number")return ee!==null?null:S(N,j,""+M,U);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case H:return M.key===ee?C(N,j,M,U):null;case X:return M.key===ee?L(N,j,M,U):null;case ue:return ee=M._init,F(N,j,ee(M._payload),U)}if(br(M)||q(M))return ee!==null?null:V(N,j,M,U,null);Ms(N,M)}return null}function K(N,j,M,U,ee){if(typeof U=="string"&&U!==""||typeof U=="number")return N=N.get(M)||null,S(j,N,""+U,ee);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case H:return N=N.get(U.key===null?M:U.key)||null,C(j,N,U,ee);case X:return N=N.get(U.key===null?M:U.key)||null,L(j,N,U,ee);case ue:var ie=U._init;return K(N,j,M,ie(U._payload),ee)}if(br(U)||q(U))return N=N.get(M)||null,V(j,N,U,ee,null);Ms(j,U)}return null}function Z(N,j,M,U){for(var ee=null,ie=null,se=j,ce=j=0,nt=null;se!==null&&ce<M.length;ce++){se.index>ce?(nt=se,se=null):nt=se.sibling;var Se=F(N,se,M[ce],U);if(Se===null){se===null&&(se=nt);break}e&&se&&Se.alternate===null&&n(N,se),j=m(Se,j,ce),ie===null?ee=Se:ie.sibling=Se,ie=Se,se=nt}if(ce===M.length)return i(N,se),De&&Rr(N,ce),ee;if(se===null){for(;ce<M.length;ce++)se=z(N,M[ce],U),se!==null&&(j=m(se,j,ce),ie===null?ee=se:ie.sibling=se,ie=se);return De&&Rr(N,ce),ee}for(se=l(N,se);ce<M.length;ce++)nt=K(se,N,ce,M[ce],U),nt!==null&&(e&&nt.alternate!==null&&se.delete(nt.key===null?ce:nt.key),j=m(nt,j,ce),ie===null?ee=nt:ie.sibling=nt,ie=nt);return e&&se.forEach(function(dr){return n(N,dr)}),De&&Rr(N,ce),ee}function J(N,j,M,U){var ee=q(M);if(typeof ee!="function")throw Error(o(150));if(M=ee.call(M),M==null)throw Error(o(151));for(var ie=ee=null,se=j,ce=j=0,nt=null,Se=M.next();se!==null&&!Se.done;ce++,Se=M.next()){se.index>ce?(nt=se,se=null):nt=se.sibling;var dr=F(N,se,Se.value,U);if(dr===null){se===null&&(se=nt);break}e&&se&&dr.alternate===null&&n(N,se),j=m(dr,j,ce),ie===null?ee=dr:ie.sibling=dr,ie=dr,se=nt}if(Se.done)return i(N,se),De&&Rr(N,ce),ee;if(se===null){for(;!Se.done;
vendor: 33,645 bytes, lines 6-8
6ce++,Se=M.next())Se=z(N,Se.value,U),Se!==null&&(j=m(Se,j,ce),ie===null?ee=Se:ie.sibling=Se,ie=Se);return De&&Rr(N,ce),ee}for(se=l(N,se);!Se.done;ce++,Se=M.next())Se=K(se,N,ce,Se.value,U),Se!==null&&(e&&Se.alternate!==null&&se.delete(Se.key===null?ce:Se.key),j=m(Se,j,ce),ie===null?ee=Se:ie.sibling=Se,ie=Se);return e&&se.forEach(function(j0){return n(N,j0)}),De&&Rr(N,ce),ee}function We(N,j,M,U){if(typeof M=="object"&&M!==null&&M.type===ae&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case H:e:{for(var ee=M.key,ie=j;ie!==null;){if(ie.key===ee){if(ee=M.type,ee===ae){if(ie.tag===7){i(N,ie.sibling),j=d(ie,M.props.children),j.return=N,N=j;break e}}else if(ie.elementType===ee||typeof ee=="object"&&ee!==null&&ee.$$typeof===ue&&Uf(ee)===ie.type){i(N,ie.sibling),j=d(ie,M.props),j.ref=li(N,ie,M),j.return=N,N=j;break e}i(N,ie);break}else n(N,ie);ie=ie.sibling}M.type===ae?(j=Ir(M.props.children,N.mode,U,M.key),j.return=N,N=j):(U=na(M.type,M.key,M.props,null,N.mode,U),U.ref=li(N,j,M),U.return=N,N=U)}return x(N);case X:e:{for(ie=M.key;j!==null;){if(j.key===ie)if(j.tag===4&&j.stateNode.containerInfo===M.containerInfo&&j.stateNode.implementation===M.implementation){i(N,j.sibling),j=d(j,M.children||[]),j.return=N,N=j;break e}else{i(N,j);break}else n(N,j);j=j.sibling}j=bu(M,N.mode,U),j.return=N,N=j}return x(N);case ue:return ie=M._init,We(N,j,ie(M._payload),U)}if(br(M))return Z(N,j,M,U);if(q(M))return J(N,j,M,U);Ms(N,M)}return typeof M=="string"&&M!==""||typeof M=="number"?(M=""+M,j!==null&&j.tag===6?(i(N,j.sibling),j=d(j,M),j.return=N,N=j):(i(N,j),j=wu(M,N.mode,U),j.return=N,N=j),x(N)):i(N,j)}return We}var ao=Hf(!0),Wf=Hf(!1),Ls=er(null),Ds=null,lo=null,Al=null;function Nl(){Al=lo=Ds=null}function Ml(e){var n=Ls.current;Re(Ls),e._currentValue=n}function Ll(e,n,i){for(;e!==null;){var l=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,l!==null&&(l.childLanes|=n)):l!==null&&(l.childLanes&n)!==n&&(l.childLanes|=n),e===i)break;e=e.return}}function uo(e,n){Ds=e,Al=lo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&n)!==0&&(xt=!0),e.firstContext=null)}function $t(e){var n=e._currentValue;if(Al!==e)if(e={context:e,memoizedValue:n,next:null},lo===null){if(Ds===null)throw Error(o(308));lo=e,Ds.dependencies={lanes:0,firstContext:e}}else lo=lo.next=e;return n}var Ar=null;function Dl(e){Ar===null?Ar=[e]:Ar.push(e)}function Gf(e,n,i,l){var d=n.interleaved;return d===null?(i.next=i,Dl(n)):(i.next=d.next,d.next=i),n.interleaved=i,jn(e,l)}function jn(e,n){e.lanes|=n;var i=e.alternate;for(i!==null&&(i.lanes|=n),i=e,e=e.return;e!==null;)e.childLanes|=n,i=e.alternate,i!==null&&(i.childLanes|=n),i=e,e=e.return;return i.tag===3?i.stateNode:null}var rr=!1;function _l(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Kf(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Rn(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function or(e,n,i){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(we&2)!==0){var d=l.pending;return d===null?n.next=n:(n.next=d.next,d.next=n),l.pending=n,jn(e,i)}return d=l.interleaved,d===null?(n.next=n,Dl(l)):(n.next=d.next,d.next=n),l.interleaved=n,jn(e,i)}function _s(e,n,i){if(n=n.updateQueue,n!==null&&(n=n.shared,(i&4194240)!==0)){var l=n.lanes;l&=e.pendingLanes,i|=l,n.lanes=i,qa(e,i)}}function Yf(e,n){var i=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,i===l)){var d=null,m=null;if(i=i.firstBaseUpdate,i!==null){do{var x={eventTime:i.eventTime,lane:i.lane,tag:i.tag,payload:i.payload,callback:i.callback,next:null};m===null?d=m=x:m=m.next=x,i=i.next}while(i!==null);m===null?d=m=n:m=m.next=n}else d=m=n;i={baseState:l.baseState,firstBaseUpdate:d,lastBaseUpdate:m,shared:l.shared,effects:l.effects},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=n:e.next=n,i.lastBaseUpdate=n}function Os(e,n,i,l){var d=e.updateQueue;rr=!1;var m=d.firstBaseUpdate,x=d.lastBaseUpdate,S=d.shared.pending;if(S!==null){d.shared.pending=null;var C=S,L=C.next;C.next=null,x===null?m=L:x.next=L,x=C;var V=e.alternate;V!==null&&(V=V.updateQueue,S=V.lastBaseUpdate,S!==x&&(S===null?V.firstBaseUpdate=L:S.next=L,V.lastBaseUpdate=C))}if(m!==null){var z=d.baseState;x=0,V=L=C=null,S=m;do{var F=S.lane,K=S.eventTime;if((l&F)===F){V!==null&&(V=V.next={eventTime:K,lane:0,tag:S.tag,payload:S.payload,callback:S.callback,next:null});e:{var Z=e,J=S;switch(F=n,K=i,J.tag){case 1:if(Z=J.payload,typeof Z=="function"){z=Z.call(K,z,F);break e}z=Z;break e;case 3:Z.flags=Z.flags&-65537|128;case 0:if(Z=J.payload,F=typeof Z=="function"?Z.call(K,z,F):Z,F==null)break e;z=W({},z,F);break e;case 2:rr=!0}}S.callback!==null&&S.lane!==0&&(e.flags|=64,F=d.effects,F===null?d.effects=[S]:F.push(S))}else K={eventTime:K,lane:F,tag:S.tag,payload:S.payload,callback:S.callback,next:null},V===null?(L=V=K,C=z):V=V.next=K,x|=F;if(S=S.next,S===null){if(S=d.shared.pending,S===null)break;F=S,S=F.next,F.next=null,d.lastBaseUpdate=F,d.shared.pending=null}}while(!0);if(V===null&&(C=z),d.baseState=C,d.firstBaseUpdate=L,d.lastBaseUpdate=V,n=d.shared.interleaved,n!==null){d=n;do x|=d.lane,d=d.next;while(d!==n)}else m===null&&(d.shared.lanes=0);Lr|=x,e.lanes=x,e.memoizedState=z}}function qf(e,n,i){if(e=n.effects,n.effects=null,e!==null)for(n=0;n<e.length;n++){var l=e[n],d=l.callback;if(d!==null){if(l.callback=null,l=i,typeof d!="function")throw Error(o(191,d));d.call(l)}}}var ui={},dn=er(ui),ci=er(ui),di=er(ui);function Nr(e){if(e===ui)throw Error(o(174));return e}function Ol(e,n){switch(Pe(di,n),Pe(ci,e),Pe(dn,ui),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:Fo(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=Fo(n,e)}Re(dn),Pe(dn,n)}function co(){Re(dn),Re(ci),Re(di)}function Qf(e){Nr(di.current);var n=Nr(dn.current),i=Fo(n,e.type);n!==i&&(Pe(ci,e),Pe(dn,i))}function Il(e){ci.current===e&&(Re(dn),Re(ci))}var Ie=er(0);function Is(e){for(var n=e;n!==null;){if(n.tag===13){var i=n.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||i.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Fl=[];function Vl(){for(var e=0;e<Fl.length;e++)Fl[e]._workInProgressVersionPrimary=null;Fl.length=0}var Fs=O.ReactCurrentDispatcher,zl=O.ReactCurrentBatchConfig,Mr=0,Fe=null,Qe=null,et=null,Vs=!1,fi=!1,pi=0,Qx=0;function ct(){throw Error(o(321))}function Bl(e,n){if(n===null)return!1;for(var i=0;i<n.length&&i<e.length;i++)if(!Xt(e[i],n[i]))return!1;return!0}function $l(e,n,i,l,d,m){if(Mr=m,Fe=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,Fs.current=e===null||e.memoizedState===null?e0:t0,e=i(l,d),fi){m=0;do{if(fi=!1,pi=0,25<=m)throw Error(o(301));m+=1,et=Qe=null,n.updateQueue=null,Fs.current=n0,e=i(l,d)}while(fi)}if(Fs.current=$s,n=Qe!==null&&Qe.next!==null,Mr=0,et=Qe=Fe=null,Vs=!1,n)throw Error(o(300));return e}function Ul(){var e=pi!==0;return pi=0,e}function fn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return et===null?Fe.memoizedState=et=e:et=et.next=e,et}function Ut(){if(Qe===null){var e=Fe.alternate;e=e!==null?e.memoizedState:null}else e=Qe.next;var n=et===null?Fe.memoizedState:et.next;if(n!==null)et=n,Qe=e;else{if(e===null)throw Error(o(310));Qe=e,e={memoizedState:Qe.memoizedState,baseState:Qe.baseState,baseQueue:Qe.baseQueue,queue:Qe.queue,next:null},et===null?Fe.memoizedState=et=e:et=et.next=e}return et}function hi(e,n){return typeof n=="function"?n(e):n}function Hl(e){var n=Ut(),i=n.queue;if(i===null)throw Error(o(311));i.lastRenderedReducer=e;var l=Qe,d=l.baseQueue,m=i.pending;if(m!==null){if(d!==null){var x=d.next;d.next=m.next,m.next=x}l.baseQueue=d=m,i.pending=null}if(d!==null){m=d.next,l=l.baseState;var S=x=null,C=null,L=m;do{var V=L.lane;if((Mr&V)===V)C!==null&&(C=C.next={lane:0,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null}),l=L.hasEagerState?L.eagerState:e(l,L.action);else{var z={lane:V,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null};C===null?(S=C=z,x=l):C=C.next=z,Fe.lanes|=V,Lr|=V}L=L.next}while(L!==null&&L!==m);C===null?x=l:C.next=S,Xt(l,n.memoizedState)||(xt=!0),n.memoizedState=l,n.baseState=x,n.baseQueue=C,i.lastRenderedState=l}if(e=i.interleaved,e!==null){d=e;do m=d.lane,Fe.lanes|=m,Lr|=m,d=d.next;while(d!==e)}else d===null&&(i.lanes=0);return[n.memoizedState,i.dispatch]}function Wl(e){var n=Ut(),i=n.queue;if(i===null)throw Error(o(311));i.lastRenderedReducer=e;var l=i.dispatch,d=i.pending,m=n.memoizedState;if(d!==null){i.pending=null;var x=d=d.next;do m=e(m,x.action),x=x.next;while(x!==d);Xt(m,n.memoizedState)||(xt=!0),n.memoizedState=m,n.baseQueue===null&&(n.baseState=m),i.lastRenderedState=m}return[m,l]}function Xf(){}function Zf(e,n){var i=Fe,l=Ut(),d=n(),m=!Xt(l.memoizedState,d);if(m&&(l.memoizedState=d,xt=!0),l=l.queue,Gl(tp.bind(null,i,l,e),[e]),l.getSnapshot!==n||m||et!==null&&et.memoizedState.tag&1){if(i.flags|=2048,mi(9,ep.bind(null,i,l,d,n),void 0,null),tt===null)throw Error(o(349));(Mr&30)!==0||Jf(i,n,d)}return d}function Jf(e,n,i){e.flags|=16384,e={getSnapshot:n,value:i},n=Fe.updateQueue,n===null?(n={lastEffect:null,stores:null},Fe.updateQueue=n,n.stores=[e]):(i=n.stores,i===null?n.stores=[e]:i.push(e))}function ep(e,n,i,l){n.value=i,n.getSnapshot=l,np(n)&&rp(e)}function tp(e,n,i){return i(function(){np(n)&&rp(e)})}function np(e){var n=e.getSnapshot;e=e.value;try{var i=n();return!Xt(e,i)}catch{return!0}}function rp(e){var n=jn(e,1);n!==null&&nn(n,e,1,-1)}function op(e){var n=fn();return typeof e=="function"&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:hi,lastRenderedState:e},n.queue=e,e=e.dispatch=Jx.bind(null,Fe,e),[n.memoizedState,e]}function mi(e,n,i,l){return e={tag:e,create:n,destroy:i,deps:l,next:null},n=Fe.updateQueue,n===null?(n={lastEffect:null,stores:null},Fe.updateQueue=n,n.lastEffect=e.next=e):(i=n.lastEffect,i===null?n.lastEffect=e.next=e:(l=i.next,i.next=e,e.next=l,n.lastEffect=e)),e}function ip(){return Ut().memoizedState}function zs(e,n,i,l){var d=fn();Fe.flags|=e,d.memoizedState=mi(1|n,i,void 0,l===void 0?null:l)}function Bs(e,n,i,l){var d=Ut();l=l===void 0?null:l;var m=void 0;if(Qe!==null){var x=Qe.memoizedState;if(m=x.destroy,l!==null&&Bl(l,x.deps)){d.memoizedState=mi(n,i,m,l);return}}Fe.flags|=e,d.memoizedState=mi(1|n,i,m,l)}function sp(e,n){return zs(8390656,8,e,n)}function Gl(e,n){return Bs(2048,8,e,n)}function ap(e,n){return Bs(4,2,e,n)}function lp(e,n){return Bs(4,4,e,n)}function up(e,n){if(typeof n=="function")return e=e(),n(e),function(){n(null)};if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function cp(e,n,i){return i=i!=null?i.concat([e]):null,Bs(4,4,up.bind(null,n,e),i)}function Kl(){}function dp(e,n){var i=Ut();n=n===void 0?null:n;var l=i.memoizedState;return l!==null&&n!==null&&Bl(n,l[1])?l[0]:(i.memoizedState=[e,n],e)}function fp(e,n){var i=Ut();n=n===void 0?null:n;var l=i.memoizedState;return l!==null&&n!==null&&Bl(n,l[1])?l[0]:(e=e(),i.memoizedState=[e,n],e)}function pp(e,n,i){return(Mr&21)===0?(e.baseState&&(e.baseState=!1,xt=!0),e.memoizedState=i):(Xt(i,n)||(i=$d(),Fe.lanes|=i,Lr|=i,e.baseState=!0),n)}function Xx(e,n){var i=Ee;Ee=i!==0&&4>i?i:4,e(!0);var l=zl.transition;zl.transition={};try{e(!1),n()}finally{Ee=i,zl.transition=l}}function hp(){return Ut().memoizedState}function Zx(e,n,i){var l=lr(e);if(i={lane:l,action:i,hasEagerState:!1,eagerState:null,next:null},mp(e))gp(n,i);else if(i=Gf(e,n,i,l),i!==null){var d=gt();nn(i,e,l,d),yp(i,n,l)}}function Jx(e,n,i){var l=lr(e),d={lane:l,action:i,hasEagerState:!1,eagerState:null,next:null};if(mp(e))gp(n,d);else{var m=e.alternate;if(e.lanes===0&&(m===null||m.lanes===0)&&(m=n.lastRenderedReducer,m!==null))try{var x=n.lastRenderedState,S=m(x,i);if(d.hasEagerState=!0,d.eagerState=S,Xt(S,x)){var C=n.interleaved;C===null?(d.next=d,Dl(n)):(d.next=C.next,C.next=d),n.interleaved=d;return}}catch{}i=Gf(e,n,d,l),i!==null&&(d=gt(),nn(i,e,l,d),yp(i,n,l))}}function mp(e){var n=e.alternate;return e===Fe||n!==null&&n===Fe}function gp(e,n){fi=Vs=!0;var i=e.pending;i===null?n.next=n:(n.next=i.next,i.next=n),e.pending=n}function yp(e,n,i){if((i&4194240)!==0){var l=n.lanes;l&=e.pendingLanes,i|=l,n.lanes=i,qa(e,i)}}var $s={readContext:$t,useCallback:ct,useContext:ct,useEffect:ct,useImperativeHandle:ct,useInsertionEffect:ct,useLayoutEffect:ct,useMemo:ct,useReducer:ct,useRef:ct,useState:ct,useDebugValue:ct,useDeferredValue:ct,useTransition:ct,useMutableSource:ct,useSyncExternalStore:ct,useId:ct,unstable_isNewReconciler:!1},e0={readContext:$t,useCallback:function(e,n){return fn().memoizedState=[e,n===void 0?null:n],e},useContext:$t,useEffect:sp,useImperativeHandle:function(e,n,i){return i=i!=null?i.concat([e]):null,zs(4194308,4,up.bind(null,n,e),i)},useLayoutEffect:function(e,n){return zs(4194308,4,e,n)},useInsertionEffect:function(e,n){return zs(4,2,e,n)},useMemo:function(e,n){var i=fn();return n=n===void 0?null:n,e=e(),i.memoizedState=[e,n],e},useReducer:function(e,n,i){var l=fn();return n=i!==void 0?i(n):n,l.memoizedState=l.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},l.queue=e,e=e.dispatch=Zx.bind(null,Fe,e),[l.memoizedState,e]},useRef:function(e){var n=fn();return e={current:e},n.memoizedState=e},useState:op,useDebugValue:Kl,useDeferredValue:function(e){return fn().memoizedState=e},useTransition:function(){var e=op(!1),n=e[0];return e=Xx.bind(null,e[1]),fn().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,i){var l=Fe,d=fn();if(De){if(i===void 0)throw Error(o(407));i=i()}else{if(i=n(),tt===null)throw Error(o(349));(Mr&30)!==0||Jf(l,n,i)}d.memoizedState=i;var m={value:i,getSnapshot:n};return d.queue=m,sp(tp.bind(null,l,m,e),[e]),l.flags|=2048,mi(9,ep.bind(null,l,m,i,n),void 0,null),i},useId:function(){var e=fn(),n=tt.identifierPrefix;if(De){var i=Pn,l=Cn;i=(l&~(1<<32-Qt(l)-1)).toString(32)+i,n=":"+n+"R"+i,i=pi++,0<i&&(n+="H"+i.toString(32)),n+=":"}else i=Qx++,n=":"+n+"r"+i.toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},t0={readContext:$t,useCallback:dp,useContext:$t,useEffect:Gl,useImperativeHandle:cp,useInsertionEffect:ap,useLayoutEffect:lp,useMemo:fp,useReducer:Hl,useRef:ip,useState:function(){return Hl(hi)},useDebugValue:Kl,useDeferredValue:function(e){var n=Ut();return pp(n,Qe.memoizedState,e)},useTransition:function(){var e=Hl(hi)[0],n=Ut().memoizedState;return[e,n]},useMutableSource:Xf,useSyncExternalStore:Zf,useId:hp,unstable_isNewReconciler:!1},n0={readContext:$t,useCallback:dp,useContext:$t,useEffect:Gl,useImperativeHandle:cp,useInsertionEffect:ap,useLayoutEffect:lp,useMemo:fp,useReducer:Wl,useRef:ip,useState:function(){return Wl(hi)},useDebugValue:Kl,useDeferredValue:function(e){var n=Ut();return Qe===null?n.memoizedState=e:pp(n,Qe.memoizedState,e)},useTransition:function(){var e=Wl(hi)[0],n=Ut().memoizedState;return[e,n]},useMutableSource:Xf,useSyncExternalStore:Zf,useId:hp,unstable_isNewReconciler:!1};function Jt(e,n){if(e&&e.defaultProps){n=W({},n),e=e.defaultProps;for(var i in e)n[i]===void 0&&(n[i]=e[i]);return n}return n}function Yl(e,n,i,l){n=e.memoizedState,i=i(l,n),i=i==null?n:W({},n,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var Us={isMounted:function(e){return(e=e._reactInternals)?Er(e)===e:!1},enqueueSetState:function(e,n,i){e=e._reactInternals;var l=gt(),d=lr(e),m=Rn(l,d);m.payload=n,i!=null&&(m.callback=i),n=or(e,m,d),n!==null&&(nn(n,e,d,l),_s(n,e,d))},enqueueReplaceState:function(e,n,i){e=e._reactInternals;var l=gt(),d=lr(e),m=Rn(l,d);m.tag=1,m.payload=n,i!=null&&(m.callback=i),n=or(e,m,d),n!==null&&(nn(n,e,d,l),_s(n,e,d))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var i=gt(),l=lr(e),d=Rn(i,l);d.tag=2,n!=null&&(d.callback=n),n=or(e,d,l),n!==null&&(nn(n,e,l,i),_s(n,e,l))}};function vp(e,n,i,l,d,m,x){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,m,x):n.prototype&&n.prototype.isPureReactComponent?!ti(i,l)||!ti(d,m):!0}function xp(e,n,i){var l=!1,d=tr,m=n.contextType;return typeof m=="object"&&m!==null?m=$t(m):(d=vt(n)?Pr:ut.current,l=n.contextTypes,m=(l=l!=null)?ro(e,d):tr),n=new n(i,m),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=Us,e.stateNode=n,n._reactInternals=e,l&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=d,e.__reactInternalMemoizedMaskedChildContext=m),n}function wp(e,n,i,l){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(i,l),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(i,l),n.state!==e&&Us.enqueueReplaceState(n,n.state,null)}function ql(e,n,i,l){var d=e.stateNode;d.props=i,d.state=e.memoizedState,d.refs={},_l(e);var m=n.contextType;typeof m=="object"&&m!==null?d.context=$t(m):(m=vt(n)?Pr:ut.current,d.context=ro(e,m)),d.state=e.memoizedState,m=n.getDerivedStateFromProps,typeof m=="function"&&(Yl(e,n,m,i),d.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(n=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),n!==d.state&&Us.enqueueReplaceState(d,d.state,null),Os(e,i,d,l),d.state=e.memoizedState),typeof d.componentDidMount=="function"&&(e.flags|=4194308)}function fo(e,n){try{var i="",l=n;do i+=re(l),l=l.return;while(l);var d=i}catch(m){d=`
7Error generating stack: `+m.message+`
8`+m.stack}return{value:e,source:n,stack:d,digest:null}}function Ql(e,n,i){return{value:e,source:null,stack:i??null,digest:n??null}}function Xl(e,n){try{console.error(n.value)}catch(i){setTimeout(function(){throw i})}}var r0=typeof WeakMap=="function"?WeakMap:Map;function bp(e,n,i){i=Rn(-1,i),i.tag=3,i.payload={element:null};var l=n.value;return i.callback=function(){Qs||(Qs=!0,fu=l),Xl(e,n)},i}function Sp(e,n,i){i=Rn(-1,i),i.tag=3;var l=e.type.getDerivedStateFromError;if(typeof l=="function"){var d=n.value;i.payload=function(){return l(d)},i.callback=function(){Xl(e,n)}}var m=e.stateNode;return m!==null&&typeof m.componentDidCatch=="function"&&(i.callback=function(){Xl(e,n),typeof l!="function"&&(sr===null?sr=new Set([this]):sr.add(this));var x=n.stack;this.componentDidCatch(n.value,{componentStack:x!==null?x:""})}),i}function Tp(e,n,i){var l=e.pingCache;if(l===null){l=e.pingCache=new r0;var d=new Set;l.set(n,d)}else d=l.get(n),d===void 0&&(d=new Set,l.set(n,d));d.has(i)||(d.add(i),e=y0.bind(null,e,n,i),n.then(e,e))}function kp(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function Ep(e,n,i,l,d){return(e.mode&1)===0?(e===n?e.flags|=65536:(e.flags|=128,i.flags|=131072,i.flags&=-52805,i.tag===1&&(i.alternate===null?i.tag=17:(n=Rn(-1,1),n.tag=2,or(i,n,1))),i.lanes|=1),e):(e.flags|=65536,e.lanes=d,e)}var o0=O.ReactCurrentOwner,xt=!1;function mt(e,n,i,l){n.child=e===null?Wf(n,null,i,l):ao(n,e.child,i,l)}function Cp(e,n,i,l,d){i=i.render;var m=n.ref;return uo(n,d),l=$l(e,n,i,l,m,d),i=Ul(),e!==null&&!xt?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~d,An(e,n,d)):(De&&i&&El(n),n.flags|=1,mt(e,n,l,d),n.child)}function Pp(e,n,i,l,d){if(e===null){var m=i.type;return typeof m=="function"&&!xu(m)&&m.defaultProps===void 0&&i.compare===null&&i.defaultProps===void 0?(n.tag=15,n.type=m,jp(e,n,m,l,d)):(e=na(i.type,null,l,n,n.mode,d),e.ref=n.ref,e.return=n,n.child=e)}if(m=e.child,(e.lanes&d)===0){var x=m.memoizedProps;if(i=i.compare,i=i!==null?i:ti,i(x,l)&&e.ref===n.ref)return An(e,n,d)}return n.flags|=1,e=cr(m,l),e.ref=n.ref,e.return=n,n.child=e}function jp(e,n,i,l,d){if(e!==null){var m=e.memoizedProps;if(ti(m,l)&&e.ref===n.ref)if(xt=!1,n.pendingProps=l=m,(e.lanes&d)!==0)(e.flags&131072)!==0&&(xt=!0);else return n.lanes=e.lanes,An(e,n,d)}return Zl(e,n,i,l,d)}function Rp(e,n,i){var l=n.pendingProps,d=l.children,m=e!==null?e.memoizedState:null;if(l.mode==="hidden")if((n.mode&1)===0)n.memoizedState={baseLanes:0,cachePool:null,transitions:null},Pe(ho,Mt),Mt|=i;else{if((i&1073741824)===0)return e=m!==null?m.baseLanes|i:i,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,Pe(ho,Mt),Mt|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},l=m!==null?m.baseLanes:i,Pe(ho,Mt),Mt|=l}else m!==null?(l=m.baseLanes|i,n.memoizedState=null):l=i,Pe(ho,Mt),Mt|=l;return mt(e,n,d,i),n.child}function Ap(e,n){var i=n.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(n.flags|=512,n.flags|=2097152)}function Zl(e,n,i,l,d){var m=vt(i)?Pr:ut.current;return m=ro(n,m),uo(n,d),i=$l(e,n,i,l,m,d),l=Ul(),e!==null&&!xt?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~d,An(e,n,d)):(De&&l&&El(n),n.flags|=1,mt(e,n,i,d),n.child)}function Np(e,n,i,l,d){if(vt(i)){var m=!0;Ps(n)}else m=!1;if(uo(n,d),n.stateNode===null)Ws(e,n),xp(n,i,l),ql(n,i,l,d),l=!0;else if(e===null){var x=n.stateNode,S=n.memoizedProps;x.props=S;var C=x.context,L=i.contextType;typeof L=="object"&&L!==null?L=$t(L):(L=vt(i)?Pr:ut.current,L=ro(n,L));var V=i.getDerivedStateFromProps,z=typeof V=="function"||typeof x.getSnapshotBeforeUpdate=="function";z||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(S!==l||C!==L)&&wp(n,x,l,L),rr=!1;var F=n.memoizedState;x.state=F,Os(n,l,x,d),C=n.memoizedState,S!==l||F!==C||yt.current||rr?(typeof V=="function"&&(Yl(n,i,V,l),C=n.memoizedState),(S=rr||vp(n,i,S,l,F,C,L))?(z||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount()),typeof x.componentDidMount=="function"&&(n.flags|=4194308)):(typeof x.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=l,n.memoizedState=C),x.props=l,x.state=C,x.context=L,l=S):(typeof x.componentDidMount=="function"&&(n.flags|=4194308),l=!1)}else{x=n.stateNode,Kf(e,n),S=n.memoizedProps,L=n.type===n.elementType?S:Jt(n.type,S),x.props=L,z=n.pendingProps,F=x.context,C=i.contextType,typeof C=="object"&&C!==null?C=$t(C):(C=vt(i)?Pr:ut.current,C=ro(n,C));var K=i.getDerivedStateFromProps;(V=typeof K=="function"||typeof x.getSnapshotBeforeUpdate=="function")||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(S!==z||F!==C)&&wp(n,x,l,C),rr=!1,F=n.memoizedState,x.state=F,Os(n,l,x,d);var Z=n.memoizedState;S!==z||F!==Z||yt.current||rr?(typeof K=="function"&&(Yl(n,i,K,l),Z=n.memoizedState),(L=rr||vp(n,i,L,l,F,Z,C)||!1)?(V||typeof x.UNSAFE_componentWillUpdate!="function"&&typeof x.componentWillUpdate!="function"||(typeof x.componentWillUpdate=="function"&&x.componentWillUpdate(l,Z,C),typeof x.UNSAFE_componentWillUpdate=="function"&&x.UNSAFE_componentWillUpdate(l,Z,C)),typeof x.componentDidUpdate=="function"&&(n.flags|=4),typeof x.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof x.componentDidUpdate!="function"||S===e.memoizedProps&&F===e.memoizedState||(n.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||S===e.memoizedProps&&F===e.memoizedState||(n.flags|=1024),n.memoizedProps=l,n.memoizedState=Z),x.props=l,x.state=Z,x.context=C,l=L):(typeof x.componentDidUpdate!="function"||S===e.memoizedProps&&F===e.memoizedState||(n.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||S===e.memoizedProps&&F===e.memoizedState||(n.flags|=1024),l=!1)}return Jl(e,n,i,l,m,d)}function Jl(e,n,i,l,d,m){Ap(e,n);var x=(n.flags&128)!==0;if(!l&&!x)return d&&Of(n,i,!1),An(e,n,m);l=n.stateNode,o0.current=n;var S=x&&typeof i.getDerivedStateFromError!="function"?null:l.render();return n.flags|=1,e!==null&&x?(n.child=ao(n,e.child,null,m),n.child=ao(n,null,S,m)):mt(e,n,S,m),n.memoizedState=l.state,d&&Of(n,i,!0),n.child}function Mp(e){var n=e.stateNode;n.pendingContext?Df(e,n.pendingContext,n.pendingContext!==n.context):n.context&&Df(e,n.context,!1),Ol(e,n.containerInfo)}function Lp(e,n,i,l,d){return so(),Rl(d),n.flags|=256,mt(e,n,i,l),n.child}var eu={dehydrated:null,treeContext:null,retryLane:0};function tu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Dp(e,n,i){var l=n.pendingProps,d=Ie.current,m=!1,x=(n.flags&128)!==0,S;if((S=x)||(S=e!==null&&e.memoizedState===null?!1:(d&2)!==0),S?(m=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(d|=1),Pe(Ie,d&1),e===null)return jl(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((n.mode&1)===0?n.lanes=1:e.data==="$!"?n.lanes=8:n.lanes=1073741824,null):(x=l.children,e=l.fallback,m?(l=n.mode,m=n.child,x={mode:"hidden",children:x},(l&1)===0&&m!==null?(m.childLanes=0,m.pendingProps=x):m=ra(x,l,0,null),e=Ir(e,l,i,null),m.return=n,e.return=n,m.sibling=e,n.child=m,n.child.memoizedState=tu(i),n.memoizedState=eu,e):nu(n,x));if(d=e.memoizedState,d!==null&&(S=d.dehydrated,S!==null))return i0(e,n,x,l,S,d,i);if(m){m=l.fallback,x=n.mode,d=e.child,S=d.sibling;var C={mode:"hidden",children:l.children};return(x&1)===0&&n.child!==d?(l=n.child,l.childLanes=0,l.pendingProps=C,n.deletions=null):(l=cr(d,C),l.subtreeFlags=d.subtreeFlags&14680064),S!==null?m=cr(S,m):(m=Ir(m,x,i,null),m.flags|=2),m.return=n,l.return=n,l.sibling=m,n.child=l,l=m,m=n.child,x=e.child.memoizedState,x=x===null?tu(i):{baseLanes:x.baseLanes|i,cachePool:null,transitions:x.transitions},m.memoizedState=x,m.childLanes=e.childLanes&~i,n.memoizedState=eu,l}return m=e.child,e=m.sibling,l=cr(m,{mode:"visible",children:l.children}),(n.mode&1)===0&&(l.lanes=i),l.return=n,l.sibling=null,e!==null&&(i=n.deletions,i===null?(n.deletions=[e],n.flags|=16):i.push(e)),n.child=l,n.memoizedState=null,l}function nu(e,n){return n=ra({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function Hs(e,n,i,l){return l!==null&&Rl(l),ao(n,e.child,null,i),e=nu(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function i0(e,n,i,l,d,m,x){if(i)return n.flags&256?(n.flags&=-257,l=Ql(Error(o(422))),Hs(e,n,x,l)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(m=l.fallback,d=n.mode,l=ra({mode:"visible",children:l.children},d,0,null),m=Ir(m,d,x,null),m.flags|=2,l.return=n,m.return=n,l.sibling=m,n.child=l,(n.mode&1)!==0&&ao(n,e.child,null,x),n.child.memoizedState=tu(x),n.memoizedState=eu,m);if((n.mode&1)===0)return Hs(e,n,x,null);if(d.data==="$!"){if(l=d.nextSibling&&d.nextSibling.dataset,l)var S=l.dgst;return l=S,m=Error(o(419)),l=Ql(m,l,void 0),Hs(e,n,x,l)}if(S=(x&e.childLanes)!==0,xt||S){if(l=tt,l!==null){switch(x&-x){case 4:d=2;break;case 16:d=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:d=32;break;case 536870912:d=268435456;break;default:d=0}d=(d&(l.suspendedLanes|x))!==0?0:d,d!==0&&d!==m.retryLane&&(m.retryLane=d,jn(e,d),nn(l,e,d,-1))}return vu(),l=Ql(Error(o(421))),Hs(e,n,x,l)}return d.data==="$?"?(n.flags|=128,n.child=e.child,n=v0.bind(null,e),d._reactRetry=n,null):(e=m.treeContext,Nt=Jn(d.nextSibling),At=n,De=!0,Zt=null,e!==null&&(zt[Bt++]=Cn,zt[Bt++]=Pn,zt[Bt++]=jr,Cn=e.id,Pn=e.overflow,jr=n),n=nu(n,l.children),n.flags|=4096,n)}function _p(e,n,i){e.lanes|=n;var l=e.alternate;l!==null&&(l.lanes|=n),Ll(e.return,n,i)}function ru(e,n,i,l,d){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:l,tail:i,tailMode:d}:(m.isBackwards=n,m.rendering=null,m.renderingStartTime=0,m.last=l,m.tail=i,m.tailMode=d)}function Op(e,n,i){var l=n.pendingProps,d=l.revealOrder,m=l.tail;if(mt(e,n,l.children,i),l=Ie.current,(l&2)!==0)l=l&1|2,n.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&_p(e,i,n);else if(e.tag===19)_p(e,i,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}l&=1}if(Pe(Ie,l),(n.mode&1)===0)n.memoizedState=null;else switch(d){case"forwards":for(i=n.child,d=null;i!==null;)e=i.alternate,e!==null&&Is(e)===null&&(d=i),i=i.sibling;i=d,i===null?(d=n.child,n.child=null):(d=i.sibling,i.sibling=null),ru(n,!1,d,i,m);break;case"backwards":for(i=null,d=n.child,n.child=null;d!==null;){if(e=d.alternate,e!==null&&Is(e)===null){n.child=d;break}e=d.sibling,d.sibling=i,i=d,d=e}ru(n,!0,i,null,m);break;case"together":ru(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Ws(e,n){(n.mode&1)===0&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function An(e,n,i){if(e!==null&&(n.dependencies=e.dependencies),Lr|=n.lanes,(i&n.childLanes)===0)return null;if(e!==null&&n.child!==e.child)throw Error(o(153));if(n.child!==null){for(e=n.child,i=cr(e,e.pendingProps),n.child=i,i.return=n;e.sibling!==null;)e=e.sibling,i=i.sibling=cr(e,e.pendingProps),i.return=n;i.sibling=null}return n.child}function s0(e,n,i){switch(n.tag){case 3:Mp(n),so();break;case 5:Qf(n);break;case 1:vt(n.type)&&Ps(n);break;case 4:Ol(n,n.stateNode.containerInfo);break;case 10:var l=n.type._context,d=n.memoizedProps.value;Pe(Ls,l._currentValue),l._currentValue=d;break;case 13:if(l=n.memoizedState,l!==null)return l.dehydrated!==null?(Pe(Ie,Ie.current&1),n.flags|=128,null):(i&n.child.childLanes)!==0?Dp(e,n,i):(Pe(Ie,Ie.current&1),e=An(e,n,i),e!==null?e.sibling:null);Pe(Ie,Ie.current&1);break;case 19:if(l=(i&n.childLanes)!==0,(e.flags&128)!==0){if(l)return Op(e,n,i);n.flags|=128}if(d=n.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),Pe(Ie,Ie.current),l)break;return null;case 22:case 23:return n.lanes=0,Rp(e,n,i)}return An(e,n,i)}var Ip,ou,Fp,Vp;Ip=function(e,n){for(var i=n.child;i!==null;){if(i.tag===5||i.tag===6)e.appendChild(i.stateNode);else if(i.tag!==4&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},ou=function(){},Fp=function(e,n,i,l){var d=e.memoizedProps;if(d!==l){e=n.stateNode,Nr(dn.current);var m=null;switch(i){case"input":d=wr(e,d),l=wr(e,l),m=[];break;case"select":d=W({},d,{value:void 0}),l=W({},l,{value:void 0}),m=[];break;case"textarea":d=rt(e,d),l=rt(e,l),m=[];break;default:typeof d.onClick!="function"&&typeof l.onClick=="function"&&(e.onclick=ks)}Kr(i,l);var x;i=null;for(L in d)if(!l.hasOwnProperty(L)&&d.hasOwnProperty(L)&&d[L]!=null)if(L==="style"){var S=d[L];for(x in S)S.hasOwnProperty(x)&&(i||(i={}),i[x]="")}else L!=="dangerouslySetInnerHTML"&&L!=="children"&&L!=="suppressContentEditableWarning"&&L!=="suppressHydrationWarning"&&L!=="autoFocus"&&(a.hasOwnProperty(L)?m||(m=[]):(m=m||[]).push(L,null));for(L in l){var C=l[L];if(S=d?.[L],l.hasOwnProperty(L)&&C!==S&&(C!=null||S!=null))if(L==="style")if(S){for(x in S)!S.hasOwnProperty(x)||C&&C.hasOwnProperty(x)||(i||(i={}),i[x]="");for(x in C)C.hasOwnProperty(x)&&S[x]!==C[x]&&(i||(i={}),i[x]=C[x])}else i||(m||(m=[]),m.push(L,i)),i=C;else L==="dangerouslySetInnerHTML"?(C=C?C.__html:void 0,S=S?S.__html:void 0,C!=null&&S!==C&&(m=m||[]).push(L,C)):L==="children"?typeof C!="string"&&typeof C!="number"||(m=m||[]).push(L,""+C):L!=="suppressContentEditableWarning"&&L!=="suppressHydrationWarning"&&(a.hasOwnProperty(L)?(C!=null&&L==="onScroll"&&je("scroll",e),m||S===C||(m=[])):(m=m||[]).push(L,C))}i&&(m=m||[]).push("style",i);var L=m;(n.updateQueue=L)&&(n.flags|=4)}},Vp=function(e,n,i,l){i!==l&&(n.flags|=4)};function gi(e,n){if(!De)switch(e.tailMode){case"hidden":n=e.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e.tail=null:i.sibling=null;break;case"collapsed":i=e.tail;for(var l=null;i!==null;)i.alternate!==null&&(l=i),i=i.sibling;l===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function dt(e){var n=e.alternate!==null&&e.alternate.child===e.child,i=0,l=0;if(n)for(var d=e.child;d!==null;)i|=d.lanes|d.childLanes,l|=d.subtreeFlags&14680064,l|=d.flags&14680064,d.return=e,d=d.sibling;else for(d=e.child;d!==null;)i|=d.lanes|d.childLanes,l|=d.subtreeFlags,l|=d.flags,d.return=e,d=d.sibling;return e.subtreeFlags|=l,e.childLanes=i,n}function a0(e,n,i){var l=n.pendingProps;switch(Cl(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return dt(n),null;case 1:return vt(n.type)&&Cs(),dt(n),null;case 3:return l=n.stateNode,co(),Re(yt),Re(ut),Vl(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Ns(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,Zt!==null&&(mu(Zt),Zt=null))),ou(e,n),dt(n),null;case 5:Il(n);var d=Nr(di.current);if(i=n.type,e!==null&&n.stateNode!=null)Fp(e,n,i,l,d),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!l){if(n.stateNode===null)throw Error(o(166));return dt(n),null}if(e=Nr(dn.current),Ns(n)){l=n.stateNode,i=n.type;var m=n.memoizedProps;switch(l[cn]=n,l[si]=m,e=(n.mode&1)!==0,i){case"dialog":je("cancel",l),je("
8close",l);break;case"iframe":case"object":case"embed":je("load",l);break;case"video":case"audio":for(d=0;d<ri.length;d++)je(ri[d],l);break;case"source":je("error",l);break;case"img":case"image":case"link":je("error",l),je("load",l);break;case"details":je("toggle",l);break;case"input":Ji(l,m),je("invalid",l);break;case"select":l._wrapperState={wasMultiple:!!m.multiple},je("invalid",l);break;case"textarea":Sn(l,m),je("invalid",l)}Kr(i,m),d=null;for(var x in m)if(m.hasOwnProperty(x)){var S=m[x];x==="children"?typeof S=="string"?l.textContent!==S&&(m.suppressHydrationWarning!==!0&&Ts(l.textContent,S,e),d=["children",S]):typeof S=="number"&&l.textContent!==""+S&&(m.suppressHydrationWarning!==!0&&Ts(l.textContent,S,e),d=["children",""+S]):a.hasOwnProperty(x)&&S!=null&&x==="onScroll"&&je("scroll",l)}switch(i){case"input":xn(l),Io(l,m,!0);break;case"textarea":xn(l),ts(l);break;case"select":case"option":break;default:typeof m.onClick=="function"&&(l.onclick=ks)}l=d,n.updateQueue=l,l!==null&&(n.flags|=4)}else{x=d.nodeType===9?d:d.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Sr(i)),e==="http://www.w3.org/1999/xhtml"?i==="script"?(e=x.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof l.is=="string"?e=x.createElement(i,{is:l.is}):(e=x.createElement(i),i==="select"&&(x=e,l.multiple?x.multiple=!0:l.size&&(x.size=l.size))):e=x.createElementNS(e,i),e[cn]=n,e[si]=l,Ip(e,n,!1,!1),n.stateNode=e;e:{switch(x=Vo(i,l),i){case"dialog":je("cancel",e),je("close",e),d=l;break;case"iframe":case"object":case"embed":je("load",e),d=l;break;case"video":case"audio":for(d=0;d<ri.length;d++)je(ri[d],e);d=l;break;case"source":je("error",e),d=l;break;case"img":case"image":case"link":je("error",e),je("load",e),d=l;break;case"details":je("toggle",e),d=l;break;case"input":Ji(e,l),d=wr(e,l),je("invalid",e);break;case"option":d=l;break;case"select":e._wrapperState={wasMultiple:!!l.multiple},d=W({},l,{value:void 0}),je("invalid",e);break;case"textarea":Sn(e,l),d=rt(e,l),je("invalid",e);break;default:d=l}Kr(i,d),S=d;for(m in S)if(S.hasOwnProperty(m)){var C=S[m];m==="style"?rs(e,C):m==="dangerouslySetInnerHTML"?(C=C?C.__html:void 0,C!=null&&Gr(e,C)):m==="children"?typeof C=="string"?(i!=="textarea"||C!=="")&&It(e,C):typeof C=="number"&&It(e,""+C):m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&m!=="autoFocus"&&(a.hasOwnProperty(m)?C!=null&&m==="onScroll"&&je("scroll",e):C!=null&&_(e,m,C,x))}switch(i){case"input":xn(e),Io(e,l,!1);break;case"textarea":xn(e),ts(e);break;case"option":l.value!=null&&e.setAttribute("value",""+oe(l.value));break;case"select":e.multiple=!!l.multiple,m=l.value,m!=null?zn(e,!!l.multiple,m,!1):l.defaultValue!=null&&zn(e,!!l.multiple,l.defaultValue,!0);break;default:typeof d.onClick=="function"&&(e.onclick=ks)}switch(i){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}}l&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return dt(n),null;case 6:if(e&&n.stateNode!=null)Vp(e,n,e.memoizedProps,l);else{if(typeof l!="string"&&n.stateNode===null)throw Error(o(166));if(i=Nr(di.current),Nr(dn.current),Ns(n)){if(l=n.stateNode,i=n.memoizedProps,l[cn]=n,(m=l.nodeValue!==i)&&(e=At,e!==null))switch(e.tag){case 3:Ts(l.nodeValue,i,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ts(l.nodeValue,i,(e.mode&1)!==0)}m&&(n.flags|=4)}else l=(i.nodeType===9?i:i.ownerDocument).createTextNode(l),l[cn]=n,n.stateNode=l}return dt(n),null;case 13:if(Re(Ie),l=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(De&&Nt!==null&&(n.mode&1)!==0&&(n.flags&128)===0)$f(),so(),n.flags|=98560,m=!1;else if(m=Ns(n),l!==null&&l.dehydrated!==null){if(e===null){if(!m)throw Error(o(318));if(m=n.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(o(317));m[cn]=n}else so(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;dt(n),m=!1}else Zt!==null&&(mu(Zt),Zt=null),m=!0;if(!m)return n.flags&65536?n:null}return(n.flags&128)!==0?(n.lanes=i,n):(l=l!==null,l!==(e!==null&&e.memoizedState!==null)&&l&&(n.child.flags|=8192,(n.mode&1)!==0&&(e===null||(Ie.current&1)!==0?Xe===0&&(Xe=3):vu())),n.updateQueue!==null&&(n.flags|=4),dt(n),null);case 4:return co(),ou(e,n),e===null&&oi(n.stateNode.containerInfo),dt(n),null;case 10:return Ml(n.type._context),dt(n),null;case 17:return vt(n.type)&&Cs(),dt(n),null;case 19:if(Re(Ie),m=n.memoizedState,m===null)return dt(n),null;if(l=(n.flags&128)!==0,x=m.rendering,x===null)if(l)gi(m,!1);else{if(Xe!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(x=Is(e),x!==null){for(n.flags|=128,gi(m,!1),l=x.updateQueue,l!==null&&(n.updateQueue=l,n.flags|=4),n.subtreeFlags=0,l=i,i=n.child;i!==null;)m=i,e=l,m.flags&=14680066,x=m.alternate,x===null?(m.childLanes=0,m.lanes=e,m.child=null,m.subtreeFlags=0,m.memoizedProps=null,m.memoizedState=null,m.updateQueue=null,m.dependencies=null,m.stateNode=null):(m.childLanes=x.childLanes,m.lanes=x.lanes,m.child=x.child,m.subtreeFlags=0,m.deletions=null,m.memoizedProps=x.memoizedProps,m.memoizedState=x.memoizedState,m.updateQueue=x.updateQueue,m.type=x.type,e=x.dependencies,m.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),i=i.sibling;return Pe(Ie,Ie.current&1|2),n.child}e=e.sibling}m.tail!==null&&He()>mo&&(n.flags|=128,l=!0,gi(m,!1),n.lanes=4194304)}else{if(!l)if(e=Is(x),e!==null){if(n.flags|=128,l=!0,i=e.updateQueue,i!==null&&(n.updateQueue=i,n.flags|=4),gi(m,!0),m.tail===null&&m.tailMode==="hidden"&&!x.alternate&&!De)return dt(n),null}else 2*He()-m.renderingStartTime>mo&&i!==1073741824&&(n.flags|=128,l=!0,gi(m,!1),n.lanes=4194304);m.isBackwards?(x.sibling=n.child,n.child=x):(i=m.last,i!==null?i.sibling=x:n.child=x,m.last=x)}return m.tail!==null?(n=m.tail,m.rendering=n,m.tail=n.sibling,m.renderingStartTime=He(),n.sibling=null,i=Ie.current,Pe(Ie,l?i&1|2
vendor: 23,374 bytes, line 8
8:i&1),n):(dt(n),null);case 22:case 23:return yu(),l=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==l&&(n.flags|=8192),l&&(n.mode&1)!==0?(Mt&1073741824)!==0&&(dt(n),n.subtreeFlags&6&&(n.flags|=8192)):dt(n),null;case 24:return null;case 25:return null}throw Error(o(156,n.tag))}function l0(e,n){switch(Cl(n),n.tag){case 1:return vt(n.type)&&Cs(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return co(),Re(yt),Re(ut),Vl(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 5:return Il(n),null;case 13:if(Re(Ie),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(o(340));so()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return Re(Ie),null;case 4:return co(),null;case 10:return Ml(n.type._context),null;case 22:case 23:return yu(),null;case 24:return null;default:return null}}var Gs=!1,ft=!1,u0=typeof WeakSet=="function"?WeakSet:Set,Q=null;function po(e,n){var i=e.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(l){Be(e,n,l)}else i.current=null}function iu(e,n,i){try{i()}catch(l){Be(e,n,l)}}var zp=!1;function c0(e,n){if(yl=fs,e=vf(),ul(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var l=i.getSelection&&i.getSelection();if(l&&l.rangeCount!==0){i=l.anchorNode;var d=l.anchorOffset,m=l.focusNode;l=l.focusOffset;try{i.nodeType,m.nodeType}catch{i=null;break e}var x=0,S=-1,C=-1,L=0,V=0,z=e,F=null;t:for(;;){for(var K;z!==i||d!==0&&z.nodeType!==3||(S=x+d),z!==m||l!==0&&z.nodeType!==3||(C=x+l),z.nodeType===3&&(x+=z.nodeValue.length),(K=z.firstChild)!==null;)F=z,z=K;for(;;){if(z===e)break t;if(F===i&&++L===d&&(S=x),F===m&&++V===l&&(C=x),(K=z.nextSibling)!==null)break;z=F,F=z.parentNode}z=K}i=S===-1||C===-1?null:{start:S,end:C}}else i=null}i=i||{start:0,end:0}}else i=null;for(vl={focusedElem:e,selectionRange:i},fs=!1,Q=n;Q!==null;)if(n=Q,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,Q=e;else for(;Q!==null;){n=Q;try{var Z=n.alternate;if((n.flags&1024)!==0)switch(n.tag){case 0:case 11:case 15:break;case 1:if(Z!==null){var J=Z.memoizedProps,We=Z.memoizedState,N=n.stateNode,j=N.getSnapshotBeforeUpdate(n.elementType===n.type?J:Jt(n.type,J),We);N.__reactInternalSnapshotBeforeUpdate=j}break;case 3:var M=n.stateNode.containerInfo;M.nodeType===1?M.textContent="":M.nodeType===9&&M.documentElement&&M.removeChild(M.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch(U){Be(n,n.return,U)}if(e=n.sibling,e!==null){e.return=n.return,Q=e;break}Q=n.return}return Z=zp,zp=!1,Z}function yi(e,n,i){var l=n.updateQueue;if(l=l!==null?l.lastEffect:null,l!==null){var d=l=l.next;do{if((d.tag&e)===e){var m=d.destroy;d.destroy=void 0,m!==void 0&&iu(n,i,m)}d=d.next}while(d!==l)}}function Ks(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&e)===e){var l=i.create;i.destroy=l()}i=i.next}while(i!==n)}}function su(e){var n=e.ref;if(n!==null){var i=e.stateNode;e.tag,e=i,typeof n=="function"?n(e):n.current=e}}function Bp(e){var n=e.alternate;n!==null&&(e.alternate=null,Bp(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[cn],delete n[si],delete n[Sl],delete n[Gx],delete n[Kx])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function $p(e){return e.tag===5||e.tag===3||e.tag===4}function Up(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||$p(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function au(e,n,i){var l=e.tag;if(l===5||l===6)e=e.stateNode,n?i.nodeType===8?i.parentNode.insertBefore(e,n):i.insertBefore(e,n):(i.nodeType===8?(n=i.parentNode,n.insertBefore(e,i)):(n=i,n.appendChild(e)),i=i._reactRootContainer,i!=null||n.onclick!==null||(n.onclick=ks));else if(l!==4&&(e=e.child,e!==null))for(au(e,n,i),e=e.sibling;e!==null;)au(e,n,i),e=e.sibling}function lu(e,n,i){var l=e.tag;if(l===5||l===6)e=e.stateNode,n?i.insertBefore(e,n):i.appendChild(e);else if(l!==4&&(e=e.child,e!==null))for(lu(e,n,i),e=e.sibling;e!==null;)lu(e,n,i),e=e.sibling}var it=null,en=!1;function ir(e,n,i){for(i=i.child;i!==null;)Hp(e,n,i),i=i.sibling}function Hp(e,n,i){if(un&&typeof un.onCommitFiberUnmount=="function")try{un.onCommitFiberUnmount(ss,i)}catch{}switch(i.tag){case 5:ft||po(i,n);case 6:var l=it,d=en;it=null,ir(e,n,i),it=l,en=d,it!==null&&(en?(e=it,i=i.stateNode,e.nodeType===8?e.parentNode.removeChild(i):e.removeChild(i)):it.removeChild(i.stateNode));break;case 18:it!==null&&(en?(e=it,i=i.stateNode,e.nodeType===8?bl(e.parentNode,i):e.nodeType===1&&bl(e,i),qo(e)):bl(it,i.stateNode));break;case 4:l=it,d=en,it=i.stateNode.containerInfo,en=!0,ir(e,n,i),it=l,en=d;break;case 0:case 11:case 14:case 15:if(!ft&&(l=i.updateQueue,l!==null&&(l=l.lastEffect,l!==null))){d=l=l.next;do{var m=d,x=m.destroy;m=m.tag,x!==void 0&&((m&2)!==0||(m&4)!==0)&&iu(i,n,x),d=d.next}while(d!==l)}ir(e,n,i);break;case 1:if(!ft&&(po(i,n),l=i.stateNode,typeof l.componentWillUnmount=="function"))try{l.props=i.memoizedProps,l.state=i.memoizedState,l.componentWillUnmount()}catch(S){Be(i,n,S)}ir(e,n,i);break;case 21:ir(e,n,i);break;case 22:i.mode&1?(ft=(l=ft)||i.memoizedState!==null,ir(e,n,i),ft=l):ir(e,n,i);break;default:ir(e,n,i)}}function Wp(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new u0),n.forEach(function(l){var d=x0.bind(null,e,l);i.has(l)||(i.add(l),l.then(d,d))})}}function tn(e,n){var i=n.deletions;if(i!==null)for(var l=0;l<i.length;l++){var d=i[l];try{var m=e,x=n,S=x;e:for(;S!==null;){switch(S.tag){case 5:it=S.stateNode,en=!1;break e;case 3:it=S.stateNode.containerInfo,en=!0;break e;case 4:it=S.stateNode.containerInfo,en=!0;break e}S=S.return}if(it===null)throw Error(o(160));Hp(m,x,d),it=null,en=!1;var C=d.alternate;C!==null&&(C.return=null),d.return=null}catch(L){Be(d,n,L)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)Gp(n,e),n=n.sibling}function Gp(e,n){var i=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(tn(n,e),pn(e),l&4){try{yi(3,e,e.return),Ks(3,e)}catch(J){Be(e,e.return,J)}try{yi(5,e,e.return)}catch(J){Be(e,e.return,J)}}break;case 1:tn(n,e),pn(e),l&512&&i!==null&&po(i,i.return);break;case 5:if(tn(n,e),pn(e),l&512&&i!==null&&po(i,i.return),e.flags&32){var d=e.stateNode;try{It(d,"")}catch(J){Be(e,e.return,J)}}if(l&4&&(d=e.stateNode,d!=null)){var m=e.memoizedProps,x=i!==null?i.memoizedProps:m,S=e.type,C=e.updateQueue;if(e.updateQueue=null,C!==null)try{S==="input"&&m.type==="radio"&&m.name!=null&&Oo(d,m),Vo(S,x);var L=Vo(S,m);for(x=0;x<C.length;x+=2){var V=C[x],z=C[x+1];V==="style"?rs(d,z):V==="dangerouslySetInnerHTML"?Gr(d,z):V==="children"?It(d,z):_(d,V,z,L)}switch(S){case"input":bn(d,m);break;case"textarea":es(d,m);break;case"select":var F=d._wrapperState.wasMultiple;d._wrapperState.wasMultiple=!!m.multiple;var K=m.value;K!=null?zn(d,!!m.multiple,K,!1):F!==!!m.multiple&&(m.defaultValue!=null?zn(d,!!m.multiple,m.defaultValue,!0):zn(d,!!m.multiple,m.multiple?[]:"",!1))}d[si]=m}catch(J){Be(e,e.return,J)}}break;case 6:if(tn(n,e),pn(e),l&4){if(e.stateNode===null)throw Error(o(162));d=e.stateNode,m=e.memoizedProps;try{d.nodeValue=m}catch(J){Be(e,e.return,J)}}break;case 3:if(tn(n,e),pn(e),l&4&&i!==null&&i.memoizedState.isDehydrated)try{qo(n.containerInfo)}catch(J){Be(e,e.return,J)}break;case 4:tn(n,e),pn(e);break;case 13:tn(n,e),pn(e),d=e.child,d.flags&8192&&(m=d.memoizedState!==null,d.stateNode.isHidden=m,!m||d.alternate!==null&&d.alternate.memoizedState!==null||(du=He())),l&4&&Wp(e);break;case 22:if(V=i!==null&&i.memoizedState!==null,e.mode&1?(ft=(L=ft)||V,tn(n,e),ft=L):tn(n,e),pn(e),l&8192){if(L=e.memoizedState!==null,(e.stateNode.isHidden=L)&&!V&&(e.mode&1)!==0)for(Q=e,V=e.child;V!==null;){for(z=Q=V;Q!==null;){switch(F=Q,K=F.child,F.tag){case 0:case 11:case 14:case 15:yi(4,F,F.return);break;case 1:po(F,F.return);var Z=F.stateNode;if(typeof Z.componentWillUnmount=="function"){l=F,i=F.return;try{n=l,Z.props=n.memoizedProps,Z.state=n.memoizedState,Z.componentWillUnmount()}catch(J){Be(l,i,J)}}break;case 5:po(F,F.return);break;case 22:if(F.memoizedState!==null){qp(z);continue}}K!==null?(K.return=F,Q=K):qp(z)}V=V.sibling}e:for(V=null,z=e;;){if(z.tag===5){if(V===null){V=z;try{d=z.stateNode,L?(m=d.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none"):(S=z.stateNode,C=z.memoizedProps.style,x=C!=null&&C.hasOwnProperty("display")?C.display:null,S.style.display=ns("display",x))}catch(J){Be(e,e.return,J)}}}else if(z.tag===6){if(V===null)try{z.stateNode.nodeValue=L?"":z.memoizedProps}catch(J){Be(e,e.return,J)}}else if((z.tag!==22&&z.tag!==23||z.memoizedState===null||z===e)&&z.child!==null){z.child.return=z,z=z.child;continue}if(z===e)break e;for(;z.sibling===null;){if(z.return===null||z.return===e)break e;V===z&&(V=null),z=z.return}V===z&&(V=null),z.sibling.return=z.return,z=z.sibling}}break;case 19:tn(n,e),pn(e),l&4&&Wp(e);break;case 21:break;default:tn(n,e),pn(e)}}function pn(e){var n=e.flags;if(n&2){try{e:{for(var i=e.return;i!==null;){if($p(i)){var l=i;break e}i=i.return}throw Error(o(160))}switch(l.tag){case 5:var d=l.stateNode;l.flags&32&&(It(d,""),l.flags&=-33);var m=Up(e);lu(e,m,d);break;case 3:case 4:var x=l.stateNode.containerInfo,S=Up(e);au(e,S,x);break;default:throw Error(o(161))}}catch(C){Be(e,e.return,C)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function d0(e,n,i){Q=e,Kp(e)}function Kp(e,n,i){for(var l=(e.mode&1)!==0;Q!==null;){var d=Q,m=d.child;if(d.tag===22&&l){var x=d.memoizedState!==null||Gs;if(!x){var S=d.alternate,C=S!==null&&S.memoizedState!==null||ft;S=Gs;var L=ft;if(Gs=x,(ft=C)&&!L)for(Q=d;Q!==null;)x=Q,C=x.child,x.tag===22&&x.memoizedState!==null?Qp(d):C!==null?(C.return=x,Q=C):Qp(d);for(;m!==null;)Q=m,Kp(m),m=m.sibling;Q=d,Gs=S,ft=L}Yp(e)}else(d.subtreeFlags&8772)!==0&&m!==null?(m.return=d,Q=m):Yp(e)}}function Yp(e){for(;Q!==null;){var n=Q;if((n.flags&8772)!==0){var i=n.alternate;try{if((n.flags&8772)!==0)switch(n.tag){case 0:case 11:case 15:ft||Ks(5,n);break;case 1:var l=n.stateNode;if(n.flags&4&&!ft)if(i===null)l.componentDidMount();else{var d=n.elementType===n.type?i.memoizedProps:Jt(n.type,i.memoizedProps);l.componentDidUpdate(d,i.memoizedState,l.__reactInternalSnapshotBeforeUpdate)}var m=n.updateQueue;m!==null&&qf(n,m,l);break;case 3:var x=n.updateQueue;if(x!==null){if(i=null,n.child!==null)switch(n.child.tag){case 5:i=n.child.stateNode;break;case 1:i=n.child.stateNode}qf(n,x,i)}break;case 5:var S=n.stateNode;if(i===null&&n.flags&4){i=S;var C=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":C.autoFocus&&i.focus();break;case"img":C.src&&(i.src=C.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var L=n.alternate;if(L!==null){var V=L.memoizedState;if(V!==null){var z=V.dehydrated;z!==null&&qo(z)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(o(163))}ft||n.flags&512&&su(n)}catch(F){Be(n,n.return,F)}}if(n===e){Q=null;break}if(i=n.sibling,i!==null){i.return=n.return,Q=i;break}Q=n.return}}function qp(e){for(;Q!==null;){var n=Q;if(n===e){Q=null;break}var i=n.sibling;if(i!==null){i.return=n.return,Q=i;break}Q=n.return}}function Qp(e){for(;Q!==null;){var n=Q;try{switch(n.tag){case 0:case 11:case 15:var i=n.return;try{Ks(4,n)}catch(C){Be(n,i,C)}break;case 1:var l=n.stateNode;if(typeof l.componentDidMount=="function"){var d=n.return;try{l.componentDidMount()}catch(C){Be(n,d,C)}}var m=n.return;try{su(n)}catch(C){Be(n,m,C)}break;case 5:var x=n.return;try{su(n)}catch(C){Be(n,x,C)}}}catch(C){Be(n,n.return,C)}if(n===e){Q=null;break}var S=n.sibling;if(S!==null){S.return=n.return,Q=S;break}Q=n.return}}var f0=Math.ceil,Ys=O.ReactCurrentDispatcher,uu=O.ReactCurrentOwner,Ht=O.ReactCurrentBatchConfig,we=0,tt=null,Ye=null,st=0,Mt=0,ho=er(0),Xe=0,vi=null,Lr=0,qs=0,cu=0,xi=null,wt=null,du=0,mo=1/0,Nn=null,Qs=!1,fu=null,sr=null,Xs=!1,ar=null,Zs=0,wi=0,pu=null,Js=-1,ea=0;function gt(){return(we&6)!==0?He():Js!==-1?Js:Js=He()}function lr(e){return(e.mode&1)===0?1:(we&2)!==0&&st!==0?st&-st:qx.transition!==null?(ea===0&&(ea=$d()),ea):(e=Ee,e!==0||(e=window.event,e=e===void 0?16:Xd(e.type)),e)}function nn(e,n,i,l){if(50<wi)throw wi=0,pu=null,Error(o(185));Ho(e,i,l),((we&2)===0||e!==tt)&&(e===tt&&((we&2)===0&&(qs|=i),Xe===4&&ur(e,st)),bt(e,l),i===1&&we===0&&(n.mode&1)===0&&(mo=He()+500,js&&nr()))}function bt(e,n){var i=e.callbackNode;qv(e,n);var l=us(e,e===tt?st:0);if(l===0)i!==null&&Vd(i),e.callbackNode=null,e.callbackPriority=0;else if(n=l&-l,e.callbackPriority!==n){if(i!=null&&Vd(i),n===1)e.tag===0?Yx(Zp.bind(null,e)):If(Zp.bind(null,e)),Hx(function(){(we&6)===0&&nr()}),i=null;else{switch(Ud(l)){case 1:i=Ga;break;case 4:i=zd;break;case 16:i=is;break;case 536870912:i=Bd;break;default:i=is}i=sh(i,Xp.bind(null,e))}e.callbackPriority=n,e.callbackNode=i}}function Xp(e,n){if(Js=-1,ea=0,(we&6)!==0)throw Error(o(327));var i=e.callbackNode;if(go()&&e.callbackNode!==i)return null;var l=us(e,e===tt?st:0);if(l===0)return null;if((l&30)!==0||(l&e.expiredLanes)!==0||n)n=ta(e,l);else{n=l;var d=we;we|=2;var m=eh();(tt!==e||st!==n)&&(Nn=null,mo=He()+500,_r(e,n));do try{m0();break}catch(S){Jp(e,S)}while(!0);Nl(),Ys.current=m,we=d,Ye!==null?n=0:(tt=null,st=0,n=Xe)}if(n!==0){if(n===2&&(d=Ka(e),d!==0&&(l=d,n=hu(e,d))),n===1)throw i=vi,_r(e,0),ur(e,l),bt(e,He()),i;if(n===6)ur(e,l);else{if(d=e.current.alternate,(l&30)===0&&!p0(d)&&(n=ta(e,l),n===2&&(m=Ka(e),m!==0&&(l=m,n=hu(e,m))),n===1))throw i=vi,_r(e,0),ur(e,l),bt(e,He()),i;switch(e.finishedWork=d,e.finishedLanes=l,n){case 0:case 1:throw Error(o(345));case 2:Or(e,wt,Nn);break;case 3:if(ur(e,l),(l&130023424)===l&&(n=du+500-He(),10<n)){if(us(e,0)!==0)break;if(d=e.suspendedLanes,(d&l)!==l){gt(),e.pingedLanes|=e.suspendedLanes&d;break}e.timeoutHandle=wl(Or.bind(null,e,wt,Nn),n);break}Or(e,wt,Nn);break;case 4:if(ur(e,l),(l&4194240)===l)break;for(n=e.eventTimes,d=-1;0<l;){var x=31-Qt(l);m=1<<x,x=n[x],x>d&&(d=x),l&=~m}if(l=d,l=He()-l,l=(120>l?120:480>l?480:1080>l?1080:1920>l?1920:3e3>l?3e3:4320>l?4320:1960*f0(l/1960))-l,10<l){e.timeoutHandle=wl(Or.bind(null,e,wt,Nn),l);break}Or(e,wt,Nn);break;case 5:Or(e,wt,Nn);break;default:throw Error(o(329))}}}return bt(e,He()),e.callbackNode===i?Xp.bind(null,e):null}function hu(e,n){var i=xi;return e.current.memoizedState.isDehydrated&&(_r(e,n).flags|=256),e=ta(e,n),e!==2&&(n=wt,wt=i,n!==null&&mu(n)),e}function mu(e){wt===null?wt=e:wt.push.apply(wt,e)}function p0(e){for(var n=e;;){if(n.flags&16384){var i=n.updateQueue;if(i!==null&&(i=i.stores,i!==null))for(var l=0;l<i.length;l++){var d=i[l],m=d.getSnapshot;d=d.value;try{if(!Xt(m(),d))return!1}catch{return!1}}}if(i=n.child,n.subtreeFlags&16384&&i!==null)i.return=n,n=i;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function ur(e,n){for(n&=~cu,n&=~qs,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var i=31-Qt(n),l=1<<i;e[i]=-1,n&=~l}}function Zp(e){if((we&6)!==0)throw Error(o(327));go();var n=us(e,0);if((n&1)===0)return bt(e,He()),null;var i=ta(e,n);if(e.tag!==0&&i===2){var l=Ka(e);l!==0&&(n=l,i=hu(e,l))}if(i===1)throw i=vi,_r(e,0),ur(e,n),bt(e,He()),i;if(i===6)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,Or(e,wt,Nn),bt(e,He()),null}function gu(e,n){var i=we;we|=1;try{return e(n)}finally{we=i,we===0&&(mo=He()+500,js&&nr())}}function Dr(e){ar!==null&&ar.tag===0&&(we&6)===0&&go();var n=we;we|=1;var i=Ht.transition,l=Ee;try{if(Ht.transition=null,Ee=1,e)return e()}finally{Ee=l,Ht.transition=i,we=n,(we&6)===0&&nr()}}function yu(){Mt=ho.current,Re(ho)}function _r(e,n){e.finishedWork=null,e.finishedLanes=0;var i=e.timeoutHandle;if(i!==-1&&(e.timeoutHandle=-1,Ux(i)),Ye!==null)for(i=Ye.return;i!==null;){var l=i;switch(Cl(l),l.tag){case 1:l=l.type.childContextTypes,l!=null&&Cs();break;case 3:co(),Re(yt),Re(ut),Vl();break;case 5:Il(l);break;case 4:co();break;case 13:Re(Ie);break;case 19:Re(Ie);break;case 10:Ml(l.type._context);break;case 22:case 23:yu()}i=i.return}if(tt=e,Ye=e=cr(e.current,null),st=Mt=n,Xe=0,vi=null,cu=qs=Lr=0,wt=xi=null,Ar!==null){for(n=0;n<Ar.length;n++)if(i=Ar[n],l=i.interleaved,l!==null){i.interleaved=null;var d=l.next,m=i.pending;if(m!==null){var x=m.next;m.next=d,l.next=x}i.pending=l}Ar=null}return e}function Jp(e,n){do{var i=Ye;try{if(Nl(),Fs.current=$s,Vs){for(var l=Fe.memoizedState;l!==null;){var d=l.queue;d!==null&&(d.pending=null),l=l.next}Vs=!1}if(Mr=0,et=Qe=Fe=null,fi=!1,pi=0,uu.current=null,i===null||i.return===null){Xe=1,vi=n,Ye=null;break}e:{var m=e,x=i.return,S=i,C=n;if(n=st,S.flags|=32768,C!==null&&typeof C=="object"&&typeof C.then=="function"){var L=C,V=S,z=V.tag;if((V.mode&1)===0&&(z===0||z===11||z===15)){var F=V.alternate;F?(V.updateQueue=F.updateQueue,V.memoizedState=F.memoizedState,V.lanes=F.lanes):(V.updateQueue=null,V.memoizedState=null)}var K=kp(x);if(K!==null){K.flags&=-257,Ep(K,x,S,m,n),K.mode&1&&Tp(m,L,n),n=K,C=L;var Z=n.updateQueue;if(Z===null){var J=new Set;J.add(C),n.updateQueue=J}else Z.add(C);break e}else{if((n&1)===0){Tp(m,L,n),vu();break e}C=Error(o(426))}}else if(De&&S.mode&1){var We=kp(x);if(We!==null){(We.flags&65536)===0&&(We.flags|=256),Ep(We,x,S,m,n),Rl(fo(C,S));break e}}m=C=fo(C,S),Xe!==4&&(Xe=2),xi===null?xi=[m]:xi.push(m),m=x;do{switch(m.tag){case 3:m.flags|=65536,n&=-n,m.lanes|=n;var N=bp(m,C,n);Yf(m,N);break e;case 1:S=C;var j=m.type,M=m.stateNode;if((m.flags&128)===0&&(typeof j.getDerivedStateFromError=="function"||M!==null&&typeof M.componentDidCatch=="function"&&(sr===null||!sr.has(M)))){m.flags|=65536,n&=-n,m.lanes|=n;var U=Sp(m,S,n);Yf(m,U);break e}}m=m.return}while(m!==null)}nh(i)}catch(ee){n=ee,Ye===i&&i!==null&&(Ye=i=i.return);continue}break}while(!0)}function eh(){var e=Ys.current;return Ys.current=$s,e===null?$s:e}function vu(){(Xe===0||Xe===3||Xe===2)&&(Xe=4),tt===null||(Lr&268435455)===0&&(qs&268435455)===0||ur(tt,st)}function ta(e,n){var i=we;we|=2;var l=eh();(tt!==e||st!==n)&&(Nn=null,_r(e,n));do try{h0();break}catch(d){Jp(e,d)}while(!0);if(Nl(),we=i,Ys.current=l,Ye!==null)throw Error(o(261));return tt=null,st=0,Xe}function h0(){for(;Ye!==null;)th(Ye)}function m0(){for(;Ye!==null&&!zv();)th(Ye)}function th(e){var n=ih(e.alternate,e,Mt);e.memoizedProps=e.pendingProps,n===null?nh(e):Ye=n,uu.current=null}function nh(e){var n=e;do{var i=n.alternate;if(e=n.return,(n.flags&32768)===0){if(i=a0(i,n,Mt),i!==null){Ye=i;return}}else{if(i=l0(i,n),i!==null){i.flags&=32767,Ye=i;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Xe=6,Ye=null;return}}if(n=n.sibling,n!==null){Ye=n;return}Ye=n=e}while(n!==null);Xe===0&&(Xe=5)}function Or(e,n,i){var l=Ee,d=Ht.transition;try{Ht.transition=null,Ee=1,g0(e,n,i,l)}finally{Ht.transition=d,Ee=l}return null}function g0(e,n,i,l){do go();while(ar!==null);if((we&6)!==0)throw Error(o(327));i=e.finishedWork;var d=e.finishedLanes;if(i===null)return null;if(e.finishedWork=null,e.finishedLanes=0,i===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var m=i.lanes|i.childLanes;if(Qv(e,m),e===tt&&(Ye=tt=null,st=0),(i.subtreeFlags&2064)===0&&(i.flags&2064)===0||Xs||(Xs=!0,sh(is,function(){return go(),null})),m=(i.flags&15990)!==0,(i.subtreeFlags&15990)!==0||m){m=Ht.transition,Ht.transition=null;var x=Ee;Ee=1;var S=we;we|=4,uu.current=null,c0(e,i),Gp(i,e),Ox(vl),fs=!!yl,vl=yl=null,e.current=i,d0(i),Bv(),we=S,Ee=x,Ht.transition=m}else e.current=i;if(Xs&&(Xs=!1,ar=e,Zs=d),m=e.pendingLanes,m===0&&(sr=null),Hv(i.stateNode),bt(e,He()),n!==null)for(l=e.onRecoverableError,i=0;i<n.length;i++)d=n[i],l(d.value,{componentStack:d.stack,digest:d.digest});if(Qs)throw Qs=!1,e=fu,fu=null,e;return(Zs&1)!==0&&e.tag!==0&&go(),m=e.pendingLanes,(m&1)!==0?e===pu?wi++:(wi=0,pu=e):wi=0,nr(),null}function go(){if(ar!==null){var e=Ud(Zs),n=Ht.transition,i=Ee;try{if(Ht.transition=null,Ee=16>e?16:e,ar===null)var l=!1;else{if(e=ar,ar=null,Zs=0,(we&6)!==0)throw Error(o(331));var d=we;for(we|=4,Q=e.current;Q!==null;){var m=Q,x=m.child;if((Q.flags&16)!==0){var S=m.deletions;if(S!==null){for(var C=0;C<S.length;C++){var L=S[C];for(Q=L;Q!==null;){var V=Q;switch(V.tag){case 0:case 11:case 15:yi(8,V,m)}var z=V.child;if(z!==null)z.return=V,Q=z;else for(;Q!==null;){V=Q;var F=V.sibling,K=V.return;if(Bp(V),V===L){Q=null;break}if(F!==null){F.return=K,Q=F;break}Q=K}}}var Z=m.alternate;if(Z!==null){var J=Z.child;if(J!==null){Z.child=null;do{var We=J.sibling;J.sibling=null,J=We}while(J!==null)}}Q=m}}if((m.subtreeFlags&2064)!==0&&x!==null)x.return=m,Q=x;else e:for(;Q!==null;){if(m=Q,(m.flags&2048)!==0)switch(m.tag){case 0:case 11:case 15:yi(9,m,m.return)}var N=m.sibling;if(N!==null){N.return=m.return,Q=N;break e}Q=m.return}}var j=e.current;for(Q=j;Q!==null;){x=Q;var M=x.child;if((x.subtreeFlags&2064)!==0&&M!==null)M.return=x,Q=M;else e:for(x=j;Q!==null;){if(S=Q,(S.flags&2048)!==0)try{switch(S.tag){case 0:case 11:case 15:Ks(9,S)}}catch(ee){Be(S,S.return,ee)}if(S===x){Q=null;break e}var U=S.sibling;if(U!==null){U.return=S.return,Q=U;break e}Q=S.return}}if(we=d,nr(),un&&typeof un.onPostCommitFiberRoot=="function")try{un.onPostCommitFiberRoot(ss,e)}catch{}l=!0}return l}finally{Ee=i,Ht.transition=n}}return!1}function rh(e,n,i){n=fo(i,n),n=bp(e,n,1),e=or(e,n,1),n=gt(),e!==null&&(Ho(e,1,n),bt(e,n))}function Be(e,n,i){if(e.tag===3)rh(e,e,i);else for(;n!==null;){if(n.tag===3){rh(n,e,i);break}else if(n.tag===1){var l=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(sr===null||!sr.has(l))){e=fo(i,e),e=Sp(n,e,1),n=or(n,e,1),e=gt(),n!==null&&(Ho(n,1,e),bt(n,e));break}}n=n.return}}function y0(e,n,i){var l=e.pingCache;l!==null&&l.delete(n),n=gt(),e.pingedLanes|=e.suspendedLanes&i,tt===e&&(st&i)===i&&(Xe===4||Xe===3&&(st&130023424)===st&&500>He()-du?_r(e,0):cu|=i),bt(e,n)}function oh(e,n){n===0&&((e.mode&1)===0?n=1:(n=ls,ls<<=1,(ls&130023424)===0&&(ls=4194304)));var i=gt();e=jn(e,n),e!==null&&(Ho(e,n,i),bt(e,i))}function v0(e){var n=e.memoizedState,i=0;n!==null&&(i=n.retryLane),oh(e,i)}function x0(e,n){var i=0;switch(e.tag){case 13:var l=e.stateNode,d=e.memoizedState;d!==null&&(i=d.retryLane);break;case 19:l=e.stateNode;break;default:throw Error(o(314))}l!==null&&l.delete(n),oh(e,i)}var ih;ih=function(e,n,i){if(e!==null)if(e.memoizedProps!==n.pendingProps||yt.current)xt=!0;else{if((e.lanes&i)===0&&(n.flags&128)===0)return xt=!1,s0(e,n,i);xt=(e.flags&131072)!==0}else xt=!1,De&&(n.flags&1048576)!==0&&Ff(n,As,n.index);switch(n.lanes=0,n.tag){case 2:var l=n.type;Ws(e,n),e=n.pendingProps;var d=ro(n,ut.current);uo(n,i),d=$l(null,n,l,e,d,i);var m=Ul();return n.flags|=1,typeof d=="object"&&d!==null&&typeof d.render=="function"&&d.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,vt(l)?(m=!0,Ps(n)):m=!1,n.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,_l(n),d.updater=Us,n.stateNode=d,d._reactInternals=n,ql(n,l,e,i),n=Jl(null,n,l,!0,m,i)):(n.tag=0,De&&m&&El(n),mt(null,n,d,i),n=n.child),n;case 16:l=n.elementType;e:{switch(Ws(e,n),e=n.pendingProps,d=l._init,l=d(l._payload),n.type=l,d=n.tag=b0(l),e=Jt(l,e),d){case 0:n=Zl(null,n,l,e,
vendor: 8,408 bytes, line 8
8i);break e;case 1:n=Np(null,n,l,e,i);break e;case 11:n=Cp(null,n,l,e,i);break e;case 14:n=Pp(null,n,l,Jt(l.type,e),i);break e}throw Error(o(306,l,""))}return n;case 0:return l=n.type,d=n.pendingProps,d=n.elementType===l?d:Jt(l,d),Zl(e,n,l,d,i);case 1:return l=n.type,d=n.pendingProps,d=n.elementType===l?d:Jt(l,d),Np(e,n,l,d,i);case 3:e:{if(Mp(n),e===null)throw Error(o(387));l=n.pendingProps,m=n.memoizedState,d=m.element,Kf(e,n),Os(n,l,null,i);var x=n.memoizedState;if(l=x.element,m.isDehydrated)if(m={element:l,isDehydrated:!1,cache:x.cache,pendingSuspenseBoundaries:x.pendingSuspenseBoundaries,transitions:x.transitions},n.updateQueue.baseState=m,n.memoizedState=m,n.flags&256){d=fo(Error(o(423)),n),n=Lp(e,n,l,i,d);break e}else if(l!==d){d=fo(Error(o(424)),n),n=Lp(e,n,l,i,d);break e}else for(Nt=Jn(n.stateNode.containerInfo.firstChild),At=n,De=!0,Zt=null,i=Wf(n,null,l,i),n.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(so(),l===d){n=An(e,n,i);break e}mt(e,n,l,i)}n=n.child}return n;case 5:return Qf(n),e===null&&jl(n),l=n.type,d=n.pendingProps,m=e!==null?e.memoizedProps:null,x=d.children,xl(l,d)?x=null:m!==null&&xl(l,m)&&(n.flags|=32),Ap(e,n),mt(e,n,x,i),n.child;case 6:return e===null&&jl(n),null;case 13:return Dp(e,n,i);case 4:return Ol(n,n.stateNode.containerInfo),l=n.pendingProps,e===null?n.child=ao(n,null,l,i):mt(e,n,l,i),n.child;case 11:return l=n.type,d=n.pendingProps,d=n.elementType===l?d:Jt(l,d),Cp(e,n,l,d,i);case 7:return mt(e,n,n.pendingProps,i),n.child;case 8:return mt(e,n,n.pendingProps.children,i),n.child;case 12:return mt(e,n,n.pendingProps.children,i),n.child;case 10:e:{if(l=n.type._context,d=n.pendingProps,m=n.memoizedProps,x=d.value,Pe(Ls,l._currentValue),l._currentValue=x,m!==null)if(Xt(m.value,x)){if(m.children===d.children&&!yt.current){n=An(e,n,i);break e}}else for(m=n.child,m!==null&&(m.return=n);m!==null;){var S=m.dependencies;if(S!==null){x=m.child;for(var C=S.firstContext;C!==null;){if(C.context===l){if(m.tag===1){C=Rn(-1,i&-i),C.tag=2;var L=m.updateQueue;if(L!==null){L=L.shared;var V=L.pending;V===null?C.next=C:(C.next=V.next,V.next=C),L.pending=C}}m.lanes|=i,C=m.alternate,C!==null&&(C.lanes|=i),Ll(m.return,i,n),S.lanes|=i;break}C=C.next}}else if(m.tag===10)x=m.type===n.type?null:m.child;else if(m.tag===18){if(x=m.return,x===null)throw Error(o(341));x.lanes|=i,S=x.alternate,S!==null&&(S.lanes|=i),Ll(x,i,n),x=m.sibling}else x=m.child;if(x!==null)x.return=m;else for(x=m;x!==null;){if(x===n){x=null;break}if(m=x.sibling,m!==null){m.return=x.return,x=m;break}x=x.return}m=x}mt(e,n,d.children,i),n=n.child}return n;case 9:return d=n.type,l=n.pendingProps.children,uo(n,i),d=$t(d),l=l(d),n.flags|=1,mt(e,n,l,i),n.child;case 14:return l=n.type,d=Jt(l,n.pendingProps),d=Jt(l.type,d),Pp(e,n,l,d,i);case 15:return jp(e,n,n.type,n.pendingProps,i);case 17:return l=n.type,d=n.pendingProps,d=n.elementType===l?d:Jt(l,d),Ws(e,n),n.tag=1,vt(l)?(e=!0,Ps(n)):e=!1,uo(n,i),xp(n,l,d),ql(n,l,d,i),Jl(null,n,l,!0,e,i);case 19:return Op(e,n,i);case 22:return Rp(e,n,i)}throw Error(o(156,n.tag))};function sh(e,n){return Fd(e,n)}function w0(e,n,i,l){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Wt(e,n,i,l){return new w0(e,n,i,l)}function xu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function b0(e){if(typeof e=="function")return xu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===de)return 11;if(e===ke)return 14}return 2}function cr(e,n){var i=e.alternate;return i===null?(i=Wt(e.tag,n,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=n,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&14680064,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,n=e.dependencies,i.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i}function na(e,n,i,l,d,m){var x=2;if(l=e,typeof e=="function")xu(e)&&(x=1);else if(typeof e=="string")x=5;else e:switch(e){case ae:return Ir(i.children,d,m,n);case Y:x=8,d|=8;break;case ye:return e=Wt(12,i,n,d|2),e.elementType=ye,e.lanes=m,e;case be:return e=Wt(13,i,n,d),e.elementType=be,e.lanes=m,e;case Ce:return e=Wt(19,i,n,d),e.elementType=Ce,e.lanes=m,e;case te:return ra(i,d,m,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ve:x=10;break e;case Le:x=9;break e;case de:x=11;break e;case ke:x=14;break e;case ue:x=16,l=null;break e}throw Error(o(130,e==null?e:typeof e,""))}return n=Wt(x,i,n,d),n.elementType=e,n.type=l,n.lanes=m,n}function Ir(e,n,i,l){return e=Wt(7,e,l,n),e.lanes=i,e}function ra(e,n,i,l){return e=Wt(22,e,l,n),e.elementType=te,e.lanes=i,e.stateNode={isHidden:!1},e}function wu(e,n,i){return e=Wt(6,e,null,n),e.lanes=i,e}function bu(e,n,i){return n=Wt(4,e.children!==null?e.children:[],e.key,n),n.lanes=i,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function S0(e,n,i,l,d){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ya(0),this.expirationTimes=Ya(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ya(0),this.identifierPrefix=l,this.onRecoverableError=d,this.mutableSourceEagerHydrationData=null}function Su(e,n,i,l,d,m,x,S,C){return e=new S0(e,n,i,S,C),n===1?(n=1,m===!0&&(n|=8)):n=0,m=Wt(3,null,null,n),e.current=m,m.stateNode=e,m.memoizedState={element:l,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},_l(m),e}function T0(e,n,i){var l=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:X,key:l==null?null:""+l,children:e,containerInfo:n,implementation:i}}function ah(e){if(!e)return tr;e=e._reactInternals;e:{if(Er(e)!==e||e.tag!==1)throw Error(o(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(vt(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(o(171))}if(e.tag===1){var i=e.type;if(vt(i))return _f(e,i,n)}return n}function lh(e,n,i,l,d,m,x,S,C){return e=Su(i,l,!0,e,d,m,x,S,C),e.context=ah(null),i=e.current,l=gt(),d=lr(i),m=Rn(l,d),m.callback=n??null,or(i,m,d),e.current.lanes=d,Ho(e,d,l),bt(e,l),e}function oa(e,n,i,l){var d=n.current,m=gt(),x=lr(d);return i=ah(i),n.context===null?n.context=i:n.pendingContext=i,n=Rn(m,x),n.payload={element:e},l=l===void 0?null:l,l!==null&&(n.callback=l),e=or(d,n,x),e!==null&&(nn(e,d,x,m),_s(e,d,x)),x}function ia(e){return e=e.current,e.child?(e.child.tag===5,e.child.stateNode):null}function uh(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<n?i:n}}function Tu(e,n){uh(e,n),(e=e.alternate)&&uh(e,n)}function k0(){return null}var ch=typeof reportError=="function"?reportError:function(e){console.error(e)};function ku(e){this._internalRoot=e}sa.prototype.render=ku.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(o(409));oa(e,n,null,null)},sa.prototype.unmount=ku.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Dr(function(){oa(null,e,null,null)}),n[kn]=null}};function sa(e){this._internalRoot=e}sa.prototype.unstable_scheduleHydration=function(e){if(e){var n=Gd();e={blockedOn:null,target:e,priority:n};for(var i=0;i<Qn.length&&n!==0&&n<Qn[i].priority;i++);Qn.splice(i,0,e),i===0&&qd(e)}};function Eu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function aa(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function dh(){}function E0(e,n,i,l,d){if(d){if(typeof l=="function"){var m=l;l=function(){var L=ia(x);m.call(L)}}var x=lh(n,l,e,0,null,!1,!1,"",dh);return e._reactRootContainer=x,e[kn]=x.current,oi(e.nodeType===8?e.parentNode:e),Dr(),x}for(;
vendor: 4,412 bytes, line 8
8d=e.lastChild;)e.removeChild(d);if(typeof l=="function"){var S=l;l=function(){var L=ia(C);S.call(L)}}var C=Su(e,0,!1,null,null,!1,!1,"",dh);return e._reactRootContainer=C,e[kn]=C.current,oi(e.nodeType===8?e.parentNode:e),Dr(function(){oa(n,C,i,l)}),C}function la(e,n,i,l,d){var m=i._reactRootContainer;if(m){var x=m;if(typeof d=="function"){var S=d;d=function(){var C=ia(x);S.call(C)}}oa(n,x,e,d)}else x=E0(i,n,e,d,l);return ia(x)}Hd=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var i=Uo(n.pendingLanes);i!==0&&(qa(n,i|1),bt(n,He()),(we&6)===0&&(mo=He()+500,nr()))}break;case 13:Dr(function(){var l=jn(e,1);if(l!==null){var d=gt();nn(l,e,1,d)}}),Tu(e,1)}},Qa=function(e){if(e.tag===13){var n=jn(e,134217728);if(n!==null){var i=gt();nn(n,e,134217728,i)}Tu(e,134217728)}},Wd=function(e){if(e.tag===13){var n=lr(e),i=jn(e,n);if(i!==null){var l=gt();nn(i,e,n,l)}Tu(e,n)}},Gd=function(){return Ee},Kd=function(e,n){var i=Ee;try{return Ee=e,n()}finally{Ee=i}},zo=function(e,n,i){switch(n){case"input":if(bn(e,i),n=i.name,i.type==="radio"&&n!=null){for(i=e;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<i.length;n++){var l=i[n];if(l!==e&&l.form===e.form){var d=Es(l);if(!d)throw Error(o(90));wn(l),bn(l,d)}}}break;case"textarea":es(e,i);break;case"select":n=i.value,n!=null&&zn(e,!!i.multiple,n,!1)}},qe=gu,lt=Dr;var C0={usingClientEntryPoint:!1,Events:[ai,to,Es,pe,Ue,gu]},bi={findFiberByHostInstance:Cr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},P0={bundleType:bi.bundleType,version:bi.version,rendererPackageName:bi.rendererPackageName,rendererConfig:bi.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:O.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Od(e),e===null?null:e.stateNode},findFiberByHostInstance:bi.findFiberByHostInstance||k0,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 ua=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ua.isDisabled&&ua.supportsFiber)try{ss=ua.inject(P0),un=ua}catch{}}return St.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=C0,St.createPortal=function(e,n){var i=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Eu(n))throw Error(o(200));return T0(e,n,null,i)},St.createRoot=function(e,n){if(!Eu(e))throw Error(o(299));var i=!1,l="",d=ch;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(l=n.identifierPrefix),n.onRecoverableError!==void 0&&(d=n.onRecoverableError)),n=Su(e,1,!1,null,null,i,!1,l,d),e[kn]=n.current,oi(e.nodeType===8?e.parentNode:e),new ku(n)},St.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=Od(n),e=e===null?null:e.stateNode,e},St.flushSync=function(e){return Dr(e)},St.hydrate=function(e,n,i){if(!aa(n))throw Error(o(200));return la(null,e,n,!0,i)},St.hydrateRoot=function(e,n,i){if(!Eu(e))throw Error(o(405));var l=i!=null&&i.hydratedSources||null,d=!1,m="",x=ch;if(i!=null&&(i.unstable_strictMode===!0&&(d=!0),i.identifierPrefix!==void 0&&(m=i.identifierPrefix),i.onRecoverableError!==void 0&&(x=i.onRecoverableError)),n=lh(n,null,e,1,i??null,d,!1,m,x),e[kn]=n.current,oi(e),l)for(e=0;e<l.length;e++)i=l[e],d=i._getVersion,d=d(i._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[i,d]:n.mutableSourceEagerHydrationData.push(i,d);return new sa(n)},St.render=function(e,n,i){if(!aa(n))throw Error(o(200));return la(null,e,n,!1,i)},St.unmountComponentAtNode=function(e){if(!aa(e))throw Error(o(40));return e._reactRootContainer?(Dr(function(){la(null,null,e,!1,function(){e._reactRootContainer=null,e[kn]=null})}),!0):!1},St.unstable_batchedUpdates=gu,St.unstable_renderSubtreeIntoContainer=function(e,n,i,l){if(!aa(i))throw Error(o(200));if(e==null||e._reactInternals===void 0)throw Error(o(38));return la(e,n,i,!1,l)},St.version="18.3.1-next-f1338f8080-20240426",St}var xh;
8function fg(){if(xh)return ju.exports;xh=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}return t(),ju.exports=O0(),ju.exports}var wh;function I0(){if(wh)return ca;wh=1;var t=fg();return ca.createRoot=t.createRoot,ca.hydrateRoot=t.hydrateRoot,ca}var F0=I0();const V0=Fn(F0);var $c=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,pg=/^[\\/]{2}/;function z0(t,r){return r+t.replace(/\\/g,"/")}var bh="popstate";function Sh(t){return typeof t=="object"&&t!=null&&"pathname"in t&&"search"in t&&"hash"in t&&"state"in t&&"key"in t}function B0(t={}){function r(s,a){let u=a.state?.masked,{pathname:c,search:f,hash:p}=u||s.location;return sc("",{pathname:c,search:f,hash:p},a.state&&a.state.usr||null,a.state&&a.state.key||"default",u?{pathname:s.location.pathname,search:s.location.search,hash:s.location.hash}:void 0)}function o(s,a){return typeof a=="string"?a:Vi(a)}return U0(r,o,null,t)}function ze(t,r){if(t===!1||t===null||typeof t>"u")throw new Error(r)}function yn(t,r){if(!t){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function $0(){return Math.random().toString(36).substring(2,10)}function Th(t,r){return{usr:t.state,key:t.key,idx:r,masked:t.mask?{pathname:t.pathname,search:t.search,hash:t.hash}:void 0}}function sc(t,r,o=null,s,a){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof r=="string"?No(r):r,state:o,key:r&&r.key||s||$0(),mask:a}}function Vi({pathname:t="/",search:r="",hash:o=""}){return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),o&&o!=="#"&&(t+=o.charAt(0)==="#"?o:"#"+o),t}function No(t){let r={};if(t){let o=t.indexOf("#");o>=0&&(r.hash=t.substring(o),t=t.substring(0,o));let s=t.indexOf("?");s>=0&&(r.search=t.substring(s),t=t.substring(0,s)),t&&(r.pathname=t)}return r}function U0(t,r,o,s={}){let{window:a=document.defaultView,v5Compat:u=!1}=s,c=a.history,f="POP",p=null,g=v();g==null&&(g=0,c.replaceState({...c.state,idx:g},""));function v(){return(c.state||{idx:null}).idx}function y(){f="POP";let T=v(),A=T==null?null:T-g;g=T,p&&p({action:f,location:P.location,delta:A})}function w(T,A){f="PUSH";let D=Sh(T)?T:sc(P.location,T,A);g=v()+1;let _=Th(D,g),O=P.createHref(D.mask||D);try{c.pushState(_,"",O)}catch(H){if(H instanceof DOMException&&H.name==="DataCloneError")throw H;a.location.assign(O)}u&&p&&p({action:f,location:P.location,delta:1})}function b(T,A){f="REPLACE";let D=Sh(T)?T:sc(P.location,T,A);g=v();let _=Th(D,g),O=P.createHref(D.mask||D);c.replaceState(_,"",O),u&&p&&p({action:f,location:P.location,delta:0})}function E(T){return H0(a,T)}let P={get action(){return f},get location(){return t(a,c)},listen(T){if(p)throw new Error("A history only accepts one active listener");return a.addEventListener(bh,y),p=T,()=>{a.removeEventListener(bh,y),p=null}},createHref(T){return r(a,T)},createURL:E,encodeLocation(T){let A=E(T);return{pathname:A.pathname,search:A.search,hash:A.hash}},push:w,replace:b,go(T){return c.go(T)}};return P}function H0(t,r,o=!1){let s="http://localhost";t&&(s=t.location.origin!=="null"?t.location.origin:t.location.href),ze(s,"No window.location.(origin|href) available to create URL");let a=typeof r=="string"?r:Vi(r);return a=a.replace(/ $/,"%20"),!o&&pg.test(a)&&(a=s+a),new URL(a,s)}function hg(t,r,o="/"){return W0(t,r,o,!1)}function W0(t,r,o,s,a){let u=typeof r=="string"?No(r):r,c=On(u.pathname||"/",o);if(c==null)return null;let f=G0(t),p=null,g=rw(c);for(let v=0;p==null&&v<f.length;++v)p=nw(f[v],g,s);return p}function G0(t){let r=mg(t);return K0(r),r}function mg(t,r=[],o=[],s="",a=!1){let u=(c,f,p=a,g)=>{let v={relativePath:g===void 0?c.path||"":g,caseSensitive:c.caseSensitive===!0,childrenIndex:f,route:c};if(v.relativePath.startsWith("/")){if(!v.relativePath.startsWith(s)&&p)return;ze(v.relativePath.startsWith(s),`Absolute route path "${v.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),v.relativePath=v.relativePath.slice(s.length)}let y=ln([s,v.relativePath]),w=o.concat(v);c.children&&c.children.length>0&&(ze(c.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${y}".`),mg(c.children,r,w,y,p)),!(c.path==null&&!c.index)&&r.push({path:y,score:ew(y,c.index),routesMeta:w.map((b,E)=>{let[P,T]=vg(b.relativePath,b.caseSensitive,E===w.length-1);return{...b,matcher:P,compiledParams:T}})})};return t.forEach((c,f)=>{if(c.path===""||!c.path?.includes("?"))u(c,f);else for(let p of gg(c.path))u(c,f,!0,p)}),r}function gg(t){let r=t.split("/");if(r.length===0)return[];let[o,...s]=r,a=o.endsWith("?"),u=o.replace(/\?$/,"");if(s.length===0)return a?[u,""]:[u];let c=gg(s.join("/")),f=[];return f.push(...c.map(p=>p===""?u:[u,p].join("/"))),a&&f.push(...c),f.map(p=>t.startsWith("/")&&p===""?"/":p)}function K0(t){t.sort((r,o)=>r.score!==o.score?o.score-r.score:tw(r.routesMeta.map(s=>s.childrenIndex),o.routesMeta.map(s=>s.childrenIndex)))}var Y0=/^:[\w-]+$/,q0=3,Q0=2,X0=1,Z0=10,J0=-2,kh=t=>t==="*";function ew(t,r){let o=t.split("/"),s=o.length;return o.some(kh)&&(s+=J0),r&&(s+=Q0),o.filter(a=>!kh(a)).reduce((a,u)=>a+(Y0.test(u)?q0:u===""?X0:Z0),s)}function tw(t,r){return t.length===r.length&&t.slice(0,-1).every((s,a)=>s===r[a])?t[t.length-1]-r[r.length-1]:0}function nw(t,r,o=!1){let{routesMeta:s}=t,a={},u="/",c=[];for(let f=0;f<s.length;++f){let p=s[f],g=f===s.length-1,v=u==="/"?r:r.slice(u.length)||"/",y={path:p.relativePath,caseSensitive:p.caseSensitive,end:g},w=p.matcher&&p.compiledParams?yg(y,v,p.matcher,p.compiledParams):Ea(y,v),b=p.route;if(!w&&g&&o&&!s[s.length-1].route.index&&(w=Ea({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},v)),!w)return null;
8Object.assign(a,w.params),c.push({params:a,pathname:ln([u,w.pathname]),pathnameBase:sw(ln([u,w.pathnameBase])),route:b}),w.pathnameBase!=="/"&&(u=ln([u,w.pathnameBase]))}return c}function Ea(t,r){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[o,s]=vg(t.path,t.caseSensitive,t.end);return yg(t,r,o,s)}function yg(t,r,o,s){let a=r.match(o);if(!a)return null;let u=a[0],c=u.replace(/(.)\/+$/,"$1"),f=a.slice(1);return{params:s.reduce((g,{paramName:v,isOptional:y},w)=>{if(v==="*"){let E=f[w]||"";c=u.slice(0,u.length-E.length).replace(/(.)\/+$/,"$1")}const b=f[w];return y&&!b?g[v]=void 0:g[v]=(b||"").replace(/%2F/g,"/"),g},{}),pathname:u,pathnameBase:c,pattern:t}}function vg(t,r=!1,o=!0){yn(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let s=[],a="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,f,p,g,v)=>{if(s.push({paramName:f,isOptional:p!=null}),p){let y=v.charAt(g+c.length);return y&&y!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(s.push({paramName:"*"}),a+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?a+="\\/*$":t!==""&&t!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,r?void 0:"i"),s]}function rw(t){try{return t.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return yn(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),t}}function On(t,r){if(r==="/")return t;if(!t.toLowerCase().startsWith(r.toLowerCase()))return null;let o=r.endsWith("/")?r.length-1:r.length,s=t.charAt(o);return s&&s!=="/"?null:t.slice(o)||"/"}function ow(t,r="/"){let{pathname:o,search:s="",hash:a=""}=typeof t=="string"?No(t):t,u;return o?(o=wg(o),o.startsWith("/")?u=Eh(o.substring(1),"/"):u=Eh(o,r)):u=r,{pathname:u,search:aw(s),hash:lw(a)}}function Eh(t,r){let o=Ca(r).split("/");return t.split("/").forEach(a=>{a===".."?o.length>1&&o.pop():a!=="."&&o.push(a)}),o.length>1?o.join("/"):"/"}function Nu(t,r,o,s){return`Cannot include a '${t}' character in a manually specified \`to.${r}\` field [${JSON.stringify(s)}].  Please separate it out to the \`to.${o}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function iw(t){return t.filter((r,o)=>o===0||r.route.path&&r.route.path.length>0)}function xg(t){let r=iw(t);return r.map((o,s)=>s===r.length-1?o.pathname:o.pathnameBase)}function Uc(t,r,o,s=!1){let a;typeof t=="string"?a=No(t):(a={...t},ze(!a.pathname||!a.pathname.includes("?"),Nu("?","pathname","search",a)),ze(!a.pathname||!a.pathname.includes("#"),Nu("#","pathname","hash",a)),ze(!a.search||!a.search.includes("#"),Nu("#","search","hash",a)));let u=t===""||a.pathname==="",c=u?"/":a.pathname,f;if(c==null)f=o;else{let y=r.length-1;if(!s&&c.startsWith("..")){let w=c.split("/");for(;w[0]==="..";)w.shift(),y-=1;a.pathname=w.join("/")}f=y>=0?r[y]:"/"}let p=ow(a,f),g=c&&c!=="/"&&c.endsWith("/"),v=(u||c===".")&&o.endsWith("/");return!p.pathname.endsWith("/")&&(g||v)&&(p.pathname+="/"),p}var wg=t=>t.replace(/[\\/]{2,}/g,"/"),ln=t=>wg(t.join("/")),Ca=t=>t.replace(/\/+$/,""),sw=t=>Ca(t).replace(/^\/*/,"/"),aw=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,lw=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,uw=class{constructor(t,r,o,s=!1){this.status=t,this.statusText=r||"",this.internal=s,o instanceof Error?(this.data=o.toString(),this.error=o):this.data=o}};function cw(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function dw(t){let r=t.map(o=>o.route.path).filter(Boolean);return ln(r)||"/"}var bg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Sg(t,r){let o=t;if(typeof o!="string"||!$c.test(o))return{absoluteURL:void 0,isExternal:!1,to:o};let s=o,a=!1;if(bg)try{let u=new URL(window.location.href),c=pg.test(o)?new URL(z0(o,u.protocol)):new URL(o),f=On(c.pathname,r);c.origin===u.origin&&f!=null?o=f+c.search+c.hash:a=!0}catch{yn(!1,`<Link to="${o}">
8 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:s,isExternal:a,to:o}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Tg=["POST","PUT","PATCH","DELETE"];new Set(Tg);var fw=["GET",...Tg];new Set(fw);var pw=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function hw(t){try{return pw.includes(new URL(t).protocol)}catch{return!1}}var Mo=k.createContext(null);Mo.displayName="DataRouter";var Ia=k.createContext(null);Ia.displayName="DataRouterState";var kg=k.createContext(!1);function mw(){return k.useContext(kg)}var Eg=k.createContext({isTransitioning:!1});Eg.displayName="ViewTransition";var gw=k.createContext(new Map);gw.displayName="Fetchers";var yw=k.createContext(null);yw.displayName="Await";var qt=k.createContext(null);qt.displayName="Navigation";var Gi=k.createContext(null);Gi.displayName="Location";var Vn=k.createContext({outlet:null,matches:[],isDataRoute:!1});Vn.displayName="Route";var Hc=k.createContext(null);Hc.displayName="RouteError";var Cg="REACT_ROUTER_ERROR",vw="REDIRECT",xw="ROUTE_ERROR_RESPONSE";function ww(t){if(t.startsWith(`${Cg}:${vw}:{`))try{let r=JSON.parse(t.slice(28));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.location=="string"&&typeof r.reloadDocument=="boolean"&&typeof r.replace=="boolean")return r}catch{}}function bw(t){if(t.startsWith(`${Cg}:${xw}:{`))try{let r=JSON.parse(t.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new uw(r.status,r.statusText,r.data)}catch{}}function Sw(t,{relative:r}={}){ze(Ki(),"useHref() may be used only in the context of a <Router> component.");let{basename:o,navigator:s}=k.useContext(qt),{hash:a,pathname:u,search:c}=Yi(t,{relative:r}),f=u;return o!=="/"&&(f=u==="/"?o:ln([o,u])),s.createHref({pathname:f,search:c,hash:a})}function Ki(){return k.useContext(Gi)!=null}function vn(){return ze(Ki(),"useLocation() may be used only in the context of a <Router> component."),k.useContext(Gi).location}var Pg="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function jg(t){k.useContext(qt).static||k.useLayoutEffect(t)}function Tw(){let{isDataRoute:t}=k.useContext(Vn);return t?Ow():kw()}function kw(){ze(Ki(),"useNavigate() may be used only in the context of a <Router> component.");let t=k.useContext(Mo),{basename:r,navigator:o}=k.useContext(qt),{matches:s}=k.useContext(Vn),{pathname:a}=vn(),u=JSON.stringify(xg(s)),c=k.useRef(!1);return jg(()=>{c.current=!0}),k.useCallback((p,g={})=>{if(yn(c.current,Pg),!c.current)return;if(typeof p=="number"){o.go(p);return}let v=Uc(p,JSON.parse(u),a,g.relative==="path");t==null&&r!=="/"&&(v.pathname=v.pathname==="/"?r:ln([r,v.pathname])),(g.replace?o.replace:o.push)(v,g.state,g)},[r,o,u,a,t])}k.createContext(null);function Yi(t,{relative:r}={}){let{matches:o}=k.useContext(Vn),{pathname:s}=vn(),a=JSON.stringify(xg(o));return k.useMemo(()=>Uc(t,JSON.parse(a),s,r==="path"),[t,a,s,r])}function Ew(t,r){return Rg(t,r)}function Rg(t,r,o){ze(Ki(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:s}=k.useContext(qt),{matches:a}=k.useContext(Vn),u=a[a.length-1],c=u?u.params:{},f=u?u.pathname:"/",p=u?u.pathnameBase:"/",g=u&&u.route;{let T=g&&g.path||"";Ng(f,!g||T.endsWith("*")||T.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${f}" (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 v=vn(),y;if(r){let T=typeof r=="string"?No(r):r;ze(p==="/"||T.pathname?.startsWith(p),`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 "${p}" but pathname "${T.pathname}" was given in the \`location\` prop.`),y=T}else y=v;let w=y.pathname||"/",b=w;if(p!=="/"){let T=p.replace(/^\//,"").split("/");b="/"+w.replace(/^\//,"").split("/").slice(T.length).join("/")}let E=o&&o.state.matches.length?o.state.matches.map(T=>Object.assign(T,{route:o.manifest[T.route.id]||T.route})):hg(t,{pathname:b});yn(g||E!=null,`No routes matched location "${y.pathname}${y.search}${y.hash}" `),yn(E==null||E[E.length-1].route.element!==void 0||E[E.length-1].route.Component!==void 0||E[E.length-1].route.lazy!==void 0,`Matched leaf route at location "${y.pathname}${y.search}${y.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 P=Aw(E&&E.map(T=>Object.assign({},T,{params:Object.assign({},c,T.params),pathname:ln([p,s.encodeLocation?s.encodeLocation(T.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:T.pathname]),pathnameBase:T.pathnameBase==="/"?p:ln([p,s.encodeLocation?s.encodeLocation(T.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:T.pathnameBase])})),a,o);return r&&P?k.createElement(Gi.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...y},navigationType:"POP"}},P):P}function Cw(){let t=_w(),r=cw(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),o=t instanceof Error?t.stack:null,s="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:s},u={padding:"2px 4px",backgroundColor:s},c=null;return console.error("Error handled by React Router default ErrorBoundary:",t),c=k.createElement(k.Fragment,null,k.createElement("p",null,"💿 Hey developer 👋"),k.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",k.createElement("code",{style:u},"ErrorBoundary")," or"," ",k.createElement("code",{style:u},"errorElement")," prop on your route.")),k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application 
10Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},r),o?k.createElement("pre",{style:a},o):null,c)}var Pw=k.createElement(Cw,null),Ag=class extends k.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){this.props.onError?this.props.onError(t,r):console.error("React Router caught the following error during render",t)}render(){let t=this.state.error;if(this.context&&typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){const o=bw(t.digest);o&&(t=o)}let r=t!==void 0?k.createElement(Vn.Provider,{value:this.props.routeContext},k.createElement(Hc.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?k.createElement(jw,{error:t},r):r}};Ag.contextType=kg;var Mu=new WeakMap;function jw({children:t,error:r}){let{basename:o}=k.useContext(qt);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let s=ww(r.digest);if(s){let a=Mu.get(r);if(a)throw a;let u=Sg(s.location,o),c=u.absoluteURL||u.to;if(hw(c))throw new Error("Invalid redirect location");if(bg&&!Mu.get(r))if(u.isExternal||s.reloadDocument)window.location.href=c;else{const f=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(u.to,{replace:s.replace}));throw Mu.set(r,f),f}return k.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c}`})}}return t}function Rw({routeContext:t,match:r,children:o}){let s=k.useContext(Mo);return s&&s.static&&s.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=r.route.id),k.createElement(Vn.Provider,{value:t},o)}function Aw(t,r=[],o){let s=o?.state;if(t==null){if(!s)return null;if(s.errors)t=s.matches;else if(r.length===0&&!s.initialized&&s.matches.length>0)t=s.matches;else return null}let a=t,u=s?.errors;if(u!=null){let v=a.findIndex(y=>y.route.id&&u?.[y.route.id]!==void 0);ze(v>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(u).join(",")}`),a=a.slice(0,Math.min(a.length,v+1))}let c=!1,f=-1;if(o&&s){c=s.renderFallback;for(let v=0;v<a.length;v++){let y=a[v];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&&(f=v),y.route.id){let{loaderData:w,errors:b}=s,E=y.route.loader&&!w.hasOwnProperty(y.route.id)&&(!b||b[y.route.id]===void 0);if(y.route.lazy||E){o.isStatic&&(c=!0),f>=0?a=a.slice(0,f+1):a=[a[0]];break}}}}let p=o?.onError,g=s&&p?(v,y)=>{p(v,{location:s.location,params:s.matches?.[0]?.params??{},pattern:dw(s.matches),errorInfo:y})}:void 0;return a.reduceRight((v,y,w)=>{let b,E=!1,P=null,T=null;s&&(b=u&&y.route.id?u[y.route.id]:void 0,P=y.route.errorElement||Pw,c&&(f<0&&w===0?(Ng("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),E=!0,T=null):f===w&&(E=!0,T=y.route.hydrateFallbackElement||null)));let A=r.concat(a.slice(0,w+1)),D=()=>{let _;return b?_=P:E?_=T:y.route.Component?_=k.createElement(y.route.Component,null):y.route.element?_=y.route.element:_=v,k.createElement(Rw,{match:y,routeContext:{outlet:v,matches:A,isDataRoute:s!=null},children:_})};return s&&(y.route.ErrorBoundary||y.route.errorElement||w===0)?k.createElement(Ag,{location:s.location,revalidation:s.revalidation,component:P,error:b,children:D(),routeContext:{outlet:null,matches:A,isDataRoute:!0},onError:g}):D()},null)}function Wc(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Nw(t){let r=k.useContext(Mo);return ze(r,Wc(t)),r}function Mw(t){let r=k.useContext(Ia);return ze(r,Wc(t)),r}function Lw(t){let r=k.useContext(Vn);return ze(r,Wc(t)),r}function Gc(t){let r=Lw(t),o=r.matches[r.matches.length-1];return ze(o.route.id,`${t} can only be used on routes that contain a unique "id"`),o.route.id}function Dw(){return Gc("useRouteId")}function _w(){let t=k.useContext(Hc),r=Mw("useRouteError"),o=Gc("useRouteError");return t!==void 0?t:r.errors?.[o]}function Ow(){let{router:t}=Nw("useNavigate"),r=Gc("useNavigate"),o=k.useRef(!1);return jg(()=>{o.current=!0}),k.useCallback(async(a,u={})=>{yn(o.current,Pg),o.current&&(typeof a=="number"?await t.navigate(a):await t.navigate(a,{fromRouteId:r,...u}))},[t,r])}var Ch={};function Ng(t,r,o){!r&&!Ch[t]&&(Ch[t]=!0,yn(!1,o))}k.memo(Iw);function Iw({routes:t,manifest:r,future:o,state:s,isStatic:a,onError:u}){return Rg(t,void 0,{manifest:r,state:s,isStatic:a,onError:u})}function Tt(t){ze(!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 Fw({basename:t="/",children:r=null,location:o,navigationType:s="POP",navigator:a,static:u=!1,useTransitions:c}){ze(!Ki(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let f=t.replace(/^\/*/,"/"),p=k.useMemo(()=>({basename:f,navigator:a,static:u,useTransitions:c,future:{}}),[f,a,u,c]);
10typeof o=="string"&&(o=No(o));let{pathname:g="/",search:v="",hash:y="",state:w=null,key:b="default",mask:E}=o,P=k.useMemo(()=>{let T=On(g,f);return T==null?null:{location:{pathname:T,search:v,hash:y,state:w,key:b,mask:E},navigationType:s}},[f,g,v,y,w,b,s,E]);return yn(P!=null,`<Router basename="${f}"> is not able to match the URL "${g}${v}${y}" because it does not start with the basename, so the <Router> won't render anything.`),P==null?null:k.createElement(qt.Provider,{value:p},k.createElement(Gi.Provider,{children:r,value:P}))}function Vw({children:t,location:r}){return Ew(ac(t),r)}function ac(t,r=[]){let o=[];return k.Children.forEach(t,(s,a)=>{if(!k.isValidElement(s))return;let u=[...r,a];if(s.type===k.Fragment){o.push.apply(o,ac(s.props.children,u));return}ze(s.type===Tt,`[${typeof s.type=="string"?s.type:s.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),ze(!s.props.index||!s.props.children,"An index route cannot have child routes.");let c={id:s.props.id||u.join("-"),caseSensitive:s.props.caseSensitive,element:s.props.element,Component:s.props.Component,index:s.props.index,path:s.props.path,middleware:s.props.middleware,loader:s.props.loader,action:s.props.action,hydrateFallbackElement:s.props.hydrateFallbackElement,HydrateFallback:s.props.HydrateFallback,errorElement:s.props.errorElement,ErrorBoundary:s.props.ErrorBoundary,hasErrorBoundary:s.props.hasErrorBoundary===!0||s.props.ErrorBoundary!=null||s.props.errorElement!=null,shouldRevalidate:s.props.shouldRevalidate,handle:s.props.handle,lazy:s.props.lazy};s.props.children&&(c.children=ac(s.props.children,u)),o.push(c)}),o}var xa="get",wa="application/x-www-form-urlencoded";function Fa(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function zw(t){return Fa(t)&&t.tagName.toLowerCase()==="button"}function Bw(t){return Fa(t)&&t.tagName.toLowerCase()==="form"}function $w(t){return Fa(t)&&t.tagName.toLowerCase()==="input"}function Uw(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function Hw(t,r){return t.button===0&&(!r||r==="_self")&&!Uw(t)}var da=null;function Ww(){if(da===null)try{new FormData(document.createElement("form"),0),da=!1}catch{da=!0}return da}var Gw=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Lu(t){return t!=null&&!Gw.has(t)?(yn(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${wa}"`),null):t}function Kw(t,r){let o,s,a,u,c;if(Bw(t)){let f=t.getAttribute("action");s=f?On(f,r):null,o=t.getAttribute("method")||xa,a=Lu(t.getAttribute("enctype"))||wa,u=new FormData(t)}else if(zw(t)||$w(t)&&(t.type==="submit"||t.type==="image")){let f=t.form;if(f==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=t.getAttribute("formaction")||f.getAttribute("action");if(s=p?On(p,r):null,o=t.getAttribute("formmethod")||f.getAttribute("method")||xa,a=Lu(t.getAttribute("formenctype"))||Lu(f.getAttribute("enctype"))||wa,u=new FormData(f,t),!Ww()){let{name:g,type:v,value:y}=t;if(v==="image"){let w=g?`${g}.`:"";u.append(`${w}x`,"0"),u.append(`${w}y`,"0")}else g&&u.append(g,y)}}else{if(Fa(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');o=xa,s=null,a=wa,c=t}return u&&a==="text/plain"&&(c=u,u=void 0),{action:s,method:o.toLowerCase(),encType:a,formData:u,body:c}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Kc(t,r){if(t===!1||t===null||typeof t>"u")throw new Error(r)}function Mg(t,r,o,s){let a=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return o?a.pathname.endsWith("/")?a.pathname=`${a.pathname}_.${s}`:a.pathname=`${a.pathname}.${s}`:a.pathname==="/"?a.pathname=`_root.${s}`:r&&On(a.pathname,r)==="/"?a.pathname=`${Ca(r)}/_root.${s}`:a.pathname=`${Ca(a.pathname)}.${s}`,a}async function Yw(t,r){if(t.id in r)return r[t.id];try{let o=await import(t.module);return r[t.id]=o,o}catch(o){return console.error(`Error loading route module \`${t.module}\`, reloading page...`),console.error(o),window.__reactRouterContext&&window.__reactRouterContext.
10isSpaMode,window.location.reload(),new Promise(()=>{})}}function qw(t){return t==null?!1:t.href==null?t.rel==="preload"&&typeof t.imageSrcSet=="string"&&typeof t.imageSizes=="string":typeof t.rel=="string"&&typeof t.href=="string"}async function Qw(t,r,o){let s=await Promise.all(t.map(async a=>{let u=r.routes[a.route.id];if(u){let c=await Yw(u,o);return c.links?c.links():[]}return[]}));return e1(s.flat(1).filter(qw).filter(a=>a.rel==="stylesheet"||a.rel==="preload").map(a=>a.rel==="stylesheet"?{...a,rel:"prefetch",as:"style"}:{...a,rel:"prefetch"}))}function Ph(t,r,o,s,a,u){let c=(p,g)=>o[g]?p.route.id!==o[g].route.id:!0,f=(p,g)=>o[g].pathname!==p.pathname||o[g].route.path?.endsWith("*")&&o[g].params["*"]!==p.params["*"];return u==="assets"?r.filter((p,g)=>c(p,g)||f(p,g)):u==="data"?r.filter((p,g)=>{let v=s.routes[p.route.id];if(!v||!v.hasLoader)return!1;if(c(p,g)||f(p,g))return!0;if(p.route.shouldRevalidate){let y=p.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:o[0]?.params||{},nextUrl:new URL(t,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof y=="boolean")return y}return!0}):[]}function Xw(t,r,{includeHydrateFallback:o}={}){return Zw(t.map(s=>{let a=r.routes[s.route.id];if(!a)return[];let u=[a.module];return a.clientActionModule&&(u=u.concat(a.clientActionModule)),a.clientLoaderModule&&(u=u.concat(a.clientLoaderModule)),o&&a.hydrateFallbackModule&&(u=u.concat(a.hydrateFallbackModule)),a.imports&&(u=u.concat(a.imports)),u}).flat(1))}function Zw(t){return[...new Set(t)]}function Jw(t){let r={},o=Object.keys(t).sort();for(let s of o)r[s]=t[s];return r}function e1(t,r){let o=new Set;return new Set(r),t.reduce((s,a)=>{let u=JSON.stringify(Jw(a));return o.has(u)||(o.add(u),s.push({key:u,link:a})),s},[])}function Yc(){let t=k.useContext(Mo);return Kc(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function t1(){let t=k.useContext(Ia);return Kc(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}var qc=k.createContext(void 0);qc.displayName="FrameworkContext";function Va(){let t=k.useContext(qc);return Kc(t,"You must render this element inside a <HydratedRouter> element"),t}function n1(t,r){let o=k.useContext(qc),[s,a]=k.useState(!1),[u,c]=k.useState(!1),{onFocus:f,onBlur:p,onMouseEnter:g,onMouseLeave:v,onTouchStart:y}=r,w=k.useRef(null);k.useEffect(()=>{if(t==="render"&&c(!0),t==="viewport"){let P=A=>{A.forEach(D=>{c(D.isIntersecting)})},T=new IntersectionObserver(P,{threshold:.5});return w.current&&T.observe(w.current),()=>{T.disconnect()}}},[t]),k.useEffect(()=>{if(s){let P=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(P)}}},[s]);let b=()=>{a(!0)},E=()=>{a(!1),c(!1)};return o?t!=="intent"?[u,w,{}]:[u,w,{onFocus:Ti(f,b),onBlur:Ti(p,E),onMouseEnter:Ti(g,b),onMouseLeave:Ti(v,E),onTouchStart:Ti(y,b)}]:[!1,w,{}]}function Ti(t,r){return o=>{t&&t(o),o.defaultPrevented||r(o)}}function r1({page:t,...r}){let o=mw(),{nonce:s}=Va(),{router:a}=Yc(),u=k.useMemo(()=>hg(a.routes,t,a.basename),[a.routes,t,a.basename]);return u?(r.nonce==null&&s&&(r={...r,nonce:s}),o?k.createElement(i1,{page:t,matches:u,...r}):k.createElement(s1,{page:t,matches:u,...r})):null}function o1(t){let{manifest:r,routeModules:o}=Va(),[s,a]=k.useState([]);return k.useEffect(()=>{let u=!1;return Qw(t,r,o).then(c=>{u||a(c)}),()=>{u=!0}},[t,r,o]),s}function i1({page:t,matches:r,...o}){let s=vn(),{future:a}=Va(),{basename:u}=Yc(),c=k.useMemo(()=>{if(t===s.pathname+s.search+s.hash)return[];let f=Mg(t,u,a.v8_trailingSlashAwareDataRequests,"rsc"),p=!1,g=[];for(let v of r)typeof v.route.shouldRevalidate=="function"?p=!0:g.push(v.route.id);return p&&g.length>0&&f.searchParams.set("_routes",g.join(",")),[f.pathname+f.search]},[u,a.v8_trailingSlashAwareDataRequests,t,s,r]);return k.createElement(k.Fragment,null,c.map(f=>k.createElement("link",{key:f,rel:"prefetch",as:"fetch",href:f,...o}
10)))}function s1({page:t,matches:r,...o}){let s=vn(),{future:a,manifest:u,routeModules:c}=Va(),{basename:f}=Yc(),{loaderData:p,matches:g}=t1(),v=k.useMemo(()=>Ph(t,r,g,u,s,"data"),[t,r,g,u,s]),y=k.useMemo(()=>Ph(t,r,g,u,s,"assets"),[t,r,g,u,s]),w=k.useMemo(()=>{if(t===s.pathname+s.search+s.hash)return[];let P=new Set,T=!1;if(r.forEach(D=>{let _=u.routes[D.route.id];!_||!_.hasLoader||(!v.some(O=>O.route.id===D.route.id)&&D.route.id in p&&c[D.route.id]?.shouldRevalidate||_.hasClientLoader?T=!0:P.add(D.route.id))}),P.size===0)return[];let A=Mg(t,f,a.v8_trailingSlashAwareDataRequests,"data");return T&&P.size>0&&A.searchParams.set("_routes",r.filter(D=>P.has(D.route.id)).map(D=>D.route.id).join(",")),[A.pathname+A.search]},[f,a.v8_trailingSlashAwareDataRequests,p,s,u,v,r,t,c]),b=k.useMemo(()=>Xw(y,u),[y,u]),E=o1(y);return k.createElement(k.Fragment,null,w.map(P=>k.createElement("link",{key:P,rel:"prefetch",as:"fetch",href:P,...o})),b.map(P=>k.createElement("link",{key:P,rel:"modulepreload",href:P,...o})),E.map(({key:P,link:T})=>k.createElement("link",{key:P,nonce:o.nonce,...T,crossOrigin:T.crossOrigin??o.crossOrigin})))}function a1(...t){return r=>{t.forEach(o=>{typeof o=="function"?o(r):o!=null&&(o.current=r)})}}var l1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{l1&&(window.__reactRouterVersion="7.18.0")}catch{}function u1({basename:t,children:r,useTransitions:o,window:s}){let a=k.useRef();a.current==null&&(a.current=B0({window:s,v5Compat:!0}));let u=a.current,[c,f]=k.useState({action:u.action,location:u.location}),p=k.useCallback(g=>{o===!1?f(g):k.startTransition(()=>f(g))},[o]);return k.useLayoutEffect(()=>u.listen(p),[u,p]),k.createElement(Fw,{basename:t,children:r,location:c.location,navigationType:c.action,navigator:u,useTransitions:o})}var on=k.forwardRef(function({onClick:r,discover:o="render",prefetch:s="none",relative:a,reloadDocument:u,replace:c,mask:f,state:p,target:g,to:v,preventScrollReset:y,viewTransition:w,defaultShouldRevalidate:b,...E},P){let{basename:T,navigator:A,useTransitions:D}=k.useContext(qt),_=typeof v=="string"&&$c.test(v),O=Sg(v,T);v=O.to;let H=Sw(v,{relative:a}),X=vn(),ae=null;if(f){let ke=Uc(f,[],X.mask?X.mask.pathname:"/",!0);T!=="/"&&(ke.pathname=ke.pathname==="/"?T:ln([T,ke.pathname])),ae=A.createHref(ke)}let[Y,ye,ve]=n1(s,E),Le=p1(v,{replace:c,mask:f,state:p,target:g,preventScrollReset:y,relative:a,viewTransition:w,defaultShouldRevalidate:b,useTransitions:D});function de(ke){r&&r(ke),ke.defaultPrevented||Le(ke)}let be=!(O.isExternal||u),Ce=k.createElement("a",{...E,...ve,href:(be?ae:void 0)||O.absoluteURL||H,onClick:be?de:r,ref:a1(P,ye),target:g,"data-discover":!_&&o==="render"?"true":void 0});return Y&&!_?k.createElement(k.Fragment,null,Ce,k.createElement(r1,{page:H})):Ce});on.displayName="Link";var c1=k.forwardRef(function({"aria-current":r="page",caseSensitive:o=!1,className:s="",end:a=!1,style:u,to:c,viewTransition:f,children:p,...g},v){let y=Yi(c,{relative:g.relative}),w=vn(),b=k.useContext(Ia),{navigator:E,basename:P}=k.useContext(qt),T=b!=null&&v1(y)&&f===!0,A=E.encodeLocation?E.encodeLocation(y).pathname:y.pathname,D=w.pathname,_=b&&b.navigation&&b.navigation.location?b.navigation.location.pathname:null;o||(D=D.toLowerCase(),_=_?_.toLowerCase():null,A=A.toLowerCase()),_&&P&&(_=On(_,P)||_);const O=A!=="/"&&A.endsWith("/")?A.length-1:A.length;let H=D===A||!a&&D.startsWith(A)&&D.charAt(O)==="/",X=_!=null&&(_===A||!a&&_.startsWith(A)&&_.charAt(A.length)==="/"),ae={isActive:H,isPending:X,isTransitioning:T},Y=H?r:void 0,ye;typeof s=="function"?ye=s(ae):ye=[s,H?"active":null,X?"pending":null,T?"transitioning":null].filter(Boolean).join(" ");let ve=typeof u=="function"?u(ae):u;return k.createElement(on,{...g,"aria-current":Y,className:ye,ref:v,style:ve,to:c,viewTransition:f},typeof p=="function"?p(ae):p)});c1.displayName="NavLink";var d1=k.forwardRef(({discover:t="render",fetcherKey:r,navigate:o,reloadDocument:s,replace:a,state:u,method:c=xa,action:f,onSubmit:p,relative:g,preventScrollReset:v,viewTransition:y,defaultShouldRevalidate:w,...b},E)=>{let{useTransitions:P}=k.useContext(qt),T=g1(),A=y1(f,{relative:g}),D=c.toLowerCase()==="get"?"get":"post",_=typeof f=="string"&&$c.test(f),O=H=>
10{if(p&&p(H),H.defaultPrevented)return;H.preventDefault();let X=H.nativeEvent.submitter,ae=X?.getAttribute("formmethod")||c,Y=()=>T(X||H.currentTarget,{fetcherKey:r,method:ae,navigate:o,replace:a,state:u,relative:g,preventScrollReset:v,viewTransition:y,defaultShouldRevalidate:w});P&&o!==!1?k.startTransition(()=>Y()):Y()};return k.createElement("form",{ref:E,method:D,action:A,onSubmit:s?p:O,...b,"data-discover":!_&&t==="render"?"true":void 0})});d1.displayName="Form";function f1(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Lg(t){let r=k.useContext(Mo);return ze(r,f1(t)),r}function p1(t,{target:r,replace:o,mask:s,state:a,preventScrollReset:u,relative:c,viewTransition:f,defaultShouldRevalidate:p,useTransitions:g}={}){let v=Tw(),y=vn(),w=Yi(t,{relative:c});return k.useCallback(b=>{if(Hw(b,r)){b.preventDefault();let E=o!==void 0?o:Vi(y)===Vi(w),P=()=>v(t,{replace:E,mask:s,state:a,preventScrollReset:u,relative:c,viewTransition:f,defaultShouldRevalidate:p});g?k.startTransition(()=>P()):P()}},[y,v,w,o,s,a,r,t,u,c,f,p,g])}var h1=0,m1=()=>`__${String(++h1)}__`;function g1(){let{router:t}=Lg("useSubmit"),{basename:r}=k.useContext(qt),o=Dw(),s=t.fetch,a=t.navigate;return k.useCallback(async(u,c={})=>{let{action:f,method:p,encType:g,formData:v,body:y}=Kw(u,r);if(c.navigate===!1){let w=c.fetcherKey||m1();await s(w,o,c.action||f,{defaultShouldRevalidate:c.defaultShouldRevalidate,preventScrollReset:c.preventScrollReset,formData:v,body:y,formMethod:c.method||p,formEncType:c.encType||g,flushSync:c.flushSync})}else await a(c.action||f,{defaultShouldRevalidate:c.defaultShouldRevalidate,preventScrollReset:c.preventScrollReset,formData:v,body:y,formMethod:c.method||p,formEncType:c.encType||g,replace:c.replace,state:c.state,fromRouteId:o,flushSync:c.flushSync,viewTransition:c.viewTransition})},[s,a,r,o])}function y1(t,{relative:r}={}){let{basename:o}=k.useContext(qt),s=k.useContext(Vn);ze(s,"useFormAction must be used inside a RouteContext");let[a]=s.matches.slice(-1),u={...Yi(t||".",{relative:r})},c=vn();if(t==null){u.search=c.search;let f=new URLSearchParams(u.search),p=f.getAll("index");if(p.some(v=>v==="")){f.delete("index"),p.filter(y=>y).forEach(y=>f.append("index",y));let v=f.toString();u.search=v?`?${v}`:""}}return(!t||t===".")&&a.route.index&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),o!=="/"&&(u.pathname=u.pathname==="/"?o:ln([o,u.pathname])),Vi(u)}function v1(t,{relative:r}={}){let o=k.useContext(Eg);ze(o!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:s}=Lg("useViewTransitionState"),a=Yi(t,{relative:r});if(!o.isTransitioning)return!1;let u=On(o.currentLocation.pathname,s)||o.currentLocation.pathname,c=On(o.nextLocation.pathname,s)||o.nextLocation.pathname;return Ea(a.pathname,c)!=null||Ea(a.pathname,u)!=null}var x1=fg();const w1=Fn(x1);var Du,jh;function b1(){if(jh)return Du;jh=1;var t=typeof Element<"u",r=typeof Map=="function",o=typeof Set=="function",s=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function a(u,c){if(u===c)return!0;if(u&&c&&typeof u=="object"&&typeof c=="object"){if(u.constructor!==c.constructor)return!1;var f,p,g;if(Array.isArray(u)){if(f=u.length,f!=c.length)return!1;for(p=f;p--!==0;)if(!a(u[p],c[p]))return!1;return!0}var v;if(r&&u instanceof Map&&c instanceof Map){if(u.size!==c.size)return!1;for(v=u.entries();!(p=v.next()).done;)if(!c.has(p.value[0]))return!1;for(v=u.entries();!(p=v.next()).done;)if(!a(p.value[1],c.get(p.value[0])))return!1;return!0}if(o&&u instanceof Set&&c instanceof Set){if(u.size!==c.size)return!1;for(v=u.entries();!(p=v.next()).done;)if(!c.has(p.value[0]))return!1;return!0}if(s&&ArrayBuffer.isView(u)&&ArrayBuffer.isView(c)){if(f=u.length,f!=c.length)return!1;for(p=f;p--!==0;)if(u[p]!==c[p])return!1;return!0}if(u.constructor===RegExp)return u.source===c.source&&u.flags===c.flags;if(u.valueOf!==Object.prototype.valueOf&&typeof u.valueOf=="function"&&typeof c.valueOf=="function")return u.valueOf()===c.valueOf();if(u.toString!==Object.prototype.toString&&typeof u.toString=="function"&&typeof c.toString=="function")return u.toString()===c.toString();if(g=Object.keys(u),f=g.length,f!==Object.keys(c).length)return!1;for(p=f;p--!==0;)if(!Object.prototype.hasOwnProperty.call(c,g[p]))return!1;if(t&&u instanceof Element)return!1;for(p=f;p--!==0;)if(!((g[p]==="_owner"||g[p]==="__v"||g[p]==="__o")&&u.$$typeof)&&!a(u[g[p]],c[g[p]]))return!1;return!0}return u!==u&&c!==c}return Du=function(c,f){try{return a(c,f)}catch(p){if((p.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw p}},Du}var S1=b1();const Dg=Fn(S1);var _u,Rh;function T1(){if(Rh)return _u;Rh=1;var t=function(r,o,s,a,u,c,f,p){if(!r){var g;
10if(o===void 0)g=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var v=[s,a,u,c,f,p],y=0;g=new Error(o.replace(/%s/g,function(){return v[y++]})),g.name="Invariant Violation"}throw g.framesToPop=1,g}};return _u=t,_u}var k1=T1();const Ah=Fn(k1);var Ou,Nh;function E1(){return Nh||(Nh=1,Ou=function(r,o,s,a){var u=s?s.call(a,r,o):void 0;if(u!==void 0)return!!u;if(r===o)return!0;if(typeof r!="object"||!r||typeof o!="object"||!o)return!1;var c=Object.keys(r),f=Object.keys(o);if(c.length!==f.length)return!1;for(var p=Object.prototype.hasOwnProperty.bind(o),g=0;g<c.length;g++){var v=c[g];if(!p(v))return!1;var y=r[v],w=o[v];if(u=s?s.call(a,y,w,v):void 0,u===!1||u===void 0&&y!==w)return!1}return!0}),Ou}var C1=E1();const P1=Fn(C1);var _g=(t=>(t.BASE="base",t.BODY="body",t.HEAD="head",t.HTML="html",t.LINK="link",t.META="meta",t.NOSCRIPT="noscript",t.SCRIPT="script",t.STYLE="style",t.TITLE="title",t.FRAGMENT="Symbol(react.fragment)",t))(_g||{}),Iu={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},Mh=Object.values(_g),Qc={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},j1=Object.entries(Qc).reduce((t,[r,o])=>(t[o]=r,t),{}),sn="data-rh",ko={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},Eo=(t,r)=>{for(let o=t.length-1;o>=0;o-=1){const s=t[o];if(Object.prototype.hasOwnProperty.call(s,r))return s[r]}return null},R1=t=>{let r=Eo(t,"title");const o=Eo(t,ko.TITLE_TEMPLATE);if(Array.isArray(r)&&(r=r.join("")),o&&r)return o.replace(/%s/g,()=>r);const s=Eo(t,ko.DEFAULT_TITLE);return r||s||void 0},A1=t=>Eo(t,ko.ON_CHANGE_CLIENT_STATE)||(()=>{}),Fu=(t,r)=>r.filter(o=>typeof o[t]<"u").map(o=>o[t]).reduce((o,s)=>({...o,...s}),{}),N1=(t,r)=>r.filter(o=>typeof o.base<"u").map(o=>o.base).reverse().reduce((o,s)=>{if(!o.length){const a=Object.keys(s);for(let u=0;u<a.length;u+=1){const f=a[u].toLowerCase();if(t.indexOf(f)!==-1&&s[f])return o.concat(s)}}return o},[]),M1=t=>console&&typeof console.warn=="function"&&console.warn(t),ki=(t,r,o)=>{const s={};return o.filter(a=>Array.isArray(a[t])?!0:(typeof a[t]<"u"&&M1(`Helmet: ${t} should be of type "Array". Instead found type "${typeof a[t]}"`),!1)).map(a=>a[t]).reverse().reduce((a,u)=>{const c={};u.filter(p=>{let g;const v=Object.keys(p);for(let w=0;w<v.length;w+=1){const b=v[w],E=b.toLowerCase();r.indexOf(E)!==-1&&!(g==="rel"&&p[g].toLowerCase()==="canonical")&&!(E==="rel"&&p[E].toLowerCase()==="stylesheet")&&(g=E),r.indexOf(b)!==-1&&(b==="innerHTML"||b==="cssText"||b==="itemprop")&&(g=b)}if(!g||!p[g])return!1;const y=p[g].toLowerCase();return s[g]||(s[g]={}),c[g]||(c[g]={}),s[g][y]?!1:(c[g][y]=!0,!0)}).reverse().forEach(p=>a.push(p));const f=Object.keys(c);for(let p=0;p<f.length;p+=1){const g=f[p],v={...s[g],...c[g]};s[g]=v}return a},[]).reverse()},L1=(t,r)=>{if(Array.isArray(t)&&t.length){for(let o=0;o<t.length;o+=1)if(t[o][r])return!0}return!1},D1=t=>({baseTag:N1(["href"],t),bodyAttributes:Fu("bodyAttributes",t),defer:Eo(t,ko.DEFER),encode:Eo(t,ko.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Fu("htmlAttributes",t),linkTags:ki("link",["rel","href"],t),metaTags:ki("meta",["name","charset","http-equiv","property","itemprop"],t),noscriptTags:ki("noscript",["innerHTML"],t),onChangeClientState:A1(t),scriptTags:ki("script",["src","innerHTML"],t),styleTags:ki("style",["cssText"],t),title:R1(t),titleAttributes:Fu("titleAttributes",t),prioritizeSeoTags:L1(t,ko.PRIORITIZE_SEO_TAGS)}),Og=t=>Array.isArray(t)?t.join(""):t,_1=(t,r)=>{const o=Object.keys(t);for(let s=0;s<o.length;s+=1)if(r[o[s]]&&r[o[s]].includes(t[o[s]]))return!0;return!1},Vu=(t,r)=>Array.isArray(t)?t.reduce((o,s)=>(_1(s,r)?o.priority.push(s):o.default.push(s),o),{priority:[],default:[]}):{default:t,priority:[]},Lh=(t,r)=>({...t,[r]:void 0}),O1=["noscript","script","style"],lc=(t,r=!0)=>r===!1?String(t):String(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),Ig=t=>Object.keys(t).reduce((r,o)=>{const s=typeof t[o]<"u"?`${o}="${t[o]}"`:`${o}`;return r?`${r} ${s}`:s},""),I1=(t,r,o,s)=>{const a=Ig(o),u=Og(r);return a?`<${t} ${sn}="true" ${a}>${lc(u,s)}</${t}>`:`<${t} ${sn}="true">${lc(u,s)}</${t}>`},F1=(t,r,o=!0)=>r.reduce((s,a)=>{const u=a,c=Object.keys(u).filter(g=>!(g==="innerHTML"||g==="cssText")).reduce((g,v)=>{const y=typeof u[v]>"u"?v:`${v}="${lc(u[v],o)}"`;return g?`${g} ${y}`:y},""),f=u.innerHTML||u.cssText||"",p=O1.indexOf(t)===-1;return`${s}<${t} ${sn}="true" ${c}${p?"/>":`>${f}</${t}>`}`},""),Fg=(t,r={})=>Object.keys(t).reduce((o,s)=>{const a=Qc[s];return o[a||s]=t[s],o},r),V1=(t,r,o)=>{const s={key:r,[sn]:!0},a=Fg(o,s);return[$.createElement("title",a,r)]},ba=(t,r)=>r.map((o,s)=>{const a={key:s,[sn]:!0};
10return Object.keys(o).forEach(u=>{const f=Qc[u]||u;if(f==="innerHTML"||f==="cssText"){const p=o.innerHTML||o.cssText;a.dangerouslySetInnerHTML={__html:p}}else a[f]=o[u]}),$.createElement(t,a)}),Yt=(t,r,o=!0)=>{switch(t){case"title":return{toComponent:()=>V1(t,r.title,r.titleAttributes),toString:()=>I1(t,r.title,r.titleAttributes,o)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>Fg(r),toString:()=>Ig(r)};default:return{toComponent:()=>ba(t,r),toString:()=>F1(t,r,o)}}},z1=({metaTags:t,linkTags:r,scriptTags:o,encode:s})=>{const a=Vu(t,Iu.meta),u=Vu(r,Iu.link),c=Vu(o,Iu.script);return{priorityMethods:{toComponent:()=>[...ba("meta",a.priority),...ba("link",u.priority),...ba("script",c.priority)],toString:()=>`${Yt("meta",a.priority,s)} ${Yt("link",u.priority,s)} ${Yt("script",c.priority,s)}`},metaTags:a.default,linkTags:u.default,scriptTags:c.default}},B1=t=>{const{baseTag:r,bodyAttributes:o,encode:s=!0,htmlAttributes:a,noscriptTags:u,styleTags:c,title:f="",titleAttributes:p,prioritizeSeoTags:g}=t;let{linkTags:v,metaTags:y,scriptTags:w}=t,b={toComponent:()=>{},toString:()=>""};return g&&({priorityMethods:b,linkTags:v,metaTags:y,scriptTags:w}=z1(t)),{priority:b,base:Yt("base",r,s),bodyAttributes:Yt("bodyAttributes",o,s),htmlAttributes:Yt("htmlAttributes",a,s),link:Yt("link",v,s),meta:Yt("meta",y,s),noscript:Yt("noscript",u,s),script:Yt("script",w,s),style:Yt("style",c,s),title:Yt("title",{title:f,titleAttributes:p},s)}},uc=B1,fa=[],Vg=!!(typeof window<"u"&&window.document&&window.document.createElement),cc=class{instances=[];canUseDOM=Vg;context;value={setHelmet:t=>{this.context.helmet=t},helmetInstances:{get:()=>this.canUseDOM?fa:this.instances,add:t=>{(this.canUseDOM?fa:this.instances).push(t)},remove:t=>{const r=(this.canUseDOM?fa:this.instances).indexOf(t);(this.canUseDOM?fa:this.instances).splice(r,1)}}};constructor(t,r){this.context=t,this.canUseDOM=r||!1,r||(t.helmet=uc({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},$1={},zg=$.createContext($1),Bg=class $g extends k.Component{static canUseDOM=Vg;helmetData;constructor(r){super(r),this.helmetData=new cc(this.props.context||{},$g.canUseDOM)}render(){return $.createElement(zg.Provider,{value:this.helmetData.value},this.props.children)}},yo=(t,r)=>{const o=document.head||document.querySelector("head"),s=o.querySelectorAll(`${t}[${sn}]`),a=[].slice.call(s),u=[];let c;return r&&r.length&&r.forEach(f=>{const p=document.createElement(t);for(const g in f)if(Object.prototype.hasOwnProperty.call(f,g))if(g==="innerHTML")p.innerHTML=f.innerHTML;else if(g==="cssText")p.styleSheet?p.styleSheet.cssText=f.cssText:p.appendChild(document.createTextNode(f.cssText));else{const v=g,y=typeof f[v]>"u"?"":f[v];p.setAttribute(g,y)}p.setAttribute(sn,"true"),a.some((g,v)=>(c=v,p.isEqualNode(g)))?a.splice(c,1):u.push(p)}),a.forEach(f=>f.parentNode?.removeChild(f)),u.forEach(f=>o.appendChild(f)),{oldTags:a,newTags:u}},dc=(t,r)=>{const o=document.getElementsByTagName(t)[0];if(!o)return;const s=o.getAttribute(sn),a=s?s.split(","):[],u=[...a],c=Object.keys(r);for(const f of c){const p=r[f]||"";o.getAttribute(f)!==p&&o.setAttribute(f,p),a.indexOf(f)===-1&&a.push(f);const g=u.indexOf(f);g!==-1&&u.splice(g,1)}for(let f=u.length-1;f>=0;f-=1)o.removeAttribute(u[f]);a.length===u.length?o.removeAttribute(sn):o.getAttribute(sn)!==c.join(",")&&o.setAttribute(sn,c.join(","))},U1=(t,r)=>{typeof t<"u"&&document.title!==t&&(document.title=Og(t)),dc("title",r)},Dh=(t,r)=>{const{baseTag:o,bodyAttributes:s,htmlAttributes:a,linkTags:u,metaTags:c,noscriptTags:f,onChangeClientState:p,scriptTags:g,styleTags:v,title:y,titleAttributes:w}=t;dc("body",s),dc("html",a),U1(y,w);const b={baseTag:yo("base",o),linkTags:yo("link",u),metaTags:yo("meta",c),noscriptTags:yo("noscript",f),scriptTags:yo("script",g),styleTags:yo("style",v)},E={},P={};Object.keys(b).forEach(T=>{const{newTags:A,oldTags:D}=b[T];A.length&&(E[T]=A),D.length&&(P[T]=b[T].oldTags)}),r&&r(),p(t,E,P)},Ei=null,H1=t=>{Ei&&cancelAnimationFrame(Ei),t.defer?Ei=requestAnimationFrame(()=>{Dh(t,()=>{Ei=null})}):(Dh(t),Ei=null)},W1=H1,_h=class extends k.Component{rendered=!1;shouldComponentUpdate(t){return!P1(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:r}=this.props.context;let o=null;const s=D1(t.get().map(a=>{const u={...a.props};return delete u.context,u}));Bg.canUseDOM?W1(s):uc&&(o=uc(s)),r(o)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},G1=class extends k.Component{static defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1};shouldComponentUpdate(r){return!Dg(Lh(this.props,"helmetData"),Lh(r,"helmetData"))}mapNestedChildrenToProps(r,o){if(!o)return null;switch(r.type){case"script":case"noscript":return{innerHTML:o};case"style":return{cssText:o};default:throw new Error(`<${r.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(r,o,s,a){return{...o,[r.type]:[...o[r.type]||[],{...s,...this.mapNestedChildrenToProps(r,a)}]}}mapObjectTypeChildren(r,o,s,a){switch(r.type){case"title":return{...o,[r.type]:a,titleAttributes:{...s}};case"body":return{...o,bodyAttributes:{...s}};case"html":return{...o,htmlAttributes:{...s}};default:return{...o,[r.type]:{...s}}}}mapArrayTypeChildrenToProps(r,o){let s={...o};return Object.keys(r).forEach(a=>{s={...s,[a]:r[a]}}),s}
10warnOnInvalidChildren(r,o){return Ah(Mh.some(s=>r.type===s),typeof r.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${Mh.join(", ")} are allowed. Helmet does not support rendering <${r.type}> elements. Refer to our API for more information.`),Ah(!o||typeof o=="string"||Array.isArray(o)&&!o.some(s=>typeof s!="string"),`Helmet expects a string as a child of <${r.type}>. Did you forget to wrap your children in braces? ( <${r.type}>{\`\`}</${r.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(r,o){let s={};return $.Children.forEach(r,a=>{if(!a||!a.props)return;const{children:u,...c}=a.props,f=Object.keys(c).reduce((g,v)=>(g[j1[v]||v]=c[v],g),{});let{type:p}=a;switch(typeof p=="symbol"?p=p.toString():this.warnOnInvalidChildren(a,u),p){case"Symbol(react.fragment)":o=this.mapChildrenToProps(u,o);break;case"link":case"meta":case"noscript":case"script":case"style":s=this.flattenArrayTypeChildren(a,s,f,u);break;default:o=this.mapObjectTypeChildren(a,o,f,u);break}}),this.mapArrayTypeChildrenToProps(s,o)}render(){const{children:r,...o}=this.props;let s={...o},{helmetData:a}=o;if(r&&(s=this.mapChildrenToProps(r,s)),a&&!(a instanceof cc)){const u=a;a=new cc(u.context,!0),delete s.helmetData}return a?$.createElement(_h,{...s,context:a.value}):$.createElement(zg.Consumer,null,u=>$.createElement(_h,{...s,context:u}))}},K1=(t,r,o,s,a,u,c,f)=>{let p=document.documentElement,g=["light","dark"];function v(b){(Array.isArray(t)?t:[t]).forEach(E=>{let P=E==="class",T=P&&u?a.map(A=>u[A]||A):a;P?(p.classList.remove(...T),p.classList.add(u&&u[b]?u[b]:b)):p.setAttribute(E,b)}),y(b)}function y(b){f&&g.includes(b)&&(p.style.colorScheme=b)}function w(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(s)v(s);else try{let b=localStorage.getItem(r)||o,E=c&&b==="system"?w():b;v(E)}catch{}},Y1=k.createContext(void 0),q1={setTheme:t=>{},themes:[]},Q1=()=>{var t;return(t=k.useContext(Y1))!=null?t:q1};k.memo(({forcedTheme:t,storageKey:r,attribute:o,enableSystem:s,enableColorScheme:a,defaultTheme:u,value:c,themes:f,nonce:p,scriptProps:g})=>{let v=JSON.stringify([o,r,u,t,f,c,s,a]).slice(1,-1);return k.createElement("script",{...g,suppressHydrationWarning:!0,nonce:typeof window>"u"?p:"",dangerouslySetInnerHTML:{__html:`(${K1.toString()})(${v})`}})});function X1(t){if(typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",r.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}const Z1=t=>{switch(t){case"success":return tb;case"info":return rb;case"warning":return nb;case"error":return ob;default:return null}},J1=Array(12).fill(0),eb=({visible:t,className:r})=>$.createElement("div",{className:["sonner-loading-wrapper",r].filter(Boolean).join(" "),"data-visible":t},$.createElement("div",{className:"sonner-spinner"},J1.map((o,s)=>$.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${s}`})))),tb=$.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},$.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),nb=$.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},$.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),rb=$.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},$.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),ob=$.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},$.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),ib=$.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},$.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),$.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),sb=()=>{const[t,r]=$.useState(document.hidden);return $.useEffect(()=>{const o=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",o),()=>window.removeEventListener("visibilitychange",o)},[]),t};let fc=1;class ab{constructor(){this.subscribe=r=>(this.subscribers.push(r),()=>{const o=this.subscribers.indexOf(r);this.subscribers.splice(o,1)}),this.publish=r=>
10{this.subscribers.forEach(o=>o(r))},this.addToast=r=>{this.publish(r),this.toasts=[...this.toasts,r]},this.create=r=>{var o;const{message:s,...a}=r,u=typeof r?.id=="number"||((o=r.id)==null?void 0:o.length)>0?r.id:fc++,c=this.toasts.find(p=>p.id===u),f=r.dismissible===void 0?!0:r.dismissible;return this.dismissedToasts.has(u)&&this.dismissedToasts.delete(u),c?this.toasts=this.toasts.map(p=>p.id===u?(this.publish({...p,...r,id:u,title:s}),{...p,...r,id:u,dismissible:f,title:s}):p):this.addToast({title:s,...a,dismissible:f,id:u}),u},this.dismiss=r=>(r?(this.dismissedToasts.add(r),requestAnimationFrame(()=>this.subscribers.forEach(o=>o({id:r,dismiss:!0})))):this.toasts.forEach(o=>{this.subscribers.forEach(s=>s({id:o.id,dismiss:!0}))}),r),this.message=(r,o)=>this.create({...o,message:r}),this.error=(r,o)=>this.create({...o,message:r,type:"error"}),this.success=(r,o)=>this.create({...o,type:"success",message:r}),this.info=(r,o)=>this.create({...o,type:"info",message:r}),this.warning=(r,o)=>this.create({...o,type:"warning",message:r}),this.loading=(r,o)=>this.create({...o,type:"loading",message:r}),this.promise=(r,o)=>{if(!o)return;let s;o.loading!==void 0&&(s=this.create({...o,promise:r,type:"loading",message:o.loading,description:typeof o.description!="function"?o.description:void 0}));const a=Promise.resolve(r instanceof Function?r():r);let u=s!==void 0,c;const f=a.then(async g=>{if(c=["resolve",g],$.isValidElement(g))u=!1,this.create({id:s,type:"default",message:g});else if(ub(g)&&!g.ok){u=!1;const y=typeof o.error=="function"?await o.error(`HTTP error! status: ${g.status}`):o.error,w=typeof o.description=="function"?await o.description(`HTTP error! status: ${g.status}`):o.description,E=typeof y=="object"&&!$.isValidElement(y)?y:{message:y};this.create({id:s,type:"error",description:w,...E})}else if(g instanceof Error){u=!1;const y=typeof o.error=="function"?await o.error(g):o.error,w=typeof o.description=="function"?await o.description(g):o.description,E=typeof y=="object"&&!$.isValidElement(y)?y:{message:y};this.create({id:s,type:"error",description:w,...E})}else if(o.success!==void 0){u=!1;const y=typeof o.success=="function"?await o.success(g):o.success,w=typeof o.description=="function"?await o.description(g):o.description,E=typeof y=="object"&&!$.isValidElement(y)?y:{message:y};this.create({id:s,type:"success",description:w,...E})}}).catch(async g=>{if(c=["reject",g],o.error!==void 0){u=!1;const v=typeof o.error=="function"?await o.error(g):o.error,y=typeof o.description=="function"?await o.description(g):o.description,b=typeof v=="object"&&!$.isValidElement(v)?v:{message:v};this.create({id:s,type:"error",description:y,...b})}}).finally(()=>{u&&(this.dismiss(s),s=void 0),o.finally==null||o.finally.call(o)}),p=()=>new Promise((g,v)=>f.then(()=>c[0]==="reject"?v(c[1]):g(c[1])).catch(v));return typeof s!="string"&&typeof s!="number"?{unwrap:p}:Object.assign(s,{unwrap:p})},this.custom=(r,o)=>{const s=o?.id||fc++;return this.create({jsx:r(s),id:s,...o}),s},this.getActiveToasts=()=>this.toasts.filter(r=>!this.dismissedToasts.has(r.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Et=new ab,lb=(t,r)=>{const o=r?.id||fc++;return Et.addToast({title:t,...r,id:o}),o},ub=t=>t&&typeof t=="object"&&"ok"in t&&typeof t.ok=="boolean"&&"status"in t&&typeof t.status=="number",cb=lb,db=()=>Et.toasts,fb=()=>Et.getActiveToasts(),pc=Object.assign(cb,{success:Et.success,info:Et.info,warning:Et.warning,error:Et.error,custom:Et.custom,message:Et.message,promise:Et.promise,dismiss:Et.dismiss,loading:Et.loading},{getHistory:db,getToasts:fb});X1("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;
10left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}
10[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);
10--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function pa(t){return t.label!==void 0}const pb=3,hb="24px",mb="16px",Oh=4e3,gb=356,yb=14,vb=45,xb=200;function hn(...t){return t.filter(Boolean).join(" ")}function wb(t){const[r,o]=t.split("-"),s=[];return r&&s.push(r),o&&s.push(o),s}const bb=t=>{var r,o,s,a,u,c,f,p,g;const{invert:v,toast:y,unstyled:w,interacting:b,setHeights:E,visibleToasts:P,heights:T,index:A,toasts:D,expanded:_,removeToast:O,defaultRichColors:H,closeButton:X,style:ae,cancelButtonStyle:Y,actionButtonStyle:ye,className:ve="",descriptionClassName:Le="",duration:de,position:be,gap:Ce,expandByDefault:ke,classNames:ue,icons:te,closeButtonAriaLabel:B="Close toast"}=t,[q,W]=$.useState(null),[R,I]=$.useState(null),[G,ne]=$.useState(!1),[re,fe]=$.useState(!1),[xe,oe]=$.useState(!1),[Te,Ze]=$.useState(!1),[xn,wn]=$.useState(!1),[Wr,wr]=$.useState(0),[Ji,Oo]=$.useState(0),bn=$.useRef(y.duration||de||Oh),Io=$.useRef(null),Pt=$.useRef(null),br=A===0,zn=A+1<=P,rt=y.type,Sn=y.dismissible!==!1,es=y.className||"",ts=y.descriptionClassName||"",Sr=$.useMemo(()=>T.findIndex(pe=>pe.toastId===y.id)||0,[T,y.id]),Fo=$.useMemo(()=>{var pe;
10return(pe=y.closeButton)!=null?pe:X},[y.closeButton,X]),Tr=$.useMemo(()=>y.duration||de||Oh,[y.duration,de]),Gr=$.useRef(0),It=$.useRef(0),Bn=$.useRef(0),$n=$.useRef(null),[ns,rs]=be.split("-"),os=$.useMemo(()=>T.reduce((pe,Ue,qe)=>qe>=Sr?pe:pe+Ue.height,0),[T,Sr]),Kr=sb(),Vo=y.invert||v,kr=rt==="loading";It.current=$.useMemo(()=>Sr*Ce+os,[Sr,os]),$.useEffect(()=>{bn.current=Tr},[Tr]),$.useEffect(()=>{ne(!0)},[]),$.useEffect(()=>{const pe=Pt.current;if(pe){const Ue=pe.getBoundingClientRect().height;return Oo(Ue),E(qe=>[{toastId:y.id,height:Ue,position:y.position},...qe]),()=>E(qe=>qe.filter(lt=>lt.toastId!==y.id))}},[E,y.id]),$.useLayoutEffect(()=>{if(!G)return;const pe=Pt.current,Ue=pe.style.height;pe.style.height="auto";const qe=pe.getBoundingClientRect().height;pe.style.height=Ue,Oo(qe),E(lt=>lt.find(Ke=>Ke.toastId===y.id)?lt.map(Ke=>Ke.toastId===y.id?{...Ke,height:qe}:Ke):[{toastId:y.id,height:qe,position:y.position},...lt])},[G,y.title,y.description,E,y.id,y.jsx,y.action,y.cancel]);const Ft=$.useCallback(()=>{fe(!0),wr(It.current),E(pe=>pe.filter(Ue=>Ue.toastId!==y.id)),setTimeout(()=>{O(y)},xb)},[y,O,E,It]);$.useEffect(()=>{if(y.promise&&rt==="loading"||y.duration===1/0||y.type==="loading")return;let pe;return _||b||Kr?(()=>{if(Bn.current<Gr.current){const lt=new Date().getTime()-Gr.current;bn.current=bn.current-lt}Bn.current=new Date().getTime()})():bn.current!==1/0&&(Gr.current=new Date().getTime(),pe=setTimeout(()=>{y.onAutoClose==null||y.onAutoClose.call(y,y),Ft()},bn.current)),()=>clearTimeout(pe)},[_,b,y,rt,Kr,Ft]),$.useEffect(()=>{y.delete&&(Ft(),y.onDismiss==null||y.onDismiss.call(y,y))},[Ft,y.delete]);function zo(){var pe;if(te?.loading){var Ue;return $.createElement("div",{className:hn(ue?.loader,y==null||(Ue=y.classNames)==null?void 0:Ue.loader,"sonner-loader"),"data-visible":rt==="loading"},te.loading)}return $.createElement(eb,{className:hn(ue?.loader,y==null||(pe=y.classNames)==null?void 0:pe.loader),visible:rt==="loading"})}const Un=y.icon||te?.[rt]||Z1(rt);var Tn,Bo;return $.createElement("li",{tabIndex:0,ref:Pt,className:hn(ve,es,ue?.toast,y==null||(r=y.classNames)==null?void 0:r.toast,ue?.default,ue?.[rt],y==null||(o=y.classNames)==null?void 0:o[rt]),"data-sonner-toast":"","data-rich-colors":(Tn=y.richColors)!=null?Tn:H,"data-styled":!(y.jsx||y.unstyled||w),"data-mounted":G,"data-promise":!!y.promise,"data-swiped":xn,"data-removed":re,"data-visible":zn,"data-y-position":ns,"data-x-position":rs,"data-index":A,"data-front":br,"data-swiping":xe,"data-dismissible":Sn,"data-type":rt,"data-invert":Vo,"data-swipe-out":Te,"data-swipe-direction":R,"data-expanded":!!(_||ke&&G),"data-testid":y.testId,style:{"--index":A,"--toasts-before":A,"--z-index":D.length-A,"--offset":`${re?Wr:It.current}px`,"--initial-height":ke?"auto":`${Ji}px`,...ae,...y.style},onDragEnd:()=>{oe(!1),W(null),$n.current=null},onPointerDown:pe=>{pe.button!==2&&(kr||!Sn||(Io.current=new Date,wr(It.current),pe.target.setPointerCapture(pe.pointerId),pe.target.tagName!=="BUTTON"&&(oe(!0),$n.current={x:pe.clientX,y:pe.clientY})))},onPointerUp:()=>{var pe,Ue,qe;if(Te||!Sn)return;$n.current=null;const lt=Number(((pe=Pt.current)==null?void 0:pe.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Hn=Number(((Ue=Pt.current)==null?void 0:Ue.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Ke=new Date().getTime()-((qe=Io.current)==null?void 0:qe.getTime()),Je=q==="x"?lt:Hn,Wn=Math.abs(Je)/Ke;if(Math.abs(Je)>=vb||Wn>.11){wr(It.current),y.onDismiss==null||y.onDismiss.call(y,y),I(q==="x"?lt>0?"right":"left":Hn>0?"down":"up"),Ft(),Ze(!0);return}else{var ot,jt;(ot=Pt.current)==null||ot.style.setProperty("--swipe-amount-x","0px"),(jt=Pt.current)==null||jt.style.setProperty("--swipe-amount-y","0px")}wn(!1),oe(!1),W(null)},onPointerMove:pe=>{var Ue,qe,lt;if(!$n.current||!Sn||((Ue=window.getSelection())==null?void 0:Ue.toString().length)>0)return;const Ke=pe.clientY-$n.current.y,Je=pe.clientX-$n.current.x;var Wn;const ot=(Wn=t.swipeDirections)!=null?Wn:wb(be);!q&&(Math.abs(Je)>1||Math.abs(Ke)>1)&&W(Math.abs(Je)>Math.abs(Ke)?"x":"y");let jt={x:0,y:0};const Gn=Vt=>1/(1.5+Math.abs(Vt)/20);if(q==="y"){if(ot.includes("top")||ot.includes("bottom"))if(ot.includes("top")&&Ke<0||ot.includes("bottom")&&Ke>0)jt.y=Ke;else{const Vt=Ke*Gn(Ke);jt.y=Math.abs(Vt)<Math.abs(Ke)?Vt:Ke}}
10else if(q==="x"&&(ot.includes("left")||ot.includes("right")))if(ot.includes("left")&&Je<0||ot.includes("right")&&Je>0)jt.x=Je;else{const Vt=Je*Gn(Je);jt.x=Math.abs(Vt)<Math.abs(Je)?Vt:Je}(Math.abs(jt.x)>0||Math.abs(jt.y)>0)&&wn(!0),(qe=Pt.current)==null||qe.style.setProperty("--swipe-amount-x",`${jt.x}px`),(lt=Pt.current)==null||lt.style.setProperty("--swipe-amount-y",`${jt.y}px`)}},Fo&&!y.jsx&&rt!=="loading"?$.createElement("button",{"aria-label":B,"data-disabled":kr,"data-close-button":!0,onClick:kr||!Sn?()=>{}:()=>{Ft(),y.onDismiss==null||y.onDismiss.call(y,y)},className:hn(ue?.closeButton,y==null||(s=y.classNames)==null?void 0:s.closeButton)},(Bo=te?.close)!=null?Bo:ib):null,(rt||y.icon||y.promise)&&y.icon!==null&&(te?.[rt]!==null||y.icon)?$.createElement("div",{"data-icon":"",className:hn(ue?.icon,y==null||(a=y.classNames)==null?void 0:a.icon)},y.promise||y.type==="loading"&&!y.icon?y.icon||zo():null,y.type!=="loading"?Un:null):null,$.createElement("div",{"data-content":"",className:hn(ue?.content,y==null||(u=y.classNames)==null?void 0:u.content)},$.createElement("div",{"data-title":"",className:hn(ue?.title,y==null||(c=y.classNames)==null?void 0:c.title)},y.jsx?y.jsx:typeof y.title=="function"?y.title():y.title),y.description?$.createElement("div",{"data-description":"",className:hn(Le,ts,ue?.description,y==null||(f=y.classNames)==null?void 0:f.description)},typeof y.description=="function"?y.description():y.description):null),$.isValidElement(y.cancel)?y.cancel:y.cancel&&pa(y.cancel)?$.createElement("button",{"data-button":!0,"data-cancel":!0,style:y.cancelButtonStyle||Y,onClick:pe=>{pa(y.cancel)&&Sn&&(y.cancel.onClick==null||y.cancel.onClick.call(y.cancel,pe),Ft())},className:hn(ue?.cancelButton,y==null||(p=y.classNames)==null?void 0:p.cancelButton)},y.cancel.label):null,$.isValidElement(y.action)?y.action:y.action&&pa(y.action)?$.createElement("button",{"data-button":!0,"data-action":!0,style:y.actionButtonStyle||ye,onClick:pe=>{pa(y.action)&&(y.action.onClick==null||y.action.onClick.call(y.action,pe),!pe.defaultPrevented&&Ft())},className:hn(ue?.actionButton,y==null||(g=y.classNames)==null?void 0:g.actionButton)},y.action.label):null)};function Ih(){if(typeof window>"u"||typeof document>"u")return"ltr";const t=document.documentElement.getAttribute("dir");return t==="auto"||!t?window.getComputedStyle(document.documentElement).direction:t}function Sb(t,r){const o={};return[t,r].forEach((s,a)=>{const u=a===1,c=u?"--mobile-offset":"--offset",f=u?mb:hb;function p(g){["top","right","bottom","left"].forEach(v=>{o[`${c}-${v}`]=typeof g=="number"?`${g}px`:g})}typeof s=="number"||typeof s=="string"?p(s):typeof s=="object"?["top","right","bottom","left"].forEach(g=>{s[g]===void 0?o[`${c}-${g}`]=f:o[`${c}-${g}`]=typeof s[g]=="number"?`${s[g]}px`:s[g]}):p(f)}),o}const Tb=$.forwardRef(function(r,o){const{id:s,invert:a,position:u="bottom-right",hotkey:c=["altKey","KeyT"],expand:f,closeButton:p,className:g,offset:v,mobileOffset:y,theme:w="light",richColors:b,duration:E,style:P,visibleToasts:T=pb,toastOptions:A,dir:D=Ih(),gap:_=yb,icons:O,containerAriaLabel:H="Notifications"}=r,[X,ae]=$.useState([]),Y=$.useMemo(()=>s?X.filter(G=>G.toasterId===s):X.filter(G=>!G.toasterId),[X,s]),ye=$.useMemo(()=>Array.from(new Set([u].concat(Y.filter(G=>G.position).map(G=>G.position)))),[Y,u]),[ve,Le]=$.useState([]),[de,be]=$.useState(!1),[Ce,ke]=$.useState(!1),[ue,te]=$.useState(w!=="system"?w:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),B=$.useRef(null),q=c.join("+").replace(/Key/g,"").replace(/Digit/g,""),W=$.useRef(null),R=$.useRef(!1),I=$.useCallback(G=>{ae(ne=>{var re;return(re=ne.find(fe=>fe.id===G.id))!=null&&re.delete||Et.dismiss(G.id),ne.filter(({id:fe})=>fe!==G.id)})},[]);return $.useEffect(()=>Et.subscribe(G=>{if(G.dismiss){requestAnimationFrame(()=>{ae(ne=>ne.map(re=>re.id===G.id?{...re,delete:!0}:re))});return}setTimeout(()=>{w1.flushSync(()=>{ae(ne=>{const re=ne.findIndex(fe=>fe.id===G.id);return re!==-1?[...ne.slice(0,re),{...ne[re],...G},...ne.slice(re+1)]:[G,...ne]})})})}),[X]),$.useEffect(()=>{if(w!=="system"){te(w);return}if(w==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?te("dark"):te("light")),typeof window>"u")return;const G=window.matchMedia("(prefers-color-scheme: dark)");try{G.addEventListener("change",({matches:ne})=>{te(ne?"dark":"light")})}catch{G.addListener(({matches:re})=>{try{te(re?"dark":"light")}catch(fe){console.error(fe)}})}},[w]),$.useEffect(()=>{X.length<=1&&be(!1)},[X]),$.useEffect(()=>{const G=ne=>{var re;if(c.every(oe=>ne[oe]||ne.code===oe)){var xe;be(!0),(xe=B.current)==null||xe.focus()}ne.code==="Escape"&&(document.activeElement===B.current||(re=B.current)!=null&&re.contains(document.activeElement))&&be(!1)};return document.addEventListener("keydown",G),()=>document.removeEventListener("keydown",G)},[c]),$.useEffect(()=>{if(B.current)return()=>{W.current&&(W.current.focus({preventScroll:!0}),W.current=null,R.current=!1)}},[B.current]),$.createElement("section",{ref:o,"aria-label":`${H} ${q}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},ye.map((G,ne)=>{var re;const[fe,xe]=G.split("-");return Y.length?$.createElement("ol",{key:G,dir:D==="auto"?Ih():D,tabIndex:-1,ref:B,className:g,"data-sonner-toaster":!0,"data-sonner-theme":ue,"data-y-position":fe,"data-x-position":xe,style:{"--front-toast-height":`${((re=ve[0])==null?void 0:re.height)||0}px`,"--width":`${gb}px`,"--gap":`${_}px`,...P,...Sb(v,y)},onBlur:oe=>{R.current&&!oe.currentTarget.contains(oe.relatedTarget)&&(R.current=!1,W.current&&(W.current.focus({preventScroll:!0}),W.current=null))},onFocus:oe=>{oe.target instanceof HTMLElement&&oe.target.dataset.dismissible==="false"||R.current||(R.current=!0,W.current=oe.relatedTarget)},onMouseEnter:()=>be(!0),onMouseMove:()=>be(!0),onMouseLeave:()=>{Ce||be(!1)},onDragEnd:()=>be(!1),onPointerDown:oe=>{oe.target instanceof HTMLElement&&oe.target.dataset.dismissible==="false"||ke(!0)},onPointerUp:()=>ke(!1)},Y.filter(oe=>!oe.position&&ne===0||oe.position===G).map((oe,Te)=>{var Ze,xn;return $.createElement(bb,{key:oe.id,icons:O,index:Te,toast:oe,defaultRichColors:b,duration:(Ze=A?.duration)!=null?Ze:E,className:A?.className,descriptionClassName:A?.descriptionClassName,invert:a,visibleToasts:T,closeButton:(xn=A?.closeButton)!=null?xn:p,interacting:Ce,position:G,style:A?.style,unstyled:A?.unstyled,classNames:A?.classNames,cancelButtonStyle:A?.cancelButtonStyle,actionButtonStyle:A?.actionButtonStyle,closeButtonAriaLabel:A?.closeButtonAriaLabel,removeToast:I,toasts:Y.filter(wn=>wn.position==oe.position),heights:ve.filter(wn=>wn.position==oe.position),setHeights:Le,expandByDefault:f,gap:_,expanded:de,swipeDirections:r.swipeDirections})})):null}))}),kb=({...t})=>{const{theme:r="system"}=Q1();return h.jsx(Tb,{theme:r,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...t})},Eb=()=>{const{pathname:t}=vn();return k.useLayoutEffect(()=>{window.scrollTo({top:0,left:0,behavior:"instant"})},[t]),null};const Cb=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Ug=(...t)=>t.filter((r,o,s)=>!!r&&r.trim()!==""&&s.indexOf(r)===o).join(" ").trim();var Pb={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 jb=k.forwardRef(({color:t="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:s,className:a="",children:u,iconNode:c,...f},p)=>k.createElement("svg",{ref:p,...Pb,width:r,height:r,stroke:t,strokeWidth:s?Number(o)*24/Number(r):o,className:Ug("lucide",a),...f},[...c.map(([g,v])=>k.createElement(g,v)),...Array.isArray(u)?u:[u]]));const Me=(t,r)=>{const o=k.forwardRef(({className:s,...a},u)=>k.createElement(jb,{ref:u,iconNode:r,className:Ug(`lucide-${Cb(t)}`,s),...a}
10));return o.displayName=`${t}`,o};const Rb=Me("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);const Ab=Me("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 Xc=Me("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);const hc=Me("Chrome",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["line",{x1:"21.17",x2:"12",y1:"8",y2:"8",key:"a0cw5f"}],["line",{x1:"3.95",x2:"8.54",y1:"6.06",y2:"14",key:"1kftof"}],["line",{x1:"10.88",x2:"15.46",y1:"21.94",y2:"14",key:"1ymyh8"}]]);const Hg=Me("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);const Nb=Me("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const Mb=Me("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);const Lb=Me("FolderOpen",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 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.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]);const Db=Me("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]);const _b=Me("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 Ob=Me("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);const Ib=Me("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 Fb=Me("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 Vb=Me("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);const zb=Me("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);const Zc=Me("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);const Bb=Me("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);const Wg=Me("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);const $b=Me("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);const Ub=Me("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);const Hb=Me("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 Wb=Me("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);const Gb=Me("WandSparkles",[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]]);const Kb=Me("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
10],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);const mc=Me("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);function Yb(t,r){const[o,s]=k.useState(()=>{try{const u=window.localStorage.getItem(t);return u?JSON.parse(u):r}catch(u){return console.error("Error reading from localStorage:",u),r}});return[o,u=>{try{const c=u instanceof Function?u(o):u;s(c),window.localStorage.setItem(t,JSON.stringify(c))}catch(c){console.error("Error writing to localStorage:",c)}}]}function _t(){const[t,r]=k.useState(!1),[o,s]=Yb("darkMode",!1),a=()=>{s(!o),document.documentElement.classList.toggle("dark")},u=[{to:"/",label:"Home"},{to:"/features",label:"Features"},{to:"/search",label:"Search"},{to:"/trending",label:"Trending"},{to:"/optimizer",label:"Prompt Optimizer"},{to:"/chrome-extension",label:"Chrome Extension"},{to:"/about",label:"About"},{to:"/policies",label:"Policies"}];return h.jsxs("header",{className:"sticky top-0 z-50 border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60",children:[h.jsxs("nav",{className:"mx-auto flex max-w-7xl items-center justify-between px-6 py-4",children:[h.jsx(on,{to:"/",className:"text-2xl font-bold gradient-text",children:"PromptHulk"}),h.jsx("div",{className:"hidden items-center gap-6 xl:flex",children:u.map(c=>h.jsx(on,{to:c.to,className:"text-sm font-medium text-muted-foreground transition-all duration-200 hover:text-primary",children:c.label},c.to))}),h.jsxs("div",{className:"flex items-center gap-4",children:[h.jsx("button",{onClick:a,className:"rounded-lg p-2 text-muted-foreground transition-all duration-200 hover:bg-muted hover:text-foreground","aria-label":"Toggle dark mode",children:o?h.jsx($b,{className:"h-5 w-5"}):h.jsx(zb,{className:"h-5 w-5"})}),h.jsx("button",{onClick:()=>r(!t),className:"rounded-lg p-2 text-muted-foreground transition-all duration-200 hover:bg-muted hover:text-foreground xl:hidden","aria-label":"Toggle menu",children:t?h.jsx(Kb,{className:"h-6 w-6"}):h.jsx(Fb,{className:"h-6 w-6"})})]})]}),t&&h.jsx("div",{className:"border-t bg-background px-6 py-4 xl:hidden animate-fade-in",children:h.jsx("div",{className:"flex flex-col gap-4",children:u.map(c=>h.jsx(on,{to:c.to,onClick:()=>r(!1),className:"text-sm font-medium text-muted-foreground transition-colors hover:text-primary",children:c.label},c.to))})})]})}function Fh(t,r){if(typeof t=="function")return t(r);t!=null&&(t.current=r)}function qb(...t){return r=>{let o=!1;const s=t.map(a=>{const u=Fh(a,r);return!o&&typeof u=="function"&&(o=!0),u});if(o)return()=>{for(let a=0;a<s.length;a++){const u=s[a];typeof u=="function"?u():Fh(t[a],null)}}}}function Qb(...t){return k.useCallback(qb(...t),t)}function Xb(t){const r=k.forwardRef((o,s)=>{let{children:a,...u}=o,c=null,f=!1;const p=[];Vh(a)&&typeof ha=="function"&&(a=ha(a._payload)),k.Children.forEach(a,w=>{if(rS(w)){f=!0;const b=w;let E="child"in b.props?b.props.child:b.props.children;Vh(E)&&typeof ha=="function"&&(E=ha(E._payload)),c=eS(b,E),p.push(c?.props?.children)}else p.push(w)}),c?c=k.cloneElement(c,void 0,p):!f&&k.Children.count(a)===1&&k.isValidElement(a)&&(c=a);const g=c?nS(c):void 0,v=Qb(s,g);if(!c){if(a||a===0)throw new Error(f?aS(t):sS(t));return a}const y=tS(u,c.props??{});return c.type!==k.Fragment&&(y.ref=s?v:g),k.cloneElement(c,y)});return r.displayName=`${t}.Slot`,r}var Zb=Xb("Slot"),Jb=Symbol.for("radix.slottable"),eS=(t,r)=>{if("child"in t.props){const o=t.props.child;return k.isValidElement(o)?k.cloneElement(o,void 0,t.props.children(o.props.children)):null}return k.isValidElement(r)?r:null};function tS(t,r){const o={...r};for(const s in r){const a=t[s],u=r[s];/^on[A-Z]/.test(s)?a&&u?o[s]=(...f)=>{const p=u(...f);return a(...f),p}:a&&(o[s]=a):s==="style"?o[s]={...a,...u}:s==="className"&&(o[s]=[a,u].filter(Boolean).join(" "))}return{...t,...o}}function nS(t){let r=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?t.ref:(r=Object.getOwnPropertyDescriptor(t,"ref")?.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o?t.props.ref:t.props.ref||t.ref)}function rS(t){return k.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===Jb}var oS=Symbol.for("react.lazy");function Vh(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===oS&&"_payload"in t&&iS(t._payload)}function iS(t){return typeof t=="object"&&t!==null&&"then"in t}var sS=t=>`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,aS=t=>`${t} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,ha=L0[" use ".trim().toString()];function Gg(t){var r,o,s="";if(typeof t=="string"||typeof t=="number")s+=t;else if(typeof t=="object")if(Array.isArray(t)){var a=t.length;for(r=0;r<a;r++)t[r]&&(o=Gg(t[r]))&&(s&&(s+=" "),s+=o)}else for(o in t)t[o]&&(s&&(s+=" "),s+=o);return s}function Kg(){for(var t,r,o=0,s="",a=arguments.length;o<a;o++)(t=arguments[o])&&(r=Gg(t))&&(s&&(s+=" "),s+=r);return s}const zh=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,Bh=Kg,lS=(t,r)=>o=>{var s;if(r?.variants==null)return Bh(t,o?.class,o?.className);const{variants:a,defaultVariants:u}=r,c=Object.keys(a).map(g=>{const v=o?.[g],y=u?.[g];if(v===null)return null;const w=zh(v)||zh(y);return a[g][w]}),f=o&&Object.entries(o).reduce((g,v)=>{let[y,w]=v;return w===void 0||(g[y]=w),g},{}),p=r==null||(s=r.compoundVariants)===null||s===void 0?void 0:s.reduce((g,v)=>{let{class:y,className:w,...b}=v;return Object.entries(b).every(E=>
vendor: 5,071 bytes, line 10
10{let[P,T]=E;return Array.isArray(T)?T.includes({...u,...f}[P]):{...u,...f}[P]===T})?[...g,y,w]:g},[]);return Bh(t,c,p,o?.class,o?.className)},Jc="-",uS=t=>{const r=dS(t),{conflictingClassGroups:o,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:c=>{const f=c.split(Jc);return f[0]===""&&f.length!==1&&f.shift(),Yg(f,r)||cS(c)},getConflictingClassGroupIds:(c,f)=>{const p=o[c]||[];return f&&s[c]?[...p,...s[c]]:p}}},Yg=(t,r)=>{if(t.length===0)return r.classGroupId;const o=t[0],s=r.nextPart.get(o),a=s?Yg(t.slice(1),s):void 0;if(a)return a;if(r.validators.length===0)return;const u=t.join(Jc);return r.validators.find(({validator:c})=>c(u))?.classGroupId},$h=/^\[(.+)\]$/,cS=t=>{if($h.test(t)){const r=$h.exec(t)[1],o=r?.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},dS=t=>{const{theme:r,prefix:o}=t,s={nextPart:new Map,validators:[]};return pS(Object.entries(t.classGroups),o).forEach(([u,c])=>{gc(c,s,u,r)}),s},gc=(t,r,o,s)=>{t.forEach(a=>{if(typeof a=="string"){const u=a===""?r:Uh(r,a);u.classGroupId=o;return}if(typeof a=="function"){if(fS(a)){gc(a(s),r,o,s);return}r.validators.push({validator:a,classGroupId:o});return}Object.entries(a).forEach(([u,c])=>{gc(c,Uh(r,u),o,s)})})},Uh=(t,r)=>{let o=t;return r.split(Jc).forEach(s=>{o.nextPart.has(s)||o.nextPart.set(s,{nextPart:new Map,validators:[]}),o=o.nextPart.get(s)}),o},fS=t=>t.isThemeGetter,pS=(t,r)=>r?t.map(([o,s])=>{const a=s.map(u=>typeof u=="string"?r+u:typeof u=="object"?Object.fromEntries(Object.entries(u).map(([c,f])=>[r+c,f])):u);return[o,a]}):t,hS=t=>{if(t<1)return{get:()=>{},set:()=>{}};let r=0,o=new Map,s=new Map;const a=(u,c)=>{o.set(u,c),r++,r>t&&(r=0,s=o,o=new Map)};return{get(u){let c=o.get(u);if(c!==void 0)return c;if((c=s.get(u))!==void 0)return a(u,c),c},set(u,c){o.has(u)?o.set(u,c):a(u,c)}}},qg="!",mS=t=>{const{separator:r,experimentalParseClassName:o}=t,s=r.length===1,a=r[0],u=r.length,c=f=>{const p=[];let g=0,v=0,y;for(let T=0;T<f.length;T++){let A=f[T];if(g===0){if(A===a&&(s||f.slice(T,T+u)===r)){p.push(f.slice(v,T)),v=T+u;continue}if(A==="/"){y=T;continue}}A==="["?g++:A==="]"&&g--}const w=p.length===0?f:f.substring(v),b=w.startsWith(qg),E=b?w.substring(1):w,P=y&&y>v?y-v:void 0;return{modifiers:p,hasImportantModifier:b,baseClassName:E,maybePostfixModifierPosition:P}};return o?f=>o({className:f,parseClassName:c}):c},gS=t=>{if(t.length<=1)return t;const r=[];let o=[];return t.forEach(s=>{s[0]==="["?(r.push(...o.sort(),s),o=[]):o.push(s)}),r.push(...o.sort()),r},yS=t=>({cache:hS(t.cacheSize),parseClassName:mS(t),...uS(t)}),vS=/\s+/,xS=(t,r)=>{const{parseClassName:o,getClassGroupId:s,getConflictingClassGroupIds:a}=r,u=[],c=t.trim().split(vS);let f="";for(let p=c.length-1;p>=0;p-=1){const g=c[p],{modifiers:v,hasImportantModifier:y,baseClassName:w,maybePostfixModifierPosition:b}=o(g);let E=!!b,P=s(E?w.substring(0,b):w);if(!P){if(!E){f=g+(f.length>0?" "+f:f);continue}if(P=s(w),!P){f=g+(f.length>0?" "+f:f);continue}E=!1}const T=gS(v).join(":"),A=y?T+qg:T,D=A+P;if(u.includes(D))continue;u.push(D);const _=a(P,E);for(let O=0;O<_.length;++O){const H=_[O];u.push(A+H)}f=g+(f.length>0?" "+f:f)}return f};function wS(){let t=0,r,o,s="";for(;t<arguments.length;)(r=arguments[t++])&&(o=Qg(r))&&(s&&(s+=" "),s+=o);return s}const Qg=t=>{if(typeof t=="string")return t;let r,o="";for(let s=0;s<t.length;s++)t[s]&&(r=Qg(t[s]))&&(o&&(o+=" "),o+=r);return o};function bS(t,...r){let o,s,a,u=c;function c(p){const g=r.reduce((v,y)=>y(v),t());return o=yS(g),s=o.cache.get,a=o.cache.set,u=f,f(p)}function f(p){const g=s(p);if(g)return g;const v=xS(p,o);return a(p,v),v}return function(){return u(wS.apply(null,arguments))}}const Ae=t=>{const r=o=>o[t]||[];return r.isThemeGetter=!0,r},Xg=/^\[(?:([a-z-]+):)?(.+)\]$/i,SS=/^\d+\/\d+$/,TS=new Set(["px","full","screen"]),kS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ES=/\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$/,CS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,PS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,jS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Mn=t=>Co(t)||TS.has(t)||SS.test(t),fr=t=>Lo(t,"length",OS),Co=t=>!!t&&!Number.isNaN(Number(t)),zu=t=>Lo(t,"number",Co),Ci=t=>!!t&&Number.isInteger(Number(t)),RS=t=>t.endsWith("%")&&Co(t.slice(0,-1)),me=t=>Xg.test(t),pr=t=>kS.test(t),AS=new Set(["length","size","percentage"]),NS=t=>Lo(t,AS,Zg),MS=t=>Lo(t,"position",Zg),LS=new Set(["image","url"]),DS=t=>Lo(t,LS,FS),_S=t=>Lo(t,"",IS),Pi=()=>!0,Lo=(t,r,o)=>{const s=Xg.exec(t);return s?s[1]?typeof r=="string"?s[1]===r:r.has(s[1]):o(s[2]):!1},OS=t=>ES.test(t)&&!CS.test(t),Zg=()=>!1,IS=t=>PS.test(t),FS=t=>jS.test(t),VS=()=>{const t=Ae("colors"),r=Ae("spacing"),o=Ae("blur"),s=Ae("brightness"),a=Ae("borderColor"),u=Ae("borderRadius"),c=Ae("borderSpacing"),f=Ae("borderWidth"),p=Ae("contrast"),g=Ae("grayscale"),v=Ae("hueRotate"),y=Ae("invert"),w=Ae("gap"),b=Ae("gradientColorStops"),E=Ae("gradientColorStopPositions"),P=Ae("inset"),T=Ae("margin"),A=Ae("op
10acity"),D=Ae("padding"),_=Ae("saturate"),O=Ae("scale"),H=Ae("sepia"),X=Ae("skew"),ae=Ae("space"),Y=Ae("translate"),ye=()=>["auto","contain","none"],ve=()=>["auto","hidden","clip","visible","scroll"],Le=()=>["auto",me,r],de=()=>[me,r],be=()=>["",Mn,fr],Ce=()=>["auto",Co,me],ke=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ue=()=>["solid","dashed","dotted","double","none"],te=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],B=()=>["start","end","center","between","around","evenly","stretch"],q=()=>["","0",me],W=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[Co,me];return{cacheSize:500,separator:":",theme:{colors:[Pi],spacing:[Mn,fr],blur:["none","",pr,me],brightness:R(),borderColor:[t],borderRadius:["none","","full",pr,me],borderSpacing:de(),borderWidth:be(),contrast:R(),grayscale:q(),hueRotate:R(),invert:q(),gap:de(),gradientColorStops:[t],gradientColorStopPositions:[RS,fr],inset:Le(),margin:Le(),opacity:R(),padding:de(),saturate:R(),scale:R(),sepia:q(),skew:R(),space:de(),translate:de()},classGroups:{aspect:[{aspect:["auto","square","video",me]}],container:["container"],columns:[{columns:[pr]}],"break-after":[{"break-after":W()}],"break-before":[{"break-before":W()}],"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:[...ke(),me]}],overflow:[{overflow:ve()}],"overflow-x":[{"overflow-x":ve()}],"overflow-y":[{"overflow-y":ve()}],overscroll:[{overscroll:ye()}],"overscroll-x":[{"overscroll-x":ye()}],"overscroll-y":[{"overscroll-y":ye()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[P]}],"inset-x":[{"inset-x":[P]}],"inset-y":[{"inset-y":[P]}],start:[{start:[P]}],end:[{end:[P]}],top:[{top:[P]}],right:[{right:[P]}],bottom:[{bottom:[P]}],left:[{left:[P]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ci,me]}],basis:[{basis:Le()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",me]}],grow:[{grow:q()}],shrink:[{shrink:q()}],order:[{order:["first","last","none",Ci,me]}],"grid-cols":[{"grid-cols":[Pi]}],"col-start-end":[{col:["auto",{span:["full",Ci,me]},me]}],"col-start":[{"col-start":Ce()}],"col-end":[{"col-end":Ce()}],"grid-rows":[{"grid-rows":[Pi]}],"row-start-end":[{row:["auto",{span:[Ci,me]},me]}],"row-start":[{"row-start":Ce()}],"row-end":[{"row-end":Ce()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",me]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",me]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...B()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...B(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...B(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[D]}],px:[{px:[D]}],py:[{py:[D]}],ps:[{ps:[D]}
vendor: 8,368 bytes, line 10
10],pe:[{pe:[D]}],pt:[{pt:[D]}],pr:[{pr:[D]}],pb:[{pb:[D]}],pl:[{pl:[D]}],m:[{m:[T]}],mx:[{mx:[T]}],my:[{my:[T]}],ms:[{ms:[T]}],me:[{me:[T]}],mt:[{mt:[T]}],mr:[{mr:[T]}],mb:[{mb:[T]}],ml:[{ml:[T]}],"space-x":[{"space-x":[ae]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ae]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",me,r]}],"min-w":[{"min-w":[me,r,"min","max","fit"]}],"max-w":[{"max-w":[me,r,"none","full","min","max","fit","prose",{screen:[pr]},pr]}],h:[{h:[me,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[me,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[me,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[me,r,"auto","min","max","fit"]}],"font-size":[{text:["base",pr,fr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",zu]}],"font-family":[{font:[Pi]}],"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",me]}],"line-clamp":[{"line-clamp":["none",Co,zu]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Mn,me]}],"list-image":[{"list-image":["none",me]}],"list-style-type":[{list:["none","disc","decimal",me]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ue(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Mn,fr]}],"underline-offset":[{"underline-offset":["auto",Mn,me]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:de()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",me]}],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",me]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ke(),MS]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",NS]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},DS]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[E]}],"gradient-via-pos":[{via:[E]}],"gradient-to-pos":[{to:[E]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[u]}],"rounded-s":[{"rounded-s":[u]}],"rounded-e":[{"rounded-e":[u]}],"rounded-t":[{"rounded-t":[u]}],"rounded-r":[{"rounded-r":[u]}],"rounded-b":[{"rounded-b":[u]}],"rounded-l":[{"rounded-l":[u]}],"rounded-ss":[{"rounded-ss":[u]}],"rounded-se":[{"rounded-se":[u]}],"rounded-ee":[{"rounded-ee":[u]}],"rounded-es":[{"rounded-es":[u]}],"rounded-tl":[{"rounded-tl":[u]}],"rounded-tr":[{"rounded-tr":[u]}],"rounded-br":[{"rounded-br":[u]}],"rounded-bl":[{"rounded-bl":[u]}],"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":[A]}],"border-style":[{border:[...ue(),"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":[A]}],"divide-style":[{divide:ue()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...ue()]}],"outline-offset":[{"outline-offset":[Mn,me]}],"outline-w":[{outline:[Mn,fr]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:be()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[Mn,fr]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",pr,_S]}],"shadow-color":[{shadow:[Pi]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...te(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":te()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[s]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",pr,me]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[v]}],invert:[{invert:[y]}],saturate:[{saturate:[_]}],sepia:[{sepia:[H]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[v]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[_]}],"backdrop-sepia":[{"backdrop-sepia":[H]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",me]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",me]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",me]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[O]}],"scale-x":[{"scale-x":[O]}],"scale-y":[{"scale-y":[O]}],rotate:[{rotate:[Ci,me]}],"translate-x":[{"translate-x":[Y]}],"translate-y":[{"translate-y":[Y]}],"skew-x":[{"skew-x":[X]}],"skew-y":[{"skew-y":[X]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",me]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",me]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":de()}],"scroll-mx":[{"scroll-mx":de()}],"scroll-my":[{"scroll-my":de()}],"scroll-ms":[{"scroll-ms":de()}],"scroll-me":[{"scroll-me":de()}],"scroll-mt":[{"scroll-mt":de()}],"scroll-mr":[{"scroll-mr":de()}],"scroll-mb":[{"scroll-mb":de()}],"scroll-ml":[{"scroll-ml":de()}],"scroll-p":[{"scroll-p":de()}],"scroll-px":[{"scroll-px":de()}],"scroll-py":[{"scroll-py":de()}],"scroll-ps":[{"scroll-ps":de()}],"scroll-pe":[{"scroll-pe":de()}],"scroll-pt":[{"scroll-pt":de()}],"scroll-pr":[{"scroll-pr":de()}],"scroll-pb":[{"scroll-pb":de()}],"scroll-pl":[{"scroll-pl":de()}],"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"]}
10],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",me]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[Mn,fr,zu]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},zS=bS(VS);function ed(...t){return zS(Kg(t))}const BS=lS("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"}}),gr=k.forwardRef(({className:t,variant:r,size:o,asChild:s=!1,...a},u)=>{const c=s?Zb:"button";return h.jsx(c,{className:ed(BS({variant:r,size:o,className:t})),ref:u,...a})});gr.displayName="Button";function Ot(){const t={Product:[{to:"/",label:"Home"},{to:"/features",label:"Features"},{to:"/search",label:"Search"},{to:"/trending",label:"Trending"},{to:"/optimizer",label:"Optimizer"},{to:"/chrome-extension",label:"Chrome Extension"}],Company:[{to:"/about",label:"About Us"},{to:"/policies",label:"Policies"}],Resources:[{to:"/trending",label:"Trending Prompts"},{to:"/optimizer",label:"Prompt Optimizer"}],Legal:[{to:"/privacy",label:"Privacy Policy"},{to:"/terms",label:"Terms of Service"},{to:"/cookies",label:"Cookie Policy"},{to:"/refund",label:"Refund Policy"},{to:"/disclaimer",label:"Disclaimer"}]},r=[{icon:Wb,href:"https://twitter.com/prompthulk",label:"Twitter"},{icon:Ib,href:"https://linkedin.com/company/prompthulk",label:"LinkedIn"},{icon:Db,href:"https://github.com/prompthulk",label:"GitHub"},{icon:Vb,href:"https://discord.gg/prompthulk",label:"Discord"}];return h.jsx("footer",{className:"border-t bg-[#0a0a0a] text-gray-300",children:h.jsxs("div",{className:"mx-auto max-w-7xl px-6 py-16",children:[h.jsxs("div",{className:"grid gap-12 lg:grid-cols-5",children:[h.jsxs("div",{className:"lg:col-span-2",children:[h.jsx(on,{to:"/",className:"mb-4 inline-block text-2xl font-bold text-white",children:"PromptHulk"}),h.jsx("p",{className:"mb-6 max-w-sm text-sm text-gray-400 leading-relaxed",children:"Supercharge your AI with better prompts. Access thous
10ands of curated prompts for ChatGPT, Claude, Gemini, and more directly from your workflow."}),h.jsxs("div",{className:"mb-8",children:[h.jsx("p",{className:"mb-2 text-sm font-semibold text-white",children:"Subscribe to our newsletter"}),h.jsxs("form",{className:"flex gap-2 max-w-sm",onSubmit:o=>o.preventDefault(),children:[h.jsx("input",{type:"email",placeholder:"Enter your email",className:"w-full rounded-md border border-gray-800 bg-gray-900 px-3 py-2 text-sm text-white placeholder-gray-500 focus:border-primary focus:outline-none focus:ring-1 focus:ring-primary",required:!0}),h.jsx(gr,{type:"submit",size:"sm",className:"bg-primary text-white hover:bg-primary/90",children:"Subscribe"})]})]}),h.jsx("div",{className:"flex gap-3",children:r.map(o=>h.jsx("a",{href:o.href,target:"_blank",rel:"noopener noreferrer",className:"rounded-lg p-2 text-gray-400 transition-colors hover:bg-gray-800 hover:text-white","aria-label":o.label,children:h.jsx(o.icon,{className:"h-5 w-5"})},o.label))})]}),h.jsx("div",{className:"grid ga
10p-8 sm:grid-cols-2 lg:col-span-3 lg:grid-cols-4",children:Object.entries(t).map(([o,s])=>h.jsxs("div",{children:[h.jsx("p",{className:"mb-4 text-sm font-semibold uppercase tracking-wider text-white",children:o}),h.jsx("ul",{className:"space-y-3",children:s.map(a=>h.jsx("li",{children:h.jsx(on,{to:a.to,className:"text-sm text-gray-400 transition-colors hover:text-primary",children:a.label})},a.to))})]},o))})]}),h.jsx("div",{className:"mt-16 flex flex-col items-center justify-between border-t border-gray-800 pt-8 sm:flex-row",children:h.jsxs("p",{className:"text-sm text-gray-500",children:["© ",new Date().getFullYear()," PromptHulk. All rights reserved."]})})]})})}const Jg=k.createContext({});function $S(t){const r=k.useRef(null);return r.current===null&&(r.current=t()),r.current}const td=k.createContext(null),ey=k.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function US(t=!0){const r=k.useContext(td);if(r===null)return[!0,null];const{isPresent:o,onExitComplete:s,register:a}=r,u=k.useId();k.useEffect(()=>{t&&a(u)},[t]);const c=k.useCallback(()=>t&&s&&s(u),[u,s,t]);return!o&&s?[!1,c]:[!0]}const nd=typeof window<"u",HS=nd?k.useLayoutEffect:k.useEffect,Lt=t=>t;let ty=Lt;function rd(t){let r;return()=>(r===void 0&&(r=t()),r)}const jo=(t,r,o)=>{const s=r-t;return s===0?1:(o-t)/s},Dn=t=>t*1e3,_n=t=>t/1e3,WS={useManualTiming:!1};function GS(t){let r=new Set,o=new Set,s=!1,a=!1;const u=new WeakSet;let c={delta:0,timestamp:0,isProcessing:!1};function f(g){u.has(g)&&(p.schedule(g),t()),g(c)}const p={schedule:(g,v=!1,y=!1)=>{const b=y&&s?r:o;return v&&u.add(g),b.has(g)||b.add(g),g},cancel:g=>{o.delete(g),u.delete(g)},process:g=>{if(c=g,s){a=!0;return}s=!0,[r,o]=[o,r],r.forEach(f),r.clear(),s=!1,a&&(a=!1,p.process(g))}};return p}const ma=["read","resolveKeyframes","update","preRender","render","postRender"],KS=40;function ny(t,r){let o=!1,s=!0;const a={delta:0,timestamp:0,isProcessing:!1},u=()=>o=!0,c=ma.reduce((A,D)=>(A[D]=GS(u),A),{}),{read:f,resolveKeyframes:p,update:g,preRender:v,render:y,postRender:w}=c,b=()=>{const A=performance.now();o=!1,a.delta=s?1e3/60:Math.max(Math.min(A-a.timestamp,KS),1),a.timestamp=A,a.isProcessing=!0,f.process(a),p.process(a),g.process(a),v.process(a),y.process(a),w.process(a),a.isProcessing=!1,o&&r&&(s=!1,t(b))},E=()=>{o=!0,s=!0,a.isProcessing||t(b)};return{schedule:ma.reduce((A,D)=>{const _=c[D];return A[D]=(O,H=!1,X=!1)=>(o||E(),_.schedule(O,H,X)),A},{}),cancel:A=>{for(let D=0;D<ma.length;D++)c[ma[D]].cancel(A)},state:a,steps:c}}const{schedule:Ne,cancel:yr,state:at,steps:Bu}=ny(typeof requestAnimationFrame<"u"?requestAnimationFrame:Lt,!0),ry=k.createContext({strict:!1}),Hh={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"]},Ro={};for(const t in Hh)Ro[t]={isEnabled:r=>Hh[t].some(o=>!!r[o])};function YS(t){for(const r in t)Ro[r]={...Ro[r],...t[r]}}const qS=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 Pa(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||qS.has(t)}let oy=t=>!Pa(t);function QS(t){t&&(oy=r=>r.startsWith("on")?!Pa(r):t(r))}try{QS(require("@emotion/is-prop-valid").default)}catch{}function XS(t,r,o){const s={};for(const a in t)a==="values"&&typeof t.values=="object"||(oy(a)||o===!0&&Pa(a)||!r&&!Pa(a)||t.draggable&&a.startsWith("onDrag"))&&(s[a]=t[a]);return s}function ZS(t){if(typeof Proxy>"u")return t;const r=new Map,o=(...s)=>t(...s);return new Proxy(o,{get:(s,a)=>a==="create"?t:(r.has(a)||r.set(a,t(a)),r.get(a))})}const za=k.createContext({});function zi(t){return typeof t=="string"||Array.isArray(t)}function Ba(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const od=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],id=["initial",...od];function $a(t){return Ba(t.animate)||id.some(r=>zi(t[r]))}function iy(t){return!!($a(t)||t.variants)}function JS(t,r){if($a(t)){const{initial:o,animate:s}=t;return{initial:o===!1||zi(o)?o:void 0,animate:zi(s)?s:void 0}}return t.inherit!==!1?r:{}}function eT(t){const{initial:r,animate:o}=JS(t,k.useContext(za));return k.useMemo(()=>({initial:r,animate:o}),[Wh(r),Wh(o)])}function Wh(t){return Array.isArray(t)?t.join(" "):t}const tT=Symbol.for("motionComponentSymbol");function xo(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function nT(t,r,o){return k.useCallback(s=>{s&&t.onMount&&t.onMount(s),r&&(s?r.mount(s):r.unmount()),o&&(typeof o=="function"?o(s):xo(o)&&(o.current=s))},[r])}const sd=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),rT="framerAppearId",sy="data-"+sd(rT),{schedule:ad}=ny(queueMicrotask,!1),ay=k.createContext({});function oT(t,r,o,s,a){var u,c;const{visualElement:f}=k.useContext(za),p=k.useContext(ry),g=k.useContext(td),v=k.useContext(ey).reducedMotion,y=k.useRef(null);s=s||p.renderer,!y.current&&s&&(y.current=s(t,{visualState:r,parent:f,props:o,presenceContext:g,blockInitialAnimation:g?g.initial===!1:!1,reducedMotionConfig:v}));const w=y.current,b=k.useContext(ay);w&&!w.projection&&a&&(w.type==="html"||w.type==="svg")&&iT(y.current,o,a,b);const E=k.useRef(!1);k.useInsertionEffect(()=>{w&&E.current&&w.update(o,g)});const P=o[sy],T=k.useRef(!!P&&!(!((u=window.MotionHandoffIsComplete)===null||u===void 0)&&u.call(window,P))&&((c=window.MotionHasOptimisedAnimation)===null||c===void 0?void 0:c.call(window,P)));return HS(()=>{w&&(E.current=!0,window.MotionIsMounted=!0,w.updateFeatures(),ad.render(w.render),T.current&&w.animationState&&w.animationState.animateChanges())}),k.useEffect(()=>{w&&(!T.current&&w.animationState&&w.animationState.animateChanges(),T.current&&(queueMicrotask(()=>{var A;(A=window.MotionHandoffMarkAsComplete)===null||A===void 0||A.call(window,P)}),T.current=!1))}),w}function iT(t,r,o,s){const{layoutId:a,layout:u,drag:c,dragConstraints:f,layoutScroll:p,layoutRoot:g}=r;t.projection=new o(t.latestValues,r["data-framer-portal-id"]?void 0:ly(t.parent)),t.projection.setOptions({layoutId:a,layout:u,alwaysMeasureLayout:!!c||f&&xo(f),visualElement:t,animationType:typeof u=="string"?u:"both",initialPromotionConfig:s,layoutScroll:p,layoutRoot:g})}function ly(t){if(t)return t.options.allowProjection!==!1?t.projection:ly(t.parent)}function sT({preloadedFeatures:t,createVisualElement:r,useRender:o,useVisualState:s,Component:a}){var u,c;t&&YS(t);function f(g,v){let y;const w={...k.useContext(ey),...g,layoutId:aT(g)},{isStatic:b}=w,E=eT(g),P=s(g,b);if(!b&&nd){lT();const T=uT(w);y=T.MeasureLayout,E.visualElement=oT(a,P,w,r,T.ProjectionNode)}return h.jsxs(za.Provider,{value:E,children:[y&&E.visualElement?h.jsx(y,{visualElement:E.visualElement,...w}):null,o(a,g,nT(P,E.visualElement,v),P,b,E.visualElement)]})}
vendor: 104,091 bytes, line 10
10f.displayName=`motion.${typeof a=="string"?a:`create(${(c=(u=a.displayName)!==null&&u!==void 0?u:a.name)!==null&&c!==void 0?c:""})`}`;const p=k.forwardRef(f);return p[tT]=a,p}function aT({layoutId:t}){const r=k.useContext(Jg).id;return r&&t!==void 0?r+"-"+t:t}function lT(t,r){k.useContext(ry).strict}function uT(t){const{drag:r,layout:o}=Ro;if(!r&&!o)return{};const s={...r,...o};return{MeasureLayout:r?.isEnabled(t)||o?.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}const cT=["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 ld(t){return typeof t!="string"||t.includes("-")?!1:!!(cT.indexOf(t)>-1||/[A-Z]/u.test(t))}function Gh(t){const r=[{},{}];return t?.values.forEach((o,s)=>{r[0][s]=o.get(),r[1][s]=o.getVelocity()}),r}function ud(t,r,o,s){if(typeof r=="function"){const[a,u]=Gh(s);r=r(o!==void 0?o:t.custom,a,u)}if(typeof r=="string"&&(r=t.variants&&t.variants[r]),typeof r=="function"){const[a,u]=Gh(s);r=r(o!==void 0?o:t.custom,a,u)}return r}const yc=t=>Array.isArray(t),dT=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),fT=t=>yc(t)?t[t.length-1]||0:t,ht=t=>!!(t&&t.getVelocity);function Sa(t){const r=ht(t)?t.get():t;return dT(r)?r.toValue():r}function pT({scrapeMotionValuesFromProps:t,createRenderState:r,onUpdate:o},s,a,u){const c={latestValues:hT(s,a,u,t),renderState:r()};return o&&(c.onMount=f=>o({props:s,current:f,...c}),c.onUpdate=f=>o(f)),c}const uy=t=>(r,o)=>{const s=k.useContext(za),a=k.useContext(td),u=()=>pT(t,r,s,a);return o?u():$S(u)};function hT(t,r,o,s){const a={},u=s(t,{});for(const w in u)a[w]=Sa(u[w]);let{initial:c,animate:f}=t;const p=$a(t),g=iy(t);r&&g&&!p&&t.inherit!==!1&&(c===void 0&&(c=r.initial),f===void 0&&(f=r.animate));let v=o?o.initial===!1:!1;v=v||c===!1;const y=v?f:c;if(y&&typeof y!="boolean"&&!Ba(y)){const w=Array.isArray(y)?y:[y];for(let b=0;b<w.length;b++){const E=ud(t,w[b]);if(E){const{transitionEnd:P,transition:T,...A}=E;for(const D in A){let _=A[D];if(Array.isArray(_)){const O=v?_.length-1:0;_=_[O]}_!==null&&(a[D]=_)}for(const D in P)a[D]=P[D]}}}return a}const Do=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Hr=new Set(Do),cy=t=>r=>typeof r=="string"&&r.startsWith(t),dy=cy("--"),mT=cy("var(--"),cd=t=>mT(t)?gT.test(t.split("/*")[0].trim()):!1,gT=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,fy=(t,r)=>r&&typeof t=="number"?r.transform(t):t,In=(t,r,o)=>o>r?r:o<t?t:o,_o={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Bi={..._o,transform:t=>In(0,1,t)},ga={..._o,default:1},qi=t=>({test:r=>typeof r=="string"&&r.endsWith(t)&&r.split(" ").length===1,parse:parseFloat,transform:r=>`${r}${t}`}),mr=qi("deg"),mn=qi("%"),le=qi("px"),yT=qi("vh"),vT=qi("vw"),Kh={...mn,parse:t=>mn.parse(t)/100,transform:t=>mn.transform(t*100)},xT={borderWidth:le,borderTopWidth:le,borderRightWidth:le,borderBottomWidth:le,borderLeftWidth:le,borderRadius:le,radius:le,borderTopLeftRadius:le,borderTopRightRadius:le,borderBottomRightRadius:le,borderBottomLeftRadius:le,width:le,maxWidth:le,height:le,maxHeight:le,top:le,right:le,bottom:le,left:le,padding:le,paddingTop:le,paddingRight:le,paddingBottom:le,paddingLeft:le,margin:le,marginTop:le,marginRight:le,marginBottom:le,marginLeft:le,backgroundPositionX:le,backgroundPositionY:le},wT={rotate:mr,rotateX:mr,rotateY:mr,rotateZ:mr,scale:ga,scaleX:ga,scaleY:ga,scaleZ:ga,skew:mr,skewX:mr,skewY:mr,distance:le,translateX:le,translateY:le,translateZ:le,x:le,y:le,z:le,perspective:le,transformPerspective:le,opacity:Bi,originX:Kh,originY:Kh,originZ:le},Yh={..._o,transform:Math.round},dd={...xT,...wT,zIndex:Yh,size:le,fillOpacity:Bi,strokeOpacity:Bi,numOctaves:Yh},bT={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ST=Do.length;function TT(t,r,o){let s="",a=!0;for(let u=0;u<ST;u++){const c=Do[u],f=t[c];if(f===void 0)continue;let p=!0;if(typeof f=="number"?p=f===(c.startsWith("scale")?1:0):p=parseFloat(f)===0,!p||o){const g=fy(f,dd[c]);if(!p){a=!1;const v=bT[c]||c;s+=`${v}(${g}) `}o&&(r[c]=g)}}return s=s.trim(),o?s=o(r,a?"":s):a&&(s="none"),s}function fd(t,r,o){const{style:s,vars:a,transformOrigin:u}=t;let c=!1,f=!1;for(const p in r){const g=r[p];if(Hr.has(p)){c=!0;continue}else if(dy(p)){a[p]=g;continue}else{const v=fy(g,dd[p]);p.startsWith("origin")?(f=!0,u[p]=v):s[p]=v}}if(r.transform||(c||o?s.transform=TT(r,t.transform,o):s.transform&&(s.transform="none")),f){const{originX:p="50%",originY:g="50%",originZ:v=0}=u;s.transformOrigin=`${p} ${g} ${v}`}}const kT={offset:"stroke-dashoffset",array:"stroke-dasharray"},ET={offset:"strokeDashoffset",array:"strokeDasharray"};function CT(t,r,o=1,s=0,a=!0){t.pathLength=1;const u=a?kT:ET;t[u.offset]=le.transform(-s);const c=le.transform(r),f=le.transform(o);t[u.array]=`${c} ${f}`}function qh(t,r,o){return typeof t=="string"?t:le.transform(r+o*t)}function PT(t,r,o){const s=qh(r,t.x,t.width),a=qh(o,t.y,t.height);return`${s} ${a}`}function pd(t,{attrX:r,attrY:o,attrScale:s,originX:a,originY:u,pathLength:c,pathSpacing:f=1,pathOffset:p=0,...g},v,y){if(fd(t,g,y),v){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:w,style:b,dimensions:E}=t;w.transform&&(E&&(b.transform=w.transform),delete w.transform),E&&(a!==void 0||u!==void 0||b.transform)&&(b.transformOrigin=PT(E,a!==void 0?a:.5,u!==void 0?u:.5)),r!==void 0&&(w.x=r),o!==void 0&&(w.y=o),s!==void 0&&(w.scale=s),c!==void 0&&CT(w,c,f,p,!1)}const hd=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),py=()=>({...hd(),attrs:{}}),md=t=>typeof t=="string"&&t.toLowerCase()==="svg";function hy(t,{style:r,vars:o},s,a){Object.assign(t.style,r,a&&a.getProjectionStyles(s));for(const u in o)t.style.setProperty(u,o[u])}const my=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 gy(t,r,o,s){hy(t,r,void 0,s);for(const a in r.attrs)t.setAttribute(my.has(a)?a:sd(a),r.attrs[a])}const ja={};function jT(t){Object.assign(ja,t)}function yy(t,{layout:r,layoutId:o}){return Hr.has(t)||t.startsWith("origin")||(r||o!==void 0)&&(!!ja[t]||t==="opacity")}function gd(t,r,o){var s;const{style:a}=t,u={};for(const c in a)(ht(a[c])||r.style&&ht(r.style[c])||yy(c,t)||((s=o?.getValue(c))===null||s===void 0?void 0:s.liveStyle)!==void 0)&&(u[c]=a[c]);return u}function vy(t,r,o){const s=gd(t,r,o);for(const a in t)if(ht(t[a])||ht(r[a])){const u=Do.indexOf(a)!==-1?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a;s[u]=t[a]}return s}function RT(t,r){try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}const Qh=["x","y","width","height","cx","cy","r"],AT={useVisualState:uy({scrapeMotionValuesFromProps:vy,createRenderState:py,onUpdate:({props:t,prevProps:r,current:o,renderState:s,latestValues:a})=>{if(!o)return;let u=!!t.drag;if(!u){for(const f in a)if(Hr.has(f)){u=!0;break}}if(!u)return;let c=!r;if(r)for(let f=0;f<Qh.length;f++){const p=Qh[f];t[p]!==r[p]&&(c=!0)}c&&Ne.read(()=>{RT(o,s),Ne.render(()=>{pd(s,a,md(o.tagName),t.transformTemplate),gy(o,s)})})}})},NT={useVisualState:uy({scrapeMotionValuesFromProps:gd,createRenderState:hd})};function xy(t,r,o){for(const s in r)!ht(r[s])&&!yy(s,o)&&(t[s]=r[s])}function MT({transformTemplate:t},r){return k.useMemo(()=>{const o=hd();return fd(o,r,t),Object.assign({},o.vars,o.style)},[r])}function LT(t,r){const o=t.style||{},s={};return xy(s,o,t),Object.assign(s,MT(t,r)),s}function DT(t,r){const o={},s=LT(t,r);return t.drag&&t.dragListener!==!1&&(o.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(o.tabIndex=0),o.style=s,o}function _T(t,r,o,s){const a=k.useMemo(()=>{const u=py();return pd(u,r,md(s),t.transformTemplate),{...u.attrs,style:{...u.style}}},[r]);if(t.style){const u={};xy(u,t.style,t),a.style={...u,...a.style}}return a}function OT(t=!1){return(o,s,a,{latestValues:u},c)=>{const p=(ld(o)?_T:DT)(s,u,c,o),g=XS(s,typeof o=="string",t),v=o!==k.Fragment?{...g,...p,ref:a}:{},{children:y}=s,w=k.useMemo(()=>ht(y)?y.get():y,[y]);return k.createElement(o,{...v,children:w})}}function IT(t,r){return function(s,{forwardMotionProps:a}={forwardMotionProps:!1}){const c={...ld(s)?AT:NT,preloadedFeatures:t,useRender:OT(a),createVisualElement:r,Component:s};return sT(c)}}function wy(t,r){if(!Array.isArray(r))return!1;const o=r.length;if(o!==t.length)return!1;for(let s=0;s<o;s++)if(r[s]!==t[s])return!1;return!0}function Ua(t,r,o){const s=t.getProps();return ud(s,r,o!==void 0?o:s.custom,t)}const FT=rd(()=>window.ScrollTimeline!==void 0);class VT{constructor(r){this.stop=()=>this.runAll("stop"),this.animations=r.filter(Boolean)}get finished(){return Promise.all(this.animations.map(r=>"finished"in r?r.finished:r))}getAll(r){return this.animations[0][r]}setAll(r,o){for(let s=0;s<this.animations.length;s++)this.animations[s][r]=o}attachTimeline(r,o){const s=this.animations.map(a=>{if(FT()&&a.attachTimeline)return a.attachTimeline(r);if(typeof o=="function")return o(a)});return()=>{s.forEach((a,u)=>{a&&a(),this.animations[u].stop()})}}get time(){return this.getAll("time")}set time(r){this.setAll("time",r)}get speed(){return this.getAll("speed")}set speed(r){this.setAll("speed",r)}get startTime(){return this.getAll("startTime")}get duration(){let r=0;for(let o=0;o<this.animations.length;o++)r=Math.max(r,this.animations[o].duration);return r}runAll(r){this.animations.forEach(o=>o[r]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class zT extends VT{then(r,o){return Promise.all(this.animations).then(r).catch(o)}}function yd(t,r){return t?t[r]||t.default||t:void 0}const vc=2e4;function by(t){let r=0;const o=50;let s=t.next(r);for(;!s.done&&r<vc;)r+=o,s=t.next(r);return r>=vc?1/0:r}function vd(t){return typeof t=="function"}function Xh(t,r){t.timeline=r,t.onfinish=null}const xd=t=>Array.isArray(t)&&typeof t[0]=="number",BT={linearEasing:void 0};function $T(t,r){const o=rd(t);return()=>{var s;return(s=BT[r])!==null&&s!==void 0?s:o()}}const Ra=$T(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Sy=(t,r,o=10)=>{let s="";const a=Math.max(Math.round(r/o),2);for(let u=0;u<a;u++)s+=t(jo(0,a-1,u))+", ";return`linear(${s.substring(0,s.length-2)})`};function Ty(t){return!!(typeof t=="function"&&Ra()||!t||typeof t=="string"&&(t in xc||Ra())||xd(t)||Array.isArray(t)&&t.every(Ty))}const Mi=([t,r,o,s])=>`cubic-bezier(${t}, ${r}, ${o}, ${s})`,xc={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Mi([0,.65,.55,1]),circOut:Mi([.55,0,1,.45]),backIn:Mi([.31,.01,.66,-.59]),backOut:Mi([.33,1.53,.69,.99])};function ky(t,r){if(t)return typeof t=="function"&&Ra()?Sy(t,r):xd(t)?Mi(t):Array.isArray(t)?t.map(o=>ky(o,r)||xc.easeOut):xc[t]}const rn={x:!1,y:!1};function Ey(){return rn.x||rn.y}function UT(t,r,o){var s;if(t instanceof Element)return[t];if(typeof t=="string"){let a=document;const u=(s=void 0)!==null&&s!==void 0?s:a.querySelectorAll(t);return u?Array.from(u):[]}return Array.from(t)}function Cy(t,r){const o=UT(t),s=new AbortController,a={passive:!0,...r,signal:s.signal};return[o,a,()=>s.abort()]}function Zh(t){return r=>{r.pointerType==="touch"||Ey()||t(r)}}function HT(t,r,o={}){const[s,a,u]=Cy(t,o),c=Zh(f=>{const{target:p}=f,g=r(f);if(typeof g!="function"||!p)return;const v=Zh(y=>{g(y),p.removeEventListener("pointerleave",v)});p.addEventListener("pointerleave",v,a)});return s.forEach(f=>{f.addEventListener("pointerenter",c,a)}),u}const Py=(t,r)=>r?t===r?!0:Py(t,r.parentElement):!1,wd=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,WT=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function GT(t){return WT.has(t.tagName)||t.tabIndex!==-1}const Li=new WeakSet;function Jh(t){return r=>{r.key==="Enter"&&t(r)}}function $u(t,r){t.dispatchEvent(new PointerEvent("pointer"+r,{isPrimary:!0,bubbles:!0}))}const KT=(t,r)=>{const o=t.currentTarget;if(!o)return;const s=Jh(()=>{if(Li.has(o))return;$u(o,"down");const a=Jh(()=>{$u(o,"up")}),u=()=>$u(o,"cancel");o.addEventListener("keyup",a,r),o.addEventListener("blur",u,r)});o.addEventListener("keydown",s,r),o.addEventListener("blur",()=>o.removeEventListener("keydown",s),r)};function em(t){return wd(t)&&!Ey()}function YT(t,r,o={}){const[s,a,u]=Cy(t,o),c=f=>{const p=f.currentTarget;if(!em(f)||Li.has(p))return;Li.add(p);const g=r(f),v=(b,E)=>{window.removeEventListener("pointerup",y),window.removeEventListener("pointercancel",w),!(!em(b)||!Li.has(p))&&(Li.delete(p),typeof g=="function"&&g(b,{success:E}))},y=b=>{v(b,o.useGlobalTarget||Py(p,b.target))},w=b=>{v(b,!1)};window.addEventListener("pointerup",y,a),window.addEventListener("pointercancel",w,a)};return s.forEach(f=>{!GT(f)&&f.getAttribute("tabindex")===null&&(f.tabIndex=0),(o.useGlobalTarget?window:f).addEventListener("pointerdown",c,a),f.addEventListener("focus",g=>KT(g,a),a)}),u}function qT(t){return t==="x"||t==="y"?rn[t]?null:(rn[t]=!0,()=>{rn[t]=!1}):rn.x||rn.y?null:(rn.x=rn.y=!0,()=>{rn.x=rn.y=!1})}const jy=new Set(["width","height","top","left","right","bottom",...Do]);let Ta;function QT(){Ta=void 0}const gn={now:()=>(Ta===void 0&&gn.set(at.isProcessing||WS.useManualTiming?at.timestamp:performance.now()),Ta),set:t=>{Ta=t,queueMicrotask(QT)}};function bd(t,r){t.indexOf(r)===-1&&t.push(r)}function Sd(t,r){const o=t.indexOf(r);o>-1&&t.splice(o,1)}class Td{constructor(){this.subscriptions=[]}add(r){return bd(this.subscriptions,r),()=>Sd(this.subscriptions,r)}notify(r,o,s){const a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](r,o,s);else for(let u=0;u<a;u++){const c=this.subscriptions[u];c&&c(r,o,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Ry(t,r){return r?t*(1e3/r):0}const tm=30,XT=t=>!isNaN(parseFloat(t));class ZT{constructor(r,o={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(s,a=!0)=>{const u=gn.now();this.updatedAt!==u&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),a&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(r),this.owner=o.owner}setCurrent(r){this.current=r,this.updatedAt=gn.now(),this.canTrackVelocity===null&&r!==void 0&&(this.canTrackVelocity=XT(this.current))}setPrevFrameValue(r=this.current){this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt}onChange(r){return this.on("change",r)}on(r,o){this.events[r]||(this.events[r]=new Td);const s=this.events[r].add(o);return r==="change"?()=>{s(),Ne.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const r in this.events)this.events[r].clear()}attach(r,o){this.passiveEffect=r,this.stopPassiveEffect=o}set(r,o=!0){!o||!this.passiveEffect?this.updateAndNotify(r,o):this.passiveEffect(r,this.updateAndNotify)}setWithVelocity(r,o,s){this.set(o),this.prev=void 0,this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt-s}jump(r,o=!0){this.updateAndNotify(r),this.prev=r,this.prevUpdatedAt=this.prevFrameValue=void 0,o&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const r=gn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||r-this.updatedAt>tm)return 0;const o=Math.min(this.updatedAt-this.prevUpdatedAt,tm);return Ry(parseFloat(this.current)-parseFloat(this.prevFrameValue),o)}start(r){return this.stop(),new Promise(o=>{this.hasAnimated=!0,this.animation=r(o),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 $i(t,r){return new ZT(t,r)}function JT(t,r,o){t.hasValue(r)?t.getValue(r).set(o):t.addValue(r,$i(o))}function ek(t,r){const o=Ua(t,r);let{transitionEnd:s={},transition:a={},...u}=o||{};u={...u,...s};for(const c in u){const f=fT(u[c]);JT(t,c,f)}}function tk(t){return!!(ht(t)&&t.add)}function wc(t,r){const o=t.getValue("willChange");if(tk(o))return o.add(r)}function Ay(t){return t.props[sy]}const Ny=(t,r,o)=>(((1-3*o+3*r)*t+(3*o-6*r))*t+3*r)*t,nk=1e-7,rk=12;function ok(t,r,o,s,a){let u,c,f=0;do c=r+(o-r)/2,u=Ny(c,s,a)-t,u>0?o=c:r=c;while(Math.abs(u)>nk&&++f<rk);return c}function Qi(t,r,o,s){if(t===r&&o===s)return Lt;const a=u=>ok(u,0,1,t,o);return u=>u===0||u===1?u:Ny(a(u),r,s)}const My=t=>r=>r<=.5?t(2*r)/2:(2-t(2*(1-r)))/2,Ly=t=>r=>1-t(1-r),Dy=Qi(.33,1.53,.69,.99),kd=Ly(Dy),_y=My(kd),Oy=t=>(t*=2)<1?.5*kd(t):.5*(2-Math.pow(2,-10*(t-1))),Ed=t=>1-Math.sin(Math.acos(t)),Iy=Ly(Ed),Fy=My(Ed),Vy=t=>/^0[^.\s]+$/u.test(t);function ik(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Vy(t):!0}const _i=t=>Math.round(t*1e5)/1e5,Cd=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function sk(t){return t==null}const ak=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Pd=(t,r)=>o=>!!(typeof o=="string"&&ak.test(o)&&o.startsWith(t)||r&&!sk(o)&&Object.prototype.hasOwnProperty.call(o,r)),zy=(t,r,o)=>s=>{if(typeof s!="string")return s;const[a,u,c,f]=s.match(Cd);return{[t]:parseFloat(a),[r]:parseFloat(u),[o]:parseFloat(c),alpha:f!==void 0?parseFloat(f):1}},lk=t=>In(0,255,t),Uu={..._o,transform:t=>Math.round(lk(t))},Br={test:Pd("rgb","red"),parse:zy("red","green","blue"),transform:({red:t,green:r,blue:o,alpha:s=1})=>"rgba("+Uu.transform(t)+", "+Uu.transform(r)+", "+Uu.transform(o)+", "+_i(Bi.transform(s))+")"};function uk(t){let r="",o="",s="",a="";return t.length>5?(r=t.substring(1,3),o=t.substring(3,5),s=t.substring(5,7),a=t.substring(7,9)):(r=t.substring(1,2),o=t.substring(2,3),s=t.substring(3,4),a=t.substring(4,5),r+=r,o+=o,s+=s,a+=a),{red:parseInt(r,16),green:parseInt(o,16),blue:parseInt(s,16),alpha:a?parseInt(a,16)/255:1}}const bc={test:Pd("#"),parse:uk,transform:Br.transform},wo={test:Pd("hsl","hue"),parse:zy("hue","saturation","lightness"),transform:({hue:t,saturation:r,lightness:o,alpha:s=1})=>"hsla("+Math.round(t)+", "+mn.transform(_i(r))+", "+mn.transform(_i(o))+", "+_i(Bi.transform(s))+")"},pt={test:t=>Br.test(t)||bc.test(t)||wo.test(t),parse:t=>Br.test(t)?Br.parse(t):wo.test(t)?wo.parse(t):bc.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Br.transform(t):wo.transform(t)},ck=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function dk(t){var r,o;return isNaN(t)&&typeof t=="string"&&(((r=t.match(Cd))===null||r===void 0?void 0:r.length)||0)+(((o=t.match(ck))===null||o===void 0?void 0:o.length)||0)>0}const By="number",$y="color",fk="var",pk="var(",nm="${}",hk=/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 Ui(t){const r=t.toString(),o=[],s={color:[],number:[],var:[]},a=[];let u=0;const f=r.replace(hk,p=>(pt.test(p)?(s.color.push(u),a.push($y),o.push(pt.parse(p))):p.startsWith(pk)?(s.var.push(u),a.push(fk),o.push(p)):(s.number.push(u),a.push(By),o.push(parseFloat(p))),++u,nm)).split(nm);return{values:o,split:f,indexes:s,types:a}}function Uy(t){return Ui(t).values}function Hy(t){const{split:r,types:o}=Ui(t),s=r.length;return a=>{let u="";for(let c=0;c<s;c++)if(u+=r[c],a[c]!==void 0){const f=o[c];f===By?u+=_i(a[c]):f===$y?u+=pt.transform(a[c]):u+=a[c]}return u}}const mk=t=>typeof t=="number"?0:t;function gk(t){const r=Uy(t);return Hy(t)(r.map(mk))}const vr={test:dk,parse:Uy,createTransformer:Hy,getAnimatableNone:gk},yk=new Set(["brightness","contrast","saturate","opacity"]);function vk(t){const[r,o]=t.slice(0,-1).split("(");if(r==="drop-shadow")return t;const[s]=o.match(Cd)||[];if(!s)return t;const a=o.replace(s,"");let u=yk.has(r)?1:0;return s!==o&&(u*=100),r+"("+u+a+")"}const xk=/\b([a-z-]*)\(.*?\)/gu,Sc={...vr,getAnimatableNone:t=>{const r=t.match(xk);return r?r.map(vk).join(" "):t}},wk={...dd,color:pt,backgroundColor:pt,outlineColor:pt,fill:pt,stroke:pt,borderColor:pt,borderTopColor:pt,borderRightColor:pt,borderBottomColor:pt,borderLeftColor:pt,filter:Sc,WebkitFilter:Sc},jd=t=>wk[t];function Wy(t,r){let o=jd(t);return o!==Sc&&(o=vr),o.getAnimatableNone?o.getAnimatableNone(r):void 0}const bk=new Set(["auto","none","0"]);function Sk(t,r,o){let s=0,a;for(;s<t.length&&!a;){const u=t[s];typeof u=="string"&&!bk.has(u)&&Ui(u).values.length&&(a=t[s]),s++}if(a&&o)for(const u of r)t[u]=Wy(o,a)}const rm=t=>t===_o||t===le,om=(t,r)=>parseFloat(t.split(", ")[r]),im=(t,r)=>(o,{transform:s})=>{if(s==="none"||!s)return 0;const a=s.match(/^matrix3d\((.+)\)$/u);if(a)return om(a[1],r);{const u=s.match(/^matrix\((.+)\)$/u);return u?om(u[1],t):0}},Tk=new Set(["x","y","z"]),kk=Do.filter(t=>!Tk.has(t));function Ek(t){const r=[];return kk.forEach(o=>{const s=t.getValue(o);s!==void 0&&(r.push([o,s.get()]),s.set(o.startsWith("scale")?1:0))}),r}const Ao={width:({x:t},{paddingLeft:r="0",paddingRight:o="0"})=>t.max-t.min-parseFloat(r)-parseFloat(o),height:({y:t},{paddingTop:r="0",paddingBottom:o="0"})=>t.max-t.min-parseFloat(r)-parseFloat(o),top:(t,{top:r})=>parseFloat(r),left:(t,{left:r})=>parseFloat(r),bottom:({y:t},{top:r})=>parseFloat(r)+(t.max-t.min),right:({x:t},{left:r})=>parseFloat(r)+(t.max-t.min),x:im(4,13),y:im(5,14)};Ao.translateX=Ao.x;Ao.translateY=Ao.y;const $r=new Set;let Tc=!1,kc=!1;function Gy(){if(kc){const t=Array.from($r).filter(s=>s.needsMeasurement),r=new Set(t.map(s=>s.element)),o=new Map;r.forEach(s=>{const a=Ek(s);a.length&&(o.set(s,a),s.render())}),t.forEach(s=>s.measureInitialState()),r.forEach(s=>{s.render();const a=o.get(s);a&&a.forEach(([u,c])=>{var f;(f=s.getValue(u))===null||f===void 0||f.set(c)})}),t.forEach(s=>s.measureEndState()),t.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}kc=!1,Tc=!1,$r.forEach(t=>t.complete()),$r.clear()}function Ky(){$r.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(kc=!0)})}function Ck(){Ky(),Gy()}class Rd{constructor(r,o,s,a,u,c=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...r],this.onComplete=o,this.name=s,this.motionValue=a,this.element=u,this.isAsync=c}scheduleResolve(){this.isScheduled=!0,this.isAsync?($r.add(this),Tc||(Tc=!0,Ne.read(Ky),Ne.resolveKeyframes(Gy))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:r,name:o,element:s,motionValue:a}=this;for(let u=0;u<r.length;u++)if(r[u]===null)if(u===0){const c=a?.get(),f=r[r.length-1];if(c!==void 0)r[0]=c;else if(s&&o){const p=s.readValue(o,f);p!=null&&(r[0]=p)}r[0]===void 0&&(r[0]=f),a&&c===void 0&&a.set(r[0])}else r[u]=r[u-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),$r.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,$r.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const Yy=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),Pk=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function jk(t){const r=Pk.exec(t);if(!r)return[,];const[,o,s,a]=r;return[`--${o??s}`,a]}function qy(t,r,o=1){const[s,a]=jk(t);if(!s)return;const u=window.getComputedStyle(r).getPropertyValue(s);if(u){const c=u.trim();return Yy(c)?parseFloat(c):c}return cd(a)?qy(a,r,o+1):a}const Qy=t=>r=>r.test(t),Rk={test:t=>t==="auto",parse:t=>t},Xy=[_o,le,mn,mr,vT,yT,Rk],sm=t=>Xy.find(Qy(t));class Zy extends Rd{constructor(r,o,s,a,u){super(r,o,s,a,u,!0)}readKeyframes(){const{unresolvedKeyframes:r,element:o,name:s}=this;if(!o||!o.current)return;super.readKeyframes();for(let p=0;p<r.length;p++){let g=r[p];if(typeof g=="string"&&(g=g.trim(),cd(g))){const v=qy(g,o.current);v!==void 0&&(r[p]=v),p===r.length-1&&(this.finalKeyframe=g)}}if(this.resolveNoneKeyframes(),!jy.has(s)||r.length!==2)return;const[a,u]=r,c=sm(a),f=sm(u);if(c!==f)if(rm(c)&&rm(f))for(let p=0;p<r.length;p++){const g=r[p];typeof g=="string"&&(r[p]=parseFloat(g))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:r,name:o}=this,s=[];for(let a=0;a<r.length;a++)ik(r[a])&&s.push(a);s.length&&Sk(r,s,o)}measureInitialState(){const{element:r,unresolvedKeyframes:o,name:s}=this;if(!r||!r.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ao[s](r.measureViewportBox(),window.getComputedStyle(r.current)),o[0]=this.measuredOrigin;const a=o[o.length-1];a!==void 0&&r.getValue(s,a).jump(a,!1)}measureEndState(){var r;const{element:o,name:s,unresolvedKeyframes:a}=this;if(!o||!o.current)return;const u=o.getValue(s);u&&u.jump(this.measuredOrigin,!1);const c=a.length-1,f=a[c];a[c]=Ao[s](o.measureViewportBox(),window.getComputedStyle(o.current)),f!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=f),!((r=this.removedTransforms)===null||r===void 0)&&r.length&&this.removedTransforms.forEach(([p,g])=>{o.getValue(p).set(g)}),this.resolveNoneKeyframes()}}const am=(t,r)=>r==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(vr.test(t)||t==="0")&&!t.startsWith("url("));function Ak(t){const r=t[0];if(t.length===1)return!0;for(let o=0;o<t.length;o++)if(t[o]!==r)return!0}function Nk(t,r,o,s){const a=t[0];if(a===null)return!1;if(r==="display"||r==="visibility")return!0;const u=t[t.length-1],c=am(a,r),f=am(u,r);return!c||!f?!1:Ak(t)||(o==="spring"||vd(o))&&s}const Mk=t=>t!==null;function Ha(t,{repeat:r,repeatType:o="loop"},s){const a=t.filter(Mk),u=r&&o!=="loop"&&r%2===1?0:a.length-1;return!u||s===void 0?a[u]:s}const Lk=40;class Jy{constructor({autoplay:r=!0,delay:o=0,type:s="keyframes",repeat:a=0,repeatDelay:u=0,repeatType:c="loop",...f}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=gn.now(),this.options={autoplay:r,delay:o,type:s,repeat:a,repeatDelay:u,repeatType:c,...f},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>Lk?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&Ck(),this._resolved}onKeyframesResolved(r,o){this.resolvedAt=gn.now(),this.hasAttemptedResolve=!0;const{name:s,type:a,velocity:u,delay:c,onComplete:f,onUpdate:p,isGenerator:g}=this.options;if(!g&&!Nk(r,s,a,u))if(c)this.options.duration=0;else{p&&p(Ha(r,this.options,o)),f&&f(),this.resolveFinishedPromise();return}const v=this.initPlayback(r,o);v!==!1&&(this._resolved={keyframes:r,finalKeyframe:o,...v},this.onPostResolved())}onPostResolved(){}then(r,o){return this.currentFinishedPromise.then(r,o)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(r=>{this.resolveFinishedPromise=r})}}const Ve=(t,r,o)=>t+(r-t)*o;function Hu(t,r,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?t+(r-t)*6*o:o<1/2?r:o<2/3?t+(r-t)*(2/3-o)*6:t}function Dk({hue:t,saturation:r,lightness:o,alpha:s}){t/=360,r/=100,o/=100;let a=0,u=0,c=0;if(!r)a=u=c=o;else{const f=o<.5?o*(1+r):o+r-o*r,p=2*o-f;a=Hu(p,f,t+1/3),u=Hu(p,f,t),c=Hu(p,f,t-1/3)}return{red:Math.round(a*255),green:Math.round(u*255),blue:Math.round(c*255),alpha:s}}function Aa(t,r){return o=>o>0?r:t}const Wu=(t,r,o)=>{const s=t*t,a=o*(r*r-s)+s;return a<0?0:Math.sqrt(a)},_k=[bc,Br,wo],Ok=t=>_k.find(r=>r.test(t));function lm(t){const r=Ok(t);if(!r)return!1;let o=r.parse(t);return r===wo&&(o=Dk(o)),o}const um=(t,r)=>{const o=lm(t),s=lm(r);if(!o||!s)return Aa(t,r);const a={...o};return u=>(a.red=Wu(o.red,s.red,u),a.green=Wu(o.green,s.green,u),a.blue=Wu(o.blue,s.blue,u),a.alpha=Ve(o.alpha,s.alpha,u),Br.transform(a))},Ik=(t,r)=>o=>r(t(o)),Xi=(...t)=>t.reduce(Ik),Ec=new Set(["none","hidden"]);function Fk(t,r){return Ec.has(t)?o=>o<=0?t:r:o=>o>=1?r:t}function Vk(t,r){return o=>Ve(t,r,o)}function Ad(t){return typeof t=="number"?Vk:typeof t=="string"?cd(t)?Aa:pt.test(t)?um:$k:Array.isArray(t)?ev:typeof t=="object"?pt.test(t)?um:zk:Aa}function ev(t,r){const o=[...t],s=o.length,a=t.map((u,c)=>Ad(u)(u,r[c]));return u=>{for(let c=0;c<s;c++)o[c]=a[c](u);return o}}function zk(t,r){const o={...t,...r},s={};for(const a in o)t[a]!==void 0&&r[a]!==void 0&&(s[a]=Ad(t[a])(t[a],r[a]));return a=>{for(const u in s)o[u]=s[u](a);return o}}function Bk(t,r){var o;const s=[],a={color:0,var:0,number:0};for(let u=0;u<r.values.length;u++){const c=r.types[u],f=t.indexes[c][a[c]],p=(o=t.values[f])!==null&&o!==void 0?o:0;s[u]=p,a[c]++}return s}const $k=(t,r)=>{const o=vr.createTransformer(r),s=Ui(t),a=Ui(r);return s.indexes.var.length===a.indexes.var.length&&s.indexes.color.length===a.indexes.color.length&&s.indexes.number.length>=a.indexes.number.length?Ec.has(t)&&!a.values.length||Ec.has(r)&&!s.values.length?Fk(t,r):Xi(ev(Bk(s,a),a.values),o):Aa(t,r)};function tv(t,r,o){return typeof t=="number"&&typeof r=="number"&&typeof o=="number"?Ve(t,r,o):Ad(t)(t,r)}const Uk=5;function nv(t,r,o){const s=Math.max(r-Uk,0);return Ry(o-t(s),r-s)}const $e={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},Gu=.001;function Hk({duration:t=$e.duration,bounce:r=$e.bounce,velocity:o=$e.velocity,mass:s=$e.mass}){let a,u,c=1-r;c=In($e.minDamping,$e.maxDamping,c),t=In($e.minDuration,$e.maxDuration,_n(t)),c<1?(a=g=>{const v=g*c,y=v*t,w=v-o,b=Cc(g,c),E=Math.exp(-y);return Gu-w/b*E},u=g=>{const y=g*c*t,w=y*o+o,b=Math.pow(c,2)*Math.pow(g,2)*t,E=Math.exp(-y),P=Cc(Math.pow(g,2),c);return(-a(g)+Gu>0?-1:1)*((w-b)*E)/P}):(a=g=>{const v=Math.exp(-g*t),y=(g-o)*t+1;return-Gu+v*y},u=g=>{const v=Math.exp(-g*t),y=(o-g)*(t*t);return v*y});const f=5/t,p=Gk(a,u,f);if(t=Dn(t),isNaN(p))return{stiffness:$e.stiffness,damping:$e.damping,duration:t};{const g=Math.pow(p,2)*s;return{stiffness:g,damping:c*2*Math.sqrt(s*g),duration:t}}}const Wk=12;function Gk(t,r,o){let s=o;for(let a=1;a<Wk;a++)s=s-t(s)/r(s);return s}function Cc(t,r){return t*Math.sqrt(1-r*r)}const Kk=["duration","bounce"],Yk=["stiffness","damping","mass"];function cm(t,r){return r.some(o=>t[o]!==void 0)}function qk(t){let r={velocity:$e.velocity,stiffness:$e.stiffness,damping:$e.damping,mass:$e.mass,isResolvedFromDuration:!1,...t};if(!cm(t,Yk)&&cm(t,Kk))if(t.visualDuration){const o=t.visualDuration,s=2*Math.PI/(o*1.2),a=s*s,u=2*In(.05,1,1-(t.bounce||0))*Math.sqrt(a);r={...r,mass:$e.mass,stiffness:a,damping:u}}else{const o=Hk(t);r={...r,...o,mass:$e.mass},r.isResolvedFromDuration=!0}return r}function rv(t=$e.visualDuration,r=$e.bounce){const o=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:r}:t;let{restSpeed:s,restDelta:a}=o;const u=o.keyframes[0],c=o.keyframes[o.keyframes.length-1],f={done:!1,value:u},{stiffness:p,damping:g,mass:v,duration:y,velocity:w,isResolvedFromDuration:b}=qk({...o,velocity:-_n(o.velocity||0)}),E=w||0,P=g/(2*Math.sqrt(p*v)),T=c-u,A=_n(Math.sqrt(p/v)),D=Math.abs(T)<5;s||(s=D?$e.restSpeed.granular:$e.restSpeed.default),a||(a=D?$e.restDelta.granular:$e.restDelta.default);let _;if(P<1){const H=Cc(A,P);_=X=>{const ae=Math.exp(-P*A*X);return c-ae*((E+P*A*T)/H*Math.sin(H*X)+T*Math.cos(H*X))}}else if(P===1)_=H=>c-Math.exp(-A*H)*(T+(E+A*T)*H);else{const H=A*Math.sqrt(P*P-1);_=X=>{const ae=Math.exp(-P*A*X),Y=Math.min(H*X,300);return c-ae*((E+P*A*T)*Math.sinh(Y)+H*T*Math.cosh(Y))/H}}const O={calculatedDuration:b&&y||null,next:H=>{const X=_(H);if(b)f.done=H>=y;else{let ae=0;P<1&&(ae=H===0?Dn(E):nv(_,H,X));const Y=Math.abs(ae)<=s,ye=Math.abs(c-X)<=a;f.done=Y&&ye}return f.value=f.done?c:X,f},toString:()=>{const H=Math.min(by(O),vc),X=Sy(ae=>O.next(H*ae).value,H,30);return H+"ms "+X}};return O}function dm({keyframes:t,velocity:r=0,power:o=.8,timeConstant:s=325,bounceDamping:a=10,bounceStiffness:u=500,modifyTarget:c,min:f,max:p,restDelta:g=.5,restSpeed:v}){const y=t[0],w={done:!1,value:y},b=Y=>f!==void 0&&Y<f||p!==void 0&&Y>p,E=Y=>f===void 0?p:p===void 0||Math.abs(f-Y)<Math.abs(p-Y)?f:p;let P=o*r;const T=y+P,A=c===void 0?T:c(T);A!==T&&(P=A-y);const D=Y=>-P*Math.exp(-Y/s),_=Y=>A+D(Y),O=Y=>{const ye=D(Y),ve=_(Y);w.done=Math.abs(ye)<=g,w.value=w.done?A:ve};let H,X;const ae=Y=>{b(w.value)&&(H=Y,X=rv({keyframes:[w.value,E(w.value)],velocity:nv(_,Y,w.value),damping:a,stiffness:u,restDelta:g,restSpeed:v}))};return ae(0),{calculatedDuration:null,next:Y=>{let ye=!1;return!X&&H===void 0&&(ye=!0,O(Y),ae(Y)),H!==void 0&&Y>=H?X.next(Y-H):(!ye&&O(Y),w)}}}const Qk=Qi(.42,0,1,1),Xk=Qi(0,0,.58,1),ov=Qi(.42,0,.58,1),Zk=t=>Array.isArray(t)&&typeof t[0]!="number",Jk={linear:Lt,easeIn:Qk,easeInOut:ov,easeOut:Xk,circIn:Ed,circInOut:Fy,circOut:Iy,backIn:kd,backInOut:_y,backOut:Dy,anticipate:Oy},fm=t=>{if(xd(t)){ty(t.length===4);const[r,o,s,a]=t;return Qi(r,o,s,a)}else if(typeof t=="string")return Jk[t];return t};function eE(t,r,o){const s=[],a=o||tv,u=t.length-1;for(let c=0;c<u;c++){let f=a(t[c],t[c+1]);if(r){const p=Array.isArray(r)?r[c]||Lt:r;f=Xi(p,f)}s.push(f)}return s}function tE(t,r,{clamp:o=!0,ease:s,mixer:a}={}){const u=t.length;if(ty(u===r.length),u===1)return()=>r[0];if(u===2&&r[0]===r[1])return()=>r[1];const c=t[0]===t[1];t[0]>t[u-1]&&(t=[...t].reverse(),r=[...r].reverse());const f=eE(r,s,a),p=f.length,g=v=>{if(c&&v<t[0])return r[0];let y=0;if(p>1)for(;y<t.length-2&&!(v<t[y+1]);y++);const w=jo(t[y],t[y+1],v);return f[y](w)};return o?v=>g(In(t[0],t[u-1],v)):g}function nE(t,r){const o=t[t.length-1];for(let s=1;s<=r;s++){const a=jo(0,r,s);t.push(Ve(o,1,a))}}function rE(t){const r=[0];return nE(r,t.length-1),r}function oE(t,r){return t.map(o=>o*r)}function iE(t,r){return t.map(()=>r||ov).splice(0,t.length-1)}function Na({duration:t=300,keyframes:r,times:o,ease:s="easeInOut"}){const a=Zk(s)?s.map(fm):fm(s),u={done:!1,value:r[0]},c=oE(o&&o.length===r.length?o:rE(r),t),f=tE(c,r,{ease:Array.isArray(a)?a:iE(r,a)});return{calculatedDuration:t,next:p=>(u.value=f(p),u.done=p>=t,u)}}const sE=t=>{const r=({timestamp:o})=>t(o);return{start:()=>Ne.update(r,!0),stop:()=>yr(r),now:()=>at.isProcessing?at.timestamp:gn.now()}},aE={decay:dm,inertia:dm,tween:Na,keyframes:Na,spring:rv},lE=t=>t/100;class Nd extends Jy{constructor(r){super(r),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:o,motionValue:s,element:a,keyframes:u}=this.options,c=a?.KeyframeResolver||Rd,f=(p,g)=>this.onKeyframesResolved(p,g);this.resolver=new c(u,f,o,s,a),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(r){const{type:o="keyframes",repeat:s=0,repeatDelay:a=0,repeatType:u,velocity:c=0}=this.options,f=vd(o)?o:aE[o]||Na;let p,g;f!==Na&&typeof r[0]!="number"&&(p=Xi(lE,tv(r[0],r[1])),r=[0,100]);const v=f({...this.options,keyframes:r});u==="mirror"&&(g=f({...this.options,keyframes:[...r].reverse(),velocity:-c})),v.calculatedDuration===null&&(v.calculatedDuration=by(v));const{calculatedDuration:y}=v,w=y+a,b=w*(s+1)-a;return{generator:v,mirroredGenerator:g,mapPercentToKeyframes:p,calculatedDuration:y,resolvedDuration:w,totalDuration:b}}onPostResolved(){const{autoplay:r=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!r?this.pause():this.state=this.pendingPlayState}tick(r,o=!1){const{resolved:s}=this;if(!s){const{keyframes:Y}=this.options;return{done:!0,value:Y[Y.length-1]}}const{finalKeyframe:a,generator:u,mirroredGenerator:c,mapPercentToKeyframes:f,keyframes:p,calculatedDuration:g,totalDuration:v,resolvedDuration:y}=s;if(this.startTime===null)return u.next(0);const{delay:w,repeat:b,repeatType:E,repeatDelay:P,onUpdate:T}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,r):this.speed<0&&(this.startTime=Math.min(r-v/this.speed,this.startTime)),o?this.currentTime=r:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(r-this.startTime)*this.speed;const A=this.currentTime-w*(this.speed>=0?1:-1),D=this.speed>=0?A<0:A>v;this.currentTime=Math.max(A,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=v);let _=this.currentTime,O=u;if(b){const Y=Math.min(this.currentTime,v)/y;let ye=Math.floor(Y),ve=Y%1;!ve&&Y>=1&&(ve=1),ve===1&&ye--,ye=Math.min(ye,b+1),ye%2&&(E==="reverse"?(ve=1-ve,P&&(ve-=P/y)):E==="mirror"&&(O=c)),_=In(0,1,ve)*y}const H=D?{done:!1,value:p[0]}:O.next(_);f&&(H.value=f(H.value));let{done:X}=H;!D&&g!==null&&(X=this.speed>=0?this.currentTime>=v:this.currentTime<=0);const ae=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&X);return ae&&a!==void 0&&(H.value=Ha(p,this.options,a)),T&&T(H.value),ae&&this.finish(),H}get duration(){const{resolved:r}=this;return r?_n(r.calculatedDuration):0}get time(){return _n(this.currentTime)}set time(r){r=Dn(r),this.currentTime=r,this.holdTime!==null||this.speed===0?this.holdTime=r:this.driver&&(this.startTime=this.driver.now()-r/this.speed)}get speed(){return this.playbackSpeed}set speed(r){const o=this.playbackSpeed!==r;this.playbackSpeed=r,o&&(this.time=_n(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:r=sE,onPlay:o,startTime:s}=this.options;this.driver||(this.driver=r(u=>this.tick(u))),o&&o();const a=this.driver.now();this.holdTime!==null?this.startTime=a-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=a):this.startTime=s??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var r;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(r=this.currentTime)!==null&&r!==void 0?r:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:r}=this.options;r&&r()}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(r){return this.startTime=0,this.tick(r,!0)}}const uE=new Set(["opacity","clipPath","filter","transform"]);function cE(t,r,o,{delay:s=0,duration:a=300,repeat:u=0,repeatType:c="loop",ease:f="easeInOut",times:p}={}){const g={[r]:o};p&&(g.offset=p);const v=ky(f,a);return Array.isArray(v)&&(g.easing=v),t.animate(g,{delay:s,duration:a,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:u+1,direction:c==="reverse"?"alternate":"normal"})}const dE=rd(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Ma=10,fE=2e4;function pE(t){return vd(t.type)||t.type==="spring"||!Ty(t.ease)}function hE(t,r){const o=new Nd({...r,keyframes:t,repeat:0,delay:0,isGenerator:!0});let s={done:!1,value:t[0]};const a=[];let u=0;for(;!s.done&&u<fE;)s=o.sample(u),a.push(s.value),u+=Ma;return{times:void 0,keyframes:a,duration:u-Ma,ease:"linear"}}const iv={anticipate:Oy,backInOut:_y,circInOut:Fy};function mE(t){return t in iv}class pm extends Jy{constructor(r){super(r);const{name:o,motionValue:s,element:a,keyframes:u}=this.options;this.resolver=new Zy(u,(c,f)=>this.onKeyframesResolved(c,f),o,s,a),this.resolver.scheduleResolve()}initPlayback(r,o){let{duration:s=300,times:a,ease:u,type:c,motionValue:f,name:p,startTime:g}=this.options;if(!f.owner||!f.owner.current)return!1;if(typeof u=="string"&&Ra()&&mE(u)&&(u=iv[u]),pE(this.options)){const{onComplete:y,onUpdate:w,motionValue:b,element:E,...P}=this.options,T=hE(r,P);r=T.keyframes,r.length===1&&(r[1]=r[0]),s=T.duration,a=T.times,u=T.ease,c="keyframes"}const v=cE(f.owner.current,p,r,{...this.options,duration:s,times:a,ease:u});return v.startTime=g??this.calcStartTime(),this.pendingTimeline?(Xh(v,this.pendingTimeline),this.pendingTimeline=void 0):v.onfinish=()=>{const{onComplete:y}=this.options;f.set(Ha(r,this.options,o)),y&&y(),this.cancel(),this.resolveFinishedPromise()},{animation:v,duration:s,times:a,type:c,ease:u,keyframes:r}}get duration(){const{resolved:r}=this;if(!r)return 0;const{duration:o}=r;return _n(o)}get time(){const{resolved:r}=this;if(!r)return 0;const{animation:o}=r;return _n(o.currentTime||0)}set time(r){const{resolved:o}=this;if(!o)return;const{animation:s}=o;s.currentTime=Dn(r)}get speed(){const{resolved:r}=this;if(!r)return 1;const{animation:o}=r;return o.playbackRate}set speed(r){const{resolved:o}=this;if(!o)return;const{animation:s}=o;s.playbackRate=r}get state(){const{resolved:r}=this;if(!r)return"idle";const{animation:o}=r;return o.playState}get startTime(){const{resolved:r}=this;if(!r)return null;const{animation:o}=r;return o.startTime}attachTimeline(r){if(!this._resolved)this.pendingTimeline=r;else{const{resolved:o}=this;if(!o)return Lt;const{animation:s}=o;Xh(s,r)}return Lt}play(){if(this.isStopped)return;const{resolved:r}=this;if(!r)return;const{animation:o}=r;o.playState==="finished"&&this.updateFinishedPromise(),o.play()}pause(){const{resolved:r}=this;if(!r)return;const{animation:o}=r;o.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:r}=this;if(!r)return;const{animation:o,keyframes:s,duration:a,type:u,ease:c,times:f}=r;if(o.playState==="idle"||o.playState==="finished")return;if(this.time){const{motionValue:g,onUpdate:v,onComplete:y,element:w,...b}=this.options,E=new Nd({...b,keyframes:s,duration:a,type:u,ease:c,times:f,isGenerator:!0}),P=Dn(this.time);g.setWithVelocity(E.sample(P-Ma).value,E.sample(P).value,Ma)}const{onStop:p}=this.options;p&&p(),this.cancel()}complete(){const{resolved:r}=this;r&&r.animation.finish()}cancel(){const{resolved:r}=this;r&&r.animation.cancel()}static supports(r){const{motionValue:o,name:s,repeatDelay:a,repeatType:u,damping:c,type:f}=r;if(!o||!o.owner||!(o.owner.current instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:g}=o.owner.getProps();return dE()&&s&&uE.has(s)&&!p&&!g&&!a&&u!=="mirror"&&c!==0&&f!=="inertia"}}const gE={type:"spring",stiffness:500,damping:25,restSpeed:10},yE=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),vE={type:"keyframes",duration:.8},xE={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},wE=(t,{keyframes:r})=>r.length>2?vE:Hr.has(t)?t.startsWith("scale")?yE(r[1]):gE:xE;function bE({when:t,delay:r,delayChildren:o,staggerChildren:s,staggerDirection:a,repeat:u,repeatType:c,repeatDelay:f,from:p,elapsed:g,...v}){return!!Object.keys(v).length}const Md=(t,r,o,s={},a,u)=>c=>{const f=yd(s,t)||{},p=f.delay||s.delay||0;let{elapsed:g=0}=s;g=g-Dn(p);let v={keyframes:Array.isArray(o)?o:[null,o],ease:"easeOut",velocity:r.getVelocity(),...f,delay:-g,onUpdate:w=>{r.set(w),f.onUpdate&&f.onUpdate(w)},onComplete:()=>{c(),f.onComplete&&f.onComplete()},name:t,motionValue:r,element:u?void 0:a};bE(f)||(v={...v,...wE(t,v)}),v.duration&&(v.duration=Dn(v.duration)),v.repeatDelay&&(v.repeatDelay=Dn(v.repeatDelay)),v.from!==void 0&&(v.keyframes[0]=v.from);let y=!1;if((v.type===!1||v.duration===0&&!v.repeatDelay)&&(v.duration=0,v.delay===0&&(y=!0)),y&&!u&&r.get()!==void 0){const w=Ha(v.keyframes,f);if(w!==void 0)return Ne.update(()=>{v.onUpdate(w),v.onComplete()}),new zT([])}return!u&&pm.supports(v)?new pm(v):new Nd(v)};function SE({protectedKeys:t,needsAnimating:r},o){const s=t.hasOwnProperty(o)&&r[o]!==!0;return r[o]=!1,s}function sv(t,r,{delay:o=0,transitionOverride:s,type:a}={}){var u;let{transition:c=t.getDefaultTransition(),transitionEnd:f,...p}=r;s&&(c=s);const g=[],v=a&&t.animationState&&t.animationState.getState()[a];for(const y in p){const w=t.getValue(y,(u=t.latestValues[y])!==null&&u!==void 0?u:null),b=p[y];if(b===void 0||v&&SE(v,y))continue;const E={delay:o,...yd(c||{},y)};let P=!1;if(window.MotionHandoffAnimation){const A=Ay(t);if(A){const D=window.MotionHandoffAnimation(A,y,Ne);D!==null&&(E.startTime=D,P=!0)}}wc(t,y),w.start(Md(y,w,b,t.shouldReduceMotion&&jy.has(y)?{type:!1}:E,t,P));const T=w.animation;T&&g.push(T)}return f&&Promise.all(g).then(()=>{Ne.update(()=>{f&&ek(t,f)})}),g}function Pc(t,r,o={}){var s;const a=Ua(t,r,o.type==="exit"?(s=t.presenceContext)===null||s===void 0?void 0:s.custom:void 0);let{transition:u=t.getDefaultTransition()||{}}=a||{};o.transitionOverride&&(u=o.transitionOverride);const c=a?()=>Promise.all(sv(t,a,o)):()=>Promise.resolve(),f=t.variantChildren&&t.variantChildren.size?(g=0)=>{const{delayChildren:v=0,staggerChildren:y,staggerDirection:w}=u;return TE(t,r,v+g,y,w,o)}:()=>Promise.resolve(),{when:p}=u;if(p){const[g,v]=p==="beforeChildren"?[c,f]:[f,c];return g().then(()=>v())}else return Promise.all([c(),f(o.delay)])}function TE(t,r,o=0,s=0,a=1,u){const c=[],f=(t.variantChildren.size-1)*s,p=a===1?(g=0)=>g*s:(g=0)=>f-g*s;return Array.from(t.variantChildren).sort(kE).forEach((g,v)=>{g.notify("AnimationStart",r),c.push(Pc(g,r,{...u,delay:o+p(v)}).then(()=>g.notify("AnimationComplete",r)))}),Promise.all(c)}function kE(t,r){return t.sortNodePosition(r)}function EE(t,r,o={}){t.notify("AnimationStart",r);let s;if(Array.isArray(r)){const a=r.map(u=>Pc(t,u,o));s=Promise.all(a)}else if(typeof r=="string")s=Pc(t,r,o);else{const a=typeof r=="function"?Ua(t,r,o.custom):r;s=Promise.all(sv(t,a,o))}return s.then(()=>{t.notify("AnimationComplete",r)})}const CE=id.length;function av(t){if(!t)return;if(!t.isControllingVariants){const o=t.parent?av(t.parent)||{}:{};return t.props.initial!==void 0&&(o.initial=t.props.initial),o}const r={};for(let o=0;o<CE;o++){const s=id[o],a=t.props[s];(zi(a)||a===!1)&&(r[s]=a)}return r}const PE=[...od].reverse(),jE=od.length;function RE(t){return r=>Promise.all(r.map(({animation:o,options:s})=>EE(t,o,s)))}function AE(t){let r=RE(t),o=hm(),s=!0;const a=p=>(g,v)=>{var y;const w=Ua(t,v,p==="exit"?(y=t.presenceContext)===null||y===void 0?void 0:y.custom:void 0);if(w){const{transition:b,transitionEnd:E,...P}=w;g={...g,...P,...E}}return g};function u(p){r=p(t)}function c(p){const{props:g}=t,v=av(t.parent)||{},y=[],w=new Set;let b={},E=1/0;for(let T=0;T<jE;T++){const A=PE[T],D=o[A],_=g[A]!==void 0?g[A]:v[A],O=zi(_),H=A===p?D.isActive:null;H===!1&&(E=T);let X=_===v[A]&&_!==g[A]&&O;if(X&&s&&t.manuallyAnimateOnMount&&(X=!1),D.protectedKeys={...b},!D.isActive&&H===null||!_&&!D.prevProp||Ba(_)||typeof _=="boolean")continue;const ae=NE(D.prevProp,_);let Y=ae||A===p&&D.isActive&&!X&&O||T>E&&O,ye=!1;const ve=Array.isArray(_)?_:[_];let Le=ve.reduce(a(A),{});H===!1&&(Le={});const{prevResolvedValues:de={}}=D,be={...de,...Le},Ce=te=>{Y=!0,w.has(te)&&(ye=!0,w.delete(te)),D.needsAnimating[te]=!0;const B=t.getValue(te);B&&(B.liveStyle=!1)};for(const te in be){const B=Le[te],q=de[te];if(b.hasOwnProperty(te))continue;let W=!1;yc(B)&&yc(q)?W=!wy(B,q):W=B!==q,W?B!=null?Ce(te):w.add(te):B!==void 0&&w.has(te)?Ce(te):D.protectedKeys[te]=!0}D.prevProp=_,D.prevResolvedValues=Le,D.isActive&&(b={...b,...Le}),s&&t.blockInitialAnimation&&(Y=!1),Y&&(!(X&&ae)||ye)&&y.push(...ve.map(te=>({animation:te,options:{type:A}})))}if(w.size){const T={};w.forEach(A=>{const D=t.getBaseTarget(A),_=t.getValue(A);_&&(_.liveStyle=!0),T[A]=D??null}),y.push({animation:T})}let P=!!y.length;return s&&(g.initial===!1||g.initial===g.animate)&&!t.manuallyAnimateOnMount&&(P=!1),s=!1,P?r(y):Promise.resolve()}function f(p,g){var v;if(o[p].isActive===g)return Promise.resolve();(v=t.variantChildren)===null||v===void 0||v.forEach(w=>{var b;return(b=w.animationState)===null||b===void 0?void 0:b.setActive(p,g)}),o[p].isActive=g;const y=c(p);for(const w in o)o[w].protectedKeys={};return y}return{animateChanges:c,setActive:f,setAnimateFunction:u,getState:()=>o,reset:()=>{o=hm(),s=!0}}}function NE(t,r){return typeof r=="string"?r!==t:Array.isArray(r)?!wy(r,t):!1}function Fr(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function hm(){return{animate:Fr(!0),whileInView:Fr(),whileHover:Fr(),whileTap:Fr(),whileDrag:Fr(),whileFocus:Fr(),exit:Fr()}}class xr{constructor(r){this.isMounted=!1,this.node=r}update(){}}class ME extends xr{constructor(r){super(r),r.animationState||(r.animationState=AE(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();Ba(r)&&(this.unmountControls=r.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:r}=this.node.getProps(),{animate:o}=this.node.prevProps||{};r!==o&&this.updateAnimationControlsSubscription()}unmount(){var r;this.node.animationState.reset(),(r=this.unmountControls)===null||r===void 0||r.call(this)}}let LE=0;class DE extends xr{constructor(){super(...arguments),this.id=LE++}update(){if(!this.node.presenceContext)return;const{isPresent:r,onExitComplete:o}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||r===s)return;const a=this.node.animationState.setActive("exit",!r);o&&!r&&a.then(()=>o(this.id))}mount(){const{register:r}=this.node.presenceContext||{};r&&(this.unmount=r(this.id))}unmount(){}}const _E={animation:{Feature:ME},exit:{Feature:DE}};function Hi(t,r,o,s={passive:!0}){return t.addEventListener(r,o,s),()=>t.removeEventListener(r,o)}function Zi(t){return{point:{x:t.pageX,y:t.pageY}}}const OE=t=>r=>wd(r)&&t(r,Zi(r));function Oi(t,r,o,s){return Hi(t,r,OE(o),s)}const mm=(t,r)=>Math.abs(t-r);function IE(t,r){const o=mm(t.x,r.x),s=mm(t.y,r.y);return Math.sqrt(o**2+s**2)}class lv{constructor(r,o,{transformPagePoint:s,contextWindow:a,dragSnapToOrigin:u=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=Yu(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,b=IE(y.offset,{x:0,y:0})>=3;if(!w&&!b)return;const{point:E}=y,{timestamp:P}=at;this.history.push({...E,timestamp:P});const{onStart:T,onMove:A}=this.handlers;w||(T&&T(this.lastMoveEvent,y),this.startEvent=this.lastMoveEvent),A&&A(this.lastMoveEvent,y)},this.handlePointerMove=(y,w)=>{this.lastMoveEvent=y,this.lastMoveEventInfo=Ku(w,this.transformPagePoint),Ne.update(this.updatePoint,!0)},this.handlePointerUp=(y,w)=>{this.end();const{onEnd:b,onSessionEnd:E,resumeAnimation:P}=this.handlers;if(this.dragSnapToOrigin&&P&&P(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const T=Yu(y.type==="pointercancel"?this.lastMoveEventInfo:Ku(w,this.transformPagePoint),this.history);this.startEvent&&b&&b(y,T),E&&E(y,T)},!wd(r))return;this.dragSnapToOrigin=u,this.handlers=o,this.transformPagePoint=s,this.contextWindow=a||window;const c=Zi(r),f=Ku(c,this.transformPagePoint),{point:p}=f,{timestamp:g}=at;this.history=[{...p,timestamp:g}];const{onSessionStart:v}=o;v&&v(r,Yu(f,this.history)),this.removeListeners=Xi(Oi(this.contextWindow,"pointermove",this.handlePointerMove),Oi(this.contextWindow,"pointerup",this.handlePointerUp),Oi(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(r){this.handlers=r}end(){this.removeListeners&&this.removeListeners(),yr(this.updatePoint)}}function Ku(t,r){return r?{point:r(t.point)}:t}function gm(t,r){return{x:t.x-r.x,y:t.y-r.y}}function Yu({point:t},r){return{point:t,delta:gm(t,uv(r)),offset:gm(t,FE(r)),velocity:VE(r,.1)}}function FE(t){return t[0]}function uv(t){return t[t.length-1]}function VE(t,r){if(t.length<2)return{x:0,y:0};let o=t.length-1,s=null;const a=uv(t);for(;o>=0&&(s=t[o],!(a.timestamp-s.timestamp>Dn(r)));)o--;if(!s)return{x:0,y:0};const u=_n(a.timestamp-s.timestamp);if(u===0)return{x:0,y:0};const c={x:(a.x-s.x)/u,y:(a.y-s.y)/u};return c.x===1/0&&(c.x=0),c.y===1/0&&(c.y=0),c}const cv=1e-4,zE=1-cv,BE=1+cv,dv=.01,$E=0-dv,UE=0+dv;function Dt(t){return t.max-t.min}function HE(t,r,o){return Math.abs(t-r)<=o}function ym(t,r,o,s=.5){t.origin=s,t.originPoint=Ve(r.min,r.max,t.origin),t.scale=Dt(o)/Dt(r),t.translate=Ve(o.min,o.max,t.origin)-t.originPoint,(t.scale>=zE&&t.scale<=BE||isNaN(t.scale))&&(t.scale=1),(t.translate>=$E&&t.translate<=UE||isNaN(t.translate))&&(t.translate=0)}function Ii(t,r,o,s){ym(t.x,r.x,o.x,s?s.originX:void 0),ym(t.y,r.y,o.y,s?s.originY:void 0)}function vm(t,r,o){t.min=o.min+r.min,t.max=t.min+Dt(r)}function WE(t,r,o){vm(t.x,r.x,o.x),vm(t.y,r.y,o.y)}function xm(t,r,o){t.min=r.min-o.min,t.max=t.min+Dt(r)}function Fi(t,r,o){xm(t.x,r.x,o.x),xm(t.y,r.y,o.y)}function GE(t,{min:r,max:o},s){return r!==void 0&&t<r?t=s?Ve(r,t,s.min):Math.max(t,r):o!==void 0&&t>o&&(t=s?Ve(o,t,s.max):Math.min(t,o)),t}function wm(t,r,o){return{min:r!==void 0?t.min+r:void 0,max:o!==void 0?t.max+o-(t.max-t.min):void 0}}function KE(t,{top:r,left:o,bottom:s,right:a}){return{x:wm(t.x,o,a),y:wm(t.y,r,s)}}function bm(t,r){let o=r.min-t.min,s=r.max-t.max;return r.max-r.min<t.max-t.min&&([o,s]=[s,o]),{min:o,max:s}}function YE(t,r){return{x:bm(t.x,r.x),y:bm(t.y,r.y)}}function qE(t,r){let o=.5;const s=Dt(t),a=Dt(r);return a>s?o=jo(r.min,r.max-s,t.min):s>a&&(o=jo(t.min,t.max-a,r.min)),In(0,1,o)}function QE(t,r){const o={};return r.min!==void 0&&(o.min=r.min-t.min),r.max!==void 0&&(o.max=r.max-t.min),o}const jc=.35;function XE(t=jc){return t===!1?t=0:t===!0&&(t=jc),{x:Sm(t,"left","right"),y:Sm(t,"top","bottom")}}function Sm(t,r,o){return{min:Tm(t,r),max:Tm(t,o)}}function Tm(t,r){return typeof t=="number"?t:t[r]||0}const km=()=>({translate:0,scale:1,origin:0,originPoint:0}),bo=()=>({x:km(),y:km()}),Em=()=>({min:0,max:0}),Ge=()=>({x:Em(),y:Em()});function Kt(t){return[t("x"),t("y")]}function fv({top:t,left:r,right:o,bottom:s}){return{x:{min:r,max:o},y:{min:t,max:s}}}function ZE({x:t,y:r}){return{top:r.min,right:t.max,bottom:r.max,left:t.min}}function JE(t,r){if(!r)return t;const o=r({x:t.left,y:t.top}),s=r({x:t.right,y:t.bottom});return{top:o.y,left:o.x,bottom:s.y,right:s.x}}function qu(t){return t===void 0||t===1}function Rc({scale:t,scaleX:r,scaleY:o}){return!qu(t)||!qu(r)||!qu(o)}function Vr(t){return Rc(t)||pv(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function pv(t){return Cm(t.x)||Cm(t.y)}function Cm(t){return t&&t!=="0%"}function La(t,r,o){const s=t-o,a=r*s;return o+a}function Pm(t,r,o,s,a){return a!==void 0&&(t=La(t,a,s)),La(t,o,s)+r}function Ac(t,r=0,o=1,s,a){t.min=Pm(t.min,r,o,s,a),t.max=Pm(t.max,r,o,s,a)}function hv(t,{x:r,y:o}){Ac(t.x,r.translate,r.scale,r.originPoint),Ac(t.y,o.translate,o.scale,o.originPoint)}const jm=.999999999999,Rm=1.0000000000001;function eC(t,r,o,s=!1){const a=o.length;if(!a)return;r.x=r.y=1;let u,c;for(let f=0;f<a;f++){u=o[f],c=u.projectionDelta;const{visualElement:p}=u.options;p&&p.props.style&&p.props.style.display==="contents"||(s&&u.options.layoutScroll&&u.scroll&&u!==u.root&&To(t,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),c&&(r.x*=c.x.scale,r.y*=c.y.scale,hv(t,c)),s&&Vr(u.latestValues)&&To(t,u.latestValues))}r.x<Rm&&r.x>jm&&(r.x=1),r.y<Rm&&r.y>jm&&(r.y=1)}function So(t,r){t.min=t.min+r,t.max=t.max+r}function Am(t,r,o,s,a=.5){const u=Ve(t.min,t.max,a);Ac(t,r,o,u,s)}function To(t,r){Am(t.x,r.x,r.scaleX,r.scale,r.originX),Am(t.y,r.y,r.scaleY,r.scale,r.originY)}function mv(t,r){return fv(JE(t.getBoundingClientRect(),r))}function tC(t,r,o){const s=mv(t,o),{scroll:a}=r;return a&&(So(s.x,a.offset.x),So(s.y,a.offset.y)),s}const gv=({current:t})=>t?t.ownerDocument.defaultView:null,nC=new WeakMap;class rC{constructor(r){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ge(),this.visualElement=r}start(r,{snapToCursor:o=!1}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const a=v=>{const{dragSnapToOrigin:y}=this.getProps();y?this.pauseAnimation():this.stopAnimation(),o&&this.snapToCursor(Zi(v).point)},u=(v,y)=>{const{drag:w,dragPropagation:b,onDragStart:E}=this.getProps();if(w&&!b&&(this.openDragLock&&this.openDragLock(),this.openDragLock=qT(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),Kt(T=>{let A=this.getAxisMotionValue(T).get()||0;if(mn.test(A)){const{projection:D}=this.visualElement;if(D&&D.layout){const _=D.layout.layoutBox[T];_&&(A=Dt(_)*(parseFloat(A)/100))}}this.originPoint[T]=A}),E&&Ne.postRender(()=>E(v,y)),wc(this.visualElement,"transform");const{animationState:P}=this.visualElement;P&&P.setActive("whileDrag",!0)},c=(v,y)=>{const{dragPropagation:w,dragDirectionLock:b,onDirectionLock:E,onDrag:P}=this.getProps();if(!w&&!this.openDragLock)return;const{offset:T}=y;if(b&&this.currentDirection===null){this.currentDirection=oC(T),this.currentDirection!==null&&E&&E(this.currentDirection);return}this.updateAxis("x",y.point,T),this.updateAxis("y",y.point,T),this.visualElement.render(),P&&P(v,y)},f=(v,y)=>this.stop(v,y),p=()=>Kt(v=>{var y;return this.getAnimationState(v)==="paused"&&((y=this.getAxisMotionValue(v).animation)===null||y===void 0?void 0:y.play())}),{dragSnapToOrigin:g}=this.getProps();this.panSession=new lv(r,{onSessionStart:a,onStart:u,onMove:c,onSessionEnd:f,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,contextWindow:gv(this.visualElement)})}stop(r,o){const s=this.isDragging;if(this.cancel(),!s)return;const{velocity:a}=o;this.startAnimation(a);const{onDragEnd:u}=this.getProps();u&&Ne.postRender(()=>u(r,o))}cancel(){this.isDragging=!1;const{projection:r,animationState:o}=this.visualElement;r&&(r.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),o&&o.setActive("whileDrag",!1)}updateAxis(r,o,s){const{drag:a}=this.getProps();if(!s||!ya(r,a,this.currentDirection))return;const u=this.getAxisMotionValue(r);let c=this.originPoint[r]+s[r];this.constraints&&this.constraints[r]&&(c=GE(c,this.constraints[r],this.elastic[r])),u.set(c)}resolveConstraints(){var r;const{dragConstraints:o,dragElastic:s}=this.getProps(),a=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(r=this.visualElement.projection)===null||r===void 0?void 0:r.layout,u=this.constraints;o&&xo(o)?this.constraints||(this.constraints=this.resolveRefConstraints()):o&&a?this.constraints=KE(a.layoutBox,o):this.constraints=!1,this.elastic=XE(s),u!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&Kt(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=QE(a.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:o}=this.getProps();if(!r||!xo(r))return!1;const s=r.current,{projection:a}=this.visualElement;if(!a||!a.layout)return!1;const u=tC(s,a.root,this.visualElement.getTransformPagePoint());let c=YE(a.layout.layoutBox,u);if(o){const f=o(ZE(c));this.hasMutatedConstraints=!!f,f&&(c=fv(f))}return c}startAnimation(r){const{drag:o,dragMomentum:s,dragElastic:a,dragTransition:u,dragSnapToOrigin:c,onDragTransitionEnd:f}=this.getProps(),p=this.constraints||{},g=Kt(v=>{if(!ya(v,o,this.currentDirection))return;let y=p&&p[v]||{};c&&(y={min:0,max:0});const w=a?200:1e6,b=a?40:1e7,E={type:"inertia",velocity:s?r[v]:0,bounceStiffness:w,bounceDamping:b,timeConstant:750,restDelta:1,restSpeed:10,...u,...y};return this.startAxisValueAnimation(v,E)});return Promise.all(g).then(f)}startAxisValueAnimation(r,o){const s=this.getAxisMotionValue(r);return wc(this.visualElement,r),s.start(Md(r,s,0,o,this.visualElement,!1))}stopAnimation(){Kt(r=>this.getAxisMotionValue(r).stop())}pauseAnimation(){Kt(r=>{var o;return(o=this.getAxisMotionValue(r).animation)===null||o===void 0?void 0:o.pause()})}getAnimationState(r){var o;return(o=this.getAxisMotionValue(r).animation)===null||o===void 0?void 0:o.state}getAxisMotionValue(r){const o=`_drag${r.toUpperCase()}`,s=this.visualElement.getProps(),a=s[o];return a||this.visualElement.getValue(r,(s.initial?s.initial[r]:void 0)||0)}snapToCursor(r){Kt(o=>{const{drag:s}=this.getProps();if(!ya(o,s,this.currentDirection))return;const{projection:a}=this.visualElement,u=this.getAxisMotionValue(o);if(a&&a.layout){const{min:c,max:f}=a.layout.layoutBox[o];u.set(r[o]-Ve(c,f,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:o}=this.getProps(),{projection:s}=this.visualElement;if(!xo(o)||!s||!this.constraints)return;this.stopAnimation();const a={x:0,y:0};Kt(c=>{const f=this.getAxisMotionValue(c);if(f&&this.constraints!==!1){const p=f.get();a[c]=qE({min:p,max:p},this.constraints[c])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),Kt(c=>{if(!ya(c,r,null))return;const f=this.getAxisMotionValue(c),{min:p,max:g}=this.constraints[c];f.set(Ve(p,g,a[c]))})}addListeners(){if(!this.visualElement.current)return;nC.set(this.visualElement,this);const r=this.visualElement.current,o=Oi(r,"pointerdown",p=>{const{drag:g,dragListener:v=!0}=this.getProps();g&&v&&this.start(p)}),s=()=>{const{dragConstraints:p}=this.getProps();xo(p)&&p.current&&(this.constraints=this.resolveRefConstraints())},{projection:a}=this.visualElement,u=a.addEventListener("measure",s);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),Ne.read(s);const c=Hi(window,"resize",()=>this.scalePositionWithinConstraints()),f=a.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:g})=>{this.isDragging&&g&&(Kt(v=>{const y=this.getAxisMotionValue(v);y&&(this.originPoint[v]+=p[v].translate,y.set(y.get()+p[v].translate))}),this.visualElement.render())}));return()=>{c(),o(),u(),f&&f()}}getProps(){const r=this.visualElement.getProps(),{drag:o=!1,dragDirectionLock:s=!1,dragPropagation:a=!1,dragConstraints:u=!1,dragElastic:c=jc,dragMomentum:f=!0}=r;return{...r,drag:o,dragDirectionLock:s,dragPropagation:a,dragConstraints:u,dragElastic:c,dragMomentum:f}}}function ya(t,r,o){return(r===!0||r===t)&&(o===null||o===t)}function oC(t,r=10){let o=null;return Math.abs(t.y)>r?o="y":Math.abs(t.x)>r&&(o="x"),o}class iC extends xr{constructor(r){super(r),this.removeGroupControls=Lt,this.removeListeners=Lt,this.controls=new rC(r)}mount(){const{dragControls:r}=this.node.getProps();r&&(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Lt}unmount(){this.removeGroupControls(),this.removeListeners()}}const Nm=t=>(r,o)=>{t&&Ne.postRender(()=>t(r,o))};class sC extends xr{constructor(){super(...arguments),this.removePointerDownListener=Lt}onPointerDown(r){this.session=new lv(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:gv(this.node)})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:o,onPan:s,onPanEnd:a}=this.node.getProps();return{onSessionStart:Nm(r),onStart:Nm(o),onMove:s,onEnd:(u,c)=>{delete this.session,a&&Ne.postRender(()=>a(u,c))}}}mount(){this.removePointerDownListener=Oi(this.node.current,"pointerdown",r=>this.onPointerDown(r))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const ka={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Mm(t,r){return r.max===r.min?0:t/(r.max-r.min)*100}const ji={correct:(t,r)=>{if(!r.target)return t;if(typeof t=="string")if(le.test(t))t=parseFloat(t);else return t;const o=Mm(t,r.target.x),s=Mm(t,r.target.y);return`${o}% ${s}%`}},aC={correct:(t,{treeScale:r,projectionDelta:o})=>{const s=t,a=vr.parse(t);if(a.length>5)return s;const u=vr.createTransformer(t),c=typeof a[0]!="number"?1:0,f=o.x.scale*r.x,p=o.y.scale*r.y;a[0+c]/=f,a[1+c]/=p;const g=Ve(f,p,.5);return typeof a[2+c]=="number"&&(a[2+c]/=g),typeof a[3+c]=="number"&&(a[3+c]/=g),u(a)}};class lC extends k.Component{componentDidMount(){const{visualElement:r,layoutGroup:o,switchLayoutGroup:s,layoutId:a}=this.props,{projection:u}=r;jT(uC),u&&(o.group&&o.group.add(u),s&&s.register&&a&&s.register(u),u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,onExitComplete:()=>this.safeToRemove()})),ka.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:o,visualElement:s,drag:a,isPresent:u}=this.props,c=s.projection;return c&&(c.isPresent=u,a||r.layoutDependency!==o||o===void 0?c.willUpdate():this.safeToRemove(),r.isPresent!==u&&(u?c.promote():c.relegate()||Ne.postRender(()=>{const f=c.getStack();(!f||!f.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:r}=this.props.visualElement;r&&(r.root.didUpdate(),ad.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:o,switchLayoutGroup:s}=this.props,{projection:a}=r;a&&(a.scheduleCheckAfterUnmount(),o&&o.group&&o.group.remove(a),s&&s.deregister&&s.deregister(a))}safeToRemove(){const{safeToRemove:r}=this.props;r&&r()}render(){return null}}function yv(t){const[r,o]=US(),s=k.useContext(Jg);return h.jsx(lC,{...t,layoutGroup:s,switchLayoutGroup:k.useContext(ay),isPresent:r,safeToRemove:o})}const uC={borderRadius:{...ji,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ji,borderTopRightRadius:ji,borderBottomLeftRadius:ji,borderBottomRightRadius:ji,boxShadow:aC};function cC(t,r,o){const s=ht(t)?t:$i(t);return s.start(Md("",s,r,o)),s.animation}function dC(t){return t instanceof SVGElement&&t.tagName!=="svg"}const fC=(t,r)=>t.depth-r.depth;class pC{constructor(){this.children=[],this.isDirty=!1}add(r){bd(this.children,r),this.isDirty=!0}remove(r){Sd(this.children,r),this.isDirty=!0}forEach(r){this.isDirty&&this.children.sort(fC),this.isDirty=!1,this.children.forEach(r)}}function hC(t,r){const o=gn.now(),s=({timestamp:a})=>{const u=a-o;u>=r&&(yr(s),t(u-r))};return Ne.read(s,!0),()=>yr(s)}const vv=["TopLeft","TopRight","BottomLeft","BottomRight"],mC=vv.length,Lm=t=>typeof t=="string"?parseFloat(t):t,Dm=t=>typeof t=="number"||le.test(t);function gC(t,r,o,s,a,u){a?(t.opacity=Ve(0,o.opacity!==void 0?o.opacity:1,yC(s)),t.opacityExit=Ve(r.opacity!==void 0?r.opacity:1,0,vC(s))):u&&(t.opacity=Ve(r.opacity!==void 0?r.opacity:1,o.opacity!==void 0?o.opacity:1,s));for(let c=0;c<mC;c++){const f=`border${vv[c]}Radius`;let p=_m(r,f),g=_m(o,f);if(p===void 0&&g===void 0)continue;p||(p=0),g||(g=0),p===0||g===0||Dm(p)===Dm(g)?(t[f]=Math.max(Ve(Lm(p),Lm(g),s),0),(mn.test(g)||mn.test(p))&&(t[f]+="%")):t[f]=g}(r.rotate||o.rotate)&&(t.rotate=Ve(r.rotate||0,o.rotate||0,s))}function _m(t,r){return t[r]!==void 0?t[r]:t.borderRadius}const yC=xv(0,.5,Iy),vC=xv(.5,.95,Lt);function xv(t,r,o){return s=>s<t?0:s>r?1:o(jo(t,r,s))}function Om(t,r){t.min=r.min,t.max=r.max}function Gt(t,r){Om(t.x,r.x),Om(t.y,r.y)}function Im(t,r){t.translate=r.translate,t.scale=r.scale,t.originPoint=r.originPoint,t.origin=r.origin}function Fm(t,r,o,s,a){return t-=r,t=La(t,1/o,s),a!==void 0&&(t=La(t,1/a,s)),t}function xC(t,r=0,o=1,s=.5,a,u=t,c=t){if(mn.test(r)&&(r=parseFloat(r),r=Ve(c.min,c.max,r/100)-c.min),typeof r!="number")return;let f=Ve(u.min,u.max,s);t===u&&(f-=r),t.min=Fm(t.min,r,o,f,a),t.max=Fm(t.max,r,o,f,a)}function Vm(t,r,[o,s,a],u,c){xC(t,r[o],r[s],r[a],r.scale,u,c)}const wC=["x","scaleX","originX"],bC=["y","scaleY","originY"];function zm(t,r,o,s){Vm(t.x,r,wC,o?o.x:void 0,s?s.x:void 0),Vm(t.y,r,bC,o?o.y:void 0,s?s.y:void 0)}function Bm(t){return t.translate===0&&t.scale===1}function wv(t){return Bm(t.x)&&Bm(t.y)}function $m(t,r){return t.min===r.min&&t.max===r.max}function SC(t,r){return $m(t.x,r.x)&&$m(t.y,r.y)}function Um(t,r){return Math.round(t.min)===Math.round(r.min)&&Math.round(t.max)===Math.round(r.max)}function bv(t,r){return Um(t.x,r.x)&&Um(t.y,r.y)}function Hm(t){return Dt(t.x)/Dt(t.y)}function Wm(t,r){return t.translate===r.translate&&t.scale===r.scale&&t.originPoint===r.originPoint}class TC{constructor(){this.members=[]}add(r){bd(this.members,r),r.scheduleRender()}remove(r){if(Sd(this.members,r),r===this.prevLead&&(this.prevLead=void 0),r===this.lead){const o=this.members[this.members.length-1];o&&this.promote(o)}}relegate(r){const o=this.members.findIndex(a=>r===a);if(o===0)return!1;let s;for(let a=o;a>=0;a--){const u=this.members[a];if(u.isPresent!==!1){s=u;break}}return s?(this.promote(s),!0):!1}promote(r,o){const s=this.lead;if(r!==s&&(this.prevLead=s,this.lead=r,r.show(),s)){s.instance&&s.scheduleRender(),r.scheduleRender(),r.resumeFrom=s,o&&(r.resumeFrom.preserveOpacity=!0),s.snapshot&&(r.snapshot=s.snapshot,r.snapshot.latestValues=s.animationValues||s.latestValues),r.root&&r.root.isUpdating&&(r.isLayoutDirty=!0);const{crossfade:a}=r.options;a===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(r=>{const{options:o,resumingFrom:s}=r;o.onExitComplete&&o.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(r=>{r.instance&&r.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function kC(t,r,o){let s="";const a=t.x.translate/r.x,u=t.y.translate/r.y,c=o?.z||0;if((a||u||c)&&(s=`translate3d(${a}px, ${u}px, ${c}px) `),(r.x!==1||r.y!==1)&&(s+=`scale(${1/r.x}, ${1/r.y}) `),o){const{transformPerspective:g,rotate:v,rotateX:y,rotateY:w,skewX:b,skewY:E}=o;g&&(s=`perspective(${g}px) ${s}`),v&&(s+=`rotate(${v}deg) `),y&&(s+=`rotateX(${y}deg) `),w&&(s+=`rotateY(${w}deg) `),b&&(s+=`skewX(${b}deg) `),E&&(s+=`skewY(${E}deg) `)}const f=t.x.scale*r.x,p=t.y.scale*r.y;return(f!==1||p!==1)&&(s+=`scale(${f}, ${p})`),s||"none"}const zr={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Di=typeof window<"u"&&window.MotionDebug!==void 0,Qu=["","X","Y","Z"],EC={visibility:"hidden"},Gm=1e3;let CC=0;function Xu(t,r,o,s){const{latestValues:a}=r;a[t]&&(o[t]=a[t],r.setStaticValue(t,0),s&&(s[t]=0))}function Sv(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:r}=t.options;if(!r)return;const o=Ay(r);if(window.MotionHasOptimisedAnimation(o,"transform")){const{layout:a,layoutId:u}=t.options;window.MotionCancelOptimisedAnimation(o,"transform",Ne,!(a||u))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&Sv(s)}function Tv({attachResizeListener:t,defaultParent:r,measureScroll:o,checkIsScrollRoot:s,resetTransform:a}){return class{constructor(c={},f=r?.()){this.id=CC++,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,Di&&(zr.totalNodes=zr.resolvedTargetDeltas=zr.recalculatedProjection=0),this.nodes.forEach(RC),this.nodes.forEach(DC),this.nodes.forEach(_C),this.nodes.forEach(AC),Di&&window.MotionDebug.record(zr)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=c,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 pC)}addEventListener(c,f){return this.eventHandlers.has(c)||this.eventHandlers.set(c,new Td),this.eventHandlers.get(c).add(f)}notifyListeners(c,...f){const p=this.eventHandlers.get(c);p&&p.notify(...f)}hasListeners(c){return this.eventHandlers.has(c)}mount(c,f=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=dC(c),this.instance=c;const{layoutId:p,layout:g,visualElement:v}=this.options;if(v&&!v.current&&v.mount(c),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),f&&(g||p)&&(this.isLayoutDirty=!0),t){let y;const w=()=>this.root.updateBlockedByResize=!1;t(c,()=>{this.root.updateBlockedByResize=!0,y&&y(),y=hC(w,250),ka.hasAnimatedSinceResize&&(ka.hasAnimatedSinceResize=!1,this.nodes.forEach(Ym))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&v&&(p||g)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:w,hasRelativeTargetChanged:b,layout:E})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const P=this.options.transition||v.getDefaultTransition()||zC,{onLayoutAnimationStart:T,onLayoutAnimationComplete:A}=v.getProps(),D=!this.targetLayout||!bv(this.targetLayout,E)||b,_=!w&&b;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||_||w&&(D||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(y,_);const O={...yd(P,"layout"),onPlay:T,onComplete:A};(v.shouldReduceMotion||this.options.layoutRoot)&&(O.delay=0,O.type=!1),this.startAnimation(O)}else w||Ym(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=E})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const c=this.getStack();c&&c.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,yr(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(OC),this.animationId++)}getTransformTemplate(){const{visualElement:c}=this.options;return c&&c.getProps().transformTemplate}willUpdate(c=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Sv(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v<this.path.length;v++){const y=this.path[v];y.shouldResetTransform=!0,y.updateScroll("snapshot"),y.options.layoutRoot&&y.willUpdate(!1)}const{layoutId:f,layout:p}=this.options;if(f===void 0&&!p)return;const g=this.getTransformTemplate();this.prevTransformTemplateValue=g?g(this.latestValues,""):void 0,this.updateSnapshot(),c&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Km);return}this.isUpdating||this.nodes.forEach(MC),this.isUpdating=!1,this.nodes.forEach(LC),this.nodes.forEach(PC),this.nodes.forEach(jC),this.clearAllSnapshots();const f=gn.now();at.delta=In(0,1e3/60,f-at.timestamp),at.timestamp=f,at.isProcessing=!0,Bu.update.process(at),Bu.preRender.process(at),Bu.render.process(at),at.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ad.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(NC),this.sharedNodes.forEach(IC)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ne.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ne.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 c=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Ge(),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,c?c.layoutBox:void 0)}updateScroll(c="measure"){let f=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===c&&(f=!1),f){const p=s(this.instance);this.scroll={animationId:this.root.animationId,phase:c,isRoot:p,offset:o(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!a)return;const c=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,f=this.projectionDelta&&!wv(this.projectionDelta),p=this.getTransformTemplate(),g=p?p(this.latestValues,""):void 0,v=g!==this.prevTransformTemplateValue;c&&(f||Vr(this.latestValues)||v)&&(a(this.instance,g),this.shouldResetTransform=!1,this.scheduleRender())}measure(c=!0){const f=this.measurePageBox();let p=this.removeElementScroll(f);return c&&(p=this.removeTransform(p)),BC(p),{animationId:this.root.animationId,measuredBox:f,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){var c;const{visualElement:f}=this.options;if(!f)return Ge();const p=f.measureViewportBox();if(!(((c=this.scroll)===null||c===void 0?void 0:c.wasRoot)||this.path.some($C))){const{scroll:v}=this.root;v&&(So(p.x,v.offset.x),So(p.y,v.offset.y))}return p}removeElementScroll(c){var f;const p=Ge();if(Gt(p,c),!((f=this.scroll)===null||f===void 0)&&f.wasRoot)return p;for(let g=0;g<this.path.length;g++){const v=this.path[g],{scroll:y,options:w}=v;v!==this.root&&y&&w.layoutScroll&&(y.wasRoot&&Gt(p,c),So(p.x,y.offset.x),So(p.y,y.offset.y))}return p}applyTransform(c,f=!1){const p=Ge();Gt(p,c);for(let g=0;g<this.path.length;g++){const v=this.path[g];!f&&v.options.layoutScroll&&v.scroll&&v!==v.root&&To(p,{x:-v.scroll.offset.x,y:-v.scroll.offset.y}),Vr(v.latestValues)&&To(p,v.latestValues)}return Vr(this.latestValues)&&To(p,this.latestValues),p}removeTransform(c){const f=Ge();Gt(f,c);for(let p=0;p<this.path.length;p++){const g=this.path[p];if(!g.instance||!Vr(g.latestValues))continue;Rc(g.latestValues)&&g.updateSnapshot();const v=Ge(),y=g.measurePageBox();Gt(v,y),zm(f,g.latestValues,g.snapshot?g.snapshot.layoutBox:void 0,v)}return Vr(this.latestValues)&&zm(f,this.latestValues),f}setTargetDelta(c){this.targetDelta=c,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(c){this.options={...this.options,...c,crossfade:c.crossfade!==void 0?c.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==at.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(c=!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 g=!!this.resumingFrom||this!==p;if(!(c||g&&this.isSharedProjectionDirty||this.isProjectionDirty||!((f=this.parent)===null||f===void 0)&&f.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:y,layoutId:w}=this.options;if(!(!this.layout||!(y||w))){if(this.resolvedRelativeTargetAt=at.timestamp,!this.targetDelta&&!this.relativeTarget){const b=this.getClosestProjectingParent();b&&b.layout&&this.animationProgress!==1?(this.relativeParent=b,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ge(),this.relativeTargetOrigin=Ge(),Fi(this.relativeTargetOrigin,this.layout.layoutBox,b.layout.layoutBox),Gt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Ge(),this.targetWithTransforms=Ge()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),WE(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Gt(this.target,this.layout.layoutBox),hv(this.target,this.targetDelta)):Gt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const b=this.getClosestProjectingParent();b&&!!b.resumingFrom==!!this.resumingFrom&&!b.options.layoutScroll&&b.target&&this.animationProgress!==1?(this.relativeParent=b,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ge(),this.relativeTargetOrigin=Ge(),Fi(this.relativeTargetOrigin,this.target,b.target),Gt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Di&&zr.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Rc(this.parent.latestValues)||pv(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var c;const f=this.getLead(),p=!!this.resumingFrom||this!==f;let g=!0;if((this.isProjectionDirty||!((c=this.parent)===null||c===void 0)&&c.isProjectionDirty)&&(g=!1),p&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(g=!1),this.resolvedRelativeTargetAt===at.timestamp&&(g=!1),g)return;const{layout:v,layoutId:y}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(v||y))return;Gt(this.layoutCorrected,this.layout.layoutBox);const w=this.treeScale.x,b=this.treeScale.y;eC(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=Ge());const{target:E}=f;if(!E){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Im(this.prevProjectionDelta.x,this.projectionDelta.x),Im(this.prevProjectionDelta.y,this.projectionDelta.y)),Ii(this.projectionDelta,this.layoutCorrected,E,this.latestValues),(this.treeScale.x!==w||this.treeScale.y!==b||!Wm(this.projectionDelta.x,this.prevProjectionDelta.x)||!Wm(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",E)),Di&&zr.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(c=!0){var f;if((f=this.options.visualElement)===null||f===void 0||f.scheduleRender(),c){const p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=bo(),this.projectionDelta=bo(),this.projectionDeltaWithTransform=bo()}setAnimationOrigin(c,f=!1){const p=this.snapshot,g=p?p.latestValues:{},v={...this.latestValues},y=bo();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!f;const w=Ge(),b=p?p.source:void 0,E=this.layout?this.layout.source:void 0,P=b!==E,T=this.getStack(),A=!T||T.members.length<=1,D=!!(P&&!A&&this.options.crossfade===!0&&!this.path.some(VC));this.animationProgress=0;let _;this.mixTargetDelta=O=>{const H=O/1e3;qm(y.x,c.x,H),qm(y.y,c.y,H),this.setTargetDelta(y),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Fi(w,this.layout.layoutBox,this.relativeParent.layout.layoutBox),FC(this.relativeTarget,this.relativeTargetOrigin,w,H),_&&SC(this.relativeTarget,_)&&(this.isProjectionDirty=!1),_||(_=Ge()),Gt(_,this.relativeTarget)),P&&(this.animationValues=v,gC(v,g,this.latestValues,H,D,A)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=H},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(c){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(yr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ne.update(()=>{ka.hasAnimatedSinceResize=!0,this.currentAnimation=cC(0,Gm,{...c,onUpdate:f=>{this.mixTargetDelta(f),c.onUpdate&&c.onUpdate(f)},onComplete:()=>{c.onComplete&&c.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const c=this.getStack();c&&c.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Gm),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const c=this.getLead();let{targetWithTransforms:f,target:p,layout:g,latestValues:v}=c;if(!(!f||!p||!g)){if(this!==c&&this.layout&&g&&kv(this.options.animationType,this.layout.layoutBox,g.layoutBox)){p=this.target||Ge();const y=Dt(this.layout.layoutBox.x);p.x.min=c.target.x.min,p.x.max=p.x.min+y;const w=Dt(this.layout.layoutBox.y);p.y.min=c.target.y.min,p.y.max=p.y.min+w}Gt(f,p),To(f,v),Ii(this.projectionDeltaWithTransform,this.layoutCorrected,f,v)}}registerSharedNode(c,f){this.sharedNodes.has(c)||this.sharedNodes.set(c,new TC),this.sharedNodes.get(c).add(f);const g=f.options.initialPromotionConfig;f.promote({transition:g?g.transition:void 0,preserveFollowOpacity:g&&g.shouldPreserveFollowOpacity?g.shouldPreserveFollowOpacity(f):void 0})}isLead(){const c=this.getStack();return c?c.lead===this:!0}getLead(){var c;const{layoutId:f}=this.options;return f?((c=this.getStack())===null||c===void 0?void 0:c.lead)||this:this}getPrevLead(){var c;const{layoutId:f}=this.options;return f?(c=this.getStack())===null||c===void 0?void 0:c.prevLead:void 0}getStack(){const{layoutId:c}=this.options;if(c)return this.root.sharedNodes.get(c)}promote({needsReset:c,transition:f,preserveFollowOpacity:p}={}){const g=this.getStack();g&&g.promote(this,p),c&&(this.projectionDelta=void 0,this.needsReset=!0),f&&this.setOptions({transition:f})}relegate(){const c=this.getStack();return c?c.relegate(this):!1}resetSkewAndRotation(){const{visualElement:c}=this.options;if(!c)return;let f=!1;const{latestValues:p}=c;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(f=!0),!f)return;const g={};p.z&&Xu("z",c,g,this.animationValues);for(let v=0;v<Qu.length;v++)Xu(`rotate${Qu[v]}`,c,g,this.animationValues),Xu(`skew${Qu[v]}`,c,g,this.animationValues);c.render();for(const v in g)c.setStaticValue(v,g[v]),this.animationValues&&(this.animationValues[v]=g[v]);c.scheduleRender()}getProjectionStyles(c){var f,p;if(!this.instance||this.isSVG)return;if(!this.isVisible)return EC;const g={visibility:""},v=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,g.opacity="",g.pointerEvents=Sa(c?.pointerEvents)||"",g.transform=v?v(this.latestValues,""):"none",g;const y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){const P={};return this.options.layoutId&&(P.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,P.pointerEvents=Sa(c?.pointerEvents)||""),this.hasProjected&&!Vr(this.latestValues)&&(P.transform=v?v({},""):"none",this.hasProjected=!1),P}const w=y.animationValues||y.latestValues;this.applyTransformsToTarget(),g.transform=kC(this.projectionDeltaWithTransform,this.treeScale,w),v&&(g.transform=v(w,g.transform));const{x:b,y:E}=this.projectionDelta;g.transformOrigin=`${b.origin*100}% ${E.origin*100}% 0`,y.animationValues?g.opacity=y===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:g.opacity=y===this?w.opacity!==void 0?w.opacity:"":w.opacityExit!==void 0?w.opacityExit:0;for(const P in ja){if(w[P]===void 0)continue;const{correct:T,applyTo:A}=ja[P],D=g.transform==="none"?w[P]:T(w[P],y);if(A){const _=A.length;for(let O=0;O<_;O++)g[A[O]]=D}else g[P]=D}return this.options.layoutId&&(g.pointerEvents=y===this?Sa(c?.pointerEvents)||"":"none"),g}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(c=>{var f;return(f=c.currentAnimation)===null||f===void 0?void 0:f.stop()}),this.root.nodes.forEach(Km),this.root.sharedNodes.clear()}}}function PC(t){t.updateLayout()}function jC(t){var r;const o=((r=t.resumeFrom)===null||r===void 0?void 0:r.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&o&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:a}=t.layout,{animationType:u}=t.options,c=o.source!==t.layout.source;u==="size"?Kt(y=>{const w=c?o.measuredBox[y]:o.layoutBox[y],b=Dt(w);w.min=s[y].min,w.max=w.min+b}):kv(u,o.layoutBox,s)&&Kt(y=>{const w=c?o.measuredBox[y]:o.layoutBox[y],b=Dt(s[y]);w.max=w.min+b,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[y].max=t.relativeTarget[y].min+b)});const f=bo();Ii(f,s,o.layoutBox);const p=bo();c?Ii(p,t.applyTransform(a,!0),o.measuredBox):Ii(p,s,o.layoutBox);const g=!wv(f);let v=!1;if(!t.resumeFrom){const y=t.getClosestProjectingParent();if(y&&!y.resumeFrom){const{snapshot:w,layout:b}=y;if(w&&b){const E=Ge();Fi(E,o.layoutBox,w.layoutBox);const P=Ge();Fi(P,s,b.layoutBox),bv(E,P)||(v=!0),y.options.layoutRoot&&(t.relativeTarget=P,t.relativeTargetOrigin=E,t.relativeParent=y)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:o,delta:p,layoutDelta:f,hasLayoutChanged:g,hasRelativeTargetChanged:v})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function RC(t){Di&&zr.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function AC(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function NC(t){t.clearSnapshot()}function Km(t){t.clearMeasurements()}function MC(t){t.isLayoutDirty=!1}function LC(t){const{visualElement:r}=t.options;r&&r.getProps().onBeforeLayoutMeasure&&r.notify("BeforeLayoutMeasure"),t.resetTransform()}function Ym(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function DC(t){t.resolveTargetDelta()}function _C(t){t.calcProjection()}function OC(t){t.resetSkewAndRotation()}function IC(t){t.removeLeadSnapshot()}function qm(t,r,o){t.translate=Ve(r.translate,0,o),t.scale=Ve(r.scale,1,o),t.origin=r.origin,t.originPoint=r.originPoint}function Qm(t,r,o,s){t.min=Ve(r.min,o.min,s),t.max=Ve(r.max,o.max,s)}function FC(t,r,o,s){Qm(t.x,r.x,o.x,s),Qm(t.y,r.y,o.y,s)}function VC(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const zC={duration:.45,ease:[.4,0,.1,1]},Xm=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Zm=Xm("applewebkit/")&&!Xm("chrome/")?Math.round:Lt;function Jm(t){t.min=Zm(t.min),t.max=Zm(t.max)}function BC(t){Jm(t.x),Jm(t.y)}function kv(t,r,o){return t==="position"||t==="preserve-aspect"&&!HE(Hm(r),Hm(o),.2)}function $C(t){var r;return t!==t.root&&((r=t.scroll)===null||r===void 0?void 0:r.wasRoot)}const UC=Tv({attachResizeListener:(t,r)=>Hi(t,"resize",r),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Zu={current:void 0},Ev=Tv({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Zu.current){const t=new UC({});t.mount(window),t.setOptions({layoutScroll:!0}),Zu.current=t}return Zu.current},resetTransform:(t,r)=>{t.style.transform=r!==void 0?r:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),HC={pan:{Feature:sC},drag:{Feature:iC,ProjectionNode:Ev,MeasureLayout:yv}};function eg(t,r,o){const{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",o==="Start");const a="onHover"+o,u=s[a];u&&Ne.postRender(()=>u(r,Zi(r)))}class WC extends xr{mount(){const{current:r}=this.node;r&&(this.unmount=HT(r,o=>(eg(this.node,o,"Start"),s=>eg(this.node,s,"End"))))}unmount(){}}class GC extends xr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let r=!1;try{r=this.node.current.matches(":focus-visible")}catch{r=!0}!r||!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=Xi(Hi(this.node.current,"focus",()=>this.onFocus()),Hi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function tg(t,r,o){const{props:s}=t;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap",o==="Start");const a="onTap"+(o==="End"?"":o),u=s[a];u&&Ne.postRender(()=>u(r,Zi(r)))}class KC extends xr{mount(){const{current:r}=this.node;r&&(this.unmount=YT(r,o=>(tg(this.node,o,"Start"),(s,{success:a})=>tg(this.node,s,a?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Nc=new WeakMap,Ju=new WeakMap,YC=t=>{const r=Nc.get(t.target);r&&r(t)},qC=t=>{t.forEach(YC)};function QC({root:t,...r}){const o=t||document;Ju.has(o)||Ju.set(o,{});const s=Ju.get(o),a=JSON.stringify(r);return s[a]||(s[a]=new IntersectionObserver(qC,{root:t,...r})),s[a]}function XC(t,r,o){const s=QC(r);return Nc.set(t,o),s.observe(t),()=>{Nc.delete(t),s.unobserve(t)}}const ZC={some:0,all:1};class JC extends xr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:r={}}=this.node.getProps(),{root:o,margin:s,amount:a="some",once:u}=r,c={root:o?o.current:void 0,rootMargin:s,threshold:typeof a=="number"?a:ZC[a]},f=p=>{const{isIntersecting:g}=p;if(this.isInView===g||(this.isInView=g,u&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:v,onViewportLeave:y}=this.node.getProps(),w=g?v:y;w&&w(p)};return XC(this.node.current,c,f)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:r,prevProps:o}=this.node;["amount","margin","root"].some(eP(r,o))&&this.startObserver()}unmount(){}}function eP({viewport:t={}},{viewport:r={}}={}){return o=>t[o]!==r[o]}const tP={inView:{Feature:JC},tap:{Feature:KC},focus:{Feature:GC},hover:{Feature:WC}},nP={layout:{ProjectionNode:Ev,MeasureLayout:yv}},Mc={current:null},Cv={current:!1};function rP(){if(Cv.current=!0,!!nd)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),r=()=>Mc.current=t.matches;t.addListener(r),r()}else Mc.current=!1}const oP=[...Xy,pt,vr],iP=t=>oP.find(Qy(t)),ng=new WeakMap;function sP(t,r,o){for(const s in r){const a=r[s],u=o[s];if(ht(a))t.addValue(s,a);else if(ht(u))t.addValue(s,$i(a,{owner:t}));else if(u!==a)if(t.hasValue(s)){const c=t.getValue(s);c.liveStyle===!0?c.jump(a):c.hasAnimated||c.set(a)}else{const c=t.getStaticValue(s);t.addValue(s,$i(c!==void 0?c:a,{owner:t}))}}for(const s in o)r[s]===void 0&&t.removeValue(s);return r}const rg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class aP{scrapeMotionValuesFromProps(r,o,s){return{}}constructor({parent:r,props:o,presenceContext:s,reducedMotionConfig:a,blockInitialAnimation:u,visualState:c},f={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Rd,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 b=gn.now();this.renderScheduledAt<b&&(this.renderScheduledAt=b,Ne.render(this.render,!1,!0))};const{latestValues:p,renderState:g,onUpdate:v}=c;this.onUpdate=v,this.latestValues=p,this.baseTarget={...p},this.initialValues=o.initial?{...p}:{},this.renderState=g,this.parent=r,this.props=o,this.presenceContext=s,this.depth=r?r.depth+1:0,this.reducedMotionConfig=a,this.options=f,this.blockInitialAnimation=!!u,this.isControllingVariants=$a(o),this.isVariantNode=iy(o),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(r&&r.current);const{willChange:y,...w}=this.scrapeMotionValuesFromProps(o,{},this);for(const b in w){const E=w[b];p[b]!==void 0&&ht(E)&&E.set(p[b],!1)}}mount(r){this.current=r,ng.set(r,this),this.projection&&!this.projection.instance&&this.projection.mount(r),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((o,s)=>this.bindToMotionValue(s,o)),Cv.current||rP(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Mc.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){ng.delete(this.current),this.projection&&this.projection.unmount(),yr(this.notifyUpdate),yr(this.render),this.valueSubscriptions.forEach(r=>r()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const r in this.events)this.events[r].clear();for(const r in this.features){const o=this.features[r];o&&(o.unmount(),o.isMounted=!1)}this.current=null}bindToMotionValue(r,o){this.valueSubscriptions.has(r)&&this.valueSubscriptions.get(r)();const s=Hr.has(r),a=o.on("change",f=>{this.latestValues[r]=f,this.props.onUpdate&&Ne.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0)}),u=o.on("renderRequest",this.scheduleRender);let c;window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,r,o)),this.valueSubscriptions.set(r,()=>{a(),u(),c&&c(),o.owner&&o.stop()})}sortNodePosition(r){return!this.current||!this.sortInstanceNodePosition||this.type!==r.type?0:this.sortInstanceNodePosition(this.current,r.current)}updateFeatures(){let r="animation";for(r in Ro){const o=Ro[r];if(!o)continue;const{isEnabled:s,Feature:a}=o;if(!this.features[r]&&a&&s(this.props)&&(this.features[r]=new a(this)),this.features[r]){const u=this.features[r];u.isMounted?u.update():(u.mount(),u.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ge()}getStaticValue(r){return this.latestValues[r]}setStaticValue(r,o){this.latestValues[r]=o}update(r,o){(r.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=r,this.prevPresenceContext=this.presenceContext,this.presenceContext=o;for(let s=0;s<rg.length;s++){const a=rg[s];this.propEventSubscriptions[a]&&(this.propEventSubscriptions[a](),delete this.propEventSubscriptions[a]);const u="on"+a,c=r[u];c&&(this.propEventSubscriptions[a]=this.on(a,c))}this.prevMotionValues=sP(this,this.scrapeMotionValuesFromProps(r,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(r){return this.props.variants?this.props.variants[r]: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(r){const o=this.getClosestVariantNode();if(o)return o.variantChildren&&o.variantChildren.add(r),()=>o.variantChildren.delete(r)}addValue(r,o){const s=this.values.get(r);o!==s&&(s&&this.removeValue(r),this.bindToMotionValue(r,o),this.values.set(r,o),this.latestValues[r]=o.get())}removeValue(r){this.values.delete(r);const o=this.valueSubscriptions.get(r);o&&(o(),this.valueSubscriptions.delete(r)),delete this.latestValues[r],this.removeValueFromRenderState(r,this.renderState)}hasValue(r){return this.values.has(r)}getValue(r,o){if(this.props.values&&this.props.values[r])return this.props.values[r];let s=this.values.get(r);return s===void 0&&o!==void 0&&(s=$i(o===null?void 0:o,{owner:this}),this.addValue(r,s)),s}readValue(r,o){var s;let a=this.latestValues[r]!==void 0||!this.current?this.latestValues[r]:(s=this.getBaseTargetFromProps(this.props,r))!==null&&s!==void 0?s:this.readValueFromInstance(this.current,r,this.options);return a!=null&&(typeof a=="string"&&(Yy(a)||Vy(a))?a=parseFloat(a):!iP(a)&&vr.test(o)&&(a=Wy(r,o)),this.setBaseTarget(r,ht(a)?a.get():a)),ht(a)?a.get():a}setBaseTarget(r,o){this.baseTarget[r]=o}getBaseTarget(r){var o;const{initial:s}=this.props;let a;if(typeof s=="string"||typeof s=="object"){const c=ud(this.props,s,(o=this.presenceContext)===null||o===void 0?void 0:o.custom);c&&(a=c[r])}if(s&&a!==void 0)return a;const u=this.getBaseTargetFromProps(this.props,r);return u!==void 0&&!ht(u)?u:this.initialValues[r]!==void 0&&a===void 0?void 0:this.baseTarget[r]}on(r,o){return this.events[r]||(this.events[r]=new Td),this.events[r].add(o)}notify(r,...o){this.events[r]&&this.events[r].notify(...o)}}class Pv extends aP{constructor(){super(...arguments),this.KeyframeResolver=Zy}sortInstanceNodePosition(r,o){return r.compareDocumentPosition(o)&2?1:-1}getBaseTargetFromProps(r,o){return r.style?r.style[o]:void 0}removeValueFromRenderState(r,{vars:o,style:s}){delete o[r],delete s[r]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:r}=this.props;ht(r)&&(this.childSubscription=r.on("change",o=>{this.current&&(this.current.textContent=`${o}`)}))}}function lP(t){return window.getComputedStyle(t)}class uP extends Pv{constructor(){super(...arguments),this.type="html",this.renderInstance=hy}readValueFromInstance(r,o){if(Hr.has(o)){const s=jd(o);return s&&s.default||0}else{const s=lP(r),a=(dy(o)?s.getPropertyValue(o):s[o])||0;
10return typeof a=="string"?a.trim():a}}measureInstanceViewportBox(r,{transformPagePoint:o}){return mv(r,o)}build(r,o,s){fd(r,o,s.transformTemplate)}scrapeMotionValuesFromProps(r,o,s){return gd(r,o,s)}}class cP extends Pv{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ge}getBaseTargetFromProps(r,o){return r[o]}readValueFromInstance(r,o){if(Hr.has(o)){const s=jd(o);return s&&s.default||0}return o=my.has(o)?o:sd(o),r.getAttribute(o)}scrapeMotionValuesFromProps(r,o,s){return vy(r,o,s)}build(r,o,s){pd(r,o,this.isSVGTag,s.transformTemplate)}renderInstance(r,o,s,a){gy(r,o,s,a)}mount(r){this.isSVGTag=md(r.tagName),super.mount(r)}}const dP=(t,r)=>ld(t)?new cP(r):new uP(r,{allowProjection:t!==k.Fragment}),fP=IT({..._E,...tP,...HC,...nP},dP),pP=ZS(fP);function jv({icon:t,title:r,description:o,delay:s=0}){return h.jsxs(pP.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:s},className:"group rounded-2xl bg-card p-6 shadow-lg transition-all duration-300 hover:-translate-y-1 hover:shadow-xl",children:[h.jsx("div",{className:"mb-4 inline-flex rounded-xl bg-primary/10 p-3 text-primary",children:h.jsx(t,{className:"h-6 w-6"})}),h.jsx("h3",{className:"mb-2 text-xl font-semibold",children:r}),h.jsx("p",{className:"text-muted-foreground leading-relaxed",children:o})]})}function hP(){const t=[{icon:Zc,title:"Prompt Search Engine",description:"Instantly find the exact prompt you need from our library of thousands of curated templates."},{icon:mc,title:"Trending Prompts",description:"Discover what works best right now. Stay ahead with daily updated trending prompts."},{icon:Ob,title:"Prompt Categories",description:"Organized by use case, industry, and AI model to help you get contextual results."}];return h.jsxs(h.Fragment,{children:[h.jsxs(G1,{children:[h.jsx("title",{children:"PromptHulk | Supercharge Your AI with Better Prompts"}),h.jsx("meta",{name:"description",content:"Discover, optimize, and organize thousands of proven AI prompts for ChatGPT, Claude, and Gemini."})]}),h.jsx(_t,{}),h.jsxs("main",{children:[h.jsxs("section",{className:"relative overflow-hidden bg-background pt-24 pb-32",children:[h.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_top_right,_var(--tw-gradient-stops))] from-primary/10 via-background to-background pointer-events-none"}),h.jsxs("div",{className:"mx-auto max-w-7xl px-6 relative z-10 text-center animate-slide-up",children:[h.jsxs("h1",{className:"mx-auto max-w-4xl text-balance",children:["Supercharge Your AI with ",h.jsx("span",{className:"gradient-text",children:"Better Prompts"})]}),h.jsx("p",{className:"mx-auto mt-6 max-w-2xl text-lg text-muted-foreground",children:"Stop guessing how to talk to AI. Search thousands of curated, tested prompts for ChatGPT, Claude, and Gemini, and get exceptional results instantly."}),h.jsxs("div",{className:"mt-10 flex flex-col sm:flex-row items-center justify-center gap-4",children:[h.jsx(on,{to:"/search",children:h.jsx(gr,{size:"lg",className:"w-full sm:w-auto text-base font-semibold px-8 py-6 rounded-xl hover:scale-[0.98] transition-transform",children:"Start Searching Prompts"})}),h.jsx(on,{to:"/chrome-extension",children:h.jsx(gr,{variant:"outline",size:"lg",className:"w-full sm:w-auto text-base font-semibold px-8 py-6 rounded-xl hover:bg-muted transition-colors",children:"Install Chrome Extension"})})]}),h.jsx("div",{className:"mt-20 mx-auto max-w-5xl rounded-2xl border bg-card/50 p-2 shadow-2xl backdrop-blur-sm",children:h.jsx("img",{src:"https://images.unsplash.com/photo-1678995635432-d9e89c7a8fc5?auto=format&fit=crop&q=80&w=1200&h=600",alt:"AI Prompt Interface Dashboard",className:"rounded-xl border object-cover w-full h-[400px] shadow-sm"})})]})]}),h.jsx("section",{className:"py-24 bg-muted/30",children:h.jsxs("div",{className:"mx-auto max-w-7xl px-6",children:[h.jsxs("div",{className:"text-center max-w-2xl mx-auto mb-16",children:[h.jsx("h2",{children:"Everything you need to master AI"}),h.jsx("p",{className:"mt-4 text-muted-foreground",children:"We've built the ultimate toolkit to help you get the exact outputs you want from any language model."})]}),h.jsx("div",{className:"grid gap-8 md:grid-cols-2 lg:grid-cols-3",children:t.map((r,o)=>
10h.jsx(jv,{icon:r.icon,title:r.title,description:r.description},o))})]})}),h.jsx("section",{className:"py-24 bg-background",children:h.jsx("div",{className:"mx-auto max-w-7xl px-6",children:h.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[h.jsxs("div",{children:[h.jsx("h2",{className:"mb-6",children:"Achieve expert-level AI results in 3 steps"}),h.jsx("div",{className:"space-y-8 mt-8",children:["Search our library for your specific use case","Copy the optimized prompt template","Paste into your favorite AI and get instant value"].map((r,o)=>h.jsxs("div",{className:"flex gap-4",children:[h.jsx("div",{className:"flex-shrink-0 flex items-center justify-center w-10 h-10 rounded-full bg-primary/10 text-primary font-bold text-lg",children:o+1}),h.jsx("p",{className:"text-lg pt-1 font-medium",children:r})]},o))}),h.jsx("div",{className:"mt-10",children:h.jsx(on,{to:"/search",children:h.jsxs(gr,{variant:"outline",className:"gap-2 rounded-xl",children:["Explore Prompts ",h.jsx(Rb,{className:"h-4 w-4"})]})})})]}),h.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[h.jsxs("div",{className:"space-y-4 pt-12",children:[h.jsxs("div",{className:"p-6 bg-card rounded-2xl border shadow-sm flex flex-col items-center justify-center text-center",children:[h.jsx("p",{className:"text-4xl font-bold text-primary mb-2",children:"50k+"}),h.jsx("p",{className:"text-sm text-muted-foreground font-medium uppercase tracking-wider",children:"Curated Prompts"})]}),h.jsxs("div",{className:"p-6 bg-card rounded-2xl border shadow-sm flex flex-col items-center justify-center text-center",children:[h.jsx("p",{className:"text-4xl font-bold text-secondary mb-2",children:"100+"}),h.jsx("p",{className:"text-sm text-muted-foreground font-medium uppercase tracking-wider",children:"Categories"})]})]}),h.jsx("div",{className:"space-y-4",children:h.jsxs("div",{className:"p-6 bg-card rounded-2xl border shadow-sm flex flex-col items-center justify-center text-center h-[200px]",children:[h.jsx(mc,{className:"h-8 w-8 text-amber-500 mb-4"}),h.jsx("p",{className:"text-sm text-muted-foreground font-medium uppercase tracking-wider",children:"Daily Trending Updates"})]})})]})]})})}),h.jsxs("section",{className:"py-24 bg-primary text-primary-foreground relative overflow-hidden",children:[h.jsx("div",{className:"absolute inset-0 bg-[url('https://www.transparenttextures.com/patterns/cubes.png')] opacity-10 mix-blend-overlay"}),h.jsxs("div",{className:"mx-auto max-w-4xl px-6 text-center relative z-10",children:[h.jsx("h2",{className:"mb-6 text-4xl font-bold",children:"Ready to write better prompts?"}),h.jsx("p",{className:"mb-10 text-xl text-primary-foreground/90 max-w-2xl mx-auto",children:"Join thousands of creators, developers, and marketers using PromptHulk to supercharge their daily workflows."}),h.jsx(on,{to:"/chrome-extension",children:h.jsx(gr,{size:"lg",variant:"secondary",className:"rounded-xl px-8 py-6 text-base font-bold shadow-lg hover:scale-105 transition-transform",children:"Install Chrome Extension"})})]})]})]}),h.jsx(Ot,{})]})}var ec={exports:{}},tc,og;function mP(){if(og)return tc;og=1;var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return tc=t,tc}var nc,ig;function gP(){if(ig)return nc;ig=1;var t=mP();function r(){}function o(){}return o.resetWarningCache=r,nc=function(){function s(c,f,p,g,v,y){if(y!==t){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}}s.isRequired=s;function a(){return s}var u={array:s,bigint:s,bool:s,func:s,number:s,object:s,string:s,symbol:s,any:s,arrayOf:a,element:s,elementType:s,instanceOf:a,node:s,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:o,resetWarningCache:r};return u.PropTypes=u,u},nc}var sg;function yP(){return sg||(sg=1,ec.exports=gP()()),ec.exports}var vP=yP();const _e=Fn(vP);var rc,ag;function xP(){if(ag)return rc;ag=1;function t(f){return f&&typeof f=="object"&&"default"in f?f.default:f}var r=Oa(),o=t(r);
10function s(f,p,g){return p in f?Object.defineProperty(f,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):f[p]=g,f}function a(f,p){f.prototype=Object.create(p.prototype),f.prototype.constructor=f,f.__proto__=p}var u=!!(typeof window<"u"&&window.document&&window.document.createElement);function c(f,p,g){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 g<"u"&&typeof g!="function")throw new Error("Expected mapStateOnServer to either be undefined or a function.");function v(y){return y.displayName||y.name||"Component"}return function(w){if(typeof w!="function")throw new Error("Expected WrappedComponent to be a React component.");var b=[],E;function P(){E=f(b.map(function(A){return A.props})),T.canUseDOM?p(E):g&&(E=g(E))}var T=(function(A){a(D,A);function D(){return A.apply(this,arguments)||this}D.peek=function(){return E},D.rewind=function(){if(D.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var H=E;return E=void 0,b=[],H};var _=D.prototype;return _.UNSAFE_componentWillMount=function(){b.push(this),P()},_.componentDidUpdate=function(){P()},_.componentWillUnmount=function(){var H=b.indexOf(this);b.splice(H,1),P()},_.render=function(){return o.createElement(w,this.props)},D})(r.PureComponent);return s(T,"displayName","SideEffect("+v(w)+")"),s(T,"canUseDOM",u),T}}return rc=c,rc}var wP=xP();const bP=Fn(wP);var oc,lg;function SP(){if(lg)return oc;lg=1;var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function s(u){if(u==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(u)}function a(){try{if(!Object.assign)return!1;var u=new String("abc");if(u[5]="de",Object.getOwnPropertyNames(u)[0]==="5")return!1;for(var c={},f=0;f<10;f++)c["_"+String.fromCharCode(f)]=f;var p=Object.getOwnPropertyNames(c).map(function(v){return c[v]});if(p.join("")!=="0123456789")return!1;var g={};return"abcdefghijklmnopqrst".split("").forEach(function(v){g[v]=v}),Object.keys(Object.assign({},g)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return oc=a()?Object.assign:function(u,c){for(var f,p=s(u),g,v=1;v<arguments.length;v++){f=Object(arguments[v]);for(var y in f)r.call(f,y)&&(p[y]=f[y]);if(t){g=t(f);for(var w=0;w<g.length;w++)o.call(f,g[w])&&(p[g[w]]=f[g[w]])}}return p},oc}var TP=SP();const kP=Fn(TP);var Ur={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"},he={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"};Object.keys(he).map(function(t){return he[t]});var Oe={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"},Da={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Wi={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},EP=Object.keys(Da).reduce(function(t,r){return t[Da[r]]=r,t},{}),CP=[he.NOSCRIPT,he.SCRIPT,he.STYLE],an="data-react-helmet",PP=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jP=function(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")},RP=(function(){function t(r,o){for(var s=0;s<o.length;s++){var a=o[s];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(r,a.key,a)}}return function(r,o,s){return o&&t(r.prototype,o),s&&t(r,s),r}})(),kt=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(t[s]=o[s])}return t},AP=function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(t,r):t.__proto__=r)},ug=function(t,r){var o={};for(var s in t)r.indexOf(s)>=0||Object.prototype.hasOwnProperty.call(t,s)&&(o[s]=t[s]);return o},NP=function(t,r){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:t},Lc=function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return o===!1?String(r):String(r).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},MP=function(r){var o=Po(r,he.TITLE),s=Po(r,Wi.TITLE_TEMPLATE);if(s&&o)return s.replace(/%s/g,function(){return Array.isArray(o)?o.join(""):o});var a=Po(r,Wi.DEFAULT_TITLE);return o||a||void 0},LP=function(r){return Po(r,Wi.ON_CHANGE_CLIENT_STATE)||function(){}},ic=function(r,o){return o.filter(function(s){return typeof s[r]<"u"}).map(function(s){return s[r]}).reduce(function(s,a){return kt({},s,a)},{})},DP=function(r,o){return o.filter(function(s){return typeof s[he.BASE]<"u"}).map(function(s){return s[he.BASE]}).reverse().reduce(function(s,a){if(!s.length)for(var u=Object.keys(a),c=0;c<u.length;c++){var f=u[c],p=f.toLowerCase();if(r.indexOf(p)!==-1&&a[p])return s.concat(a)}return s},[])},Ri=function(r,o,s){var a={};return s.filter(function(u){return Array.isArray(u[r])?!0:(typeof u[r]<"u"&&FP("Helmet: "+r+' should be of type "Array". Instead found type "'+PP(u[r])+'"'),!1)}).map(function(u){return u[r]}).reverse().reduce(function(u,c){var f={};c.filter(function(w){for(var b=void 0,E=Object.keys(w),P=0;P<E.length;P++){var T=E[P],A=T.toLowerCase();o.indexOf(A)!==-1&&!(b===Oe.REL&&w[b].toLowerCase()==="canonical")&&!(A===Oe.REL&&w[A].toLowerCase()==="stylesheet")&&(b=A),o.indexOf(T)!==-1&&(T===Oe.INNER_HTML||T===Oe.CSS_TEXT||T===Oe.ITEM_PROP)&&(b=T)}if(!b||!w[b])return!1;var D=w[b].toLowerCase();return a[b]||(a[b]={}),f[b]||(f[b]={}),a[b][D]?!1:(f[b][D]=!0,!0)}
10).reverse().forEach(function(w){return u.push(w)});for(var p=Object.keys(f),g=0;g<p.length;g++){var v=p[g],y=kP({},a[v],f[v]);a[v]=y}return u},[]).reverse()},Po=function(r,o){for(var s=r.length-1;s>=0;s--){var a=r[s];if(a.hasOwnProperty(o))return a[o]}return null},_P=function(r){return{baseTag:DP([Oe.HREF,Oe.TARGET],r),bodyAttributes:ic(Ur.BODY,r),defer:Po(r,Wi.DEFER),encode:Po(r,Wi.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:ic(Ur.HTML,r),linkTags:Ri(he.LINK,[Oe.REL,Oe.HREF],r),metaTags:Ri(he.META,[Oe.NAME,Oe.CHARSET,Oe.HTTPEQUIV,Oe.PROPERTY,Oe.ITEM_PROP],r),noscriptTags:Ri(he.NOSCRIPT,[Oe.INNER_HTML],r),onChangeClientState:LP(r),scriptTags:Ri(he.SCRIPT,[Oe.SRC,Oe.INNER_HTML],r),styleTags:Ri(he.STYLE,[Oe.CSS_TEXT],r),title:MP(r),titleAttributes:ic(Ur.TITLE,r)}},Dc=(function(){var t=Date.now();return function(r){var o=Date.now();o-t>16?(t=o,r(o)):setTimeout(function(){Dc(r)},0)}})(),cg=function(r){return clearTimeout(r)},OP=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Dc:global.requestAnimationFrame||Dc,IP=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||cg:global.cancelAnimationFrame||cg,FP=function(r){return console&&typeof console.warn=="function"&&console.warn(r)},Ai=null,VP=function(r){Ai&&IP(Ai),r.defer?Ai=OP(function(){dg(r,function(){Ai=null})}):(dg(r),Ai=null)},dg=function(r,o){var s=r.baseTag,a=r.bodyAttributes,u=r.htmlAttributes,c=r.linkTags,f=r.metaTags,p=r.noscriptTags,g=r.onChangeClientState,v=r.scriptTags,y=r.styleTags,w=r.title,b=r.titleAttributes;_c(he.BODY,a),_c(he.HTML,u),zP(w,b);var E={baseTag:vo(he.BASE,s),linkTags:vo(he.LINK,c),metaTags:vo(he.META,f),noscriptTags:vo(he.NOSCRIPT,p),scriptTags:vo(he.SCRIPT,v),styleTags:vo(he.STYLE,y)},P={},T={};
10Object.keys(E).forEach(function(A){var D=E[A],_=D.newTags,O=D.oldTags;_.length&&(P[A]=_),O.length&&(T[A]=E[A].oldTags)}),o&&o(),g(r,P,T)},Rv=function(r){return Array.isArray(r)?r.join(""):r},zP=function(r,o){typeof r<"u"&&document.title!==r&&(document.title=Rv(r)),_c(he.TITLE,o)},_c=function(r,o){var s=document.getElementsByTagName(r)[0];if(s){for(var a=s.getAttribute(an),u=a?a.split(","):[],c=[].concat(u),f=Object.keys(o),p=0;p<f.length;p++){var g=f[p],v=o[g]||"";s.getAttribute(g)!==v&&s.setAttribute(g,v),u.indexOf(g)===-1&&u.push(g);var y=c.indexOf(g);y!==-1&&c.splice(y,1)}for(var w=c.length-1;w>=0;w--)s.removeAttribute(c[w]);u.length===c.length?s.removeAttribute(an):s.getAttribute(an)!==f.join(",")&&s.setAttribute(an,f.join(","))}},vo=function(r,o){var s=document.head||document.querySelector(he.HEAD),a=s.querySelectorAll(r+"["+an+"]"),u=Array.prototype.slice.call(a),c=[],f=void 0;return o&&o.length&&o.forEach(function(p){var g=document.createElement(r);for(var v in p)if(p.hasOwnProperty(v))if(v===Oe.INNER_HTML)g.innerHTML=p.innerHTML;else if(v===Oe.CSS_TEXT)g.styleSheet?g.styleSheet.cssText=p.cssText:g.appendChild(document.createTextNode(p.cssText));else{var y=typeof p[v]>"u"?"":p[v];g.setAttribute(v,y)}g.setAttribute(an,"true"),u.some(function(w,b){return f=b,g.isEqualNode(w)})?u.splice(f,1):c.push(g)}),u.forEach(function(p){return p.parentNode.removeChild(p)}),c.forEach(function(p){return s.appendChild(p)}),{oldTags:u,newTags:c}},Av=function(r){return Object.keys(r).reduce(function(o,s){var a=typeof r[s]<"u"?s+'="'+r[s]+'"':""+s;return o?o+" "+a:a},"")},BP=function(r,o,s,a){var u=Av(s),c=Rv(o);return u?"<"+r+" "+an+'="true" '+u+">"+Lc(c,a)+"</"+r+">":"<"+r+" "+an+'="true">'+Lc(c,a)+"</"+r+">"},$P=function(r,o,s){return o.reduce(function(a,u){var c=Object.keys(u).filter(function(g){return!(g===Oe.INNER_HTML||g===Oe.CSS_TEXT)}).reduce(function(g,v){var y=typeof u[v]>"u"?v:v+'="'+Lc(u[v],s)+'"';return g?g+" "+y:y},""),f=u.innerHTML||u.cssText||"",p=CP.indexOf(r)===-1;return a+"<"+r+" "+an+'="true" '+c+(p?"/>":">"+f+"</"+r+">")},"")},Nv=function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(r).reduce(function(s,a){return s[Da[a]||a]=r[a],s},o)},UP=function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(r).reduce(function(s,a){return s[EP[a]||a]=r[a],s},o)},HP=function(r,o,s){var a,u=(a={key:o},a[an]=!0,a),c=Nv(s,u);return[$.createElement(he.TITLE,c,o)]},WP=function(r,o){return o.map(function(s,a){var u,c=(u={key:a},u[an]=!0,u);return Object.keys(s).forEach(function(f){var p=Da[f]||f;if(p===Oe.INNER_HTML||p===Oe.CSS_TEXT){var g=s.innerHTML||s.cssText;c.dangerouslySetInnerHTML={__html:g}}else c[p]=s[f]}),$.createElement(r,c)})},Ln=function(r,o,s){switch(r){case he.TITLE:return{toComponent:function(){return HP(r,o.title,o.titleAttributes)},toString:function(){return BP(r,o.title,o.titleAttributes,s)}};case Ur.BODY:case Ur.HTML:return{toComponent:function(){return Nv(o)},toString:function(){return Av(o)}};default:return{toComponent:function(){return WP(r,o)},toString:function(){return $P(r,o,s)}}}},Mv=function(r){var o=r.baseTag,s=r.bodyAttributes,a=r.encode,u=r.htmlAttributes,c=r.linkTags,f=r.metaTags,p=r.noscriptTags,g=r.scriptTags,v=r.styleTags,y=r.title,w=y===void 0?"":y,b=r.titleAttributes;return{base:Ln(he.BASE,o,a),bodyAttributes:Ln(Ur.BODY,s,a),htmlAttributes:Ln(Ur.HTML,u,a),link:Ln(he.LINK,c,a),meta:Ln(he.META,f,a),noscript:Ln(he.NOSCRIPT,p,a),script:Ln(he.SCRIPT,g,a),style:Ln(he.STYLE,v,a),title:Ln(he.TITLE,{title:w,titleAttributes:b},a)}},GP=function(r){var o,s;return s=o=(function(a){AP(u,a);function u(){return jP(this,u),NP(this,a.apply(this,arguments))}return u.prototype.shouldComponentUpdate=function(f){return!Dg(this.props,f)},u.prototype.mapNestedChildrenToProps=function(f,p){if(!p)return null;switch(f.type){case he.SCRIPT:case he.NOSCRIPT:return{innerHTML:p};case he.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.")},u.prototype.flattenArrayTypeChildren=function(f){var p,g=f.child,v=f.arrayTypeChildren,y=f.newChildProps,w=f.nestedChildren;return kt({},v,(p={},p[g.type]=[].concat(v[g.type]||[],[kt({},y,this.mapNestedChildrenToProps(g,w))]),p))},u.prototype.mapObjectTypeChildren=function(f){var p,g,v=f.child,y=f.newProps,w=f.newChildProps,b=f.nestedChildren;
10switch(v.type){case he.TITLE:return kt({},y,(p={},p[v.type]=b,p.titleAttributes=kt({},w),p));case he.BODY:return kt({},y,{bodyAttributes:kt({},w)});case he.HTML:return kt({},y,{htmlAttributes:kt({},w)})}return kt({},y,(g={},g[v.type]=kt({},w),g))},u.prototype.mapArrayTypeChildrenToProps=function(f,p){var g=kt({},p);return Object.keys(f).forEach(function(v){var y;g=kt({},g,(y={},y[v]=f[v],y))}),g},u.prototype.warnOnInvalidChildren=function(f,p){return!0},u.prototype.mapChildrenToProps=function(f,p){var g=this,v={};return $.Children.forEach(f,function(y){if(!(!y||!y.props)){var w=y.props,b=w.children,E=ug(w,["children"]),P=UP(E);switch(g.warnOnInvalidChildren(y,b),y.type){case he.LINK:case he.META:case he.NOSCRIPT:case he.SCRIPT:case he.STYLE:v=g.flattenArrayTypeChildren({child:y,arrayTypeChildren:v,newChildProps:P,nestedChildren:b});break;default:p=g.mapObjectTypeChildren({child:y,newProps:p,newChildProps:P,nestedChildren:b});break}}}),p=this.mapArrayTypeChildrenToProps(v,p),p},u.prototype.render=function(){var f=this.props,p=f.children,g=ug(f,["children"]),v=kt({},g);return p&&(v=this.mapChildrenToProps(p,v)),$.createElement(r,v)},RP(u,null,[{key:"canUseDOM",set:function(f){r.canUseDOM=f}}]),u})($.Component),o.propTypes={base:_e.object,bodyAttributes:_e.object,children:_e.oneOfType([_e.arrayOf(_e.node),_e.node]),defaultTitle:_e.string,defer:_e.bool,encodeSpecialCharacters:_e.bool,htmlAttributes:_e.object,link:_e.arrayOf(_e.object),meta:_e.arrayOf(_e.object),noscript:_e.arrayOf(_e.object),onChangeClientState:_e.func,script:_e.arrayOf(_e.object),style:_e.arrayOf(_e.object),title:_e.string,titleAttributes:_e.object,titleTemplate:_e.string},o.defaultProps={defer:!0,encodeSpecialCharacters:!0},o.peek=r.peek,o.rewind=function(){var a=r.rewind();return a||(a=Mv({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),a},s},KP=function(){return null},YP=bP(_P,VP,Mv)(KP),Ct=GP(YP);Ct.renderStatic=Ct.rewind;function qP(){const t=[{icon:Zc,title:"Prompt Search Engine",description:"Search through thousands of curated prompts across all major AI platforms. Find exactly what you need with advanced filters and categories."},{icon:Hb,title:"Trending Prompt Explorer",description:"Discover what prompts are working best right now. Stay ahead with real-time trending prompts updated daily."},{icon:Wg,title:"Prompt Optimizer",description:"Transform basic prompts into powerful instructions. Our AI-powered optimizer adds context, structure, and clarity to improve results."},{icon:Ab,title:"Prompt Library",description:"Access over 50,000 professionally crafted prompts organized by use case, industry, and AI platform."},{icon:Lb,title:"Prompt Categories",description:"Browse prompts by category: Programming, Marketing, SEO, Business, Writing, Education, Productivity, and more."},{icon:hc,title:"Chrome Extension",description:"One-click access to prompts while using ChatGPT, Claude, Gemini, or any AI platform. Insert, improve, and save prompts instantly."},{icon:Gb,title:"AI Prompt Generator",description:"Generate custom prompts tailored to your specific needs. Describe what you want and let AI create the perfect prompt."},{icon:Mb,title:"Prompt Templates",description:"Ready-to-use templates for common tasks. Just fill in the blanks and get professional results every time."}],r=["Programming","Marketing","SEO","Business","Writing","Education","Productivity","Image Generation","Automation","Finance","Resume","Interview","Health","Travel"];return h.jsxs(h.Fragment,{children:[h.jsxs(Ct,{children:[h.jsx("title",{children:"Features - PromptHulk"}),h.jsx("meta",{name:"description",content:"Explore PromptHulk's powerful features: prompt search, trending prompts, AI optimizer, Chrome extension, and more."})]}),h.jsx(_t,{}),h.jsxs("main",{children:[h.jsxs("section",{className:"mx-auto max-w-7xl px-6 py-20",children:[h.jsxs("div",{className:"mb-16 text-center",children:[h.jsx("h1",{className:"mb-4",children:"Powerful features for better AI results"}),h.jsx("p",{className:"mx-auto max-w-2xl text-lg text-muted-foreground",children:"Everything you need to get the most out of AI assistants"})]}),h.jsx("div",{className:"grid gap-8 md:grid-cols-2 lg:grid-cols-3",children:t.map((o,s)=>
10h.jsx(jv,{icon:o.icon,title:o.title,description:o.description,delay:s*.1},s))})]}),h.jsx("section",{className:"bg-muted py-20",children:h.jsxs("div",{className:"mx-auto max-w-7xl px-6",children:[h.jsxs("div",{className:"mb-12 text-center",children:[h.jsx("h2",{className:"mb-4",children:"Browse by category"}),h.jsx("p",{className:"text-muted-foreground",children:"Find prompts organized by your specific needs"})]}),h.jsx("div",{className:"flex flex-wrap justify-center gap-3",children:r.map(o=>h.jsx("span",{className:"rounded-full bg-background px-4 py-2 text-sm font-medium shadow-sm",children:o},o))})]})})]}),h.jsx(Ot,{})]})}function QP(t,r=500){const[o,s]=k.useState(t);return k.useEffect(()=>{const a=setTimeout(()=>{s(t)},r);return()=>{clearTimeout(a)}},[t,r]),o}const Lv=k.forwardRef(({className:t,type:r,...o},s)=>h.jsx("input",{type:r,className:ed("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",t),ref:s,...o}));Lv.displayName="Input";function XP({value:t,onChange:r,placeholder:o="Search prompts..."}){return h.jsxs("div",{className:"relative",children:[h.jsx(Zc,{className:"absolute left-4 top-1/2 h-5 w-5 -translate-y-1/2 text-muted-foreground"}),h.jsx(Lv,{type:"text",value:t,onChange:s=>r(s.target.value),placeholder:o,className:"pl-12 h-12 text-base"})]})}function _a({label:t,active:r,onClick:o}){return h.jsx("button",{onClick:o,className:`rounded-full px-4 py-2 text-sm font-medium transition-all duration-200 ${r?"bg-primary text-primary-foreground shadow-md":"bg-muted text-muted-foreground hover:bg-muted/80"}`,children:t})}function Dv({prompt:t}){const[r,o]=k.useState(!1),s=()=>{navigator.clipboard.writeText(t.content||t.title),o(!0),pc.success("Prompt copied to clipboard"),setTimeout(()=>o(!1),2e3)};return h.jsxs("div",{className:"group rounded-xl border bg-card p-6 transition-all duration-200 hover:shadow-lg",children:[h.jsxs("div",{className:"mb-3 flex items-start justify-between gap-4",children:[h.jsx("h3",{className:"font-semibold leading-snug",children:t.title}),h.jsx("button",{onClick:s,className:"shrink-0 rounded-lg p-2 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground","aria-label":"Copy prompt",children:r?h.jsx(Xc,{className:"h-4 w-4"}):h.jsx(Hg,{className:"h-4 w-4"})})]}),h.jsxs("div",{className:"mb-3 flex flex-wrap gap-2",children:[t.category&&h.jsx("span",{className:"inline-flex items-center rounded-full bg-primary/10 px-3 py-1 text-xs font-medium text-primary",children:t.category}),t.ai_platform&&h.jsx("span",{className:"inline-flex items-center rounded-full bg-secondary/10 px-3 py-1 text-xs font-medium text-secondary",children:t.ai_platform})]}),t.popularity_score&&h.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[h.jsx("div",{className:"h-2 w-full rounded-full bg-muted",children:h.jsx("div",{className:"h-2 rounded-full bg-primary",style:{width:`${Math.min(t.popularity_score,100)}%`}})}),h.jsx("span",{className:"shrink-0 font-medium",children:t.popularity_score})]})]})}const _v=[{id:"p1",title:"Launch Plan for a New Product",content:"Create a 30-day product launch plan for [product] targeting [audience]. Include week-by-week goals, channel mix, content ideas, and KPIs.",category:"Marketing",ai_platform:"ChatGPT",popularity_score:94},{id:"p2",title:"Refactor a React Component Safely",content:"Refactor the following React component for readability and performance. Keep behavior unchanged, explain trade-offs, and include tests to verify no regression.",category:"Programming",ai_platform:"Claude",popularity_score:88},{id:"p3",title:"SEO Blog Brief Generator",content:"Generate an SEO content brief for keyword [keyword]. Include intent, outline, metadata, internal links, and FAQ schema opportunities.",category:"SEO",ai_platform:"Gemini",popularity_score:85},{id:"p4",title:"Cold Email Rewrite for Higher Replies",content:"Rewrite this cold email for [persona]. Keep under 120 words, improve clarity, add one specific value proposition, and suggest 3 subject lines.",category:"Business",ai_platform:"ChatGPT",popularity_score:83},{id:"p5",title:"Study Plan Builder",content:"Create a 4-week study plan for learning [topic] with 45 minutes/day. Include milestones, weekly tests, and revision checkpoints.",category:"Education",ai_platform:"Perplexity",popularity_score:80},{id:"p6",title:"Personal Productivity Reset",content:"Design a practical weekly productivity system for [role]. Include task triage rules, deep-work blocks, and a daily shutdown checklist.",category:"Productivity",ai_platform:"Claude",popularity_score:78},{id:"p7",title:"Long-form Article to LinkedIn Thread",content:"Convert this long article into a high-retention LinkedIn thread with 10 posts. Keep voice professional, concise, and insight-led.",category:"Writing",ai_platform:"ChatGPT",popularity_score:76},{id:"p8",title:"Feature Comparison Matrix",content:"Compare [product A], [product B], and [product C] in a decision table for [team type], then recommend the best fit by budget tier.",category:"Business",ai_platform:"Gemini",popularity_score:74},{id:"p9",title:"Prompt Optimizer for Image Generation",content:"Transform this rough image prompt into a cinematic prompt with composition, lighting, lens details, and style constraints.",category:"Marketing",ai_platform:"Midjourney",popularity_score:72},{id:"p10",title:"Technical Documentation Rewrite",content:"Rewrite this technical documentation page for beginner developers while preserving all required setup and security steps.",category:"Programming",ai_platform:"Grok",popularity_score:71}],ZP=["All","Programming","Marketing","SEO","Business","Writing","Education","Productivity"],JP=["All","ChatGPT","Claude","Gemini","Grok","Perplexity","Midjourney"];function e2(){const[t,r]=k.useState(""),[o,s]=k.useState("All"),[a,u]=k.useState("All"),[c,f]=k.useState([]),[p,g]=k.useState(!1),v=QP(t,500);return k.useEffect(()=>{(()=>{if(!v.trim()){f([]);return}g(!0);const w=v.toLowerCase();let b=_v.filter(E=>[E.title,E.content,E.category,E.ai_platform].join(" ").toLowerCase().includes(w));o!=="All"&&(b=b.filter(E=>E.category===o)),a!=="All"&&(b=b.filter(E=>E.ai_platform===a)),f(b),g(!1)})()},[v,o,a]),h.jsxs("div",{className:"space-y-6",children:[h.jsx(XP,{value:t,onChange:r}),h.jsxs("div",{className:"space-y-4",children:[h.jsxs("div",{children:[h.jsx("p",{className:"mb-2 text-sm font-medium",children:"Category"}),h.jsx("div",{className:"flex flex-wrap gap-2",children:ZP.map(y=>h.jsx(_a,{label:y,active:o===y,onClick:()=>s(y)},y))})]}),h.jsxs("div",{children:[h.jsx("p",{className:"mb-2 text-sm font-medium",children:"AI Platform"}),h.jsx("div",{className:"flex flex-wrap gap-2",children:JP.map(y=>h.jsx(_a,{label:y,active:a===y,onClick:()=>u(y)},y))})]})]}),p?h.jsx("div",{className:"flex justify-center py-12",children:h.jsx("div",{className:"h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent"})}):c.length>0?h.jsx("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-3",children:c.map(y=>h.jsx(Dv,{prompt:y},y.id))}):t.trim()?h.jsx("div",{className:"py-12 text-center",children:h.jsx("p",{className:"text-muted-foreground",children:"No prompts found. Try different keywords or filters."})}):null]})}function t2(){return h.jsxs(h.Fragment,{children:[h.jsxs(Ct,{children:[h.jsx("title",{children:"Search Prompts - PromptHulk"}),h.jsx("meta",{name:"description",content:"Search thousands of AI prompts for ChatGPT, Claude, Gemini, and more. Filter by category and platform."})]}),h.jsx(_t,{}),h.jsxs("main",{className:"mx-auto max-w-7xl px-6 py-12",children:[h.jsxs("div",{className:"mb-8 text-center",children:[h.jsx("h1",{className:"mb-4",children:"Search AI prompts"}),h.jsx("p",{className:"text-muted-foreground",children:"Find the perfect prompt for your needs"})]}),h.jsx(e2,{})]}),h.jsx(Ot,{})]})}const n2=["All","Programming","Marketing","SEO","Business","Writing","Education","Productivity"],r2=["All","ChatGPT","Claude","Gemini","Grok","Perplexity","Midjourney"];function o2(){const[t,r]=k.useState([]),[o,s]=k.useState(!0),[a,u]=k.useState("All"),[c,f]=k.useState("All");return k.useEffect(()=>{(()=>{s(!0);let g=[..._v].sort((v,y)=>y.popularity_score-v.popularity_score);a!=="All"&&(g=g.filter(v=>v.category===a)),c!=="All"&&(g=g.filter(v=>v.ai_platform===c)),r(g),s(!1)})()},[a,c]),h.jsxs(h.Fragment,{children:[h.jsxs(Ct,{children:[h.jsx("title",{children:"Trending Prompts - PromptHulk"}),h.jsx("meta",{name:"description",content:"Discover the most popular AI prompts trending right now. Updated daily with the best prompts for ChatGPT, Claude, and more."})]}),h.jsx(_t,{}),h.jsxs("main",{className:"mx-auto max-w-7xl px-6 py-12",children:[h.jsxs("div",{className:"mb-8 text-center",children:[h.jsx("h1",{className:"mb-4",children:"Trending prompts"}),h.jsx("p",{className:"text-muted-foreground",children:"Discover what's working best right now"})]}),h.jsxs("div",{className:"mb-8 space-y-4",children:[h.jsxs("div",{children:[h.jsx("p",{className:"mb-2 text-sm font-medium",children:"Category"}),h.jsx("div",{className:"flex flex-wrap gap-2",children:n2.map(p=>h.jsx(_a,{label:p,active:a===p,onClick:()=>u(p)},p))})]}),h.jsxs("div",{children:[h.jsx("p",{className:"mb-2 text-sm font-medium",children:"AI Platform"}),h.jsx("div",{className:"flex flex-wrap gap-2",children:r2.map(p=>
10h.jsx(_a,{label:p,active:c===p,onClick:()=>f(p)},p))})]})]}),o?h.jsx("div",{className:"flex justify-center py-12",children:h.jsx("div",{className:"h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent"})}):t.length>0?h.jsx("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-3",children:t.map(p=>h.jsx(Dv,{prompt:p},p.id))}):h.jsx("div",{className:"py-12 text-center",children:h.jsx("p",{className:"text-muted-foreground",children:"No trending prompts found for the selected filters."})})]}),h.jsx(Ot,{})]})}const Oc=k.forwardRef(({className:t,...r},o)=>h.jsx("textarea",{className:ed("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",t),ref:o,...r}));Oc.displayName="Textarea";const Ic={general:{role:"an expert problem solver and clear communicator",approach:["Identify the user's real goal before producing the answer","Use the supplied context and distinguish facts from assumptions","Make the answer practical and easy to act on"]},writing:{role:"an experienced editor and professional writer",approach:["Preserve the intended meaning while improving clarity and flow","Match the language to the audience and requested tone","Remove repetition, filler, and vague wording"]},coding:{role:"a senior software engineer who writes maintainable, secure code",approach:["State important technical assumptions before implementation","Prefer a simple, reliable solution with clear naming","Cover edge cases, validation, and verification steps"]},research:{role:"a rigorous research analyst",approach:["Separate evidence, interpretation, and uncertainty","Compare credible viewpoints instead of relying on one claim","Call out missing information and avoid invented citations"]},learning:{role:"a patient teacher who explains ideas step by step",approach:["Start from the learner's likely level of knowledge","Use a concrete example before introducing complexity","Check understanding with a short recap or practice task"]},marketing:{role:"a customer-focused marketing strategist and copywriter",approach:["Lead with the audience's problem and desired outcome","Use specific benefits and believable language","End with one clear, relevant call to action"]},image:{role:"an expert visual director and image-prompt designer",approach:["Define the subject, setting, composition, and visual hierarchy","Specify lighting, color palette, mood, and medium","Include useful camera or rendering details without contradictions"]}},Fc={auto:"Choose the clearest format for the task. Use headings and bullets when they improve scanning.",bullets:"Use concise bullet points grouped under descriptive headings.",steps:"Provide a numbered, step-by-step answer in execution order.",table:"Use a comparison table, followed by a short recommendation.",email:"Write a complete email with a subject line, greeting, body, and sign-off.",code:"Provide production-ready code first, then a concise explanation and test instructions.",json:"Return valid JSON only, with consistent keys and no Markdown fences.",markdown:"Return well-structured Markdown with short sections and useful headings."},Vc={neutral:"clear, direct, and neutral",friendly:"warm, helpful, and conversational",professional:"professional, confident, and concise",persuasive:"persuasive, credible, and action-oriented",simple:"simple enough for a beginner, without unnecessary jargon",creative:"creative, vivid, and original"},zc={concise:["Keep the response focused on the most important information","Avoid repetition and unnecessary background"],balanced:["Give enough context to make the answer self-contained","Include concrete examples where they improve understanding","End with a clear next action or recommendation when relevant"],detailed:["Explain the reasoning behind important recommendations","Include concrete examples and implementation details","Discuss meaningful trade-offs, risks, and edge cases","End with a practical checklist or next steps"]};function Ld(t){return String(t||"").replace(/\r\n/g,`
11`).replace(/[ \t]+/g," ").replace(/\n{3,}/g,`
12
13`).trim()}function i2(t){const r=Ld(t);return r?r.split(/\s+/).length:0}function hr(t,r){return r.some(o=>o.test(t))}function Ni(t){return Math.max(0,Math.min(20,Math.round(t)))}function s2(t){return t.filter((r,o,s)=>s.indexOf(r)===o)}function Bc(t){const r=Ld(t),o=r.toLowerCase(),s=i2(r),a=Ni((s>=8?7:s)+(s>=20?5:0)+(hr(o,[/\bcreate\b/,/\bwrite\b/,/\bexplain\b/,/\bcompare\b/,/\banal
13yze\b/,/\bbuild\b/,/\bsummarize\b/])?5:0)+(/[0-9]/.test(r)?3:0)),u=Ni((hr(o,[/\bcontext\b/,/\bbackground\b/,/\bbecause\b/,/\bcurrently\b/,/\busing\b/,/\babout\b/])?9:0)+(s>=35?7:s>=18?4:0)+(r.includes(`
14`)?4:0)),c=Ni((hr(o,[/\bmust\b/,/\bshould\b/,/\bdo not\b/,/\bavoid\b/,/\blimit\b/,/\bmaximum\b/,/\bminimum\b/,/\bonly\b/])?10:0)+(hr(o,[/\bwords?\b/,/\bcharacters?\b/,/\bminutes?\b/,/\bpages?\b/,/\bitems?\b/])?6:0)+(/[-*]\s/.test(r)?4:0)),f=Ni((hr(o,[/\bformat\b/,/\btable\b/,/\bjson\b/,/\bmarkdown\b/,/\bbullet\b/,/\bsteps?\b/,/\bemail\b/,/\blist\b/])?13:0)+(hr(o,[/\bheadline\b/,/\bsubject line\b/,/\bcode\b/,/\bscript\b/])?7:0)),p=Ni((hr(o,[/\baudience\b/,/\breader\b/,/\bcustomer\b/,/\bclient\b/,/\bstudent\b/,/\bbeginner\b/,/\bexpert\b/,/\bmanager\b/,/\bdeveloper\b/])?13:0)+(hr(o,[/\btone\b/,/\bprofessional\b/,/\bfriendly\b/,/\bformal\b/,/\bcasual\b/,/\bsimple\b/])?7:0)),g={specificity:a,context:u,constraints:c,format:f,audience:p},v=Object.values(g).reduce((w,b)=>w+b,0),y=[];return a<12&&y.push("State the exact result you want using a clear action verb."),u<10&&y.push("Add background, source material, or the situation the answer should consider."),c<10&&y.push("Define limits, must-have points, and anything the answer should avoid."),f<10&&y.push("Specify the output format, such as steps, bullets, a table, code, or JSON."),p<10&&y.push("Name the audience and the tone or knowledge level to use."),{score:v,dimensions:g,suggestions:y,wordCount:s}}function a2(t,r={}){const o=Ld(t),s={purpose:"general",tone:"professional",format:"auto",depth:"balanced",clarify:!0,...r};if(!o)return{prompt:"",analysis:Bc("")};const a=Ic[s.purpose]||Ic.general,u=Vc[s.tone]||Vc.professional,c=Fc[s.format]||Fc.auto,f=zc[s.depth]||zc.balanced,p=s2(a.approach.concat(f)),g=[`You are ${a.role}.`,"","Objective",o,"","How to approach the task"];return p.forEach(v=>{g.push(`- ${v}.`)}),g.push("","Audience and tone",`- Write in a ${u} style.`,"","Output format",`- ${c}`,"","Quality checks","- Make the response accurate, specific, internally consistent, and directly useful.","- Do not invent facts, sources, quotes, or results. Clearly label uncertainty.","- Review the final answer against the objective before returning it."),s.clarify&&g.push("","Before answering","- If essential information is missing, ask up to 3 concise clarifying questions.","- If the task can proceed safely, state any important assumptions and continue."),{prompt:g.join(`
15`),analysis:Bc(o)}}const va={purposes:Object.keys(Ic),tones:Object.keys(Vc),formats:Object.keys(Fc),depths:Object.keys(zc)};function l2(){const[t,r]=k.useState(""),[o,s]=k.useState(""),[a,u]=k.useState(null),[c,f]=k.useState("general"),[p,g]=k.useState("professional"),[v,y]=k.useState("auto"),[w,b]=k.useState("balanced"),[E,P]=k.useState(!1),[T,A]=k.useState(!1),D=()=>{if(!t.trim()){pc.error("Please enter a prompt to optimize");return}A(!0),setTimeout(()=>{const O=a2(t,{purpose:c,tone:p,format:v,depth:w,clarify:!0});s(O.prompt),u(O.analysis||Bc(t)),A(!1)},1500)},_=()=>{navigator.clipboard.writeText(o),P(!0),pc.success("Improved prompt copied to clipboard"),setTimeout(()=>P(!1),2e3)};return h.jsxs("div",{className:"space-y-6",children:[h.jsxs("div",{className:"grid gap-4 rounded-2xl border bg-card p-5 sm:grid-cols-2 lg:grid-cols-4",children:[h.jsxs("div",{children:[h.jsx("label",{className:"mb-2 block text-xs font-semibold uppercase tracking-wider text-muted-foreground",children:"Purpose"}),h.jsx("select",{value:c,onChange:O=>f(O.target.value),className:"w-full rounded-md border bg-background px-3 py-2 text-sm",children:va.purposes.map(O=>h.jsx("option",{value:O,children:O},O))})]}),h.jsxs("div",{children:[h.jsx("label",{className:"mb-2 block text-xs font-semibold uppercase tracking-wider text-muted-foreground",children:"Tone"}),h.jsx("select",{value:p,onChange:O=>g(O.target.value),className:"w-full rounded-md border bg-background px-3 py-2 text-sm",children:va.tones.map(O=>h.jsx("option",{value:O,children:O},O))})]}),h.jsxs("div",{children:[h.jsx("label",{className:"mb-2 block text-xs font-semibold uppercase tracking-wider text-muted-foreground",children:"Format"}
15),h.jsx("select",{value:v,onChange:O=>y(O.target.value),className:"w-full rounded-md border bg-background px-3 py-2 text-sm",children:va.formats.map(O=>h.jsx("option",{value:O,children:O},O))})]}),h.jsxs("div",{children:[h.jsx("label",{className:"mb-2 block text-xs font-semibold uppercase tracking-wider text-muted-foreground",children:"Depth"}),h.jsx("select",{value:w,onChange:O=>b(O.target.value),className:"w-full rounded-md border bg-background px-3 py-2 text-sm",children:va.depths.map(O=>h.jsx("option",{value:O,children:O},O))})]})]}),h.jsxs("div",{className:"grid gap-6 md:grid-cols-2",children:[h.jsxs("div",{children:[h.jsx("label",{className:"mb-2 block text-sm font-medium",children:"Original Prompt"}),h.jsx(Oc,{value:t,onChange:O=>r(O.target.value),placeholder:"Enter your prompt here...",className:"min-h-[200px] resize-none text-foreground"}),h.jsx(gr,{onClick:D,disabled:T,className:"mt-4 w-full",children:T?h.jsxs(h.Fragment,{children:[h.jsx("div",{className:"mr-2 h-4 w-4 animate-spin rounded-full border-2 border-primary-foreground border-t-transparent"}),"Optimizing..."]}):h.jsxs(h.Fragment,{children:[h.jsx(Wg,{className:"mr-2 h-4 w-4"}),"Optimize Prompt"]})})]}),h.jsxs("div",{children:[h.jsxs("div",{className:"mb-2 flex items-center justify-between",children:[h.jsx("label",{className:"text-sm font-medium",children:"Improved Prompt"}),o&&h.jsx("button",{onClick:_,className:"rounded-lg p-2 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground","aria-label":"Copy improved prompt",children:E?h.jsx(Xc,{className:"h-4 w-4"}):h.jsx(Hg,{className:"h-4 w-4"})})]}),h.jsx(Oc,{value:o,readOnly:!0,placeholder:"Optimized prompt will appear here...",className:"min-h-[200px] resize-none bg-muted text-foreground"}),o&&a&&h.jsxs("div",{className:"mt-4 rounded-lg bg-primary/10 p-4",children:[h.jsxs("p",{className:"mb-2 text-sm font-medium text-primary",children:["Prompt quality score: ",a.score,"/100"]}),h.jsxs("ul",{className:"space-y-1 text-sm text-muted-foreground",children:[h.jsxs("li",{children:["• Specificity: ",a.dimensions.specificity,"/20"]}),h.jsxs("li",{children:["• Context: ",a.dimensions.context,"/20"]}),h.jsxs("li",{children:["• Constraints: ",a.dimensions.constraints,"/20"]}),h.jsxs("li",{children:["• Format: ",a.dimensions.format,"/20"]}),h.jsxs("li",{children:["• Audience: ",a.dimensions.audience,"/20"]})]}),a.suggestions?.length>0&&h.jsxs("div",{className:"mt-3",children:[h.jsx("p",{className:"mb-1 text-sm font-medium",children:"Suggestions:"}),h.jsx("ul",{className:"list-disc space-y-1 pl-5 text-sm text-muted-foreground",children:a.suggestions.map(O=>h.jsx("li",{children:O},O))})]})]})]})]})]})}function u2(){return h.jsxs(h.Fragment,{children:[h.jsxs(Ct,{children:[h.jsx("title",{children:"Prompt Optimizer - PromptHulk"}),h.jsx("meta",{name:"description",content:"Transform basic prompts into powerful instructions with our AI-powered prompt optimizer. Get better results from ChatGPT, Claude, and more."})]}),h.jsx(_t,{}),h.jsxs("main",{className:"mx-auto max-w-6xl px-6 py-12",children:[h.jsxs("div",{className:"mb-12 text-center",children:[h.jsx("h1",{className:"mb-4",children:"Prompt optimizer"}),h.jsx("p",{className:"mx-auto max-w-2xl text-lg text-muted-foreground",children:"Transform basic prompts into powerful instructions that get better results"})]}),h.jsx(l2,{}),h.jsxs("section",{className:"mt-16 rounded-2xl bg-muted p-8",children:[h.jsx("h2",{className:"mb-6 text-center",children:"How it works"}),h.jsxs("div",{className:"grid gap-6 md:grid-cols-3",children:[h.jsxs("div",{className:"text-center",children:[h.jsx("div",{className:"mb-3 inline-flex h-12 w-12 items-center justify-center rounded-xl bg-primary/10 text-xl font-bold text-primary",children:"1"}),h.jsx("h3",{className:"mb-2 text-lg font-semibold",children:"Enter your prompt"}),h.jsx("p",{className:"text-sm text-muted-foreground",children:"Start with any basic prompt or question"})]}),h.jsxs("div",{className:"text-center",children:[h.jsx("div",{className:"mb-3 inline-flex h-12 w-12 items-center justify-center rounded-xl bg-primary/10 text-xl font-bold text-primary",children:"2"}),h.jsx("h3",{className:"mb-2 text-lg font-semibold",children:"AI optimization"}),h.jsx("p",{className:"text-sm text-muted-foreground",children:"Our AI adds context, structure, and clarity"})]}),h.jsxs("div",{className:"text-center",children:[h.jsx("div",{className:"mb-3 inline-flex h-12 w-12 items-center justify-center rounded-xl bg-primary/10 text-xl font-bold text-primary",children:"3"}),h.jsx("h3",{className:"mb-2 text-lg font-semibold",children:"Copy and use"}),h.jsx("p",{className:"text-sm text-muted-foreground",children:"Get better results from any AI assistant"})]})]})]})]}),h.jsx(Ot,{})]})}function c2(){const t=["One-click prompt search while using any AI platform","Instant prompt insertion into ChatGPT, Claude, Gemini, Grok, and Perplexity","Improve prompts on the fly with AI o
15ptimization","Save your favorite prompts for quick access","Works seamlessly with all major AI assistants","Privacy-focused: no data collection"],r=[{title:"Install the extension",description:"Add PromptHulk to Chrome with one click"},{title:"Open any AI platform",description:"Visit ChatGPT, Claude, Gemini, or any supported AI assistant"},{title:"Click the extension icon",description:"Search, select, and insert prompts instantly"}];return h.jsxs(h.Fragment,{children:[h.jsxs(Ct,{children:[h.jsx("title",{children:"Chrome Extension - PromptHulk"}),h.jsx("meta",{name:"description",content:"Install the PromptHulk Chrome extension for one-click access to AI prompts. Works with ChatGPT, Claude, Gemini, Grok, and Perplexity."})]}),h.jsx(_t,{}),h.jsxs("main",{children:[h.jsx("section",{className:"mx-auto max-w-7xl px-6 py-20",children:h.jsxs("div",{className:"grid items-center gap-12 lg:grid-cols-2",children:[h.jsxs("div",{children:[h.jsxs("div",{className:"mb-4 inline-flex items-center gap-2 rounded-full bg-primary/10 px-4 py-2 text-sm font-semibold text-primary",children:[h.jsx(hc,{className:"h-4 w-4"}),"Chrome Extension"]}),h.jsx("h1",{className:"mb-4",children:"Access prompts anywhere"}),h.jsx("p",{className:"mb-6 text-lg text-muted-foreground leading-relaxed",children:"Install our Chrome extension and get instant access to thousands of prompts while using ChatGPT, Claude, Gemini, Grok, or Perplexity."}),h.jsxs(gr,{size:"lg",className:"mb-4",children:[h.jsx(hc,{className:"mr-2 h-5 w-5"}
15),"Install Extension"]}),h.jsx("p",{className:"text-sm text-muted-foreground",children:"Free to install • Works with all AI platforms"})]}),h.jsx("div",{className:"rounded-2xl bg-muted p-8",children:h.jsx("img",{src:"https://images.unsplash.com/photo-1678995633469-10dab3d0bf0a",alt:"Chrome extension interface showing prompt search and insertion",className:"rounded-xl shadow-lg"})})]})}),h.jsx("section",{className:"bg-muted py-20",children:h.jsxs("div",{className:"mx-auto max-w-7xl px-6",children:[h.jsxs("div",{className:"mb-12 text-center",children:[h.jsx("h2",{className:"mb-4",children:"Everything you need"}),h.jsx("p",{className:"text-muted-foreground",children:"Powerful features built right into your browser"})]}),h.jsx("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-3",children:t.map((o,s)=>h.jsxs("div",{className:"flex items-start gap-3 rounded-xl bg-background p-6",children:[h.jsx(Xc,{className:"mt-0.5 h-5 w-5 shrink-0 text-primary"}),h.jsx("p",{className:"leading-relaxed",children:o})]},s))})]})}),h.jsx("section",{className:"py-20",children:h.jsxs("div",{className:"mx-auto max-w-7xl px-6",children:[h.jsxs("div",{className:"mb-12 text-center",children:[h.jsx("h2",{className:"mb-4",children:"How to use"}),h.jsx("p",{className:"text-muted-foreground",children:"Get started in three simple steps"})]}),h.jsx("div",{className:"grid gap-8 md:grid-cols-3",children:r.map((o,s)=>h.jsxs("div",{className:"text-center",children:[h.jsx("div",{className:"mb-4 inline-flex h-16 w-16 items-center justify-center rounded-2xl bg-primary/10 text-2xl font-bold text-primary",children:s+1}),h.jsx("h3",{className:"mb-2 text-xl font-semibold",children:o.title}),h.jsx("p",{className:"text-muted-foreground",children:o.description})]},s))})]})}),h.jsx("section",{className:"bg-muted py-20",children:h.jsxs("div",{className:"mx-auto max-w-7xl px-6",children:[h.jsxs("div",{className:"mb-12 text-center",children:[h.jsx("h2",{className:"mb-4",children:"Security and privacy"}),h.jsx("p",{className:"text-muted-foreground",children:"Your data stays private"})]}),h.jsxs("div",{className:"grid gap-8 md:grid-cols-2",children:[h.jsxs("div",{className:"flex items-start gap-4 roun
15ded-xl bg-background p-6",children:[h.jsx(Bb,{className:"h-8 w-8 shrink-0 text-primary"}),h.jsxs("div",{children:[h.jsx("h3",{className:"mb-2 font-semibold",children:"No data collection"}),h.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:"We don't collect, store, or share any of your personal data or AI conversations. The extension only accesses prompts from our database."})]})]}),h.jsxs("div",{className:"flex items-start gap-4 rounded-xl bg-background p-6",children:[h.jsx(mc,{className:"h-8 w-8 shrink-0 text-primary"}),h.jsxs("div",{children:[h.jsx("h3",{className:"mb-2 font-semibold",children:"Lightweight and fast"}),h.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:"The extension is optimized for performance and won't slow down your browser or AI platforms."})]})]})]})]})})]}),h.jsx(Ot,{})]})}function d2(){const t=[{icon:Ub,title:"Quality over quantity",description:"Every prompt is curated and tested to ensure it delivers real value."},{icon:Nb,title:"Transparency",description:"We share what works and what doesn't, helping you learn and improve."},{icon:_b,title:"Community-driven",description:"Built by AI users, for AI users. Your feedback shapes our platform."}];return h.jsxs(h.Fragment,{children:[h.jsxs(Ct,{children:[h.jsx("title",{children:"About Us - PromptHulk"}),h.jsx("meta",{name:"description",content:"Learn about PromptHulk's mission to help everyone get better AI results through better prompts."})]}),h.jsx(_t,{}),h.jsxs("main",{children:[h.jsxs("section",{className:"mx-auto max-w-7xl px-6 py-20",children:[h.jsxs("div",{className:"mb-16 text-center",children:[h.jsx("h1",{className:"mb-4",children:"Our mission"}),h.jsx("p",{className:"mx-auto max-w-3xl text-xl text-muted-foreground leading-relaxed",children:"Help everyone get better AI results through better prompts"})]}),h.jsxs("div",{className:"grid items-center gap-12 lg:grid-cols-2",children:[h.jsxs("div",{children:[h.jsx("h2",{className:"mb-4",children:"Why we built PromptHulk"}),h.jsx("p",{className:"mb-4 text-muted-foreground leading-relaxed",children:"AI assistants like ChatGPT, Claude, and Gemini are incredibly powerful, but most people struggle to get the best results. The difference between a mediocre response and an exceptional one often comes down to how you phrase your prompt."}),h.jsx("p",{className:"mb-4 text-muted-foreground leading-relaxed",children:"We created PromptHulk to bridge that gap. Our platform gives you instant access to thousands of proven prompts, organized by category and AI platform. Whether you're writing code, creating marketing copy, or learning something new, we have the prompts that work."}),h.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Our Chrome extension makes it even easier by bringing these prompts directly into your workflow. No more switching tabs or copying and pasting. Just click, select, and get better results."})]}),h.jsx("div",{className:"rounded-2xl bg-muted p-8",children:h.jsx("img",{src:"https://images.unsplash.com/photo-1651009188116-bb5f80eaf6aa",alt:"Team collaborating on AI prompts and strategies",className:"rounded-xl shadow-lg"})})]})]}),h.jsx("section",{className:"bg-muted py-20",children:h.jsxs("div",{className:"mx-auto max-w-7xl px-6",children:[h.jsxs("div",{className:"mb-12 text-center",children:[h.jsx("h2",{className:"mb-4",children:"Our values"}),h.jsx("p",{className:"text-muted-foreground",children:"What drives us every day"})]}),h.jsx("div",{className:"grid gap-8 md:grid-cols-3",children:t.map((r,o)=>{const s=r.icon;return h.jsxs("div",{className:"rounded-xl bg-background p-6 text-center",children:[h.jsx("div",{className:"mb-4 inline-flex rounded-xl bg-primary/10 p-3 text-primary",children:h.jsx(s,{className:"h-6 w-6"})}),h.jsx("h3",{className:"mb-2 text-xl font-semibold",children:r.title}),h.jsx("p",{className:"text-muted-foreground leading-relaxed",children:r.description})]},o)})})]})}),h.jsx("section",{className:"py-20",children:h.jsxs("div",{className:"mx-auto max-w-3xl px-6 text-center",children:[h.jsx("h2",{className:"mb-4",children:"Join our community"}),h.jsx("p",{className:"mb-8 text-lg text-muted-foreground leading-relaxed",children:"Thousands of AI users trust PromptHulk to improve their results. Whether you're a developer, marketer, student, or creator, we're here to help you get more from AI."})]})})]}),h.jsx(Ot,{})]})}function f2(){return h.jsxs(h.Fragment,{children:[h.jsxs(Ct,{children:[h.jsx("title",{children:"Privacy Policy - PromptHulk"}),h.jsx("meta",{name:"description",content:"PromptHulk privacy policy. Learn how we 
15collect, use, and protect your data."})]}),h.jsx(_t,{}),h.jsxs("main",{className:"mx-auto max-w-4xl px-6 py-12",children:[h.jsx("h1",{className:"mb-8",children:"Privacy Policy"}),h.jsxs("div",{className:"prose prose-lg max-w-none dark:prose-invert",children:[h.jsxs("p",{className:"text-muted-foreground",children:["Last updated: ",new Date().toLocaleDateString()]}),h.jsx("h2",{children:"Data Collection"}),h.jsx("p",{children:"We collect minimal data necessary to provide our services. This includes your email address when you create an account, and usage data to improve our platform."}),h.jsx("h2",{children:"Chrome Extension"}),h.jsx("p",{children:"Our Chrome extension does not collect, store, or transmit any of your personal data or AI conversations. The extension only accesses our prompt database to provide you with relevant prompts."}),h.jsx("h2",{children:"How We Use Your Data"}),h.jsx("p",{children:"We use your data to:"}),h.jsxs("ul",{children:[h.jsx("li",{children:"Provide and improve our services"}),h.jsx("li",{children:"Send you important updates about your account"}),h.jsx("li",{children:"Respond to your support requests"}),h.jsx("li",{children:"Analyze usage patterns to improve the platform"})]}),h.jsx("h2",{children:"Data Security"}),h.jsx("p",{children:"We implement industry-standard security measures to protect your data. Your password is encrypted, and we use secure connections for all data transmission."}),h.jsx("h2",{children:"Your Rights"}),h.jsx("p",{children:"You have the right to:"}),h.jsxs("ul",{children:[h.jsx("li",{children:"Access your personal data"}),h.jsx("li",{children:"Request correction of inaccurate data"}),h.jsx("li",{children:"Request deletion of your account and data"}),h.jsx("li",{children:"Opt out of marketing communications"})]}),h.jsx("h2",{children:"Contact Us"}),h.jsx("p",{children:"If you have questions about this privacy policy, please contact us at [email protected]"})]})]}),h.jsx(Ot,{})]})}function p2(){return h.jsxs(h.Fragment,{children:[h.jsxs(Ct,{children:[h.jsx("title",{children:"Terms of Service - PromptHulk"}),h.jsx("meta",{name:"description",content:"PromptHulk terms of service. Read our terms and conditions for using the platform."})]}),h.jsx(_t,{}),h.jsxs("main",{className:"mx-auto max-w-4xl px-6 py-12",children:[h.jsx("h1",{className:"mb-8",children:"Terms of Service"}),h.jsxs("div",{className:"prose prose-lg max-w-none dark:prose-invert",children:[h.jsxs("p",{className:"text-muted-foreground",children:["Last updated: ",new Date().toLocaleDateString()]}),h.jsx("h2",{children:"Acceptance of Terms"}),h.jsx("p",{children:"By accessing and using PromptHulk, you accept and agree to be bound by these Terms of Service."}),h.jsx("h2",{children:"Acceptable Use"}),h.jsx("p",{children:"You agree to use PromptHulk only for lawful purposes. You must not:"}),h.jsxs("ul",{children:[h.jsx("li",{children:"Violate any applicable laws or regulations"}),h.jsx("li",{children:"Infringe on intellectual property rights"}),h.jsx("li",{children:"Attempt to gain unauthorized access to our systems"}),h.jsx("li",{children:"Use our service to distribute spam or malicious content"})]}),h.jsx("h2",{children:"Intellectual Property"}),h.jsx("p",{children:"All prompts, content, and materials on PromptHulk are protected by copyright and other intellectual property laws. You may use prompts for personal and commercial purposes, but you may not redistribute or resell them."}),h.jsx("h2",{children:"Subscriptions"}),h.jsx("p",{children:"Paid subscriptions are billed monthly or annually. You can cancel your subscription at any time. Refunds are provided according to our refund policy."}),h.jsx("h2",{children:"Limitation of Liability"}),h.jsx("p",{children:'PromptHulk is provided "as is" without warranties of any kind. We are not liable for any damages arising from your use of the service.'}),h.jsx("h2",{children:"Changes to Terms"}),h.jsx("p",{children:"We may update these terms from time to time. Continued use of the service after changes constitutes acceptance of the new terms."}),h.jsx("h2",{children:"Contact"}),h.jsx("p",{children:"For questions about these terms, contact us at [email protected]"})]})]}),h.jsx(Ot,{})]})}function h2(){return h.jsxs(h.Fragment,{children:[h.jsxs(Ct,{children:[h.jsx("title",{children:"Cookie Policy - PromptHulk"}),h.jsx("meta",{name:"description",content:"Learn about how PromptHulk uses cookies and how to manage them."})]}),h.jsx(_t,{}),h.jsxs("main",{className:"mx-auto max-w-4xl px-6 py-12",children:[h.jsx("h1",{className:"mb-8",children:"Cookie Policy"}),h.jsxs("div",{className:"prose prose-lg max-w-none dark:prose-invert",children:[h.jsxs("p",{className:"text-muted-foreground",children:["Last updated: ",new Date().toLocaleDateString()]}),h.jsx("h2",{children:"What Are Cookies"}),h.jsx("p",{children:"Cookies are small text files stored on your device when you visit our website. They help us provide a better experience by remembering your preferences and analyzing how you use our service."}),h.jsx("h2",{children:"Types of Cookies We Use"}),h.jsx("h3",{children:"Essential Cookies"}),h.jsx("p",{children:"These cookies are necessary for the website to function properly. They enable core functionality like authentication and security."}),h.jsx("h3",{children:"Preference Cookies"}),h.jsx("p",{children:"These cookies remember your settings and preferences, such as dark mode and language preferences."}
15),h.jsx("h3",{children:"Analytics Cookies"}),h.jsx("p",{children:"We use analytics cookies to understand how visitors interact with our website. This helps us improve our service."}),h.jsx("h2",{children:"Managing Cookies"}),h.jsx("p",{children:"You can control and manage cookies through your browser settings. Note that disabling certain cookies may affect the functionality of our website."}),h.jsx("h2",{children:"Contact Us"}),h.jsx("p",{children:"If you have questions about our use of cookies, please contact us at [email protected]"})]})]}),h.jsx(Ot,{})]})}function m2(){return h.jsxs(h.Fragment,{children:[h.jsxs(Ct,{children:[h.jsx("title",{children:"Disclaimer - PromptHulk"}),h.jsx("meta",{name:"description",content:"Important disclaimers about using PromptHulk and AI-generated content."})]}),h.jsx(_t,{}),h.jsxs("main",{className:"mx-auto max-w-4xl px-6 py-12",children:[h.jsx("h1",{className:"mb-8",children:"Disclaimer"}),h.jsxs("div",{className:"prose prose-lg max-w-none dark:prose-invert",children:[h.jsxs("p",{className:"text-muted-foreground",children:["Last updated: ",new Date().toLocaleDateString()]}),h.jsx("h2",{children:"AI Content Accuracy"}),h.jsx("p",{children:"While we curate and test our prompts, we cannot guarantee the accuracy, completeness, or reliability of AI-generated content. AI assistants may produce incorrect, biased, or inappropriate responses."}),h.jsx("h2",{children:"Professional Advice"}),h.jsx("p",{children:"PromptHulk and AI-generated content should not be considered professional advice. For legal, medical, financial, or other professional matters, always consult qualified professionals."}),h.jsx("h2",{children:"Third-Party AI Platforms"}),h.jsx("p",{children:"Our prompts are designed to work with third-party AI platforms like ChatGPT, Claude, and Gemini. We are not affiliated with these platforms and are not responsible for their performance or policies."}),h.jsx("h2",{children:"Results May Vary"}),h.jsx("p",{children:"The effectiveness of prompts can vary based on the AI platform, version, and context. We cannot guarantee specific results from using our prompts."}),h.jsx("h2",{children:"User Responsibility"}),h.jsx("p",{children:"You are responsible for reviewing and verifying any AI-generated content before using it. Always fact-check important information and use your judgment."}),h.jsx("h2",{children:"Contact"}),h.jsx("p",{children:"For questions about this disclaimer, contact us at [email protected]"})]})]}),h.jsx(Ot,{})]})}function g2(){return h.jsxs(h.Fragment,{children:[h.jsxs(Ct,{children:[h.jsx("title",{children:"Refund Policy - PromptHulk"}),h.jsx("meta",{name:"description",content:"Learn about PromptHulk's refund policy for subscriptions and purchases."})]}),h.jsx(_t,{}),h.jsxs("main",{className:"mx-auto max-w-4xl px-6 py-12",children:[h.jsx("h1",{className:"mb-8",children:"Refund Policy"}),h.jsxs("div",{className:"prose prose-lg max-w-none dark:prose-invert",children:[h.jsxs("p",{className:"text-muted-foreground",children:["Last updated: ",new Date().toLocaleDateString()]}),h.jsx("h2",{children:"Subscription Refunds"}),h.jsx("p",{children:"We offer a 14-day money-back guarantee on all new subscriptions. If you're not satisfied with PromptHulk, you can request a full refund within 14 days of your initial purchase."}),h.jsx("h2",{children:"How to Request a Refund"}),h.jsx("p",{children:"To request a refund, please contact our support team at [email protected] with your account email and reason for the refund. We'll process your request within 3-5 business days."}),h.jsx("h2",{children:"Cancellation"}),h.jsx("p",{children:"You can cancel your subscription at any time from your account dashboard. When you cancel:"}),h.jsxs("ul",{children:[h.jsx("li",{children:"You'll retain access until the end of your current billing period"}),h.jsx("li",{children:"You won't be charged for the next billing cycle"}),h.jsx("li",{children:"Your account will revert to the free tier after the period ends"})]}),h.jsx("h2",{children:"Exceptions"}),h.jsx("p",{children:"Refunds are not available for:"}),h.jsxs("ul",{children:[h.jsx("li",{children:"Renewals after the initial 
1514-day period"}),h.jsx("li",{children:"Partial months of service"}),h.jsx("li",{children:"Accounts that violate our Terms of Service"})]}),h.jsx("h2",{children:"Processing Time"}),h.jsx("p",{children:"Approved refunds are processed within 5-7 business days. The time it takes for the refund to appear in your account depends on your payment provider."}),h.jsx("h2",{children:"Contact"}),h.jsx("p",{children:"For refund requests or questions, contact us at [email protected]"})]})]}),h.jsx(Ot,{})]})}function y2(){const t=new Date().toLocaleDateString(),r=[{href:"#scope",label:"1. Scope and Coverage"},{href:"#data-use",label:"2. Data Collection and Use"},{href:"#extension-behavior",label:"3. Extension Behavior and Permissions"},{href:"#retention",label:"4. Retention and Security"},{href:"#rights",label:"5. User Rights and Choices"},{href:"#contact",label:"6. Contact and Requests"}];return h.jsxs(h.Fragment,{children:[h.jsxs(Ct,{children:[h.jsx("title",{children:"Policies and Compliance - PromptHulk"}),h.jsx("meta",{name:"description",content:"PromptHulk policies and compliance information for website and Chrome extension usage, including permissions, privacy, retention, and user rights."})]}),h.jsx(_t,{}),h.jsxs("main",{className:"bg-background",children:[h.jsx("section",{className:"border-b bg-muted/30",children:h.jsxs("div",{className:"mx-auto max-w-6xl px-6 py-14",children:[h.jsx("p",{className:"mb-4 inline-flex rounded-full border bg-background px-3 py-1 text-xs font-semibold uppercase tracking-wider text-muted-foreground",children:"Legal and Compliance"}),h.jsx("h1",{className:"mb-5 max-w-4xl text-balance",children:"Policies and Compliance"}),h.jsx("p",{className:"max-w-3xl text-base text-muted-foreground md:text-lg",children:"This page describes how PromptHulk operates across the website and Chrome extension, including how permissions are used, how data is handled, and how users can contact us for policy requests."}),h.jsxs("div",{className:"mt-6 flex flex-wrap gap-3 text-sm text-muted-foreground",children:[h.jsxs("span",{className:"rounded-md border bg-background px-3 py-1",children:["Last updated: ",t]}),h.jsx("span",{className:"rounded-md border bg-background px-3 py-1",children:"Applies to: Website 
15+ Chrome Extension"})]})]})}),h.jsxs("section",{className:"mx-auto grid max-w-6xl gap-8 px-6 py-10 lg:grid-cols-[260px_1fr]",children:[h.jsx("aside",{className:"lg:sticky lg:top-24 lg:h-fit",children:h.jsxs("div",{className:"rounded-xl border bg-card p-5",children:[h.jsx("p",{className:"mb-3 text-sm font-semibold uppercase tracking-wider text-muted-foreground",children:"On this page"}),h.jsx("nav",{className:"space-y-2",children:r.map(o=>h.jsx("a",{href:o.href,className:"block rounded-md px-2 py-1 text-sm text-muted-foreground transition-colors hover:bg-muted hover:text-foreground",children:o.label},o.href))})]})}),h.jsxs("div",{className:"space-y-8",children:[h.jsxs("section",{className:"grid gap-4 sm:grid-cols-3",children:[h.jsxs("div",{className:"rounded-xl border bg-card p-5",children:[h.jsx("p",{className:"text-xs font-semibold uppercase tracking-wider text-muted-foreground",children:"Data Principle"}),h.jsx("p",{className:"mt-2 text-sm font-medium",children:"Data minimization by default"})]}),h.jsxs("div",{className:"rounded-xl border bg-card p-5",children:[h.jsx("p",{className:"text-xs font-semibold uppercase tracking-wider text-muted-foreground",children:"Compliance Focus"}),h.jsx("p",{className:"mt-2 text-sm font-medium",children:"Transparent permission usage"})]}),h.jsxs("div",{className:"rounded-xl border bg-card p-5",children:[h.jsx("p",{className:"text-xs font-semibold uppercase tracking-wider text-muted-foreground",children:"Support Contact"}),h.jsx("p",{className:"mt-2 text-sm font-medium",children:"[email protected]"})]})]}),h.jsxs("section",{id:"scope",className:"rounded-2xl border bg-card p-6 md:p-8",children:[h.jsx("h2",{className:"text-2xl md:text-3xl",children:"1. Scope and Coverage"}),h.jsx("p",{className:"mt-4 text-muted-foreground",children:"These policies apply to PromptHulk web properties and browser extension functionality. They are written for users, reviewers, and platform compliance checks."})]}),h.jsxs("section",{id:"data-use",className:"rounded-2xl border bg-card p-6 md:p-8",children:[h.jsx("h2",{className:"text-2xl md:text-3xl",children:"2. Data Collection and Use"}),h.jsx("p",{className:"mt-4 text-muted-foreground",children:"PromptHulk collects only data needed to deliver requested features. We do not sell personal data and do not use extension access for advertising profiles."}),h.jsxs("ul",{className:"mt-4 list-disc space-y-2 pl-5 text-muted-foreground",children:[h.jsx("li",{children:"Support submissions and service messages may include user-provided contact details."}),h.jsx("li",{children:"Operational logs may be used for security monitoring, abuse prevention, and reliability."}),h.jsx("li",{children:"Prompt content is processed only when a user initiates a feature that requires it."})]})]}),h.jsxs("section",{id:"extension-behavior",className:"rounded-2xl border bg-card p-6 md:p-8",children:[h.jsx("h2",{className:"text-2xl md:text-3xl",children:"3. Extension Behavior and Permissions"}),h.jsx("p",{className:"mt-4 text-muted-foreground",children:"Extension permissions are limited to product functionality and are not used for unrelated background collection."}),h.jsxs("ul",{className:"mt-4 list-disc space-y-2 pl-5 text-muted-foreground",children:[h.jsx("li",{children:"Host permissions are used only on supported AI domains required for in-page prompt assistance."}),h.jsx("li",{children:"Storage permissions are used to save user settings and prompt workflow preferences."}),h.jsx("li",{children:"No broad all-sites permission is used for generic tracking or surveillance behavior."})]})]}),h.jsxs("section",{id:"retention",className:"rounded-2xl border bg-card p-6 md:p-8",children:[h.jsx("h2",{className:"text-2xl md:text-3xl",children:"4. Retention and Security"}),h.jsx("p",{className:"mt-4 text-muted-foreground",children:"Data is retained only for operational needs, legal obligations, or user support continuity. Security controls are reviewed periodically and adapted as needed."}),h.jsxs("ul",{className:"mt-4 list-disc space-y-2 pl-5 text-muted-foreground",children:[h.jsx("li",{children:"Traffic is protected in transit using HTTPS/TLS."}),h.jsx("li",{children:"Administrative access is restricted by role and operational controls."}),h.jsx("li",{children:"Incident detection and response processes are applied to suspicious activity."})]})]}),h.jsxs("section",{id:"rights",className:"rounded-2xl border bg-card p-6 md:p-8",children:[h.jsx("h2",{className:"text-2xl md:text-3xl",children:"5. User Rights and Choices"}),h.jsx("p",{className:"mt-4 text-muted-foreground",children:"Depending on jurisdiction, users may request access, correction, deleti
15on, or export of personal data. Users can also uninstall the extension at any time."}),h.jsx("p",{className:"mt-4 text-muted-foreground",children:"We may deny or limit requests when legally required, technically infeasible, or necessary for fraud prevention and security enforcement."})]}),h.jsxs("section",{id:"contact",className:"rounded-2xl border bg-card p-6 md:p-8",children:[h.jsx("h2",{className:"text-2xl md:text-3xl",children:"6. Contact and Requests"}),h.jsxs("p",{className:"mt-4 text-muted-foreground",children:["For privacy, policy, or compliance inquiries, contact"," ",h.jsx("a",{className:"font-medium text-primary hover:underline",href:"mailto:[email protected]",children:"[email protected]"}),"."]}),h.jsx("p",{className:"mt-4 text-muted-foreground",children:"Material policy updates will be posted on this page with an updated effective date."})]})]})]})]}),h.jsx(Ot,{})]})}function v2(){return h.jsx(u1,{children:h.jsxs(Bg,{children:[h.jsx(kb,{}),h.jsx(Eb,{}),h.jsxs(Vw,{children:[h.jsx(Tt,{path:"/",element:h.jsx(hP,{})}),h.jsx(Tt,{path:"/features",element:h.jsx(qP,{})}),h.jsx(Tt,{path:"/search",element:h.jsx(t2,{})}),h.jsx(Tt,{path:"/trending",element:h.jsx(o2,{})}),h.jsx(Tt,{path:"/optimizer",element:h.jsx(u2,{})}),h.jsx(Tt,{path:"/chrome-extension",element:h.jsx(c2,{})}),h.jsx(Tt,{path:"/about",element:h.jsx(d2,{})}),h.jsx(Tt,{path:"/privacy",element:h.jsx(f2,{})}),h.jsx(Tt,{path:"/terms",element:h.jsx(p2,{})}),h.jsx(Tt,{path:"/cookies",element:h.jsx(h2,{})}),h.jsx(Tt,{path:"/disclaimer",element:h.jsx(m2,{})}),h.jsx(Tt,{path:"/refund",element:h.jsx(g2,{})}),h.jsx(Tt,{path:"/policies",element:h.jsx(y2,{})})]})]})})}V0.createRoot(document.getElementById("root")).render(h.jsx(v2,{}));

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.