PageSourceSearch

https://pantheonconnect.com/assets/index-BAd4mghS.js

js pantheonconnect.com collected 2026-10-09 22:40:59 UTC 669,908 bytes, 295 lines download raw bytes

1var sy=t=>{throw TypeError(t)};var Rd=(t,e,n)=>e.has(t)||sy("Cannot "+n);var R=(t,e,n)=>(Rd(t,e,"read from private field"),n?n.call(t):e.get(t)),be=(t,e,n)=>e.has(t)?sy("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),re=(t,e,n,i)=>(Rd(t,e,"write to private field"),i?i.call(t,n):e.set(t,n),n),_e=(t,e,n)=>(Rd(t,e,"access private method"),n);var ql=(t,e,n,i)=>({set _(o){re(t,e,o,n)},get _(){return R(t,e,i)}});function fk(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: 4,866 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 n0(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Od={exports:{}},Uo={},Ld={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 iy;function pk(){if(iy)return Pe;iy=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"),p=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.iterator;function b(I){return I===null||typeof I!="object"?null:(I=v&&I[v]||I["@@iterator"],typeof I=="function"?I:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,N={};function j(I,W,ce){this.props=I,this.context=W,this.refs=N,this.updater=ce||S}j.prototype.isReactComponent={},j.prototype.setState=function(I,W){if(typeof I!="object"&&typeof I!="function"&&I!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,I,W,"setState")},j.prototype.forceUpdate=function(I){this.updater.enqueueForceUpdate(this,I,"forceUpdate")};function w(){}w.prototype=j.prototype;function P(I,W,ce){this.props=I,this.context=W,this.refs=N,this.updater=ce||S}var T=P.prototype=new w;T.constructor=P,E(T,j.prototype),T.isPureReactComponent=!0;var O=Array.isArray,U=Object.prototype.hasOwnProperty,q={current:null},ne={key:!0,ref:!0,__self:!0,__source:!0};function D(I,W,ce){var ge,Ce={},ie=null,me=null;if(W!=null)for(ge in W.ref!==void 0&&(me=W.ref),W.key!==void 0&&(ie=""+W.key),W)U.call(W,ge)&&!ne.hasOwnProperty(ge)&&(Ce[ge]=W[ge]);var Ae=arguments.length-2;if(Ae===1)Ce.children=ce;else if(1<Ae){for(var Le=Array(Ae),ct=0;ct<Ae;ct++)Le[ct]=arguments[ct+2];Ce.children=Le}if(I&&I.defaultProps)for(ge in Ae=I.defaultProps,Ae)Ce[ge]===void 0&&(Ce[ge]=Ae[ge]);return{$$typeof:t,type:I,key:ie,ref:me,props:Ce,_owner:q.current}}function H(I,W){return{$$typeof:t,type:I.type,key:W,ref:I.ref,props:I.props,_owner:I._owner}}function G(I){return typeof I=="object"&&I!==null&&I.$$typeof===t}function Q(I){var W={"=":"=0",":":"=2"};return"$"+I.replace(/[=:]/g,function(ce){return W[ce]})}var $=/\/+/g;function de(I,W){return typeof I=="object"&&I!==null&&I.key!=null?Q(""+I.key):W.toString(36)}function Ne(I,W,ce,ge,Ce){var ie=typeof I;(ie==="undefined"||ie==="boolean")&&(I=null);var me=!1;if(I===null)me=!0;else switch(ie){case"string":case"number":me=!0;break;case"object":switch(I.$$typeof){case t:case e:me=!0}}if(me)return me=I,Ce=Ce(me),I=ge===""?"."+de(me,0):ge,O(Ce)?(ce="",I!=null&&(ce=I.replace($,"$&/")+"/"),Ne(Ce,W,ce,"",function(ct){return ct})):Ce!=null&&(G(Ce)&&(Ce=H(Ce,ce+(!Ce.key||me&&me.key===Ce.key?"":(""+Ce.key).replace($,"$&/")+"/")+I)),W.push(Ce)),1;if(me=0,ge=ge===""?".":ge+":",O(I))for(var Ae=0;Ae<I.length;Ae++){ie=I[Ae];var Le=ge+de(ie,Ae);me+=Ne(ie,W,ce,Le,Ce)}else if(Le=b(I),typeof Le=="function")for(I=Le.call(I),Ae=0;!(ie=I.next()).done;)ie=ie.value,Le=ge+de(ie,Ae++),me+=Ne(ie,W,ce,Le,Ce);else if(ie==="object")throw W=String(I),Error("Objects are not valid as a React child (found: "+(W==="[object Object]"?"object with keys {"+Object.keys(I).join(", ")+"}":W)+"). If you meant to render a collection of children, use an array instead.");return me}function ye(I,W,ce){if(I==null)return I;var ge=[],Ce=0;return Ne(I,ge,"","",function(ie){return W.call(ce,ie,Ce++)}),ge}function ke(I){if(I._status===-1){var W=I._result;W=W(),W.then(function(ce){(I._status===0||I._status===-1)&&(I._status=1,I._result=ce)},function(ce){(I._status===0||I._status===-1)&&(I._status=2,I._result=ce)}),I._status===-1&&(I._status=0,I._result=W)}if(I._status===1)return I._result.default;throw I._result}var pe={current:null},z={transition:null},he={ReactCurrentDispatcher:pe,ReactCurrentBatchConfig:z,ReactCurrentOwner:q};function Z(){throw Error("act(...) is not supported in production builds of React.")}return Pe.Children={map:ye,forEach:function(I,W,ce){ye(I,function(){W.apply(this,arguments)},ce)}
vendor: 9,689 bytes, lines 9-33
9,count:function(I){var W=0;return ye(I,function(){W++}),W},toArray:function(I){return ye(I,function(W){return W})||[]},only:function(I){if(!G(I))throw Error("React.Children.only expected to receive a single React element child.");return I}},Pe.Component=j,Pe.Fragment=n,Pe.Profiler=o,Pe.PureComponent=P,Pe.StrictMode=i,Pe.Suspense=p,Pe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=he,Pe.act=Z,Pe.cloneElement=function(I,W,ce){if(I==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+I+".");var ge=E({},I.props),Ce=I.key,ie=I.ref,me=I._owner;if(W!=null){if(W.ref!==void 0&&(ie=W.ref,me=q.current),W.key!==void 0&&(Ce=""+W.key),I.type&&I.type.defaultProps)var Ae=I.type.defaultProps;for(Le in W)U.call(W,Le)&&!ne.hasOwnProperty(Le)&&(ge[Le]=W[Le]===void 0&&Ae!==void 0?Ae[Le]:W[Le])}var Le=arguments.length-2;if(Le===1)ge.children=ce;else if(1<Le){Ae=Array(Le);for(var ct=0;ct<Le;ct++)Ae[ct]=arguments[ct+2];ge.children=Ae}return{$$typeof:t,type:I.type,key:Ce,ref:ie,props:ge,_owner:me}},Pe.createContext=function(I){return I={$$typeof:u,_currentValue:I,_currentValue2:I,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},I.Provider={$$typeof:c,_context:I},I.Consumer=I},Pe.createElement=D,Pe.createFactory=function(I){var W=D.bind(null,I);return W.type=I,W},Pe.createRef=function(){return{current:null}},Pe.forwardRef=function(I){return{$$typeof:h,render:I}},Pe.isValidElement=G,Pe.lazy=function(I){return{$$typeof:y,_payload:{_status:-1,_result:I},_init:ke}},Pe.memo=function(I,W){return{$$typeof:g,type:I,compare:W===void 0?null:W}},Pe.startTransition=function(I){var W=z.transition;z.transition={};try{I()}finally{z.transition=W}},Pe.unstable_act=Z,Pe.useCallback=function(I,W){return pe.current.useCallback(I,W)},Pe.useContext=function(I){return pe.current.useContext(I)},Pe.useDebugValue=function(){},Pe.useDeferredValue=function(I){return pe.current.useDeferredValue(I)},Pe.useEffect=function(I,W){return pe.current.useEffect(I,W)},Pe.useId=function(){return pe.current.useId()},Pe.useImperativeHandle=function(I,W,ce){return pe.current.useImperativeHandle(I,W,ce)},Pe.useInsertionEffect=function(I,W){return pe.current.useInsertionEffect(I,W)},Pe.useLayoutEffect=function(I,W){return pe.current.useLayoutEffect(I,W)},Pe.useMemo=function(I,W){return pe.current.useMemo(I,W)},Pe.useReducer=function(I,W,ce){return pe.current.useReducer(I,W,ce)},Pe.useRef=function(I){return pe.current.useRef(I)},Pe.useState=function(I){return pe.current.useState(I)},Pe.useSyncExternalStore=function(I,W,ce){return pe.current.useSyncExternalStore(I,W,ce)},Pe.useTransition=function(){return pe.current.useTransition()},Pe.version="18.3.1",Pe}var oy;function lf(){return oy||(oy=1,Ld.exports=pk()),Ld.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 ay;function mk(){if(ay)return Uo;ay=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,p,g){var y,v={},b=null,S=null;g!==void 0&&(b=""+g),p.key!==void 0&&(b=""+p.key),p.ref!==void 0&&(S=p.ref);for(y in p)i.call(p,y)&&!c.hasOwnProperty(y)&&(v[y]=p[y]);if(h&&h.defaultProps)for(y in p=h.defaultProps,p)v[y]===void 0&&(v[y]=p[y]);return{$$typeof:e,type:h,key:b,ref:S,props:v,_owner:o.current}}return Uo.Fragment=n,Uo.jsx=u,Uo.jsxs=u,Uo}var ly;function gk(){return ly||(ly=1,Od.exports=mk()),Od.exports}var l=gk(),A=lf();const yk=n0(A),vk=fk({__proto__:null,default:yk},[A]);var Hl={},Id={exports:{}},Yt={},Bd={exports:{}},Dd={};/**
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 cy;function xk(){return cy||(cy=1,(function(t){function e(z,he){var Z=z.length;z.push(he);e:for(;0<Z;){var I=Z-1>>>1,W=z[I];if(0<o(W,he))z[I]=he,z[Z]=W,Z=I;else break e}}function n(z){return z.length===0?null:z[0]}function i(z){if(z.length===0)return null;var he=z[0],Z=z.pop();if(Z!==he){z[0]=Z;e:for(var I=0,W=z.length,ce=W>>>1;I<ce;){var ge=2*(I+1)-1,Ce=z[ge],ie=ge+1,me=z[ie];if(0>o(Ce,Z))ie<W&&0>o(me,Ce)?(z[I]=me,z[ie]=Z,I=ie):(z[I]=Ce,z[ge]=Z,I=ge);else if(ie<W&&0>o(me,Z))z[I]=me,z[ie]=Z,I=ie;else break e}}return he}function o(z,he){var Z=z.sortIndex-he.sortIndex;return Z!==0?Z:z.id-he.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 p=[],g=[],y=1,v=null,b=3,S=!1,E=!1,N=!1,j=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,P=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function T(z){for(var he=n(g);he!==null;){if(he.callback===null)i(g);else if(he.startTime<=z)i(g),he.sortIndex=he.expirationTime,e(p,he);else break;he=n(g)}}function O(z){if(N=!1,T(z),!E)if(n(p)!==null)E=!0,ke(U);else{var he=n(g);he!==null&&pe(O,he.startTime-z)}}function U(z,he){E=!1,N&&(N=!1,w(D),D=-1),S=!0;var Z=b;try{for(T(he),v=n(p);v!==null&&(!(v.expirationTime>he)||z&&!Q());){var I=v.callback;if(typeof I=="function"){v.callback=null,b=v.priorityLevel;var W=I(v.expirationTime<=he);he=t.unstable_now(),typeof W=="function"?v.callback=W:v===n(p)&&i(p),T(he)}else i(p);v=n(p)}if(v!==null)var ce=!0;else{var ge=n(g);ge!==null&&pe(O,ge.startTime-he),ce=!1}return ce}finally{v=null,b=Z,S=!1}}var q=!1,ne=null,D=-1,H=5,G=-1;function Q(){return!(t.unstable_now()-G<H)}function $(){if(ne!==null){var z=t.unstable_now();G=z;var he=!0;try{he=ne(!0,z)}finally{he?de():(q=!1,ne=null)}}else q=!1}var de;if(typeof P=="function")de=function(){P($)};else if(typeof MessageChannel<"u"){var Ne=new MessageChannel,ye=Ne.port2;Ne.port1.onmessage=$,de=function(){ye.postMessage(null)}}else de=function(){j($,0)};function ke(z){ne=z,q||(q=!0,de())}function pe(z,he){D=j(function(){z(t.unstable_now())},he)}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(){E||S||(E=!0,ke(U))},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 b},t.unstable_getFirstCallbackNode=function(){return n(p)},t.unstable_next=function(z){switch(b){case 1:case 2:case 3:var he=3;break;default:he=b}var Z=b;b=he;try{return z()}finally{b=Z}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(z,he){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var Z=b;b=z;try{return he()}finally{b=Z}},t.unstable_scheduleCallback=function(z,he,Z){var I=t.unstable_now();switch(typeof Z=="object"&&Z!==null?(Z=Z.delay,Z=typeof Z=="number"&&0<Z?I+Z:I):Z=I,z){case 1:var W=-1;break;case 2:W=250;break;case 5:W=1073741823;break;case 4:W=1e4;break;default:W=5e3}return W=Z+W,z={id:y++,callback:he,priorityLevel:z,startTime:Z,expirationTime:W,sortIndex:-1},Z>I?(z.sortIndex=Z,e(g,z),n(p)===null&&z===n(g)&&(N?(w(D),D=-1):N=!0,pe(O,Z-I))):(z.sortIndex=W,e(p,z),E||S||(E=!0,ke(U))),z},t.unstable_shouldYield=Q,t.unstable_wrapCallback=function(z){var he=b;return function(){var Z=b;b=he;try{return z.apply(this,arguments)}finally{b=Z}}}})(Dd)),Dd}var uy;function bk(){return uy||(uy=1,Bd.exports=xk()),Bd.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 dy;function wk(){if(dy)return Yt;dy=1;var t=lf(),e=bk();function n(r){for(var s="https://reactjs.org/docs/error-decoder.html?invariant="+r,a=1;a<arguments.length;a++)s+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+r+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,o={};function 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"),p=Object.prototype.hasOwnProperty,g=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,y={},v={};function b(r){return p.call(v,r)?!0:p.call(y,r)?!1:g.test(r)?v[r]=!0:(y[r]=!0,!1)}function S(r,s,a,d){if(a!==null&&a.type===0)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":return d?!1:a!==null?!a.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function E(r,s,a,d){if(s===null||typeof s>"u"||S(r,s,a,d))return!0;
vendor: 45,179 bytes, lines 33-38
33if(d)return!1;if(a!==null)switch(a.type){case 3:return!s;case 4:return s===!1;case 5:return isNaN(s);case 6:return isNaN(s)||1>s}return!1}function N(r,s,a,d,f,m,x){this.acceptsBooleans=s===2||s===3||s===4,this.attributeName=d,this.attributeNamespace=f,this.mustUseProperty=a,this.propertyName=r,this.type=s,this.sanitizeURL=m,this.removeEmptyString=x}var j={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){j[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];j[s]=new N(s,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){j[r]=new N(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){j[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){j[r]=new N(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){j[r]=new N(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){j[r]=new N(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){j[r]=new N(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){j[r]=new N(r,5,!1,r.toLowerCase(),null,!1,!1)});var w=/[\-:]([a-z])/g;function P(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(w,P);j[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(w,P);j[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(w,P);j[s]=new N(s,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){j[r]=new N(r,1,!1,r.toLowerCase(),null,!1,!1)}),j.xlinkHref=new N("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){j[r]=new N(r,1,!1,r.toLowerCase(),null,!0,!0)});function T(r,s,a,d){var f=j.hasOwnProperty(s)?j[s]:null;(f!==null?f.type!==0:d||!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(E(s,a,f,d)&&(a=null),d||f===null?b(s)&&(a===null?r.removeAttribute(s):r.setAttribute(s,""+a)):f.mustUseProperty?r[f.propertyName]=a===null?f.type===3?!1:"":a:(s=f.attributeName,d=f.attributeNamespace,a===null?r.removeAttribute(s):(f=f.type,a=f===3||f===4&&a===!0?"":""+a,d?r.setAttributeNS(d,s,a):r.setAttribute(s,a))))}var O=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,U=Symbol.for("react.element"),q=Symbol.for("react.portal"),ne=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),H=Symbol.for("react.profiler"),G=Symbol.for("react.provider"),Q=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),de=Symbol.for("react.suspense"),Ne=Symbol.for("react.suspense_list"),ye=Symbol.for("react.memo"),ke=Symbol.for("react.lazy"),pe=Symbol.for("react.offscreen"),z=Symbol.iterator;function he(r){return r===null||typeof r!="object"?null:(r=z&&r[z]||r["@@iterator"],typeof r=="function"?r:null)}var Z=Object.assign,I;function W(r){if(I===void 0)try{throw Error()}catch(a){var s=a.stack.trim().match(/\n( *(at )?)/);I=s&&s[1]||""}return`
34`+I+r}var ce=!1;function ge(r,s){if(!r||ce)return"";ce=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(s)if(s=function(){throw Error()},Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(V){var d=V}Reflect.construct(r,[],s)}else{try{s.call()}catch(V){d=V}r.call(s.prototype)}else{try{throw Error()}catch(V){d=V}r()}}catch(V){if(V&&d&&typeof V.stack=="string"){for(var f=V.stack.split(`
35`),m=d.stack.split(`
36`),x=f.length-1,C=m.length-1;1<=x&&0<=C&&f[x]!==m[C];)C--;for(;1<=x&&0<=C;x--,C--)if(f[x]!==m[C]){if(x!==1||C!==1)do if(x--,C--,0>C||f[x]!==m[C]){var _=`
37`+f[x].replace(" at new "," at ");return r.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",r.displayName)),_}while(1<=x&&0<=C);break}}}finally{ce=!1,Error.prepareStackTrace=a}return(r=r?r.displayName||r.name:"")?W(r):""}function Ce(r){switch(r.tag){case 5:return W(r.type);case 16:return W("Lazy");case 13:return W("Suspense");case 19:return W("SuspenseList");case 0:case 2:case 15:return r=ge(r.type,!1),r;case 11:return r=ge(r.type.render,!1),r;case 1:return r=ge(r.type,!0),r;default:return""}}function ie(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 ne:return"Fragment";case q:return"Portal";case H:return"Profiler";case D:return"StrictMode";case de:return"Suspense";case Ne:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case Q:return(r.displayName||"Context")+".Consumer";case G:return(r._context.displayName||"Context")+".Provider";case $:var s=r.render;return r=r.displayName,r||(r=s.displayName||s.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case ye:return s=r.displayName||null,s!==null?s:ie(r.type)||"Memo";case ke:s=r._payload,r=r._init;try{return ie(r(s))}catch{}}return null}function me(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 ie(s);case 8:return s===D?"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 Ae(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function Le(r){var s=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function ct(r){var s=Le(r)?"checked":"value",a=Object.getOwnPropertyDescriptor(r.constructor.prototype,s),d=""+r[s];if(!r.hasOwnProperty(s)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var f=a.get,m=a.set;return Object.defineProperty(r,s,{configurable:!0,get:function(){return f.call(this)},set:function(x){d=""+x,m.call(this,x)}}),Object.defineProperty(r,s,{enumerable:a.enumerable}),{getValue:function(){return d},setValue:function(x){d=""+x},stopTracking:function(){r._valueTracker=null,delete r[s]}}}}function vn(r){r._valueTracker||(r._valueTracker=ct(r))}function wt(r){if(!r)return!1;var s=r._valueTracker;if(!s)return!0;var a=s.getValue(),d="";return r&&(d=Le(r)?r.checked?"true":"false":r.value),r=d,r!==a?(s.setValue(r),!0):!1}function ts(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 ns(r,s){var a=s.checked;return Z({},s,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??r._wrapperState.initialChecked})}function on(r,s){var a=s.defaultValue==null?"":s.defaultValue,d=s.checked!=null?s.checked:s.defaultChecked;a=Ae(s.value!=null?s.value:a),r._wrapperState={initialChecked:d,initialValue:a,controlled:s.type==="checkbox"||s.type==="radio"?s.checked!=null:s.value!=null}}function Se(r,s){s=s.checked,s!=null&&T(r,"checked",s,!1)}function kt(r,s){Se(r,s);var a=Ae(s.value),d=s.type;if(a!=null)d==="number"?(a===0&&r.value===""||r.value!=a)&&(r.value=""+a):r.value!==""+a&&(r.value=""+a);else if(d==="submit"||d==="reset"){r.removeAttribute("value");return}s.hasOwnProperty("value")?bn(r,s.type,a):s.hasOwnProperty("defaultValue")&&bn(r,s.type,Ae(s.defaultValue)),s.checked==null&&s.defaultChecked!=null&&(r.defaultChecked=!!s.defaultChecked)}function xn(r,s,a){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,a||s===r.value||(r.value=s),r.defaultValue=s}a=r.name,a!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,a!==""&&(r.name=a)}function bn(r,s,a){(s!=="number"||ts(r.ownerDocument)!==r)&&(a==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+a&&(r.defaultValue=""+a))}var fr=Array.isArray;function pr(r,s,a,d){if(r=r.options,s){s={};for(var f=0;f<a.length;f++)s["$"+a[f]]=!0;for(a=0;a<r.length;a++)f=s.hasOwnProperty("$"+r[a].value),r[a].selected!==f&&(r[a].selected=f),f&&d&&(r[a].defaultSelected=!0)}else{for(a=""+Ae(a),s=null,f=0;f<r.length;f++){if(r[f].value===a){r[f].selected=!0,d&&(r[f].defaultSelected=!0);return}s!==null||r[f].disabled||(s=r[f])}s!==null&&(s.selected=!0)}}function Kn(r,s){if(s.dangerouslySetInnerHTML!=null)throw Error(n(91));return Z({},s,{value:void 0,defaultValue:void 0,children:""+r._wrapperState.initialValue})}function pp(r,s){var a=s.value;if(a==null){if(a=s.children,s=s.defaultValue,a!=null){if(s!=null)throw Error(n(92));if(fr(a)){if(1<a.length)throw Error(n(93));a=a[0]}s=a}s==null&&(s=""),a=s}r._wrapperState={initialValue:Ae(a)}}function mp(r,s){var a=Ae(s.value),d=Ae(s.defaultValue);a!=null&&(a=""+a,a!==r.value&&(r.value=a),s.defaultValue==null&&r.defaultValue!==a&&(r.defaultValue=a)),d!=null&&(r.defaultValue=""+d)}function gp(r){var s=r.textContent;s===r._wrapperState.initialValue&&s!==""&&s!==null&&(r.value=s)}function yp(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 $c(r,s){return r==null||r==="http://www.w3.org/1999/xhtml"?yp(s):r==="http://www.w3.org/2000/svg"&&s==="foreignObject"?"http://www.w3.org/1999/xhtml":r}var Da,vp=(function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(s,a,d,f){MSApp.execUnsafeLocalFunction(function(){return r(s,a,d,f)})}:r})(function(r,s){if(r.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in r)r.innerHTML=s;else{for(Da=Da||document.createElement("div"),Da.innerHTML="<svg>"+s.valueOf().toString()+"</svg>",s=Da.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;s.firstChild;)r.appendChild(s.firstChild)}});function no(r,s){if(s){var a=r.firstChild;if(a&&a===r.lastChild&&a.nodeType===3){a.nodeValue=s;return}}r.textContent=s}var ro={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},y1=["Webkit","ms","Moz","O"];Object.keys(ro).forEach(function(r){y1.forEach(function(s){s=s+r.charAt(0).toUpperCase()+r.substring(1),ro[s]=ro[r]})});function xp(r,s,a){return s==null||typeof s=="boolean"||s===""?"":a||typeof s!="number"||s===0||ro.hasOwnProperty(r)&&ro[r]?(""+s).trim():s+"px"}function bp(r,s){r=r.style;for(var a in s)if(s.hasOwnProperty(a)){var d=a.indexOf("--")===0,f=xp(a,s[a],d);a==="float"&&(a="cssFloat"),d?r.setProperty(a,f):r[a]=f}}var v1=Z({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 Wc(r,s){if(s){if(v1[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 qc(r,s){if(r.indexOf("-")===-1)return typeof s.is=="string";switch(r){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Hc=null;function Yc(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Kc=null,Hs=null,Ys=null;function wp(r){if(r=Co(r)){if(typeof Kc!="function")throw Error(n(280));var s=r.stateNode;s&&(s=ol(s),Kc(r.stateNode,r.type,s))}}function kp(r){Hs?Ys?Ys.push(r):Ys=[r]:Hs=r}function jp(){if(Hs){var r=Hs,s=Ys;if(Ys=Hs=null,wp(r),s)for(r=0;r<s.length;r++)wp(s[r])}}function Sp(r,s){return r(s)}function Np(){}var Gc=!1;function Cp(r,s,a){if(Gc)return r(s,a);Gc=!0;try{return Sp(r,s,a)}finally{Gc=!1,(Hs!==null||Ys!==null)&&(Np(),jp())}}function so(r,s){var a=r.stateNode;if(a===null)return null;var d=ol(a);if(d===null)return null;a=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(a&&typeof a!="function")throw Error(n(231,s,typeof a));return a}var Qc=!1;if(h)try{var io={};Object.defineProperty(io,"passive",{get:function(){Qc=!0}}),window.addEventListener("test",io,io),window.removeEventListener("test",io,io)}catch{Qc=!1}function x1(r,s,a,d,f,m,x,C,_){var V=Array.prototype.slice.call(arguments,3);try{s.apply(a,V)}catch(K){this.onError(K)}}var oo=!1,Fa=null,Ma=!1,Xc=null,b1={onError:function(r){oo=!0,Fa=r}};function w1(r,s,a,d,f,m,x,C,_){oo=!1,Fa=null,x1.apply(b1,arguments)}function k1(r,s,a,d,f,m,x,C,_){if(w1.apply(this,arguments),oo){if(oo){var V=Fa;oo=!1,Fa=null}else throw Error(n(198));Ma||(Ma=!0,Xc=V)}}function rs(r){var s=r,a=r;if(r.alternate)for(;s.return;)s=s.return;else{r=s;do s=r,(s.flags&4098)!==0&&(a=s.return),r=s.return;while(r)}return s.tag===3?a:null}function Ep(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 Tp(r){if(rs(r)!==r)throw Error(n(188))}function j1(r){var s=r.alternate;if(!s){if(s=rs(r),s===null)throw Error(n(188));return s!==r?null:r}for(var a=r,d=s;;){var f=a.return;if(f===null)break;var m=f.alternate;if(m===null){if(d=f.return,d!==null){a=d;continue}break}if(f.child===m.child){for(m=f.child;m;){if(m===a)return Tp(f),r;if(m===d)return Tp(f),s;m=m.sibling}throw Error(n(188))}if(a.return!==d.return)a=f,d=m;else{for(var x=!1,C=f.child;C;){if(C===a){x=!0,a=f,d=m;break}if(C===d){x=!0,d=f,a=m;break}C=C.sibling}if(!x){for(C=m.child;C;){if(C===a){x=!0,a=m,d=f;break}if(C===d){x=!0,d=m,a=f;break}C=C.sibling}if(!x)throw Error(n(189))}}if(a.alternate!==d)throw Error(n(190))}if(a.tag!==3)throw Error(n(188));return a.stateNode.current===a?r:s}function Pp(r){return r=j1(r),r!==null?Ap(r):null}function Ap(r){if(r.tag===5||r.tag===6)return r;for(r=r.child;r!==null;){var s=Ap(r);if(s!==null)return s;r=r.sibling}return null}var _p=e.unstable_scheduleCallback,Rp=e.unstable_cancelCallback,S1=e.unstable_shouldYield,N1=e.unstable_requestPaint,it=e.unstable_now,C1=e.unstable_getCurrentPriorityLevel,Jc=e.unstable_ImmediatePriority,Op=e.unstable_UserBlockingPriority,Va=e.unstable_NormalPriority,E1=e.unstable_LowPriority,Lp=e.unstable_IdlePriority,Ua=null,In=null;function T1(r){if(In&&typeof In.onCommitFiberRoot=="function")try{In.onCommitFiberRoot(Ua,r,void 0,(r.current.flags&128)===128)}catch{}}var wn=Math.clz32?Math.clz32:_1,P1=Math.log,A1=Math.LN2;function _1(r){return r>>>=0,r===0?32:31-(P1(r)/A1|0)|0}var za=64,$a=4194304;function ao(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 Wa(r,s){var a=r.pendingLanes;if(a===0)return 0;var d=0,f=r.suspendedLanes,m=r.pingedLanes,x=a&268435455;if(x!==0){var C=x&~f;C!==0?d=ao(C):(m&=x,m!==0&&(d=ao(m)))}else x=a&~f,x!==0?d=ao(x):m!==0&&(d=ao(m));if(d===0)return 0;if(s!==0&&s!==d&&(s&f)===0&&(f=d&-d,m=s&-s,f>=m||f===16&&(m&4194240)!==0))return s;if((d&4)!==0&&(d|=a&16),s=r.entangledLanes,s!==0)for(r=r.entanglements,s&=d;0<s;)a=31-wn(s),f=1<<a,d|=r[a],s&=~f;return d}function R1(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 O1(r,s){for(var a=r.suspendedLanes,d=r.pingedLanes,f=r.expirationTimes,m=r.pendingLanes;0<m;){var x=31-wn(m),C=1<<x,_=f[x];_===-1?((C&a)===0||(C&d)!==0)&&(f[x]=R1(C,s)):_<=s&&(r.expiredLanes|=C),m&=~C}}function Zc(r){return r=r.pendingLanes&-1073741825,r!==0?r:r&1073741824?1073741824:0}function Ip(){var r=za;return za<<=1,(za&4194240)===0&&(za=64),r}function eu(r){for(var s=[],a=0;31>a;a++)s.push(r);return s}function lo(r,s,a){r.pendingLanes|=s,s!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,s=31-wn(s),r[s]=a}function L1(r,s){var a=r.pendingLanes&~s;r.pendingLanes=s,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=s,r.mutableReadLanes&=s,r.entangledLanes&=s,s=r.entanglements;var d=r.eventTimes;for(r=r.expirationTimes;0<a;){var f=31-wn(a),m=1<<f;s[f]=0,d[f]=-1,r[f]=-1,a&=~m}}function tu(r,s){var a=r.entangledLanes|=s;for(r=r.entanglements;a;){var d=31-wn(a),f=1<<d;f&s|r[d]&s&&(r[d]|=s),a&=~f}}var Me=0;function Bp(r){return r&=-r,1<r?4<r?(r&268435455)!==0?16:536870912:4:1}var Dp,nu,Fp,Mp,Vp,ru=!1,qa=[],mr=null,gr=null,yr=null,co=new Map,uo=new Map,vr=[],I1="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 Up(r,s){switch(r){case"focusin":case"focusout":mr=null;break;case"dragenter":case"dragleave":gr=null;break;case"mouseover":case"mouseout":yr=null;break;case"pointerover":case"pointerout":co.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":uo.delete(s.pointerId)}}function ho(r,s,a,d,f,m){return r===null||r.nativeEvent!==m?(r={blockedOn:s,domEventName:a,eventSystemFlags:d,nativeEvent:m,targetContainers:[f]},s!==null&&(s=Co(s),s!==null&&nu(s)),r):(r.eventSystemFlags|=d,s=r.targetContainers,f!==null&&s.indexOf(f)===-1&&s.push(f),r)}function B1(r,s,a,d,f){switch(s){case"focusin":return mr=ho(mr,r,s,a,d,f),!0;case"dragenter":return gr=ho(gr,r,s,a,d,f),!0;case"mouseover":return yr=ho(yr,r,s,a,d,f),!0;case"pointerover":var m=f.pointerId;return co.set(m,ho(co.get(m)||null,r,s,a,d,f)),!0;case"gotpointercapture":return m=f.pointerId,uo.set(m,ho(uo.get(m)||null,r,s,a,d,f)),!0}return!1}function zp(r){var s=ss(r.target);if(s!==null){var a=rs(s);if(a!==null){if(s=a.tag,s===13){if(s=Ep(a),s!==null){r.blockedOn=s,Vp(r.priority,function(){Fp(a)});return}}else if(s===3&&a.stateNode.current.memoizedState.isDehydrated){r.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}r.blockedOn=null}function Ha(r){if(r.blockedOn!==null)return!1;for(var s=r.targetContainers;0<s.length;){var a=iu(r.domEventName,r.eventSystemFlags,s[0],r.nativeEvent);if(a===null){a=r.nativeEvent;var d=new a.constructor(a.type,a);Hc=d,a.target.dispatchEvent(d),Hc=null}else return s=Co(a),s!==null&&nu(s),r.blockedOn=a,!1;s.shift()}return!0}function $p(r,s,a){Ha(r)&&a.delete(s)}function D1(){ru=!1,mr!==null&&Ha(mr)&&(mr=null),gr!==null&&Ha(gr)&&(gr=null),yr!==null&&Ha(yr)&&(yr=null),co.forEach($p),uo.forEach($p)}function fo(r,s){r.blockedOn===s&&(r.blockedOn=null,ru||(ru=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,D1)))}function po(r){function s(f){return fo(f,r)}if(0<qa.length){fo(qa[0],r);for(var a=1;a<qa.length;a++){var d=qa[a];d.blockedOn===r&&(d.blockedOn=null)}}for(mr!==null&&fo(mr,r),gr!==null&&fo(gr,r),yr!==null&&fo(yr,r),co.forEach(s),uo.forEach(s),a=0;a<vr.length;a++)d=vr[a],d.blockedOn===r&&(d.blockedOn=null);for(;0<vr.length&&(a=vr[0],a.blockedOn===null);)zp(a),a.blockedOn===null&&vr.shift()}var Ks=O.ReactCurrentBatchConfig,Ya=!0;function F1(r,s,a,d){var f=Me,m=Ks.transition;Ks.transition=null;try{Me=1,su(r,s,a,d)}finally{Me=f,Ks.transition=m}}function M1(r,s,a,d){var f=Me,m=Ks.transition;Ks.transition=null;try{Me=4,su(r,s,a,d)}finally{Me=f,Ks.transition=m}}function su(r,s,a,d){if(Ya){var f=iu(r,s,a,d);if(f===null)ku(r,s,d,Ka,a),Up(r,d);else if(B1(f,r,s,a,d))d.stopPropagation();else if(Up(r,d),s&4&&-1<I1.indexOf(r)){for(;f!==null;){var m=Co(f);if(m!==null&&Dp(m),m=iu(r,s,a,d),m===null&&ku(r,s,d,Ka,a),m===f)break;f=m}f!==null&&d.stopPropagation()}else ku(r,s,d,null,a)}}var Ka=null;function iu(r,s,a,d){if(Ka=null,r=Yc(d),r=ss(r),r!==null)if(s=rs(r),s===null)r=null;else if(a=s.tag,a===13){if(r=Ep(s),r!==null)return r;r=null}else if(a===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;r=null}else s!==r&&(r=null);return Ka=r,null}function Wp(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(C1()){case Jc:return 1;case Op:return 4;case Va:case E1:return 16;case Lp:return 536870912;default:return 16}default:return 16}}var xr=null,ou=null,Ga=null;function qp(){if(Ga)return Ga;var r,s=ou,a=s.length,d,f="value"in xr?xr.value:xr.textContent,m=f.length;for(r=0;r<a&&s[r]===f[r];r++);var x=a-r;for(d=1;d<=x&&s[a-d]===f[m-d];d++);return Ga=f.slice(r,1<d?1-d:void 0)}function Qa(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 Xa(){return!0}function Hp(){return!1}function Jt(r){function s(a,d,f,m,x){this._reactName=a,this._targetInst=f,this.type=d,this.nativeEvent=m,this.target=x,this.currentTarget=null;for(var C in r)r.hasOwnProperty(C)&&(a=r[C],this[C]=a?a(m):m[C]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?Xa:Hp,this.isPropagationStopped=Hp,this}return Z(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Xa)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Xa)},persist:function(){},isPersistent:Xa}),s}var Gs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},au=Jt(Gs),mo=Z({},Gs,{view:0,detail:0}),V1=Jt(mo),lu,cu,go,Ja=Z({},mo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:du,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!==go&&(go&&r.type==="mousemove"?(lu=r.screenX-go.screenX,cu=r.screenY-go.screenY):cu=lu=0,go=r),lu)},movementY:function(r){return"movementY"in r?r.movementY:cu}}),Yp=Jt(Ja),U1=Z({},Ja,{dataTransfer:0}),z1=Jt(U1),$1=Z({},mo,{relatedTarget:0}),uu=Jt($1),W1=Z({},Gs,{animationName:0,elapsedTime:0,pseudoElement:0}),q1=Jt(W1),H1=Z({},Gs,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),Y1=Jt(H1),K1=Z({},Gs,{data:0}),Kp=Jt(K1),G1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Q1={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"},X1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function J1(r){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(r):(r=X1[r])?!!s[r]:!1}function du(){return J1}var Z1=Z({},mo,{key:function(r){if(r.key){var s=G1[r.key]||r.key;if(s!=="Unidentified")return s}return r.type==="keypress"?(r=Qa(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?Q1[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:du,charCode:function(r){return r.type==="keypress"?Qa(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?Qa(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),e2=Jt(Z1),t2=Z({},Ja,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Gp=Jt(t2),n2=Z({},mo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:du}),r2=Jt(n2),s2=Z({},Gs,{propertyName:0,elapsedTime:0,pseudoElement:0}),i2=Jt(s2),o2=Z({},Ja,{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}),a2=Jt(o2),l2=[9,13,27,32],hu=h&&"CompositionEvent"in window,yo=null;h&&"documentMode"in document&&(yo=document.documentMode);var c2=h&&"TextEvent"in window&&!yo,Qp=h&&(!hu||yo&&8<yo&&11>=yo),Xp=" ",Jp=!1;function Zp(r,s){switch(r){case"keyup":return l2.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function em(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Qs=!1;function u2(r,s){switch(r){case"compositionend":return em(s);case"keypress":return s.which!==32?null:(Jp=!0,Xp);case"textInput":return r=s.data,r===Xp&&Jp?null:r;default:return null}}function d2(r,s){if(Qs)return r==="compositionend"||!hu&&Zp(r,s)?(r=qp(),Ga=ou=xr=null,Qs=!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 h2={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 tm(r){var s=r&&r.nodeName&&r.nodeName.toLowerCase();return s==="input"?!!h2[r.type]:s==="textarea"}function nm(r,s,a,d){kp(d),s=rl(s,"onChange"),0<s.length&&(a=new au("onChange","change",null,a,d),r.push({event:a,listeners:s}))}var vo=null,xo=null;function f2(r){bm(r,0)}function Za(r){var s=ti(r);if(wt(s))return r}function p2(r,s){if(r==="change")return s}var rm=!1;if(h){var fu;if(h){var pu="oninput"in document;if(!pu){var sm=document.createElement("div");sm.setAttribute("oninput","return;"),pu=typeof sm.oninput=="function"}fu=pu}else fu=!1;rm=fu&&(!document.documentMode||9<document.documentMode)}function im(){vo&&(vo.detachEvent("onpropertychange",om),xo=vo=null)}function om(r){if(r.propertyName==="value"&&Za(xo)){var s=[];nm(s,xo,r,Yc(r)),Cp(f2,s)}}function m2(r,s,a){r==="focusin"?(im(),vo=s,xo=a,vo.attachEvent("onpropertychange",om)):r==="focusout"&&im()}function g2(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return Za(xo)}function y2(r,s){if(r==="click")return Za(s)}function v2(r,s){if(r==="input"||r==="change")return Za(s)}function x2(r,s){return r===s&&(r!==0||1/r===1/s)||r!==r&&s!==s}var kn=typeof Object.is=="function"?Object.is:x2;function bo(r,s){if(kn(r,s))return!0;if(typeof r!="object"||r===null||typeof s!="object"||s===null)return!1;var a=Object.keys(r),d=Object.keys(s);if(a.length!==d.length)return!1;for(d=0;d<a.length;d++){var f=a[d];if(!p.call(s,f)||!kn(r[f],s[f]))return!1}return!0}function am(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function lm(r,s){var a=am(r);r=0;for(var d;a;){if(a.nodeType===3){if(d=r+a.textContent.length,r<=s&&d>=s)return{node:a,offset:s-r};r=d}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=am(a)}}function cm(r,s){return r&&s?r===s?!0:r&&r.nodeType===3?!1:s&&s.nodeType===3?cm(r,s.parentNode):"contains"in r?r.contains(s):r.compareDocumentPosition?!!(r.compareDocumentPosition(s)&16):!1:!1}function um(){for(var r=window,s=ts();s instanceof r.HTMLIFrameElement;){try{var a=typeof s.contentWindow.location.href=="string"}catch{a=!1}if(a)r=s.contentWindow;else break;s=ts(r.document)}return s}function mu(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 b2(r){var s=um(),a=r.focusedElem,d=r.selectionRange;if(s!==a&&a&&a.ownerDocument&&cm(a.ownerDocument.documentElement,a)){if(d!==null&&mu(a)){if(s=d.start,r=d.end,r===void 0&&(r=s),"selectionStart"in a)a.selectionStart=s,a.selectionEnd=Math.min(r,a.value.length);else if(r=(s=a.ownerDocument||document)&&s.defaultView||window,r.getSelection){r=r.getSelection();var f=a.textContent.length,m=Math.min(d.start,f);d=d.end===void 0?m:Math.min(d.end,f),!r.extend&&m>d&&(f=d,d=m,m=f),f=lm(a,m);var x=lm(a,d);f&&x&&(r.rangeCount!==1||r.anchorNode!==f.node||r.anchorOffset!==f.offset||r.focusNode!==x.node||r.focusOffset!==x.offset)&&(s=s.createRange(),s.setStart(f.node,f.offset),r.removeAllRanges(),m>d?(r.addRange(s),r.extend(x.node,x.offset)):(s.setEnd(x.node,x.offset),r.addRange(s)))}}for(s=[],r=a;r=r.parentNode;)r.nodeType===1&&s.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof a.focus=="function"&&a.focus(),a=0;a<s.length;a++)r=s[a],r.element.scrollLeft=r.left,r.element.scrollTop=r.top}}var w2=h&&"documentMode"in document&&11>=document.documentMode,Xs=null,gu=null,wo=null,yu=!1;function dm(r,s,a){var d=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;yu||Xs==null||Xs!==ts(d)||(d=Xs,"selectionStart"in d&&mu(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}),wo&&bo(wo,d)||(wo=d,d=rl(gu,"onSelect"),0<d.length&&(s=new au("onSelect","select",null,s,a),r.push({event:s,listeners:d}),s.target=Xs)))}function el(r,s){var a={};return a[r.toLowerCase()]=s.toLowerCase(),a["Webkit"+r]="webkit"+s,a["Moz"+r]="moz"+s,a}var Js={animationend:el("Animation","AnimationEnd"),animationiteration:el("Animation","AnimationIteration"),animationstart:el("Animation","AnimationStart"),transitionend:el("Transition","TransitionEnd")},vu={},hm={};h&&(hm=document.createElement("div").style,"AnimationEvent"in window||(delete Js.animationend.animation,delete Js.animationiteration.animation,delete Js.animationstart.animation),"TransitionEvent"in window||delete Js.transitionend.transition);function tl(r){if(vu[r])return vu[r];if(!Js[r])return r;var s=Js[r],a;for(a in s)if(s.hasOwnProperty(a)&&a in hm)return vu[r]=s[a];return r}var fm=tl("animationend"),pm=tl("animationiteration"),mm=tl("animationstart"),gm=tl("transitionend"),ym=new Map,vm="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 br(r,s){ym.set(r,s),c(s,[r])}for(var xu=0;xu<vm.length;xu++){var bu=vm[xu],k2=bu.toLowerCase(),j2=bu[0].toUpperCase()+bu.slice(1);br(k2,"on"+j2)}br(fm,"onAnimationEnd"),br(pm,"onAnimationIteration"),br(mm,"onAnimationStart"),br("dblclick","onDoubleClick"),br("focusin","onFocus"),br("focusout","onBlur"),br(gm,"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 focusin 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 ko="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(" "),S2=new Set("cancel close invalid load scroll toggle".split(" ").concat(ko));function xm(r,s,a){var d=r.type||"unknown-event";r.currentTarget=a,k1(d,s,void 0,r),r.currentTarget=null}function bm(r,s){s=(s&4)!==0;for(var a=0;a<r.length;a++){var d=r[a],f=d.event;d=d.listeners;e:{var m=void 0;if(s)for(var x=d.length-1;0<=x;x--){var C=d[x],_=C.instance,V=C.currentTarget;if(C=C.listener,_!==m&&f.isPropagationStopped())break e;xm(f,C,V),m=_}else for(x=0;x<d.length;x++){if(C=d[x],_=C.instance,V=C.currentTarget,C=C.listener,_!==m&&f.isPropagationStopped())break e;xm(f,C,V),m=_}}}if(Ma)throw r=Xc,Ma=!1,Xc=null,r}function We(r,s){var a=s[Tu];a===void 0&&(a=s[Tu]=new Set);var d=r+"__bubble";a.has(d)||(wm(s,r,2,!1),a.add(d))}function wu(r,s,a){var d=0;s&&(d|=4),wm(a,r,d,s)}var nl="_reactListening"+Math.random().toString(36).slice(2);function jo(r){if(!r[nl]){r[nl]=!0,i.forEach(function(a){a!=="selectionchange"&&(S2.has(a)||wu(a,!1,r),wu(a,!0,r))});var s=r.nodeType===9?r:r.ownerDocument;s===null||s[nl]||(s[nl]=!0,wu("selectionchange",!1,s))}}function wm(r,s,a,d){switch(Wp(s)){case 1:var f=F1;break;case 4:f=M1;break;default:f=su}a=f.bind(null,s,a,r),f=void 0,!Qc||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(f=!0),d?f!==void 0?r.addEventListener(s,a,{capture:!0,passive:f}):r.addEventListener(s,a,!0):f!==void 0?r.addEventListener(s,a,{passive:f}):r.addEventListener(s,a,!1)}function ku(r,s,a,d,f){var m=d;if((s&1)===0&&(s&2)===0&&d!==null)e:for(;;){if(d===null)return;var x=d.tag;if(x===3||x===4){var C=d.stateNode.containerInfo;if(C===f||C.nodeType===8&&C.parentNode===f)break;if(x===4)for(x=d.return;x!==null;){var _=x.tag;if((_===3||_===4)&&(_=x.stateNode.containerInfo,_===f||_.nodeType===8&&_.parentNode===f))return;x=x.return}for(;C!==null;){if(x=ss(C),x===null)return;if(_=x.tag,_===5||_===6){d=m=x;continue e}C=C.parentNode}}d=d.return}Cp(function(){var V=m,K=Yc(a),X=[];e:{var Y=ym.get(r);if(Y!==void 0){var te=au,oe=r;switch(r){case"keypress":if(Qa(a)===0)break e;case"keydown":case"keyup":te=e2;break;case"focusin":oe="focus",te=uu;break;case"focusout":oe="blur",te=uu;break;case"beforeblur":case"afterblur":te=uu;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":te=Yp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":te=z1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":te=r2;break;case fm:case pm:case mm:te=q1;break;case gm:te=i2;break;case"scroll":te=V1;break;case"wheel":te=a2;break;case"copy":case"cut":case"paste":te=Y1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":te=Gp}var ue=(s&4)!==0,ot=!ue&&r==="scroll",F=ue?Y!==null?Y+"Capture":null:Y;ue=[];for(var L=V,M;L!==null;){M=L;var J=M.stateNode;if(M.tag===5&&J!==null&&(M=J,F!==null&&(J=so(L,F),J!=null&&ue.push(So(L,J,M)))),ot)break;L=L.return}0<ue.length&&(Y=new te(Y,oe,null,a,K),X.push({event:Y,listeners:ue}))}}if((s&7)===0){e:{if(Y=r==="mouseover"||r==="pointerover",te=r==="mouseout"||r==="pointerout",Y&&a!==Hc&&(oe=a.relatedTarget||a.fromElement)&&(ss(oe)||oe[Gn]))break e;if((te||Y)&&(Y=K.window===K?K:(Y=K.ownerDocument)?Y.defaultView||Y.parentWindow:window,te?(oe=a.relatedTarget||a.toElement,te=V,oe=oe?ss(oe):null,oe!==null&&(ot=rs(oe),oe!==ot||oe.tag!==5&&oe.tag!==6)&&(oe=null)):(te=null,oe=V),te!==oe)){if(ue=Yp,J="onMouseLeave",F="onMouseEnter",L="mouse",(r==="pointerout"||r==="pointerover")&&(ue=Gp,J="onPointerLeave",F="onPointerEnter",L="pointer"),ot=te==null?Y:ti(te),M=oe==null?Y:ti(oe),Y=new ue(J,L+"leave",te,a,K),Y.target=ot,Y.relatedTarget=M,J=null,ss(K)===V&&(ue=new ue(F,L+"enter",oe,a,K),ue.target=M,ue.relatedTarget=ot,J=ue),ot=J,te&&oe)t:{for(ue=te,F=oe,L=0,M=ue;M;M=Zs(M))L++;for(M=0,J=F;J;J=Zs(J))M++;for(;0<L-M;)ue=Zs(ue),L--;for(;0<M-L;)F=Zs(F),M--;for(;L--;){if(ue===F||F!==null&&ue===F.alternate)break t;ue=Zs(ue),F=Zs(F)}ue=null}else ue=null;te!==null&&km(X,Y,te,ue,!1),oe!==null&&ot!==null&&km(X,ot,oe,ue,!0)}}e:{if(Y=V?ti(V):window,te=Y.nodeName&&Y.nodeName.toLowerCase(),te==="select"||te==="input"&&Y.type==="file")var fe=p2;else if(tm(Y))if(rm)fe=v2;else{fe=g2;var ve=m2}else(te=Y.nodeName)&&te.toLowerCase()==="input"&&(Y.type==="checkbox"||Y.type==="radio")&&(fe=y2);if(fe&&(fe=fe(r,V))){nm(X,fe,a,K);break e}ve&&ve(r,Y,V),r==="focusout"&&(ve=Y._wrapperState)&&ve.controlled&&Y.type==="number"&&bn(Y,"number",Y.value)}switch(ve=V?ti(V):window,r){case"focusin":(tm(ve)||ve.contentEditable==="true")&&(Xs=ve,gu=V,wo=null);break;case"focusout":wo=gu=Xs=null;break;case"mousedown":yu=!0;break;case"contextmenu":case"mouseup":case"dragend":yu=!1,dm(X,a,K);break;case"selectionchange":if(w2)break;case"keydown":case"keyup":dm(X,a,K)}var xe;if(hu)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 Qs?Zp(r,a)&&(je="onCompositionEnd"):r==="keydown"&&a.keyCode===229&&(je="onCompositionStart");je&&(Qp&&a.locale!=="ko"&&(Qs||je!=="onCompositionStart"?je==="onCompositionEnd"&&Qs&&(xe=qp()):(xr=K,ou="value"in xr?xr.value:xr.textContent,Qs=!0)),ve=rl(V,je),0<ve.length&&(je=new Kp(je,r,null,a,K),X.push({event:je,listeners:ve}),xe?je.data=xe:(xe=em(a),xe!==null&&(je.data=xe)))),(xe=c2?u2(r,a):d2(r,a))&&(V=rl(V,"onBeforeInput"),0<V.length&&(K=new Kp("onBeforeInput","beforeinput",null,a,K),X.push({event:K,listeners:V}),K.data=xe))}bm(X,s)})}function So(r,s,a){return{instance:r,listener:s,currentTarget:a}}function rl(r,s){for(var a=s+"Capture",d=[];r!==null;){var f=r,m=f.stateNode;f.tag===5&&m!==null&&(f=m,m=so(r,a),m!=null&&d.unshift(So(r,m,f)),m=so(r,s),m!=null&&d.push(So(r,m,f))),r=r.return}return d}function Zs(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5);return r||null}function km(r,s,a,d,f){for(var m=s._reactName,x=[];a!==null&&a!==d;){var C=a,_=C.alternate,V=C.stateNode;if(_!==null&&_===d)break;C.tag===5&&V!==null&&(C=V,f?(_=so(a,m),_!=null&&x.unshift(So(a,_,C))):f||(_=so(a,m),_!=null&&x.push(So(a,_,C)))),a=a.return}x.length!==0&&r.push({event:s,listeners:x})}var N2=/\r\n?/g,C2=/\u0000|\uFFFD/g;function jm(r){return(typeof r=="string"?r:""+r).replace(N2,`
38`).replace(C2,"")}function sl(r,s,a){if(s=jm(s),jm(r)!==s&&a)throw Error(n(425))}function il(){}var ju=null,Su=null;function Nu(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 Cu=typeof setTimeout=="function"?setTimeout:void 0,E2=typeof clearTimeout=="function"?clearTimeout:void 0,Sm=typeof Promise=="function"?Promise:void 0,T2=typeof queueMicrotask=="function"?queueMicrotask:typeof Sm<"u"?function(r){return Sm.resolve(null).then(r).catch(P2)}:Cu;function P2(r){setTimeout(function(){throw r})}function Eu(r,s){var a=s,d=0;do{var f=a.nextSibling;if(r.removeChild(a),f&&f.nodeType===8)if(a=f.data,a==="/$"){if(d===0){r.removeChild(f),po(s);return}d--}else a!=="$"&&a!=="$?"&&a!=="$!"||d++;a=f}while(a);po(s)}function wr(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 a=r.data;if(a==="$"||a==="$!"||a==="$?"){if(s===0)return r;s--}else a==="/$"&&s++}r=r.previousSibling}return null}var ei=Math.random().toString(36).slice(2),Bn="__reactFiber$"+ei,No="__reactProps$"+ei,Gn="__reactContainer$"+ei,Tu="__reactEvents$"+ei,A2="__reactListeners$"+ei,_2="__reactHandles$"+ei;function ss(r){var s=r[Bn];if(s)return s;for(var a=r.parentNode;a;){if(s=a[Gn]||a[Bn]){if(a=s.alternate,s.child!==null||a!==null&&a.child!==null)for(r=Nm(r);r!==null;){if(a=r[Bn])return a;r=Nm(r)}return s}r=a,a=r.parentNode}return null}function Co(r){return r=r[Bn]||r[Gn],!r||r.tag!==5&&r.tag!==6&&r.tag!==13&&r.tag!==3?null:r}function ti(r){if(r.tag===5||r.tag===6)return r.stateNode;throw Error(n(33))}function ol(r){return r[No]||null}var Pu=[],ni=-1;function kr(r){return{current:r}}function qe(r){0>ni||(r.current=Pu[ni],Pu[ni]=null,ni--)}function ze(r,s){ni++,Pu[ni]=r.current,r.current=s}var jr={},Pt=kr(jr),zt=kr(!1),is=jr;function ri(r,s){var a=r.type.contextTypes;if(!a)return jr;var d=r.stateNode;
vendor: 4,306 bytes, line 38
38if(d&&d.__reactInternalMemoizedUnmaskedChildContext===s)return d.__reactInternalMemoizedMaskedChildContext;var f={},m;for(m in a)f[m]=s[m];return d&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=s,r.__reactInternalMemoizedMaskedChildContext=f),f}function $t(r){return r=r.childContextTypes,r!=null}function al(){qe(zt),qe(Pt)}function Cm(r,s,a){if(Pt.current!==jr)throw Error(n(168));ze(Pt,s),ze(zt,a)}function Em(r,s,a){var d=r.stateNode;if(s=s.childContextTypes,typeof d.getChildContext!="function")return a;d=d.getChildContext();for(var f in d)if(!(f in s))throw Error(n(108,me(r)||"Unknown",f));return Z({},a,d)}function ll(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||jr,is=Pt.current,ze(Pt,r),ze(zt,zt.current),!0}function Tm(r,s,a){var d=r.stateNode;if(!d)throw Error(n(169));a?(r=Em(r,s,is),d.__reactInternalMemoizedMergedChildContext=r,qe(zt),qe(Pt),ze(Pt,r)):qe(zt),ze(zt,a)}var Qn=null,cl=!1,Au=!1;function Pm(r){Qn===null?Qn=[r]:Qn.push(r)}function R2(r){cl=!0,Pm(r)}function Sr(){if(!Au&&Qn!==null){Au=!0;var r=0,s=Me;try{var a=Qn;for(Me=1;r<a.length;r++){var d=a[r];do d=d(!0);while(d!==null)}Qn=null,cl=!1}catch(f){throw Qn!==null&&(Qn=Qn.slice(r+1)),_p(Jc,Sr),f}finally{Me=s,Au=!1}}return null}var si=[],ii=0,ul=null,dl=0,an=[],ln=0,os=null,Xn=1,Jn="";function as(r,s){si[ii++]=dl,si[ii++]=ul,ul=r,dl=s}function Am(r,s,a){an[ln++]=Xn,an[ln++]=Jn,an[ln++]=os,os=r;var d=Xn;r=Jn;var f=32-wn(d)-1;d&=~(1<<f),a+=1;var m=32-wn(s)+f;if(30<m){var x=f-f%5;m=(d&(1<<x)-1).toString(32),d>>=x,f-=x,Xn=1<<32-wn(s)+f|a<<f|d,Jn=m+r}else Xn=1<<m|a<<f|d,Jn=r}function _u(r){r.return!==null&&(as(r,1),Am(r,1,0))}function Ru(r){for(;r===ul;)ul=si[--ii],si[ii]=null,dl=si[--ii],si[ii]=null;for(;r===os;)os=an[--ln],an[ln]=null,Jn=an[--ln],an[ln]=null,Xn=an[--ln],an[ln]=null}var Zt=null,en=null,Ke=!1,jn=null;function _m(r,s){var a=hn(5,null,null,0);a.elementType="DELETED",a.stateNode=s,a.return=r,s=r.deletions,s===null?(r.deletions=[a],r.flags|=16):s.push(a)}function Rm(r,s){switch(r.tag){case 5:var a=r.type;return s=s.nodeType!==1||a.toLowerCase()!==s.nodeName.toLowerCase()?null:s,s!==null?(r.stateNode=s,Zt=r,en=wr(s.firstChild),!0):!1;case 6:return s=r.pendingProps===""||s.nodeType!==3?null:s,s!==null?(r.stateNode=s,Zt=r,en=null,!0):!1;case 13:return s=s.nodeType!==8?null:s,s!==null?(a=os!==null?{id:Xn,overflow:Jn}:null,r.memoizedState={dehydrated:s,treeContext:a,retryLane:1073741824},a=hn(18,null,null,0),a.stateNode=s,a.return=r,r.child=a,Zt=r,en=null,!0):!1;default:return!1}}function Ou(r){return(r.mode&1)!==0&&(r.flags&128)===0}function Lu(r){if(Ke){var s=en;if(s){var a=s;if(!Rm(r,s)){if(Ou(r))throw Error(n(418));s=wr(a.nextSibling);var d=Zt;s&&Rm(r,s)?_m(d,a):(r.flags=r.flags&-4097|2,Ke=!1,Zt=r)}}else{if(Ou(r))throw Error(n(418));r.flags=r.flags&-4097|2,Ke=!1,Zt=r}}}function Om(r){for(r=r.return;r!==null&&r.tag!==5&&r.tag!==3&&r.tag!==13;)r=r.return;Zt=r}function hl(r){if(r!==Zt)return!1;if(!Ke)return Om(r),Ke=!0,!1;var s;if((s=r.tag!==3)&&!(s=r.tag!==5)&&(s=r.type,s=s!=="head"&&s!=="body"&&!Nu(r.type,r.memoizedProps)),s&&(s=en)){if(Ou(r))throw Lm(),Error(n(418));for(;s;)_m(r,s),s=wr(s.nextSibling)}if(Om(r),r.tag===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(n(317));e:{for(r=r.nextSibling,s=0;r;){if(r.nodeType===8){var a=r.data;if(a==="/$"){if(s===0){en=wr(r.nextSibling);break e}s--}else a!=="$"&&a!=="$!"&&a!=="$?"||s++}r=r.nextSibling}en=null}}else en=Zt?wr(r.stateNode.nextSibling):null;return!0}function Lm(){for(var r=en;r;)r=wr(r.nextSibling)}function oi(){en=Zt=null,Ke=!1}function Iu(r){jn===null?jn=[r]:jn.push(r)}var O2=O.ReactCurrentBatchConfig;function Eo(r,s,a){if(r=a.ref,r!==null&&typeof r!="function"&&typeof r!="object"){if(a._owner){if(a=a._owner,a){if(a.tag!==1)throw Error(n(309));var d=a.stateNode}if(!d)throw Error(n(147,r));var f=d,m=""+r;return s!==null&&s.ref!==null&&typeof s.ref=="function"&&s.ref._stringRef===m?s.ref:(s=function(x){var C=f.refs;x===null?delete C[m]:C[m]=x},s._stringRef=m,s)}if(typeof r!="string")throw Error(n(284));if(!a._owner)throw Error(n(290,r))}return r}function fl(r,s){throw r=Object.prototype.toString.call(s),Error(n(31,r==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":r))}function Im(r){var s=r._init;return s(r._payload)}
vendor: 5,156 bytes, line 38
38function Bm(r){function s(F,L){if(r){var M=F.deletions;M===null?(F.deletions=[L],F.flags|=16):M.push(L)}}function a(F,L){if(!r)return null;for(;L!==null;)s(F,L),L=L.sibling;return null}function d(F,L){for(F=new Map;L!==null;)L.key!==null?F.set(L.key,L):F.set(L.index,L),L=L.sibling;return F}function f(F,L){return F=Rr(F,L),F.index=0,F.sibling=null,F}function m(F,L,M){return F.index=M,r?(M=F.alternate,M!==null?(M=M.index,M<L?(F.flags|=2,L):M):(F.flags|=2,L)):(F.flags|=1048576,L)}function x(F){return r&&F.alternate===null&&(F.flags|=2),F}function C(F,L,M,J){return L===null||L.tag!==6?(L=Cd(M,F.mode,J),L.return=F,L):(L=f(L,M),L.return=F,L)}function _(F,L,M,J){var fe=M.type;return fe===ne?K(F,L,M.props.children,J,M.key):L!==null&&(L.elementType===fe||typeof fe=="object"&&fe!==null&&fe.$$typeof===ke&&Im(fe)===L.type)?(J=f(L,M.props),J.ref=Eo(F,L,M),J.return=F,J):(J=Dl(M.type,M.key,M.props,null,F.mode,J),J.ref=Eo(F,L,M),J.return=F,J)}function V(F,L,M,J){return L===null||L.tag!==4||L.stateNode.containerInfo!==M.containerInfo||L.stateNode.implementation!==M.implementation?(L=Ed(M,F.mode,J),L.return=F,L):(L=f(L,M.children||[]),L.return=F,L)}function K(F,L,M,J,fe){return L===null||L.tag!==7?(L=ms(M,F.mode,J,fe),L.return=F,L):(L=f(L,M),L.return=F,L)}function X(F,L,M){if(typeof L=="string"&&L!==""||typeof L=="number")return L=Cd(""+L,F.mode,M),L.return=F,L;if(typeof L=="object"&&L!==null){switch(L.$$typeof){case U:return M=Dl(L.type,L.key,L.props,null,F.mode,M),M.ref=Eo(F,null,L),M.return=F,M;case q:return L=Ed(L,F.mode,M),L.return=F,L;case ke:var J=L._init;return X(F,J(L._payload),M)}if(fr(L)||he(L))return L=ms(L,F.mode,M,null),L.return=F,L;fl(F,L)}return null}function Y(F,L,M,J){var fe=L!==null?L.key:null;if(typeof M=="string"&&M!==""||typeof M=="number")return fe!==null?null:C(F,L,""+M,J);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case U:return M.key===fe?_(F,L,M,J):null;case q:return M.key===fe?V(F,L,M,J):null;case ke:return fe=M._init,Y(F,L,fe(M._payload),J)}if(fr(M)||he(M))return fe!==null?null:K(F,L,M,J,null);fl(F,M)}return null}function te(F,L,M,J,fe){if(typeof J=="string"&&J!==""||typeof J=="number")return F=F.get(M)||null,C(L,F,""+J,fe);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case U:return F=F.get(J.key===null?M:J.key)||null,_(L,F,J,fe);case q:return F=F.get(J.key===null?M:J.key)||null,V(L,F,J,fe);case ke:var ve=J._init;return te(F,L,M,ve(J._payload),fe)}if(fr(J)||he(J))return F=F.get(M)||null,K(L,F,J,fe,null);fl(L,J)}return null}function oe(F,L,M,J){for(var fe=null,ve=null,xe=L,je=L=0,xt=null;xe!==null&&je<M.length;je++){xe.index>je?(xt=xe,xe=null):xt=xe.sibling;var Ie=Y(F,xe,M[je],J);if(Ie===null){xe===null&&(xe=xt);break}r&&xe&&Ie.alternate===null&&s(F,xe),L=m(Ie,L,je),ve===null?fe=Ie:ve.sibling=Ie,ve=Ie,xe=xt}if(je===M.length)return a(F,xe),Ke&&as(F,je),fe;if(xe===null){for(;je<M.length;je++)xe=X(F,M[je],J),xe!==null&&(L=m(xe,L,je),ve===null?fe=xe:ve.sibling=xe,ve=xe);return Ke&&as(F,je),fe}for(xe=d(F,xe);je<M.length;je++)xt=te(xe,F,je,M[je],J),xt!==null&&(r&&xt.alternate!==null&&xe.delete(xt.key===null?je:xt.key),L=m(xt,L,je),ve===null?fe=xt:ve.sibling=xt,ve=xt);return r&&xe.forEach(function(Or){return s(F,Or)}),Ke&&as(F,je),fe}function ue(F,L,M,J){var fe=he(M);if(typeof fe!="function")throw Error(n(150));if(M=fe.call(M),M==null)throw Error(n(151));for(var ve=fe=null,xe=L,je=L=0,xt=null,Ie=M.next();xe!==null&&!Ie.done;je++,Ie=M.next()){xe.index>je?(xt=xe,xe=null):xt=xe.sibling;var Or=Y(F,xe,Ie.value,J);if(Or===null){xe===null&&(xe=xt);break}r&&xe&&Or.alternate===null&&s(F,xe),L=m(Or,L,je),ve===null?fe=Or:ve.sibling=Or,ve=Or,xe=xt}if(Ie.done)return a(F,xe),Ke&&as(F,je),fe;if(xe===null){for(;!Ie.done;je++,Ie=M.next())Ie=X(F,Ie.value,J),Ie!==null&&(L=m(Ie,L,je),ve===null?fe=Ie:ve.sibling=Ie,ve=Ie);return Ke&&as(F,je),fe}for(xe=d(F,xe);!Ie.done;je++,Ie=M.next())Ie=te(xe,F,je,Ie.value,J),Ie!==null&&(r&&Ie.alternate!==null&&xe.delete(Ie.key===null?je:Ie.key),L=m(Ie,L,je),ve===null?fe=Ie:ve.sibling=Ie,ve=Ie);return r&&xe.forEach(function(hk){return s(F,hk)}),Ke&&as(F,je),fe}function ot(F,L,M,J){if(typeof M=="object"&&M!==null&&M.type===ne&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case U:e:{for(var fe=M.key,ve=L;ve!==null;){if(ve.key===fe){if(fe=M.type,fe===ne){if(ve.tag===7){a(F,ve.sibling),L=f(ve,M.props.children),L.return=F,F=L;break e}}else if(ve.elementType===fe||typeof fe=="object"&&fe!==null&&fe.$$typeof===ke&&Im(fe)===ve.type){a(F,ve.sibling),L=f(ve,M.props),L.ref=Eo(F,ve,M),L.return=F,F=L;break e}a(F,ve);break}else s(F,ve);ve=ve.sibling}M.type===ne?(L=ms(M.props.children,F.mode,J,M.key),L.return=F,F=L):(J=Dl(M.type,M.key,M.props,null,F.mode,J),J.ref=Eo(F,L,M),J.return=F,F=J)}return x(F);case q:e:{for(ve=M.key;L!==null;){if(L.key===ve)if(L.tag===4&&L.stateNode.containerInfo===M.containerInfo&&L.stateNode.implementation===M.implementation){a(F,L.sibling),L=f(L,M.children||[]),L.return=F,F=L;break e}else{a(F,L);break}else s(F,L);L=L.sibling}L=Ed(M,F.mode,J),L.return=F,F=L}return x(F);case ke:return ve=M._init,ot(F,L,ve(M._payload),J)}if(fr(M))return oe(F,L,M,J);if(he(M))return ue(F,L,M,J);fl(F,M)}
vendor: 7,403 bytes, line 38
38return typeof M=="string"&&M!==""||typeof M=="number"?(M=""+M,L!==null&&L.tag===6?(a(F,L.sibling),L=f(L,M),L.return=F,F=L):(a(F,L),L=Cd(M,F.mode,J),L.return=F,F=L),x(F)):a(F,L)}return ot}var ai=Bm(!0),Dm=Bm(!1),pl=kr(null),ml=null,li=null,Bu=null;function Du(){Bu=li=ml=null}function Fu(r){var s=pl.current;qe(pl),r._currentValue=s}function Mu(r,s,a){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===a)break;r=r.return}}function ci(r,s){ml=r,Bu=li=null,r=r.dependencies,r!==null&&r.firstContext!==null&&((r.lanes&s)!==0&&(Wt=!0),r.firstContext=null)}function cn(r){var s=r._currentValue;if(Bu!==r)if(r={context:r,memoizedValue:s,next:null},li===null){if(ml===null)throw Error(n(308));li=r,ml.dependencies={lanes:0,firstContext:r}}else li=li.next=r;return s}var ls=null;function Vu(r){ls===null?ls=[r]:ls.push(r)}function Fm(r,s,a,d){var f=s.interleaved;return f===null?(a.next=a,Vu(s)):(a.next=f.next,f.next=a),s.interleaved=a,Zn(r,d)}function Zn(r,s){r.lanes|=s;var a=r.alternate;for(a!==null&&(a.lanes|=s),a=r,r=r.return;r!==null;)r.childLanes|=s,a=r.alternate,a!==null&&(a.childLanes|=s),a=r,r=r.return;return a.tag===3?a.stateNode:null}var Nr=!1;function Uu(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Mm(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 er(r,s){return{eventTime:r,lane:s,tag:0,payload:null,callback:null,next:null}}function Cr(r,s,a){var d=r.updateQueue;if(d===null)return null;if(d=d.shared,(Oe&2)!==0){var f=d.pending;return f===null?s.next=s:(s.next=f.next,f.next=s),d.pending=s,Zn(r,a)}return f=d.interleaved,f===null?(s.next=s,Vu(d)):(s.next=f.next,f.next=s),d.interleaved=s,Zn(r,a)}function gl(r,s,a){if(s=s.updateQueue,s!==null&&(s=s.shared,(a&4194240)!==0)){var d=s.lanes;d&=r.pendingLanes,a|=d,s.lanes=a,tu(r,a)}}function Vm(r,s){var a=r.updateQueue,d=r.alternate;if(d!==null&&(d=d.updateQueue,a===d)){var f=null,m=null;if(a=a.firstBaseUpdate,a!==null){do{var x={eventTime:a.eventTime,lane:a.lane,tag:a.tag,payload:a.payload,callback:a.callback,next:null};m===null?f=m=x:m=m.next=x,a=a.next}while(a!==null);m===null?f=m=s:m=m.next=s}else f=m=s;a={baseState:d.baseState,firstBaseUpdate:f,lastBaseUpdate:m,shared:d.shared,effects:d.effects},r.updateQueue=a;return}r=a.lastBaseUpdate,r===null?a.firstBaseUpdate=s:r.next=s,a.lastBaseUpdate=s}function yl(r,s,a,d){var f=r.updateQueue;Nr=!1;var m=f.firstBaseUpdate,x=f.lastBaseUpdate,C=f.shared.pending;if(C!==null){f.shared.pending=null;var _=C,V=_.next;_.next=null,x===null?m=V:x.next=V,x=_;var K=r.alternate;K!==null&&(K=K.updateQueue,C=K.lastBaseUpdate,C!==x&&(C===null?K.firstBaseUpdate=V:C.next=V,K.lastBaseUpdate=_))}if(m!==null){var X=f.baseState;x=0,K=V=_=null,C=m;do{var Y=C.lane,te=C.eventTime;if((d&Y)===Y){K!==null&&(K=K.next={eventTime:te,lane:0,tag:C.tag,payload:C.payload,callback:C.callback,next:null});e:{var oe=r,ue=C;switch(Y=s,te=a,ue.tag){case 1:if(oe=ue.payload,typeof oe=="function"){X=oe.call(te,X,Y);break e}X=oe;break e;case 3:oe.flags=oe.flags&-65537|128;case 0:if(oe=ue.payload,Y=typeof oe=="function"?oe.call(te,X,Y):oe,Y==null)break e;X=Z({},X,Y);break e;case 2:Nr=!0}}C.callback!==null&&C.lane!==0&&(r.flags|=64,Y=f.effects,Y===null?f.effects=[C]:Y.push(C))}else te={eventTime:te,lane:Y,tag:C.tag,payload:C.payload,callback:C.callback,next:null},K===null?(V=K=te,_=X):K=K.next=te,x|=Y;if(C=C.next,C===null){if(C=f.shared.pending,C===null)break;Y=C,C=Y.next,Y.next=null,f.lastBaseUpdate=Y,f.shared.pending=null}}while(!0);if(K===null&&(_=X),f.baseState=_,f.firstBaseUpdate=V,f.lastBaseUpdate=K,s=f.shared.interleaved,s!==null){f=s;do x|=f.lane,f=f.next;while(f!==s)}else m===null&&(f.shared.lanes=0);ds|=x,r.lanes=x,r.memoizedState=X}}function Um(r,s,a){if(r=s.effects,s.effects=null,r!==null)for(s=0;s<r.length;s++){var d=r[s],f=d.callback;if(f!==null){if(d.callback=null,d=a,typeof f!="function")throw Error(n(191,f));f.call(d)}}}var To={},Dn=kr(To),Po=kr(To),Ao=kr(To);function cs(r){if(r===To)throw Error(n(174));return r}function zu(r,s){switch(ze(Ao,s),ze(Po,r),ze(Dn,To),r=s.nodeType,r){case 9:case 11:s=(s=s.documentElement)?s.namespaceURI:$c(null,"");break;default:r=r===8?s.parentNode:s,s=r.namespaceURI||null,r=r.tagName,s=$c(s,r)}qe(Dn),ze(Dn,s)}function ui(){qe(Dn),qe(Po),qe(Ao)}function zm(r){cs(Ao.current);var s=cs(Dn.current),a=$c(s,r.type);s!==a&&(ze(Po,r),ze(Dn,a))}function $u(r){Po.current===r&&(qe(Dn),qe(Po))}var Qe=kr(0);function vl(r){for(var s=r;s!==null;){if(s.tag===13){var a=s.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var Wu=[];function qu(){for(var r=0;r<Wu.length;r++)Wu[r]._workInProgressVersionPrimary=null;Wu.length=0}var xl=O.ReactCurrentDispatcher,Hu=O.ReactCurrentBatchConfig,us=0,Xe=null,pt=null,yt=null,bl=!1,_o=!1,Ro=0,L2=0;function At(){throw Error(n(321))}function Yu(r,s){if(s===null)return!1;for(var a=0;a<s.length&&a<r.length;a++)if(!kn(r[a],s[a]))return!1;return!0}function Ku(r,s,a,d,f,m){if(us=m,Xe=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,xl.current=r===null||r.memoizedState===null?F2:M2,r=a(d,f),_o){m=0;do{if(_o=!1,Ro=0,25<=m)throw Error(n(301));m+=1,yt=pt=null,s.updateQueue=null,xl.current=V2,r=a(d,f)}while(_o)}if(xl.current=jl,s=pt!==null&&pt.next!==null,us=0,yt=pt=Xe=null,bl=!1,s)throw Error(n(300));return r}function Gu(){var r=Ro!==0;return Ro=0,r}function Fn(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return yt===null?Xe.memoizedState=yt=r:yt=yt.next=r,yt}function un(){if(pt===null){var r=Xe.alternate;r=r!==null?r.memoizedState:null}else r=pt.next;var s=yt===null?Xe.memoizedState:yt.next;if(s!==null)yt=s,pt=r;else{if(r===null)throw Error(n(310));pt=r,r={memoizedState:pt.memoizedState,baseState:pt.baseState,baseQueue:pt.baseQueue,queue:pt.queue,next:null},yt===null?Xe.memoizedState=yt=r:yt=yt.next=r}return yt}function Oo(r,s){return typeof s=="function"?s(r):s}function Qu(r){var s=un(),a=s.queue;if(a===null)throw Error(n(311));a.lastRenderedReducer=r;var d=pt,f=d.baseQueue,m=a.pending;if(m!==null){if(f!==null){var x=f.next;f.next=m.next,m.next=x}d.baseQueue=f=m,a.pending=null}if(f!==null){m=f.next,d=d.baseState;var C=x=null,_=null,V=m;do{var K=V.lane;if((us&K)===K)_!==null&&(_=_.next={lane:0,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null}),d=V.hasEagerState?V.eagerState:r(d,V.action);else{var X={lane:K,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null};_===null?(C=_=X,x=d):_=_.next=X,Xe.lanes|=K,ds|=K}V=V.next}while(V!==null&&V!==m);_===null?x=d:_.next=C,kn(d,s.memoizedState)||(Wt=!0),s.memoizedState=d,s.baseState=x,s.baseQueue=_,a.lastRenderedState=d}if(r=a.interleaved,r!==null){f=r;do m=f.lane,Xe.lanes|=m,ds|=m,f=f.next;while(f!==r)}else f===null&&(a.lanes=0);return[s.memoizedState,a.dispatch]}
vendor: 4,882 bytes, line 38
38function Xu(r){var s=un(),a=s.queue;if(a===null)throw Error(n(311));a.lastRenderedReducer=r;var d=a.dispatch,f=a.pending,m=s.memoizedState;if(f!==null){a.pending=null;var x=f=f.next;do m=r(m,x.action),x=x.next;while(x!==f);kn(m,s.memoizedState)||(Wt=!0),s.memoizedState=m,s.baseQueue===null&&(s.baseState=m),a.lastRenderedState=m}return[m,d]}function $m(){}function Wm(r,s){var a=Xe,d=un(),f=s(),m=!kn(d.memoizedState,f);if(m&&(d.memoizedState=f,Wt=!0),d=d.queue,Ju(Ym.bind(null,a,d,r),[r]),d.getSnapshot!==s||m||yt!==null&&yt.memoizedState.tag&1){if(a.flags|=2048,Lo(9,Hm.bind(null,a,d,f,s),void 0,null),vt===null)throw Error(n(349));(us&30)!==0||qm(a,s,f)}return f}function qm(r,s,a){r.flags|=16384,r={getSnapshot:s,value:a},s=Xe.updateQueue,s===null?(s={lastEffect:null,stores:null},Xe.updateQueue=s,s.stores=[r]):(a=s.stores,a===null?s.stores=[r]:a.push(r))}function Hm(r,s,a,d){s.value=a,s.getSnapshot=d,Km(s)&&Gm(r)}function Ym(r,s,a){return a(function(){Km(s)&&Gm(r)})}function Km(r){var s=r.getSnapshot;r=r.value;try{var a=s();return!kn(r,a)}catch{return!0}}function Gm(r){var s=Zn(r,1);s!==null&&En(s,r,1,-1)}function Qm(r){var s=Fn();return typeof r=="function"&&(r=r()),s.memoizedState=s.baseState=r,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Oo,lastRenderedState:r},s.queue=r,r=r.dispatch=D2.bind(null,Xe,r),[s.memoizedState,r]}function Lo(r,s,a,d){return r={tag:r,create:s,destroy:a,deps:d,next:null},s=Xe.updateQueue,s===null?(s={lastEffect:null,stores:null},Xe.updateQueue=s,s.lastEffect=r.next=r):(a=s.lastEffect,a===null?s.lastEffect=r.next=r:(d=a.next,a.next=r,r.next=d,s.lastEffect=r)),r}function Xm(){return un().memoizedState}function wl(r,s,a,d){var f=Fn();Xe.flags|=r,f.memoizedState=Lo(1|s,a,void 0,d===void 0?null:d)}function kl(r,s,a,d){var f=un();d=d===void 0?null:d;var m=void 0;if(pt!==null){var x=pt.memoizedState;if(m=x.destroy,d!==null&&Yu(d,x.deps)){f.memoizedState=Lo(s,a,m,d);return}}Xe.flags|=r,f.memoizedState=Lo(1|s,a,m,d)}function Jm(r,s){return wl(8390656,8,r,s)}function Ju(r,s){return kl(2048,8,r,s)}function Zm(r,s){return kl(4,2,r,s)}function eg(r,s){return kl(4,4,r,s)}function tg(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 ng(r,s,a){return a=a!=null?a.concat([r]):null,kl(4,4,tg.bind(null,s,r),a)}function Zu(){}function rg(r,s){var a=un();s=s===void 0?null:s;var d=a.memoizedState;return d!==null&&s!==null&&Yu(s,d[1])?d[0]:(a.memoizedState=[r,s],r)}function sg(r,s){var a=un();s=s===void 0?null:s;var d=a.memoizedState;return d!==null&&s!==null&&Yu(s,d[1])?d[0]:(r=r(),a.memoizedState=[r,s],r)}function ig(r,s,a){return(us&21)===0?(r.baseState&&(r.baseState=!1,Wt=!0),r.memoizedState=a):(kn(a,s)||(a=Ip(),Xe.lanes|=a,ds|=a,r.baseState=!0),s)}function I2(r,s){var a=Me;Me=a!==0&&4>a?a:4,r(!0);var d=Hu.transition;Hu.transition={};try{r(!1),s()}finally{Me=a,Hu.transition=d}}function og(){return un().memoizedState}function B2(r,s,a){var d=Ar(r);if(a={lane:d,action:a,hasEagerState:!1,eagerState:null,next:null},ag(r))lg(s,a);else if(a=Fm(r,s,a,d),a!==null){var f=Ft();En(a,r,d,f),cg(a,s,d)}}function D2(r,s,a){var d=Ar(r),f={lane:d,action:a,hasEagerState:!1,eagerState:null,next:null};if(ag(r))lg(s,f);else{var m=r.alternate;if(r.lanes===0&&(m===null||m.lanes===0)&&(m=s.lastRenderedReducer,m!==null))try{var x=s.lastRenderedState,C=m(x,a);if(f.hasEagerState=!0,f.eagerState=C,kn(C,x)){var _=s.interleaved;_===null?(f.next=f,Vu(s)):(f.next=_.next,_.next=f),s.interleaved=f;return}}catch{}finally{}a=Fm(r,s,f,d),a!==null&&(f=Ft(),En(a,r,d,f),cg(a,s,d))}}function ag(r){var s=r.alternate;return r===Xe||s!==null&&s===Xe}function lg(r,s){_o=bl=!0;var a=r.pending;a===null?s.next=s:(s.next=a.next,a.next=s),r.pending=s}function cg(r,s,a){if((a&4194240)!==0){var d=s.lanes;d&=r.pendingLanes,a|=d,s.lanes=a,tu(r,a)}}var jl={readContext:cn,useCallback:At,useContext:At,useEffect:At,useImperativeHandle:At,useInsertionEffect:At,useLayoutEffect:At,useMemo:At,useReducer:At,useRef:At,useState:At,useDebugValue:At,useDeferredValue:At,useTransition:At,useMutableSource:At,useSyncExternalStore:At,useId:At,unstable_isNewReconciler:!1},F2={readContext:cn,useCallback:function(r,s){return Fn().memoizedState=[r,s===void 0?null:s],r},useContext:cn,useEffect:Jm,useImperativeHandle:function(r,s,a){return a=a!=null?a.concat([r]):null,wl(4194308,4,tg.bind(null,s,r),a)},useLayoutEffect:function(r,s){return wl(4194308,4,r,s)},useInsertionEffect:function(r,s){return wl(4,2,r,s)},useMemo:function(r,s){var a=Fn();return s=s===void 0?null:s,r=r(),a.memoizedState=[r,s],r},useReducer:function(r,s,a){var d=Fn();return s=a!==void 0?a(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=B2.bind(null,Xe,r),[d.memoizedState,r]}
vendor: 4,428 bytes, lines 38-40
38,useRef:function(r){var s=Fn();return r={current:r},s.memoizedState=r},useState:Qm,useDebugValue:Zu,useDeferredValue:function(r){return Fn().memoizedState=r},useTransition:function(){var r=Qm(!1),s=r[0];return r=I2.bind(null,r[1]),Fn().memoizedState=r,[s,r]},useMutableSource:function(){},useSyncExternalStore:function(r,s,a){var d=Xe,f=Fn();if(Ke){if(a===void 0)throw Error(n(407));a=a()}else{if(a=s(),vt===null)throw Error(n(349));(us&30)!==0||qm(d,s,a)}f.memoizedState=a;var m={value:a,getSnapshot:s};return f.queue=m,Jm(Ym.bind(null,d,m,r),[r]),d.flags|=2048,Lo(9,Hm.bind(null,d,m,a,s),void 0,null),a},useId:function(){var r=Fn(),s=vt.identifierPrefix;if(Ke){var a=Jn,d=Xn;a=(d&~(1<<32-wn(d)-1)).toString(32)+a,s=":"+s+"R"+a,a=Ro++,0<a&&(s+="H"+a.toString(32)),s+=":"}else a=L2++,s=":"+s+"r"+a.toString(32)+":";return r.memoizedState=s},unstable_isNewReconciler:!1},M2={readContext:cn,useCallback:rg,useContext:cn,useEffect:Ju,useImperativeHandle:ng,useInsertionEffect:Zm,useLayoutEffect:eg,useMemo:sg,useReducer:Qu,useRef:Xm,useState:function(){return Qu(Oo)},useDebugValue:Zu,useDeferredValue:function(r){var s=un();return ig(s,pt.memoizedState,r)},useTransition:function(){var r=Qu(Oo)[0],s=un().memoizedState;return[r,s]},useMutableSource:$m,useSyncExternalStore:Wm,useId:og,unstable_isNewReconciler:!1},V2={readContext:cn,useCallback:rg,useContext:cn,useEffect:Ju,useImperativeHandle:ng,useInsertionEffect:Zm,useLayoutEffect:eg,useMemo:sg,useReducer:Xu,useRef:Xm,useState:function(){return Xu(Oo)},useDebugValue:Zu,useDeferredValue:function(r){var s=un();return pt===null?s.memoizedState=r:ig(s,pt.memoizedState,r)},useTransition:function(){var r=Xu(Oo)[0],s=un().memoizedState;return[r,s]},useMutableSource:$m,useSyncExternalStore:Wm,useId:og,unstable_isNewReconciler:!1};function Sn(r,s){if(r&&r.defaultProps){s=Z({},s),r=r.defaultProps;for(var a in r)s[a]===void 0&&(s[a]=r[a]);return s}return s}function ed(r,s,a,d){s=r.memoizedState,a=a(d,s),a=a==null?s:Z({},s,a),r.memoizedState=a,r.lanes===0&&(r.updateQueue.baseState=a)}var Sl={isMounted:function(r){return(r=r._reactInternals)?rs(r)===r:!1},enqueueSetState:function(r,s,a){r=r._reactInternals;var d=Ft(),f=Ar(r),m=er(d,f);m.payload=s,a!=null&&(m.callback=a),s=Cr(r,m,f),s!==null&&(En(s,r,f,d),gl(s,r,f))},enqueueReplaceState:function(r,s,a){r=r._reactInternals;var d=Ft(),f=Ar(r),m=er(d,f);m.tag=1,m.payload=s,a!=null&&(m.callback=a),s=Cr(r,m,f),s!==null&&(En(s,r,f,d),gl(s,r,f))},enqueueForceUpdate:function(r,s){r=r._reactInternals;var a=Ft(),d=Ar(r),f=er(a,d);f.tag=2,s!=null&&(f.callback=s),s=Cr(r,f,d),s!==null&&(En(s,r,d,a),gl(s,r,d))}};function ug(r,s,a,d,f,m,x){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(d,m,x):s.prototype&&s.prototype.isPureReactComponent?!bo(a,d)||!bo(f,m):!0}function dg(r,s,a){var d=!1,f=jr,m=s.contextType;return typeof m=="object"&&m!==null?m=cn(m):(f=$t(s)?is:Pt.current,d=s.contextTypes,m=(d=d!=null)?ri(r,f):jr),s=new s(a,m),r.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=Sl,r.stateNode=s,s._reactInternals=r,d&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=f,r.__reactInternalMemoizedMaskedChildContext=m),s}function hg(r,s,a,d){r=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(a,d),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(a,d),s.state!==r&&Sl.enqueueReplaceState(s,s.state,null)}function td(r,s,a,d){var f=r.stateNode;f.props=a,f.state=r.memoizedState,f.refs={},Uu(r);var m=s.contextType;typeof m=="object"&&m!==null?f.context=cn(m):(m=$t(s)?is:Pt.current,f.context=ri(r,m)),f.state=r.memoizedState,m=s.getDerivedStateFromProps,typeof m=="function"&&(ed(r,s,m,a),f.state=r.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(s=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),s!==f.state&&Sl.enqueueReplaceState(f,f.state,null),yl(r,a,f,d),f.state=r.memoizedState),typeof f.componentDidMount=="function"&&(r.flags|=4194308)}function di(r,s){try{var a="",d=s;do a+=Ce(d),d=d.return;while(d);var f=a}catch(m){f=`
39Error generating stack: `+m.message+`
40`+m.stack}return{value:r,source:s,stack:f,digest:null}}
vendor: 16,728 bytes, line 40
40function nd(r,s,a){return{value:r,source:null,stack:a??null,digest:s??null}}function rd(r,s){try{console.error(s.value)}catch(a){setTimeout(function(){throw a})}}var U2=typeof WeakMap=="function"?WeakMap:Map;function fg(r,s,a){a=er(-1,a),a.tag=3,a.payload={element:null};var d=s.value;return a.callback=function(){_l||(_l=!0,vd=d),rd(r,s)},a}function pg(r,s,a){a=er(-1,a),a.tag=3;var d=r.type.getDerivedStateFromError;if(typeof d=="function"){var f=s.value;a.payload=function(){return d(f)},a.callback=function(){rd(r,s)}}var m=r.stateNode;return m!==null&&typeof m.componentDidCatch=="function"&&(a.callback=function(){rd(r,s),typeof d!="function"&&(Tr===null?Tr=new Set([this]):Tr.add(this));var x=s.stack;this.componentDidCatch(s.value,{componentStack:x!==null?x:""})}),a}function mg(r,s,a){var d=r.pingCache;if(d===null){d=r.pingCache=new U2;var f=new Set;d.set(s,f)}else f=d.get(s),f===void 0&&(f=new Set,d.set(s,f));f.has(a)||(f.add(a),r=tk.bind(null,r,s,a),s.then(r,r))}function gg(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 yg(r,s,a,d,f){return(r.mode&1)===0?(r===s?r.flags|=65536:(r.flags|=128,a.flags|=131072,a.flags&=-52805,a.tag===1&&(a.alternate===null?a.tag=17:(s=er(-1,1),s.tag=2,Cr(a,s,1))),a.lanes|=1),r):(r.flags|=65536,r.lanes=f,r)}var z2=O.ReactCurrentOwner,Wt=!1;function Dt(r,s,a,d){s.child=r===null?Dm(s,null,a,d):ai(s,r.child,a,d)}function vg(r,s,a,d,f){a=a.render;var m=s.ref;return ci(s,f),d=Ku(r,s,a,d,m,f),a=Gu(),r!==null&&!Wt?(s.updateQueue=r.updateQueue,s.flags&=-2053,r.lanes&=~f,tr(r,s,f)):(Ke&&a&&_u(s),s.flags|=1,Dt(r,s,d,f),s.child)}function xg(r,s,a,d,f){if(r===null){var m=a.type;return typeof m=="function"&&!Nd(m)&&m.defaultProps===void 0&&a.compare===null&&a.defaultProps===void 0?(s.tag=15,s.type=m,bg(r,s,m,d,f)):(r=Dl(a.type,null,d,s,s.mode,f),r.ref=s.ref,r.return=s,s.child=r)}if(m=r.child,(r.lanes&f)===0){var x=m.memoizedProps;if(a=a.compare,a=a!==null?a:bo,a(x,d)&&r.ref===s.ref)return tr(r,s,f)}return s.flags|=1,r=Rr(m,d),r.ref=s.ref,r.return=s,s.child=r}function bg(r,s,a,d,f){if(r!==null){var m=r.memoizedProps;if(bo(m,d)&&r.ref===s.ref)if(Wt=!1,s.pendingProps=d=m,(r.lanes&f)!==0)(r.flags&131072)!==0&&(Wt=!0);else return s.lanes=r.lanes,tr(r,s,f)}return sd(r,s,a,d,f)}function wg(r,s,a){var d=s.pendingProps,f=d.children,m=r!==null?r.memoizedState:null;if(d.mode==="hidden")if((s.mode&1)===0)s.memoizedState={baseLanes:0,cachePool:null,transitions:null},ze(fi,tn),tn|=a;else{if((a&1073741824)===0)return r=m!==null?m.baseLanes|a:a,s.lanes=s.childLanes=1073741824,s.memoizedState={baseLanes:r,cachePool:null,transitions:null},s.updateQueue=null,ze(fi,tn),tn|=r,null;s.memoizedState={baseLanes:0,cachePool:null,transitions:null},d=m!==null?m.baseLanes:a,ze(fi,tn),tn|=d}else m!==null?(d=m.baseLanes|a,s.memoizedState=null):d=a,ze(fi,tn),tn|=d;return Dt(r,s,f,a),s.child}function kg(r,s){var a=s.ref;(r===null&&a!==null||r!==null&&r.ref!==a)&&(s.flags|=512,s.flags|=2097152)}function sd(r,s,a,d,f){var m=$t(a)?is:Pt.current;return m=ri(s,m),ci(s,f),a=Ku(r,s,a,d,m,f),d=Gu(),r!==null&&!Wt?(s.updateQueue=r.updateQueue,s.flags&=-2053,r.lanes&=~f,tr(r,s,f)):(Ke&&d&&_u(s),s.flags|=1,Dt(r,s,a,f),s.child)}function jg(r,s,a,d,f){if($t(a)){var m=!0;ll(s)}else m=!1;if(ci(s,f),s.stateNode===null)Cl(r,s),dg(s,a,d),td(s,a,d,f),d=!0;else if(r===null){var x=s.stateNode,C=s.memoizedProps;x.props=C;var _=x.context,V=a.contextType;typeof V=="object"&&V!==null?V=cn(V):(V=$t(a)?is:Pt.current,V=ri(s,V));var K=a.getDerivedStateFromProps,X=typeof K=="function"||typeof x.getSnapshotBeforeUpdate=="function";X||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(C!==d||_!==V)&&hg(s,x,d,V),Nr=!1;var Y=s.memoizedState;x.state=Y,yl(s,d,x,f),_=s.memoizedState,C!==d||Y!==_||zt.current||Nr?(typeof K=="function"&&(ed(s,a,K,d),_=s.memoizedState),(C=Nr||ug(s,a,C,d,Y,_,V))?(X||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount()),typeof x.componentDidMount=="function"&&(s.flags|=4194308)):(typeof x.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=d,s.memoizedState=_),x.props=d,x.state=_,x.context=V,d=C):(typeof x.componentDidMount=="function"&&(s.flags|=4194308),d=!1)}else{x=s.stateNode,Mm(r,s),C=s.memoizedProps,V=s.type===s.elementType?C:Sn(s.type,C),x.props=V,X=s.pendingProps,Y=x.context,_=a.contextType,typeof _=="object"&&_!==null?_=cn(_):(_=$t(a)?is:Pt.current,_=ri(s,_));var te=a.getDerivedStateFromProps;(K=typeof te=="function"||typeof x.getSnapshotBeforeUpdate=="function")||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(C!==X||Y!==_)&&hg(s,x,d,_),Nr=!1,Y=s.memoizedState,x.state=Y,yl(s,d,x,f);var oe=s.memoizedState;C!==X||Y!==oe||zt.current||Nr?(typeof te=="function"&&(ed(s,a,te,d),oe=s.memoizedState),(V=Nr||ug(s,a,V,d,Y,oe,_)||!1)?(K||typeof x.UNSAFE_componentWillUpdate!="function"&&typeof x.componentWillUpdate!="function"||(typeof x.componentWillUpdate=="function"&&x.componentWillUpdate(d,oe,_),typeof x.UNSAFE_componentWillUpdate=="function"&&x.UNSAFE_componentWillUpdate(d,oe,_)),typeof x.componentDidUpdate=="function"&&(s.flags|=4),typeof x.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof x.componentDidUpdate!="function"||C===r.memoizedProps&&Y===r.memoizedState||(s.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||C===r.memoizedProps&&Y===r.memoizedState||(s.flags|=1024),s.memoizedProps=d,s.memoizedState=oe),x.props=d,x.state=oe,x.context=_,d=V):(typeof x.componentDidUpdate!="function"||C===r.memoizedProps&&Y===r.memoizedState||(s.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||C===r.memoizedProps&&Y===r.memoizedState||(s.flags|=1024),d=!1)}return id(r,s,a,d,m,f)}function id(r,s,a,d,f,m){kg(r,s);var x=(s.flags&128)!==0;if(!d&&!x)return f&&Tm(s,a,!1),tr(r,s,m);d=s.stateNode,z2.current=s;var C=x&&typeof a.getDerivedStateFromError!="function"?null:d.render();return s.flags|=1,r!==null&&x?(s.child=ai(s,r.child,null,m),s.child=ai(s,null,C,m)):Dt(r,s,C,m),s.memoizedState=d.state,f&&Tm(s,a,!0),s.child}function Sg(r){var s=r.stateNode;s.pendingContext?Cm(r,s.pendingContext,s.pendingContext!==s.context):s.context&&Cm(r,s.context,!1),zu(r,s.containerInfo)}function Ng(r,s,a,d,f){return oi(),Iu(f),s.flags|=256,Dt(r,s,a,d),s.child}var od={dehydrated:null,treeContext:null,retryLane:0};function ad(r){return{baseLanes:r,cachePool:null,transitions:null}}function Cg(r,s,a){var d=s.pendingProps,f=Qe.current,m=!1,x=(s.flags&128)!==0,C;if((C=x)||(C=r!==null&&r.memoizedState===null?!1:(f&2)!==0),C?(m=!0,s.flags&=-129):(r===null||r.memoizedState!==null)&&(f|=1),ze(Qe,f&1),r===null)return Lu(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):(x=d.children,r=d.fallback,m?(d=s.mode,m=s.child,x={mode:"hidden",children:x},(d&1)===0&&m!==null?(m.childLanes=0,m.pendingProps=x):m=Fl(x,d,0,null),r=ms(r,d,a,null),m.return=s,r.return=s,m.sibling=r,s.child=m,s.child.memoizedState=ad(a),s.memoizedState=od,r):ld(s,x));if(f=r.memoizedState,f!==null&&(C=f.dehydrated,C!==null))return $2(r,s,x,d,C,f,a);if(m){m=d.fallback,x=s.mode,f=r.child,C=f.sibling;var _={mode:"hidden",children:d.children};return(x&1)===0&&s.child!==f?(d=s.child,d.childLanes=0,d.pendingProps=_,s.deletions=null):(d=Rr(f,_),d.subtreeFlags=f.subtreeFlags&14680064),C!==null?m=Rr(C,m):(m=ms(m,x,a,null),m.flags|=2),m.return=s,d.return=s,d.sibling=m,s.child=d,d=m,m=s.child,x=r.child.memoizedState,x=x===null?ad(a):{baseLanes:x.baseLanes|a,cachePool:null,transitions:x.transitions},m.memoizedState=x,m.childLanes=r.childLanes&~a,s.memoizedState=od,d}return m=r.child,r=m.sibling,d=Rr(m,{mode:"visible",children:d.children}),(s.mode&1)===0&&(d.lanes=a),d.return=s,d.sibling=null,r!==null&&(a=s.deletions,a===null?(s.deletions=[r],s.flags|=16):a.push(r)),s.child=d,s.memoizedState=null,d}function ld(r,s){return s=Fl({mode:"visible",children:s},r.mode,0,null),s.return=r,r.child=s}function Nl(r,s,a,d){return d!==null&&Iu(d),ai(s,r.child,null,a),r=ld(s,s.pendingProps.children),r.flags|=2,s.memoizedState=null,r}function $2(r,s,a,d,f,m,x){if(a)return s.flags&256?(s.flags&=-257,d=nd(Error(n(422))),Nl(r,s,x,d)):s.memoizedState!==null?(s.child=r.child,s.flags|=128,null):(m=d.fallback,f=s.mode,d=Fl({mode:"visible",children:d.children},f,0,null),m=ms(m,f,x,null),m.flags|=2,d.return=s,m.return=s,d.sibling=m,s.child=d,(s.mode&1)!==0&&ai(s,r.child,null,x),s.child.memoizedState=ad(x),s.memoizedState=od,m);if((s.mode&1)===0)return Nl(r,s,x,null);if(f.data==="$!"){if(d=f.nextSibling&&f.nextSibling.dataset,d)var C=d.dgst;return d=C,m=Error(n(419)),d=nd(m,d,void 0),Nl(r,s,x,d)}if(C=(x&r.childLanes)!==0,Wt||C){if(d=vt,d!==null){switch(x&-x){case 4:f=2;break;case 16:f=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:f=32;break;case 536870912:f=268435456;break;default:f=0}f=(f&(d.suspendedLanes|x))!==0?0:f,f!==0&&f!==m.retryLane&&(m.retryLane=f,Zn(r,f),En(d,r,f,-1))}return Sd(),d=nd(Error(n(421))),Nl(r,s,x,d)}return f.data==="$?"?(s.flags|=128,s.child=r.child,s=nk.bind(null,r),f._reactRetry=s,null):(r=m.treeContext,en=wr(f.nextSibling),Zt=s,Ke=!0,jn=null,r!==null&&(an[ln++]=Xn,an[ln++]=Jn,an[ln++]=os,Xn=r.id,Jn=r.overflow,os=s),s=ld(s,d.children),s.flags|=4096,s)}function Eg(r,s,a){r.lanes|=s;var d=r.alternate;d!==null&&(d.lanes|=s),Mu(r.return,s,a)}function cd(r,s,a,d,f){var m=r.memoizedState;m===null?r.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:d,tail:a,tailMode:f}:(m.isBackwards=s,m.rendering=null,m.renderingStartTime=0,m.last=d,m.tail=a,m.tailMode=f)}function Tg(r,s,a){var d=s.pendingProps,f=d.revealOrder,m=d.tail;if(Dt(r,s,d.children,a),d=Qe.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&&Eg(r,a,s);else if(r.tag===19)Eg(r,a,s);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===s)break e;for(;r.sibling===null;){if(r.return===null||r.return===s)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}d&=1}if(ze(Qe,d),(s.mode&1)===0)s.memoizedState=null;else switch(f){case"forwards":for(a=s.child,f=null;a!==null;)r=a.alternate,r!==null&&vl(r)===null&&(f=a),a=a.sibling;a=f,a===null?(f=s.child,s.child=null):(f=a.sibling,a.sibling=null),cd(s,!1,f,a,m);break;case"backwards":for(a=null,f=s.child,s.child=null;f!==null;){if(r=f.alternate,r!==null&&vl(r)===null){s.child=f;break}r=f.sibling,f.sibling=a,a=f,f=r}cd(s,!0,a,null,m);break;case"together":cd(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 tr(r,s,a){if(r!==null&&(s.dependencies=r.dependencies),ds|=s.lanes,(a&s.childLanes)===0)return null;if(r!==null&&s.child!==r.child)throw Error(n(153));if(s.child!==null){for(r=s.child,a=Rr(r,r.pendingProps),s.child=a,a.return=s;r.sibling!==null;)r=r.sibling,a=a.sibling=Rr(r,r.pendingProps),a.return=s;a.sibling=null}return s.child}function W2(r,s,a){switch(s.tag){case 3:Sg(s),oi();break;case 5:zm(s);break;case 1:$t(s.type)&&ll(s);break;case 4:zu(s,s.stateNode.containerInfo);break;case 10:var d=s.type._context,f=s.memoizedProps.value;ze(pl,d._currentValue),d._currentValue=f;break;case 13:if(d=s.memoizedState,d!==null)return d.dehydrated!==null?(ze(Qe,Qe.current&1),s.flags|=128,null):(a&s.child.childLanes)!==0?Cg(r,s,a):(ze(Qe,Qe.current&1),r=tr(r,s,a),r!==null?r.sibling:null);ze(Qe,Qe.current&1);break;case 19:if(d=(a&s.childLanes)!==0,(r.flags&128)!==0){if(d)return Tg(r,s,a);s.flags|=128}if(f=s.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),ze(Qe,Qe.current),d)break;return null;case 22:case 23:return s.lanes=0,wg(r,s,a)}return tr(r,s,a)}var Pg,ud,Ag,_g;Pg=function(r,s){for(var a=s.child;a!==null;){if(a.tag===5||a.tag===6)r.appendChild(a.stateNode);else if(a.tag!==4&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===s)break;for(;a.sibling===null;){if(a.return===null||a.return===s)return;a=a.return}a.sibling.return=a.return,a=a.sibling}},ud=function(){},Ag=function(r,s,a,d){var f=r.memoizedProps;if(f!==d){r=s.stateNode,cs(Dn.current);var m=null;switch(a){case"input":f=ns(r,f),d=ns(r,d),m=[];break;case"select":f=Z({},f,{value:void 0}),d=Z({},d,{value:void 0}),m=[];break;case"textarea":f=Kn(r,f),d=Kn(r,d),m=[];break;default:typeof f.onClick!="function"&&typeof d.onClick=="function"&&(r.onclick=il)}Wc(a,d);var x;a=null;for(V in f)if(!d.hasOwnProperty(V)&&f.hasOwnProperty(V)&&f[V]!=null)if(V==="style"){var C=f[V];for(x in C)C.hasOwnProperty(x)&&(a||(a={}),a[x]="")}else V!=="dangerouslySetInnerHTML"&&V!=="children"&&V!=="suppressContentEditableWarning"&&V!=="suppressHydrationWarning"&&V!=="autoFocus"&&(o.hasOwnProperty(V)?m||(m=[]):(m=m||[]).push(V,null));for(V in d){var _=d[V];if(C=f!=null?f[V]:void 0,d.hasOwnProperty(V)&&_!==C&&(_!=null||C!=null))if(V==="style")if(C){for(x in C)!C.hasOwnProperty(x)||_&&_.hasOwnProperty(x)||(a||(a={}),a[x]="");for(x in _)_.hasOwnProperty(x)&&C[x]!==_[x]&&(a||(a={}),a[x]=_[x])}else a||(m||(m=[]),m.push(V,a)),a=_;else V==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,C=C?C.__html:void 0,_!=null&&C!==_&&(m=m||[]).push(V,_)):V==="children"?typeof _!="string"&&typeof _!="number"||(m=m||[]).push(V,""+_):V!=="suppressContentEditableWarning"&&V!=="suppressHydrationWarning"&&(o.hasOwnProperty(V)?(_!=null&&V==="onScroll"&&We("scroll",r),m||C===_||(m=[])):(m=m||[]).push(V,_))}a&&(m=m||[]).push("style",a);var V=m;(s.updateQueue=V)&&(s.flags|=4)}},_g=function(r,s,a,d){a!==d&&(s.flags|=4)};function Io(r,s){if(!Ke)switch(r.tailMode){case"hidden":s=r.tail;for(var a=null;s!==null;)s.alternate!==null&&(a=s),s=s.sibling;a===null?r.tail=null:a.sibling=null;break;case"collapsed":a=r.tail;for(var d=null;a!==null;)a.alternate!==null&&(d=a),a=a.sibling;d===null?s||r.tail===null?r.tail=null:r.tail.sibling=null:d.sibling=null}}function _t(r){var s=r.alternate!==null&&r.alternate.child===r.child,a=0,d=0;if(s)for(var f=r.child;f!==null;)a|=f.lanes|f.childLanes,d|=f.subtreeFlags&14680064,d|=f.flags&14680064,f.return=r,f=f.sibling;else for(f=r.child;f!==null;)a|=f.lanes|f.childLanes,d|=f.subtreeFlags,d|=f.flags,f.return=r,f=f.sibling;return r.subtreeFlags|=d,r.childLanes=a,s}function q2(r,s,a){var d=s.pendingProps;switch(Ru(s),s.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _t(s),null;case 1:return $t(s.type)&&al(),_t(s),null;case 3:return d=s.stateNode,ui(),qe(zt),qe(Pt),qu(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(r===null||r.child===null)&&(hl(s)?s.flags|=4:r===null||r.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,jn!==null&&(wd(jn),jn=null))),ud(r,s),_t(s),null;case 5:$u(s);var f=cs(Ao.current);if(a=s.type,r!==null&&s.stateNode!=null)Ag(r,s,a,d,f),r.ref!==s.ref&&(s.flags|=512,s.flags|=2097152);else{if(!d){if(s.stateNode===null)throw Error(n(166));return _t(s),null}if(r=cs(Dn.current),hl(s)){d=s.stateNode,a=s.type;var m=s.memoizedProps;switch(d[Bn]=s,d[No]=m,r=(s.mode&1)!==0,a){case"dialog":We("cancel",d),We("close",d);break;case"iframe":case"object":case"embed":We("load",d);break;case"video":case"audio":for(f=0;f<ko.length;f++)We(ko[f],d);break;case"source":We("error",d);break;case"img":case"image":case"link":We("error",d),We("load",d);break;case"details":We("toggle",d);break;case"input":on(d,m),We("invalid",d);break;case"select":d._wrapperState={wasMultiple:!!m.multiple},We("invalid",d);break;case"textarea":pp(d,m),We("invalid",d)}Wc(a,m),f=null;for(var x in m)if(m.hasOwnProperty(x)){var C=m[x];x==="children"?typeof C=="string"?d.textContent!==C&&(m.suppressHydrationWarning!==!0&&sl(d.textContent,C,r),f=["children",C]):typeof C=="number"&&d.textContent!==""+C&&(m.suppressHydrationWarning!==!0&&sl(d.textContent,C,r),f=["children",""+C]):o.hasOwnProperty(x)&&C!=null&&x==="onScroll"&&We("scroll",d)}switch(a){case"input":vn(d),xn(d,m,!0);break;case"textarea":vn(d),gp(d);break;case"select":case"option":break;default:typeof m.onClick=="function"&&(d.onclick=il)}d=f,s.updateQueue=d,d!==null&&(s.flags|=4)}else{x=f.nodeType===9?f:f.ownerDocument,r==="http://www.w3.org/1999/xhtml"&&(r=yp(a)),r==="http://www.w3.org/1999/xhtml"?a==="script"?(r=x.createElement("div"),r.innerHTML="<script><\/script>
40",r=r.removeChild(r.firstChild)):typeof d.is=="string"?r=x.createElement(a,{is:d.is}):(r=x.createElement(a),a==="select"&&(x=r,d.multiple?x.multiple=!0:d.size&&(x.size=d.size))):r=x.createElementNS(r,a),r[Bn]=s,r[No]=d,Pg(r,s,!1,!1),s.stateNode=r;e:{switch(x=qc(a,d),a){case"dialog":We("cancel",r),We("close",r),f=d;break;case"iframe":case"object":case"embed":We("load",r),f=d;break;case"video":case"audio":for(f=0;f<ko.length;f++)We(ko[f],r);f=d;break;case"source":We("error",r),f=d;break;case"img":case"image":case"link":We("error",r),We("load",r),f=d;break;case"details":We("toggle",r),f=d;break;case"input":on(r,d),f=ns(r,d),We("invalid",r);break;case"option":f=d;break;case"select":r._wrapperState={wasMultiple:!!d.multiple},f=Z({},d,{value:void 0}),We("invalid",r);break;case"textarea":pp(r,d),f=Kn(r,d),We("invalid",r);break;default:f=d}Wc(a,f),C=f;for(m in C)if(C.hasOwnProperty(m)){var _=C[m];m==="style"?bp(r,_):m==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,_!=null&&vp(r,_)):m==="children"?typeof _=="string"?(a!=="textarea"||_!=="")&&no(r,_):typeof _=="number"&&no(r,""+_):m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&m!=="autoFocus"&&(o.hasOwnProperty(m)?_!=null&&m==="onScroll"&&We("scroll",r):_!=null&&T(r,m,_,x))}switch(a){case"input":vn(r),xn(r,d,!1);break;case"textarea":vn(r),gp(r);break;case"option":d.value!=null&&r.setAttribute("value",""+Ae(d.value));break;case"select":r.multiple=!!d.multiple,m=d.value,m!=null?pr(r,!!d.multiple,m,!1):d.defaultValue!=null&&pr(r,!!d.multiple,d.defaultValue,!0);break;default:typeof f.onClick=="function"&&(r.onclick=il)}switch(a){case"button":case"input":case"select":case"textarea":d=!!d.autoFocus;break e;case"img":d=!0;break e;default:d=!1}}d&&(s.flags|=4)}s.ref!==null&&(s.flags|=512,s.flags|=2097152)}return _t(s),null;case 6:if(r&&s.stateNode!=null)_g(r,s,r.memoizedProps,d);else{if(typeof d!="string"&&s.stateNode===null)throw Error(n(166));if(a=cs(Ao.current),cs(Dn.current),hl(s)){if(d=s.stateNode,a=s.memoizedProps,d[Bn]=s,(m=d.nodeValue!==a)&&(r=Zt,r!==null))switch(r.tag){case 3:sl(d.nodeValue,a,(r.mode&1)!==0);break;case 5:r.memoizedProps.suppressHydrationWarning!==!0&&sl(d.nodeValue,a,(r.mode&1)!==0)}m&&(s.flags|=4)}else d=(a.nodeType===9?a:a.ownerDocument).createTextNode(d),d[Bn]=s,s.stateNode=d}return _t(s),null;case 13:if(qe(Qe),d=s.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(Ke&&en!==null&&(s.mode&1)!==0&&(s.flags&128)===0)Lm(),oi(),s.flags|=98560,m=!1;else if(m=hl(s),d!==null&&d.dehydrated!==null){if(r===null){if(!m)throw Error(n(318));if(m=s.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(n(317));m[Bn]=s}else oi(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;_t(s),m=!1}else jn!==null&&(wd(jn),jn=null),m=!0;if(!m)return s.flags&65536?s:null}return(s.flags&128)!==0?(s.lanes=a,s):(d=d!==null,d!==(r!==null&&r.memoizedState!==null)&&d&&(s.child.flags|=8192,(s.mode&1)!==0&&(r===null||(Qe.current&1)!==0?mt===0&&(mt=3):Sd())),s.updateQueue!==null&&(s.flags|=4),_t(s),null);case 4:return ui(),ud(r,s),r===null&&jo(s.stateNode.containerInfo),_t(s),null;case 10:return Fu(s.type._context),_t(s),null;case 17:return $t(s.type)&&al(),_t(s),null;case 19:if(qe(Qe),m=s.memoizedState,m===null)return _t(s),null;if(d=(s.flags&128)!==0,x=m.rendering,x===null)if(d)Io(m,!1);else{if(mt!==0||r!==null&&(r.flags&128)!==0)for(r=s.child;r!==null;){if(x=vl(r),x!==null){for(s.flags|=128,Io(m,!1),d=x.updateQueue,d!==null&&(s.updateQueue=d,s.flags|=4),s.subtreeFlags=0,d=a,a=s.child;a!==null;)m=a,r=d,m.flags&=14680066,x=m.alternate,x===null?(m.childLanes=0,m.lanes=r,m.child=null,m.subtreeFlags=0,m.memoizedProps=null,m.memoizedState=null,m.updateQueue=null,m.dependencies=null,m.stateNode=null):(m.childLanes=x.childLanes,m.lanes=x.lanes,m.child=x.child,m.subtreeFlags=0,m.deletions=null,m.memoizedProps=x.memoizedProps,m.memoizedState=x.memoizedState,m.updateQueue=x.updateQueue,m.type=x.type,r=x.dependencies,m.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),a=a.sibling;return ze(Qe,Qe.current&1|2),s.child}r=r.sibling}m.tail!==null&&it()>pi&&(s.flags|=128,d=!0,Io(m,!1),s.lanes=4194304)}else{if(!d)if(r=vl(x),r!==null){if(s.flags|=128,d=!0,a=r.updateQueue,a!==null&&(s.updateQueue=a,s.flags|=4),Io(m,!0),m.tail===null&&m.tailMode==="hidden"&&!x.alternate&&!Ke)return _t(s),null}else 2*it()-m.renderingStartTime>pi&&a!==1073741824&&(s.flags|=128,d=!0,Io(m,!1),s.lanes=4194304);m.isBackwards?(x.sibling=s.child,s.child=x):(a=m.last,a!==null?a.sibling=x:s.child=x,m.last=x)}return m.tail!==null?(s=m.tail,m.rendering=s,m.tail=s.sibling,m.renderingStartTime=it(),s.sibling=null,a=Qe.current,ze(Qe,d?a&1|2:a&1),s):(_t(s),null);case 22:case 23:return jd(),d=s.memoizedState!==null,r!==null&&r.memoizedState!==null!==d&&(s.flags|=8192),d&&(s.mode&1)!==0?(tn&1073741824)!==0&&(_t(s),s.subtreeFlags&6&&(s.flags|=8192)):_t(s),null;case 24:return null;case 25:return null}throw Error(n(156,s.tag))}function H2(r,s){switch(Ru(s),s.tag){case 1:return $t(s.type)&&al(),r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 3:return ui(),qe(zt),qe(Pt),qu(),r=s.flags,(r&65536)!==0&&(r&128)===0?(s.flags=r&-65537|128,s):null;case 5:return $u(s),null;case 13:if(qe(Qe),r=s.memoizedState,r!==null&&r.dehydrated!==null){if(s.alternate===null)throw Error(n(340));oi()}return r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 19:return qe(Qe),null;case 4:return ui(),null;case 10:return Fu(s.type._context),null;case 22:case 23:return jd(),null;case 24:return null;default:return null}}var El=!1,Rt=!1,Y2=typeof WeakSet=="function"?WeakSet:Set,se=null;function hi(r,s){var a=r.ref;if(a!==null)if(typeof a=="function")try{a(null)}catch(d){et(r,s,d)}else a.current=null}function dd(r,s,a){try{a()}catch(d){et(r,s,d)}}var Rg=!1;function K2(r,s){if(ju=Ya,r=um(),mu(r)){if("selectionStart"in r)var a={start:r.selectionStart,end:r.selectionEnd};else e:{a=(a=r.ownerDocument)&&a.defaultView||window;var d=a.getSelection&&a.getSelection();if(d&&d.rangeCount!==0){a=d.anchorNode;var f=d.anchorOffset,m=d.focusNode;d=d.focusOffset;try{a.nodeType,m.nodeType}catch{a=null;break e}var x=0,C=-1,_=-1,V=0,K=0,X=r,Y=null;t:for(;;){for(var te;X!==a||f!==0&&X.nodeType!==3||(C=x+f),X!==m||d!==0&&X.nodeType!==3||(_=x+d),X.nodeType===3&&(x+=X.nodeValue.length),(te=X.firstChild)!==null;)Y=X,X=te;for(;;){if(X===r)break t;if(Y===a&&++V===f&&(C=x),Y===m&&++K===d&&(_=x),(te=X.nextSibling)!==null)break;X=Y,Y=X.parentNode}X=te}a=C===-1||_===-1?null:{start:C,end:_}}else a=null}a=a||{start:0,end:0}}else a=null;for(Su={focusedElem:r,selectionRange:a},Ya=!1,se=s;se!==null;)if(s=se,r=s.child,(s.subtreeFlags&1028)!==0&&r!==null)r.return=s,se=r;else for(;se!==null;){s=se;try{var oe=s.alternate;if((s.flags&1024)!==0)switch(s.tag){case 0:case 11:case 15:break;case 1:if(oe!==null){var ue=oe.memoizedProps,ot=oe.memoizedState,F=s.stateNode,L=F.getSnapshotBeforeUpdate(s.elementType===s.type?ue:Sn(s.type,ue),ot);F.__reactInternalSnapshotBeforeUpdate=L}break;case 3:var M=s.stateNode.containerInfo;M.nodeType===1?M.textContent="":M.nodeType===9&&M.documentElement&&M.removeChild(M.documentElement);break;
vendor: 13,896 bytes, line 40
40case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(J){et(s,s.return,J)}if(r=s.sibling,r!==null){r.return=s.return,se=r;break}se=s.return}return oe=Rg,Rg=!1,oe}function Bo(r,s,a){var d=s.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var f=d=d.next;do{if((f.tag&r)===r){var m=f.destroy;f.destroy=void 0,m!==void 0&&dd(s,a,m)}f=f.next}while(f!==d)}}function Tl(r,s){if(s=s.updateQueue,s=s!==null?s.lastEffect:null,s!==null){var a=s=s.next;do{if((a.tag&r)===r){var d=a.create;a.destroy=d()}a=a.next}while(a!==s)}}function hd(r){var s=r.ref;if(s!==null){var a=r.stateNode;switch(r.tag){case 5:r=a;break;default:r=a}typeof s=="function"?s(r):s.current=r}}function Og(r){var s=r.alternate;s!==null&&(r.alternate=null,Og(s)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(s=r.stateNode,s!==null&&(delete s[Bn],delete s[No],delete s[Tu],delete s[A2],delete s[_2])),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 Lg(r){return r.tag===5||r.tag===3||r.tag===4}function Ig(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||Lg(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 fd(r,s,a){var d=r.tag;if(d===5||d===6)r=r.stateNode,s?a.nodeType===8?a.parentNode.insertBefore(r,s):a.insertBefore(r,s):(a.nodeType===8?(s=a.parentNode,s.insertBefore(r,a)):(s=a,s.appendChild(r)),a=a._reactRootContainer,a!=null||s.onclick!==null||(s.onclick=il));else if(d!==4&&(r=r.child,r!==null))for(fd(r,s,a),r=r.sibling;r!==null;)fd(r,s,a),r=r.sibling}function pd(r,s,a){var d=r.tag;if(d===5||d===6)r=r.stateNode,s?a.insertBefore(r,s):a.appendChild(r);else if(d!==4&&(r=r.child,r!==null))for(pd(r,s,a),r=r.sibling;r!==null;)pd(r,s,a),r=r.sibling}var jt=null,Nn=!1;function Er(r,s,a){for(a=a.child;a!==null;)Bg(r,s,a),a=a.sibling}function Bg(r,s,a){if(In&&typeof In.onCommitFiberUnmount=="function")try{In.onCommitFiberUnmount(Ua,a)}catch{}switch(a.tag){case 5:Rt||hi(a,s);case 6:var d=jt,f=Nn;jt=null,Er(r,s,a),jt=d,Nn=f,jt!==null&&(Nn?(r=jt,a=a.stateNode,r.nodeType===8?r.parentNode.removeChild(a):r.removeChild(a)):jt.removeChild(a.stateNode));break;case 18:jt!==null&&(Nn?(r=jt,a=a.stateNode,r.nodeType===8?Eu(r.parentNode,a):r.nodeType===1&&Eu(r,a),po(r)):Eu(jt,a.stateNode));break;case 4:d=jt,f=Nn,jt=a.stateNode.containerInfo,Nn=!0,Er(r,s,a),jt=d,Nn=f;break;case 0:case 11:case 14:case 15:if(!Rt&&(d=a.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){f=d=d.next;do{var m=f,x=m.destroy;m=m.tag,x!==void 0&&((m&2)!==0||(m&4)!==0)&&dd(a,s,x),f=f.next}while(f!==d)}Er(r,s,a);break;case 1:if(!Rt&&(hi(a,s),d=a.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=a.memoizedProps,d.state=a.memoizedState,d.componentWillUnmount()}catch(C){et(a,s,C)}Er(r,s,a);break;case 21:Er(r,s,a);break;case 22:a.mode&1?(Rt=(d=Rt)||a.memoizedState!==null,Er(r,s,a),Rt=d):Er(r,s,a);break;default:Er(r,s,a)}}function Dg(r){var s=r.updateQueue;if(s!==null){r.updateQueue=null;var a=r.stateNode;a===null&&(a=r.stateNode=new Y2),s.forEach(function(d){var f=rk.bind(null,r,d);a.has(d)||(a.add(d),d.then(f,f))})}}function Cn(r,s){var a=s.deletions;if(a!==null)for(var d=0;d<a.length;d++){var f=a[d];try{var m=r,x=s,C=x;e:for(;C!==null;){switch(C.tag){case 5:jt=C.stateNode,Nn=!1;break e;case 3:jt=C.stateNode.containerInfo,Nn=!0;break e;case 4:jt=C.stateNode.containerInfo,Nn=!0;break e}C=C.return}if(jt===null)throw Error(n(160));Bg(m,x,f),jt=null,Nn=!1;var _=f.alternate;_!==null&&(_.return=null),f.return=null}catch(V){et(f,s,V)}}if(s.subtreeFlags&12854)for(s=s.child;s!==null;)Fg(s,r),s=s.sibling}function Fg(r,s){var a=r.alternate,d=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(Cn(s,r),Mn(r),d&4){try{Bo(3,r,r.return),Tl(3,r)}catch(ue){et(r,r.return,ue)}try{Bo(5,r,r.return)}catch(ue){et(r,r.return,ue)}}break;case 1:Cn(s,r),Mn(r),d&512&&a!==null&&hi(a,a.return);break;case 5:if(Cn(s,r),Mn(r),d&512&&a!==null&&hi(a,a.return),r.flags&32){var f=r.stateNode;try{no(f,"")}catch(ue){et(r,r.return,ue)}}if(d&4&&(f=r.stateNode,f!=null)){var m=r.memoizedProps,x=a!==null?a.memoizedProps:m,C=r.type,_=r.updateQueue;if(r.updateQueue=null,_!==null)try{C==="input"&&m.type==="radio"&&m.name!=null&&Se(f,m),qc(C,x);var V=qc(C,m);for(x=0;x<_.length;x+=2){var K=_[x],X=_[x+1];K==="style"?bp(f,X):K==="dangerouslySetInnerHTML"?vp(f,X):K==="children"?no(f,X):T(f,K,X,V)}switch(C){case"input":kt(f,m);break;case"textarea":mp(f,m);break;case"select":var Y=f._wrapperState.wasMultiple;f._wrapperState.wasMultiple=!!m.multiple;var te=m.value;te!=null?pr(f,!!m.multiple,te,!1):Y!==!!m.multiple&&(m.defaultValue!=null?pr(f,!!m.multiple,m.defaultValue,!0):pr(f,!!m.multiple,m.multiple?[]:"",!1))}f[No]=m}catch(ue){et(r,r.return,ue)}}break;case 6:if(Cn(s,r),Mn(r),d&4){if(r.stateNode===null)throw Error(n(162));f=r.stateNode,m=r.memoizedProps;try{f.nodeValue=m}catch(ue){et(r,r.return,ue)}}break;case 3:if(Cn(s,r),Mn(r),d&4&&a!==null&&a.memoizedState.isDehydrated)try{po(s.containerInfo)}catch(ue){et(r,r.return,ue)}break;case 4:Cn(s,r),Mn(r);break;case 13:Cn(s,r),Mn(r),f=r.child,f.flags&8192&&(m=f.memoizedState!==null,f.stateNode.isHidden=m,!m||f.alternate!==null&&f.alternate.memoizedState!==null||(yd=it())),d&4&&Dg(r);break;case 22:if(K=a!==null&&a.memoizedState!==null,r.mode&1?(Rt=(V=Rt)||K,Cn(s,r),Rt=V):Cn(s,r),Mn(r),d&8192){if(V=r.memoizedState!==null,(r.stateNode.isHidden=V)&&!K&&(r.mode&1)!==0)for(se=r,K=r.child;K!==null;){for(X=se=K;se!==null;){switch(Y=se,te=Y.child,Y.tag){case 0:case 11:case 14:case 15:Bo(4,Y,Y.return);break;case 1:hi(Y,Y.return);var oe=Y.stateNode;if(typeof oe.componentWillUnmount=="function"){d=Y,a=Y.return;try{s=d,oe.props=s.memoizedProps,oe.state=s.memoizedState,oe.componentWillUnmount()}catch(ue){et(d,a,ue)}}break;case 5:hi(Y,Y.return);break;case 22:if(Y.memoizedState!==null){Ug(X);continue}}te!==null?(te.return=Y,se=te):Ug(X)}K=K.sibling}e:for(K=null,X=r;;){if(X.tag===5){if(K===null){K=X;try{f=X.stateNode,V?(m=f.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none"):(C=X.stateNode,_=X.memoizedProps.style,x=_!=null&&_.hasOwnProperty("display")?_.display:null,C.style.display=xp("display",x))}catch(ue){et(r,r.return,ue)}}}else if(X.tag===6){if(K===null)try{X.stateNode.nodeValue=V?"":X.memoizedProps}catch(ue){et(r,r.return,ue)}}else if((X.tag!==22&&X.tag!==23||X.memoizedState===null||X===r)&&X.child!==null){X.child.return=X,X=X.child;continue}if(X===r)break e;for(;X.sibling===null;){if(X.return===null||X.return===r)break e;K===X&&(K=null),X=X.return}K===X&&(K=null),X.sibling.return=X.return,X=X.sibling}}break;case 19:Cn(s,r),Mn(r),d&4&&Dg(r);break;case 21:break;default:Cn(s,r),Mn(r)}}function Mn(r){var s=r.flags;if(s&2){try{e:{for(var a=r.return;a!==null;){if(Lg(a)){var d=a;break e}a=a.return}throw Error(n(160))}switch(d.tag){case 5:var f=d.stateNode;d.flags&32&&(no(f,""),d.flags&=-33);var m=Ig(r);pd(r,m,f);break;case 3:case 4:var x=d.stateNode.containerInfo,C=Ig(r);fd(r,C,x);break;default:throw Error(n(161))}}catch(_){et(r,r.return,_)}r.flags&=-3}s&4096&&(r.flags&=-4097)}function G2(r,s,a){se=r,Mg(r)}function Mg(r,s,a){for(var d=(r.mode&1)!==0;se!==null;){var f=se,m=f.child;if(f.tag===22&&d){var x=f.memoizedState!==null||El;if(!x){var C=f.alternate,_=C!==null&&C.memoizedState!==null||Rt;C=El;var V=Rt;if(El=x,(Rt=_)&&!V)for(se=f;se!==null;)x=se,_=x.child,x.tag===22&&x.memoizedState!==null?zg(f):_!==null?(_.return=x,se=_):zg(f);for(;m!==null;)se=m,Mg(m),m=m.sibling;se=f,El=C,Rt=V}Vg(r)}else(f.subtreeFlags&8772)!==0&&m!==null?(m.return=f,se=m):Vg(r)}}function Vg(r){for(;se!==null;){var s=se;if((s.flags&8772)!==0){var a=s.alternate;try{if((s.flags&8772)!==0)switch(s.tag){case 0:case 11:case 15:Rt||Tl(5,s);break;case 1:var d=s.stateNode;if(s.flags&4&&!Rt)if(a===null)d.componentDidMount();else{var f=s.elementType===s.type?a.memoizedProps:Sn(s.type,a.memoizedProps);d.componentDidUpdate(f,a.memoizedState,d.__reactInternalSnapshotBeforeUpdate)}var m=s.updateQueue;m!==null&&Um(s,m,d);break;case 3:var x=s.updateQueue;if(x!==null){if(a=null,s.child!==null)switch(s.child.tag){case 5:a=s.child.stateNode;break;case 1:a=s.child.stateNode}Um(s,x,a)}break;case 5:var C=s.stateNode;if(a===null&&s.flags&4){a=C;var _=s.memoizedProps;switch(s.type){case"button":case"input":case"select":case"textarea":_.autoFocus&&a.focus();break;case"img":_.src&&(a.src=_.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(s.memoizedState===null){var V=s.alternate;if(V!==null){var K=V.memoizedState;if(K!==null){var X=K.dehydrated;X!==null&&po(X)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}Rt||s.flags&512&&hd(s)}catch(Y){et(s,s.return,Y)}}if(s===r){se=null;break}if(a=s.sibling,a!==null){a.return=s.return,se=a;break}se=s.return}}function Ug(r){for(;se!==null;){var s=se;if(s===r){se=null;break}var a=s.sibling;if(a!==null){a.return=s.return,se=a;break}se=s.return}}function zg(r){for(;se!==null;){var s=se;try{switch(s.tag){case 0:case 11:case 15:var a=s.return;try{Tl(4,s)}catch(_){et(s,a,_)}break;case 1:var d=s.stateNode;if(typeof d.componentDidMount=="function"){var f=s.return;try{d.componentDidMount()}catch(_){et(s,f,_)}}var m=s.return;try{hd(s)}catch(_){et(s,m,_)}break;case 5:var x=s.return;try{hd(s)}catch(_){et(s,x,_)}}}catch(_){et(s,s.return,_)}if(s===r){se=null;break}var C=s.sibling;if(C!==null){C.return=s.return,se=C;break}se=s.return}}var Q2=Math.ceil,Pl=O.ReactCurrentDispatcher,md=O.ReactCurrentOwner,dn=O.ReactCurrentBatchConfig,Oe=0,vt=null,ut=null,St=0,tn=0,fi=kr(0),mt=0,Do=null,ds=0,Al=0,gd=0,Fo=null,qt=null,yd=0,pi=1/0,nr=null,_l=!1,vd=null,Tr=null,Rl=!1,Pr=null,Ol=0,Mo=0,xd=null,Ll=-1,Il=0;function Ft(){return(Oe&6)!==0?it():Ll!==-1?Ll:Ll=it()}function Ar(r){return(r.mode&1)===0?1:(Oe&2)!==0&&St!==0?St&-St:O2.transition!==null?(Il===0&&(Il=Ip()),Il):(r=Me,r!==0||(r=window.event,r=r===void 0?16:Wp(r.type)),r)}function En(r,s,a,d){if(50<Mo)throw Mo=0,xd=null,Error(n(185));lo(r,a,d),((Oe&2)===0||r!==vt)&&(r===vt&&((Oe&2)===0&&(Al|=a),mt===4&&_r(r,St)),Ht(r,d),a===1&&Oe===0&&(s.mode&1)===0&&(pi=it()+500,cl&&Sr()))}function Ht(r,s){var a=r.callbackNode;O1(r,s);var d=Wa(r,r===vt?St:0);if(d===0)a!==null&&Rp(a),r.callbackNode=null,r.callbackPriority=0;else if(s=d&-d,r.callbackPriority!==s){if(a!=null&&Rp(a),s===1)r.tag===0?R2(Wg.bind(null,r)):Pm(Wg.bind(null,r)),T2(function(){(Oe&6)===0&&Sr()}),a=null;else{switch(Bp(d)){case 1:a=Jc;break;case 4:a=Op;break;case 16:a=Va;break;case 536870912:a=Lp;break;default:a=Va}a=Jg(a,$g.bind(null,r))}r.callbackPriority=s,r.callbackNode=a}}function $g(r,s){if(Ll=-1,Il=0,(Oe&6)!==0)throw Error(n(327));var a=r.callbackNode;if(mi()&&r.callbackNode!==a)return null;var d=Wa(r,r===vt?St:0);if(d===0)return null;if((d&30)!==0||(d&r.expiredLanes)!==0||s)s=Bl(r,d);else{s=d;var f=Oe;Oe|=2;var m=Hg();(vt!==r||St!==s)&&(nr=null,pi=it()+500,fs(r,s));do try{Z2();break}catch(C){qg(r,C)}while(!0);Du(),Pl.current=m,Oe=f,ut!==null?s=0:(vt=null,St=0,s=mt)}if(s!==0){if(s===2&&(f=Zc(r),f!==0&&(d=f,s=bd(r,f))),s===1)throw a=Do,fs(r,0),_r(r,d),Ht(r,it()),a;if(s===6)_r(r,d);else{if(f=r.current.alternate,(d&30)===0&&!X2(f)&&(s=Bl(r,d),s===2&&(m=Zc(r),m!==0&&(d=m,s=bd(r,m))),s===1))throw a=Do,fs(r,0),_r(r,d),Ht(r,it()),a;switch(r.finishedWork=f,r.finishedLanes=d,s){case 0:case 1:throw Error(n(345));case 2:ps(r,qt,nr);break;case 3:if(_r(r,d),(d&130023424)===d&&(s=yd+500-it(),10<s)){if(Wa(r,0)!==0)break;if(f=r.suspendedLanes,(f&d)!==d){Ft(),r.pingedLanes|=r.suspendedLanes&f;break}r.timeoutHandle=Cu(ps.bind(null,r,qt,nr),s);break}ps(r,qt,nr);break;case 4:if(_r(r,d),(d&4194240)===d)break;for(s=r.eventTimes,f=-1;0<d;){var x=31-wn(d);m=1<<x,x=s[x],x>f&&(f=x),d&=~m}if(d=f,d=it()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*Q2(d/1960))-d,10<d){r.timeoutHandle=Cu(ps.bind(null,r,qt,nr),d);break}ps(r,qt,nr);break;case 5:ps(r,qt,nr);break;default:throw Error(n(329))}}}return Ht(r,it()),r.callbackNode===a?$g.bind(null,r):null}function bd(r,s){var a=Fo;return r.current.memoizedState.isDehydrated&&(fs(r,s).flags|=256),r=Bl(r,s),r!==2&&(s=qt,qt=a,s!==null&&wd(s)),r}function wd(r){qt===null?qt=r:qt.push.apply(qt,r)}function X2(r){for(var s=r;;){if(s.flags&16384){var a=s.updateQueue;if(a!==null&&(a=a.stores,a!==null))for(var d=0;d<a.length;d++){var f=a[d],m=f.getSnapshot;f=f.value;try{if(!kn(m(),f))return!1}catch{return!1}}}if(a=s.child,s.subtreeFlags&16384&&a!==null)a.return=s,s=a;else{if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function _r(r,s){for(s&=~gd,s&=~Al,r.suspendedLanes|=s,r.pingedLanes&=~s,r=r.expirationTimes;0<s;){var a=31-wn(s),d=1<<a;r[a]=-1,s&=~d}}function Wg(r){if((Oe&6)!==0)throw Error(n(327));mi();var s=Wa(r,0);if((s&1)===0)return Ht(r,it()),null;var a=Bl(r,s);if(r.tag!==0&&a===2){var d=Zc(r);d!==0&&(s=d,a=bd(r,d))}if(a===1)throw a=Do,fs(r,0),_r(r,s),Ht(r,it()),a;if(a===6)throw Error(n(345));return r.finishedWork=r.current.alternate,r.finishedLanes=s,ps(r,qt,nr),Ht(r,it()),null}function kd(r,s){var a=Oe;Oe|=1;try{return r(s)}finally{Oe=a,Oe===0&&(pi=it()+500,cl&&Sr())}}function hs(r){Pr!==null&&Pr.tag===0&&(Oe&6)===0&&mi();var s=Oe;Oe|=1;var a=dn.transition,d=Me;try{if(dn.transition=null,Me=1,r)return r()}finally{Me=d,dn.transition=a,Oe=s,(Oe&6)===0&&Sr()}}function jd(){tn=fi.current,qe(fi)}function fs(r,s){r.finishedWork=null,r.finishedLanes=0;var a=r.timeoutHandle;if(a!==-1&&(r.timeoutHandle=-1,E2(a)),ut!==null)for(a=ut.return;a!==null;){var d=a;switch(Ru(d),d.tag){case 1:d=d.type.childContextTypes,d!=null&&al();break;case 3:ui(),qe(zt),qe(Pt),qu();break;case 5:$u(d);break;case 4:ui();break;case 13:qe(Qe);break;
vendor: 6,841 bytes, line 40
40case 19:qe(Qe);break;case 10:Fu(d.type._context);break;case 22:case 23:jd()}a=a.return}if(vt=r,ut=r=Rr(r.current,null),St=tn=s,mt=0,Do=null,gd=Al=ds=0,qt=Fo=null,ls!==null){for(s=0;s<ls.length;s++)if(a=ls[s],d=a.interleaved,d!==null){a.interleaved=null;var f=d.next,m=a.pending;if(m!==null){var x=m.next;m.next=f,d.next=x}a.pending=d}ls=null}return r}function qg(r,s){do{var a=ut;try{if(Du(),xl.current=jl,bl){for(var d=Xe.memoizedState;d!==null;){var f=d.queue;f!==null&&(f.pending=null),d=d.next}bl=!1}if(us=0,yt=pt=Xe=null,_o=!1,Ro=0,md.current=null,a===null||a.return===null){mt=1,Do=s,ut=null;break}e:{var m=r,x=a.return,C=a,_=s;if(s=St,C.flags|=32768,_!==null&&typeof _=="object"&&typeof _.then=="function"){var V=_,K=C,X=K.tag;if((K.mode&1)===0&&(X===0||X===11||X===15)){var Y=K.alternate;Y?(K.updateQueue=Y.updateQueue,K.memoizedState=Y.memoizedState,K.lanes=Y.lanes):(K.updateQueue=null,K.memoizedState=null)}var te=gg(x);if(te!==null){te.flags&=-257,yg(te,x,C,m,s),te.mode&1&&mg(m,V,s),s=te,_=V;var oe=s.updateQueue;if(oe===null){var ue=new Set;ue.add(_),s.updateQueue=ue}else oe.add(_);break e}else{if((s&1)===0){mg(m,V,s),Sd();break e}_=Error(n(426))}}else if(Ke&&C.mode&1){var ot=gg(x);if(ot!==null){(ot.flags&65536)===0&&(ot.flags|=256),yg(ot,x,C,m,s),Iu(di(_,C));break e}}m=_=di(_,C),mt!==4&&(mt=2),Fo===null?Fo=[m]:Fo.push(m),m=x;do{switch(m.tag){case 3:m.flags|=65536,s&=-s,m.lanes|=s;var F=fg(m,_,s);Vm(m,F);break e;case 1:C=_;var L=m.type,M=m.stateNode;if((m.flags&128)===0&&(typeof L.getDerivedStateFromError=="function"||M!==null&&typeof M.componentDidCatch=="function"&&(Tr===null||!Tr.has(M)))){m.flags|=65536,s&=-s,m.lanes|=s;var J=pg(m,C,s);Vm(m,J);break e}}m=m.return}while(m!==null)}Kg(a)}catch(fe){s=fe,ut===a&&a!==null&&(ut=a=a.return);continue}break}while(!0)}function Hg(){var r=Pl.current;return Pl.current=jl,r===null?jl:r}function Sd(){(mt===0||mt===3||mt===2)&&(mt=4),vt===null||(ds&268435455)===0&&(Al&268435455)===0||_r(vt,St)}function Bl(r,s){var a=Oe;Oe|=2;var d=Hg();(vt!==r||St!==s)&&(nr=null,fs(r,s));do try{J2();break}catch(f){qg(r,f)}while(!0);if(Du(),Oe=a,Pl.current=d,ut!==null)throw Error(n(261));return vt=null,St=0,mt}function J2(){for(;ut!==null;)Yg(ut)}function Z2(){for(;ut!==null&&!S1();)Yg(ut)}function Yg(r){var s=Xg(r.alternate,r,tn);r.memoizedProps=r.pendingProps,s===null?Kg(r):ut=s,md.current=null}function Kg(r){var s=r;do{var a=s.alternate;if(r=s.return,(s.flags&32768)===0){if(a=q2(a,s,tn),a!==null){ut=a;return}}else{if(a=H2(a,s),a!==null){a.flags&=32767,ut=a;return}if(r!==null)r.flags|=32768,r.subtreeFlags=0,r.deletions=null;else{mt=6,ut=null;return}}if(s=s.sibling,s!==null){ut=s;return}ut=s=r}while(s!==null);mt===0&&(mt=5)}function ps(r,s,a){var d=Me,f=dn.transition;try{dn.transition=null,Me=1,ek(r,s,a,d)}finally{dn.transition=f,Me=d}return null}function ek(r,s,a,d){do mi();while(Pr!==null);if((Oe&6)!==0)throw Error(n(327));a=r.finishedWork;var f=r.finishedLanes;if(a===null)return null;if(r.finishedWork=null,r.finishedLanes=0,a===r.current)throw Error(n(177));r.callbackNode=null,r.callbackPriority=0;var m=a.lanes|a.childLanes;if(L1(r,m),r===vt&&(ut=vt=null,St=0),(a.subtreeFlags&2064)===0&&(a.flags&2064)===0||Rl||(Rl=!0,Jg(Va,function(){return mi(),null})),m=(a.flags&15990)!==0,(a.subtreeFlags&15990)!==0||m){m=dn.transition,dn.transition=null;var x=Me;Me=1;var C=Oe;Oe|=4,md.current=null,K2(r,a),Fg(a,r),b2(Su),Ya=!!ju,Su=ju=null,r.current=a,G2(a),N1(),Oe=C,Me=x,dn.transition=m}else r.current=a;if(Rl&&(Rl=!1,Pr=r,Ol=f),m=r.pendingLanes,m===0&&(Tr=null),T1(a.stateNode),Ht(r,it()),s!==null)for(d=r.onRecoverableError,a=0;a<s.length;a++)f=s[a],d(f.value,{componentStack:f.stack,digest:f.digest});if(_l)throw _l=!1,r=vd,vd=null,r;return(Ol&1)!==0&&r.tag!==0&&mi(),m=r.pendingLanes,(m&1)!==0?r===xd?Mo++:(Mo=0,xd=r):Mo=0,Sr(),null}function mi(){if(Pr!==null){var r=Bp(Ol),s=dn.transition,a=Me;try{if(dn.transition=null,Me=16>r?16:r,Pr===null)var d=!1;else{if(r=Pr,Pr=null,Ol=0,(Oe&6)!==0)throw Error(n(331));var f=Oe;for(Oe|=4,se=r.current;se!==null;){var m=se,x=m.child;if((se.flags&16)!==0){var C=m.deletions;if(C!==null){for(var _=0;_<C.length;_++){var V=C[_];for(se=V;se!==null;){var K=se;switch(K.tag){case 0:case 11:case 15:Bo(8,K,m)}var X=K.child;if(X!==null)X.return=K,se=X;else for(;se!==null;){K=se;var Y=K.sibling,te=K.return;if(Og(K),K===V){se=null;break}if(Y!==null){Y.return=te,se=Y;break}se=te}}}var oe=m.alternate;if(oe!==null){var ue=oe.child;if(ue!==null){oe.child=null;do{var ot=ue.sibling;ue.sibling=null,ue=ot}while(ue!==null)}}se=m}}if((m.subtreeFlags&2064)!==0&&x!==null)x.return=m,se=x;else e:for(;se!==null;){if(m=se,(m.flags&2048)!==0)switch(m.tag){case 0:case 11:case 15:Bo(9,m,m.return)}var F=m.sibling;if(F!==null){F.return=m.return,se=F;break e}se=m.return}}var L=r.current;for(se=L;se!==null;){x=se;var M=x.child;if((x.subtreeFlags&2064)!==0&&M!==null)M.return=x,se=M;else e:for(x=L;se!==null;){if(C=se,(C.flags&2048)!==0)try{switch(C.tag){case 0:case 11:case 15:Tl(9,C)}}catch(fe){et(C,C.return,fe)}if(C===x){se=null;break e}var J=C.sibling;if(J!==null){J.return=C.return,se=J;break e}se=C.return}}if(Oe=f,Sr(),In&&typeof In.onPostCommitFiberRoot=="function")try{In.onPostCommitFiberRoot(Ua,r)}catch{}d=!0}return d}finally{Me=a,dn.transition=s}}return!1}function Gg(r,s,a){s=di(a,s),s=fg(r,s,1),r=Cr(r,s,1),s=Ft(),r!==null&&(lo(r,1,s),Ht(r,s))}function et(r,s,a){if(r.tag===3)Gg(r,r,a);else for(;s!==null;){if(s.tag===3){Gg(s,r,a);break}else if(s.tag===1){var d=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&(Tr===null||!Tr.has(d))){r=di(a,r),r=pg(s,r,1),s=Cr(s,r,1),r=Ft(),s!==null&&(lo(s,1,r),Ht(s,r));break}}s=s.return}}function tk(r,s,a){var d=r.pingCache;d!==null&&d.delete(s),s=Ft(),r.pingedLanes|=r.suspendedLanes&a,vt===r&&(St&a)===a&&(mt===4||mt===3&&(St&130023424)===St&&500>it()-yd?fs(r,0):gd|=a),Ht(r,s)}function Qg(r,s){s===0&&((r.mode&1)===0?s=1:(s=$a,$a<<=1,($a&130023424)===0&&($a=4194304)));var a=Ft();r=Zn(r,s),r!==null&&(lo(r,s,a),Ht(r,a))}function nk(r){var s=r.memoizedState,a=0;s!==null&&(a=s.retryLane),Qg(r,a)}function rk(r,s){var a=0;switch(r.tag){case 13:var d=r.stateNode,f=r.memoizedState;f!==null&&(a=f.retryLane);break;case 19:d=r.stateNode;break;default:throw Error(n(314))}d!==null&&d.delete(s),Qg(r,a)}var Xg;Xg=function(r,s,a){if(r!==null)if(r.memoizedProps!==s.pendingProps||zt.current)Wt=!0;else{if((r.lanes&a)===0&&(s.flags&128)===0)return Wt=!1,W2(r,s,a);Wt=(r.flags&131072)!==0}else Wt=!1,Ke&&(s.flags&1048576)!==0&&Am(s,dl,s.index);switch(s.lanes=0,s.tag){case 2:var d=s.type;Cl(r,s),r=s.pendingProps;var f=ri(s,Pt.current);ci(s,a),f=Ku(null,s,d,r,f,a);var m=Gu();return s.flags|=1,typeof f=="object"&&f!==null&&typeof f.render=="function"&&f.$$typeof===void 0?(s.tag=1,s.memoizedState=null,s.updateQueue=null,$t(d)?(m=!0,ll(s)):m
vendor: 9,869 bytes, line 40
40=!1,s.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,Uu(s),f.updater=Sl,s.stateNode=f,f._reactInternals=s,td(s,d,r,a),s=id(null,s,d,!0,m,a)):(s.tag=0,Ke&&m&&_u(s),Dt(null,s,f,a),s=s.child),s;case 16:d=s.elementType;e:{switch(Cl(r,s),r=s.pendingProps,f=d._init,d=f(d._payload),s.type=d,f=s.tag=ik(d),r=Sn(d,r),f){case 0:s=sd(null,s,d,r,a);break e;case 1:s=jg(null,s,d,r,a);break e;case 11:s=vg(null,s,d,r,a);break e;case 14:s=xg(null,s,d,Sn(d.type,r),a);break e}throw Error(n(306,d,""))}return s;case 0:return d=s.type,f=s.pendingProps,f=s.elementType===d?f:Sn(d,f),sd(r,s,d,f,a);case 1:return d=s.type,f=s.pendingProps,f=s.elementType===d?f:Sn(d,f),jg(r,s,d,f,a);case 3:e:{if(Sg(s),r===null)throw Error(n(387));d=s.pendingProps,m=s.memoizedState,f=m.element,Mm(r,s),yl(s,d,null,a);var x=s.memoizedState;if(d=x.element,m.isDehydrated)if(m={element:d,isDehydrated:!1,cache:x.cache,pendingSuspenseBoundaries:x.pendingSuspenseBoundaries,transitions:x.transitions},s.updateQueue.baseState=m,s.memoizedState=m,s.flags&256){f=di(Error(n(423)),s),s=Ng(r,s,d,a,f);break e}else if(d!==f){f=di(Error(n(424)),s),s=Ng(r,s,d,a,f);break e}else for(en=wr(s.stateNode.containerInfo.firstChild),Zt=s,Ke=!0,jn=null,a=Dm(s,null,d,a),s.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(oi(),d===f){s=tr(r,s,a);break e}Dt(r,s,d,a)}s=s.child}return s;case 5:return zm(s),r===null&&Lu(s),d=s.type,f=s.pendingProps,m=r!==null?r.memoizedProps:null,x=f.children,Nu(d,f)?x=null:m!==null&&Nu(d,m)&&(s.flags|=32),kg(r,s),Dt(r,s,x,a),s.child;case 6:return r===null&&Lu(s),null;case 13:return Cg(r,s,a);case 4:return zu(s,s.stateNode.containerInfo),d=s.pendingProps,r===null?s.child=ai(s,null,d,a):Dt(r,s,d,a),s.child;case 11:return d=s.type,f=s.pendingProps,f=s.elementType===d?f:Sn(d,f),vg(r,s,d,f,a);case 7:return Dt(r,s,s.pendingProps,a),s.child;case 8:return Dt(r,s,s.pendingProps.children,a),s.child;case 12:return Dt(r,s,s.pendingProps.children,a),s.child;case 10:e:{if(d=s.type._context,f=s.pendingProps,m=s.memoizedProps,x=f.value,ze(pl,d._currentValue),d._currentValue=x,m!==null)if(kn(m.value,x)){if(m.children===f.children&&!zt.current){s=tr(r,s,a);break e}}else for(m=s.child,m!==null&&(m.return=s);m!==null;){var C=m.dependencies;if(C!==null){x=m.child;for(var _=C.firstContext;_!==null;){if(_.context===d){if(m.tag===1){_=er(-1,a&-a),_.tag=2;var V=m.updateQueue;if(V!==null){V=V.shared;var K=V.pending;K===null?_.next=_:(_.next=K.next,K.next=_),V.pending=_}}m.lanes|=a,_=m.alternate,_!==null&&(_.lanes|=a),Mu(m.return,a,s),C.lanes|=a;break}_=_.next}}else if(m.tag===10)x=m.type===s.type?null:m.child;else if(m.tag===18){if(x=m.return,x===null)throw Error(n(341));x.lanes|=a,C=x.alternate,C!==null&&(C.lanes|=a),Mu(x,a,s),x=m.sibling}else x=m.child;if(x!==null)x.return=m;else for(x=m;x!==null;){if(x===s){x=null;break}if(m=x.sibling,m!==null){m.return=x.return,x=m;break}x=x.return}m=x}Dt(r,s,f.children,a),s=s.child}return s;case 9:return f=s.type,d=s.pendingProps.children,ci(s,a),f=cn(f),d=d(f),s.flags|=1,Dt(r,s,d,a),s.child;case 14:return d=s.type,f=Sn(d,s.pendingProps),f=Sn(d.type,f),xg(r,s,d,f,a);case 15:return bg(r,s,s.type,s.pendingProps,a);case 17:return d=s.type,f=s.pendingProps,f=s.elementType===d?f:Sn(d,f),Cl(r,s),s.tag=1,$t(d)?(r=!0,ll(s)):r=!1,ci(s,a),dg(s,d,f),td(s,d,f,a),id(null,s,d,!0,r,a);case 19:return Tg(r,s,a);case 22:return wg(r,s,a)}throw Error(n(156,s.tag))};function Jg(r,s){return _p(r,s)}function sk(r,s,a,d){this.tag=r,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function hn(r,s,a,d){return new sk(r,s,a,d)}function Nd(r){return r=r.prototype,!(!r||!r.isReactComponent)}function ik(r){if(typeof r=="function")return Nd(r)?1:0;if(r!=null){if(r=r.$$typeof,r===$)return 11;if(r===ye)return 14}return 2}function Rr(r,s){var a=r.alternate;return a===null?(a=hn(r.tag,s,r.key,r.mode),a.elementType=r.elementType,a.type=r.type,a.stateNode=r.stateNode,a.alternate=r,r.alternate=a):(a.pendingProps=s,a.type=r.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=r.flags&14680064,a.childLanes=r.childLanes,a.lanes=r.lanes,a.child=r.child,a.memoizedProps=r.memoizedProps,a.memoizedState=r.memoizedState,a.updateQueue=r.updateQueue,s=r.dependencies,a.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},a.sibling=r.sibling,a.index=r.index,a.ref=r.ref,a}function Dl(r,s,a,d,f,m){var x=2;if(d=r,typeof r=="function")Nd(r)&&(x=1);else if(typeof r=="string")x=5;else e:switch(r){case ne:return ms(a.children,f,m,s);case D:x=8,f|=8;break;case H:return r=hn(12,a,s,f|2),r.elementType=H,r.lanes=m,r;case de:return r=hn(13,a,s,f),r.elementType=de,r.lanes=m,r;case Ne:return r=hn(19,a,s,f),r.elementType=Ne,r.lanes=m,r;case pe:return Fl(a,f,m,s);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case G:x=10;break e;case Q:x=9;break e;case $:x=11;break e;case ye:x=14;break e;case ke:x=16,d=null;break e}throw Error(n(130,r==null?r:typeof r,""))}return s=hn(x,a,s,f),s.elementType=r,s.type=d,s.lanes=m,s}function ms(r,s,a,d){return r=hn(7,r,d,s),r.lanes=a,r}function Fl(r,s,a,d){return r=hn(22,r,d,s),r.elementType=pe,r.lanes=a,r.stateNode={isHidden:!1},r}function Cd(r,s,a){return r=hn(6,r,null,s),r.lanes=a,r}function Ed(r,s,a){return s=hn(4,r.children!==null?r.children:[],r.key,s),s.lanes=a,s.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},s}function ok(r,s,a,d,f){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=eu(0),this.expirationTimes=eu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eu(0),this.identifierPrefix=d,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null}function Td(r,s,a,d,f,m,x,C,_){return r=new ok(r,s,a,C,_),s===1?(s=1,m===!0&&(s|=8)):s=0,m=hn(3,null,null,s),r.current=m,m.stateNode=r,m.memoizedState={element:d,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null},Uu(m),r}function ak(r,s,a){var d=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:q,key:d==null?null:""+d,children:r,containerInfo:s,implementation:a}}function Zg(r){if(!r)return jr;r=r._reactInternals;e:{if(rs(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($t(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break e}}s=s.return}while(s!==null);throw Error(n(171))}if(r.tag===1){var a=r.type;if($t(a))return Em(r,a,s)}return s}function ey(r,s,a,d,f,m,x,C,_){return r=Td(a,d,!0,r,f,m,x,C,_),r.context=Zg(null),a=r.current,d=Ft(),f=Ar(a),m=er(d,f),m.callback=s??null,Cr(a,m,f),r.current.lanes=f,lo(r,f,d),Ht(r,d),r}function Ml(r,s,a,d){var f=s.current,m=Ft(),x=Ar(f);return a=Zg(a),s.context===null?s.context=a:s.pendingContext=a,s=er(m,x),s.payload={element:r},d=d===void 0?null:d,d!==null&&(s.callback=d),r=Cr(f,s,x),r!==null&&(En(r,f,x,m),gl(r,f,x)),x}function Vl(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 ty(r,s){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var a=r.retryLane;r.retryLane=a!==0&&a<s?a:s}}function Pd(r,s){ty(r,s),(r=r.alternate)&&ty(r,s)}function lk(){return null}var ny=typeof reportError=="function"?reportError:function(r){console.error(r)};function Ad(r){this._internalRoot=r}Ul.prototype.render=Ad.prototype.render=function(r){var s=this._internalRoot;if(s===null)throw Error(n(409));Ml(r,s,null,null)},Ul.prototype.unmount=Ad.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var s=r.containerInfo;hs(function(){Ml(null,r,null,null)}),s[Gn]=null}};function Ul(r){this._internalRoot=r}Ul.prototype.unstable_scheduleHydration=function(r){if(r){var s=Mp();r={blockedOn:null,target:r,priority:s};for(var a=0;a<vr.length&&s!==0&&s<vr[a].priority;a++);vr.splice(a,0,r),a===0&&zp(r)}};function _d(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function zl(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11&&(r.nodeType!==8||r.nodeValue!==" react-mount-point-unstable "))}function ry(){}function ck(r,s,a,d,f){if(f){if(typeof d=="function"){var m=d;d=function(){var V=Vl(x);m.call(V)}}var x=ey(s,d,r,0,null,!1,!1,"",ry);return r._reactRootContainer=x,r[Gn]=x.current,jo(r.nodeType===8?r.parentNode:r),hs(),x}for(;f=r.lastChild;)r.removeChild(f);if(typeof d=="function"){var C=d;d=function(){var V=Vl(_);C.call(V)}}var _=Td(r,0,!1,null,null,!1,!1,"",ry);return r._reactRootContainer=_,r[Gn]=_.current,jo(r.nodeType===8?r.parentNode:r),hs(function(){Ml(s,_,a,d)}),_}function $l(r,s,a,d,f){var m=a._reactRootContainer;if(m){var x=m;if(typeof f=="function"){var C=f;f=function(){var _=Vl(x);C.call(_)}}Ml(s,x,r,f)}else x=ck(a,s,r,f,d);return Vl(x)}Dp=function(r){switch(r.tag){case 3:var s=r.stateNode;if(s.current.memoizedState.isDehydrated){var a=ao(s.pendingLanes);a!==0&&(tu(s,a|1),Ht(s,it()),(Oe&6)===0&&(pi=it()+500,Sr()))}break;case 13:hs(function(){var d=Zn(r,1);if(d!==null){var f=Ft();En(d,r,1,f)}}),Pd(r,1)}},nu=function(r){if(r.tag===13){var s=Zn(r,134217728);if(s!==null){var a=Ft();En(s,r,134217728,a)}Pd(r,134217728)}},Fp=function(r){if(r.tag===13){var s=Ar(r),a=Zn(r,s);if(a!==null){var d=Ft();En(a,r,s,d)}Pd(r,s)}},Mp=function(){return Me},Vp=function(r,s){var a=Me;try{return Me=r,s()}finally{Me=a}},Kc=function(r,s,a){switch(s){case"input":if(kt(r,a),s=a.name,a.t
vendor: 4,339 bytes, line 40
40ype==="radio"&&s!=null){for(a=r;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll("input[name="+JSON.stringify(""+s)+'][type="radio"]'),s=0;s<a.length;s++){var d=a[s];if(d!==r&&d.form===r.form){var f=ol(d);if(!f)throw Error(n(90));wt(d),kt(d,f)}}}break;case"textarea":mp(r,a);break;case"select":s=a.value,s!=null&&pr(r,!!a.multiple,s,!1)}},Sp=kd,Np=hs;var uk={usingClientEntryPoint:!1,Events:[Co,ti,ol,kp,jp,kd]},Vo={findFiberByHostInstance:ss,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},dk={bundleType:Vo.bundleType,version:Vo.version,rendererPackageName:Vo.rendererPackageName,rendererConfig:Vo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:O.ReactCurrentDispatcher,findHostInstanceByFiber:function(r){return r=Pp(r),r===null?null:r.stateNode},findFiberByHostInstance:Vo.findFiberByHostInstance||lk,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Wl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Wl.isDisabled&&Wl.supportsFiber)try{Ua=Wl.inject(dk),In=Wl}catch{}}return Yt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=uk,Yt.createPortal=function(r,s){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!_d(s))throw Error(n(200));return ak(r,s,null,a)},Yt.createRoot=function(r,s){if(!_d(r))throw Error(n(299));var a=!1,d="",f=ny;return s!=null&&(s.unstable_strictMode===!0&&(a=!0),s.identifierPrefix!==void 0&&(d=s.identifierPrefix),s.onRecoverableError!==void 0&&(f=s.onRecoverableError)),s=Td(r,1,!1,null,null,a,!1,d,f),r[Gn]=s.current,jo(r.nodeType===8?r.parentNode:r),new Ad(s)},Yt.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},Yt.flushSync=function(r){return hs(r)},Yt.hydrate=function(r,s,a){if(!zl(s))throw Error(n(200));return $l(null,r,s,!0,a)},Yt.hydrateRoot=function(r,s,a){if(!_d(r))throw Error(n(405));var d=a!=null&&a.hydratedSources||null,f=!1,m="",x=ny;if(a!=null&&(a.unstable_strictMode===!0&&(f=!0),a.identifierPrefix!==void 0&&(m=a.identifierPrefix),a.onRecoverableError!==void 0&&(x=a.onRecoverableError)),s=ey(s,null,r,1,a??null,f,!1,m,x),r[Gn]=s.current,jo(r),d)for(r=0;r<d.length;r++)a=d[r],f=a._getVersion,f=f(a._source),s.mutableSourceEagerHydrationData==null?s.mutableSourceEagerHydrationData=[a,f]:s.mutableSourceEagerHydrationData.push(a,f);return new Ul(s)},Yt.render=function(r,s,a){if(!zl(s))throw Error(n(200));return $l(null,r,s,!1,a)},Yt.unmountComponentAtNode=function(r){if(!zl(r))throw Error(n(40));return r._reactRootContainer?(hs(function(){$l(null,null,r,!1,function(){r._reactRootContainer=null,r[Gn]=null})}),!0):!1},Yt.unstable_batchedUpdates=kd,Yt.unstable_renderSubtreeIntoContainer=function(r,s,a,d){if(!zl(a))throw Error(n(200));if(r==null||r._reactInternals===void 0)throw Error(n(38));return $l(r,s,a,!1,d)},Yt.version="18.3.1-next-f1338f8080-20240426",Yt}var hy;function r0(){if(hy)return Id.exports;hy=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(),Id.exports=wk(),Id.exports}var fy;function kk(){if(fy)return Hl;fy=1;var t=r0();return Hl.createRoot=t.createRoot,Hl.hydrateRoot=t.hydrateRoot,Hl}var jk=kk();const Sk=n0(jk),Nk=20,Ck=1e6,cr={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let Fd=0;function Ek(){return Fd=(Fd+1)%Number.MAX_VALUE,Fd.toString()}const Md=new Map,py=t=>{if(Md.has(t))return;const e=setTimeout(()=>{Md.delete(t),sa({type:cr.REMOVE_TOAST,toastId:t})},Ck);Md.set(t,e)},Tk=(t,e)=>{switch(e.type){case cr.ADD_TOAST:return{...t,toasts:[e.toast,...t.toasts].slice(0,Nk)};case cr.UPDATE_TOAST:return{...t,toasts:t.toasts.map(n=>n.id===e.toast.id?{...n,...e.toast}:n)};case cr.DISMISS_TOAST:{const{toastId:n}=e;
40return n?py(n):t.toasts.forEach(i=>{py(i.id)}),{...t,toasts:t.toasts.map(i=>i.id===n||n===void 0?{...i,open:!1}:i)}}case cr.REMOVE_TOAST:return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(n=>n.id!==e.toastId)}}},sc=[];let ic={toasts:[]};function sa(t){ic=Tk(ic,t),sc.forEach(e=>{e(ic)})}function Pk({...t}){const e=Ek(),n=o=>sa({type:cr.UPDATE_TOAST,toast:{...o,id:e}}),i=()=>sa({type:cr.DISMISS_TOAST,toastId:e});return sa({type:cr.ADD_TOAST,toast:{...t,id:e,open:!0,onOpenChange:o=>{o||i()}}}),{id:e,dismiss:i,update:n}}function Ak(){const[t,e]=A.useState(ic);return A.useEffect(()=>(sc.push(e),()=>{const n=sc.indexOf(e);n>-1&&sc.splice(n,1)}),[t]),{...t,toast:Pk,dismiss:n=>sa({type:cr.DISMISS_TOAST,toastId:n})}}function s0(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=s0(t[e]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}function i0(){for(var t,e,n=0,i="",o=arguments.length;n<o;n++)(t=arguments[n])&&(e=s0(t))&&(i&&(i+=" "),i+=e);return i}const my=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,gy=i0,cf=(t,e)=>n=>{var i;if((e==null?void 0:e.variants)==null)return gy(t,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:c}=e,u=Object.keys(o).map(g=>{const y=n==null?void 0:n[g],v=c==null?void 0:c[g];if(y===null)return null;const b=my(y)||my(v);return o[g][b]}),h=n&&Object.entries(n).reduce((g,y)=>{let[v,b]=y;return b===void 0||(g[v]=b),g},{}),p=e==null||(i=e.compoundVariants)===null||i===void 0?void 0:i.reduce((g,y)=>{let{class:v,className:b,...S}=y;return Object.entries(S).every(E=>{let[N,j]=E;return Array.isArray(j)?j.includes({...c,...h}[N]):{...c,...h}[N]===j})?[...g,v,b]:g},[]);return gy(t,u,p,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 _k=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o0=(...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 Rk={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 Ok=A.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:i,className:o="",children:c,iconNode:u,...h},p)=>A.createElement("svg",{ref:p,...Rk,width:e,height:e,stroke:t,strokeWidth:i?Number(n)*24/Number(e):n,className:o0("lucide",o),...h},[...u.map(([g,y])=>A.createElement(g,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 De=(t,e)=>{const n=A.forwardRef(({className:i,...o},c)=>A.createElement(Ok,{ref:c,iconNode:e,className:o0(`lucide-${_k(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 Lk=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Ut=De("ArrowRight",Lk);/**
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 Ik=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],Bk=De("Award",Ik);/**
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 Dk=[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}
75],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]],Fk=De("Building2",Dk);/**
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 Mk=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],a0=De("Calendar",Mk);/**
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 Vk=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],yy=De("Check",Vk);/**
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 Uk=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],l0=De("ChevronDown",Uk);/**
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 zk=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Ms=De("CircleCheckBig",zk);/**
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 $k=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],zo=De("CircleCheck",$k);/**
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 Wk=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"10 8 16 12 10 16 10 8",key:"1cimsy"}]],c0=De("CirclePlay",Wk);/**
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 qk=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],fh=De("DollarSign",qk);/**
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 Hk=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],Yk=De("ExternalLink",Hk);/**
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 Kk=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Gk=De("Eye",Kk);/**
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 Qk=[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]],vy=De("Gift",Qk);/**
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 Xk=[["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"}]],Jk=De("Globe",Xk);/**
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 Zk=[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]],xy=De("Handshake",Zk);/**
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 ej=[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]],tj=De("Heart",ej);/**
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 nj=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],by=De("Lightbulb",nj);/**
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 rj=[["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"}]],uf=De("Mail",rj);/**
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 sj=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],df=De("MapPin",sj);/**
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 ij=[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]],oj=De("Map",ij);/**
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 aj=[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]],lj=De("Menu",aj);/**
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 cj=[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]],u0=De("MessageSquare",cj);/**
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 uj=[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]],d0=De("Phone",uj);/**
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 dj=[["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
180kijz"}],["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"}]],hj=De("Rocket",dj);/**
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 fj=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],pj=De("Send",fj);/**
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:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],Vd=De("Star",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 gj=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],hf=De("Target",gj);/**
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 yj=[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]],Pc=De("TrendingUp",yj);/**
201 * @license lucide-react v0.475.0 - ISC
202 *
203 * This source code is licensed under the ISC license.
204 * See the LICENSE file in the root directory of this source tree.
205 */const vj=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],xj=De("UserPlus",vj);/**
206 * @license lucide-react v0.475.0 - ISC
207 *
208 * This source code is licensed under the ISC license.
209 * See the LICENSE file in the root directory of this source tree.
210 */const bj=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]],Ui=De("Users",bj);/**
211 * @license lucide-react v0.475.0 - ISC
212 *
213 * This source code is licensed under the ISC license.
214 * See the LICENSE file in the root directory of this source tree.
215 */const wj=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Xr=De("X",wj);/**
216 * @license lucide-react v0.475.0 - ISC
217 *
218 * This source code is licensed under the ISC license.
219 * See the LICENSE file in the root directory of this source tree.
220 */const kj=[["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"}]],ff=De("Zap",kj),pf="-",jj=t=>{const e=Nj(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=t;return{getClassGroupId:u=>{const h=u.split(pf);return h[0]===""&&h.length!==1&&h.shift(),h0(h,e)||Sj(u)},getConflictingClassGroupIds:(u,h)=>{const p=n[u]||[];return h&&i[u]?[...p,...i[u]]:p}}},h0=(t,e)=>{var u;if(t.length===0)return e.classGroupId;const n=t[0],i=e.nextPart.get(n),o=i?h0(t.slice(1),i):void 0;if(o)return o;if(e.validators.length===0)return;const c=t.join(pf);return(u=e.validators.find(({validator:h})=>h(c)))==null?void 0:u.classGroupId},wy=/^\[(.+)\]$/,Sj=t=>{if(wy.test(t)){const e=wy.exec(t)[1],n=e==null?void 0:e.substring(0,e.indexOf(":"));if(n)return"arbitrary.."+n}},Nj=t=>{const{theme:e,classGroups:n}=t,i={nextPart:new Map,validators:[]};for(const o in n)ph(n[o],i,o,e);return i},ph=(t,e,n,i)=>{t.forEach(o=>
vendor: 6,655 bytes, line 220
220{if(typeof o=="string"){const c=o===""?e:ky(e,o);c.classGroupId=n;return}if(typeof o=="function"){if(Cj(o)){ph(o(i),e,n,i);return}e.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([c,u])=>{ph(u,ky(e,c),n,i)})})},ky=(t,e)=>{let n=t;return e.split(pf).forEach(i=>{n.nextPart.has(i)||n.nextPart.set(i,{nextPart:new Map,validators:[]}),n=n.nextPart.get(i)}),n},Cj=t=>t.isThemeGetter,Ej=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)}}},mh="!",gh=":",Tj=gh.length,Pj=t=>{const{prefix:e,experimentalParseClassName:n}=t;let i=o=>{const c=[];let u=0,h=0,p=0,g;for(let E=0;E<o.length;E++){let N=o[E];if(u===0&&h===0){if(N===gh){c.push(o.slice(p,E)),p=E+Tj;continue}if(N==="/"){g=E;continue}}N==="["?u++:N==="]"?u--:N==="("?h++:N===")"&&h--}const y=c.length===0?o:o.substring(p),v=Aj(y),b=v!==y,S=g&&g>p?g-p:void 0;return{modifiers:c,hasImportantModifier:b,baseClassName:v,maybePostfixModifierPosition:S}};if(e){const o=e+gh,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},Aj=t=>t.endsWith(mh)?t.substring(0,t.length-1):t.startsWith(mh)?t.substring(1):t,_j=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}},Rj=t=>({cache:Ej(t.cacheSize),parseClassName:Pj(t),sortModifiers:_j(t),...jj(t)}),Oj=/\s+/,Lj=(t,e)=>{const{parseClassName:n,getClassGroupId:i,getConflictingClassGroupIds:o,sortModifiers:c}=e,u=[],h=t.trim().split(Oj);let p="";for(let g=h.length-1;g>=0;g-=1){const y=h[g],{isExternal:v,modifiers:b,hasImportantModifier:S,baseClassName:E,maybePostfixModifierPosition:N}=n(y);if(v){p=y+(p.length>0?" "+p:p);continue}let j=!!N,w=i(j?E.substring(0,N):E);if(!w){if(!j){p=y+(p.length>0?" "+p:p);continue}if(w=i(E),!w){p=y+(p.length>0?" "+p:p);continue}j=!1}const P=c(b).join(":"),T=S?P+mh:P,O=T+w;if(u.includes(O))continue;u.push(O);const U=o(w,j);for(let q=0;q<U.length;++q){const ne=U[q];u.push(T+ne)}p=y+(p.length>0?" "+p:p)}return p};function Ij(){let t=0,e,n,i="";for(;t<arguments.length;)(e=arguments[t++])&&(n=f0(e))&&(i&&(i+=" "),i+=n);return i}const f0=t=>{if(typeof t=="string")return t;let e,n="";for(let i=0;i<t.length;i++)t[i]&&(e=f0(t[i]))&&(n&&(n+=" "),n+=e);return n};function Bj(t,...e){let n,i,o,c=u;function u(p){const g=e.reduce((y,v)=>v(y),t());return n=Rj(g),i=n.cache.get,o=n.cache.set,c=h,h(p)}function h(p){const g=i(p);if(g)return g;const y=Lj(p,n);return o(p,y),y}return function(){return c(Ij.apply(null,arguments))}}const gt=t=>{const e=n=>n[t]||[];return e.isThemeGetter=!0,e},p0=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,m0=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Dj=/^\d+\/\d+$/,Fj=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Mj=/\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$/,Vj=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Uj=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,zj=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,gi=t=>Dj.test(t),Te=t=>!!t&&!Number.isNaN(Number(t)),Lr=t=>!!t&&Number.isInteger(Number(t)),Ud=t=>t.endsWith("%")&&Te(t.slice(0,-1)),rr=t=>Fj.test(t),$j=()=>!0,Wj=t=>Mj.test(t)&&!Vj.test(t),g0=()=>!1,qj=t=>Uj.test(t),Hj=t=>zj.test(t),Yj=t=>!ae(t)&&!le(t),Kj=t=>Ki(t,x0,g0),ae=t=>p0.test(t),gs=t=>Ki(t,b0,Wj),zd=t=>Ki(t,Zj,Te),jy=t=>Ki(t,y0,g0),Gj=t=>Ki(t,v0,Hj),Yl=t=>Ki(t,w0,qj),le=t=>m0.test(t),$o=t=>Gi(t,b0),Qj=t=>Gi(t,eS),Sy=t=>Gi(t,y0),Xj=t=>Gi(t,x0),Jj=t=>Gi(t,v0),Kl=t=>Gi(t,w0,!0),Ki=(t,e,n)=>{const i=p0.exec(t);return i?i[1]?e(i[1]):n(i[2]):!1},Gi=(t,e,n=!1)=>{const i=m0.exec(t);return i?i[1]?e(i[1]):n:!1},y0=t=>t==="position"||t==="percentage",v0=t=>t==="image"||t==="url",x0=t=>t==="length"||t==="size"||t==="bg-size",b0=t=>t==="length",Zj=t=>t==="number",eS=t=>t==="family-name",w0=t=>t==="shadow",tS=()=>{const t=gt("color"),e=gt("font"),n=gt("text"),i=gt("font-weight"),o=gt("tracking"),c=gt("leading"),u=gt("breakpoint"),h=gt("container"),p=gt("spacing"),g=gt("radius"),y=gt("shadow"),v=gt("inset-shadow"),b=gt("text-shadow"),S=gt("drop-shadow"),E=gt("blur"),N=gt("perspective"),j=gt("aspect"),w=gt("ease"),P=gt("animate"),T=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],U=()=>[...O(),le,ae],q=()=>["auto","hidden","clip","visible","scroll"],ne=()=>["auto","contain","none"],D=()=>[le,ae,p],H=()=>[gi,"full","auto",...D()],G=()=>[Lr,"none","subgrid",le,ae],Q=()=>["auto",{span:["full",Lr,le,ae]},Lr,le,ae],$=()=>[Lr,"auto",le,ae],de=()=>["auto","min","max","fr",le,ae],Ne=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ye=()=>["start","end","center","stretch","center-safe","end-safe"],ke=()=>["auto",...D()],pe=()=>[gi,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...D()],z=()=>[t,le,ae],he=()=>[...O(),Sy,jy,{position:[le,ae]}],Z=()=>["no-repeat",{repeat:["","x","y","space","round"]}],I=()=>["auto","cover","contain",Xj,Kj,{size:[le,ae]}],W=()=>[Ud,$o,gs],ce=()=>["","none","full",g,le,ae],ge=()=>["",Te,$o,gs],Ce=()=>["solid","dashed","dotted","double"],ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],me=()=>[Te,Ud,Sy,jy],Ae=()=>["","none",E,le,ae],Le=()=>["none",Te,le,ae],ct=()=>["none",Te,le,ae],vn=()=>[Te,le,ae],wt=()=>[gi,"full",...D()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[rr],breakpoint:[rr],color:[$j],container:[rr],"drop-shadow":[rr],ease:["in","out","in-out"],font:[Yj],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[rr],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[rr],shadow:[rr],spacing:["px",Te],text:[rr],"text-shadow":[rr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",gi,ae,le,j]}
vendor: 17,328 bytes, line 220
220],container:["container"],columns:[{columns:[Te,ae,le,h]}],"break-after":[{"break-after":T()}],"break-before":[{"break-before":T()}],"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:U()}],overflow:[{overflow:q()}],"overflow-x":[{"overflow-x":q()}],"overflow-y":[{"overflow-y":q()}],overscroll:[{overscroll:ne()}],"overscroll-x":[{"overscroll-x":ne()}],"overscroll-y":[{"overscroll-y":ne()}],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:[Lr,"auto",le,ae]}],basis:[{basis:[gi,"full","auto",h,...D()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Te,gi,"auto","initial","none",ae]}],grow:[{grow:["",Te,le,ae]}],shrink:[{shrink:["",Te,le,ae]}],order:[{order:[Lr,"first","last","none",le,ae]}],"grid-cols":[{"grid-cols":G()}],"col-start-end":[{col:Q()}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":G()}],"row-start-end":[{row:Q()}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":de()}],"auto-rows":[{"auto-rows":de()}],gap:[{gap:D()}],"gap-x":[{"gap-x":D()}],"gap-y":[{"gap-y":D()}],"justify-content":[{justify:[...Ne(),"normal"]}],"justify-items":[{"justify-items":[...ye(),"normal"]}],"justify-self":[{"justify-self":["auto",...ye()]}],"align-content":[{content:["normal",...Ne()]}],"align-items":[{items:[...ye(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ye(),{baseline:["","last"]}]}],"place-content":[{"place-content":Ne()}],"place-items":[{"place-items":[...ye(),"baseline"]}],"place-self":[{"place-self":["auto",...ye()]}],p:[{p:D()}],px:[{px:D()}],py:[{py:D()}],ps:[{ps:D()}],pe:[{pe:D()}],pt:[{pt:D()}],pr:[{pr:D()}],pb:[{pb:D()}],pl:[{pl:D()}],m:[{m:ke()}],mx:[{mx:ke()}],my:[{my:ke()}],ms:[{ms:ke()}],me:[{me:ke()}],mt:[{mt:ke()}],mr:[{mr:ke()}],mb:[{mb:ke()}],ml:[{ml:ke()}],"space-x":[{"space-x":D()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":D()}],"space-y-reverse":["space-y-reverse"],size:[{size:pe()}],w:[{w:[h,"screen",...pe()]}],"min-w":[{"min-w":[h,"screen","none",...pe()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[u]},...pe()]}],h:[{h:["screen","lh",...pe()]}],"min-h":[{"min-h":["screen","lh","none",...pe()]}],"max-h":[{"max-h":["screen","lh",...pe()]}],"font-size":[{text:["base",n,$o,gs]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,le,zd]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ud,ae]}],"font-family":[{font:[Qj,ae,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,le,ae]}],"line-clamp":[{"line-clamp":[Te,"none",le,zd]}],leading:[{leading:[c,...D()]}],"list-image":[{"list-image":["none",le,ae]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",le,ae]}],"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:[Te,"from-font","auto",le,gs]}],"text-decoration-color":[{decoration:z()}],"underline-offset":[{"underline-offset":[Te,"auto",le,ae]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",le,ae]}],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",le,ae]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:he()}],"bg-repeat":[{bg:Z()}],"bg-size":[{bg:I()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Lr,le,ae],radial:["",le,ae],conic:[Lr,le,ae]},Jj,Gj]}],"bg-color":[{bg:z()}],"gradient-from-pos":[{from:W()}],"gradient-via-pos":[{via:W()}],"gradient-to-pos":[{to:W()}],"gradient-from":[{from:z()}],"gradient-via":[{via:z()}],"gradient-to":[{to:z()}],rounded:[{rounded:ce()}],"rounded-s":[{"rounded-s":ce()}],"rounded-e":[{"rounded-e":ce()}],"rounded-t":[{"rounded-t":ce()}],"rounded-r":[{"rounded-r":ce()}],"rounded-b":[{"rounded-b":ce()}],"rounded-l":[{"rounded-l":ce()}],"rounded-ss":[{"rounded-ss":ce()}],"rounded-se":[{"rounded-se":ce()}],"rounded-ee":[{"rounded-ee":ce()}],"rounded-es":[{"rounded-es":ce()}],"rounded-tl":[{"rounded-tl":ce()}],"rounded-tr":[{"rounded-tr":ce()}],"rounded-br":[{"rounded-br":ce()}],"rounded-bl":[{"rounded-bl":ce()}],"border-w":[{border:ge()}],"border-w-x":[{"border-x":ge()}],"border-w-y":[{"border-y":ge()}],"border-w-s":[{"border-s":ge()}],"border-w-e":[{"border-e":ge()}],"border-w-t":[{"border-t":ge()}],"border-w-r":[{"border-r":ge()}],"border-w-b":[{"border-b":ge()}],"border-w-l":[{"border-l":ge()}],"divide-x":[{"divide-x":ge()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ge()}],"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":[Te,le,ae]}],"outline-w":[{outline:["",Te,$o,gs]}],"outline-color":[{outline:z()}],shadow:[{shadow:["","none",y,Kl,Yl]}],"shadow-color":[{shadow:z()}],"inset-shadow":[{"inset-shadow":["none",v,Kl,Yl]}],"inset-shadow-color":[{"inset-shadow":z()}],"ring-w":[{ring:ge()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:z()}],"ring-offset-w":[{"ring-offset":[Te,gs]}],"ring-offset-color":[{"ring-offset":z()}],"inset-ring-w":[{"inset-ring":ge()}],"inset-ring-color":[{"inset-ring":z()}],"text-shadow":[{"text-shadow":["none",b,Kl,Yl]}],"text-shadow-color":[{"text-shadow":z()}],opacity:[{opacity:[Te,le,ae]}],"mix-blend":[{"mix-blend":[...ie(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ie()}],"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":[Te]}],"mask-image-linear-from-pos":[{"mask-linear-from":me()}],"mask-image-linear-to-pos":[{"mask-linear-to":me()}],"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":me()}],"mask-image-t-to-pos":[{"mask-t-to":me()}],"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":me()}],"mask-image-r-to-pos":[{"mask-r-to":me()}],"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":me()}],"mask-image-b-to-pos":[{"mask-b-to":me()}],"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":me()}],"mask-image-l-to-pos":[{"mask-l-to":me()}],"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":me()}],"mask-image-x-to-pos":[{"mask-x-to":me()}],"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":me()}],"mask-image-y-to-pos":[{"mask-y-to":me()}],"mask-image-y-from-color":[{"mask-y-from":z()}],"mask-image-y-to-color":[{"mask-y-to":z()}],"mask-image-radial":[{"mask-radial":[le,ae]}],"mask-image-radial-from-pos":[{"mask-radial-from":me()}],"mask-image-radial-to-pos":[{"mask-radial-to":me()}],"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":O()}],"mask-image-conic-pos":[{"mask-conic":[Te]}],"mask-image-conic-from-pos":[{"mask-conic-from":me()}],"mask-image-conic-to-pos":[{"mask-conic-to":me()}],"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:he()}],"mask-repeat":[{mask:Z()}],"mask-size":[{mask:I()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",le,ae]}],filter:[{filter:["","none",le,ae]}],blur:[{blur:Ae()}],brightness:[{brightness:[Te,le,ae]}],contrast:[{contrast:[Te,le,ae]}],"drop-shadow":[{"drop-shadow":["","none",S,Kl,Yl]}],"drop-shadow-color":[{"drop-shadow":z()}],grayscale:[{grayscale:["",Te,le,ae]}],"hue-rotate":[{"hue-rotate":[Te,le,ae]}],invert:[{invert:["",Te,le,ae]}],saturate:[{saturate:[Te,le,ae]}],sepia:[{sepia:["",Te,le,ae]}],"backdrop-filter":[{"backdrop-filter":["","none",le,ae]}],"backdrop-blur":[{"backdrop-blur":Ae()}],"backdrop-brightness":[{"backdrop-brightness":[Te,le,ae]}],"backdrop-contrast":[{"backdrop-contrast":[Te,le,ae]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Te,le,ae]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Te,le,ae]}],"backdrop-invert":[{"backdrop-invert":["",Te,le,ae]}],"backdrop-opacity":[{"backdrop-opacity":[Te,le,ae]}],"backdrop-saturate":[{"backdrop-saturate":[Te,le,ae]}],"backdrop-sepia":[{"backdrop-sepia":["",Te,le,ae]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":D()}],"border-spacing-x":[{"border-spacing-x":D()}],"border-spacing-y":[{"border-spacing-y":D()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",le,ae]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Te,"initial",le,ae]}],ease:[{ease:["linear","initial",w,le,ae]}],delay:[{delay:[Te,le,ae]}],animate:[{animate:["none",P,le,ae]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[N,le,ae]}],"perspective-origin":[{"perspective-origin":U()}],rotate:[{rotate:Le()}],"rotate-x":[{"rotate-x":Le()}],"rotate-y":[{"rotate-y":Le()}],"rotate-z":[{"rotate-z":Le()}],scale:[{scale:ct()}],"scale-x":[{"scale-x":ct()}],"scale-y":[{"scale-y":ct()}],"scale-z":[{"scale-z":ct()}],"scale-3d":["scale-3d"],skew:[{skew:vn()}],"skew-x":[{"skew-x":vn()}],"skew-y":[{"skew-y":vn()}],transform:[{transform:[le,ae,"","none","gpu","cpu"]}],"transform-origin":[{origin:U()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:wt()}],"translate-x":[{"translate-x":wt()}],"translate-y":[{"translate-y":wt()}],"translate-z":[{"translate-z":wt()}],"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",le,ae]}],"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":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"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",le,ae]}],fill:[{fill:["none",...z()]}],"stroke-w":[{stroke:[Te,$o,gs,zd]}],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"]}}
220,k0=Bj(tS);function sn(...t){return k0(i0(t))}const j0=A.forwardRef(({...t},e)=>l.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}));j0.displayName="ToastProvider";const S0=A.forwardRef(({...t},e)=>l.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}));S0.displayName="ToastViewport";const nS=cf("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"}}),N0=A.forwardRef(({className:t,variant:e,...n},i)=>l.jsx("div",{ref:i,className:sn(nS({variant:e}),t),...n}));N0.displayName="Toast";const rS=A.forwardRef(({className:t,...e},n)=>l.jsx("div",{ref:n,className:sn("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}));rS.displayName="ToastAction";const C0=A.forwardRef(({className:t,...e},n)=>l.jsx("button",{ref:n,className:sn("absolute right-2 top-2 rounded-md p-1 text-foreground/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:l.jsx(Xr,{className:"h-4 w-4"})}));C0.displayName="ToastClose";const E0=A.forwardRef(({className:t,...e},n)=>l.jsx("div",{ref:n,className:sn("text-sm font-semibold",t),...e}));E0.displayName="ToastTitle";const T0=A.forwardRef(({className:t,...e},n)=>l.jsx("div",{ref:n,className:sn("text-sm opacity-90",t),...e}));T0.displayName="ToastDescription";function sS(){const{toasts:t}=Ak();return l.jsxs(j0,{children:[t.map(function({id:e,title:n,description:i,action:o,...c}){return l.jsxs(N0,{...c,children:[l.jsxs("div",{className:"grid gap-1",children:[n&&l.jsx(E0,{children:n}),i&&l.jsx(T0,{children:i})]}),o,l.jsx(C0,{})]},e)}),l.jsx(S0,{})]})}var Na=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(){}},iS={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},Mr,af,Hx,oS=(Hx=class{constructor(){be(this,Mr,iS);be(this,af,!1)}setTimeoutProvider(t){re(this,Mr,t)}setTimeout(t,e){return R(this,Mr).setTimeout(t,e)}clearTimeout(t){R(this,Mr).clearTimeout(t)}setInterval(t,e){return R(this,Mr).setInterval(t,e)}clearInterval(t){R(this,Mr).clearInterval(t)}},Mr=new WeakMap,af=new WeakMap,Hx),Ss=new oS;function aS(t){setTimeout(t,0)}var Vs=typeof window>"u"||"Deno"in globalThis;function Qt(){}function lS(t,e){return typeof t=="function"?t(e):t}function yh(t){return typeof t=="number"&&t>=0&&t!==1/0}function P0(t,e){return Math.max(t+(e||0)-Date.now(),0)}function Kr(t,e){return typeof t=="function"?t(e):t}function gn(t,e){return typeof t=="function"?t(e):t}function Ny(t,e){const{type:n="all",exact:i,fetchStatus:o,predicate:c,queryKey:u,stale:h}=t;if(u){if(i){if(e.queryHash!==mf(u,e.options))return!1}else if(!da(e.queryKey,u))return!1}if(n!=="all"){const p=e.isActive();if(n==="active"&&!p||n==="inactive"&&p)return!1}return!(typeof h=="boolean"&&e.isStale()!==h||o&&o!==e.state.fetchStatus||c&&!c(e))}function Cy(t,e){const{exact:n,status:i,predicate:o,mutationKey:c}=t;if(c){if(!e.options.mutationKey)return!1;if(n){if(ua(e.options.mutationKey)!==ua(c))return!1}else if(!da(e.options.mutationKey,c))return!1}return!(i&&e.state.status!==i||o&&!o(e))}function mf(t,e){return((e==null?void 0:e.queryKeyHashFn)||ua)(t)}function ua(t){return JSON.stringify(t,(e,n)=>xh(n)?Object.keys(n).sort().reduce((i,o)=>(i[o]=n[o],i),{}):n)}function da(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(n=>da(t[n],e[n])):!1}var cS=Object.prototype.hasOwnProperty;function A0(t,e){if(t===e)return t;const n=Ey(t)&&Ey(e);if(!n&&!(xh(t)&&xh(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 p=0;for(let g=0;g<u;g++){const y=n?g:c[g],v=t[y],b=e[y];if(v===b){h[y]=v,(n?g<o:cS.call(t,y))&&p++;continue}if(v===null||b===null||typeof v!="object"||typeof b!="object"){h[y]=b;continue}const S=A0(v,b);h[y]=S,S===v&&p++}return o===u&&p===o?t:h}function vh(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 Ey(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function xh(t){if(!Ty(t))return!1;const e=t.constructor;if(e===void 0)return!0;const n=e.prototype;return!(!Ty(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function Ty(t){return Object.prototype.toString.call(t)==="[object Object]"}function uS(t){return new Promise(e=>{Ss.setTimeout(e,t)})}function bh(t,e,n){return typeof n.structuralSharing=="function"?n.structuralSharing(t,e):n.structuralSharing!==!1?A0(t,e):e}function dS(t,e,n=0){const i=[...t,e];return n&&i.length>n?i.slice(1):i}function hS(t,e,n=0){const i=[e,...t];return n&&i.length>n?i.slice(0,-1):i}var gf=Symbol();function _0(t,e){return!t.queryFn&&(e!=null&&e.initialPromise)?()=>e.initialPromise:!t.queryFn||t.queryFn===gf?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function fS(t,e){return typeof t=="function"?t(...e):!!t}var Ts,Vr,Pi,Yx,pS=(Yx=class extends Na{constructor(){super();be(this,Ts);be(this,Vr);be(this,Pi);re(this,Pi,e=>{if(!Vs&&window.addEventListener){const n=()=>e();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){R(this,Vr)||this.setEventListener(R(this,Pi))}onUnsubscribe(){var e;this.hasListeners()||((e=R(this,Vr))==null||e.call(this),re(this,Vr,void 0))}setEventListener(e){var n;re(this,Pi,e),(n=R(this,Vr))==null||n.call(this),re(this,Vr,e(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(e){R(this,Ts)!==e&&(re(this,Ts,e),this.onFocus())}onFocus(){const e=this.isFocused();
vendor: 2,453 bytes, line 220
220this.listeners.forEach(n=>{n(e)})}isFocused(){var e;return typeof R(this,Ts)=="boolean"?R(this,Ts):((e=globalThis.document)==null?void 0:e.visibilityState)!=="hidden"}},Ts=new WeakMap,Vr=new WeakMap,Pi=new WeakMap,Yx),yf=new pS;function wh(){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 mS=aS;function gS(){let t=[],e=0,n=h=>{h()},i=h=>{h()},o=mS;const c=h=>{e?t.push(h):o(()=>{n(h)})},u=()=>{const h=t;t=[],h.length&&o(()=>{i(()=>{h.forEach(p=>{n(p)})})})};return{batch:h=>{let p;e++;try{p=h()}finally{e--,e||u()}return p},batchCalls:h=>(...p)=>{c(()=>{h(...p)})},schedule:c,setNotifyFunction:h=>{n=h},setBatchNotifyFunction:h=>{i=h},setScheduler:h=>{o=h}}}var Et=gS(),Ai,Ur,_i,Kx,yS=(Kx=class extends Na{constructor(){super();be(this,Ai,!0);be(this,Ur);be(this,_i);re(this,_i,e=>{if(!Vs&&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(){R(this,Ur)||this.setEventListener(R(this,_i))}onUnsubscribe(){var e;this.hasListeners()||((e=R(this,Ur))==null||e.call(this),re(this,Ur,void 0))}setEventListener(e){var n;re(this,_i,e),(n=R(this,Ur))==null||n.call(this),re(this,Ur,e(this.setOnline.bind(this)))}setOnline(e){R(this,Ai)!==e&&(re(this,Ai,e),this.listeners.forEach(i=>{i(e)}))}isOnline(){return R(this,Ai)}},Ai=new WeakMap,Ur=new WeakMap,_i=new WeakMap,Kx),gc=new yS;function vS(t){return Math.min(1e3*2**t,3e4)}function R0(t){return(t??"online")==="online"?gc.isOnline():!0}var kh=class extends Error{constructor(t){super("CancelledError"),this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}};function O0(t){let e=!1,n=0,i;const o=wh(),c=()=>o.status!=="pending",u=N=>{var j;if(!c()){const w=new kh(N);b(w),(j=t.onCancel)==null||j.call(t,w)}},h=()=>{e=!0},p=()=>{e=!1},g=()=>yf.isFocused()&&(t.networkMode==="always"||gc.isOnline())&&t.canRun(),y=()=>R0(t.networkMode)&&t.canRun(),v=N=>{c()||(i==null||i(),o.resolve(N))},b=N=>{c()||(i==null||i(),o.reject(N))},S=()=>new Promise(N=>{var j;i=w=>{(c()||g())&&N(w)},(j=t.onPause)==null||j.call(t)}).then(()=>{var N;i=void 0,c()||(N=t.onContinue)==null||N.call(t)}),E=()=>
vendor: 4,376 bytes, line 220
220{if(c())return;let N;const j=n===0?t.initialPromise:void 0;try{N=j??t.fn()}catch(w){N=Promise.reject(w)}Promise.resolve(N).then(v).catch(w=>{var q;if(c())return;const P=t.retry??(Vs?0:3),T=t.retryDelay??vS,O=typeof T=="function"?T(n,w):T,U=P===!0||typeof P=="number"&&n<P||typeof P=="function"&&P(n,w);if(e||!U){b(w);return}n++,(q=t.onFail)==null||q.call(t,n,w),uS(O).then(()=>g()?void 0:S()).then(()=>{e?b(w):E()})})};return{promise:o,status:()=>o.status,cancel:u,continue:()=>(i==null||i(),o),cancelRetry:h,continueRetry:p,canStart:y,start:()=>(y()?E():S().then(E),o)}}var Ps,Gx,L0=(Gx=class{constructor(){be(this,Ps)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),yh(this.gcTime)&&re(this,Ps,Ss.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(Vs?1/0:300*1e3))}clearGcTimeout(){R(this,Ps)&&(Ss.clearTimeout(R(this,Ps)),re(this,Ps,void 0))}},Ps=new WeakMap,Gx),As,Ri,mn,_s,bt,ba,Rs,Pn,or,Qx,xS=(Qx=class extends L0{constructor(e){super();be(this,Pn);be(this,As);be(this,Ri);be(this,mn);be(this,_s);be(this,bt);be(this,ba);be(this,Rs);re(this,Rs,!1),re(this,ba,e.defaultOptions),this.setOptions(e.options),this.observers=[],re(this,_s,e.client),re(this,mn,R(this,_s).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,re(this,As,Py(this.options)),this.state=e.state??R(this,As),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var e;return(e=R(this,bt))==null?void 0:e.promise}setOptions(e){if(this.options={...R(this,ba),...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=Py(this.options);n.data!==void 0&&(this.setData(n.data,{updatedAt:n.dataUpdatedAt,manual:!0}),re(this,As,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&R(this,mn).remove(this)}setData(e,n){const i=bh(this.state.data,e,this.options);return _e(this,Pn,or).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,Pn,or).call(this,{type:"setState",state:e,setStateOptions:n})}cancel(e){var i,o;const n=(i=R(this,bt))==null?void 0:i.promise;return(o=R(this,bt))==null||o.cancel(e),n?n.then(Qt).catch(Qt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(R(this,As))}isActive(){return this.observers.some(e=>gn(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===gf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Kr(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:!P0(this.state.dataUpdatedAt,e)}onFocus(){var n;const e=this.observers.find(i=>i.shouldFetchOnWindowFocus());e==null||e.refetch({cancelRefetch:!1}),(n=R(this,bt))==null||n.continue()}onOnline(){var n;const e=this.observers.find(i=>i.shouldFetchOnReconnect());e==null||e.refetch({cancelRefetch:!1}),(n=R(this,bt))==null||n.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),R(this,mn).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(n=>n!==e),this.observers.length||(R(this,bt)&&(R(this,Rs)?R(this,bt).cancel({revert:!0}):R(this,bt).cancelRetry()),this.scheduleGc()),R(this,mn).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||_e(this,Pn,or).call(this,{type:"invalidate"})}async fetch(e,n){var p,g,y,v,b,S,E,N,j,w,P,T;if(this.state.fetchStatus!=="idle"&&((p=R(this,bt))==null?void 0:p.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(R(this,bt))return R(this,bt).continueRetry(),R(this,bt).promise}if(e&&this.setOptions(e),!this.options.queryFn){const O=this.observers.find(U=>U.options.queryFn);O&&this.setOptions(O.options)}const i=new AbortController,o=O=>{Object.defineProperty(O,"signal",{enumerable:!0,get:()=>(re(this,Rs,!0),i.signal)}
vendor: 7,775 bytes, line 220
220)},c=()=>{const O=_0(this.options,n),q=(()=>{const ne={client:R(this,_s),queryKey:this.queryKey,meta:this.meta};return o(ne),ne})();return re(this,Rs,!1),this.options.persister?this.options.persister(O,q,this):O(q)},h=(()=>{const O={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:R(this,_s),state:this.state,fetchFn:c};return o(O),O})();(g=this.options.behavior)==null||g.onFetch(h,this),re(this,Ri,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((y=h.fetchOptions)==null?void 0:y.meta))&&_e(this,Pn,or).call(this,{type:"fetch",meta:(v=h.fetchOptions)==null?void 0:v.meta}),re(this,bt,O0({initialPromise:n==null?void 0:n.initialPromise,fn:h.fetchFn,onCancel:O=>{O instanceof kh&&O.revert&&this.setState({...R(this,Ri),fetchStatus:"idle"}),i.abort()},onFail:(O,U)=>{_e(this,Pn,or).call(this,{type:"failed",failureCount:O,error:U})},onPause:()=>{_e(this,Pn,or).call(this,{type:"pause"})},onContinue:()=>{_e(this,Pn,or).call(this,{type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay,networkMode:h.options.networkMode,canRun:()=>!0}));try{const O=await R(this,bt).start();if(O===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(O),(S=(b=R(this,mn).config).onSuccess)==null||S.call(b,O,this),(N=(E=R(this,mn).config).onSettled)==null||N.call(E,O,this.state.error,this),O}catch(O){if(O instanceof kh){if(O.silent)return R(this,bt).promise;if(O.revert){if(this.state.data===void 0)throw O;return this.state.data}}throw _e(this,Pn,or).call(this,{type:"error",error:O}),(w=(j=R(this,mn).config).onError)==null||w.call(j,O,this),(T=(P=R(this,mn).config).onSettled)==null||T.call(P,this.state.data,O,this),O}finally{this.scheduleGc()}}},As=new WeakMap,Ri=new WeakMap,mn=new WeakMap,_s=new WeakMap,bt=new WeakMap,ba=new WeakMap,Rs=new WeakMap,Pn=new WeakSet,or=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,...I0(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 re(this,Ri,e.manual?o:void 0),o;case"error":const c=e.error;return{...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),Et.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),R(this,mn).notify({query:this,type:"updated",action:e})})},Qx);function I0(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:R0(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function Py(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 Gt,Re,wa,Mt,Os,Oi,ar,zr,ka,Li,Ii,Ls,Is,$r,Bi,Fe,Xo,jh,Sh,Nh,Ch,Eh,Th,Ph,B0,Xx,bS=(Xx=class extends Na{constructor(e,n){super();be(this,Fe);be(this,Gt);be(this,Re);be(this,wa);be(this,Mt);be(this,Os);be(this,Oi);be(this,ar);be(this,zr);be(this,ka);be(this,Li);be(this,Ii);be(this,Ls);be(this,Is);be(this,$r);be(this,Bi,new Set);this.options=n,re(this,Gt,e),re(this,zr,null),re(this,ar,wh()),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(R(this,Re).addObserver(this),Ay(R(this,Re),this.options)?_e(this,Fe,Xo).call(this):this.updateResult(),_e(this,Fe,Ch).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Ah(R(this,Re),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Ah(R(this,Re),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,_e(this,Fe,Eh).call(this),_e(this,Fe,Th).call(this),R(this,Re).removeObserver(this)}setOptions(e){const n=this.options,i=R(this,Re);if(this.options=R(this,Gt).defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof gn(this.options.enabled,R(this,Re))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");_e(this,Fe,Ph).call(this),R(this,Re).setOptions(this.options),n._defaulted&&!vh(this.options,n)&&R(this,Gt).getQueryCache().notify({type:"observerOptionsUpdated",query:R(this,Re),observer:this});const o=this.hasListeners();o&&_y(R(this,Re),i,this.options,n)&&_e(this,Fe,Xo).call(this),this.updateResult(),o&&(R(this,Re)!==i||gn(this.options.enabled,R(this,Re))!==gn(n.enabled,R(this,Re))||Kr(this.options.staleTime,R(this,Re))!==Kr(n.staleTime,R(this,Re)))&&_e(this,Fe,jh).call(this);const c=_e(this,Fe,Sh).call(this);o&&(R(this,Re)!==i||gn(this.options.enabled,R(this,Re))!==gn(n.enabled,R(this,Re))||c!==R(this,$r))&&_e(this,Fe,Nh).call(this,c)}getOptimisticResult(e){const n=R(this,Gt).getQueryCache().build(R(this,Gt),e),i=this.createResult(n,e);return kS(this,i)&&(re(this,Mt,i),re(this,Oi,this.options),re(this,Os,R(this,Re).state)),i}getCurrentResult(){return R(this,Mt)}trackResult(e,n){return new Proxy(e,{get:(i,o)=>(this.trackProp(o),n==null||n(o),o==="promise"&&!this.options.experimental_prefetchInRender&&R(this,ar).status==="pending"&&R(this,ar).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(i,o))})}trackProp(e){R(this,Bi).add(e)}getCurrentQuery(){return R(this,Re)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const n=R(this,Gt).defaultQueryOptions(e),i=R(this,Gt).getQueryCache().build(R(this,Gt),n);return i.fetch().then(()=>this.createResult(i,n))}fetch(e){return _e(this,Fe,Xo).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),R(this,Mt)))}createResult(e,n){var H;const i=R(this,Re),o=this.options,c=R(this,Mt),u=R(this,Os),h=R(this,Oi),g=e!==i?e.state:R(this,wa),{state:y}=e;let v={...y},b=!1,S;if(n._optimisticResults){const G=this.hasListeners(),Q=!G&&Ay(e,n),$=G&&_y(e,i,n,o);(Q||$)&&(v={...v,...I0(y.data,e.options)}),n._optimisticResults==="isRestoring"&&(v.fetchStatus="idle")}let{error:E,errorUpdatedAt:N,status:j}=v;S=v.data;let w=!1;if(n.placeholderData!==void 0&&S===void 0&&j==="pending"){let G;c!=null&&c.isPlaceholderData&&n.placeholderData===(h==null?void 0:h.placeholderData)?(G=c.data,w=!0):G=typeof n.placeholderData=="function"?n.placeholderData((H=R(this,Ii))==null?void 0:H.state.data,R(this,Ii)):n.placeholderData,G!==void 0&&(j="success",S=bh(c==null?void 0:c.data,G,n),b=!0)}if(n.select&&S!==void 0&&!w)if(c&&S===(u==null?void 0:u.data)&&n.select===R(this,ka))S=R(this,Li);else try{re(this,ka,n.select),S=n.select(S),S=bh(c==null?void 0:c.data,S,n),re(this,Li,S),re(this,zr,null)}catch(G){re(this,zr,G)}R(this,zr)&&(E=R(this,zr),S=R(this,Li),N=Date.now(),j="error");const P=v.fetchStatus==="fetching",T=j==="pending",O=j==="error",U=T&&P,q=S!==void 0,D={status:j,fetchStatus:v.fetchStatus,isPending:T,isSuccess:j==="success",isError:O,isInitialLoading:U,isLoading:U,data:S,dataUpdatedAt:v.dataUpdatedAt,error:E,errorUpdatedAt:N,failureCount:v.fetchFailureCount,failureReason:v.fetchFailureReason,errorUpdate
vendor: 8,439 bytes, line 220
220Count:v.errorUpdateCount,isFetched:v.dataUpdateCount>0||v.errorUpdateCount>0,isFetchedAfterMount:v.dataUpdateCount>g.dataUpdateCount||v.errorUpdateCount>g.errorUpdateCount,isFetching:P,isRefetching:P&&!T,isLoadingError:O&&!q,isPaused:v.fetchStatus==="paused",isPlaceholderData:b,isRefetchError:O&&q,isStale:vf(e,n),refetch:this.refetch,promise:R(this,ar),isEnabled:gn(n.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const G=de=>{D.status==="error"?de.reject(D.error):D.data!==void 0&&de.resolve(D.data)},Q=()=>{const de=re(this,ar,D.promise=wh());G(de)},$=R(this,ar);switch($.status){case"pending":e.queryHash===i.queryHash&&G($);break;case"fulfilled":(D.status==="error"||D.data!==$.value)&&Q();break;case"rejected":(D.status!=="error"||D.error!==$.reason)&&Q();break}}return D}updateResult(){const e=R(this,Mt),n=this.createResult(R(this,Re),this.options);if(re(this,Os,R(this,Re).state),re(this,Oi,this.options),R(this,Os).data!==void 0&&re(this,Ii,R(this,Re)),vh(n,e))return;re(this,Mt,n);const i=()=>{if(!e)return!0;const{notifyOnChangeProps:o}=this.options,c=typeof o=="function"?o():o;if(c==="all"||!c&&!R(this,Bi).size)return!0;const u=new Set(c??R(this,Bi));return this.options.throwOnError&&u.add("error"),Object.keys(R(this,Mt)).some(h=>{const p=h;return R(this,Mt)[p]!==e[p]&&u.has(p)})};_e(this,Fe,B0).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&_e(this,Fe,Ch).call(this)}},Gt=new WeakMap,Re=new WeakMap,wa=new WeakMap,Mt=new WeakMap,Os=new WeakMap,Oi=new WeakMap,ar=new WeakMap,zr=new WeakMap,ka=new WeakMap,Li=new WeakMap,Ii=new WeakMap,Ls=new WeakMap,Is=new WeakMap,$r=new WeakMap,Bi=new WeakMap,Fe=new WeakSet,Xo=function(e){_e(this,Fe,Ph).call(this);let n=R(this,Re).fetch(this.options,e);return e!=null&&e.throwOnError||(n=n.catch(Qt)),n},jh=function(){_e(this,Fe,Eh).call(this);const e=Kr(this.options.staleTime,R(this,Re));if(Vs||R(this,Mt).isStale||!yh(e))return;const i=P0(R(this,Mt).dataUpdatedAt,e)+1;re(this,Ls,Ss.setTimeout(()=>{R(this,Mt).isStale||this.updateResult()},i))},Sh=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(R(this,Re)):this.options.refetchInterval)??!1},Nh=function(e){_e(this,Fe,Th).call(this),re(this,$r,e),!(Vs||gn(this.options.enabled,R(this,Re))===!1||!yh(R(this,$r))||R(this,$r)===0)&&re(this,Is,Ss.setInterval(()=>{(this.options.refetchIntervalInBackground||yf.isFocused())&&_e(this,Fe,Xo).call(this)},R(this,$r)))},Ch=function(){_e(this,Fe,jh).call(this),_e(this,Fe,Nh).call(this,_e(this,Fe,Sh).call(this))},Eh=function(){R(this,Ls)&&(Ss.clearTimeout(R(this,Ls)),re(this,Ls,void 0))},Th=function(){R(this,Is)&&(Ss.clearInterval(R(this,Is)),re(this,Is,void 0))},Ph=function(){const e=R(this,Gt).getQueryCache().build(R(this,Gt),this.options);if(e===R(this,Re))return;const n=R(this,Re);re(this,Re,e),re(this,wa,e.state),this.hasListeners()&&(n==null||n.removeObserver(this),e.addObserver(this))},B0=function(e){Et.batch(()=>{e.listeners&&this.listeners.forEach(n=>{n(R(this,Mt))}),R(this,Gt).getQueryCache().notify({query:R(this,Re),type:"observerResultsUpdated"})})},Xx);function wS(t,e){return gn(e.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&e.retryOnMount===!1)}function Ay(t,e){return wS(t,e)||t.state.data!==void 0&&Ah(t,e,e.refetchOnMount)}function Ah(t,e,n){if(gn(e.enabled,t)!==!1&&Kr(e.staleTime,t)!=="static"){const i=typeof n=="function"?n(t):n;return i==="always"||i!==!1&&vf(t,e)}return!1}function _y(t,e,n,i){return(t!==e||gn(i.enabled,t)===!1)&&(!n.suspense||t.state.status!=="error")&&vf(t,n)}function vf(t,e){return gn(e.enabled,t)!==!1&&t.isStaleByTime(Kr(e.staleTime,t))}function kS(t,e){return!vh(t.getCurrentResult(),e)}function Ry(t){return{onFetch:(e,n)=>{var y,v,b,S,E;const i=e.options,o=(b=(v=(y=e.fetchOptions)==null?void 0:y.meta)==null?void 0:v.fetchMore)==null?void 0:b.direction,c=((S=e.state.data)==null?void 0:S.pages)||[],u=((E=e.state.data)==null?void 0:E.pageParams)||[];let h={pages:[],pageParams:[]},p=0;const g=async()=>{let N=!1;const j=T=>{Object.defineProperty(T,"signal",{enumerable:!0,get:()=>(e.signal.aborted?N=!0:e.signal.addEventListener("abort",()=>{N=!0}),e.signal)})},w=_0(e.options,e.fetchOptions),P=async(T,O,U)=>{if(N)return Promise.reject();if(O==null&&T.pages.length)return Promise.resolve(T);const ne=(()=>{const Q={client:e.client,queryKey:e.queryKey,pageParam:O,direction:U?"backward":"forward",meta:e.options.meta};return j(Q),Q})(),D=await w(ne),{maxPages:H}=e.options,G=U?hS:dS;return{pages:G(T.pages,D,H),pageParams:G(T.pageParams,O,H)}};if(o&&c.length){const T=o==="backward",O=T?jS:Oy,U={pages:c,pageParams:u},q=O(i,U);h=await P(U,q,T)}else{const T=t??c.length;do{const O=p===0?u[0]??i.initialPageParam:Oy(i,h);if(p>0&&O==null)break;h=await P(h,O),p++}while(p<T)}return h};e.options.persister?e.fetchFn=()=>{var N,j;return(j=(N=e.options).persister)==null?void 0:j.call(N,g,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},n)}:e.fetchFn=g}}}function Oy(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 jS(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 ja,Un,Vt,Bs,zn,Dr,Jx,SS=(Jx=class extends L0{constructor(e){super();be(this,zn);be(this,ja);be(this,Un);be(this,Vt);be(this,Bs);re(this,ja,e.client),this.mutationId=e.mutationId,re(this,Vt,e.mutationCache),re(this,Un,[]),this.state=e.state||NS(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){R(this,Un).includes(e)||(R(this,Un).push(e),this.clearGcTimeout(),R(this,Vt).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){re(this,Un,R(this,Un).filter(n=>n!==e)),this.scheduleGc(),R(this,Vt).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){R(this,Un).length||(this.state.status==="pending"?this.scheduleGc():R(this,Vt).remove(this))}continue(){var e;return((e=R(this,Bs))==null?void 0:e.continue())??this.execute(this.state.variables)}async execute(e){var u,h,p,g,y,v,b,S,E,N,j,w,P,T,O,U,q,ne,D,H;const n=()=>{_e(this,zn,Dr).call(this,{type:"continue"})},i={client:R(this,ja),meta:this.options.meta,mutationKey:this.options.mutationKey};re(this,Bs,O0({fn:()=>this.options.mutationFn?this.options.mutationFn(e,i):Promise.reject(new Error("No mutationFn found")),onFail:(G,Q)=>{_e(this,zn,Dr).call(this,{type:"failed",failureCount:G,error:Q})},onPause:()=>{_e(this,zn,Dr).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>R(this,Vt).canRun(this)}));const o=this.state.status==="pending",c=!R(this,Bs).canStart();try{if(o)n();else{_e(this,zn,Dr).call(this,{type:"pending",variables:e,isPaused:c}),await((h=(u=R(this,Vt).config).onMutate)==null?void 0:h.call(u,e,this,i));const Q=await((g=(p=this.options).onMutate)==null?void 0:g.call(p,e,i));Q!==this.state.context&&_e(this,zn,Dr).call(this,{type:"pending",context:Q,variables:e,isPaused:c})}const G=await R(this,Bs).start();return await((v=(y=R(this,Vt).config).onSuccess)==null?void 0:v.call(y,G,e,this.state.context,this,i)),await((S=(b=this.options).onSuccess)==null?void 0:S.call(b,G,e,this.state.context,i)),await((N=(E=R(this,Vt).config).onSettled)==null?void 0:N.call(E,G,null,this.state.variables,this.state.context,this,i)),await((w=(j=this.options).onSettled)==null?void 0:w.call(j,G,null,e,this.state.context,i)),_e(this,zn,Dr).call(this,{type:"success",data:G}),G}catch(G){try{throw await((T=(P=R(this,Vt).config).onError)==null?void 0:T.call(P,G,e,this.state.context,this,i)),await((U=(O=this.options).onError)==null?void 0:U.call(O,G,e,this.state.context,i)),await((ne=(q=R(this,Vt).config).onSettled)==null?void 0:ne.call(q,void 0,G,this.state.variables,this.state.context,this,i)),await((H=(D=this.options).onSettled)==null?void 0:H.call(D,void 0,G,e,this.state.context,i)),G}finally{_e(this,zn,Dr).call(this,{type:"error",error:G})}}finally{R(this,Vt).runNext(this)}}},ja=new WeakMap,Un=new WeakMap,Vt=new WeakMap,Bs=new WeakMap,zn=new WeakSet,Dr=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};
220case"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),Et.batch(()=>{R(this,Un).forEach(i=>{i.onMutationUpdate(e)}),R(this,Vt).notify({mutation:this,type:"updated",action:e})})},Jx);function NS(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var lr,An,Sa,Zx,CS=(Zx=class extends Na{constructor(e={}){super();be(this,lr);be(this,An);be(this,Sa);this.config=e,re(this,lr,new Set),re(this,An,new Map),re(this,Sa,0)}build(e,n,i){const o=new SS({client:e,mutationCache:this,mutationId:++ql(this,Sa)._,options:e.defaultMutationOptions(n),state:i});return this.add(o),o}add(e){R(this,lr).add(e);const n=Gl(e);if(typeof n=="string"){const i=R(this,An).get(n);i?i.push(e):R(this,An).set(n,[e])}this.notify({type:"added",mutation:e})}remove(e){if(R(this,lr).delete(e)){const n=Gl(e);if(typeof n=="string"){const i=R(this,An).get(n);if(i)if(i.length>1){const o=i.indexOf(e);o!==-1&&i.splice(o,1)}else i[0]===e&&R(this,An).delete(n)}}this.notify({type:"removed",mutation:e})}canRun(e){const n=Gl(e);if(typeof n=="string"){const i=R(this,An).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=Gl(e);if(typeof n=="string"){const o=(i=R(this,An).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(){Et.batch(()=>{R(this,lr).forEach(e=>{this.notify({type:"removed",mutation:e})}),R(this,lr).clear(),R(this,An).clear()})}getAll(){return Array.from(R(this,lr))}find(e){const n={exact:!0,...e};return this.getAll().find(i=>Cy(n,i))}findAll(e={}){return this.getAll().filter(n=>Cy(e,n))}notify(e){Et.batch(()=>{this.listeners.forEach(n=>{n(e)})})}resumePausedMutations(){const e=this.getAll().filter(n=>n.state.isPaused);return Et.batch(()=>Promise.all(e.map(n=>n.continue().catch(Qt))))}},lr=new WeakMap,An=new WeakMap,Sa=new WeakMap,Zx);function Gl(t){var e;return(e=t.options.scope)==null?void 0:e.id}var $n,e0,ES=(e0=class extends Na{constructor(e={}){super();be(this,$n);this.config=e,re(this,$n,new Map)}build(e,n,i){const o=n.queryKey,c=n.queryHash??mf(o,n);let u=this.get(c);return u||(u=new xS({client:e,queryKey:o,queryHash:c,options:e.defaultQueryOptions(n),state:i,defaultOptions:e.getQueryDefaults(o)}),this.add(u)),u}add(e){R(this,$n).has(e.queryHash)||(R(this,$n).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const n=R(this,$n).get(e.queryHash);n&&(e.destroy(),n===e&&R(this,$n).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Et.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return R(this,$n).get(e)}getAll(){return[...R(this,$n).values()]}find(e){const n={exact:!0,...e};return this.getAll().find(i=>Ny(n,i))}findAll(e={}){const n=this.getAll();return Object.keys(e).length>0?n.filter(i=>Ny(e,i)):n}notify(e){Et.batch(()=>{this.listeners.forEach(n=>{n(e)})})}onFocus(){Et.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Et.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},$n=new WeakMap,e0),nt,Wr,qr,Di,Fi,Hr,Mi,Vi,t0,TS=(t0=class{constructor(t={}){be(this,nt);be(this,Wr);be(this,qr);be(this,Di);be(this,Fi);be(this,Hr);be(this,Mi);be(this,Vi);re(this,nt,t.queryCache||new ES),re(this,Wr,t.mutationCache||new CS),re(this,qr,t.defaultOptions||{}),re(this,Di,new Map),re(this,Fi,new Map),re(this,Hr,0)}mount(){ql(this,Hr)._++,R(this,Hr)===1&&(re(this,Mi,yf.subscribe(async t=>{t&&(await this.resumePausedMutations(),R(this,nt).onFocus())})),re(this,Vi,gc.subscribe(async t=>{t&&(await this.resumePausedMutations(),R(this,nt).onOnline())})))}unmount(){var t,e;ql(this,Hr)._--,R(this,Hr)===0&&((t=R(this,Mi))==null||t.call(this),re(this,Mi,void 0),(e=R(this,Vi))==null||e.call(this),re(this,Vi,void 0))}isFetching(t){return R(this,nt).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return R(this,Wr).findAll({...t,status:"pending"}).length}getQueryData(t){var n;const e=this.defaultQueryOptions({queryKey:t});return(n=R(this,nt).get(e.queryHash))==null?void 0:n.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),n=R(this,nt).build(this,e),i=n.state.data;return i===void 0?this.fetchQuery(t):(t.revalidateIfStale&&n.isStaleByTime(Kr(e.staleTime,n))&&this.prefetchQuery(e),Promise.resolve(i))}getQueriesData(t){return R(this,nt).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=R(this,nt).get(i.queryHash),c=o==null?void 0:o.state.data,u=lS(e,c);if(u!==void 0)return R(this,nt).build(this,i).setData(u,{...n,manual:!0})}
220setQueriesData(t,e,n){return Et.batch(()=>R(this,nt).findAll(t).map(({queryKey:i})=>[i,this.setQueryData(i,e,n)]))}getQueryState(t){var n;const e=this.defaultQueryOptions({queryKey:t});return(n=R(this,nt).get(e.queryHash))==null?void 0:n.state}removeQueries(t){const e=R(this,nt);Et.batch(()=>{e.findAll(t).forEach(n=>{e.remove(n)})})}resetQueries(t,e){const n=R(this,nt);return Et.batch(()=>(n.findAll(t).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const n={revert:!0,...e},i=Et.batch(()=>R(this,nt).findAll(t).map(o=>o.cancel(n)));return Promise.all(i).then(Qt).catch(Qt)}invalidateQueries(t,e={}){return Et.batch(()=>(R(this,nt).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=Et.batch(()=>R(this,nt).findAll(t).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let c=o.fetch(void 0,n);return n.throwOnError||(c=c.catch(Qt)),o.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(i).then(Qt)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const n=R(this,nt).build(this,e);return n.isStaleByTime(Kr(e.staleTime,n))?n.fetch(e):Promise.resolve(n.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Qt).catch(Qt)}fetchInfiniteQuery(t){return t.behavior=Ry(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Qt).catch(Qt)}ensureInfiniteQueryData(t){return t.behavior=Ry(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return gc.isOnline()?R(this,Wr).resumePausedMutations():Promise.resolve()}getQueryCache(){return R(this,nt)}getMutationCache(){return R(this,Wr)}getDefaultOptions(){return R(this,qr)}setDefaultOptions(t){re(this,qr,t)}setQueryDefaults(t,e){R(this,Di).set(ua(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...R(this,Di).values()],n={};return e.forEach(i=>{da(t,i.queryKey)&&Object.assign(n,i.defaultOptions)}),n}setMutationDefaults(t,e){R(this,Fi).set(ua(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...R(this,Fi).values()],n={};return e.forEach(i=>{da(t,i.mutationKey)&&Object.assign(n,i.defaultOptions)}),n}defaultQueryOptions(t){if(t._defaulted)return t;const e={...R(this,qr).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=mf(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===gf&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...R(this,qr).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){R(this,nt).clear(),R(this,Wr).clear()}},nt=new WeakMap,Wr=new WeakMap,qr=new WeakMap,Di=new WeakMap,Fi=new WeakMap,Hr=new WeakMap,Mi=new WeakMap,Vi=new WeakMap,t0),D0=A.createContext(void 0),PS=t=>{const e=A.useContext(D0);if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},AS=({client:t,children:e})=>(A.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),l.jsx(D0.Provider,{value:t,children:e})),F0=A.createContext(!1),_S=()=>A.useContext(F0);F0.Provider;function RS(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var OS=A.createContext(RS()),LS=()=>A.useContext(OS),IS=(t,e)=>{(t.suspense||t.throwOnError||t.experimental_prefetchInRender)&&(e.isReset()||(t.retryOnMount=!1))},BS=t=>{A.useEffect(()=>{t.clearReset()},[t])},DS=({result:t,errorResetBoundary:e,throwOnError:n,query:i,suspense:o})=>t.isError&&!e.isReset()&&!t.isFetching&&i&&(o&&t.data===void 0||fS(n,[t.error,i])),FS=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))}},MS=(t,e)=>t.isLoading&&t.isFetching&&!e,VS=(t,e)=>(t==null?void 0:t.suspense)&&e.isPending,Ly=(t,e,n)=>e.fetchOptimistic(t).catch(()=>{n.clearReset()});function US(t,e,n){var v,b,S,E,N;const i=_S(),o=LS(),c=PS(),u=c.defaultQueryOptions(t);(b=(v=c.getDefaultOptions().queries)==null?void 0:v._experimental_beforeQuery)==null||b.call(v,u),u._optimisticResults=i?"isRestoring":"optimistic",FS(u),IS(u,o),BS(o);const h=!c.getQueryCache().get(u.queryHash),[p]=A.useState(()=>new e(c,u)),g=p.getOptimisticResult(u),y=!i&&t.subscribed!==!1;if(A.useSyncExternalStore(A.useCallback(j=>{const w=y?p.subscribe(Et.batchCalls(j)):Qt;return p.updateResult(),w},[p,y]),()=>p.getCurrentResult(),()=>p.getCurrentResult()),A.useEffect(()=>{p.setOptions(u)},[u,p]),VS(u,g))throw Ly(u,p,o);if(DS({result:g,errorResetBoundary:o,throwOnError:u.throwOnError,query:c.getQueryCache().get(u.queryHash),suspense:u.suspense}))throw g.error;if((E=(S=c.getDefaultOptions().queries)==null?void 0:S._experimental_afterQuery)==null||E.call(S,u,g),u.experimental_prefetchInRender&&!Vs&&MS(g,i)){const j=h?Ly(u,p,o):(N=c.getQueryCache().get(u.queryHash))==null?void 0:N.promise;j==null||j.catch(Qt).finally(()=>{p.updateResult()})}return u.notifyOnChangeProps?g:p.trackResult(g)}function zS(t,e){return US(t,bS)}const $S=new TS({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}});function WS(){const[t,e]=A.useState(!1),n=A.useRef(!1),[i,o]=A.useState(!1),c=A.useRef(!1),[u,h]=A.useState(!1),p=A.useRef(!1),g=A.useRef([]),y=A.useRef([]),v=A.useRef([]),b=A.useRef(null),S=(D=!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",D?H.style.border="2px s
220olid #2563EB":(H.style.border="2px solid #95a5fc",H.style.backgroundColor="rgba(99, 102, 241, 0.05)"),H},E=(D,H,G=!1)=>{if(!H||!n.current)return;H.offsetWidth;const Q=H.getBoundingClientRect();D.style.top=`${Q.top+window.scrollY}px`,D.style.left=`${Q.left+window.scrollX}px`,D.style.width=`${Q.width}px`,D.style.height=`${Q.height}px`;let $=D.querySelector("div");$||($=document.createElement("div"),$.textContent=H.tagName.toLowerCase(),$.style.position="absolute",$.style.top="-27px",$.style.left="-2px",$.style.padding="2px 8px",$.style.fontSize="11px",$.style.fontWeight=G?"500":"400",$.style.color=G?"#ffffff":"#526cff",$.style.backgroundColor=G?"#526cff":"#DBEAFE",$.style.borderRadius="3px",$.style.boxShadow="none",$.style.minWidth="24px",$.style.textAlign="center",D.appendChild($))},N=D=>{if(!D)return[];const H=[...document.querySelectorAll(`[data-source-location="${D}"]`)];return H.length>0?H:[...document.querySelectorAll(`[data-visual-selector-id="${D}"]`)]},j=()=>{g.current.forEach(D=>{D&&D.parentNode&&D.remove()}),g.current=[],v.current=[]},w=D=>{if(!n.current||c.current)return;if(p.current){j();return}if(D.target.tagName.toLowerCase()==="path"){j();return}const H=D.target.closest("[data-source-location], [data-visual-selector-id]");if(!H){j();return}const G=H.dataset.sourceLocation||H.dataset.visualSelectorId;if(H.dataset.sourceLocation,b.current===G){j();return}const Q=N(G);j(),Q.forEach($=>{const de=S(!1);document.body.appendChild(de),g.current.push(de),E(de,$)}),v.current=Q},P=()=>{c.current||j()},T=D=>{var ye;if(!n.current)return;if(p.current){D.preventDefault(),D.stopPropagation(),D.stopImmediatePropagation(),window.parent.postMessage({type:"close-dropdowns"},"*");return}if(D.target.tagName.toLowerCase()==="path")return;D.preventDefault(),D.stopPropagation(),D.stopImmediatePropagation();const H=D.target.closest("[data-source-location], [data-visual-selector-id]");if(!H)return;const G=H.dataset.sourceLocation||H.dataset.visualSelectorId;H.dataset.sourceLocation,y.current.forEach(ke=>{ke&&ke.parentNode&&ke.remove()}),y.current=[],N(G).forEach(ke=>{const pe=S(!0);document.body.appendChild(pe),y.current.push(pe),E(pe,ke,!0)}),b.current=G,j();const $=H.getBoundingClientRect(),de={top:$.top,left:$.left,right:$.right,bottom:$.bottom,width:$.width,height:$.height,centerX:$.left+$.width/2,centerY:$.top+$.height/2},Ne={type:"element-selected",tagName:H.tagName,classes:((ye=H.className)==null?void 0:ye.baseVal)||H.className||"",visualSelectorId:G,content:H.innerText,dataSourceLocation:H.dataset.sourceLocation,isDynamicContent:H.dataset.dynamicContent==="true",linenumber:H.dataset.linenumber,filename:H.dataset.filename,position:de};window.parent.postMessage(Ne,"*")},O=()=>{y.current.forEach(D=>{D&&D.parentNode&&D.remove()}),y.current=[],b.current=null},U=(D,H,G=!1)=>{const Q=N(D);Q.length!==0&&(Q.forEach($=>{var de;if(G)$.className=H;else{const Ne=((de=$.className)==null?void 0:de.baseVal)||$.className||"";$.className=k0(Ne,H)}}),setTimeout(()=>{var $,de;b.current===D&&y.current.forEach((Ne,ye)=>{ye<Q.length&&E(Ne,Q[ye])}),v.current.length>0&&((de=($=v.current[0])==null?void 0:$.dataset)==null?void 0:de.visualSelectorId)===D&&g.current.forEach((ye,ke)=>{ke<v.current.length&&E(ye,v.current[ke])})},50))},q=(D,H)=>{const G=N(D);G.length!==0&&(G.forEach(Q=>{Q.innerText=H}),setTimeout(()=>{b.current===D&&y.current.forEach((Q,$)=>{$<G.length&&E(Q,G[$])})},50))},ne=D=>{e(D),n.current=D,D?(document.body.style.cursor="crosshair",document.addEventListener("mouseover",w),document.addEventListener("mouseout",P),document.addEventListener("click",T,!0)):(j(),y.current.forEach(H=>{H&&H.parentNode&&H.remove()}),y.current=[],v.current=[],b.current=null,document.body.style.cursor="default",document.removeEventListener("mouseover",w),document.removeEventListener("mouseout",P),document.removeEventListener("click",T,!0))};return A.useEffect(()=>{document.querySelectorAll("[data-linenumber]:not([data-visual-selector-id])").forEach((Q,$)=>{const de=`visual-id-${Q.dataset.filename}-${Q.dataset.linenumber}-${$}`;Q.dataset.visualSelectorId=de});const H=()=>
220{if(b.current){const Q=N(b.current);if(Q.length>0){const de=Q[0].getBoundingClientRect(),Ne=window.innerHeight,ye=window.innerWidth,ke=de.top<Ne&&de.bottom>0&&de.left<ye&&de.right>0,pe={top:de.top,left:de.left,right:de.right,bottom:de.bottom,width:de.width,height:de.height,centerX:de.left+de.width/2,centerY:de.top+de.height/2};window.parent.postMessage({type:"element-position-update",position:pe,isInViewport:ke,visualSelectorId:b.current},"*")}}},G=Q=>{const $=Q.data;switch($.type){case"toggle-visual-edit-mode":ne($.data.enabled);break;case"update-classes":$.data&&$.data.classes!==void 0?U($.data.visualSelectorId,$.data.classes,$.data.replace||!1):console.warn("[Agent] Invalid update-classes message:",$);break;case"unselect-element":O();break;case"refresh-page":window.location.reload();break;case"update-content":$.data&&$.data.content!==void 0?q($.data.visualSelectorId,$.data.content):console.warn("[Agent] Invalid update-content message:",$);break;case"request-element-position":if(b.current){const de=N(b.current);if(de.length>0){const ye=de[0].getBoundingClientRect(),ke=window.innerHeight,pe=window.innerWidth,z=ye.top<ke&&ye.bottom>0&&ye.left<pe&&ye.right>0,he={top:ye.top,left:ye.left,right:ye.right,bottom:ye.bottom,width:ye.width,height:ye.height,centerX:ye.left+ye.width/2,centerY:ye.top+ye.height/2};window.parent.postMessage({type:"element-position-update",position:he,isInViewport:z,visualSelectorId:b.current},"*")}}break;case"popover-drag-state":$.data&&$.data.isDragging!==void 0&&(o($.data.isDragging),c.current=$.data.isDragging,$.data.isDragging&&j());break;case"dropdown-state":$.data&&$.data.isOpen!==void 0&&(h($.data.isOpen),p.current=$.data.isOpen,$.data.isOpen&&j());break}};return window.addEventListener("message",G),window.addEventListener("scroll",H,!0),document.addEventListener("scroll",H,!0),window.parent.postMessage({type:"visual-edit-agent-ready"},"*"),()=>{window.removeEventListener("message",G),window.removeEventListener("scroll",H,!0),document.removeEventListener("scroll",H,!0),document.removeEventListener("mouseover",w),document.removeEventListener("mouseout",P),document.removeEventListener("click",T,!0),j(),y.current.forEach(Q=>{Q&&Q.parentNode&&Q.remove()})}},[]),A.useEffect(()=>{n.current=t},[t]),A.useEffect(()=>{c.current=i},[i]),A.useEffect(()=>{p.current=u},[u]),A.useEffect(()=>{const D=()=>{if(b.current){const G=N(b.current);y.current.forEach((Q,$)=>{$<G.length&&E(Q,G[$])})}v.current.length>0&&g.current.forEach((G,Q)=>{Q<v.current.length&&E(G,v.current[Q])})},H=new MutationObserver(G=>{G.some($=>{const de=ye=>{if(ye.nodeType===Node.ELEMENT_NODE){if(ye.dataset&&ye.dataset.visualSelectorId)return!0;for(let ke=0;ke<ye.children.length;ke++)if(de(ye.children[ke]))return!0}return!1};return $.type==="attributes"&&($.attributeName==="style"||$.attributeName==="class"||$.attributeName==="width"||$.attributeName==="height")&&de($.target)})&&setTimeout(D,50)});return H.observe(document.body,{attributes:!0,childList:!0,subtree:!0,attributeFilter:["style","class","width","height"]}),window.addEventListener("resize",D),window.addEventListener("scroll",D),()=>{window.removeEventListener("resize",D),window.removeEventListener("scroll",D),H.disconnect()}},[]),null}r0();/**
221 * @remix-run/router v1.23.0
222 *
223 * Copyright (c) Remix Software Inc.
224 *
225 * This source code is licensed under the MIT license found in the
226 * LICENSE.md file in the root directory of this source tree.
227 *
228 * @license MIT
229 */function ha(){return ha=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},ha.apply(this,arguments)}var Yr;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(Yr||(Yr={}));const Iy="popstate";function qS(t){t===void 0&&(t={});function e(i,o){let{pathname:c,search:u,hash:h}=i.location;return _h("",{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:yc(o)}return YS(e,n,null,t)}function ft(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function M0(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function HS(){return Math.random().toString(36).substr(2,8)}function By(t,e){return{usr:t.state,key:t.key,idx:e}}function _h(t,e,n,i){return n===void 0&&(n=null),ha({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?Qi(e):e,{state:n,key:e&&e.key||i||HS()})}function yc(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 Qi(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 YS(t,e,n,i){i===void 0&&(i={});let{window:o=document.defaultView,v5Compat:c=!1}=i,u=o.history,h=Yr.Pop,p=null,g=y();g==null&&(g=0,u.replaceState(ha({},u.state,{idx:g}),""));function y(){return(u.state||{idx:null}).idx}function v(){h=Yr.Pop;let j=y(),w=j==null?null:j-g;g=j,p&&p({action:h,location:N.location,delta:w})}function b(j,w){h=Yr.Push;let P=_h(N.location,j,w);g=y()+1;let T=By(P,g),O=N.createHref(P);try{u.pushState(T,"",O)}catch(U){if(U instanceof DOMException&&U.name==="DataCloneError")throw U;o.location.assign(O)}c&&p&&p({action:h,location:N.location,delta:1})}function S(j,w){h=Yr.Replace;let P=_h(N.location,j,w);g=y();let T=By(P,g),O=N.createHref(P);u.replaceState(T,"",O),c&&p&&p({action:h,location:N.location,delta:0})}function E(j){let w=o.location.origin!=="null"?o.location.origin:o.location.href,P=typeof j=="string"?j:yc(j);return P=P.replace(/ $/,"%20"),ft(w,"No window.location.(origin|href) available to create URL for href: "+P),new URL(P,w)}let N={get action(){return h},get location(){return t(o,u)},listen(j){if(p)throw new Error("A history only accepts one active listener");return o.addEventListener(Iy,v),p=j,()=>{o.removeEventListener(Iy,v),p=null}},createHref(j){return e(o,j)},createURL:E,encodeLocation(j){let w=E(j);return{pathname:w.pathname,search:w.search,hash:w.hash}},push:b,replace:S,go(j){return u.go(j)}};return N}var Dy;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(Dy||(Dy={}));function KS(t,e,n){return n===void 0&&(n="/"),GS(t,e,n)}function GS(t,e,n,i){let o=typeof e=="string"?Qi(e):e,c=xf(o.pathname||"/",n);if(c==null)return null;let u=V0(t);QS(u);let h=null;for(let p=0;h==null&&p<u.length;++p){let g=lN(c);h=iN(u[p],g)}return h}function V0(t,e,n,i){e===void 0&&(e=[]),n===void 0&&(n=[]),i===void 0&&(i="");let o=(c,u,h)=>{let p={relativePath:h===void 0?c.path||"":h,caseSensitive:c.caseSensitive===!0,childrenIndex:u,route:c};p.relativePath.startsWith("/")&&(ft(p.relativePath.startsWith(i),'Absolute route path "'+p.relativePath+'" nested under path '+('"'+i+'" is not val
229id. An absolute child route path ')+"must start with the combined path of all its parent routes."),p.relativePath=p.relativePath.slice(i.length));let g=Gr([i,p.relativePath]),y=n.concat(p);c.children&&c.children.length>0&&(ft(c.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+g+'".')),V0(c.children,e,y,g)),!(c.path==null&&!c.index)&&e.push({path:g,score:rN(g,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 p of U0(c.path))o(c,u,p)}),e}function U0(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=U0(i.join("/")),h=[];return h.push(...u.map(p=>p===""?c:[c,p].join("/"))),o&&h.push(...u),h.map(p=>t.startsWith("/")&&p===""?"/":p)}function QS(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:sN(e.routesMeta.map(i=>i.childrenIndex),n.routesMeta.map(i=>i.childrenIndex)))}const XS=/^:[\w-]+$/,JS=3,ZS=2,eN=1,tN=10,nN=-2,Fy=t=>t==="*";function rN(t,e){let n=t.split("/"),i=n.length;return n.some(Fy)&&(i+=nN),e&&(i+=ZS),n.filter(o=>!Fy(o)).reduce((o,c)=>o+(XS.test(c)?JS:c===""?eN:tN),i)}function sN(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 iN(t,e,n){let{routesMeta:i}=t,o={},c="/",u=[];for(let h=0;h<i.length;++h){let p=i[h],g=h===i.length-1,y=c==="/"?e:e.slice(c.length)||"/",v=oN({path:p.relativePath,caseSensitive:p.caseSensitive,end:g},y),b=p.route;if(!v)return null;
vendor: 9,695 bytes, lines 229-238
229Object.assign(o,v.params),u.push({params:o,pathname:Gr([c,v.pathname]),pathnameBase:hN(Gr([c,v.pathnameBase])),route:b}),v.pathnameBase!=="/"&&(c=Gr([c,v.pathnameBase]))}return u}function oN(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[n,i]=aN(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((g,y,v)=>{let{paramName:b,isOptional:S}=y;if(b==="*"){let N=h[v]||"";u=c.slice(0,c.length-N.length).replace(/(.)\/+$/,"$1")}const E=h[v];return S&&!E?g[b]=void 0:g[b]=(E||"").replace(/%2F/g,"/"),g},{}),pathname:c,pathnameBase:u,pattern:t}}function aN(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!0),M0(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,p)=>(i.push({paramName:h,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(i.push({paramName:"*"}),o+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":t!==""&&t!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,e?void 0:"i"),i]}function lN(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return M0(!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 xf(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 cN(t,e){e===void 0&&(e="/");let{pathname:n,search:i="",hash:o=""}=typeof t=="string"?Qi(t):t;return{pathname:n?n.startsWith("/")?n:uN(n,e):e,search:fN(i),hash:pN(o)}}function uN(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 $d(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 dN(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function z0(t,e){let n=dN(t);return e?n.map((i,o)=>o===n.length-1?i.pathname:i.pathnameBase):n.map(i=>i.pathnameBase)}function $0(t,e,n,i){i===void 0&&(i=!1);let o;typeof t=="string"?o=Qi(t):(o=ha({},t),ft(!o.pathname||!o.pathname.includes("?"),$d("?","pathname","search",o)),ft(!o.pathname||!o.pathname.includes("#"),$d("#","pathname","hash",o)),ft(!o.search||!o.search.includes("#"),$d("#","search","hash",o)));let c=t===""||o.pathname==="",u=c?"/":o.pathname,h;if(u==null)h=n;else{let v=e.length-1;if(!i&&u.startsWith("..")){let b=u.split("/");for(;b[0]==="..";)b.shift(),v-=1;o.pathname=b.join("/")}h=v>=0?e[v]:"/"}let p=cN(o,h),g=u&&u!=="/"&&u.endsWith("/"),y=(c||u===".")&&n.endsWith("/");return!p.pathname.endsWith("/")&&(g||y)&&(p.pathname+="/"),p}const Gr=t=>t.join("/").replace(/\/\/+/g,"/"),hN=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),fN=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,pN=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function mN(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const W0=["post","put","patch","delete"];new Set(W0);const gN=["get",...W0];new Set(gN);/**
230 * React Router v6.30.1
231 *
232 * Copyright (c) Remix Software Inc.
233 *
234 * This source code is licensed under the MIT license found in the
235 * LICENSE.md file in the root directory of this source tree.
236 *
237 * @license MIT
238 */function fa(){return fa=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},fa.apply(this,arguments)}const bf=A.createContext(null),yN=A.createContext(null),$s=A.createContext(null),Ac=A.createContext(null),Ws=A.createContext({outlet:null,matches:[],isDataRoute:!1}),q0=A.createContext(null);function vN(t,e){let{relative:n}=e===void 0?{}:e;Ca()||ft(!1);let{basename:i,navigator:o}=A.useContext($s),{hash:c,pathname:u,search:h}=Y0(t,{relative:n}),p=u;return i!=="/"&&(p=u==="/"?i:Gr([i,u])),o.createHref({pathname:p,search:h,hash:c})}function Ca(){return A.useContext(Ac)!=null}function Xi(){return Ca()||ft(!1),A.useContext(Ac).location}function H0(t){A.useContext($s).static||A.useLayoutEffect(t)}function xN(){let{isDataRoute:t}=A.useContext(Ws);return t?RN():bN()}function bN(){Ca()||ft(!1);let t=A.useContext(bf),{basename:e,future:n,navigator:i}=A.useContext($s),{matches:o}=A.useContext(Ws),{pathname:c}=Xi(),u=JSON.stringify(z0(o,n.v7_relativeSplatPath)),h=A.useRef(!1);return H0(()=>{h.current=!0}),A.useCallback(function(g,y){if(y===void 0&&(y={}),!h.current)return;if(typeof g=="number"){i.go(g);return}let v=$0(g,JSON.parse(u),c,y.relative==="path");t==null&&e!=="/"&&(v.pathname=v.pathname==="/"?e:Gr([e,v.pathname])),(y.replace?i.replace:i.push)(v,y.state,y)},[e,i,u,c,t])}function Y0(t,e){let{relative:n}=e===void 0?{}:e,{future:i}=A.useContext($s),{matches:o}=A.useContext(Ws),{pathname:c}=Xi(),u=JSON.stringify(z0(o,i.v7_relativeSplatPath));return A.useMemo(()=>$0(t,JSON.parse(u),c,n==="path"),[t,u,c,n])}function wN(t,e){return kN(t,e)}function kN(t,e,n,i){Ca()||ft(!1);let{navigator:o}=A.useContext($s),{matches:c}=A.useContext(Ws),u=c[c.length-1],h=u?u.params:{};u&&u.pathname;let p=u?u.pathnameBase:"/";u&&u.route;let g=Xi(),y;if(e){var v;let j=typeof e=="string"?Qi(e):e;p==="/"||(v=j.pathname)!=null&&v.startsWith(p)||ft(!1),y=j}else y=g;let b=y.pathname||"/",S=b;if(p!=="/"){let j=p.replace(/^\//,"").split("/");S="/"+b.replace(/^\//,"").split("/").slice(j.length).join("/")}let E=KS(t,{pathname:S}),N=EN(E&&E.map(j=>Object.assign({},j,{params:Object.assign({},h,j.params),pathname:Gr([p,o.encodeLocation?o.encodeLocation(j.pathname).pathname:j.pathname]),pathnameBase:j.pathnameBase==="/"?p:Gr([p,o.encodeLocation?o.encodeLocation(j.pathnameBase).pathname:j.pathnameBase])})),c,n,i);return e&&N?A.createElement(Ac.Provider,{value:{location:fa({pathname:"/",search:"",hash:"",state:null,key:"default"},y),navigationType:Yr.Pop}},N):N}function jN(){let t=_N(),e=mN(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 A.createElement(A.Fragment,null,A.createElement("h2",null,"Unexpected Application Error!"),A.createElement("h3",{style:{fontStyle:"italic"}},e),n?A.createElement("pre",{style:o},n):null,null)}const SN=A.createElement(jN,null);class NN extends A.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?A.createElement(Ws.Provider,{value:this.props.routeContext},A.createElement(q0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function CN(t){let{routeContext:e,match:n,children:i}=t,o=A.useContext(bf);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),A.createElement(Ws.Provider,{value:e},i)}function EN(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(v=>v.route.id&&(h==null?void 0:h[v.route.id])!==void 0);y>=0||ft(!1),u=u.slice(0,Math.min(u.length,y+1))}let p=!1,g=-1;if(n&&i&&i.v7_partialHydration)for(let y=0;y<u.length;y++){let v=u[y];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(g=y),v.route.id){let{loaderData:b,errors:S}=n,E=v.route.loader&&b[v.route.id]===void 0&&(!S||S[v.route.id]===void 0);if(v.route.lazy||E){p=!0,g>=0?u=u.slice(0,g+1):u=[u[0]];break}}}return u.reduceRight((y,v,b)=>{let S,E=!1,N=null,j=null;n&&(S=h&&v.route.id?h[v.route.id]:void 0,N=v.route.errorElement||SN,p&&(g<0&&b===0?(ON("route-fallback"),E=!0,j=null):g===b&&(E=!0,j=v.route.hydrateFallbackElement||null)));let w=e.concat(u.slice(0,b+1)),P=()=>{let T;return S?T=N:E?T=j:v.route.Component?T=A.createElement(v.route.Component,null):v.route.element?T=v.route.element:T=y,A.createElement(CN,{match:v,routeContext:{outlet:y,matches:w,isDataRoute:n!=null},children:T})};return n&&(v.route.ErrorBoundary||v.route.errorElement||b===0)?A.createElement(NN,{location:n.location,revalidation:n.revalidation,component:N,error:S,children:P(),routeContext:{outlet:null,matches:w,isDataRoute:!0}}):P()},null)}var K0=(function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t})(K0||{}),G0=(function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useL
238oaderData",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})(G0||{});function TN(t){let e=A.useContext(bf);return e||ft(!1),e}function PN(t){let e=A.useContext(yN);return e||ft(!1),e}function AN(t){let e=A.useContext(Ws);return e||ft(!1),e}function Q0(t){let e=AN(),n=e.matches[e.matches.length-1];return n.route.id||ft(!1),n.route.id}function _N(){var t;let e=A.useContext(q0),n=PN(),i=Q0();return e!==void 0?e:(t=n.errors)==null?void 0:t[i]}function RN(){let{router:t}=TN(K0.UseNavigateStable),e=Q0(G0.UseNavigateStable),n=A.useRef(!1);return H0(()=>{n.current=!0}),A.useCallback(function(o,c){c===void 0&&(c={}),n.current&&(typeof o=="number"?t.navigate(o):t.navigate(o,fa({fromRouteId:e},c)))},[t,e])}const My={};function ON(t,e,n){My[t]||(My[t]=!0)}function LN(t,e){t==null||t.v7_startTransition,t==null||t.v7_relativeSplatPath}function Kt(t){ft(!1)}function IN(t){let{basename:e="/",children:n=null,location:i,navigationType:o=Yr.Pop,navigator:c,static:u=!1,future:h}=t;Ca()&&ft(!1);let p=e.replace(/^\/*/,"/"),g=A.useMemo(()=>({basename:p,navigator:c,static:u,future:fa({v7_relativeSplatPath:!1},h)}),[p,h,c,u]);typeof i=="string"&&(i=Qi(i));let{pathname:y="/",search:v="",hash:b="",state:S=null,key:E="default"}=i,N=A.useMemo(()=>{let j=xf(y,p);return j==null?null:{location:{pathname:j,search:v,hash:b,state:S,key:E},navigationType:o}},[p,y,v,b,S,E,o]);return N==null?null:A.createElement($s.Provider,{value:g},A.createElement(Ac.Provider,{children:n,value:N}))}function BN(t){let{children:e,location:n}=t;return wN(Rh(e),n)}new Promise(()=>{});function Rh(t,e){e===void 0&&(e=[]);let n=[];return A.Children.forEach(t,(i,o)=>{if(!A.isValidElement(i))return;let c=[...e,o];if(i.type===A.Fragment){n.push.apply(n,Rh(i.props.children,c));return}i.type!==Kt&&ft(!1),!i.props.index||!i.props.children||ft(!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=Rh(i.props.children,c)),n.push(u)}),n}/**
239 * React Router DOM v6.30.1
240 *
241 * Copyright (c) Remix Software Inc.
242 *
243 * This source code is licensed under the MIT license found in the
244 * LICENSE.md file in the root directory of this source tree.
245 *
246 * @license MIT
247 */function Oh(){return Oh=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},Oh.apply(this,arguments)}function DN(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 FN(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function MN(t,e){return t.button===0&&(!e||e==="_self")&&!FN(t)}const VN=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],UN="6";try{window.__reactRouterVersion=UN}catch{}const zN="startTransition",Vy=vk[zN];function $N(t){let{basename:e,children:n,future:i,window:o}=t,c=A.useRef();c.current==null&&(c.current=qS({window:o,v5Compat:!0}));let u=c.current,[h,p]=A.useState({action:u.action,location:u.location}),{v7_startTransition:g}=i||{},y=A.useCallback(v=>{g&&Vy?Vy(()=>p(v)):p(v)},[p,g]);return A.useLayoutEffect(()=>u.listen(y),[u,y]),A.useEffect(()=>LN(i),[i]),A.createElement(IN,{basename:e,children:n,location:h.location,navigationType:h.action,navigator:u,future:i})}const WN=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",qN=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,rt=A.forwardRef(function(e,n){let{onClick:i,relative:o,reloadDocument:c,replace:u,state:h,target:p,to:g,preventScrollReset:y,viewTransition:v}=e,b=DN(e,VN),{basename:S}=A.useContext($s),E,N=!1;if(typeof g=="string"&&qN.test(g)&&(E=g,WN))try{let T=new URL(window.location.href),O=g.startsWith("//")?new URL(T.protocol+g):new URL(g),U=xf(O.pathname,S);O.origin===T.origin&&U!=null?g=U+O.search+O.hash:N=!0}catch{}let j=vN(g,{relative:o}),w=HN(g,{replace:u,state:h,target:p,preventScrollReset:y,relative:o,viewTransition:v});function P(T){i&&i(T),T.defaultPrevented||w(T)}return A.createElement("a",Oh({},b,{href:E||j,onClick:N||c?i:P,ref:n,target:p}))});var Uy;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(Uy||(Uy={}));var zy;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(zy||(zy={}));function HN(t,e){let{target:n,replace:i,state:o,preventScrollReset:c,relative:u,viewTransition:h}=e===void 0?{}:e,p=xN(),g=Xi(),y=Y0(t,{relative:u});return A.useCallback(v=>{if(MN(v,n)){v.preventDefault();let b=i!==void 0?i:yc(g)===yc(y);p(t,{replace:b,state:o,preventScrollReset:c,relative:u,viewTransition:h})}},[g,p,y,i,o,n,t,c,u,h])}function X0(t,e){return function(){return t.apply(e,arguments)}}const{toString:YN}=Object.prototype,{getPrototypeOf:zi}=Object,{iterator:Ea,toStringTag:J0}=Symbol,vc=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),pa=(t,e)=>{let n=t;const i=[];for(;n!=null&&n!==Object.prototype;){if(i.indexOf(n)!==-1)return!1;if(i.push(n),vc(n,e))return!0;n=zi(n)}return!1},KN=(t,e)=>t!=null&&pa(t,e)?t[e]:void 0,wf=(t=>e=>{const n=YN.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Rn=t=>(t=t.toLowerCase(),e=>wf(e)===t),_c=t=>e=>typeof e===t,{isArray:Us}=Array,$i=_c("undefined");function Ji(t){return t!==null&&!$i(t)&&t.constructor!==null&&!$i(t.constructor)&&Xt(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Z0=Rn("ArrayBuffer");function GN(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Z0(t.buffer),e}const QN=_c("string"),Xt=_c("function"),eb=_c("number"),Zi=t=>t!==null&&typeof t=="object",XN=t=>t===!0||t===!1,oc=t=>{if(!Zi(t))return!1;const e=zi(t);return(e===null||e===Object.prototype||zi(e)===null)&&!pa(t,J0)&&!pa(t,Ea)},JN=t=>{if(!Zi(t)||Ji(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},ZN=Rn("Date"),eC=Rn("File"),tC=t=>!!(t&&typeof t.uri<"u"),nC=t=>t&&typeof t.getParts<"u",rC=Rn("Blob"),sC=Rn("FileList"),iC=t=>Zi(t)&&Xt(t.pipe);function oC(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const $y=oC(),Wy=typeof $y.FormData<"u"?$y.FormData:void 0,aC=t=>{if(!t)return!1;if(Wy&&t instanceof Wy)return!0;const e=zi(t);if(!e||e===Object.prototype||!Xt(t.append))return!1;const n=wf(t);return n==="formdata"||n==="object"&&Xt(t.toString)&&t.toString()==="[object FormData]"},lC=Rn("URLSearchParams"),[cC,uC,dC,hC]=["ReadableStream","Request","Response","Headers"].map(Rn),fC=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ta(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let i,o;if(typeof t!="object"&&(t=[t]),Us(t))for(i=0,o=t.length;i<o;i++)e.call(null,t[i],i,t);else{if(Ji(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 tb(t,e){if(Ji(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 Ns=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,nb=t=>!$i(t)&&t!==Ns;function Lh(...t){const{caseless:e,skipUndefined:n}=nb(this)&&this||{},i={},o=(c,u)=>{if(u==="__proto__"||u==="constructor"||u==="prototype")return;const h=e&&typeof u=="string"&&tb(i,u)||u,p=vc(i,h)?i[h]:void 0;oc(p)&&oc(c)?i[h]=Lh(p,c):oc(c)?i[h]=Lh({},c):Us(c)?i[h]=c.slice():(!n||!$i(c))&&(i[h]=c)};for(let c=0,u=t.length;c<u;c++){const h=t[c];
vendor: 6,740 bytes, lines 247-248
247if(!h||Ji(h)||(Ta(h,o),typeof h!="object"||Us(h)))continue;const p=Object.getOwnPropertySymbols(h);for(let g=0;g<p.length;g++){const y=p[g];NC.call(h,y)&&o(h[y],y)}}return i}const pC=(t,e,n,{allOwnKeys:i}={})=>(Ta(e,(o,c)=>{n&&Xt(o)?Object.defineProperty(t,c,{__proto__:null,value:X0(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,c,{__proto__:null,value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:i}),t),mC=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),gC=(t,e,n,i)=>{t.prototype=Object.create(e.prototype,i),Object.defineProperty(t.prototype,"constructor",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t,"super",{__proto__:null,value:e.prototype}),n&&Object.assign(t.prototype,n)},yC=(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&&zi(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},vC=(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},xC=t=>{if(!t)return null;if(Us(t))return t;let e=t.length;if(!eb(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},bC=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&zi(Uint8Array)),wC=(t,e)=>{const i=(t&&t[Ea]).call(t);let o;for(;(o=i.next())&&!o.done;){const c=o.value;e.call(t,c[0],c[1])}},kC=(t,e)=>{let n;const i=[];for(;(n=t.exec(e))!==null;)i.push(n);return i},jC=Rn("HTMLFormElement"),SC=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,o){return i.toUpperCase()+o}),{propertyIsEnumerable:NC}=Object.prototype,CC=Rn("RegExp"),rb=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),i={};Ta(n,(o,c)=>{let u;(u=e(o,c,t))!==!1&&(i[c]=u||o)}),Object.defineProperties(t,i)},EC=t=>{rb(t,(e,n)=>{if(Xt(t)&&["arguments","caller","callee"].includes(n))return!1;const i=t[n];if(Xt(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+"'")})}})},TC=(t,e)=>{const n={},i=o=>{o.forEach(c=>{n[c]=!0})};return Us(t)?i(t):i(String(t).split(e)),n},PC=()=>{},AC=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function _C(t){return!!(t&&Xt(t.append)&&t[J0]==="FormData"&&t[Ea])}const RC=t=>{const e=new WeakSet,n=i=>{if(Zi(i)){if(e.has(i))return;if(Ji(i))return i;if(!("toJSON"in i)){e.add(i);const o=Us(i)?[]:{};return Ta(i,(c,u)=>{const h=n(c);!$i(h)&&(o[u]=h)}),e.delete(i),o}}return i};return n(t)},OC=Rn("AsyncFunction"),LC=t=>t&&(Zi(t)||Xt(t))&&Xt(t.then)&&Xt(t.catch),sb=((t,e)=>t?setImmediate:e?((n,i)=>(Ns.addEventListener("message",({source:o,data:c})=>{o===Ns&&c===n&&i.length&&i.shift()()},!1),o=>{i.push(o),Ns.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Xt(Ns.postMessage)),IC=typeof queueMicrotask<"u"?queueMicrotask.bind(Ns):typeof process<"u"&&process.nextTick||sb,ib=t=>t!=null&&Xt(t[Ea]),BC=t=>t!=null&&pa(t,Ea)&&ib(t),B={isArray:Us,isArrayBuffer:Z0,isBuffer:Ji,isFormData:aC,isArrayBufferView:GN,isString:QN,isNumber:eb,isBoolean:XN,isObject:Zi,isPlainObject:oc,isEmptyObject:JN,isReadableStream:cC,isRequest:uC,isResponse:dC,isHeaders:hC,isUndefined:$i,isDate:ZN,isFile:eC,isReactNativeBlob:tC,isReactNative:nC,isBlob:rC,isRegExp:CC,isFunction:Xt,isStream:iC,isURLSearchParams:lC,isTypedArray:bC,isFileList:sC,forEach:Ta,merge:Lh,extend:pC,trim:fC,stripBOM:mC,inherits:gC,toFlatObject:yC,kindOf:wf,kindOfTest:Rn,endsWith:vC,toArray:xC,forEachEntry:wC,matchAll:kC,isHTMLForm:jC,hasOwnProperty:vc,hasOwnProp:vc,hasOwnInPrototypeChain:pa,getSafeProp:KN,reduceDescriptors:rb,freezeMethods:EC,toObjectSet:TC,toCamelCase:SC,noop:PC,toFiniteNumber:AC,findKey:tb,global:Ns,isContextDefined:nb,isSpecCompliantForm:_C,toJSONObject:RC,isAsyncFn:OC,isThenable:LC,setImmediate:sb,asap:IC,isIterable:ib,isSafeIterable:BC},DC=B.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"]),FC=t=>{const e={};let n,i,o;return t&&t.split(`
248`).forEach(function(u){o=u.indexOf(":"),n=u.substring(0,o).trim().toLowerCase(),i=u.substring(o+1).trim(),!(!n||e[n]&&DC[n])&&(n==="set-cookie"?e[n]?e[n].push(i):e[n]=[i]:e[n]=e[n]?e[n]+", "+i:i)}),e};function MC(t){let e=0,n=t.length;for(;e<n;){const i=t.charCodeAt(e);if(i!==9&&i!==32)break;e+=1}for(;n>e;){const i=t.charCodeAt(n-1);if(i!==9&&i!==32)break;n-=1}return e===0&&n===t.length?t:t.slice(e,n)}const VC=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),UC=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function kf(t,e){return B.isArray(t)?t.map(n=>kf(n,e)):MC(String(t).replace(e,""))}const zC=t=>kf(t,VC),$C=t=>kf(t,UC);function ob(t){const e=Object.create(null);return B.forEach(t.toJSON(),(n,i)=>{e[i]=$C(n)}),e}const qy=Symbol("internals");function Wo(t){return t&&String(t).trim().toLowerCase()}function ac(t){return t===!1||t==null?t:B.isArray(t)?t.map(ac):zC(String(t))}function WC(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(t);)e[i[1]]=i[2];return e}const qC=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Wd(t,e,n,i,o){if(B.isFunction(i))return i.call(this,e,n);if(o&&(e=n),!!B.isString(e)){if(B.isString(i))return e.indexOf(i)!==-1;if(B.isRegExp(i))return i.test(e)}}function HC(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,i)=>n.toUpperCase()+i)}function YC(t,e){const n=B.toCamelCase(" "+e);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+n,{__proto__:null,value:function(o,c,u){return this[i].call(this,e,o,c,u)},configurable:!0})})}let Bt=class{constructor(e){e&&this.set(e)}set(e,n,i){const o=this;function c(h,p,g){const y=Wo(p);if(!y)return;const v=B.findKey(o,y);(!v||o[v]===void 0||g===!0||g===void 0&&o[v]!==!1)&&(o[v||p]=ac(h))}const u=(h,p)=>B.forEach(h,(g,y)=>c(g,y,p));if(B.isPlainObject(e)||e instanceof this.constructor)u(e,n);else if(B.isString(e)&&(e=e.trim())&&!qC(e))u(FC(e),n);else if(B.isObject(e)&&B.isSafeIterable(e)){let h=Object.create(null),p,g;for(const y of e){if(!B.isArray(y))throw new TypeError("Object iterator must return a key-value pair");g=y[0],B.hasOwnProp(h,g)?(p=h[g],h[g]=B.isArray(p)?[...p,y[1]]:[p,y[1]]):h[g]=y[1]}u(h,n)}else e!=null&&c(n,e,i);return this}get(e,n){if(e=Wo(e),e){const i=B.findKey(this,e);if(i){const o=this[i];if(!n)return o;if(n===!0)return WC(o);if(B.isFunction(n))return n.call(this,o,i);if(B.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Wo(e),e){const i=B.findKey(this,e);
vendor: 5,746 bytes, lines 248-249
248return!!(i&&this[i]!==void 0&&(!n||Wd(this,this[i],i,n)))}return!1}delete(e,n){const i=this;let o=!1;function c(u){if(u=Wo(u),u){const h=B.findKey(i,u);h&&(!n||Wd(i,i[h],h,n))&&(delete i[h],o=!0)}}return B.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||Wd(this,this[c],c,e,!0))&&(delete this[c],o=!0)}return o}normalize(e){const n=this,i={};return B.forEach(this,(o,c)=>{const u=B.findKey(i,c);if(u){n[u]=ac(o),delete n[c];return}const h=e?HC(c):String(c).trim();h!==c&&delete n[c],n[h]=ac(o),i[h]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return B.forEach(this,(i,o)=>{i!=null&&i!==!1&&(n[o]=e&&B.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(`
249`)}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[qy]=this[qy]={accessors:{}}).accessors,o=this.prototype;function c(u){const h=Wo(u);i[h]||(YC(o,u),i[h]=!0)}return B.isArray(e)?e.forEach(c):c(e),this}};Bt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);B.reduceDescriptors(Bt.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(i){this[n]=i}}});B.freezeMethods(Bt);const KC="[REDACTED ****]";function GC(t){if(B.hasOwnProp(t,"toJSON"))return!0;let e=Object.getPrototypeOf(t);for(;e&&e!==Object.prototype;){if(B.hasOwnProp(e,"toJSON"))return!0;e=Object.getPrototypeOf(e)}return!1}function QC(t,e){const n=new Set(e.map(c=>String(c).toLowerCase())),i=[],o=c=>{if(c===null||typeof c!="object"||B.isBuffer(c))return c;if(i.indexOf(c)!==-1)return;c instanceof Bt&&(c=c.toJSON()),i.push(c);let u;if(B.isArray(c))u=[],c.forEach((h,p)=>{const g=o(h);B.isUndefined(g)||(u[p]=g)});else{if(!B.isPlainObject(c)&&GC(c))return i.pop(),c;u=Object.create(null);for(const[h,p]of Object.entries(c)){const g=n.has(h.toLowerCase())?KC:o(p);B.isUndefined(g)||(u[h]=g)}}return i.pop(),u};return o(t)}let ee=class ab extends Error{static from(e,n,i,o,c,u){const h=new ab(e.message,n||e.code,i,o,c);return Object.defineProperty(h,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),h.name=e.name,e.status!=null&&h.status==null&&(h.status=e.status),u&&Object.assign(h,u),h}constructor(e,n,i,o,c){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),i&&(this.config=i),o&&(this.request=o),c&&(this.response=c,this.status=c.status)}toJSON(){const e=this.config,n=e&&B.hasOwnProp(e,"redact")?e.redact:void 0,i=B.isArray(n)&&n.length>0?QC(e,n):B.toJSONObject(e);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:i,code:this.code,status:this.status}}};ee.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";ee.ERR_BAD_OPTION="ERR_BAD_OPTION";ee.ECONNABORTED="ECONNABORTED";ee.ETIMEDOUT="ETIMEDOUT";ee.ECONNREFUSED="ECONNREFUSED";ee.ERR_NETWORK="ERR_NETWORK";ee.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";ee.ERR_DEPRECATED="ERR_DEPRECATED";ee.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";ee.ERR_BAD_REQUEST="ERR_BAD_REQUEST";ee.ERR_CANCELED="ERR_CANCELED";ee.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";ee.ERR_INVALID_URL="ERR_INVALID_URL";ee.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const XC=null,lb=100;function Ih(t){return B.isPlainObject(t)||B.isArray(t)}function cb(t){return B.endsWith(t,"[]")?t.slice(0,-2):t}function qd(t,e,n){return t?t.concat(e).map(function(o,c){return o=cb(o),!n&&c?"["+o+"]":o}).join(n?".":""):e}function JC(t){return B.isArray(t)&&!t.some(Ih)}const ZC=B.toFlatObject(B,{},null,function(e){return/^is[A-Z]/.test(e)});function Rc(t,e,n){if(!B.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=B.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(P,T){return!B.isUndefined(T[P])});const i=n.metaTokens,o=n.visitor||E,c=n.dots,u=n.indexes,h=n.Blob||typeof Blob<"u"&&Blob,p=n.maxDepth===void 0?lb:n.maxDepth,g=h&&B.isSpecCompliantForm(e),y=[];if(!B.isFunction(o))throw new TypeError("visitor must be a function");function v(w){if(w===null)return"";if(B.isDate(w))return w.toISOString();if(B.isBoolean(w))return w.toString();if(!g&&B.isBlob(w))throw new ee("Blob is not supported. Use a Buffer instead.");if(B.isArrayBuffer(w)||B.isTypedArray(w)){if(g&&typeof h=="function")return new h([w]);if(typeof Buffer<"u")return Buffer.from(w);throw new ee("Blob is not supported. Use a Buffer instead.",ee.ERR_NOT_SUPPORT)}return w}function b(w){if(w>p)throw new ee("Object is too deeply nested ("+w+" levels). Max depth: "+p,ee.ERR_FORM_DATA_DEPTH_EXCEEDED)}function S(w,P){if(p===1/0)return JSON.stringify(w);const T=[];return JSON.stringify(w,function(U,q){if(!B.isObject(q))return q;for(;T.length&&T[T.length-1]!==this;)T.pop();return T.push(q),b(P+T.length-1),q})}function E(w,P,T){let O=w;if(B.isReactNative(e)&&B.isReactNativeBlob(w))return e.append(qd(T,P,c),v(w)),!1;if(w&&!T&&typeof w=="object"){if(B.endsWith(P,"{}"))P=i?P:P.slice(0,-2),w=S(w,1);else if(B.isArray(w)&&JC(w)||(B.isFileList(w)||B.endsWith(P,"[]"))&&(O=B.toArray(w)))return P=cb(P),O.forEach(function(q,ne){!(B.isUndefined(q)||q===null)&&e.append(u===!0?qd([P],ne,c):u===null?P:P+"[]",v(q))}),!1}return Ih(w)?!0:(e.append(qd(T,P,c),v(w)),!1)}
vendor: 4,389 bytes, line 249
249const N=Object.assign(ZC,{defaultVisitor:E,convertValue:v,isVisitable:Ih});function j(w,P,T=0){if(!B.isUndefined(w)){if(b(T),y.indexOf(w)!==-1)throw new Error("Circular reference detected in "+P.join("."));y.push(w),B.forEach(w,function(U,q){(!(B.isUndefined(U)||U===null)&&o.call(e,U,B.isString(q)?q.trim():q,P,N))===!0&&j(U,P?P.concat(q):[q],T+1)}),y.pop()}}if(!B.isObject(t))throw new TypeError("data must be an object");return j(t),e}function Hy(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(t).replace(/[!'()~]|%20/g,function(i){return e[i]})}function jf(t,e){this._pairs=[],t&&Rc(t,this,e)}const ub=jf.prototype;ub.append=function(e,n){this._pairs.push([e,n])};ub.toString=function(e){const n=e?i=>e.call(this,i,Hy):Hy;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function eE(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function db(t,e,n){if(!e)return t;t=t||"";const i=B.isFunction(n)?{serialize:n}:n,o=B.getSafeProp(i,"encode")||eE,c=B.getSafeProp(i,"serialize");let u;if(c?u=c(e,i):u=B.isURLSearchParams(e)?e.toString():new jf(e,i).toString(o),u){const h=t.indexOf("#");h!==-1&&(t=t.slice(0,h)),t+=(t.indexOf("?")===-1?"?":"&")+u}return t}class Yy{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){B.forEach(this.handlers,function(i){i!==null&&e(i)})}}const Sf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},tE=typeof URLSearchParams<"u"?URLSearchParams:jf,nE=typeof FormData<"u"?FormData:null,rE=typeof Blob<"u"?Blob:null,sE={isBrowser:!0,classes:{URLSearchParams:tE,FormData:nE,Blob:rE},protocols:["http","https","file","blob","url","data"]},Nf=typeof window<"u"&&typeof document<"u",Bh=typeof navigator=="object"&&navigator||void 0,iE=Nf&&(!Bh||["ReactNative","NativeScript","NS"].indexOf(Bh.product)<0),oE=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",aE=Nf&&window.location.href||"http://localhost",lE=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Nf,hasStandardBrowserEnv:iE,hasStandardBrowserWebWorkerEnv:oE,navigator:Bh,origin:aE},Symbol.toStringTag,{value:"Module"})),Tt={...lE,...sE};function cE(t,e){return Rc(t,new Tt.classes.URLSearchParams,{visitor:function(n,i,o,c){return Tt.isNode&&B.isBuffer(n)?(this.append(i,n.toString("base64")),!1):c.defaultVisitor.apply(this,arguments)},...e})}const Ky=lb;function hb(t){if(t>Ky)throw new ee("FormData field is too deeply nested ("+t+" levels). Max depth: "+Ky,ee.ERR_FORM_DATA_DEPTH_EXCEEDED)}function uE(t){const e=[],n=/\w+|\[(\w*)]/g;let i;for(;(i=n.exec(t))!==null;)hb(e.length),e.push(i[0]==="[]"?"":i[1]||i[0]);return e}function dE(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 fb(t){function e(n,i,o,c){hb(c);let u=n[c++];if(u==="__proto__")return!0;const h=Number.isFinite(+u),p=c>=n.length;return u=!u&&B.isArray(o)?o.length:u,p?(B.hasOwnProp(o,u)?o[u]=B.isArray(o[u])?o[u].concat(i):[o[u],i]:o[u]=i,!h):((!B.hasOwnProp(o,u)||!B.isObject(o[u]))&&(o[u]=[]),e(n,i,o[u],c)&&B.isArray(o[u])&&(o[u]=dE(o[u])),!h)}if(B.isFormData(t)&&B.isFunction(t.entries)){const n={};return B.forEachEntry(t,(i,o)=>{e(uE(i),o,n,0)}),n}return null}const yi=(t,e)=>t!=null&&B.hasOwnProp(t,e)?t[e]:void 0;function hE(t,e,n){if(B.isString(t))try{return(e||JSON.parse)(t),B.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(t)}const Pa={transitional:Sf,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const i=n.getContentType()||"",o=i.indexOf("application/json")>-1,c=B.isObject(e);if(c&&B.isHTMLForm(e)&&(e=new FormData(e)),B.isFormData(e))return o?JSON.stringify(fb(e)):e;if(B.isArrayBuffer(e)||B.isBuffer(e)||B.isStream(e)||B.isFile(e)||B.isBlob(e)||B.isReadableStream(e))return e;if(B.isArrayBufferView(e))return e.buffer;if(B.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let h;
vendor: 4,623 bytes, line 249
249if(c){const p=yi(this,"formSerializer");if(i.indexOf("application/x-www-form-urlencoded")>-1)return cE(e,p).toString();if((h=B.isFileList(e))||i.indexOf("multipart/form-data")>-1){const g=yi(this,"env"),y=g&&g.FormData;return Rc(h?{"files[]":e}:e,y&&new y,p)}}return c||o?(n.setContentType("application/json",!1),hE(e)):e}],transformResponse:[function(e){const n=yi(this,"transitional")||Pa.transitional,i=n&&n.forcedJSONParsing,o=yi(this,"responseType"),c=o==="json";if(B.isResponse(e)||B.isReadableStream(e))return e;if(e&&B.isString(e)&&(i&&!o||c)){const h=!(n&&n.silentJSONParsing)&&c;try{return JSON.parse(e,yi(this,"parseReviver"))}catch(p){if(h)throw p.name==="SyntaxError"?ee.from(p,ee.ERR_BAD_RESPONSE,this,null,yi(this,"response")):p}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Tt.classes.FormData,Blob:Tt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};B.forEach(["delete","get","head","post","put","patch","query"],t=>{Pa.headers[t]={}});function Hd(t,e){const n=this||Pa,i=e||n,o=Bt.from(i.headers);let c=i.data;return B.forEach(t,function(h){c=h.call(n,c,o.normalize(),e?e.status:void 0)}),o.normalize(),c}function pb(t){return!!(t&&t.__CANCEL__)}let Aa=class extends ee{constructor(e,n,i){super(e??"canceled",ee.ERR_CANCELED,n,i),this.name="CanceledError",this.__CANCEL__=!0}};function mb(t,e,n){const i=n.config.validateStatus;!n.status||!i||i(n.status)?t(n):e(new ee("Request failed with status code "+n.status,n.status>=400&&n.status<500?ee.ERR_BAD_REQUEST:ee.ERR_BAD_RESPONSE,n.config,n.request,n))}function fE(t){const e=/^([-+\w]{1,25}):(?:\/\/)?/.exec(t);return e&&e[1]||""}function pE(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(p){const g=Date.now(),y=i[c];u||(u=g),n[o]=p,i[o]=g;let v=c,b=0;for(;v!==o;)b+=n[v++],v=v%t;if(o=(o+1)%t,o===c&&(c=(c+1)%t),g-u<e)return;const S=y&&g-y;return S?Math.round(b*1e3/S):void 0}}function mE(t,e){let n=0,i=1e3/e,o,c;const u=(g,y=Date.now())=>{n=y,o=null,c&&(clearTimeout(c),c=null),t(...g)};return[(...g)=>{const y=Date.now(),v=y-n;v>=i?u(g,y):(o=g,c||(c=setTimeout(()=>{c=null,u(o)},i-v)))},()=>o&&u(o)]}const xc=(t,e,n=3)=>{let i=0;const o=pE(50,250);return mE(c=>{if(!c||typeof c.loaded!="number")return;const u=c.loaded,h=c.lengthComputable?c.total:void 0,p=h!=null?Math.min(u,h):u,g=Math.max(0,p-i),y=o(g);i=Math.max(i,p);const v={loaded:p,total:h,progress:h?p/h:void 0,bytes:g,rate:y||void 0,estimated:y&&h?(h-p)/y:void 0,event:c,lengthComputable:h!=null,[e?"download":"upload"]:!0};t(v)},n)},Gy=(t,e)=>{const n=t!=null;return[i=>e[0]({lengthComputable:n,total:t,loaded:i}),e[1]]},Qy=t=>(...e)=>B.asap(()=>t(...e)),gE=Tt.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,Tt.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(Tt.origin),Tt.navigator&&/(msie|trident)/i.test(Tt.navigator.userAgent)):()=>!0,yE=Tt.hasStandardBrowserEnv?{write(t,e,n,i,o,c,u){if(typeof document>"u")return;const h=[`${t}=${encodeURIComponent(e)}`];B.isNumber(n)&&h.push(`expires=${new Date(n).toUTCString()}`),B.isString(i)&&h.push(`path=${i}`),B.isString(o)&&h.push(`domain=${o}`),c===!0&&h.push("secure"),B.isString(u)&&h.push(`SameSite=${u}`),document.cookie=h.join("; ")},read(t){if(typeof document>"u")return null;const e=document.cookie.split(";");for(let n=0;n<e.length;n++){const i=e[n].replace(/^\s+/,""),o=i.indexOf("=");if(o!==-1&&i.slice(0,o)===t)try{return decodeURIComponent(i.slice(o+1))}catch{return i.slice(o+1)}}return null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function vE(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function xE(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}const bE=/^https?:(?!\/\/)/i,wE=/[\t\n\r]/g;function kE(t){let e=0;for(;e<t.length&&t.charCodeAt(e)<=32;)e++;return t.slice(e)}function jE(t){return kE(t).replace(wE,"")}function Xy(t,e){if(typeof t=="string"&&bE.test(jE(t)))throw new ee('Invalid URL: missing "//" after protocol',ee.ERR_INVALID_URL,e)}function gb(t,e,n,i){Xy(e,i);let o=!vE(e);return t&&(o||n===!1)?(Xy(t,i),xE(t,e)):e}const Jy=t=>t instanceof Bt?{...t}:t;function zs(t,e){t=t||{},e=e||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function i(y,v,b,S){return B.isPlainObject(y)&&B.isPlainObject(v)?B.merge.call({caseless:S}
vendor: 1,643 bytes, line 249
249,y,v):B.isPlainObject(v)?B.merge({},v):B.isArray(v)?v.slice():v}function o(y,v,b,S){if(B.isUndefined(v)){if(!B.isUndefined(y))return i(void 0,y,b,S)}else return i(y,v,b,S)}function c(y,v){if(!B.isUndefined(v))return i(void 0,v)}function u(y,v){if(B.isUndefined(v)){if(!B.isUndefined(y))return i(void 0,y)}else return i(void 0,v)}function h(y){const v=B.hasOwnProp(e,"transitional")?e.transitional:void 0;if(!B.isUndefined(v))if(B.isPlainObject(v)){if(B.hasOwnProp(v,y))return v[y]}else return;const b=B.hasOwnProp(t,"transitional")?t.transitional:void 0;if(B.isPlainObject(b)&&B.hasOwnProp(b,y))return b[y]}function p(y,v,b){if(B.hasOwnProp(e,b))return i(y,v);if(B.hasOwnProp(t,b))return i(void 0,y)}const g={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,allowedSocketPaths:u,responseEncoding:u,validateStatus:p,headers:(y,v,b)=>o(Jy(y),Jy(v),b,!0)};return B.forEach(Object.keys({...t,...e}),function(v){if(v==="__proto__"||v==="constructor"||v==="prototype")return;const b=B.hasOwnProp(g,v)?g[v]:o,S=B.hasOwnProp(t,v)?t[v]:void 0,E=B.hasOwnProp(e,v)?e[v]:void 0,N=b(S,E,v);B.isUndefined(N)&&b!==p||(n[v]=N)}),B.hasOwnProp(e,"validateStatus")&&B.isUndefined(e.validateStatus)&&h("validateStatusUndefinedResolves")===!1&&(B.hasOwnProp(t,"validateStatus")?n.validateStatus=i(void 0,t.validateStatus):delete n.val
vendor: 15,209 bytes, lines 249-255
249idateStatus),n}const SE=["content-type","content-length"];function NE(t,e,n){if(n!=="content-only"){t.set(e);return}Object.entries(e||{}).forEach(([i,o])=>{SE.includes(i.toLowerCase())&&t.set(i,o)})}const CE=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,n)=>String.fromCharCode(parseInt(n,16)));function yb(t){const e=zs({},t),n=b=>B.hasOwnProp(e,b)?e[b]:void 0,i=n("data");let o=n("withXSRFToken");const c=n("xsrfHeaderName"),u=n("xsrfCookieName");let h=n("headers");const p=n("auth"),g=n("baseURL"),y=n("allowAbsoluteUrls"),v=n("url");if(e.headers=h=Bt.from(h),e.url=db(gb(g,v,y,e),n("params"),n("paramsSerializer")),p){const b=B.getSafeProp(p,"username")||"",S=B.getSafeProp(p,"password")||"";try{h.set("Authorization","Basic "+btoa(b+":"+(S?CE(S):"")))}catch(E){throw ee.from(E,ee.ERR_BAD_OPTION_VALUE,t)}}if(B.isFormData(i)&&(Tt.hasStandardBrowserEnv||Tt.hasStandardBrowserWebWorkerEnv||B.isReactNative(i)?h.setContentType(void 0):B.isFunction(i.getHeaders)&&NE(h,i.getHeaders(),n("formDataHeaderPolicy"))),Tt.hasStandardBrowserEnv&&(B.isFunction(o)&&(o=o(e)),o===!0||o==null&&gE(e.url))){const S=c&&u&&yE.read(u);S&&h.set(c,S)}return e}const EE=typeof XMLHttpRequest<"u",TE=EE&&function(t){return new Promise(function(n,i){const o=yb(t);let c=o.data;const u=Bt.from(o.headers).normalize();let{responseType:h,onUploadProgress:p,onDownloadProgress:g}=o,y,v,b,S,E;function N(){S&&S(),E&&E(),o.cancelToken&&o.cancelToken.unsubscribe(y),o.signal&&o.signal.removeEventListener("abort",y)}let j=new XMLHttpRequest;j.open(o.method.toUpperCase(),o.url,!0),j.timeout=o.timeout;function w(){if(!j)return;const T=Bt.from("getAllResponseHeaders"in j&&j.getAllResponseHeaders()),U={data:!h||h==="text"||h==="json"?j.responseText:j.response,status:j.status,statusText:j.statusText,headers:T,config:t,request:j};mb(function(ne){n(ne),N()},function(ne){i(ne),N()},U),j=null}"onloadend"in j?j.onloadend=w:j.onreadystatechange=function(){!j||j.readyState!==4||j.status===0&&!(j.responseURL&&j.responseURL.startsWith("file:"))||setTimeout(w)},j.onabort=function(){j&&(i(new ee("Request aborted",ee.ECONNABORTED,t,j)),N(),j=null)},j.onerror=function(O){const U=O&&O.message?O.message:"Network Error",q=new ee(U,ee.ERR_NETWORK,t,j);q.event=O||null,i(q),N(),j=null},j.ontimeout=function(){let O=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const U=o.transitional||Sf;o.timeoutErrorMessage&&(O=o.timeoutErrorMessage),i(new ee(O,U.clarifyTimeoutError?ee.ETIMEDOUT:ee.ECONNABORTED,t,j)),N(),j=null},c===void 0&&u.setContentType(null),"setRequestHeader"in j&&B.forEach(ob(u),function(O,U){j.setRequestHeader(U,O)}),B.isUndefined(o.withCredentials)||(j.withCredentials=!!o.withCredentials),h&&h!=="json"&&(j.responseType=o.responseType),g&&([b,E]=xc(g,!0),j.addEventListener("progress",b)),p&&j.upload&&([v,S]=xc(p),j.upload.addEventListener("progress",v),j.upload.addEventListener("loadend",S)),(o.cancelToken||o.signal)&&(y=T=>{j&&(i(!T||T.type?new Aa(null,t,j):T),j.abort(),N(),j=null)},o.cancelToken&&o.cancelToken.subscribe(y),o.signal&&(o.signal.aborted?y():o.signal.addEventListener("abort",y)));const P=fE(o.url);if(P&&!Tt.protocols.includes(P)){i(new ee("Unsupported protocol "+P+":",ee.ERR_BAD_REQUEST,t)),N();return}j.send(c||null)})},PE=(t,e)=>{if(t=t?t.filter(Boolean):[],!e&&!t.length)return;const n=new AbortController;let i=!1;const o=function(p){if(!i){i=!0,u();const g=p instanceof Error?p:this.reason;n.abort(g instanceof ee?g:new Aa(g instanceof Error?g.message:g))}};let c=e&&setTimeout(()=>{c=null,o(new ee(`timeout of ${e}ms exceeded`,ee.ETIMEDOUT))},e);const u=()=>{t&&(c&&clearTimeout(c),c=null,t.forEach(p=>{p.unsubscribe?p.unsubscribe(o):p.removeEventListener("abort",o)}),t=null)};t.forEach(p=>p.addEventListener("abort",o,{once:!0}));const{signal:h}=n;return h.unsubscribe=()=>B.asap(u),h},AE=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},_E=async function*(t,e){for await(const n of RE(t))yield*AE(n,e)},RE=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()}},Zy=(t,e,n,i)=>{const o=_E(t,e);let c=0,u,h=p=>{u||(u=!0,i&&i(p))};return new ReadableStream({async pull(p){try{const{done:g,value:y}=await o.next();if(g){h(),p.close();return}let v=y.byteLength;if(n){let b=c+=v;n(b)}p.enqueue(new Uint8Array(y))}catch(g){throw h(g),g}},cancel(p){return h(p),o.return()}},{highWaterMark:2})},bc=t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102,OE=(t,e,n)=>e+2<n&&bc(t.charCodeAt(e+1))&&bc(t.charCodeAt(e+2));function LE(t){if(!t||typeof t!="string"||!t.startsWith("data:"))return 0;const e=t.indexOf(",");if(e<0)return 0;const n=t.slice(5,e),i=t.slice(e+1);if(/;base64/i.test(n)){let u=i.length;const h=i.length;for(let S=0;S<h;S++)if(i.charCodeAt(S)===37&&S+2<h){const E=i.charCodeAt(S+1),N=i.charCodeAt(S+2);bc(E)&&bc(N)&&(u-=2,S+=2)}let p=0,g=h-1;const y=S=>S>=2&&i.charCodeAt(S-2)===37&&i.charCodeAt(S-1)===51&&(i.charCodeAt(S)===68||i.charCodeAt(S)===100);g>=0&&(i.charCodeAt(g)===61?(p++,g--):y(g)&&(p++,g-=3)),p===1&&g>=0&&(i.charCodeAt(g)===61||y(g))&&p++;const b=Math.floor(u/4)*3-(p||0);return b>0?b:0}let c=0;for(let u=0,h=i.length;u<h;u++){const p=i.charCodeAt(u);if(p===37&&OE(i,u,h))c+=1,u+=2;else if(p<128)c+=1;else if(p<2048)c+=2;else if(p>=55296&&p<=56319&&u+1<h){const g=i.charCodeAt(u+1);g>=56320&&g<=57343?(c+=4,u++):c+=3}else c+=3}return c}const Cf="1.18.1",ev=64*1024,{isFunction:Ql}=B,IE=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,n)=>String.fromCharCode(parseInt(n,16))),tv=t=>{if(!B.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},nv=(t,...e)=>{try{return!!t(...e)}catch{return!1}},BE=t=>{const e=t.indexOf("://");let n=t;return e!==-1&&(n=n.slice(e+3)),n.includes("@")||n.includes(":")},DE=t=>{const e=B.global!==void 0&&B.global!==null?B.global:globalThis,{ReadableStream:n,TextEncoder:i}=e;t=B.merge.call({skipUndefined:!0},{Request:e.Request,Response:e.Response},t);const{fetch:o,Request:c,Response:u}=t,h=o?Ql(o):typeof fetch=="function",p=Ql(c),g=Ql(u);if(!h)return!1;const y=h&&Ql(n),v=h&&(typeof i=="function"?(w=>P=>w.encode(P))(new i):async w=>new Uint8Array(await new c(w).arrayBuffer())),b=p&&y&&nv(()=>{let w=!1;const P=new c(Tt.origin,{body:new n,method:"POST",get duplex(){return w=!0,"half"}}),T=P.headers.has("Content-Type");return P.body!=null&&P.body.cancel(),w&&!T}),S=g&&y&&nv(()=>B.isReadableStream(new u("").body)),E={stream:S&&(w=>w.body)};h&&["text","arrayBuffer","blob","formData","stream"].forEach(w=>{!E[w]&&(E[w]=(P,T)=>{let O=P&&P[w];if(O)return O.call(P);throw new ee(`Response type '${w}' is not supported`,ee.ERR_NOT_SUPPORT,T)})});const N=async w=>{if(w==null)return 0;if(B.isBlob(w))return w.size;if(B.isSpecCompliantForm(w))return(await new c(Tt.origin,{method:"POST",body:w}).arrayBuffer()).byteLength;if(B.isArrayBufferView(w)||B.isArrayBuffer(w))return w.byteLength;if(B.isURLSearchParams(w)&&(w=w+""),B.isString(w))return(await v(w)).byteLength},j=async(w,P)=>{const T=B.toFiniteNumber(w.getContentLength());return T??N(P)};return async w=>{let{url:P,method:T,data:O,signal:U,cancelToken:q,timeout:ne,onDownloadProgress:D,onUploadProgress:H,responseType:G,headers:Q,withCredentials:$="same-origin",fetchOptions:de,maxContentLength:Ne,maxBodyLength:ye}=yb(w);const ke=B.isNumber(Ne)&&Ne>-1,pe=B.isNumber(ye)&&ye>-1,z=ie=>B.hasOwnProp(w,ie)?w[ie]:void 0;let he=o||fetch;G=G?(G+"").toLowerCase():"text";let Z=PE([U,q&&q.toAbortSignal()],ne),I=null;const W=Z&&Z.unsubscribe&&(()=>{Z.unsubscribe()});let ce,ge=null;const Ce=()=>new ee("Request body larger than maxBodyLength limit",ee.ERR_BAD_REQUEST,w,I);try{let ie;const me=z("auth");if(me){const Se=B.getSafeProp(me,"username")||"",kt=B.getSafeProp(me,"password")||"";ie={username:Se,password:kt}}if(BE(P)){const Se=new URL(P,Tt.origin);if(!ie&&(Se.username||Se.password)){const kt=tv(Se.username),xn=tv(Se.password);ie={username:kt,password:xn}}(Se.username||Se.password)&&(Se.username="",Se.password="",P=Se.href)}if(ie&&(Q.delete("authorization"),Q.set("Authorization","Basic "+btoa(IE((ie.username||"")+":"+(ie.password||""))))),ke&&typeof P=="string"&&P.startsWith("data:")&&LE(P)>Ne)throw new ee("maxContentLength size of "+Ne+" exceeded",ee.ERR_BAD_RESPONSE,w,I);if(pe&&T!=="get"&&T!=="head"){const Se=await N(O);if(typeof Se=="number"&&isFinite(Se)&&(ce=Se,Se>ye))throw Ce()}const Ae=pe&&(B.isReadableStream(O)||B.isStream(O)),Le=(Se,kt,xn)=>Zy(Se,ev,bn=>{if(pe&&bn>ye)throw ge=Ce();kt&&kt(bn)},xn);if(b&&T!=="get"&&T!=="head"&&(H||Ae)){if(ce=ce??await j(Q,O),ce!==0||Ae){let Se=new c(P,{method:"POST",body:O,duplex:"half"}),kt;if(B.isFormData(O)&&(kt=Se.headers.get("content-type"))&&Q.setContentType(kt),Se.body){const[xn,bn]=H&&Gy(ce,xc(Qy(H)))||[];O=Le(Se.body,xn,bn)}}}else if(Ae&&!p&&y&&T!=="get"&&T!=="head")O=Le(O);else if(Ae&&p&&!b&&T!=="get"&&T!=="head")throw new ee("Stream request bodies are not supported by the current fetch implementation",ee.ERR_NOT_SUPPORT,w,I);B.isString($)||($=$?"include":"omit");const ct=p&&"credentials"in c.prototype;if(B.isFormData(O)){const Se=Q.getContentType();Se&&/^multipart\/form-data/i.test(Se)&&!/boundary=/i.test(Se)&&Q.delete("content-type")}Q.set("User-Agent","axios/"+Cf,!1);const vn={...de,signal:Z,method:T.toUpperCase(),headers:ob(Q.normalize()),body:O,duplex:"half",credentials:ct?$:void 0};I=p&&new c(P,vn);let wt=await(p?he(I,de):he(P,vn));const ts=Bt.from(wt.headers);if(ke){const Se=B.toFiniteNumber(ts.getContentLength());if(Se!=null&&Se>Ne)throw new ee("maxContentLength size of "+Ne+" exceeded",ee.ERR_BAD_RESPONSE,w,I)}const ns=S&&(G==="stream"||G==="response");if(S&&wt.body&&(D||ke||ns&&W)){const Se={};["status","statusText","headers"].forEach(Kn=>{Se[Kn]=wt[Kn]});const kt=B.toFiniteNumber(ts.getContentLength()),[xn,bn]=D&&Gy(kt,xc(Qy(D),!0))||[];let fr=0;const pr=Kn=>{if(ke&&(fr=Kn,fr>Ne))throw new ee("maxContentLength size of "+Ne+" exceeded",ee.ERR_BAD_RESPONSE,w,I);xn&&xn(Kn)};wt=new u(Zy(wt.body,ev,pr,()=>{bn&&bn(),W&&W()}),Se)}G=G||"text";let on=await E[B.findKey(E,G)||"text"](wt,w);if(ke&&!S&&!ns){let Se;if(on!=null&&(typeof on.byteLength=="number"?Se=on.byteLength:typeof on.size=="number"?Se=on.size:typeof on=="string"&&(Se=typeof i=="function"?new i().encode(on).byteLength:on.length)),typeof Se=="number"&&Se>Ne)throw new ee("maxContentLength size of "+Ne+" exceeded",ee.ERR_BAD_RESPONSE,w,I)}return!ns&&W&&W(),await new Promise((Se,kt)=>{mb(Se,kt,{data:on,headers:Bt.from(wt.headers),status:wt.status,statusText:wt.statusText,config:w,request:I})})}catch(ie){if(W&&W(),Z&&Z.aborted&&Z.reason instanceof ee){const me=Z.reason;throw me.config=w,I&&(me.request=I),ie!==me&&Object.defineProperty(me,"cause",{__proto__:null,value:ie,writable:!0,enumerable:!1,configurable:!0}),me}if(ge)throw I&&!ge.request&&(ge.request=I),ge;if(ie instanceof ee)throw I&&!ie.request&&(ie.request=I),ie;if(ie&&ie.name==="TypeError"&&/Load failed|fetch/i.test(ie.message)){const me=new ee("Network Error",ee.ERR_NETWORK,w,I,ie&&ie.response);throw Object.defineProperty(me,"cause",{__proto__:null,value:ie.cause||ie,writable:!0,enumerable:!1,configurable:!0}),me}throw ee.from(ie,ie&&ie.code,w,I,ie&&ie.response)}}},FE=new Map,vb=t=>{let e=t&&t.env||{};const{fetch:n,Request:i,Response:o}=e,c=[i,o,n];let u=c.length,h=u,p,g,y=FE;for(;h--;)p=c[h],g=y.get(p),g===void 0&&y.set(p,g=h?new Map:DE(e)),y=g;return g};vb();const Ef={http:XC,xhr:TE,fetch:{get:vb}};B.forEach(Ef,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{__proto__:null,value:e})}catch{}Object.defineProperty(t,"adapterName",{__proto__:null,value:e})}});const rv=t=>`- ${t}`,ME=t=>B.isFunction(t)||t===null||t===!1;function VE(t,e){t=B.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,!ME(i)&&(o=Ef[(h=String(i)).toLowerCase()],o===void 0))throw new ee(`Unknown adapter '${h}'`);if(o&&(B.isFunction(o)||(o=o.get(e))))break;c[h||"#"+u]=o}if(!o){const u=Object.entries(c).map(([p,g])=>`adapter ${p} `+(g===!1?"is not supported by the environment":"is not available in the build"));let h=n?u.length>1?`since :
250`+u.map(rv).join(`
251`):" "+rv(u[0]):"as no adapter specified";throw new ee("There is no suitable adapter to dispatch the request "+h,ee.ERR_NOT_SUPPORT)}return o}const xb={getAdapter:VE,adapters:Ef};function Yd(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Aa(null,t)}function sv(t){return Yd(t),t.headers=Bt.from(t.headers),t.data=Hd.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),xb.getAdapter(t.adapter||Pa.adapter,t)(t).then(function(i){Yd(t),t.response=i;try{i.data=Hd.call(t,t.transformResponse,i)}finally{delete t.response}return i.headers=Bt.from(i.headers),i},function(i){if(!pb(i)&&(Yd(t),i&&i.response)){t.response=i.response;try{i.response.data=Hd.call(t,t.transformResponse,i.response)}finally{delete t.response}i.response.headers=Bt.from(i.response.headers)}return Promise.reject(i)})}const Oc={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Oc[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t}});const iv={};Oc.transitional=function(e,n,i){function o(c,u){return"[Axios v"+Cf+"] Transitional option '"+c+"'"+u+(i?". "+i:"")}return(c,u,h)=>{if(e===!1)throw new ee(o(u," has been removed"+(n?" in "+n:"")),ee.ERR_DEPRECATED);return n&&!iv[u]&&(iv[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}};Oc.spelling=function(e){return(n,i)=>(console.warn(`${i} is likely a misspelling of ${e}`),!0)};function UE(t,e,n){if(typeof t!="object"||t===null)throw new ee("options must be an object",ee.ERR_BAD_OPTION_VALUE);const i=Object.keys(t);let o=i.length;for(;o-- >0;){const c=i[o],u=Object.prototype.hasOwnProperty.call(e,c)?e[c]:void 0;if(u){const h=t[c],p=h===void 0||u(h,c,t);if(p!==!0)throw new ee("option "+c+" must be "+p,ee.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ee("Unknown option "+c,ee.ERR_BAD_OPTION)}}const lc={assertOptions:UE,validators:Oc},Ot=lc.validators;let Ds=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Yy,response:new Yy}}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=(()=>{if(!o.stack)return"";const u=o.stack.indexOf(`
252`);return u===-1?"":o.stack.slice(u+1)})();try{if(!i.stack)i.stack=c;else if(c){const u=c.indexOf(`
253`),h=u===-1?-1:c.indexOf(`
254`,u+1),p=h===-1?"":c.slice(h+1);String(i.stack).endsWith(p)||(i.stack+=`
255`+c)}}catch{}}throw i}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=zs(this.defaults,n);const{transitional:i,paramsSerializer:o,headers:c}=n;i!==void 0&&lc.assertOptions(i,{silentJSONParsing:Ot.transitional(Ot.boolean),forcedJSONParsing:Ot.transitional(Ot.boolean),clarifyTimeoutError:Ot.transitional(Ot.boolean),legacyInterceptorReqResOrdering:Ot.transitional(Ot.boolean),advertiseZstdAcceptEncoding:Ot.transitional(Ot.boolean),validateStatusUndefinedResolves:Ot.transitional(Ot.boolean)}
vendor: 3,165 bytes, line 255
255,!1),o!=null&&(B.isFunction(o)?n.paramsSerializer={serialize:o}:lc.assertOptions(o,{encode:Ot.function,serialize:Ot.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),lc.assertOptions(n,{baseUrl:Ot.spelling("baseURL"),withXsrfToken:Ot.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let u=c&&B.merge(c.common,c[n.method]);c&&B.forEach(["delete","get","head","post","put","patch","query","common"],E=>{delete c[E]}),n.headers=Bt.concat(u,c);const h=[];let p=!0;this.interceptors.request.forEach(function(N){if(typeof N.runWhen=="function"&&N.runWhen(n)===!1)return;p=p&&N.synchronous;const j=n.transitional||Sf;j&&j.legacyInterceptorReqResOrdering?h.unshift(N.fulfilled,N.rejected):h.push(N.fulfilled,N.rejected)});const g=[];this.interceptors.response.forEach(function(N){g.push(N.fulfilled,N.rejected)});let y,v=0,b;if(!p){const E=[sv.bind(this),void 0];for(E.unshift(...h),E.push(...g),b=E.length,y=Promise.resolve(n);v<b;)y=y.then(E[v++],E[v++]);return y}b=h.length;let S=n;for(;v<b;){const E=h[v++],N=h[v++];try{S=E(S)}catch(j){N.call(this,j);break}}try{y=sv.call(this,S)}catch(E){return Promise.reject(E)}for(v=0,b=g.length;v<b;)y=y.then(g[v++],g[v++]);return y}getUri(e){e=zs(this.defaults,e);const n=gb(e.baseURL,e.url,e.allowAbsoluteUrls,e);return db(n,e.params,e.paramsSerializer)}};B.forEach(["delete","get","head","options"],function(e){Ds.prototype[e]=function(n,i){return this.request(zs(i||{},{method:e,url:n,data:i&&B.hasOwnProp(i,"data")?i.data:void 0}))}});B.forEach(["post","put","patch","query"],function(e){function n(i){return function(c,u,h){return this.request(zs(h||{},{method:e,headers:i?{"Content-Type":"multipart/form-data"}:{},url:c,data:u}))}}Ds.prototype[e]=n(),e!=="query"&&(Ds.prototype[e+"Form"]=n(!0))});let zE=class bb{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 Aa(c,u,h),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(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 bb(function(o){e=o}),cancel:e}}};function $E(t){return function(n){return t.apply(null,n)}}function WE(t){return B.isObject(t)&&t.isAxiosError===!0}const Dh={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
255alContent: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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Dh).forEach(([t,e])=>{Dh[e]=t});function wb(t){const e=new Ds(t),n=X0(Ds.prototype.request,e);return B.extend(n,Ds.prototype,e,{allOwnKeys:!0}),B.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return wb(zs(t,o))},n}const lt=wb(Pa);lt.Axios=Ds;lt.CanceledError=Aa;lt.CancelToken=zE;lt.isCancel=pb;lt.VERSION=Cf;lt.toFormData=Rc;lt.AxiosError=ee;lt.Cancel=lt.CanceledError;lt.all=function(e){return Promise.all(e)};lt.spread=$E;lt.isAxiosError=WE;lt.mergeConfig=zs;lt.AxiosHeaders=Bt;lt.formToJSON=t=>fb(B.isHTMLForm(t)?new FormData(t):t);lt.getAdapter=xb.getAdapter;lt.HttpStatusCode=Dh;lt.default=lt;const{Axios:J_,AxiosError:Z_,CanceledError:eR,isCancel:tR,CancelToken:nR,VERSION:rR,all:sR,Cancel:iR,isAxiosError:oR,spread:aR,toFormData:lR,AxiosHeaders:cR,HttpStatusCode:uR,formToJSON:dR,getAdapter:hR,mergeConfig:fR,create:pR}=lt,kb=typeof window>"u",ov=!kb&&window.self!==window.top,qE=!kb&&typeof document>"u",Kd=()=>Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),Nt=[];for(let t=0;t<256;++t)Nt.push((t+256).toString(16).slice(1));function HE(t,e=0){return(Nt[t[e+0]]+Nt[t[e+1]]+Nt[t[e+2]]+Nt[t[e+3]]+"-"+Nt[t[e+4]]+Nt[t[e+5]]+"-"+Nt[t[e+6]]+Nt[t[e+7]]+"-"+Nt[t[e+8]]+Nt[t[e+9]]+"-"+Nt[t[e+10]]+Nt[t[e+11]]+Nt[t[e+12]]+Nt[t[e+13]]+Nt[t[e+14]]+Nt[t[e+15]]).toLowerCase()}let Gd;const YE=new Uint8Array(16);function KE(){if(!Gd){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Gd=crypto.getRandomValues.bind(crypto)}return Gd(YE)}const GE=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),av={randomUUID:GE};function QE(t,e,n){var o;t=t||{};const i=t.random??((o=t.rng)==null?void 0:o.call(t))??KE();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,HE(i)}function XE(t,e,n){return av.randomUUID&&!t?av.randomUUID():QE(t)}const qo=typeof window<"u"?window:{base44SharedInstances:{}};function JE(t,e){return qo.base44SharedInstances||(qo.base44SharedInstances={}),qo.base44SharedInstances[t]||(qo.base44SharedInstances[t]={instance:e()}),qo.base44SharedInstances[t].instance}const ZE="__user_heartbeat_event__",eT="__initialization_event__",tT="__session_duration_event__",lv="analytics-enable",cv="base44_analytics_session_id",nT={enabled:!0,maxQueueSize:1e3,throttleTime:1e3,batchSize:30,heartBeatInterval:60*1e3},rT="analytics",Ue=JE(rT,()=>({requestsQueue:[],isProcessing:!1,isHeartBeatProcessing:!1,wasInitializationTracked:!1,sessionContext:null,sessionStartTime:null,config:{...nT,...dT()}})),sT=({axiosClient:t,serverUrl:e,appId:n,userAuthModule:i})=>{var o;const{maxQueueSize:c,throttleTime:u,batchSize:h}=Ue.config;if(!(!((o=Ue.config)===null||o===void 0)&&o.enabled)||qE)return{track:()=>{},cleanup:()=>{}};let p;const g=`${e}/api/apps/${n}/analytics/track/batch`,y=async T=>{await t.request({method:"POST",url:`/apps/${n}/analytics/track/batch`,data:{events:T}})},v=T=>{try{const O=JSON.stringify({events:T}),U=new Blob([O],{type:"application/json"});return typeof navigator>"u"||O.length>6e4||!navigator.sendBeacon(g,U)}catch{return!1}},b=async(T,O={})=>
255{if(T.length===0)return;const U=await uT(i),q=T.map(cT(U));try{(!O.isBeacon||!v(q))&&await y(q)}catch{}},S=()=>{dv(b,{throttleTime:u,batchSize:h})},E=T=>{if(Ue.requestsQueue.length>=c)return;const O=lT();Ue.requestsQueue.push({...T,...O}),S()},N=()=>{dv(b,{throttleTime:u,batchSize:h}),p=hv(E),oT()},j=()=>{uv(),p==null||p(),aT(E);const T=Ue.requestsQueue.splice(0);b(T,{isBeacon:!0})},w=()=>{typeof window>"u"||(document.visibilityState==="hidden"?j():document.visibilityState==="visible"&&N())},P=()=>{uv(),p==null||p(),typeof window<"u"&&window.removeEventListener("visibilitychange",w)};return S(),p=hv(E),iT(E),typeof window<"u"&&window.addEventListener("visibilitychange",w),{track:E,cleanup:P}};function uv(){Ue.isProcessing=!1}async function dv(t,e){if(Ue.isProcessing)return;Ue.isProcessing=!0;const{throttleTime:n=1e3,batchSize:i=30}=e??{};for(;Ue.isProcessing&&Ue.requestsQueue.length>0;){const o=Ue.requestsQueue.splice(0,i);o.length&&await t(o),await new Promise(c=>setTimeout(c,n))}Ue.isProcessing=!1}function hv(t){var e;if(Ue.isHeartBeatProcessing||((e=Ue.config.heartBeatInterval)!==null&&e!==void 0?e:0)<10)return()=>{};Ue.isHeartBeatProcessing=!0;const n=setInterval(()=>{t({eventName:ZE})},Ue.config.heartBeatInterval);return()=>{clearInterval(n),Ue.isHeartBeatProcessing=!1}}function iT(t){typeof window>"u"||Ue.wasInitializationTracked||(Ue.wasInitializationTracked=!0,t({eventName:eT,properties:{referrer:document==null?void 0:document.referrer}}))}function oT(){typeof window>"u"||Ue.sessionStartTime!==null||(Ue.sessionStartTime=new Date().toISOString())}function aT(t){if(typeof window>"u"||Ue.sessionStartTime===null)return;const e=new Date().getTime()-new Date(Ue.sessionStartTime).getTime();Ue.sessionStartTime=null,t({eventName:tT,properties:{sessionDuration:e}})}function lT(){return{timestamp:new Date().toISOString(),pageUrl:typeof window<"u"?window.location.pathname:null}}function cT(t){return e=>({event_name:e.eventName,properties:e.properties,timestamp:e.timestamp,page_url:e.pageUrl,...t})}let Qd=null;async function uT(t){if(!Ue.sessionContext){if(!Qd){const e=Tf();Qd=t.me().then(n=>({user_id:n.id,session_id:e})).catch(()=>({user_id:null,session_id:e}))}Ue.sessionContext=await Qd}return Ue.sessionContext}function dT(){if(typeof window>"u"||!window.location)return;const e=new URLSearchParams(window.location.search).get(lv);if(e==null||!e.length)return;const n=new URLSearchParams(window.location.search);n.delete(lv);const i=window.location.pathname+(n.toString()?"?"+n.toString():"");return window.history.replaceState({},"",i),{enabled:e==="true"}}function Tf(){if(typeof window>"u")return Kd();try{const t=localStorage.getItem(cv);if(!t){const e=Kd();return localStorage.setItem(cv,e),e}return t}catch{return Kd()}}class hT 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 Jo({baseURL:t,headers:e={},token:n,interceptResponses:i=!0,onError:o}){const c=lt.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"&&window.location&&(u.headers.set("X-Origin-URL",window.location.href),u.headers.get("Authorization")||u.headers.set("X-Base44-Anonymous-Id",Tf()));const h=XE();if(u.requestId=h,ov)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 p=(h=u.config)===null||h===void 0?void 0:h.requestId;try{ov&&p&&window.parent.postMessage({type:"api-request-end",requestId:p,data:{statusCode:u.status,response:u.data}},"*")}catch{}return u.data},u=>{var h,p,g,y,v,b,S,E;const N=((p=(h=u.response)===null||h===void 0?void 0:h.data)===null||p===void 0?void 0:p.message)||((y=(g=u.response)===null||g===void 0?void 0:g.data)===null||y===void 0?void 0:y.detail)||u.message,j=new hT(N,(v=u.response)===null||v===void 0?void 0:v.status,(S=(b=u.response)===null||b===void 0?void 0:b.data)===null||S===void 0?void 0:S.code,(E=u.response)===null||E===void 0?void 0:E.data,u);return o==null||o(j),Promise.reject(j)}),c}function fv(t){const{axios:e,appId:n,getSocket:i}=t;return new Proxy({},{get(o,c){if(!(typeof c!="string"||c==="then"||c.startsWith("_")))return pT(e,n,c,i)}})}function fT(t){var e;try{const n=JSON.parse(t);
255return{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 pT(t,e,n,i){const o=`/apps/${e}/entities/${n}`;return{async list(c,u,h,p){const g={};return c&&(g.sort=c),u&&(g.limit=u),h&&(g.skip=h),p&&(g.fields=Array.isArray(p)?p.join(","):p),t.get(o,{params:g})},async filter(c,u,h,p,g){const y={q:JSON.stringify(c)};return u&&(y.sort=u),h&&(y.limit=h),p&&(y.skip=p),g&&(y.fields=Array.isArray(g)?g.join(","):g),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:g=>{var y;const v=fT(g.data);if(v){v.type!=="delete"&&(!((y=v.data)===null||y===void 0)&&y._oversize)&&console.error(`[Base44 SDK] Realtime broadcast for ${n}#${v.id} was oversize and got slimmed for transport. Fields >10 KB are empty and the rest of the record may be a stub. Call \`entities.${n}.get("${v.id}")\` to fetch the full record.`);try{c(v)}catch(b){console.error("[Base44 SDK] Subscription callback error:",b)}}}})}}}function mT(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??{},p={...h,...c&&{path_params:c},...u&&{query_params:u}};return await t.post(`/apps/${e}/integrations/custom/${n}/${i}`,p)}}}function pv(t,e){const n=mT(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 p,g;return h instanceof FormData||h&&Object.values(h).some(y=>y instanceof File)?(p=new FormData,Object.keys(h).forEach(y=>{h[y]instanceof File?p.append(y,h[y],h[y].name):typeof h[y]=="object"&&h[y]!==null?p.append(y,JSON.stringify(h[y])):p.append(y,h[y])}),g="multipart/form-data"):(p=h,g="application/json"),o==="Core"?t.post(`/apps/${e}/integration-endpoints/Core/${u}`,p||h,{headers:{"Content-Type":g}}):t.post(`/apps/${e}/integration-endpoints/installable/${o}/integration-endpoints/${u}`,p||h,{headers:{"Content-Type":g}})}}})}})}function gT(){return typeof window>"u"?!1:window!==window.parent}function yT(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 p=()=>{window.removeEventListener("message",g),clearInterval(y),h.closed||h.close()},g=v=>{var b;if(v.origin!==n||v.source!==h||!(!((b=v.data)===null||b===void 0)&&b.access_token))return;p();const S=new URL(e),{access_token:E,is_new_user:N}=v.data;S.searchParams.set("access_token",E),N!=null&&S.searchParams.set("is_new_user",String(N)),window.location.href=S.toString()},y=setInterval(()=>{h.closed&&p()},500);window.addEventListener("message",g)}function vT(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 p;o==="sso"?p=`/apps/${n}/auth/sso/login`:p=`/apps/auth${o==="google"?"":`/${o}`}/login`;const g=`${i.appBaseUrl}/api${p}?${h}`;if(gT()){const y=`${g}&popup_origin=${encodeURIComponent(window.location.origin)}`;return yT(y,u,window.location.origin)}window.location.href=g}
255,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 p=await t.post(`/apps/${n}/auth/login`,{email:o,password:c,...u&&{turnstile_token:u}}),{access_token:g,user:y}=p;return g&&this.setToken(g),{access_token:g,user:y}}catch(p){throw((h=p.response)===null||h===void 0?void 0:h.status)===401&&await this.logout(),p}},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 xT(t,e){return{async getAccessToken(n){const i=`/apps/${e}/auth/sso/accesstoken/${n}`;return t.get(i)},async getIdToken(n){const i=`/apps/${e}/auth/sso/idtoken/${n}`;return t.get(i)}}}function bT(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 getWorkspaceConnection(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}/external-auth/tokens/connectors/${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 wT(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 Wi(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&&kT(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 kT(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 mv(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();
255Object.entries(h).forEach(([p,g])=>{g!=null&&u.set(p,String(g))})}return c&&new Headers(c).forEach((h,p)=>{u.set(p,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,p;return u instanceof FormData||u&&Object.values(u).some(g=>g instanceof File)?(h=new FormData,Object.keys(u).forEach(g=>{u[g]instanceof File?h.append(g,u[g],u[g].name):typeof u[g]=="object"&&u[g]!==null?h.append(g,JSON.stringify(u[g])):h.append(g,u[g])}),p="multipart/form-data"):(h=u,p="application/json"),t.post(`/apps/${e}/functions/${c}`,h||u,{headers:{"Content-Type":p}})},async fetch(c,u={}){const p=`/functions${c.startsWith("/")?c:`/${c}`}`,g=o(u.headers),y={...u,headers:g};return await fetch(i(n==null?void 0:n.baseURL,p),y)}}}function gv({axios:t,getSocket:e,appId:n,serverUrl:i,token:o}){const c=`/apps/${n}/agents`,u={},h=()=>t.get(`${c}/conversations`),p=N=>t.get(`${c}/conversations/${N}`);return{getConversations:h,getConversation:p,listConversations:N=>t.get(`${c}/conversations`,{params:N}),createConversation:N=>t.post(`${c}/conversations`,N),addMessage:async(N,j)=>t.post(`${c}/conversations/v2/${N.id}/messages`,j),subscribeToConversation:(N,j)=>{const w=`/agent-conversations/${N}`,P=e(),T=p(N).then(O=>(u[N]=O,O));return P.subscribeToRoom(w,{connect:()=>{},update_model:async({data:O})=>{const U=JSON.parse(O);if(U._message){await T;const q=U._message,ne=u[N];if(ne){const D=ne.messages||[],H=D.findIndex(Q=>Q.id===q.id),G=H!==-1?D.map((Q,$)=>$===H?q:Q):[...D,q];u[N]={...ne,messages:G},j==null||j(u[N])}}}})},getWhatsAppConnectURL:N=>{const j=`${i}/api/apps/${n}/agents/${encodeURIComponent(N)}/whatsapp`,w=o??Wi();return w?`${j}?token=${w}`:j},getTelegramConnectURL:N=>{const j=`${i}/api/apps/${n}/agents/${encodeURIComponent(N)}/telegram`,w=o??Wi();return w?`${j}?token=${w}`:j}}}function yv({serverUrl:t,token:e,appId:n}){return{connection:()=>{var o;return{baseURL:`${t}/api/apps/${n}/ai/openai/v1`,token:(o=e??Wi())!==null&&o!==void 0?o:""}}}}function vv(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 jT(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 Yn=Object.create(null);Yn.open="0";Yn.close="1";Yn.ping="2";Yn.pong="3";Yn.message="4";Yn.upgrade="5";Yn.noop="6";const cc=Object.create(null);Object.keys(Yn).forEach(t=>{cc[Yn[t]]=t});const Fh={type:"error",data:"parser error"},jb=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Sb=typeof ArrayBuffer=="function",Nb=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,Pf=({type:t,data:e},n,i)=>jb&&e instanceof Blob?n?i(e):xv(e,i):Sb&&(e instanceof ArrayBuffer||Nb(e))?n?i(e):xv(new Blob([e]),i):i(Yn[t]+(e||"")),xv=(t,e)=>{const n=new FileReader;return n.onload=function(){const i=n.result.split(",")[1];e("b"+(i||""))},n.readAsDataURL(t)};function bv(t){return t instanceof Uint8Array?t:t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}let Xd;function ST(t,e){if(jb&&t.data instanceof Blob)return t.data.arrayBuffer().then(bv).then(e);if(Sb&&(t.data instanceof ArrayBuffer||Nb(t.data)))return e(bv(t.data));Pf(t,!1,n=>{Xd||(Xd=new TextEncoder),e(Xd.encode(n))})}const wv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Zo=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t<wv.length;t++)Zo[wv.charCodeAt(t)]=t;const NT=t=>{let e=t.length*.75,n=t.length,i,o=0,c,u,h,p;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);const g=new ArrayBuffer(e),y=new Uint8Array(g);for(i=0;i<n;i+=4)c=Zo[t.charCodeAt(i)],u=Zo[t.charCodeAt(i+1)],h=Zo[t.charCodeAt(i+2)],p=Zo[t.charCodeAt(i+3)],y[o++]=c<<2|u>>4,y[o++]=(u&15)<<4|h>>2,y[o++]=(h&3)<<6|p&63;return g},CT=typeof ArrayBuffer=="function",Af=(t,e)=>{if(typeof t!="string")return{type:"message",data:Cb(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:ET(t.substring(1),e)}:cc[n]?t.length>1?{type:cc[n],data:t.substring(1)}:{type:cc[n]}:Fh},ET=(t,e)=>{if(CT){const n=NT(t);return Cb(n,e)}else return{base64:!0,data:t}},Cb=(t,e)=>{switch(e){case"blob":return t instanceof Blob?t:new Blob([t]);case"arraybuffer":default:return t instanceof ArrayBuffer?t:t.buffer}},Eb="�",TT=(t,e)=>{const n=t.length,i=new Array(n);let o=0;t.forEach((c,u)=>{Pf(c,!1,h=>{i[u]=h,++o===n&&e(i.join(Eb))})})},PT=(t,e)=>{const n=t.split(Eb),i=[];for(let o=0;o<n.length;o++){const c=Af(n[o],e);if(i.push(c),c.type==="error")break}return i};function AT(){return new TransformStream({transform(t,e){ST(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 Jd;function Xl(t){return t.reduce((e,n)=>e+n.length,0)}function Jl(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 _T(t,e){Jd||(Jd=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(Xl(n)<1)break;const p=Jl(n,1);c=(p[0]&128)===128,o=p[0]&127,o<126?i=3:o===126?i=1:i=2}else if(i===1){if(Xl(n)<2)break;const p=Jl(n,2);o=new DataView(p.buffer,p.byteOffset,p.length).getUint16(0),i=3}else if(i===2){if(Xl(n)<8)break;const p=Jl(n,8),g=new DataView(p.buffer,p.byteOffset,p.length),y=g.getUint32(0);if(y>Math.pow(2,21)-1){h.enqueue(Fh);break}o=y*Math.pow(2,32)+g.getUint32(4),i=3}else{if(Xl(n)<o)break;const p=Jl(n,o);h.enqueue(Af(c?p:Jd.decode(p),e)),i=0}if(o===0||o>t){h.enqueue(Fh);break}}}})}const Tb=4;function ht(t){if(t)return RT(t)}function RT(t){for(var e in ht.prototype)t[e]=ht.prototype[e];return t}ht.prototype.on=ht.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this};ht.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this};ht.prototype.off=ht.prototype.removeListener=ht.prototype.removeAllListeners=ht.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+t];
vendor: 18,368 bytes, line 255
255if(!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};ht.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};ht.prototype.emitReserved=ht.prototype.emit;ht.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]};ht.prototype.hasListeners=function(t){return!!this.listeners(t).length};const Lc=typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0),yn=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),OT="arraybuffer";function Pb(t,...e){return e.reduce((n,i)=>(t.hasOwnProperty(i)&&(n[i]=t[i]),n),{})}const LT=yn.setTimeout,IT=yn.clearTimeout;function Ic(t,e){e.useNativeTimers?(t.setTimeoutFn=LT.bind(yn),t.clearTimeoutFn=IT.bind(yn)):(t.setTimeoutFn=yn.setTimeout.bind(yn),t.clearTimeoutFn=yn.clearTimeout.bind(yn))}const BT=1.33;function DT(t){return typeof t=="string"?FT(t):Math.ceil((t.byteLength||t.size)*BT)}function FT(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 Ab(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function MT(t){let e="";for(let n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e}function VT(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 UT extends Error{constructor(e,n,i){super(e),this.description=n,this.context=i,this.type="TransportError"}}class _f extends ht{constructor(e){super(),this.writable=!1,Ic(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 UT(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=Af(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&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(e){const n=MT(e);return n.length?"?"+n:""}}class zT extends _f{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)};PT(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,TT(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]=Ab()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(e,n)}}let _b=!1;try{_b=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const $T=_b;function WT(){}class qT extends zT{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 Wn extends ht{constructor(e,n,i){super(),this.createRequest=e,Ic(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=Pb(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=Wn.requestsCount++,Wn.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=WT,e)try{this._xhr.abort()}catch{}typeof document<"u"&&delete Wn.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()}}Wn.requestsCount=0;Wn.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",kv);else if(typeof addEventListener=="function"){const t="onpagehide"in yn?"pagehide":"unload";addEventListener(t,kv,!1)}}function kv(){for(let t in Wn.requests)Wn.requests.hasOwnProperty(t)&&Wn.requests[t].abort()}const HT=(function(){const t=Rb({xdomain:!1});return t&&t.responseType!==null})();class YT extends qT{constructor(e){super(e);const n=e&&e.forceBase64;this.supportsBinary=HT&&!n}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new Wn(Rb,this.uri(),e)}}function Rb(t){const e=t.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||$T))return new XMLHttpRequest}catch{}if(!e)try{return new yn[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const Ob=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class KT extends _f{get name(){return"websocket"}doOpen(){const e=this.uri(),n=this.opts.protocols,i=Ob?{}:Pb(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;Pf(i,this.supportsBinary,c=>{try{this.doWrite(i,c)}catch{}o&&Lc(()=>{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]=Ab()),this.supportsBinary||(n.b64=1),this.createUri(e,n)}}const Zd=yn.WebSocket||yn.MozWebSocket;class GT extends KT{createSocket(e,n,i){return Ob?new Zd(e,n,i):n?new Zd(e,n):new Zd(e)}doWrite(e,n){this.ws.send(n)}}class QT extends _f{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=_T(Number.MAX_SAFE_INTEGER,this.socket.binaryType),i=e.readable.pipeThrough(n).getReader(),o=AT();o.readable.pipeTo(e.writable),this._writer=o.writable.getWriter();const c=()=>{i.read().then(({done:h,value:p})=>{h||(this.onPacket(p),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&&Lc(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this._transport)===null||e===void 0||e.close()}}const XT={websocket:GT,webtransport:QT,polling:YT},JT=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,ZT=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Mh(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=JT.exec(t||""),c={},u=14;for(;u--;)c[ZT[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=e4(c,c.path),c.queryKey=t4(c,c.query),c}function e4(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 t4(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(i,o,c){o&&(n[o]=c)}),n}const Vh=typeof addEventListener=="function"&&typeof removeEventListener=="function",uc=[];Vh&&addEventListener("offline",()=>{uc.forEach(t=>t())},!1);class Qr extends ht{constructor(e,n){if(super(),this.binaryType=OT,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=Mh(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=Mh(n.host).host);Ic(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=VT(this.opts.query)),Vh&&(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"})},uc.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){const n=Object.assign({},this.opts.query);n.EIO=Tb,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&&Qr.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",Qr.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+=DT(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,Lc(()=>{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(Qr.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(),Vh&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const i=uc.indexOf(this._offlineEventListener);i!==-1&&uc.splice(i,1)}this.readyState="closed",this.id=null,this.emitReserved("close",e,n),this.writeBuffer=[],this._prevBufferLen=0}}}Qr.protocol=Tb;class n4 extends Qr{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;Qr.priorWebsocketSuccess=!1;const o=()=>{i||(n.send([{type:"ping",data:"probe"}]),n.once("packet",v=>{if(!i)if(v.type==="pong"&&v.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;Qr.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{i||this.readyState!=="closed"&&(y(),this.setTransport(n),n.send([{type:"upgrade"}
vendor: 10,982 bytes, line 255
255]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const b=new Error("probe error");b.transport=n.name,this.emitReserved("upgradeError",b)}}))};function c(){i||(i=!0,y(),n.close(),n=null)}const u=v=>{const b=new Error("probe error: "+v);b.transport=n.name,c(),this.emitReserved("upgradeError",b)};function h(){u("transport closed")}function p(){u("socket closed")}function g(v){n&&v.name!==n.name&&c()}const y=()=>{n.removeListener("open",o),n.removeListener("error",u),n.removeListener("close",h),this.off("close",p),this.off("upgrading",g)};n.once("open",o),n.once("error",u),n.once("close",h),this.once("close",p),this.once("upgrading",g),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 r4=class extends n4{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=>XT[o]).filter(o=>!!o)),super(e,i)}};function s4(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=Mh(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 i4=typeof ArrayBuffer=="function",o4=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,Lb=Object.prototype.toString,a4=typeof Blob=="function"||typeof Blob<"u"&&Lb.call(Blob)==="[object BlobConstructor]",l4=typeof File=="function"||typeof File<"u"&&Lb.call(File)==="[object FileConstructor]";function Rf(t){return i4&&(t instanceof ArrayBuffer||o4(t))||a4&&t instanceof Blob||l4&&t instanceof File}function dc(t,e){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let n=0,i=t.length;n<i;n++)if(dc(t[n]))return!0;return!1}if(Rf(t))return!0;if(t.toJSON&&typeof t.toJSON=="function"&&arguments.length===1)return dc(t.toJSON(),!0);for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&dc(t[n]))return!0;return!1}function c4(t){const e=[],n=t.data,i=t;return i.data=Uh(n,e),i.attachments=e.length,{packet:i,buffers:e}}function Uh(t,e){if(!t)return t;if(Rf(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]=Uh(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]=Uh(t[i],e));return n}return t}function u4(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 Ib=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],d4=5;var Ee;(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"})(Ee||(Ee={}));class h4{constructor(e){this.replacer=e}encode(e){return(e.type===Ee.EVENT||e.type===Ee.ACK)&&dc(e)?this.encodeAsBinary({type:e.type===Ee.EVENT?Ee.BINARY_EVENT:Ee.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let n=""+e.type;return(e.type===Ee.BINARY_EVENT||e.type===Ee.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=c4(e),i=this.encodeAsString(n.packet),o=n.buffers;return o.unshift(i),o}}class Of extends ht{constructor(e){super(),this.opts=Object.assign({reviver:void 0,maxAttachments:10},typeof e=="function"?{reviver:e}: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===Ee.BINARY_EVENT;i||n.type===Ee.BINARY_ACK?(n.type=i?Ee.EVENT:Ee.ACK,this.reconstructor=new f4(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(Rf(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(Ee[i.type]===void 0)throw new Error("unknown packet type "+i.type);if(i.type===Ee.BINARY_EVENT||i.type===Ee.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");const h=Number(u);if(!Bb(h)||h<0)throw new Error("Illegal attachments");if(h>this.opts.maxAttachments)throw new Error("too many attachments");i.attachments=h}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(Of.isPayloadValid(i.type,c))i.data=c;else throw new Error("invalid payload")}return i}tryParse(e){try{return JSON.parse(e,this.opts.reviver)}catch{return!1}}static isPayloadValid(e,n){switch(e){case Ee.CONNECT:return wc(n);case Ee.DISCONNECT:return n===void 0;case Ee.CONNECT_ERROR:return typeof n=="string"||wc(n);case Ee.EVENT:case Ee.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&Ib.indexOf(n[0])===-1);case Ee.ACK:case Ee.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class f4{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=u4(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function p4(t){return typeof t=="string"}const Bb=Number.isInteger||function(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t};function m4(t){return t===void 0||Bb(t)}function wc(t){return Object.prototype.toString.call(t)==="[object Object]"}function g4(t,e){switch(t){case Ee.CONNECT:return e===void 0||wc(e);case Ee.DISCONNECT:return e===void 0;case Ee.EVENT:return Array.isArray(e)&&(typeof e[0]=="number"||typeof e[0]=="string"&&Ib.indexOf(e[0])===-1);case Ee.ACK:return Array.isArray(e);case Ee.CONNECT_ERROR:return typeof e=="string"||wc(e);default:return!1}}function y4(t){return p4(t.nsp)&&m4(t.id)&&g4(t.type,t.data)}const v4=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Of,Encoder:h4,get PacketType(){return Ee},isPacketValid:y4,protocol:d4},Symbol.toStringTag,{value:"Module"}));function _n(t,e,n){return t.on(e,n),function(){t.off(e,n)}}const x4=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Db extends ht{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=[_n(e,"open",this.onopen.bind(this)),_n(e,"packet",this.onpacket.bind(this)),_n(e,"error",this.onerror.bind(this)),_n(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(x4.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:Ee.EVENT,data:n};if(u.options={},u.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const y=this.ids++,v=n.pop();this._registerAckCallback(y,v),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,p=this.connected&&!(!((c=this.io.engine)===null||c===void 0)&&c._hasPingExpired());return this.flags.volatile&&!h||(p?(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)=>(this._queue[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:Ee.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()}
vendor: 7,087 bytes, line 255
255_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 Ee.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 Ee.EVENT:case Ee.BINARY_EVENT:this.onevent(e);break;case Ee.ACK:case Ee.BINARY_ACK:this.onack(e);break;case Ee.DISCONNECT:this.ondisconnect();break;case Ee.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:Ee.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._drainQueue(!0),this.emitReserved("connect")}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:Ee.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 eo(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}eo.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};eo.prototype.reset=function(){this.attempts=0};eo.prototype.setMin=function(t){this.ms=t};eo.prototype.setMax=function(t){this.max=t};eo.prototype.setJitter=function(t){this.jitter=t};class $h extends ht{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,Ic(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 eo({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||v4;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 r4(this.uri,this.opts);const n=this.engine,i=this;this._readyState="opening",this.skipReconnect=!1;const o=_n(n,"open",function(){i.onopen(),e&&e()}),c=h=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",h),e?e(h):this.maybeReconnectOnOpen()},u=_n(n,"error",c);if(this._timeout!==!1){const h=this._timeout,p=this.setTimeoutFn(()=>{o(),c(new Error("timeout")),n.close()},h);this.opts.autoUnref&&p.unref(),this.subs.push(()=>{this.clearTimeoutFn(p)})}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(_n(e,"ping",this.onping.bind(this)),_n(e,"data",this.ondata.bind(this)),_n(e,"error",this.onerror.bind(this)),_n(e,"close",this.onclose.bind(this)),_n(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){Lc(()=>{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 Db(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)}
255cleanup(){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 Ho={};function hc(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=s4(t,e.path||"/socket.io"),i=n.source,o=n.id,c=n.path,u=Ho[o]&&c in Ho[o].nsps,h=e.forceNew||e["force new connection"]||e.multiplex===!1||u;let p;return h?p=new $h(i,e):(Ho[o]||(Ho[o]=new $h(i,e)),p=Ho[o]),n.query&&!e.query&&(e.query=n.queryKey),p.socket(n.path,e)}Object.assign(hc,{Manager:$h,Socket:Db,io:hc,connect:hc});const b4=250;function jv(t,e){var n;const i=(n=t.token)!==null&&n!==void 0?n:Wi(),o={app_id:t.appId,token:i};i||(o.anonymous_id=Tf());const c=hc(t.serverUrl,{path:t.mountPath,transports:t.transports,query:o});return c.on("connect",async()=>{var u;return console.log("connect",c.id),(u=e.connect)===null||u===void 0?void 0:u.call(e)}),c.on("update_model",async u=>{var h;return(h=e.update_model)===null||h===void 0?void 0:h.call(e,u)}),c.on("error",async u=>{var h;return(h=e.error)===null||h===void 0?void 0:h.call(e,u)}),c.on("connect_error",async u=>{var h;return console.error("connect_error",u),(h=e.error)===null||h===void 0?void 0:h.call(e,u)}),c}function w4({config:t}){let e={...t};const n={},i={},o={connect:async()=>{const w=[];Object.keys(n).forEach(P=>{const T=b(P);T.length!==0&&(g(P),T.forEach(({connect:O})=>{const U=async()=>O==null?void 0:O();w.push(U())}))}),await Promise.all(w)},update_model:async w=>{const T=b(w.room).map(O=>{var U;return(U=O.update_model)===null||U===void 0?void 0:U.call(O,w)});await Promise.all(T)},error:async w=>{console.error("error",w);const P=Object.values(n).flat().map(T=>{var O;return(O=T.error)===null||O===void 0?void 0:O.call(T,w)});await Promise.all(P)}};let c=jv(t,o);function u(){h()}function h(){E(),c&&c.disconnect()}function p(w){u(),e={...e,...w},c=jv(e,o)}function g(w){c.emit("join",w)}function y(w){c.emit("leave",w)}async function v(w,P){var T;const O=JSON.stringify(P);return(T=o.update_model)===null||T===void 0?void 0:T.call(o,{room:w,data:O})}function b(w){var P;return(P=n[w])!==null&&P!==void 0?P:[]}function S(w){const P=i[w];P&&(clearTimeout(P),delete i[w])}
255function E(){Object.keys(i).forEach(w=>{var P,T;clearTimeout(i[w]),delete i[w],((T=(P=n[w])===null||P===void 0?void 0:P.length)!==null&&T!==void 0?T:0)===0&&delete n[w]})}function N(w){S(w),i[w]=setTimeout(()=>{var P,T;delete i[w],!(((T=(P=n[w])===null||P===void 0?void 0:P.length)!==null&&T!==void 0?T:0)>0)&&(y(w),delete n[w])},b4)}return{socket:c,subscribeToRoom:(w,P)=>{n[w]?S(w):(g(w),n[w]=[]),n[w].push(P);let T=!1;return()=>{var O,U;T||(T=!0,n[w]=(U=(O=n[w])===null||O===void 0?void 0:O.filter(q=>q!==P))!==null&&U!==void 0?U:[],n[w].length===0&&N(w))}},updateConfig:p,updateModel:v,disconnect:h}}function k4(t){var e,n;const{serverUrl:i="https://base44.app",appId:o,token:c,serviceToken:u,requiresAuth:h=!1,appBaseUrl:p,options:g,functionsVersion:y,headers:v}=t,b=typeof p=="string"?p:"",S={serverUrl:i,mountPath:"/ws-user-apps/socket.io/",transports:["websocket"],appId:o,token:c};let E=null;const N=()=>(E||(E=w4({config:S})),E),j={...v,"X-App-Id":String(o)},w=y?{...j,"Base44-Functions-Version":y}:j,P=Jo({baseURL:`${i}/api`,headers:j,token:c,onError:g==null?void 0:g.onError}),T=Jo({baseURL:`${i}/api`,headers:w,token:c,interceptResponses:!1,onError:g==null?void 0:g.onError}),O={...j,...c?{"on-behalf-of":`Bearer ${c}`}:{}},U=Jo({baseURL:`${i}/api`,headers:O,token:u,onError:g==null?void 0:g.onError}),q=Jo({baseURL:`${i}/api`,headers:w,token:u,interceptResponses:!1}),ne=vT(P,T,o,{appBaseUrl:b});if(typeof window<"u"){const Q=c||Wi();Q&&ne.setToken(Q)}const D={entities:fv({axios:P,appId:o,getSocket:N}),integrations:pv(P,o),connectors:wT(P,o),auth:ne,functions:mv(T,o,{getAuthHeaders:()=>{const Q={},$=c||Wi();return $&&(Q.Authorization=`Bearer ${$}`),Q},baseURL:(e=T.defaults)===null||e===void 0?void 0:e.baseURL}),agents:gv({axios:P,getSocket:N,appId:o,serverUrl:i,token:c}),aiGateway:yv({serverUrl:i,token:c,appId:o}),appLogs:vv(P,o),users:jT(P,o),analytics:sT({axiosClient:P,serverUrl:i,appId:o,userAuthModule:ne}),cleanup:()=>{D.analytics.cleanup(),E&&E.disconnect()}},H={entities:fv({axios:U,appId:o,getSocket:N}),integrations:pv(U,o),sso:xT(U,o),connectors:bT(U,o),functions:mv(q,o,{getAuthHeaders:()=>{const Q={};return u&&(Q.Authorization=`Bearer ${u}`),Q},baseURL:(n=q.defaults)===null||n===void 0?void 0:n.baseURL}),agents:gv({axios:U,getSocket:N,appId:o,serverUrl:i,token:c}),aiGateway:yv({serverUrl:i,token:u,appId:o}),appLogs:vv(U,o),cleanup:()=>{E&&E.disconnect()}};return h&&typeof window<"u"&&setTimeout(async()=>{try{await D.auth.isAuthenticated()||D.auth.redirectToLogin(window.location.href)}catch(Q){console.error("Authentication check failed:",Q),D.auth.redirectToLogin(window.location.href)}},0),{...D,setToken(Q){D.auth.setToken(Q),E&&E.updateConfig({token:Q}),S.token=Q},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 Fb=typeof window>"u",j4=Fb?{localStorage:new Map}:window,ia=j4.localStorage,S4=t=>t.replace(/([A-Z])/g,"_$1").toLowerCase(),Yo=(t,{defaultValue:e=void 0,removeFromUrl:n=!1}={})=>{if(Fb)return e;const i=`base44_${S4(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 ia.setItem(i,c),c;if(e)return ia.setItem(i,e),e;const u=ia.getItem(i);return u||null},N4=()=>(Yo("clear_access_token")==="true"&&(ia.removeItem("base44_access_token"),ia.removeItem("token")),{appId:Yo("app_id",{defaultValue:"6945c5fdc9eab36b7d26fd72"}),token:Yo("access_token",{removeFromUrl:!0}),fromUrl:Yo("from_url",{defaultValue:window.location.href}),functionsVersion:Yo("functions_version",{defaultValue:"prod"})}),ea={...N4()},{appId:C4,token:E4,functionsVersion:T4}=ea,Cs=k4({appId:C4,token:E4,functionsVersion:T4,serverUrl:"",requiresAuth:!1}),P4=Object.freeze(Object.defineProperty({__proto__:null,base44:Cs},Symbol.toStringTag,{value:"Module"})),Mb=A.createContext(),A4=({children:t})=>{const[e,n]=A.useState(null),[i,o]=A.useState(!1),[c,u]=A.useState(!0),[h,p]=A.useState(!0),[g,y]=A.useState(null),[v,b]=A.useState(null);A.useEffect(()=>{S()},[]);const S=async()=>{var w,P;try{p(!0),y(null);const T=Jo({baseURL:"/api/apps/public",headers:{"X-App-Id":ea.appId},token:ea.token,interceptResponses:!0});try{const O=await T.get(`/prod/public-settings/by-id/${ea.appId}`);b(O),ea.token?await E():(u(!1),o(!1)),p(!1)}catch(O){if(console.error("App state check failed:",O),O.status===403&&((P=(w=O.data)==null?void 0:w.extra_data)!=null&&P.reason)){const U=O.data.extra_data.reason;y(U==="auth_required"?{type:"auth_required",message:"Authentication required"}:U==="user_not_registered"?{type:"user_not_registered",message:"User not registered for this app"}:{type:U,message:O.message})}else y({type:"unknown",message:O.message||"Failed to load app"});p(!1),u(!1)}}catch(T){console.error("Unexpected error:",T),y({type:"unknown",message:T.message||"An unexpected error occurred"}),p(!1),u(!1)}},E=async()=>{try{u(!0);const w=await Cs.auth.me();n(w),o(!0),u(!1)}catch(w){console.error("User auth check failed:",w),u(!1),o(!1),(w.status===401||w.status===403)&&y({type:"auth_required",message:"Authentication required"})}},N=(w=!0)=>{n(null),o(!1),w?Cs.auth.logout(window.location.href):Cs.auth.logout()},j=()=>{Cs.auth.redirectToLogin(window.location.href)};return l.jsx(Mb.Provider,{value:{user:e,isAuthenticated:i,isLoadingAuth:c,isLoadingPublicSettings:h,authError:g,a
vendor: 115,735 bytes, lines 255-263
255ppPublicSettings:v,logout:N,navigateToLogin:j,checkAppState:S},children:t})},Vb=()=>{const t=A.useContext(Mb);if(!t)throw new Error("useAuth must be used within an AuthProvider");return t},Bc=A.createContext(null);function Lf(t){const e=A.useRef(null);return e.current===null&&(e.current=t()),e.current}const If=A.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});class _4 extends A.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 R4({children:t,isPresent:e}){const n=A.useId(),i=A.useRef(null),o=A.useRef({width:0,height:0,top:0,left:0}),{nonce:c}=A.useContext(If);return A.useInsertionEffect(()=>{const{width:u,height:h,top:p,left:g}=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(`
256          [data-motion-pop-id="${n}"] {
257            position: absolute !important;
258            width: ${u}px !important;
259            height: ${h}px !important;
260            top: ${p}px !important;
261            left: ${g}px !important;
262          }
263        `),()=>{document.head.removeChild(y)}},[e]),l.jsx(_4,{isPresent:e,childRef:i,sizeRef:o,children:A.cloneElement(t,{ref:i})})}const O4=({children:t,initial:e,isPresent:n,onExitComplete:i,custom:o,presenceAffectsLayout:c,mode:u})=>{const h=Lf(L4),p=A.useId(),g=A.useCallback(v=>{h.set(v,!0);for(const b of h.values())if(!b)return;i&&i()},[h,i]),y=A.useMemo(()=>({id:p,initial:e,isPresent:n,custom:o,onExitComplete:g,register:v=>(h.set(v,!1),()=>h.delete(v))}),c?[Math.random(),g]:[n,g]);return A.useMemo(()=>{h.forEach((v,b)=>h.set(b,!1))},[n]),A.useEffect(()=>{!n&&!h.size&&i&&i()},[n]),u==="popLayout"&&(t=l.jsx(R4,{isPresent:n,children:t})),l.jsx(Bc.Provider,{value:y,children:t})};function L4(){return new Map}const Bf=A.createContext({}),nn=t=>t;let Ub=nn;function Df(t){let e;return()=>(e===void 0&&(e=t()),e)}const qi=(t,e,n)=>{const i=e-t;return i===0?1:(n-t)/i},ur=t=>t*1e3,dr=t=>t/1e3,Zl=t=>t.key||"";function Sv(t){const e=[];return A.Children.forEach(t,n=>{A.isValidElement(n)&&e.push(n)}),e}const Ff=typeof window<"u",zb=Ff?A.useLayoutEffect:A.useEffect,Dc=({children:t,exitBeforeEnter:e,custom:n,initial:i=!0,onExitComplete:o,presenceAffectsLayout:c=!0,mode:u="sync"})=>{const h=A.useMemo(()=>Sv(t),[t]),p=h.map(Zl),g=A.useRef(!0),y=A.useRef(h),v=Lf(()=>new Map),[b,S]=A.useState(h),[E,N]=A.useState(h);zb(()=>{g.current=!1,y.current=h;for(let P=0;P<E.length;P++){const T=Zl(E[P]);p.includes(T)?v.delete(T):v.get(T)!==!0&&v.set(T,!1)}},[E,p.length,p.join("-")]);const j=[];if(h!==b){let P=[...h];for(let T=0;T<E.length;T++){const O=E[T],U=Zl(O);p.includes(U)||(P.splice(T,0,O),j.push(O))}u==="wait"&&j.length&&(P=j),N(Sv(P)),S(h);return}const{forceRender:w}=A.useContext(Bf);return l.jsx(l.Fragment,{children:E.map(P=>{const T=Zl(P),O=h===E||p.includes(T),U=()=>{if(v.has(T))v.set(T,!0);else return;let q=!0;v.forEach(ne=>{ne||(q=!1)}),q&&(w==null||w(),N(y.current),o&&o())};return l.jsx(O4,{isPresent:O,initial:!g.current||i?void 0:!1,custom:O?void 0:n,presenceAffectsLayout:c,mode:u,onExitComplete:O?void 0:U,children:P},T)})})},I4={useManualTiming:!1};function B4(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(g){c.has(g)&&(p.schedule(g),t()),g(u)}const p={schedule:(g,y=!1,v=!1)=>{const S=v&&i?e:n;return y&&c.add(g),S.has(g)||S.add(g),g},cancel:g=>{n.delete(g),c.delete(g)},process:g=>{if(u=g,i){o=!0;return}i=!0,[e,n]=[n,e],e.forEach(h),e.clear(),i=!1,o&&(o=!1,p.process(g))}};return p}const ec=["read","resolveKeyframes","update","preRender","render","postRender"],D4=40;function $b(t,e){let n=!1,i=!0;const o={delta:0,timestamp:0,isProcessing:!1},c=()=>n=!0,u=ec.reduce((w,P)=>(w[P]=B4(c),w),{}),{read:h,resolveKeyframes:p,update:g,preRender:y,render:v,postRender:b}=u,S=()=>{const w=performance.now();n=!1,o.delta=i?1e3/60:Math.max(Math.min(w-o.timestamp,D4),1),o.timestamp=w,o.isProcessing=!0,h.process(o),p.process(o),g.process(o),y.process(o),v.process(o),b.process(o),o.isProcessing=!1,n&&e&&(i=!1,t(S))},E=()=>{n=!0,i=!0,o.isProcessing||t(S)};return{schedule:ec.reduce((w,P)=>{const T=u[P];return w[P]=(O,U=!1,q=!1)=>(n||E(),T.schedule(O,U,q)),w},{}),cancel:w=>{for(let P=0;P<ec.length;P++)u[ec[P]].cancel(w)},state:o,steps:u}}const{schedule:Ye,cancel:Jr,state:Ct,steps:eh}=$b(typeof requestAnimationFrame<"u"?requestAnimationFrame:nn,!0),Wb=A.createContext({strict:!1}),Nv={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"]},Hi={};for(const t in Nv)Hi[t]={isEnabled:e=>Nv[t].some(n=>!!e[n])};function F4(t){for(const e in t)Hi[e]={...Hi[e],...t[e]}}const M4=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 kc(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||M4.has(t)}let qb=t=>!kc(t);function V4(t){t&&(qb=e=>e.startsWith("on")?!kc(e):t(e))}try{V4(require("@emotion/is-prop-valid").default)}catch{}function U4(t,e,n){const i={};for(const o in t)o==="values"&&typeof t.values=="object"||(qb(o)||n===!0&&kc(o)||!e&&!kc(o)||t.draggable&&o.startsWith("onDrag"))&&(i[o]=t[o]);return i}function z4(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 Fc=A.createContext({});function ma(t){return typeof t=="string"||Array.isArray(t)}function Mc(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const Mf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Vf=["initial",...Mf];function Vc(t){return Mc(t.animate)||Vf.some(e=>ma(t[e]))}function Hb(t){return!!(Vc(t)||t.variants)}function $4(t,e){if(Vc(t)){const{initial:n,animate:i}=t;return{initial:n===!1||ma(n)?n:void 0,animate:ma(i)?i:void 0}}return t.inherit!==!1?e:{}}function W4(t){const{initial:e,animate:n}=$4(t,A.useContext(Fc));return A.useMemo(()=>({initial:e,animate:n}),[Cv(e),Cv(n)])}function Cv(t){return Array.isArray(t)?t.join(" "):t}const q4=Symbol.for("motionComponentSymbol");function Si(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function H4(t,e,n){return A.useCallback(i=>{i&&t.mount&&t.mount(i),e&&(i?e.mount(i):e.unmount()),n&&(typeof n=="function"?n(i):Si(n)&&(n.current=i))},[e])}const Uf=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Y4="framerAppearId",Yb="data-"+Uf(Y4),{schedule:zf}=$b(queueMicrotask,!1),Kb=A.createContext({});function K4(t,e,n,i,o){var c,u;const{visualElement:h}=A.useContext(Fc),p=A.useContext(Wb),g=A.useContext(Bc),y=A.useContext(If).reducedMotion,v=A.useRef(null);i=i||p.renderer,!v.current&&i&&(v.current=i(t,{visualState:e,parent:h,props:n,presenceContext:g,blockInitialAnimation:g?g.initial===!1:!1,reducedMotionConfig:y}));const b=v.current,S=A.useContext(Kb);b&&!b.projection&&o&&(b.type==="html"||b.type==="svg")&&G4(v.current,n,o,S);const E=A.useRef(!1);A.useInsertionEffect(()=>{b&&E.current&&b.update(n,g)});const N=n[Yb],j=A.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 zb(()=>{b&&(E.current=!0,window.MotionIsMounted=!0,b.updateFeatures(),zf.render(b.render),j.current&&b.animationState&&b.animationState.animateChanges())}),A.useEffect(()=>{b&&(!j.current&&b.animationState&&b.animationState.animateChanges(),j.current&&(queueMicrotask(()=>{var w;(w=window.MotionHandoffMarkAsComplete)===null||w===void 0||w.call(window,N)}),j.current=!1))}),b}function G4(t,e,n,i){const{layoutId:o,layout:c,drag:u,dragConstraints:h,layoutScroll:p,layoutRoot:g}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:Gb(t.parent)),t.projection.setOptions({layoutId:o,layout:c,alwaysMeasureLayout:!!u||h&&Si(h),visualElement:t,animationType:typeof c=="string"?c:"both",initialPromotionConfig:i,layoutScroll:p,layoutRoot:g})}function Gb(t){if(t)return t.options.allowProjection!==!1?t.projection:Gb(t.parent)}function Q4({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:i,Component:o}){var c,u;t&&F4(t);function h(g,y){let v;const b={...A.useContext(If),...g,layoutId:X4(g)},{isStatic:S}=b,E=W4(g),N=i(g,S);if(!S&&Ff){J4();const j=Z4(b);v=j.MeasureLayout,E.visualElement=K4(o,N,b,e,j.ProjectionNode)}return l.jsxs(Fc.Provider,{value:E,children:[v&&E.visualElement?l.jsx(v,{visualElement:E.visualElement,...b}):null,n(o,g,H4(N,E.visualElement,y),N,S,E.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 p=A.forwardRef(h);return p[q4]=o,p}function X4({layoutId:t}){const e=A.useContext(Bf).id;return e&&t!==void 0?e+"-"+t:t}function J4(t,e){A.useContext(Wb).strict}function Z4(t){const{drag:e,layout:n}=Hi;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 e3=["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 $f(t){return typeof t!="string"||t.includes("-")?!1:!!(e3.indexOf(t)>-1||/[A-Z]/u.test(t))}function Qb(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 Xb=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 Jb(t,e,n,i){Qb(t,e,void 0,i);for(const o in e.attrs)t.setAttribute(Xb.has(o)?o:Uf(o),e.attrs[o])}const It=t=>!!(t&&t.getVelocity),jc={};function t3(t){Object.assign(jc,t)}const _a=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],qs=new Set(_a);function Zb(t,{layout:e,layoutId:n}){return qs.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!jc[t]||t==="opacity")}function Wf(t,e,n){var i;const{style:o}=t,c={};for(const u in o)(It(o[u])||e.style&&It(e.style[u])||Zb(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 ew(t,e,n){const i=Wf(t,e,n);for(const o in t)if(It(t[o])||It(e[o])){const c=_a.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;i[c]=t[o]}return i}function Ev(t){const e=[{},{}];return t==null||t.values.forEach((n,i)=>{e[0][i]=n.get(),e[1][i]=n.getVelocity()}),e}function qf(t,e,n,i){if(typeof e=="function"){const[o,c]=Ev(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]=Ev(i);e=e(n!==void 0?n:t.custom,o,c)}return e}const Wh=t=>Array.isArray(t),n3=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),r3=t=>Wh(t)?t[t.length-1]||0:t;function fc(t){const e=It(t)?t.get():t;return n3(e)?e.toValue():e}function s3({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},i,o,c){const u={latestValues:i3(i,o,c,t),renderState:e()};return n&&(u.mount=h=>n(i,h,u)),u}const tw=t=>(e,n)=>{const i=A.useContext(Fc),o=A.useContext(Bc),c=()=>s3(t,e,i,o);return n?c():Lf(c)};function i3(t,e,n,i){const o={},c=i(t,{});for(const b in c)o[b]=fc(c[b]);let{initial:u,animate:h}=t;const p=Vc(t),g=Hb(t);e&&g&&!p&&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 v=y?h:u;if(v&&typeof v!="boolean"&&!Mc(v)){const b=Array.isArray(v)?v:[v];for(let S=0;S<b.length;S++){const E=qf(t,b[S]);if(E){const{transitionEnd:N,transition:j,...w}=E;for(const P in w){let T=w[P];if(Array.isArray(T)){const O=y?T.length-1:0;T=T[O]}T!==null&&(o[P]=T)}for(const P in N)o[P]=N[P]}}}return o}const Hf=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),nw=()=>({...Hf(),attrs:{}}),rw=(t,e)=>e&&typeof t=="number"?e.transform(t):t,hr=(t,e,n)=>n>e?e:n<t?t:n,to={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},ga={...to,transform:t=>hr(0,1,t)},tc={...to,default:1},Ra=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Fr=Ra("deg"),qn=Ra("%"),we=Ra("px"),o3=Ra("vh"),a3=Ra("vw"),Tv={...qn,parse:t=>qn.parse(t)/100,transform:t=>qn.transform(t*100)},l3={borderWidth:we,borderTopWidth:we,borderRightWidth:we,borderBottomWidth:we,borderLeftWidth:we,borderRadius:we,radius:we,borderTopLeftRadius:we,borderTopRightRadius:we,borderBottomRightRadius:we,borderBottomLeftRadius:we,width:we,maxWidth:we,height:we,maxHeight:we,top:we,right:we,bottom:we,left:we,padding:we,paddingTop:we,paddingRight:we,paddingBottom:we,paddingLeft:we,margin:we,marginTop:we,marginRight:we,marginBottom:we,marginLeft:we,backgroundPositionX:we,backgroundPositionY:we},c3={rotate:Fr,rotateX:Fr,rotateY:Fr,rotateZ:Fr,scale:tc,scaleX:tc,scaleY:tc,scaleZ:tc,skew:Fr,skewX:Fr,skewY:Fr,distance:we,translateX:we,translateY:we,translateZ:we,x:we,y:we,z:we,perspective:we,transformPerspective:we,opacity:ga,originX:Tv,originY:Tv,originZ:we},Pv={...to,transform:Math.round},Yf={...l3,...c3,zIndex:Pv,size:we,fillOpacity:ga,strokeOpacity:ga,numOctaves:Pv},u3={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},d3=_a.length;function h3(t,e,n){let i="",o=!0;for(let c=0;c<d3;c++){const u=_a[c],h=t[u];if(h===void 0)continue;let p=!0;if(typeof h=="number"?p=h===(u.startsWith("scale")?1:0):p=parseFloat(h)===0,!p||n){const g=rw(h,Yf[u]);if(!p){o=!1;const y=u3[u]||u;i+=`${y}(${g}) `}n&&(e[u]=g)}}return i=i.trim(),n?i=n(e,o?"":i):o&&(i="none"),i}const sw=t=>e=>typeof e=="string"&&e.startsWith(t),iw=sw("--"),f3=sw("var(--"),Kf=t=>f3(t)?p3.test(t.split("/*")[0].trim()):!1,p3=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Gf(t,e,n){const{style:i,vars:o,transformOrigin:c}=t;let u=!1,h=!1;for(const p in e){const g=e[p];if(qs.has(p)){u=!0;continue}else if(iw(p)){o[p]=g;continue}else{const y=rw(g,Yf[p]);p.startsWith("origin")?(h=!0,c[p]=y):i[p]=y}}if(e.transform||(u||n?i.transform=h3(e,t.transform,n):i.transform&&(i.transform="none")),h){const{originX:p="50%",originY:g="50%",originZ:y=0}=c;i.transformOrigin=`${p} ${g} ${y}`}}function Av(t,e,n){return typeof t=="string"?t:we.transform(e+n*t)}function m3(t,e,n){const i=Av(e,t.x,t.width),o=Av(n,t.y,t.height);return`${i} ${o}`}const g3={offset:"stroke-dashoffset",array:"stroke-dasharray"},y3={offset:"strokeDashoffset",array:"strokeDasharray"};function v3(t,e,n=1,i=0,o=!0){t.pathLength=1;const c=o?g3:y3;t[c.offset]=we.transform(-i);const u=we.transform(e),h=we.transform(n);t[c.array]=`${u} ${h}`}function Qf(t,{attrX:e,attrY:n,attrScale:i,originX:o,originY:c,pathLength:u,pathSpacing:h=1,pathOffset:p=0,...g},y,v){if(Gf(t,g,v),y){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:b,style:S,dimensions:E}=t;b.transform&&(E&&(S.transform=b.transform),delete b.transform),E&&(o!==void 0||c!==void 0||S.transform)&&(S.transformOrigin=m3(E,o!==void 0?o:.5,c!==void 0?c:.5)),e!==void 0&&(b.x=e),n!==void 0&&(b.y=n),i!==void 0&&(b.scale=i),u!==void 0&&v3(b,u,h,p,!1)}const Xf=t=>typeof t=="string"&&t.toLowerCase()==="svg",x3={useVisualState:tw({scrapeMotionValuesFromProps:ew,createRenderState:nw,onMount:(t,e,{renderState:n,latestValues:i})=>{Ye.read(()=>{try{n.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),Ye.render(()=>{Qf(n,i,Xf(e.tagName),t.transformTemplate),Jb(e,n)})}})},b3={useVisualState:tw({scrapeMotionValuesFromProps:Wf,createRenderState:Hf})};function ow(t,e,n){for(const i in e)!It(e[i])&&!Zb(i,n)&&(t[i]=e[i])}function w3({transformTemplate:t},e){return A.useMemo(()=>{const n=Hf();return Gf(n,e,t),Object.assign({},n.vars,n.style)},[e])}function k3(t,e){const n=t.style||{},i={};return ow(i,n,t),Object.assign(i,w3(t,e)),i}function j3(t,e){const n={},i=k3(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 S3(t,e,n,i){const o=A.useMemo(()=>{const c=nw();return Qf(c,e,Xf(i),t.transformTemplate),{...c.attrs,style:{...c.style}}},[e]);if(t.style){const c={};ow(c,t.style,t),o.style={...c,...o.style}}return o}function N3(t=!1){return(n,i,o,{latestValues:c},u)=>{const p=($f(n)?S3:j3)(i,c,u,n),g=U4(i,typeof n=="string",t),y=n!==A.Fragment?{...g,...p,ref:o}:{},{children:v}=i,b=A.useMemo(()=>It(v)?v.get():v,[v]);return A.createElement(n,{...y,children:b})}}function C3(t,e){return function(i,{forwardMotionProps:o}={forwardMotionProps:!1}){const u={...$f(i)?x3:b3,preloadedFeatures:t,useRender:N3(o),createVisualElement:e,Component:i};return Q4(u)}}function aw(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 Uc(t,e,n){const i=t.getProps();return qf(i,e,n!==void 0?n:i.custom,t)}const E3=Df(()=>window.ScrollTimeline!==void 0);class T3{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(E3()&&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 P3 extends T3{then(e,n){return Promise.all(this.animations).then(e).catch(n)}}function Jf(t,e){return t?t[e]||t.default||t:void 0}const qh=2e4;function lw(t){let e=0;const n=50;let i=t.next(e);for(;!i.done&&e<qh;)e+=n,i=t.next(e);return e>=qh?1/0:e}function Zf(t){return typeof t=="function"}function _v(t,e){t.timeline=e,t.onfinish=null}const ep=t=>Array.isArray(t)&&typeof t[0]=="number",A3={linearEasing:void 0};function _3(t,e){const n=Df(t);return()=>{var i;return(i=A3[e])!==null&&i!==void 0?i:n()}}const Sc=_3(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),cw=(t,e,n=10)=>{let i="";const o=Math.max(Math.round(e/n),2);for(let c=0;c<o;c++)i+=t(qi(0,o-1,c))+", ";return`linear(${i.substring(0,i.length-2)})`};function uw(t){return!!(typeof t=="function"&&Sc()||!t||typeof t=="string"&&(t in Hh||Sc())||ep(t)||Array.isArray(t)&&t.every(uw))}const ta=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,Hh={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ta([0,.65,.55,1]),circOut:ta([.55,0,1,.45]),backIn:ta([.31,.01,.66,-.59]),backOut:ta([.33,1.53,.69,.99])};function dw(t,e){if(t)return typeof t=="function"&&Sc()?cw(t,e):ep(t)?ta(t):Array.isArray(t)?t.map(n=>dw(n,e)||Hh.easeOut):Hh[t]}const Tn={x:!1,y:!1};function hw(){return Tn.x||Tn.y}function R3(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 fw(t,e){const n=R3(t),i=new AbortController,o={passive:!0,...e,signal:i.signal};return[n,o,()=>i.abort()]}function Rv(t){return e=>{e.pointerType==="touch"||hw()||t(e)}}function O3(t,e,n={}){const[i,o,c]=fw(t,n),u=Rv(h=>{const{target:p}=h,g=e(h);if(typeof g!="function"||!p)return;const y=Rv(v=>{g(v),p.removeEventListener("pointerleave",y)});p.addEventListener("pointerleave",y,o)});return i.forEach(h=>{h.addEventListener("pointerenter",u,o)}),c}const pw=(t,e)=>e?t===e?!0:pw(t,e.parentElement):!1,tp=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,L3=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function I3(t){return L3.has(t.tagName)||t.tabIndex!==-1}const na=new WeakSet;function Ov(t){return e=>{e.key==="Enter"&&t(e)}}function th(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const B3=(t,e)=>{const n=t.currentTarget;if(!n)return;const i=Ov(()=>{if(na.has(n))return;th(n,"down");const o=Ov(()=>{th(n,"up")}),c=()=>th(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 Lv(t){return tp(t)&&!hw()}function D3(t,e,n={}){const[i,o,c]=fw(t,n),u=h=>{const p=h.currentTarget;if(!Lv(h)||na.has(p))return;na.add(p);const g=e(h),y=(S,E)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",b),!(!Lv(S)||!na.has(p))&&(na.delete(p),typeof g=="function"&&g(S,{success:E}))},v=S=>{y(S,n.useGlobalTarget||pw(p,S.target))},b=S=>{y(S,!1)};window.addEventListener("pointerup",v,o),window.addEventListener("pointercancel",b,o)};return i.forEach(h=>{!I3(h)&&h.getAttribute("tabindex")===null&&(h.tabIndex=0),(n.useGlobalTarget?window:h).addEventListener("pointerdown",u,o),h.addEventListener("focus",g=>B3(g,o),o)}),c}function F3(t){return t==="x"||t==="y"?Tn[t]?null:(Tn[t]=!0,()=>{Tn[t]=!1}):Tn.x||Tn.y?null:(Tn.x=Tn.y=!0,()=>{Tn.x=Tn.y=!1})}let pc;function M3(){pc=void 0}const Hn={now:()=>(pc===void 0&&Hn.set(Ct.isProcessing||I4.useManualTiming?Ct.timestamp:performance.now()),pc),set:t=>{pc=t,queueMicrotask(M3)}};function np(t,e){t.indexOf(e)===-1&&t.push(e)}function rp(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class sp{constructor(){this.subscriptions=[]}add(e){return np(this.subscriptions,e),()=>rp(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 mw(t,e){return e?t*(1e3/e):0}const Iv=30,V3=t=>!isNaN(parseFloat(t));class U3{constructor(e,n={}){this.version="11.16.4",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(i,o=!0)=>{const c=Hn.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=Hn.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=V3(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 sp);const i=this.events[e].add(n);return e==="change"?()=>{i(),Ye.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,n,i){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=Hn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Iv)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Iv);return mw(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 ya(t,e){return new U3(t,e)}function z3(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,ya(n))}function $3(t,e){const n=Uc(t,e);let{transitionEnd:i={},transition:o={},...c}=n||{};c={...c,...i};for(const u in c){const h=r3(c[u]);z3(t,u,h)}}function W3(t){return!!(It(t)&&t.add)}function Yh(t,e){const n=t.getValue("willChange");if(W3(n))return n.add(e)}function gw(t){return t.props[Yb]}const yw=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,q3=1e-7,H3=12;function Y3(t,e,n,i,o){let c,u,h=0;do u=e+(n-e)/2,c=yw(u,i,o)-t,c>0?n=u:e=u;while(Math.abs(c)>q3&&++h<H3);return u}function Oa(t,e,n,i){if(t===e&&n===i)return nn;const o=c=>Y3(c,0,1,t,n);return c=>c===0||c===1?c:yw(o(c),e,i)}const vw=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,xw=t=>e=>1-t(1-e),bw=Oa(.33,1.53,.69,.99),ip=xw(bw),ww=vw(ip),kw=t=>(t*=2)<1?.5*ip(t):.5*(2-Math.pow(2,-10*(t-1))),op=t=>1-Math.sin(Math.acos(t)),jw=xw(op),Sw=vw(op),Nw=t=>/^0[^.\s]+$/u.test(t);function K3(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Nw(t):!0}const Cw=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),G3=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Q3(t){const e=G3.exec(t);if(!e)return[,];const[,n,i,o]=e;return[`--${n??i}`,o]}function Ew(t,e,n=1){const[i,o]=Q3(t);if(!i)return;const c=window.getComputedStyle(e).getPropertyValue(i);if(c){const u=c.trim();return Cw(u)?parseFloat(u):u}return Kf(o)?Ew(o,e,n+1):o}const X3=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Bv=t=>t===to||t===we,Dv=(t,e)=>parseFloat(t.split(", ")[e]),Fv=(t,e)=>(n,{transform:i})=>{if(i==="none"||!i)return 0;const o=i.match(/^matrix3d\((.+)\)$/u);if(o)return Dv(o[1],e);{const c=i.match(/^matrix\((.+)\)$/u);return c?Dv(c[1],t):0}},J3=new Set(["x","y","z"]),Z3=_a.filter(t=>!J3.has(t));function e6(t){const e=[];return Z3.forEach(n=>{const i=t.getValue(n);i!==void 0&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}const Yi={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:Fv(4,13),y:Fv(5,14)};Yi.translateX=Yi.x;Yi.translateY=Yi.y;const Tw=t=>e=>e.test(t),t6={test:t=>t==="auto",parse:t=>t},Pw=[to,we,qn,Fr,a3,o3,t6],Mv=t=>Pw.find(Tw(t)),Fs=new Set;let Kh=!1,Gh=!1;function Aw(){if(Gh){const t=Array.from(Fs).filter(i=>i.needsMeasurement),e=new Set(t.map(i=>i.element)),n=new Map;e.forEach(i=>{const o=e6(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,Kh=!1,Fs.forEach(t=>t.complete()),Fs.clear()}function _w(){Fs.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Gh=!0)})}function n6(){_w(),Aw()}class ap{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?(Fs.add(this),Kh||(Kh=!0,Ye.read(_w),Ye.resolveKeyframes(Aw))):(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 p=i.readValue(n,h);p!=null&&(e[0]=p)}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),Fs.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Fs.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const oa=t=>Math.round(t*1e5)/1e5,lp=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function r6(t){return t==null}const s6=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,cp=(t,e)=>n=>!!(typeof n=="string"&&s6.test(n)&&n.startsWith(t)||e&&!r6(n)&&Object.prototype.hasOwnProperty.call(n,e)),Rw=(t,e,n)=>i=>{if(typeof i!="string")return i;const[o,c,u,h]=i.match(lp);return{[t]:parseFloat(o),[e]:parseFloat(c),[n]:parseFloat(u),alpha:h!==void 0?parseFloat(h):1}},i6=t=>hr(0,255,t),nh={...to,transform:t=>Math.round(i6(t))},Es={test:cp("rgb","red"),parse:Rw("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+nh.transform(t)+", "+nh.transform(e)+", "+nh.transform(n)+", "+oa(ga.transform(i))+")"};function o6(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 Qh={test:cp("#"),parse:o6,transform:Es.transform},Ni={test:cp("hsl","hue"),parse:Rw("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+qn.transform(oa(e))+", "+qn.transform(oa(n))+", "+oa(ga.transform(i))+")"},Lt={test:t=>Es.test(t)||Qh.test(t)||Ni.test(t),parse:t=>Es.test(t)?Es.parse(t):Ni.test(t)?Ni.parse(t):Qh.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Es.transform(t):Ni.transform(t)},a6=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function l6(t){var e,n;return isNaN(t)&&typeof t=="string"&&(((e=t.match(lp))===null||e===void 0?void 0:e.length)||0)+(((n=t.match(a6))===null||n===void 0?void 0:n.length)||0)>0}const Ow="number",Lw="color",c6="var",u6="var(",Vv="${}",d6=/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 va(t){const e=t.toString(),n=[],i={color:[],number:[],var:[]},o=[];let c=0;const h=e.replace(d6,p=>(Lt.test(p)?(i.color.push(c),o.push(Lw),n.push(Lt.parse(p))):p.startsWith(u6)?(i.var.push(c),o.push(c6),n.push(p)):(i.number.push(c),o.push(Ow),n.push(parseFloat(p))),++c,Vv)).split(Vv);return{values:n,split:h,indexes:i,types:o}}function Iw(t){return va(t).values}function Bw(t){const{split:e,types:n}=va(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===Ow?c+=oa(o[u]):h===Lw?c+=Lt.transform(o[u]):c+=o[u]}return c}}const h6=t=>typeof t=="number"?0:t;function f6(t){const e=Iw(t);return Bw(t)(e.map(h6))}const Zr={test:l6,parse:Iw,createTransformer:Bw,getAnimatableNone:f6},p6=new Set(["brightness","contrast","saturate","opacity"]);function m6(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[i]=n.match(lp)||[];if(!i)return t;const o=n.replace(i,"");let c=p6.has(e)?1:0;return i!==n&&(c*=100),e+"("+c+o+")"}const g6=/\b([a-z-]*)\(.*?\)/gu,Xh={...Zr,getAnimatableNone:t=>{const e=t.match(g6);return e?e.map(m6).join(" "):t}},y6={...Yf,color:Lt,backgroundColor:Lt,outlineColor:Lt,fill:Lt,stroke:Lt,borderColor:Lt,borderTopColor:Lt,borderRightColor:Lt,borderBottomColor:Lt,borderLeftColor:Lt,filter:Xh,WebkitFilter:Xh},up=t=>y6[t];function Dw(t,e){let n=up(t);return n!==Xh&&(n=Zr),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const v6=new Set(["auto","none","0"]);function x6(t,e,n){let i=0,o;for(;i<t.length&&!o;){const c=t[i];typeof c=="string"&&!v6.has(c)&&va(c).values.length&&(o=t[i]),i++}if(o&&n)for(const c of e)t[c]=Dw(n,o)}class Fw extends ap{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 p=0;p<e.length;p++){let g=e[p];if(typeof g=="string"&&(g=g.trim(),Kf(g))){const y=Ew(g,n.current);y!==void 0&&(e[p]=y),p===e.length-1&&(this.finalKeyframe=g)}}if(this.resolveNoneKeyframes(),!X3.has(i)||e.length!==2)return;const[o,c]=e,u=Mv(o),h=Mv(c);if(u!==h)if(Bv(u)&&Bv(h))for(let p=0;p<e.length;p++){const g=e[p];typeof g=="string"&&(e[p]=parseFloat(g))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:n}=this,i=[];for(let o=0;o<e.length;o++)K3(e[o])&&i.push(o);i.length&&x6(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=Yi[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]=Yi[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(([p,g])=>{n.getValue(p).set(g)}),this.resolveNoneKeyframes()}}const Uv=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Zr.test(t)||t==="0")&&!t.startsWith("url("));function b6(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 w6(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=Uv(o,e),h=Uv(c,e);return!u||!h?!1:b6(t)||(n==="spring"||Zf(n))&&i}const k6=t=>t!==null;function zc(t,{repeat:e,repeatType:n="loop"},i){const o=t.filter(k6),c=e&&n!=="loop"&&e%2===1?0:o.length-1;return!c||i===void 0?o[c]:i}const j6=40;class Mw{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=Hn.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>j6?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&n6(),this._resolved}onKeyframesResolved(e,n){this.resolvedAt=Hn.now(),this.hasAttemptedResolve=!0;const{name:i,type:o,velocity:c,delay:u,onComplete:h,onUpdate:p,isGenerator:g}=this.options;if(!g&&!w6(e,i,o,c))if(u)this.options.duration=0;else{p==null||p(zc(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 Je=(t,e,n)=>t+(e-t)*n;function rh(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 S6({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,p=2*n-h;o=rh(p,h,t+1/3),c=rh(p,h,t),u=rh(p,h,t-1/3)}return{red:Math.round(o*255),green:Math.round(c*255),blue:Math.round(u*255),alpha:i}}function Nc(t,e){return n=>n>0?e:t}const sh=(t,e,n)=>{const i=t*t,o=n*(e*e-i)+i;return o<0?0:Math.sqrt(o)},N6=[Qh,Es,Ni],C6=t=>N6.find(e=>e.test(t));function zv(t){const e=C6(t);if(!e)return!1;let n=e.parse(t);return e===Ni&&(n=S6(n)),n}const $v=(t,e)=>{const n=zv(t),i=zv(e);if(!n||!i)return Nc(t,e);const o={...n};return c=>(o.red=sh(n.red,i.red,c),o.green=sh(n.green,i.green,c),o.blue=sh(n.blue,i.blue,c),o.alpha=Je(n.alpha,i.alpha,c),Es.transform(o))},E6=(t,e)=>n=>e(t(n)),La=(...t)=>t.reduce(E6),Jh=new Set(["none","hidden"]);function T6(t,e){return Jh.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function P6(t,e){return n=>Je(t,e,n)}function dp(t){return typeof t=="number"?P6:typeof t=="string"?Kf(t)?Nc:Lt.test(t)?$v:R6:Array.isArray(t)?Vw:typeof t=="object"?Lt.test(t)?$v:A6:Nc}function Vw(t,e){const n=[...t],i=n.length,o=t.map((c,u)=>dp(c)(c,e[u]));return c=>{for(let u=0;u<i;u++)n[u]=o[u](c);return n}}function A6(t,e){const n={...t,...e},i={};for(const o in n)t[o]!==void 0&&e[o]!==void 0&&(i[o]=dp(t[o])(t[o],e[o]));return o=>{for(const c in i)n[c]=i[c](o);return n}}function _6(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]],p=(n=t.values[h])!==null&&n!==void 0?n:0;i[c]=p,o[u]++}return i}const R6=(t,e)=>{const n=Zr.createTransformer(e),i=va(t),o=va(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?Jh.has(t)&&!o.values.length||Jh.has(e)&&!i.values.length?T6(t,e):La(Vw(_6(i,o),o.values),n):Nc(t,e)};function Uw(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?Je(t,e,n):dp(t)(t,e)}const O6=5;function zw(t,e,n){const i=Math.max(e-O6,0);return mw(n-t(i),e-i)}const st={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},ih=.001;function L6({duration:t=st.duration,bounce:e=st.bounce,velocity:n=st.velocity,mass:i=st.mass}){let o,c,u=1-e;u=hr(st.minDamping,st.maxDamping,u),t=hr(st.minDuration,st.maxDuration,dr(t)),u<1?(o=g=>{const y=g*u,v=y*t,b=y-n,S=Zh(g,u),E=Math.exp(-v);return ih-b/S*E},c=g=>{const v=g*u*t,b=v*n+n,S=Math.pow(u,2)*Math.pow(g,2)*t,E=Math.exp(-v),N=Zh(Math.pow(g,2),u);return(-o(g)+ih>0?-1:1)*((b-S)*E)/N}):(o=g=>{const y=Math.exp(-g*t),v=(g-n)*t+1;return-ih+y*v},c=g=>{const y=Math.exp(-g*t),v=(n-g)*(t*t);return y*v});const h=5/t,p=B6(o,c,h);if(t=ur(t),isNaN(p))return{stiffness:st.stiffness,damping:st.damping,duration:t};{const g=Math.pow(p,2)*i;return{stiffness:g,damping:u*2*Math.sqrt(i*g),duration:t}}}const I6=12;function B6(t,e,n){let i=n;for(let o=1;o<I6;o++)i=i-t(i)/e(i);return i}function Zh(t,e){return t*Math.sqrt(1-e*e)}const D6=["duration","bounce"],F6=["stiffness","damping","mass"];function Wv(t,e){return e.some(n=>t[n]!==void 0)}function M6(t){let e={velocity:st.velocity,stiffness:st.stiffness,damping:st.damping,mass:st.mass,isResolvedFromDuration:!1,...t};if(!Wv(t,F6)&&Wv(t,D6))if(t.visualDuration){const n=t.visualDuration,i=2*Math.PI/(n*1.2),o=i*i,c=2*hr(.05,1,1-(t.bounce||0))*Math.sqrt(o);e={...e,mass:st.mass,stiffness:o,damping:c}}else{const n=L6(t);e={...e,...n,mass:st.mass},e.isResolvedFromDuration=!0}return e}function $w(t=st.visualDuration,e=st.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:p,damping:g,mass:y,duration:v,velocity:b,isResolvedFromDuration:S}=M6({...n,velocity:-dr(n.velocity||0)}),E=b||0,N=g/(2*Math.sqrt(p*y)),j=u-c,w=dr(Math.sqrt(p/y)),P=Math.abs(j)<5;i||(i=P?st.restSpeed.granular:st.restSpeed.default),o||(o=P?st.restDelta.granular:st.restDelta.default);let T;if(N<1){const U=Zh(w,N);T=q=>{const ne=Math.exp(-N*w*q);return u-ne*((E+N*w*j)/U*Math.sin(U*q)+j*Math.cos(U*q))}}else if(N===1)T=U=>u-Math.exp(-w*U)*(j+(E+w*j)*U);else{const U=w*Math.sqrt(N*N-1);T=q=>{const ne=Math.exp(-N*w*q),D=Math.min(U*q,300);return u-ne*((E+N*w*j)*Math.sinh(D)+U*j*Math.cosh(D))/U}}const O={calculatedDuration:S&&v||null,next:U=>{const q=T(U);if(S)h.done=U>=v;else{let ne=0;N<1&&(ne=U===0?ur(E):zw(T,U,q));const D=Math.abs(ne)<=i,H=Math.abs(u-q)<=o;h.done=D&&H}return h.value=h.done?u:q,h},toString:()=>{const U=Math.min(lw(O),qh),q=cw(ne=>O.next(U*ne).value,U,30);return U+"ms "+q}};return O}function qv({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:o=10,bounceStiffness:c=500,modifyTarget:u,min:h,max:p,restDelta:g=.5,restSpeed:y}){const v=t[0],b={done:!1,value:v},S=D=>h!==void 0&&D<h||p!==void 0&&D>p,E=D=>h===void 0?p:p===void 0||Math.abs(h-D)<Math.abs(p-D)?h:p;let N=n*e;const j=v+N,w=u===void 0?j:u(j);w!==j&&(N=w-v);const P=D=>-N*Math.exp(-D/i),T=D=>w+P(D),O=D=>{const H=P(D),G=T(D);b.done=Math.abs(H)<=g,b.value=b.done?w:G};let U,q;const ne=D=>{S(b.value)&&(U=D,q=$w({keyframes:[b.value,E(b.value)],velocity:zw(T,D,b.value),damping:o,stiffness:c,restDelta:g,restSpeed:y}))};return ne(0),{calculatedDuration:null,next:D=>{let H=!1;return!q&&U===void 0&&(H=!0,O(D),ne(D)),U!==void 0&&D>=U?q.next(D-U):(!H&&O(D),b)}}}const V6=Oa(.42,0,1,1),U6=Oa(0,0,.58,1),Ww=Oa(.42,0,.58,1),z6=t=>Array.isArray(t)&&typeof t[0]!="number",$6={linear:nn,easeIn:V6,easeInOut:Ww,easeOut:U6,circIn:op,circInOut:Sw,circOut:jw,backIn:ip,backInOut:ww,backOut:bw,anticipate:kw},Hv=t=>{if(ep(t)){Ub(t.length===4);const[e,n,i,o]=t;return Oa(e,n,i,o)}else if(typeof t=="string")return $6[t];return t};function W6(t,e,n){const i=[],o=n||Uw,c=t.length-1;for(let u=0;u<c;u++){let h=o(t[u],t[u+1]);if(e){const p=Array.isArray(e)?e[u]||nn:e;h=La(p,h)}i.push(h)}return i}function q6(t,e,{clamp:n=!0,ease:i,mixer:o}={}){const c=t.length;if(Ub(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=W6(e,i,o),h=u.length,p=g=>{let y=0;if(h>1)for(;y<t.length-2&&!(g<t[y+1]);y++);const v=qi(t[y],t[y+1],g);return u[y](v)};return n?g=>p(hr(t[0],t[c-1],g)):p}function H6(t,e){const n=t[t.length-1];for(let i=1;i<=e;i++){const o=qi(0,e,i);t.push(Je(n,1,o))}}function Y6(t){const e=[0];return H6(e,t.length-1),e}function K6(t,e){return t.map(n=>n*e)}function G6(t,e){return t.map(()=>e||Ww).splice(0,t.length-1)}function Cc({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){const o=z6(i)?i.map(Hv):Hv(i),c={done:!1,value:e[0]},u=K6(n&&n.length===e.length?n:Y6(e),t),h=q6(u,e,{ease:Array.isArray(o)?o:G6(e,o)});return{calculatedDuration:t,next:p=>(c.value=h(p),c.done=p>=t,c)}}const Q6=t=>{const e=({timestamp:n})=>t(n);return{start:()=>Ye.update(e,!0),stop:()=>Jr(e),now:()=>Ct.isProcessing?Ct.timestamp:Hn.now()}},X6={decay:qv,inertia:qv,tween:Cc,keyframes:Cc,spring:$w},J6=t=>t/100;class hp extends Mw{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:p}=this.options;p&&p()};const{name:n,motionValue:i,element:o,keyframes:c}=this.options,u=(o==null?void 0:o.KeyframeResolver)||ap,h=(p,g)=>this.onKeyframesResolved(p,g);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=Zf(n)?n:X6[n]||Cc;let p,g;h!==Cc&&typeof e[0]!="number"&&(p=La(J6,Uw(e[0],e[1])),e=[0,100]);const y=h({...this.options,keyframes:e});c==="mirror"&&(g=h({...this.options,keyframes:[...e].reverse(),velocity:-u})),y.calculatedDuration===null&&(y.calculatedDuration=lw(y));const{calculatedDuration:v}=y,b=v+o,S=b*(i+1)-o;return{generator:y,mirroredGenerator:g,mapPercentToKeyframes:p,calculatedDuration:v,resolvedDuration:b,totalDuration:S}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,n=!1){const{resolved:i}=this;if(!i){const{keyframes:D}=this.options;return{done:!0,value:D[D.length-1]}}const{finalKeyframe:o,generator:c,mirroredGenerator:u,mapPercentToKeyframes:h,keyframes:p,calculatedDuration:g,totalDuration:y,resolvedDuration:v}=i;if(this.startTime===null)return c.next(0);const{delay:b,repeat:S,repeatType:E,repeatDelay:N,onUpdate:j}=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 w=this.currentTime-b*(this.speed>=0?1:-1),P=this.speed>=0?w<0:w>y;this.currentTime=Math.max(w,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=y);let T=this.currentTime,O=c;if(S){const D=Math.min(this.currentTime,y)/v;let H=Math.floor(D),G=D%1;!G&&D>=1&&(G=1),G===1&&H--,H=Math.min(H,S+1),!!(H%2)&&(E==="reverse"?(G=1-G,N&&(G-=N/v)):E==="mirror"&&(O=u)),T=hr(0,1,G)*v}const U=P?{done:!1,value:p[0]}:O.next(T);h&&(U.value=h(U.value));let{done:q}=U;!P&&g!==null&&(q=this.speed>=0?this.currentTime>=y:this.currentTime<=0);const ne=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&q);return ne&&o!==void 0&&(U.value=zc(p,this.options,o)),j&&j(U.value),ne&&this.finish(),U}get duration(){const{resolved:e}=this;return e?dr(e.calculatedDuration):0}get time(){return dr(this.currentTime)}set time(e){e=ur(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=dr(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:e=Q6,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 Z6=new Set(["opacity","clipPath","filter","transform"]);function eP(t,e,n,{delay:i=0,duration:o=300,repeat:c=0,repeatType:u="loop",ease:h="easeInOut",times:p}={}){const g={[e]:n};p&&(g.offset=p);const y=dw(h,o);return Array.isArray(y)&&(g.easing=y),t.animate(g,{delay:i,duration:o,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:c+1,direction:u==="reverse"?"alternate":"normal"})}const tP=Df(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Ec=10,nP=2e4;function rP(t){return Zf(t.type)||t.type==="spring"||!uw(t.ease)}function sP(t,e){const n=new hp({...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<nP;)i=n.sample(c),o.push(i.value),c+=Ec;return{times:void 0,keyframes:o,duration:c-Ec,ease:"linear"}}const qw={anticipate:kw,backInOut:ww,circInOut:Sw};function iP(t){return t in qw}class Yv extends Mw{constructor(e){super(e);const{name:n,motionValue:i,element:o,keyframes:c}=this.options;this.resolver=new Fw(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:p,name:g,startTime:y}=this.options;if(!(!((i=p.owner)===null||i===void 0)&&i.current))return!1;if(typeof u=="string"&&Sc()&&iP(u)&&(u=qw[u]),rP(this.options)){const{onComplete:b,onUpdate:S,motionValue:E,element:N,...j}=this.options,w=sP(e,j);e=w.keyframes,e.length===1&&(e[1]=e[0]),o=w.duration,c=w.times,u=w.ease,h="keyframes"}const v=eP(p.owner.current,g,e,{...this.options,duration:o,times:c,ease:u});return v.startTime=y??this.calcStartTime(),this.pendingTimeline?(_v(v,this.pendingTimeline),this.pendingTimeline=void 0):v.onfinish=()=>{const{onComplete:b}=this.options;p.set(zc(e,this.options,n)),b&&b(),this.cancel(),this.resolveFinishedPromise()},{animation:v,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 dr(n)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:n}=e;return dr(n.currentTime||0)}set time(e){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.currentTime=ur(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 nn;const{animation:i}=n;_v(i,e)}return nn}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:g,onUpdate:y,onComplete:v,element:b,...S}=this.options,E=new hp({...S,keyframes:i,duration:o,type:c,ease:u,times:h,isGenerator:!0}),N=ur(this.time);g.setWithVelocity(E.sample(N-Ec).value,E.sample(N).value,Ec)}const{onStop:p}=this.options;p&&p(),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 tP()&&i&&Z6.has(i)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!o&&c!=="mirror"&&u!==0&&h!=="inertia"}}const oP={type:"spring",stiffness:500,damping:25,restSpeed:10},aP=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),lP={type:"keyframes",duration:.8},cP={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},uP=(t,{keyframes:e})=>e.length>2?lP:qs.has(t)?t.startsWith("scale")?aP(e[1]):oP:cP;function dP({when:t,delay:e,delayChildren:n,staggerChildren:i,staggerDirection:o,repeat:c,repeatType:u,repeatDelay:h,from:p,elapsed:g,...y}){return!!Object.keys(y).length}const fp=(t,e,n,i={},o,c)=>u=>{const h=Jf(i,t)||{},p=h.delay||i.delay||0;let{elapsed:g=0}=i;g=g-ur(p);let y={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...h,delay:-g,onUpdate:b=>{e.set(b),h.onUpdate&&h.onUpdate(b)},onComplete:()=>{u(),h.onComplete&&h.onComplete()},name:t,motionValue:e,element:c?void 0:o};dP(h)||(y={...y,...uP(t,y)}),y.duration&&(y.duration=ur(y.duration)),y.repeatDelay&&(y.repeatDelay=ur(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let v=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(y.duration=0,y.delay===0&&(v=!0)),v&&!c&&e.get()!==void 0){const b=zc(y.keyframes,h);if(b!==void 0)return Ye.update(()=>{y.onUpdate(b),y.onComplete()}),new P3([])}return!c&&Yv.supports(y)?new Yv(y):new hp(y)};function hP({protectedKeys:t,needsAnimating:e},n){const i=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,i}function Hw(t,e,{delay:n=0,transitionOverride:i,type:o}={}){var c;let{transition:u=t.getDefaultTransition(),transitionEnd:h,...p}=e;i&&(u=i);const g=[],y=o&&t.animationState&&t.animationState.getState()[o];for(const v in p){const b=t.getValue(v,(c=t.latestValues[v])!==null&&c!==void 0?c:null),S=p[v];if(S===void 0||y&&hP(y,v))continue;const E={delay:n,...Jf(u||{},v)};let N=!1;if(window.MotionHandoffAnimation){const w=gw(t);if(w){const P=window.MotionHandoffAnimation(w,v,Ye);P!==null&&(E.startTime=P,N=!0)}}Yh(t,v),b.start(fp(v,b,S,t.shouldReduceMotion&&qs.has(v)?{type:!1}:E,t,N));const j=b.animation;j&&g.push(j)}return h&&Promise.all(g).then(()=>{Ye.update(()=>{h&&$3(t,h)})}),g}function ef(t,e,n={}){var i;const o=Uc(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(Hw(t,o,n)):()=>Promise.resolve(),h=t.variantChildren&&t.variantChildren.size?(g=0)=>{const{delayChildren:y=0,staggerChildren:v,staggerDirection:b}=c;return fP(t,e,y+g,v,b,n)}:()=>Promise.resolve(),{when:p}=c;if(p){const[g,y]=p==="beforeChildren"?[u,h]:[h,u];return g().then(()=>y())}else return Promise.all([u(),h(n.delay)])}function fP(t,e,n=0,i=0,o=1,c){const u=[],h=(t.variantChildren.size-1)*i,p=o===1?(g=0)=>g*i:(g=0)=>h-g*i;return Array.from(t.variantChildren).sort(pP).forEach((g,y)=>{g.notify("AnimationStart",e),u.push(ef(g,e,{...c,delay:n+p(y)}).then(()=>g.notify("AnimationComplete",e)))}),Promise.all(u)}function pP(t,e){return t.sortNodePosition(e)}function mP(t,e,n={}){t.notify("AnimationStart",e);let i;if(Array.isArray(e)){const o=e.map(c=>ef(t,c,n));i=Promise.all(o)}else if(typeof e=="string")i=ef(t,e,n);else{const o=typeof e=="function"?Uc(t,e,n.custom):e;i=Promise.all(Hw(t,o,n))}return i.then(()=>{t.notify("AnimationComplete",e)})}const gP=Vf.length;function Yw(t){if(!t)return;if(!t.isControllingVariants){const n=t.parent?Yw(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}const e={};for(let n=0;n<gP;n++){const i=Vf[n],o=t.props[i];(ma(o)||o===!1)&&(e[i]=o)}return e}const yP=[...Mf].reverse(),vP=Mf.length;function xP(t){return e=>Promise.all(e.map(({animation:n,options:i})=>mP(t,n,i)))}function bP(t){let e=xP(t),n=Kv(),i=!0;const o=p=>(g,y)=>{var v;const b=Uc(t,y,p==="exit"?(v=t.presenceContext)===null||v===void 0?void 0:v.custom:void 0);if(b){const{transition:S,transitionEnd:E,...N}=b;g={...g,...N,...E}}return g};function c(p){e=p(t)}function u(p){const{props:g}=t,y=Yw(t.parent)||{},v=[],b=new Set;let S={},E=1/0;for(let j=0;j<vP;j++){const w=yP[j],P=n[w],T=g[w]!==void 0?g[w]:y[w],O=ma(T),U=w===p?P.isActive:null;U===!1&&(E=j);let q=T===y[w]&&T!==g[w]&&O;if(q&&i&&t.manuallyAnimateOnMount&&(q=!1),P.protectedKeys={...S},!P.isActive&&U===null||!T&&!P.prevProp||Mc(T)||typeof T=="boolean")continue;const ne=wP(P.prevProp,T);let D=ne||w===p&&P.isActive&&!q&&O||j>E&&O,H=!1;const G=Array.isArray(T)?T:[T];let Q=G.reduce(o(w),{});U===!1&&(Q={});const{prevResolvedValues:$={}}=P,de={...$,...Q},Ne=pe=>{D=!0,b.has(pe)&&(H=!0,b.delete(pe)),P.needsAnimating[pe]=!0;const z=t.getValue(pe);z&&(z.liveStyle=!1)};for(const pe in de){const z=Q[pe],he=$[pe];if(S.hasOwnProperty(pe))continue;let Z=!1;Wh(z)&&Wh(he)?Z=!aw(z,he):Z=z!==he,Z?z!=null?Ne(pe):b.add(pe):z!==void 0&&b.has(pe)?Ne(pe):P.protectedKeys[pe]=!0}P.prevProp=T,P.prevResolvedValues=Q,P.isActive&&(S={...S,...Q}),i&&t.blockInitialAnimation&&(D=!1),D&&(!(q&&ne)||H)&&v.push(...G.map(pe=>({animation:pe,options:{type:w}})))}if(b.size){const j={};b.forEach(w=>{const P=t.getBaseTarget(w),T=t.getValue(w);T&&(T.liveStyle=!0),j[w]=P??null}),v.push({animation:j})}let N=!!v.length;return i&&(g.initial===!1||g.initial===g.animate)&&!t.manuallyAnimateOnMount&&(N=!1),i=!1,N?e(v):Promise.resolve()}function h(p,g){var y;if(n[p].isActive===g)return Promise.resolve();(y=t.variantChildren)===null||y===void 0||y.forEach(b=>{var S;return(S=b.animationState)===null||S===void 0?void 0:S.setActive(p,g)}),n[p].isActive=g;const v=u(p);for(const b in n)n[b].protectedKeys={};return v}return{animateChanges:u,setActive:h,setAnimateFunction:c,getState:()=>n,reset:()=>{n=Kv(),i=!0}}}function wP(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!aw(e,t):!1}function ys(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Kv(){return{animate:ys(!0),whileInView:ys(),whileHover:ys(),whileTap:ys(),whileDrag:ys(),whileFocus:ys(),exit:ys()}}class es{constructor(e){this.isMounted=!1,this.node=e}update(){}}class kP extends es{constructor(e){super(e),e.animationState||(e.animationState=bP(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();Mc(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 jP=0;class SP extends es{constructor(){super(...arguments),this.id=jP++}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 NP={animation:{Feature:kP},exit:{Feature:SP}};function xa(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}function Ia(t){return{point:{x:t.pageX,y:t.pageY}}}const CP=t=>e=>tp(e)&&t(e,Ia(e));function aa(t,e,n,i){return xa(t,e,CP(n),i)}const Gv=(t,e)=>Math.abs(t-e);function EP(t,e){const n=Gv(t.x,e.x),i=Gv(t.y,e.y);return Math.sqrt(n**2+i**2)}class Kw{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 v=ah(this.lastMoveEventInfo,this.history),b=this.startEvent!==null,S=EP(v.offset,{x:0,y:0})>=3;if(!b&&!S)return;const{point:E}=v,{timestamp:N}=Ct;this.history.push({...E,timestamp:N});const{onStart:j,onMove:w}=this.handlers;b||(j&&j(this.lastMoveEvent,v),this.startEvent=this.lastMoveEvent),w&&w(this.lastMoveEvent,v)},this.handlePointerMove=(v,b)=>{this.lastMoveEvent=v,this.lastMoveEventInfo=oh(b,this.transformPagePoint),Ye.update(this.updatePoint,!0)},this.handlePointerUp=(v,b)=>{this.end();const{onEnd:S,onSessionEnd:E,resumeAnimation:N}=this.handlers;if(this.dragSnapToOrigin&&N&&N(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const j=ah(v.type==="pointercancel"?this.lastMoveEventInfo:oh(b,this.transformPagePoint),this.history);this.startEvent&&S&&S(v,j),E&&E(v,j)},!tp(e))return;this.dragSnapToOrigin=c,this.handlers=n,this.transformPagePoint=i,this.contextWindow=o||window;const u=Ia(e),h=oh(u,this.transformPagePoint),{point:p}=h,{timestamp:g}=Ct;this.history=[{...p,timestamp:g}];const{onSessionStart:y}=n;y&&y(e,ah(h,this.history)),this.removeListeners=La(aa(this.contextWindow,"pointermove",this.handlePointerMove),aa(this.contextWindow,"pointerup",this.handlePointerUp),aa(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Jr(this.updatePoint)}}function oh(t,e){return e?{point:e(t.point)}:t}function Qv(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ah({point:t},e){return{point:t,delta:Qv(t,Gw(e)),offset:Qv(t,TP(e)),velocity:PP(e,.1)}}function TP(t){return t[0]}function Gw(t){return t[t.length-1]}function PP(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null;const o=Gw(t);for(;n>=0&&(i=t[n],!(o.timestamp-i.timestamp>ur(e)));)n--;if(!i)return{x:0,y:0};const c=dr(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 Qw=1e-4,AP=1-Qw,_P=1+Qw,Xw=.01,RP=0-Xw,OP=0+Xw;function rn(t){return t.max-t.min}function LP(t,e,n){return Math.abs(t-e)<=n}function Xv(t,e,n,i=.5){t.origin=i,t.originPoint=Je(e.min,e.max,t.origin),t.scale=rn(n)/rn(e),t.translate=Je(n.min,n.max,t.origin)-t.originPoint,(t.scale>=AP&&t.scale<=_P||isNaN(t.scale))&&(t.scale=1),(t.translate>=RP&&t.translate<=OP||isNaN(t.translate))&&(t.translate=0)}function la(t,e,n,i){Xv(t.x,e.x,n.x,i?i.originX:void 0),Xv(t.y,e.y,n.y,i?i.originY:void 0)}function Jv(t,e,n){t.min=n.min+e.min,t.max=t.min+rn(e)}function IP(t,e,n){Jv(t.x,e.x,n.x),Jv(t.y,e.y,n.y)}function Zv(t,e,n){t.min=e.min-n.min,t.max=t.min+rn(e)}function ca(t,e,n){Zv(t.x,e.x,n.x),Zv(t.y,e.y,n.y)}function BP(t,{min:e,max:n},i){return e!==void 0&&t<e?t=i?Je(e,t,i.min):Math.max(t,e):n!==void 0&&t>n&&(t=i?Je(n,t,i.max):Math.min(t,n)),t}function ex(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 DP(t,{top:e,left:n,bottom:i,right:o}){return{x:ex(t.x,n,o),y:ex(t.y,e,i)}}function tx(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 FP(t,e){return{x:tx(t.x,e.x),y:tx(t.y,e.y)}}function MP(t,e){let n=.5;const i=rn(t),o=rn(e);return o>i?n=qi(e.min,e.max-i,t.min):i>o&&(n=qi(t.min,t.max-o,e.min)),hr(0,1,n)}function VP(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 tf=.35;function UP(t=tf){return t===!1?t=0:t===!0&&(t=tf),{x:nx(t,"left","right"),y:nx(t,"top","bottom")}}function nx(t,e,n){return{min:rx(t,e),max:rx(t,n)}}function rx(t,e){return typeof t=="number"?t:t[e]||0}const sx=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ci=()=>({x:sx(),y:sx()}),ix=()=>({min:0,max:0}),at=()=>({x:ix(),y:ix()});function pn(t){return[t("x"),t("y")]}function Jw({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function zP({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function $P(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 lh(t){return t===void 0||t===1}function nf({scale:t,scaleX:e,scaleY:n}){return!lh(t)||!lh(e)||!lh(n)}function bs(t){return nf(t)||Zw(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Zw(t){return ox(t.x)||ox(t.y)}function ox(t){return t&&t!=="0%"}function Tc(t,e,n){const i=t-n,o=e*i;return n+o}function ax(t,e,n,i,o){return o!==void 0&&(t=Tc(t,o,i)),Tc(t,n,i)+e}function rf(t,e=0,n=1,i,o){t.min=ax(t.min,e,n,i,o),t.max=ax(t.max,e,n,i,o)}function e1(t,{x:e,y:n}){rf(t.x,e.translate,e.scale,e.originPoint),rf(t.y,n.translate,n.scale,n.originPoint)}const lx=.999999999999,cx=1.0000000000001;function WP(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:p}=c.options;p&&p.props.style&&p.props.style.display==="contents"||(i&&c.options.layoutScroll&&c.scroll&&c!==c.root&&Ti(t,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),u&&(e.x*=u.x.scale,e.y*=u.y.scale,e1(t,u)),i&&bs(c.latestValues)&&Ti(t,c.latestValues))}e.x<cx&&e.x>lx&&(e.x=1),e.y<cx&&e.y>lx&&(e.y=1)}function Ei(t,e){t.min=t.min+e,t.max=t.max+e}function ux(t,e,n,i,o=.5){const c=Je(t.min,t.max,o);rf(t,e,n,c,i)}function Ti(t,e){ux(t.x,e.x,e.scaleX,e.scale,e.originX),ux(t.y,e.y,e.scaleY,e.scale,e.originY)}function t1(t,e){return Jw($P(t.getBoundingClientRect(),e))}function qP(t,e,n){const i=t1(t,n),{scroll:o}=e;return o&&(Ei(i.x,o.offset.x),Ei(i.y,o.offset.y)),i}const n1=({current:t})=>t?t.ownerDocument.defaultView:null,HP=new WeakMap;class YP{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=at(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const o=y=>{const{dragSnapToOrigin:v}=this.getProps();v?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Ia(y).point)},c=(y,v)=>{const{drag:b,dragPropagation:S,onDragStart:E}=this.getProps();if(b&&!S&&(this.openDragLock&&this.openDragLock(),this.openDragLock=F3(b),!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),pn(j=>{let w=this.getAxisMotionValue(j).get()||0;if(qn.test(w)){const{projection:P}=this.visualElement;if(P&&P.layout){const T=P.layout.layoutBox[j];T&&(w=rn(T)*(parseFloat(w)/100))}}this.originPoint[j]=w}),E&&Ye.postRender(()=>E(y,v)),Yh(this.visualElement,"transform");const{animationState:N}=this.visualElement;N&&N.setActive("whileDrag",!0)},u=(y,v)=>{const{dragPropagation:b,dragDirectionLock:S,onDirectionLock:E,onDrag:N}=this.getProps();if(!b&&!this.openDragLock)return;const{offset:j}=v;if(S&&this.currentDirection===null){this.currentDirection=KP(j),this.currentDirection!==null&&E&&E(this.currentDirection);return}this.updateAxis("x",v.point,j),this.updateAxis("y",v.point,j),this.visualElement.render(),N&&N(y,v)},h=(y,v)=>this.stop(y,v),p=()=>pn(y=>{var v;return this.getAnimationState(y)==="paused"&&((v=this.getAxisMotionValue(y).animation)===null||v===void 0?void 0:v.play())}),{dragSnapToOrigin:g}=this.getProps();this.panSession=new Kw(e,{onSessionStart:o,onStart:c,onMove:u,onSessionEnd:h,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,contextWindow:n1(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&&Ye.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||!nc(e,o,this.currentDirection))return;const c=this.getAxisMotionValue(e);let u=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(u=BP(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&&Si(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=DP(o.layoutBox,n):this.constraints=!1,this.elastic=UP(i),c!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&pn(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=VP(o.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!Si(e))return!1;const i=e.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const c=qP(i,o.root,this.visualElement.getTransformPagePoint());let u=FP(o.layout.layoutBox,c);if(n){const h=n(zP(u));this.hasMutatedConstraints=!!h,h&&(u=Jw(h))}return u}startAnimation(e){const{drag:n,dragMomentum:i,dragElastic:o,dragTransition:c,dragSnapToOrigin:u,onDragTransitionEnd:h}=this.getProps(),p=this.constraints||{},g=pn(y=>{if(!nc(y,n,this.currentDirection))return;let v=p&&p[y]||{};u&&(v={min:0,max:0});const b=o?200:1e6,S=o?40:1e7,E={type:"inertia",velocity:i?e[y]:0,bounceStiffness:b,bounceDamping:S,timeConstant:750,restDelta:1,restSpeed:10,...c,...v};return this.startAxisValueAnimation(y,E)});return Promise.all(g).then(h)}startAxisValueAnimation(e,n){const i=this.getAxisMotionValue(e);return Yh(this.visualElement,e),i.start(fp(e,i,0,n,this.visualElement,!1))}stopAnimation(){pn(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){pn(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){pn(n=>{const{drag:i}=this.getProps();if(!nc(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]-Je(u,h,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:i}=this.visualElement;if(!Si(n)||!i||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};pn(u=>{const h=this.getAxisMotionValue(u);if(h&&this.constraints!==!1){const p=h.get();o[u]=MP({min:p,max:p},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(),pn(u=>{if(!nc(u,e,null))return;const h=this.getAxisMotionValue(u),{min:p,max:g}=this.constraints[u];h.set(Je(p,g,o[u]))})}addListeners(){if(!this.visualElement.current)return;HP.set(this.visualElement,this);const e=this.visualElement.current,n=aa(e,"pointerdown",p=>{const{drag:g,dragListener:y=!0}=this.getProps();g&&y&&this.start(p)}),i=()=>{const{dragConstraints:p}=this.getProps();Si(p)&&p.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,c=o.addEventListener("measure",i);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),Ye.read(i);const u=xa(window,"resize",()=>this.scalePositionWithinConstraints()),h=o.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:g})=>{this.isDragging&&g&&(pn(y=>{const v=this.getAxisMotionValue(y);v&&(this.originPoint[y]+=p[y].translate,v.set(v.get()+p[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=tf,dragMomentum:h=!0}=e;return{...e,drag:n,dragDirectionLock:i,dragPropagation:o,dragConstraints:c,dragElastic:u,dragMomentum:h}}}function nc(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function KP(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class GP extends es{constructor(e){super(e),this.removeGroupControls=nn,this.removeListeners=nn,this.controls=new YP(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||nn}unmount(){this.removeGroupControls(),this.removeListeners()}}const dx=t=>(e,n)=>{t&&Ye.postRender(()=>t(e,n))};class QP extends es{constructor(){super(...arguments),this.removePointerDownListener=nn}onPointerDown(e){this.session=new Kw(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:n1(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:i,onPanEnd:o}=this.node.getProps();return{onSessionStart:dx(e),onStart:dx(n),onMove:i,onEnd:(c,u)=>{delete this.session,o&&Ye.postRender(()=>o(c,u))}}}mount(){this.removePointerDownListener=aa(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 XP(){const t=A.useContext(Bc);if(t===null)return[!0,null];const{isPresent:e,onExitComplete:n,register:i}=t,o=A.useId();A.useEffect(()=>i(o),[]);const c=A.useCallback(()=>n&&n(o),[o,n]);return!e&&n?[!1,c]:[!0]}const mc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function hx(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Ko={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(we.test(t))t=parseFloat(t);else return t;const n=hx(t,e.target.x),i=hx(t,e.target.y);return`${n}% ${i}%`}},JP={correct:(t,{treeScale:e,projectionDelta:n})=>{const i=t,o=Zr.parse(t);if(o.length>5)return i;const c=Zr.createTransformer(t),u=typeof o[0]!="number"?1:0,h=n.x.scale*e.x,p=n.y.scale*e.y;o[0+u]/=h,o[1+u]/=p;const g=Je(h,p,.5);return typeof o[2+u]=="number"&&(o[2+u]/=g),typeof o[3+u]=="number"&&(o[3+u]/=g),c(o)}};class ZP extends A.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:i,layoutId:o}=this.props,{projection:c}=e;t3(eA),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()})),mc.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()||Ye.postRender(()=>{const h=u.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),zf.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 r1(t){const[e,n]=XP(),i=A.useContext(Bf);return l.jsx(ZP,{...t,layoutGroup:i,switchLayoutGroup:A.useContext(Kb),isPresent:e,safeToRemove:n})}const eA={borderRadius:{...Ko,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ko,borderTopRightRadius:Ko,borderBottomLeftRadius:Ko,borderBottomRightRadius:Ko,boxShadow:JP};function tA(t,e,n){const i=It(t)?t:ya(t);return i.start(fp("",i,e,n)),i.animation}function nA(t){return t instanceof SVGElement&&t.tagName!=="svg"}const rA=(t,e)=>t.depth-e.depth;class sA{constructor(){this.children=[],this.isDirty=!1}add(e){np(this.children,e),this.isDirty=!0}remove(e){rp(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(rA),this.isDirty=!1,this.children.forEach(e)}}function iA(t,e){const n=Hn.now(),i=({timestamp:o})=>{const c=o-n;c>=e&&(Jr(i),t(c-e))};return Ye.read(i,!0),()=>Jr(i)}const s1=["TopLeft","TopRight","BottomLeft","BottomRight"],oA=s1.length,fx=t=>typeof t=="string"?parseFloat(t):t,px=t=>typeof t=="number"||we.test(t);function aA(t,e,n,i,o,c){o?(t.opacity=Je(0,n.opacity!==void 0?n.opacity:1,lA(i)),t.opacityExit=Je(e.opacity!==void 0?e.opacity:1,0,cA(i))):c&&(t.opacity=Je(e.opacity!==void 0?e.opacity:1,n.opacity!==void 0?n.opacity:1,i));for(let u=0;u<oA;u++){const h=`border${s1[u]}Radius`;let p=mx(e,h),g=mx(n,h);if(p===void 0&&g===void 0)continue;p||(p=0),g||(g=0),p===0||g===0||px(p)===px(g)?(t[h]=Math.max(Je(fx(p),fx(g),i),0),(qn.test(g)||qn.test(p))&&(t[h]+="%")):t[h]=g}(e.rotate||n.rotate)&&(t.rotate=Je(e.rotate||0,n.rotate||0,i))}function mx(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const lA=i1(0,.5,jw),cA=i1(.5,.95,nn);function i1(t,e,n){return i=>i<t?0:i>e?1:n(qi(t,e,i))}function gx(t,e){t.min=e.min,t.max=e.max}function fn(t,e){gx(t.x,e.x),gx(t.y,e.y)}function yx(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function vx(t,e,n,i,o){return t-=e,t=Tc(t,1/n,i),o!==void 0&&(t=Tc(t,1/o,i)),t}function uA(t,e=0,n=1,i=.5,o,c=t,u=t){if(qn.test(e)&&(e=parseFloat(e),e=Je(u.min,u.max,e/100)-u.min),typeof e!="number")return;let h=Je(c.min,c.max,i);t===c&&(h-=e),t.min=vx(t.min,e,n,h,o),t.max=vx(t.max,e,n,h,o)}function xx(t,e,[n,i,o],c,u){uA(t,e[n],e[i],e[o],e.scale,c,u)}const dA=["x","scaleX","originX"],hA=["y","scaleY","originY"];function bx(t,e,n,i){xx(t.x,e,dA,n?n.x:void 0,i?i.x:void 0),xx(t.y,e,hA,n?n.y:void 0,i?i.y:void 0)}function wx(t){return t.translate===0&&t.scale===1}function o1(t){return wx(t.x)&&wx(t.y)}function kx(t,e){return t.min===e.min&&t.max===e.max}function fA(t,e){return kx(t.x,e.x)&&kx(t.y,e.y)}function jx(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function a1(t,e){return jx(t.x,e.x)&&jx(t.y,e.y)}function Sx(t){return rn(t.x)/rn(t.y)}function Nx(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class pA{constructor(){this.members=[]}add(e){np(this.members,e),e.scheduleRender()}remove(e){if(rp(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 mA(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:g,rotate:y,rotateX:v,rotateY:b,skewX:S,skewY:E}=n;g&&(i=`perspective(${g}px) ${i}`),y&&(i+=`rotate(${y}deg) `),v&&(i+=`rotateX(${v}deg) `),b&&(i+=`rotateY(${b}deg) `),S&&(i+=`skewX(${S}deg) `),E&&(i+=`skewY(${E}deg) `)}const h=t.x.scale*e.x,p=t.y.scale*e.y;return(h!==1||p!==1)&&(i+=`scale(${h}, ${p})`),i||"none"}const ws={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},ra=typeof window<"u"&&window.MotionDebug!==void 0,ch=["","X","Y","Z"],gA={visibility:"hidden"},Cx=1e3;let yA=0;function uh(t,e,n,i){const{latestValues:o}=e;o[t]&&(n[t]=o[t],e.setStaticValue(t,0),i&&(i[t]=0))}function l1(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=gw(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:c}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",Ye,!(o||c))}const{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&l1(i)}function c1({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:o}){return class{constructor(u={},h=e==null?void 0:e()){this.id=yA++,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,ra&&(ws.totalNodes=ws.resolvedTargetDeltas=ws.recalculatedProjection=0),this.nodes.forEach(bA),this.nodes.forEach(NA),this.nodes.forEach(CA),this.nodes.forEach(wA),ra&&window.MotionDebug.record(ws)},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 p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new sA)}addEventListener(u,h){return this.eventHandlers.has(u)||this.eventHandlers.set(u,new sp),this.eventHandlers.get(u).add(h)}notifyListeners(u,...h){const p=this.eventHandlers.get(u);p&&p.notify(...h)}hasListeners(u){return this.eventHandlers.has(u)}mount(u,h=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=nA(u),this.instance=u;const{layoutId:p,layout:g,visualElement:y}=this.options;if(y&&!y.current&&y.mount(u),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),h&&(g||p)&&(this.isLayoutDirty=!0),t){let v;const b=()=>this.root.updateBlockedByResize=!1;t(u,()=>{this.root.updateBlockedByResize=!0,v&&v(),v=iA(b,250),mc.hasAnimatedSinceResize&&(mc.hasAnimatedSinceResize=!1,this.nodes.forEach(Tx))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&y&&(p||g)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:b,hasRelativeTargetChanged:S,layout:E})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const N=this.options.transition||y.getDefaultTransition()||_A,{onLayoutAnimationStart:j,onLayoutAnimationComplete:w}=y.getProps(),P=!this.targetLayout||!a1(this.targetLayout,E)||S,T=!b&&S;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||T||b&&(P||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(v,T);const O={...Jf(N,"layout"),onPlay:j,onComplete:w};(y.shouldReduceMotion||this.options.layoutRoot)&&(O.delay=0,O.type=!1),this.startAnimation(O)}else b||Tx(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=E})}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,Jr(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(EA),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&&l1(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const v=this.path[y];v.shouldResetTransform=!0,v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:h,layout:p}=this.options;if(h===void 0&&!p)return;const g=this.getTransformTemplate();this.prevTransformTemplateValue=g?g(this.latestValues,""):void 0,this.updateSnapshot(),u&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Ex);return}this.isUpdating||this.nodes.forEach(jA),this.isUpdating=!1,this.nodes.forEach(SA),this.nodes.forEach(vA),this.nodes.forEach(xA),this.clearAllSnapshots();const h=Hn.now();Ct.delta=hr(0,1e3/60,h-Ct.timestamp),Ct.timestamp=h,Ct.isProcessing=!0,eh.update.process(Ct),eh.preRender.process(Ct),eh.render.process(Ct),Ct.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,zf.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(kA),this.sharedNodes.forEach(TA)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ye.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ye.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let p=0;p<this.path.length;p++)this.path[p].updateScroll();const u=this.layout;this.layout=this.measure(!1),this.layoutCorrected=at(),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 p=i(this.instance);this.scroll={animationId:this.root.animationId,phase:u,isRoot:p,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!o)return;const u=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!o1(this.projectionDelta),p=this.getTransformTemplate(),g=p?p(this.latestValues,""):void 0,y=g!==this.prevTransformTemplateValue;u&&(h||bs(this.latestValues)||y)&&(o(this.instance,g),this.shouldResetTransform=!1,this.scheduleRender())}measure(u=!0){const h=this.measurePageBox();let p=this.removeElementScroll(h);return u&&(p=this.removeTransform(p)),RA(p),{animationId:this.root.animationId,measuredBox:h,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:h}=this.options;if(!h)return at();const p=h.measureViewportBox();if(!(((u=this.scroll)===null||u===void 0?void 0:u.wasRoot)||this.path.some(OA))){const{scroll:y}=this.root;y&&(Ei(p.x,y.offset.x),Ei(p.y,y.offset.y))}return p}removeElementScroll(u){var h;const p=at();if(fn(p,u),!((h=this.scroll)===null||h===void 0)&&h.wasRoot)return p;for(let g=0;g<this.path.length;g++){const y=this.path[g],{scroll:v,options:b}=y;y!==this.root&&v&&b.layoutScroll&&(v.wasRoot&&fn(p,u),Ei(p.x,v.offset.x),Ei(p.y,v.offset.y))}return p}applyTransform(u,h=!1){const p=at();fn(p,u);for(let g=0;g<this.path.length;g++){const y=this.path[g];!h&&y.options.layoutScroll&&y.scroll&&y!==y.root&&Ti(p,{x:-y.scroll.offset.x,y:-y.scroll.offset.y}),bs(y.latestValues)&&Ti(p,y.latestValues)}return bs(this.latestValues)&&Ti(p,this.latestValues),p}removeTransform(u){const h=at();fn(h,u);for(let p=0;p<this.path.length;p++){const g=this.path[p];if(!g.instance||!bs(g.latestValues))continue;nf(g.latestValues)&&g.updateSnapshot();const y=at(),v=g.measurePageBox();fn(y,v),bx(h,g.latestValues,g.snapshot?g.snapshot.layoutBox:void 0,y)}return bs(this.latestValues)&&bx(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!==Ct.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(u=!1){var h;const p=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=p.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=p.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=p.isSharedProjectionDirty);const g=!!this.resumingFrom||this!==p;if(!(u||g&&this.isSharedProjectionDirty||this.isProjectionDirty||!((h=this.parent)===null||h===void 0)&&h.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:b}=this.options;if(!(!this.layout||!(v||b))){if(this.resolvedRelativeTargetAt=Ct.timestamp,!this.targetDelta&&!this.relativeTarget){const S=this.getClosestProjectingParent();S&&S.layout&&this.animationProgress!==1?(this.relativeParent=S,this.forceRelativeParentToResolveTarget(),this.relativeTarget=at(),this.relativeTargetOrigin=at(),ca(this.relativeTargetOrigin,this.layout.layoutBox,S.layout.layoutBox),fn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=at(),this.targetWithTransforms=at()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),IP(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):fn(this.target,this.layout.layoutBox),e1(this.target,this.targetDelta)):fn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const S=this.getClosestProjectingParent();S&&!!S.resumingFrom==!!this.resumingFrom&&!S.options.layoutScroll&&S.target&&this.animationProgress!==1?(this.relativeParent=S,this.forceRelativeParentToResolveTarget(),this.relativeTarget=at(),this.relativeTargetOrigin=at(),ca(this.relativeTargetOrigin,this.target,S.target),fn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ra&&ws.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||nf(this.parent.latestValues)||Zw(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(),p=!!this.resumingFrom||this!==h;let g=!0;if((this.isProjectionDirty||!((u=this.parent)===null||u===void 0)&&u.isProjectionDirty)&&(g=!1),p&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(g=!1),this.resolvedRelativeTargetAt===Ct.timestamp&&(g=!1),g)return;const{layout:y,layoutId:v}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(y||v))return;fn(this.layoutCorrected,this.layout.layoutBox);const b=this.treeScale.x,S=this.treeScale.y;WP(this.layoutCorrected,this.treeScale,this.path,p),h.layout&&!h.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(h.target=h.layout.layoutBox,h.targetWithTransforms=at());const{target:E}=h;if(!E){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(yx(this.prevProjectionDelta.x,this.projectionDelta.x),yx(this.prevProjectionDelta.y,this.projectionDelta.y)),la(this.projectionDelta,this.layoutCorrected,E,this.latestValues),(this.treeScale.x!==b||this.treeScale.y!==S||!Nx(this.projectionDelta.x,this.prevProjectionDelta.x)||!Nx(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",E)),ra&&ws.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 p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ci(),this.projectionDelta=Ci(),this.projectionDeltaWithTransform=Ci()}setAnimationOrigin(u,h=!1){const p=this.snapshot,g=p?p.latestValues:{},y={...this.latestValues},v=Ci();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const b=at(),S=p?p.source:void 0,E=this.layout?this.layout.source:void 0,N=S!==E,j=this.getStack(),w=!j||j.members.length<=1,P=!!(N&&!w&&this.options.crossfade===!0&&!this.path.some(AA));this.animationProgress=0;let T;this.mixTargetDelta=O=>{const U=O/1e3;Px(v.x,u.x,U),Px(v.y,u.y,U),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ca(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox),PA(this.relativeTarget,this.relativeTargetOrigin,b,U),T&&fA(this.relativeTarget,T)&&(this.isProjectionDirty=!1),T||(T=at()),fn(T,this.relativeTarget)),N&&(this.animationValues=y,aA(y,g,this.latestValues,U,P,w)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=U},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&&(Jr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ye.update(()=>{mc.hasAnimatedSinceResize=!0,this.currentAnimation=tA(0,Cx,{...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(Cx),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const u=this.getLead();let{targetWithTransforms:h,target:p,layout:g,latestValues:y}=u;if(!(!h||!p||!g)){if(this!==u&&this.layout&&g&&u1(this.options.animationType,this.layout.layoutBox,g.layoutBox)){p=this.target||at();const v=rn(this.layout.layoutBox.x);p.x.min=u.target.x.min,p.x.max=p.x.min+v;const b=rn(this.layout.layoutBox.y);p.y.min=u.target.y.min,p.y.max=p.y.min+b}fn(h,p),Ti(h,y),la(this.projectionDeltaWithTransform,this.layoutCorrected,h,y)}}registerSharedNode(u,h){this.sharedNodes.has(u)||this.sharedNodes.set(u,new pA),this.sharedNodes.get(u).add(h);const g=h.options.initialPromotionConfig;h.promote({transition:g?g.transition:void 0,preserveFollowOpacity:g&&g.shouldPreserveFollowOpacity?g.shouldPreserveFollowOpacity(h):void 0})}isLead(){const 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:p}={}){const g=this.getStack();g&&g.promote(this,p),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:p}=u;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(h=!0),!h)return;const g={};p.z&&uh("z",u,g,this.animationValues);for(let y=0;y<ch.length;y++)uh(`rotate${ch[y]}`,u,g,this.animationValues),uh(`skew${ch[y]}`,u,g,this.animationValues);u.render();for(const y in g)u.setStaticValue(y,g[y]),this.animationValues&&(this.animationValues[y]=g[y]);u.scheduleRender()}getProjectionStyles(u){var h,p;if(!this.instance||this.isSVG)return;if(!this.isVisible)return gA;const g={visibility:""},y=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,g.opacity="",g.pointerEvents=fc(u==null?void 0:u.pointerEvents)||"",g.transform=y?y(this.latestValues,""):"none",g;const v=this.getLead();if(!this.projectionDelta||!this.layout||!v.target){const N={};return this.options.layoutId&&(N.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,N.pointerEvents=fc(u==null?void 0:u.pointerEvents)||""),this.hasProjected&&!bs(this.latestValues)&&(N.transform=y?y({},""):"none",this.hasProjected=!1),N}const b=v.animationValues||v.latestValues;this.applyTransformsToTarget(),g.transform=mA(this.projectionDeltaWithTransform,this.treeScale,b),y&&(g.transform=y(b,g.transform));const{x:S,y:E}=this.projectionDelta;g.transformOrigin=`${S.origin*100}% ${E.origin*100}% 0`,v.animationValues?g.opacity=v===this?(p=(h=b.opacity)!==null&&h!==void 0?h:this.latestValues.opacity)!==null&&p!==void 0?p:1:this.preserveOpacity?this.latestValues.opacity:b.opacityExit:g.opacity=v===this?b.opacity!==void 0?b.opacity:"":b.opacityExit!==void 0?b.opacityExit:0;for(const N in jc){if(b[N]===void 0)continue;const{correct:j,applyTo:w}=jc[N],P=g.transform==="none"?b[N]:j(b[N],v);if(w){const T=w.length;for(let O=0;O<T;O++)g[w[O]]=P}else g[N]=P}return this.options.layoutId&&(g.pointerEvents=v===this?fc(u==null?void 0:u.pointerEvents)||"":"none"),g}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(Ex),this.root.sharedNodes.clear()}}}function vA(t){t.updateLayout()}function xA(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"?pn(v=>{const b=u?n.measuredBox[v]:n.layoutBox[v],S=rn(b);b.min=i[v].min,b.max=b.min+S}):u1(c,n.layoutBox,i)&&pn(v=>{const b=u?n.measuredBox[v]:n.layoutBox[v],S=rn(i[v]);b.max=b.min+S,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[v].max=t.relativeTarget[v].min+S)});const h=Ci();la(h,i,n.layoutBox);const p=Ci();u?la(p,t.applyTransform(o,!0),n.measuredBox):la(p,i,n.layoutBox);const g=!o1(h);let y=!1;if(!t.resumeFrom){const v=t.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:b,layout:S}=v;if(b&&S){const E=at();ca(E,n.layoutBox,b.layoutBox);const N=at();ca(N,i,S.layoutBox),a1(E,N)||(y=!0),v.options.layoutRoot&&(t.relativeTarget=N,t.relativeTargetOrigin=E,t.relativeParent=v)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:n,delta:p,layoutDelta:h,hasLayoutChanged:g,hasRelativeTargetChanged:y})}else if(t.isLead()){const{onExitComplete:i}=t.options;i&&i()}t.options.transition=void 0}function bA(t){ra&&ws.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 wA(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function kA(t){t.clearSnapshot()}function Ex(t){t.clearMeasurements()}function jA(t){t.isLayoutDirty=!1}function SA(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Tx(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function NA(t){t.resolveTargetDelta()}function CA(t){t.calcProjection()}function EA(t){t.resetSkewAndRotation()}function TA(t){t.removeLeadSnapshot()}function Px(t,e,n){t.translate=Je(e.translate,0,n),t.scale=Je(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Ax(t,e,n,i){t.min=Je(e.min,n.min,i),t.max=Je(e.max,n.max,i)}function PA(t,e,n,i){Ax(t.x,e.x,n.x,i),Ax(t.y,e.y,n.y,i)}function AA(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const _A={duration:.45,ease:[.4,0,.1,1]},_x=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Rx=_x("applewebkit/")&&!_x("chrome/")?Math.round:nn;function Ox(t){t.min=Rx(t.min),t.max=Rx(t.max)}function RA(t){Ox(t.x),Ox(t.y)}function u1(t,e,n){return t==="position"||t==="preserve-aspect"&&!LP(Sx(e),Sx(n),.2)}function OA(t){var e;return t!==t.root&&((e=t.scroll)===null||e===void 0?void 0:e.wasRoot)}const LA=c1({attachResizeListener:(t,e)=>xa(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),dh={current:void 0},d1=c1({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!dh.current){const t=new LA({});t.mount(window),t.setOptions({layoutScroll:!0}),dh.current=t}return dh.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),IA={pan:{Feature:QP},drag:{Feature:GP,ProjectionNode:d1,MeasureLayout:r1}};function Lx(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&&Ye.postRender(()=>c(e,Ia(e)))}class BA extends es{mount(){const{current:e}=this.node;e&&(this.unmount=O3(e,n=>(Lx(this.node,n,"Start"),i=>Lx(this.node,i,"End"))))}unmount(){}}class DA extends es{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=La(xa(this.node.current,"focus",()=>this.onFocus()),xa(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Ix(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&&Ye.postRender(()=>c(e,Ia(e)))}class FA extends es{mount(){const{current:e}=this.node;e&&(this.unmount=D3(e,n=>(Ix(this.node,n,"Start"),(i,{success:o})=>Ix(this.node,i,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const sf=new WeakMap,hh=new WeakMap,MA=t=>{const e=sf.get(t.target);e&&e(t)},VA=t=>{t.forEach(MA)};function UA({root:t,...e}){const n=t||document;hh.has(n)||hh.set(n,{});const i=hh.get(n),o=JSON.stringify(e);return i[o]||(i[o]=new IntersectionObserver(VA,{root:t,...e})),i[o]}function zA(t,e,n){const i=UA(e);return sf.set(t,n),i.observe(t),()=>{sf.delete(t),i.unobserve(t)}}const $A={some:0,all:1};class WA extends es{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:$A[o]},h=p=>{const{isIntersecting:g}=p;if(this.isInView===g||(this.isInView=g,c&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:y,onViewportLeave:v}=this.node.getProps(),b=g?y:v;b&&b(p)};return zA(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(qA(e,n))&&this.startObserver()}unmount(){}}function qA({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const HA={inView:{Feature:WA},tap:{Feature:FA},focus:{Feature:DA},hover:{Feature:BA}},YA={layout:{ProjectionNode:d1,MeasureLayout:r1}},of={current:null},h1={current:!1};function KA(){if(h1.current=!0,!!Ff)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>of.current=t.matches;t.addListener(e),e()}else of.current=!1}function GA(t,e,n){for(const i in e){const o=e[i],c=n[i];if(It(o))t.addValue(i,o);else if(It(c))t.addValue(i,ya(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,ya(u!==void 0?u:o,{owner:t}))}}for(const i in n)e[i]===void 0&&t.removeValue(i);return e}const Bx=new WeakMap,QA=[...Pw,Lt,Zr],XA=t=>QA.find(Tw(t)),Dx=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class JA{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=ap,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const b=Hn.now();this.renderScheduledAt<b&&(this.renderScheduledAt=b,Ye.render(this.render,!1,!0))};const{latestValues:p,renderState:g}=u;this.latestValues=p,this.baseTarget={...p},this.initialValues=n.initial?{...p}:{},this.renderState=g,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=Vc(n),this.isVariantNode=Hb(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:y,...v}=this.scrapeMotionValuesFromProps(n,{},this);for(const b in v){const S=v[b];p[b]!==void 0&&It(S)&&S.set(p[b],!1)}}mount(e){this.current=e,Bx.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)),h1.current||KA(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:of.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Bx.delete(this.current),this.projection&&this.projection.unmount(),Jr(this.notifyUpdate),Jr(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=qs.has(e),o=n.on("change",h=>{this.latestValues[e]=h,this.props.onUpdate&&Ye.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 Hi){const n=Hi[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):at()}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<Dx.length;i++){const o=Dx[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=GA(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=ya(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);return o!=null&&(typeof o=="string"&&(Cw(o)||Nw(o))?o=parseFloat(o):!XA(o)&&Zr.test(n)&&(o=Dw(e,n)),this.setBaseTarget(e,It(o)?o.get():o)),It(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=qf(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&&!It(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 sp),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}}class f1 extends JA{constructor(){super(...arguments),this.KeyframeResolver=Fw}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;It(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function ZA(t){return window.getComputedStyle(t)}class e_ extends f1{constructor(){super(...arguments),this.type="html",this.renderInstance=Qb}readValueFromInstance(e,n){if(qs.has(n)){const i=up(n);return i&&i.default||0}else{const i=ZA(e),o=(iw(n)?i.getPropertyValue(n):i[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(e,{transformPagePoint:n}){return t1(e,n)}build(e,n,i){Gf(e,n,i.transformTemplate)}scrapeMotionValuesFromProps(e,n,i){return Wf(e,n,i)}}class t_ extends f1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=at}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(qs.has(n)){const i=up(n);return i&&i.default||0}return n=Xb.has(n)?n:Uf(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,i){return ew(e,n,i)}build(e,n,i){Qf(e,n,this.isSVGTag,i.transformTemplate)}renderInstance(e,n,i,o){Jb(e,n,i,o)}mount(e){this.isSVGTag=Xf(e.tagName),super.mount(e)}}const n_=(t,e)=>$f(t)?new t_(e):new e_(e,{allowProjection:t!==A.Fragment}),r_=C3({...NP,...HA,...IA,...YA},n_),k=z4(r_);function Fx(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function s_(...t){return e=>{let n=!1;const i=t.map(o=>{const c=Fx(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():Fx(t[o],null)}}}}function i_(t){const e=a_(t),n=A.forwardRef((i,o)=>{const{children:c,...u}=i,h=A.Children.toArray(c),p=h.find(c_);if(p){const g=p.props.children,y=h.map(v=>v===p?A.Children.count(g)>1?A.Children.only(null):A.isValidElement(g)?g.props.children:null:v);return l.jsx(e,{...u,ref:o,children:A.isValidElement(g)?A.cloneElement(g,void 0,y):null})}return l.jsx(e,{...u,ref:o,children:c})});return n.displayName=`${t}.Slot`,n}var o_=i_("Slot");function a_(t){const e=A.forwardRef((n,i)=>{const{children:o,...c}=n;if(A.isValidElement(o)){const u=d_(o),h=u_(c,o.props);return o.type!==A.Fragment&&(h.ref=i?s_(i,u):u),A.cloneElement(o,h)}return A.Children.count(o)>1?A.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var l_=Symbol("radix.slottable");function c_(t){return A.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===l_}function u_(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 p=c(...h);return o(...h),p}:o&&(n[i]=o):i==="style"?n[i]={...o,...c}
263:i==="className"&&(n[i]=[o,c].filter(Boolean).join(" "))}return{...t,...n}}function d_(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 h_=cf("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"}}),Ze=A.forwardRef(({className:t,variant:e,size:n,asChild:i=!1,...o},c)=>{const u=i?o_:"button";return l.jsx(u,{className:sn(h_({variant:e,size:n,className:t})),ref:c,...o})});Ze.displayName="Button";const f_="modulepreload",p_=function(t){return"/"+t},Mx={},m_=function(e,n,i){let o=Promise.resolve();if(n&&n.length>0){let u=function(g){return Promise.all(g.map(y=>Promise.resolve(y).then(v=>({status:"fulfilled",value:v}),v=>({status:"rejected",reason:v}))))};document.getElementsByTagName("link");const h=document.querySelector("meta[property=csp-nonce]"),p=(h==null?void 0:h.nonce)||(h==null?void 0:h.getAttribute("nonce"));o=u(n.map(g=>{if(g=p_(g),g in Mx)return;Mx[g]=!0;const y=g.endsWith(".css"),v=y?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${g}"]${v}`))return;const b=document.createElement("link");if(b.rel=y?"stylesheet":f_,y||(b.as="script"),b.crossOrigin="",b.href=g,p&&b.setAttribute("nonce",p),document.head.appendChild(b),y)return new Promise((S,E)=>{b.addEventListener("load",S),b.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${g}`)))})}))}function c(u){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=u,window.dispatchEvent(h),!h.defaultPrevented)throw u}return o.then(u=>{for(const h of u||[])h.status==="rejected"&&c(h.reason);return e().catch(c)})};function Ba({onClose:t}){return A.useEffect(()=>{const n=new URLSearchParams(window.location.search).get("ref");n&&(async()=>{try{const{base44:o}=await m_(async()=>{const{base44:c}=await Promise.resolve().then(()=>P4);return{base44:c}},void 0);await o.functions.invoke("trackLandingAffiliateEvent",{affiliateUserId:n,eventType:"click"})}catch(o){console.error("Failed to track click:",o)}})()},[]),l.jsx(Dc,{children:l.jsx(k.div,{initial:{opacity:0}
263,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-black/80 backdrop-blur-sm z-50 flex items-center justify-center p-4",onClick:t,children:l.jsxs(k.div,{initial:{scale:.9,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.9,opacity:0},onClick:e=>e.stopPropagation(),className:"w-full max-w-2xl bg-gradient-to-br from-slate-900 to-black relative overflow-hidden rounded-2xl",style:{border:"1px solid rgba(182, 143, 62, 0.3)",boxShadow:"0 25px 50px rgba(182, 143, 62, 0.3)"},children:[l.jsx("div",{className:"absolute top-0 right-0 w-48 h-48 rounded-full blur-3xl pointer-events-none",style:{backgroundColor:"rgba(182, 143, 62, 0.15)"}}),l.jsxs("div",{className:"relative p-6 h-full overflow-y-auto",style:{maxHeight:"90vh"},children:[l.jsx("button",{onClick:t,className:"absolute top-4 right-4 text-slate-400 hover:text-white transition-colors z-10",children:l.jsx(Xr,{className:"w-6 h-6"})}),l.jsx("iframe",{src:"https://info.pantheon.fm/widget/form/wIpUm4pIYljCGtKGzBhU",style:{width:"100%",height:"880px",border:"none",borderRadius:"8px"},id:"inline-wIpUm4pIYljCGtKGzBhU","data-layout":JSON.stringify({id:"INLINE"}),"data-trigger-type":"alwaysShow","data-trigger-value":"","data-activation-type":"alwaysActivated","data-activation-value":"","data-deactivation-type":"neverDeactivate","data-deactivation-value":"","data-form-name":"2026 Gathering Attendee Registration","data-height":"880","data-layout-iframe-id":"inline-wIpUm4pIYljCGtKGzBhU","data-form-id":"wIpUm4pIYljCGtKGzBhU",title:"2026 Gathering Attendee Registration"}),l.jsx("script",{src:"https://info.pantheon.fm/js/form_embed.js"})]})]})})})}function Vx({label:t,items:e}){const[n,i]=A.useState(!1),o=A.useRef(null);return A.useEffect(()=>{const c=u=>{o.current&&!o.current.contains(u.target)&&i(!1)};return document.addEventListener("mousedown",c),()=>document.removeEventListener("mousedown",c)},[]),l.jsxs("div",{ref:o,className:"relative",children:[l.jsxs("button",{onClick:()=>i(c=>!c),className:"flex items-center gap-1 text-sm font-bold text-slate-300 hover:text-white transition-colors px-2 py-1",children:[t,l.jsx(l0,{className:`w-4 h-4 transition-transform ${n?"rotate-180":""}`,style:{color:"#B68F3E"}})]}),l.jsx(Dc,{children:n&&l.jsx(k.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},exit:{opacity:0,y:8},transition:{duration:.18},className:"absolute top-full left-1/2 -translate-x-1/2 mt-3 min-w-[180px] rounded-xl overflow-hidden",style:{background:"rgba(12,10,6,0.97)",border:"1px solid rgba(182,143,62,0.25)",boxShadow:"0 20px 40px rgba(0,0,0,0.6)"},children:e.map((c,u)=>l.jsx(rt,{to:c.to,onClick:()=>i(!1),className:"block px-5 py-3 text-sm text-slate-300 hover:text-white transition-colors",style:{borderBottom:u<e.length-1?"1px solid rgba(182,143,62,0.12)":"none"},onMouseEnter:h=>h.currentTarget.style.background="rgba(182,143,62,0.1)",onMouseLeave:h=>h.currentTarget.style.background="transparent",children:c.label},u))})})]})}function Ux({label:t,items:e,onClose:n}){const[i,o]=A.useState(!1);return l.jsxs("div",{children:[l.jsxs("button",{onClick:()=>o(c=>!c),className:"w-full flex items-center justify-between py-3 text-base font-bold text-slate-200",style:{borderBottom:"1px solid rgba(182,143,62,0.15)"},children:[t,l.jsx(l0,{className:`w-4 h-4 transition-transform ${i?"rotate-180":""}`,style:{color:"#B68F3E"}})]}),l.jsx(Dc,{children:i&&l.jsx(k.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2},className:"overflow-hidden",children:e.map((c,u)=>l.jsx(rt,{to:c.to,onClick:n,className:"block pl-4 py-2.5 text-sm text-slate-400 hover:text-white transition-colors",children:c.label},u))})})]})}function On(){const[t,e]=A.useState(!1),[n,i]=A.useState(!1),o=()=>{window.open("https://members.pantheonconnect.com","_blank")},c=()=>{window.open("https://members.pantheonconnect.com","_blank")},u=()=>i(!1);return l.jsxs(l.Fragment,{children:[t&&l.jsx(Ba,{onClose:()=>e(!1)}),l.jsxs(k.nav,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{duration:.5},className:"fixed top-0 left-0 right-0 z-50 bg-black/90 backdrop-blur-xl border-b",style:{borderBottomColor:"rgba(182, 143, 62, 0.2)"},children:[l.jsx("div",{className:"max-w-7xl mx-auto px-6 py-4",children:l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsx(rt,{to:"/",onClick:u,className:"flex items-center",children:l.jsx("img",{src:"https://media.base44.com/images/public/6945c5fdc9eab36b7d26fd72/739b25a88_pantheon_connect_navbar_transparent.png",alt:"Pantheon Connect",className:"h-14 w-auto"})}),l.jsxs("div",{className:"hidden md:flex items-center gap-1",children:[l.jsx(rt,{to:"/gathering",className:"text-sm font-bold text-slate-300 hover:text-white transition-colors px-3 py-1",children:"The Gathering"}),l.jsx(Vx,{label:"Services",items:[{label:"Aegis",to:"/aegis"},{label:"The Alliance",to:"/alliance"},{label:"Conquest",to:"/conquest"}]}),l.jsx(Vx,{label:"About",items:[{label:"About Pantheon",to:"/about"},{label:"Meet the Founder",to:"/founder"}]})]}),l.jsxs("div",{className:"hidden md:flex items-center gap-3",children:[l.jsx(Ze,{variant:"ghost",onClick:o,className:"font-medium",style:{color:"#C4A052"},onMouseEnter:h=>{h.currentTarget.style.color="#D4B068",h.currentTarget.style.backgroundColor="rgba(182,143,62,0.1)"},onMouseLeave:h=>{h.currentTarget.style.color="#C4A052",h.currentTarget.style.backgroundColor="transparent"},children:"Login"}),l.jsx(Ze,{onClick:c,className:"text-black font-semibold px-6",style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",boxShadow:"0 10px 30px rgba(182,143,62,0.3)"},onMouseEnter:h=>h.currentTarget.style.background="linear-gradient(to right, #A17C34, #B68F3E, #C4A052)",onMouseLeave:h=>h.currentTarget.style.background="linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",children:"Join Free"})]}),l.jsx("button",{className:"md:hidden p-2 text-white",onClick:()=>i(h=>!h),"aria-label":"Toggle menu",children:n?l.jsx(Xr,{className:"w-6 h-6"}):l.jsx(lj,{className:"w-6 h-6"})})]})}),l.jsx(Dc,{children:n&&l.jsx(k.div,{initial:{opacity:0,height:0}
263,animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.25},className:"md:hidden overflow-hidden",style:{borderTop:"1px solid rgba(182,143,62,0.15)",background:"rgba(5,4,2,0.98)"},children:l.jsxs("div",{className:"px-6 py-4 space-y-1",children:[l.jsx(rt,{to:"/gathering",onClick:u,className:"block py-3 text-base font-bold text-slate-200 hover:text-white transition-colors",style:{borderBottom:"1px solid rgba(182,143,62,0.15)"},children:"The Gathering"}),l.jsx(Ux,{label:"Services",items:[{label:"Aegis",to:"/aegis"},{label:"The Alliance",to:"/alliance"},{label:"Conquest",to:"/conquest"}],onClose:u}),l.jsx(Ux,{label:"About",items:[{label:"About Pantheon",to:"/about"},{label:"Meet the Founder",to:"/founder"}],onClose:u}),l.jsxs("div",{className:"pt-4 flex flex-col gap-3",children:[l.jsx(Ze,{variant:"ghost",onClick:()=>{o(),u()},className:"w-full font-medium border",style:{color:"#C4A052",borderColor:"rgba(182,143,62,0.3)"},children:"Login"}),l.jsx(Ze,{onClick:()=>{c(),u()},className:"w-full text-black font-semibold",style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)"},children:"Join Free"})]})]})})})]})]})}function Ln(){return l.jsx("footer",{style:{backgroundColor:"#050403",borderTop:"1px solid rgba(182,143,62,0.2)"},children:l.jsxs("div",{className:"max-w-7xl mx-auto px-6 py-16",children:[l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-12",children:[l.jsxs("div",{className:"md:col-span-1",children:[l.jsx(rt,{to:"/",className:"flex items-center mb-4",children:l.jsx("img",{src:"https://media.base44.com/images/public/6945c5fdc9eab36b7d26fd72/d3310598b_pantheon_connect_logo_v2_transparent.png",alt:"Pantheon Connect",className:"h-24 w-auto"})}),l.jsx("p",{className:"text-slate-500 text-sm leading-relaxed",children:"The elite network for serious B2B entrepreneurs."})]}),l.jsxs("div",{children:[l.jsx("p",{className:"text-xs font-bold tracking-widest uppercase mb-5",style:{color:"#B68F3E"},children:"Navigation"}),l.jsxs("ul",{className:"space-y-3",children:[l.jsx("li",{children:l.jsx(rt,{to:"/gathering",className:"text-slate-400 hover:text-white text-sm transition-colors",children:"The Gathering"})}),l.jsx("li",{children:l.jsx(rt,{to:"/",className:"text-slate-400 hover:text-white text-sm transition-colors",children:"Home"})})]})]}),l.jsxs("div",{children:[l.jsx("p",{className:"text-xs font-bold tracking-widest uppercase mb-5",style:{color:"#B68F3E"},children:"Services"}),l.jsxs("ul",{className:"space-y-3",children:[l.jsx("li",{children:l.jsx(rt,{to:"/aegis",className:"text-slate-400 hover:text-white text-sm transition-colors",children:"Aegis"})}),l.jsx("li",{children:l.jsx(rt,{to:"/alliance",className:"text-slate-400 hover:text-white text-sm transition-colors",children:"The Alliance"})}),l.jsx("li",{children:l.jsx(rt,{to:"/conquest",className:"text-slate-400 hover:text-white text-sm transition-colors",children:"Conquest"})})]}),l.jsx("p",{className:"text-xs font-bold tracking-widest uppercase mb-5 mt-8",style:{color:"#B68F3E"},children:"About"}),l.jsxs("ul",{className:"space-y-3",children:[l.jsx("li",{children:l.jsx(rt,{to:"/about",className:"text-slate-400 hover:text-white text-sm transition-colors",children:"About Pantheon"})}),l.jsx("li",{children:l.jsx(rt,{to:"/founder",className:"text-slate-400 hover:text-white text-sm transition-colors",children:"Meet the Founder"})})]})]}),l.jsxs("div",{children:[l.jsx("p",{className:"text-xs font-bold tracking-widest uppercase mb-5",style:{color:"#B68F3E"},children:"Contact Us"}),l.jsxs("ul",{className:"space-y-4",children:[l.jsx("li",{children:l.jsxs("a",{href:"mailto:[email protected]",className:"flex items-start gap-3 group",children:[l.jsx(uf,{className:"w-4 h-4 mt-0.5 shrink-0",style:{color:"#B68F3E"}}),l.jsx("span",{className:"text-slate-400 group-hover:text-white text-sm transition-colors",children:"[email protected]"})]})}),l.jsx("li",{children:l.jsxs("a",{href:"tel:+12085202252",className:"flex items-start gap-3 group",children:[l.jsx(d0,{className:"w-4 h-4 mt-0.5 shrink-0",style:{color:"#B68F3E"}}),l.jsx("span",{className:"text-slate-400 group-hover:text-white text-sm transition-colors",children:"+1 (208) 520-2252"})]})}),l.jsx("li",{children:l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx(df,{className:"w-4 h-4 mt-0.5 shrink-0",style:{color:"#B68F3E"}}),l.jsxs("span",{className:"text-slate-400 text-sm",children:["591 Park Ave Ste 202",l.jsx("br",{}),"Idaho Falls, ID 83402"]})]})}),l.jsx("li",{className:"pt-1",children:l.jsx(rt,{to:"/contact",className:"text-sm font-semibold transition-colors",style:{color:"#C4A052"},onMouseEnter:t=>t.currentTarget.style.color="#D4B068",onMouseLeave:t=>t.currentTarget.style.color="#C4A052",children:"Send us a message →"})})]})]})]}),l.jsxs("div",{className:"mt-12 pt-6 flex flex-col sm:flex-row justify-between items-center gap-4",style:{borderTop:"1px solid rgba(182,143,62,0.12)"},children:[l.jsxs("p",{className:"text-slate-600 text-xs",children:["© ",new Date().getFullYear()," Pantheon Connect. All rights reserved."]}),l.jsxs("div",{className:"flex gap-4",children:[l.jsx(rt,{to:"/terms",className:"text-slate-700 text-xs hover:text-slate-400 transition-colors",children:"Terms of Use"}),l.jsx(rt,{to:"/privacy",className:"text-slate-700 text-xs hover:text-slate-400 transition-colors",children:"Privacy Policy"})]})]})]})})}const ks=A.forwardRef(({className:t,...e},n)=>l.jsx("div",{ref:n,className:sn("rounded-xl border bg-card text-card-foreground shadow",t),...e}));
263ks.displayName="Card";const g_=A.forwardRef(({className:t,...e},n)=>l.jsx("div",{ref:n,className:sn("flex flex-col space-y-1.5 p-6",t),...e}));g_.displayName="CardHeader";const y_=A.forwardRef(({className:t,...e},n)=>l.jsx("div",{ref:n,className:sn("font-semibold leading-none tracking-tight",t),...e}));y_.displayName="CardTitle";const v_=A.forwardRef(({className:t,...e},n)=>l.jsx("div",{ref:n,className:sn("text-sm text-muted-foreground",t),...e}));v_.displayName="CardDescription";const js=A.forwardRef(({className:t,...e},n)=>l.jsx("div",{ref:n,className:sn("p-6 pt-0",t),...e}));js.displayName="CardContent";const x_=A.forwardRef(({className:t,...e},n)=>l.jsx("div",{ref:n,className:sn("flex items-center p-6 pt-0",t),...e}));x_.displayName="CardFooter";const b_=cf("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function rc({className:t,variant:e,...n}){return l.jsx("div",{className:sn(b_({variant:e}),t),...n})}const He={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}},sr={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.15}}},w_={hidden:{opacity:0,scale:.9},visible:{opacity:1,scale:1,transition:{duration:.5}}};function k_(){const[t,e]=A.useState(!1),n=()=>{window.open("https://members.pantheonconnect.com","_blank")},i=()=>{window.open("https://members.pantheonconnect.com","_blank")},o=[{icon:hf,title:"Find the Right Service Provider Without Guesswork",description:"Instead of wasting weeks vetting vendors, you can instantly identify proven providers the Pantheon already trusts—saving time, money, and frustration."},{icon:Ui,title:"Get Matched, Not Marketed To",description:"The Partner Matchmaker connects you with people who are actually aligned with your needs—no spam, no awkward pitching, no random intros."},{icon:fh,title:"Turn Networking Into a Revenue Stream",description:"With the Pantheon Gold system, you don't just meet people—you get paid when your connections create value."},{icon:by,title:"Skip Expensive Courses and Learn From What's Working",description:"You get full access to the Pantheon course library so you can implement proven systems without buying another $2,000 program."},{icon:Ui,title:"Solve Real Problems on Live Calls",description:"Gathering Calls aren't lectures—they're working sessions where members get help, ideas, and connections in real time."},{icon:zo,title:"Never Send a Blind Referral Again",description:"Your concierge helps match your clients to the right providers, protecting your reputation while creating win-win outcomes."},{icon:xy,title:"Belong to a Community That Actually Creates Opportunity",description:"This isn't a Slack group that goes quiet. It's an active network designed to move business forward through collaboration and trust."},{icon:vy,title:"Reduce Costs Through Trusted Partnerships",description:"Members get exclusive discounts with vetted service providers—so you grow faster without paying retail prices."},{icon:Jk,title:"Stay Plugged Into Opportunities Without Information Overload",description:"The Pantheon newsletter curates insights, opportunities, and connections worth your attention—no fluff, no noise."},{icon:Pc,title:"See Exactly What Your Network Is Worth",description:"With built-in commission tracking, you always know which connections are creating value and where your leverage actually lives."}],c=["A Curated Room for Your Deals – You're vetted by a Pantheon concierge and placed in a room built around your goals. Not everyone gets in—and that's intentional.","Deal Flow, Not Networking – Learn how to engineer referrals, then take a hot seat where the room actively helps move your live deals forward.","Leverage That Lasts Beyond the Event – Get ongoing access to the Pantheon directory and recordings so momentum continues long after the Gathering ends."];return l.jsxs(l.Fragment,{children:[t&&l.jsx(Ba,{onClose:()=>e(!1)}),l.jsxs("div",{className:"min-h-screen bg-gradient-to-b from-black via-slate-950 to-slate-900",children:[l.jsx(On,{}),l.jsxs("section",{className:"pt-24 pb-8 px-6 relative overflow-hidden",children:[l.jsxs("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:[l.jsx("div",{className:"absolute top-20 left-10 w-72 h-72 rounded-full blur-3xl",style:{backgroundColor:"rgba(182, 143, 62, 0.12)"}}),l.jsx("div",{className:"absolute top-40 right-20 w-96 h-96 rounded-full blur-3xl",style:{backgroundColor:"rgba(196, 160, 82, 0.1)"}}),l.jsx("div",{className:"absolute bottom-20 left-1/3 w-80 h-80 rounded-full blur-3xl",style:{backgroundColor:"rgba(182, 143, 62, 0.12)"}})]}),l.jsx("div",{className:"max-w-7xl mx-auto relative",children:l.jsxs(k.div,{initial:"hidden",animate:"visible",variants:sr,className:"text-center max-w-4xl mx-auto",children:[l.jsx(k.div,{variants:He,className:"mb-8 flex justify-center",children:l.jsx("img",{src:"https://media.base44.com/images/public/6945c5fdc9eab36b7d26fd72/d3310598b_pantheon_connect_logo_v2_transparent.png",alt:"The Pantheon",className:"h-64 md:h-80 w-auto object-contain",loading:"lazy"})}),l.jsxs(k.h1,{variants:He,className:"text-5xl md:text-7xl font-bold text-white leading-tight mb-6",children:["Where Elite",l.jsxs("span",{className:"relative mx-3",children:[l.jsx("span",{style:{background:"linear-gradient(to right, #C4A052, #D4B068, #B68F3E)",WebkitBackgroun
263dClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"Relationships"}),l.jsx("svg",{className:"absolute -bottom-2 left-0 w-full",viewBox:"0 0 200 12",xmlns:"http://www.w3.org/2000/svg",children:l.jsx("path",{d:"M2 8 Q50 2, 100 8 T198 8",stroke:"#B68F3E",strokeWidth:"3",fill:"none",strokeLinecap:"round"})})]}),l.jsx("br",{}),"Drive Real Revenue"]}),l.jsx(k.p,{variants:He,className:"text-xl md:text-2xl text-slate-300 mb-10 max-w-2xl mx-auto leading-relaxed",children:"Join the premier network for B2B Entrepreneurs. Access qualified referrals, cultivate strategic partnerships, get PAID to network."}),l.jsxs(k.div,{variants:He,className:"flex flex-col sm:flex-row items-center justify-center gap-4 mb-12",children:[l.jsx(rt,{to:"/gathering",children:l.jsxs(Ze,{size:"lg",className:"text-black font-bold text-lg px-10 py-7 rounded-xl shadow-2xl group",style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",boxShadow:"0 25px 50px rgba(182, 143, 62, 0.4)"},onMouseEnter:u=>{u.currentTarget.style.background="linear-gradient(to right, #A17C34, #B68F3E, #C4A052)"},onMouseLeave:u=>{u.currentTarget.style.background="linear-gradient(to right, #B68F3E, #C4A052, #D4B068)"},children:["RSVP To The Gathering",l.jsx(Ut,{className:"ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform"})]})}),l.jsx(Ze,{size:"lg",onClick:n,className:"text-lg px-10 py-7 rounded-xl backdrop-blur-sm",style:{borderWidth:"2px",borderColor:"rgba(182, 143, 62, 0.4)",color:"#D4B068"},onMouseEnter:u=>{u.currentTarget.style.borderColor="rgba(182, 143, 62, 0.6)",u.currentTarget.style.backgroundColor="rgba(182, 143, 62, 0.1)",u.currentTarget.style.color="#E4C078"},onMouseLeave:u=>{u.currentTarget.style.borderColor="rgba(182, 143, 62, 0.4)",u.currentTarget.style.backgroundColor="transparent",u.currentTarget.style.color="#D4B068"},children:"Login"})]}),l.jsxs(k.div,{variants:He,className:"flex flex-wrap items-center justify-center gap-6 text-sm",style:{color:"rgba(196, 160, 82, 0.8)"},children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(zo,{className:"w-5 h-5",style:{color:"#B68F3E"}}),l.jsx("span",{className:"",children:"Curated Rooms"})]}),l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(zo,{className:"w-5 h-5",style:{color:"#B68F3E"}}),l.jsx("span",{children:"Invite Only"})]}),l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(zo,{className:"w-5 h-5",style:{color:"#B68F3E"}}),l.jsx("span",{children:"Free Tickets Available"})]})]})]})})]}),l.jsx(k.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.4},className:"text-center py-8",children:l.jsx("p",{className:"text-sm font-medium tracking-widest",style:{color:"#B68F3E"},children:"AS FEATURED IN"})}),l.jsx("section",{className:"py-6 border-y overflow-hidden relative bg-black",style:{borderTopColor:"rgba(182, 143, 62, 0.2)",borderBottomColor:"rgba(182, 143, 62, 0.2)"},children:l.jsxs("div",{className:"relative",children:[l.jsx("style",{children:`
264            @keyframes seamlessScroll {
265              0% { transform: translateX(0); }
266              100% { transform: translateX(calc(-180px * 9 - 64px * 9)); }
267            }
268            .logo-track {
269              animation: seamlessScroll 45s linear infinite;
270              display: flex;
271            }
272          `}),l.jsx("div",{className:"flex logo-track",children:["https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/1ba6546eb_1.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/a1196aea0_2.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/2b430630a_3.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/a21055e39_4.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/5e38bb72c_5.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/ab89366df_6.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/f15f7dd22_7.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/73a5870f3_8.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/027160cfe_9.png"].concat(["https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/1ba6546eb_1.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/a1196aea0_2.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/2b430630a_3.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/a21055e39_4.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/5e38bb72c_5.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/ab89366df_6.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/f15f7dd22_7.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/73a5870f3_8.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/027160cfe_9.png"]).concat(["https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/1ba6546eb_1.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/a1196aea0_2.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/2b430630a_3.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/a21055e39_4.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/5e38bb72c_5.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/ab89366df_6.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/f15f7dd22_7.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/73a5870f3_8.png","https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/027160cfe_9.png"]).map((u,h)=>l.jsx("div",{className:"flex-shrink-0 mx-4 flex items-center justify-center",style:{width:"140px",height:"70px"},children:l.jsx("img",{src:u,alt:"Partner Company",className:"max-w-full max-h-full object-contain opacity-70",loading:"lazy",style:{filter:"brightness(1.2) contrast(1.1)"}})},h))}),l.jsx("div",{className:"absolute top-0 left-0 w-24 h-full pointer-events-none z-10",style:{background:"linear-gradient(to right, rgba(0,0,0,1), transparent)"}}),l.jsx("div",{className:"absolute top-0 right-0 w-24 h-full pointer-events-none z-10",style:{background:"linear-gradient(to left, rgba(0,0,0,1), transparent)"}})]})}),l.jsx("section",{className:"py-20 px-6",children:l.jsx("div",{className:"max-w-7xl mx-auto",children:l.jsx(k.div,{initial:"hidden",
272whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:w_,children:l.jsxs(ks,{className:"bg-gradient-to-br from-slate-900 via-black to-slate-900 overflow-hidden relative",style:{border:"1px solid rgba(182, 143, 62, 0.3)",boxShadow:"0 25px 50px rgba(182, 143, 62, 0.2)"},children:[l.jsx("div",{className:"absolute top-0 right-0 w-64 h-64 rounded-full blur-3xl",style:{backgroundColor:"rgba(182, 143, 62, 0.15)"}}),l.jsx("div",{className:"absolute bottom-0 left-0 w-48 h-48 rounded-full blur-2xl",style:{backgroundColor:"rgba(196, 160, 82, 0.1)"}}),l.jsx(js,{className:"p-8 md:p-12 relative",children:l.jsxs("div",{className:"grid md:grid-cols-[1fr_1.2fr] gap-10 items-center",children:[l.jsxs("div",{className:"text-white",children:[l.jsxs(rc,{className:"text-black border-0 mb-6 px-4 py-1.5 font-bold",style:{background:"linear-gradient(to right, #B68F3E, #C4A052)"},children:[l.jsx(Vd,{className:"w-4 h-4 mr-1.5"}),"Signature Event"]}),l.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:"The Pantheon Gathering"}),l.jsx("p",{className:"text-lg mb-8 leading-relaxed",style:{color:"rgba(212, 176, 104, 0.85)"},children:"Join us for an exclusive, curated networking experience designed to help you forge meaningful connections, discover premium opportunities, and accelerate your business growth—complimentary access."}),l.jsxs("div",{className:"flex flex-wrap gap-6 mb-8",style:{color:"rgba(196, 160, 82, 0.85)"},children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(a0,{className:"w-5 h-5",style:{color:"#C4A052"}}),l.jsx("span",{children:"Every 4th Tuesday Of The Month"})]}),l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(df,{className:"w-5 h-5",style:{color:"#C4A052"}}),l.jsx("span",{children:"Virtual"})]})]}),l.jsx(rt,{to:"/gathering",children:l.jsxs(Ze,{size:"lg",className:"text-black font-bold text-lg px-8 py-6 rounded-xl shadow-xl group",style:{background:"linear-gradient(to right, #B68F3E, #C4A052)",boxShadow:"0 20px 40px rgba(182, 143, 62, 0.3)"},onMouseEnter:u=>{u.currentTarget.style.background="linear-gradient(to right, #A17C34, #B68F3E)"},onMouseLeave:u=>{u.currentTarget.style.background="linear-gradient(to right, #B68F3E, #C4A052)"},children:["Reserve Your Spot",l.jsx(Ut,{className:"ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform"})]})})]}),l.jsxs("div",{className:"space-y-5",children:[l.jsx("div",{className:"rounded-2xl overflow-hidden",style:{border:"1px solid rgba(182,143,62,0.25)"},children:l.jsx("img",{src:"https://media.base44.com/images/public/6945c5fdc9eab36b7d26fd72/fe25fa5d7_generated_image.png",alt:"Pantheon virtual gathering",className:"w-full object-cover",loading:"lazy",style:{maxHeight:"200px"}})}),l.jsxs("div",{className:"backdrop-blur-sm rounded-2xl p-8",style:{background:"linear-gradient(to bottom right, rgba(88, 57, 18, 0.25), rgba(111, 85, 36, 0.2))",border:"1px solid rgba(182, 143, 62, 0.3)"},children:[l.jsx("h3",{className:"font-semibold text-xl mb-6",style:{color:"#D4B068"},children:"What You'll Experience"}),l.jsx("ul",{className:"space-y-4",children:c.map((u,h)=>l.jsxs(k.li,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:h*.1},className:"flex items-center gap-3",style:{color:"#D4B068"},children:[l.jsx("div",{className:"w-6 h-6 rounded-full flex items-center justify-center flex-shrink-0",style:{background:"linear-gradient(to bottom right, #B68F3E, #C4A052)"},children:l.jsx(zo,{className:"w-4 h-4 text-black"})}),l.jsx("span",{children:u})]},h))})]})]})]})})]})})})}),l.jsx("section",{className:"py-20 px-6 bg-gradient-to-b from-slate-900 via-black to-slate-950",children:l.jsxs("div",{className:"max-w-7xl mx-auto",children:[l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:sr,className:"text-center mb-16",children:[l.jsx(k.div,{variants:He,children:l.jsxs(rc,{className:"mb-6 px-4 py-1.5 backdrop-blur-sm",style:{background:"linear-gradient(to right, rgba(182, 143, 62, 0.2), rgba(196, 160, 82, 0.2))",color:"#D4B068",border:"1px solid rgba(182, 143, 62, 0.3)"},children:[l.jsx(by,{className:"w-4 h-4 mr-2 inline"}),"How Members Use The Pantheon"]})}),l.jsxs(k.h2,{variants:He,className:"text-4xl md:text-5xl font-bold text-white mb-4",children:["Unlock Your",l.jsx("span",{style:{background:"linear-gradient(to right, #C4A052, #D4B068)",WebkitBackgroun
272dClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:" Business Potential"})]}),l.jsx(k.p,{variants:He,className:"text-xl text-slate-300 max-w-2xl mx-auto",children:"See how elite entrepreneurs leverage Pantheon Connect to achieve their most ambitious goals."})]}),l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-50px"},variants:sr,className:"grid md:grid-cols-3 gap-8",children:[l.jsx(k.div,{variants:He,children:l.jsxs(ks,{className:"h-full bg-gradient-to-br from-slate-900 via-black to-slate-900 hover:from-slate-800 hover:to-slate-900 transition-all duration-300 group relative overflow-hidden",style:{border:"1px solid rgba(182, 143, 62, 0.3)",boxShadow:"0 10px 30px rgba(182, 143, 62, 0.15)"},children:[l.jsx("div",{className:"absolute top-0 right-0 w-32 h-32 rounded-full blur-3xl",style:{backgroundColor:"rgba(182, 143, 62, 0.1)"}}),l.jsxs(js,{className:"p-8 relative",children:[l.jsx("div",{className:"w-16 h-16 rounded-2xl flex items-center justify-center mb-6",style:{background:"linear-gradient(to bottom right, #B68F3E, #C4A052)",boxShadow:"0 10px 30px rgba(182, 143, 62, 0.3)"},children:l.jsx(fh,{className:"w-8 h-8 text-black"})}),l.jsx("h3",{className:"text-2xl font-bold text-white mb-4",children:"Generate High-Ticket Leads"}),l.jsx("p",{className:"text-slate-300 leading-relaxed",children:"Connect with decision-makers actively seeking premium solutions. Our curated network delivers qualified leads ready to invest in high-value services."})]})]})}),l.jsx(k.div,{variants:He,children:l.jsxs(ks,{className:"h-full bg-gradient-to-br from-slate-900 via-black to-slate-900 hover:from-slate-800 hover:to-slate-900 transition-all duration-300 group relative overflow-hidden",style:{border:"1px solid rgba(182, 143, 62, 0.3)",boxShadow:"0 10px 30px rgba(182, 143, 62, 0.15)"},children:[l.jsx("div",{className:"absolute top-0 right-0 w-32 h-32 rounded-full blur-3xl",style:{backgroundColor:"rgba(182, 143, 62, 0.1)"}}),l.jsxs(js,{className:"p-8 relative",children:[l.jsx("div",{className:"w-16 h-16 rounded-2xl flex items-center justify-center mb-6",style:{background:"linear-gradient(to bottom right, #B68F3E, #C4A052)",boxShadow:"0 10px 30px rgba(182, 143, 62, 0.3)"},children:l.jsx(xy,{className:"w-8 h-8 text-black"})}),l.jsx("h3",{className:"text-2xl font-bold text-white mb-4",children:"Find Referral Partners"}),l.jsx("p",{className:"text-slate-300 leading-relaxed",children:"Build strategic alliances with complementary businesses. Create a powerful referral network that drives consistent, quality opportunities to your door."})]})]})}),l.jsx(k.div,{variants:He,children:l.jsxs(ks,{className:"h-full bg-gradient-to-br from-slate-900 via-black to-slate-900 hover:from-slate-800 hover:to-slate-900 transition-all duration-300 group relative overflow-hidden",style:{border:"1px solid rgba(182, 143, 62, 0.3)",boxShadow:"0 10px 30px rgba(182, 143, 62, 0.15)"},children:[l.jsx("div",{className:"absolute top-0 right-0 w-32 h-32 rounded-full blur-3xl",style:{backgroundColor:"rgba(182, 143, 62, 0.1)"}}),l.jsxs(js,{className:"p-8 relative",children:[l.jsx("div",{className:"w-16 h-16 rounded-2xl flex items-center justify-center mb-6",style:{background:"linear-gradient(to bottom right, #B68F3E, #C4A052)",boxShadow:"0 10px 30px rgba(182, 143, 62, 0.3)"},children:l.jsx(hj,{className:"w-8 h-8 text-black"})}),l.jsx("h3",{className:"text-2xl font-bold text-white mb-4",children:"Secure Capital for Growth"}),l.jsx("p",{className:"text-slate-300 leading-relaxed",children:"Connect with investors and funding sources within our network. Access the capital and strategic partners needed to scale your business to new heights."})]})]})})]})]})}),l.jsx("section",{className:"py-20 px-6 bg-gradient-to-b from-slate-950 via-black to-slate-950",children:l.jsxs("div",{className:"max-w-7xl mx-auto",children:[l.jsxs(k.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"rounded-2xl overflow-hidden mb-16 relative",style:{border:"1px solid rgba(182,143,62,0.25)",maxHeight:"340px"},children:[l.jsx("img",{src:"https://media.base44.com/images/public/6945c5fdc9eab36b7d26fd72/5b7be8727_generated_image.png",alt:"Elite networking event",className:"w-full object-cover object-center",loading:"lazy",style:{maxHeight:"340px"}}),l.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to right, rgba(0,0,0,0.7) 0%, transparent 60%)"}}),l.jsx("div",{className:"absolute inset-0 flex items-center px-10 md:px-16",children:l.jsxs("div",{children:[l.jsx("p",{className:"text-xs font-bold tracking-widest uppercase mb-2",style:{color:"#B68F3E"},children:"Membership Benefits"}),l.jsxs("h2",{className:"text-3xl md:text-4xl font-bold text-white leading-tight",children:["Everything You Need",l.jsx("br",{}),"to Excel"]})]})})]}
272),l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:sr,className:"text-center mb-16",children:[l.jsx(k.div,{variants:He,children:l.jsxs(rc,{className:"mb-6 px-4 py-1.5 backdrop-blur-sm",style:{background:"linear-gradient(to right, rgba(182, 143, 62, 0.2), rgba(196, 160, 82, 0.2))",color:"#D4B068",border:"1px solid rgba(182, 143, 62, 0.3)"},children:[l.jsx(vy,{className:"w-4 h-4 mr-2 inline"}),"Complimentary Membership Benefits"]})}),l.jsxs(k.h2,{variants:He,className:"text-4xl md:text-5xl font-bold text-white mb-4",children:["Everything You Need to",l.jsx("span",{style:{background:"linear-gradient(to right, #C4A052, #D4B068)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:" Excel"})]}),l.jsx(k.p,{variants:He,className:"text-xl text-slate-300 max-w-2xl mx-auto",children:"Join Pantheon Connect and unlock these powerful features designed to accelerate your business growth."})]}),l.jsx(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-50px"},variants:sr,className:"grid md:grid-cols-2 gap-6",children:o.map((u,h)=>l.jsx(k.div,{variants:He,children:l.jsx(ks,{className:"h-full bg-gradient-to-br from-slate-900 to-black hover:from-slate-800 hover:to-slate-900 transition-all duration-300 group",style:{border:"1px solid rgba(182, 143, 62, 0.2)"},children:l.jsxs(js,{className:"p-8",children:[l.jsx("div",{className:"w-14 h-14 rounded-2xl flex items-center justify-center mb-6 transition-all duration-300",style:{background:"linear-gradient(to bottom right, rgba(88, 57, 18, 0.3), rgba(111, 85, 36, 0.2))",border:"1px solid rgba(182, 143, 62, 0.2)"},children:l.jsx(u.icon,{className:"w-7 h-7 transition-colors duration-300",style:{color:"#B68F3E"}})}),l.jsx("h3",{className:"text-xl font-bold text-white mb-3",children:u.title}),l.jsx("p",{className:"text-slate-300 leading-relaxed",children:u.description})]})})},h))})]})}),l.jsx("section",{className:"py-20 px-6 bg-gradient-to-b from-black via-slate-950 to-black",children:l.jsxs("div",{className:"max-w-7xl mx-auto",children:[l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:sr,className:"text-center mb-16",children:[l.jsx(k.div,{variants:He,children:l.jsxs(rc,{className:"mb-6 px-4 py-1.5 backdrop-blur-sm",style:{background:"linear-gradient(to right, rgba(182, 143, 62, 0.2), rgba(196, 160, 82, 0.2))",color:"#D4B068",border:"1px solid rgba(182, 143, 62, 0.3)"},children:[l.jsx(Vd,{className:"w-4 h-4 mr-2 inline"}),"Member Success Stories"]})}),l.jsxs(k.h2,{variants:He,className:"text-4xl md:text-5xl font-bold text-white mb-4",children:["Hear From Those Who've",l.jsx("span",{style:{background:"linear-gradient(to right, #C4A052, #D4B068)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:" Transformed"})]}),l.jsx(k.p,{variants:He,className:"text-xl text-slate-300 max-w-2xl mx-auto",children:"Join Pantheon Connect and experience real results—complimentary access to an elite network."})]}),l.jsx(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-50px"},variants:sr,className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[{quote:"When I joined The Pantheon I was burnt out after having run my agency for nearly 15 years. Josh and the team helped me to break a nearly 5 year plateau in under 2 weeks generating an additional $150k in sales. With this newfound growth they helped me to sell my company to a larger firm in a multi-seven figure exit within 3 months. The results these guys bring are truly unparalleled.",author:"Tyler Pigott",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/5fa802e85_1.png"},{quote:"Implementing the Pantheon process has transformed my sales into a predictable and consistent engine. I've increased my referrals tenfold and, more importantly, reignited my passion for business development. Now, I spend my days connecting with power partners who elevate my business by proximity.",author:"Kachina Gosselin",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/98913f77c_7.png"},{quote:"I built a multi-million dollar empire before I met the pantheon, and then they did something I never expected…they helped me to gain true clarity on how to promote my offers. This clarity has resulted in a drastic increase in our 
272close rate and helped us to build an inbound referral network. This program is the best use of time that a business can ask for.",author:"Tasha Chen",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/bd92209a1_3.png"},{quote:"I am a very technical person having spent the past few decades as a director in one of the world's largest aerospace companies. I have been so burnt out with this industry, but with a few simple trainings in the Pantheon I was able to structure my offer in a way that I can now sell my services for drastically more and this team has already helped me land 2 new consulting clients this quarter.",author:"Maria Aguirre",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/2880260b5_4.png"},{quote:'I have been privileged to work with the team from Pantheon for a few years now. I can honestly say that my business has grown, my network has grown, and my referrals have grown. This is simply a no-brainer if you are considering working with them. The only question I would ask you is "what are you waiting for?". These guys are the best and they can help your business to reach new heights.',author:"Barrett Matthews",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/39864cf51_2.png"},{quote:"Working with the pantheon has been an absolute pleasure. Their coaches encouraged me to launch an intimate high ticket mastermind group for the users of my software Podmatch. Within a few short months the mastermind group was full and I have an additional $192,000 per year coming through the door, and a true family in the podcast industry.",author:"Alex Sanfilippo",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/8008af220_8.png"},{quote:"I have been with Pantheon for over 2.5 years, and it has truly transformed my business and podcast. The knowledge and insights I've gained while working with their team have been invaluable. This year, I anticipate my income growing by ten times, thanks to the strategies I've learned and implemented through Pantheon. If you want to elevate your business and personal growth, this is the place to be. Don't miss this incredible opportunity for yourself!",author:"Steve Ramona",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/1e4834b21_5.png"},{quote:"These guys are the real deal! I wanted to make an authority play to establish my thought leader brand and these guys not only helped me break the top 1% with my podcast, but I made multiple sales of my 6-figure coaching program because of what we did with my outreach program",author:"Katie Richardson",image:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6945c5fdc9eab36b7d26fd72/cdee7b8d3_6.png"}].map((u,h)=>l.jsx(k.div,{variants:He,children:l.jsx(ks,{className:"h-full bg-gradient-to-br from-slate-900 to-black hover:from-slate-800 hover:to-slate-900 transition-all duration-300 group",style:{border:"1px solid rgba(182, 143, 62, 0.2)"},children:l.jsxs(js,{className:"p-6 flex flex-col h-full",children:[l.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[l.jsx("img",{src:u.image,alt:u.author,className:"w-16 h-16 rounded-full object-cover ring-2 ring-offset-2 ring-offset-slate-900",loading:"lazy",style:{ringColor:"rgba(182, 143, 62, 0.5)"}}),l.jsxs("div",{children:[l.jsx("p",{className:"font-semibold mb-1",style:{color:"#D4B068"},children:u.author}),l.jsx("div",{className:"flex gap-1",children:[...Array(5)].map((p,g)=>l.jsx(Vd,{className:"w-3.5 h-3.5 fill-current",style:{color:"#B68F3E"}},g))})]})]}),l.jsxs("p",{className:"text-slate-300 leading-relaxed text-sm italic flex-grow",children:['"',u.quote,'"']})]})})},h))})]})}),l.jsx("section",{className:"py-20 px-6 bg-gradient-to-b from-slate-950 to-black",children:l.jsx("div",{className:"max-w-7xl mx-auto",children:l.jsx(k.div,{initial:"hidden",
272whileInView:"visible",viewport:{once:!0},variants:sr,className:"text-center",children:l.jsx(k.div,{variants:He,className:"grid grid-cols-2 md:grid-cols-4 gap-8 mb-16",children:[{value:"50,000+",label:"Pantheon Members"},{value:"$1.4B+",label:"Revenue Generated"},{value:"122K+",label:"Referrals Generated"},{value:"150+",label:"Industries"}].map((u,h)=>l.jsxs("div",{className:"text-center",children:[l.jsx("p",{className:"text-4xl md:text-5xl font-bold mb-2",style:{background:"linear-gradient(to right, #C4A052, #D4B068)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:u.value}),l.jsx("p",{className:"text-slate-400",children:u.label})]},h))})})})}),l.jsxs("section",{className:"py-20 px-6 bg-gradient-to-b from-black via-slate-950 to-black relative overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 opacity-5",children:l.jsx("div",{className:"absolute top-0 left-0 w-full h-full",style:{backgroundImage:`radial-gradient(circle at 25% 25%, #B68F3E 1px, transparent 1px),
273                              radial-gradient(circle at 75% 75%, #C4A052 1px, transparent 1px)`,backgroundSize:"60px 60px"}})}),l.jsx("div",{className:"max-w-4xl mx-auto text-center relative",children:l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:sr,children:[l.jsx(k.div,{variants:He,children:l.jsx("div",{className:"w-20 h-20 mx-auto mb-8 rounded-2xl flex items-center justify-center shadow-2xl",style:{background:"linear-gradient(to bottom right, #B68F3E, #C4A052)",border:"1px solid rgba(182, 143, 62, 0.3)",boxShadow:"0 25px 50px rgba(182, 143, 62, 0.3)"},children:l.jsx(ff,{className:"w-10 h-10 text-black"})})}),l.jsx(k.h2,{variants:He,className:"text-4xl md:text-5xl font-bold text-white mb-6",children:"Ready to Elevate Your Network?"}),l.jsx(k.p,{variants:He,className:"text-xl text-slate-300 mb-10 max-w-2xl mx-auto",children:"Join thousands of entrepreneurs who are already elevating their business through exclusive connections. Join for free today!"}),l.jsx(k.div,{variants:He,className:"flex flex-col sm:flex-row items-center justify-center gap-4",children:l.jsxs(Ze,{size:"lg",onClick:i,className:"text-black font-bold text-lg px-10 py-7 rounded-xl shadow-2xl group",style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",boxShadow:"0 25px 50px rgba(182, 143, 62, 0.4)"},onMouseEnter:u=>{u.currentTarget.style.background="linear-gradient(to right, #A17C34, #B68F3E, #C4A052)"},onMouseLeave:u=>{u.currentTarget.style.background="linear-gradient(to right, #B68F3E, #C4A052, #D4B068)"},children:["Join Pantheon Connect — For Free",l.jsx(Ut,{className:"ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform"})]})}),l.jsxs(k.p,{variants:He,className:"text-slate-400 mt-6 text-sm",children:["Already a member?"," ",l.jsx("button",{onClick:n,className:"underline underline-offset-4",style:{color:"#C4A052"},onMouseEnter:u=>u.currentTarget.style.color="#D4B068",onMouseLeave:u=>u.currentTarget.style.color="#C4A052",children:"Login here"})]})]})})]}),l.jsx(Ln,{})]})]})}const j_={Home:k_},p1={mainPage:"Home",Pages:j_};function S_(){const t=Xi(),{isAuthenticated:e}=Vb(),{Pages:n,mainPage:i}=p1,o=i;return A.useEffect(()=>{var c;(c=window.parent)==null||c.postMessage({type:"app_changed_url",url:window.location.href},"*")},[t]),A.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&&Cs.appLogs.logUserInApp(u).catch(()=>{})},[t,e,n,o]),null}function N_({}){var o;const e=Xi().pathname.substring(1),{data:n,isFetched:i}=zS({queryKey:["user"],queryFn:async()=>{try{return{user:await Cs.auth.me(),isAuthenticated:!0}}catch{return{user:null,isAuthenticated:!1}}}});return l.jsx("div",{className:"min-h-screen flex items-center justify-center p-6 bg-slate-50",children:l.jsx("div",{className:"max-w-md w-full",children:l.jsxs("div",{className:"text-center space-y-6",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsx("h1",{className:"text-7xl font-light text-slate-300",children:"404"}),l.jsx("div",{className:"h-0.5 w-16 bg-slate-200 mx-auto"})]}),l.jsxs("div",{className:"space-y-3",children:[l.jsx("h2",{className:"text-2xl font-medium text-slate-800",children:"Page Not Found"}),l.jsxs("p",{className:"text-slate-600 leading-relaxed",children:["The page ",l.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"&&l.jsx("div",{className:"mt-8 p-4 bg-slate-100 rounded-lg border border-slate-200",children:l.jsxs("div",{className:"flex items-start space-x-3",children:[l.jsx("div",{className:"flex-shrink-0 w-5 h-5 rounded-full bg-orange-100 flex items-center justify-center mt-0.5",children:l.jsx("div",{className:"w-2 h-2 rounded-full bg-orange-400"})}),l.jsxs("div",{className:"text-left space-y-1",children:[l.jsx("p",{className:"text-sm font-medium text-slate-700",children:"Admin Note"}),l.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."})]})]})}),l.jsx("div",{className:"pt-6",children:l.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:[l.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:l.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 Be={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}},Vn={visible:{transition:{staggerChildren:.12}}},ir=({children:t})=>l.jsx("p",{className:"text-xs font-bold tracking-widest uppercase mb-3",style:{color:"#B68F3E"},children:t});function C_(){return l.jsxs("div",{className:"min-h-screen text-white",style:{backgroundColor:"#080808"},children:[l.jsx(On,{}),l.jsxs("section",{className:"relative min-h-screen flex items-center overflow-hidden",children:[l.jsxs("div",{className:"absolute inset-0",children:[l.jsx("img",{src:"https://media.base44.com/images/public/6945c5fdc9eab36b7d26fd72/b05d20c73_generated_image.png",alt:"Elite entrepreneurs networking",className:"w-full h-full object-cover object-center"}),l.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to right, rgba(0,0,0,0.93) 45%, rgba(0,0,0,0.5) 100%)"}}),l.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 50%)"}})]}),l.jsx("div",{className:"absolute top-1/3 left-1/4 w-96 h-96 rounded-full blur-3xl pointer-events-none",style:{backgroundColor:"rgba(182, 143, 62, 0.1)"}}),l.jsxs("div",{className:"relative max-w-7xl mx-auto px-6 pt-32 pb-24 w-full",children:[l.jsxs(k.div,{initial:"hidden",animate:"visible",variants:Vn,className:"max-w-2xl",children:[l.jsx(k.div,{variants:Be,children:l.jsx(ir,{children:"About The Pantheon"})}),l.jsxs(k.h1,{variants:Be,className:"text-5xl md:text-7xl font-bold leading-tight mb-8",children:["You didn't build a",l.jsx("br",{}),"high-ticket business"," ",l.jsx("span",{style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",WebkitBackgroun
273dClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"to play small."})]}),l.jsx(k.p,{variants:Be,className:"text-xl text-slate-300 leading-relaxed mb-5 max-w-xl",children:"Yet most entrepreneurs at your level are still stuck in the same broken networking loops — room after room of people who aren't on your level, conversations that lead nowhere, and a referral pipeline that depends entirely on luck."}),l.jsx(k.p,{variants:Be,className:"text-xl text-slate-300 leading-relaxed max-w-xl mb-10",children:"If you've felt like you were the smartest person in every room you walked into — that's not arrogance. That's a sign you're in the wrong rooms."}),l.jsxs(k.div,{variants:Be,className:"flex flex-col sm:flex-row gap-4 items-start",children:[l.jsx(rt,{to:"/gathering",children:l.jsxs(Ze,{size:"lg",className:"text-black font-bold text-lg px-10 py-6 rounded-xl shadow-2xl group",style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",boxShadow:"0 20px 40px rgba(182, 143, 62, 0.4)"},onMouseEnter:t=>{t.currentTarget.style.background="linear-gradient(to right, #A17C34, #B68F3E, #C4A052)"},onMouseLeave:t=>{t.currentTarget.style.background="linear-gradient(to right, #B68F3E, #C4A052, #D4B068)"},children:["Join a Free Networking Call",l.jsx(Ut,{className:"ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform"})]})}),l.jsxs("div",{className:"flex items-center gap-3 self-center",children:[l.jsx("div",{className:"flex -space-x-2",children:[1,2,3].map(t=>l.jsx("div",{className:"w-9 h-9 rounded-full border-2 border-black bg-slate-700"},t))}),l.jsx("p",{className:"text-slate-400 text-sm",children:"Joined by 100+ elite entrepreneurs"})]})]})]}),l.jsx(k.div,{initial:{opacity:0,x:40},animate:{opacity:1,x:0},transition:{delay:.8,duration:.7},className:"hidden lg:flex flex-col gap-4 absolute right-10 top-1/2 -translate-y-1/2",children:[{value:"100+",label:"Elite Members"},{value:"5–6 Figure",label:"Deals Closed"},{value:"Curated",label:"Every Room"}].map((t,e)=>l.jsxs("div",{className:"px-6 py-4 rounded-xl backdrop-blur-md text-center",style:{background:"rgba(0,0,0,0.6)",border:"1px solid rgba(182,143,62,0.3)"},children:[l.jsx("p",{className:"text-2xl font-bold",style:{background:"linear-gradient(to right, #B68F3E, #D4B068)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:t.value}),l.jsx("p",{className:"text-slate-400 text-xs mt-1",children:t.label})]},e))})]})]}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#0a0a0a"},children:l.jsx("div",{className:"max-w-3xl mx-auto text-center",children:l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Vn,children:[l.jsx(k.div,{variants:Be,className:"inline-block px-4 py-1.5 rounded-full text-xs font-bold tracking-widest uppercase mb-10",style:{background:"rgba(182,143,62,0.1)",border:"1px solid rgba(182,143,62,0.3)",color:"#B68F3E"},children:"pan·the·on  /ˈpanTHēˌän/"}),l.jsx(k.p,{variants:Be,className:"text-slate-500 text-sm uppercase tracking-widest mb-4",children:"noun"}),l.jsxs(k.h2,{variants:Be,className:"text-3xl md:text-4xl font-bold text-white leading-snug mb-6",children:['"A group of the most'," ",l.jsx("span",{style:{background:"linear-gradient(to right, #B68F3E, #D4B068)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"celebrated, talented,"})," ",'or influential people."']}),l.jsx(k.p,{variants:Be,className:"text-slate-400 text-lg leading-relaxed max-w-2xl mx-auto",children:"That's not a coincidence. The name was chosen on purpose. We don't build rooms for everyone — we build rooms for the people who are genuinely changing the game in their industry. That's who belongs in a Pantheon. That might be you."})]})})}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#0f0f0f"},children:l.jsx("div",{className:"max-w-3xl mx-auto",children:l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Vn,children:[l.jsxs(k.div,{variants:Be,children:[l.jsx(ir,{children:"The Problem"}),l.jsx("h2",{className:"text-4xl font-bold mb-12",children:"Traditional networking is broken."})]}),l.jsx("div",{className:"space-y-4",children:["You spend 2 hours at an event and walk away with 12 business cards and zero real connections.","You join a mastermind and realize half the room is still figuring out their offer.",`You're told "just show up and give value" — but nobody's giving value back.`,"Referrals feel random, relationships feel transactional, and growth feels isolated."].map((t,e)=>l.jsxs(k.div,{variants:Be,className:"flex items-start gap-4 p-5 rounded-xl",style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.06)"},children:[l.jsx(Xr,{className:"w-5 h-5 mt-0.5 shrink-0",style:{color:"#B68F3E"}}),l.jsx("p",{className:"text-slate-300 text-lg",children:t})]},e))}),l.jsx(k.p,{variants:Be,className:"text-slate-400 text-xl mt-10 leading-relaxed",children:"The problem isn't you. The problem is the environment. Proximity is everything — and most entrepreneurs have never been in a room truly built for them."})]})})}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#0a0a0a"},children:l.jsx("div",{className:"max-w-6xl mx-auto",children:l.jsx(k.div,{initial:"hidden",
273whileInView:"visible",viewport:{once:!0},variants:Vn,children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[l.jsxs(k.div,{variants:Be,className:"relative order-last lg:order-first",children:[l.jsxs("div",{className:"relative rounded-2xl overflow-hidden",style:{border:"1px solid rgba(182,143,62,0.25)"},children:[l.jsx("img",{src:"https://media.base44.com/images/public/6945c5fdc9eab36b7d26fd72/4cd10fb90_generated_image.png",alt:"Entrepreneurs closing a deal",className:"w-full object-cover",style:{maxHeight:"520px"}}),l.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%)"}})]}),l.jsxs("div",{className:"absolute -bottom-6 -right-4 max-w-xs p-5 rounded-xl backdrop-blur-md hidden md:block",style:{background:"rgba(0,0,0,0.9)",border:"1px solid rgba(182,143,62,0.3)"},children:[l.jsx("p",{className:"text-white text-sm italic leading-relaxed",children:`"High-level entrepreneurs don't need more connections. They need the right ones."`}),l.jsx("div",{className:"w-8 h-0.5 mt-3 rounded-full",style:{background:"linear-gradient(to right, #B68F3E, #D4B068)"}})]})]}),l.jsxs(k.div,{variants:Be,children:[l.jsx(ir,{children:"Our Story"}),l.jsx("h2",{className:"text-4xl font-bold mb-8",children:"Why The Pantheon was built."}),l.jsxs("div",{className:"space-y-5 text-slate-300 text-lg leading-relaxed",children:[l.jsx("p",{children:"The Pantheon wasn't born from a business plan. It was born from frustration."}),l.jsx("p",{children:"Our founder spent years building a high-ticket B2B business, showing up to networking events, investing in masterminds, and trying to build meaningful partnerships. And almost every time, the same thing happened: the depth just wasn't there."}),l.jsxs("p",{children:["The insight was simple but powerful: ",l.jsx("span",{className:"text-white font-semibold",children:"high-level entrepreneurs don't need more connections. They need the right ones."})," Not a room full of 200 strangers. A curated circle of operators who are already on their level — and actively looking to build with people like them."]}),l.jsx("p",{children:"That insight became The Pantheon. A network built differently — from the ground up — to serve the specific needs of elite B2B entrepreneurs who are serious about growth, relationships, and doing real business together."})]})]})]})})})}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#111111"},children:l.jsx("div",{className:"max-w-4xl mx-auto",children:l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Vn,children:[l.jsxs(k.div,{variants:Be,className:"text-center mb-12",children:[l.jsx(ir,{children:"What We Are"}),l.jsx("h2",{className:"text-4xl font-bold mb-4",children:"An ecosystem, not just a network."}),l.jsx("p",{className:"text-slate-400 text-xl max-w-2xl mx-auto",children:"The Pantheon is a private community and referral ecosystem built exclusively for owners of high-ticket B2B service businesses."})]}),l.jsx("div",{className:"grid md:grid-cols-2 gap-5",children:[{title:"Curated Rooms",desc:"Every room is intentionally built around shared industries, business stages, and goals — so every conversation has context."},{title:"Real Referrals",desc:"A structured referral system that turns relationships into revenue. Not luck — by design."},{title:"Strategic Connections",desc:"We don't just introduce you to people. We connect you to the right people at the right time."},{title:"Ongoing Collaboration",desc:"Members don't just meet once. They build long-term partnerships, joint ventures, and referral pipelines together."}].map((t,e)=>l.jsxs(k.div,{variants:Be,className:"p-6 rounded-xl",style:{background:"rgba(182,143,62,0.07)",border:"1px solid rgba(182,143,62,0.2)"},children:[l.jsx("h3",{className:"text-white font-bold text-lg mb-2",children:t.title}),l.jsx("p",{className:"text-slate-400",children:t.desc})]},e))})]})})}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#0a0a0a"},children:l.jsx("div",{className:"max-w-3xl mx-auto",children:l.jsxs(k.div,{initial:"hidden",
273whileInView:"visible",viewport:{once:!0},variants:Vn,children:[l.jsxs(k.div,{variants:Be,className:"mb-12",children:[l.jsx(ir,{children:"What Sets Us Apart"}),l.jsxs("h2",{className:"text-4xl font-bold",children:["We don't do networking.",l.jsx("br",{}),"We do relationships."]})]}),l.jsx("div",{className:"space-y-5",children:[{label:"Curated rooms vs. open networking",desc:"Every member is vetted. Every room has a purpose. You're never in a random room wondering if anyone here is relevant to your business."},{label:"Relationship-first, not transaction-first",desc:"We believe the best business comes from genuine trust. The Pantheon is built to develop real relationships — deals and referrals are a natural byproduct."},{label:"Quality over quantity. Always.",desc:"We'd rather have 100 deeply connected members than 10,000 strangers. Every person in The Pantheon is here because they belong here."},{label:"Built-in referral systems",desc:"We don't just hope referrals happen. We build the infrastructure that makes them inevitable — consistent, trackable, and mutual."}].map((t,e)=>l.jsxs(k.div,{variants:Be,className:"flex gap-5 p-6 rounded-xl",style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(182,143,62,0.12)"},children:[l.jsx(Ms,{className:"w-6 h-6 shrink-0 mt-0.5",style:{color:"#B68F3E"}}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-white font-semibold text-lg mb-1",children:t.label}),l.jsx("p",{className:"text-slate-400",children:t.desc})]})]},e))})]})})}),l.jsxs("section",{className:"py-28 px-6 relative overflow-hidden",style:{backgroundColor:"#0d0b08"},children:[l.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse at center, rgba(182,143,62,0.1) 0%, transparent 68%)"}}),l.jsx("div",{className:"max-w-3xl mx-auto text-center relative",children:l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Vn,children:[l.jsx(k.div,{variants:Be,children:l.jsx(ir,{children:"Our Mission"})}),l.jsxs(k.h2,{variants:Be,className:"text-4xl md:text-5xl font-bold mb-8",children:["We believe entrepreneurs"," ",l.jsx("span",{style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"change the world."})]}),l.jsx(k.p,{variants:Be,className:"text-2xl font-semibold text-white mb-6",children:"Not politicians. Not corporations. Entrepreneurs."}),l.jsx(k.p,{variants:Be,className:"text-slate-300 text-xl leading-relaxed mb-5",children:"The fastest path to meaningful impact — economic, social, and generational — runs through people who build things. Who take risks. Who create value where none existed before."}),l.jsx(k.p,{variants:Be,className:"text-slate-300 text-xl leading-relaxed",children:"Our mission is to accelerate that impact by connecting the entrepreneurs doing the work — giving them the relationships and resources they need to grow faster, build stronger, and make a bigger dent in the world. The Pantheon isn't just a network. It's a movement."})]})})]}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#111111"},children:l.jsx("div",{className:"max-w-3xl mx-auto",children:l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Vn,children:[l.jsxs(k.div,{variants:Be,className:"text-center mb-16",children:[l.jsx(ir,{children:"Is This For You?"}),l.jsxs("h2",{className:"text-4xl md:text-5xl font-bold leading-tight",children:["The Pantheon is built for",l.jsx("br",{}),l.jsx("span",{style:{background:"linear-gradient(to right, #B68F3E, #D4B068)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"a specific kind of operator."})]})]}),l.jsxs(k.div,{variants:Be,className:"mb-4",children:[l.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[l.jsx("div",{className:"h-px flex-1",style:{background:"linear-gradient(to right, transparent, rgba(182,143,62,0.4))"}}),l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase px-3 py-1 rounded-full",style:{color:"#C4A052",background:"rgba(182,143,62,0.1)",border:"1px solid rgba(182,143,62,0.25)"},children:"You're In"}),l.jsx("div",{className:"h-px flex-1",style:{background:"linear-gradient(to left, transparent, rgba(182,143,62,0.4))"}})]}),l.jsx("div",{className:"space-y-2",children:["You own a high-ticket B2B service business","You're a consultant, agency owner, or coach generating real revenue","You're relationship-driven and genuinely want to help others grow","You're ready to give and receive high-quality referrals","You're done with surface-level networking and ready for depth"].map((t,e)=>l.jsxs("div",{className:"flex items-center gap-4 px-5 py-4 rounded-xl",style:{background:"rgba(182,143,62,0.06)",border:"1px solid rgba(182,143,62,0.18)"},children:[l.jsx(Ms,{className:"w-5 h-5 shrink-0",style:{color:"#B68F3E"}}),l.jsx("p",{className:"text-white font-medium",children:t})]},e))})]}),l.jsxs(k.div,{variants:Be,className:"mt-10",children:[l.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[l.jsx("div",{className:"h-px flex-1 bg-slate-800"}),l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase px-3 py-1 rounded-full text-slate-600 bg-slate-900 border border-slate-800",children:"Not For You"}),l.jsx("div",{className:"h-px flex-1 bg-slate-800"})]}),l.jsx("div",{className:"space-y-2",children:["You're still validating your offer or haven't landed clients yet","You show up to take but aren't willing to contribute","You treat networking as a numbers game","You're looking for a shortcut, not a real community"].map((t,e)=>l.jsxs("div",{className:"flex items-center gap-4 px-5 py-4 rounded-xl",style:{background:"rgba(255,255,255,0.02)",border:"1px solid rgba(255,255,255,0.05)"},children:[l.jsx(Xr,{className:"w-5 h-5 shrink-0 text-slate-600"}),l.jsx("p",{className:"text-slate-500",children:t})]},e))})]})]})})}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#0a0a0a"},children:l.jsx("div",{className:"max-w-4xl mx-auto",children:l.jsxs(k.div,{initial:"hidden",
273whileInView:"visible",viewport:{once:!0},variants:Vn,children:[l.jsxs(k.div,{variants:Be,className:"text-center mb-12",children:[l.jsx(ir,{children:"Member Results"}),l.jsxs("h2",{className:"text-4xl font-bold",children:["This is what happens when",l.jsx("br",{}),"the right people connect."]})]}),l.jsx("div",{className:"grid md:grid-cols-3 gap-5",children:[{stat:"Referral Partnerships",desc:"Members regularly walk away from their first call with 2–3 warm introductions to ideal clients or strategic partners."},{stat:"Closed Deals",desc:"Relationships formed in The Pantheon have led directly to five and six-figure contracts — often within weeks of meeting."},{stat:"Long-Term Alliances",desc:"Many of our members have formed joint ventures, co-created offers, and lasting partnerships that go far beyond a single referral."}].map((t,e)=>l.jsxs(k.div,{variants:Be,className:"p-6 rounded-xl text-center",style:{background:"rgba(182,143,62,0.06)",border:"1px solid rgba(182,143,62,0.2)"},children:[l.jsx("h3",{className:"font-bold text-lg mb-3",style:{background:"linear-gradient(to right, #B68F3E, #D4B068)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:t.stat}),l.jsx("p",{className:"text-slate-400 text-sm leading-relaxed",children:t.desc})]},e))})]})})}),l.jsxs("section",{className:"py-28 px-6 relative overflow-hidden",style:{backgroundColor:"#0d0b08"},children:[l.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse at center, rgba(182,143,62,0.12) 0%, transparent 65%)"}}),l.jsx("div",{className:"max-w-2xl mx-auto text-center relative",children:l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Vn,children:[l.jsx(k.div,{variants:Be,children:l.jsx(ir,{children:"Ready to Join?"})}),l.jsx(k.h2,{variants:Be,className:"text-4xl md:text-5xl font-bold mb-6",children:"Your next great business relationship is one conversation away."}),l.jsx(k.p,{variants:Be,className:"text-slate-300 text-xl mb-10 leading-relaxed",children:"Start with a free networking call. No pitch. No pressure. Just real conversation with entrepreneurs who are building at your level — and genuinely want to see you win."}),l.jsxs(k.div,{variants:Be,children:[l.jsx(rt,{to:"/gathering",children:l.jsxs(Ze,{size:"lg",className:"text-black font-bold text-lg px-12 py-7 rounded-xl shadow-2xl group",style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",boxShadow:"0 25px 50px rgba(182, 143, 62, 0.35)"},onMouseEnter:t=>{t.currentTarget.style.background="linear-gradient(to right, #A17C34, #B68F3E, #C4A052)"},onMouseLeave:t=>{t.currentTarget.style.background="linear-gradient(to right, #B68F3E, #C4A052, #D4B068)"},children:["Join a Free Networking Call",l.jsx(Ut,{className:"ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform"})]})}),l.jsx("p",{className:"text-slate-600 text-sm mt-5",children:"No commitment. No cost. Just the right room."})]})]})})]}),l.jsx(Ln,{})]})}const dt={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}},vi={visible:{transition:{staggerChildren:.12}}},xi=({children:t})=>l.jsx("p",{className:"text-xs font-bold tracking-widest uppercase mb-3",style:{color:"#B68F3E"},children:t}),E_=()=>l.jsx("div",{className:"w-12 h-0.5 my-6 rounded-full",style:{background:"linear-gradient(to right, #B68F3E, #D4B068)"}});function T_(){return l.jsxs("div",{className:"min-h-screen text-white",style:{backgroundColor:"#080808"},children:[l.jsx(On,{}),l.jsx("section",{className:"pt-32 pb-20 px-6",style:{backgroundColor:"#080808"},children:l.jsx("div",{className:"max-w-6xl mx-auto",children:l.jsxs(k.div,{initial:"hidden",animate:"visible",variants:vi,className:"grid lg:grid-cols-2 gap-16 items-center",children:[l.jsxs(k.div,{variants:dt,children:[l.jsx(xi,{children:"Meet The Founder"}),l.jsxs("h1",{className:"text-5xl md:text-6xl font-bold leading-tight mb-6",children:["I'm Josh Tapp.",l.jsx("br",{}),l.jsx("span",{style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",WebkitBackgroun
273dClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"I build companies that build other companies."})]}),l.jsx("p",{className:"text-xl text-slate-300 leading-relaxed mb-5",children:"I started my first business at 11. By 30, I had built and sold four companies. Today, I run Titan Holdings — a venture studio focused entirely on helping B2B service businesses grow through the right relationships, the right tools, and the right people."}),l.jsx("p",{className:"text-xl text-slate-300 leading-relaxed",children:"The Pantheon is one of those companies. It started as something I built for myself — and grew into a community of the world's best entrepreneurs."}),l.jsx(E_,{}),l.jsx(rt,{to:"/gathering"})]}),l.jsx(k.div,{variants:dt,className:"relative flex justify-center lg:justify-end",children:l.jsxs("div",{className:"relative",children:[l.jsx("div",{className:"absolute -inset-1 rounded-2xl blur-xl opacity-40",style:{background:"linear-gradient(to bottom right, #B68F3E, transparent)"}}),l.jsx("img",{src:"https://media.base44.com/images/public/6945c5fdc9eab36b7d26fd72/81ec9dcb1_IMG_9706.jpg",alt:"Josh Tapp — Founder of The Pantheon",className:"relative rounded-2xl object-cover object-top w-full max-w-sm",style:{border:"1px solid rgba(182,143,62,0.3)",maxHeight:"520px"}}),l.jsxs("div",{className:"absolute -bottom-5 -left-6 px-5 py-4 rounded-xl hidden md:block",style:{background:"rgba(0,0,0,0.95)",border:"1px solid rgba(182,143,62,0.3)"},children:[l.jsx("p",{className:"text-xs font-bold tracking-widest uppercase mb-1",style:{color:"#B68F3E"},children:"Founder & CEO"}),l.jsx("p",{className:"text-white font-bold text-lg leading-tight",children:"Josh Tapp"}),l.jsx("p",{className:"text-slate-400 text-sm",children:"Titan Holdings · The Pantheon"})]})]})})]})})}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#0f0f0f"},children:l.jsx("div",{className:"max-w-6xl mx-auto",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:vi,children:[l.jsxs(k.div,{variants:dt,children:[l.jsx(xi,{children:"The Story"}),l.jsx("h2",{className:"text-4xl font-bold mb-8",children:"Built from experience, not theory."})]}),l.jsxs("div",{className:"space-y-6 text-slate-300 text-xl leading-relaxed",children:[l.jsx(k.p,{variants:dt,children:"I started my first business at 11 years old. I didn't know what I was doing — but I knew I liked building things. By the time I was 30, I had built and sold four companies. Not all of them were pretty. But every single one taught me something I couldn't have learned any other way."}),l.jsxs(k.p,{variants:dt,children:["The biggest lesson? ",l.jsx("span",{className:"text-white font-semibold",children:"Who you know matters more than almost anything else."})," Not in a shallow, business-card way. In a real, deal-changing, trajectory-shifting way. The right introduction at the right time can do what years of grinding can't."]}),l.jsx(k.p,{variants:dt,children:"So I set out to build the room I always wished existed. A network designed from the ground up to put the right people together — and actually make business happen."}),l.jsxs(k.p,{variants:dt,children:["That became The Pantheon. And then it became something bigger than I ever planned: a community of over 50,000 of the world's best B2B entrepreneurs, built on one simple idea — ",l.jsx("span",{className:"text-white font-semibold",children:"you rise when the people around you rise."})]})]})]}),l.jsxs(k.div,{initial:{opacity:0,scale:1.03},whileInView:{opacity:1,scale:1},transition:{duration:.9,ease:"easeOut"},viewport:{once:!0},className:"relative hidden lg:block",children:[l.jsxs("div",{className:"rounded-2xl overflow-hidden",style:{border:"1px solid rgba(182,143,62,0.25)"},children:[l.jsx("img",{src:"https://media.base44.com/images/public/6945c5fdc9eab36b7d26fd72/199cd9df3_generated_image.png",alt:"Josh working at his desk",className:"w-full object-cover",style:{maxHeight:"520px"}}),l.jsx("div",{className:"absolute inset-0 rounded-2xl",style:{background:"linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%)"}})]}),l.jsxs("div",{className:"absolute -bottom-5 -left-5 px-5 py-4 rounded-xl hidden md:block",style:{background:"rgba(0,0,0,0.95)",border:"1px solid rgba(182,143,62,0.3)"},children:[l.jsx("p",{className:"text-xs font-bold tracking-widest uppercase mb-1",style:{color:"#B68F3E"},children:"4 Exits by 30"}),l.jsx("p",{className:"text-white font-semibold text-sm",children:"Every one taught me something money couldn't."})]})]})]})})}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#0a0a0a"},children:l.jsx("div",{className:"max-w-6xl mx-auto",children:l.jsxs(k.div,{initial:"hidden",
273whileInView:"visible",viewport:{once:!0},variants:vi,children:[l.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-start mb-12",children:[l.jsxs(k.div,{variants:dt,children:[l.jsx(xi,{children:"The Ecosystem"}),l.jsxs("h2",{className:"text-4xl font-bold mb-4",children:["Titan Holdings — a venture studio",l.jsx("br",{}),"built to grow B2B companies."]}),l.jsx("p",{className:"text-slate-400 text-xl leading-relaxed",children:"Today I run Titan Holdings. We build, own, and operate companies that help B2B service businesses grow. The playbook is simple: connect our clients to the right people, help them make more money, and build lasting relationships that compound over time."})]}),l.jsxs(k.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},transition:{duration:.8},viewport:{once:!0},className:"relative rounded-2xl overflow-hidden hidden lg:block",style:{border:"1px solid rgba(182,143,62,0.2)"},children:[l.jsx("img",{src:"https://media.base44.com/images/public/6945c5fdc9eab36b7d26fd72/9970badeb_generated_image.png",alt:"Elite business networking",className:"w-full object-cover",style:{maxHeight:"300px"}}),l.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 55%)"}})]})]}),l.jsx("div",{className:"grid md:grid-cols-2 gap-4",children:[{name:"The Pantheon",desc:"A private community and referral ecosystem for B2B entrepreneurs — the flagship."},{name:"Conquest",desc:"LinkedIn lead generation platform built for B2B service providers."},{name:"PR Blitz",desc:"A PR company that gets our clients the visibility they've earned."},{name:"Virtual Filipinos",desc:"Elite virtual assistant placement for growing businesses."},{name:"Investor Gateway",desc:"A platform connecting entrepreneurs with private investors and capital."},{name:"The Alliance",desc:"A strategic network for operators who are serious about long-term growth."}].map((t,e)=>l.jsxs(k.div,{variants:dt,className:"flex items-start gap-4 p-5 rounded-xl",style:{background:"rgba(182,143,62,0.07)",border:"1px solid rgba(182,143,62,0.18)"},children:[l.jsx(Fk,{className:"w-5 h-5 shrink-0 mt-0.5",style:{color:"#B68F3E"}}),l.jsxs("div",{children:[l.jsx("p",{className:"text-white font-bold",children:t.name}),l.jsx("p",{className:"text-slate-400 text-sm mt-0.5",children:t.desc})]})]},e))})]})})}),l.jsxs("section",{className:"py-24 px-6 relative overflow-hidden",style:{backgroundColor:"#0d0b08"},children:[l.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse at center, rgba(182,143,62,0.09) 0%, transparent 68%)"}}),l.jsx("div",{className:"max-w-3xl mx-auto relative",children:l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:vi,children:[l.jsxs(k.div,{variants:dt,children:[l.jsx(xi,{children:"What Drives Me"}),l.jsxs("h2",{className:"text-4xl md:text-5xl font-bold mb-8",children:["I believe entrepreneurs",l.jsx("br",{}),l.jsx("span",{style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"solve the world's biggest problems."})]})]}),l.jsxs("div",{className:"space-y-5 text-slate-300 text-xl leading-relaxed",children:[l.jsx(k.p,{variants:dt,children:"Not politicians. Not corporations. Entrepreneurs. People who build things from nothing, who take real risks, who create value where none existed before."}),l.jsx(k.p,{variants:dt,children:"That belief is what gets me up every morning. And it's what shapes every decision I make in how I build businesses, connect people, and invest my time. The more I can help the right entrepreneurs win, the bigger the ripple."}),l.jsx(k.p,{variants:dt,children:"My long-term vision is to build a family office — a portfolio of great companies and real estate that lasts for generations. I work with mid-sized companies, family offices, and private investment groups to make that happen. But even beyond the numbers — I want to build something that matters. Something that lasts."})]})]})})]}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#111111"},children:l.jsx("div",{className:"max-w-3xl mx-auto",children:l.jsxs(k.div,{initial:"hidden",
273whileInView:"visible",viewport:{once:!0},variants:vi,children:[l.jsxs(k.div,{variants:dt,children:[l.jsx(xi,{children:"Beyond Business"}),l.jsx("h2",{className:"text-4xl font-bold mb-8",children:"Big ambitions. Even bigger priorities."})]}),l.jsx(k.p,{variants:dt,className:"text-slate-300 text-xl leading-relaxed mb-8",children:"I'm 32 years old, based near Idaho Falls, Idaho. I'm a husband and a dad to two little boys — Griffin, who is 4, and Graham, who is 2. They are, without question, the best thing I've ever built."}),l.jsx(k.p,{variants:dt,className:"text-slate-300 text-xl leading-relaxed mb-10",children:"I'm done working by 5 PM every day. I take the full weekend off to be present with my family. And I'll never apologize for it — because I believe you can build something extraordinary without sacrificing the things that matter most. I want to prove that every single day."}),l.jsx("div",{className:"grid md:grid-cols-3 gap-4",children:[{icon:tj,label:"Family first",sub:"Done by 5 PM. Full weekends off."},{icon:Ui,label:"Community-built",sub:"Idaho Falls, ID — grounded & present."},{icon:Pc,label:"Legacy-focused",sub:"Building for generations, not quarters."}].map((t,e)=>null)})]})})}),l.jsxs("section",{className:"py-28 px-6 relative overflow-hidden",style:{backgroundColor:"#0d0b08"},children:[l.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse at center, rgba(182,143,62,0.12) 0%, transparent 65%)"}}),l.jsx("div",{className:"max-w-2xl mx-auto text-center relative",children:l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:vi,children:[l.jsx(k.div,{variants:dt,children:l.jsx(xi,{children:"Ready to be in the right room?"})}),l.jsxs(k.h2,{variants:dt,className:"text-4xl md:text-5xl font-bold mb-6",children:["Your next great business relationship",l.jsx("br",{}),"is one conversation away."]}),l.jsx(k.p,{variants:dt,className:"text-slate-300 text-xl mb-10 leading-relaxed",children:"Start with a free Pantheon networking call. No pitch. No pressure. Just a real room of high-level operators who want to see you win — and have the relationships to help make it happen."}),l.jsxs(k.div,{variants:dt,children:[l.jsx(rt,{to:"/gathering",children:l.jsxs(Ze,{size:"lg",className:"text-black font-bold text-lg px-12 py-7 rounded-xl shadow-2xl group",style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",boxShadow:"0 25px 50px rgba(182, 143, 62, 0.35)"},onMouseEnter:t=>{t.currentTarget.style.background="linear-gradient(to right, #A17C34, #B68F3E, #C4A052)"},onMouseLeave:t=>{t.currentTarget.style.background="linear-gradient(to right, #B68F3E, #C4A052, #D4B068)"},children:["Join a Free Networking Call",l.jsx(Ut,{className:"ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform"})]})}),l.jsx("p",{className:"text-slate-600 text-sm mt-5",children:"No commitment. No cost. Just the right room."})]})]})})]}),l.jsx(Ln,{})]})}const Ve={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}},vs={visible:{transition:{staggerChildren:.12}}},xs=({children:t})=>l.jsx("p",{className:"text-xs font-bold tracking-widest uppercase mb-3",style:{color:"#B68F3E"},children:t}),P_=()=>l.jsx("div",{className:"w-12 h-0.5 my-8 rounded-full",style:{background:"linear-gradient(to right, #B68F3E, #D4B068)"}});function A_(){const[t,e]=A.useState(!1);return l.jsxs("div",{className:"min-h-screen text-white",style:{backgroundColor:"#080808"},children:[t&&l.jsx(Ba,{onClose:()=>e(!1)}),l.jsx(On,{}),l.jsxs("section",{className:"pt-40 pb-28 px-6 relative overflow-hidden",style:{backgroundColor:"#080808"},children:[l.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse at 50% 0%, rgba(182,143,62,0.13) 0%, transparent 65%)"}}),l.jsx("div",{className:"max-w-4xl mx-auto text-center relative",children:l.jsxs(k.div,{initial:"hidden",animate:"visible",variants:vs,children:[l.jsx(k.div,{variants:Ve,children:l.jsx(xs,{children:"The Gathering — Revamped"})}),l.jsxs(k.h1,{variants:Ve,className:"text-5xl md:text-7xl font-bold leading-tight mb-6",children:["Stop Pitching.",l.jsx("br",{}),l.jsx("span",{style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",WebkitBackgroun
273dClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"Start Closing."})]}),l.jsx(k.p,{variants:Ve,className:"text-xl md:text-2xl text-slate-300 leading-relaxed max-w-2xl mx-auto mb-10",children:"The Gathering is the networking call for serious deal-makers — where showing your work gets you more referrals than any elevator pitch ever could."}),l.jsxs(k.div,{variants:Ve,children:[l.jsxs(Ze,{size:"lg",onClick:()=>e(!0),className:"text-black font-bold text-lg px-12 py-7 rounded-xl shadow-2xl group",style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",boxShadow:"0 25px 50px rgba(182, 143, 62, 0.3)"},onMouseEnter:n=>n.currentTarget.style.background="linear-gradient(to right, #A17C34, #B68F3E, #C4A052)",onMouseLeave:n=>n.currentTarget.style.background="linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",children:["Reserve My Free Seat",l.jsx(Ut,{className:"ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform"})]}),l.jsx("p",{className:"text-slate-600 text-sm mt-4",children:"Free to attend. Limited seats. No pitch required."})]})]})})]}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#0f0f0f"},children:l.jsx("div",{className:"max-w-3xl mx-auto",children:l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:vs,children:[l.jsxs(k.div,{variants:Ve,children:[l.jsx(xs,{children:"The Old Way"}),l.jsx("h2",{className:"text-4xl font-bold mb-8",children:"You've been to that call before."})]}),l.jsxs("div",{className:"space-y-5 text-slate-300 text-xl leading-relaxed",children:[l.jsx(k.p,{variants:Ve,children:"Twelve people on Zoom. Everyone waiting their turn. Someone reads their 60-second pitch off a script they've used 200 times. You smile, nod, and mentally check out."}),l.jsx(k.p,{variants:Ve,children:"Then it's your turn. You say what you always say. A few people half-listen. Nobody follows up. You block 45 minutes off your calendar next week and do it again."})]}),l.jsx(P_,{}),l.jsx(k.p,{variants:Ve,className:"text-white font-semibold text-xl mb-8",children:"Here's the truth nobody wants to say out loud:"}),l.jsx("div",{className:"space-y-4",children:["Asking for referrals doesn't get you referrals.","Pitching to people who don't understand your work doesn't build trust.","Networking that feels like a performance gets you performance-level results — which is to say, none."].map((n,i)=>l.jsxs(k.div,{variants:Ve,className:"flex items-start gap-4 p-5 rounded-xl",style:{background:"rgba(255,60,60,0.07)",border:"1px solid rgba(255,60,60,0.15)"},children:[l.jsx(Xr,{className:"w-5 h-5 shrink-0 mt-0.5 text-red-400"}),l.jsx("p",{className:"text-slate-300 text-lg",children:n})]},i))}),l.jsxs(k.p,{variants:Ve,className:"text-slate-400 text-lg leading-relaxed mt-8",children:["Traditional networking calls weren't built to generate real business. They were built so people could ",l.jsx("em",{children:"feel"})," productive. There's a difference."]})]})})}),l.jsxs("section",{className:"py-24 px-6 relative overflow-hidden",style:{backgroundColor:"#0d0b08"},children:[l.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse at center, rgba(182,143,62,0.09) 0%, transparent 68%)"}}),l.jsx("div",{className:"max-w-6xl mx-auto relative",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:vs,children:[l.jsxs(k.div,{variants:Ve,children:[l.jsx(xs,{children:"The New Way"}),l.jsxs("h2",{className:"text-4xl md:text-5xl font-bold mb-6",children:["We scrapped the pitch format.",l.jsx("br",{}),l.jsx("span",{style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"Entirely."})]})]}),l.jsxs("div",{className:"space-y-5 text-slate-300 text-xl leading-relaxed",children:[l.jsx(k.p,{variants:Ve,children:`No more elevator pitches. No more "who do you know that could use my services?" No more room full of people waiting for their 60 seconds and ignoring everyone else's.`}),l.jsx(k.p,{variants:Ve,children:"The Gathering is built on one insight that changes everything:"})]}
273),l.jsx(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Ve,className:"my-10 p-8 rounded-2xl",style:{background:"rgba(182,143,62,0.08)",border:"1px solid rgba(182,143,62,0.3)"},children:l.jsxs("p",{className:"text-xl md:text-2xl font-bold text-white leading-snug",children:[`"Referrals don't happen when you ask for them.`,l.jsx("br",{}),l.jsx("span",{style:{color:"#C4A052"},children:"They happen when people see exactly what you do"}),` — and trust that you're the best person to do it."`]})}),l.jsx(k.p,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Ve,className:"text-slate-300 text-xl leading-relaxed",children:"So instead of pitching, you show your work."})]}),l.jsxs(k.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},transition:{duration:.8},viewport:{once:!0},className:"relative hidden lg:block",children:[l.jsxs("div",{className:"rounded-2xl overflow-hidden",style:{border:"1px solid rgba(182,143,62,0.25)"},children:[l.jsx("img",{src:"https://media.base44.com/images/public/6945c5fdc9eab36b7d26fd72/87512c740_generated_image.png",alt:"Live deal discussion on a Gathering call",className:"w-full object-cover",style:{maxHeight:"520px"}}),l.jsx("div",{className:"absolute inset-0 rounded-2xl",style:{background:"linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 55%)"}})]}),l.jsxs("div",{className:"absolute -bottom-5 -left-5 px-5 py-4 rounded-xl hidden md:block",style:{background:"rgba(0,0,0,0.95)",border:"1px solid rgba(182,143,62,0.3)"},children:[l.jsx("p",{className:"text-xs font-bold tracking-widest uppercase mb-1",style:{color:"#B68F3E"},children:"Real Work. Real Trust."}),l.jsx("p",{className:"text-white font-semibold text-sm",children:"Show your work — let the room connect you."})]})]})]})})]}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#111111"},children:l.jsx("div",{className:"max-w-4xl mx-auto",children:l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:vs,children:[l.jsxs(k.div,{variants:Ve,className:"text-center mb-16",children:[l.jsx(xs,{children:"The Format"}),l.jsx("h2",{className:"text-4xl font-bold",children:"What actually happens on a Gathering call."})]}),l.jsx("div",{className:"space-y-6",children:[{step:"01",icon:Bk,title:"Wins Round",desc:"Share a recent deal you closed or a breakthrough you had. What happened, how you did it, and what it means for your clients. No fluff — just real results."},{step:"02",icon:Gk,title:"Your Offer or Project",desc:"Present something you're actively working on — a service you're selling, a deal you're trying to close, or a project you need to move forward. Be specific about what you're looking for: who needs to hear about this, who could buy it, or who could help make it happen."},{step:"03",icon:Ui,title:"The Room Connects You",desc:"The room's one job is to connect you with the right people. Members make live introductions, name specific buyers or partners, and open doors on the spot. You don't leave with advice — you leave with names, warm intros, and a clear next step."}].map((n,i)=>l.jsxs(k.div,{variants:Ve,className:"flex gap-6 p-6 rounded-2xl",style:{background:"rgba(182,143,62,0.06)",border:"1px solid rgba(182,143,62,0.18)"},children:[l.jsx("div",{className:"shrink-0",children:l.jsx("div",{className:"w-12 h-12 rounded-xl flex items-center justify-center",style:{background:"rgba(182,143,62,0.15)",border:"1px solid rgba(182,143,62,0.3)"},children:l.jsx(n.icon,{className:"w-5 h-5",style:{color:"#B68F3E"}})})}),l.jsxs("div",{children:[l.jsxs("p",{className:"text-xs font-bold tracking-widest uppercase mb-1",style:{color:"#B68F3E"},children:["Step ",n.step]}),l.jsx("h3",{className:"text-white font-bold text-xl mb-2",children:n.title}),l.jsx("p",{className:"text-slate-400 text-lg leading-relaxed",children:n.desc})]})]},i))}),l.jsx(k.p,{variants:Ve,className:"text-center text-slate-500 text-lg mt-8",children:"No scripts. No pitches. Just real professionals solving real problems in real time."})]})})}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#0a0a0a"},children:l.jsx("div",{className:"max-w-6xl mx-auto",children:l.jsx(k.div,{initial:"hidden",
273whileInView:"visible",viewport:{once:!0},variants:vs,children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-start mb-0",children:[l.jsxs(k.div,{variants:Ve,className:"mb-14",children:[l.jsx(xs,{children:"Why It Works"}),l.jsx("h2",{className:"text-4xl font-bold mb-8",children:"Showing your work does what pitching never could."}),l.jsx("div",{className:"grid grid-cols-1 gap-5",children:[{icon:ff,title:"You become impossible to forget.",desc:"When someone watches you navigate a complex deal, handle a difficult client, or solve a problem they've faced themselves — they remember you. Not your tagline. You."},{icon:Pc,title:"Trust is built in minutes, not months.",desc:"Competence is the fastest trust-builder in business. When your network sees how you think and what you deliver, they don't need to be convinced to send you referrals. They want to."},{icon:u0,title:"Referrals become specific and high-quality.",desc:'Vague pitches produce vague referrals. When people see your work in context, their referrals are precise: "I know exactly who needs to talk to you."'},{icon:Ui,title:"You get value on every call.",desc:"Collaboration on live deals means you're never just sitting through someone else's pitch. Every Gathering call is a working session that could unblock a deal or close a gap."}].map((n,i)=>l.jsxs(k.div,{variants:Ve,className:"p-6 rounded-2xl",style:{background:"rgba(182,143,62,0.06)",border:"1px solid rgba(182,143,62,0.18)"},children:[l.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center mb-4",style:{background:"rgba(182,143,62,0.15)"},children:l.jsx(n.icon,{className:"w-5 h-5",style:{color:"#B68F3E"}})}),l.jsx("h3",{className:"text-white font-bold text-lg mb-2",children:n.title}),l.jsx("p",{className:"text-slate-400 leading-relaxed",children:n.desc})]},i))})]}),l.jsxs(k.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},transition:{duration:.8},viewport:{once:!0},className:"relative hidden lg:block sticky top-24",children:[l.jsxs("div",{className:"rounded-2xl overflow-hidden",style:{border:"1px solid rgba(182,143,62,0.25)"},children:[l.jsx("img",{src:"https://media.base44.com/images/public/6945c5fdc9eab36b7d26fd72/b6b70f974_generated_image.png",alt:"Business introduction and warm referral handshake",className:"w-full object-cover",style:{maxHeight:"560px"}}),l.jsx("div",{className:"absolute inset-0 rounded-2xl",style:{background:"linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 55%)"}})]}),l.jsxs("div",{className:"absolute -bottom-5 -right-5 px-5 py-4 rounded-xl hidden md:block",style:{background:"rgba(0,0,0,0.95)",border:"1px solid rgba(182,143,62,0.3)"},children:[l.jsx("p",{className:"text-xs font-bold tracking-widest uppercase mb-1",style:{color:"#B68F3E"},children:"Warm Intros Only"}),l.jsx("p",{className:"text-white font-semibold text-sm",children:"You leave with names and open doors."})]})]})]})})})}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#0f0f0f"},children:l.jsx("div",{className:"max-w-3xl mx-auto",children:l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:vs,children:[l.jsxs(k.div,{variants:Ve,children:[l.jsx(xs,{children:"Who This Is For"}),l.jsx("h2",{className:"text-4xl font-bold mb-4",children:"Built for one kind of person."}),l.jsx("p",{className:"text-slate-400 text-xl mb-10 leading-relaxed",children:"Someone who is actively in the game — and done with networking that wastes their time."})]}),l.jsx("div",{className:"space-y-3 mb-10",children:["You're a consultant, agency owner, or B2B service provider with clients and deals in motion right now","You believe the quality of your work speaks louder than any sales pitch","You want referrals that come from genuine trust — not obligation","You're willing to be open about your work because you know transparency builds authority","You're done showing up to calls where nobody leaves with anything real"].map((n,i)=>l.jsxs(k.div,{variants:Ve,className:"flex items-start gap-4 p-4 rounded-xl",style:{background:"rgba(182,143,62,0.07)",border:"1px solid rgba(182,143,62,0.15)"},children:[l.jsx(Ms,{className:"w-5 h-5 shrink-0 mt-0.5",style:{color:"#B68F3E"}}),l.jsx("p",{className:"text-slate-300",children:n})]},i))}),l.jsxs(k.div,{variants:Ve,className:"p-6 rounded-2xl",style:{background:"rgba(255,60,60,0.05)",border:"1px solid rgba(255,60,60,0.15)"},children:[l.jsx("p",{className:"text-slate-400 font-semibold mb-3",children:"This is NOT for you if:"}),l.jsx("div",{className:"space-y-2",children:["You're still figuring out your offer or haven't landed paying clients","You need a script to explain what you do","You're not willing to contribute — only collect"].map((n,i)=>l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx(Xr,{className:"w-4 h-4 shrink-0 mt-0.5 text-red-400"}),l.jsx("p",{className:"text-slate-500 text-sm",children:n})]},i))})]})]})})}),l.jsxs("section",{id:"register",className:"py-28 px-6 relative overflow-hidden",style:{backgroundColor:"#0d0b08"},children:[l.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse at center, rgba(182,143,62,0.13) 0%, transparent 65%)"}}),l.jsx("div",{className:"max-w-2xl mx-auto text-center relative",children:l.jsxs(k.div,{initial:"hidden",
273whileInView:"visible",viewport:{once:!0},variants:vs,children:[l.jsx(k.div,{variants:Ve,children:l.jsx(xs,{children:"The Next Gathering"})}),l.jsxs(k.h2,{variants:Ve,className:"text-4xl md:text-5xl font-bold mb-6",children:["Your next great deal",l.jsx("br",{}),"starts with the right room."]}),l.jsx(k.p,{variants:Ve,className:"text-slate-300 text-xl mb-10 leading-relaxed",children:"No pitch required. No preparation beyond knowing what you're working on right now. Just show up, share your work, and watch what happens when a room full of serious deal-makers finally understands exactly what you do."}),l.jsxs(k.div,{variants:Ve,children:[l.jsxs(Ze,{size:"lg",onClick:()=>e(!0),className:"text-black font-bold text-lg px-12 py-7 rounded-xl shadow-2xl group",style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",boxShadow:"0 25px 50px rgba(182, 143, 62, 0.35)"},onMouseEnter:n=>n.currentTarget.style.background="linear-gradient(to right, #A17C34, #B68F3E, #C4A052)",onMouseLeave:n=>n.currentTarget.style.background="linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",children:["Reserve My Free Seat",l.jsx(Ut,{className:"ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform"})]}),l.jsx("p",{className:"text-slate-600 text-sm mt-5",children:"Free to attend. Limited seats to keep the room tight and the conversations real."})]})]})})]}),l.jsx(Ln,{})]})}const tt={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}},bi={visible:{transition:{staggerChildren:.12}}},wi=({children:t})=>l.jsx("p",{className:"text-xs font-bold tracking-widest uppercase mb-3",style:{color:"#B68F3E"},children:t}),__=()=>l.jsx("div",{className:"w-12 h-0.5 my-8 rounded-full",style:{background:"linear-gradient(to right, #B68F3E, #D4B068)"}});function R_(){return l.jsxs("div",{className:"min-h-screen text-white",style:{backgroundColor:"#080808"},children:[l.jsx(On,{}),l.jsxs("section",{className:"pt-40 pb-28 px-6 relative overflow-hidden",style:{backgroundColor:"#080808"},children:[l.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse at 50% 0%, rgba(182,143,62,0.13) 0%, transparent 65%)"}}),l.jsx("div",{className:"max-w-6xl mx-auto relative",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[l.jsxs(k.div,{initial:"hidden",animate:"visible",variants:bi,children:[l.jsx(k.div,{variants:tt,children:l.jsx(wi,{children:"Pantheon Members Only"})}),l.jsxs(k.h1,{variants:tt,className:"text-5xl md:text-7xl font-bold leading-tight mb-6",children:["The Aegis.",l.jsx("br",{}),l.jsx("span",{style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"Your Direct Path to the Right Solution."})]}),l.jsx(k.p,{variants:tt,className:"text-xl text-slate-300 leading-relaxed mb-10",children:"A complimentary one-on-one consulting call that tells you exactly which lever to pull right now — no guesswork, no overwhelm."}),l.jsxs(k.div,{variants:tt,children:[l.jsx("a",{href:"https://info.pantheon.fm/widget/bookings/landon-pettingill-30-minute-meeting",target:"_blank",rel:"noopener noreferrer",children:l.jsxs(Ze,{size:"lg",className:"text-black font-bold text-lg px-12 py-7 rounded-xl shadow-2xl group",style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",boxShadow:"0 25px 50px rgba(182, 143, 62, 0.3)"},onMouseEnter:t=>t.currentTarget.style.background="linear-gradient(to right, #A17C34, #B68F3E, #C4A052)",onMouseLeave:t=>t.currentTarget.style.background="linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",children:["Book Your Free Aegis Call",l.jsx(Ut,{className:"ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform"})]})}),l.jsx("p",{className:"text-slate-600 text-sm mt-4",children:"Exclusive to Pantheon members. Complimentary."})]})]}),l.jsxs(k.div,{initial:{opacity:0,x:30},animate:{opacity:1,x:0},transition:{duration:.9,ease:"easeOut",delay:.3},className:"relative hidden lg:block",children:[l.jsx("div",{className:"absolute -inset-1 rounded-2xl blur-xl opacity-30",style:{background:"linear-gradient(to bottom right, #B68F3E, transparent)"}}),l.jsxs("div",{className:"relative rounded-2xl overflow-hidden",style:{border:"1px solid rgba(182,143,62,0.3)"},children:[l.jsx("img",{src:"https://media.base44.com/images/public/6945c5fdc9eab36b7d26fd72/99fb8237f_generated_image.png",alt:"The Aegis — Strategic Direction",className:"w-full object-cover",style:{maxHeight:"500px"}}),l.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 55%)"}})]}),l.jsxs("div",{className:"absolute -bottom-5 -left-5 px-5 py-4 rounded-xl",style:{background:"rgba(0,0,0,0.95)",border:"1px solid rgba(182,143,62,0.3)"},children:[l.jsx("p",{className:"text-xs font-bold tracking-widest uppercase mb-1",style:{color:"#B68F3E"},children:"Complimentary"}),l.jsx("p",{className:"text-white font-bold text-lg leading-tight",children:"One Call. One Direction."}),l.jsx("p",{className:"text-slate-400 text-sm",children:"Exclusive to Pantheon Members"})]})]})]})})]}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#0f0f0f"},children:l.jsx("div",{className:"max-w-3xl mx-auto",children:l.jsxs(k.div,{initial:"hidden",
273whileInView:"visible",viewport:{once:!0},variants:bi,children:[l.jsxs(k.div,{variants:tt,children:[l.jsx(wi,{children:"The Challenge"}),l.jsx("h2",{className:"text-4xl font-bold mb-8",children:"You have the resources. But which one do you use right now?"})]}),l.jsxs("div",{className:"space-y-5 text-slate-300 text-xl leading-relaxed",children:[l.jsx(k.p,{variants:tt,children:"As a Pantheon member, you have access to a vast network of high-level entrepreneurs, exclusive investment opportunities, capital access, lead generation systems, and strategic exit partners."}),l.jsx(k.p,{variants:tt,children:"But with so many resources, connections, and potential paths forward, a new problem emerges:"})]}),l.jsx(k.div,{variants:tt,className:"my-10 p-8 rounded-2xl",style:{background:"rgba(182,143,62,0.08)",border:"1px solid rgba(182,143,62,0.3)"},children:l.jsx("p",{className:"text-2xl md:text-3xl font-bold text-white leading-snug text-center",children:l.jsx("span",{style:{color:"#C4A052"},children:"How do you know exactly which lever to pull right now?"})})}),l.jsx(k.p,{variants:tt,className:"text-slate-300 text-xl leading-relaxed",children:"When you are deep in the trenches of running your business, it is incredibly difficult to zoom out and see the most efficient path to your next milestone. You know you have a bottleneck — whether it is a lack of qualified lead flow, a need for debt financing, a gap in your marketing structure, or the need to prepare for a strategic exit — but finding the exact right person or service to solve it can feel like searching for a needle in a haystack."}),l.jsx(__,{}),l.jsx(k.p,{variants:tt,className:"text-white font-semibold text-xl",children:"That is why we created The Aegis."})]})})}),l.jsxs("section",{className:"py-24 px-6 relative overflow-hidden",style:{backgroundColor:"#0d0b08"},children:[l.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse at center, rgba(182,143,62,0.09) 0%, transparent 68%)"}}),l.jsx("div",{className:"max-w-3xl mx-auto relative",children:l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:bi,children:[l.jsxs(k.div,{variants:tt,children:[l.jsx(wi,{children:"Clarity in the Chaos"}),l.jsxs("h2",{className:"text-4xl md:text-5xl font-bold mb-6",children:["Think of it as your",l.jsx("br",{}),l.jsx("span",{style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"strategic compass."})]})]}),l.jsxs("div",{className:"space-y-5 text-slate-300 text-xl leading-relaxed",children:[l.jsx(k.p,{variants:tt,children:"The Aegis is a complimentary, one-
273on-one consulting call available exclusively to Pantheon members."}),l.jsx(k.p,{variants:tt,children:"You do not need to waste time researching which of our partners is the best fit for your current stage, or trying to figure out if you need a venture loan, a new lead gen system, or an introduction to a specific family office."}),l.jsx(k.p,{variants:tt,children:"You simply get on an Aegis call with one of our expert consultants, and we do the heavy lifting for you."})]})]})})]}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#111111"},children:l.jsx("div",{className:"max-w-4xl mx-auto",children:l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:bi,children:[l.jsxs(k.div,{variants:tt,className:"text-center mb-16",children:[l.jsx(wi,{children:"How It Works"}),l.jsx("h2",{className:"text-4xl font-bold",children:"You bring the problem. We point to the solution."})]}),l.jsx("div",{className:"space-y-6",children:[{step:"01",icon:hf,title:"Diagnose the Bottleneck",desc:"We look closely at where you currently are in your business and identify the primary obstacle holding you back from your next stage of growth."},{step:"02",icon:oj,title:"Map the Ecosystem",desc:"We know the Pantheon network inside and out. Whether the solution is an internal service like our Conquest lead generation, a strategic partner like STS Capital for an exit, or a direct introduction to a specific member in our community — we know exactly who can help."},{step:"03",icon:ff,title:"Provide the Shortest Path",desc:"We will not give you a list of ten things to try. We will give you the single fastest, most effective product, service, or person to solve your specific problem right now."}].map((t,e)=>l.jsxs(k.div,{variants:tt,className:"flex gap-6 p-6 rounded-2xl",style:{background:"rgba(182,143,62,0.06)",border:"1px solid rgba(182,143,62,0.18)"},children:[l.jsx("div",{className:"shrink-0",children:l.jsx("div",{className:"w-12 h-12 rounded-xl flex items-center justify-center",style:{background:"rgba(182,143,62,0.15)",border:"1px solid rgba(182,143,62,0.3)"},children:l.jsx(t.icon,{className:"w-5 h-5",style:{color:"#B68F3E"}})})}),l.jsxs("div",{children:[l.jsxs("p",{className:"text-xs font-bold tracking-widest uppercase mb-1",style:{color:"#B68F3E"},children:["Step ",t.step]}),l.jsx("h3",{className:"text-white font-bold text-xl mb-2",children:t.title}),l.jsx("p",{className:"text-slate-400 text-lg leading-relaxed",children:t.desc})]})]},e))})]})})}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#0a0a0a"},children:l.jsx("div",{className:"max-w-3xl mx-auto",children:l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:bi,children:[l.jsxs(k.div,{variants:tt,children:[l.jsx(wi,{children:"Stop Guessing. Start Executing."}),l.jsx("h2",{className:"text-4xl font-bold mb-4",children:"Book your Aegis call if you're facing any of these."}),l.jsx("p",{className:"text-slate-400 text-xl mb-10 leading-relaxed",children:"As a Pantheon member, you already have the tools you need to succeed at your fingertips. The Aegis call ensures you are picking up the right tool at the right time."})]}),l.jsx("div",{className:"space-y-3",children:["You have a bottleneck and aren't sure which solution to prioritize","You need qualified lead flow but don't know which system fits your model","You're exploring debt financing, capital access, or venture loans","You want to prepare for a strategic exit and need the right partners","You're not sure if you're maximizing the value of your Pantheon membership","You want one clear next step — not a list of ten things to try"].map((t,e)=>l.jsxs(k.div,{variants:tt,className:"flex items-start gap-4 p-4 rounded-xl",style:{background:"rgba(182,143,62,0.07)",border:"1px solid rgba(182,143,62,0.15)"},children:[l.jsx(Ms,{className:"w-5 h-5 shrink-0 mt-0.5",style:{color:"#B68F3E"}}),l.jsx("p",{className:"text-slate-300",children:t})]},e))})]})})}),l.jsxs("section",{className:"py-28 px-6 relative overflow-hidden",style:{backgroundColor:"#0d0b08"},children:[l.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse at center, rgba(182,143,62,0.13) 0%, transparent 65%)"}}),l.jsx("div",{className:"max-w-2xl mx-auto text-center relative",children:l.jsxs(k.div,{initial:"hidden",
273whileInView:"visible",viewport:{once:!0},variants:bi,children:[l.jsx(k.div,{variants:tt,children:l.jsx(wi,{children:"Your Next Step"})}),l.jsxs(k.h2,{variants:tt,className:"text-4xl md:text-5xl font-bold mb-6",children:["Let us point you in the",l.jsx("br",{}),l.jsx("span",{style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"exact right direction."})]}),l.jsx(k.p,{variants:tt,className:"text-slate-300 text-xl mb-10 leading-relaxed",children:"Do not let decision fatigue or a lack of clarity slow your momentum. If you are facing a roadblock, or if you simply want to ensure you are maximizing the value of your Pantheon membership, this call is your next step."}),l.jsxs(k.div,{variants:tt,children:[l.jsx("a",{href:"https://info.pantheon.fm/widget/bookings/landon-pettingill-30-minute-meeting",target:"_blank",rel:"noopener noreferrer",children:l.jsxs(Ze,{size:"lg",className:"text-black font-bold text-lg px-12 py-7 rounded-xl shadow-2xl group",style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",boxShadow:"0 25px 50px rgba(182, 143, 62, 0.35)"},onMouseEnter:t=>t.currentTarget.style.background="linear-gradient(to right, #A17C34, #B68F3E, #C4A052)",onMouseLeave:t=>t.currentTarget.style.background="linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",children:["Book Your Free Aegis Call Now",l.jsx(Ut,{className:"ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform"})]})}),l.jsx("p",{className:"text-slate-600 text-sm mt-5",children:"Complimentary. Exclusive to Pantheon members. One call. One direction."})]})]})})]}),l.jsx(Ln,{})]})}const Ge={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}},ki={visible:{transition:{staggerChildren:.12}}},ji=({children:t})=>l.jsx("p",{className:"text-xs font-bold tracking-widest uppercase mb-3",style:{color:"#B68F3E"},children:t});function O_(){const[t,e]=A.useState(!1);return l.jsxs("div",{className:"min-h-screen text-white",style:{backgroundColor:"#080808"},children:[l.jsx(On,{}),t&&l.jsx(Ba,{onClose:()=>e(!1)}),l.jsxs("section",{className:"pt-40 pb-28 px-6 relative overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse at 50% 0%, rgba(182,143,62,0.13) 0%, transparent 65%)"}}),l.jsx("div",{className:"max-w-6xl mx-auto relative",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[l.jsxs(k.div,{initial:"hidden",animate:"visible",variants:ki,children:[l.jsx(k.div,{variants:Ge,children:l.jsx(ji,{children:"100% Free to Join"})}),l.jsxs(k.h1,{variants:Ge,className:"text-5xl md:text-7xl font-bold leading-tight mb-6",children:["The Alliance.",l.jsx("br",{}),l.jsx("span",{style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"Get Paid for Your Network."})]}),l.jsx(k.p,{variants:Ge,className:"text-xl text-slate-300 leading-relaxed mb-10",children:"You already did the hard work of building an audience. Now let us help you monetize it with top-tier B2B offers that actually help people."}),l.jsx(k.div,{variants:Ge,className:"flex flex-col sm:flex-row gap-4",children:l.jsx("a",{href:"https://members.pantheonconnect.com/communities/groups/the-alliance/home?invite=69e3294fd185c1b390a96c40",target:"_blank",rel:"noopener noreferrer",children:l.jsxs(Ze,{size:"lg",className:"text-black font-bold text-lg px-10 py-7 rounded-xl shadow-2xl group",style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",boxShadow:"0 25px 50px rgba(182, 143, 62, 0.3)"},onMouseEnter:n=>n.currentTarget.style.background="linear-gradient(to right, #A17C34, #B68F3E, #C4A052)",onMouseLeave:n=>n.currentTarget.style.background="linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",children:["Join The Alliance Free",l.jsx(Ut,{className:"ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform"})]})})}),l.jsx(k.p,{variants:Ge,className:"text-slate-600 text-sm mt-4",children:"No cost. No risk. When you win, we win."})]}),l.jsxs(k.div,{initial:{opacity:0,x:30}
273,animate:{opacity:1,x:0},transition:{duration:.9,ease:"easeOut",delay:.3},className:"relative hidden lg:block",children:[l.jsx("div",{className:"absolute -inset-1 rounded-2xl blur-xl opacity-30",style:{background:"linear-gradient(to bottom right, #B68F3E, transparent)"}}),l.jsxs("div",{className:"relative rounded-2xl overflow-hidden",style:{border:"1px solid rgba(182,143,62,0.3)"},children:[l.jsx("img",{src:"https://media.base44.com/images/public/6945c5fdc9eab36b7d26fd72/0d5c4c965_generated_image.png",alt:"The Alliance — Partnership and Growth",className:"w-full object-cover",style:{maxHeight:"500px"}}),l.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 55%)"}})]}),l.jsxs("div",{className:"absolute -bottom-5 -right-5 px-5 py-4 rounded-xl",style:{background:"rgba(0,0,0,0.95)",border:"1px solid rgba(182,143,62,0.3)"},children:[l.jsx("p",{className:"text-xs font-bold tracking-widest uppercase mb-1",style:{color:"#B68F3E"},children:"100% Free"}),l.jsx("p",{className:"text-white font-bold text-lg leading-tight",children:"Zero Cost to Join"}),l.jsx("p",{className:"text-slate-400 text-sm",children:"We only win when you win"})]})]})]})})]}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#0f0f0f"},children:l.jsx("div",{className:"max-w-6xl mx-auto",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:ki,children:[l.jsxs(k.div,{variants:Ge,children:[l.jsx(ji,{children:"A Word From Josh Tapp"}),l.jsx("h2",{className:"text-4xl font-bold mb-8",children:"The Big Idea"})]}),l.jsxs("div",{className:"space-y-5 text-slate-300 text-xl leading-relaxed",children:[l.jsx(k.p,{variants:Ge,children:"You have an audience. You have people who trust you. We have highly vetted, top-tier B2B offers."}),l.jsx(k.p,{variants:Ge,children:"When you join The Alliance, you get access to these offers. You promote them to your audience. When a deal closes, you get paid. It is that simple."})]}),l.jsxs(k.div,{variants:Ge,className:"my-10 p-8 rounded-2xl",style:{background:"rgba(182,143,62,0.08)",border:"1px solid rgba(182,143,62,0.3)"},children:[l.jsx("p",{className:"text-slate-400 text-sm mb-3 italic",children:"Think about it."}),l.jsxs("p",{className:"text-2xl font-bold text-white leading-snug",children:["If I send one email to my list, that is great. But what if"," ",l.jsx("span",{style:{color:"#C4A052"},children:"100 of us send the same email at the same time?"})]}),l.jsx("p",{className:"text-slate-300 text-lg mt-4 leading-relaxed",children:"That is massive traffic. That is how we solve really big problems. And that is how everyone gets paid."})]}),l.jsx(k.p,{variants:Ge,className:"text-slate-300 text-xl leading-relaxed",children:"Our mission at Titan is to solve the world's biggest problems through entrepreneurship. We can't do that alone. We need to link arms. We need you."})]}),l.jsxs(k.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},transition:{duration:.8},viewport:{once:!0},className:"relative hidden lg:block",children:[l.jsxs("div",{className:"rounded-2xl overflow-hidden",style:{border:"1px solid rgba(182,143,62,0.25)"},children:[l.jsx("img",{src:"https://media.base44.com/images/public/6945c5fdc9eab36b7d26fd72/4334461ad_generated_image.png",alt:"Audience building and monetization",className:"w-full object-cover",style:{maxHeight:"520px"}}),l.jsx("div",{className:"absolute inset-0 rounded-2xl",style:{background:"linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 55%)"}})]}),l.jsxs("div",{className:"absolute -bottom-5 -left-5 px-5 py-4 rounded-xl",style:{background:"rgba(0,0,0,0.95)",border:"1px solid rgba(182,143,62,0.3)"},children:[l.jsx("p",{className:"text-xs font-bold tracking-widest uppercase mb-1",style:{color:"#B68F3E"},children:"Simple"}),l.jsx("p",{className:"text-white font-semibold text-sm",children:"Promote. Close. Get Paid."})]})]})]})})}),l.jsxs("section",{className:"py-24 px-6 relative overflow-hidden",style:{backgroundColor:"#0d0b08"},children:[l.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse at center, rgba(182,143,62,0.09) 0%, transparent 68%)"}}),l.jsx("div",{className:"max-w-4xl mx-auto relative",children:l.jsxs(k.div,{initial:"hidden",
273whileInView:"visible",viewport:{once:!0},variants:ki,children:[l.jsxs(k.div,{variants:Ge,className:"text-center mb-16",children:[l.jsx(ji,{children:"What You Get"}),l.jsx("h2",{className:"text-4xl font-bold",children:"You don't just get links to promote."}),l.jsx("p",{className:"text-slate-400 text-xl mt-4",children:"You work directly with our team at Titan."})]}),l.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:[{icon:fh,title:"Top-Tier B2B Offers",desc:"Access to highly vetted offers that your audience will actually thank you for promoting."},{icon:Pc,title:"Training & Growth",desc:"We train you to expand your network, get into the right circles, and break into new industries."},{icon:Ui,title:"The Right Connections",desc:"We help you work with wealthier people and build the relationships that change your trajectory."}].map((n,i)=>l.jsxs(k.div,{variants:Ge,className:"p-6 rounded-2xl",style:{background:"rgba(182,143,62,0.06)",border:"1px solid rgba(182,143,62,0.18)"},children:[l.jsx("div",{className:"w-12 h-12 rounded-xl flex items-center justify-center mb-5",style:{background:"rgba(182,143,62,0.15)",border:"1px solid rgba(182,143,62,0.3)"},children:l.jsx(n.icon,{className:"w-5 h-5",style:{color:"#B68F3E"}})}),l.jsx("h3",{className:"text-white font-bold text-xl mb-2",children:n.title}),l.jsx("p",{className:"text-slate-400 leading-relaxed",children:n.desc})]},i))})]})})]}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#111111"},children:l.jsx("div",{className:"max-w-3xl mx-auto",children:l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:ki,children:[l.jsxs(k.div,{variants:Ge,children:[l.jsx(ji,{children:"Is This For You?"}),l.jsx("h2",{className:"text-4xl font-bold mb-4",children:"You're a perfect fit if you have any of the following."}),l.jsx("p",{className:"text-slate-400 text-xl mb-10",children:"If you have an audience that trusts you, you have everything you need."})]}),l.jsx("div",{className:"space-y-3",children:["A podcast with loyal listeners","A newsletter or email list","A Facebook group or online community","A social media following in a B2B niche","A personal brand with industry authority","Any audience that respects your recommendations"].map((n,i)=>l.jsxs(k.div,{variants:Ge,className:"flex items-start gap-4 p-4 rounded-xl",style:{background:"rgba(182,143,62,0.07)",border:"1px solid rgba(182,143,62,0.15)"},children:[l.jsx(Ms,{className:"w-5 h-5 shrink-0 mt-0.5",style:{color:"#B68F3E"}}),l.jsx("p",{className:"text-slate-300",children:n})]},i))})]})})}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#0a0a0a"},children:l.jsx("div",{className:"max-w-6xl mx-auto",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[l.jsxs(k.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},transition:{duration:.8},viewport:{once:!0},className:"relative hidden lg:block",children:[l.jsxs("div",{className:"rounded-2xl overflow-hidden",style:{border:"1px solid rgba(182,143,62,0.25)"},children:[l.jsx("img",{src:"https://media.base44.com/images/public/6945c5fdc9eab36b7d26fd72/9bcd771b2_generated_image.png",alt:"Elite network collaboration",className:"w-full object-cover",style:{maxHeight:"520px"}}),l.jsx("div",{className:"absolute inset-0 rounded-2xl",style:{background:"linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 55%)"}})]}),l.jsxs("div",{className:"absolute -bottom-5 -right-5 px-5 py-4 rounded-xl",style:{background:"rgba(0,0,0,0.95)",border:"1px solid rgba(182,143,62,0.3)"},children:[l.jsx("p",{className:"text-xs font-bold tracking-widest uppercase mb-1",style:{color:"#B68F3E"},children:"Aligned"}),l.jsx("p",{className:"text-white font-semibold text-sm",children:"We only win when you win."})]})]}),l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:ki,children:[l.jsxs(k.div,{variants:Ge,children:[l.jsx(ji,{children:"Total Transparency"}),l.jsx("h2",{className:"text-4xl font-bold mb-8",children:`"If it's free, what's the catch?"`})]}),l.jsxs("div",{className:"space-y-5 text-slate-300 text-xl leading-relaxed",children:[l.jsx(k.p,{variants:Ge,children:"Fair question. Here is the truth."}),l.jsx(k.p,{variants:Ge,children:"Titan takes a back-end cut of everything promoted."})]}),l.jsx(k.div,{variants:Ge,className:"my-10 p-8 rounded-2xl",style:{background:"rgba(182,143,62,0.08)",border:"1px solid rgba(182,143,62,0.3)"},children:l.jsxs("p",{className:"text-2xl md:text-3xl font-bold text-white leading-snug text-center",children:["When you win, we win.",l.jsx("br",{}),l.jsx("span",{style:{color:"#C4A052"},children:"We only make money when you make money."})]})}),l.jsx(k.p,{variants:Ge,className:"text-slate-300 text-xl leading-relaxed",children:"That is 
273why we are so invested in your success. We want you to be a powerhouse. Because the bigger you grow, the bigger we all grow."})]})]})})}),l.jsxs("section",{className:"py-28 px-6 relative overflow-hidden",style:{backgroundColor:"#0d0b08"},children:[l.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse at center, rgba(182,143,62,0.13) 0%, transparent 65%)"}}),l.jsx("div",{className:"max-w-2xl mx-auto text-center relative",children:l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:ki,children:[l.jsx(k.div,{variants:Ge,children:l.jsx(ji,{children:"Let's Link Arms"})}),l.jsxs(k.h2,{variants:Ge,className:"text-4xl md:text-5xl font-bold mb-6",children:["Turn your audience into",l.jsx("br",{}),l.jsx("span",{style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"real income."})]}),l.jsx(k.p,{variants:Ge,className:"text-slate-300 text-xl mb-4 leading-relaxed",children:"You already did the hard work of building an audience. Now let us help you monetize it with offers that actually help people."}),l.jsx(k.p,{variants:Ge,className:"text-white font-semibold text-xl mb-10",children:"You would be crazy not to join. It is free. It is powerful. And it works."}),l.jsxs(k.div,{variants:Ge,children:[l.jsx("a",{href:"https://members.pantheonconnect.com/communities/groups/the-alliance/home?invite=69e3294fd185c1b390a96c40",target:"_blank",rel:"noopener noreferrer",children:l.jsxs(Ze,{size:"lg",className:"text-black font-bold text-lg px-12 py-7 rounded-xl shadow-2xl group",style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",boxShadow:"0 25px 50px rgba(182, 143, 62, 0.35)"},onMouseEnter:n=>n.currentTarget.style.background="linear-gradient(to right, #A17C34, #B68F3E, #C4A052)",onMouseLeave:n=>n.currentTarget.style.background="linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",children:["Book a Call With Our Team",l.jsx(Ut,{className:"ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform"})]})}),l.jsx("p",{className:"text-slate-600 text-sm mt-5",children:"100% free. No products to create. No risk."})]})]})})]}),l.jsx(Ln,{})]})}const $e={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}},Ir={visible:{transition:{staggerChildren:.12}}},Br=({children:t})=>l.jsx("p",{className:"text-xs font-bold tracking-widest uppercase mb-3",style:{color:"#B68F3E"},children:t});function L_(){const[t,e]=A.useState(!1);return l.jsxs("div",{className:"min-h-screen text-white",style:{backgroundColor:"#080808"},children:[l.jsx(On,{}),t&&l.jsx(Ba,{onClose:()=>e(!1)}),l.jsxs("section",{className:"pt-40 pb-28 px-6 relative overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse at 50% 0%, rgba(182,143,62,0.13) 0%, transparent 65%)"}}),l.jsx("div",{className:"max-w-6xl mx-auto relative",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[l.jsxs(k.div,{initial:"hidden",animate:"visible",variants:Ir,children:[l.jsx(k.div,{variants:$e,children:l.jsx(Br,{children:"LinkedIn Lead Agency · By Titan Holdings"})}),l.jsxs(k.h1,{variants:$e,className:"text-5xl md:text-7xl font-bold leading-tight mb-6",children:["Conquest.",l.jsx("br",{}),l.jsx("span",{style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"$50 Per Booked Call. Pay Nothing Else."})]}),l.jsx(k.p,{variants:$e,className:"text-xl text-slate-300 leading-relaxed mb-10",children:"No upfront fees. No retainers. No contracts. You only pay when a qualified prospect lands on your calendar."}),l.jsx(k.div,{variants:$e,className:"flex flex-col sm:flex-row gap-4",children:l.jsx("a",{href:"https://info.pantheon.fm/widget/bookings/landon-pettingill-30-minute-meeting",target:"_blank",rel:"noopener noreferrer",children:l.jsxs(Ze,{size:"lg",className:"text-black font-bold text-lg px-10 py-7 rounded-xl shadow-2xl group",style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",boxShadow:"0 25px 50px rgba(182, 143, 62, 0.3)"},onMouseEnter:n=>n.currentTarget.style.background="linear-gradient(to right, #A17C34, #B68F3E, #C4A052)",onMouseLeave:n=>n.currentTarget.style.background="linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",children:["Book Your Call",l.jsx(Ut,{className:"ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform"})]})})}),l.jsx(k.p,{variants:$e,className:"text-slate-600 text-sm mt-4",children:"Zero risk. You only pay for real meetings."})]}),l.jsxs(k.div,{initial:{opacity:0,x:30}
273,animate:{opacity:1,x:0},transition:{duration:.9,ease:"easeOut",delay:.3},className:"relative hidden lg:block",children:[l.jsx("div",{className:"absolute -inset-1 rounded-2xl blur-xl opacity-30",style:{background:"linear-gradient(to bottom right, #B68F3E, transparent)"}}),l.jsxs("div",{className:"relative rounded-2xl overflow-hidden",style:{border:"1px solid rgba(182,143,62,0.3)"},children:[l.jsx("img",{src:"https://media.base44.com/images/public/6945c5fdc9eab36b7d26fd72/d96494ed8_generated_image.png",alt:"LinkedIn lead generation and outreach",className:"w-full object-cover",style:{maxHeight:"500px"}}),l.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 55%)"}})]}),l.jsxs("div",{className:"absolute -bottom-5 -right-5 px-5 py-4 rounded-xl",style:{background:"rgba(0,0,0,0.95)",border:"1px solid rgba(182,143,62,0.3)"},children:[l.jsx("p",{className:"text-xs font-bold tracking-widest uppercase mb-1",style:{color:"#B68F3E"},children:"Performance Only"}),l.jsx("p",{className:"text-white font-bold text-lg leading-tight",children:"No Call = No Charge"})]})]})]})})]}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#0f0f0f"},children:l.jsx("div",{className:"max-w-3xl mx-auto",children:l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Ir,children:[l.jsxs(k.div,{variants:$e,children:[l.jsx(Br,{children:"Sound Familiar?"}),l.jsx("h2",{className:"text-4xl font-bold mb-8",children:"How much would you pay for a real sales call with your dream client?"})]}),l.jsxs("div",{className:"space-y-5 text-slate-300 text-xl leading-relaxed",children:[l.jsx(k.p,{variants:$e,children:"If you are like most B2B business owners, you spend a lot of money to get leads. You pay for ads. You pay for SEO. You pay for cold emails."}),l.jsx(k.p,{variants:$e,children:"And then? You just cross your fingers. You hope someone books a call."})]}),l.jsx(k.div,{variants:$e,className:"my-10 p-8 rounded-2xl",style:{background:"rgba(182,143,62,0.08)",border:"1px solid rgba(182,143,62,0.3)"},children:l.jsxs("p",{className:"text-2xl font-bold text-white leading-snug text-center",children:["It is stressful. It costs too much.",l.jsx("br",{}),l.jsx("span",{style:{color:"#C4A052"},children:"And frankly, it sucks."})]})}),l.jsx(k.p,{variants:$e,className:"text-white font-semibold text-xl",children:"That is why we built Conquest."})]})})}),l.jsxs("section",{className:"py-24 px-6 relative overflow-hidden",style:{backgroundColor:"#0d0b08"},children:[l.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse at center, rgba(182,143,62,0.09) 0%, transparent 68%)"}}),l.jsx("div",{className:"max-w-4xl mx-auto relative",children:l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Ir,children:[l.jsxs(k.div,{variants:$e,className:"text-center mb-14",children:[l.jsx(Br,{children:"We're Not Like the Other Guys"}),l.jsx("h2",{className:"text-4xl font-bold",children:"Most agencies want this."}),l.jsx("p",{className:"text-slate-400 text-xl mt-3",children:"We do not."})]}),l.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[l.jsxs(k.div,{variants:$e,className:"p-8 rounded-2xl",style:{background:"rgba(255,60,60,0.06)",border:"1px solid rgba(255,60,60,0.2)"},children:[l.jsx("p",{className:"text-red-400 font-bold text-lg mb-6 tracking-wide uppercase text-sm",children:"Other Agencies"}),l.jsx("div",{className:"space-y-4",children:["Big upfront setup fee","Monthly retainer (pay whether it works or not)","Long-term contract before a single message is sent","You carry all the risk"].map((n,i)=>l.jsxs("div",{className:"flex items-center gap-3",children:[l.jsx("div",{className:"w-6 h-6 rounded-full flex items-center justify-center shrink-0",style:{background:"rgba(255,60,60,0.15)"},children:l.jsx(Xr,{className:"w-3 h-3 text-red-400"})}),l.jsx("p",{className:"text-slate-400",children:n})]},i))})]}),l.jsxs(k.div,{variants:$e,className:"p-8 rounded-2xl",style:{background:"rgba(182,143,62,0.06)",border:"1px solid rgba(182,143,62,0.3)"},children:[l.jsx("p",{className:"font-bold text-lg mb-6 tracking-wide uppercase text-sm",style:{color:"#C4A052"},children:"Conquest"}),l.jsx("div",{className:"space-y-4",children:["NO upfront fees","NO retainers","NO monthly minimums","$50 per booked, qualified call — that's it"].map((n,i)=>l.jsxs("div",{className:"flex items-center gap-3",children:[l.jsx("div",{className:"w-6 h-6 rounded-full flex items-center justify-center shrink-0",style:{background:"rgba(182,143,62,0.15)"},children:l.jsx(yy,{className:"w-3 h-3",style:{color:"#B68F3E"}})}),l.jsx("p",{className:"text-white font-medium",children:n})]},i))})]})]})]})})]}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#111111"},children:l.jsx("div",{className:"max-w-6xl mx-auto",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[l.jsxs(k.div,{initial:"hidden",
273whileInView:"visible",viewport:{once:!0},variants:Ir,children:[l.jsxs(k.div,{variants:$e,children:[l.jsx(Br,{children:"How It Works"}),l.jsx("h2",{className:"text-4xl font-bold mb-4",children:"Wake up. Check your calendar. Close deals."}),l.jsx("p",{className:"text-slate-400 text-xl mb-10",children:"That is all you do. We handle everything else."})]}),l.jsx("div",{className:"space-y-6",children:[{step:"01",icon:hf,title:"We Find Your Exact Targets",desc:"We build a precise list of your ideal mid-market B2B clients on LinkedIn."},{step:"02",icon:u0,title:"We Do the Outreach",desc:"We connect with them, start real conversations, and qualify each one to make sure they are a genuine fit."},{step:"03",icon:a0,title:"They Land on Your Calendar",desc:"Qualified, ready-to-talk prospects are booked directly onto your schedule. You just show up and close."}].map((n,i)=>l.jsxs(k.div,{variants:$e,className:"flex gap-5 p-5 rounded-2xl",style:{background:"rgba(182,143,62,0.06)",border:"1px solid rgba(182,143,62,0.18)"},children:[l.jsx("div",{className:"shrink-0 w-12 h-12 rounded-xl flex items-center justify-center",style:{background:"rgba(182,143,62,0.15)",border:"1px solid rgba(182,143,62,0.3)"},children:l.jsx(n.icon,{className:"w-5 h-5",style:{color:"#B68F3E"}})}),l.jsxs("div",{children:[l.jsxs("p",{className:"text-xs font-bold tracking-widest uppercase mb-1",style:{color:"#B68F3E"},children:["Step ",n.step]}),l.jsx("h3",{className:"text-white font-bold text-lg mb-1",children:n.title}),l.jsx("p",{className:"text-slate-400 leading-relaxed",children:n.desc})]})]},i))})]}),l.jsxs(k.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},transition:{duration:.8},viewport:{once:!0},className:"relative hidden lg:block",children:[l.jsxs("div",{className:"rounded-2xl overflow-hidden",style:{border:"1px solid rgba(182,143,62,0.25)"},children:[l.jsx("img",{src:"https://media.base44.com/images/public/6945c5fdc9eab36b7d26fd72/01f5ba941_generated_image.png",alt:"Booked calendar with qualified sales meetings",className:"w-full object-cover",style:{maxHeight:"540px"}}),l.jsx("div",{className:"absolute inset-0 rounded-2xl",style:{background:"linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 55%)"}})]}),l.jsxs("div",{className:"absolute -bottom-5 -left-5 px-5 py-4 rounded-xl",style:{background:"rgba(0,0,0,0.95)",border:"1px solid rgba(182,143,62,0.3)"},children:[l.jsx("p",{className:"text-xs font-bold tracking-widest uppercase mb-1",style:{color:"#B68F3E"},children:"Capped at 60/mo"}),l.jsx("p",{className:"text-white font-semibold text-sm",children:"Max $3,000. Only if we fill your calendar."})]})]})]})})}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#0a0a0a"},children:l.jsx("div",{className:"max-w-3xl mx-auto text-center",children:l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Ir,children:[l.jsxs(k.div,{variants:$e,children:[l.jsx(Br,{children:"Pricing"}),l.jsx("h2",{className:"text-4xl font-bold mb-4",children:"One number. No surprises."}),l.jsx("p",{className:"text-slate-400 text-xl mb-12",children:"We cap at 60 appointments per month — so the absolute most you will ever pay is $3,000. And only if we completely fill your calendar."})]}),l.jsxs(k.div,{variants:$e,className:"p-12 rounded-2xl relative overflow-hidden",style:{background:"rgba(182,143,62,0.07)",border:"1px solid rgba(182,143,62,0.35)"},children:[l.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse at center top, rgba(182,143,62,0.12) 0%, transparent 65%)"}}),l.jsxs("div",{className:"relative",children:[l.jsx("p",{className:"text-slate-400 text-lg mb-2",children:"Per booked, qualified appointment"}),l.jsx("div",{className:"flex items-end justify-center gap-2 mb-6",children:l.jsx("span",{className:"text-8xl font-bold",style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"$50"})}),l.jsx("div",{className:"flex flex-col sm:flex-row gap-3 justify-center text-sm text-slate-400 mb-8",children:["No setup fee","No retainer","No contract","No minimums"].map((n,i)=>l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(yy,{className:"w-4 h-4",style:{color:"#B68F3E"}}),l.jsx("span",{children:n})]},i))}),l.jsx("a",{href:"https://info.pantheon.fm/widget/bookings/landon-pettingill-30-minute-meeting",target:"_blank",rel:"noopener noreferrer",children:l.jsxs(Ze,{size:"lg",className:"text-black font-bold text-lg px-12 py-7 rounded-xl shadow-2xl group",style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",boxShadow:"0 25px 50px rgba(182, 143, 62, 0.35)"},onMouseEnter:n=>n.currentTarget.style.background="linear-gradient(to right, #A17C34, #B68F3E, #C4A052)",onMouseLeave:n=>n.currentTarget.style.background="linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",children:["Book Your Call",l.jsx(Ut,{className:"ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform"})]})})]})]})]})})}),l.jsx("section",{className:"py-24 px-6",style:{backgroundColor:"#0f0f0f"},children:l.jsx("div",{className:"max-w-3xl mx-auto",children:l.jsxs(k.div,{initial:"hidden",
273whileInView:"visible",viewport:{once:!0},variants:Ir,children:[l.jsxs(k.div,{variants:$e,children:[l.jsx(Br,{children:"Your Questions Answered"}),l.jsx("h2",{className:"text-4xl font-bold mb-12",children:`"What's the catch?"`})]}),[{q:'"Josh, what is the catch?"',a:"There is no catch. We just know our system works. We take all the risk. If we fail, we work for free. If we win, you get a ton of new business."},{q:'"What if the leads are not qualified?"',a:"Simple. You do not pay for them. We track everything. Our team leaders Affie (Afomia) and Seja handle your setup. They watch your numbers closely. If a lead does not fit what you want, it does not count."}].map((n,i)=>l.jsxs(k.div,{variants:$e,className:"mb-6 p-8 rounded-2xl",style:{background:"rgba(182,143,62,0.06)",border:"1px solid rgba(182,143,62,0.18)"},children:[l.jsx("p",{className:"text-xl font-bold text-white mb-3 italic",children:n.q}),l.jsx("p",{className:"text-slate-300 text-lg leading-relaxed",children:n.a})]},i))]})})}),l.jsxs("section",{className:"py-24 px-6 relative overflow-hidden",style:{backgroundColor:"#0d0b08"},children:[l.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse at center, rgba(182,143,62,0.09) 0%, transparent 68%)"}}),l.jsx("div",{className:"max-w-3xl mx-auto relative text-center",children:l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Ir,children:[l.jsxs(k.div,{variants:$e,children:[l.jsx(Br,{children:"When We Launched"}),l.jsx("h2",{className:"text-4xl font-bold mb-4",children:"The results spoke for themselves."}),l.jsx("p",{className:"text-slate-400 text-xl mb-12",children:"When we first launched, we sent an email to 2,300 people."})]}),l.jsx("div",{className:"grid sm:grid-cols-2 gap-6 mb-12",children:[{number:"86",label:'Said "YES" right away'},{number:"15",label:"Signed & set up in 2 weeks"}].map((n,i)=>l.jsxs(k.div,{variants:$e,className:"p-8 rounded-2xl",style:{background:"rgba(182,143,62,0.08)",border:"1px solid rgba(182,143,62,0.3)"},children:[l.jsx("p",{className:"text-6xl font-bold mb-2",style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:n.number}),l.jsx("p",{className:"text-slate-300 text-lg",children:n.label})]},i))}),l.jsx(k.p,{variants:$e,className:"text-slate-300 text-xl leading-relaxed",children:"Why? Because it is a no-brainer. You would be crazy not to try it. Zero risk. Only pay for results. Talk to the exact mid-market B2B clients you want."})]})})]}),l.jsxs("section",{className:"py-28 px-6 relative overflow-hidden",style:{backgroundColor:"#080808"},children:[l.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse at center, rgba(182,143,62,0.13) 0%, transparent 65%)"}}),l.jsx("div",{className:"max-w-2xl mx-auto text-center relative",children:l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Ir,children:[l.jsx(k.div,{variants:$e,children:l.jsx(Br,{children:"Stop Paying for Empty Promises"})}),l.jsxs(k.h2,{variants:$e,className:"text-4xl md:text-5xl font-bold mb-6",children:["Start paying for",l.jsx("br",{}),l.jsx("span",{style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"real meetings."})]}),l.jsx(k.p,{variants:$e,className:"text-slate-300 text-xl mb-10 leading-relaxed",children:"Let's fill up your calendar with qualified, ready-to-buy prospects."}),l.jsxs(k.div,{variants:$e,children:[l.jsx("a",{href:"https://info.pantheon.fm/widget/bookings/landon-pettingill-30-minute-meeting",target:"_blank",rel:"noopener noreferrer",children:l.jsxs(Ze,{size:"lg",className:"text-black font-bold text-lg px-12 py-7 rounded-xl shadow-2xl group",style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",boxShadow:"0 25px 50px rgba(182, 143, 62, 0.35)"},onMouseEnter:n=>n.currentTarget.style.background="linear-gradient(to right, #A17C34, #B68F3E, #C4A052)",onMouseLeave:n=>n.currentTarget.style.background="linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",children:["Book Your Call Here",l.jsx(Ut,{className:"ml-2 w-5 h-5 group-hover:translate-x-1 transition-transform"})]})}),l.jsx("p",{className:"text-slate-600 text-sm mt-5",children:"Zero risk. $50 per qualified appointment. Capped at 60/month."})]})]})})]}),l.jsx(Ln,{})]})}const Go={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}},zx={visible:{transition:{staggerChildren:.12}}},$x=({children:t})=>l.jsx("p",{className:"text-xs font-bold tracking-widest uppercase mb-3",style:{color:"#B68F3E"},children:t});function I_(){const[t,e]=A.useState({name:"",email:"",subject:"",message:""}),[n,i]=A.useState(!1),[o,c]=A.useState(!1),u=p=>e(g=>({...g,[p.target.name]:p.target.value})),h=async p=>{p.preventDefault(),c(!0),await new Promise(g=>setTimeout(g,1e3)),c(!1),i(!0)};return l.jsxs("div",{className:"min-h-screen text-white",style:{backgroundColor:"#080808"},children:[l.jsx(On,{}),l.jsxs("section",{className:"pt-40 pb-20 px-6 relative overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse at 50% 0%, rgba(182,143,62,0.13) 0%, transparent 65%)"}}),l.jsx("div",{className:"max-w-3xl mx-auto text-center relative",children:l.jsxs(k.div,{initial:"hidden",animate:"visible",variants:zx,children:[l.jsx(k.div,{variants:Go,children:l.jsx($x,{children:"Get In Touch"})}),l.jsxs(k.h1,{variants:Go,className:"text-5xl md:text-6xl font-bold leading-tight mb-6",children:["Let's Start a"," ",l.jsx("span",{style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",WebkitBackgroun
273dClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"Conversation."})]}),l.jsx(k.p,{variants:Go,className:"text-xl text-slate-300 leading-relaxed",children:"Have a question about membership, our services, or anything else? We'd love to hear from you."})]})})]}),l.jsx("section",{className:"py-16 px-6",children:l.jsx("div",{className:"max-w-5xl mx-auto",children:l.jsxs("div",{className:"grid lg:grid-cols-5 gap-12",children:[l.jsxs(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:zx,className:"lg:col-span-2 space-y-8",children:[l.jsxs(k.div,{variants:Go,children:[l.jsx($x,{children:"Contact Info"}),l.jsx("h2",{className:"text-3xl font-bold mb-4",children:"We're here to help."}),l.jsx("p",{className:"text-slate-400 leading-relaxed",children:"Whether you're a current member or exploring joining Pantheon Connect, reach out and our team will get back to you promptly."})]}),l.jsxs(k.div,{variants:Go,className:"space-y-4",children:[l.jsxs("div",{className:"flex items-start gap-4 p-5 rounded-2xl",style:{background:"rgba(182,143,62,0.06)",border:"1px solid rgba(182,143,62,0.18)"},children:[l.jsx("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center shrink-0",style:{background:"rgba(182,143,62,0.15)"},children:l.jsx(uf,{className:"w-5 h-5",style:{color:"#B68F3E"}})}),l.jsxs("div",{children:[l.jsx("p",{className:"text-white font-semibold mb-1",children:"Email Us"}),l.jsx("a",{href:"mailto:[email protected]",className:"text-slate-400 hover:text-white transition-colors text-sm",children:"[email protected]"})]})]}),l.jsxs("div",{className:"flex items-start gap-4 p-5 rounded-2xl",style:{background:"rgba(182,143,62,0.06)",border:"1px solid rgba(182,143,62,0.18)"},children:[l.jsx("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center shrink-0",style:{background:"rgba(182,143,62,0.15)"},children:l.jsx(d0,{className:"w-5 h-5",style:{color:"#B68F3E"}})}),l.jsxs("div",{children:[l.jsx("p",{className:"text-white font-semibold mb-1",children:"Call Us"}),l.jsx("a",{href:"tel:+12085202252",className:"text-slate-400 hover:text-white transition-colors text-sm",children:"+1 (208) 520-2252"})]})]}),l.jsxs("div",{className:"flex items-start gap-4 p-5 rounded-2xl",style:{background:"rgba(182,143,62,0.06)",border:"1px solid rgba(182,143,62,0.18)"},children:[l.jsx("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center shrink-0",style:{background:"rgba(182,143,62,0.15)"},children:l.jsx(df,{className:"w-5 h-5",style:{color:"#B68F3E"}})}),l.jsxs("div",{children:[l.jsx("p",{className:"text-white font-semibold mb-1",children:"Our Office"}),l.jsxs("p",{className:"text-slate-400 text-sm",children:["591 Park Ave Ste 202",l.jsx("br",{}),"Idaho Falls, ID 83402"]})]})]})]})]}),l.jsx(k.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:!0},className:"lg:col-span-3",children:n?l.jsxs("div",{className:"flex flex-col items-center justify-center h-full py-20 text-center rounded-2xl",style:{background:"rgba(182,143,62,0.06)",border:"1px solid rgba(182,143,62,0.18)"},children:[l.jsx(Ms,{className:"w-14 h-14 mb-5",style:{color:"#B68F3E"}}),l.jsx("h3",{className:"text-2xl font-bold mb-3",children:"Message Sent!"}),l.jsx("p",{className:"text-slate-400 max-w-sm",children:"Thanks for reaching out. We'll get back to you within 1–2 business days."})]}):l.jsxs("form",{onSubmit:h,className:"space-y-5 p-8 rounded-2xl",style:{background:"rgba(182,143,62,0.04)",border:"1px solid rgba(182,143,62,0.18)"},children:[l.jsxs("div",{className:"grid sm:grid-cols-2 gap-5",children:[l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-slate-300 mb-2",children:"Full Name *"}),l.jsx("input",{type:"text",name:"name",required:!0,value:t.name,onChange:u,placeholder:"Josh Tapp",className:"w-full px-4 py-3 rounded-xl text-white placeholder-slate-600 text-sm outline-none focus:ring-1 transition-all",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(182,143,62,0.25)",focusRingColor:"#B68F3E"},onFocus:p=>p.target.style.borderColor="#B68F3E",onBlur:p=>p.target.style.borderColor="rgba(182,143,62,0.25)"})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-slate-300 mb-2",children:"Email Address *"}),l.jsx("input",{type:"email",name:"email",required:!0,value:t.email,onChange:u,placeholder:"[email protected]",className:"w-full px-4 py-3 rounded-xl text-white placeholder-slate-600 text-sm outline-none transition-all",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(182,143,62,0.25)"},onFocus:p=>p.target.style.borderColor="#B68F3E",onBlur:p=>p.target.style.borderColor="rgba(182,143,62,0.25)"})]})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-slate-300 mb-2",children:"Subject *"}),l.jsx("input",{type:"text",name:"subject",required:!0,value:t.subject,onChange:u,placeholder:"What's this about?",className:"w-full px-4 py-3 rounded-xl text-white placeholder-slate-600 text-sm outline-none transition-all",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(182,143,62,0.25)"},onFocus:p=>p.target.style.borderColor="#B68F3E",onBlur:p=>p.target.style.borderColor="rgba(182,143,62,0.25)"})]}),l.jsxs("div",{children:[l.jsx("label",{className:"block text-sm font-medium text-slate-300 mb-2",children:"Message *"}),l.jsx("textarea",{name:"message",required:!0,value:t.message,onChange:u,rows:5,placeholder:"Tell us how we 
273can help...",className:"w-full px-4 py-3 rounded-xl text-white placeholder-slate-600 text-sm outline-none transition-all resize-none",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(182,143,62,0.25)"},onFocus:p=>p.target.style.borderColor="#B68F3E",onBlur:p=>p.target.style.borderColor="rgba(182,143,62,0.25)"})]}),l.jsx(Ze,{type:"submit",disabled:o,className:"w-full text-black font-bold py-6 text-base rounded-xl",style:{background:o?"rgba(182,143,62,0.5)":"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",boxShadow:"0 10px 30px rgba(182,143,62,0.25)"},children:o?"Sending...":l.jsxs("span",{className:"flex items-center gap-2 justify-center",children:["Send Message ",l.jsx(pj,{className:"w-4 h-4"})]})})]})})]})})}),l.jsx(Ln,{})]})}const Qo={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}},B_={visible:{transition:{staggerChildren:.15}}},D_=[{number:"01",icon:uf,title:"Whitelist Our Email",description:l.jsxs(l.Fragment,{children:["To make sure you never miss important updates, reminders, or your call link, please whitelist"," ",l.jsx("span",{className:"font-bold",style:{color:"#C4A052"},children:"[[email protected]]"}
273)," ","in your inbox. Check your spam or promotions folder and mark us as a trusted sender."]}),action:null},{number:"02",icon:c0,title:"Watch This Video Before the Call",description:"This short video will prepare you for exactly how The Gathering works — so you can show up ready to contribute and get the most out of your seat. Watching this before attending is required.",action:null,video:!0},{number:"03",icon:xj,title:"Create Your Free Account",description:l.jsxs(l.Fragment,{children:["Head to"," ",l.jsx("span",{className:"font-bold",style:{color:"#C4A052"},children:"[account-link-placeholder.com]"})," ","and create your free account. Once inside, click on the"," ",l.jsx("span",{className:"font-bold text-white",children:"Events"})," tab — you'll find The Gathering there along with the link to join the call."]}),action:{label:"Create Your Free Account",href:"https://placeholder-account-link.com"}}];function F_(){return l.jsxs("div",{className:"min-h-screen text-white",style:{backgroundColor:"#080808"},children:[l.jsx(On,{}),l.jsxs("section",{className:"pt-40 pb-20 px-6 relative overflow-hidden",style:{backgroundColor:"#080808"},children:[l.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse at 50% 0%, rgba(182,143,62,0.15) 0%, transparent 65%)"}}),l.jsx("div",{className:"max-w-3xl mx-auto text-center relative",children:l.jsxs(k.div,{initial:"hidden",animate:"visible",variants:B_,children:[l.jsx(k.div,{variants:Qo,className:"flex justify-center mb-6",children:l.jsx("div",{className:"w-20 h-20 rounded-full flex items-center justify-center",style:{background:"rgba(182,143,62,0.15)",border:"2px solid rgba(182,143,62,0.4)"},children:l.jsx(Ms,{className:"w-10 h-10",style:{color:"#B68F3E"}})})}),l.jsx(k.p,{variants:Qo,className:"text-xs font-bold tracking-widest uppercase mb-3",style:{color:"#B68F3E"},children:"You're In"}),l.jsxs(k.h1,{variants:Qo,className:"text-5xl md:text-6xl font-bold leading-tight mb-6",children:["You're Registered for",l.jsx("br",{}),l.jsx("span",{style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"The Gathering."})]}),l.jsx(k.p,{variants:Qo,className:"text-xl text-slate-300 leading-relaxed max-w-2xl mx-auto",children:"Congratulations — your seat is reserved. Before the call, there are 3 quick things you need to do to make sure you're fully set up and ready to go."})]})})]}),l.jsxs("section",{className:"pb-28 px-6",style:{backgroundColor:"#080808"},children:[l.jsx("div",{className:"max-w-3xl mx-auto space-y-8",children:D_.map((t,e)=>l.jsx(k.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Qo,className:"rounded-2xl overflow-hidden",style:{background:"rgba(182,143,62,0.06)",border:"1px solid rgba(182,143,62,0.2)"},children:l.jsxs("div",{className:"p-8",children:[l.jsxs("div",{className:"flex items-start gap-5",children:[l.jsx("div",{className:"shrink-0 w-14 h-14 rounded-xl flex items-center justify-center",style:{background:"rgba(182,143,62,0.15)",border:"1px solid rgba(182,143,62,0.3)"},children:l.jsx(t.icon,{className:"w-6 h-6",style:{color:"#B68F3E"}})}),l.jsxs("div",{className:"flex-1",children:[l.jsxs("p",{className:"text-xs font-bold tracking-widest uppercase mb-1",style:{color:"#B68F3E"},children:["Step ",t.number]}),l.jsx("h2",{className:"text-2xl font-bold text-white mb-3",children:t.title}),l.jsx("p",{className:"text-slate-300 text-lg leading-relaxed",children:t.description})]})]}),t.video&&l.jsx("div",{className:"mt-6 rounded-xl flex items-center justify-center",style:{background:"rgba(0,0,0,0.5)",border:"1px dashed rgba(182,143,62,0.3)",minHeight:"320px"},children:l.jsxs("div",{className:"text-center",children:[l.jsx(c0,{className:"w-16 h-16 mx-auto mb-3 opacity-40",style:{color:"#B68F3E"}}),l.jsx("p",{className:"text-slate-500 text-sm",children:"Video placeholder — replace with your YouTube or Vimeo embed"})]})}),t.action&&l.jsx("div",{className:"mt-6",children:l.jsx("a",{href:t.action.href,target:"_blank",rel:"noopener noreferrer",children:l.jsxs(Ze,{size:"lg",className:"text-black font-bold text-base px-8 py-5 rounded-xl group",style:{background:"linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",boxShadow:"0 15px 30px rgba(182,143,62,0.3)"},onMouseEnter:n=>n.currentTarget.style.background="linear-gradient(to right, #A17C34, #B68F3E, #C4A052)",onMouseLeave:n=>n.currentTarget.style.background="linear-gradient(to right, #B68F3E, #C4A052, #D4B068)",children:[t.action.label,l.jsx(Yk,{className:"ml-2 w-4 h-4"})]})})})]})},e))}),l.jsxs(k.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"max-w-3xl mx-auto mt-12 p-6 rounded-2xl text-center",style:{background:"rgba(182,143,62,0.08)",border:"1px solid rgba(182,143,62,0.25)"},children:[l.jsx("p",{className:"text-slate-300 text-lg leading-relaxed",children:"We can't wait to see you on the call. Come ready to share your work, and let the room do the rest."}),l.jsxs("p",{className:"text-slate-500 text-sm mt-3",children:["Questions? Reach us at ",l.jsx("span",{style:{color:"#C4A052"},children:"[email protected]"})]})]})]}),l.jsx(Ln,{})]})}const M_=[{number:"1.",title:"Eligibility",content:"You must be at least 18 years old to use the Site and Services. By using the Site, you represent and warrant that you meet this age requirement and have the legal capacity to enter into a binding contract."},{number:"2.",title:"Account Registration and Security",content:`To access certain features of the Services, such as member directories or event registrations, you may be required to register for an account. You agree to provide accurate, current, and complete information during the registration process and to update such information to keep it accurate, current, and complete.
274
275You are responsible for safeguarding your password and for all activities that occur under your account. You agree to notify us immediately of any unauthorized use of your account or any other breach of security. Titan LLC will not be liable for any loss or damage arising from your failure to comply with this requirement.`},{number:"3.",title:"Use of the Services",content:"You agree to use the Site and Services only for lawful purposes and in accordance with these Terms. You agree not to:",bullets:["Use the Site or Services in any way that violates any applicable federal, state, local, or international law or regulation.","Engage in any conduct that restricts or inhibits anyone's use or enjoyment of the Site, or which, as determined by us, may harm Titan LLC or users of the Site.","Use the Site in any manner that c
275ould disable, overburden, damage, or impair the site or interfere with any other party's use of the Site.","Attempt to gain unauthorized access to, interfere with, damage, or disrupt any parts of the Site, the server on which the Site is stored, or any server, computer, or database connected to the Site.","Use any robot, spider, or other automatic device, process, or means to access the Site for any purpose, including monitoring or copying any of the material on the Site."]},{number:"4.",title:"Intellectual Property Rights",content:`The Site and its entire contents, features, and functionality (including but not limited to all information, software, text, displays, images, video, and audio, and the design, selection, and arrangement thereof) are owned by Titan LLC, its licensors, or other providers of such material and are protected by United States and international copyright, trademark, patent, trade secret, and other intellectual property or proprietary rights laws.
276
277These Terms permit you to use the Site for your personal, non-commercial use, or for legitimate business purposes related to your membership in the Pantheon network. You must not reproduce, distribute, modify, create derivative works of, publicly display, publicly perform, republish, download, store, or transmit any of the material on our Site, except as expressly permitted by these Terms.`},{number:"5.",title:"User Contributions",content:`The Site may contain message boards, chat rooms, personal web pages or profiles, forums, bulletin boards, and other interactive features that allow users to post, submit, publish, display, or transmit to other users or other persons content or materials (collectively, "User Contributions") on or through the Site.
278
279Any User Contribution you post to the site will be considered non-confidential and non-proprietary. By providing any User Contribution on the Site, you grant us and our affiliates and service providers, and each of their and our respective licensees, successors, and assigns the right to use, reproduce, modify, perform, display, distribute, and otherwise disclose to third parties any such material for any purpose.
280
281You represent and warrant that you own or control all rights in and to the User Contributions and have the right to grant the license granted above.`},{number:"6.",title:"Third-Party Links and Services",content:"The Site may contain links to third-party websites or services that are not owned or c
281ontrolled by Titan LLC. We have no control over, and assume no responsibility for, the content, privacy policies, or practices of any third-party websites or services. You further acknowledge and agree that Titan LLC shall not be responsible or liable, directly or indirectly, for any damage or loss caused or alleged to be caused by or in connection with the use of or reliance on any such content, goods, or services available on or through any such websites or services."},{number:"7.",title:"Disclaimer of Warranties",content:`You understand that we cannot and do not guarantee or warrant that files available for downloading from the internet or the Site will be free of viruses or other destructive code. You are responsible for implementing sufficient procedures and checkpoints to satisfy your particular requirements for anti-virus protection and accuracy of data input and output.
282
283THE SITE AND SERVICES ARE PROVIDED ON AN "AS IS" AND "AS AVAILABLE" BASIS, WITHOUT ANY WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED. TITAN LLC DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.`},{number:"8.",title:"Limitation of Liability",content:"TO THE FULLEST EXTENT PROVIDED BY LAW, IN NO EVENT WILL TITAN LLC, ITS AFFILIATES, OR THEIR LICENSORS, SERVICE PROVIDERS, EMPLOYEES, AGENTS, OFFICERS, OR DIRECTORS BE LIABLE FOR DAMAGES OF ANY KIND, UNDER ANY LEGAL THEORY, ARISING OUT OF OR IN CONNECTION WITH YOUR USE, OR INABILITY TO USE, THE SITE, ANY WEBSITES LINKED TO IT, ANY CONTENT ON THE SITE OR SUCH OTHER WEBSITES, INCLUDING ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES, INCLUDING BUT NOT LIMITED TO, PERSONAL INJURY, PAIN AND SUFFERING, EMOTIONAL DISTRESS, LOSS OF REVENUE, LOSS OF PROFITS, LOSS OF BUSINESS OR ANTICIPATED SAVINGS, LOSS OF USE, LOSS OF GOODWILL, LOSS OF DATA, AND WHETHER CAUSED BY TORT (INCLUDING NEGLIGENCE), BREACH OF CONTRACT, OR OTHERWISE, EVEN IF FORESEEABLE."},{number:"9.",title:"Indemnification",content:"You agree to defend, indemnify, and hold harmless Titan LLC, its affiliates, licensors, and service providers, and its and their respective officers, directors, employees, contractors, agents, licensors, suppliers, successors, and assigns from and against any claims, liabilities, damages, judgments, awards, losses, costs, expenses, or fees (including reasonable attorneys' fees) arising out of or relating to your violation of these Terms or your use of the Site, including, but not limited to, your User Contributions, any use of the Site's content, services, and products other than as expressly authorized in these Terms, or your use of any information obtained from the Site."},{number:"10.",title:"Governing Law and Jurisdiction",content:`All matters relating to the Site and these Terms, and any dispute or claim arising therefrom or related thereto (in each case, including non-contractual disputes or claims), shall be governed by and construed in accordance with the internal laws of the State in which Titan LLC is registered, without giving effect to any choice or conflict of law provision or rule.
284
285Any legal suit, action, or proceeding arising out of, or related to, these Terms or the Site shall be instituted exclusively in the federal courts of the United States or the courts of the State in which Titan LLC is registered. You waive any and all objections to the exercise of jurisdiction over you by such courts and to venue in such courts.`},{number:"11.",title:"Changes to the Terms of Use",content:"We may revise and update these Terms from time to time in our sole discretion. All changes are effective immediately when we post them and apply to all access to and use of the Site thereafter. Your continued use of the Site following the posting of revised Terms means that you accept and agree to the changes."},{number:"12.",title:"Contact Information",content:`If you have any questions about these Terms, please contact us at:
286Email: [email protected]`}];function V_(){return l.jsxs("div",{className:"min-h-screen",style:{backgroundColor:"#050403"},children:[l.jsx(On,{}),l.jsx("section",{className:"pt-32 pb-12 px-6",children:l.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[l.jsx(k.p,{initial:{opacity:0,y:10}
286,animate:{opacity:1,y:0},transition:{duration:.5},className:"text-xs font-bold tracking-widest uppercase mb-4",style:{color:"#B68F3E"},children:"Legal"}),l.jsx(k.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.1},className:"text-4xl md:text-5xl font-bold text-white mb-4",children:"Terms of Use"}),l.jsx(k.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.6,delay:.2},className:"text-slate-500 text-sm",children:"Last Updated: April 18, 2026"})]})}),l.jsx("div",{className:"max-w-3xl mx-auto px-6",children:l.jsx("div",{className:"h-px w-full",style:{background:"linear-gradient(to right, transparent, rgba(182,143,62,0.4), transparent)"}})}),l.jsx("section",{className:"py-10 px-6",children:l.jsxs("div",{className:"max-w-3xl mx-auto",children:[l.jsxs(k.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.6,delay:.3},className:"rounded-2xl p-6 mb-10",style:{background:"rgba(182,143,62,0.07)",border:"1px solid rgba(182,143,62,0.18)"},children:[l.jsxs("p",{className:"text-slate-300 leading-relaxed text-sm",children:['Welcome to Pantheon Connect. These Terms of Use ("Terms") govern your access to and use of the website located at'," ",l.jsx("span",{style:{color:"#C4A052"},children:"pantheonconnect.com"}),' (the "Site") and the services, community platforms, event registrations, and member management tools provided through the Site (collectively, the "Services"). The Site and Services are owned and operated by Titan LLC, doing business as Pantheon ("we," "us," or "our").']}),l.jsx("p",{className:"text-slate-300 leading-relaxed text-sm mt-4",children:"By accessing or using the Site or Services, you agree to be bound by these Terms. If you do not agree to these Terms, you may not access or use the Site or Services."})]}),l.jsx("div",{className:"space-y-10",children:M_.map((t,e)=>l.jsxs(k.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:e*.03},children:[l.jsxs("div",{className:"flex items-baseline gap-3 mb-3",children:[l.jsx("span",{className:"text-sm font-bold shrink-0",style:{color:"#B68F3E"},children:t.number}),l.jsx("h2",{className:"text-lg font-bold text-white",children:t.title})]}),t.content.split(`
287
288`).map((n,i)=>l.jsx("p",{className:"text-slate-400 leading-relaxed text-sm mb-3",children:n},i)),t.bullets&&l.jsx("ul",{className:"space-y-2 mt-2 ml-4",children:t.bullets.map((n,i)=>l.jsxs("li",{className:"flex items-start gap-3 text-slate-400 text-sm",children:[l.jsx("span",{className:"mt-1.5 w-1.5 h-1.5 rounded-full shrink-0",style:{backgroundColor:"#B68F3E"}}),n]},i))}),l.jsx("div",{className:"mt-8 h-px",style:{background:"rgba(182,143,62,0.1)"}})]},e))})]})}),l.jsx(Ln,{})]})}const U_=[{number:"1.",title:"Information We Collect",intro:"We may collect information about you in a variety of ways. The information we may collect on the Site includes:",subsections:[{label:"A. Personal Data",content:"Personally identifiable information, such as your name, shipping address, email address, and telephone number, and demographic information, such as your age, gender, hometown, and interests, that you voluntarily give to us when you register with the Site or when you choose to participate in various activities related to the Site and our Services, such as online chat and message boards, event registration, and membership management."},{label:"B. Derivative Data",content:"Information our servers automatically collect when you access the Site, such as your IP address, your browser type, your operating system, your access times, and the pages you have viewed directly before and after accessing the Site."},{label:"C. Financial Data",content:"Financial information, such as data related to your payment method (e.g., valid credit card number, 
288card brand, expiration date) that we may collect when you purchase, order, return, exchange, or request information about our services from the Site. We store only very limited, if any, financial information that we collect. Otherwise, all financial information is stored by our payment processors (e.g., NMI, Impact Payments, QuickBooks), and you are encouraged to review their privacy policies and contact them directly for responses to your questions."},{label:"D. Third-Party Data",content:"Information from third parties, such as personal information or network friends, if you connect your account to the third party and grant the Site permission to access this information."}]},{number:"2.",title:"Use of Your Information",intro:"Having accurate information about you permits us to provide you with a smooth, efficient, and customized experience. Specifically, we may use information collected about you via the Site to:",bullets:["Create and manage your account.","Process your transactions and send you related information, including purchase confirmations and invoices.","Register you for events and manage event attendance.","Facilitate member connections within the Pantheon network.","Send you administrative information, such as updates, security alerts, and support messages.","Respond to your comments, questions, and requests and provide customer service.","Communicate with you about products, services, offers, promotions, and events offered by Titan LLC and others, and provide news and information we think will be of interest to you (e.g., via email marketing platforms like Go High Level or Klaviyo).","Monitor and analyze trends, usage, and activities in connection with our Services (e.g., utilizing platforms like Base44).","Detect, investigate, and prevent fraudulent transactions and other illegal activities and protect the rights and property of Titan LLC and others."]},{number:"3.",title:"Disclosure of Your Information",intro:"We may share information we have collected about you in certain situations. Your information may be disclosed as follows:",subsections:[{label:"A. By Law or to Protect Rights",content:"If we believe the release of information about you is necessary to respond to legal process, to investigate or remedy potential violations of our policies, or to protect the rights, property, and safety of others, we may share your information as permitted or required by any applicable law, rule, or regulation."},{label:"B. Third-Party Service Providers",content:"We may share your information with third parties that perform services for us or on our behalf, including payment processing, data analysis, email delivery, hosting services, customer service, and marketing assistance."},{label:"C. Business Transfers",content:"We may share or transfer your information in connection with, or during negotiations of, any merger, sale of company assets, financing, or acquisition of all or a portion of our business to another company."},{label:"D. Affiliates and Network Partners",content:"We may share your information with our affiliates, in which case we will require those affiliates to honor this Privacy Policy. As part of the Pantheon network, limited profile information may be visible to other members to facilitate networking and connections."}]},{number:"4.",title:"Tracking Technologies",content:"We may use cookies, web beacons, tracking pixels, and other tracking technologies on the Site to help customize the Site and improve your experience. When you access the Site, your personal information is not collected through the use of tracking technology. Most browsers are set to accept cookies by default. You can remove or reject cookies, but be aware that such action could affect the availability and functionality of the Site."},{number:"5.",title:"Security of Your Information",content:"We use administrative, technical, and physical security measures to help protect your personal information. While we have taken reasonable steps to secure the personal information you provide to us, please be aware that despite our efforts, no security measures are perfect or impenetrable, and no method of data transmission can be guaranteed against any interception or other type of misuse."},{number:"6.",title:"Policy for Children",content:"We do not knowingly solicit information from or market to children under the age of 13. If you become aware of any data we have collected from children under age 13, please contact us using the contact information provided below."},{number:"7.",title:"Options Regarding Your Information",subsections:[{label:"A. Account Information",content:`You may at any time review or change the information in your account or terminate your account by logging into your account settings and updating your account, or by contacting us using the contact information provided below.
289
290Upon your request to terminate your account, we will deactivate or delete your account and information from our active databases. However, some information may be retained in our files to prevent fraud, troubleshoot problems, assist with any investigations, enforce our Terms of Use, and/or comply with legal requirements.`},{label:"B. Emails and Communications",content:'If you no longer wish to receive correspondence, emails, or other communications from us, you may opt-out by noting your preferences at the time you register your account with the Site, logging into your account settings and updating your preferences, contacting us using the contact information provided below, or using the "unsubscribe" link in any email communication we send you.'}]},{number:"8.",title:"Changes to This Privacy Policy",content:'We may update this Privacy Policy from time to time. The updated version will be indicated by an updated "Last Updated" date and the updated version will be effective as soon as it is accessible. We encourage you to review this Privacy Policy frequently to be informed of how we are protecting your information.'},{number:"9.",title:"Contact Us",content:`If you have questions or comments about this Privacy Policy, please contact us at:
291Email: [email protected]`}];function z_(){return l.jsxs("div",{className:"min-h-screen",style:{backgroundColor:"#050403"},children:[l.jsx(On,{}),l.jsx("section",{className:"pt-32 pb-12 px-6",children:l.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[l.jsx(k.p,{initial:{opacity:0,y:10}
291,animate:{opacity:1,y:0},transition:{duration:.5},className:"text-xs font-bold tracking-widest uppercase mb-4",style:{color:"#B68F3E"},children:"Legal"}),l.jsx(k.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.1},className:"text-4xl md:text-5xl font-bold text-white mb-4",children:"Privacy Policy"}),l.jsx(k.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.6,delay:.2},className:"text-slate-500 text-sm",children:"Last Updated: April 18, 2026"})]})}),l.jsx("div",{className:"max-w-3xl mx-auto px-6",children:l.jsx("div",{className:"h-px w-full",style:{background:"linear-gradient(to right, transparent, rgba(182,143,62,0.4), transparent)"}})}),l.jsx("section",{className:"py-10 px-6",children:l.jsxs("div",{className:"max-w-3xl mx-auto",children:[l.jsxs(k.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.6,delay:.3},className:"rounded-2xl p-6 mb-10",style:{background:"rgba(182,143,62,0.07)",border:"1px solid rgba(182,143,62,0.18)"},children:[l.jsxs("p",{className:"text-slate-300 leading-relaxed text-sm",children:['Titan LLC, doing business as Pantheon ("we," "us," or "our"), operates the website located at'," ",l.jsx("span",{style:{color:"#C4A052"},children:"pantheonconnect.com"}),' (the "Site") and the services provided therein (collectively, the "Services"). This Privacy Policy explains how we collect, use, disclose, and safeguard your information when you visit our Site or use our Services.']}),l.jsx("p",{className:"text-slate-300 leading-relaxed text-sm mt-4",children:"Please read this Privacy Policy carefully. If you do not agree with the terms of this Privacy Policy, please do not access the Site or use the Services."})]}),l.jsx("div",{className:"space-y-10",children:U_.map((t,e)=>l.jsxs(k.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:e*.03},children:[l.jsxs("div",{className:"flex items-baseline gap-3 mb-3",children:[l.jsx("span",{className:"text-sm font-bold shrink-0",style:{color:"#B68F3E"},children:t.number}),l.jsx("h2",{className:"text-lg font-bold text-white",children:t.title})]}),t.intro&&l.jsx("p",{className:"text-slate-400 leading-relaxed text-sm mb-4",children:t.intro}),t.content&&t.content.split(`
292
293`).map((n,i)=>l.jsx("p",{className:"text-slate-400 leading-relaxed text-sm mb-3",children:n},i)),t.bullets&&l.jsx("ul",{className:"space-y-2 mt-2 ml-4",children:t.bullets.map((n,i)=>l.jsxs("li",{className:"flex items-start gap-3 text-slate-400 text-sm",children:[l.jsx("span",{className:"mt-1.5 w-1.5 h-1.5 rounded-full shrink-0",style:{backgroundColor:"#B68F3E"}}),n]},i))}),t.subsections&&l.jsx("div",{className:"space-y-5 mt-2",children:t.subsections.map((n,i)=>l.jsxs("div",{className:"pl-4",style:{borderLeft:"2px solid rgba(182,143,62,0.25)"},children:[l.jsx("p",{className:"text-sm font-semibold mb-2",style:{color:"#C4A052"},children:n.label}),n.content.split(`
294
295`).map((o,c)=>l.jsx("p",{className:"text-slate-400 leading-relaxed text-sm mb-2",children:o},c))]},i))}),l.jsx("div",{className:"mt-8 h-px",style:{background:"rgba(182,143,62,0.1)"}})]},e))})]})}),l.jsx(Ln,{})]})}const $_=()=>l.jsx("div",{className:"flex flex-col items-center justify-center min-h-screen bg-gradient-to-b from-white to-slate-50",children:l.jsx("div",{className:"max-w-md w-full p-8 bg-white rounded-lg shadow-lg border border-slate-100",children:l.jsxs("div",{className:"text-center",children:[l.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 mb-6 rounded-full bg-orange-100",children:l.jsx("svg",{className:"w-8 h-8 text-orange-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:l.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"})})}),l.jsx("h1",{className:"text-3xl font-bold text-slate-900 mb-4",children:"Access Restricted"}),l.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."}),l.jsxs("div",{className:"p-4 bg-slate-50 rounded-md text-sm text-slate-600",children:[l.jsx("p",{children:"If you believe this is an error, you can:"}),l.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[l.jsx("li",{children:"Verify you are logged in with the correct account"}),l.jsx("li",{children:"Contact the app administrator for access"}),l.jsx("li",{children:"Try logging out and back in again"})]})]})]})})}),{Pages:m1,Layout:Wx,mainPage:W_}=p1,g1=W_,q_=m1[g1],qx=({children:t,currentPageName:e})=>Wx?l.jsx(Wx,{currentPageName:e,children:t}):l.jsx(l.Fragment,{children:t}),H_=()=>{const{isLoadingAuth:t,isLoadingPublicSettings:e,authError:n,navigateToLogin:i}=Vb();if(e||t)return l.jsx("div",{className:"fixed inset-0 flex items-center justify-center",children:l.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 l.jsx($_,{});if(n.type==="auth_required")return i(),null}return l.jsxs(BN,{children:[l.jsx(Kt,{path:"/",element:l.jsx(qx,{currentPageName:g1,children:l.jsx(q_,{})})}),Object.entries(m1).map(([o,c])=>l.jsx(Kt,{path:`/${o}`,element:l.jsx(qx,{currentPageName:o,children:l.jsx(c,{})})},o)),l.jsx(Kt,{path:"/about",element:l.jsx(C_,{})}),l.jsx(Kt,{path:"/founder",element:l.jsx(T_,{})}),l.jsx(Kt,{path:"/gathering",element:l.jsx(A_,{})}),l.jsx(Kt,{path:"/aegis",element:l.jsx(R_,{})}),l.jsx(Kt,{path:"/alliance",element:l.jsx(O_,{})}),l.jsx(Kt,{path:"/conquest",element:l.jsx(L_,{})}),l.jsx(Kt,{path:"/contact",element:l.jsx(I_,{})}),l.jsx(Kt,{path:"/gathering-confirmation",element:l.jsx(F_,{})}),l.jsx(Kt,{path:"/terms",element:l.jsx(V_,{})}),l.jsx(Kt,{path:"/privacy",element:l.jsx(z_,{})}),l.jsx(Kt,{path:"*",element:l.jsx(N_,{})})]})};function Y_(){return l.jsx(A4,{children:l.jsxs(AS,{client:$S,children:[l.jsxs($N,{children:[l.jsx(S_,{}),l.jsx(H_,{})]}),l.jsx(sS,{}),l.jsx(WS,{})]})})}Sk.createRoot(document.getElementById("root")).render(l.jsx(Y_,{}));

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.