PageSourceSearch

https://oldskoolqueene.com/assets/index-xN_D5iBb.js

js oldskoolqueene.com collected 2026-10-07 20:20:38 UTC 450,897 bytes, 10 lines download raw bytes

vendor: 5,208 bytes, line 1
1(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))o(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"&&o(c)}).observe(document,{childList:!0,subtree:!0});function s(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 o(a){if(a.ep)return;a.ep=!0;const u=s(a);fetch(a.href,u)}})();function Qr(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var eu={exports:{}},Bs={},tu={exports:{}},ge={};var Uh;function Hx(){if(Uh)return ge;Uh=1;var r=Symbol.for("react.element"),t=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.iterator;function w(P){return P===null||typeof P!="object"?null:(P=v&&P[v]||P["@@iterator"],typeof P=="function"?P:null)}var k={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,E={};function j(P,D,he){this.props=P,this.context=D,this.refs=E,this.updater=he||k}j.prototype.isReactComponent={},j.prototype.setState=function(P,D){if(typeof P!="object"&&typeof P!="function"&&P!=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,P,D,"setState")},j.prototype.forceUpdate=function(P){this.updater.enqueueForceUpdate(this,P,"forceUpdate")};function R(){}R.prototype=j.prototype;function M(P,D,he){this.props=P,this.context=D,this.refs=E,this.updater=he||k}var _=M.prototype=new R;_.constructor=M,C(_,j.prototype),_.isPureReactComponent=!0;var B=Array.isArray,V=Object.prototype.hasOwnProperty,W={current:null},ee={key:!0,ref:!0,__self:!0,__source:!0};function K(P,D,he){var me,xe={},we=null,Ce=null;if(D!=null)for(me in D.ref!==void 0&&(Ce=D.ref),D.key!==void 0&&(we=""+D.key),D)V.call(D,me)&&!ee.hasOwnProperty(me)&&(xe[me]=D[me]);var je=arguments.length-2;if(je===1)xe.children=he;else if(1<je){for(var z=Array(je),ae=0;ae<je;ae++)z[ae]=arguments[ae+2];xe.children=z}if(P&&P.defaultProps)for(me in je=P.defaultProps,je)xe[me]===void 0&&(xe[me]=je[me]);return{$$typeof:r,type:P,key:we,ref:Ce,props:xe,_owner:W.current}}function ne(P,D){return{$$typeof:r,type:P.type,key:D,ref:P.ref,props:P.props,_owner:P._owner}}function ve(P){return typeof P=="object"&&P!==null&&P.$$typeof===r}function Ee(P){var D={"=":"=0",":":"=2"};return"$"+P.replace(/[=:]/g,function(he){return D[he]})}var ie=/\/+/g;function le(P,D){return typeof P=="object"&&P!==null&&P.key!=null?Ee(""+P.key):D.toString(36)}function Z(P,D,he,me,xe){var we=typeof P;(we==="undefined"||we==="boolean")&&(P=null);var Ce=!1;if(P===null)Ce=!0;else switch(we){case"string":case"number":Ce=!0;break;case"object":switch(P.$$typeof){case r:case t:Ce=!0}}if(Ce)return Ce=P,xe=xe(Ce),P=me===""?"."+le(Ce,0):me,B(xe)?(he="",P!=null&&(he=P.replace(ie,"$&/")+"/"),Z(xe,D,he,"",function(ae){return ae})):xe!=null&&(ve(xe)&&(xe=ne(xe,he+(!xe.key||Ce&&Ce.key===xe.key?"":(""+xe.key).replace(ie,"$&/")+"/")+P)),D.push(xe)),1;if(Ce=0,me=me===""?".":me+":",B(P))for(var je=0;je<P.length;je++){we=P[je];var z=me+le(we,je);Ce+=Z(we,D,he,z,xe)}else if(z=w(P),typeof z=="function")for(P=z.call(P),je=0;!(we=P.next()).done;)we=we.value,z=me+le(we,je++),Ce+=Z(we,D,he,z,xe);else if(we==="object")throw D=String(P),Error("Objects are not valid as a React child (found: "+(D==="[object Object]"?"object with keys {"+Object.keys(P).join(", ")+"}":D)+"). If you meant to render a collection of children, use an array instead.");return Ce}function ce(P,D,he){if(P==null)return P;var me=[],xe=0;return Z(P,me,"","",function(we){return D.call(he,we,xe++)}),me}function Le(P){if(P._status===-1){var D=P._result;D=D(),D.then(function(he){(P._status===0||P._status===-1)&&(P._status=1,P._result=he)},function(he){(P._status===0||P._status===-1)&&(P._status=2,P._result=he)}),P._status===-1&&(P._status=0,P._result=D)}if(P._status===1)return P._result.default;throw P._result}var pe={current:null},H={transition:null},te={ReactCurrentDispatcher:pe,ReactCurrentBatchConfig:H,ReactCurrentOwner:W};function q(){throw Error("act(...) is not supported in production builds of React.")}return ge.Children={map:ce,forEach:function(P,D,he){ce(P,function(){D.apply(this,arguments)},he)},count:function(P){var D=0;return ce(P,function(){D++}),D},toArray:function(P){return ce(P,function(D){return D})||[]},only:function(P){if(!ve(P))throw Error("React.Children.only expected to receive a single React element child.");return P}},ge.Component=j,ge.Fragment=s,ge.Profiler=a,ge.PureComponent=M,ge.StrictMode=o,ge.Suspense=p,ge.__SECRET_INT
vendor: 6,243 bytes, line 1
1ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=te,ge.act=q,ge.cloneElement=function(P,D,he){if(P==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+P+".");var me=C({},P.props),xe=P.key,we=P.ref,Ce=P._owner;if(D!=null){if(D.ref!==void 0&&(we=D.ref,Ce=W.current),D.key!==void 0&&(xe=""+D.key),P.type&&P.type.defaultProps)var je=P.type.defaultProps;for(z in D)V.call(D,z)&&!ee.hasOwnProperty(z)&&(me[z]=D[z]===void 0&&je!==void 0?je[z]:D[z])}var z=arguments.length-2;if(z===1)me.children=he;else if(1<z){je=Array(z);for(var ae=0;ae<z;ae++)je[ae]=arguments[ae+2];me.children=je}return{$$typeof:r,type:P.type,key:xe,ref:we,props:me,_owner:Ce}},ge.createContext=function(P){return P={$$typeof:c,_currentValue:P,_currentValue2:P,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},P.Provider={$$typeof:u,_context:P},P.Consumer=P},ge.createElement=K,ge.createFactory=function(P){var D=K.bind(null,P);return D.type=P,D},ge.createRef=function(){return{current:null}},ge.forwardRef=function(P){return{$$typeof:h,render:P}},ge.isValidElement=ve,ge.lazy=function(P){return{$$typeof:y,_payload:{_status:-1,_result:P},_init:Le}},ge.memo=function(P,D){return{$$typeof:g,type:P,compare:D===void 0?null:D}},ge.startTransition=function(P){var D=H.transition;H.transition={};try{P()}finally{H.transition=D}},ge.unstable_act=q,ge.useCallback=function(P,D){return pe.current.useCallback(P,D)},ge.useContext=function(P){return pe.current.useContext(P)},ge.useDebugValue=function(){},ge.useDeferredValue=function(P){return pe.current.useDeferredValue(P)},ge.useEffect=function(P,D){return pe.current.useEffect(P,D)},ge.useId=function(){return pe.current.useId()},ge.useImperativeHandle=function(P,D,he){return pe.current.useImperativeHandle(P,D,he)},ge.useInsertionEffect=function(P,D){return pe.current.useInsertionEffect(P,D)},ge.useLayoutEffect=function(P,D){return pe.current.useLayoutEffect(P,D)},ge.useMemo=function(P,D){return pe.current.useMemo(P,D)},ge.useReducer=function(P,D,he){return pe.current.useReducer(P,D,he)},ge.useRef=function(P){return pe.current.useRef(P)},ge.useState=function(P){return pe.current.useState(P)},ge.useSyncExternalStore=function(P,D,he){return pe.current.useSyncExternalStore(P,D,he)},ge.useTransition=function(){return pe.current.useTransition()},ge.version="18.3.1",ge}var Bh;function Qo(){return Bh||(Bh=1,tu.exports=Hx()),tu.exports}var zh;function Wx(){if(zh)return Bs;zh=1;var r=Qo(),t=Symbol.for("react.element"),s=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function c(h,p,g){var y,v={},w=null,k=null;g!==void 0&&(w=""+g),p.key!==void 0&&(w=""+p.key),p.ref!==void 0&&(k=p.ref);for(y in p)o.call(p,y)&&!u.hasOwnProperty(y)&&(v[y]=p[y]);if(h&&h.defaultProps)for(y in p=h.defaultProps,p)v[y]===void 0&&(v[y]=p[y]);return{$$typeof:t,type:h,key:w,ref:k,props:v,_owner:a.current}}return Bs.Fragment=s,Bs.jsx=c,Bs.jsxs=c,Bs}var $h;function qx(){return $h||($h=1,eu.exports=Wx()),eu.exports}var f=qx(),b=Qo();const Qs=Qr(b);var bo={},nu={exports:{}},mt={},ru={exports:{}},su={};var Hh;function Kx(){return Hh||(Hh=1,(function(r){function t(H,te){var q=H.length;H.push(te);e:for(;0<q;){var P=q-1>>>1,D=H[P];if(0<a(D,te))H[P]=te,H[q]=D,q=P;else break e}}function s(H){return H.length===0?null:H[0]}function o(H){if(H.length===0)return null;var te=H[0],q=H.pop();if(q!==te){H[0]=q;e:for(var P=0,D=H.length,he=D>>>1;P<he;){var me=2*(P+1)-1,xe=H[me],we=me+1,Ce=H[we];if(0>a(xe,q))we<D&&0>a(Ce,xe)?(H[P]=Ce,H[we]=q,P=we):(H[P]=xe,H[me]=q,P=me);else if(we<D&&0>a(Ce,q))H[P]=Ce,H[we]=q,P=we;else break e}}return te}function a(H,te){var q=H.sortIndex-te.sortIndex;return q!==0?q:H.id-te.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;r.unstable_now=function(){return u.now()}}else{var c=Date,h=c.now();r.unstable_now=function(){return c.now()-h}}var p=[],g=[],y=1,v=null,w=3,k=!1,C=!1,E=!1,j=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function _(H){for(var te=s(g);te!==null;){if(te.callback===null)o(g);else if(te.startTime<=H)o(g),te.sortIndex=te.expirationTime,t(p,te);else break;te=s(g)}}function B(H){if(E=!1,_(H),!C)if(s(p)!==null)C=!0,Le(V);else{var te=s(g);te!==null&&pe(B,te.startTime-H)}}function V(H,te){C=!1,E&&(E=!1,R(K),K=-1),k=!0;var q=w;try{for(_(te),v=s(p);v!==null&&(!(v.expirationTime>te)||H&&!Ee());){var P=v.callback;if(typeof P=="function"){v.callback=null,w=v.priorityLevel;var D=P(v.expirationTime<=te);te=r.unstable_now(),typeof D=="function"?v.callback=D:v===s(p)&&o(p),_(te)}else o(p);v=s(p)}if(v!==null)var he=!0;else{var me=s(g);me!==null&&pe(B,me.startTime-te),he=!1}return he}finally{v=null,w=q,k=!1}}var W=!1,ee=null,K=-1,ne=5,ve=-1;function Ee(){return!(r.unstable_now()-ve<ne)}function ie(){if(ee!==null){var H=r.unstable_now();ve=H;var te=!0;try{te=ee(!0,H)}finally{te?le():(W=!1,ee=null)}}else W=!1}var le;if(typeof M=="function")le=function(){M(ie)};else if(typeof MessageChannel<"u"){var Z=new MessageChannel,ce=Z.port2;Z.port1.onmessage=ie,le=function(){ce.postMessage(null)}}else le=function(){j(ie,0)};function Le(H){ee=H,W||(W=!0,le())}function pe(H,te){K=j(function(){H(r.unstable_now())},te)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(H){H.callback=null},r.unstable_continueExecution=function(){C||k||(C=!0,Le(V))},r.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ne=0<H?Math.floor(1e3/H):5},r.unstable_getCurrentPriorityLevel=function(){return w},r.unstable_getFirstCallbackNode=function(){return s(p)},r.unstable_next=function(H){switch(w){case 1:case 2:case 3:var te=3;break;default:te=w}var q=w;
vendor: 4,929 bytes, line 1
1w=te;try{return H()}finally{w=q}},r.unstable_pauseExecution=function(){},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(H,te){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var q=w;w=H;try{return te()}finally{w=q}},r.unstable_scheduleCallback=function(H,te,q){var P=r.unstable_now();switch(typeof q=="object"&&q!==null?(q=q.delay,q=typeof q=="number"&&0<q?P+q:P):q=P,H){case 1:var D=-1;break;case 2:D=250;break;case 5:D=1073741823;break;case 4:D=1e4;break;default:D=5e3}return D=q+D,H={id:y++,callback:te,priorityLevel:H,startTime:q,expirationTime:D,sortIndex:-1},q>P?(H.sortIndex=q,t(g,H),s(p)===null&&H===s(g)&&(E?(R(K),K=-1):E=!0,pe(B,q-P))):(H.sortIndex=D,t(p,H),C||k||(C=!0,Le(V))),H},r.unstable_shouldYield=Ee,r.unstable_wrapCallback=function(H){var te=w;return function(){var q=w;w=te;try{return H.apply(this,arguments)}finally{w=q}}}})(su)),su}var Wh;function Gx(){return Wh||(Wh=1,ru.exports=Kx()),ru.exports}var qh;function Qx(){if(qh)return mt;qh=1;var r=Qo(),t=Gx();function s(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 o=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++)o.add(n[e])}var h=!(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]*$/,y={},v={};function w(e){return p.call(v,e)?!0:p.call(y,e)?!1:g.test(e)?v[e]=!0:(y[e]=!0,!1)}function k(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 C(e,n,i,l){if(n===null||typeof n>"u"||k(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 E(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 j={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){j[e]=new E(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];j[n]=new E(n,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){j[e]=new E(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){j[e]=new E(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){j[e]=new E(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){j[e]=new E(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){j[e]=new E(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){j[e]=new E(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){j[e]=new E(e,5,!1,e.toLowerCase(),null,!1,!1)});var R=/[\-:]([a-z])/g;function M(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
1-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(R,M);j[n]=new E(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(R,M);j[n]=new E(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(R,M);j[n]=new E(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){j[e]=new E(e,1,!1,e.toLowerCase(),null,!1,!1)}),j.xlinkHref=new E("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){j[e]=new E(e,1,!1,e.toLowerCase(),null,!0,!0)});function _(e,n,i,l){var d=j.hasOwnProperty(n)?j[n]:null;(d!==null?d.type!==0:l||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(C(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 B=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,V=Symbol.for("react.element"),W=Symbol.for("react.portal"),ee=Symbol.for("react.fragment"),K=Symbol.for("react.strict_mode"),ne=Symbol.for("react.profiler"),ve=Symbol.for("react.provider"),Ee=Symbol.for("react.context"),ie=Symbol.for("react.forward_ref"),le=Symbol.for("react.suspense"),Z=Symbol.for("react.suspense_list"),ce=Symbol.for("react.memo"),Le=Symbol.for("react.lazy"),pe=Symbol.for("react.offscreen"),H=Symbol.iterator;function te(e){return e===null||typeof e!="object"?null:(e=H&&e[H]||e["@@iterator"],typeof e=="function"?e:null)}var q=Object.assign,P;function D(e){if(P===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);P=n&&n[1]||""}return`
2`+P+e}var he=!1;function me(e,n){if(!e||he)return"";he=!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(O){var l=O}Reflect.construct(e,[],n)}
vendor: 42,674 bytes, lines 2-6
2else{try{n.call()}catch(O){l=O}e.call(n.prototype)}else{try{throw Error()}catch(O){l=O}e()}}catch(O){if(O&&l&&typeof O.stack=="string"){for(var d=O.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 T=`
5`+d[x].replace(" at new "," at ");return e.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",e.displayName)),T}while(1<=x&&0<=S);break}}}finally{he=!1,Error.prepareStackTrace=i}return(e=e?e.displayName||e.name:"")?D(e):""}function xe(e){switch(e.tag){case 5:return D(e.type);case 16:return D("Lazy");case 13:return D("Suspense");case 19:return D("SuspenseList");case 0:case 2:case 15:return e=me(e.type,!1),e;case 11:return e=me(e.type.render,!1),e;case 1:return e=me(e.type,!0),e;default:return""}}function we(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 ee:return"Fragment";case W:return"Portal";case ne:return"Profiler";case K:return"StrictMode";case le:return"Suspense";case Z:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ee:return(e.displayName||"Context")+".Consumer";case ve:return(e._context.displayName||"Context")+".Provider";case ie:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ce:return n=e.displayName||null,n!==null?n:we(e.type)||"Memo";case Le:n=e._payload,e=e._init;try{return we(e(n))}catch{}}return null}function Ce(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 we(n);case 8:return n===K?"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 je(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function z(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function ae(e){var n=z(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 We(e){e._valueTracker||(e._valueTracker=ae(e))}function Ot(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var i=n.getValue(),l="";return e&&(l=z(e)?e.checked?"true":"false":e.value),e=l,e!==i?(n.setValue(e),!0):!1}function Wt(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 aa(e,n){var i=n.checked;return q({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??e._wrapperState.initialChecked})}function qc(e,n){var i=n.defaultValue==null?"":n.defaultValue,l=n.checked!=null?n.checked:n.defaultChecked;i=je(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 Kc(e,n){n=n.checked,n!=null&&_(e,"checked",n,!1)}function la(e,n){Kc(e,n);var i=je(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")?ua(e,n.type,i):n.hasOwnProperty("defaultValue")&&ua(e,n.type,je(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Gc(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 ua(e,n,i){(n!=="number"||Wt(e.ownerDocument)!==e)&&(i==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+i&&(e.defaultValue=""+i))}var ns=Array.isArray;function cr(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=""+je(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 ca(e,n){if(n.dangerouslySetInnerHTML!=null)throw Error(s(91));return q({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Qc(e,n){var i=n.value;if(i==null){if(i=n.children,n=n.defaultValue,i!=null){if(n!=null)throw Error(s(92));if(ns(i)){if(1<i.length)throw Error(s(93));i=i[0]}n=i}n==null&&(n=""),i=n}e._wrapperState={initialValue:je(i)}}function Yc(e,n){var i=je(n.value),l=je(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 Xc(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}function Jc(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 da(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?Jc(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var hi,Zc=(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(hi=hi||document.createElement("div"),hi.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=hi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function rs(e,n){if(n){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=n;return}}e.textContent=n}var ss={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},Gy=["Webkit","ms","Moz","O"];Object.keys(ss).forEach(function(e){Gy.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),ss[n]=ss[e]})});function ed(e,n,i){return n==null||typeof n=="boolean"||n===""?"":i||typeof n!="number"||n===0||ss.hasOwnProperty(e)&&ss[e]?(""+n).trim():n+"px"}function td(e,n){e=e.style;for(var i in n)if(n.hasOwnProperty(i)){var l=i.indexOf("--")===0,d=ed(i,n[i],l);i==="float"&&(i="cssFloat"),l?e.setProperty(i,d):e[i]=d}}var Qy=q({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function fa(e,n){if(n){if(Qy[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(s(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(s(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(s(61))}if(n.style!=null&&typeof n.style!="object")throw Error(s(62))}}function ha(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 pa=null;function ma(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ga=null,dr=null,fr=null;function nd(e){if(e=Cs(e)){if(typeof ga!="function")throw Error(s(280));var n=e.stateNode;n&&(n=Di(n),ga(e.stateNode,e.type,n))}}function rd(e){dr?fr?fr.push(e):fr=[e]:dr=e}function sd(){if(dr){var e=dr,n=fr;if(fr=dr=null,nd(e),n)for(e=0;e<n.length;e++)nd(n[e])}}function id(e,n){return e(n)}function od(){}var ya=!1;function ad(e,n,i){if(ya)return e(n,i);ya=!0;try{return id(e,n,i)}finally{ya=!1,(dr!==null||fr!==null)&&(od(),sd())}}function is(e,n){var i=e.stateNode;if(i===null)return null;var l=Di(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(s(231,n,typeof i));return i}var va=!1;if(h)try{var os={};Object.defineProperty(os,"passive",{get:function(){va=!0}}),window.addEventListener("test",os,os),window.removeEventListener("test",os,os)}catch{va=!1}function Yy(e,n,i,l,d,m,x,S,T){var O=Array.prototype.slice.call(arguments,3);try{n.apply(i,O)}catch(F){this.onError(F)}}var as=!1,pi=null,mi=!1,xa=null,Xy={onError:function(e){as=!0,pi=e}};function Jy(e,n,i,l,d,m,x,S,T){as=!1,pi=null,Yy.apply(Xy,arguments)}function Zy(e,n,i,l,d,m,x,S,T){if(Jy.apply(this,arguments),as){if(as){var O=pi;as=!1,pi=null}else throw Error(s(198));mi||(mi=!0,xa=O)}}function $n(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 ld(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 ud(e){if($n(e)!==e)throw Error(s(188))}function ev(e){var n=e.alternate;if(!n){if(n=$n(e),n===null)throw Error(s(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 ud(d),e;if(m===l)return ud(d),n;m=m.sibling}throw Error(s(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(s(189))}}if(i.alternate!==l)throw Error(s(190))}if(i.tag!==3)throw Error(s(188));return i.stateNode.current===i?e:n}function cd(e){return e=ev(e),e!==null?dd(e):null}function dd(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var n=dd(e);if(n!==null)return n;e=e.sibling}return null}var fd=t.unstable_scheduleCallback,hd=t.unstable_cancelCallback,tv=t.unstable_shouldYield,nv=t.unstable_requestPaint,ze=t.unstable_now,rv=t.unstable_getCurrentPriorityLevel,wa=t.unstable_ImmediatePriority,pd=t.unstable_UserBlockingPriority,gi=t.unstable_NormalPriority,sv=t.unstable_LowPriority,md=t.unstable_IdlePriority,yi=null,qt=null;function iv(e){if(qt&&typeof qt.onCommitFiberRoot=="function")try{qt.onCommitFiberRoot(yi,e,void 0,(e.current.flags&128)===128)}catch{}}var Mt=Math.clz32?Math.clz32:lv,ov=Math.log,av=Math.LN2;function lv(e){return e>>>=0,e===0?32:31-(ov(e)/av|0)|0}var vi=64,xi=4194304;function ls(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 wi(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=ls(S):(m&=x,m!==0&&(l=ls(m)))}else x=i&~d,x!==0?l=ls(x):m!==0&&(l=ls(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-Mt(n),d=1<<i,l|=e[i],n&=~d;return l}function uv(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 cv(e,n){for(var i=e.suspendedLanes,l=e.pingedLanes,d=e.expirationTimes,m=e.pendingLanes;0<m;){var x=31-Mt(m),S=1<<x,T=d[x];T===-1?((S&i)===0||(S&l)!==0)&&(d[x]=uv(S,n)):T<=n&&(e.expiredLanes|=S),m&=~S}}function Sa(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function gd(){var e=vi;return vi<<=1,(vi&4194240)===0&&(vi=64),e}function ba(e){for(var n=[],i=0;31>i;i++)n.push(e);return n}function us(e,n,i){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Mt(n),e[n]=i}function dv(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-Mt(i),m=1<<d;n[d]=0,l[d]=-1,e[d]=-1,i&=~m}}function ka(e,n){var i=e.entangledLanes|=n;for(e=e.entanglements;i;){var l=31-Mt(i),d=1<<l;d&n|e[l]&n&&(e[l]|=n),i&=~d}}var Te=0;function yd(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var vd,ja,xd,wd,Sd,Ta=!1,Si=[],yn=null,vn=null,xn=null,cs=new Map,ds=new Map,wn=[],fv="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 bd(e,n){switch(e){case"focusin":case"focusout":yn=null;break;case"dragenter":case"dragleave":vn=null;break;case"mouseover":case"mouseout":xn=null;break;case"pointerover":case"pointerout":cs.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":ds.delete(n.pointerId)}}function fs(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=Cs(n),n!==null&&ja(n)),e):(e.eventSystemFlags|=l,n=e.targetContainers,d!==null&&n.indexOf(d)===-1&&n.push(d),e)}function hv(e,n,i,l,d){switch(n){case"focusin":return yn=fs(yn,e,n,i,l,d),!0;case"dragenter":return vn=fs(vn,e,n,i,l,d),!0;case"mouseover":return xn=fs(xn,e,n,i,l,d),!0;case"pointerover":var m=d.pointerId;return cs.set(m,fs(cs.get(m)||null,e,n,i,l,d)),!0;case"gotpointercapture":return m=d.pointerId,ds.set(m,fs(ds.get(m)||null,e,n,i,l,d)),!0}return!1}function kd(e){var n=Hn(e.target);if(n!==null){var i=$n(n);if(i!==null){if(n=i.tag,n===13){if(n=ld(i),n!==null){e.blockedOn=n,Sd(e.priority,function(){xd(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 bi(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var i=Ea(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(i===null){i=e.nativeEvent;var l=new i.constructor(i.type,i);pa=l,i.target.dispatchEvent(l),pa=null}else return n=Cs(i),n!==null&&ja(n),e.blockedOn=i,!1;n.shift()}return!0}function jd(e,n,i){bi(e)&&i.delete(n)}function pv(){Ta=!1,yn!==null&&bi(yn)&&(yn=null),vn!==null&&bi(vn)&&(vn=null),xn!==null&&bi(xn)&&(xn=null),cs.forEach(jd),ds.forEach(jd)}function hs(e,n){e.blockedOn===n&&(e.blockedOn=null,Ta||(Ta=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,pv)))}function ps(e){function n(d){return hs(d,e)}if(0<Si.length){hs(Si[0],e);for(var i=1;i<Si.length;i++){var l=Si[i];l.blockedOn===e&&(l.blockedOn=null)}}for(yn!==null&&hs(yn,e),vn!==null&&hs(vn,e),xn!==null&&hs(xn,e),cs.forEach(n),ds.forEach(n),i=0;i<wn.length;i++)l=wn[i],l.blockedOn===e&&(l.blockedOn=null);for(;0<wn.length&&(i=wn[0],i.blockedOn===null);)kd(i),i.blockedOn===null&&wn.shift()}var hr=B.ReactCurrentBatchConfig,ki=!0;function mv(e,n,i,l){var d=Te,m=hr.transition;hr.transition=null;try{Te=1,Ca(e,n,i,l)}finally{Te=d,hr.transition=m}}function gv(e,n,i,l){var d=Te,m=hr.transition;hr.transition=null;try{Te=4,Ca(e,n,i,l)}finally{Te=d,hr.transition=m}}function Ca(e,n,i,l){if(ki){var d=Ea(e,n,i,l);if(d===null)Ha(e,n,l,ji,i),bd(e,l);else if(hv(d,e,n,i,l))l.stopPropagation();else if(bd(e,l),n&4&&-1<fv.indexOf(e)){for(;d!==null;){var m=Cs(d);if(m!==null&&vd(m),m=Ea(e,n,i,l),m===null&&Ha(e,n,l,ji,i),m===d)break;d=m}d!==null&&l.stopPropagation()}else Ha(e,n,l,null,i)}}var ji=null;function Ea(e,n,i,l){if(ji=null,e=ma(l),e=Hn(e),e!==null)if(n=$n(e),n===null)e=null;else if(i=n.tag,i===13){if(e=ld(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 ji=e,null}function Td(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(rv()){case wa:return 1;case pd:return 4;case gi:case sv:return 16;case md:return 536870912;default:return 16}default:return 16}}var Sn=null,Na=null,Ti=null;function Cd(){if(Ti)return Ti;var e,n=Na,i=n.length,l,d="value"in Sn?Sn.value:Sn.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 Ti=d.slice(e,1<l?1-l:void 0)}function Ci(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 Ei(){return!0}function Ed(){return!1}function yt(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)?Ei:Ed,this.isPropagationStopped=Ed,this}return q(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=Ei)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Ei)},persist:function(){},isPersistent:Ei}),n}var pr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Pa=yt(pr),ms=q({},pr,{view:0,detail:0}),yv=yt(ms),Ra,Aa,gs,Ni=q({},ms,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Oa,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!==gs&&(gs&&e.type==="mousemove"?(Ra=e.screenX-gs.screenX,Aa=e.screenY-gs.screenY):Aa=Ra=0,gs=e),Ra)},movementY:function(e){return"movementY"in e?e.movementY:Aa}}),Nd=yt(Ni),vv=q({},Ni,{dataTransfer:0}),xv=yt(vv),wv=q({},ms,{relatedTarget:0}),La=yt(wv),Sv=q({},pr,{animationName:0,elapsedTime:0,pseudoElement:0}),bv=yt(Sv),kv=q({},pr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),jv=yt(kv),Tv=q({},pr,{data:0}),Pd=yt(Tv),Cv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ev={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"},Nv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pv(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=Nv[e])?!!n[e]:!1}function Oa(){return Pv}var Rv=q({},ms,{key:function(e){if(e.key){var n=Cv[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=Ci(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Ev[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Oa,charCode:function(e){return e.type==="keypress"?Ci(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ci(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Av=yt(Rv),Lv=q({},Ni,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Rd=yt(Lv),Ov=q({},ms,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Oa}),Mv=yt(Ov),_v=q({},pr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Dv=yt(_v),Iv=q({},Ni,{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}),Fv=yt(Iv),Vv=[9,13,27,32],Ma=h&&"CompositionEvent"in window,ys=null;h&&"documentMode"in document&&(ys=document.documentMode);var Uv=h&&"TextEvent"in window&&!ys,Ad=h&&(!Ma||ys&&8<ys&&11>=ys),Ld=" ",Od=!1;function Md(e,n){switch(e){case"keyup":return Vv.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _d(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var mr=!1;function Bv(e,n){switch(e){case"compositionend":return _d(n);case"keypress":return n.which!==32?null:(Od=!0,Ld);case"textInput":return e=n.data,e===Ld&&Od?null:e;default:return null}}function zv(e,n){if(mr)return e==="compositionend"||!Ma&&Md(e,n)?(e=Cd(),Ti=Na=Sn=null,mr=!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 Ad&&n.locale!=="ko"?null:n.data;default:return null}}var $v={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 Dd(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!$v[e.type]:n==="textarea"}function Id(e,n,i,l){rd(l),n=Oi(n,"onChange"),0<n.length&&(i=new Pa("onChange","change",null,i,l),e.push({event:i,listeners:n}))}var vs=null,xs=null;function Hv(e){tf(e,0)}function Pi(e){var n=wr(e);if(Ot(n))return e}function Wv(e,n){if(e==="change")return n}var Fd=!1;if(h){var _a;if(h){var Da="oninput"in document;if(!Da){var Vd=document.createElement("div");Vd.setAttribute("oninput","return;"),Da=typeof Vd.oninput=="function"}_a=Da}else _a=!1;Fd=_a&&(!document.documentMode||9<document.documentMode)}function Ud(){vs&&(vs.detachEvent("onpropertychange",Bd),xs=vs=null)}function Bd(e){if(e.propertyName==="value"&&Pi(xs)){var n=[];Id(n,xs,e,ma(e)),ad(Hv,n)}}function qv(e,n,i){e==="focusin"?(Ud(),vs=n,xs=i,vs.attachEvent("onpropertychange",Bd)):e==="focusout"&&Ud()}function Kv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Pi(xs)}function Gv(e,n){if(e==="click")return Pi(n)}function Qv(e,n){if(e==="input"||e==="change")return Pi(n)}function Yv(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var _t=typeof Object.is=="function"?Object.is:Yv;function ws(e,n){if(_t(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)||!_t(e[d],n[d]))return!1}return!0}function zd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function $d(e,n){var i=zd(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=zd(i)}}function Hd(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Hd(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Wd(){for(var e=window,n=Wt();n instanceof e.HTMLIFrameElement;){try{var i=typeof n.contentWindow.location.href=="string"}catch{i=!1}if(i)e=n.contentWindow;else break;n=Wt(e.document)}return n}function Ia(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 Xv(e){var n=Wd(),i=e.focusedElem,l=e.selectionRange;if(n!==i&&i&&i.ownerDocument&&Hd(i.ownerDocument.documentElement,i)){if(l!==null&&Ia(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=$d(i,m);var x=$d(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 Jv=h&&"documentMode"in document&&11>=document.documentMode,gr=null,Fa=null,Ss=null,Va=!1;function qd(e,n,i){var l=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Va||gr==null||gr!==Wt(l)||(l=gr,"selectionStart"in l&&Ia(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}),Ss&&ws(Ss,l)||(Ss=l,l=Oi(Fa,"onSelect"),0<l.length&&(n=new Pa("onSelect","select",null,n,i),e.push({event:n,listeners:l}),n.target=gr)))}function Ri(e,n){var i={};return i[e.toLowerCase()]=n.toLowerCase(),i["Webkit"+e]="webkit"+n,i["Moz"+e]="moz"+n,i}var yr={animationend:Ri("Animation","AnimationEnd"),animationiteration:Ri("Animation","AnimationIteration"),animationstart:Ri("Animation","AnimationStart"),transitionend:Ri("Transition","TransitionEnd")},Ua={},Kd={};h&&(Kd=document.createElement("div").style,"AnimationEvent"in window||(delete yr.animationend.animation,delete yr.animationiteration.animation,delete yr.animationstart.animation),"TransitionEvent"in window||delete yr.transitionend.transition);function Ai(e){if(Ua[e])return Ua[e];if(!yr[e])return e;var n=yr[e],i;for(i in n)if(n.hasOwnProperty(i)&&i in Kd)return Ua[e]=n[i];return e}var Gd=Ai("animationend"),Qd=Ai("animationiteration"),Yd=Ai("animationstart"),Xd=Ai("transitionend"),Jd=new Map,Zd="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 bn(e,n){Jd.set(e,n),u(n,[e])}for(var Ba=0;Ba<Zd.length;Ba++){var za=Zd[Ba],Zv=za.toLowerCase(),ex=za[0].toUpperCase()+za.slice(1);bn(Zv,"on"+ex)}bn(Gd,"onAnimationEnd"),bn(Qd,"onAnimationIteration"),bn(Yd,"onAnimationStart"),bn("dblclick","onDoubleClick"),bn("focusin","onFocus"),bn("focusout","onBlur"),bn(Xd,"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 bs="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(" "),tx=new Set("cancel close invalid load scroll toggle".split(" ").concat(bs));function ef(e,n,i){var l=e.type||"unknown-event";e.currentTarget=i,Zy(l,n,void 0,e),e.currentTarget=null}function tf(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],T=S.instance,O=S.currentTarget;if(S=S.listener,T!==m&&d.isPropagationStopped())break e;ef(d,S,O),m=T}else for(x=0;x<l.length;x++){if(S=l[x],T=S.instance,O=S.currentTarget,S=S.listener,T!==m&&d.isPropagationStopped())break e;ef(d,S,O),m=T}}}if(mi)throw e=xa,mi=!1,xa=null,e}function Pe(e,n){var i=n[Ya];i===void 0&&(i=n[Ya]=new Set);var l=e+"__bubble";i.has(l)||(nf(n,e,2,!1),i.add(l))}function $a(e,n,i){var l=0;n&&(l|=4),nf(i,e,l,n)}var Li="_reactListening"+Math.random().toString(36).slice(2);function ks(e){if(!e[Li]){e[Li]=!0,o.forEach(function(i){i!=="selectionchange"&&(tx.has(i)||$a(i,!1,e),$a(i,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[Li]||(n[Li]=!0,$a("selectionchange",!1,n))}}function nf(e,n,i,l){switch(Td(n)){case 1:var d=mv;break;case 4:d=gv;break;default:d=Ca}i=d.bind(null,n,i,e),d=void 0,!va||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 Ha(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 T=x.tag;if((T===3||T===4)&&(T=x.stateNode.containerInfo,T===d||T.nodeType===8&&T.parentNode===d))return;x=x.return}for(;S!==null;){if(x=Hn(S),x===null)return;if(T=x.tag,T===5||T===6){l=m=x;continue e}S=S.parentNode}}l=l.return}ad(function(){var O=m,F=ma(i),U=[];e:{var I=Jd.get(e);if(I!==void 0){var G=Pa,Y=e;switch(e){case"keypress":if(Ci(i)===0)break e;case"keydown":case"keyup":G=Av;break;case"focusin":Y="focus",G=La;break;case"focusout":Y="blur",G=La;break;case"beforeblur":case"afterblur":G=La;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":G=Nd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":G=xv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":G=Mv;break;case Gd:case Qd:case Yd:G=bv;break;case Xd:G=Dv;break;case"scroll":G=yv;break;case"wheel":G=Fv;break;case"copy":case"cut":case"paste":G=jv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":G=Rd}var X=(n&4)!==0,$e=!X&&e==="scroll",A=X?I!==null?I+"Capture":null:I;X=[];for(var N=O,L;N!==null;){L=N;var $=L.stateNode;if(L.tag===5&&$!==null&&(L=$,A!==null&&($=is(N,A),$!=null&&X.push(js(N,$,L)))),$e)break;N=N.return}0<X.length&&(I=new G(I,Y,null,i,F),U.push({event:I,listeners:X}))}}if((n&7)===0){e:{if(I=e==="mouseover"||e==="pointerover",G=e==="mouseout"||e==="pointerout",I&&i!==pa&&(Y=i.relatedTarget||i.fromElement)&&(Hn(Y)||Y[rn]))break e;if((G||I)&&(I=F.window===F?F:(I=F.ownerDocument)?I.defaultView||I.parentWindow:window,G?(Y=i.relatedTarget||i.toElement,G=O,Y=Y?Hn(Y):null,Y!==null&&($e=$n(Y),Y!==$e||Y.tag!==5&&Y.tag!==6)&&(Y=null)):(G=null,Y=O),G!==Y)){if(X=Nd,$="onMouseLeave",A="onMouseEnter",N="mouse",(e==="pointerout"||e==="pointerover")&&(X=Rd,$="onPointerLeave",A="onPointerEnter",N="pointer"),$e=G==null?I:wr(G),L=Y==null?I:wr(Y),I=new X($,N+"leave",G,i,F),I.target=$e,I.relatedTarget=L,$=null,Hn(F)===O&&(X=new X(A,N+"enter",Y,i,F),X.target=L,X.relatedTarget=$e,$=X),$e=$,G&&Y)t:{for(X=G,A=Y,N=0,L=X;L;L=vr(L))N++;for(L=0,$=A;$;$=vr($))L++;for(;0<N-L;)X=vr(X),N--;for(;0<L-N;)A=vr(A),L--;for(;N--;){if(X===A||A!==null&&X===A.alternate)break t;X=vr(X),A=vr(A)}X=null}else X=null;G!==null&&rf(U,I,G,X,!1),Y!==null&&$e!==null&&rf(U,$e,Y,X,!0)}}e:{if(I=O?wr(O):window,G=I.nodeName&&I.nodeName.toLowerCase(),G==="select"||G==="input"&&I.type==="file")var J=Wv;else if(Dd(I))if(Fd)J=Qv;else{J=Kv;var re=qv}else(G=I.nodeName)&&G.toLowerCase()==="input"&&(I.type==="checkbox"||I.type==="radio")&&(J=Gv);if(J&&(J=J(e,O))){Id(U,J,i,F);break e}re&&re(e,I,O),e==="focusout"&&(re=I._wrapperState)&&re.controlled&&I.type==="number"&&ua(I,"number",I.value)}switch(re=O?wr(O):window,e){case"focusin":(Dd(re)||re.contentEditable==="true")&&(gr=re,Fa=O,Ss=null);break;case"focusout":Ss=Fa=gr=null;break;case"mousedown":Va=!0;break;case"contextmenu":case"mouseup":case"dragend":Va=!1,qd(U,i,F);break;case"selectionchange":if(Jv)break;case"keydown":case"keyup":qd(U,i,F)}var se;if(Ma)e:{switch(e){case"compositionstart":var ue="onCompositionStart";break e;case"compositionend":ue="onCompositionEnd";break e;case"compositionupdate":ue="onCompositionUpdate";break e}ue=void 0}else mr?Md(e,i)&&(ue="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(ue="onCompositionStart");ue&&(Ad&&i.locale!=="ko"&&(mr||ue!=="onCompositionStart"?ue==="onCompositionEnd"&&mr&&(se=Cd()):(Sn=F,Na="value"in Sn?Sn.value:Sn.textContent,mr=!0)),re=Oi(O,ue),0<re.length&&(ue=new Pd(ue,e,null,i,F),U.push({event:ue,listeners:re}),se?ue.data=se:(se=_d(i),se!==null&&(ue.data=se)))),(se=Uv?Bv(e,i):zv(e,i))&&(O=Oi(O,"onBeforeInput"),0<O.length&&(F=new Pd("onBeforeInput","beforeinput",null,i,F),U.push({event:F,listeners:O}),F.data=se))}tf(U,n)})}function js(e,n,i){return{instance:e,listener:n,currentTarget:i}}function Oi(e,n){for(var i=n+"Capture",l=[];e!==null;){var d=e,m=d.stateNode;d.tag===5&&m!==null&&(d=m,m=is(e,i),m!=null&&l.unshift(js(e,m,d)),m=is(e,n),m!=null&&l.push(js(e,m,d))),e=e.return}return l}function vr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function rf(e,n,i,l,d){for(var m=n._reactName,x=[];i!==null&&i!==l;){var S=i,T=S.alternate,O=S.stateNode;if(T!==null&&T===l)break;S.tag===5&&O!==null&&(S=O,d?(T=is(i,m),T!=null&&x.unshift(js(i,T,S))):d||(T=is(i,m),T!=null&&x.push(js(i,T,S)))),i=i.return}x.length!==0&&e.push({event:n,listeners:x})}var nx=/\r\n?/g,rx=/\u0000|\uFFFD/g;function sf(e){return(typeof e=="string"?e:""+e).replace(nx,`
6`).replace(rx,"")}function Mi(e,n,i){if(n=sf(n),sf(e)!==n&&i)throw Error(s(425))}function _i(){}var Wa=null,qa=null;function Ka(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 Ga=typeof setTimeout=="function"?setTimeout:void 0,sx=typeof clearTimeout=="function"?clearTimeout:void 0,of=typeof Promise=="function"?Promise:void 0,ix=typeof queueMicrotask=="function"?queueMicrotask:typeof of<"u"?function(e){return of.resolve(null).then(e).catch(ox)}:Ga;function ox(e){setTimeout(function(){throw e})}function Qa(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),ps(n);return}l--}else i!=="$"&&i!=="$?"&&i!=="$!"||l++;i=d}while(i);ps(n)}function kn(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 af(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 xr=Math.random().toString(36).slice(2),Kt="__reactFiber$"+xr,Ts="__reactProps$"+xr,rn="__reactContainer$"+xr,Ya="__reactEvents$"+xr,ax="__reactListeners$"+xr,lx="__reactHandles$"+xr;function Hn(e){var n=e[Kt];if(n)return n;for(var i=e.parentNode;i;){if(n=i[rn]||i[Kt]){if(i=n.alternate,n.child!==null||i!==null&&i.child!==null)for(e=af(e);e!==null;){if(i=e[Kt])return i;e=af(e)}return n}e=i,i=e.parentNode}return null}function Cs(e){return e=e[Kt]||e[rn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function wr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(s(33))}function Di(e){return e[Ts]||null}var Xa=[],Sr=-1;function jn(e){return{current:e}}function Re(e){0>Sr||(e.current=Xa[Sr],Xa[Sr]=null,Sr--)}function Ne(e,n){Sr++,Xa[Sr]=e.current,e.current=n}var Tn={},tt=jn(Tn),ct=jn(!1),Wn=Tn;function br(e,n){var i=e.type.contextTypes;if(!i)return Tn;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 dt(e){return e=e.childContextTypes,e!=null}function Ii(){Re(ct),Re(tt)}function lf(e,n,i){if(tt.current!==Tn)throw Error(s(168));Ne(tt,n),Ne(ct,i)}function uf(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(s(108,Ce(e)||"Unknown",d));return q({},i,l)}function Fi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Tn,Wn=tt.current,Ne(tt,e),Ne(ct,ct.current),!0}function cf(e,n,i){var l=e.stateNode;if(!l)throw Error(s(169));i?(e=uf(e,n,Wn),l.__reactInternalMemoizedMergedChildContext=e,Re(ct),Re(tt),Ne(tt,e)):Re(ct),Ne(ct,i)}var sn=null,Vi=!1,Ja=!1;function df(e){sn===null?sn=[e]:sn.push(e)}function ux(e){Vi=!0,df(e)}function Cn(){if(!Ja&&sn!==null){Ja=!0;var e=0,n=Te;try{var i=sn;for(Te=1;e<i.length;e++){var l=i[e];do l=l(!0);while(l!==null)}sn=null,Vi=!1}catch(d){throw sn!==null&&(sn=sn.slice(e+1)),fd(wa,Cn),d}finally{Te=n,Ja=!1}}return null}var kr=[],jr=0,Ui=null,Bi=0,jt=[],Tt=0,qn=null,on=1,an="";function Kn(e,n){kr[jr++]=Bi,kr[jr++]=Ui,Ui=e,Bi=n}function ff(e,n,i){jt[Tt++]=on,jt[Tt++]=an,jt[Tt++]=qn,qn=e;var l=on;e=an;var d=32-Mt(l)-1;l&=~(1<<d),i+=1;var m=32-Mt(n)+d;if(30<m){var x=d-d%5;m=(l&(1<<x)-1).toString(32),l>>=x,d-=x,on=1<<32-Mt(n)+d|i<<d|l,an=m+e}else on=1<<m|i<<d|l,an=e}function Za(e){e.return!==null&&(Kn(e,1),ff(e,1,0))}function el(e){for(;e===Ui;)Ui=kr[--jr],kr[jr]=null,Bi=kr[--jr],kr[jr]=null;for(;e===qn;)qn=jt[--Tt],jt[Tt]=null,an=jt[--Tt],jt[Tt]=null,on=jt[--Tt],jt[Tt]=null}var vt=null,xt=null,Oe=!1,Dt=null;function hf(e,n){var i=Pt(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 pf(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,vt=e,xt=kn(n.firstChild),!0):!1;case 6:return n=e.pendingProps===""||n.nodeType!==3?null:n,n!==null?(e.stateNode=n,vt=e,xt=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(i=qn!==null?{id:on,overflow:an}:null,e.memoizedState={dehydrated:n,treeContext:i,retryLane:1073741824},i=Pt(18,null,null,0),i.stateNode=n,i.return=e,e.child=i,vt=e,xt=null,!0):!1;default:return!1}}function tl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function nl(e){if(Oe){var n=xt;if(n){var i=n;
vendor: 6,288 bytes, line 6
6if(!pf(e,n)){if(tl(e))throw Error(s(418));n=kn(i.nextSibling);var l=vt;n&&pf(e,n)?hf(l,i):(e.flags=e.flags&-4097|2,Oe=!1,vt=e)}}else{if(tl(e))throw Error(s(418));e.flags=e.flags&-4097|2,Oe=!1,vt=e}}}function mf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;vt=e}function zi(e){if(e!==vt)return!1;if(!Oe)return mf(e),Oe=!0,!1;var n;if((n=e.tag!==3)&&!(n=e.tag!==5)&&(n=e.type,n=n!=="head"&&n!=="body"&&!Ka(e.type,e.memoizedProps)),n&&(n=xt)){if(tl(e))throw gf(),Error(s(418));for(;n;)hf(e,n),n=kn(n.nextSibling)}if(mf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"){if(n===0){xt=kn(e.nextSibling);break e}n--}else i!=="$"&&i!=="$!"&&i!=="$?"||n++}e=e.nextSibling}xt=null}}else xt=vt?kn(e.stateNode.nextSibling):null;return!0}function gf(){for(var e=xt;e;)e=kn(e.nextSibling)}function Tr(){xt=vt=null,Oe=!1}function rl(e){Dt===null?Dt=[e]:Dt.push(e)}var cx=B.ReactCurrentBatchConfig;function Es(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(s(309));var l=i.stateNode}if(!l)throw Error(s(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(s(284));if(!i._owner)throw Error(s(290,e))}return e}function $i(e,n){throw e=Object.prototype.toString.call(n),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function yf(e){var n=e._init;return n(e._payload)}function vf(e){function n(A,N){if(e){var L=A.deletions;L===null?(A.deletions=[N],A.flags|=16):L.push(N)}}function i(A,N){if(!e)return null;for(;N!==null;)n(A,N),N=N.sibling;return null}function l(A,N){for(A=new Map;N!==null;)N.key!==null?A.set(N.key,N):A.set(N.index,N),N=N.sibling;return A}function d(A,N){return A=Mn(A,N),A.index=0,A.sibling=null,A}function m(A,N,L){return A.index=L,e?(L=A.alternate,L!==null?(L=L.index,L<N?(A.flags|=2,N):L):(A.flags|=2,N)):(A.flags|=1048576,N)}function x(A){return e&&A.alternate===null&&(A.flags|=2),A}function S(A,N,L,$){return N===null||N.tag!==6?(N=Gl(L,A.mode,$),N.return=A,N):(N=d(N,L),N.return=A,N)}function T(A,N,L,$){var J=L.type;return J===ee?F(A,N,L.props.children,$,L.key):N!==null&&(N.elementType===J||typeof J=="object"&&J!==null&&J.$$typeof===Le&&yf(J)===N.type)?($=d(N,L.props),$.ref=Es(A,N,L),$.return=A,$):($=po(L.type,L.key,L.props,null,A.mode,$),$.ref=Es(A,N,L),$.return=A,$)}function O(A,N,L,$){return N===null||N.tag!==4||N.stateNode.containerInfo!==L.containerInfo||N.stateNode.implementation!==L.implementation?(N=Ql(L,A.mode,$),N.return=A,N):(N=d(N,L.children||[]),N.return=A,N)}function F(A,N,L,$,J){return N===null||N.tag!==7?(N=tr(L,A.mode,$,J),N.return=A,N):(N=d(N,L),N.return=A,N)}function U(A,N,L){if(typeof N=="string"&&N!==""||typeof N=="number")return N=Gl(""+N,A.mode,L),N.return=A,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case V:return L=po(N.type,N.key,N.props,null,A.mode,L),L.ref=Es(A,null,N),L.return=A,L;case W:return N=Ql(N,A.mode,L),N.return=A,N;case Le:var $=N._init;return U(A,$(N._payload),L)}if(ns(N)||te(N))return N=tr(N,A.mode,L,null),N.return=A,N;$i(A,N)}return null}function I(A,N,L,$){var J=N!==null?N.key:null;if(typeof L=="string"&&L!==""||typeof L=="number")return J!==null?null:S(A,N,""+L,$);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case V:return L.key===J?T(A,N,L,$):null;case W:return L.key===J?O(A,N,L,$):null;case Le:return J=L._init,I(A,N,J(L._payload),$)}if(ns(L)||te(L))return J!==null?null:F(A,N,L,$,null);$i(A,L)}return null}function G(A,N,L,$,J){if(typeof $=="string"&&$!==""||typeof $=="number")return A=A.get(L)||null,S(N,A,""+$,J);if(typeof $=="object"&&$!==null){switch($.$$typeof){case V:return A=A.get($.key===null?L:$.key)||null,T(N,A,$,J);case W:return A=A.get($.key===null?L:$.key)||null,O(N,A,$,J);case Le:var re=$._init;return G(A,N,L,re($._payload),J)}if(ns($)||te($))return A=A.get(L)||null,F(N,A,$,J,null);$i(N,$)}return null}function Y(A,N,L,$){for(var J=null,re=null,se=N,ue=N=0,Xe=null;se!==null&&ue<L.length;ue++){se.index>ue?(Xe=se,se=null):Xe=se.sibling;var be=I(A,se,L[ue],$);if(be===null){se===null&&(se=Xe);break}e&&se&&be.alternate===null&&n(A,se),N=m(be,N,ue),re===null?J=be:re.sibling=be,re=be,se=Xe}if(ue===L.length)return i(A,se),Oe&&Kn(A,ue),J;if(se===null){for(;ue<L.length;ue++)se=U(A,L[ue],$),se!==null&&(N=m(se,N,ue),re===null?J=se:re.sibling=se,re=se);return Oe&&Kn(A,ue),J}for(se=l(A,se);ue<L.length;ue++)Xe=G(se,A,ue,L[ue],$),Xe!==null&&(e&&Xe.alternate!==null&&se.delete(Xe.key===null?ue:Xe.key),N=m(Xe,N,ue),re===null?J=Xe:re.sibling=Xe,re=Xe);return e&&se.forEach(function(_n){return n(A,_n)}),Oe&&Kn(A,ue),J}function X(A,N,L,$){var J=te(L);if(typeof J!="function")throw Error(s(150));if(L=J.call(L),L==null)throw Error(s(151));for(var re=J=null,se=N,ue=N=0,Xe=null,be=L.next();se!==null&&!be.done;ue++,be=L.next()){se.index>ue?(Xe=se,se=null):Xe=se.sibling;var _n=I(A,se,be.value,$);if(_n===null){se===null&&(se=Xe);break}e&&se&&_n.alternate===null&&n(A,se),N=m(_n,N,ue),re===null?J=_n:re.sibling=_n,re=_n,se=Xe}if(be.done)return i(A,se),Oe&&Kn(A,ue),J;if(se===null){for(;!be.done;ue++,be=L.next())be=U(A,be.value,$),be!==null&&(N=m(be,N,ue),re===null?J=be:re.sibling=be,re=be);return Oe&&Kn(A,ue),J}for(se=l(A,se);!be.done;ue++,be=L.next())be=G(se,A,ue,be.value,$),be!==null&&(e&&be.alternate!==null&&se.delete(be.key===null?ue:be.key),N=m(be,N,ue),re===null?J=be:re.sibling=be,re=be);return e&&se.forEach(function($x){return n(A,$x)}),Oe&&Kn(A,ue),J}function $e(A,N,L,$){if(typeof L=="object"&&L!==null&&L.type===ee&&L.key===null&&(L=L.props.children),typeof L=="object"&&L!==null){switch(L.$$typeof){case V:e:{for(var J=L.key,re=N;re!==null;){if(re.key===J){if(J=L.type,J===ee){if(re.tag===7){i(A,re.sibling),N=d(re,L.props.children),N.return=A,A=N;break e}}else if(re.elementType===J||typeof J=="object"&&J!==null&&J.$$typeof===Le&&yf(J)===re.type){i(A,re.sibling),N=d(re,L.props),N.ref=Es(A,re,L),N.return=A,A=N;break e}i(A,re);break}else n(A,re);re=re.sibling}L.type===ee?(N=tr(L.props.children,A.mode,$,L.key),N.return=A,A=N):($=po(L.type,L.
vendor: 18,468 bytes, lines 6-8
6key,L.props,null,A.mode,$),$.ref=Es(A,N,L),$.return=A,A=$)}return x(A);case W:e:{for(re=L.key;N!==null;){if(N.key===re)if(N.tag===4&&N.stateNode.containerInfo===L.containerInfo&&N.stateNode.implementation===L.implementation){i(A,N.sibling),N=d(N,L.children||[]),N.return=A,A=N;break e}else{i(A,N);break}else n(A,N);N=N.sibling}N=Ql(L,A.mode,$),N.return=A,A=N}return x(A);case Le:return re=L._init,$e(A,N,re(L._payload),$)}if(ns(L))return Y(A,N,L,$);if(te(L))return X(A,N,L,$);$i(A,L)}return typeof L=="string"&&L!==""||typeof L=="number"?(L=""+L,N!==null&&N.tag===6?(i(A,N.sibling),N=d(N,L),N.return=A,A=N):(i(A,N),N=Gl(L,A.mode,$),N.return=A,A=N),x(A)):i(A,N)}return $e}var Cr=vf(!0),xf=vf(!1),Hi=jn(null),Wi=null,Er=null,sl=null;function il(){sl=Er=Wi=null}function ol(e){var n=Hi.current;Re(Hi),e._currentValue=n}function al(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 Nr(e,n){Wi=e,sl=Er=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&n)!==0&&(ft=!0),e.firstContext=null)}function Ct(e){var n=e._currentValue;if(sl!==e)if(e={context:e,memoizedValue:n,next:null},Er===null){if(Wi===null)throw Error(s(308));Er=e,Wi.dependencies={lanes:0,firstContext:e}}else Er=Er.next=e;return n}var Gn=null;function ll(e){Gn===null?Gn=[e]:Gn.push(e)}function wf(e,n,i,l){var d=n.interleaved;return d===null?(i.next=i,ll(n)):(i.next=d.next,d.next=i),n.interleaved=i,ln(e,l)}function ln(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 En=!1;function ul(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Sf(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 un(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function Nn(e,n,i){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(Se&2)!==0){var d=l.pending;return d===null?n.next=n:(n.next=d.next,d.next=n),l.pending=n,ln(e,i)}return d=l.interleaved,d===null?(n.next=n,ll(l)):(n.next=d.next,d.next=n),l.interleaved=n,ln(e,i)}function qi(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,ka(e,i)}}function bf(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 Ki(e,n,i,l){var d=e.updateQueue;En=!1;var m=d.firstBaseUpdate,x=d.lastBaseUpdate,S=d.shared.pending;if(S!==null){d.shared.pending=null;var T=S,O=T.next;T.next=null,x===null?m=O:x.next=O,x=T;var F=e.alternate;F!==null&&(F=F.updateQueue,S=F.lastBaseUpdate,S!==x&&(S===null?F.firstBaseUpdate=O:S.next=O,F.lastBaseUpdate=T))}if(m!==null){var U=d.baseState;x=0,F=O=T=null,S=m;do{var I=S.lane,G=S.eventTime;if((l&I)===I){F!==null&&(F=F.next={eventTime:G,lane:0,tag:S.tag,payload:S.payload,callback:S.callback,next:null});e:{var Y=e,X=S;switch(I=n,G=i,X.tag){case 1:if(Y=X.payload,typeof Y=="function"){U=Y.call(G,U,I);break e}U=Y;break e;case 3:Y.flags=Y.flags&-65537|128;case 0:if(Y=X.payload,I=typeof Y=="function"?Y.call(G,U,I):Y,I==null)break e;U=q({},U,I);break e;case 2:En=!0}}S.callback!==null&&S.lane!==0&&(e.flags|=64,I=d.effects,I===null?d.effects=[S]:I.push(S))}else G={eventTime:G,lane:I,tag:S.tag,payload:S.payload,callback:S.callback,next:null},F===null?(O=F=G,T=U):F=F.next=G,x|=I;if(S=S.next,S===null){if(S=d.shared.pending,S===null)break;I=S,S=I.next,I.next=null,d.lastBaseUpdate=I,d.shared.pending=null}}while(!0);if(F===null&&(T=U),d.baseState=T,d.firstBaseUpdate=O,d.lastBaseUpdate=F,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);Xn|=x,e.lanes=x,e.memoizedState=U}}function kf(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(s(191,d));d.call(l)}}}var Ns={},Gt=jn(Ns),Ps=jn(Ns),Rs=jn(Ns);function Qn(e){if(e===Ns)throw Error(s(174));return e}function cl(e,n){switch(Ne(Rs,n),Ne(Ps,e),Ne(Gt,Ns),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:da(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=da(n,e)}Re(Gt),Ne(Gt,n)}function Pr(){Re(Gt),Re(Ps),Re(Rs)}function jf(e){Qn(Rs.current);var n=Qn(Gt.current),i=da(n,e.type);n!==i&&(Ne(Ps,e),Ne(Gt,i))}function dl(e){Ps.current===e&&(Re(Gt),Re(Ps))}var Ie=jn(0);function Gi(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 hl(){for(var e=0;e<fl.length;e++)fl[e]._workInProgressVersionPrimary=null;fl.length=0}var Qi=B.ReactCurrentDispatcher,pl=B.ReactCurrentBatchConfig,Yn=0,Fe=null,Ke=null,Qe=null,Yi=!1,As=!1,Ls=0,dx=0;function nt(){throw Error(s(321))}function ml(e,n){if(n===null)return!1;for(var i=0;i<n.length&&i<e.length;i++)if(!_t(e[i],n[i]))return!1;return!0}function gl(e,n,i,l,d,m){if(Yn=m,Fe=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,Qi.current=e===null||e.memoizedState===null?mx:gx,e=i(l,d),As){m=0;do{if(As=!1,Ls=0,25<=m)throw Error(s(301));m+=1,Qe=Ke=null,n.updateQueue=null,Qi.current=yx,e=i(l,d)}while(As)}if(Qi.current=Zi,n=Ke!==null&&Ke.next!==null,Yn=0,Qe=Ke=Fe=null,Yi=!1,n)throw Error(s(300));return e}function yl(){var e=Ls!==0;return Ls=0,e}function Qt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Qe===null?Fe.memoizedState=Qe=e:Qe=Qe.next=e,Qe}function Et(){if(Ke===null){var e=Fe.alternate;e=e!==null?e.memoizedState:null}else e=Ke.next;var n=Qe===null?Fe.memoizedState:Qe.next;if(n!==null)Qe=n,Ke=e;else{if(e===null)throw Error(s(310));Ke=e,e={memoizedState:Ke.memoizedState,baseState:Ke.baseState,baseQueue:Ke.baseQueue,queue:Ke.queue,next:null},Qe===null?Fe.memoizedState=Qe=e:Qe=Qe.next=e}return Qe}function Os(e,n){return typeof n=="function"?n(e):n}function vl(e){var n=Et(),i=n.queue;if(i===null)throw Error(s(311));i.lastRenderedReducer=e;var l=Ke,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,T=null,O=m;do{var F=O.lane;if((Yn&F)===F)T!==null&&(T=T.next={lane:0,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null}),l=O.hasEagerState?O.eagerState:e(l,O.action);else{var U={lane:F,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null};T===null?(S=T=U,x=l):T=T.next=U,Fe.lanes|=F,Xn|=F}O=O.next}while(O!==null&&O!==m);T===null?x=l:T.next=S,_t(l,n.memoizedState)||(ft=!0),n.memoizedState=l,n.baseState=x,n.baseQueue=T,i.lastRenderedState=l}if(e=i.interleaved,e!==null){d=e;do m=d.lane,Fe.lanes|=m,Xn|=m,d=d.next;while(d!==e)}else d===null&&(i.lanes=0);return[n.memoizedState,i.dispatch]}function xl(e){var n=Et(),i=n.queue;if(i===null)throw Error(s(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);_t(m,n.memoizedState)||(ft=!0),n.memoizedState=m,n.baseQueue===null&&(n.baseState=m),i.lastRenderedState=m}return[m,l]}function Tf(){}function Cf(e,n){var i=Fe,l=Et(),d=n(),m=!_t(l.memoizedState,d);if(m&&(l.memoizedState=d,ft=!0),l=l.queue,wl(Pf.bind(null,i,l,e),[e]),l.getSnapshot!==n||m||Qe!==null&&Qe.memoizedState.tag&1){if(i.flags|=2048,Ms(9,Nf.bind(null,i,l,d,n),void 0,null),Ye===null)throw Error(s(349));(Yn&30)!==0||Ef(i,n,d)}return d}function Ef(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 Nf(e,n,i,l){n.value=i,n.getSnapshot=l,Rf(n)&&Af(e)}function Pf(e,n,i){return i(function(){Rf(n)&&Af(e)})}function Rf(e){var n=e.getSnapshot;e=e.value;try{var i=n();return!_t(e,i)}catch{return!0}}function Af(e){var n=ln(e,1);n!==null&&Ut(n,e,1,-1)}function Lf(e){var n=Qt();return typeof e=="function"&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Os,lastRenderedState:e},n.queue=e,e=e.dispatch=px.bind(null,Fe,e),[n.memoizedState,e]}function Ms(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 Of(){return Et().memoizedState}function Xi(e,n,i,l){var d=Qt();Fe.flags|=e,d.memoizedState=Ms(1|n,i,void 0,l===void 0?null:l)}function Ji(e,n,i,l){var d=Et();l=l===void 0?null:l;var m=void 0;if(Ke!==null){var x=Ke.memoizedState;if(m=x.destroy,l!==null&&ml(l,x.deps)){d.memoizedState=Ms(n,i,m,l);return}}Fe.flags|=e,d.memoizedState=Ms(1|n,i,m,l)}function Mf(e,n){return Xi(8390656,8,e,n)}function wl(e,n){return Ji(2048,8,e,n)}function _f(e,n){return Ji(4,2,e,n)}function Df(e,n){return Ji(4,4,e,n)}function If(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 Ff(e,n,i){return i=i!=null?i.concat([e]):null,Ji(4,4,If.bind(null,n,e),i)}function Sl(){}function Vf(e,n){var i=Et();n=n===void 0?null:n;var l=i.memoizedState;return l!==null&&n!==null&&ml(n,l[1])?l[0]:(i.memoizedState=[e,n],e)}function Uf(e,n){var i=Et();n=n===void 0?null:n;var l=i.memoizedState;return l!==null&&n!==null&&ml(n,l[1])?l[0]:(e=e(),i.memoizedState=[e,n],e)}function Bf(e,n,i){return(Yn&21)===0?(e.baseState&&(e.baseState=!1,ft=!0),e.memoizedState=i):(_t(i,n)||(i=gd(),Fe.lanes|=i,Xn|=i,e.baseState=!0),n)}function fx(e,n){var i=Te;Te=i!==0&&4>i?i:4,e(!0);var l=pl.transition;pl.transition={};try{e(!1),n()}finally{Te=i,pl.transition=l}}function zf(){return Et().memoizedState}function hx(e,n,i){var l=Ln(e);if(i={lane:l,action:i,hasEagerState:!1,eagerState:null,next:null},$f(e))Hf(n,i);else if(i=wf(e,n,i,l),i!==null){var d=lt();Ut(i,e,l,d),Wf(i,n,l)}}function px(e,n,i){var l=Ln(e),d={lane:l,action:i,hasEagerState:!1,eagerState:null,next:null};if($f(e))Hf(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,_t(S,x)){var T=n.interleaved;T===null?(d.next=d,ll(n)):(d.next=T.next,T.next=d),n.interleaved=d;return}}catch{}i=wf(e,n,d,l),i!==null&&(d=lt(),Ut(i,e,l,d),Wf(i,n,l))}}function $f(e){var n=e.alternate;return e===Fe||n!==null&&n===Fe}function Hf(e,n){As=Yi=!0;var i=e.pending;i===null?n.next=n:(n.next=i.next,i.next=n),e.pending=n}function Wf(e,n,i){if((i&4194240)!==0){var l=n.lanes;l&=e.pendingLanes,i|=l,n.lanes=i,ka(e,i)}}var Zi={readContext:Ct,useCallback:nt,useContext:nt,useEffect:nt,useImperativeHandle:nt,useInsertionEffect:nt,useLayoutEffect:nt,useMemo:nt,useReducer:nt,useRef:nt,useState:nt,useDebugValue:nt,useDeferredValue:nt,useTransition:nt,useMutableSource:nt,useSyncExternalStore:nt,useId:nt,unstable_isNewReconciler:!1},mx={readContext:Ct,useCallback:function(e,n){return Qt().memoizedState=[e,n===void 0?null:n],e},useContext:Ct,useEffect:Mf,useImperativeHandle:function(e,n,i){return i=i!=null?i.concat([e]):null,Xi(4194308,4,If.bind(null,n,e),i)},useLayoutEffect:function(e,n){return Xi(4194308,4,e,n)},useInsertionEffect:function(e,n){return Xi(4,2,e,n)},useMemo:function(e,n){var i=Qt();return n=n===void 0?null:n,e=e(),i.memoizedState=[e,n],e},useReducer:function(e,n,i){var l=Qt();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=hx.bind(null,Fe,e),[l.memoizedState,e]},useRef:function(e){var n=Qt();return e={current:e},n.memoizedState=e},useState:Lf,useDebugValue:Sl,useDeferredValue:function(e){return Qt().memoizedState=e},useTransition:function(){var e=Lf(!1),n=e[0];return e=fx.bind(null,e[1]),Qt().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,i){var l=Fe,d=Qt();if(Oe){if(i===void 0)throw Error(s(407));i=i()}else{if(i=n(),Ye===null)throw Error(s(349));(Yn&30)!==0||Ef(l,n,i)}d.memoizedState=i;var m={value:i,getSnapshot:n};return d.queue=m,Mf(Pf.bind(null,l,m,e),[e]),l.flags|=2048,Ms(9,Nf.bind(null,l,m,i,n),void 0,null),i},useId:function(){var e=Qt(),n=Ye.identifierPrefix;if(Oe){var i=an,l=on;i=(l&~(1<<32-Mt(l)-1)).toString(32)+i,n=":"+n+"R"+i,i=Ls++,0<i&&(n+="H"+i.toString(32)),n+=":"}else i=dx++,n=":"+n+"r"+i.toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},gx={readContext:Ct,useCallback:Vf,useContext:Ct,useEffect:wl,useImperativeHandle:Ff,useInsertionEffect:_f,useLayoutEffect:Df,useMemo:Uf,useReducer:vl,useRef:Of,useState:function(){return vl(Os)},useDebugValue:Sl,useDeferredValue:function(e){var n=Et();return Bf(n,Ke.memoizedState,e)},useTransition:function(){var e=vl(Os)[0],n=Et().memoizedState;return[e,n]},useMutableSource:Tf,useSyncExternalStore:Cf,useId:zf,unstable_isNewReconciler:!1},yx={readContext:Ct,useCallback:Vf,useContext:Ct,useEffect:wl,useImperativeHandle:Ff,useInsertionEffect:_f,useLayoutEffect:Df,useMemo:Uf,useReducer:xl,useRef:Of,useState:function(){return xl(Os)},useDebugValue:Sl,useDeferredValue:function(e){var n=Et();return Ke===null?n.memoizedState=e:Bf(n,Ke.memoizedState,e)},useTransition:function(){var e=xl(Os)[0],n=Et().memoizedState;return[e,n]},useMutableSource:Tf,useSyncExternalStore:Cf,useId:zf,unstable_isNewReconciler:!1};function It(e,n){if(e&&e.defaultProps){n=q({},n),e=e.defaultProps;for(var i in e)n[i]===void 0&&(n[i]=e[i]);return n}return n}function bl(e,n,i,l){n=e.memoizedState,i=i(l,n),i=i==null?n:q({},n,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var eo={isMounted:function(e){return(e=e._reactInternals)?$n(e)===e:!1},enqueueSetState:function(e,n,i){e=e._reactInternals;var l=lt(),d=Ln(e),m=un(l,d);m.payload=n,i!=null&&(m.callback=i),n=Nn(e,m,d),n!==null&&(Ut(n,e,d,l),qi(n,e,d))},enqueueReplaceState:function(e,n,i){e=e._reactInternals;var l=lt(),d=Ln(e),m=un(l,d);m.tag=1,m.payload=n,i!=null&&(m.callback=i),n=Nn(e,m,d),n!==null&&(Ut(n,e,d,l),qi(n,e,d))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var i=lt(),l=Ln(e),d=un(i,l);d.tag=2,n!=null&&(d.callback=n),n=Nn(e,d,l),n!==null&&(Ut(n,e,l,i),qi(n,e,l))}};function qf(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?!ws(i,l)||!ws(d,m):!0}function Kf(e,n,i){var l=!1,d=Tn,m=n.contextType;return typeof m=="object"&&m!==null?m=Ct(m):(d=dt(n)?Wn:tt.current,l=n.contextTypes,m=(l=l!=null)?br(e,d):Tn),n=new n(i,m),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=eo,e.stateNode=n,n._reactInternals=e,l&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=d,e.__reactInternalMemoizedMaskedChildContext=m),n}function Gf(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&&eo.enqueueReplaceState(n,n.state,null)}function kl(e,n,i,l){var d=e.stateNode;d.props=i,d.state=e.memoizedState,d.refs={},ul(e);var m=n.contextType;typeof m=="object"&&m!==null?d.context=Ct(m):(m=dt(n)?Wn:tt.current,d.context=br(e,m)),d.state=e.memoizedState,m=n.getDerivedStateFromProps,typeof m=="function"&&(bl(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&&eo.enqueueReplaceState(d,d.state,null),Ki(e,i,d,l),d.state=e.memoizedState),typeof d.componentDidMount=="function"&&(e.flags|=4194308)}function Rr(e,n){try{var i="",l=n;do i+=xe(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 jl(e,n,i){return{value:e,source:null,stack:i??null,digest:n??null}}function Tl(e,n){try{console.error(n.value)}catch(i){setTimeout(function(){throw i})}}var vx=typeof WeakMap=="function"?WeakMap:Map;function Qf(e,n,i){i=un(-1,i),i.tag=3,i.payload={element:null};var l=n.value;return i.callback=function(){ao||(ao=!0,Ul=l),Tl(e,n)},i}function Yf(e,n,i){i=un(-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(){Tl(e,n)}}var m=e.stateNode;return m!==null&&typeof m.componentDidCatch=="function"&&(i.callback=function(){Tl(e,n),typeof l!="function"&&(Rn===null?Rn=new Set([this]):Rn.add(this));var x=n.stack;this.componentDidCatch(n.value,{componentStack:x!==null?x:""})}),i}function Xf(e,n,i){var l=e.pingCache;if(l===null){l=e.pingCache=new vx;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=Lx.bind(null,e,n,i),n.then(e,e))}function Jf(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 Zf(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=un(-1,1),n.tag=2,Nn(i,n,1
vendor: 5,785 bytes, line 8
8))),i.lanes|=1),e):(e.flags|=65536,e.lanes=d,e)}var xx=B.ReactCurrentOwner,ft=!1;function at(e,n,i,l){n.child=e===null?xf(n,null,i,l):Cr(n,e.child,i,l)}function eh(e,n,i,l,d){i=i.render;var m=n.ref;return Nr(n,d),l=gl(e,n,i,l,m,d),i=yl(),e!==null&&!ft?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~d,cn(e,n,d)):(Oe&&i&&Za(n),n.flags|=1,at(e,n,l,d),n.child)}function th(e,n,i,l,d){if(e===null){var m=i.type;return typeof m=="function"&&!Kl(m)&&m.defaultProps===void 0&&i.compare===null&&i.defaultProps===void 0?(n.tag=15,n.type=m,nh(e,n,m,l,d)):(e=po(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:ws,i(x,l)&&e.ref===n.ref)return cn(e,n,d)}return n.flags|=1,e=Mn(m,l),e.ref=n.ref,e.return=n,n.child=e}function nh(e,n,i,l,d){if(e!==null){var m=e.memoizedProps;if(ws(m,l)&&e.ref===n.ref)if(ft=!1,n.pendingProps=l=m,(e.lanes&d)!==0)(e.flags&131072)!==0&&(ft=!0);else return n.lanes=e.lanes,cn(e,n,d)}return Cl(e,n,i,l,d)}function rh(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},Ne(Lr,wt),wt|=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,Ne(Lr,wt),wt|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},l=m!==null?m.baseLanes:i,Ne(Lr,wt),wt|=l}else m!==null?(l=m.baseLanes|i,n.memoizedState=null):l=i,Ne(Lr,wt),wt|=l;return at(e,n,d,i),n.child}function sh(e,n){var i=n.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(n.flags|=512,n.flags|=2097152)}function Cl(e,n,i,l,d){var m=dt(i)?Wn:tt.current;return m=br(n,m),Nr(n,d),i=gl(e,n,i,l,m,d),l=yl(),e!==null&&!ft?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~d,cn(e,n,d)):(Oe&&l&&Za(n),n.flags|=1,at(e,n,i,d),n.child)}function ih(e,n,i,l,d){if(dt(i)){var m=!0;Fi(n)}else m=!1;if(Nr(n,d),n.stateNode===null)no(e,n),Kf(n,i,l),kl(n,i,l,d),l=!0;else if(e===null){var x=n.stateNode,S=n.memoizedProps;x.props=S;var T=x.context,O=i.contextType;typeof O=="object"&&O!==null?O=Ct(O):(O=dt(i)?Wn:tt.current,O=br(n,O));var F=i.getDerivedStateFromProps,U=typeof F=="function"||typeof x.getSnapshotBeforeUpdate=="function";U||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(S!==l||T!==O)&&Gf(n,x,l,O),En=!1;var I=n.memoizedState;x.state=I,Ki(n,l,x,d),T=n.memoizedState,S!==l||I!==T||ct.current||En?(typeof F=="function"&&(bl(n,i,F,l),T=n.memoizedState),(S=En||qf(n,i,S,l,I,T,O))?(U||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=T),x.props=l,x.state=T,x.context=O,l=S):(typeof x.componentDidMount=="function"&&(n.flags|=4194308),l=!1)}else{x=n.stateNode,Sf(e,n),S=n.memoizedProps,O=n.type===n.elementType?S:It(n.type,S),x.props=O,U=n.pendingProps,I=x.context,T=i.contextType,typeof T=="object"&&T!==null?T=Ct(T):(T=dt(i)?Wn:tt.current,T=br(n,T));var G=i.getDerivedStateFromProps;(F=typeof G=="function"||typeof x.getSnapshotBeforeUpdate=="function")||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(S!==U||I!==T)&&Gf(n,x,l,T),En=!1,I=n.memoizedState,x.state=I,Ki(n,l,x,d);var Y=n.memoizedState;S!==U||I!==Y||ct.current||En?(typeof G=="function"&&(bl(n,i,G,l),Y=n.memoizedState),(O=En||qf(n,i,O,l,I,Y,T)||!1)?(F||typeof x.UNSAFE_componentWillUpdate!="function"&&typeof x.componentWillUpdate!="function"||(typeof x.componentWillUpdate=="function"&&x.componentWillUpdate(l,Y,T),typeof x.UNSAFE_componentWillUpdate=="function"&&x.UNSAFE_componentWillUpdate(l,Y,T)),typeof x.componentDidUpdate=="function"&&(n.flags|=4),typeof x.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof x.componentDidUpdate!="function"||S===e.memoizedProps&&I===e.memoizedState||(n.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||S===e.memoizedProps&&I===e.memoizedState||(n.flags|=1024),n.memoizedProps=l,n.memoizedState=Y),x.props=l,x.state=Y,x.context=T,l=O):(typeof x.componentDidUpdate!="function"||S===e.memoizedProps&&I===e.memoizedState||(n.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||S===e.memoizedProps&&I===e.memoizedState||(n.flags|=1024),l=!1)}return El(e,n,i,l,m,d)}function El(e,n,i,l,d,m){sh(e,n);var x=(n.flags&128)!==0;if(!l&&!x)return d&&cf(n,i,!1),cn(e,n,m);l=n.stateNode,xx.current=n;var S=x&&typeof i.getDerivedStateFromError!="function"?null:l.render();return n.flags|=1,e!==null&&x?(n.child=Cr(n,e.child,null,m),n.child=Cr(n,null,S,m)):at(e,n,S,m),n.memoizedState=l.state,d&&cf(n,i,!0),n.child}function oh(e){var n=e.stateNode;n.pendingContext?lf(e,n.pendingContext,n.pendingContext!==n.context):n.context&&lf(e,n.context,!1),cl(e,n.containerInfo)}function ah(e,n,i,l,d){return Tr(),rl(d),n.flags|=256,at(e,n,i,l),n.child}var Nl={dehydrated:null,treeContext:null,retryLane:0};function Pl(e){return{baseLanes:e,cachePool:null,transitions:null}}function lh(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),Ne(Ie,d&1),e===null)return nl(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}
vendor: 6,367 bytes, line 8
8,(l&1)===0&&m!==null?(m.childLanes=0,m.pendingProps=x):m=mo(x,l,0,null),e=tr(e,l,i,null),m.return=n,e.return=n,m.sibling=e,n.child=m,n.child.memoizedState=Pl(i),n.memoizedState=Nl,e):Rl(n,x));if(d=e.memoizedState,d!==null&&(S=d.dehydrated,S!==null))return wx(e,n,x,l,S,d,i);if(m){m=l.fallback,x=n.mode,d=e.child,S=d.sibling;var T={mode:"hidden",children:l.children};return(x&1)===0&&n.child!==d?(l=n.child,l.childLanes=0,l.pendingProps=T,n.deletions=null):(l=Mn(d,T),l.subtreeFlags=d.subtreeFlags&14680064),S!==null?m=Mn(S,m):(m=tr(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?Pl(i):{baseLanes:x.baseLanes|i,cachePool:null,transitions:x.transitions},m.memoizedState=x,m.childLanes=e.childLanes&~i,n.memoizedState=Nl,l}return m=e.child,e=m.sibling,l=Mn(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 Rl(e,n){return n=mo({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function to(e,n,i,l){return l!==null&&rl(l),Cr(n,e.child,null,i),e=Rl(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function wx(e,n,i,l,d,m,x){if(i)return n.flags&256?(n.flags&=-257,l=jl(Error(s(422))),to(e,n,x,l)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(m=l.fallback,d=n.mode,l=mo({mode:"visible",children:l.children},d,0,null),m=tr(m,d,x,null),m.flags|=2,l.return=n,m.return=n,l.sibling=m,n.child=l,(n.mode&1)!==0&&Cr(n,e.child,null,x),n.child.memoizedState=Pl(x),n.memoizedState=Nl,m);if((n.mode&1)===0)return to(e,n,x,null);if(d.data==="$!"){if(l=d.nextSibling&&d.nextSibling.dataset,l)var S=l.dgst;return l=S,m=Error(s(419)),l=jl(m,l,void 0),to(e,n,x,l)}if(S=(x&e.childLanes)!==0,ft||S){if(l=Ye,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,ln(e,d),Ut(l,e,d,-1))}return ql(),l=jl(Error(s(421))),to(e,n,x,l)}return d.data==="$?"?(n.flags|=128,n.child=e.child,n=Ox.bind(null,e),d._reactRetry=n,null):(e=m.treeContext,xt=kn(d.nextSibling),vt=n,Oe=!0,Dt=null,e!==null&&(jt[Tt++]=on,jt[Tt++]=an,jt[Tt++]=qn,on=e.id,an=e.overflow,qn=n),n=Rl(n,l.children),n.flags|=4096,n)}function uh(e,n,i){e.lanes|=n;var l=e.alternate;l!==null&&(l.lanes|=n),al(e.return,n,i)}function Al(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 ch(e,n,i){var l=n.pendingProps,d=l.revealOrder,m=l.tail;if(at(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&&uh(e,i,n);else if(e.tag===19)uh(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(Ne(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&&Gi(e)===null&&(d=i),i=i.sibling;i=d,i===null?(d=n.child,n.child=null):(d=i.sibling,i.sibling=null),Al(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&&Gi(e)===null){n.child=d;break}e=d.sibling,d.sibling=i,i=d,d=e}Al(n,!0,i,null,m);break;case"together":Al(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function no(e,n){(n.mode&1)===0&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function cn(e,n,i){if(e!==null&&(n.dependencies=e.dependencies),Xn|=n.lanes,(i&n.childLanes)===0)return null;if(e!==null&&n.child!==e.child)throw Error(s(153));if(n.child!==null){for(e=n.child,i=Mn(e,e.pendingProps),n.child=i,i.return=n;e.sibling!==null;)e=e.sibling,i=i.sibling=Mn(e,e.pendingProps),i.return=n;i.sibling=null}return n.child}function Sx(e,n,i){switch(n.tag){case 3:oh(n),Tr();break;case 5:jf(n);break;case 1:dt(n.type)&&Fi(n);break;case 4:cl(n,n.stateNode.containerInfo);break;case 10:var l=n.type._context,d=n.memoizedProps.value;Ne(Hi,l._currentValue),l._currentValue=d;break;case 13:if(l=n.memoizedState,l!==null)return l.dehydrated!==null?(Ne(Ie,Ie.current&1),n.flags|=128,null):(i&n.child.childLanes)!==0?lh(e,n,i):(Ne(Ie,Ie.current&1),e=cn(e,n,i),e!==null?e.sibling:null);Ne(Ie,Ie.current&1);break;case 19:if(l=(i&n.childLanes)!==0,(e.flags&128)!==0){if(l)return ch(e,n,i);n.flags|=128}if(d=n.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),Ne(Ie,Ie.current),l)break;return null;case 22:case 23:return n.lanes=0,rh(e,n,i)}return cn(e,n,i)}var dh,Ll,fh,hh;dh=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}},Ll=function(){},fh=function(e,n,i,l){var d=e.memoizedProps;if(d!==l){e=n.stateNode,Qn(Gt.current);var m=null;switch(i){case"input":d=aa(e,d),l=aa(e,l),m=[];break;case"select":d=q({},d,{value:void 0}),l=q({},l,{value:void 0}),m=[];break;case"textarea":d=ca(e,d),l=ca(e,l),m=[];break;default:typeof d.onClick!="function"&&typeof l.onClick=="function"&&(e.onclick=_i)}fa(i,l);var x;i=null;for(O in d)if(!l.hasOwnProperty(O)&&d.hasOwnProperty(O)&&d[O]!=null)if(O==="style"){var S=d[O];for(x in S)S.hasOwnProperty(x)&&(i||(i={}),i[x]="")}else O!=="dangerouslySetInnerHTML"&&O!=="children"&&O!=="suppressContentEditableWarning"&&O!=="suppressHydrationWarning"&&O!=="autoFocus"&&(a.hasOwnProperty(O)?m||(m=[]):(m=m||[]).push(O,null));for(O in l){var T=l[O];if(S=d?.[O],l.hasOwnProperty(O)&&T!==S&&(T!=null||S!=null))if(O==="style")if(S){for(x in S)!S.hasOwnProperty(x)||T&&T.hasOwnProperty(x)||(i||(i={}),i[x]="");for(x in T)T.hasOwnProperty(x)&&S[x]!==T[x]&&(i||(i={}
vendor: 9,285 bytes, line 8
8),i[x]=T[x])}else i||(m||(m=[]),m.push(O,i)),i=T;else O==="dangerouslySetInnerHTML"?(T=T?T.__html:void 0,S=S?S.__html:void 0,T!=null&&S!==T&&(m=m||[]).push(O,T)):O==="children"?typeof T!="string"&&typeof T!="number"||(m=m||[]).push(O,""+T):O!=="suppressContentEditableWarning"&&O!=="suppressHydrationWarning"&&(a.hasOwnProperty(O)?(T!=null&&O==="onScroll"&&Pe("scroll",e),m||S===T||(m=[])):(m=m||[]).push(O,T))}i&&(m=m||[]).push("style",i);var O=m;(n.updateQueue=O)&&(n.flags|=4)}},hh=function(e,n,i,l){i!==l&&(n.flags|=4)};function _s(e,n){if(!Oe)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 rt(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 bx(e,n,i){var l=n.pendingProps;switch(el(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return rt(n),null;case 1:return dt(n.type)&&Ii(),rt(n),null;case 3:return l=n.stateNode,Pr(),Re(ct),Re(tt),hl(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(zi(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,Dt!==null&&($l(Dt),Dt=null))),Ll(e,n),rt(n),null;case 5:dl(n);var d=Qn(Rs.current);if(i=n.type,e!==null&&n.stateNode!=null)fh(e,n,i,l,d),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!l){if(n.stateNode===null)throw Error(s(166));return rt(n),null}if(e=Qn(Gt.current),zi(n)){l=n.stateNode,i=n.type;var m=n.memoizedProps;switch(l[Kt]=n,l[Ts]=m,e=(n.mode&1)!==0,i){case"dialog":Pe("cancel",l),Pe("close",l);break;case"iframe":case"object":case"embed":Pe("load",l);break;case"video":case"audio":for(d=0;d<bs.length;d++)Pe(bs[d],l);break;case"source":Pe("error",l);break;case"img":case"image":case"link":Pe("error",l),Pe("load",l);break;case"details":Pe("toggle",l);break;case"input":qc(l,m),Pe("invalid",l);break;case"select":l._wrapperState={wasMultiple:!!m.multiple},Pe("invalid",l);break;case"textarea":Qc(l,m),Pe("invalid",l)}fa(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&&Mi(l.textContent,S,e),d=["children",S]):typeof S=="number"&&l.textContent!==""+S&&(m.suppressHydrationWarning!==!0&&Mi(l.textContent,S,e),d=["children",""+S]):a.hasOwnProperty(x)&&S!=null&&x==="onScroll"&&Pe("scroll",l)}switch(i){case"input":We(l),Gc(l,m,!0);break;case"textarea":We(l),Xc(l);break;case"select":case"option":break;default:typeof m.onClick=="function"&&(l.onclick=_i)}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=Jc(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[Kt]=n,e[Ts]=l,dh(e,n,!1,!1),n.stateNode=e;e:{switch(x=ha(i,l),i){case"dialog":Pe("cancel",e),Pe("close",e),d=l;break;case"iframe":case"object":case"embed":Pe("load",e),d=l;break;case"video":case"audio":for(d=0;d<bs.length;d++)Pe(bs[d],e);d=l;break;case"source":Pe("error",e),d=l;break;case"img":case"image":case"link":Pe("error",e),Pe("load",e),d=l;break;case"details":Pe("toggle",e),d=l;break;case"input":qc(e,l),d=aa(e,l),Pe("invalid",e);break;case"option":d=l;break;case"select":e._wrapperState={wasMultiple:!!l.multiple},d=q({},l,{value:void 0}),Pe("invalid",e);break;case"textarea":Qc(e,l),d=ca(e,l),Pe("invalid",e);break;default:d=l}fa(i,d),S=d;for(m in S)if(S.hasOwnProperty(m)){var T=S[m];m==="style"?td(e,T):m==="dangerouslySetInnerHTML"?(T=T?T.__html:void 0,T!=null&&Zc(e,T)):m==="children"?typeof T=="string"?(i!=="textarea"||T!=="")&&rs(e,T):typeof T=="number"&&rs(e,""+T):m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&m!=="autoFocus"&&(a.hasOwnProperty(m)?T!=null&&m==="onScroll"&&Pe("scroll",e):T!=null&&_(e,m,T,x))}switch(i){case"input":We(e),Gc(e,l,!1);break;case"textarea":We(e),Xc(e);break;case"option":l.value!=null&&e.setAttribute("value",""+je(l.value));break;case"select":e.multiple=!!l.multiple,m=l.value,m!=null?cr(e,!!l.multiple,m,!1):l.defaultValue!=null&&cr(e,!!l.multiple,l.defaultValue,!0);break;default:typeof d.onClick=="function"&&(e.onclick=_i)}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 rt(n),null;case 6:if(e&&n.stateNode!=null)hh(e,n,e.memoizedProps,l);else{if(typeof l!="string"&&n.stateNode===null)throw Error(s(166));if(i=Qn(Rs.current),Qn(Gt.current),zi(n)){if(l=n.stateNode,i=n.memoizedProps,l[Kt]=n,(m=l.nodeValue!==i)&&(e=vt,e!==null))switch(e.tag){case 3:Mi(l.nodeValue,i,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Mi(l.nodeValue,i,(e.mode&1)!==0)}m&&(n.flags|=4)}else l=(i.nodeType===9?i:i.ownerDocument).createTextNode(l),l[Kt]=n,n.stateNode=l}return rt(n),null;case 13:if(Re(Ie),l=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Oe&&xt!==null&&(n.mode&1)!==0&&(n.flags&128)===0)gf(),Tr(),n.flags|=98560,m=!1;else if(m=zi(n),l!==null&&l.dehydrated!==null){if(e===null){if(!m)throw Error(s(318));if(m=n.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(s(317));m[Kt]=n}else Tr(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;rt(n),m=!1}else Dt!==null&&($l(Dt),Dt=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?Ge===0&&(Ge=3):ql())),n.updateQueue!==null&&(n.flags|=4),rt(n),null);case 4:return Pr(),Ll(e,n),e===null&&ks(n.stateNode.containerInfo),rt(n),null;case 10:return ol(n.type._context),rt(n),null;case 17:return dt(n.type)&&Ii(),rt(n),null;case 19:if(Re(Ie),m=n.memoizedState,m===null)return rt(n),null;if(l=(n.flags&128)!==0,x=m.rendering,x===null)if(l)_s(m,!1);else{if(Ge!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(x=Gi(e),x!==null){for(n.flags|=128,_s(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 Ne(Ie,Ie.current&1|2),n.child}e=e.sibling}m.tail!==null&&ze()>Or&&(n.flags|=128,l=!0,_s(m,!1),n.lanes=4194304)}else{if(!l)if(e=Gi(x),e!==null){if(n.flags|=128,l=!0,i=e.updateQueue,i!==null&&(n.updateQueue=i,n.flags|=4),_s(m,!0),m.tail===null&&m.tailMode==="hidden"&&!x.alternate&&!Oe)return rt(n),null}else 2*ze()-m.renderingStartTime>Or&&i!==1073741824&&(n.flags|=128,l=!0,_s(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=ze(),n.sibling=null,i=Ie.current,Ne(Ie,l?i&1|2:i&1),n):(rt(n),null);case 22:case 23:return Wl(),l=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==l&&(n.flags|=8192),l&&(n.mode&1)!==0?(wt&1073741824)!==0&&(rt(n),n.subtreeFlags&6&&(n.flags|=8192)):rt(n),null;case 24:return null;case 25:return null}throw Error(s(156,n.tag))}function kx(e,n){switch(el(n),n.tag){case 1:return dt(n.type)&&Ii(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return Pr(),Re(ct),Re(tt),hl(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 5:return dl(n),null;case 13:if(Re(Ie),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(s(340));Tr()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return Re(Ie),null;case 4:return Pr(),null;case 10:return ol(n.type._context),null;case 22:case 23:return Wl(),null;case 24:return null;default:return null}}var ro=!1,st=!1,jx=typeof WeakSet=="function"?WeakSet:Set,Q=null;function Ar(e,n){var i=e.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(l){Ue(e,n,l)}else i.current=null}function Ol(e,n,i){try{i()}catch(l){Ue(e,n,l)}}var ph=!1;function Tx(e,n){if(Wa=ki,e=Wd(),Ia(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;
vendor: 4,247 bytes, line 8
8var d=l.anchorOffset,m=l.focusNode;l=l.focusOffset;try{i.nodeType,m.nodeType}catch{i=null;break e}var x=0,S=-1,T=-1,O=0,F=0,U=e,I=null;t:for(;;){for(var G;U!==i||d!==0&&U.nodeType!==3||(S=x+d),U!==m||l!==0&&U.nodeType!==3||(T=x+l),U.nodeType===3&&(x+=U.nodeValue.length),(G=U.firstChild)!==null;)I=U,U=G;for(;;){if(U===e)break t;if(I===i&&++O===d&&(S=x),I===m&&++F===l&&(T=x),(G=U.nextSibling)!==null)break;U=I,I=U.parentNode}U=G}i=S===-1||T===-1?null:{start:S,end:T}}else i=null}i=i||{start:0,end:0}}else i=null;for(qa={focusedElem:e,selectionRange:i},ki=!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 Y=n.alternate;if((n.flags&1024)!==0)switch(n.tag){case 0:case 11:case 15:break;case 1:if(Y!==null){var X=Y.memoizedProps,$e=Y.memoizedState,A=n.stateNode,N=A.getSnapshotBeforeUpdate(n.elementType===n.type?X:It(n.type,X),$e);A.__reactInternalSnapshotBeforeUpdate=N}break;case 3:var L=n.stateNode.containerInfo;L.nodeType===1?L.textContent="":L.nodeType===9&&L.documentElement&&L.removeChild(L.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(s(163))}}catch($){Ue(n,n.return,$)}if(e=n.sibling,e!==null){e.return=n.return,Q=e;break}Q=n.return}return Y=ph,ph=!1,Y}function Ds(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&&Ol(n,i,m)}d=d.next}while(d!==l)}}function so(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 Ml(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 mh(e){var n=e.alternate;n!==null&&(e.alternate=null,mh(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Kt],delete n[Ts],delete n[Ya],delete n[ax],delete n[lx])),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 gh(e){return e.tag===5||e.tag===3||e.tag===4}function yh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||gh(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 _l(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=_i));else if(l!==4&&(e=e.child,e!==null))for(_l(e,n,i),e=e.sibling;e!==null;)_l(e,n,i),e=e.sibling}function Dl(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(Dl(e,n,i),e=e.sibling;e!==null;)Dl(e,n,i),e=e.sibling}var Je=null,Ft=!1;function Pn(e,n,i){for(i=i.child;i!==null;)vh(e,n,i),i=i.sibling}function vh(e,n,i){if(qt&&typeof qt.onCommitFiberUnmount=="function")try{qt.onCommitFiberUnmount(yi,i)}catch{}switch(i.tag){case 5:st||Ar(i,n);case 6:var l=Je,d=Ft;Je=null,Pn(e,n,i),Je=l,Ft=d,Je!==null&&(Ft?(e=Je,i=i.stateNode,e.nodeType===8?e.parentNode.removeChild(i):e.removeChild(i)):Je.removeChild(i.stateNode));break;case 18:Je!==null&&(Ft?(e=Je,i=i.stateNode,e.nodeType===8?Qa(e.parentNode,i):e.nodeType===1&&Qa(e,i),ps(e)):Qa(Je,i.stateNode));break;case 4:l=Je,d=Ft,Je=i.stateNode.containerInfo,Ft=!0,Pn(e,n,i),Je=l,Ft=d;break;case 0:case 11:case 14:case 15:if(!st&&(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)&&Ol(i,n,x),d=d.next}while(d!==l)}Pn(e,n,i);break;case 1:if(!st&&(Ar(i,n),l=i.stateNode,typeof l.componentWillUnmount=="function"))try{l.props=i.memoizedProps,l.state=i.memoizedState,l.componentWillUnmount()}catch(S){Ue(i,n,S)}Pn(e,n,i);break;case 21:Pn(e,n,i);break;case 22:i.mode&1?(st=(l=st)||i.memoizedState!==null,Pn(e,n,i),st=l):Pn(e,n,i);break;default:Pn(e,n,i)}}function xh(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var i=e.stateNode;
vendor: 11,571 bytes, line 8
8i===null&&(i=e.stateNode=new jx),n.forEach(function(l){var d=Mx.bind(null,e,l);i.has(l)||(i.add(l),l.then(d,d))})}}function Vt(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:Je=S.stateNode,Ft=!1;break e;case 3:Je=S.stateNode.containerInfo,Ft=!0;break e;case 4:Je=S.stateNode.containerInfo,Ft=!0;break e}S=S.return}if(Je===null)throw Error(s(160));vh(m,x,d),Je=null,Ft=!1;var T=d.alternate;T!==null&&(T.return=null),d.return=null}catch(O){Ue(d,n,O)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)wh(n,e),n=n.sibling}function wh(e,n){var i=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Vt(n,e),Yt(e),l&4){try{Ds(3,e,e.return),so(3,e)}catch(X){Ue(e,e.return,X)}try{Ds(5,e,e.return)}catch(X){Ue(e,e.return,X)}}break;case 1:Vt(n,e),Yt(e),l&512&&i!==null&&Ar(i,i.return);break;case 5:if(Vt(n,e),Yt(e),l&512&&i!==null&&Ar(i,i.return),e.flags&32){var d=e.stateNode;try{rs(d,"")}catch(X){Ue(e,e.return,X)}}if(l&4&&(d=e.stateNode,d!=null)){var m=e.memoizedProps,x=i!==null?i.memoizedProps:m,S=e.type,T=e.updateQueue;if(e.updateQueue=null,T!==null)try{S==="input"&&m.type==="radio"&&m.name!=null&&Kc(d,m),ha(S,x);var O=ha(S,m);for(x=0;x<T.length;x+=2){var F=T[x],U=T[x+1];F==="style"?td(d,U):F==="dangerouslySetInnerHTML"?Zc(d,U):F==="children"?rs(d,U):_(d,F,U,O)}switch(S){case"input":la(d,m);break;case"textarea":Yc(d,m);break;case"select":var I=d._wrapperState.wasMultiple;d._wrapperState.wasMultiple=!!m.multiple;var G=m.value;G!=null?cr(d,!!m.multiple,G,!1):I!==!!m.multiple&&(m.defaultValue!=null?cr(d,!!m.multiple,m.defaultValue,!0):cr(d,!!m.multiple,m.multiple?[]:"",!1))}d[Ts]=m}catch(X){Ue(e,e.return,X)}}break;case 6:if(Vt(n,e),Yt(e),l&4){if(e.stateNode===null)throw Error(s(162));d=e.stateNode,m=e.memoizedProps;try{d.nodeValue=m}catch(X){Ue(e,e.return,X)}}break;case 3:if(Vt(n,e),Yt(e),l&4&&i!==null&&i.memoizedState.isDehydrated)try{ps(n.containerInfo)}catch(X){Ue(e,e.return,X)}break;case 4:Vt(n,e),Yt(e);break;case 13:Vt(n,e),Yt(e),d=e.child,d.flags&8192&&(m=d.memoizedState!==null,d.stateNode.isHidden=m,!m||d.alternate!==null&&d.alternate.memoizedState!==null||(Vl=ze())),l&4&&xh(e);break;case 22:if(F=i!==null&&i.memoizedState!==null,e.mode&1?(st=(O=st)||F,Vt(n,e),st=O):Vt(n,e),Yt(e),l&8192){if(O=e.memoizedState!==null,(e.stateNode.isHidden=O)&&!F&&(e.mode&1)!==0)for(Q=e,F=e.child;F!==null;){for(U=Q=F;Q!==null;){switch(I=Q,G=I.child,I.tag){case 0:case 11:case 14:case 15:Ds(4,I,I.return);break;case 1:Ar(I,I.return);var Y=I.stateNode;if(typeof Y.componentWillUnmount=="function"){l=I,i=I.return;try{n=l,Y.props=n.memoizedProps,Y.state=n.memoizedState,Y.componentWillUnmount()}catch(X){Ue(l,i,X)}}break;case 5:Ar(I,I.return);break;case 22:if(I.memoizedState!==null){kh(U);continue}}G!==null?(G.return=I,Q=G):kh(U)}F=F.sibling}e:for(F=null,U=e;;){if(U.tag===5){if(F===null){F=U;try{d=U.stateNode,O?(m=d.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none"):(S=U.stateNode,T=U.memoizedProps.style,x=T!=null&&T.hasOwnProperty("display")?T.display:null,S.style.display=ed("display",x))}catch(X){Ue(e,e.return,X)}}}else if(U.tag===6){if(F===null)try{U.stateNode.nodeValue=O?"":U.memoizedProps}catch(X){Ue(e,e.return,X)}}else if((U.tag!==22&&U.tag!==23||U.memoizedState===null||U===e)&&U.child!==null){U.child.return=U,U=U.child;continue}if(U===e)break e;for(;U.sibling===null;){if(U.return===null||U.return===e)break e;F===U&&(F=null),U=U.return}F===U&&(F=null),U.sibling.return=U.return,U=U.sibling}}break;case 19:Vt(n,e),Yt(e),l&4&&xh(e);break;case 21:break;default:Vt(n,e),Yt(e)}}function Yt(e){var n=e.flags;if(n&2){try{e:{for(var i=e.return;i!==null;){if(gh(i)){var l=i;break e}i=i.return}throw Error(s(160))}switch(l.tag){case 5:var d=l.stateNode;l.flags&32&&(rs(d,""),l.flags&=-33);var m=yh(e);Dl(e,m,d);break;case 3:case 4:var x=l.stateNode.containerInfo,S=yh(e);_l(e,S,x);break;default:throw Error(s(161))}}catch(T){Ue(e,e.return,T)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function Cx(e,n,i){Q=e,Sh(e)}function Sh(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||ro;if(!x){var S=d.alternate,T=S!==null&&S.memoizedState!==null||st;S=ro;var O=st;if(ro=x,(st=T)&&!O)for(Q=d;Q!==null;)x=Q,T=x.child,x.tag===22&&x.memoizedState!==null?jh(d):T!==null?(T.return=x,Q=T):jh(d);for(;m!==null;)Q=m,Sh(m),m=m.sibling;Q=d,ro=S,st=O}bh(e)}else(d.subtreeFlags&8772)!==0&&m!==null?(m.return=d,Q=m):bh(e)}}function bh(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:st||so(5,n);break;case 1:var l=n.stateNode;if(n.flags&4&&!st)if(i===null)l.componentDidMount();else{var d=n.elementType===n.type?i.memoizedProps:It(n.type,i.memoizedProps);l.componentDidUpdate(d,i.memoizedState,l.__reactInternalSnapshotBeforeUpdate)}var m=n.updateQueue;m!==null&&kf(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}kf(n,x,i)}break;case 5:var S=n.stateNode;if(i===null&&n.flags&4){i=S;var T=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":T.autoFocus&&i.focus();break;case"img":T.src&&(i.src=T.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var O=n.alternate;if(O!==null){var F=O.memoizedState;if(F!==null){var U=F.dehydrated;U!==null&&ps(U)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(s(163))}st||n.flags&512&&Ml(n)}catch(I){Ue(n,n.return,I)}}if(n===e){Q=null;break}if(i=n.sibling,i!==null){i.return=n.return,Q=i;break}Q=n.return}}function kh(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 jh(e){for(;Q!==null;){var n=Q;try{switch(n.tag){case 0:case 11:case 15:var i=n.return;try{so(4,n)}catch(T){Ue(n,i,T)}break;case 1:var l=n.stateNode;if(typeof l.componentDidMount=="function"){var d=n.return;try{l.componentDidMount()}catch(T){Ue(n,d,T)}}var m=n.return;try{Ml(n)}catch(T){Ue(n,m,T)}break;case 5:var x=n.return;try{Ml(n)}catch(T){Ue(n,x,T)}}}catch(T){Ue(n,n.return,T)}if(n===e){Q=null;break}var S=n.sibling;if(S!==null){S.return=n.return,Q=S;break}Q=n.return}}var Ex=Math.ceil,io=B.ReactCurrentDispatcher,Il=B.ReactCurrentOwner,Nt=B.ReactCurrentBatchConfig,Se=0,Ye=null,qe=null,Ze=0,wt=0,Lr=jn(0),Ge=0,Is=null,Xn=0,oo=0,Fl=0,Fs=null,ht=null,Vl=0,Or=1/0,dn=null,ao=!1,Ul=null,Rn=null,lo=!1,An=null,uo=0,Vs=0,Bl=null,co=-1,fo=0;function lt(){return(Se&6)!==0?ze():co!==-1?co:co=ze()}function Ln(e){return(e.mode&1)===0?1:(Se&2)!==0&&Ze!==0?Ze&-Ze:cx.transition!==null?(fo===0&&(fo=gd()),fo):(e=Te,e!==0||(e=window.event,e=e===void 0?16:Td(e.type)),e)}function Ut(e,n,i,l){if(50<Vs)throw Vs=0,Bl=null,Error(s(185));us(e,i,l),((Se&2)===0||e!==Ye)&&(e===Ye&&((Se&2)===0&&(oo|=i),Ge===4&&On(e,Ze)),pt(e,l),i===1&&Se===0&&(n.mode&1)===0&&(Or=ze()+500,Vi&&Cn()))}function pt(e,n){var i=e.callbackNode;cv(e,n);var l=wi(e,e===Ye?Ze:0);if(l===0)i!==null&&hd(i),e.callbackNode=null,e.callbackPriority=0;else if(n=l&-l,e.callbackPriority!==n){if(i!=null&&hd(i),n===1)e.tag===0?ux(Ch.bind(null,e)):df(Ch.bind(null,e)),ix(function(){(Se&6)===0&&Cn()}),i=null;else{switch(yd(l)){case 1:i=wa;break;case 4:i=pd;break;case 16:i=gi;break;case 536870912:i=md;break;default:i=gi}i=Mh(i,Th.bind(null,e))}e.callbackPriority=n,e.callbackNode=i}}function Th(e,n){if(co=-1,fo=0,(Se&6)!==0)throw Error(s(327));var i=e.callbackNode;if(Mr()&&e.callbackNode!==i)return null;var l=wi(e,e===Ye?Ze:0);if(l===0)return null;if((l&30)!==0||(l&e.expiredLanes)!==0||n)n=ho(e,l);else{n=l;var d=Se;Se|=2;var m=Nh();(Ye!==e||Ze!==n)&&(dn=null,Or=ze()+500,Zn(e,n));do try{Rx();break}catch(S){Eh(e,S)}while(!0);il(),io.current=m,Se=d,qe!==null?n=0:(Ye=null,Ze=0,n=Ge)}if(n!==0){if(n===2&&(d=Sa(e),d!==0&&(l=d,n=zl(e,d))),n===1)throw i=Is,Zn(e,0),On(e,l),pt(e,ze()),i;if(n===6)On(e,l);else{if(d=e.current.alternate,(l&30)===0&&!Nx(d)&&(n=ho(e,l),n===2&&(m=Sa(e),m!==0&&(l=m,n=zl(e,m))),n===1))throw i=Is,Zn(e,0),On(e,l),pt(e,ze()),i;switch(e.finishedWork=d,e.finishedLanes=l,n){case 0:case 1:throw Error(s(345));case 2:er(e,ht,dn);break;case 3:if(On(e,l),(l&130023424)===l&&(n=Vl+500-ze(),10<n)){if(wi(e,0)!==0)break;if(d=e.suspendedLanes,(d&l)!==l){lt(),e.pingedLanes|=e.suspendedLanes&d;break}e.timeoutHandle=Ga(er.bind(null,e,ht,dn),n);break}er(e,ht,dn);break;case 4:if(On(e,l),(l&4194240)===l)break;for(n=e.eventTimes,d=-1;0<l;){var x=31-Mt(l);m=1<<x,x=n[x],x>d&&(d=x),l&=~m}if(l=d,l=ze()-l,l=(120>l?120:480>l?480:1080>l?1080:1920>l?1920:3e3>l?3e3:4320>l?4320:1960*Ex(l/1960))-l,10<l){e.timeoutHandle=Ga(er.bind(null,e,ht,dn),l);break}er(e,ht,dn);break;case 5:er(e,ht,dn);break;default:throw Error(s(329))}}}return pt(e,ze()),e.callbackNode===i?Th.bind(null,e):null}function zl(e,n){var i=Fs;return e.current.memoizedState.isDehydrated&&(Zn(e,n).flags|=256),e=ho(e,n),e!==2&&(n=ht,ht=i,n!==null&&$l(n)),e}function $l(e){ht===null?ht=e:ht.push.apply(ht,e)}function Nx(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(!_t(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 On(e,n){for(n&=~Fl,n&=~oo,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var i=31-Mt(n),l=1<<i;e[i]=-1,n&=~l}}function Ch(e){if((Se&6)!==0)throw Error(s(327));Mr();var n=wi(e,0);if((n&1)===0)return pt(e,ze()),null;var i=ho(e,n);if(e.tag!==0&&i===2){var l=Sa(e);l!==0&&(n=l,i=zl(e,l))}if(i===1)throw i=Is,Zn(e,0),On(e,n),pt(e,ze()),i;if(i===6)throw Error(s(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,er(e,ht,dn),pt(e,ze()),null}function Hl(e,n){var i=Se;Se|=1;try{return e(n)}finally{Se=i,Se===0&&(Or=ze()+500,Vi&&Cn())}}function Jn(e){An!==null&&An.tag===0&&(Se&6)===0&&Mr();var n=Se;Se|=1;var i=Nt.transition,l=Te;try{if(Nt.transition=null,Te=1,e)return e()}finally{Te=l,Nt.transition=i,Se=n,(Se&6)===0&&Cn()}}function Wl(){wt=Lr.current,Re(Lr)}function Zn(e,n){e.finishedWork=null,e.finishedLanes=0;var i=e.timeoutHandle;if(i!==-1&&(e.timeoutHandle=-1,sx(i)),qe!==null)for(i=qe.return;i!==null;){var l=i;switch(el(l),l.tag){case 1:l=l.type.childContextTypes,l!=null&&Ii();break;case 3:Pr(),Re(ct),Re(tt),hl();break;case 5:dl(l);break;case 4:Pr();break;case 13:Re(Ie);break;case 19:Re(Ie);break;case 10:ol(l.type._context);break;case 22:case 23:Wl()}i=i.return}if(Ye=e,qe=e=Mn(e.current,null),Ze=wt=n,Ge=0,Is=null,Fl=oo=Xn=0,ht=Fs=null,Gn!==null){for(n=0;n<Gn.length;n++)if(i=Gn[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}Gn=null}return e}function Eh(e,n){do{var i=qe;try{if(il(),Qi.current=Zi,Yi){for(var l=Fe.memoizedState;l!==null;){var d=l.queue;d!==null&&(d.pending=null),l=l.next}Yi=!1}if(Yn=0,Qe=Ke=Fe=null,As=!1,Ls=0,Il.current=null,i===null||i.return===null){Ge=1,Is=n,qe=null;break}e:{var m=e,x=i.return,S=i,T=n;if(n=Ze,S.flags|=32768,T!==null&&typeof T=="object"&&typeof T.then=="function"){var O=T,F=S,U=F.tag;if((F.mode&1)===0&&(U===0||U===11||U===15)){var I=F.alternate;I?(F.updateQueue=I.updateQueue,F.memoizedState=I.memoizedState,F.lanes=I.lanes):(F.updateQueue=null,F.memoizedState=null)}var G=Jf(x);
vendor: 6,082 bytes, line 8
8if(G!==null){G.flags&=-257,Zf(G,x,S,m,n),G.mode&1&&Xf(m,O,n),n=G,T=O;var Y=n.updateQueue;if(Y===null){var X=new Set;X.add(T),n.updateQueue=X}else Y.add(T);break e}else{if((n&1)===0){Xf(m,O,n),ql();break e}T=Error(s(426))}}else if(Oe&&S.mode&1){var $e=Jf(x);if($e!==null){($e.flags&65536)===0&&($e.flags|=256),Zf($e,x,S,m,n),rl(Rr(T,S));break e}}m=T=Rr(T,S),Ge!==4&&(Ge=2),Fs===null?Fs=[m]:Fs.push(m),m=x;do{switch(m.tag){case 3:m.flags|=65536,n&=-n,m.lanes|=n;var A=Qf(m,T,n);bf(m,A);break e;case 1:S=T;var N=m.type,L=m.stateNode;if((m.flags&128)===0&&(typeof N.getDerivedStateFromError=="function"||L!==null&&typeof L.componentDidCatch=="function"&&(Rn===null||!Rn.has(L)))){m.flags|=65536,n&=-n,m.lanes|=n;var $=Yf(m,S,n);bf(m,$);break e}}m=m.return}while(m!==null)}Rh(i)}catch(J){n=J,qe===i&&i!==null&&(qe=i=i.return);continue}break}while(!0)}function Nh(){var e=io.current;return io.current=Zi,e===null?Zi:e}function ql(){(Ge===0||Ge===3||Ge===2)&&(Ge=4),Ye===null||(Xn&268435455)===0&&(oo&268435455)===0||On(Ye,Ze)}function ho(e,n){var i=Se;Se|=2;var l=Nh();(Ye!==e||Ze!==n)&&(dn=null,Zn(e,n));do try{Px();break}catch(d){Eh(e,d)}while(!0);if(il(),Se=i,io.current=l,qe!==null)throw Error(s(261));return Ye=null,Ze=0,Ge}function Px(){for(;qe!==null;)Ph(qe)}function Rx(){for(;qe!==null&&!tv();)Ph(qe)}function Ph(e){var n=Oh(e.alternate,e,wt);e.memoizedProps=e.pendingProps,n===null?Rh(e):qe=n,Il.current=null}function Rh(e){var n=e;do{var i=n.alternate;if(e=n.return,(n.flags&32768)===0){if(i=bx(i,n,wt),i!==null){qe=i;return}}else{if(i=kx(i,n),i!==null){i.flags&=32767,qe=i;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ge=6,qe=null;return}}if(n=n.sibling,n!==null){qe=n;return}qe=n=e}while(n!==null);Ge===0&&(Ge=5)}function er(e,n,i){var l=Te,d=Nt.transition;try{Nt.transition=null,Te=1,Ax(e,n,i,l)}finally{Nt.transition=d,Te=l}return null}function Ax(e,n,i,l){do Mr();while(An!==null);if((Se&6)!==0)throw Error(s(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(s(177));e.callbackNode=null,e.callbackPriority=0;var m=i.lanes|i.childLanes;if(dv(e,m),e===Ye&&(qe=Ye=null,Ze=0),(i.subtreeFlags&2064)===0&&(i.flags&2064)===0||lo||(lo=!0,Mh(gi,function(){return Mr(),null})),m=(i.flags&15990)!==0,(i.subtreeFlags&15990)!==0||m){m=Nt.transition,Nt.transition=null;var x=Te;Te=1;var S=Se;Se|=4,Il.current=null,Tx(e,i),wh(i,e),Xv(qa),ki=!!Wa,qa=Wa=null,e.current=i,Cx(i),nv(),Se=S,Te=x,Nt.transition=m}else e.current=i;if(lo&&(lo=!1,An=e,uo=d),m=e.pendingLanes,m===0&&(Rn=null),iv(i.stateNode),pt(e,ze()),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(ao)throw ao=!1,e=Ul,Ul=null,e;return(uo&1)!==0&&e.tag!==0&&Mr(),m=e.pendingLanes,(m&1)!==0?e===Bl?Vs++:(Vs=0,Bl=e):Vs=0,Cn(),null}function Mr(){if(An!==null){var e=yd(uo),n=Nt.transition,i=Te;try{if(Nt.transition=null,Te=16>e?16:e,An===null)var l=!1;else{if(e=An,An=null,uo=0,(Se&6)!==0)throw Error(s(331));var d=Se;for(Se|=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 T=0;T<S.length;T++){var O=S[T];for(Q=O;Q!==null;){var F=Q;switch(F.tag){case 0:case 11:case 15:Ds(8,F,m)}var U=F.child;if(U!==null)U.return=F,Q=U;else for(;Q!==null;){F=Q;var I=F.sibling,G=F.return;if(mh(F),F===O){Q=null;break}if(I!==null){I.return=G,Q=I;break}Q=G}}}var Y=m.alternate;if(Y!==null){var X=Y.child;if(X!==null){Y.child=null;do{var $e=X.sibling;X.sibling=null,X=$e}while(X!==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:Ds(9,m,m.return)}var A=m.sibling;if(A!==null){A.return=m.return,Q=A;break e}Q=m.return}}var N=e.current;for(Q=N;Q!==null;){x=Q;var L=x.child;if((x.subtreeFlags&2064)!==0&&L!==null)L.return=x,Q=L;else e:for(x=N;Q!==null;){if(S=Q,(S.flags&2048)!==0)try{switch(S.tag){case 0:case 11:case 15:so(9,S)}}catch(J){Ue(S,S.return,J)}if(S===x){Q=null;break e}var $=S.sibling;if($!==null){$.return=S.return,Q=$;break e}Q=S.return}}if(Se=d,Cn(),qt&&typeof qt.onPostCommitFiberRoot=="function")try{qt.onPostCommitFiberRoot(yi,e)}catch{}l=!0}return l}finally{Te=i,Nt.transition=n}}return!1}function Ah(e,n,i){n=Rr(i,n),n=Qf(e,n,1),e=Nn(e,n,1),n=lt(),e!==null&&(us(e,1,n),pt(e,n))}function Ue(e,n,i){if(e.tag===3)Ah(e,e,i);else for(;n!==null;){if(n.tag===3){Ah(n,e,i);break}else if(n.tag===1){var l=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Rn===null||!Rn.has(l))){e=Rr(i,e),e=Yf(n,e,1),n=Nn(n,e,1),e=lt(),n!==null&&(us(n,1,e),pt(n,e));break}}n=n.return}}function Lx(e,n,i){var l=e.pingCache;l!==null&&l.delete(n),n=lt(),e.pingedLanes|=e.suspendedLanes&i,Ye===e&&(Ze&i)===i&&(Ge===4||Ge===3&&(Ze&130023424)===Ze&&500>ze()-Vl?Zn(e,0):Fl|=i),pt(e,n)}function Lh(e,n){n===0&&((e.mode&1)===0?n=1:(n=xi,xi<<=1,(xi&130023424)===0&&(xi=4194304)));var i=lt();e=ln(e,n),e!==null&&(us(e,n,i),pt(e,i))}function Ox(e){var n=e.memoizedState,i=0;n!==null&&(i=n.retryLane),Lh(e,i)}function Mx(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(s(314))}l!==null&&l.delete(n),Lh(e,i)}var Oh;Oh=function(e,n,i){if(e!==null)if(e.memoizedProps!==n.pendingProps||ct.current)ft=!0;else{if((e.lanes&i)===0&&(n.flags&128)===0)return ft=!1,Sx(e,n,i);ft=(e.flags&131072)!==0}else ft=!1,Oe&&(n.flags&1048576)!==0&&ff(n,Bi,n.index);switch(n.lanes=0,n.tag){case 2:var l=n.type;no(e,n),e=n.pendingProps;var d=br(n,tt.current);Nr(n,i),d=gl(null,n,l,e,d,i);var m=yl();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,dt(l)?(m=!0,Fi(n)):m=!1,n.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,ul(n),d.updater=eo,n.stateNode=d,d._reactInternals=n,kl(n,l,e,i),n=El(null,n,l,!0,m,i)):(n.tag=0,Oe&&m&&Za(n),at(null,n,d,i),n=n.child),n;case 16:l=n.elementType;
vendor: 1,279 bytes, line 8
8e:{switch(no(e,n),e=n.pendingProps,d=l._init,l=d(l._payload),n.type=l,d=n.tag=Dx(l),e=It(l,e),d){case 0:n=Cl(null,n,l,e,i);break e;case 1:n=ih(null,n,l,e,i);break e;case 11:n=eh(null,n,l,e,i);break e;case 14:n=th(null,n,l,It(l.type,e),i);break e}throw Error(s(306,l,""))}return n;case 0:return l=n.type,d=n.pendingProps,d=n.elementType===l?d:It(l,d),Cl(e,n,l,d,i);case 1:return l=n.type,d=n.pendingProps,d=n.elementType===l?d:It(l,d),ih(e,n,l,d,i);case 3:e:{if(oh(n),e===null)throw Error(s(387));l=n.pendingProps,m=n.memoizedState,d=m.element,Sf(e,n),Ki(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=Rr(Error(s(423)),n),n=ah(e,n,l,i,d);break e}else if(l!==d){d=Rr(Error(s(424)),n),n=ah(e,n,l,i,d);break e}else for(xt=kn(n.stateNode.containerInfo.firstChild),vt=n,Oe=!0,Dt=null,i=xf(n,null,l,i),n.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(Tr(),l===d){n=cn(e,n,i);break e}at(e,n,l,i)}n=n.child}return n;case 5:return jf(n),e===null&&nl(n),l=n.type,d=n.pendingProps,m=e!==null?e.memoizedProps:null,x=d.children,Ka(l,d)?x=null:m!==null&&Ka(l,m)&&(n.flags|=32),sh(e,n
vendor: 7,247 bytes, line 8
8),at(e,n,x,i),n.child;case 6:return e===null&&nl(n),null;case 13:return lh(e,n,i);case 4:return cl(n,n.stateNode.containerInfo),l=n.pendingProps,e===null?n.child=Cr(n,null,l,i):at(e,n,l,i),n.child;case 11:return l=n.type,d=n.pendingProps,d=n.elementType===l?d:It(l,d),eh(e,n,l,d,i);case 7:return at(e,n,n.pendingProps,i),n.child;case 8:return at(e,n,n.pendingProps.children,i),n.child;case 12:return at(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,Ne(Hi,l._currentValue),l._currentValue=x,m!==null)if(_t(m.value,x)){if(m.children===d.children&&!ct.current){n=cn(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 T=S.firstContext;T!==null;){if(T.context===l){if(m.tag===1){T=un(-1,i&-i),T.tag=2;var O=m.updateQueue;if(O!==null){O=O.shared;var F=O.pending;F===null?T.next=T:(T.next=F.next,F.next=T),O.pending=T}}m.lanes|=i,T=m.alternate,T!==null&&(T.lanes|=i),al(m.return,i,n),S.lanes|=i;break}T=T.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(s(341));x.lanes|=i,S=x.alternate,S!==null&&(S.lanes|=i),al(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}at(e,n,d.children,i),n=n.child}return n;case 9:return d=n.type,l=n.pendingProps.children,Nr(n,i),d=Ct(d),l=l(d),n.flags|=1,at(e,n,l,i),n.child;case 14:return l=n.type,d=It(l,n.pendingProps),d=It(l.type,d),th(e,n,l,d,i);case 15:return nh(e,n,n.type,n.pendingProps,i);case 17:return l=n.type,d=n.pendingProps,d=n.elementType===l?d:It(l,d),no(e,n),n.tag=1,dt(l)?(e=!0,Fi(n)):e=!1,Nr(n,i),Kf(n,l,d),kl(n,l,d,i),El(null,n,l,!0,e,i);case 19:return ch(e,n,i);case 22:return rh(e,n,i)}throw Error(s(156,n.tag))};function Mh(e,n){return fd(e,n)}function _x(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 Pt(e,n,i,l){return new _x(e,n,i,l)}function Kl(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Dx(e){if(typeof e=="function")return Kl(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ie)return 11;if(e===ce)return 14}return 2}function Mn(e,n){var i=e.alternate;return i===null?(i=Pt(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 po(e,n,i,l,d,m){var x=2;if(l=e,typeof e=="function")Kl(e)&&(x=1);else if(typeof e=="string")x=5;else e:switch(e){case ee:return tr(i.children,d,m,n);case K:x=8,d|=8;break;case ne:return e=Pt(12,i,n,d|2),e.elementType=ne,e.lanes=m,e;case le:return e=Pt(13,i,n,d),e.elementType=le,e.lanes=m,e;case Z:return e=Pt(19,i,n,d),e.elementType=Z,e.lanes=m,e;case pe:return mo(i,d,m,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ve:x=10;break e;case Ee:x=9;break e;case ie:x=11;break e;case ce:x=14;break e;case Le:x=16,l=null;break e}throw Error(s(130,e==null?e:typeof e,""))}return n=Pt(x,i,n,d),n.elementType=e,n.type=l,n.lanes=m,n}function tr(e,n,i,l){return e=Pt(7,e,l,n),e.lanes=i,e}function mo(e,n,i,l){return e=Pt(22,e,l,n),e.elementType=pe,e.lanes=i,e.stateNode={isHidden:!1},e}function Gl(e,n,i){return e=Pt(6,e,null,n),e.lanes=i,e}function Ql(e,n,i){return n=Pt(4,e.children!==null?e.children:[],e.key,n),n.lanes=i,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Ix(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=ba(0),this.expirationTimes=ba(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ba(0),this.identifierPrefix=l,this.onRecoverableError=d,this.mutableSourceEagerHydrationData=null}function Yl(e,n,i,l,d,m,x,S,T){return e=new Ix(e,n,i,S,T),n===1?(n=1,m===!0&&(n|=8)):n=0,m=Pt(3,null,null,n),e.current=m,m.stateNode=e,m.memoizedState={element:l,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},ul(m),e}function Fx(e,n,i){var l=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:W,key:l==null?null:""+l,children:e,containerInfo:n,implementation:i}}function _h(e){if(!e)return Tn;e=e._reactInternals;e:{if($n(e)!==e||e.tag!==1)throw Error(s(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(dt(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(s(171))}if(e.tag===1){var i=e.type;if(dt(i))return uf(e,i,n)}return n}function Dh(e,n,i,l,d,m,x,S,T){return e=Yl(i,l,!0,e,d,m,x,S,T),e.context=_h(null),i=e.current,l=lt(),d=Ln(i),m=un(l,d),m.callback=n??null,Nn(i,m,d),e.current.lanes=d,us(e,d,l),pt(e,l),e}function go(e,n,i,l){var d=n.current,m=lt(),x=Ln(d);return i=_h(i),n.context===null?n.context=i:n.pendingContext=i,n=un(m,x),n.payload={element:e},l=l===void 0?null:l,l!==null&&(n.callback=l),e=Nn(d,n,x),e!==null&&(Ut(e,d,x,m),qi(e,d,x)),x}function yo(e){return e=e.current,e.child?(e.child.tag===5,e.child.stateNode):null}function Ih(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<n?i:n}}function Xl(e,n){Ih(e,n),(e=e.alternate)&&Ih(e,n)}function Vx(){return null}var Fh=typeof reportError=="function"?reportError:function(e){console.error(e)};function Jl(e){this._internalRoot=e}vo.prototype.render=Jl.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(s(409));go(e,n,null,null)},vo.prototype.unmount=Jl.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Jn(function(){go(null,e,null,null)}),n[rn]=null}};function vo(e){this._internalRoot=e}vo.prototype.unstable_scheduleHydration=function(e){if(e){var n=wd();e={blockedOn:null,target:e,priority:n};for(var i=0;i<wn.length&&n!==0&&n<wn[i].priority;i++);wn.splice(i,0,e),i===0&&kd(e)}};function Zl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function xo(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Vh(){}function Ux(e,n,i,l,d){if(d){if(typeof l=="function"){var m=l;l=function(){var O=yo(x);m.call(O)}}var x=Dh(n,l,e,0,null,!1,!1,"",Vh);return e._reactRootContainer=x,e[rn]=x.current,ks(e.nodeType===8?e.parentNode:e),Jn(),x}for(;
vendor: 4,412 bytes, line 8
8d=e.lastChild;)e.removeChild(d);if(typeof l=="function"){var S=l;l=function(){var O=yo(T);S.call(O)}}var T=Yl(e,0,!1,null,null,!1,!1,"",Vh);return e._reactRootContainer=T,e[rn]=T.current,ks(e.nodeType===8?e.parentNode:e),Jn(function(){go(n,T,i,l)}),T}function wo(e,n,i,l,d){var m=i._reactRootContainer;if(m){var x=m;if(typeof d=="function"){var S=d;d=function(){var T=yo(x);S.call(T)}}go(n,x,e,d)}else x=Ux(i,n,e,d,l);return yo(x)}vd=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var i=ls(n.pendingLanes);i!==0&&(ka(n,i|1),pt(n,ze()),(Se&6)===0&&(Or=ze()+500,Cn()))}break;case 13:Jn(function(){var l=ln(e,1);if(l!==null){var d=lt();Ut(l,e,1,d)}}),Xl(e,1)}},ja=function(e){if(e.tag===13){var n=ln(e,134217728);if(n!==null){var i=lt();Ut(n,e,134217728,i)}Xl(e,134217728)}},xd=function(e){if(e.tag===13){var n=Ln(e),i=ln(e,n);if(i!==null){var l=lt();Ut(i,e,n,l)}Xl(e,n)}},wd=function(){return Te},Sd=function(e,n){var i=Te;try{return Te=e,n()}finally{Te=i}},ga=function(e,n,i){switch(n){case"input":if(la(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=Di(l);if(!d)throw Error(s(90));Ot(l),la(l,d)}}}break;case"textarea":Yc(e,i);break;case"select":n=i.value,n!=null&&cr(e,!!i.multiple,n,!1)}},id=Hl,od=Jn;var Bx={usingClientEntryPoint:!1,Events:[Cs,wr,Di,rd,sd,Hl]},Us={findFiberByHostInstance:Hn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},zx={bundleType:Us.bundleType,version:Us.version,rendererPackageName:Us.rendererPackageName,rendererConfig:Us.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:B.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=cd(e),e===null?null:e.stateNode},findFiberByHostInstance:Us.findFiberByHostInstance||Vx,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 So=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!So.isDisabled&&So.supportsFiber)try{yi=So.inject(zx),qt=So}catch{}}return mt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Bx,mt.createPortal=function(e,n){var i=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Zl(n))throw Error(s(200));return Fx(e,n,null,i)},mt.createRoot=function(e,n){if(!Zl(e))throw Error(s(299));var i=!1,l="",d=Fh;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(l=n.identifierPrefix),n.onRecoverableError!==void 0&&(d=n.onRecoverableError)),n=Yl(e,1,!1,null,null,i,!1,l,d),e[rn]=n.current,ks(e.nodeType===8?e.parentNode:e),new Jl(n)},mt.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(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=cd(n),e=e===null?null:e.stateNode,e},mt.flushSync=function(e){return Jn(e)},mt.hydrate=function(e,n,i){if(!xo(n))throw Error(s(200));return wo(null,e,n,!0,i)},mt.hydrateRoot=function(e,n,i){if(!Zl(e))throw Error(s(405));var l=i!=null&&i.hydratedSources||null,d=!1,m="",x=Fh;if(i!=null&&(i.unstable_strictMode===!0&&(d=!0),i.identifierPrefix!==void 0&&(m=i.identifierPrefix),i.onRecoverableError!==void 0&&(x=i.onRecoverableError)),n=Dh(n,null,e,1,i??null,d,!1,m,x),e[rn]=n.current,ks(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 vo(n)},mt.render=function(e,n,i){if(!xo(n))throw Error(s(200));return wo(null,e,n,!1,i)},mt.unmountComponentAtNode=function(e){if(!xo(e))throw Error(s(40));return e._reactRootContainer?(Jn(function(){wo(null,null,e,!1,function(){e._reactRootContainer=null,e[rn]=null})}),!0):!1},mt.unstable_batchedUpdates=Hl,mt.unstable_renderSubtreeIntoContainer=function(e,n,i,l){if(!xo(i))throw Error(s(200));if(e==null||e._reactInternals===void 0)throw Error(s(38));return wo(e,n,i,!1,l)},mt.version="18.3.1-next-f1338f8080-20240426",mt}var Kh;
8function Yx(){if(Kh)return nu.exports;Kh=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(t){console.error(t)}}return r(),nu.exports=Qx(),nu.exports}var Gh;function Xx(){if(Gh)return bo;Gh=1;var r=Yx();return bo.createRoot=r.createRoot,bo.hydrateRoot=r.hydrateRoot,bo}var Jx=Xx();const Zx=Qr(Jx);var ec=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,_m=/^[\\/]{2}/;function e0(r,t){return t+r.replace(/\\/g,"/")}var Qh="popstate";function Yh(r){return typeof r=="object"&&r!=null&&"pathname"in r&&"search"in r&&"hash"in r&&"state"in r&&"key"in r}function t0(r={}){function t(o,a){let u=a.state?.masked,{pathname:c,search:h,hash:p}=u||o.location;return Pu("",{pathname:c,search:h,hash:p},a.state&&a.state.usr||null,a.state&&a.state.key||"default",u?{pathname:o.location.pathname,search:o.location.search,hash:o.location.hash}:void 0)}function s(o,a){return typeof a=="string"?a:ei(a)}return r0(t,s,null,r)}function De(r,t){if(r===!1||r===null||typeof r>"u")throw new Error(t)}function Ht(r,t){if(!r){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function n0(){return Math.random().toString(36).substring(2,10)}function Xh(r,t){return{usr:r.state,key:r.key,idx:t,masked:r.mask?{pathname:r.pathname,search:r.search,hash:r.hash}:void 0}}function Pu(r,t,s=null,o,a){return{pathname:typeof r=="string"?r:r.pathname,search:"",hash:"",...typeof t=="string"?Yr(t):t,state:s,key:t&&t.key||o||n0(),mask:a}}function ei({pathname:r="/",search:t="",hash:s=""}){return t&&t!=="?"&&(r+=t.charAt(0)==="?"?t:"?"+t),s&&s!=="#"&&(r+=s.charAt(0)==="#"?s:"#"+s),r}function Yr(r){let t={};if(r){let s=r.indexOf("#");s>=0&&(t.hash=r.substring(s),r=r.substring(0,s));let o=r.indexOf("?");o>=0&&(t.search=r.substring(o),r=r.substring(0,o)),r&&(t.pathname=r)}return t}function r0(r,t,s,o={}){let{window:a=document.defaultView,v5Compat:u=!1}=o,c=a.history,h="POP",p=null,g=y();g==null&&(g=0,c.replaceState({...c.state,idx:g},""));function y(){return(c.state||{idx:null}).idx}function v(){h="POP";let j=y(),R=j==null?null:j-g;g=j,p&&p({action:h,location:E.location,delta:R})}function w(j,R){h="PUSH";let M=Yh(j)?j:Pu(E.location,j,R);g=y()+1;let _=Xh(M,g),B=E.createHref(M.mask||M);try{c.pushState(_,"",B)}catch(V){if(V instanceof DOMException&&V.name==="DataCloneError")throw V;a.location.assign(B)}u&&p&&p({action:h,location:E.location,delta:1})}function k(j,R){h="REPLACE";let M=Yh(j)?j:Pu(E.location,j,R);g=y();let _=Xh(M,g),B=E.createHref(M.mask||M);c.replaceState(_,"",B),u&&p&&p({action:h,location:E.location,delta:0})}function C(j){return s0(a,j)}let E={get action(){return h},get location(){return r(a,c)},listen(j){if(p)throw new Error("A history only accepts one active listener");return a.addEventListener(Qh,v),p=j,()=>{a.removeEventListener(Qh,v),p=null}},createHref(j){return t(a,j)},createURL:C,encodeLocation(j){let R=C(j);return{pathname:R.pathname,search:R.search,hash:R.hash}},push:w,replace:k,go(j){return c.go(j)}};return E}function s0(r,t,s=!1){let o="http://localhost";r&&(o=r.location.origin!=="null"?r.location.origin:r.location.href),De(o,"No window.location.(origin|href) available to create URL");let a=typeof t=="string"?t:ei(t);return a=a.replace(/ $/,"%20"),!s&&_m.test(a)&&(a=o+a),new URL(a,o)}function Dm(r,t,s="/"){return i0(r,t,s,!1)}function i0(r,t,s,o,a){let u=typeof t=="string"?Yr(t):t,c=mn(u.pathname||"/",s);if(c==null)return null;let h=o0(r),p=null,g=y0(c);for(let y=0;p==null&&y<h.length;++y)p=g0(h[y],g,o);return p}function o0(r){let t=Im(r);return a0(t),t}function Im(r,t=[],s=[],o="",a=!1){let u=(c,h,p=a,g)=>{let y={relativePath:g===void 0?c.path||"":g,caseSensitive:c.caseSensitive===!0,childrenIndex:h,route:c};if(y.relativePath.startsWith("/")){if(!y.relativePath.startsWith(o)&&p)return;De(y.relativePath.startsWith(o),`Absolute route path "${y.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),y.relativePath=y.relativePath.slice(o.length)}let v=$t([o,y.relativePath]),w=s.concat(y);c.children&&c.children.length>0&&(De(c.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),Im(c.children,t,w,v,p)),!(c.path==null&&!c.index)&&t.push({path:v,score:p0(v,c.index),routesMeta:w.map((k,C)=>{let[E,j]=Um(k.relativePath,k.caseSensitive,C===w.length-1);return{...k,matcher:E,compiledParams:j}})})};return r.forEach((c,h)=>{if(c.path===""||!c.path?.includes("?"))u(c,h);else for(let p of Fm(c.path))u(c,h,!0,p)}),t}function Fm(r){let t=r.split("/");if(t.length===0)return[];let[s,...o]=t,a=s.endsWith("?"),u=s.replace(/\?$/,"");if(o.length===0)return a?[u,""]:[u];let c=Fm(o.join("/")),h=[];return h.push(...c.map(p=>p===""?u:[u,p].join("/"))),a&&h.push(...c),h.map(p=>r.startsWith("/")&&p===""?"/":p)}function a0(r){r.sort((t,s)=>t.score!==s.score?s.score-t.score:m0(t.routesMeta.map(o=>o.childrenIndex),s.routesMeta.map(o=>o.childrenIndex)))}var l0=/^:[\w-]+$/,u0=3,c0=2,d0=1,f0=10,h0=-2,Jh=r=>r==="*";function p0(r,t){let s=r.split("/"),o=s.length;return s.some(Jh)&&(o+=h0),t&&(o+=c0),s.filter(a=>!Jh(a)).reduce((a,u)=>a+(l0.test(u)?u0:u===""?d0:f0),o)}function m0(r,t){return r.length===t.length&&r.slice(0,-1).every((o,a)=>
8o===t[a])?r[r.length-1]-t[t.length-1]:0}function g0(r,t,s=!1){let{routesMeta:o}=r,a={},u="/",c=[];for(let h=0;h<o.length;++h){let p=o[h],g=h===o.length-1,y=u==="/"?t:t.slice(u.length)||"/",v={path:p.relativePath,caseSensitive:p.caseSensitive,end:g},w=p.matcher&&p.compiledParams?Vm(v,y,p.matcher,p.compiledParams):_o(v,y),k=p.route;if(!w&&g&&s&&!o[o.length-1].route.index&&(w=_o({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},y)),!w)return null;Object.assign(a,w.params),c.push({params:a,pathname:$t([u,w.pathname]),pathnameBase:w0($t([u,w.pathnameBase])),route:k}),w.pathnameBase!=="/"&&(u=$t([u,w.pathnameBase]))}return c}function _o(r,t){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[s,o]=Um(r.path,r.caseSensitive,r.end);return Vm(r,t,s,o)}function Vm(r,t,s,o){let a=t.match(s);if(!a)return null;let u=a[0],c=u.replace(/(.)\/+$/,"$1"),h=a.slice(1);return{params:o.reduce((g,{paramName:y,isOptional:v},w)=>{if(y==="*"){let C=h[w]||"";c=u.slice(0,u.length-C.length).replace(/(.)\/+$/,"$1")}const k=h[w];return v&&!k?g[y]=void 0:g[y]=(k||"").replace(/%2F/g,"/"),g},{}),pathname:u,pathnameBase:c,pattern:r}}function Um(r,t=!1,s=!0){Ht(r==="*"||!r.endsWith("*")||r.endsWith("/*"),`Route path "${r}" will be treated as if it were "${r.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${r.replace(/\*$/,"/*")}".`);let o=[],a="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,h,p,g,y)=>{if(o.push({paramName:h,isOptional:p!=null}),p){let v=y.charAt(g+c.length);return v&&v!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return r.endsWith("*")?(o.push({paramName:"*"}),a+=r==="*"||r==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?a+="\\/*$":r!==""&&r!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),o]}function y0(r){try{return r.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Ht(!1,`The URL path "${r}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),r}}function mn(r,t){if(t==="/")return r;if(!r.toLowerCase().startsWith(t.toLowerCase()))return null;let s=t.endsWith("/")?t.length-1:t.length,o=r.charAt(s);return o&&o!=="/"?null:r.slice(s)||"/"}function v0(r,t="/"){let{pathname:s,search:o="",hash:a=""}=typeof r=="string"?Yr(r):r,u;return s?(s=Bm(s),s.startsWith("/")?u=Zh(s.substring(1),"/"):u=Zh(s,t)):u=t,{pathname:u,search:S0(o),hash:b0(a)}}function Zh(r,t){let s=Do(t).split("/");return r.split("/").forEach(a=>{a===".."?s.length>1&&s.pop():a!=="."&&s.push(a)}),s.length>1?s.join("/"):"/"}function iu(r,t,s,o){return`Cannot include a '${r}' character in a manually specified \`to.${t}\` field [${JSON.stringify(o)}].  Please separate it out to the \`to.${s}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function x0(r){return r.filter((t,s)=>s===0||t.route.path&&t.route.path.length>0)}function tc(r){let t=x0(r);return t.map((s,o)=>o===t.length-1?s.pathname:s.pathnameBase)}function Yo(r,t,s,o=!1){let a;typeof r=="string"?a=Yr(r):(a={...r},De(!a.pathname||!a.pathname.includes("?"),iu("?","pathname","search",a)),De(!a.pathname||!a.pathname.includes("#"),iu("#","pathname","hash",a)),De(!a.search||!a.search.includes("#"),iu("#","search","hash",a)));let u=r===""||a.pathname==="",c=u?"/":a.pathname,h;if(c==null)h=s;else{let v=t.length-1;if(!o&&c.startsWith("..")){let w=c.split("/");for(;w[0]==="..";)w.shift(),v-=1;a.pathname=w.join("/")}h=v>=0?t[v]:"/"}let p=v0(a,h),g=c&&c!=="/"&&c.endsWith("/"),y=(u||c===".")&&s.endsWith("/");return!p.pathname.endsWith("/")&&(g||y)&&(p.pathname+="/"),p}var Bm=r=>r.replace(/[\\/]{2,}/g,"/"),$t=r=>Bm(r.join("/")),Do=r=>r.replace(/\/+$/,""),w0=r=>Do(r).replace(/^\/*/,"/"),S0=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,b0=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r,k0=class{constructor(r,t,s,o=!1){this.status=r,this.statusText=t||"",this.internal=o,s instanceof Error?(this.data=s.toString(),this.error=s):this.data=s}};function j0(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}function T0(r){let t=r.map(s=>
8s.route.path).filter(Boolean);return $t(t)||"/"}var zm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function $m(r,t){let s=r;if(typeof s!="string"||!ec.test(s))return{absoluteURL:void 0,isExternal:!1,to:s};let o=s,a=!1;if(zm)try{let u=new URL(window.location.href),c=_m.test(s)?new URL(e0(s,u.protocol)):new URL(s),h=mn(c.pathname,t);c.origin===u.origin&&h!=null?s=h+c.search+c.hash:a=!0}catch{Ht(!1,`<Link to="${s}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:o,isExternal:a,to:s}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Hm=["POST","PUT","PATCH","DELETE"];new Set(Hm);var C0=["GET",...Hm];new Set(C0);var E0=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function N0(r){try{return E0.includes(new URL(r).protocol)}catch{return!1}}var Xr=b.createContext(null);Xr.displayName="DataRouter";var Xo=b.createContext(null);Xo.displayName="DataRouterState";var Wm=b.createContext(!1);function P0(){return b.useContext(Wm)}var qm=b.createContext({isTransitioning:!1});qm.displayName="ViewTransition";var R0=b.createContext(new Map);R0.displayName="Fetchers";var A0=b.createContext(null);A0.displayName="Await";var kt=b.createContext(null);kt.displayName="Navigation";var ai=b.createContext(null);ai.displayName="Location";var en=b.createContext({outlet:null,matches:[],isDataRoute:!1});en.displayName="Route";var nc=b.createContext(null);nc.displayName="RouteError";var Km="REACT_ROUTER_ERROR",L0="REDIRECT",O0="ROUTE_ERROR_RESPONSE";function M0(r){if(r.startsWith(`${Km}:${L0}:{`))try{let t=JSON.parse(r.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function _0(r){if(r.startsWith(`${Km}:${O0}:{`))try{let t=JSON.parse(r.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new k0(t.status,t.statusText,t.data)}catch{}}function D0(r,{relative:t}={}){De(Jr(),"useHref() may be used only in the context of a <Router> component.");let{basename:s,navigator:o}=b.useContext(kt),{hash:a,pathname:u,search:c}=li(r,{relative:t}),h=u;return s!=="/"&&(h=u==="/"?s:$t([s,u])),o.createHref({pathname:h,search:c,hash:a})}function Jr(){return b.useContext(ai)!=null}function Lt(){return De(Jr(),"useLocation() may be used only in the context of a <Router> component."),b.useContext(ai).location}var Gm="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Qm(r){b.useContext(kt).static||b.useLayoutEffect(r)}function Jo(){let{isDataRoute:r}=b.useContext(en);return r?Q0():I0()}function I0(){De(Jr(),"useNavigate() may be used only in the context of a <Router> component.");let r=b.useContext(Xr),{basename:t,navigator:s}=b.useContext(kt),{matches:o}=b.useContext(en),{pathname:a}=Lt(),u=JSON.stringify(tc(o)),c=b.useRef(!1);return Qm(()=>{c.current=!0}),b.useCallback((p,g={})=>{if(Ht(c.current,Gm),!c.current)return;if(typeof p=="number"){s.go(p);return}let y=Yo(p,JSON.parse(u),a,g.relative==="path");r==null&&t!=="/"&&(y.pathname=y.pathname==="/"?t:$t([t,y.pathname])),(g.replace?s.replace:s.push)(y,g.state,g)},[t,s,u,a,r])}b.createContext(null);function li(r,{relative:t}={}){let{matches:s}=b.useContext(en),{pathname:o}=Lt(),a=JSON.stringify(tc(s));return b.useMemo(()=>Yo(r,JSON.parse(a),o,t==="path"),[r,a,o,t])}function F0(r,t){return Ym(r,t)}function Ym(r,t,s){De(Jr(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=b.useContext(kt),{matches:a}=b.useContext(en),u=a[a.length-1],c=u?u.params:{},h=u?u.pathname:"/",p=u?u.pathnameBase:"/",g=u&&u.route;{let j=g&&g.path||"";Jm(h,!g||j.endsWith("*")||j.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${j}">) 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="${j}"> to <Route path="${j==="/"?"*":`${j}/*`}">.`)}let y=Lt(),v;if(t){let j=typeof t=="string"?Yr(t):t;De(p==="/"||j.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 "${j.pathname}" was given in the \`location\` prop.`),v=j}else v=y;let w=v.pathname||"/",k=w;if(p!=="/"){let j=p.replace(/^\//,"").split("/");k="/"+w.replace(/^\//,"").split("/").slice(j.length).join("/")}let C=s&&s.state.matches.length?s.state.matches.map(j=>Object.assign(j,{route:s.manifest[j.route.id]||j.route})):Dm(r,{pathname:k});Ht(g||C!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),Ht(C==null||C[C.length-1].route.element!==void 0||C[C.length-1].route.Component!==void 0||C[C.length-1].route.lazy!==void 0,`Matched leaf route at location "${v.pathname}${v.search}${v.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 E=$0(C&&C.map(j=>Object.assign({},j,{params:Object.assign({},c,j.params),pathname:$t([p,o.encodeLocation?o.encodeLocation(j.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:j.pathname]),pathnameBase:j.pathnameBase==="/"?p:$t([p,o.encodeLocation?o.encodeLocation(j.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:j.pathnameBase])})),a,s);return t&&E?b.createElement(ai.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...v},navigationType:"POP"}},E):E}function V0(){let r=G0(),t=j0(r)?`${r.status} ${r.statusText}`:r instanceof Error?r.message:JSON.stringify(r),s=r instanceof Error?r.stack:null,o="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:o},u={padding:"2px 4px",backgroundColor:o},c=null;return console.error("Error handled by React Router default ErrorBoundary:",r),c=b.createElement(b.Fragment,null,b.createElement("p",null,"💿 Hey developer 👋"),b.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",b.createElement("code",{style:u},"ErrorBoundary")," or"," ",b.createElement("code",{style:u},"errorElement")," prop on your route.")),b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application 
10Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),s?b.createElement("pre",{style:a},s):null,c)}var U0=b.createElement(V0,null),Xm=class extends b.Component{constructor(r){super(r),this.state={location:r.location,revalidation:r.revalidation,error:r.error}}static getDerivedStateFromError(r){return{error:r}}static getDerivedStateFromProps(r,t){return t.location!==r.location||t.revalidation!=="idle"&&r.revalidation==="idle"?{error:r.error,location:r.location,revalidation:r.revalidation}:{error:r.error!==void 0?r.error:t.error,location:t.location,revalidation:r.revalidation||t.revalidation}}componentDidCatch(r,t){this.props.onError?this.props.onError(r,t):console.error("React Router caught the following error during render",r)}render(){let r=this.state.error;if(this.context&&typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){const s=_0(r.digest);s&&(r=s)}let t=r!==void 0?b.createElement(en.Provider,{value:this.props.routeContext},b.createElement(nc.Provider,{value:r,children:this.props.component})):this.props.children;return this.context?b.createElement(B0,{error:r},t):t}};Xm.contextType=Wm;var ou=new WeakMap;function B0({children:r,error:t}){let{basename:s}=b.useContext(kt);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let o=M0(t.digest);if(o){let a=ou.get(t);if(a)throw a;let u=$m(o.location,s),c=u.absoluteURL||u.to;if(N0(c))throw new Error("Invalid redirect location");if(zm&&!ou.get(t))if(u.isExternal||o.reloadDocument)window.location.href=c;else{const h=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(u.to,{replace:o.replace}));throw ou.set(t,h),h}return b.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c}`})}}return r}function z0({routeContext:r,match:t,children:s}){let o=b.useContext(Xr);return o&&o.static&&o.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=t.route.id),b.createElement(en.Provider,{value:r},s)}function $0(r,t=[],s){let o=s?.state;if(r==null){if(!o)return null;if(o.errors)r=o.matches;else if(t.length===0&&!o.initialized&&o.matches.length>0)r=o.matches;else return null}let a=r,u=o?.errors;if(u!=null){let y=a.findIndex(v=>v.route.id&&u?.[v.route.id]!==void 0);De(y>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(u).join(",")}`),a=a.slice(0,Math.min(a.length,y+1))}let c=!1,h=-1;if(s&&o){c=o.renderFallback;for(let y=0;y<a.length;y++){let v=a[y];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(h=y),v.route.id){let{loaderData:w,errors:k}=o,C=v.route.loader&&!w.hasOwnProperty(v.route.id)&&(!k||k[v.route.id]===void 0);if(v.route.lazy||C){s.isStatic&&(c=!0),h>=0?a=a.slice(0,h+1):a=[a[0]];break}}}}let p=s?.onError,g=o&&p?(y,v)=>{p(y,{location:o.location,params:o.matches?.[0]?.params??{},pattern:T0(o.matches),errorInfo:v})}:void 0;return a.reduceRight((y,v,w)=>{let k,C=!1,E=null,j=null;o&&(k=u&&v.route.id?u[v.route.id]:void 0,E=v.route.errorElement||U0,c&&(h<0&&w===0?(Jm("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),C=!0,j=null):h===w&&(C=!0,j=v.route.hydrateFallbackElement||null)));let R=t.concat(a.slice(0,w+1)),M=()=>{let _;return k?_=E:C?_=j:v.route.Component?_=b.createElement(v.route.Component,null):v.route.element?_=v.route.element:_=y,b.createElement(z0,{match:v,routeContext:{outlet:y,matches:R,isDataRoute:o!=null},children:_})};return o&&(v.route.ErrorBoundary||v.route.errorElement||w===0)?b.createElement(Xm,{location:o.location,revalidation:o.revalidation,component:E,error:k,children:M(),routeContext:{outlet:null,matches:R,isDataRoute:!0},onError:g}):M()},null)}function rc(r){return`${r} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function H0(r){let t=b.useContext(Xr);return De(t,rc(r)),t}function W0(r){let t=b.useContext(Xo);return De(t,rc(r)),t}function q0(r){let t=b.useContext(en);return De(t,rc(r)),t}function sc(r){let t=q0(r),s=t.matches[t.matches.length-1];return De(s.route.id,`${r} can only be used on routes that contain a unique "id"`),s.route.id}function K0(){return sc("useRouteId")}function G0(){let r=b.useContext(nc),t=W0("useRouteError"),s=sc("useRouteError");return r!==void 0?r:t.errors?.[s]}function Q0(){let{router:r}=H0("useNavigate"),t=sc("useNavigate"),s=b.useRef(!1);return Qm(()=>{s.current=!0}),b.useCallback(async(a,u={})=>{Ht(s.current,Gm),s.current&&(typeof a=="number"?await r.navigate(a):await r.navigate(a,{fromRouteId:t,...u}))},[r,t])}var ep={};function Jm(r,t,s){!t&&!ep[r]&&(ep[r]=!0,Ht(!1,s))}b.memo(Y0);function Y0({routes:r,manifest:t,future:s,state:o,isStatic:a,onError:u}){return Ym(r,void 0,{manifest:t,state:o,isStatic:a,onError:u})}function X0({to:r,replace:t,state:s,relative:o}){De(Jr(),"<Navigate> may be used only in the context of a <Router> component.");let{static:a}=b.useContext(kt);Ht(!a,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:u}=b.useContext(en),{pathname:c}=Lt(),h=Jo(),p=Yo(r,tc(u),c,o==="path"),g=JSON.stringify(p);return b.useEffect(()=>{h(JSON.parse(g),{replace:t,state:s,relative:o})},[h,g,o,t,s]),null}function Po(r){De(!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 J0({basename:r="/",children:t=null,location:s,navigationType:o="POP",navigator:a,static:u=!1,useTransitions:c}){De(!Jr(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let h=r.replace(/^\/*/,"/"),p=b.useMemo(()=>({basename:h,navigator:a,static:u,useTransitions:c,future:{}}),[h,a,u,c]);typeof s=="string"&&(s=Yr(s));let{pathname:g="/",search:y="",hash:v="",state:w=null,key:k="default",mask:C}
10=s,E=b.useMemo(()=>{let j=mn(g,h);return j==null?null:{location:{pathname:j,search:y,hash:v,state:w,key:k,mask:C},navigationType:o}},[h,g,y,v,w,k,o,C]);return Ht(E!=null,`<Router basename="${h}"> is not able to match the URL "${g}${y}${v}" because it does not start with the basename, so the <Router> won't render anything.`),E==null?null:b.createElement(kt.Provider,{value:p},b.createElement(ai.Provider,{children:t,value:E}))}function Z0({children:r,location:t}){return F0(Ru(r),t)}function Ru(r,t=[]){let s=[];return b.Children.forEach(r,(o,a)=>{if(!b.isValidElement(o))return;let u=[...t,a];if(o.type===b.Fragment){s.push.apply(s,Ru(o.props.children,u));return}De(o.type===Po,`[${typeof o.type=="string"?o.type:o.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),De(!o.props.index||!o.props.children,"An index route cannot have child routes.");let c={id:o.props.id||u.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,middleware:o.props.middleware,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(c.children=Ru(o.props.children,u)),s.push(c)}),s}var Ro="get",Ao="application/x-www-form-urlencoded";function Zo(r){return typeof HTMLElement<"u"&&r instanceof HTMLElement}function ew(r){return Zo(r)&&r.tagName.toLowerCase()==="button"}function tw(r){return Zo(r)&&r.tagName.toLowerCase()==="form"}function nw(r){return Zo(r)&&r.tagName.toLowerCase()==="input"}function rw(r){return!!(r.metaKey||r.altKey||r.ctrlKey||r.shiftKey)}function sw(r,t){return r.button===0&&(!t||t==="_self")&&!rw(r)}var ko=null;function iw(){if(ko===null)try{new FormData(document.createElement("form"),0),ko=!1}catch{ko=!0}return ko}var ow=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function au(r){return r!=null&&!ow.has(r)?(Ht(!1,`"${r}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Ao}"`),null):r}function aw(r,t){let s,o,a,u,c;if(tw(r)){let h=r.getAttribute("action");o=h?mn(h,t):null,s=r.getAttribute("method")||Ro,a=au(r.getAttribute("enctype"))||Ao,u=new FormData(r)}else if(ew(r)||nw(r)&&(r.type==="submit"||r.type==="image")){let h=r.form;if(h==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=r.getAttribute("formaction")||h.getAttribute("action");if(o=p?mn(p,t):null,s=r.getAttribute("formmethod")||h.getAttribute("method")||Ro,a=au(r.getAttribute("formenctype"))||au(h.getAttribute("enctype"))||Ao,u=new FormData(h,r),!iw()){let{name:g,type:y,value:v}=r;if(y==="image"){let w=g?`${g}.`:"";u.append(`${w}x`,"0"),u.append(`${w}y`,"0")}else g&&u.append(g,v)}}else{if(Zo(r))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');s=Ro,o=null,a=Ao,c=r}return u&&a==="text/plain"&&(c=u,u=void 0),{action:o,method:s.toLowerCase(),encType:a,formData:u,body:c}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function ic(r,t){if(r===!1||r===null||typeof r>"u")throw new Error(t)}function Zm(r,t,s,o){let a=typeof r=="string"?new URL(r,typeof window>"u"?"server://singlefetch/":window.location.origin):r;return s?a.pathname.endsWith("/")?a.pathname=`${a.pathname}_.${o}`:a.pathname=`${a.pathname}.${o}`:a.pathname==="/"?a.pathname=`_root.${o}`:t&&mn(a.pathname,t)==="/"?a.pathname=`${Do(t)}/_root.${o}`:a.pathname=`${Do(a.pathname)}.${o}`,a}async function lw(r,t){if(r.id in t)return t[r.id];try{let s=await import(r.module);return t[r.id]=s,s}catch(s){return console.error(`Error loading route module \`${r.module}\`, reloading page...`),console.error(s),window.__reactRouterContext&&window.__reactRouterContext.
10isSpaMode,window.location.reload(),new Promise(()=>{})}}function uw(r){return r==null?!1:r.href==null?r.rel==="preload"&&typeof r.imageSrcSet=="string"&&typeof r.imageSizes=="string":typeof r.rel=="string"&&typeof r.href=="string"}async function cw(r,t,s){let o=await Promise.all(r.map(async a=>{let u=t.routes[a.route.id];if(u){let c=await lw(u,s);return c.links?c.links():[]}return[]}));return pw(o.flat(1).filter(uw).filter(a=>a.rel==="stylesheet"||a.rel==="preload").map(a=>a.rel==="stylesheet"?{...a,rel:"prefetch",as:"style"}:{...a,rel:"prefetch"}))}function tp(r,t,s,o,a,u){let c=(p,g)=>s[g]?p.route.id!==s[g].route.id:!0,h=(p,g)=>s[g].pathname!==p.pathname||s[g].route.path?.endsWith("*")&&s[g].params["*"]!==p.params["*"];return u==="assets"?t.filter((p,g)=>c(p,g)||h(p,g)):u==="data"?t.filter((p,g)=>{let y=o.routes[p.route.id];if(!y||!y.hasLoader)return!1;if(c(p,g)||h(p,g))return!0;if(p.route.shouldRevalidate){let v=p.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:s[0]?.params||{},nextUrl:new URL(r,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof v=="boolean")return v}return!0}):[]}function dw(r,t,{includeHydrateFallback:s}={}){return fw(r.map(o=>{let a=t.routes[o.route.id];if(!a)return[];let u=[a.module];return a.clientActionModule&&(u=u.concat(a.clientActionModule)),a.clientLoaderModule&&(u=u.concat(a.clientLoaderModule)),s&&a.hydrateFallbackModule&&(u=u.concat(a.hydrateFallbackModule)),a.imports&&(u=u.concat(a.imports)),u}).flat(1))}function fw(r){return[...new Set(r)]}function hw(r){let t={},s=Object.keys(r).sort();for(let o of s)t[o]=r[o];return t}function pw(r,t){let s=new Set;return new Set(t),r.reduce((o,a)=>{let u=JSON.stringify(hw(a));return s.has(u)||(s.add(u),o.push({key:u,link:a})),o},[])}function oc(){let r=b.useContext(Xr);return ic(r,"You must render this element inside a <DataRouterContext.Provider> element"),r}function mw(){let r=b.useContext(Xo);return ic(r,"You must render this element inside a <DataRouterStateContext.Provider> element"),r}var ac=b.createContext(void 0);ac.displayName="FrameworkContext";function ea(){let r=b.useContext(ac);return ic(r,"You must render this element inside a <HydratedRouter> element"),r}function gw(r,t){let s=b.useContext(ac),[o,a]=b.useState(!1),[u,c]=b.useState(!1),{onFocus:h,onBlur:p,onMouseEnter:g,onMouseLeave:y,onTouchStart:v}=t,w=b.useRef(null);b.useEffect(()=>{if(r==="render"&&c(!0),r==="viewport"){let E=R=>{R.forEach(M=>{c(M.isIntersecting)})},j=new IntersectionObserver(E,{threshold:.5});return w.current&&j.observe(w.current),()=>{j.disconnect()}}},[r]),b.useEffect(()=>{if(o){let E=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(E)}}},[o]);let k=()=>{a(!0)},C=()=>{a(!1),c(!1)};return s?r!=="intent"?[u,w,{}]:[u,w,{onFocus:zs(h,k),onBlur:zs(p,C),onMouseEnter:zs(g,k),onMouseLeave:zs(y,C),onTouchStart:zs(v,k)}]:[!1,w,{}]}function zs(r,t){return s=>{r&&r(s),s.defaultPrevented||t(s)}}function yw({page:r,...t}){let s=P0(),{nonce:o}=ea(),{router:a}=oc(),u=b.useMemo(()=>Dm(a.routes,r,a.basename),[a.routes,r,a.basename]);return u?(t.nonce==null&&o&&(t={...t,nonce:o}),s?b.createElement(xw,{page:r,matches:u,...t}):b.createElement(ww,{page:r,matches:u,...t})):null}function vw(r){let{manifest:t,routeModules:s}=ea(),[o,a]=b.useState([]);return b.useEffect(()=>{let u=!1;return cw(r,t,s).then(c=>{u||a(c)}),()=>{u=!0}},[r,t,s]),o}function xw({page:r,matches:t,...s}){let o=Lt(),{future:a}=ea(),{basename:u}=oc(),c=b.useMemo(()=>{if(r===o.pathname+o.search+o.hash)return[];let h=Zm(r,u,a.v8_trailingSlashAwareDataRequests,"rsc"),p=!1,g=[];for(let y of t)typeof y.route.shouldRevalidate=="function"?p=!0:g.push(y.route.id);return p&&g.length>0&&h.searchParams.set("_routes",g.join(",")),[h.pathname+h.search]},[u,a.v8_trailingSlashAwareDataRequests,r,o,t]);return b.createElement(b.Fragment,null,c.map(h=>b.createElement("link",{key:h,rel:"prefetch",as:"fetch",href:h,...s})))}function ww({page:r,matches:t,...s}){let o=Lt(),{future:a,manifest:u,routeModules:c}=ea(),{basename:h}=oc(),{loaderData:p,matches:g}=mw(),y=b.useMemo(()=>tp(r,t,g,u,o,"data"),[r,t,g,u,o]),v=b.useMemo(()=>tp(r,t,g,u,o,"assets"),[r,t,g,u,o]),w=b.useMemo(()=>
10{if(r===o.pathname+o.search+o.hash)return[];let E=new Set,j=!1;if(t.forEach(M=>{let _=u.routes[M.route.id];!_||!_.hasLoader||(!y.some(B=>B.route.id===M.route.id)&&M.route.id in p&&c[M.route.id]?.shouldRevalidate||_.hasClientLoader?j=!0:E.add(M.route.id))}),E.size===0)return[];let R=Zm(r,h,a.v8_trailingSlashAwareDataRequests,"data");return j&&E.size>0&&R.searchParams.set("_routes",t.filter(M=>E.has(M.route.id)).map(M=>M.route.id).join(",")),[R.pathname+R.search]},[h,a.v8_trailingSlashAwareDataRequests,p,o,u,y,t,r,c]),k=b.useMemo(()=>dw(v,u),[v,u]),C=vw(v);return b.createElement(b.Fragment,null,w.map(E=>b.createElement("link",{key:E,rel:"prefetch",as:"fetch",href:E,...s})),k.map(E=>b.createElement("link",{key:E,rel:"modulepreload",href:E,...s})),C.map(({key:E,link:j})=>b.createElement("link",{key:E,nonce:s.nonce,...j,crossOrigin:j.crossOrigin??s.crossOrigin})))}function Sw(...r){return t=>{r.forEach(s=>{typeof s=="function"?s(t):s!=null&&(s.current=t)})}}var bw=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{bw&&(window.__reactRouterVersion="7.18.2")}catch{}function kw({basename:r,children:t,useTransitions:s,window:o}){let a=b.useRef();a.current==null&&(a.current=t0({window:o,v5Compat:!0}));let u=a.current,[c,h]=b.useState({action:u.action,location:u.location}),p=b.useCallback(g=>{s===!1?h(g):b.startTransition(()=>h(g))},[s]);return b.useLayoutEffect(()=>u.listen(p),[u,p]),b.createElement(J0,{basename:r,children:t,location:c.location,navigationType:c.action,navigator:u,useTransitions:s})}var eg=b.forwardRef(function({onClick:t,discover:s="render",prefetch:o="none",relative:a,reloadDocument:u,replace:c,mask:h,state:p,target:g,to:y,preventScrollReset:v,viewTransition:w,defaultShouldRevalidate:k,...C},E){let{basename:j,navigator:R,useTransitions:M}=b.useContext(kt),_=typeof y=="string"&&ec.test(y),B=$m(y,j);y=B.to;let V=D0(y,{relative:a}),W=Lt(),ee=null;if(h){let ce=Yo(h,[],W.mask?W.mask.pathname:"/",!0);j!=="/"&&(ce.pathname=ce.pathname==="/"?j:$t([j,ce.pathname])),ee=R.createHref(ce)}let[K,ne,ve]=gw(o,C),Ee=Ew(y,{replace:c,mask:h,state:p,target:g,preventScrollReset:v,relative:a,viewTransition:w,defaultShouldRevalidate:k,useTransitions:M});function ie(ce){t&&t(ce),ce.defaultPrevented||Ee(ce)}let le=!(B.isExternal||u),Z=b.createElement("a",{...C,...ve,href:(le?ee:void 0)||B.absoluteURL||V,onClick:le?ie:t,ref:Sw(E,ne),target:g,"data-discover":!_&&s==="render"?"true":void 0});return K&&!_?b.createElement(b.Fragment,null,Z,b.createElement(yw,{page:V}
10)):Z});eg.displayName="Link";var jw=b.forwardRef(function({"aria-current":t="page",caseSensitive:s=!1,className:o="",end:a=!1,style:u,to:c,viewTransition:h,children:p,...g},y){let v=li(c,{relative:g.relative}),w=Lt(),k=b.useContext(Xo),{navigator:C,basename:E}=b.useContext(kt),j=k!=null&&Lw(v)&&h===!0,R=C.encodeLocation?C.encodeLocation(v).pathname:v.pathname,M=w.pathname,_=k&&k.navigation&&k.navigation.location?k.navigation.location.pathname:null;s||(M=M.toLowerCase(),_=_?_.toLowerCase():null,R=R.toLowerCase()),_&&E&&(_=mn(_,E)||_);const B=R!=="/"&&R.endsWith("/")?R.length-1:R.length;let V=M===R||!a&&M.startsWith(R)&&M.charAt(B)==="/",W=_!=null&&(_===R||!a&&_.startsWith(R)&&_.charAt(R.length)==="/"),ee={isActive:V,isPending:W,isTransitioning:j},K=V?t:void 0,ne;typeof o=="function"?ne=o(ee):ne=[o,V?"active":null,W?"pending":null,j?"transitioning":null].filter(Boolean).join(" ");let ve=typeof u=="function"?u(ee):u;return b.createElement(eg,{...g,"aria-current":K,className:ne,ref:y,style:ve,to:c,viewTransition:h},typeof p=="function"?p(ee):p)});jw.displayName="NavLink";var Tw=b.forwardRef(({discover:r="render",fetcherKey:t,navigate:s,reloadDocument:o,replace:a,state:u,method:c=Ro,action:h,onSubmit:p,relative:g,preventScrollReset:y,viewTransition:v,defaultShouldRevalidate:w,...k},C)=>{let{useTransitions:E}=b.useContext(kt),j=Rw(),R=Aw(h,{relative:g}),M=c.toLowerCase()==="get"?"get":"post",_=typeof h=="string"&&ec.test(h),B=V=>{if(p&&p(V),V.defaultPrevented)return;V.preventDefault();let W=V.nativeEvent.submitter,ee=W?.getAttribute("formmethod")||c,K=()=>j(W||V.currentTarget,{fetcherKey:t,method:ee,navigate:s,replace:a,state:u,relative:g,preventScrollReset:y,viewTransition:v,defaultShouldRevalidate:w});E&&s!==!1?b.startTransition(()=>K()):K()};return b.createElement("form",{ref:C,method:M,action:R,onSubmit:o?p:B,...k,"data-discover":!_&&r==="render"?"true":void 0})});Tw.displayName="Form";function Cw(r){return`${r} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function tg(r){let t=b.useContext(Xr);return De(t,Cw(r)),t}function Ew(r,{target:t,replace:s,mask:o,state:a,preventScrollReset:u,relative:c,viewTransition:h,defaultShouldRevalidate:p,useTransitions:g}={}){let y=Jo(),v=Lt(),w=li(r,{relative:c}
10);return b.useCallback(k=>{if(sw(k,t)){k.preventDefault();let C=s!==void 0?s:ei(v)===ei(w),E=()=>y(r,{replace:C,mask:o,state:a,preventScrollReset:u,relative:c,viewTransition:h,defaultShouldRevalidate:p});g?b.startTransition(()=>E()):E()}},[v,y,w,s,o,a,t,r,u,c,h,p,g])}var Nw=0,Pw=()=>`__${String(++Nw)}__`;function Rw(){let{router:r}=tg("useSubmit"),{basename:t}=b.useContext(kt),s=K0(),o=r.fetch,a=r.navigate;return b.useCallback(async(u,c={})=>{let{action:h,method:p,encType:g,formData:y,body:v}=aw(u,t);if(c.navigate===!1){let w=c.fetcherKey||Pw();await o(w,s,c.action||h,{defaultShouldRevalidate:c.defaultShouldRevalidate,preventScrollReset:c.preventScrollReset,formData:y,body:v,formMethod:c.method||p,formEncType:c.encType||g,flushSync:c.flushSync})}else await a(c.action||h,{defaultShouldRevalidate:c.defaultShouldRevalidate,preventScrollReset:c.preventScrollReset,formData:y,body:v,formMethod:c.method||p,formEncType:c.encType||g,replace:c.replace,state:c.state,fromRouteId:s,flushSync:c.flushSync,viewTransition:c.viewTransition})},[o,a,t,s])}function Aw(r,{relative:t}={}){let{basename:s}=b.useContext(kt),o=b.useContext(en);De(o,"useFormAction must be used inside a RouteContext");let[a]=o.matches.slice(-1),u={...li(r||".",{relative:t})},c=Lt();if(r==null){u.search=c.search;let h=new URLSearchParams(u.search),p=h.getAll("index");if(p.some(y=>y==="")){h.delete("index"),p.filter(v=>v).forEach(v=>h.append("index",v));let y=h.toString();u.search=y?`?${y}`:""}}return(!r||r===".")&&a.route.index&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),s!=="/"&&(u.pathname=u.pathname==="/"?s:$t([s,u.pathname])),ei(u)}function Lw(r,{relative:t}={}){let s=b.useContext(qm);De(s!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=tg("useViewTransitionState"),a=li(r,{relative:t});if(!s.isTransitioning)return!1;let u=mn(s.currentLocation.pathname,o)||s.currentLocation.pathname,c=mn(s.nextLocation.pathname,o)||s.nextLocation.pathname;return _o(a.pathname,c)!=null||_o(a.pathname,u)!=null}const Ow=()=>{const{pathname:r,hash:t}=Lt();return b.useLayoutEffect(()=>{if(t){const s=document.getElementById(t.slice(1));if(s){s.scrollIntoView({behavior:"smooth",block:"start"});return}}window.scrollTo({top:0,left:0,behavior:"instant"})},[r,t]),null};class ut extends Error{constructor(t){super("ClientResponseError"),this.url="",this.status=0,this.response={},this.isAbort=!1,this.originalError=null,Object.setPrototypeOf(this,ut.prototype),t!==null&&typeof t=="object"&&(this.originalError=t.originalError,this.url=typeof t.url=="string"?t.url:"",this.status=typeof t.status=="number"?t.status:0,this.isAbort=!!t.isAbort||t.name==="AbortError"||t.message==="Aborted",t.response!==null&&typeof t.response=="object"?this.response=t.response:t.data!==null&&typeof t.data=="object"?this.response=t.data:this.response={}),this.originalError||t instanceof ut||(this.originalError=t),this.name="ClientResponseError "+this.status,this.message=this.response?.message,this.message||(this.isAbort?this.message="The request was aborted (most likely autocancelled; you can find more info in https://github.com/pocketbase/js-sdk#auto-cancellation).":this.originalError?.cause?.message?.includes("ECONNREFUSED ::1")?this.message="Failed to connect to the PocketBase server. Try changing the SDK URL from localhost to 127.0.0.1 (https://github.com/pocketbase/js-sdk/issues/21).":this.message="Something went wrong."),this.cause=this.originalError}get data(){return this.response}toJSON(){return{...this}}}const jo=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function Mw(r,t){const s={};if(typeof r!="string")return s;const o=Object.assign({},{}).decode||_w;let a=0;for(;a<r.length;){const u=r.indexOf("=",a);if(u===-1)break;let c=r.indexOf(";",a);if(c===-1)c=r.length;else if(c<u){a=r.lastIndexOf(";",u-1)+1;continue}const h=r.slice(a,u).trim();if(s[h]===void 0){let p=r.slice(u+1,c).trim();p.charCodeAt(0)===34&&(p=p.slice(1,-1));try{s[h]=o(p)}catch{s[h]=p}}a=c+1}return s}function np(r,t,s){const o=Object.assign({},s||{}),a=o.encode||Dw;
10if(!jo.test(r))throw new TypeError("argument name is invalid");const u=a(t);if(u&&!jo.test(u))throw new TypeError("argument val is invalid");let c=r+"="+u;if(o.maxAge!=null){const h=o.maxAge-0;if(isNaN(h)||!isFinite(h))throw new TypeError("option maxAge is invalid");c+="; Max-Age="+Math.floor(h)}if(o.domain){if(!jo.test(o.domain))throw new TypeError("option domain is invalid");c+="; Domain="+o.domain}if(o.path){if(!jo.test(o.path))throw new TypeError("option path is invalid");c+="; Path="+o.path}if(o.expires){if(!(function(p){return Object.prototype.toString.call(p)==="[object Date]"||p instanceof Date})(o.expires)||isNaN(o.expires.valueOf()))throw new TypeError("option expires is invalid");c+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(c+="; HttpOnly"),o.secure&&(c+="; Secure"),o.priority)switch(typeof o.priority=="string"?o.priority.toLowerCase():o.priority){case"low":c+="; Priority=Low";break;case"medium":c+="; Priority=Medium";break;case"high":c+="; Priority=High";break;default:throw new TypeError("option priority is invali
10d")}if(o.sameSite)switch(typeof o.sameSite=="string"?o.sameSite.toLowerCase():o.sameSite){case!0:c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"strict":c+="; SameSite=Strict";break;case"none":c+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return c}function _w(r){return r.indexOf("%")!==-1?decodeURIComponent(r):r}function Dw(r){return encodeURIComponent(r)}const Iw=typeof navigator<"u"&&navigator.product==="ReactNative"||typeof global<"u"&&global.HermesInternal;let ng;function Br(r){if(r)try{const t=decodeURIComponent(ng(r.split(".")[1]).split("").map((function(s){return"%"+("00"+s.charCodeAt(0).toString(16)).slice(-2)})).join(""));return JSON.parse(t)||{}}catch{}return{}}function rg(r,t=0){let s=Br(r);return!(Object.keys(s).length>0&&(!s.exp||s.exp-t>Date.now()/1e3))}ng=typeof atob!="function"||Iw?r=>{let t=String(r).replace(/=+$/,"");if(t.length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(var s,o,a=0,u=0,c="";o=t.charAt(u++);~o&&(s=a%4?64*s+o:o,a++%4)?c+=String.fromCharCode(255&s>>(-2*a&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return c}:atob;const rp="pb_auth";class lc{constructor(){this.baseToken="",this.baseModel=null,this._onChangeCallbacks=[]}get token(){return this.baseToken}get record(){return this.baseModel}get model(){return this.baseModel}get isValid(){return!rg(this.token)}get isSuperuser(){let t=Br(this.token);return t.type=="auth"&&(this.record?.collectionName=="_superusers"||!this.record?.collectionName&&t.collectionId=="pbc_3142635823")}get isAdmin(){return console.warn("Please replace pb.authStore.isAdmin with pb.authStore.isSuperuser OR simply check the value of pb.authStore.record?.collectionName"),this.isSuperuser}get isAuthRecord(){return console.warn("Please replace pb.authStore.isAuthRecord with !pb.authStore.isSuperuser OR simply check the value of pb.authStore.record?.collectionName"),Br(this.token).type=="auth"&&!this.isSuperuser}save(t,s){this.baseToken=t||"",this.baseModel=s||null,this.triggerChange()}clear(){this.baseToken="",this.baseModel=null,this.triggerChange()}loadFromCookie(t,s=rp){const o=Mw(t||"")[s]||"";let a={};try{a=JSON.parse(o),(typeof a===null||typeof a!="object"||Array.isArray(a))&&(a={})}catch{}this.save(a.token||"",a.record||a.model||null)}exportToCookie(t,s=rp){const o={secure:!0,sameSite:!0,httpOnly:!0,path:"/"},a=Br(this.token);o.expires=a?.exp?new Date(1e3*a.exp):new Date("1970-01-01"),t=Object.assign({},o,t);const u={token:this.token,record:this.record?JSON.parse(JSON.stringify(this.record)):null};let c=np(s,JSON.stringify(u),t);const h=typeof Blob<"u"?new Blob([c]).size:c.length;if(u.record&&h>4096){u.record={id:u.record?.id,email:u.record?.email};const p=["collectionId","collectionName","verified"];for(const g in this.record)p.includes(g)&&(u.record[g]=this.record[g]);c=np(s,JSON.stringify(u),t)}return c}onChange(t,s=!1){return this._onChangeCallbacks.push(t),s&&t(this.token,this.record),()=>{for(let o=this._onChangeCallbacks.length-1;o>=0;o--)if(this._onChangeCallbacks[o]==t)return delete this._onChangeCallbacks[o],void this._onChangeCallbacks.splice(o,1)}}triggerChange(){for(const t of this._onChangeCallbacks)t&&t(this.token,this.record)}}class Fw extends lc{constructor(t="pocketbase_auth"){super(),this.storageFallback={},this.storageKey=t,this._bindStorageEvent()}get token(){return(this._storageGet(this.storageKey)||{}).token||""}get record(){const t=this._storageGet(this.storageKey)||{};return t.record||t.model||null}get model(){return this.record}save(t,s){this._storageSet(this.storageKey,{token:t,record:s}),super.save(t,s)}clear(){this._storageRemove(this.storageKey),super.clear()}_storageGet(t){if(typeof window<"u"&&window?.localStorage){const s=window.localStorage.getItem(t)||"";try{return JSON.parse(s)}catch{return s}}return this.storageFallback[t]}_storageSet(t,s){if(typeof window<"u"&&window?.localStorage){let o=s;typeof s!="string"&&(o=JSON.stringify(s)),window.localStorage.setItem(t,o)}else this.storageFallback[t]=s}_storageRemove(t){typeof window<"u"&&window?.localStorage&&window.localStorage?.removeItem(t),delete this.storageFallback[t]}_bindStorageEvent(){typeof window<"u"&&window?.localStorage&&window.addEventListener&&window.addEventListener("storage",(t=>{if(t.key!=this.storageKey)return;const s=this._storageGet(this.storageKey)||{};super.save(s.token||"",s.record||s.model||null)}))}}class tn{constructor(t){this.client=t}}class Vw extends tn{async getAll(t){return t=Object.assign({method:"GET"},t),this.client.send("/api/settings",t)}async update(t,s){return s=Object.assign({method:"PATCH",body:t},s),this.client.send("/api/settings",s)}async testS3(t="storage",s){return s=Object.assign({method:"POST",body:{filesystem:t}},s),this.client.send("/api/settings/test/s3",s).then((()=>!0))}async testEmail(t,s,o,a){return a=Object.assign({method:"POST",body:{email:s,template:o,collection:t}},a),this.client.send("/api/settings/test/email",a).then((()=>!0))}async generateAppleClientSecret(t,s,o,a,u,c){return c=Object.assign({method:"POST",body:{clientId:t,teamId:s,keyId:o,privateKey:a,duration:u}},c),this.client.send("/api/settings/apple/generate-client-secret",c)}}const Uw=["requestKey","$cancelKey","$autoCancel","fetch","headers","body","query","params","cache","credentials","headers","integrity","keepalive","method","mode","redirect","referrer","referrerPolicy","signal","window"];function uc(r){if(r){r.query=r.query||{};for(let t in r)Uw.includes(t)||(r.query[t]=r[t],delete r[t])}}function cc(r){const t=[];for(const s in r){const o=encodeURIComponent(s),a=Array.isArray(r[s])?r[s]:[r[s]];for(let u of a)u=Bw(u),u!==null&&t.push(o+"="+u)}return t.join("&")}function Bw(r){return r==null?null:r instanceof Date?encodeURIComponent(r.toISOString().replace("T"," ")):encodeURIComponent(typeof r=="object"?JSON.stringify(r):r)}class sg extends tn{constructor(){super(...arguments),this.clientId="",this.eventSource=null,this.subscriptions={},this.lastSentSubscriptions=[],this.maxConnectTimeout=15e3,this.reconnectAttempts=0,this.maxReconnectAttempts=1/0,this.predefinedReconnectIntervals=[200,300,500,1e3,1200,1500,2e3],this.pendingConnects=[],this.pendingSubmits=[],this.isProcessingPendingSubmits=!1}get isConnected(){return!!this.eventSource&&!!this.clientId&&!this.pendingConnects.length}async subscribe(t,s,o){if(!t)throw new Error("topic must be set.");let a=t;if(o){uc(o=Object.assign({},o));const c="options="+encodeURIComponent(JSON.stringify({query:o.query,headers:o.headers}));a+=(a.includes("?")?"&":"?")+c}const u=function(c){const h=c;let p;try{p=JSON.parse(h?.data)}catch{}s(p||{})};return this.subscriptions[a]||(this.subscriptions[a]=[]),this.subscriptions[a].push(u),this.isConnected?this.subscriptions[a].length===1?await this.submitSubscriptions():this.eventSource?.addEventListener(a,u):await this.connect(),async()=>this.unsubscribeByTopicAndListener(t,u)}async unsubscribe(t){if(t){const s=this.getSubscriptionsByTopic(t);for(let o in s)if(this.hasSubscriptionListeners(o)){for(let a of this.subscriptions[o])this.eventSource?.removeEventListener(o,a);delete this.subscriptions[o]}}else this.subscriptions={};await this.submitSubscriptions()}async unsubscribeByPrefix(t){let s=!1;for(let o in this.subscriptions)if((o+"?").startsWith(t)){s=!0;for(let a of this.subscriptions[o])this.eventSource?.removeEventListener(o,a);delete this.subscriptions[o]}s&&await this.submitSubscriptions()}async unsubscribeByTopicAndListener(t,s){const o=this.getSubscriptionsByTopic(t);for(let a in o){if(!Array.isArray(this.subscriptions[a])||!this.subscriptions[a].length)continue;let u=!1;for(let c=this.subscriptions[a].length-1;c>=0;c--)this.subscriptions[a][c]===s&&(u=!0,delete this.subscriptions[a][c],this.subscriptions[a].splice(c,1),this.eventSource?.removeEventListener(a,s));u&&(this.subscriptions[a].length||delete this.subscriptions[a])}await this.submitSubscriptions()}hasSubscriptionListeners(t){if(this.subscriptions=this.subscriptions||{},t)return!!this.subscriptions[t]?.length;for(let s in this.subscriptions)if(this.subscriptions[s]?.length)return!0;return!1}async submitSubscriptions(){return new Promise(((t,s)=>{this.pendingSubmits.push({resolve:t,reject:s}),this.pendingSubmits.length==1&&queueMicrotask((()=>this.finalizePendingSubscriptions()))}))}async finalizePendingSubscriptions(){if(this.isProcessingPendingSubmits||!this.pendingSubmits.length)return;const t=this.pendingSubmits.slice();this.pendingSubmits=[],this.isProcessingPendingSubmits=!0;try{await this.sendSubscriptions();for(let s of t)s.resolve()}catch(s){for(let o of t)s?o.reject(s):o.resolve()}finally{this.isProcessingPendingSubmits=!1,this.pendingSubmits.length>0&&await this.finalizePendingSubscriptions()}}getSubscriptionsCancelKey(){return"realtime_"+this.clientId}getSubscriptionsByTopic(t){const s={};t=t.includes("?")?t:t+"?";for(let o in this.subscriptions)(o+"?").startsWith(t)&&(s[o]=this.subscriptions[o]);return s}getNonEmptySubscriptionKeys(){const t=[];for(let s in this.subscriptions)this.subscriptions[s].length&&t.push(s);return t}hasUnsentSubscriptions(){const t=this.getNonEmptySubscriptionKeys();if(t.length!=this.lastSentSubscriptions.length)return!0;for(const s of t)if(!this.lastSentSubscriptions.includes(s))return!0;return!1}
vendor: 18,083 bytes, line 10
10async sendSubscriptions(){if(this.clientId){if(!this.hasSubscriptionListeners())return this.disconnect();if(this.hasUnsentSubscriptions())return this.addAllSubscriptionListeners(),this.lastSentSubscriptions=this.getNonEmptySubscriptionKeys(),this.client.send("/api/realtime",{method:"POST",body:{clientId:this.clientId,subscriptions:this.lastSentSubscriptions},requestKey:this.getSubscriptionsCancelKey()}).catch((t=>{if(!t?.isAbort)throw t}))}}addAllSubscriptionListeners(){if(this.eventSource){this.removeAllSubscriptionListeners();for(let t in this.subscriptions)for(let s of this.subscriptions[t])this.eventSource.addEventListener(t,s)}}removeAllSubscriptionListeners(){if(this.eventSource)for(let t in this.subscriptions)for(let s of this.subscriptions[t])this.eventSource.removeEventListener(t,s)}async connect(){if(!(this.reconnectAttempts>0))return new Promise(((t,s)=>{this.pendingConnects.push({resolve:t,reject:s}),this.pendingConnects.length==1&&queueMicrotask((()=>this.initConnect()))}))}initConnect(){this.disconnect(!0),clearTimeout(this.connectTimeoutId),this.connectTimeoutId=setTimeout((()=>{this.connectErrorHandler(new Error("EventSource connect took too long."))}),this.maxConnectTimeout),this.eventSource=new EventSource(this.client.buildURL("/api/realtime")),this.eventSource.onerror=t=>{this.connectErrorHandler(new Error("Failed to establish realtime connection."))},this.eventSource.addEventListener("PB_CONNECT",(t=>{const s=t;this.clientId=s?.lastEventId,this.lastSentSubscriptions=[],this.submitSubscriptions().then((async()=>{let o=3;for(;this.hasUnsentSubscriptions()&&o>0;)o--,await this.submitSubscriptions();for(let u of this.pendingConnects)u.resolve();this.pendingConnects=[],this.reconnectAttempts=0,clearTimeout(this.reconnectTimeoutId),clearTimeout(this.connectTimeoutId);const a=this.getSubscriptionsByTopic("PB_CONNECT");for(let u in a)for(let c of a[u])c(t);this.hasUnsentSubscriptions()&&await this.submitSubscriptions()})).catch((o=>{this.clientId="",this.lastSentSubscriptions=[],this.connectErrorHandler(o)}))}))}connectErrorHandler(t){if(clearTimeout(this.connectTimeoutId),clearTimeout(this.reconnectTimeoutId),!this.clientId&&!this.reconnectAttempts||this.reconnectAttempts>this.maxReconnectAttempts){for(let o of this.pendingConnects)o.reject(new ut(t));return this.pendingConnects=[],void this.disconnect()}this.disconnect(!0);const s=this.predefinedReconnectIntervals[this.reconnectAttempts]||this.predefinedReconnectIntervals[this.predefinedReconnectIntervals.length-1];this.reconnectAttempts++,this.reconnectTimeoutId=setTimeout((()=>{this.initConnect()}),s)}disconnect(t=!1){if(this.clientId&&this.onDisconnect&&this.onDisconnect(Object.keys(this.subscriptions)),clearTimeout(this.connectTimeoutId),clearTimeout(this.reconnectTimeoutId),this.removeAllSubscriptionListeners(),this.client.cancelRequest(this.getSubscriptionsCancelKey()),this.eventSource?.close(),this.eventSource=null,this.clientId="",this.lastSentSubscriptions=[],!t){this.reconnectAttempts=0;for(let s of this.pendingConnects)s.resolve();this.pendingConnects=[]}}}class ig extends tn{decode(t){return t}async getFullList(t,s){if(typeof t=="number")return this._getFullList(t,s);let o=1e3;return(s=Object.assign({},t,s)).batch&&(o=s.batch,delete s.batch),this._getFullList(o,s)}async getList(t=1,s=30,o){return(o=Object.assign({method:"GET"},o)).query=Object.assign({page:t,perPage:s},o.query),this.client.send(this.baseCrudPath,o).then((a=>(a.items=a.items?.map((u=>this.decode(u)))||[],a)))}async getFirstListItem(t,s){return(s=Object.assign({requestKey:"one_by_filter_"+this.baseCrudPath+"_"+t},s)).query=Object.assign({filter:t,skipTotal:1},s.query),this.getList(1,1,s).then((o=>{if(!o?.items?.length)throw new ut({status:404,response:{code:404,message:"The requested resource wasn't found.",data:{}}});return o.items[0]}))}async getOne(t,s){if(!t)throw new ut({url:this.client.buildURL(this.baseCrudPath+"/"),status:404,response:{code:404,message:"Missing required record id.",data:{}}});return s=Object.assign({method:"GET"},s),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(t),s).then((o=>this.decode(o)))}async create(t,s){return s=Object.assign({method:"POST",body:t},s),this.client.send(this.baseCrudPath,s).then((o=>this.decode(o)))}async update(t,s,o){return o=Object.assign({method:"PATCH",body:s},o),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(t),o).then((a=>this.decode(a)))}async delete(t,s){return s=Object.assign({method:"DELETE"},s),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(t),s).then((()=>!0))}_getFullList(t=1e3,s){(s=s||{}).query=Object.assign({skipTotal:1},s.query);let o=[],a=async u=>this.getList(u,t||1e3,s).then((c=>{const h=c.items;return o=o.concat(h),h.length==c.perPage?a(u+1):o}));return a(1)}}function Dn(r,t,s,o){const a=o!==void 0;return a||s!==void 0?a?(console.warn(r),t.body=Object.assign({},t.body,s),t.query=Object.assign({},t.query,o),t):Object.assign(t,s):t}function lu(r){r._resetAutoRefresh?.()}class zw extends ig{constructor(t,s){super(t),this.collectionIdOrName=s}get baseCrudPath(){return this.baseCollectionPath+"/records"}get baseCollectionPath(){return"/api/collections/"+encodeURIComponent(this.collectionIdOrName)}get isSuperusers(){return this.collectionIdOrName=="_superusers"||this.collectionIdOrName=="_pbc_2773867675"}async subscribe(t,s,o){if(!t)throw new Error("Missing topic.");if(!s)throw new Error("Missing subscription callback.");return this.client.realtime.subscribe(this.collectionIdOrName+"/"+t,s,o)}async unsubscribe(t){return t?this.client.realtime.unsubscribe(this.collectionIdOrName+"/"+t):this.client.realtime.unsubscribeByPrefix(this.collectionIdOrName)}async getFullList(t,s){if(typeof t=="number")return super.getFullList(t,s);const o=Object.assign({},t,s);return super.getFullList(o)}async getList(t=1,s=30,o){return super.getList(t,s,o)}async getFirstListItem(t,s){return super.getFirstListItem(t,s)}async getOne(t,s){return super.getOne(t,s)}async create(t,s){return super.create(t,s)}async update(t,s,o){return super.update(t,s,o).then((a=>{if(this.client.authStore.record?.id===a?.id&&(this.client.authStore.record?.collectionId===this.collectionIdOrName||this.client.authStore.record?.collectionName===this.collectionIdOrName)){let u=Object.assign({},this.client.authStore.record.expand),c=Object.assign({},this.client.authStore.record,a);u&&(c.expand=Object.assign(u,a.expand)),this.client.authStore.save(this.client.authStore.token,c)}return a}))}async delete(t,s){return super.delete(t,s).then((o=>(!o||this.client.authStore.record?.id!==t||this.client.authStore.record?.collectionId!==this.collectionIdOrName&&this.client.authStore.record?.collectionName!==this.collectionIdOrName||this.client.authStore.clear(),o)))}authResponse(t){const s=this.decode(t?.record||{});return this.client.authStore.save(t?.token,s),Object.assign({},t,{token:t?.token||"",record:s})}async listAuthMethods(t){return t=Object.assign({method:"GET",fields:"mfa,otp,password,oauth2"},t),this.client.send(this.baseCollectionPath+"/auth-methods",t)}async authWithPassword(t,s,o){let a;o=Object.assign({method:"POST",body:{identity:t,password:s}},o),this.isSuperusers&&(a=o.autoRefreshThreshold,delete o.autoRefreshThreshold,o.autoRefresh||lu(this.client));let u=await this.client.send(this.baseCollectionPath+"/auth-with-password",o);return u=this.authResponse(u),a&&this.isSuperusers&&(function(h,p,g,y){lu(h);const v=h.beforeSend,w=h.authStore.record,k=h.authStore.onChange(((C,E)=>{(!C||E?.id!=w?.id||(E?.collectionId||w?.collectionId)&&E?.collectionId!=w?.collectionId)&&lu(h)}));h._resetAutoRefresh=function(){k(),h.beforeSend=v,delete h._resetAutoRefresh},h.beforeSend=async(C,E)=>{const j=h.authStore.token;if(E.query?.autoRefresh)return v?v(C,E):{url:C,sendOptions:E};let R=h.authStore.isValid;if(R&&rg(h.authStore.token,p))try{await g()}catch{R=!1}R||await y();const M=E.headers||{};for(let _ in M)if(_.toLowerCase()=="authorization"&&j==M[_]&&h.authStore.token){M[_]=h.authStore.token;break}return E.headers=M,v?v(C,E):{url:C,sendOptions:E}}})(this.client,a,(()=>this.authRefresh({autoRefresh:!0})),(()=>this.authWithPassword(t,s,Object.assign({autoRefresh:!0},o)))),u}async authWithOAuth2Code(t,s,o,a,u,c,h){let p={method:"POST",body:{provider:t,code:s,codeVerifier:o,redirectURL:a,createData:u}};return p=Dn("This form of authWithOAuth2Code(provider, code, codeVerifier, redirectURL, createData?, body?, query?) is deprecated. Consider replacing it with authWithOAuth2Code(provider, code, codeVerifier, redirectURL, createData?, options?).",p,c,h),this.client.send(this.baseCollectionPath+"/auth-with-oauth2",p).then((g=>this.authResponse(g)))}authWithOAuth2(...t){if(t.length>1||typeof t?.[0]=="string")return console.warn("PocketBase: This form of authWithOAuth2() is deprecated and may get removed in the future. Please replace with authWithOAuth2Code() OR use the authWithOAuth2() realtime form as shown in https://pocketbase.io/docs/authentication/#oauth2-integration."),this.authWithOAuth2Code(t?.[0]||"",t?.[1]||"",t?.[2]||"",t?.[3]||"",t?.[4]||{},t?.[5]||{},t?.[6]||{});const s=t?.[0]||{};let o=null;s.urlCallback||(o=sp(void 0));const a=new sg(this.client);function u(){o?.close(),a.unsubscribe()}const c={},h=s.requestKey;return h&&(c.requestKey=h),this.listAuthMethods(c).then((p=>{const g=p.oauth2.providers.find((v=>v.name===s.provider));if(!g)throw new ut(new Error(`Missing or invalid provider "${s.provider}".`));const y=this.client.buildURL("/api/oauth2-redirect");return new Promise((async(v,w)=>{const k=h?this.client.cancelControllers?.[h]:void 0;k&&(k.signal.onabort=()=>{u(),w(new ut({isAbort:!0,message:"manually cancelled"}))}),a.onDisconnect=C=>{C.length&&w&&(u(),w(new ut(new Error("realtime connection interrupted"))))};try{await a.subscribe("@oauth2",(async R=>{const M=a.clientId;try{if(!R.state||M!==R.state)throw new Error("State parameters don't match.");if(R.error||!R.code)throw new Error("OAuth2 redirect error or missing code: "+R.error);const _=Object.assign({},s);delete _.provider,delete _.scopes,delete _.createData,delete _.urlCallback,k?.signal?.onabort&&(k.signal.onabort=null);const B=await this.authWithOAuth2Code(g.name,R.code,g.codeVerifier,y,s.createData,_);v(B)}catch(_){w(new ut(_))}u()}));const C={state:a.clientId};s.scopes?.length&&(C.scope=s.scopes.join(" "));const E=this._replaceQueryParams(g.authURL+y,C);await(s.urlCallback||function(R){o?o.location.href=R:o=sp(R)})(E)}catch(C){k?.signal?.onabort&&(k.signal.onabort=null),u(),w(new ut(C))}}))})).catch((p=>{throw u(),p}))}async authRefresh(t,s){let o={method:"POST"};return o=Dn("This form of authRefresh(body?, query?) is deprecated. Consider replacing it with authRefresh(options?).",o,t,s),this.client.send(this.baseCollectionPath+"/auth-refresh",o).then((a=>this.authResponse(a)))}async requestPasswordReset(t,s,o){let a={method:"POST",body:{email:t}};return a=Dn("This form of requestPasswordReset(email, body?, query?) is deprecated. Consider replacing it with requestPasswordReset(email, options?).",a,s,o),this.client.send(this.baseCollectionPath+"/request-password-reset",a).then((()=>!0))}async confirmPasswordReset(t,s,o,a,u){let c={method:"POST",body:{token:t,password:s,passwordConfirm:o}};return c=Dn("This form of confirmPasswordReset(token, password, passwordConfirm, body?, query?) is deprecated. Consider replacing it with confirmPasswordReset(token, password, passwordConfirm, options?).",c,a,u),this.client.send(this.baseCollectionPath+"/confirm-password-reset",c).then((()=>!0))}async requestVerification(t,s,o){let a={method:"POST",body:{email:t}};return a=Dn("This form of requestVerification(email, body?, query?) is deprecated. Consider replacing it with requestVerification(email, options?).",a,s,o),this.client.send(this.baseCollectionPath+"/request-verification",a).then((()=>!0))}async confirmVerification(t,s,o){let a={method:"POST",body:{token:t}};return a=Dn("This form of confirmVerification(token, body?, query?) is deprecated. Consider replacing it with confirmVerification(token, options?).",a,s,o),this.client.send(this.baseCollectionPath+"/confirm-verification",a).then((()=>{const u=Br(t),c=this.client.authStore.record;return c&&!c.verified&&c.id===u.id&&c.collectionId===u.collectionId&&(c.verified=!0,this.client.authStore.save(this.client.authStore.token,c)),!0}))}async requestEmailChange(t,s,o){let a={method:"POST",body:{newEmail:t}};return a=Dn("This form of requestEmailChange(newEmail, body?, query?) is deprecated. Consider replacing it with requestEmailChange(newEmail, options?).",a,s,o),this.client.send(this.baseCollectionPath+"/request-email-change",a).then((()=>!0))}async confirmEmailChange(t,s,o,a){let u={method:"POST",body:{token:t,password:s}};return u=Dn("This form of confirmEmailChange(token, password, body?, query?) is deprecated. Consider replacing it with confirmEmailChange(token, password, options?).",u,o,a),this.client.send(this.baseCollectionPath+"/confirm-email-change",u).then((()=>{const c=Br(t),h=this.client.authStore.record;return h&&h.id===c.id&&h.collectionId===c.collectionId&&this.client.authStore.clear(),!0}))}async listExternalAuths(t,s){return this.client.collection("_externalAuths").getFullList(Object.assign({},s,{filter:this.client.filter("recordRef = {:id}",{id:t})}))}async unlinkExternalAuth(t,s,o){const a=await this.client.collection("_externalAuths").getFirstListItem(this.client.filter("recordRef = {:recordId} && provider = {:provider}",{recordId:t,provider:s}));return this.client.collection("_externalAuths").delete(a.id,o).then((()=>!0))}async requestOTP(t,s){return s=Object.assign({method:"POST",body:{email:t}},s),this.client.send(this.baseCollectionPath+"/request-otp",s)}async authWithOTP(t,s,o){return o=Object.assign({method:"POST",body:{otpId:t,password:s}},o),this.client.send(this.baseCollectionPath+"/auth-with-otp",o).then((a=>this.authResponse(a)))}async impersonate(t,s,o){(o=Object.assign({method:"POST",body:{duration:s}},o)).headers=o.headers||{},o.headers.Authorization||(o.headers.Authorization=this.client.authStore.token);const a=new og(this.client.baseURL,new lc,this.client.lang),u=await a.send(this.baseCollectionPath+"/impersonate/"+encodeURIComponent(t),o);return a.authStore.save(u?.token,this.decode(u?.record||{})),a}_replaceQueryParams(t,s={}){let o=t,a="";t.indexOf("?")>=0&&(o=t.substring(0,t.indexOf("?")),a=t.substring(t.indexOf("?")+1));const u={},c=a.split("&");for(const h of c){if(h=="")continue;const p=h.split("=");u[decodeURIComponent(p[0].replace(/\+/g," "))]=decodeURIComponent((p[1]||"").replace(/\+/g," "))}for(let h in s)s.hasOwnProperty(h)&&(s[h]==null?delete u[h]:u[h]=s[h]);a="";for(let h in u)u.hasOwnProperty(h)&&(a!=""&&(a+="&"),a+=encodeURIComponent(h.replace(/%20/g,"+"))+"="+encodeURIComponent(u[h].replace(/%20/g,"+")));return a!=""?o+"?"+a:o}}function sp(r){if(typeof window>"u"||!window?.open)throw new ut(new Error("Not in a browser context - please pass a custom urlCallback function."));let t=1024,s=768,o=window.innerWidth,a=window.innerHeight;t=t>o?o:t,s=s>a?a:s;let u=o/2-t/2,c=a/2-s/2;return window.open(r,"popup_window","width="+t+",height="+s+",top="+c+",left="+u+",resizable,menubar=no")}class $w extends ig{get baseCrudPath(){return"/api/collections"}async import(t,s=!1,o){return o=Object.assign({method:"PUT",body:{collections:t,deleteMissing:s}},o),this.client.send(this.baseCrudPath+"/import",o).then((()=>!0))}async truncate(t,s){return s=Object.assign({method:"DELETE"},s),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(t)+"/truncate",s).then((()=>!0))}async getScaffolds(t){return t=Object.assign({method:"GET"},t),this.client.send(this.baseCrudPath+"/meta/scaffolds",t)}async getAllOAuth2Providers(t){return t=Object.assign({method:"GET"},t),this.client.send(this.baseCrudPath+"/meta/oauth2-providers",t)}async dryRunViewQuery(t,s){return s=Object.assign({method:"POST",body:{query:t}},s),this.client.send(this.baseCrudPath+"/meta/dry-run-view",s)}}class Hw extends tn{async getList(t=1,s=30,o){return(o=Object.assign({method:"GET"},o)).query=Object.assign({page:t,perPage:s},o.query),this.client.send("/api/logs",o)}async getOne(t,s){if(!t)throw new ut({url:this.client.buildURL("/api/logs/"),status:404,response:{code:404,message:"Missing required log id.",data:{}}});return s=Object.assign({method:"GET"},s),this.client.send("/api/logs/"+encodeURIComponent(t),s)}async getStats(t){return t=Object.assign({method:"GET"},t),this.client.send("/api/logs/stats",t)}async truncate(t){return t=Object.assign({method:"DELETE"},t),this.client.send("/api/logs",t).then((()=>!0))}}class Ww extends tn{async check(t){return t=Object.assign({method:"GET"},t),this.client.send("/api/health",t)}}class qw extends tn{getUrl(t,s,o={}){return console.warn("Please replace pb.files.getUrl() with pb.files.getURL()"),this.getURL(t,s,o)}getURL(t,s,o={}){if(!s||!t?.id||!t?.collectionId&&!t?.collectionName)return"";const a=[];a.push("api"),a.push("files"),a.push(encodeURIComponent(t.collectionId||t.collectionName)),a.push(encodeURIComponent(t.id)),a.push(encodeURIComponent(s));let u=this.client.buildURL(a.join("/"));o.download===!1&&delete o.download;const c=cc(o);return c&&(u+=(u.includes("?")?"&":"?")+c),u}async getToken(t){return t=Object.assign({method:"POST"},t),this.client.send("/api/files/token",t).then((s=>s?.token||""))}}class Kw extends tn{async getFullList(t){return t=Object.assign({method:"GET"},t),this.client.send("/api/backups",t)}async create(t,s){return s=Object.assign({method:"POST",body:{name:t}},s),this.client.send("/api/backups",s).then((()=>!0))}async upload(t,s){return s=Object.assign({method:"POST",body:t},s),this.client.send("/api/backups/upload",s).then((()=>!0))}async delete(t,s){return s=Object.assign({method:"DELETE"},s),this.client.send(`/api/backups/${encodeURIComponent(t)}`,s).then((()=>!0))}async restore(t,s){return s=Object.assign({method:"POST"},s),this.client.send(`/api/backups/${encodeURIComponent(t)}/restore`,s).then((()=>!0))}getDownloadUrl(t,s){return console.warn("Please replace pb.backups.getDownloadUrl(
10) with pb.backups.getDownloadURL()"),this.getDownloadURL(t,s)}getDownloadURL(t,s){return this.client.buildURL(`/api/backups/${encodeURIComponent(s)}?token=${encodeURIComponent(t)}`)}}class Gw extends tn{async getFullList(t){return t=Object.assign({method:"GET"},t),this.client.send("/api/crons",t)}async run(t,s){return s=Object.assign({method:"POST"},s),this.client.send(`/api/crons/${encodeURIComponent(t)}`,s).then((()=>!0))}}class Qw extends tn{async run(t,s){return s=Object.assign({method:"POST",body:{query:t}},s),this.client.send("/api/sql",s)}}function Au(r){return typeof Blob<"u"&&r instanceof Blob||typeof File<"u"&&r instanceof File||r!==null&&typeof r=="object"&&r.uri&&(typeof navigator<"u"&&navigator.product==="ReactNative"||typeof global<"u"&&global.HermesInternal)}function Lu(r){return r&&(r.constructor?.name==="FormData"||typeof FormData<"u"&&r instanceof FormData)}function ip(r){for(const t in r){const s=Array.isArray(r[t])?r[t]:[r[t]];for(const o of s)if(Au(o))return!0}return!1}const Yw=/^[\-\.\d]+$/;function op(r){if(typeof r!="string")return r;if(r=="true")return!0;if(r=="false")return!1;if((r[0]==="-"||r[0]>="0"&&r[0]<="9")&&Yw.test(r)){let t=+r;if(""+t===r)return t}return r}class Xw extends tn{constructor(){super(...arguments),this.requests=[],this.subs={}}collection(t){return this.subs[t]||(this.subs[t]=new Jw(this.requests,t)),this.subs[t]}async send(t){const s=new FormData,o=[];for(let a=0;a<this.requests.length;a++){const u=this.requests[a];if(o.push({method:u.method,url:u.url,headers:u.headers,body:u.json}),u.files)for(let c in u.files){const h=u.files[c]||[];for(let p of h)s.append("requests."+a+"."+c,p)}}return s.append("@jsonPayload",JSON.stringify({requests:o})),t=Object.assign({method:"POST",body:s},t),this.client.send("/api/batch",t)}}class Jw{constructor(t,s){this.requests=[],this.requests=t,this.collectionIdOrName=s}upsert(t,s){s=Object.assign({body:t||{}},s);const o={method:"PUT",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records"};this.prepareRequest(o,s),this.requests.push(o)}create(t,s){s=Object.assign({body:t||{}},s);const o={method:"POST",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records"};this.prepareRequest(o,s),this.requests.push(o)}update(t,s,o){o=Object.assign({body:s||{}},o);const a={method:"PATCH",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records/"+encodeURIComponent(t)};this.prepareRequest(a,o),this.requests.push(a)}delete(t,s){s=Object.assign({},s);const o={method:"DELETE",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records/"+encodeURIComponent(t)};this.prepareRequest(o,s),this.requests.push(o)}prepareRequest(t,s){if(uc(s),t.headers=s.headers,t.json={},t.files={},s.query!==void 0){const a=cc(s.query);a&&(t.url+=(t.url.includes("?")?"&":"?")+a)}let o=s.body;Lu(o)&&(o=(function(u){let c={};return u.forEach(((h,p)=>{if(p==="@jsonPayload"&&typeof h=="string")try{let g=JSON.parse(h);Object.assign(c,g)}catch(g){console.warn("@jsonPayload error:",g)}else c[p]!==void 0?(Array.isArray(c[p])||(c[p]=[c[p]]),c[p].push(op(h))):c[p]=op(h)}
10)),c})(o));for(const a in o){const u=o[a];if(Au(u))t.files[a]=t.files[a]||[],t.files[a].push(u);else if(Array.isArray(u)){const c=[],h=[];for(const p of u)Au(p)?c.push(p):h.push(p);if(c.length>0&&c.length==u.length){t.files[a]=t.files[a]||[];for(let p of c)t.files[a].push(p)}else if(t.json[a]=h,c.length>0){let p=a;a.startsWith("+")||a.endsWith("+")||(p+="+"),t.files[p]=t.files[p]||[];for(let g of c)t.files[p].push(g)}}else t.json[a]=u}}}RegExp.escape||(RegExp.escape=function(r){return r.replace(/[/\-\\^$*+?.()|[\]{}]/g,"\\$&")});class og{get baseUrl(){return this.baseURL}set baseUrl(t){this.baseURL=t}constructor(t="/",s,o="en-US"){this.cancelControllers={},this.recordServices={},this.enableAutoCancellation=!0,this.baseURL=t,this.lang=o,s?this.authStore=s:typeof window<"u"&&window.Deno?this.authStore=new lc:this.authStore=new Fw,this.collections=new $w(this),this.files=new qw(this),this.logs=new Hw(this),this.settings=new Vw(this),this.realtime=new sg(this),this.health=new Ww(this),this.backups=new Kw(this),this.crons=new Gw(this),this.sql=new Qw(this)}get admins(){return this.collection("_superusers")}createBatch(){return new Xw(this)}collection(t){return this.recordServices[t]||(this.recordServices[t]=new zw(this,t)),this.recordServices[t]}autoCancellation(t){return this.enableAutoCancellation=!!t,this}cancelRequest(t){return this.cancelControllers[t]&&(this.cancelControllers[t].abort(),delete this.cancelControllers[t]),this}cancelAllRequests(){for(let t in this.cancelControllers)this.cancelControllers[t].abort();return this.cancelControllers={},this}filter(t,s){if(!s)return t;const o={};for(const u in s)o["{:"+u+"}"]=s[u];const a=Object.keys(o).map((u=>RegExp.escape(u))).join("|");return a?t.replace(new RegExp(a,"g"),(u=>(function(h){switch(typeof h){case"boolean":case"number":return""+h;case"string":return JSON.stringify(h);default:if(h==null)return"null";if(h instanceof Date)return JSON.stringify(h.toISOString().replace("T"," "));const p=JSON.stringify(h);return p.startsWith("[")||p.startsWith("{")?JSON.stringify(p):p}})(o[u]))):t}getFileUrl(t,s,o={}){return console.warn("Please replace pb.getFileUrl() with pb.files.getURL()"),this.files.getURL(t,s,o)}buildUrl(t){return console.warn("Please replace pb.buildUrl() with pb.buildURL()"),this.buildURL(t)}buildURL(t){let s=this.baseURL;return typeof window>"u"||!window.location||s.startsWith("https://")||s.startsWith("http://")||(s=window.location.origin?.endsWith("/")?window.location.origin.substring(0,window.location.origin.length-1):window.location.origin||"",this.baseURL.startsWith("/")||(s+=window.location.pathname||"/",s+=s.endsWith("/")?"":"/"),s+=this.baseURL),t&&(s+=s.endsWith("/")?"":"/",s+=t.startsWith("/")?t.substring(1):t),s}async send(t,s){s=this.initSendOptions(t,s);let o=this.buildURL(t);if(this.beforeSend){const a=Object.assign({},await this.beforeSend(o,s));a.url!==void 0||a.options!==void 0?(o=a.url||o,s=a.options||s):Object.keys(a).length&&(s=a,console?.warn&&console.warn("Deprecated format of beforeSend return: please use `return { url, options }`, instead of `return options`."))}if(s.query!==void 0){const a=cc(s.query);a&&(o+=(o.includes("?")?"&":"?")+a),delete s.query}return this.getHeader(s.headers,"Content-Type")=="application/json"&&s.body&&typeof s.body!="string"&&(s.body=JSON.stringify(s.body)),(s.fetch||fetch)(o,s).then((async a=>{let u={};try{u=await a.json()}catch(c){if(s.signal?.aborted||c?.name=="AbortError"||c?.message=="Aborted")throw c}if(this.afterSend&&(u=await this.afterSend(a,u,s)),a.status>=400)throw new ut({url:a.url,status:a.status,data:u});return u})).catch((a=>{throw new ut(a)}))}initSendOptions(t,s){if((s=Object.assign({method:"GET"},s)).body=(function(a){if(typeof FormData>"u"||a===void 0||typeof a!="object"||a===null||Lu(a)||!ip(a))return a;const u=new FormData;for(const c in a){const h=a[c];if(h!==void 0)if(typeof h!="object"||ip({data:h}
10)){const p=Array.isArray(h)?h:[h];for(let g of p)u.append(c,g)}else{let p={};p[c]=h,u.append("@jsonPayload",JSON.stringify(p))}}return u})(s.body),uc(s),s.query=Object.assign({},s.params,s.query),s.requestKey===void 0&&(s.$autoCancel===!1||s.query.$autoCancel===!1?s.requestKey=null:(s.$cancelKey||s.query.$cancelKey)&&(s.requestKey=s.$cancelKey||s.query.$cancelKey)),delete s.$autoCancel,delete s.query.$autoCancel,delete s.$cancelKey,delete s.query.$cancelKey,this.getHeader(s.headers,"Content-Type")!==null||Lu(s.body)||(s.headers=Object.assign({},s.headers,{"Content-Type":"application/json"})),this.getHeader(s.headers,"Accept-Language")===null&&(s.headers=Object.assign({},s.headers,{"Accept-Language":this.lang})),this.authStore.token&&this.getHeader(s.headers,"Authorization")===null&&(s.headers=Object.assign({},s.headers,{Authorization:this.authStore.token})),this.enableAutoCancellation&&s.requestKey!==null){const o=s.requestKey||(s.method||"GET")+t;delete s.requestKey,this.cancelRequest(o);const a=new AbortController;this.cancelControllers[o]=a,s.signal=a.signal}return s}getHeader(t,s){t=t||{},s=s.toLowerCase();for(let o in t)if(o.toLowerCase()==s)return t[o];return null}}const Zw="/hcgi/platform",ye=new og(Zw),ag=b.createContext(null),e1=({children:r})=>{const[t,s]=b.useState(ye.authStore.record);b.useEffect(()=>ye.authStore.onChange((a,u)=>s(u)),[]),b.useEffect(()=>{let a=!1;return ye.authStore.record&&!ye.authStore.isValid&&ye.collection("users").authRefresh().then(()=>{a||s(ye.authStore.record)}).catch(()=>{a||(ye.authStore.clear(),s(null))}),()=>{a=!0}},[]);const o=b.useMemo(()=>({user:t,isAuthed:!!t,login:(a,u)=>ye.collection("users").authWithPassword(a,u),signup:async(a,u,c={})=>(await ye.collection("users").create({email:a,password:u,passwordConfirm:u,...c}),ye.collection("users").authWithPassword(a,u)),logout:()=>ye.authStore.clear()}),[t]);return f.jsx(ag.Provider,{value:o,children:r})},Zr=()=>b.useContext(ag),t1=({children:r,redirectTo:t="/login"})=>{const{isAuthed:s}=Zr();return s?r:f.jsx(X0,{to:t,replace:!0})};var uu={exports:{}},cu,ap;function n1(){if(ap)return cu;ap=1;var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return cu=r,cu}var du,lp;function r1(){if(lp)return du;lp=1;var r=n1();function t(){}function s(){}return s.resetWarningCache=t,du=function(){function o(c,h,p,g,y,v){if(v!==r){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}}o.isRequired=o;function a(){return o}var u={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:a,element:o,elementType:o,instanceOf:a,node:o,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:s,resetWarningCache:t};return u.PropTypes=u,u},du}var up;function s1(){return up||(up=1,uu.exports=r1()()),uu.exports}var i1=s1();const Me=Qr(i1);var fu,cp;function o1(){if(cp)return fu;cp=1;function r(h){return h&&typeof h=="object"&&"default"in h?h.default:h}var t=Qo(),s=r(t);function o(h,p,g){return p in h?Object.defineProperty(h,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):h[p]=g,h}function a(h,p){h.prototype=Object.create(p.prototype),h.prototype.constructor=h,h.__proto__=p}var u=!!(typeof window<"u"&&window.document&&window.document.createElement);function c(h,p,g){if(typeof h!="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 y(v){return v.displayName||v.name||"Component"}return function(w){if(typeof w!="function")throw new Error("Expected WrappedComponent to be a React component.");var k=[],C;function E(){C=h(k.map(function(R){return R.props})),j.canUseDOM?p(C):g&&(C=g(C))}var j=(function(R){a(M,R);function M(){return R.apply(this,arguments)||this}M.peek=function(){return C},M.rewind=function(){if(M.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var V=C;return C=void 0,k=[],V};var _=M.prototype;return _.UNSAFE_componentWillMount=function(){k.push(this),E()},_.componentDidUpdate=function(){E()},_.componentWillUnmount=function(){var V=k.indexOf(this);k.splice(V,1),E()},_.render=function(){return s.createElement(w,this.props)},M})(t.PureComponent);
10return o(j,"displayName","SideEffect("+y(w)+")"),o(j,"canUseDOM",u),j}}return fu=c,fu}var a1=o1();const l1=Qr(a1);var hu,dp;function u1(){if(dp)return hu;dp=1;var r=typeof Element<"u",t=typeof Map=="function",s=typeof Set=="function",o=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 h,p,g;if(Array.isArray(u)){if(h=u.length,h!=c.length)return!1;for(p=h;p--!==0;)if(!a(u[p],c[p]))return!1;return!0}var y;if(t&&u instanceof Map&&c instanceof Map){if(u.size!==c.size)return!1;for(y=u.entries();!(p=y.next()).done;)if(!c.has(p.value[0]))return!1;for(y=u.entries();!(p=y.next()).done;)if(!a(p.value[1],c.get(p.value[0])))return!1;return!0}if(s&&u instanceof Set&&c instanceof Set){if(u.size!==c.size)return!1;for(y=u.entries();!(p=y.next()).done;)if(!c.has(p.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(u)&&ArrayBuffer.isView(c)){if(h=u.length,h!=c.length)return!1;for(p=h;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),h=g.length,h!==Object.keys(c).length)return!1;for(p=h;p--!==0;)if(!Object.prototype.hasOwnProperty.call(c,g[p]))return!1;if(r&&u instanceof Element)return!1;for(p=h;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 hu=function(c,h){try{return a(c,h)}catch(p){if((p.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw p}},hu}var c1=u1();const d1=Qr(c1);var pu,fp;function f1(){if(fp)return pu;fp=1;var r=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;function o(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={},h=0;h<10;h++)c["_"+String.fromCharCode(h)]=h;var p=Object.getOwnPropertyNames(c).map(function(y){return c[y]});if(p.join("")!=="0123456789")return!1;var g={};return"abcdefghijklmnopqrst".split("").forEach(function(y){g[y]=y}),Object.keys(Object.assign({},g)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return pu=a()?Object.assign:function(u,c){for(var h,p=o(u),g,y=1;y<arguments.length;y++){h=Object(arguments[y]);for(var v in h)t.call(h,v)&&(p[v]=h[v]);if(r){g=r(h);for(var w=0;w<g.length;w++)s.call(h,g[w])&&(p[g[w]]=h[g[w]])}}return p},pu}var h1=f1();const p1=Qr(h1);var ar={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"},de={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"};Object.keys(de).map(function(r){return de[r]});var _e={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"},Io={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},ti={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},m1=Object.keys(Io).reduce(function(r,t){return r[Io[t]]=t,r},{}),g1=[de.NOSCRIPT,de.SCRIPT,de.STYLE],zt="data-react-helmet",y1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},v1=function(r,t){if(!(r instanceof t))throw new TypeError("Cannot call a class as a function")},x1=(function(){function r(t,s){for(var o=0;o<s.length;o++){var a=s[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,s,o){return s&&r(t.prototype,s),o&&r(t,o),t}})(),gt=Object.assign||function(r){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(r[o]=s[o])}return r},w1=function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(r,t):r.__proto__=t)},hp=function(r,t){var s={};for(var o in r)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(r,o)&&(s[o]=r[o]);return s},S1=function(r,t){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:r},Ou=function(t){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return s===!1?String(t):String(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},b1=function(t){var s=zr(t,de.TITLE),o=zr(t,ti.TITLE_TEMPLATE);if(o&&s)return o.replace(/%s/g,function(){return Array.isArray(s)?s.join(""):s});var a=zr(t,ti.DEFAULT_TITLE);return s||a||void 0},k1=function(t){return zr(t,ti.ON_CHANGE_CLIENT_STATE)||function(){}},mu=function(t,s){return s.filter(function(o){return typeof o[t]<"u"}).map(function(o){return o[t]}).reduce(function(o,a){return gt({},o,a)},{})},j1=function(t,s){return s.filter(function(o){return typeof o[de.BASE]<"u"}).map(function(o){return o[de.BASE]}).reverse().reduce(function(o,a){if(!o.length)for(var u=Object.keys(a),c=0;c<u.length;c++){var h=u[c],p=h.toLowerCase();if(t.indexOf(p)!==-1&&a[p])return o.concat(a)}return o},[])},$s=function(t,s,o){var a={};return o.filter(function(u){return Array.isArray(u[t])?!0:(typeof u[t]<"u"&&N1("Helmet: "+t+' should be of type "Array". Instead found type "'+y1(u[t])+'"'),!1)}).map(function(u){return u[t]}).reverse().reduce(function(u,c){var h={};c.filter(function(w){for(var k=void 0,C=Object.keys(w),E=0;E<C.length;E++){var j=C[E],R=j.toLowerCase();s.indexOf(R)!==-1&&!(k===_e.REL&&w[k].toLowerCase()==="canonical")&&!(R===_e.REL&&w[R].toLowerCase()==="stylesheet")&&(k=R),s.indexOf(j)!==-1&&(j===_e.INNER_HTML||j===_e.CSS_TEXT||j===_e.ITEM_PROP)&&(k=j)}if(!k||!w[k])return!1;var M=w[k].toLowerCase();return a[k]||(a[k]={}),h[k]||(h[k]={}),a[k][M]?!1:(h[k][M]=!0,!0)}
10).reverse().forEach(function(w){return u.push(w)});for(var p=Object.keys(h),g=0;g<p.length;g++){var y=p[g],v=p1({},a[y],h[y]);a[y]=v}return u},[]).reverse()},zr=function(t,s){for(var o=t.length-1;o>=0;o--){var a=t[o];if(a.hasOwnProperty(s))return a[s]}return null},T1=function(t){return{baseTag:j1([_e.HREF,_e.TARGET],t),bodyAttributes:mu(ar.BODY,t),defer:zr(t,ti.DEFER),encode:zr(t,ti.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:mu(ar.HTML,t),linkTags:$s(de.LINK,[_e.REL,_e.HREF],t),metaTags:$s(de.META,[_e.NAME,_e.CHARSET,_e.HTTPEQUIV,_e.PROPERTY,_e.ITEM_PROP],t),noscriptTags:$s(de.NOSCRIPT,[_e.INNER_HTML],t),onChangeClientState:k1(t),scriptTags:$s(de.SCRIPT,[_e.SRC,_e.INNER_HTML],t),styleTags:$s(de.STYLE,[_e.CSS_TEXT],t),title:b1(t),titleAttributes:mu(ar.TITLE,t)}},Mu=(function(){var r=Date.now();return function(t){var s=Date.now();s-r>16?(r=s,t(s)):setTimeout(function(){Mu(t)},0)}})(),pp=function(t){return clearTimeout(t)},C1=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Mu:global.requestAnimationFrame||Mu,E1=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||pp:global.cancelAnimationFrame||pp,N1=function(t){return console&&typeof console.warn=="function"&&console.warn(t)},Hs=null,P1=function(t){Hs&&E1(Hs),t.defer?Hs=C1(function(){mp(t,function(){Hs=null})}):(mp(t),Hs=null)},mp=function(t,s){var o=t.baseTag,a=t.bodyAttributes,u=t.htmlAttributes,c=t.linkTags,h=t.metaTags,p=t.noscriptTags,g=t.onChangeClientState,y=t.scriptTags,v=t.styleTags,w=t.title,k=t.titleAttributes;_u(de.BODY,a),_u(de.HTML,u),R1(w,k);var C={baseTag:_r(de.BASE,o),linkTags:_r(de.LINK,c),metaTags:_r(de.META,h),noscriptTags:_r(de.NOSCRIPT,p),scriptTags:_r(de.SCRIPT,y),styleTags:_r(de.STYLE,v)},E={},j={};Object.keys(C).forEach(function(R){var M=C[R],_=M.newTags,B=M.oldTags;_.length&&(E[R]=_),B.length&&(j[R]=C[R].oldTags)}),s&&s(),g(t,E,j)},lg=function(t){return Array.isArray(t)?t.join(""):t},R1=function(t,s){typeof t<"u"&&document.title!==t&&(document.title=lg(t)),_u(de.TITLE,s)},_u=function(t,s){var o=document.getElementsByTagName(t)[0];if(o){for(var a=o.getAttribute(zt),u=a?a.split(","):[],c=[].concat(u),h=Object.keys(s),p=0;p<h.length;p++){var g=h[p],y=s[g]||"";o.getAttribute(g)!==y&&o.setAttribute(g,y),u.indexOf(g)===-1&&u.push(g);var v=c.indexOf(g);v!==-1&&c.splice(v,1)}for(var w=c.length-1;w>=0;w--)o.removeAttribute(c[w]);u.length===c.length?o.removeAttribute(zt):o.getAttribute(zt)!==h.join(",")&&o.setAttribute(zt,h.join(","))}},_r=function(t,s){var o=document.head||document.querySelector(de.HEAD),a=o.querySelectorAll(t+"["+zt+"]"),u=Array.prototype.slice.call(a),c=[],h=void 0;return s&&s.length&&s.forEach(function(p){var g=document.createElement(t);for(var y in p)if(p.hasOwnProperty(y))if(y===_e.INNER_HTML)g.innerHTML=p.innerHTML;else if(y===_e.CSS_TEXT)g.styleSheet?g.styleSheet.cssText=p.cssText:g.appendChild(document.createTextNode(p.cssText));else{var v=typeof p[y]>"u"?"":p[y];g.setAttribute(y,v)}g.setAttribute(zt,"true"),u.some(function(w,k){return h=k,g.isEqualNode(w)})?u.splice(h,1):c.push(g)}),u.forEach(function(p){return p.parentNode.removeChild(p)}),c.forEach(function(p){return o.appendChild(p)}),{oldTags:u,newTags:c}},ug=function(t){return Object.keys(t).reduce(function(s,o){var a=typeof t[o]<"u"?o+'="'+t[o]+'"':""+o;return s?s+" "+a:a},"")},A1=function(t,s,o,a){var u=ug(o),c=lg(s);return u?"<"+t+" "+zt+'="true" '+u+">"+Ou(c,a)+"</"+t+">":"<"+t+" "+zt+'="true">'+Ou(c,a)+"</"+t+">"},L1=function(t,s,o){return s.reduce(function(a,u){var c=Object.keys(u).filter(function(g){return!(g===_e.INNER_HTML||g===_e.CSS_TEXT)}).reduce(function(g,y){var v=typeof u[y]>"u"?y:y+'="'+Ou(u[y],o)+'"';return g?g+" "+v:v},""),h=u.innerHTML||u.cssText||"",p=g1.indexOf(t)===-1;return a+"<"+t+" "+zt+'="true" '+c+(p?"/>":">"+h+"</"+t+">")},"")},cg=function(t){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(o,a){return o[Io[a]||a]=t[a],o},s)},O1=function(t){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(o,a){return o[m1[a]||a]=t[a],o},s)},M1=function(t,s,o){var a,u=(a={key:s},a[zt]=!0,a),c=cg(o,u);return[Qs.createElement(de.TITLE,c,s)]},_1=function(t,s){return s.map(function(o,a){var u,c=(u={key:a},u[zt]=!0,u);
10return Object.keys(o).forEach(function(h){var p=Io[h]||h;if(p===_e.INNER_HTML||p===_e.CSS_TEXT){var g=o.innerHTML||o.cssText;c.dangerouslySetInnerHTML={__html:g}}else c[p]=o[h]}),Qs.createElement(t,c)})},fn=function(t,s,o){switch(t){case de.TITLE:return{toComponent:function(){return M1(t,s.title,s.titleAttributes)},toString:function(){return A1(t,s.title,s.titleAttributes,o)}};case ar.BODY:case ar.HTML:return{toComponent:function(){return cg(s)},toString:function(){return ug(s)}};default:return{toComponent:function(){return _1(t,s)},toString:function(){return L1(t,s,o)}}}},dg=function(t){var s=t.baseTag,o=t.bodyAttributes,a=t.encode,u=t.htmlAttributes,c=t.linkTags,h=t.metaTags,p=t.noscriptTags,g=t.scriptTags,y=t.styleTags,v=t.title,w=v===void 0?"":v,k=t.titleAttributes;return{base:fn(de.BASE,s,a),bodyAttributes:fn(ar.BODY,o,a),htmlAttributes:fn(ar.HTML,u,a),link:fn(de.LINK,c,a),meta:fn(de.META,h,a),noscript:fn(de.NOSCRIPT,p,a),script:fn(de.SCRIPT,g,a),style:fn(de.STYLE,y,a),title:fn(de.TITLE,{title:w,titleAttributes:k},a)}},D1=function(t){var s,o;return o=s=(function(a){w1(u,a);function u(){return v1(this,u),S1(this,a.apply(this,arguments))}return u.prototype.shouldComponentUpdate=function(h){return!d1(this.props,h)},u.prototype.mapNestedChildrenToProps=function(h,p){if(!p)return null;switch(h.type){case de.SCRIPT:case de.NOSCRIPT:return{innerHTML:p};case de.STYLE:return{cssText:p}}throw new Error("<"+h.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},u.prototype.flattenArrayTypeChildren=function(h){var p,g=h.child,y=h.arrayTypeChildren,v=h.newChildProps,w=h.nestedChildren;return gt({},y,(p={},p[g.type]=[].concat(y[g.type]||[],[gt({},v,this.mapNestedChildrenToProps(g,w))]),p))},u.prototype.mapObjectTypeChildren=function(h){var p,g,y=h.child,v=h.newProps,w=h.newChildProps,k=h.nestedChildren;switch(y.type){case de.TITLE:return gt({},v,(p={},p[y.type]=k,p.titleAttributes=gt({},w),p));case de.BODY:return gt({},v,{bodyAttributes:gt({},w)});case de.HTML:return gt({},v,{htmlAttributes:gt({},w)})}return gt({},v,(g={},g[y.type]=gt({},w),g))},u.prototype.mapArrayTypeChildrenToProps=function(h,p){var g=gt({},p);return Object.keys(h).forEach(function(y){var v;g=gt({},g,(v={},v[y]=h[y],v))}),g}
10,u.prototype.warnOnInvalidChildren=function(h,p){return!0},u.prototype.mapChildrenToProps=function(h,p){var g=this,y={};return Qs.Children.forEach(h,function(v){if(!(!v||!v.props)){var w=v.props,k=w.children,C=hp(w,["children"]),E=O1(C);switch(g.warnOnInvalidChildren(v,k),v.type){case de.LINK:case de.META:case de.NOSCRIPT:case de.SCRIPT:case de.STYLE:y=g.flattenArrayTypeChildren({child:v,arrayTypeChildren:y,newChildProps:E,nestedChildren:k});break;default:p=g.mapObjectTypeChildren({child:v,newProps:p,newChildProps:E,nestedChildren:k});break}}}),p=this.mapArrayTypeChildrenToProps(y,p),p},u.prototype.render=function(){var h=this.props,p=h.children,g=hp(h,["children"]),y=gt({},g);return p&&(y=this.mapChildrenToProps(p,y)),Qs.createElement(t,y)},x1(u,null,[{key:"canUseDOM",set:function(h){t.canUseDOM=h}}]),u})(Qs.Component),s.propTypes={base:Me.object,bodyAttributes:Me.object,children:Me.oneOfType([Me.arrayOf(Me.node),Me.node]),defaultTitle:Me.string,defer:Me.bool,encodeSpecialCharacters:Me.bool,htmlAttributes:Me.object,link:Me.arrayOf(Me.object),meta:Me.arrayOf(Me.object),noscript:Me.arrayOf(Me.object),onChangeClientState:Me.func,script:Me.arrayOf(Me.object),style:Me.arrayOf(Me.object),title:Me.string,titleAttributes:Me.object,titleTemplate:Me.string},s.defaultProps={defer:!0,encodeSpecialCharacters:!0},s.peek=t.peek,s.rewind=function(){var a=t.rewind();return a||(a=dg({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),a},o},I1=function(){return null},F1=l1(T1,P1,dg)(I1),Hr=D1(F1);Hr.renderStatic=Hr.rewind;const V1=r=>r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),fg=(...r)=>r.filter((t,s,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===s).join(" ").trim();var U1={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 B1=b.forwardRef(({color:r="currentColor",size:t=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:a="",children:u,iconNode:c,...h},p)=>b.createElement("svg",{ref:p,...U1,width:t,height:t,stroke:r,strokeWidth:o?Number(s)*24/Number(t):s,className:fg("lucide",a),...h},[...c.map(([g,y])=>b.createElement(g,y)),...Array.isArray(u)?u:[u]]));const ke=(r,t)=>{const s=b.forwardRef(({className:o,...a},u)=>b.createElement(B1,{ref:u,iconNode:t,className:fg(`lucide-${V1(r)}`,o),...a}));return s.displayName=`${r}`,s};const hg=ke("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);const z1=ke("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);const $1=ke("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);const pg=ke("Camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);const H1=ke("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);const W1=ke("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);const $r=ke("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const q1=ke("Disc3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M6 12c0-1.7.7-3.2 1.8-4.2",key:"oqkarx"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M18 12c0 1.7-.7 3.2-1.8 4.2",key:"1eah9h"}]]);const Fo=ke("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);const K1=ke("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 G1=ke("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);const Q1=ke("KeyRound",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);
vendor: 43,358 bytes, line 10
10const dc=ke("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);const Wr=ke("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);const Y1=ke("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);const X1=ke("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]]);const J1=ke("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);const Du=ke("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);const Z1=ke("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);const mg=ke("Mic",[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]]);const eS=ke("Music2",[["circle",{cx:"8",cy:"18",r:"4",key:"1fc0mg"}],["path",{d:"M12 18V2l7 4",key:"g04rme"}]]);const tS=ke("Pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);const Iu=ke("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);const nS=ke("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);const fc=ke("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);const Vo=ke("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 rS=ke("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);const Uo=ke("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);const Fn=ke("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);const Xt=ke("Video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);const sS=ke("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);const Fu=ke("Youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]),gg=b.createContext({});function iS(r){const t=b.useRef(null);return t.current===null&&(t.current=r()),t.current}const hc=b.createContext(null),yg=b.createContext({transformPagePoint:r=>r,isStatic:!1,reducedMotion:"never"});function oS(r=!0){const t=b.useContext(hc);if(t===null)return[!0,null];const{isPresent:s,onExitComplete:o,register:a}=t,u=b.useId();b.useEffect(()=>{r&&a(u)},[r]);const c=b.useCallback(()=>r&&o&&o(u),[u,o,r]);return!s&&o?[!1,c]:[!0]}const pc=typeof window<"u",aS=pc?b.useLayoutEffect:b.useEffect,St=r=>r;let vg=St;function mc(r){let t;return()=>(t===void 0&&(t=r()),t)}const qr=(r,t,s)=>{const o=t-r;return o===0?1:(s-r)/o},hn=r=>r*1e3,pn=r=>r/1e3,lS={useManualTiming:!1};function uS(r){let t=new Set,s=new Set,o=!1,a=!1;const u=new WeakSet;let c={delta:0,timestamp:0,isProcessing:!1};function h(g){u.has(g)&&(p.schedule(g),r()),g(c)}const p={schedule:(g,y=!1,v=!1)=>{const k=v&&o?t:s;return y&&u.add(g),k.has(g)||k.add(g),g},cancel:g=>{s.delete(g),u.delete(g)},process:g=>{if(c=g,o){a=!0;return}o=!0,[t,s]=[s,t],t.forEach(h),t.clear(),o=!1,a&&(a=!1,p.process(g))}};return p}const To=["read","resolveKeyframes","update","preRender","render","postRender"],cS=40;function xg(r,t){let s=!1,o=!0;const a={delta:0,timestamp:0,isProcessing:!1},u=()=>s=!0,c=To.reduce((R,M)=>(R[M]=uS(u),R),{}),{read:h,resolveKeyframes:p,update:g,preRender:y,render:v,postRender:w}=c,k=()=>{const R=performance.now();s=!1,a.delta=o?1e3/60:Math.max(Math.min(R-a.timestamp,cS),1),a.timestamp=R,a.isProcessing=!0,h.process(a),p.process(a),g.process(a),y.process(a),v.process(a),w.process(a),a.isProcessing=!1,s&&t&&(o=!1,r(k))},C=()=>{s=!0,o=!0,a.isProcessing||r(k)};return{schedule:To.reduce((R,M)=>{const _=c[M];return R[M]=(B,V=!1,W=!1)=>(s||C(),_.schedule(B,V,W)),R},{}),cancel:R=>{for(let M=0;M<To.length;M++)c[To[M]].cancel(R)},state:a,steps:c}}const{schedule:Ae,cancel:Un,state:et,steps:gu}=xg(typeof requestAnimationFrame<"u"?requestAnimationFrame:St,!0),wg=b.createContext({strict:!1}),gp={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"]},Kr={};for(const r in gp)Kr[r]={isEnabled:t=>gp[r].some(s=>!!t[s])};function dS(r){for(const t in r)Kr[t]={...Kr[t],...r[t]}}const fS=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 Bo(r){return r.startsWith("while")||r.startsWith("drag")&&r!=="draggable"||r.startsWith("layout")||r.startsWith("onTap")||r.startsWith("onPan")||r.startsWith("onLayout")||fS.has(r)}let Sg=r=>!Bo(r);function hS(r){r&&(Sg=t=>t.startsWith("on")?!Bo(t):r(t))}try{hS(require("@emotion/is-prop-valid").default)}catch{}function pS(r,t,s){const o={};for(const a in r)a==="values"&&typeof r.values=="object"||(Sg(a)||s===!0&&Bo(a)||!t&&!Bo(a)||r.draggable&&a.startsWith("onDrag"))&&(o[a]=r[a]);return o}function mS(r){if(typeof Proxy>"u")return r;const t=new Map,s=(...o)=>r(...o);return new Proxy(s,{get:(o,a)=>a==="create"?r:(t.has(a)||t.set(a,r(a)),t.get(a))})}const ta=b.createContext({});function ni(r){return typeof r=="string"||Array.isArray(r)}function na(r){return r!==null&&typeof r=="object"&&typeof r.start=="function"}const gc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],yc=["initial",...gc];function ra(r){return na(r.animate)||yc.some(t=>ni(r[t]))}function bg(r){return!!(ra(r)||r.variants)}function gS(r,t){if(ra(r)){const{initial:s,animate:o}=r;return{initial:s===!1||ni(s)?s:void 0,animate:ni(o)?o:void 0}}return r.inherit!==!1?t:{}}function yS(r){const{initial:t,animate:s}=gS(r,b.useContext(ta));return b.useMemo(()=>({initial:t,animate:s}),[yp(t),yp(s)])}function yp(r){return Array.isArray(r)?r.join(" "):r}const vS=Symbol.for("motionComponentSymbol");function Dr(r){return r&&typeof r=="object"&&Object.prototype.hasOwnProperty.call(r,"current")}function xS(r,t,s){return b.useCallback(o=>{o&&r.onMount&&r.onMount(o),t&&(o?t.mount(o):t.unmount()),s&&(typeof s=="function"?s(o):Dr(s)&&(s.current=o))},[t])}const vc=r=>r.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),wS="framerAppearId",kg="data-"+vc(wS),{schedule:xc}=xg(queueMicrotask,!1),jg=b.createContext({});function SS(r,t,s,o,a){var u,c;const{visualElement:h}=b.useContext(ta),p=b.useContext(wg),g=b.useContext(hc),y=b.useContext(yg).reducedMotion,v=b.useRef(null);o=o||p.renderer,!v.current&&o&&(v.current=o(r,{visualState:t,parent:h,props:s,presenceContext:g,blockInitialAnimation:g?g.initial===!1:!1,reducedMotionConfig:y}));const w=v.current,k=b.useContext(jg);w&&!w.projection&&a&&(w.type==="html"||w.type==="svg")&&bS(v.current,s,a,k);const C=b.useRef(!1);b.useInsertionEffect(()=>{w&&C.current&&w.update(s,g)});const E=s[kg],j=b.useRef(!!E&&!(!((u=window.MotionHandoffIsComplete)===null||u===void 0)&&u.call(window,E))&&((c=window.MotionHasOptimisedAnimation)===null||c===void 0?void 0:c.call(window,E)));return aS(()=>{w&&(C.current=!0,window.MotionIsMounted=!0,w.updateFeatures(),xc.render(w.render),j.current&&w.animationState&&w.animationState.animateChanges())}),b.useEffect(()=>{w&&(!j.current&&w.animationState&&w.animationState.animateChanges(),j.current&&(queueMicrotask(()=>{var R;(R=window.MotionHandoffMarkAsComplete)===null||R===void 0||R.call(window,E)}),j.current=!1))}),w}function bS(r,t,s,o){const{layoutId:a,layout:u,drag:c,dragConstraints:h,layoutScroll:p,layoutRoot:g}=t;r.projection=new s(r.latestValues,t["data-framer-portal-id"]?void 0:Tg(r.parent)),r.projection.setOptions({layoutId:a,layout:u,alwaysMeasureLayout:!!c||h&&Dr(h),visualElement:r,animationType:typeof u=="string"?u:"both",initialPromotionConfig:o,layoutScroll:p,layoutRoot:g})}function Tg(r){if(r)return r.options.allowProjection!==!1?r.projection:Tg(r.parent)}function kS({preloadedFeatures:r,createVisualElement:t,useRender:s,useVisualState:o,Component:a}){var u,c;r&&dS(r);function h(g,y){let v;const w={...b.useContext(yg),...g,layoutId:jS(g)},{isStatic:k}=w,C=yS(g),E=o(g,k);if(!k&&pc){TS();const j=CS(w);v=j.MeasureLayout,C.visualElement=SS(a,E,w,t,j.ProjectionNode)}return f.jsxs(ta.Provider,{value:C,children:[v&&C.visualElement?f.jsx(v,{visualElement:C.visualElement,...w}):null,s(a,g,xS(E,C.visualElement,y),E,k,C.visualElement)]})}h.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=b.forwardRef(h);return p[vS]=a,p}function jS({layoutId:r}){const t=b.useContext(gg).id;return t&&r!==void 0?t+"-"+r:r}function TS(r,t){b.useContext(wg).strict}function CS(r){const{drag:t,layout:s}=Kr;if(!t&&!s)return{};const o={...t,...s};return{MeasureLayout:t?.isEnabled(r)||s?.isEnabled(r)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}const ES=["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 wc(r){return typeof r!="string"||r.includes("-")?!1:!!(ES.indexOf(r)>-1||/[A-Z]/u.test(r))}function vp(r){const t=[{},{}];return r?.values.forEach((s,o)=>{t[0][o]=s.get(),t[1][o]=s.getVelocity()}),t}function Sc(r,t,s,o){if(typeof t=="function"){const[a,u]=vp(o);t=t(s!==void 0?s:r.custom,a,u)}if(typeof t=="string"&&(t=r.variants&&r.variants[t]),typeof t=="function"){const[a,u]=vp(o);t=t(s!==void 0?s:r.custom,a,u)}return t}const Vu=r=>Array.isArray(r),NS=r=>!!(r&&typeof r=="object"&&r.mix&&r.toValue),PS=r=>Vu(r)?r[r.length-1]||0:r,ot=r=>!!(r&&r.getVelocity);function Lo(r){const t=ot(r)?r.get():r;return NS(t)?t.toValue():t}function RS({scrapeMotionValuesFromProps:r,createRenderState:t,onUpdate:s},o,a,u){const c={latestValues:AS(o,a,u,r),renderState:t()};return s&&(c.onMount=h=>s({props:o,current:h,...c}),c.onUpdate=h=>s(h)),c}const Cg=r=>(t,s)=>{const o=b.useContext(ta),a=b.useContext(hc),u=()=>RS(r,t,o,a);return s?u():iS(u)};function AS(r,t,s,o){const a={},u=o(r,{});for(const w in u)a[w]=Lo(u[w]);let{initial:c,animate:h}=r;const p=ra(r),g=bg(r);t&&g&&!p&&r.inherit!==!1&&(c===void 0&&(c=t.initial),h===void 0&&(h=t.animate));let y=s?s.initial===!1:!1;y=y||c===!1;const v=y?h:c;if(v&&typeof v!="boolean"&&!na(v)){const w=Array.isArray(v)?v:[v];for(let k=0;k<w.length;k++){const C=Sc(r,w[k]);if(C){const{transitionEnd:E,transition:j,...R}=C;for(const M in R){let _=R[M];if(Array.isArray(_)){const B=y?_.length-1:0;_=_[B]}_!==null&&(a[M]=_)}for(const M in E)a[M]=E[M]}}}return a}const es=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ur=new Set(es),Eg=r=>t=>typeof t=="string"&&t.startsWith(r),Ng=Eg("--"),LS=Eg("var(--"),bc=r=>LS(r)?OS.test(r.split("/*")[0].trim()):!1,OS=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Pg=(r,t)=>t&&typeof r=="number"?t.transform(r):r,gn=(r,t,s)=>s>t?t:s<r?r:s,ts={test:r=>typeof r=="number",parse:parseFloat,transform:r=>r},ri={...ts,transform:r=>gn(0,1,r)},Co={...ts,default:1},ui=r=>({test:t=>typeof t=="string"&&t.endsWith(r)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${r}`}),In=ui("deg"),Jt=ui("%"),oe=ui("px"),MS=ui("vh"),_S=ui("vw"),xp={...Jt,parse:r=>Jt.parse(r)/100,transform:r=>Jt.transform(r*100)},DS={borderWidth:oe,borderTopWidth:oe,borderRightWidth:oe,borderBottomWidth:oe,borderLeftWidth:oe,borderRadius:oe,radius:oe,borderTopLeftRadius:oe,borderTopRightRadius:oe,borderBottomRightRadius:oe,borderBottomLeftRadius:oe,width:oe,maxWidth:oe,height:oe,maxHeight:oe,top:oe,right:oe,bottom:oe,left:oe,padding:oe,paddingTop:oe,paddingRight:oe,paddingBottom:oe,paddingLeft:oe,margin:oe,marginTop:oe,marginRight:oe,marginBottom:oe,marginLeft:oe,backgroundPositionX:oe,backgroundPositionY:oe},IS={rotate:In,rotateX:In,rotateY:In,rotateZ:In,scale:Co,scaleX:Co,scaleY:Co,scaleZ:Co,skew:In,skewX:In,skewY:In,distance:oe,translateX:oe,translateY:oe,translateZ:oe,x:oe,y:oe,z:oe,perspective:oe,transformPerspective:oe,opacity:ri,originX:xp,originY:xp,originZ:oe},wp={...ts,transform:Math.round},kc={...DS,...IS,zIndex:wp,size:oe,fillOpacity:ri,strokeOpacity:ri,numOctaves:wp},FS={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},VS=es.length;function US(r,t,s){let o="",a=!0;for(let u=0;u<VS;u++){const c=es[u],h=r[c];if(h===void 0)continue;let p=!0;if(typeof h=="number"?p=h===(c.startsWith("scale")?1:0):p=parseFloat(h)===0,!p||s){const g=Pg(h,kc[c]);if(!p){a=!1;const y=FS[c]||c;o+=`${y}(${g}) `}s&&(t[c]=g)}}return o=o.trim(),s?o=s(t,a?"":o):a&&(o="none"),o}function jc(r,t,s){const{style:o,vars:a,transformOrigin:u}=r;let c=!1,h=!1;for(const p in t){const g=t[p];if(ur.has(p)){c=!0;continue}else if(Ng(p)){a[p]=g;continue}else{const y=Pg(g,kc[p]);p.startsWith("origin")?(h=!0,u[p]=y):o[p]=y}}if(t.transform||(c||s?o.transform=US(t,r.transform,s):o.transform&&(o.transform="none")),h){const{originX:p="50%",originY:g="50%",originZ:y=0}=u;o.transformOrigin=`${p} ${g} ${y}`}}const BS={offset:"stroke-dashoffset",array:"stroke-dasharray"},zS={offset:"strokeDashoffset",array:"strokeDasharray"};function $S(r,t,s=1,o=0,a=!0){r.pathLength=1;const u=a?BS:zS;r[u.offset]=oe.transform(-o);const c=oe.transform(t),h=oe.transform(s);r[u.array]=`${c} ${h}`}function Sp(r,t,s){return typeof r=="string"?r:oe.transform(t+s*r)}function HS(r,t,s){const o=Sp(t,r.x,r.width),a=Sp(s,r.y,r.height);return`${o} ${a}`}function Tc(r,{attrX:t,attrY:s,attrScale:o,originX:a,originY:u,pathLength:c,pathSpacing:h=1,pathOffset:p=0,...g},y,v){if(jc(r,g,v),y){r.style.viewBox&&(r.attrs.viewBox=r.style.viewBox);return}r.attrs=r.style,r.style={};const{attrs:w,style:k,dimensions:C}=r;w.transform&&(C&&(k.transform=w.transform),delete w.transform),C&&(a!==void 0||u!==void 0||k.transform)&&(k.transformOrigin=HS(C,a!==void 0?a:.5,u!==void 0?u:.5)),t!==void 0&&(w.x=t),s!==void 0&&(w.y=s),o!==void 0&&(w.scale=o),c!==void 0&&$S(w,c,h,p,!1)}const Cc=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),Rg=()=>({...Cc(),attrs:{}}),Ec=r=>typeof r=="string"&&r.toLowerCase()==="svg";function Ag(r,{style:t,vars:s},o,a){Object.assign(r.style,t,a&&a.getProjectionStyles(o));for(const u in s)r.style.setProperty(u,s[u])}const Lg=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 Og(r,t,s,o){Ag(r,t,void 0,o);for(const a in t.attrs)r.setAttribute(Lg.has(a)?a:vc(a),t.attrs[a])}const zo={};function WS(r){Object.assign(zo,r)}function Mg(r,{layout:t,layoutId:s}){return ur.has(r)||r.startsWith("origin")||(t||s!==void 0)&&(!!zo[r]||r==="opacity")}function Nc(r,t,s){var o;const{style:a}=r,u={};for(const c in a)(ot(a[c])||t.style&&ot(t.style[c])||Mg(c,r)||((o=s?.getValue(c))===null||o===void 0?void 0:o.liveStyle)!==void 0)&&(u[c]=a[c]);return u}function _g(r,t,s){const o=Nc(r,t,s);for(const a in r)if(ot(r[a])||ot(t[a])){const u=es.indexOf(a)!==-1?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a;o[u]=r[a]}return o}function qS(r,t){try{t.dimensions=typeof r.getBBox=="function"?r.getBBox():r.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}const bp=["x","y","width","height","cx","cy","r"],KS={useVisualState:Cg({scrapeMotionValuesFromProps:_g,createRenderState:Rg,onUpdate:({props:r,prevProps:t,current:s,renderState:o,latestValues:a})=>{if(!s)return;let u=!!r.drag;if(!u){for(const h in a)if(ur.has(h)){u=!0;break}}if(!u)return;let c=!t;if(t)for(let h=0;h<bp.length;h++){const p=bp[h];r[p]!==t[p]&&(c=!0)}c&&Ae.read(()=>{qS(s,o),Ae.render(()=>{Tc(o,a,Ec(s.tagName),r.transformTemplate),Og(s,o)})})}})},GS={useVisualState:Cg({scrapeMotionValuesFromProps:Nc,createRenderState:Cc})};function Dg(r,t,s){for(const o in t)!ot(t[o])&&!Mg(o,s)&&(r[o]=t[o])}function QS({transformTemplate:r},t){return b.useMemo(()=>{const s=Cc();return jc(s,t,r),Object.assign({},s.vars,s.style)},[t])}function YS(r,t){const s=r.style||{},o={};return Dg(o,s,r),Object.assign(o,QS(r,t)),o}function XS(r,t){const s={},o=YS(r,t);return r.drag&&r.dragListener!==!1&&(s.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=r.drag===!0?"none":`pan-${r.drag==="x"?"y":"x"}`),r.tabIndex===void 0&&(r.onTap||r.onTapStart||r.whileTap)&&(s.tabIndex=0),s.style=o,s}function JS(r,t,s,o){const a=b.useMemo(()=>{const u=Rg();return Tc(u,t,Ec(o),r.transformTemplate),{...u.attrs,style:{...u.style}}},[t]);if(r.style){const u={};Dg(u,r.style,r),a.style={...u,...a.style}}return a}function ZS(r=!1){return(s,o,a,{latestValues:u},c)=>{const p=(wc(s)?JS:XS)(o,u,c,s),g=pS(o,typeof s=="string",r),y=s!==b.Fragment?{...g,...p,ref:a}:{},{children:v}=o,w=b.useMemo(()=>ot(v)?v.get():v,[v]);return b.createElement(s,{...y,children:w})}}function eb(r,t){return function(o,{forwardMotionProps:a}={forwardMotionProps:!1}){const c={...wc(o)?KS:GS,preloadedFeatures:r,useRender:ZS(a),createVisualElement:t,Component:o};return kS(c)}}function Ig(r,t){if(!Array.isArray(t))return!1;const s=t.length;if(s!==r.length)return!1;for(let o=0;o<s;o++)if(t[o]!==r[o])return!1;return!0}function sa(r,t,s){const o=r.getProps();return Sc(o,t,s!==void 0?s:o.custom,r)}const tb=mc(()=>window.ScrollTimeline!==void 0);class nb{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,s){for(let o=0;o<this.animations.length;o++)this.animations[o][t]=s}attachTimeline(t,s){const o=this.animations.map(a=>{if(tb()&&a.attachTimeline)return a.attachTimeline(t);if(typeof s=="function")return s(a)});return()=>{o.forEach((a,u)=>{a&&a(),this.animations[u].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let s=0;s<this.animations.length;s++)t=Math.max(t,this.animations[s].duration);return t}runAll(t){this.animations.forEach(s=>s[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class rb extends nb{then(t,s){return Promise.all(this.animations).then(t).catch(s)}}function Pc(r,t){return r?r[t]||r.default||r:void 0}const Uu=2e4;function Fg(r){let t=0;const s=50;let o=r.next(t);for(;!o.done&&t<Uu;)t+=s,o=r.next(t);return t>=Uu?1/0:t}function Rc(r){return typeof r=="function"}function kp(r,t){r.timeline=t,r.onfinish=null}const Ac=r=>Array.isArray(r)&&typeof r[0]=="number",sb={linearEasing:void 0};function ib(r,t){const s=mc(r);return()=>{var o;return(o=sb[t])!==null&&o!==void 0?o:s()}}const $o=ib(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Vg=(r,t,s=10)=>{let o="";const a=Math.max(Math.round(t/s),2);for(let u=0;u<a;u++)o+=r(qr(0,a-1,u))+", ";return`linear(${o.substring(0,o.length-2)})`};function Ug(r){return!!(typeof r=="function"&&$o()||!r||typeof r=="string"&&(r in Bu||$o())||Ac(r)||Array.isArray(r)&&r.every(Ug))}const qs=([r,t,s,o])=>`cubic-bezier(${r}, ${t}, ${s}, ${o})`,Bu={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:qs([0,.65,.55,1]),circOut:qs([.55,0,1,.45]),backIn:qs([.31,.01,.66,-.59]),backOut:qs([.33,1.53,.69,.99])};function Bg(r,t){if(r)return typeof r=="function"&&$o()?Vg(r,t):Ac(r)?qs(r):Array.isArray(r)?r.map(s=>Bg(s,t)||Bu.easeOut):Bu[r]}const Bt={x:!1,y:!1};function zg(){return Bt.x||Bt.y}function ob(r,t,s){var o;if(r instanceof Element)return[r];if(typeof r=="string"){let a=document;const u=(o=void 0)!==null&&o!==void 0?o:a.querySelectorAll(r);return u?Array.from(u):[]}return Array.from(r)}function $g(r,t){const s=ob(r),o=new AbortController,a={passive:!0,...t,signal:o.signal};return[s,a,()=>o.abort()]}function jp(r){return t=>{t.pointerType==="touch"||zg()||r(t)}}function ab(r,t,s={}){const[o,a,u]=$g(r,s),c=jp(h=>{const{target:p}=h,g=t(h);if(typeof g!="function"||!p)return;const y=jp(v=>{g(v),p.removeEventListener("pointerleave",y)});p.addEventListener("pointerleave",y,a)});return o.forEach(h=>{h.addEventListener("pointerenter",c,a)}),u}const Hg=(r,t)=>t?r===t?!0:Hg(r,t.parentElement):!1,Lc=r=>r.pointerType==="mouse"?typeof r.button!="number"||r.button<=0:r.isPrimary!==!1,lb=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function ub(r){return lb.has(r.tagName)||r.tabIndex!==-1}const Ks=new WeakSet;function Tp(r){return t=>{t.key==="Enter"&&r(t)}}function yu(r,t){r.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const cb=(r,t)=>{const s=r.currentTarget;if(!s)return;const o=Tp(()=>{if(Ks.has(s))return;yu(s,"down");const a=Tp(()=>{yu(s,"up")}),u=()=>yu(s,"cancel");s.addEventListener("keyup",a,t),s.addEventListener("blur",u,t)});s.addEventListener("keydown",o,t),s.addEventListener("blur",()=>s.removeEventListener("keydown",o),t)};function Cp(r){return Lc(r)&&!zg()}function db(r,t,s={}){const[o,a,u]=$g(r,s),c=h=>{const p=h.currentTarget;if(!Cp(h)||Ks.has(p))return;Ks.add(p);const g=t(h),y=(k,C)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",w),!(!Cp(k)||!Ks.has(p))&&(Ks.delete(p),typeof g=="function"&&g(k,{success:C}))},v=k=>{y(k,s.useGlobalTarget||Hg(p,k.target))},w=k=>{y(k,!1)};window.addEventListener("pointerup",v,a),window.addEventListener("pointercancel",w,a)};return o.forEach(h=>{!ub(h)&&h.getAttribute("tabindex")===null&&(h.tabIndex=0),(s.useGlobalTarget?window:h).addEventListener("pointerdown",c,a),h.addEventListener("focus",g=>cb(g,a),a)}),u}function fb(r){return r==="x"||r==="y"?Bt[r]?null:(Bt[r]=!0,()=>{Bt[r]=!1}):Bt.x||Bt.y?null:(Bt.x=Bt.y=!0,()=>{Bt.x=Bt.y=!1})}const Wg=new Set(["width","height","top","left","right","bottom",...es]);let Oo;function hb(){Oo=void 0}const Zt={now:()=>(Oo===void 0&&Zt.set(et.isProcessing||lS.useManualTiming?et.timestamp:performance.now()),Oo),set:r=>{Oo=r,queueMicrotask(hb)}};function Oc(r,t){r.indexOf(t)===-1&&r.push(t)}function Mc(r,t){const s=r.indexOf(t);s>-1&&r.splice(s,1)}class _c{constructor(){this.subscriptions=[]}add(t){return Oc(this.subscriptions,t),()=>Mc(this.subscriptions,t)}notify(t,s,o){const a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](t,s,o);else for(let u=0;u<a;u++){const c=this.subscriptions[u];c&&c(t,s,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function qg(r,t){return t?r*(1e3/t):0}const Ep=30,pb=r=>!isNaN(parseFloat(r));class mb{constructor(t,s={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(o,a=!0)=>{const u=Zt.now();this.updatedAt!==u&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),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(t),this.owner=s.owner}setCurrent(t){this.current=t,this.updatedAt=Zt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=pb(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,s){this.events[t]||(this.events[t]=new _c);const o=this.events[t].add(s);return t==="change"?()=>{o(),Ae.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,s){this.passiveEffect=t,this.stopPassiveEffect=s}set(t,s=!0){!s||!this.passiveEffect?this.updateAndNotify(t,s):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,s,o){this.set(s),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-o}jump(t,s=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Zt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Ep)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,Ep);return qg(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(t){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=t(s),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 si(r,t){return new mb(r,t)}function gb(r,t,s){r.hasValue(t)?r.getValue(t).set(s):r.addValue(t,si(s))}function yb(r,t){const s=sa(r,t);let{transitionEnd:o={},transition:a={},...u}=s||{};u={...u,...o};for(const c in u){const h=PS(u[c]);gb(r,c,h)}}function vb(r){return!!(ot(r)&&r.add)}function zu(r,t){const s=r.getValue("willChange");if(vb(s))return s.add(t)}function Kg(r){return r.props[kg]}const Gg=(r,t,s)=>(((1-3*s+3*t)*r+(3*s-6*t))*r+3*t)*r,xb=1e-7,wb=12;function Sb(r,t,s,o,a){let u,c,h=0;do c=t+(s-t)/2,u=Gg(c,o,a)-r,u>0?s=c:t=c;while(Math.abs(u)>xb&&++h<wb);return c}function ci(r,t,s,o){if(r===t&&s===o)return St;const a=u=>Sb(u,0,1,r,s);return u=>u===0||u===1?u:Gg(a(u),t,o)}const Qg=r=>t=>t<=.5?r(2*t)/2:(2-r(2*(1-t)))/2,Yg=r=>t=>1-r(1-t),Xg=ci(.33,1.53,.69,.99),Dc=Yg(Xg),Jg=Qg(Dc),Zg=r=>(r*=2)<1?.5*Dc(r):.5*(2-Math.pow(2,-10*(r-1))),Ic=r=>1-Math.sin(Math.acos(r)),ey=Yg(Ic),ty=Qg(Ic),ny=r=>/^0[^.\s]+$/u.test(r);function bb(r){return typeof r=="number"?r===0:r!==null?r==="none"||r==="0"||ny(r):!0}const Ys=r=>Math.round(r*1e5)/1e5,Fc=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function kb(r){return r==null}const jb=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Vc=(r,t)=>s=>!!(typeof s=="string"&&jb.test(s)&&s.startsWith(r)||t&&!kb(s)&&Object.prototype.hasOwnProperty.call(s,t)),ry=(r,t,s)=>o=>{if(typeof o!="string")return o;const[a,u,c,h]=o.match(Fc);return{[r]:parseFloat(a),[t]:parseFloat(u),[s]:parseFloat(c),alpha:h!==void 0?parseFloat(h):1}},Tb=r=>gn(0,255,r),vu={...ts,transform:r=>Math.round(Tb(r))},or={test:Vc("rgb","red"),parse:ry("red","green","blue"),transform:({red:r,green:t,blue:s,alpha:o=1})=>"rgba("+vu.transform(r)+", "+vu.transform(t)+", "+vu.transform(s)+", "+Ys(ri.transform(o))+")"};function Cb(r){let t="",s="",o="",a="";return r.length>5?(t=r.substring(1,3),s=r.substring(3,5),o=r.substring(5,7),a=r.substring(7,9)):(t=r.substring(1,2),s=r.substring(2,3),o=r.substring(3,4),a=r.substring(4,5),t+=t,s+=s,o+=o,a+=a),{red:parseInt(t,16),green:parseInt(s,16),blue:parseInt(o,16),alpha:a?parseInt(a,16)/255:1}}const $u={test:Vc("#"),parse:Cb,transform:or.transform},Ir={test:Vc("hsl","hue"),parse:ry("hue","saturation","lightness"),transform:({hue:r,saturation:t,lightness:s,alpha:o=1})=>"hsla("+Math.round(r)+", "+Jt.transform(Ys(t))+", "+Jt.transform(Ys(s))+", "+Ys(ri.transform(o))+")"},it={test:r=>or.test(r)||$u.test(r)||Ir.test(r),parse:r=>or.test(r)?or.parse(r):Ir.test(r)?Ir.parse(r):$u.parse(r),transform:r=>typeof r=="string"?r:r.hasOwnProperty("red")?or.transform(r):Ir.transform(r)},Eb=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Nb(r){var t,s;return isNaN(r)&&typeof r=="string"&&(((t=r.match(Fc))===null||t===void 0?void 0:t.length)||0)+(((s=r.match(Eb))===null||s===void 0?void 0:s.length)||0)>0}const sy="number",iy="color",Pb="var",Rb="var(",Np="${}",Ab=/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 ii(r){const t=r.toString(),s=[],o={color:[],number:[],var:[]},a=[];let u=0;const h=t.replace(Ab,p=>(it.test(p)?(o.color.push(u),a.push(iy),s.push(it.parse(p))):p.startsWith(Rb)?(o.var.push(u),a.push(Pb),s.push(p)):(o.number.push(u),a.push(sy),s.push(parseFloat(p))),++u,Np)).split(Np);return{values:s,split:h,indexes:o,types:a}}function oy(r){return ii(r).values}function ay(r){const{split:t,types:s}=ii(r),o=t.length;return a=>{let u="";for(let c=0;c<o;c++)if(u+=t[c],a[c]!==void 0){const h=s[c];h===sy?u+=Ys(a[c]):h===iy?u+=it.transform(a[c]):u+=a[c]}return u}}const Lb=r=>typeof r=="number"?0:r;function Ob(r){const t=oy(r);return ay(r)(t.map(Lb))}const Bn={test:Nb,parse:oy,createTransformer:ay,getAnimatableNone:Ob},Mb=new Set(["brightness","contrast","saturate","opacity"]);function _b(r){const[t,s]=r.slice(0,-1).split("(");if(t==="drop-shadow")return r;const[o]=s.match(Fc)||[];if(!o)return r;const a=s.replace(o,"");let u=Mb.has(t)?1:0;return o!==s&&(u*=100),t+"("+u+a+")"}const Db=/\b([a-z-]*)\(.*?\)/gu,Hu={...Bn,getAnimatableNone:r=>{const t=r.match(Db);return t?t.map(_b).join(" "):r}},Ib={...kc,color:it,backgroundColor:it,outlineColor:it,fill:it,stroke:it,borderColor:it,borderTopColor:it,borderRightColor:it,borderBottomColor:it,borderLeftColor:it,filter:Hu,WebkitFilter:Hu},Uc=r=>Ib[r];function ly(r,t){let s=Uc(r);return s!==Hu&&(s=Bn),s.getAnimatableNone?s.getAnimatableNone(t):void 0}const Fb=new Set(["auto","none","0"]);function Vb(r,t,s){let o=0,a;for(;o<r.length&&!a;){const u=r[o];typeof u=="string"&&!Fb.has(u)&&ii(u).values.length&&(a=r[o]),o++}if(a&&s)for(const u of t)r[u]=ly(s,a)}const Pp=r=>r===ts||r===oe,Rp=(r,t)=>parseFloat(r.split(", ")[t]),Ap=(r,t)=>(s,{transform:o})=>{if(o==="none"||!o)return 0;const a=o.match(/^matrix3d\((.+)\)$/u);if(a)return Rp(a[1],t);{const u=o.match(/^matrix\((.+)\)$/u);return u?Rp(u[1],r):0}},Ub=new Set(["x","y","z"]),Bb=es.filter(r=>!Ub.has(r));function zb(r){const t=[];return Bb.forEach(s=>{const o=r.getValue(s);o!==void 0&&(t.push([s,o.get()]),o.set(s.startsWith("scale")?1:0))}),t}const Gr={width:({x:r},{paddingLeft:t="0",paddingRight:s="0"})=>r.max-r.min-parseFloat(t)-parseFloat(s),height:({y:r},{paddingTop:t="0",paddingBottom:s="0"})=>r.max-r.min-parseFloat(t)-parseFloat(s),top:(r,{top:t})=>parseFloat(t),left:(r,{left:t})=>parseFloat(t),bottom:({y:r},{top:t})=>parseFloat(t)+(r.max-r.min),right:({x:r},{left:t})=>parseFloat(t)+(r.max-r.min),x:Ap(4,13),y:Ap(5,14)};Gr.translateX=Gr.x;Gr.translateY=Gr.y;const lr=new Set;let Wu=!1,qu=!1;function uy(){if(qu){const r=Array.from(lr).filter(o=>o.needsMeasurement),t=new Set(r.map(o=>o.element)),s=new Map;t.forEach(o=>{const a=zb(o);a.length&&(s.set(o,a),o.render())}),r.forEach(o=>o.measureInitialState()),t.forEach(o=>{o.render();const a=s.get(o);a&&a.forEach(([u,c])=>{var h;(h=o.getValue(u))===null||h===void 0||h.set(c)})}),r.forEach(o=>o.measureEndState()),r.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}qu=!1,Wu=!1,lr.forEach(r=>r.complete()),lr.clear()}function cy(){lr.forEach(r=>{r.readKeyframes(),r.needsMeasurement&&(qu=!0)})}function $b(){cy(),uy()}class Bc{constructor(t,s,o,a,u,c=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=s,this.name=o,this.motionValue=a,this.element=u,this.isAsync=c}scheduleResolve(){this.isScheduled=!0,this.isAsync?(lr.add(this),Wu||(Wu=!0,Ae.read(cy),Ae.resolveKeyframes(uy))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:s,element:o,motionValue:a}=this;for(let u=0;u<t.length;u++)if(t[u]===null)if(u===0){const c=a?.get(),h=t[t.length-1];if(c!==void 0)t[0]=c;else if(o&&s){const p=o.readValue(s,h);p!=null&&(t[0]=p)}t[0]===void 0&&(t[0]=h),a&&c===void 0&&a.set(t[0])}else t[u]=t[u-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),lr.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,lr.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const dy=r=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(r),Hb=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Wb(r){const t=Hb.exec(r);if(!t)return[,];const[,s,o,a]=t;return[`--${s??o}`,a]}function fy(r,t,s=1){const[o,a]=Wb(r);if(!o)return;const u=window.getComputedStyle(t).getPropertyValue(o);if(u){const c=u.trim();return dy(c)?parseFloat(c):c}return bc(a)?fy(a,t,s+1):a}const hy=r=>t=>t.test(r),qb={test:r=>r==="auto",parse:r=>r},py=[ts,oe,Jt,In,_S,MS,qb],Lp=r=>py.find(hy(r));class my extends Bc{constructor(t,s,o,a,u){super(t,s,o,a,u,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:s,name:o}=this;if(!s||!s.current)return;super.readKeyframes();for(let p=0;p<t.length;p++){let g=t[p];if(typeof g=="string"&&(g=g.trim(),bc(g))){const y=fy(g,s.current);y!==void 0&&(t[p]=y),p===t.length-1&&(this.finalKeyframe=g)}}if(this.resolveNoneKeyframes(),!Wg.has(o)||t.length!==2)return;const[a,u]=t,c=Lp(a),h=Lp(u);if(c!==h)if(Pp(c)&&Pp(h))for(let p=0;p<t.length;p++){const g=t[p];typeof g=="string"&&(t[p]=parseFloat(g))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:s}=this,o=[];for(let a=0;a<t.length;a++)bb(t[a])&&o.push(a);o.length&&Vb(t,o,s)}measureInitialState(){const{element:t,unresolvedKeyframes:s,name:o}=this;if(!t||!t.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Gr[o](t.measureViewportBox(),window.getComputedStyle(t.current)),s[0]=this.measuredOrigin;const a=s[s.length-1];a!==void 0&&t.getValue(o,a).jump(a,!1)}measureEndState(){var t;const{element:s,name:o,unresolvedKeyframes:a}=this;if(!s||!s.current)return;const u=s.getValue(o);u&&u.jump(this.measuredOrigin,!1);const c=a.length-1,h=a[c];a[c]=Gr[o](s.measureViewportBox(),window.getComputedStyle(s.current)),h!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=h),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([p,g])=>{s.getValue(p).set(g)}),this.resolveNoneKeyframes()}}const Op=(r,t)=>t==="zIndex"?!1:!!(typeof r=="number"||Array.isArray(r)||typeof r=="string"&&(Bn.test(r)||r==="0")&&!r.startsWith("url("));function Kb(r){const t=r[0];if(r.length===1)return!0;for(let s=0;s<r.length;s++)if(r[s]!==t)return!0}function Gb(r,t,s,o){const a=r[0];if(a===null)return!1;if(t==="display"||t==="visibility")return!0;const u=r[r.length-1],c=Op(a,t),h=Op(u,t);return!c||!h?!1:Kb(r)||(s==="spring"||Rc(s))&&o}const Qb=r=>r!==null;function ia(r,{repeat:t,repeatType:s="loop"},o){const a=r.filter(Qb),u=t&&s!=="loop"&&t%2===1?0:a.length-1;return!u||o===void 0?a[u]:o}const Yb=40;class gy{constructor({autoplay:t=!0,delay:s=0,type:o="keyframes",repeat:a=0,repeatDelay:u=0,repeatType:c="loop",...h}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Zt.now(),this.options={autoplay:t,delay:s,type:o,repeat:a,repeatDelay:u,repeatType:c,...h},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>Yb?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&$b(),this._resolved}onKeyframesResolved(t,s){this.resolvedAt=Zt.now(),this.hasAttemptedResolve=!0;const{name:o,type:a,velocity:u,delay:c,onComplete:h,onUpdate:p,isGenerator:g}=this.options;if(!g&&!Gb(t,o,a,u))if(c)this.options.duration=0;else{p&&p(ia(t,this.options,s)),h&&h(),this.resolveFinishedPromise();return}const y=this.initPlayback(t,s);y!==!1&&(this._resolved={keyframes:t,finalKeyframe:s,...y},this.onPostResolved())}onPostResolved(){}then(t,s){return this.currentFinishedPromise.then(t,s)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const Ve=(r,t,s)=>r+(t-r)*s;function xu(r,t,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?r+(t-r)*6*s:s<1/2?t:s<2/3?r+(t-r)*(2/3-s)*6:r}function Xb({hue:r,saturation:t,lightness:s,alpha:o}){r/=360,t/=100,s/=100;let a=0,u=0,c=0;if(!t)a=u=c=s;else{const h=s<.5?s*(1+t):s+t-s*t,p=2*s-h;a=xu(p,h,r+1/3),u=xu(p,h,r),c=xu(p,h,r-1/3)}return{red:Math.round(a*255),green:Math.round(u*255),blue:Math.round(c*255),alpha:o}}function Ho(r,t){return s=>s>0?t:r}const wu=(r,t,s)=>{const o=r*r,a=s*(t*t-o)+o;return a<0?0:Math.sqrt(a)},Jb=[$u,or,Ir],Zb=r=>Jb.find(t=>t.test(r));function Mp(r){const t=Zb(r);if(!t)return!1;let s=t.parse(r);return t===Ir&&(s=Xb(s)),s}const _p=(r,t)=>{const s=Mp(r),o=Mp(t);if(!s||!o)return Ho(r,t);const a={...s};return u=>(a.red=wu(s.red,o.red,u),a.green=wu(s.green,o.green,u),a.blue=wu(s.blue,o.blue,u),a.alpha=Ve(s.alpha,o.alpha,u),or.transform(a))},ek=(r,t)=>s=>t(r(s)),di=(...r)=>r.reduce(ek),Ku=new Set(["none","hidden"]);function tk(r,t){return Ku.has(r)?s=>s<=0?r:t:s=>s>=1?t:r}function nk(r,t){return s=>Ve(r,t,s)}function zc(r){return typeof r=="number"?nk:typeof r=="string"?bc(r)?Ho:it.test(r)?_p:ik:Array.isArray(r)?yy:typeof r=="object"?it.test(r)?_p:rk:Ho}function yy(r,t){const s=[...r],o=s.length,a=r.map((u,c)=>zc(u)(u,t[c]));return u=>{for(let c=0;c<o;c++)s[c]=a[c](u);return s}}function rk(r,t){const s={...r,...t},o={};for(const a in s)r[a]!==void 0&&t[a]!==void 0&&(o[a]=zc(r[a])(r[a],t[a]));return a=>{for(const u in o)s[u]=o[u](a);return s}}function sk(r,t){var s;const o=[],a={color:0,var:0,number:0};for(let u=0;u<t.values.length;u++){const c=t.types[u],h=r.indexes[c][a[c]],p=(s=r.values[h])!==null&&s!==void 0?s:0;o[u]=p,a[c]++}return o}const ik=(r,t)=>{const s=Bn.createTransformer(t),o=ii(r),a=ii(t);return o.indexes.var.length===a.indexes.var.length&&o.indexes.color.length===a.indexes.color.length&&o.indexes.number.length>=a.indexes.number.length?Ku.has(r)&&!a.values.length||Ku.has(t)&&!o.values.length?tk(r,t):di(yy(sk(o,a),a.values),s):Ho(r,t)};function vy(r,t,s){return typeof r=="number"&&typeof t=="number"&&typeof s=="number"?Ve(r,t,s):zc(r)(r,t)}const ok=5;function xy(r,t,s){const o=Math.max(t-ok,0);return qg(s-r(o),t-o)}const Be={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},Su=.001;function ak({duration:r=Be.duration,bounce:t=Be.bounce,velocity:s=Be.velocity,mass:o=Be.mass}){let a,u,c=1-t;c=gn(Be.minDamping,Be.maxDamping,c),r=gn(Be.minDuration,Be.maxDuration,pn(r)),c<1?(a=g=>{const y=g*c,v=y*r,w=y-s,k=Gu(g,c),C=Math.exp(-v);return Su-w/k*C},u=g=>{const v=g*c*r,w=v*s+s,k=Math.pow(c,2)*Math.pow(g,2)*r,C=Math.exp(-v),E=Gu(Math.pow(g,2),c);return(-a(g)+Su>0?-1:1)*((w-k)*C)/E}):(a=g=>{const y=Math.exp(-g*r),v=(g-s)*r+1;return-Su+y*v},u=g=>{const y=Math.exp(-g*r),v=(s-g)*(r*r);return y*v});const h=5/r,p=uk(a,u,h);if(r=hn(r),isNaN(p))return{stiffness:Be.stiffness,damping:Be.damping,duration:r};{const g=Math.pow(p,2)*o;return{stiffness:g,damping:c*2*Math.sqrt(o*g),duration:r}}}const lk=12;function uk(r,t,s){let o=s;for(let a=1;a<lk;a++)o=o-r(o)/t(o);return o}function Gu(r,t){return r*Math.sqrt(1-t*t)}const ck=["duration","bounce"],dk=["stiffness","damping","mass"];function Dp(r,t){return t.some(s=>r[s]!==void 0)}function fk(r){let t={velocity:Be.velocity,stiffness:Be.stiffness,damping:Be.damping,mass:Be.mass,isResolvedFromDuration:!1,...r};if(!Dp(r,dk)&&Dp(r,ck))if(r.visualDuration){const s=r.visualDuration,o=2*Math.PI/(s*1.2),a=o*o,u=2*gn(.05,1,1-(r.bounce||0))*Math.sqrt(a);t={...t,mass:Be.mass,stiffness:a,damping:u}}else{const s=ak(r);t={...t,...s,mass:Be.mass},t.isResolvedFromDuration=!0}return t}function wy(r=Be.visualDuration,t=Be.bounce){const s=typeof r!="object"?{visualDuration:r,keyframes:[0,1],bounce:t}:r;let{restSpeed:o,restDelta:a}=s;const u=s.keyframes[0],c=s.keyframes[s.keyframes.length-1],h={done:!1,value:u},{stiffness:p,damping:g,mass:y,duration:v,velocity:w,isResolvedFromDuration:k}=fk({...s,velocity:-pn(s.velocity||0)}),C=w||0,E=g/(2*Math.sqrt(p*y)),j=c-u,R=pn(Math.sqrt(p/y)),M=Math.abs(j)<5;o||(o=M?Be.restSpeed.granular:Be.restSpeed.default),a||(a=M?Be.restDelta.granular:Be.restDelta.default);let _;if(E<1){const V=Gu(R,E);_=W=>{const ee=Math.exp(-E*R*W);return c-ee*((C+E*R*j)/V*Math.sin(V*W)+j*Math.cos(V*W))}}else if(E===1)_=V=>c-Math.exp(-R*V)*(j+(C+R*j)*V);else{const V=R*Math.sqrt(E*E-1);_=W=>{const ee=Math.exp(-E*R*W),K=Math.min(V*W,300);return c-ee*((C+E*R*j)*Math.sinh(K)+V*j*Math.cosh(K))/V}}const B={calculatedDuration:k&&v||null,next:V=>{const W=_(V);if(k)h.done=V>
vendor: 5,418 bytes, line 10
10=v;else{let ee=0;E<1&&(ee=V===0?hn(C):xy(_,V,W));const K=Math.abs(ee)<=o,ne=Math.abs(c-W)<=a;h.done=K&&ne}return h.value=h.done?c:W,h},toString:()=>{const V=Math.min(Fg(B),Uu),W=Vg(ee=>B.next(V*ee).value,V,30);return V+"ms "+W}};return B}function Ip({keyframes:r,velocity:t=0,power:s=.8,timeConstant:o=325,bounceDamping:a=10,bounceStiffness:u=500,modifyTarget:c,min:h,max:p,restDelta:g=.5,restSpeed:y}){const v=r[0],w={done:!1,value:v},k=K=>h!==void 0&&K<h||p!==void 0&&K>p,C=K=>h===void 0?p:p===void 0||Math.abs(h-K)<Math.abs(p-K)?h:p;let E=s*t;const j=v+E,R=c===void 0?j:c(j);R!==j&&(E=R-v);const M=K=>-E*Math.exp(-K/o),_=K=>R+M(K),B=K=>{const ne=M(K),ve=_(K);w.done=Math.abs(ne)<=g,w.value=w.done?R:ve};let V,W;const ee=K=>{k(w.value)&&(V=K,W=wy({keyframes:[w.value,C(w.value)],velocity:xy(_,K,w.value),damping:a,stiffness:u,restDelta:g,restSpeed:y}))};return ee(0),{calculatedDuration:null,next:K=>{let ne=!1;return!W&&V===void 0&&(ne=!0,B(K),ee(K)),V!==void 0&&K>=V?W.next(K-V):(!ne&&B(K),w)}}}const hk=ci(.42,0,1,1),pk=ci(0,0,.58,1),Sy=ci(.42,0,.58,1),mk=r=>Array.isArray(r)&&typeof r[0]!="number",gk={linear:St,easeIn:hk,easeInOut:Sy,easeOut:pk,circIn:Ic,circInOut:ty,circOut:ey,backIn:Dc,backInOut:Jg,backOut:Xg,anticipate:Zg},Fp=r=>{if(Ac(r)){vg(r.length===4);const[t,s,o,a]=r;return ci(t,s,o,a)}else if(typeof r=="string")return gk[r];return r};function yk(r,t,s){const o=[],a=s||vy,u=r.length-1;for(let c=0;c<u;c++){let h=a(r[c],r[c+1]);if(t){const p=Array.isArray(t)?t[c]||St:t;h=di(p,h)}o.push(h)}return o}function vk(r,t,{clamp:s=!0,ease:o,mixer:a}={}){const u=r.length;if(vg(u===t.length),u===1)return()=>t[0];if(u===2&&t[0]===t[1])return()=>t[1];const c=r[0]===r[1];r[0]>r[u-1]&&(r=[...r].reverse(),t=[...t].reverse());const h=yk(t,o,a),p=h.length,g=y=>{if(c&&y<r[0])return t[0];let v=0;if(p>1)for(;v<r.length-2&&!(y<r[v+1]);v++);const w=qr(r[v],r[v+1],y);return h[v](w)};return s?y=>g(gn(r[0],r[u-1],y)):g}function xk(r,t){const s=r[r.length-1];for(let o=1;o<=t;o++){const a=qr(0,t,o);r.push(Ve(s,1,a))}}function wk(r){const t=[0];return xk(t,r.length-1),t}function Sk(r,t){return r.map(s=>s*t)}function bk(r,t){return r.map(()=>t||Sy).splice(0,r.length-1)}function Wo({duration:r=300,keyframes:t,times:s,ease:o="easeInOut"}){const a=mk(o)?o.map(Fp):Fp(o),u={done:!1,value:t[0]},c=Sk(s&&s.length===t.length?s:wk(t),r),h=vk(c,t,{ease:Array.isArray(a)?a:bk(t,a)});return{calculatedDuration:r,next:p=>(u.value=h(p),u.done=p>=r,u)}}const kk=r=>{const t=({timestamp:s})=>r(s);return{start:()=>Ae.update(t,!0),stop:()=>Un(t),now:()=>et.isProcessing?et.timestamp:Zt.now()}},jk={decay:Ip,inertia:Ip,tween:Wo,keyframes:Wo,spring:wy},Tk=r=>r/100;class $c extends gy{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:p}=this.options;p&&p()};const{name:s,motionValue:o,element:a,keyframes:u}=this.options,c=a?.KeyframeResolver||Bc,h=(p,g)=>this.onKeyframesResolved(p,g);this.resolver=new c(u,h,s,o,a),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:s="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:u,velocity:c=0}=this.options,h=Rc(s)?s:jk[s]||Wo;let p,g;h!==Wo&&typeof t[0]!="number"&&(p=di(Tk,vy(t[0],t[1])),t=[0,100]);const y=h({...this.options,keyframes:t});u==="mirror"&&(g=h({...this.options,keyframes:[...t].reverse(),velocity:-c})),y.calculatedDuration===null&&(y.calculatedDuration=Fg(y));const{calculatedDuration:v}=y,w=v+a,k=w*(o+1)-a;return{generator:y,mirroredGenerator:g,mapPercentToKeyframes:p,calculatedDuration:v,resolvedDuration:w,totalDuration:k}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,s=!1){const{resolved:o}=this;if(!o){const{keyframes:K}=this.options;return{done:!0,value:K[K.length-1]}}const{finalKeyframe:a,generator:u,mirroredGenerator:c,mapPercentToKeyframes:h,keyframes:p,calculatedDuration:g,totalDuration:y,resolvedDuration:v}=o;if(this.startTime===null)return u.next(0);const{delay:w,repeat:k,repeatType:C,repeatDelay:E,onUpdate:j}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-y/this.speed,this.startTime)),s?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const R=this.currentTime-w*(this.speed>=0?1:-1),M=this.speed>=0?R<0:R>y;this.currentTime=Math.max(R,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=y);let _=this.currentTime,B=u;if(k){const K=Math.min(this.currentTime,y)/v;let ne=Math.floor(K),ve=K%1;!ve&&K>=1&&(ve=1),ve===1&&ne--,ne=Math.min(ne,k+1),ne%2&&(C==="reverse"?(ve=1-ve,E&&(ve-=E/v)):C==="mirror"&&(B=c)),_=gn(0,1,ve)*v}const V=M?{done:!1,value:p[0]}:B.next(_);h&&(V.value=h(V.value));let{done:W}=V;!M&&g!==null&&(W=this.speed>=0?this.currentTime>=y:this.currentTime<=0);const ee=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&W);return ee&&a!==void 0&&(V.value=ia(p,this.options,a)),j&&j(V.value),ee&&this.finish(),V}get duration(){const{resolved:t}=this;return t?pn(t.calculatedDuration):0}
vendor: 4,353 bytes, line 10
10get time(){return pn(this.currentTime)}set time(t){t=hn(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const s=this.playbackSpeed!==t;this.playbackSpeed=t,s&&(this.time=pn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=kk,onPlay:s,startTime:o}=this.options;this.driver||(this.driver=t(u=>this.tick(u))),s&&s();const a=this.driver.now();this.holdTime!==null?this.startTime=a-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=a):this.startTime=o??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const Ck=new Set(["opacity","clipPath","filter","transform"]);function Ek(r,t,s,{delay:o=0,duration:a=300,repeat:u=0,repeatType:c="loop",ease:h="easeInOut",times:p}={}){const g={[t]:s};p&&(g.offset=p);const y=Bg(h,a);return Array.isArray(y)&&(g.easing=y),r.animate(g,{delay:o,duration:a,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:u+1,direction:c==="reverse"?"alternate":"normal"})}const Nk=mc(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),qo=10,Pk=2e4;function Rk(r){return Rc(r.type)||r.type==="spring"||!Ug(r.ease)}function Ak(r,t){const s=new $c({...t,keyframes:r,repeat:0,delay:0,isGenerator:!0});let o={done:!1,value:r[0]};const a=[];let u=0;for(;!o.done&&u<Pk;)o=s.sample(u),a.push(o.value),u+=qo;return{times:void 0,keyframes:a,duration:u-qo,ease:"linear"}}const by={anticipate:Zg,backInOut:Jg,circInOut:ty};function Lk(r){return r in by}class Vp extends gy{constructor(t){super(t);const{name:s,motionValue:o,element:a,keyframes:u}=this.options;this.resolver=new my(u,(c,h)=>this.onKeyframesResolved(c,h),s,o,a),this.resolver.scheduleResolve()}initPlayback(t,s){let{duration:o=300,times:a,ease:u,type:c,motionValue:h,name:p,startTime:g}=this.options;if(!h.owner||!h.owner.current)return!1;if(typeof u=="string"&&$o()&&Lk(u)&&(u=by[u]),Rk(this.options)){const{onComplete:v,onUpdate:w,motionValue:k,element:C,...E}=this.options,j=Ak(t,E);t=j.keyframes,t.length===1&&(t[1]=t[0]),o=j.duration,a=j.times,u=j.ease,c="keyframes"}const y=Ek(h.owner.current,p,t,{...this.options,duration:o,times:a,ease:u});return y.startTime=g??this.calcStartTime(),this.pendingTimeline?(kp(y,this.pendingTimeline),this.pendingTimeline=void 0):y.onfinish=()=>{const{onComplete:v}=this.options;h.set(ia(t,this.options,s)),v&&v(),this.cancel(),this.resolveFinishedPromise()},{animation:y,duration:o,times:a,type:c,ease:u,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:s}=t;return pn(s)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:s}=t;return pn(s.currentTime||0)}set time(t){const{resolved:s}=this;if(!s)return;const{animation:o}=s;o.currentTime=hn(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:s}=t;return s.playbackRate}set speed(t){const{resolved:s}=this;if(!s)return;const{animation:o}=s;o.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:s}=t;return s.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:s}=t;return s.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:s}=this;if(!s)return St;const{animation:o}=s;kp(o,t)}return St}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:s}=t;
vendor: 1,653 bytes, line 10
10s.playState==="finished"&&this.updateFinishedPromise(),s.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:s}=t;s.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:s,keyframes:o,duration:a,type:u,ease:c,times:h}=t;if(s.playState==="idle"||s.playState==="finished")return;if(this.time){const{motionValue:g,onUpdate:y,onComplete:v,element:w,...k}=this.options,C=new $c({...k,keyframes:o,duration:a,type:u,ease:c,times:h,isGenerator:!0}),E=hn(this.time);g.setWithVelocity(C.sample(E-qo).value,C.sample(E).value,qo)}const{onStop:p}=this.options;p&&p(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:s,name:o,repeatDelay:a,repeatType:u,damping:c,type:h}=t;if(!s||!s.owner||!(s.owner.current instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:g}=s.owner.getProps();return Nk()&&o&&Ck.has(o)&&!p&&!g&&!a&&u!=="mirror"&&c!==0&&h!=="inertia"}}const Ok={type:"spring",stiffness:500,damping:25,restSpeed:10},Mk=r=>({type:"spring",stiffness:550,damping:r===0?2*Math.sqrt(550):30,restSpeed:10}),_k={type:"keyframes",duration:.8},Dk={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Ik=(r,{keyframes:t})=>t.length>2?_k:ur.has(r)?r.startsWith("scale")?Mk(t[1]):Ok:Dk;function Fk({when:r,delay:t,delayChildren:s,staggerChildren:o,staggerDirection:a,repeat:u,repeatType:c,repeatDelay:h,from:p,elapsed:g,...y}){return!!Object.keys(y).length}const Hc=(r,t,s,o={},a,u)=>c=>
vendor: 52,556 bytes, line 10
10{const h=Pc(o,r)||{},p=h.delay||o.delay||0;let{elapsed:g=0}=o;g=g-hn(p);let y={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:t.getVelocity(),...h,delay:-g,onUpdate:w=>{t.set(w),h.onUpdate&&h.onUpdate(w)},onComplete:()=>{c(),h.onComplete&&h.onComplete()},name:r,motionValue:t,element:u?void 0:a};Fk(h)||(y={...y,...Ik(r,y)}),y.duration&&(y.duration=hn(y.duration)),y.repeatDelay&&(y.repeatDelay=hn(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let v=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(y.duration=0,y.delay===0&&(v=!0)),v&&!u&&t.get()!==void 0){const w=ia(y.keyframes,h);if(w!==void 0)return Ae.update(()=>{y.onUpdate(w),y.onComplete()}),new rb([])}return!u&&Vp.supports(y)?new Vp(y):new $c(y)};function Vk({protectedKeys:r,needsAnimating:t},s){const o=r.hasOwnProperty(s)&&t[s]!==!0;return t[s]=!1,o}function ky(r,t,{delay:s=0,transitionOverride:o,type:a}={}){var u;let{transition:c=r.getDefaultTransition(),transitionEnd:h,...p}=t;o&&(c=o);const g=[],y=a&&r.animationState&&r.animationState.getState()[a];for(const v in p){const w=r.getValue(v,(u=r.latestValues[v])!==null&&u!==void 0?u:null),k=p[v];if(k===void 0||y&&Vk(y,v))continue;const C={delay:s,...Pc(c||{},v)};let E=!1;if(window.MotionHandoffAnimation){const R=Kg(r);if(R){const M=window.MotionHandoffAnimation(R,v,Ae);M!==null&&(C.startTime=M,E=!0)}}zu(r,v),w.start(Hc(v,w,k,r.shouldReduceMotion&&Wg.has(v)?{type:!1}:C,r,E));const j=w.animation;j&&g.push(j)}return h&&Promise.all(g).then(()=>{Ae.update(()=>{h&&yb(r,h)})}),g}function Qu(r,t,s={}){var o;const a=sa(r,t,s.type==="exit"?(o=r.presenceContext)===null||o===void 0?void 0:o.custom:void 0);let{transition:u=r.getDefaultTransition()||{}}=a||{};s.transitionOverride&&(u=s.transitionOverride);const c=a?()=>Promise.all(ky(r,a,s)):()=>Promise.resolve(),h=r.variantChildren&&r.variantChildren.size?(g=0)=>{const{delayChildren:y=0,staggerChildren:v,staggerDirection:w}=u;return Uk(r,t,y+g,v,w,s)}:()=>Promise.resolve(),{when:p}=u;if(p){const[g,y]=p==="beforeChildren"?[c,h]:[h,c];return g().then(()=>y())}else return Promise.all([c(),h(s.delay)])}function Uk(r,t,s=0,o=0,a=1,u){const c=[],h=(r.variantChildren.size-1)*o,p=a===1?(g=0)=>g*o:(g=0)=>h-g*o;return Array.from(r.variantChildren).sort(Bk).forEach((g,y)=>{g.notify("AnimationStart",t),c.push(Qu(g,t,{...u,delay:s+p(y)}).then(()=>g.notify("AnimationComplete",t)))}),Promise.all(c)}function Bk(r,t){return r.sortNodePosition(t)}function zk(r,t,s={}){r.notify("AnimationStart",t);let o;if(Array.isArray(t)){const a=t.map(u=>Qu(r,u,s));o=Promise.all(a)}else if(typeof t=="string")o=Qu(r,t,s);else{const a=typeof t=="function"?sa(r,t,s.custom):t;o=Promise.all(ky(r,a,s))}return o.then(()=>{r.notify("AnimationComplete",t)})}const $k=yc.length;function jy(r){if(!r)return;if(!r.isControllingVariants){const s=r.parent?jy(r.parent)||{}:{};return r.props.initial!==void 0&&(s.initial=r.props.initial),s}const t={};for(let s=0;s<$k;s++){const o=yc[s],a=r.props[o];(ni(a)||a===!1)&&(t[o]=a)}return t}const Hk=[...gc].reverse(),Wk=gc.length;function qk(r){return t=>Promise.all(t.map(({animation:s,options:o})=>zk(r,s,o)))}function Kk(r){let t=qk(r),s=Up(),o=!0;const a=p=>(g,y)=>{var v;const w=sa(r,y,p==="exit"?(v=r.presenceContext)===null||v===void 0?void 0:v.custom:void 0);if(w){const{transition:k,transitionEnd:C,...E}=w;g={...g,...E,...C}}return g};function u(p){t=p(r)}function c(p){const{props:g}=r,y=jy(r.parent)||{},v=[],w=new Set;let k={},C=1/0;for(let j=0;j<Wk;j++){const R=Hk[j],M=s[R],_=g[R]!==void 0?g[R]:y[R],B=ni(_),V=R===p?M.isActive:null;V===!1&&(C=j);let W=_===y[R]&&_!==g[R]&&B;if(W&&o&&r.manuallyAnimateOnMount&&(W=!1),M.protectedKeys={...k},!M.isActive&&V===null||!_&&!M.prevProp||na(_)||typeof _=="boolean")continue;const ee=Gk(M.prevProp,_);let K=ee||R===p&&M.isActive&&!W&&B||j>C&&B,ne=!1;const ve=Array.isArray(_)?_:[_];let Ee=ve.reduce(a(R),{});V===!1&&(Ee={});const{prevResolvedValues:ie={}}=M,le={...ie,...Ee},Z=pe=>{K=!0,w.has(pe)&&(ne=!0,w.delete(pe)),M.needsAnimating[pe]=!0;const H=r.getValue(pe);H&&(H.liveStyle=!1)};for(const pe in le){const H=Ee[pe],te=ie[pe];if(k.hasOwnProperty(pe))continue;let q=!1;Vu(H)&&Vu(te)?q=!Ig(H,te):q=H!==te,q?H!=null?Z(pe):w.add(pe):H!==void 0&&w.has(pe)?Z(pe):M.protectedKeys[pe]=!0}M.prevProp=_,M.prevResolvedValues=Ee,M.isActive&&(k={...k,...Ee}),o&&r.blockInitialAnimation&&(K=!1),K&&(!(W&&ee)||ne)&&v.push(...ve.map(pe=>({animation:pe,options:{type:R}})))}if(w.size){const j={};w.forEach(R=>{const M=r.getBaseTarget(R),_=r.getValue(R);_&&(_.liveStyle=!0),j[R]=M??null}),v.push({animation:j})}let E=!!v.length;return o&&(g.initial===!1||g.initial===g.animate)&&!r.manuallyAnimateOnMount&&(E=!1),o=!1,E?t(v):Promise.resolve()}function h(p,g){var y;if(s[p].isActive===g)return Promise.resolve();(y=r.variantChildren)===null||y===void 0||y.forEach(w=>{var k;return(k=w.animationState)===null||k===void 0?void 0:k.setActive(p,g)}),s[p].isActive=g;const v=c(p);for(const w in s)s[w].protectedKeys={};return v}return{animateChanges:c,setActive:h,setAnimateFunction:u,getState:()=>s,reset:()=>{s=Up(),o=!0}}}function Gk(r,t){return typeof t=="string"?t!==r:Array.isArray(t)?!Ig(t,r):!1}function nr(r=!1){return{isActive:r,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Up(){return{animate:nr(!0),whileInView:nr(),whileHover:nr(),whileTap:nr(),whileDrag:nr(),whileFocus:nr(),exit:nr()}}class zn{constructor(t){this.isMounted=!1,this.node=t}update(){}}class Qk extends zn{constructor(t){super(t),t.animationState||(t.animationState=Kk(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();na(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:s}=this.node.prevProps||{};t!==s&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let Yk=0;class Xk extends zn{constructor(){super(...arguments),this.id=Yk++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:s}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const a=this.node.animationState.setActive("exit",!t);s&&!t&&a.then(()=>s(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const Jk={animation:{Feature:Qk},exit:{Feature:Xk}};function oi(r,t,s,o={passive:!0}){return r.addEventListener(t,s,o),()=>r.removeEventListener(t,s)}function fi(r){return{point:{x:r.pageX,y:r.pageY}}}const Zk=r=>t=>Lc(t)&&r(t,fi(t));function Xs(r,t,s,o){return oi(r,t,Zk(s),o)}const Bp=(r,t)=>Math.abs(r-t);function ej(r,t){const s=Bp(r.x,t.x),o=Bp(r.y,t.y);return Math.sqrt(s**2+o**2)}class Ty{constructor(t,s,{transformPagePoint:o,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 v=ku(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,k=ej(v.offset,{x:0,y:0})>=3;if(!w&&!k)return;const{point:C}=v,{timestamp:E}=et;this.history.push({...C,timestamp:E});const{onStart:j,onMove:R}=this.handlers;w||(j&&j(this.lastMoveEvent,v),this.startEvent=this.lastMoveEvent),R&&R(this.lastMoveEvent,v)},this.handlePointerMove=(v,w)=>{this.lastMoveEvent=v,this.lastMoveEventInfo=bu(w,this.transformPagePoint),Ae.update(this.updatePoint,!0)},this.handlePointerUp=(v,w)=>{this.end();const{onEnd:k,onSessionEnd:C,resumeAnimation:E}=this.handlers;if(this.dragSnapToOrigin&&E&&E(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const j=ku(v.type==="pointercancel"?this.lastMoveEventInfo:bu(w,this.transformPagePoint),this.history);this.startEvent&&k&&k(v,j),C&&C(v,j)},!Lc(t))return;this.dragSnapToOrigin=u,this.handlers=s,this.transformPagePoint=o,this.contextWindow=a||window;const c=fi(t),h=bu(c,this.transformPagePoint),{point:p}=h,{timestamp:g}=et;this.history=[{...p,timestamp:g}];const{onSessionStart:y}=s;y&&y(t,ku(h,this.history)),this.removeListeners=di(Xs(this.contextWindow,"pointermove",this.handlePointerMove),Xs(this.contextWindow,"pointerup",this.handlePointerUp),Xs(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Un(this.updatePoint)}}function bu(r,t){return t?{point:t(r.point)}:r}function zp(r,t){return{x:r.x-t.x,y:r.y-t.y}}function ku({point:r},t){return{point:r,delta:zp(r,Cy(t)),offset:zp(r,tj(t)),velocity:nj(t,.1)}}function tj(r){return r[0]}function Cy(r){return r[r.length-1]}function nj(r,t){if(r.length<2)return{x:0,y:0};let s=r.length-1,o=null;const a=Cy(r);for(;s>=0&&(o=r[s],!(a.timestamp-o.timestamp>hn(t)));)s--;if(!o)return{x:0,y:0};const u=pn(a.timestamp-o.timestamp);if(u===0)return{x:0,y:0};const c={x:(a.x-o.x)/u,y:(a.y-o.y)/u};return c.x===1/0&&(c.x=0),c.y===1/0&&(c.y=0),c}const Ey=1e-4,rj=1-Ey,sj=1+Ey,Ny=.01,ij=0-Ny,oj=0+Ny;function bt(r){return r.max-r.min}function aj(r,t,s){return Math.abs(r-t)<=s}function $p(r,t,s,o=.5){r.origin=o,r.originPoint=Ve(t.min,t.max,r.origin),r.scale=bt(s)/bt(t),r.translate=Ve(s.min,s.max,r.origin)-r.originPoint,(r.scale>=rj&&r.scale<=sj||isNaN(r.scale))&&(r.scale=1),(r.translate>=ij&&r.translate<=oj||isNaN(r.translate))&&(r.translate=0)}function Js(r,t,s,o){$p(r.x,t.x,s.x,o?o.originX:void 0),$p(r.y,t.y,s.y,o?o.originY:void 0)}function Hp(r,t,s){r.min=s.min+t.min,r.max=r.min+bt(t)}function lj(r,t,s){Hp(r.x,t.x,s.x),Hp(r.y,t.y,s.y)}function Wp(r,t,s){r.min=t.min-s.min,r.max=r.min+bt(t)}function Zs(r,t,s){Wp(r.x,t.x,s.x),Wp(r.y,t.y,s.y)}function uj(r,{min:t,max:s},o){return t!==void 0&&r<t?r=o?Ve(t,r,o.min):Math.max(r,t):s!==void 0&&r>s&&(r=o?Ve(s,r,o.max):Math.min(r,s)),r}function qp(r,t,s){return{min:t!==void 0?r.min+t:void 0,max:s!==void 0?r.max+s-(r.max-r.min):void 0}}function cj(r,{top:t,left:s,bottom:o,right:a}){return{x:qp(r.x,s,a),y:qp(r.y,t,o)}}function Kp(r,t){let s=t.min-r.min,o=t.max-r.max;return t.max-t.min<r.max-r.min&&([s,o]=[o,s]),{min:s,max:o}}function dj(r,t){return{x:Kp(r.x,t.x),y:Kp(r.y,t.y)}}function fj(r,t){let s=.5;const o=bt(r),a=bt(t);return a>o?s=qr(t.min,t.max-o,r.min):o>a&&(s=qr(r.min,r.max-a,t.min)),gn(0,1,s)}function hj(r,t){const s={};return t.min!==void 0&&(s.min=t.min-r.min),t.max!==void 0&&(s.max=t.max-r.min),s}const Yu=.35;function pj(r=Yu){return r===!1?r=0:r===!0&&(r=Yu),{x:Gp(r,"left","right"),y:Gp(r,"top","bottom")}}function Gp(r,t,s){return{min:Qp(r,t),max:Qp(r,s)}}function Qp(r,t){return typeof r=="number"?r:r[t]||0}const Yp=()=>({translate:0,scale:1,origin:0,originPoint:0}),Fr=()=>({x:Yp(),y:Yp()}),Xp=()=>({min:0,max:0}),He=()=>({x:Xp(),y:Xp()});function At(r){return[r("x"),r("y")]}function Py({top:r,left:t,right:s,bottom:o}){return{x:{min:t,max:s},y:{min:r,max:o}}}function mj({x:r,y:t}){return{top:t.min,right:r.max,bottom:t.max,left:r.min}}function gj(r,t){if(!t)return r;const s=t({x:r.left,y:r.top}),o=t({x:r.right,y:r.bottom});return{top:s.y,left:s.x,bottom:o.y,right:o.x}}function ju(r){return r===void 0||r===1}function Xu({scale:r,scaleX:t,scaleY:s}){return!ju(r)||!ju(t)||!ju(s)}function sr(r){return Xu(r)||Ry(r)||r.z||r.rotate||r.rotateX||r.rotateY||r.skewX||r.skewY}function Ry(r){return Jp(r.x)||Jp(r.y)}function Jp(r){return r&&r!=="0%"}function Ko(r,t,s){const o=r-s,a=t*o;return s+a}function Zp(r,t,s,o,a){return a!==void 0&&(r=Ko(r,a,o)),Ko(r,s,o)+t}function Ju(r,t=0,s=1,o,a){r.min=Zp(r.min,t,s,o,a),r.max=Zp(r.max,t,s,o,a)}function Ay(r,{x:t,y:s}){Ju(r.x,t.translate,t.scale,t.originPoint),Ju(r.y,s.translate,s.scale,s.originPoint)}const em=.999999999999,tm=1.0000000000001;function yj(r,t,s,o=!1){const a=s.length;if(!a)return;t.x=t.y=1;let u,c;for(let h=0;h<a;h++){u=s[h],c=u.projectionDelta;const{visualElement:p}=u.options;p&&p.props.style&&p.props.style.display==="contents"||(o&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Ur(r,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),c&&(t.x*=c.x.scale,t.y*=c.y.scale,Ay(r,c)),o&&sr(u.latestValues)&&Ur(r,u.latestValues))}t.x<tm&&t.x>em&&(t.x=1),t.y<tm&&t.y>em&&(t.y=1)}function Vr(r,t){r.min=r.min+t,r.max=r.max+t}function nm(r,t,s,o,a=.5){const u=Ve(r.min,r.max,a);Ju(r,t,s,u,o)}function Ur(r,t){nm(r.x,t.x,t.scaleX,t.scale,t.originX),nm(r.y,t.y,t.scaleY,t.scale,t.originY)}function Ly(r,t){return Py(gj(r.getBoundingClientRect(),t))}function vj(r,t,s){const o=Ly(r,s),{scroll:a}=t;return a&&(Vr(o.x,a.offset.x),Vr(o.y,a.offset.y)),o}const Oy=({current:r})=>r?r.ownerDocument.defaultView:null,xj=new WeakMap;class wj{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=He(),this.visualElement=t}start(t,{snapToCursor:s=!1}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const a=y=>{const{dragSnapToOrigin:v}=this.getProps();v?this.pauseAnimation():this.stopAnimation(),s&&this.snapToCursor(fi(y).point)},u=(y,v)=>{const{drag:w,dragPropagation:k,onDragStart:C}=this.getProps();if(w&&!k&&(this.openDragLock&&this.openDragLock(),this.openDragLock=fb(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),At(j=>{let R=this.getAxisMotionValue(j).get()||0;if(Jt.test(R)){const{projection:M}=this.visualElement;if(M&&M.layout){const _=M.layout.layoutBox[j];_&&(R=bt(_)*(parseFloat(R)/100))}}this.originPoint[j]=R}),C&&Ae.postRender(()=>C(y,v)),zu(this.visualElement,"transform");const{animationState:E}=this.visualElement;E&&E.setActive("whileDrag",!0)},c=(y,v)=>{const{dragPropagation:w,dragDirectionLock:k,onDirectionLock:C,onDrag:E}=this.getProps();if(!w&&!this.openDragLock)return;const{offset:j}=v;if(k&&this.currentDirection===null){this.currentDirection=Sj(j),this.currentDirection!==null&&C&&C(this.currentDirection);return}this.updateAxis("x",v.point,j),this.updateAxis("y",v.point,j),this.visualElement.render(),E&&E(y,v)},h=(y,v)=>this.stop(y,v),p=()=>At(y=>{var v;return this.getAnimationState(y)==="paused"&&((v=this.getAxisMotionValue(y).animation)===null||v===void 0?void 0:v.play())}),{dragSnapToOrigin:g}=this.getProps();this.panSession=new Ty(t,{onSessionStart:a,onStart:u,onMove:c,onSessionEnd:h,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,contextWindow:Oy(this.visualElement)})}stop(t,s){const o=this.isDragging;if(this.cancel(),!o)return;const{velocity:a}=s;this.startAnimation(a);const{onDragEnd:u}=this.getProps();u&&Ae.postRender(()=>u(t,s))}cancel(){this.isDragging=!1;const{projection:t,animationState:s}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),s&&s.setActive("whileDrag",!1)}updateAxis(t,s,o){const{drag:a}=this.getProps();if(!o||!Eo(t,a,this.currentDirection))return;const u=this.getAxisMotionValue(t);let c=this.originPoint[t]+o[t];this.constraints&&this.constraints[t]&&(c=uj(c,this.constraints[t],this.elastic[t])),u.set(c)}resolveConstraints(){var t;const{dragConstraints:s,dragElastic:o}=this.getProps(),a=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,u=this.constraints;s&&Dr(s)?this.constraints||(this.constraints=this.resolveRefConstraints()):s&&a?this.constraints=cj(a.layoutBox,s):this.constraints=!1,this.elastic=pj(o),u!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&At(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=hj(a.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:s}=this.getProps();if(!t||!Dr(t))return!1;const o=t.current,{projection:a}=this.visualElement;if(!a||!a.layout)return!1;const u=vj(o,a.root,this.visualElement.getTransformPagePoint());let c=dj(a.layout.layoutBox,u);if(s){const h=s(mj(c));this.hasMutatedConstraints=!!h,h&&(c=Py(h))}return c}startAnimation(t){const{drag:s,dragMomentum:o,dragElastic:a,dragTransition:u,dragSnapToOrigin:c,onDragTransitionEnd:h}=this.getProps(),p=this.constraints||{},g=At(y=>{if(!Eo(y,s,this.currentDirection))return;let v=p&&p[y]||{};c&&(v={min:0,max:0});const w=a?200:1e6,k=a?40:1e7,C={type:"inertia",velocity:o?t[y]:0,bounceStiffness:w,bounceDamping:k,timeConstant:750,restDelta:1,restSpeed:10,...u,...v};return this.startAxisValueAnimation(y,C)});return Promise.all(g).then(h)}startAxisValueAnimation(t,s){const o=this.getAxisMotionValue(t);return zu(this.visualElement,t),o.start(Hc(t,o,0,s,this.visualElement,!1))}stopAnimation(){At(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){At(t=>{var s;return(s=this.getAxisMotionValue(t).animation)===null||s===void 0?void 0:s.pause()})}getAnimationState(t){var s;return(s=this.getAxisMotionValue(t).animation)===null||s===void 0?void 0:s.state}getAxisMotionValue(t){const s=`_drag${t.toUpperCase()}`,o=this.visualElement.getProps(),a=o[s];return a||this.visualElement.getValue(t,(o.initial?o.initial[t]:void 0)||0)}snapToCursor(t){At(s=>{const{drag:o}=this.getProps();if(!Eo(s,o,this.currentDirection))return;const{projection:a}=this.visualElement,u=this.getAxisMotionValue(s);if(a&&a.layout){const{min:c,max:h}=a.layout.layoutBox[s];u.set(t[s]-Ve(c,h,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:s}=this.getProps(),{projection:o}=this.visualElement;if(!Dr(s)||!o||!this.constraints)return;this.stopAnimation();const a={x:0,y:0};At(c=>{const h=this.getAxisMotionValue(c);if(h&&this.constraints!==!1){const p=h.get();a[c]=fj({min:p,max:p},this.constraints[c])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),At(c=>{if(!Eo(c,t,null))return;const h=this.getAxisMotionValue(c),{min:p,max:g}=this.constraints[c];h.set(Ve(p,g,a[c]))})}addListeners(){if(!this.visualElement.current)return;xj.set(this.visualElement,this);const t=this.visualElement.current,s=Xs(t,"pointerdown",p=>{const{drag:g,dragListener:y=!0}=this.getProps();g&&y&&this.start(p)}),o=()=>{const{dragConstraints:p}=this.getProps();Dr(p)&&p.current&&(this.constraints=this.resolveRefConstraints())},{projection:a}=this.visualElement,u=a.addEventListener("measure",o);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),Ae.read(o);const c=oi(window,"resize",()=>this.scalePositionWithinConstraints()),h=a.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:g})=>{this.isDragging&&g&&(At(y=>{const v=this.getAxisMotionValue(y);v&&(this.originPoint[y]+=p[y].translate,v.set(v.get()+p[y].translate))}),this.visualElement.render())}));return()=>{c(),s(),u(),h&&h()}}getProps(){const t=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:o=!1,dragPropagation:a=!1,dragConstraints:u=!1,dragElastic:c=Yu,dragMomentum:h=!0}=t;return{...t,drag:s,dragDirectionLock:o,dragPropagation:a,dragConstraints:u,dragElastic:c,dragMomentum:h}}}function Eo(r,t,s){return(t===!0||t===r)&&(s===null||s===r)}function Sj(r,t=10){let s=null;return Math.abs(r.y)>t?s="y":Math.abs(r.x)>t&&(s="x"),s}class bj extends zn{constructor(t){super(t),this.removeGroupControls=St,this.removeListeners=St,this.controls=new wj(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||St}unmount(){this.removeGroupControls(),this.removeListeners()}}const rm=r=>(t,s)=>{r&&Ae.postRender(()=>r(t,s))};class kj extends zn{constructor(){super(...arguments),this.removePointerDownListener=St}onPointerDown(t){this.session=new Ty(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Oy(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:s,onPan:o,onPanEnd:a}=this.node.getProps();return{onSessionStart:rm(t),onStart:rm(s),onMove:o,onEnd:(u,c)=>{delete this.session,a&&Ae.postRender(()=>a(u,c))}}}mount(){this.removePointerDownListener=Xs(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Mo={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function sm(r,t){return t.max===t.min?0:r/(t.max-t.min)*100}const Ws={correct:(r,t)=>{if(!t.target)return r;if(typeof r=="string")if(oe.test(r))r=parseFloat(r);else return r;const s=sm(r,t.target.x),o=sm(r,t.target.y);return`${s}% ${o}%`}},jj={correct:(r,{treeScale:t,projectionDelta:s})=>{const o=r,a=Bn.parse(r);if(a.length>5)return o;const u=Bn.createTransformer(r),c=typeof a[0]!="number"?1:0,h=s.x.scale*t.x,p=s.y.scale*t.y;a[0+c]/=h,a[1+c]/=p;const g=Ve(h,p,.5);return typeof a[2+c]=="number"&&(a[2+c]/=g),typeof a[3+c]=="number"&&(a[3+c]/=g),u(a)}};class Tj extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:s,switchLayoutGroup:o,layoutId:a}=this.props,{projection:u}=t;WS(Cj),u&&(s.group&&s.group.add(u),o&&o.register&&a&&o.register(u),u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,onExitComplete:()=>this.safeToRemove()})),Mo.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:s,visualElement:o,drag:a,isPresent:u}=this.props,c=o.projection;return c&&(c.isPresent=u,a||t.layoutDependency!==s||s===void 0?c.willUpdate():this.safeToRemove(),t.isPresent!==u&&(u?c.promote():c.relegate()||Ae.postRender(()=>{const h=c.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),xc.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:s,switchLayoutGroup:o}=this.props,{projection:a}=t;a&&(a.scheduleCheckAfterUnmount(),s&&s.group&&s.group.remove(a),o&&o.deregister&&o.deregister(a))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function My(r){const[t,s]=oS(),o=b.useContext(gg);return f.jsx(Tj,{...r,layoutGroup:o,switchLayoutGroup:b.useContext(jg),isPresent:t,safeToRemove:s})}const Cj={borderRadius:{...Ws,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ws,borderTopRightRadius:Ws,borderBottomLeftRadius:Ws,borderBottomRightRadius:Ws,boxShadow:jj};function Ej(r,t,s){const o=ot(r)?r:si(r);return o.start(Hc("",o,t,s)),o.animation}function Nj(r){return r instanceof SVGElement&&r.tagName!=="svg"}const Pj=(r,t)=>r.depth-t.depth;class Rj{constructor(){this.children=[],this.isDirty=!1}add(t){Oc(this.children,t),this.isDirty=!0}remove(t){Mc(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Pj),this.isDirty=!1,this.children.forEach(t)}}function Aj(r,t){const s=Zt.now(),o=({timestamp:a})=>{const u=a-s;u>=t&&(Un(o),r(u-t))};return Ae.read(o,!0),()=>Un(o)}const _y=["TopLeft","TopRight","BottomLeft","BottomRight"],Lj=_y.length,im=r=>typeof r=="string"?parseFloat(r):r,om=r=>typeof r=="number"||oe.test(r);function Oj(r,t,s,o,a,u){a?(r.opacity=Ve(0,s.opacity!==void 0?s.opacity:1,Mj(o)),r.opacityExit=Ve(t.opacity!==void 0?t.opacity:1,0,_j(o))):u&&(r.opacity=Ve(t.opacity!==void 0?t.opacity:1,s.opacity!==void 0?s.opacity:1,o));for(let c=0;c<Lj;c++){const h=`border${_y[c]}Radius`;let p=am(t,h),g=am(s,h);if(p===void 0&&g===void 0)continue;p||(p=0),g||(g=0),p===0||g===0||om(p)===om(g)?(r[h]=Math.max(Ve(im(p),im(g),o),0),(Jt.test(g)||Jt.test(p))&&(r[h]+="%")):r[h]=g}(t.rotate||s.rotate)&&(r.rotate=Ve(t.rotate||0,s.rotate||0,o))}function am(r,t){return r[t]!==void 0?r[t]:r.borderRadius}const Mj=Dy(0,.5,ey),_j=Dy(.5,.95,St);function Dy(r,t,s){return o=>o<r?0:o>t?1:s(qr(r,t,o))}function lm(r,t){r.min=t.min,r.max=t.max}function Rt(r,t){lm(r.x,t.x),lm(r.y,t.y)}function um(r,t){r.translate=t.translate,r.scale=t.scale,r.originPoint=t.originPoint,r.origin=t.origin}function cm(r,t,s,o,a){return r-=t,r=Ko(r,1/s,o),a!==void 0&&(r=Ko(r,1/a,o)),r}function Dj(r,t=0,s=1,o=.5,a,u=r,c=r){if(Jt.test(t)&&(t=parseFloat(t),t=Ve(c.min,c.max,t/100)-c.min),typeof t!="number")return;let h=Ve(u.min,u.max,o);r===u&&(h-=t),r.min=cm(r.min,t,s,h,a),r.max=cm(r.max,t,s,h,a)}function dm(r,t,[s,o,a],u,c){Dj(r,t[s],t[o],t[a],t.scale,u,c)}const Ij=["x","scaleX","originX"],Fj=["y","scaleY","originY"];function fm(r,t,s,o){dm(r.x,t,Ij,s?s.x:void 0,o?o.x:void 0),dm(r.y,t,Fj,s?s.y:void 0,o?o.y:void 0)}function hm(r){return r.translate===0&&r.scale===1}function Iy(r){return hm(r.x)&&hm(r.y)}function pm(r,t){return r.min===t.min&&r.max===t.max}function Vj(r,t){return pm(r.x,t.x)&&pm(r.y,t.y)}function mm(r,t){return Math.round(r.min)===Math.round(t.min)&&Math.round(r.max)===Math.round(t.max)}function Fy(r,t){return mm(r.x,t.x)&&mm(r.y,t.y)}function gm(r){return bt(r.x)/bt(r.y)}function ym(r,t){return r.translate===t.translate&&r.scale===t.scale&&r.originPoint===t.originPoint}class Uj{constructor(){this.members=[]}add(t){Oc(this.members,t),t.scheduleRender()}remove(t){if(Mc(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(t){const s=this.members.findIndex(a=>t===a);if(s===0)return!1;let o;for(let a=s;a>=0;a--){const u=this.members[a];if(u.isPresent!==!1){o=u;break}}return o?(this.promote(o),!0):!1}promote(t,s){const o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,s&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:a}=t.options;a===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:s,resumingFrom:o}=t;s.onExitComplete&&s.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Bj(r,t,s){let o="";const a=r.x.translate/t.x,u=r.y.translate/t.y,c=s?.z||0;if((a||u||c)&&(o=`translate3d(${a}px, ${u}px, ${c}px) `),(t.x!==1||t.y!==1)&&(o+=`scale(${1/t.x}, ${1/t.y}) `),s){const{transformPerspective:g,rotate:y,rotateX:v,rotateY:w,skewX:k,skewY:C}=s;g&&(o=`perspective(${g}px) ${o}`),y&&(o+=`rotate(${y}deg) `),v&&(o+=`rotateX(${v}deg) `),w&&(o+=`rotateY(${w}deg) `),k&&(o+=`skewX(${k}deg) `),C&&(o+=`skewY(${C}deg) `)}const h=r.x.scale*t.x,p=r.y.scale*t.y;return(h!==1||p!==1)&&(o+=`scale(${h}, ${p})`),o||"none"}const ir={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Gs=typeof window<"u"&&window.MotionDebug!==void 0,Tu=["","X","Y","Z"],zj={visibility:"hidden"},vm=1e3;let $j=0;function Cu(r,t,s,o){const{latestValues:a}=t;a[r]&&(s[r]=a[r],t.setStaticValue(r,0),o&&(o[r]=0))}function Vy(r){if(r.hasCheckedOptimisedAppear=!0,r.root===r)return;const{visualElement:t}=r.options;if(!t)return;const s=Kg(t);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:a,layoutId:u}=r.options;window.MotionCancelOptimisedAnimation(s,"transform",Ae,!(a||u))}const{parent:o}=r;o&&!o.hasCheckedOptimisedAppear&&Vy(o)}function Uy({attachResizeListener:r,defaultParent:t,measureScroll:s,checkIsScrollRoot:o,resetTransform:a}){return class{constructor(c={},h=t?.()){this.id=$j++,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,Gs&&(ir.totalNodes=ir.resolvedTargetDeltas=ir.recalculatedProjection=0),this.nodes.forEach(qj),this.nodes.forEach(Xj),this.nodes.forEach(Jj),this.nodes.forEach(Kj),Gs&&window.MotionDebug.record(ir)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=c,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new Rj)}addEventListener(c,h){return this.eventHandlers.has(c)||this.eventHandlers.set(c,new _c),this.eventHandlers.get(c).add(h)}notifyListeners(c,...h){const p=this.eventHandlers.get(c);p&&p.notify(...h)}hasListeners(c){return this.eventHandlers.has(c)}mount(c,h=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Nj(c),this.instance=c;const{layoutId:p,layout:g,visualElement:y}=this.options;if(y&&!y.current&&y.mount(c),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),h&&(g||p)&&(this.isLayoutDirty=!0),r){let v;const w=()=>this.root.updateBlockedByResize=!1;r(c,()=>{this.root.updateBlockedByResize=!0,v&&v(),v=Aj(w,250),Mo.hasAnimatedSinceResize&&(Mo.hasAnimatedSinceResize=!1,this.nodes.forEach(wm))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&y&&(p||g)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:w,hasRelativeTargetChanged:k,layout:C})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const E=this.options.transition||y.getDefaultTransition()||rT,{onLayoutAnimationStart:j,onLayoutAnimationComplete:R}=y.getProps(),M=!this.targetLayout||!Fy(this.targetLayout,C)||k,_=!w&&k;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||_||w&&(M||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(v,_);const B={...Pc(E,"layout"),onPlay:j,onComplete:R};(y.shouldReduceMotion||this.options.layoutRoot)&&(B.delay=0,B.type=!1),this.startAnimation(B)}else w||wm(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=C})}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,Un(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(Zj),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&&Vy(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const v=this.path[y];v.shouldResetTransform=!0,v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:h,layout:p}=this.options;if(h===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(xm);return}this.isUpdating||this.nodes.forEach(Qj),this.isUpdating=!1,this.nodes.forEach(Yj),this.nodes.forEach(Hj),this.nodes.forEach(Wj),this.clearAllSnapshots();const h=Zt.now();et.delta=gn(0,1e3/60,h-et.timestamp),et.timestamp=h,et.isProcessing=!0,gu.update.process(et),gu.preRender.process(et),gu.render.process(et),et.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,xc.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Gj),this.sharedNodes.forEach(eT)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ae.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ae.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=He(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:h}=this.options;h&&h.notify("LayoutMeasure",this.layout.layoutBox,c?c.layoutBox:void 0)}updateScroll(c="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===c&&(h=!1),h){const p=o(this.instance);this.scroll={animationId:this.root.animationId,phase:c,isRoot:p,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!a)return;const c=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!Iy(this.projectionDelta),p=this.getTransformTemplate(),g=p?p(this.latestValues,""):void 0,y=g!==this.prevTransformTemplateValue;c&&(h||sr(this.latestValues)||y)&&(a(this.instance,g),this.shouldResetTransform=!1,this.scheduleRender())}measure(c=!0){const h=this.measurePageBox();let p=this.removeElementScroll(h);return c&&(p=this.removeTransform(p)),sT(p),{animationId:this.root.animationId,measuredBox:h,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){var c;const{visualElement:h}=this.options;if(!h)return He();const p=h.measureViewportBox();if(!(((c=this.scroll)===null||c===void 0?void 0:c.wasRoot)||this.path.some(iT))){const{scroll:y}=this.root;y&&(Vr(p.x,y.offset.x),Vr(p.y,y.offset.y))}return p}removeElementScroll(c){var h;const p=He();if(Rt(p,c),!((h=this.scroll)===null||h===void 0)&&h.wasRoot)return p;for(let g=0;g<this.path.length;g++){const y=this.path[g],{scroll:v,options:w}=y;y!==this.root&&v&&w.layoutScroll&&(v.wasRoot&&Rt(p,c),Vr(p.x,v.offset.x),Vr(p.y,v.offset.y))}return p}applyTransform(c,h=!1){const p=He();Rt(p,c);for(let g=0;g<this.path.length;g++){const y=this.path[g];!h&&y.options.layoutScroll&&y.scroll&&y!==y.root&&Ur(p,{x:-y.scroll.offset.x,y:-y.scroll.offset.y}),sr(y.latestValues)&&Ur(p,y.latestValues)}return sr(this.latestValues)&&Ur(p,this.latestValues),p}removeTransform(c){const h=He();Rt(h,c);for(let p=0;p<this.path.length;p++){const g=this.path[p];if(!g.instance||!sr(g.latestValues))continue;Xu(g.latestValues)&&g.updateSnapshot();const y=He(),v=g.measurePageBox();Rt(y,v),fm(h,g.latestValues,g.snapshot?g.snapshot.layoutBox:void 0,y)}return sr(this.latestValues)&&fm(h,this.latestValues),h}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!==et.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(c=!1){var h;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||!((h=this.parent)===null||h===void 0)&&h.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:w}=this.options;if(!(!this.layout||!(v||w))){if(this.resolvedRelativeTargetAt=et.timestamp,!this.targetDelta&&!this.relativeTarget){const k=this.getClosestProjectingParent();k&&k.layout&&this.animationProgress!==1?(this.relativeParent=k,this.forceRelativeParentToResolveTarget(),this.relativeTarget=He(),this.relativeTargetOrigin=He(),Zs(this.relativeTargetOrigin,this.layout.layoutBox,k.layout.layoutBox),Rt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=He(),this.targetWithTransforms=He()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),lj(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Rt(this.target,this.layout.layoutBox),Ay(this.target,this.targetDelta)):Rt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const k=this.getClosestProjectingParent();k&&!!k.resumingFrom==!!this.resumingFrom&&!k.options.layoutScroll&&k.target&&this.animationProgress!==1?(this.relativeParent=k,this.forceRelativeParentToResolveTarget(),this.relativeTarget=He(),this.relativeTargetOrigin=He(),Zs(this.relativeTargetOrigin,this.target,k.target),Rt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Gs&&ir.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Xu(this.parent.latestValues)||Ry(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 h=this.getLead(),p=!!this.resumingFrom||this!==h;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===et.timestamp&&(g=!1),g)return;const{layout:y,layoutId:v}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(y||v))return;Rt(this.layoutCorrected,this.layout.layoutBox);const w=this.treeScale.x,k=this.treeScale.y;yj(this.layoutCorrected,this.treeScale,this.path,p),h.layout&&!h.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(h.target=h.layout.layoutBox,h.targetWithTransforms=He());const{target:C}=h;if(!C){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(um(this.prevProjectionDelta.x,this.projectionDelta.x),um(this.prevProjectionDelta.y,this.projectionDelta.y)),Js(this.projectionDelta,this.layoutCorrected,C,this.latestValues),(this.treeScale.x!==w||this.treeScale.y!==k||!ym(this.projectionDelta.x,this.prevProjectionDelta.x)||!ym(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",C)),Gs&&ir.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(c=!0){var h;if((h=this.options.visualElement)===null||h===void 0||h.scheduleRender(),c){const p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Fr(),this.projectionDelta=Fr(),this.projectionDeltaWithTransform=Fr()}setAnimationOrigin(c,h=!1){const p=this.snapshot,g=p?p.latestValues:{},y={...this.latestValues},v=Fr();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const w=He(),k=p?p.source:void 0,C=this.layout?this.layout.source:void 0,E=k!==C,j=this.getStack(),R=!j||j.members.length<=1,M=!!(E&&!R&&this.options.crossfade===!0&&!this.path.some(nT));this.animationProgress=0;let _;this.mixTargetDelta=B=>{const V=B/1e3;Sm(v.x,c.x,V),Sm(v.y,c.y,V),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Zs(w,this.layout.layoutBox,this.relativeParent.layout.layoutBox),tT(this.relativeTarget,this.relativeTargetOrigin,w,V),_&&Vj(this.relativeTarget,_)&&(this.isProjectionDirty=!1),_||(_=He()),Rt(_,this.relativeTarget)),E&&(this.animationValues=y,Oj(y,g,this.latestValues,V,M,R)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=V},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&&(Un(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ae.update(()=>{Mo.hasAnimatedSinceResize=!0,this.currentAnimation=Ej(0,vm,{...c,onUpdate:h=>{this.mixTargetDelta(h),c.onUpdate&&c.onUpdate(h)},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(vm),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const c=this.getLead();let{targetWithTransforms:h,target:p,layout:g,latestValues:y}=c;if(!(!h||!p||!g)){if(this!==c&&this.layout&&g&&By(this.options.animationType,this.layout.layoutBox,g.layoutBox)){p=this.target||He();const v=bt(this.layout.layoutBox.x);p.x.min=c.target.x.min,p.x.max=p.x.min+v;const w=bt(this.layout.layoutBox.y);p.y.min=c.target.y.min,p.y.max=p.y.min+w}Rt(h,p),Ur(h,y),Js(this.projectionDeltaWithTransform,this.layoutCorrected,h,y)}}registerSharedNode(c,h){this.sharedNodes.has(c)||this.sharedNodes.set(c,new Uj),this.sharedNodes.get(c).add(h);const g=h.options.initialPromotionConfig;h.promote({transition:g?g.transition:void 0,preserveFollowOpacity:g&&g.shouldPreserveFollowOpacity?g.shouldPreserveFollowOpacity(h):void 0})}isLead(){const c=this.getStack();return c?c.lead===this:!0}getLead(){var c;const{layoutId:h}=this.options;return h?((c=this.getStack())===null||c===void 0?void 0:c.lead)||this:this}getPrevLead(){var c;const{layoutId:h}=this.options;return h?(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:h,preserveFollowOpacity:p}={}){const g=this.getStack();g&&g.promote(this,p),c&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const c=this.getStack();return c?c.relegate(this):!1}resetSkewAndRotation(){const{visualElement:c}=this.options;if(!c)return;let h=!1;const{latestValues:p}=c;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(h=!0),!h)return;const g={};p.z&&Cu("z",c,g,this.animationValues);for(let y=0;y<Tu.length;y++)Cu(`rotate${Tu[y]}`,c,g,this.animationValues),Cu(`skew${Tu[y]}`,c,g,this.animationValues);c.render();for(const y in g)c.setStaticValue(y,g[y]),this.animationValues&&(this.animationValues[y]=g[y]);c.scheduleRender()}getProjectionStyles(c){var h,p;if(!this.instance||this.isSVG)return;if(!this.isVisible)return zj;const g={visibility:""},y=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,g.opacity="",g.pointerEvents=Lo(c?.pointerEvents)||"",g.transform=y?y(this.latestValues,""):"none",g;const v=this.getLead();if(!this.projectionDelta||!this.layout||!v.target){const E={};return this.options.layoutId&&(E.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,E.pointerEvents=Lo(c?.pointerEvents)||""),this.hasProjected&&!sr(this.latestValues)&&(E.transform=y?y({},""):"none",this.hasProjected=!1),E}const w=v.animationValues||v.latestValues;this.applyTransformsToTarget(),g.transform=Bj(this.projectionDeltaWithTransform,this.treeScale,w),y&&(g.transform=y(w,g.transform));const{x:k,y:C}=this.projectionDelta;g.transformOrigin=`${k.origin*100}% ${C.origin*100}% 0`,v.animationValues?g.opacity=v===this?(p=(h=w.opacity)!==null&&h!==void 0?h:this.latestValues.opacity)!==null&&p!==void 0?p:1:this.preserveOpacity?this.latestValues.opacity:w.opacityExit:g.opacity=v===this?w.opacity!==void 0?w.opacity:"":w.opacityExit!==void 0?w.opacityExit:0;for(const E in zo){if(w[E]===void 0)continue;const{correct:j,applyTo:R}=zo[E],M=g.transform==="none"?w[E]:j(w[E],v);if(R){const _=R.length;for(let B=0;B<_;B++)g[R[B]]=M}else g[E]=M}return this.options.layoutId&&(g.pointerEvents=v===this?Lo(c?.pointerEvents)||"":"none"),g}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(c=>{var h;return(h=c.currentAnimation)===null||h===void 0?void 0:h.stop()}),this.root.nodes.forEach(xm),this.root.sharedNodes.clear()}}}function Hj(r){r.updateLayout()}function Wj(r){var t;const s=((t=r.resumeFrom)===null||t===void 0?void 0:t.snapshot)||r.snapshot;if(r.isLead()&&r.layout&&s&&r.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:a}=r.layout,{animationType:u}=r.options,c=s.source!==r.layout.source;u==="size"?At(v=>{const w=c?s.measuredBox[v]:s.layoutBox[v],k=bt(w);w.min=o[v].min,w.max=w.min+k}):By(u,s.layoutBox,o)&&At(v=>{const w=c?s.measuredBox[v]:s.layoutBox[v],k=bt(o[v]);w.max=w.min+k,r.relativeTarget&&!r.currentAnimation&&(r.isProjectionDirty=!0,r.relativeTarget[v].max=r.relativeTarget[v].min+k)});const h=Fr();Js(h,o,s.layoutBox);const p=Fr();c?Js(p,r.applyTransform(a,!0),s.measuredBox):Js(p,o,s.layoutBox);const g=!Iy(h);let y=!1;if(!r.resumeFrom){const v=r.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:w,layout:k}=v;if(w&&k){const C=He();Zs(C,s.layoutBox,w.layoutBox);const E=He();Zs(E,o,k.layoutBox),Fy(C,E)||(y=!0),v.options.layoutRoot&&(r.relativeTarget=E,r.relativeTargetOrigin=C,r.relativeParent=v)}}}r.notifyListeners("didUpdate",{layout:o,snapshot:s,delta:p,layoutDelta:h,hasLayoutChanged:g,hasRelativeTargetChanged:y})}else if(r.isLead()){const{onExitComplete:o}=r.options;o&&o()}r.options.transition=void 0}function qj(r){Gs&&ir.totalNodes++,r.parent&&(r.isProjecting()||(r.isProjectionDirty=r.parent.isProjectionDirty),r.isSharedProjectionDirty||(r.isSharedProjectionDirty=!!(r.isProjectionDirty||r.parent.isProjectionDirty||r.parent.isSharedProjectionDirty)),r.isTransformDirty||(r.isTransformDirty=r.parent.isTransformDirty))}function Kj(r){r.isProjectionDirty=r.isSharedProjectionDirty=r.isTransformDirty=!1}function Gj(r){r.clearSnapshot()}function xm(r){r.clearMeasurements()}function Qj(r){r.isLayoutDirty=!1}function Yj(r){const{visualElement:t}=r.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),r.resetTransform()}function wm(r){r.finishAnimation(),r.targetDelta=r.relativeTarget=r.target=void 0,r.isProjectionDirty=!0}function Xj(r){r.resolveTargetDelta()}function Jj(r){r.calcProjection()}function Zj(r){r.resetSkewAndRotation()}function eT(r){r.removeLeadSnapshot()}function Sm(r,t,s){r.translate=Ve(t.translate,0,s),r.scale=Ve(t.scale,1,s),r.origin=t.origin,r.originPoint=t.originPoint}function bm(r,t,s,o){r.min=Ve(t.min,s.min,o),r.max=Ve(t.max,s.max,o)}function tT(r,t,s,o){bm(r.x,t.x,s.x,o),bm(r.y,t.y,s.y,o)}function nT(r){return r.animationValues&&r.animationValues.opacityExit!==void 0}const rT={duration:.45,ease:[.4,0,.1,1]},km=r=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(r),jm=km("applewebkit/")&&!km("chrome/")?Math.round:St;function Tm(r){r.min=jm(r.min),r.max=jm(r.max)}function sT(r){Tm(r.x),Tm(r.y)}function By(r,t,s){return r==="position"||r==="preserve-aspect"&&!aj(gm(t),gm(s),.2)}function iT(r){var t;return r!==r.root&&((t=r.scroll)===null||t===void 0?void 0:t.wasRoot)}const oT=Uy({attachResizeListener:(r,t)=>oi(r,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Eu={current:void 0},zy=Uy({measureScroll:r=>({x:r.scrollLeft,y:r.scrollTop}),defaultParent:()=>{if(!Eu.current){const r=new oT({});r.mount(window),r.setOptions({layoutScroll:!0}),Eu.current=r}return Eu.current},resetTransform:(r,t)=>{r.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:r=>window.getComputedStyle(r).position==="fixed"}),aT={pan:{Feature:kj},drag:{Feature:bj,ProjectionNode:zy,MeasureLayout:My}};function Cm(r,t,s){const{props:o}=r;r.animationState&&o.whileHover&&r.animationState.setActive("whileHover",s==="Start");const a="onHover"+s,u=o[a];u&&Ae.postRender(()=>u(t,fi(t)))}class lT extends zn{mount(){const{current:t}=this.node;t&&(this.unmount=ab(t,s=>(Cm(this.node,s,"Start"),o=>Cm(this.node,o,"End"))))}unmount(){}}class uT extends zn{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=di(oi(this.node.current,"focus",()=>this.onFocus()),oi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Em(r,t,s){const{props:o}=r;r.animationState&&o.whileTap&&r.animationState.setActive("whileTap",s==="Start");const a="onTap"+(s==="End"?"":s),u=o[a];u&&Ae.postRender(()=>u(t,fi(t)))}class cT extends zn{mount(){const{current:t}=this.node;t&&(this.unmount=db(t,s=>(Em(this.node,s,"Start"),(o,{success:a})=>Em(this.node,o,a?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Zu=new WeakMap,Nu=new WeakMap,dT=r=>{const t=Zu.get(r.target);t&&t(r)},fT=r=>{r.forEach(dT)};function hT({root:r,...t}){const s=r||document;Nu.has(s)||Nu.set(s,{});const o=Nu.get(s),a=JSON.stringify(t);return o[a]||(o[a]=new IntersectionObserver(fT,{root:r,...t})),o[a]}function pT(r,t,s){const o=hT(t);return Zu.set(r,s),o.observe(r),()=>{Zu.delete(r),o.unobserve(r)}}const mT={some:0,all:1};class gT extends zn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:s,margin:o,amount:a="some",once:u}=t,c={root:s?s.current:void 0,rootMargin:o,threshold:typeof a=="number"?a:mT[a]},h=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:y,onViewportLeave:v}=this.node.getProps(),w=g?y:v;w&&w(p)};return pT(this.node.current,c,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:s}=this.node;["amount","margin","root"].some(yT(t,s))&&this.startObserver()}unmount(){}}function yT({viewport:r={}},{viewport:t={}}={}){return s=>r[s]!==t[s]}const vT={inView:{Feature:gT},tap:{Feature:cT},focus:{Feature:uT},hover:{Feature:lT}},xT={layout:{ProjectionNode:zy,MeasureLayout:My}},Go={current:null},Wc={current:!1};
vendor: 3,822 bytes, line 10
10function $y(){if(Wc.current=!0,!!pc)if(window.matchMedia){const r=window.matchMedia("(prefers-reduced-motion)"),t=()=>Go.current=r.matches;r.addListener(t),t()}else Go.current=!1}const wT=[...py,it,Bn],ST=r=>wT.find(hy(r)),Nm=new WeakMap;function bT(r,t,s){for(const o in t){const a=t[o],u=s[o];if(ot(a))r.addValue(o,a);else if(ot(u))r.addValue(o,si(a,{owner:r}));else if(u!==a)if(r.hasValue(o)){const c=r.getValue(o);c.liveStyle===!0?c.jump(a):c.hasAnimated||c.set(a)}else{const c=r.getStaticValue(o);r.addValue(o,si(c!==void 0?c:a,{owner:r}))}}for(const o in s)t[o]===void 0&&r.removeValue(o);return t}const Pm=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class kT{scrapeMotionValuesFromProps(t,s,o){return{}}constructor({parent:t,props:s,presenceContext:o,reducedMotionConfig:a,blockInitialAnimation:u,visualState:c},h={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Bc,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 k=Zt.now();this.renderScheduledAt<k&&(this.renderScheduledAt=k,Ae.render(this.render,!1,!0))};const{latestValues:p,renderState:g,onUpdate:y}=c;this.onUpdate=y,this.latestValues=p,this.baseTarget={...p},this.initialValues=s.initial?{...p}:{},this.renderState=g,this.parent=t,this.props=s,this.presenceContext=o,this.depth=t?t.depth+1:0,this.reducedMotionConfig=a,this.options=h,this.blockInitialAnimation=!!u,this.isControllingVariants=ra(s),this.isVariantNode=bg(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:v,...w}=this.scrapeMotionValuesFromProps(s,{},this);for(const k in w){const C=w[k];p[k]!==void 0&&ot(C)&&C.set(p[k],!1)}}mount(t){this.current=t,Nm.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,o)=>this.bindToMotionValue(o,s)),Wc.current||$y(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Go.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Nm.delete(this.current),this.projection&&this.projection.unmount(),Un(this.notifyUpdate),Un(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const s=this.features[t];s&&(s.unmount(),s.isMounted=!1)}this.current=null}bindToMotionValue(t,s){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const o=ur.has(t),a=s.on("change",h=>{this.latestValues[t]=h,this.props.onUpdate&&Ae.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0)}),u=s.on("renderRequest",this.scheduleRender);let c;window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,t,s)),this.valueSubscriptions.set(t,()=>{a(),u(),c&&c(),s.owner&&s.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Kr){const s=Kr[t];if(!s)continue;const{isEnabled:o,Feature:a}=s;
10if(!this.features[t]&&a&&o(this.props)&&(this.features[t]=new a(this)),this.features[t]){const u=this.features[t];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):He()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,s){this.latestValues[t]=s}update(t,s){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let o=0;o<Pm.length;o++){const a=Pm[o];this.propEventSubscriptions[a]&&(this.propEventSubscriptions[a](),delete this.propEventSubscriptions[a]);const u="on"+a,c=t[u];c&&(this.propEventSubscriptions[a]=this.on(a,c))}this.prevMotionValues=bT(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(t),()=>s.variantChildren.delete(t)}addValue(t,s){const o=this.values.get(t);s!==o&&(o&&this.removeValue(t),this.bindToMotionValue(t,s),this.values.set(t,s),this.latestValues[t]=s.get())}removeValue(t){this.values.delete(t);const s=this.valueSubscriptions.get(t);s&&(s(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,s){if(this.props.values&&this.props.values[t])return this.props.values[t];let o=this.values.get(t);return o===void 0&&s!==void 0&&(o=si(s===null?void 0:s,{owner:this}),this.addValue(t,o)),o}readValue(t,s){var o;let a=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(o=this.getBaseTargetFromProps(this.props,t))!==null&&o!==void 0?o:this.readValueFromInstance(this.current,t,this.options);return a!=null&&(typeof a=="string"&&(dy(a)||ny(a))?a=parseFloat(a):!ST(a)&&Bn.test(s)&&(a=ly(t,s)),this.setBaseTarget(t,ot(a)?a.get():a)),ot(a)?a.get():a}setBaseTarget(t,s){this.baseTarget[t]=s}getBaseTarget(t){var s;const{initial:o}=this.props;let a;if(typeof o=="string"||typeof o=="object"){const c=Sc(this.props,o,(s=this.presenceContext)===null||s===void 0?void 0:s.custom);c&&(a=c[t])}if(o&&a!==void 0)return a;const u=this.getBaseTargetFromProps(this.props,t);return u!==void 0&&!ot(u)?u:this.initialValues[t]!==void 0&&a===void 0?void 0:this.baseTarget[t]}on(t,s){return this.events[t]||(this.events[t]=new _c),this.events[t].add(s)}notify(t,...s){this.events[t]&&this.events[t].notify(...s)}}class Hy extends kT{constructor(){super(...arguments),this.KeyframeResolver=my}sortInstanceNodePosition(t,s){return t.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(t,s){return t.style?t.style[s]:void 0}removeValueFromRenderState(t,{vars:s,style:o}){delete s[t],delete o[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ot(t)&&(this.childSubscription=t.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}function jT(r){return window.getComputedStyle(r)}class TT extends Hy{constructor(){super(...arguments),this.type="html",this.renderInstance=Ag}readValueFromInstance(t,s){if(ur.has(s)){const o=Uc(s);return o&&o.default||0}else{const o=jT(t),a=(Ng(s)?o.getPropertyValue(s):o[s])||0;return typeof a=="string"?a.trim():a}}measureInstanceViewportBox(t,{transformPagePoint:s}){return Ly(t,s)}build(t,s,o){jc(t,s,o.transformTemplate)}scrapeMotionValuesFromProps(t,s,o){return Nc(t,s,o)}}class CT extends Hy{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=He}getBaseTargetFromProps(t,s){return t[s]}readValueFromInstance(t,s){if(ur.has(s)){const o=Uc(s);return o&&o.default||0}return s=Lg.has(s)?s:vc(s),t.getAttribute(s)}scrapeMotionValuesFromProps(t,s,o){return _g(t,s,o)}build(t,s,o){Tc(t,s,this.isSVGTag,o.transformTemplate)}renderInstance(t,s,o,a){Og(t,s,o,a)}mount(t){this.isSVGTag=Ec(t.tagName),super.mount(t)}}const ET=(r,t)=>wc(r)?new CT(t):new TT(t,{allowProjection:r!==b.Fragment}),NT=eb({...Jk,...vT,...aT,...xT},ET),Rm=mS(NT);function PT(){!Wc.current&&$y();const[r]=b.useState(Go.current);return r}const fe=({children:r,delay:t=0,y:s=24,className:o="",as:a="div",once:u=!0,...c})=>{const h=PT(),p=Rm[a]||Rm.div,g=t>10?t/1e3:t;return f.jsx(p,{className:o,initial:{opacity:0,y:h?0:s},whileInView:{opacity:1,y:0},viewport:{once:u,margin:"-60px"},transition:{duration:.6,delay:g,ease:[.22,1,.36,1]},...c,children:r})};function nn({id:r,className:t=""}){const[s,o]=b.useState(!1),a=async u=>{u.preventDefault(),u.stopPropagation();const c=`${window.location.origin}${window.location.pathname}#${r}`,h={url:c,title:document.title};let p=!1;if(typeof navigator<"u"&&navigator.share)try{await navigator.share(h),p=!0}catch{}if(!p)try{await navigator.clipboard.writeText(c)}catch{const y=document.createElement("textarea");y.value=c,y.style.position="fixed",y.style.opacity="0",document.body.appendChild(y),y.select();try{document.execCommand("copy")}catch{}document.body.removeChild(y)}o(!0),window.setTimeout(()=>
10o(!1),2200)};return f.jsx("button",{type:"button",onClick:a,"aria-label":"Share a direct link to this section",title:"Copy a direct link to this section",className:`inline-flex items-center gap-1.5 rounded-md border border-border bg-background/60 px-2.5 py-1.5 text-xs font-medium text-muted-foreground transition-colors hover:border-primary hover:text-primary active:scale-[0.98] ${t}`,children:s?f.jsxs(f.Fragment,{children:[f.jsx(H1,{className:"h-3.5 w-3.5","aria-hidden":"true"}),"Link copied"]}):f.jsxs(f.Fragment,{children:[f.jsx(dc,{className:"h-3.5 w-3.5","aria-hidden":"true"}),"Share section"]})})}const RT=r=>1-Math.pow(1-r,3),AT=({value:r,duration:t=1600,decimals:s=0,prefix:o="",suffix:a="",locale:u,className:c=""})=>{const[h,p]=b.useState(0),g=b.useRef(null);return b.useEffect(()=>{const y=g.current,v=Number(r)||0;if(!y||window.matchMedia("(prefers-reduced-motion: reduce)").matches){p(v);return}let w;const k=new IntersectionObserver(([C])=>{if(!C.isIntersecting)return;k.disconnect();const E=performance.now(),j=R=>{const M=Math.min((R-E)/t,1);p(v*RT(M)),M<1&&(w=requestAnimationFrame(j))};w=requestAnimationFrame(j)},{threshold:.3});return k.observe(y),()=>{k.disconnect(),cancelAnimationFrame(w)}},[r,t]),f.jsxs("span",{ref:g,className:c,children:[o,h.toLocaleString(u,{minimumFractionDigits:s,maximumFractionDigits:s}),a]})},LT=({title:r,description:t,image:s,url:o,siteName:a,type:u="website"})=>{const c=o||window.location.origin+window.location.pathname;return f.jsxs(Hr,{children:[f.jsx("link",{rel:"canonical",href:c}),f.jsx("meta",{property:"og:url",content:c}),f.jsx("meta",{property:"og:type",content:u}),a&&f.jsx("meta",{property:"og:site_name",content:a}),r&&f.jsx("meta",{property:"og:title",content:r}),t&&f.jsx("meta",{property:"og:description",content:t}),s&&f.jsx("meta",{property:"og:image",content:s}),f.jsx("meta",{name:"twitter:card",content:s?"summary_large_image":"summary"}),r&&f.jsx("meta",{name:"twitter:title",content:r}),t&&f.jsx("meta",{name:"twitter:description",content:t}),s&&f.jsx("meta",{name:"twitter:image",content:s})]})},Wy="https://api-ecommerce.hostinger.com",qy="scha_01M3XA1W3KXHFX27WACCZ7E8B2",Am="/checkout/",OT="data-hostinger-checkout-shell",MT=1500,_T=()=>Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC";async function DT(){const r=await fetch(`${Wy}/store/${qy}/settings`,{method:"GET",headers:{"Content-Type":"application/json"}});if(!r.ok)throw new Error(`HTTP ${r.status}: ${r.statusText}`);return(await r.json()).store_owner?.language}async function IT(){const{protocol:r,origin:t}=window.location;if(r==="https:")try{const s=await fetch(`${Am}?probe=${Date.now()}`,{cache:"no-store",signal:AbortSignal.timeout(MT)});return s.ok&&(await s.text()).includes(OT)?`${t}${Am}`:void 0}catch{return}}async function FT({items:r,successUrl:t,cancelUrl:s,locale:o,customer:a}){const u=`${Wy}/store/${qy}/checkout`,c=DT().catch(()=>"en"),h=await IT(),p=await fetch(u,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({items:r,successUrl:t,cancelUrl:s,checkoutUrl:h,locale:o,timeZone:_T(),customer:a})}),g=await c;if(!p.ok){const w=new Error(`HTTP ${p.status}: ${p.statusText}`);throw w.response=await p.json().catch(()=>null),w}return{url:`${(await p.json()).url}&lang=${g?.toLowerCase()||"en"}`}}const VT="variant_01M3XA27KBNYFGSR4563ACSMGF",Vn={portrait:"https://horizons-cdn.hostinger.com/caa42db9-98e3-46a0-a799-fcbfe0e33525/win_20231111_14_12_40_pro-bDT0o.jpg",live:"https://horizons-cdn.hostinger.com/caa42db9-98e3-46a0-a799-fcbfe0e33525/youtube-profile-lfytV.jpg",hosting:"https://horizons-cdn.hostinger.com/caa42db9-98e3-46a0-a799-fcbfe0e33525/my-travel-profile-ogwKO.jpg",studio:"https://horizons-cdn.hostinger.com/caa42db9-98e3-46a0-a799-fcbfe0e33525/fybg7298-SZRAg.JPG",crowd:"https://images.hostinger.com/7aaf6969-2801-494c-a2bd-7ee3e5fb2a01.png"},UT="https://horizons-cdn.hostinger.com/caa42db9-98e3-46a0-a799-fcbfe0e33525/223bb670-db09-4837-8612-db9aabccf3d9-6oMxJ.jpeg",No="[email protected]",oa="https://linktr.ee/oldskoolqueene",BT=[{label:"OldSkoolQueene's Podcast",detail:"Listen to the latest podcast episodes",href:"https://oldskoolqueene.libsyn.com/"}
10,{label:"Old Skool QueenE on Apple Music",detail:"Stream the music and latest releases",href:"https://music.apple.com/us/artist/old-skool-queene/1266833809"},{label:"Spotify",detail:"Listen to QueenE on Spotify",href:"https://open.spotify.com/artist/0Z7IsY700RKO32gbuMypJU?si=n0_82xprRDigxpIv_wX_ig"},{label:"YouTube",detail:"Music videos, new songs & podcast episodes",href:"https://www.youtube.com/watch?v=1-0lPNP6HBM"},{label:"TikTok",detail:"Short clips and behind-the-scenes moments",href:"https://www.tiktok.com/@oldskoolqueene2"},{label:"Old Skool QueenE website",detail:"The official artist home online",href:"http://www.oldskoolqueene.net/"}],Ky=[{label:"The Story",href:"#story"},{label:"Music",href:"#music"},{label:"Spotlight",href:"#spotlight"},{label:"Messages",href:"#messages"},{label:"Hosting",href:"#hosting"},{label:"Gallery",href:"#gallery"},{label:"Podcast",href:"#podcast"}],rr={youtubeId:"T9fMNDONiMU",videoUrl:"",poster:Vn.live,title:"Ladies Night (OFFICIAL VIDEO)",description:"The official music video for “Ladies Night” by Old Skool QueenE.",cadence:"Now playing"};function zT(r){if(!r)return"";const t=String(r).trim();if(!t)return"";const s=[/(?:youtube\.com\/watch\?v=|youtu\.be\/|youtube\.com\/embed\/|youtube\.com\/shorts\/|youtube-nocookie\.com\/embed\/)([A-Za-z0-9_-]{6,40})/,/[?&]v=([A-Za-z0-9_-]{6,40})/];for(const o of s){const a=t.match(o);if(a&&a[1])return a[1]}return/^[A-Za-z0-9_-]{6,40}$/.test(t)?t:""}const $T=["video/mp4","video/quicktime","video/webm","video/3gpp","video/3gpp2","video/x-matroska","video/ogg"],HT=["mp4","mov","webm","3gp","mkv","ogv"],WT=209715200,Lm="video/*,video/mp4,video/quicktime,video/webm,video/3gpp,video/3gpp2,video/x-matroska,video/ogg,.mp4,.mov,.webm,.3gp,.mkv,.ogv";function Om(r){if(!r)return"Please choose a video file.";const t=(r.name.split(".").pop()||"").toLowerCase(),s=$T.includes(r.type),o=HT.includes(t);return!s&&!o?`Unsupported format ".${t||"unknown"}". Please upload an MP4, MOV, WEBM, 3GP, MKV, or OGG video (up to 200MB).`:r.size>WT?`That file is ${(r.size/1048576).toFixed(1)}MB. The maximum size is 200MB.`:""}const qT=["Singer-Songwriter","Host & MC","Old Skool Soul","Independent Artist","Podcaster"],KT=[{no:"01",title:"Get Your Roll On (Dance Version)",release:"ThisIs4U: 2 Get Your Roll On",time:""},{no:"02",title:"Keep My Dollar (Rap Version) [feat. Cathy Hughes]",release:"ThisIs4U: 2 Get Your Roll On",time:""},{no:"03",title:"Happily Single",release:"ThisIs4U: 2 Get Your Roll On",time:""},{no:"04",title:"Madumfo (feat. Sorg Vibe)",release:"ThisIs4U: 2 Get Your Roll On",time:""},{no:"05",title:"I Found Love",release:"ThisIs4U: 2 Get Your Roll On",time:""}],GT=[{name:"Oldskool QueenE’s Couples Podcast",detail:"A candid, soulful space for couples to share their story, spark honest conversations, and connect with listeners.",price:"by inquiry"},{name:"Weddings & Receptions",detail:"Ceremony-to-last-dance hosting with a soul soundtrack woven through the night.",price:"from $1,200"},{name:"Corporate Galas & Awards",detail:"Polished, warm, on-script when it matters — off-script magic when it counts.",price:"from $1,800"},{name:"Club Nights, Festivals & Ladies Night",detail:"High-energy MC work, artist introductions, and crowd hypnosis with Line Dance flair until close.",price:"from $900"},{name:"Tribute & Theme Nights",detail:"Motown, R&B, Go-Go, Afrobeats — a full old skool concept night, hosted and sung live.",price:"from $1,500"}];function QT({items:r,className:t=""}){const s=[...r,...r];return f.jsx("div",{className:`overflow-hidden border-y border-border bg-secondary ${t}`,children:f.jsx("div",{className:"marquee-track flex w-max items-center gap-8 py-4 pr-8",children:s.map((o,a)=>f.jsxs("span",{className:"flex items-center gap-8 whitespace-nowrap",children:[f.jsx("span",{className:"font-display text-lg font-semibold uppercase tracking-[0.2em] text-secondary-foreground",children:o}),f.jsx(rS,{className:"h-4 w-4 fill-primary text-primary","aria-hidden":"true"})]},a))})})}function YT(){return f.jsx("header",{className:"fixed inset-x-0 top-0 z-50 border-b border-border/60 bg-background/80 backdrop-blur-md",children:f.jsxs("div",{className:"mx-auto flex h-16 max-w-6xl items-center justify-between px-5 md:px-8",children:[f.jsxs("a",{href:"#top",className:"flex items-center gap-3",children:[f.jsx("span",{className:"flex h-9 w-9 items-center justify-center rounded-full bg-primary font-display text-sm font-black text-primary-foreground",children:"Q"}),f.jsxs("span",{className:"font-display text-lg font-bold tracking-wide",children:["Old Skool ",f.jsx("span",{className:"text-primary",children:"QueenE"})]})]}),f.jsx("nav",{className:"hidden items-center gap-8 md:flex","aria-label":"Primary",children:Ky.map(r=>f.jsx("a",{href:r.href,className:"text-sm font-medium text-muted-foreground transition-colors hover:text-primary",children:r.label},r.href))}),f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsxs("a",{href:oa,target:"_blank",rel:"noopener noreferrer",className:"hidden min-h-[44px] items-center gap-2 rounded-md border border-border px-4 text-sm font-semibold text-foreground transition-colors hover:border-primary hover:text-primary lg:inline-flex",children:[f.jsx(dc,{className:"h-4 w-4","aria-hidden":"true"}),"Linktree"]}),f.jsxs("a",{href:"#booking",className:"inline-flex min-h-[44px] items-center gap-2 rounded-md bg-primary px-4 text-sm font-semibold text-primary-foreground transition-transform hover:-translate-y-
10px active:scale-[0.98]",children:[f.jsx(mg,{className:"h-4 w-4","aria-hidden":"true"}),"Book the Queen"]})]})]})})}function XT(){return f.jsxs("section",{id:"top",className:"relative flex min-h-[100dvh] flex-col justify-end overflow-hidden pt-16",children:[f.jsxs("div",{className:"mx-auto grid w-full max-w-6xl flex-1 items-center gap-12 px-5 py-16 md:px-8 lg:grid-cols-[1.1fr_0.9fr]",children:[f.jsxs("div",{children:[f.jsx(fe,{children:f.jsx("p",{className:"font-script text-3xl text-primary md:text-4xl",children:"Old Skool"})}),f.jsx(fe,{delay:.1,children:f.jsxs("h1",{className:"font-display mt-2 text-7xl font-black leading-[0.9] tracking-tight md:text-8xl lg:text-9xl",children:["QUEEN",f.jsx("span",{className:"text-primary",children:"E"})]})}),f.jsx(fe,{delay:.2,children:f.jsxs("p",{className:"mt-6 max-w-md text-lg leading-relaxed text-muted-foreground",children:["Host with the most to Opening Act to Concert and Podcast Show. Voice of the"," ",f.jsx("span",{className:"marker-underline font-semibold text-foreground",children:"golden era"}),". Independent singer-songwriter keeping old skool soul, RNB, afrobeats and Go-Go pop sound alive — one stage, one celebration, one slow jam at a time."]})}),f.jsx(fe,{delay:.3,children:f.jsx("div",{className:"mt-8 flex flex-wrap items-center gap-4",children:f.jsxs("a",{href:"https://oldskoolqueene.net/music-catalog",target:"_blank",rel:"noopener noreferrer",className:"inline-flex min-h-[44px] items-center gap-2 rounded-md bg-primary px-6 font-semibold text-primary-foreground transition-transform hover:-translate-y-px active:scale-[0.98]",children:[f.jsx(Iu,{className:"h-4 w-4 fill-current","aria-hidden":"true"}),"Hear the Music"]})})}),f.jsx(fe,{delay:.4,children:f.jsxs("div",{className:"mt-10 flex items-center gap-3 text-sm text-muted-foreground",children:[f.jsx(Z1,{className:"h-4 w-4 text-primary","aria-hidden":"true"}),"Based in Atlanta — stages worldwide"]})})]}),f.jsx(fe,{delay:.2,className:"relative mx-auto w-full max-w-sm lg:max-w-none",children:f.jsxs("div",{className:"relative",children:[f.jsx("div",{className:"vinyl-disc animate-spin-slow absolute -right-10 -top-10 hidden h-48 w-48 rounded-full sm:block","aria-hidden":"true"}),f.jsx("div",{className:"absolute -left-4 -top-4 h-full w-full rounded-md bg-secondary","aria-hidden":"true"}),f.jsx("img",{src:"https://horizons-cdn.hostinger.com/caa42db9-98e3-46a0-a799-fcbfe0e33525/website-pic-DXjzs.JPG",alt:"Old Skool QueenE holding a vintage microphone under warm stage light",className:"relative aspect-[3/4] w-full rounded-md object-cover",loading:"eager"}),f.jsxs("div",{className:"absolute -bottom-5 -right-3 flex rotate-3 items-center gap-2 rounded-md bg-primary px-4 py-2 font-display text-sm font-bold text-primary-foreground shadow-lg",children:[f.jsx(q1,{className:"h-4 w-4","aria-hidden":"true"}),"Host · Singer · Songwriter"]})]})})]}),f.jsx(QT,{items:qT})]})}function JT(){return f.jsx("section",{id:"story",className:"mx-auto max-w-6xl px-5 py-24 md:px-8 md:py-32",children:f.jsxs("div",{className:"grid items-start gap-12 lg:grid-cols-2",children:[f.jsx(fe,{className:"lg:sticky lg:top-24",children:f.jsxs("div",{className:"relative",children:[f.jsx("img",{src:"https://horizons-cdn.hostinger.com/caa42db9-98e3-46a0-a799-fcbfe0e33525/wide-screen-libsyn-9AT3K.png",alt:"QueenE recording vocals in an analog studio",className:"aspect-[3/2] w-full rounded-md object-cover",loading:"lazy"}),f.jsx("p",{className:"mt-3 text-xs uppercase tracking-[0.2em] text-muted-foreground",children:"In the STUDIO booth — PUTTING DOWN THE LYRICS"})]})}),f.jsxs("div",{children:[f.jsxs(fe,{children:[f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx("p",{className:"font-script text-2xl text-primary",children:"The Queen’s Story"}),f.jsx(nn,{id:"story",className:"ml-auto"})]}),f.jsx("h2",{className:"font-display mt-2 text-4xl font-bold leading-tight md:text-5xl",children:"Raised on vinyl. Crowned on stage."})]}),f.jsxs(fe,{delay:.1,children:[f.jsxs("p",{className:"mt-6 leading-relaxed text-muted-foreground",children:[f.jsx("span",{className:"font-display float-left mr-3 mt-1 text-6xl font-black leading-[0.8] text-primary",children:"Q"}),"ueene grew up in a house where the turntable never stopped — Aretha at breakfast, Marvin at dinner, and Chaka whenever somebody needed reminding. She sang in the church choir in her childhood and sang in High School talent show. Old Skool Queene is Esther Mayberry, born straight out of Washington, DC."]}),f.jsx("p",{className:"mt-4 leading-relaxed text-muted-foreground",children:"Growing up around her Mother’s Gos
10pel and Father’s Doo Wop Group, Esther became inspired to sing and perform. After raising her family she retired from her government job and started her career in the music business. She has released several albums and singles and now produces and hosts her podcast show."}),f.jsx("p",{className:"mt-4 leading-relaxed text-muted-foreground",children:"Two decades later, Old Skool QueenE is a one-woman institution: an independent singer-songwriter with four self-released projects."})]}),f.jsx(fe,{delay:.2,children:f.jsx("div",{className:"mt-10 grid grid-cols-2 gap-x-6 gap-y-8 border-t border-border pt-8 sm:grid-cols-4",children:[{value:5,suffix:"+",label:"Years on stage"},{value:5,prefix:"0",suffix:"+",label:"Events hosted"},{value:4,suffix:"",label:"Independent releases"},{value:60,suffix:"K+",label:"Streams & counting"}].map(r=>f.jsxs("div",{children:[f.jsx("p",{className:"font-display text-4xl font-black text-primary",children:f.jsx(AT,{value:r.value,prefix:r.prefix,suffix:r.suffix})}),f.jsx("p",{className:"mt-1 text-xs uppercase tracking-[0.15em] text-muted-foreground",children:r.label})]},r.label))})}),f.jsx(fe,{delay:.3,children:f.jsx("p",{className:"font-script mt-10 text-3xl text-foreground/80",children:"— QueenE"})})]})]})})}function ZT(){return f.jsx("section",{id:"music",className:"border-y border-border bg-card",children:f.jsx("div",{className:"mx-auto max-w-6xl px-5 py-24 md:px-8 md:py-32",children:f.jsxs("div",{className:"grid gap-12 lg:grid-cols-[0.9fr_1.1fr]",children:[f.jsxs("div",{children:[f.jsxs(fe,{children:[f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx("p",{className:"font-script text-2xl text-primary",children:"Sounds of the Skool"}),f.jsx(nn,{id:"music",className:"ml-auto"})]}),f.jsx("h2",{className:"font-display mt-2 text-4xl font-bold leading-tight md:text-5xl",children:"Latest Music  "}),f.jsx("p",{className:"mt-6 max-w-md leading-relaxed text-muted-foreground",children:`NEW ALBUM:  "Thisis4U-2 Get Your Roll On"  Live horns, real drums and piano chords is QueenE's preferred sound. Every track is written, arranged, and released independently — old skool craft with a queen’s fingerprint on RNB and Go-Go beats on every note. Her latest Album grabbed the Afrobeats to promote Africa sounds.`})]}),f.jsx(fe,{delay:.15,children:f.jsxs("div",{className:"relative mt-10 overflow-hidden rounded-md",children:[f.jsx("img",{src:"https://horizons-cdn.hostinger.com/caa42db9-98e3-46a0-a799-fcbfe0e33525/get-yro-d211Z.png",alt:"A vinyl record spinning beside a stack of worn soul sleeves",className:"aspect-[3/2] w-full object-cover",loading:"lazy"}),f.jsxs("a",{href:"https://oldskoolqueene.net/music-catalog",target:"_blank",rel:"noopener noreferrer",className:"absolute inset-x-0 bottom-0 flex items-center justify-between bg-background/80 px-5 py-4 backdrop-blur-sm transition-colors hover:bg-background/90",children:[f.jsxs("div",{children:[f.jsx("p",{className:"text-xs uppercase tracking-[0.2em] text-muted-foreground",children:"Latest single"}),f.jsx("p",{className:"font-display text-lg font-bold",children:"DOWNLOAD"})]}),f.jsx("span",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-primary text-primary-foreground",children:f.jsx(Iu,{className:"h-5 w-5 fill-current","aria-hidden":"true"})})]})]})})]}),f.jsxs(fe,{delay:.1,children:[f.jsx("ol",{className:"divide-y divide-border border-t border-b border-border",children:KT.map(r=>f.jsxs("li",{className:"group flex cursor-pointer items-center gap-5 py-5 transition-colors hover:bg-muted/50",children:[f.jsx("span",{className:"font-display w-8 text-sm font-semibold text-muted-foreground",children:r.no}),f.jsx("span",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-full border border-border text-muted-foreground transition-colors group-hover:border-primary group-hover:bg-primary group-hover:text-primary-foreground",children:f.jsx(Iu,{className:"h-4 w-4 fill-current","aria-hidden":"true"})}),f.jsxs("span",{className:"min-w-0 flex-1",children:[f.jsx("span",{className:"font-display block truncate text-lg font-semibold",children:r.title}),f.jsx("span",{className:"block truncate text-sm text-muted-foreground",children:r.release})]}),f.jsx("span",{className:"font-mono text-sm text-muted-foreground",children:r.time})]}
10,r.no))}),f.jsxs("p",{className:"mt-6 text-sm text-muted-foreground",children:["Full catalog on all streaming platforms — search"," ",f.jsx("span",{className:"font-semibold text-foreground",children:"Old Skool QueenE"}),"."]})]})]})})})}function eC(){const{isAuthed:r,user:t}=Zr(),[s,o]=b.useState(null),[a,u]=b.useState(!1),[c,h]=b.useState({youtubeInput:"",title:"",description:"",cadence:""}),[p,g]=b.useState(!1),[y,v]=b.useState(""),[w,k]=b.useState(!1),C=s?{youtubeId:s.youtube_id||"",videoUrl:s.video_url||"",title:s.title||rr.title,description:s.description||rr.description,cadence:s.cadence||rr.cadence}:rr;b.useEffect(()=>{let V=!1;return ye.collection("spotlight").getFullList({sort:"-created"}).then(W=>{V||W&&W.length>0&&o(W[0])}).catch(W=>console.error("load spotlight failed",W)),()=>{V=!0}},[]);const E=()=>{v(""),k(!1),h({youtubeInput:C.youtubeId?`https://www.youtube.com/watch?v=${C.youtubeId}`:C.videoUrl||"",title:C.title,description:C.description,cadence:C.cadence}),u(!0)},j=V=>W=>h(ee=>({...ee,[V]:W.target.value})),R=async V=>{V.preventDefault(),g(!0),v(""),k(!1);const W=zT(c.youtubeInput),ee=!W&&c.youtubeInput.trim()!=="",K={youtube_id:W,video_url:ee?c.youtubeInput.trim():"",title:c.title.trim()||rr.title,description:c.description.trim(),cadence:c.cadence.trim()||rr.cadence};try{if(s){const ne=await ye.collection("spotlight").update(s.id,K);o(ne)}else{const ne=await ye.collection("spotlight").create({...K,owner:t.id});o(ne)}u(!1),k(!0)}catch(ne){v(ne?.status===403?"Only the site owner can update the spotlight. Please log in with the owner account.":"Sorry, the spotlight could not be saved right now. Please try again.")}finally{g(!1)}},M=!!(C.youtubeId&&C.youtubeId.trim()),_=!!(C.videoUrl&&C.videoUrl.trim()),B="min-h-[44px] w-full rounded-md border border-input bg-background px-4 text-sm text-foreground placeholder:text-muted-foreground focus:border-primary focus:outline-none focus:ring-1 focus:ring-primary";return f.jsxs("section",{id:"spotlight",className:"mx-auto max-w-6xl px-5 py-24 md:px-8 md:py-32",children:[f.jsx(fe,{children:f.jsxs("div",{className:"flex flex-wrap items-end justify-between gap-6",children:[f.jsxs("div",{children:[f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx("p",{className:"font-script text-2xl text-primary",children:"Today’s Spotlight"}),f.jsx(nn,{id:"spotlight",className:"ml-auto"})]}),f.jsx("h2",{className:"font-display mt-2 text-4xl font-bold leading-tight md:text-5xl",children:"Today’s Spotlight"})]}),f.jsxs("div",{className:"flex items-center gap-3",children:[r&&f.jsxs("button",{type:"button",onClick:E,className:"inline-flex min-h-[44px] items-center gap-2 rounded-md border border-border px-4 text-sm font-semibold text-foreground transition-colors hover:border-primary hover:text-primary active:scale-[0.98]",children:[f.jsx(Fu,{className:"h-4 w-4","aria-hidden":"true"}),"Edit YouTube link"]}),f.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-primary/40 bg-primary/10 px-4 py-2 text-xs font-semibold uppercase tracking-[0.2em] text-primary",children:[f.jsx(Vo,{className:"h-4 w-4","aria-hidden":"true"}),C.cadence]})]})]})}),r&&w&&f.jsx("p",{className:"mt-6 rounded-md border border-primary/40 bg-primary/10 px-4 py-3 text-sm text-primary",children:"Spotlight updated — visitors now see the new video."}),r&&a&&f.jsxs("form",{onSubmit:R,className:"mt-8 rounded-md border border-border bg-card p-6 md:p-8",children:[f.jsx("h3",{className:"font-display text-xl font-bold",children:"Edit Today’s Spotlight"}),f.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:"Paste a YouTube link (or a direct video file URL) and update the caption. Visitors see this video immediately after you save."}),f.jsxs("div",{className:"mt-6 grid gap-5",children:[f.jsxs("div",{className:"flex flex-col gap-2",children:[f.jsx("label",{htmlFor:"sp-link",className:"text-sm font-medium",children:"YouTube link or video URL"}),f.jsx("input",{id:"sp-link",value:c.youtubeInput,onChange:j("youtubeInput"),placeholder:"https://www.youtube.com/watch?v=...",className:B}),f.jsx("p",{className:"text-xs text-muted-foreground",children:"Accepted: youtube.com/watch?v=, youtu.be/, /shorts/, /embed/, or a direct .mp4/.webm URL."})]}),f.jsxs("div",{className:"flex flex-col gap-2",children:[f.jsx("label",{htmlFor:"sp-title",className:"text-sm font-medium",children:"Title"}),f.jsx("input",{id:"sp-title",value:c.title,onChange:j("title"),placeholder:"Video title",className:B})]}),f.jsxs("div",{className:"flex flex-col gap-2",children:[f.jsx("label",{htmlFor:"sp-desc",className:"text-sm font-medium",children:"Description"}),f.jsx("textarea",{id:"sp-desc",rows:3,value:c.description,onChange:j("description"),placeholder:"Short caption shown beside the player",className:"w-full rounded-md border border-input bg-background px-4 py-3 text-sm text-foreground placeholder:text-muted-foreground focus:border-primary focus:outline-none focus:ring-1 focus:ring-primary"})]}),f.jsxs("div",{className:"flex flex-col gap-2 sm:max-w-xs",children:[f.jsx("label",{htmlFor:"sp-cadence",className:"text-sm font-medium",children:"Cadence label"}),f.jsx("input",{id:"sp-cadence",value:c.cadence,onChange:j("cadence"),placeholder:"This week",className:B})]})]}),y&&f.jsx("p",{className:"mt-4 rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive-foreground",children:y}),f.jsxs("div",{className:"mt-6 flex flex-wrap items-center gap-3",children:[f.jsxs("button",{type:"submit",disabled:p,className:"inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md bg-primary px-6 font-semibold text-primary-foreground transition-transform hover:-translate-y-
10px active:scale-[0.98] disabled:opacity-60",children:[f.jsx(fc,{className:"h-4 w-4","aria-hidden":"true"}),p?"Saving…":"Save spotlight"]}),f.jsx("button",{type:"button",onClick:()=>u(!1),className:"inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md border border-border px-6 font-semibold text-foreground transition-colors hover:border-primary hover:text-primary active:scale-[0.98]",children:"Cancel"})]})]}),f.jsx(fe,{delay:.1,children:f.jsxs("div",{className:"mt-10 overflow-hidden rounded-md border border-border bg-card shadow-[0_24px_60px_-20px_hsl(0_0%_0%/0.6)]",children:[f.jsx("div",{className:"relative aspect-video w-full bg-background",children:M?f.jsx("iframe",{src:`https://www.youtube-nocookie.com/embed/${C.youtubeId}?rel=0&modestbranding=1`,title:C.title,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,className:"absolute inset-0 h-full w-full",loading:"lazy"}):_?f.jsx("video",{src:C.videoUrl,poster:rr.poster,controls:!0,className:"absolute inset-0 h-full w-full object-cover"}):f.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center gap-4 text-center",children:[f.jsx("span",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-primary text-primary-foreground",children:f.jsx(Xt,{className:"h-7 w-7","aria-hidden":"true"})}),f.jsx("p",{className:"font-display text-lg font-semibold",children:"Spotlight video coming soon"}),f.jsx("p",{className:"max-w-sm text-sm text-muted-foreground",children:"A new featured video drops here every week."})]})}),f.jsxs("div",{className:"flex flex-col gap-4 px-6 py-6 md:flex-row md:items-center md:justify-between md:px-8",children:[f.jsxs("div",{className:"max-w-xl",children:[f.jsx("h3",{className:"font-display text-xl font-bold leading-snug md:text-2xl",children:C.title}),f.jsx("p",{className:"mt-2 text-sm leading-relaxed text-muted-foreground",children:C.description})]}),M&&f.jsxs("a",{href:`https://www.youtube.com/watch?v=${C.youtubeId}`,target:"_blank",rel:"noopener noreferrer",className:"inline-flex min-h-[44px] shrink-0 items-center gap-2 rounded-md border border-border px-5 text-sm font-semibold text-foreground transition-colors hover:border-primary hover:text-primary active:scale-[0.98]",children:[f.jsx(Fu,{className:"h-4 w-4","aria-hidden":"true"}),"Watch on YouTube"]})]})]})})]})}function tC(){const{isAuthed:r,user:t}=Zr(),s=Jo(),[o,a]=b.useState([]),[u,c]=b.useState(!0),[h,p]=b.useState(!1),[g,y]=b.useState(""),[v,w]=b.useState(""),[k,C]=b.useState(null),[E,j]=b.useState(!1),[R,M]=b.useState(""),[_,B]=b.useState(""),[V,W]=b.useState(!1),ee=async()=>{try{const Z=await ye.collection("video_messages").getFullList({sort:"-created"});a(Z),p(!1)}catch(Z){console.error("load video messages failed",Z),p(!0)}finally{c(!1)}};b.useEffect(()=>{ee()},[]);const K=Z=>{const ce=Z.target.files?.[0];ce&&C(ce)},ne=async Z=>{if(Z.preventDefault(),M(""),B(""),!k){M("Choose an MP4 video file first.");return}if(!g.trim()){M("Add a short title for your message.");return}j(!0);try{const ce=new FormData;ce.append("title",g.trim()),ce.append("description",v.trim()),ce.append("video",k),ye.authStore.record?.id&&ce.append("owner",ye.authStore.record.id),await ye.collection("video_messages").create(ce,{requestKey:"create-video-home"}),y(""),w(""),C(null),W(!1),B("Your video message is live on the site!"),await ee()}catch(ce){const Le=ce?.response?.data?.video?.message||ce?.message||"Upload failed.";M(Le)}finally{j(!1)}},ve=()=>{if(!r){s("/login");return}W(Z=>!Z),M(""),B("")},Ee=async Z=>{if(window.confirm("Delete this video message? This cannot be undone."))try{await ye.collection("video_messages").delete(Z,{requestKey:`del-${Z}`}),a(ce=>ce.filter(Le=>Le.id!==Z))}catch{M("Could not delete the video. Try again.")}},ie=Z=>new Date(Z).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"});return f.jsx("section",{id:"messages",className:"border-y border-border bg-card",children:f.jsxs("div",{className:"mx-auto max-w-6xl px-5 py-24 md:px-8 md:py-32",children:[f.jsx(fe,{children:f.jsxs("div",{className:"flex flex-wrap items-end justify-between gap-6",children:[f.jsxs("div",{children:[f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx("p",{className:"font-script text-2xl text-primary",children:"Straight from QueenE"}),f.jsx(nn,{id:"messages",className:"ml-auto"})]}),f.jsx("h2",{className:"font-display mt-2 text-4xl font-bold leading-tight md:text-5xl",children:"Video Messages"}),f.jsx("p",{className:"mt-4 max-w-md leading-relaxed text-muted-foreground",children:"Personal notes, shout-outs, and behind-the-music moments — recorded on the go and shared straight from QueenE’s phone."})]}),r&&f.jsxs("button",{type:"button",onClick:ve,className:"inline-flex min-h-[44px] items-center gap-2 rounded-md bg-primary px-5 text-sm font-semibold text-primary-foreground transition-transform hover:-translate-y-
10px active:scale-[0.98]",children:[f.jsx(Xt,{className:"h-4 w-4","aria-hidden":"true"}),V?"Close uploader":"Upload an MP4"]})]})}),r&&V&&f.jsx(fe,{delay:.05,children:f.jsxs("form",{onSubmit:ne,className:"mt-8 rounded-md border border-border bg-background p-6 md:p-8",children:[f.jsxs("h3",{className:"font-display flex items-center gap-2 text-xl font-bold",children:[f.jsx(Fn,{className:"h-5 w-5 text-primary","aria-hidden":"true"}),"Add a new video message"]}),f.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:"Record a message on your phone and upload the MP4 here — it appears instantly below."}),f.jsxs("div",{className:"mt-6 grid gap-5",children:[f.jsxs("div",{className:"flex flex-col gap-2",children:[f.jsx("label",{htmlFor:"vm-title",className:"text-sm font-medium",children:"Title"}),f.jsx("input",{id:"vm-title",value:g,onChange:Z=>y(Z.target.value),placeholder:"A note to my fans…",className:"min-h-[44px] w-full rounded-md border border-input bg-background px-4 text-sm text-foreground placeholder:text-muted-foreground focus:border-primary focus:outline-none focus:ring-1 focus:ring-primary",maxLength:200})]}),f.jsxs("div",{className:"flex flex-col gap-2",children:[f.jsxs("label",{htmlFor:"vm-desc",className:"text-sm font-medium",children:["Caption ",f.jsx("span",{className:"text-muted-foreground",children:"(optional)"})]}),f.jsx("textarea",{id:"vm-desc",rows:3,value:v,onChange:Z=>w(Z.target.value),placeholder:"What's this message about?",className:"w-full rounded-md border border-input bg-background px-4 py-3 text-sm text-foreground placeholder:text-muted-foreground focus:border-primary focus:outline-none focus:ring-1 focus:ring-primary",maxLength:1e3})]}),f.jsxs("div",{className:"flex flex-col gap-2",children:[f.jsx("label",{htmlFor:"vm-file",className:"text-sm font-medium",children:"MP4 video from your phone"}),f.jsx("label",{htmlFor:"vm-file",className:"flex min-h-[120px] cursor-pointer flex-col items-center justify-center gap-2 rounded-md border-2 border-dashed border-border bg-background px-4 text-center transition-colors hover:border-primary",children:k?f.jsxs(f.Fragment,{children:[f.jsx($r,{className:"h-6 w-6 text-primary","aria-hidden":"true"}),f.jsx("span",{className:"text-sm font-medium text-foreground",children:k.name}),f.jsxs("span",{className:"text-xs text-muted-foreground",children:[(k.size/1048576).toFixed(1)," MB — tap to choose a different file"]})]}):f.jsxs(f.Fragment,{children:[f.jsx(Fn,{className:"h-6 w-6 text-muted-foreground","aria-hidden":"true"}),f.jsx("span",{className:"text-sm font-medium",children:"Tap to record or pick a video"}),f.jsx("span",{className:"text-xs text-muted-foreground",children:"MP4, MOV, or WebM — up to 200MB"})]})}),f.jsx("input",{id:"vm-file",type:"file",accept:"video/mp4,video/*",onChange:K,className:"sr-only"})]}),R&&f.jsx("p",{className:"rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive-foreground",children:R}),_&&f.jsx("p",{className:"rounded-md border border-primary/40 bg-primary/10 px-3 py-2 text-sm text-primary",children:_}),f.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[f.jsx("button",{type:"submit",disabled:E,className:"inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md bg-primary px-6 font-semibold text-primary-foreground transition-transform hover:-translate-y-px active:scale-[0.98] disabled:opacity-60",children:E?f.jsxs(f.Fragment,{children:[f.jsx(Wr,{className:"h-4 w-4 animate-spin","aria-hidden":"true"}),"Uploading…"]}):f.jsxs(f.Fragment,{children:[f.jsx(Fn,{className:"h-4 w-4","aria-hidden":"true"}),"Publish video message"]})}),f.jsx("button",{type:"button",onClick:()=>W(!1),className:"inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md border border-border px-6 font-semibold text-foreground transition-colors hover:border-primary hover:text-primary active:scale-[0.98]",children:"Cancel"})]})]})]})}),u?f.jsx("div",{className:"mt-12 grid gap-5 sm:grid-cols-2 lg:grid-cols-3",children:[0,1,2].map(Z=>f.jsx("div",{className:"aspect-video w-full animate-pulse rounded-md border border-border bg-muted/40"},Z))}):h?f.jsxs("div",{className:"mt-12 flex flex-col items-center gap-3 rounded-md border border-dashed border-border bg-background px-6 py-12 text-center",children:[f.jsx(Xt,{className:"h-8 w-8 text-muted-foreground","aria-hidden":"true"}),f.jsx("p",{className:"text-sm text-muted-foreground",children:"Video messages couldn’t load right now. Please check back shortly."})]}):o.length===0?f.jsxs("div",{className:"mx-auto mt-12 flex w-full max-w-md flex-col items-center gap-3 rounded-md border border-dashed border-border bg-background px-6 py-12 text-center",children:[f.jsx("span",{className:"flex h-14 w-14 items-center justify-center rounded-full border border-border bg-card text-primary",children:f.jsx(Xt,{className:"h-7 w-7","aria-hidden":"true"})}),f.jsx("p",{className:"font-display text-lg font-semibold",children:"No messages yet"}),f.jsx("p",{className:"max-w-sm text-sm text-muted-foreground",children:"QueenE will post personal video messages here soon — check back for the latest."}),r&&f.jsxs("button",{type:"button",onClick:ve,className:"mt-2 inline-flex min-h-[44px] items-center gap-2 rounded-md bg-primary px-5 text-sm font-semibold text-primary-foreground transition-transform hover:-translate-y-
10px active:scale-[0.98]",children:[f.jsx(Xt,{className:"h-4 w-4","aria-hidden":"true"}),"Upload an MP4"]})]}):f.jsx("div",{className:"mt-12 grid gap-5 sm:grid-cols-2 lg:grid-cols-3",children:o.map((Z,ce)=>{const Le=ye.files.getURL(Z,Z.video);return f.jsx(fe,{delay:ce*.06,children:f.jsxs("figure",{className:"overflow-hidden rounded-md border border-border bg-background shadow-[0_18px_40px_-24px_hsl(0_0%_0%/0.7)]",children:[f.jsx("video",{src:Le,controls:!0,playsInline:!0,preload:"metadata",poster:Vn.live,className:"aspect-video w-full bg-background"}),f.jsxs("figcaption",{className:"p-4",children:[ce===0&&f.jsxs("span",{className:"mb-2 inline-flex items-center gap-1.5 rounded-full border border-primary/40 bg-primary/10 px-2.5 py-1 text-[10px] font-semibold uppercase tracking-[0.18em] text-primary",children:[f.jsx(Vo,{className:"h-3 w-3","aria-hidden":"true"}),"Latest from QueenE"]}),f.jsxs("div",{className:"flex items-start justify-between gap-3",children:[f.jsxs("div",{className:"min-w-0",children:[f.jsx("p",{className:"font-display text-base font-bold leading-snug",children:Z.title}),Z.description&&f.jsx("p",{className:"mt-1 text-sm leading-relaxed text-muted-foreground",children:Z.description}),f.jsx("p",{className:"mt-3 text-xs uppercase tracking-[0.15em] text-muted-foreground",children:ie(Z.created)})]}),r&&Z.owner===t?.id&&f.jsx("button",{type:"button",onClick:()=>Ee(Z.id),"aria-label":`Delete ${Z.title}`,className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-md border border-border text-muted-foreground transition-colors hover:border-destructive hover:text-destructive",children:f.jsx(Uo,{className:"h-4 w-4","aria-hidden":"true"})})]})]})]})},Z.id)})})]})})}function nC(){return f.jsx("section",{id:"hosting",className:"mx-auto max-w-6xl px-5 py-24 md:px-8 md:py-32",children:f.jsxs("div",{className:"grid items-start gap-12 lg:grid-cols-[1.1fr_0.9fr]",children:[f.jsxs("div",{children:[f.jsxs(fe,{children:[f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx("p",{className:"font-script text-2xl text-primary",children:"Host With the Most"}),f.jsx(nn,{id:"hosting",className:"ml-auto"})]}),f.jsx("h2",{className:"font-display mt-2 text-4xl font-bold leading-tight md:text-5xl",children:"Your event, Your Host QueenE energizes and motivates"}),f.jsx("p",{className:"mt-6 max-w-lg leading-relaxed text-muted-foreground",children:"A great host reads the room like a setlist. QueenE keeps timelines tight, energy high, and every guest feeling like the guest of honor — with a live song or two when the moment calls for it."})]}),f.jsx(fe,{delay:.15,children:f.jsx("ul",{className:"mt-10 divide-y divide-border border-t border-b border-border",children:GT.map(r=>f.jsxs("li",{className:"py-6",children:[f.jsxs("div",{className:"flex items-baseline gap-3",children:[f.jsx("h3",{className:"font-display text-xl font-bold",children:r.name}),f.jsx("span",{className:"mx-1 flex-1 border-b border-dotted border-muted-foreground/50","aria-hidden":"true"}),f.jsx("span",{className:"font-display whitespace-nowrap text-lg font-semibold text-primary",children:r.price})]}),f.jsx("p",{className:"mt-2 max-w-md text-sm leading-relaxed text-muted-foreground",children:r.detail})]},r.name))})}),f.jsx(fe,{delay:.25,children:f.jsxs("a",{href:"#booking",className:"mt-8 inline-flex min-h-[44px] items-center gap-2 rounded-md bg-primary px-6 font-semibold text-primary-foreground transition-transform hover:-translate-y-px active:scale-[0.98]",children:["Check Your Date",f.jsx($1,{className:"h-4 w-4","aria-hidden":"true"})]})})]}),f.jsx(fe,{delay:.1,className:"lg:sticky lg:top-24",children:f.jsxs("div",{className:"relative",children:[f.jsx("div",{className:"absolute -right-4 -top-4 h-full w-full rounded-md border border-primary/40","aria-hidden":"true"}),f.jsx("img",{src:Vn.hosting,alt:"QueenE hosting a gala in a gold gown, microphone in hand",className:"relative aspect-[3/2] w-full rounded-md object-cover",loading:"lazy"}),f.jsx("p",{className:"mt-3 text-xs uppercase tracking-[0.2em] text-muted-foreground",children:"Hosting for ladies night"})]})})]})})}function rC(){return f.jsx("section",{id:"gallery",className:"border-y border-border bg-card",children:f.jsxs("div",{className:"mx-auto max-w-6xl px-5 py-24 md:px-8 md:py-32",children:[f.jsx(fe,{children:f.jsxs("div",{className:"flex flex-wrap items-end justify-between gap-6",children:[f.jsxs("div",{children:[f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx("p",{className:"font-script text-2xl text-primary",children:"From the Stage"}),f.jsx(nn,{id:"gallery",className:"ml-auto"})]}),f.jsx("h2",{className:"font-display mt-2 text-4xl font-bold leading-tight md:text-5xl",children:"Flashback Nights worth remembering"})]}),f.jsx("p",{className:"max-w-sm text-sm leading-relaxed text-muted-foreground",children:"Clubs, Day Party, Birthday, Festivals, Galas, and backyard soul sessions — every room gets the same golden treatment."})]})}),f.jsxs("div",{className:"mt-12 grid gap-5 md:grid-cols-3",children:[f.jsx(fe,{className:"md:col-span-2",children:f.jsx("img",{src:Vn.live,alt:"QueenE performing live with her band under amber stage lights",className:"aspect-[3/2] h-full w-full rounded-md object-cover",loading:"lazy"})}),f.jsx(fe,{delay:.1,children:f.jsx("img",{src:Vn.portrait,alt:"Portrait of QueenE with her vintage microphone",className:"aspect-[3/2] h-full w-full rounded-md object-cover object-top md:aspect-auto",loading:"lazy"})}),f.jsx(fe,{delay:.05,children:f.jsx("img",{src:Vn.studio,alt:"QueenE singing into a studio condenser microphone",className:"aspect-[3/2] h-full w-full rounded-md object-cover",loading:"lazy"})}),f.jsx(fe,{delay:.1,className:"md:col-span-2",children:f.jsx("img",{src:Vn.
10crowd,alt:"Festival crowd with hands raised at golden hour",className:"aspect-[16/9] h-full w-full rounded-md object-cover md:aspect-auto",loading:"lazy"})})]})]})})}function sC(){const[r,t]=b.useState(!1),[s,o]=b.useState({name:"",email:"",comment:""}),[a,u]=b.useState(!1),[c,h]=b.useState(""),[p,g]=b.useState(!1),y=k=>C=>o(E=>({...E,[k]:C.target.value})),v=async k=>{if(k.preventDefault(),!s.name.trim()||!s.email.trim()||!s.comment.trim()){h("Please add your name, email, and comment to continue.");return}u(!0),h("");try{await ye.collection("contact_messages").create({name:s.name.trim(),email:s.email.trim(),event_date:"Podcast Comment",event_type:"Podcast Comment ($2)",message:s.comment.trim()});const C=`${window.location.origin}/?checkout=success#podcast`,E=`${window.location.origin}/?checkout=cancel#podcast`,{url:j}=await FT({items:[{variant_id:VT,quantity:1}],successUrl:C,cancelUrl:E});g(!0),window.location.href=j}catch{h("Sorry, we could not start your $2 payment right now. Please try again.")}finally{u(!1)}},w="min-h-[44px] w-full rounded-md border border-input bg-background px-4 text-sm text-foreground placeholder:text-muted-foreground focus:border-primary focus:outline-none focus:ring-1 focus:ring-primary";return f.jsx("section",{id:"podcast",className:"border-y border-border bg-secondary",children:f.jsxs("div",{className:"mx-auto grid max-w-6xl items-center gap-12 px-5 py-24 md:px-8 md:py-32 lg:grid-cols-[0.9fr_1.1fr]",children:[f.jsx(fe,{children:f.jsxs("div",{className:"relative",children:[f.jsx("div",{className:"absolute -bottom-4 -left-4 h-full w-full rounded-md border border-primary/40","aria-hidden":"true"}),f.jsx("img",{src:"https://horizons-cdn.hostinger.com/caa42db9-98e3-46a0-a799-fcbfe0e33525/cover-4-1600-AtXz7.png",alt:"Oldskool QueenE recording a couples podcast in her studio",className:"relative aspect-[4/3] w-full rounded-md object-cover",loading:"lazy"}),f.jsxs("div",{className:"absolute -right-3 -top-5 flex rotate-3 items-center gap-2 rounded-md bg-primary px-4 py-2 font-display text-sm font-bold text-primary-foreground shadow-lg",children:[f.jsx(mg,{className:"h-4 w-4","aria-hidden":"true"}),"Old School To New School"]})]})}),f.jsxs("div",{children:[f.jsxs(fe,{children:[f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx("p",{className:"font-script text-2xl text-primary",children:"The Couples Podcast"}),f.jsx(nn,{id:"podcast",className:"ml-auto"})]}),f.jsx("h2",{className:"font-display mt-2 text-4xl font-bold leading-tight text-secondary-foreground md:text-5xl",children:"Oldskool QueenE’s Couples Podcast !  "}),f.jsx("p",{className:"mt-6 max-w-xl text-lg leading-relaxed text-secondary-foreground/80",children:"Real stories, honest conversations, and a little old skool soul for the way we love now."})]}),f.jsx(fe,{delay:.1,children:f.jsxs("div",{className:"mt-8 divide-y divide-secondary-foreground/20 border-y border-secondary-foreground/20",children:[f.jsxs("p",{className:"py-4 text-sm leading-relaxed text-secondary-foreground/80",children:[f.jsx("span",{className:"font-semibold text-secondary-foreground",children:"Share your story."})," Couples open up about the moments that shaped their relationship."]}),f.jsxs("p",{className:"py-4 text-sm leading-relaxed text-secondary-foreground/80",children:[f.jsx("span",{className:"font-semibold text-secondary-foreground",children:"Spark real conversation."})," QueenE brings warmth, curiosity, and the questions that matter."]}),f.jsxs("p",{className:"py-4 text-sm leading-relaxed text-secondary-foreground/80",children:[f.jsx("span",{className:"font-semibold text-secondary-foreground",children:"Join the conversation."})," Tell us about your dating or relationship story for a future episode."]})]})}),f.jsx(fe,{delay:.2,children:f.jsxs("div",{className:"mt-8 flex flex-wrap items-center gap-3",children:[f.jsxs("a",{href:"https://oldskoolqueenescouplespo.podview.com",target:"_blank",rel:"noopener noreferrer",className:"inline-flex min-h-[44px] items-center gap-2 rounded-md bg-primary px-6 font-semibold text-primary-foreground transition-transform hover:-translate-y-
10px active:scale-[0.98]",children:["JOIN THE FAN CLUB",f.jsx(Fo,{className:"h-4 w-4","aria-hidden":"true"})]}),f.jsxs("button",{type:"button",onClick:()=>t(k=>!k),className:"inline-flex min-h-[44px] items-center gap-2 rounded-md border border-secondary-foreground/40 px-6 font-semibold text-secondary-foreground transition-colors hover:border-primary hover:text-primary active:scale-[0.98]",children:["Add Your $2 Podcast Comments",f.jsx(z1,{className:"h-4 w-4","aria-hidden":"true"})]})]})}),r&&f.jsx(fe,{delay:.05,children:f.jsxs("form",{onSubmit:v,className:"mt-6 rounded-md border border-border bg-card p-6 md:p-8",children:[f.jsx("h3",{className:"font-display text-xl font-bold",children:"Add Your $2 Podcast Comment"}),f.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:"Share your dating or relationship story for a future episode. Your $2 submission helps keep the podcast going and gets your comment in front of QueenE."}),f.jsxs("div",{className:"mt-5 grid gap-5 sm:grid-cols-2",children:[f.jsxs("div",{className:"flex flex-col gap-2",children:[f.jsx("label",{htmlFor:"pc-name",className:"text-sm font-medium",children:"Your name"}),f.jsx("input",{id:"pc-name",value:s.name,onChange:y("name"),placeholder:"Your name",className:w,maxLength:120})]}),f.jsxs("div",{className:"flex flex-col gap-2",children:[f.jsx("label",{htmlFor:"pc-email",className:"text-sm font-medium",children:"Email"}),f.jsx("input",{id:"pc-email",type:"email",value:s.email,onChange:y("email"),placeholder:"[email protected]",className:w,maxLength:160})]}),f.jsxs("div",{className:"flex flex-col gap-2 sm:col-span-2",children:[f.jsx("label",{htmlFor:"pc-comment",className:"text-sm font-medium",children:"Your podcast comment"}),f.jsx("textarea",{id:"pc-comment",rows:4,value:s.comment,onChange:y("comment"),placeholder:"Tell QueenE your dating or relationship story…",className:"w-full rounded-md border border-input bg-background px-4 py-3 text-sm text-foreground placeholder:text-muted-foreground focus:border-primary focus:outline-none focus:ring-1 focus:ring-primary",maxLength:2e3})]})]}),c&&f.jsx("p",{className:"mt-4 rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive-foreground",children:c}),p&&f.jsx("p",{className:"mt-4 rounded-md border border-primary/40 bg-primary/10 px-3 py-2 text-sm text-primary",children:"Comment received — redirecting to secure $2 payment…"}),f.jsx("button",{type:"submit",disabled:a,className:"mt-6 inline-flex min-h-[44px] w-full items-center justify-center gap-2 rounded-md bg-primary px-6 font-semibold text-primary-foreground transition-transform hover:-translate-y-px active:scale-[0.98] disabled:opacity-60",children:a?f.jsxs(f.Fragment,{children:[f.jsx(Wr,{className:"h-4 w-4 animate-spin","aria-hidden":"true"})," Starting payment…"]}):f.jsxs(f.Fragment,{children:[f.jsx(fc,{className:"h-4 w-4","aria-hidden":"true"})," Pay $2 & Post Comment"]})}),f.jsx("p",{className:"mt-3 text-center text-xs text-muted-foreground",children:"Secure checkout · $2.00 · Your comment is sent to QueenE after payment."}),f.jsxs("a",{href:"https://www.paypal.com/ncp/payment/SLP37C9HDCWQE",target:"_blank",rel:"noopener noreferrer",className:"mt-4 inline-flex min-h-[44px] w-full items-center justify-center gap-2 rounded-md border border-border px-6 text-sm font-semibold text-foreground transition-colors hover:border-primary hover:text-primary active:scale-[0.98]",children:["Open PayPal payment portal",f.jsx(Fo,{className:"h-4 w-4","aria-hidden":"true"})]})]})})]})]})})}function iC(){return f.jsx("section",{id:"links",className:"border-y border-border bg-card",children:f.jsxs("div",{className:"mx-auto grid max-w-6xl gap-12 px-5 py-24 md:px-8 md:py-32 lg:grid-cols-[0.8fr_1.2fr]",children:[f.jsxs(fe,{children:[f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx("p",{className:"font-script text-2xl text-primary",children:"Stay connected"}),f.jsx(nn,{id:"links",className:"ml-auto"})]}),f.jsx("h2",{className:"font-display mt-2 text-4xl font-bold leading-tight md:text-5xl",children:"Every QueenE link, in one place."}),f.jsx("p",{className:"mt-6 max-w-md leading-relaxed text-muted-foreground",children:"Follow the music, podcast, live moments, and conversations wherever you like to listen. The full link hub is always waiting on Linktree."}),f.jsxs("a",{href:oa,target:"_blank",rel:"noopener noreferrer",className:"mt-8 inl
10ine-flex min-h-[44px] items-center gap-2 rounded-md bg-primary px-6 font-semibold text-primary-foreground transition-transform hover:-translate-y-px active:scale-[0.98]",children:["Open QueenE’s Linktree",f.jsx(Fo,{className:"h-4 w-4","aria-hidden":"true"})]})]}),f.jsx(fe,{delay:.1,children:f.jsx("div",{className:"divide-y divide-border border-y border-border",children:BT.map(r=>f.jsxs("a",{href:r.href,target:"_blank",rel:"noopener noreferrer",className:"group flex min-h-[76px] items-center gap-5 py-4 transition-colors hover:bg-muted/40",children:[f.jsxs("span",{className:"min-w-0 flex-1",children:[f.jsx("span",{className:"font-display block text-lg font-semibold transition-colors group-hover:text-primary",children:r.label}),f.jsx("span",{className:"mt-1 block text-sm text-muted-foreground",children:r.detail})]}),f.jsx(Fo,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-colors group-hover:text-primary","aria-hidden":"true"})]},r.label))})})]})})}function Mm({fd:r,recordId:t,onProgress:s}){return new Promise((o,a)=>{const u=new XMLHttpRequest,c=(ye.baseUrl||"").replace(/\/$/,""),h=t?`${c}/api/collections/skate_moments/records/${t}`:`${c}/api/collections/skate_moments/records`;u.open(t?"PATCH":"POST",h,!0);const p=ye.authStore.token;p&&u.setRequestHeader("Authorization",p),u.upload.onprogress=g=>{g.lengthComputable&&typeof s=="function"&&s(Math.min(99,Math.round(g.loaded/g.total*100)))},u.onload=()=>{let g={};try{g=JSON.parse(u.responseText)}catch{}u.status>=200&&u.status<300?(typeof s=="function"&&s(100),o(g)):a({status:u.status,...g})},u.onerror=()=>a({status:0,message:"Network error during upload."}),u.send(r)})}function oC(){const{isAuthed:r,user:t}=Zr(),[s,o]=b.useState([]),[a,u]=b.useState(!0),[c,h]=b.useState(!1),[p,g]=b.useState(!1),[y,v]=b.useState(null),[w,k]=b.useState(""),[C,E]=b.useState(""),[j,R]=b.useState(null),[M,_]=b.useState(null),[B,V]=b.useState(!1),[W,ee]=b.useState(!1),[K,ne]=b.useState(0),[ve,Ee]=b.useState(""),[ie,le]=b.useState(""),[Z,ce]=b.useState(""),Le=b.useRef(null),pe=async()=>{try{const z=await ye.collection("skate_moments").getFullList({sort:"-created"});o(z),h(!1)}catch(z){console.error("load rollerskate media failed",z),h(!0)}finally{u(!1)}};b.useEffect(()=>{pe()},[]);const H=z=>{const ae=z.target.files?.[0];if(z.target.value="",ae){const We=Om(ae);if(We){le(We);return}R(ae),Ee(URL.createObjectURL(ae)),le("")}},te=z=>{const ae=z.target.files?.[0];ae&&(_(ae),le("")),z.target.value=""},q=z=>{le(""),ce(""),z?(v(z),k(z.title||""),E(z.caption||""),V(!!z.published),Ee(z.video?ye.files.getURL(z,z.video):"")):(v(null),k(""),E(""),V(!1),Ee("")),R(null),_(null),g(!0)},P=()=>Le.current?.click(),D=z=>{const ae=z.target.files?.[0];if(z.target.value="",!ae)return;q(null);const We=Om(ae);if(We){le(We);return}R(ae),Ee(URL.createObjectURL(ae))},he=()=>{g(!1),v(null),k(""),E(""),R(null),Ee(""),_(null),V(!1),ne(0),le(""),ce("")},me=async z=>{if(z.preventDefault(),!w.trim()){le("Please add a short title for this skate moment.");return}if(!y&&!j){le("Please choose an MP4 video to upload.");return}ee(!0),ne(0),le(""),ce("");try{const ae=new FormData;if(ae.append("title",w.trim()),ae.append("caption",C.trim()),ae.append("published",B?"true":"false"),j&&ae.append("video",j),M&&ae.append("thumbnail",M),y){const We=await Mm({fd:ae,recordId:y.id,onProgress:ne});o(Ot=>Ot.map(Wt=>Wt.id===y.id?We:Wt)),ce("Skate moment updated — visitors see the change immediately.")}else{ae.append("owner",t.id);const We=await Mm({fd:ae,recordId:null,onProgress:ne});o(Ot=>[We,...Ot]),ce("Skate moment saved! Publish it to make it visible to visitors.")}g(!1),v(null),k(""),E(""),R(null),_(null),V(!1)}catch(ae){console.error("skate moment save failed",ae),le(ae?.status===403?"Only the site owner can manage skate moments.":"Sorry, the skate moment could not be saved right now. Please try again.")}finally{ee(!1),ne(0)}},xe=async z=>{try{const ae=await ye.collection("skate_moments").update(z.id,{published:!z.published},{requestKey:`toggle-skate-${z.id}`});o(We=>We.map(Ot=>Ot.id===z.id?ae:Ot))}catch(ae){console.error("toggle skate moment failed",ae)}},we=async z=>{if(window.confirm("Delete this skate moment? This cannot be undone."))try{await ye.collection("skate_moments").delete(z,{requestKey:`del-skate-${z}`}),o(ae=>ae.filter(We=>We.id!==z))}catch(ae){console.error("delete skate moment failed",ae)}},Ce=z=>new Date(z).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"});return f.jsxs("section",{id:"rollerskate",className:"border-y border-border bg-card",children:[r&&f.jsx("input",{ref:Le,type:"file",accept:Lm,onChange:D,className:"sr-only","aria-label":"Choose a skate video"}),f.jsxs("div",{className:"mx-auto max-w-6xl px-5 py-24 md:px-8 md:py-32",children:[f.jsx(fe,{children:f.jsxs("div",{className:"flex flex-wrap items-end justify-between gap-6",children:[f.jsxs("div",{children:[f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx("p",{className:"font-script text-2xl text-primary",children:"QueenE Loves Rollerskate"}),f.jsx(nn,{id:"rollerskate",className:"ml-auto"})]}),f.jsx("h2",{className:"font-display mt-2 text-4xl font-bold leading-tight md:text-5xl",children:"Rollerskate Moments"}),f.jsx("p",{className:"mt-4 max-w-md leading-relaxed text-muted-foreground",children:"From the rink to the Day Party — QueenE’s favorite rollerskate pictures and videos, shared straight from her skates to you and Skate Clubs."})]}),r&&f.jsxs("button",{type:"button",onClick:P,className:"inline-flex min-h-[44px] items-center gap-2 rounded-md bg-primary px-5 text-sm font-semibold text-primary-foreground transition-transform hover:-translate-y-
10px active:scale-[0.98]",children:[f.jsx(Xt,{className:"h-4 w-4","aria-hidden":"true"}),"Upload Video"]})]})}),r&&p&&f.jsx(fe,{delay:.05,children:f.jsxs("form",{onSubmit:me,className:"mt-8 rounded-md border border-border bg-background p-6 md:p-8",children:[f.jsxs("h3",{className:"font-display flex items-center gap-2 text-xl font-bold",children:[f.jsx(Fn,{className:"h-5 w-5 text-primary","aria-hidden":"true"}),y?"Edit skate moment":"Add a new skate moment"]}),f.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:"Upload an MP4 clip (and an optional thumbnail) — it appears in the section below. Unpublished moments stay hidden from visitors."}),f.jsxs("div",{className:"mt-6 grid gap-5",children:[f.jsxs("div",{className:"flex flex-col gap-2",children:[f.jsx("label",{htmlFor:"sm-title",className:"text-sm font-medium",children:"Title"}),f.jsx("input",{id:"sm-title",value:w,onChange:z=>k(z.target.value),placeholder:"Rink night in DC…",className:"min-h-[44px] w-full rounded-md border border-input bg-background px-4 text-sm text-foreground placeholder:text-muted-foreground focus:border-primary focus:outline-none focus:ring-1 focus:ring-primary",maxLength:200})]}),f.jsxs("div",{className:"flex flex-col gap-2",children:[f.jsxs("label",{htmlFor:"sm-caption",className:"text-sm font-medium",children:["Caption ",f.jsx("span",{className:"text-muted-foreground",children:"(optional)"})]}),f.jsx("textarea",{id:"sm-caption",rows:3,value:C,onChange:z=>E(z.target.value),placeholder:"What's happening in this moment?",className:"w-full rounded-md border border-input bg-background px-4 py-3 text-sm text-foreground placeholder:text-muted-foreground focus:border-primary focus:outline-none focus:ring-1 focus:ring-primary",maxLength:1e3})]}),f.jsxs("div",{className:"flex flex-col gap-2",children:[f.jsxs("label",{htmlFor:"sm-file",className:"text-sm font-medium",children:["MP4 video from your phone ",y&&f.jsx("span",{className:"text-muted-foreground",children:"(leave empty to keep current)"})]}),f.jsx("label",{htmlFor:"sm-file",className:"flex min-h-[120px] cursor-pointer flex-col items-center justify-center gap-2 rounded-md border-2 border-dashed border-border bg-background px-4 text-center transition-colors hover:border-primary",children:j?f.jsxs(f.Fragment,{children:[f.jsx($r,{className:"h-6 w-6 text-primary","aria-hidden":"true"}),f.jsx("span",{className:"text-sm font-medium text-foreground",children:j.name}),f.jsxs("span",{className:"text-xs text-muted-foreground",children:[(j.size/1048576).toFixed(1)," MB — tap to choose a different file"]})]}):f.jsxs(f.Fragment,{children:[f.jsx(Fn,{className:"h-6 w-6 text-muted-foreground","aria-hidden":"true"}),f.jsx("span",{className:"text-sm font-medium",children:"Tap to record or pick a video"}),f.jsx("span",{className:"text-xs text-muted-foreground",children:"MP4, MOV, or WebM — up to 200MB"})]})}),f.jsx("input",{id:"sm-file",type:"file",accept:Lm,onChange:H,className:"sr-only"}),j&&ve&&f.jsx("video",{src:ve,controls:!0,playsInline:!0,preload:"metadata",className:"aspect-video w-full rounded-md border border-border bg-background"})]}),f.jsxs("div",{className:"flex flex-col gap-2",children:[f.jsxs("span",{className:"text-sm font-medium",children:["Thumbnail image ",f.jsx("span",{className:"text-muted-foreground",children:"(optional)"})]}),M?f.jsxs("div",{className:"flex items-center justify-between gap-3 rounded-md border border-primary/40 bg-primary/5 px-4 py-3",children:[f.jsxs("span",{className:"flex min-w-0 items-center gap-2 text-sm font-medium text-foreground",children:[f.jsx($r,{className:"h-5 w-5 shrink-0 text-primary","aria-hidden":"true"}),f.jsx("span",{className:"truncate",children:M.name}),f.jsxs("span",{className:"shrink-0 text-xs text-muted-foreground",children:[(M.size/1048576).toFixed(1)," MB"]})]}),f.jsx("button",{type:"button",onClick:()=>_(null),"aria-label":"Remove selected thumbnail",className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-md border border-border text-muted-foreground transition-colors hover:border-destructive hover:text-destructive",children:f.jsx(Uo,{className:"h-4 w-4","aria-hidden":"true"})})]}):f.jsxs("div",{className:"grid gap-3 sm:grid-cols-2",children:[f.jsxs("label",{htmlFor:"sm-capture-thumb",className:"flex min-h-[88px] curs
10or-pointer flex-col items-center justify-center gap-1.5 rounded-md border-2 border-dashed border-border bg-background px-4 text-center transition-colors hover:border-primary",children:[f.jsx(pg,{className:"h-6 w-6 text-muted-foreground","aria-hidden":"true"}),f.jsx("span",{className:"text-sm font-medium",children:"Take a photo"}),f.jsx("span",{className:"text-xs text-muted-foreground",children:"Uses your phone camera"})]}),f.jsx("input",{id:"sm-capture-thumb",type:"file",accept:"image/*",capture:"environment",onChange:te,className:"sr-only"}),f.jsxs("label",{htmlFor:"sm-pick-thumb",className:"flex min-h-[88px] cursor-pointer flex-col items-center justify-center gap-1.5 rounded-md border-2 border-dashed border-border bg-background px-4 text-center transition-colors hover:border-primary",children:[f.jsx(G1,{className:"h-6 w-6 text-muted-foreground","aria-hidden":"true"}),f.jsx("span",{className:"text-sm font-medium",children:"Pick from gallery"}),f.jsx("span",{className:"text-xs text-muted-foreground",children:"JPG, PNG, or WebP — up to 20MB"})]}),f.jsx("input",{id:"sm-pick-thumb",type:"file",accept:"image/jpeg,image/png,image/webp,image/gif",onChange:te,className:"sr-only"})]})]}),f.jsxs("label",{htmlFor:"sm-published",className:"flex cursor-pointer items-center gap-3 rounded-md border border-border bg-card px-4 py-3",children:[f.jsx("input",{id:"sm-published",type:"checkbox",checked:B,onChange:z=>V(z.target.checked),className:"h-5 w-5 rounded border-border accent-primary"}),f.jsxs("span",{className:"text-sm",children:[f.jsx("span",{className:"font-medium",children:"Publish immediately"}),f.jsx("span",{className:"block text-xs text-muted-foreground",children:"When off, the moment stays a draft only you can see."})]})]}),ie&&f.jsx("p",{className:"rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive-foreground",children:ie}),Z&&f.jsx("p",{className:"rounded-md border border-primary/40 bg-primary/10 px-3 py-2 text-sm text-primary",children:Z}),W&&f.jsxs("div",{className:"space-y-1.5",children:[f.jsxs("div",{className:"flex items-center justify-between text-xs text-muted-foreground",children:[f.jsx("span",{children:"Uploading video…"}),f.jsxs("span",{children:[K,"%"]})]}),f.jsx("div",{className:"h-2 w-full overflow-hidden rounded-full bg-muted",children:f.jsx("div",{className:"h-full rounded-full bg-primary transition-all duration-200",style:{width:`${K}%`}})})]}),f.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[f.jsx("button",{type:"submit",disabled:W,className:"inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md bg-primary px-6 font-semibold text-primary-foreground transition-transform hover:-translate-y-px active:scale-[0.98] disabled:opacity-60",children:W?f.jsxs(f.Fragment,{children:[f.jsx(Wr,{className:"h-4 w-4 animate-spin","aria-hidden":"true"}),"Uploading…"]}):f.jsxs(f.Fragment,{children:[f.jsx(Fn,{className:"h-4 w-4","aria-hidden":"true"}),y?"Save changes":"Save skate moment"]})}),f.jsx("button",{type:"button",onClick:he,className:"inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md border border-border px-6 font-semibold text-foreground transition-colors hover:border-primary hover:text-primary active:scale-[0.98]",children:"Cancel"})]})]})]})}),f.jsx(fe,{delay:.05,children:f.jsx("div",{className:"mt-12 grid gap-5 md:grid-cols-2",children:f.jsxs("figure",{className:"overflow-hidden rounded-md border border-border bg-background shadow-[0_18px_40px_-24px_hsl(0_0%_0%/0.7)]",children:[f.jsxs("div",{className:"relative",children:[f.jsx("img",{src:UT,alt:"QueenE rollerskating at golden hour in her burgundy retro tracksuit",loading:"lazy",className:"aspect-[3/2] w-full object-cover"}),r&&f.jsxs("button",{type:"button",onClick:P,className:"absolute right-4 top-4 inline-flex min-h-[44px] items-center gap-2 rounded-md bg-primary px-4 text-sm font-semibold text-primary-foreground shadow-lg transition-transform hover:-translate-y-px active:scale-[0.98]",children:[f.jsx(Xt,{className:"h-4 w-4","aria-hidden":"true"}),"Upload Video"]})]}),f.jsxs("figcaption",{className:"p-5 md:p-6",children:[f.jsx("p",{className:"font-display text-lg font-bold",children:"QueenE Loves Rollerskate"}),f.jsx("p",{className:"mt-1 text-sm leading-relaxed text-muted-foreground",children:"Golden-hour laps at the outdoor rink — where the old skool groove keeps rolling in."})]})]})})}),a?f.jsx("div",{className:"mt-8 grid gap-5 sm:grid-cols-2 lg:grid-cols-3",children:[0,1,2].map(z=>f.jsx("div",{className:"aspect-video w-full animate-pulse rounded-md border border-border bg-muted/40"},z))}):c?f.jsxs("div",{className:"mt-8 flex flex-col items-center gap-3 rounded-md border border-dashed border-border bg-background px-6 py-12 text-center",children:[f.jsx(Xt,{className:"h-8 w-8 text-muted-foreground","aria-hidden":"true"}),f.jsx("p",{className:"text-sm text-muted-foreground",children:"Skate moments couldn’t load right now. Please check back shortly."})]}):s.length===0?f.jsxs("div",{className:"mx-auto mt-8 flex w-full max-w-md flex-col items-center gap-3 rounded-md border border-dashed border-border bg-background px-6 py-12 text-center",children:[f.jsx("span",{className:"flex h-14 w-14 items-center justify-center rounded-full border border-border bg-card text-primary",children:f.jsx(Vo,{className:"h-7 w-7","aria-hidden":"true"})}),f.jsx("p",{className:"font-display text-lg font-semibold",children:"More skate moments coming soon!"}),f.jsx("p",{className:"max-w-sm text-sm text-muted-foreground",children:"QueenE will share her favorite rollerskate videos here — check back for the latest."}),r&&f.jsxs("button",{type:"button",onClick:P,className:"mt-2 inline-flex min-h-[44px] items-center gap-2 rounded-md bg-primary px-5 text-sm font-semibold text-primary-foreground transition-transform hover:-translate-y-
10px active:scale-[0.98]",children:[f.jsx(Xt,{className:"h-4 w-4","aria-hidden":"true"}),"Upload Video"]})]}):f.jsx("div",{className:"mt-8 grid gap-5 sm:grid-cols-2 lg:grid-cols-3",children:s.map((z,ae)=>{const We=z.video?ye.files.getURL(z,z.video):"",Ot=z.thumbnail?ye.files.getURL(z,z.thumbnail):"",Wt=!z.published;return f.jsx(fe,{delay:ae*.06,children:f.jsxs("figure",{className:"overflow-hidden rounded-md border border-border bg-background shadow-[0_18px_40px_-24px_hsl(0_0%_0%/0.7)]",children:[f.jsx("video",{src:We,poster:Ot||void 0,controls:!0,playsInline:!0,preload:"metadata",className:"aspect-video w-full bg-background"}),f.jsxs("figcaption",{className:"p-4",children:[ae===0&&!Wt&&f.jsxs("span",{className:"mb-2 inline-flex items-center gap-1.5 rounded-full border border-primary/40 bg-primary/10 px-2.5 py-1 text-[10px] font-semibold uppercase tracking-[0.18em] text-primary",children:[f.jsx(Vo,{className:"h-3 w-3","aria-hidden":"true"}),"Latest from QueenE"]}),f.jsxs("div",{className:"flex items-start justify-between gap-3",children:[f.jsxs("div",{className:"min-w-0",children:[f.jsx("p",{className:"font-display text-base font-bold leading-snug",children:z.title}),z.caption&&f.jsx("p",{className:"mt-1 text-sm leading-relaxed text-muted-foreground",children:z.caption}),f.jsx("p",{className:"mt-3 text-xs uppercase tracking-[0.15em] text-muted-foreground",children:Ce(z.created)})]}),r&&z.owner===t?.id&&f.jsxs("div",{className:"flex shrink-0 items-center gap-2",children:[Wt&&f.jsx("span",{className:"rounded-full border border-border px-2 py-0.5 text-[10px] font-semibold uppercase tracking-[0.15em] text-muted-foreground",children:"Draft"}),f.jsx("button",{type:"button",onClick:()=>xe(z),"aria-label":z.published?"Unpublish moment":"Publish moment",title:z.published?"Unpublish":"Publish",className:"flex h-9 w-9 items-center justify-center rounded-md border border-border text-muted-foreground transition-colors hover:border-primary hover:text-primary",children:z.published?f.jsx($r,{className:"h-4 w-4","aria-hidden":"true"}):f.jsx(Fn,{className:"h-4 w-4","aria-hidden":"true"})}),f.jsx("button",{type:"button",onClick:()=>q(z),"aria-label":`Edit ${z.title}`,className:"flex h-9 w-9 items-center justify-center rounded-md border border-border text-muted-foreground transition-colors hover:border-primary hover:text-primary",children:f.jsx(tS,{className:"h-4 w-4","aria-hidden":"true"})}),f.jsx("button",{type:"button",onClick:()=>we(z.id),"aria-label":`Delete ${z.title}`,className:"flex h-9 w-9 items-center justify-center rounded-md border border-border text-muted-foreground transition-colors hover:border-destructive hover:text-destructive",children:f.jsx(Uo,{className:"h-4 w-4","aria-hidden":"true"})})]})]})]})]})},z.id)})})]})]})}function aC(){const[r,t]=b.useState({name:"",email:"",date:"",type:"Wedding / Reception",message:""}),[s,o]=b.useState(!1),[a,u]=b.useState(!1),[c,h]=b.useState(""),p=v=>w=>t(k=>({...k,[v]:w.target.value})),g=async v=>{v.preventDefault(),u(!0),h("");try{await ye.collection("contact_messages").create({name:r.name,email:r.email,event_date:r.date||"Flexible",event_type:r.type,message:r.message}),o(!0),t({name:"",email:"",date:"",type:"Wedding / Reception",message:""})}catch{h("Sorry, your message could not be sent right now. Please try again or email us directly.")}finally{u(!1)}},y="min-h-[44px] w-full rounded-md border border-input bg-background px-4 text-sm text-foreground placeholder:text-muted-foreground focus:border-primary focus:outline-none focus:ring-1 focus:ring-primary";return f.jsx("section",{id:"booking",className:"border-t border-border bg-secondary",children:f.jsxs("div",{className:"mx-auto grid max-w-6xl gap-12 px-5 py-24 md:px-8 md:py-32 lg:grid-cols-2",children:[f.jsxs(fe,{children:[f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx("p",{className:"font-script text-2xl text-primary",children:"Let’s Make It a Night"}),f.jsx(nn,{id:"booking",className:"ml-auto"})]}),f.jsx("h2",{className:"font-display mt-2 text-4xl font-bold leading-tight md:text-5xl",children:f.jsx("span",{style:{fontSize:"42px",lineHeight:"normal"},children:"Book QueenE or Leave Your Request/Podcast Comments"})}),f.jsx("p",{className:"mt-6 max-w-md leading-relaxed text-secondary-foreground
10/80",children:"Will Host at birthdays, galas, festivals, and full old skool theme Day Party and Ladies nights. Join the Fan Club to tell us about your dating issues for Podcast episodes. — QueenE’s team replies within two business days."}),f.jsxs("div",{className:"mt-10 space-y-4 text-sm",children:[f.jsxs("a",{href:`mailto:${No}`,className:"flex items-center gap-3 text-secondary-foreground transition-colors hover:text-primary",children:[f.jsx(Du,{className:"h-4 w-4 text-primary","aria-hidden":"true"}),No]}),f.jsx("p",{className:"flex items-center gap-3 text-secondary-foreground/80",children:"Washington, DC — available worldwide"})]}),f.jsx("div",{className:"mt-10 flex items-center gap-3",children:[{icon:dc,label:"All links",href:oa},{icon:Fu,label:"YouTube",href:"https://www.youtube.com/watch?v=1-0lPNP6HBM"},{icon:eS,label:"Apple Music",href:"https://music.apple.com/us/artist/old-skool-queene/1266833809"}].map(({icon:v,label:w,href:k})=>f.jsx("a",{href:k,target:"_blank",rel:"noopener noreferrer","aria-label":w,className:"flex h-11 w-11 items-center justify-center rounded-full border border-secondary-foreground/30 text-secondary-foreground transition-colors hover:border-primary hover:text-primary",children:f.jsx(v,{className:"h-5 w-5","aria-hidden":"true"})},w))})]}),f.jsx(fe,{delay:.15,children:f.jsxs("form",{onSubmit:g,className:"rounded-md border border-border bg-card p-6 md:p-8",children:[f.jsxs("div",{className:"grid gap-5 sm:grid-cols-2",children:[f.jsxs("div",{className:"flex flex-col gap-2",children:[f.jsx("label",{htmlFor:"bk-name",className:"text-sm font-medium",children:"Your name"}),f.jsx("input",{id:"bk-name",required:!0,value:r.name,onChange:p("name"),placeholder:"Alicia Roberts",className:y})]}),f.jsxs("div",{className:"flex flex-col gap-2",children:[f.jsx("label",{htmlFor:"bk-email",className:"text-sm font-medium",children:"Email"}),f.jsx("input",{id:"bk-email",type:"email",required:!0,value:r.email,onChange:p("email"),placeholder:"[email protected]",className:y})]}),f.jsxs("div",{className:"flex flex-col gap-2",children:[f.jsx("label",{htmlFor:"bk-date",className:"text-sm font-medium",children:"Event date"}),f.jsx("input",{id:"bk-date",type:"date",value:r.date,onChange:p("date"),className:y})]}),f.jsxs("div",{className:"flex flex-col gap-2",children:[f.jsx("label",{htmlFor:"bk-type",className:"text-sm font-medium",children:"Event type"}),f.jsxs("div",{className:"relative",children:[f.jsxs("select",{id:"bk-type",value:r.type,onCh
10ange:p("type"),className:`${y} appearance-none pr-10`,children:[f.jsx("option",{children:"Wedding / Reception"}),f.jsx("option",{children:"Corporate Gala / Awards"}),f.jsx("option",{children:"Club Night / Festival"}),f.jsx("option",{children:"Tribute / Theme Night"}),f.jsx("option",{children:"Feature / Collaboration"}),f.jsx("option",{children:"Comments / Info"})]}),f.jsx(W1,{className:"pointer-events-none absolute right-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground","aria-hidden":"true"})]})]}),f.jsxs("div",{className:"flex flex-col gap-2 sm:col-span-2",children:[f.jsx("label",{htmlFor:"bk-message",className:"text-sm font-medium",children:"Tell us about the night"}),f.jsx("textarea",{id:"bk-message",rows:4,value:r.message,onChange:p("message"),placeholder:"Venue, guest count, the vibe you're dreaming of…",className:"w-full rounded-md border border-input bg-background px-4 py-3 text-sm text-foreground placeholder:text-muted-foreground focus:border-primary focus:outline-none focus:ring-1 focus:ring-primary"})]})]}),c&&f.jsx("p",{className:"mt-4 rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-center text-sm text-destructive-foreground",children:c}),f.jsxs("button",{type:"submit",disabled:a,className:"mt-6 inline-flex min-h-[44px] w-full items-center justify-center gap-2 rounded-md bg-primary px-6 font-semibold text-primary-foreground transition-transform hover:-translate-y-px active:scale-[0.98] disabled:opacity-60",children:[f.jsx(fc,{className:"h-4 w-4","aria-hidden":"true"}),a?"Sending…":"Send Booking Inquiry"]}),s&&f.jsxs("p",{className:"mt-4 text-center text-sm text-muted-foreground",children:["Thank you — your message has been sent to QueenE’s team. We’ll reply within two business days, or write to"," ",f.jsx("a",{href:`mailto:${No}`,className:"text-primary underline",children:No})," ","directly."]})]})})]})})}function lC(){return f.jsx("footer",{className:"border-t border-border",children:f.jsxs("div",{className:"mx-auto flex max-w-6xl flex-col items-center justify-between gap-6 px-5 py-10 text-sm text-muted-foreground md:flex-row md:px-8",children:[f.jsxs("p",{className:"font-display text-base font-bold text-foreground",children:["Old Skool ",f.jsx("span",{className:"text-primary",children:"QueenE"})]}),f.jsxs("nav",{className:"flex flex-wrap items-center justify-center gap-6","aria-label":"Footer",children:[Ky.map(r=>f.jsx("a",{href:r.href,className:"transition-colors hover:text-primary",children:r.label},r.href)),f.jsx("a",{href:"#booking",className:"transition-colors hover:text-primary",children:"Booking"}),f.jsx("a",{href:oa,target:"_blank",rel:"noopener noreferrer",className:"transition-colors hover:text-primary",children:"Linktree"}),f.jsx("a",{href:"/manage-videos",className:"transition-colors hover:text-primary",children:"Manage Videos"})]}),f.jsxs("p",{children:["© ",new Date().getFullYear()," Old Skool QueenE. All rights reserved."]})]})})}function uC(){return f.jsxs(f.Fragment,{children:[f.jsxs(Hr,{children:[f.jsx("title",{children:"Old Skool QueenE | Singer-Songwriter, Host & Couples Podcast | Spotify, YouTube & Apple Music"}),f.jsx("meta",{name:"description",content:"Old Skool QueenE is an independent singer-songwriter, host & MC, and couples podcast host. Stream old skool soul, R&B, afrobeats and Go-Go; join the Fan Club and book QueenE."}),f.jsx("meta",{name:"keywords",content:"Old Skool QueenE, old skool, old school, QueenE, music, couples podcast, Spotify podcast, YouTube, relationships, dating, love, playlist, old skool soul, old school soul, R&B music, RNB, afrobeats, Afrobeats, Go-Go music, Go-Go pop, singer-songwriter, independent artist, host and MC, event host, wedding host, gala host, club night, skate club, skating, rollerskating, roller skating, roller skate, skate videos, ladies night, Ladies Night, Ladies Night music video, line dance, live band, live music, podcast, podcaster, poet, new music, new song, music video, video message, video messages, Amazon Music, Apple Music, Spotify, YouTube, TikTok, radio, radio artist, Billboard charts, Washington DC singer, Atlanta singer, couples, relationship podcast, dating podcast, music playlist, streaming, Fan Club, QueenE Fan Club, Old Skool QueenE Fan Club, couples podcast fan club"}),f.jsx("meta",{name:"author",content:"Old Skool QueenE"}),f.jsx("meta",{name:"robots",content:"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1"}),f.jsx("link",{rel:"canonical",href:"https://www.oldskoolqueene.net/"})]}),f.jsx(LT,{title:"Old Skool QueenE — Singer-Songwriter, Host & Couples Podcast | Spotify, YouTube & Apple Music",description:"Old Skool QueenE — independent singer-songwriter, host & MC and couples podcast host. Stream old skool soul, R&B, afrobeats and Go-Go music on Spotify, YouTube and Apple Music. Watch music videos, video messages and the Couples Podcast on relationships, dating and love. Book QueenE for weddings, galas and live events.",image:Vn.portrait,url:"https://www.oldskoolqueene.net/",siteName:"Old Skool QueenE"}),f.jsx(YT,{}),f.jsxs("main",{children:[f.jsx(tC,{}),f.jsx(XT,{}),f.jsx(JT,{}),f.jsx(ZT,{}),f.jsx(eC,{}),f.jsx(nC,{}),f.jsx(rC,{}),f.jsx(sC,{}),f.jsx(iC,{}),f.jsx(oC,{}),f.jsx(aC,{})]}),f.jsx(lC,{})]})}function cC(){const{login:r}
10=Zr(),t=Jo(),o=Lt().state?.from?.pathname||"/manage-videos",[a,u]=b.useState("[email protected]"),[c,h]=b.useState(""),[p,g]=b.useState(""),[y,v]=b.useState(!1),[w,k]=b.useState("login"),[C,E]=b.useState(""),[j,R]=b.useState(!1),[M,_]=b.useState(!1),[B,V]=b.useState(""),W=async ne=>{ne.preventDefault(),g(""),v(!0);try{await r(a.trim(),c),t(o,{replace:!0})}catch{g('Wrong email or password. Please try again, or use "Forgot password?" to reset it.')}finally{v(!1)}},ee=async ne=>{ne.preventDefault(),V(""),R(!0),_(!1);try{await ye.collection("users").requestPasswordReset(C.trim()),_(!0)}catch{V("Could not send a reset link right now. Please double-check the email address and try again.")}finally{R(!1)}},K="min-h-[44px] w-full rounded-md border border-input bg-background px-4 text-sm text-foreground placeholder:text-muted-foreground focus:border-primary focus:outline-none focus:ring-1 focus:ring-primary";return f.jsxs("div",{className:"flex min-h-[100dvh] items-center justify-center bg-background px-5 py-16",children:[f.jsxs(Hr,{children:[f.jsx("title",{children:"Sign In — Old Skool QueenE"}),f.jsx("meta",{name:"description",content:"Sign in to manage your video messages and Today's Spotlight."})]}),f.jsxs("div",{className:"w-full max-w-md",children:[f.jsxs("a",{href:"/",className:"mb-6 inline-flex items-center gap-2 text-sm text-muted-foreground transition-colors hover:text-primary",children:[f.jsx(hg,{className:"h-4 w-4","aria-hidden":"true"}),"Back to site"]}),w==="login"?f.jsxs("div",{className:"rounded-md border border-border bg-card p-6 md:p-8",children:[f.jsx("p",{className:"font-script text-2xl text-primary",children:"QueenE Only"}),f.jsx("h1",{className:"font-display mt-1 text-3xl font-bold leading-tight",children:"Sign in"}),f.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:"Log in to upload and manage your recorded video messages and update Today’s Spotlight."}),f.jsxs("form",{onSubmit:W,className:"mt-6 space-y-4",children:[f.jsxs("div",{className:"flex flex-col gap-2",children:[f.jsx("label",{htmlFor:"li-email",className:"text-sm font-medium",children:"Email"}),f.jsxs("div",{className:"relative",children:[f.jsx(Du,{className:"pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground","aria-hidden":"true"}),f.jsx("input",{id:"li-email",type:"email",required:!0,value:a,onChange:ne=>u(ne.target.value),placeholder:"[email protected]",className:`${K} pl-10`,autoComplete:"email"})]})]}),f.jsxs("div",{className:"flex flex-col gap-2",children:[f.jsx("label",{htmlFor:"li-pass",className:"text-sm font-medium",children:"Password"}),f.jsxs("div",{className:"relative",children:[f.jsx(Y1,{className:"pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground","aria-hidden":"true"}),f.jsx("input",{id:"li-pass",type:"password",required:!0,value:c,onChange:ne=>h(ne.target.value),placeholder:"••••••••",className:`${K} pl-10`,autoComplete:"current-password"})]})]}),p&&f.jsx("p",{className:"rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive-foreground",children:p}),f.jsxs("button",{type:"submit",disabled:y,className:"inline-flex min-h-[44px] w-full items-center justify-center gap-2 rounded-md bg-primary px-6 font-semibold text-primary-foreground transition-transform hover:-translate-y-px active:scale-[0.98] disabled:opacity-60",children:[f.jsx(X1,{className:"h-4 w-4","aria-hidden":"true"}),y?"Signing in…":"Sign in"]})]}),f.jsxs("div",{className:"mt-5 border-t border-border pt-5",children:[f.jsxs("p",{className:"text-sm text-muted-foreground",children:["Don’t know your password?"," ",f.jsx("button",{type:"button",onClick:()=>{V(""),_(!1),E(a||""),k("reset")},className:"font-semibold text-primary underline-offset-2 hover:underline",children:"Forgot password?"})]}),f.jsxs("p",{className:"mt-2 text-xs text-muted-foreground",children:["The owner login email is"," ",f.jsx("span",{className:"font-semibold text-foreground",children:"[email protected]"}),". A reset link is sent to that inbox."]})]})]}):f.jsxs("div",{className:"rounded-md border border-border bg-card p-6 md:p-8",children:[f.jsx("p",{className:"font-script text-2xl text-primary",children:"QueenE Only"}),f.jsx("h1",{className:"font-display mt-1 text-3xl font-bold leading-tight",children:"Set your password"}),f.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:"Enter your owner email and we’ll send a secure link to set (or reset) your management password. Use this the first time you sign in, or any time you forget your password."}),f.jsxs("form",{onSubmit:ee,className:"mt-6 space-y-4",children:[f.jsxs("div",{className:"flex flex-col gap-2",children:[f.jsx("label",{htmlFor:"rp-email",className:"text-sm font-medium",children:"Owner email"}),f.jsxs("div",{className:"relative",children:[f.jsx(Du,{className:"pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground","aria-hidden":"true"}),f.jsx("input",{id:"rp-email",type:"email",required:!0,value:C,onChange:ne=>E(ne.target.value),placeholder:"[email protected]",className:`${K} pl-10`,autoComplete:"email"})]})]}),B&&f.jsx("p",{className:"rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive-foreground",children:B}),M&&f.jsxs("p",{className:"flex items-start gap-2 rounded-md border border-primary/40 bg-primary/10 px-3 py-2 text-sm text-primary",children:[f.jsx($r,{className:"mt-0.5 h-4 w-4 shrink-0","aria-hidden":"true"}),f.jsxs("span",{children:["If ",f.jsx("span",{className:"font-semibold",children:C||"that email"})," is the owner account, a reset link is on its way. Check your inbox (and spam folder) and follow the link to set your password, then sign in."]})]}),f.jsx("button",{type:"submit",disabled:j,className:"inline-flex min-h-[44px] w-full items-center justify-center gap-2 rounded-md bg-primary px-6 font-semibold text-primary-foreground transition-transform hover:-translate-y-
10px active:scale-[0.98] disabled:opacity-60",children:j?f.jsxs(f.Fragment,{children:[f.jsx(Wr,{className:"h-4 w-4 animate-spin","aria-hidden":"true"}),"Sending link…"]}):f.jsxs(f.Fragment,{children:[f.jsx(Q1,{className:"h-4 w-4","aria-hidden":"true"}),"Send reset link"]})})]}),f.jsx("div",{className:"mt-5 border-t border-border pt-5",children:f.jsx("button",{type:"button",onClick:()=>k("login"),className:"text-sm font-semibold text-muted-foreground transition-colors hover:text-primary",children:"← Back to sign in"})})]})]})]})}function dC(){const{user:r,isAuthed:t,logout:s}=Zr(),[o,a]=b.useState([]),[u,c]=b.useState(!0),[h,p]=b.useState(""),[g,y]=b.useState(""),[v,w]=b.useState(null),[k,C]=b.useState(!1),[E,j]=b.useState(""),[R,M]=b.useState(""),_=b.useRef(null),B=b.useRef(null),V=async()=>{try{const ie=await ye.collection("video_messages").getFullList({sort:"-created"});a(ie)}catch(ie){console.error("load videos failed",ie)}finally{c(!1)}};b.useEffect(()=>{V()},[]);const W=ie=>{const le=ie.target.files?.[0];le&&w(le),ie.target.value=""},ee=()=>{w(null),_.current&&(_.current.value=""),B.current&&(B.current.value="")},K=async ie=>{if(ie.preventDefault(),j(""),M(""),!v){j("Choose a video file from your phone first.");return}if(!h.trim()){j("Add a short title for your message.");return}C(!0);try{const le=new FormData;le.append("title",h.trim()),le.append("description",g.trim()),le.append("video",v),t&&ye.authStore.record?.id&&le.append("owner",ye.authStore.record.id),await ye.collection("video_messages").create(le,{requestKey:"create-video"}),p(""),y(""),ee(),M("Your video message is live on the site!"),await V()}catch(le){const Z=le?.response?.data?.video?.message||le?.message||"Upload failed.";j(Z)}finally{C(!1)}},ne=async ie=>{if(window.confirm("Delete this video message? This cannot be undone."))try{await ye.collection("video_messages").delete(ie,{requestKey:`del-${ie}`}),a(le=>le.filter(Z=>Z.id!==ie))}catch{j("Could not delete the video. Try again.")}},ve="min-h-[44px] w-full rounded-md border border-input bg-background px-4 text-sm text-foreground placeholder:text-muted-foreground focus:border-primary focus:outline-none focus:ring-1 focus:ring-primary",Ee=ie=>new Date(ie).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"});return f.jsxs("div",{className:"min-h-[100dvh] bg-background",children:[f.jsxs(Hr,{children:[f.jsx("title",{children:"Manage Video Messages — Old Skool QueenE"}),f.jsx("meta",{name:"description",content:"Upload and manage recorded video messages from your phone."})]}),f.jsx("header",{className:"border-b border-border bg-card/60 backdrop-blur-md",children:f.jsxs("div",{className:"mx-auto flex h-16 max-w-4xl items-center justify-between px-5",children:[f.jsxs("a",{href:"/",className:"inline-flex items-center gap-2 text-sm text-muted-foreground transition-colors hover:text-primary",children:[f.jsx(hg,{className:"h-4 w-4","aria-hidden":"true"}),"Back to site"]}),f.jsxs("span",{className:"font-display text-sm font-bold",children:["Old Skool ",f.jsx("span",{className:"text-primary",children:"QueenE"})]}),t?f.jsxs("button",{onClick:s,className:"inline-flex items-center gap-2 text-sm text-muted-foreground transition-colors hover:text-primary",children:[f.jsx(J1,{className:"h-4 w-4","aria-hidden":"true"}),"Sign out"]}):f.jsx("span",{className:"text-sm text-muted-foreground",children:"Owner access only"})]})}),f.jsxs("main",{className:"mx-auto max-w-4xl px-5 py-12 md:py-16",children:[f.jsxs(fe,{children:[f.jsx("p",{className:"font-script text-2xl text-primary",children:"From the QueenE"}),f.jsx("h1",{className:"font-display mt-1 text-4xl font-bold leading-tight md:text-5xl",children:"Video Messages"}),f.jsxs("p",{className:"mt-3 max-w-lg text-sm leading-relaxed text-muted-foreground",children:["Record a message on your phone and upload it here — it appears instantly in the Video Messages section on your site. This area is for QueenE only.",r?.email&&f.jsxs(f.Fragment,{children:[" Signed in as ",f.jsx("span",{className:"font-semibold text-foreground",children:r.email}),"."]})]})]}),f.jsxs("div",{className:"mt-8 rounded-md border border-border bg-card p-6 md:p-8",children:[f.jsxs("h2",{className:"font-display flex items-center gap-2 text-xl font-bold",children:[f.jsx(nS,{className:"h-5 w-5 text-primary","aria-hidden":"true"}),"Add a new message"]}),f.jsxs("form",{onSubmit:K,className:"mt-5 space-y-5",children:[f.jsxs("div",{className:"flex flex-col gap-2",children:[f.jsx("label",{htmlFor:"vm-title",className:"text-sm font-medium",children:"Title"}),f.jsx("input",{id:"vm-title",value:h,onChange:ie=>p(ie.target.value),placeholder:"A note to my fans…",className:ve,maxLength:200})]}),f.jsxs("div",{className:"flex flex-col gap-2",children:[f.jsxs("label",{htmlFor:"vm-desc",className:"text-sm font-medium",children:["Caption ",f.jsx("span",{className:"text-muted-foreground",children:"(optional)"})]}),f.jsx("textarea",{id:"vm-desc",rows:3,value:g,onChange:ie=>y(ie.target.value),placeholder:"What's this message about?",className:"w-full rounded-md border border-input bg-background px-4 py-3 text-sm text-foreground placeholder:text-muted-foreground focus:border-primary focus:outline-none focus:ring-1 focus:ring-primary",maxLength:1e3})]}),f.jsxs("div",{className:"flex flex-col gap-2",children:[f.jsx("span",{className:"text-sm font-medium",children:"Video from your phone"}),v?f.jsxs("div",{className:"flex items-center justify-between gap-3 rounded-md border border-primary/50 bg-primary/5 px-4 py-3",children:[f.jsxs("div",{className:"flex min-w-0 items-center gap-3",children:[f.jsx($r,{className:"h-5 w-5 shrink-0 text-primary","aria-hidden":"true"}),f.jsxs("div",{className:"min-w-0",children:[f.jsx("p",{className:"truncate text-sm font-medium text-foreground",children:v.name}),f.jsxs("p",{className:"text-xs text-muted-foreground",children:[(v.size/1048576).toFixed(1)," MB ready to publish"]})]})]}),f.jsx("button",{type:"button",onClick:ee,"aria-label":"Remove selected video",className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-md border border-border text-muted-foreground transition-colors hover:border-destructive hover:text-destructive",children:f.jsx(sS,{className:"h-4 w-4","aria-hidden":"true"})})]}):f.jsxs("div",{className:"grid gap-3 sm:grid-cols-2",children:[f.jsxs("button",{type:"button",onClick:()=>B.current?.click(),className:"flex min-h-[110px] flex-col items-center justify-center gap-2 rounded-md border-2 border-dashed border-border bg-background px-4 text-center transition-colors hover:border-primary active:scale-[0.98]",children:[f.jsx(pg,{className:"h-6 w-6 text-primary","aria-hidden":"true"}),f.jsx("span",{className:"text-sm font-medium",children:"Record a video"}),f.jsx("span",{className:"text-xs text-muted-foreground",children:"Open your phone camera"})]}),f.jsxs("button",{type:"button",onClick:()=>_.current?.click(),className:"flex min-h-[110px] flex-col items-center justify-center gap-2 rounded-md border-2 border-dashed border-border bg-background px-4 text-center transition-colors hover:border-primary active:scale-[0.98]",children:[f.jsx(K1,{className:"h-6 w-6 text-primary","aria-hidden":"true"}),f.jsx("span",{className:"text-sm font-medium",children:"Pick from gallery"}),f.jsx("span",{className:"text-xs text-muted-foreground",children:"Choose a saved video"})]})]}),f.jsx("input",{ref:B,type:"file",accept:"video/*",capture:"environment",onChange:W,className:"pointer-events-none absolute h-px w-px opacity-0",tabIndex:-1,"aria-hidden":"true"}),f.jsx("input",{ref:_,type:"file",accept:"video/*",onChange:W,className:"pointer-events-none absolute h-px w-px opacity-0",tabIndex:-1,"aria-hidden":"true"}),f.jsx("p",{className:"text-xs text-muted-foreground",children:"MP4, MOV, or WebM — up to 200MB. Works from any phone."})]}),E&&f.jsx("p",{className:"rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive-foreground",children:E}),R&&f.jsx("p",{className:"rounded-md border border-primary/40 bg-primary/10 px-3 py-2 text-sm text-primary",children:R}),f.jsx("button",{type:"submit",disabled:k,className:"inline-flex min-h-[44px] w-full items-center justify-center gap-2 rounded-md bg-primary px-6 font-semibold text-primary-foreground transition-transform hover:-translate-y-
10px active:scale-[0.98] disabled:opacity-60 sm:w-auto",children:k?f.jsxs(f.Fragment,{children:[f.jsx(Wr,{className:"h-4 w-4 animate-spin","aria-hidden":"true"}),"Uploading…"]}):f.jsxs(f.Fragment,{children:[f.jsx(Fn,{className:"h-4 w-4","aria-hidden":"true"}),"Publish video message"]})})]})]}),f.jsxs("div",{className:"mt-12",children:[f.jsxs("h2",{className:"font-display text-xl font-bold",children:["Your published messages"," ",f.jsxs("span",{className:"text-muted-foreground",children:["(",o.length,")"]})]}),u?f.jsxs("div",{className:"mt-6 flex items-center gap-2 text-sm text-muted-foreground",children:[f.jsx(Wr,{className:"h-4 w-4 animate-spin","aria-hidden":"true"}),"Loading…"]}):o.length===0?f.jsxs("div",{className:"mt-6 flex flex-col items-center gap-3 rounded-md border border-dashed border-border bg-card px-6 py-12 text-center",children:[f.jsx(Xt,{className:"h-8 w-8 text-muted-foreground","aria-hidden":"true"}),f.jsx("p",{className:"text-sm text-muted-foreground",children:"No video messages yet. Record one from your phone above."})]}):f.jsx("ul",{className:"mt-6 grid gap-5 sm:grid-cols-2",children:o.map(ie=>{const le=ye.files.getURL(ie,ie.video);return f.jsxs("li",{className:"overflow-hidden rounded-md border border-border bg-card",children:[f.jsx("video",{src:le,controls:!0,playsInline:!0,preload:"metadata",className:"aspect-video w-full bg-background"}),f.jsxs("div",{className:"flex items-start justify-between gap-3 p-4",children:[f.jsxs("div",{className:"min-w-0",children:[f.jsx("p",{className:"font-display truncate text-base font-semibold",children:ie.title}),ie.description&&f.jsx("p",{className:"mt-1 line-clamp-2 text-xs text-muted-foreground",children:ie.description}),f.jsx("p",{className:"mt-2 text-xs uppercase tracking-[0.15em] text-muted-foreground",children:Ee(ie.created)})]}),t&&ie.owner===r?.id&&f.jsx("button",{onClick:()=>ne(ie.id),"aria-label":`Delete ${ie.title}`,className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-md border border-border text-muted-foreground transition-colors hover:border-destructive hover:text-destructive",children:f.jsx(Uo,{className:"h-4 w-4","aria-hidden":"true"})})]})]},ie.id)})})]})]})]})}function fC(){return f.jsx(e1,{children:f.jsxs(kw,{children:[f.jsx(Ow,{}),f.jsxs(Z0,{children:[f.jsx(Po,{path:"/",element:f.jsx(uC,{})}),f.jsx(Po,{path:"/login",element:f.jsx(cC,{})}),f.jsx(Po,{path:"/manage-videos",element:f.jsx(t1,{children:f.jsx(dC,{})})})]})]})})}Zx.createRoot(document.getElementById("root")).render(f.jsx(fC,{}));

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.