PageSourceSearch

https://pitchfy.ai/assets/index-BZ2V-tOj.js

js pitchfy.ai collected 2026-10-05 12:25:23 UTC 750,504 bytes, 260 lines download raw bytes

1var rg=t=>{throw TypeError(t)};var Td=(t,e,n)=>e.has(t)||rg("Cannot "+n);var M=(t,e,n)=>(Td(t,e,"read from private field"),n?n.call(t):e.get(t)),be=(t,e,n)=>e.has(t)?rg("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),ue=(t,e,n,i)=>(Td(t,e,"write to private field"),i?i.call(t,n):e.set(t,n),n),_e=(t,e,n)=>(Td(t,e,"access private method"),n);var Pl=(t,e,n,i)=>({set _(o){ue(t,e,o,n)},get _(){return M(t,e,i)}});function Ak(t,e){for(var n=0;n<e.length;n++){const i=e[n];if(typeof i!="string"&&!Array.isArray(i)){for(const o in i)if(o!=="default"&&!(o in t)){const c=Object.getOwnPropertyDescriptor(i,o);c&&Object.defineProperty(t,o,c.get?c:{enumerable:!0,get:()=>i[o]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const c of o)if(c.t
vendor: 5,205 bytes, lines 1-9
1ype==="childList")for(const u of c.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&i(u)}).observe(document,{childList:!0,subtree:!0});function n(o){const c={};return o.integrity&&(c.integrity=o.integrity),o.referrerPolicy&&(c.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?c.credentials="include":o.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function i(o){if(o.ep)return;o.ep=!0;const c=n(o);fetch(o.href,c)}})();function uv(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var _d={exports:{}},ko={},Ad={exports:{}},Pe={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var ig;function Rk(){if(ig)return Pe;ig=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),x=Symbol.iterator;function v(D){return D===null||typeof D!="object"?null:(D=x&&D[x]||D["@@iterator"],typeof D=="function"?D:null)}var j={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,N={};function k(D,G,de){this.props=D,this.context=G,this.refs=N,this.updater=de||j}k.prototype.isReactComponent={},k.prototype.setState=function(D,G){if(typeof D!="object"&&typeof D!="function"&&D!=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,D,G,"setState")},k.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function A(){}A.prototype=k.prototype;function I(D,G,de){this.props=D,this.context=G,this.refs=N,this.updater=de||j}var E=I.prototype=new A;E.constructor=I,b(E,k.prototype),E.isPureReactComponent=!0;var _=Array.isArray,F=Object.prototype.hasOwnProperty,W={current:null},Z={key:!0,ref:!0,__self:!0,__source:!0};function T(D,G,de){var xe,Ce={},Te=null,Ne=null;if(G!=null)for(xe in G.ref!==void 0&&(Ne=G.ref),G.key!==void 0&&(Te=""+G.key),G)F.call(G,xe)&&!Z.hasOwnProperty(xe)&&(Ce[xe]=G[xe]);var Oe=arguments.length-2;if(Oe===1)Ce.children=de;else if(1<Oe){for(var Fe=Array(Oe),ut=0;ut<Oe;ut++)Fe[ut]=arguments[ut+2];Ce.children=Fe}if(D&&D.defaultProps)for(xe in Oe=D.defaultProps,Oe)Ce[xe]===void 0&&(Ce[xe]=Oe[xe]);return{$$typeof:t,type:D,key:Te,ref:Ne,props:Ce,_owner:W.current}}function H(D,G){return{$$typeof:t,type:D.type,key:G,ref:D.ref,props:D.props,_owner:D._owner}}function Y(D){return typeof D=="object"&&D!==null&&D.$$typeof===t}function te(D){var G={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(de){return G[de]})}var O=/\/+/g;function B(D,G){return typeof D=="object"&&D!==null&&D.key!=null?te(""+D.key):G.toString(36)}function K(D,G,de,xe,Ce){var Te=typeof D;(Te==="undefined"||Te==="boolean")&&(D=null);var Ne=!1;if(D===null)Ne=!0;else switch(Te){case"string":case"number":Ne=!0;break;case"object":switch(D.$$typeof){case t:case e:Ne=!0}}if(Ne)return Ne=D,Ce=Ce(Ne),D=xe===""?"."+B(Ne,0):xe,_(Ce)?(de="",D!=null&&(de=D.replace(O,"$&/")+"/"),K(Ce,G,de,"",function(ut){return ut})):Ce!=null&&(Y(Ce)&&(Ce=H(Ce,de+(!Ce.key||Ne&&Ne.key===Ce.key?"":(""+Ce.key).replace(O,"$&/")+"/")+D)),G.push(Ce)),1;if(Ne=0,xe=xe===""?".":xe+":",_(D))for(var Oe=0;Oe<D.length;Oe++){Te=D[Oe];var Fe=xe+B(Te,Oe);Ne+=K(Te,G,de,Fe,Ce)}else if(Fe=v(D),typeof Fe=="function")for(D=Fe.call(D),Oe=0;!(Te=D.next()).done;)Te=Te.value,Fe=xe+B(Te,Oe++),Ne+=K(Te,G,de,Fe,Ce);else if(Te==="object")throw G=String(D),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.");return Ne}function ne(D,G,de){if(D==null)return D;var xe=[],Ce=0;return K(D,xe,"","",function(Te){return G.call(de,Te,Ce++)}),xe}function Q(D){if(D._status===-1){var G=D._result;G=G(),G.then(function(de){(D._status===0||D._status===-1)&&(D._status=1,D._result=de)},function(de){(D._status===0||D._status===-1)&&(D._status=2,D._result=de)}),D._status===-1&&(D._status=0,D._result=G)}if(D._status===1)return D._result.default;throw D._result}var se={current:null},z={transition:null},oe={ReactCurrentDispatcher:se,ReactCurrentBatchConfig:z,ReactCurrentOwner:W};function ie(){throw Error("act(...) is not supported in production builds of React.")}return Pe.Children={map:ne,forEach:function(D,G,de){ne(D,function(){G.apply(this,arguments)},de)},count:function(D){var G=0;return ne(D,function(){G++}),G},toArray:function(D){return ne(D,function(G){return G})||[]},only:function(D){if(!Y(D))throw Error("React.Children.only expected to receive a single React element child.");return D}},Pe.Component=k,Pe.Fragment=n,Pe.Profiler=o,Pe.PureComponent=I,Pe.StrictMode=i,Pe.Suspense=f,Pe.__SECRET_INT
vendor: 5,046 bytes, lines 9-25
9ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oe,Pe.act=ie,Pe.cloneElement=function(D,G,de){if(D==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+D+".");var xe=b({},D.props),Ce=D.key,Te=D.ref,Ne=D._owner;if(G!=null){if(G.ref!==void 0&&(Te=G.ref,Ne=W.current),G.key!==void 0&&(Ce=""+G.key),D.type&&D.type.defaultProps)var Oe=D.type.defaultProps;for(Fe in G)F.call(G,Fe)&&!Z.hasOwnProperty(Fe)&&(xe[Fe]=G[Fe]===void 0&&Oe!==void 0?Oe[Fe]:G[Fe])}var Fe=arguments.length-2;if(Fe===1)xe.children=de;else if(1<Fe){Oe=Array(Fe);for(var ut=0;ut<Fe;ut++)Oe[ut]=arguments[ut+2];xe.children=Oe}return{$$typeof:t,type:D.type,key:Ce,ref:Te,props:xe,_owner:Ne}},Pe.createContext=function(D){return D={$$typeof:u,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},D.Provider={$$typeof:c,_context:D},D.Consumer=D},Pe.createElement=T,Pe.createFactory=function(D){var G=T.bind(null,D);return G.type=D,G},Pe.createRef=function(){return{current:null}},Pe.forwardRef=function(D){return{$$typeof:h,render:D}},Pe.isValidElement=Y,Pe.lazy=function(D){return{$$typeof:y,_payload:{_status:-1,_result:D},_init:Q}},Pe.memo=function(D,G){return{$$typeof:m,type:D,compare:G===void 0?null:G}},Pe.startTransition=function(D){var G=z.transition;z.transition={};try{D()}finally{z.transition=G}},Pe.unstable_act=ie,Pe.useCallback=function(D,G){return se.current.useCallback(D,G)},Pe.useContext=function(D){return se.current.useContext(D)},Pe.useDebugValue=function(){},Pe.useDeferredValue=function(D){return se.current.useDeferredValue(D)},Pe.useEffect=function(D,G){return se.current.useEffect(D,G)},Pe.useId=function(){return se.current.useId()},Pe.useImperativeHandle=function(D,G,de){return se.current.useImperativeHandle(D,G,de)},Pe.useInsertionEffect=function(D,G){return se.current.useInsertionEffect(D,G)},Pe.useLayoutEffect=function(D,G){return se.current.useLayoutEffect(D,G)},Pe.useMemo=function(D,G){return se.current.useMemo(D,G)},Pe.useReducer=function(D,G,de){return se.current.useReducer(D,G,de)},Pe.useRef=function(D){return se.current.useRef(D)},Pe.useState=function(D){return se.current.useState(D)},Pe.useSyncExternalStore=function(D,G,de){return se.current.useSyncExternalStore(D,G,de)},Pe.useTransition=function(){return se.current.useTransition()},Pe.version="18.3.1",Pe}var sg;function lf(){return sg||(sg=1,Ad.exports=Rk()),Ad.exports}/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var og;function Ik(){if(og)return ko;og=1;var t=lf(),e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,o=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(h,f,m){var y,x={},v=null,j=null;m!==void 0&&(v=""+m),f.key!==void 0&&(v=""+f.key),f.ref!==void 0&&(j=f.ref);for(y in f)i.call(f,y)&&!c.hasOwnProperty(y)&&(x[y]=f[y]);if(h&&h.defaultProps)for(y in f=h.defaultProps,f)x[y]===void 0&&(x[y]=f[y]);return{$$typeof:e,type:h,key:v,ref:j,props:x,_owner:o.current}}return ko.Fragment=n,ko.jsx=u,ko.jsxs=u,ko}var ag;function Ok(){return ag||(ag=1,_d.exports=Ik()),_d.exports}var a=Ok(),P=lf();const Mk=uv(P),Lk=Ak({__proto__:null,default:Mk},[P]);var Tl={},Rd={exports:{}},Ft={},Id={exports:{}},Od={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */var lg;function Dk(){return lg||(lg=1,(function(t){function e(z,oe){var ie=z.length;z.push(oe);e:for(;0<ie;){var D=ie-1>>>1,G=z[D];if(0<o(G,oe))z[D]=oe,z[ie]=G,ie=D;else break e}}function n(z){return z.length===0?null:z[0]}function i(z){if(z.length===0)return null;var oe=z[0],ie=z.pop();if(ie!==oe){z[0]=ie;e:for(var D=0,G=z.length,de=G>>>1;D<de;){var xe=2*(D+1)-1,Ce=z[xe],Te=xe+1,Ne=z[Te];if(0>o(Ce,ie))Te<G&&0>o(Ne,Ce)?(z[D]=Ne,z[Te]=ie,D=Te):(z[D]=Ce,z[xe]=ie,D=xe);else if(Te<G&&0>o(Ne,ie))z[D]=Ne,z[Te]=ie,D=Te;else break e}}return oe}function o(z,oe){var ie=z.sortIndex-oe.sortIndex;return ie!==0?ie:z.id-oe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;t.unstable_now=function(){return c.now()}}else{var u=Date,h=u.now();t.unstable_now=function(){return u.now()-h}}var f=[],m=[],y=1,x=null,v=3,j=!1,b=!1,N=!1,k=typeof setTimeout=="function"?setTimeout:null,A=typeof clearTimeout=="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(z){for(var oe=n(m);oe!==null;){if(oe.callback===null)i(m);else if(oe.startTime<=z)i(m),oe.sortIndex=oe.expirationTime,e(f,oe);else break;
vendor: 17,917 bytes, lines 25-37
25oe=n(m)}}function _(z){if(N=!1,E(z),!b)if(n(f)!==null)b=!0,Q(F);else{var oe=n(m);oe!==null&&se(_,oe.startTime-z)}}function F(z,oe){b=!1,N&&(N=!1,A(T),T=-1),j=!0;var ie=v;try{for(E(oe),x=n(f);x!==null&&(!(x.expirationTime>oe)||z&&!te());){var D=x.callback;if(typeof D=="function"){x.callback=null,v=x.priorityLevel;var G=D(x.expirationTime<=oe);oe=t.unstable_now(),typeof G=="function"?x.callback=G:x===n(f)&&i(f),E(oe)}else i(f);x=n(f)}if(x!==null)var de=!0;else{var xe=n(m);xe!==null&&se(_,xe.startTime-oe),de=!1}return de}finally{x=null,v=ie,j=!1}}var W=!1,Z=null,T=-1,H=5,Y=-1;function te(){return!(t.unstable_now()-Y<H)}function O(){if(Z!==null){var z=t.unstable_now();Y=z;var oe=!0;try{oe=Z(!0,z)}finally{oe?B():(W=!1,Z=null)}}else W=!1}var B;if(typeof I=="function")B=function(){I(O)};else if(typeof MessageChannel<"u"){var K=new MessageChannel,ne=K.port2;K.port1.onmessage=O,B=function(){ne.postMessage(null)}}else B=function(){k(O,0)};function Q(z){Z=z,W||(W=!0,B())}function se(z,oe){T=k(function(){z(t.unstable_now())},oe)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(z){z.callback=null},t.unstable_continueExecution=function(){b||j||(b=!0,Q(F))},t.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):H=0<z?Math.floor(1e3/z):5},t.unstable_getCurrentPriorityLevel=function(){return v},t.unstable_getFirstCallbackNode=function(){return n(f)},t.unstable_next=function(z){switch(v){case 1:case 2:case 3:var oe=3;break;default:oe=v}var ie=v;v=oe;try{return z()}finally{v=ie}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(z,oe){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var ie=v;v=z;try{return oe()}finally{v=ie}},t.unstable_scheduleCallback=function(z,oe,ie){var D=t.unstable_now();switch(typeof ie=="object"&&ie!==null?(ie=ie.delay,ie=typeof ie=="number"&&0<ie?D+ie:D):ie=D,z){case 1:var G=-1;break;case 2:G=250;break;case 5:G=1073741823;break;case 4:G=1e4;break;default:G=5e3}return G=ie+G,z={id:y++,callback:oe,priorityLevel:z,startTime:ie,expirationTime:G,sortIndex:-1},ie>D?(z.sortIndex=ie,e(m,z),n(f)===null&&z===n(m)&&(N?(A(T),T=-1):N=!0,se(_,ie-D))):(z.sortIndex=G,e(f,z),b||j||(b=!0,Q(F))),z},t.unstable_shouldYield=te,t.unstable_wrapCallback=function(z){var oe=v;return function(){var ie=v;v=oe;try{return z.apply(this,arguments)}finally{v=ie}}}})(Od)),Od}var cg;function Fk(){return cg||(cg=1,Id.exports=Dk()),Id.exports}/**
26 * @license React
27 * react-dom.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var ug;function Vk(){if(ug)return Ft;ug=1;var t=lf(),e=Fk();function n(r){for(var s="https://reactjs.org/docs/error-decoder.html?invariant="+r,l=1;l<arguments.length;l++)s+="&args[]="+encodeURIComponent(arguments[l]);return"Minified React error #"+r+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,o={};function c(r,s){u(r,s),u(r+"Capture",s)}function u(r,s){for(o[r]=s,r=0;r<s.length;r++)i.add(s[r])}var h=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,m=/^[: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={},x={};function v(r){return f.call(x,r)?!0:f.call(y,r)?!1:m.test(r)?x[r]=!0:(y[r]=!0,!1)}function j(r,s,l,d){if(l!==null&&l.type===0)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":return d?!1:l!==null?!l.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function b(r,s,l,d){if(s===null||typeof s>"u"||j(r,s,l,d))return!0;if(d)return!1;if(l!==null)switch(l.type){case 3:return!s;case 4:return s===!1;case 5:return isNaN(s);case 6:return isNaN(s)||1>s}return!1}function N(r,s,l,d,p,g,w){this.acceptsBooleans=s===2||s===3||s===4,this.attributeName=d,this.attributeNamespace=p,this.mustUseProperty=l,this.propertyName=r,this.type=s,this.sanitizeURL=g,this.removeEmptyString=w}var k={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){k[r]=new N(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var s=r[0];k[s]=new N(s,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){k[r]=new N(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){k[r]=new N(r,2,!1,r,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(r){k[r]=new N(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){k[r]=new N(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){k[r]=new N(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){k[r]=new N(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){k[r]=new N(r,5,!1,r.toLowerCase(),null,!1,!1)});var A=/[\-:]([a-z])/g;function I(r){return r[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(r){var s=r.replace(A,I);k[s]=new N(s,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var s=r.replace(A,I);k[s]=new N(s,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var s=r.replace(A,I);k[s]=new N(s,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){k[r]=new N(r,1,!1,r.toLowerCase(),null,!1,!1)}),k.xlinkHref=new N("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){k[r]=new N(r,1,!1,r.toLowerCase(),null,!0,!0)});function E(r,s,l,d){var p=k.hasOwnProperty(s)?k[s]:null;(p!==null?p.type!==0:d||!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(b(s,l,p,d)&&(l=null),d||p===null?v(s)&&(l===null?r.removeAttribute(s):r.setAttribute(s,""+l)):p.mustUseProperty?r[p.propertyName]=l===null?p.type===3?!1:"":l:(s=p.attributeName,d=p.attributeNamespace,l===null?r.removeAttribute(s):(p=p.type,l=p===3||p===4&&l===!0?"":""+l,d?r.setAttributeNS(d,s,l):r.setAttribute(s,l))))}var _=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,F=Symbol.for("react.element"),W=Symbol.for("react.portal"),Z=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),H=Symbol.for("react.profiler"),Y=Symbol.for("react.provider"),te=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),ne=Symbol.for("react.memo"),Q=Symbol.for("react.lazy"),se=Symbol.for("react.offscreen"),z=Symbol.iterator;function oe(r){return r===null||typeof r!="object"?null:(r=z&&r[z]||r["@@iterator"],typeof r=="function"?r:null)}var ie=Object.assign,D;function G(r){if(D===void 0)try{throw Error()}catch(l){var s=l.stack.trim().match(/\n( *(at )?)/);D=s&&s[1]||""}return`
34`+D+r}var de=!1;function xe(r,s){if(!r||de)return"";de=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(s)if(s=function(){throw Error()},Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch($){var d=$}Reflect.construct(r,[],s)}else{try{s.call()}catch($){d=$}r.call(s.prototype)}else{try{throw Error()}catch($){d=$}r()}}catch($){if($&&d&&typeof $.stack=="string"){for(var p=$.stack.split(`
35`),g=d.stack.split(`
36`),w=p.length-1,C=g.length-1;1<=w&&0<=C&&p[w]!==g[C];)C--;for(;1<=w&&0<=C;w--,C--)if(p[w]!==g[C]){if(w!==1||C!==1)do if(w--,C--,0>C||p[w]!==g[C]){var R=`
37`+p[w].replace(" at new "," at ");return r.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",r.displayName)),R}while(1<=w&&0<=C);break}}}finally{de=!1,Error.prepareStackTrace=l}return(r=r?r.displayName||r.name:"")?G(r):""}function Ce(r){switch(r.tag){case 5:return G(r.type);case 16:return G("Lazy");case 13:return G("Suspense");case 19:return G("SuspenseList");case 0:case 2:case 15:return r=xe(r.type,!1),r;case 11:return r=xe(r.type.render,!1),r;case 1:return r=xe(r.type,!0),r;default:return""}}function Te(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case Z:return"Fragment";case W:return"Portal";case H:return"Profiler";case T:return"StrictMode";case B:return"Suspense";case K:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case te:return(r.displayName||"Context")+".Consumer";case Y:return(r._context.displayName||"Context")+".Provider";case O:var s=r.render;return r=r.displayName,r||(r=s.displayName||s.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case ne:return s=r.displayName||null,s!==null?s:Te(r.type)||"Memo";case Q:s=r._payload,r=r._init;try{return Te(r(s))}catch{}}return null}function Ne(r){var s=r.type;switch(r.tag){case 24:return"Cache";case 9:return(s.displayName||"Context")+".Consumer";case 10:return(s._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return r=s.render,r=r.displayName||r.name||"",s.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return s;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Te(s);case 8:return s===T?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s}return null}function Oe(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function Fe(r){var s=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function ut(r){var s=Fe(r)?"checked":"value",l=Object.getOwnPropertyDescriptor(r.constructor.prototype,s),d=""+r[s];if(!r.hasOwnProperty(s)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var p=l.get,g=l.set;return Object.defineProperty(r,s,{configurable:!0,get:function(){return p.call(this)},set:function(w){d=""+w,g.call(this,w)}}),Object.defineProperty(r,s,{enumerable:l.enumerable}),{getValue:function(){return d},setValue:function(w){d=""+w},stopTracking:function(){r._valueTracker=null,delete r[s]}}}}function tr(r){r._valueTracker||(r._valueTracker=ut(r))}function zr(r){if(!r)return!1;var s=r._valueTracker;if(!s)return!0;var l=s.getValue(),d="";return r&&(d=Fe(r)?r.checked?"true":"false":r.value),r=d,r!==l?(s.setValue(r),!0):!1}function va(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function Lc(r,s){var l=s.checked;return ie({},s,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??r._wrapperState.initialChecked})}function up(r,s){var l=s.defaultValue==null?"":s.defaultValue,d=s.checked!=null?s.checked:s.defaultChecked;l=Oe(s.value!=null?s.value:l),r._wrapperState={initialChecked:d,initialValue:l,controlled:s.type==="checkbox"||s.type==="radio"?s.checked!=null:s.value!=null}}function dp(r,s){s=s.checked,s!=null&&E(r,"checked",s,!1)}function Dc(r,s){dp(r,s);var l=Oe(s.value),d=s.type;if(l!=null)d==="number"?(l===0&&r.value===""||r.value!=l)&&(r.value=""+l):r.value!==""+l&&(r.value=""+l);else if(d==="submit"||d==="reset"){r.removeAttribute("value");return}s.hasOwnProperty("value")?Fc(r,s.type,l):s.hasOwnProperty("defaultValue")&&Fc(r,s.type,Oe(s.defaultValue)),s.checked==null&&s.defaultChecked!=null&&(r.defaultChecked=!!s.defaultChecked)}function hp(r,s,l){if(s.hasOwnProperty("value")||s.hasOwnProperty("defaultValue")){var d=s.type;if(!(d!=="submit"&&d!=="reset"||s.value!==void 0&&s.value!==null))return;s=""+r._wrapperState.initialValue,l||s===r.value||(r.value=s),r.defaultValue=s}l=r.name,l!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,l!==""&&(r.name=l)}function Fc(r,s,l){(s!=="number"||va(r.ownerDocument)!==r)&&(l==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+l&&(r.defaultValue=""+l))}var Ls=Array.isArray;function Ti(r,s,l,d){if(r=r.options,s){s={};for(var p=0;p<l.length;p++)s["$"+l[p]]=!0;for(l=0;l<r.length;l++)p=s.hasOwnProperty("$"+r[l].value),r[l].selected!==p&&(r[l].selected=p),p&&d&&(r[l].defaultSelected=!0)}else{for(l=""+Oe(l),s=null,p=0;p<r.length;p++){if(r[p].value===l){r[p].selected=!0,d&&(r[p].defaultSelected=!0);return}s!==null||r[p].disabled||(s=r[p])}s!==null&&(s.selected=!0)}}function Vc(r,s){if(s.dangerouslySetInnerHTML!=null)throw Error(n(91));return ie({},s,{value:void 0,defaultValue:void 0,children:""+r._wrapperState.initialValue})}function fp(r,s){var l=s.value;if(l==null){if(l=s.children,s=s.defaultValue,l!=null){if(s!=null)throw Error(n(92));if(Ls(l)){if(1<l.length)throw Error(n(93));l=l[0]}s=l}s==null&&(s=""),l=s}r._wrapperState={initialValue:Oe(l)}}function pp(r,s){var l=Oe(s.value),d=Oe(s.defaultValue);l!=null&&(l=""+l,l!==r.value&&(r.value=l),s.defaultValue==null&&r.defaultValue!==l&&(r.defaultValue=l)),d!=null&&(r.defaultValue=""+d)}function mp(r){var s=r.textContent;s===r._wrapperState.initialValue&&s!==""&&s!==null&&(r.value=s)}function gp(r){switch(r){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function zc(r,s){return r==null||r==="http://www.w3.org/1999/xhtml"?gp(s):r==="http://www.w3.org/2000/svg"&&s==="foreignObject"?"http://www.w3.org/1999/xhtml":r}var wa,yp=(function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(s,l,d,p){MSApp.execUnsafeLocalFunction(function(){return r(s,l,d,p)})}:r})(function(r,s){if(r.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in r)r.innerHTML=s;else{for(wa=wa||document.createElement("div"),wa.innerHTML="<svg>"+s.valueOf().toString()+"</svg>",s=wa.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;s.firstChild;)r.appendChild(s.firstChild)}});function Ds(r,s){if(s){var l=r.firstChild;if(l&&l===r.lastChild&&l.nodeType===3){l.nodeValue=s;return}}r.textContent=s}var Fs={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},M1=["Webkit","ms","Moz","O"];Object.keys(Fs).forEach(function(r){M1.forEach(function(s){s=s+r.charAt(0).toUpperCase()+r.substring(1),Fs[s]=Fs[r]})});function xp(r,s,l){return s==null||typeof s=="boolean"||s===""?"":l||typeof s!="number"||s===0||Fs.hasOwnProperty(r)&&Fs[r]?(""+s).trim():s+"px"}function vp(r,s){r=r.style;for(var l in s)if(s.hasOwnProperty(l)){var d=l.indexOf("--")===0,p=xp(l,s[l],d);l==="float"&&(l="cssFloat"),d?r.setProperty(l,p):r[l]=p}}var L1=ie({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 Bc(r,s){if(s){if(L1[r]&&(s.children!=null||s.dangerouslySetInnerHTML!=null))throw Error(n(137,r));if(s.dangerouslySetInnerHTML!=null){if(s.children!=null)throw Error(n(60));if(typeof s.dangerouslySetInnerHTML!="object"||!("__html"in s.dangerouslySetInnerHTML))throw Error(n(61))}if(s.style!=null&&typeof s.style!="object")throw Error(n(62))}}function Uc(r,s){if(r.indexOf("-")===-1)return typeof s.is=="str
37ing";switch(r){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var $c=null;function qc(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Wc=null,_i=null,Ai=null;function wp(r){if(r=oo(r)){if(typeof Wc!="function")throw Error(n(280));var s=r.stateNode;s&&(s=$a(s),Wc(r.stateNode,r.type,s))}}function bp(r){_i?Ai?Ai.push(r):Ai=[r]:_i=r}function kp(){if(_i){var r=_i,s=Ai;if(Ai=_i=null,wp(r),s)for(r=0;r<s.length;r++)wp(s[r])}}function jp(r,s){return r(s)}function Np(){}var Hc=!1;function Sp(r,s,l){if(Hc)return r(s,l);Hc=!0;try{return jp(r,s,l)}finally{Hc=!1,(_i!==null||Ai!==null)&&(Np(),kp())}}function Vs(r,s){var l=r.stateNode;if(l===null)return null;var d=$a(l);if(d===null)return null;l=d[s];e:switch(s){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(d=!d.disabled)||(r=r.type,d=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!d;break e;default:r=!1}if(r)return null;if(l&&typeof l!="function")throw Error(n(231,s,typeof l));return l}var Gc=!1;if(h)try{var zs={};Object.defineProperty(zs,"passive",{get:function(){Gc=!0}}),window.addEventListener("test",zs,zs),window.removeEventListener("test",zs,zs)}catch{Gc=!1}function D1(r,s,l,d,p,g,w,C,R){var $=Array.prototype.slice.call(arguments,3);try{s.apply(l,$)}catch(J){this.onError(J)}}var Bs=!1,ba=null,ka=!1,Kc=null,F1={onError:function(r){Bs=!0,ba=r}};function V1(r,s,l,d,p,g,w,C,R){Bs=!1,ba=null,D1.apply(F1,arguments)}function z1(r,s,l,d,p,g,w,C,R){if(V1.apply(this,arguments),Bs){if(Bs){var $=ba;Bs=!1,ba=null}else throw Error(n(198));ka||(ka=!0,Kc=$)}}function Br(r){var s=r,l=r;if(r.alternate)for(;s.return;)s=s.return;else{r=s;do s=r,(s.flags&4098)!==0&&(l=s.return),r=s.return;while(r)}return s.tag===3?l:null}function Cp(r){if(r.tag===13){var s=r.memoizedState;if(s===null&&(r=r.alternate,r!==null&&(s=r.memoizedState)),s!==null)return s.dehydrated}return null}function Ep(r){if(Br(r)!==r)throw Error(n(188))}function B1(r){var s=r.alternate;if(!s){if(s=Br(r),s===null)throw Error(n(188));return s!==r?null:r}for(var l=r,d=s;;){var p=l.return;if(p===null)break;var g=p.alternate;if(g===null){if(d=p.return,d!==null){l=d;continue}break}if(p.child===g.child){for(g=p.child;g;){if(g===l)return Ep(p),r;if(g===d)return Ep(p),s;g=g.sibling}throw Error(n(188))}if(l.return!==d.return)l=p,d=g;else{for(var w=!1,C=p.child;C;){if(C===l){w=!0,l=p,d=g;break}if(C===d){w=!0,d=p,l=g;break}C=C.sibling}if(!w){for(C=g.child;C;){if(C===l){w=!0,l=g,d=p;break}if(C===d){w=!0,d=g,l=p;break}C=C.sibling}if(!w)throw Error(n(189))}}if(l.alternate!==d)throw Error(n(190))}if(l.tag!==3)throw Error(n(188));return l.stateNode.current===l?r:s}function Pp(r){return r=B1(r),r!==null?Tp(r):null}function Tp(r){if(r.tag===5||r.tag===6)return r;for(r=r.child;r!==null;){var s=Tp(r);if(s!==null)return s;r=r.sibling}return null}var _p=e.unstable_scheduleCallback,Ap=e.unstable_cancelCallback,U1=e.unstable_shouldYield,$1=e.unstable_requestPaint,et=e.unstable_now,q1=e.unstable_getCurrentPriorityLevel,Qc=e.unstable_ImmediatePriority,Rp=e.unstable_UserBlockingPriority,ja=e.unstable_NormalPriority,W1=e.unstable_LowPriority,Ip=e.unstable_IdlePriority,Na=null,bn=null;function H1(r){if(bn&&typeof bn.onCommitFiberRoot=="function")try{bn.onCommitFiberRoot(Na,r,void 0,(r.current.flags&128)===128)}catch{}}var ln=Math.clz32?Math.clz32:Q1,G1=Math.log,K1=Math.LN2;function Q1(r){return r>>>=0,r===0?32:31-(G1(r)/K1|0)|0}var Sa=64,Ca=4194304;function Us(r){switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function Ea(r,s){var l=r.pendingLanes;if(l===0)return 0;var d=0,p=r.suspendedLanes,g=r.pingedLanes,w=l&268435455;if(w!==0){var C=w&~p;C!==0?d=Us(C):(g&=w,g!==0&&(d=Us(g)))}else w=l&~p,w!==0?d=Us(w):g!==0&&(d=Us(g));if(d===0)return 0;
vendor: 17,839 bytes, line 37
37if(s!==0&&s!==d&&(s&p)===0&&(p=d&-d,g=s&-s,p>=g||p===16&&(g&4194240)!==0))return s;if((d&4)!==0&&(d|=l&16),s=r.entangledLanes,s!==0)for(r=r.entanglements,s&=d;0<s;)l=31-ln(s),p=1<<l,d|=r[l],s&=~p;return d}function Y1(r,s){switch(r){case 1:case 2:case 4:return s+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function X1(r,s){for(var l=r.suspendedLanes,d=r.pingedLanes,p=r.expirationTimes,g=r.pendingLanes;0<g;){var w=31-ln(g),C=1<<w,R=p[w];R===-1?((C&l)===0||(C&d)!==0)&&(p[w]=Y1(C,s)):R<=s&&(r.expiredLanes|=C),g&=~C}}function Yc(r){return r=r.pendingLanes&-1073741825,r!==0?r:r&1073741824?1073741824:0}function Op(){var r=Sa;return Sa<<=1,(Sa&4194240)===0&&(Sa=64),r}function Xc(r){for(var s=[],l=0;31>l;l++)s.push(r);return s}function $s(r,s,l){r.pendingLanes|=s,s!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,s=31-ln(s),r[s]=l}function J1(r,s){var l=r.pendingLanes&~s;r.pendingLanes=s,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=s,r.mutableReadLanes&=s,r.entangledLanes&=s,s=r.entanglements;var d=r.eventTimes;for(r=r.expirationTimes;0<l;){var p=31-ln(l),g=1<<p;s[p]=0,d[p]=-1,r[p]=-1,l&=~g}}function Jc(r,s){var l=r.entangledLanes|=s;for(r=r.entanglements;l;){var d=31-ln(l),p=1<<d;p&s|r[d]&s&&(r[d]|=s),l&=~p}}var Ve=0;function Mp(r){return r&=-r,1<r?4<r?(r&268435455)!==0?16:536870912:4:1}var Lp,Zc,Dp,Fp,Vp,eu=!1,Pa=[],nr=null,rr=null,ir=null,qs=new Map,Ws=new Map,sr=[],Z1="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 zp(r,s){switch(r){case"focusin":case"focusout":nr=null;break;case"dragenter":case"dragleave":rr=null;break;case"mouseover":case"mouseout":ir=null;break;case"pointerover":case"pointerout":qs.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ws.delete(s.pointerId)}}function Hs(r,s,l,d,p,g){return r===null||r.nativeEvent!==g?(r={blockedOn:s,domEventName:l,eventSystemFlags:d,nativeEvent:g,targetContainers:[p]},s!==null&&(s=oo(s),s!==null&&Zc(s)),r):(r.eventSystemFlags|=d,s=r.targetContainers,p!==null&&s.indexOf(p)===-1&&s.push(p),r)}function e2(r,s,l,d,p){switch(s){case"focusin":return nr=Hs(nr,r,s,l,d,p),!0;case"dragenter":return rr=Hs(rr,r,s,l,d,p),!0;case"mouseover":return ir=Hs(ir,r,s,l,d,p),!0;case"pointerover":var g=p.pointerId;return qs.set(g,Hs(qs.get(g)||null,r,s,l,d,p)),!0;case"gotpointercapture":return g=p.pointerId,Ws.set(g,Hs(Ws.get(g)||null,r,s,l,d,p)),!0}return!1}function Bp(r){var s=Ur(r.target);if(s!==null){var l=Br(s);if(l!==null){if(s=l.tag,s===13){if(s=Cp(l),s!==null){r.blockedOn=s,Vp(r.priority,function(){Dp(l)});return}}else if(s===3&&l.stateNode.current.memoizedState.isDehydrated){r.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}r.blockedOn=null}function Ta(r){if(r.blockedOn!==null)return!1;for(var s=r.targetContainers;0<s.length;){var l=nu(r.domEventName,r.eventSystemFlags,s[0],r.nativeEvent);if(l===null){l=r.nativeEvent;var d=new l.constructor(l.type,l);$c=d,l.target.dispatchEvent(d),$c=null}else return s=oo(l),s!==null&&Zc(s),r.blockedOn=l,!1;s.shift()}return!0}function Up(r,s,l){Ta(r)&&l.delete(s)}function t2(){eu=!1,nr!==null&&Ta(nr)&&(nr=null),rr!==null&&Ta(rr)&&(rr=null),ir!==null&&Ta(ir)&&(ir=null),qs.forEach(Up),Ws.forEach(Up)}function Gs(r,s){r.blockedOn===s&&(r.blockedOn=null,eu||(eu=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,t2)))}function Ks(r){function s(p){return Gs(p,r)}if(0<Pa.length){Gs(Pa[0],r);for(var l=1;l<Pa.length;l++){var d=Pa[l];d.blockedOn===r&&(d.blockedOn=null)}}for(nr!==null&&Gs(nr,r),rr!==null&&Gs(rr,r),ir!==null&&Gs(ir,r),qs.forEach(s),Ws.forEach(s),l=0;l<sr.length;l++)d=sr[l],d.blockedOn===r&&(d.blockedOn=null);for(;0<sr.length&&(l=sr[0],l.blockedOn===null);)Bp(l),l.blockedOn===null&&sr.shift()}var Ri=_.ReactCurrentBatchConfig,_a=!0;function n2(r,s,l,d){var p=Ve,g=Ri.transition;Ri.transition=null;try{Ve=1,tu(r,s,l,d)}finally{Ve=p,Ri.transition=g}}function r2(r,s,l,d){var p=Ve,g=Ri.transition;Ri.transition=null;try{Ve=4,tu(r,s,l,d)}finally{Ve=p,Ri.transition=g}}function tu(r,s,l,d){if(_a){var p=nu(r,s,l,d);if(p===null)vu(r,s,d,Aa,l),zp(r,d);else if(e2(p,r,s,l,d))d.stopPropagation();else if(zp(r,d),s&4&&-1<Z1.indexOf(r)){for(;p!==null;){var g=oo(p);if(g!==null&&Lp(g),g=nu(r,s,l,d),g===null&&vu(r,s,d,Aa,l),g===p)break;p=g}p!==null&&d.stopPropagation()}else vu(r,s,d,null,l)}}var Aa=null;function nu(r,s,l,d){if(Aa=null,r=qc(d),r=Ur(r),r!==null)if(s=Br(r),s===null)r=null;else if(l=s.tag,l===13){if(r=Cp(s),r!==null)return r;r=null}else if(l===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;r=null}else s!==r&&(r=null);return Aa=r,null}function $p(r){switch(r){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(q1()){case Qc:return 1;case Rp:return 4;case ja:case W1:return 16;case Ip:return 536870912;default:return 16}default:return 16}}var or=null,ru=null,Ra=null;function qp(){if(Ra)return Ra;var r,s=ru,l=s.length,d,p="value"in or?or.value:or.textContent,g=p.length;for(r=0;r<l&&s[r]===p[r];r++);var w=l-r;for(d=1;d<=w&&s[l-d]===p[g-d];d++);return Ra=p.slice(r,1<d?1-d:void 0)}function Ia(r){var s=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&s===13&&(r=13)):r=s,r===10&&(r=13),32<=r||r===13?r:0}function Oa(){return!0}function Wp(){return!1}function qt(r){function s(l,d,p,g,w){this._reactName=l,this._targetInst=p,this.type=d,this.nativeEvent=g,this.target=w,this.currentTarget=null;for(var C in r)r.hasOwnProperty(C)&&(l=r[C],this[C]=l?l(g):g[C]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?Oa:Wp,this.isPropagationStopped=Wp,this}return ie(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Oa)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Oa)},persist:function(){},isPersistent:Oa}),s}var Ii={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},iu=qt(Ii),Qs=ie({},Ii,{view:0,detail:0}),i2=qt(Qs),su,ou,Ys,Ma=ie({},Qs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:lu,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==Ys&&(Ys&&r.type==="mousemove"?(su=r.screenX-Ys.screenX,ou=r.screenY-Ys.screenY):ou=su=0,Ys=r),su)},movementY:function(r){return"movementY"in r?r.movementY:ou}}),Hp=qt(Ma),s2=ie({},Ma,{dataTransfer:0}),o2=qt(s2),a2=ie({},Qs,{relatedTarget:0}),au=qt(a2),l2=ie({},Ii,{animationName:0,elapsedTime:0,pseudoElement:0}),c2=qt(l2),u2=ie({},Ii,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),d2=qt(u2),h2=ie({},Ii,{data:0}),Gp=qt(h2),f2={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},p2={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"},m2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function g2(r){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(r):(r=m2[r])?!!s[r]:!1}function lu(){return g2}var y2=ie({},Qs,{key:function(r){if(r.key){var s=f2[r.key]||r.key;if(s!=="Unidentified")return s}return r.type==="keypress"?(r=Ia(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?p2[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:lu,charCode:function(r){return r.type==="keypress"?Ia(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?Ia(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),x2=qt(y2),v2=ie({},Ma,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Kp=qt(v2),w2=ie({},Qs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:lu}),b2=qt(w2),k2=ie({},Ii,{propertyName:0,elapsedTime:0,pseudoElement:0}),j2=qt(k2),N2=ie({},Ma,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),S2=qt(N2),C2=[9,13,27,32],cu=h&&"CompositionEvent"in window,Xs=null;h&&"documentMode"in document&&(Xs=document.documentMode);var E2=h&&"TextEvent"in window&&!Xs,Qp=h&&(!cu||Xs&&8<Xs&&11>=Xs),Yp=" ",Xp=!1;function Jp(r,s){switch(r){case"keyup":return C2.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Zp(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Oi=!1;function P2(r,s){switch(r){case"compositionend":return Zp(s);case"keypress":return s.which!==32?null:(Xp=!0,Yp);case"textInput":return r=s.data,r===Yp&&Xp?null:r;default:return null}}function T2(r,s){if(Oi)return r==="compositionend"||!cu&&Jp(r,s)?(r=qp(),Ra=ru=or=null,Oi=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return Qp&&s.locale!=="ko"?null:s.data;default:return null}}var _2={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 em(r){var s=r&&r.nodeName&&r.nodeName.toLowerCase();return s==="input"?!!_2[r.type]:s==="textarea"}function tm(r,s,l,d){bp(d),s=za(s,"onChange"),0<s.length&&(l=new iu("onChange","change",null,l,d),r.push({event:l,listeners:s}))}var Js=null,Zs=null;function A2(r){vm(r,0)}function La(r){var s=Vi(r);if(zr(s))return r}function R2(r,s){if(r==="change")return s}var nm=!1;if(h){var uu;if(h){var du="oninput"in document;if(!du){var rm=document.createElement("div");rm.setAttribute("oninput","return;"),du=typeof rm.oninput=="function"}uu=du}else uu=!1;nm=uu&&(!document.documentMode||9<document.documentMode)}function im(){Js&&(Js.detachEvent("onpropertychange",sm),Zs=Js=null)}function sm(r){if(r.propertyName==="value"&&La(Zs)){var s=[];tm(s,Zs,r,qc(r)),Sp(A2,s)}}function I2(r,s,l){r==="focusin"?(im(),Js=s,Zs=l,Js.attachEvent("onpropertychange",sm)):r==="focusout"&&im()}function O2(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return La(Zs)}function M2(r,s){if(r==="click")return La(s)}function L2(r,s){if(r==="input"||r==="change")return La(s)}function D2(r,s){return r===s&&(r!==0||1/r===1/s)||r!==r&&s!==s}var cn=typeof Object.is=="function"?Object.is:D2;function eo(r,s){if(cn(r,s))return!0;if(typeof r!="object"||r===null||typeof s!="object"||s===null)return!1;var l=Object.keys(r),d=Object.keys(s);if(l.length!==d.length)return!1;for(d=0;d<l.length;d++){var p=l[d];if(!f.call(s,p)||!cn(r[p],s[p]))return!1}return!0}function om(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function am(r,s){var l=om(r);r=0;for(var d;l;){if(l.nodeType===3){if(d=r+l.textContent.length,r<=s&&d>=s)return{node:l,offset:s-r};r=d}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=om(l)}}function lm(r,s){return r&&s?r===s?!0:r&&r.nodeType===3?!1:s&&s.nodeType===3?lm(r,s.parentNode):"contains"in r?r.contains(s):r.compareDocumentPosition?!!(r.compareDocumentPosition(s)&16):!1:!1}function cm(){for(var r=window,s=va();s instanceof r.HTMLIFrameElement;){try{var l=typeof s.contentWindow.location.href=="string"}catch{l=!1}if(l)r=s.contentWindow;else break;s=va(r.document)}return s}function hu(r){var s=r&&r.nodeName&&r.nodeName.toLowerCase();return s&&(s==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||s==="textarea"||r.contentEditable==="true")}function F2(r){var s=cm(),l=r.focusedElem,d=r.selectionRange;if(s!==l&&l&&l.ownerDocument&&lm(l.ownerDocument.documentElement,l)){if(d!==null&&hu(l)){if(s=d.start,r=d.end,r===void 0&&(r=s),"selectionStart"in l)l.selectionStart=s,l.selectionEnd=Math.min(r,l.value.length);else if(r=(s=l.ownerDocument||document)&&s.defaultView||window,r.getSelection){r=r.getSelection();var p=l.textContent.length,g=Math.min(d.start,p);d=d.end===void 0?g:Math.min(d.end,p),!r.extend&&g>d&&(p=d,d=g,g=p),p=am(l,g);var w=am(l,d);p&&w&&(r.rangeCount!==1||r.anchorNode!==p.node||r.anchorOffset!==p.offset||r.focusNode!==w.node||r.focusOffset!==w.offset)&&(s=s.createRange(),s.setStart(p.node,p.offset),r.removeAllRanges(),g>d?(r.addRange(s),r.extend(w.node,w.offset)):(s.setEnd(w.node,w.offset),r.addRange(s)))}}for(s=[],r=l;r=r.parentNode;)r.nodeType===1&&s.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<s.length;l++)r=s[l],r.element.scrollLeft=r.left,r.element.scrollTop=r.top}}var V2=h&&"documentMode"in document&&11>=document.documentMode,Mi=null,fu=null,to=null,pu=!1;function um(r,s,l){var d=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;pu||Mi==null||Mi!==va(d)||(d=Mi,"selectionStart"in d&&hu(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),to&&eo(to,d)||(to=d,d=za(fu,"onSelect"),0<d.length&&(s=new iu("onSelect","select",null,s,l),r.push({event:s,listeners:d}),s.target=Mi)))}function Da(r,s){var l={};return l[r.toLowerCase()]=s.toLowerCase(),l["Webkit"+r]="webkit"+s,l["Moz"+r]="moz"+s,l}var Li={animationend:Da("Animation","AnimationEnd"),animationiteration:Da("Animation","AnimationIteration"),animationstart:Da("Animation","AnimationStart"),transitionend:Da("Transition","TransitionEnd")},mu={},dm={};h&&(dm=document.createElement("div").style,"AnimationEvent"in window||(delete Li.animationend.animation,delete Li.animationiteration.animation,delete Li.animationstart.animation),"TransitionEvent"in window||delete Li.transitionend.transition);function Fa(r){if(mu[r])return mu[r];if(!Li[r])return r;var s=Li[r],l;for(l in s)if(s.hasOwnProperty(l)&&l in dm)return mu[r]=s[l];return r}var hm=Fa("animationend"),fm=Fa("animationiteration"),pm=Fa("animationstart"),mm=Fa("transitionend"),gm=new Map,ym="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 ar(r,s){gm.set(r,s),c(s,[r])}for(var gu=0;gu<ym.length;gu++){var yu=ym[gu],z2=yu.toLowerCase(),B2=yu[0].toUpperCase()+yu.slice(1);ar(z2,"on"+B2)}ar(hm,"onAnimationEnd"),ar(fm,"onAnimationIteration"),ar(pm,"onAnimationStart"),ar("dblclick","onDoubleClick"),ar("focusin","onFocus"),ar("focusout","onBlur"),ar(mm,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focu
37sin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var no="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(" "),U2=new Set("cancel close invalid load scroll toggle".split(" ").concat(no));function xm(r,s,l){var d=r.type||"unknown-event";r.currentTarget=l,z1(d,s,void 0,r),r.currentTarget=null}function vm(r,s){s=(s&4)!==0;for(var l=0;l<r.length;l++){var d=r[l],p=d.event;d=d.listeners;e:{var g=void 0;if(s)for(var w=d.length-1;0<=w;w--){var C=d[w],R=C.instance,$=C.currentTarget;if(C=C.listener,R!==g&&p.isPropagationStopped())break e;xm(p,C,$),g=R}else for(w=0;w<d.length;w++){if(C=d[w],R=C.instance,$=C.currentTarget,C=C.listener,R!==g&&p.isPropagationStopped())break e;xm(p,C,$),g=R}}}if(ka)throw r=Kc,ka=!1,Kc=null,r}function $e(r,s){var l=s[Su];l===void 0&&(l=s[Su]=new Set);var d=r+"__bubble";l.has(d)||(wm(s,r,2,!1),l.add(d))}function xu(r,s,l){var d=0;s&&(d|=4),wm(l,r,d,s)}var Va="_reactListening"+Math.random().toString(36).slice(2);function ro(r){if(!r[Va]){r[Va]=!0,i.forEach(function(l){l!=="selectionchange"&&(U2.has(l)||xu(l,!1,r),xu(l,!0,r))});var s=r.nodeType===9?r:r.ownerDocument;s===null||s[Va]||(s[Va]=!0,xu("selectionchange",!1,s))}}function wm(r,s,l,d){switch($p(s)){case 1:var p=n2;break;case 4:p=r2;break;default:p=tu}l=p.bind(null,s,l,r),p=void 0,!Gc||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(p=!0),d?p!==void 0?r.addEventListener(s,l,{capture:!0,passive:p}):r.addEventListener(s,l,!0):p!==void 0?r.addEventListener(s,l,{passive:p}):r.addEventListener(s,l,!1)}function vu(r,s,l,d,p){var g=d;if((s&1)===0&&(s&2)===0&&d!==null)e:for(;;){if(d===null)return;var w=d.tag;if(w===3||w===4){var C=d.stateNode.containerInfo;if(C===p||C.nodeType===8&&C.parentNode===p)break;if(w===4)for(w=d.return;w!==null;){var R=w.tag;if((R===3||R===4)&&(R=w.stateNode.containerInfo,R===p||R.nodeType===8&&R.parentNode===p))return;w=w.return}for(;C!==null;){if(w=Ur(C),w===null)return;if(R=w.tag,R===5||R===6){d=g=w;continue e}C=C.parentNode}}d=d.return}Sp(function(){var $=g,J=qc(l),ee=[];e:{var X=gm.get(r);if(X!==void 0){var ce=iu,fe=r;switch(r){case"keypress":if(Ia(l)===0)break e;case"keydown":case"keyup":ce=x2;break;case"focusin":fe="focus",ce=au;break;case"focusout":fe="blur",ce=au;break;case"beforeblur":case"afterblur":ce=au;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ce=Hp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ce=o2;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ce=b2;break;case hm:case fm:case pm:ce=c2;break;case mm:ce=j2;break;case"scroll":ce=i2;break;case"wheel":ce=S2;break;case"copy":case"cut":case"paste":ce=d2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ce=Kp}var ge=(s&4)!==0,tt=!ge&&r==="scroll",V=ge?X!==null?X+"Capture":null:X;ge=[];for(var L=$,U;L!==null;){U=L;var re=U.stateNode;if(U.tag===5&&re!==null&&(U=re,V!==null&&(re=Vs(L,V),re!=null&&ge.push(io(L,re,U)))),tt)break;L=L.return}0<ge.length&&(X=new ce(X,fe,null,l,J),ee.push({event:X,listeners:ge}))}}if((s&7)===0){e:{if(X=r==="mouseover"||r==="pointerover",ce=r==="mouseout"||r==="pointerout",X&&l!==$c&&(fe=l.relatedTarget||l.fromElement)&&(Ur(fe)||fe[Dn]))break e;if((ce||X)&&(X=J.window===J?J:(X=J.ownerDocument)?X.defaultView||X.parentWindow:window,ce?(fe=l.relatedTarget||l.toElement,ce=$,fe=fe?Ur(fe):null,fe!==null&&(tt=Br(fe),fe!==tt||fe.tag!==5&&fe.tag!==6)&&(fe=null)):(ce=null,fe=$),ce!==fe)){if(ge=Hp,re="onMouseLeave",V="onMouseEnter",L="mouse",(r==="pointerout"||r==="pointerover")&&(ge=Kp,re="onPointerLeave",V="onPointerEnter",L="pointer"),tt=ce==null?X:Vi(ce),U=fe==null?X:Vi(fe),X=new ge(re,L+"leave",ce,l,J),X.target=tt,X.relatedTarget=U,re=null,Ur(J)===$&&(ge=new ge(V,L+"enter",fe,l,J),ge.target=U,ge.relatedTarget=tt,re=ge),tt=re,ce&&fe)t:{for(ge=ce,V=fe,L=0,U=ge;U;U=Di(U))L++;for(U=0,re=V;re;re=Di(re))U++;for(;0<L-U;)ge=Di(ge),L--;for(;0<U-L;)V=Di(V),U--;for(;L--;){if(ge===V||V!==null&&ge===V.alternate)break t;ge=Di(ge),V=Di(V)}ge=null}else ge=null;ce!==null&&bm(ee,X,ce,ge,!1),fe!==null&&tt!==null&&bm(ee,tt,fe,ge,!0)}}
vendor: 5,951 bytes, lines 37-38
37e:{if(X=$?Vi($):window,ce=X.nodeName&&X.nodeName.toLowerCase(),ce==="select"||ce==="input"&&X.type==="file")var ye=R2;else if(em(X))if(nm)ye=L2;else{ye=O2;var ve=I2}else(ce=X.nodeName)&&ce.toLowerCase()==="input"&&(X.type==="checkbox"||X.type==="radio")&&(ye=M2);if(ye&&(ye=ye(r,$))){tm(ee,ye,l,J);break e}ve&&ve(r,X,$),r==="focusout"&&(ve=X._wrapperState)&&ve.controlled&&X.type==="number"&&Fc(X,"number",X.value)}switch(ve=$?Vi($):window,r){case"focusin":(em(ve)||ve.contentEditable==="true")&&(Mi=ve,fu=$,to=null);break;case"focusout":to=fu=Mi=null;break;case"mousedown":pu=!0;break;case"contextmenu":case"mouseup":case"dragend":pu=!1,um(ee,l,J);break;case"selectionchange":if(V2)break;case"keydown":case"keyup":um(ee,l,J)}var we;if(cu)e:{switch(r){case"compositionstart":var je="onCompositionStart";break e;case"compositionend":je="onCompositionEnd";break e;case"compositionupdate":je="onCompositionUpdate";break e}je=void 0}else Oi?Jp(r,l)&&(je="onCompositionEnd"):r==="keydown"&&l.keyCode===229&&(je="onCompositionStart");je&&(Qp&&l.locale!=="ko"&&(Oi||je!=="onCompositionStart"?je==="onCompositionEnd"&&Oi&&(we=qp()):(or=J,ru="value"in or?or.value:or.textContent,Oi=!0)),ve=za($,je),0<ve.length&&(je=new Gp(je,r,null,l,J),ee.push({event:je,listeners:ve}),we?je.data=we:(we=Zp(l),we!==null&&(je.data=we)))),(we=E2?P2(r,l):T2(r,l))&&($=za($,"onBeforeInput"),0<$.length&&(J=new Gp("onBeforeInput","beforeinput",null,l,J),ee.push({event:J,listeners:$}),J.data=we))}vm(ee,s)})}function io(r,s,l){return{instance:r,listener:s,currentTarget:l}}function za(r,s){for(var l=s+"Capture",d=[];r!==null;){var p=r,g=p.stateNode;p.tag===5&&g!==null&&(p=g,g=Vs(r,l),g!=null&&d.unshift(io(r,g,p)),g=Vs(r,s),g!=null&&d.push(io(r,g,p))),r=r.return}return d}function Di(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5);return r||null}function bm(r,s,l,d,p){for(var g=s._reactName,w=[];l!==null&&l!==d;){var C=l,R=C.alternate,$=C.stateNode;if(R!==null&&R===d)break;C.tag===5&&$!==null&&(C=$,p?(R=Vs(l,g),R!=null&&w.unshift(io(l,R,C))):p||(R=Vs(l,g),R!=null&&w.push(io(l,R,C)))),l=l.return}w.length!==0&&r.push({event:s,listeners:w})}var $2=/\r\n?/g,q2=/\u0000|\uFFFD/g;function km(r){return(typeof r=="string"?r:""+r).replace($2,`
38`).replace(q2,"")}function Ba(r,s,l){if(s=km(s),km(r)!==s&&l)throw Error(n(425))}function Ua(){}var wu=null,bu=null;function ku(r,s){return r==="textarea"||r==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var ju=typeof setTimeout=="function"?setTimeout:void 0,W2=typeof clearTimeout=="function"?clearTimeout:void 0,jm=typeof Promise=="function"?Promise:void 0,H2=typeof queueMicrotask=="function"?queueMicrotask:typeof jm<"u"?function(r){return jm.resolve(null).then(r).catch(G2)}:ju;function G2(r){setTimeout(function(){throw r})}function Nu(r,s){var l=s,d=0;do{var p=l.nextSibling;if(r.removeChild(l),p&&p.nodeType===8)if(l=p.data,l==="/$"){if(d===0){r.removeChild(p),Ks(s);return}d--}else l!=="$"&&l!=="$?"&&l!=="$!"||d++;l=p}while(l);Ks(s)}function lr(r){for(;r!=null;r=r.nextSibling){var s=r.nodeType;if(s===1||s===3)break;if(s===8){if(s=r.data,s==="$"||s==="$!"||s==="$?")break;if(s==="/$")return null}}return r}function Nm(r){r=r.previousSibling;for(var s=0;r;){if(r.nodeType===8){var l=r.data;if(l==="$"||l==="$!"||l==="$?"){if(s===0)return r;s--}else l==="/$"&&s++}r=r.previousSibling}return null}var Fi=Math.random().toString(36).slice(2),kn="__reactFiber$"+Fi,so="__reactProps$"+Fi,Dn="__reactContainer$"+Fi,Su="__reactEvents$"+Fi,K2="__reactListeners$"+Fi,Q2="__reactHandles$"+Fi;function Ur(r){var s=r[kn];if(s)return s;for(var l=r.parentNode;l;){if(s=l[Dn]||l[kn]){if(l=s.alternate,s.child!==null||l!==null&&l.child!==null)for(r=Nm(r);r!==null;){if(l=r[kn])return l;r=Nm(r)}return s}r=l,l=r.parentNode}return null}function oo(r){return r=r[kn]||r[Dn],!r||r.tag!==5&&r.tag!==6&&r.tag!==13&&r.tag!==3?null:r}function Vi(r){if(r.tag===5||r.tag===6)return r.stateNode;throw Error(n(33))}function $a(r){return r[so]||null}var Cu=[],zi=-1;function cr(r){return{current:r}}function qe(r){0>zi||(r.current=Cu[zi],Cu[zi]=null,zi--)}function Ue(r,s){zi++,Cu[zi]=r.current,r.current=s}var ur={},wt=cr(ur),It=cr(!1),$r=ur;function Bi(r,s){var l=r.type.contextTypes;if(!l)return ur;var d=r.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===s)return d.__reactInternalMemoizedMaskedChildContext;var p={},g;for(g in l)p[g]=s[g];return d&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=s,r.__reactInternalMemoizedMaskedChildContext=p),p}function Ot(r){return r=r.childContextTypes,r!=null}function qa(){qe(It),qe(wt)}function Sm(r,s,l){if(wt.current!==ur)throw Error(n(168));Ue(wt,s),Ue(It,l)}function Cm(r,s,l){var d=r.stateNode;if(s=s.childContextTypes,typeof d.getChildContext!="function")return l;d=d.getChildContext();for(var p in d)if(!(p in s))throw Error(n(108,Ne(r)||"Unknown",p));return ie({},l,d)}function Wa(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||ur,$r=wt.current,Ue(wt,r),Ue(It,It.current),!0}function Em(r,s,l){var d=r.stateNode;if(!d)throw Error(n(169));l?(r=Cm(r,s,$r),d.__reactInternalMemoizedMergedChildContext=r,qe(It),qe(wt),Ue(wt,r)):qe(It),Ue(It,l)}var Fn=null,Ha=!1,Eu=!1;function Pm(r){Fn===null?Fn=[r]:Fn.push(r)}function Y2(r){Ha=!0,Pm(r)}function dr(){if(!Eu&&Fn!==null){Eu=!0;var r=0,s=Ve;try{var l=Fn;for(Ve=1;r<l.length;r++){var d=l[r];do d=d(!0);while(d!==null)}Fn=null,Ha=!1}catch(p){throw Fn!==null&&(Fn=Fn.slice(r+1)),_p(Qc,dr),p}finally{Ve=s,Eu=!1}}return null}var Ui=[],$i=0,Ga=null,Ka=0,Qt=[],Yt=0,qr=null,Vn=1,zn="";function Wr(r,s){Ui[$i++]=Ka,Ui[$i++]=Ga,Ga=r,Ka=s}function Tm(r,s,l){Qt[Yt++]=Vn,Qt[Yt++]=zn,Qt[Yt++]=qr,qr=r;var d=Vn;r=zn;var p=32-ln(d)-1;d&=~(1<<p),l+=1;var g=32-ln(s)+p;if(30<g){var w=p-p%5;g=(d&(1<<w)-1).toString(32),d>>=w,p-=w,Vn=1<<32-ln(s)+p|l<<p|d,zn=g+r}
vendor: 4,190 bytes, line 38
38else Vn=1<<g|l<<p|d,zn=r}function Pu(r){r.return!==null&&(Wr(r,1),Tm(r,1,0))}function Tu(r){for(;r===Ga;)Ga=Ui[--$i],Ui[$i]=null,Ka=Ui[--$i],Ui[$i]=null;for(;r===qr;)qr=Qt[--Yt],Qt[Yt]=null,zn=Qt[--Yt],Qt[Yt]=null,Vn=Qt[--Yt],Qt[Yt]=null}var Wt=null,Ht=null,He=!1,un=null;function _m(r,s){var l=en(5,null,null,0);l.elementType="DELETED",l.stateNode=s,l.return=r,s=r.deletions,s===null?(r.deletions=[l],r.flags|=16):s.push(l)}function Am(r,s){switch(r.tag){case 5:var l=r.type;return s=s.nodeType!==1||l.toLowerCase()!==s.nodeName.toLowerCase()?null:s,s!==null?(r.stateNode=s,Wt=r,Ht=lr(s.firstChild),!0):!1;case 6:return s=r.pendingProps===""||s.nodeType!==3?null:s,s!==null?(r.stateNode=s,Wt=r,Ht=null,!0):!1;case 13:return s=s.nodeType!==8?null:s,s!==null?(l=qr!==null?{id:Vn,overflow:zn}:null,r.memoizedState={dehydrated:s,treeContext:l,retryLane:1073741824},l=en(18,null,null,0),l.stateNode=s,l.return=r,r.child=l,Wt=r,Ht=null,!0):!1;default:return!1}}function _u(r){return(r.mode&1)!==0&&(r.flags&128)===0}function Au(r){if(He){var s=Ht;if(s){var l=s;if(!Am(r,s)){if(_u(r))throw Error(n(418));s=lr(l.nextSibling);var d=Wt;s&&Am(r,s)?_m(d,l):(r.flags=r.flags&-4097|2,He=!1,Wt=r)}}else{if(_u(r))throw Error(n(418));r.flags=r.flags&-4097|2,He=!1,Wt=r}}}function Rm(r){for(r=r.return;r!==null&&r.tag!==5&&r.tag!==3&&r.tag!==13;)r=r.return;Wt=r}function Qa(r){if(r!==Wt)return!1;if(!He)return Rm(r),He=!0,!1;var s;if((s=r.tag!==3)&&!(s=r.tag!==5)&&(s=r.type,s=s!=="head"&&s!=="body"&&!ku(r.type,r.memoizedProps)),s&&(s=Ht)){if(_u(r))throw Im(),Error(n(418));for(;s;)_m(r,s),s=lr(s.nextSibling)}if(Rm(r),r.tag===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(n(317));e:{for(r=r.nextSibling,s=0;r;){if(r.nodeType===8){var l=r.data;if(l==="/$"){if(s===0){Ht=lr(r.nextSibling);break e}s--}else l!=="$"&&l!=="$!"&&l!=="$?"||s++}r=r.nextSibling}Ht=null}}else Ht=Wt?lr(r.stateNode.nextSibling):null;return!0}function Im(){for(var r=Ht;r;)r=lr(r.nextSibling)}function qi(){Ht=Wt=null,He=!1}function Ru(r){un===null?un=[r]:un.push(r)}var X2=_.ReactCurrentBatchConfig;function ao(r,s,l){if(r=l.ref,r!==null&&typeof r!="function"&&typeof r!="object"){if(l._owner){if(l=l._owner,l){if(l.tag!==1)throw Error(n(309));var d=l.stateNode}if(!d)throw Error(n(147,r));var p=d,g=""+r;return s!==null&&s.ref!==null&&typeof s.ref=="function"&&s.ref._stringRef===g?s.ref:(s=function(w){var C=p.refs;w===null?delete C[g]:C[g]=w},s._stringRef=g,s)}if(typeof r!="string")throw Error(n(284));if(!l._owner)throw Error(n(290,r))}return r}function Ya(r,s){throw r=Object.prototype.toString.call(s),Error(n(31,r==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":r))}function Om(r){var s=r._init;return s(r._payload)}function Mm(r){function s(V,L){if(r){var U=V.deletions;U===null?(V.deletions=[L],V.flags|=16):U.push(L)}}function l(V,L){if(!r)return null;for(;L!==null;)s(V,L),L=L.sibling;return null}function d(V,L){for(V=new Map;L!==null;)L.key!==null?V.set(L.key,L):V.set(L.index,L),L=L.sibling;return V}function p(V,L){return V=vr(V,L),V.index=0,V.sibling=null,V}function g(V,L,U){return V.index=U,r?(U=V.alternate,U!==null?(U=U.index,U<L?(V.flags|=2,L):U):(V.flags|=2,L)):(V.flags|=1048576,L)}function w(V){return r&&V.alternate===null&&(V.flags|=2),V}function C(V,L,U,re){return L===null||L.tag!==6?(L=jd(U,V.mode,re),L.return=V,L):(L=p(L,U),L.return=V,L)}function R(V,L,U,re){var ye=U.type;return ye===Z?J(V,L,U.props.children,re,U.key):L!==null&&(L.elementType===ye||typeof ye=="object"&&ye!==null&&ye.$$typeof===Q&&Om(ye)===L.type)?(re=p(L,U.props),re.ref=ao(V,L,U),re.return=V,re):(re=wl(U.type,U.key,U.props,null,V.mode,re),re.ref=ao(V,L,U),re.return=V,re)}function $(V,L,U,re){return L===null||L.tag!==4||L.stateNode.containerInfo!==U.containerInfo||L.stateNode.implementation!==U.implementation?(L=Nd(U,V.mode,re),L.return=V,L):(L=p(L,U.children||[]),L.return=V,L)}function J(V,L,U,re,ye){return L===null||L.tag!==7?(L=Zr(U,V.mode,re,ye),L.return=V,L):(L=p(L,U),L.return=V,L)}function ee(V,L,U){if(typeof L=="string"&&L!==""||typeof L=="number")return L=jd(""+L,V.mode,U),L.return=V,L;if(typeof L=="object"&&L!==null){switch(L.$$typeof){case F:return U=wl(L.type,L.
vendor: 10,879 bytes, line 38
38key,L.props,null,V.mode,U),U.ref=ao(V,null,L),U.return=V,U;case W:return L=Nd(L,V.mode,U),L.return=V,L;case Q:var re=L._init;return ee(V,re(L._payload),U)}if(Ls(L)||oe(L))return L=Zr(L,V.mode,U,null),L.return=V,L;Ya(V,L)}return null}function X(V,L,U,re){var ye=L!==null?L.key:null;if(typeof U=="string"&&U!==""||typeof U=="number")return ye!==null?null:C(V,L,""+U,re);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case F:return U.key===ye?R(V,L,U,re):null;case W:return U.key===ye?$(V,L,U,re):null;case Q:return ye=U._init,X(V,L,ye(U._payload),re)}if(Ls(U)||oe(U))return ye!==null?null:J(V,L,U,re,null);Ya(V,U)}return null}function ce(V,L,U,re,ye){if(typeof re=="string"&&re!==""||typeof re=="number")return V=V.get(U)||null,C(L,V,""+re,ye);if(typeof re=="object"&&re!==null){switch(re.$$typeof){case F:return V=V.get(re.key===null?U:re.key)||null,R(L,V,re,ye);case W:return V=V.get(re.key===null?U:re.key)||null,$(L,V,re,ye);case Q:var ve=re._init;return ce(V,L,U,ve(re._payload),ye)}if(Ls(re)||oe(re))return V=V.get(U)||null,J(L,V,re,ye,null);Ya(L,re)}return null}function fe(V,L,U,re){for(var ye=null,ve=null,we=L,je=L=0,ft=null;we!==null&&je<U.length;je++){we.index>je?(ft=we,we=null):ft=we.sibling;var Me=X(V,we,U[je],re);if(Me===null){we===null&&(we=ft);break}r&&we&&Me.alternate===null&&s(V,we),L=g(Me,L,je),ve===null?ye=Me:ve.sibling=Me,ve=Me,we=ft}if(je===U.length)return l(V,we),He&&Wr(V,je),ye;if(we===null){for(;je<U.length;je++)we=ee(V,U[je],re),we!==null&&(L=g(we,L,je),ve===null?ye=we:ve.sibling=we,ve=we);return He&&Wr(V,je),ye}for(we=d(V,we);je<U.length;je++)ft=ce(we,V,je,U[je],re),ft!==null&&(r&&ft.alternate!==null&&we.delete(ft.key===null?je:ft.key),L=g(ft,L,je),ve===null?ye=ft:ve.sibling=ft,ve=ft);return r&&we.forEach(function(wr){return s(V,wr)}),He&&Wr(V,je),ye}function ge(V,L,U,re){var ye=oe(U);if(typeof ye!="function")throw Error(n(150));if(U=ye.call(U),U==null)throw Error(n(151));for(var ve=ye=null,we=L,je=L=0,ft=null,Me=U.next();we!==null&&!Me.done;je++,Me=U.next()){we.index>je?(ft=we,we=null):ft=we.sibling;var wr=X(V,we,Me.value,re);if(wr===null){we===null&&(we=ft);break}r&&we&&wr.alternate===null&&s(V,we),L=g(wr,L,je),ve===null?ye=wr:ve.sibling=wr,ve=wr,we=ft}if(Me.done)return l(V,we),He&&Wr(V,je),ye;if(we===null){for(;!Me.done;je++,Me=U.next())Me=ee(V,Me.value,re),Me!==null&&(L=g(Me,L,je),ve===null?ye=Me:ve.sibling=Me,ve=Me);return He&&Wr(V,je),ye}for(we=d(V,we);!Me.done;je++,Me=U.next())Me=ce(we,V,je,Me.value,re),Me!==null&&(r&&Me.alternate!==null&&we.delete(Me.key===null?je:Me.key),L=g(Me,L,je),ve===null?ye=Me:ve.sibling=Me,ve=Me);return r&&we.forEach(function(_k){return s(V,_k)}),He&&Wr(V,je),ye}function tt(V,L,U,re){if(typeof U=="object"&&U!==null&&U.type===Z&&U.key===null&&(U=U.props.children),typeof U=="object"&&U!==null){switch(U.$$typeof){case F:e:{for(var ye=U.key,ve=L;ve!==null;){if(ve.key===ye){if(ye=U.type,ye===Z){if(ve.tag===7){l(V,ve.sibling),L=p(ve,U.props.children),L.return=V,V=L;break e}}else if(ve.elementType===ye||typeof ye=="object"&&ye!==null&&ye.$$typeof===Q&&Om(ye)===ve.type){l(V,ve.sibling),L=p(ve,U.props),L.ref=ao(V,ve,U),L.return=V,V=L;break e}l(V,ve);break}else s(V,ve);ve=ve.sibling}U.type===Z?(L=Zr(U.props.children,V.mode,re,U.key),L.return=V,V=L):(re=wl(U.type,U.key,U.props,null,V.mode,re),re.ref=ao(V,L,U),re.return=V,V=re)}return w(V);case W:e:{for(ve=U.key;L!==null;){if(L.key===ve)if(L.tag===4&&L.stateNode.containerInfo===U.containerInfo&&L.stateNode.implementation===U.implementation){l(V,L.sibling),L=p(L,U.children||[]),L.return=V,V=L;break e}else{l(V,L);break}else s(V,L);L=L.sibling}L=Nd(U,V.mode,re),L.return=V,V=L}return w(V);case Q:return ve=U._init,tt(V,L,ve(U._payload),re)}if(Ls(U))return fe(V,L,U,re);if(oe(U))return ge(V,L,U,re);Ya(V,U)}return typeof U=="string"&&U!==""||typeof U=="number"?(U=""+U,L!==null&&L.tag===6?(l(V,L.sibling),L=p(L,U),L.return=V,V=L):(l(V,L),L=jd(U,V.mode,re),L.return=V,V=L),w(V)):l(V,L)}return tt}var Wi=Mm(!0),Lm=Mm(!1),Xa=cr(null),Ja=null,Hi=null,Iu=null;function Ou(){Iu=Hi=Ja=null}function Mu(r){var s=Xa.current;qe(Xa),r._currentValue=s}function Lu(r,s,l){for(;r!==null;){var d=r.alternate;if((r.childLanes&s)!==s?(r.childLanes|=s,d!==null&&(d.childLanes|=s)):d!==null&&(d.childLanes&s)!==s&&(d.childLanes|=s),r===l)break;r=r.return}}function Gi(r,s){Ja=r,Iu=Hi=null,r=r.dependencies,r!==null&&r.firstContext!==null&&((r.lanes&s)!==0&&(Mt=!0),r.firstContext=null)}function Xt(r){var s=r._currentValue;if(Iu!==r)if(r={context:r,memoizedValue:s,next:null},Hi===null){if(Ja===null)throw Error(n(308));Hi=r,Ja.dependencies={lanes:0,firstContext:r}}else Hi=Hi.next=r;return s}var Hr=null;function Du(r){Hr===null?Hr=[r]:Hr.push(r)}function Dm(r,s,l,d){var p=s.interleaved;return p===null?(l.next=l,Du(s)):(l.next=p.next,p.next=l),s.interleaved=l,Bn(r,d)}function Bn(r,s){r.lanes|=s;var l=r.alternate;for(l!==null&&(l.lanes|=s),l=r,r=r.return;r!==null;)r.childLanes|=s,l=r.alternate,l!==null&&(l.childLanes|=s),l=r,r=r.return;return l.tag===3?l.stateNode:null}var hr=!1;function Fu(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Fm(r,s){r=r.updateQueue,s.updateQueue===r&&(s.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects})}function Un(r,s){return{eventTime:r,lane:s,tag:0,payload:null,callback:null,next:null}}function fr(r,s,l){var d=r.updateQueue;if(d===null)return null;if(d=d.shared,(Ie&2)!==0){var p=d.pending;return p===null?s.next=s:(s.next=p.next,p.next=s),d.pending=s,Bn(r,l)}return p=d.interleaved,p===null?(s.next=s,Du(d)):(s.next=p.next,p.next=s),d.interleaved=s,Bn(r,l)}function Za(r,s,l){if(s=s.updateQueue,s!==null&&(s=s.shared,(l&4194240)!==0)){var d=s.lanes;d&=r.pendingLanes,l|=d,s.lanes=l,Jc(r,l)}}function Vm(r,s){var l=r.updateQueue,d=r.alternate;if(d!==null&&(d=d.updateQueue,l===d)){var p=null,g=null;if(l=l.firstBaseUpdate,l!==null){do{var w={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};g===null?p=g=w:g=g.next=w,l=l.next}while(l!==null);g===null?p=g=s:g=g.next=s}else p=g=s;l={baseState:d.baseState,firstBaseUpdate:p,lastBaseUpdate:g,shared:d.shared,effects:d.effects},r.updateQueue=l;return}r=l.lastBaseUpdate,r===null?l.firstBaseUpdate=s:r.next=s,l.lastBaseUpdate=s}function el(r,s,l,d){var p=r.updateQueue;hr=!1;var g=p.firstBaseUpdate,w=p.lastBaseUpdate,C=p.shared.pending;if(C!==null){p.shared.pending=null;var R=C,$=R.next;R.next=null,w===null?g=$:w.next=$,w=R;var J=r.alternate;J!==null&&(J=J.updateQueue,C=J.lastBaseUpdate,C!==w&&(C===null?J.firstBaseUpdate=$:C.next=$,J.lastBaseUpdate=R))}if(g!==null){var ee=p.baseState;w=0,J=$=R=null,C=g;do{var X=C.lane,ce=C.eventTime;if((d&X)===X){J!==null&&(J=J.next={eventTime:ce,lane:0,tag:C.tag,payload:C.payload,callback:C.callback,next:null});e:{var fe=r,ge=C;switch(X=s,ce=l,ge.tag){case 1:if(fe=ge.payload,typeof fe=="function"){ee=fe.call(ce,ee,X);break e}ee=fe;break e;case 3:fe.flags=fe.flags&-65537|128;case 0:if(fe=ge.payload,X=typeof fe=="function"?fe.call(ce,ee,X):fe,X==null)break e;ee=ie({},ee,X);break e;case 2:hr=!0}}C.callback!==null&&C.lane!==0&&(r.flags|=64,X=p.effects,X===null?p.effects=[C]:X.push(C))}else ce={eventTime:ce,lane:X,tag:C.tag,payload:C.payload,callback:C.callback,next:null},J===null?($=J=ce,R=ee):J=J.next=ce,w|=X;if(C=C.next,C===null){if(C=p.shared.pending,C===null)break;X=C,C=X.next,X.next=null,p.lastBaseUpdate=X,p.shared.pending=null}}while(!0);if(J===null&&(R=ee),p.baseState=R,p.firstBaseUpdate=$,p.lastBaseUpdate=J,s=p.shared.interleaved,s!==null){p=s;do w|=p.lane,p=p.next;while(p!==s)}else g===null&&(p.shared.lanes=0);Qr|=w,r.lanes=w,r.memoizedState=ee}}function zm(r,s,l){if(r=s.effects,s.effects=null,r!==null)for(s=0;s<r.length;s++){var d=r[s],p=d.callback;if(p!==null){if(d.callback=null,d=l,typeof p!="function")throw Error(n(191,p));p.call(d)}}}var lo={},jn=cr(lo),co=cr(lo),uo=cr(lo);function Gr(r){if(r===lo)throw Error(n(174));return r}function Vu(r,s){switch(Ue(uo,s),Ue(co,r),Ue(jn,lo),r=s.nodeType,r){case 9:case 11:s=(s=s.documentElement)?s.namespaceURI:zc(null,"");break;default:r=r===8?s.parentNode:s,s=r.namespaceURI||null,r=r.tagName,s=zc(s,r)}qe(jn),Ue(jn,s)}function Ki(){qe(jn),qe(co),qe(uo)}function Bm(r){Gr(uo.current);var s=Gr(jn.current),l=zc(s,r.type);s!==l&&(Ue(co,r),Ue(jn,l))}function zu(r){co.current===r&&(qe(jn),qe(co))}var Ge=cr(0);function tl(r){for(var s=r;s!==null;){if(s.tag===13){var l=s.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||l.data==="$!"))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var Bu=[];function Uu(){for(var r=0;r<Bu.length;r++)Bu[r]._workInProgressVersionPrimary=null;Bu.length=0}var nl=_.ReactCurrentDispatcher,$u=_.ReactCurrentBatchConfig,Kr=0,Ke=null,at=null,dt=null,rl=!1,ho=!1,fo=0,J2=0;function bt(){throw Error(n(321))}function qu(r,s){if(s===null)return!1;for(var l=0;l<s.length&&l<r.length;l++)if(!cn(r[l],s[l]))return!1;return!0}function Wu(r,s,l,d,p,g){if(Kr=g,Ke=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,nl.current=r===null||r.memoizedState===null?nk:rk,r=l(d,p),ho){g=0;do{if(ho=!1,fo=0,25<=g)throw Error(n(301));g+=1,dt=at=null,s.updateQueue=null,nl.current=ik,r=l(d,p)}while(ho)}if(nl.current=ol,s=at!==null&&at.next!==null,Kr=0,dt=at=Ke=null,rl=!1,s)throw Error(n(300));return r}function Hu(){var r=fo!==0;return fo=0,r}function Nn(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return dt===null?Ke.memoizedState=dt=r:dt=dt.next=r,dt}function Jt(){if(at===null){var r=Ke.alternate;r=r!==null?r.memoizedState:null}else r=at.next;var s=dt===null?Ke.memoizedState:dt.next;if(s!==null)dt=s,at=r;else{if(r===null)throw Error(n(310));at=r,r={memoizedState:at.memoizedState,baseState:at.baseState,baseQueue:at.baseQueue,queue:at.queue,next:null},dt===null?Ke.memoizedState=dt=r:dt=dt.next=r}return dt}function po(r,s){return typeof s=="function"?s(r):s}function Gu(r){var s=Jt(),l=s.queue;if(l===null)throw Error(n(311));l.lastRenderedReducer=r;var d=at,p=d.baseQueue,g=l.pending;if(g!==null){if(p!==null){var w=p.next;p.next=g.next,g.next=w}d.baseQueue=p=g,l.pending=null}if(p!==null){g=p.next,d=d.baseState;var C=w=null,R=null,$=g;do{var J=$.lane;if((Kr&J)===J)R!==null&&(R=R.next={lane:0,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null}),d=$.hasEagerState?$.eagerState:r(d,$.action);else{var ee={lane:J,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null};R===null?(C=R=ee,w=d):R=R.next=ee,Ke.lanes|=J,Qr|=J}$=$.next}
vendor: 5,173 bytes, line 38
38while($!==null&&$!==g);R===null?w=d:R.next=C,cn(d,s.memoizedState)||(Mt=!0),s.memoizedState=d,s.baseState=w,s.baseQueue=R,l.lastRenderedState=d}if(r=l.interleaved,r!==null){p=r;do g=p.lane,Ke.lanes|=g,Qr|=g,p=p.next;while(p!==r)}else p===null&&(l.lanes=0);return[s.memoizedState,l.dispatch]}function Ku(r){var s=Jt(),l=s.queue;if(l===null)throw Error(n(311));l.lastRenderedReducer=r;var d=l.dispatch,p=l.pending,g=s.memoizedState;if(p!==null){l.pending=null;var w=p=p.next;do g=r(g,w.action),w=w.next;while(w!==p);cn(g,s.memoizedState)||(Mt=!0),s.memoizedState=g,s.baseQueue===null&&(s.baseState=g),l.lastRenderedState=g}return[g,d]}function Um(){}function $m(r,s){var l=Ke,d=Jt(),p=s(),g=!cn(d.memoizedState,p);if(g&&(d.memoizedState=p,Mt=!0),d=d.queue,Qu(Hm.bind(null,l,d,r),[r]),d.getSnapshot!==s||g||dt!==null&&dt.memoizedState.tag&1){if(l.flags|=2048,mo(9,Wm.bind(null,l,d,p,s),void 0,null),ht===null)throw Error(n(349));(Kr&30)!==0||qm(l,s,p)}return p}function qm(r,s,l){r.flags|=16384,r={getSnapshot:s,value:l},s=Ke.updateQueue,s===null?(s={lastEffect:null,stores:null},Ke.updateQueue=s,s.stores=[r]):(l=s.stores,l===null?s.stores=[r]:l.push(r))}function Wm(r,s,l,d){s.value=l,s.getSnapshot=d,Gm(s)&&Km(r)}function Hm(r,s,l){return l(function(){Gm(s)&&Km(r)})}function Gm(r){var s=r.getSnapshot;r=r.value;try{var l=s();return!cn(r,l)}catch{return!0}}function Km(r){var s=Bn(r,1);s!==null&&pn(s,r,1,-1)}function Qm(r){var s=Nn();return typeof r=="function"&&(r=r()),s.memoizedState=s.baseState=r,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:po,lastRenderedState:r},s.queue=r,r=r.dispatch=tk.bind(null,Ke,r),[s.memoizedState,r]}function mo(r,s,l,d){return r={tag:r,create:s,destroy:l,deps:d,next:null},s=Ke.updateQueue,s===null?(s={lastEffect:null,stores:null},Ke.updateQueue=s,s.lastEffect=r.next=r):(l=s.lastEffect,l===null?s.lastEffect=r.next=r:(d=l.next,l.next=r,r.next=d,s.lastEffect=r)),r}function Ym(){return Jt().memoizedState}function il(r,s,l,d){var p=Nn();Ke.flags|=r,p.memoizedState=mo(1|s,l,void 0,d===void 0?null:d)}function sl(r,s,l,d){var p=Jt();d=d===void 0?null:d;var g=void 0;if(at!==null){var w=at.memoizedState;if(g=w.destroy,d!==null&&qu(d,w.deps)){p.memoizedState=mo(s,l,g,d);return}}Ke.flags|=r,p.memoizedState=mo(1|s,l,g,d)}function Xm(r,s){return il(8390656,8,r,s)}function Qu(r,s){return sl(2048,8,r,s)}function Jm(r,s){return sl(4,2,r,s)}function Zm(r,s){return sl(4,4,r,s)}function e0(r,s){if(typeof s=="function")return r=r(),s(r),function(){s(null)};if(s!=null)return r=r(),s.current=r,function(){s.current=null}}function t0(r,s,l){return l=l!=null?l.concat([r]):null,sl(4,4,e0.bind(null,s,r),l)}function Yu(){}function n0(r,s){var l=Jt();s=s===void 0?null:s;var d=l.memoizedState;return d!==null&&s!==null&&qu(s,d[1])?d[0]:(l.memoizedState=[r,s],r)}function r0(r,s){var l=Jt();s=s===void 0?null:s;var d=l.memoizedState;return d!==null&&s!==null&&qu(s,d[1])?d[0]:(r=r(),l.memoizedState=[r,s],r)}function i0(r,s,l){return(Kr&21)===0?(r.baseState&&(r.baseState=!1,Mt=!0),r.memoizedState=l):(cn(l,s)||(l=Op(),Ke.lanes|=l,Qr|=l,r.baseState=!0),s)}function Z2(r,s){var l=Ve;Ve=l!==0&&4>l?l:4,r(!0);var d=$u.transition;$u.transition={};try{r(!1),s()}finally{Ve=l,$u.transition=d}}function s0(){return Jt().memoizedState}function ek(r,s,l){var d=yr(r);if(l={lane:d,action:l,hasEagerState:!1,eagerState:null,next:null},o0(r))a0(s,l);else if(l=Dm(r,s,l,d),l!==null){var p=Pt();pn(l,r,d,p),l0(l,s,d)}}function tk(r,s,l){var d=yr(r),p={lane:d,action:l,hasEagerState:!1,eagerState:null,next:null};if(o0(r))a0(s,p);else{var g=r.alternate;if(r.lanes===0&&(g===null||g.lanes===0)&&(g=s.lastRenderedReducer,g!==null))try{var w=s.lastRenderedState,C=g(w,l);if(p.hasEagerState=!0,p.eagerState=C,cn(C,w)){var R=s.interleaved;R===null?(p.next=p,Du(s)):(p.next=R.next,R.next=p),s.interleaved=p;return}}catch{}finally{}l=Dm(r,s,p,d),l!==null&&(p=Pt(),pn(l,r,d,p),l0(l,s,d))}}function o0(r){var s=r.alternate;return r===Ke||s!==null&&s===Ke}function a0(r,s){ho=rl=!0;var l=r.pending;l===null?s.next=s:(s.next=l.next,l.next=s),r.pending=s}function l0(r,s,l){if((l&4194240)!==0){var d=s.lanes;d&=r.pendingLanes,l|=d,s.lanes=l,Jc(r,l)}}var ol={readContext:Xt,useCallback:bt,useContext:bt,useEffect:bt,useImperativeHandle:bt,useInsertionEffect:bt,useLayoutEffect:bt,useMemo:bt,useReducer:bt,useRef:bt,useState:bt,useDebugValue:bt,useDeferredValue:bt,useTransition:bt,useMutableSource:bt,useSyncExternalStore:bt,useId:bt,unstable_isNewReconciler:!1},nk={readContext:Xt,useCallback:function(r,s){return Nn().memoizedState=[r,s===void 0?null:s],r},useContext:Xt,useEffect:Xm,useImperativeHandle:function(r,s,l){return l=l!=null?l.concat([r]):null,il(4194308,4,e0.bind(null,s,r),l)},useLayoutEffect:function(r,s){return il(4194308,4,r,s)},useInsertionEffect:function(r,s){return il(4,2,r,s)},useMemo:function(r,s){var l=Nn();return s=s===void 0?null:s,r=r(),l.memoizedState=[r,s],r},useReducer:function(r,s,l){var d=Nn();return s=l!==void 0?l(s):s,d.memoizedState=d.baseState=s,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:s},d.queue=r,r=r.dispatch=ek.bind(null,Ke,r),[d.memoizedState,r]}
vendor: 5,242 bytes, lines 38-40
38,useRef:function(r){var s=Nn();return r={current:r},s.memoizedState=r},useState:Qm,useDebugValue:Yu,useDeferredValue:function(r){return Nn().memoizedState=r},useTransition:function(){var r=Qm(!1),s=r[0];return r=Z2.bind(null,r[1]),Nn().memoizedState=r,[s,r]},useMutableSource:function(){},useSyncExternalStore:function(r,s,l){var d=Ke,p=Nn();if(He){if(l===void 0)throw Error(n(407));l=l()}else{if(l=s(),ht===null)throw Error(n(349));(Kr&30)!==0||qm(d,s,l)}p.memoizedState=l;var g={value:l,getSnapshot:s};return p.queue=g,Xm(Hm.bind(null,d,g,r),[r]),d.flags|=2048,mo(9,Wm.bind(null,d,g,l,s),void 0,null),l},useId:function(){var r=Nn(),s=ht.identifierPrefix;if(He){var l=zn,d=Vn;l=(d&~(1<<32-ln(d)-1)).toString(32)+l,s=":"+s+"R"+l,l=fo++,0<l&&(s+="H"+l.toString(32)),s+=":"}else l=J2++,s=":"+s+"r"+l.toString(32)+":";return r.memoizedState=s},unstable_isNewReconciler:!1},rk={readContext:Xt,useCallback:n0,useContext:Xt,useEffect:Qu,useImperativeHandle:t0,useInsertionEffect:Jm,useLayoutEffect:Zm,useMemo:r0,useReducer:Gu,useRef:Ym,useState:function(){return Gu(po)},useDebugValue:Yu,useDeferredValue:function(r){var s=Jt();return i0(s,at.memoizedState,r)},useTransition:function(){var r=Gu(po)[0],s=Jt().memoizedState;return[r,s]},useMutableSource:Um,useSyncExternalStore:$m,useId:s0,unstable_isNewReconciler:!1},ik={readContext:Xt,useCallback:n0,useContext:Xt,useEffect:Qu,useImperativeHandle:t0,useInsertionEffect:Jm,useLayoutEffect:Zm,useMemo:r0,useReducer:Ku,useRef:Ym,useState:function(){return Ku(po)},useDebugValue:Yu,useDeferredValue:function(r){var s=Jt();return at===null?s.memoizedState=r:i0(s,at.memoizedState,r)},useTransition:function(){var r=Ku(po)[0],s=Jt().memoizedState;return[r,s]},useMutableSource:Um,useSyncExternalStore:$m,useId:s0,unstable_isNewReconciler:!1};function dn(r,s){if(r&&r.defaultProps){s=ie({},s),r=r.defaultProps;for(var l in r)s[l]===void 0&&(s[l]=r[l]);return s}return s}function Xu(r,s,l,d){s=r.memoizedState,l=l(d,s),l=l==null?s:ie({},s,l),r.memoizedState=l,r.lanes===0&&(r.updateQueue.baseState=l)}var al={isMounted:function(r){return(r=r._reactInternals)?Br(r)===r:!1},enqueueSetState:function(r,s,l){r=r._reactInternals;var d=Pt(),p=yr(r),g=Un(d,p);g.payload=s,l!=null&&(g.callback=l),s=fr(r,g,p),s!==null&&(pn(s,r,p,d),Za(s,r,p))},enqueueReplaceState:function(r,s,l){r=r._reactInternals;var d=Pt(),p=yr(r),g=Un(d,p);g.tag=1,g.payload=s,l!=null&&(g.callback=l),s=fr(r,g,p),s!==null&&(pn(s,r,p,d),Za(s,r,p))},enqueueForceUpdate:function(r,s){r=r._reactInternals;var l=Pt(),d=yr(r),p=Un(l,d);p.tag=2,s!=null&&(p.callback=s),s=fr(r,p,d),s!==null&&(pn(s,r,d,l),Za(s,r,d))}};function c0(r,s,l,d,p,g,w){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(d,g,w):s.prototype&&s.prototype.isPureReactComponent?!eo(l,d)||!eo(p,g):!0}function u0(r,s,l){var d=!1,p=ur,g=s.contextType;return typeof g=="object"&&g!==null?g=Xt(g):(p=Ot(s)?$r:wt.current,d=s.contextTypes,g=(d=d!=null)?Bi(r,p):ur),s=new s(l,g),r.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=al,r.stateNode=s,s._reactInternals=r,d&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=p,r.__reactInternalMemoizedMaskedChildContext=g),s}function d0(r,s,l,d){r=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(l,d),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(l,d),s.state!==r&&al.enqueueReplaceState(s,s.state,null)}function Ju(r,s,l,d){var p=r.stateNode;p.props=l,p.state=r.memoizedState,p.refs={},Fu(r);var g=s.contextType;typeof g=="object"&&g!==null?p.context=Xt(g):(g=Ot(s)?$r:wt.current,p.context=Bi(r,g)),p.state=r.memoizedState,g=s.getDerivedStateFromProps,typeof g=="function"&&(Xu(r,s,g,l),p.state=r.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(s=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),s!==p.state&&al.enqueueReplaceState(p,p.state,null),el(r,l,p,d),p.state=r.memoizedState),typeof p.componentDidMount=="function"&&(r.flags|=4194308)}function Qi(r,s){try{var l="",d=s;do l+=Ce(d),d=d.return;while(d);var p=l}catch(g){p=`
39Error generating stack: `+g.message+`
40`+g.stack}return{value:r,source:s,stack:p,digest:null}}function Zu(r,s,l){return{value:r,source:null,stack:l??null,digest:s??null}}function ed(r,s){try{console.error(s.value)}catch(l){setTimeout(function(){throw l})}}var sk=typeof WeakMap=="function"?WeakMap:Map;function h0(r,s,l){l=Un(-1,l),l.tag=3,l.payload={element:null};var d=s.value;return l.callback=function(){pl||(pl=!0,md=d),ed(r,s)},l}function f0(r,s,l){l=Un(-1,l),l.tag=3;var d=r.type.getDerivedStateFromError;if(typeof d=="function"){var p=s.value;l.payload=function(){return d(p)},l.callback=function(){ed(r,s)}}var g=r.stateNode;return g!==null&&typeof g.componentDidCatch=="function"&&(l.callback=function(){ed(r,s),typeof d!="function"&&(mr===null?mr=new Set([this]):mr.add(this));var w=s.stack;this.componentDidCatch(s.value,{componentStack:w!==null?w:""})}),l}function p0(r,s,l){var d=r.pingCache;
vendor: 37,025 bytes, line 40
40if(d===null){d=r.pingCache=new sk;var p=new Set;d.set(s,p)}else p=d.get(s),p===void 0&&(p=new Set,d.set(s,p));p.has(l)||(p.add(l),r=vk.bind(null,r,s,l),s.then(r,r))}function m0(r){do{var s;if((s=r.tag===13)&&(s=r.memoizedState,s=s!==null?s.dehydrated!==null:!0),s)return r;r=r.return}while(r!==null);return null}function g0(r,s,l,d,p){return(r.mode&1)===0?(r===s?r.flags|=65536:(r.flags|=128,l.flags|=131072,l.flags&=-52805,l.tag===1&&(l.alternate===null?l.tag=17:(s=Un(-1,1),s.tag=2,fr(l,s,1))),l.lanes|=1),r):(r.flags|=65536,r.lanes=p,r)}var ok=_.ReactCurrentOwner,Mt=!1;function Et(r,s,l,d){s.child=r===null?Lm(s,null,l,d):Wi(s,r.child,l,d)}function y0(r,s,l,d,p){l=l.render;var g=s.ref;return Gi(s,p),d=Wu(r,s,l,d,g,p),l=Hu(),r!==null&&!Mt?(s.updateQueue=r.updateQueue,s.flags&=-2053,r.lanes&=~p,$n(r,s,p)):(He&&l&&Pu(s),s.flags|=1,Et(r,s,d,p),s.child)}function x0(r,s,l,d,p){if(r===null){var g=l.type;return typeof g=="function"&&!kd(g)&&g.defaultProps===void 0&&l.compare===null&&l.defaultProps===void 0?(s.tag=15,s.type=g,v0(r,s,g,d,p)):(r=wl(l.type,null,d,s,s.mode,p),r.ref=s.ref,r.return=s,s.child=r)}if(g=r.child,(r.lanes&p)===0){var w=g.memoizedProps;if(l=l.compare,l=l!==null?l:eo,l(w,d)&&r.ref===s.ref)return $n(r,s,p)}return s.flags|=1,r=vr(g,d),r.ref=s.ref,r.return=s,s.child=r}function v0(r,s,l,d,p){if(r!==null){var g=r.memoizedProps;if(eo(g,d)&&r.ref===s.ref)if(Mt=!1,s.pendingProps=d=g,(r.lanes&p)!==0)(r.flags&131072)!==0&&(Mt=!0);else return s.lanes=r.lanes,$n(r,s,p)}return td(r,s,l,d,p)}function w0(r,s,l){var d=s.pendingProps,p=d.children,g=r!==null?r.memoizedState:null;if(d.mode==="hidden")if((s.mode&1)===0)s.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ue(Xi,Gt),Gt|=l;else{if((l&1073741824)===0)return r=g!==null?g.baseLanes|l:l,s.lanes=s.childLanes=1073741824,s.memoizedState={baseLanes:r,cachePool:null,transitions:null},s.updateQueue=null,Ue(Xi,Gt),Gt|=r,null;s.memoizedState={baseLanes:0,cachePool:null,transitions:null},d=g!==null?g.baseLanes:l,Ue(Xi,Gt),Gt|=d}else g!==null?(d=g.baseLanes|l,s.memoizedState=null):d=l,Ue(Xi,Gt),Gt|=d;return Et(r,s,p,l),s.child}function b0(r,s){var l=s.ref;(r===null&&l!==null||r!==null&&r.ref!==l)&&(s.flags|=512,s.flags|=2097152)}function td(r,s,l,d,p){var g=Ot(l)?$r:wt.current;return g=Bi(s,g),Gi(s,p),l=Wu(r,s,l,d,g,p),d=Hu(),r!==null&&!Mt?(s.updateQueue=r.updateQueue,s.flags&=-2053,r.lanes&=~p,$n(r,s,p)):(He&&d&&Pu(s),s.flags|=1,Et(r,s,l,p),s.child)}function k0(r,s,l,d,p){if(Ot(l)){var g=!0;Wa(s)}else g=!1;if(Gi(s,p),s.stateNode===null)cl(r,s),u0(s,l,d),Ju(s,l,d,p),d=!0;else if(r===null){var w=s.stateNode,C=s.memoizedProps;w.props=C;var R=w.context,$=l.contextType;typeof $=="object"&&$!==null?$=Xt($):($=Ot(l)?$r:wt.current,$=Bi(s,$));var J=l.getDerivedStateFromProps,ee=typeof J=="function"||typeof w.getSnapshotBeforeUpdate=="function";ee||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(C!==d||R!==$)&&d0(s,w,d,$),hr=!1;var X=s.memoizedState;w.state=X,el(s,d,w,p),R=s.memoizedState,C!==d||X!==R||It.current||hr?(typeof J=="function"&&(Xu(s,l,J,d),R=s.memoizedState),(C=hr||c0(s,l,C,d,X,R,$))?(ee||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount()),typeof w.componentDidMount=="function"&&(s.flags|=4194308)):(typeof w.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=d,s.memoizedState=R),w.props=d,w.state=R,w.context=$,d=C):(typeof w.componentDidMount=="function"&&(s.flags|=4194308),d=!1)}else{w=s.stateNode,Fm(r,s),C=s.memoizedProps,$=s.type===s.elementType?C:dn(s.type,C),w.props=$,ee=s.pendingProps,X=w.context,R=l.contextType,typeof R=="object"&&R!==null?R=Xt(R):(R=Ot(l)?$r:wt.current,R=Bi(s,R));var ce=l.getDerivedStateFromProps;(J=typeof ce=="function"||typeof w.getSnapshotBeforeUpdate=="function")||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(C!==ee||X!==R)&&d0(s,w,d,R),hr=!1,X=s.memoizedState,w.state=X,el(s,d,w,p);var fe=s.memoizedState;C!==ee||X!==fe||It.current||hr?(typeof ce=="function"&&(Xu(s,l,ce,d),fe=s.memoizedState),($=hr||c0(s,l,$,d,X,fe,R)||!1)?(J||typeof w.UNSAFE_componentWillUpdate!="function"&&typeof w.componentWillUpdate!="function"||(typeof w.componentWillUpdate=="function"&&w.componentWillUpdate(d,fe,R),typeof w.UNSAFE_componentWillUpdate=="function"&&w.UNSAFE_componentWillUpdate(d,fe,R)),typeof w.componentDidUpdate=="function"&&(s.flags|=4),typeof w.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof w.componentDidUpdate!="function"||C===r.memoizedProps&&X===r.memoizedState||(s.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||C===r.memoizedProps&&X===r.memoizedState||(s.flags|=1024),s.memoizedProps=d,s.memoizedState=fe),w.props=d,w.state=fe,w.context=R,d=$):(typeof w.componentDidUpdate!="function"||C===r.memoizedProps&&X===r.memoizedState||(s.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||C===r.memoizedProps&&X===r.memoizedState||(s.flags|=1024),d=!1)}return nd(r,s,l,d,g,p)}function nd(r,s,l,d,p,g){b0(r,s);var w=(s.flags&128)!==0;if(!d&&!w)return p&&Em(s,l,!1),$n(r,s,g);d=s.stateNode,ok.current=s;var C=w&&typeof l.getDerivedStateFromError!="function"?null:d.render();return s.flags|=1,r!==null&&w?(s.child=Wi(s,r.child,null,g),s.child=Wi(s,null,C,g)):Et(r,s,C,g),s.memoizedState=d.state,p&&Em(s,l,!0),s.child}function j0(r){var s=r.stateNode;s.pendingContext?Sm(r,s.pendingContext,s.pendingContext!==s.context):s.context&&Sm(r,s.context,!1),Vu(r,s.containerInfo)}function N0(r,s,l,d,p){return qi(),Ru(p),s.flags|=256,Et(r,s,l,d),s.child}var rd={dehydrated:null,treeContext:null,retryLane:0};function id(r){return{baseLanes:r,cachePool:null,transitions:null}}function S0(r,s,l){var d=s.pendingProps,p=Ge.current,g=!1,w=(s.flags&128)!==0,C;if((C=w)||(C=r!==null&&r.memoizedState===null?!1:(p&2)!==0),C?(g=!0,s.flags&=-129):(r===null||r.memoizedState!==null)&&(p|=1),Ue(Ge,p&1),r===null)return Au(s),r=s.memoizedState,r!==null&&(r=r.dehydrated,r!==null)?((s.mode&1)===0?s.lanes=1:r.data==="$!"?s.lanes=8:s.lanes=1073741824,null):(w=d.children,r=d.fallback,g?(d=s.mode,g=s.child,w={mode:"hidden",children:w},(d&1)===0&&g!==null?(g.childLanes=0,g.pendingProps=w):g=bl(w,d,0,null),r=Zr(r,d,l,null),g.return=s,r.return=s,g.sibling=r,s.child=g,s.child.memoizedState=id(l),s.memoizedState=rd,r):sd(s,w));if(p=r.memoizedState,p!==null&&(C=p.dehydrated,C!==null))return ak(r,s,w,d,C,p,l);if(g){g=d.fallback,w=s.mode,p=r.child,C=p.sibling;var R={mode:"hidden",children:d.children};return(w&1)===0&&s.child!==p?(d=s.child,d.childLanes=0,d.pendingProps=R,s.deletions=null):(d=vr(p,R),d.subtreeFlags=p.subtreeFlags&14680064),C!==null?g=vr(C,g):(g=Zr(g,w,l,null),g.flags|=2),g.return=s,d.return=s,d.sibling=g,s.child=d,d=g,g=s.child,w=r.child.memoizedState,w=w===null?id(l):{baseLanes:w.baseLanes|l,cachePool:null,transitions:w.transitions},g.memoizedState=w,g.childLanes=r.childLanes&~l,s.memoizedState=rd,d}return g=r.child,r=g.sibling,d=vr(g,{mode:"visible",children:d.children}),(s.mode&1)===0&&(d.lanes=l),d.return=s,d.sibling=null,r!==null&&(l=s.deletions,l===null?(s.deletions=[r],s.flags|=16):l.push(r)),s.child=d,s.memoizedState=null,d}function sd(r,s){return s=bl({mode:"visible",children:s},r.mode,0,null),s.return=r,r.child=s}function ll(r,s,l,d){return d!==null&&Ru(d),Wi(s,r.child,null,l),r=sd(s,s.pendingProps.children),r.flags|=2,s.memoizedState=null,r}function ak(r,s,l,d,p,g,w){if(l)return s.flags&256?(s.flags&=-257,d=Zu(Error(n(422))),ll(r,s,w,d)):s.memoizedState!==null?(s.child=r.child,s.flags|=128,null):(g=d.fallback,p=s.mode,d=bl({mode:"visible",children:d.children},p,0,null),g=Zr(g,p,w,null),g.flags|=2,d.return=s,g.return=s,d.sibling=g,s.child=d,(s.mode&1)!==0&&Wi(s,r.child,null,w),s.child.memoizedState=id(w),s.memoizedState=rd,g);if((s.mode&1)===0)return ll(r,s,w,null);if(p.data==="$!"){if(d=p.nextSibling&&p.nextSibling.dataset,d)var C=d.dgst;return d=C,g=Error(n(419)),d=Zu(g,d,void 0),ll(r,s,w,d)}if(C=(w&r.childLanes)!==0,Mt||C){if(d=ht,d!==null){switch(w&-w){case 4:p=2;break;case 16:p=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:p=32;break;case 536870912:p=268435456;break;default:p=0}p=(p&(d.suspendedLanes|w))!==0?0:p,p!==0&&p!==g.retryLane&&(g.retryLane=p,Bn(r,p),pn(d,r,p,-1))}return bd(),d=Zu(Error(n(421))),ll(r,s,w,d)}return p.data==="$?"?(s.flags|=128,s.child=r.child,s=wk.bind(null,r),p._reactRetry=s,null):(r=g.treeContext,Ht=lr(p.nextSibling),Wt=s,He=!0,un=null,r!==null&&(Qt[Yt++]=Vn,Qt[Yt++]=zn,Qt[Yt++]=qr,Vn=r.id,zn=r.overflow,qr=s),s=sd(s,d.children),s.flags|=4096,s)}function C0(r,s,l){r.lanes|=s;var d=r.alternate;d!==null&&(d.lanes|=s),Lu(r.return,s,l)}function od(r,s,l,d,p){var g=r.memoizedState;g===null?r.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:d,tail:l,tailMode:p}:(g.isBackwards=s,g.rendering=null,g.renderingStartTime=0,g.last=d,g.tail=l,g.tailMode=p)}function E0(r,s,l){var d=s.pendingProps,p=d.revealOrder,g=d.tail;if(Et(r,s,d.children,l),d=Ge.current,(d&2)!==0)d=d&1|2,s.flags|=128;else{if(r!==null&&(r.flags&128)!==0)e:for(r=s.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&C0(r,l,s);else if(r.tag===19)C0(r,l,s);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===s)break e;for(;r.sibling===null;){if(r.return===null||r.return===s)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}d&=1}if(Ue(Ge,d),(s.mode&1)===0)s.memoizedState=null;else switch(p){case"forwards":for(l=s.child,p=null;l!==null;)r=l.alternate,r!==null&&tl(r)===null&&(p=l),l=l.sibling;l=p,l===null?(p=s.child,s.child=null):(p=l.sibling,l.sibling=null),od(s,!1,p,l,g);break;case"backwards":for(l=null,p=s.child,s.child=null;p!==null;){if(r=p.alternate,r!==null&&tl(r)===null){s.child=p;break}r=p.sibling,p.sibling=l,l=p,p=r}od(s,!0,l,null,g);break;case"together":od(s,!1,null,null,void 0);break;default:s.memoizedState=null}return s.child}function cl(r,s){(s.mode&1)===0&&r!==null&&(r.alternate=null,s.alternate=null,s.flags|=2)}function $n(r,s,l){if(r!==null&&(s.dependencies=r.dependencies),Qr|=s.lanes,(l&s.childLanes)===0)return null;if(r!==null&&s.child!==r.child)throw Error(n(153));if(s.child!==null){for(r=s.child,l=vr(r,r.pendingProps),s.child=l,l.return=s;r.sibling!==null;)r=r.sibling,l=l.sibling=vr(r,r.pendingProps),l.return=s;l.sibling=null}return s.child}function lk(r,s,l){switch(s.tag){case 3:j0(s),qi();break;case 5:Bm(s);break;case 1:Ot(s.type)&&Wa(s);break;case 4:Vu(s,s.stateNode.containerInfo);break;case 10:var d=s.type._context,p=s.memoizedProps.value;Ue(Xa,d._currentValue),d._currentValue=p;break;case 13:if(d=s.memoizedState,d!==null)return d.dehydrated!==null?(Ue(Ge,Ge.current&1),s.flags|=128,null):(l&s.child.childLanes)!==0?S0(r,s,l):(Ue(Ge,Ge.current&1),r=$n(r,s,l),r!==null?r.sibling:null);Ue(Ge,Ge.current&1);break;case 19:if(d=(l&s.childLanes)!==0,(r.flags&128)!==0){if(d)return E0(r,s,l);s.flags|=128}if(p=s.memoizedState,p!==null&&(p.rendering=null,p.tail=null,p.lastEffect=null),Ue(Ge,Ge.current),d)break;return null;case 22:case 23:return s.lanes=0,w0(r,s,l)}return $n(r,s,l)}var P0,ad,T0,_0;P0=function(r,s){for(var l=s.child;l!==null;){if(l.tag===5||l.tag===6)r.appendChild(l.stateNode);else if(l.tag!==4&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===s)break;for(;l.sibling===null;){if(l.return===null||l.return===s)return;l=l.return}l.sibling.return=l.return,l=l.sibling}},ad=function(){},T0=function(r,s,l,d){var p=r.memoizedProps;if(p!==d){r=s.stateNode,Gr(jn.current);var g=null;switch(l){case"input":p=Lc(r,p),d=Lc(r,d),g=[];break;case"select":p=ie({},p,{value:void 0}),d=ie({},d,{value:void 0}),g=[];break;case"textarea":p=Vc(r,p),d=Vc(r,d),g=[];break;default:typeof p.onClick!="function"&&typeof d.onClick=="function"&&(r.onclick=Ua)}Bc(l,d);var w;l=null;for($ in p)if(!d.hasOwnProperty($)&&p.hasOwnProperty($)&&p[$]!=null)if($==="style"){var C=p[$];for(w in C)C.hasOwnProperty(w)&&(l||(l={}),l[w]="")}else $!=="dangerouslySetInnerHTML"&&$!=="children"&&$!=="suppressContentEditableWarning"&&$!=="suppressHydrationWarning"&&$!=="autoFocus"&&(o.hasOwnProperty($)?g||(g=[]):(g=g||[]).push($,null));for($ in d){var R=d[$];if(C=p!=null?p[$]:void 0,d.hasOwnProperty($)&&R!==C&&(R!=null||C!=null))if($==="style")if(C){for(w in C)!C.hasOwnProperty(w)||R&&R.hasOwnProperty(w)||(l||(l={}),l[w]="");for(w in R)R.hasOwnProperty(w)&&C[w]!==R[w]&&(l||(l={}),l[w]=R[w])}else l||(g||(g=[]),g.push($,l)),l=R;else $==="dangerouslySetInnerHTML"?(R=R?R.__html:void 0,C=C?C.__html:void 0,R!=null&&C!==R&&(g=g||[]).push($,R)):$==="children"?typeof R!="string"&&typeof R!="number"||(g=g||[]).push($,""+R):$!=="suppressContentEditableWarning"&&$!=="suppressHydrationWarning"&&(o.hasOwnProperty($)?(R!=null&&$==="onScroll"&&$e("scroll",r),g||C===R||(g=[])):(g=g||[]).push($,R))}l&&(g=g||[]).push("style",l);var $=g;(s.updateQueue=$)&&(s.flags|=4)}},_0=function(r,s,l,d){l!==d&&(s.flags|=4)};function go(r,s){if(!He)switch(r.tailMode){case"hidden":s=r.tail;for(var l=null;s!==null;)s.alternate!==null&&(l=s),s=s.sibling;l===null?r.tail=null:l.sibling=null;break;case"collapsed":l=r.tail;for(var d=null;l!==null;)l.alternate!==null&&(d=l),l=l.sibling;d===null?s||r.tail===null?r.tail=null:r.tail.sibling=null:d.sibling=null}}function kt(r){var s=r.alternate!==null&&r.alternate.child===r.child,l=0,d=0;if(s)for(var p=r.child;p!==null;)l|=p.lanes|p.childLanes,d|=p.subtreeFlags&14680064,d|=p.flags&14680064,p.return=r,p=p.sibling;else for(p=r.child;p!==null;)l|=p.lanes|p.childLanes,d|=p.subtreeFlags,d|=p.flags,p.return=r,p=p.sibling;return r.subtreeFlags|=d,r.childLanes=l,s}function ck(r,s,l){var d=s.pendingProps;switch(Tu(s),s.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return kt(s),null;case 1:return Ot(s.type)&&qa(),kt(s),null;case 3:return d=s.stateNode,Ki(),qe(It),qe(wt),Uu(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(r===null||r.child===null)&&(Qa(s)?s.flags|=4:r===null||r.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,un!==null&&(xd(un),un=null))),ad(r,s),kt(s),null;case 5:zu(s);var p=Gr(uo.current);if(l=s.type,r!==null&&s.stateNode!=null)T0(r,s,l,d,p),r.ref!==s.ref&&(s.flags|=512,s.flags|=2097152);else{if(!d){if(s.stateNode===null)throw Error(n(166));return kt(s),null}if(r=Gr(jn.current),Qa(s)){d=s.stateNode,l=s.type;var g=s.memoizedProps;switch(d[kn]=s,d[so]=g,r=(s.mode&1)!==0,l){case"dialog":$e("cancel",d),$e("close",d);break;case"iframe":case"object":case"embed":$e("load",d);break;case"video":case"audio":for(p=0;p<no.length;p++)$e(no[p],d);break;case"source":$e("error",d);break;case"img":case"image":case"link":$e("error",d),$e("load",d);break;case"details":$e("toggle",d);break;case"input":up(d,g),$e("invalid",d);break;case"select":d._wrapperState={wasMultiple:!!g.multiple},$e("invalid",d);break;case"textarea":fp(d,g),$e("invalid",d)}Bc(l,g),p=null;for(var w in g)if(g.hasOwnProperty(w)){var C=g[w];w==="children"?typeof C=="string"?d.textContent!==C&&(g.suppressHydrationWarning!==!0&&Ba(d.textContent,C,r),p=["children",C]):typeof C=="number"&&d.textContent!==""+C&&(g.suppressHydrationWarning!==!0&&Ba(d.textContent,C,r),p=["children",""+C]):o.hasOwnProperty(w)&&C!=null&&w==="onScroll"&&$e("scroll",d)}switch(l){case"input":tr(d),hp(d,g,!0);break;case"textarea":tr(d),mp(d);break;case"select":case"option":break;default:typeof g.onClick=="function"&&(d.onclick=Ua)}d=p,s.updateQueue=d,d!==null&&(s.flags|=4)}else{w=p.nodeType===9?p:p.ownerDocument,r==="http://www.w3.org/1999/xhtml"&&(r=gp(l)),r==="http://www.w3.org/1999/xhtml"?l==="script"?(r=w.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild)):typeof d.is=="string"?r=w.createElement(l,{is:d.is}):(r=w.createElement(l),l==="select"&&(w=r,d.multiple?w.multiple=!0:d.size&&(w.size=d.size))):r=w.createElementNS(r,l),r[kn]=s,r[so]=d,P0(r,s,!1,!1),s.stateNode=r;e:{switch(w=Uc(l,d),l){case"dialog":$e("cancel",r),$e("close",r),p=d;break;case"iframe":case"object":case"embed":$e("load",r),p=d;break;case"video":case"audio":for(p=0;p<no.length;p++)$e(no[p],r);p=d;break;case"source":$e("error",r),p=d;break;case"img":case"image":case"link":$e("error",r),$e("load",r),p=d;break;case"details":$e("toggle",r),p=d;break;case"input":up(r,d),p=Lc(r,d),$e("invalid",r);break;case"option":p=d;break;case"select":r._wrapperState={wasMultiple:!!d.multiple},p=ie({},d,{value:void 0}),$e("invalid",r);break;case"textarea":fp(r,d),p=Vc(r,d),$e("invalid",r);break;default:p=d}Bc(l,p),C=p;for(g in C)if(C.hasOwnProperty(g)){var R=C[g];g==="style"?vp(r,R):g==="dangerouslySetInnerHTML"?(R=R?R.__html:void 0,R!=null&&yp(r,R)):g==="children"?typeof R=="string"?(l!=="textarea"||R!=="")&&Ds(r,R):typeof R=="number"&&Ds(r,""+R):g!=="suppressContentEditableWarning"&&g!=="suppressHydrationWarning"&&g!=="autoFocus"&&(o.hasOwnProperty(g)?R!=null&&g==="onScroll"&&$e("scroll",r):R!=null&&E(r,g,R,w))}switch(l){case"input":tr(r),hp(r,d,!1);break;case"textarea":tr(r),mp(r);break;case"option":d.value!=null&&r.setAttribute("value",""+Oe(d.value));break;case"select":r.multiple=!!d.multiple,g=d.value,g!=null?Ti(r,!!d.multiple,g,!1):d.defaultValue!=null&&Ti(r,!!d.multiple,d.defaultValue,!0);break;default:typeof p.onClick=="function"&&(r.onclick=Ua)}switch(l){case"button":case"input":case"select":case"textarea":d=!!d.autoFocus;break e;case"img":d=!0;break e;default:d=!1}}d&&(s.flags|=4)}s.ref!==null&&(s.flags|=512,s.flags|=2097152)}return kt(s),null;case 6:if(r&&s.stateNode!=null)_0(r,s,r.memoizedProps,d);else{if(typeof d!="string"&&s.stateNode===null)throw Error(n(166));if(l=Gr(uo.current),Gr(jn.current),Qa(s)){if(d=s.stateNode,l=s.memoizedProps,d[kn]=s,(g=d.nodeValue!==l)&&(r=Wt,r!==null))switch(r.tag){case 3:Ba(d.nodeValue,l,(r.mode&1)!==0);break;case 5:r.memoizedProps.suppressHydrationWarning!==!0&&Ba(d.nodeValue,l,(r.mode&1)!==0)}g&&(s.flags|=4)}else d=(l.nodeType===9?l:l.ownerDocument).createTextNode(d),d[kn]=s,s.stateNode=d}return kt(s),null;case 13:if(qe(Ge),d=s.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(He&&Ht!==null&&(s.mode&1)!==0&&(s.flags&128)===0)Im(),qi(),s.flags|=98560,g=!1;else if(g=Qa(s),d!==null&&d.dehydrated!==null){if(r===null){if(!g)throw Error(n(318));if(g=s.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(n(317));g[kn]=s}else qi(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;kt(s),g=!1}else un!==null&&(xd(un),un=null),g=!0;if(!g)return s.flags&65536?s:null}return(s.flags&128)!==0?(s.lanes=l,s):(d=d!==null,d!==(r!==null&&r.memoizedState!==null)&&d&&(s.child.flags|=8192,(s.mode&1)!==0&&(r===null||(Ge.current&1)!==0?lt===0&&(lt=3):bd())),s.updateQueue!==null&&(s.flags|=4),kt(s),null);case 4:return Ki(),ad(r,s),r===null&&ro(s.stateNode.containerInfo),kt(s),null;case 10:return Mu(s.type._context),kt(s),null;case 17:return Ot(s.type)&&qa(),kt(s),null;case 19:if(qe(Ge),g=s.memoizedState,g===null)return kt(s),null;if(d=(s.flags&128)!==0,w=g.rendering,w===null)if(d)go(g,!1);else{if(lt!==0||r!==null&&(r.flags&128)!==0)for(r=s.child;r!==null;){if(w=tl(r),w!==null){for(s.flags|=128,go(g,!1),d=w.updateQueue,d!==null&&(s.updateQueue=d,s.flags|=4),s.subtreeFlags=0,d=l,l=s.child;l!==null;)g=l,r=d,g.flags&=14680066,w=g.alternate,w===null?(g.childLanes=0,g.lanes=r,g.child=null,g.subtreeFlags=0,g.memoizedProps=null,g.memoizedState=null,g.updateQueue=null,g.dependencies=null,g.stateNode=null):(g.childLanes=w.childLanes,g.lanes=w.lanes,g.child=w.child,g.subtreeFlags=0,g.deletions=null,g.memoizedProps=w.memoizedProps,g.memoizedState=w.memoizedState,g.updateQueue=w.updateQueue,g.type=w.type,r=w.dependencies,g.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),l=l.sibling;return Ue(Ge,Ge.current&1|2),s.child}r=r.sibling}g.tail!==null&&et()>Ji&&(s.flags|=128,d=!0,go(g,!1),s.lanes=4194304)}else{if(!d)if(r=tl(w),r!==null){if(s.flags|=128,d=!0,l=r.updateQueue,l!==null&&(s.updateQueue=l,s.flags|=4),go(g,!0),g.tail===null&&g.tailMode==="hidden"&&!w.alternate&&!He)return kt(s),null}else 2*et()-g.renderingStartTime>Ji&&l!==1073741824&&(s.flags|=128,d=!0,go(g,!1),s.lanes=4194304);g.isBackwards?(w.sibling=s.child,s.child=w):(l=g.last,l!==null?l.sibling=w:s.child=w,g.last=w)}return g.tail!==null?(s=g.tail,g.rendering=s,g.tail=s.sibling,g.renderingStartTime=et(),s.sibling=null,l=Ge.current,Ue(Ge,d?l&1|2:l&1),s):(kt(s),null);case 22:case 23:return wd(),d=s.memoizedState!==null,r!==null&&r.memoizedState!==null!==d&&(s.flags|=8192),d&&(s.mode&1)!==0?(Gt&1073741824)!==0&&(kt(s),s.subtreeFlags&6&&(s.flags|=8192)):kt(s),null;case 24:return null;case 25:return null}throw Error(n(156,s.tag))}function uk(r,s){switch(Tu(s),s.tag){case 1:return Ot(s.type)&&qa(),r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 3:return Ki(),qe(It),qe(wt),Uu(),r=s.flags,(r&65536)!==0&&(r&128)===0?(s.flags=r&-65537|128,s):null;case 5:return zu(s),null;case 13:if(qe(Ge),r=s.memoizedState,r!==null&&r.dehydrated!==null){if(s.alternate===null)throw Error(n(340));qi()}return r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 19:return qe(Ge),null;case 4:return Ki(),null;case 10:return Mu(s.type._context),null;case 22:case 23:return wd(),null;case 24:return null;default:return null}}var ul=!1,jt=!1,dk=typeof WeakSet=="function"?WeakSet:Set,he=null;function Yi(r,s){var l=r.ref;if(l!==null)if(typeof l=="function")try{l(null)}catch(d){Ye(r,s,d)}else l.current=null}function ld(r,s,l){try{l()}catch(d){Ye(r,s,d)}}var A0=!1;function hk(r,s){if(wu=_a,r=cm(),hu(r)){if("selectionStart"in r)var l={start:r.selectionStart,end:r.selectionEnd};else e:{l=(l=r.ownerDocument)&&l.defaultView||window;var d=l.getSelection&&l.getSelection();if(d&&d.rangeCount!==0){l=d.anchorNode;var p=d.anchorOffset,g=d.focusNode;d=d.focusOffset;try{l.nodeType,g.nodeType}catch{l=null;break e}var w=0,C=-1,R=-1,$=0,J=0,ee=r,X=null;t:for(;;){for(var ce;ee!==l||p!==0&&ee.nodeType!==3||(C=w+p),ee!==g||d!==0&&ee.nodeType!==3||(R=w+d),ee.nodeType===3&&(w+=ee.nodeValue.length),(ce=ee.firstChild)!==null;)X=ee,ee=ce;for(;;){if(ee===r)break t;if(X===l&&++$===p&&(C=w),X===g&&++J===d&&(R=w),(ce=ee.nextSibling)!==null)break;ee=X,X=ee.parentNode}ee=ce}l=C===-1||R===-1?null:{start:C,end:R}}else l=null}l=l||{start:0,end:0}}else l=null;for(bu={focusedElem:r,selectionRange:l},_a=!1,he=s;he!==null;)if(s=he,r=s.child,(s.subtreeFlags&1028)!==0&&r!==null)r.return=s,he=r;else for(;he!==null;){s=he;try{var fe=s.alternate;if((s.flags&1024)!==0)switch(s.tag){case 0:case 11:case 15:break;case 1:if(fe!==null){var ge=fe.memoizedProps,tt=fe.memoizedState,V=s.stateNode,L=V.getSnapshotBeforeUpdate(s.elementType===s.type?ge:dn(s.type,ge),tt);V.__reactInternalSnapshotBeforeUpdate=L}break;case 3:var U=s.stateNode.containerInfo;U.nodeType===1?U.textContent="":U.nodeType===9&&U.documentElement&&U.removeChild(U.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(re){Ye(s,s.return,re)}if(r=s.sibling,r!==null){r.return=s.return,he=r;break}he=s.return}return fe=A0,A0=!1,fe}function yo(r,s,l){var d=s.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var p=d=d.next;do{if((p.tag&r)===r){var g=p.destroy;p.destroy=void 0,g!==void 0&&ld(s,l,g)}p=p.next}while(p!==d)}}function dl(r,s){if(s=s.updateQueue,s=s!==null?s.lastEffect:null,s!==null){var l=s=s.next;do{if((l.tag&r)===r){var d=l.create;l.destroy=d()}l=l.next}while(l!==s)}}function cd(r){var s=r.ref;if(s!==null){var l=r.stateNode;switch(r.tag){case 5:r=l;break;default:r=l}typeof s=="function"?s(r):s.current=r}}function R0(r){var s=r.alternate;s!==null&&(r.alternate=null,R0(s)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(s=r.stateNode,s!==null&&(delete s[kn],delete s[so],delete s[Su],delete s[K2],delete s[Q2])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function I0(r){return r.tag===5||r.tag===3||r.tag===4}function O0(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||I0(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function ud(r,s,l){var d=r.tag;if(d===5||d===6)r=r.stateNode,s?l.nodeType===8?l.parentNode.insertBefore(r,s):l.insertBefore(r,s):(l.nodeType===8?(s=l.parentNode,s.insertBefore(r,l)):(s=l,s.appendChild(r)),l=l._reactRootContainer,l!=null||s.onclick!==null||(s.onclick=Ua));else if(d!==4&&(r=r.child,r!==null))for(ud(r,s,l),r=r.sibling;r!==null;)ud(r,s,l),r=r.sibling}function dd(r,s,l){var d=r.tag;if(d===5||d===6)r=r.stateNode,s?l.insertBefore(r,s):l.appendChild(r);else if(d!==4&&(r=r.child,r!==null))for(dd(r,s,l),r=r.sibling;r!==null;)dd(r,s,l),r=r.sibling}var gt=null,hn=!1;function pr(r,s,l){for(l=l.child;l!==null;)M0(r,s,l),l=l.sibling}function M0(r,s,l){if(bn&&typeof bn.onCommitFiberUnmount=="function")try{bn.onCommitFiberUnmount(Na,l)}catch{}switch(l.tag){case 5:jt||Yi(l,s);case 6:var d=gt,p=hn;gt=null,pr(r,s,l),gt=d,hn=p,gt!==null&&(hn?(r=gt,l=l.stateNode,r.nodeType===8?r.parentNode.removeChild(l):r.removeChild(l)):gt.removeChild(l.stateNode));break;case 18:gt!==null&&(hn?(r=gt,l=l.stateNode,r.nodeType===8?Nu(r.parentNode,l):r.nodeType===1&&Nu(r,l),Ks(r)):Nu(gt,l.stateNode));break;case 4:d=gt,p=hn,gt=l.stateNode.containerInfo,hn=!0,pr(r,s,l),gt=d,hn=p;break;case 0:case 11:case 14:case 15:if(!jt&&(d=l.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){p=d=d.next;do{var g=p,w=g.destroy;g=g.tag,w!==void 0&&((g&2)!==0||(g&4)!==0)&&ld(l,s,w),p=p.next}while(p!==d)}pr(r,s,l);break;case 1:if(!jt&&(Yi(l,s),d=l.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=l.memoizedProps,d.state=l.memoizedState,d.componentWillUnmount()}catch(C){Ye(l,s,C)}pr(r,s,l);break;case 21:pr(r,s,l);break;case 22:l.mode&1?(jt=(d=jt)||l.memoizedState!==null,pr(r,s,l),jt=d):pr(r,s,l);break;default:pr(r,s,l)}}function L0(r){var s=r.updateQueue;if(s!==null){r.updateQueue=null;var l=r.stateNode;l===null&&(l=r.stateNode=new dk),s.forEach(function(d){var p=bk.bind(null,r,d);l.has(d)||(l.add(d),d.then(p,p))})}}function fn(r,s){var l=s.deletions;if(l!==null)for(var d=0;d<l.length;d++){var p=l[d];try{var g=r,w=s,C=w;e:for(;C!==null;){switch(C.tag){case 5:gt=C.stateNode,hn=!1;break e;case 3:gt=C.stateNode.containerInfo,hn=!0;break e;case 4:gt=C.stateNode.containerInfo,hn=!0;break e}C=C.return}if(gt===null)throw Error(n(160));M0(g,w,p),gt=null,hn=!1;var R=p.alternate;R!==null&&(R.return=null),p.return=null}catch($){Ye(p,s,$)}}if(s.subtreeFlags&12854)for(s=s.child;s!==null;)D0(s,r),s=s.sibling}function D0(r,s){var l=r.alternate,d=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(fn(s,r),Sn(r),d&4){try{yo(3,r,r.return),dl(3,r)}catch(ge){Ye(r,r.return,ge)}try{yo(5,r,r.return)}catch(ge){Ye(r,r.return,ge)}}break;case 1:fn(s,r),Sn(r),d&512&&l!==null&&Yi(l,l.return);break;case 5:if(fn(s,r),Sn(r),d&512&&l!==null&&Yi(l,l.return),r.flags&32){var p=r.stateNode;try{Ds(p,"")}catch(ge){Ye(r,r.return,ge)}}if(d&4&&(p=r.stateNode,p!=null)){var g=r.memoizedProps,w=l!==null?l.memoizedProps:g,C=r.type,R=r.updateQueue;if(r.updateQueue=null,R!==null)try{C==="input"&&g.type==="radio"&&g.name!=null&&dp(p,g),Uc(C,w);var $=Uc(C,g);for(w=0;w<R.length;w+=2){var J=R[w],ee=R[w+1];J==="style"?vp(p,ee):J==="dangerouslySetInnerHTML"?yp(p,ee):J==="children"?Ds(p,ee):E(p,J,ee,$)}switch(C){case"input":Dc(p,g);break;case"textarea":pp(p,g);break;case"select":var X=p._wrapperState.wasMultiple;p._wrapperState.wasMultiple=!!g.multiple;var ce=g.value;ce!=null?Ti(p,!!g.multiple,ce,!1):X!==!!g.multiple&&(g.defaultValue!=null?Ti(p,!!g.multiple,g.defaultValue,!0):Ti(p,!!g.multiple,g.multiple?[]:"",!1))}p[so]=g}catch(ge){Ye(r,r.return,ge)}}break;case 6:if(fn(s,r),Sn(r),d&4){if(r.stateNode===null)throw Error(n(162));p=r.stateNode,g=r.memoizedProps;try{p.nodeValue=g}catch(ge){Ye(r,r.return,ge)}}break;case 3:if(fn(s,r),Sn(r),d&4&&l!==null&&l.memoizedState.isDehydrated)try{Ks(s.containerInfo)}catch(ge){Ye(r,r.return,ge)}break;case 4:fn(s,r),Sn(r);break;case 13:fn(s,r),Sn(r),p=r.child,p.flags&8192&&(g=p.memoizedState!==null,p.stateNode.isHidden=g,!g||p.alternate!==null&&p.alternate.memoizedState!==null||(pd=et())),d&4&&L0(r);break;case 22:if(J=l!==null&&l.memoizedState!==null,r.mode&1?(jt=($=jt)||J,fn(s,r),jt=$):fn(s,r),Sn(r),d&8192){if($=r.memoizedState!==null,(r.stateNode.isHidden=$)&&!J&&(r.mode&1)!==0)for(he=r,J=r.child;J!==null;){for(ee=he=J;he!==null;){switch(X=he,ce=X.child,X.tag){case 0:case 11:case 14:case 15:yo(4,X,X.return);break;case 1:Yi(X,X.return);var fe=X.stateNode;if(typeof fe.componentWillUnmount=="function"){d=X,l=X.return;try{s=d,fe.props=s.memoizedProps,fe.state=s.memoizedState,fe.componentWillUnmount()}catch(ge){Ye(d,l,ge)}}break;case 5:Yi(X,X.return);break;case 22:if(X.memoizedState!==null){z0(ee);continue}}ce!==null?(ce.return=X,he=ce):z0(ee)}J=J.sibling}e:for(J=null,ee=r;;){if(ee.tag===5){if(J===null){J=ee;try{p=ee.stateNode,$?(g=p.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none"):(C=ee.stateNode,R=ee.memoizedProps.style,w=R!=null&&R.hasOwnProperty("display")?R.display:null,C.style.display=xp("display",w))}catch(ge){Ye(r,r.return,ge)}}}else if(ee.tag===6){if(J===null)try{ee.stateNode.nodeValue=$?"":ee.memoizedProps}catch(ge){Ye(r,r.return,ge)}}else if((ee.tag!==22&&ee.tag!==23||ee.memoizedState===null||ee===r)&&ee.child!==null){ee.child.return=ee,ee=ee.child;continue}if(ee===r)break e;for(;ee.sibling===null;){if(ee.return===null||ee.return===r)break e;J===ee&&(J=null),ee=ee.return}J===ee&&(J=null),ee.sibling.return=ee.return,ee=ee.sibling}}break;case 19:fn(s,r),Sn(r),d&4&&L0(r);break;case 21:break;default:fn(s,r),Sn(r)}}function Sn(r){var s=r.flags;if(s&2){try{e:{for(var l=r.return;l!==null;){if(I0(l)){var d=l;break e}l=l.return}throw Error(n(160))}switch(d.tag){case 5:var p=d.stateNode;d.flags&32&&(Ds(p,""),d.flags&=-33);var g=O0(r);dd(r,g,p);break;case 3:case 4:var w=d.stateNode.containerInfo,C=O0(r);ud(r,C,w);break;default:throw Error(n(161))}}catch(R){Ye(r,r.return,R)}r.flags&=-3}s&4096&&(r.flags&=-4097)}function fk(r,s,l){he=r,F0(r)}function F0(r,s,l){for(var d=(r.mode&1)!==0;he!==null;){var p=he,g=p.child;if(p.tag===22&&d){var w=p.memoizedState!==null||ul;if(!w){var C=p.alternate,R=C!==null&&C.memoizedState!==null||jt;C=ul;var $=jt;if(ul=w,(jt=R)&&!$)for(he=p;he!==null;)w=he,R=w.child,w.tag===22&&w.memoizedState!==null?B0(p):R!==null?(R.return=w,he=R):B0(p);for(;g!==null;)he=g,F0(g),g=g.sibling;he=p,ul=C,jt=$}V0(r)}else(p.subtreeFlags&8772)!==0&&g!==null?(g.return=p,he=g):V0(r)}}function V0(r){for(;he!==null;){var s=he;if((s.flags&8772)!==0){var l=s.alternate;try{if((s.flags&8772)!==0)switch(s.tag){case 0:case 11:case 15:jt||dl(5,s);break;case 1:var d=s.stateNode;if(s.flags&4&&!jt)if(l===null)d.componentDidMount();else{var p=s.elementType===s.type?l.memoizedProps:dn(s.type,l.memoizedProps);d.componentDidUpdate(p,l.memoizedState,d.__reactInternalSnapshotBeforeUpdate)}var g=s.updateQueue;g!==null&&zm(s,g,d);break;case 3:var w=s.updateQueue;if(w!==null){if(l=null,s.child!==null)switch(s.child.tag){case 5:l=s.child.stateNode;break;case 1:l=s.child.stateNode}zm(s,w,l)}break;case 5:var C=s.stateNode;if(l===null&&s.flags&4){l=C;var R=s.memoizedProps;switch(s.type){case"button":case"input":case"select":case"textarea":R.autoFocus&&l.focus();break;case"img":R.src&&(l.src=R.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(s.memoizedState===null){var $=s.alternate;if($!==null){var J=$.memoizedState;if(J!==null){var ee=J.dehydrated;ee!==null&&Ks(ee)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}jt||s.flags&512&&cd(s)}catch(X){Ye(s,s.return,X)}}if(s===r){he=null;break}if(l=s.sibling,l!==null){l.return=s.return,he=l;break}he=s.return}}function z0(r){for(;he!==null;){var s=he;if(s===r){he=null;break}var l=s.sibling;if(l!==null){l.return=s.return,he=l;break}he=s.return}}function B0(r){for(;he!==null;){var s=he;try{switch(s.tag){case 0:case 11:case 15:var l=s.return;try{dl(4,s)}catch(R){Ye(s,l,R)}break;case 1:var d=s.stateNode;if(typeof d.componentDidMount=="function"){var p=s.return;try{d.componentDidMount()}catch(R){Ye(s,p,R)}}var g=s.return;try{cd(s)}catch(R){Ye(s,g,R)}break;case 5:var w=s.return;try{cd(s)}catch(R){Ye(s,w,R)}}}catch(R){Ye(s,s.return,R)}if(s===r){he=null;break}var C=s.sibling;if(C!==null){C.return=s.return,he=C;break}he=s.return}}var pk=Math.ceil,hl=_.ReactCurrentDispatcher,hd=_.ReactCurrentOwner,Zt=_.ReactCurrentBatchConfig,Ie=0,ht=null,it=null,yt=0,Gt=0,Xi=cr(0),lt=0,xo=null,Qr=0,fl=0,fd=0,vo=null,Lt=null,pd=0,Ji=1/0,qn=null,pl=!1,md=null,mr=null,ml=!1,gr=null,gl=0,wo=0,gd=null,yl=-1,xl=0;function Pt(){return(Ie&6)!==0?et():yl!==-1?yl:yl=et()}function yr(r){return(r.mode&1)===0?1:(Ie&2)!==0&&yt!==0?yt&-yt:X2.transition!==null?(xl===0&&(xl=Op()),xl):(r=Ve,r!==0||(r=window.event,r=r===void 0?16:$p(r.type)),r)}function pn(r,s,l,d){if(50<wo)throw wo=0,gd=null,Error(n(185));$s(r,l,d),((Ie&2)===0||r!==ht)&&(r===ht&&((Ie&2)===0&&(fl|=l),lt===4&&xr(r,yt)),Dt(r,d),l===1&&Ie===0&&(s.mode&1)===0&&(Ji=et()+500,Ha&&dr()))}function Dt(r,s){var l=r.callbackNode;X1(r,s);var d=Ea(r,r===ht?yt:0);if(d===0)l!==null&&Ap(l),r.callbackNode=null,r.callbackPriority=0;else if(s=d&-d,r.callbackPriority!==s){if(l!=null&&Ap(l),s===1)r.tag===0?Y2($0.bind(null,r)):Pm($0.bind(null,r)),H2(function(){(Ie&6)===0&&dr()}),l=null;else{switch(Mp(d)){case 1:l=Qc;break;case 4:l=Rp;break;case 16:l=ja;break;case 536870912:l=Ip;break;default:l=ja}l=X0(l,U0.bind(null,r))}r.callbackPriority=s,r.callbackNode=l}}function U0(r,s){if(yl=-1,xl=0,(Ie&6)!==0)throw Error(n(327));var l=r.callbackNode;if(Zi()&&r.callbackNode!==l)return null;var d=Ea(r,r===ht?yt:0);if(d===0)return null;if((d&30)!==0||(d&r.expiredLanes)!==0||s)s=vl(r,d);else{s=d;var p=Ie;Ie|=2;var g=W0();(ht!==r||yt!==s)&&(qn=null,Ji=et()+500,Xr(r,s));do try{yk();break}catch(C){q0(r,C)}while(!0);Ou(),hl.current=g,Ie=p,it!==null?s=0:(ht=null,yt=0,s=lt)}if(s!==0){if(s===2&&(p=Yc(r),p!==0&&(d=p,s=yd(r,p))),s===1)throw l=xo,Xr(r,0),xr(r,d),Dt(r,et()),l;if(s===6)xr(r,d);else{if(p=r.current.alternate,(d&30)===0&&!mk(p)&&(s=vl(r,d),s===2&&(g=Yc(r),g!==0&&(d=g,s=yd(r,g))),s===1))throw l=xo,Xr(r,0),xr(r,d),Dt(r,et()),l;switch(r.finishedWork=p,r.finishedLanes=d,s){case 0:case 1:throw Error(n(345));case 2:Jr(r,Lt,qn);break;case 3:if(xr(r,d),(d&130023424)===d&&(s=pd+500-et(),10<s)){if(Ea(r,0)!==0)break;if(p=r.suspendedLanes,(p&d)!==d){Pt(),r.pingedLanes|=r.suspendedLanes&p;break}r.timeoutHandle=ju(Jr.bind(null,r,Lt,qn),s);break}Jr(r,Lt,qn);break;case 4:if(xr(r,d),(d&4194240)===d)break;for(s=r.eventTimes,p=-1;0<d;){var w=31-ln(d);g=1<<w,w=s[w],w>p&&(p=w),d&=~g}if(d=p,d=et()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*pk(d/1960))-d,10<d){r.timeoutHandle=ju(Jr.bind(null,r,Lt,qn),d);break}Jr(r,Lt,qn);break;case 5:Jr(r,Lt,qn);break;default:throw Error(n(329))}}}return Dt(r,et()),r.callbackNode===l?U0.bind(null,r):null}function yd(r,s){var l=vo;return r.current.memoizedState.isDehydrated&&(Xr(r,s).flags|=256),r=vl(r,s),r!==2&&(s=Lt,Lt=l,s!==null&&xd(s)),r}function xd(r){Lt===null?Lt=r:Lt.push.apply(Lt,r)}function mk(r){for(var s=r;;){if(s.flags&16384){var l=s.updateQueue;if(l!==null&&(l=l.stores,l!==null))for(var d=0;d<l.length;d++){var p=l[d],g=p.getSnapshot;p=p.value;try{if(!cn(g(),p))return!1}catch{return!1}}}if(l=s.child,s.subtreeFlags&16384&&l!==null)l.return=s,s=l;else{if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function xr(r,s){for(s&=~fd,s&=~fl,r.suspendedLanes|=s,r.pingedLanes&=~s,r=r.expirationTimes;0<s;){var l=31-ln(s),d=1<<l;r[l]=-1,s&=~d}}function $0(r){if((Ie&6)!==0)throw Error(n(327));Zi();var s=Ea(r,0);if((s&1)===0)return Dt(r,et()),null;var l=vl(r,s);if(r.tag!==0&&l===2){var d=Yc(r);d!==0&&(s=d,l=yd(r,d))}if(l===1)throw l=xo,Xr(r,0),xr(r,s),Dt(r,et()),l;if(l===6)throw Error(n(345));return r.finishedWork=r.current.alternate,r.finishedLanes=s,Jr(r,Lt,qn),Dt(r,et()),null}function vd(r,s){var l=Ie;Ie|=1;try{return r(s)}finally{Ie=l,Ie===0&&(Ji=et()+500,Ha&&dr())}}function Yr(r){gr!==null&&gr.tag===0&&(Ie&6)===0&&Zi();var s=Ie;Ie|=1;var l=Zt.transition,d=Ve;try{if(Zt.transition=null,Ve=1,r)return r()}finally{Ve=d,Zt.transition=l,Ie=s,(Ie&6)===0&&dr()}}function wd(){Gt=Xi.current,qe(Xi)}function Xr(r,s){r.finishedWork=null,r.finishedLanes=0;var l=r.timeoutHandle;if(l!==-1&&(r.timeoutHandle=-1,W2(l)),it!==null)for(l=it.return;l!==null;){var d=l;switch(Tu(d),d.tag){case 1:d=d.type.childContextTypes,d!=null&&qa();break;case 3:Ki(),qe(It),qe(wt),Uu();break;case 5:zu(d);break;case 4:Ki();break;case 13:qe(Ge);break;
vendor: 7,197 bytes, line 40
40case 19:qe(Ge);break;case 10:Mu(d.type._context);break;case 22:case 23:wd()}l=l.return}if(ht=r,it=r=vr(r.current,null),yt=Gt=s,lt=0,xo=null,fd=fl=Qr=0,Lt=vo=null,Hr!==null){for(s=0;s<Hr.length;s++)if(l=Hr[s],d=l.interleaved,d!==null){l.interleaved=null;var p=d.next,g=l.pending;if(g!==null){var w=g.next;g.next=p,d.next=w}l.pending=d}Hr=null}return r}function q0(r,s){do{var l=it;try{if(Ou(),nl.current=ol,rl){for(var d=Ke.memoizedState;d!==null;){var p=d.queue;p!==null&&(p.pending=null),d=d.next}rl=!1}if(Kr=0,dt=at=Ke=null,ho=!1,fo=0,hd.current=null,l===null||l.return===null){lt=1,xo=s,it=null;break}e:{var g=r,w=l.return,C=l,R=s;if(s=yt,C.flags|=32768,R!==null&&typeof R=="object"&&typeof R.then=="function"){var $=R,J=C,ee=J.tag;if((J.mode&1)===0&&(ee===0||ee===11||ee===15)){var X=J.alternate;X?(J.updateQueue=X.updateQueue,J.memoizedState=X.memoizedState,J.lanes=X.lanes):(J.updateQueue=null,J.memoizedState=null)}var ce=m0(w);if(ce!==null){ce.flags&=-257,g0(ce,w,C,g,s),ce.mode&1&&p0(g,$,s),s=ce,R=$;var fe=s.updateQueue;if(fe===null){var ge=new Set;ge.add(R),s.updateQueue=ge}else fe.add(R);break e}else{if((s&1)===0){p0(g,$,s),bd();break e}R=Error(n(426))}}else if(He&&C.mode&1){var tt=m0(w);if(tt!==null){(tt.flags&65536)===0&&(tt.flags|=256),g0(tt,w,C,g,s),Ru(Qi(R,C));break e}}g=R=Qi(R,C),lt!==4&&(lt=2),vo===null?vo=[g]:vo.push(g),g=w;do{switch(g.tag){case 3:g.flags|=65536,s&=-s,g.lanes|=s;var V=h0(g,R,s);Vm(g,V);break e;case 1:C=R;var L=g.type,U=g.stateNode;if((g.flags&128)===0&&(typeof L.getDerivedStateFromError=="function"||U!==null&&typeof U.componentDidCatch=="function"&&(mr===null||!mr.has(U)))){g.flags|=65536,s&=-s,g.lanes|=s;var re=f0(g,C,s);Vm(g,re);break e}}g=g.return}while(g!==null)}G0(l)}catch(ye){s=ye,it===l&&l!==null&&(it=l=l.return);continue}break}while(!0)}function W0(){var r=hl.current;return hl.current=ol,r===null?ol:r}function bd(){(lt===0||lt===3||lt===2)&&(lt=4),ht===null||(Qr&268435455)===0&&(fl&268435455)===0||xr(ht,yt)}function vl(r,s){var l=Ie;Ie|=2;var d=W0();(ht!==r||yt!==s)&&(qn=null,Xr(r,s));do try{gk();break}catch(p){q0(r,p)}while(!0);if(Ou(),Ie=l,hl.current=d,it!==null)throw Error(n(261));return ht=null,yt=0,lt}function gk(){for(;it!==null;)H0(it)}function yk(){for(;it!==null&&!U1();)H0(it)}function H0(r){var s=Y0(r.alternate,r,Gt);r.memoizedProps=r.pendingProps,s===null?G0(r):it=s,hd.current=null}function G0(r){var s=r;do{var l=s.alternate;if(r=s.return,(s.flags&32768)===0){if(l=ck(l,s,Gt),l!==null){it=l;return}}else{if(l=uk(l,s),l!==null){l.flags&=32767,it=l;return}if(r!==null)r.flags|=32768,r.subtreeFlags=0,r.deletions=null;else{lt=6,it=null;return}}if(s=s.sibling,s!==null){it=s;return}it=s=r}while(s!==null);lt===0&&(lt=5)}function Jr(r,s,l){var d=Ve,p=Zt.transition;try{Zt.transition=null,Ve=1,xk(r,s,l,d)}finally{Zt.transition=p,Ve=d}return null}function xk(r,s,l,d){do Zi();while(gr!==null);if((Ie&6)!==0)throw Error(n(327));l=r.finishedWork;var p=r.finishedLanes;if(l===null)return null;if(r.finishedWork=null,r.finishedLanes=0,l===r.current)throw Error(n(177));r.callbackNode=null,r.callbackPriority=0;var g=l.lanes|l.childLanes;if(J1(r,g),r===ht&&(it=ht=null,yt=0),(l.subtreeFlags&2064)===0&&(l.flags&2064)===0||ml||(ml=!0,X0(ja,function(){return Zi(),null})),g=(l.flags&15990)!==0,(l.subtreeFlags&15990)!==0||g){g=Zt.transition,Zt.transition=null;var w=Ve;Ve=1;var C=Ie;Ie|=4,hd.current=null,hk(r,l),D0(l,r),F2(bu),_a=!!wu,bu=wu=null,r.current=l,fk(l),$1(),Ie=C,Ve=w,Zt.transition=g}else r.current=l;if(ml&&(ml=!1,gr=r,gl=p),g=r.pendingLanes,g===0&&(mr=null),H1(l.stateNode),Dt(r,et()),s!==null)for(d=r.onRecoverableError,l=0;l<s.length;l++)p=s[l],d(p.value,{componentStack:p.stack,digest:p.digest});if(pl)throw pl=!1,r=md,md=null,r;return(gl&1)!==0&&r.tag!==0&&Zi(),g=r.pendingLanes,(g&1)!==0?r===gd?wo++:(wo=0,gd=r):wo=0,dr(),null}function Zi(){if(gr!==null){var r=Mp(gl),s=Zt.transition,l=Ve;try{if(Zt.transition=null,Ve=16>r?16:r,gr===null)var d=!1;else{if(r=gr,gr=null,gl=0,(Ie&6)!==0)throw Error(n(331));var p=Ie;for(Ie|=4,he=r.current;he!==null;){var g=he,w=g.child;if((he.flags&16)!==0){var C=g.deletions;if(C!==null){for(var R=0;R<C.length;R++){var $=C[R];for(he=$;he!==null;){var J=he;switch(J.tag){case 0:case 11:case 15:yo(8,J,g)}var ee=J.child;if(ee!==null)ee.return=J,he=ee;else for(;he!==null;){J=he;var X=J.sibling,ce=J.return;if(R0(J),J===$){he=null;break}if(X!==null){X.return=ce,he=X;break}he=ce}}}var fe=g.alternate;if(fe!==null){var ge=fe.child;if(ge!==null){fe.child=null;do{var tt=ge.sibling;ge.sibling=null,ge=tt}while(ge!==null)}}he=g}}if((g.subtreeFlags&2064)!==0&&w!==null)w.return=g,he=w;else e:for(;he!==null;){if(g=he,(g.flags&2048)!==0)switch(g.tag){case 0:case 11:case 15:yo(9,g,g.return)}var V=g.sibling;if(V!==null){V.return=g.return,he=V;break e}he=g.return}}var L=r.current;for(he=L;he!==null;){w=he;var U=w.child;if((w.subtreeFlags&2064)!==0&&U!==null)U.return=w,he=U;else e:for(w=L;he!==null;){if(C=he,(C.flags&2048)!==0)try{switch(C.tag){case 0:case 11:case 15:dl(9,C)}}catch(ye){Ye(C,C.return,ye)}if(C===w){he=null;break e}var re=C.sibling;if(re!==null){re.return=C.return,he=re;break e}he=C.return}}if(Ie=p,dr(),bn&&typeof bn.onPostCommitFiberRoot=="function")try{bn.onPostCommitFiberRoot(Na,r)}catch{}d=!0}return d}finally{Ve=l,Zt.transition=s}}return!1}function K0(r,s,l){s=Qi(l,s),s=h0(r,s,1),r=fr(r,s,1),s=Pt(),r!==null&&($s(r,1,s),Dt(r,s))}function Ye(r,s,l){if(r.tag===3)K0(r,r,l);else for(;s!==null;){if(s.tag===3){K0(s,r,l);break}else if(s.tag===1){var d=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&(mr===null||!mr.has(d))){r=Qi(l,r),r=f0(s,r,1),s=fr(s,r,1),r=Pt(),s!==null&&($s(s,1,r),Dt(s,r));break}}s=s.return}}function vk(r,s,l){var d=r.pingCache;d!==null&&d.delete(s),s=Pt(),r.pingedLanes|=r.suspendedLanes&l,ht===r&&(yt&l)===l&&(lt===4||lt===3&&(yt&130023424)===yt&&500>et()-pd?Xr(r,0):fd|=l),Dt(r,s)}function Q0(r,s){s===0&&((r.mode&1)===0?s=1:(s=Ca,Ca<<=1,(Ca&130023424)===0&&(Ca=4194304)));var l=Pt();r=Bn(r,s),r!==null&&($s(r,s,l),Dt(r,l))}function wk(r){var s=r.memoizedState,l=0;s!==null&&(l=s.retryLane),Q0(r,l)}function bk(r,s){var l=0;switch(r.tag){case 13:var d=r.stateNode,p=r.memoizedState;p!==null&&(l=p.retryLane);break;case 19:d=r.stateNode;break;default:throw Error(n(314))}d!==null&&d.delete(s),Q0(r,l)}var Y0;Y0=function(r,s,l){if(r!==null)if(r.memoizedProps!==s.pendingProps||It.current)Mt=!0;else{if((r.lanes&l)===0&&(s.flags&128)===0)return Mt=!1,lk(r,s,l);Mt=(r.flags&131072)!==0}else Mt=!1,He&&(s.flags&1048576)!==0&&Tm(s,Ka,s.index);switch(s.lanes=0,s.tag){case 2:var d=s.type;cl(r,s),r=s.pendingProps;var p=Bi(s,wt.current);Gi(s,l),p=Wu(null,s,d,r,p,l);var g=Hu();return s.flags|=1,typeof p=="object"&&p!==null&&typeof p.render=="function"&&p.$$typeof===void 0?(s.tag=1,s.memoizedState=null,s.updateQueue=null,Ot(d)?(g=!0,Wa(s)):g=!1,s.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,Fu(s),p.updater=al,s.stateNode=p,p._reactInternals=s,Ju(s,d,r,l),s=nd(null,s,d,!0,g,l)):(s.tag=0,He&&g&&Pu(s),Et(null,s,p,l),s=s.child),s;case 16:d=s.elementType;e:{switch(cl(r,s),r=s.pendingProps,p=d._init,d=p(d._payload),s.type=d,p=s.tag=jk(d),r=dn(d,r),p){case 0:s=td(null,
vendor: 10,736 bytes, line 40
40s,d,r,l);break e;case 1:s=k0(null,s,d,r,l);break e;case 11:s=y0(null,s,d,r,l);break e;case 14:s=x0(null,s,d,dn(d.type,r),l);break e}throw Error(n(306,d,""))}return s;case 0:return d=s.type,p=s.pendingProps,p=s.elementType===d?p:dn(d,p),td(r,s,d,p,l);case 1:return d=s.type,p=s.pendingProps,p=s.elementType===d?p:dn(d,p),k0(r,s,d,p,l);case 3:e:{if(j0(s),r===null)throw Error(n(387));d=s.pendingProps,g=s.memoizedState,p=g.element,Fm(r,s),el(s,d,null,l);var w=s.memoizedState;if(d=w.element,g.isDehydrated)if(g={element:d,isDehydrated:!1,cache:w.cache,pendingSuspenseBoundaries:w.pendingSuspenseBoundaries,transitions:w.transitions},s.updateQueue.baseState=g,s.memoizedState=g,s.flags&256){p=Qi(Error(n(423)),s),s=N0(r,s,d,l,p);break e}else if(d!==p){p=Qi(Error(n(424)),s),s=N0(r,s,d,l,p);break e}else for(Ht=lr(s.stateNode.containerInfo.firstChild),Wt=s,He=!0,un=null,l=Lm(s,null,d,l),s.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(qi(),d===p){s=$n(r,s,l);break e}Et(r,s,d,l)}s=s.child}return s;case 5:return Bm(s),r===null&&Au(s),d=s.type,p=s.pendingProps,g=r!==null?r.memoizedProps:null,w=p.children,ku(d,p)?w=null:g!==null&&ku(d,g)&&(s.flags|=32),b0(r,s),Et(r,s,w,l),s.child;case 6:return r===null&&Au(s),null;case 13:return S0(r,s,l);case 4:return Vu(s,s.stateNode.containerInfo),d=s.pendingProps,r===null?s.child=Wi(s,null,d,l):Et(r,s,d,l),s.child;case 11:return d=s.type,p=s.pendingProps,p=s.elementType===d?p:dn(d,p),y0(r,s,d,p,l);case 7:return Et(r,s,s.pendingProps,l),s.child;case 8:return Et(r,s,s.pendingProps.children,l),s.child;case 12:return Et(r,s,s.pendingProps.children,l),s.child;case 10:e:{if(d=s.type._context,p=s.pendingProps,g=s.memoizedProps,w=p.value,Ue(Xa,d._currentValue),d._currentValue=w,g!==null)if(cn(g.value,w)){if(g.children===p.children&&!It.current){s=$n(r,s,l);break e}}else for(g=s.child,g!==null&&(g.return=s);g!==null;){var C=g.dependencies;if(C!==null){w=g.child;for(var R=C.firstContext;R!==null;){if(R.context===d){if(g.tag===1){R=Un(-1,l&-l),R.tag=2;var $=g.updateQueue;if($!==null){$=$.shared;var J=$.pending;J===null?R.next=R:(R.next=J.next,J.next=R),$.pending=R}}g.lanes|=l,R=g.alternate,R!==null&&(R.lanes|=l),Lu(g.return,l,s),C.lanes|=l;break}R=R.next}}else if(g.tag===10)w=g.type===s.type?null:g.child;else if(g.tag===18){if(w=g.return,w===null)throw Error(n(341));w.lanes|=l,C=w.alternate,C!==null&&(C.lanes|=l),Lu(w,l,s),w=g.sibling}else w=g.child;if(w!==null)w.return=g;else for(w=g;w!==null;){if(w===s){w=null;break}if(g=w.sibling,g!==null){g.return=w.return,w=g;break}w=w.return}g=w}Et(r,s,p.children,l),s=s.child}return s;case 9:return p=s.type,d=s.pendingProps.children,Gi(s,l),p=Xt(p),d=d(p),s.flags|=1,Et(r,s,d,l),s.child;case 14:return d=s.type,p=dn(d,s.pendingProps),p=dn(d.type,p),x0(r,s,d,p,l);case 15:return v0(r,s,s.type,s.pendingProps,l);case 17:return d=s.type,p=s.pendingProps,p=s.elementType===d?p:dn(d,p),cl(r,s),s.tag=1,Ot(d)?(r=!0,Wa(s)):r=!1,Gi(s,l),u0(s,d,p),Ju(s,d,p,l),nd(null,s,d,!0,r,l);case 19:return E0(r,s,l);case 22:return w0(r,s,l)}throw Error(n(156,s.tag))};function X0(r,s){return _p(r,s)}function kk(r,s,l,d){this.tag=r,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function en(r,s,l,d){return new kk(r,s,l,d)}function kd(r){return r=r.prototype,!(!r||!r.isReactComponent)}function jk(r){if(typeof r=="function")return kd(r)?1:0;if(r!=null){if(r=r.$$typeof,r===O)return 11;if(r===ne)return 14}return 2}function vr(r,s){var l=r.alternate;return l===null?(l=en(r.tag,s,r.key,r.mode),l.elementType=r.elementType,l.type=r.type,l.stateNode=r.stateNode,l.alternate=r,r.alternate=l):(l.pendingProps=s,l.type=r.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=r.flags&14680064,l.childLanes=r.childLanes,l.lanes=r.lanes,l.child=r.child,l.memoizedProps=r.memoizedProps,l.memoizedState=r.memoizedState,l.updateQueue=r.updateQueue,s=r.dependencies,l.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},l.sibling=r.sibling,l.index=r.index,l.ref=r.ref,l}function wl(r,s,l,d,p,g){var w=2;if(d=r,typeof r=="function")kd(r)&&(w=1);else if(typeof r=="string")w=5;else e:switch(r){case Z:return Zr(l.children,p,g,s);case T:w=8,p|=8;break;case H:return r=en(12,l,s,p|2),r.elementType=H,r.lanes=g,r;case B:return r=en(13,l,s,p),r.elementType=B,r.lanes=g,r;case K:return r=en(19,l,s,p),r.elementType=K,r.lanes=g,r;case se:return bl(l,p,g,s);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case Y:w=10;break e;case te:w=9;break e;case O:w=11;break e;case ne:w=14;break e;case Q:w=16,d=null;break e}throw Error(n(130,r==null?r:typeof r,""))}return s=en(w,l,s,p),s.elementType=r,s.type=d,s.lanes=g,s}function Zr(r,s,l,d){return r=en(7,r,d,s),r.lanes=l,r}function bl(r,s,l,d){return r=en(22,r,d,s),r.elementType=se,r.lanes=l,r.stateNode={isHidden:!1},r}function jd(r,s,l){return r=en(6,r,null,s),r.lanes=l,r}function Nd(r,s,l){return s=en(4,r.children!==null?r.children:[],r.key,s),s.lanes=l,s.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},s}function Nk(r,s,l,d,p){this.tag=s,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Xc(0),this.expirationTimes=Xc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xc(0),this.identifierPrefix=d,this.onRecoverableError=p,this.mutableSourceEagerHydrationData=null}function Sd(r,s,l,d,p,g,w,C,R){return r=new Nk(r,s,l,C,R),s===1?(s=1,g===!0&&(s|=8)):s=0,g=en(3,null,null,s),r.current=g,g.stateNode=r,g.memoizedState={element:d,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fu(g),r}function Sk(r,s,l){var d=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:W,key:d==null?null:""+d,children:r,containerInfo:s,implementation:l}}function J0(r){if(!r)return ur;r=r._reactInternals;e:{if(Br(r)!==r||r.tag!==1)throw Error(n(170));var s=r;do{switch(s.tag){case 3:s=s.stateNode.context;break e;case 1:if(Ot(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break e}}s=s.return}while(s!==null);throw Error(n(171))}if(r.tag===1){var l=r.type;if(Ot(l))return Cm(r,l,s)}return s}function Z0(r,s,l,d,p,g,w,C,R){return r=Sd(l,d,!0,r,p,g,w,C,R),r.context=J0(null),l=r.current,d=Pt(),p=yr(l),g=Un(d,p),g.callback=s??null,fr(l,g,p),r.current.lanes=p,$s(r,p,d),Dt(r,d),r}function kl(r,s,l,d){var p=s.current,g=Pt(),w=yr(p);return l=J0(l),s.context===null?s.context=l:s.pendingContext=l,s=Un(g,w),s.payload={element:r},d=d===void 0?null:d,d!==null&&(s.callback=d),r=fr(p,s,w),r!==null&&(pn(r,p,w,g),Za(r,p,w)),w}function jl(r){if(r=r.current,!r.child)return null;switch(r.child.tag){case 5:return r.child.stateNode;default:return r.child.stateNode}}function eg(r,s){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var l=r.retryLane;r.retryLane=l!==0&&l<s?l:s}}function Cd(r,s){eg(r,s),(r=r.alternate)&&eg(r,s)}function Ck(){return null}var tg=typeof reportError=="function"?reportError:function(r){console.error(r)};function Ed(r){this._internalRoot=r}Nl.prototype.render=Ed.prototype.render=function(r){var s=this._internalRoot;if(s===null)throw Error(n(409));kl(r,s,null,null)},Nl.prototype.unmount=Ed.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var s=r.containerInfo;Yr(function(){kl(null,r,null,null)}),s[Dn]=null}};function Nl(r){this._internalRoot=r}Nl.prototype.unstable_scheduleHydration=function(r){if(r){var s=Fp();r={blockedOn:null,target:r,priority:s};for(var l=0;l<sr.length&&s!==0&&s<sr[l].priority;l++);sr.splice(l,0,r),l===0&&Bp(r)}};function Pd(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function Sl(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11&&(r.nodeType!==8||r.nodeValue!==" react-mount-point-unstable "))}function ng(){}function Ek(r,s,l,d,p){if(p){if(typeof d=="function"){var g=d;d=function(){var $=jl(w);g.call($)}}var w=Z0(s,d,r,0,null,!1,!1,"",ng);return r._reactRootContainer=w,r[Dn]=w.current,ro(r.nodeType===8?r.parentNode:r),Yr(),w}for(;p=r.lastChild;)r.removeChild(p);if(typeof d=="function"){var C=d;d=function(){var $=jl(R);C.call($)}}var R=Sd(r,0,!1,null,null,!1,!1,"",ng);return r._reactRootContainer=R,r[Dn]=R.current,ro(r.nodeType===8?r.parentNode:r),Yr(function(){kl(s,R,l,d)}),R}function Cl(r,s,l,d,p){var g=l._reactRootContainer;if(g){var w=g;if(typeof p=="function"){var C=p;p=function(){var R=jl(w);C.call(R)}}kl(s,w,r,p)}else w=Ek(l,s,r,p,d);return jl(w)}Lp=function(r){switch(r.tag){case 3:var s=r.stateNode;if(s.current.memoizedState.isDehydrated){var l=Us(s.pendingLanes);l!==0&&(Jc(s,l|1),Dt(s,et()),(Ie&6)===0&&(Ji=et()+500,dr()))}break;case 13:Yr(function(){var d=Bn(r,1);if(d!==null){var p=Pt();pn(d,r,1,p)}}),Cd(r,1)}},Zc=function(r){if(r.tag===13){var s=Bn(r,134217728);if(s!==null){var l=Pt();pn(s,r,134217728,l)}Cd(r,134217728)}},Dp=function(r){if(r.tag===13){var s=yr(r),l=Bn(r,s);if(l!==null){var d=Pt();pn(l,r,s,d)}Cd(r,s)}},Fp=function(){return Ve},Vp=function(r,s){var l=Ve;try{return Ve=r,s()}finally{Ve=l}},Wc=function(r,s,l){switch(s){case"input":if(Dc(r,l),s=l.name,l.type==="radio"&&s!=null){for(l=r;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll("input[name="+JSON.stringify(""+s)+'][type="radio"]'),s=0;s<l.length;s++){var d=l[s];if(d!==r&&d.form===r.form){var p=$a(d);if(!p)throw Error(n(90));zr(d),Dc(d,p)}}}break;case"textarea":pp(r,l);break;case"select":s=l.value,s!=null&&Ti(r,!!l.multiple,s,!1)}},jp=vd,Np=Yr;var Pk={usingClientEntryPoint:!1,Events:[oo,Vi,$a,bp,kp,vd]},bo={findFiberByHostInstance:Ur,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Tk={bundleType:bo.bundleType,version:bo.version,rendererPackageName:bo.rendererPackageName,rendererConfig:bo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:_.ReactCurrentDispatcher,findHostInstanceByFiber:function(r){return r=Pp(r),r===null?null:r.stateNode},findFiberByHostInstance:bo.findFiberByHostInstance||Ck,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var El=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!El.isDisabled&&El.supportsFiber)try{Na=El.inject(Tk),bn=El}catch{}}return Ft.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Pk,Ft.createPortal=function(r,s){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Pd(s))throw Error(n(200));return Sk(r,s,null,l)},Ft.createRoot=function(r,s){if(!Pd(r))throw Error(n(299));var l=!1,d="",p=tg;return s!=null&&(s.unstable_strictMode===!0&&(l=!0),s.identifierPrefix!==void 0&&(d=s.identifierPrefix),s.onRecoverableError!==void 0&&(p=s.onRecoverableError)),s=Sd(r,1,!1,null,null,l,!1,d,p),r[Dn]=s.current,ro(r.nodeType===8?r.parentNode:r),new Ed(s)},Ft.findDOMNode=function(r){if(r==null)return null;if(r.nodeType===1)return r;var s=r._reactInternals;if(s===void 0)throw typeof r.render=="function"?Error(n(188)):(r=Object.keys(r).join(","),Error(n(268,r)));return r=Pp(s),r=r===null?null:r.stateNode,r},Ft.flushSync=function(r){return Yr(r)},Ft.hydrate=function(r,s,l){if(!Sl(s))throw Error(n(200));return Cl(null,r,s,!0,l)},Ft.hydrateRoot=function(r,s,l){if(!Pd(r))throw Error(n(405));var d=l!=null&&l.hydratedSources||null,p=!1,g="",w=tg;if(l!=null&&(l.unstable_strictMode===!0&&(p=!0),l.identifierPrefix!==void 0&&(g=l.identifierPrefix),l.onRecoverableError!==void 0&&(w=l.onRecoverableError)),s=Z0(s,null,r,1,l??null,p,!1,g,w),r[Dn]=s.current,ro(r),d)for(r=0;r<d.length;r++)l=d[r],p=l._getVersion,p=p(l._source),s.mutableSourceEagerHydrationData==null?s.mutableSourceEagerHydrationData=[l,p]:s.mutableSourceEagerHydrationData.push(l,p);return new Nl(s)},Ft.render=function(r,s,l){if(!Sl(s))throw Error(n(200));return Cl(null,r,s,!1,l)},Ft.unmountComponentAtNode=function(r){if(!Sl(r))throw Error(n(40));return r._reactRootContainer?(Yr(function(){Cl(null,null,r,!1,function(){r._reactRootContainer=null,r[Dn]=null})}),!0):!1},Ft.unstable_batchedUpdates=vd,Ft.unstable_renderSubtreeIntoContainer=function(r,s,l,d){if(!Sl(l))throw Error(n(200));if(r==null||r._reactInternals===void 0)throw Error(n(38));return Cl(r,s,l,!1,d)},Ft.version="18.3.1-next-f1338f8080-20240426",Ft}var dg;function dv(){if(dg)return Rd.exports;dg=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),Rd.exports=Vk(),Rd.exports}var hg;function zk(){if(hg)return Tl;hg=1;var t=dv();return Tl.createRoot=t.createRoot,Tl.hydrateRoot=t.hydrateRoot,Tl}var Bk=zk();const Uk=uv(Bk),$k=20,qk=1e6,Qn={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let Md=0;function Wk(){return Md=(Md+1)%Number.MAX_VALUE,Md.toString()}const Ld=new Map,fg=t=>{if(Ld.has(t))return;const e=setTimeout(()=>{Ld.delete(t),Do({type:Qn.REMOVE_TOAST,toastId:t})},qk);Ld.set(t,e)},Hk=(t,e)=>{switch(e.type){case Qn.ADD_TOAST:return{...t,toasts:[e.toast,...t.toasts].slice(0,$k)};case Qn.UPDATE_TOAST:return{...t,toasts:t.toasts.map(n=>n.id===e.toast.id?{...n,...e.toast}:n)};case Qn.DISMISS_TOAST:{const{toastId:n}=e;return n?fg(n):t.toasts.forEach(i=>{fg(i.id)}),{...t,toasts:t.toasts.map(i=>i.id===n||n===void 0?{...i,open:!1}:i)}}case Qn.REMOVE_TOAST:return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(n=>n.id!==e.toastId)}}},Bl=[];let Ul={toasts:[]};function Do(t){Ul=Hk(Ul,t),Bl.forEach(e=>{e(Ul)})}function Gk({...t}){const e=Wk(),n=o=>Do({type:Qn.UPDATE_TOAST,toast:{...o,id:e}}),i=()=>Do({type:Qn.DISMISS_TOAST,toastId:e});return Do({type:Qn.ADD_TOAST,toast:{...t,id:e,open:!0,onOpenChange:o=>{o||i()}}}),{id:e,dismiss:i,update:n}}function Kk(){const[t,e]=P.useState(Ul);return P.useEffect(()=>(Bl.push(e),()=>{const n=Bl.indexOf(e);n>-1&&Bl.splice(n,1)}),[t]),{...t,toast:Gk,dismiss:n=>Do({type:Qn.DISMISS_TOAST,toastId:n})}}function hv(t){var e,n,i="";if(typeof t=="string"||typeof t=="number")i+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(e=0;e<o;e++)t[e]&&(n=hv(t[e]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}function fv(){for(var t,e,n=0,i="",o=arguments.length;n<o;n++)(t=arguments[n])&&(e=hv(t))&&(i&&(i+=" "),i+=e);return i}const pg=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,mg=fv,pv=(t,e)=>n=>{var i;if((e==null?void 0:e.variants)==null)return mg(t,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:c}=e,u=Object.keys(o).map(m=>{const y=n==null?void 0:n[m],x=c==null?void 0:c[m];if(y===null)return null;const v=pg(y)||pg(x);return o[m][v]}),h=n&&Object.entries(n).reduce((m,y)=>{let[x,v]=y;return v===void 0||(m[x]=v),m},{}),f=e==null||(i=e.compoundVariants)===null||i===void 0?void 0:i.reduce((m,y)=>{let{class:x,className:v,...j}=y;return Object.entries(j).every(b=>{let[N,k]=b;return Array.isArray(k)?k.includes({...c,...h}[N]):{...c,...h}[N]===k})?[...m,x,v]:m},[]);return mg(t,u,f,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.475.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */const Qk=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),mv=(...t)=>t.filter((e,n,i)=>!!e&&e.trim()!==""&&i.indexOf(e)===n).join(" ").trim();/**
46 * @license lucide-react v0.475.0 - ISC
47 *
48 * This source code is licensed under the ISC license.
49 * See the LICENSE file in the root directory of this source tree.
50 */var Yk={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
51 * @license lucide-react v0.475.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const Xk=P.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:i,className:o="",children:c,iconNode:u,...h},f)=>P.createElement("svg",{ref:f,...Yk,width:e,height:e,stroke:t,strokeWidth:i?Number(n)*24/Number(e):n,className:mv("lucide",o),...h},[...u.map(([m,y])=>
55P.createElement(m,y)),...Array.isArray(c)?c:[c]]));/**
56 * @license lucide-react v0.475.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const ze=(t,e)=>{const n=P.forwardRef(({className:i,...o},c)=>P.createElement(Xk,{ref:c,iconNode:e,className:mv(`lucide-${Qk(t)}`,i),...o}));return n.displayName=`${t}`,n};/**
61 * @license lucide-react v0.475.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const Jk=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m14.31 8 5.74 9.94",key:"1y6ab4"}],["path",{d:"M9.69 8h11.48",key:"1wxppr"}],["path",{d:"m7.38 12 5.74-9.94",key:"1grp0k"}],["path",{d:"M9.69 16 3.95 6.06",key:"libnyf"}],["path",{d:"M14.31 16H2.83",key:"x5fava"}],["path",{d:"m16.62 12-5.74 9.94",key:"1vwawt"}]],Zk=ze("Aperture",Jk);/**
66 * @license lucide-react v0.475.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const ej=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],En=ze("ArrowRight",ej);/**
71 * @license lucide-react v0.475.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const tj=[["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"}]],yc=ze("Camera",tj);/**
76 * @license lucide-react v0.475.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const nj=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Ze=ze("Check",nj);/**
81 * @license lucide-react v0.475.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const rj=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ij=ze("ChevronDown",rj);/**
86 * @license lucide-react v0.475.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const sj=[["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z",key:"1tn4o7"}],["path",{d:"m6.2 5.3 3.1 3.9",key:"iuk76l"}],["path",{d:"m12.4 3.4 3.1 4",key:"6hsd6n"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z",key:"ltgou9"}]],oj=ze("Clapperboard",sj);/**
91 * @license lucide-react v0.475.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const aj=[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]],lj=ze("Download",aj);/**
96 * @license lucide-react v0.475.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const cj=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],gv=ze("FileText",cj);/**
101 * @license lucide-react v0.475.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const uj=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]],Ni=ze("Film",uj);/**
106 * @license lucide-react v0.475.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const dj=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],hj=ze("Globe",dj);/**
111 * @license lucide-react v0.475.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const fj=[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]],pj=ze("GraduationCap",fj);/**
116 * @license lucide-react v0.475.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const mj=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],gg=ze("Layers",mj);/**
121 * @license lucide-react v0.475.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const gj=[["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"}]],yg=ze("Mail",gj);/**
126 * @license lucide-react v0.475.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const yj=[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]],cf=ze("Music",yj);/**
131 * @license lucide-react v0.475.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const xj=[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]],uf=ze("Palette",xj);/**
136 * @license lucide-react v0.475.0 - ISC
137 *
138 * This source code is licensed under the ISC license.
139 * See the LICENSE file in the root directory of this source tree.
140 */const vj=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]],xc=ze("PanelsTopLeft",vj);/**
141 * @license lucide-react v0.475.0 - ISC
142 *
143 * This source code is licensed under the ISC license.
144 * See the LICENSE file in the root directory of this source tree.
145 */const wj=[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z",key:"1ykcvy"}]],bj=ze("PenLine",wj);/**
146 * @license lucide-react v0.475.0 - ISC
147 *
148 * This source code is licensed under the ISC license.
149 * See the LICENSE file in the root directory of this source tree.
150 */const kj=[["path",{d:"M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z",key:"nt11vn"}],["path",{d:"m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18",key:"15qc1e"}],["path",{d:"m2.3 2.3 7.286 7.286",key:"1wuzzi"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]],jj=ze("PenTool",kj);/**
151 * @license lucide-react v0.475.0 - ISC
152 *
153 * This source code is licensed under the ISC license.
154 * See the LICENSE file in the root directory of this source tree.
155 */const Nj=[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3
155kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]],Sj=ze("Rocket",Nj);/**
156 * @license lucide-react v0.475.0 - ISC
157 *
158 * This source code is licensed under the ISC license.
159 * See the LICENSE file in the root directory of this source tree.
160 */const Cj=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],Ej=ze("Scissors",Cj);/**
161 * @license lucide-react v0.475.0 - ISC
162 *
163 * This source code is licensed under the ISC license.
164 * See the LICENSE file in the root directory of this source tree.
165 */const Pj=[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]],Tj=ze("ShoppingBag",Pj);/**
166 * @license lucide-react v0.475.0 - ISC
167 *
168 * This source code is licensed under the ISC license.
169 * See the LICENSE file in the root directory of this source tree.
170 */const _j=[["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"}]],wi=ze("Sparkles",_j);/**
171 * @license lucide-react v0.475.0 - ISC
172 *
173 * This source code is licensed under the ISC license.
174 * See the LICENSE file in the root directory of this source tree.
175 */const Aj=[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]],Rj=ze("Trophy",Aj);/**
176 * @license lucide-react v0.475.0 - ISC
177 *
178 * This source code is licensed under the ISC license.
179 * See the LICENSE file in the root directory of this source tree.
180 */const Ij=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]],yv=ze("Volume2",Ij);/**
181 * @license lucide-react v0.475.0 - ISC
182 *
183 * This source code is licensed under the ISC license.
184 * See the LICENSE file in the root directory of this source tree.
185 */const Oj=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]],xv=ze("VolumeX",Oj);/**
186 * @license lucide-react v0.475.0 - ISC
187 *
188 * This source code is licensed under the ISC license.
189 * See the LICENSE file in the root directory of this source tree.
190 */const Mj=[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]],Lj=ze("WandSparkles",Mj);/**
191 * @license lucide-react v0.475.0 - ISC
192 *
193 * This source code is licensed under the ISC license.
194 * See the LICENSE file in the root directory of this source tree.
195 */const Dj=[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 6,314 bytes, lines 195-200
195],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],vv=ze("X",Dj);/**
196 * @license lucide-react v0.475.0 - ISC
197 *
198 * This source code is licensed under the ISC license.
199 * See the LICENSE file in the root directory of this source tree.
200 */const Fj=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],js=ze("Zap",Fj),df="-",Vj=t=>{const e=Bj(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=t;return{getClassGroupId:u=>{const h=u.split(df);return h[0]===""&&h.length!==1&&h.shift(),wv(h,e)||zj(u)},getConflictingClassGroupIds:(u,h)=>{const f=n[u]||[];return h&&i[u]?[...f,...i[u]]:f}}},wv=(t,e)=>{var u;if(t.length===0)return e.classGroupId;const n=t[0],i=e.nextPart.get(n),o=i?wv(t.slice(1),i):void 0;if(o)return o;if(e.validators.length===0)return;const c=t.join(df);return(u=e.validators.find(({validator:h})=>h(c)))==null?void 0:u.classGroupId},xg=/^\[(.+)\]$/,zj=t=>{if(xg.test(t)){const e=xg.exec(t)[1],n=e==null?void 0:e.substring(0,e.indexOf(":"));if(n)return"arbitrary.."+n}},Bj=t=>{const{theme:e,classGroups:n}=t,i={nextPart:new Map,validators:[]};for(const o in n)dh(n[o],i,o,e);return i},dh=(t,e,n,i)=>{t.forEach(o=>{if(typeof o=="string"){const c=o===""?e:vg(e,o);c.classGroupId=n;return}if(typeof o=="function"){if(Uj(o)){dh(o(i),e,n,i);return}e.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([c,u])=>{dh(u,vg(e,c),n,i)})})},vg=(t,e)=>{let n=t;return e.split(df).forEach(i=>{n.nextPart.has(i)||n.nextPart.set(i,{nextPart:new Map,validators:[]}),n=n.nextPart.get(i)}),n},Uj=t=>t.isThemeGetter,$j=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=new Map,i=new Map;const o=(c,u)=>{n.set(c,u),e++,e>t&&(e=0,i=n,n=new Map)};return{get(c){let u=n.get(c);if(u!==void 0)return u;if((u=i.get(c))!==void 0)return o(c,u),u},set(c,u){n.has(c)?n.set(c,u):o(c,u)}}},hh="!",fh=":",qj=fh.length,Wj=t=>{const{prefix:e,experimentalParseClassName:n}=t;let i=o=>{const c=[];let u=0,h=0,f=0,m;for(let b=0;b<o.length;b++){let N=o[b];if(u===0&&h===0){if(N===fh){c.push(o.slice(f,b)),f=b+qj;continue}if(N==="/"){m=b;continue}}N==="["?u++:N==="]"?u--:N==="("?h++:N===")"&&h--}const y=c.length===0?o:o.substring(f),x=Hj(y),v=x!==y,j=m&&m>f?m-f:void 0;return{modifiers:c,hasImportantModifier:v,baseClassName:x,maybePostfixModifierPosition:j}};if(e){const o=e+fh,c=i;i=u=>u.startsWith(o)?c(u.substring(o.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:u,maybePostfixModifierPosition:void 0}}if(n){const o=i;i=c=>n({className:c,parseClassName:o})}return i},Hj=t=>t.endsWith(hh)?t.substring(0,t.length-1):t.startsWith(hh)?t.substring(1):t,Gj=t=>{const e=Object.fromEntries(t.orderSensitiveModifiers.map(i=>[i,!0]));return i=>{if(i.length<=1)return i;const o=[];let c=[];return i.forEach(u=>{u[0]==="["||e[u]?(o.push(...c.sort(),u),c=[]):c.push(u)}),o.push(...c.sort()),o}},Kj=t=>({cache:$j(t.cacheSize),parseClassName:Wj(t),sortModifiers:Gj(t),...Vj(t)}),Qj=/\s+/,Yj=(t,e)=>{const{parseClassName:n,getClassGroupId:i,getConflictingClassGroupIds:o,sortModifiers:c}=e,u=[],h=t.trim().split(Qj);let f="";for(let m=h.length-1;m>=0;m-=1){const y=h[m],{isExternal:x,modifiers:v,hasImportantModifier:j,baseClassName:b,maybePostfixModifierPosition:N}=n(y);if(x){f=y+(f.length>0?" "+f:f);continue}let k=!!N,A=i(k?b.substring(0,N):b);if(!A){if(!k){f=y+(f.length>0?" "+f:f);continue}if(A=i(b),!A){f=y+(f.length>0?" "+f:f);continue}k=!1}const I=c(v).join(":"),E=j?I+hh:I,_=E+A;if(u.includes(_))continue;u.push(_);const F=o(A,k);for(let W=0;W<F.length;++W){const Z=F[W];u.push(E+Z)}f=y+(f.length>0?" "+f:f)}return f};function Xj(){let t=0,e,n,i="";for(;t<arguments.length;)(e=arguments[t++])&&(n=bv(e))&&(i&&(i+=" "),i+=n);return i}const bv=t=>{if(typeof t=="string")return t;let e,n="";for(let i=0;i<t.length;i++)t[i]&&(e=bv(t[i]))&&(n&&(n+=" "),n+=e);return n};function Jj(t,...e){let n,i,o,c=u;function u(f){const m=e.reduce((y,x)=>x(y),t());return n=Kj(m),i=n.cache.get,o=n.cache.set,c=h,h(f)}function h(f){const m=i(f);if(m)return m;const y=Yj(f,n);return o(f,y),y}return function(){return c(Xj.apply(null,arguments))}}const ct=t=>{const e=n=>n[t]||[];return e.isThemeGetter=!0,e},kv=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,jv=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Zj=/^\d+\/\d+$/,eN=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,tN=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,nN=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,rN=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,iN=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,es=t=>Zj.test(t),Ee=t=>!!t&&!Number.isNaN(Number(t)),br=t=>!!t&&Number.isInteger(Number(t)),Dd=t=>t.endsWith("%")&&Ee(t.slice(0,-1)),Wn=t=>eN.test(t),sN=()=>!0,oN=t=>tN.test(t)&&!nN.test(t),Nv=()=>!1,aN=t=>rN.test(t),lN=t=>iN.test(t),cN=t=>!pe(t)&&!me(t),uN=t=>Es(t,Ev,Nv),pe=t=>kv.test(t),ei=t=>Es(t,Pv,oN),Fd=t=>Es(t,mN,Ee),wg=t=>Es(t,Sv,Nv),dN=t=>Es(t,Cv,lN),_l=t=>Es(t,Tv,aN),me=t=>jv.test(t),jo=t=>Ps(t,Pv),hN=t=>Ps(t,gN),bg=t=>Ps(t,Sv),fN=t=>Ps(t,Ev),pN=t=>Ps(t,Cv),Al=t=>Ps(t,Tv,!0),Es=(t,e,n)=>{const i=kv.exec(t);return i?i[1]?e(i[1]):n(i[2]):!1},Ps=(t,e,n=!1)=>{const i=jv.exec(t);return i?i[1]?e(i[1]):n:!1},Sv=t=>t==="position"||t==="percentage",Cv=t=>t==="image"||t==="url",Ev=t=>t==="length"||t==="size"||t==="bg-size",Pv=t=>t==="length",mN=t=>t==="number",gN=t=>t==="family-name",Tv=t=>t==="shadow",yN=()=>{const t=ct("color"),e=ct("font"),n=ct("text"),i=ct("font-weight"),o=ct("tracking"),c=ct("leading"),u=ct("breakpoint"),h=ct("container"),f=ct("spacing"),m=ct("radius"),y=ct("shadow"),x=ct("inset-shadow"),v=ct("text-shadow"),j=ct("drop-shadow"),b=ct("blur"),N=ct("perspective"),k=ct("aspect"),A=ct("ease"),I=ct("animate"),E=()=>["auto","avoid","all","avoid-page","page","left","right","column"],_=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],F=()=>[..._(),me,pe],W=()=>["auto","hidden","clip","visible","scroll"],Z=()=>["auto","contain","none"],T=()=>[me,pe,f],H=()=>[es,"full","auto",...T()],Y=()=>[br,"none","subgrid",me,pe],te=()=>["auto",{span:["full",br,me,pe]}
vendor: 4,275 bytes, line 200
200,br,me,pe],O=()=>[br,"auto",me,pe],B=()=>["auto","min","max","fr",me,pe],K=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ne=()=>["start","end","center","stretch","center-safe","end-safe"],Q=()=>["auto",...T()],se=()=>[es,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...T()],z=()=>[t,me,pe],oe=()=>[..._(),bg,wg,{position:[me,pe]}],ie=()=>["no-repeat",{repeat:["","x","y","space","round"]}],D=()=>["auto","cover","contain",fN,uN,{size:[me,pe]}],G=()=>[Dd,jo,ei],de=()=>["","none","full",m,me,pe],xe=()=>["",Ee,jo,ei],Ce=()=>["solid","dashed","dotted","double"],Te=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ne=()=>[Ee,Dd,bg,wg],Oe=()=>["","none",b,me,pe],Fe=()=>["none",Ee,me,pe],ut=()=>["none",Ee,me,pe],tr=()=>[Ee,me,pe],zr=()=>[es,"full",...T()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Wn],breakpoint:[Wn],color:[sN],container:[Wn],"drop-shadow":[Wn],ease:["in","out","in-out"],font:[cN],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Wn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Wn],shadow:[Wn],spacing:["px",Ee],text:[Wn],"text-shadow":[Wn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",es,pe,me,k]}],container:["container"],columns:[{columns:[Ee,pe,me,h]}],"break-after":[{"break-after":E()}],"break-before":[{"break-before":E()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:F()}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:H()}],"inset-x":[{"inset-x":H()}],"inset-y":[{"inset-y":H()}],start:[{start:H()}],end:[{end:H()}],top:[{top:H()}],right:[{right:H()}],bottom:[{bottom:H()}],left:[{left:H()}],visibility:["visible","invisible","collapse"],z:[{z:[br,"auto",me,pe]}],basis:[{basis:[es,"full","auto",h,...T()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ee,es,"auto","initial","none",pe]}],grow:[{grow:["",Ee,me,pe]}],shrink:[{shrink:["",Ee,me,pe]}],order:[{order:[br,"first","last","none",me,pe]}],"grid-cols":[{"grid-cols":Y()}],"col-start-end":[{col:te()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":Y()}],"row-start-end":[{row:te()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":B()}],"auto-rows":[{"auto-rows":B()}],gap:[{gap:T()}],"gap-x":[{"gap-x":T()}],"gap-y":[{"gap-y":T()}],"justify-content":[{justify:[...K(),"normal"]}],"justify-items":[{"justify-items":[...ne(),"normal"]}],"justify-self":[{"justify-self":["auto",...ne()]}],"align-content":[{content:["normal",...K()]}],"align-items":[{items:[...ne(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ne(),{baseline:["","last"]}]}],"place-content":[{"place-content":K()}],"place-items":[{"place-items":[...ne(),"baseline"]}],"place-self":[{"place-self":["auto",...ne()]}],p:[{p:T()}],px:[{px:T()}],py:[{py:T()}],ps:[{ps:T()}
vendor: 10,717 bytes, line 200
200],pe:[{pe:T()}],pt:[{pt:T()}],pr:[{pr:T()}],pb:[{pb:T()}],pl:[{pl:T()}],m:[{m:Q()}],mx:[{mx:Q()}],my:[{my:Q()}],ms:[{ms:Q()}],me:[{me:Q()}],mt:[{mt:Q()}],mr:[{mr:Q()}],mb:[{mb:Q()}],ml:[{ml:Q()}],"space-x":[{"space-x":T()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":T()}],"space-y-reverse":["space-y-reverse"],size:[{size:se()}],w:[{w:[h,"screen",...se()]}],"min-w":[{"min-w":[h,"screen","none",...se()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[u]},...se()]}],h:[{h:["screen","lh",...se()]}],"min-h":[{"min-h":["screen","lh","none",...se()]}],"max-h":[{"max-h":["screen","lh",...se()]}],"font-size":[{text:["base",n,jo,ei]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,me,Fd]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Dd,pe]}],"font-family":[{font:[hN,pe,e]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,me,pe]}],"line-clamp":[{"line-clamp":[Ee,"none",me,Fd]}],leading:[{leading:[c,...T()]}],"list-image":[{"list-image":["none",me,pe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",me,pe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:z()}],"text-color":[{text:z()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ce(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ee,"from-font","auto",me,ei]}],"text-decoration-color":[{decoration:z()}],"underline-offset":[{"underline-offset":[Ee,"auto",me,pe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",me,pe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",me,pe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:oe()}],"bg-repeat":[{bg:ie()}],"bg-size":[{bg:D()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},br,me,pe],radial:["",me,pe],conic:[br,me,pe]},pN,dN]}],"bg-color":[{bg:z()}],"gradient-from-pos":[{from:G()}],"gradient-via-pos":[{via:G()}],"gradient-to-pos":[{to:G()}],"gradient-from":[{from:z()}],"gradient-via":[{via:z()}],"gradient-to":[{to:z()}],rounded:[{rounded:de()}],"rounded-s":[{"rounded-s":de()}],"rounded-e":[{"rounded-e":de()}],"rounded-t":[{"rounded-t":de()}],"rounded-r":[{"rounded-r":de()}],"rounded-b":[{"rounded-b":de()}],"rounded-l":[{"rounded-l":de()}],"rounded-ss":[{"rounded-ss":de()}],"rounded-se":[{"rounded-se":de()}],"rounded-ee":[{"rounded-ee":de()}],"rounded-es":[{"rounded-es":de()}],"rounded-tl":[{"rounded-tl":de()}],"rounded-tr":[{"rounded-tr":de()}],"rounded-br":[{"rounded-br":de()}],"rounded-bl":[{"rounded-bl":de()}],"border-w":[{border:xe()}],"border-w-x":[{"border-x":xe()}],"border-w-y":[{"border-y":xe()}],"border-w-s":[{"border-s":xe()}],"border-w-e":[{"border-e":xe()}],"border-w-t":[{"border-t":xe()}],"border-w-r":[{"border-r":xe()}],"border-w-b":[{"border-b":xe()}],"border-w-l":[{"border-l":xe()}],"divide-x":[{"divide-x":xe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":xe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Ce(),"hidden","none"]}],"divide-style":[{divide:[...Ce(),"hidden","none"]}],"border-color":[{border:z()}],"border-color-x":[{"border-x":z()}],"border-color-y":[{"border-y":z()}],"border-color-s":[{"border-s":z()}],"border-color-e":[{"border-e":z()}],"border-color-t":[{"border-t":z()}],"border-color-r":[{"border-r":z()}],"border-color-b":[{"border-b":z()}],"border-color-l":[{"border-l":z()}],"divide-color":[{divide:z()}],"outline-style":[{outline:[...Ce(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ee,me,pe]}],"outline-w":[{outline:["",Ee,jo,ei]}],"outline-color":[{outline:z()}],shadow:[{shadow:["","none",y,Al,_l]}],"shadow-color":[{shadow:z()}],"inset-shadow":[{"inset-shadow":["none",x,Al,_l]}],"inset-shadow-color":[{"inset-shadow":z()}],"ring-w":[{ring:xe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:z()}],"ring-offset-w":[{"ring-offset":[Ee,ei]}],"ring-offset-color":[{"ring-offset":z()}],"inset-ring-w":[{"inset-ring":xe()}],"inset-ring-color":[{"inset-ring":z()}],"text-shadow":[{"text-shadow":["none",v,Al,_l]}],"text-shadow-color":[{"text-shadow":z()}],opacity:[{opacity:[Ee,me,pe]}],"mix-blend":[{"mix-blend":[...Te(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Te()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ee]}],"mask-image-linear-from-pos":[{"mask-linear-from":Ne()}],"mask-image-linear-to-pos":[{"mask-linear-to":Ne()}],"mask-image-linear-from-color":[{"mask-linear-from":z()}],"mask-image-linear-to-color":[{"mask-linear-to":z()}],"mask-image-t-from-pos":[{"mask-t-from":Ne()}],"mask-image-t-to-pos":[{"mask-t-to":Ne()}],"mask-image-t-from-color":[{"mask-t-from":z()}],"mask-image-t-to-color":[{"mask-t-to":z()}],"mask-image-r-from-pos":[{"mask-r-from":Ne()}],"mask-image-r-to-pos":[{"mask-r-to":Ne()}],"mask-image-r-from-color":[{"mask-r-from":z()}],"mask-image-r-to-color":[{"mask-r-to":z()}],"mask-image-b-from-pos":[{"mask-b-from":Ne()}],"mask-image-b-to-pos":[{"mask-b-to":Ne()}],"mask-image-b-from-color":[{"mask-b-from":z()}],"mask-image-b-to-color":[{"mask-b-to":z()}],"mask-image-l-from-pos":[{"mask-l-from":Ne()}],"mask-image-l-to-pos":[{"mask-l-to":Ne()}],"mask-image-l-from-color":[{"mask-l-from":z()}],"mask-image-l-to-color":[{"mask-l-to":z()}],"mask-image-x-from-pos":[{"mask-x-from":Ne()}],"mask-image-x-to-pos":[{"mask-x-to":Ne()}],"mask-image-x-from-color":[{"mask-x-from":z()}],"mask-image-x-to-color":[{"mask-x-to":z()}],"mask-image-y-from-pos":[{"mask-y-from":Ne()}],"mask-image-y-to-pos":[{"mask-y-to":Ne()}],"mask-image-y-from-color":[{"mask-y-from":z()}],"mask-image-y-to-color":[{"mask-y-to":z()}],"mask-image-radial":[{"mask-radial":[me,pe]}],"mask-image-radial-from-pos":[{"mask-radial-from":Ne()}],"mask-image-radial-to-pos":[{"mask-radial-to":Ne()}],"mask-image-radial-from-color":[{"mask-radial-from":z()}],"mask-image-radial-to-color":[{"mask-radial-to":z()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":_()}],"mask-image-conic-pos":[{"mask-conic":[Ee]}],"mask-image-conic-from-pos":[{"mask-conic-from":Ne()}],"mask-image-conic-to-pos":[{"mask-conic-to":Ne()}],"mask-image-conic-from-color":[{"mask-conic-from":z()}],"mask-image-conic-to-color":[{"mask-conic-to":z()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:oe()}],"mask-repeat":[{mask:ie()}],"mask-size":[{mask:D()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",me,pe]}],filter:[{filter:["","none",me,pe]}],blur:[{blur:Oe()}],brightness:[{brightness:[Ee,me,pe]}],contrast:[{contrast:[Ee,me,pe]}],"drop-shadow":[{"drop-shadow":["","none",j,Al,_l]}],"drop-shadow-color":[{"drop-shadow":z()}],grayscale:[{grayscale:["",Ee,me,pe]}],"hue-rotate":[{"hue-rotate":[Ee,me,pe]}],invert:[{invert:["",Ee,me,pe]}],saturate:[{saturate:[Ee,me,pe]}],sepia:[{sepia:["",Ee,me,pe]}],"backdrop-filter":[{"backdrop-filter":["","none",me,pe]}],"backdrop-blur":[{"backdrop-blur":Oe()}],"backdrop-brightness":[{"backdrop-brightness":[Ee,me,pe]}],"backdrop-contrast":[{"backdrop-contrast":[Ee,me,pe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ee,me,pe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ee,me,pe]}],"backdrop-invert":[{"backdrop-invert":["",Ee,me,pe]}],"backdrop-opacity":[{"backdrop-opacity":[Ee,me,pe]}],"backdrop-saturate":[{"backdrop-saturate":[Ee,me,pe]}],"backdrop-sepia":[{"backdrop-sepia":["",Ee,me,pe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":T()}],"border-spacing-x":[{"border-spacing-x":T()}],"border-spacing-y":[{"border-spacing-y":T()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",me,pe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ee,"initial",me,pe]}],ease:[{ease:["linear","initial",A,me,pe]}],delay:[{delay:[Ee,me,pe]}],animate:[{animate:["none",I,me,pe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[N,me,pe]}],"perspective-origin":[{"perspective-origin":F()}],rotate:[{rotate:Fe()}],"rotate-x":[{"rotate-x":Fe()}],"rotate-y":[{"rotate-y":Fe()}],"rotate-z":[{"rotate-z":Fe()}],scale:[{scale:ut()}],"scale-x":[{"scale-x":ut()}],"scale-y":[{"scale-y":ut()}],"scale-z":[{"scale-z":ut()}],"scale-3d":["scale-3d"],skew:[{skew:tr()}],"skew-x":[{"skew-x":tr()}],"skew-y":[{"skew-y":tr()}],transform:[{transform:[me,pe,"","none","gpu","cpu"]}],"transform-origin":[{origin:F()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:zr()}],"translate-x":[{"translate-x":zr()}],"translate-y":[{"translate-y":zr()}],"translate-z":[{"translate-z":zr()}],"translate-none":["translate-none"],accent:[{accent:z()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:z()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",me,pe]}
vendor: 6,157 bytes, line 200
200],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",me,pe]}],fill:[{fill:["none",...z()]}],"stroke-w":[{stroke:[Ee,jo,ei,Fd]}],stroke:[{stroke:["none",...z()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},_v=Jj(yN);function Ts(...t){return _v(fv(t))}const Av=P.forwardRef(({...t},e)=>a.jsx("div",{ref:e,className:"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",...t}));Av.displayName="ToastProvider";const Rv=P.forwardRef(({...t},e)=>a.jsx("div",{ref:e,className:"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",...t}));Rv.displayName="ToastViewport";const xN=pv("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Iv=P.forwardRef(({className:t,variant:e,...n},i)=>a.jsx("div",{ref:i,className:Ts(xN({variant:e}),t),...n}));Iv.displayName="Toast";const vN=P.forwardRef(({className:t,...e},n)=>a.jsx("div",{ref:n,className:Ts("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",t),...e}));vN.displayName="ToastAction";const Ov=P.forwardRef(({className:t,...e},n)=>a.jsx("button",{ref:n,className:Ts("absolute right-2 top-2 rounded-md p-1 text-foreground
200/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",t),"toast-close":"",...e,children:a.jsx(vv,{className:"h-4 w-4"})}));Ov.displayName="ToastClose";const Mv=P.forwardRef(({className:t,...e},n)=>a.jsx("div",{ref:n,className:Ts("text-sm font-semibold",t),...e}));Mv.displayName="ToastTitle";const Lv=P.forwardRef(({className:t,...e},n)=>a.jsx("div",{ref:n,className:Ts("text-sm opacity-90",t),...e}));Lv.displayName="ToastDescription";function wN(){const{toasts:t}=Kk();return a.jsxs(Av,{children:[t.map(function({id:e,title:n,description:i,action:o,...c}){return a.jsxs(Iv,{...c,children:[a.jsxs("div",{className:"grid gap-1",children:[n&&a.jsx(Mv,{children:n}),i&&a.jsx(Lv,{children:i})]}),o,a.jsx(Ov,{})]},e)}),a.jsx(Rv,{})]})}var aa=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},bN={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},Sr,af,ev,kN=(ev=class{constructor(){be(this,Sr,bN);be(this,af,!1)}setTimeoutProvider(t){ue(this,Sr,t)}setTimeout(t,e){return M(this,Sr).setTimeout(t,e)}clearTimeout(t){M(this,Sr).clearTimeout(t)}setInterval(t,e){return M(this,Sr).setInterval(t,e)}clearInterval(t){M(this,Sr).clearInterval(t)}},Sr=new WeakMap,af=new WeakMap,ev),oi=new kN;function jN(t){setTimeout(t,0)}var bi=typeof window>"u"||"Deno"in globalThis;function Bt(){}function NN(t,e){return typeof t=="function"?t(e):t}function ph(t){return typeof t=="number"&&t>=0&&t!==1/0}function Dv(t,e){return Math.max(t+(e||0)-Date.now(),0)}function Or(t,e){return typeof t=="function"?t(e):t}function on(t,e){return typeof t=="function"?t(e):t}function kg(t,e){const{type:n="all",exact:i,fetchStatus:o,predicate:c,queryKey:u,stale:h}=t;if(u){if(i){if(e.queryHash!==hf(u,e.options))return!1}else if(!Ho(e.queryKey,u))return!1}if(n!=="all"){const f=e.isActive();if(n==="active"&&!f||n==="inactive"&&f)return!1}return!(typeof h=="boolean"&&e.isStale()!==h||o&&o!==e.state.fetchStatus||c&&!c(e))}function jg(t,e){const{exact:n,status:i,predicate:o,mutationKey:c}=t;if(c){if(!e.options.mutationKey)return!1;if(n){if(Wo(e.options.mutationKey)!==Wo(c))return!1}else if(!Ho(e.options.mutationKey,c))return!1}return!(i&&e.state.status!==i||o&&!o(e))}function hf(t,e){return((e==null?void 0:e.queryKeyHashFn)||Wo)(t)}function Wo(t){return JSON.stringify(t,(e,n)=>gh(n)?Object.keys(n).sort().reduce((i,o)=>(i[o]=n[o],i),{}):n)}function Ho(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(n=>Ho(t[n],e[n])):!1}var SN=Object.prototype.hasOwnProperty;function Fv(t,e){if(t===e)return t;const n=Ng(t)&&Ng(e);if(!n&&!(gh(t)&&gh(e)))return e;const o=(n?t:Object.keys(t)).length,c=n?e:Object.keys(e),u=c.length,h=n?new Array(u):{};let f=0;for(let m=0;m<u;m++){const y=n?m:c[m],x=t[y],v=e[y];if(x===v){h[y]=x,(n?m<o:SN.call(t,y))&&f++;continue}if(x===null||v===null||typeof x!="object"||typeof v!="object"){h[y]=v;continue}const j=Fv(x,v);h[y]=j,j===x&&f++}return o===u&&f===o?t:h}function mh(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(t[n]!==e[n])return!1;return!0}function Ng(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function gh(t){if(!Sg(t))return!1;const e=t.constructor;if(e===void 0)return!0;const n=e.prototype;return!(!Sg(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function Sg(t){return Object.prototype.toString.call(t)==="[object Object]"}function CN(t){return new Promise(e=>{oi.setTimeout(e,t)})}function yh(t,e,n){return typeof n.structuralSharing=="function"?n.structuralSharing(t,e):n.structuralSharing!==!1?Fv(t,e):e}function EN(t,e,n=0){const i=[...t,e];return n&&i.length>n?i.slice(1):i}function PN(t,e,n=0){const i=[e,...t];return n&&i.length>n?i.slice(0,-1):i}var ff=Symbol();function Vv(t,e){return!t.queryFn&&(e!=null&&e.initialPromise)?()=>e.initialPromise:!t.queryFn||t.queryFn===ff?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function TN(t,e){return typeof t=="function"?t(...e):!!t}var ci,Cr,ds,tv,_N=(tv=class extends aa{constructor(){super();be(this,ci);be(this,Cr);be(this,ds);ue(this,ds,e=>{if(!bi&&window.addEventListener){const n=()=>e();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){M(this,Cr)||this.setEventListener(M(this,ds))}onUnsubscribe(){var e;this.hasListeners()||((e=M(this,Cr))==null||e.call(this),ue(this,Cr,void 0))}setEventListener(e){var n;ue(this,ds,e),(n=M(this,Cr))==null||n.call(this),ue(this,Cr,e(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(e){M(this,ci)!==e&&(ue(this,ci,e),this.onFocus())}onFocus(){const e=this.isFocused();
200this.listeners.forEach(n=>{n(e)})}isFocused(){var e;return typeof M(this,ci)=="boolean"?M(this,ci):((e=globalThis.document)==null?void 0:e.visibilityState)!=="hidden"}},ci=new WeakMap,Cr=new WeakMap,ds=new WeakMap,tv),pf=new _N;function xh(){let t,e;const n=new Promise((o,c)=>{t=o,e=c});n.status="pending",n.catch(()=>{});function i(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{i({status:"fulfilled",value:o}),t(o)},n.reject=o=>{i({status:"rejected",reason:o}),e(o)},n}var AN=jN;function RN(){let t=[],e=0,n=h=>{h()},i=h=>{h()},o=AN;const c=h=>{e?t.push(h):o(()=>{n(h)})},u=()=>{const h=t;t=[],h.length&&o(()=>{i(()=>{h.forEach(f=>{n(f)})})})};return{batch:h=>{let f;e++;try{f=h()}finally{e--,e||u()}return f},batchCalls:h=>(...f)=>{c(()=>{h(...f)})},schedule:c,setNotifyFunction:h=>{n=h},setBatchNotifyFunction:h=>{i=h},setScheduler:h=>{o=h}}}var vt=RN(),hs,Er,fs,nv,IN=(nv=class extends aa{constructor(){super();be(this,hs,!0);be(this,Er);be(this,fs);ue(this,fs,e=>{if(!bi&&window.addEventListener){const n=()=>e(!0),i=()=>e(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",i)}}})}onSubscribe(){M(this,Er)||this.setEventListener(M(this,fs))}onUnsubscribe(){var e;this.hasListeners()||((e=M(this,Er))==null||e.call(this),ue(this,Er,void 0))}setEventListener(e){var n;ue(this,fs,e),(n=M(this,Er))==null||n.call(this),ue(this,Er,e(this.setOnline.bind(this)))}setOnline(e){M(this,hs)!==e&&(ue(this,hs,e),this.listeners.forEach(i=>{i(e)}))}isOnline(){return M(this,hs)}},hs=new WeakMap,Er=new WeakMap,fs=new WeakMap,nv),sc=new IN;function ON(t){return Math.min(1e3*2**t,3e4)}function zv(t){return(t??"online")==="online"?sc.isOnline():!0}var vh=class extends Error{constructor(t){super("CancelledError"),this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}};function Bv(t){let e=!1,n=0,i;const o=xh(),c=()=>o.status!=="pending",u=N=>{var k;if(!c()){const A=new vh(N);v(A),(k=t.onCancel)==null||k.call(t,A)}},h=()=>{e=!0},f=()=>{e=!1},m=()=>pf.isFocused()&&(t.networkMode==="always"||sc.isOnline())&&t.canRun(),y=()=>zv(t.networkMode)&&t.canRun(),x=N=>{c()||(i==null||i(),o.resolve(N))},v=N=>{c()||(i==null||i(),o.reject(N))},j=()=>new Promise(N=>{var k;i=A=>{(c()||m())&&N(A)},(k=t.onPause)==null||k.call(t)}).then(()=>{var N;i=void 0,c()||(N=t.onContinue)==null||N.call(t)}),b=()=>{if(c())return;let N;const k=n===0?t.initialPromise:void 0;try{N=k??t.fn()}catch(A){N=Promise.reject(A)}Promise.resolve(N).then(x).catch(A=>{var W;if(c())return;const I=t.retry??(bi?0:3),E=t.retryDelay??ON,_=typeof E=="function"?E(n,A):E,F=I===!0||typeof I=="number"&&n<I||typeof I=="function"&&I(n,A);if(e||!F){v(A);return}n++,(W=t.onFail)==null||W.call(t,n,A),CN(_).then(()=>m()?void 0:j()).then(()=>{e?v(A):b()})})};return{promise:o,status:()=>o.status,cancel:u,continue:()=>(i==null||i(),o),cancelRetry:h,continueRetry:f,canStart:y,start:()=>(y()?b():j().then(b),o)}}var ui,rv,Uv=(rv=class{constructor(){be(this,ui)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ph(this.gcTime)&&ue(this,ui,oi.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(bi?1/0:300*1e3))}clearGcTimeout(){M(this,ui)&&(oi.clearTimeout(M(this,ui)),ue(this,ui,void 0))}},ui=new WeakMap,rv),di,ps,sn,hi,pt,na,fi,gn,Hn,iv,MN=(iv=class extends Uv{constructor(e){super();be(this,gn);be(this,di);be(this,ps);be(this,sn);be(this,hi);be(this,pt);be(this,na);be(this,fi);ue(this,fi,!1),ue(this,na,e.defaultOptions),this.setOptions(e.options),this.observers=[],ue(this,hi,e.client),ue(this,sn,M(this,hi).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,ue(this,di,Cg(this.options)),this.state=e.state??M(this,di),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var e;return(e=M(this,pt))==null?void 0:e.promise}setOptions(e){if(this.options={...M(this,na),...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=Cg(this.options);n.data!==void 0&&(this.setData(n.data,{updatedAt:n.dataUpdatedAt,manual:!0}),ue(this,di,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&M(this,sn).remove(this)}setData(e,n){const i=yh(this.state.data,e,this.options);return _e(this,gn,Hn).call(this,{data:i,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),i}setState(e,n){_e(this,gn,Hn).call(this,{type:"setState",state:e,setStateOptions:n})}cancel(e){var i,o;const n=(i=M(this,pt))==null?void 0:i.promise;return(o=M(this,pt))==null||o.cancel(e),n?n.then(Bt).catch(Bt):Prom
200ise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(M(this,di))}isActive(){return this.observers.some(e=>on(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===ff||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Or(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!Dv(this.state.dataUpdatedAt,e)}onFocus(){var n;const e=this.observers.find(i=>i.shouldFetchOnWindowFocus());e==null||e.refetch({cancelRefetch:!1}),(n=M(this,pt))==null||n.continue()}onOnline(){var n;const e=this.observers.find(i=>i.shouldFetchOnReconnect());e==null||e.refetch({cancelRefetch:!1}),(n=M(this,pt))==null||n.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),M(this,sn).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(n=>n!==e),this.observers.length||(M(this,pt)&&(M(this,fi)?M(this,pt).cancel({revert:!0}):M(this,pt).cancelRetry()),this.scheduleGc()),M(this,sn).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||_e(this,gn,Hn).call(this,{type:"invalidate"})}async fetch(e,n){var f,m,y,x,v,j,b,N,k,A,I,E;if(this.state.fetchStatus!=="idle"&&((f=M(this,pt))==null?void 0:f.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(M(this,pt))return M(this,pt).continueRetry(),M(this,pt).promise}if(e&&this.setOptions(e),!this.options.queryFn){const _=this.observers.find(F=>F.options.queryFn);_&&this.setOptions(_.options)}const i=new AbortController,o=_=>{Object.defineProperty(_,"signal",{enumerable:!0,get:()=>(ue(this,fi,!0),i.signal)})},c=()=>{const _=Vv(this.options,n),W=(()=>{const Z={client:M(this,hi),queryKey:this.queryKey,meta:this.meta};return o(Z),Z})();return ue(this,fi,!1),this.options.persister?this.options.persister(_,W,this):_(W)},h=(()=>{const _={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:M(this,hi),state:this.state,fetchFn:c};return o(_),_})();(m=this.options.behavior)==null||m.onFetch(h,this),ue(this,ps,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((y=h.fetchOptions)==null?void 0:y.meta))&&_e(this,gn,Hn).call(this,{type:"fetch",meta:(x=h.fetchOptions)==null?void 0:x.meta}),ue(this,pt,Bv({initialPromise:n==null?void 0:n.initialPromise,fn:h.fetchFn,onCancel:_=>{_ instanceof vh&&_.revert&&this.setState({...M(this,ps),fetchStatus:"idle"}),i.abort()},onFail:(_,F)=>{_e(this,gn,Hn).call(this,{type:"failed",failureCount:_,error:F})},onPause:()=>{_e(this,gn,Hn).call(this,{type:"pause"})},onContinue:()=>{_e(this,gn,Hn).call(this,{type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay,networkMode:h.options.networkMode,canRun:()=>!0}));try{const _=await M(this,pt).start();if(_===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(_),(j=(v=M(this,sn).config).onSuccess)==null||j.call(v,_,this),(N=(b=M(this,sn).config).onSettled)==null||N.call(b,_,this.state.error,this),_}catch(_){if(_ instanceof vh){if(_.silent)return M(this,pt).promise;if(_.revert){if(this.state.data===void 0)throw _;return this.state.data}}throw _e(this,gn,Hn).call(this,{type:"error",error:_}),(A=(k=M(this,sn).config).onError)==null||A.call(k,_,this),(E=(I=M(this,sn).config).onSettled)==null||E.call(I,this.state.data,_,this),_}finally{this.scheduleGc()}}},di=new WeakMap,ps=new WeakMap,sn=new WeakMap,hi=new WeakMap,pt=new WeakMap,na=new WeakMap,fi=new WeakMap,gn=new WeakSet,Hn=function(e){const n=i=>{switch(e.type){case"failed":return{...i,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...$v(i.data,this.options),fetchMeta:e.meta??null};case"success":const o={...i,data:e.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return ue(this,ps,e.manual?o:void 0),o;case"error":const c=e.error;
vendor: 13,766 bytes, line 200
200return{...i,error:c,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:c,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...e.state}}};this.state=n(this.state),vt.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),M(this,sn).notify({query:this,type:"updated",action:e})})},iv);function $v(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:zv(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function Cg(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,n=e!==void 0,i=n?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:n?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var zt,Ae,ra,_t,pi,ms,Gn,Pr,ia,gs,ys,mi,gi,Tr,xs,De,Ao,wh,bh,kh,jh,Nh,Sh,Ch,qv,sv,LN=(sv=class extends aa{constructor(e,n){super();be(this,De);be(this,zt);be(this,Ae);be(this,ra);be(this,_t);be(this,pi);be(this,ms);be(this,Gn);be(this,Pr);be(this,ia);be(this,gs);be(this,ys);be(this,mi);be(this,gi);be(this,Tr);be(this,xs,new Set);this.options=n,ue(this,zt,e),ue(this,Pr,null),ue(this,Gn,xh()),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(M(this,Ae).addObserver(this),Eg(M(this,Ae),this.options)?_e(this,De,Ao).call(this):this.updateResult(),_e(this,De,jh).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Eh(M(this,Ae),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Eh(M(this,Ae),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,_e(this,De,Nh).call(this),_e(this,De,Sh).call(this),M(this,Ae).removeObserver(this)}setOptions(e){const n=this.options,i=M(this,Ae);if(this.options=M(this,zt).defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof on(this.options.enabled,M(this,Ae))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");_e(this,De,Ch).call(this),M(this,Ae).setOptions(this.options),n._defaulted&&!mh(this.options,n)&&M(this,zt).getQueryCache().notify({type:"observerOptionsUpdated",query:M(this,Ae),observer:this});const o=this.hasListeners();o&&Pg(M(this,Ae),i,this.options,n)&&_e(this,De,Ao).call(this),this.updateResult(),o&&(M(this,Ae)!==i||on(this.options.enabled,M(this,Ae))!==on(n.enabled,M(this,Ae))||Or(this.options.staleTime,M(this,Ae))!==Or(n.staleTime,M(this,Ae)))&&_e(this,De,wh).call(this);const c=_e(this,De,bh).call(this);o&&(M(this,Ae)!==i||on(this.options.enabled,M(this,Ae))!==on(n.enabled,M(this,Ae))||c!==M(this,Tr))&&_e(this,De,kh).call(this,c)}getOptimisticResult(e){const n=M(this,zt).getQueryCache().build(M(this,zt),e),i=this.createResult(n,e);return FN(this,i)&&(ue(this,_t,i),ue(this,ms,this.options),ue(this,pi,M(this,Ae).state)),i}getCurrentResult(){return M(this,_t)}trackResult(e,n){return new Proxy(e,{get:(i,o)=>(this.trackProp(o),n==null||n(o),o==="promise"&&!this.options.experimental_prefetchInRender&&M(this,Gn).status==="pending"&&M(this,Gn).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(i,o))})}trackProp(e){M(this,xs).add(e)}getCurrentQuery(){return M(this,Ae)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const n=M(this,zt).defaultQueryOptions(e),i=M(this,zt).getQueryCache().build(M(this,zt),n);return i.fetch().then(()=>this.createResult(i,n))}fetch(e){return _e(this,De,Ao).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),M(this,_t)))}createResult(e,n){var H;const i=M(this,Ae),o=this.options,c=M(this,_t),u=M(this,pi),h=M(this,ms),m=e!==i?e.state:M(this,ra),{state:y}=e;let x={...y},v=!1,j;if(n._optimisticResults){const Y=this.hasListeners(),te=!Y&&Eg(e,n),O=Y&&Pg(e,i,n,o);(te||O)&&(x={...x,...$v(y.data,e.options)}),n._optimisticResults==="isRestoring"&&(x.fetchStatus="idle")}let{error:b,errorUpdatedAt:N,status:k}=x;j=x.data;let A=!1;if(n.placeholderData!==void 0&&j===void 0&&k==="pending"){let Y;c!=null&&c.isPlaceholderData&&n.placeholderData===(h==null?void 0:h.placeholderData)?(Y=c.data,A=!0):Y=typeof n.placeholderData=="function"?n.placeholderData((H=M(this,ys))==null?void 0:H.state.data,M(this,ys)):n.placeholderData,Y!==void 0&&(k="success",j=yh(c==null?void 0:c.data,Y,n),v=!0)}if(n.select&&j!==void 0&&!A)if(c&&j===(u==null?void 0:u.data)&&n.select===M(this,ia))j=M(this,gs);else try{ue(this,ia,n.select),j=n.select(j),j=yh(c==null?void 0:c.data,j,n),ue(this,gs,j),ue(this,Pr,null)}catch(Y){ue(this,Pr,Y)}M(this,Pr)&&(b=M(this,Pr),j=M(this,gs),N=Date.now(),k="error");const I=x.fetchStatus==="fetching",E=k==="pending",_=k==="error",F=E&&I,W=j!==void 0,T={status:k,fetchStatus:x.fetchStatus,isPending:E,isSuccess:k==="success",isError:_,isInitialLoading:F,isLoading:F,data:j,dataUpdatedAt:x.dataUpdatedAt,error:b,errorUpdatedAt:N,failureCount:x.fetchFailureCount,failureReason:x.fetchFailureReason,errorUpdateCount:x.errorUpdateCount,isFetched:x.dataUpdateCount>0||x.errorUpdateCount>0,isFetchedAfterMount:x.dataUpdateCount>m.dataUpdateCount||x.errorUpdateCount>m.errorUpdateCount,isFetching:I,isRefetching:I&&!E,isLoadingError:_&&!W,isPaused:x.fetchStatus==="paused",isPlaceholderData:v,isRefetchError:_&&W,isStale:mf(e,n),refetch:this.refetch,promise:M(this,Gn),isEnabled:on(n.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const Y=B=>{T.status==="error"?B.reject(T.error):T.data!==void 0&&B.resolve(T.data)},te=()=>{const B=ue(this,Gn,T.promise=xh());Y(B)},O=M(this,Gn);switch(O.status){case"pending":e.queryHash===i.queryHash&&Y(O);break;case"fulfilled":(T.status==="error"||T.data!==O.value)&&te();break;case"rejected":(T.status!=="error"||T.error!==O.reason)&&te();break}}return T}updateResult(){const e=M(this,_t),n=this.createResult(M(this,Ae),this.options);if(ue(this,pi,M(this,Ae).state),ue(this,ms,this.options),M(this,pi).data!==void 0&&ue(this,ys,M(this,Ae)),mh(n,e))return;ue(this,_t,n);const i=()=>{if(!e)return!0;const{notifyOnChangeProps:o}=this.options,c=typeof o=="function"?o():o;if(c==="all"||!c&&!M(this,xs).size)return!0;const u=new Set(c??M(this,xs));return this.options.throwOnError&&u.add("error"),Object.keys(M(this,_t)).some(h=>{const f=h;return M(this,_t)[f]!==e[f]&&u.has(f)})};_e(this,De,qv).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&_e(this,De,jh).call(this)}},zt=new WeakMap,Ae=new WeakMap,ra=new WeakMap,_t=new WeakMap,pi=new WeakMap,ms=new WeakMap,Gn=new WeakMap,Pr=new WeakMap,ia=new WeakMap,gs=new WeakMap,ys=new WeakMap,mi=new WeakMap,gi=new WeakMap,Tr=new WeakMap,xs=new WeakMap,De=new WeakSet,Ao=function(e){_e(this,De,Ch).call(this);let n=M(this,Ae).fetch(this.options,e);return e!=null&&e.throwOnError||(n=n.catch(Bt)),n},wh=function(){_e(this,De,Nh).call(this);const e=Or(this.options.staleTime,M(this,Ae));if(bi||M(this,_t).isStale||!ph(e))return;const i=Dv(M(this,_t).dataUpdatedAt,e)+1;ue(this,mi,oi.setTimeout(()=>{M(this,_t).isStale||this.updateResult()},i))},bh=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(M(this,Ae)):this.options.refetchInterval)??!1},kh=function(e){_e(this,De,Sh).call(this),ue(this,Tr,e),!(bi||on(this.options.enabled,M(this,Ae))===!1||!ph(M(this,Tr))||M(this,Tr)===0)&&ue(this,gi,oi.setInterval(()=>{(this.options.refetchIntervalInBackground||pf.isFocused())&&_e(this,De,Ao).call(this)},M(this,Tr)))},jh=function(){_e(this,De,wh).call(this),_e(this,De,kh).call(this,_e(this,De,bh).call(this))},Nh=function(){M(this,mi)&&(oi.clearTimeout(M(this,mi)),ue(this,mi,void 0))},Sh=function(){M(this,gi)&&(oi.clearInterval(M(this,gi)),ue(this,gi,void 0))},Ch=function(){const e=M(this,zt).getQueryCache().build(M(this,zt),this.options);if(e===M(this,Ae))return;const n=M(this,Ae);ue(this,Ae,e),ue(this,ra,e.state),this.hasListeners()&&(n==null||n.removeObserver(this),e.addObserver(this))},qv=function(e){vt.batch(()=>{e.listeners&&this.listeners.forEach(n=>{n(M(this,_t))}),M(this,zt).getQueryCache().notify({query:M(this,Ae),type:"observerResultsUpdated"})})},sv);function DN(t,e){return on(e.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&e.retryOnMount===!1)}function Eg(t,e){return DN(t,e)||t.state.data!==void 0&&Eh(t,e,e.refetchOnMount)}function Eh(t,e,n){if(on(e.enabled,t)!==!1&&Or(e.staleTime,t)!=="static"){const i=typeof n=="function"?n(t):n;return i==="always"||i!==!1&&mf(t,e)}return!1}function Pg(t,e,n,i){return(t!==e||on(i.enabled,t)===!1)&&(!n.suspense||t.state.status!=="error")&&mf(t,n)}function mf(t,e){return on(e.enabled,t)!==!1&&t.isStaleByTime(Or(e.staleTime,t))}function FN(t,e){return!mh(t.getCurrentResult(),e)}function Tg(t){return{onFetch:(e,n)=>{var y,x,v,j,b;const i=e.options,o=(v=(x=(y=e.fetchOptions)==null?void 0:y.meta)==null?void 0:x.fetchMore)==null?void 0:v.direction,c=((j=e.state.data)==null?void 0:j.pages)||[],u=((b=e.state.data)==null?void 0:b.pageParams)||[];let h={pages:[],pageParams:[]},f=0;const m=async()=>{let N=!1;const k=E=>{Object.defineProperty(E,"signal",{enumerable:!0,get:()=>(e.signal.aborted?N=!0:e.signal.addEventListener("abort",()=>{N=!0}),e.signal)})},A=Vv(e.options,e.fetchOptions),I=async(E,_,F)=>{if(N)return Promise.reject();if(_==null&&E.pages.length)return Promise.resolve(E);const Z=(()=>{const te={client:e.client,queryKey:e.queryKey,pageParam:_,direction:F?"backward":"forward",meta:e.options.meta};return k(te),te})(),T=await A(Z),{maxPages:H}=e.options,Y=F?PN:EN;return{pages:Y(E.pages,T,H),pageParams:Y(E.pageParams,_,H)}};if(o&&c.length){const E=o==="backward",_=E?VN:_g,F={pages:c,pageParams:u},W=_(i,F);h=await I(F,W,E)}else{const E=t??c.length;do{const _=f===0?u[0]??i.initialPageParam:_g(i,h);if(f>0&&_==null)break;h=await I(h,_),f++}while(f<E)}return h};e.options.persister?e.fetchFn=()=>{var N,k;return(k=(N=e.options).persister)==null?void 0:k.call(N,m,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},n)}:e.fetchFn=m}}}function _g(t,{pages:e,pageParams:n}){const i=e.length-1;return e.length>0?t.getNextPageParam(e[i],e,n[i],n):void 0}function VN(t,{pages:e,pageParams:n}){var i;return e.length>0?(i=t.getPreviousPageParam)==null?void 0:i.call(t,e[0],e,n[0],n):void 0}var sa,Tn,At,yi,_n,kr,ov,zN=(ov=class extends Uv{constructor(e){super();be(this,_n);be(this,sa);be(this,Tn);be(this,At);be(this,yi);ue(this,sa,e.client),this.mutationId=e.mutationId,ue(this,At,e.mutationCache),ue(this,Tn,[]),this.state=e.state||BN(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){M(this,Tn).includes(e)||(M(this,Tn).push(e),this.clearGcTimeout(),M(this,At).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){ue(this,Tn,M(this,Tn).filter(n=>n!==e)),this.scheduleGc(),M(this,At).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){M(this,Tn).length||(this.state.status==="pending"?this.scheduleGc():M(this,At).remove(this))}continue(){var e;return((e=M(this,yi))==null?void 0:e.continue())??this.execute(this.state.variables)}async execute(e){var u,h,f,m,y,x,v,j,b,N,k,A,I,E,_,F,W,Z,T,H;const n=()=>{_e(this,_n,kr).call(this,{type:"continue"})},i={client:M(this,sa),meta:this.options.meta,mutationKey:this.options.mutationKey};ue(this,yi,Bv({fn:()=>this.options.mutationFn?this.options.mutationFn(e,i):Promise.reject(new Error("No mutationFn found")),onFail:(Y,te)=>{_e(this,_n,kr).call(this,{type:"failed",failureCount:Y,error:te})},onPause:()=>{_e(this,_n,kr).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>M(this,At).canRun(this)}));const o=this.state.status==="pending",c=!M(this,yi).canStart();try{if(o)n();else{_e(this,_n,kr).call(this,{type:"pending",variables:e,isPaused:c}),await((h=(u=M(this,At).config).onMutate)==null?void 0:h.call(u,e,this,i));const te=await((m=(f=this.options).onMutate)==null?void 0:m.call(f,e,i));te!==this.state.context&&_e(this,_n,kr).call(this,{type:"pending",context:te,variables:e,isPaused:c})}const Y=await M(this,yi).start();return await((x=(y=M(this,At).config).onSuccess)==null?void 0:x.call(y,Y,e,this.state.context,this,i)),await((j=(v=this.options).onSuccess)==null?void 0:j.call(v,Y,e,this.state.context,i)),await((N=(b=M(this,At).config).onSettled)==null?void 0:N.call(b,Y,null,this.state.variables,this.state.context,this,i)),await((A=(k=this.options).onSettled)==null?void 0:A.call(k,Y,null,e,this.state.context,i)),_e(this,_n,kr).call(this,{type:"success",data:Y}),Y}catch(Y){try{throw await((E=(I=M(this,At).config).onError)==null?void 0:E.call(I,Y,e,this.state.context,this,i)),await((F=(_=this.options).onError)==null?void 0:F.call(_,Y,e,this.state.context,i)),await((Z=(W=M(this,At).config).onSettled)==null?void 0:Z.call(W,void 0,Y,this.state.variables,this.state.context,this,i)),await((H=(T=this.options).onSettled)==null?void 0:H.call(T,void 0,Y,e,this.state.context,i)),Y}finally{_e(this,_n,kr).call(this,{type:"error",error:Y})}}finally{M(this,At).runNext(this)}}},sa=new WeakMap,Tn=new WeakMap,At=new WeakMap,yi=new WeakMap,_n=new WeakSet,kr=function(e){const n=i=>{switch(e.type){case"failed":return{...i,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};
200case"pending":return{...i,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...i,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:e.error,failureCount:i.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=n(this.state),vt.batch(()=>{M(this,Tn).forEach(i=>{i.onMutationUpdate(e)}),M(this,At).notify({mutation:this,type:"updated",action:e})})},ov);function BN(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Kn,yn,oa,av,UN=(av=class extends aa{constructor(e={}){super();be(this,Kn);be(this,yn);be(this,oa);this.config=e,ue(this,Kn,new Set),ue(this,yn,new Map),ue(this,oa,0)}build(e,n,i){const o=new zN({client:e,mutationCache:this,mutationId:++Pl(this,oa)._,options:e.defaultMutationOptions(n),state:i});return this.add(o),o}add(e){M(this,Kn).add(e);const n=Rl(e);if(typeof n=="string"){const i=M(this,yn).get(n);i?i.push(e):M(this,yn).set(n,[e])}this.notify({type:"added",mutation:e})}remove(e){if(M(this,Kn).delete(e)){const n=Rl(e);if(typeof n=="string"){const i=M(this,yn).get(n);if(i)if(i.length>1){const o=i.indexOf(e);o!==-1&&i.splice(o,1)}else i[0]===e&&M(this,yn).delete(n)}}this.notify({type:"removed",mutation:e})}canRun(e){const n=Rl(e);if(typeof n=="string"){const i=M(this,yn).get(n),o=i==null?void 0:i.find(c=>c.state.status==="pending");return!o||o===e}else return!0}runNext(e){var i;const n=Rl(e);if(typeof n=="string"){const o=(i=M(this,yn).get(n))==null?void 0:i.find(c=>c!==e&&c.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){vt.batch(()=>{M(this,Kn).forEach(e=>{this.notify({type:"removed",mutation:e})}),M(this,Kn).clear(),M(this,yn).clear()})}getAll(){return Array.from(M(this,Kn))}find(e){const n={exact:!0,...e};return this.getAll().find(i=>jg(n,i))}findAll(e={}){return this.getAll().filter(n=>jg(e,n))}notify(e){vt.batch(()=>{this.listeners.forEach(n=>{n(e)})})}resumePausedMutations(){const e=this.getAll().filter(n=>n.state.isPaused);return vt.batch(()=>Promise.all(e.map(n=>n.continue().catch(Bt))))}},Kn=new WeakMap,yn=new WeakMap,oa=new WeakMap,av);function Rl(t){var e;return(e=t.options.scope)==null?void 0:e.id}var An,lv,$N=(lv=class extends aa{constructor(e={}){super();be(this,An);this.config=e,ue(this,An,new Map)}build(e,n,i){const o=n.queryKey,c=n.queryHash??hf(o,n);let u=this.get(c);return u||(u=new MN({client:e,queryKey:o,queryHash:c,options:e.defaultQueryOptions(n),state:i,defaultOptions:e.getQueryDefaults(o)}),this.add(u)),u}add(e){M(this,An).has(e.queryHash)||(M(this,An).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const n=M(this,An).get(e.queryHash);n&&(e.destroy(),n===e&&M(this,An).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){vt.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return M(this,An).get(e)}getAll(){return[...M(this,An).values()]}find(e){const n={exact:!0,...e};return this.getAll().find(i=>kg(n,i))}findAll(e={}){const n=this.getAll();return Object.keys(e).length>0?n.filter(i=>kg(e,i)):n}notify(e){vt.batch(()=>{this.listeners.forEach(n=>{n(e)})})}onFocus(){vt.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){vt.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},An=new WeakMap,lv),Xe,_r,Ar,vs,ws,Rr,bs,ks,cv,qN=(cv=class{constructor(t={}){be(this,Xe);be(this,_r);be(this,Ar);be(this,vs);be(this,ws);be(this,Rr);be(this,bs);be(this,ks);ue(this,Xe,t.queryCache||new $N),ue(this,_r,t.mutationCache||new UN),ue(this,Ar,t.defaultOptions||{}),ue(this,vs,new Map),ue(this,ws,new Map),ue(this,Rr,0)}mount(){Pl(this,Rr)._++,M(this,Rr)===1&&(ue(this,bs,pf.subscribe(async t=>{t&&(await this.resumePausedMutations(),M(this,Xe).onFocus())})),ue(this,ks,sc.subscribe(async t=>{t&&(await this.resumePausedMutations(),M(this,Xe).onOnline())})))}unmount(){var t,e;Pl(this,Rr)._--,M(this,Rr)===0&&((t=M(this,bs))==null||t.call(this),ue(this,bs,void 0),(e=M(this,ks))==null||e.call(this),ue(this,ks,void 0))}isFetching(t){return M(this,Xe).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return M(this,_r).findAll({...t,status:"pending"}).length}getQueryData(t){var n;const e=this.defaultQueryOptions({queryKey:t});return(n=M(this,Xe).get(e.queryHash))==null?void 0:n.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),n=M(this,Xe).build(this,e),i=n.state.data;return i===void 0?this.fetchQuery(t):(t.revalidateIfStale&&n.isStaleByTime(Or(e.staleTime,n))&&this.prefetchQuery(e),Promise.resolve(i))}getQueriesData(t){return M(this,Xe).findAll(t).map(({queryKey:e,state:n})=>{const i=n.data;return[e,i]})}setQueryData(t,e,n){const i=this.defaultQueryOptions({queryKey:t}),o=M(this,Xe).get(i.queryHash),c=o==null?void 0:o.state.data,u=NN(e,c);if(u!==void 0)return M(this,Xe).build(this,i).setData(u,{...n,manual:!0})}
200setQueriesData(t,e,n){return vt.batch(()=>M(this,Xe).findAll(t).map(({queryKey:i})=>[i,this.setQueryData(i,e,n)]))}getQueryState(t){var n;const e=this.defaultQueryOptions({queryKey:t});return(n=M(this,Xe).get(e.queryHash))==null?void 0:n.state}removeQueries(t){const e=M(this,Xe);vt.batch(()=>{e.findAll(t).forEach(n=>{e.remove(n)})})}resetQueries(t,e){const n=M(this,Xe);return vt.batch(()=>(n.findAll(t).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const n={revert:!0,...e},i=vt.batch(()=>M(this,Xe).findAll(t).map(o=>o.cancel(n)));return Promise.all(i).then(Bt).catch(Bt)}invalidateQueries(t,e={}){return vt.batch(()=>(M(this,Xe).findAll(t).forEach(n=>{n.invalidate()}),(t==null?void 0:t.refetchType)==="none"?Promise.resolve():this.refetchQueries({...t,type:(t==null?void 0:t.refetchType)??(t==null?void 0:t.type)??"active"},e)))}refetchQueries(t,e={}){const n={...e,cancelRefetch:e.cancelRefetch??!0},i=vt.batch(()=>M(this,Xe).findAll(t).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let c=o.fetch(void 0,n);return n.throwOnError||(c=c.catch(Bt)),o.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(i).then(Bt)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const n=M(this,Xe).build(this,e);return n.isStaleByTime(Or(e.staleTime,n))?n.fetch(e):Promise.resolve(n.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Bt).catch(Bt)}fetchInfiniteQuery(t){return t.behavior=Tg(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Bt).catch(Bt)}ensureInfiniteQueryData(t){return t.behavior=Tg(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return sc.isOnline()?M(this,_r).resumePausedMutations():Promise.resolve()}getQueryCache(){return M(this,Xe)}getMutationCache(){return M(this,_r)}getDefaultOptions(){return M(this,Ar)}setDefaultOptions(t){ue(this,Ar,t)}setQueryDefaults(t,e){M(this,vs).set(Wo(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...M(this,vs).values()],n={};return e.forEach(i=>{Ho(t,i.queryKey)&&Object.assign(n,i.defaultOptions)}),n}setMutationDefaults(t,e){M(this,ws).set(Wo(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...M(this,ws).values()],n={};return e.forEach(i=>{Ho(t,i.mutationKey)&&Object.assign(n,i.defaultOptions)}),n}defaultQueryOptions(t){if(t._defaulted)return t;const e={...M(this,Ar).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=hf(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===ff&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...M(this,Ar).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){M(this,Xe).clear(),M(this,_r).clear()}},Xe=new WeakMap,_r=new WeakMap,Ar=new WeakMap,vs=new WeakMap,ws=new WeakMap,Rr=new WeakMap,bs=new WeakMap,ks=new WeakMap,cv),Wv=P.createContext(void 0),WN=t=>{const e=P.useContext(Wv);if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},HN=({client:t,children:e})=>(P.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),a.jsx(Wv.Provider,{value:t,children:e})),Hv=P.createContext(!1),GN=()=>P.useContext(Hv);Hv.Provider;function KN(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var QN=P.createContext(KN()),YN=()=>P.useContext(QN),XN=(t,e)=>{(t.suspense||t.throwOnError||t.experimental_prefetchInRender)&&(e.isReset()||(t.retryOnMount=!1))},JN=t=>{P.useEffect(()=>{t.clearReset()},[t])},ZN=({result:t,errorResetBoundary:e,throwOnError:n,query:i,suspense:o})=>t.isError&&!e.isReset()&&!t.isFetching&&i&&(o&&t.data===void 0||TN(n,[t.error,i])),eS=t=>{if(t.suspense){const n=o=>o==="static"?o:Math.max(o??1e3,1e3),i=t.staleTime;t.staleTime=typeof i=="function"?(...o)=>n(i(...o)):n(i),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3))}},tS=(t,e)=>t.isLoading&&t.isFetching&&!e,nS=(t,e)=>(t==null?void 0:t.suspense)&&e.isPending,Ag=(t,e,n)=>e.fetchOptimistic(t).catch(()=>{n.clearReset()});function rS(t,e,n){var x,v,j,b,N;const i=GN(),o=YN(),c=WN(),u=c.defaultQueryOptions(t);(v=(x=c.getDefaultOptions().queries)==null?void 0:x._experimental_beforeQuery)==null||v.call(x,u),u._optimisticResults=i?"isRestoring":"optimistic",eS(u),XN(u,o),JN(o);const h=!c.getQueryCache().get(u.queryHash),[f]=P.useState(()=>new e(c,u)),m=f.getOptimisticResult(u),y=!i&&t.subscribed!==!1;if(P.useSyncExternalStore(P.useCallback(k=>{const A=y?f.subscribe(vt.batchCalls(k)):Bt;return f.updateResult(),A},[f,y]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),P.useEffect(()=>{f.setOptions(u)},[u,f]),nS(u,m))throw Ag(u,f,o);if(ZN({result:m,errorResetBoundary:o,throwOnError:u.throwOnError,query:c.getQueryCache().get(u.queryHash),suspense:u.suspense}))throw m.error;if((b=(j=c.getDefaultOptions().queries)==null?void 0:j._experimental_afterQuery)==null||b.call(j,u,m),u.experimental_prefetchInRender&&!bi&&tS(m,i)){const k=h?Ag(u,f,o):(N=c.getQueryCache().get(u.queryHash))==null?void 0:N.promise;k==null||k.catch(Bt).finally(()=>{f.updateResult()})}return u.notifyOnChangeProps?m:f.trackResult(m)}function iS(t,e){return rS(t,LN)}const sS=new qN({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}});function oS(){const[t,e]=P.useState(!1),n=P.useRef(!1),[i,o]=P.useState(!1),c=P.useRef(!1),[u,h]=P.useState(!1),f=P.useRef(!1),m=P.useRef([]),y=P.useRef([]),x=P.useRef([]),v=P.useRef(null),j=(T=!1)=>{const H=document.createElement("div");return H.style.position="absolute",H.style.pointerEvents="none",H.style.transition="all 0.1s ease-in-out",H.style.zIndex="9999",T?H.style.border="2px s
200olid #2563EB":(H.style.border="2px solid #95a5fc",H.style.backgroundColor="rgba(99, 102, 241, 0.05)"),H},b=(T,H,Y=!1)=>{if(!H||!n.current)return;H.offsetWidth;const te=H.getBoundingClientRect();T.style.top=`${te.top+window.scrollY}px`,T.style.left=`${te.left+window.scrollX}px`,T.style.width=`${te.width}px`,T.style.height=`${te.height}px`;let O=T.querySelector("div");O||(O=document.createElement("div"),O.textContent=H.tagName.toLowerCase(),O.style.position="absolute",O.style.top="-27px",O.style.left="-2px",O.style.padding="2px 8px",O.style.fontSize="11px",O.style.fontWeight=Y?"500":"400",O.style.color=Y?"#ffffff":"#526cff",O.style.backgroundColor=Y?"#526cff":"#DBEAFE",O.style.borderRadius="3px",O.style.boxShadow="none",O.style.minWidth="24px",O.style.textAlign="center",T.appendChild(O))},N=T=>{if(!T)return[];const H=[...document.querySelectorAll(`[data-source-location="${T}"]`)];return H.length>0?H:[...document.querySelectorAll(`[data-visual-selector-id="${T}"]`)]},k=()=>{m.current.forEach(T=>{T&&T.parentNode&&T.remove()}),m.current=[],x.current=[]},A=T=>{if(!n.current||c.current)return;if(f.current){k();return}if(T.target.tagName.toLowerCase()==="path"){k();return}const H=T.target.closest("[data-source-location], [data-visual-selector-id]");if(!H){k();return}const Y=H.dataset.sourceLocation||H.dataset.visualSelectorId;if(H.dataset.sourceLocation,v.current===Y){k();return}const te=N(Y);k(),te.forEach(O=>{const B=j(!1);document.body.appendChild(B),m.current.push(B),b(B,O)}),x.current=te},I=()=>{c.current||k()},E=T=>{var ne;if(!n.current)return;if(f.current){T.preventDefault(),T.stopPropagation(),T.stopImmediatePropagation(),window.parent.postMessage({type:"close-dropdowns"},"*");return}if(T.target.tagName.toLowerCase()==="path")return;T.preventDefault(),T.stopPropagation(),T.stopImmediatePropagation();const H=T.target.closest("[data-source-location], [data-visual-selector-id]");if(!H)return;const Y=H.dataset.sourceLocation||H.dataset.visualSelectorId;H.dataset.sourceLocation,y.current.forEach(Q=>{Q&&Q.parentNode&&Q.remove()}),y.current=[],N(Y).forEach(Q=>{const se=j(!0);document.body.appendChild(se),y.current.push(se),b(se,Q,!0)}),v.current=Y,k();const O=H.getBoundingClientRect(),B={top:O.top,left:O.left,right:O.right,bottom:O.bottom,width:O.width,height:O.height,centerX:O.left+O.width/2,centerY:O.top+O.height/2},K={type:"element-selected",tagName:H.tagName,classes:((ne=H.className)==null?void 0:ne.baseVal)||H.className||"",visualSelectorId:Y,content:H.innerText,dataSourceLocation:H.dataset.sourceLocation,isDynamicContent:H.dataset.dynamicContent==="true",linenumber:H.dataset.linenumber,filename:H.dataset.filename,position:B};window.parent.postMessage(K,"*")},_=()=>{y.current.forEach(T=>{T&&T.parentNode&&T.remove()}),y.current=[],v.current=null},F=(T,H,Y=!1)=>{const te=N(T);te.length!==0&&(te.forEach(O=>{var B;if(Y)O.className=H;else{const K=((B=O.className)==null?void 0:B.baseVal)||O.className||"";O.className=_v(K,H)}}),setTimeout(()=>{var O,B;v.current===T&&y.current.forEach((K,ne)=>{ne<te.length&&b(K,te[ne])}),x.current.length>0&&((B=(O=x.current[0])==null?void 0:O.dataset)==null?void 0:B.visualSelectorId)===T&&m.current.forEach((ne,Q)=>{Q<x.current.length&&b(ne,x.current[Q])})},50))},W=(T,H)=>{const Y=N(T);Y.length!==0&&(Y.forEach(te=>{te.innerText=H}),setTimeout(()=>{v.current===T&&y.current.forEach((te,O)=>{O<Y.length&&b(te,Y[O])})},50))},Z=T=>{e(T),n.current=T,T?(document.body.style.cursor="crosshair",document.addEventListener("mouseover",A),document.addEventListener("mouseout",I),document.addEventListener("click",E,!0)):(k(),y.current.forEach(H=>{H&&H.parentNode&&H.remove()}),y.current=[],x.current=[],v.current=null,document.body.style.cursor="default",document.removeEventListener("mouseover",A),document.removeEventListener("mouseout",I),document.removeEventListener("click",E,!0))};return P.useEffect(()=>{document.querySelectorAll("[data-linenumber]:not([data-visual-selector-id])").forEach((te,O)=>{const B=`visual-id-${te.dataset.filename}-${te.dataset.linenumber}-${O}`;te.dataset.visualSelectorId=B});const H=()=>
200{if(v.current){const te=N(v.current);if(te.length>0){const B=te[0].getBoundingClientRect(),K=window.innerHeight,ne=window.innerWidth,Q=B.top<K&&B.bottom>0&&B.left<ne&&B.right>0,se={top:B.top,left:B.left,right:B.right,bottom:B.bottom,width:B.width,height:B.height,centerX:B.left+B.width/2,centerY:B.top+B.height/2};window.parent.postMessage({type:"element-position-update",position:se,isInViewport:Q,visualSelectorId:v.current},"*")}}},Y=te=>{const O=te.data;switch(O.type){case"toggle-visual-edit-mode":Z(O.data.enabled);break;case"update-classes":O.data&&O.data.classes!==void 0?F(O.data.visualSelectorId,O.data.classes,O.data.replace||!1):console.warn("[Agent] Invalid update-classes message:",O);break;case"unselect-element":_();break;case"refresh-page":window.location.reload();break;case"update-content":O.data&&O.data.content!==void 0?W(O.data.visualSelectorId,O.data.content):console.warn("[Agent] Invalid update-content message:",O);break;case"request-element-position":if(v.current){const B=N(v.current);if(B.length>0){const ne=B[0].getBoundingClientRect(),Q=window.innerHeight,se=window.innerWidth,z=ne.top<Q&&ne.bottom>0&&ne.left<se&&ne.right>0,oe={top:ne.top,left:ne.left,right:ne.right,bottom:ne.bottom,width:ne.width,height:ne.height,centerX:ne.left+ne.width/2,centerY:ne.top+ne.height/2};window.parent.postMessage({type:"element-position-update",position:oe,isInViewport:z,visualSelectorId:v.current},"*")}}break;case"popover-drag-state":O.data&&O.data.isDragging!==void 0&&(o(O.data.isDragging),c.current=O.data.isDragging,O.data.isDragging&&k());break;case"dropdown-state":O.data&&O.data.isOpen!==void 0&&(h(O.data.isOpen),f.current=O.data.isOpen,O.data.isOpen&&k());break}};return window.addEventListener("message",Y),window.addEventListener("scroll",H,!0),document.addEventListener("scroll",H,!0),window.parent.postMessage({type:"visual-edit-agent-ready"},"*"),()=>{window.removeEventListener("message",Y),window.removeEventListener("scroll",H,!0),document.removeEventListener("scroll",H,!0),document.removeEventListener("mouseover",A),document.removeEventListener("mouseout",I),document.removeEventListener("click",E,!0),k(),y.current.forEach(te=>{te&&te.parentNode&&te.remove()})}},[]),P.useEffect(()=>{n.current=t},[t]),P.useEffect(()=>{c.current=i},[i]),P.useEffect(()=>{f.current=u},[u]),P.useEffect(()=>{const T=()=>{if(v.current){const Y=N(v.current);y.current.forEach((te,O)=>{O<Y.length&&b(te,Y[O])})}x.current.length>0&&m.current.forEach((Y,te)=>{te<x.current.length&&b(Y,x.current[te])})},H=new MutationObserver(Y=>{Y.some(O=>{const B=ne=>{if(ne.nodeType===Node.ELEMENT_NODE){if(ne.dataset&&ne.dataset.visualSelectorId)return!0;for(let Q=0;Q<ne.children.length;Q++)if(B(ne.children[Q]))return!0}return!1};return O.type==="attributes"&&(O.attributeName==="style"||O.attributeName==="class"||O.attributeName==="width"||O.attributeName==="height")&&B(O.target)})&&setTimeout(T,50)});return H.observe(document.body,{attributes:!0,childList:!0,subtree:!0,attributeFilter:["style","class","width","height"]}),window.addEventListener("resize",T),window.addEventListener("scroll",T),()=>{window.removeEventListener("resize",T),window.removeEventListener("scroll",T),H.disconnect()}},[]),null}dv();/**
201 * @remix-run/router v1.23.0
202 *
203 * Copyright (c) Remix Software Inc.
204 *
205 * This source code is licensed under the MIT license found in the
206 * LICENSE.md file in the root directory of this source tree.
207 *
208 * @license MIT
209 */function Go(){return Go=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Go.apply(this,arguments)}var Ir;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(Ir||(Ir={}));const Rg="popstate";function aS(t){t===void 0&&(t={});function e(i,o){let{pathname:c,search:u,hash:h}=i.location;return Ph("",{pathname:c,search:u,hash:h},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(i,o){return typeof o=="string"?o:oc(o)}return cS(e,n,null,t)}function ot(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function Gv(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function lS(){return Math.random().toString(36).substr(2,8)}function Ig(t,e){return{usr:t.state,key:t.key,idx:e}}function Ph(t,e,n,i){return n===void 0&&(n=null),Go({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?_s(e):e,{state:n,key:e&&e.key||i||lS()})}function oc(t){let{pathname:e="/",search:n="",hash:i=""}=t;return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),i&&i!=="#"&&(e+=i.charAt(0)==="#"?i:"#"+i),e}function _s(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));let i=t.indexOf("?");i>=0&&(e.search=t.substr(i),t=t.substr(0,i)),t&&(e.pathname=t)}return e}function cS(t,e,n,i){i===void 0&&(i={});let{window:o=document.defaultView,v5Compat:c=!1}=i,u=o.history,h=Ir.Pop,f=null,m=y();m==null&&(m=0,u.replaceState(Go({},u.state,{idx:m}),""));function y(){return(u.state||{idx:null}).idx}function x(){h=Ir.Pop;let k=y(),A=k==null?null:k-m;m=k,f&&f({action:h,location:N.location,delta:A})}function v(k,A){h=Ir.Push;let I=Ph(N.location,k,A);m=y()+1;let E=Ig(I,m),_=N.createHref(I);try{u.pushState(E,"",_)}catch(F){if(F instanceof DOMException&&F.name==="DataCloneError")throw F;o.location.assign(_)}c&&f&&f({action:h,location:N.location,delta:1})}function j(k,A){h=Ir.Replace;let I=Ph(N.location,k,A);m=y();let E=Ig(I,m),_=N.createHref(I);u.replaceState(E,"",_),c&&f&&f({action:h,location:N.location,delta:0})}function b(k){let A=o.location.origin!=="null"?o.location.origin:o.location.href,I=typeof k=="string"?k:oc(k);return I=I.replace(/ $/,"%20"),ot(A,"No window.location.(origin|href) available to create URL for href: "+I),new URL(I,A)}let N={get action(){return h},get location(){return t(o,u)},listen(k){if(f)throw new Error("A history only accepts one active listener");return o.addEventListener(Rg,x),f=k,()=>{o.removeEventListener(Rg,x),f=null}},createHref(k){return e(o,k)},createURL:b,encodeLocation(k){let A=b(k);return{pathname:A.pathname,search:A.search,hash:A.hash}},push:v,replace:j,go(k){return u.go(k)}};return N}var Og;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(Og||(Og={}));function uS(t,e,n){return n===void 0&&(n="/"),dS(t,e,n)}function dS(t,e,n,i){let o=typeof e=="string"?_s(e):e,c=gf(o.pathname||"/",n);if(c==null)return null;let u=Kv(t);hS(u);let h=null;for(let f=0;h==null&&f<u.length;++f){let m=NS(c);h=bS(u[f],m)}return h}function Kv(t,e,n,i){e===void 0&&(e=[]),n===void 0&&(n=[]),i===void 0&&(i="");let o=(c,u,h)=>{let f={relativePath:h===void 0?c.path||"":h,caseSensitive:c.caseSensitive===!0,childrenIndex:u,route:c};f.relativePath.startsWith("/")&&(ot(f.relativePath.startsWith(i),'Absolute route path "'+f.relativePath+'" nested under path '+('"'+i+'" is not val
209id. An absolute child route path ')+"must start with the combined path of all its parent routes."),f.relativePath=f.relativePath.slice(i.length));let m=Mr([i,f.relativePath]),y=n.concat(f);c.children&&c.children.length>0&&(ot(c.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+m+'".')),Kv(c.children,e,y,m)),!(c.path==null&&!c.index)&&e.push({path:m,score:vS(m,c.index),routesMeta:y})};return t.forEach((c,u)=>{var h;if(c.path===""||!((h=c.path)!=null&&h.includes("?")))o(c,u);else for(let f of Qv(c.path))o(c,u,f)}),e}function Qv(t){let e=t.split("/");if(e.length===0)return[];let[n,...i]=e,o=n.endsWith("?"),c=n.replace(/\?$/,"");if(i.length===0)return o?[c,""]:[c];let u=Qv(i.join("/")),h=[];return h.push(...u.map(f=>f===""?c:[c,f].join("/"))),o&&h.push(...u),h.map(f=>t.startsWith("/")&&f===""?"/":f)}function hS(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:wS(e.routesMeta.map(i=>i.childrenIndex),n.routesMeta.map(i=>i.childrenIndex)))}const fS=/^:[\w-]+$/,pS=3,mS=2,gS=1,yS=10,xS=-2,Mg=t=>t==="*";function vS(t,e){let n=t.split("/"),i=n.length;return n.some(Mg)&&(i+=xS),e&&(i+=mS),n.filter(o=>!Mg(o)).reduce((o,c)=>o+(fS.test(c)?pS:c===""?gS:yS),i)}function wS(t,e){return t.length===e.length&&t.slice(0,-1).every((i,o)=>i===e[o])?t[t.length-1]-e[e.length-1]:0}function bS(t,e,n){let{routesMeta:i}=t,o={},c="/",u=[];for(let h=0;h<i.length;++h){let f=i[h],m=h===i.length-1,y=c==="/"?e:e.slice(c.length)||"/",x=kS({path:f.relativePath,caseSensitive:f.caseSensitive,end:m},y),v=f.route;if(!x)return null;
vendor: 9,201 bytes, lines 209-218
209Object.assign(o,x.params),u.push({params:o,pathname:Mr([c,x.pathname]),pathnameBase:PS(Mr([c,x.pathnameBase])),route:v}),x.pathnameBase!=="/"&&(c=Mr([c,x.pathnameBase]))}return u}function kS(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[n,i]=jS(t.path,t.caseSensitive,t.end),o=e.match(n);if(!o)return null;let c=o[0],u=c.replace(/(.)\/+$/,"$1"),h=o.slice(1);return{params:i.reduce((m,y,x)=>{let{paramName:v,isOptional:j}=y;if(v==="*"){let N=h[x]||"";u=c.slice(0,c.length-N.length).replace(/(.)\/+$/,"$1")}const b=h[x];return j&&!b?m[v]=void 0:m[v]=(b||"").replace(/%2F/g,"/"),m},{}),pathname:c,pathnameBase:u,pattern:t}}function jS(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!0),Gv(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let i=[],o="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,h,f)=>(i.push({paramName:h,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(i.push({paramName:"*"}),o+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":t!==""&&t!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,e?void 0:"i"),i]}function NS(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return Gv(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function gf(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,i=t.charAt(n);return i&&i!=="/"?null:t.slice(n)||"/"}function SS(t,e){e===void 0&&(e="/");let{pathname:n,search:i="",hash:o=""}=typeof t=="string"?_s(t):t;return{pathname:n?n.startsWith("/")?n:CS(n,e):e,search:TS(i),hash:_S(o)}}function CS(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Vd(t,e,n,i){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(i)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function ES(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function Yv(t,e){let n=ES(t);return e?n.map((i,o)=>o===n.length-1?i.pathname:i.pathnameBase):n.map(i=>i.pathnameBase)}function Xv(t,e,n,i){i===void 0&&(i=!1);let o;typeof t=="string"?o=_s(t):(o=Go({},t),ot(!o.pathname||!o.pathname.includes("?"),Vd("?","pathname","search",o)),ot(!o.pathname||!o.pathname.includes("#"),Vd("#","pathname","hash",o)),ot(!o.search||!o.search.includes("#"),Vd("#","search","hash",o)));let c=t===""||o.pathname==="",u=c?"/":o.pathname,h;if(u==null)h=n;else{let x=e.length-1;if(!i&&u.startsWith("..")){let v=u.split("/");for(;v[0]==="..";)v.shift(),x-=1;o.pathname=v.join("/")}h=x>=0?e[x]:"/"}let f=SS(o,h),m=u&&u!=="/"&&u.endsWith("/"),y=(c||u===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(m||y)&&(f.pathname+="/"),f}const Mr=t=>t.join("/").replace(/\/\/+/g,"/"),PS=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),TS=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,_S=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function AS(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const Jv=["post","put","patch","delete"];new Set(Jv);const RS=["get",...Jv];new Set(RS);/**
210 * React Router v6.30.1
211 *
212 * Copyright (c) Remix Software Inc.
213 *
214 * This source code is licensed under the MIT license found in the
215 * LICENSE.md file in the root directory of this source tree.
216 *
217 * @license MIT
218 */function Ko(){return Ko=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Ko.apply(this,arguments)}const yf=P.createContext(null),IS=P.createContext(null),Si=P.createContext(null),vc=P.createContext(null),Ci=P.createContext({outlet:null,matches:[],isDataRoute:!1}),Zv=P.createContext(null);function OS(t,e){let{relative:n}=e===void 0?{}:e;la()||ot(!1);let{basename:i,navigator:o}=P.useContext(Si),{hash:c,pathname:u,search:h}=tw(t,{relative:n}),f=u;return i!=="/"&&(f=u==="/"?i:Mr([i,u])),o.createHref({pathname:f,search:h,hash:c})}function la(){return P.useContext(vc)!=null}function Ei(){return la()||ot(!1),P.useContext(vc).location}function ew(t){P.useContext(Si).static||P.useLayoutEffect(t)}function MS(){let{isDataRoute:t}=P.useContext(Ci);return t?KS():LS()}function LS(){la()||ot(!1);let t=P.useContext(yf),{basename:e,future:n,navigator:i}=P.useContext(Si),{matches:o}=P.useContext(Ci),{pathname:c}=Ei(),u=JSON.stringify(Yv(o,n.v7_relativeSplatPath)),h=P.useRef(!1);return ew(()=>{h.current=!0}),P.useCallback(function(m,y){if(y===void 0&&(y={}),!h.current)return;if(typeof m=="number"){i.go(m);return}let x=Xv(m,JSON.parse(u),c,y.relative==="path");t==null&&e!=="/"&&(x.pathname=x.pathname==="/"?e:Mr([e,x.pathname])),(y.replace?i.replace:i.push)(x,y.state,y)},[e,i,u,c,t])}function tw(t,e){let{relative:n}=e===void 0?{}:e,{future:i}=P.useContext(Si),{matches:o}=P.useContext(Ci),{pathname:c}=Ei(),u=JSON.stringify(Yv(o,i.v7_relativeSplatPath));return P.useMemo(()=>Xv(t,JSON.parse(u),c,n==="path"),[t,u,c,n])}function DS(t,e){return FS(t,e)}function FS(t,e,n,i){la()||ot(!1);let{navigator:o}=P.useContext(Si),{matches:c}=P.useContext(Ci),u=c[c.length-1],h=u?u.params:{};u&&u.pathname;let f=u?u.pathnameBase:"/";u&&u.route;let m=Ei(),y;if(e){var x;let k=typeof e=="string"?_s(e):e;f==="/"||(x=k.pathname)!=null&&x.startsWith(f)||ot(!1),y=k}else y=m;let v=y.pathname||"/",j=v;if(f!=="/"){let k=f.replace(/^\//,"").split("/");j="/"+v.replace(/^\//,"").split("/").slice(k.length).join("/")}let b=uS(t,{pathname:j}),N=$S(b&&b.map(k=>Object.assign({},k,{params:Object.assign({},h,k.params),pathname:Mr([f,o.encodeLocation?o.encodeLocation(k.pathname).pathname:k.pathname]),pathnameBase:k.pathnameBase==="/"?f:Mr([f,o.encodeLocation?o.encodeLocation(k.pathnameBase).pathname:k.pathnameBase])})),c,n,i);return e&&N?P.createElement(vc.Provider,{value:{location:Ko({pathname:"/",search:"",hash:"",state:null,key:"default"},y),navigationType:Ir.Pop}},N):N}function VS(){let t=GS(),e=AS(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return P.createElement(P.Fragment,null,P.createElement("h2",null,"Unexpected Application Error!"),P.createElement("h3",{style:{fontStyle:"italic"}},e),n?P.createElement("pre",{style:o},n):null,null)}const zS=P.createElement(VS,null);class BS extends P.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){console.error("React Router caught the following error during render",e,n)}render(){return this.state.error!==void 0?P.createElement(Ci.Provider,{value:this.props.routeContext},P.createElement(Zv.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function US(t){let{routeContext:e,match:n,children:i}=t,o=P.useContext(yf);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),P.createElement(Ci.Provider,{value:e},i)}function $S(t,e,n,i){var o;if(e===void 0&&(e=[]),n===void 0&&(n=null),i===void 0&&(i=null),t==null){var c;if(!n)return null;if(n.errors)t=n.matches;else if((c=i)!=null&&c.v7_partialHydration&&e.length===0&&!n.initialized&&n.matches.length>0)t=n.matches;else return null}let u=t,h=(o=n)==null?void 0:o.errors;if(h!=null){let y=u.findIndex(x=>x.route.id&&(h==null?void 0:h[x.route.id])!==void 0);y>=0||ot(!1),u=u.slice(0,Math.min(u.length,y+1))}let f=!1,m=-1;if(n&&i&&i.v7_partialHydration)for(let y=0;y<u.length;y++){let x=u[y];if((x.route.HydrateFallback||x.route.hydrateFallbackElement)&&(m=y),x.route.id){let{loaderData:v,errors:j}=n,b=x.route.loader&&v[x.route.id]===void 0&&(!j||j[x.route.id]===void 0);if(x.route.lazy||b){f=!0,m>=0?u=u.slice(0,m+1):u=[u[0]];break}}}return u.reduceRight((y,x,v)=>{let j,b=!1,N=null,k=null;n&&(j=h&&x.route.id?h[x.route.id]:void 0,N=x.route.errorElement||zS,f&&(m<0&&v===0?(QS("route-fallback"),b=!0,k=null):m===v&&(b=!0,k=x.route.hydrateFallbackElement||null)));let A=e.concat(u.slice(0,v+1)),I=()=>{let E;return j?E=N:b?E=k:x.route.Component?E=P.createElement(x.route.Component,null):x.route.element?E=x.route.element:E=y,P.createElement(US,{match:x,routeC
218ontext:{outlet:y,matches:A,isDataRoute:n!=null},children:E})};return n&&(x.route.ErrorBoundary||x.route.errorElement||v===0)?P.createElement(BS,{location:n.location,revalidation:n.revalidation,component:N,error:j,children:I(),routeContext:{outlet:null,matches:A,isDataRoute:!0}}):I()},null)}var nw=(function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t})(nw||{}),rw=(function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t})(rw||{});function qS(t){let e=P.useContext(yf);return e||ot(!1),e}function WS(t){let e=P.useContext(IS);return e||ot(!1),e}function HS(t){let e=P.useContext(Ci);return e||ot(!1),e}function iw(t){let e=HS(),n=e.matches[e.matches.length-1];return n.route.id||ot(!1),n.route.id}function GS(){var t;let e=P.useContext(Zv),n=WS(),i=iw();return e!==void 0?e:(t=n.errors)==null?void 0:t[i]}function KS(){let{router:t}=qS(nw.UseNavigateStable),e=iw(rw.UseNavigateStable),n=P.useRef(!1);return ew(()=>{n.current=!0}),P.useCallback(function(o,c){c===void 0&&(c={}),n.current&&(typeof o=="number"?t.navigate(o):t.navigate(o,Ko({fromRouteId:e},c)))},[t,e])}const Lg={};function QS(t,e,n){Lg[t]||(Lg[t]=!0)}function YS(t,e){t==null||t.v7_startTransition,t==null||t.v7_relativeSplatPath}function $l(t){ot(!1)}function XS(t){let{basename:e="/",children:n=null,location:i,navigationType:o=Ir.Pop,navigator:c,static:u=!1,future:h}=t;la()&&ot(!1);let f=e.replace(/^\/*/,"/"),m=P.useMemo(()=>({basename:f,navigator:c,static:u,future:Ko({v7_relativeSplatPath:!1},h)}),[f,h,c,u]);typeof i=="string"&&(i=_s(i));let{pathname:y="/",search:x="",hash:v="",state:j=null,key:b="default"}=i,N=P.useMemo(()=>{let k=gf(y,f);return k==null?null:{location:{pathname:k,search:x,hash:v,state:j,key:b},navigationType:o}},[f,y,x,v,j,b,o]);return N==null?null:P.createElement(Si.Provider,{value:m},P.createElement(vc.Provider,{children:n,value:N}))}function JS(t){let{children:e,location:n}=t;return DS(Th(e),n)}new Promise(()=>{});function Th(t,e){e===void 0&&(e=[]);let n=[];return P.Children.forEach(t,(i,o)=>{if(!P.isValidElement(i))return;let c=[...e,o];if(i.type===P.Fragment){n.push.apply(n,Th(i.props.children,c));return}i.type!==$l&&ot(!1),!i.props.index||!i.props.children||ot(!1);let u={id:i.props.id||c.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,loader:i.props.loader,action:i.props.action,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(u.children=Th(i.props.children,c)),n.push(u)}),n}/**
219 * React Router DOM v6.30.1
220 *
221 * Copyright (c) Remix Software Inc.
222 *
223 * This source code is licensed under the MIT license found in the
224 * LICENSE.md file in the root directory of this source tree.
225 *
226 * @license MIT
227 */function _h(){return _h=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},_h.apply(this,arguments)}function ZS(t,e){if(t==null)return{};var n={},i=Object.keys(t),o,c;for(c=0;c<i.length;c++)o=i[c],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}function eC(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function tC(t,e){return t.button===0&&(!e||e==="_self")&&!eC(t)}const nC=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],rC="6";try{window.__reactRouterVersion=rC}catch{}const iC="startTransition",Dg=Lk[iC];function sC(t){let{basename:e,children:n,future:i,window:o}=t,c=P.useRef();c.current==null&&(c.current=aS({window:o,v5Compat:!0}));let u=c.current,[h,f]=P.useState({action:u.action,location:u.location}),{v7_startTransition:m}=i||{},y=P.useCallback(x=>{m&&Dg?Dg(()=>f(x)):f(x)},[f,m]);return P.useLayoutEffect(()=>u.listen(y),[u,y]),P.useEffect(()=>YS(i),[i]),P.createElement(XS,{basename:e,children:n,location:h.location,navigationType:h.action,navigator:u,future:i})}const oC=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",aC=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ae=P.forwardRef(function(e,n){let{onClick:i,relative:o,reloadDocument:c,replace:u,state:h,target:f,to:m,preventScrollReset:y,viewTransition:x}=e,v=ZS(e,nC),{basename:j}=P.useContext(Si),b,N=!1;if(typeof m=="string"&&aC.test(m)&&(b=m,oC))try{let E=new URL(window.location.href),_=m.startsWith("//")?new URL(E.protocol+m):new URL(m),F=gf(_.pathname,j);_.origin===E.origin&&F!=null?m=F+_.search+_.hash:N=!0}catch{}let k=OS(m,{relative:o}),A=lC(m,{replace:u,state:h,target:f,preventScrollReset:y,relative:o,viewTransition:x});function I(E){i&&i(E),E.defaultPrevented||A(E)}return P.createElement("a",_h({},v,{href:b||k,onClick:N||c?i:I,ref:n,target:f}))});var Fg;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(Fg||(Fg={}));var Vg;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(Vg||(Vg={}));function lC(t,e){let{target:n,replace:i,state:o,preventScrollReset:c,relative:u,viewTransition:h}=e===void 0?{}:e,f=MS(),m=Ei(),y=tw(t,{relative:u});return P.useCallback(x=>{if(tC(x,n)){x.preventDefault();let v=i!==void 0?i:oc(m)===oc(y);f(t,{replace:v,state:o,preventScrollReset:c,relative:u,viewTransition:h})}},[m,f,y,i,o,n,t,c,u,h])}function sw(t,e){return function(){return t.apply(e,arguments)}}const{toString:cC}=Object.prototype,{getPrototypeOf:xf}=Object,{iterator:wc,toStringTag:ow}
vendor: 4,109 bytes, line 227
227=Symbol,bc=(t=>e=>{const n=cC.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),wn=t=>(t=t.toLowerCase(),e=>bc(e)===t),kc=t=>e=>typeof e===t,{isArray:As}=Array,Ns=kc("undefined");function ca(t){return t!==null&&!Ns(t)&&t.constructor!==null&&!Ns(t.constructor)&&Ut(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const aw=wn("ArrayBuffer");function uC(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&aw(t.buffer),e}const dC=kc("string"),Ut=kc("function"),lw=kc("number"),ua=t=>t!==null&&typeof t=="object",hC=t=>t===!0||t===!1,ql=t=>{if(bc(t)!=="object")return!1;const e=xf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(ow in t)&&!(wc in t)},fC=t=>{if(!ua(t)||ca(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},pC=wn("Date"),mC=wn("File"),gC=wn("Blob"),yC=wn("FileList"),xC=t=>ua(t)&&Ut(t.pipe),vC=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Ut(t.append)&&((e=bc(t))==="formdata"||e==="object"&&Ut(t.toString)&&t.toString()==="[object FormData]"))},wC=wn("URLSearchParams"),[bC,kC,jC,NC]=["ReadableStream","Request","Response","Headers"].map(wn),SC=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function da(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let i,o;if(typeof t!="object"&&(t=[t]),As(t))for(i=0,o=t.length;i<o;i++)e.call(null,t[i],i,t);else{if(ca(t))return;const c=n?Object.getOwnPropertyNames(t):Object.keys(t),u=c.length;let h;for(i=0;i<u;i++)h=c[i],e.call(null,t[h],h,t)}}function cw(t,e){if(ca(t))return null;e=e.toLowerCase();const n=Object.keys(t);let i=n.length,o;for(;i-- >0;)if(o=n[i],e===o.toLowerCase())return o;return null}const ai=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,uw=t=>!Ns(t)&&t!==ai;function Ah(){const{caseless:t,skipUndefined:e}=uw(this)&&this||{},n={},i=(o,c)=>{const u=t&&cw(n,c)||c;ql(n[u])&&ql(o)?n[u]=Ah(n[u],o):ql(o)?n[u]=Ah({},o):As(o)?n[u]=o.slice():(!e||!Ns(o))&&(n[u]=o)};for(let o=0,c=arguments.length;o<c;o++)arguments[o]&&da(arguments[o],i);return n}const CC=(t,e,n,{allOwnKeys:i}={})=>(da(e,(o,c)=>{n&&Ut(o)?t[c]=sw(o,n):t[c]=o},{allOwnKeys:i}),t),EC=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),PC=(t,e,n,i)=>{t.prototype=Object.create(e.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},TC=(t,e,n,i)=>{let o,c,u;const h={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),c=o.length;c-- >0;)u=o[c],(!i||i(u,t,e))&&!h[u]&&(e[u]=t[u],h[u]=!0);t=n!==!1&&xf(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},_C=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const i=t.indexOf(e,n);return i!==-1&&i===n},AC=t=>{if(!t)return null;if(As(t))return t;let e=t.length;if(!lw(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},RC=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&xf(Uint8Array)),IC=(t,e)=>{const i=(t&&t[wc]).call(t);let o;for(;(o=i.next())&&!o.done;){const c=o.value;e.call(t,c[0],c[1])}},OC=(t,e)=>{let n;const i=[];for(;(n=t.exec(e))!==null;)i.push(n);return i},MC=wn("HTMLFormElement"),LC=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,o){return i.toUpperCase()+o}),zg=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),DC=wn("RegExp"),dw=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),i={};da(n,(o,c)=>{let u;(u=e(o,c,t))!==!1&&(i[c]=u||o)}),Object.defineProperties(t,i)},FC=t=>{dw(t,(e,n)=>{if(Ut(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const i=t[n];if(Ut(i)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},VC=(t,e)=>{const n={},i=o=>{o.forEach(c=>{n[c]=!0})};return As(t)?i(t):i(String(t).split(e)),n},zC=()=>{},BC=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function UC(t){return!!(t&&Ut(t.append)&&t[ow]==="FormData"&&t[wc])}const $C=t=>{const e=new Array(10),n=(i,o)=>
vendor: 4,496 bytes, line 227
227{if(ua(i)){if(e.indexOf(i)>=0)return;if(ca(i))return i;if(!("toJSON"in i)){e[o]=i;const c=As(i)?[]:{};return da(i,(u,h)=>{const f=n(u,o+1);!Ns(f)&&(c[h]=f)}),e[o]=void 0,c}}return i};return n(t,0)},qC=wn("AsyncFunction"),WC=t=>t&&(ua(t)||Ut(t))&&Ut(t.then)&&Ut(t.catch),hw=((t,e)=>t?setImmediate:e?((n,i)=>(ai.addEventListener("message",({source:o,data:c})=>{o===ai&&c===n&&i.length&&i.shift()()},!1),o=>{i.push(o),ai.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Ut(ai.postMessage)),HC=typeof queueMicrotask<"u"?queueMicrotask.bind(ai):typeof process<"u"&&process.nextTick||hw,GC=t=>t!=null&&Ut(t[wc]),q={isArray:As,isArrayBuffer:aw,isBuffer:ca,isFormData:vC,isArrayBufferView:uC,isString:dC,isNumber:lw,isBoolean:hC,isObject:ua,isPlainObject:ql,isEmptyObject:fC,isReadableStream:bC,isRequest:kC,isResponse:jC,isHeaders:NC,isUndefined:Ns,isDate:pC,isFile:mC,isBlob:gC,isRegExp:DC,isFunction:Ut,isStream:xC,isURLSearchParams:wC,isTypedArray:RC,isFileList:yC,forEach:da,merge:Ah,extend:CC,trim:SC,stripBOM:EC,inherits:PC,toFlatObject:TC,kindOf:bc,kindOfTest:wn,endsWith:_C,toArray:AC,forEachEntry:IC,matchAll:OC,isHTMLForm:MC,hasOwnProperty:zg,hasOwnProp:zg,reduceDescriptors:dw,freezeMethods:FC,toObjectSet:VC,toCamelCase:LC,noop:zC,toFiniteNumber:BC,findKey:cw,global:ai,isContextDefined:uw,isSpecCompliantForm:UC,toJSONObject:$C,isAsyncFn:qC,isThenable:WC,setImmediate:hw,asap:HC,isIterable:GC};function Se(t,e,n,i,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),i&&(this.request=i),o&&(this.response=o,this.status=o.status?o.status:null)}q.inherits(Se,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:q.toJSONObject(this.config),code:this.code,status:this.status}}});const fw=Se.prototype,pw={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{pw[t]={value:t}});Object.defineProperties(Se,pw);Object.defineProperty(fw,"isAxiosError",{value:!0});Se.from=(t,e,n,i,o,c)=>{const u=Object.create(fw);q.toFlatObject(t,u,function(y){return y!==Error.prototype},m=>m!=="isAxiosError");const h=t&&t.message?t.message:"Error",f=e==null&&t?t.code:e;return Se.call(u,h,f,n,i,o),t&&u.cause==null&&Object.defineProperty(u,"cause",{value:t,configurable:!0}),u.name=t&&t.name||"Error",c&&Object.assign(u,c),u};const KC=null;function Rh(t){return q.isPlainObject(t)||q.isArray(t)}function mw(t){return q.endsWith(t,"[]")?t.slice(0,-2):t}function Bg(t,e,n){return t?t.concat(e).map(function(o,c){return o=mw(o),!n&&c?"["+o+"]":o}).join(n?".":""):e}function QC(t){return q.isArray(t)&&!t.some(Rh)}const YC=q.toFlatObject(q,{},null,function(e){return/^is[A-Z]/.test(e)});function jc(t,e,n){if(!q.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(N,k){return!q.isUndefined(k[N])});const i=n.metaTokens,o=n.visitor||y,c=n.dots,u=n.indexes,f=(n.Blob||typeof Blob<"u"&&Blob)&&q.isSpecCompliantForm(e);if(!q.isFunction(o))throw new TypeError("visitor must be a function");function m(b){if(b===null)return"";if(q.isDate(b))return b.toISOString();if(q.isBoolean(b))return b.toString();if(!f&&q.isBlob(b))throw new Se("Blob is not supported. Use a Buffer instead.");return q.isArrayBuffer(b)||q.isTypedArray(b)?f&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function y(b,N,k){let A=b;if(b&&!k&&typeof b=="object"){if(q.endsWith(N,"{}"))N=i?N:N.slice(0,-2),b=JSON.stringify(b);else if(q.isArray(b)&&QC(b)||(q.isFileList(b)||q.endsWith(N,"[]"))&&(A=q.toArray(b)))return N=mw(N),A.forEach(function(E,_){!(q.isUndefined(E)||E===null)&&e.append(u===!0?Bg([N],_,c):u===null?N:N+"[]",m(E))}),!1}return Rh(b)?!0:(e.append(Bg(k,N,c),m(b)),!1)}const x=[],v=Object.assign(YC,{defaultVisitor:y,convertValue:m,isVisitable:Rh});function j(b,N){if(!q.isUndefined(b)){if(x.indexOf(b)!==-1)throw Error("Circular reference detected in "+N.join("."));x.push(b),q.forEach(b,function(A,I){(!(q.isUndefined(A)||A===null)&&o.call(e,A,q.isString(I)?I.trim():I,N,v))===!0&&j(A,N?N.concat(I
vendor: 5,471 bytes, lines 227-228
227):[I])}),x.pop()}}if(!q.isObject(t))throw new TypeError("data must be an object");return j(t),e}function Ug(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(i){return e[i]})}function vf(t,e){this._pairs=[],t&&jc(t,this,e)}const gw=vf.prototype;gw.append=function(e,n){this._pairs.push([e,n])};gw.toString=function(e){const n=e?function(i){return e.call(this,i,Ug)}:Ug;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function XC(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function yw(t,e,n){if(!e)return t;const i=n&&n.encode||XC;q.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let c;if(o?c=o(e,n):c=q.isURLSearchParams(e)?e.toString():new vf(e,n).toString(i),c){const u=t.indexOf("#");u!==-1&&(t=t.slice(0,u)),t+=(t.indexOf("?")===-1?"?":"&")+c}return t}class $g{constructor(){this.handlers=[]}use(e,n,i){return this.handlers.push({fulfilled:e,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){q.forEach(this.handlers,function(i){i!==null&&e(i)})}}const xw={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},JC=typeof URLSearchParams<"u"?URLSearchParams:vf,ZC=typeof FormData<"u"?FormData:null,eE=typeof Blob<"u"?Blob:null,tE={isBrowser:!0,classes:{URLSearchParams:JC,FormData:ZC,Blob:eE},protocols:["http","https","file","blob","url","data"]},wf=typeof window<"u"&&typeof document<"u",Ih=typeof navigator=="object"&&navigator||void 0,nE=wf&&(!Ih||["ReactNative","NativeScript","NS"].indexOf(Ih.product)<0),rE=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",iE=wf&&window.location.href||"http://localhost",sE=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:wf,hasStandardBrowserEnv:nE,hasStandardBrowserWebWorkerEnv:rE,navigator:Ih,origin:iE},Symbol.toStringTag,{value:"Module"})),St={...sE,...tE};function oE(t,e){return jc(t,new St.classes.URLSearchParams,{visitor:function(n,i,o,c){return St.isNode&&q.isBuffer(n)?(this.append(i,n.toString("base64")),!1):c.defaultVisitor.apply(this,arguments)},...e})}function aE(t){return q.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function lE(t){const e={},n=Object.keys(t);let i;const o=n.length;let c;for(i=0;i<o;i++)c=n[i],e[c]=t[c];return e}function vw(t){function e(n,i,o,c){let u=n[c++];if(u==="__proto__")return!0;const h=Number.isFinite(+u),f=c>=n.length;return u=!u&&q.isArray(o)?o.length:u,f?(q.hasOwnProp(o,u)?o[u]=[o[u],i]:o[u]=i,!h):((!o[u]||!q.isObject(o[u]))&&(o[u]=[]),e(n,i,o[u],c)&&q.isArray(o[u])&&(o[u]=lE(o[u])),!h)}if(q.isFormData(t)&&q.isFunction(t.entries)){const n={};return q.forEachEntry(t,(i,o)=>{e(aE(i),o,n,0)}),n}return null}function cE(t,e,n){if(q.isString(t))try{return(e||JSON.parse)(t),q.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(t)}const ha={transitional:xw,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const i=n.getContentType()||"",o=i.indexOf("application/json")>-1,c=q.isObject(e);if(c&&q.isHTMLForm(e)&&(e=new FormData(e)),q.isFormData(e))return o?JSON.stringify(vw(e)):e;if(q.isArrayBuffer(e)||q.isBuffer(e)||q.isStream(e)||q.isFile(e)||q.isBlob(e)||q.isReadableStream(e))return e;if(q.isArrayBufferView(e))return e.buffer;if(q.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let h;if(c){if(i.indexOf("application/x-www-form-urlencoded")>-1)return oE(e,this.formSerializer).toString();if((h=q.isFileList(e))||i.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return jc(h?{"files[]":e}:e,f&&new f,this.formSerializer)}}return c||o?(n.setContentType("application/json",!1),cE(e)):e}],transformResponse:[function(e){const n=this.transitional||ha.transitional,i=n&&n.forcedJSONParsing,o=this.responseType==="json";if(q.isResponse(e)||q.isReadableStream(e))return e;if(e&&q.isString(e)&&(i&&!this.responseType||o)){const u=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e,this.parseReviver)}catch(h){if(u)throw h.name==="SyntaxError"?Se.from(h,Se.ERR_BAD_RESPONSE,this,null,this.response):h}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:St.classes.FormData,Blob:St.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};q.forEach(["delete","get","head","post","put","patch"],t=>{ha.headers[t]={}});const uE=q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),dE=t=>{const e={};let n,i,o;return t&&t.split(`
228`).forEach(function(u){o=u.indexOf(":"),n=u.substring(0,o).trim().toLowerCase(),i=u.substring(o+1).trim(),!(!n||e[n]&&uE[n])&&(n==="set-cookie"?e[n]?e[n].push(i):e[n]=[i]:e[n]=e[n]?e[n]+", "+i:i)}),e},qg=Symbol("internals");function No(t){return t&&String(t).trim().toLowerCase()}function Wl(t){return t===!1||t==null?t:q.isArray(t)?t.map(Wl):String(t)}function hE(t){const e=Object.create(null),n=/([^\s,;
228=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(t);)e[i[1]]=i[2];return e}const fE=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function zd(t,e,n,i,o){if(q.isFunction(i))return i.call(this,e,n);if(o&&(e=n),!!q.isString(e)){if(q.isString(i))return e.indexOf(i)!==-1;if(q.isRegExp(i))return i.test(e)}}function pE(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,i)=>n.toUpperCase()+i)}function mE(t,e){const n=q.toCamelCase(" "+e);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+n,{value:function(o,c,u){return this[i].call(this,e,o,c,u)},configurable:!0})})}let $t=class{constructor(e){e&&this.set(e)}set(e,n,i){const o=this;function c(h,f,m){const y=No(f);if(!y)throw new Error("header name must be a non-empty string");const x=q.findKey(o,y);(!x||o[x]===void 0||m===!0||m===void 0&&o[x]!==!1)&&(o[x||f]=Wl(h))}const u=(h,f)=>q.forEach(h,(m,y)=>c(m,y,f));if(q.isPlainObject(e)||e instanceof this.constructor)u(e,n);else if(q.isString(e)&&(e=e.trim())&&!fE(e))u(dE(e),n);else if(q.isObject(e)&&q.isIterable(e)){let h={},f,m;for(const y of e){if(!q.isArray(y))throw TypeError("Object iterator must return a key-value pair");h[m=y[0]]=(f=h[m])?q.isArray(f)?[...f,y[1]]:[f,y[1]]:y[1]}u(h,n)}else e!=null&&c(n,e,i);return this}get(e,n){if(e=No(e),e){const i=q.findKey(this,e);if(i){const o=this[i];if(!n)return o;if(n===!0)return hE(o);if(q.isFunction(n))return n.call(this,o,i);if(q.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=No(e),e){const i=q.findKey(this,e);return!!(i&&this[i]!==void 0&&(!n||zd(this,this[i],i,n)))}return!1}delete(e,n){const i=this;let o=!1;function c(u){if(u=No(u),u){const h=q.findKey(i,u);h&&(!n||zd(i,i[h],h,n))&&(delete i[h],o=!0)}}return q.isArray(e)?e.forEach(c):c(e),o}clear(e){const n=Object.keys(this);let i=n.length,o=!1;for(;i--;){const c=n[i];(!e||zd(this,this[c],c,e,!0))&&(delete this[c],o=!0)}return o}normalize(e){const n=this,i={};return q.forEach(this,(o,c)=>{const u=q.findKey(i,c);
vendor: 12,022 bytes, lines 228-229
228if(u){n[u]=Wl(o),delete n[c];return}const h=e?pE(c):String(c).trim();h!==c&&delete n[c],n[h]=Wl(o),i[h]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return q.forEach(this,(i,o)=>{i!=null&&i!==!1&&(n[o]=e&&q.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
229`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const i=new this(e);return n.forEach(o=>i.set(o)),i}static accessor(e){const i=(this[qg]=this[qg]={accessors:{}}).accessors,o=this.prototype;function c(u){const h=No(u);i[h]||(mE(o,u),i[h]=!0)}return q.isArray(e)?e.forEach(c):c(e),this}};$t.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);q.reduceDescriptors($t.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(i){this[n]=i}}});q.freezeMethods($t);function Bd(t,e){const n=this||ha,i=e||n,o=$t.from(i.headers);let c=i.data;return q.forEach(t,function(h){c=h.call(n,c,o.normalize(),e?e.status:void 0)}),o.normalize(),c}function ww(t){return!!(t&&t.__CANCEL__)}function Rs(t,e,n){Se.call(this,t??"canceled",Se.ERR_CANCELED,e,n),this.name="CanceledError"}q.inherits(Rs,Se,{__CANCEL__:!0});function bw(t,e,n){const i=n.config.validateStatus;!n.status||!i||i(n.status)?t(n):e(new Se("Request failed with status code "+n.status,[Se.ERR_BAD_REQUEST,Se.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function gE(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function yE(t,e){t=t||10;const n=new Array(t),i=new Array(t);let o=0,c=0,u;return e=e!==void 0?e:1e3,function(f){const m=Date.now(),y=i[c];u||(u=m),n[o]=f,i[o]=m;let x=c,v=0;for(;x!==o;)v+=n[x++],x=x%t;if(o=(o+1)%t,o===c&&(c=(c+1)%t),m-u<e)return;const j=y&&m-y;return j?Math.round(v*1e3/j):void 0}}function xE(t,e){let n=0,i=1e3/e,o,c;const u=(m,y=Date.now())=>{n=y,o=null,c&&(clearTimeout(c),c=null),t(...m)};return[(...m)=>{const y=Date.now(),x=y-n;x>=i?u(m,y):(o=m,c||(c=setTimeout(()=>{c=null,u(o)},i-x)))},()=>o&&u(o)]}const ac=(t,e,n=3)=>{let i=0;const o=yE(50,250);return xE(c=>{const u=c.loaded,h=c.lengthComputable?c.total:void 0,f=u-i,m=o(f),y=u<=h;i=u;const x={loaded:u,total:h,progress:h?u/h:void 0,bytes:f,rate:m||void 0,estimated:m&&h&&y?(h-u)/m:void 0,event:c,lengthComputable:h!=null,[e?"download":"upload"]:!0};t(x)},n)},Wg=(t,e)=>{const n=t!=null;return[i=>e[0]({lengthComputable:n,total:t,loaded:i}),e[1]]},Hg=t=>(...e)=>q.asap(()=>t(...e)),vE=St.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,St.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(St.origin),St.navigator&&/(msie|trident)/i.test(St.navigator.userAgent)):()=>!0,wE=St.hasStandardBrowserEnv?{write(t,e,n,i,o,c){const u=[t+"="+encodeURIComponent(e)];q.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),q.isString(i)&&u.push("path="+i),q.isString(o)&&u.push("domain="+o),c===!0&&u.push("secure"),document.cookie=u.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function bE(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function kE(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function kw(t,e,n){let i=!bE(e);return t&&(i||n==!1)?kE(t,e):e}const Gg=t=>t instanceof $t?{...t}:t;function ki(t,e){e=e||{};const n={};function i(m,y,x,v){return q.isPlainObject(m)&&q.isPlainObject(y)?q.merge.call({caseless:v},m,y):q.isPlainObject(y)?q.merge({},y):q.isArray(y)?y.slice():y}function o(m,y,x,v){if(q.isUndefined(y)){if(!q.isUndefined(m))return i(void 0,m,x,v)}else return i(m,y,x,v)}function c(m,y){if(!q.isUndefined(y))return i(void 0,y)}function u(m,y){if(q.isUndefined(y)){if(!q.isUndefined(m))return i(void 0,m)}else return i(void 0,y)}function h(m,y,x){if(x in e)return i(m,y);if(x in t)return i(void 0,m)}const f={url:c,method:c,data:c,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,withXSRFToken:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:h,headers:(m,y,x)=>o(Gg(m),Gg(y),x,!0)};return q.forEach(Object.keys({...t,...e}),function(y){const x=f[y]||o,v=x(t[y],e[y],y);q.isUndefined(v)&&x!==h||(n[y]=v)}),n}const jw=t=>{const e=ki({},t);let{data:n,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:c,headers:u,auth:h}=e;if(e.headers=u=$t.from(u),e.url=yw(kw(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),h&&u.set("Authorization","Basic "+btoa((h.username||"")+":"+(h.password?unescape(encodeURIComponent(h.password)):""))),q.isFormData(n)){if(St.hasStandardBrowserEnv||St.hasStandardBrowserWebWorkerEnv)u.setContentType(void 0);else if(q.isFunction(n.getHeaders)){const f=n.getHeaders(),m=["content-type","content-length"];Object.entries(f).forEach(([y,x])=>{m.includes(y.toLowerCase())&&u.set(y,x)})}}if(St.hasStandardBrowserEnv&&(i&&q.isFunction(i)&&(i=i(e)),i||i!==!1&&vE(e.url))){const f=o&&c&&wE.read(c);f&&u.set(o,f)}return e},jE=typeof XMLHttpRequest<"u",NE=jE&&function(t){return new Promise(function(n,i){const o=jw(t);let c=o.data;const u=$t.from(o.headers).normalize();let{responseType:h,onUploadProgress:f,onDownloadProgress:m}=o,y,x,v,j,b;function N(){j&&j(),b&&b(),o.cancelToken&&o.cancelToken.unsubscribe(y),o.signal&&o.signal.removeEventListener("abort",y)}let k=new XMLHttpRequest;k.open(o.method.toUpperCase(),o.url,!0),k.timeout=o.timeout;function A(){if(!k)return;const E=$t.from("getAllResponseHeaders"in k&&k.getAllResponseHeaders()),F={data:!h||h==="text"||h==="json"?k.responseText:k.response,status:k.status,statusText:k.statusText,headers:E,config:t,request:k};bw(function(Z){n(Z),N()},function(Z){i(Z),N()},F),k=null}"onloadend"in k?k.onloadend=A:k.onreadystatechange=function(){!k||k.readyState!==4||k.status===0&&!(k.responseURL&&k.responseURL.indexOf("file:")===0)||setTimeout(A)},k.onabort=function(){k&&(i(new Se("Request aborted",Se.ECONNABORTED,t,k)),k=null)},k.onerror=function(_){const F=_&&_.message?_.message:"Network Error",W=new Se(F,Se.ERR_NETWORK,t,k);W.event=_||null,i(W),k=null},k.ontimeout=function(){let _=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const F=o.transitional||xw;o.timeoutErrorMessage&&(_=o.timeoutErrorMessage),i(new Se(_,F.clarifyTimeoutError?Se.ETIMEDOUT:Se.ECONNABORTED,t,k)),k=null},c===void 0&&u.setContentType(null),"setRequestHeader"in k&&q.forEach(u.toJSON(),function(_,F){k.setRequestHeader(F,_)}),q.isUndefined(o.withCredentials)||(k.withCredentials=!!o.withCredentials),h&&h!=="json"&&(k.responseType=o.responseType),m&&([v,b]=ac(m,!0),k.addEventListener("progress",v)),f&&k.upload&&([x,j]=ac(f),k.upload.addEventListener("progress",x),k.upload.addEventListener("loadend",j)),(o.cancelToken||o.signal)&&(y=E=>{k&&(i(!E||E.type?new Rs(null,t,k):E),k.abort(),k=null)},o.cancelToken&&o.cancelToken.subscribe(y),o.signal&&(o.signal.aborted?y():o.signal.addEventListener("abort",y)));const I=gE(o.url);if(I&&St.protocols.indexOf(I)===-1){i(new Se("Unsupported protocol "+I+":",Se.ERR_BAD_REQUEST,t));return}k.send(c||null)})},SE=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let i=new AbortController,o;const c=function(m){if(!o){o=!0,h();const y=m instanceof Error?m:this.reason;i.abort(y instanceof Se?y:new Rs(y instanceof Error?y.message:y))}};let u=e&&setTimeout(()=>{u=null,c(new Se(`timeout ${e} of ms exceeded`,Se.ETIMEDOUT))},e);const h=()=>{t&&(u&&clearTimeout(u),u=null,t.forEach(m=>{m.unsubscribe?m.unsubscribe(c):m.removeEventListener("abort",c)}),t=null)};t.forEach(m=>m.addEventListener("abort",c));const{signal:f}=i;return f.unsubscribe=()=>q.asap(h),f}},CE=function*(t,e){let n=t.byteLength;if(n<e){yield t;return}let i=0,o;for(;i<n;)o=i+e,yield t.slice(i,o),i=o},EE=async function*(t,e){for await(const n of PE(t))yield*CE(n,e)},PE=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:n,value:i}=await e.read();if(n)break;yield i}}finally{await e.cancel()}},Kg=(t,e,n,i)=>{const o=EE(t,e);let c=0,u,h=f=>{u||(u=!0,i&&i(f))};return new ReadableStream({async pull(f){try{const{done:m,value:y}=await o.next();if(m){h(),f.close();return}let x=y.byteLength;if(n){let v=c+=x;n(v)}f.enqueue(new Uint8Array(y))}catch(m){throw h(m),m}},cancel(f){return h(f),o.return()}},{highWaterMark:2})},Qg=64*1024,{isFunction:Il}=q,TE=(({Request:t,Response:e})=>({Request:t,Response:e}))(q.global),{ReadableStream:Yg,TextEncoder:Xg}=q.global,Jg=(t,...e)=>{try{return!!t(...e)}catch{return!1}},_E=t=>{t=q.merge.call({skipUndefined:!0},TE,t);const{fetch:e,Request:n,Response:i}=t,o=e?Il(e):typeof fetch=="function",c=Il(n),u=Il(i);if(!o)return!1;const h=o&&Il(Yg),f=o&&(typeof Xg=="function"?(b=>N=>b.encode(N))(new Xg):async b=>new Uint8Array(await new n(b).arrayBuffer())),m=c&&h&&Jg(()=>{let b=!1;const N=new n(St.origin,{body:new Yg,method:"POST",get duplex(){return b=!0,"half"}}).headers.has("Content-Type");return b&&!N}),y=u&&h&&Jg(()=>q.isReadableStream(new i("").body)),x={stream:y&&(b=>b.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!x[b]&&(x[b]=(N,k)=>{let A=N&&N[b];if(A)return A.call(N);throw new Se(`Response type '${b}' is not supported`,Se.ERR_NOT_SUPPORT,k)})});const v=async b=>{if(b==null)return 0;if(q.isBlob(b))return b.size;if(q.isSpecCompliantForm(b))return(await new n(St.origin,{method:"POST",body:b}).arrayBuffer()).byteLength;if(q.isArrayBufferView(b)||q.isArrayBuffer(b))return b.byteLength;if(q.isURLSearchParams(b)&&(b=b+""),q.isString(b))return(await f(b)).byteLength},j=async(b,N)=>{const k=q.toFiniteNumber(b.getContentLength());return k??v(N)};return async b=>{let{url:N,method:k,data:A,signal:I,cancelToken:E,timeout:_,onDownloadProgress:F,onUploadProgress:W,responseType:Z,headers:T,withCredentials:H="same-origin",fetchOptions:Y}=jw(b),te=e||fetch;Z=Z?(Z+"").toLowerCase():"text";let O=SE([I,E&&E.toAbortSignal()],_),B=null;const K=O&&O.unsubscribe&&(()=>{O.unsubscribe()});let ne;try{if(W&&m&&k!=="get"&&k!=="head"&&(ne=await j(T,A))!==0){let D=new n(N,{method:"POST",body:A,duplex:"half"}),G;if(q.isFormData(A)&&(G=D.headers.get("content-type"))&&T.setContentType(G),D.body){const[de,xe]=Wg(ne,ac(Hg(W)));A=Kg(D.body,Qg,de,xe)}}q.isString(H)||(H=H?"include":"omit");const Q=c&&"credentials"in n.prototype,se={...Y,signal:O,method:k.toUpperCase(),headers:T.normalize().toJSON(),body:A,duplex:"half",credentials:Q?H:void 0};B=c&&new n(N,se);let z=await(c?te(B,Y):te(N,se));const oe=y&&(Z==="stream"||Z==="response");if(y&&(F||oe&&K)){const D={};["status","statusText","headers"].forEach(Ce=>{D[Ce]=z[Ce]});const G=q.toFiniteNumber(z.headers.get("content-length")),[de,xe]=F&&Wg(G,ac(Hg(F),!0))||[];z=new i(Kg(z.body,Qg,de,()=>{xe&&xe(),K&&K()}),D)}Z=Z||"text";let ie=await x[q.findKey(x,Z)||"text"](z,b);return!oe&&K&&K(),await new Promise((D,G)=>{bw(D,G,{data:ie,headers:$t.from(z.headers),status:z.status,statusText:z.statusText,config:b,request:B})})}catch(Q){throw K&&K(),Q&&Q.name==="TypeError"&&/Load failed|fetch/i.test(Q.message)?Object.assign(new Se("Network Error",Se.ERR_NETWORK,b,B),{cause:Q.cause||Q}):Se.from(Q,Q&&Q.code,b,B)}}},AE=new Map,Nw=t=>{let e=t?t.env:{};const{fetch:n,Request:i,Response:o}=e,c=[i,o,n];let u=c.length,h=u,f,m,y=AE;for(;h--;)f=c[h],m=y.get(f),m===void 0&&y.set(f,m=h?new Map:_E(e)),y=m;return m};Nw();const Oh={http:KC,xhr:NE,fetch:{get:Nw}};q.forEach(Oh,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Zg=t=>`- ${t}`,RE=t=>
vendor: 5,341 bytes, lines 229-232
229q.isFunction(t)||t===null||t===!1,Sw={getAdapter:(t,e)=>{t=q.isArray(t)?t:[t];const{length:n}=t;let i,o;const c={};for(let u=0;u<n;u++){i=t[u];let h;if(o=i,!RE(i)&&(o=Oh[(h=String(i)).toLowerCase()],o===void 0))throw new Se(`Unknown adapter '${h}'`);if(o&&(q.isFunction(o)||(o=o.get(e))))break;c[h||"#"+u]=o}if(!o){const u=Object.entries(c).map(([f,m])=>`adapter ${f} `+(m===!1?"is not supported by the environment":"is not available in the build"));let h=n?u.length>1?`since :
230`+u.map(Zg).join(`
231`):" "+Zg(u[0]):"as no adapter specified";throw new Se("There is no suitable adapter to dispatch the request "+h,"ERR_NOT_SUPPORT")}return o},adapters:Oh};function Ud(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Rs(null,t)}function ey(t){return Ud(t),t.headers=$t.from(t.headers),t.data=Bd.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Sw.getAdapter(t.adapter||ha.adapter,t)(t).then(function(i){return Ud(t),i.data=Bd.call(t,t.transformResponse,i),i.headers=$t.from(i.headers),i},function(i){return ww(i)||(Ud(t),i&&i.response&&(i.response.data=Bd.call(t,t.transformResponse,i.response),i.response.headers=$t.from(i.response.headers))),Promise.reject(i)})}const Cw="1.12.2",Nc={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Nc[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t}});const ty={};Nc.transitional=function(e,n,i){function o(c,u){return"[Axios v"+Cw+"] Transitional option '"+c+"'"+u+(i?". "+i:"")}return(c,u,h)=>{if(e===!1)throw new Se(o(u," has been removed"+(n?" in "+n:"")),Se.ERR_DEPRECATED);return n&&!ty[u]&&(ty[u]=!0,console.warn(o(u," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(c,u,h):!0}};Nc.spelling=function(e){return(n,i)=>(console.warn(`${i} is likely a misspelling of ${e}`),!0)};function IE(t,e,n){if(typeof t!="object")throw new Se("options must be an object",Se.ERR_BAD_OPTION_VALUE);const i=Object.keys(t);let o=i.length;for(;o-- >0;){const c=i[o],u=e[c];if(u){const h=t[c],f=h===void 0||u(h,c,t);if(f!==!0)throw new Se("option "+c+" must be "+f,Se.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Se("Unknown option "+c,Se.ERR_BAD_OPTION)}}const Hl={assertOptions:IE,validators:Nc},Cn=Hl.validators;let xi=class{constructor(e){this.defaults=e||{},this.interceptors={request:new $g,response:new $g}}async request(e,n){try{return await this._request(e,n)}catch(i){if(i instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const c=o.stack?o.stack.replace(/^.+\n/,""):"";try{i.stack?c&&!String(i.stack).endsWith(c.replace(/^.+\n.+\n/,""))&&(i.stack+=`
232`+c):i.stack=c}catch{}}throw i}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=ki(this.defaults,n);const{transitional:i,paramsSerializer:o,headers:c}=n;i!==void 0&&Hl.assertOptions(i,{silentJSONParsing:Cn.transitional(Cn.boolean),forcedJSONParsing:Cn.transitional(Cn.boolean),clarifyTimeoutError:Cn.transitional(Cn.boolean)},!1),o!=null&&(q.isFunction(o)?n.paramsSerializer={serialize:o}:Hl.assertOptions(o,{encode:Cn.function,serialize:Cn.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Hl.assertOptions(n,{baseUrl:Cn.spelling("baseURL"),withXsrfToken:Cn.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let u=c&&q.merge(c.common,c[n.method]);c&&q.forEach(["delete","get","head","post","put","patch","common"],b=>{delete c[b]}),n.headers=$t.concat(u,c);const h=[];let f=!0;this.interceptors.request.forEach(function(N){typeof N.runWhen=="function"&&N.runWhen(n)===!1||(f=f&&N.synchronous,h.unshift(N.fulfilled,N.rejected))});const m=[];this.interceptors.response.forEach(function(N){m.push(N.fulfilled,N.rejected)});let y,x=0,v;if(!f){const b=[ey.bind(this),void 0];for(b.unshift(...h),b.push(...m),v=b.length,y=Promise.resolve(n);x<v;)y=y.then(b[x++],b[x++]);return y}v=h.length;let j=n;for(;x<v;){const b=h[x++],N=h[x++];try{j=b(j)}catch(k){N.call(this,k);break}}try{y=ey.call(this,j)}catch(b){return Promise.reject(b)}for(x=0,v=m.length;x<v;)y=y.then(m[x++],m[x++]);return y}getUri(e){e=ki(this.defaults,e);const n=kw(e.baseURL,e.url,e.allowAbsoluteUrls);return yw(n,e.params,e.paramsSerializer)}};q.forEach(["delete","get","head","options"],function(e){xi.prototype[e]=function(n,i){return this.request(ki(i||{},{method:e,url:n,data:(i||{}).data}))}});q.forEach(["post","put","patch"],function(e){function n(i){return function(c,u,h){return this.request(ki(h||{},{method:e,headers:i?{"Content-Type":"multipart/form-data"}:{},url:c,data:u}))}}xi.prototype[e]=n(),xi.prototype[e+"Form"]=n(!0)});let OE=class Ew{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(c){n=c});const i=this;this.promise.then(o=>{if(!i._listeners)return;let c=i._listeners.length;for(;c-- >0;)i._listeners[c](o);i._listeners=null}),this.promise.then=o=>{let c;const u=new Promise(h=>{i.subscribe(h),c=h}).then(o);return u.cancel=function(){i.unsubscribe(c)},u},e(function(c,u,h){i.reason||(i.reason=new Rs(c,u,h),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
232subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=i=>{e.abort(i)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new Ew(function(o){e=o}),cancel:e}}};function ME(t){return function(n){return t.apply(null,n)}}function LE(t){return q.isObject(t)&&t.isAxiosError===!0}const Mh={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Mh).forEach(([t,e])=>{Mh[e]=t});function Pw(t){const e=new xi(t),n=sw(xi.prototype.request,e);return q.extend(n,xi.prototype,e,{allOwnKeys:!0}),q.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return Pw(ki(t,o))},n}const rt=Pw(ha);rt.Axios=xi;rt.CanceledError=Rs;rt.CancelToken=OE;rt.isCancel=ww;rt.VERSION=Cw;rt.toFormData=jc;rt.AxiosError=Se;rt.Cancel=rt.CanceledError;rt.all=function(e){return Promise.all(e)};rt.spread=ME;rt.isAxiosError=LE;rt.mergeConfig=ki;rt.AxiosHeaders=$t;rt.formToJSON=t=>vw(q.isHTMLForm(t)?new FormData(t):t);rt.getAdapter=Sw.getAdapter;rt.HttpStatusCode=Mh;rt.default=rt;const{Axios:eR,AxiosError:tR,CanceledError:nR,isCancel:rR,CancelToken:iR,VERSION:sR,all:oR,Cancel:aR,isAxiosError:lR,spread:cR,toFormData:uR,AxiosHeaders:dR,HttpStatusCode:hR,formToJSON:fR,getAdapter:pR,mergeConfig:mR}=rt,DE=typeof window>"u",ny=!DE&&window.self!==window.top,$d=()=>Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),xt=[];for(let t=0;t<256;++t)xt.push((t+256).toString(16).slice(1));function FE(t,e=0){return(xt[t[e+0]]+xt[t[e+1]]+xt[t[e+2]]+xt[t[e+3]]+"-"+xt[t[e+4]]+xt[t[e+5]]+"-"+xt[t[e+6]]+xt[t[e+7]]+"-"+xt[t[e+8]]+xt[t[e+9]]+"-"+xt[t[e+10]]+xt[t[e+11]]+xt[t[e+12]]+xt[t[e+13]]+xt[t[e+14]]+xt[t[e+15]]).toLowerCase()}let qd;const VE=new Uint8Array(16);function zE(){if(!qd){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");qd=crypto.getRandomValues.bind(crypto)}return qd(VE)}const BE=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),ry={randomUUID:BE};function UE(t,e,n){var o;t=t||{};const i=t.random??((o=t.rng)==null?void 0:o.call(t))??zE();if(i.length<16)throw new Error("Random bytes length must be >= 16");return i[6]=i[6]&15|64,i[8]=i[8]&63|128,FE(i)}function $E(t,e,n){return ry.randomUUID&&!t?ry.randomUUID():UE(t)}class qE extends Error{constructor(e,n,i,o,c){super(e),this.name="Base44Error",this.status=n,this.code=i,this.data=o,this.originalError=c}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code,data:this.data}}}function Ro({baseURL:t,headers:e={},token:n,interceptResponses:i=!0,onError:o}){const c=rt.create({baseURL:t,headers:{"Content-Type":"application/json",Accept:"application/json",...e}});return n&&(c.defaults.headers.common.Authorization=`Bearer ${n}`),c.interceptors.request.use(u=>{typeof window<"u"&&u.headers.set("X-Origin-URL",window.location.href);const h=$E();if(u.requestId=h,ny)try{window.parent.postMessage({type:"api-request-start",requestId:h,data:{url:t+u.url,method:u.method,body:u.data instanceof FormData?"[FormData object]":u.data}},"*")}catch{}return u}),i&&c.interceptors.response.use(u=>{var h;const f=(h=u.config)===null||h===void 0?void 0:h.requestId;try{ny&&f&&window.parent.postMessage({type:"api-request-end",requestId:f,data:{statusCode:u.status,response:u.data}},"*")}catch{}return u.data},u=>{var h,f,m,y,x,v,j,b;const N=((f=(h=u.response)===null||h===void 0?void 0:h.data)===null||f===void 0?void 0:f.message)||((y=(m=u.response)===null||m===void 0?void 0:m.data)===null||y===void 0?void 0:y.detail)||u.message,k=new qE(N,(x=u.response)===null||x===void 0?void 0:x.status,(j=(v=u.response)===null||v===void 0?void 0:v.data)===null||j===void 0?void 0:j.code,(b=u.response)===null||b===void 0?void 0:b.data,u);return o==null||o(k),Promise.reject(k)}),c}function iy(t){const{axios:e,appId:n,getSocket:i}=t;return new Proxy({},{get(o,c){if(!(typeof c!="string"||c==="then"||c.startsWith("_")))return HE(e,n,c,i)}})}function WE(t){var e;try{const n=JSON.parse(t);
232return{type:n.type,data:n.data,id:n.id||((e=n.data)===null||e===void 0?void 0:e.id),timestamp:n.timestamp||new Date().toISOString()}}catch(n){return console.warn("[Base44 SDK] Failed to parse realtime message:",n),null}}function HE(t,e,n,i){const o=`/apps/${e}/entities/${n}`;return{async list(c,u,h,f){const m={};return c&&(m.sort=c),u&&(m.limit=u),h&&(m.skip=h),f&&(m.fields=Array.isArray(f)?f.join(","):f),t.get(o,{params:m})},async filter(c,u,h,f,m){const y={q:JSON.stringify(c)};return u&&(y.sort=u),h&&(y.limit=h),f&&(y.skip=f),m&&(y.fields=Array.isArray(m)?m.join(","):m),t.get(o,{params:y})},async get(c){return t.get(`${o}/${c}`)},async create(c){return t.post(o,c)},async update(c,u){return t.put(`${o}/${c}`,u)},async delete(c){return t.delete(`${o}/${c}`)},async deleteMany(c){return t.delete(o,{data:c})},async bulkCreate(c){return t.post(`${o}/bulk`,c)},async updateMany(c,u){return t.patch(`${o}/update-many`,{query:c,data:u})},async bulkUpdate(c){return t.put(`${o}/bulk`,c)},async importEntities(c){const u=new FormData;return u.append("file",c,c.name),t.post(`${o}/import`,u,{headers:{"Content-Type":"multipart/form-data"}})},subscribe(c){const u=`entities:${e}:${n}`;return i().subscribeToRoom(u,{update_model:m=>{const y=WE(m.data);if(y)try{c(y)}catch(x){console.error("[Base44 SDK] Subscription callback error:",x)}}})}}}function GE(t,e){return{async call(n,i,o){if(!(n!=null&&n.trim()))throw new Error("Integration slug is required and cannot be empty");if(!(i!=null&&i.trim()))throw new Error("Operation ID is required and cannot be empty");const{pathParams:c,queryParams:u,...h}=o??{},f={...h,...c&&{path_params:c},...u&&{query_params:u}};return await t.post(`/apps/${e}/integrations/custom/${n}/${i}`,f)}}}function sy(t,e){const n=GE(t,e);return new Proxy({},{get(i,o){if(!(typeof o!="string"||o==="then"||o.startsWith("_")))return o==="custom"?n:new Proxy({},{get(c,u){if(!(typeof u!="string"||u==="then"||u.startsWith("_")))return async h=>{if(typeof h=="string")throw new Error(`Integration ${u} must receive an object with named parameters, received: ${h}`);let f,m;return h instanceof FormData||h&&Object.values(h).some(y=>y instanceof File)?(f=new FormData,Object.keys(h).forEach(y=>{h[y]instanceof File?f.append(y,h[y],h[y].name):typeof h[y]=="object"&&h[y]!==null?f.append(y,JSON.stringify(h[y])):f.append(y,h[y])}),m="multipart/form-data"):(f=h,m="application/json"),o==="Core"?t.post(`/apps/${e}/integration-endpoints/Core/${u}`,f||h,{headers:{"Content-Type":m}}):t.post(`/apps/${e}/integration-endpoints/installable/${o}/integration-endpoints/${u}`,f||h,{headers:{"Content-Type":m}})}}})}})}function KE(){return typeof window>"u"?!1:window!==window.parent}function QE(t,e,n){const c=Math.round(window.screenX+(window.outerWidth-500)/2),u=Math.round(window.screenY+(window.outerHeight-600)/2),h=window.open(t,"base44_auth",`width=500,height=600,left=${c},top=${u},resizable=yes,scrollbars=yes`);if(!h)return;const f=()=>{window.removeEventListener("message",m),clearInterval(y),h.closed||h.close()},m=x=>{var v;if(x.origin!==n||x.source!==h||!(!((v=x.data)===null||v===void 0)&&v.access_token))return;f();const j=new URL(e),{access_token:b,is_new_user:N}=x.data;j.searchParams.set("access_token",b),N!=null&&j.searchParams.set("is_new_user",String(N)),window.location.href=j.toString()},y=setInterval(()=>{h.closed&&f()},500);window.addEventListener("message",m)}function YE(t,e,n,i){return{async me(){return t.get(`/apps/${n}/entities/User/me`)},async updateMe(o){return t.put(`/apps/${n}/entities/User/me`,o)},redirectToLogin(o){if(typeof window>"u")throw new Error("Login method can only be used in a browser environment");const c=o?new URL(o,window.location.origin).toString():window.location.href,u=`${i.appBaseUrl}/login?from_url=${encodeURIComponent(c)}`;window.location.href=u},loginWithProvider(o,c="/"){const u=new URL(c,window.location.origin).toString(),h=`app_id=${n}&from_url=${encodeURIComponent(u)}`;let f;o==="sso"?f=`/apps/${n}/auth/sso/login`:f=`/apps/auth${o==="google"?"":`/${o}`}/login`;const m=`${i.appBaseUrl}/api${f}?${h}`;if(KE()){const y=`${m}&popup_origin=${encodeURIComponent(window.location.origin)}`;return QE(y,u,window.location.origin)}window.location.href=m}
232,logout(o){if(delete t.defaults.headers.common.Authorization,typeof window<"u"){if(window.localStorage)try{window.localStorage.removeItem("base44_access_token"),window.localStorage.removeItem("token")}catch(h){console.error("Failed to remove token from localStorage:",h)}const c=o||window.location.href,u=`${i.appBaseUrl}/api/apps/auth/logout?from_url=${encodeURIComponent(c)}`;window.location.href=u}},setToken(o,c=!0){if(o&&(t.defaults.headers.common.Authorization=`Bearer ${o}`,e.defaults.headers.common.Authorization=`Bearer ${o}`,c&&typeof window<"u"&&window.localStorage))try{window.localStorage.setItem("base44_access_token",o),window.localStorage.setItem("token",o)}catch(u){console.error("Failed to save token to localStorage:",u)}},async loginViaEmailPassword(o,c,u){var h;try{const f=await t.post(`/apps/${n}/auth/login`,{email:o,password:c,...u&&{turnstile_token:u}}),{access_token:m,user:y}=f;return m&&this.setToken(m),{access_token:m,user:y}}catch(f){throw((h=f.response)===null||h===void 0?void 0:h.status)===401&&await this.logout(),f}},async isAuthenticated(){try{return await this.me(),!0}catch{return!1}},inviteUser(o,c){return t.post(`/apps/${n}/users/invite-user`,{user_email:o,role:c})},register(o){return t.post(`/apps/${n}/auth/register`,o)},verifyOtp({email:o,otpCode:c}){return t.post(`/apps/${n}/auth/verify-otp`,{email:o,otp_code:c})},resendOtp(o){return t.post(`/apps/${n}/auth/resend-otp`,{email:o})},resetPasswordRequest(o){return t.post(`/apps/${n}/auth/reset-password-request`,{email:o})},resetPassword({resetToken:o,newPassword:c}){return t.post(`/apps/${n}/auth/reset-password`,{reset_token:o,new_password:c})},changePassword({userId:o,currentPassword:c,newPassword:u}){return t.post(`/apps/${n}/auth/change-password`,{user_id:o,current_password:c,new_password:u})}}}function XE(t,e){return{async getAccessToken(n){const i=`/apps/${e}/auth/sso/accesstoken/${n}`;return t.get(i)}}}function JE(t,e){return{async getAccessToken(n){if(!n||typeof n!="string")throw new Error("Integration type is required and must be a string");return(await t.get(`/apps/${e}/external-auth/tokens/${n}`)).access_token},async getConnection(n){var i;if(!n||typeof n!="string")throw new Error("Integration type is required and must be a string");const c=await t.get(`/apps/${e}/external-auth/tokens/${n}`);return{accessToken:c.access_token,connectionConfig:(i=c.connection_config)!==null&&i!==void 0?i:null}},async getCurrentAppUserAccessToken(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");return(await t.get(`/apps/${e}/app-user-auth/connectors/${n}/token`)).access_token},async getCurrentAppUserConnection(n){var i;if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");const c=await t.get(`/apps/${e}/app-user-auth/connectors/${n}/token`);return{accessToken:c.access_token,connectionConfig:(i=c.connection_config)!==null&&i!==void 0?i:null}}}}function ZE(t,e){return{async connectAppUser(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");return(await t.post(`/apps/${e}/app-user-auth/connectors/${n}/initiate`)).redirect_url},async disconnectAppUser(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");await t.delete(`/apps/${e}/app-user-auth/connectors/${n}`)}}}function Qo(t={}){const{storageKey:e="base44_access_token",paramName:n="access_token",saveToStorage:i=!0,removeFromUrl:o=!0}=t;let c=null;if(typeof window<"u"&&window.location)try{const u=new URLSearchParams(window.location.search);if(c=u.get(n),c){if(i&&e3(c,{storageKey:e}),o){u.delete(n);const h=`${window.location.pathname}${u.toString()?`?${u.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,h)}return c}}catch(u){console.error("Error retrieving token from URL:",u)}if(typeof window<"u"&&window.localStorage)try{return c=window.localStorage.getItem(e),c}catch(u){console.error("Error retrieving token from local storage:",u)}return null}function e3(t,e){const{storageKey:n="base44_access_token"}=e;if(typeof window>"u"||!window.localStorage||!t)return!1;try{return window.localStorage.setItem(n,t),window.localStorage.setItem("token",t),!0}catch(i){return console.error("Error saving token to local storage:",i),!1}}function oy(t,e,n){const i=(c,u)=>c?`${String(c).replace(/\/$/,"")}${u}`:u,o=c=>{const u=new Headers;if(n!=null&&n.getAuthHeaders){const h=n.getAuthHeaders();
232Object.entries(h).forEach(([f,m])=>{m!=null&&u.set(f,String(m))})}return c&&new Headers(c).forEach((h,f)=>{u.set(f,h)}),u};return{async invoke(c,u){if(typeof u=="string")throw new Error(`Function ${c} must receive an object with named parameters, received: ${u}`);let h,f;return u instanceof FormData||u&&Object.values(u).some(m=>m instanceof File)?(h=new FormData,Object.keys(u).forEach(m=>{u[m]instanceof File?h.append(m,u[m],u[m].name):typeof u[m]=="object"&&u[m]!==null?h.append(m,JSON.stringify(u[m])):h.append(m,u[m])}),f="multipart/form-data"):(h=u,f="application/json"),t.post(`/apps/${e}/functions/${c}`,h||u,{headers:{"Content-Type":f}})},async fetch(c,u={}){const f=`/functions${c.startsWith("/")?c:`/${c}`}`,m=o(u.headers),y={...u,headers:m};return await fetch(i(n==null?void 0:n.baseURL,f),y)}}}function ay({axios:t,getSocket:e,appId:n,serverUrl:i,token:o}){const c=`/apps/${n}/agents`,u={},h=()=>t.get(`${c}/conversations`),f=N=>t.get(`${c}/conversations/${N}`);return{getConversations:h,getConversation:f,listConversations:N=>t.get(`${c}/conversations`,{params:N}),createConversation:N=>t.post(`${c}/conversations`,N),addMessage:async(N,k)=>t.post(`${c}/conversations/v2/${N.id}/messages`,k),subscribeToConversation:(N,k)=>{const A=`/agent-conversations/${N}`,I=e(),E=f(N).then(_=>(u[N]=_,_));return I.subscribeToRoom(A,{connect:()=>{},update_model:async({data:_})=>{const F=JSON.parse(_);if(F._message){await E;const W=F._message,Z=u[N];if(Z){const T=Z.messages||[],H=T.findIndex(te=>te.id===W.id),Y=H!==-1?T.map((te,O)=>O===H?W:te):[...T,W];u[N]={...Z,messages:Y},k==null||k(u[N])}}}})},getWhatsAppConnectURL:N=>{const k=`${i}/api/apps/${n}/agents/${encodeURIComponent(N)}/whatsapp`,A=o??Qo();return A?`${k}?token=${A}`:k},getTelegramConnectURL:N=>{const k=`${i}/api/apps/${n}/agents/${encodeURIComponent(N)}/telegram`,A=o??Qo();return A?`${k}?token=${A}`:k}}}function ly(t,e){const n=`/app-logs/${e}`;return{async logUserInApp(i){await t.post(`${n}/log-user-in-app/${i}`)},async fetchLogs(i={}){return await t.get(n,{params:i})},async getStats(i={}){return await t.get(`${n}/stats`,{params:i})}}}function t3(t,e){return{async inviteUser(n,i){if(i!=="user"&&i!=="admin")throw new Error(`Invalid role: "${i}". Role must be either "user" or "admin".`);return await t.post(`/apps/${e}/runtime/users/invite-user`,{user_email:n,role:i})}}}const Ln=Object.create(null);Ln.open="0";Ln.close="1";Ln.ping="2";Ln.pong="3";Ln.message="4";Ln.upgrade="5";Ln.noop="6";const Gl=Object.create(null);Object.keys(Ln).forEach(t=>{Gl[Ln[t]]=t});const Lh={type:"error",data:"parser error"},Tw=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",_w=typeof ArrayBuffer=="function",Aw=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,bf=({type:t,data:e},n,i)=>Tw&&e instanceof Blob?n?i(e):cy(e,i):_w&&(e instanceof ArrayBuffer||Aw(e))?n?i(e):cy(new Blob([e]),i):i(Ln[t]+(e||"")),cy=(t,e)=>{const n=new FileReader;return n.onload=function(){const i=n.result.split(",")[1];e("b"+(i||""))},n.readAsDataURL(t)};function uy(t){return t instanceof Uint8Array?t:t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}let Wd;function n3(t,e){if(Tw&&t.data instanceof Blob)return t.data.arrayBuffer().then(uy).then(e);if(_w&&(t.data instanceof ArrayBuffer||Aw(t.data)))return e(uy(t.data));bf(t,!1,n=>{Wd||(Wd=new TextEncoder),e(Wd.encode(n))})}const dy="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Io=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t<dy.length;t++)Io[dy.charCodeAt(t)]=t;const r3=t=>{let e=t.length*.75,n=t.length,i,o=0,c,u,h,f;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);const m=new ArrayBuffer(e),y=new Uint8Array(m);for(i=0;i<n;i+=4)c=Io[t.charCodeAt(i)],u=Io[t.charCodeAt(i+1)],h=Io[t.charCodeAt(i+2)],f=Io[t.charCodeAt(i+3)],y[o++]=c<<2|u>>4,y[o++]=(u&15)<<4|h>>2,y[o++]=(h&3)<<6|f&63;return m},i3=typeof ArrayBuffer=="function",kf=(t,e)=>{if(typeof t!="string")return{type:"message",data:Rw(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:s3(t.substring(1),e)}:Gl[n]?t.length>1?{type:Gl[n],data:t.substring(1)}:{type:Gl[n]}:Lh},s3=(t,e)=>{if(i3){const n=r3(t);return Rw(n,e)}else return{base64:!0,data:t}},Rw=(t,e)=>{switch(e){case"blob":return t instanceof Blob?t:new Blob([t]);case"arraybuffer":default:return t instanceof ArrayBuffer?t:t.buffer}},Iw="�",o3=(t,e)=>{const n=t.length,i=new Array(n);let o=0;t.forEach((c,u)=>{bf(c,!1,h=>{i[u]=h,++o===n&&e(i.join(Iw))})})},a3=(t,e)=>{const n=t.split(Iw),i=[];for(let o=0;o<n.length;o++){const c=kf(n[o],e);if(i.push(c),c.type==="error")break}return i};function l3(){return new TransformStream({transform(t,e){n3(t,n=>{const i=n.length;let o;if(i<126)o=new Uint8Array(1),new DataView(o.buffer).setUint8(0,i);else if(i<65536){o=new Uint8Array(3);const c=new DataView(o.buffer);c.setUint8(0,126),c.setUint16(1,i)}else{o=new Uint8Array(9);const c=new DataView(o.buffer);c.setUint8(0,127),c.setBigUint64(1,BigInt(i))}t.data&&typeof t.data!="string"&&(o[0]|=128),e.enqueue(o),e.enqueue(n)})}})}let Hd;function Ol(t){return t.reduce((e,n)=>e+n.length,0)}function Ml(t,e){if(t[0].length===e)return t.shift();const n=new Uint8Array(e);let i=0;for(let o=0;o<e;o++)n[o]=t[0][i++],i===t[0].length&&(t.shift(),i=0);return t.length&&i<t[0].length&&(t[0]=t[0].slice(i)),n}function c3(t,e){Hd||(Hd=new TextDecoder);const n=[];let i=0,o=-1,c=!1;return new TransformStream({transform(u,h){for(n.push(u);;){if(i===0){if(Ol(n)<1)break;const f=Ml(n,1);c=(f[0]&128)===128,o=f[0]&127,o<126?i=3:o===126?i=1:i=2}else if(i===1){if(Ol(n)<2)break;const f=Ml(n,2);o=new DataView(f.buffer,f.byteOffset,f.length).getUint16(0),i=3}else if(i===2){if(Ol(n)<8)break;const f=Ml(n,8),m=new DataView(f.buffer,f.byteOffset,f.length),y=m.getUint32(0);if(y>Math.pow(2,21)-1){h.enqueue(Lh);break}o=y*Math.pow(2,32)+m.getUint32(4),i=3}else{if(Ol(n)<o)break;const f=Ml(n,o);h.enqueue(kf(c?f:Hd.decode(f),e)),i=0}if(o===0||o>t){h.enqueue(Lh);break}}}})}const Ow=4;function st(t){if(t)return u3(t)}function u3(t){for(var e in st.prototype)t[e]=st.prototype[e];return t}st.prototype.on=st.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this};st.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this};st.prototype.off=st.prototype.removeListener=st.prototype.removeAllListeners=st.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+t];
vendor: 35,644 bytes, line 232
232if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+t],this;for(var i,o=0;o<n.length;o++)if(i=n[o],i===e||i.fn===e){n.splice(o,1);break}return n.length===0&&delete this._callbacks["$"+t],this};st.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),n=this._callbacks["$"+t],i=1;i<arguments.length;i++)e[i-1]=arguments[i];if(n){n=n.slice(0);for(var i=0,o=n.length;i<o;++i)n[i].apply(this,e)}return this};st.prototype.emitReserved=st.prototype.emit;st.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]};st.prototype.hasListeners=function(t){return!!this.listeners(t).length};const Sc=typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0),an=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),d3="arraybuffer";function Mw(t,...e){return e.reduce((n,i)=>(t.hasOwnProperty(i)&&(n[i]=t[i]),n),{})}const h3=an.setTimeout,f3=an.clearTimeout;function Cc(t,e){e.useNativeTimers?(t.setTimeoutFn=h3.bind(an),t.clearTimeoutFn=f3.bind(an)):(t.setTimeoutFn=an.setTimeout.bind(an),t.clearTimeoutFn=an.clearTimeout.bind(an))}const p3=1.33;function m3(t){return typeof t=="string"?g3(t):Math.ceil((t.byteLength||t.size)*p3)}function g3(t){let e=0,n=0;for(let i=0,o=t.length;i<o;i++)e=t.charCodeAt(i),e<128?n+=1:e<2048?n+=2:e<55296||e>=57344?n+=3:(i++,n+=4);return n}function Lw(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function y3(t){let e="";for(let n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e}function x3(t){let e={},n=t.split("&");for(let i=0,o=n.length;i<o;i++){let c=n[i].split("=");e[decodeURIComponent(c[0])]=decodeURIComponent(c[1])}return e}class v3 extends Error{constructor(e,n,i){super(e),this.description=n,this.context=i,this.type="TransportError"}}class jf extends st{constructor(e){super(),this.writable=!1,Cc(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,n,i){return super.emitReserved("error",new v3(e,n,i)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const n=kf(e,this.socket.binaryType);this.onPacket(n)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,n={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const e=this.opts.hostname;return e.indexOf(":")===-1?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(e){const n=y3(e);return n.length?"?"+n:""}}class w3 extends jf{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(e){this.readyState="pausing";const n=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let i=0;this._polling&&(i++,this.once("pollComplete",function(){--i||n()})),this.writable||(i++,this.once("drain",function(){--i||n()}))}else n()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const n=i=>{if(this.readyState==="opening"&&i.type==="open"&&this.onOpen(),i.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(i)};a3(e,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,o3(e,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const e=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=Lw()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(e,n)}}let Dw=!1;try{Dw=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const b3=Dw;function k3(){}class j3 extends w3{constructor(e){if(super(e),typeof location<"u"){const n=location.protocol==="https:";let i=location.port;i||(i=n?"443":"80"),this.xd=typeof location<"u"&&e.hostname!==location.hostname||i!==e.port}}doWrite(e,n){const i=this.request({method:"POST",data:e});i.on("success",n),i.on("error",(o,c)=>{this.onError("xhr post error",o,c)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(n,i)=>{this.onError("xhr poll error",n,i)}),this.pollXhr=e}}class In extends st{constructor(e,n,i){super(),this.createRequest=e,Cc(this,i),this._opts=i,this._method=i.method||"GET",this._uri=n,this._data=i.data!==void 0?i.data:null,this._create()}_create(){var e;const n=Mw(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;const i=this._xhr=this.createRequest(n);try{i.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){i.setDisableHeaderCheck&&i.setDisableHeaderCheck(!0);for(let o in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(o)&&i.setRequestHeader(o,this._opts.extraHeaders[o])}}catch{}if(this._method==="POST")try{i.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{i.setRequestHeader("Accept","*/*")}catch{}(e=this._opts.cookieJar)===null||e===void 0||e.addCookies(i),"withCredentials"in i&&(i.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(i.timeout=this._opts.requestTimeout),i.onreadystatechange=()=>{var o;i.readyState===3&&((o=this._opts.cookieJar)===null||o===void 0||o.parseCookies(i.getResponseHeader("set-cookie"))),i.readyState===4&&(i.status===200||i.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof i.status=="number"?i.status:0)},0))},i.send(this._data)}catch(o){this.setTimeoutFn(()=>{this._onError(o)},0);return}typeof document<"u"&&(this._index=In.requestsCount++,In.requests[this._index]=this)}_onError(e){this.emitReserved("error",e,this._xhr),this._cleanup(!0)}_cleanup(e){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=k3,e)try{this._xhr.abort()}catch{}typeof document<"u"&&delete In.requests[this._index],this._xhr=null}}_onLoad(){const e=this._xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}In.requestsCount=0;In.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",hy);else if(typeof addEventListener=="function"){const t="onpagehide"in an?"pagehide":"unload";addEventListener(t,hy,!1)}}function hy(){for(let t in In.requests)In.requests.hasOwnProperty(t)&&In.requests[t].abort()}const N3=(function(){const t=Fw({xdomain:!1});return t&&t.responseType!==null})();class S3 extends j3{constructor(e){super(e);const n=e&&e.forceBase64;this.supportsBinary=N3&&!n}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new In(Fw,this.uri(),e)}}function Fw(t){const e=t.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||b3))return new XMLHttpRequest}catch{}if(!e)try{return new an[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const Vw=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class C3 extends jf{get name(){return"websocket"}doOpen(){const e=this.uri(),n=this.opts.protocols,i=Vw?{}:Mw(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(i.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,n,i)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let n=0;n<e.length;n++){const i=e[n],o=n===e.length-1;bf(i,this.supportsBinary,c=>{try{this.doWrite(i,c)}catch{}o&&Sc(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=Lw()),this.supportsBinary||(n.b64=1),this.createUri(e,n)}}const Gd=an.WebSocket||an.MozWebSocket;class E3 extends C3{createSocket(e,n,i){return Vw?new Gd(e,n,i):n?new Gd(e,n):new Gd(e)}doWrite(e,n){this.ws.send(n)}}class P3 extends jf{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved("error",e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{const n=c3(Number.MAX_SAFE_INTEGER,this.socket.binaryType),i=e.readable.pipeThrough(n).getReader(),o=l3();o.readable.pipeTo(e.writable),this._writer=o.writable.getWriter();const c=()=>{i.read().then(({done:h,value:f})=>{h||(this.onPacket(f),c())}).catch(h=>{})};c();const u={type:"open"};this.query.sid&&(u.data=`{"sid":"${this.query.sid}"}`),this._writer.write(u).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let n=0;n<e.length;n++){const i=e[n],o=n===e.length-1;this._writer.write(i).then(()=>{o&&Sc(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this._transport)===null||e===void 0||e.close()}}const T3={websocket:E3,webtransport:P3,polling:S3},_3=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,A3=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Dh(t){if(t.length>8e3)throw"URI too long";const e=t,n=t.indexOf("["),i=t.indexOf("]");n!=-1&&i!=-1&&(t=t.substring(0,n)+t.substring(n,i).replace(/:/g,";")+t.substring(i,t.length));let o=_3.exec(t||""),c={},u=14;for(;u--;)c[A3[u]]=o[u]||"";return n!=-1&&i!=-1&&(c.source=e,c.host=c.host.substring(1,c.host.length-1).replace(/;/g,":"),c.authority=c.authority.replace("[","").replace("]","").replace(/;/g,":"),c.ipv6uri=!0),c.pathNames=R3(c,c.path),c.queryKey=I3(c,c.query),c}function R3(t,e){const n=/\/{2,9}/g,i=e.replace(n,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&i.splice(0,1),e.slice(-1)=="/"&&i.splice(i.length-1,1),i}function I3(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(i,o,c){o&&(n[o]=c)}),n}const Fh=typeof addEventListener=="function"&&typeof removeEventListener=="function",Kl=[];Fh&&addEventListener("offline",()=>{Kl.forEach(t=>t())},!1);class Lr extends st{constructor(e,n){if(super(),this.binaryType=d3,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,e&&typeof e=="object"&&(n=e,e=null),e){const i=Dh(e);n.hostname=i.host,n.secure=i.protocol==="https"||i.protocol==="wss",n.port=i.port,i.query&&(n.query=i.query)}else n.host&&(n.hostname=Dh(n.host).host);Cc(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},n.transports.forEach(i=>{const o=i.prototype.name;this.transports.push(o),this._transportsByName[o]=i}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=x3(this.opts.query)),Fh&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Kl.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){const n=Object.assign({},this.opts.query);n.EIO=Ow,n.transport=e,this.id&&(n.sid=this.id);const i=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new this._transportsByName[e](i)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const e=this.opts.rememberUpgrade&&Lr.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const n=this.createTransport(e);n.open(),this.setTransport(n)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",n=>this._onClose("transport close",n))}onOpen(){this.readyState="open",Lr.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(e){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const n=new Error("server error");n.code=e.data,this._onError(n);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data);break}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this._pingInterval=e.pingInterval,this._pingTimeout=e.pingTimeout,this._maxPayload=e.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},e),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this._getWritablePackets();this.transport.send(e),this._prevBufferLen=e.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let i=0;i<this.writeBuffer.length;i++){const o=this.writeBuffer[i].data;if(o&&(n+=m3(o)),i>0&&n>this._maxPayload)return this.writeBuffer.slice(0,i);n+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const e=Date.now()>this._pingTimeoutTime;return e&&(this._pingTimeoutTime=0,Sc(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),e}write(e,n,i){return this._sendPacket("message",e,n,i),this}send(e,n,i){return this._sendPacket("message",e,n,i),this}_sendPacket(e,n,i,o){if(typeof n=="function"&&(o=n,n=void 0),typeof i=="function"&&(o=i,i=null),this.readyState==="closing"||this.readyState==="closed")return;i=i||{},i.compress=i.compress!==!1;const c={type:e,data:n,options:i};this.emitReserved("packetCreate",c),this.writeBuffer.push(c),o&&this.once("flush",o),this.flush()}close(){const e=()=>{this._onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),e()},i=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?i():e()}):this.upgrading?i():e()),this}_onError(e){if(Lr.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",e),this._onClose("transport error",e)}_onClose(e,n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Fh&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const i=Kl.indexOf(this._offlineEventListener);i!==-1&&Kl.splice(i,1)}this.readyState="closed",this.id=null,this.emitReserved("close",e,n),this.writeBuffer=[],this._prevBufferLen=0}}}Lr.protocol=Ow;class O3 extends Lr{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let n=this.createTransport(e),i=!1;Lr.priorWebsocketSuccess=!1;const o=()=>{i||(n.send([{type:"ping",data:"probe"}]),n.once("packet",x=>{if(!i)if(x.type==="pong"&&x.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;Lr.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{i||this.readyState!=="closed"&&(y(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const v=new Error("probe error");v.transport=n.name,this.emitReserved("upgradeError",v)}}))};function c(){i||(i=!0,y(),n.close(),n=null)}const u=x=>{const v=new Error("probe error: "+x);v.transport=n.name,c(),this.emitReserved("upgradeError",v)};function h(){u("transport closed")}function f(){u("socket closed")}function m(x){n&&x.name!==n.name&&c()}const y=()=>{n.removeListener("open",o),n.removeListener("error",u),n.removeListener("close",h),this.off("close",f),this.off("upgrading",m)};n.once("open",o),n.once("error",u),n.once("close",h),this.once("close",f),this.once("upgrading",m),this._upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{i||n.open()},200):n.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){const n=[];for(let i=0;i<e.length;i++)~this.transports.indexOf(e[i])&&n.push(e[i]);return n}}let M3=class extends O3{constructor(e,n={}){const i=typeof e=="object"?e:n;(!i.transports||i.transports&&typeof i.transports[0]=="string")&&(i.transports=(i.transports||["polling","websocket","webtransport"]).map(o=>T3[o]).filter(o=>!!o)),super(e,i)}};function L3(t,e="",n){let i=t;n=n||typeof location<"u"&&location,t==null&&(t=n.protocol+"//"+n.host),typeof t=="string"&&(t.charAt(0)==="/"&&(t.charAt(1)==="/"?t=n.protocol+t:t=n.host+t),/^(https?|wss?):\/\//.test(t)||(typeof n<"u"?t=n.protocol+"//"+t:t="https://"+t),i=Dh(t)),i.port||(/^(http|ws)$/.test(i.protocol)?i.port="80":/^(http|ws)s$/.test(i.protocol)&&(i.port="443")),i.path=i.path||"/";const c=i.host.indexOf(":")!==-1?"["+i.host+"]":i.host;return i.id=i.protocol+"://"+c+":"+i.port+e,i.href=i.protocol+"://"+c+(n&&n.port===i.port?"":":"+i.port),i}const D3=typeof ArrayBuffer=="function",F3=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,zw=Object.prototype.toString,V3=typeof Blob=="function"||typeof Blob<"u"&&zw.call(Blob)==="[object BlobConstructor]",z3=typeof File=="function"||typeof File<"u"&&zw.call(File)==="[object FileConstructor]";function Nf(t){return D3&&(t instanceof ArrayBuffer||F3(t))||V3&&t instanceof Blob||z3&&t instanceof File}function Ql(t,e){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let n=0,i=t.length;n<i;n++)if(Ql(t[n]))return!0;return!1}if(Nf(t))return!0;if(t.toJSON&&typeof t.toJSON=="function"&&arguments.length===1)return Ql(t.toJSON(),!0);for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&Ql(t[n]))return!0;return!1}function B3(t){const e=[],n=t.data,i=t;return i.data=Vh(n,e),i.attachments=e.length,{packet:i,buffers:e}}function Vh(t,e){if(!t)return t;if(Nf(t)){const n={_placeholder:!0,num:e.length};return e.push(t),n}else if(Array.isArray(t)){const n=new Array(t.length);for(let i=0;i<t.length;i++)n[i]=Vh(t[i],e);return n}else if(typeof t=="object"&&!(t instanceof Date)){const n={};for(const i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=Vh(t[i],e));return n}return t}function U3(t,e){return t.data=zh(t.data,e),delete t.attachments,t}function zh(t,e){if(!t)return t;if(t&&t._placeholder===!0){if(typeof t.num=="number"&&t.num>=0&&t.num<e.length)return e[t.num];throw new Error("illegal attachments")}else if(Array.isArray(t))for(let n=0;n<t.length;n++)t[n]=zh(t[n],e);else if(typeof t=="object")for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(t[n]=zh(t[n],e));return t}const $3=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],q3=5;var Re;(function(t){t[t.CONNECT=0]="CONNECT",t[t.DISCONNECT=1]="DISCONNECT",t[t.EVENT=2]="EVENT",t[t.ACK=3]="ACK",t[t.CONNECT_ERROR=4]="CONNECT_ERROR",t[t.BINARY_EVENT=5]="BINARY_EVENT",t[t.BINARY_ACK=6]="BINARY_ACK"})(Re||(Re={}));class W3{constructor(e){this.replacer=e}encode(e){return(e.type===Re.EVENT||e.type===Re.ACK)&&Ql(e)?this.encodeAsBinary({type:e.type===Re.EVENT?Re.BINARY_EVENT:Re.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let n=""+e.type;return(e.type===Re.BINARY_EVENT||e.type===Re.BINARY_ACK)&&(n+=e.attachments+"-"),e.nsp&&e.nsp!=="/"&&(n+=e.nsp+","),e.id!=null&&(n+=e.id),e.data!=null&&(n+=JSON.stringify(e.data,this.replacer)),n}encodeAsBinary(e){const n=B3(e),i=this.encodeAsString(n.packet),o=n.buffers;return o.unshift(i),o}}function fy(t){return Object.prototype.toString.call(t)==="[object Object]"}class Sf extends st{constructor(e){super(),this.reviver=e}add(e){let n;if(typeof e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(e);const i=n.type===Re.BINARY_EVENT;i||n.type===Re.BINARY_ACK?(n.type=i?Re.EVENT:Re.ACK,this.reconstructor=new H3(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(Nf(e)||e.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(e),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+e)}decodeString(e){let n=0;const i={type:Number(e.charAt(0))};if(Re[i.type]===void 0)throw new Error("unknown packet type "+i.type);if(i.type===Re.BINARY_EVENT||i.type===Re.BINARY_ACK){const c=n+1;for(;e.charAt(++n)!=="-"&&n!=e.length;);const u=e.substring(c,n);if(u!=Number(u)||e.charAt(n)!=="-")throw new Error("Illegal attachments");i.attachments=Number(u)}if(e.charAt(n+1)==="/"){const c=n+1;for(;++n&&!(e.charAt(n)===","||n===e.length););i.nsp=e.substring(c,n)}else i.nsp="/";const o=e.charAt(n+1);if(o!==""&&Number(o)==o){const c=n+1;for(;++n;){const u=e.charAt(n);if(u==null||Number(u)!=u){--n;break}if(n===e.length)break}i.id=Number(e.substring(c,n+1))}if(e.charAt(++n)){const c=this.tryParse(e.substr(n));if(Sf.isPayloadValid(i.type,c))i.data=c;else throw new Error("invalid payload")}return i}tryParse(e){try{return JSON.parse(e,this.reviver)}catch{return!1}}static isPayloadValid(e,n){switch(e){case Re.CONNECT:return fy(n);case Re.DISCONNECT:return n===void 0;case Re.CONNECT_ERROR:return typeof n=="string"||fy(n);case Re.EVENT:case Re.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&$3.indexOf(n[0])===-1);case Re.ACK:case Re.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class H3{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const n=U3(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const G3=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Sf,Encoder:W3,get PacketType(){return Re},protocol:q3},Symbol.toStringTag,{value:"Module"}));function xn(t,e,n){return t.on(e,n),function(){t.off(e,n)}}const K3=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Bw extends st{constructor(e,n,i){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=n,i&&i.auth&&(this.auth=i.auth),this._opts=Object.assign({},i),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[xn(e,"open",this.onopen.bind(this)),xn(e,"packet",this.onpacket.bind(this)),xn(e,"error",this.onerror.bind(this)),xn(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...n){var i,o,c;if(K3.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(n.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const u={type:Re.EVENT,data:n};if(u.options={},u.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const y=this.ids++,x=n.pop();this._registerAckCallback(y,x),u.id=y}const h=(o=(i=this.io.engine)===null||i===void 0?void 0:i.transport)===null||o===void 0?void 0:o.writable,f=this.connected&&!(!((c=this.io.engine)===null||c===void 0)&&c._hasPingExpired());return this.flags.volatile&&!h||(f?(this.notifyOutgoingListeners(u),this.packet(u)):this.sendBuffer.push(u)),this.flags={},this}_registerAckCallback(e,n){var i;const o=(i=this.flags.timeout)!==null&&i!==void 0?i:this._opts.ackTimeout;if(o===void 0){this.acks[e]=n;return}const c=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let h=0;h<this.sendBuffer.length;h++)this.sendBuffer[h].id===e&&this.sendBuffer.splice(h,1);n.call(this,new Error("operation has timed out"))},o),u=(...h)=>{this.io.clearTimeoutFn(c),n.apply(this,h)};u.withError=!0,this.acks[e]=u}emitWithAck(e,...n){return new Promise((i,o)=>{const c=(u,h)=>u?o(u):i(h);c.withError=!0,n.push(c),this.emit(e,...n)})}_addToQueue(e){let n;typeof e[e.length-1]=="function"&&(n=e.pop());const i={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((o,...c)=>i!==this._queue[0]?void 0:(o!==null?i.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(o)):(this._queue.shift(),n&&n(null,...c)),i.pending=!1,this._drainQueue())),this._queue.push(i),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!e||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:Re.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,n),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(i=>String(i.id)===e)){const i=this.acks[e];delete this.acks[e],i.withError&&i.call(this,new Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case Re.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Re.EVENT:case Re.BINARY_EVENT:this.onevent(e);break;case Re.ACK:case Re.BINARY_ACK:this.onack(e);break;case Re.DISCONNECT:this.ondisconnect();break;case Re.CONNECT_ERROR:this.destroy();const i=new Error(e.data.message);i.data=e.data.data,this.emitReserved("connect_error",i);break}}onevent(e){const n=e.data||[];e.id!=null&&n.push(this.ack(e.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const i of n)i.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const n=this;let i=!1;return function(...o){i||(i=!0,n.packet({type:Re.ACK,id:e,data:o}))}}onack(e){const n=this.acks[e.id];typeof n=="function"&&(delete this.acks[e.id],n.withError&&e.data.unshift(null),n.apply(this,e.data))}onconnect(e,n){this.id=e,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Re.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const n=this._anyListeners;for(let i=0;i<n.length;i++)if(e===n[i])return n.splice(i,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const n=this._anyOutgoingListeners;for(let i=0;i<n.length;i++)if(e===n[i])return n.splice(i,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const i of n)i.apply(this,e.data)}}}function Is(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}Is.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=(Math.floor(e*10)&1)==0?t-n:t+n}return Math.min(t,this.max)|0};Is.prototype.reset=function(){this.attempts=0};Is.prototype.setMin=function(t){this.ms=t};Is.prototype.setMax=function(t){this.max=t};Is.prototype.setJitter=function(t){this.jitter=t};class Bh extends st{constructor(e,n){var i;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(n=e,e=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,Cc(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((i=n.randomizationFactor)!==null&&i!==void 0?i:.5),this.backoff=new Is({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=e;const o=n.parser||G3;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var n;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(n=this.backoff)===null||n===void 0||n.setMin(e),this)}randomizationFactor(e){var n;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(n=this.backoff)===null||n===void 0||n.setJitter(e),this)}reconnectionDelayMax(e){var n;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(n=this.backoff)===null||n===void 0||n.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new M3(this.uri,this.opts);const n=this.engine,i=this;this._readyState="opening",this.skipReconnect=!1;const o=xn(n,"open",function(){i.onopen(),e&&e()}),c=h=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",h),e?e(h):this.maybeReconnectOnOpen()},u=xn(n,"error",c);if(this._timeout!==!1){const h=this._timeout,f=this.setTimeoutFn(()=>{o(),c(new Error("timeout")),n.close()},h);this.opts.autoUnref&&f.unref(),this.subs.push(()=>{this.clearTimeoutFn(f)})}return this.subs.push(o),this.subs.push(u),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(xn(e,"ping",this.onping.bind(this)),xn(e,"data",this.ondata.bind(this)),xn(e,"error",this.onerror.bind(this)),xn(e,"close",this.onclose.bind(this)),xn(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(n){this.onclose("parse error",n)}}ondecoded(e){Sc(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,n){let i=this.nsps[e];return i?this._autoConnect&&!i.active&&i.connect():(i=new Bw(this,e,n),this.nsps[e]=i),i}_destroy(e){const n=Object.keys(this.nsps);for(const i of n)if(this.nsps[i].active)return;this._close()}_packet(e){const n=this.encoder.encode(e);for(let i=0;i<n.length;i++)this.engine.write(n[i],e.options)}
232cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,n){var i;this.cleanup(),(i=this.engine)===null||i===void 0||i.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const i=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(o=>{o?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",o)):e.onreconnect()}))},n);this.opts.autoUnref&&i.unref(),this.subs.push(()=>{this.clearTimeoutFn(i)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const So={};function Yl(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=L3(t,e.path||"/socket.io"),i=n.source,o=n.id,c=n.path,u=So[o]&&c in So[o].nsps,h=e.forceNew||e["force new connection"]||e.multiplex===!1||u;let f;return h?f=new Bh(i,e):(So[o]||(So[o]=new Bh(i,e)),f=So[o]),n.query&&!e.query&&(e.query=n.queryKey),f.socket(n.path,e)}Object.assign(Yl,{Manager:Bh,Socket:Bw,io:Yl,connect:Yl});function py(t,e){var n;const i=Yl(t.serverUrl,{path:t.mountPath,transports:t.transports,query:{app_id:t.appId,token:(n=t.token)!==null&&n!==void 0?n:Qo()}});return i.on("connect",async()=>{var o;return console.log("connect",i.id),(o=e.connect)===null||o===void 0?void 0:o.call(e)}),i.on("update_model",async o=>{var c;return(c=e.update_model)===null||c===void 0?void 0:c.call(e,o)}),i.on("error",async o=>{var c;return(c=e.error)===null||c===void 0?void 0:c.call(e,o)}),i.on("connect_error",async o=>{var c;return console.error("connect_error",o),(c=e.error)===null||c===void 0?void 0:c.call(e,o)}),i}function Q3({config:t}){let e={...t};const n={},i={connect:async()=>{const j=[];Object.keys(n).forEach(b=>{f(b);const N=x(b);N==null||N.forEach(({connect:k})=>{const A=async()=>k==null?void 0:k();j.push(A())})}),await Promise.all(j)},update_model:async j=>{const N=x(j.room).map(k=>{var A;return(A=k.update_model)===null||A===void 0?void 0:A.call(k,j)});await Promise.all(N)},error:async j=>{console.error("error",j);const b=Object.values(n).flat().map(N=>{var k;return(k=N.error)===null||k===void 0?void 0:k.call(N,j)});await Promise.all(b)}};let o=py(t,i);function c(){u()}function u(){o&&o.disconnect()}function h(j){c(),e={...e,...j},o=py(e,i)}function f(j){o.emit("join",j)}function m(j){o.emit("leave",j)}async function y(j,b){var N;const k=JSON.stringify(b);return(N=i.update_model)===null||N===void 0?void 0:N.call(i,{room:j,data:k})}function x(j){return n[j]}return{socket:o,subscribeToRoom:(j,b)=>(n[j]||(f(j),n[j]=[]),n[j].push(b),()=>{var N,k;n[j]=(k=(N=n[j])===null||N===void 0?void 0:N.filter(A=>A!==b))!==null&&k!==void 0?k:[],n[j].length===0&&m(j)}),updateConfig:h,updateModel:y,disconnect:u}}const Co=typeof window<"u"?window:{base44SharedInstances:{}};function Y3(t,e){return Co.base44SharedInstances||(Co.base44SharedInstances={}),Co.base44SharedInstances[t]||(Co.base44SharedInstances[t]={instance:e()}),Co.base44SharedInstances[t].instance}const X3="__user_heartbeat_event__",J3="__initialization_event__",Z3="__session_duration_event__",my="analytics-enable",gy="base44_analytics_session_id",e4={enabled:!0,maxQueueSize:1e3,throttleTime:1e3,batchSize:30,heartBeatInterval:60*1e3},t4="analytics",Be=Y3(t4,()=>({requestsQueue:[],isProcessing:!1,isHeartBeatProcessing:!1,wasInitializationTracked:!1,sessionContext:null,sessionStartTime:null,config:{...e4,...c4()}})),n4=({axiosClient:t,serverUrl:e,appId:n,userAuthModule:i})=>{var o;const{maxQueueSize:c,throttleTime:u,batchSize:h}=Be.config;if(!(!((o=Be.config)===null||o===void 0)&&o.enabled))return{track:()=>{},cleanup:()=>{}};let f;const m=`${e}/api/apps/${n}/analytics/track/batch`,y=async E=>{await t.request({method:"POST",url:`/apps/${n}/analytics/track/batch`,data:{events:E}})},x=E=>{try{const _=JSON.stringify({events:E}),F=new Blob([_],{type:"application/json"});return typeof navigator>"u"||_.length>6e4||!navigator.sendBeacon(m,F)}catch{return!1}},v=async(E,_={})=>
232{if(E.length===0)return;const F=await l4(i),W=E.map(a4(F));try{(!_.isBeacon||!x(W))&&await y(W)}catch{}},j=()=>{xy(v,{throttleTime:u,batchSize:h})},b=E=>{if(Be.requestsQueue.length>=c)return;const _=o4();Be.requestsQueue.push({...E,..._}),j()},N=()=>{xy(v,{throttleTime:u,batchSize:h}),f=vy(b),i4()},k=()=>{yy(),f==null||f(),s4(b);const E=Be.requestsQueue.splice(0);v(E,{isBeacon:!0})},A=()=>{typeof window>"u"||(document.visibilityState==="hidden"?k():document.visibilityState==="visible"&&N())},I=()=>{yy(),f==null||f(),typeof window<"u"&&window.removeEventListener("visibilitychange",A)};return j(),f=vy(b),r4(b),typeof window<"u"&&window.addEventListener("visibilitychange",A),{track:b,cleanup:I}};function yy(){Be.isProcessing=!1}async function xy(t,e){if(Be.isProcessing)return;Be.isProcessing=!0;const{throttleTime:n=1e3,batchSize:i=30}=e??{};for(;Be.isProcessing&&Be.requestsQueue.length>0;){const o=Be.requestsQueue.splice(0,i);o.length&&await t(o),await new Promise(c=>setTimeout(c,n))}Be.isProcessing=!1}function vy(t){var e;if(Be.isHeartBeatProcessing||((e=Be.config.heartBeatInterval)!==null&&e!==void 0?e:0)<10)return()=>{};Be.isHeartBeatProcessing=!0;const n=setInterval(()=>{t({eventName:X3})},Be.config.heartBeatInterval);return()=>{clearInterval(n),Be.isHeartBeatProcessing=!1}}function r4(t){typeof window>"u"||Be.wasInitializationTracked||(Be.wasInitializationTracked=!0,t({eventName:J3,properties:{referrer:document==null?void 0:document.referrer}}))}function i4(){typeof window>"u"||Be.sessionStartTime!==null||(Be.sessionStartTime=new Date().toISOString())}function s4(t){if(typeof window>"u"||Be.sessionStartTime===null)return;const e=new Date().getTime()-new Date(Be.sessionStartTime).getTime();Be.sessionStartTime=null,t({eventName:Z3,properties:{sessionDuration:e}})}function o4(){return{timestamp:new Date().toISOString(),pageUrl:typeof window<"u"?window.location.pathname:null}}function a4(t){return e=>({event_name:e.eventName,properties:e.properties,timestamp:e.timestamp,page_url:e.pageUrl,...t})}let Kd=null;async function l4(t){if(!Be.sessionContext){if(!Kd){const e=u4();Kd=t.me().then(n=>({user_id:n.id,session_id:e})).catch(()=>({user_id:null,session_id:e}))}Be.sessionContext=await Kd}return Be.sessionContext}function c4(){if(typeof window>"u")return;const e=new URLSearchParams(window.location.search).get(my);if(e==null||!e.length)return;const n=new URLSearchParams(window.location.search);n.delete(my);const i=window.location.pathname+(n.toString()?"?"+n.toString():"");return window.history.replaceState({},"",i),{enabled:e==="true"}}function u4(){if(typeof window>"u")return $d();try{const t=localStorage.getItem(gy);if(!t){const e=$d();return localStorage.setItem(gy,e),e}return t}catch{return $d()}}function d4(t){var e,n;const{serverUrl:i="https://base44.app",appId:o,token:c,serviceToken:u,requiresAuth:h=!1,appBaseUrl:f,options:m,functionsVersion:y,headers:x}=t,v=typeof f=="string"?f:"",j={serverUrl:i,mountPath:"/ws-user-apps/socket.io/",transports:["websocket"],appId:o,token:c};let b=null;const N=()=>(b||(b=Q3({config:j})),b),k={...x,"X-App-Id":String(o)},A=y?{...k,"Base44-Functions-Version":y}:k,I=Ro({baseURL:`${i}/api`,headers:k,token:c,onError:m==null?void 0:m.onError}),E=Ro({baseURL:`${i}/api`,headers:A,token:c,interceptResponses:!1,onError:m==null?void 0:m.onError}),_={...k,...c?{"on-behalf-of":`Bearer ${c}`}:{}},F=Ro({baseURL:`${i}/api`,headers:_,token:u,onError:m==null?void 0:m.onError}),W=Ro({baseURL:`${i}/api`,headers:A,token:u,interceptResponses:!1}),Z=YE(I,E,o,{appBaseUrl:v}),T={entities:iy({axios:I,appId:o,getSocket:N}),integrations:sy(I,o),connectors:ZE(I,o),auth:Z,functions:oy(E,o,{getAuthHeaders:()=>{const te={},O=c||Qo();return O&&(te.Authorization=`Bearer ${O}`),te},baseURL:(e=E.defaults)===null||e===void 0?void 0:e.baseURL}),agents:ay({axios:I,getSocket:N,appId:o,serverUrl:i,token:c}),appLogs:ly(I,o),users:t3(I,o),analytics:n4({axiosClient:I,serverUrl:i,appId:o,userAuthModule:Z}),cleanup:()=>{T.analytics.cleanup(),b&&b.disconnect()}},H={entities:iy({axios:F,appId:o,getSocket:N}),integrations:sy(F,o),sso:XE(F,o),connectors:JE(F,o),functions:oy(W,o,{getAuthHeaders:()=>{const te={};return u&&(te.Authorization=`Bearer ${u}`),te},baseURL:(n=W.defaults)===null||n===void 0?void 0:n.baseURL}
232),agents:ay({axios:F,getSocket:N,appId:o,serverUrl:i,token:c}),appLogs:ly(F,o),cleanup:()=>{b&&b.disconnect()}};if(typeof window<"u"){const te=c||Qo();te&&T.auth.setToken(te)}return h&&typeof window<"u"&&setTimeout(async()=>{try{await T.auth.isAuthenticated()||T.auth.redirectToLogin(window.location.href)}catch(te){console.error("Authentication check failed:",te),T.auth.redirectToLogin(window.location.href)}},0),{...T,setToken(te){T.auth.setToken(te),b&&b.updateConfig({token:te}),j.token=te},getConfig(){return{serverUrl:i,appId:o,requiresAuth:h}},get asServiceRole(){if(!u)throw new Error("Service token is required to use asServiceRole. Please provide a serviceToken when creating the client.");return H}}}const Uw=typeof window>"u",h4=Uw?{localStorage:new Map}:window,Fo=h4.localStorage,f4=t=>t.replace(/([A-Z])/g,"_$1").toLowerCase(),ts=(t,{defaultValue:e=void 0,removeFromUrl:n=!1}={})=>{if(Uw)return e;const i=`base44_${f4(t)}`,o=new URLSearchParams(window.location.search),c=o.get(t);if(n){o.delete(t);const h=`${window.location.pathname}${o.toString()?`?${o.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,h)}if(c)return Fo.setItem(i,c),c;if(e)return Fo.setItem(i,e),e;const u=Fo.getItem(i);return u||null},p4=()=>(ts("clear_access_token")==="true"&&(Fo.removeItem("base44_access_token"),Fo.removeItem("token")),{appId:ts("app_id",{defaultValue:"692fcb999e0f5a995e9c717c"}),serverUrl:ts("server_url",{defaultValue:"https://base44.app"}),token:ts("access_token",{removeFromUrl:!0}),fromUrl:ts("from_url",{defaultValue:window.location.href}),functionsVersion:ts("functions_version")}
232),rs={...p4()},{appId:m4,serverUrl:g4,token:y4,functionsVersion:x4}=rs,is=d4({appId:m4,serverUrl:g4,token:y4,functionsVersion:x4,requiresAuth:!1}),$w=P.createContext(),v4=({children:t})=>{const[e,n]=P.useState(null),[i,o]=P.useState(!1),[c,u]=P.useState(!0),[h,f]=P.useState(!0),[m,y]=P.useState(null),[x,v]=P.useState(null);P.useEffect(()=>{j()},[]);const j=async()=>{var A,I;try{f(!0),y(null);const E=Ro({baseURL:`${rs.serverUrl}/api/apps/public`,headers:{"X-App-Id":rs.appId},token:rs.token,interceptResponses:!0});try{const _=await E.get(`/prod/public-settings/by-id/${rs.appId}`);v(_),rs.token?await b():(u(!1),o(!1)),f(!1)}catch(_){if(console.error("App state check failed:",_),_.status===403&&((I=(A=_.data)==null?void 0:A.extra_data)!=null&&I.reason)){const F=_.data.extra_data.reason;y(F==="auth_required"?{type:"auth_required",message:"Authentication required"}:F==="user_not_registered"?{type:"user_not_registered",message:"User not registered for this app"}:{type:F,message:_.message})}else y({type:"unknown",message:_.message||"Failed to load app"});f(!1),u(!1)}}catch(E){console.error("Unexpected error:",E),y({type:"unknown",message:E.message||"An unexpected error occurred"}),f(!1),u(!1)}},b=async()=>{try{u(!0);const A=await is.auth.me();n(A),o(!0),u(!1)}catch(A){console.error("User auth check failed:",A),u(!1),o(!1),(A.status===401||A.status===403)&&y({type:"auth_required",message:"Authentication required"})}},N=(A=!0)=>{n(null),o(!1),A?is.auth.logout(window.location.href):is.auth.logout()},k=()=>{is.auth.redirectToLogin(window.location.href)};return a.jsx($w.Provider,{value:{user:e,isAuthenticated:i,isLoadingAuth:c,isLoadingPublicSettings:h,authError:m,appPublicSettings:x,logout:N,navigateToLogin:k,checkAppState:j},children:t})},qw=()=>{const t=P.useContext($w);if(!t)throw new Error("useAuth must be used within an AuthProvider");return t},Ec=P.createContext(null);function Os(t){const e=P.useRef(null);return e.current===null&&(e.current=t()),e.current}const Pc=P.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});class w4 extends P.Component{getSnapshotBeforeUpdate(e){const n=this.props.childRef.current;if(n&&e.isPresent&&!this.props.isPresent){const i=this.props.sizeRef.current;i.height=n.offsetHeight||0,i.width=n.offsetWidth||0,i.top=n.offsetTop,i.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function b4({children:t,isPresent:e}){const n=P.useId(),i=P.useRef(null),o=P.useRef({width:0,height:0,top:0,left:0}),{nonce:c}=P.useContext(Pc);return P.useInsertionEffect(()=>{const{width:u,height:h,top:f,left:m}=o.current;if(e||!i.current||!u||!h)return;i.current.dataset.motionPopId=n;const y=document.createElement("style");return c&&(y.nonce=c),document.head.appendChild(y),y.sheet&&y.sheet.insertRule(`
233          [data-motion-pop-id="${n}"] {
234            position: absolute !important;
235            width: ${u}px !important;
236            height: ${h}px !important;
237            top: ${f}px !important;
238            left: ${m}px !important;
239          }
240        `),()=>{document.head.removeChild(y)}},[e]),a.jsx(w4,{isPresent:e,childRef:i,sizeRef:o,children:P.cloneElement(t,{ref:i})})}const k4=({children:t,initial:e,isPresent:n,onExitComplete:i,custom:o,presenceAffectsLayout:c,mode:u})=>{const h=Os(j4),f=P.useId(),m=P.useCallback(x=>{h.set(x,!0);for(const v of h.values())if(!v)return;i&&i()},[h,i]),y=P.useMemo(()=>({id:f,initial:e,isPresent:n,custom:o,onExitComplete:m,register:x=>(h.set(x,!1),()=>h.delete(x))}),c?[Math.random(),m]:[n,m]);return P.useMemo(()=>{h.forEach((x,v)=>h.set(v,!1))},[n]),P.useEffect(()=>{!n&&!h.size&&i&&i()},[n]),u==="popLayout"&&(t=a.jsx(b4,{isPresent:n,children:t})),a.jsx(Ec.Provider,{value:y,children:t})};function j4(){return new Map}const Cf=P.createContext({}),Rt=t=>t;let N4=Rt,Ww=Rt;function Ef(t){let e;return()=>(e===void 0&&(e=t()),e)}const ji=(t,e,n)=>{const i=e-t;return i===0?1:(n-t)/i},Yn=t=>t*1e3,Xn=t=>t/1e3,Ll=t=>t.key||"";function wy(t){const e=[];return P.Children.forEach(t,n=>{P.isValidElement(n)&&e.push(n)}),e}const Pf=typeof window<"u",Tc=Pf?P.useLayoutEffect:P.useEffect,Dr=({children:t,exitBeforeEnter:e,custom:n,initial:i=!0,onExitComplete:o,presenceAffectsLayout:c=!0,mode:u="sync"})=>{const h=P.useMemo(()=>wy(t),[t]),f=h.map(Ll),m=P.useRef(!0),y=P.useRef(h),x=Os(()=>new Map),[v,j]=P.useState(h),[b,N]=P.useState(h);Tc(()=>{m.current=!1,y.current=h;for(let I=0;I<b.length;I++){const E=Ll(b[I]);f.includes(E)?x.delete(E):x.get(E)!==!0&&x.set(E,!1)}},[b,f.length,f.join("-")]);const k=[];if(h!==v){let I=[...h];for(let E=0;E<b.length;E++){const _=b[E],F=Ll(_);f.includes(F)||(I.splice(E,0,_),k.push(_))}u==="wait"&&k.length&&(I=k),N(wy(I)),j(h);return}const{forceRender:A}=P.useContext(Cf);return a.jsx(a.Fragment,{children:b.map(I=>{const E=Ll(I),_=h===b||f.includes(E),F=()=>
vendor: 8,648 bytes, line 240
240{if(x.has(E))x.set(E,!0);else return;let W=!0;x.forEach(Z=>{Z||(W=!1)}),W&&(A==null||A(),N(y.current),o&&o())};return a.jsx(k4,{isPresent:_,initial:!m.current||i?void 0:!1,custom:_?void 0:n,presenceAffectsLayout:c,mode:u,onExitComplete:_?void 0:F,children:I},E)})})},S4={useManualTiming:!1};function C4(t){let e=new Set,n=new Set,i=!1,o=!1;const c=new WeakSet;let u={delta:0,timestamp:0,isProcessing:!1};function h(m){c.has(m)&&(f.schedule(m),t()),m(u)}const f={schedule:(m,y=!1,x=!1)=>{const j=x&&i?e:n;return y&&c.add(m),j.has(m)||j.add(m),m},cancel:m=>{n.delete(m),c.delete(m)},process:m=>{if(u=m,i){o=!0;return}i=!0,[e,n]=[n,e],e.forEach(h),e.clear(),i=!1,o&&(o=!1,f.process(m))}};return f}const Dl=["read","resolveKeyframes","update","preRender","render","postRender"],E4=40;function Hw(t,e){let n=!1,i=!0;const o={delta:0,timestamp:0,isProcessing:!1},c=()=>n=!0,u=Dl.reduce((A,I)=>(A[I]=C4(c),A),{}),{read:h,resolveKeyframes:f,update:m,preRender:y,render:x,postRender:v}=u,j=()=>{const A=performance.now();n=!1,o.delta=i?1e3/60:Math.max(Math.min(A-o.timestamp,E4),1),o.timestamp=A,o.isProcessing=!0,h.process(o),f.process(o),m.process(o),y.process(o),x.process(o),v.process(o),o.isProcessing=!1,n&&e&&(i=!1,t(j))},b=()=>{n=!0,i=!0,o.isProcessing||t(j)};return{schedule:Dl.reduce((A,I)=>{const E=u[I];return A[I]=(_,F=!1,W=!1)=>(n||b(),E.schedule(_,F,W)),A},{}),cancel:A=>{for(let I=0;I<Dl.length;I++)u[Dl[I]].cancel(A)},state:o,steps:u}}const{schedule:Le,cancel:vn,state:mt,steps:Qd}=Hw(typeof requestAnimationFrame<"u"?requestAnimationFrame:Rt,!0),Gw=P.createContext({strict:!1}),by={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"]},Ss={};for(const t in by)Ss[t]={isEnabled:e=>by[t].some(n=>!!e[n])};function P4(t){for(const e in t)Ss[e]={...Ss[e],...t[e]}}const T4=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 lc(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||T4.has(t)}let Kw=t=>!lc(t);function _4(t){t&&(Kw=e=>e.startsWith("on")?!lc(e):t(e))}try{_4(require("@emotion/is-prop-valid").default)}catch{}function A4(t,e,n){const i={};for(const o in t)o==="values"&&typeof t.values=="object"||(Kw(o)||n===!0&&lc(o)||!e&&!lc(o)||t.draggable&&o.startsWith("onDrag"))&&(i[o]=t[o]);return i}function R4(t){if(typeof Proxy>"u")return t;const e=new Map,n=(...i)=>t(...i);return new Proxy(n,{get:(i,o)=>o==="create"?t:(e.has(o)||e.set(o,t(o)),e.get(o))})}const _c=P.createContext({});function Yo(t){return typeof t=="string"||Array.isArray(t)}function Ac(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const Tf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],_f=["initial",...Tf];function Rc(t){return Ac(t.animate)||_f.some(e=>Yo(t[e]))}function Qw(t){return!!(Rc(t)||t.variants)}function I4(t,e){if(Rc(t)){const{initial:n,animate:i}=t;return{initial:n===!1||Yo(n)?n:void 0,animate:Yo(i)?i:void 0}}return t.inherit!==!1?e:{}}function O4(t){const{initial:e,animate:n}=I4(t,P.useContext(_c));return P.useMemo(()=>({initial:e,animate:n}),[ky(e),ky(n)])}function ky(t){return Array.isArray(t)?t.join(" "):t}const M4=Symbol.for("motionComponentSymbol");function ss(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function L4(t,e,n){return P.useCallback(i=>{i&&t.mount&&t.mount(i),e&&(i?e.mount(i):e.unmount()),n&&(typeof n=="function"?n(i):ss(n)&&(n.current=i))},[e])}const Af=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),D4="framerAppearId",Yw="data-"+Af(D4),{schedule:Rf}=Hw(queueMicrotask,!1),Xw=P.createContext({});function F4(t,e,n,i,o){var c,u;const{visualElement:h}=P.useContext(_c),f=P.useContext(Gw),m=P.useContext(Ec),y=P.useContext(Pc).reducedMotion,x=P.useRef(null);i=i||f.renderer,!x.current&&i&&(x.current=i(t,{visualState:e,parent:h,props:n,presenceContext:m,blockInitialAnimation:m?m.initial===!1:!1,reducedMotionConfig:y}));const v=x.current,j=P.useContext(Xw);v&&!v.projection&&o&&(v.type==="html"||v.type==="svg")&&V4(x.current,n,o,j);const b=P.useRef(!1);P.useInsertionEffect(()=>{v&&b.current&&v.update(n,m)});const N=n[Yw],k=P.useRef(!!N&&!(!((c=window.MotionHandoffIsComplete)===null||c===void 0)&&c.call(window,N))&&((u=window.MotionHasOptimisedAnimation)===null||u===void 0?void 0:u.call(window,N)));return Tc(()=>{v&&(b.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),Rf.render(v.render),k.current&&v.animationState&&v.animationState.animateChanges())}),P.useEffect(()=>{v&&(!k.current&&v.animationState&&v.animationState.animateChanges(),k.current&&(queueMicrotask(()=>{var A;(A=window.MotionHandoffMarkAsComplete)===null||A===void 0||A.call(window,N)}),k.current=!1))}),v}function V4(t,e,n,i){const{layoutId:o,layout:c,drag:u,dragConstraints:h,layoutScroll:f,layoutRoot:m}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:Jw(t.parent)),t.projection.setOptions({layoutId:o,layout:c,alwaysMeasureLayout:!!u||h&&ss(h),visualElement:t,animationType:typeof c=="string"?c:"both",initialPromotionConfig:i,layoutScroll:f,layoutRoot:m})}function Jw(t){if(t)return t.options.allowProjection!==!1?t.projection:Jw(t.parent)}function z4({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:i,Component:o}){var c,u;t&&P4(t);function h(m,y){let x;const v={...P.useContext(Pc),...m,layoutId:B4(m)},{isStatic:j}=v,b=O4(m),N=i(m,j);if(!j&&Pf){U4();const k=$4(v);x=k.MeasureLayout,b.visualElement=F4(o,N,v,e,k.ProjectionNode)}return a.jsxs(_c.Provider,{value:b,children:[x&&b.visualElement?a.jsx(x,{visualElement:b.visualElement,...v}):null,n(o,m,L4(N,b.visualElement,y),N,j,b.visualElement)]})}h.displayName=`motion.${typeof o=="string"?o:`create(${(u=(c=o.displayName)!==null&&c!==void 0?c:o.name)!==null&&u!==void 0?u:""})`}`;const f=P.forwardRef(h);return f[M4]=o,f}function B4({layoutId:t}){const e=P.useContext(Cf).id;return e&&t!==void 0?e+"-"+t:t}function U4(t,e){P.useContext(Gw).strict}function $4(t){const{drag:e,layout:n}=Ss;if(!e&&!n)return{};const i={...e,...n};return{MeasureLayout:e!=null&&e.isEnabled(t)||n!=null&&n.isEnabled(t)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}const q4=["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 If(t){return typeof t!="string"||t.includes("-")?!1:!!(q4.indexOf(t)>-1||/[A-Z]/u.test(t))}function Zw(t,{style:e,vars:n},i,o){Object.assign(t.style,e,o&&o.getProjectionStyles(i));for(const c in n)t.style.setProperty(c,n[c])}const eb=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 tb(t,e,n,i){Zw(t,e,void 0,i);for(const o in e.attrs)t.setAttribute(eb.has(o)?o:Af(o),e.attrs[o])}const Ct=t=>!!(t&&t.getVelocity),cc={};function W4(t){Object.assign(cc,t)}const fa=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Pi=new Set(fa);function nb(t,{layout:e,layoutId:n}){return Pi.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!cc[t]||t==="opacity")}function Of(t,e,n){var i;const{style:o}=t,c={};for(const u in o)(Ct(o[u])||e.style&&Ct(e.style[u])||nb(u,t)||((i=n==null?void 0:n.getValue(u))===null||i===void 0?void 0:i.liveStyle)!==void 0)&&(c[u]=o[u]);return c}function rb(t,e,n){const i=Of(t,e,n);for(const o in t)if(Ct(t[o])||Ct(e[o])){const c=fa.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;i[c]=t[o]}return i}function jy(t){const e=[{},{}];
vendor: 4,296 bytes, line 240
240return t==null||t.values.forEach((n,i)=>{e[0][i]=n.get(),e[1][i]=n.getVelocity()}),e}function Mf(t,e,n,i){if(typeof e=="function"){const[o,c]=jy(i);e=e(n!==void 0?n:t.custom,o,c)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[o,c]=jy(i);e=e(n!==void 0?n:t.custom,o,c)}return e}const Uh=t=>Array.isArray(t),H4=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),G4=t=>Uh(t)?t[t.length-1]||0:t;function Xl(t){const e=Ct(t)?t.get():t;return H4(e)?e.toValue():e}function K4({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},i,o,c){const u={latestValues:Q4(i,o,c,t),renderState:e()};return n&&(u.mount=h=>n(i,h,u)),u}const ib=t=>(e,n)=>{const i=P.useContext(_c),o=P.useContext(Ec),c=()=>K4(t,e,i,o);return n?c():Os(c)};function Q4(t,e,n,i){const o={},c=i(t,{});for(const v in c)o[v]=Xl(c[v]);let{initial:u,animate:h}=t;const f=Rc(t),m=Qw(t);e&&m&&!f&&t.inherit!==!1&&(u===void 0&&(u=e.initial),h===void 0&&(h=e.animate));let y=n?n.initial===!1:!1;y=y||u===!1;const x=y?h:u;if(x&&typeof x!="boolean"&&!Ac(x)){const v=Array.isArray(x)?x:[x];for(let j=0;j<v.length;j++){const b=Mf(t,v[j]);if(b){const{transitionEnd:N,transition:k,...A}=b;for(const I in A){let E=A[I];if(Array.isArray(E)){const _=y?E.length-1:0;E=E[_]}E!==null&&(o[I]=E)}for(const I in N)o[I]=N[I]}}}return o}const Lf=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),sb=()=>({...Lf(),attrs:{}}),ob=(t,e)=>e&&typeof t=="number"?e.transform(t):t,er=(t,e,n)=>n>e?e:n<t?t:n,Ms={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Xo={...Ms,transform:t=>er(0,1,t)},Fl={...Ms,default:1},pa=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),jr=pa("deg"),On=pa("%"),ke=pa("px"),Y4=pa("vh"),X4=pa("vw"),Ny={...On,parse:t=>On.parse(t)/100,transform:t=>On.transform(t*100)},J4={borderWidth:ke,borderTopWidth:ke,borderRightWidth:ke,borderBottomWidth:ke,borderLeftWidth:ke,borderRadius:ke,radius:ke,borderTopLeftRadius:ke,borderTopRightRadius:ke,borderBottomRightRadius:ke,borderBottomLeftRadius:ke,width:ke,maxWidth:ke,height:ke,maxHeight:ke,top:ke,right:ke,bottom:ke,left:ke,padding:ke,paddingTop:ke,paddingRight:ke,paddingBottom:ke,paddingLeft:ke,margin:ke,marginTop:ke,marginRight:ke,marginBottom:ke,marginLeft:ke,backgroundPositionX:ke,backgroundPositionY:ke},Z4={rotate:jr,rotateX:jr,rotateY:jr,rotateZ:jr,scale:Fl,scaleX:Fl,scaleY:Fl,scaleZ:Fl,skew:jr,skewX:jr,skewY:jr,distance:ke,translateX:ke,translateY:ke,translateZ:ke,x:ke,y:ke,z:ke,perspective:ke,transformPerspective:ke,opacity:Xo,originX:Ny,originY:Ny,originZ:ke},Sy={...Ms,transform:Math.round},Df={...J4,...Z4,zIndex:Sy,size:ke,fillOpacity:Xo,strokeOpacity:Xo,numOctaves:Sy},eP={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tP=fa.length;function nP(t,e,n){let i="",o=!0;for(let c=0;c<tP;c++){const u=fa[c],h=t[u];if(h===void 0)continue;let f=!0;if(typeof h=="number"?f=h===(u.startsWith("scale")?1:0):f=parseFloat(h)===0,!f||n){const m=ob(h,Df[u]);if(!f){o=!1;const y=eP[u]||u;i+=`${y}(${m}) `}n&&(e[u]=m)}}return i=i.trim(),n?i=n(e,o?"":i):o&&(i="none"),i}const ab=t=>e=>typeof e=="string"&&e.startsWith(t),lb=ab("--"),rP=ab("var(--"),Ff=t=>rP(t)?iP.test(t.split("/*")[0].trim()):!1,iP=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Vf(t,e,n){const{style:i,vars:o,transformOrigin:c}=t;let u=!1,h=!1;for(const f in e){const m=e[f];if(Pi.has(f)){u=!0;continue}else if(lb(f)){o[f]=m;continue}else{const y=ob(m,Df[f]);f.startsWith("origin")?(h=!0,c[f]=y):i[f]=y}}if(e.transform||(u||n?i.transform=nP(e,t.transform,n):i.transform&&(i.transform="none")),h){const{originX:f="50%",originY:m="50%",originZ:y=0}=c;i.transformOrigin=`${f} ${m} ${y}`}}function Cy(t,e,n){return typeof t=="string"?t:ke.transform(e+n*t)}function sP(t,e,n){const i=Cy(e,t.x,t.width),o=Cy(n,t.y,t.height);return`${i} ${o}`}const oP={offset:"stroke-dashoffset",array:"stroke-dasharray"},aP={offset:"strokeDashoffset",array:"strokeDasharray"};function lP(t,e,n=1,i=0,o=!0){t.pathLength=1;const c=o?oP:aP;t[c.offset]=ke.transform(-i);const u=ke.transform(e),h=ke.transform(n);t[c.array]=`${u} ${h}`}function zf(t,{attrX:e,attrY:n,attrScale:i,originX:o,originY:c,pathLength:u,pathSpacing:h=1,pathOffset:f=0,...m}
vendor: 96,029 bytes, line 240
240,y,x){if(Vf(t,m,x),y){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:v,style:j,dimensions:b}=t;v.transform&&(b&&(j.transform=v.transform),delete v.transform),b&&(o!==void 0||c!==void 0||j.transform)&&(j.transformOrigin=sP(b,o!==void 0?o:.5,c!==void 0?c:.5)),e!==void 0&&(v.x=e),n!==void 0&&(v.y=n),i!==void 0&&(v.scale=i),u!==void 0&&lP(v,u,h,f,!1)}const Bf=t=>typeof t=="string"&&t.toLowerCase()==="svg",cP={useVisualState:ib({scrapeMotionValuesFromProps:rb,createRenderState:sb,onMount:(t,e,{renderState:n,latestValues:i})=>{Le.read(()=>{try{n.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),Le.render(()=>{zf(n,i,Bf(e.tagName),t.transformTemplate),tb(e,n)})}})},uP={useVisualState:ib({scrapeMotionValuesFromProps:Of,createRenderState:Lf})};function cb(t,e,n){for(const i in e)!Ct(e[i])&&!nb(i,n)&&(t[i]=e[i])}function dP({transformTemplate:t},e){return P.useMemo(()=>{const n=Lf();return Vf(n,e,t),Object.assign({},n.vars,n.style)},[e])}function hP(t,e){const n=t.style||{},i={};return cb(i,n,t),Object.assign(i,dP(t,e)),i}function fP(t,e){const n={},i=hP(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n}function pP(t,e,n,i){const o=P.useMemo(()=>{const c=sb();return zf(c,e,Bf(i),t.transformTemplate),{...c.attrs,style:{...c.style}}},[e]);if(t.style){const c={};cb(c,t.style,t),o.style={...c,...o.style}}return o}function mP(t=!1){return(n,i,o,{latestValues:c},u)=>{const f=(If(n)?pP:fP)(i,c,u,n),m=A4(i,typeof n=="string",t),y=n!==P.Fragment?{...m,...f,ref:o}:{},{children:x}=i,v=P.useMemo(()=>Ct(x)?x.get():x,[x]);return P.createElement(n,{...y,children:v})}}function gP(t,e){return function(i,{forwardMotionProps:o}={forwardMotionProps:!1}){const u={...If(i)?cP:uP,preloadedFeatures:t,useRender:mP(o),createVisualElement:e,Component:i};return z4(u)}}function ub(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}function Ic(t,e,n){const i=t.getProps();return Mf(i,e,n!==void 0?n:i.custom,t)}const db=Ef(()=>window.ScrollTimeline!==void 0);class yP{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}getAll(e){return this.animations[0][e]}setAll(e,n){for(let i=0;i<this.animations.length;i++)this.animations[i][e]=n}attachTimeline(e,n){const i=this.animations.map(o=>{if(db()&&o.attachTimeline)return o.attachTimeline(e);if(typeof n=="function")return n(o)});return()=>{i.forEach((o,c)=>{o&&o(),this.animations[c].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let n=0;n<this.animations.length;n++)e=Math.max(e,this.animations[n].duration);return e}runAll(e){this.animations.forEach(n=>n[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class xP extends yP{then(e,n){return Promise.all(this.animations).then(e).catch(n)}}function Uf(t,e){return t?t[e]||t.default||t:void 0}const $h=2e4;function hb(t){let e=0;const n=50;let i=t.next(e);for(;!i.done&&e<$h;)e+=n,i=t.next(e);return e>=$h?1/0:e}function $f(t){return typeof t=="function"}function Ey(t,e){t.timeline=e,t.onfinish=null}const qf=t=>Array.isArray(t)&&typeof t[0]=="number",vP={linearEasing:void 0};function wP(t,e){const n=Ef(t);return()=>{var i;return(i=vP[e])!==null&&i!==void 0?i:n()}}const uc=wP(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),fb=(t,e,n=10)=>{let i="";const o=Math.max(Math.round(e/n),2);for(let c=0;c<o;c++)i+=t(ji(0,o-1,c))+", ";return`linear(${i.substring(0,i.length-2)})`};function pb(t){return!!(typeof t=="function"&&uc()||!t||typeof t=="string"&&(t in qh||uc())||qf(t)||Array.isArray(t)&&t.every(pb))}const Oo=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,qh={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Oo([0,.65,.55,1]),circOut:Oo([.55,0,1,.45]),backIn:Oo([.31,.01,.66,-.59]),backOut:Oo([.33,1.53,.69,.99])};function mb(t,e){if(t)return typeof t=="function"&&uc()?fb(t,e):qf(t)?Oo(t):Array.isArray(t)?t.map(n=>mb(n,e)||qh.easeOut):qh[t]}const mn={x:!1,y:!1};function gb(){return mn.x||mn.y}function yb(t,e,n){var i;if(t instanceof Element)return[t];if(typeof t=="string"){let o=document;const c=(i=void 0)!==null&&i!==void 0?i:o.querySelectorAll(t);return c?Array.from(c):[]}return Array.from(t)}function xb(t,e){const n=yb(t),i=new AbortController,o={passive:!0,...e,signal:i.signal};return[n,o,()=>i.abort()]}function Py(t){return e=>{e.pointerType==="touch"||gb()||t(e)}}function bP(t,e,n={}){const[i,o,c]=xb(t,n),u=Py(h=>{const{target:f}=h,m=e(h);if(typeof m!="function"||!f)return;const y=Py(x=>{m(x),f.removeEventListener("pointerleave",y)});f.addEventListener("pointerleave",y,o)});return i.forEach(h=>{h.addEventListener("pointerenter",u,o)}),c}const vb=(t,e)=>e?t===e?!0:vb(t,e.parentElement):!1,Wf=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,kP=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function jP(t){return kP.has(t.tagName)||t.tabIndex!==-1}const Mo=new WeakSet;function Ty(t){return e=>{e.key==="Enter"&&t(e)}}function Yd(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const NP=(t,e)=>{const n=t.currentTarget;if(!n)return;const i=Ty(()=>{if(Mo.has(n))return;Yd(n,"down");const o=Ty(()=>{Yd(n,"up")}),c=()=>Yd(n,"cancel");n.addEventListener("keyup",o,e),n.addEventListener("blur",c,e)});n.addEventListener("keydown",i,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),e)};function _y(t){return Wf(t)&&!gb()}function SP(t,e,n={}){const[i,o,c]=xb(t,n),u=h=>{const f=h.currentTarget;if(!_y(h)||Mo.has(f))return;Mo.add(f);const m=e(h),y=(j,b)=>{window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",v),!(!_y(j)||!Mo.has(f))&&(Mo.delete(f),typeof m=="function"&&m(j,{success:b}))},x=j=>{y(j,n.useGlobalTarget||vb(f,j.target))},v=j=>{y(j,!1)};window.addEventListener("pointerup",x,o),window.addEventListener("pointercancel",v,o)};return i.forEach(h=>{!jP(h)&&h.getAttribute("tabindex")===null&&(h.tabIndex=0),(n.useGlobalTarget?window:h).addEventListener("pointerdown",u,o),h.addEventListener("focus",m=>NP(m,o),o)}),c}function CP(t){return t==="x"||t==="y"?mn[t]?null:(mn[t]=!0,()=>{mn[t]=!1}):mn.x||mn.y?null:(mn.x=mn.y=!0,()=>{mn.x=mn.y=!1})}let Jl;function EP(){Jl=void 0}const Mn={now:()=>(Jl===void 0&&Mn.set(mt.isProcessing||S4.useManualTiming?mt.timestamp:performance.now()),Jl),set:t=>{Jl=t,queueMicrotask(EP)}};function Hf(t,e){t.indexOf(e)===-1&&t.push(e)}function Gf(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Kf{constructor(){this.subscriptions=[]}add(e){return Hf(this.subscriptions,e),()=>Gf(this.subscriptions,e)}notify(e,n,i){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](e,n,i);else for(let c=0;c<o;c++){const u=this.subscriptions[c];u&&u(e,n,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Qf(t,e){return e?t*(1e3/e):0}const Ay=30,PP=t=>!isNaN(parseFloat(t)),Vo={current:void 0};class TP{constructor(e,n={}){this.version="11.16.4",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(i,o=!0)=>{const c=Mn.now();this.updatedAt!==c&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=Mn.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=PP(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new Kf);const i=this.events[e].add(n);return e==="change"?()=>{i(),Le.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,n,i){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return Vo.current&&Vo.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=Mn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Ay)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Ay);return Qf(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Rn(t,e){return new TP(t,e)}function _P(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,Rn(n))}function AP(t,e){const n=Ic(t,e);let{transitionEnd:i={},transition:o={},...c}=n||{};c={...c,...i};for(const u in c){const h=G4(c[u]);_P(t,u,h)}}function RP(t){return!!(Ct(t)&&t.add)}function Wh(t,e){const n=t.getValue("willChange");if(RP(n))return n.add(e)}function wb(t){return t.props[Yw]}const bb=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,IP=1e-7,OP=12;function MP(t,e,n,i,o){let c,u,h=0;do u=e+(n-e)/2,c=bb(u,i,o)-t,c>0?n=u:e=u;while(Math.abs(c)>IP&&++h<OP);return u}function ma(t,e,n,i){if(t===e&&n===i)return Rt;const o=c=>MP(c,0,1,t,n);return c=>c===0||c===1?c:bb(o(c),e,i)}const kb=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,jb=t=>e=>1-t(1-e),Nb=ma(.33,1.53,.69,.99),Yf=jb(Nb),Sb=kb(Yf),Cb=t=>(t*=2)<1?.5*Yf(t):.5*(2-Math.pow(2,-10*(t-1))),Xf=t=>1-Math.sin(Math.acos(t)),Eb=jb(Xf),Pb=kb(Xf),Tb=t=>/^0[^.\s]+$/u.test(t);function LP(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Tb(t):!0}const _b=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),DP=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function FP(t){const e=DP.exec(t);if(!e)return[,];const[,n,i,o]=e;return[`--${n??i}`,o]}function Ab(t,e,n=1){const[i,o]=FP(t);if(!i)return;const c=window.getComputedStyle(e).getPropertyValue(i);if(c){const u=c.trim();return _b(u)?parseFloat(u):u}return Ff(o)?Ab(o,e,n+1):o}const VP=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Ry=t=>t===Ms||t===ke,Iy=(t,e)=>parseFloat(t.split(", ")[e]),Oy=(t,e)=>(n,{transform:i})=>{if(i==="none"||!i)return 0;const o=i.match(/^matrix3d\((.+)\)$/u);if(o)return Iy(o[1],e);{const c=i.match(/^matrix\((.+)\)$/u);return c?Iy(c[1],t):0}},zP=new Set(["x","y","z"]),BP=fa.filter(t=>!zP.has(t));function UP(t){const e=[];return BP.forEach(n=>{const i=t.getValue(n);i!==void 0&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}const Cs={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:Oy(4,13),y:Oy(5,14)};Cs.translateX=Cs.x;Cs.translateY=Cs.y;const Rb=t=>e=>e.test(t),$P={test:t=>t==="auto",parse:t=>t},Ib=[Ms,ke,On,jr,X4,Y4,$P],My=t=>Ib.find(Rb(t)),vi=new Set;let Hh=!1,Gh=!1;function Ob(){if(Gh){const t=Array.from(vi).filter(i=>i.needsMeasurement),e=new Set(t.map(i=>i.element)),n=new Map;e.forEach(i=>{const o=UP(i);o.length&&(n.set(i,o),i.render())}),t.forEach(i=>i.measureInitialState()),e.forEach(i=>{i.render();const o=n.get(i);o&&o.forEach(([c,u])=>{var h;(h=i.getValue(c))===null||h===void 0||h.set(u)})}),t.forEach(i=>i.measureEndState()),t.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}Gh=!1,Hh=!1,vi.forEach(t=>t.complete()),vi.clear()}function Mb(){vi.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Gh=!0)})}function qP(){Mb(),Ob()}class Jf{constructor(e,n,i,o,c,u=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=i,this.motionValue=o,this.element=c,this.isAsync=u}scheduleResolve(){this.isScheduled=!0,this.isAsync?(vi.add(this),Hh||(Hh=!0,Le.read(Mb),Le.resolveKeyframes(Ob))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:i,motionValue:o}=this;for(let c=0;c<e.length;c++)if(e[c]===null)if(c===0){const u=o==null?void 0:o.get(),h=e[e.length-1];if(u!==void 0)e[0]=u;else if(i&&n){const f=i.readValue(n,h);f!=null&&(e[0]=f)}e[0]===void 0&&(e[0]=h),o&&u===void 0&&o.set(e[0])}else e[c]=e[c-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),vi.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,vi.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const zo=t=>Math.round(t*1e5)/1e5,Zf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function WP(t){return t==null}const HP=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ep=(t,e)=>n=>!!(typeof n=="string"&&HP.test(n)&&n.startsWith(t)||e&&!WP(n)&&Object.prototype.hasOwnProperty.call(n,e)),Lb=(t,e,n)=>i=>{if(typeof i!="string")return i;const[o,c,u,h]=i.match(Zf);return{[t]:parseFloat(o),[e]:parseFloat(c),[n]:parseFloat(u),alpha:h!==void 0?parseFloat(h):1}},GP=t=>er(0,255,t),Xd={...Ms,transform:t=>Math.round(GP(t))},li={test:ep("rgb","red"),parse:Lb("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+Xd.transform(t)+", "+Xd.transform(e)+", "+Xd.transform(n)+", "+zo(Xo.transform(i))+")"};function KP(t){let e="",n="",i="",o="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),o=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),o=t.substring(4,5),e+=e,n+=n,i+=i,o+=o),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:o?parseInt(o,16)/255:1}}const Kh={test:ep("#"),parse:KP,transform:li.transform},os={test:ep("hsl","hue"),parse:Lb("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+On.transform(zo(e))+", "+On.transform(zo(n))+", "+zo(Xo.transform(i))+")"},Nt={test:t=>li.test(t)||Kh.test(t)||os.test(t),parse:t=>li.test(t)?li.parse(t):os.test(t)?os.parse(t):Kh.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?li.transform(t):os.transform(t)},QP=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function YP(t){var e,n;return isNaN(t)&&typeof t=="string"&&(((e=t.match(Zf))===null||e===void 0?void 0:e.length)||0)+(((n=t.match(QP))===null||n===void 0?void 0:n.length)||0)>0}const Db="number",Fb="color",XP="var",JP="var(",Ly="${}",ZP=/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 Jo(t){const e=t.toString(),n=[],i={color:[],number:[],var:[]},o=[];let c=0;const h=e.replace(ZP,f=>(Nt.test(f)?(i.color.push(c),o.push(Fb),n.push(Nt.parse(f))):f.startsWith(JP)?(i.var.push(c),o.push(XP),n.push(f)):(i.number.push(c),o.push(Db),n.push(parseFloat(f))),++c,Ly)).split(Ly);return{values:n,split:h,indexes:i,types:o}}function Vb(t){return Jo(t).values}function zb(t){const{split:e,types:n}=Jo(t),i=e.length;return o=>{let c="";for(let u=0;u<i;u++)if(c+=e[u],o[u]!==void 0){const h=n[u];h===Db?c+=zo(o[u]):h===Fb?c+=Nt.transform(o[u]):c+=o[u]}return c}}const eT=t=>typeof t=="number"?0:t;function tT(t){const e=Vb(t);return zb(t)(e.map(eT))}const Fr={test:YP,parse:Vb,createTransformer:zb,getAnimatableNone:tT},nT=new Set(["brightness","contrast","saturate","opacity"]);function rT(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[i]=n.match(Zf)||[];if(!i)return t;const o=n.replace(i,"");let c=nT.has(e)?1:0;return i!==n&&(c*=100),e+"("+c+o+")"}const iT=/\b([a-z-]*)\(.*?\)/gu,Qh={...Fr,getAnimatableNone:t=>{const e=t.match(iT);return e?e.map(rT).join(" "):t}},sT={...Df,color:Nt,backgroundColor:Nt,outlineColor:Nt,fill:Nt,stroke:Nt,borderColor:Nt,borderTopColor:Nt,borderRightColor:Nt,borderBottomColor:Nt,borderLeftColor:Nt,filter:Qh,WebkitFilter:Qh},tp=t=>sT[t];function Bb(t,e){let n=tp(t);return n!==Qh&&(n=Fr),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const oT=new Set(["auto","none","0"]);function aT(t,e,n){let i=0,o;for(;i<t.length&&!o;){const c=t[i];typeof c=="string"&&!oT.has(c)&&Jo(c).values.length&&(o=t[i]),i++}if(o&&n)for(const c of e)t[c]=Bb(n,o)}class Ub extends Jf{constructor(e,n,i,o,c){super(e,n,i,o,c,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:n,name:i}=this;if(!n||!n.current)return;super.readKeyframes();for(let f=0;f<e.length;f++){let m=e[f];if(typeof m=="string"&&(m=m.trim(),Ff(m))){const y=Ab(m,n.current);y!==void 0&&(e[f]=y),f===e.length-1&&(this.finalKeyframe=m)}}if(this.resolveNoneKeyframes(),!VP.has(i)||e.length!==2)return;const[o,c]=e,u=My(o),h=My(c);if(u!==h)if(Ry(u)&&Ry(h))for(let f=0;f<e.length;f++){const m=e[f];typeof m=="string"&&(e[f]=parseFloat(m))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:n}=this,i=[];for(let o=0;o<e.length;o++)LP(e[o])&&i.push(o);i.length&&aT(e,i,n)}measureInitialState(){const{element:e,unresolvedKeyframes:n,name:i}=this;if(!e||!e.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Cs[i](e.measureViewportBox(),window.getComputedStyle(e.current)),n[0]=this.measuredOrigin;const o=n[n.length-1];o!==void 0&&e.getValue(i,o).jump(o,!1)}measureEndState(){var e;const{element:n,name:i,unresolvedKeyframes:o}=this;if(!n||!n.current)return;const c=n.getValue(i);c&&c.jump(this.measuredOrigin,!1);const u=o.length-1,h=o[u];o[u]=Cs[i](n.measureViewportBox(),window.getComputedStyle(n.current)),h!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=h),!((e=this.removedTransforms)===null||e===void 0)&&e.length&&this.removedTransforms.forEach(([f,m])=>{n.getValue(f).set(m)}),this.resolveNoneKeyframes()}}const Dy=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Fr.test(t)||t==="0")&&!t.startsWith("url("));function lT(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}function cT(t,e,n,i){const o=t[0];if(o===null)return!1;if(e==="display"||e==="visibility")return!0;const c=t[t.length-1],u=Dy(o,e),h=Dy(c,e);return!u||!h?!1:lT(t)||(n==="spring"||$f(n))&&i}const uT=t=>t!==null;function Oc(t,{repeat:e,repeatType:n="loop"},i){const o=t.filter(uT),c=e&&n!=="loop"&&e%2===1?0:o.length-1;return!c||i===void 0?o[c]:i}const dT=40;class $b{constructor({autoplay:e=!0,delay:n=0,type:i="keyframes",repeat:o=0,repeatDelay:c=0,repeatType:u="loop",...h}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Mn.now(),this.options={autoplay:e,delay:n,type:i,repeat:o,repeatDelay:c,repeatType:u,...h},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>dT?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&qP(),this._resolved}onKeyframesResolved(e,n){this.resolvedAt=Mn.now(),this.hasAttemptedResolve=!0;const{name:i,type:o,velocity:c,delay:u,onComplete:h,onUpdate:f,isGenerator:m}=this.options;if(!m&&!cT(e,i,o,c))if(u)this.options.duration=0;else{f==null||f(Oc(e,this.options,n)),h==null||h(),this.resolveFinishedPromise();return}const y=this.initPlayback(e,n);y!==!1&&(this._resolved={keyframes:e,finalKeyframe:n,...y},this.onPostResolved())}onPostResolved(){}then(e,n){return this.currentFinishedPromise.then(e,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}const Qe=(t,e,n)=>t+(e-t)*n;function Jd(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function hT({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,e/=100,n/=100;let o=0,c=0,u=0;if(!e)o=c=u=n;else{const h=n<.5?n*(1+e):n+e-n*e,f=2*n-h;o=Jd(f,h,t+1/3),c=Jd(f,h,t),u=Jd(f,h,t-1/3)}return{red:Math.round(o*255),green:Math.round(c*255),blue:Math.round(u*255),alpha:i}}function dc(t,e){return n=>n>0?e:t}const Zd=(t,e,n)=>{const i=t*t,o=n*(e*e-i)+i;return o<0?0:Math.sqrt(o)},fT=[Kh,li,os],pT=t=>fT.find(e=>e.test(t));function Fy(t){const e=pT(t);if(!e)return!1;let n=e.parse(t);return e===os&&(n=hT(n)),n}const Vy=(t,e)=>{const n=Fy(t),i=Fy(e);if(!n||!i)return dc(t,e);const o={...n};return c=>(o.red=Zd(n.red,i.red,c),o.green=Zd(n.green,i.green,c),o.blue=Zd(n.blue,i.blue,c),o.alpha=Qe(n.alpha,i.alpha,c),li.transform(o))},mT=(t,e)=>n=>e(t(n)),ga=(...t)=>t.reduce(mT),Yh=new Set(["none","hidden"]);function gT(t,e){return Yh.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function yT(t,e){return n=>Qe(t,e,n)}function np(t){return typeof t=="number"?yT:typeof t=="string"?Ff(t)?dc:Nt.test(t)?Vy:wT:Array.isArray(t)?qb:typeof t=="object"?Nt.test(t)?Vy:xT:dc}function qb(t,e){const n=[...t],i=n.length,o=t.map((c,u)=>np(c)(c,e[u]));return c=>{for(let u=0;u<i;u++)n[u]=o[u](c);return n}}function xT(t,e){const n={...t,...e},i={};for(const o in n)t[o]!==void 0&&e[o]!==void 0&&(i[o]=np(t[o])(t[o],e[o]));return o=>{for(const c in i)n[c]=i[c](o);return n}}function vT(t,e){var n;const i=[],o={color:0,var:0,number:0};for(let c=0;c<e.values.length;c++){const u=e.types[c],h=t.indexes[u][o[u]],f=(n=t.values[h])!==null&&n!==void 0?n:0;i[c]=f,o[u]++}return i}const wT=(t,e)=>{const n=Fr.createTransformer(e),i=Jo(t),o=Jo(e);return i.indexes.var.length===o.indexes.var.length&&i.indexes.color.length===o.indexes.color.length&&i.indexes.number.length>=o.indexes.number.length?Yh.has(t)&&!o.values.length||Yh.has(e)&&!i.values.length?gT(t,e):ga(qb(vT(i,o),o.values),n):dc(t,e)};function Wb(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?Qe(t,e,n):np(t)(t,e)}const bT=5;function Hb(t,e,n){const i=Math.max(e-bT,0);return Qf(n-t(i),e-i)}const Je={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},eh=.001;function kT({duration:t=Je.duration,bounce:e=Je.bounce,velocity:n=Je.velocity,mass:i=Je.mass}){let o,c,u=1-e;u=er(Je.minDamping,Je.maxDamping,u),t=er(Je.minDuration,Je.maxDuration,Xn(t)),u<1?(o=m=>{const y=m*u,x=y*t,v=y-n,j=Xh(m,u),b=Math.exp(-x);return eh-v/j*b},c=m=>{const x=m*u*t,v=x*n+n,j=Math.pow(u,2)*Math.pow(m,2)*t,b=Math.exp(-x),N=Xh(Math.pow(m,2),u);return(-o(m)+eh>0?-1:1)*((v-j)*b)/N}):(o=m=>{const y=Math.exp(-m*t),x=(m-n)*t+1;return-eh+y*x},c=m=>{const y=Math.exp(-m*t),x=(n-m)*(t*t);return y*x});const h=5/t,f=NT(o,c,h);if(t=Yn(t),isNaN(f))return{stiffness:Je.stiffness,damping:Je.damping,duration:t};{const m=Math.pow(f,2)*i;return{stiffness:m,damping:u*2*Math.sqrt(i*m),duration:t}}}const jT=12;function NT(t,e,n){let i=n;for(let o=1;o<jT;o++)i=i-t(i)/e(i);return i}function Xh(t,e){return t*Math.sqrt(1-e*e)}const ST=["duration","bounce"],CT=["stiffness","damping","mass"];function zy(t,e){return e.some(n=>t[n]!==void 0)}function ET(t){let e={velocity:Je.velocity,stiffness:Je.stiffness,damping:Je.damping,mass:Je.mass,isResolvedFromDuration:!1,...t};if(!zy(t,CT)&&zy(t,ST))if(t.visualDuration){const n=t.visualDuration,i=2*Math.PI/(n*1.2),o=i*i,c=2*er(.05,1,1-(t.bounce||0))*Math.sqrt(o);e={...e,mass:Je.mass,stiffness:o,damping:c}}else{const n=kT(t);e={...e,...n,mass:Je.mass},e.isResolvedFromDuration=!0}return e}function Gb(t=Je.visualDuration,e=Je.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:i,restDelta:o}=n;const c=n.keyframes[0],u=n.keyframes[n.keyframes.length-1],h={done:!1,value:c},{stiffness:f,damping:m,mass:y,duration:x,velocity:v,isResolvedFromDuration:j}=ET({...n,velocity:-Xn(n.velocity||0)}),b=v||0,N=m/(2*Math.sqrt(f*y)),k=u-c,A=Xn(Math.sqrt(f/y)),I=Math.abs(k)<5;i||(i=I?Je.restSpeed.granular:Je.restSpeed.default),o||(o=I?Je.restDelta.granular:Je.restDelta.default);let E;if(N<1){const F=Xh(A,N);E=W=>{const Z=Math.exp(-N*A*W);return u-Z*((b+N*A*k)/F*Math.sin(F*W)+k*Math.cos(F*W))}}else if(N===1)E=F=>u-Math.exp(-A*F)*(k+(b+A*k)*F);else{const F=A*Math.sqrt(N*N-1);E=W=>{const Z=Math.exp(-N*A*W),T=Math.min(F*W,300);return u-Z*((b+N*A*k)*Math.sinh(T)+F*k*Math.cosh(T))/F}}const _={calculatedDuration:j&&x||null,next:F=>{const W=E(F);if(j)h.done=F>=x;else{let Z=0;N<1&&(Z=F===0?Yn(b):Hb(E,F,W));const T=Math.abs(Z)<=i,H=Math.abs(u-W)<=o;h.done=T&&H}return h.value=h.done?u:W,h},toString:()=>{const F=Math.min(hb(_),$h),W=fb(Z=>_.next(F*Z).value,F,30);return F+"ms "+W}};return _}function By({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:o=10,bounceStiffness:c=500,modifyTarget:u,min:h,max:f,restDelta:m=.5,restSpeed:y}){const x=t[0],v={done:!1,value:x},j=T=>h!==void 0&&T<h||f!==void 0&&T>f,b=T=>h===void 0?f:f===void 0||Math.abs(h-T)<Math.abs(f-T)?h:f;let N=n*e;const k=x+N,A=u===void 0?k:u(k);A!==k&&(N=A-x);const I=T=>-N*Math.exp(-T/i),E=T=>A+I(T),_=T=>{const H=I(T),Y=E(T);v.done=Math.abs(H)<=m,v.value=v.done?A:Y};let F,W;const Z=T=>{j(v.value)&&(F=T,W=Gb({keyframes:[v.value,b(v.value)],velocity:Hb(E,T,v.value),damping:o,stiffness:c,restDelta:m,restSpeed:y}))};return Z(0),{calculatedDuration:null,next:T=>{let H=!1;return!W&&F===void 0&&(H=!0,_(T),Z(T)),F!==void 0&&T>=F?W.next(T-F):(!H&&_(T),v)}}}const PT=ma(.42,0,1,1),TT=ma(0,0,.58,1),Kb=ma(.42,0,.58,1),_T=t=>Array.isArray(t)&&typeof t[0]!="number",AT={linear:Rt,easeIn:PT,easeInOut:Kb,easeOut:TT,circIn:Xf,circInOut:Pb,circOut:Eb,backIn:Yf,backInOut:Sb,backOut:Nb,anticipate:Cb},Uy=t=>{if(qf(t)){Ww(t.length===4);const[e,n,i,o]=t;return ma(e,n,i,o)}else if(typeof t=="string")return AT[t];return t};function RT(t,e,n){const i=[],o=n||Wb,c=t.length-1;for(let u=0;u<c;u++){let h=o(t[u],t[u+1]);if(e){const f=Array.isArray(e)?e[u]||Rt:e;h=ga(f,h)}i.push(h)}return i}function rp(t,e,{clamp:n=!0,ease:i,mixer:o}={}){const c=t.length;if(Ww(c===e.length),c===1)return()=>e[0];if(c===2&&t[0]===t[1])return()=>e[1];t[0]>t[c-1]&&(t=[...t].reverse(),e=[...e].reverse());const u=RT(e,i,o),h=u.length,f=m=>{let y=0;if(h>1)for(;y<t.length-2&&!(m<t[y+1]);y++);const x=ji(t[y],t[y+1],m);return u[y](x)};return n?m=>f(er(t[0],t[c-1],m)):f}function IT(t,e){const n=t[t.length-1];for(let i=1;i<=e;i++){const o=ji(0,e,i);t.push(Qe(n,1,o))}}function Qb(t){const e=[0];return IT(e,t.length-1),e}function OT(t,e){return t.map(n=>n*e)}function MT(t,e){return t.map(()=>e||Kb).splice(0,t.length-1)}function hc({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){const o=_T(i)?i.map(Uy):Uy(i),c={done:!1,value:e[0]},u=OT(n&&n.length===e.length?n:Qb(e),t),h=rp(u,e,{ease:Array.isArray(o)?o:MT(e,o)});return{calculatedDuration:t,next:f=>(c.value=h(f),c.done=f>=t,c)}}const LT=t=>{const e=({timestamp:n})=>t(n);return{start:()=>Le.update(e,!0),stop:()=>vn(e),now:()=>mt.isProcessing?mt.timestamp:Mn.now()}},DT={decay:By,inertia:By,tween:hc,keyframes:hc,spring:Gb},FT=t=>t/100;class ip extends $b{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:f}=this.options;f&&f()};const{name:n,motionValue:i,element:o,keyframes:c}=this.options,u=(o==null?void 0:o.KeyframeResolver)||Jf,h=(f,m)=>this.onKeyframesResolved(f,m);this.resolver=new u(c,h,n,i,o),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:n="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:c,velocity:u=0}=this.options,h=$f(n)?n:DT[n]||hc;let f,m;h!==hc&&typeof e[0]!="number"&&(f=ga(FT,Wb(e[0],e[1])),e=[0,100]);const y=h({...this.options,keyframes:e});c==="mirror"&&(m=h({...this.options,keyframes:[...e].reverse(),velocity:-u})),y.calculatedDuration===null&&(y.calculatedDuration=hb(y));const{calculatedDuration:x}=y,v=x+o,j=v*(i+1)-o;return{generator:y,mirroredGenerator:m,mapPercentToKeyframes:f,calculatedDuration:x,resolvedDuration:v,totalDuration:j}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,n=!1){const{resolved:i}=this;if(!i){const{keyframes:T}=this.options;return{done:!0,value:T[T.length-1]}}const{finalKeyframe:o,generator:c,mirroredGenerator:u,mapPercentToKeyframes:h,keyframes:f,calculatedDuration:m,totalDuration:y,resolvedDuration:x}=i;if(this.startTime===null)return c.next(0);const{delay:v,repeat:j,repeatType:b,repeatDelay:N,onUpdate:k}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-y/this.speed,this.startTime)),n?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const A=this.currentTime-v*(this.speed>=0?1:-1),I=this.speed>=0?A<0:A>y;this.currentTime=Math.max(A,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=y);let E=this.currentTime,_=c;if(j){const T=Math.min(this.currentTime,y)/x;let H=Math.floor(T),Y=T%1;!Y&&T>=1&&(Y=1),Y===1&&H--,H=Math.min(H,j+1),!!(H%2)&&(b==="reverse"?(Y=1-Y,N&&(Y-=N/x)):b==="mirror"&&(_=u)),E=er(0,1,Y)*x}const F=I?{done:!1,value:f[0]}:_.next(E);h&&(F.value=h(F.value));let{done:W}=F;!I&&m!==null&&(W=this.speed>=0?this.currentTime>=y:this.currentTime<=0);const Z=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&W);return Z&&o!==void 0&&(F.value=Oc(f,this.options,o)),k&&k(F.value),Z&&this.finish(),F}get duration(){const{resolved:e}=this;return e?Xn(e.calculatedDuration):0}get time(){return Xn(this.currentTime)}set time(e){e=Yn(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=Xn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:e=LT,onPlay:n,startTime:i}=this.options;this.driver||(this.driver=e(c=>this.tick(c))),n&&n();const o=this.driver.now();this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=o):this.startTime=i??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const VT=new Set(["opacity","clipPath","filter","transform"]);function zT(t,e,n,{delay:i=0,duration:o=300,repeat:c=0,repeatType:u="loop",ease:h="easeInOut",times:f}={}){const m={[e]:n};f&&(m.offset=f);const y=mb(h,o);return Array.isArray(y)&&(m.easing=y),t.animate(m,{delay:i,duration:o,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:c+1,direction:u==="reverse"?"alternate":"normal"})}const BT=Ef(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),fc=10,UT=2e4;function $T(t){return $f(t.type)||t.type==="spring"||!pb(t.ease)}function qT(t,e){const n=new ip({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let i={done:!1,value:t[0]};const o=[];let c=0;for(;!i.done&&c<UT;)i=n.sample(c),o.push(i.value),c+=fc;return{times:void 0,keyframes:o,duration:c-fc,ease:"linear"}}const Yb={anticipate:Cb,backInOut:Sb,circInOut:Pb};function WT(t){return t in Yb}class $y extends $b{constructor(e){super(e);const{name:n,motionValue:i,element:o,keyframes:c}=this.options;this.resolver=new Ub(c,(u,h)=>this.onKeyframesResolved(u,h),n,i,o),this.resolver.scheduleResolve()}initPlayback(e,n){var i;let{duration:o=300,times:c,ease:u,type:h,motionValue:f,name:m,startTime:y}=this.options;if(!(!((i=f.owner)===null||i===void 0)&&i.current))return!1;if(typeof u=="string"&&uc()&&WT(u)&&(u=Yb[u]),$T(this.options)){const{onComplete:v,onUpdate:j,motionValue:b,element:N,...k}=this.options,A=qT(e,k);e=A.keyframes,e.length===1&&(e[1]=e[0]),o=A.duration,c=A.times,u=A.ease,h="keyframes"}const x=zT(f.owner.current,m,e,{...this.options,duration:o,times:c,ease:u});return x.startTime=y??this.calcStartTime(),this.pendingTimeline?(Ey(x,this.pendingTimeline),this.pendingTimeline=void 0):x.onfinish=()=>{const{onComplete:v}=this.options;f.set(Oc(e,this.options,n)),v&&v(),this.cancel(),this.resolveFinishedPromise()},{animation:x,duration:o,times:c,type:h,ease:u,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:n}=e;return Xn(n)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:n}=e;return Xn(n.currentTime||0)}set time(e){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.currentTime=Yn(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:n}=e;return n.playbackRate}set speed(e){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:n}=e;return n.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:n}=e;return n.startTime}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{const{resolved:n}=this;if(!n)return Rt;const{animation:i}=n;Ey(i,e)}return Rt}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:n,keyframes:i,duration:o,type:c,ease:u,times:h}=e;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:m,onUpdate:y,onComplete:x,element:v,...j}=this.options,b=new ip({...j,keyframes:i,duration:o,type:c,ease:u,times:h,isGenerator:!0}),N=Yn(this.time);m.setWithVelocity(b.sample(N-fc).value,b.sample(N).value,fc)}const{onStop:f}=this.options;f&&f(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:n,name:i,repeatDelay:o,repeatType:c,damping:u,type:h}=e;return BT()&&i&&VT.has(i)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!o&&c!=="mirror"&&u!==0&&h!=="inertia"}}const HT={type:"spring",stiffness:500,damping:25,restSpeed:10},GT=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),KT={type:"keyframes",duration:.8},QT={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},YT=(t,{keyframes:e})=>e.length>2?KT:Pi.has(t)?t.startsWith("scale")?GT(e[1]):HT:QT;function XT({when:t,delay:e,delayChildren:n,staggerChildren:i,staggerDirection:o,repeat:c,repeatType:u,repeatDelay:h,from:f,elapsed:m,...y}){return!!Object.keys(y).length}const sp=(t,e,n,i={},o,c)=>u=>{const h=Uf(i,t)||{},f=h.delay||i.delay||0;let{elapsed:m=0}=i;m=m-Yn(f);let y={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...h,delay:-m,onUpdate:v=>{e.set(v),h.onUpdate&&h.onUpdate(v)},onComplete:()=>{u(),h.onComplete&&h.onComplete()},name:t,motionValue:e,element:c?void 0:o};XT(h)||(y={...y,...YT(t,y)}),y.duration&&(y.duration=Yn(y.duration)),y.repeatDelay&&(y.repeatDelay=Yn(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let x=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(y.duration=0,y.delay===0&&(x=!0)),x&&!c&&e.get()!==void 0){const v=Oc(y.keyframes,h);if(v!==void 0)return Le.update(()=>{y.onUpdate(v),y.onComplete()}),new xP([])}return!c&&$y.supports(y)?new $y(y):new ip(y)};function JT({protectedKeys:t,needsAnimating:e},n){const i=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,i}function Xb(t,e,{delay:n=0,transitionOverride:i,type:o}={}){var c;let{transition:u=t.getDefaultTransition(),transitionEnd:h,...f}=e;i&&(u=i);const m=[],y=o&&t.animationState&&t.animationState.getState()[o];for(const x in f){const v=t.getValue(x,(c=t.latestValues[x])!==null&&c!==void 0?c:null),j=f[x];if(j===void 0||y&&JT(y,x))continue;const b={delay:n,...Uf(u||{},x)};let N=!1;if(window.MotionHandoffAnimation){const A=wb(t);if(A){const I=window.MotionHandoffAnimation(A,x,Le);I!==null&&(b.startTime=I,N=!0)}}Wh(t,x),v.start(sp(x,v,j,t.shouldReduceMotion&&Pi.has(x)?{type:!1}:b,t,N));const k=v.animation;k&&m.push(k)}return h&&Promise.all(m).then(()=>{Le.update(()=>{h&&AP(t,h)})}),m}function Jh(t,e,n={}){var i;const o=Ic(t,e,n.type==="exit"?(i=t.presenceContext)===null||i===void 0?void 0:i.custom:void 0);let{transition:c=t.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(c=n.transitionOverride);const u=o?()=>Promise.all(Xb(t,o,n)):()=>Promise.resolve(),h=t.variantChildren&&t.variantChildren.size?(m=0)=>{const{delayChildren:y=0,staggerChildren:x,staggerDirection:v}=c;return ZT(t,e,y+m,x,v,n)}:()=>Promise.resolve(),{when:f}=c;if(f){const[m,y]=f==="beforeChildren"?[u,h]:[h,u];return m().then(()=>y())}else return Promise.all([u(),h(n.delay)])}function ZT(t,e,n=0,i=0,o=1,c){const u=[],h=(t.variantChildren.size-1)*i,f=o===1?(m=0)=>m*i:(m=0)=>h-m*i;return Array.from(t.variantChildren).sort(e5).forEach((m,y)=>{m.notify("AnimationStart",e),u.push(Jh(m,e,{...c,delay:n+f(y)}).then(()=>m.notify("AnimationComplete",e)))}),Promise.all(u)}function e5(t,e){return t.sortNodePosition(e)}function t5(t,e,n={}){t.notify("AnimationStart",e);let i;if(Array.isArray(e)){const o=e.map(c=>Jh(t,c,n));i=Promise.all(o)}else if(typeof e=="string")i=Jh(t,e,n);else{const o=typeof e=="function"?Ic(t,e,n.custom):e;i=Promise.all(Xb(t,o,n))}return i.then(()=>{t.notify("AnimationComplete",e)})}const n5=_f.length;function Jb(t){if(!t)return;if(!t.isControllingVariants){const n=t.parent?Jb(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}const e={};for(let n=0;n<n5;n++){const i=_f[n],o=t.props[i];(Yo(o)||o===!1)&&(e[i]=o)}return e}const r5=[...Tf].reverse(),i5=Tf.length;function s5(t){return e=>Promise.all(e.map(({animation:n,options:i})=>t5(t,n,i)))}function o5(t){let e=s5(t),n=qy(),i=!0;const o=f=>(m,y)=>{var x;const v=Ic(t,y,f==="exit"?(x=t.presenceContext)===null||x===void 0?void 0:x.custom:void 0);if(v){const{transition:j,transitionEnd:b,...N}=v;m={...m,...N,...b}}return m};function c(f){e=f(t)}function u(f){const{props:m}=t,y=Jb(t.parent)||{},x=[],v=new Set;let j={},b=1/0;for(let k=0;k<i5;k++){const A=r5[k],I=n[A],E=m[A]!==void 0?m[A]:y[A],_=Yo(E),F=A===f?I.isActive:null;F===!1&&(b=k);let W=E===y[A]&&E!==m[A]&&_;if(W&&i&&t.manuallyAnimateOnMount&&(W=!1),I.protectedKeys={...j},!I.isActive&&F===null||!E&&!I.prevProp||Ac(E)||typeof E=="boolean")continue;const Z=a5(I.prevProp,E);let T=Z||A===f&&I.isActive&&!W&&_||k>b&&_,H=!1;const Y=Array.isArray(E)?E:[E];let te=Y.reduce(o(A),{});F===!1&&(te={});const{prevResolvedValues:O={}}=I,B={...O,...te},K=se=>{T=!0,v.has(se)&&(H=!0,v.delete(se)),I.needsAnimating[se]=!0;const z=t.getValue(se);z&&(z.liveStyle=!1)};for(const se in B){const z=te[se],oe=O[se];if(j.hasOwnProperty(se))continue;let ie=!1;Uh(z)&&Uh(oe)?ie=!ub(z,oe):ie=z!==oe,ie?z!=null?K(se):v.add(se):z!==void 0&&v.has(se)?K(se):I.protectedKeys[se]=!0}I.prevProp=E,I.prevResolvedValues=te,I.isActive&&(j={...j,...te}),i&&t.blockInitialAnimation&&(T=!1),T&&(!(W&&Z)||H)&&x.push(...Y.map(se=>({animation:se,options:{type:A}})))}if(v.size){const k={};v.forEach(A=>{const I=t.getBaseTarget(A),E=t.getValue(A);E&&(E.liveStyle=!0),k[A]=I??null}),x.push({animation:k})}let N=!!x.length;return i&&(m.initial===!1||m.initial===m.animate)&&!t.manuallyAnimateOnMount&&(N=!1),i=!1,N?e(x):Promise.resolve()}function h(f,m){var y;if(n[f].isActive===m)return Promise.resolve();(y=t.variantChildren)===null||y===void 0||y.forEach(v=>{var j;return(j=v.animationState)===null||j===void 0?void 0:j.setActive(f,m)}),n[f].isActive=m;const x=u(f);for(const v in n)n[v].protectedKeys={};return x}return{animateChanges:u,setActive:h,setAnimateFunction:c,getState:()=>n,reset:()=>{n=qy(),i=!0}}}function a5(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!ub(e,t):!1}function ti(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function qy(){return{animate:ti(!0),whileInView:ti(),whileHover:ti(),whileTap:ti(),whileDrag:ti(),whileFocus:ti(),exit:ti()}}class Vr{constructor(e){this.isMounted=!1,this.node=e}update(){}}class l5 extends Vr{constructor(e){super(e),e.animationState||(e.animationState=o5(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();Ac(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)===null||e===void 0||e.call(this)}}let c5=0;class u5 extends Vr{constructor(){super(...arguments),this.id=c5++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;const o=this.node.animationState.setActive("exit",!e);n&&!e&&o.then(()=>n(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}const d5={animation:{Feature:l5},exit:{Feature:u5}};function Zo(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}function ya(t){return{point:{x:t.pageX,y:t.pageY}}}const h5=t=>e=>Wf(e)&&t(e,ya(e));function Bo(t,e,n,i){return Zo(t,e,h5(n),i)}const Wy=(t,e)=>Math.abs(t-e);function f5(t,e){const n=Wy(t.x,e.x),i=Wy(t.y,e.y);return Math.sqrt(n**2+i**2)}class Zb{constructor(e,n,{transformPagePoint:i,contextWindow:o,dragSnapToOrigin:c=!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 x=nh(this.lastMoveEventInfo,this.history),v=this.startEvent!==null,j=f5(x.offset,{x:0,y:0})>=3;if(!v&&!j)return;const{point:b}=x,{timestamp:N}=mt;this.history.push({...b,timestamp:N});const{onStart:k,onMove:A}=this.handlers;v||(k&&k(this.lastMoveEvent,x),this.startEvent=this.lastMoveEvent),A&&A(this.lastMoveEvent,x)},this.handlePointerMove=(x,v)=>{this.lastMoveEvent=x,this.lastMoveEventInfo=th(v,this.transformPagePoint),Le.update(this.updatePoint,!0)},this.handlePointerUp=(x,v)=>{this.end();const{onEnd:j,onSessionEnd:b,resumeAnimation:N}=this.handlers;if(this.dragSnapToOrigin&&N&&N(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const k=nh(x.type==="pointercancel"?this.lastMoveEventInfo:th(v,this.transformPagePoint),this.history);this.startEvent&&j&&j(x,k),b&&b(x,k)},!Wf(e))return;this.dragSnapToOrigin=c,this.handlers=n,this.transformPagePoint=i,this.contextWindow=o||window;const u=ya(e),h=th(u,this.transformPagePoint),{point:f}=h,{timestamp:m}=mt;this.history=[{...f,timestamp:m}];const{onSessionStart:y}=n;y&&y(e,nh(h,this.history)),this.removeListeners=ga(Bo(this.contextWindow,"pointermove",this.handlePointerMove),Bo(this.contextWindow,"pointerup",this.handlePointerUp),Bo(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),vn(this.updatePoint)}}function th(t,e){return e?{point:e(t.point)}:t}function Hy(t,e){return{x:t.x-e.x,y:t.y-e.y}}function nh({point:t},e){return{point:t,delta:Hy(t,e1(e)),offset:Hy(t,p5(e)),velocity:m5(e,.1)}}function p5(t){return t[0]}function e1(t){return t[t.length-1]}function m5(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null;const o=e1(t);for(;n>=0&&(i=t[n],!(o.timestamp-i.timestamp>Yn(e)));)n--;if(!i)return{x:0,y:0};const c=Xn(o.timestamp-i.timestamp);if(c===0)return{x:0,y:0};const u={x:(o.x-i.x)/c,y:(o.y-i.y)/c};return u.x===1/0&&(u.x=0),u.y===1/0&&(u.y=0),u}const t1=1e-4,g5=1-t1,y5=1+t1,n1=.01,x5=0-n1,v5=0+n1;function Kt(t){return t.max-t.min}function w5(t,e,n){return Math.abs(t-e)<=n}function Gy(t,e,n,i=.5){t.origin=i,t.originPoint=Qe(e.min,e.max,t.origin),t.scale=Kt(n)/Kt(e),t.translate=Qe(n.min,n.max,t.origin)-t.originPoint,(t.scale>=g5&&t.scale<=y5||isNaN(t.scale))&&(t.scale=1),(t.translate>=x5&&t.translate<=v5||isNaN(t.translate))&&(t.translate=0)}function Uo(t,e,n,i){Gy(t.x,e.x,n.x,i?i.originX:void 0),Gy(t.y,e.y,n.y,i?i.originY:void 0)}function Ky(t,e,n){t.min=n.min+e.min,t.max=t.min+Kt(e)}function b5(t,e,n){Ky(t.x,e.x,n.x),Ky(t.y,e.y,n.y)}function Qy(t,e,n){t.min=e.min-n.min,t.max=t.min+Kt(e)}function $o(t,e,n){Qy(t.x,e.x,n.x),Qy(t.y,e.y,n.y)}function k5(t,{min:e,max:n},i){return e!==void 0&&t<e?t=i?Qe(e,t,i.min):Math.max(t,e):n!==void 0&&t>n&&(t=i?Qe(n,t,i.max):Math.min(t,n)),t}function Yy(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function j5(t,{top:e,left:n,bottom:i,right:o}){return{x:Yy(t.x,n,o),y:Yy(t.y,e,i)}}function Xy(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}function N5(t,e){return{x:Xy(t.x,e.x),y:Xy(t.y,e.y)}}function S5(t,e){let n=.5;const i=Kt(t),o=Kt(e);return o>i?n=ji(e.min,e.max-i,t.min):i>o&&(n=ji(t.min,t.max-o,e.min)),er(0,1,n)}function C5(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const Zh=.35;function E5(t=Zh){return t===!1?t=0:t===!0&&(t=Zh),{x:Jy(t,"left","right"),y:Jy(t,"top","bottom")}}function Jy(t,e,n){return{min:Zy(t,e),max:Zy(t,n)}}function Zy(t,e){return typeof t=="number"?t:t[e]||0}const ex=()=>({translate:0,scale:1,origin:0,originPoint:0}),as=()=>({x:ex(),y:ex()}),tx=()=>({min:0,max:0}),nt=()=>({x:tx(),y:tx()});function rn(t){return[t("x"),t("y")]}function r1({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function P5({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function T5(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function rh(t){return t===void 0||t===1}function ef({scale:t,scaleX:e,scaleY:n}){return!rh(t)||!rh(e)||!rh(n)}function ri(t){return ef(t)||i1(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function i1(t){return nx(t.x)||nx(t.y)}function nx(t){return t&&t!=="0%"}function pc(t,e,n){const i=t-n,o=e*i;return n+o}function rx(t,e,n,i,o){return o!==void 0&&(t=pc(t,o,i)),pc(t,n,i)+e}function tf(t,e=0,n=1,i,o){t.min=rx(t.min,e,n,i,o),t.max=rx(t.max,e,n,i,o)}function s1(t,{x:e,y:n}){tf(t.x,e.translate,e.scale,e.originPoint),tf(t.y,n.translate,n.scale,n.originPoint)}const ix=.999999999999,sx=1.0000000000001;function _5(t,e,n,i=!1){const o=n.length;if(!o)return;e.x=e.y=1;let c,u;for(let h=0;h<o;h++){c=n[h],u=c.projectionDelta;const{visualElement:f}=c.options;f&&f.props.style&&f.props.style.display==="contents"||(i&&c.options.layoutScroll&&c.scroll&&c!==c.root&&cs(t,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),u&&(e.x*=u.x.scale,e.y*=u.y.scale,s1(t,u)),i&&ri(c.latestValues)&&cs(t,c.latestValues))}e.x<sx&&e.x>ix&&(e.x=1),e.y<sx&&e.y>ix&&(e.y=1)}function ls(t,e){t.min=t.min+e,t.max=t.max+e}function ox(t,e,n,i,o=.5){const c=Qe(t.min,t.max,o);tf(t,e,n,c,i)}function cs(t,e){ox(t.x,e.x,e.scaleX,e.scale,e.originX),ox(t.y,e.y,e.scaleY,e.scale,e.originY)}function o1(t,e){return r1(T5(t.getBoundingClientRect(),e))}function A5(t,e,n){const i=o1(t,n),{scroll:o}=e;return o&&(ls(i.x,o.offset.x),ls(i.y,o.offset.y)),i}const a1=({current:t})=>t?t.ownerDocument.defaultView:null,R5=new WeakMap;class I5{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=nt(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const o=y=>{const{dragSnapToOrigin:x}=this.getProps();x?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(ya(y).point)},c=(y,x)=>{const{drag:v,dragPropagation:j,onDragStart:b}=this.getProps();if(v&&!j&&(this.openDragLock&&this.openDragLock(),this.openDragLock=CP(v),!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),rn(k=>{let A=this.getAxisMotionValue(k).get()||0;if(On.test(A)){const{projection:I}=this.visualElement;if(I&&I.layout){const E=I.layout.layoutBox[k];E&&(A=Kt(E)*(parseFloat(A)/100))}}this.originPoint[k]=A}),b&&Le.postRender(()=>b(y,x)),Wh(this.visualElement,"transform");const{animationState:N}=this.visualElement;N&&N.setActive("whileDrag",!0)},u=(y,x)=>{const{dragPropagation:v,dragDirectionLock:j,onDirectionLock:b,onDrag:N}=this.getProps();if(!v&&!this.openDragLock)return;const{offset:k}=x;if(j&&this.currentDirection===null){this.currentDirection=O5(k),this.currentDirection!==null&&b&&b(this.currentDirection);return}this.updateAxis("x",x.point,k),this.updateAxis("y",x.point,k),this.visualElement.render(),N&&N(y,x)},h=(y,x)=>this.stop(y,x),f=()=>rn(y=>{var x;return this.getAnimationState(y)==="paused"&&((x=this.getAxisMotionValue(y).animation)===null||x===void 0?void 0:x.play())}),{dragSnapToOrigin:m}=this.getProps();this.panSession=new Zb(e,{onSessionStart:o,onStart:c,onMove:u,onSessionEnd:h,resumeAnimation:f},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:m,contextWindow:a1(this.visualElement)})}stop(e,n){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:c}=this.getProps();c&&Le.postRender(()=>c(e,n))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,i){const{drag:o}=this.getProps();if(!i||!Vl(e,o,this.currentDirection))return;const c=this.getAxisMotionValue(e);let u=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(u=k5(u,this.constraints[e],this.elastic[e])),c.set(u)}resolveConstraints(){var e;const{dragConstraints:n,dragElastic:i}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,c=this.constraints;n&&ss(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=j5(o.layoutBox,n):this.constraints=!1,this.elastic=E5(i),c!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&rn(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=C5(o.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!ss(e))return!1;const i=e.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const c=A5(i,o.root,this.visualElement.getTransformPagePoint());let u=N5(o.layout.layoutBox,c);if(n){const h=n(P5(u));this.hasMutatedConstraints=!!h,h&&(u=r1(h))}return u}startAnimation(e){const{drag:n,dragMomentum:i,dragElastic:o,dragTransition:c,dragSnapToOrigin:u,onDragTransitionEnd:h}=this.getProps(),f=this.constraints||{},m=rn(y=>{if(!Vl(y,n,this.currentDirection))return;let x=f&&f[y]||{};u&&(x={min:0,max:0});const v=o?200:1e6,j=o?40:1e7,b={type:"inertia",velocity:i?e[y]:0,bounceStiffness:v,bounceDamping:j,timeConstant:750,restDelta:1,restSpeed:10,...c,...x};return this.startAxisValueAnimation(y,b)});return Promise.all(m).then(h)}startAxisValueAnimation(e,n){const i=this.getAxisMotionValue(e);return Wh(this.visualElement,e),i.start(sp(e,i,0,n,this.visualElement,!1))}stopAnimation(){rn(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){rn(e=>{var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(e){var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,i=this.visualElement.getProps(),o=i[n];return o||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){rn(n=>{const{drag:i}=this.getProps();if(!Vl(n,i,this.currentDirection))return;const{projection:o}=this.visualElement,c=this.getAxisMotionValue(n);if(o&&o.layout){const{min:u,max:h}=o.layout.layoutBox[n];c.set(e[n]-Qe(u,h,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:i}=this.visualElement;if(!ss(n)||!i||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};rn(u=>{const h=this.getAxisMotionValue(u);if(h&&this.constraints!==!1){const f=h.get();o[u]=S5({min:f,max:f},this.constraints[u])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),rn(u=>{if(!Vl(u,e,null))return;const h=this.getAxisMotionValue(u),{min:f,max:m}=this.constraints[u];h.set(Qe(f,m,o[u]))})}addListeners(){if(!this.visualElement.current)return;R5.set(this.visualElement,this);const e=this.visualElement.current,n=Bo(e,"pointerdown",f=>{const{drag:m,dragListener:y=!0}=this.getProps();m&&y&&this.start(f)}),i=()=>{const{dragConstraints:f}=this.getProps();ss(f)&&f.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,c=o.addEventListener("measure",i);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),Le.read(i);const u=Zo(window,"resize",()=>this.scalePositionWithinConstraints()),h=o.addEventListener("didUpdate",(({delta:f,hasLayoutChanged:m})=>{this.isDragging&&m&&(rn(y=>{const x=this.getAxisMotionValue(y);x&&(this.originPoint[y]+=f[y].translate,x.set(x.get()+f[y].translate))}),this.visualElement.render())}));return()=>{u(),n(),c(),h&&h()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:i=!1,dragPropagation:o=!1,dragConstraints:c=!1,dragElastic:u=Zh,dragMomentum:h=!0}=e;return{...e,drag:n,dragDirectionLock:i,dragPropagation:o,dragConstraints:c,dragElastic:u,dragMomentum:h}}}function Vl(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function O5(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class M5 extends Vr{constructor(e){super(e),this.removeGroupControls=Rt,this.removeListeners=Rt,this.controls=new I5(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Rt}unmount(){this.removeGroupControls(),this.removeListeners()}}const ax=t=>(e,n)=>{t&&Le.postRender(()=>t(e,n))};class L5 extends Vr{constructor(){super(...arguments),this.removePointerDownListener=Rt}onPointerDown(e){this.session=new Zb(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:a1(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:i,onPanEnd:o}=this.node.getProps();return{onSessionStart:ax(e),onStart:ax(n),onMove:i,onEnd:(c,u)=>{delete this.session,o&&Le.postRender(()=>o(c,u))}}}mount(){this.removePointerDownListener=Bo(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function D5(){const t=P.useContext(Ec);if(t===null)return[!0,null];const{isPresent:e,onExitComplete:n,register:i}=t,o=P.useId();P.useEffect(()=>i(o),[]);const c=P.useCallback(()=>n&&n(o),[o,n]);return!e&&n?[!1,c]:[!0]}const Zl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function lx(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Eo={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(ke.test(t))t=parseFloat(t);else return t;const n=lx(t,e.target.x),i=lx(t,e.target.y);return`${n}% ${i}%`}},F5={correct:(t,{treeScale:e,projectionDelta:n})=>{const i=t,o=Fr.parse(t);if(o.length>5)return i;const c=Fr.createTransformer(t),u=typeof o[0]!="number"?1:0,h=n.x.scale*e.x,f=n.y.scale*e.y;o[0+u]/=h,o[1+u]/=f;const m=Qe(h,f,.5);return typeof o[2+u]=="number"&&(o[2+u]/=m),typeof o[3+u]=="number"&&(o[3+u]/=m),c(o)}};class V5 extends P.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:i,layoutId:o}=this.props,{projection:c}=e;W4(z5),c&&(n.group&&n.group.add(c),i&&i.register&&o&&i.register(c),c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,onExitComplete:()=>this.safeToRemove()})),Zl.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:i,drag:o,isPresent:c}=this.props,u=i.projection;return u&&(u.isPresent=c,o||e.layoutDependency!==n||n===void 0?u.willUpdate():this.safeToRemove(),e.isPresent!==c&&(c?u.promote():u.relegate()||Le.postRender(()=>{const h=u.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Rf.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:i}=this.props,{projection:o}=e;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),i&&i.deregister&&i.deregister(o))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function l1(t){const[e,n]=D5(),i=P.useContext(Cf);return a.jsx(V5,{...t,layoutGroup:i,switchLayoutGroup:P.useContext(Xw),isPresent:e,safeToRemove:n})}const z5={borderRadius:{...Eo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Eo,borderTopRightRadius:Eo,borderBottomLeftRadius:Eo,borderBottomRightRadius:Eo,boxShadow:F5};function B5(t,e,n){const i=Ct(t)?t:Rn(t);return i.start(sp("",i,e,n)),i.animation}function U5(t){return t instanceof SVGElement&&t.tagName!=="svg"}const $5=(t,e)=>t.depth-e.depth;class q5{constructor(){this.children=[],this.isDirty=!1}add(e){Hf(this.children,e),this.isDirty=!0}remove(e){Gf(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort($5),this.isDirty=!1,this.children.forEach(e)}}function W5(t,e){const n=Mn.now(),i=({timestamp:o})=>{const c=o-n;c>=e&&(vn(i),t(c-e))};return Le.read(i,!0),()=>vn(i)}const c1=["TopLeft","TopRight","BottomLeft","BottomRight"],H5=c1.length,cx=t=>typeof t=="string"?parseFloat(t):t,ux=t=>typeof t=="number"||ke.test(t);function G5(t,e,n,i,o,c){o?(t.opacity=Qe(0,n.opacity!==void 0?n.opacity:1,K5(i)),t.opacityExit=Qe(e.opacity!==void 0?e.opacity:1,0,Q5(i))):c&&(t.opacity=Qe(e.opacity!==void 0?e.opacity:1,n.opacity!==void 0?n.opacity:1,i));for(let u=0;u<H5;u++){const h=`border${c1[u]}Radius`;let f=dx(e,h),m=dx(n,h);if(f===void 0&&m===void 0)continue;f||(f=0),m||(m=0),f===0||m===0||ux(f)===ux(m)?(t[h]=Math.max(Qe(cx(f),cx(m),i),0),(On.test(m)||On.test(f))&&(t[h]+="%")):t[h]=m}(e.rotate||n.rotate)&&(t.rotate=Qe(e.rotate||0,n.rotate||0,i))}function dx(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const K5=u1(0,.5,Eb),Q5=u1(.5,.95,Rt);function u1(t,e,n){return i=>i<t?0:i>e?1:n(ji(t,e,i))}function hx(t,e){t.min=e.min,t.max=e.max}function tn(t,e){hx(t.x,e.x),hx(t.y,e.y)}function fx(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function px(t,e,n,i,o){return t-=e,t=pc(t,1/n,i),o!==void 0&&(t=pc(t,1/o,i)),t}function Y5(t,e=0,n=1,i=.5,o,c=t,u=t){if(On.test(e)&&(e=parseFloat(e),e=Qe(u.min,u.max,e/100)-u.min),typeof e!="number")return;let h=Qe(c.min,c.max,i);t===c&&(h-=e),t.min=px(t.min,e,n,h,o),t.max=px(t.max,e,n,h,o)}function mx(t,e,[n,i,o],c,u){Y5(t,e[n],e[i],e[o],e.scale,c,u)}const X5=["x","scaleX","originX"],J5=["y","scaleY","originY"];function gx(t,e,n,i){mx(t.x,e,X5,n?n.x:void 0,i?i.x:void 0),mx(t.y,e,J5,n?n.y:void 0,i?i.y:void 0)}function yx(t){return t.translate===0&&t.scale===1}function d1(t){return yx(t.x)&&yx(t.y)}function xx(t,e){return t.min===e.min&&t.max===e.max}function Z5(t,e){return xx(t.x,e.x)&&xx(t.y,e.y)}function vx(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function h1(t,e){return vx(t.x,e.x)&&vx(t.y,e.y)}function wx(t){return Kt(t.x)/Kt(t.y)}function bx(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class e_{constructor(){this.members=[]}add(e){Hf(this.members,e),e.scheduleRender()}remove(e){if(Gf(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(o=>e===o);if(n===0)return!1;let i;for(let o=n;o>=0;o--){const c=this.members[o];if(c.isPresent!==!1){i=c;break}}return i?(this.promote(i),!0):!1}promote(e,n){const i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender(),e.resumeFrom=i,n&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:o}=e.options;o===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:i}=e;n.onExitComplete&&n.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function t_(t,e,n){let i="";const o=t.x.translate/e.x,c=t.y.translate/e.y,u=(n==null?void 0:n.z)||0;if((o||c||u)&&(i=`translate3d(${o}px, ${c}px, ${u}px) `),(e.x!==1||e.y!==1)&&(i+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:m,rotate:y,rotateX:x,rotateY:v,skewX:j,skewY:b}=n;m&&(i=`perspective(${m}px) ${i}`),y&&(i+=`rotate(${y}deg) `),x&&(i+=`rotateX(${x}deg) `),v&&(i+=`rotateY(${v}deg) `),j&&(i+=`skewX(${j}deg) `),b&&(i+=`skewY(${b}deg) `)}const h=t.x.scale*e.x,f=t.y.scale*e.y;return(h!==1||f!==1)&&(i+=`scale(${h}, ${f})`),i||"none"}const ii={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Lo=typeof window<"u"&&window.MotionDebug!==void 0,ih=["","X","Y","Z"],n_={visibility:"hidden"},kx=1e3;let r_=0;function sh(t,e,n,i){const{latestValues:o}=e;o[t]&&(n[t]=o[t],e.setStaticValue(t,0),i&&(i[t]=0))}function f1(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=wb(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:c}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",Le,!(o||c))}const{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&f1(i)}function p1({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:o}){return class{constructor(u={},h=e==null?void 0:e()){this.id=r_++,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,Lo&&(ii.totalNodes=ii.resolvedTargetDeltas=ii.recalculatedProjection=0),this.nodes.forEach(o_),this.nodes.forEach(d_),this.nodes.forEach(h_),this.nodes.forEach(a_),Lo&&window.MotionDebug.record(ii)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=u,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 f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new q5)}addEventListener(u,h){return this.eventHandlers.has(u)||this.eventHandlers.set(u,new Kf),this.eventHandlers.get(u).add(h)}notifyListeners(u,...h){const f=this.eventHandlers.get(u);f&&f.notify(...h)}hasListeners(u){return this.eventHandlers.has(u)}mount(u,h=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=U5(u),this.instance=u;const{layoutId:f,layout:m,visualElement:y}=this.options;if(y&&!y.current&&y.mount(u),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),h&&(m||f)&&(this.isLayoutDirty=!0),t){let x;const v=()=>this.root.updateBlockedByResize=!1;t(u,()=>{this.root.updateBlockedByResize=!0,x&&x(),x=W5(v,250),Zl.hasAnimatedSinceResize&&(Zl.hasAnimatedSinceResize=!1,this.nodes.forEach(Nx))})}f&&this.root.registerSharedNode(f,this),this.options.animate!==!1&&y&&(f||m)&&this.addEventListener("didUpdate",({delta:x,hasLayoutChanged:v,hasRelativeTargetChanged:j,layout:b})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const N=this.options.transition||y.getDefaultTransition()||y_,{onLayoutAnimationStart:k,onLayoutAnimationComplete:A}=y.getProps(),I=!this.targetLayout||!h1(this.targetLayout,b)||j,E=!v&&j;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||E||v&&(I||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(x,E);const _={...Uf(N,"layout"),onPlay:k,onComplete:A};(y.shouldReduceMotion||this.options.layoutRoot)&&(_.delay=0,_.type=!1),this.startAnimation(_)}else v||Nx(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=b})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const u=this.getStack();u&&u.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,vn(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(f_),this.animationId++)}getTransformTemplate(){const{visualElement:u}=this.options;return u&&u.getProps().transformTemplate}willUpdate(u=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&f1(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const x=this.path[y];x.shouldResetTransform=!0,x.updateScroll("snapshot"),x.options.layoutRoot&&x.willUpdate(!1)}const{layoutId:h,layout:f}=this.options;if(h===void 0&&!f)return;const m=this.getTransformTemplate();this.prevTransformTemplateValue=m?m(this.latestValues,""):void 0,this.updateSnapshot(),u&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(jx);return}this.isUpdating||this.nodes.forEach(c_),this.isUpdating=!1,this.nodes.forEach(u_),this.nodes.forEach(i_),this.nodes.forEach(s_),this.clearAllSnapshots();const h=Mn.now();mt.delta=er(0,1e3/60,h-mt.timestamp),mt.timestamp=h,mt.isProcessing=!0,Qd.update.process(mt),Qd.preRender.process(mt),Qd.render.process(mt),mt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Rf.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(l_),this.sharedNodes.forEach(p_)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Le.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Le.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let f=0;f<this.path.length;f++)this.path[f].updateScroll();const u=this.layout;this.layout=this.measure(!1),this.layoutCorrected=nt(),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,u?u.layoutBox:void 0)}updateScroll(u="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===u&&(h=!1),h){const f=i(this.instance);this.scroll={animationId:this.root.animationId,phase:u,isRoot:f,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:f}}}resetTransform(){if(!o)return;const u=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!d1(this.projectionDelta),f=this.getTransformTemplate(),m=f?f(this.latestValues,""):void 0,y=m!==this.prevTransformTemplateValue;u&&(h||ri(this.latestValues)||y)&&(o(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(u=!0){const h=this.measurePageBox();let f=this.removeElementScroll(h);return u&&(f=this.removeTransform(f)),x_(f),{animationId:this.root.animationId,measuredBox:h,layoutBox:f,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:h}=this.options;if(!h)return nt();const f=h.measureViewportBox();if(!(((u=this.scroll)===null||u===void 0?void 0:u.wasRoot)||this.path.some(v_))){const{scroll:y}=this.root;y&&(ls(f.x,y.offset.x),ls(f.y,y.offset.y))}return f}removeElementScroll(u){var h;const f=nt();if(tn(f,u),!((h=this.scroll)===null||h===void 0)&&h.wasRoot)return f;for(let m=0;m<this.path.length;m++){const y=this.path[m],{scroll:x,options:v}=y;y!==this.root&&x&&v.layoutScroll&&(x.wasRoot&&tn(f,u),ls(f.x,x.offset.x),ls(f.y,x.offset.y))}return f}applyTransform(u,h=!1){const f=nt();tn(f,u);for(let m=0;m<this.path.length;m++){const y=this.path[m];!h&&y.options.layoutScroll&&y.scroll&&y!==y.root&&cs(f,{x:-y.scroll.offset.x,y:-y.scroll.offset.y}),ri(y.latestValues)&&cs(f,y.latestValues)}return ri(this.latestValues)&&cs(f,this.latestValues),f}removeTransform(u){const h=nt();tn(h,u);for(let f=0;f<this.path.length;f++){const m=this.path[f];if(!m.instance||!ri(m.latestValues))continue;ef(m.latestValues)&&m.updateSnapshot();const y=nt(),x=m.measurePageBox();tn(y,x),gx(h,m.latestValues,m.snapshot?m.snapshot.layoutBox:void 0,y)}return ri(this.latestValues)&&gx(h,this.latestValues),h}setTargetDelta(u){this.targetDelta=u,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(u){this.options={...this.options,...u,crossfade:u.crossfade!==void 0?u.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==mt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(u=!1){var h;const f=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=f.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=f.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=f.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==f;if(!(u||m&&this.isSharedProjectionDirty||this.isProjectionDirty||!((h=this.parent)===null||h===void 0)&&h.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:x,layoutId:v}=this.options;if(!(!this.layout||!(x||v))){if(this.resolvedRelativeTargetAt=mt.timestamp,!this.targetDelta&&!this.relativeTarget){const j=this.getClosestProjectingParent();j&&j.layout&&this.animationProgress!==1?(this.relativeParent=j,this.forceRelativeParentToResolveTarget(),this.relativeTarget=nt(),this.relativeTargetOrigin=nt(),$o(this.relativeTargetOrigin,this.layout.layoutBox,j.layout.layoutBox),tn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=nt(),this.targetWithTransforms=nt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),b5(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):tn(this.target,this.layout.layoutBox),s1(this.target,this.targetDelta)):tn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const j=this.getClosestProjectingParent();j&&!!j.resumingFrom==!!this.resumingFrom&&!j.options.layoutScroll&&j.target&&this.animationProgress!==1?(this.relativeParent=j,this.forceRelativeParentToResolveTarget(),this.relativeTarget=nt(),this.relativeTargetOrigin=nt(),$o(this.relativeTargetOrigin,this.target,j.target),tn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Lo&&ii.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||ef(this.parent.latestValues)||i1(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var u;const h=this.getLead(),f=!!this.resumingFrom||this!==h;let m=!0;if((this.isProjectionDirty||!((u=this.parent)===null||u===void 0)&&u.isProjectionDirty)&&(m=!1),f&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===mt.timestamp&&(m=!1),m)return;const{layout:y,layoutId:x}=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||x))return;tn(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,j=this.treeScale.y;_5(this.layoutCorrected,this.treeScale,this.path,f),h.layout&&!h.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(h.target=h.layout.layoutBox,h.targetWithTransforms=nt());const{target:b}=h;if(!b){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(fx(this.prevProjectionDelta.x,this.projectionDelta.x),fx(this.prevProjectionDelta.y,this.projectionDelta.y)),Uo(this.projectionDelta,this.layoutCorrected,b,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==j||!bx(this.projectionDelta.x,this.prevProjectionDelta.x)||!bx(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",b)),Lo&&ii.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(u=!0){var h;if((h=this.options.visualElement)===null||h===void 0||h.scheduleRender(),u){const f=this.getStack();f&&f.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=as(),this.projectionDelta=as(),this.projectionDeltaWithTransform=as()}setAnimationOrigin(u,h=!1){const f=this.snapshot,m=f?f.latestValues:{},y={...this.latestValues},x=as();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const v=nt(),j=f?f.source:void 0,b=this.layout?this.layout.source:void 0,N=j!==b,k=this.getStack(),A=!k||k.members.length<=1,I=!!(N&&!A&&this.options.crossfade===!0&&!this.path.some(g_));this.animationProgress=0;let E;this.mixTargetDelta=_=>{const F=_/1e3;Sx(x.x,u.x,F),Sx(x.y,u.y,F),this.setTargetDelta(x),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&($o(v,this.layout.layoutBox,this.relativeParent.layout.layoutBox),m_(this.relativeTarget,this.relativeTargetOrigin,v,F),E&&Z5(this.relativeTarget,E)&&(this.isProjectionDirty=!1),E||(E=nt()),tn(E,this.relativeTarget)),N&&(this.animationValues=y,G5(y,m,this.latestValues,F,I,A)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=F},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(u){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(vn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Le.update(()=>{Zl.hasAnimatedSinceResize=!0,this.currentAnimation=B5(0,kx,{...u,onUpdate:h=>{this.mixTargetDelta(h),u.onUpdate&&u.onUpdate(h)},onComplete:()=>{u.onComplete&&u.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const u=this.getStack();u&&u.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(kx),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const u=this.getLead();let{targetWithTransforms:h,target:f,layout:m,latestValues:y}=u;if(!(!h||!f||!m)){if(this!==u&&this.layout&&m&&m1(this.options.animationType,this.layout.layoutBox,m.layoutBox)){f=this.target||nt();const x=Kt(this.layout.layoutBox.x);f.x.min=u.target.x.min,f.x.max=f.x.min+x;const v=Kt(this.layout.layoutBox.y);f.y.min=u.target.y.min,f.y.max=f.y.min+v}tn(h,f),cs(h,y),Uo(this.projectionDeltaWithTransform,this.layoutCorrected,h,y)}}registerSharedNode(u,h){this.sharedNodes.has(u)||this.sharedNodes.set(u,new e_),this.sharedNodes.get(u).add(h);const m=h.options.initialPromotionConfig;h.promote({transition:m?m.transition:void 0,preserveFollowOpacity:m&&m.shouldPreserveFollowOpacity?m.shouldPreserveFollowOpacity(h):void 0})}isLead(){const u=this.getStack();return u?u.lead===this:!0}getLead(){var u;const{layoutId:h}=this.options;return h?((u=this.getStack())===null||u===void 0?void 0:u.lead)||this:this}getPrevLead(){var u;const{layoutId:h}=this.options;return h?(u=this.getStack())===null||u===void 0?void 0:u.prevLead:void 0}getStack(){const{layoutId:u}=this.options;if(u)return this.root.sharedNodes.get(u)}promote({needsReset:u,transition:h,preserveFollowOpacity:f}={}){const m=this.getStack();m&&m.promote(this,f),u&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const u=this.getStack();return u?u.relegate(this):!1}resetSkewAndRotation(){const{visualElement:u}=this.options;if(!u)return;let h=!1;const{latestValues:f}=u;if((f.z||f.rotate||f.rotateX||f.rotateY||f.rotateZ||f.skewX||f.skewY)&&(h=!0),!h)return;const m={};f.z&&sh("z",u,m,this.animationValues);for(let y=0;y<ih.length;y++)sh(`rotate${ih[y]}`,u,m,this.animationValues),sh(`skew${ih[y]}`,u,m,this.animationValues);u.render();for(const y in m)u.setStaticValue(y,m[y]),this.animationValues&&(this.animationValues[y]=m[y]);u.scheduleRender()}getProjectionStyles(u){var h,f;if(!this.instance||this.isSVG)return;if(!this.isVisible)return n_;const m={visibility:""},y=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,m.opacity="",m.pointerEvents=Xl(u==null?void 0:u.pointerEvents)||"",m.transform=y?y(this.latestValues,""):"none",m;const x=this.getLead();if(!this.projectionDelta||!this.layout||!x.target){const N={};return this.options.layoutId&&(N.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,N.pointerEvents=Xl(u==null?void 0:u.pointerEvents)||""),this.hasProjected&&!ri(this.latestValues)&&(N.transform=y?y({},""):"none",this.hasProjected=!1),N}const v=x.animationValues||x.latestValues;this.applyTransformsToTarget(),m.transform=t_(this.projectionDeltaWithTransform,this.treeScale,v),y&&(m.transform=y(v,m.transform));const{x:j,y:b}=this.projectionDelta;m.transformOrigin=`${j.origin*100}% ${b.origin*100}% 0`,x.animationValues?m.opacity=x===this?(f=(h=v.opacity)!==null&&h!==void 0?h:this.latestValues.opacity)!==null&&f!==void 0?f:1:this.preserveOpacity?this.latestValues.opacity:v.opacityExit:m.opacity=x===this?v.opacity!==void 0?v.opacity:"":v.opacityExit!==void 0?v.opacityExit:0;for(const N in cc){if(v[N]===void 0)continue;const{correct:k,applyTo:A}=cc[N],I=m.transform==="none"?v[N]:k(v[N],x);if(A){const E=A.length;for(let _=0;_<E;_++)m[A[_]]=I}else m[N]=I}return this.options.layoutId&&(m.pointerEvents=x===this?Xl(u==null?void 0:u.pointerEvents)||"":"none"),m}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(u=>{var h;return(h=u.currentAnimation)===null||h===void 0?void 0:h.stop()}),this.root.nodes.forEach(jx),this.root.sharedNodes.clear()}}}function i_(t){t.updateLayout()}function s_(t){var e;const n=((e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:o}=t.layout,{animationType:c}=t.options,u=n.source!==t.layout.source;c==="size"?rn(x=>{const v=u?n.measuredBox[x]:n.layoutBox[x],j=Kt(v);v.min=i[x].min,v.max=v.min+j}):m1(c,n.layoutBox,i)&&rn(x=>{const v=u?n.measuredBox[x]:n.layoutBox[x],j=Kt(i[x]);v.max=v.min+j,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[x].max=t.relativeTarget[x].min+j)});const h=as();Uo(h,i,n.layoutBox);const f=as();u?Uo(f,t.applyTransform(o,!0),n.measuredBox):Uo(f,i,n.layoutBox);const m=!d1(h);let y=!1;if(!t.resumeFrom){const x=t.getClosestProjectingParent();if(x&&!x.resumeFrom){const{snapshot:v,layout:j}=x;if(v&&j){const b=nt();$o(b,n.layoutBox,v.layoutBox);const N=nt();$o(N,i,j.layoutBox),h1(b,N)||(y=!0),x.options.layoutRoot&&(t.relativeTarget=N,t.relativeTargetOrigin=b,t.relativeParent=x)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:n,delta:f,layoutDelta:h,hasLayoutChanged:m,hasRelativeTargetChanged:y})}else if(t.isLead()){const{onExitComplete:i}=t.options;i&&i()}t.options.transition=void 0}function o_(t){Lo&&ii.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function a_(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function l_(t){t.clearSnapshot()}function jx(t){t.clearMeasurements()}function c_(t){t.isLayoutDirty=!1}function u_(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Nx(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function d_(t){t.resolveTargetDelta()}function h_(t){t.calcProjection()}function f_(t){t.resetSkewAndRotation()}function p_(t){t.removeLeadSnapshot()}function Sx(t,e,n){t.translate=Qe(e.translate,0,n),t.scale=Qe(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Cx(t,e,n,i){t.min=Qe(e.min,n.min,i),t.max=Qe(e.max,n.max,i)}function m_(t,e,n,i){Cx(t.x,e.x,n.x,i),Cx(t.y,e.y,n.y,i)}function g_(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const y_={duration:.45,ease:[.4,0,.1,1]},Ex=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Px=Ex("applewebkit/")&&!Ex("chrome/")?Math.round:Rt;function Tx(t){t.min=Px(t.min),t.max=Px(t.max)}function x_(t){Tx(t.x),Tx(t.y)}function m1(t,e,n){return t==="position"||t==="preserve-aspect"&&!w5(wx(e),wx(n),.2)}function v_(t){var e;return t!==t.root&&((e=t.scroll)===null||e===void 0?void 0:e.wasRoot)}const w_=p1({attachResizeListener:(t,e)=>Zo(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),oh={current:void 0},g1=p1({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!oh.current){const t=new w_({});t.mount(window),t.setOptions({layoutScroll:!0}),oh.current=t}return oh.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),b_={pan:{Feature:L5},drag:{Feature:M5,ProjectionNode:g1,MeasureLayout:l1}};function _x(t,e,n){const{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover",n==="Start");const o="onHover"+n,c=i[o];c&&Le.postRender(()=>c(e,ya(e)))}class k_ extends Vr{mount(){const{current:e}=this.node;e&&(this.unmount=bP(e,n=>(_x(this.node,n,"Start"),i=>_x(this.node,i,"End"))))}unmount(){}}class j_ extends Vr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=ga(Zo(this.node.current,"focus",()=>this.onFocus()),Zo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Ax(t,e,n){const{props:i}=t;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap",n==="Start");const o="onTap"+(n==="End"?"":n),c=i[o];c&&Le.postRender(()=>c(e,ya(e)))}class N_ extends Vr{mount(){const{current:e}=this.node;e&&(this.unmount=SP(e,n=>(Ax(this.node,n,"Start"),(i,{success:o})=>Ax(this.node,i,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const nf=new WeakMap,ah=new WeakMap,S_=t=>{const e=nf.get(t.target);e&&e(t)},C_=t=>{t.forEach(S_)};function E_({root:t,...e}){const n=t||document;ah.has(n)||ah.set(n,{});const i=ah.get(n),o=JSON.stringify(e);return i[o]||(i[o]=new IntersectionObserver(C_,{root:t,...e})),i[o]}function P_(t,e,n){const i=E_(e);return nf.set(t,n),i.observe(t),()=>{nf.delete(t),i.unobserve(t)}}const T_={some:0,all:1};class __ extends Vr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:i,amount:o="some",once:c}=e,u={root:n?n.current:void 0,rootMargin:i,threshold:typeof o=="number"?o:T_[o]},h=f=>{const{isIntersecting:m}=f;if(this.isInView===m||(this.isInView=m,c&&!m&&this.hasEnteredView))return;m&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",m);const{onViewportEnter:y,onViewportLeave:x}=this.node.getProps(),v=m?y:x;v&&v(f)};return P_(this.node.current,u,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(A_(e,n))&&this.startObserver()}unmount(){}}function A_({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const R_={inView:{Feature:__},tap:{Feature:N_},focus:{Feature:j_},hover:{Feature:k_}},I_={layout:{ProjectionNode:g1,MeasureLayout:l1}},rf={current:null},y1={current:!1};function O_(){if(y1.current=!0,!!Pf)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>rf.current=t.matches;t.addListener(e),e()}else rf.current=!1}function M_(t,e,n){for(const i in e){const o=e[i],c=n[i];if(Ct(o))t.addValue(i,o);else if(Ct(c))t.addValue(i,Rn(o,{owner:t}));else if(c!==o)if(t.hasValue(i)){const u=t.getValue(i);u.liveStyle===!0?u.jump(o):u.hasAnimated||u.set(o)}else{const u=t.getStaticValue(i);t.addValue(i,Rn(u!==void 0?u:o,{owner:t}))}}for(const i in n)e[i]===void 0&&t.removeValue(i);return e}const Rx=new WeakMap,L_=[...Ib,Nt,Fr],D_=t=>L_.find(Rb(t)),Ix=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class F_{scrapeMotionValuesFromProps(e,n,i){return{}}constructor({parent:e,props:n,presenceContext:i,reducedMotionConfig:o,blockInitialAnimation:c,visualState:u},h={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Jf,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 v=Mn.now();this.renderScheduledAt<v&&(this.renderScheduledAt=v,Le.render(this.render,!1,!0))};const{latestValues:f,renderState:m}=u;this.latestValues=f,this.baseTarget={...f},this.initialValues=n.initial?{...f}:{},this.renderState=m,this.parent=e,this.props=n,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=o,this.options=h,this.blockInitialAnimation=!!c,this.isControllingVariants=Rc(n),this.isVariantNode=Qw(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:y,...x}=this.scrapeMotionValuesFromProps(n,{},this);for(const v in x){const j=x[v];f[v]!==void 0&&Ct(j)&&j.set(f[v],!1)}}mount(e){this.current=e,Rx.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,i)=>this.bindToMotionValue(i,n)),y1.current||O_(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:rf.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Rx.delete(this.current),this.projection&&this.projection.unmount(),vn(this.notifyUpdate),vn(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(e,n){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const i=Pi.has(e),o=n.on("change",h=>{this.latestValues[e]=h,this.props.onUpdate&&Le.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),c=n.on("renderRequest",this.scheduleRender);let u;window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{o(),c(),u&&u(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in Ss){const n=Ss[e];if(!n)continue;const{isEnabled:i,Feature:o}=n;if(!this.features[e]&&o&&i(this.props)&&(this.features[e]=new o(this)),this.features[e]){const c=this.features[e];c.isMounted?c.update():(c.mount(),c.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):nt()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let i=0;i<Ix.length;i++){const o=Ix[i];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const c="on"+o,u=e[c];u&&(this.propEventSubscriptions[o]=this.on(o,u))}this.prevMotionValues=M_(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){const i=this.values.get(e);n!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return i===void 0&&n!==void 0&&(i=Rn(n===null?void 0:n,{owner:this}),this.addValue(e,i)),i}readValue(e,n){var i;let o=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(i=this.getBaseTargetFromProps(this.props,e))!==null&&i!==void 0?i:this.readValueFromInstance(this.current,e,this.options);
240return o!=null&&(typeof o=="string"&&(_b(o)||Tb(o))?o=parseFloat(o):!D_(o)&&Fr.test(n)&&(o=Bb(e,n)),this.setBaseTarget(e,Ct(o)?o.get():o)),Ct(o)?o.get():o}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var n;const{initial:i}=this.props;let o;if(typeof i=="string"||typeof i=="object"){const u=Mf(this.props,i,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);u&&(o=u[e])}if(i&&o!==void 0)return o;const c=this.getBaseTargetFromProps(this.props,e);return c!==void 0&&!Ct(c)?c:this.initialValues[e]!==void 0&&o===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new Kf),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}}class x1 extends F_{constructor(){super(...arguments),this.KeyframeResolver=Ub}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:i}){delete n[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Ct(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function V_(t){return window.getComputedStyle(t)}class z_ extends x1{constructor(){super(...arguments),this.type="html",this.renderInstance=Zw}readValueFromInstance(e,n){if(Pi.has(n)){const i=tp(n);return i&&i.default||0}else{const i=V_(e),o=(lb(n)?i.getPropertyValue(n):i[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(e,{transformPagePoint:n}){return o1(e,n)}build(e,n,i){Vf(e,n,i.transformTemplate)}scrapeMotionValuesFromProps(e,n,i){return Of(e,n,i)}}class B_ extends x1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=nt}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(Pi.has(n)){const i=tp(n);return i&&i.default||0}return n=eb.has(n)?n:Af(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,i){return rb(e,n,i)}build(e,n,i){zf(e,n,this.isSVGTag,i.transformTemplate)}renderInstance(e,n,i,o){tb(e,n,i,o)}mount(e){this.isSVGTag=Bf(e.tagName),super.mount(e)}}const U_=(t,e)=>If(t)?new B_(e):new z_(e,{allowProjection:t!==P.Fragment}),$_=gP({...d5,...R_,...b_,...I_},U_),S=R4($_);function v1(t,e){let n;const i=()=>{const{currentTime:o}=e,u=(o===null?0:o.value)/100;n!==u&&t(u),n=u};return Le.update(i,!0),()=>vn(i)}const ec=new WeakMap;let Nr;function q_(t,e){if(e){const{inlineSize:n,blockSize:i}=e[0];return{width:n,height:i}}else return t instanceof SVGElement&&"getBBox"in t?t.getBBox():{width:t.offsetWidth,height:t.offsetHeight}}function W_({target:t,contentRect:e,borderBoxSize:n}){var i;(i=ec.get(t))===null||i===void 0||i.forEach(o=>{o({target:t,contentSize:e,get size(){return q_(t,n)}})})}function H_(t){t.forEach(W_)}function G_(){typeof ResizeObserver>"u"||(Nr=new ResizeObserver(H_))}function K_(t,e){Nr||G_();const n=yb(t);return n.forEach(i=>{let o=ec.get(i);o||(o=new Set,ec.set(i,o)),o.add(e),Nr==null||Nr.observe(i)}),()=>{n.forEach(i=>{const o=ec.get(i);o==null||o.delete(e),o!=null&&o.size||Nr==null||Nr.unobserve(i)})}}const tc=new Set;let qo;function Q_(){qo=()=>{const t={width:window.innerWidth,height:window.innerHeight},e={target:window,size:t,contentSize:t};tc.forEach(n=>n(e))},window.addEventListener("resize",qo)}function Y_(t){return tc.add(t),qo||Q_(),()=>{tc.delete(t),!tc.size&&qo&&(qo=void 0)}}function X_(t,e){return typeof t=="function"?Y_(t):K_(t,e)}const J_=50,Ox=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),Z_=()=>({time:0,x:Ox(),y:Ox()}),eA={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function Mx(t,e,n,i){const o=n[e],{length:c,position:u}=eA[e],h=o.current,f=n.time;o.current=t[`scroll${u}`],o.scrollLength=t[`scroll${c}`]-t[`client${c}`],o.offset.length=0,o.offset[0]=0,o.offset[1]=o.scrollLength,o.progress=ji(0,o.scrollLength,o.current);const m=i-f;o.velocity=m>J_?0:Qf(o.current-h,m)}function tA(t,e,n){Mx(t,"x",e,n),Mx(t,"y",e,n),e.time=n}function nA(t,e){const n={x:0,y:0};let i=t;for(;i&&i!==e;)if(i instanceof HTMLElement)n.x+=i.offsetLeft,n.y+=i.offsetTop,i=i.offsetParent;else if(i.tagName==="svg"){const o=i.getBoundingClientRect();i=i.parentElement;const c=i.getBoundingClientRect();n.x+=o.left-c.left,n.y+=o.top-c.top}else if(i instanceof SVGGraphicsElement){const{x:o,y:c}=i.getBBox();n.x+=o,n.y+=c;let u=null,h=i.parentNode;for(;!u;)h.tagName==="svg"&&(u=h),h=i.parentNode;i=u}else break;return n}const rA={All:[[0,0],[1,1]]},sf={start:0,center:.5,end:1};function Lx(t,e,n=0){let i=0;if(t in sf&&(t=sf[t]),typeof t=="string"){const o=parseFloat(t);t.endsWith("px")?i=o:t.endsWith("%")?t=o/100:t.endsWith("vw")?i=o/100*document.documentElement.clientWidth:t.endsWith("vh")?i=o/100*document.documentElement.clientHeight:t=o}return typeof t=="number"&&(i=e*t),n+i}const iA=[0,0];function sA(t,e,n,i){let o=Array.isArray(t)?t:iA,c=0,u=0;return typeof t=="number"?o=[t,t]:typeof t=="string"&&(t=t.trim(),t.includes(" ")?o=t.split(" "):o=[t,sf[t]?t:"0"]),c=Lx(o[0],n,i),u=Lx(o[1],e),c-u}const oA={x:0,y:0};function aA(t){return"getBBox"in t&&t.tagName!=="svg"?t.getBBox():{width:t.clientWidth,height:t.clientHeight}}function lA(t,e,n){const{offset:i=rA.All}=n,{target:o=t,axis:c="y"}=n,u=c==="y"?"height":"width",h=o!==t?nA(o,t):oA,f=o===t?{width:t.scrollWidth,height:t.scrollHeight}:aA(o),m={width:t.clientWidth,height:t.clientHeight};e[c].offset.length=0;let y=!e[c].interpolate;const x=i.length;for(let v=0;v<x;v++){const j=sA(i[v],m[u],f[u],h[c]);
240!y&&j!==e[c].interpolatorOffsets[v]&&(y=!0),e[c].offset[v]=j}y&&(e[c].interpolate=rp(e[c].offset,Qb(i)),e[c].interpolatorOffsets=[...e[c].offset]),e[c].progress=e[c].interpolate(e[c].current)}function cA(t,e=t,n){if(n.x.targetOffset=0,n.y.targetOffset=0,e!==t){let i=e;for(;i&&i!==t;)n.x.targetOffset+=i.offsetLeft,n.y.targetOffset+=i.offsetTop,i=i.offsetParent}n.x.targetLength=e===t?e.scrollWidth:e.clientWidth,n.y.targetLength=e===t?e.scrollHeight:e.clientHeight,n.x.containerLength=t.clientWidth,n.y.containerLength=t.clientHeight}function uA(t,e,n,i={}){return{measure:()=>cA(t,i.target,n),update:o=>{tA(t,n,o),(i.offset||i.target)&&lA(t,n,i)},notify:()=>e(n)}}const Po=new WeakMap,Dx=new WeakMap,lh=new WeakMap,Fx=t=>t===document.documentElement?window:t;function op(t,{container:e=document.documentElement,...n}={}){let i=lh.get(e);i||(i=new Set,lh.set(e,i));const o=Z_(),c=uA(e,t,o,n);if(i.add(c),!Po.has(e)){const h=()=>{for(const v of i)v.measure()},f=()=>{for(const v of i)v.update(mt.timestamp)},m=()=>{for(const v of i)v.notify()},y=()=>{Le.read(h,!1,!0),Le.read(f,!1,!0),Le.update(m,!1,!0)};Po.set(e,y);const x=Fx(e);window.addEventListener("resize",y,{passive:!0}),e!==document.documentElement&&Dx.set(e,X_(e,y)),x.addEventListener("scroll",y,{passive:!0})}const u=Po.get(e);return Le.read(u,!1,!0),()=>{var h;vn(u);const f=lh.get(e);if(!f||(f.delete(c),f.size))return;const m=Po.get(e);Po.delete(e),m&&(Fx(e).removeEventListener("scroll",m),(h=Dx.get(e))===null||h===void 0||h(),window.removeEventListener("resize",m))}}function dA({source:t,container:e,axis:n="y"}){t&&(e=t);const i={value:0},o=op(c=>{i.value=c[n].progress*100},{container:e,axis:n});return{currentTime:i,cancel:o}}const ch=new Map;function w1({source:t,container:e=document.documentElement,axis:n="y"}={}){t&&(e=t),ch.has(e)||ch.set(e,{});const i=ch.get(e);return i[n]||(i[n]=db()?new ScrollTimeline({source:e,axis:n}):dA({source:e,axis:n})),i[n]}function hA(t){return t.length===2}function b1(t){return t&&(t.target||t.offset)}function fA(t,e){return hA(t)||b1(e)?op(n=>{t(n[e.axis].progress,n)},e):v1(t,w1(e))}function pA(t,e){if(t.flatten(),b1(e))return t.pause(),op(n=>{t.time=t.duration*n[e.axis].progress},e);{const n=w1(e);return t.attachTimeline?t.attachTimeline(n,i=>(i.pause(),v1(o=>{i.time=i.duration*o},n))):Rt}}function mA(t,{axis:e="y",...n}={}){const i={axis:e,...n};return typeof t=="function"?fA(t,i):pA(t,i)}function Vx(t,e){N4(!!(!e||e.current))}const gA=()=>({scrollX:Rn(0),scrollY:Rn(0),scrollXProgress:Rn(0),scrollYProgress:Rn(0)});function ap({container:t,target:e,layoutEffect:n=!0,...i}={}){const o=Os(gA);return(n?Tc:P.useEffect)(()=>(Vx("target",e),Vx("container",t),mA((u,{x:h,y:f})=>{o.scrollX.set(h.current),o.scrollXProgress.set(h.progress),o.scrollY.set(f.current),o.scrollYProgress.set(f.progress)},{...i,container:(t==null?void 0:t.current)||void 0,target:(e==null?void 0:e.current)||void 0})),[t,e,JSON.stringify(i.offset)]),o}function yA(t){const e=Os(()=>Rn(t)),{isStatic:n}=P.useContext(Pc);if(n){const[,i]=P.useState(t);P.useEffect(()=>e.on("change",i),[])}return e}function k1(t,e){const n=yA(e()),i=()=>n.set(e());return i(),Tc(()=>{const o=()=>Le.preRender(i,!1,!0),c=t.map(u=>u.on("change",o));return()=>{c.forEach(u=>u()),vn(i)}}),n}const xA=t=>t&&typeof t=="object"&&t.mix,vA=t=>xA(t)?t.mix:void 0;function wA(...t){const e=!Array.isArray(t[0]),n=e?0:-1,i=t[0+n],o=t[1+n],c=t[2+n],u=t[3+n],h=rp(o,c,{mixer:vA(c[0]),...u});return e?h(i):h}function bA(t){Vo.current=[],t();const e=k1(Vo.current,t);return Vo.current=void 0,e}function Pn(t,e,n,i){if(typeof t=="function")return bA(t);const o=typeof e=="function"?e:wA(e,n,i);return Array.isArray(t)?zx(t,o):zx([t],([c])=>o(c))}function zx(t,e){const n=Os(()=>[]);return k1(t,()=>{n.length=0;const i=t.length;for(let o=0;o<i;o++)n[o]=t[o].get();return e(n)})}function Bx(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function kA(...t){return e=>{let n=!1;const i=t.map(o=>{const c=Bx(o,e);return!n&&typeof c=="function"&&(n=!0),c});if(n)return()=>{for(let o=0;o<i.length;o++){const c=i[o];typeof c=="function"?c():Bx(t[o],null)}}}}function jA(t){const e=SA(t),n=P.forwardRef((i,o)=>{const{children:c,...u}=i,h=P.Children.toArray(c),f=h.find(EA);if(f){const m=f.props.children,y=h.map(x=>x===f?P.Children.count(m)>1?P.Children.only(null):P.isValidElement(m)?m.props.children:null:x);return a.jsx(e,{...u,ref:o,children:P.isValidElement(m)?P.cloneElement(m,void 0,y):null})}return a.jsx(e,{...u,ref:o,children:c})});return n.displayName=`${t}.Slot`,n}var NA=jA("Slot");function SA(t){const e=P.forwardRef((n,i)=>{const{children:o,...c}=n;if(P.isValidElement(o)){const u=TA(o),h=PA(c,o.props);return o.type!==P.Fragment&&(h.ref=i?kA(i,u):u),P.cloneElement(o,h)}return P.Children.count(o)>1?P.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var CA=Symbol("radix.slottable");function EA(t){return P.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===CA}function PA(t,e){const n={...e};for(const i in e){const o=t[i],c=e[i];/^on[A-Z]/.test(i)?o&&c?n[i]=(...h)=>{const f=c(...h);return o(...h),f}:o&&(n[i]=o):i==="style"?n[i]={...o,...c}
240:i==="className"&&(n[i]=[o,c].filter(Boolean).join(" "))}return{...t,...n}}function TA(t){var i,o;let e=(i=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:i.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}const _A=pv("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),We=P.forwardRef(({className:t,variant:e,size:n,asChild:i=!1,...o},c)=>{const u=i?NA:"button";return a.jsx(u,{className:Ts(_A({variant:e,size:n,className:t})),ref:c,...o})});We.displayName="Button";function le(t){return"/"+t.replace(/ /g,"-")}function AA(){const[t,e]=P.useState(""),[n,i]=P.useState("idle"),[o,c]=P.useState(!1),u=P.useRef(null),h=async f=>{if(f.preventDefault(),!(!t||n==="loading")){i("loading");try{(await fetch("https://app.kit.com/forms/8910504/subscriptions",{method:"POST",mode:"cors",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({email_address:t})})).ok?(i("success"),e(""),setTimeout(()=>i("idle"),3e3)):(i("error"),setTimeout(()=>i("idle"),3e3))}catch{i("error"),setTimeout(()=>i("idle"),3e3)}}};return a.jsxs("div",{className:"min-h-screen bg-black",children:[a.jsxs("section",{className:"relative min-h-screen flex flex-col items-center justify-center overflow-hidden bg-black",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black via-[#020204] to-black"}),a.jsx("div",{className:"absolute inset-0 opacity-[0.015] pointer-events-none mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}}),a.jsx(S.div,{animate:{opacity:[.03,.06,.03]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[400px] bg-blue-500/10 rounded-full blur-[120px] pointer-events-none"}),a.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto px-6 lg:px-12 py-32 text-center",children:[a.jsx(S.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-4xl md:text-5xl lg:text-6xl font-bold text-white tracking-tight leading-[1.1] mb-6",children:"AI Pitch Deck Generator for Creatives & Founders"}),a.jsx(S.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.1},className:"text-white/60 text-lg md:text-xl max-w-2xl mx-auto leading-relaxed mb-8",children:"Generate cinematic pitch decks in seconds. Built for filmmakers, photographers, creators, and founders who care about craft."}),a.jsxs(S.form,{onSubmit:h,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.2},className:"flex flex-col sm:flex-row gap-3 max-w-md mx-auto",children:[a.jsx("input",{type:"email",value:t,onChange:f=>e(f.target.value),placeholder:"Enter your email",required:!0,disabled:n==="loading",className:"flex-1 px-6 py-4 rounded-full bg-white/5 border border-white/10 text-white placeholder:text-white/40 focus:outline-none focus:border-blue-500/50 focus:bg-white/[0.07] text-sm transition-all"}),a.jsx(We,{type:"submit",disabled:n==="loading",className:"bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 text-white px-8 py-4 text-sm font-medium rounded-full",children:n==="loading"?"Joining...":n==="success"?"✓ Joined!":"Unlock Pitchfy"})]}),a.jsxs(S.div,{initial:{opacity:0,y:100,scale:.95}
240,animate:{opacity:1,y:0,scale:1},transition:{duration:1.5,delay:.4,ease:[.16,1,.3,1]},className:"relative mt-16 lg:mt-24",children:[a.jsx("div",{className:"absolute -inset-32 pointer-events-none",children:a.jsx(S.div,{animate:{opacity:[.15,.25,.15],scale:[1,1.1,1]},transition:{duration:8,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[900px] h-[500px] bg-gradient-radial from-blue-500/30 via-blue-600/10 to-transparent rounded-full blur-3xl"})}),a.jsxs("div",{className:"relative max-w-6xl mx-auto",children:[a.jsxs("div",{className:"relative rounded-xl overflow-hidden border border-white/10 shadow-2xl shadow-blue-500/20",children:[a.jsx("div",{className:"absolute top-3 left-3 w-4 h-4 border-l-2 border-t-2 border-white/30 z-10"}),a.jsx("div",{className:"absolute top-3 right-3 w-4 h-4 border-r-2 border-t-2 border-white/30 z-10"}),a.jsx("div",{className:"absolute bottom-3 left-3 w-4 h-4 border-l-2 border-b-2 border-white/30 z-10"}),a.jsx("div",{className:"absolute bottom-3 right-3 w-4 h-4 border-r-2 border-b-2 border-white/30 z-10"}),a.jsxs(S.div,{whileHover:{scale:1.02},transition:{duration:.5,ease:"easeOut"},className:"relative bg-black aspect-video",children:[a.jsx(S.img,{src:"https://raw.githubusercontent.com/aethwave/Pitchfy/main/Pitchfy_web_hero.webp",alt:"AI Pitch Deck Generator",className:"w-full h-full object-cover",animate:{y:[0,-8,0]},transition:{duration:8,repeat:1/0,ease:"easeInOut"}}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/20 via-transparent to-transparent pointer-events-none"})]}),a.jsx("div",{className:"absolute inset-0 shadow-[inset_0_0_40px_rgba(59,130,246,0.1)] pointer-events-none"})]}),a.jsx("div",{className:"absolute -bottom-8 left-0 right-0 h-24 bg-gradient-to-b from-blue-500/10 via-blue-500/5 to-transparent opacity-60 blur-2xl pointer-events-none"})]})]}),a.jsx(S.div,{initial:{opacity:0,y:60},animate:{opacity:1,y:0},transition:{duration:1,delay:.8},className:"mt-24 lg:mt-32 mb-16",children:a.jsx("div",{className:"max-w-5xl mx-auto",children:a.jsxs("div",{className:"aspect-video rounded-2xl overflow-hidden relative group border border-white/10",children:[a.jsx("iframe",{ref:u,src:`https://player.vimeo.com/video/1150473763?title=0&byline=0&portrait=0&badge=0&autopause=0&player_id=0&app_id=58479&autoplay=1&loop=1&muted=${o?1:0}&controls=0`,className:"absolute top-0 left-0 w-full h-full",frameBorder:"0",allow:"autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media; web-share",referrerPolicy:"strict-origin-when-cross-origin",title:"Pitchfy"}),a.jsx("button",{onClick:()=>{c(!o),u.current&&(u.current.src=`https://player.vimeo.com/video/1150473763?title=0&byline=0&portrait=0&badge=0&autopause=0&player_id=0&app_id=58479&autoplay=1&loop=1&muted=${o?0:1}&controls=0`)},className:"absolute bottom-4 right-4 z-10 p-3 rounded-full bg-black/50 backdrop-blur-sm border border-white/10 hover:bg-black/70 transition-all",children:o?a.jsx(xv,{className:"w-5 h-5 text-white"}):a.jsx(yv,{className:"w-5 h-5 text-white"})})]})})})]})]}),a.jsxs("section",{className:"relative bg-black py-20 lg:py-28",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black via-[#020204] to-black"}),a.jsxs("div",{className:"relative z-10 max-w-3xl mx-auto px-6 lg:px-12",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-semibold text-white mb-6",children:"What This Is"}),a.jsxs("div",{className:"space-y-4 text-white/60 text-base md:text-lg leading-relaxed",children:[a.jsx("p",{children:"Pitchfy.ai is an AI-powered pitch deck generator designed for creatives who think visually. Instead of wrestling with slide templates, you describe your project and our AI generates a complete deck with cinematic layouts."}),a.jsx("p",{children:"We understand pitch decks the way filmmakers, photographers, and founders think: in scenes, story beats, and visual flow. Not bullet points and corporate templates."}),a.jsx("p",{children:"Whether you're pitching a film treatment, music video concept, photography portfolio, or startup idea, Pitchfy creates presentations built for impact."})]})]})]}),a.jsxs("section",{className:"relative bg-black py-20 lg:py-28",children:[a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),a.jsxs("div",{className:"relative z-10 max-w-3xl mx-auto px-6 lg:px-12",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-semibold text-white mb-8",children:"Why Pitchfy"}),a.jsx("div",{className:"space-y-5",children:[{icon:js,text:"AI-generated layouts optimized for visual storytelling"},{icon:Ni,text:"Cinematic structure designed for creatives, not corporate"},{icon:xc,text:"Industry-specific formats for film, music, photography, and startups"},{icon:Ze,text:"Generate complete decks in seconds, not hours"},{icon:En,text:"Focus on your story while AI handles the design"}].map((f,m)=>{const y=f.icon;return a.jsxs(S.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,delay:m*.1},className:"flex items-start gap-4",children:[a.jsx("div",{className:"flex-shrink-0 w-10 h-10 rounded-lg bg-blue-500/10 border border-blue-500/20 flex items-center justify-center",children:a.jsx(y,{className:"w-5 h-5 text-blue-400"})}),a.jsx("p",{className:"text-white/70 text-base pt-2",children:f.text})]},m)})})]})]}),a.jsxs("section",{className:"relative bg-black py-20 lg:py-28",children:[a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),a.jsxs("div",{className:"relative z-10 max-w-3xl mx-auto px-6 lg:px-12",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-semibold text-white mb-8",children:"How It Works"}),a.jsx("div",{className:"space-y-6",children:[{num:"01",title:"Describe Your Project",desc:"Write a short brief or paste your existing treatment. Pitchfy understands creative language."}
240,{num:"02",title:"Choose Your Format",desc:"Select a layout system: film treatment, music video, portfolio, startup pitch, or custom."},{num:"03",title:"Generate & Refine",desc:"Get a complete deck in seconds. Rearrange sections, adjust layouts, and export."}].map((f,m)=>a.jsxs(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:m*.1},className:"flex gap-6",children:[a.jsx("div",{className:"text-blue-400/70 font-mono text-sm tracking-[0.3em] pt-1",children:f.num}),a.jsxs("div",{className:"flex-1",children:[a.jsx("h3",{className:"text-white font-semibold text-lg mb-2",children:f.title}),a.jsx("p",{className:"text-white/60 text-base leading-relaxed",children:f.desc})]})]},m))})]})]}),a.jsxs("section",{className:"relative bg-black py-20 lg:py-28",children:[a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),a.jsxs("div",{className:"relative z-10 max-w-3xl mx-auto px-6 lg:px-12",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-semibold text-white mb-8",children:"Who It's For"}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:["Film Directors","Music Video Directors","Photographers","Creative Agencies","Startup Founders","Content Creators","Producers","Brand Strategists"].map((f,m)=>a.jsxs(S.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:m*.05},className:"flex items-center gap-3 px-4 py-3 rounded-lg border border-white/[0.08] bg-white/[0.02]",children:[a.jsx(Ze,{className:"w-4 h-4 text-blue-400 flex-shrink-0"}),a.jsx("span",{className:"text-white/70 text-base",children:f})]},m))})]})]}),a.jsxs("section",{className:"relative bg-black py-20 lg:py-28",children:[a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),a.jsx(S.div,{animate:{opacity:[.03,.06,.03]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[400px] bg-blue-500/10 rounded-full blur-[120px] pointer-events-none"}),a.jsxs("div",{className:"relative z-10 max-w-2xl mx-auto px-6 lg:px-12 text-center",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-semibold text-white mb-6",children:"Join the Waitlist"}),a.jsx("p",{className:"text-white/60 text-base mb-8",children:"Get early access to Pitchfy.ai and start generating cinematic pitch decks before the public launch."}),a.jsxs("form",{onSubmit:h,className:"flex flex-col sm:flex-row gap-3 max-w-md mx-auto",children:[a.jsx("input",{type:"email",value:t,onChange:f=>e(f.target.value),placeholder:"Enter your email",required:!0,disabled:n==="loading",className:"flex-1 px-6 py-4 rounded-full bg-white/5 border border-white/10 text-white placeholder:text-white/40 focus:outline-none focus:border-blue-500/50 text-sm"}),a.jsx(We,{type:"submit",disabled:n==="loading",className:"bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 text-white px-8 py-4 text-sm font-medium rounded-full",children:n==="loading"?"Joining...":n==="success"?"✓ Joined!":"Unlock Pitchfy"})]})]})]}),a.jsx("footer",{className:"bg-black border-t border-white/[0.06] py-10",children:a.jsx("div",{className:"max-w-5xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"flex flex-col items-center gap-6",children:[a.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/4b76a878a_pitchfywhitelogo.png",alt:"Pitchfy",className:"h-5 w-auto opacity-50"}),a.jsxs("div",{className:"flex items-center gap-6 flex-wrap justify-center",children:[a.jsx(ae,{to:le("Home"),onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Home"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("AIPitchDeckGenerator"),onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"AI Pitch Deck"}),a.jsx(ae,{to:le("DirectorsTreatment"),onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Director's Treatment"}),a.jsx(ae,{to:le("FilmTreatment"),onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Film Treatment"}),a.jsx(ae,{to:le("CreativePitchDeck"),onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Creative Deck"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("Contact"),onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Contact"})]}),a.jsx("p",{className:"text-white/30 text-xs text-center max-w-md",children:"Pitchfy is opening access in phases. Early sign-ups receive access before public release."}),a.jsx("p",{className:"text-white/20 text-xs",children:"© 2026 Pit
240chfy.ai"})]})})})]})}function RA(){return a.jsxs("div",{className:"min-h-screen bg-black",children:[a.jsxs("section",{className:"relative min-h-[70vh] flex flex-col items-center justify-center overflow-hidden bg-black",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black via-[#020204] to-black"}),a.jsx("div",{className:"absolute inset-0 opacity-[0.015] pointer-events-none mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulance type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}}),a.jsx(S.div,{animate:{opacity:[.03,.06,.03]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[400px] bg-blue-500/10 rounded-full blur-[120px] pointer-events-none"}),a.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto px-6 lg:px-12 py-20 text-center",children:[a.jsx(S.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-5xl md:text-6xl lg:text-7xl font-bold tracking-tight leading-[0.95] mb-8",children:a.jsx("span",{className:"block bg-gradient-to-b from-white via-blue-50 to-blue-200 bg-clip-text text-transparent",children:"Compare Pitchfy"})}),a.jsx(S.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.1},className:"text-white/70 text-xl md:text-2xl max-w-3xl mx-auto leading-relaxed mb-8",children:"Pitchfy is built for cinematic storytelling and creative pitch formats."}),a.jsx(S.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.2},className:"text-white/50 text-base md:text-lg max-w-2xl mx-auto leading-relaxed mb-8",children:"While most presentation tools focus on generating slides quickly, Pitchfy focuses on shaping narrative, visual flow, and creative intention. It's designed for creatives who need their pitches to feel authored, immersive, and distinctly their own."}),a.jsx(S.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.3},children:a.jsx(We,{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 text-white px-8 py-4 text-base font-medium rounded-full",children:"Unlock Pitchfy"})})]})]}),a.jsx("section",{className:"relative bg-black py-20 lg:py-32 border-t border-white/[0.06]",children:a.jsxs("div",{className:"max-w-3xl mx-auto px-6 lg:px-12",children:[a.jsx(S.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-3xl md:text-4xl font-semibold text-white mb-6",children:"A cinematic alternative to traditional presentation tools"}),a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1},className:"text-white/60 text-lg leading-relaxed",children:"Tools like PowerPoint and Google Slides rely on time-consuming manual adjustments — resizing elements, aligning layouts, and formatting slides one by one. Pitchfy removes that friction by automating visual structure through cinematic pitch formats, allowing creatives to focus on shaping ideas instead of fighting layouts."})]})}),a.jsx("section",{id:"compare-alternatives",className:"relative bg-black py-20 lg:py-32 border-t border-white/[0.06]",children:a.jsxs("div",{className:"max-w-4xl mx-auto px-6 lg:px-12",children:[a.jsx(S.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-3xl md:text-4xl font-semibold text-white mb-6",children:"Pitchfy Compared to Other Presentation Tools"}),a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1},className:"text-white/60 text-lg leading-relaxed mb-16",children:"Pitchfy is a cinematic pitching platform built for creative storytelling, narrative flow, and visual intention. While many presentation tools — including AI-powered ones — focus on generating slides quickly, Pitchfy helps creatives shape ideas into authored, immersive pitches that feel intentional rather than templated."}),a.jsxs("div",{className:"space-y-12",children:[a.jsxs(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[a.jsx("h3",{className:"text-2xl font-semibold text-white mb-4",children:"Pitchfy vs PowerPoint"}),a.jsx("p",{className:"text-white/60 text-base leading-relaxed mb-4",children:"PowerPoint is built around slides and structured layouts, making it a standard choice for business presentations. However, its slide-by-slide approach often forces creative ideas into rigid formats that limit narrative pacing and emotional flow. Pitchfy approaches pitching as visual storytelling, prioritizing scenes, mood, and narrative continuity over static slides."}),a.jsxs(ae,{to:le("ComparePowerPoint"),className:"inline-flex items-center gap-2 text-blue-400 hover:text-blue-300 transition-colors",children:["Compare Pitchfy vs PowerPoint",a.jsx(En,{className:"w-4 h-4"})]})]}),a.jsxs(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[a.jsx("h3",{className:"text-2xl font-semibold text-white mb-4",children:"Pitchfy vs Google Slides"}),a.jsx("p",{className:"text-white/60 text-base leading-relaxed mb-4",children:"Google Slides emphasizes speed and collaboration, making it easy for teams to work together in real time. That simplicity comes at the cost of narrative depth, offering little support for cinematic flow or creative storytelling. Pitchfy is designed for creators who need their pitches to feel authored, immersive, and visually intentional."}),a.jsxs(ae,{to:le("CompareGoogleSlides"),className:"inline-flex items-center gap-2 text-blue-400 hover:text-blue-300 transition-colors",children:["Compare Pitchfy vs Google Slides",a.jsx(En,{className:"w-4 h-4"})]})]}),a.jsxs(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[a.jsx("h3",{className:"text-2xl font-semibold text-white mb-4",children:"Pitchfy vs Gamma"}),a.jsx("p",{className:"text-white/60 text-base leading-relaxed mb-4",children:"Gamma uses AI to generate structured slides quickly from prompts and outlines. While efficient, its output often follows predictable patterns that prioritize clarity over creative expression. Pitchfy gives creatives control over narrative flow and visual rhythm, helping pitches feel distinctive rather than algorithmic."}),a.jsxs(ae,{to:le("CompareGamma"),className:"inline-flex items-center gap-2 text-blue-400 hover:text-blue-300 transition-colors",children:["Compare Pitchfy vs Gamma",a.jsx(En,{className:"w-4 h-4"})]})]}),a.jsxs(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[a.jsx("h3",{className:"text-2xl font-semibold text-white mb-4",children:"Pitchfy vs Pitch"}),a.jsx("p",{className:"text-white/60 text-base leading-relaxed mb-4",children:"Pitch modernizes presentations with collaboration tools and polished slide templates. Its workflow remains centered on slides, keeping storytelling linear and format-driven. Pitchfy shifts the focus from slides to scenes, allowing ideas to unfold with cinematic pacing and creative intent."}),a.jsxs(ae,{to:le("ComparePitch"),className:"inline-flex items-center gap-2 text-blue-400 hover:text-blue-300 transition-colors",children:["Compare Pitchfy vs Pitch",a.jsx(En,{className:"w-4 h-4"})]})]}),a.jsxs(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[a.jsx("h3",{className:"text-2xl font-semibold text-white mb-4",children:"Pitchfy vs Slidebean"}),a.jsx("p",{className:"text-white/60 text-base leading-relaxed mb-4",children:"Slidebean is optimized for startup and investor presentations, emphasizing structure, metrics, and business logic. While effective for fundraising decks, it leaves limited room for creative exploration or visual mood. Pitchfy supports narrative-led pitches where story, tone, and visual language play a central role."}),a.jsxs(ae,{to:le("CompareSlidebean"),className:"inline-flex items-center gap-2 text-blue-400 hover:text-blue-300 transition-colors",children:["Compare Pitchfy vs Slidebean",a.jsx(En,{className:"w-4 h-4"})]})]}),a.jsxs(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[a.jsx("h3",{className:"text-2xl font-semibold text-white mb-4",children:"Pitchfy vs Beautiful.ai"}),a.jsx("p",{className:"text-white/60 text-base leading-relaxed mb-4",children:"Beautiful.ai automates layout decisions using design rules to maintain visual consistency. This improves efficie
240ncy but can result in presentations that feel uniform and business-centric. Pitchfy prioritizes creative authorship, enabling pitches that feel expressive, cinematic, and purpose-built."}),a.jsxs(ae,{to:le("CompareBeautifulAi"),className:"inline-flex items-center gap-2 text-blue-400 hover:text-blue-300 transition-colors",children:["Compare Pitchfy vs Beautiful.ai",a.jsx(En,{className:"w-4 h-4"})]})]}),a.jsxs(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[a.jsx("h3",{className:"text-2xl font-semibold text-white mb-4",children:"Pitchfy vs Decktopus"}),a.jsx("p",{className:"text-white/60 text-base leading-relaxed mb-4",children:"Decktopus focuses on speed, using AI to generate slides and suggested copy quickly. Its convenience often favors generic structure over narrative depth. Pitchfy is built for creators who need control over storytelling, visual flow, and creative intention."}),a.jsxs(ae,{to:le("CompareDecktopus"),className:"inline-flex items-center gap-2 text-blue-400 hover:text-blue-300 transition-colors",children:["Compare Pitchfy vs Decktopus",a.jsx(En,{className:"w-4 h-4"})]})]})]}),a.jsxs(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"mt-20",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-semibold text-white mb-6",children:"Why Creatives Choose Pitchfy"}),a.jsx("p",{className:"text-white/60 text-lg leading-relaxed mb-8",children:"Pitchfy is not designed to simply generate slides faster. It's built to help creative ideas land with clarity, emotion, and intention — through cinematic storytelling, narrative flow, and industry-specific pitch formats that go beyond templates."}),a.jsx(We,{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 text-white px-8 py-4 text-base font-medium rounded-full",children:"Join the Pitchfy waitlist"})]})]})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-32 border-t border-white/[0.06]",children:a.jsxs("div",{className:"max-w-4xl mx-auto px-6 lg:px-12",children:[a.jsx(S.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-3xl md:text-4xl font-semibold text-white mb-12",children:"Pitchfy vs Traditional Tools"}),a.jsx("div",{className:"overflow-x-auto",children:a.jsxs("table",{className:"w-full",children:[a.jsx("thead",{children:a.jsxs("tr",{className:"border-b border-white/[0.08]",children:[a.jsx("th",{className:"text-left py-4 px-4 text-white/50 font-medium text-sm"}),a.jsx("th",{className:"text-center py-4 px-4 text-white font-semibold",children:"Pitchfy"}),a.jsx("th",{className:"text-center py-4 px-4 text-white/70 font-medium",children:"Traditional Tools"})]})}),a.jsx("tbody",{children:[{label:"Core focus",pitchfy:"Cinematic storytelling",traditional:"Slide formatting"},{label:"Workflow",pitchfy:"Narrative-first",traditional:"Template-first"},{label:"Manual formatting",pitchfy:"Automated",traditional:"Required"},{label:"Creative pitch formats",pitchfy:"Built-in",traditional:"Manual build"},{label:"Narrative flow",pitchfy:"Scene-based",traditional:"Slide-based"}].map((t,e)=>a.jsxs(S.tr,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:e*.05},className:"border-b border-white/[0.04]",children:[a.jsx("td",{className:"py-4 px-4 text-white/60 text-sm",children:t.label}),a.jsx("td",{className:"py-4 px-4 text-center",children:a.jsxs("span",{className:"inline-flex items-center gap-2 text-blue-300 text-sm",children:[a.jsx(Ze,{className:"w-4 h-4"}),t.pitchfy]})}),a.jsx("td",{className:"py-4 px-4 text-center text-white/40 text-sm",children:t.traditional})]},e))})]})})]})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-32 border-t border-white/[0.06]",children:a.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-12 text-center",children:a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-2xl md:text-3xl text-white/80 leading-relaxed",children:"Pitchfy isn't competing with slides — it's replacing the need to think in slides altogether."})})}),a.jsxs("section",{className:"relative bg-black py-20 lg:py-32 border-t border-white/[0.06]",children:[a.jsx(S.div,{animate:{o
240pacity:[.03,.06,.03]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[400px] bg-blue-500/10 rounded-full blur-[120px] pointer-events-none"}),a.jsxs("div",{className:"relative z-10 max-w-2xl mx-auto px-6 lg:px-12 text-center",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-semibold text-white mb-6",children:"Pitch ideas the way they're meant to be seen."}),a.jsx(We,{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 text-white px-8 py-4 text-base font-medium rounded-full",children:"Join the waitlist"})]})]}),a.jsx("footer",{className:"bg-black border-t border-white/[0.06] py-10",children:a.jsx("div",{className:"max-w-5xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"flex flex-col items-center gap-6",children:[a.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/4b76a878a_pitchfywhitelogo.png",alt:"Pitchfy",className:"h-5 w-auto opacity-50"}),a.jsxs("div",{className:"flex items-center gap-6 flex-wrap justify-center",children:[a.jsx(ae,{to:le("Home"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Home"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("AIPitchDeckGenerator"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"AI Pitch Deck Generator"}),a.jsx(ae,{to:le("CreativePitchDeck"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Creative Pitch Deck"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("Contact"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Contact"})]}),a.jsx("p",{className:"text-white/30 text-xs text-center max-w-md",children:"Pitchfy is opening access in phases. Early sign-ups receive access before public release."}),a.jsx("p",{className:"text-white/20 text-xs",children:"© 2025 Pitchfy.ai"})]})})})]})}function IA(){return a.jsxs("div",{className:"min-h-screen bg-black",children:[a.jsxs("section",{className:"relative min-h-[60vh] flex flex-col items-center justify-center overflow-hidden bg-black",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black via-[#020204] to-black"}),a.jsx(S.div,{animate:{opacity:[.03,.06,.03]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[400px] bg-blue-500/10 rounded-full blur-[120px] pointer-events-none"}),a.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto px-6 lg:px-12 py-20 text-center",children:[a.jsx(S.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-4xl md:text-5xl lg:text-6xl font-bold tracking-tight leading-[1.1] mb-6 text-white",children:"Pitchfy vs Beautiful.ai"}),a.jsx(S.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.1},className:"text-white/60 text-lg md:text-xl max-w-2xl mx-auto leading-relaxed",children:"Beautiful.ai automates slide design. Pitchfy replaces slides with cinematic storytelling structure."})]})]}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-12",children:a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-white/60 text-lg leading-relaxed",children:"Beautiful.ai was built for slide-based presentations — requiring constant resizing, alignment, and formatting that slows the creative process. Pitchfy removes those time-consuming adjustments by replacing slides with cinematic pitch formats designed for visual storytelling and creative flow."})})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsx("div",{className:"max-w-4xl mx-auto px-6 lg:px-12",children:a.jsx("div",{className:"overflow-x-auto",children:a.jsxs("table",{className:"w-full",children:[a.jsx("thead",{children:a.jsxs("tr",{className:"border-b border-white/[0.08]",children:[a.jsx("th",{className:"text-left py-4 px-4 text-white/50 font-medium text-sm"}),a.jsx("th",{className:"text-center py-4 px-4 text-white font-semibold",children:"Pitchfy"}),a.jsx("th",{className:"text-center py-4 px-4 text-white/70 font-medium",children:"Beautiful.ai"})]})}),a.jsx("tbody",{children:[{label:"Core focus",pitchfy:"Cinematic storytelling",competitor:"Smart slide design"},{label:"Workflow",pitchfy:"Narrative-first",competitor:"Template-first"},{label:"Manual formatting",pitchfy:"Automated",competitor:"Auto-adjusted"},{label:"Pitch formats",pitchfy:"Built-in",competitor:"Smart templates"},{label:"Narrative structure",pitchfy:"Scene-based",competitor:"Slide-based"},{label:"Best use case",pitchfy:"Creative pitches",competitor:"Business presentations"}].map((t,e)=>a.jsxs(S.tr,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:e*.05},className:"border-b border-white/[0.04]",children:[a.jsx("td",{className:"py-4 px-4 text-white/60 text-sm",children:t.label}),a.jsx("td",{className:"py-4 px-4 text-center",children:a.jsxs("span",{className:"inline-flex items-center gap-2 text-blue-300 text-sm",children:[a.jsx(Ze,{className:"w-4 h-4"}),t.pitchfy]})}),a.jsx("td",{className:"py-4 px-4 text-center text-white/40 text-sm",children:t.competitor})]},e))})]})})})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl font-semibold text-white mb-4",children:"Choose Pitchfy if you:"}),a.jsx("ul",{className:"space-y-3",children:["Pitch creative ideas visually","Bu
240ild treatments, decks, or narrative pitches","Think in scenes, mood, and flow"].map((t,e)=>a.jsxs("li",{className:"flex items-start gap-3",children:[a.jsx(Ze,{className:"w-5 h-5 text-blue-400 flex-shrink-0 mt-0.5"}),a.jsx("span",{className:"text-white/70",children:t})]},e))})]}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl font-semibold text-white mb-4",children:"Choose Beautiful.ai if you:"}),a.jsx("ul",{className:"space-y-3",children:["Create business presentations or reports","Prefer automated slide formatting","Need team presentation workflows"].map((t,e)=>a.jsxs("li",{className:"flex items-start gap-3",children:[a.jsx("div",{className:"w-5 h-5 flex-shrink-0 mt-0.5"}),a.jsx("span",{className:"text-white/50",children:t})]},e))})]})]})})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsxs("div",{className:"max-w-3xl mx-auto px-6 lg:px-12 text-center",children:[a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-2xl text-white/70 leading-relaxed mb-8",children:"Pitchfy isn't a better version of Beautiful.ai. It's built for a different kind of pitch."}),a.jsx(We,{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 text-white px-8 py-4 text-base font-medium rounded-full",children:"Join the waitlist"})]})}),a.jsx("footer",{className:"bg-black border-t border-white/[0.06] py-10",children:a.jsx("div",{className:"max-w-5xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"flex flex-col items-center gap-6",children:[a.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/4b76a878a_pitchfywhitelogo.png",alt:"Pitchfy",className:"h-5 w-auto opacity-50"}),a.jsxs("div",{className:"flex items-center gap-6 flex-wrap justify-center",children:[a.jsx(ae,{to:le("Home"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Home"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("Compare"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Compare"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("Contact"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Contact"})]}),a.jsx("p",{className:"text-white/20 text-xs",children:"© 2025 Pitchfy.ai"})]})})})]})}function OA(){return a.jsxs("div",{className:"min-h-screen bg-black",children:[a.jsxs("section",{className:"relative min-h-[60vh] flex flex-col items-center justify-center overflow-hidden bg-black",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black via-[#020204] to-black"}),a.jsx(S.div,{animate:{opacity:[.03,.06,.03]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[400px] bg-blue-500/10 rounded-full blur-[120px] pointer-events-none"}),a.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto px-6 lg:px-12 py-20 text-center",children:[a.jsx(S.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-4xl md:text-5xl lg:text-6xl font-bold tracking-tight leading-[1.1] mb-6 text-white",children:"Pitchfy vs Decktopus"}),a.jsx(S.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.1},className:"text-white/60 text-lg md:text-xl max-w-2xl mx-auto leading-relaxed",children:"Decktopus generates AI presentation templates. Pitchfy creates cinematic pitch formats for creative storytelling."})]})]}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-12",children:a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-white/60 text-lg leading-relaxed",children:"Decktopus was built for slide-based presentations — requiring constant resizing, alignment, and formatting that slows the creative process. Pitchfy removes those time-consuming adjustments by replacing slides with cinematic pitch formats designed for visual storytelling and creative flow."})})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsx("div",{className:"max-w-4xl mx-auto px-6 lg:px-12",children:a.jsx("div",{className:"overflow-x-auto",children:a.jsxs("table",{className:"w-full",children:[a.jsx("thead",{children:a.jsxs("tr",{className:"border-b border-white/[0.08]",children:[a.jsx("th",{className:"text-left py-4 px-4 text-white/50 font-medium text-sm"}),a.jsx("th",{className:"text-center py-4 px-4 text-white font-semibold",children:"Pitchfy"}),a.jsx("th",{className:"text-center py-4 px-4 text-white/70 font-medium",children:"Decktopus"})]})}),a.jsx("tbody",{children:[{label:"Core focus",pitchfy:"Cinematic storytelling",competitor:"AI presentation templates"},{label:"Workflow",pitchfy:"Narrative-first",competitor:"Template-first"},{label:"Manual formatting",pitchfy:"Automated",competitor:"AI-assisted"},{label:"Pitch formats",pitchfy:"Built-in",competitor:"Generic templates"},{label:"Narrative structure",pitchfy:"Scene-based",competitor:"Slide-based"},{label:"Best use case",pitchfy:"Creative pitches",competitor:"Business presentations"}].map((t,e)=>a.jsxs(S.tr,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:e*.05},className:"border-b border-white/[0.04]",children:[a.jsx("td",{className:"py-4 px-4 text-white/60 text-sm",children:t.label}),a.jsx("td",{className:"py-4 px-4 text-center",children:a.jsxs("span",{className:"inline-flex items-center gap-2 text-blue-300 text-sm",children:[a.jsx(Ze,{className:"w-4 h-4"}),t.pitchfy]})}),a.jsx("td",{className:"py-4 px-4 text-center text-white/40 text-sm",children:t.competitor})]},e))})]})})})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl font-semibold text-white mb-4",children:"Choose Pitchfy if you:"}),a.jsx("ul",{className:"space-y-3",children:["Pitch creative ideas visually","Bu
240ild treatments, decks, or narrative pitches","Think in scenes, mood, and flow"].map((t,e)=>a.jsxs("li",{className:"flex items-start gap-3",children:[a.jsx(Ze,{className:"w-5 h-5 text-blue-400 flex-shrink-0 mt-0.5"}),a.jsx("span",{className:"text-white/70",children:t})]},e))})]}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl font-semibold text-white mb-4",children:"Choose Decktopus if you:"}),a.jsx("ul",{className:"space-y-3",children:["Create business presentations or reports","Prefer AI-generated slide templates","Need quick deck generation"].map((t,e)=>a.jsxs("li",{className:"flex items-start gap-3",children:[a.jsx("div",{className:"w-5 h-5 flex-shrink-0 mt-0.5"}),a.jsx("span",{className:"text-white/50",children:t})]},e))})]})]})})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsxs("div",{className:"max-w-3xl mx-auto px-6 lg:px-12 text-center",children:[a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-2xl text-white/70 leading-relaxed mb-8",children:"Pitchfy isn't a better version of Decktopus. It's built for a different kind of pitch."}),a.jsx(We,{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 text-white px-8 py-4 text-base font-medium rounded-full",children:"Join the waitlist"})]})}),a.jsx("footer",{className:"bg-black border-t border-white/[0.06] py-10",children:a.jsx("div",{className:"max-w-5xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"flex flex-col items-center gap-6",children:[a.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/4b76a878a_pitchfywhitelogo.png",alt:"Pitchfy",className:"h-5 w-auto opacity-50"}),a.jsxs("div",{className:"flex items-center gap-6 flex-wrap justify-center",children:[a.jsx(ae,{to:le("Home"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Home"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("Compare"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Compare"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("Contact"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Contact"})]}),a.jsx("p",{className:"text-white/20 text-xs",children:"© 2025 Pitchfy.ai"})]})})})]})}function MA(){return a.jsxs("div",{className:"min-h-screen bg-black",children:[a.jsxs("section",{className:"relative min-h-[60vh] flex flex-col items-center justify-center overflow-hidden bg-black",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black via-[#020204] to-black"}),a.jsx(S.div,{animate:{opacity:[.03,.06,.03]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[400px] bg-blue-500/10 rounded-full blur-[120px] pointer-events-none"}),a.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto px-6 lg:px-12 py-20 text-center",children:[a.jsx(S.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-4xl md:text-5xl lg:text-6xl font-bold tracking-tight leading-[1.1] mb-6 text-white",children:"Pitchfy vs Gamma"}),a.jsx(S.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.1},className:"text-white/60 text-lg md:text-xl max-w-2xl mx-auto leading-relaxed",children:"Gamma generates business AI decks. Pitchfy generates creative pitch formats for visual storytelling."})]})]}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-12",children:a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-white/60 text-lg leading-relaxed",children:"Gamma was built for slide-based presentations — requiring constant resizing, alignment, and formatting that slows the creative process. Pitchfy removes those time-consuming adjustments by replacing slides with cinematic pitch formats designed for visual storytelling and creative flow."})})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsx("div",{className:"max-w-4xl mx-auto px-6 lg:px-12",children:a.jsx("div",{className:"overflow-x-auto",children:a.jsxs("table",{className:"w-full",children:[a.jsx("thead",{children:a.jsxs("tr",{className:"border-b border-white/[0.08]",children:[a.jsx("th",{className:"text-left py-4 px-4 text-white/50 font-medium text-sm"}),a.jsx("th",{className:"text-center py-4 px-4 text-white font-semibold",children:"Pitchfy"}),a.jsx("th",{className:"text-center py-4 px-4 text-white/70 font-medium",children:"Gamma"})]})}),a.jsx("tbody",{children:[{label:"Core focus",pitchfy:"Cinematic storytelling",competitor:"Business AI decks"},{label:"Workflow",pitchfy:"Narrative-first",competitor:"Outline-first"},{label:"Manual formatting",pitchfy:"Automated",competitor:"AI-assisted"},{label:"Pitch formats",pitchfy:"Built-in",competitor:"Generic templates"},{label:"Narrative structure",pitchfy:"Scene-based",competitor:"Card-based"},{label:"Best use case",pitchfy:"Creative pitches",competitor:"Business presentations"}].map((t,e)=>a.jsxs(S.tr,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:e*.05},className:"border-b border-white/[0.04]",children:[a.jsx("td",{className:"py-4 px-4 text-white/60 text-sm",children:t.label}),a.jsx("td",{className:"py-4 px-4 text-center",children:a.jsxs("span",{className:"inline-flex items-center gap-2 text-blue-300 text-sm",children:[a.jsx(Ze,{className:"w-4 h-4"}),t.pitchfy]})}),a.jsx("td",{className:"py-4 px-4 text-center text-white/40 text-sm",children:t.competitor})]},e))})]})})})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl font-semibold text-white mb-4",children:"Choose Pitchfy if you:"}),a.jsx("ul",{className:"space-y-3",children:["Pitch creative ideas visually","Bu
240ild treatments, decks, or narrative pitches","Think in scenes, mood, and flow"].map((t,e)=>a.jsxs("li",{className:"flex items-start gap-3",children:[a.jsx(Ze,{className:"w-5 h-5 text-blue-400 flex-shrink-0 mt-0.5"}),a.jsx("span",{className:"text-white/70",children:t})]},e))})]}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl font-semibold text-white mb-4",children:"Choose Gamma if you:"}),a.jsx("ul",{className:"space-y-3",children:["Create business presentations or reports","Prefer AI-generated business content","Need card-based layouts"].map((t,e)=>a.jsxs("li",{className:"flex items-start gap-3",children:[a.jsx("div",{className:"w-5 h-5 flex-shrink-0 mt-0.5"}),a.jsx("span",{className:"text-white/50",children:t})]},e))})]})]})})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsxs("div",{className:"max-w-3xl mx-auto px-6 lg:px-12 text-center",children:[a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-2xl text-white/70 leading-relaxed mb-8",children:"Pitchfy isn't a better version of Gamma. It's built for a different kind of pitch."}),a.jsx(We,{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 text-white px-8 py-4 text-base font-medium rounded-full",children:"Join the waitlist"})]})}),a.jsx("footer",{className:"bg-black border-t border-white/[0.06] py-10",children:a.jsx("div",{className:"max-w-5xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"flex flex-col items-center gap-6",children:[a.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/4b76a878a_pitchfywhitelogo.png",alt:"Pitchfy",className:"h-5 w-auto opacity-50"}),a.jsxs("div",{className:"flex items-center gap-6 flex-wrap justify-center",children:[a.jsx(ae,{to:le("Home"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Home"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("Compare"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Compare"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("Contact"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Contact"})]}),a.jsx("p",{className:"text-white/20 text-xs",children:"© 2025 Pitchfy.ai"})]})})})]})}function LA(){return a.jsxs("div",{className:"min-h-screen bg-black",children:[a.jsxs("section",{className:"relative min-h-[60vh] flex flex-col items-center justify-center overflow-hidden bg-black",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black via-[#020204] to-black"}),a.jsx(S.div,{animate:{opacity:[.03,.06,.03]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[400px] bg-blue-500/10 rounded-full blur-[120px] pointer-events-none"}),a.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto px-6 lg:px-12 py-20 text-center",children:[a.jsx(S.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-4xl md:text-5xl lg:text-6xl font-bold tracking-tight leading-[1.1] mb-6 text-white",children:"Pitchfy vs Google Slides"}),a.jsx(S.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.1},className:"text-white/60 text-lg md:text-xl max-w-2xl mx-auto leading-relaxed",children:"Google Slides focuses on collaboration and templates. Pitchfy focuses on narrative flow and cinematic structure."})]})]}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-12",children:a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-white/60 text-lg leading-relaxed",children:"Google Slides was built for slide-based presentations — requiring constant resizing, alignment, and formatting that slows the creative process. Pitchfy removes those time-consuming adjustments by replacing slides with cinematic pitch formats designed for visual storytelling and creative flow."})})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsx("div",{className:"max-w-4xl mx-auto px-6 lg:px-12",children:a.jsx("div",{className:"overflow-x-auto",children:a.jsxs("table",{className:"w-full",children:[a.jsx("thead",{children:a.jsxs("tr",{className:"border-b border-white/[0.08]",children:[a.jsx("th",{className:"text-left py-4 px-4 text-white/50 font-medium text-sm"}),a.jsx("th",{className:"text-center py-4 px-4 text-white font-semibold",children:"Pitchfy"}),a.jsx("th",{className:"text-center py-4 px-4 text-white/70 font-medium",children:"Google Slides"})]})}),a.jsx("tbody",{children:[{label:"Core focus",pitchfy:"Cinematic storytelling",competitor:"Cloud collaboration"},{label:"Workflow",pitchfy:"Narrative-first",competitor:"Template-first"},{label:"Manual formatting",pitchfy:"Automated",competitor:"Required"},{label:"Pitch formats",pitchfy:"Built-in",competitor:"Manual build"},{label:"Narrative structure",pitchfy:"Scene-based",competitor:"Slide-based"},{label:"Best use case",pitchfy:"Creative pitches",competitor:"Team presentations"}].map((t,e)=>a.jsxs(S.tr,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:e*.05},className:"border-b border-white/[0.04]",children:[a.jsx("td",{className:"py-4 px-4 text-white/60 text-sm",children:t.label}),a.jsx("td",{className:"py-4 px-4 text-center",children:a.jsxs("span",{className:"inline-flex items-center gap-2 text-blue-300 text-sm",children:[a.jsx(Ze,{className:"w-4 h-4"}),t.pitchfy]})}),a.jsx("td",{className:"py-4 px-4 text-center text-white/40 text-sm",children:t.competitor})]},e))})]})})})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl font-semibold text-white mb-4",children:"Choose Pitchfy if you:"}),a.jsx("ul",{className:"space-y-3",children:["Pitch creative ideas visually","Bu
240ild treatments, decks, or narrative pitches","Think in scenes, mood, and flow"].map((t,e)=>a.jsxs("li",{className:"flex items-start gap-3",children:[a.jsx(Ze,{className:"w-5 h-5 text-blue-400 flex-shrink-0 mt-0.5"}),a.jsx("span",{className:"text-white/70",children:t})]},e))})]}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl font-semibold text-white mb-4",children:"Choose Google Slides if you:"}),a.jsx("ul",{className:"space-y-3",children:["Create business presentations or reports","Prefer traditional slide-based tools","Need real-time team collaboration"].map((t,e)=>a.jsxs("li",{className:"flex items-start gap-3",children:[a.jsx("div",{className:"w-5 h-5 flex-shrink-0 mt-0.5"}),a.jsx("span",{className:"text-white/50",children:t})]},e))})]})]})})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsxs("div",{className:"max-w-3xl mx-auto px-6 lg:px-12 text-center",children:[a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-2xl text-white/70 leading-relaxed mb-8",children:"Pitchfy isn't a better version of Google Slides. It's built for a different kind of pitch."}),a.jsx(We,{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 text-white px-8 py-4 text-base font-medium rounded-full",children:"Join the waitlist"})]})}),a.jsx("footer",{className:"bg-black border-t border-white/[0.06] py-10",children:a.jsx("div",{className:"max-w-5xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"flex flex-col items-center gap-6",children:[a.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/4b76a878a_pitchfywhitelogo.png",alt:"Pitchfy",className:"h-5 w-auto opacity-50"}),a.jsxs("div",{className:"flex items-center gap-6 flex-wrap justify-center",children:[a.jsx(ae,{to:le("Home"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Home"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("Compare"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Compare"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("Contact"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Contact"})]}),a.jsx("p",{className:"text-white/20 text-xs",children:"© 2025 Pitchfy.ai"})]})})})]})}function DA(){return a.jsxs("div",{className:"min-h-screen bg-black",children:[a.jsxs("section",{className:"relative min-h-[60vh] flex flex-col items-center justify-center overflow-hidden bg-black",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black via-[#020204] to-black"}),a.jsx(S.div,{animate:{opacity:[.03,.06,.03]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[400px] bg-blue-500/10 rounded-full blur-[120px] pointer-events-none"}),a.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto px-6 lg:px-12 py-20 text-center",children:[a.jsx(S.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-4xl md:text-5xl lg:text-6xl font-bold tracking-tight leading-[1.1] mb-6 text-white",children:"Pitchfy vs Pitch"}),a.jsx(S.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.1},className:"text-white/60 text-lg md:text-xl max-w-2xl mx-auto leading-relaxed",children:"Pitch focuses on team collaboration and slide design. Pitchfy focuses on narrative flow and cinematic structure."})]})]}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-12",children:a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-white/60 text-lg leading-relaxed",children:"Pitch was built for slide-based presentations — requiring constant resizing, alignment, and formatting that slows the creative process. Pitchfy removes those time-consuming adjustments by replacing slides with cinematic pitch formats designed for visual storytelling and creative flow."})})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsx("div",{className:"max-w-4xl mx-auto px-6 lg:px-12",children:a.jsx("div",{className:"overflow-x-auto",children:a.jsxs("table",{className:"w-full",children:[a.jsx("thead",{children:a.jsxs("tr",{className:"border-b border-white/[0.08]",children:[a.jsx("th",{className:"text-left py-4 px-4 text-white/50 font-medium text-sm"}),a.jsx("th",{className:"text-center py-4 px-4 text-white font-semibold",children:"Pitchfy"}),a.jsx("th",{className:"text-center py-4 px-4 text-white/70 font-medium",children:"Pitch"})]})}),a.jsx("tbody",{children:[{label:"Core focus",pitchfy:"Cinematic storytelling",competitor:"Team collaboration"},{label:"Workflow",pitchfy:"Narrative-first",competitor:"Template-first"},{label:"Manual formatting",pitchfy:"Automated",competitor:"Design-assisted"},{label:"Pitch formats",pitchfy:"Built-in",competitor:"Brand templates"},{label:"Narrative structure",pitchfy:"Scene-based",competitor:"Slide-based"},{label:"Best use case",pitchfy:"Creative pitches",competitor:"Sales decks"}].map((t,e)=>a.jsxs(S.tr,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:e*.05},className:"border-b border-white/[0.04]",children:[a.jsx("td",{className:"py-4 px-4 text-white/60 text-sm",children:t.label}),a.jsx("td",{className:"py-4 px-4 text-center",children:a.jsxs("span",{className:"inline-flex items-center gap-2 text-blue-300 text-sm",children:[a.jsx(Ze,{className:"w-4 h-4"}),t.pitchfy]})}),a.jsx("td",{className:"py-4 px-4 text-center text-white/40 text-sm",children:t.competitor})]},e))})]})})})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl font-semibold text-white mb-4",children:"Choose Pitchfy if you:"}),a.jsx("ul",{className:"space-y-3",children:["Pitch creative ideas visually","Bu
240ild treatments, decks, or narrative pitches","Think in scenes, mood, and flow"].map((t,e)=>a.jsxs("li",{className:"flex items-start gap-3",children:[a.jsx(Ze,{className:"w-5 h-5 text-blue-400 flex-shrink-0 mt-0.5"}),a.jsx("span",{className:"text-white/70",children:t})]},e))})]}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl font-semibold text-white mb-4",children:"Choose Pitch if you:"}),a.jsx("ul",{className:"space-y-3",children:["Create sales or marketing presentations","Prefer traditional slide-based tools","Need real-time team collaboration"].map((t,e)=>a.jsxs("li",{className:"flex items-start gap-3",children:[a.jsx("div",{className:"w-5 h-5 flex-shrink-0 mt-0.5"}),a.jsx("span",{className:"text-white/50",children:t})]},e))})]})]})})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsxs("div",{className:"max-w-3xl mx-auto px-6 lg:px-12 text-center",children:[a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-2xl text-white/70 leading-relaxed mb-8",children:"Pitchfy isn't a better version of Pitch. It's built for a different kind of pitch."}),a.jsx(We,{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 text-white px-8 py-4 text-base font-medium rounded-full",children:"Join the waitlist"})]})}),a.jsx("footer",{className:"bg-black border-t border-white/[0.06] py-10",children:a.jsx("div",{className:"max-w-5xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"flex flex-col items-center gap-6",children:[a.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/4b76a878a_pitchfywhitelogo.png",alt:"Pitchfy",className:"h-5 w-auto opacity-50"}),a.jsxs("div",{className:"flex items-center gap-6 flex-wrap justify-center",children:[a.jsx(ae,{to:le("Home"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Home"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("Compare"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Compare"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("Contact"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Contact"})]}),a.jsx("p",{className:"text-white/20 text-xs",children:"© 2025 Pitchfy.ai"})]})})})]})}function FA(){return a.jsxs("div",{className:"min-h-screen bg-black",children:[a.jsxs("section",{className:"relative min-h-[60vh] flex flex-col items-center justify-center overflow-hidden bg-black",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black via-[#020204] to-black"}),a.jsx(S.div,{animate:{opacity:[.03,.06,.03]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[400px] bg-blue-500/10 rounded-full blur-[120px] pointer-events-none"}),a.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto px-6 lg:px-12 py-20 text-center",children:[a.jsx(S.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-4xl md:text-5xl lg:text-6xl font-bold tracking-tight leading-[1.1] mb-6 text-white",children:"Pitchfy vs PowerPoint"}),a.jsx(S.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.1},className:"text-white/60 text-lg md:text-xl max-w-2xl mx-auto leading-relaxed",children:"PowerPoint relies on time-consuming manual adjustments. Pitchfy replaces that friction with cinematic storytelling."})]})]}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-12",children:a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-white/60 text-lg leading-relaxed",children:"PowerPoint was built for slide-based presentations — requiring constant resizing, alignment, and formatting that slows the creative process. Pitchfy removes those time-consuming adjustments by replacing slides with cinematic pitch formats designed for visual storytelling and creative flow."})})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsx("div",{className:"max-w-4xl mx-auto px-6 lg:px-12",children:a.jsx("div",{className:"overflow-x-auto",children:a.jsxs("table",{className:"w-full",children:[a.jsx("thead",{children:a.jsxs("tr",{className:"border-b border-white/[0.08]",children:[a.jsx("th",{className:"text-left py-4 px-4 text-white/50 font-medium text-sm"}),a.jsx("th",{className:"text-center py-4 px-4 text-white font-semibold",children:"Pitchfy"}),a.jsx("th",{className:"text-center py-4 px-4 text-white/70 font-medium",children:"PowerPoint"})]})}),a.jsx("tbody",{children:[{label:"Core focus",pitchfy:"Cinematic storytelling",competitor:"Slide formatting"},{label:"Workflow",pitchfy:"Narrative-first",competitor:"Template-first"},{label:"Manual formatting",pitchfy:"Automated",competitor:"Required"},{label:"Pitch formats",pitchfy:"Built-in",competitor:"Manual build"},{label:"Narrative structure",pitchfy:"Scene-based",competitor:"Slide-based"},{label:"Best use case",pitchfy:"Creative pitches",competitor:"Business presentations"}].map((t,e)=>a.jsxs(S.tr,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:e*.05},className:"border-b border-white/[0.04]",children:[a.jsx("td",{className:"py-4 px-4 text-white/60 text-sm",children:t.label}),a.jsx("td",{className:"py-4 px-4 text-center",children:a.jsxs("span",{className:"inline-flex items-center gap-2 text-blue-300 text-sm",children:[a.jsx(Ze,{className:"w-4 h-4"}),t.pitchfy]})}),a.jsx("td",{className:"py-4 px-4 text-center text-white/40 text-sm",children:t.competitor})]},e))})]})})})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl font-semibold text-white mb-4",children:"Choose Pitchfy if you:"}),a.jsx("ul",{className:"space-y-3",children:["Pitch creative ideas visually","Bu
240ild treatments, decks, or narrative pitches","Think in scenes, mood, and flow"].map((t,e)=>a.jsxs("li",{className:"flex items-start gap-3",children:[a.jsx(Ze,{className:"w-5 h-5 text-blue-400 flex-shrink-0 mt-0.5"}),a.jsx("span",{className:"text-white/70",children:t})]},e))})]}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl font-semibold text-white mb-4",children:"Choose PowerPoint if you:"}),a.jsx("ul",{className:"space-y-3",children:["Create business presentations or reports","Prefer traditional slide-based tools","Need Microsoft Office integration"].map((t,e)=>a.jsxs("li",{className:"flex items-start gap-3",children:[a.jsx("div",{className:"w-5 h-5 flex-shrink-0 mt-0.5"}),a.jsx("span",{className:"text-white/50",children:t})]},e))})]})]})})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsxs("div",{className:"max-w-3xl mx-auto px-6 lg:px-12 text-center",children:[a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-2xl text-white/70 leading-relaxed mb-8",children:"Pitchfy isn't a better version of PowerPoint. It's built for a different kind of pitch."}),a.jsx(We,{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 text-white px-8 py-4 text-base font-medium rounded-full",children:"Join the waitlist"})]})}),a.jsx("footer",{className:"bg-black border-t border-white/[0.06] py-10",children:a.jsx("div",{className:"max-w-5xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"flex flex-col items-center gap-6",children:[a.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/4b76a878a_pitchfywhitelogo.png",alt:"Pitchfy",className:"h-5 w-auto opacity-50"}),a.jsxs("div",{className:"flex items-center gap-6 flex-wrap justify-center",children:[a.jsx(ae,{to:le("Home"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Home"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("Compare"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Compare"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("Contact"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Contact"})]}),a.jsx("p",{className:"text-white/20 text-xs",children:"© 2025 Pitchfy.ai"})]})})})]})}function VA(){return a.jsxs("div",{className:"min-h-screen bg-black",children:[a.jsxs("section",{className:"relative min-h-[60vh] flex flex-col items-center justify-center overflow-hidden bg-black",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black via-[#020204] to-black"}),a.jsx(S.div,{animate:{opacity:[.03,.06,.03]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[400px] bg-blue-500/10 rounded-full blur-[120px] pointer-events-none"}),a.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto px-6 lg:px-12 py-20 text-center",children:[a.jsx(S.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-4xl md:text-5xl lg:text-6xl font-bold tracking-tight leading-[1.1] mb-6 text-white",children:"Pitchfy vs Slidebean"}),a.jsx(S.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.1},className:"text-white/60 text-lg md:text-xl max-w-2xl mx-auto leading-relaxed",children:"Slidebean optimizes investor pitch decks. Pitchfy creates cinematic pitch formats for visual storytelling."})]})]}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-12",children:a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-white/60 text-lg leading-relaxed",children:"Slidebean was built for slide-based presentations — requiring constant resizing, alignment, and formatting that slows the creative process. Pitchfy removes those time-consuming adjustments by replacing slides with cinematic pitch formats designed for visual storytelling and creative flow."})})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsx("div",{className:"max-w-4xl mx-auto px-6 lg:px-12",children:a.jsx("div",{className:"overflow-x-auto",children:a.jsxs("table",{className:"w-full",children:[a.jsx("thead",{children:a.jsxs("tr",{className:"border-b border-white/[0.08]",children:[a.jsx("th",{className:"text-left py-4 px-4 text-white/50 font-medium text-sm"}),a.jsx("th",{className:"text-center py-4 px-4 text-white font-semibold",children:"Pitchfy"}),a.jsx("th",{className:"text-center py-4 px-4 text-white/70 font-medium",children:"Slidebean"})]})}),a.jsx("tbody",{children:[{label:"Core focus",pitchfy:"Cinematic storytelling",competitor:"Investor pitch decks"},{label:"Workflow",pitchfy:"Narrative-first",competitor:"Outline-first"},{label:"Manual formatting",pitchfy:"Automated",competitor:"AI-assisted"},{label:"Pitch formats",pitchfy:"Built-in",competitor:"Business templates"},{label:"Narrative structure",pitchfy:"Scene-based",competitor:"Slide-based"},{label:"Best use case",pitchfy:"Creative pitches",competitor:"Startup fundraising"}].map((t,e)=>a.jsxs(S.tr,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:e*.05},className:"border-b border-white/[0.04]",children:[a.jsx("td",{className:"py-4 px-4 text-white/60 text-sm",children:t.label}),a.jsx("td",{className:"py-4 px-4 text-center",children:a.jsxs("span",{className:"inline-flex items-center gap-2 text-blue-300 text-sm",children:[a.jsx(Ze,{className:"w-4 h-4"}),t.pitchfy]})}),a.jsx("td",{className:"py-4 px-4 text-center text-white/40 text-sm",children:t.competitor})]},e))})]})})})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl font-semibold text-white mb-4",children:"Choose Pitchfy if you:"}),a.jsx("ul",{className:"space-y-3",children:["Pitch creative ideas visually","Bu
240ild treatments, decks, or narrative pitches","Think in scenes, mood, and flow"].map((t,e)=>a.jsxs("li",{className:"flex items-start gap-3",children:[a.jsx(Ze,{className:"w-5 h-5 text-blue-400 flex-shrink-0 mt-0.5"}),a.jsx("span",{className:"text-white/70",children:t})]},e))})]}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl font-semibold text-white mb-4",children:"Choose Slidebean if you:"}),a.jsx("ul",{className:"space-y-3",children:["Raise funding for a startup","Prefer investor-focused deck templates","Need financial slide optimization"].map((t,e)=>a.jsxs("li",{className:"flex items-start gap-3",children:[a.jsx("div",{className:"w-5 h-5 flex-shrink-0 mt-0.5"}),a.jsx("span",{className:"text-white/50",children:t})]},e))})]})]})})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-28 border-t border-white/[0.06]",children:a.jsxs("div",{className:"max-w-3xl mx-auto px-6 lg:px-12 text-center",children:[a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-2xl text-white/70 leading-relaxed mb-8",children:"Pitchfy isn't a better version of Slidebean. It's built for a different kind of pitch."}),a.jsx(We,{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 text-white px-8 py-4 text-base font-medium rounded-full",children:"Join the waitlist"})]})}),a.jsx("footer",{className:"bg-black border-t border-white/[0.06] py-10",children:a.jsx("div",{className:"max-w-5xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"flex flex-col items-center gap-6",children:[a.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/4b76a878a_pitchfywhitelogo.png",alt:"Pitchfy",className:"h-5 w-auto opacity-50"}),a.jsxs("div",{className:"flex items-center gap-6 flex-wrap justify-center",children:[a.jsx(ae,{to:le("Home"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Home"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("Compare"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Compare"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("Contact"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Contact"})]}),a.jsx("p",{className:"text-white/20 text-xs",children:"© 2025 Pitchfy.ai"})]})})})]})}function zA(){const[t,e]=P.useState({name:"",email:"",subject:"",message:""}),[n,i]=P.useState("idle");return a.jsxs("div",{className:"min-h-screen bg-black",children:[a.jsxs("section",{className:"relative min-h-screen flex flex-col items-center justify-center overflow-hidden bg-black",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black via-[#020204] to-black"}),a.jsx("div",{className:"absolute inset-0 opacity-[0.015] pointer-events-none mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}}),a.jsx(S.div,{animate:{opacity:[.03,.06,.03]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[400px] bg-blue-500/10 rounded-full blur-[120px] pointer-events-none"}),a.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto px-6 lg:px-12 py-20 text-center",children:[a.jsxs(S.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.6},className:"inline-flex items-center gap-2 px-5 py-2 rounded-full bg-gradient-to-r from-blue-500/15 via-blue-400/10 to-transparent border border-blue-400/30 backdrop-blur-sm mb-8",children:[a.jsx(yg,{className:"w-4 h-4 text-blue-400"}),a.jsx("span",{className:"text-blue-200/90 text-xs tracking-[0.3em] uppercase font-semibold",children:"Get In Touch"})]}),a.jsx(S.h1,{initial:{opacity:0,y:30}
240,animate:{opacity:1,y:0},transition:{duration:.8,delay:.1},className:"text-5xl md:text-6xl lg:text-7xl font-bold tracking-tight leading-[0.95] mb-8",children:a.jsx("span",{className:"block bg-gradient-to-b from-white via-blue-50 to-blue-200 bg-clip-text text-transparent",children:"Contact Pitchfy"})}),a.jsxs(S.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.2},className:"text-white/70 text-lg md:text-xl max-w-2xl mx-auto leading-relaxed mb-6",children:["Have a question, partnership idea, or press inquiry?",a.jsx("br",{}),"Reach the right team below."]}),a.jsx(S.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.3},className:"mt-8",children:a.jsxs("a",{href:"mailto:[email protected]",className:"inline-flex items-center gap-3 text-blue-400 hover:text-blue-300 transition-colors text-2xl md:text-3xl font-semibold",children:[a.jsx(yg,{className:"w-8 h-8"}),"[email protected]"]})})]})]}),a.jsx("footer",{className:"bg-black border-t border-white/[0.06] py-10",children:a.jsx("div",{className:"max-w-5xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"flex flex-col items-center gap-6",children:[a.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/4b76a878a_pitchfywhitelogo.png",alt:"Pitchfy",className:"h-5 w-auto opacity-50"}),a.jsxs("div",{className:"flex items-center gap-6 flex-wrap justify-center",children:[a.jsx(ae,{to:le("Home"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Home"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("AIPitchDeckGenerator"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"AI Pitch Deck"}),a.jsx(ae,{to:le("DirectorsTreatment"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Director's Treatment"}),a.jsx(ae,{to:le("FilmTreatment"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Film Treatment"}),a.jsx(ae,{to:le("CreativePitchDeck"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Creative Deck"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("Contact"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Contact"})]}),a.jsx("p",{className:"text-white/30 text-xs text-center max-w-md",children:"Pitchfy is opening access in phases. Early sign-ups receive access before public release."}),a.jsx("p",{className:"text-white/20 text-xs",children:"© 2026 Pitchfy.ai"})]})})})]})}function BA(){const[t,e]=P.useState(""),[n,i]=P.useState("idle"),o=async c=>{if(c.preventDefault(),!(!t||n==="loading")){i("loading");try{(await fetch("https://app.kit.com/forms/8910504/subscriptions",{method:"POST",mode:"cors",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({email_address:t})})).ok?(i("success"),e(""),setTimeout(()=>i("idle"),3e3)):(i("error"),setTimeout(()=>i("idle"),3e3))}catch{i("error"),setTimeout(()=>i("idle"),3e3)}}};return a.jsxs("div",{className:"min-h-screen bg-black",children:[a.jsxs("section",{className:"relative h-[50vh] lg:h-[60vh] overflow-hidden bg-black",children:[a.jsx(S.div,{className:"absolute inset-0 bg-cover bg-center",animate:{scale:[1,1.05,1]},transition:{duration:20,repeat:1/0,ease:"easeInOut"},style:{backgroundImage:"url(https://raw.githubusercontent.com/aethwave/Pitchfy/main/Pitchfy_web_hero_5.webp)"}}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black/40 via-black/20 to-black/90"}),a.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_center,transparent_0%,black_100%)] opacity-40"}),a.jsx("div",{className:"absolute inset-0 opacity-[0.03] pointer-events-none mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='3.5' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}})]}),a.jsxs("section",{className:"relative bg-black py-20 lg:py-32",children:[a.jsx(S.div,{animate:{o
240pacity:[.03,.06,.03]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[400px] bg-blue-500/10 rounded-full blur-[120px] pointer-events-none"}),a.jsxs("div",{className:"relative z-10 max-w-5xl mx-auto px-6 lg:px-12 text-center",children:[a.jsxs(S.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-4xl sm:text-5xl md:text-6xl lg:text-7xl font-bold text-white tracking-tight leading-[1.15] mb-8",children:[a.jsx("span",{className:"inline-block",children:"Creative Pitch Decks"})," ",a.jsx("span",{className:"inline-block",children:"Built for Visual"})," ",a.jsx("span",{className:"inline-block",children:"Storytelling"})]}),a.jsxs(S.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.1},className:"text-white/70 text-lg sm:text-xl md:text-2xl max-w-3xl mx-auto leading-relaxed mb-10 px-4",children:[a.jsx("span",{className:"inline-block",children:"Generate cinematic pitch decks for"})," ",a.jsx("span",{className:"inline-block",children:"film, music, photography, and brand"})," ",a.jsx("span",{className:"inline-block",children:"storytelling. Built for creatives who"})," ",a.jsx("span",{className:"inline-block",children:"think visually."})]}),a.jsxs(S.form,{onSubmit:o,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.2},className:"flex flex-col sm:flex-row gap-3 max-w-md mx-auto",children:[a.jsx("input",{type:"email",value:t,onChange:c=>e(c.target.value),placeholder:"Enter your email",required:!0,disabled:n==="loading",className:"flex-1 px-6 py-4 rounded-full bg-white/5 border border-white/10 text-white placeholder:text-white/40 focus:outline-none focus:border-blue-500/50 focus:bg-white/[0.07] text-sm transition-all"}),a.jsx(We,{type:"submit",disabled:n==="loading",className:"bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 text-white px-8 py-4 text-sm font-medium rounded-full",children:n==="loading"?"Joining...":n==="success"?"✓ Joined!":"Unlock Pitchfy"})]})]})]}),a.jsxs("section",{className:"relative bg-black py-24 lg:py-32 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black via-[#020204] to-black"}),a.jsx("div",{className:"absolute inset-0 opacity-[0.02] pointer-events-none mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='3' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}}),a.jsx(S.div,{animate:{opacity:[.04,.08,.04],x:[-50,50,-50]},transition:{duration:12,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/3 -translate-y-1/2 w-[700px] h-[400px] bg-blue-500/5 rounded-full blur-[120px] pointer-events-none"}),a.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-8 flex flex-col justify-around items-center py-8 opacity-[0.03]",children:[...Array(12)].map((c,u)=>a.jsx("div",{className:"w-3 h-3 rounded-sm bg-white"},u))}),a.jsx("div",{className:"absolute right-0 top-0 bottom-0 w-8 flex flex-col justify-around items-center py-8 opacity-[0.03]",children:[...Array(12)].map((c,u)=>a.jsx("div",{className:"w-3 h-3 rounded-sm bg-white"},u))}),a.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto px-6 lg:px-12",children:[a.jsxs(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-white/[0.03] border border-white/[0.08] mb-8",children:[a.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-blue-400/70"}),a.jsx("span",{className:"text-white/50 text-xs tracking-[0.2em] uppercase font-medium",children:"What This Is"})]}),a.jsxs(S.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.1},className:"text-3xl md:text-4xl lg:text-5xl font-bold leading-[1.1] tracking-tight mb-10",children:[a.jsx("span",{className:"bg-gradient-to-r from-white via-blue-100 to-blue-300 bg-clip-text text-transparent",children:"The Visual Pitch That"}),a.jsx("br",{}),a.jsx("span",{className:"bg-gradient-to-r from-blue-300 via-blue-400 to-blue-500 bg-clip-text text-transparent",children:"Wins The Job"})]}),a.jsxs("div",{className:"space-y-6 text-white/70 text-base md:text-lg leading-relaxed",children:[a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.2},className:"text-white/80 text-lg md:text-xl leading-relaxed",children:"Pitchfy.ai generates creative pitch decks designed for visual storytelling across film, music, photography, and brand campaigns. Our AI understands how creatives think and builds presentations that look intentional."}),a.jsx(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.3},className:"h-px bg-gradient-to-r from-transparent via-white/10 to-transparent my-8"}),a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.4},children:"Unlike corporate slide decks, creative pitch decks need cinematic flow, visual hierarchy, and storytelling structure. Pitchfy creates layouts optimized for mood boards, treatments, portfolios, and concept pitches."}),a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.5},children:"Whether you're pitching a music video, photography campaign, film project, or brand concept, Pitchfy builds decks that communicate your vision clearly and professionally."})]}),a.jsx(S.div,{initial:{opacity:0}
240,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:1,delay:.6},className:"mt-12 font-mono text-xs text-white/20 tracking-wider",children:"00:00:14:22"})]})]}),a.jsxs("section",{className:"relative bg-black py-20 lg:py-28",children:[a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),a.jsxs("div",{className:"relative z-10 max-w-3xl mx-auto px-6 lg:px-12",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-semibold text-white mb-8",children:"Why Pitchfy"}),a.jsx("div",{className:"space-y-5",children:[{icon:wi,text:"AI-generated layouts designed for visual storytelling"},{icon:Ni,text:"Built for film, music video, photography, and brand pitches"},{icon:yc,text:"Cinematic structure that captures attention and emotion"},{icon:cf,text:"Understands creative briefs, not just bullet points"},{icon:js,text:"Generate complete creative decks in seconds"}].map((c,u)=>{const h=c.icon;return a.jsxs(S.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,delay:u*.1},className:"flex items-start gap-4",children:[a.jsx("div",{className:"flex-shrink-0 w-10 h-10 rounded-lg bg-blue-500/10 border border-blue-500/20 flex items-center justify-center",children:a.jsx(h,{className:"w-5 h-5 text-blue-400"})}),a.jsx("p",{className:"text-white/70 text-base pt-2",children:c.text})]},u)})})]})]}),a.jsxs("section",{className:"relative bg-black py-20 lg:py-28",children:[a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),a.jsxs("div",{className:"relative z-10 max-w-3xl mx-auto px-6 lg:px-12",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-semibold text-white mb-8",children:"How It Works"}),a.jsx("div",{className:"space-y-6",children:[{num:"01",title:"Describe Your Vision",desc:"Write your creative brief: concept, mood, visual references, and story. Pitchfy understands creative language."},{num:"02",title:"Choose Your Medium",desc:"Select format: film treatment, music video pitch, photography portfolio, or brand campaign."},{num:"03",title:"Generate & Export",desc:"Get a complete creative deck in seconds. Customize layouts, adjust visuals, and export for clients or collaborators."}].map((c,u)=>a.jsxs(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:u*.1},className:"flex gap-6",children:[a.jsx("div",{className:"text-blue-400/70 font-mono text-sm tracking-[0.3em] pt-1",children:c.num}),a.jsxs("div",{className:"flex-1",children:[a.jsx("h3",{className:"text-white font-semibold text-lg mb-2",children:c.title}),a.jsx("p",{className:"text-white/60 text-base leading-relaxed",children:c.desc})]})]},u))})]})]}),a.jsxs("section",{className:"relative bg-black py-20 lg:py-28 overflow-hidden",children:[a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),a.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_center,transparent_0%,rgba(0,0,0,0.4)_100%)]"}),a.jsx("div",{className:"absolute inset-0 opacity-[0.015] pointer-events-none mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='3' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}}),a.jsx(S.div,{animate:{opacity:[.03,.07,.03],scale:[1,1.05,1]},transition:{duration:10,repeat:1/0,ease:"easeInOut"},className:"absolute -top-1/4 -left-1/4 w-[800px] h-[800px] bg-blue-600/5 rounded-full blur-[160px] pointer-events-none"}),a.jsxs("div",{className:"relative z-10 max-w-3xl mx-auto px-6 lg:px-12",children:[a.jsxs(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-white/[0.03] border border-white/[0.08] mb-8",children:[a.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-blue-400/70"}),a.jsx("span",{className:"text-white/50 text-xs tracking-[0.2em] uppercase font-medium",children:"Who It's For"})]}),a.jsxs(S.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.1},className:"text-3xl md:text-4xl lg:text-5xl font-bold leading-[1.1] tracking-tight mb-10",children:[a.jsx("span",{className:"bg-gradient-to-r from-white via-blue-100 to-blue-300 bg-clip-text text-transparent",children:"Built for Visual"}),a.jsx("br",{}),a.jsx("span",{className:"bg-gradient-to-r from-blue-300 via-blue-400 to-blue-500 bg-clip-text text-transparent",children:"Storytellers"})]}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:["Film Directors","Music Video Directors","Photographers","Creative Agencies","Brand Strategists","Content Creators","Art Directors","Visual Storytellers"].map((c,u)=>a.jsxs(S.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:u*.05},className:"relative group",children:[a.jsx("div",{className:"absolute -top-1 -left-1 w-3 h-3 border-l border-t border-blue-400/20 opacity-0 group-hover:opacity-100 transition-opacity"}),a.jsx("div",{className:"absolute -bottom-1 -right-1 w-3 h-3 border-r border-b border-blue-400/20 opacity-0 group-hover:opacity-100 transition-opacity"}),a.jsxs("div",{className:"flex items-center gap-3 px-4 py-3 rounded-lg border border-white/[0.08] bg-white/[0.02] group-hover:border-blue-400/20 group-hover:bg-white/[0.04] transition-all duration-300",children:[a.jsx(Ze,{className:"w-4 h-4 text-blue-400 flex-shrink-0"}),a.jsx("span",{className:"text-white/70 text-base group-hover:text-white/90 transition-colors",children:c})]}),a.jsx("div",{className:"absolute inset-0 bg-blue-500/5 rounded-lg blur-xl opacity-0 group-hover:opacity-100 transition-opacity -z-10"})]},u))}),a.jsx(S.div,{initial:{opacity:0}
240,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:1,delay:.6},className:"mt-12 font-mono text-xs text-white/20 tracking-wider",children:"00:00:42:08"})]})]}),a.jsxs("section",{className:"relative bg-black py-20 lg:py-28",children:[a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),a.jsx(S.div,{animate:{opacity:[.03,.06,.03]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[400px] bg-blue-500/10 rounded-full blur-[120px] pointer-events-none"}),a.jsxs("div",{className:"relative z-10 max-w-2xl mx-auto px-6 lg:px-12 text-center",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-semibold text-white mb-6",children:"Join the Waitlist"}),a.jsx("p",{className:"text-white/60 text-base mb-8",children:"Get early access to Pitchfy.ai and start generating creative pitch decks before the public launch."}),a.jsxs("form",{onSubmit:o,className:"flex flex-col sm:flex-row gap-3 max-w-md mx-auto",children:[a.jsx("input",{type:"email",value:t,onChange:c=>e(c.target.value),placeholder:"Enter your email",required:!0,disabled:n==="loading",className:"flex-1 px-6 py-4 rounded-full bg-white/5 border border-white/10 text-white placeholder:text-white/40 focus:outline-none focus:border-blue-500/50 text-sm"}),a.jsx(We,{type:"submit",disabled:n==="loading",className:"bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 text-white px-8 py-4 text-sm font-medium rounded-full",children:n==="loading"?"Joining...":n==="success"?"✓ Joined!":"Unlock Pitchfy"})]})]})]}),a.jsx("footer",{className:"bg-black border-t border-white/[0.06] py-10",children:a.jsx("div",{className:"max-w-5xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"flex flex-col items-center gap-6",children:[a.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/4b76a878a_pitchfywhitelogo.png",alt:"Pitchfy",className:"h-5 w-auto opacity-50"}),a.jsxs("div",{className:"flex items-center gap-6 flex-wrap justify-center",children:[a.jsx(ae,{to:le("Home"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Home"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("AIPitchDeckGenerator"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"AI Pitch Deck"}),a.jsx(ae,{to:le("DirectorsTreatment"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Director's Treatment"}),a.jsx(ae,{to:le("FilmTreatment"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Film Treatment"}),a.jsx(ae,{to:le("CreativePitchDeck"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Creative Deck"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx("a",{href:"mailto:[email protected]",className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Contact"})]}),a.jsx("p",{className:"text-white/30 text-xs text-center max-w-md",children:"Pitchfy is opening access in phases. Early sign-ups receive access before public release."}),a.jsx("p",{className:"text-white/20 text-xs",children:"© 2026 Pitchfy.ai"})]})})})]})}function UA(){const[t,e]=P.useState(""),[n,i]=P.useState("idle"),o=P.useRef(null),{scrollYProgress:c}=ap({target:o,offset:["start start","end end"]});Pn(c,[0,.3],[1,1.1]),Pn(c,[0,.3],[1,.3]);const u=Pn(c,[0,1],[0,-200]);Pn(c,[0,.5,1],["hue-rotate(0deg) saturate(1)","hue-rotate(15deg) saturate(1.1)","hue-rotate(-10deg) saturate(1.05)"]);const h=async f=>{if(f.preventDefault(),!(!t||n==="loading")){i("loading");try{(await fetch("https://app.kit.com/forms/8910504/subscriptions",{method:"POST",mode:"cors",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({email_address:t})})).ok?(i("success"),e(""),setTimeout(()=>i("idle"),3e3)):(i("error"),setTimeout(()=>i("idle"),3e3))}catch{i("error"),setTimeout(()=>i("idle"),3e3)}}};return a.jsxs("div",{ref:o,className:"min-h-screen bg-black",children:[a.jsx(S.div,{animate:{x:["-100%","200%"],opacity:[0,.6,0]},transition:{duration:8,repeat:1/0,repeatDelay:3,ease:"easeInOut"},className:"fixed top-1/4 left-0 w-96 h-96 bg-gradient-radial from-blue-400/20 via-blue-400/10 to-transparent roun
240ded-full blur-3xl pointer-events-none z-50"}),a.jsx(S.div,{animate:{x:["200%","-100%"],y:["0%","50%","0%"],opacity:[0,.4,0]},transition:{duration:12,repeat:1/0,repeatDelay:5,ease:"easeInOut"},className:"fixed top-2/3 right-0 w-64 h-64 bg-gradient-radial from-purple-400/20 via-purple-400/10 to-transparent rounded-full blur-2xl pointer-events-none z-50"}),a.jsxs("section",{className:"relative min-h-screen flex flex-col items-center justify-center overflow-hidden bg-black",children:[a.jsx("div",{className:"absolute top-0 left-0 right-0 h-20 bg-gradient-to-b from-black via-black to-transparent z-20 pointer-events-none"}),a.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-20 bg-gradient-to-t from-black via-black to-transparent z-20 pointer-events-none"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black/70 via-black/30 to-black"}),a.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_center,transparent_20%,black_100%)] opacity-70"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-blue-950/20 via-transparent to-transparent"}),a.jsx("div",{className:"absolute inset-0 opacity-[0.04] pointer-events-none mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='3.5' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}}),a.jsx(S.div,{animate:{opacity:[.08,.15,.08],scale:[1,1.1,1],rotate:[0,5,0]},transition:{duration:10,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[1000px] h-[600px] bg-gradient-radial from-blue-400/15 via-blue-500/5 to-transparent rounded-full blur-[180px] pointer-events-none"}),a.jsx(S.div,{animate:{opacity:[.05,.1,.05],x:[0,100,0]},transition:{duration:15,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/3 right-1/4 w-[600px] h-[400px] bg-purple-500/10 rounded-full blur-[150px] pointer-events-none"}),a.jsxs("div",{className:"relative z-10 max-w-5xl mx-auto px-6 lg:px-12 py-32 text-center",children:[a.jsxs(S.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.6},className:"inline-flex items-center gap-2 px-5 py-2 rounded-full bg-gradient-to-r from-blue-500/15 via-blue-400/10 to-transparent border border-blue-400/30 backdrop-blur-sm mb-8",children:[a.jsx("div",{className:"w-2 h-2 rounded-full bg-blue-400 animate-pulse"}),a.jsx("span",{className:"text-blue-200/90 text-xs tracking-[0.3em] uppercase font-semibold",children:"AI-Powered Treatments"})]}),a.jsxs(S.h1,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:1,delay:.2,ease:[.16,1,.3,1]},className:"text-5xl md:text-6xl lg:text-7xl xl:text-8xl font-bold tracking-tight leading-[0.95] mb-8",children:[a.jsx("span",{className:"block bg-gradient-to-b from-white via-blue-50 to-blue-200 bg-clip-text text-transparent",children:"Director's Treatment"}),a.jsx("span",{className:"block bg-gradient-to-b from-blue-300 via-blue-400 to-blue-500 bg-clip-text text-transparent",children:"Decks That Win"})]}),a.jsx(S.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.4},className:"text-white/70 text-xl md:text-2xl max-w-3xl mx-auto leading-relaxed mb-12 font-light",children:"Create cinematic director's treatments for commercials, music videos, and film pitches in seconds. Built for directors who think visually."}),a.jsxs(S.form,{onSubmit:h,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.6},className:"flex flex-col sm:flex-row gap-4 max-w-lg mx-auto",children:[a.jsx("input",{type:"email",value:t,onChange:f=>e(f.target.value),placeholder:"Enter your email",required:!0,disabled:n==="loading",className:"flex-1 px-8 py-5 rounded-full bg-white/5 backdrop-blur-sm border border-white/10 text-white placeholder:text-white/40 focus:outline-none focus:border-blue-400/50 focus:bg-white/[0.08] text-base transition-all shadow-lg shadow-black/20"}),a.jsx(We,{type:"submit",disabled:n==="loading",className:"bg-gradient-to-r from-blue-500 via-blue-600 to-blue-700 hover:from-blue-600 hover:via-blue-700 hover:to-blue-800 text-white px-10 py-5 text-base font-semibold rounded-full shadow-lg shadow-blue-500/30 hover:shadow-blue-500/50 transition-all",children:n==="loading"?"Joining...":n==="success"?"✓ Joined!":"Unlock Pitchfy"})]}),a.jsx(S.div,{initial:{opacity:0}
240,animate:{opacity:1},transition:{delay:1.2},className:"absolute bottom-12 left-1/2 -translate-x-1/2",children:a.jsx(S.div,{animate:{y:[0,8,0]},transition:{duration:2,repeat:1/0},className:"w-6 h-10 rounded-full border-2 border-white/20 flex items-start justify-center p-2",children:a.jsx("div",{className:"w-1 h-2 bg-white/40 rounded-full"})})})]})]}),a.jsxs("section",{className:"relative bg-black py-16 lg:py-24 overflow-hidden",children:[a.jsx("div",{className:"absolute top-0 left-0 right-0 h-12 bg-black z-20 pointer-events-none"}),a.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-12 bg-black z-20 pointer-events-none"}),a.jsx("div",{className:"absolute inset-0 opacity-[0.03] pointer-events-none mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='3.5' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black/40 via-transparent to-black/60"}),a.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_center,transparent_0%,black_100%)] opacity-40"}),a.jsxs("div",{className:"relative max-w-7xl mx-auto px-6 lg:px-12",children:[a.jsxs("div",{className:"absolute -inset-32 pointer-events-none",children:[a.jsx(S.div,{animate:{opacity:[.2,.35,.2],scale:[1,1.15,1]},transition:{duration:10,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[1000px] h-[600px] bg-gradient-radial from-blue-500/40 via-blue-600/15 to-transparent rounded-full blur-3xl"}),a.jsx(S.div,{animate:{opacity:[.1,.2,.1],x:[-100,100,-100]},transition:{duration:15,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/3 right-1/4 w-[600px] h-[400px] bg-purple-500/20 rounded-full blur-3xl"})]}),a.jsxs("div",{className:"relative grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[a.jsxs(S.div,{initial:{opacity:0,x:-60},animate:{opacity:1,x:0},transition:{duration:1.2,delay:.5,ease:[.16,1,.3,1]},className:"relative space-y-8",children:[a.jsxs(S.div,{initial:{opacity:0}
240,animate:{opacity:1},transition:{delay:.7},className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-gradient-to-r from-blue-500/10 via-blue-400/5 to-transparent border border-blue-400/20",children:[a.jsx("div",{className:"w-2 h-2 rounded-full bg-blue-400 animate-pulse"}),a.jsx("span",{className:"text-blue-300/80 text-[10px] tracking-[0.3em] uppercase font-semibold",children:"Example Output"})]}),a.jsxs("div",{className:"relative",children:[a.jsxs(S.h2,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.8},className:"text-4xl md:text-5xl lg:text-6xl font-bold leading-[1.1] tracking-tight",children:[a.jsx("span",{className:"bg-gradient-to-r from-white via-blue-100 to-blue-300 bg-clip-text text-transparent",children:"Professional Treatments"}),a.jsx("br",{}),a.jsx("span",{className:"bg-gradient-to-r from-blue-300 via-blue-400 to-blue-500 bg-clip-text text-transparent",children:"in Seconds"})]}),a.jsx("div",{className:"absolute -inset-4 bg-blue-500/5 blur-3xl -z-10"})]}),a.jsx(S.p,{initial:{opacity:0}
240,animate:{opacity:1},transition:{delay:1},className:"text-white/80 text-lg md:text-xl leading-relaxed max-w-xl font-light",children:"Generate complete director's treatment decks with cinematic layouts, mood boards, and visual references. No design skills required."})]}),a.jsxs(S.div,{initial:{opacity:0,x:60,scale:.95},animate:{opacity:1,x:0,scale:1},transition:{duration:1.2,delay:.3,ease:[.16,1,.3,1]},className:"relative",children:[a.jsx("div",{className:"absolute -top-4 -left-4 w-12 h-12 border-l-[3px] border-t-[3px] border-blue-400/40 z-20"}),a.jsx("div",{className:"absolute -top-4 -right-4 w-12 h-12 border-r-[3px] border-t-[3px] border-blue-400/40 z-20"}),a.jsx("div",{className:"absolute -bottom-4 -left-4 w-12 h-12 border-l-[3px] border-b-[3px] border-blue-400/40 z-20"}),a.jsx("div",{className:"absolute -bottom-4 -right-4 w-12 h-12 border-r-[3px] border-b-[3px] border-blue-400/40 z-20"}),a.jsx("div",{className:"absolute -left-6 top-1/4 bottom-1/4 w-3 flex flex-col justify-around items-center opacity-20",children:[...Array(8)].map((f,m)=>a.jsx("div",{className:"w-2 h-2 rounded-sm bg-blue-400"},m))}),a.jsx("div",{className:"absolute -right-6 top-1/4 bottom-1/4 w-3 flex flex-col justify-around items-center opacity-20",children:[...Array(8)].map((f,m)=>a.jsx("div",{className:"w-2 h-2 rounded-sm bg-blue-400"},m))}),a.jsxs("div",{className:"relative rounded-xl overflow-hidden border-2 border-white/20 shadow-2xl shadow-blue-500/30",children:[a.jsx("div",{className:"absolute top-3 left-3 w-6 h-6 border-l-2 border-t-2 border-white/50 z-10"}),a.jsx("div",{className:"absolute top-3 right-3 w-6 h-6 border-r-2 border-t-2 border-white/50 z-10"}),a.jsx("div",{className:"absolute bottom-3 left-3 w-6 h-6 border-l-2 border-b-2 border-white/50 z-10"}),a.jsx("div",{className:"absolute bottom-3 right-3 w-6 h-6 border-r-2 border-b-2 border-white/50 z-10"}),a.jsxs(S.div,{whileHover:{scale:1.03},transition:{duration:.6,ease:"easeOut"},className:"relative bg-black aspect-video",children:[a.jsx(S.img,{src:"https://raw.githubusercontent.com/aethwave/Pitchfy/main/Pitchfy_web_hero_3.webp",alt:"Director's Treatment Example",className:"w-full h-full object-cover",animate:{y:[0,-10,0]},transition:{duration:10,repeat:1/0,ease:"easeInOut"}}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/40 via-transparent to-black/20 pointer-events-none"}),a.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_center,transparent_0%,black_100%)] opacity-30 pointer-events-none"})]}),a.jsx("div",{className:"absolute inset-0 shadow-[inset_0_0_60px_rgba(59,130,246,0.15)] pointer-events-none"}),a.jsx(S.div,{animate:{opacity:[0,.6,0],x:["-20%","120%"]},transition:{duration:6,repeat:1/0,repeatDelay:4,ease:"easeInOut"},className:"absolute top-1/3 left-0 w-32 h-32 bg-gradient-radial from-white/40 via-blue-400/20 to-transparent rounded-full blur-2xl pointer-events-none"})]}),a.jsx("div",{className:"absolute -bottom-12 left-0 right-0 h-32 bg-gradient-to-b from-blue-500/20 via-blue-500/10 to-transparent opacity-80 blur-3xl pointer-events-none"}),a.jsx(S.div,{initial:{opacity:0}
240,animate:{opacity:1},transition:{delay:1.5},className:"absolute -bottom-8 right-0 font-mono text-[10px] text-blue-400/50 tracking-widest",children:"00:00:42:18"})]})]})]})]}),a.jsxs("section",{className:"relative bg-black py-32 lg:py-40 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black via-[#050508] to-black"}),a.jsx("div",{className:"absolute inset-0 opacity-[0.025] pointer-events-none mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='4' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}}),a.jsx(S.div,{animate:{opacity:[.06,.12,.06],x:[-80,80,-80],scale:[1,1.2,1]},transition:{duration:15,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/3 -translate-y-1/2 w-[900px] h-[500px] bg-gradient-radial from-blue-500/8 via-blue-600/3 to-transparent rounded-full blur-[150px] pointer-events-none"}),a.jsx(S.div,{animate:{opacity:[.04,.08,.04],rotate:[0,180,360]},transition:{duration:20,repeat:1/0,ease:"linear"},className:"absolute bottom-1/4 right-1/4 w-[700px] h-[700px] bg-gradient-radial from-purple-500/6 via-indigo-500/3 to-transparent rounded-full blur-[140px] pointer-events-none"}),a.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-10 flex flex-col justify-around items-center py-12 opacity-[0.04]",children:[...Array(16)].map((f,m)=>a.jsx(S.div,{animate:{opacity:[.3,1,.3]},transition:{duration:3,repeat:1/0,delay:m*.1},className:"w-3 h-3 rounded-sm bg-white"},m))}),a.jsx("div",{className:"absolute right-0 top-0 bottom-0 w-10 flex flex-col justify-around items-center py-12 opacity-[0.04]",children:[...Array(16)].map((f,m)=>a.jsx(S.div,{animate:{opacity:[.3,1,.3]},transition:{duration:3,repeat:1/0,delay:m*.1},className:"w-3 h-3 rounded-sm bg-white"},m))}),a.jsxs("div",{className:"relative z-10 max-w-5xl mx-auto px-6 lg:px-12",children:[a.jsxs(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"inline-flex items-center gap-3 px-5 py-2.5 rounded-full bg-gradient-to-r from-white/[0.05] to-white/[0.02] border border-white/[0.12] backdrop-blur-sm mb-10",children:[a.jsx("div",{className:"w-2 h-2 rounded-full bg-blue-400 animate-pulse shadow-lg shadow-blue-400/50"}),a.jsx("span",{className:"text-blue-200/80 text-xs tracking-[0.25em] uppercase font-bold",children:"What This Is"})]}),a.jsxs(S.h2,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8,delay:.1},className:"text-4xl md:text-5xl lg:text-6xl xl:text-7xl font-bold mb-12 leading-[1.05]",children:[a.jsx("span",{className:"block bg-gradient-to-br from-white via-blue-50 to-blue-200 bg-clip-text text-transparent mb-3",children:"The Visual Pitch"}),a.jsx("span",{className:"block bg-gradient-to-br from-blue-300 via-blue-400 to-blue-500 bg-clip-text text-transparent",children:"That Wins The Job"})]}),a.jsxs("div",{className:"space-y-8 text-white/70 text-lg md:text-xl leading-relaxed max-w-4xl",children:[a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.2},className:"text-white/85 text-xl md:text-2xl leading-relaxed font-light",children:"A director's treatment is the visual pitch that wins the job. Pitchfy.ai generates professional treatment decks designed for film directors, commercial directors, and music video creators."}),a.jsx(S.div,{initial:{opacity:0,scaleX:0},whileInView:{opacity:1,scaleX:1},viewport:{once:!0},transition:{duration:1,delay:.3},className:"h-px bg-gradient-to-r from-blue-500/20 via-blue-400/40 to-transparent my-10"}),a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.4},className:"text-white/75",children:"Our AI understands how directors think: mood, tone, visual references, scene breakdowns, and story flow. Instead of spending hours in design software, you describe your vision and Pitchfy builds a cinematic treatment deck ready to present."}),a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.5},className:"text-white/75",children:"Whether you're pitching a commercial campaign, music video concept, or short film, Pitchfy creates treatments that look and feel intentional."})]}),a.jsxs(S.div,{initial:{opacity:0}
240,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:1,delay:.6},className:"mt-16 flex items-center gap-4",children:[a.jsx("div",{className:"flex gap-1",children:[...Array(3)].map((f,m)=>a.jsx(S.div,{animate:{height:["4px","12px","4px"]},transition:{duration:1.5,repeat:1/0,delay:m*.2},className:"w-1 bg-blue-400/30 rounded-full"},m))}),a.jsx("span",{className:"font-mono text-xs text-blue-400/40 tracking-[0.3em]",children:"00:00:14:22"})]})]})]}),a.jsxs("section",{className:"relative bg-black py-20 lg:py-28 overflow-hidden",children:[a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),a.jsx(S.div,{style:{y:u},className:"absolute top-1/4 -right-1/4 w-[600px] h-[600px] bg-blue-500/5 rounded-full blur-[150px] pointer-events-none"}),a.jsx("div",{className:"absolute inset-0 opacity-[0.015] pointer-events-none mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='3' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}}),a.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto px-6 lg:px-12",children:[a.jsxs(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-white/[0.03] border border-white/[0.08] mb-8",children:[a.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-blue-400/70"}),a.jsx("span",{className:"text-white/50 text-xs tracking-[0.2em] uppercase font-medium",children:"Why Pitchfy"})]}),a.jsx(S.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.1},className:"text-3xl md:text-4xl lg:text-5xl font-semibold text-white mb-16 leading-tight",children:"Built for Directors Who Think Visually"}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 lg:gap-12",children:[{icon:Ni,text:"Layouts designed for visual storytelling, not corporate slides"},{icon:yc,text:"Scene breakdowns, mood boards, and shot lists in one deck"},{icon:cf,text:"Built specifically for commercials, music videos, and films"},{icon:js,text:"Generate complete treatments in seconds"},{icon:xc,text:"Focus on creative vision while AI handles layout and structure"}].map((f,m)=>{const y=f.icon;return a.jsxs(S.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:m*.1},className:"relative group",children:[a.jsx("div",{className:"absolute -top-2 -left-2 w-4 h-4 border-l-2 border-t-2 border-blue-400/20 opacity-0 group-hover:opacity-100 transition-opacity"}),a.jsx("div",{className:"absolute -bottom-2 -right-2 w-4 h-4 border-r-2 border-b-2 border-blue-400/20 opacity-0 group-hover:opacity-100 transition-opacity"}),a.jsx("div",{className:"relative p-6 rounded-xl bg-white/[0.02] border border-white/[0.06] group-hover:border-blue-400/20 transition-all duration-500",children:a.jsxs("div",{className:"flex items-start gap-4",children:[a.jsx("div",{className:"flex-shrink-0 w-12 h-12 rounded-lg bg-gradient-to-br from-blue-500/10 to-purple-500/10 border border-blue-500/20 flex items-center justify-center group-hover:scale-110 transition-transform duration-500",children:a.jsx(y,{className:"w-6 h-6 text-blue-400"})}),a.jsx("p",{className:"text-white/70 text-base leading-relaxed pt-2 group-hover:text-white/90 transition-colors",children:f.text})]})}),a.jsx("div",{className:"absolute inset-0 bg-blue-500/5 rounded-xl blur-xl opacity-0 group-hover:opacity-100 transition-opacity -z-10"})]},m)})}),a.jsx(S.div,{initial:{opacity:0}
240,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:1,delay:.8},className:"mt-16 font-mono text-xs text-white/20 tracking-wider",children:"00:00:28:15"})]})]}),a.jsxs("section",{className:"relative bg-black py-28 lg:py-36 overflow-hidden",children:[a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-blue-400/20 to-transparent"}),a.jsx(S.div,{style:{y:Pn(c,[.4,.7],[120,-120])},animate:{opacity:[.05,.1,.05],scale:[1,1.15,1]},transition:{duration:10,repeat:1/0},className:"absolute top-1/2 left-1/4 w-[700px] h-[700px] bg-gradient-radial from-purple-500/8 via-indigo-500/4 to-transparent rounded-full blur-[160px] pointer-events-none"}),a.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-8 flex flex-col justify-around items-center py-16 opacity-[0.03]",children:[...Array(20)].map((f,m)=>a.jsx(S.div,{animate:{opacity:[.2,1,.2]},transition:{duration:4,repeat:1/0,delay:m*.15},className:"w-2.5 h-2.5 rounded-sm bg-white"},m))}),a.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto px-6 lg:px-12",children:[a.jsxs(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"inline-flex items-center gap-3 px-5 py-2.5 rounded-full bg-gradient-to-r from-white/[0.05] to-white/[0.02] border border-white/[0.12] backdrop-blur-sm mb-10",children:[a.jsx("div",{className:"w-2 h-2 rounded-full bg-purple-400 animate-pulse shadow-lg shadow-purple-400/50"}),a.jsx("span",{className:"text-purple-200/80 text-xs tracking-[0.25em] uppercase font-bold",children:"Process"})]}),a.jsx(S.h2,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8,delay:.1},className:"text-4xl md:text-5xl lg:text-6xl font-bold text-white mb-16 leading-tight",children:a.jsx("span",{className:"bg-gradient-to-br from-white via-purple-50 to-purple-200 bg-clip-text text-transparent",children:"How It Works"})}),a.jsx("div",{className:"space-y-10",children:[{num:"01",title:"Describe Your Vision",desc:"Write your treatment brief: concept, mood, visual references, and key scenes. Pitchfy understands director language.",color:"from-blue-500 to-cyan-500"},{num:"02",title:"Choose Treatment Style",desc:"Select a format: commercial, music video, or narrative film. Pitchfy adapts layouts to your medium.",color:"from-purple-500 to-pink-500"},{num:"03",title:"Generate & Customize",desc:"Get a complete treatment deck in seconds. Rearrange sections, adjust visuals, and export for clients or production teams.",color:"from-indigo-500 to-blue-500"}].map((f,m)=>a.jsxs(S.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.7,delay:m*.15},className:"relative group",children:[a.jsxs("div",{className:"flex gap-8 items-start",children:[a.jsxs("div",{className:"relative flex-shrink-0",children:[a.jsx(S.div,{whileHover:{scale:1.1,rotate:360},transition:{duration:.8},className:`w-16 h-16 rounded-2xl bg-gradient-to-br ${f.color} p-[2px]`,children:a.jsx("div",{className:"w-full h-full rounded-2xl bg-black flex items-center justify-center",children:a.jsx("span",{className:"text-2xl font-bold bg-gradient-to-br from-white to-blue-200 bg-clip-text text-transparent",children:f.num})})}),a.jsx("div",{className:`absolute inset-0 bg-gradient-to-br ${f.color} rounded-2xl blur-xl opacity-0 group-hover:opacity-50 transition-opacity`})]}),a.jsxs("div",{className:"flex-1 pt-2",children:[a.jsx("h3",{className:"text-white font-bold text-2xl mb-3 group-hover:text-blue-100 transition-colors",children:f.title}),a.jsx("p",{className:"text-white/65 text-lg leading-relaxed group-hover:text-white/80 transition-colors",children:f.desc})]})]}),m<2&&a.jsx("div",{className:"absolute left-8 top-20 w-[2px] h-10 bg-gradient-to-b from-blue-500/30 to-transparent"})]},m))})]})]}),a.jsxs("section",{className:"relative bg-black py-20 lg:py-28 overflow-hidden",children:[a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),a.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_center,transparent_0%,rgba(0,0,0,0.4)_100%)]"}),a.jsx(S.div,{style:{y:Pn(c,[.6,.9],[150,-150])},className:"absolute -top-1/4 -left-1/4 w-[800px] h-[800px] bg-blue-600/5 rounded-full blur-[160px] pointer-events-none"}),a.jsxs("div",{className:"relative z-10 max-w-3xl mx-auto px-6 lg:px-12",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-semibold text-white mb-8",children:"Who It's For"}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:["Film Directors","Commercial Directors","Music Video Directors","Creative Directors","Producers","Production Companies","Cinematographers","Freelance Directors"].map((f,m)=>a.jsxs(S.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:m*.05},className:"flex items-center gap-3 px-4 py-3 rounded-lg border border-white/[0.08] bg-white/[0.02]",children:[a.jsx(Ze,{className:"w-4 h-4 text-blue-400 flex-shrink-0"}),a.jsx("span",{className:"text-white/70 text-base",children:f})]},m))})]})]}),a.jsxs("section",{className:"relative bg-black py-32 lg:py-40 overflow-hidden",children:[a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-blue-400/30 to-transparent"}
240),a.jsx(S.div,{animate:{opacity:[.08,.15,.08],scale:[1,1.2,1],rotate:[0,180,360]},transition:{duration:15,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[900px] h-[600px] bg-gradient-radial from-blue-500/15 via-blue-600/8 to-transparent rounded-full blur-[160px] pointer-events-none"}),a.jsx(S.div,{style:{y:Pn(c,[.8,1],[120,-80])},animate:{opacity:[.04,.08,.04],scale:[1,1.15,1]},transition:{duration:14,repeat:1/0},className:"absolute top-1/3 right-1/4 w-[700px] h-[700px] bg-gradient-radial from-purple-500/12 via-pink-500/6 to-transparent rounded-full blur-[150px] pointer-events-none"}),a.jsx("div",{className:"absolute inset-0 opacity-[0.03] pointer-events-none mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='4' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}}),a.jsxs("div",{className:"relative z-10 max-w-3xl mx-auto px-6 lg:px-12 text-center",children:[a.jsxs(S.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.8},className:"inline-flex items-center gap-3 px-6 py-3 rounded-full bg-gradient-to-r from-blue-500/15 via-purple-500/10 to-transparent border border-blue-400/30 backdrop-blur-sm mb-10",children:[a.jsx("div",{className:"w-2 h-2 rounded-full bg-blue-400 animate-pulse shadow-lg shadow-blue-400/50"}),a.jsx("span",{className:"text-blue-200/90 text-xs tracking-[0.3em] uppercase font-bold",children:"Limited Early Access"})]}),a.jsx(S.h2,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8,delay:.1},className:"text-4xl md:text-5xl lg:text-6xl font-bold mb-8 leading-tight",children:a.jsx("span",{className:"block bg-gradient-to-b from-white via-blue-50 to-blue-200 bg-clip-text text-transparent",children:"Join the Waitlist"})}),a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8,delay:.2},className:"text-white/70 text-xl mb-12 max-w-2xl mx-auto",children:"Get early access to Pitchfy.ai and start generating director's treatment decks before the public launch."}),a.jsxs(S.form,{onSubmit:h,initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8,delay:.3},className:"flex flex-col sm:flex-row gap-4 max-w-lg mx-auto",children:[a.jsx("input",{type:"email",value:t,onChange:f=>e(f.target.value),placeholder:"Enter your email",required:!0,disabled:n==="loading",className:"flex-1 px-8 py-5 rounded-full bg-white/5 backdrop-blur-sm border border-white/10 text-white placeholder:text-white/40 focus:outline-none focus:border-blue-400/50 focus:bg-white/[0.08] text-base transition-all shadow-lg shadow-black/20"}),a.jsx(We,{type:"submit",disabled:n==="loading",className:"bg-gradient-to-r from-blue-500 via-blue-600 to-blue-700 hover:from-blue-600 hover:via-blue-700 hover:to-blue-800 text-white px-10 py-5 text-base font-semibold rounded-full shadow-lg shadow-blue-500/30 hover:shadow-blue-500/50 transition-all",children:n==="loading"?"Joining...":n==="success"?"✓ Joined!":"Unlock Pitchfy"})]}),a.jsxs(S.div,{initial:{opacity:0}
240,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:1,delay:.5},className:"mt-12 flex items-center justify-center gap-8 text-white/40 text-sm",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(Ze,{className:"w-4 h-4 text-blue-400"}),a.jsx("span",{children:"No credit card"})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(Ze,{className:"w-4 h-4 text-blue-400"}),a.jsx("span",{children:"Early access pricing"})]})]})]})]}),a.jsx("footer",{className:"bg-black border-t border-white/[0.06] py-10",children:a.jsx("div",{className:"max-w-5xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"flex flex-col items-center gap-6",children:[a.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/4b76a878a_pitchfywhitelogo.png",alt:"Pitchfy",className:"h-5 w-auto opacity-50"}),a.jsxs("div",{className:"flex items-center gap-6 flex-wrap justify-center",children:[a.jsx(ae,{to:le("Home"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Home"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("AIPitchDeckGenerator"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"AI Pitch Deck"}),a.jsx(ae,{to:le("DirectorsTreatment"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Director's Treatment"}),a.jsx(ae,{to:le("FilmTreatment"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Film Treatment"}),a.jsx(ae,{to:le("CreativePitchDeck"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Creative Deck"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx("a",{href:"mailto:[email protected]",className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Contact"})]}),a.jsx("p",{className:"text-white/30 text-xs text-center max-w-md",children:"Pitchfy is opening access in phases. Early sign-ups receive access before public release."}),a.jsx("p",{className:"text-white/20 text-xs",children:"© 2026 Pitchfy.ai"})]})})})]})}function $A(){const[t,e]=P.useState(""),[n,i]=P.useState("idle"),o=async c=>{if(c.preventDefault(),!(!t||n==="loading")){i("loading");try{(await fetch("https://app.kit.com/forms/8910504/subscriptions",{method:"POST",mode:"cors",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({email_address:t})})).ok?(i("success"),e(""),setTimeout(()=>i("idle"),3e3)):(i("error"),setTimeout(()=>i("idle"),3e3))}catch{i("error"),setTimeout(()=>i("idle"),3e3)}}};return a.jsxs("div",{className:"min-h-screen bg-black",children:[a.jsxs("section",{className:"relative h-[50vh] lg:h-[60vh] overflow-hidden bg-black",children:[a.jsx(S.div,{className:"absolute inset-0 bg-cover bg-center",animate:{scale:[1,1.05,1]},transition:{duration:20,repeat:1/0,ease:"easeInOut"},style:{backgroundImage:"url(https://raw.githubusercontent.com/aethwave/Pitchfy/main/Pitchfy_web_hero_5.webp)"}}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black/40 via-black/20 to-black/90"}),a.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_center,transparent_0%,black_100%)] opacity-40"}),a.jsx("div",{className:"absolute inset-0 opacity-[0.03] pointer-events-none mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='3.5' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}})]}),a.jsxs("section",{className:"relative bg-black py-20 lg:py-32",children:[a.jsx(S.div,{animate:{opacity:[.03,.06,.03]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[400px] bg-blue-500/10 rounded-full blur-[120px] pointer-events-none"}),a.jsxs("div",{className:"relative z-10 max-w-5xl mx-auto px-6 lg:px-12 text-center",children:[a.jsxs(S.h1,{initial:{opacity:0,y:30}
240,animate:{opacity:1,y:0},transition:{duration:.8},className:"text-4xl md:text-5xl lg:text-6xl font-bold text-white tracking-tight leading-[1.1] mb-6",children:[a.jsx("span",{style:{color:"#33ccff"},children:"Film Treatment Decks Made"})," Cinematic with AI"]}),a.jsx(S.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.1},className:"text-white/60 text-lg md:text-xl max-w-2xl mx-auto leading-relaxed mb-8",children:"Generate professional film treatment decks for features, shorts, and series. Built for filmmakers who need cinematic presentations fast."}),a.jsxs(S.form,{onSubmit:o,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.2},className:"flex flex-col sm:flex-row gap-3 max-w-md mx-auto",children:[a.jsx("input",{type:"email",value:t,onChange:c=>e(c.target.value),placeholder:"Enter your email",required:!0,disabled:n==="loading",className:"flex-1 px-6 py-4 rounded-full bg-white/5 border border-white/10 text-white placeholder:text-white/40 focus:outline-none focus:border-blue-500/50 focus:bg-white/[0.07] text-sm transition-all"}),a.jsx(We,{type:"submit",disabled:n==="loading",className:"bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 text-white px-8 py-4 text-sm font-medium rounded-full",children:n==="loading"?"Joining...":n==="success"?"✓ Joined!":"Unlock Pitchfy"})]})]})]}),a.jsxs("section",{className:"relative bg-black py-20 lg:py-28",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black via-[#020204] to-black"}),a.jsxs("div",{className:"relative z-10 max-w-3xl mx-auto px-6 lg:px-12",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-semibold text-white mb-6",children:"What This Is"}),a.jsxs("div",{className:"space-y-4 text-white/60 text-base md:text-lg leading-relaxed",children:[a.jsx("p",{children:"Pitchfy.ai generates film treatment decks designed for narrative features, short films, and series development. Instead of manual slide creation, our AI builds complete treatments with cinematic layouts in seconds."}),a.jsx("p",{children:"We understand film treatments the way filmmakers think: story structure, visual tone, character arcs, and thematic depth. Not generic templates or corporate slide decks."}),a.jsx("p",{children:"Whether you're pitching to producers, investors, or collaborators, Pitchfy creates treatments that communicate your vision clearly and professionally."})]})]})]}),a.jsxs("section",{className:"relative bg-black py-20 lg:py-28 overflow-hidden",children:[a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-blue-400/20 to-transparent"}),a.jsx(S.div,{animate:{opacity:[.05,.1,.05],scale:[1,1.15,1]},transition:{duration:10,repeat:1/0},className:"absolute top-1/2 left-1/4 w-[700px] h-[700px] bg-gradient-radial from-purple-500/8 via-indigo-500/4 to-transparent rounded-full blur-[160px] pointer-events-none"}),a.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-8 flex flex-col justify-around items-center py-16 opacity-[0.03]",children:[...Array(20)].map((c,u)=>a.jsx(S.div,{animate:{opacity:[.2,1,.2]},transition:{duration:4,repeat:1/0,delay:u*.15},className:"w-2.5 h-2.5 rounded-sm bg-white"},u))}),a.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto px-6 lg:px-12",children:[a.jsxs(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"inline-flex items-center gap-3 px-5 py-2.5 rounded-full bg-gradient-to-r from-white/[0.05] to-white/[0.02] border border-white/[0.12] backdrop-blur-sm mb-10",children:[a.jsx("div",{className:"w-2 h-2 rounded-full bg-blue-400 animate-pulse shadow-lg shadow-blue-400/50"}),a.jsx("span",{className:"text-blue-200/80 text-xs tracking-[0.25em] uppercase font-bold",children:"Why Pitchfy"})]}),a.jsxs(S.h2,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8,delay:.1},className:"text-4xl md:text-5xl lg:text-6xl font-bold mb-16 leading-[1.05]",children:[a.jsx("span",{className:"block bg-gradient-to-br from-white via-blue-50 to-blue-200 bg-clip-text text-transparent mb-3",children:"Built for Filmmakers"}),a.jsx("span",{className:"block bg-gradient-to-br from-blue-300 via-blue-400 to-blue-500 bg-clip-text text-transparent",children:"Who Tell Stories"})]}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 lg:gap-12",children:[{icon:Ni,text:"Layouts optimized for narrative storytelling and visual flow"},{icon:oj,text:"Built specifically for features, shorts, and series treatments"},{icon:wi,text:"AI understands story structure, not just slide formatting"},{icon:js,text:"Generate complete film treatments in seconds"},{icon:xc,text:"Focus on your story while AI handles presentation design"}].map((c,u)=>{const h=c.icon;return a.jsxs(S.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:u*.1},className:"relative group",children:[a.jsx("div",{className:"absolute -top-2 -left-2 w-4 h-4 border-l-2 border-t-2 border-blue-400/20 opacity-0 group-hover:opacity-100 transition-opacity"}),a.jsx("div",{className:"absolute -bottom-2 -right-2 w-4 h-4 border-r-2 border-b-2 border-blue-400/20 opacity-0 group-hover:opacity-100 transition-opacity"}),a.jsx("div",{className:"relative p-6 rounded-xl bg-white/[0.02] border border-white/[0.06] group-hover:border-blue-400/20 transition-all duration-500",children:a.jsxs("div",{className:"flex items-start gap-4",children:[a.jsx("div",{className:"flex-shrink-0 w-12 h-12 rounded-lg bg-gradient-to-br from-blue-500/10 to-purple-500/10 border border-blue-500/20 flex items-center justify-center group-hover:scale-110 transition-transform duration-500",children:a.jsx(h,{className:"w-6 h-6 text-blue-400"})}),a.jsx("p",{className:"text-white/70 text-base leading-relaxed pt-2 group-hover:text-white/90 transition-colors",children:c.text})]})}),a.jsx("div",{className:"absolute inset-0 bg-blue-500/5 rounded-xl blur-xl opacity-0 group-hover:opacity-100 transition-opacity -z-10"})]},u)})}),a.jsx(S.div,{initial:{opacity:0}
240,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:1,delay:.8},className:"mt-16 font-mono text-xs text-blue-400/40 tracking-[0.3em]",children:"00:00:28:15"})]})]}),a.jsxs("section",{className:"relative bg-black py-20 lg:py-28",children:[a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),a.jsxs("div",{className:"relative z-10 max-w-3xl mx-auto px-6 lg:px-12",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-semibold text-white mb-8",children:"How It Works"}),a.jsx("div",{className:"space-y-6",children:[{num:"01",title:"Describe Your Film",desc:"Write your treatment brief: logline, story beats, tone, and key characters. Pitchfy understands filmmaker language."},{num:"02",title:"Choose Format",desc:"Select treatment type: feature, short, series, or documentary. Pitchfy adapts structure to your format."},{num:"03",title:"Generate & Refine",desc:"Get a complete treatment deck in seconds. Rearrange sections, adjust visuals, and export for pitch meetings."}].map((c,u)=>a.jsxs(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:u*.1},className:"flex gap-6",children:[a.jsx("div",{className:"text-blue-400/70 font-mono text-sm tracking-[0.3em] pt-1",children:c.num}),a.jsxs("div",{className:"flex-1",children:[a.jsx("h3",{className:"text-white font-semibold text-lg mb-2",children:c.title}),a.jsx("p",{className:"text-white/60 text-base leading-relaxed",children:c.desc})]})]},u))})]})]}),a.jsxs("section",{className:"relative bg-black py-20 lg:py-28",children:[a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),a.jsxs("div",{className:"relative z-10 max-w-3xl mx-auto px-6 lg:px-12",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-semibold text-white mb-8",children:"Who It's For"}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:["Film Directors","Screenwriters","Producers","Showrunners","Documentary Filmmakers","Film Students","Independent Filmmakers","Development Executives"].map((c,u)=>a.jsxs(S.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:u*.05},className:"flex items-center gap-3 px-4 py-3 rounded-lg border border-white/[0.08] bg-white/[0.02]",children:[a.jsx(Ze,{className:"w-4 h-4 text-blue-400 flex-shrink-0"}),a.jsx("span",{className:"text-white/70 text-base",children:c})]},u))})]})]}),a.jsxs("section",{className:"relative bg-black py-20 lg:py-28",children:[a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),a.jsx(S.div,{animate:{opacity:[.03,.06,.03]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[400px] bg-blue-500/10 rounded-full blur-[120px] pointer-events-none"}),a.jsxs("div",{className:"relative z-10 max-w-2xl mx-auto px-6 lg:px-12 text-center",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-semibold text-white mb-6",children:"Join the Waitlist"}),a.jsx("p",{className:"text-white/60 text-lg md:text-xl mb-8 max-w-2xl mx-auto leading-relaxed",children:"Get early access to Pitchfy.ai and start generating film treatment decks before the public launch."}),a.jsxs("form",{onSubmit:o,className:"flex flex-col sm:flex-row gap-3 max-w-md mx-auto",children:[a.jsx("input",{type:"email",value:t,onChange:c=>e(c.target.value),placeholder:"Enter your email",required:!0,disabled:n==="loading",className:"flex-1 px-6 py-4 rounded-full bg-white/5 border border-white/10 text-white placeholder:text-white/40 focus:outline-none focus:border-blue-500/50 text-sm"}),a.jsx(We,{type:"submit",disabled:n==="loading",className:"bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 text-white px-8 py-4 text-sm font-medium rounded-full",children:n==="loading"?"Joining...":n==="success"?"✓ Joined!":"Unlock Pitchfy"})]})]})]}),a.jsx("footer",{className:"bg-black border-t border-white/[0.06] py-10",children:a.jsx("div",{className:"max-w-5xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"flex flex-col items-center gap-6",children:[a.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/4b76a878a_pitchfywhitelogo.png",alt:"Pitchfy",className:"h-5 w-auto opacity-50"}),a.jsxs("div",{className:"flex items-center gap-6 flex-wrap justify-center",children:[a.jsx(ae,{to:le("Home"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Home"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("AIPitchDeckGenerator"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"AI Pitch Deck"}),a.jsx(ae,{to:le("DirectorsTreatment"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Director's Treatment"}),a.jsx(ae,{to:le("FilmTreatment"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Film Treatment"}),a.jsx(ae,{to:le("CreativePitchDeck"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Creative Deck"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("Contact"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Contact"})]}),a.jsx("p",{className:"text-white/30 text-xs text-center max-w-md",children:"Pitchfy is opening access in phases. Early sign-ups receive access before public release."}),a.jsx("p",{className:"text-white/20 text-xs",children:"© 2026 Pit
240chfy.ai"})]})})})]})}/*! @vimeo/player v2.30.1 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function qA(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var i,o,c,u,h=[],f=!0,m=!1;try{if(c=(n=n.call(t)).next,e!==0)for(;!(f=(i=c.call(n)).done)&&(h.push(i.value),h.length!==e);f=!0);}catch(y){m=!0,o=y}finally{try{if(!f&&n.return!=null&&(u=n.return(),Object(u)!==u))return}finally{if(m)throw o}}return h}}function Ux(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,i)}return n}function $x(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Ux(Object(n),!0).forEach(function(i){nc(t,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ux(Object(n)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))})}return t}function Tt(){Tt=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,i=Object.defineProperty||function(O,B,K){O[B]=K.value},o=typeof Symbol=="function"?Symbol:{},c=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",h=o.toStringTag||"@@toStringTag";function f(O,B,K){return Object.defineProperty(O,B,{value:K,enumerable:!0,configurable:!0,writable:!0}),O[B]}try{f({},"")}catch{f=function(B,K,ne){return B[K]=ne}}function m(O,B,K,ne){var Q=B&&B.prototype instanceof v?B:v,se=Object.create(Q.prototype),z=new H(ne||[]);return i(se,"_invoke",{value:F(O,K,z)}),se}function y(O,B,K){try{return{type:"normal",arg:O.call(B,K)}}catch(ne){return{type:"throw",arg:ne}}}t.wrap=m;var x={};function v(){}function j(){}function b(){}var N={};f(N,c,function(){return this});var k=Object.getPrototypeOf,A=k&&k(k(Y([])));A&&A!==e&&n.call(A,c)&&(N=A);var I=b.prototype=v.prototype=Object.create(N);function E(O){["next","throw","return"].forEach(function(B){f(O,B,function(K){return this._invoke(B,K)})})}function _(O,B){function K(Q,se,z,oe){var ie=y(O[Q],O,se);if(ie.type!=="throw"){var D=ie.arg,G=D.value;return G&&typeof G=="object"&&n.call(G,"__await")?B.resolve(G.__await).then(function(de){K("next",de,z,oe)},function(de){K("throw",de,z,oe)}):B.resolve(G).then(function(de){D.value=de,z(D)},function(de){return K("throw",de,z,oe)})}oe(ie.arg)}var ne;i(this,"_invoke",{value:function(Q,se){function z(){return new B(function(oe,ie){K(Q,se,oe,ie)})}return ne=ne?ne.then(z,z):z()}})}function F(O,B,K){var ne="suspendedStart";return function(Q,se){if(ne==="executing")throw new Error("Generator is already running");if(ne==="completed"){if(Q==="throw")throw se;return te()}for(K.method=Q,K.arg=se;;){var z=K.delegate;if(z){var oe=W(z,K);if(oe){if(oe===x)continue;return oe}}if(K.method==="next")K.sent=K._sent=K.arg;else if(K.method==="throw"){if(ne==="suspendedStart")throw ne="completed",K.arg;K.dispatchException(K.arg)}else K.method==="return"&&K.abrupt("return",K.arg);ne="executing";var ie=y(O,B,K);if(ie.type==="normal"){if(ne=K.done?"completed":"suspendedYield",ie.arg===x)continue;return{value:ie.arg,done:K.done}}ie.type==="throw"&&(ne="completed",K.method="throw",K.arg=ie.arg)}}}function W(O,B){var K=B.method,ne=O.iterator[K];if(ne===void 0)return B.delegate=null,K==="throw"&&O.iterator.return&&(B.method="return",B.arg=void 0,W(O,B),B.method==="throw")||K!=="return"&&(B.method="throw",B.arg=new TypeError("The iterator does not provide a '"+K+"' method")),x;var Q=y(ne,O.iterator,B.arg);if(Q.type==="throw")return B.method="throw",B.arg=Q.arg,B.delegate=null,x;var se=Q.arg;return se?se.done?(B[O.resultName]=se.value,B.next=O.nextLoc,B.method!=="return"&&(B.method="next",B.arg=void 0),B.delegate=null,x):se:(B.method="throw",B.arg=new TypeError("iterator result is not an object"),B.delegate=null,x)}function Z(O){var B={tryLoc:O[0]};1 in O&&(B.catchLoc=O[1]),2 in O&&(B.finallyLoc=O[2],B.afterLoc=O[3]),this.tryEntries.push(B)}function T(O){var B=O.completion||{};B.type="normal",delete B.arg,O.completion=B}function H(O){this.tryEntries=[{tryLoc:"root"}],O.forEach(Z,this),this.reset(!0)}function Y(O){if(O){var B=O[c];
vendor: 4,618 bytes, line 240
240if(B)return B.call(O);if(typeof O.next=="function")return O;if(!isNaN(O.length)){var K=-1,ne=function Q(){for(;++K<O.length;)if(n.call(O,K))return Q.value=O[K],Q.done=!1,Q;return Q.value=void 0,Q.done=!0,Q};return ne.next=ne}}return{next:te}}function te(){return{value:void 0,done:!0}}return j.prototype=b,i(I,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:j,configurable:!0}),j.displayName=f(b,h,"GeneratorFunction"),t.isGeneratorFunction=function(O){var B=typeof O=="function"&&O.constructor;return!!B&&(B===j||(B.displayName||B.name)==="GeneratorFunction")},t.mark=function(O){return Object.setPrototypeOf?Object.setPrototypeOf(O,b):(O.__proto__=b,f(O,h,"GeneratorFunction")),O.prototype=Object.create(I),O},t.awrap=function(O){return{__await:O}},E(_.prototype),f(_.prototype,u,function(){return this}),t.AsyncIterator=_,t.async=function(O,B,K,ne,Q){Q===void 0&&(Q=Promise);var se=new _(m(O,B,K,ne),Q);return t.isGeneratorFunction(B)?se:se.next().then(function(z){return z.done?z.value:se.next()})},E(I),f(I,h,"Generator"),f(I,c,function(){return this}),f(I,"toString",function(){return"[object Generator]"}),t.keys=function(O){var B=Object(O),K=[];for(var ne in B)K.push(ne);return K.reverse(),function Q(){for(;K.length;){var se=K.pop();if(se in B)return Q.value=se,Q.done=!1,Q}return Q.done=!0,Q}},t.values=Y,H.prototype={constructor:H,reset:function(O){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(T),!O)for(var B in this)B.charAt(0)==="t"&&n.call(this,B)&&!isNaN(+B.slice(1))&&(this[B]=void 0)},stop:function(){this.done=!0;var O=this.tryEntries[0].completion;if(O.type==="throw")throw O.arg;return this.rval},dispatchException:function(O){if(this.done)throw O;var B=this;function K(ie,D){return se.type="throw",se.arg=O,B.next=ie,D&&(B.method="next",B.arg=void 0),!!D}for(var ne=this.tryEntries.length-1;ne>=0;--ne){var Q=this.tryEntries[ne],se=Q.completion;if(Q.tryLoc==="root")return K("end");if(Q.tryLoc<=this.prev){var z=n.call(Q,"catchLoc"),oe=n.call(Q,"finallyLoc");if(z&&oe){if(this.prev<Q.catchLoc)return K(Q.catchLoc,!0);if(this.prev<Q.finallyLoc)return K(Q.finallyLoc)}else if(z){if(this.prev<Q.catchLoc)return K(Q.catchLoc,!0)}else{if(!oe)throw new Error("try statement without catch or finally");if(this.prev<Q.finallyLoc)return K(Q.finallyLoc)}}}},abrupt:function(O,B){for(var K=this.tryEntries.length-1;K>=0;--K){var ne=this.tryEntries[K];if(ne.tryLoc<=this.prev&&n.call(ne,"finallyLoc")&&this.prev<ne.finallyLoc){var Q=ne;break}}Q&&(O==="break"||O==="continue")&&Q.tryLoc<=B&&B<=Q.finallyLoc&&(Q=null);var se=Q?Q.completion:{};return se.type=O,se.arg=B,Q?(this.method="next",this.next=Q.finallyLoc,x):this.complete(se)},complete:function(O,B){if(O.type==="throw")throw O.arg;return O.type==="break"||O.type==="continue"?this.next=O.arg:O.type==="return"?(this.rval=this.arg=O.arg,this.method="return",this.next="end"):O.type==="normal"&&B&&(this.next=B),x},finish:function(O){for(var B=this.tryEntries.length-1;B>=0;--B){var K=this.tryEntries[B];if(K.finallyLoc===O)return this.complete(K.completion,K.afterLoc),T(K),x}},catch:function(O){for(var B=this.tryEntries.length-1;B>=0;--B){var K=this.tryEntries[B];if(K.tryLoc===O){var ne=K.completion;if(ne.type==="throw"){var Q=ne.arg;T(K)}return Q}}throw new Error("illegal catch attempt")},delegateYield:function(O,B,K){return this.delegate={iterator:Y(O),resultName:B,nextLoc:K},this.method==="next"&&(this.arg=void 0),x}},t}function qx(t,e,n,i,o,c,u){try{var h=t[c](u),f=h.value}catch(m){n(m);return}h.done?e(f):Promise.resolve(f).then(i,o)}function si(t){return function(){var e=this,n=arguments;return new Promise(function(i,o){var c=t.apply(e,n);function u(f){qx(c,i,o,u,h,"next",f)}function h(f){qx(c,i,o,u,h,"throw",f)}u(void 0)})}}function j1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wx(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,C1(i.key),i)}}function N1(t,e,n){return e&&Wx(t.prototype,e),n&&Wx(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function nc(t,e,n){return e=C1(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function WA(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ta(t,e)}
240function ea(t){return ea=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},ea(t)}function ta(t,e){return ta=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},ta(t,e)}function S1(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function rc(t,e,n){return S1()?rc=Reflect.construct.bind():rc=function(o,c,u){var h=[null];h.push.apply(h,c);var f=Function.bind.apply(o,h),m=new f;return u&&ta(m,u.prototype),m},rc.apply(null,arguments)}function HA(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function of(t){var e=typeof Map=="function"?new Map:void 0;return of=function(i){if(i===null||!HA(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(i))return e.get(i);e.set(i,o)}function o(){return rc(i,arguments,ea(this).constructor)}return o.prototype=Object.create(i.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),ta(o,i)},of(t)}function ic(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function GA(t,e){if(e&&(typeof e=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ic(t)}function KA(t){var e=S1();return function(){var i=ea(t),o;if(e){var c=ea(this).constructor;o=Reflect.construct(i,arguments,c)}else o=i.apply(this,arguments);return GA(this,o)}}function QA(t,e){return YA(t)||qA(t,e)||XA(t,e)||JA()}function YA(t){if(Array.isArray(t))return t}function XA(t,e){if(t){if(typeof t=="string")return Hx(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Hx(t,e)}}function Hx(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function JA(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
241In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ZA(t,e){if(typeof t!="object"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var i=n.call(t,e);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}function C1(t){var e=ZA(t,"string");return typeof e=="symbol"?e:String(e)}var e6=typeof global<"u"&&{}.toString.call(global)==="[object global]",t6=typeof Bun<"u",n6=typeof Deno<"u",E1=e6||t6||n6;function Gx(t,e){return t.indexOf(e.toLowerCase())===0?t:"".concat(e.toLowerCase()).concat(t.substr(0,1).toUpperCase()).concat(t.substr(1))}function r6(t){return!!(t&&t.nodeType===1&&"nodeName"in t&&t.ownerDocument&&t.ownerDocument.defaultView)}function i6(t){return!isNaN(parseFloat(t))&&isFinite(t)&&Math.floor(t)==t}function Jn(t){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(t)}function P1(t){var e=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return e.test(t)}function s6(t){for(var e=(t||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),n=(e&&e[1]||"").replace("player.",""),i=[".videoji.hk",".vimeo.work",".videoji.cn"],o=0,c=i;o<c.length;o++){var u=c[o];if(n.endsWith(u))return n}return"vimeo.com"}function T1(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=t.id,n=t.url,i=e||n;if(!i)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(i6(i))return"https://vimeo.com/".concat(i);if(Jn(i))return i.replace("http:","https:");throw e?new TypeError("“".concat(e,"” is not a valid video id.")):new TypeError("“".concat(i,"” is not a vimeo.com url."))}var Kx=function(e,n,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",c=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",u=typeof n=="string"?[n]:n;return u.forEach(function(h){e[o](h,i)}),{cancel:function(){return u.forEach(function(f){return e[c](f,i)})}}};function Mc(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document;if(!t||!e||typeof e.querySelectorAll!="function")return null;for(var n=e.querySelectorAll("iframe"),i=0;i<n.length;i++)if(n[i]&&n[i].contentWindow===t)return n[i];return null}var o6=typeof Array.prototype.indexOf<"u",a6=typeof window<"u"&&typeof window.postMessage<"u";if(!E1&&(!o6||!a6))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var us=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function l6(t,e){return e={exports:{}},t(e,e.exports),e.exports}/*!
242 * weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill
243 * https://github.com/polygonplanet/weakmap-polyfill
244 * Copyright (c) 2015-2021 polygonplanet <[email protected]>
245 * @license MIT
246 */(function(t){if(t.WeakMap)return;var e=Object.prototype.hasOwnProperty,n=Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}})(),i=function(c,u,h){n?Object.defineProperty(c,u,{configurable:!0,writable:!0,value:h}):c[u]=h};t.WeakMap=(function(){function c(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(i(this,"_id",h("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}i(c.prototype,"delete",function(m){if(u(this,"delete"),!o(m))return!1;var y=m[this._id];return y&&y[0]===m?(delete m[this._id],!0):!1}),i(c.prototype,"get",function(m){if(u(this,"get"),!!o(m)){var y=m[this._id];if(y&&y[0]===m)return y[1]}}),i(c.prototype,"has",function(m){if(u(this,"has"),!o(m))return!1;var y=m[this._id];return!!(y&&y[0]===m)}),i(c.prototype,"set",function(m,y){if(u(this,"set"),!o(m))throw new TypeError("Invalid value used as weak map key");var x=m[this._id];return x&&x[0]===m?(x[1]=y,this):(i(m,this._id,[m,y]),this)});function u(m,y){if(!o(m)||!e.call(m,"_id"))throw new TypeError(y+" method called on incompatible receiver "+typeof m)}function h(m){return m+"_"+f()+"."+f()}function f(){return Math.random().toString().substring(2)}return i(c,"_polyfill",!0),c})();function o(c){return Object(c)===c}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:us);var nn=l6(function(t){/*! Native Promise Only
247    v0.8.1 (c) Kyle Simpson
248    MIT License: http://getify.mit-license.org
249*/(function(n,i,o){i[n]=i[n]||o(),t.exports&&(t.exports=i[n])})("Promise",us,function(){var n,i,o,c=Object.prototype.toString,u=typeof setImmediate<"u"?function(E){return setImmediate(E)}:setTimeout;try{Object.defineProperty({},"x",{}),n=function(E,_,F,W){return Object.defineProperty(E,_,{value:F,writable:!0,configurable:W!==!1})}}catch{n=function(_,F,W){return _[F]=W,_}}
vendor: 1,409 bytes, line 249
249o=(function(){var E,_,F;function W(Z,T){this.fn=Z,this.self=T,this.next=void 0}return{add:function(T,H){F=new W(T,H),_?_.next=F:E=F,_=F,F=void 0},drain:function(){var T=E;for(E=_=i=void 0;T;)T.fn.call(T.self),T=T.next}}})();function h(I,E){o.add(I,E),i||(i=u(o.drain))}function f(I){var E,_=typeof I;return I!=null&&(_=="object"||_=="function")&&(E=I.then),typeof E=="function"?E:!1}function m(){for(var I=0;I<this.chain.length;I++)y(this,this.state===1?this.chain[I].success:this.chain[I].failure,this.chain[I]);this.chain.length=0}function y(I,E,_){var F,W;try{E===!1?_.reject(I.msg):(E===!0?F=I.msg:F=E.call(void 0,I.msg),F===_.promise?_.reject(TypeError("Promise-chain cycle")):(W=f(F))?W.call(F,_.resolve,_.reject):_.resolve(F))}catch(Z){_.reject(Z)}}function x(I){var E,_=this;if(!_.triggered){_.triggered=!0,_.def&&(_=_.def);try{(E=f(I))?h(function(){var F=new b(_);try{E.call(I,function(){x.apply(F,arguments)},function(){v.apply(F,arguments)})}catch(W){v.call(F,W)}}):(_.msg=I,_.state=1,_.chain.length>0&&h(m,_))}catch(F){v.call(new b(_),F)}}}function v(I){var E=this;E.triggered||(E.triggered=!0,E.def&&(E=E.def),E.msg=I,E.state=2,E.chain.length>0&&h(m,E))}function j(I,E,_,F){for(var W=0;W<E.length;W++)(function(T){I.resolve(E[T]).then(function(Y){_(T,Y)},F)})(W)}function b(I){this.def=I,this.triggered=!1}function N(I){this.promise=I,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}
249function k(I){if(typeof I!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var E=new N(this);this.then=function(F,W){var Z={success:typeof F=="function"?F:!0,failure:typeof W=="function"?W:!1};return Z.promise=new this.constructor(function(H,Y){if(typeof H!="function"||typeof Y!="function")throw TypeError("Not a function");Z.resolve=H,Z.reject=Y}),E.chain.push(Z),E.state!==0&&h(m,E),Z.promise},this.catch=function(F){return this.then(void 0,F)};try{I.call(void 0,function(F){x.call(E,F)},function(F){v.call(E,F)})}catch(_){v.call(E,_)}}var A=n({},"constructor",k,!1);return k.prototype=A,n(A,"__NPO__",0,!1),n(k,"resolve",function(E){var _=this;return E&&typeof E=="object"&&E.__NPO__===1?E:new _(function(W,Z){if(typeof W!="function"||typeof Z!="function")throw TypeError("Not a function");W(E)})}),n(k,"reject",function(E){return new this(function(F,W){if(typeof F!="function"||typeof W!="function")throw TypeError("Not a function");W(E)})}),n(k,"all",function(E){var _=this;return c.call(E)!="[object Array]"?_.reject(TypeError("Not an array")):E.length===0?_.resolve([]):new _(function(W,Z){if(typeof W!="function"||typeof Z!="function")throw TypeError("Not a function");var T=E.length,H=Array(T),Y=0;j(_,E,function(O,B){H[O]=B,++Y===T&&W(H)},Z)})}),n(k,"race",function(E){var _=this;return c.call(E)!="[object Array]"?_.reject(TypeError("Not an array")):new _(function(W,Z){if(typeof W!="function"||typeof Z!="function")throw TypeError("Not a function");j(_,E,function(H,Y){W(Y)},Z)})}),k})}),Zn=new WeakMap;function To(t,e,n){var i=Zn.get(t.element)||{};e in i||(i[e]=[]),i[e].push(n),Zn.set(t.element,i)}function mc(t,e){var n=Zn.get(t.element)||{};return n[e]||[]}function gc(t,e,n){var i=Zn.get(t.element)||{};if(!i[e])return!0;if(!n)return i[e]=[],Zn.set(t.element,i),!0;var o=i[e].indexOf(n);return o!==-1&&i[e].splice(o,1),Zn.set(t.element,i),i[e]&&i[e].length===0}function c6(t,e){var n=mc(t,e);if(n.length<1)return!1;var i=n.shift();return gc(t,e,i),i}function u6(t,e){var n=Zn.get(t);Zn.set(e,n),Zn.delete(t)}function xa(t){if(typeof t=="string")try{t=JSON.parse(t)}catch(e){return console.warn(e),{}}return t}function ni(t,e,n){if(!(!t.element.contentWindow||!t.element.contentWindow.postMessage)){var i={method:e};n!==void 0&&(i.value=n);var o=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));o>=8&&o<10&&(i=JSON.stringify(i)),t.element.contentWindow.postMessage(i,t.origin)}}function d6(t,e){e=xa(e);var n=[],i;if(e.event){if(e.event==="error"){var o=mc(t,e.data.method);o.forEach(function(u){var h=new Error(e.data.message);h.name=e.data.name,u.reject(h),gc(t,e.data.method,u)})}n=mc(t,"event:".concat(e.event)),i=e.data}else if(e.method){var c=c6(t,e.method);c&&(n.push(c),i=e.value)}n.forEach(function(u){try{if(typeof u=="function"){u.call(t,i);return}u.resolve(i)}catch{}})}var h6=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","preload","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","thumbnail_id","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function _1(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return h6.reduce(function(n,i){var o=t.getAttribute("data-vimeo-".concat(i));return(o||o==="")&&(n[i]=o===""?1:o),n},e)}function lp(t,e){var n=t.html;if(!e)throw new TypeError("An element must be provided");if(e.getAttribute("data-vimeo-initialized")!==null)return e.querySelector("iframe");var i=document.createElement("div");return i.innerHTML=n,e.appendChild(i.firstChild),e.setAttribute("data-vimeo-initialized","true"),e.querySelector("iframe")}function A1(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return new Promise(function(i,o){if(!Jn(t))throw new TypeError("“".concat(t,"” is not a vimeo.com url."));var c=s6(t),u="https://".concat(c,"/api/oembed.json?url=").concat(encodeURIComponent(t));for(var h in e)e.hasOwnProperty(h)&&(u+="&".concat(h,"=").concat(encodeURIComponent(e[h])));var f="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;f.open("GET",u,!0),f.onload=function(){if(f.status===404){o(new Error("“".concat(t,"” was not found.")));return}
249if(f.status===403){o(new Error("“".concat(t,"” is not embeddable.")));return}try{var m=JSON.parse(f.responseText);if(m.domain_status_code===403){lp(m,n),o(new Error("“".concat(t,"” is not embeddable.")));return}i(m)}catch(y){o(y)}},f.onerror=function(){var m=f.status?" (".concat(f.status,")"):"";o(new Error("There was an error fetching the embed code from Vimeo".concat(m,".")))},f.send()})}function f6(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,e=[].slice.call(t.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),n=function(o){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(o))};e.forEach(function(i){try{if(i.getAttribute("data-vimeo-defer")!==null)return;var o=_1(i),c=T1(o);A1(c,o,i).then(function(u){return lp(u,i)}).catch(n)}catch(u){n(u)}})}function p6(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var e=function(i){if(Jn(i.origin)&&!(!i.data||i.data.event!=="spacechange")){var o=i.source?Mc(i.source,t):null;if(o){var c=o.parentElement;c.style.paddingBottom="".concat(i.data.data[0].bottom,"px")}}};window.addEventListener("message",e)}}function m6(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var e=function(i){if(Jn(i.origin)){var o=xa(i.data);if(!(!o||o.event!=="ready")){var c=i.source?Mc(i.source,t):null;if(c&&P1(c.src)){var u=new cp(c);u.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",e)}}function g6(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam
249=!0;var e=function(o){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(o))},n=function(o){if(Jn(o.origin)){var c=xa(o.data);if(!(!c||c.event!=="ready")){var u=o.source?Mc(o.source,t):null;if(u&&P1(u.src)){var h=new cp(u);h.getVideoId().then(function(f){var m=new RegExp("[?&]vimeo_t_".concat(f,"=([^&#]*)")).exec(window.location.href);if(m&&m[1]){var y=decodeURI(m[1]);h.setCurrentTime(y)}}).catch(e)}}}};window.addEventListener("message",n)}}function y6(){if(!window.VimeoDRMEmbedsUpdated){window.VimeoDRMEmbedsUpdated=!0;var t=function(n){if(Jn(n.origin)){var i=xa(n.data);if(!(!i||i.event!=="drminitfailed")){var o=n.source?Mc(n.source):null;if(o){var c=o.getAttribute("allow")||"",u=c.includes("encrypted-media");if(!u){o.setAttribute("allow","".concat(c,"; encrypted-media"));var h=new URL(o.getAttribute("src"));h.searchParams.set("forcereload","drm"),o.setAttribute("src",h.toString());return}}}}};window.addEventListener("message",t)}}function x6(){var t=(function(){for(var i,o=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],c=0,u=o.length,h={};c<u;c++)if(i=o[c],i&&i[1]in document){for(c=0;c<i.length;c++)h[o[0][c]]=i[c];return h}return!1})(),e={fullscreenchange:t.fullscreenchange,fullscreenerror:t.fullscreenerror},n={request:function(o){return new Promise(function(c,u){var h=function m(){n.off("fullscreenchange",m),c()};n.on("fullscreenchange",h),o=o||document.documentElement;var f=o[t.requestFullscreen]();f instanceof Promise&&f.then(h).catch(u)})},exit:function(){return new Promise(function(o,c){if(!n.isFullscreen){o();return}var u=function f(){n.off("fullscreenchange",f),o()};n.on("fullscreenchange",u);var h=document[t.exitFullscreen]();h instanceof Promise&&h.then(u).catch(c)})},on:function(o,c){var u=e[o];u&&document.addEventListener(u,c)},off:function(o,c){var u=e[o];u&&document.removeEventListener(u,c)}};return Object.defineProperties(n,{isFullscreen:{get:function(){return!!document[t.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[t.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[t.fullscreenEnabled]}}}),n}var v6={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},w6=(function(t){WA(n,t);var e=KA(n);function n(i,o){var c,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h=arguments.length>3?arguments[3]:void 0;return j1(this,n),c=e.call(this),nc(ic(c),"logger",void 0),nc(ic(c),"speedAdjustment",0),nc(ic(c),"adjustSpeed",(function(){var f=si(Tt().mark(function m(y,x){var v;return Tt().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:if(c.speedAdjustment!==x){b.next=2;break}return b.abrupt("return");case 2:return b.next=4,y.getPlaybackRate();case 4:return b.t0=b.sent,b.t1=c.speedAdjustment,b.t2=b.t0-b.t1,b.t3=x,v=b.t2+b.t3,c.log("New playbackRate:  ".concat(v)),b.next=12,y.setPlaybackRate(v);case 12:c.speedAdjustment=x;case 13:case"end":return b.stop()}},m)}));return function(m,y){return f.apply(this,arguments)}})()),c.logger=h,c.init(o,i,$x($x({},v6),u)),c}return N1(n,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:(function(){var i=si(Tt().mark(function c(u,h,f){var m=this,y,x,v;return Tt().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,this.waitForTOReadyState(u,"open");case 2:if(f.role!=="viewer"){b.next=10;break}return b.next=5,this.updatePlayer(u,h,f);case 5:y=Kx(u,"change",function(){return m.updatePlayer(u,h,f)}
249),x=this.maintainPlaybackPosition(u,h,f),this.addEventListener("disconnect",function(){x.cancel(),y.cancel()}),b.next=14;break;case 10:return b.next=12,this.updateTimingObject(u,h);case 12:v=Kx(h,["seeked","play","pause","ratechange"],function(){return m.updateTimingObject(u,h)},"on","off"),this.addEventListener("disconnect",function(){return v.cancel()});case 14:case"end":return b.stop()}},c,this)}));function o(c,u,h){return i.apply(this,arguments)}return o})()},{key:"updateTimingObject",value:(function(){var i=si(Tt().mark(function c(u,h){var f,m,y,x,v;return Tt().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,Promise.all([h.getCurrentTime(),h.getPaused(),h.getPlaybackRate()]);case 2:f=b.sent,m=QA(f,3),y=m[0],x=m[1],v=m[2],u.update({position:y,velocity:x?0:v});case 8:case"end":return b.stop()}},c)}));function o(c,u){return i.apply(this,arguments)}return o})()},{key:"updatePlayer",value:(function(){var i=si(Tt().mark(function c(u,h,f){var m,y,x;return Tt().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:if(m=u.query(),y=m.position,x=m.velocity,typeof y=="number"&&h.setCurrentTime(y),typeof x!="number"){j.next=25;break}if(x!==0){j.next=11;break}return j.next=6,h.getPaused();case 6:if(j.t0=j.sent,j.t0!==!1){j.next=9;break}h.pause();case 9:j.next=25;break;case 11:if(!(x>0)){j.next=25;break}return j.next=14,h.getPaused();case 14:if(j.t1=j.sent,j.t1!==!0){j.next=19;break}return j.next=18,h.play().catch((function(){var b=si(Tt().mark(function N(k){return Tt().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:if(!(k.name==="NotAllowedError"&&f.autoPlayMuted)){I.next=5;break}return I.next=3,h.setMuted(!0);case 3:return I.next=5,h.play().catch(function(E){return console.error("Couldn't play the video from TimingSrcConnector. Error:",E)});case 5:case"end":return I.stop()}},N)}));return function(N){return b.apply(this,arguments)}})());case 18:this.updatePlayer(u,h,f);case 19:return j.next=21,h.getPlaybackRate();case 21:if(j.t2=j.sent,j.t3=x,j.t2===j.t3){j.next=25;break}h.setPlaybackRate(x);case 25:case"end":return j.stop()}},c,this)}));function o(c,u,h){return i.apply(this,arguments)}return o})()},{key:"maintainPlaybackPosition",value:function(o,c,u){var h=this,f=u.allowedDrift,m=u.maxAllowedDrift,y=u.minCheckInterval,x=u.maxRateAdjustment,v=u.maxTimeToCatchUp,j=Math.min(v,Math.max(y,m))*1e3,b=(function(){var k=si(Tt().mark(function A(){var I,E,_,F,W;return Tt().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:if(T.t0=o.query().velocity===0,T.t0){T.next=6;break}return T.next=4,c.getPaused();case 4:T.t1=T.sent,T.t0=T.t1===!0;case 6:if(!T.t0){T.next=8;break}return T.abrupt("return");case 8:return T.t2=o.query().position,T.next=11,c.getCurrentTime();case 11:if(T.t3=T.sent,I=T.t2-T.t3,E=Math.abs(I),h.log("Drift: ".concat(I)),!(E>m)){T.next=22;break}return T.next=18,h.adjustSpeed(c,0);case 18:c.setCurrentTime(o.query().position),h.log("Resync by currentTime"),T.next=29;break;case 22:if(!(E>f)){T.next=29;break}return _=E/v,F=x,W=_<F?(F-_)/2:F,T.next=28,h.adjustSpeed(c,W*Math.sign(I));case 28:h.log("Resync by playbackRate");case 29:case"end":return T.stop()}},A)}));return function(){return k.apply(this,arguments)}})(),N=setInterval(function(){return b()},j);return{cancel:function(){return clearInterval(N)}}}},{key:"log",value:function(o){var c;(c=this.logger)===null||c===void 0||c.call(this,"TimingSrcConnector: ".concat(o))}},{key:"waitForTOReadyState",value:function(o,c){return new Promise(function(u){var h=function f(){o.readyState===c?u():o.addEventListener("readystatechange",f,{once:!0})};h()})}}]),n})(of(EventTarget)),ns=new WeakMap,uh=new WeakMap,Vt={},cp=(function(){function t(e){var n=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(j1(this,t),window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),typeof document<"u"&&typeof e=="string"&&(e=document.getElementById(e)),!r6(e))throw new TypeError("You must pass either a valid element or a valid id.");if(e.nodeName!=="IFRAME"){var o=e.querySelector("iframe");o&&(e=o)}if(e.nodeName==="IFRAME"&&!Jn(e.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");
249if(ns.has(e))return ns.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";var c=new nn(function(h,f){if(n._onMessage=function(x){if(!(!Jn(x.origin)||n.element.contentWindow!==x.source)){n.origin==="*"&&(n.origin=x.origin);var v=xa(x.data),j=v&&v.event==="error",b=j&&v.data&&v.data.method==="ready";if(b){var N=new Error(v.data.message);N.name=v.data.name,f(N);return}var k=v&&v.event==="ready",A=v&&v.method==="ping";if(k||A){n.element.setAttribute("data-ready","true"),h();return}d6(n,v)}},n._window.addEventListener("message",n._onMessage),n.element.nodeName!=="IFRAME"){var m=_1(e,i),y=T1(m);A1(y,m,e).then(function(x){var v=lp(x,e);return n.element=v,n._originalElement=e,u6(e,v),ns.set(n.element,n),x}).catch(f)}});if(uh.set(this,c),ns.set(this.element,this),this.element.nodeName==="IFRAME"&&ni(this,"ping"),Vt.isEnabled){var u=function(){return Vt.exit()};this.fullscreenchangeHandler=function(){Vt.isFullscreen?To(n,"event:exitFullscreen",u):gc(n,"event:exitFullscreen",u),n.ready().then(function(){ni(n,"fullscreenchange",Vt.isFullscreen)})},Vt.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return N1(t,[{key:"callMethod",value:function(n){for(var i=this,o=arguments.length,c=new Array(o>1?o-1:0),u=1;u<o;u++)c[u-1]=arguments[u];if(n==null)throw new TypeError("You must pass a method name.");return new nn(function(h,f){return i.ready().then(function(){To(i,n,{resolve:h,reject:f}),c.length===0?c={}:c.length===1&&(c=c[0]),ni(i,n,c)}).catch(f)})}},{key:"get",value:function(n){var i=this;return new nn(function(o,c){return n=Gx(n,"get"),i.ready().then(function(){To(i,n,{resolve:o,reject:c}),ni(i,n)}).catch(c)})}},{key:"set",value:function(n,i){var o=this;return new nn(function(c,u){if(n=Gx(n,"set"),i==null)throw new TypeError("There must be a value to set.");return o.ready().then(function(){To(o,n,{resolve:c,reject:u}),ni(o,n,i)}).catch(u)})}},{key:"on",value:function(n,i){if(!n)throw new TypeError("You must pass an event name.");if(!i)throw new TypeError("You must pass a callback function.");if(typeof i!="function")throw new TypeError("The callback must be a function.");var o=mc(this,"event:".concat(n));o.length===0&&this.callMethod("addEventListener",n).catch(function(){}),To(this,"event:".concat(n),i)}},{key:"off",value:function(n,i){if(!n)throw new TypeError("You must pass an event name.");if(i&&typeof i!="function")throw new TypeError("The callback must be a function.");var o=gc(this,"event:".concat(n),i);o&&this.callMethod("removeEventListener",n).catch(function(c){})}},{key:"loadVideo",value:function(n){return this.callMethod("loadVideo",n)}},{key:"ready",value:function(){var n=uh.get(this)||new nn(function(i,o){o(new Error("Unknown player. Probably unloaded."))});return nn.resolve(n)}},{key:"addCuePoint",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:n,data:i})}},{key:"removeCuePoint",value:function(n){return this.callMethod("removeCuePoint",n)}},{key:"enableTextTrack",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!n)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:n,kind:i,showing:o})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"selectAudioTrack",value:function(n,i){if(!n)throw new TypeError("You must pass a language.");return this.callMethod("selectAudioTrack",{language:n,kind:i})}},{key:"selectDefaultAudioTrack",value:function(){return this.callMethod("selectDefaultAudioTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return Vt.isEnabled?Vt.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return Vt.isEnabled?Vt.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return Vt.isEnabled?nn.resolve(Vt.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var n=this;return new nn(function(i){if(uh.delete(n),ns.delete(n.element),n._originalElement&&(ns.delete(n._originalElement),n._originalElement.removeAttribute("data-vimeo-initialized")),n.element&&n.element.nodeName==="IFRAME"&&n.element.parentNode&&(n.element.parentNode.parentNode&&n._originalElement&&n._originalElement!==n.element.parentNode?n.element.parentNode.parentNode.removeChild(n.element.parentNode):n.element.parentNode.removeChild(n.element)),n.element&&n.element.nodeName==="DIV"&&n.element.parentNode){n.element.removeAttribute("data-vimeo-initialized");var o=n.element.querySelector("iframe");o&&o.parentNode&&(o.parentNode.parentNode&&n._originalElement&&n._originalElement!==o.parentNode?o.parentNode.parentNode.removeChild(o.parentNode):o.parentNode.removeChild(o))}n._window.removeEventListener("message",n._onMessage),Vt.isEnabled&&Vt.off("fullscreenchange",n.fullscreenchangeHandler),i()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(n){return this.set("autopause",n)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(n){return this.set("cameraProps",n)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return nn.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(n){return this.set("color",n)}},{key:"setColors",value:function(n){if(!Array.isArray(n))return new nn(function(c,u){return u(new TypeError("Argument must be an array."))});var i=new nn(function(c){return c(null)}),o=[n[0]?this.set("colorOne",n[0]):i,n[1]?this.set("colorTwo",n[1]):i,n[2]?this.set("colorThree",n[2]):i,n[3]?this.set("colorFour",n[3]):i];return nn.all(o)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(n){return this.set("currentTime",n)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(n){return this.set("loop",n)}},{key:"setMuted",value:function(n){return this.set("muted",n)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(n){return this.set("playbackRate",n)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}
249},{key:"setQuality",value:function(n){return this.set("quality",n)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getAudioTracks",value:function(){return this.get("audioTracks")}},{key:"getEnabledAudioTrack",value:function(){return this.get("enabledAudioTrack")}},{key:"getDefaultAudioTrack",value:function(){return this.get("defaultAudioTrack")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(n){return this.set("volume",n)}},{key:"setTimingSrc",value:(function(){var e=si(Tt().mark(function i(o,c){var u=this,h;return Tt().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(o){m.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return m.next=4,this.ready();case 4:return h=new w6(this,o,c),ni(this,"notifyTimingObjectConnect"),h.addEventListener("disconnect",function(){return ni(u,"notifyTimingObjectDisconnect")}),m.abrupt("return",h);case 8:case"end":return m.stop()}},i,this)}));function n(i,o){return e.apply(this,arguments)}return n})()}],[{key:"isVimeoUrl",value:function(n){return Jn(n)}}]),t})();E1||(Vt=x6(),f6(),p6(),m6(),g6(),y6());function b6(){const[t,e]=P.useState({x:0,y:0}),[n,i]=P.useState(""),[o,c]=P.useState("idle"),[u,h]=P.useState(!1),f=P.useRef(null),m=P.useRef(null);P.useEffect(()=>{const v=j=>{e({x:(j.clientX/window.innerWidth-.5)*20,y:(j.clientY/window.innerHeight-.5)*20})};return window.addEventListener("mousemove",v),()=>window.removeEventListener("mousemove",v)},[]),P.useEffect(()=>{(async()=>{if(f.current&&!m.current){m.current=new cp(f.current);try{await m.current.ready(),await m.current.setVolume(1)}catch(j){console.error("Player initialization error:",j)}}})()},[]);const y=async()=>{if(m.current)try{const v=!u;await m.current.setVolume(v?0:1),h(v)}catch(v){console.error("Error toggling mute:",v)}},x=async v=>{if(v.preventDefault(),!(!n||o==="loading")){c("loading");try{(await fetch("https://app.kit.com/forms/8910504/subscriptions",{method:"POST",mode:"cors",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({email_address:n})})).ok?(c("success"),i(""),setTimeout(()=>c("idle"),3e3)):(c("error"),setTimeout(()=>c("idle"),3e3))}catch{c("error"),setTimeout(()=>c("idle"),3e3)}}};return a.jsxs("section",{className:"relative min-h-screen flex flex-col items-center justify-center overflow-hidden bg-black",children:[a.jsx("div",{className:"absolute top-0 left-0 right-0 h-12 md:h-16 bg-black z-40 pointer-events-none"}),a.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-12 md:h-16 bg-black z-40 pointer-events-none"}),a.jsx("div",{className:"absolute inset-0 opacity-[0.03] pointer-events-none z-30 mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}}),a.jsx("div",{className:"absolute inset-0 overflow-hidden",children:a.jsx(S.div,{animate:{opacity:[.03,.06,.03],scale:[1,1.1,1]},transition:{duration:8,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/4 left-1/2 -translate-x-1/2 w-[1200px] h-[800px] bg-gradient-radial from-white/5 via-trans
249parent to-transparent rounded-full blur-3xl"})}),a.jsx(S.nav,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{duration:1,delay:.5},className:"absolute top-0 left-0 right-0 z-50 px-6 lg:px-12 py-8",children:a.jsxs("div",{className:"max-w-7xl mx-auto flex justify-between items-center",children:[a.jsx("div",{className:"flex items-center",children:a.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/81480ff11_pitchfylogotxtwhite.png",alt:"Pitchfy",className:"h-8 w-auto"})}),a.jsx(We,{variant:"default",className:"bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 text-white text-xs tracking-wide rounded-full px-4 py-2 transition-all duration-300 shadow-lg shadow-blue-500/20 hover:shadow-blue-500/30 font-medium",onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),children:"Join the Launch List →"})]})}),a.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 lg:px-12 pt-32 lg:pt-40 pb-16",children:[a.jsxs("div",{className:"relative text-center max-w-4xl mx-auto",children:[a.jsxs(S.h1,{initial:{opacity:0,y:60},animate:{opacity:1,y:0},transition:{duration:1.2,delay:.5},className:"text-[46px] min-[414px]:text-[52px] sm:text-6xl md:text-7xl lg:text-8xl font-bold text-white tracking-[-0.01em] leading-[1.05] max-w-6xl mx-auto px-4",children:["Cinematic Pitch Decks for ",a.jsx("span",{className:"text-cyan-400",children:"Creatives."})]}),a.jsx(S.h2,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:1,delay:.9},className:"mt-6 md:mt-8 text-white/60 text-base min-[414px]:text-[17px] sm:text-lg md:text-xl lg:text-2xl font-light max-w-xl sm:max-w-2xl md:max-w-3xl mx-auto leading-[1.55] px-6 md:px-4",children:"AI-powered pitch decks for treatments, mood decks, and visual pitches—built for creative teams."}),a.jsxs(S.p,{initial:{opacity:0}
249,animate:{opacity:1},transition:{duration:1,delay:1},className:"mt-4 text-white/40 text-[13px] min-[414px]:text-[14px] md:text-sm text-center leading-[1.35]",children:["Invite-only launch.",a.jsx("br",{}),"You'll be notified when Pitchfy goes live."]}),a.jsxs(S.form,{onSubmit:x,initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:1,delay:1.1},className:"mt-8 flex flex-col sm:flex-row gap-3 max-w-md mx-auto",children:[a.jsx("input",{type:"email",value:n,onChange:v=>i(v.target.value),placeholder:"Email for launch notification",required:!0,disabled:o==="loading",className:"flex-1 px-6 py-4 rounded-full bg-white/5 border border-white/10 text-white placeholder:text-white/40 focus:outline-none focus:border-blue-500/50 focus:bg-white/[0.07] text-base leading-[1.2] transition-all duration-300 disabled:opacity-50"}),a.jsx(We,{type:"submit",size:"lg",disabled:o==="loading",className:"bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 text-white px-8 py-4 text-[17px] min-[414px]:text-[18px] leading-[1.1] tracking-wide font-medium rounded-full transition-all duration-300 shadow-lg shadow-blue-500/25 hover:shadow-blue-500/40 hover:scale-[1.02] disabled:opacity-50 disabled:cursor-not-allowed",children:o==="loading"?"Joining...":o==="success"?"✓ Joined!":"Join the Launch List →"})]}),a.jsx(S.p,{initial:{opacity:0}
249,animate:{opacity:1},transition:{duration:1,delay:1.3},className:"mt-3 text-white/40 text-[13px] leading-[1.35] text-center",children:"One email at launch. No newsletters. No spam."}),a.jsxs(S.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:1,delay:1.2},className:"mt-4 flex items-center justify-center gap-6 text-white/30 text-[13px] leading-[1.3]",children:[a.jsxs("div",{className:"flex items-center gap-1.5",children:[a.jsx("svg",{className:"w-3.5 h-3.5 text-green-400",fill:"currentColor",viewBox:"0 0 20 20",children:a.jsx("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),a.jsx("span",{children:"Launch notification"})]}),a.jsx("div",{className:"w-1 h-1 rounded-full bg-white/20"}),a.jsxs("div",{className:"flex items-center gap-1.5",children:[a.jsx("svg",{className:"w-3.5 h-3.5 text-blue-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"})}),a.jsx("span",{children:"Privacy guaranteed"})]})]}),a.jsxs(Dr,{children:[o==="success"&&a.jsx(S.p,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},className:"mt-3 text-green-400 text-sm",children:"✓ You're on the list! Check your email for confirmation."}),o==="error"&&a.jsx(S.p,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},className:"mt-3 text-red-400 text-sm",children:"Something went wrong. Please try again."})]}),o==="success"&&a.jsxs(S.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:"mt-6 p-4 rounded-xl bg-green-500/10 border border-green-500/20",children:[a.jsx("p",{className:"text-green-400 text-sm font-medium mb-1",children:"You're on the list."}),a.jsx("p",{className:"text-white/50 text-xs mb-1",children:"We'll email you when Pitchfy launches."}),a.jsx("p",{className:"text-white/40 text-xs",children:"No spam. Unsubscribe anytime."})]})]}),a.jsx(S.div,{initial:{opacity:0,y:100,scale:.95},animate:{opacity:1,y:0,scale:1},transition:{duration:1.5,delay:1,ease:[.16,1,.3,1]},className:"relative mt-16 lg:mt-24 w-full",children:a.jsx("div",{className:"relative max-w-6xl mx-auto",children:a.jsxs("div",{className:"relative w-full rounded-lg shadow-[0_0_120px_rgba(0,0,0,0.8),0_0_2px_rgba(255,255,255,0.1)] border border-white/[0.08] bg-black flex items-center justify-center",children:[a.jsx("div",{className:"w-full",children:a.jsx("iframe",{ref:f,src:"https://player.vimeo.com/video/1142869740?h=0dea3c3c52&badge=0&autopause=0&autoplay=1&muted=0&controls=0&loop=1&title=0&byline=0&portrait=0",width:"640",height:"360",className:"w-full h-auto rounded-lg",style:{border:0,aspectRatio:"16/9"},allow:"autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media; web-share",title:"Pitchfy Demo",allowFullScreen:!0})}),a.jsx(S.button,{initial:{opacity:0}
249,animate:{opacity:1},transition:{delay:2},onClick:y,className:"absolute bottom-4 right-4 p-3 rounded-full bg-black/60 hover:bg-black/80 border border-white/10 backdrop-blur-sm transition-all duration-300 group",children:u?a.jsx(xv,{className:"w-5 h-5 text-white/70 group-hover:text-white"}):a.jsx(yv,{className:"w-5 h-5 text-white/70 group-hover:text-white"})})]})})})]})]})}const Qx=[{number:"01",title:"Choose Your Deck Type",description:"Select what you're creating: film treatments, creative portfolios, brand decks, or pitch presentations.",icon:xc},{number:"02",title:"Generate Cinematic Layouts",description:"Pitchfy generates industry-specific, cinematic layouts designed for visual storytelling. Structured, professional, and pitch-ready.",icon:bj},{number:"03",title:"Export & Pitch",description:"Export your deck and use it to pitch clients, collaborators, or investors.",icon:lj}];function k6(){return a.jsxs("section",{className:"relative bg-black py-32 lg:py-40 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black via-[#050510] to-black"}),a.jsx("div",{className:"absolute inset-0 opacity-[0.03] pointer-events-none mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}}),a.jsx(S.div,{animate:{opacity:[.04,.08,.04],scale:[1,1.2,1]},transition:{duration:12,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[1000px] h-[700px] bg-gradient-radial from-blue-500/20 via-purple-500/10 to-transparent rounded-full blur-[150px] pointer-events-none"}),a.jsx(S.div,{animate:{opacity:[.03,.06,.03],x:[-100,100,-100],y:[50,-50,50]},transition:{duration:20,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/3 left-1/4 w-[600px] h-[400px] bg-gradient-radial from-cyan-500/15 to-transparent rounded-full blur-[120px] pointer-events-none"}),a.jsx("div",{className:"absolute top-0 left-0 right-0 h-20 md:h-24 bg-black z-40 pointer-events-none"}),a.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-20 md:h-24 bg-black z-40 pointer-events-none"}),a.jsx("div",{className:"absolute left-4 top-0 bottom-0 hidden lg:flex flex-col justify-around py-32",children:[...Array(8)].map((t,e)=>a.jsx(S.div,{initial:{opacity:0}
249,whileInView:{opacity:.2},transition:{delay:e*.05},className:"w-3 h-5 border border-white/20 rounded-sm bg-white/[0.02]"},e))}),a.jsx("div",{className:"absolute right-4 top-0 bottom-0 hidden lg:flex flex-col justify-around py-32",children:[...Array(8)].map((t,e)=>a.jsx(S.div,{initial:{opacity:0},whileInView:{opacity:.2},transition:{delay:e*.05},className:"w-3 h-5 border border-white/20 rounded-sm bg-white/[0.02]"},e))}),a.jsx("div",{className:"absolute top-24 left-8 w-6 h-6 border-l-2 border-t-2 border-white/20 hidden lg:block"}),a.jsx("div",{className:"absolute top-24 right-8 w-6 h-6 border-r-2 border-t-2 border-white/20 hidden lg:block"}),a.jsx("div",{className:"absolute bottom-24 left-8 w-6 h-6 border-l-2 border-b-2 border-white/20 hidden lg:block"}),a.jsx("div",{className:"absolute bottom-24 right-8 w-6 h-6 border-r-2 border-b-2 border-white/20 hidden lg:block"}),a.jsxs(S.div,{initial:{opacity:0},whileInView:{opacity:.15},viewport:{once:!0},className:"absolute top-28 left-12 text-white/20 text-[10px] font-mono tracking-wider hidden lg:block z-50",children:[a.jsx("div",{children:"SCENE 02"}),a.jsx("div",{className:"mt-1",children:"00:03:15:24"})]}),a.jsx("div",{className:"relative z-20 max-w-6xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[a.jsxs(S.div,{initial:{opacity:0,y:60},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:1.2,ease:[.16,1,.3,1]},className:"mb-24",children:[a.jsxs("div",{className:"flex items-center justify-center gap-3 mb-10",children:[a.jsx(S.div,{initial:{scaleX:0},whileInView:{scaleX:1},viewport:{once:!0},transition:{duration:.8,delay:.2},className:"w-12 h-px bg-gradient-to-r from-transparent via-blue-400/50 to-transparent"}),a.jsx("span",{className:"text-white/30 text-[10px] tracking-[0.5em] uppercase font-mono",children:"How It Works"}),a.jsx(S.div,{initial:{scaleX:0},whileInView:{scaleX:1},viewport:{once:!0},transition:{duration:.8,delay:.2},className:"w-12 h-px bg-gradient-to-r from-transparent via-blue-400/50 to-transparent"})]}),a.jsxs(S.h2,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:1,delay:.3,ease:[.16,1,.3,1]},className:"text-3xl md:text-4xl lg:text-5xl xl:text-6xl font-bold text-white tracking-tight leading-[1.2] mb-8 max-w-4xl mx-auto",children:[a.jsx("span",{className:"bg-gradient-to-r from-white via-white to-white/70 bg-clip-text text-transparent",children:"The AI Platform Made For"})," ",a.jsx("span",{className:"bg-gradient-to-r from-blue-400 via-cyan-400 to-blue-500 bg-clip-text text-transparent",children:"Mood Boards—Not Board Rooms."})]}),a.jsx(S.p,{initial:{opacity:0}
249,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:1,delay:.5},className:"text-white/40 text-base md:text-lg max-w-2xl mx-auto leading-relaxed",children:"Our AI-powered layouts are impact-first: Every slide is crafted to capture attention, evoke emotion, and turn your ideas into compelling visual narratives."})]}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 lg:gap-10",children:Qx.map((t,e)=>{const n=t.icon;return a.jsxs(S.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.8,delay:e*.15,ease:[.16,1,.3,1]},className:"relative group",children:[a.jsxs("div",{className:"relative p-10 rounded-2xl border border-white/[0.08] bg-gradient-to-b from-white/[0.02] to-black/20 backdrop-blur-sm hover:bg-white/[0.05] hover:border-blue-400/30 transition-all duration-700 group-hover:shadow-2xl group-hover:shadow-blue-500/10",children:[a.jsx(S.div,{initial:{opacity:0,scale:.8},whileInView:{opacity:.05,scale:1},viewport:{once:!0},transition:{duration:.6,delay:e*.15+.3},className:"absolute top-4 right-4 text-[120px] font-bold text-white leading-none pointer-events-none",children:t.number}),a.jsx("div",{className:"relative mb-8",children:a.jsxs(S.div,{whileHover:{scale:1.15,rotate:5},transition:{duration:.4},className:"w-16 h-16 rounded-xl bg-gradient-to-br from-blue-500/20 to-cyan-500/20 border border-blue-400/20 flex items-center justify-center relative overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-blue-400/10 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),a.jsx(n,{className:"w-7 h-7 text-blue-400 relative z-10 group-hover:text-cyan-400 transition-colors duration-500"})]})}),a.jsxs("div",{className:"relative text-left space-y-4",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("span",{className:"text-blue-400/70 font-mono text-xs tracking-[0.4em]",children:t.number}),a.jsx("div",{className:"flex-1 h-px bg-gradient-to-r from-blue-400/20 to-transparent"})]}),a.jsx("h3",{className:"text-white font-semibold text-xl tracking-tight group-hover:text-white transition-colors duration-300",children:t.title}),a.jsx("p",{className:"text-white/40 text-sm leading-relaxed group-hover:text-white/50 transition-colors duration-300",children:t.description})]}),a.jsx(S.div,{initial:{scaleX:0},whileInView:{scaleX:.3},viewport:{once:!0},transition:{duration:.6,delay:e*.15+.5},className:"absolute bottom-0 left-0 right-0 h-[3px] bg-gradient-to-r from-blue-400 via-cyan-400 to-blue-500 group-hover:scale-x-100 transition-transform duration-700 origin-left"}),a.jsx("div",{className:"absolute top-3 left-3 w-3 h-3 border-l border-t border-white/10 opacity-0 group-hover:opacity-40 transition-opacity duration-500"}),a.jsx("div",{className:"absolute bottom-3 right-3 w-3 h-3 border-r border-b border-white/10 opacity-0 group-hover:opacity-40 transition-opacity duration-500"})]}),e<Qx.length-1&&a.jsx(S.div,{initial:{scaleX:0},whileInView:{scaleX:1},viewport:{once:!0},transition:{duration:.8,delay:e*.15+.6},className:"hidden md:block absolute top-24 -right-5 w-10 h-[2px] bg-gradient-to-r from-blue-400/30 to-transparent origin-left"})]},t.number)})})]})}),a.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{boxShadow:"inset 0 0 200px 80px rgba(0,0,0,0.7)"}})]})}function j6(){return a.jsxs("section",{className:"relative bg-black py-24 lg:py-32 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black via-[#020204] to-black"}),a.jsx("div",{className:"absolute inset-0 opacity-[0.015] pointer-events-none mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}}),a.jsx(S.div,{animate:{opacity:[.03,.06,.03]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[400px] bg-blue-500/10 rounded-full blur-[120px] pointer-events-none"}),a.jsx("div",{className:"relative z-10 max-w-4xl mx-auto px-6 lg:px-12",children:a.jsxs(S.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:1,ease:[.16,1,.3,1]},className:"text-center",children:[a.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full border border-white/[0.08] bg-white/[0.02] mb-8",children:[a.jsx(wi,{className:"w-3 h-3 text-blue-400"}),a.jsx("span",{className:"text-white/50 text-xs tracking-[0.3em] uppercase font-medium",children:"What It Is"})]}),a.jsxs("h2",{className:"text-3xl md:text-4xl lg:text-5xl xl:text-6xl font-bold text-white tracking-tight leading-[1.15] mb-6 px-4",children:[a.jsx("span",{className:"bg-gradient-to-r from-white via-white to-w
249hite/70 bg-clip-text text-transparent block sm:inline",children:"An AI Presentation"})," ",a.jsx("span",{className:"bg-gradient-to-r from-white via-white to-white/70 bg-clip-text text-transparent block sm:inline",children:"Engine"}),a.jsx("br",{className:"hidden sm:block"}),a.jsx("span",{className:"bg-gradient-to-r from-blue-400 to-cyan-400 bg-clip-text text-transparent block",children:"Built For Storytellers."})]}),a.jsx("p",{className:"text-white/50 text-lg md:text-xl max-w-3xl mx-auto leading-relaxed mb-8 px-4",children:"Pitchfy turns creative briefs into film-grade pitch decks in seconds. No templates. No design skills. Just pure cinematic impact."}),a.jsxs("div",{className:"flex items-center justify-center gap-3 mt-12",children:[a.jsx("div",{className:"flex items-center gap-2 text-white/30 text-sm",children:a.jsx("span",{children:"Raw Idea"})}),a.jsx(En,{className:"w-4 h-4 text-blue-400"}),a.jsx("div",{className:"flex items-center gap-2 text-white/30 text-sm",children:a.jsx("span",{children:"Film-Grade Deck"})})]})]})})]})}const zl=[{title:"Filmmakers",icon:Ni,image:"https://images.unsplash.com/photo-1485846234645-a62644f84728?w=800&q=80"},{title:"Directors",icon:yc,image:"https://images.unsplash.com/photo-1478720568477-152d9b164e26?w=800&q=80"},{title:"Editors",icon:Ej,image:"https://images.unsplash.com/photo-1574717024653-61fd2cf4d44d?w=800&q=80"},{title:"Photographers",icon:Zk,image:"https://images.unsplash.com/photo-1452587925148-ce544e77e70d?w=800&q=80"},{title:"Creatives",icon:wi,image:"https://images.unsplash.com/photo-1536240478700-b869070f9279?w=800&q=80"},{title:"Designers",icon:jj,image:"https://images.unsplash.com/photo-1561070791-2526d30994b5?w=800&q=80"},{title:"Artists",icon:uf,image:"https://images.unsplash.com/photo-1460661419201-fd4cecdf8a8b?w=800&q=80"}];function N6(){const[t,e]=P.useState(0),[n,i]=P.useState(!1);return P.useEffect(()=>{if(n)return;const o=setInterval(()=>{e(c=>(c+1)%zl.length)},3e3);return()=>clearInterval(o)},[n]),a.jsxs("section",{className:"relative bg-black py-32 lg:py-40 overflow-hidden",children:[a.jsx(Dr,{mode:"wait",children:a.jsxs(S.div,{initial:{opacity:0,scale:1.1},animate:{opacity:1,scale:1},exit:{opacity:0},transition:{duration:1.2,ease:"easeOut"},className:"absolute inset-0",children:[a.jsx("div",{className:"absolute inset-0 bg-cover bg-center",style:{backgroundImage:`url(${zl[t].image})`}}),a.jsx("div",{className:"absolute inset-0 bg-black/70"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black via-black/50 to-black"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-black/80 via-transparent to-black/80"})]},t)}),a.jsx("div",{className:"absolute inset-0 opacity-[0.03] pointer-events-none",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E")`}}),a.jsx("div",{className:"absolute top-0 left-0 right-0 h-16 bg-gradient-to-b from-black to-transparent z-10"}),a.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-16 bg-gradient-to-t from-black to-transparent z-10"}),a.jsxs("div",{className:"absolute top-6 left-6 z-30 pointer-events-none hidden md:flex items-center gap-2",children:[a.jsx(S.div,{animate:{opacity:[1,0,1]},transition:{duration:1.5,repeat:1/0},className:"w-2 h-2 rounded-full bg-red-500"}),a.jsx("p",{className:"text-white/30 text-xs font-mono",children:"REC"})]}),a.jsx("div",{className:"absolute top-6 right-6 z-30 pointer-events-none hidden md:block",children:a.jsx("p",{className:"text-white/30 text-xs font-mono",children:"24 FPS · 2.39:1"})}),a.jsx(S.div,{animate:{x:[-100,100,-100],opacity:[.1,.3,.1]},transition:{duration:8,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-0 right-0 h-[2px] bg-gradient-to-r from-transparent via-blue-400/40 to-transparent blur-sm pointer-events-none"}),a.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-12 relative z-20",children:[a.jsxs(S.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:1},className:"text-center mb-20",children:[a.jsx(S.span,{className:"inline-block text-white/30 text-sm tracking-[0.3em] uppercase mb-6",initial:{opacity:0}
249,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:1,delay:.2},children:"Built for Visionaries"}),a.jsx(S.h2,{className:"text-5xl md:text-6xl lg:text-7xl xl:text-8xl font-bold text-white tracking-tight",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:1,delay:.3},children:a.jsx("span",{className:"bg-gradient-to-r from-white via-white to-white/60 bg-clip-text text-transparent",children:"Designed for"})}),a.jsx(Dr,{mode:"wait",children:a.jsx(S.h2,{className:"text-5xl md:text-6xl lg:text-7xl xl:text-8xl font-bold tracking-tight mt-2",initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.5},children:a.jsx("span",{className:"bg-gradient-to-r from-blue-400 to-cyan-400 bg-clip-text text-transparent",children:zl[t].title})},t)})]}),a.jsx("div",{className:"flex flex-wrap justify-center gap-3 lg:gap-4 max-w-4xl mx-auto",onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),children:zl.map((o,c)=>{const u=o.icon,h=c===t;return a.jsxs(S.button,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:c*.08},onClick:()=>e(c),className:"group relative",children:[a.jsxs("div",{className:`
250                  flex items-center gap-3 px-6 py-3 rounded-full border transition-all duration-500 cursor-pointer
251                  ${h?"bg-white/10 border-white/30 backdrop-blur-sm":"bg-white/[0.02] border-white/[0.08] hover:border-white/20 hover:bg-white/[0.05]"}
252                `,children:[a.jsx(u,{className:`w-4 h-4 transition-colors duration-500 ${h?"text-blue-400":"text-white/40 group-hover:text-white/60"}`}),a.jsx("span",{className:`text-sm font-medium tracking-wide transition-colors duration-500 ${h?"text-white":"text-white/50 group-hover:text-white/80"}`,children:o.title})]}),h&&a.jsx(S.div,{layoutId:"activeIndicator",className:"absolute -bottom-1 left-1/2 -translate-x-1/2 w-1 h-1 rounded-full bg-blue-400",transition:{type:"spring",stiffness:300,damping:30}})]},o.title)})}),a.jsx("div",{className:"mt-16 max-w-md mx-auto",children:a.jsx("div",{className:"h-[2px] bg-white/10 rounded-full overflow-hidden",children:a.jsx(S.div,{initial:{width:"0%"},animate:{width:"100%"},transition:{duration:3,ease:"linear"},className:"h-full bg-gradient-to-r from-blue-500 to-cyan-400",style:{animationPlayState:n?"paused":"running"}},t)})})]}),a.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{boxShadow:"inset 0 0 200px 100px rgba(0,0,0,0.5)"}})]})}const S6=[{text:"Because ideas deserve to look",emphasis:"cinematic."},{text:"Because presentation is",emphasis:"creativity."},{text:"Because your pitch is your",emphasis:"story."}];function C6(){const t=P.useRef(null),{scrollYProgress:e}=ap({target:t,offset:["start end","end start"]});Pn(e,[0,1],["0%","30%"]);const n=Pn(e,[0,.3,.7,1],[.3,1,1,.3]);return a.jsxs("section",{ref:t,className:"relative bg-black py-32 lg:py-48 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-[#050505]"}),a.jsx("div",{className:"absolute top-24 left-0 right-0 h-px bg-gradient-to-r from-transparent via-white/5 to-transparent"}),a.jsx("div",{className:"absolute bottom-24 left-0 right-0 h-px bg-gradient-to-r from-transparent via-white/5 to-transparent"}),a.jsx("div",{className:"absolute inset-0 opacity-[0.02] pointer-events-none mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}}),a.jsx("div",{className:"absolute left-6 top-0 bottom-0 hidden lg:flex flex-col justify-center gap-6 bg-black/10 px-1",children:[...Array(12)].map((i,o)=>a.jsx(S.div,{initial:{opacity:0}
252,whileInView:{opacity:.15},transition:{delay:o*.05},className:"w-3 h-4 rounded-sm border border-white/20 bg-white/[0.02]"},o))}),a.jsx("div",{className:"absolute right-6 top-0 bottom-0 hidden lg:flex flex-col justify-center gap-6 bg-black/10 px-1",children:[...Array(12)].map((i,o)=>a.jsx(S.div,{initial:{opacity:0},whileInView:{opacity:.15},transition:{delay:o*.05},className:"w-3 h-4 rounded-sm border border-white/20 bg-white/[0.02]"},o))}),a.jsxs("div",{className:"absolute top-8 left-8 text-white/20 text-xs font-mono tracking-wider hidden lg:block",children:[a.jsx("div",{children:"SCENE 01"}),a.jsx("div",{className:"mt-1",children:"00:01:24:18"})]}),a.jsxs(S.div,{className:"relative z-10 max-w-5xl mx-auto px-6 lg:px-16",style:{opacity:n},children:[a.jsx(S.div,{initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0},transition:{duration:1},className:"text-center mb-24",children:a.jsxs("div",{className:"inline-flex items-center gap-3",children:[a.jsx("div",{className:"w-8 h-px bg-white/20"}),a.jsx("span",{className:"text-white/30 text-[10px] tracking-[0.5em] uppercase font-light",children:"Why Pitchfy.ai"}),a.jsx("div",{className:"w-8 h-px bg-white/20"})]})}),a.jsx("div",{className:"space-y-20 lg:space-y-28",children:S6.map((i,o)=>a.jsx(S.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:1.2,ease:[.25,.1,.25,1]},className:"text-center",children:a.jsxs("h3",{className:"text-2xl sm:text-3xl md:text-4xl lg:text-5xl xl:text-6xl font-light tracking-tight leading-[1.2]",children:[a.jsx("span",{className:"text-white/40",children:i.text}),a.jsx("br",{}),a.jsx(S.span,{className:"inline-block mt-2 text-blue-500 font-medium",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8,delay:.4},children:i.emphasis})]})},o))})]}),a.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{boxShadow:"inset 0 0 200px 80px rgba(0,0,0,0.7)"}})]})}function E6(){const t=P.useRef(null),{scrollYProgress:e}=ap({target:t,offset:["start end","end start"]}),n=Pn(e,[0,.3,.7,1],[.3,1,1,.3]);return a.jsxs("section",{ref:t,className:"relative bg-black py-32 lg:py-48 overflow-hidden",children:[a.jsx("div",{className:"absolute top-0 left-0 right-0 h-12 md:h-16 bg-black z-40 pointer-events-none"}),a.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-12 md:h-16 bg-black z-40 pointer-events-none"}),a.jsxs("div",{className:"absolute inset-0",children:[a.jsx(S.div,{animate:{opacity:[.08,.15,.08],scale:[1,1.2,1]},transition:{duration:10,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[1000px] h-[800px] bg-gradient-radial from-blue-500/20 via-blue-600/5 to-transparent rounded-full blur-3xl"}),a.jsx("div",{className:"absolute inset-0 opacity-[0.03] mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}}),a.jsx("div",{className:"absolute top-16 left-16 w-6 h-6 border-l-2 border-t-2 border-white/20"}),a.jsx("div",{className:"absolute top-16 right-16 w-6 h-6 border-r-2 border-t-2 border-white/20"}),a.jsx("div",{className:"absolute bottom-16 left-16 w-6 h-6 border-l-2 border-b-2 border-white/20"}),a.jsx("div",{className:"absolute bottom-16 right-16 w-6 h-6 border-r-2 border-b-2 border-white/20"}),a.jsx("div",{className:"absolute top-24 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),a.jsx("div",{className:"absolute bottom-24 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"})]}),a.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{boxShadow:"inset 0 0 200px 80px rgba(0,0,0,0.8)"}}),a.jsxs(S.div,{style:{opacity:n},className:"relative z-10 max-w-7xl mx-auto px-6 lg:px-12",children:[a.jsx(S.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:1.2,ease:"easeOut"},className:"text-center mb-20",children:a.jsxs("div",{className:"inline-flex items-center gap-4 mb-8",children:[a.jsx(S.div,{animate:{scaleX:[0,1]},transition:{duration:.8,delay:.5},className:"w-12 h-px bg-gradient-to-r from-transparent to-white/30"}),a.jsx("span",{className:"text-white/40 text-[10px] tracking-[0.5em] uppercase font-light",children:"Built for Creative Work"}),a.jsx(S.div,{animate:{scaleX:[0,1]},transition:{duration:.8,delay:.5},className:"w-12 h-px bg-gradient-to-l from-transparent to-white/30"})]})}),a.jsxs(S.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:1,delay:.3,ease:"easeOut"},className:"max-w-4xl mx-auto text-center space-y-12",children:[a.jsxs(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:1,delay:.5},className:"text-white/80 text-xl md:text-2xl lg:text-3xl leading-relaxed font-light tracking-tight",children:["Pitchfy was designed for filmmakers, artists, and founders",a.jsx("br",{}),"who care about ",a.jsx("span",{className:"text-white italic",children:"craft"}),"—not formatting."]}),a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:1,delay:.7},className:"text-white/70 text-lg md:text-xl leading-relaxed max-w-3xl mx-auto",children:"Traditional presentation tools flatten ideas into slides. Pitchfy treats every pitch like a story, using cinematic structure, visual rhythm, and AI-powered layout to help ideas come through clearly and confidently."}),a.jsxs(S.div,{initial:{opacity:0}
252,whileInView:{opacity:1},viewport:{once:!0,margin:"-100px"},transition:{duration:1,delay:1},className:"pt-8 space-y-4 max-w-2xl mx-auto",children:[a.jsx("div",{className:"h-px w-24 bg-gradient-to-r from-transparent via-white/20 to-transparent mx-auto mb-8"}),a.jsx("p",{className:"text-white/60 text-base md:text-lg tracking-wide",children:"No templates to wrestle with."}),a.jsx("p",{className:"text-white/60 text-base md:text-lg tracking-wide",children:"No time lost on layout decisions."}),a.jsx("p",{className:"text-white/60 text-base md:text-lg tracking-wide",children:"Just a faster path from idea to presentation."})]})]})]})]})}function P6(){return a.jsxs("section",{className:"relative bg-black py-16 lg:py-20 overflow-hidden",children:[a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),a.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-12",children:a.jsx(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,ease:"easeOut"},className:"text-center",children:a.jsx(S.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,delay:.2,ease:"easeOut"},className:"mt-12",children:a.jsxs("div",{className:"flex flex-col md:flex-row justify-center items-center gap-8 md:gap-12",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("p",{className:"text-white/60 text-[10px] tracking-[0.25em] uppercase mb-1",children:"Development Team"}),a.jsx("p",{className:"text-white font-medium",children:"Award-Winning Engineering Team"}),a.jsx("p",{className:"text-white/70 text-xs mt-1",children:"AI, Product & Creative Technology"})]}),a.jsx("div",{className:"hidden md:block w-px h-8 bg-white/20"}),a.jsxs("div",{className:"text-center",children:[a.jsx("p",{className:"text-white/60 text-[10px] tracking-[0.25em] uppercase mb-1",children:"Early Access"}),a.jsx("p",{className:"text-white font-medium",children:"Now Accepting Creatives Worldwide"}),a.jsx("p",{className:"text-white/70 text-xs mt-1",children:"Limited Beta Launch"})]}),a.jsx("div",{className:"hidden md:block w-px h-8 bg-white/20"}),a.jsxs("div",{className:"text-center",children:[a.jsx("p",{className:"text-white/60 text-[10px] tracking-[0.25em] uppercase mb-1",children:"Built With"}),a.jsx("p",{className:"text-white font-medium",children:"Industry-Leading AI & Design"}),a.jsx("p",{className:"text-white/70 text-xs mt-1",children:"Trusted by Major Studios"})]})]})})})})]})}const T6=[{icon:"🚀",text:"Early access before public launch",subtext:"First to access"},{icon:"💎",text:"Launch pricing locked for 12 months",subtext:"Price guarantee"}];function _6(){return a.jsxs("section",{className:"relative bg-black py-20 lg:py-28 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black via-[#040408] to-black"}),a.jsx(S.div,{animate:{opacity:[.03,.06,.03]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[500px] h-[300px] bg-blue-500/10 rounded-full blur-[100px] pointer-events-none"}),a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),a.jsxs("div",{className:"relative z-10 max-w-2xl mx-auto px-6 lg:px-12 text-center",children:[a.jsxs(S.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,ease:"easeOut"},className:"inline-flex items-center gap-2 px-4 py-2 rounded-full border border-blue-500/20 bg-blue-500/5 mb-6",children:[a.jsx(wi,{className:"w-3 h-3 text-blue-400"}),a.jsx("span",{className:"text-blue-400/80 text-xs tracking-widest uppercase font-medium",children:"Early Access"})]}),a.jsx(S.h3,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,delay:.1,ease:"easeOut"},className:"text-2xl md:text-3xl lg:text-4xl font-semibold text-white tracking-tight mb-4",children:"Early Access"}),a.jsx(S.p,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,delay:.15,ease:"easeOut"},className:"text-white/40 text-base mb-3 max-w-md mx-auto",children:"Join before launch to unlock:"}),a.jsx(S.div,{initial:{opacity:0}
252,whileInView:{opacity:1},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,delay:.2,ease:"easeOut"},className:"mb-10",children:a.jsxs("div",{className:"inline-flex items-center gap-3 px-4 py-2 rounded-full bg-blue-500/10 border border-blue-500/20",children:[a.jsxs("span",{className:"relative flex h-2 w-2",children:[a.jsx("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-blue-400 opacity-75"}),a.jsx("span",{className:"relative inline-flex rounded-full h-2 w-2 bg-blue-500"})]}),a.jsx("span",{className:"text-blue-400 text-sm font-medium",children:"Closing January 31st, 2026"})]})}),a.jsx(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,delay:.3,ease:"easeOut"},className:"grid grid-cols-1 md:grid-cols-2 gap-4 max-w-2xl mx-auto",children:T6.map((t,e)=>a.jsxs("div",{className:"p-5 rounded-xl border border-white/[0.08] bg-white/[0.02] hover:bg-white/[0.04] transition-all duration-300",children:[a.jsx("div",{className:"text-2xl mb-2",children:t.icon}),a.jsx("div",{className:"text-white font-medium text-sm mb-1",children:t.text}),a.jsx("div",{className:"text-white/40 text-xs",children:t.subtext})]},t.text))})]})]})}function A6(){const t=[{title:"AI Layout Marketplace",desc:"Community-driven templates"},{title:"Stock Visual & Audio Libraries",desc:"Cinematic-grade assets"},{title:"VFX-Ready Templates",desc:"Professional effects packs"}];return a.jsxs("section",{className:"relative bg-black py-24 lg:py-32 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#030306] via-black to-black"}),a.jsx("div",{className:"absolute inset-0 opacity-[0.015] pointer-events-none mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulance type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}}),a.jsx(S.div,{animate:{opacity:[.02,.04,.02]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[400px] bg-purple-500/10 rounded-full blur-[120px] pointer-events-none"}),a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),a.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto px-6 lg:px-12",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx(S.p,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,ease:"easeOut"},className:"text-white/30 text-[10px] tracking-[0.5em] uppercase mb-6 font-mono",children:"[COMING SOON]"}),a.jsx(S.h3,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,delay:.1,ease:"easeOut"},className:"text-2xl md:text-3xl lg:text-4xl font-semibold text-white tracking-tight leading-tight mb-4",children:"The Creative Backbone for Storytellers"}),a.jsx(S.p,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,delay:.15,ease:"easeOut"},className:"text-white/40 text-base max-w-2xl mx-auto",children:"Beyond pitch decks—building the ultimate AI ecosystem for visual storytelling, from pitch to production."})]}),a.jsx(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,delay:.2,ease:"easeOut"},className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:t.map((e,n)=>a.jsxs("div",{className:"p-6 rounded-xl border border-white/[0.08] bg-white/[0.02] hover:bg-white/[0.04] transition-all duration-300",children:[a.jsx("h4",{className:"text-white text-base font-medium mb-2",children:e.title}),a.jsx("p",{className:"text-white/40 text-sm",children:e.desc})]},e.title))}),a.jsx(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,delay:.3,ease:"easeOut"},className:"text-center mt-12",children:a.jsx("p",{className:"text-white/30 text-sm",children:"Join the waitlist to be first in line for marketplace access"})})]})]})}const Yx=["https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/15ba86a6e_wp_title_1.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/dfeb60db6_wp_title_12.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/2c22d73a3_wp_title_13.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/39adccc80_wp_title_14.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/636b5a224_wp_title_15.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/900469e24_Artboard18.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/4563a2052_Artboard17.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/038216494_Artboard16.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/a3812cc30_Artboard15.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/23df7c375_Artboard13.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/d8b7d805d_Artboard12.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/0078a1897_Artboard11.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/a797a91b0_Artboard10.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/9b04a1d72_Artboard9.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/13775296f_Artboard8.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/be61c481f_Artboard7.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/d92d8e8d1_Artboard
2525.png"];function R6(){const[t,e]=P.useState([0,1,2,3,4]);return P.useEffect(()=>{const n=setInterval(()=>{e(i=>i.map(o=>(o+1)%Yx.length))},180);return()=>clearInterval(n)},[]),a.jsxs("section",{className:"relative bg-black py-16 lg:py-20 overflow-hidden",children:[a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),a.jsxs("div",{className:"relative z-10 max-w-5xl mx-auto px-6 lg:px-12",children:[a.jsxs(S.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,ease:"easeOut"},className:"text-center mb-8",children:[a.jsx("p",{className:"text-white/30 text-xs tracking-[0.3em] uppercase mb-3",children:"Generated Layouts"}),a.jsx("h3",{className:"text-xl md:text-2xl lg:text-3xl font-semibold text-white tracking-tight",children:"Built by Pitchfy."})]}),a.jsx(S.div,{initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,delay:.1,ease:"easeOut"},className:"flex justify-center gap-2 md:gap-3",children:t.slice(0,4).map((n,i)=>a.jsx("div",{className:"w-32 h-20 md:w-40 md:h-24 lg:w-48 lg:h-28 rounded-lg overflow-hidden border border-white/[0.08] flex-shrink-0",children:a.jsx("img",{src:Yx[n],alt:"Pitchfy layout",className:"w-full h-full object-cover"})},i))})]})]})}const _o=[{icon:Ni,title:"Film & Video",items:["Music video treatments","Film pitch decks","TV series treatments","Director's lookbooks"],image:"https://images.unsplash.com/photo-1485846234645-a62644f84728?w=800&q=80"},{icon:cf,title:"Music & Entertainment",items:["Artist rollout plans","Album concept decks","Tour creative decks","Label pitches"],image:"https://images.unsplash.com/photo-1511671782779-c97d3d27a1d4?w=800&q=80"},{icon:yc,title:"Photography",items:["Photography portfolios","Lookbooks","Campaign decks","Editorial concepts"],image:"https://images.unsplash.com/photo-1452587925148-ce544e77e70d?w=800&q=80"},{icon:uf,title:"Creative Agencies",items:["Client proposals","Creative briefs","Brand identity decks","Ad campaigns"],image:"https://images.unsplash.com/photo-1561070791-2526d30994b5?w=800&q=80"},{icon:Sj,title:"Startups",items:["Investor pitch decks","Startup one-pagers","MVP presentations","Roadmap decks"],image:"https://images.unsplash.com/photo-1559136555-9303baea8ebd?w=800&q=80"},{icon:Tj,title:"E-Commerce & Brands",items:["Marketing campaigns","Influencer proposals","Brand guidelines","Collection concepts"],image:"https://images.unsplash.com/photo-1441986300917-64674bd600d8?w=800&q=80"},{icon:gv,title:"Business & Consulting",items:["Consulting proposals","Service pitches","Case studies","Data storytelling"],image:"https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=800&q=80"},{icon:pj,title:"Education",items:["Course creation decks","Student projects","Workshop materials","Online class slides"],image:"https://images.unsplash.com/photo-1524178232363-1fb2b075b655?w=800&q=80"},{icon:hj,title:"Content Creators",items:["Content series pitches","Podcast concepts","Creator brand decks","Media kits"],image:"https://images.unsplash.com/photo-1533750516457-a7f992034fec?w=800&q=80"},{icon:Rj,title:"Talent & Portfolio",items:["Model portfolios","Acting reels","Industry résumés","Casting decks"],image:"https://images.unsplash.com/photo-1509631179647-0177331693ae?w=800&q=80"}];function I6(){const[t,e]=P.useState(0),[n,i]=P.useState(!1);return P.useEffect(()=>{if(n)return;const o=setInterval(()=>{e(c=>(c+1)%_o.length)},3500);return()=>clearInterval(o)},[n]),a.jsxs("section",{className:"relative bg-black py-24 lg:py-32 overflow-hidden",children:[a.jsx(Dr,{mode:"wait",children:a.jsxs(S.div,{initial:{opacity:0,scale:1.1},animate:{opacity:1,scale:1},exit:{opacity:0},transition:{duration:1.2,ease:"easeOut"},className:"absolute inset-0",children:[a.jsx("div",{className:"absolute inset-0 bg-cover bg-center",style:{backgroundImage:`url(${_o[t].image})`}}),a.jsx("div",{className:"absolute inset-0 bg-black/75"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black via-black/60 to-black"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-black/80 via-trans
252parent to-black/80"})]},t)}),a.jsx("div",{className:"absolute inset-0 opacity-[0.03] pointer-events-none",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E")`}}),a.jsx("div",{className:"absolute top-0 left-0 right-0 h-12 bg-gradient-to-b from-black to-transparent z-10"}),a.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-12 bg-gradient-to-t from-black to-transparent z-10"}),a.jsx(S.div,{animate:{x:[-100,100,-100],opacity:[.05,.2,.05]},transition:{duration:10,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-0 right-0 h-[1px] bg-gradient-to-r from-transparent via-cyan-400/30 to-transparent blur-sm pointer-events-none"}),a.jsxs("div",{className:"relative z-20 max-w-5xl mx-auto px-6 lg:px-12",children:[a.jsxs(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,ease:"easeOut"},className:"text-center mb-12",children:[a.jsx("span",{className:"inline-block text-white/30 text-xs tracking-[0.3em] uppercase mb-4",children:"Use Cases"}),a.jsx("h3",{className:"text-2xl md:text-3xl lg:text-4xl font-semibold text-white tracking-tight mb-3",children:"Built for every creative."}),a.jsx(Dr,{mode:"wait",children:a.jsx(S.p,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.3,ease:"easeOut"},className:"text-lg md:text-xl text-blue-400/80 font-medium",children:_o[t].title},t)})]}),a.jsx("div",{className:"flex flex-wrap justify-center gap-2 lg:gap-3 max-w-4xl mx-auto",onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),children:_o.map((o,c)=>{const u=o.icon,h=c===t;return a.jsxs(S.button,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:c*.05},onClick:()=>e(c),className:"group relative",children:[a.jsxs("div",{className:`
253                  flex items-center gap-2 px-4 py-2 rounded-full border transition-all duration-500 cursor-pointer
254                  ${h?"bg-white/10 border-white/30 backdrop-blur-sm":"bg-white/[0.02] border-white/[0.08] hover:border-white/20 hover:bg-white/[0.05]"}
255                `,children:[a.jsx(u,{className:`w-3.5 h-3.5 transition-colors duration-500 ${h?"text-blue-400":"text-white/40 group-hover:text-white/60"}`}),a.jsx("span",{className:`text-xs font-medium tracking-wide transition-colors duration-500 ${h?"text-white":"text-white/50 group-hover:text-white/80"}`,children:o.title})]}),h&&a.jsx(S.div,{layoutId:"useCaseIndicator",className:"absolute -bottom-1 left-1/2 -translate-x-1/2 w-1 h-1 rounded-full bg-blue-400",transition:{type:"spring",stiffness:300,damping:30}})]},o.title)})}),a.jsx(Dr,{mode:"wait",children:a.jsx(S.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.5},className:"mt-12 flex flex-wrap justify-center gap-3",children:_o[t].items.map((o,c)=>a.jsx(S.span,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.3,delay:c*.1},className:"px-4 py-2 rounded-lg bg-white/5 border border-white/10 text-white/60 text-sm",children:o},o))},t)}),a.jsx("div",{className:"mt-10 max-w-xs mx-auto",children:a.jsx("div",{className:"h-px bg-white/10 rounded-full overflow-hidden",children:a.jsx(S.div,{initial:{width:"0%"},animate:{width:"100%"},transition:{duration:3.5,ease:"linear"},className:"h-full bg-blue-500/60",style:{animationPlayState:n?"paused":"running"}},t)})})]}),a.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{boxShadow:"inset 0 0 200px 80px rgba(0,0,0,0.6)"}})]})}function O6(){return a.jsxs("section",{className:"relative bg-black py-24 lg:py-32 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black via-[#030306] to-black"}),a.jsx("div",{className:"absolute inset-0 opacity-[0.015] pointer-events-none mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulance type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}}
255),a.jsx(S.div,{animate:{opacity:[.03,.06,.03]},transition:{duration:8,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[800px] h-[600px] bg-blue-500/10 rounded-full blur-[140px] pointer-events-none"}),a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),a.jsx("div",{className:"relative z-10 max-w-6xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 lg:gap-16 items-center",children:[a.jsxs(S.div,{initial:{opacity:0,x:-40},whileInView:{opacity:1,x:0},viewport:{once:!0,margin:"-100px"},transition:{duration:1,ease:"easeOut"},children:[a.jsxs("div",{className:"flex items-center gap-2 mb-6",children:[a.jsx(wi,{className:"w-5 h-5 text-blue-400"}),a.jsx("span",{className:"text-blue-400 text-xs tracking-[0.3em] uppercase font-mono",children:"AI-Powered"})]}),a.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-white tracking-tight mb-6",children:"Cinematic Title Layout Generator"}),a.jsx("p",{className:"text-white/60 text-lg leading-relaxed mb-8",children:"An AI system that automatically creates high-impact, film-grade title pages — the kind you see at the opening of movie treatments, brand films, music videos, and prestige decks."}),a.jsx("p",{className:"text-white/50 text-base leading-relaxed mb-8",children:"Instead of starting with a blank slide or generic template, users instantly get director-level title layouts that establish tone, mood, and authority from the first frame."}),a.jsx("div",{className:"space-y-4",children:[{icon:Ni,text:"Director-level title layouts"},{icon:uf,text:"Sets tone, mood & authority instantly"},{icon:wi,text:"No blank slides or generic templates"}].map((t,e)=>{const n=t.icon;return a.jsxs(S.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:e*.1},className:"flex items-center gap-3",children:[a.jsx("div",{className:"w-10 h-10 rounded-lg bg-white/[0.05] border border-white/[0.08] flex items-center justify-center flex-shrink-0",children:a.jsx(n,{className:"w-5 h-5 text-blue-400"})}),a.jsx("span",{className:"text-white/70 text-sm",children:t.text})]},e)})})]}),a.jsxs(S.div,{initial:{opacity:0,x:40},whileInView:{opacity:1,x:0},viewport:{once:!0,margin:"-100px"},transition:{duration:1,ease:"easeOut",delay:.2},className:"relative",children:[a.jsxs("div",{className:"relative aspect-[16/10] rounded-xl overflow-hidden border border-white/10 shadow-2xl shadow-blue-500/10",children:[a.jsx("img",{src:"https://raw.githubusercontent.com/aethwave/Pitchfy/main/Pitchfy_web_hero_2.webp",alt:"Cinematic title layout example",className:"w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 opacity-[0.02] pointer-events-none",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E")`}})]}),a.jsx(S.div,{animate:{y:[0,-10,0]},transition:{duration:4,repeat:1/0,ease:"easeInOut"},className:"absolute -top-6 -right-6 w-32 h-32 bg-blue-500/5 rounded-full blur-2xl"}),a.jsx(S.div,{animate:{y:[0,10,0]},transition:{duration:5,repeat:1/0,ease:"easeInOut",delay:1},className:"absolute -bottom-6 -left-6 w-32 h-32 bg-cyan-500/5 rounded-full blur-2xl"})]})]})})]})}const Xx=[{question:"What is Pitchfy.ai?",answer:"Pitchfy.ai is an AI-powered platform that helps creatives and founders generate cinematic pitch decks, treatments, portfolios, and presentations designed for real-world pitching. No design skills required."},{question:"Who is Pitchfy.ai for?",answer:"Pitchfy.ai is built for filmmakers, photographers, music video creators, agencies, and startup founders who need high-quality visual decks fast."},{question:"Can I join before launch?",answer:"Yes — users can join the Pitchfy.ai waitlist for early access before the public launch. Waitlist members get exclusive benef
255its and founding member pricing."},{question:"Do I need design skills to use Pitchfy?",answer:"Not at all. Pitchfy is built for creatives of all skill levels. Our AI handles the layout and design — you focus on your story and vision."},{question:"How does Pitchfy work?",answer:"Simply choose your creative use case, input your idea or brief, and Pitchfy instantly generates a cinematic deck with AI-powered layouts designed for your industry."}];function M6({faq:t,isOpen:e,onClick:n}){return a.jsxs("div",{className:"border-b border-white/[0.08]",children:[a.jsxs("button",{onClick:n,className:"w-full py-5 flex items-center justify-between text-left group",children:[a.jsx("span",{className:`text-sm md:text-base font-medium transition-colors duration-300 pr-4 ${e?"text-white":"text-white/60 group-hover:text-white/90"}`,children:t.question}),a.jsx(S.div,{animate:{rotate:e?180:0},transition:{duration:.25,ease:"easeOut"},className:"flex-shrink-0",children:a.jsx(ij,{className:`w-4 h-4 transition-colors duration-300 ${e?"text-blue-400":"text-white/30"}`})})]}),a.jsx(Dr,{children:e&&a.jsx(S.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.25,ease:"easeOut"},className:"overflow-hidden",children:a.jsx("p",{className:"pb-5 text-white/40 text-sm leading-relaxed",children:t.answer})})})]})}function L6(){const[t,e]=P.useState(null),n={"@context":"https://schema.org","@type":"FAQPage",mainEntity:Xx.map(i=>({"@type":"Question",name:i.question,acceptedAnswer:{"@type":"Answer",text:i.answer}}))};return a.jsxs("section",{className:"relative bg-black py-20 lg:py-28 overflow-hidden",children:[a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(n)}}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black via-[#030306] to-black"}),a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),a.jsxs("div",{className:"relative z-10 max-w-2xl mx-auto px-6 lg:px-12",children:[a.jsxs(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,ease:"easeOut"},className:"text-center mb-10",children:[a.jsx("p",{className:"text-white/30 text-xs tracking-[0.3em] uppercase mb-3",children:"FAQ"}),a.jsx("h2",{className:"text-2xl md:text-3xl font-semibold text-white tracking-tight",children:"Frequently Asked Questions"})]}),a.jsx(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,delay:.1,ease:"easeOut"},className:"border-t border-white/[0.08]",children:Xx.map((i,o)=>a.jsx(M6,{faq:i,isOpen:t===o,onClick:()=>e(t===o?null:o)},o))})]})]})}function D6(){const t=()=>{window.scrollTo({top:0,behavior:"smooth"})};return a.jsxs("section",{className:"relative bg-black py-32 lg:py-44 overflow-hidden",children:[a.jsxs("div",{className:"absolute inset-0",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black via-[#080810] to-black"}),a.jsx(S.div,{animate:{opacity:[.05,.1,.05],scale:[1,1.05,1]},transition:{duration:10,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[800px] h-[500px] bg-gradient-radial from-blue-500/10 via-blue-500/[0.02] to-transparent rounded-full blur-3xl"})]}),a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),a.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto px-6 lg:px-12 text-center",children:[a.jsx(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,ease:"easeOut"},className:"mb-10",children:a.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/4cfa2a737_PitchfyP_Logo.png",alt:"Pitchfy",className:"w-16 h-16 md:w-20 md:h-20 mx-auto opacity-80"})}),a.jsxs(S.h2,{initial:{opacity:0,y:25},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,delay:.1,ease:"easeOut"},className:"text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-semibold text-white tracking-tight leading-[1.15] mb-6",children:["Stop Designing Slides.",a.jsx("br",{}),a.jsx("span",{className:"bg-gradient-to-r from-blue-400 to-cyan-400 bg-clip-text text-transparent",children:"Start Directing Decks."})]}),a.jsx(S.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,delay:.2,ease:"easeOut"},className:"text-white/40 text-base md:text-lg max-w-xl mx-auto mb-4",children:"Get early access to the AI platform that thinks like a director."}),a.jsxs(S.div,{initial:{opacity:0}
255,whileInView:{opacity:1},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,delay:.25},className:"flex items-center justify-center gap-4 text-white/30 text-sm mb-10",children:[a.jsxs("div",{className:"flex items-center gap-1.5",children:[a.jsx("svg",{className:"w-4 h-4 text-blue-400",fill:"currentColor",viewBox:"0 0 20 20",children:a.jsx("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),a.jsx("span",{children:"Free early access"})]}),a.jsx("div",{className:"w-1 h-1 rounded-full bg-white/20"}),a.jsxs("div",{className:"flex items-center gap-1.5",children:[a.jsx("svg",{className:"w-4 h-4 text-blue-400",fill:"currentColor",viewBox:"0 0 20 20",children:a.jsx("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),a.jsx("span",{children:"Exclusive perks"})]})]}),a.jsx(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,delay:.3,ease:"easeOut"},children:a.jsxs(We,{size:"lg",onClick:t,className:"bg-white text-black hover:bg-white/95 px-10 py-7 text-sm tracking-wide font-semibold rounded-full group transition-all duration-300 hover:shadow-[0_0_60px_rgba(255,255,255,0.15)] hover:scale-105",children:["Unlock Pitchfy",a.jsx(En,{className:"ml-2 w-4 h-4 group-hover:translate-x-1 transition-transform"})]})}),a.jsx(S.p,{initial:{opacity:0}
255,whileInView:{opacity:1},viewport:{once:!0,margin:"-50px"},transition:{duration:.8,delay:.4,ease:"easeOut"},className:"mt-6 text-white/25 text-xs tracking-wide",children:"No credit card required · Free to join"})]})]})}function F6(){const[t,e]=P.useState(!1),[n,i]=P.useState(!1);return P.useEffect(()=>{const o=()=>{const c=window.scrollY/(document.documentElement.scrollHeight-window.innerHeight)*100;e(!n&&c>25)};return window.addEventListener("scroll",o),()=>window.removeEventListener("scroll",o)},[n]),a.jsx(Dr,{children:t&&a.jsx(S.div,{initial:{y:100,opacity:0},animate:{y:0,opacity:1},exit:{y:100,opacity:0},transition:{duration:.3},className:"fixed bottom-0 left-0 right-0 z-50 p-4 bg-black/95 backdrop-blur-xl border-t border-white/10 md:hidden",children:a.jsxs("div",{className:"flex items-start gap-3",children:[a.jsxs("div",{className:"flex-1",children:[a.jsx(We,{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"w-full bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 text-white py-3.5 text-sm font-medium rounded-full shadow-lg shadow-blue-500/30",children:"Get Early Access →"}),a.jsx("p",{className:"text-white/40 text-[11px] text-center mt-2",children:"Early access • No payment required"})]}),a.jsx("button",{onClick:()=>i(!0),className:"mt-1 p-2 text-white/30 hover:text-white/60 transition-colors","aria-label":"Dismiss",children:a.jsx(vv,{className:"w-4 h-4"})})]})})})}function V6(){return a.jsxs("div",{className:"bg-black min-h-screen overflow-x-hidden",children:[a.jsx(b6,{}),a.jsxs("section",{className:"relative bg-black py-16 lg:py-20 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black via-[#030308] to-black"}),a.jsx("div",{className:"absolute inset-0 opacity-[0.02] pointer-events-none mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}}),a.jsx(S.div,{animate:{opacity:[.03,.06,.03],scale:[1,1.15,1]},transition:{duration:10,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[800px] h-[600px] bg-gradient-radial from-blue-500/15 via-cyan-500/5 to-transparent rounded-full blur-[120px] pointer-events-none"}),a.jsx("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"}),a.jsx("div",{className:"relative z-10 max-w-5xl mx-auto px-6 lg:px-12",children:a.jsxs(S.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:1,ease:[.16,1,.3,1]},children:[a.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[a.jsx(S.div,{initial:{scaleX:0},whileInView:{scaleX:1},viewport:{once:!0},transition:{duration:.8},className:"w-10 h-px bg-gradient-to-r from-blue-400/50 to-transparent"}),a.jsx("span",{className:"text-white/30 text-[10px] tracking-[0.4em] uppercase font-mono",children:"What is Pitchfy"})]}),a.jsxs("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-white mb-10 tracking-tight leading-[1.15]",children:[a.jsx("span",{className:"bg-gradient-to-r from-white via-white to-white/70 bg-clip-text text-transparent",children:"AI-Powered Cinematic Pitch Decks for"})," ",a.jsx("span",{className:"bg-gradient-to-r from-blue-400 to-cyan-400 bg-clip-text text-transparent",children:"Creatives"})]}),a.jsxs("div",{className:"space-y-6 text-white/50 text-base md:text-lg leading-relaxed mb-12",children:[a.jsx("p",{children:"Pitchfy.ai is a creative-first, AI-powered platform for cinematic pitch decks, treatments, portfolios, and visual storytelling—built specifically for filmmakers, photographers, agencies, and creative teams."}),a.jsx("p",{children:"Pitchfy was built around how creatives think. Instead of forcing ideas into slides or templates, it uses cinematic structure, visual rhythm, and story logic to help ideas take shape naturally as pitches."})]}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:["Film and music video treatments","Director and photographer portfolios","Creative brand decks and visual briefs","AI-powered layout generation","Export-ready presentations for clients and investors"].map((t,e)=>a.jsxs(S.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:e*.1},className:"flex items-start gap-3 group",children:[a.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-blue-400/70 mt-2.5 group-hover:bg-cyan-400 transition-colors duration-300"}),a.jsx("span",{className:"text-white/50 group-hover:text-white/70 transition-colors duration-300",children:t})]},e))})]})}),a.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-32 bg-gradient-to-t from-black to-transparent pointer-events-none"})]}),a.jsx(C6,{}),a.jsx(j6,{}),a.jsx(k6,{}),a.jsx(O6,{}),a.jsx(R6,{}),a.jsx(P6,{}),a.jsx(N6,{}),a.jsx(I6,{}),a.jsx(E6,{}),a.jsx(A6,{}),a.jsx(_6,{}),a.jsx(L6,{}),a.jsx(D6,{}),a.jsx(F6,{}),a.jsx("footer",{className:"bg-black border-t border-white/[0.06] py-16",children:a.jsx("div",{className:"max-w-6xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"flex flex-col items-center gap-8",children:[a.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/4b76a878a_pitchfywhitelogo.png",alt:"Pitchfy",className:"h-6 w-auto opacity-60"}),a.jsxs("div",{className:"flex flex-col md:flex-row items-center gap-8 md:gap-12 text-center",children:[a.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-4 md:gap-5",children:[a.jsx(ae,{to:le("HowItWorks"),className:"text-white/40 text-sm hover:text-white/70 transition-colors",children:"How It Works"}),a.jsx(ae,{to:le("AIPitchDeckGenerator"),className:"text-white/40 text-sm hover:text-white/70 transition-colors",children:"AI Pitch Deck Generator"}),a.jsx(ae,{to:le("DirectorsTreatment"),className:"text-white/40 text-sm hover:text-white/70 transition-colors",children:"Director's Treatment"}),a.jsx(ae,{to:le("FilmTreatment"),className:"text-white/40 text-sm hover:text-white/70 transition-colors",children:"Film Treatment"})]}),a.jsx("span",{className:"hidden md:block text-white/10",children:"·"}),a.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-4 md:gap-5",children:[a.jsx(ae,{to:le("DirectorsTreatment"),className:"text-white/40 text-sm hover:text-white/70 transition-colors",children:"Creative Treatments"}),a.jsx(ae,{to:le("AIPitchDeckGenerator"),className:"text-white/40 text-sm hover:text-white/70 transition-colors",children:"Brand Decks"}),a.jsx(ae,{to:le("CreativePitchDeck"),className:"text-white/40 text-sm hover:text-white/70 transition-colors",children:"Creative Pitch Deck"})]}),a.jsx("span",{className:"hidden md:block text-white/10",children:"·"}),a.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-4 md:gap-5",children:[a.jsx(ae,{to:le("Compare"),className:"text-white/40 text-sm hover:text-white/70 transition-colors",children:"Compare"}),a.jsx(ae,{to:le("Contact"),className:"text-white/40 text-sm hover:text-white/70 transition-colors",children:"Contact"})]})]}),a.jsx(We,{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 text-white px-6 py-2.5 text-sm font-medium rounded-full transition-all duration-300 shadow-lg shadow-blue-500/20 hover:shadow-blue-500/30",children:"Get Early Access →"}),a.jsx("p",{className:"text-white/30 text-xs text-center max-w-md",children:"Pitchfy opens access in phases. Early users get access before public release."}),a.jsx("p",{className:"text-white/20 text-xs",children:"© 2025 Pitchfy.ai"})]})})})]})}
255function z6(){const t=[{number:"01",icon:gg,title:"Choose Your Deck Type",description:"Select what you're creating: film treatments, creative portfolios, brand decks, or pitch presentations.",details:["Film treatments for directors and agencies","Creative portfolios for photographers and artists","Brand decks and pitch presentations for founders"]},{number:"02",icon:Lj,title:"Generate Cinematic Layouts",description:"Pitchfy generates industry-specific, cinematic layouts designed for visual storytelling—not generic slides.",details:["AI builds narrative-driven structure automatically","Industry-specific formats for your creative field","Cinematic layouts that showcase your vision"]},{number:"03",icon:js,title:"Refine & Share",description:"Customize your deck, export in multiple formats, and share it with clients, collaborators, or investors.",details:["Edit and adjust layouts to match your style","Export as PDF, presentation, or shareable link","Present live or send for review"]}],e=[{icon:gg,title:"Cinematic Structure",description:"Pitchfy organizes ideas using story logic—not bullet points."},{icon:js,title:"Smart Layouts",description:"Layouts adjust automatically as you edit, keeping everything balanced."},{icon:gv,title:"Industry Formats",description:"Built-in templates for film treatments, pitch decks, and creative portfolios."}];return a.jsxs("div",{className:"min-h-screen bg-black",children:[a.jsxs("section",{className:"relative min-h-[70vh] flex flex-col items-center justify-center overflow-hidden bg-black",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black via-[#020204] to-black"}),a.jsx("div",{className:"absolute inset-0 opacity-[0.015] pointer-events-none mix-blend-overlay",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulance type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}}),a.jsx(S.div,{animate:{opacity:[.03,.06,.03]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[400px] bg-blue-500/10 rounded-full blur-[120px] pointer-events-none"}),a.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto px-6 lg:px-12 py-20 text-center",children:[a.jsx(S.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-5xl md:text-6xl lg:text-7xl font-bold tracking-tight leading-[0.95] mb-8",children:a.jsx("span",{className:"block bg-gradient-to-b from-white via-blue-50 to-blue-200 bg-clip-text text-transparent",children:"How Pitchfy Works"})}),a.jsx(S.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.1},className:"text-white/70 text-xl md:text-2xl max-w-3xl mx-auto leading-relaxed mb-8",children:"From idea to cinematic pitch in three steps"})]})]}),a.jsx("section",{className:"relative bg-black py-20 lg:py-32 border-t border-white/[0.06]",children:a.jsx("div",{className:"max-w-6xl mx-auto px-6 lg:px-12",children:a.jsx("div",{className:"space-y-24",children:t.map((n,i)=>{const o=n.icon;return a.jsxs(S.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:i*.1},className:"relative",children:[a.jsxs("div",{className:"flex flex-col lg:flex-row gap-12 items-start",children:[a.jsx("div",{className:"flex-shrink-0 lg:w-48",children:a.jsxs("div",{className:"inline-flex items-center gap-4",children:[a.jsx("span",{className:"text-6xl font-bold text-white/10",children:n.number}),a.jsx("div",{className:"w-16 h-16 rounded-2xl bg-blue-500/10 border border-blue-500/20 flex items-center justify-center",children:a.jsx(o,{className:"w-8 h-8 text-blue-400"})})]})}),a.jsxs("div",{className:"flex-1",children:[a.jsx("h3",{className:"text-3xl md:text-4xl font-semibold text-white mb-4",children:n.title}),a.jsx("p",{className:"text-white/60 text-lg md:text-xl leading-relaxed mb-6",children:n.description}),a.jsx("ul",{className:"space-y-3",children:n.details.map((c,u)=>a.jsxs("li",{className:"flex items-start gap-3 text-white/50 text-base",children:[a.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-blue-400 mt-2 flex-shrink-0"}),a.jsx("span",{children:c})]},u))})]})]}),i<t.length-1&&a.jsx("div",{className:"absolute left-8 lg:left-24 top-32 w-px h-24 bg-gradient-to-b from-blue-500/30 to-transparent"})]},i)})})})}),a.jsx("section",{className:"relative bg-black py-20 lg:py-32 border-t border-white/[0.06]",children:a.jsxs("div",{className:"max-w-6xl mx-auto px-6 lg:px-12",children:[a.jsx(S.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-3xl md:text-4xl font-semibold text-white mb-12 text-center",children:"What Makes It Different"}),a.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:e.map((n,i)=>{const o=n.icon;return a.jsxs(S.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:i*.1},className:"bg-white/[0.02] border border-white/[0.06] rounded-2xl p-8 hover:bg-white/[0.04] hover:border-white/[0.1] transition-all duration-300",children:[a.jsx("div",{className:"w-12 h-12 rounded-xl bg-blue-500/10 border border-blue-500/20 flex items-center justify-center mb-6",children:a.jsx(o,{className:"w-6 h-6 text-blue-400"})}),a.jsx("h3",{className:"text-xl font-semibold text-white mb-3",children:n.title}),a.jsx("p",{className:"text-white/60 text-base leading-relaxed",children:n.description})]},i)})})]})}),a.jsxs("section",{className:"relative bg-black py-20 lg:py-32 border-t border-white/[0.06]",children:[a.jsx(S.div,{animate:{o
255pacity:[.03,.06,.03]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[400px] bg-blue-500/10 rounded-full blur-[120px] pointer-events-none"}),a.jsxs("div",{className:"relative z-10 max-w-2xl mx-auto px-6 lg:px-12 text-center",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-semibold text-white mb-6",children:"Ready to build your first pitch?"}),a.jsx("p",{className:"text-white/60 text-lg mb-8",children:"Join creatives already using Pitchfy to turn ideas into cinematic pitches."}),a.jsx(We,{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 text-white px-8 py-4 text-base font-medium rounded-full",children:"Unlock Pitchfy"})]})]}),a.jsx("footer",{className:"bg-black border-t border-white/[0.06] py-10",children:a.jsx("div",{className:"max-w-5xl mx-auto px-6 lg:px-12",children:a.jsxs("div",{className:"flex flex-col items-center gap-6",children:[a.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/692fcb999e0f5a995e9c717c/4b76a878a_pitchfywhitelogo.png",alt:"Pitchfy",className:"h-5 w-auto opacity-50"}),a.jsxs("div",{className:"flex items-center gap-6 flex-wrap justify-center",children:[a.jsx(ae,{to:le("Home"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Home"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("HowItWorks"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"How It Works"}),a.jsx(ae,{to:le("Compare"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Compare"}),a.jsx("span",{className:"text-white/10",children:"·"}),a.jsx(ae,{to:le("Contact"),className:"text-white/30 text-xs tracking-wide hover:text-white/50 transition-colors",children:"Contact"})]}),a.jsx("p",{className:"text-white/30 text-xs text-center max-w-md",children:"Pitchfy is opening access in phases. Early sign-ups receive access before public release."}),a.jsx("p",{className:"text-white/20 text-xs",children:"© 2026 Pitchfy.ai"})]})})})]})}function B6(){const{pathname:t}=Ei();return P.useEffect(()=>{window.scrollTo(0,0)},[t]),null}function U6({children:t}){return P.useEffect(()=>{const e=document.createElement("script");e.async=!0,e.src="https://www.googletagmanager.com/gtag/js?id=AW-17848949369",document.head.appendChild(e);const n=document.createElement("script");return n.innerHTML=`
256      
vendor: 145 bytes, lines 256-259
256window.dataLayer = window.dataLayer || [];
257      function gtag(){dataLayer.push(arguments);}
258      gtag('js', new Date());
259      gtag('config', '
259AW-17848949369
vendor: 8 bytes, lines 259-260
259');
260    
260`,document.head.appendChild(n),()=>{document.head.removeChild(e),document.head.removeChild(n)}},[]),a.jsxs(a.Fragment,{children:[a.jsx(B6,{}),t]})}const $6={AIPitchDeckGenerator:AA,Compare:RA,CompareBeautifulAi:IA,CompareDecktopus:OA,CompareGamma:MA,CompareGoogleSlides:LA,ComparePitch:DA,ComparePowerPoint:FA,CompareSlidebean:VA,Contact:zA,CreativePitchDeck:BA,DirectorsTreatment:UA,FilmTreatment:$A,Home:V6,HowItWorks:z6},R1={mainPage:"Home",Pages:$6,Layout:U6};function q6(){const t=Ei(),{isAuthenticated:e}=qw(),{Pages:n,mainPage:i}=R1,o=i;return P.useEffect(()=>{var c;(c=window.parent)==null||c.postMessage({type:"app_changed_url",url:window.location.href},"*")},[t]),P.useEffect(()=>{const c=t.pathname;let u;if(c==="/"||c==="")u=o;else{const h=c.replace(/^\//,"").split("/")[0];u=Object.keys(n).find(y=>y.toLowerCase()===h.toLowerCase())||null}e&&u&&is.appLogs.logUserInApp(u).catch(()=>{})},[t,e,n,o]),null}function W6({}){var o;const e=Ei().pathname.substring(1),{data:n,isFetched:i}=iS({queryKey:["user"],queryFn:async()=>{try{return{user:await is.auth.me(),isAuthenticated:!0}}catch{return{user:null,isAuthenticated:!1}}}});return a.jsx("div",{className:"min-h-screen flex items-center justify-center p-6 bg-slate-50",children:a.jsx("div",{className:"max-w-md w-full",children:a.jsxs("div",{className:"text-center space-y-6",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx("h1",{className:"text-7xl font-light text-slate-300",children:"404"}),a.jsx("div",{className:"h-0.5 w-16 bg-slate-200 mx-auto"})]}),a.jsxs("div",{className:"space-y-3",children:[a.jsx("h2",{className:"text-2xl font-medium text-slate-800",children:"Page Not Found"}),a.jsxs("p",{className:"text-slate-600 leading-relaxed",children:["The page ",a.jsxs("span",{className:"font-medium text-slate-700",children:['"',e,'"']})," could not be found in this application."]})]}),i&&n.isAuthenticated&&((o=n.user)==null?void 0:o.role)==="admin"&&a.jsx("div",{className:"mt-8 p-4 bg-slate-100 rounded-lg border border-slate-200",children:a.jsxs("div",{className:"flex items-start space-x-3",children:[a.jsx("div",{className:"flex-shrink-0 w-5 h-5 rounded-full bg-orange-100 flex items-center justify-center mt-0.5",children:a.jsx("div",{className:"w-2 h-2 rounded-full bg-orange-400"})}),a.jsxs("div",{className:"text-left space-y-1",children:[a.jsx("p",{className:"text-sm font-medium text-slate-700",children:"Admin Note"}),a.jsx("p",{className:"text-sm text-slate-600 leading-relaxed",children:"This could mean that the AI hasn't implemented this page yet. Ask it to implement it in the chat."})]})]})}),a.jsx("div",{className:"pt-6",children:a.jsxs("button",{onClick:()=>window.location.href="/",className:"inline-flex items-center px-4 py-2 text-sm font-medium text-slate-700 bg-white border border-slate-200 rounded-lg hover:bg-slate-50 hover:border-slate-300 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-slate-500",children:[a.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"})}),"Go Home"]})})]})})})}const H6=()=>a.jsx("div",{className:"flex flex-col items-center justify-center min-h-screen bg-gradient-to-b from-white to-slate-50",children:a.jsx("div",{className:"max-w-md w-full p-8 bg-white rounded-lg shadow-lg border border-slate-100",children:a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 mb-6 rounded-full bg-orange-100",children:a.jsx("svg",{className:"w-8 h-8 text-orange-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),a.jsx("h1",{className:"text-3xl font-bold text-slate-900 mb-4",children:"Access Restricted"}),a.jsx("p",{className:"text-slate-600 mb-8",children:"You are not registered to use this application. Please contact the app administrator to request access."}),a.jsxs("div",{className:"p-4 bg-slate-50 rounded-md text-sm text-slate-600",children:[a.jsx("p",{children:"If you believe this is an error, you can:"}),a.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[a.jsx("li",{children:"Verify you are logged in with the correct account"}),a.jsx("li",{children:"Contact the app administrator for access"}),a.jsx("li",{children:"Try logging out and back in again"})]})]})]})})}),{Pages:I1,Layout:Jx,mainPage:G6}=R1,O1=G6,K6=I1[O1],Zx=({children:t,currentPageName:e})=>Jx?a.jsx(Jx,{currentPageName:e,children:t}):a.jsx(a.Fragment,{children:t}),Q6=()=>{const{isLoadingAuth:t,isLoadingPublicSettings:e,authError:n,isAuthenticated:i,navigateToLogin:o}=qw();if(e||t)return a.jsx("div",{className:"fixed inset-0 flex items-center justify-center",children:a.jsx("div",{className:"w-8 h-8 border-4 border-slate-200 border-t-slate-800 rounded-full animate-spin"})});if(n){if(n.type==="user_not_registered")return a.jsx(H6,{});if(n.type==="auth_required")return o(),null}return a.jsxs(JS,{children:[a.jsx($l,{path:"/",element:a.jsx(Zx,{currentPageName:O1,children:a.jsx(K6,{})})}),Object.entries(I1).map(([c,u])=>a.jsx($l,{path:`/${c}`,element:a.jsx(Zx,{currentPageName:c,children:a.jsx(u,{})})},c)),a.jsx($l,{path:"*",element:a.jsx(W6,{})})]})};function Y6(){return a.jsx(v4,{children:a.jsxs(HN,{client:sS,children:[a.jsxs(sC,{children:[a.jsx(q6,{}),a.jsx(Q6,{})]}),a.jsx(wN,{}),a.jsx(oS,{})]})})}Uk.createRoot(document.getElementById("root")).render(a.jsx(Y6,{}));

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.